Built motion from commit a8ab0ae.|0.0.30 0.0.30
authorMotion Team <team@xcally.com>
Wed, 20 Jan 2016 09:37:58 +0000 (10:37 +0100)
committerMotion Team <team@xcally.com>
Wed, 20 Jan 2016 09:37:58 +0000 (10:37 +0100)
564 files changed:
package.json
public/app/2a396ea7.vendor.css [moved from public/app/67dd0d05.vendor.css with 64% similarity]
public/app/300cc0cc.vendor.js [moved from public/app/4942fdcb.vendor.js with 69% similarity]
public/app/6c5c3a69.app.js [moved from public/app/76616549.app.js with 60% similarity]
public/assets/images/demo.png
public/assets/languages/locale-en_EN.json
public/assets/languages/locale-it.json
public/assets/plugins/square/js/Dialogs.js
public/assets/plugins/square/js/EditorUi.js
public/bower_components/Sortable/Sortable.js
public/bower_components/Sortable/knockout-sortable.js
public/bower_components/Sortable/ng-sortable.js
public/bower_components/Sortable/react-sortable-mixin.js
public/bower_components/bootstrap/bootstrap.js
public/bower_components/bootstrap/bootstrap.less
public/index.html
release-notes/changelog_0.0.30.txt [moved from release-notes/changelog_0.0.29.txt with 71% similarity]
server/api/agent/agent.controller.js
server/api/agent/agent.socket.js
server/api/agent/agent.spec.js
server/api/agent/index.js
server/api/ami/ami.ami.js
server/api/ami/ami.controller.js
server/api/ami/ami.socket.js
server/api/ami/ami.spec.js
server/api/ami/index.js
server/api/automation/automation.controller.js
server/api/automation/automation.socket.js
server/api/automation/automation.spec.js
server/api/automation/index.js
server/api/business_action/business_action.controller.js
server/api/business_action/business_action.socket.js
server/api/business_action/business_action.spec.js
server/api/business_action/index.js
server/api/business_condition/business_condition.controller.js
server/api/business_condition/business_condition.socket.js
server/api/business_condition/business_condition.spec.js
server/api/business_condition/index.js
server/api/chat_application/chat_application.controller.js
server/api/chat_application/chat_application.socket.js
server/api/chat_application/chat_application.spec.js
server/api/chat_application/index.js
server/api/chat_enquiry/enquiry.controller.js
server/api/chat_enquiry/enquiry.socket.js
server/api/chat_enquiry/index.js
server/api/chat_message/chat_message.controller.js
server/api/chat_message/chat_message.socket.js
server/api/chat_message/chat_message.spec.js
server/api/chat_message/index.js
server/api/chat_queue/chat_queue.controller.js
server/api/chat_queue/chat_queue.socket.js
server/api/chat_queue/chat_queue.spec.js
server/api/chat_queue/index.js
server/api/chat_room/chat_room.controller.js
server/api/chat_room/chat_room.socket.js
server/api/chat_room/chat_room.spec.js
server/api/chat_room/index.js
server/api/chat_visitor/chat_visitor.controller.js
server/api/chat_visitor/chat_visitor.socket.js
server/api/chat_visitor/chat_visitor.spec.js
server/api/chat_visitor/index.js
server/api/chat_website/chat_website.controller.js
server/api/chat_website/chat_website.socket.js
server/api/chat_website/chat_website.spec.js
server/api/chat_website/index.js
server/api/company/company.controller.js
server/api/company/company.socket.js
server/api/company/company.spec.js
server/api/company/index.js
server/api/contact/contact.controller.js
server/api/contact/contact.model.js
server/api/contact/contact.socket.js
server/api/contact/contact.spec.js
server/api/contact/index.js
server/api/contact_manager/contact_manager.controller.js
server/api/contact_manager/contact_manager.socket.js
server/api/contact_manager/contact_manager.spec.js
server/api/contact_manager/index.js
server/api/custom_field/custom_field.controller.js
server/api/custom_field/custom_field.socket.js
server/api/custom_field/custom_field.spec.js
server/api/custom_field/index.js
server/api/custom_report/custom_report.controller.js
server/api/custom_report/custom_report.socket.js
server/api/custom_report/custom_report.spec.js
server/api/custom_report/index.js
server/api/dashboard/dashboard.controller.js
server/api/dashboard/dashboard.socket.js
server/api/dashboard/dashboard.spec.js
server/api/dashboard/index.js
server/api/default_report/default_report.controller.js
server/api/default_report/default_report.socket.js
server/api/default_report/default_report.spec.js
server/api/default_report/index.js
server/api/desk_account/desk_account.controller.js
server/api/desk_account/desk_account.socket.js
server/api/desk_account/desk_account.spec.js
server/api/desk_account/index.js
server/api/desk_configuration/desk_configuration.controller.js
server/api/desk_configuration/desk_configuration.socket.js
server/api/desk_configuration/index.js
server/api/desk_configuration/index.spec.js
server/api/desk_field/desk_field.controller.js
server/api/desk_field/desk_field.socket.js
server/api/desk_field/index.js
server/api/desk_field/index.spec.js
server/api/event/event.controller.js
server/api/event/event.socket.js
server/api/event/event.spec.js
server/api/event/index.js
server/api/extracted_report/extracted_report.controller.js [new file with mode: 0644]
server/api/extracted_report/extracted_report.socket.js [new file with mode: 0644]
server/api/extracted_report/extracted_report.spec.js [new file with mode: 0644]
server/api/extracted_report/index.js [new file with mode: 0644]
server/api/fax_account/fax_account.controller.js
server/api/fax_account/fax_account.socket.js
server/api/fax_account/fax_account.spec.js
server/api/fax_account/index.js
server/api/fax_application/fax_application.controller.js
server/api/fax_application/fax_application.socket.js
server/api/fax_application/fax_application.spec.js
server/api/fax_application/index.js
server/api/fax_business_automation/fax_business_automation.controller.js
server/api/fax_business_automation/fax_business_automation.socket.js
server/api/fax_business_automation/fax_business_automation.spec.js
server/api/fax_business_automation/index.js
server/api/fax_message/fax_message.ami.js
server/api/fax_message/fax_message.controller.js
server/api/fax_message/fax_message.socket.js
server/api/fax_message/fax_message.spec.js
server/api/fax_message/index.js
server/api/fax_queue/fax_queue.controller.js
server/api/fax_queue/fax_queue.socket.js
server/api/fax_queue/fax_queue.spec.js
server/api/fax_queue/index.js
server/api/fax_room/fax_room.controller.js
server/api/fax_room/fax_room.kue.js
server/api/fax_room/fax_room.socket.js
server/api/fax_room/fax_room.spec.js
server/api/fax_room/index.js
server/api/freshdesk_account/freshdesk_account.controller.js
server/api/freshdesk_account/freshdesk_account.socket.js
server/api/freshdesk_account/index.js
server/api/freshdesk_account/index.spec.js
server/api/freshdesk_configuration/freshdesk_configuration.controller.js
server/api/freshdesk_configuration/freshdesk_configuration.socket.js
server/api/freshdesk_configuration/index.js
server/api/freshdesk_configuration/index.spec.js
server/api/freshdesk_field/freshdesk_field.controller.js
server/api/freshdesk_field/freshdesk_field.socket.js
server/api/freshdesk_field/index.js
server/api/freshdesk_field/index.spec.js
server/api/integration/index.js
server/api/integration/integration.controller.js
server/api/integration/integration.socket.js
server/api/integration/integration.spec.js
server/api/interval/index.js
server/api/interval/interval.controller.js
server/api/interval/interval.socket.js
server/api/interval/interval.spec.js
server/api/jscripty_project/index.js [new file with mode: 0644]
server/api/jscripty_project/index.spec.js [new file with mode: 0644]
server/api/jscripty_project/jscripty_project.controller.js [new file with mode: 0644]
server/api/jscripty_project/jscripty_project.js [new file with mode: 0644]
server/api/jscripty_project/jscripty_project.socket.js [new file with mode: 0644]
server/api/license/index.js
server/api/license/license.controller.js
server/api/license/license.socket.js
server/api/mail_account/index.js
server/api/mail_account/mail_account.controller.js
server/api/mail_account/mail_account.socket.js
server/api/mail_account/mail_account.spec.js
server/api/mail_application/index.js
server/api/mail_application/mail_application.controller.js
server/api/mail_application/mail_application.socket.js
server/api/mail_application/mail_application.spec.js
server/api/mail_attachment/index.js
server/api/mail_attachment/mail_attachment.controller.js
server/api/mail_attachment/mail_attachment.socket.js
server/api/mail_business_automation/index.js
server/api/mail_business_automation/mail_business_automation.controller.js
server/api/mail_business_automation/mail_business_automation.socket.js
server/api/mail_business_automation/mail_business_automation.spec.js
server/api/mail_message/index.js
server/api/mail_message/mail_message.controller.js
server/api/mail_message/mail_message.socket.js
server/api/mail_queue/index.js
server/api/mail_queue/mail_queue.controller.js
server/api/mail_queue/mail_queue.socket.js
server/api/mail_queue/mail_queue.spec.js
server/api/mail_room/index.js
server/api/mail_room/mail_room.controller.js
server/api/mail_room/mail_room.socket.js
server/api/mail_server_in/index.js
server/api/mail_server_in/mail_server_in.controller.js
server/api/mail_server_in/mail_server_in.socket.js
server/api/mail_server_out/index.js
server/api/mail_server_out/mail_server_out.controller.js
server/api/mail_server_out/mail_server_out.socket.js
server/api/mail_template/index.js
server/api/mail_template/mail_template.controller.js
server/api/mail_template/mail_template.socket.js
server/api/metric/index.js
server/api/metric/metric.controller.js
server/api/metric/metric.socket.js
server/api/metric/metric.spec.js
server/api/module/index.js
server/api/module/module.controller.js
server/api/module/module.socket.js
server/api/module/module.spec.js
server/api/module/setting/index.js
server/api/module/setting/setting.controller.js
server/api/module/setting/setting.socket.js
server/api/module/setting/setting.spec.js
server/api/motionbar/index.js
server/api/motionbar/motionbar.controller.js
server/api/motionbar/motionbar.socket.js
server/api/motionbar/motionbar.spec.js
server/api/report_agent/index.js
server/api/report_agent/report_agent.controller.js
server/api/report_agent/report_agent.socket.js
server/api/report_chat/index.js
server/api/report_chat/report_chat.controller.js
server/api/report_chat/report_chat.socket.js
server/api/report_chat/report_chat.spec.js
server/api/report_chat_session/index.js
server/api/report_chat_session/report_chat_session.controller.js
server/api/report_chat_session/report_chat_session.socket.js
server/api/report_chat_session/report_chat_session.spec.js
server/api/report_integration/index.js
server/api/report_integration/report_integration.controller.js
server/api/report_integration/report_integration.socket.js
server/api/report_mail/index.js
server/api/report_mail/report_mail.controller.js
server/api/report_mail/report_mail.socket.js
server/api/report_mail/report_mail.spec.js
server/api/report_mail_session/index.js
server/api/report_mail_session/report_mail_session.controller.js
server/api/report_mail_session/report_mail_session.socket.js
server/api/report_mail_session/report_mail_session.spec.js
server/api/report_queue/index.js
server/api/report_queue/report_queue.controller.js
server/api/report_queue/report_queue.socket.js
server/api/report_tree/index.js
server/api/report_tree/report_tree.controller.js
server/api/report_tree/report_tree.socket.js
server/api/report_tree/report_tree.spec.js
server/api/salesforce_account/index.js
server/api/salesforce_account/index.spec.js
server/api/salesforce_account/salesforce_account.controller.js
server/api/salesforce_account/salesforce_account.socket.js
server/api/salesforce_configuration/index.js
server/api/salesforce_configuration/index.spec.js
server/api/salesforce_configuration/salesforce_configuration.controller.js
server/api/salesforce_configuration/salesforce_configuration.socket.js
server/api/salesforce_field/index.js
server/api/salesforce_field/index.spec.js
server/api/salesforce_field/salesforce_field.controller.js
server/api/salesforce_field/salesforce_field.socket.js
server/api/setting/index.js
server/api/setting/setting.controller.js
server/api/setting/setting.socket.js
server/api/setting/setting.spec.js
server/api/square_odbc/index.js
server/api/square_odbc/square_odbc.controller.js
server/api/square_odbc/square_odbc.socket.js
server/api/square_odbc/square_odbc.spec.js
server/api/square_project/index.js
server/api/square_project/square_project.controller.js
server/api/square_project/square_project.socket.js
server/api/square_project/square_project.spec.js
server/api/sugarcrm_account/index.js
server/api/sugarcrm_account/index.spec.js
server/api/sugarcrm_account/sugarcrm_account.controller.js
server/api/sugarcrm_account/sugarcrm_account.socket.js
server/api/sugarcrm_configuration/index.js
server/api/sugarcrm_configuration/index.spec.js
server/api/sugarcrm_configuration/sugarcrm_configuration.controller.js
server/api/sugarcrm_configuration/sugarcrm_configuration.socket.js
server/api/sugarcrm_field/index.js
server/api/sugarcrm_field/index.spec.js
server/api/sugarcrm_field/sugarcrm_field.controller.js
server/api/sugarcrm_field/sugarcrm_field.socket.js
server/api/tag/index.js
server/api/tag/tag.controller.js
server/api/tag/tag.socket.js
server/api/tag/tag.spec.js
server/api/team/index.js
server/api/team/team.controller.js
server/api/team/team.socket.js
server/api/team/team.spec.js
server/api/thing/index.js
server/api/thing/thing.controller.js
server/api/thing/thing.socket.js
server/api/thing/thing.spec.js
server/api/trigger/index.js
server/api/trigger/trigger.controller.js
server/api/trigger/trigger.socket.js
server/api/trigger/trigger.spec.js
server/api/trunk/index.js
server/api/trunk/trunk.ami.js
server/api/trunk/trunk.controller.js
server/api/trunk/trunk.socket.js
server/api/trunk/trunk.spec.js
server/api/update/index.js
server/api/update/update.controller.js
server/api/update/update.js
server/api/update/update.socket.js
server/api/update/update.spec.js
server/api/upload/index.js
server/api/upload/upload.controller.js
server/api/upload/upload.socket.js
server/api/upload/upload.spec.js
server/api/user/index.js
server/api/user/user.ami.js
server/api/user/user.controller.js
server/api/user/user.socket.js
server/api/user_has_chat_queue/index.js
server/api/user_has_chat_queue/user_has_chat_queue.controller.js
server/api/user_has_chat_queue/user_has_chat_queue.socket.js
server/api/user_has_chat_queue/user_has_chat_queue.spec.js
server/api/user_has_chat_room/index.js
server/api/user_has_chat_room/user_has_chat_room.controller.js
server/api/user_has_chat_room/user_has_chat_room.socket.js
server/api/user_has_chat_room/user_has_chat_room.spec.js
server/api/user_has_fax_queue/index.js
server/api/user_has_fax_queue/user_has_fax_queue.controller.js
server/api/user_has_fax_queue/user_has_fax_queue.socket.js
server/api/user_has_fax_queue/user_has_fax_queue.spec.js
server/api/user_has_mail_queue/index.js
server/api/user_has_mail_queue/user_has_mail_queue.controller.js
server/api/user_has_mail_queue/user_has_mail_queue.socket.js
server/api/user_has_mail_queue/user_has_mail_queue.spec.js
server/api/user_has_team/index.js
server/api/user_has_team/user_has_team.controller.js
server/api/user_has_team/user_has_team.model.js
server/api/user_has_team/user_has_team.socket.js
server/api/user_has_team/user_has_team.spec.js
server/api/user_has_voice_queue/index.js
server/api/user_has_voice_queue/user_has_voice_queue.controller.js
server/api/user_has_voice_queue/user_has_voice_queue.socket.js
server/api/user_has_voice_queue/user_has_voice_queue.spec.js
server/api/variable/index.js
server/api/variable/variable.controller.js
server/api/variable/variable.socket.js
server/api/variable/variable.spec.js
server/api/voice_context/index.js
server/api/voice_context/voice_context.ami.js
server/api/voice_context/voice_context.controller.js
server/api/voice_context/voice_context.socket.js
server/api/voice_context/voice_context.spec.js
server/api/voice_extension/index.js
server/api/voice_extension/voice_extension.controller.js
server/api/voice_extension/voice_extension.socket.js
server/api/voice_extension/voice_extension.spec.js
server/api/voice_musiconhold/index.js
server/api/voice_musiconhold/voice_musiconhold.controller.js
server/api/voice_musiconhold/voice_musiconhold.socket.js
server/api/voice_musiconhold/voice_musiconhold.spec.js
server/api/voice_queue/index.js
server/api/voice_queue/voice_queue.controller.js
server/api/voice_queue/voice_queue.socket.js
server/api/voice_queue/voice_queue.spec.js
server/api/voice_voicemail/index.js
server/api/voice_voicemail/voice_voicemail.controller.js
server/api/voice_voicemail/voice_voicemail.socket.js
server/api/voice_voicemail/voice_voicemail.spec.js
server/api/widget/index.js
server/api/widget/widget.controller.js
server/api/widget/widget.spec.js
server/api/xchatty/index.js
server/api/xchatty/xchatty.controller.js
server/api/xchatty/xchatty.socket.js
server/api/zendesk_account/index.js
server/api/zendesk_account/zendesk_account.controller.js
server/api/zendesk_account/zendesk_account.socket.js
server/api/zendesk_account/zendesk_account.spec.js
server/api/zendesk_configuration/index.js
server/api/zendesk_configuration/zendesk_configuration.controller.js
server/api/zendesk_configuration/zendesk_configuration.socket.js
server/api/zendesk_configuration/zendesk_configuration.spec.js
server/api/zendesk_field/index.js
server/api/zendesk_field/zendesk_field.controller.js
server/api/zendesk_field/zendesk_field.socket.js
server/api/zendesk_field/zendesk_field.spec.js
server/app.js
server/auth/auth.service.js
server/auth/facebook/index.js
server/auth/facebook/passport.js
server/auth/google/index.js
server/auth/google/passport.js
server/auth/index.js
server/auth/local/index.js
server/auth/local/local.ami.js
server/auth/local/passport.js
server/auth/twitter/index.js
server/auth/twitter/passport.js
server/config/agi.js
server/config/ami/acw.js
server/config/ami/agent.js
server/config/ami/call.js
server/config/ami/dial.js
server/config/ami/index.js
server/config/ami/member.js
server/config/ami/queue_caller.js
server/config/ami/queue_member.js
server/config/analytics.js
server/config/autodialer/index.js
server/config/autodialer/process.js
server/config/automations/fax.js
server/config/automations/mail.js
server/config/environment/development.js
server/config/environment/index.js
server/config/environment/production.js
server/config/environment/test.js
server/config/express.js
server/config/fax.js
server/config/history.js
server/config/imap/imap.js
server/config/imap/index.js
server/config/integration.js
server/config/integrations/index.js [new file with mode: 0644]
server/config/integrations/zendesk.js [new file with mode: 0644]
server/config/kue.chat.js
server/config/kue.fax.js
server/config/kue.mail.js
server/config/license/index.js
server/config/license/license.service.js
server/config/local.env.sample.js
server/config/logger.js
server/config/seed.js
server/config/seedp.js
server/config/smtp/index.js
server/config/smtp/smtp.js
server/config/socketio.js
server/config/triggers/chat.js
server/config/triggers/cm.js
server/config/triggers/index.js
server/config/triggers/mail.js
server/config/triggers/util.js
server/config/triggers/voice.js
server/files/integrations/zendesk/app.js
server/migrations/20151202190300-test.js
server/models/asterisk_manager.js
server/models/asterisk_manager_interface.js
server/models/autodialer_contact.js
server/models/autodialer_process.js
server/models/automation.js
server/models/business_action.js
server/models/business_condition.js
server/models/channel.js
server/models/chat_application.js
server/models/chat_enquiry.js
server/models/chat_message.js
server/models/chat_queue.js
server/models/chat_room.js
server/models/chat_visitor.js
server/models/chat_website.js
server/models/company.js
server/models/contact.js
server/models/contact_email.js
server/models/contact_has_custom_field.js
server/models/contact_phone.js
server/models/custom_field.js
server/models/custom_report.js
server/models/dashboard.js
server/models/default_report.js
server/models/desk_account.js
server/models/desk_configuration.js
server/models/desk_field.js
server/models/event.js
server/models/extracted_report.js [new file with mode: 0644]
server/models/fax_account.js
server/models/fax_application.js
server/models/fax_business_automation.js
server/models/fax_message.js
server/models/fax_queue.js
server/models/fax_room.js
server/models/freshdesk_account.js
server/models/freshdesk_configuration.js
server/models/freshdesk_field.js
server/models/history/report_agent_history.js
server/models/history/report_call_history.js
server/models/history/report_dial_history.js
server/models/history/report_integration_history.js
server/models/history/report_mail_session_history.js
server/models/history/report_member_history.js
server/models/history/report_queue_history.js
server/models/index.js
server/models/integration.js
server/models/interval.js
server/models/jscripty_log.js [new file with mode: 0644]
server/models/jscripty_project.js [new file with mode: 0644]
server/models/jscripty_report.js [new file with mode: 0644]
server/models/mail_account.js
server/models/mail_application.js
server/models/mail_attachment.js
server/models/mail_automation.js
server/models/mail_business_automation.js
server/models/mail_message.js
server/models/mail_queue.js
server/models/mail_room.js
server/models/mail_room_status.js
server/models/mail_server_in.js
server/models/mail_server_out.js
server/models/mail_template.js
server/models/mail_trigger.js
server/models/metric.js
server/models/module.js
server/models/motionbar.js
server/models/report_agent.js
server/models/report_call.js
server/models/report_chat.js
server/models/report_chat_session.js
server/models/report_dial.js
server/models/report_field.js
server/models/report_integration.js
server/models/report_mail.js
server/models/report_mail_session.js
server/models/report_member.js
server/models/report_queue.js
server/models/report_square.js
server/models/report_square_detail.js
server/models/report_tree.js
server/models/salesforce_account.js
server/models/salesforce_configuration.js
server/models/salesforce_field.js
server/models/settings.js
server/models/square_odbc.js
server/models/square_project.js
server/models/sugarcrm_account.js
server/models/sugarcrm_configuration.js
server/models/sugarcrm_field.js
server/models/tag.js
server/models/team.js
server/models/telephone.js
server/models/trigger.js
server/models/trunk.js
server/models/update.js
server/models/upload.js
server/models/user.js
server/models/user_has_chat_queue.js
server/models/user_has_chat_room.js
server/models/user_has_fax_queue.js
server/models/user_has_mail_queue.js
server/models/user_has_team.js
server/models/user_has_voice_queue.js
server/models/variable.js
server/models/voice_context.js
server/models/voice_extension.js
server/models/voice_musiconhold.js
server/models/voice_queue.js
server/models/voice_voicemail.js
server/models/voice_voicemail_messages.js
server/models/zendesk_account.js
server/models/zendesk_configuration.js
server/models/zendesk_field.js
server/routes.js
server/utils/fonts/LICENSE.txt [new file with mode: 0644]
server/utils/fonts/Roboto-Italic.ttf [new file with mode: 0644]
server/utils/fonts/Roboto-Medium.ttf [new file with mode: 0644]
server/utils/fonts/Roboto-Regular.ttf [new file with mode: 0644]
server/utils/fonts/sampleImage.jpg [new file with mode: 0644]
server/utils/report_extraction.js [new file with mode: 0644]

index 82be1c1..6858cd4 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "motion",
-  "version": "0.0.30",
+  "version": "0.0.31",
   "main": "server/app.js",
   "dependencies": {
     "accept-language-parser": "^1.0.2",
@@ -21,6 +21,7 @@
     "express": "^4.13.3",
     "express-jwt": "^3.3.0",
     "express-mysql-session": "^0.4.3",
+    "express-query-int": "^1.0.1",
     "express-session": "~1.12.1",
     "file-base64": "^1.0.0",
     "formidable": "^1.0.17",
@@ -54,6 +55,7 @@
     "passport-google-oauth": "latest",
     "passport-local": "~1.0.0",
     "passport-twitter": "latest",
+    "pdfmake": "^0.1.18",
     "phantomjs": "^1.9.19",
     "remove": "^0.1.5",
     "request-promise": "^2.0.0",
similarity index 64%
rename from public/app/67dd0d05.vendor.css
rename to public/app/2a396ea7.vendor.css
index 2c49360..211c937 100644 (file)
@@ -1,8 +1,8 @@
-@charset "UTF-8";.label,sub,sup{vertical-align:baseline}.btn,.btn-group,.btn-group-vertical,.caret,.checkbox-inline,.radio-inline,img{vertical-align:middle}body,figure{margin:0}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.pre-scrollable{max-height:340px}.bootstrap-select.btn-group .dropdown-menu .notify,.form-control-feedback,.steps-indicator li.current,.steps-indicator li.default,.steps-indicator li.editing,.ui-grid-cell.ui-grid-disable-selection.ui-grid-row-header-cell,a.btn.disabled,a.ui-grid-menu .ui-grid-menu-inner .ui-grid-menu-close-button.disabled,fieldset[disabled] a.btn,fieldset[disabled] a.ui-grid-menu .ui-grid-menu-inner .ui-grid-menu-close-button{pointer-events:none}.fa,.glyphicon,.icon-emoticon{-moz-osx-font-smoothing:grayscale}.colorpicker-visible,.colorpicker-visible .dropdown-menu{display:block!important}colorpicker-saturation{display:block;width:100px;height:100px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyX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AB4VsSpGmyipunCjuGN9liwzZs8ddwQVEyzeyuGPYD7APuOS6o7aO9xWo/P3fbrnF8e5y2+7Lnamvyg8GKNeKog2m2NaW+SjwLCQhlr5/M6DamjnNlAbJLKtBaQZU226Ru2KbCe+Ph6Tk3THb/v5zaRQ7yz4M6usa1HywJU50n+7bgb4Z0sC2XIa8P56+JvvuWHTaa6kgbLn7ELvV9bU76A0+hpTKuh3PoryDwKvrflwx5F/1IMaK9wrK+h3ltf/+bb8d5d8/XdZ//txS/N9hxfdvGNg/ZQT1//4fih7V/hdi/qwAAAAASUVORK5CYII=);cursor:crosshair;float:left}colorpicker-saturation i{display:block;height:7px;width:7px;border:1px solid #000;border-radius:5px;position:absolute;top:0;left:0;margin:-4px 0 0 -4px}colorpicker-saturation i::after{content:'';display:block;height:7px;width:7px;border:1px solid #fff;border-radius:5px}colorpicker-alpha,colorpicker-hue{width:15px;height:100px;float:left;cursor:row-resize;margin-left:4px;margin-bottom:4px}colorpicker-alpha i,colorpicker-hue i{display:block;height:2px;background:#000;border-top:1px solid #fff;position:absolute;top:0;left:0;width:100%;margin-top:-1px}.colorpicker,colorpicker-alpha{display:none}colorpicker-hue{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkCAMAAABw8qpSAAABLFBMVEUA/z8AuP//JAAA/33/3AAA/1ABAv8A/7r/AH7/jgD2AP8A//j/AEHmAP/XAP/HAP+4AP//ALyoAP+aAP+JAP97AP9rAP9cAP9MAP8+AP8tAP8fAP8PAP8ATv//AG7/cAD/vgD/APoAmv//ADH/AKwB/wMA5//4Eg4AL///AOr/UQD/nwAA/27/7AAA/+kAe/8Ayf8A/5sA/zEA/6z/ABEAEP8A/17/MgAA/9n/ACL/gAD/AJ0AXP8Aqv//AMoA/yHqFBb/zAD/AGD/ANsA9//1/wDk/wDV/wDF/wC3/wD/AI2m/wD/FACY/wCI/wB5/wBp/wD/YgBb/wBK/wA8/wAs/wAd/wAN/wAAPv8A/xH/AFAAi///rQAA/8r/+gAA1///QwAAH/8Abf8A/43c/JNGAAAAiUlEQVR4AQXBg2EDAAAAsMy2bds2ttp2+/8PTby79mDLsKJPq/oFPdk24dWXAxsGjRg1ZtykKdNmzJozb8GiJct63WjYl7fiWdOZkk0vOpyr2fVtyKl7FX2uXGjpcuxWDy69KdiRk5WRlpIUFxMVERLw78+vH1Unun1YV3ZkwKM1CYfq7nQK22sD03ITV2Aqp0IAAAAASUVORK5CYII=)}.colorpicker-color,colorpicker-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAABkCAMAAACIElGlAAADAFBMVEUAAADT09PT09P////T09P////e3t7q6urT09Px8fHT09P////////T09PT09P////////T09PT09P////////////T09PT09P////////////T09P////T09PT09PT09P////T09PT09P////////////////T09P////T09PT09P////T09PT09PT09PT09PT09PT09P////T09P////T09PT09P////////////T09P////T09P////////////T09PT09P////T09P////////////////////T09P////////T09PT09P////////////////////////T09PT09P////////////////////////T09PT09P////T09PT09P////////T09P////////////T09P////////T09P////T09P////T09P////T09PT09PT09PT09P////T09PT09PT09PT09PT09PT09P////T09P////T09PT09P////////////T09PT09PT09P////T09PT09PT09PT09PT09PT09PT09P////////////////T09PT09P////////////T09P////////T09P////T09PT09PT09P////////T09P////////T09P////T09PT09P////////////////T09PT09PT09PT09P////T09PT09PT09PT09PT09PT09PT09P////T09P////T09PT09PT09PT09PT09P////////////////////////////////////T09P////T09P////T09P////T09PT09P////////////T09P////T09P////T09P////////////T09PT09P////////////////T09PT09P////T09P////T09PT09P////T09P////T09PT09P////T09PT09PT09PT09P////T09PT09P////////////T09PT09P////T09P////////T09MQsm1FAAABAHRSTlMAgJN8/vcDAfcCnJyGaZmZlomGk4yJOmM/eTxs8wY0YDFC7HNdLx18n5/7aUvzCcW9+qKiK8P0ZiltRwfdw/n8Px3WduJjItj78ss5PDHUNELbwP5wplA2FglEVwvkqNarCs4Z7b2sDLgQ0xNdyLrr0eLLUeW1Vs5TWQLwjPI3ZvQGd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0;left:0;z-index:9999}.colorpicker colorpicker-alpha,.colorpicker colorpicker-hue,.colorpicker colorpicker-saturation{position:relative}.colorpicker input{width:100px;font-size:11px;color:#000;background-color:#fff}.colorpicker.alpha{min-width:140px}.colorpicker.alpha colorpicker-alpha{display:block}.colorpicker.dropdown{position:absolute}.colorpicker.colorpicker-fixed-position{position:fixed}.colorpicker .dropdown-menu::after,.colorpicker .dropdown-menu::before{content:'';display:inline-block;position:absolute}.colorpicker .dropdown-menu::after{clear:both;border:6px solid transparent;top:-5px;left:7px}.colorpicker .dropdown-menu::before{border:7px solid transparent;top:-6px;left:6px}.colorpicker .dropdown-menu{position:static;top:0;left:0;min-width:129px;padding:4px;margin-top:0}.colorpicker-position-top .dropdown-menu::after{border-top:6px solid #fff;border-bottom:0;top:auto;bottom:-5px}.colorpicker-position-top .dropdown-menu::before{border-top:7px solid rgba(0,0,0,.2);border-bottom:0;top:auto;bottom:-6px}.colorpicker-position-right .dropdown-menu::after{border-right:6px solid #fff;border-left:0;top:11px;left:-5px}.colorpicker-position-right .dropdown-menu::before{border-right:7px solid rgba(0,0,0,.2);border-left:0;top:10px;left:-6px}.colorpicker-position-bottom .dropdown-menu::after{border-bottom:6px solid #fff;border-top:0}.colorpicker-position-bottom .dropdown-menu::before{border-bottom:7px solid rgba(0,0,0,.2);border-top:0}.colorpicker-position-left .dropdown-menu::after{border-left:6px solid #fff;border-right:0;top:11px;left:auto;right:-5px}.colorpicker-position-left .dropdown-menu::before{border-left:7px solid rgba(0,0,0,.2);border-right:0;top:10px;left:auto;right:-6px}hr,img{border:0}colorpicker-preview{display:block;height:10px;margin:5px 0 3px;clear:both;background-position:0 100%}/*!
- * Bootstrap v3.3.5 (http://getbootstrap.com)
+@charset "UTF-8";.label,sub,sup{vertical-align:baseline}body,figure{margin:0}.bootstrap-select.btn-group .dropdown-menu .notify,.form-control-feedback,.steps-indicator li.current,.steps-indicator li.default,.steps-indicator li.editing,.ui-grid-cell.ui-grid-disable-selection.ui-grid-row-header-cell,a.btn.disabled,a.ui-grid-menu .ui-grid-menu-inner .ui-grid-menu-close-button.disabled,fieldset[disabled] a.btn,fieldset[disabled] a.ui-grid-menu .ui-grid-menu-inner .ui-grid-menu-close-button{pointer-events:none}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.pre-scrollable{max-height:340px}.fa,.glyphicon,.icon-emoticon{-moz-osx-font-smoothing:grayscale}.colorpicker-visible,.colorpicker-visible .dropdown-menu{display:block!important}colorpicker-saturation{display:block;width:100px;height:100px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41ESc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O9xWo/P3fbrnF8e5y2+7Lnamvyg8GKNeKog2m2NaW+SjwLCQhlr5/M6DamjnNlAbJLKtBaQZU226Ru2KbCe+Ph6Tk3THb/v5zaRQ7yz4M6usa1HywJU50n+7bgb4Z0sC2XIa8P56+JvvuWHTaa6kgbLn7ELvV9bU76A0+hpTKuh3PoryDwKvrflwx5F/1IMaK9wrK+h3ltf/+bb8d5d8/XdZ//txS/N9hxfdvGNg/ZQT1//4fih7V/hdi/qwAAAAASUVORK5CYII=);cursor:crosshair;float:left}colorpicker-saturation i{display:block;height:7px;width:7px;border:1px solid #000;border-radius:5px;position:absolute;top:0;left:0;margin:-4px 0 0 -4px}colorpicker-saturation i::after{content:'';display:block;height:7px;width:7px;border:1px solid #fff;border-radius:5px}colorpicker-alpha,colorpicker-hue{width:15px;height:100px;float:left;cursor:row-resize;margin-left:4px;margin-bottom:4px}colorpicker-alpha i,colorpicker-hue i{display:block;height:2px;background:#000;border-top:1px solid #fff;position:absolute;top:0;left:0;width:100%;margin-top:-1px}.colorpicker,colorpicker-alpha{display:none}colorpicker-hue{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkCAMAAABw8qpSAAABLFBMVEUA/z8AuP//JAAA/33/3AAA/1ABAv8A/7r/AH7/jgD2AP8A//j/AEHmAP/XAP/HAP+4AP//ALyoAP+aAP+JAP97AP9rAP9cAP9MAP8+AP8tAP8fAP8PAP8ATv//AG7/cAD/vgD/APoAmv//ADH/AKwB/wMA5//4Eg4AL///AOr/UQD/nwAA/27/7AAA/+kAe/8Ayf8A/5sA/zEA/6z/ABEAEP8A/17/MgAA/9n/ACL/gAD/AJ0AXP8Aqv//AMoA/yHqFBb/zAD/AGD/ANsA9//1/wDk/wDV/wDF/wC3/wD/AI2m/wD/FACY/wCI/wB5/wBp/wD/YgBb/wBK/wA8/wAs/wAd/wAN/wAAPv8A/xH/AFAAi///rQAA/8r/+gAA1///QwAAH/8Abf8A/43c/JNGAAAAiUlEQVR4AQXBg2EDAAAAsMy2bds2ttp2+/8PTby79mDLsKJPq/oFPdk24dWXAxsGjRg1ZtykKdNmzJozb8GiJct63WjYl7fiWdOZkk0vOpyr2fVtyKl7FX2uXGjpcuxWDy69KdiRk5WRlpIUFxMVERLw78+vH1Unun1YV3ZkwKM1CYfq7nQK22sD03ITV2Aqp0IAAAAASUVORK5CYII=)}.colorpicker-color,colorpicker-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAABkCAMAAACIElGlAAADAFBMVEUAAADT09PT09P////T09P////e3t7q6urT09Px8fHT09P////////T09PT09P////////T09PT09P////////////T09PT09P////////////T09P////T09PT09PT09P////T09PT09P////////////////T09P////T09PT09P////T09PT09PT09PT09PT09PT09P////T09P////T09PT09P////////////T09P////T09P////////////T09PT09P////T09P////////////////////T09P////////T09PT09P////////////////////////T09PT09P////////////////////////T09PT09P////T09PT09P////////T09P////////////T09P////////T09P////T09P////T09P////T09PT09PT09PT09P////T09PT09PT09PT09PT09PT09P////T09P////T09PT09P////////////T09PT09PT09P////T09PT09PT09PT09PT09PT09PT09P////////////////T09PT09P////////////T09P////////T09P////T09PT09PT09P////////T09P////////T09P////T09PT09P////////////////T09PT09PT09PT09P////T09PT09PT09PT09PT09PT09PT09P////T09P////T09PT09PT09PT09PT09P////////////////////////////////////T09P////T09P////T09P////T09PT09P////////////T09P////T09P////T09P////////////T09PT09P////////////////T09PT09P////T09P////T09PT09P////T09P////T09PT09P////T09PT09PT09PT09P////T09PT09P////////////T09PT09P////T09P////////T09MQsm1FAAABAHRSTlMAgJN8/vcDAfcCnJyGaZmZlomGk4yJOmM/eTxs8wY0YDFC7HNdLx18n5/7aUvzCcW9+qKiK8P0ZiltRwfdw/n8Px3WduJjItj78ss5PDHUNELbwP5wplA2FglEVwvkqNarCs4Z7b2sDLgQ0xNdyLrr0eLLUeW1Vs5TWQLwjPI3ZvQGdvxFyFrAeevaLCLvGd0kpRskGyf4qK605xKvFrGyDRHnBYMEkJaDk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icker colorpicker-saturation{position:relative}.colorpicker input{width:100px;font-size:11px;color:#000;background-color:#fff}.colorpicker.alpha{min-width:140px}.colorpicker.alpha colorpicker-alpha{display:block}.colorpicker.dropdown{position:absolute}.colorpicker.colorpicker-fixed-position{position:fixed}.colorpicker .dropdown-menu::after,.colorpicker .dropdown-menu::before{content:'';display:inline-block;position:absolute}.colorpicker .dropdown-menu::after{clear:both;border:6px solid transparent;top:-5px;left:7px}.colorpicker .dropdown-menu::before{border:7px solid transparent;top:-6px;left:6px}.colorpicker .dropdown-menu{position:static;top:0;left:0;min-width:129px;padding:4px;margin-top:0}.colorpicker-position-top .dropdown-menu::after{border-top:6px solid #fff;border-bottom:0;top:auto;bottom:-5px}.colorpicker-position-top .dropdown-menu::before{border-top:7px solid rgba(0,0,0,.2);border-bottom:0;top:auto;bottom:-6px}.colorpicker-position-right .dropdown-menu::after{border-right:6px solid #fff;border-left:0;top:11px;left:-5px}.colorpicker-position-right .dropdown-menu::before{border-right:7px solid rgba(0,0,0,.2);border-left:0;top:10px;left:-6px}.colorpicker-position-bottom .dropdown-menu::after{border-bottom:6px solid #fff;border-top:0}.colorpicker-position-bottom .dropdown-menu::before{border-bottom:7px solid rgba(0,0,0,.2);border-top:0}.colorpicker-position-left .dropdown-menu::after{border-left:6px solid #fff;border-right:0;top:11px;left:auto;right:-5px}.colorpicker-position-left .dropdown-menu::before{border-left:7px solid rgba(0,0,0,.2);border-right:0;top:10px;left:auto;right:-6px}hr,img{border:0}colorpicker-preview{display:block;height:10px;margin:5px 0 3px;clear:both;background-position:0 100%}/*!
+ * Bootstrap v3.3.6 (http://getbootstrap.com)
  * Copyright 2011-2015 Twitter, Inc.
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}b,optgroup,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0}mark{color:#000;background:#ff0}sub,sup{position:relative;font-size:75%;line-height:0}sup{top:-.5em}sub{bottom:-.25em}svg:not(:root){overflow:hidden}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}code,kbd,pre,samp{font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}.glyphicon,address{font-style:normal}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{blockquote,img,pre,tr{page-break-inside:avoid}*,:after,:before{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999}thead{display:table-header-group}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}.btn,.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-warning.active,.btn-warning:active,.btn.active,.btn:active,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover,.form-control,.navbar-toggle,.open>.dropdown-toggle.btn-danger,.open>.dropdown-toggle.btn-default,.open>.dropdown-toggle.btn-info,.open>.dropdown-toggle.btn-primary,.open>.dropdown-toggle.btn-warning{background-image:none}.img-thumbnail,body{background-color:#fff}@font-face{font-family:'Glyphicons Halflings';src:url(../assets/fonts/glyphicons-halflings-regular.eot);src:url(../assets/fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../assets/fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../assets/fonts/glyphicons-halflings-regular.woff) format('woff'),url(../assets/fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../assets/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-weight:400;line-height:1;-webkit-font-smoothing:antialiased}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before,.glyphicon-btc:before,.glyphicon-xbt:before{content:"\e227"}.glyphicon-jpy:before,.glyphicon-yen:before{content:"\00a5"}.glyphicon-rub:before,.glyphicon-ruble:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:transparent}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.form-control,.ui-grid-pager-control input{-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}dt,kbd kbd,label{font-weight:700}address,blockquote .small,blockquote footer,blockquote small,dd,dt,pre{line-height:1.42857143}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.list-inline,.list-unstyled{padding-left:0;list-style:none}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:focus,a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}pre code,table{background-color:transparent}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}dl,ol,ul{margin-top:0}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child,ol ol,ol ul,ul ol,ul ul{margin-bottom:0}address,dl{margin-bottom:20px}ol,ul{margin-bottom:10px}.list-inline{margin-left:-5px}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.container{width:750px}}#ui-grid-twbs #ui-grid-twbs .btn-group-vertical>.btn-group:after,#ui-grid-twbs #ui-grid-twbs .btn-toolbar:after,#ui-grid-twbs #ui-grid-twbs .form-horizontal .form-group:after,.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.dropdown-menu>li>a,.form-horizontal .form-group:after,.modal-footer:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after,.ui-grid-clearfix:after,.ui-grid-footer-canvas:after,.ui-grid-header-canvas:after{clear:both}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;color:#777}legend,pre{display:block;color:#333}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}code,kbd{padding:2px 4px;font-size:90%}caption,th{text-align:left}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;-webkit-box-shadow:none;box-shadow:none}pre{padding:9.5px;margin:0 0 10px;font-size:13px;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc}.container,.container-fluid{margin-right:auto;margin-left:auto}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;border-radius:0}.container,.container-fluid{padding-right:15px;padding-left:15px}.pre-scrollable{overflow-y:scroll}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}caption{padding-top:8px;padding-bottom:8px;color:#777}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered,.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover,.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset,legend{padding:0;border:0}fieldset{min-width:0;margin:0}legend{width:100%;margin-bottom:20px;font-size:21px;line-height:inherit;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}.form-control,output{font-size:14px;line-height:1.42857143;color:#555;display:block}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=checkbox]:focus,input[type=radio]:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}output{padding-top:7px}.form-control{width:100%;height:34px;padding:6px 12px;background-color:#fff;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.bootstrap-switch.bootstrap-switch-focused,.form-control:focus{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control:focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .form-control-feedback,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#3c763d}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=time].form-control,input[type=datetime-local].form-control,input[type=month].form-control{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=time],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=time],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-top:4px\9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}.checkbox-inline.disabled,.checkbox.disabled label,.radio-inline.disabled,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio label,fieldset[disabled] .radio-inline,fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.form-group-sm .form-control,.input-sm{padding:5px 10px;border-radius:3px;font-size:12px}.input-sm{height:30px;line-height:1.5}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;line-height:1.5}.form-group-lg .form-control,.input-lg{border-radius:6px;padding:10px 16px;font-size:18px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;line-height:1.3333333}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;line-height:1.3333333}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center}.collapsing,.dropdown,.dropup{position:relative}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .form-control-feedback,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .form-control-feedback,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-control-static,.form-inline .form-group{display:inline-block}.form-inline .control-label,.form-inline .form-group{margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:14.33px;font-size:18px}.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.btn-default:hover,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary.active,.btn-primary:active,.btn-primary:hover,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success.active,.btn-success:active,.btn-success:hover,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#398439;border-color:#255625}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled.focus,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled].focus,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info.active,.btn-info:active,.btn-info:hover,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled.focus,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled].focus,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning.active,.btn-warning:active,.btn-warning:hover,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled.focus,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled].focus,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger.active,.btn-danger:active,.btn-danger:hover,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled.focus,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled].focus,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;border-top:4px dashed;border-top:4px solid\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu-right,.dropdown-menu.pull-right{right:0;left:auto}.dropdown-header,.dropdown-menu>li>a{display:block;padding:3px 20px;line-height:1.42857143;white-space:nowrap}.btn-group-vertical>.btn:not(:first-child):not(:last-child),.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn,.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{font-weight:400;color:#333}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-left{right:auto;left:0}.dropdown-header{font-size:12px;color:#777}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.nav-justified>.dropdown .dropdown-menu,.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px dashed;border-bottom:4px solid\9}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn .caret,.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn-lg .caret{border-width:5px 5px 0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.nav>li,.nav>li>a{display:block;position:relative}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li>a{padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center;margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0;border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-justified>li,.nav-stacked>li{float:none}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar{border-radius:4px}.navbar-header{float:left}.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.embed-responsive,.modal,.modal-open,.progress{overflow:hidden}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}.navbar-static-top{z-index:1000;border-width:0 0 1px}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}.navbar-fixed-bottom,.navbar-fixed-top,.navbar-static-top{border-radius:0}.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}.progress-bar-striped,.progress-striped .progress-bar,.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}@media (min-width:768px){.navbar-toggle{display:none}.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{padding:10px 15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);margin:8px -15px}@media (min-width:768px){.navbar-form .form-control-static,.navbar-form .form-group{display:inline-block}.navbar-form .control-label,.navbar-form .form-group{margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.breadcrumb>li,.pagination{display:inline-block}.btn .badge,.btn .label{top:-1px;position:relative}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-radius:4px 4px 0 0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-nav>li>a,.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>li>a,.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{padding-left:0;margin:20px 0;border-radius:4px}.pager li,.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:3;color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.badge,.label{font-weight:700;line-height:1;white-space:nowrap;text-align:center}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}a.badge:focus,a.badge:hover,a.label:focus,a.label:hover{color:#fff;cursor:pointer;text-decoration:none}.label{display:inline;padding:.2em .6em .3em;font-size:75%;color:#fff;border-radius:.25em}.label:empty{display:none}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;color:#fff;vertical-align:middle;background-color:#777;border-radius:10px}.badge:empty{display:none}.media-object,.thumbnail{display:block}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.jumbotron,.jumbotron .h1,.jumbotron h1{color:inherit}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;background-color:#eee}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.alert,.thumbnail{margin-bottom:20px}.alert .alert-link,.close{font-weight:700}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.modal,.modal-backdrop{top:0;right:0;bottom:0;left:0}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-striped .progress-bar-info,.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover,button.list-group-item-success.active,button.list-group-item-success.active:focus,button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover,button.list-group-item-info.active,button.list-group-item-info.active:focus,button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover,button.list-group-item-warning.active,button.list-group-item-warning.active:focus,button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover,button.list-group-item-danger.active,button.list-group-item-danger.active:focus,button.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.panel-heading>.dropdown .dropdown-toggle,.panel-title,.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-title,.panel>.list-group,.panel>.panel-collapse>.list-group,.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-title{margin-top:0;font-size:16px}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel-group .panel-heading,.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-left-radius:0;border-top-right-radius:0}.list-group+.panel-footer,.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.modal-title,.tooltip{line-height:1.42857143}.popover,.tooltip{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-style:normal;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;line-break:auto;text-decoration:none}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal{position:fixed;z-index:1050;display:none;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:fixed;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{min-height:16.43px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}.tooltip.top-left .tooltip-arrow,.tooltip.top-right .tooltip-arrow{bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-size:12px;font-weight:400;text-align:left;text-align:start;white-space:normal;filter:alpha(opacity=0);opacity:0}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.carousel,.carousel-inner{position:relative}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px}.tooltip.top-right .tooltip-arrow{left:5px}.popover.left>.arrow:after,.popover.right>.arrow:after{bottom:-10px;content:" "}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow,.tooltip.bottom-left .tooltip-arrow,.tooltip.bottom-right .tooltip-arrow{top:0;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom .tooltip-arrow{left:50%;margin-left:-5px}.tooltip.bottom-left .tooltip-arrow{right:5px;margin-top:-5px}.tooltip.bottom-right .tooltip-arrow{left:5px;margin-top:-5px}.carousel-caption,.carousel-control{color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.popover.right{margin-left:10px}.popover.left{margin-left:-10px}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{left:1px;border-right-color:#fff;border-left-width:0}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;border-right-width:0;border-left-color:#fff}.carousel-inner{width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.bootstrap-switch,.ui-grid-pager-control input{-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block;margin-top:-10px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px}.carousel-caption .btn,.text-hide{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-15px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-15px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.hidden,.visible-lg,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;background-color:transparent;border:0}.affix{position:fixed}@-ms-viewport{width:device-width}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}.visible-xs-block{display:block!important}.visible-xs-inline{display:inline!important}.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}.visible-sm-block{display:block!important}.visible-sm-inline{display:inline!important}.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}.visible-md-block{display:block!important}.visible-md-inline{display:inline!important}.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}.visible-lg-block{display:block!important}.visible-lg-inline{display:inline!important}.visible-lg-inline-block{display:inline-block!important}.hidden-lg{display:none!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}.hidden-print{display:none!important}}.bootstrap-switch{display:inline-block;direction:ltr;cursor:pointer;border-radius:4px;border:1px solid #ccc;position:relative;text-align:left;overflow:hidden;line-height:8px;z-index:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.bootstrap-switch .bootstrap-switch-container{display:inline-block;top:0;border-radius:4px;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.bootstrap-switch .bootstrap-switch-handle-off,.bootstrap-switch .bootstrap-switch-handle-on,.bootstrap-switch .bootstrap-switch-label{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block!important;height:100%;padding:6px 12px;font-size:14px;line-height:20px}.bootstrap-switch .bootstrap-switch-handle-off,.bootstrap-switch .bootstrap-switch-handle-on{text-align:center;z-index:1}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary{color:#fff;background:#428bca}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info{color:#fff;background:#5bc0de}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success{color:#fff;background:#5cb85c}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning{background:#f0ad4e;color:#fff}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger{color:#fff;background:#d9534f}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default{color:#000;background:#eee}.bootstrap-switch .bootstrap-switch-label{text-align:center;margin-top:-1px;margin-bottom:-1px;z-index:100;color:#333;background:#fff}.bootstrap-switch .bootstrap-switch-handle-on{border-bottom-left-radius:3px;border-top-left-radius:3px}.bootstrap-switch .bootstrap-switch-handle-off{border-bottom-right-radius:3px;border-top-right-radius:3px}.bootstrap-switch input[type=radio],.bootstrap-switch input[type=checkbox]{position:absolute!important;top:0;left:0;opacity:0;filter:alpha(opacity=0);z-index:-1}.bootstrap-switch input[type=radio].form-control,.bootstrap-switch input[type=checkbox].form-control{height:auto}.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-label{padding:1px 5px;font-size:12px;line-height:1.5}.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-label{padding:5px 10px;font-size:12px;line-height:1.5}.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-label{padding:6px 16px;font-size:18px;line-height:1.33}.bootstrap-switch.bootstrap-switch-disabled,.bootstrap-switch.bootstrap-switch-indeterminate,.bootstrap-switch.bootstrap-switch-readonly{cursor:default!important}.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-label{opacity:.5;filter:alpha(opacity=50);cursor:default!important}.bootstrap-switch.bootstrap-switch-animate .bootstrap-switch-container{-webkit-transition:margin-left .5s;transition:margin-left .5s}.bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-on{border-radius:0 3px 3px 0}.bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-off{border-radius:3px 0 0 3px}.bootstrap-switch.bootstrap-switch-focused{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-off .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-label{border-bottom-right-radius:3px;border-top-right-radius:3px}.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-on .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-label{border-bottom-left-radius:3px;border-top-left-radius:3px}.bar-legend,.chart-legend,.doughnut-legend,.line-legend,.pie-legend,.polararea-legend,.radar-legend{list-style-type:none;margin-top:5px;text-align:center;-webkit-padding-start:0;-moz-padding-start:0;padding-left:0}.bar-legend li,.chart-legend li,.doughnut-legend li,.line-legend li,.pie-legend li,.polararea-legend li,.radar-legend li{display:inline-block;white-space:nowrap;position:relative;margin-bottom:4px;border-radius:5px;padding:2px 8px 2px 28px;font-size:smaller;cursor:default}.bar-legend li span,.chart-legend li span,.doughnut-legend li span,.line-legend li span,.pie-legend li span,.polararea-legend li span,.radar-legend li span{display:block;position:absolute;left:0;top:0;width:20px;height:20px;border-radius:5px}.toast-title{font-weight:700}.toast-message{word-wrap:break-word}.toast-message a,.toast-message label{color:#fff}.toast-message a:hover{color:#ccc;text-decoration:none}.toast-close-button{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;-webkit-text-shadow:0 1px 0 #fff;text-shadow:0 1px 0 #fff;opacity:.8}.toast-top-center,.toast-top-full-width{top:0;right:0;width:100%}.toast-close-button:focus,.toast-close-button:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4}button.toast-close-button{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.toast-bottom-center{bottom:0;right:0;width:100%}.toast-bottom-full-width{bottom:0;right:0;width:100%}.toast-top-left{top:12px;left:12px}.toast-top-right{top:12px;right:12px}.toast-bottom-right{right:12px;bottom:12px}.toast-bottom-left{bottom:12px;left:12px}#toast-container{position:fixed;z-index:999999}#toast-container *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#toast-container>div{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;-moz-box-shadow:0 0 12px #999;-webkit-box-shadow:0 0 12px #999;box-shadow:0 0 12px #999;color:#fff;opacity:.8}#toast-container>:hover{-moz-box-shadow:0 0 12px #000;-webkit-box-shadow:0 0 12px #000;box-shadow:0 0 12px #000;opacity:1;cursor:pointer}#toast-container>.toast-info{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=)!important}#toast-container>.toast-error{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=)!important}#toast-container>.toast-success{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==)!important}#toast-container>.toast-warning{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=)!important}#toast-container.toast-bottom-center>div,#toast-container.toast-top-center>div{width:300px;margin:auto}#toast-container.toast-bottom-full-width>div,#toast-container.toast-top-full-width>div{width:96%;margin:auto}.toast{background-color:#030303}.toast-success{background-color:#51a351}.toast-error{background-color:#bd362f}.toast-info{background-color:#2f96b4}.toast-warning{background-color:#f89406}.toast-progress{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4}.toast{opacity:1!important}.toast.ng-enter{opacity:0!important;transition:opacity .3s linear}.toast.ng-enter.ng-enter-active{opacity:1!important}.toast.ng-leave{opacity:1;transition:opacity .3s linear}.toast.ng-leave.ng-leave-active{opacity:0!important}@media all and (max-width:240px){#toast-container>div{padding:8px 8px 8px 50px;width:11em}#toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width:241px) and (max-width:480px){#toast-container>div{padding:8px 8px 8px 50px;width:18em}#toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width:481px) and (max-width:768px){#toast-container>div{padding:15px 15px 15px 50px;width:25em}}.ui-notification{position:fixed;z-index:9999;width:300px;cursor:pointer;-webkit-transition:all ease .5s;-o-transition:all ease .5s;transition:all ease .5s;color:#fff;background:#337ab7;box-shadow:5px 5px 10px rgba(0,0,0,.3)}.ui-notification.killed{-webkit-transition:opacity ease 1s;-o-transition:opacity ease 1s;transition:opacity ease 1s;opacity:0}.ui-notification>h3{font-size:14px;font-weight:700;display:block;margin:10px 10px 0;padding:0 0 5px;text-align:left;border-bottom:1px solid rgba(255,255,255,.3)}.editable-buttons,.editable-wrap,.editable-wrap .editable-input{display:inline-block}.ui-notification a{color:#fff}.ui-notification a:hover{text-decoration:underline}.ui-notification>.message{margin:10px}.editable-bstime .well-small,.editable-wrap .editable-controls,.editable-wrap .editable-controls>input,.editable-wrap .editable-controls>select,.editable-wrap .editable-controls>textarea,.editable-wrap .editable-error,.form-group .bootstrap-select.btn-group,.form-horizontal .bootstrap-select.btn-group,.form-inline .bootstrap-select.btn-group{margin-bottom:0}.ui-notification.warning{color:#fff;background:#f0ad4e}.ui-notification.error{color:#fff;background:#d9534f}.ui-notification.success{color:#fff;background:#5cb85c}.ui-notification.info{color:#fff;background:#5bc0de}.ui-notification:hover{opacity:.7}.steps-indicator li a:before,.steps-indicator:before{background-color:#e6e6e6;content:''}.steps-indicator{right:0;bottom:0;left:0;margin:0;padding:20px 0 0;height:30px;list-style:none}.steps-indicator:before{position:absolute;height:1px}.steps-indicator.steps-2:before{left:calc(100% / 2 / 2);right:calc(100% / 2 / 2)}.steps-indicator.steps-3:before{left:calc(100% / 3 / 2);right:calc(100% / 3 / 2)}.steps-indicator.steps-4:before{left:calc(100% / 4 / 2);right:calc(100% / 4 / 2)}.steps-indicator.steps-5:before{left:calc(100% / 5 / 2);right:calc(100% / 5 / 2)}.steps-indicator.steps-6:before{left:calc(100% / 6 / 2);right:calc(100% / 6 / 2)}.steps-indicator.steps-7:before{left:calc(100% / 7 / 2);right:calc(100% / 7 / 2)}.steps-indicator.steps-8:before{left:calc(100% / 8 / 2);right:calc(100% / 8 / 2)}.steps-indicator.steps-9:before{left:calc(100% / 9 / 2);right:calc(100% / 9 / 2)}.steps-indicator.steps-10:before{left:calc(100% / 10 / 2);right:calc(100% / 10 / 2)}.steps-indicator *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.steps-indicator li{position:relative;float:left;margin:0;padding:10px 0 0;text-align:center;line-height:15px}.steps-indicator li a{color:grey;text-decoration:none;text-transform:uppercase;font-weight:700;transition:.25s;cursor:pointer}.bootstrap-select.btn-group .dropdown-menu li.disabled a,.bootstrap-select.btn-group.disabled,.bootstrap-select.btn-group>.disabled{cursor:not-allowed}.steps-indicator li a:before{position:absolute;top:-7px;left:calc(50% - 7px);width:14px;height:14px;border-radius:100%;transition:.25s}.steps-indicator li a:hover{color:#4d4d4d}.steps-indicator.steps-2 li{width:calc(100% / 2)}.steps-indicator.steps-3 li{width:calc(100% / 3)}.steps-indicator.steps-4 li{width:calc(100% / 4)}.steps-indicator.steps-5 li{width:calc(100% / 5)}.steps-indicator.steps-6 li{width:calc(100% / 6)}.steps-indicator.steps-7 li{width:calc(100% / 7)}.steps-indicator.steps-8 li{width:calc(100% / 8)}.steps-indicator.steps-9 li{width:calc(100% / 9)}.steps-indicator.steps-10 li{width:calc(100% / 10)}.steps-indicator.steps-11 li{width:calc(100% / 11)}.steps-indicator li.default a:hover{color:grey}.steps-indicator li.current a:before{background-color:grey}.steps-indicator li.done a:before{background-color:#393}.steps-indicator li.editing a:before{background-color:red}/*!
+ *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}b,optgroup,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0}mark{color:#000;background:#ff0}sub,sup{position:relative;font-size:75%;line-height:0}sup{top:-.5em}sub{bottom:-.25em}img{vertical-align:middle}svg:not(:root){overflow:hidden}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}code,kbd,pre,samp{font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}.glyphicon,address{font-style:normal}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{blockquote,img,pre,tr{page-break-inside:avoid}*,:after,:before{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999}thead{display:table-header-group}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}.btn,.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-warning.active,.btn-warning:active,.btn.active,.btn:active,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover,.form-control,.navbar-toggle,.open>.dropdown-toggle.btn-danger,.open>.dropdown-toggle.btn-default,.open>.dropdown-toggle.btn-info,.open>.dropdown-toggle.btn-primary,.open>.dropdown-toggle.btn-warning{background-image:none}.img-thumbnail,body{background-color:#fff}@font-face{font-family:'Glyphicons Halflings';src:url(../assets/fonts/glyphicons-halflings-regular.eot);src:url(../assets/fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../assets/fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../assets/fonts/glyphicons-halflings-regular.woff) format('woff'),url(../assets/fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../assets/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-weight:400;line-height:1;-webkit-font-smoothing:antialiased}.glyphicon-asterisk:before{content:"\002a"}.glyphicon-plus:before{content:"\002b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before,.glyphicon-btc:before,.glyphicon-xbt:before{content:"\e227"}.glyphicon-jpy:before,.glyphicon-yen:before{content:"\00a5"}.glyphicon-rub:before,.glyphicon-ruble:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:transparent}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.form-control,.ui-grid-pager-control input{-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}dt,kbd kbd,label{font-weight:700}address,blockquote .small,blockquote footer,blockquote small,dd,dt,pre{line-height:1.42857143}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.list-inline,.list-unstyled{padding-left:0;list-style:none}.text-left{text-align:left}.text-right{text-align:right}.btn,.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:focus,a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}pre code,table{background-color:transparent}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}dl,ol,ul{margin-top:0}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child,ol ol,ol ul,ul ol,ul ul{margin-bottom:0}address,dl{margin-bottom:20px}ol,ul{margin-bottom:10px}.list-inline{margin-left:-5px}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.container{width:750px}}#ui-grid-twbs #ui-grid-twbs .btn-group-vertical>.btn-group:after,#ui-grid-twbs #ui-grid-twbs .btn-toolbar:after,#ui-grid-twbs #ui-grid-twbs .form-horizontal .form-group:after,.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.dropdown-menu>li>a,.form-horizontal .form-group:after,.modal-footer:after,.modal-header:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after,.ui-grid-clearfix:after,.ui-grid-footer-canvas:after,.ui-grid-header-canvas:after{clear:both}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;color:#777}legend,pre{display:block;color:#333}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}code,kbd{padding:2px 4px;font-size:90%}caption,th{text-align:left}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;-webkit-box-shadow:none;box-shadow:none}pre{padding:9.5px;margin:0 0 10px;font-size:13px;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc}.container,.container-fluid{margin-right:auto;margin-left:auto}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;border-radius:0}.container,.container-fluid{padding-right:15px;padding-left:15px}.pre-scrollable{overflow-y:scroll}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}caption{padding-top:8px;padding-bottom:8px;color:#777}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered,.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover,.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset,legend{padding:0;border:0}fieldset{min-width:0;margin:0}legend{width:100%;margin-bottom:20px;font-size:21px;line-height:inherit;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}.form-control,output{font-size:14px;line-height:1.42857143;color:#555;display:block}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=checkbox]:focus,input[type=radio]:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}output{padding-top:7px}.form-control{width:100%;height:34px;padding:6px 12px;background-color:#fff;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.bootstrap-switch.bootstrap-switch-focused,.form-control:focus{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control:focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .form-control-feedback,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#3c763d}.form-control::-ms-expand{background-color:transparent;border:0}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=time].form-control,input[type=datetime-local].form-control,input[type=month].form-control{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=time],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=time],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-top:4px\9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}.checkbox-inline.disabled,.checkbox.disabled label,.radio-inline.disabled,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio label,fieldset[disabled] .radio-inline,fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.form-group-sm .form-control,.input-sm{padding:5px 10px;border-radius:3px;font-size:12px}.input-sm{height:30px;line-height:1.5}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;line-height:1.5}.form-group-lg .form-control,.input-lg{border-radius:6px;padding:10px 16px;font-size:18px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;line-height:1.3333333}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;line-height:1.3333333}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center}.collapsing,.dropdown,.dropup{position:relative}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .form-control-feedback,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .form-control-feedback,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-control-static,.form-inline .form-group{display:inline-block}.form-inline .control-label,.form-inline .form-group{margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:11px;font-size:18px}.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.btn-default:hover,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.disabled.focus,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled].focus,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary.active,.btn-primary:active,.btn-primary:hover,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary.disabled.focus,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled].focus,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success.active,.btn-success:active,.btn-success:hover,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#398439;border-color:#255625}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled.focus,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled].focus,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info.active,.btn-info:active,.btn-info:hover,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info.disabled.focus,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled].focus,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning.active,.btn-warning:active,.btn-warning:hover,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning.disabled.focus,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled].focus,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger.active,.btn-danger:active,.btn-danger:hover,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger.disabled.focus,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled].focus,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu-right,.dropdown-menu.pull-right{right:0;left:auto}.dropdown-header,.dropdown-menu>li>a{display:block;padding:3px 20px;line-height:1.42857143;white-space:nowrap}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle,.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child,.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child),.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn,.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{font-weight:400;color:#333}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-left{right:auto;left:0}.dropdown-header{font-size:12px;color:#777}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.nav-justified>.dropdown .dropdown-menu,.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px dashed;border-bottom:4px solid\9}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn .caret,.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn-group{float:left}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn-lg .caret{border-width:5px 5px 0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-radius:4px 4px 0 0}.btn-group-vertical>.btn:last-child:not(:first-child){border-radius:0 0 4px 4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.nav>li,.nav>li>a{display:block;position:relative}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li>a{padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center;margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0;border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-justified>li,.nav-stacked>li{float:none}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar{border-radius:4px}.navbar-header{float:left}.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.embed-responsive,.modal,.modal-open,.progress{overflow:hidden}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}.navbar-static-top{z-index:1000;border-width:0 0 1px}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}.navbar-fixed-bottom,.navbar-fixed-top,.navbar-static-top{border-radius:0}.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}.progress-bar-striped,.progress-striped .progress-bar,.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}@media (min-width:768px){.navbar-toggle{display:none}.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{padding:10px 15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);margin:8px -15px}@media (min-width:768px){.navbar-form .form-control-static,.navbar-form .form-group{display:inline-block}.navbar-form .control-label,.navbar-form .form-group{margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.breadcrumb>li,.pagination{display:inline-block}.btn .badge,.btn .label{top:-1px;position:relative}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-radius:4px 4px 0 0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-nav>li>a,.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>li>a,.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{padding-left:0;margin:20px 0;border-radius:4px}.pager li,.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:2;color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:3;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.badge,.label{font-weight:700;line-height:1;white-space:nowrap;text-align:center}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}a.badge:focus,a.badge:hover,a.label:focus,a.label:hover{color:#fff;cursor:pointer;text-decoration:none}.label{display:inline;padding:.2em .6em .3em;font-size:75%;color:#fff;border-radius:.25em}.label:empty{display:none}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;color:#fff;vertical-align:middle;background-color:#777;border-radius:10px}.badge:empty{display:none}.media-object,.thumbnail{display:block}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.jumbotron,.jumbotron .h1,.jumbotron h1{color:inherit}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;background-color:#eee}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.alert,.thumbnail{margin-bottom:20px}.alert .alert-link,.close{font-weight:700}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{padding-right:15px;padding-left:15px;border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.modal,.modal-backdrop{top:0;right:0;bottom:0;left:0}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-striped .progress-bar-info,.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover,button.list-group-item-success.active,button.list-group-item-success.active:focus,button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover,button.list-group-item-info.active,button.list-group-item-info.active:focus,button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover,button.list-group-item-warning.active,button.list-group-item-warning.active:focus,button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover,button.list-group-item-danger.active,button.list-group-item-danger.active:focus,button.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.panel-heading>.dropdown .dropdown-toggle,.panel-title,.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-title,.panel>.list-group,.panel>.panel-collapse>.list-group,.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-title{margin-top:0;font-size:16px}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel-group .panel-heading,.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-left-radius:0;border-top-right-radius:0}.list-group+.panel-footer,.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.modal-title,.tooltip{line-height:1.42857143}.popover,.tooltip{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-style:normal;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;line-break:auto;text-decoration:none}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal{position:fixed;z-index:1050;display:none;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:fixed;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}.tooltip.top-left .tooltip-arrow,.tooltip.top-right .tooltip-arrow{bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-size:12px;font-weight:400;text-align:left;text-align:start;white-space:normal;filter:alpha(opacity=0);opacity:0}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.carousel,.carousel-inner{position:relative}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px}.tooltip.top-right .tooltip-arrow{left:5px}.popover.left>.arrow:after,.popover.right>.arrow:after{bottom:-10px;content:" "}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow,.tooltip.bottom-left .tooltip-arrow,.tooltip.bottom-right .tooltip-arrow{top:0;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom .tooltip-arrow{left:50%;margin-left:-5px}.tooltip.bottom-left .tooltip-arrow{right:5px;margin-top:-5px}.tooltip.bottom-right .tooltip-arrow{left:5px;margin-top:-5px}.carousel-caption,.carousel-control{color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.popover.right{margin-left:10px}.popover.left{margin-left:-10px}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{left:1px;border-right-color:#fff;border-left-width:0}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;border-right-width:0;border-left-color:#fff}.carousel-inner{width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.bootstrap-switch,.ui-grid-pager-control input{-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;background-color:rgba(0,0,0,0);filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block;margin-top:-10px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px}.carousel-caption .btn,.text-hide{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.modal-header:after,.modal-header:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.hidden,.visible-lg,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;background-color:transparent;border:0}.affix{position:fixed}@-ms-viewport{width:device-width}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}.visible-xs-block{display:block!important}.visible-xs-inline{display:inline!important}.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}.visible-sm-block{display:block!important}.visible-sm-inline{display:inline!important}.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}.visible-md-block{display:block!important}.visible-md-inline{display:inline!important}.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}.visible-lg-block{display:block!important}.visible-lg-inline{display:inline!important}.visible-lg-inline-block{display:inline-block!important}.hidden-lg{display:none!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}.hidden-print{display:none!important}}.bootstrap-switch{display:inline-block;direction:ltr;cursor:pointer;border-radius:4px;border:1px solid #ccc;position:relative;text-align:left;overflow:hidden;line-height:8px;z-index:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.bootstrap-switch .bootstrap-switch-container{display:inline-block;top:0;border-radius:4px;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.bootstrap-switch .bootstrap-switch-handle-off,.bootstrap-switch .bootstrap-switch-handle-on,.bootstrap-switch .bootstrap-switch-label{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block!important;height:100%;padding:6px 12px;font-size:14px;line-height:20px}.bootstrap-switch .bootstrap-switch-handle-off,.bootstrap-switch .bootstrap-switch-handle-on{text-align:center;z-index:1}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary{color:#fff;background:#428bca}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info{color:#fff;background:#5bc0de}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success{color:#fff;background:#5cb85c}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning{background:#f0ad4e;color:#fff}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger{color:#fff;background:#d9534f}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default{color:#000;background:#eee}.bootstrap-switch .bootstrap-switch-label{text-align:center;margin-top:-1px;margin-bottom:-1px;z-index:100;color:#333;background:#fff}.bootstrap-switch .bootstrap-switch-handle-on{border-bottom-left-radius:3px;border-top-left-radius:3px}.bootstrap-switch .bootstrap-switch-handle-off{border-bottom-right-radius:3px;border-top-right-radius:3px}.bootstrap-switch input[type=radio],.bootstrap-switch input[type=checkbox]{position:absolute!important;top:0;left:0;opacity:0;filter:alpha(opacity=0);z-index:-1}.bootstrap-switch input[type=radio].form-control,.bootstrap-switch input[type=checkbox].form-control{height:auto}.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-label{padding:1px 5px;font-size:12px;line-height:1.5}.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-label{padding:5px 10px;font-size:12px;line-height:1.5}.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-label{padding:6px 16px;font-size:18px;line-height:1.33}.bootstrap-switch.bootstrap-switch-disabled,.bootstrap-switch.bootstrap-switch-indeterminate,.bootstrap-switch.bootstrap-switch-readonly{cursor:default!important}.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-label{opacity:.5;filter:alpha(opacity=50);cursor:default!important}.bootstrap-switch.bootstrap-switch-animate .bootstrap-switch-container{-webkit-transition:margin-left .5s;transition:margin-left .5s}.bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-on{border-radius:0 3px 3px 0}.bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-off{border-radius:3px 0 0 3px}.bootstrap-switch.bootstrap-switch-focused{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-off .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-label{border-bottom-right-radius:3px;border-top-right-radius:3px}.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-on .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-label{border-bottom-left-radius:3px;border-top-left-radius:3px}.bar-legend,.chart-legend,.doughnut-legend,.line-legend,.pie-legend,.polararea-legend,.radar-legend{list-style-type:none;margin-top:5px;text-align:center;-webkit-padding-start:0;-moz-padding-start:0;padding-left:0}.bar-legend li,.chart-legend li,.doughnut-legend li,.line-legend li,.pie-legend li,.polararea-legend li,.radar-legend li{display:inline-block;white-space:nowrap;position:relative;margin-bottom:4px;border-radius:5px;padding:2px 8px 2px 28px;font-size:smaller;cursor:default}.bar-legend li span,.chart-legend li span,.doughnut-legend li span,.line-legend li span,.pie-legend li span,.polararea-legend li span,.radar-legend li span{display:block;position:absolute;left:0;top:0;width:20px;height:20px;border-radius:5px}.toast-title{font-weight:700}.toast-message{word-wrap:break-word}.toast-message a,.toast-message label{color:#fff}.toast-message a:hover{color:#ccc;text-decoration:none}.toast-close-button{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;-webkit-text-shadow:0 1px 0 #fff;text-shadow:0 1px 0 #fff;opacity:.8}.toast-top-center,.toast-top-full-width{top:0;right:0;width:100%}.toast-close-button:focus,.toast-close-button:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4}button.toast-close-button{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.toast-bottom-center{bottom:0;right:0;width:100%}.toast-bottom-full-width{bottom:0;right:0;width:100%}.toast-top-left{top:12px;left:12px}.toast-top-right{top:12px;right:12px}.toast-bottom-right{right:12px;bottom:12px}.toast-bottom-left{bottom:12px;left:12px}#toast-container{position:fixed;z-index:999999}#toast-container *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#toast-container>div{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;-moz-box-shadow:0 0 12px #999;-webkit-box-shadow:0 0 12px #999;box-shadow:0 0 12px #999;color:#fff;opacity:.8}#toast-container>:hover{-moz-box-shadow:0 0 12px #000;-webkit-box-shadow:0 0 12px #000;box-shadow:0 0 12px #000;opacity:1;cursor:pointer}#toast-container>.toast-info{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=)!important}#toast-container>.toast-error{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=)!important}#toast-container>.toast-success{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==)!important}#toast-container>.toast-warning{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=)!important}#toast-container.toast-bottom-center>div,#toast-container.toast-top-center>div{width:300px;margin:auto}#toast-container.toast-bottom-full-width>div,#toast-container.toast-top-full-width>div{width:96%;margin:auto}.toast{background-color:#030303}.toast-success{background-color:#51a351}.toast-error{background-color:#bd362f}.toast-info{background-color:#2f96b4}.toast-warning{background-color:#f89406}.toast-progress{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4}.toast{opacity:1!important}.toast.ng-enter{opacity:0!important;transition:opacity .3s linear}.toast.ng-enter.ng-enter-active{opacity:1!important}.toast.ng-leave{opacity:1;transition:opacity .3s linear}.toast.ng-leave.ng-leave-active{opacity:0!important}@media all and (max-width:240px){#toast-container>div{padding:8px 8px 8px 50px;width:11em}#toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width:241px) and (max-width:480px){#toast-container>div{padding:8px 8px 8px 50px;width:18em}#toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width:481px) and (max-width:768px){#toast-container>div{padding:15px 15px 15px 50px;width:25em}}.ui-notification{position:fixed;z-index:9999;width:300px;cursor:pointer;-webkit-transition:all ease .5s;-o-transition:all ease .5s;transition:all ease .5s;color:#fff;background:#337ab7;box-shadow:5px 5px 10px rgba(0,0,0,.3)}.ui-notification.killed{-webkit-transition:opacity ease 1s;-o-transition:opacity ease 1s;transition:opacity ease 1s;opacity:0}.ui-notification>h3{font-size:14px;font-weight:700;display:block;margin:10px 10px 0;padding:0 0 5px;text-align:left;border-bottom:1px solid rgba(255,255,255,.3)}.editable-buttons,.editable-wrap,.editable-wrap .editable-input{display:inline-block}.ui-notification a{color:#fff}.ui-notification a:hover{text-decoration:underline}.ui-notification>.message{margin:10px}.editable-bstime .well-small,.editable-wrap .editable-controls,.editable-wrap .editable-controls>input,.editable-wrap .editable-controls>select,.editable-wrap .editable-controls>textarea,.editable-wrap .editable-error,.form-group .bootstrap-select.btn-group,.form-horizontal .bootstrap-select.btn-group,.form-inline .bootstrap-select.btn-group{margin-bottom:0}.ui-notification.warning{color:#fff;background:#f0ad4e}.ui-notification.error{color:#fff;background:#d9534f}.ui-notification.success{color:#fff;background:#5cb85c}.ui-notification.info{color:#fff;background:#5bc0de}.ui-notification:hover{opacity:.7}.steps-indicator li a:before,.steps-indicator:before{background-color:#e6e6e6;content:''}.steps-indicator{right:0;bottom:0;left:0;margin:0;padding:20px 0 0;height:30px;list-style:none}.steps-indicator:before{position:absolute;height:1px}.steps-indicator.steps-2:before{left:calc(100% / 2 / 2);right:calc(100% / 2 / 2)}.steps-indicator.steps-3:before{left:calc(100% / 3 / 2);right:calc(100% / 3 / 2)}.steps-indicator.steps-4:before{left:calc(100% / 4 / 2);right:calc(100% / 4 / 2)}.steps-indicator.steps-5:before{left:calc(100% / 5 / 2);right:calc(100% / 5 / 2)}.steps-indicator.steps-6:before{left:calc(100% / 6 / 2);right:calc(100% / 6 / 2)}.steps-indicator.steps-7:before{left:calc(100% / 7 / 2);right:calc(100% / 7 / 2)}.steps-indicator.steps-8:before{left:calc(100% / 8 / 2);right:calc(100% / 8 / 2)}.steps-indicator.steps-9:before{left:calc(100% / 9 / 2);right:calc(100% / 9 / 2)}.steps-indicator.steps-10:before{left:calc(100% / 10 / 2);right:calc(100% / 10 / 2)}.steps-indicator *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.steps-indicator li{position:relative;float:left;margin:0;padding:10px 0 0;text-align:center;line-height:15px}.steps-indicator li a{color:grey;text-decoration:none;text-transform:uppercase;font-weight:700;transition:.25s;cursor:pointer}.bootstrap-select.btn-group .dropdown-menu li.disabled a,.bootstrap-select.btn-group.disabled,.bootstrap-select.btn-group>.disabled{cursor:not-allowed}.steps-indicator li a:before{position:absolute;top:-7px;left:calc(50% - 7px);width:14px;height:14px;border-radius:100%;transition:.25s}.steps-indicator li a:hover{color:#4d4d4d}.steps-indicator.steps-2 li{width:calc(100% / 2)}.steps-indicator.steps-3 li{width:calc(100% / 3)}.steps-indicator.steps-4 li{width:calc(100% / 4)}.steps-indicator.steps-5 li{width:calc(100% / 5)}.steps-indicator.steps-6 li{width:calc(100% / 6)}.steps-indicator.steps-7 li{width:calc(100% / 7)}.steps-indicator.steps-8 li{width:calc(100% / 8)}.steps-indicator.steps-9 li{width:calc(100% / 9)}.steps-indicator.steps-10 li{width:calc(100% / 10)}.steps-indicator.steps-11 li{width:calc(100% / 11)}.steps-indicator li.default a:hover{color:grey}.steps-indicator li.current a:before{background-color:grey}.steps-indicator li.done a:before{background-color:#393}.steps-indicator li.editing a:before{background-color:red}/*!
 angular-xeditable - 0.1.9
 Edit-in-place for angular.js
 Build date: 2015-03-26 
similarity index 69%
rename from public/app/4942fdcb.vendor.js
rename to public/app/300cc0cc.vendor.js
index 5fc8ea5..20955c6 100644 (file)
@@ -6,12 +6,12 @@ k}}]}function qb(){this.$get=["$window",function(a){return Cd(a.document)}]}func
 }if(a===hf.HTML)return j(b);throw gf("unsafe","Attempting to use an unsafe value in a safe context.")}var j=function(a){throw gf("unsafe","Attempting to use an unsafe value in a safe context.")};c.has("$sanitize")&&(j=c.get("$sanitize"));var k=f(),l={};return l[hf.HTML]=f(k),l[hf.CSS]=f(k),l[hf.URL]=f(k),l[hf.JS]=f(k),l[hf.RESOURCE_URL]=f(l[hf.URL]),{trustAs:g,getTrusted:i,valueOf:h}}]}function wc(){var a=!0;this.enabled=function(b){return arguments.length&&(a=!!b),a},this.$get=["$parse","$sceDelegate",function(b,c){if(a&&8>Bd)throw gf("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode.  You can fix this by adding the text <!doctype html> to the top of your HTML document.  See http://docs.angularjs.org/api/ng.$sce for more information.");var d=P(hf);d.isEnabled=function(){return a},d.trustAs=c.trustAs,d.getTrusted=c.getTrusted,d.valueOf=c.valueOf,a||(d.trustAs=d.getTrusted=function(a,b){return b},d.valueOf=q),d.parseAs=function(a,c){var e=b(c);return e.literal&&e.constant?e:b(c,function(b){return d.getTrusted(a,b)})};var e=d.parseAs,g=d.getTrusted,h=d.trustAs;return f(hf,function(a,b){var c=wd(b);d[wa("parse_as_"+c)]=function(b){return e(a,b)},d[wa("get_trusted_"+c)]=function(b){return g(a,b)},d[wa("trust_as_"+c)]=function(b){return h(a,b)}}),d}]}function xc(){this.$get=["$window","$document",function(a,b){var c,d,e={},f=n((/android (\d+)/.exec(wd((a.navigator||{}).userAgent))||[])[1]),g=/Boxee/i.test((a.navigator||{}).userAgent),h=b[0]||{},i=/^(Moz|webkit|ms)(?=[A-Z])/,j=h.body&&h.body.style,k=!1,l=!1;if(j){for(var m in j)if(d=i.exec(m)){c=d[0],c=c.substr(0,1).toUpperCase()+c.substr(1);break}c||(c="WebkitOpacity"in j&&"webkit"),k=!!("transition"in j||c+"Transition"in j),l=!!("animation"in j||c+"Animation"in j),!f||k&&l||(k=x(j.webkitTransition),l=x(j.webkitAnimation))}return{history:!(!a.history||!a.history.pushState||4>f||g),hasEvent:function(a){if("input"===a&&11>=Bd)return!1;if(t(e[a])){var b=h.createElement("div");e[a]="on"+a in b}return e[a]},csp:Sd(),vendorPrefix:c,transitions:k,animations:l,android:f}}]}function yc(){this.$get=["$templateCache","$http","$q","$sce",function(a,b,c,d){function e(f,g){function h(a){if(!g)throw He("tpload","Failed to load template: {0} (HTTP status: {1} {2})",f,a.status,a.statusText);return c.reject(a)}e.totalPendingRequests++,x(f)&&a.get(f)||(f=d.getTrustedResourceUrl(f));var i=b.defaults&&b.defaults.transformResponse;Od(i)?i=i.filter(function(a){return a!==vb}):i===vb&&(i=null);var j={cache:a,transformResponse:i};return b.get(f,j)["finally"](function(){e.totalPendingRequests--}).then(function(b){return a.put(f,b.data),b.data},h)}return e.totalPendingRequests=0,e}]}function zc(){this.$get=["$rootScope","$browser","$location",function(a,b,c){var d={};return d.findBindings=function(a,b,c){var d=a.getElementsByClassName("ng-binding"),e=[];return f(d,function(a){var d=Ld.element(a).data("$binding");d&&f(d,function(d){if(c){var f=new RegExp("(^|\\s)"+Rd(b)+"(\\s|\\||$)");f.test(d)&&e.push(a)}else-1!=d.indexOf(b)&&e.push(a)})}),e},d.findModels=function(a,b,c){for(var d=["ng-","data-ng-","ng\\:"],e=0;e<d.length;++e){var f=c?"=":"*=",g="["+d[e]+"model"+f+'"'+b+'"]',h=a.querySelectorAll(g);if(h.length)return h}},d.getLocation=function(){return c.url()},d.setLocation=function(b){b!==c.url()&&(c.url(b),a.$digest())},d.whenStable=function(a){b.notifyWhenNoOutstandingRequests(a)},d}]}function Ac(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(a,b,c,d,e){function f(f,h,i){A(f)||(i=h,h=f,f=p);var j,k=S(arguments,3),l=u(i)&&!i,m=(l?d:c).defer(),n=m.promise;return j=b.defer(function(){try{m.resolve(f.apply(null,k))}catch(b){m.reject(b),e(b)}finally{delete g[n.$$timeoutId]}l||a.$apply()},h),n.$$timeoutId=j,g[j]=m,n}var g={};return f.cancel=function(a){return a&&a.$$timeoutId in g?(g[a.$$timeoutId].reject("canceled"),delete g[a.$$timeoutId],b.defer.cancel(a.$$timeoutId)):!1},f}]}function Bc(a){var b=a;return Bd&&(jf.setAttribute("href",b),b=jf.href),jf.setAttribute("href",b),{href:jf.href,protocol:jf.protocol?jf.protocol.replace(/:$/,""):"",host:jf.host,search:jf.search?jf.search.replace(/^\?/,""):"",hash:jf.hash?jf.hash.replace(/^#/,""):"",hostname:jf.hostname,port:jf.port,pathname:"/"===jf.pathname.charAt(0)?jf.pathname:"/"+jf.pathname}}function Cc(a){var b=x(a)?Bc(a):a;return b.protocol===kf.protocol&&b.host===kf.host}function Dc(){this.$get=r(a)}function Ec(a){function b(a){try{return decodeURIComponent(a)}catch(b){return a}}var c=a[0]||{},d={},e="";return function(){var a,f,g,h,i,j=c.cookie||"";if(j!==e)for(e=j,a=e.split("; "),d={},g=0;g<a.length;g++)f=a[g],h=f.indexOf("="),h>0&&(i=b(f.substring(0,h)),t(d[i])&&(d[i]=b(f.substring(h+1))));return d}}function Fc(){this.$get=Ec}function Gc(a){function b(d,e){if(v(d)){var g={};return f(d,function(a,c){g[c]=b(c,a)}),g}return a.factory(d+c,e)}var c="Filter";this.register=b,this.$get=["$injector",function(a){return function(b){return a.get(b+c)}}],b("currency",Lc),b("date",Yc),b("filter",Hc),b("json",Zc),b("limitTo",$c),b("lowercase",pf),b("number",Mc),b("orderBy",_c),b("uppercase",qf)}function Hc(){return function(a,b,c){if(!e(a)){if(null==a)return a;throw d("filter")("notarray","Expected array but received: {0}",a)}var f,g,h=Kc(b);switch(h){case"function":f=b;break;case"boolean":case"null":case"number":case"string":g=!0;case"object":f=Ic(b,c,g);break;default:return a}return Array.prototype.filter.call(a,f)}}function Ic(a,b,c){var d,e=v(a)&&"$"in a;return b===!0?b=Q:A(b)||(b=function(a,b){return t(a)?!1:null===a||null===b?a===b:v(b)||v(a)&&!s(a)?!1:(a=wd(""+a),b=wd(""+b),-1!==a.indexOf(b))}),d=function(d){return e&&!v(d)?Jc(d,a.$,b,!1):Jc(d,a,b,c)}}function Jc(a,b,c,d,e){var f=Kc(a),g=Kc(b);if("string"===g&&"!"===b.charAt(0))return!Jc(a,b.substring(1),c,d);if(Od(a))return a.some(function(a){return Jc(a,b,c,d)});switch(f){case"object":var h;if(d){for(h in a)if("$"!==h.charAt(0)&&Jc(a[h],b,c,!0))return!0;return e?!1:Jc(a,b,c,!1)}if("object"===g){for(h in b){var i=b[h];if(!A(i)&&!t(i)){var j="$"===h,k=j?a:a[h];if(!Jc(k,i,c,j,j))return!1}}return!0}return c(a,b);case"function":return!1;default:return c(a,b)}}function Kc(a){return null===a?"null":typeof a}function Lc(a){var b=a.NUMBER_FORMATS;return function(a,c,d){return t(c)&&(c=b.CURRENCY_SYM),t(d)&&(d=b.PATTERNS[1].maxFrac),null==a?a:Nc(a,b.PATTERNS[1],b.GROUP_SEP,b.DECIMAL_SEP,d).replace(/\u00A4/g,c)}}function Mc(a){var b=a.NUMBER_FORMATS;return function(a,c){return null==a?a:Nc(a,b.PATTERNS[0],b.GROUP_SEP,b.DECIMAL_SEP,c)}}function Nc(a,b,c,d,e){if(v(a))return"";var f=0>a;a=Math.abs(a);var g=a===1/0;if(!g&&!isFinite(a))return"";var h=a+"",i="",j=!1,k=[];if(g&&(i="∞"),!g&&-1!==h.indexOf("e")){var l=h.match(/([\d\.]+)e(-?)(\d+)/);l&&"-"==l[2]&&l[3]>e+1?a=0:(i=h,j=!0)}if(g||j)e>0&&1>a&&(i=a.toFixed(e),a=parseFloat(i),i=i.replace(lf,d));else{var m=(h.split(lf)[1]||"").length;t(e)&&(e=Math.min(Math.max(b.minFrac,m),b.maxFrac)),a=+(Math.round(+(a.toString()+"e"+e)).toString()+"e"+-e);var n=(""+a).split(lf),o=n[0];n=n[1]||"";var p,q=0,r=b.lgSize,s=b.gSize;if(o.length>=r+s)for(q=o.length-r,p=0;q>p;p++)(q-p)%s===0&&0!==p&&(i+=c),i+=o.charAt(p);for(p=q;p<o.length;p++)(o.length-p)%r===0&&0!==p&&(i+=c),i+=o.charAt(p);for(;n.length<e;)n+="0";e&&"0"!==e&&(i+=d+n.substr(0,e))}return 0===a&&(f=!1),k.push(f?b.negPre:b.posPre,i,f?b.negSuf:b.posSuf),k.join("")}function Oc(a,b,c){var d="";for(0>a&&(d="-",a=-a),a=""+a;a.length<b;)a="0"+a;return c&&(a=a.substr(a.length-b)),d+a}function Pc(a,b,c,d){return c=c||0,function(e){var f=e["get"+a]();return(c>0||f>-c)&&(f+=c),0===f&&-12==c&&(f=12),Oc(f,b,d)}}function Qc(a,b){return function(c,d){var e=c["get"+a](),f=yd(b?"SHORT"+a:a);return d[f][e]}}function Rc(a,b,c){var d=-1*c,e=d>=0?"+":"";return e+=Oc(Math[d>0?"floor":"ceil"](d/60),2)+Oc(Math.abs(d%60),2)}function Sc(a){var b=new Date(a,0,1).getDay();return new Date(a,0,(4>=b?5:12)-b)}function Tc(a){return new Date(a.getFullYear(),a.getMonth(),a.getDate()+(4-a.getDay()))}function Uc(a){return function(b){var c=Sc(b.getFullYear()),d=Tc(b),e=+d-+c,f=1+Math.round(e/6048e5);return Oc(f,a)}}function Vc(a,b){return a.getHours()<12?b.AMPMS[0]:b.AMPMS[1]}function Wc(a,b){return a.getFullYear()<=0?b.ERAS[0]:b.ERAS[1]}function Xc(a,b){return a.getFullYear()<=0?b.ERANAMES[0]:b.ERANAMES[1]}function Yc(a){function b(a){var b;if(b=a.match(c)){var d=new Date(0),e=0,f=0,g=b[8]?d.setUTCFullYear:d.setFullYear,h=b[8]?d.setUTCHours:d.setHours;b[9]&&(e=n(b[9]+b[10]),f=n(b[9]+b[11])),g.call(d,n(b[1]),n(b[2])-1,n(b[3]));var i=n(b[4]||0)-e,j=n(b[5]||0)-f,k=n(b[6]||0),l=Math.round(1e3*parseFloat("0."+(b[7]||0)));return h.call(d,i,j,k,l),d}return a}var c=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(c,d,e){var g,h,i="",j=[];if(d=d||"mediumDate",d=a.DATETIME_FORMATS[d]||d,x(c)&&(c=of.test(c)?n(c):b(c)),y(c)&&(c=new Date(c)),!z(c)||!isFinite(c.getTime()))return c;for(;d;)h=nf.exec(d),h?(j=R(j,h,1),d=j.pop()):(j.push(d),d=null);var k=c.getTimezoneOffset();return e&&(k=X(e,c.getTimezoneOffset()),c=Z(c,e,!0)),f(j,function(b){g=mf[b],i+=g?g(c,a.DATETIME_FORMATS,k):b.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),i}}function Zc(){return function(a,b){return t(b)&&(b=2),V(a,b)}}function $c(){return function(a,b,c){return b=Math.abs(Number(b))===1/0?Number(b):n(b),isNaN(b)?a:(y(a)&&(a=a.toString()),Od(a)||x(a)?(c=!c||isNaN(c)?0:n(c),c=0>c?Math.max(0,a.length+c):c,b>=0?a.slice(c,c+b):0===c?a.slice(b,a.length):a.slice(Math.max(0,c+b),c)):a)}}function _c(a){function b(b,c){return c=c?-1:1,b.map(function(b){var d=1,e=q;if(A(b))e=b;else if(x(b)&&(("+"==b.charAt(0)||"-"==b.charAt(0))&&(d="-"==b.charAt(0)?-1:1,b=b.substring(1)),""!==b&&(e=a(b),e.constant))){var f=e();e=function(a){return a[f]}}return{get:e,descending:d*c}})}function c(a){switch(typeof a){case"number":case"boolean":case"string":return!0;default:return!1}}function d(a,b){return"function"==typeof a.valueOf&&(a=a.valueOf(),c(a))?a:s(a)&&(a=a.toString(),c(a))?a:b}function f(a,b){var c=typeof a;return null===a?(c="string",a="null"):"string"===c?a=a.toLowerCase():"object"===c&&(a=d(a,b)),{value:a,type:c}}function g(a,b){var c=0;return a.type===b.type?a.value!==b.value&&(c=a.value<b.value?-1:1):c=a.type<b.type?-1:1,c}return function(a,c,d){function h(a,b){return{value:a,predicateValues:j.map(function(c){return f(c.get(a),b)})}}function i(a,b){for(var c=0,d=0,e=j.length;e>d&&!(c=g(a.predicateValues[d],b.predicateValues[d])*j[d].descending);++d);return c}if(!e(a))return a;Od(c)||(c=[c]),0===c.length&&(c=["+"]);var j=b(c,d);j.push({get:function(){return{}},descending:d?-1:1});var k=Array.prototype.map.call(a,h);return k.sort(i),a=k.map(function(a){return a.value})}}function ad(a){return A(a)&&(a={link:a}),a.restrict=a.restrict||"AC",r(a)}function bd(a,b){a.$name=b}function cd(a,b,d,e,g){var h=this,i=[];h.$error={},h.$$success={},h.$pending=c,h.$name=g(b.name||b.ngForm||"")(d),h.$dirty=!1,h.$pristine=!0,h.$valid=!0,h.$invalid=!1,h.$submitted=!1,h.$$parentForm=tf,h.$rollbackViewValue=function(){f(i,function(a){a.$rollbackViewValue()})},h.$commitViewValue=function(){f(i,function(a){a.$commitViewValue()})},h.$addControl=function(a){na(a.$name,"input"),i.push(a),a.$name&&(h[a.$name]=a),a.$$parentForm=h},h.$$renameControl=function(a,b){var c=a.$name;h[c]===a&&delete h[c],h[b]=a,a.$name=b},h.$removeControl=function(a){a.$name&&h[a.$name]===a&&delete h[a.$name],f(h.$pending,function(b,c){h.$setValidity(c,null,a)}),f(h.$error,function(b,c){h.$setValidity(c,null,a)}),f(h.$$success,function(b,c){h.$setValidity(c,null,a)}),N(i,a),a.$$parentForm=tf},rd({ctrl:this,$element:a,set:function(a,b,c){var d=a[b];if(d){var e=d.indexOf(c);-1===e&&d.push(c)}else a[b]=[c]},unset:function(a,b,c){var d=a[b];d&&(N(d,c),0===d.length&&delete a[b])},$animate:e}),h.$setDirty=function(){e.removeClass(a,bg),e.addClass(a,cg),h.$dirty=!0,h.$pristine=!1,h.$$parentForm.$setDirty()},h.$setPristine=function(){e.setClass(a,bg,cg+" "+uf),h.$dirty=!1,h.$pristine=!0,h.$submitted=!1,f(i,function(a){a.$setPristine()})},h.$setUntouched=function(){f(i,function(a){a.$setUntouched()})},h.$setSubmitted=function(){e.addClass(a,uf),h.$submitted=!0,h.$$parentForm.$setSubmitted()}}function dd(a){a.$formatters.push(function(b){return a.$isEmpty(b)?b:b.toString()})}function ed(a,b,c,d,e,f){fd(a,b,c,d,e,f),dd(d)}function fd(a,b,c,d,e,f){var g=wd(b[0].type);if(!e.android){var h=!1;b.on("compositionstart",function(a){h=!0}),b.on("compositionend",function(){h=!1,i()})}var i=function(a){if(j&&(f.defer.cancel(j),j=null),!h){var e=b.val(),i=a&&a.type;"password"===g||c.ngTrim&&"false"===c.ngTrim||(e=Qd(e)),(d.$viewValue!==e||""===e&&d.$$hasNativeValidators)&&d.$setViewValue(e,i)}};if(e.hasEvent("input"))b.on("input",i);else{var j,k=function(a,b,c){j||(j=f.defer(function(){j=null,b&&b.value===c||i(a)}))};b.on("keydown",function(a){var b=a.keyCode;91===b||b>15&&19>b||b>=37&&40>=b||k(a,this,this.value)}),e.hasEvent("paste")&&b.on("paste cut",k)}b.on("change",i),d.$render=function(){var a=d.$isEmpty(d.$viewValue)?"":d.$viewValue;b.val()!==a&&b.val(a)}}function gd(a,b){if(z(a))return a;if(x(a)){Ef.lastIndex=0;var c=Ef.exec(a);if(c){var d=+c[1],e=+c[2],f=0,g=0,h=0,i=0,j=Sc(d),k=7*(e-1);return b&&(f=b.getHours(),g=b.getMinutes(),h=b.getSeconds(),i=b.getMilliseconds()),new Date(d,0,j.getDate()+k,f,g,h,i)}}return NaN}function hd(a,b){return function(c,d){var e,g;if(z(c))return c;if(x(c)){if('"'==c.charAt(0)&&'"'==c.charAt(c.length-1)&&(c=c.substring(1,c.length-1)),yf.test(c))return new Date(c);if(a.lastIndex=0,e=a.exec(c))return e.shift(),g=d?{yyyy:d.getFullYear(),MM:d.getMonth()+1,dd:d.getDate(),HH:d.getHours(),mm:d.getMinutes(),ss:d.getSeconds(),sss:d.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},f(e,function(a,c){c<b.length&&(g[b[c]]=+a)}),new Date(g.yyyy,g.MM-1,g.dd,g.HH,g.mm,g.ss||0,1e3*g.sss||0)}return NaN}}function id(a,b,d,e){return function(f,g,h,i,j,k,l){function m(a){return a&&!(a.getTime&&a.getTime()!==a.getTime())}function n(a){return u(a)&&!z(a)?d(a)||c:a}jd(f,g,h,i),fd(f,g,h,i,j,k);var o,p=i&&i.$options&&i.$options.timezone;if(i.$$parserName=a,i.$parsers.push(function(a){if(i.$isEmpty(a))return null;if(b.test(a)){var e=d(a,o);return p&&(e=Z(e,p)),e}return c}),i.$formatters.push(function(a){if(a&&!z(a))throw gg("datefmt","Expected `{0}` to be a date",a);return m(a)?(o=a,o&&p&&(o=Z(o,p,!0)),l("date")(a,e,p)):(o=null,"")}),u(h.min)||h.ngMin){var q;i.$validators.min=function(a){return!m(a)||t(q)||d(a)>=q},h.$observe("min",function(a){q=n(a),i.$validate()})}if(u(h.max)||h.ngMax){var r;i.$validators.max=function(a){return!m(a)||t(r)||d(a)<=r},h.$observe("max",function(a){r=n(a),i.$validate()})}}}function jd(a,b,d,e){var f=b[0],g=e.$$hasNativeValidators=v(f.validity);g&&e.$parsers.push(function(a){var d=b.prop(vd)||{};return d.badInput&&!d.typeMismatch?c:a})}function kd(a,b,d,e,f,g){if(jd(a,b,d,e),fd(a,b,d,e,f,g),e.$$parserName="number",e.$parsers.push(function(a){return e.$isEmpty(a)?null:Bf.test(a)?parseFloat(a):c}),e.$formatters.push(function(a){if(!e.$isEmpty(a)){if(!y(a))throw gg("numfmt","Expected `{0}` to be a number",a);a=a.toString()}return a}),u(d.min)||d.ngMin){var h;e.$validators.min=function(a){return e.$isEmpty(a)||t(h)||a>=h},d.$observe("min",function(a){u(a)&&!y(a)&&(a=parseFloat(a,10)),h=y(a)&&!isNaN(a)?a:c,e.$validate()})}if(u(d.max)||d.ngMax){var i;e.$validators.max=function(a){return e.$isEmpty(a)||t(i)||i>=a},d.$observe("max",function(a){u(a)&&!y(a)&&(a=parseFloat(a,10)),i=y(a)&&!isNaN(a)?a:c,e.$validate()})}}function ld(a,b,c,d,e,f){fd(a,b,c,d,e,f),dd(d),d.$$parserName="url",d.$validators.url=function(a,b){var c=a||b;return d.$isEmpty(c)||zf.test(c)}}function md(a,b,c,d,e,f){fd(a,b,c,d,e,f),dd(d),d.$$parserName="email",d.$validators.email=function(a,b){var c=a||b;return d.$isEmpty(c)||Af.test(c)}}function nd(a,b,c,d){t(c.name)&&b.attr("name",i());var e=function(a){b[0].checked&&d.$setViewValue(c.value,a&&a.type)};b.on("click",e),d.$render=function(){var a=c.value;b[0].checked=a==d.$viewValue},c.$observe("value",d.$render)}function od(a,b,c,d,e){var f;if(u(d)){if(f=a(d),!f.constant)throw gg("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",c,d);return f(b)}return e}function pd(a,b,c,d,e,f,g,h){var i=od(h,a,"ngTrueValue",c.ngTrueValue,!0),j=od(h,a,"ngFalseValue",c.ngFalseValue,!1),k=function(a){d.$setViewValue(b[0].checked,a&&a.type)};b.on("click",k),d.$render=function(){b[0].checked=d.$viewValue},d.$isEmpty=function(a){return a===!1},d.$formatters.push(function(a){return Q(a,i)}),d.$parsers.push(function(a){return a?i:j})}function qd(a,b){return a="ngClass"+a,["$animate",function(c){function d(a,b){var c=[];a:for(var d=0;d<a.length;d++){for(var e=a[d],f=0;f<b.length;f++)if(e==b[f])continue a;c.push(e)}return c}function e(a){var b=[];return Od(a)?(f(a,function(a){b=b.concat(e(a))}),b):x(a)?a.split(" "):v(a)?(f(a,function(a,c){a&&(b=b.concat(c.split(" ")))}),b):a}return{restrict:"AC",link:function(g,h,i){function j(a){var b=l(a,1);i.$addClass(b)}function k(a){var b=l(a,-1);i.$removeClass(b)}function l(a,b){var c=h.data("$classCounts")||qa(),d=[];return f(a,function(a){(b>0||c[a])&&(c[a]=(c[a]||0)+b,c[a]===+(b>0)&&d.push(a))}),h.data("$classCounts",c),d.join(" ")}function m(a,b){var e=d(b,a),f=d(a,b);e=l(e,1),f=l(f,-1),e&&e.length&&c.addClass(h,e),f&&f.length&&c.removeClass(h,f)}function n(a){if(b===!0||g.$index%2===b){var c=e(a||[]);if(o){if(!Q(a,o)){var d=e(o);m(d,c)}}else j(c)}o=P(a)}var o;g.$watch(i[a],n,!0),i.$observe("class",function(b){n(g.$eval(i[a]))}),"ngClass"!==a&&g.$watch("$index",function(c,d){var f=1&c;if(f!==(1&d)){var h=e(g.$eval(i[a]));f===b?j(h):k(h)}})}}}]}function rd(a){function b(a,b,i){t(b)?d("$pending",a,i):e("$pending",a,i),H(b)?b?(l(h.$error,a,i),k(h.$$success,a,i)):(k(h.$error,a,i),l(h.$$success,a,i)):(l(h.$error,a,i),l(h.$$success,a,i)),h.$pending?(f(fg,!0),h.$valid=h.$invalid=c,g("",null)):(f(fg,!1),h.$valid=sd(h.$error),h.$invalid=!h.$valid,g("",h.$valid));var j;j=h.$pending&&h.$pending[a]?c:h.$error[a]?!1:h.$$success[a]?!0:null,g(a,j),h.$$parentForm.$setValidity(a,j,h)}function d(a,b,c){h[a]||(h[a]={}),k(h[a],b,c)}function e(a,b,d){h[a]&&l(h[a],b,d),sd(h[a])&&(h[a]=c)}function f(a,b){b&&!j[a]?(m.addClass(i,a),j[a]=!0):!b&&j[a]&&(m.removeClass(i,a),j[a]=!1)}function g(a,b){a=a?"-"+ja(a,"-"):"",f(_f+a,b===!0),f(ag+a,b===!1)}var h=a.ctrl,i=a.$element,j={},k=a.set,l=a.unset,m=a.$animate;j[ag]=!(j[_f]=i.hasClass(_f)),h.$setValidity=b}function sd(a){if(a)for(var b in a)if(a.hasOwnProperty(b))return!1;return!0}function td(a){a[0].hasAttribute("selected")&&(a[0].selected=!0)}var ud=/^\/(.+)\/([a-z]*)$/,vd="validity",wd=function(a){return x(a)?a.toLowerCase():a},xd=Object.prototype.hasOwnProperty,yd=function(a){return x(a)?a.toUpperCase():a},zd=function(a){return x(a)?a.replace(/[A-Z]/g,function(a){return String.fromCharCode(32|a.charCodeAt(0))}):a},Ad=function(a){return x(a)?a.replace(/[a-z]/g,function(a){return String.fromCharCode(-33&a.charCodeAt(0))}):a};"i"!=="I".toLowerCase()&&(wd=zd,yd=Ad);var Bd,Cd,Dd,Ed,Fd=[].slice,Gd=[].splice,Hd=[].push,Id=Object.prototype.toString,Jd=Object.getPrototypeOf,Kd=d("ng"),Ld=a.angular||(a.angular={}),Md=0;Bd=b.documentMode,p.$inject=[],q.$inject=[];var Nd,Od=Array.isArray,Pd=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Qd=function(a){return x(a)?a.trim():a},Rd=function(a){return a.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},Sd=function(){function a(){try{return new Function(""),!1}catch(a){return!0}}if(!u(Sd.rules)){var c=b.querySelector("[ng-csp]")||b.querySelector("[data-ng-csp]");if(c){var d=c.getAttribute("ng-csp")||c.getAttribute("data-ng-csp");Sd.rules={noUnsafeEval:!d||-1!==d.indexOf("no-unsafe-eval"),noInlineStyle:!d||-1!==d.indexOf("no-inline-style")}}else Sd.rules={noUnsafeEval:a(),noInlineStyle:!1}}return Sd.rules},Td=function(){if(u(Td.name_))return Td.name_;var a,c,d,e,f=Ud.length;for(c=0;f>c;++c)if(d=Ud[c],a=b.querySelector("["+d.replace(":","\\:")+"jq]")){e=a.getAttribute(d+"jq");break}return Td.name_=e},Ud=["ng-","data-ng-","ng:","x-ng-"],Vd=/[A-Z]/g,Wd=!1,Xd=1,Yd=2,Zd=3,$d=8,_d=9,ae=11,be={full:"1.4.8",major:1,minor:4,dot:8,codeName:"ice-manipulation"};Ca.expando="ng339";var ce=Ca.cache={},de=1,ee=function(a,b,c){a.addEventListener(b,c,!1)},fe=function(a,b,c){a.removeEventListener(b,c,!1)};Ca._data=function(a){return this.cache[a[this.expando]]||{}};var ge=/([\:\-\_]+(.))/g,he=/^moz([A-Z])/,ie={mouseleave:"mouseout",mouseenter:"mouseover"},je=d("jqLite"),ke=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,le=/<|&#?\w+;/,me=/<([\w:-]+)/,ne=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,oe={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};oe.optgroup=oe.option,oe.tbody=oe.tfoot=oe.colgroup=oe.caption=oe.thead,oe.th=oe.td;var pe=Node.prototype.contains||function(a){return!!(16&this.compareDocumentPosition(a))},qe=Ca.prototype={ready:function(c){function d(){e||(e=!0,c())}var e=!1;"complete"===b.readyState?setTimeout(d):(this.on("DOMContentLoaded",d),Ca(a).on("load",d))},toString:function(){var a=[];return f(this,function(b){a.push(""+b)}),"["+a.join(", ")+"]"},eq:function(a){return Cd(a>=0?this[a]:this[this.length+a])},length:0,push:Hd,sort:[].sort,splice:[].splice},re={};f("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(a){re[wd(a)]=a});var se={};f("input,select,option,textarea,button,form,details".split(","),function(a){se[a]=!0});var te={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};f({data:Ia,removeData:Ga,hasData:za},function(a,b){Ca[b]=a}),f({data:Ia,inheritedData:Oa,scope:function(a){return Cd.data(a,"$scope")||Oa(a.parentNode||a,["$isolateScope","$scope"])},isolateScope:function(a){return Cd.data(a,"$isolateScope")||Cd.data(a,"$isolateScopeNoTemplate")},controller:Na,injector:function(a){return Oa(a,"$injector")},removeAttr:function(a,b){a.removeAttribute(b)},hasClass:Ja,css:function(a,b,c){return b=wa(b),u(c)?void(a.style[b]=c):a.style[b]},attr:function(a,b,d){var e=a.nodeType;if(e!==Zd&&e!==Yd&&e!==$d){var f=wd(b);if(re[f]){if(!u(d))return a[b]||(a.attributes.getNamedItem(b)||p).specified?f:c;d?(a[b]=!0,a.setAttribute(b,f)):(a[b]=!1,a.removeAttribute(f))}else if(u(d))a.setAttribute(b,d);else if(a.getAttribute){var g=a.getAttribute(b,2);return null===g?c:g}}},prop:function(a,b,c){return u(c)?void(a[b]=c):a[b]},text:function(){function a(a,b){if(t(b)){var c=a.nodeType;return c===Xd||c===Zd?a.textContent:""}a.textContent=b}return a.$dv="",a}(),val:function(a,b){if(t(b)){if(a.multiple&&"select"===M(a)){var c=[];return f(a.options,function(a){a.selected&&c.push(a.value||a.text)}),0===c.length?null:c}return a.value}a.value=b},html:function(a,b){return t(b)?a.innerHTML:(Ea(a,!0),void(a.innerHTML=b))},empty:Pa},function(a,b){Ca.prototype[b]=function(b,c){var d,e,f=this.length;if(a!==Pa&&t(2==a.length&&a!==Ja&&a!==Na?b:c)){if(v(b)){for(d=0;f>d;d++)if(a===Ia)a(this[d],b);else for(e in b)a(this[d],e,b[e]);return this}for(var g=a.$dv,h=t(g)?Math.min(f,1):f,i=0;h>i;i++){var j=a(this[i],b,c);g=g?g+j:j}return g}for(d=0;f>d;d++)a(this[d],b,c);return this}}),f({removeData:Ga,on:function(a,b,d,e){if(u(e))throw je("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(ya(a)){var f=Ha(a,!0),g=f.events,h=f.handle;h||(h=f.handle=Ua(a,g));for(var i=b.indexOf(" ")>=0?b.split(" "):[b],j=i.length,k=function(b,c,e){var f=g[b];f||(f=g[b]=[],f.specialHandlerWrapper=c,"$destroy"===b||e||ee(a,b,h)),f.push(d)};j--;)b=i[j],ie[b]?(k(ie[b],Wa),k(b,c,!0)):k(b)}},off:Fa,one:function(a,b,c){a=Cd(a),a.on(b,function d(){a.off(b,c),a.off(b,d)}),a.on(b,c)},replaceWith:function(a,b){var c,d=a.parentNode;Ea(a),f(new Ca(b),function(b){c?d.insertBefore(b,c.nextSibling):d.replaceChild(b,a),c=b})},children:function(a){var b=[];return f(a.childNodes,function(a){a.nodeType===Xd&&b.push(a)}),b},contents:function(a){return a.contentDocument||a.childNodes||[]},append:function(a,b){var c=a.nodeType;if(c===Xd||c===ae){b=new Ca(b);for(var d=0,e=b.length;e>d;d++){var f=b[d];a.appendChild(f)}}},prepend:function(a,b){if(a.nodeType===Xd){var c=a.firstChild;f(new Ca(b),function(b){a.insertBefore(b,c)})}},wrap:function(a,b){b=Cd(b).eq(0).clone()[0];var c=a.parentNode;c&&c.replaceChild(b,a),b.appendChild(a)},remove:Qa,detach:function(a){Qa(a,!0)},after:function(a,b){var c=a,d=a.parentNode;b=new Ca(b);for(var e=0,f=b.length;f>e;e++){var g=b[e];d.insertBefore(g,c.nextSibling),c=g}},addClass:La,removeClass:Ka,toggleClass:function(a,b,c){b&&f(b.split(" "),function(b){var d=c;t(d)&&(d=!Ja(a,b)),(d?La:Ka)(a,b)})},parent:function(a){var b=a.parentNode;return b&&b.nodeType!==ae?b:null},next:function(a){return a.nextElementSibling},find:function(a,b){return a.getElementsByTagName?a.getElementsByTagName(b):[]},clone:Da,triggerHandler:function(a,b,c){var d,e,g,h=b.type||b,i=Ha(a),j=i&&i.events,k=j&&j[h];k&&(d={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:p,type:h,target:a},b.type&&(d=l(d,b)),e=P(k),g=c?[d].concat(c):[d],f(e,function(b){d.isImmediatePropagationStopped()||b.apply(a,g)}))}},function(a,b){Ca.prototype[b]=function(b,c,d){for(var e,f=0,g=this.length;g>f;f++)t(e)?(e=a(this[f],b,c,d),u(e)&&(e=Cd(e))):Ma(e,a(this[f],b,c,d));return u(e)?e:this},Ca.prototype.bind=Ca.prototype.on,Ca.prototype.unbind=Ca.prototype.off}),Za.prototype={put:function(a,b){this[Ya(a,this.nextUid)]=b},get:function(a){return this[Ya(a,this.nextUid)]},remove:function(a){var b=this[a=Ya(a,this.nextUid)];return delete this[a],b}};var ue=[function(){this.$get=[function(){return Za}]}],ve=/^[^\(]*\(\s*([^\)]*)\)/m,we=/,/,xe=/^\s*(_?)(\S+?)\1\s*$/,ye=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,ze=d("$injector");ab.$$annotate=_a;var Ae=d("$animate"),Be=1,Ce="ng-animate",De=function(){this.$get=["$q","$$rAF",function(a,b){function c(){}return c.all=p,c.chain=p,c.prototype={end:p,cancel:p,resume:p,pause:p,complete:p,then:function(c,d){return a(function(a){b(function(){a()})}).then(c,d)}},c}]},Ee=function(){var a=new Za,b=[];this.$get=["$$AnimateRunner","$rootScope",function(c,d){function e(a,b,c){var d=!1;return b&&(b=x(b)?b.split(" "):Od(b)?b:[],f(b,function(b){b&&(d=!0,a[b]=c)})),d}function g(){f(b,function(b){var c=a.get(b);if(c){var d=eb(b.attr("class")),e="",g="";f(c,function(a,b){var c=!!d[b];a!==c&&(a?e+=(e.length?" ":"")+b:g+=(g.length?" ":"")+b)}),f(b,function(a){e&&La(a,e),g&&Ka(a,g)}),a.remove(b)}}),b.length=0}function h(c,f,h){var i=a.get(c)||{},j=e(i,f,!0),k=e(i,h,!1);(j||k)&&(a.put(c,i),b.push(c),1===b.length&&d.$$postDigest(g))}return{enabled:p,on:p,off:p,pin:p,push:function(a,b,d,e){return e&&e(),d=d||{},d.from&&a.css(d.from),d.to&&a.css(d.to),(d.addClass||d.removeClass)&&h(a,d.addClass,d.removeClass),new c}}}]},Fe=["$provide",function(a){var b=this;this.$$registeredAnimations=Object.create(null),this.register=function(c,d){if(c&&"."!==c.charAt(0))throw Ae("notcsel","Expecting class selector starting with '.' got '{0}'.",c);var e=c+"-animation";b.$$registeredAnimations[c.substr(1)]=e,a.factory(e,d)},this.classNameFilter=function(a){if(1===arguments.length&&(this.$$classNameFilter=a instanceof RegExp?a:null,this.$$classNameFilter)){var b=new RegExp("(\\s+|\\/)"+Ce+"(\\s+|\\/)");if(b.test(this.$$classNameFilter.toString()))throw Ae("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Ce)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(a){function b(a,b,c){if(c){var d=db(c);!d||d.parentNode||d.previousElementSibling||(c=null)}c?c.after(a):b.prepend(a)}return{on:a.on,off:a.off,pin:a.pin,enabled:a.enabled,cancel:function(a){a.end&&a.end()},enter:function(c,d,e,f){return d=d&&Cd(d),e=e&&Cd(e),d=d||e.parent(),b(c,d,e),a.push(c,"enter",fb(f))},move:function(c,d,e,f){return d=d&&Cd(d),e=e&&Cd(e),d=d||e.parent(),b(c,d,e),a.push(c,"move",fb(f))},leave:function(b,c){return a.push(b,"leave",fb(c),function(){b.remove()})},addClass:function(b,c,d){return d=fb(d),d.addClass=cb(d.addclass,c),a.push(b,"addClass",d)},removeClass:function(b,c,d){return d=fb(d),d.removeClass=cb(d.removeClass,c),a.push(b,"removeClass",d)},setClass:function(b,c,d,e){return e=fb(e),e.addClass=cb(e.addClass,c),e.removeClass=cb(e.removeClass,d),a.push(b,"setClass",e)},animate:function(b,c,d,e,f){return f=fb(f),f.from=f.from?l(f.from,c):c,f.to=f.to?l(f.to,d):d,e=e||"ng-inline-animate",f.tempClasses=cb(f.tempClasses,e),a.push(b,"animate",f)}}}]}],Ge=function(){this.$get=["$$rAF","$q",function(a,b){var c=function(){};return c.prototype={done:function(a){this.defer&&this.defer[a===!0?"reject":"resolve"]()},end:function(){this.done()},cancel:function(){this.done(!0)},getPromise:function(){return this.defer||(this.defer=b.defer()),this.defer.promise},then:function(a,b){return this.getPromise().then(a,b)},"catch":function(a){return this.getPromise()["catch"](a)},"finally":function(a){return this.getPromise()["finally"](a)}},function(b,d){function e(){return a(function(){f(),g||h.done(),g=!0}),h}function f(){d.addClass&&(b.addClass(d.addClass),d.addClass=null),d.removeClass&&(b.removeClass(d.removeClass),d.removeClass=null),d.to&&(b.css(d.to),d.to=null)}d.cleanupStyles&&(d.from=d.to=null),d.from&&(b.css(d.from),d.from=null);var g,h=new c;return{start:e,end:e}}}]},He=d("$compile");kb.$inject=["$provide","$$sanitizeUriProvider"];var Ie=/^((?:x|data)[\:\-_])/i,Je=d("$controller"),Ke=/^(\S+)(\s+as\s+(\w+))?$/,Le=function(){this.$get=["$document",function(a){return function(b){return b?!b.nodeType&&b instanceof Cd&&(b=b[0]):b=a[0].body,b.offsetWidth+1}}]},Me="application/json",Ne={"Content-Type":Me+";charset=utf-8"},Oe=/^\[|^\{(?!\{)/,Pe={"[":/]$/,"{":/}$/},Qe=/^\)\]\}',?\n/,Re=d("$http"),Se=function(a){return function(){throw Re("legacy","The method `{0}` on the promise returned from `$http` has been disabled.",a)}},Te=Ld.$interpolateMinErr=d("$interpolate");Te.throwNoconcat=function(a){throw Te("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required.  See http://docs.angularjs.org/api/ng.$sce",a)},Te.interr=function(a,b){return Te("interr","Can't interpolate: {0}\n{1}",a,b.toString())};var Ue=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,Ve={http:80,https:443,ftp:21},We=d("$location"),Xe={$$html5:!1,$$replace:!1,absUrl:Sb("$$absUrl"),url:function(a){if(t(a))return this.$$url;var b=Ue.exec(a);return(b[1]||""===a)&&this.path(decodeURIComponent(b[1])),(b[2]||b[1]||""===a)&&this.search(b[3]||""),this.hash(b[5]||""),this},protocol:Sb("$$protocol"),host:Sb("$$host"),port:Sb("$$port"),path:Tb("$$path",function(a){return a=null!==a?a.toString():"","/"==a.charAt(0)?a:"/"+a}),search:function(a,b){switch(arguments.length){case 0:return this.$$search;case 1:if(x(a)||y(a))a=a.toString(),this.$$search=aa(a);else{if(!v(a))throw We("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");a=O(a,{}),f(a,function(b,c){null==b&&delete a[c]}),this.$$search=a}break;default:t(b)||null===b?delete this.$$search[a]:this.$$search[a]=b}return this.$$compose(),this},hash:Tb("$$hash",function(a){return null!==a?a.toString():""}),replace:function(){return this.$$replace=!0,this}};f([Rb,Qb,Pb],function(a){a.prototype=Object.create(Xe),a.prototype.state=function(b){if(!arguments.length)return this.$$state;if(a!==Pb||!this.$$html5)throw We("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=t(b)?null:b,
 this}});var Ye=d("$parse"),Ze=Function.prototype.call,$e=Function.prototype.apply,_e=Function.prototype.bind,af=qa();f("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(a){af[a]=!0});var bf={n:"\n",f:"\f",r:"\r",t:"      ",v:"\x0B","'":"'",'"':'"'},cf=function(a){this.options=a};cf.prototype={constructor:cf,lex:function(a){for(this.text=a,this.index=0,this.tokens=[];this.index<this.text.length;){var b=this.text.charAt(this.index);if('"'===b||"'"===b)this.readString(b);else if(this.isNumber(b)||"."===b&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdent(b))this.readIdent();else if(this.is(b,"(){}[].,;:?"))this.tokens.push({index:this.index,text:b}),this.index++;else if(this.isWhitespace(b))this.index++;else{var c=b+this.peek(),d=c+this.peek(2),e=af[b],f=af[c],g=af[d];if(e||f||g){var h=g?d:f?c:b;this.tokens.push({index:this.index,text:h,operator:!0}),this.index+=h.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(a,b){return-1!==b.indexOf(a)},peek:function(a){var b=a||1;return this.index+b<this.text.length?this.text.charAt(this.index+b):!1},isNumber:function(a){return a>="0"&&"9">=a&&"string"==typeof a},isWhitespace:function(a){return" "===a||"\r"===a||"   "===a||"\n"===a||"\x0B"===a||" "===a},isIdent:function(a){return a>="a"&&"z">=a||a>="A"&&"Z">=a||"_"===a||"$"===a},isExpOperator:function(a){return"-"===a||"+"===a||this.isNumber(a)},throwError:function(a,b,c){c=c||this.index;var d=u(b)?"s "+b+"-"+this.index+" ["+this.text.substring(b,c)+"]":" "+c;throw Ye("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",a,d,this.text)},readNumber:function(){for(var a="",b=this.index;this.index<this.text.length;){var c=wd(this.text.charAt(this.index));if("."==c||this.isNumber(c))a+=c;else{var d=this.peek();if("e"==c&&this.isExpOperator(d))a+=c;else if(this.isExpOperator(c)&&d&&this.isNumber(d)&&"e"==a.charAt(a.length-1))a+=c;else{if(!this.isExpOperator(c)||d&&this.isNumber(d)||"e"!=a.charAt(a.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:b,text:a,constant:!0,value:Number(a)})},readIdent:function(){for(var a=this.index;this.index<this.text.length;){var b=this.text.charAt(this.index);if(!this.isIdent(b)&&!this.isNumber(b))break;this.index++}this.tokens.push({index:a,text:this.text.slice(a,this.index),identifier:!0})},readString:function(a){var b=this.index;this.index++;for(var c="",d=a,e=!1;this.index<this.text.length;){var f=this.text.charAt(this.index);if(d+=f,e){if("u"===f){var g=this.text.substring(this.index+1,this.index+5);g.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+g+"]"),this.index+=4,c+=String.fromCharCode(parseInt(g,16))}else{var h=bf[f];c+=h||f}e=!1}else if("\\"===f)e=!0;else{if(f===a)return this.index++,void this.tokens.push({index:b,text:d,constant:!0,value:c});c+=f}this.index++}this.throwError("Unterminated quote",b)}};var df=function(a,b){this.lexer=a,this.options=b};df.Program="Program",df.ExpressionStatement="ExpressionStatement",df.AssignmentExpression="AssignmentExpression",df.ConditionalExpression="ConditionalExpression",df.LogicalExpression="LogicalExpression",df.BinaryExpression="BinaryExpression",df.UnaryExpression="UnaryExpression",df.CallExpression="CallExpression",df.MemberExpression="MemberExpression",df.Identifier="Identifier",df.Literal="Literal",df.ArrayExpression="ArrayExpression",df.Property="Property",df.ObjectExpression="ObjectExpression",df.ThisExpression="ThisExpression",df.NGValueParameter="NGValueParameter",df.prototype={ast:function(a){this.text=a,this.tokens=this.lexer.lex(a);var b=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),b},program:function(){for(var a=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&a.push(this.expressionStatement()),!this.expect(";"))return{type:df.Program,body:a}},expressionStatement:function(){return{type:df.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var a,b=this.expression();a=this.expect("|");)b=this.filter(b);return b},expression:function(){return this.assignment()},assignment:function(){var a=this.ternary();return this.expect("=")&&(a={type:df.AssignmentExpression,left:a,right:this.assignment(),operator:"="}),a},ternary:function(){var a,b,c=this.logicalOR();return this.expect("?")&&(a=this.expression(),this.consume(":"))?(b=this.expression(),{type:df.ConditionalExpression,test:c,alternate:a,consequent:b}):c},logicalOR:function(){for(var a=this.logicalAND();this.expect("||");)a={type:df.LogicalExpression,operator:"||",left:a,right:this.logicalAND()};return a},logicalAND:function(){for(var a=this.equality();this.expect("&&");)a={type:df.LogicalExpression,operator:"&&",left:a,right:this.equality()};return a},equality:function(){for(var a,b=this.relational();a=this.expect("==","!=","===","!==");)b={type:df.BinaryExpression,operator:a.text,left:b,right:this.relational()};return b},relational:function(){for(var a,b=this.additive();a=this.expect("<",">","<=",">=");)b={type:df.BinaryExpression,operator:a.text,left:b,right:this.additive()};return b},additive:function(){for(var a,b=this.multiplicative();a=this.expect("+","-");)b={type:df.BinaryExpression,operator:a.text,left:b,right:this.multiplicative()};return b},multiplicative:function(){for(var a,b=this.unary();a=this.expect("*","/","%");)b={type:df.BinaryExpression,operator:a.text,left:b,right:this.unary()};return b},unary:function(){var a;return(a=this.expect("+","-","!"))?{type:df.UnaryExpression,operator:a.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var a;this.expect("(")?(a=this.filterChain(),this.consume(")")):this.expect("[")?a=this.arrayDeclaration():this.expect("{")?a=this.object():this.constants.hasOwnProperty(this.peek().text)?a=O(this.constants[this.consume().text]):this.peek().identifier?a=this.identifier():this.peek().constant?a=this.constant():this.throwError("not a primary expression",this.peek());for(var b;b=this.expect("(","[",".");)"("===b.text?(a={type:df.CallExpression,callee:a,arguments:this.parseArguments()},this.consume(")")):"["===b.text?(a={type:df.MemberExpression,object:a,property:this.expression(),computed:!0},this.consume("]")):"."===b.text?a={type:df.MemberExpression,object:a,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return a},filter:function(a){for(var b=[a],c={type:df.CallExpression,callee:this.identifier(),arguments:b,filter:!0};this.expect(":");)b.push(this.expression());return c},parseArguments:function(){var a=[];if(")"!==this.peekToken().text)do a.push(this.expression());while(this.expect(","));return a},identifier:function(){var a=this.consume();return a.identifier||this.throwError("is not a valid identifier",a),{type:df.Identifier,name:a.text}},constant:function(){return{type:df.Literal,value:this.consume().value}},arrayDeclaration:function(){var a=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;a.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:df.ArrayExpression,elements:a}},object:function(){var a,b=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;a={type:df.Property,kind:"init"},this.peek().constant?a.key=this.constant():this.peek().identifier?a.key=this.identifier():this.throwError("invalid key",this.peek()),this.consume(":"),a.value=this.expression(),b.push(a)}while(this.expect(","));return this.consume("}"),{type:df.ObjectExpression,properties:b}},throwError:function(a,b){throw Ye("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",b.text,a,b.index+1,this.text,this.text.substring(b.index))},consume:function(a){if(0===this.tokens.length)throw Ye("ueoe","Unexpected end of expression: {0}",this.text);var b=this.expect(a);return b||this.throwError("is unexpected, expecting ["+a+"]",this.peek()),b},peekToken:function(){if(0===this.tokens.length)throw Ye("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(a,b,c,d){return this.peekAhead(0,a,b,c,d)},peekAhead:function(a,b,c,d,e){if(this.tokens.length>a){var f=this.tokens[a],g=f.text;if(g===b||g===c||g===d||g===e||!b&&!c&&!d&&!e)return f}return!1},expect:function(a,b,c,d){var e=this.peek(a,b,c,d);return e?(this.tokens.shift(),e):!1},constants:{"true":{type:df.Literal,value:!0},"false":{type:df.Literal,value:!1},"null":{type:df.Literal,value:null},undefined:{type:df.Literal,value:c},"this":{type:df.ThisExpression}}},ic.prototype={compile:function(a,b){var d=this,e=this.astBuilder.ast(a);this.state={nextId:0,filters:{},expensiveChecks:b,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},cc(e,d.$filter);var g,h="";if(this.stage="assign",g=fc(e)){this.state.computing="assign";var i=this.nextId();this.recurse(g,i),this.return_(i),h="fn.assign="+this.generateFunction("assign","s,v,l")}var j=dc(e.body);d.stage="inputs",f(j,function(a,b){var c="fn"+b;d.state[c]={vars:[],body:[],own:{}},d.state.computing=c;var e=d.nextId();d.recurse(a,e),d.return_(e),d.state.inputs.push(c),a.watchId=b}),this.state.computing="fn",this.stage="main",this.recurse(e);var k='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+h+this.watchFns()+"return fn;",l=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",k)(this.$filter,Wb,Yb,Zb,Xb,$b,_b,ac,a);return this.state=this.stage=c,l.literal=gc(e),l.constant=hc(e),l},USE:"use",STRICT:"strict",watchFns:function(){var a=[],b=this.state.inputs,c=this;return f(b,function(b){a.push("var "+b+"="+c.generateFunction(b,"s"))}),b.length&&a.push("fn.inputs=["+b.join(",")+"];"),a.join("")},generateFunction:function(a,b){return"function("+b+"){"+this.varsPrefix(a)+this.body(a)+"};"},filterPrefix:function(){var a=[],b=this;return f(this.state.filters,function(c,d){a.push(c+"=$filter("+b.escape(d)+")")}),a.length?"var "+a.join(",")+";":""},varsPrefix:function(a){return this.state[a].vars.length?"var "+this.state[a].vars.join(",")+";":""},body:function(a){return this.state[a].body.join("")},recurse:function(a,b,d,e,g,h){var i,j,k,l,m=this;if(e=e||p,!h&&u(a.watchId))return b=b||this.nextId(),void this.if_("i",this.lazyAssign(b,this.computedMember("i",a.watchId)),this.lazyRecurse(a,b,d,e,g,!0));switch(a.type){case df.Program:f(a.body,function(b,d){m.recurse(b.expression,c,c,function(a){j=a}),d!==a.body.length-1?m.current().body.push(j,";"):m.return_(j)});break;case df.Literal:l=this.escape(a.value),this.assign(b,l),e(l);break;case df.UnaryExpression:this.recurse(a.argument,c,c,function(a){j=a}),l=a.operator+"("+this.ifDefined(j,0)+")",this.assign(b,l),e(l);break;case df.BinaryExpression:this.recurse(a.left,c,c,function(a){i=a}),this.recurse(a.right,c,c,function(a){j=a}),l="+"===a.operator?this.plus(i,j):"-"===a.operator?this.ifDefined(i,0)+a.operator+this.ifDefined(j,0):"("+i+")"+a.operator+"("+j+")",this.assign(b,l),e(l);break;case df.LogicalExpression:b=b||this.nextId(),m.recurse(a.left,b),m.if_("&&"===a.operator?b:m.not(b),m.lazyRecurse(a.right,b)),e(b);break;case df.ConditionalExpression:b=b||this.nextId(),m.recurse(a.test,b),m.if_(b,m.lazyRecurse(a.alternate,b),m.lazyRecurse(a.consequent,b)),e(b);break;case df.Identifier:b=b||this.nextId(),d&&(d.context="inputs"===m.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",a.name)+"?l:s"),d.computed=!1,d.name=a.name),Wb(a.name),m.if_("inputs"===m.stage||m.not(m.getHasOwnProperty("l",a.name)),function(){m.if_("inputs"===m.stage||"s",function(){g&&1!==g&&m.if_(m.not(m.nonComputedMember("s",a.name)),m.lazyAssign(m.nonComputedMember("s",a.name),"{}")),m.assign(b,m.nonComputedMember("s",a.name))})},b&&m.lazyAssign(b,m.nonComputedMember("l",a.name))),(m.state.expensiveChecks||kc(a.name))&&m.addEnsureSafeObject(b),e(b);break;case df.MemberExpression:i=d&&(d.context=this.nextId())||this.nextId(),b=b||this.nextId(),m.recurse(a.object,i,c,function(){m.if_(m.notNull(i),function(){a.computed?(j=m.nextId(),m.recurse(a.property,j),m.getStringValue(j),m.addEnsureSafeMemberName(j),g&&1!==g&&m.if_(m.not(m.computedMember(i,j)),m.lazyAssign(m.computedMember(i,j),"{}")),l=m.ensureSafeObject(m.computedMember(i,j)),m.assign(b,l),d&&(d.computed=!0,d.name=j)):(Wb(a.property.name),g&&1!==g&&m.if_(m.not(m.nonComputedMember(i,a.property.name)),m.lazyAssign(m.nonComputedMember(i,a.property.name),"{}")),l=m.nonComputedMember(i,a.property.name),(m.state.expensiveChecks||kc(a.property.name))&&(l=m.ensureSafeObject(l)),m.assign(b,l),d&&(d.computed=!1,d.name=a.property.name))},function(){m.assign(b,"undefined")}),e(b)},!!g);break;case df.CallExpression:b=b||this.nextId(),a.filter?(j=m.filter(a.callee.name),k=[],f(a.arguments,function(a){var b=m.nextId();m.recurse(a,b),k.push(b)}),l=j+"("+k.join(",")+")",m.assign(b,l),e(b)):(j=m.nextId(),i={},k=[],m.recurse(a.callee,j,i,function(){m.if_(m.notNull(j),function(){m.addEnsureSafeFunction(j),f(a.arguments,function(a){m.recurse(a,m.nextId(),c,function(a){k.push(m.ensureSafeObject(a))})}),i.name?(m.state.expensiveChecks||m.addEnsureSafeObject(i.context),l=m.member(i.context,i.name,i.computed)+"("+k.join(",")+")"):l=j+"("+k.join(",")+")",l=m.ensureSafeObject(l),m.assign(b,l)},function(){m.assign(b,"undefined")}),e(b)}));break;case df.AssignmentExpression:if(j=this.nextId(),i={},!ec(a.left))throw Ye("lval","Trying to assing a value to a non l-value");this.recurse(a.left,c,i,function(){m.if_(m.notNull(i.context),function(){m.recurse(a.right,j),m.addEnsureSafeObject(m.member(i.context,i.name,i.computed)),m.addEnsureSafeAssignContext(i.context),l=m.member(i.context,i.name,i.computed)+a.operator+j,m.assign(b,l),e(b||l)})},1);break;case df.ArrayExpression:k=[],f(a.elements,function(a){m.recurse(a,m.nextId(),c,function(a){k.push(a)})}),l="["+k.join(",")+"]",this.assign(b,l),e(l);break;case df.ObjectExpression:k=[],f(a.properties,function(a){m.recurse(a.value,m.nextId(),c,function(b){k.push(m.escape(a.key.type===df.Identifier?a.key.name:""+a.key.value)+":"+b)})}),l="{"+k.join(",")+"}",this.assign(b,l),e(l);break;case df.ThisExpression:this.assign(b,"s"),e("s");break;case df.NGValueParameter:this.assign(b,"v"),e("v")}},getHasOwnProperty:function(a,b){var c=a+"."+b,d=this.current().own;return d.hasOwnProperty(c)||(d[c]=this.nextId(!1,a+"&&("+this.escape(b)+" in "+a+")")),d[c]},assign:function(a,b){return a?(this.current().body.push(a,"=",b,";"),a):void 0},filter:function(a){return this.state.filters.hasOwnProperty(a)||(this.state.filters[a]=this.nextId(!0)),this.state.filters[a]},ifDefined:function(a,b){return"ifDefined("+a+","+this.escape(b)+")"},plus:function(a,b){return"plus("+a+","+b+")"},return_:function(a){this.current().body.push("return ",a,";")},if_:function(a,b,c){if(a===!0)b();else{var d=this.current().body;d.push("if(",a,"){"),b(),d.push("}"),c&&(d.push("else{"),c(),d.push("}"))}},not:function(a){return"!("+a+")"},notNull:function(a){return a+"!=null"},nonComputedMember:function(a,b){return a+"."+b},computedMember:function(a,b){return a+"["+b+"]"},member:function(a,b,c){return c?this.computedMember(a,b):this.nonComputedMember(a,b)},addEnsureSafeObject:function(a){this.current().body.push(this.ensureSafeObject(a),";")},addEnsureSafeMemberName:function(a){this.current().body.push(this.ensureSafeMemberName(a),";")},addEnsureSafeFunction:function(a){this.current().body.push(this.ensureSafeFunction(a),";")},addEnsureSafeAssignContext:function(a){this.current().body.push(this.ensureSafeAssignContext(a),";")},ensureSafeObject:function(a){return"ensureSafeObject("+a+",text)"},ensureSafeMemberName:function(a){return"ensureSafeMemberName("+a+",text)"},ensureSafeFunction:function(a){return"ensureSafeFunction("+a+",text)"},getStringValue:function(a){this.assign(a,"getStringValue("+a+",text)")},ensureSafeAssignContext:function(a){return"ensureSafeAssignContext("+a+",text)"},lazyRecurse:function(a,b,c,d,e,f){var g=this;return function(){g.recurse(a,b,c,d,e,f)}},lazyAssign:function(a,b){var c=this;return function(){c.assign(a,b)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)},escape:function(a){if(x(a))return"'"+a.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(y(a))return a.toString();if(a===!0)return"true";if(a===!1)return"false";if(null===a)return"null";if("undefined"==typeof a)return"undefined";throw Ye("esc","IMPOSSIBLE")},nextId:function(a,b){var c="v"+this.state.nextId++;return a||this.current().vars.push(c+(b?"="+b:"")),c},current:function(){return this.state[this.state.computing]}},jc.prototype={compile:function(a,b){var c=this,d=this.astBuilder.ast(a);this.expression=a,this.expensiveChecks=b,cc(d,c.$filter);var e,g;(e=fc(d))&&(g=this.recurse(e));var h,i=dc(d.body);i&&(h=[],f(i,function(a,b){var d=c.recurse(a);a.input=d,h.push(d),a.watchId=b}));var j=[];f(d.body,function(a){j.push(c.recurse(a.expression))});var k=0===d.body.length?function(){}:1===d.body.length?j[0]:function(a,b){var c;return f(j,function(d){c=d(a,b)}),c};return g&&(k.assign=function(a,b,c){return g(a,c,b)}),h&&(k.inputs=h),k.literal=gc(d),k.constant=hc(d),k},recurse:function(a,b,d){var e,g,h,i=this;if(a.input)return this.inputs(a.input,a.watchId);switch(a.type){case df.Literal:return this.value(a.value,b);case df.UnaryExpression:return g=this.recurse(a.argument),this["unary"+a.operator](g,b);case df.BinaryExpression:return e=this.recurse(a.left),g=this.recurse(a.right),this["binary"+a.operator](e,g,b);case df.LogicalExpression:return e=this.recurse(a.left),g=this.recurse(a.right),this["binary"+a.operator](e,g,b);case df.ConditionalExpression:return this["ternary?:"](this.recurse(a.test),this.recurse(a.alternate),this.recurse(a.consequent),b);case df.Identifier:return Wb(a.name,i.expression),i.identifier(a.name,i.expensiveChecks||kc(a.name),b,d,i.expression);case df.MemberExpression:return e=this.recurse(a.object,!1,!!d),a.computed||(Wb(a.property.name,i.expression),g=a.property.name),a.computed&&(g=this.recurse(a.property)),a.computed?this.computedMember(e,g,b,d,i.expression):this.nonComputedMember(e,g,i.expensiveChecks,b,d,i.expression);case df.CallExpression:return h=[],f(a.arguments,function(a){h.push(i.recurse(a))}),a.filter&&(g=this.$filter(a.callee.name)),a.filter||(g=this.recurse(a.callee,!0)),a.filter?function(a,d,e,f){for(var i=[],j=0;j<h.length;++j)i.push(h[j](a,d,e,f));var k=g.apply(c,i,f);return b?{context:c,name:c,value:k}:k}:function(a,c,d,e){var f,j=g(a,c,d,e);if(null!=j.value){Yb(j.context,i.expression),Zb(j.value,i.expression);for(var k=[],l=0;l<h.length;++l)k.push(Yb(h[l](a,c,d,e),i.expression));f=Yb(j.value.apply(j.context,k),i.expression)}return b?{value:f}:f};case df.AssignmentExpression:return e=this.recurse(a.left,!0,1),g=this.recurse(a.right),function(a,c,d,f){var h=e(a,c,d,f),j=g(a,c,d,f);return Yb(h.value,i.expression),$b(h.context),h.context[h.name]=j,b?{value:j}:j};case df.ArrayExpression:return h=[],f(a.elements,function(a){h.push(i.recurse(a))}),function(a,c,d,e){for(var f=[],g=0;g<h.length;++g)f.push(h[g](a,c,d,e));return b?{value:f}:f};case df.ObjectExpression:return h=[],f(a.properties,function(a){h.push({key:a.key.type===df.Identifier?a.key.name:""+a.key.value,value:i.recurse(a.value)})}),function(a,c,d,e){for(var f={},g=0;g<h.length;++g)f[h[g].key]=h[g].value(a,c,d,e);return b?{value:f}:f};case df.ThisExpression:return function(a){return b?{value:a}:a};case df.NGValueParameter:return function(a,c,d,e){return b?{value:d}:d}}},"unary+":function(a,b){return function(c,d,e,f){var g=a(c,d,e,f);return g=u(g)?+g:0,b?{value:g}:g}},"unary-":function(a,b){return function(c,d,e,f){var g=a(c,d,e,f);return g=u(g)?-g:0,b?{value:g}:g}},"unary!":function(a,b){return function(c,d,e,f){var g=!a(c,d,e,f);return b?{value:g}:g}},"binary+":function(a,b,c){return function(d,e,f,g){var h=a(d,e,f,g),i=b(d,e,f,g),j=ac(h,i);return c?{value:j}:j}},"binary-":function(a,b,c){return function(d,e,f,g){var h=a(d,e,f,g),i=b(d,e,f,g),j=(u(h)?h:0)-(u(i)?i:0);return c?{value:j}:j}},"binary*":function(a,b,c){return function(d,e,f,g){var h=a(d,e,f,g)*b(d,e,f,g);return c?{value:h}:h}},"binary/":function(a,b,c){return function(d,e,f,g){var h=a(d,e,f,g)/b(d,e,f,g);return c?{value:h}:h}},"binary%":function(a,b,c){return function(d,e,f,g){var h=a(d,e,f,g)%b(d,e,f,g);return c?{value:h}:h}},"binary===":function(a,b,c){return function(d,e,f,g){var h=a(d,e,f,g)===b(d,e,f,g);return c?{value:h}:h}},"binary!==":function(a,b,c){return function(d,e,f,g){var h=a(d,e,f,g)!==b(d,e,f,g);return c?{value:h}:h}},"binary==":function(a,b,c){return function(d,e,f,g){var h=a(d,e,f,g)==b(d,e,f,g);return c?{value:h}:h}},"binary!=":function(a,b,c){return function(d,e,f,g){var h=a(d,e,f,g)!=b(d,e,f,g);return c?{value:h}:h}},"binary<":function(a,b,c){return function(d,e,f,g){var h=a(d,e,f,g)<b(d,e,f,g);return c?{value:h}:h}},"binary>":function(a,b,c){return function(d,e,f,g){var h=a(d,e,f,g)>b(d,e,f,g);return c?{value:h}:h}},"binary<=":function(a,b,c){return function(d,e,f,g){var h=a(d,e,f,g)<=b(d,e,f,g);return c?{value:h}:h}},"binary>=":function(a,b,c){return function(d,e,f,g){var h=a(d,e,f,g)>=b(d,e,f,g);return c?{value:h}:h}},"binary&&":function(a,b,c){return function(d,e,f,g){var h=a(d,e,f,g)&&b(d,e,f,g);return c?{value:h}:h}},"binary||":function(a,b,c){return function(d,e,f,g){var h=a(d,e,f,g)||b(d,e,f,g);return c?{value:h}:h}},"ternary?:":function(a,b,c,d){return function(e,f,g,h){var i=a(e,f,g,h)?b(e,f,g,h):c(e,f,g,h);return d?{value:i}:i}},value:function(a,b){return function(){return b?{context:c,name:c,value:a}:a}},identifier:function(a,b,d,e,f){return function(g,h,i,j){var k=h&&a in h?h:g;e&&1!==e&&k&&!k[a]&&(k[a]={});var l=k?k[a]:c;return b&&Yb(l,f),d?{context:k,name:a,value:l}:l}},computedMember:function(a,b,c,d,e){return function(f,g,h,i){var j,k,l=a(f,g,h,i);return null!=l&&(j=b(f,g,h,i),j=Xb(j),Wb(j,e),d&&1!==d&&l&&!l[j]&&(l[j]={}),k=l[j],Yb(k,e)),c?{context:l,name:j,value:k}:k}},nonComputedMember:function(a,b,d,e,f,g){return function(h,i,j,k){var l=a(h,i,j,k);f&&1!==f&&l&&!l[b]&&(l[b]={});var m=null!=l?l[b]:c;return(d||kc(b))&&Yb(m,g),e?{context:l,name:b,value:m}:m}},inputs:function(a,b){return function(c,d,e,f){return f?f[b]:a(c,d,e)}}};var ef=function(a,b,c){this.lexer=a,this.$filter=b,this.options=c,this.ast=new df(this.lexer),this.astCompiler=c.csp?new jc(this.ast,b):new ic(this.ast,b)};ef.prototype={constructor:ef,parse:function(a){return this.astCompiler.compile(a,this.options.expensiveChecks)}};var ff=(qa(),qa(),Object.prototype.valueOf),gf=d("$sce"),hf={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},He=d("$compile"),jf=b.createElement("a"),kf=Bc(a.location.href);Ec.$inject=["$document"],Gc.$inject=["$provide"],Lc.$inject=["$locale"],Mc.$inject=["$locale"];var lf=".",mf={yyyy:Pc("FullYear",4),yy:Pc("FullYear",2,0,!0),y:Pc("FullYear",1),MMMM:Qc("Month"),MMM:Qc("Month",!0),MM:Pc("Month",2,1),M:Pc("Month",1,1),dd:Pc("Date",2),d:Pc("Date",1),HH:Pc("Hours",2),H:Pc("Hours",1),hh:Pc("Hours",2,-12),h:Pc("Hours",1,-12),mm:Pc("Minutes",2),m:Pc("Minutes",1),ss:Pc("Seconds",2),s:Pc("Seconds",1),sss:Pc("Milliseconds",3),EEEE:Qc("Day"),EEE:Qc("Day",!0),a:Vc,Z:Rc,ww:Uc(2),w:Uc(1),G:Wc,GG:Wc,GGG:Wc,GGGG:Xc},nf=/((?:[^yMdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,of=/^\-?\d+$/;Yc.$inject=["$locale"];var pf=r(wd),qf=r(yd);_c.$inject=["$parse"];var rf=r({restrict:"E",compile:function(a,b){return b.href||b.xlinkHref?void 0:function(a,b){if("a"===b[0].nodeName.toLowerCase()){var c="[object SVGAnimatedString]"===Id.call(b.prop("href"))?"xlink:href":"href";b.on("click",function(a){b.attr(c)||a.preventDefault()})}}}}),sf={};f(re,function(a,b){function c(a,c,e){a.$watch(e[d],function(a){e.$set(b,!!a)})}if("multiple"!=a){var d=lb("ng-"+b),e=c;"checked"===a&&(e=function(a,b,e){e.ngModel!==e[d]&&c(a,b,e)}),sf[d]=function(){return{restrict:"A",priority:100,link:e}}}}),f(te,function(a,b){sf[b]=function(){return{priority:100,link:function(a,c,d){if("ngPattern"===b&&"/"==d.ngPattern.charAt(0)){var e=d.ngPattern.match(ud);if(e)return void d.$set("ngPattern",new RegExp(e[1],e[2]))}a.$watch(d[b],function(a){d.$set(b,a)})}}}}),f(["src","srcset","href"],function(a){var b=lb("ng-"+a);sf[b]=function(){return{priority:99,link:function(c,d,e){var f=a,g=a;"href"===a&&"[object SVGAnimatedString]"===Id.call(d.prop("href"))&&(g="xlinkHref",e.$attr[g]="xlink:href",f=null),e.$observe(b,function(b){return b?(e.$set(g,b),void(Bd&&f&&d.prop(f,e[g]))):void("href"===a&&e.$set(g,null))})}}}});var tf={$addControl:p,$$renameControl:bd,$removeControl:p,$setValidity:p,$setDirty:p,$setPristine:p,$setSubmitted:p},uf="ng-submitted";cd.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var vf=function(a){return["$timeout","$parse",function(b,d){function e(a){return""===a?d('this[""]').assign:d(a).assign||p}var f={name:"form",restrict:a?"EAC":"E",require:["form","^^?form"],controller:cd,compile:function(d,f){d.addClass(bg).addClass(_f);var g=f.name?"name":a&&f.ngForm?"ngForm":!1;return{pre:function(a,d,f,h){var i=h[0];if(!("action"in f)){var j=function(b){a.$apply(function(){i.$commitViewValue(),i.$setSubmitted()}),b.preventDefault()};ee(d[0],"submit",j),d.on("$destroy",function(){b(function(){fe(d[0],"submit",j)},0,!1)})}var k=h[1]||i.$$parentForm;k.$addControl(i);var m=g?e(i.$name):p;g&&(m(a,i),f.$observe(g,function(b){i.$name!==b&&(m(a,c),i.$$parentForm.$$renameControl(i,b),(m=e(i.$name))(a,i))})),d.on("$destroy",function(){i.$$parentForm.$removeControl(i),m(a,c),l(i,tf)})}}}};return f}]},wf=vf(),xf=vf(!0),yf=/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/,zf=/^[A-Za-z][A-Za-z\d.+-]*:\/*(?:\w+(?::\w+)?@)?[^\s\/]+(?::\d+)?(?:\/[\w#!:.?+=&%@\-\/]*)?$/,Af=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,Bf=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Cf=/^(\d{4})-(\d{2})-(\d{2})$/,Df=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Ef=/^(\d{4})-W(\d\d)$/,Ff=/^(\d{4})-(\d\d)$/,Gf=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Hf={text:ed,date:id("date",Cf,hd(Cf,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":id("datetimelocal",Df,hd(Df,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:id("time",Gf,hd(Gf,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:id("week",Ef,gd,"yyyy-Www"),month:id("month",Ff,hd(Ff,["yyyy","MM"]),"yyyy-MM"),number:kd,url:ld,email:md,radio:nd,checkbox:pd,hidden:p,button:p,submit:p,reset:p,file:p},If=["$browser","$sniffer","$filter","$parse",function(a,b,c,d){return{restrict:"E",require:["?ngModel"],link:{pre:function(e,f,g,h){h[0]&&(Hf[wd(g.type)]||Hf.text)(e,f,g,h[0],b,a,c,d)}}}}],Jf=/^(true|false|\d+)$/,Kf=function(){return{restrict:"A",priority:100,compile:function(a,b){return Jf.test(b.ngValue)?function(a,b,c){c.$set("value",a.$eval(c.ngValue))}:function(a,b,c){a.$watch(c.ngValue,function(a){c.$set("value",a)})}}}},Lf=["$compile",function(a){return{restrict:"AC",compile:function(b){return a.$$addBindingClass(b),function(b,c,d){a.$$addBindingInfo(c,d.ngBind),c=c[0],b.$watch(d.ngBind,function(a){c.textContent=t(a)?"":a})}}}}],Mf=["$interpolate","$compile",function(a,b){return{compile:function(c){return b.$$addBindingClass(c),function(c,d,e){var f=a(d.attr(e.$attr.ngBindTemplate));b.$$addBindingInfo(d,f.expressions),d=d[0],e.$observe("ngBindTemplate",function(a){d.textContent=t(a)?"":a})}}}}],Nf=["$sce","$parse","$compile",function(a,b,c){return{restrict:"A",compile:function(d,e){var f=b(e.ngBindHtml),g=b(e.ngBindHtml,function(a){return(a||"").toString()});return c.$$addBindingClass(d),function(b,d,e){c.$$addBindingInfo(d,e.ngBindHtml),b.$watch(g,function(){d.html(a.getTrustedHtml(f(b))||"")})}}}}],Of=r({restrict:"A",require:"ngModel",link:function(a,b,c,d){d.$viewChangeListeners.push(function(){a.$eval(c.ngChange)})}}),Pf=qd("",!0),Qf=qd("Odd",0),Rf=qd("Even",1),Sf=ad({compile:function(a,b){b.$set("ngCloak",c),a.removeClass("ng-cloak")}}),Tf=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Uf={},Vf={blur:!0,focus:!0};f("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(a){var b=lb("ng-"+a);Uf[b]=["$parse","$rootScope",function(c,d){return{restrict:"A",compile:function(e,f){var g=c(f[b],null,!0);return function(b,c){c.on(a,function(c){var e=function(){g(b,{$event:c})};Vf[a]&&d.$$phase?b.$evalAsync(e):b.$apply(e)})}}}}]});var Wf=["$animate",function(a){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(c,d,e,f,g){var h,i,j;c.$watch(e.ngIf,function(c){c?i||g(function(c,f){i=f,c[c.length++]=b.createComment(" end ngIf: "+e.ngIf+" "),h={clone:c},a.enter(c,d.parent(),d)}):(j&&(j.remove(),j=null),i&&(i.$destroy(),i=null),h&&(j=pa(h.clone),a.leave(j).then(function(){j=null}),h=null))})}}}],Xf=["$templateRequest","$anchorScroll","$animate",function(a,b,c){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Ld.noop,compile:function(d,e){var f=e.ngInclude||e.src,g=e.onload||"",h=e.autoscroll;return function(d,e,i,j,k){var l,m,n,o=0,p=function(){m&&(m.remove(),m=null),l&&(l.$destroy(),l=null),n&&(c.leave(n).then(function(){m=null}),m=n,n=null)};d.$watch(f,function(f){var i=function(){!u(h)||h&&!d.$eval(h)||b()},m=++o;f?(a(f,!0).then(function(a){if(m===o){var b=d.$new();j.template=a;var h=k(b,function(a){p(),c.enter(a,null,e).then(i)});l=b,n=h,l.$emit("$includeContentLoaded",f),d.$eval(g)}},function(){m===o&&(p(),d.$emit("$includeContentError",f))}),d.$emit("$includeContentRequested",f)):(p(),j.template=null)})}}}}],Yf=["$compile",function(a){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(c,d,e,f){return/SVG/.test(d[0].toString())?(d.empty(),void a(Aa(f.template,b).childNodes)(c,function(a){d.append(a)},{futureParentElement:d})):(d.html(f.template),void a(d.contents())(c))}}}],Zf=ad({priority:450,compile:function(){return{pre:function(a,b,c){a.$eval(c.ngInit)}}}}),$f=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(a,b,d,e){var g=b.attr(d.$attr.ngList)||", ",h="false"!==d.ngTrim,i=h?Qd(g):g,j=function(a){if(!t(a)){var b=[];return a&&f(a.split(i),function(a){a&&b.push(h?Qd(a):a)}),b}};e.$parsers.push(j),e.$formatters.push(function(a){return Od(a)?a.join(g):c}),e.$isEmpty=function(a){return!a||!a.length}}}},_f="ng-valid",ag="ng-invalid",bg="ng-pristine",cg="ng-dirty",dg="ng-untouched",eg="ng-touched",fg="ng-pending",gg=d("ngModel"),hg=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(a,b,d,e,g,h,i,j,k,l){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=c,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=c,this.$name=l(d.name||"",!1)(a),this.$$parentForm=tf;var m,n=g(d.ngModel),o=n.assign,q=n,r=o,s=null,v=this;this.$$setOptions=function(a){if(v.$options=a,a&&a.getterSetter){var b=g(d.ngModel+"()"),c=g(d.ngModel+"($$$p)");q=function(a){var c=n(a);return A(c)&&(c=b(a)),c},r=function(a,b){A(n(a))?c(a,{$$$p:v.$modelValue}):o(a,v.$modelValue)}}else if(!n.assign)throw gg("nonassign","Expression '{0}' is non-assignable. Element: {1}",d.ngModel,$(e))},this.$render=p,this.$isEmpty=function(a){return t(a)||""===a||null===a||a!==a};var w=0;rd({ctrl:this,$element:e,set:function(a,b){a[b]=!0},unset:function(a,b){delete a[b]},$animate:h}),this.$setPristine=function(){v.$dirty=!1,v.$pristine=!0,h.removeClass(e,cg),h.addClass(e,bg)},this.$setDirty=function(){v.$dirty=!0,v.$pristine=!1,h.removeClass(e,bg),h.addClass(e,cg),v.$$parentForm.$setDirty()},this.$setUntouched=function(){v.$touched=!1,
 v.$untouched=!0,h.setClass(e,dg,eg)},this.$setTouched=function(){v.$touched=!0,v.$untouched=!1,h.setClass(e,eg,dg)},this.$rollbackViewValue=function(){i.cancel(s),v.$viewValue=v.$$lastCommittedViewValue,v.$render()},this.$validate=function(){if(!y(v.$modelValue)||!isNaN(v.$modelValue)){var a=v.$$lastCommittedViewValue,b=v.$$rawModelValue,d=v.$valid,e=v.$modelValue,f=v.$options&&v.$options.allowInvalid;v.$$runValidators(b,a,function(a){f||d===a||(v.$modelValue=a?b:c,v.$modelValue!==e&&v.$$writeModelToScope())})}},this.$$runValidators=function(a,b,d){function e(){var a=v.$$parserName||"parse";return t(m)?(i(a,null),!0):(m||(f(v.$validators,function(a,b){i(b,null)}),f(v.$asyncValidators,function(a,b){i(b,null)})),i(a,m),m)}function g(){var c=!0;return f(v.$validators,function(d,e){var f=d(a,b);c=c&&f,i(e,f)}),c?!0:(f(v.$asyncValidators,function(a,b){i(b,null)}),!1)}function h(){var d=[],e=!0;f(v.$asyncValidators,function(f,g){var h=f(a,b);if(!I(h))throw gg("$asyncValidators","Expected asynchronous validator to return a promise but got '{0}' instead.",h);i(g,c),d.push(h.then(function(){i(g,!0)},function(a){e=!1,i(g,!1)}))}),d.length?k.all(d).then(function(){j(e)},p):j(!0)}function i(a,b){l===w&&v.$setValidity(a,b)}function j(a){l===w&&d(a)}w++;var l=w;return e()&&g()?void h():void j(!1)},this.$commitViewValue=function(){var a=v.$viewValue;i.cancel(s),(v.$$lastCommittedViewValue!==a||""===a&&v.$$hasNativeValidators)&&(v.$$lastCommittedViewValue=a,v.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function b(){v.$modelValue!==g&&v.$$writeModelToScope()}var d=v.$$lastCommittedViewValue,e=d;if(m=t(e)?c:!0)for(var f=0;f<v.$parsers.length;f++)if(e=v.$parsers[f](e),t(e)){m=!1;break}y(v.$modelValue)&&isNaN(v.$modelValue)&&(v.$modelValue=q(a));var g=v.$modelValue,h=v.$options&&v.$options.allowInvalid;v.$$rawModelValue=e,h&&(v.$modelValue=e,b()),v.$$runValidators(e,v.$$lastCommittedViewValue,function(a){h||(v.$modelValue=a?e:c,b())})},this.$$writeModelToScope=function(){r(a,v.$modelValue),f(v.$viewChangeListeners,function(a){try{a()}catch(c){b(c)}})},this.$setViewValue=function(a,b){v.$viewValue=a,(!v.$options||v.$options.updateOnDefault)&&v.$$debounceViewValueCommit(b)},this.$$debounceViewValueCommit=function(b){var c,d=0,e=v.$options;e&&u(e.debounce)&&(c=e.debounce,y(c)?d=c:y(c[b])?d=c[b]:y(c["default"])&&(d=c["default"])),i.cancel(s),d?s=i(function(){v.$commitViewValue()},d):j.$$phase?v.$commitViewValue():a.$apply(function(){v.$commitViewValue()})},a.$watch(function(){var b=q(a);if(b!==v.$modelValue&&(v.$modelValue===v.$modelValue||b===b)){v.$modelValue=v.$$rawModelValue=b,m=c;for(var d=v.$formatters,e=d.length,f=b;e--;)f=d[e](f);v.$viewValue!==f&&(v.$viewValue=v.$$lastCommittedViewValue=f,v.$render(),v.$$runValidators(b,f,p))}return b})}],ig=["$rootScope",function(a){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:hg,priority:1,compile:function(b){return b.addClass(bg).addClass(dg).addClass(_f),{pre:function(a,b,c,d){var e=d[0],f=d[1]||e.$$parentForm;e.$$setOptions(d[2]&&d[2].$options),f.$addControl(e),c.$observe("name",function(a){e.$name!==a&&e.$$parentForm.$$renameControl(e,a)}),a.$on("$destroy",function(){e.$$parentForm.$removeControl(e)})},post:function(b,c,d,e){var f=e[0];f.$options&&f.$options.updateOn&&c.on(f.$options.updateOn,function(a){f.$$debounceViewValueCommit(a&&a.type)}),c.on("blur",function(c){f.$touched||(a.$$phase?b.$evalAsync(f.$setTouched):b.$apply(f.$setTouched))})}}}}}],jg=/(\s+|^)default(\s+|$)/,kg=function(){return{restrict:"A",controller:["$scope","$attrs",function(a,b){var c=this;this.$options=O(a.$eval(b.ngModelOptions)),u(this.$options.updateOn)?(this.$options.updateOnDefault=!1,this.$options.updateOn=Qd(this.$options.updateOn.replace(jg,function(){return c.$options.updateOnDefault=!0," "}))):this.$options.updateOnDefault=!0}]}},lg=ad({terminal:!0,priority:1e3}),mg=d("ngOptions"),ng=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,og=["$compile","$parse",function(a,c){function d(a,b,d){function f(a,b,c,d,e){this.selectValue=a,this.viewValue=b,this.label=c,this.group=d,this.disabled=e}function g(a){var b;if(!j&&e(a))b=a;else{b=[];for(var c in a)a.hasOwnProperty(c)&&"$"!==c.charAt(0)&&b.push(c)}return b}var h=a.match(ng);if(!h)throw mg("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",a,$(b));var i=h[5]||h[7],j=h[6],k=/ as /.test(h[0])&&h[1],l=h[9],m=c(h[2]?h[1]:i),n=k&&c(k),o=n||m,p=l&&c(l),q=l?function(a,b){return p(d,b)}:function(a){return Ya(a)},r=function(a,b){return q(a,x(a,b))},s=c(h[2]||h[1]),t=c(h[3]||""),u=c(h[4]||""),v=c(h[8]),w={},x=j?function(a,b){return w[j]=b,w[i]=a,w}:function(a){return w[i]=a,w};return{trackBy:l,getTrackByValue:r,getWatchables:c(v,function(a){var b=[];a=a||[];for(var c=g(a),e=c.length,f=0;e>f;f++){var i=a===c?f:c[f],j=(a[i],x(a[i],i)),k=q(a[i],j);if(b.push(k),h[2]||h[1]){var l=s(d,j);b.push(l)}if(h[4]){var m=u(d,j);b.push(m)}}return b}),getOptions:function(){for(var a=[],b={},c=v(d)||[],e=g(c),h=e.length,i=0;h>i;i++){var j=c===e?i:e[i],k=c[j],m=x(k,j),n=o(d,m),p=q(n,m),w=s(d,m),y=t(d,m),z=u(d,m),A=new f(p,n,w,y,z);a.push(A),b[p]=A}return{items:a,selectValueMap:b,getOptionFromViewValue:function(a){return b[r(a)]},getViewValueFromOption:function(a){return l?Ld.copy(a.viewValue):a.viewValue}}}}}function g(b,c,e,g){function j(a,b){a.element=b,b.disabled=a.disabled,a.label!==b.label&&(b.label=a.label,b.textContent=a.label),a.value!==b.value&&(b.value=a.selectValue)}function k(a,b,c,d){var e;return b&&wd(b.nodeName)===c?e=b:(e=d.cloneNode(!1),b?a.insertBefore(e,b):a.appendChild(e)),e}function l(a){for(var b;a;)b=a.nextSibling,Qa(a),a=b}function m(a){var b=p&&p[0],c=w&&w[0];if(b||c)for(;a&&(a===b||a===c||a.nodeType===$d||""===a.value);)a=a.nextSibling;return a}function n(){var a=x&&q.readValue();x=y.getOptions();var b={},d=c[0].firstChild;if(v&&c.prepend(p),d=m(d),x.items.forEach(function(a){var e,f,g;a.group?(e=b[a.group],e||(f=k(c[0],d,"optgroup",i),d=f.nextSibling,f.label=a.group,e=b[a.group]={groupElement:f,currentOptionElement:f.firstChild}),g=k(e.groupElement,e.currentOptionElement,"option",h),j(a,g),e.currentOptionElement=g.nextSibling):(g=k(c[0],d,"option",h),j(a,g),d=g.nextSibling)}),Object.keys(b).forEach(function(a){l(b[a].currentOptionElement)}),l(d),o.$render(),!o.$isEmpty(a)){var e=q.readValue();(y.trackBy?Q(a,e):a===e)||(o.$setViewValue(e),o.$render())}}var o=g[1];if(o){for(var p,q=g[0],r=e.multiple,s=0,t=c.children(),u=t.length;u>s;s++)if(""===t[s].value){p=t.eq(s);break}var v=!!p,w=Cd(h.cloneNode(!1));w.val("?");var x,y=d(e.ngOptions,c,b),z=function(){v||c.prepend(p),c.val(""),p.prop("selected",!0),p.attr("selected",!0)},A=function(){v||p.remove()},B=function(){c.prepend(w),c.val("?"),w.prop("selected",!0),w.attr("selected",!0)},C=function(){w.remove()};r?(o.$isEmpty=function(a){return!a||0===a.length},q.writeValue=function(a){x.items.forEach(function(a){a.element.selected=!1}),a&&a.forEach(function(a){var b=x.getOptionFromViewValue(a);b&&!b.disabled&&(b.element.selected=!0)})},q.readValue=function(){var a=c.val()||[],b=[];return f(a,function(a){var c=x.selectValueMap[a];c&&!c.disabled&&b.push(x.getViewValueFromOption(c))}),b},y.trackBy&&b.$watchCollection(function(){return Od(o.$viewValue)?o.$viewValue.map(function(a){return y.getTrackByValue(a)}):void 0},function(){o.$render()})):(q.writeValue=function(a){var b=x.getOptionFromViewValue(a);b&&!b.disabled?c[0].value!==b.selectValue&&(C(),A(),c[0].value=b.selectValue,b.element.selected=!0,b.element.setAttribute("selected","selected")):null===a||v?(C(),z()):(A(),B())},q.readValue=function(){var a=x.selectValueMap[c.val()];return a&&!a.disabled?(A(),C(),x.getViewValueFromOption(a)):null},y.trackBy&&b.$watch(function(){return y.getTrackByValue(o.$viewValue)},function(){o.$render()})),v?(p.remove(),a(p)(b),p.removeClass("ng-scope")):p=Cd(h.cloneNode(!1)),n(),b.$watchCollection(y.getWatchables,n)}}var h=b.createElement("option"),i=b.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","?ngModel"],link:{pre:function(a,b,c,d){d[0].registerOption=p},post:g}}}],pg=["$locale","$interpolate","$log",function(a,b,c){var d=/{}/g,e=/^when(Minus)?(.+)$/;return{link:function(g,h,i){function j(a){h.text(a||"")}var k,l=i.count,m=i.$attr.when&&h.attr(i.$attr.when),n=i.offset||0,o=g.$eval(m)||{},q={},r=b.startSymbol(),s=b.endSymbol(),u=r+l+"-"+n+s,v=Ld.noop;f(i,function(a,b){var c=e.exec(b);if(c){var d=(c[1]?"-":"")+wd(c[2]);o[d]=h.attr(i.$attr[b])}}),f(o,function(a,c){q[c]=b(a.replace(d,u))}),g.$watch(l,function(b){var d=parseFloat(b),e=isNaN(d);if(e||d in o||(d=a.pluralCat(d-n)),d!==k&&!(e&&y(k)&&isNaN(k))){v();var f=q[d];t(f)?(null!=b&&c.debug("ngPluralize: no rule defined for '"+d+"' in "+m),v=p,j()):v=g.$watch(f,j),k=d}})}}}],qg=["$parse","$animate",function(a,g){var h="$$NG_REMOVED",i=d("ngRepeat"),j=function(a,b,c,d,e,f,g){a[c]=d,e&&(a[e]=f),a.$index=b,a.$first=0===b,a.$last=b===g-1,a.$middle=!(a.$first||a.$last),a.$odd=!(a.$even=0===(1&b))},k=function(a){return a.clone[0]},l=function(a){return a.clone[a.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(d,m){var n=m.ngRepeat,o=b.createComment(" end ngRepeat: "+n+" "),p=n.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!p)throw i("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",n);var q=p[1],r=p[2],s=p[3],t=p[4];if(p=q.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/),!p)throw i("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",q);var u=p[3]||p[1],v=p[2];if(s&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(s)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(s)))throw i("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",s);var w,x,y,z,A={$id:Ya};return t?w=a(t):(y=function(a,b){return Ya(b)},z=function(a){return a}),function(a,b,d,m,p){w&&(x=function(b,c,d){return v&&(A[v]=b),A[u]=c,A.$index=d,w(a,A)});var q=qa();a.$watchCollection(r,function(d){var m,r,t,w,A,B,C,D,E,F,G,H,I=b[0],J=qa();if(s&&(a[s]=d),e(d))E=d,D=x||y;else{D=x||z,E=[];for(var K in d)xd.call(d,K)&&"$"!==K.charAt(0)&&E.push(K)}for(w=E.length,G=new Array(w),m=0;w>m;m++)if(A=d===E?m:E[m],B=d[A],C=D(A,B,m),q[C])F=q[C],delete q[C],J[C]=F,G[m]=F;else{if(J[C])throw f(G,function(a){a&&a.scope&&(q[a.id]=a)}),i("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",n,C,B);G[m]={id:C,scope:c,clone:c},J[C]=!0}for(var L in q){if(F=q[L],H=pa(F.clone),g.leave(H),H[0].parentNode)for(m=0,r=H.length;r>m;m++)H[m][h]=!0;F.scope.$destroy()}for(m=0;w>m;m++)if(A=d===E?m:E[m],B=d[A],F=G[m],F.scope){t=I;do t=t.nextSibling;while(t&&t[h]);k(F)!=t&&g.move(pa(F.clone),null,Cd(I)),I=l(F),j(F.scope,m,u,B,v,A,w)}else p(function(a,b){F.scope=b;var c=o.cloneNode(!1);a[a.length++]=c,g.enter(a,null,Cd(I)),I=c,F.clone=a,J[F.id]=F,j(F.scope,m,u,B,v,A,w)});q=J})}}}}],rg="ng-hide",sg="ng-hide-animate",tg=["$animate",function(a){return{restrict:"A",multiElement:!0,link:function(b,c,d){b.$watch(d.ngShow,function(b){a[b?"removeClass":"addClass"](c,rg,{tempClasses:sg})})}}}],ug=["$animate",function(a){return{restrict:"A",multiElement:!0,link:function(b,c,d){b.$watch(d.ngHide,function(b){a[b?"addClass":"removeClass"](c,rg,{tempClasses:sg})})}}}],vg=ad(function(a,b,c){a.$watch(c.ngStyle,function(a,c){c&&a!==c&&f(c,function(a,c){b.css(c,"")}),a&&b.css(a)},!0)}),wg=["$animate",function(a){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(c,d,e,g){var h=e.ngSwitch||e.on,i=[],j=[],k=[],l=[],m=function(a,b){return function(){a.splice(b,1)}};c.$watch(h,function(c){var d,e;for(d=0,e=k.length;e>d;++d)a.cancel(k[d]);for(k.length=0,d=0,e=l.length;e>d;++d){var h=pa(j[d].clone);l[d].$destroy();var n=k[d]=a.leave(h);n.then(m(k,d))}j.length=0,l.length=0,(i=g.cases["!"+c]||g.cases["?"])&&f(i,function(c){c.transclude(function(d,e){l.push(e);var f=c.element;d[d.length++]=b.createComment(" end ngSwitchWhen: ");var g={clone:d};j.push(g),a.enter(d,f.parent(),f)})})})}}}],xg=ad({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(a,b,c,d,e){d.cases["!"+c.ngSwitchWhen]=d.cases["!"+c.ngSwitchWhen]||[],d.cases["!"+c.ngSwitchWhen].push({transclude:e,element:b})}}),yg=ad({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(a,b,c,d,e){d.cases["?"]=d.cases["?"]||[],d.cases["?"].push({transclude:e,element:b})}}),zg=ad({restrict:"EAC",link:function(a,b,c,e,f){if(!f)throw d("ngTransclude")("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",$(b));f(function(a){b.empty(),b.append(a)})}}),Ag=["$templateCache",function(a){return{restrict:"E",terminal:!0,compile:function(b,c){if("text/ng-template"==c.type){var d=c.id,e=b[0].text;a.put(d,e)}}}}],Bg={$setViewValue:p,$render:p},Cg=["$element","$scope","$attrs",function(a,d,e){var f=this,g=new Za;f.ngModelCtrl=Bg,f.unknownOption=Cd(b.createElement("option")),f.renderUnknownOption=function(b){var c="? "+Ya(b)+" ?";f.unknownOption.val(c),a.prepend(f.unknownOption),a.val(c)},d.$on("$destroy",function(){f.renderUnknownOption=p}),f.removeUnknownOption=function(){f.unknownOption.parent()&&f.unknownOption.remove()},f.readValue=function(){return f.removeUnknownOption(),a.val()},f.writeValue=function(b){f.hasOption(b)?(f.removeUnknownOption(),a.val(b),""===b&&f.emptyOption.prop("selected",!0)):null==b&&f.emptyOption?(f.removeUnknownOption(),a.val("")):f.renderUnknownOption(b)},f.addOption=function(a,b){na(a,'"option value"'),""===a&&(f.emptyOption=b);var c=g.get(a)||0;g.put(a,c+1),f.ngModelCtrl.$render(),td(b)},f.removeOption=function(a){var b=g.get(a);b&&(1===b?(g.remove(a),""===a&&(f.emptyOption=c)):g.put(a,b-1))},f.hasOption=function(a){return!!g.get(a)},f.registerOption=function(a,b,c,d,e){if(d){var g;c.$observe("value",function(a){u(g)&&f.removeOption(g),g=a,f.addOption(a,b)})}else e?a.$watch(e,function(a,d){c.$set("value",a),d!==a&&f.removeOption(d),f.addOption(a,b)}):f.addOption(c.value,b);b.on("$destroy",function(){f.removeOption(c.value),f.ngModelCtrl.$render()})}}],Dg=function(){function a(a,b,c,d){var e=d[1];if(e){var g=d[0];if(g.ngModelCtrl=e,e.$render=function(){g.writeValue(e.$viewValue)},b.on("change",function(){a.$apply(function(){e.$setViewValue(g.readValue())})}),c.multiple){g.readValue=function(){var a=[];return f(b.find("option"),function(b){b.selected&&a.push(b.value)}),a},g.writeValue=function(a){var c=new Za(a);f(b.find("option"),function(a){a.selected=u(c.get(a.value))})};var h,i=NaN;a.$watch(function(){i!==e.$viewValue||Q(h,e.$viewValue)||(h=P(e.$viewValue),e.$render()),i=e.$viewValue}),e.$isEmpty=function(a){return!a||0===a.length}}}}return{restrict:"E",require:["select","?ngModel"],controller:Cg,priority:1,link:{pre:a}}},Eg=["$interpolate",function(a){return{restrict:"E",priority:100,compile:function(b,c){if(u(c.value))var d=a(c.value,!0);else{var e=a(b.text(),!0);e||c.$set("value",b.text())}return function(a,b,c){var f="$selectController",g=b.parent(),h=g.data(f)||g.parent().data(f);h&&h.registerOption(a,b,c,d,e)}}}}],Fg=r({restrict:"E",terminal:!1}),Gg=function(){return{restrict:"A",require:"?ngModel",link:function(a,b,c,d){d&&(c.required=!0,d.$validators.required=function(a,b){return!c.required||!d.$isEmpty(b)},c.$observe("required",function(){d.$validate()}))}}},Hg=function(){return{restrict:"A",require:"?ngModel",link:function(a,b,e,f){if(f){var g,h=e.ngPattern||e.pattern;e.$observe("pattern",function(a){if(x(a)&&a.length>0&&(a=new RegExp("^"+a+"$")),a&&!a.test)throw d("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",h,a,$(b));g=a||c,f.$validate()}),f.$validators.pattern=function(a,b){return f.$isEmpty(b)||t(g)||g.test(b)}}}}},Ig=function(){return{restrict:"A",require:"?ngModel",link:function(a,b,c,d){if(d){var e=-1;c.$observe("maxlength",function(a){var b=n(a);e=isNaN(b)?-1:b,d.$validate()}),d.$validators.maxlength=function(a,b){return 0>e||d.$isEmpty(b)||b.length<=e}}}}},Jg=function(){return{restrict:"A",require:"?ngModel",link:function(a,b,c,d){if(d){var e=0;c.$observe("minlength",function(a){e=n(a)||0,d.$validate()}),d.$validators.minlength=function(a,b){return d.$isEmpty(b)||b.length>=e}}}}};return a.angular.bootstrap?void console.log("WARNING: Tried to load angular more than once."):(ka(),ua(Ld),Ld.module("ngLocale",[],["$provide",function(a){function b(a){a+="";var b=a.indexOf(".");return-1==b?0:a.length-b-1}function d(a,d){var e=d;c===e&&(e=Math.min(b(a),3));var f=Math.pow(10,e),g=(a*f|0)%f;return{v:e,f:g}}var e={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};a.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",pluralCat:function(a,b){var c=0|a,f=d(a,b);return 1==c&&0==f.v?e.ONE:e.OTHER}})}]),void Cd(b).ready(function(){fa(b,ga)}))}(window,document),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>'),function(a,b,c){"use strict";function d(a,b,c){if(!a)throw ngMinErr("areq","Argument '{0}' is {1}",b||"?",c||"required");return a}function e(a,b){return a||b?a?b?(Q(a)&&(a=a.join(" ")),Q(b)&&(b=b.join(" ")),a+" "+b):a:b:""}function f(a){var b={};return a&&(a.to||a.from)&&(b.to=a.to,b.from=a.from),b}function g(a,b,c){var d="";return a=Q(a)?a:a&&R(a)&&a.length?a.split(/\s+/):[],P(a,function(a,e){a&&a.length>0&&(d+=e>0?" ":"",d+=c?b+a:a+b)}),d}function h(a,b){var c=a.indexOf(b);b>=0&&a.splice(c,1)}function i(a){if(a instanceof O)switch(a.length){case 0:return[];case 1:if(a[0].nodeType===X)return a;break;default:return O(j(a))}return a.nodeType===X?O(a):void 0}function j(a){if(!a[0])return a;for(var b=0;b<a.length;b++){var c=a[b];if(c.nodeType==X)return c}}function k(a,b,c){P(b,function(b){a.addClass(b,c)})}function l(a,b,c){P(b,function(b){a.removeClass(b,c)})}function m(a){return function(b,c){c.addClass&&(k(a,b,c.addClass),c.addClass=null),c.removeClass&&(l(a,b,c.removeClass),c.removeClass=null)}}function n(a){if(a=a||{},!a.$$prepared){var b=a.domOperation||M;a.domOperation=function(){a.$$domOperationFired=!0,b(),b=M},a.$$prepared=!0}return a}function o(a,b){p(a,b),q(a,b)}function p(a,b){b.from&&(a.css(b.from),b.from=null)}function q(a,b){b.to&&(a.css(b.to),b.to=null)}function r(a,b,c){var d=(b.addClass||"")+" "+(c.addClass||""),e=(b.removeClass||"")+" "+(c.removeClass||""),f=s(a.attr("class"),d,e);c.preparationClasses&&(b.preparationClasses=z(c.preparationClasses,b.preparationClasses),delete c.preparationClasses);var g=b.domOperation!==M?b.domOperation:null;return N(b,c),g&&(b.domOperation=g),f.addClass?b.addClass=f.addClass:b.addClass=null,f.removeClass?b.removeClass=f.removeClass:b.removeClass=null,b}function s(a,b,c){function d(a){R(a)&&(a=a.split(" "));var b={};return P(a,function(a){a.length&&(b[a]=!0)}),b}var e=1,f=-1,g={};a=d(a),b=d(b),P(b,function(a,b){g[b]=e}),c=d(c),P(c,function(a,b){g[b]=g[b]===e?null:f});var h={addClass:"",removeClass:""};return P(g,function(b,c){var d,g;b===e?(d="addClass",g=!a[c]):b===f&&(d="removeClass",g=a[c]),g&&(h[d].length&&(h[d]+=" "),h[d]+=c)}),h}function t(a){return a instanceof b.element?a[0]:a}function u(a,b,c){var d="";b&&(d=g(b,$,!0)),c.addClass&&(d=z(d,g(c.addClass,Y))),c.removeClass&&(d=z(d,g(c.removeClass,Z))),d.length&&(c.preparationClasses=d,a.addClass(d))}function v(a,b){b.preparationClasses&&(a.removeClass(b.preparationClasses),b.preparationClasses=null),b.activeClasses&&(a.removeClass(b.activeClasses),b.activeClasses=null)}function w(a,b){var c=b?"-"+b+"s":"";return y(a,[ma,c]),[ma,c]}function x(a,b){var c=b?"paused":"",d=K+ia;return y(a,[d,c]),[d,c]}function y(a,b){var c=b[0],d=b[1];a.style[c]=d}function z(a,b){return a?b?a+" "+b:a:b}function A(a){return[la,a+"s"]}function B(a,b){var c=b?ka:ma;return[c,a+"s"]}function C(a,b,c){var d=Object.create(null),e=a.getComputedStyle(b)||{};return P(c,function(a,b){var c=e[a];if(c){var f=c.charAt(0);("-"===f||"+"===f||f>=0)&&(c=D(c)),0===c&&(c=null),d[b]=c}}),d}function D(a){var b=0,c=a.split(/\s*,\s*/);return P(c,function(a){"s"==a.charAt(a.length-1)&&(a=a.substring(0,a.length-1)),a=parseFloat(a)||0,b=b?Math.max(a,b):a}),b}function E(a){return 0===a||null!=a}function F(a,b){var c=I,d=a+"s";return b?c+=da:d+=" linear all",[c,d]}function G(){var a=Object.create(null);return{flush:function(){a=Object.create(null)},count:function(b){var c=a[b];return c?c.total:0},get:function(b){var c=a[b];return c&&c.value},put:function(b,c){a[b]?a[b].total++:a[b]={total:1,value:c}}}}function H(a,b,c){P(c,function(c){a[c]=U(a[c])?a[c]:b.style.getPropertyValue(c)})}var I,J,K,L,M=b.noop,N=b.extend,O=b.element,P=b.forEach,Q=b.isArray,R=b.isString,S=b.isObject,T=b.isUndefined,U=b.isDefined,V=b.isFunction,W=b.isElement,X=1,Y="-add",Z="-remove",$="ng-",_="-active",aa="ng-animate",ba="$$ngAnimateChildren",ca="";T(a.ontransitionend)&&U(a.onwebkittransitionend)?(ca="-webkit-",I="WebkitTransition",J="webkitTransitionEnd transitionend"):(I="transition",J="transitionend"),T(a.onanimationend)&&U(a.onwebkitanimationend)?(ca="-webkit-",K="WebkitAnimation",L="webkitAnimationEnd animationend"):(K="animation",L="animationend");var da="Duration",ea="Property",fa="Delay",ga="TimingFunction",ha="IterationCount",ia="PlayState",ja=9999,ka=K+fa,la=K+da,ma=I+fa,na=I+da,oa=["$$rAF",function(a){function b(a){d=d.concat(a),c()}function c(){if(d.length){for(var b=d.shift(),f=0;f<b.length;f++)b[f]();e||a(function(){e||c()})}}var d,e;return d=b.queue=[],b.waitUntilQuiet=function(b){e&&e(),e=a(function(){e=null,b(),c()})},b}],pa=[function(){return function(a,c,d){var e=d.ngAnimateChildren;b.isString(e)&&0===e.length?c.data(ba,!0):d.$observe("ngAnimateChildren",function(a){a="on"===a||"true"===a,c.data(ba,a)})}}],qa="$$animateCss",ra=1e3,sa=3,ta=1.5,ua={transitionDuration:na,transitionDelay:ma,transitionProperty:I+ea,animationDuration:la,animationDelay:ka,animationIterationCount:K+ha},va={transitionDuration:na,transitionDelay:ma,animationDuration:la,animationDelay:ka},wa=["$animateProvider",function(a){var b=G(),c=G();this.$get=["$window","$$jqLite","$$AnimateRunner","$timeout","$$forceReflow","$sniffer","$$rAFScheduler","$animate",function(a,d,e,i,j,k,l,r){function s(a,b){var c="$$ngAnimateParentKey",d=a.parentNode,e=d[c]||(d[c]=++N);return e+"-"+a.getAttribute("class")+"-"+b}function u(c,d,e,f){var g=b.get(e);return g||(g=C(a,c,f),"infinite"===g.animationIterationCount&&(g.animationIterationCount=1)),b.put(e,g),g}function v(e,f,h,i){var j;if(b.count(h)>0&&(j=c.get(h),!j)){var k=g(f,"-stagger");d.addClass(e,k),j=C(a,e,i),j.animationDuration=Math.max(j.animationDuration,0),j.transitionDuration=Math.max(j.transitionDuration,0),d.removeClass(e,k),c.put(h,j)}return j||{}}function z(a){O.push(a),l.waitUntilQuiet(function(){b.flush(),c.flush();for(var a=j(),d=0;d<O.length;d++)O[d](a);O.length=0})}function D(a,b,c){var d=u(a,b,c,ua),e=d.animationDelay,f=d.transitionDelay;return d.maxDelay=e&&f?Math.max(e,f):e||f,d.maxDuration=Math.max(d.animationDuration*d.animationIterationCount,d.transitionDuration),d}var G=m(d),N=0,O=[];return function(a,c){function j(){m()}function l(){m(!0)}function m(b){S||U&&T||(S=!0,T=!1,c.$$skipPreparationClasses||d.removeClass(a,na),d.removeClass(a,pa),x(R,!1),w(R,!1),P(da,function(a){R.style[a[0]]=""}),G(a,c),o(a,c),Object.keys(O).length&&P(O,function(a,b){a?R.style.setProperty(b,a):R.style.removeProperty(b)}),c.onDone&&c.onDone(),V&&V.complete(!b))}function u(a){Ia.blockTransition&&w(R,a),Ia.blockKeyframeAnimation&&x(R,!!a)}function C(){return V=new e({end:j,cancel:l}),z(M),m(),{$$willAnimate:!1,start:function(){return V},end:j}}function N(){function b(){if(!S){if(u(!1),P(da,function(a){var b=a[0],c=a[1];R.style[b]=c}),G(a,c),d.addClass(a,pa),Ia.recalculateTimingStyles){if(oa=R.className+" "+na,xa=s(R,oa),Ga=D(R,oa,xa),Ha=Ga.maxDelay,X=Math.max(Ha,0),ba=Ga.maxDuration,0===ba)return void m();Ia.hasTransitions=Ga.transitionDuration>0,Ia.hasAnimations=Ga.animationDuration>0}if(Ia.applyAnimationDelay&&(Ha="boolean"!=typeof c.delay&&E(c.delay)?parseFloat(c.delay):Ha,X=Math.max(Ha,0),Ga.animationDelay=Ha,Ja=B(Ha,!0),da.push(Ja),R.style[Ja[0]]=Ja[1]),aa=X*ra,ca=ba*ra,c.easing){var b,h=c.easing;Ia.hasTransitions&&(b=I+ga,da.push([b,h]),R.style[b]=h),Ia.hasAnimations&&(b=K+ga,da.push([b,h]),R.style[b]=h)}Ga.transitionDuration&&j.push(J),Ga.animationDuration&&j.push(L),g=Date.now();var k=aa+ta*ca,l=g+k,n=a.data(qa)||[],o=!0;if(n.length){var p=n[0];o=l>p.expectedEndTime,o?i.cancel(p.timer):n.push(m)}if(o){var r=i(e,k,!1);n[0]={timer:r,expectedEndTime:l},n.push(m),a.data(qa,n)}a.on(j.join(" "),f),c.to&&(c.cleanupStyles&&H(O,R,Object.keys(c.to)),q(a,c))}}function e(){var b=a.data(qa);if(b){for(var c=1;c<b.length;c++)b[c]();a.removeData(qa)}}function f(a){a.stopPropagation();var b=a.originalEvent||a,c=b.$manualTimeStamp||b.timeStamp||Date.now(),d=parseFloat(b.elapsedTime.toFixed(sa));Math.max(c-g,0)>=aa&&d>=ba&&(U=!0,m())}if(!S){if(!R.parentNode)return void m();var g,j=[],k=function(a){if(U)T&&a&&(T=!1,m());else if(T=!a,Ga.animationDuration){var b=x(R,T);T?da.push(b):h(da,b)}},l=Ea>0&&(Ga.transitionDuration&&0===ya.transitionDuration||Ga.animationDuration&&0===ya.animationDuration)&&Math.max(ya.animationDelay,ya.transitionDelay);l?i(b,Math.floor(l*Ea*ra),!1):b(),W.resume=function(){k(!0)},W.pause=function(){k(!1)}}}var O={},R=t(a);if(!R||!R.parentNode||!r.enabled())return C();c=n(c);var S,T,U,V,W,X,aa,ba,ca,da=[],fa=a.attr("class"),ha=f(c);if(0===c.duration||!k.animations&&!k.transitions)return C();var ia=c.event&&Q(c.event)?c.event.join(" "):c.event,ka=ia&&c.structural,la="",ma="";ka?la=g(ia,$,!0):ia&&(la=ia),c.addClass&&(ma+=g(c.addClass,Y)),c.removeClass&&(ma.length&&(ma+=" "),ma+=g(c.removeClass,Z)),c.applyClassesEarly&&ma.length&&G(a,c);var na=[la,ma].join(" ").trim(),oa=fa+" "+na,pa=g(na,_),ua=ha.to&&Object.keys(ha.to).length>0,wa=(c.keyframeStyle||"").length>0;if(!wa&&!ua&&!na)return C();var xa,ya;if(c.stagger>0){var za=parseFloat(c.stagger);ya={transitionDelay:za,animationDelay:za,transitionDuration:0,animationDuration:0}}else xa=s(R,oa),ya=v(R,na,xa,va);c.$$skipPreparationClasses||d.addClass(a,na);var Aa;if(c.transitionStyle){var Ba=[I,c.transitionStyle];y(R,Ba),da.push(Ba)}if(c.duration>=0){Aa=R.style[I].length>0;var Ca=F(c.duration,Aa);y(R,Ca),da.push(Ca)}if(c.keyframeStyle){var Da=[K,c.keyframeStyle];y(R,Da),da.push(Da)}var Ea=ya?c.staggerIndex>=0?c.staggerIndex:b.count(xa):0,Fa=0===Ea;Fa&&!c.skipBlocking&&w(R,ja);var Ga=D(R,oa,xa),Ha=Ga.maxDelay;X=Math.max(Ha,0),ba=Ga.maxDuration;var Ia={};if(Ia.hasTransitions=Ga.transitionDuration>0,Ia.hasAnimations=Ga.animationDuration>0,Ia.hasTransitionAll=Ia.hasTransitions&&"all"==Ga.transitionProperty,Ia.applyTransitionDuration=ua&&(Ia.hasTransitions&&!Ia.hasTransitionAll||Ia.hasAnimations&&!Ia.hasTransitions),Ia.applyAnimationDuration=c.duration&&Ia.hasAnimations,Ia.applyTransitionDelay=E(c.delay)&&(Ia.applyTransitionDuration||Ia.hasTransitions),Ia.applyAnimationDelay=E(c.delay)&&Ia.hasAnimations,Ia.recalculateTimingStyles=ma.length>0,(Ia.applyTransitionDuration||Ia.applyAnimationDuration)&&(ba=c.duration?parseFloat(c.duration):ba,Ia.applyTransitionDuration&&(Ia.hasTransitions=!0,Ga.transitionDuration=ba,Aa=R.style[I+ea].length>0,da.push(F(ba,Aa))),Ia.applyAnimationDuration&&(Ia.hasAnimations=!0,Ga.animationDuration=ba,da.push(A(ba)))),0===ba&&!Ia.recalculateTimingStyles)return C();if(null!=c.delay){var Ja=parseFloat(c.delay);Ia.applyTransitionDelay&&da.push(B(Ja)),Ia.applyAnimationDelay&&da.push(B(Ja,!0))}return null==c.duration&&Ga.transitionDuration>0&&(Ia.recalculateTimingStyles=Ia.recalculateTimingStyles||Fa),aa=X*ra,ca=ba*ra,c.skipBlocking||(Ia.blockTransition=Ga.transitionDuration>0,Ia.blockKeyframeAnimation=Ga.animationDuration>0&&ya.animationDelay>0&&0===ya.animationDuration),c.from&&(c.cleanupStyles&&H(O,R,Object.keys(c.from)),p(a,c)),Ia.blockTransition||Ia.blockKeyframeAnimation?u(ba):c.skipBlocking||w(R,!1),{$$willAnimate:!0,end:j,start:function(){return S?void 0:(W={end:j,cancel:l,resume:null,pause:null},V=new e(W),z(N),V)}}}}]}],xa=["$$animationProvider",function(a){function b(a){return a.parentNode&&11===a.parentNode.nodeType}a.drivers.push("$$animateCssDriver");var c="ng-animate-shim",d="ng-anchor",e="ng-anchor-out",f="ng-anchor-in";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(a,g,h,i,j,k,l){function n(a){return a.replace(/\bng-\S+\b/g,"")}function o(a,b){return R(a)&&(a=a.split(" ")),R(b)&&(b=b.split(" ")),a.filter(function(a){return-1===b.indexOf(a)}).join(" ")}function p(b,g,i){function j(a){var b={},c=t(a).getBoundingClientRect();return P(["width","height","top","left"],function(a){var d=c[a];switch(a){case"top":d+=s.scrollTop;break;case"left":d+=s.scrollLeft}b[a]=Math.floor(d)+"px"}),b}function k(){var b=a(q,{addClass:e,delay:!0,from:j(g)});return b.$$willAnimate?b:null}function l(a){return a.attr("class")||""}function m(){var b=n(l(i)),c=o(b,r),d=o(r,b),g=a(q,{to:j(i),addClass:f+" "+c,removeClass:e+" "+d,delay:!0});return g.$$willAnimate?g:null}function p(){q.remove(),g.removeClass(c),i.removeClass(c)}var q=O(t(g).cloneNode(!0)),r=n(l(q));g.addClass(c),i.addClass(c),q.addClass(d),v.append(q);var u,w=k();if(!w&&(u=m(),!u))return p();var x=w||u;return{start:function(){function a(){c&&c.end()}var b,c=x.start();return c.done(function(){return c=null,!u&&(u=m())?(c=u.start(),c.done(function(){c=null,p(),b.complete()}),c):(p(),void b.complete())}),b=new h({end:a,cancel:a})}}}function q(a,b,c,d){var e=r(a,M),f=r(b,M),g=[];return P(d,function(a){var b=a.out,d=a["in"],e=p(c,b,d);e&&g.push(e)}),e||f||0!==g.length?{start:function(){function a(){P(b,function(a){a.end()})}var b=[];e&&b.push(e.start()),f&&b.push(f.start()),P(g,function(a){b.push(a.start())});var c=new h({end:a,cancel:a});return h.all(b,function(a){c.complete(a)}),c}}:void 0}function r(b){var c=b.element,d=b.options||{};b.structural&&(d.event=b.event,d.structural=!0,d.applyClassesEarly=!0,"leave"===b.event&&(d.onDone=d.domOperation)),d.preparationClasses&&(d.event=z(d.event,d.preparationClasses));var e=a(c,d);return e.$$willAnimate?e:null}if(!j.animations&&!j.transitions)return M;var s=l[0].body,u=t(i),v=O(b(u)||s.contains(u)?u:s);m(k);return function(a){return a.from&&a.to?q(a.from,a.to,a.classes,a.anchors):r(a)}}]}],ya=["$animateProvider",function(a){
-this.$get=["$injector","$$AnimateRunner","$$jqLite",function(b,c,d){function e(c){c=Q(c)?c:c.split(" ");for(var d=[],e={},f=0;f<c.length;f++){var g=c[f],h=a.$$registeredAnimations[g];h&&!e[g]&&(d.push(b.get(h)),e[g]=!0)}return d}var f=m(d);return function(a,b,d,g){function h(){g.domOperation(),f(a,g)}function i(a,b,d,e,f){var g;switch(d){case"animate":g=[b,e.from,e.to,f];break;case"setClass":g=[b,p,q,f];break;case"addClass":g=[b,p,f];break;case"removeClass":g=[b,q,f];break;default:g=[b,f]}g.push(e);var h=a.apply(a,g);if(h)if(V(h.start)&&(h=h.start()),h instanceof c)h.done(f);else if(V(h))return h;return M}function j(a,b,d,e,f){var g=[];return P(e,function(e){var h=e[f];h&&g.push(function(){var e,f,g=!1,j=function(a){g||(g=!0,(f||M)(a),e.complete(!a))};return e=new c({end:function(){j()},cancel:function(){j(!0)}}),f=i(h,a,b,d,function(a){var b=a===!1;j(b)}),e})}),g}function k(a,b,d,e,f){var g=j(a,b,d,e,f);if(0===g.length){var h,i;"beforeSetClass"===f?(h=j(a,"removeClass",d,e,"beforeRemoveClass"),i=j(a,"addClass",d,e,"beforeAddClass")):"setClass"===f&&(h=j(a,"removeClass",d,e,"removeClass"),i=j(a,"addClass",d,e,"addClass")),h&&(g=g.concat(h)),i&&(g=g.concat(i))}if(0!==g.length)return function(a){var b=[];return g.length&&P(g,function(a){b.push(a())}),b.length?c.all(b,a):a(),function(a){P(b,function(b){a?b.cancel():b.end()})}}}3===arguments.length&&S(d)&&(g=d,d=null),g=n(g),d||(d=a.attr("class")||"",g.addClass&&(d+=" "+g.addClass),g.removeClass&&(d+=" "+g.removeClass));var l,m,p=g.addClass,q=g.removeClass,r=e(d);if(r.length){var s,t;"leave"==b?(t="leave",s="afterLeave"):(t="before"+b.charAt(0).toUpperCase()+b.substr(1),s=b),"enter"!==b&&"move"!==b&&(l=k(a,b,g,r,t)),m=k(a,b,g,r,s)}return l||m?{start:function(){function b(b){i=!0,h(),o(a,g),j.complete(b)}function d(a){i||((e||M)(a),b(a))}var e,f=[];l&&f.push(function(a){e=l(a)}),f.length?f.push(function(a){h(),a(!0)}):h(),m&&f.push(function(a){e=m(a)});var i=!1,j=new c({end:function(){d()},cancel:function(){d(!0)}});return c.chain(f,b),j}}:void 0}}]}],za=["$$animationProvider",function(a){a.drivers.push("$$animateJsDriver"),this.$get=["$$animateJs","$$AnimateRunner",function(a,b){function c(b){var c=b.element,d=b.event,e=b.options,f=b.classes;return a(c,d,f,e)}return function(a){if(a.from&&a.to){var d=c(a.from),e=c(a.to);if(!d&&!e)return;return{start:function(){function a(){return function(){P(f,function(a){a.end()})}}function c(a){g.complete(a)}var f=[];d&&f.push(d.start()),e&&f.push(e.start()),b.all(f,c);var g=new b({end:a(),cancel:a()});return g}}}return c(a)}}]}],Aa="data-ng-animate",Ba="$ngAnimatePin",Ca=["$animateProvider",function(a){function b(a,b,c,d){return g[a].some(function(a){return a(b,c,d)})}function c(a,b){a=a||{};var c=(a.addClass||"").length>0,d=(a.removeClass||"").length>0;return b?c&&d:c||d}var e=1,f=2,g=this.rules={skip:[],cancel:[],join:[]};g.join.push(function(a,b,d){return!b.structural&&c(b.options)}),g.skip.push(function(a,b,d){return!b.structural&&!c(b.options)}),g.skip.push(function(a,b,c){return"leave"==c.event&&b.structural}),g.skip.push(function(a,b,c){return c.structural&&c.state===f&&!b.structural}),g.cancel.push(function(a,b,c){return c.structural&&b.structural}),g.cancel.push(function(a,b,c){return c.state===f&&b.structural}),g.cancel.push(function(a,b,c){var d=b.options,e=c.options;return d.addClass&&d.addClass===e.removeClass||d.removeClass&&d.removeClass===e.addClass}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(g,h,k,l,p,q,s,w,x,y){function z(){var a=!1;return function(b){a?b():h.$$postDigest(function(){a=!0,b()})}}function A(a,b){return r(a,b,{})}function B(a,b,c){var d=t(b),e=t(a),f=[],g=M[c];return g&&P(g,function(a){a.node.contains(d)?f.push(a.callback):"leave"===c&&a.node.contains(e)&&f.push(a.callback)}),f}function C(a,d,j){function k(b,c,d,e){x(function(){var b=B(p,a,c);b.length&&g(function(){P(b,function(b){b(a,d,e)})})}),b.progress(c,d,e)}function l(b){v(a,j),Z(a,j),o(a,j),j.domOperation(),w.complete(!b)}var m,p;a=i(a),a&&(m=t(a),p=a.parent()),j=n(j);var w=new s,x=z();if(Q(j.addClass)&&(j.addClass=j.addClass.join(" ")),j.addClass&&!R(j.addClass)&&(j.addClass=null),Q(j.removeClass)&&(j.removeClass=j.removeClass.join(" ")),j.removeClass&&!R(j.removeClass)&&(j.removeClass=null),j.from&&!S(j.from)&&(j.from=null),j.to&&!S(j.to)&&(j.to=null),!m)return l(),w;var y=[m.className,j.addClass,j.removeClass].join(" ");if(!Y(y))return l(),w;var C=["enter","move","leave"].indexOf(d)>=0,F=!K||J.get(m),L=!F&&I.get(m)||{},M=!!L.state;if(F||M&&L.state==e||(F=!G(a,p,d)),F)return l(),w;C&&D(a);var N={structural:C,element:a,event:d,close:l,options:j,runner:w};if(M){var O=b("skip",a,N,L);if(O)return L.state===f?(l(),w):(r(a,L.options,j),L.runner);var T=b("cancel",a,N,L);if(T)if(L.state===f)L.runner.end();else{if(!L.structural)return r(a,L.options,N.options),L.runner;L.close()}else{var U=b("join",a,N,L);if(U){if(L.state!==f)return u(a,C?d:null,j),d=N.event=L.event,j=r(a,L.options,N.options),L.runner;A(a,j)}}}else A(a,j);var V=N.structural;if(V||(V="animate"===N.event&&Object.keys(N.options.to||{}).length>0||c(N.options)),!V)return l(),E(a),w;var W=(L.counter||0)+1;return N.counter=W,H(a,e,N),h.$$postDigest(function(){var b=I.get(m),e=!b;b=b||{};var g=a.parent()||[],h=g.length>0&&("animate"===b.event||b.structural||c(b.options));if(e||b.counter!==W||!h)return e&&(Z(a,j),o(a,j)),(e||C&&b.event!==d)&&(j.domOperation(),w.end()),void(h||E(a));d=!b.structural&&c(b.options,!0)?"setClass":b.event,H(a,f);var i=q(a,d,b.options);i.done(function(b){l(!b);var c=I.get(m);c&&c.counter===W&&E(t(a)),k(w,d,"close",{})}),w.setHost(i),k(w,d,"start",{})}),w}function D(a){var b=t(a),c=b.querySelectorAll("["+Aa+"]");P(c,function(a){var b=parseInt(a.getAttribute(Aa)),c=I.get(a);switch(b){case f:c.runner.end();case e:c&&I.remove(a)}})}function E(a){var b=t(a);b.removeAttribute(Aa),I.remove(b)}function F(a,b){return t(a)===t(b)}function G(a,b,c){var d,e=O(l[0].body),f=F(a,e)||"HTML"===a[0].nodeName,g=F(a,k),h=!1,i=a.data(Ba);for(i&&(b=i);b&&b.length;){g||(g=F(b,k));var j=b[0];if(j.nodeType!==X)break;var m=I.get(j)||{};if(h||(h=m.structural||J.get(j)),T(d)||d===!0){var n=b.data(ba);U(n)&&(d=n)}if(h&&d===!1)break;g||(g=F(b,k),g||(i=b.data(Ba),i&&(b=i))),f||(f=F(b,e)),b=b.parent()}var o=!h||d;return o&&g&&f}function H(a,b,c){c=c||{},c.state=b;var d=t(a);d.setAttribute(Aa,b);var e=I.get(d),f=e?N(e,c):c;I.put(d,f)}var I=new p,J=new p,K=null,L=h.$watch(function(){return 0===w.totalPendingRequests},function(a){a&&(L(),h.$$postDigest(function(){h.$$postDigest(function(){null===K&&(K=!0)})}))}),M={},V=a.classNameFilter(),Y=V?function(a){return V.test(a)}:function(){return!0},Z=m(x);return{on:function(a,b,c){var d=j(b);M[a]=M[a]||[],M[a].push({node:d,callback:c})},off:function(a,b,c){function d(a,b,c){var d=j(b);return a.filter(function(a){var b=a.node===d&&(!c||a.callback===c);return!b})}var e=M[a];e&&(M[a]=1===arguments.length?null:d(e,b,c))},pin:function(a,b){d(W(a),"element","not an element"),d(W(b),"parentElement","not an element"),a.data(Ba,b)},push:function(a,b,c,d){return c=c||{},c.domOperation=d,C(a,b,c)},enabled:function(a,b){var c=arguments.length;if(0===c)b=!!K;else{var d=W(a);if(d){var e=t(a),f=J.get(e);1===c?b=!f:(b=!!b,b?f&&J.remove(e):J.put(e,!0))}else b=K=!!a}return b}}}]}],Da=["$$rAF",function(a){function b(b){c.push(b),c.length>1||a(function(){for(var a=0;a<c.length;a++)c[a]();c=[]})}var c=[];return function(){var a=!1;return b(function(){a=!0}),function(c){a?c():b(c)}}}],Ea=["$q","$sniffer","$$animateAsyncRun",function(a,b,c){function d(a){this.setHost(a),this._doneCallbacks=[],this._runInAnimationFrame=c(),this._state=0}var e=0,f=1,g=2;return d.chain=function(a,b){function c(){return d===a.length?void b(!0):void a[d](function(a){return a===!1?void b(!1):(d++,void c())})}var d=0;c()},d.all=function(a,b){function c(c){e=e&&c,++d===a.length&&b(e)}var d=0,e=!0;P(a,function(a){a.done(c)})},d.prototype={setHost:function(a){this.host=a||{}},done:function(a){this._state===g?a():this._doneCallbacks.push(a)},progress:M,getPromise:function(){if(!this.promise){var b=this;this.promise=a(function(a,c){b.done(function(b){b===!1?c():a()})})}return this.promise},then:function(a,b){return this.getPromise().then(a,b)},"catch":function(a){return this.getPromise()["catch"](a)},"finally":function(a){return this.getPromise()["finally"](a)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(a){var b=this;b._state===e&&(b._state=f,b._runInAnimationFrame(function(){b._resolve(a)}))},_resolve:function(a){this._state!==g&&(P(this._doneCallbacks,function(b){b(a)}),this._doneCallbacks.length=0,this._state=g)}},d}],Fa=["$animateProvider",function(a){function b(a,b){a.data(h,b)}function c(a){a.removeData(h)}function d(a){return a.data(h)}var f="ng-animate-ref",g=this.drivers=[],h="$$animationRunner";this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(a,h,i,j,k,l){function p(a){function b(a){if(a.processed)return a;a.processed=!0;var c=a.domNode,d=c.parentNode;f.put(c,a);for(var g;d;){if(g=f.get(d)){g.processed||(g=b(g));break}d=d.parentNode}return(g||e).children.push(a),a}function c(a){var b,c=[],d=[];for(b=0;b<a.children.length;b++)d.push(a.children[b]);var e=d.length,f=0,g=[];for(b=0;b<d.length;b++){var h=d[b];0>=e&&(e=f,f=0,c.push(g),g=[]),g.push(h.fn),h.children.forEach(function(a){f++,d.push(a)}),e--}return g.length&&c.push(g),c}var d,e={children:[]},f=new k;for(d=0;d<a.length;d++){var g=a[d];f.put(g.domNode,a[d]={domNode:g.domNode,fn:g.fn,children:[]})}for(d=0;d<a.length;d++)b(a[d]);return c(e)}var q=[],r=m(a);return function(k,m,s){function u(a){var b="["+f+"]",c=a.hasAttribute(f)?[a]:a.querySelectorAll(b),d=[];return P(c,function(a){var b=a.getAttribute(f);b&&b.length&&d.push(a)}),d}function v(a){var b=[],c={};P(a,function(a,d){var e=a.element,g=t(e),h=a.event,i=["enter","move"].indexOf(h)>=0,j=a.structural?u(g):[];if(j.length){var k=i?"to":"from";P(j,function(a){var b=a.getAttribute(f);c[b]=c[b]||{},c[b][k]={animationID:d,element:O(a)}})}else b.push(a)});var d={},e={};return P(c,function(c,f){var g=c.from,h=c.to;if(!g||!h){var i=g?g.animationID:h.animationID,j=i.toString();return void(d[j]||(d[j]=!0,b.push(a[i])))}var k=a[g.animationID],l=a[h.animationID],m=g.animationID.toString();if(!e[m]){var n=e[m]={structural:!0,beforeStart:function(){k.beforeStart(),l.beforeStart()},close:function(){k.close(),l.close()},classes:w(k.classes,l.classes),from:k,to:l,anchors:[]};n.classes.length?b.push(n):(b.push(k),b.push(l))}e[m].anchors.push({out:g.element,"in":h.element})}),b}function w(a,b){a=a.split(" "),b=b.split(" ");for(var c=[],d=0;d<a.length;d++){var e=a[d];if("ng-"!==e.substring(0,3))for(var f=0;f<b.length;f++)if(e===b[f]){c.push(e);break}}return c.join(" ")}function x(a){for(var b=g.length-1;b>=0;b--){var c=g[b];if(i.has(c)){var d=i.get(c),e=d(a);if(e)return e}}}function y(){k.addClass(aa),F&&a.addClass(k,F)}function z(a,b){function c(a){d(a).setHost(b)}a.from&&a.to?(c(a.from.element),c(a.to.element)):c(a.element)}function A(){var a=d(k);!a||"leave"===m&&s.$$domOperationFired||a.end()}function B(b){k.off("$destroy",A),c(k),r(k,s),o(k,s),s.domOperation(),F&&a.removeClass(k,F),k.removeClass(aa),D.complete(!b)}s=n(s);var C=["enter","move","leave"].indexOf(m)>=0,D=new j({end:function(){B()},cancel:function(){B(!0)}});if(!g.length)return B(),D;b(k,D);var E=e(k.attr("class"),e(s.addClass,s.removeClass)),F=s.tempClasses;return F&&(E+=" "+F,s.tempClasses=null),q.push({element:k,classes:E,event:m,structural:C,options:s,beforeStart:y,close:B}),k.on("$destroy",A),q.length>1?D:(h.$$postDigest(function(){var a=[];P(q,function(b){d(b.element)?a.push(b):b.close()}),q.length=0;var b=v(a),c=[];P(b,function(a){c.push({domNode:t(a.from?a.from.element:a.element),fn:function(){a.beforeStart();var b,c=a.close,e=a.anchors?a.from.element||a.to.element:a.element;if(d(e)){var f=x(a);f&&(b=f.start)}if(b){var g=b();g.done(function(a){c(!a)}),z(a,g)}else c()}})}),l(p(c))}),D)}}]}];b.module("ngAnimate",[]).directive("ngAnimateChildren",pa).factory("$$rAFScheduler",oa).factory("$$AnimateRunner",Ea).factory("$$animateAsyncRun",Da).provider("$$animateQueue",Ca).provider("$$animation",Fa).provider("$animateCss",wa).provider("$$animateCssDriver",xa).provider("$$animateJs",ya).provider("$$animateJsDriver",za)}(window,window.angular),angular.module("colorpicker.module",[]).factory("Helper",function(){"use strict";return{closestSlider:function(a){var b=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.msMatchesSelector;return b.bind(a)("I")?a.parentNode:a},getOffset:function(a,b){for(var c=0,d=0,e=a.getBoundingClientRect();a&&!isNaN(a.offsetLeft)&&!isNaN(a.offsetTop);)b||"BODY"!==a.tagName?(c+=a.scrollLeft,d+=a.scrollTop):(c+=document.documentElement.scrollLeft||a.scrollLeft,d+=document.documentElement.scrollTop||a.scrollTop),a=a.offsetParent;return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset,scrollX:c,scrollY:d}},stringParsers:[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(a){return[a[1],a[2],a[3],a[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(a){return[2.55*a[1],2.55*a[2],2.55*a[3],a[4]]}},{re:/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/,parse:function(a){return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)]}},{re:/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/,parse:function(a){return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)]}}]}}).factory("Color",["Helper",function(a){"use strict";return{value:{h:1,s:1,b:1,a:1},rgb:function(){var a=this.toRGB();return"rgb("+a.r+","+a.g+","+a.b+")"},rgba:function(){var a=this.toRGB();return"rgba("+a.r+","+a.g+","+a.b+","+a.a+")"},hex:function(){return this.toHex()},RGBtoHSB:function(a,b,c,d){a/=255,b/=255,c/=255;var e,f,g,h;return g=Math.max(a,b,c),h=g-Math.min(a,b,c),e=0===h?null:g===a?(b-c)/h:g===b?(c-a)/h+2:(a-b)/h+4,e=(e+360)%6*60/360,f=0===h?0:h/g,{h:e||1,s:f,b:g,a:d||1}},setColor:function(b){b=b.toLowerCase();for(var c in a.stringParsers)if(a.stringParsers.hasOwnProperty(c)){var d=a.stringParsers[c],e=d.re.exec(b),f=e&&d.parse(e);if(f)return this.value=this.RGBtoHSB.apply(null,f),!1}},setHue:function(a){this.value.h=1-a},setSaturation:function(a){this.value.s=a},setLightness:function(a){this.value.b=1-a},setAlpha:function(a){this.value.a=parseInt(100*(1-a),10)/100},toRGB:function(a,b,c,d){a||(a=this.value.h,b=this.value.s,c=this.value.b),a*=360;var e,f,g,h,i;return a=a%360/60,i=c*b,h=i*(1-Math.abs(a%2-1)),e=f=g=c-i,a=~~a,e+=[i,h,0,0,h,i][a],f+=[h,i,i,h,0,0][a],g+=[0,0,h,i,i,h][a],{r:Math.round(255*e),g:Math.round(255*f),b:Math.round(255*g),a:d||this.value.a}},toHex:function(a,b,c,d){var e=this.toRGB(a,b,c,d);return"#"+(1<<24|parseInt(e.r,10)<<16|parseInt(e.g,10)<<8|parseInt(e.b,10)).toString(16).substr(1)}}}]).factory("Slider",["Helper",function(a){"use strict";var b={maxLeft:0,maxTop:0,callLeft:null,callTop:null,knob:{top:0,left:0}},c={};return{getSlider:function(){return b},getLeftPosition:function(a){return Math.max(0,Math.min(b.maxLeft,b.left+((a.pageX||c.left)-c.left)))},getTopPosition:function(a){return Math.max(0,Math.min(b.maxTop,b.top+((a.pageY||c.top)-c.top)))},setSlider:function(d,e){var f=a.closestSlider(d.target),g=a.getOffset(f,e),h=f.getBoundingClientRect(),i=d.clientX-h.left,j=d.clientY-h.top;b.knob=f.children[0].style,b.left=d.pageX-g.left-window.pageXOffset+g.scrollX,b.top=d.pageY-g.top-window.pageYOffset+g.scrollY,c={left:d.pageX-(i-b.left),top:d.pageY-(j-b.top)}},setSaturation:function(a,c){b={maxLeft:100,maxTop:100,callLeft:"setSaturation",callTop:"setLightness"},this.setSlider(a,c)},setHue:function(a,c){b={maxLeft:0,maxTop:100,callLeft:!1,callTop:"setHue"},this.setSlider(a,c)},setAlpha:function(a,c){b={maxLeft:0,maxTop:100,callLeft:!1,callTop:"setAlpha"},this.setSlider(a,c)},setKnob:function(a,c){b.knob.top=a+"px",b.knob.left=c+"px"}}}]).directive("colorpicker",["$document","$compile","Color","Slider","Helper",function(a,b,c,d,e){"use strict";return{require:"?ngModel",restrict:"A",link:function(f,g,h,i){var j,k=h.colorpicker?h.colorpicker:"hex",l=angular.isDefined(h.colorpickerPosition)?h.colorpickerPosition:"bottom",m=angular.isDefined(h.colorpickerInline)?h.colorpickerInline:!1,n=angular.isDefined(h.colorpickerFixedPosition)?h.colorpickerFixedPosition:!1,o=angular.isDefined(h.colorpickerParent)?g.parent():angular.element(document.body),p=angular.isDefined(h.colorpickerWithInput)?h.colorpickerWithInput:!1,q=p?'<input type="text" name="colorpicker-input" spellcheck="false">':"",r=m?"":'<button type="button" class="close close-colorpicker">&times;</button>',s='<div class="colorpicker dropdown"><div class="dropdown-menu"><colorpicker-saturation><i></i></colorpicker-saturation><colorpicker-hue><i></i></colorpicker-hue><colorpicker-alpha><i></i></colorpicker-alpha><colorpicker-preview></colorpicker-preview>'+q+r+"</div></div>",t=angular.element(s),u=c,v=t.find("colorpicker-hue"),w=t.find("colorpicker-saturation"),x=t.find("colorpicker-preview"),y=t.find("i");if(b(t)(f),p){var z=t.find("input");z.on("mousedown",function(a){a.stopPropagation()}).on("keyup",function(){var a=this.value;g.val(a),i&&i.$modelValue!==a&&(f.$apply(i.$setViewValue(a)),E(!0))})}var A=function(){a.on("mousemove",C),a.on("mouseup",D)};"rgba"===k&&(t.addClass("alpha"),j=t.find("colorpicker-alpha"),j.on("click",function(a){d.setAlpha(a,n),C(a)}).on("mousedown",function(a){d.setAlpha(a,n),A()}).on("mouseup",function(a){I("colorpicker-selected-alpha")})),v.on("click",function(a){d.setHue(a,n),C(a)}).on("mousedown",function(a){d.setHue(a,n),A()}).on("mouseup",function(a){I("colorpicker-selected-hue")}),w.on("click",function(a){d.setSaturation(a,n),C(a),angular.isDefined(h.colorpickerCloseOnSelect)&&J()}).on("mousedown",function(a){d.setSaturation(a,n),A()}).on("mouseup",function(a){I("colorpicker-selected-saturation")}),n&&t.addClass("colorpicker-fixed-position"),t.addClass("colorpicker-position-"+l),"true"===m&&t.addClass("colorpicker-inline"),o.append(t),i&&(i.$render=function(){g.val(i.$viewValue)}),g.on("blur keyup change",function(){E()}),g.on("$destroy",function(){t.remove()});var B=function(){try{x.css("backgroundColor",u[k]())}catch(a){x.css("backgroundColor",u.toHex())}w.css("backgroundColor",u.toHex(u.value.h,1,1,1)),"rgba"===k&&(j.css.backgroundColor=u.toHex())},C=function(a){var b=d.getLeftPosition(a),c=d.getTopPosition(a),e=d.getSlider();d.setKnob(c,b),e.callLeft&&u[e.callLeft].call(u,b/100),e.callTop&&u[e.callTop].call(u,c/100),B();var h=u[k]();return g.val(h),i&&f.$apply(i.$setViewValue(h)),p&&z.val(h),!1},D=function(){I("colorpicker-selected"),a.off("mousemove",C),a.off("mouseup",D)},E=function(a){u.setColor(g.val()),p&&!a&&z.val(g.val()),y.eq(0).css({left:100*u.value.s+"px",top:100-100*u.value.b+"px"}),y.eq(1).css("top",100*(1-u.value.h)+"px"),y.eq(2).css("top",100*(1-u.value.a)+"px"),B()},F=function(){var a,b=e.getOffset(g[0]);return angular.isDefined(h.colorpickerParent)&&(b.left=0,b.top=0),"top"===l?a={top:b.top-147,left:b.left}:"right"===l?a={top:b.top,left:b.left+126}:"bottom"===l?a={top:b.top+g[0].offsetHeight+2,left:b.left}:"left"===l&&(a={top:b.top,left:b.left-150}),{top:a.top+"px",left:a.left+"px"}},G=function(){J()},H=function(){t.hasClass("colorpicker-visible")||(E(),t.addClass("colorpicker-visible").css(F()),I("colorpicker-shown"),m===!1&&a.on("mousedown",G),h.colorpickerIsOpen&&(f[h.colorpickerIsOpen]=!0,f.$$phase||f.$digest()))};m===!1?g.on("click",H):H(),t.on("mousedown",function(a){a.stopPropagation(),a.preventDefault()});var I=function(a){i&&f.$emit(a,{name:h.ngModel,value:i.$modelValue})},J=function(){t.hasClass("colorpicker-visible")&&(t.removeClass("colorpicker-visible"),I("colorpicker-closed"),a.off("mousedown",G),h.colorpickerIsOpen&&(f[h.colorpickerIsOpen]=!1,f.$$phase||f.$digest()))};t.find("button").on("click",function(){J()}),h.colorpickerIsOpen&&f.$watch(h.colorpickerIsOpen,function(a){a===!0?H():a===!1&&J()})}}}]),angular.module("ui.bootstrap.contextMenu",[]).directive("contextMenu",["$parse",function(a){var b=function(a,b,c,d){if(!e)var e=angular.element;e(b.currentTarget).addClass("context");var f=e("<div>");f.addClass("dropdown clearfix");var g=e("<ul>");g.addClass("dropdown-menu"),g.attr({role:"menu"}),g.css({display:"block",position:"absolute",left:b.pageX+"px",top:b.pageY+"px"}),angular.forEach(c,function(c,h){var i=e("<li>");if(null===c)i.addClass("divider");else{var j=e("<a>");j.attr({tabindex:"-1",href:"#"});var k="string"==typeof c[0]?c[0]:c[0].call(a,a,b,d);j.text(k),i.append(j);var l=angular.isDefined(c[2])?c[2].call(a,a,b,k,d):!0;l?i.on("click",function(g){g.preventDefault(),a.$apply(function(){e(b.currentTarget).removeClass("context"),f.remove(),c[1].call(a,a,b,d)})}):(i.on("click",function(a){a.preventDefault()}),i.addClass("disabled"))}g.append(i)}),f.append(g);var h=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight);f.css({width:"100%",height:h+"px",position:"absolute",top:0,left:0,zIndex:9999}),e(document).find("body").append(f),f.on("mousedown",function(a){e(a.target).hasClass("dropdown")&&(e(b.currentTarget).removeClass("context"),f.remove())}).on("contextmenu",function(a){e(a.currentTarget).removeClass("context"),a.preventDefault(),f.remove()})};return function(a,c,d){c.on("contextmenu",function(c){c.stopPropagation(),a.$apply(function(){c.preventDefault();var e=a.$eval(d.contextMenu),f=a.$eval(d.model);if(!(e instanceof Array))throw'"'+d.contextMenu+'" not an array';0!==e.length&&b(a,c,e,f)})})}}]),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.5",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.5",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),a(c.target).is('input[type="radio"]')||a(c.target).is('input[type="checkbox"]')||c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.5",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.5",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,
-this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger("hidden.bs.dropdown",f))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.5",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger("shown.bs.dropdown",h)}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&j<i.length-1&&j++,~j||(j=0),i.eq(j).trigger("focus")}}}};var h=a.fn.dropdown;a.fn.dropdown=d,a.fn.dropdown.Constructor=g,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=h,this},a(document).on("click.bs.dropdown.data-api",c).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",f,g.prototype.toggle).on("keydown.bs.dropdown.data-api",f,g.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",g.prototype.keydown)}(jQuery),+function(a){"use strict";function b(b,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},c.DEFAULTS,e.data(),"object"==typeof b&&b);f||e.data("bs.modal",f=new c(this,g)),"string"==typeof b?f[b](d):g.show&&f.show(d)})}var c=function(b,c){this.options=c,this.$body=a(document.body),this.$element=a(b),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};c.VERSION="3.3.5",c.TRANSITION_DURATION=300,c.BACKDROP_TRANSITION_DURATION=150,c.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},c.prototype.toggle=function(a){return this.isShown?this.hide():this.show(a)},c.prototype.show=function(b){var d=this,e=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(e),this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){d.$element.one("mouseup.dismiss.bs.modal",function(b){a(b.target).is(d.$element)&&(d.ignoreBackdropClick=!0)})}),this.backdrop(function(){var e=a.support.transition&&d.$element.hasClass("fade");d.$element.parent().length||d.$element.appendTo(d.$body),d.$element.show().scrollTop(0),d.adjustDialog(),e&&d.$element[0].offsetWidth,d.$element.addClass("in"),d.enforceFocus();var f=a.Event("shown.bs.modal",{relatedTarget:b});e?d.$dialog.one("bsTransitionEnd",function(){d.$element.trigger("focus").trigger(f)}).emulateTransitionEnd(c.TRANSITION_DURATION):d.$element.trigger("focus").trigger(f)}))},c.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(c.TRANSITION_DURATION):this.hideModal())},c.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.trigger("focus")},this))},c.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},c.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},c.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.$body.removeClass("modal-open"),a.resetAdjustments(),a.resetScrollbar(),a.$element.trigger("hidden.bs.modal")})},c.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},c.prototype.backdrop=function(b){var d=this,e=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var f=a.support.transition&&e;if(this.$backdrop=a(document.createElement("div")).addClass("modal-backdrop "+e).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(a){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),f&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;f?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):b()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var g=function(){d.removeBackdrop(),b&&b()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",g).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):g()}else b&&b()},c.prototype.handleUpdate=function(){this.adjustDialog()},c.prototype.adjustDialog=function(){var a=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth<a,this.scrollbarWidth=this.measureScrollbar()},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",a+this.scrollbarWidth)},c.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevented()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus")})}),b.call(f,g,this)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",a,b)};c.VERSION="3.3.5",c.TRANSITION_DURATION=150,c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),c.isInStateTrue()?void 0:(clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide())},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-m<o.top?"bottom":"right"==h&&k.right+l>o.width?"left":"left"==h&&k.left-l<o.left?"right":h,f.removeClass(n).addClass(h)}var p=this.getCalculatedOffset(h,k,l,m);this.applyPlacement(p,h);var q=function(){var a=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==a&&e.leave(e)};a.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",q).emulateTransitionEnd(c.TRANSITION_DURATION):q()}},c.prototype.applyPlacement=function(b,c){var d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),b.top+=g,b.left+=h,a.offset.setOffset(d[0],a.extend({using:function(a){d.css({top:Math.round(a.top),left:Math.round(a.left)})}},b),0),d.addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;"top"==c&&j!=f&&(b.top=b.top+f-j);var k=this.getViewportAdjustedDelta(c,b,i,j);k.left?b.left+=k.left:b.top+=k.top;var l=/top|bottom/.test(c),m=l?2*k.left-e+i:2*k.top-f+j,n=l?"offsetWidth":"offsetHeight";d.offset(b),this.replaceArrow(m,d[0][n],l)},c.prototype.replaceArrow=function(a,b,c){this.arrow().css(c?"left":"top",50*(1-a/b)+"%").css(c?"top":"left","")},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},c.prototype.hide=function(b){function d(){"in"!=e.hoverState&&f.detach(),e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),b&&b()}var e=this,f=a(this.$tip),g=a.Event("hide.bs."+this.type);return this.$element.trigger(g),g.isDefaultPrevented()?void 0:(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one("bsTransitionEnd",d).emulateTransitionEnd(c.TRANSITION_DURATION):d(),this.hoverState=null,this)},c.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},c.prototype.hasContent=function(){return this.getTitle()},c.prototype.getPosition=function(b){b=b||this.$element;var c=b[0],d="BODY"==c.tagName,e=c.getBoundingClientRect();null==e.width&&(e=a.extend({},e,{width:e.right-e.left,height:e.bottom-e.top}));var f=d?{top:0,left:0}:b.offset(),g={scroll:d?document.documentElement.scrollTop||document.body.scrollTop:b.scrollTop()},h=d?{width:a(window).width(),height:a(window).height()}:null;return a.extend({},e,g,h,f)},c.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},c.prototype.getViewportAdjustedDelta=function(a,b,c,d){var e={top:0,left:0};if(!this.$viewport)return e;var f=this.options.viewport&&this.options.viewport.padding||0,g=this.getPosition(this.$viewport);if(/right|left/.test(a)){var h=b.top-f-g.scroll,i=b.top+f-g.scroll+d;h<g.top?e.top=g.top-h:i>g.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;j<g.left?e.left=g.left-j:k>g.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.5",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.5",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b<e[0])return this.activeTarget=null,this.clear();for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(void 0===e[a+1]||b<e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,this.clear();var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")},b.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.3.5",c.TRANSITION_DURATION=150,c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a"),f=a.Event("hide.bs.tab",{relatedTarget:b[0]}),g=a.Event("show.bs.tab",{relatedTarget:e[0]});if(e.trigger(f),b.trigger(g),!g.isDefaultPrevented()&&!f.isDefaultPrevented()){var h=a(d);this.activate(b.closest("li"),c),this.activate(h,h.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:b[0]}),b.trigger({type:"shown.bs.tab",relatedTarget:e[0]})})}}},c.prototype.activate=function(b,d,e){function f(){g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.5",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery),function(){var a=[].slice;!function(b,c){"use strict";var d;return d=function(){function a(a,c){null==c&&(c={}),this.$element=b(a),this.options=b.extend({},b.fn.bootstrapSwitch.defaults,{state:this.$element.is(":checked"),size:this.$element.data("size"),animate:this.$element.data("animate"),disabled:this.$element.is(":disabled"),readonly:this.$element.is("[readonly]"),indeterminate:this.$element.data("indeterminate"),inverse:this.$element.data("inverse"),radioAllOff:this.$element.data("radio-all-off"),onColor:this.$element.data("on-color"),offColor:this.$element.data("off-color"),onText:this.$element.data("on-text"),offText:this.$element.data("off-text"),labelText:this.$element.data("label-text"),handleWidth:this.$element.data("handle-width"),labelWidth:this.$element.data("label-width"),baseClass:this.$element.data("base-class"),wrapperClass:this.$element.data("wrapper-class")},c),this.$wrapper=b("<div>",{"class":function(a){return function(){var b;return b=[""+a.options.baseClass].concat(a._getClasses(a.options.wrapperClass)),b.push(a.options.state?""+a.options.baseClass+"-on":""+a.options.baseClass+"-off"),null!=a.options.size&&b.push(""+a.options.baseClass+"-"+a.options.size),a.options.disabled&&b.push(""+a.options.baseClass+"-disabled"),a.options.readonly&&b.push(""+a.options.baseClass+"-readonly"),a.options.indeterminate&&b.push(""+a.options.baseClass+"-indeterminate"),a.options.inverse&&b.push(""+a.options.baseClass+"-inverse"),a.$element.attr("id")&&b.push(""+a.options.baseClass+"-id-"+a.$element.attr("id")),b.join(" ")}}(this)()}),this.$container=b("<div>",{"class":""+this.options.baseClass+"-container"}),this.$on=b("<span>",{html:this.options.onText,"class":""+this.options.baseClass+"-handle-on "+this.options.baseClass+"-"+this.options.onColor}),this.$off=b("<span>",{html:this.options.offText,"class":""+this.options.baseClass+"-handle-off "+this.options.baseClass+"-"+this.options.offColor}),this.$label=b("<span>",{html:this.options.labelText,"class":""+this.options.baseClass+"-label"}),this.$element.on("init.bootstrapSwitch",function(b){return function(){return b.options.onInit.apply(a,arguments)}}(this)),this.$element.on("switchChange.bootstrapSwitch",function(b){return function(){return b.options.onSwitchChange.apply(a,arguments)}}(this)),this.$container=this.$element.wrap(this.$container).parent(),this.$wrapper=this.$container.wrap(this.$wrapper).parent(),this.$element.before(this.options.inverse?this.$off:this.$on).before(this.$label).before(this.options.inverse?this.$on:this.$off),this.options.indeterminate&&this.$element.prop("indeterminate",!0),this._init(),this._elementHandlers(),this._handleHandlers(),this._labelHandlers(),this._formHandler(),this._externalLabelHandler(),this.$element.trigger("init.bootstrapSwitch")}return a.prototype._constructor=a,a.prototype.state=function(a,b){return"undefined"==typeof a?this.options.state:this.options.disabled||this.options.readonly?this.$element:this.options.state&&!this.options.radioAllOff&&this.$element.is(":radio")?this.$element:(this.options.indeterminate&&this.indeterminate(!1),a=!!a,this.$element.prop("checked",a).trigger("change.bootstrapSwitch",b),this.$element)},a.prototype.toggleState=function(a){return this.options.disabled||this.options.readonly?this.$element:this.options.indeterminate?(this.indeterminate(!1),this.state(!0)):this.$element.prop("checked",!this.options.state).trigger("change.bootstrapSwitch",a)},a.prototype.size=function(a){return"undefined"==typeof a?this.options.size:(null!=this.options.size&&this.$wrapper.removeClass(""+this.options.baseClass+"-"+this.options.size),a&&this.$wrapper.addClass(""+this.options.baseClass+"-"+a),this._width(),this._containerPosition(),this.options.size=a,this.$element)},a.prototype.animate=function(a){return"undefined"==typeof a?this.options.animate:(a=!!a,a===this.options.animate?this.$element:this.toggleAnimate())},a.prototype.toggleAnimate=function(){return this.options.animate=!this.options.animate,this.$wrapper.toggleClass(""+this.options.baseClass+"-animate"),this.$element},a.prototype.disabled=function(a){return"undefined"==typeof a?this.options.disabled:(a=!!a,a===this.options.disabled?this.$element:this.toggleDisabled())},a.prototype.toggleDisabled=function(){return this.options.disabled=!this.options.disabled,this.$element.prop("disabled",this.options.disabled),this.$wrapper.toggleClass(""+this.options.baseClass+"-disabled"),this.$element},a.prototype.readonly=function(a){return"undefined"==typeof a?this.options.readonly:(a=!!a,a===this.options.readonly?this.$element:this.toggleReadonly())},a.prototype.toggleReadonly=function(){return this.options.readonly=!this.options.readonly,this.$element.prop("readonly",this.options.readonly),this.$wrapper.toggleClass(""+this.options.baseClass+"-readonly"),this.$element},a.prototype.indeterminate=function(a){return"undefined"==typeof a?this.options.indeterminate:(a=!!a,a===this.options.indeterminate?this.$element:this.toggleIndeterminate())},a.prototype.toggleIndeterminate=function(){return this.options.indeterminate=!this.options.indeterminate,this.$element.prop("indeterminate",this.options.indeterminate),this.$wrapper.toggleClass(""+this.options.baseClass+"-indeterminate"),this._containerPosition(),this.$element},a.prototype.inverse=function(a){
-return"undefined"==typeof a?this.options.inverse:(a=!!a,a===this.options.inverse?this.$element:this.toggleInverse())},a.prototype.toggleInverse=function(){var a,b;return this.$wrapper.toggleClass(""+this.options.baseClass+"-inverse"),b=this.$on.clone(!0),a=this.$off.clone(!0),this.$on.replaceWith(a),this.$off.replaceWith(b),this.$on=a,this.$off=b,this.options.inverse=!this.options.inverse,this.$element},a.prototype.onColor=function(a){var b;return b=this.options.onColor,"undefined"==typeof a?b:(null!=b&&this.$on.removeClass(""+this.options.baseClass+"-"+b),this.$on.addClass(""+this.options.baseClass+"-"+a),this.options.onColor=a,this.$element)},a.prototype.offColor=function(a){var b;return b=this.options.offColor,"undefined"==typeof a?b:(null!=b&&this.$off.removeClass(""+this.options.baseClass+"-"+b),this.$off.addClass(""+this.options.baseClass+"-"+a),this.options.offColor=a,this.$element)},a.prototype.onText=function(a){return"undefined"==typeof a?this.options.onText:(this.$on.html(a),this._width(),this._containerPosition(),this.options.onText=a,this.$element)},a.prototype.offText=function(a){return"undefined"==typeof a?this.options.offText:(this.$off.html(a),this._width(),this._containerPosition(),this.options.offText=a,this.$element)},a.prototype.labelText=function(a){return"undefined"==typeof a?this.options.labelText:(this.$label.html(a),this._width(),this.options.labelText=a,this.$element)},a.prototype.handleWidth=function(a){return"undefined"==typeof a?this.options.handleWidth:(this.options.handleWidth=a,this._width(),this._containerPosition(),this.$element)},a.prototype.labelWidth=function(a){return"undefined"==typeof a?this.options.labelWidth:(this.options.labelWidth=a,this._width(),this._containerPosition(),this.$element)},a.prototype.baseClass=function(a){return this.options.baseClass},a.prototype.wrapperClass=function(a){return"undefined"==typeof a?this.options.wrapperClass:(a||(a=b.fn.bootstrapSwitch.defaults.wrapperClass),this.$wrapper.removeClass(this._getClasses(this.options.wrapperClass).join(" ")),this.$wrapper.addClass(this._getClasses(a).join(" ")),this.options.wrapperClass=a,this.$element)},a.prototype.radioAllOff=function(a){return"undefined"==typeof a?this.options.radioAllOff:(a=!!a,a===this.options.radioAllOff?this.$element:(this.options.radioAllOff=a,this.$element))},a.prototype.onInit=function(a){return"undefined"==typeof a?this.options.onInit:(a||(a=b.fn.bootstrapSwitch.defaults.onInit),this.options.onInit=a,this.$element)},a.prototype.onSwitchChange=function(a){return"undefined"==typeof a?this.options.onSwitchChange:(a||(a=b.fn.bootstrapSwitch.defaults.onSwitchChange),this.options.onSwitchChange=a,this.$element)},a.prototype.destroy=function(){var a;return a=this.$element.closest("form"),a.length&&a.off("reset.bootstrapSwitch").removeData("bootstrap-switch"),this.$container.children().not(this.$element).remove(),this.$element.unwrap().unwrap().off(".bootstrapSwitch").removeData("bootstrap-switch"),this.$element},a.prototype._width=function(){var a,b;return a=this.$on.add(this.$off),a.add(this.$label).css("width",""),b="auto"===this.options.handleWidth?Math.max(this.$on.width(),this.$off.width()):this.options.handleWidth,a.width(b),this.$label.width(function(a){return function(c,d){return"auto"!==a.options.labelWidth?a.options.labelWidth:b>d?b:d}}(this)),this._handleWidth=this.$on.outerWidth(),this._labelWidth=this.$label.outerWidth(),this.$container.width(2*this._handleWidth+this._labelWidth),this.$wrapper.width(this._handleWidth+this._labelWidth)},a.prototype._containerPosition=function(a,b){return null==a&&(a=this.options.state),this.$container.css("margin-left",function(b){return function(){var c;return c=[0,"-"+b._handleWidth+"px"],b.options.indeterminate?"-"+b._handleWidth/2+"px":a?b.options.inverse?c[1]:c[0]:b.options.inverse?c[0]:c[1]}}(this)),b?setTimeout(function(){return b()},50):void 0},a.prototype._init=function(){var a,b;return a=function(a){return function(){return a._width(),a._containerPosition(null,function(){return a.options.animate?a.$wrapper.addClass(""+a.options.baseClass+"-animate"):void 0})}}(this),this.$wrapper.is(":visible")?a():b=c.setInterval(function(d){return function(){return d.$wrapper.is(":visible")?(a(),c.clearInterval(b)):void 0}}(this),50)},a.prototype._elementHandlers=function(){return this.$element.on({"change.bootstrapSwitch":function(a){return function(c,d){var e;return c.preventDefault(),c.stopImmediatePropagation(),e=a.$element.is(":checked"),a._containerPosition(e),e!==a.options.state?(a.options.state=e,a.$wrapper.toggleClass(""+a.options.baseClass+"-off").toggleClass(""+a.options.baseClass+"-on"),d?void 0:(a.$element.is(":radio")&&b("[name='"+a.$element.attr("name")+"']").not(a.$element).prop("checked",!1).trigger("change.bootstrapSwitch",!0),a.$element.trigger("switchChange.bootstrapSwitch",[e]))):void 0}}(this),"focus.bootstrapSwitch":function(a){return function(b){return b.preventDefault(),a.$wrapper.addClass(""+a.options.baseClass+"-focused")}}(this),"blur.bootstrapSwitch":function(a){return function(b){return b.preventDefault(),a.$wrapper.removeClass(""+a.options.baseClass+"-focused")}}(this),"keydown.bootstrapSwitch":function(a){return function(b){if(b.which&&!a.options.disabled&&!a.options.readonly)switch(b.which){case 37:return b.preventDefault(),b.stopImmediatePropagation(),a.state(!1);case 39:return b.preventDefault(),b.stopImmediatePropagation(),a.state(!0)}}}(this)})},a.prototype._handleHandlers=function(){return this.$on.on("click.bootstrapSwitch",function(a){return function(b){return b.preventDefault(),b.stopPropagation(),a.state(!1),a.$element.trigger("focus.bootstrapSwitch")}}(this)),this.$off.on("click.bootstrapSwitch",function(a){return function(b){return b.preventDefault(),b.stopPropagation(),a.state(!0),a.$element.trigger("focus.bootstrapSwitch")}}(this))},a.prototype._labelHandlers=function(){return this.$label.on({"mousedown.bootstrapSwitch touchstart.bootstrapSwitch":function(a){return function(b){return a._dragStart||a.options.disabled||a.options.readonly?void 0:(b.preventDefault(),b.stopPropagation(),a._dragStart=(b.pageX||b.originalEvent.touches[0].pageX)-parseInt(a.$container.css("margin-left"),10),a.options.animate&&a.$wrapper.removeClass(""+a.options.baseClass+"-animate"),a.$element.trigger("focus.bootstrapSwitch"))}}(this),"mousemove.bootstrapSwitch touchmove.bootstrapSwitch":function(a){return function(b){var c;if(null!=a._dragStart&&(b.preventDefault(),c=(b.pageX||b.originalEvent.touches[0].pageX)-a._dragStart,!(c<-a._handleWidth||c>0)))return a._dragEnd=c,a.$container.css("margin-left",""+a._dragEnd+"px")}}(this),"mouseup.bootstrapSwitch touchend.bootstrapSwitch":function(a){return function(b){var c;if(a._dragStart)return b.preventDefault(),a.options.animate&&a.$wrapper.addClass(""+a.options.baseClass+"-animate"),a._dragEnd?(c=a._dragEnd>-(a._handleWidth/2),a._dragEnd=!1,a.state(a.options.inverse?!c:c)):a.state(!a.options.state),a._dragStart=!1}}(this),"mouseleave.bootstrapSwitch":function(a){return function(b){return a.$label.trigger("mouseup.bootstrapSwitch")}}(this)})},a.prototype._externalLabelHandler=function(){var a;return a=this.$element.closest("label"),a.on("click",function(b){return function(c){return c.preventDefault(),c.stopImmediatePropagation(),c.target===a[0]?b.toggleState():void 0}}(this))},a.prototype._formHandler=function(){var a;return a=this.$element.closest("form"),a.data("bootstrap-switch")?void 0:a.on("reset.bootstrapSwitch",function(){return c.setTimeout(function(){return a.find("input").filter(function(){return b(this).data("bootstrap-switch")}).each(function(){return b(this).bootstrapSwitch("state",this.checked)})},1)}).data("bootstrap-switch",!0)},a.prototype._getClasses=function(a){var c,d,e,f;if(!b.isArray(a))return[""+this.options.baseClass+"-"+a];for(d=[],e=0,f=a.length;f>e;e++)c=a[e],d.push(""+this.options.baseClass+"-"+c);return d},a}(),b.fn.bootstrapSwitch=function(){var c,e,f;return e=arguments[0],c=2<=arguments.length?a.call(arguments,1):[],f=this,this.each(function(){var a,g;return a=b(this),g=a.data("bootstrap-switch"),g||a.data("bootstrap-switch",g=new d(this,e)),"string"==typeof e?f=g[e].apply(g,c):void 0}),f},b.fn.bootstrapSwitch.Constructor=d,b.fn.bootstrapSwitch.defaults={state:!0,size:null,animate:!0,disabled:!1,readonly:!1,indeterminate:!1,inverse:!1,radioAllOff:!1,onColor:"primary",offColor:"default",onText:"ON",offText:"OFF",labelText:"&nbsp;",handleWidth:"auto",labelWidth:"auto",baseClass:"bootstrap-switch",wrapperClass:"wrapper",onInit:function(){},onSwitchChange:function(){}}}(window.jQuery,window)}.call(this),function(){"use strict";angular.module("frapontillo.bootstrap-switch",[]),angular.module("frapontillo.bootstrap-switch").directive("bsSwitch",["$parse","$timeout",function(a,b){return{restrict:"A",require:"ngModel",link:function(c,d,e,f){var g=!1,h=function(){if("radio"===e.type)return e.value||a(e.ngValue)(c)||!0;var b=a(e.ngTrueValue)(c);return angular.isUndefined(b)&&(b=!0),b},i=function(a){return c.$eval(a)===!0},j=function(a){return a===!0||"true"===a||!a},k=function(a){return a?a:void 0},l=function(a){var b={switchRadioOff:j,switchActive:function(a){return!j(a)},switchAnimate:j,switchLabel:function(a){return a?a:"&nbsp;"},switchIcon:function(a){return a?"<span class='"+a+"'></span>":void 0},switchWrapper:function(a){return a||"wrapper"},switchInverse:i,switchReadonly:i},c=b[a]||k;return c(e[a])},m=function(a,b,c){if(g){var d=l(c);a.bootstrapSwitch(b,d)}},n=function(){m(d,"disabled","switchActive")},o=function(){if(!g){var a=f.$modelValue===h();g=!g,d.bootstrapSwitch({radioAllOff:l("switchRadioOff"),disabled:l("switchActive"),state:a,onText:l("switchOnText"),offText:l("switchOffText"),onColor:l("switchOnColor"),offColor:l("switchOffColor"),animate:l("switchAnimate"),size:l("switchSize"),labelText:l(e.switchLabel?"switchLabel":"switchIcon"),wrapperClass:l("switchWrapper"),handleWidth:l("switchHandleWidth"),labelWidth:l("switchLabelWidth"),inverse:l("switchInverse"),readonly:l("switchReadonly")}),"radio"===e.type?f.$setViewValue(f.$modelValue):f.$setViewValue(a)}},p=function(){function a(){return f.$modelValue}e.$observe("switchActive",function(a){var c=j(a);c?n(c):b(function(){n(c)})}),c.$watch(a,function(a){o(),void 0!==a?d.bootstrapSwitch("state",a===h(),!1):d.bootstrapSwitch("toggleIndeterminate",!0,!1)},!0);var g={switchRadioOff:"radioAllOff",switchOnText:"onText",switchOffText:"offText",switchOnColor:"onColor",switchOffColor:"offColor",switchAnimate:"animate",switchSize:"size",switchLabel:"labelText",switchIcon:"labelText",switchWrapper:"wrapperClass",switchHandleWidth:"handleWidth",switchLabelWidth:"labelWidth",switchInverse:"inverse",switchReadonly:"readonly"},i=function(a,b){return function(){e.$observe(a,function(){m(d,b[a],a)})}};for(var k in g)e.$observe(k,i(k,g))},q=function(){"radio"===e.type?d.on("change.bootstrapSwitch",function(a){f.$modelValue===f.$viewValue&&a.target.checked!==$(a.target).bootstrapSwitch("state")&&(a.target.checked?f.$setViewValue(h()):h()===f.$viewValue&&f.$setViewValue(void 0))}):d.on("switchChange.bootstrapSwitch",function(a){f.$setViewValue(a.target.checked)})};q(),p(),c.$on("$destroy",function(){d.bootstrapSwitch("destroy")})}}}]).directive("bsSwitch",function(){return{restrict:"E",require:"ngModel",template:"<input bs-switch>",replace:!0}})}(),function(){"use strict";var a=this,b=a.Chart,c=function(a){this.canvas=a.canvas,this.ctx=a;var b=function(a,b){return a["offset"+b]?a["offset"+b]:document.defaultView.getComputedStyle(a).getPropertyValue(b)},c=this.width=b(a.canvas,"Width"),e=this.height=b(a.canvas,"Height");a.canvas.width=c,a.canvas.height=e;var c=this.width=a.canvas.width,e=this.height=a.canvas.height;return this.aspectRatio=this.width/this.height,d.retinaScale(this),this};c.defaults={global:{animation:!0,animationSteps:60,animationEasing:"easeOutQuart",showScale:!0,scaleOverride:!1,scaleSteps:null,scaleStepWidth:null,scaleStartValue:null,scaleLineColor:"rgba(0,0,0,.1)",scaleLineWidth:1,scaleShowLabels:!0,scaleLabel:"<%=value%>",scaleIntegersOnly:!0,scaleBeginAtZero:!1,scaleFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",scaleFontSize:12,scaleFontStyle:"normal",scaleFontColor:"#666",responsive:!1,maintainAspectRatio:!0,showTooltips:!0,customTooltips:!1,tooltipEvents:["mousemove","touchstart","touchmove","mouseout"],tooltipFillColor:"rgba(0,0,0,0.8)",tooltipFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",tooltipFontSize:14,tooltipFontStyle:"normal",tooltipFontColor:"#fff",tooltipTitleFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",tooltipTitleFontSize:14,tooltipTitleFontStyle:"bold",tooltipTitleFontColor:"#fff",tooltipYPadding:6,tooltipXPadding:6,tooltipCaretSize:8,tooltipCornerRadius:6,tooltipXOffset:10,tooltipTemplate:"<%if (label){%><%=label%>: <%}%><%= value %>",multiTooltipTemplate:"<%= value %>",multiTooltipKeyBackground:"#fff",onAnimationProgress:function(){},onAnimationComplete:function(){}}},c.types={};var d=c.helpers={},e=d.each=function(a,b,c){var d=Array.prototype.slice.call(arguments,3);if(a)if(a.length===+a.length){var e;for(e=0;e<a.length;e++)b.apply(c,[a[e],e].concat(d))}else for(var f in a)b.apply(c,[a[f],f].concat(d))},f=d.clone=function(a){var b={};return e(a,function(c,d){a.hasOwnProperty(d)&&(b[d]=c)}),b},g=d.extend=function(a){return e(Array.prototype.slice.call(arguments,1),function(b){e(b,function(c,d){b.hasOwnProperty(d)&&(a[d]=c)})}),a},h=d.merge=function(a,b){var c=Array.prototype.slice.call(arguments,0);return c.unshift({}),g.apply(null,c)},i=d.indexOf=function(a,b){if(Array.prototype.indexOf)return a.indexOf(b);for(var c=0;c<a.length;c++)if(a[c]===b)return c;return-1},j=(d.where=function(a,b){var c=[];return d.each(a,function(a){b(a)&&c.push(a)}),c},d.findNextWhere=function(a,b,c){c||(c=-1);for(var d=c+1;d<a.length;d++){var e=a[d];if(b(e))return e}},d.findPreviousWhere=function(a,b,c){c||(c=a.length);for(var d=c-1;d>=0;d--){var e=a[d];if(b(e))return e}},d.inherits=function(a){var b=this,c=a&&a.hasOwnProperty("constructor")?a.constructor:function(){return b.apply(this,arguments)},d=function(){this.constructor=c};return d.prototype=b.prototype,c.prototype=new d,c.extend=j,a&&g(c.prototype,a),c.__super__=b.prototype,c}),k=d.noop=function(){},l=d.uid=function(){var a=0;return function(){return"chart-"+a++}}(),m=d.warn=function(a){window.console&&"function"==typeof window.console.warn&&console.warn(a)},n=d.amd="function"==typeof define&&define.amd,o=d.isNumber=function(a){return!isNaN(parseFloat(a))&&isFinite(a)},p=d.max=function(a){return Math.max.apply(Math,a)},q=d.min=function(a){return Math.min.apply(Math,a)},r=(d.cap=function(a,b,c){if(o(b)){if(a>b)return b}else if(o(c)&&c>a)return c;return a},d.getDecimalPlaces=function(a){return a%1!==0&&o(a)?a.toString().split(".")[1].length:0}),s=d.radians=function(a){return a*(Math.PI/180)},t=(d.getAngleFromPoint=function(a,b){var c=b.x-a.x,d=b.y-a.y,e=Math.sqrt(c*c+d*d),f=2*Math.PI+Math.atan2(d,c);return 0>c&&0>d&&(f+=2*Math.PI),{angle:f,distance:e}},d.aliasPixel=function(a){return a%2===0?0:.5}),u=(d.splineCurve=function(a,b,c,d){var e=Math.sqrt(Math.pow(b.x-a.x,2)+Math.pow(b.y-a.y,2)),f=Math.sqrt(Math.pow(c.x-b.x,2)+Math.pow(c.y-b.y,2)),g=d*e/(e+f),h=d*f/(e+f);return{inner:{x:b.x-g*(c.x-a.x),y:b.y-g*(c.y-a.y)},outer:{x:b.x+h*(c.x-a.x),y:b.y+h*(c.y-a.y)}}},d.calculateOrderOfMagnitude=function(a){return Math.floor(Math.log(a)/Math.LN10)}),v=(d.calculateScaleRange=function(a,b,c,d,e){var f=2,g=Math.floor(b/(1.5*c)),h=f>=g,i=p(a),j=q(a);i===j&&(i+=.5,j>=.5&&!d?j-=.5:i+=.5);for(var k=Math.abs(i-j),l=u(k),m=Math.ceil(i/(1*Math.pow(10,l)))*Math.pow(10,l),n=d?0:Math.floor(j/(1*Math.pow(10,l)))*Math.pow(10,l),o=m-n,r=Math.pow(10,l),s=Math.round(o/r);(s>g||g>2*s)&&!h;)if(s>g)r*=2,s=Math.round(o/r),s%1!==0&&(h=!0);else if(e&&l>=0){if(r/2%1!==0)break;r/=2,s=Math.round(o/r)}else r/=2,s=Math.round(o/r);return h&&(s=f,r=o/s),{steps:s,stepValue:r,min:n,max:n+s*r}},d.template=function(a,b){function c(a,b){var c=/\W/.test(a)?new Function("obj","var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push('"+a.replace(/[\r\t\n]/g," ").split("<%").join("   ").replace(/((^|%>)[^\t]*)'/g,"$1\r").replace(/\t=(.*?)%>/g,"',$1,'").split("   ").join("');").split("%>").join("p.push('").split("\r").join("\\'")+"');}return p.join('');"):d[a]=d[a];return b?c(b):c}if(a instanceof Function)return a(b);var d={};return c(a,b)}),w=(d.generateLabels=function(a,b,c,d){var f=new Array(b);return labelTemplateString&&e(f,function(b,e){f[e]=v(a,{value:c+d*(e+1)})}),f},d.easingEffects={linear:function(a){return a},easeInQuad:function(a){return a*a},easeOutQuad:function(a){return-1*a*(a-2)},easeInOutQuad:function(a){return(a/=.5)<1?.5*a*a:-0.5*(--a*(a-2)-1)},easeInCubic:function(a){return a*a*a},easeOutCubic:function(a){return 1*((a=a/1-1)*a*a+1)},easeInOutCubic:function(a){return(a/=.5)<1?.5*a*a*a:.5*((a-=2)*a*a+2)},easeInQuart:function(a){return a*a*a*a},easeOutQuart:function(a){return-1*((a=a/1-1)*a*a*a-1)},easeInOutQuart:function(a){return(a/=.5)<1?.5*a*a*a*a:-0.5*((a-=2)*a*a*a-2)},easeInQuint:function(a){return 1*(a/=1)*a*a*a*a},easeOutQuint:function(a){return 1*((a=a/1-1)*a*a*a*a+1)},easeInOutQuint:function(a){return(a/=.5)<1?.5*a*a*a*a*a:.5*((a-=2)*a*a*a*a+2)},easeInSine:function(a){return-1*Math.cos(a/1*(Math.PI/2))+1},easeOutSine:function(a){return 1*Math.sin(a/1*(Math.PI/2))},easeInOutSine:function(a){return-0.5*(Math.cos(Math.PI*a/1)-1)},easeInExpo:function(a){return 0===a?1:1*Math.pow(2,10*(a/1-1))},easeOutExpo:function(a){return 1===a?1:1*(-Math.pow(2,-10*a/1)+1)},easeInOutExpo:function(a){return 0===a?0:1===a?1:(a/=.5)<1?.5*Math.pow(2,10*(a-1)):.5*(-Math.pow(2,-10*--a)+2)},easeInCirc:function(a){return a>=1?a:-1*(Math.sqrt(1-(a/=1)*a)-1)},easeOutCirc:function(a){return 1*Math.sqrt(1-(a=a/1-1)*a)},easeInOutCirc:function(a){return(a/=.5)<1?-0.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)},easeInElastic:function(a){var b=1.70158,c=0,d=1;return 0===a?0:1==(a/=1)?1:(c||(c=.3),d<Math.abs(1)?(d=1,b=c/4):b=c/(2*Math.PI)*Math.asin(1/d),-(d*Math.pow(2,10*(a-=1))*Math.sin((1*a-b)*(2*Math.PI)/c)))},easeOutElastic:function(a){var b=1.70158,c=0,d=1;return 0===a?0:1==(a/=1)?1:(c||(c=.3),d<Math.abs(1)?(d=1,b=c/4):b=c/(2*Math.PI)*Math.asin(1/d),d*Math.pow(2,-10*a)*Math.sin((1*a-b)*(2*Math.PI)/c)+1)},easeInOutElastic:function(a){var b=1.70158,c=0,d=1;return 0===a?0:2==(a/=.5)?1:(c||(c=1*(.3*1.5)),d<Math.abs(1)?(d=1,b=c/4):b=c/(2*Math.PI)*Math.asin(1/d),1>a?-.5*(d*Math.pow(2,10*(a-=1))*Math.sin((1*a-b)*(2*Math.PI)/c)):d*Math.pow(2,-10*(a-=1))*Math.sin((1*a-b)*(2*Math.PI)/c)*.5+1)},easeInBack:function(a){var b=1.70158;return 1*(a/=1)*a*((b+1)*a-b)},easeOutBack:function(a){var b=1.70158;return 1*((a=a/1-1)*a*((b+1)*a+b)+1)},easeInOutBack:function(a){var b=1.70158;return(a/=.5)<1?.5*(a*a*(((b*=1.525)+1)*a-b)):.5*((a-=2)*a*(((b*=1.525)+1)*a+b)+2)},easeInBounce:function(a){return 1-w.easeOutBounce(1-a)},easeOutBounce:function(a){return(a/=1)<1/2.75?1*(7.5625*a*a):2/2.75>a?1*(7.5625*(a-=1.5/2.75)*a+.75):2.5/2.75>a?1*(7.5625*(a-=2.25/2.75)*a+.9375):1*(7.5625*(a-=2.625/2.75)*a+.984375)},easeInOutBounce:function(a){return.5>a?.5*w.easeInBounce(2*a):.5*w.easeOutBounce(2*a-1)+.5}}),x=d.requestAnimFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(a){return window.setTimeout(a,1e3/60)}}(),y=d.cancelAnimFrame=function(){return window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(a){return window.clearTimeout(a,1e3/60)}}(),z=(d.animationLoop=function(a,b,c,d,e,f){var g=0,h=w[c]||w.linear,i=function(){g++;var c=g/b,j=h(c);a.call(f,j,c,g),d.call(f,j,c),b>g?f.animationFrame=x(i):e.apply(f)};x(i)},d.getRelativePosition=function(a){var b,c,d=a.originalEvent||a,e=a.currentTarget||a.srcElement,f=e.getBoundingClientRect();return d.touches?(b=d.touches[0].clientX-f.left,c=d.touches[0].clientY-f.top):(b=d.clientX-f.left,c=d.clientY-f.top),{x:b,y:c}},d.addEvent=function(a,b,c){a.addEventListener?a.addEventListener(b,c):a.attachEvent?a.attachEvent("on"+b,c):a["on"+b]=c}),A=d.removeEvent=function(a,b,c){a.removeEventListener?a.removeEventListener(b,c,!1):a.detachEvent?a.detachEvent("on"+b,c):a["on"+b]=k},B=(d.bindEvents=function(a,b,c){a.events||(a.events={}),e(b,function(b){a.events[b]=function(){c.apply(a,arguments)},z(a.chart.canvas,b,a.events[b])})},d.unbindEvents=function(a,b){e(b,function(b,c){A(a.chart.canvas,c,b)})}),C=d.getMaximumWidth=function(a){var b=a.parentNode;return b.clientWidth},D=d.getMaximumHeight=function(a){var b=a.parentNode;return b.clientHeight},E=(d.getMaximumSize=d.getMaximumWidth,d.retinaScale=function(a){var b=a.ctx,c=a.canvas.width,d=a.canvas.height;window.devicePixelRatio&&(b.canvas.style.width=c+"px",b.canvas.style.height=d+"px",b.canvas.height=d*window.devicePixelRatio,b.canvas.width=c*window.devicePixelRatio,b.scale(window.devicePixelRatio,window.devicePixelRatio))}),F=d.clear=function(a){a.ctx.clearRect(0,0,a.width,a.height)},G=d.fontString=function(a,b,c){return b+" "+a+"px "+c},H=d.longestText=function(a,b,c){a.font=b;var d=0;return e(c,function(b){var c=a.measureText(b).width;d=c>d?c:d}),d},I=d.drawRoundedRectangle=function(a,b,c,d,e,f){a.beginPath(),a.moveTo(b+f,c),a.lineTo(b+d-f,c),a.quadraticCurveTo(b+d,c,b+d,c+f),a.lineTo(b+d,c+e-f),a.quadraticCurveTo(b+d,c+e,b+d-f,c+e),a.lineTo(b+f,c+e),a.quadraticCurveTo(b,c+e,b,c+e-f),a.lineTo(b,c+f),a.quadraticCurveTo(b,c,b+f,c),a.closePath()};c.instances={},c.Type=function(a,b,d){this.options=b,this.chart=d,this.id=l(),c.instances[this.id]=this,b.responsive&&this.resize(),this.initialize.call(this,a)},g(c.Type.prototype,{initialize:function(){return this},clear:function(){return F(this.chart),this},stop:function(){return y(this.animationFrame),this},resize:function(a){this.stop();var b=this.chart.canvas,c=C(this.chart.canvas),d=this.options.maintainAspectRatio?c/this.chart.aspectRatio:D(this.chart.canvas);return b.width=this.chart.width=c,b.height=this.chart.height=d,E(this.chart),"function"==typeof a&&a.apply(this,Array.prototype.slice.call(arguments,1)),this},reflow:k,render:function(a){return a&&this.reflow(),this.options.animation&&!a?d.animationLoop(this.draw,this.options.animationSteps,this.options.animationEasing,this.options.onAnimationProgress,this.options.onAnimationComplete,this):(this.draw(),this.options.onAnimationComplete.call(this)),this},generateLegend:function(){return v(this.options.legendTemplate,this)},destroy:function(){this.clear(),B(this,this.events);var a=this.chart.canvas;a.width=this.chart.width,a.height=this.chart.height,a.style.removeProperty?(a.style.removeProperty("width"),a.style.removeProperty("height")):(a.style.removeAttribute("width"),a.style.removeAttribute("height")),delete c.instances[this.id]},showTooltip:function(a,b){"undefined"==typeof this.activeElements&&(this.activeElements=[]);var f=function(a){var b=!1;return a.length!==this.activeElements.length?b=!0:(e(a,function(a,c){a!==this.activeElements[c]&&(b=!0)},this),b)}.call(this,a);if(f||b){if(this.activeElements=a,this.draw(),this.options.customTooltips&&this.options.customTooltips(!1),a.length>0)if(this.datasets&&this.datasets.length>1){for(var g,h,j=this.datasets.length-1;j>=0&&(g=this.datasets[j].points||this.datasets[j].bars||this.datasets[j].segments,h=i(g,a[0]),-1===h);j--);var k=[],l=[],m=function(a){var b,c,e,f,g,i=[],j=[],m=[];return d.each(this.datasets,function(a){b=a.points||a.bars||a.segments,b[h]&&b[h].hasValue()&&i.push(b[h])}),d.each(i,function(a){j.push(a.x),m.push(a.y),k.push(d.template(this.options.multiTooltipTemplate,a)),l.push({fill:a._saved.fillColor||a.fillColor,stroke:a._saved.strokeColor||a.strokeColor})},this),g=q(m),e=p(m),f=q(j),c=p(j),{x:f>this.chart.width/2?f:c,y:(g+e)/2}}.call(this,h);new c.MultiTooltip({x:m.x,y:m.y,xPadding:this.options.tooltipXPadding,yPadding:this.options.tooltipYPadding,xOffset:this.options.tooltipXOffset,fillColor:this.options.tooltipFillColor,textColor:this.options.tooltipFontColor,fontFamily:this.options.tooltipFontFamily,fontStyle:this.options.tooltipFontStyle,fontSize:this.options.tooltipFontSize,titleTextColor:this.options.tooltipTitleFontColor,titleFontFamily:this.options.tooltipTitleFontFamily,titleFontStyle:this.options.tooltipTitleFontStyle,titleFontSize:this.options.tooltipTitleFontSize,cornerRadius:this.options.tooltipCornerRadius,labels:k,legendColors:l,legendColorBackground:this.options.multiTooltipKeyBackground,title:a[0].label,chart:this.chart,ctx:this.chart.ctx,custom:this.options.customTooltips}).draw()}else e(a,function(a){var b=a.tooltipPosition();new c.Tooltip({x:Math.round(b.x),y:Math.round(b.y),xPadding:this.options.tooltipXPadding,yPadding:this.options.tooltipYPadding,fillColor:this.options.tooltipFillColor,textColor:this.options.tooltipFontColor,fontFamily:this.options.tooltipFontFamily,fontStyle:this.options.tooltipFontStyle,fontSize:this.options.tooltipFontSize,caretHeight:this.options.tooltipCaretSize,cornerRadius:this.options.tooltipCornerRadius,text:v(this.options.tooltipTemplate,a),chart:this.chart,custom:this.options.customTooltips}).draw()},this);return this}},toBase64Image:function(){return this.chart.canvas.toDataURL.apply(this.chart.canvas,arguments)}}),c.Type.extend=function(a){var b=this,d=function(){return b.apply(this,arguments)};if(d.prototype=f(b.prototype),g(d.prototype,a),d.extend=c.Type.extend,a.name||b.prototype.name){var e=a.name||b.prototype.name,i=c.defaults[b.prototype.name]?f(c.defaults[b.prototype.name]):{};c.defaults[e]=g(i,a.defaults),c.types[e]=d,c.prototype[e]=function(a,b){var f=h(c.defaults.global,c.defaults[e],b||{});return new d(a,f,this)}}else m("Name not provided for this chart, so it hasn't been registered");return b},c.Element=function(a){g(this,a),this.initialize.apply(this,arguments),this.save()},g(c.Element.prototype,{initialize:function(){},restore:function(a){return a?e(a,function(a){this[a]=this._saved[a]},this):g(this,this._saved),this},save:function(){return this._saved=f(this),delete this._saved._saved,this},update:function(a){return e(a,function(a,b){this._saved[b]=this[b],this[b]=a},this),this},transition:function(a,b){return e(a,function(a,c){this[c]=(a-this._saved[c])*b+this._saved[c]},this),this},tooltipPosition:function(){return{x:this.x,y:this.y}},hasValue:function(){return o(this.value)}}),c.Element.extend=j,c.Point=c.Element.extend({display:!0,inRange:function(a,b){var c=this.hitDetectionRadius+this.radius;return Math.pow(a-this.x,2)+Math.pow(b-this.y,2)<Math.pow(c,2)},draw:function(){if(this.display){var a=this.ctx;a.beginPath(),a.arc(this.x,this.y,this.radius,0,2*Math.PI),a.closePath(),a.strokeStyle=this.strokeColor,a.lineWidth=this.strokeWidth,a.fillStyle=this.fillColor,a.fill(),a.stroke()}}}),c.Arc=c.Element.extend({inRange:function(a,b){var c=d.getAngleFromPoint(this,{x:a,y:b}),e=c.angle>=this.startAngle&&c.angle<=this.endAngle,f=c.distance>=this.innerRadius&&c.distance<=this.outerRadius;return e&&f},tooltipPosition:function(){var a=this.startAngle+(this.endAngle-this.startAngle)/2,b=(this.outerRadius-this.innerRadius)/2+this.innerRadius;return{x:this.x+Math.cos(a)*b,y:this.y+Math.sin(a)*b}},draw:function(a){var b=this.ctx;b.beginPath(),b.arc(this.x,this.y,this.outerRadius,this.startAngle,this.endAngle),b.arc(this.x,this.y,this.innerRadius,this.endAngle,this.startAngle,!0),b.closePath(),b.strokeStyle=this.strokeColor,b.lineWidth=this.strokeWidth,b.fillStyle=this.fillColor,b.fill(),b.lineJoin="bevel",this.showStroke&&b.stroke()}}),c.Rectangle=c.Element.extend({draw:function(){var a=this.ctx,b=this.width/2,c=this.x-b,d=this.x+b,e=this.base-(this.base-this.y),f=this.strokeWidth/2;this.showStroke&&(c+=f,d-=f,e+=f),a.beginPath(),a.fillStyle=this.fillColor,a.strokeStyle=this.strokeColor,a.lineWidth=this.strokeWidth,a.moveTo(c,this.base),a.lineTo(c,e),a.lineTo(d,e),a.lineTo(d,this.base),a.fill(),this.showStroke&&a.stroke()},height:function(){return this.base-this.y},inRange:function(a,b){return a>=this.x-this.width/2&&a<=this.x+this.width/2&&b>=this.y&&b<=this.base}}),c.Tooltip=c.Element.extend({draw:function(){var a=this.chart.ctx;a.font=G(this.fontSize,this.fontStyle,this.fontFamily),this.xAlign="center",this.yAlign="above";var b=this.caretPadding=2,c=a.measureText(this.text).width+2*this.xPadding,d=this.fontSize+2*this.yPadding,e=d+this.caretHeight+b;this.x+c/2>this.chart.width?this.xAlign="left":this.x-c/2<0&&(this.xAlign="right"),this.y-e<0&&(this.yAlign="below");var f=this.x-c/2,g=this.y-e;if(a.fillStyle=this.fillColor,this.custom)this.custom(this);else{switch(this.yAlign){case"above":a.beginPath(),a.moveTo(this.x,this.y-b),a.lineTo(this.x+this.caretHeight,this.y-(b+this.caretHeight)),a.lineTo(this.x-this.caretHeight,this.y-(b+this.caretHeight)),a.closePath(),a.fill();break;case"below":g=this.y+b+this.caretHeight,a.beginPath(),a.moveTo(this.x,this.y+b),a.lineTo(this.x+this.caretHeight,this.y+b+this.caretHeight),a.lineTo(this.x-this.caretHeight,this.y+b+this.caretHeight),a.closePath(),a.fill()}switch(this.xAlign){case"left":f=this.x-c+(this.cornerRadius+this.caretHeight);break;case"right":f=this.x-(this.cornerRadius+this.caretHeight)}I(a,f,g,c,d,this.cornerRadius),a.fill(),a.fillStyle=this.textColor,a.textAlign="center",a.textBaseline="middle",a.fillText(this.text,f+c/2,g+d/2)}}}),c.MultiTooltip=c.Element.extend({initialize:function(){this.font=G(this.fontSize,this.fontStyle,this.fontFamily),this.titleFont=G(this.titleFontSize,this.titleFontStyle,this.titleFontFamily),this.height=this.labels.length*this.fontSize+(this.labels.length-1)*(this.fontSize/2)+2*this.yPadding+1.5*this.titleFontSize,this.ctx.font=this.titleFont;var a=this.ctx.measureText(this.title).width,b=H(this.ctx,this.font,this.labels)+this.fontSize+3,c=p([b,a]);this.width=c+2*this.xPadding;var d=this.height/2;this.y-d<0?this.y=d:this.y+d>this.chart.height&&(this.y=this.chart.height-d),this.x>this.chart.width/2?this.x-=this.xOffset+this.width:this.x+=this.xOffset},getLineHeight:function(a){var b=this.y-this.height/2+this.yPadding,c=a-1;return 0===a?b+this.titleFontSize/2:b+(1.5*this.fontSize*c+this.fontSize/2)+1.5*this.titleFontSize},draw:function(){if(this.custom)this.custom(this);else{I(this.ctx,this.x,this.y-this.height/2,this.width,this.height,this.cornerRadius);var a=this.ctx;a.fillStyle=this.fillColor,a.fill(),a.closePath(),a.textAlign="left",a.textBaseline="middle",a.fillStyle=this.titleTextColor,a.font=this.titleFont,a.fillText(this.title,this.x+this.xPadding,this.getLineHeight(0)),a.font=this.font,d.each(this.labels,function(b,c){a.fillStyle=this.textColor,a.fillText(b,this.x+this.xPadding+this.fontSize+3,this.getLineHeight(c+1)),a.fillStyle=this.legendColorBackground,a.fillRect(this.x+this.xPadding,this.getLineHeight(c+1)-this.fontSize/2,this.fontSize,this.fontSize),a.fillStyle=this.legendColors[c].fill,a.fillRect(this.x+this.xPadding,this.getLineHeight(c+1)-this.fontSize/2,this.fontSize,this.fontSize)},this)}}}),c.Scale=c.Element.extend({initialize:function(){this.fit()},buildYLabels:function(){this.yLabels=[];for(var a=r(this.stepValue),b=0;b<=this.steps;b++)this.yLabels.push(v(this.templateString,{value:(this.min+b*this.stepValue).toFixed(a)}));this.yLabelWidth=this.display&&this.showLabels?H(this.ctx,this.font,this.yLabels):0},addXLabel:function(a){this.xLabels.push(a),this.valuesCount++,this.fit()},removeXLabel:function(){this.xLabels.shift(),this.valuesCount--,this.fit()},fit:function(){this.startPoint=this.display?this.fontSize:0,this.endPoint=this.display?this.height-1.5*this.fontSize-5:this.height,this.startPoint+=this.padding,this.endPoint-=this.padding;var a,b=this.endPoint-this.startPoint;for(this.calculateYRange(b),this.buildYLabels(),this.calculateXLabelRotation();b>this.endPoint-this.startPoint;)b=this.endPoint-this.startPoint,a=this.yLabelWidth,this.calculateYRange(b),this.buildYLabels(),
-a<this.yLabelWidth&&this.calculateXLabelRotation()},calculateXLabelRotation:function(){this.ctx.font=this.font;var a,b,c=this.ctx.measureText(this.xLabels[0]).width,d=this.ctx.measureText(this.xLabels[this.xLabels.length-1]).width;if(this.xScalePaddingRight=d/2+3,this.xScalePaddingLeft=c/2>this.yLabelWidth+10?c/2:this.yLabelWidth+10,this.xLabelRotation=0,this.display){var e,f=H(this.ctx,this.font,this.xLabels);this.xLabelWidth=f;for(var g=Math.floor(this.calculateX(1)-this.calculateX(0))-6;this.xLabelWidth>g&&0===this.xLabelRotation||this.xLabelWidth>g&&this.xLabelRotation<=90&&this.xLabelRotation>0;)e=Math.cos(s(this.xLabelRotation)),a=e*c,b=e*d,a+this.fontSize/2>this.yLabelWidth+8&&(this.xScalePaddingLeft=a+this.fontSize/2),this.xScalePaddingRight=this.fontSize/2,this.xLabelRotation++,this.xLabelWidth=e*f;this.xLabelRotation>0&&(this.endPoint-=Math.sin(s(this.xLabelRotation))*f+3)}else this.xLabelWidth=0,this.xScalePaddingRight=this.padding,this.xScalePaddingLeft=this.padding},calculateYRange:k,drawingArea:function(){return this.startPoint-this.endPoint},calculateY:function(a){var b=this.drawingArea()/(this.min-this.max);return this.endPoint-b*(a-this.min)},calculateX:function(a){var b=(this.xLabelRotation>0,this.width-(this.xScalePaddingLeft+this.xScalePaddingRight)),c=b/Math.max(this.valuesCount-(this.offsetGridLines?0:1),1),d=c*a+this.xScalePaddingLeft;return this.offsetGridLines&&(d+=c/2),Math.round(d)},update:function(a){d.extend(this,a),this.fit()},draw:function(){var a=this.ctx,b=(this.endPoint-this.startPoint)/this.steps,c=Math.round(this.xScalePaddingLeft);this.display&&(a.fillStyle=this.textColor,a.font=this.font,e(this.yLabels,function(e,f){var g=this.endPoint-b*f,h=Math.round(g),i=this.showHorizontalLines;a.textAlign="right",a.textBaseline="middle",this.showLabels&&a.fillText(e,c-10,g),0!==f||i||(i=!0),i&&a.beginPath(),f>0?(a.lineWidth=this.gridLineWidth,a.strokeStyle=this.gridLineColor):(a.lineWidth=this.lineWidth,a.strokeStyle=this.lineColor),h+=d.aliasPixel(a.lineWidth),i&&(a.moveTo(c,h),a.lineTo(this.width,h),a.stroke(),a.closePath()),a.lineWidth=this.lineWidth,a.strokeStyle=this.lineColor,a.beginPath(),a.moveTo(c-5,h),a.lineTo(c,h),a.stroke(),a.closePath()},this),e(this.xLabels,function(b,c){var d=this.calculateX(c)+t(this.lineWidth),e=this.calculateX(c-(this.offsetGridLines?.5:0))+t(this.lineWidth),f=this.xLabelRotation>0,g=this.showVerticalLines;0!==c||g||(g=!0),g&&a.beginPath(),c>0?(a.lineWidth=this.gridLineWidth,a.strokeStyle=this.gridLineColor):(a.lineWidth=this.lineWidth,a.strokeStyle=this.lineColor),g&&(a.moveTo(e,this.endPoint),a.lineTo(e,this.startPoint-3),a.stroke(),a.closePath()),a.lineWidth=this.lineWidth,a.strokeStyle=this.lineColor,a.beginPath(),a.moveTo(e,this.endPoint),a.lineTo(e,this.endPoint+5),a.stroke(),a.closePath(),a.save(),a.translate(d,f?this.endPoint+12:this.endPoint+8),a.rotate(-1*s(this.xLabelRotation)),a.font=this.font,a.textAlign=f?"right":"center",a.textBaseline=f?"middle":"top",a.fillText(b,0,0),a.restore()},this))}}),c.RadialScale=c.Element.extend({initialize:function(){this.size=q([this.height,this.width]),this.drawingArea=this.display?this.size/2-(this.fontSize/2+this.backdropPaddingY):this.size/2},calculateCenterOffset:function(a){var b=this.drawingArea/(this.max-this.min);return(a-this.min)*b},update:function(){this.lineArc?this.drawingArea=this.display?this.size/2-(this.fontSize/2+this.backdropPaddingY):this.size/2:this.setScaleSize(),this.buildYLabels()},buildYLabels:function(){this.yLabels=[];for(var a=r(this.stepValue),b=0;b<=this.steps;b++)this.yLabels.push(v(this.templateString,{value:(this.min+b*this.stepValue).toFixed(a)}))},getCircumference:function(){return 2*Math.PI/this.valuesCount},setScaleSize:function(){var a,b,c,d,e,f,g,h,i,j,k,l,m=q([this.height/2-this.pointLabelFontSize-5,this.width/2]),n=this.width,p=0;for(this.ctx.font=G(this.pointLabelFontSize,this.pointLabelFontStyle,this.pointLabelFontFamily),b=0;b<this.valuesCount;b++)a=this.getPointPosition(b,m),c=this.ctx.measureText(v(this.templateString,{value:this.labels[b]})).width+5,0===b||b===this.valuesCount/2?(d=c/2,a.x+d>n&&(n=a.x+d,e=b),a.x-d<p&&(p=a.x-d,g=b)):b<this.valuesCount/2?a.x+c>n&&(n=a.x+c,e=b):b>this.valuesCount/2&&a.x-c<p&&(p=a.x-c,g=b);i=p,j=Math.ceil(n-this.width),f=this.getIndexAngle(e),h=this.getIndexAngle(g),k=j/Math.sin(f+Math.PI/2),l=i/Math.sin(h+Math.PI/2),k=o(k)?k:0,l=o(l)?l:0,this.drawingArea=m-(l+k)/2,this.setCenterPoint(l,k)},setCenterPoint:function(a,b){var c=this.width-b-this.drawingArea,d=a+this.drawingArea;this.xCenter=(d+c)/2,this.yCenter=this.height/2},getIndexAngle:function(a){var b=2*Math.PI/this.valuesCount;return a*b-Math.PI/2},getPointPosition:function(a,b){var c=this.getIndexAngle(a);return{x:Math.cos(c)*b+this.xCenter,y:Math.sin(c)*b+this.yCenter}},draw:function(){if(this.display){var a=this.ctx;if(e(this.yLabels,function(b,c){if(c>0){var d,e=c*(this.drawingArea/this.steps),f=this.yCenter-e;if(this.lineWidth>0)if(a.strokeStyle=this.lineColor,a.lineWidth=this.lineWidth,this.lineArc)a.beginPath(),a.arc(this.xCenter,this.yCenter,e,0,2*Math.PI),a.closePath(),a.stroke();else{a.beginPath();for(var g=0;g<this.valuesCount;g++)d=this.getPointPosition(g,this.calculateCenterOffset(this.min+c*this.stepValue)),0===g?a.moveTo(d.x,d.y):a.lineTo(d.x,d.y);a.closePath(),a.stroke()}if(this.showLabels){if(a.font=G(this.fontSize,this.fontStyle,this.fontFamily),this.showLabelBackdrop){var h=a.measureText(b).width;a.fillStyle=this.backdropColor,a.fillRect(this.xCenter-h/2-this.backdropPaddingX,f-this.fontSize/2-this.backdropPaddingY,h+2*this.backdropPaddingX,this.fontSize+2*this.backdropPaddingY)}a.textAlign="center",a.textBaseline="middle",a.fillStyle=this.fontColor,a.fillText(b,this.xCenter,f)}}},this),!this.lineArc){a.lineWidth=this.angleLineWidth,a.strokeStyle=this.angleLineColor;for(var b=this.valuesCount-1;b>=0;b--){if(this.angleLineWidth>0){var c=this.getPointPosition(b,this.calculateCenterOffset(this.max));a.beginPath(),a.moveTo(this.xCenter,this.yCenter),a.lineTo(c.x,c.y),a.stroke(),a.closePath()}var d=this.getPointPosition(b,this.calculateCenterOffset(this.max)+5);a.font=G(this.pointLabelFontSize,this.pointLabelFontStyle,this.pointLabelFontFamily),a.fillStyle=this.pointLabelFontColor;var f=this.labels.length,g=this.labels.length/2,h=g/2,i=h>b||b>f-h,j=b===h||b===f-h;0===b?a.textAlign="center":b===g?a.textAlign="center":g>b?a.textAlign="left":a.textAlign="right",j?a.textBaseline="middle":i?a.textBaseline="bottom":a.textBaseline="top",a.fillText(this.labels[b],d.x,d.y)}}}}}),d.addEvent(window,"resize",function(){var a;return function(){clearTimeout(a),a=setTimeout(function(){e(c.instances,function(a){a.options.responsive&&a.resize(a.render,!0)})},50)}}()),n?define(function(){return c}):"object"==typeof module&&module.exports&&(module.exports=c),a.Chart=c,c.noConflict=function(){return a.Chart=b,c}}.call(this),function(){"use strict";var a=this,b=a.Chart,c=b.helpers,d={scaleBeginAtZero:!0,scaleShowGridLines:!0,scaleGridLineColor:"rgba(0,0,0,.05)",scaleGridLineWidth:1,scaleShowHorizontalLines:!0,scaleShowVerticalLines:!0,barShowStroke:!0,barStrokeWidth:2,barValueSpacing:5,barDatasetSpacing:1,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].fillColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>'};b.Type.extend({name:"Bar",defaults:d,initialize:function(a){var d=this.options;this.ScaleClass=b.Scale.extend({offsetGridLines:!0,calculateBarX:function(a,b,c){var e=this.calculateBaseWidth(),f=this.calculateX(c)-e/2,g=this.calculateBarWidth(a);return f+g*b+b*d.barDatasetSpacing+g/2},calculateBaseWidth:function(){return this.calculateX(1)-this.calculateX(0)-2*d.barValueSpacing},calculateBarWidth:function(a){var b=this.calculateBaseWidth()-(a-1)*d.barDatasetSpacing;return b/a}}),this.datasets=[],this.options.showTooltips&&c.bindEvents(this,this.options.tooltipEvents,function(a){var b="mouseout"!==a.type?this.getBarsAtEvent(a):[];this.eachBars(function(a){a.restore(["fillColor","strokeColor"])}),c.each(b,function(a){a.fillColor=a.highlightFill,a.strokeColor=a.highlightStroke}),this.showTooltip(b)}),this.BarClass=b.Rectangle.extend({strokeWidth:this.options.barStrokeWidth,showStroke:this.options.barShowStroke,ctx:this.chart.ctx}),c.each(a.datasets,function(b,d){var e={label:b.label||null,fillColor:b.fillColor,strokeColor:b.strokeColor,bars:[]};this.datasets.push(e),c.each(b.data,function(c,d){e.bars.push(new this.BarClass({value:c,label:a.labels[d],datasetLabel:b.label,strokeColor:b.strokeColor,fillColor:b.fillColor,highlightFill:b.highlightFill||b.fillColor,highlightStroke:b.highlightStroke||b.strokeColor}))},this)},this),this.buildScale(a.labels),this.BarClass.prototype.base=this.scale.endPoint,this.eachBars(function(a,b,d){c.extend(a,{width:this.scale.calculateBarWidth(this.datasets.length),x:this.scale.calculateBarX(this.datasets.length,d,b),y:this.scale.endPoint}),a.save()},this),this.render()},update:function(){this.scale.update(),c.each(this.activeElements,function(a){a.restore(["fillColor","strokeColor"])}),this.eachBars(function(a){a.save()}),this.render()},eachBars:function(a){c.each(this.datasets,function(b,d){c.each(b.bars,a,this,d)},this)},getBarsAtEvent:function(a){for(var b,d=[],e=c.getRelativePosition(a),f=function(a){d.push(a.bars[b])},g=0;g<this.datasets.length;g++)for(b=0;b<this.datasets[g].bars.length;b++)if(this.datasets[g].bars[b].inRange(e.x,e.y))return c.each(this.datasets,f),d;return d},buildScale:function(a){var b=this,d=function(){var a=[];return b.eachBars(function(b){a.push(b.value)}),a},e={templateString:this.options.scaleLabel,height:this.chart.height,width:this.chart.width,ctx:this.chart.ctx,textColor:this.options.scaleFontColor,fontSize:this.options.scaleFontSize,fontStyle:this.options.scaleFontStyle,fontFamily:this.options.scaleFontFamily,valuesCount:a.length,beginAtZero:this.options.scaleBeginAtZero,integersOnly:this.options.scaleIntegersOnly,calculateYRange:function(a){var b=c.calculateScaleRange(d(),a,this.fontSize,this.beginAtZero,this.integersOnly);c.extend(this,b)},xLabels:a,font:c.fontString(this.options.scaleFontSize,this.options.scaleFontStyle,this.options.scaleFontFamily),lineWidth:this.options.scaleLineWidth,lineColor:this.options.scaleLineColor,showHorizontalLines:this.options.scaleShowHorizontalLines,showVerticalLines:this.options.scaleShowVerticalLines,gridLineWidth:this.options.scaleShowGridLines?this.options.scaleGridLineWidth:0,gridLineColor:this.options.scaleShowGridLines?this.options.scaleGridLineColor:"rgba(0,0,0,0)",padding:this.options.showScale?0:this.options.barShowStroke?this.options.barStrokeWidth:0,showLabels:this.options.scaleShowLabels,display:this.options.showScale};this.options.scaleOverride&&c.extend(e,{calculateYRange:c.noop,steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}),this.scale=new this.ScaleClass(e)},addData:function(a,b){c.each(a,function(a,c){this.datasets[c].bars.push(new this.BarClass({value:a,label:b,x:this.scale.calculateBarX(this.datasets.length,c,this.scale.valuesCount+1),y:this.scale.endPoint,width:this.scale.calculateBarWidth(this.datasets.length),base:this.scale.endPoint,strokeColor:this.datasets[c].strokeColor,fillColor:this.datasets[c].fillColor}))},this),this.scale.addXLabel(b),this.update()},removeData:function(){this.scale.removeXLabel(),c.each(this.datasets,function(a){a.bars.shift()},this),this.update()},reflow:function(){c.extend(this.BarClass.prototype,{y:this.scale.endPoint,base:this.scale.endPoint});var a=c.extend({height:this.chart.height,width:this.chart.width});this.scale.update(a)},draw:function(a){var b=a||1;this.clear();this.chart.ctx;this.scale.draw(b),c.each(this.datasets,function(a,d){c.each(a.bars,function(a,c){a.hasValue()&&(a.base=this.scale.endPoint,a.transition({x:this.scale.calculateBarX(this.datasets.length,d,c),y:this.scale.calculateY(a.value),width:this.scale.calculateBarWidth(this.datasets.length)},b).draw())},this)},this)}})}.call(this),function(){"use strict";var a=this,b=a.Chart,c=b.helpers,d={segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:2,percentageInnerCutout:50,animationSteps:100,animationEasing:"easeOutBounce",animateRotate:!0,animateScale:!1,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<segments.length; i++){%><li><span style="background-color:<%=segments[i].fillColor%>"></span><%if(segments[i].label){%><%=segments[i].label%><%}%></li><%}%></ul>'};b.Type.extend({name:"Doughnut",defaults:d,initialize:function(a){this.segments=[],this.outerRadius=(c.min([this.chart.width,this.chart.height])-this.options.segmentStrokeWidth/2)/2,this.SegmentArc=b.Arc.extend({ctx:this.chart.ctx,x:this.chart.width/2,y:this.chart.height/2}),this.options.showTooltips&&c.bindEvents(this,this.options.tooltipEvents,function(a){var b="mouseout"!==a.type?this.getSegmentsAtEvent(a):[];c.each(this.segments,function(a){a.restore(["fillColor"])}),c.each(b,function(a){a.fillColor=a.highlightColor}),this.showTooltip(b)}),this.calculateTotal(a),c.each(a,function(a,b){this.addData(a,b,!0)},this),this.render()},getSegmentsAtEvent:function(a){var b=[],d=c.getRelativePosition(a);return c.each(this.segments,function(a){a.inRange(d.x,d.y)&&b.push(a)},this),b},addData:function(a,b,c){var d=b||this.segments.length;this.segments.splice(d,0,new this.SegmentArc({value:a.value,outerRadius:this.options.animateScale?0:this.outerRadius,innerRadius:this.options.animateScale?0:this.outerRadius/100*this.options.percentageInnerCutout,fillColor:a.color,highlightColor:a.highlight||a.color,showStroke:this.options.segmentShowStroke,strokeWidth:this.options.segmentStrokeWidth,strokeColor:this.options.segmentStrokeColor,startAngle:1.5*Math.PI,circumference:this.options.animateRotate?0:this.calculateCircumference(a.value),label:a.label})),c||(this.reflow(),this.update())},calculateCircumference:function(a){return 2*Math.PI*(Math.abs(a)/this.total)},calculateTotal:function(a){this.total=0,c.each(a,function(a){this.total+=Math.abs(a.value)},this)},update:function(){this.calculateTotal(this.segments),c.each(this.activeElements,function(a){a.restore(["fillColor"])}),c.each(this.segments,function(a){a.save()}),this.render()},removeData:function(a){var b=c.isNumber(a)?a:this.segments.length-1;this.segments.splice(b,1),this.reflow(),this.update()},reflow:function(){c.extend(this.SegmentArc.prototype,{x:this.chart.width/2,y:this.chart.height/2}),this.outerRadius=(c.min([this.chart.width,this.chart.height])-this.options.segmentStrokeWidth/2)/2,c.each(this.segments,function(a){a.update({outerRadius:this.outerRadius,innerRadius:this.outerRadius/100*this.options.percentageInnerCutout})},this)},draw:function(a){var b=a?a:1;this.clear(),c.each(this.segments,function(a,c){a.transition({circumference:this.calculateCircumference(a.value),outerRadius:this.outerRadius,innerRadius:this.outerRadius/100*this.options.percentageInnerCutout},b),a.endAngle=a.startAngle+a.circumference,a.draw(),0===c&&(a.startAngle=1.5*Math.PI),c<this.segments.length-1&&(this.segments[c+1].startAngle=a.endAngle)},this)}}),b.types.Doughnut.extend({name:"Pie",defaults:c.merge(d,{percentageInnerCutout:0})})}.call(this),function(){"use strict";var a=this,b=a.Chart,c=b.helpers,d={scaleShowGridLines:!0,scaleGridLineColor:"rgba(0,0,0,.05)",scaleGridLineWidth:1,scaleShowHorizontalLines:!0,scaleShowVerticalLines:!0,bezierCurve:!0,bezierCurveTension:.4,pointDot:!0,pointDotRadius:4,pointDotStrokeWidth:1,pointHitDetectionRadius:20,datasetStroke:!0,datasetStrokeWidth:2,datasetFill:!0,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].strokeColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>'};b.Type.extend({name:"Line",defaults:d,initialize:function(a){this.PointClass=b.Point.extend({strokeWidth:this.options.pointDotStrokeWidth,radius:this.options.pointDotRadius,display:this.options.pointDot,hitDetectionRadius:this.options.pointHitDetectionRadius,ctx:this.chart.ctx,inRange:function(a){return Math.pow(a-this.x,2)<Math.pow(this.radius+this.hitDetectionRadius,2)}}),this.datasets=[],this.options.showTooltips&&c.bindEvents(this,this.options.tooltipEvents,function(a){var b="mouseout"!==a.type?this.getPointsAtEvent(a):[];this.eachPoints(function(a){a.restore(["fillColor","strokeColor"])}),c.each(b,function(a){a.fillColor=a.highlightFill,a.strokeColor=a.highlightStroke}),this.showTooltip(b)}),c.each(a.datasets,function(b){var d={label:b.label||null,fillColor:b.fillColor,strokeColor:b.strokeColor,pointColor:b.pointColor,pointStrokeColor:b.pointStrokeColor,points:[]};this.datasets.push(d),c.each(b.data,function(c,e){d.points.push(new this.PointClass({value:c,label:a.labels[e],datasetLabel:b.label,strokeColor:b.pointStrokeColor,fillColor:b.pointColor,highlightFill:b.pointHighlightFill||b.pointColor,highlightStroke:b.pointHighlightStroke||b.pointStrokeColor}))},this),this.buildScale(a.labels),this.eachPoints(function(a,b){c.extend(a,{x:this.scale.calculateX(b),y:this.scale.endPoint}),a.save()},this)},this),this.render()},update:function(){this.scale.update(),c.each(this.activeElements,function(a){a.restore(["fillColor","strokeColor"])}),this.eachPoints(function(a){a.save()}),this.render()},eachPoints:function(a){c.each(this.datasets,function(b){c.each(b.points,a,this)},this)},getPointsAtEvent:function(a){var b=[],d=c.getRelativePosition(a);return c.each(this.datasets,function(a){c.each(a.points,function(a){a.inRange(d.x,d.y)&&b.push(a)})},this),b},buildScale:function(a){var d=this,e=function(){var a=[];return d.eachPoints(function(b){a.push(b.value)}),a},f={templateString:this.options.scaleLabel,height:this.chart.height,width:this.chart.width,ctx:this.chart.ctx,textColor:this.options.scaleFontColor,fontSize:this.options.scaleFontSize,fontStyle:this.options.scaleFontStyle,fontFamily:this.options.scaleFontFamily,valuesCount:a.length,beginAtZero:this.options.scaleBeginAtZero,integersOnly:this.options.scaleIntegersOnly,calculateYRange:function(a){var b=c.calculateScaleRange(e(),a,this.fontSize,this.beginAtZero,this.integersOnly);c.extend(this,b)},xLabels:a,font:c.fontString(this.options.scaleFontSize,this.options.scaleFontStyle,this.options.scaleFontFamily),lineWidth:this.options.scaleLineWidth,lineColor:this.options.scaleLineColor,showHorizontalLines:this.options.scaleShowHorizontalLines,showVerticalLines:this.options.scaleShowVerticalLines,gridLineWidth:this.options.scaleShowGridLines?this.options.scaleGridLineWidth:0,gridLineColor:this.options.scaleShowGridLines?this.options.scaleGridLineColor:"rgba(0,0,0,0)",padding:this.options.showScale?0:this.options.pointDotRadius+this.options.pointDotStrokeWidth,showLabels:this.options.scaleShowLabels,display:this.options.showScale};this.options.scaleOverride&&c.extend(f,{calculateYRange:c.noop,steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}),this.scale=new b.Scale(f)},addData:function(a,b){c.each(a,function(a,c){this.datasets[c].points.push(new this.PointClass({value:a,label:b,x:this.scale.calculateX(this.scale.valuesCount+1),y:this.scale.endPoint,strokeColor:this.datasets[c].pointStrokeColor,fillColor:this.datasets[c].pointColor}))},this),this.scale.addXLabel(b),this.update()},removeData:function(){this.scale.removeXLabel(),c.each(this.datasets,function(a){a.points.shift()},this),this.update()},reflow:function(){var a=c.extend({height:this.chart.height,width:this.chart.width});this.scale.update(a)},draw:function(a){var b=a||1;this.clear();var d=this.chart.ctx,e=function(a){return null!==a.value},f=function(a,b,d){return c.findNextWhere(b,e,d)||a},g=function(a,b,d){return c.findPreviousWhere(b,e,d)||a};this.scale.draw(b),c.each(this.datasets,function(a){var h=c.where(a.points,e);c.each(a.points,function(a,c){a.hasValue()&&a.transition({y:this.scale.calculateY(a.value),x:this.scale.calculateX(c)},b)},this),this.options.bezierCurve&&c.each(h,function(a,b){var d=b>0&&b<h.length-1?this.options.bezierCurveTension:0;a.controlPoints=c.splineCurve(g(a,h,b),a,f(a,h,b),d),a.controlPoints.outer.y>this.scale.endPoint?a.controlPoints.outer.y=this.scale.endPoint:a.controlPoints.outer.y<this.scale.startPoint&&(a.controlPoints.outer.y=this.scale.startPoint),a.controlPoints.inner.y>this.scale.endPoint?a.controlPoints.inner.y=this.scale.endPoint:a.controlPoints.inner.y<this.scale.startPoint&&(a.controlPoints.inner.y=this.scale.startPoint)},this),d.lineWidth=this.options.datasetStrokeWidth,d.strokeStyle=a.strokeColor,d.beginPath(),c.each(h,function(a,b){if(0===b)d.moveTo(a.x,a.y);else if(this.options.bezierCurve){var c=g(a,h,b);d.bezierCurveTo(c.controlPoints.outer.x,c.controlPoints.outer.y,a.controlPoints.inner.x,a.controlPoints.inner.y,a.x,a.y)}else d.lineTo(a.x,a.y)},this),d.stroke(),this.options.datasetFill&&h.length>0&&(d.lineTo(h[h.length-1].x,this.scale.endPoint),d.lineTo(h[0].x,this.scale.endPoint),d.fillStyle=a.fillColor,d.closePath(),d.fill()),c.each(h,function(a){a.draw()})},this)}})}.call(this),function(){"use strict";var a=this,b=a.Chart,c=b.helpers,d={scaleShowLabelBackdrop:!0,scaleBackdropColor:"rgba(255,255,255,0.75)",scaleBeginAtZero:!0,scaleBackdropPaddingY:2,scaleBackdropPaddingX:2,scaleShowLine:!0,segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:2,animationSteps:100,animationEasing:"easeOutBounce",animateRotate:!0,animateScale:!1,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<segments.length; i++){%><li><span style="background-color:<%=segments[i].fillColor%>"></span><%if(segments[i].label){%><%=segments[i].label%><%}%></li><%}%></ul>'};b.Type.extend({name:"PolarArea",defaults:d,initialize:function(a){this.segments=[],this.SegmentArc=b.Arc.extend({showStroke:this.options.segmentShowStroke,strokeWidth:this.options.segmentStrokeWidth,strokeColor:this.options.segmentStrokeColor,ctx:this.chart.ctx,innerRadius:0,x:this.chart.width/2,y:this.chart.height/2}),this.scale=new b.RadialScale({display:this.options.showScale,fontStyle:this.options.scaleFontStyle,fontSize:this.options.scaleFontSize,fontFamily:this.options.scaleFontFamily,fontColor:this.options.scaleFontColor,showLabels:this.options.scaleShowLabels,showLabelBackdrop:this.options.scaleShowLabelBackdrop,backdropColor:this.options.scaleBackdropColor,backdropPaddingY:this.options.scaleBackdropPaddingY,backdropPaddingX:this.options.scaleBackdropPaddingX,lineWidth:this.options.scaleShowLine?this.options.scaleLineWidth:0,lineColor:this.options.scaleLineColor,lineArc:!0,width:this.chart.width,height:this.chart.height,xCenter:this.chart.width/2,yCenter:this.chart.height/2,ctx:this.chart.ctx,templateString:this.options.scaleLabel,valuesCount:a.length}),this.updateScaleRange(a),this.scale.update(),c.each(a,function(a,b){this.addData(a,b,!0)},this),this.options.showTooltips&&c.bindEvents(this,this.options.tooltipEvents,function(a){var b="mouseout"!==a.type?this.getSegmentsAtEvent(a):[];c.each(this.segments,function(a){a.restore(["fillColor"])}),c.each(b,function(a){a.fillColor=a.highlightColor}),this.showTooltip(b)}),this.render()},getSegmentsAtEvent:function(a){var b=[],d=c.getRelativePosition(a);return c.each(this.segments,function(a){a.inRange(d.x,d.y)&&b.push(a)},this),b},addData:function(a,b,c){var d=b||this.segments.length;this.segments.splice(d,0,new this.SegmentArc({fillColor:a.color,highlightColor:a.highlight||a.color,label:a.label,value:a.value,outerRadius:this.options.animateScale?0:this.scale.calculateCenterOffset(a.value),circumference:this.options.animateRotate?0:this.scale.getCircumference(),startAngle:1.5*Math.PI})),c||(this.reflow(),this.update())},removeData:function(a){var b=c.isNumber(a)?a:this.segments.length-1;this.segments.splice(b,1),this.reflow(),this.update()},calculateTotal:function(a){this.total=0,c.each(a,function(a){this.total+=a.value},this),this.scale.valuesCount=this.segments.length},updateScaleRange:function(a){var b=[];c.each(a,function(a){b.push(a.value)});var d=this.options.scaleOverride?{steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}:c.calculateScaleRange(b,c.min([this.chart.width,this.chart.height])/2,this.options.scaleFontSize,this.options.scaleBeginAtZero,this.options.scaleIntegersOnly);c.extend(this.scale,d,{size:c.min([this.chart.width,this.chart.height]),xCenter:this.chart.width/2,yCenter:this.chart.height/2})},update:function(){this.calculateTotal(this.segments),c.each(this.segments,function(a){a.save()}),this.reflow(),this.render()},reflow:function(){c.extend(this.SegmentArc.prototype,{x:this.chart.width/2,y:this.chart.height/2}),this.updateScaleRange(this.segments),this.scale.update(),c.extend(this.scale,{xCenter:this.chart.width/2,yCenter:this.chart.height/2}),c.each(this.segments,function(a){a.update({outerRadius:this.scale.calculateCenterOffset(a.value)})},this)},draw:function(a){var b=a||1;this.clear(),c.each(this.segments,function(a,c){a.transition({circumference:this.scale.getCircumference(),outerRadius:this.scale.calculateCenterOffset(a.value)},b),a.endAngle=a.startAngle+a.circumference,0===c&&(a.startAngle=1.5*Math.PI),c<this.segments.length-1&&(this.segments[c+1].startAngle=a.endAngle),a.draw()},this),this.scale.draw()}})}.call(this),function(){"use strict";var a=this,b=a.Chart,c=b.helpers;b.Type.extend({name:"Radar",defaults:{scaleShowLine:!0,angleShowLineOut:!0,scaleShowLabels:!1,scaleBeginAtZero:!0,angleLineColor:"rgba(0,0,0,.1)",angleLineWidth:1,pointLabelFontFamily:"'Arial'",pointLabelFontStyle:"normal",pointLabelFontSize:10,pointLabelFontColor:"#666",pointDot:!0,pointDotRadius:3,pointDotStrokeWidth:1,pointHitDetectionRadius:20,datasetStroke:!0,datasetStrokeWidth:2,datasetFill:!0,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].strokeColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>'},initialize:function(a){this.PointClass=b.Point.extend({strokeWidth:this.options.pointDotStrokeWidth,radius:this.options.pointDotRadius,display:this.options.pointDot,hitDetectionRadius:this.options.pointHitDetectionRadius,ctx:this.chart.ctx}),this.datasets=[],this.buildScale(a),this.options.showTooltips&&c.bindEvents(this,this.options.tooltipEvents,function(a){var b="mouseout"!==a.type?this.getPointsAtEvent(a):[];this.eachPoints(function(a){a.restore(["fillColor","strokeColor"])}),c.each(b,function(a){a.fillColor=a.highlightFill,a.strokeColor=a.highlightStroke}),this.showTooltip(b)}),c.each(a.datasets,function(b){var d={label:b.label||null,fillColor:b.fillColor,strokeColor:b.strokeColor,pointColor:b.pointColor,pointStrokeColor:b.pointStrokeColor,points:[]};this.datasets.push(d),c.each(b.data,function(c,e){var f;this.scale.animation||(f=this.scale.getPointPosition(e,this.scale.calculateCenterOffset(c))),d.points.push(new this.PointClass({value:c,label:a.labels[e],datasetLabel:b.label,x:this.options.animation?this.scale.xCenter:f.x,y:this.options.animation?this.scale.yCenter:f.y,strokeColor:b.pointStrokeColor,fillColor:b.pointColor,highlightFill:b.pointHighlightFill||b.pointColor,highlightStroke:b.pointHighlightStroke||b.pointStrokeColor}))},this)},this),this.render()},eachPoints:function(a){c.each(this.datasets,function(b){c.each(b.points,a,this)},this)},getPointsAtEvent:function(a){var b=c.getRelativePosition(a),d=c.getAngleFromPoint({x:this.scale.xCenter,y:this.scale.yCenter},b),e=2*Math.PI/this.scale.valuesCount,f=Math.round((d.angle-1.5*Math.PI)/e),g=[];return(f>=this.scale.valuesCount||0>f)&&(f=0),d.distance<=this.scale.drawingArea&&c.each(this.datasets,function(a){g.push(a.points[f])}),g},buildScale:function(a){this.scale=new b.RadialScale({display:this.options.showScale,fontStyle:this.options.scaleFontStyle,fontSize:this.options.scaleFontSize,fontFamily:this.options.scaleFontFamily,fontColor:this.options.scaleFontColor,showLabels:this.options.scaleShowLabels,showLabelBackdrop:this.options.scaleShowLabelBackdrop,backdropColor:this.options.scaleBackdropColor,backdropPaddingY:this.options.scaleBackdropPaddingY,backdropPaddingX:this.options.scaleBackdropPaddingX,lineWidth:this.options.scaleShowLine?this.options.scaleLineWidth:0,lineColor:this.options.scaleLineColor,angleLineColor:this.options.angleLineColor,angleLineWidth:this.options.angleShowLineOut?this.options.angleLineWidth:0,pointLabelFontColor:this.options.pointLabelFontColor,pointLabelFontSize:this.options.pointLabelFontSize,pointLabelFontFamily:this.options.pointLabelFontFamily,pointLabelFontStyle:this.options.pointLabelFontStyle,height:this.chart.height,width:this.chart.width,xCenter:this.chart.width/2,yCenter:this.chart.height/2,ctx:this.chart.ctx,templateString:this.options.scaleLabel,labels:a.labels,valuesCount:a.datasets[0].data.length}),this.scale.setScaleSize(),this.updateScaleRange(a.datasets),this.scale.buildYLabels()},updateScaleRange:function(a){var b=function(){var b=[];return c.each(a,function(a){a.data?b=b.concat(a.data):c.each(a.points,function(a){b.push(a.value)})}),b}(),d=this.options.scaleOverride?{steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}:c.calculateScaleRange(b,c.min([this.chart.width,this.chart.height])/2,this.options.scaleFontSize,this.options.scaleBeginAtZero,this.options.scaleIntegersOnly);c.extend(this.scale,d)},addData:function(a,b){this.scale.valuesCount++,c.each(a,function(a,c){var d=this.scale.getPointPosition(this.scale.valuesCount,this.scale.calculateCenterOffset(a));this.datasets[c].points.push(new this.PointClass({value:a,label:b,x:d.x,y:d.y,strokeColor:this.datasets[c].pointStrokeColor,fillColor:this.datasets[c].pointColor}))},this),this.scale.labels.push(b),this.reflow(),this.update()},removeData:function(){this.scale.valuesCount--,this.scale.labels.shift(),c.each(this.datasets,function(a){a.points.shift()},this),this.reflow(),this.update()},update:function(){this.eachPoints(function(a){a.save()}),this.reflow(),this.render()},reflow:function(){c.extend(this.scale,{width:this.chart.width,height:this.chart.height,size:c.min([this.chart.width,this.chart.height]),xCenter:this.chart.width/2,yCenter:this.chart.height/2}),this.updateScaleRange(this.datasets),this.scale.setScaleSize(),this.scale.buildYLabels()},draw:function(a){var b=a||1,d=this.chart.ctx;this.clear(),this.scale.draw(),c.each(this.datasets,function(a){c.each(a.points,function(a,c){a.hasValue()&&a.transition(this.scale.getPointPosition(c,this.scale.calculateCenterOffset(a.value)),b)},this),d.lineWidth=this.options.datasetStrokeWidth,d.strokeStyle=a.strokeColor,d.beginPath(),c.each(a.points,function(a,b){0===b?d.moveTo(a.x,a.y):d.lineTo(a.x,a.y)},this),d.closePath(),d.stroke(),d.fillStyle=a.fillColor,d.fill(),c.each(a.points,function(a){a.hasValue()&&a.draw()})},this)}})}.call(this),function(a){"use strict";"object"==typeof exports?module.exports=a(angular,require("chart.js")):"function"==typeof define&&define.amd?define(["angular","chart"],a):a(angular,Chart)}(function(a,b){"use strict";function c(){var c={},d={Chart:b,getOptions:function(b){var d=b&&c[b]||{};return a.extend({},c,d)}};this.setOptions=function(b,d){return d?void(c[b]=a.extend(c[b]||{},d)):(d=b,void(c=a.extend(c,d)))},this.$get=function(){return d}}function d(c,d){function f(a,b){return a&&b&&a.length&&b.length?Array.isArray(a[0])?a.length===b.length&&a.every(function(a,c){return a.length===b[c].length}):b.reduce(g,0)>0?a.length===b.length:!1:!1}function g(a,b){return a+b}
-function h(b,c,d,e){var f=null;return function(g){var h=c.getPointsAtEvent||c.getBarsAtEvent||c.getSegmentsAtEvent;if(h){var i=h.call(c,g);(e===!1||a.equals(f,i)===!1)&&(f=i,b[d](i,g),b.$apply())}}}function i(d,e){for(var f=a.copy(e.colours||c.getOptions(d).colours||b.defaults.global.colours);f.length<e.data.length;)f.push(e.getColour());return f.map(j)}function j(a){return"object"==typeof a&&null!==a?a:"string"==typeof a&&"#"===a[0]?l(o(a.substr(1))):k()}function k(){var a=[m(0,255),m(0,255),m(0,255)];return l(a)}function l(a){return{fillColor:n(a,.2),strokeColor:n(a,1),pointColor:n(a,1),pointStrokeColor:"#fff",pointHighlightFill:"#fff",pointHighlightStroke:n(a,.8)}}function m(a,b){return Math.floor(Math.random()*(b-a+1))+a}function n(a,b){return e?"rgb("+a.join(",")+")":"rgba("+a.concat(b).join(",")+")"}function o(a){var b=parseInt(a,16),c=b>>16&255,d=b>>8&255,e=255&b;return[c,d,e]}function p(b,c,d,e){return{labels:b,datasets:c.map(function(b,c){return a.extend({},e[c],{label:d[c],data:b})})}}function q(b,c,d){return b.map(function(b,e){return a.extend({},d[e],{label:b,value:c[e],color:d[e].strokeColor,highlight:d[e].pointHighlightStroke})})}function r(a,b){var c=a.parent(),d=c.find("chart-legend"),e="<chart-legend>"+b.generateLegend()+"</chart-legend>";d.length?d.replaceWith(e):c.append(e)}function s(a,b,c,d){Array.isArray(c.data[0])?a.datasets.forEach(function(a,c){(a.points||a.bars).forEach(function(a,d){a.value=b[c][d]})}):a.segments.forEach(function(a,c){a.value=b[c]}),a.update(),c.$emit("update",a),c.legend&&"false"!==c.legend&&r(d,a)}function t(a){return!a||Array.isArray(a)&&!a.length||"object"==typeof a&&!Object.keys(a).length}function u(d,e){var f=a.extend({},b.defaults.global,c.getOptions(d),e.options);return f.responsive}return function(b){return{restrict:"CA",scope:{data:"=?",labels:"=?",options:"=?",series:"=?",colours:"=?",getColour:"=?",chartType:"=",legend:"@",click:"=?",hover:"=?",chartData:"=?",chartLabels:"=?",chartOptions:"=?",chartSeries:"=?",chartColours:"=?",chartLegend:"@",chartClick:"=?",chartHover:"=?"},link:function(g,j){function l(a,b){g.$watch(a,function(a){"undefined"!=typeof a&&(g[b]=a)})}function m(c,d){if(!t(c)&&!a.equals(c,d)){var e=b||g.chartType;e&&(v&&v.destroy(),n(e))}}function n(b){if(u(b,g)&&0===j[0].clientHeight&&0===w.clientHeight)return d(function(){n(b)},50,!1);if(g.data&&g.data.length){g.getColour="function"==typeof g.getColour?g.getColour:k,g.colours=i(b,g);var e=j[0],f=e.getContext("2d"),l=Array.isArray(g.data[0])?p(g.labels,g.data,g.series||[],g.colours):q(g.labels,g.data,g.colours),m=a.extend({},c.getOptions(b),g.options);v=new c.Chart(f)[b](l,m),g.$emit("create",v),e.onclick=g.click?h(g,v,"click",!1):a.noop,e.onmousemove=g.hover?h(g,v,"hover",!0):a.noop,g.legend&&"false"!==g.legend&&r(j,v)}}function o(a){if("undefined"!=typeof console&&"test"!==c.getOptions().env){var b="function"==typeof console.warn?console.warn:console.log;g[a]&&b.call(console,'"%s" is deprecated and will be removed in a future version. Please use "chart-%s" instead.',a,a)}}var v,w=document.createElement("div");w.className="chart-container",j.replaceWith(w),w.appendChild(j[0]),e&&window.G_vmlCanvasManager.initElement(j[0]),["data","labels","options","series","colours","legend","click","hover"].forEach(o),l("chartData","data"),l("chartLabels","labels"),l("chartOptions","options"),l("chartSeries","series"),l("chartColours","colours"),l("chartLegend","legend"),l("chartClick","click"),l("chartHover","hover"),g.$watch("data",function(a,c){if(a&&a.length&&(!Array.isArray(a[0])||a[0].length)){var d=b||g.chartType;if(d){if(v){if(f(a,c))return s(v,a,g,j);v.destroy()}n(d)}}},!0),g.$watch("series",m,!0),g.$watch("labels",m,!0),g.$watch("options",m,!0),g.$watch("colours",m,!0),g.$watch("chartType",function(b,c){t(b)||a.equals(b,c)||(v&&v.destroy(),n(b))}),g.$on("$destroy",function(){v&&v.destroy()})}}}}b.defaults.global.responsive=!0,b.defaults.global.multiTooltipTemplate="<%if (datasetLabel){%><%=datasetLabel%>: <%}%><%= value %>",b.defaults.global.colours=["#97BBCD","#DCDCDC","#F7464A","#46BFBD","#FDB45C","#949FB1","#4D5360"];var e="object"==typeof window.G_vmlCanvasManager&&null!==window.G_vmlCanvasManager&&"function"==typeof window.G_vmlCanvasManager.initElement;return e&&(b.defaults.global.animation=!1),a.module("chart.js",[]).provider("ChartJs",c).factory("ChartJsFactory",["ChartJs","$timeout",d]).directive("chartBase",["ChartJsFactory",function(a){return new a}]).directive("chartLine",["ChartJsFactory",function(a){return new a("Line")}]).directive("chartBar",["ChartJsFactory",function(a){return new a("Bar")}]).directive("chartRadar",["ChartJsFactory",function(a){return new a("Radar")}]).directive("chartDoughnut",["ChartJsFactory",function(a){return new a("Doughnut")}]).directive("chartPie",["ChartJsFactory",function(a){return new a("Pie")}]).directive("chartPolarArea",["ChartJsFactory",function(a){return new a("PolarArea")}])}),function(a,b,c){"use strict";function d(a,c,d){function e(a,d,e){var g,h;e=e||{},h=e.expires,g=b.isDefined(e.path)?e.path:f,b.isUndefined(d)&&(h="Thu, 01 Jan 1970 00:00:00 GMT",d=""),b.isString(h)&&(h=new Date(h));var i=encodeURIComponent(a)+"="+encodeURIComponent(d);i+=g?";path="+g:"",i+=e.domain?";domain="+e.domain:"",i+=h?";expires="+h.toUTCString():"",i+=e.secure?";secure":"";var j=i.length+1;return j>4096&&c.warn("Cookie '"+a+"' possibly not set or overflowed because it was too large ("+j+" > 4096 bytes)!"),i}var f=d.baseHref(),g=a[0];return function(a,b,c){g.cookie=e(a,b,c)}}b.module("ngCookies",["ng"]).provider("$cookies",[function(){function a(a){return a?b.extend({},d,a):d}var d=this.defaults={};this.$get=["$$cookieReader","$$cookieWriter",function(d,e){return{get:function(a){return d()[a]},getObject:function(a){var c=this.get(a);return c?b.fromJson(c):c},getAll:function(){return d()},put:function(b,c,d){e(b,c,a(d))},putObject:function(a,c,d){this.put(a,b.toJson(c),d)},remove:function(b,d){e(b,c,a(d))}}}]}]),b.module("ngCookies").factory("$cookieStore",["$cookies",function(a){return{get:function(b){return a.getObject(b)},put:function(b,c){a.putObject(b,c)},remove:function(b){a.remove(b)}}}]),d.$inject=["$document","$log","$browser"],b.module("ngCookies").provider("$$cookieWriter",function(){this.$get=d})}(window,window.angular),!function(a,b){"object"==typeof exports&&"object"==typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):"object"==typeof exports?exports["angular-file-upload"]=b():a["angular-file-upload"]=b()}(this,function(){return function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={exports:{},id:d,loaded:!1};return a[d].call(e.exports,e,e.exports,b),e.loaded=!0,e.exports}var c={};return b.m=a,b.c=c,b.p="",b(0)}([function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a},e=d(c(2)),f=d(c(3)),g=d(c(4)),h=d(c(5)),i=d(c(6)),j=d(c(7)),k=d(c(1)),l=d(c(8)),m=d(c(9)),n=d(c(10)),o=d(c(11)),p=d(c(12));angular.module(e.name,[]).value("fileUploaderOptions",f).factory("FileUploader",g).factory("FileLikeObject",h).factory("FileItem",i).factory("FileDirective",j).factory("FileSelect",k).factory("FileDrop",l).factory("FileOver",m).directive("nvFileSelect",n).directive("nvFileDrop",o).directive("nvFileOver",p).run(["FileUploader","FileLikeObject","FileItem","FileDirective","FileSelect","FileDrop","FileOver",function(a,b,c,d,e,f,g){a.FileLikeObject=b,a.FileItem=c,a.FileDirective=d,a.FileSelect=e,a.FileDrop=f,a.FileOver=g}])},function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a},e=function(){function a(a,b){for(var c in b){var d=b[c];d.configurable=!0,d.value&&(d.writable=!0)}Object.defineProperties(a,b)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function j(a,b,c){var d=Object.getOwnPropertyDescriptor(a,b);if(void 0===d){var e=Object.getPrototypeOf(a);return null===e?void 0:j(e,b,c)}if("value"in d&&d.writable)return d.value;var f=d.get;return void 0===f?void 0:f.call(c)},g=function(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(a.__proto__=b)},h=function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")},i=(d(c(2)),angular.extend);a.exports=function(a){var b=function(a){function b(a){h(this,b);var c=i(a,{events:{$destroy:"destroy",change:"onChange"},prop:"select"});f(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,c),this.uploader.isHTML5||this.element.removeAttr("multiple"),this.element.prop("value",null)}return g(b,a),e(b,{getOptions:{value:function(){}},getFilters:{value:function(){}},isEmptyAfterSelection:{value:function(){return!!this.element.attr("multiple")}},onChange:{value:function(){var a=this.uploader.isHTML5?this.element[0].files:this.element[0],b=this.getOptions(),c=this.getFilters();this.uploader.isHTML5||this.destroy(),this.uploader.addToQueue(a,b,c),this.isEmptyAfterSelection()&&(this.element.prop("value",null),this.element.replaceWith(this.element=this.element.clone(!0)))}}}),b}(a);return b},a.exports.$inject=["FileDirective"]},function(a,b){a.exports={name:"angularFileUpload"}},function(a,b){"use strict";a.exports={url:"/",alias:"file",headers:{},queue:[],progress:0,autoUpload:!1,removeAfterUpload:!1,method:"POST",filters:[],formData:[],queueLimit:Number.MAX_VALUE,withCredentials:!1}},function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a},e=function(){function a(a,b){for(var c in b){var d=b[c];d.configurable=!0,d.value&&(d.writable=!0)}Object.defineProperties(a,b)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")},g=(d(c(2)),angular.copy),h=angular.extend,i=angular.forEach,j=angular.isObject,k=angular.isNumber,l=angular.isDefined,m=angular.isArray,n=angular.element;a.exports=function(a,b,c,d,o,p){var q=d.File,r=d.FormData,s=function(){function d(b){f(this,d);var c=g(a);h(this,c,b,{isUploading:!1,_nextIndex:0,_failFilterIndex:-1,_directives:{select:[],drop:[],over:[]}}),this.filters.unshift({name:"queueLimit",fn:this._queueLimitFilter}),this.filters.unshift({name:"folder",fn:this._folderFilter})}return e(d,{addToQueue:{value:function(a,b,c){var d=this,e=this.isArrayLikeObject(a)?a:[a],f=this._getFilters(c),g=this.queue.length,h=[];i(e,function(a){var c=new o(a);if(d._isValidFile(c,f,b)){var e=new p(d,a,b);h.push(e),d.queue.push(e),d._onAfterAddingFile(e)}else{var g=f[d._failFilterIndex];d._onWhenAddingFileFailed(c,g,b)}}),this.queue.length!==g&&(this._onAfterAddingAll(h),this.progress=this._getTotalProgress()),this._render(),this.autoUpload&&this.uploadAll()}},removeFromQueue:{value:function(a){var b=this.getIndexOfItem(a),c=this.queue[b];c.isUploading&&c.cancel(),this.queue.splice(b,1),c._destroy(),this.progress=this._getTotalProgress()}},clearQueue:{value:function(){for(;this.queue.length;)this.queue[0].remove();this.progress=0}},uploadItem:{value:function(a){var b=this.getIndexOfItem(a),c=this.queue[b],d=this.isHTML5?"_xhrTransport":"_iframeTransport";c._prepareToUploading(),this.isUploading||(this.isUploading=!0,this[d](c))}},cancelItem:{value:function(a){var b=this.getIndexOfItem(a),c=this.queue[b],d=this.isHTML5?"_xhr":"_form";c&&c.isUploading&&c[d].abort()}},uploadAll:{value:function(){var a=this.getNotUploadedItems().filter(function(a){return!a.isUploading});a.length&&(i(a,function(a){return a._prepareToUploading()}),a[0].upload())}},cancelAll:{value:function(){var a=this.getNotUploadedItems();i(a,function(a){return a.cancel()})}},isFile:{value:function(a){return this.constructor.isFile(a)}},isFileLikeObject:{value:function(a){return this.constructor.isFileLikeObject(a)}},isArrayLikeObject:{value:function(a){return this.constructor.isArrayLikeObject(a)}},getIndexOfItem:{value:function(a){return k(a)?a:this.queue.indexOf(a)}},getNotUploadedItems:{value:function(){return this.queue.filter(function(a){return!a.isUploaded})}},getReadyItems:{value:function(){return this.queue.filter(function(a){return a.isReady&&!a.isUploading}).sort(function(a,b){return a.index-b.index})}},destroy:{value:function(){var a=this;i(this._directives,function(b){i(a._directives[b],function(a){a.destroy()})})}},onAfterAddingAll:{value:function(a){}},onAfterAddingFile:{value:function(a){}},onWhenAddingFileFailed:{value:function(a,b,c){}},onBeforeUploadItem:{value:function(a){}},onProgressItem:{value:function(a,b){}},onProgressAll:{value:function(a){}},onSuccessItem:{value:function(a,b,c,d){}},onErrorItem:{value:function(a,b,c,d){}},onCancelItem:{value:function(a,b,c,d){}},onCompleteItem:{value:function(a,b,c,d){}},onCompleteAll:{value:function(){}},_getTotalProgress:{value:function(a){if(this.removeAfterUpload)return a||0;var b=this.getNotUploadedItems().length,c=b?this.queue.length-b:this.queue.length,d=100/this.queue.length,e=(a||0)*d/100;return Math.round(c*d+e)}},_getFilters:{value:function(a){if(!a)return this.filters;if(m(a))return a;var b=a.match(/[^\s,]+/g);return this.filters.filter(function(a){return-1!==b.indexOf(a.name)})}},_render:{value:function(){b.$$phase||b.$apply()}},_folderFilter:{value:function(a){return!(!a.size&&!a.type)}},_queueLimitFilter:{value:function(){return this.queue.length<this.queueLimit}},_isValidFile:{value:function(a,b,c){var d=this;return this._failFilterIndex=-1,b.length?b.every(function(b){return d._failFilterIndex++,b.fn.call(d,a,c)}):!0}},_isSuccessCode:{value:function(a){return a>=200&&300>a||304===a}},_transformResponse:{value:function(a,b){var d=this._headersGetter(b);return i(c.defaults.transformResponse,function(b){a=b(a,d)}),a}},_parseHeaders:{value:function(a){var b,c,d,e={};return a?(i(a.split("\n"),function(a){d=a.indexOf(":"),b=a.slice(0,d).trim().toLowerCase(),c=a.slice(d+1).trim(),b&&(e[b]=e[b]?e[b]+", "+c:c)}),e):e}},_headersGetter:{value:function(a){return function(b){return b?a[b.toLowerCase()]||null:a}}},_xhrTransport:{value:function(a){var b=this,c=a._xhr=new XMLHttpRequest,d=new r;if(this._onBeforeUploadItem(a),i(a.formData,function(a){i(a,function(a,b){d.append(b,a)})}),"number"!=typeof a._file.size)throw new TypeError("The file specified is no longer valid");d.append(a.alias,a._file,a.file.name),c.upload.onprogress=function(c){var d=Math.round(c.lengthComputable?100*c.loaded/c.total:0);b._onProgressItem(a,d)},c.onload=function(){var d=b._parseHeaders(c.getAllResponseHeaders()),e=b._transformResponse(c.response,d),f=b._isSuccessCode(c.status)?"Success":"Error",g="_on"+f+"Item";b[g](a,e,c.status,d),b._onCompleteItem(a,e,c.status,d)},c.onerror=function(){var d=b._parseHeaders(c.getAllResponseHeaders()),e=b._transformResponse(c.response,d);b._onErrorItem(a,e,c.status,d),b._onCompleteItem(a,e,c.status,d)},c.onabort=function(){var d=b._parseHeaders(c.getAllResponseHeaders()),e=b._transformResponse(c.response,d);b._onCancelItem(a,e,c.status,d),b._onCompleteItem(a,e,c.status,d)},c.open(a.method,a.url,!0),c.withCredentials=a.withCredentials,i(a.headers,function(a,b){c.setRequestHeader(b,a)}),c.send(d),this._render()}},_iframeTransport:{value:function(a){var b=this,c=n('<form style="display: none;" />'),d=n('<iframe name="iframeTransport'+Date.now()+'">'),e=a._input;a._form&&a._form.replaceWith(e),a._form=c,this._onBeforeUploadItem(a),e.prop("name",a.alias),i(a.formData,function(a){i(a,function(a,b){var d=n('<input type="hidden" name="'+b+'" />');d.val(a),c.append(d)})}),c.prop({action:a.url,method:"POST",target:d.prop("name"),enctype:"multipart/form-data",encoding:"multipart/form-data"}),d.bind("load",function(){var c="",e=200;try{c=d[0].contentDocument.body.innerHTML}catch(f){e=500}var g={response:c,status:e,dummy:!0},h={},i=b._transformResponse(g.response,h);b._onSuccessItem(a,i,g.status,h),b._onCompleteItem(a,i,g.status,h)}),c.abort=function(){var f,g={status:0,dummy:!0},h={};d.unbind("load").prop("src","javascript:false;"),c.replaceWith(e),b._onCancelItem(a,f,g.status,h),b._onCompleteItem(a,f,g.status,h)},e.after(c),c.append(e).append(d),c[0].submit(),this._render()}},_onWhenAddingFileFailed:{value:function(a,b,c){this.onWhenAddingFileFailed(a,b,c)}},_onAfterAddingFile:{value:function(a){this.onAfterAddingFile(a)}},_onAfterAddingAll:{value:function(a){this.onAfterAddingAll(a)}},_onBeforeUploadItem:{value:function(a){a._onBeforeUpload(),this.onBeforeUploadItem(a)}},_onProgressItem:{value:function(a,b){var c=this._getTotalProgress(b);this.progress=c,a._onProgress(b),this.onProgressItem(a,b),this.onProgressAll(c),this._render()}},_onSuccessItem:{value:function(a,b,c,d){a._onSuccess(b,c,d),this.onSuccessItem(a,b,c,d)}},_onErrorItem:{value:function(a,b,c,d){a._onError(b,c,d),this.onErrorItem(a,b,c,d)}},_onCancelItem:{value:function(a,b,c,d){a._onCancel(b,c,d),this.onCancelItem(a,b,c,d)}},_onCompleteItem:{value:function(a,b,c,d){a._onComplete(b,c,d),this.onCompleteItem(a,b,c,d);var e=this.getReadyItems()[0];return this.isUploading=!1,l(e)?void e.upload():(this.onCompleteAll(),this.progress=this._getTotalProgress(),void this._render())}}},{isFile:{value:function(a){return q&&a instanceof q}},isFileLikeObject:{value:function(a){return a instanceof o}},isArrayLikeObject:{value:function(a){return j(a)&&"length"in a}},inherit:{value:function(a,b){a.prototype=Object.create(b.prototype),a.prototype.constructor=a,a.super_=b}}}),d}();return s.prototype.isHTML5=!(!q||!r),s.isHTML5=s.prototype.isHTML5,s},a.exports.$inject=["fileUploaderOptions","$rootScope","$http","$window","FileLikeObject","FileItem"]},function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a},e=function(){function a(a,b){for(var c in b){var d=b[c];d.configurable=!0,d.value&&(d.writable=!0)}Object.defineProperties(a,b)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")},g=(d(c(2)),angular.copy),h=angular.isElement,i=angular.isString;a.exports=function(){var a=function(){function a(b){f(this,a);var c=h(b),d=c?b.value:b,e=i(d)?"FakePath":"Object",g="_createFrom"+e;this[g](d)}return e(a,{_createFromFakePath:{value:function(a){this.lastModifiedDate=null,this.size=null,this.type="like/"+a.slice(a.lastIndexOf(".")+1).toLowerCase(),this.name=a.slice(a.lastIndexOf("/")+a.lastIndexOf("\\")+2)}},_createFromObject:{value:function(a){this.lastModifiedDate=g(a.lastModifiedDate),this.size=a.size,this.type=a.type,this.name=a.name}}}),a}();return a},a.exports.$inject=[]},function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a},e=function(){function a(a,b){for(var c in b){var d=b[c];d.configurable=!0,d.value&&(d.writable=!0)}Object.defineProperties(a,b)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")},g=(d(c(2)),angular.copy),h=angular.extend,i=angular.element,j=angular.isElement;a.exports=function(a,b){var c=function(){function c(a,d,e){f(this,c);var k=j(d),l=k?i(d):null,m=k?null:d;h(this,{url:a.url,alias:a.alias,headers:g(a.headers),formData:g(a.formData),removeAfterUpload:a.removeAfterUpload,withCredentials:a.withCredentials,method:a.method},e,{uploader:a,file:new b(d),isReady:!1,isUploading:!1,isUploaded:!1,isSuccess:!1,isCancel:!1,isError:!1,progress:0,index:null,_file:m,_input:l}),l&&this._replaceNode(l)}return e(c,{upload:{value:function(){try{this.uploader.uploadItem(this)}catch(a){this.uploader._onCompleteItem(this,"",0,[]),this.uploader._onErrorItem(this,"",0,[])}}},cancel:{value:function(){this.uploader.cancelItem(this)}},remove:{value:function(){this.uploader.removeFromQueue(this)}},onBeforeUpload:{value:function(){}},onProgress:{value:function(a){}},onSuccess:{value:function(a,b,c){}},onError:{value:function(a,b,c){}},onCancel:{value:function(a,b,c){}},onComplete:{value:function(a,b,c){}},_onBeforeUpload:{value:function(){this.isReady=!0,this.isUploading=!0,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.onBeforeUpload()}},_onProgress:{value:function(a){this.progress=a,this.onProgress(a)}},_onSuccess:{value:function(a,b,c){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!0,this.isCancel=!1,this.isError=!1,this.progress=100,this.index=null,this.onSuccess(a,b,c)}},_onError:{value:function(a,b,c){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!1,this.isCancel=!1,this.isError=!0,this.progress=0,this.index=null,this.onError(a,b,c)}},_onCancel:{value:function(a,b,c){this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!0,this.isError=!1,this.progress=0,this.index=null,this.onCancel(a,b,c)}},_onComplete:{value:function(a,b,c){this.onComplete(a,b,c),this.removeAfterUpload&&this.remove()}},_destroy:{value:function(){this._input&&this._input.remove(),this._form&&this._form.remove(),delete this._form,delete this._input}},_prepareToUploading:{value:function(){this.index=this.index||++this.uploader._nextIndex,this.isReady=!0}},_replaceNode:{value:function(b){var c=a(b.clone())(b.scope());c.prop("value",null),b.css("display","none"),b.after(c)}}}),c}();return c},a.exports.$inject=["$compile","FileLikeObject"]},function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a},e=function(){function a(a,b){for(var c in b){var d=b[c];d.configurable=!0,d.value&&(d.writable=!0)}Object.defineProperties(a,b)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")},g=(d(c(2)),angular.extend);a.exports=function(){var a=function(){function a(b){f(this,a),g(this,b),this.uploader._directives[this.prop].push(this),this._saveLinks(),this.bind()}return e(a,{bind:{value:function(){for(var a in this.events){var b=this.events[a];this.element.bind(a,this[b])}}},unbind:{value:function(){for(var a in this.events)this.element.unbind(a,this.events[a])}},destroy:{value:function(){var a=this.uploader._directives[this.prop].indexOf(this);this.uploader._directives[this.prop].splice(a,1),this.unbind()}},_saveLinks:{value:function(){for(var a in this.events){var b=this.events[a];this[b]=this[b].bind(this)}}}}),a}();return a.prototype.events={},a},a.exports.$inject=[]},function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a},e=function(){function a(a,b){for(var c in b){var d=b[c];d.configurable=!0,d.value&&(d.writable=!0)}Object.defineProperties(a,b)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function k(a,b,c){var d=Object.getOwnPropertyDescriptor(a,b);if(void 0===d){var e=Object.getPrototypeOf(a);return null===e?void 0:k(e,b,c)}if("value"in d&&d.writable)return d.value;var f=d.get;return void 0===f?void 0:f.call(c)},g=function(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(a.__proto__=b)},h=function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")},i=(d(c(2)),angular.extend),j=angular.forEach;a.exports=function(a){var b=function(a){function b(a){h(this,b);var c=i(a,{events:{$destroy:"destroy",drop:"onDrop",dragover:"onDragOver",dragleave:"onDragLeave"},prop:"drop"});f(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,c)}return g(b,a),e(b,{getOptions:{value:function(){}},getFilters:{value:function(){}},onDrop:{value:function(a){var b=this._getTransfer(a);if(b){var c=this.getOptions(),d=this.getFilters();this._preventAndStop(a),j(this.uploader._directives.over,this._removeOverClass,this),this.uploader.addToQueue(b.files,c,d)}}},onDragOver:{value:function(a){var b=this._getTransfer(a);this._haveFiles(b.types)&&(b.dropEffect="copy",this._preventAndStop(a),j(this.uploader._directives.over,this._addOverClass,this))}},onDragLeave:{value:function(a){a.currentTarget!==this.element[0]&&(this._preventAndStop(a),j(this.uploader._directives.over,this._removeOverClass,this))}},_getTransfer:{value:function(a){return a.dataTransfer?a.dataTransfer:a.originalEvent.dataTransfer}},_preventAndStop:{value:function(a){a.preventDefault(),a.stopPropagation()}},_haveFiles:{value:function(a){return a?a.indexOf?-1!==a.indexOf("Files"):a.contains?a.contains("Files"):!1:!1}},_addOverClass:{value:function(a){a.addOverClass()}},_removeOverClass:{value:function(a){a.removeOverClass()}}}),b}(a);return b},a.exports.$inject=["FileDirective"]},function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a},e=function(){function a(a,b){for(var c in b){var d=b[c];d.configurable=!0,d.value&&(d.writable=!0)}Object.defineProperties(a,b)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function j(a,b,c){var d=Object.getOwnPropertyDescriptor(a,b);if(void 0===d){var e=Object.getPrototypeOf(a);return null===e?void 0:j(e,b,c)}if("value"in d&&d.writable)return d.value;var f=d.get;return void 0===f?void 0:f.call(c)},g=function(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(a.__proto__=b)},h=function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")},i=(d(c(2)),angular.extend);a.exports=function(a){var b=function(a){function b(a){h(this,b);var c=i(a,{events:{$destroy:"destroy"},prop:"over",overClass:"nv-file-over"});f(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,c)}return g(b,a),e(b,{addOverClass:{value:function(){this.element.addClass(this.getOverClass())}},removeOverClass:{value:function(){this.element.removeClass(this.getOverClass())}},getOverClass:{value:function(){return this.overClass}}}),b}(a);return b},a.exports.$inject=["FileDirective"]},function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a};d(c(2)),a.exports=function(a,b,c){return{link:function(d,e,f){var g=d.$eval(f.uploader);if(!(g instanceof b))throw new TypeError('"Uploader" must be an instance of FileUploader');var h=new c({uploader:g,element:e});h.getOptions=a(f.options).bind(h,d),h.getFilters=function(){return f.filters}}}},a.exports.$inject=["$parse","FileUploader","FileSelect"]},function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a};d(c(2)),a.exports=function(a,b,c){return{link:function(d,e,f){var g=d.$eval(f.uploader);if(!(g instanceof b))throw new TypeError('"Uploader" must be an instance of FileUploader');if(g.isHTML5){var h=new c({uploader:g,element:e});h.getOptions=a(f.options).bind(h,d),h.getFilters=function(){return f.filters}}}}},a.exports.$inject=["$parse","FileUploader","FileDrop"]},function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a};d(c(2)),a.exports=function(a,b){return{link:function(c,d,e){var f=c.$eval(e.uploader);if(!(f instanceof a))throw new TypeError('"Uploader" must be an instance of FileUploader');var g=new b({uploader:f,element:d});g.getOverClass=function(){return e.overClass||g.overClass}}}},a.exports.$inject=["FileUploader","FileOver"]}])}),!function(a,b,c){"use strict";function d(a){return D(a)?a:Object.keys(a).map(function(b){return a[b]})}function e(a){return null===a}function f(a,b){var d=Object.keys(a);return-1==d.map(function(d){return b[d]!==c&&b[d]==a[d]}).indexOf(!1)}function g(a,b){if(""===b)return a;var c=a.indexOf(b.charAt(0));return-1===c?!1:g(a.substr(c+1),b.substr(1))}function h(a,b,c){var d=0;return a.filter(function(a){var e=x(c)?b>d&&c(a):b>d;return d=e?d+1:d,e})}function i(a,b,c){return c.round(a*c.pow(10,b))/c.pow(10,b)}function j(a,b,c){b=b||[];var d=Object.keys(a);return d.forEach(function(d){if(C(a[d])&&!D(a[d])){var e=c?c+"."+d:c;j(a[d],b,e||d)}else{var f=c?c+"."+d:d;b.push(f)}}),b}function k(a){return a&&a.$evalAsync&&a.$watch}function l(){return function(a,b){return a>b}}function m(){return function(a,b){return a>=b}}function n(){return function(a,b){return b>a}}function o(){return function(a,b){return b>=a}}function p(){return function(a,b){return a==b}}function q(){return function(a,b){return a!=b}}function r(){return function(a,b){return a===b}}function s(){return function(a,b){return a!==b}}function t(a){return function(b,c){return b=C(b)?d(b):b,!D(b)||y(c)?!1:b.some(function(b){return C(b)||z(c)?a(c)(b):b===c})}}function u(a,b){return b=b||0,b>=a.length?a:D(a[b])?u(a.slice(0,b).concat(a[b],a.slice(b+1)),b):u(a,b+1)}function v(a){return function(b,c){function e(a,b){return y(b)?!1:a.some(function(a){return H(a,b)})}if(b=C(b)?d(b):b,!D(b))return b;var f=[],g=a(c);return y(c)?b.filter(function(a,b,c){return c.indexOf(a)===b}):b.filter(function(a){var b=g(a);return e(f,b)?!1:(f.push(b),!0)})}}function w(a,b,c){return b?a+c+w(a,--b,c):a}var x=b.isDefined,y=b.isUndefined,z=b.isFunction,A=b.isString,B=b.isNumber,C=b.isObject,D=b.isArray,E=b.forEach,F=b.extend,G=b.copy,H=b.equals;String.prototype.contains||(String.prototype.contains=function(){return-1!==String.prototype.indexOf.apply(this,arguments)}),b.module("a8m.angular",[]).filter("isUndefined",function(){return function(a){return b.isUndefined(a)}}).filter("isDefined",function(){return function(a){return b.isDefined(a)}}).filter("isFunction",function(){return function(a){return b.isFunction(a)}}).filter("isString",function(){return function(a){return b.isString(a)}}).filter("isNumber",function(){return function(a){return b.isNumber(a)}}).filter("isArray",function(){return function(a){return b.isArray(a)}}).filter("isObject",function(){return function(a){return b.isObject(a)}}).filter("isEqual",function(){return function(a,c){return b.equals(a,c)}}),b.module("a8m.conditions",[]).filter({isGreaterThan:l,">":l,isGreaterThanOrEqualTo:m,">=":m,isLessThan:n,"<":n,isLessThanOrEqualTo:o,"<=":o,isEqualTo:p,"==":p,isNotEqualTo:q,"!=":q,isIdenticalTo:r,"===":r,isNotIdenticalTo:s,"!==":s}),b.module("a8m.is-null",[]).filter("isNull",function(){return function(a){return e(a)}}),b.module("a8m.after-where",[]).filter("afterWhere",function(){return function(a,b){if(a=C(a)?d(a):a,!D(a)||y(b))return a;var c=a.map(function(a){return f(b,a)}).indexOf(!0);return a.slice(-1===c?0:c)}}),b.module("a8m.after",[]).filter("after",function(){return function(a,b){return a=C(a)?d(a):a,D(a)?a.slice(b):a}}),b.module("a8m.before-where",[]).filter("beforeWhere",function(){return function(a,b){if(a=C(a)?d(a):a,!D(a)||y(b))return a;var c=a.map(function(a){return f(b,a)}).indexOf(!0);return a.slice(0,-1===c?a.length:++c)}}),b.module("a8m.before",[]).filter("before",function(){return function(a,b){return a=C(a)?d(a):a,D(a)?a.slice(0,b?--b:b):a}}),b.module("a8m.chunk-by",["a8m.filter-watcher"]).filter("chunkBy",["filterWatcher",function(a){return function(b,c,d){function e(a,b){for(var c=[];a--;)c[a]=b;return c}function f(a,b,c){return D(a)?a.map(function(a,d,f){return d*=b,a=f.slice(d,d+b),!y(c)&&a.length<b?a.concat(e(b-a.length,c)):a}).slice(0,Math.ceil(a.length/b)):a}return a.isMemoized("chunkBy",arguments)||a.memoize("chunkBy",arguments,this,f(b,c,d))}}]),b.module("a8m.concat",[]).filter("concat",[function(){return function(a,b){if(y(b))return a;if(D(a))return C(b)?a.concat(d(b)):a.concat(b);if(C(a)){var c=d(a);return C(b)?c.concat(d(b)):c.concat(b)}return a}}]),b.module("a8m.contains",[]).filter({contains:["$parse",t],some:["$parse",t]}),b.module("a8m.count-by",[]).filter("countBy",["$parse",function(a){return function(b,c){var e,f={},g=a(c);return b=C(b)?d(b):b,!D(b)||y(c)?b:(b.forEach(function(a){e=g(a),f[e]||(f[e]=0),f[e]++}),f)}}]),b.module("a8m.defaults",[]).filter("defaults",["$parse",function(a){return function(b,c){if(b=C(b)?d(b):b,!D(b)||!C(c))return b;var e=j(c);return b.forEach(function(b){e.forEach(function(d){
-var e=a(d),f=e.assign;y(e(b))&&f(b,e(c))})}),b}}]),b.module("a8m.every",[]).filter("every",["$parse",function(a){return function(b,c){return b=C(b)?d(b):b,!D(b)||y(c)?!0:b.every(function(b){return C(b)||z(c)?a(c)(b):b===c})}}]),b.module("a8m.filter-by",[]).filter("filterBy",["$parse",function(a){return function(b,e,f){var g;return f=A(f)||B(f)?String(f).toLowerCase():c,b=C(b)?d(b):b,!D(b)||y(f)?b:b.filter(function(b){return e.some(function(c){if(~c.indexOf("+")){var d=c.replace(new RegExp("\\s","g"),"").split("+");g=d.reduce(function(c,d,e){return 1===e?a(c)(b)+" "+a(d)(b):c+" "+a(d)(b)})}else g=a(c)(b);return A(g)||B(g)?String(g).toLowerCase().contains(f):!1})})}}]),b.module("a8m.first",[]).filter("first",["$parse",function(a){return function(b){var e,f,g;return b=C(b)?d(b):b,D(b)?(g=Array.prototype.slice.call(arguments,1),e=B(g[0])?g[0]:1,f=B(g[0])?B(g[1])?c:g[1]:g[0],g.length?h(b,e,f?a(f):f):b[0]):b}}]),b.module("a8m.flatten",[]).filter("flatten",function(){return function(a,b){return b=b||!1,a=C(a)?d(a):a,D(a)?b?[].concat.apply([],a):u(a,0):a}}),b.module("a8m.fuzzy-by",[]).filter("fuzzyBy",["$parse",function(a){return function(b,c,e,f){var h,i,j=f||!1;return b=C(b)?d(b):b,!D(b)||y(c)||y(e)?b:(i=a(c),b.filter(function(a){return h=i(a),A(h)?(h=j?h:h.toLowerCase(),e=j?e:e.toLowerCase(),g(h,e)!==!1):!1}))}}]),b.module("a8m.fuzzy",[]).filter("fuzzy",function(){return function(a,b,c){function e(a,b){var c,d,e=Object.keys(a);return 0<e.filter(function(e){return c=a[e],d?!0:A(c)?(c=f?c:c.toLowerCase(),d=g(c,b)!==!1):!1}).length}var f=c||!1;return a=C(a)?d(a):a,!D(a)||y(b)?a:(b=f?b:b.toLowerCase(),a.filter(function(a){return A(a)?(a=f?a:a.toLowerCase(),g(a,b)!==!1):C(a)?e(a,b):!1}))}}),b.module("a8m.group-by",["a8m.filter-watcher"]).filter("groupBy",["$parse","filterWatcher",function(a,b){return function(c,d){function e(a,b){var c,d={};return E(a,function(a){c=b(a),d[c]||(d[c]=[]),d[c].push(a)}),d}return!C(c)||y(d)?c:b.isMemoized("groupBy",arguments)||b.memoize("groupBy",arguments,this,e(c,a(d)))}}]),b.module("a8m.is-empty",[]).filter("isEmpty",function(){return function(a){return C(a)?!d(a).length:!a.length}}),b.module("a8m.join",[]).filter("join",function(){return function(a,b){return y(a)||!D(a)?a:(y(b)&&(b=" "),a.join(b))}}),b.module("a8m.last",[]).filter("last",["$parse",function(a){return function(b){var e,f,g,i=G(b);return i=C(i)?d(i):i,D(i)?(g=Array.prototype.slice.call(arguments,1),e=B(g[0])?g[0]:1,f=B(g[0])?B(g[1])?c:g[1]:g[0],g.length?h(i.reverse(),e,f?a(f):f).reverse():i[i.length-1]):i}}]),b.module("a8m.map",[]).filter("map",["$parse",function(a){return function(b,c){return b=C(b)?d(b):b,!D(b)||y(c)?b:b.map(function(b){return a(c)(b)})}}]),b.module("a8m.omit",[]).filter("omit",["$parse",function(a){return function(b,c){return b=C(b)?d(b):b,!D(b)||y(c)?b:b.filter(function(b){return!a(c)(b)})}}]),b.module("a8m.pick",[]).filter("pick",["$parse",function(a){return function(b,c){return b=C(b)?d(b):b,!D(b)||y(c)?b:b.filter(function(b){return a(c)(b)})}}]),b.module("a8m.range",[]).filter("range",function(){return function(a,b){for(var c=0;c<parseInt(b);c++)a.push(c);return a}}),b.module("a8m.remove-with",[]).filter("removeWith",function(){return function(a,b){return y(b)?a:(a=C(a)?d(a):a,a.filter(function(a){return!f(b,a)}))}}),b.module("a8m.remove",[]).filter("remove",function(){return function(a){a=C(a)?d(a):a;var b=Array.prototype.slice.call(arguments,1);return D(a)?a.filter(function(a){return!b.some(function(b){return H(b,a)})}):a}}),b.module("a8m.reverse",[]).filter("reverse",[function(){return function(a){return a=C(a)?d(a):a,A(a)?a.split("").reverse().join(""):D(a)?a.slice().reverse():a}}]),b.module("a8m.search-field",[]).filter("searchField",["$parse",function(a){return function(b){var c,e;b=C(b)?d(b):b;var f=Array.prototype.slice.call(arguments,1);return D(b)&&f.length?b.map(function(b){return e=f.map(function(d){return(c=a(d))(b)}).join(" "),F(b,{searchField:e})}):b}}]),b.module("a8m.to-array",[]).filter("toArray",function(){return function(a,b){return C(a)?b?Object.keys(a).map(function(b){return F(a[b],{$key:b})}):d(a):a}}),b.module("a8m.unique",[]).filter({unique:["$parse",v],uniq:["$parse",v]}),b.module("a8m.where",[]).filter("where",function(){return function(a,b){return y(b)?a:(a=C(a)?d(a):a,a.filter(function(a){return f(b,a)}))}}),b.module("a8m.xor",[]).filter("xor",["$parse",function(a){return function(b,c,e){function f(b,c){var d=a(e);return c.some(function(a){return e?H(d(a),d(b)):H(a,b)})}return e=e||!1,b=C(b)?d(b):b,c=C(c)?d(c):c,D(b)&&D(c)?b.concat(c).filter(function(a){return!(f(a,b)&&f(a,c))}):b}}]),b.module("a8m.math.byteFmt",["a8m.math"]).filter("byteFmt",["$math",function(a){return function(b,c){return B(c)&&isFinite(c)&&c%1===0&&c>=0&&B(b)&&isFinite(b)?1024>b?i(b,c,a)+" B":1048576>b?i(b/1024,c,a)+" KB":1073741824>b?i(b/1048576,c,a)+" MB":i(b/1073741824,c,a)+" GB":"NaN"}}]),b.module("a8m.math.degrees",["a8m.math"]).filter("degrees",["$math",function(a){return function(b,c){if(B(c)&&isFinite(c)&&c%1===0&&c>=0&&B(b)&&isFinite(b)){var d=180*b/a.PI;return a.round(d*a.pow(10,c))/a.pow(10,c)}return"NaN"}}]),b.module("a8m.math.kbFmt",["a8m.math"]).filter("kbFmt",["$math",function(a){return function(b,c){return B(c)&&isFinite(c)&&c%1===0&&c>=0&&B(b)&&isFinite(b)?1024>b?i(b,c,a)+" KB":1048576>b?i(b/1024,c,a)+" MB":i(b/1048576,c,a)+" GB":"NaN"}}]),b.module("a8m.math",[]).factory("$math",["$window",function(a){return a.Math}]),b.module("a8m.math.max",["a8m.math"]).filter("max",["$math","$parse",function(a,b){function c(c,d){var e=c.map(function(a){return b(d)(a)});return e.indexOf(a.max.apply(a,e))}return function(b,d){return D(b)?y(d)?a.max.apply(a,b):b[c(b,d)]:b}}]),b.module("a8m.math.min",["a8m.math"]).filter("min",["$math","$parse",function(a,b){function c(c,d){var e=c.map(function(a){return b(d)(a)});return e.indexOf(a.min.apply(a,e))}return function(b,d){return D(b)?y(d)?a.min.apply(a,b):b[c(b,d)]:b}}]),b.module("a8m.math.percent",["a8m.math"]).filter("percent",["$math","$window",function(a,b){return function(c,d,e){var f=A(c)?b.Number(c):c;return d=d||100,e=e||!1,!B(f)||b.isNaN(f)?c:e?a.round(f/d*100):f/d*100}}]),b.module("a8m.math.radians",["a8m.math"]).filter("radians",["$math",function(a){return function(b,c){if(B(c)&&isFinite(c)&&c%1===0&&c>=0&&B(b)&&isFinite(b)){var d=3.14159265359*b/180;return a.round(d*a.pow(10,c))/a.pow(10,c)}return"NaN"}}]),b.module("a8m.math.radix",[]).filter("radix",function(){return function(a,b){var c=/^[2-9]$|^[1-2]\d$|^3[0-6]$/;return B(a)&&c.test(b)?a.toString(b).toUpperCase():a}}),b.module("a8m.math.shortFmt",["a8m.math"]).filter("shortFmt",["$math",function(a){return function(b,c){return B(c)&&isFinite(c)&&c%1===0&&c>=0&&B(b)&&isFinite(b)?1e3>b?b:1e6>b?i(b/1e3,c,a)+" K":1e9>b?i(b/1e6,c,a)+" M":i(b/1e9,c,a)+" B":"NaN"}}]),b.module("a8m.math.sum",[]).filter("sum",function(){return function(a,b){return D(a)?a.reduce(function(a,b){return a+b},b||0):a}}),b.module("a8m.ends-with",[]).filter("endsWith",function(){return function(a,b,c){var d,e=c||!1;return!A(a)||y(b)?a:(a=e?a:a.toLowerCase(),d=a.length-b.length,-1!==a.indexOf(e?b:b.toLowerCase(),d))}}),b.module("a8m.latinize",[]).filter("latinize",[function(){function a(a){return a.replace(/[^\u0000-\u007E]/g,function(a){return c[a]||a})}for(var b=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"OE",letters:"\8cŒ"},{base:"oe",letters:"\9cœ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],c={},d=0;d<b.length;d++)for(var e=b[d].letters.split(""),f=0;f<e.length;f++)c[e[f]]=b[d].base;return function(b){return A(b)?a(b):b}}]),b.module("a8m.ltrim",[]).filter("ltrim",function(){return function(a,b){var c=b||"\\s";return A(a)?a.replace(new RegExp("^"+c+"+"),""):a}}),b.module("a8m.match",[]).filter("match",function(){return function(a,b,c){var d=new RegExp(b,c);return A(a)?a.match(d):null}}),b.module("a8m.repeat",[]).filter("repeat",[function(){return function(a,b,c){var d=~~b;return A(a)&&d?w(a,--b,c||""):a}}]),b.module("a8m.rtrim",[]).filter("rtrim",function(){return function(a,b){var c=b||"\\s";return A(a)?a.replace(new RegExp(c+"+$"),""):a}}),b.module("a8m.slugify",[]).filter("slugify",[function(){return function(a,b){var c=y(b)?"-":b;return A(a)?a.toLowerCase().replace(/\s+/g,c):a}}]),b.module("a8m.starts-with",[]).filter("startsWith",function(){return function(a,b,c){var d=c||!1;return!A(a)||y(b)?a:(a=d?a:a.toLowerCase(),!a.indexOf(d?b:b.toLowerCase()))}}),b.module("a8m.stringular",[]).filter("stringular",function(){return function(a){var b=Array.prototype.slice.call(arguments,1);return a.replace(/{(\d+)}/g,function(a,c){return y(b[c])?a:b[c]})}}),b.module("a8m.strip-tags",[]).filter("stripTags",function(){return function(a){return A(a)?a.replace(/<\S[^><]*>/g,""):a}}),b.module("a8m.test",[]).filter("test",function(){return function(a,b,c){var d=new RegExp(b,c);return A(a)?d.test(a):a}}),b.module("a8m.trim",[]).filter("trim",function(){return function(a,b){var c=b||"\\s";return A(a)?a.replace(new RegExp("^"+c+"+|"+c+"+$","g"),""):a}}),b.module("a8m.truncate",[]).filter("truncate",function(){return function(a,b,c,d){return b=y(b)?a.length:b,d=d||!1,c=c||"",!A(a)||a.length<=b?a:a.substring(0,d?-1===a.indexOf(" ",b)?a.length:a.indexOf(" ",b):b)+c}}),b.module("a8m.ucfirst",[]).filter("ucfirst",[function(){return function(a){return A(a)?a.split(" ").map(function(a){return a.charAt(0).toUpperCase()+a.substring(1)}).join(" "):a}}]),b.module("a8m.uri-component-encode",[]).filter("uriComponentEncode",["$window",function(a){return function(b){return A(b)?a.encodeURIComponent(b):b}}]),b.module("a8m.uri-encode",[]).filter("uriEncode",["$window",function(a){return function(b){return A(b)?a.encodeURI(b):b}}]),b.module("a8m.wrap",[]).filter("wrap",function(){return function(a,b,c){return A(a)&&x(b)?[b,a,c||b].join(""):a}}),b.module("a8m.filter-watcher",[]).provider("filterWatcher",function(){this.$get=["$window","$rootScope",function(a,b){function c(b,c){function d(){var b=[];return function(c,d){if(C(d)&&!e(d)){if(~b.indexOf(d))return"[Circular]";b.push(d)}return a==d?"$WINDOW":a.document==d?"$DOCUMENT":k(d)?"$SCOPE":d}}return[b,JSON.stringify(c,d())].join("#").replace(/"/g,"")}function d(a){var b=a.targetScope.$id;E(l[b],function(a){delete j[a]}),delete l[b]}function f(){m(function(){b.$$phase||(j={})},2e3)}function g(a,b){var c=a.$id;return y(l[c])&&(a.$on("$destroy",d),l[c]=[]),l[c].push(b)}function h(a,b){var d=c(a,b);return j[d]}function i(a,b,d,e){var h=c(a,b);return j[h]=e,k(d)?g(d,h):f(),e}var j={},l={},m=a.setTimeout;return{isMemoized:h,memoize:i}}]}),b.module("angular.filter",["a8m.ucfirst","a8m.uri-encode","a8m.uri-component-encode","a8m.slugify","a8m.latinize","a8m.strip-tags","a8m.stringular","a8m.truncate","a8m.starts-with","a8m.ends-with","a8m.wrap","a8m.trim","a8m.ltrim","a8m.rtrim","a8m.repeat","a8m.test","a8m.match","a8m.to-array","a8m.concat","a8m.contains","a8m.unique","a8m.is-empty","a8m.after","a8m.after-where","a8m.before","a8m.before-where","a8m.defaults","a8m.where","a8m.reverse","a8m.remove","a8m.remove-with","a8m.group-by","a8m.count-by","a8m.chunk-by","a8m.search-field","a8m.fuzzy-by","a8m.fuzzy","a8m.omit","a8m.pick","a8m.every","a8m.filter-by","a8m.xor","a8m.map","a8m.first","a8m.last","a8m.flatten","a8m.join","a8m.range","a8m.math","a8m.math.max","a8m.math.min","a8m.math.percent","a8m.math.radix","a8m.math.sum","a8m.math.degrees","a8m.math.radians","a8m.math.byteFmt","a8m.math.kbFmt","a8m.math.shortFmt","a8m.angular","a8m.conditions","a8m.is-null","a8m.filter-watcher"])}(window,window.angular),function(a,b,c){"use strict";var d=b.isDefined,e=b.isUndefined,f=b.isNumber,g=b.isObject,h=b.isArray,i=b.extend,j=b.toJson,k=b.module("LocalStorageModule",[]);k.provider("localStorageService",function(){this.prefix="ls",this.storageType="localStorage",this.cookie={expiry:30,path:"/"},this.notify={setItem:!0,removeItem:!1},this.setPrefix=function(a){return this.prefix=a,this},this.setStorageType=function(a){return this.storageType=a,this},this.setStorageCookie=function(a,b){return this.cookie.expiry=a,this.cookie.path=b,this},this.setStorageCookieDomain=function(a){return this.cookie.domain=a,this},this.setNotify=function(a,b){return this.notify={setItem:a,removeItem:b},this},this.$get=["$rootScope","$window","$document","$parse",function(a,b,c,k){var l,m=this,n=m.prefix,o=m.cookie,p=m.notify,q=m.storageType;c?c[0]&&(c=c[0]):c=document,"."!==n.substr(-1)&&(n=n?n+".":"");var r=function(a){return n+a},s=function(){try{var c=q in b&&null!==b[q],d=r("__"+Math.round(1e7*Math.random()));return c&&(l=b[q],l.setItem(d,""),l.removeItem(d)),c}catch(e){return q="cookie",a.$broadcast("LocalStorageModule.notification.error",e.message),!1}}(),t=function(b,c){if(c=e(c)?null:j(c),!s||"cookie"===m.storageType)return s||a.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),p.setItem&&a.$broadcast("LocalStorageModule.notification.setitem",{key:b,newvalue:c,storageType:"cookie"}),z(b,c);try{l&&l.setItem(r(b),c),p.setItem&&a.$broadcast("LocalStorageModule.notification.setitem",{key:b,newvalue:c,storageType:m.storageType})}catch(d){return a.$broadcast("LocalStorageModule.notification.error",d.message),z(b,c)}return!0},u=function(b){if(!s||"cookie"===m.storageType)return s||a.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),A(b);var c=l?l.getItem(r(b)):null;if(!c||"null"===c)return null;try{return JSON.parse(c)}catch(d){return c}},v=function(){var b,c;for(b=0;b<arguments.length;b++)if(c=arguments[b],s&&"cookie"!==m.storageType)try{l.removeItem(r(c)),p.removeItem&&a.$broadcast("LocalStorageModule.notification.removeitem",{key:c,storageType:m.storageType})}catch(d){a.$broadcast("LocalStorageModule.notification.error",d.message),B(c)}else s||a.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),p.removeItem&&a.$broadcast("LocalStorageModule.notification.removeitem",{key:c,storageType:"cookie"}),B(c)},w=function(){if(!s)return a.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),!1;var b=n.length,c=[];for(var d in l)if(d.substr(0,b)===n)try{c.push(d.substr(b))}catch(e){return a.$broadcast("LocalStorageModule.notification.error",e.Description),[]}return c},x=function(b){var c=n?new RegExp("^"+n):new RegExp,d=b?new RegExp(b):new RegExp;if(!s||"cookie"===m.storageType)return s||a.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),C();var e=n.length;for(var f in l)if(c.test(f)&&d.test(f.substr(e)))try{v(f.substr(e))}catch(g){return a.$broadcast("LocalStorageModule.notification.error",g.message),C()}return!0},y=function(){try{return b.navigator.cookieEnabled||"cookie"in c&&(c.cookie.length>0||(c.cookie="test").indexOf.call(c.cookie,"test")>-1)}catch(d){return a.$broadcast("LocalStorageModule.notification.error",d.message),!1}}(),z=function(b,d,i){if(e(d))return!1;if((h(d)||g(d))&&(d=j(d)),!y)return a.$broadcast("LocalStorageModule.notification.error","COOKIES_NOT_SUPPORTED"),!1;try{var k="",l=new Date,m="";if(null===d?(l.setTime(l.getTime()+-864e5),k="; expires="+l.toGMTString(),d=""):f(i)&&0!==i?(l.setTime(l.getTime()+24*i*60*60*1e3),k="; expires="+l.toGMTString()):0!==o.expiry&&(l.setTime(l.getTime()+24*o.expiry*60*60*1e3),k="; expires="+l.toGMTString()),b){var n="; path="+o.path;o.domain&&(m="; domain="+o.domain),c.cookie=r(b)+"="+encodeURIComponent(d)+k+n+m}}catch(p){return a.$broadcast("LocalStorageModule.notification.error",p.message),!1}return!0},A=function(b){if(!y)return a.$broadcast("LocalStorageModule.notification.error","COOKIES_NOT_SUPPORTED"),!1;for(var d=c.cookie&&c.cookie.split(";")||[],e=0;e<d.length;e++){for(var f=d[e];" "===f.charAt(0);)f=f.substring(1,f.length);if(0===f.indexOf(r(b)+"=")){var g=decodeURIComponent(f.substring(n.length+b.length+1,f.length));try{return JSON.parse(g)}catch(h){return g}}}return null},B=function(a){z(a,null)},C=function(){for(var a=null,b=n.length,d=c.cookie.split(";"),e=0;e<d.length;e++){for(a=d[e];" "===a.charAt(0);)a=a.substring(1,a.length);var f=a.substring(b,a.indexOf("="));B(f)}},D=function(){return q},E=function(a,b,c,e){e=e||b;var f=u(e);return null===f&&d(c)?f=c:g(f)&&g(c)&&(f=i(c,f)),k(b).assign(a,f),a.$watch(b,function(a){t(e,a)},g(a[b]))},F=function(){for(var a=0,c=b[q],d=0;d<c.length;d++)0===c.key(d).indexOf(n)&&a++;return a};return{isSupported:s,getStorageType:D,set:t,add:t,get:u,keys:w,remove:v,clearAll:x,bind:E,deriveKey:r,length:F,cookie:{isSupported:y,set:z,add:z,get:A,remove:B,clearAll:C}}}]})}(window,window.angular),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="angular-md5"),function(a){a.module("angular-md5",["gdi2290.md5"]),a.module("ngMd5",["gdi2290.md5"]),a.module("gdi2290.md5",["gdi2290.gravatar-filter","gdi2290.md5-service","gdi2290.md5-filter"]),a.module("gdi2290.gravatar-filter",[]).filter("gravatar",["md5",function(a){var b={};return function(c,d){return b[c]||(d=d?a.createHash(d.toString().toLowerCase()):"",b[c]=c?a.createHash(c.toString().toLowerCase()):d),b[c]}}]),a.module("gdi2290.md5-filter",[]).filter("md5",["md5",function(a){return function(b){return b?a.createHash(b.toString().toLowerCase()):b}}]),a.module("gdi2290.md5-service",[]).factory("md5",[function(){var a={createHash:function(a){if(null===a)return null;var b,c,d,e,f,g,h,i,j,k,l=function(a,b){return a<<b|a>>>32-b},m=function(a,b){var c,d,e,f,g;return e=2147483648&a,f=2147483648&b,c=1073741824&a,d=1073741824&b,g=(1073741823&a)+(1073741823&b),c&d?2147483648^g^e^f:c|d?1073741824&g?3221225472^g^e^f:1073741824^g^e^f:g^e^f},n=function(a,b,c){return a&b|~a&c},o=function(a,b,c){return a&c|b&~c},p=function(a,b,c){return a^b^c},q=function(a,b,c){return b^(a|~c)},r=function(a,b,c,d,e,f,g){return a=m(a,m(m(n(b,c,d),e),g)),m(l(a,f),b)},s=function(a,b,c,d,e,f,g){return a=m(a,m(m(o(b,c,d),e),g)),m(l(a,f),b)},t=function(a,b,c,d,e,f,g){return a=m(a,m(m(p(b,c,d),e),g)),m(l(a,f),b)},u=function(a,b,c,d,e,f,g){return a=m(a,m(m(q(b,c,d),e),g)),m(l(a,f),b)},v=function(a){for(var b,c=a.length,d=c+8,e=(d-d%64)/64,f=16*(e+1),g=new Array(f-1),h=0,i=0;c>i;)b=(i-i%4)/4,h=i%4*8,g[b]=g[b]|a.charCodeAt(i)<<h,i++;return b=(i-i%4)/4,h=i%4*8,g[b]=g[b]|128<<h,g[f-2]=c<<3,g[f-1]=c>>>29,g},w=function(a){var b,c,d="",e="";for(c=0;3>=c;c++)b=a>>>8*c&255,e="0"+b.toString(16),d+=e.substr(e.length-2,2);return d},x=[],y=7,z=12,A=17,B=22,C=5,D=9,E=14,F=20,G=4,H=11,I=16,J=23,K=6,L=10,M=15,N=21;for(x=v(a),h=1732584193,i=4023233417,j=2562383102,k=271733878,b=x.length,c=0;b>c;c+=16)d=h,e=i,f=j,g=k,h=r(h,i,j,k,x[c+0],y,3614090360),k=r(k,h,i,j,x[c+1],z,3905402710),j=r(j,k,h,i,x[c+2],A,606105819),i=r(i,j,k,h,x[c+3],B,3250441966),h=r(h,i,j,k,x[c+4],y,4118548399),k=r(k,h,i,j,x[c+5],z,1200080426),j=r(j,k,h,i,x[c+6],A,2821735955),i=r(i,j,k,h,x[c+7],B,4249261313),h=r(h,i,j,k,x[c+8],y,1770035416),k=r(k,h,i,j,x[c+9],z,2336552879),j=r(j,k,h,i,x[c+10],A,4294925233),i=r(i,j,k,h,x[c+11],B,2304563134),h=r(h,i,j,k,x[c+12],y,1804603682),k=r(k,h,i,j,x[c+13],z,4254626195),j=r(j,k,h,i,x[c+14],A,2792965006),i=r(i,j,k,h,x[c+15],B,1236535329),h=s(h,i,j,k,x[c+1],C,4129170786),k=s(k,h,i,j,x[c+6],D,3225465664),j=s(j,k,h,i,x[c+11],E,643717713),i=s(i,j,k,h,x[c+0],F,3921069994),h=s(h,i,j,k,x[c+5],C,3593408605),k=s(k,h,i,j,x[c+10],D,38016083),j=s(j,k,h,i,x[c+15],E,3634488961),i=s(i,j,k,h,x[c+4],F,3889429448),h=s(h,i,j,k,x[c+9],C,568446438),k=s(k,h,i,j,x[c+14],D,3275163606),j=s(j,k,h,i,x[c+3],E,4107603335),i=s(i,j,k,h,x[c+8],F,1163531501),h=s(h,i,j,k,x[c+13],C,2850285829),k=s(k,h,i,j,x[c+2],D,4243563512),j=s(j,k,h,i,x[c+7],E,1735328473),i=s(i,j,k,h,x[c+12],F,2368359562),h=t(h,i,j,k,x[c+5],G,4294588738),k=t(k,h,i,j,x[c+8],H,2272392833),j=t(j,k,h,i,x[c+11],I,1839030562),i=t(i,j,k,h,x[c+14],J,4259657740),h=t(h,i,j,k,x[c+1],G,2763975236),k=t(k,h,i,j,x[c+4],H,1272893353),j=t(j,k,h,i,x[c+7],I,4139469664),i=t(i,j,k,h,x[c+10],J,3200236656),h=t(h,i,j,k,x[c+13],G,681279174),k=t(k,h,i,j,x[c+0],H,3936430074),j=t(j,k,h,i,x[c+3],I,3572445317),i=t(i,j,k,h,x[c+6],J,76029189),h=t(h,i,j,k,x[c+9],G,3654602809),k=t(k,h,i,j,x[c+12],H,3873151461),j=t(j,k,h,i,x[c+15],I,530742520),i=t(i,j,k,h,x[c+2],J,3299628645),h=u(h,i,j,k,x[c+0],K,4096336452),k=u(k,h,i,j,x[c+7],L,1126891415),j=u(j,k,h,i,x[c+14],M,2878612391),i=u(i,j,k,h,x[c+5],N,4237533241),h=u(h,i,j,k,x[c+12],K,1700485571),k=u(k,h,i,j,x[c+3],L,2399980690),j=u(j,k,h,i,x[c+10],M,4293915773),i=u(i,j,k,h,x[c+1],N,2240044497),h=u(h,i,j,k,x[c+8],K,1873313359),k=u(k,h,i,j,x[c+15],L,4264355552),j=u(j,k,h,i,x[c+6],M,2734768916),i=u(i,j,k,h,x[c+13],N,1309151649),h=u(h,i,j,k,x[c+4],K,4149444226),k=u(k,h,i,j,x[c+11],L,3174756917),j=u(j,k,h,i,x[c+2],M,718787259),i=u(i,j,k,h,x[c+9],N,3951481745),h=m(h,d),i=m(i,e),j=m(j,f),k=m(k,g);var O=w(h)+w(i)+w(j)+w(k);return O.toLowerCase()}};return a}])}(angular),angular.module("notification",[]).provider("$notification",$notificationProvider),function(a,b,c){"use strict";function d(a){return null!=a&&""!==a&&"hasOwnProperty"!==a&&h.test("."+a)}function e(a,e){if(!d(e))throw g("badmember",'Dotted member path "@{0}" is invalid.',e);for(var f=e.split("."),h=0,i=f.length;i>h&&b.isDefined(a);h++){var j=f[h];a=null!==a?a[j]:c}return a}function f(a,c){c=c||{},b.forEach(c,function(a,b){delete c[b]});for(var d in a)!a.hasOwnProperty(d)||"$"===d.charAt(0)&&"$"===d.charAt(1)||(c[d]=a[d]);return c}var g=b.$$minErr("$resource"),h=/^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;b.module("ngResource",["ng"]).provider("$resource",function(){var a=/^https?:\/\/[^\/]*/,d=this;this.defaults={stripTrailingSlashes:!0,actions:{get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},"delete":{method:"DELETE"}}},this.$get=["$http","$q",function(h,i){function j(a){return k(a,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function k(a,b){return encodeURIComponent(a).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,b?"%20":"+")}function l(a,b){this.template=a,this.defaults=p({},d.defaults,b),this.urlParams={}}function m(a,j,k,s){function t(a,b){var c={};return b=p({},j,b),o(b,function(b,d){r(b)&&(b=b()),c[d]=b&&b.charAt&&"@"==b.charAt(0)?e(a,b.substr(1)):b}),c}function u(a){return a.resource}function v(a){f(a||{},this)}var w=new l(a,s);return k=p({},d.defaults.actions,k),v.prototype.toJSON=function(){var a=p({},this);return delete a.$promise,delete a.$resolved,a},o(k,function(a,d){var e=/^(POST|PUT|PATCH)$/i.test(a.method);v[d]=function(j,k,l,m){var s,x,y,z={};switch(arguments.length){case 4:y=m,x=l;case 3:case 2:if(!r(k)){z=j,s=k,x=l;break}if(r(j)){x=j,y=k;break}x=k,y=l;case 1:r(j)?x=j:e?s=j:z=j;break;case 0:break;default:throw g("badargs","Expected up to 4 arguments [params, data, success, error], got {0} arguments",arguments.length)}var A=this instanceof v,B=A?s:a.isArray?[]:new v(s),C={},D=a.interceptor&&a.interceptor.response||u,E=a.interceptor&&a.interceptor.responseError||c;o(a,function(a,b){switch(b){default:C[b]=q(a);break;case"params":case"isArray":case"interceptor":break;case"timeout":C[b]=a}}),e&&(C.data=s),w.setUrlParams(C,p({},t(s,a.params||{}),z),a.url);var F=h(C).then(function(c){var e=c.data,h=B.$promise;if(e){if(b.isArray(e)!==!!a.isArray)throw g("badcfg","Error in resource configuration for action `{0}`. Expected response to contain an {1} but got an {2} (Request: {3} {4})",d,a.isArray?"array":"object",b.isArray(e)?"array":"object",C.method,C.url);a.isArray?(B.length=0,o(e,function(a){"object"==typeof a?B.push(new v(a)):B.push(a)})):(f(e,B),B.$promise=h)}return B.$resolved=!0,c.resource=B,c},function(a){return B.$resolved=!0,(y||n)(a),i.reject(a)});return F=F.then(function(a){var b=D(a);return(x||n)(b,a.headers),b},E),A?F:(B.$promise=F,B.$resolved=!1,B)},v.prototype["$"+d]=function(a,b,c){r(a)&&(c=b,b=a,a={});var e=v[d].call(this,a,this,b,c);return e.$promise||e}}),v.bind=function(b){return m(a,p({},j,b),k)},v}var n=b.noop,o=b.forEach,p=b.extend,q=b.copy,r=b.isFunction;return l.prototype={setUrlParams:function(c,d,e){var f,h,i=this,k=e||i.template,l="",m=i.urlParams={};o(k.split(/\W/),function(a){if("hasOwnProperty"===a)throw g("badname","hasOwnProperty is not a valid parameter name.");!new RegExp("^\\d+$").test(a)&&a&&new RegExp("(^|[^\\\\]):"+a+"(\\W|$)").test(k)&&(m[a]=!0)}),k=k.replace(/\\:/g,":"),k=k.replace(a,function(a){return l=a,""}),d=d||{},o(i.urlParams,function(a,c){f=d.hasOwnProperty(c)?d[c]:i.defaults[c],b.isDefined(f)&&null!==f?(h=j(f),k=k.replace(new RegExp(":"+c+"(\\W|$)","g"),function(a,b){return h+b})):k=k.replace(new RegExp("(/?):"+c+"(\\W|$)","g"),function(a,b,c){return"/"==c.charAt(0)?c:b+c})}),i.defaults.stripTrailingSlashes&&(k=k.replace(/\/+$/,"")||"/"),k=k.replace(/\/\.(?=\w+($|\?))/,"."),c.url=l+k.replace(/\/\\\./,"/."),o(d,function(a,b){i.urlParams[b]||(c.params=c.params||{},c.params[b]=a)})}},m}]})}(window,window.angular),function(a,b,c){"use strict";function d(){this.$get=["$$sanitizeUri",function(a){return function(b){var c=[];return g(b,j(c,function(b,c){return!/^unsafe/.test(a(b,c))})),c.join("")}}]}function e(a){var c=[],d=j(c,b.noop);return d.chars(a),c.join("")}function f(a,c){var d,e={},f=a.split(",");for(d=0;d<f.length;d++)e[c?b.lowercase(f[d]):f[d]]=!0;return e}function g(a,c){function d(a,d,f,g){if(d=b.lowercase(d),z[d])for(;t.last()&&A[t.last()];)e("",t.last());y[d]&&t.last()==d&&e("",d),g=v[d]||!!g,g||t.push(d);var i={};f.replace(n,function(a,b,c,d,e){var f=c||d||e||"";i[b]=h(f)}),c.start&&c.start(d,i,g)}function e(a,d){var e,f=0;if(d=b.lowercase(d))for(f=t.length-1;f>=0&&t[f]!=d;f--);if(f>=0){for(e=t.length-1;e>=f;e--)c.end&&c.end(t[e]);t.length=f}}"string"!=typeof a&&(a=null===a||"undefined"==typeof a?"":""+a);var f,g,i,j,t=[],u=a;for(t.last=function(){return t[t.length-1]};a;){if(j="",g=!0,t.last()&&C[t.last()]?(a=a.replace(new RegExp("([\\W\\w]*)<\\s*\\/\\s*"+t.last()+"[^>]*>","i"),function(a,b){return b=b.replace(q,"$1").replace(s,"$1"),c.chars&&c.chars(h(b)),""}),e("",t.last())):(0===a.indexOf("<!--")?(f=a.indexOf("--",4),f>=0&&a.lastIndexOf("-->",f)===f&&(c.comment&&c.comment(a.substring(4,f)),a=a.substring(f+3),g=!1)):r.test(a)?(i=a.match(r),i&&(a=a.replace(i[0],""),g=!1)):p.test(a)?(i=a.match(m),i&&(a=a.substring(i[0].length),i[0].replace(m,e),g=!1)):o.test(a)&&(i=a.match(l),i?(i[4]&&(a=a.substring(i[0].length),i[0].replace(l,d)),g=!1):(j+="<",a=a.substring(1))),g&&(f=a.indexOf("<"),j+=0>f?a:a.substring(0,f),a=0>f?"":a.substring(f),c.chars&&c.chars(h(j)))),a==u)throw k("badparse","The sanitizer was unable to parse the following block of html: {0}",a);u=a}e()}function h(a){return a?(I.innerHTML=a.replace(/</g,"&lt;"),I.textContent):""}function i(a){return a.replace(/&/g,"&amp;").replace(t,function(a){var b=a.charCodeAt(0),c=a.charCodeAt(1);return"&#"+(1024*(b-55296)+(c-56320)+65536)+";"}).replace(u,function(a){return"&#"+a.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function j(a,c){var d=!1,e=b.bind(a,a.push);return{start:function(a,f,g){a=b.lowercase(a),!d&&C[a]&&(d=a),d||D[a]!==!0||(e("<"),e(a),b.forEach(f,function(d,f){var g=b.lowercase(f),h="img"===a&&"src"===g||"background"===g;H[g]!==!0||E[g]===!0&&!c(d,h)||(e(" "),e(f),e('="'),e(i(d)),e('"'))}),e(g?"/>":">"))},end:function(a){a=b.lowercase(a),d||D[a]!==!0||(e("</"),e(a),e(">")),a==d&&(d=!1)},chars:function(a){d||e(i(a))}}}var k=b.$$minErr("$sanitize"),l=/^<((?:[a-zA-Z])[\w:-]*)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*(>?)/,m=/^<\/\s*([\w:-]+)[^>]*>/,n=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,o=/^</,p=/^<\//,q=/<!--(.*?)-->/g,r=/<!DOCTYPE([^>]*?)>/i,s=/<!\[CDATA\[(.*?)]]>/g,t=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=/([^\#-~| |!])/g,v=f("area,br,col,hr,img,wbr"),w=f("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),x=f("rp,rt"),y=b.extend({},x,w),z=b.extend({},w,f("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,script,section,table,ul")),A=b.extend({},x,f("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),B=f("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan,use"),C=f("script,style"),D=b.extend({},v,z,A,y,B),E=f("background,cite,href,longdesc,src,usemap,xlink:href"),F=f("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),G=f("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),H=b.extend({},E,G,F),I=document.createElement("pre");
+this.$get=["$injector","$$AnimateRunner","$$jqLite",function(b,c,d){function e(c){c=Q(c)?c:c.split(" ");for(var d=[],e={},f=0;f<c.length;f++){var g=c[f],h=a.$$registeredAnimations[g];h&&!e[g]&&(d.push(b.get(h)),e[g]=!0)}return d}var f=m(d);return function(a,b,d,g){function h(){g.domOperation(),f(a,g)}function i(a,b,d,e,f){var g;switch(d){case"animate":g=[b,e.from,e.to,f];break;case"setClass":g=[b,p,q,f];break;case"addClass":g=[b,p,f];break;case"removeClass":g=[b,q,f];break;default:g=[b,f]}g.push(e);var h=a.apply(a,g);if(h)if(V(h.start)&&(h=h.start()),h instanceof c)h.done(f);else if(V(h))return h;return M}function j(a,b,d,e,f){var g=[];return P(e,function(e){var h=e[f];h&&g.push(function(){var e,f,g=!1,j=function(a){g||(g=!0,(f||M)(a),e.complete(!a))};return e=new c({end:function(){j()},cancel:function(){j(!0)}}),f=i(h,a,b,d,function(a){var b=a===!1;j(b)}),e})}),g}function k(a,b,d,e,f){var g=j(a,b,d,e,f);if(0===g.length){var h,i;"beforeSetClass"===f?(h=j(a,"removeClass",d,e,"beforeRemoveClass"),i=j(a,"addClass",d,e,"beforeAddClass")):"setClass"===f&&(h=j(a,"removeClass",d,e,"removeClass"),i=j(a,"addClass",d,e,"addClass")),h&&(g=g.concat(h)),i&&(g=g.concat(i))}if(0!==g.length)return function(a){var b=[];return g.length&&P(g,function(a){b.push(a())}),b.length?c.all(b,a):a(),function(a){P(b,function(b){a?b.cancel():b.end()})}}}3===arguments.length&&S(d)&&(g=d,d=null),g=n(g),d||(d=a.attr("class")||"",g.addClass&&(d+=" "+g.addClass),g.removeClass&&(d+=" "+g.removeClass));var l,m,p=g.addClass,q=g.removeClass,r=e(d);if(r.length){var s,t;"leave"==b?(t="leave",s="afterLeave"):(t="before"+b.charAt(0).toUpperCase()+b.substr(1),s=b),"enter"!==b&&"move"!==b&&(l=k(a,b,g,r,t)),m=k(a,b,g,r,s)}return l||m?{start:function(){function b(b){i=!0,h(),o(a,g),j.complete(b)}function d(a){i||((e||M)(a),b(a))}var e,f=[];l&&f.push(function(a){e=l(a)}),f.length?f.push(function(a){h(),a(!0)}):h(),m&&f.push(function(a){e=m(a)});var i=!1,j=new c({end:function(){d()},cancel:function(){d(!0)}});return c.chain(f,b),j}}:void 0}}]}],za=["$$animationProvider",function(a){a.drivers.push("$$animateJsDriver"),this.$get=["$$animateJs","$$AnimateRunner",function(a,b){function c(b){var c=b.element,d=b.event,e=b.options,f=b.classes;return a(c,d,f,e)}return function(a){if(a.from&&a.to){var d=c(a.from),e=c(a.to);if(!d&&!e)return;return{start:function(){function a(){return function(){P(f,function(a){a.end()})}}function c(a){g.complete(a)}var f=[];d&&f.push(d.start()),e&&f.push(e.start()),b.all(f,c);var g=new b({end:a(),cancel:a()});return g}}}return c(a)}}]}],Aa="data-ng-animate",Ba="$ngAnimatePin",Ca=["$animateProvider",function(a){function b(a,b,c,d){return g[a].some(function(a){return a(b,c,d)})}function c(a,b){a=a||{};var c=(a.addClass||"").length>0,d=(a.removeClass||"").length>0;return b?c&&d:c||d}var e=1,f=2,g=this.rules={skip:[],cancel:[],join:[]};g.join.push(function(a,b,d){return!b.structural&&c(b.options)}),g.skip.push(function(a,b,d){return!b.structural&&!c(b.options)}),g.skip.push(function(a,b,c){return"leave"==c.event&&b.structural}),g.skip.push(function(a,b,c){return c.structural&&c.state===f&&!b.structural}),g.cancel.push(function(a,b,c){return c.structural&&b.structural}),g.cancel.push(function(a,b,c){return c.state===f&&b.structural}),g.cancel.push(function(a,b,c){var d=b.options,e=c.options;return d.addClass&&d.addClass===e.removeClass||d.removeClass&&d.removeClass===e.addClass}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(g,h,k,l,p,q,s,w,x,y){function z(){var a=!1;return function(b){a?b():h.$$postDigest(function(){a=!0,b()})}}function A(a,b){return r(a,b,{})}function B(a,b,c){var d=t(b),e=t(a),f=[],g=M[c];return g&&P(g,function(a){a.node.contains(d)?f.push(a.callback):"leave"===c&&a.node.contains(e)&&f.push(a.callback)}),f}function C(a,d,j){function k(b,c,d,e){x(function(){var b=B(p,a,c);b.length&&g(function(){P(b,function(b){b(a,d,e)})})}),b.progress(c,d,e)}function l(b){v(a,j),Z(a,j),o(a,j),j.domOperation(),w.complete(!b)}var m,p;a=i(a),a&&(m=t(a),p=a.parent()),j=n(j);var w=new s,x=z();if(Q(j.addClass)&&(j.addClass=j.addClass.join(" ")),j.addClass&&!R(j.addClass)&&(j.addClass=null),Q(j.removeClass)&&(j.removeClass=j.removeClass.join(" ")),j.removeClass&&!R(j.removeClass)&&(j.removeClass=null),j.from&&!S(j.from)&&(j.from=null),j.to&&!S(j.to)&&(j.to=null),!m)return l(),w;var y=[m.className,j.addClass,j.removeClass].join(" ");if(!Y(y))return l(),w;var C=["enter","move","leave"].indexOf(d)>=0,F=!K||J.get(m),L=!F&&I.get(m)||{},M=!!L.state;if(F||M&&L.state==e||(F=!G(a,p,d)),F)return l(),w;C&&D(a);var N={structural:C,element:a,event:d,close:l,options:j,runner:w};if(M){var O=b("skip",a,N,L);if(O)return L.state===f?(l(),w):(r(a,L.options,j),L.runner);var T=b("cancel",a,N,L);if(T)if(L.state===f)L.runner.end();else{if(!L.structural)return r(a,L.options,N.options),L.runner;L.close()}else{var U=b("join",a,N,L);if(U){if(L.state!==f)return u(a,C?d:null,j),d=N.event=L.event,j=r(a,L.options,N.options),L.runner;A(a,j)}}}else A(a,j);var V=N.structural;if(V||(V="animate"===N.event&&Object.keys(N.options.to||{}).length>0||c(N.options)),!V)return l(),E(a),w;var W=(L.counter||0)+1;return N.counter=W,H(a,e,N),h.$$postDigest(function(){var b=I.get(m),e=!b;b=b||{};var g=a.parent()||[],h=g.length>0&&("animate"===b.event||b.structural||c(b.options));if(e||b.counter!==W||!h)return e&&(Z(a,j),o(a,j)),(e||C&&b.event!==d)&&(j.domOperation(),w.end()),void(h||E(a));d=!b.structural&&c(b.options,!0)?"setClass":b.event,H(a,f);var i=q(a,d,b.options);i.done(function(b){l(!b);var c=I.get(m);c&&c.counter===W&&E(t(a)),k(w,d,"close",{})}),w.setHost(i),k(w,d,"start",{})}),w}function D(a){var b=t(a),c=b.querySelectorAll("["+Aa+"]");P(c,function(a){var b=parseInt(a.getAttribute(Aa)),c=I.get(a);switch(b){case f:c.runner.end();case e:c&&I.remove(a)}})}function E(a){var b=t(a);b.removeAttribute(Aa),I.remove(b)}function F(a,b){return t(a)===t(b)}function G(a,b,c){var d,e=O(l[0].body),f=F(a,e)||"HTML"===a[0].nodeName,g=F(a,k),h=!1,i=a.data(Ba);for(i&&(b=i);b&&b.length;){g||(g=F(b,k));var j=b[0];if(j.nodeType!==X)break;var m=I.get(j)||{};if(h||(h=m.structural||J.get(j)),T(d)||d===!0){var n=b.data(ba);U(n)&&(d=n)}if(h&&d===!1)break;g||(g=F(b,k),g||(i=b.data(Ba),i&&(b=i))),f||(f=F(b,e)),b=b.parent()}var o=!h||d;return o&&g&&f}function H(a,b,c){c=c||{},c.state=b;var d=t(a);d.setAttribute(Aa,b);var e=I.get(d),f=e?N(e,c):c;I.put(d,f)}var I=new p,J=new p,K=null,L=h.$watch(function(){return 0===w.totalPendingRequests},function(a){a&&(L(),h.$$postDigest(function(){h.$$postDigest(function(){null===K&&(K=!0)})}))}),M={},V=a.classNameFilter(),Y=V?function(a){return V.test(a)}:function(){return!0},Z=m(x);return{on:function(a,b,c){var d=j(b);M[a]=M[a]||[],M[a].push({node:d,callback:c})},off:function(a,b,c){function d(a,b,c){var d=j(b);return a.filter(function(a){var b=a.node===d&&(!c||a.callback===c);return!b})}var e=M[a];e&&(M[a]=1===arguments.length?null:d(e,b,c))},pin:function(a,b){d(W(a),"element","not an element"),d(W(b),"parentElement","not an element"),a.data(Ba,b)},push:function(a,b,c,d){return c=c||{},c.domOperation=d,C(a,b,c)},enabled:function(a,b){var c=arguments.length;if(0===c)b=!!K;else{var d=W(a);if(d){var e=t(a),f=J.get(e);1===c?b=!f:(b=!!b,b?f&&J.remove(e):J.put(e,!0))}else b=K=!!a}return b}}}]}],Da=["$$rAF",function(a){function b(b){c.push(b),c.length>1||a(function(){for(var a=0;a<c.length;a++)c[a]();c=[]})}var c=[];return function(){var a=!1;return b(function(){a=!0}),function(c){a?c():b(c)}}}],Ea=["$q","$sniffer","$$animateAsyncRun",function(a,b,c){function d(a){this.setHost(a),this._doneCallbacks=[],this._runInAnimationFrame=c(),this._state=0}var e=0,f=1,g=2;return d.chain=function(a,b){function c(){return d===a.length?void b(!0):void a[d](function(a){return a===!1?void b(!1):(d++,void c())})}var d=0;c()},d.all=function(a,b){function c(c){e=e&&c,++d===a.length&&b(e)}var d=0,e=!0;P(a,function(a){a.done(c)})},d.prototype={setHost:function(a){this.host=a||{}},done:function(a){this._state===g?a():this._doneCallbacks.push(a)},progress:M,getPromise:function(){if(!this.promise){var b=this;this.promise=a(function(a,c){b.done(function(b){b===!1?c():a()})})}return this.promise},then:function(a,b){return this.getPromise().then(a,b)},"catch":function(a){return this.getPromise()["catch"](a)},"finally":function(a){return this.getPromise()["finally"](a)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(a){var b=this;b._state===e&&(b._state=f,b._runInAnimationFrame(function(){b._resolve(a)}))},_resolve:function(a){this._state!==g&&(P(this._doneCallbacks,function(b){b(a)}),this._doneCallbacks.length=0,this._state=g)}},d}],Fa=["$animateProvider",function(a){function b(a,b){a.data(h,b)}function c(a){a.removeData(h)}function d(a){return a.data(h)}var f="ng-animate-ref",g=this.drivers=[],h="$$animationRunner";this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(a,h,i,j,k,l){function p(a){function b(a){if(a.processed)return a;a.processed=!0;var c=a.domNode,d=c.parentNode;f.put(c,a);for(var g;d;){if(g=f.get(d)){g.processed||(g=b(g));break}d=d.parentNode}return(g||e).children.push(a),a}function c(a){var b,c=[],d=[];for(b=0;b<a.children.length;b++)d.push(a.children[b]);var e=d.length,f=0,g=[];for(b=0;b<d.length;b++){var h=d[b];0>=e&&(e=f,f=0,c.push(g),g=[]),g.push(h.fn),h.children.forEach(function(a){f++,d.push(a)}),e--}return g.length&&c.push(g),c}var d,e={children:[]},f=new k;for(d=0;d<a.length;d++){var g=a[d];f.put(g.domNode,a[d]={domNode:g.domNode,fn:g.fn,children:[]})}for(d=0;d<a.length;d++)b(a[d]);return c(e)}var q=[],r=m(a);return function(k,m,s){function u(a){var b="["+f+"]",c=a.hasAttribute(f)?[a]:a.querySelectorAll(b),d=[];return P(c,function(a){var b=a.getAttribute(f);b&&b.length&&d.push(a)}),d}function v(a){var b=[],c={};P(a,function(a,d){var e=a.element,g=t(e),h=a.event,i=["enter","move"].indexOf(h)>=0,j=a.structural?u(g):[];if(j.length){var k=i?"to":"from";P(j,function(a){var b=a.getAttribute(f);c[b]=c[b]||{},c[b][k]={animationID:d,element:O(a)}})}else b.push(a)});var d={},e={};return P(c,function(c,f){var g=c.from,h=c.to;if(!g||!h){var i=g?g.animationID:h.animationID,j=i.toString();return void(d[j]||(d[j]=!0,b.push(a[i])))}var k=a[g.animationID],l=a[h.animationID],m=g.animationID.toString();if(!e[m]){var n=e[m]={structural:!0,beforeStart:function(){k.beforeStart(),l.beforeStart()},close:function(){k.close(),l.close()},classes:w(k.classes,l.classes),from:k,to:l,anchors:[]};n.classes.length?b.push(n):(b.push(k),b.push(l))}e[m].anchors.push({out:g.element,"in":h.element})}),b}function w(a,b){a=a.split(" "),b=b.split(" ");for(var c=[],d=0;d<a.length;d++){var e=a[d];if("ng-"!==e.substring(0,3))for(var f=0;f<b.length;f++)if(e===b[f]){c.push(e);break}}return c.join(" ")}function x(a){for(var b=g.length-1;b>=0;b--){var c=g[b];if(i.has(c)){var d=i.get(c),e=d(a);if(e)return e}}}function y(){k.addClass(aa),F&&a.addClass(k,F)}function z(a,b){function c(a){d(a).setHost(b)}a.from&&a.to?(c(a.from.element),c(a.to.element)):c(a.element)}function A(){var a=d(k);!a||"leave"===m&&s.$$domOperationFired||a.end()}function B(b){k.off("$destroy",A),c(k),r(k,s),o(k,s),s.domOperation(),F&&a.removeClass(k,F),k.removeClass(aa),D.complete(!b)}s=n(s);var C=["enter","move","leave"].indexOf(m)>=0,D=new j({end:function(){B()},cancel:function(){B(!0)}});if(!g.length)return B(),D;b(k,D);var E=e(k.attr("class"),e(s.addClass,s.removeClass)),F=s.tempClasses;return F&&(E+=" "+F,s.tempClasses=null),q.push({element:k,classes:E,event:m,structural:C,options:s,beforeStart:y,close:B}),k.on("$destroy",A),q.length>1?D:(h.$$postDigest(function(){var a=[];P(q,function(b){d(b.element)?a.push(b):b.close()}),q.length=0;var b=v(a),c=[];P(b,function(a){c.push({domNode:t(a.from?a.from.element:a.element),fn:function(){a.beforeStart();var b,c=a.close,e=a.anchors?a.from.element||a.to.element:a.element;if(d(e)){var f=x(a);f&&(b=f.start)}if(b){var g=b();g.done(function(a){c(!a)}),z(a,g)}else c()}})}),l(p(c))}),D)}}]}];b.module("ngAnimate",[]).directive("ngAnimateChildren",pa).factory("$$rAFScheduler",oa).factory("$$AnimateRunner",Ea).factory("$$animateAsyncRun",Da).provider("$$animateQueue",Ca).provider("$$animation",Fa).provider("$animateCss",wa).provider("$$animateCssDriver",xa).provider("$$animateJs",ya).provider("$$animateJsDriver",za)}(window,window.angular),angular.module("colorpicker.module",[]).factory("Helper",function(){"use strict";return{closestSlider:function(a){var b=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.msMatchesSelector;return b.bind(a)("I")?a.parentNode:a},getOffset:function(a,b){for(var c=0,d=0,e=a.getBoundingClientRect();a&&!isNaN(a.offsetLeft)&&!isNaN(a.offsetTop);)b||"BODY"!==a.tagName?(c+=a.scrollLeft,d+=a.scrollTop):(c+=document.documentElement.scrollLeft||a.scrollLeft,d+=document.documentElement.scrollTop||a.scrollTop),a=a.offsetParent;return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset,scrollX:c,scrollY:d}},stringParsers:[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(a){return[a[1],a[2],a[3],a[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(a){return[2.55*a[1],2.55*a[2],2.55*a[3],a[4]]}},{re:/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/,parse:function(a){return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)]}},{re:/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/,parse:function(a){return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)]}}]}}).factory("Color",["Helper",function(a){"use strict";return{value:{h:1,s:1,b:1,a:1},rgb:function(){var a=this.toRGB();return"rgb("+a.r+","+a.g+","+a.b+")"},rgba:function(){var a=this.toRGB();return"rgba("+a.r+","+a.g+","+a.b+","+a.a+")"},hex:function(){return this.toHex()},RGBtoHSB:function(a,b,c,d){a/=255,b/=255,c/=255;var e,f,g,h;return g=Math.max(a,b,c),h=g-Math.min(a,b,c),e=0===h?null:g===a?(b-c)/h:g===b?(c-a)/h+2:(a-b)/h+4,e=(e+360)%6*60/360,f=0===h?0:h/g,{h:e||1,s:f,b:g,a:d||1}},setColor:function(b){b=b.toLowerCase();for(var c in a.stringParsers)if(a.stringParsers.hasOwnProperty(c)){var d=a.stringParsers[c],e=d.re.exec(b),f=e&&d.parse(e);if(f)return this.value=this.RGBtoHSB.apply(null,f),!1}},setHue:function(a){this.value.h=1-a},setSaturation:function(a){this.value.s=a},setLightness:function(a){this.value.b=1-a},setAlpha:function(a){this.value.a=parseInt(100*(1-a),10)/100},toRGB:function(a,b,c,d){a||(a=this.value.h,b=this.value.s,c=this.value.b),a*=360;var e,f,g,h,i;return a=a%360/60,i=c*b,h=i*(1-Math.abs(a%2-1)),e=f=g=c-i,a=~~a,e+=[i,h,0,0,h,i][a],f+=[h,i,i,h,0,0][a],g+=[0,0,h,i,i,h][a],{r:Math.round(255*e),g:Math.round(255*f),b:Math.round(255*g),a:d||this.value.a}},toHex:function(a,b,c,d){var e=this.toRGB(a,b,c,d);return"#"+(1<<24|parseInt(e.r,10)<<16|parseInt(e.g,10)<<8|parseInt(e.b,10)).toString(16).substr(1)}}}]).factory("Slider",["Helper",function(a){"use strict";var b={maxLeft:0,maxTop:0,callLeft:null,callTop:null,knob:{top:0,left:0}},c={};return{getSlider:function(){return b},getLeftPosition:function(a){return Math.max(0,Math.min(b.maxLeft,b.left+((a.pageX||c.left)-c.left)))},getTopPosition:function(a){return Math.max(0,Math.min(b.maxTop,b.top+((a.pageY||c.top)-c.top)))},setSlider:function(d,e){var f=a.closestSlider(d.target),g=a.getOffset(f,e),h=f.getBoundingClientRect(),i=d.clientX-h.left,j=d.clientY-h.top;b.knob=f.children[0].style,b.left=d.pageX-g.left-window.pageXOffset+g.scrollX,b.top=d.pageY-g.top-window.pageYOffset+g.scrollY,c={left:d.pageX-(i-b.left),top:d.pageY-(j-b.top)}},setSaturation:function(a,c){b={maxLeft:100,maxTop:100,callLeft:"setSaturation",callTop:"setLightness"},this.setSlider(a,c)},setHue:function(a,c){b={maxLeft:0,maxTop:100,callLeft:!1,callTop:"setHue"},this.setSlider(a,c)},setAlpha:function(a,c){b={maxLeft:0,maxTop:100,callLeft:!1,callTop:"setAlpha"},this.setSlider(a,c)},setKnob:function(a,c){b.knob.top=a+"px",b.knob.left=c+"px"}}}]).directive("colorpicker",["$document","$compile","Color","Slider","Helper",function(a,b,c,d,e){"use strict";return{require:"?ngModel",restrict:"A",link:function(f,g,h,i){var j,k=h.colorpicker?h.colorpicker:"hex",l=angular.isDefined(h.colorpickerPosition)?h.colorpickerPosition:"bottom",m=angular.isDefined(h.colorpickerInline)?h.colorpickerInline:!1,n=angular.isDefined(h.colorpickerFixedPosition)?h.colorpickerFixedPosition:!1,o=angular.isDefined(h.colorpickerParent)?g.parent():angular.element(document.body),p=angular.isDefined(h.colorpickerWithInput)?h.colorpickerWithInput:!1,q=p?'<input type="text" name="colorpicker-input" spellcheck="false">':"",r=m?"":'<button type="button" class="close close-colorpicker">&times;</button>',s='<div class="colorpicker dropdown"><div class="dropdown-menu"><colorpicker-saturation><i></i></colorpicker-saturation><colorpicker-hue><i></i></colorpicker-hue><colorpicker-alpha><i></i></colorpicker-alpha><colorpicker-preview></colorpicker-preview>'+q+r+"</div></div>",t=angular.element(s),u=c,v=t.find("colorpicker-hue"),w=t.find("colorpicker-saturation"),x=t.find("colorpicker-preview"),y=t.find("i");if(b(t)(f),p){var z=t.find("input");z.on("mousedown",function(a){a.stopPropagation()}).on("keyup",function(){var a=this.value;g.val(a),i&&i.$modelValue!==a&&(f.$apply(i.$setViewValue(a)),E(!0))})}var A=function(){a.on("mousemove",C),a.on("mouseup",D)};"rgba"===k&&(t.addClass("alpha"),j=t.find("colorpicker-alpha"),j.on("click",function(a){d.setAlpha(a,n),C(a)}).on("mousedown",function(a){d.setAlpha(a,n),A()}).on("mouseup",function(a){I("colorpicker-selected-alpha")})),v.on("click",function(a){d.setHue(a,n),C(a)}).on("mousedown",function(a){d.setHue(a,n),A()}).on("mouseup",function(a){I("colorpicker-selected-hue")}),w.on("click",function(a){d.setSaturation(a,n),C(a),angular.isDefined(h.colorpickerCloseOnSelect)&&J()}).on("mousedown",function(a){d.setSaturation(a,n),A()}).on("mouseup",function(a){I("colorpicker-selected-saturation")}),n&&t.addClass("colorpicker-fixed-position"),t.addClass("colorpicker-position-"+l),"true"===m&&t.addClass("colorpicker-inline"),o.append(t),i&&(i.$render=function(){g.val(i.$viewValue)}),g.on("blur keyup change",function(){E()}),g.on("$destroy",function(){t.remove()});var B=function(){try{x.css("backgroundColor",u[k]())}catch(a){x.css("backgroundColor",u.toHex())}w.css("backgroundColor",u.toHex(u.value.h,1,1,1)),"rgba"===k&&(j.css.backgroundColor=u.toHex())},C=function(a){var b=d.getLeftPosition(a),c=d.getTopPosition(a),e=d.getSlider();d.setKnob(c,b),e.callLeft&&u[e.callLeft].call(u,b/100),e.callTop&&u[e.callTop].call(u,c/100),B();var h=u[k]();return g.val(h),i&&f.$apply(i.$setViewValue(h)),p&&z.val(h),!1},D=function(){I("colorpicker-selected"),a.off("mousemove",C),a.off("mouseup",D)},E=function(a){u.setColor(g.val()),p&&!a&&z.val(g.val()),y.eq(0).css({left:100*u.value.s+"px",top:100-100*u.value.b+"px"}),y.eq(1).css("top",100*(1-u.value.h)+"px"),y.eq(2).css("top",100*(1-u.value.a)+"px"),B()},F=function(){var a,b=e.getOffset(g[0]);return angular.isDefined(h.colorpickerParent)&&(b.left=0,b.top=0),"top"===l?a={top:b.top-147,left:b.left}:"right"===l?a={top:b.top,left:b.left+126}:"bottom"===l?a={top:b.top+g[0].offsetHeight+2,left:b.left}:"left"===l&&(a={top:b.top,left:b.left-150}),{top:a.top+"px",left:a.left+"px"}},G=function(){J()},H=function(){t.hasClass("colorpicker-visible")||(E(),t.addClass("colorpicker-visible").css(F()),I("colorpicker-shown"),m===!1&&a.on("mousedown",G),h.colorpickerIsOpen&&(f[h.colorpickerIsOpen]=!0,f.$$phase||f.$digest()))};m===!1?g.on("click",H):H(),t.on("mousedown",function(a){a.stopPropagation(),a.preventDefault()});var I=function(a){i&&f.$emit(a,{name:h.ngModel,value:i.$modelValue})},J=function(){t.hasClass("colorpicker-visible")&&(t.removeClass("colorpicker-visible"),I("colorpicker-closed"),a.off("mousedown",G),h.colorpickerIsOpen&&(f[h.colorpickerIsOpen]=!1,f.$$phase||f.$digest()))};t.find("button").on("click",function(){J()}),h.colorpickerIsOpen&&f.$watch(h.colorpickerIsOpen,function(a){a===!0?H():a===!1&&J()})}}}]),angular.module("ui.bootstrap.contextMenu",[]).directive("contextMenu",["$parse",function(a){var b=function(a,b,c,d){if(!e)var e=angular.element;e(b.currentTarget).addClass("context");var f=e("<div>");f.addClass("dropdown clearfix");var g=e("<ul>");g.addClass("dropdown-menu"),g.attr({role:"menu"}),g.css({display:"block",position:"absolute",left:b.pageX+"px",top:b.pageY+"px"}),angular.forEach(c,function(c,h){var i=e("<li>");if(null===c)i.addClass("divider");else{var j=e("<a>");j.attr({tabindex:"-1",href:"#"});var k="string"==typeof c[0]?c[0]:c[0].call(a,a,b,d);j.text(k),i.append(j);var l=angular.isDefined(c[2])?c[2].call(a,a,b,k,d):!0;l?i.on("click",function(g){g.preventDefault(),a.$apply(function(){e(b.currentTarget).removeClass("context"),f.remove(),c[1].call(a,a,b,d)})}):(i.on("click",function(a){a.preventDefault()}),i.addClass("disabled"))}g.append(i)}),f.append(g);var h=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight);f.css({width:"100%",height:h+"px",position:"absolute",top:0,left:0,zIndex:9999}),e(document).find("body").append(f),f.on("mousedown",function(a){e(a.target).hasClass("dropdown")&&(e(b.currentTarget).removeClass("context"),f.remove())}).on("contextmenu",function(a){e(a.currentTarget).removeClass("context"),a.preventDefault(),f.remove()})};return function(a,c,d){c.on("contextmenu",function(c){c.stopPropagation(),a.$apply(function(){c.preventDefault();var e=a.$eval(d.contextMenu),f=a.$eval(d.model);if(!(e instanceof Array))throw'"'+d.contextMenu+'" not an array';0!==e.length&&b(a,c,e,f)})})}}]),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>2)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.6",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.6",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),a(c.target).is('input[type="radio"]')||a(c.target).is('input[type="checkbox"]')||c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.6",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.6",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();
+this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",f)))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.6",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger(a.Event("shown.bs.dropdown",h))}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&j<i.length-1&&j++,~j||(j=0),i.eq(j).trigger("focus")}}}};var h=a.fn.dropdown;a.fn.dropdown=d,a.fn.dropdown.Constructor=g,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=h,this},a(document).on("click.bs.dropdown.data-api",c).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",f,g.prototype.toggle).on("keydown.bs.dropdown.data-api",f,g.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",g.prototype.keydown)}(jQuery),+function(a){"use strict";function b(b,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},c.DEFAULTS,e.data(),"object"==typeof b&&b);f||e.data("bs.modal",f=new c(this,g)),"string"==typeof b?f[b](d):g.show&&f.show(d)})}var c=function(b,c){this.options=c,this.$body=a(document.body),this.$element=a(b),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};c.VERSION="3.3.6",c.TRANSITION_DURATION=300,c.BACKDROP_TRANSITION_DURATION=150,c.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},c.prototype.toggle=function(a){return this.isShown?this.hide():this.show(a)},c.prototype.show=function(b){var d=this,e=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(e),this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){d.$element.one("mouseup.dismiss.bs.modal",function(b){a(b.target).is(d.$element)&&(d.ignoreBackdropClick=!0)})}),this.backdrop(function(){var e=a.support.transition&&d.$element.hasClass("fade");d.$element.parent().length||d.$element.appendTo(d.$body),d.$element.show().scrollTop(0),d.adjustDialog(),e&&d.$element[0].offsetWidth,d.$element.addClass("in"),d.enforceFocus();var f=a.Event("shown.bs.modal",{relatedTarget:b});e?d.$dialog.one("bsTransitionEnd",function(){d.$element.trigger("focus").trigger(f)}).emulateTransitionEnd(c.TRANSITION_DURATION):d.$element.trigger("focus").trigger(f)}))},c.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(c.TRANSITION_DURATION):this.hideModal())},c.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.trigger("focus")},this))},c.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},c.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},c.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.$body.removeClass("modal-open"),a.resetAdjustments(),a.resetScrollbar(),a.$element.trigger("hidden.bs.modal")})},c.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},c.prototype.backdrop=function(b){var d=this,e=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var f=a.support.transition&&e;if(this.$backdrop=a(document.createElement("div")).addClass("modal-backdrop "+e).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(a){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),f&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;f?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):b()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var g=function(){d.removeBackdrop(),b&&b()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",g).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):g()}else b&&b()},c.prototype.handleUpdate=function(){this.adjustDialog()},c.prototype.adjustDialog=function(){var a=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth<a,this.scrollbarWidth=this.measureScrollbar()},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",a+this.scrollbarWidth)},c.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevented()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus")})}),b.call(f,g,this)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",a,b)};c.VERSION="3.3.6",c.TRANSITION_DURATION=150,c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),c.isInStateTrue()?void 0:(clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide())},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-m<o.top?"bottom":"right"==h&&k.right+l>o.width?"left":"left"==h&&k.left-l<o.left?"right":h,f.removeClass(n).addClass(h)}var p=this.getCalculatedOffset(h,k,l,m);this.applyPlacement(p,h);var q=function(){var a=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==a&&e.leave(e)};a.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",q).emulateTransitionEnd(c.TRANSITION_DURATION):q()}},c.prototype.applyPlacement=function(b,c){var d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),b.top+=g,b.left+=h,a.offset.setOffset(d[0],a.extend({using:function(a){d.css({top:Math.round(a.top),left:Math.round(a.left)})}},b),0),d.addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;"top"==c&&j!=f&&(b.top=b.top+f-j);var k=this.getViewportAdjustedDelta(c,b,i,j);k.left?b.left+=k.left:b.top+=k.top;var l=/top|bottom/.test(c),m=l?2*k.left-e+i:2*k.top-f+j,n=l?"offsetWidth":"offsetHeight";d.offset(b),this.replaceArrow(m,d[0][n],l)},c.prototype.replaceArrow=function(a,b,c){this.arrow().css(c?"left":"top",50*(1-a/b)+"%").css(c?"top":"left","")},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},c.prototype.hide=function(b){function d(){"in"!=e.hoverState&&f.detach(),e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),b&&b()}var e=this,f=a(this.$tip),g=a.Event("hide.bs."+this.type);return this.$element.trigger(g),g.isDefaultPrevented()?void 0:(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one("bsTransitionEnd",d).emulateTransitionEnd(c.TRANSITION_DURATION):d(),this.hoverState=null,this)},c.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},c.prototype.hasContent=function(){return this.getTitle()},c.prototype.getPosition=function(b){b=b||this.$element;var c=b[0],d="BODY"==c.tagName,e=c.getBoundingClientRect();null==e.width&&(e=a.extend({},e,{width:e.right-e.left,height:e.bottom-e.top}));var f=d?{top:0,left:0}:b.offset(),g={scroll:d?document.documentElement.scrollTop||document.body.scrollTop:b.scrollTop()},h=d?{width:a(window).width(),height:a(window).height()}:null;return a.extend({},e,g,h,f)},c.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},c.prototype.getViewportAdjustedDelta=function(a,b,c,d){var e={top:0,left:0};if(!this.$viewport)return e;var f=this.options.viewport&&this.options.viewport.padding||0,g=this.getPosition(this.$viewport);if(/right|left/.test(a)){var h=b.top-f-g.scroll,i=b.top+f-g.scroll+d;h<g.top?e.top=g.top-h:i>g.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;j<g.left?e.left=g.left-j:k>g.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.6",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.6",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b<e[0])return this.activeTarget=null,this.clear();for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(void 0===e[a+1]||b<e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,this.clear();var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")},b.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.3.6",c.TRANSITION_DURATION=150,c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a"),f=a.Event("hide.bs.tab",{relatedTarget:b[0]}),g=a.Event("show.bs.tab",{relatedTarget:e[0]});if(e.trigger(f),b.trigger(g),!g.isDefaultPrevented()&&!f.isDefaultPrevented()){var h=a(d);this.activate(b.closest("li"),c),this.activate(h,h.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:b[0]}),b.trigger({type:"shown.bs.tab",relatedTarget:e[0]})})}}},c.prototype.activate=function(b,d,e){function f(){g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.6",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery),function(){var a=[].slice;!function(b,c){"use strict";var d;return d=function(){function a(a,c){null==c&&(c={}),this.$element=b(a),this.options=b.extend({},b.fn.bootstrapSwitch.defaults,{state:this.$element.is(":checked"),size:this.$element.data("size"),animate:this.$element.data("animate"),disabled:this.$element.is(":disabled"),readonly:this.$element.is("[readonly]"),indeterminate:this.$element.data("indeterminate"),inverse:this.$element.data("inverse"),radioAllOff:this.$element.data("radio-all-off"),onColor:this.$element.data("on-color"),offColor:this.$element.data("off-color"),onText:this.$element.data("on-text"),offText:this.$element.data("off-text"),labelText:this.$element.data("label-text"),handleWidth:this.$element.data("handle-width"),labelWidth:this.$element.data("label-width"),baseClass:this.$element.data("base-class"),wrapperClass:this.$element.data("wrapper-class")},c),this.$wrapper=b("<div>",{"class":function(a){return function(){var b;return b=[""+a.options.baseClass].concat(a._getClasses(a.options.wrapperClass)),b.push(a.options.state?""+a.options.baseClass+"-on":""+a.options.baseClass+"-off"),null!=a.options.size&&b.push(""+a.options.baseClass+"-"+a.options.size),a.options.disabled&&b.push(""+a.options.baseClass+"-disabled"),a.options.readonly&&b.push(""+a.options.baseClass+"-readonly"),a.options.indeterminate&&b.push(""+a.options.baseClass+"-indeterminate"),a.options.inverse&&b.push(""+a.options.baseClass+"-inverse"),a.$element.attr("id")&&b.push(""+a.options.baseClass+"-id-"+a.$element.attr("id")),b.join(" ")}}(this)()}),this.$container=b("<div>",{"class":""+this.options.baseClass+"-container"}),this.$on=b("<span>",{html:this.options.onText,"class":""+this.options.baseClass+"-handle-on "+this.options.baseClass+"-"+this.options.onColor}),this.$off=b("<span>",{html:this.options.offText,"class":""+this.options.baseClass+"-handle-off "+this.options.baseClass+"-"+this.options.offColor}),this.$label=b("<span>",{html:this.options.labelText,"class":""+this.options.baseClass+"-label"}),this.$element.on("init.bootstrapSwitch",function(b){return function(){return b.options.onInit.apply(a,arguments)}}(this)),this.$element.on("switchChange.bootstrapSwitch",function(b){return function(){return b.options.onSwitchChange.apply(a,arguments)}}(this)),this.$container=this.$element.wrap(this.$container).parent(),this.$wrapper=this.$container.wrap(this.$wrapper).parent(),this.$element.before(this.options.inverse?this.$off:this.$on).before(this.$label).before(this.options.inverse?this.$on:this.$off),this.options.indeterminate&&this.$element.prop("indeterminate",!0),this._init(),this._elementHandlers(),this._handleHandlers(),this._labelHandlers(),this._formHandler(),this._externalLabelHandler(),this.$element.trigger("init.bootstrapSwitch")}return a.prototype._constructor=a,a.prototype.state=function(a,b){return"undefined"==typeof a?this.options.state:this.options.disabled||this.options.readonly?this.$element:this.options.state&&!this.options.radioAllOff&&this.$element.is(":radio")?this.$element:(this.options.indeterminate&&this.indeterminate(!1),a=!!a,this.$element.prop("checked",a).trigger("change.bootstrapSwitch",b),this.$element)},a.prototype.toggleState=function(a){return this.options.disabled||this.options.readonly?this.$element:this.options.indeterminate?(this.indeterminate(!1),this.state(!0)):this.$element.prop("checked",!this.options.state).trigger("change.bootstrapSwitch",a)},a.prototype.size=function(a){return"undefined"==typeof a?this.options.size:(null!=this.options.size&&this.$wrapper.removeClass(""+this.options.baseClass+"-"+this.options.size),a&&this.$wrapper.addClass(""+this.options.baseClass+"-"+a),this._width(),this._containerPosition(),this.options.size=a,this.$element)},a.prototype.animate=function(a){return"undefined"==typeof a?this.options.animate:(a=!!a,a===this.options.animate?this.$element:this.toggleAnimate())},a.prototype.toggleAnimate=function(){return this.options.animate=!this.options.animate,this.$wrapper.toggleClass(""+this.options.baseClass+"-animate"),this.$element},a.prototype.disabled=function(a){return"undefined"==typeof a?this.options.disabled:(a=!!a,a===this.options.disabled?this.$element:this.toggleDisabled())},a.prototype.toggleDisabled=function(){return this.options.disabled=!this.options.disabled,this.$element.prop("disabled",this.options.disabled),this.$wrapper.toggleClass(""+this.options.baseClass+"-disabled"),this.$element},a.prototype.readonly=function(a){return"undefined"==typeof a?this.options.readonly:(a=!!a,a===this.options.readonly?this.$element:this.toggleReadonly())},a.prototype.toggleReadonly=function(){return this.options.readonly=!this.options.readonly,this.$element.prop("readonly",this.options.readonly),this.$wrapper.toggleClass(""+this.options.baseClass+"-readonly"),this.$element},a.prototype.indeterminate=function(a){return"undefined"==typeof a?this.options.indeterminate:(a=!!a,a===this.options.indeterminate?this.$element:this.toggleIndeterminate())},a.prototype.toggleIndeterminate=function(){return this.options.indeterminate=!this.options.indeterminate,this.$element.prop("indeterminate",this.options.indeterminate),this.$wrapper.toggleClass(""+this.options.baseClass+"-indeterminate"),
+this._containerPosition(),this.$element},a.prototype.inverse=function(a){return"undefined"==typeof a?this.options.inverse:(a=!!a,a===this.options.inverse?this.$element:this.toggleInverse())},a.prototype.toggleInverse=function(){var a,b;return this.$wrapper.toggleClass(""+this.options.baseClass+"-inverse"),b=this.$on.clone(!0),a=this.$off.clone(!0),this.$on.replaceWith(a),this.$off.replaceWith(b),this.$on=a,this.$off=b,this.options.inverse=!this.options.inverse,this.$element},a.prototype.onColor=function(a){var b;return b=this.options.onColor,"undefined"==typeof a?b:(null!=b&&this.$on.removeClass(""+this.options.baseClass+"-"+b),this.$on.addClass(""+this.options.baseClass+"-"+a),this.options.onColor=a,this.$element)},a.prototype.offColor=function(a){var b;return b=this.options.offColor,"undefined"==typeof a?b:(null!=b&&this.$off.removeClass(""+this.options.baseClass+"-"+b),this.$off.addClass(""+this.options.baseClass+"-"+a),this.options.offColor=a,this.$element)},a.prototype.onText=function(a){return"undefined"==typeof a?this.options.onText:(this.$on.html(a),this._width(),this._containerPosition(),this.options.onText=a,this.$element)},a.prototype.offText=function(a){return"undefined"==typeof a?this.options.offText:(this.$off.html(a),this._width(),this._containerPosition(),this.options.offText=a,this.$element)},a.prototype.labelText=function(a){return"undefined"==typeof a?this.options.labelText:(this.$label.html(a),this._width(),this.options.labelText=a,this.$element)},a.prototype.handleWidth=function(a){return"undefined"==typeof a?this.options.handleWidth:(this.options.handleWidth=a,this._width(),this._containerPosition(),this.$element)},a.prototype.labelWidth=function(a){return"undefined"==typeof a?this.options.labelWidth:(this.options.labelWidth=a,this._width(),this._containerPosition(),this.$element)},a.prototype.baseClass=function(a){return this.options.baseClass},a.prototype.wrapperClass=function(a){return"undefined"==typeof a?this.options.wrapperClass:(a||(a=b.fn.bootstrapSwitch.defaults.wrapperClass),this.$wrapper.removeClass(this._getClasses(this.options.wrapperClass).join(" ")),this.$wrapper.addClass(this._getClasses(a).join(" ")),this.options.wrapperClass=a,this.$element)},a.prototype.radioAllOff=function(a){return"undefined"==typeof a?this.options.radioAllOff:(a=!!a,a===this.options.radioAllOff?this.$element:(this.options.radioAllOff=a,this.$element))},a.prototype.onInit=function(a){return"undefined"==typeof a?this.options.onInit:(a||(a=b.fn.bootstrapSwitch.defaults.onInit),this.options.onInit=a,this.$element)},a.prototype.onSwitchChange=function(a){return"undefined"==typeof a?this.options.onSwitchChange:(a||(a=b.fn.bootstrapSwitch.defaults.onSwitchChange),this.options.onSwitchChange=a,this.$element)},a.prototype.destroy=function(){var a;return a=this.$element.closest("form"),a.length&&a.off("reset.bootstrapSwitch").removeData("bootstrap-switch"),this.$container.children().not(this.$element).remove(),this.$element.unwrap().unwrap().off(".bootstrapSwitch").removeData("bootstrap-switch"),this.$element},a.prototype._width=function(){var a,b;return a=this.$on.add(this.$off),a.add(this.$label).css("width",""),b="auto"===this.options.handleWidth?Math.max(this.$on.width(),this.$off.width()):this.options.handleWidth,a.width(b),this.$label.width(function(a){return function(c,d){return"auto"!==a.options.labelWidth?a.options.labelWidth:b>d?b:d}}(this)),this._handleWidth=this.$on.outerWidth(),this._labelWidth=this.$label.outerWidth(),this.$container.width(2*this._handleWidth+this._labelWidth),this.$wrapper.width(this._handleWidth+this._labelWidth)},a.prototype._containerPosition=function(a,b){return null==a&&(a=this.options.state),this.$container.css("margin-left",function(b){return function(){var c;return c=[0,"-"+b._handleWidth+"px"],b.options.indeterminate?"-"+b._handleWidth/2+"px":a?b.options.inverse?c[1]:c[0]:b.options.inverse?c[0]:c[1]}}(this)),b?setTimeout(function(){return b()},50):void 0},a.prototype._init=function(){var a,b;return a=function(a){return function(){return a._width(),a._containerPosition(null,function(){return a.options.animate?a.$wrapper.addClass(""+a.options.baseClass+"-animate"):void 0})}}(this),this.$wrapper.is(":visible")?a():b=c.setInterval(function(d){return function(){return d.$wrapper.is(":visible")?(a(),c.clearInterval(b)):void 0}}(this),50)},a.prototype._elementHandlers=function(){return this.$element.on({"change.bootstrapSwitch":function(a){return function(c,d){var e;return c.preventDefault(),c.stopImmediatePropagation(),e=a.$element.is(":checked"),a._containerPosition(e),e!==a.options.state?(a.options.state=e,a.$wrapper.toggleClass(""+a.options.baseClass+"-off").toggleClass(""+a.options.baseClass+"-on"),d?void 0:(a.$element.is(":radio")&&b("[name='"+a.$element.attr("name")+"']").not(a.$element).prop("checked",!1).trigger("change.bootstrapSwitch",!0),a.$element.trigger("switchChange.bootstrapSwitch",[e]))):void 0}}(this),"focus.bootstrapSwitch":function(a){return function(b){return b.preventDefault(),a.$wrapper.addClass(""+a.options.baseClass+"-focused")}}(this),"blur.bootstrapSwitch":function(a){return function(b){return b.preventDefault(),a.$wrapper.removeClass(""+a.options.baseClass+"-focused")}}(this),"keydown.bootstrapSwitch":function(a){return function(b){if(b.which&&!a.options.disabled&&!a.options.readonly)switch(b.which){case 37:return b.preventDefault(),b.stopImmediatePropagation(),a.state(!1);case 39:return b.preventDefault(),b.stopImmediatePropagation(),a.state(!0)}}}(this)})},a.prototype._handleHandlers=function(){return this.$on.on("click.bootstrapSwitch",function(a){return function(b){return b.preventDefault(),b.stopPropagation(),a.state(!1),a.$element.trigger("focus.bootstrapSwitch")}}(this)),this.$off.on("click.bootstrapSwitch",function(a){return function(b){return b.preventDefault(),b.stopPropagation(),a.state(!0),a.$element.trigger("focus.bootstrapSwitch")}}(this))},a.prototype._labelHandlers=function(){return this.$label.on({"mousedown.bootstrapSwitch touchstart.bootstrapSwitch":function(a){return function(b){return a._dragStart||a.options.disabled||a.options.readonly?void 0:(b.preventDefault(),b.stopPropagation(),a._dragStart=(b.pageX||b.originalEvent.touches[0].pageX)-parseInt(a.$container.css("margin-left"),10),a.options.animate&&a.$wrapper.removeClass(""+a.options.baseClass+"-animate"),a.$element.trigger("focus.bootstrapSwitch"))}}(this),"mousemove.bootstrapSwitch touchmove.bootstrapSwitch":function(a){return function(b){var c;if(null!=a._dragStart&&(b.preventDefault(),c=(b.pageX||b.originalEvent.touches[0].pageX)-a._dragStart,!(c<-a._handleWidth||c>0)))return a._dragEnd=c,a.$container.css("margin-left",""+a._dragEnd+"px")}}(this),"mouseup.bootstrapSwitch touchend.bootstrapSwitch":function(a){return function(b){var c;if(a._dragStart)return b.preventDefault(),a.options.animate&&a.$wrapper.addClass(""+a.options.baseClass+"-animate"),a._dragEnd?(c=a._dragEnd>-(a._handleWidth/2),a._dragEnd=!1,a.state(a.options.inverse?!c:c)):a.state(!a.options.state),a._dragStart=!1}}(this),"mouseleave.bootstrapSwitch":function(a){return function(b){return a.$label.trigger("mouseup.bootstrapSwitch")}}(this)})},a.prototype._externalLabelHandler=function(){var a;return a=this.$element.closest("label"),a.on("click",function(b){return function(c){return c.preventDefault(),c.stopImmediatePropagation(),c.target===a[0]?b.toggleState():void 0}}(this))},a.prototype._formHandler=function(){var a;return a=this.$element.closest("form"),a.data("bootstrap-switch")?void 0:a.on("reset.bootstrapSwitch",function(){return c.setTimeout(function(){return a.find("input").filter(function(){return b(this).data("bootstrap-switch")}).each(function(){return b(this).bootstrapSwitch("state",this.checked)})},1)}).data("bootstrap-switch",!0)},a.prototype._getClasses=function(a){var c,d,e,f;if(!b.isArray(a))return[""+this.options.baseClass+"-"+a];for(d=[],e=0,f=a.length;f>e;e++)c=a[e],d.push(""+this.options.baseClass+"-"+c);return d},a}(),b.fn.bootstrapSwitch=function(){var c,e,f;return e=arguments[0],c=2<=arguments.length?a.call(arguments,1):[],f=this,this.each(function(){var a,g;return a=b(this),g=a.data("bootstrap-switch"),g||a.data("bootstrap-switch",g=new d(this,e)),"string"==typeof e?f=g[e].apply(g,c):void 0}),f},b.fn.bootstrapSwitch.Constructor=d,b.fn.bootstrapSwitch.defaults={state:!0,size:null,animate:!0,disabled:!1,readonly:!1,indeterminate:!1,inverse:!1,radioAllOff:!1,onColor:"primary",offColor:"default",onText:"ON",offText:"OFF",labelText:"&nbsp;",handleWidth:"auto",labelWidth:"auto",baseClass:"bootstrap-switch",wrapperClass:"wrapper",onInit:function(){},onSwitchChange:function(){}}}(window.jQuery,window)}.call(this),function(){"use strict";angular.module("frapontillo.bootstrap-switch",[]),angular.module("frapontillo.bootstrap-switch").directive("bsSwitch",["$parse","$timeout",function(a,b){return{restrict:"A",require:"ngModel",link:function(c,d,e,f){var g=!1,h=function(){if("radio"===e.type)return e.value||a(e.ngValue)(c)||!0;var b=a(e.ngTrueValue)(c);return angular.isUndefined(b)&&(b=!0),b},i=function(a){return c.$eval(a)===!0},j=function(a){return a===!0||"true"===a||!a},k=function(a){return a?a:void 0},l=function(a){var b={switchRadioOff:j,switchActive:function(a){return!j(a)},switchAnimate:j,switchLabel:function(a){return a?a:"&nbsp;"},switchIcon:function(a){return a?"<span class='"+a+"'></span>":void 0},switchWrapper:function(a){return a||"wrapper"},switchInverse:i,switchReadonly:i},c=b[a]||k;return c(e[a])},m=function(a,b,c){if(g){var d=l(c);a.bootstrapSwitch(b,d)}},n=function(){m(d,"disabled","switchActive")},o=function(){if(!g){var a=f.$modelValue===h();g=!g,d.bootstrapSwitch({radioAllOff:l("switchRadioOff"),disabled:l("switchActive"),state:a,onText:l("switchOnText"),offText:l("switchOffText"),onColor:l("switchOnColor"),offColor:l("switchOffColor"),animate:l("switchAnimate"),size:l("switchSize"),labelText:l(e.switchLabel?"switchLabel":"switchIcon"),wrapperClass:l("switchWrapper"),handleWidth:l("switchHandleWidth"),labelWidth:l("switchLabelWidth"),inverse:l("switchInverse"),readonly:l("switchReadonly")}),"radio"===e.type?f.$setViewValue(f.$modelValue):f.$setViewValue(a)}},p=function(){function a(){return f.$modelValue}e.$observe("switchActive",function(a){var c=j(a);c?n(c):b(function(){n(c)})}),c.$watch(a,function(a){o(),void 0!==a?d.bootstrapSwitch("state",a===h(),!1):d.bootstrapSwitch("toggleIndeterminate",!0,!1)},!0);var g={switchRadioOff:"radioAllOff",switchOnText:"onText",switchOffText:"offText",switchOnColor:"onColor",switchOffColor:"offColor",switchAnimate:"animate",switchSize:"size",switchLabel:"labelText",switchIcon:"labelText",switchWrapper:"wrapperClass",switchHandleWidth:"handleWidth",switchLabelWidth:"labelWidth",switchInverse:"inverse",switchReadonly:"readonly"},i=function(a,b){return function(){e.$observe(a,function(){m(d,b[a],a)})}};for(var k in g)e.$observe(k,i(k,g))},q=function(){"radio"===e.type?d.on("change.bootstrapSwitch",function(a){f.$modelValue===f.$viewValue&&a.target.checked!==$(a.target).bootstrapSwitch("state")&&(a.target.checked?f.$setViewValue(h()):h()===f.$viewValue&&f.$setViewValue(void 0))}):d.on("switchChange.bootstrapSwitch",function(a){f.$setViewValue(a.target.checked)})};q(),p(),c.$on("$destroy",function(){d.bootstrapSwitch("destroy")})}}}]).directive("bsSwitch",function(){return{restrict:"E",require:"ngModel",template:"<input bs-switch>",replace:!0}})}(),function(){"use strict";var a=this,b=a.Chart,c=function(a){this.canvas=a.canvas,this.ctx=a;var b=function(a,b){return a["offset"+b]?a["offset"+b]:document.defaultView.getComputedStyle(a).getPropertyValue(b)},c=this.width=b(a.canvas,"Width"),e=this.height=b(a.canvas,"Height");a.canvas.width=c,a.canvas.height=e;var c=this.width=a.canvas.width,e=this.height=a.canvas.height;return this.aspectRatio=this.width/this.height,d.retinaScale(this),this};c.defaults={global:{animation:!0,animationSteps:60,animationEasing:"easeOutQuart",showScale:!0,scaleOverride:!1,scaleSteps:null,scaleStepWidth:null,scaleStartValue:null,scaleLineColor:"rgba(0,0,0,.1)",scaleLineWidth:1,scaleShowLabels:!0,scaleLabel:"<%=value%>",scaleIntegersOnly:!0,scaleBeginAtZero:!1,scaleFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",scaleFontSize:12,scaleFontStyle:"normal",scaleFontColor:"#666",responsive:!1,maintainAspectRatio:!0,showTooltips:!0,customTooltips:!1,tooltipEvents:["mousemove","touchstart","touchmove","mouseout"],tooltipFillColor:"rgba(0,0,0,0.8)",tooltipFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",tooltipFontSize:14,tooltipFontStyle:"normal",tooltipFontColor:"#fff",tooltipTitleFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",tooltipTitleFontSize:14,tooltipTitleFontStyle:"bold",tooltipTitleFontColor:"#fff",tooltipYPadding:6,tooltipXPadding:6,tooltipCaretSize:8,tooltipCornerRadius:6,tooltipXOffset:10,tooltipTemplate:"<%if (label){%><%=label%>: <%}%><%= value %>",multiTooltipTemplate:"<%= value %>",multiTooltipKeyBackground:"#fff",onAnimationProgress:function(){},onAnimationComplete:function(){}}},c.types={};var d=c.helpers={},e=d.each=function(a,b,c){var d=Array.prototype.slice.call(arguments,3);if(a)if(a.length===+a.length){var e;for(e=0;e<a.length;e++)b.apply(c,[a[e],e].concat(d))}else for(var f in a)b.apply(c,[a[f],f].concat(d))},f=d.clone=function(a){var b={};return e(a,function(c,d){a.hasOwnProperty(d)&&(b[d]=c)}),b},g=d.extend=function(a){return e(Array.prototype.slice.call(arguments,1),function(b){e(b,function(c,d){b.hasOwnProperty(d)&&(a[d]=c)})}),a},h=d.merge=function(a,b){var c=Array.prototype.slice.call(arguments,0);return c.unshift({}),g.apply(null,c)},i=d.indexOf=function(a,b){if(Array.prototype.indexOf)return a.indexOf(b);for(var c=0;c<a.length;c++)if(a[c]===b)return c;return-1},j=(d.where=function(a,b){var c=[];return d.each(a,function(a){b(a)&&c.push(a)}),c},d.findNextWhere=function(a,b,c){c||(c=-1);for(var d=c+1;d<a.length;d++){var e=a[d];if(b(e))return e}},d.findPreviousWhere=function(a,b,c){c||(c=a.length);for(var d=c-1;d>=0;d--){var e=a[d];if(b(e))return e}},d.inherits=function(a){var b=this,c=a&&a.hasOwnProperty("constructor")?a.constructor:function(){return b.apply(this,arguments)},d=function(){this.constructor=c};return d.prototype=b.prototype,c.prototype=new d,c.extend=j,a&&g(c.prototype,a),c.__super__=b.prototype,c}),k=d.noop=function(){},l=d.uid=function(){var a=0;return function(){return"chart-"+a++}}(),m=d.warn=function(a){window.console&&"function"==typeof window.console.warn&&console.warn(a)},n=d.amd="function"==typeof define&&define.amd,o=d.isNumber=function(a){return!isNaN(parseFloat(a))&&isFinite(a)},p=d.max=function(a){return Math.max.apply(Math,a)},q=d.min=function(a){return Math.min.apply(Math,a)},r=(d.cap=function(a,b,c){if(o(b)){if(a>b)return b}else if(o(c)&&c>a)return c;return a},d.getDecimalPlaces=function(a){return a%1!==0&&o(a)?a.toString().split(".")[1].length:0}),s=d.radians=function(a){return a*(Math.PI/180)},t=(d.getAngleFromPoint=function(a,b){var c=b.x-a.x,d=b.y-a.y,e=Math.sqrt(c*c+d*d),f=2*Math.PI+Math.atan2(d,c);return 0>c&&0>d&&(f+=2*Math.PI),{angle:f,distance:e}},d.aliasPixel=function(a){return a%2===0?0:.5}),u=(d.splineCurve=function(a,b,c,d){var e=Math.sqrt(Math.pow(b.x-a.x,2)+Math.pow(b.y-a.y,2)),f=Math.sqrt(Math.pow(c.x-b.x,2)+Math.pow(c.y-b.y,2)),g=d*e/(e+f),h=d*f/(e+f);return{inner:{x:b.x-g*(c.x-a.x),y:b.y-g*(c.y-a.y)},outer:{x:b.x+h*(c.x-a.x),y:b.y+h*(c.y-a.y)}}},d.calculateOrderOfMagnitude=function(a){return Math.floor(Math.log(a)/Math.LN10)}),v=(d.calculateScaleRange=function(a,b,c,d,e){var f=2,g=Math.floor(b/(1.5*c)),h=f>=g,i=p(a),j=q(a);i===j&&(i+=.5,j>=.5&&!d?j-=.5:i+=.5);for(var k=Math.abs(i-j),l=u(k),m=Math.ceil(i/(1*Math.pow(10,l)))*Math.pow(10,l),n=d?0:Math.floor(j/(1*Math.pow(10,l)))*Math.pow(10,l),o=m-n,r=Math.pow(10,l),s=Math.round(o/r);(s>g||g>2*s)&&!h;)if(s>g)r*=2,s=Math.round(o/r),s%1!==0&&(h=!0);else if(e&&l>=0){if(r/2%1!==0)break;r/=2,s=Math.round(o/r)}else r/=2,s=Math.round(o/r);return h&&(s=f,r=o/s),{steps:s,stepValue:r,min:n,max:n+s*r}},d.template=function(a,b){function c(a,b){var c=/\W/.test(a)?new Function("obj","var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push('"+a.replace(/[\r\t\n]/g," ").split("<%").join("  ").replace(/((^|%>)[^\t]*)'/g,"$1\r").replace(/\t=(.*?)%>/g,"',$1,'").split("   ").join("');").split("%>").join("p.push('").split("\r").join("\\'")+"');}return p.join('');"):d[a]=d[a];return b?c(b):c}if(a instanceof Function)return a(b);var d={};return c(a,b)}),w=(d.generateLabels=function(a,b,c,d){var f=new Array(b);return labelTemplateString&&e(f,function(b,e){f[e]=v(a,{value:c+d*(e+1)})}),f},d.easingEffects={linear:function(a){return a},easeInQuad:function(a){return a*a},easeOutQuad:function(a){return-1*a*(a-2)},easeInOutQuad:function(a){return(a/=.5)<1?.5*a*a:-0.5*(--a*(a-2)-1)},easeInCubic:function(a){return a*a*a},easeOutCubic:function(a){return 1*((a=a/1-1)*a*a+1)},easeInOutCubic:function(a){return(a/=.5)<1?.5*a*a*a:.5*((a-=2)*a*a+2)},easeInQuart:function(a){return a*a*a*a},easeOutQuart:function(a){return-1*((a=a/1-1)*a*a*a-1)},easeInOutQuart:function(a){return(a/=.5)<1?.5*a*a*a*a:-0.5*((a-=2)*a*a*a-2)},easeInQuint:function(a){return 1*(a/=1)*a*a*a*a},easeOutQuint:function(a){return 1*((a=a/1-1)*a*a*a*a+1)},easeInOutQuint:function(a){return(a/=.5)<1?.5*a*a*a*a*a:.5*((a-=2)*a*a*a*a+2)},easeInSine:function(a){return-1*Math.cos(a/1*(Math.PI/2))+1},easeOutSine:function(a){return 1*Math.sin(a/1*(Math.PI/2))},easeInOutSine:function(a){return-0.5*(Math.cos(Math.PI*a/1)-1)},easeInExpo:function(a){return 0===a?1:1*Math.pow(2,10*(a/1-1))},easeOutExpo:function(a){return 1===a?1:1*(-Math.pow(2,-10*a/1)+1)},easeInOutExpo:function(a){return 0===a?0:1===a?1:(a/=.5)<1?.5*Math.pow(2,10*(a-1)):.5*(-Math.pow(2,-10*--a)+2)},easeInCirc:function(a){return a>=1?a:-1*(Math.sqrt(1-(a/=1)*a)-1)},easeOutCirc:function(a){return 1*Math.sqrt(1-(a=a/1-1)*a)},easeInOutCirc:function(a){return(a/=.5)<1?-0.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)},easeInElastic:function(a){var b=1.70158,c=0,d=1;return 0===a?0:1==(a/=1)?1:(c||(c=.3),d<Math.abs(1)?(d=1,b=c/4):b=c/(2*Math.PI)*Math.asin(1/d),-(d*Math.pow(2,10*(a-=1))*Math.sin((1*a-b)*(2*Math.PI)/c)))},easeOutElastic:function(a){var b=1.70158,c=0,d=1;return 0===a?0:1==(a/=1)?1:(c||(c=.3),d<Math.abs(1)?(d=1,b=c/4):b=c/(2*Math.PI)*Math.asin(1/d),d*Math.pow(2,-10*a)*Math.sin((1*a-b)*(2*Math.PI)/c)+1)},easeInOutElastic:function(a){var b=1.70158,c=0,d=1;return 0===a?0:2==(a/=.5)?1:(c||(c=1*(.3*1.5)),d<Math.abs(1)?(d=1,b=c/4):b=c/(2*Math.PI)*Math.asin(1/d),1>a?-.5*(d*Math.pow(2,10*(a-=1))*Math.sin((1*a-b)*(2*Math.PI)/c)):d*Math.pow(2,-10*(a-=1))*Math.sin((1*a-b)*(2*Math.PI)/c)*.5+1)},easeInBack:function(a){var b=1.70158;return 1*(a/=1)*a*((b+1)*a-b)},easeOutBack:function(a){var b=1.70158;return 1*((a=a/1-1)*a*((b+1)*a+b)+1)},easeInOutBack:function(a){var b=1.70158;return(a/=.5)<1?.5*(a*a*(((b*=1.525)+1)*a-b)):.5*((a-=2)*a*(((b*=1.525)+1)*a+b)+2)},easeInBounce:function(a){return 1-w.easeOutBounce(1-a)},easeOutBounce:function(a){return(a/=1)<1/2.75?1*(7.5625*a*a):2/2.75>a?1*(7.5625*(a-=1.5/2.75)*a+.75):2.5/2.75>a?1*(7.5625*(a-=2.25/2.75)*a+.9375):1*(7.5625*(a-=2.625/2.75)*a+.984375)},easeInOutBounce:function(a){return.5>a?.5*w.easeInBounce(2*a):.5*w.easeOutBounce(2*a-1)+.5}}),x=d.requestAnimFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(a){return window.setTimeout(a,1e3/60)}}(),y=d.cancelAnimFrame=function(){return window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(a){return window.clearTimeout(a,1e3/60)}}(),z=(d.animationLoop=function(a,b,c,d,e,f){var g=0,h=w[c]||w.linear,i=function(){g++;var c=g/b,j=h(c);a.call(f,j,c,g),d.call(f,j,c),b>g?f.animationFrame=x(i):e.apply(f)};x(i)},d.getRelativePosition=function(a){var b,c,d=a.originalEvent||a,e=a.currentTarget||a.srcElement,f=e.getBoundingClientRect();return d.touches?(b=d.touches[0].clientX-f.left,c=d.touches[0].clientY-f.top):(b=d.clientX-f.left,c=d.clientY-f.top),{x:b,y:c}},d.addEvent=function(a,b,c){a.addEventListener?a.addEventListener(b,c):a.attachEvent?a.attachEvent("on"+b,c):a["on"+b]=c}),A=d.removeEvent=function(a,b,c){a.removeEventListener?a.removeEventListener(b,c,!1):a.detachEvent?a.detachEvent("on"+b,c):a["on"+b]=k},B=(d.bindEvents=function(a,b,c){a.events||(a.events={}),e(b,function(b){a.events[b]=function(){c.apply(a,arguments)},z(a.chart.canvas,b,a.events[b])})},d.unbindEvents=function(a,b){e(b,function(b,c){A(a.chart.canvas,c,b)})}),C=d.getMaximumWidth=function(a){var b=a.parentNode;return b.clientWidth},D=d.getMaximumHeight=function(a){var b=a.parentNode;return b.clientHeight},E=(d.getMaximumSize=d.getMaximumWidth,d.retinaScale=function(a){var b=a.ctx,c=a.canvas.width,d=a.canvas.height;window.devicePixelRatio&&(b.canvas.style.width=c+"px",b.canvas.style.height=d+"px",b.canvas.height=d*window.devicePixelRatio,b.canvas.width=c*window.devicePixelRatio,b.scale(window.devicePixelRatio,window.devicePixelRatio))}),F=d.clear=function(a){a.ctx.clearRect(0,0,a.width,a.height)},G=d.fontString=function(a,b,c){return b+" "+a+"px "+c},H=d.longestText=function(a,b,c){a.font=b;var d=0;return e(c,function(b){var c=a.measureText(b).width;d=c>d?c:d}),d},I=d.drawRoundedRectangle=function(a,b,c,d,e,f){a.beginPath(),a.moveTo(b+f,c),a.lineTo(b+d-f,c),a.quadraticCurveTo(b+d,c,b+d,c+f),a.lineTo(b+d,c+e-f),a.quadraticCurveTo(b+d,c+e,b+d-f,c+e),a.lineTo(b+f,c+e),a.quadraticCurveTo(b,c+e,b,c+e-f),a.lineTo(b,c+f),a.quadraticCurveTo(b,c,b+f,c),a.closePath()};c.instances={},c.Type=function(a,b,d){this.options=b,this.chart=d,this.id=l(),c.instances[this.id]=this,b.responsive&&this.resize(),this.initialize.call(this,a)},g(c.Type.prototype,{initialize:function(){return this},clear:function(){return F(this.chart),this},stop:function(){return y(this.animationFrame),this},resize:function(a){this.stop();var b=this.chart.canvas,c=C(this.chart.canvas),d=this.options.maintainAspectRatio?c/this.chart.aspectRatio:D(this.chart.canvas);return b.width=this.chart.width=c,b.height=this.chart.height=d,E(this.chart),"function"==typeof a&&a.apply(this,Array.prototype.slice.call(arguments,1)),this},reflow:k,render:function(a){return a&&this.reflow(),this.options.animation&&!a?d.animationLoop(this.draw,this.options.animationSteps,this.options.animationEasing,this.options.onAnimationProgress,this.options.onAnimationComplete,this):(this.draw(),this.options.onAnimationComplete.call(this)),this},generateLegend:function(){return v(this.options.legendTemplate,this)},destroy:function(){this.clear(),B(this,this.events);var a=this.chart.canvas;a.width=this.chart.width,a.height=this.chart.height,a.style.removeProperty?(a.style.removeProperty("width"),a.style.removeProperty("height")):(a.style.removeAttribute("width"),a.style.removeAttribute("height")),delete c.instances[this.id]},showTooltip:function(a,b){"undefined"==typeof this.activeElements&&(this.activeElements=[]);var f=function(a){var b=!1;return a.length!==this.activeElements.length?b=!0:(e(a,function(a,c){a!==this.activeElements[c]&&(b=!0)},this),b)}.call(this,a);if(f||b){if(this.activeElements=a,this.draw(),this.options.customTooltips&&this.options.customTooltips(!1),a.length>0)if(this.datasets&&this.datasets.length>1){for(var g,h,j=this.datasets.length-1;j>=0&&(g=this.datasets[j].points||this.datasets[j].bars||this.datasets[j].segments,h=i(g,a[0]),-1===h);j--);var k=[],l=[],m=function(a){var b,c,e,f,g,i=[],j=[],m=[];return d.each(this.datasets,function(a){b=a.points||a.bars||a.segments,b[h]&&b[h].hasValue()&&i.push(b[h])}),d.each(i,function(a){j.push(a.x),m.push(a.y),k.push(d.template(this.options.multiTooltipTemplate,a)),l.push({fill:a._saved.fillColor||a.fillColor,stroke:a._saved.strokeColor||a.strokeColor})},this),g=q(m),e=p(m),f=q(j),c=p(j),{x:f>this.chart.width/2?f:c,y:(g+e)/2}}.call(this,h);new c.MultiTooltip({x:m.x,y:m.y,xPadding:this.options.tooltipXPadding,yPadding:this.options.tooltipYPadding,xOffset:this.options.tooltipXOffset,fillColor:this.options.tooltipFillColor,textColor:this.options.tooltipFontColor,fontFamily:this.options.tooltipFontFamily,fontStyle:this.options.tooltipFontStyle,fontSize:this.options.tooltipFontSize,titleTextColor:this.options.tooltipTitleFontColor,titleFontFamily:this.options.tooltipTitleFontFamily,titleFontStyle:this.options.tooltipTitleFontStyle,titleFontSize:this.options.tooltipTitleFontSize,cornerRadius:this.options.tooltipCornerRadius,labels:k,legendColors:l,legendColorBackground:this.options.multiTooltipKeyBackground,title:a[0].label,chart:this.chart,ctx:this.chart.ctx,custom:this.options.customTooltips}).draw()}else e(a,function(a){var b=a.tooltipPosition();new c.Tooltip({x:Math.round(b.x),y:Math.round(b.y),xPadding:this.options.tooltipXPadding,yPadding:this.options.tooltipYPadding,fillColor:this.options.tooltipFillColor,textColor:this.options.tooltipFontColor,fontFamily:this.options.tooltipFontFamily,fontStyle:this.options.tooltipFontStyle,fontSize:this.options.tooltipFontSize,caretHeight:this.options.tooltipCaretSize,cornerRadius:this.options.tooltipCornerRadius,text:v(this.options.tooltipTemplate,a),chart:this.chart,custom:this.options.customTooltips}).draw()},this);return this}},toBase64Image:function(){return this.chart.canvas.toDataURL.apply(this.chart.canvas,arguments)}}),c.Type.extend=function(a){var b=this,d=function(){return b.apply(this,arguments)};if(d.prototype=f(b.prototype),g(d.prototype,a),d.extend=c.Type.extend,a.name||b.prototype.name){var e=a.name||b.prototype.name,i=c.defaults[b.prototype.name]?f(c.defaults[b.prototype.name]):{};c.defaults[e]=g(i,a.defaults),c.types[e]=d,c.prototype[e]=function(a,b){var f=h(c.defaults.global,c.defaults[e],b||{});return new d(a,f,this)}}else m("Name not provided for this chart, so it hasn't been registered");return b},c.Element=function(a){g(this,a),this.initialize.apply(this,arguments),this.save()},g(c.Element.prototype,{initialize:function(){},restore:function(a){return a?e(a,function(a){this[a]=this._saved[a]},this):g(this,this._saved),this},save:function(){return this._saved=f(this),delete this._saved._saved,this},update:function(a){return e(a,function(a,b){this._saved[b]=this[b],this[b]=a},this),this},transition:function(a,b){return e(a,function(a,c){this[c]=(a-this._saved[c])*b+this._saved[c]},this),this},tooltipPosition:function(){return{x:this.x,y:this.y}},hasValue:function(){return o(this.value)}}),c.Element.extend=j,c.Point=c.Element.extend({display:!0,inRange:function(a,b){var c=this.hitDetectionRadius+this.radius;return Math.pow(a-this.x,2)+Math.pow(b-this.y,2)<Math.pow(c,2)},draw:function(){if(this.display){var a=this.ctx;a.beginPath(),a.arc(this.x,this.y,this.radius,0,2*Math.PI),a.closePath(),a.strokeStyle=this.strokeColor,a.lineWidth=this.strokeWidth,a.fillStyle=this.fillColor,a.fill(),a.stroke()}}}),c.Arc=c.Element.extend({inRange:function(a,b){var c=d.getAngleFromPoint(this,{x:a,y:b}),e=c.angle>=this.startAngle&&c.angle<=this.endAngle,f=c.distance>=this.innerRadius&&c.distance<=this.outerRadius;return e&&f},tooltipPosition:function(){var a=this.startAngle+(this.endAngle-this.startAngle)/2,b=(this.outerRadius-this.innerRadius)/2+this.innerRadius;return{x:this.x+Math.cos(a)*b,y:this.y+Math.sin(a)*b}},draw:function(a){var b=this.ctx;b.beginPath(),b.arc(this.x,this.y,this.outerRadius,this.startAngle,this.endAngle),b.arc(this.x,this.y,this.innerRadius,this.endAngle,this.startAngle,!0),b.closePath(),b.strokeStyle=this.strokeColor,b.lineWidth=this.strokeWidth,b.fillStyle=this.fillColor,b.fill(),b.lineJoin="bevel",this.showStroke&&b.stroke()}}),c.Rectangle=c.Element.extend({draw:function(){var a=this.ctx,b=this.width/2,c=this.x-b,d=this.x+b,e=this.base-(this.base-this.y),f=this.strokeWidth/2;this.showStroke&&(c+=f,d-=f,e+=f),a.beginPath(),a.fillStyle=this.fillColor,a.strokeStyle=this.strokeColor,a.lineWidth=this.strokeWidth,a.moveTo(c,this.base),a.lineTo(c,e),a.lineTo(d,e),a.lineTo(d,this.base),a.fill(),this.showStroke&&a.stroke()},height:function(){return this.base-this.y},inRange:function(a,b){return a>=this.x-this.width/2&&a<=this.x+this.width/2&&b>=this.y&&b<=this.base}}),c.Tooltip=c.Element.extend({draw:function(){var a=this.chart.ctx;a.font=G(this.fontSize,this.fontStyle,this.fontFamily),this.xAlign="center",this.yAlign="above";var b=this.caretPadding=2,c=a.measureText(this.text).width+2*this.xPadding,d=this.fontSize+2*this.yPadding,e=d+this.caretHeight+b;this.x+c/2>this.chart.width?this.xAlign="left":this.x-c/2<0&&(this.xAlign="right"),this.y-e<0&&(this.yAlign="below");var f=this.x-c/2,g=this.y-e;if(a.fillStyle=this.fillColor,this.custom)this.custom(this);else{switch(this.yAlign){case"above":a.beginPath(),a.moveTo(this.x,this.y-b),a.lineTo(this.x+this.caretHeight,this.y-(b+this.caretHeight)),a.lineTo(this.x-this.caretHeight,this.y-(b+this.caretHeight)),a.closePath(),a.fill();break;case"below":g=this.y+b+this.caretHeight,a.beginPath(),a.moveTo(this.x,this.y+b),a.lineTo(this.x+this.caretHeight,this.y+b+this.caretHeight),a.lineTo(this.x-this.caretHeight,this.y+b+this.caretHeight),a.closePath(),a.fill()}switch(this.xAlign){case"left":f=this.x-c+(this.cornerRadius+this.caretHeight);break;case"right":f=this.x-(this.cornerRadius+this.caretHeight)}I(a,f,g,c,d,this.cornerRadius),a.fill(),a.fillStyle=this.textColor,a.textAlign="center",a.textBaseline="middle",a.fillText(this.text,f+c/2,g+d/2)}}}),c.MultiTooltip=c.Element.extend({initialize:function(){this.font=G(this.fontSize,this.fontStyle,this.fontFamily),this.titleFont=G(this.titleFontSize,this.titleFontStyle,this.titleFontFamily),this.height=this.labels.length*this.fontSize+(this.labels.length-1)*(this.fontSize/2)+2*this.yPadding+1.5*this.titleFontSize,this.ctx.font=this.titleFont;var a=this.ctx.measureText(this.title).width,b=H(this.ctx,this.font,this.labels)+this.fontSize+3,c=p([b,a]);this.width=c+2*this.xPadding;var d=this.height/2;this.y-d<0?this.y=d:this.y+d>this.chart.height&&(this.y=this.chart.height-d),this.x>this.chart.width/2?this.x-=this.xOffset+this.width:this.x+=this.xOffset},getLineHeight:function(a){var b=this.y-this.height/2+this.yPadding,c=a-1;return 0===a?b+this.titleFontSize/2:b+(1.5*this.fontSize*c+this.fontSize/2)+1.5*this.titleFontSize},draw:function(){if(this.custom)this.custom(this);else{I(this.ctx,this.x,this.y-this.height/2,this.width,this.height,this.cornerRadius);var a=this.ctx;a.fillStyle=this.fillColor,a.fill(),a.closePath(),a.textAlign="left",a.textBaseline="middle",a.fillStyle=this.titleTextColor,a.font=this.titleFont,a.fillText(this.title,this.x+this.xPadding,this.getLineHeight(0)),a.font=this.font,d.each(this.labels,function(b,c){a.fillStyle=this.textColor,a.fillText(b,this.x+this.xPadding+this.fontSize+3,this.getLineHeight(c+1)),a.fillStyle=this.legendColorBackground,a.fillRect(this.x+this.xPadding,this.getLineHeight(c+1)-this.fontSize/2,this.fontSize,this.fontSize),a.fillStyle=this.legendColors[c].fill,a.fillRect(this.x+this.xPadding,this.getLineHeight(c+1)-this.fontSize/2,this.fontSize,this.fontSize)},this)}}}),c.Scale=c.Element.extend({initialize:function(){this.fit()},buildYLabels:function(){this.yLabels=[];for(var a=r(this.stepValue),b=0;b<=this.steps;b++)this.yLabels.push(v(this.templateString,{value:(this.min+b*this.stepValue).toFixed(a)}));this.yLabelWidth=this.display&&this.showLabels?H(this.ctx,this.font,this.yLabels):0},addXLabel:function(a){this.xLabels.push(a),this.valuesCount++,this.fit()},removeXLabel:function(){this.xLabels.shift(),this.valuesCount--,this.fit()},fit:function(){this.startPoint=this.display?this.fontSize:0,this.endPoint=this.display?this.height-1.5*this.fontSize-5:this.height,this.startPoint+=this.padding,this.endPoint-=this.padding;var a,b=this.endPoint-this.startPoint;for(this.calculateYRange(b),this.buildYLabels(),this.calculateXLabelRotation();b>this.endPoint-this.startPoint;)b=this.endPoint-this.startPoint,
+a=this.yLabelWidth,this.calculateYRange(b),this.buildYLabels(),a<this.yLabelWidth&&this.calculateXLabelRotation()},calculateXLabelRotation:function(){this.ctx.font=this.font;var a,b,c=this.ctx.measureText(this.xLabels[0]).width,d=this.ctx.measureText(this.xLabels[this.xLabels.length-1]).width;if(this.xScalePaddingRight=d/2+3,this.xScalePaddingLeft=c/2>this.yLabelWidth+10?c/2:this.yLabelWidth+10,this.xLabelRotation=0,this.display){var e,f=H(this.ctx,this.font,this.xLabels);this.xLabelWidth=f;for(var g=Math.floor(this.calculateX(1)-this.calculateX(0))-6;this.xLabelWidth>g&&0===this.xLabelRotation||this.xLabelWidth>g&&this.xLabelRotation<=90&&this.xLabelRotation>0;)e=Math.cos(s(this.xLabelRotation)),a=e*c,b=e*d,a+this.fontSize/2>this.yLabelWidth+8&&(this.xScalePaddingLeft=a+this.fontSize/2),this.xScalePaddingRight=this.fontSize/2,this.xLabelRotation++,this.xLabelWidth=e*f;this.xLabelRotation>0&&(this.endPoint-=Math.sin(s(this.xLabelRotation))*f+3)}else this.xLabelWidth=0,this.xScalePaddingRight=this.padding,this.xScalePaddingLeft=this.padding},calculateYRange:k,drawingArea:function(){return this.startPoint-this.endPoint},calculateY:function(a){var b=this.drawingArea()/(this.min-this.max);return this.endPoint-b*(a-this.min)},calculateX:function(a){var b=(this.xLabelRotation>0,this.width-(this.xScalePaddingLeft+this.xScalePaddingRight)),c=b/Math.max(this.valuesCount-(this.offsetGridLines?0:1),1),d=c*a+this.xScalePaddingLeft;return this.offsetGridLines&&(d+=c/2),Math.round(d)},update:function(a){d.extend(this,a),this.fit()},draw:function(){var a=this.ctx,b=(this.endPoint-this.startPoint)/this.steps,c=Math.round(this.xScalePaddingLeft);this.display&&(a.fillStyle=this.textColor,a.font=this.font,e(this.yLabels,function(e,f){var g=this.endPoint-b*f,h=Math.round(g),i=this.showHorizontalLines;a.textAlign="right",a.textBaseline="middle",this.showLabels&&a.fillText(e,c-10,g),0!==f||i||(i=!0),i&&a.beginPath(),f>0?(a.lineWidth=this.gridLineWidth,a.strokeStyle=this.gridLineColor):(a.lineWidth=this.lineWidth,a.strokeStyle=this.lineColor),h+=d.aliasPixel(a.lineWidth),i&&(a.moveTo(c,h),a.lineTo(this.width,h),a.stroke(),a.closePath()),a.lineWidth=this.lineWidth,a.strokeStyle=this.lineColor,a.beginPath(),a.moveTo(c-5,h),a.lineTo(c,h),a.stroke(),a.closePath()},this),e(this.xLabels,function(b,c){var d=this.calculateX(c)+t(this.lineWidth),e=this.calculateX(c-(this.offsetGridLines?.5:0))+t(this.lineWidth),f=this.xLabelRotation>0,g=this.showVerticalLines;0!==c||g||(g=!0),g&&a.beginPath(),c>0?(a.lineWidth=this.gridLineWidth,a.strokeStyle=this.gridLineColor):(a.lineWidth=this.lineWidth,a.strokeStyle=this.lineColor),g&&(a.moveTo(e,this.endPoint),a.lineTo(e,this.startPoint-3),a.stroke(),a.closePath()),a.lineWidth=this.lineWidth,a.strokeStyle=this.lineColor,a.beginPath(),a.moveTo(e,this.endPoint),a.lineTo(e,this.endPoint+5),a.stroke(),a.closePath(),a.save(),a.translate(d,f?this.endPoint+12:this.endPoint+8),a.rotate(-1*s(this.xLabelRotation)),a.font=this.font,a.textAlign=f?"right":"center",a.textBaseline=f?"middle":"top",a.fillText(b,0,0),a.restore()},this))}}),c.RadialScale=c.Element.extend({initialize:function(){this.size=q([this.height,this.width]),this.drawingArea=this.display?this.size/2-(this.fontSize/2+this.backdropPaddingY):this.size/2},calculateCenterOffset:function(a){var b=this.drawingArea/(this.max-this.min);return(a-this.min)*b},update:function(){this.lineArc?this.drawingArea=this.display?this.size/2-(this.fontSize/2+this.backdropPaddingY):this.size/2:this.setScaleSize(),this.buildYLabels()},buildYLabels:function(){this.yLabels=[];for(var a=r(this.stepValue),b=0;b<=this.steps;b++)this.yLabels.push(v(this.templateString,{value:(this.min+b*this.stepValue).toFixed(a)}))},getCircumference:function(){return 2*Math.PI/this.valuesCount},setScaleSize:function(){var a,b,c,d,e,f,g,h,i,j,k,l,m=q([this.height/2-this.pointLabelFontSize-5,this.width/2]),n=this.width,p=0;for(this.ctx.font=G(this.pointLabelFontSize,this.pointLabelFontStyle,this.pointLabelFontFamily),b=0;b<this.valuesCount;b++)a=this.getPointPosition(b,m),c=this.ctx.measureText(v(this.templateString,{value:this.labels[b]})).width+5,0===b||b===this.valuesCount/2?(d=c/2,a.x+d>n&&(n=a.x+d,e=b),a.x-d<p&&(p=a.x-d,g=b)):b<this.valuesCount/2?a.x+c>n&&(n=a.x+c,e=b):b>this.valuesCount/2&&a.x-c<p&&(p=a.x-c,g=b);i=p,j=Math.ceil(n-this.width),f=this.getIndexAngle(e),h=this.getIndexAngle(g),k=j/Math.sin(f+Math.PI/2),l=i/Math.sin(h+Math.PI/2),k=o(k)?k:0,l=o(l)?l:0,this.drawingArea=m-(l+k)/2,this.setCenterPoint(l,k)},setCenterPoint:function(a,b){var c=this.width-b-this.drawingArea,d=a+this.drawingArea;this.xCenter=(d+c)/2,this.yCenter=this.height/2},getIndexAngle:function(a){var b=2*Math.PI/this.valuesCount;return a*b-Math.PI/2},getPointPosition:function(a,b){var c=this.getIndexAngle(a);return{x:Math.cos(c)*b+this.xCenter,y:Math.sin(c)*b+this.yCenter}},draw:function(){if(this.display){var a=this.ctx;if(e(this.yLabels,function(b,c){if(c>0){var d,e=c*(this.drawingArea/this.steps),f=this.yCenter-e;if(this.lineWidth>0)if(a.strokeStyle=this.lineColor,a.lineWidth=this.lineWidth,this.lineArc)a.beginPath(),a.arc(this.xCenter,this.yCenter,e,0,2*Math.PI),a.closePath(),a.stroke();else{a.beginPath();for(var g=0;g<this.valuesCount;g++)d=this.getPointPosition(g,this.calculateCenterOffset(this.min+c*this.stepValue)),0===g?a.moveTo(d.x,d.y):a.lineTo(d.x,d.y);a.closePath(),a.stroke()}if(this.showLabels){if(a.font=G(this.fontSize,this.fontStyle,this.fontFamily),this.showLabelBackdrop){var h=a.measureText(b).width;a.fillStyle=this.backdropColor,a.fillRect(this.xCenter-h/2-this.backdropPaddingX,f-this.fontSize/2-this.backdropPaddingY,h+2*this.backdropPaddingX,this.fontSize+2*this.backdropPaddingY)}a.textAlign="center",a.textBaseline="middle",a.fillStyle=this.fontColor,a.fillText(b,this.xCenter,f)}}},this),!this.lineArc){a.lineWidth=this.angleLineWidth,a.strokeStyle=this.angleLineColor;for(var b=this.valuesCount-1;b>=0;b--){if(this.angleLineWidth>0){var c=this.getPointPosition(b,this.calculateCenterOffset(this.max));a.beginPath(),a.moveTo(this.xCenter,this.yCenter),a.lineTo(c.x,c.y),a.stroke(),a.closePath()}var d=this.getPointPosition(b,this.calculateCenterOffset(this.max)+5);a.font=G(this.pointLabelFontSize,this.pointLabelFontStyle,this.pointLabelFontFamily),a.fillStyle=this.pointLabelFontColor;var f=this.labels.length,g=this.labels.length/2,h=g/2,i=h>b||b>f-h,j=b===h||b===f-h;0===b?a.textAlign="center":b===g?a.textAlign="center":g>b?a.textAlign="left":a.textAlign="right",j?a.textBaseline="middle":i?a.textBaseline="bottom":a.textBaseline="top",a.fillText(this.labels[b],d.x,d.y)}}}}}),d.addEvent(window,"resize",function(){var a;return function(){clearTimeout(a),a=setTimeout(function(){e(c.instances,function(a){a.options.responsive&&a.resize(a.render,!0)})},50)}}()),n?define(function(){return c}):"object"==typeof module&&module.exports&&(module.exports=c),a.Chart=c,c.noConflict=function(){return a.Chart=b,c}}.call(this),function(){"use strict";var a=this,b=a.Chart,c=b.helpers,d={scaleBeginAtZero:!0,scaleShowGridLines:!0,scaleGridLineColor:"rgba(0,0,0,.05)",scaleGridLineWidth:1,scaleShowHorizontalLines:!0,scaleShowVerticalLines:!0,barShowStroke:!0,barStrokeWidth:2,barValueSpacing:5,barDatasetSpacing:1,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].fillColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>'};b.Type.extend({name:"Bar",defaults:d,initialize:function(a){var d=this.options;this.ScaleClass=b.Scale.extend({offsetGridLines:!0,calculateBarX:function(a,b,c){var e=this.calculateBaseWidth(),f=this.calculateX(c)-e/2,g=this.calculateBarWidth(a);return f+g*b+b*d.barDatasetSpacing+g/2},calculateBaseWidth:function(){return this.calculateX(1)-this.calculateX(0)-2*d.barValueSpacing},calculateBarWidth:function(a){var b=this.calculateBaseWidth()-(a-1)*d.barDatasetSpacing;return b/a}}),this.datasets=[],this.options.showTooltips&&c.bindEvents(this,this.options.tooltipEvents,function(a){var b="mouseout"!==a.type?this.getBarsAtEvent(a):[];this.eachBars(function(a){a.restore(["fillColor","strokeColor"])}),c.each(b,function(a){a.fillColor=a.highlightFill,a.strokeColor=a.highlightStroke}),this.showTooltip(b)}),this.BarClass=b.Rectangle.extend({strokeWidth:this.options.barStrokeWidth,showStroke:this.options.barShowStroke,ctx:this.chart.ctx}),c.each(a.datasets,function(b,d){var e={label:b.label||null,fillColor:b.fillColor,strokeColor:b.strokeColor,bars:[]};this.datasets.push(e),c.each(b.data,function(c,d){e.bars.push(new this.BarClass({value:c,label:a.labels[d],datasetLabel:b.label,strokeColor:b.strokeColor,fillColor:b.fillColor,highlightFill:b.highlightFill||b.fillColor,highlightStroke:b.highlightStroke||b.strokeColor}))},this)},this),this.buildScale(a.labels),this.BarClass.prototype.base=this.scale.endPoint,this.eachBars(function(a,b,d){c.extend(a,{width:this.scale.calculateBarWidth(this.datasets.length),x:this.scale.calculateBarX(this.datasets.length,d,b),y:this.scale.endPoint}),a.save()},this),this.render()},update:function(){this.scale.update(),c.each(this.activeElements,function(a){a.restore(["fillColor","strokeColor"])}),this.eachBars(function(a){a.save()}),this.render()},eachBars:function(a){c.each(this.datasets,function(b,d){c.each(b.bars,a,this,d)},this)},getBarsAtEvent:function(a){for(var b,d=[],e=c.getRelativePosition(a),f=function(a){d.push(a.bars[b])},g=0;g<this.datasets.length;g++)for(b=0;b<this.datasets[g].bars.length;b++)if(this.datasets[g].bars[b].inRange(e.x,e.y))return c.each(this.datasets,f),d;return d},buildScale:function(a){var b=this,d=function(){var a=[];return b.eachBars(function(b){a.push(b.value)}),a},e={templateString:this.options.scaleLabel,height:this.chart.height,width:this.chart.width,ctx:this.chart.ctx,textColor:this.options.scaleFontColor,fontSize:this.options.scaleFontSize,fontStyle:this.options.scaleFontStyle,fontFamily:this.options.scaleFontFamily,valuesCount:a.length,beginAtZero:this.options.scaleBeginAtZero,integersOnly:this.options.scaleIntegersOnly,calculateYRange:function(a){var b=c.calculateScaleRange(d(),a,this.fontSize,this.beginAtZero,this.integersOnly);c.extend(this,b)},xLabels:a,font:c.fontString(this.options.scaleFontSize,this.options.scaleFontStyle,this.options.scaleFontFamily),lineWidth:this.options.scaleLineWidth,lineColor:this.options.scaleLineColor,showHorizontalLines:this.options.scaleShowHorizontalLines,showVerticalLines:this.options.scaleShowVerticalLines,gridLineWidth:this.options.scaleShowGridLines?this.options.scaleGridLineWidth:0,gridLineColor:this.options.scaleShowGridLines?this.options.scaleGridLineColor:"rgba(0,0,0,0)",padding:this.options.showScale?0:this.options.barShowStroke?this.options.barStrokeWidth:0,showLabels:this.options.scaleShowLabels,display:this.options.showScale};this.options.scaleOverride&&c.extend(e,{calculateYRange:c.noop,steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}),this.scale=new this.ScaleClass(e)},addData:function(a,b){c.each(a,function(a,c){this.datasets[c].bars.push(new this.BarClass({value:a,label:b,x:this.scale.calculateBarX(this.datasets.length,c,this.scale.valuesCount+1),y:this.scale.endPoint,width:this.scale.calculateBarWidth(this.datasets.length),base:this.scale.endPoint,strokeColor:this.datasets[c].strokeColor,fillColor:this.datasets[c].fillColor}))},this),this.scale.addXLabel(b),this.update()},removeData:function(){this.scale.removeXLabel(),c.each(this.datasets,function(a){a.bars.shift()},this),this.update()},reflow:function(){c.extend(this.BarClass.prototype,{y:this.scale.endPoint,base:this.scale.endPoint});var a=c.extend({height:this.chart.height,width:this.chart.width});this.scale.update(a)},draw:function(a){var b=a||1;this.clear();this.chart.ctx;this.scale.draw(b),c.each(this.datasets,function(a,d){c.each(a.bars,function(a,c){a.hasValue()&&(a.base=this.scale.endPoint,a.transition({x:this.scale.calculateBarX(this.datasets.length,d,c),y:this.scale.calculateY(a.value),width:this.scale.calculateBarWidth(this.datasets.length)},b).draw())},this)},this)}})}.call(this),function(){"use strict";var a=this,b=a.Chart,c=b.helpers,d={segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:2,percentageInnerCutout:50,animationSteps:100,animationEasing:"easeOutBounce",animateRotate:!0,animateScale:!1,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<segments.length; i++){%><li><span style="background-color:<%=segments[i].fillColor%>"></span><%if(segments[i].label){%><%=segments[i].label%><%}%></li><%}%></ul>'};b.Type.extend({name:"Doughnut",defaults:d,initialize:function(a){this.segments=[],this.outerRadius=(c.min([this.chart.width,this.chart.height])-this.options.segmentStrokeWidth/2)/2,this.SegmentArc=b.Arc.extend({ctx:this.chart.ctx,x:this.chart.width/2,y:this.chart.height/2}),this.options.showTooltips&&c.bindEvents(this,this.options.tooltipEvents,function(a){var b="mouseout"!==a.type?this.getSegmentsAtEvent(a):[];c.each(this.segments,function(a){a.restore(["fillColor"])}),c.each(b,function(a){a.fillColor=a.highlightColor}),this.showTooltip(b)}),this.calculateTotal(a),c.each(a,function(a,b){this.addData(a,b,!0)},this),this.render()},getSegmentsAtEvent:function(a){var b=[],d=c.getRelativePosition(a);return c.each(this.segments,function(a){a.inRange(d.x,d.y)&&b.push(a)},this),b},addData:function(a,b,c){var d=b||this.segments.length;this.segments.splice(d,0,new this.SegmentArc({value:a.value,outerRadius:this.options.animateScale?0:this.outerRadius,innerRadius:this.options.animateScale?0:this.outerRadius/100*this.options.percentageInnerCutout,fillColor:a.color,highlightColor:a.highlight||a.color,showStroke:this.options.segmentShowStroke,strokeWidth:this.options.segmentStrokeWidth,strokeColor:this.options.segmentStrokeColor,startAngle:1.5*Math.PI,circumference:this.options.animateRotate?0:this.calculateCircumference(a.value),label:a.label})),c||(this.reflow(),this.update())},calculateCircumference:function(a){return 2*Math.PI*(Math.abs(a)/this.total)},calculateTotal:function(a){this.total=0,c.each(a,function(a){this.total+=Math.abs(a.value)},this)},update:function(){this.calculateTotal(this.segments),c.each(this.activeElements,function(a){a.restore(["fillColor"])}),c.each(this.segments,function(a){a.save()}),this.render()},removeData:function(a){var b=c.isNumber(a)?a:this.segments.length-1;this.segments.splice(b,1),this.reflow(),this.update()},reflow:function(){c.extend(this.SegmentArc.prototype,{x:this.chart.width/2,y:this.chart.height/2}),this.outerRadius=(c.min([this.chart.width,this.chart.height])-this.options.segmentStrokeWidth/2)/2,c.each(this.segments,function(a){a.update({outerRadius:this.outerRadius,innerRadius:this.outerRadius/100*this.options.percentageInnerCutout})},this)},draw:function(a){var b=a?a:1;this.clear(),c.each(this.segments,function(a,c){a.transition({circumference:this.calculateCircumference(a.value),outerRadius:this.outerRadius,innerRadius:this.outerRadius/100*this.options.percentageInnerCutout},b),a.endAngle=a.startAngle+a.circumference,a.draw(),0===c&&(a.startAngle=1.5*Math.PI),c<this.segments.length-1&&(this.segments[c+1].startAngle=a.endAngle)},this)}}),b.types.Doughnut.extend({name:"Pie",defaults:c.merge(d,{percentageInnerCutout:0})})}.call(this),function(){"use strict";var a=this,b=a.Chart,c=b.helpers,d={scaleShowGridLines:!0,scaleGridLineColor:"rgba(0,0,0,.05)",scaleGridLineWidth:1,scaleShowHorizontalLines:!0,scaleShowVerticalLines:!0,bezierCurve:!0,bezierCurveTension:.4,pointDot:!0,pointDotRadius:4,pointDotStrokeWidth:1,pointHitDetectionRadius:20,datasetStroke:!0,datasetStrokeWidth:2,datasetFill:!0,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].strokeColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>'};b.Type.extend({name:"Line",defaults:d,initialize:function(a){this.PointClass=b.Point.extend({strokeWidth:this.options.pointDotStrokeWidth,radius:this.options.pointDotRadius,display:this.options.pointDot,hitDetectionRadius:this.options.pointHitDetectionRadius,ctx:this.chart.ctx,inRange:function(a){return Math.pow(a-this.x,2)<Math.pow(this.radius+this.hitDetectionRadius,2)}}),this.datasets=[],this.options.showTooltips&&c.bindEvents(this,this.options.tooltipEvents,function(a){var b="mouseout"!==a.type?this.getPointsAtEvent(a):[];this.eachPoints(function(a){a.restore(["fillColor","strokeColor"])}),c.each(b,function(a){a.fillColor=a.highlightFill,a.strokeColor=a.highlightStroke}),this.showTooltip(b)}),c.each(a.datasets,function(b){var d={label:b.label||null,fillColor:b.fillColor,strokeColor:b.strokeColor,pointColor:b.pointColor,pointStrokeColor:b.pointStrokeColor,points:[]};this.datasets.push(d),c.each(b.data,function(c,e){d.points.push(new this.PointClass({value:c,label:a.labels[e],datasetLabel:b.label,strokeColor:b.pointStrokeColor,fillColor:b.pointColor,highlightFill:b.pointHighlightFill||b.pointColor,highlightStroke:b.pointHighlightStroke||b.pointStrokeColor}))},this),this.buildScale(a.labels),this.eachPoints(function(a,b){c.extend(a,{x:this.scale.calculateX(b),y:this.scale.endPoint}),a.save()},this)},this),this.render()},update:function(){this.scale.update(),c.each(this.activeElements,function(a){a.restore(["fillColor","strokeColor"])}),this.eachPoints(function(a){a.save()}),this.render()},eachPoints:function(a){c.each(this.datasets,function(b){c.each(b.points,a,this)},this)},getPointsAtEvent:function(a){var b=[],d=c.getRelativePosition(a);return c.each(this.datasets,function(a){c.each(a.points,function(a){a.inRange(d.x,d.y)&&b.push(a)})},this),b},buildScale:function(a){var d=this,e=function(){var a=[];return d.eachPoints(function(b){a.push(b.value)}),a},f={templateString:this.options.scaleLabel,height:this.chart.height,width:this.chart.width,ctx:this.chart.ctx,textColor:this.options.scaleFontColor,fontSize:this.options.scaleFontSize,fontStyle:this.options.scaleFontStyle,fontFamily:this.options.scaleFontFamily,valuesCount:a.length,beginAtZero:this.options.scaleBeginAtZero,integersOnly:this.options.scaleIntegersOnly,calculateYRange:function(a){var b=c.calculateScaleRange(e(),a,this.fontSize,this.beginAtZero,this.integersOnly);c.extend(this,b)},xLabels:a,font:c.fontString(this.options.scaleFontSize,this.options.scaleFontStyle,this.options.scaleFontFamily),lineWidth:this.options.scaleLineWidth,lineColor:this.options.scaleLineColor,showHorizontalLines:this.options.scaleShowHorizontalLines,showVerticalLines:this.options.scaleShowVerticalLines,gridLineWidth:this.options.scaleShowGridLines?this.options.scaleGridLineWidth:0,gridLineColor:this.options.scaleShowGridLines?this.options.scaleGridLineColor:"rgba(0,0,0,0)",padding:this.options.showScale?0:this.options.pointDotRadius+this.options.pointDotStrokeWidth,showLabels:this.options.scaleShowLabels,display:this.options.showScale};this.options.scaleOverride&&c.extend(f,{calculateYRange:c.noop,steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}),this.scale=new b.Scale(f)},addData:function(a,b){c.each(a,function(a,c){this.datasets[c].points.push(new this.PointClass({value:a,label:b,x:this.scale.calculateX(this.scale.valuesCount+1),y:this.scale.endPoint,strokeColor:this.datasets[c].pointStrokeColor,fillColor:this.datasets[c].pointColor}))},this),this.scale.addXLabel(b),this.update()},removeData:function(){this.scale.removeXLabel(),c.each(this.datasets,function(a){a.points.shift()},this),this.update()},reflow:function(){var a=c.extend({height:this.chart.height,width:this.chart.width});this.scale.update(a)},draw:function(a){var b=a||1;this.clear();var d=this.chart.ctx,e=function(a){return null!==a.value},f=function(a,b,d){return c.findNextWhere(b,e,d)||a},g=function(a,b,d){return c.findPreviousWhere(b,e,d)||a};this.scale.draw(b),c.each(this.datasets,function(a){var h=c.where(a.points,e);c.each(a.points,function(a,c){a.hasValue()&&a.transition({y:this.scale.calculateY(a.value),x:this.scale.calculateX(c)},b)},this),this.options.bezierCurve&&c.each(h,function(a,b){var d=b>0&&b<h.length-1?this.options.bezierCurveTension:0;a.controlPoints=c.splineCurve(g(a,h,b),a,f(a,h,b),d),a.controlPoints.outer.y>this.scale.endPoint?a.controlPoints.outer.y=this.scale.endPoint:a.controlPoints.outer.y<this.scale.startPoint&&(a.controlPoints.outer.y=this.scale.startPoint),a.controlPoints.inner.y>this.scale.endPoint?a.controlPoints.inner.y=this.scale.endPoint:a.controlPoints.inner.y<this.scale.startPoint&&(a.controlPoints.inner.y=this.scale.startPoint)},this),d.lineWidth=this.options.datasetStrokeWidth,d.strokeStyle=a.strokeColor,d.beginPath(),c.each(h,function(a,b){if(0===b)d.moveTo(a.x,a.y);else if(this.options.bezierCurve){var c=g(a,h,b);d.bezierCurveTo(c.controlPoints.outer.x,c.controlPoints.outer.y,a.controlPoints.inner.x,a.controlPoints.inner.y,a.x,a.y)}else d.lineTo(a.x,a.y)},this),d.stroke(),this.options.datasetFill&&h.length>0&&(d.lineTo(h[h.length-1].x,this.scale.endPoint),d.lineTo(h[0].x,this.scale.endPoint),d.fillStyle=a.fillColor,d.closePath(),d.fill()),c.each(h,function(a){a.draw()})},this)}})}.call(this),function(){"use strict";var a=this,b=a.Chart,c=b.helpers,d={scaleShowLabelBackdrop:!0,scaleBackdropColor:"rgba(255,255,255,0.75)",scaleBeginAtZero:!0,scaleBackdropPaddingY:2,scaleBackdropPaddingX:2,scaleShowLine:!0,segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:2,animationSteps:100,animationEasing:"easeOutBounce",animateRotate:!0,animateScale:!1,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<segments.length; i++){%><li><span style="background-color:<%=segments[i].fillColor%>"></span><%if(segments[i].label){%><%=segments[i].label%><%}%></li><%}%></ul>'};b.Type.extend({name:"PolarArea",defaults:d,initialize:function(a){this.segments=[],this.SegmentArc=b.Arc.extend({showStroke:this.options.segmentShowStroke,strokeWidth:this.options.segmentStrokeWidth,strokeColor:this.options.segmentStrokeColor,ctx:this.chart.ctx,innerRadius:0,x:this.chart.width/2,y:this.chart.height/2}),this.scale=new b.RadialScale({display:this.options.showScale,fontStyle:this.options.scaleFontStyle,fontSize:this.options.scaleFontSize,fontFamily:this.options.scaleFontFamily,fontColor:this.options.scaleFontColor,showLabels:this.options.scaleShowLabels,showLabelBackdrop:this.options.scaleShowLabelBackdrop,backdropColor:this.options.scaleBackdropColor,backdropPaddingY:this.options.scaleBackdropPaddingY,backdropPaddingX:this.options.scaleBackdropPaddingX,lineWidth:this.options.scaleShowLine?this.options.scaleLineWidth:0,lineColor:this.options.scaleLineColor,lineArc:!0,width:this.chart.width,height:this.chart.height,xCenter:this.chart.width/2,yCenter:this.chart.height/2,ctx:this.chart.ctx,templateString:this.options.scaleLabel,valuesCount:a.length}),this.updateScaleRange(a),this.scale.update(),c.each(a,function(a,b){this.addData(a,b,!0)},this),this.options.showTooltips&&c.bindEvents(this,this.options.tooltipEvents,function(a){var b="mouseout"!==a.type?this.getSegmentsAtEvent(a):[];c.each(this.segments,function(a){a.restore(["fillColor"])}),c.each(b,function(a){a.fillColor=a.highlightColor}),this.showTooltip(b)}),this.render()},getSegmentsAtEvent:function(a){var b=[],d=c.getRelativePosition(a);return c.each(this.segments,function(a){a.inRange(d.x,d.y)&&b.push(a)},this),b},addData:function(a,b,c){var d=b||this.segments.length;this.segments.splice(d,0,new this.SegmentArc({fillColor:a.color,highlightColor:a.highlight||a.color,label:a.label,value:a.value,outerRadius:this.options.animateScale?0:this.scale.calculateCenterOffset(a.value),circumference:this.options.animateRotate?0:this.scale.getCircumference(),startAngle:1.5*Math.PI})),c||(this.reflow(),this.update())},removeData:function(a){var b=c.isNumber(a)?a:this.segments.length-1;this.segments.splice(b,1),this.reflow(),this.update()},calculateTotal:function(a){this.total=0,c.each(a,function(a){this.total+=a.value},this),this.scale.valuesCount=this.segments.length},updateScaleRange:function(a){var b=[];c.each(a,function(a){b.push(a.value)});var d=this.options.scaleOverride?{steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}:c.calculateScaleRange(b,c.min([this.chart.width,this.chart.height])/2,this.options.scaleFontSize,this.options.scaleBeginAtZero,this.options.scaleIntegersOnly);c.extend(this.scale,d,{size:c.min([this.chart.width,this.chart.height]),xCenter:this.chart.width/2,yCenter:this.chart.height/2})},update:function(){this.calculateTotal(this.segments),c.each(this.segments,function(a){a.save()}),this.reflow(),this.render()},reflow:function(){c.extend(this.SegmentArc.prototype,{x:this.chart.width/2,y:this.chart.height/2}),this.updateScaleRange(this.segments),this.scale.update(),c.extend(this.scale,{xCenter:this.chart.width/2,yCenter:this.chart.height/2}),c.each(this.segments,function(a){a.update({outerRadius:this.scale.calculateCenterOffset(a.value)})},this)},draw:function(a){var b=a||1;this.clear(),c.each(this.segments,function(a,c){a.transition({circumference:this.scale.getCircumference(),outerRadius:this.scale.calculateCenterOffset(a.value)},b),a.endAngle=a.startAngle+a.circumference,0===c&&(a.startAngle=1.5*Math.PI),c<this.segments.length-1&&(this.segments[c+1].startAngle=a.endAngle),a.draw()},this),this.scale.draw()}})}.call(this),function(){"use strict";var a=this,b=a.Chart,c=b.helpers;b.Type.extend({name:"Radar",defaults:{scaleShowLine:!0,angleShowLineOut:!0,scaleShowLabels:!1,scaleBeginAtZero:!0,angleLineColor:"rgba(0,0,0,.1)",angleLineWidth:1,pointLabelFontFamily:"'Arial'",pointLabelFontStyle:"normal",pointLabelFontSize:10,pointLabelFontColor:"#666",pointDot:!0,pointDotRadius:3,pointDotStrokeWidth:1,pointHitDetectionRadius:20,datasetStroke:!0,datasetStrokeWidth:2,datasetFill:!0,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].strokeColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>'},initialize:function(a){this.PointClass=b.Point.extend({strokeWidth:this.options.pointDotStrokeWidth,radius:this.options.pointDotRadius,display:this.options.pointDot,hitDetectionRadius:this.options.pointHitDetectionRadius,ctx:this.chart.ctx}),this.datasets=[],this.buildScale(a),this.options.showTooltips&&c.bindEvents(this,this.options.tooltipEvents,function(a){var b="mouseout"!==a.type?this.getPointsAtEvent(a):[];this.eachPoints(function(a){a.restore(["fillColor","strokeColor"])}),c.each(b,function(a){a.fillColor=a.highlightFill,a.strokeColor=a.highlightStroke}),this.showTooltip(b)}),c.each(a.datasets,function(b){var d={label:b.label||null,fillColor:b.fillColor,strokeColor:b.strokeColor,pointColor:b.pointColor,pointStrokeColor:b.pointStrokeColor,points:[]};this.datasets.push(d),c.each(b.data,function(c,e){var f;this.scale.animation||(f=this.scale.getPointPosition(e,this.scale.calculateCenterOffset(c))),d.points.push(new this.PointClass({value:c,label:a.labels[e],datasetLabel:b.label,x:this.options.animation?this.scale.xCenter:f.x,y:this.options.animation?this.scale.yCenter:f.y,strokeColor:b.pointStrokeColor,fillColor:b.pointColor,highlightFill:b.pointHighlightFill||b.pointColor,highlightStroke:b.pointHighlightStroke||b.pointStrokeColor}))},this)},this),this.render()},eachPoints:function(a){c.each(this.datasets,function(b){c.each(b.points,a,this)},this)},getPointsAtEvent:function(a){var b=c.getRelativePosition(a),d=c.getAngleFromPoint({x:this.scale.xCenter,y:this.scale.yCenter},b),e=2*Math.PI/this.scale.valuesCount,f=Math.round((d.angle-1.5*Math.PI)/e),g=[];return(f>=this.scale.valuesCount||0>f)&&(f=0),d.distance<=this.scale.drawingArea&&c.each(this.datasets,function(a){g.push(a.points[f])}),g},buildScale:function(a){this.scale=new b.RadialScale({display:this.options.showScale,fontStyle:this.options.scaleFontStyle,fontSize:this.options.scaleFontSize,fontFamily:this.options.scaleFontFamily,fontColor:this.options.scaleFontColor,showLabels:this.options.scaleShowLabels,showLabelBackdrop:this.options.scaleShowLabelBackdrop,backdropColor:this.options.scaleBackdropColor,backdropPaddingY:this.options.scaleBackdropPaddingY,backdropPaddingX:this.options.scaleBackdropPaddingX,lineWidth:this.options.scaleShowLine?this.options.scaleLineWidth:0,lineColor:this.options.scaleLineColor,angleLineColor:this.options.angleLineColor,angleLineWidth:this.options.angleShowLineOut?this.options.angleLineWidth:0,pointLabelFontColor:this.options.pointLabelFontColor,pointLabelFontSize:this.options.pointLabelFontSize,pointLabelFontFamily:this.options.pointLabelFontFamily,pointLabelFontStyle:this.options.pointLabelFontStyle,height:this.chart.height,width:this.chart.width,xCenter:this.chart.width/2,yCenter:this.chart.height/2,ctx:this.chart.ctx,templateString:this.options.scaleLabel,labels:a.labels,valuesCount:a.datasets[0].data.length}),this.scale.setScaleSize(),this.updateScaleRange(a.datasets),this.scale.buildYLabels()},updateScaleRange:function(a){var b=function(){var b=[];return c.each(a,function(a){a.data?b=b.concat(a.data):c.each(a.points,function(a){b.push(a.value)})}),b}(),d=this.options.scaleOverride?{steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}:c.calculateScaleRange(b,c.min([this.chart.width,this.chart.height])/2,this.options.scaleFontSize,this.options.scaleBeginAtZero,this.options.scaleIntegersOnly);c.extend(this.scale,d)},addData:function(a,b){this.scale.valuesCount++,c.each(a,function(a,c){var d=this.scale.getPointPosition(this.scale.valuesCount,this.scale.calculateCenterOffset(a));this.datasets[c].points.push(new this.PointClass({value:a,label:b,x:d.x,y:d.y,strokeColor:this.datasets[c].pointStrokeColor,fillColor:this.datasets[c].pointColor}))},this),this.scale.labels.push(b),this.reflow(),this.update()},removeData:function(){this.scale.valuesCount--,this.scale.labels.shift(),c.each(this.datasets,function(a){a.points.shift()},this),this.reflow(),this.update()},update:function(){this.eachPoints(function(a){a.save()}),this.reflow(),this.render()},reflow:function(){c.extend(this.scale,{width:this.chart.width,height:this.chart.height,size:c.min([this.chart.width,this.chart.height]),xCenter:this.chart.width/2,yCenter:this.chart.height/2}),this.updateScaleRange(this.datasets),this.scale.setScaleSize(),this.scale.buildYLabels()},draw:function(a){var b=a||1,d=this.chart.ctx;this.clear(),this.scale.draw(),c.each(this.datasets,function(a){c.each(a.points,function(a,c){a.hasValue()&&a.transition(this.scale.getPointPosition(c,this.scale.calculateCenterOffset(a.value)),b)},this),d.lineWidth=this.options.datasetStrokeWidth,d.strokeStyle=a.strokeColor,d.beginPath(),c.each(a.points,function(a,b){0===b?d.moveTo(a.x,a.y):d.lineTo(a.x,a.y)},this),d.closePath(),d.stroke(),d.fillStyle=a.fillColor,d.fill(),c.each(a.points,function(a){a.hasValue()&&a.draw()})},this)}})}.call(this),function(a){"use strict";"object"==typeof exports?module.exports=a(angular,require("chart.js")):"function"==typeof define&&define.amd?define(["angular","chart"],a):a(angular,Chart)}(function(a,b){"use strict";function c(){var c={},d={Chart:b,getOptions:function(b){var d=b&&c[b]||{};return a.extend({},c,d)}};this.setOptions=function(b,d){return d?void(c[b]=a.extend(c[b]||{},d)):(d=b,void(c=a.extend(c,d)))},this.$get=function(){return d}}function d(c,d){function f(a,b){return a&&b&&a.length&&b.length?Array.isArray(a[0])?a.length===b.length&&a.every(function(a,c){return a.length===b[c].length}):b.reduce(g,0)>0?a.length===b.length:!1:!1;
+}function g(a,b){return a+b}function h(b,c,d,e){var f=null;return function(g){var h=c.getPointsAtEvent||c.getBarsAtEvent||c.getSegmentsAtEvent;if(h){var i=h.call(c,g);(e===!1||a.equals(f,i)===!1)&&(f=i,b[d](i,g),b.$apply())}}}function i(d,e){for(var f=a.copy(e.colours||c.getOptions(d).colours||b.defaults.global.colours);f.length<e.data.length;)f.push(e.getColour());return f.map(j)}function j(a){return"object"==typeof a&&null!==a?a:"string"==typeof a&&"#"===a[0]?l(o(a.substr(1))):k()}function k(){var a=[m(0,255),m(0,255),m(0,255)];return l(a)}function l(a){return{fillColor:n(a,.2),strokeColor:n(a,1),pointColor:n(a,1),pointStrokeColor:"#fff",pointHighlightFill:"#fff",pointHighlightStroke:n(a,.8)}}function m(a,b){return Math.floor(Math.random()*(b-a+1))+a}function n(a,b){return e?"rgb("+a.join(",")+")":"rgba("+a.concat(b).join(",")+")"}function o(a){var b=parseInt(a,16),c=b>>16&255,d=b>>8&255,e=255&b;return[c,d,e]}function p(b,c,d,e){return{labels:b,datasets:c.map(function(b,c){return a.extend({},e[c],{label:d[c],data:b})})}}function q(b,c,d){return b.map(function(b,e){return a.extend({},d[e],{label:b,value:c[e],color:d[e].strokeColor,highlight:d[e].pointHighlightStroke})})}function r(a,b){var c=a.parent(),d=c.find("chart-legend"),e="<chart-legend>"+b.generateLegend()+"</chart-legend>";d.length?d.replaceWith(e):c.append(e)}function s(a,b,c,d){Array.isArray(c.data[0])?a.datasets.forEach(function(a,c){(a.points||a.bars).forEach(function(a,d){a.value=b[c][d]})}):a.segments.forEach(function(a,c){a.value=b[c]}),a.update(),c.$emit("update",a),c.legend&&"false"!==c.legend&&r(d,a)}function t(a){return!a||Array.isArray(a)&&!a.length||"object"==typeof a&&!Object.keys(a).length}function u(d,e){var f=a.extend({},b.defaults.global,c.getOptions(d),e.options);return f.responsive}return function(b){return{restrict:"CA",scope:{data:"=?",labels:"=?",options:"=?",series:"=?",colours:"=?",getColour:"=?",chartType:"=",legend:"@",click:"=?",hover:"=?",chartData:"=?",chartLabels:"=?",chartOptions:"=?",chartSeries:"=?",chartColours:"=?",chartLegend:"@",chartClick:"=?",chartHover:"=?"},link:function(g,j){function l(a,b){g.$watch(a,function(a){"undefined"!=typeof a&&(g[b]=a)})}function m(c,d){if(!t(c)&&!a.equals(c,d)){var e=b||g.chartType;e&&(v&&v.destroy(),n(e))}}function n(b){if(u(b,g)&&0===j[0].clientHeight&&0===w.clientHeight)return d(function(){n(b)},50,!1);if(g.data&&g.data.length){g.getColour="function"==typeof g.getColour?g.getColour:k,g.colours=i(b,g);var e=j[0],f=e.getContext("2d"),l=Array.isArray(g.data[0])?p(g.labels,g.data,g.series||[],g.colours):q(g.labels,g.data,g.colours),m=a.extend({},c.getOptions(b),g.options);v=new c.Chart(f)[b](l,m),g.$emit("create",v),e.onclick=g.click?h(g,v,"click",!1):a.noop,e.onmousemove=g.hover?h(g,v,"hover",!0):a.noop,g.legend&&"false"!==g.legend&&r(j,v)}}function o(a){if("undefined"!=typeof console&&"test"!==c.getOptions().env){var b="function"==typeof console.warn?console.warn:console.log;g[a]&&b.call(console,'"%s" is deprecated and will be removed in a future version. Please use "chart-%s" instead.',a,a)}}var v,w=document.createElement("div");w.className="chart-container",j.replaceWith(w),w.appendChild(j[0]),e&&window.G_vmlCanvasManager.initElement(j[0]),["data","labels","options","series","colours","legend","click","hover"].forEach(o),l("chartData","data"),l("chartLabels","labels"),l("chartOptions","options"),l("chartSeries","series"),l("chartColours","colours"),l("chartLegend","legend"),l("chartClick","click"),l("chartHover","hover"),g.$watch("data",function(a,c){if(a&&a.length&&(!Array.isArray(a[0])||a[0].length)){var d=b||g.chartType;if(d){if(v){if(f(a,c))return s(v,a,g,j);v.destroy()}n(d)}}},!0),g.$watch("series",m,!0),g.$watch("labels",m,!0),g.$watch("options",m,!0),g.$watch("colours",m,!0),g.$watch("chartType",function(b,c){t(b)||a.equals(b,c)||(v&&v.destroy(),n(b))}),g.$on("$destroy",function(){v&&v.destroy()})}}}}b.defaults.global.responsive=!0,b.defaults.global.multiTooltipTemplate="<%if (datasetLabel){%><%=datasetLabel%>: <%}%><%= value %>",b.defaults.global.colours=["#97BBCD","#DCDCDC","#F7464A","#46BFBD","#FDB45C","#949FB1","#4D5360"];var e="object"==typeof window.G_vmlCanvasManager&&null!==window.G_vmlCanvasManager&&"function"==typeof window.G_vmlCanvasManager.initElement;return e&&(b.defaults.global.animation=!1),a.module("chart.js",[]).provider("ChartJs",c).factory("ChartJsFactory",["ChartJs","$timeout",d]).directive("chartBase",["ChartJsFactory",function(a){return new a}]).directive("chartLine",["ChartJsFactory",function(a){return new a("Line")}]).directive("chartBar",["ChartJsFactory",function(a){return new a("Bar")}]).directive("chartRadar",["ChartJsFactory",function(a){return new a("Radar")}]).directive("chartDoughnut",["ChartJsFactory",function(a){return new a("Doughnut")}]).directive("chartPie",["ChartJsFactory",function(a){return new a("Pie")}]).directive("chartPolarArea",["ChartJsFactory",function(a){return new a("PolarArea")}])}),function(a,b,c){"use strict";function d(a,c,d){function e(a,d,e){var g,h;e=e||{},h=e.expires,g=b.isDefined(e.path)?e.path:f,b.isUndefined(d)&&(h="Thu, 01 Jan 1970 00:00:00 GMT",d=""),b.isString(h)&&(h=new Date(h));var i=encodeURIComponent(a)+"="+encodeURIComponent(d);i+=g?";path="+g:"",i+=e.domain?";domain="+e.domain:"",i+=h?";expires="+h.toUTCString():"",i+=e.secure?";secure":"";var j=i.length+1;return j>4096&&c.warn("Cookie '"+a+"' possibly not set or overflowed because it was too large ("+j+" > 4096 bytes)!"),i}var f=d.baseHref(),g=a[0];return function(a,b,c){g.cookie=e(a,b,c)}}b.module("ngCookies",["ng"]).provider("$cookies",[function(){function a(a){return a?b.extend({},d,a):d}var d=this.defaults={};this.$get=["$$cookieReader","$$cookieWriter",function(d,e){return{get:function(a){return d()[a]},getObject:function(a){var c=this.get(a);return c?b.fromJson(c):c},getAll:function(){return d()},put:function(b,c,d){e(b,c,a(d))},putObject:function(a,c,d){this.put(a,b.toJson(c),d)},remove:function(b,d){e(b,c,a(d))}}}]}]),b.module("ngCookies").factory("$cookieStore",["$cookies",function(a){return{get:function(b){return a.getObject(b)},put:function(b,c){a.putObject(b,c)},remove:function(b){a.remove(b)}}}]),d.$inject=["$document","$log","$browser"],b.module("ngCookies").provider("$$cookieWriter",function(){this.$get=d})}(window,window.angular),!function(a,b){"object"==typeof exports&&"object"==typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):"object"==typeof exports?exports["angular-file-upload"]=b():a["angular-file-upload"]=b()}(this,function(){return function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={exports:{},id:d,loaded:!1};return a[d].call(e.exports,e,e.exports,b),e.loaded=!0,e.exports}var c={};return b.m=a,b.c=c,b.p="",b(0)}([function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a},e=d(c(2)),f=d(c(3)),g=d(c(4)),h=d(c(5)),i=d(c(6)),j=d(c(7)),k=d(c(1)),l=d(c(8)),m=d(c(9)),n=d(c(10)),o=d(c(11)),p=d(c(12));angular.module(e.name,[]).value("fileUploaderOptions",f).factory("FileUploader",g).factory("FileLikeObject",h).factory("FileItem",i).factory("FileDirective",j).factory("FileSelect",k).factory("FileDrop",l).factory("FileOver",m).directive("nvFileSelect",n).directive("nvFileDrop",o).directive("nvFileOver",p).run(["FileUploader","FileLikeObject","FileItem","FileDirective","FileSelect","FileDrop","FileOver",function(a,b,c,d,e,f,g){a.FileLikeObject=b,a.FileItem=c,a.FileDirective=d,a.FileSelect=e,a.FileDrop=f,a.FileOver=g}])},function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a},e=function(){function a(a,b){for(var c in b){var d=b[c];d.configurable=!0,d.value&&(d.writable=!0)}Object.defineProperties(a,b)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function j(a,b,c){var d=Object.getOwnPropertyDescriptor(a,b);if(void 0===d){var e=Object.getPrototypeOf(a);return null===e?void 0:j(e,b,c)}if("value"in d&&d.writable)return d.value;var f=d.get;return void 0===f?void 0:f.call(c)},g=function(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(a.__proto__=b)},h=function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")},i=(d(c(2)),angular.extend);a.exports=function(a){var b=function(a){function b(a){h(this,b);var c=i(a,{events:{$destroy:"destroy",change:"onChange"},prop:"select"});f(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,c),this.uploader.isHTML5||this.element.removeAttr("multiple"),this.element.prop("value",null)}return g(b,a),e(b,{getOptions:{value:function(){}},getFilters:{value:function(){}},isEmptyAfterSelection:{value:function(){return!!this.element.attr("multiple")}},onChange:{value:function(){var a=this.uploader.isHTML5?this.element[0].files:this.element[0],b=this.getOptions(),c=this.getFilters();this.uploader.isHTML5||this.destroy(),this.uploader.addToQueue(a,b,c),this.isEmptyAfterSelection()&&(this.element.prop("value",null),this.element.replaceWith(this.element=this.element.clone(!0)))}}}),b}(a);return b},a.exports.$inject=["FileDirective"]},function(a,b){a.exports={name:"angularFileUpload"}},function(a,b){"use strict";a.exports={url:"/",alias:"file",headers:{},queue:[],progress:0,autoUpload:!1,removeAfterUpload:!1,method:"POST",filters:[],formData:[],queueLimit:Number.MAX_VALUE,withCredentials:!1}},function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a},e=function(){function a(a,b){for(var c in b){var d=b[c];d.configurable=!0,d.value&&(d.writable=!0)}Object.defineProperties(a,b)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")},g=(d(c(2)),angular.copy),h=angular.extend,i=angular.forEach,j=angular.isObject,k=angular.isNumber,l=angular.isDefined,m=angular.isArray,n=angular.element;a.exports=function(a,b,c,d,o,p){var q=d.File,r=d.FormData,s=function(){function d(b){f(this,d);var c=g(a);h(this,c,b,{isUploading:!1,_nextIndex:0,_failFilterIndex:-1,_directives:{select:[],drop:[],over:[]}}),this.filters.unshift({name:"queueLimit",fn:this._queueLimitFilter}),this.filters.unshift({name:"folder",fn:this._folderFilter})}return e(d,{addToQueue:{value:function(a,b,c){var d=this,e=this.isArrayLikeObject(a)?a:[a],f=this._getFilters(c),g=this.queue.length,h=[];i(e,function(a){var c=new o(a);if(d._isValidFile(c,f,b)){var e=new p(d,a,b);h.push(e),d.queue.push(e),d._onAfterAddingFile(e)}else{var g=f[d._failFilterIndex];d._onWhenAddingFileFailed(c,g,b)}}),this.queue.length!==g&&(this._onAfterAddingAll(h),this.progress=this._getTotalProgress()),this._render(),this.autoUpload&&this.uploadAll()}},removeFromQueue:{value:function(a){var b=this.getIndexOfItem(a),c=this.queue[b];c.isUploading&&c.cancel(),this.queue.splice(b,1),c._destroy(),this.progress=this._getTotalProgress()}},clearQueue:{value:function(){for(;this.queue.length;)this.queue[0].remove();this.progress=0}},uploadItem:{value:function(a){var b=this.getIndexOfItem(a),c=this.queue[b],d=this.isHTML5?"_xhrTransport":"_iframeTransport";c._prepareToUploading(),this.isUploading||(this.isUploading=!0,this[d](c))}},cancelItem:{value:function(a){var b=this.getIndexOfItem(a),c=this.queue[b],d=this.isHTML5?"_xhr":"_form";c&&c.isUploading&&c[d].abort()}},uploadAll:{value:function(){var a=this.getNotUploadedItems().filter(function(a){return!a.isUploading});a.length&&(i(a,function(a){return a._prepareToUploading()}),a[0].upload())}},cancelAll:{value:function(){var a=this.getNotUploadedItems();i(a,function(a){return a.cancel()})}},isFile:{value:function(a){return this.constructor.isFile(a)}},isFileLikeObject:{value:function(a){return this.constructor.isFileLikeObject(a)}},isArrayLikeObject:{value:function(a){return this.constructor.isArrayLikeObject(a)}},getIndexOfItem:{value:function(a){return k(a)?a:this.queue.indexOf(a)}},getNotUploadedItems:{value:function(){return this.queue.filter(function(a){return!a.isUploaded})}},getReadyItems:{value:function(){return this.queue.filter(function(a){return a.isReady&&!a.isUploading}).sort(function(a,b){return a.index-b.index})}},destroy:{value:function(){var a=this;i(this._directives,function(b){i(a._directives[b],function(a){a.destroy()})})}},onAfterAddingAll:{value:function(a){}},onAfterAddingFile:{value:function(a){}},onWhenAddingFileFailed:{value:function(a,b,c){}},onBeforeUploadItem:{value:function(a){}},onProgressItem:{value:function(a,b){}},onProgressAll:{value:function(a){}},onSuccessItem:{value:function(a,b,c,d){}},onErrorItem:{value:function(a,b,c,d){}},onCancelItem:{value:function(a,b,c,d){}},onCompleteItem:{value:function(a,b,c,d){}},onCompleteAll:{value:function(){}},_getTotalProgress:{value:function(a){if(this.removeAfterUpload)return a||0;var b=this.getNotUploadedItems().length,c=b?this.queue.length-b:this.queue.length,d=100/this.queue.length,e=(a||0)*d/100;return Math.round(c*d+e)}},_getFilters:{value:function(a){if(!a)return this.filters;if(m(a))return a;var b=a.match(/[^\s,]+/g);return this.filters.filter(function(a){return-1!==b.indexOf(a.name)})}},_render:{value:function(){b.$$phase||b.$apply()}},_folderFilter:{value:function(a){return!(!a.size&&!a.type)}},_queueLimitFilter:{value:function(){return this.queue.length<this.queueLimit}},_isValidFile:{value:function(a,b,c){var d=this;return this._failFilterIndex=-1,b.length?b.every(function(b){return d._failFilterIndex++,b.fn.call(d,a,c)}):!0}},_isSuccessCode:{value:function(a){return a>=200&&300>a||304===a}},_transformResponse:{value:function(a,b){var d=this._headersGetter(b);return i(c.defaults.transformResponse,function(b){a=b(a,d)}),a}},_parseHeaders:{value:function(a){var b,c,d,e={};return a?(i(a.split("\n"),function(a){d=a.indexOf(":"),b=a.slice(0,d).trim().toLowerCase(),c=a.slice(d+1).trim(),b&&(e[b]=e[b]?e[b]+", "+c:c)}),e):e}},_headersGetter:{value:function(a){return function(b){return b?a[b.toLowerCase()]||null:a}}},_xhrTransport:{value:function(a){var b=this,c=a._xhr=new XMLHttpRequest,d=new r;if(this._onBeforeUploadItem(a),i(a.formData,function(a){i(a,function(a,b){d.append(b,a)})}),"number"!=typeof a._file.size)throw new TypeError("The file specified is no longer valid");d.append(a.alias,a._file,a.file.name),c.upload.onprogress=function(c){var d=Math.round(c.lengthComputable?100*c.loaded/c.total:0);b._onProgressItem(a,d)},c.onload=function(){var d=b._parseHeaders(c.getAllResponseHeaders()),e=b._transformResponse(c.response,d),f=b._isSuccessCode(c.status)?"Success":"Error",g="_on"+f+"Item";b[g](a,e,c.status,d),b._onCompleteItem(a,e,c.status,d)},c.onerror=function(){var d=b._parseHeaders(c.getAllResponseHeaders()),e=b._transformResponse(c.response,d);b._onErrorItem(a,e,c.status,d),b._onCompleteItem(a,e,c.status,d)},c.onabort=function(){var d=b._parseHeaders(c.getAllResponseHeaders()),e=b._transformResponse(c.response,d);b._onCancelItem(a,e,c.status,d),b._onCompleteItem(a,e,c.status,d)},c.open(a.method,a.url,!0),c.withCredentials=a.withCredentials,i(a.headers,function(a,b){c.setRequestHeader(b,a)}),c.send(d),this._render()}},_iframeTransport:{value:function(a){var b=this,c=n('<form style="display: none;" />'),d=n('<iframe name="iframeTransport'+Date.now()+'">'),e=a._input;a._form&&a._form.replaceWith(e),a._form=c,this._onBeforeUploadItem(a),e.prop("name",a.alias),i(a.formData,function(a){i(a,function(a,b){var d=n('<input type="hidden" name="'+b+'" />');d.val(a),c.append(d)})}),c.prop({action:a.url,method:"POST",target:d.prop("name"),enctype:"multipart/form-data",encoding:"multipart/form-data"}),d.bind("load",function(){var c="",e=200;try{c=d[0].contentDocument.body.innerHTML}catch(f){e=500}var g={response:c,status:e,dummy:!0},h={},i=b._transformResponse(g.response,h);b._onSuccessItem(a,i,g.status,h),b._onCompleteItem(a,i,g.status,h)}),c.abort=function(){var f,g={status:0,dummy:!0},h={};d.unbind("load").prop("src","javascript:false;"),c.replaceWith(e),b._onCancelItem(a,f,g.status,h),b._onCompleteItem(a,f,g.status,h)},e.after(c),c.append(e).append(d),c[0].submit(),this._render()}},_onWhenAddingFileFailed:{value:function(a,b,c){this.onWhenAddingFileFailed(a,b,c)}},_onAfterAddingFile:{value:function(a){this.onAfterAddingFile(a)}},_onAfterAddingAll:{value:function(a){this.onAfterAddingAll(a)}},_onBeforeUploadItem:{value:function(a){a._onBeforeUpload(),this.onBeforeUploadItem(a)}},_onProgressItem:{value:function(a,b){var c=this._getTotalProgress(b);this.progress=c,a._onProgress(b),this.onProgressItem(a,b),this.onProgressAll(c),this._render()}},_onSuccessItem:{value:function(a,b,c,d){a._onSuccess(b,c,d),this.onSuccessItem(a,b,c,d)}},_onErrorItem:{value:function(a,b,c,d){a._onError(b,c,d),this.onErrorItem(a,b,c,d)}},_onCancelItem:{value:function(a,b,c,d){a._onCancel(b,c,d),this.onCancelItem(a,b,c,d)}},_onCompleteItem:{value:function(a,b,c,d){a._onComplete(b,c,d),this.onCompleteItem(a,b,c,d);var e=this.getReadyItems()[0];return this.isUploading=!1,l(e)?void e.upload():(this.onCompleteAll(),this.progress=this._getTotalProgress(),void this._render())}}},{isFile:{value:function(a){return q&&a instanceof q}},isFileLikeObject:{value:function(a){return a instanceof o}},isArrayLikeObject:{value:function(a){return j(a)&&"length"in a}},inherit:{value:function(a,b){a.prototype=Object.create(b.prototype),a.prototype.constructor=a,a.super_=b}}}),d}();return s.prototype.isHTML5=!(!q||!r),s.isHTML5=s.prototype.isHTML5,s},a.exports.$inject=["fileUploaderOptions","$rootScope","$http","$window","FileLikeObject","FileItem"]},function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a},e=function(){function a(a,b){for(var c in b){var d=b[c];d.configurable=!0,d.value&&(d.writable=!0)}Object.defineProperties(a,b)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")},g=(d(c(2)),angular.copy),h=angular.isElement,i=angular.isString;a.exports=function(){var a=function(){function a(b){f(this,a);var c=h(b),d=c?b.value:b,e=i(d)?"FakePath":"Object",g="_createFrom"+e;this[g](d)}return e(a,{_createFromFakePath:{value:function(a){this.lastModifiedDate=null,this.size=null,this.type="like/"+a.slice(a.lastIndexOf(".")+1).toLowerCase(),this.name=a.slice(a.lastIndexOf("/")+a.lastIndexOf("\\")+2)}},_createFromObject:{value:function(a){this.lastModifiedDate=g(a.lastModifiedDate),this.size=a.size,this.type=a.type,this.name=a.name}}}),a}();return a},a.exports.$inject=[]},function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a},e=function(){function a(a,b){for(var c in b){var d=b[c];d.configurable=!0,d.value&&(d.writable=!0)}Object.defineProperties(a,b)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")},g=(d(c(2)),angular.copy),h=angular.extend,i=angular.element,j=angular.isElement;a.exports=function(a,b){var c=function(){function c(a,d,e){f(this,c);var k=j(d),l=k?i(d):null,m=k?null:d;h(this,{url:a.url,alias:a.alias,headers:g(a.headers),formData:g(a.formData),removeAfterUpload:a.removeAfterUpload,withCredentials:a.withCredentials,method:a.method},e,{uploader:a,file:new b(d),isReady:!1,isUploading:!1,isUploaded:!1,isSuccess:!1,isCancel:!1,isError:!1,progress:0,index:null,_file:m,_input:l}),l&&this._replaceNode(l)}return e(c,{upload:{value:function(){try{this.uploader.uploadItem(this)}catch(a){this.uploader._onCompleteItem(this,"",0,[]),this.uploader._onErrorItem(this,"",0,[])}}},cancel:{value:function(){this.uploader.cancelItem(this)}},remove:{value:function(){this.uploader.removeFromQueue(this)}},onBeforeUpload:{value:function(){}},onProgress:{value:function(a){}},onSuccess:{value:function(a,b,c){}},onError:{value:function(a,b,c){}},onCancel:{value:function(a,b,c){}},onComplete:{value:function(a,b,c){}},_onBeforeUpload:{value:function(){this.isReady=!0,this.isUploading=!0,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.onBeforeUpload()}},_onProgress:{value:function(a){this.progress=a,this.onProgress(a)}},_onSuccess:{value:function(a,b,c){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!0,this.isCancel=!1,this.isError=!1,this.progress=100,this.index=null,this.onSuccess(a,b,c)}},_onError:{value:function(a,b,c){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!1,this.isCancel=!1,this.isError=!0,this.progress=0,this.index=null,this.onError(a,b,c)}},_onCancel:{value:function(a,b,c){this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!0,this.isError=!1,this.progress=0,this.index=null,this.onCancel(a,b,c)}},_onComplete:{value:function(a,b,c){this.onComplete(a,b,c),this.removeAfterUpload&&this.remove()}},_destroy:{value:function(){this._input&&this._input.remove(),this._form&&this._form.remove(),delete this._form,delete this._input}},_prepareToUploading:{value:function(){this.index=this.index||++this.uploader._nextIndex,this.isReady=!0}},_replaceNode:{value:function(b){var c=a(b.clone())(b.scope());c.prop("value",null),b.css("display","none"),b.after(c)}}}),c}();return c},a.exports.$inject=["$compile","FileLikeObject"]},function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a},e=function(){function a(a,b){for(var c in b){var d=b[c];d.configurable=!0,d.value&&(d.writable=!0)}Object.defineProperties(a,b)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")},g=(d(c(2)),angular.extend);a.exports=function(){var a=function(){function a(b){f(this,a),g(this,b),this.uploader._directives[this.prop].push(this),this._saveLinks(),this.bind()}return e(a,{bind:{value:function(){for(var a in this.events){var b=this.events[a];this.element.bind(a,this[b])}}},unbind:{value:function(){for(var a in this.events)this.element.unbind(a,this.events[a])}},destroy:{value:function(){var a=this.uploader._directives[this.prop].indexOf(this);this.uploader._directives[this.prop].splice(a,1),this.unbind()}},_saveLinks:{value:function(){for(var a in this.events){var b=this.events[a];this[b]=this[b].bind(this)}}}}),a}();return a.prototype.events={},a},a.exports.$inject=[]},function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a},e=function(){function a(a,b){for(var c in b){var d=b[c];d.configurable=!0,d.value&&(d.writable=!0)}Object.defineProperties(a,b)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function k(a,b,c){var d=Object.getOwnPropertyDescriptor(a,b);if(void 0===d){var e=Object.getPrototypeOf(a);return null===e?void 0:k(e,b,c)}if("value"in d&&d.writable)return d.value;var f=d.get;return void 0===f?void 0:f.call(c)},g=function(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(a.__proto__=b)},h=function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")},i=(d(c(2)),angular.extend),j=angular.forEach;a.exports=function(a){var b=function(a){function b(a){h(this,b);var c=i(a,{events:{$destroy:"destroy",drop:"onDrop",dragover:"onDragOver",dragleave:"onDragLeave"},prop:"drop"});f(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,c)}return g(b,a),e(b,{getOptions:{value:function(){}},getFilters:{value:function(){}},onDrop:{value:function(a){var b=this._getTransfer(a);if(b){var c=this.getOptions(),d=this.getFilters();this._preventAndStop(a),j(this.uploader._directives.over,this._removeOverClass,this),this.uploader.addToQueue(b.files,c,d)}}},onDragOver:{value:function(a){var b=this._getTransfer(a);this._haveFiles(b.types)&&(b.dropEffect="copy",this._preventAndStop(a),j(this.uploader._directives.over,this._addOverClass,this))}},onDragLeave:{value:function(a){a.currentTarget!==this.element[0]&&(this._preventAndStop(a),j(this.uploader._directives.over,this._removeOverClass,this))}},_getTransfer:{value:function(a){return a.dataTransfer?a.dataTransfer:a.originalEvent.dataTransfer}},_preventAndStop:{value:function(a){a.preventDefault(),a.stopPropagation()}},_haveFiles:{value:function(a){return a?a.indexOf?-1!==a.indexOf("Files"):a.contains?a.contains("Files"):!1:!1}},_addOverClass:{value:function(a){a.addOverClass()}},_removeOverClass:{value:function(a){a.removeOverClass()}}}),b}(a);return b},a.exports.$inject=["FileDirective"]},function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a},e=function(){function a(a,b){for(var c in b){var d=b[c];d.configurable=!0,d.value&&(d.writable=!0)}Object.defineProperties(a,b)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function j(a,b,c){var d=Object.getOwnPropertyDescriptor(a,b);if(void 0===d){var e=Object.getPrototypeOf(a);return null===e?void 0:j(e,b,c)}if("value"in d&&d.writable)return d.value;var f=d.get;return void 0===f?void 0:f.call(c)},g=function(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(a.__proto__=b)},h=function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")},i=(d(c(2)),angular.extend);a.exports=function(a){var b=function(a){function b(a){h(this,b);var c=i(a,{events:{$destroy:"destroy"},prop:"over",overClass:"nv-file-over"});f(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,c)}return g(b,a),e(b,{addOverClass:{value:function(){this.element.addClass(this.getOverClass())}},removeOverClass:{value:function(){this.element.removeClass(this.getOverClass())}},getOverClass:{value:function(){return this.overClass}}}),b}(a);return b},a.exports.$inject=["FileDirective"]},function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a};d(c(2)),a.exports=function(a,b,c){return{link:function(d,e,f){var g=d.$eval(f.uploader);if(!(g instanceof b))throw new TypeError('"Uploader" must be an instance of FileUploader');var h=new c({uploader:g,element:e});h.getOptions=a(f.options).bind(h,d),h.getFilters=function(){return f.filters}}}},a.exports.$inject=["$parse","FileUploader","FileSelect"]},function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a};d(c(2)),a.exports=function(a,b,c){return{link:function(d,e,f){var g=d.$eval(f.uploader);if(!(g instanceof b))throw new TypeError('"Uploader" must be an instance of FileUploader');if(g.isHTML5){var h=new c({uploader:g,element:e});h.getOptions=a(f.options).bind(h,d),h.getFilters=function(){return f.filters}}}}},a.exports.$inject=["$parse","FileUploader","FileDrop"]},function(a,b,c){"use strict";var d=function(a){return a&&a.__esModule?a["default"]:a};d(c(2)),a.exports=function(a,b){return{link:function(c,d,e){var f=c.$eval(e.uploader);if(!(f instanceof a))throw new TypeError('"Uploader" must be an instance of FileUploader');var g=new b({uploader:f,element:d});g.getOverClass=function(){return e.overClass||g.overClass}}}},a.exports.$inject=["FileUploader","FileOver"]}])}),!function(a,b,c){"use strict";function d(a){return D(a)?a:Object.keys(a).map(function(b){return a[b]})}function e(a){return null===a}function f(a,b){var d=Object.keys(a);return-1==d.map(function(d){return b[d]!==c&&b[d]==a[d]}).indexOf(!1)}function g(a,b){if(""===b)return a;var c=a.indexOf(b.charAt(0));return-1===c?!1:g(a.substr(c+1),b.substr(1))}function h(a,b,c){var d=0;return a.filter(function(a){var e=x(c)?b>d&&c(a):b>d;return d=e?d+1:d,e})}function i(a,b,c){return c.round(a*c.pow(10,b))/c.pow(10,b)}function j(a,b,c){b=b||[];var d=Object.keys(a);return d.forEach(function(d){if(C(a[d])&&!D(a[d])){var e=c?c+"."+d:c;j(a[d],b,e||d)}else{var f=c?c+"."+d:d;b.push(f)}}),b}function k(a){return a&&a.$evalAsync&&a.$watch}function l(){return function(a,b){return a>b}}function m(){return function(a,b){return a>=b}}function n(){return function(a,b){return b>a}}function o(){return function(a,b){return b>=a}}function p(){return function(a,b){return a==b}}function q(){return function(a,b){return a!=b}}function r(){return function(a,b){return a===b}}function s(){return function(a,b){return a!==b}}function t(a){return function(b,c){return b=C(b)?d(b):b,!D(b)||y(c)?!1:b.some(function(b){return C(b)||z(c)?a(c)(b):b===c})}}function u(a,b){return b=b||0,b>=a.length?a:D(a[b])?u(a.slice(0,b).concat(a[b],a.slice(b+1)),b):u(a,b+1)}function v(a){return function(b,c){function e(a,b){return y(b)?!1:a.some(function(a){return H(a,b)})}if(b=C(b)?d(b):b,!D(b))return b;var f=[],g=a(c);return y(c)?b.filter(function(a,b,c){return c.indexOf(a)===b}):b.filter(function(a){var b=g(a);return e(f,b)?!1:(f.push(b),!0)})}}function w(a,b,c){return b?a+c+w(a,--b,c):a}var x=b.isDefined,y=b.isUndefined,z=b.isFunction,A=b.isString,B=b.isNumber,C=b.isObject,D=b.isArray,E=b.forEach,F=b.extend,G=b.copy,H=b.equals;String.prototype.contains||(String.prototype.contains=function(){return-1!==String.prototype.indexOf.apply(this,arguments)}),b.module("a8m.angular",[]).filter("isUndefined",function(){return function(a){return b.isUndefined(a)}}).filter("isDefined",function(){return function(a){return b.isDefined(a)}}).filter("isFunction",function(){return function(a){return b.isFunction(a)}}).filter("isString",function(){return function(a){return b.isString(a)}}).filter("isNumber",function(){return function(a){return b.isNumber(a)}}).filter("isArray",function(){return function(a){return b.isArray(a)}}).filter("isObject",function(){return function(a){return b.isObject(a)}}).filter("isEqual",function(){return function(a,c){return b.equals(a,c)}}),b.module("a8m.conditions",[]).filter({isGreaterThan:l,">":l,isGreaterThanOrEqualTo:m,">=":m,isLessThan:n,"<":n,isLessThanOrEqualTo:o,"<=":o,isEqualTo:p,"==":p,isNotEqualTo:q,"!=":q,isIdenticalTo:r,"===":r,isNotIdenticalTo:s,"!==":s}),b.module("a8m.is-null",[]).filter("isNull",function(){return function(a){return e(a)}}),b.module("a8m.after-where",[]).filter("afterWhere",function(){return function(a,b){if(a=C(a)?d(a):a,!D(a)||y(b))return a;var c=a.map(function(a){return f(b,a)}).indexOf(!0);return a.slice(-1===c?0:c)}}),b.module("a8m.after",[]).filter("after",function(){return function(a,b){return a=C(a)?d(a):a,D(a)?a.slice(b):a}}),b.module("a8m.before-where",[]).filter("beforeWhere",function(){return function(a,b){if(a=C(a)?d(a):a,!D(a)||y(b))return a;var c=a.map(function(a){return f(b,a)}).indexOf(!0);return a.slice(0,-1===c?a.length:++c)}}),b.module("a8m.before",[]).filter("before",function(){return function(a,b){return a=C(a)?d(a):a,D(a)?a.slice(0,b?--b:b):a}}),b.module("a8m.chunk-by",["a8m.filter-watcher"]).filter("chunkBy",["filterWatcher",function(a){return function(b,c,d){function e(a,b){for(var c=[];a--;)c[a]=b;return c}function f(a,b,c){return D(a)?a.map(function(a,d,f){return d*=b,a=f.slice(d,d+b),!y(c)&&a.length<b?a.concat(e(b-a.length,c)):a}).slice(0,Math.ceil(a.length/b)):a}return a.isMemoized("chunkBy",arguments)||a.memoize("chunkBy",arguments,this,f(b,c,d))}}]),b.module("a8m.concat",[]).filter("concat",[function(){return function(a,b){if(y(b))return a;if(D(a))return C(b)?a.concat(d(b)):a.concat(b);if(C(a)){var c=d(a);return C(b)?c.concat(d(b)):c.concat(b)}return a}}]),b.module("a8m.contains",[]).filter({contains:["$parse",t],some:["$parse",t]}),b.module("a8m.count-by",[]).filter("countBy",["$parse",function(a){return function(b,c){var e,f={},g=a(c);return b=C(b)?d(b):b,!D(b)||y(c)?b:(b.forEach(function(a){e=g(a),f[e]||(f[e]=0),f[e]++}),f)}}]),b.module("a8m.defaults",[]).filter("defaults",["$parse",function(a){return function(b,c){if(b=C(b)?d(b):b,!D(b)||!C(c))return b;var e=j(c);return b.forEach(function(b){
+e.forEach(function(d){var e=a(d),f=e.assign;y(e(b))&&f(b,e(c))})}),b}}]),b.module("a8m.every",[]).filter("every",["$parse",function(a){return function(b,c){return b=C(b)?d(b):b,!D(b)||y(c)?!0:b.every(function(b){return C(b)||z(c)?a(c)(b):b===c})}}]),b.module("a8m.filter-by",[]).filter("filterBy",["$parse",function(a){return function(b,e,f){var g;return f=A(f)||B(f)?String(f).toLowerCase():c,b=C(b)?d(b):b,!D(b)||y(f)?b:b.filter(function(b){return e.some(function(c){if(~c.indexOf("+")){var d=c.replace(new RegExp("\\s","g"),"").split("+");g=d.reduce(function(c,d,e){return 1===e?a(c)(b)+" "+a(d)(b):c+" "+a(d)(b)})}else g=a(c)(b);return A(g)||B(g)?String(g).toLowerCase().contains(f):!1})})}}]),b.module("a8m.first",[]).filter("first",["$parse",function(a){return function(b){var e,f,g;return b=C(b)?d(b):b,D(b)?(g=Array.prototype.slice.call(arguments,1),e=B(g[0])?g[0]:1,f=B(g[0])?B(g[1])?c:g[1]:g[0],g.length?h(b,e,f?a(f):f):b[0]):b}}]),b.module("a8m.flatten",[]).filter("flatten",function(){return function(a,b){return b=b||!1,a=C(a)?d(a):a,D(a)?b?[].concat.apply([],a):u(a,0):a}}),b.module("a8m.fuzzy-by",[]).filter("fuzzyBy",["$parse",function(a){return function(b,c,e,f){var h,i,j=f||!1;return b=C(b)?d(b):b,!D(b)||y(c)||y(e)?b:(i=a(c),b.filter(function(a){return h=i(a),A(h)?(h=j?h:h.toLowerCase(),e=j?e:e.toLowerCase(),g(h,e)!==!1):!1}))}}]),b.module("a8m.fuzzy",[]).filter("fuzzy",function(){return function(a,b,c){function e(a,b){var c,d,e=Object.keys(a);return 0<e.filter(function(e){return c=a[e],d?!0:A(c)?(c=f?c:c.toLowerCase(),d=g(c,b)!==!1):!1}).length}var f=c||!1;return a=C(a)?d(a):a,!D(a)||y(b)?a:(b=f?b:b.toLowerCase(),a.filter(function(a){return A(a)?(a=f?a:a.toLowerCase(),g(a,b)!==!1):C(a)?e(a,b):!1}))}}),b.module("a8m.group-by",["a8m.filter-watcher"]).filter("groupBy",["$parse","filterWatcher",function(a,b){return function(c,d){function e(a,b){var c,d={};return E(a,function(a){c=b(a),d[c]||(d[c]=[]),d[c].push(a)}),d}return!C(c)||y(d)?c:b.isMemoized("groupBy",arguments)||b.memoize("groupBy",arguments,this,e(c,a(d)))}}]),b.module("a8m.is-empty",[]).filter("isEmpty",function(){return function(a){return C(a)?!d(a).length:!a.length}}),b.module("a8m.join",[]).filter("join",function(){return function(a,b){return y(a)||!D(a)?a:(y(b)&&(b=" "),a.join(b))}}),b.module("a8m.last",[]).filter("last",["$parse",function(a){return function(b){var e,f,g,i=G(b);return i=C(i)?d(i):i,D(i)?(g=Array.prototype.slice.call(arguments,1),e=B(g[0])?g[0]:1,f=B(g[0])?B(g[1])?c:g[1]:g[0],g.length?h(i.reverse(),e,f?a(f):f).reverse():i[i.length-1]):i}}]),b.module("a8m.map",[]).filter("map",["$parse",function(a){return function(b,c){return b=C(b)?d(b):b,!D(b)||y(c)?b:b.map(function(b){return a(c)(b)})}}]),b.module("a8m.omit",[]).filter("omit",["$parse",function(a){return function(b,c){return b=C(b)?d(b):b,!D(b)||y(c)?b:b.filter(function(b){return!a(c)(b)})}}]),b.module("a8m.pick",[]).filter("pick",["$parse",function(a){return function(b,c){return b=C(b)?d(b):b,!D(b)||y(c)?b:b.filter(function(b){return a(c)(b)})}}]),b.module("a8m.range",[]).filter("range",function(){return function(a,b){for(var c=0;c<parseInt(b);c++)a.push(c);return a}}),b.module("a8m.remove-with",[]).filter("removeWith",function(){return function(a,b){return y(b)?a:(a=C(a)?d(a):a,a.filter(function(a){return!f(b,a)}))}}),b.module("a8m.remove",[]).filter("remove",function(){return function(a){a=C(a)?d(a):a;var b=Array.prototype.slice.call(arguments,1);return D(a)?a.filter(function(a){return!b.some(function(b){return H(b,a)})}):a}}),b.module("a8m.reverse",[]).filter("reverse",[function(){return function(a){return a=C(a)?d(a):a,A(a)?a.split("").reverse().join(""):D(a)?a.slice().reverse():a}}]),b.module("a8m.search-field",[]).filter("searchField",["$parse",function(a){return function(b){var c,e;b=C(b)?d(b):b;var f=Array.prototype.slice.call(arguments,1);return D(b)&&f.length?b.map(function(b){return e=f.map(function(d){return(c=a(d))(b)}).join(" "),F(b,{searchField:e})}):b}}]),b.module("a8m.to-array",[]).filter("toArray",function(){return function(a,b){return C(a)?b?Object.keys(a).map(function(b){return F(a[b],{$key:b})}):d(a):a}}),b.module("a8m.unique",[]).filter({unique:["$parse",v],uniq:["$parse",v]}),b.module("a8m.where",[]).filter("where",function(){return function(a,b){return y(b)?a:(a=C(a)?d(a):a,a.filter(function(a){return f(b,a)}))}}),b.module("a8m.xor",[]).filter("xor",["$parse",function(a){return function(b,c,e){function f(b,c){var d=a(e);return c.some(function(a){return e?H(d(a),d(b)):H(a,b)})}return e=e||!1,b=C(b)?d(b):b,c=C(c)?d(c):c,D(b)&&D(c)?b.concat(c).filter(function(a){return!(f(a,b)&&f(a,c))}):b}}]),b.module("a8m.math.byteFmt",["a8m.math"]).filter("byteFmt",["$math",function(a){return function(b,c){return B(c)&&isFinite(c)&&c%1===0&&c>=0&&B(b)&&isFinite(b)?1024>b?i(b,c,a)+" B":1048576>b?i(b/1024,c,a)+" KB":1073741824>b?i(b/1048576,c,a)+" MB":i(b/1073741824,c,a)+" GB":"NaN"}}]),b.module("a8m.math.degrees",["a8m.math"]).filter("degrees",["$math",function(a){return function(b,c){if(B(c)&&isFinite(c)&&c%1===0&&c>=0&&B(b)&&isFinite(b)){var d=180*b/a.PI;return a.round(d*a.pow(10,c))/a.pow(10,c)}return"NaN"}}]),b.module("a8m.math.kbFmt",["a8m.math"]).filter("kbFmt",["$math",function(a){return function(b,c){return B(c)&&isFinite(c)&&c%1===0&&c>=0&&B(b)&&isFinite(b)?1024>b?i(b,c,a)+" KB":1048576>b?i(b/1024,c,a)+" MB":i(b/1048576,c,a)+" GB":"NaN"}}]),b.module("a8m.math",[]).factory("$math",["$window",function(a){return a.Math}]),b.module("a8m.math.max",["a8m.math"]).filter("max",["$math","$parse",function(a,b){function c(c,d){var e=c.map(function(a){return b(d)(a)});return e.indexOf(a.max.apply(a,e))}return function(b,d){return D(b)?y(d)?a.max.apply(a,b):b[c(b,d)]:b}}]),b.module("a8m.math.min",["a8m.math"]).filter("min",["$math","$parse",function(a,b){function c(c,d){var e=c.map(function(a){return b(d)(a)});return e.indexOf(a.min.apply(a,e))}return function(b,d){return D(b)?y(d)?a.min.apply(a,b):b[c(b,d)]:b}}]),b.module("a8m.math.percent",["a8m.math"]).filter("percent",["$math","$window",function(a,b){return function(c,d,e){var f=A(c)?b.Number(c):c;return d=d||100,e=e||!1,!B(f)||b.isNaN(f)?c:e?a.round(f/d*100):f/d*100}}]),b.module("a8m.math.radians",["a8m.math"]).filter("radians",["$math",function(a){return function(b,c){if(B(c)&&isFinite(c)&&c%1===0&&c>=0&&B(b)&&isFinite(b)){var d=3.14159265359*b/180;return a.round(d*a.pow(10,c))/a.pow(10,c)}return"NaN"}}]),b.module("a8m.math.radix",[]).filter("radix",function(){return function(a,b){var c=/^[2-9]$|^[1-2]\d$|^3[0-6]$/;return B(a)&&c.test(b)?a.toString(b).toUpperCase():a}}),b.module("a8m.math.shortFmt",["a8m.math"]).filter("shortFmt",["$math",function(a){return function(b,c){return B(c)&&isFinite(c)&&c%1===0&&c>=0&&B(b)&&isFinite(b)?1e3>b?b:1e6>b?i(b/1e3,c,a)+" K":1e9>b?i(b/1e6,c,a)+" M":i(b/1e9,c,a)+" B":"NaN"}}]),b.module("a8m.math.sum",[]).filter("sum",function(){return function(a,b){return D(a)?a.reduce(function(a,b){return a+b},b||0):a}}),b.module("a8m.ends-with",[]).filter("endsWith",function(){return function(a,b,c){var d,e=c||!1;return!A(a)||y(b)?a:(a=e?a:a.toLowerCase(),d=a.length-b.length,-1!==a.indexOf(e?b:b.toLowerCase(),d))}}),b.module("a8m.latinize",[]).filter("latinize",[function(){function a(a){return a.replace(/[^\u0000-\u007E]/g,function(a){return c[a]||a})}for(var b=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"OE",letters:"\8cŒ"},{base:"oe",letters:"\9cœ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],c={},d=0;d<b.length;d++)for(var e=b[d].letters.split(""),f=0;f<e.length;f++)c[e[f]]=b[d].base;return function(b){return A(b)?a(b):b}}]),b.module("a8m.ltrim",[]).filter("ltrim",function(){return function(a,b){var c=b||"\\s";return A(a)?a.replace(new RegExp("^"+c+"+"),""):a}}),b.module("a8m.match",[]).filter("match",function(){return function(a,b,c){var d=new RegExp(b,c);return A(a)?a.match(d):null}}),b.module("a8m.repeat",[]).filter("repeat",[function(){return function(a,b,c){var d=~~b;return A(a)&&d?w(a,--b,c||""):a}}]),b.module("a8m.rtrim",[]).filter("rtrim",function(){return function(a,b){var c=b||"\\s";return A(a)?a.replace(new RegExp(c+"+$"),""):a}}),b.module("a8m.slugify",[]).filter("slugify",[function(){return function(a,b){var c=y(b)?"-":b;return A(a)?a.toLowerCase().replace(/\s+/g,c):a}}]),b.module("a8m.starts-with",[]).filter("startsWith",function(){return function(a,b,c){var d=c||!1;return!A(a)||y(b)?a:(a=d?a:a.toLowerCase(),!a.indexOf(d?b:b.toLowerCase()))}}),b.module("a8m.stringular",[]).filter("stringular",function(){return function(a){var b=Array.prototype.slice.call(arguments,1);return a.replace(/{(\d+)}/g,function(a,c){return y(b[c])?a:b[c]})}}),b.module("a8m.strip-tags",[]).filter("stripTags",function(){return function(a){return A(a)?a.replace(/<\S[^><]*>/g,""):a}}),b.module("a8m.test",[]).filter("test",function(){return function(a,b,c){var d=new RegExp(b,c);return A(a)?d.test(a):a}}),b.module("a8m.trim",[]).filter("trim",function(){return function(a,b){var c=b||"\\s";return A(a)?a.replace(new RegExp("^"+c+"+|"+c+"+$","g"),""):a}}),b.module("a8m.truncate",[]).filter("truncate",function(){return function(a,b,c,d){return b=y(b)?a.length:b,d=d||!1,c=c||"",!A(a)||a.length<=b?a:a.substring(0,d?-1===a.indexOf(" ",b)?a.length:a.indexOf(" ",b):b)+c}}),b.module("a8m.ucfirst",[]).filter("ucfirst",[function(){return function(a){return A(a)?a.split(" ").map(function(a){return a.charAt(0).toUpperCase()+a.substring(1)}).join(" "):a}}]),b.module("a8m.uri-component-encode",[]).filter("uriComponentEncode",["$window",function(a){return function(b){return A(b)?a.encodeURIComponent(b):b}}]),b.module("a8m.uri-encode",[]).filter("uriEncode",["$window",function(a){return function(b){return A(b)?a.encodeURI(b):b}}]),b.module("a8m.wrap",[]).filter("wrap",function(){return function(a,b,c){return A(a)&&x(b)?[b,a,c||b].join(""):a}}),b.module("a8m.filter-watcher",[]).provider("filterWatcher",function(){this.$get=["$window","$rootScope",function(a,b){function c(b,c){function d(){var b=[];return function(c,d){if(C(d)&&!e(d)){if(~b.indexOf(d))return"[Circular]";b.push(d)}return a==d?"$WINDOW":a.document==d?"$DOCUMENT":k(d)?"$SCOPE":d}}return[b,JSON.stringify(c,d())].join("#").replace(/"/g,"")}function d(a){var b=a.targetScope.$id;E(l[b],function(a){delete j[a]}),delete l[b]}function f(){m(function(){b.$$phase||(j={})},2e3)}function g(a,b){var c=a.$id;return y(l[c])&&(a.$on("$destroy",d),l[c]=[]),l[c].push(b)}function h(a,b){var d=c(a,b);return j[d]}function i(a,b,d,e){var h=c(a,b);return j[h]=e,k(d)?g(d,h):f(),e}var j={},l={},m=a.setTimeout;return{isMemoized:h,memoize:i}}]}),b.module("angular.filter",["a8m.ucfirst","a8m.uri-encode","a8m.uri-component-encode","a8m.slugify","a8m.latinize","a8m.strip-tags","a8m.stringular","a8m.truncate","a8m.starts-with","a8m.ends-with","a8m.wrap","a8m.trim","a8m.ltrim","a8m.rtrim","a8m.repeat","a8m.test","a8m.match","a8m.to-array","a8m.concat","a8m.contains","a8m.unique","a8m.is-empty","a8m.after","a8m.after-where","a8m.before","a8m.before-where","a8m.defaults","a8m.where","a8m.reverse","a8m.remove","a8m.remove-with","a8m.group-by","a8m.count-by","a8m.chunk-by","a8m.search-field","a8m.fuzzy-by","a8m.fuzzy","a8m.omit","a8m.pick","a8m.every","a8m.filter-by","a8m.xor","a8m.map","a8m.first","a8m.last","a8m.flatten","a8m.join","a8m.range","a8m.math","a8m.math.max","a8m.math.min","a8m.math.percent","a8m.math.radix","a8m.math.sum","a8m.math.degrees","a8m.math.radians","a8m.math.byteFmt","a8m.math.kbFmt","a8m.math.shortFmt","a8m.angular","a8m.conditions","a8m.is-null","a8m.filter-watcher"])}(window,window.angular),function(a,b,c){"use strict";var d=b.isDefined,e=b.isUndefined,f=b.isNumber,g=b.isObject,h=b.isArray,i=b.extend,j=b.toJson,k=b.module("LocalStorageModule",[]);k.provider("localStorageService",function(){this.prefix="ls",this.storageType="localStorage",this.cookie={expiry:30,path:"/"},this.notify={setItem:!0,removeItem:!1},this.setPrefix=function(a){return this.prefix=a,this},this.setStorageType=function(a){return this.storageType=a,this},this.setStorageCookie=function(a,b){return this.cookie.expiry=a,this.cookie.path=b,this},this.setStorageCookieDomain=function(a){return this.cookie.domain=a,this},this.setNotify=function(a,b){return this.notify={setItem:a,removeItem:b},this},this.$get=["$rootScope","$window","$document","$parse",function(a,b,c,k){var l,m=this,n=m.prefix,o=m.cookie,p=m.notify,q=m.storageType;c?c[0]&&(c=c[0]):c=document,"."!==n.substr(-1)&&(n=n?n+".":"");var r=function(a){return n+a},s=function(){try{var c=q in b&&null!==b[q],d=r("__"+Math.round(1e7*Math.random()));return c&&(l=b[q],l.setItem(d,""),l.removeItem(d)),c}catch(e){return q="cookie",a.$broadcast("LocalStorageModule.notification.error",e.message),!1}}(),t=function(b,c){if(c=e(c)?null:j(c),!s||"cookie"===m.storageType)return s||a.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),p.setItem&&a.$broadcast("LocalStorageModule.notification.setitem",{key:b,newvalue:c,storageType:"cookie"}),z(b,c);try{l&&l.setItem(r(b),c),p.setItem&&a.$broadcast("LocalStorageModule.notification.setitem",{key:b,newvalue:c,storageType:m.storageType})}catch(d){return a.$broadcast("LocalStorageModule.notification.error",d.message),z(b,c)}return!0},u=function(b){if(!s||"cookie"===m.storageType)return s||a.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),A(b);var c=l?l.getItem(r(b)):null;if(!c||"null"===c)return null;try{return JSON.parse(c)}catch(d){return c}},v=function(){var b,c;for(b=0;b<arguments.length;b++)if(c=arguments[b],s&&"cookie"!==m.storageType)try{l.removeItem(r(c)),p.removeItem&&a.$broadcast("LocalStorageModule.notification.removeitem",{key:c,storageType:m.storageType})}catch(d){a.$broadcast("LocalStorageModule.notification.error",d.message),B(c)}else s||a.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),p.removeItem&&a.$broadcast("LocalStorageModule.notification.removeitem",{key:c,storageType:"cookie"}),B(c)},w=function(){if(!s)return a.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),!1;var b=n.length,c=[];for(var d in l)if(d.substr(0,b)===n)try{c.push(d.substr(b))}catch(e){return a.$broadcast("LocalStorageModule.notification.error",e.Description),[]}return c},x=function(b){var c=n?new RegExp("^"+n):new RegExp,d=b?new RegExp(b):new RegExp;if(!s||"cookie"===m.storageType)return s||a.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),C();var e=n.length;for(var f in l)if(c.test(f)&&d.test(f.substr(e)))try{v(f.substr(e))}catch(g){return a.$broadcast("LocalStorageModule.notification.error",g.message),C()}return!0},y=function(){try{return b.navigator.cookieEnabled||"cookie"in c&&(c.cookie.length>0||(c.cookie="test").indexOf.call(c.cookie,"test")>-1)}catch(d){return a.$broadcast("LocalStorageModule.notification.error",d.message),!1}}(),z=function(b,d,i){if(e(d))return!1;if((h(d)||g(d))&&(d=j(d)),!y)return a.$broadcast("LocalStorageModule.notification.error","COOKIES_NOT_SUPPORTED"),!1;try{var k="",l=new Date,m="";if(null===d?(l.setTime(l.getTime()+-864e5),k="; expires="+l.toGMTString(),d=""):f(i)&&0!==i?(l.setTime(l.getTime()+24*i*60*60*1e3),k="; expires="+l.toGMTString()):0!==o.expiry&&(l.setTime(l.getTime()+24*o.expiry*60*60*1e3),k="; expires="+l.toGMTString()),b){var n="; path="+o.path;o.domain&&(m="; domain="+o.domain),c.cookie=r(b)+"="+encodeURIComponent(d)+k+n+m}}catch(p){return a.$broadcast("LocalStorageModule.notification.error",p.message),!1}return!0},A=function(b){if(!y)return a.$broadcast("LocalStorageModule.notification.error","COOKIES_NOT_SUPPORTED"),!1;for(var d=c.cookie&&c.cookie.split(";")||[],e=0;e<d.length;e++){for(var f=d[e];" "===f.charAt(0);)f=f.substring(1,f.length);if(0===f.indexOf(r(b)+"=")){var g=decodeURIComponent(f.substring(n.length+b.length+1,f.length));try{return JSON.parse(g)}catch(h){return g}}}return null},B=function(a){z(a,null)},C=function(){for(var a=null,b=n.length,d=c.cookie.split(";"),e=0;e<d.length;e++){for(a=d[e];" "===a.charAt(0);)a=a.substring(1,a.length);var f=a.substring(b,a.indexOf("="));B(f)}},D=function(){return q},E=function(a,b,c,e){e=e||b;var f=u(e);return null===f&&d(c)?f=c:g(f)&&g(c)&&(f=i(c,f)),k(b).assign(a,f),a.$watch(b,function(a){t(e,a)},g(a[b]))},F=function(){for(var a=0,c=b[q],d=0;d<c.length;d++)0===c.key(d).indexOf(n)&&a++;return a};return{isSupported:s,getStorageType:D,set:t,add:t,get:u,keys:w,remove:v,clearAll:x,bind:E,deriveKey:r,length:F,cookie:{isSupported:y,set:z,add:z,get:A,remove:B,clearAll:C}}}]})}(window,window.angular),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="angular-md5"),function(a){a.module("angular-md5",["gdi2290.md5"]),a.module("ngMd5",["gdi2290.md5"]),a.module("gdi2290.md5",["gdi2290.gravatar-filter","gdi2290.md5-service","gdi2290.md5-filter"]),a.module("gdi2290.gravatar-filter",[]).filter("gravatar",["md5",function(a){var b={};return function(c,d){return b[c]||(d=d?a.createHash(d.toString().toLowerCase()):"",b[c]=c?a.createHash(c.toString().toLowerCase()):d),b[c]}}]),a.module("gdi2290.md5-filter",[]).filter("md5",["md5",function(a){return function(b){return b?a.createHash(b.toString().toLowerCase()):b}}]),a.module("gdi2290.md5-service",[]).factory("md5",[function(){var a={createHash:function(a){if(null===a)return null;var b,c,d,e,f,g,h,i,j,k,l=function(a,b){return a<<b|a>>>32-b},m=function(a,b){var c,d,e,f,g;return e=2147483648&a,f=2147483648&b,c=1073741824&a,d=1073741824&b,g=(1073741823&a)+(1073741823&b),c&d?2147483648^g^e^f:c|d?1073741824&g?3221225472^g^e^f:1073741824^g^e^f:g^e^f},n=function(a,b,c){return a&b|~a&c},o=function(a,b,c){return a&c|b&~c},p=function(a,b,c){return a^b^c},q=function(a,b,c){return b^(a|~c)},r=function(a,b,c,d,e,f,g){return a=m(a,m(m(n(b,c,d),e),g)),m(l(a,f),b)},s=function(a,b,c,d,e,f,g){return a=m(a,m(m(o(b,c,d),e),g)),m(l(a,f),b)},t=function(a,b,c,d,e,f,g){return a=m(a,m(m(p(b,c,d),e),g)),m(l(a,f),b)},u=function(a,b,c,d,e,f,g){return a=m(a,m(m(q(b,c,d),e),g)),m(l(a,f),b)},v=function(a){for(var b,c=a.length,d=c+8,e=(d-d%64)/64,f=16*(e+1),g=new Array(f-1),h=0,i=0;c>i;)b=(i-i%4)/4,h=i%4*8,g[b]=g[b]|a.charCodeAt(i)<<h,i++;return b=(i-i%4)/4,h=i%4*8,g[b]=g[b]|128<<h,g[f-2]=c<<3,g[f-1]=c>>>29,g},w=function(a){var b,c,d="",e="";for(c=0;3>=c;c++)b=a>>>8*c&255,e="0"+b.toString(16),d+=e.substr(e.length-2,2);return d},x=[],y=7,z=12,A=17,B=22,C=5,D=9,E=14,F=20,G=4,H=11,I=16,J=23,K=6,L=10,M=15,N=21;for(x=v(a),h=1732584193,i=4023233417,j=2562383102,k=271733878,b=x.length,c=0;b>c;c+=16)d=h,e=i,f=j,g=k,h=r(h,i,j,k,x[c+0],y,3614090360),k=r(k,h,i,j,x[c+1],z,3905402710),j=r(j,k,h,i,x[c+2],A,606105819),i=r(i,j,k,h,x[c+3],B,3250441966),h=r(h,i,j,k,x[c+4],y,4118548399),k=r(k,h,i,j,x[c+5],z,1200080426),j=r(j,k,h,i,x[c+6],A,2821735955),i=r(i,j,k,h,x[c+7],B,4249261313),h=r(h,i,j,k,x[c+8],y,1770035416),k=r(k,h,i,j,x[c+9],z,2336552879),j=r(j,k,h,i,x[c+10],A,4294925233),i=r(i,j,k,h,x[c+11],B,2304563134),h=r(h,i,j,k,x[c+12],y,1804603682),k=r(k,h,i,j,x[c+13],z,4254626195),j=r(j,k,h,i,x[c+14],A,2792965006),i=r(i,j,k,h,x[c+15],B,1236535329),h=s(h,i,j,k,x[c+1],C,4129170786),k=s(k,h,i,j,x[c+6],D,3225465664),j=s(j,k,h,i,x[c+11],E,643717713),i=s(i,j,k,h,x[c+0],F,3921069994),h=s(h,i,j,k,x[c+5],C,3593408605),k=s(k,h,i,j,x[c+10],D,38016083),j=s(j,k,h,i,x[c+15],E,3634488961),i=s(i,j,k,h,x[c+4],F,3889429448),h=s(h,i,j,k,x[c+9],C,568446438),k=s(k,h,i,j,x[c+14],D,3275163606),j=s(j,k,h,i,x[c+3],E,4107603335),i=s(i,j,k,h,x[c+8],F,1163531501),h=s(h,i,j,k,x[c+13],C,2850285829),k=s(k,h,i,j,x[c+2],D,4243563512),j=s(j,k,h,i,x[c+7],E,1735328473),i=s(i,j,k,h,x[c+12],F,2368359562),h=t(h,i,j,k,x[c+5],G,4294588738),k=t(k,h,i,j,x[c+8],H,2272392833),j=t(j,k,h,i,x[c+11],I,1839030562),i=t(i,j,k,h,x[c+14],J,4259657740),h=t(h,i,j,k,x[c+1],G,2763975236),k=t(k,h,i,j,x[c+4],H,1272893353),j=t(j,k,h,i,x[c+7],I,4139469664),i=t(i,j,k,h,x[c+10],J,3200236656),h=t(h,i,j,k,x[c+13],G,681279174),k=t(k,h,i,j,x[c+0],H,3936430074),j=t(j,k,h,i,x[c+3],I,3572445317),i=t(i,j,k,h,x[c+6],J,76029189),h=t(h,i,j,k,x[c+9],G,3654602809),k=t(k,h,i,j,x[c+12],H,3873151461),j=t(j,k,h,i,x[c+15],I,530742520),i=t(i,j,k,h,x[c+2],J,3299628645),h=u(h,i,j,k,x[c+0],K,4096336452),k=u(k,h,i,j,x[c+7],L,1126891415),j=u(j,k,h,i,x[c+14],M,2878612391),i=u(i,j,k,h,x[c+5],N,4237533241),h=u(h,i,j,k,x[c+12],K,1700485571),k=u(k,h,i,j,x[c+3],L,2399980690),j=u(j,k,h,i,x[c+10],M,4293915773),i=u(i,j,k,h,x[c+1],N,2240044497),h=u(h,i,j,k,x[c+8],K,1873313359),k=u(k,h,i,j,x[c+15],L,4264355552),j=u(j,k,h,i,x[c+6],M,2734768916),i=u(i,j,k,h,x[c+13],N,1309151649),h=u(h,i,j,k,x[c+4],K,4149444226),k=u(k,h,i,j,x[c+11],L,3174756917),j=u(j,k,h,i,x[c+2],M,718787259),i=u(i,j,k,h,x[c+9],N,3951481745),h=m(h,d),i=m(i,e),j=m(j,f),k=m(k,g);var O=w(h)+w(i)+w(j)+w(k);return O.toLowerCase()}};return a}])}(angular),angular.module("notification",[]).provider("$notification",$notificationProvider),function(a,b,c){"use strict";function d(a){return null!=a&&""!==a&&"hasOwnProperty"!==a&&h.test("."+a)}function e(a,e){if(!d(e))throw g("badmember",'Dotted member path "@{0}" is invalid.',e);for(var f=e.split("."),h=0,i=f.length;i>h&&b.isDefined(a);h++){var j=f[h];a=null!==a?a[j]:c}return a}function f(a,c){c=c||{},b.forEach(c,function(a,b){delete c[b]});for(var d in a)!a.hasOwnProperty(d)||"$"===d.charAt(0)&&"$"===d.charAt(1)||(c[d]=a[d]);return c}var g=b.$$minErr("$resource"),h=/^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;b.module("ngResource",["ng"]).provider("$resource",function(){var a=/^https?:\/\/[^\/]*/,d=this;this.defaults={stripTrailingSlashes:!0,actions:{get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},"delete":{method:"DELETE"}}},this.$get=["$http","$q",function(h,i){function j(a){return k(a,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function k(a,b){return encodeURIComponent(a).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,b?"%20":"+")}function l(a,b){this.template=a,this.defaults=p({},d.defaults,b),this.urlParams={}}function m(a,j,k,s){function t(a,b){var c={};return b=p({},j,b),o(b,function(b,d){r(b)&&(b=b()),c[d]=b&&b.charAt&&"@"==b.charAt(0)?e(a,b.substr(1)):b}),c}function u(a){return a.resource}function v(a){f(a||{},this)}var w=new l(a,s);return k=p({},d.defaults.actions,k),v.prototype.toJSON=function(){var a=p({},this);return delete a.$promise,delete a.$resolved,a},o(k,function(a,d){var e=/^(POST|PUT|PATCH)$/i.test(a.method);v[d]=function(j,k,l,m){var s,x,y,z={};switch(arguments.length){case 4:y=m,x=l;case 3:case 2:if(!r(k)){z=j,s=k,x=l;break}if(r(j)){x=j,y=k;break}x=k,y=l;case 1:r(j)?x=j:e?s=j:z=j;break;case 0:break;default:throw g("badargs","Expected up to 4 arguments [params, data, success, error], got {0} arguments",arguments.length)}var A=this instanceof v,B=A?s:a.isArray?[]:new v(s),C={},D=a.interceptor&&a.interceptor.response||u,E=a.interceptor&&a.interceptor.responseError||c;o(a,function(a,b){switch(b){default:C[b]=q(a);break;case"params":case"isArray":case"interceptor":break;case"timeout":C[b]=a}}),e&&(C.data=s),w.setUrlParams(C,p({},t(s,a.params||{}),z),a.url);var F=h(C).then(function(c){var e=c.data,h=B.$promise;if(e){if(b.isArray(e)!==!!a.isArray)throw g("badcfg","Error in resource configuration for action `{0}`. Expected response to contain an {1} but got an {2} (Request: {3} {4})",d,a.isArray?"array":"object",b.isArray(e)?"array":"object",C.method,C.url);a.isArray?(B.length=0,o(e,function(a){"object"==typeof a?B.push(new v(a)):B.push(a)})):(f(e,B),B.$promise=h)}return B.$resolved=!0,c.resource=B,c},function(a){return B.$resolved=!0,(y||n)(a),i.reject(a)});return F=F.then(function(a){var b=D(a);return(x||n)(b,a.headers),b},E),A?F:(B.$promise=F,B.$resolved=!1,B)},v.prototype["$"+d]=function(a,b,c){r(a)&&(c=b,b=a,a={});var e=v[d].call(this,a,this,b,c);return e.$promise||e}}),v.bind=function(b){return m(a,p({},j,b),k)},v}var n=b.noop,o=b.forEach,p=b.extend,q=b.copy,r=b.isFunction;return l.prototype={setUrlParams:function(c,d,e){var f,h,i=this,k=e||i.template,l="",m=i.urlParams={};o(k.split(/\W/),function(a){if("hasOwnProperty"===a)throw g("badname","hasOwnProperty is not a valid parameter name.");!new RegExp("^\\d+$").test(a)&&a&&new RegExp("(^|[^\\\\]):"+a+"(\\W|$)").test(k)&&(m[a]=!0)}),k=k.replace(/\\:/g,":"),k=k.replace(a,function(a){return l=a,""}),d=d||{},o(i.urlParams,function(a,c){f=d.hasOwnProperty(c)?d[c]:i.defaults[c],b.isDefined(f)&&null!==f?(h=j(f),k=k.replace(new RegExp(":"+c+"(\\W|$)","g"),function(a,b){return h+b})):k=k.replace(new RegExp("(/?):"+c+"(\\W|$)","g"),function(a,b,c){return"/"==c.charAt(0)?c:b+c})}),i.defaults.stripTrailingSlashes&&(k=k.replace(/\/+$/,"")||"/"),k=k.replace(/\/\.(?=\w+($|\?))/,"."),c.url=l+k.replace(/\/\\\./,"/."),o(d,function(a,b){i.urlParams[b]||(c.params=c.params||{},c.params[b]=a)})}},m}]})}(window,window.angular),function(a,b,c){"use strict";function d(){this.$get=["$$sanitizeUri",function(a){return function(b){var c=[];return g(b,j(c,function(b,c){return!/^unsafe/.test(a(b,c))})),c.join("")}}]}function e(a){var c=[],d=j(c,b.noop);return d.chars(a),c.join("")}function f(a,c){var d,e={},f=a.split(",");for(d=0;d<f.length;d++)e[c?b.lowercase(f[d]):f[d]]=!0;return e}function g(a,c){function d(a,d,f,g){if(d=b.lowercase(d),z[d])for(;t.last()&&A[t.last()];)e("",t.last());y[d]&&t.last()==d&&e("",d),g=v[d]||!!g,g||t.push(d);var i={};f.replace(n,function(a,b,c,d,e){var f=c||d||e||"";i[b]=h(f)}),c.start&&c.start(d,i,g)}function e(a,d){var e,f=0;if(d=b.lowercase(d))for(f=t.length-1;f>=0&&t[f]!=d;f--);if(f>=0){for(e=t.length-1;e>=f;e--)c.end&&c.end(t[e]);t.length=f}}"string"!=typeof a&&(a=null===a||"undefined"==typeof a?"":""+a);var f,g,i,j,t=[],u=a;for(t.last=function(){return t[t.length-1]};a;){if(j="",g=!0,t.last()&&C[t.last()]?(a=a.replace(new RegExp("([\\W\\w]*)<\\s*\\/\\s*"+t.last()+"[^>]*>","i"),function(a,b){return b=b.replace(q,"$1").replace(s,"$1"),c.chars&&c.chars(h(b)),""}),e("",t.last())):(0===a.indexOf("<!--")?(f=a.indexOf("--",4),f>=0&&a.lastIndexOf("-->",f)===f&&(c.comment&&c.comment(a.substring(4,f)),a=a.substring(f+3),g=!1)):r.test(a)?(i=a.match(r),i&&(a=a.replace(i[0],""),g=!1)):p.test(a)?(i=a.match(m),i&&(a=a.substring(i[0].length),i[0].replace(m,e),g=!1)):o.test(a)&&(i=a.match(l),i?(i[4]&&(a=a.substring(i[0].length),i[0].replace(l,d)),g=!1):(j+="<",a=a.substring(1))),g&&(f=a.indexOf("<"),j+=0>f?a:a.substring(0,f),a=0>f?"":a.substring(f),c.chars&&c.chars(h(j)))),a==u)throw k("badparse","The sanitizer was unable to parse the following block of html: {0}",a);u=a}e()}function h(a){return a?(I.innerHTML=a.replace(/</g,"&lt;"),I.textContent):""}function i(a){return a.replace(/&/g,"&amp;").replace(t,function(a){var b=a.charCodeAt(0),c=a.charCodeAt(1);return"&#"+(1024*(b-55296)+(c-56320)+65536)+";"}).replace(u,function(a){return"&#"+a.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function j(a,c){var d=!1,e=b.bind(a,a.push);return{start:function(a,f,g){a=b.lowercase(a),!d&&C[a]&&(d=a),d||D[a]!==!0||(e("<"),e(a),b.forEach(f,function(d,f){var g=b.lowercase(f),h="img"===a&&"src"===g||"background"===g;H[g]!==!0||E[g]===!0&&!c(d,h)||(e(" "),e(f),e('="'),e(i(d)),e('"'))}),e(g?"/>":">"))},end:function(a){a=b.lowercase(a),d||D[a]!==!0||(e("</"),e(a),e(">")),a==d&&(d=!1)},chars:function(a){d||e(i(a))}}}var k=b.$$minErr("$sanitize"),l=/^<((?:[a-zA-Z])[\w:-]*)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*(>?)/,m=/^<\/\s*([\w:-]+)[^>]*>/,n=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,o=/^</,p=/^<\//,q=/<!--(.*?)-->/g,r=/<!DOCTYPE([^>]*?)>/i,s=/<!\[CDATA\[(.*?)]]>/g,t=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=/([^\#-~| |!])/g,v=f("area,br,col,hr,img,wbr"),w=f("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),x=f("rp,rt"),y=b.extend({},x,w),z=b.extend({},w,f("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,script,section,table,ul")),A=b.extend({},x,f("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),B=f("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan,use"),C=f("script,style"),D=b.extend({},v,z,A,y,B),E=f("background,cite,href,longdesc,src,usemap,xlink:href"),F=f("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),G=f("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),H=b.extend({},E,G,F),I=document.createElement("pre");
 b.module("ngSanitize",[]).provider("$sanitize",d),b.module("ngSanitize").filter("linky",["$sanitize",function(a){var c=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,d=/^mailto:/i;return function(f,g){function h(a){a&&n.push(e(a))}function i(a,c){n.push("<a "),b.isDefined(g)&&n.push('target="',g,'" '),n.push('href="',a.replace(/"/g,"&quot;"),'">'),h(c),n.push("</a>")}if(!f)return f;for(var j,k,l,m=f,n=[];j=m.match(c);)k=j[0],j[2]||j[4]||(k=(j[3]?"http://":"mailto:")+k),l=j.index,h(m.substr(0,l)),i(k,j[0].replace(d,"")),m=m.substring(l+j[0].length);return h(m),a(n.join(""))}}])}(window,window.angular),function(a,b){"use strict";a.module("smart-table",[]).run(["$templateCache",function(a){a.put("template/smart-table/pagination.html",'<nav ng-if="numPages && pages.length >= 2"><ul class="pagination"><li ng-repeat="page in pages" ng-class="{active: page==currentPage}"><a ng-click="selectPage(page)">{{page}}</a></li></ul></nav>')}]),a.module("smart-table").constant("stConfig",{pagination:{template:"template/smart-table/pagination.html",itemsByPage:10,displayedPages:5},search:{delay:400,inputEvent:"input"},select:{mode:"single",selectedClass:"st-selected"},sort:{ascentClass:"st-sort-ascent",descentClass:"st-sort-descent",skipNatural:!1,delay:300},pipe:{delay:100}}),a.module("smart-table").controller("stTableController",["$scope","$parse","$filter","$attrs",function(c,d,e,f){function g(a){return a?[].concat(a):[]}function h(){r=g(j(c)),t===!0&&u.pipe()}function i(a,b){if(-1!=b.indexOf(".")){var c=b.split("."),e=c.pop(),f=c.join("."),g=d(f)(a);delete g[e],0==Object.keys(g).length&&i(a,f)}else delete a[b]}var j,k,l,m=f.stTable,n=d(m),o=n.assign,p=e("orderBy"),q=e("filter"),r=g(n(c)),s={sort:{},search:{},pagination:{start:0,totalItemCount:0}},t=!0,u=this;f.stSafeSrc&&(j=d(f.stSafeSrc),c.$watch(function(){var a=j(c);return a&&a.length?a[0]:b},function(a,b){a!==b&&h()}),c.$watch(function(){var a=j(c);return a?a.length:0},function(a,b){a!==r.length&&h()}),c.$watch(function(){return j(c)},function(a,b){a!==b&&(s.pagination.start=0,h())})),this.sortBy=function(b,c){return s.sort.predicate=b,s.sort.reverse=c===!0,a.isFunction(b)?s.sort.functionName=b.name:delete s.sort.functionName,s.pagination.start=0,this.pipe()},this.search=function(b,c){var e=s.search.predicateObject||{},f=c?c:"$";return b=a.isString(b)?b.trim():b,d(f).assign(e,b),b||i(e,f),s.search.predicateObject=e,s.pagination.start=0,this.pipe()},this.pipe=function(){var a,d=s.pagination;k=s.search.predicateObject?q(r,s.search.predicateObject):r,s.sort.predicate&&(k=p(k,s.sort.predicate,s.sort.reverse)),d.totalItemCount=k.length,d.number!==b&&(d.numberOfPages=k.length>0?Math.ceil(k.length/d.number):1,d.start=d.start>=k.length?(d.numberOfPages-1)*d.number:d.start,a=k.slice(d.start,d.start+parseInt(d.number))),o(c,a||k)},this.select=function(a,d){var e=g(n(c)),f=e.indexOf(a);-1!==f&&("single"===d?(a.isSelected=a.isSelected!==!0,l&&(l.isSelected=!1),l=a.isSelected===!0?a:b):e[f].isSelected=!e[f].isSelected)},this.slice=function(a,b){return s.pagination.start=a,s.pagination.number=b,this.pipe()},this.tableState=function(){return s},this.getFilteredCollection=function(){return k||r},this.setFilterFunction=function(a){q=e(a)},this.setSortFunction=function(a){p=e(a)},this.preventPipeOnWatch=function(){t=!1}}]).directive("stTable",function(){return{restrict:"A",controller:"stTableController",link:function(a,b,c,d){c.stSetFilter&&d.setFilterFunction(c.stSetFilter),c.stSetSort&&d.setSortFunction(c.stSetSort)}}}),a.module("smart-table").directive("stSearch",["stConfig","$timeout","$parse",function(a,b,c){return{require:"^stTable",link:function(d,e,f,g){var h=g,i=null,j=f.stDelay||a.search.delay,k=f.stInputEvent||a.search.inputEvent;f.$observe("stSearch",function(a,b){var c=e[0].value;a!==b&&c&&(g.tableState().search={},h.search(c,a))}),d.$watch(function(){return g.tableState().search},function(a,b){var d=f.stSearch||"$";a.predicateObject&&c(d)(a.predicateObject)!==e[0].value&&(e[0].value=c(d)(a.predicateObject)||"")},!0),e.bind(k,function(a){a=a.originalEvent||a,null!==i&&b.cancel(i),i=b(function(){h.search(a.target.value,f.stSearch||""),i=null},j)})}}}]),a.module("smart-table").directive("stSelectRow",["stConfig",function(a){return{restrict:"A",require:"^stTable",scope:{row:"=stSelectRow"},link:function(b,c,d,e){var f=d.stSelectMode||a.select.mode;c.bind("click",function(){b.$apply(function(){e.select(b.row,f)})}),b.$watch("row.isSelected",function(b){b===!0?c.addClass(a.select.selectedClass):c.removeClass(a.select.selectedClass)})}}}]),a.module("smart-table").directive("stSort",["stConfig","$parse","$timeout",function(c,d,e){return{restrict:"A",require:"^stTable",link:function(f,g,h,i){function j(){n++;var b;l=a.isFunction(m(f))||a.isArray(m(f))?m(f):h.stSort,n%3===0&&!!r!=!0?(n=0,i.tableState().sort={},i.tableState().pagination.start=0,b=i.pipe.bind(i)):b=i.sortBy.bind(i,l,n%2===0),null!==s&&e.cancel(s),0>t?f.$apply(b):s=e(b,t)}var k,l=h.stSort,m=d(l),n=0,o=h.stClassAscent||c.sort.ascentClass,p=h.stClassDescent||c.sort.descentClass,q=[o,p],r=h.stSkipNatural!==b?h.stSkipNatural:c.sort.skipNatural,s=null,t=h.stDelay||c.sort.delay;h.stSortDefault&&(k=f.$eval(h.stSortDefault)!==b?f.$eval(h.stSortDefault):h.stSortDefault),g.bind("click",function(){l&&j()}),k&&(n="reverse"===k?1:0,j()),f.$watch(function(){return i.tableState().sort},function(a){a.predicate!==l?(n=0,g.removeClass(o).removeClass(p)):(n=a.reverse===!0?2:1,g.removeClass(q[n%2]).addClass(q[n-1]))},!0)}}}]),a.module("smart-table").directive("stPagination",["stConfig",function(a){return{restrict:"EA",require:"^stTable",scope:{stItemsByPage:"=?",stDisplayedPages:"=?",stPageChange:"&"},templateUrl:function(b,c){return c.stTemplate?c.stTemplate:a.pagination.template},link:function(b,c,d,e){function f(){var a,c,d=e.tableState().pagination,f=1,g=b.currentPage;for(b.totalItemCount=d.totalItemCount,b.currentPage=Math.floor(d.start/d.number)+1,f=Math.max(f,b.currentPage-Math.abs(Math.floor(b.stDisplayedPages/2))),a=f+b.stDisplayedPages,a>d.numberOfPages&&(a=d.numberOfPages+1,f=Math.max(1,a-b.stDisplayedPages)),b.pages=[],b.numPages=d.numberOfPages,c=f;a>c;c++)b.pages.push(c);g!==b.currentPage&&b.stPageChange({newPage:b.currentPage})}b.stItemsByPage=b.stItemsByPage?+b.stItemsByPage:a.pagination.itemsByPage,b.stDisplayedPages=b.stDisplayedPages?+b.stDisplayedPages:a.pagination.displayedPages,b.currentPage=1,b.pages=[],b.$watch(function(){return e.tableState().pagination},f,!0),b.$watch("stItemsByPage",function(a,c){a!==c&&b.selectPage(1)}),b.$watch("stDisplayedPages",f),b.selectPage=function(a){a>0&&a<=b.numPages&&e.slice((a-1)*b.stItemsByPage,b.stItemsByPage)},e.tableState().pagination.number||e.slice(0,b.stItemsByPage)}}}]),a.module("smart-table").directive("stPipe",["stConfig","$timeout",function(b,c){return{require:"stTable",scope:{stPipe:"="},link:{pre:function(d,e,f,g){var h=null;a.isFunction(d.stPipe)&&(g.preventPipeOnWatch(),g.pipe=function(){return null!==h&&c.cancel(h),h=c(function(){d.stPipe(g.tableState(),g)},b.pipe.delay)})},post:function(a,b,c,d){d.pipe()}}}}])}(angular),angular.module("btford.socket-io",[]).provider("socketFactory",function(){"use strict";var a="socket:";this.$get=["$rootScope","$timeout",function(b,c){var d=function(a,b){return b?function(){var d=arguments;c(function(){b.apply(a,d)},0)}:angular.noop};return function(c){c=c||{};var e=c.ioSocket||io.connect(),f=void 0===c.prefix?a:c.prefix,g=c.scope||b,h=function(a,b){e.on(a,b.__ng=d(e,b))},i=function(a,b){e.once(a,b.__ng=d(e,b))},j={on:h,addListener:h,once:i,emit:function(a,b,c){var f=arguments.length-1,c=arguments[f];return"function"==typeof c&&(c=d(e,c),arguments[f]=c),e.emit.apply(e,arguments)},removeListener:function(a,b){return b&&b.__ng&&(arguments[1]=b.__ng),e.removeListener.apply(e,arguments)},removeAllListeners:function(){return e.removeAllListeners.apply(e,arguments)},disconnect:function(a){return e.disconnect(a)},connect:function(){return e.connect()},forward:function(a,b){a instanceof Array==!1&&(a=[a]),b||(b=g),a.forEach(function(a){var c=f+a,g=d(e,function(){Array.prototype.unshift.call(arguments,c),b.$broadcast.apply(b,arguments)});b.$on("$destroy",function(){e.removeListener(a,g)}),e.on(a,g)})}};return j}}]}),function(){"use strict";function a(a,b,c,d,e,f,g){function h(a){if(1!==arguments.length||a)if(a)m(a.toastId);else for(var b=0;b<t.length;b++)m(t[b].toastId)}function i(a,b,c){var d=o().iconClasses.error;return n(d,a,b,c)}function j(a,b,c){var d=o().iconClasses.info;return n(d,a,b,c)}function k(a,b,c){var d=o().iconClasses.success;return n(d,a,b,c)}function l(a,b,c){var d=o().iconClasses.warning;return n(d,a,b,c)}function m(b,c){function d(a){for(var b=0;b<t.length;b++)if(t[b].toastId===a)return t[b]}function e(){return!t.length}var h=d(b);h&&!h.deleting&&(h.deleting=!0,h.isOpened=!1,a.leave(h.el).then(function(){h.scope.options.onHidden&&h.scope.options.onHidden(c),h.scope.$destroy();var a=t.indexOf(h);delete v[h.scope.message],t.splice(a,1);var b=f.maxOpened;b&&t.length>=b&&t[b-1].open.resolve(),e()&&(r.remove(),r=null,w=g.defer())}))}function n(a,b,c,d){return angular.isObject(c)&&(d=c,c=null),q({iconClass:a,message:b,optionsOverride:d,title:c})}function o(){return angular.extend({},f)}function p(b){if(r)return w.promise;r=angular.element("<div></div>"),r.attr("id",b.containerId),r.addClass(b.positionClass),r.css({"pointer-events":"auto"});var c=angular.element(document.querySelector(b.target));if(!c||!c.length)throw"Target for toasts doesn't exist";return a.enter(r,c).then(function(){w.resolve()}),w.promise}function q(c){function f(){return n.autoDismiss&&n.maxOpened&&t.length>n.maxOpened}function h(a,b,c){c.allowHtml?(a.scope.allowHtml=!0,a.scope.title=e.trustAsHtml(b.title),a.scope.message=e.trustAsHtml(b.message)):(a.scope.title=b.title,a.scope.message=b.message),a.scope.toastType=a.iconClass,a.scope.toastId=a.toastId,a.scope.extraData=c.extraData,a.scope.options={extendedTimeOut:c.extendedTimeOut,messageClass:c.messageClass,onHidden:c.onHidden,onShown:c.onShown,onTap:c.onTap,progressBar:c.progressBar,tapToDismiss:c.tapToDismiss,timeOut:c.timeOut,titleClass:c.titleClass,toastClass:c.toastClass},c.closeButton&&(a.scope.options.closeHtml=c.closeHtml)}function i(){function a(a){for(var b=["containerId","iconClasses","maxOpened","newestOnTop","positionClass","preventDuplicates","preventOpenDuplicates","templates"],c=0,d=b.length;d>c;c++)delete a[b[c]];return a}var b={toastId:s++,isOpened:!1,scope:d.$new(),open:g.defer()};return b.iconClass=c.iconClass,c.optionsOverride&&(angular.extend(n,a(c.optionsOverride)),b.iconClass=c.optionsOverride.iconClass||b.iconClass),h(b,c,n),b.el=j(b.scope),b}function j(a){var c=angular.element("<div toast></div>"),d=b.get("$compile");return d(c)(a)}function k(){return n.maxOpened&&t.length<=n.maxOpened||!n.maxOpened}function l(){var a=n.preventDuplicates&&c.message===u,b=n.preventOpenDuplicates&&v[c.message];return a||b?!0:(u=c.message,v[c.message]=!0,!1)}var n=o();if(!l()){var q=i();if(t.push(q),f())for(var w=t.slice(0,t.length-n.maxOpened),x=0,y=w.length;y>x;x++)m(w[x].toastId);return k()&&q.open.resolve(),q.open.promise.then(function(){p(n).then(function(){if(q.isOpened=!0,n.newestOnTop)a.enter(q.el,r).then(function(){q.scope.init()});else{var b=r[0].lastChild?angular.element(r[0].lastChild):null;a.enter(q.el,r,b).then(function(){q.scope.init()})}})}),q}}var r,s=0,t=[],u="",v={},w=g.defer(),x={clear:h,error:i,info:j,remove:m,success:k,warning:l};return x}angular.module("toastr",[]).factory("toastr",a),a.$inject=["$animate","$injector","$document","$rootScope","$sce","toastrConfig","$q"]}(),function(){"use strict";angular.module("toastr").constant("toastrConfig",{allowHtml:!1,autoDismiss:!1,closeButton:!1,closeHtml:"<button>&times;</button>",containerId:"toast-container",extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},maxOpened:0,messageClass:"toast-message",newestOnTop:!0,onHidden:null,onShown:null,onTap:null,positionClass:"toast-top-right",preventDuplicates:!1,preventOpenDuplicates:!1,progressBar:!1,tapToDismiss:!0,target:"body",templates:{toast:"directives/toast/toast.html",progressbar:"directives/progressbar/progressbar.html"},timeOut:5e3,titleClass:"toast-title",toastClass:"toast"})}(),function(){"use strict";function a(a){function b(a,b,c,d){function e(){var a=(h-(new Date).getTime())/g*100;b.css("width",a+"%")}var f,g,h;d.progressBar=a,a.start=function(a){f&&clearInterval(f),g=parseFloat(a),h=(new Date).getTime()+g,f=setInterval(e,10)},a.stop=function(){f&&clearInterval(f)},a.$on("$destroy",function(){clearInterval(f)})}return{replace:!0,require:"^toast",templateUrl:function(){return a.templates.progressbar},link:b}}angular.module("toastr").directive("progressBar",a),a.$inject=["toastrConfig"]}(),function(){"use strict";function a(){this.progressBar=null,this.startProgressBar=function(a){this.progressBar&&this.progressBar.start(a)},this.stopProgressBar=function(){this.progressBar&&this.progressBar.stop()}}angular.module("toastr").controller("ToastController",a)}(),function(){"use strict";function a(a,b,c,d){function e(c,e,f,g){function h(a){return g.startProgressBar(a),b(function(){g.stopProgressBar(),d.remove(c.toastId)},a,1)}function i(){c.progressBar=!1,g.stopProgressBar()}function j(){return c.options.closeHtml}var k;if(c.toastClass=c.options.toastClass,c.titleClass=c.options.titleClass,c.messageClass=c.options.messageClass,c.progressBar=c.options.progressBar,j()){var l=angular.element(c.options.closeHtml),m=a.get("$compile");l.addClass("toast-close-button"),l.attr("ng-click","close(true, $event)"),m(l)(c),e.prepend(l)}c.init=function(){c.options.timeOut&&(k=h(c.options.timeOut)),c.options.onShown&&c.options.onShown()},e.on("mouseenter",function(){i(),k&&b.cancel(k)}),c.tapToast=function(){angular.isFunction(c.options.onTap)&&c.options.onTap(),c.options.tapToDismiss&&c.close(!0)},c.close=function(a,b){b&&angular.isFunction(b.stopPropagation)&&b.stopPropagation(),d.remove(c.toastId,a)},e.on("mouseleave",function(){(0!==c.options.timeOut||0!==c.options.extendedTimeOut)&&(c.$apply(function(){c.progressBar=c.options.progressBar}),k=h(c.options.extendedTimeOut))})}return{replace:!0,templateUrl:function(){return c.templates.toast},controller:"ToastController",link:e}}angular.module("toastr").directive("toast",a),a.$inject=["$injector","$interval","toastrConfig","toastr"]}(),angular.module("toastr").run(["$templateCache",function(a){a.put("directives/progressbar/progressbar.html",'<div class="toast-progress"></div>\n'),a.put("directives/toast/toast.html",'<div class="{{toastClass}} {{toastType}}" ng-click="tapToast()">\n  <div ng-switch on="allowHtml">\n    <div ng-switch-default ng-if="title" class="{{titleClass}}" aria-label="{{title}}">{{title}}</div>\n    <div ng-switch-default class="{{messageClass}}" aria-label="{{message}}">{{message}}</div>\n    <div ng-switch-when="true" ng-if="title" class="{{titleClass}}" ng-bind-html="title"></div>\n    <div ng-switch-when="true" class="{{messageClass}}" ng-bind-html="message"></div>\n  </div>\n  <progress-bar ng-if="progressBar"></progress-bar>\n</div>\n')}]),function(a,b,c){"use strict";function d(a){return b.lowercase(a.nodeName||a[0]&&a[0].nodeName)}function e(a,c,d){f.directive(a,["$parse","$swipe",function(e,f){var g=75,h=.3,i=30;return function(j,k,l){function m(a){if(!n)return!1;var b=Math.abs(a.y-n.y),d=(a.x-n.x)*c;return o&&g>b&&d>0&&d>i&&h>b/d}var n,o,p=e(l[a]),q=["touch"];b.isDefined(l.ngSwipeDisableMouse)||q.push("mouse"),f.bind(k,{start:function(a,b){n=a,o=!0},cancel:function(a){o=!1},end:function(a,b){m(a)&&j.$apply(function(){k.triggerHandler(d),p(j,{$event:b})})}},q)}}])}var f=b.module("ngTouch",[]);f.factory("$swipe",[function(){function a(a){var b=a.originalEvent||a,c=b.touches&&b.touches.length?b.touches:[b],d=b.changedTouches&&b.changedTouches[0]||c[0];return{x:d.clientX,y:d.clientY}}function c(a,c){var d=[];return b.forEach(a,function(a){var b=e[a][c];b&&d.push(b)}),d.join(" ")}var d=10,e={mouse:{start:"mousedown",move:"mousemove",end:"mouseup"},touch:{start:"touchstart",move:"touchmove",end:"touchend",cancel:"touchcancel"}};return{bind:function(b,e,f){var g,h,i,j,k=!1;f=f||["mouse","touch"],b.on(c(f,"start"),function(b){i=a(b),k=!0,g=0,h=0,j=i,e.start&&e.start(i,b)});var l=c(f,"cancel");l&&b.on(l,function(a){k=!1,e.cancel&&e.cancel(a)}),b.on(c(f,"move"),function(b){if(k&&i){var c=a(b);if(g+=Math.abs(c.x-j.x),h+=Math.abs(c.y-j.y),j=c,!(d>g&&d>h))return h>g?(k=!1,void(e.cancel&&e.cancel(b))):(b.preventDefault(),void(e.move&&e.move(c,b)))}}),b.on(c(f,"end"),function(b){k&&(k=!1,e.end&&e.end(a(b),b))})}}}]),f.config(["$provide",function(a){a.decorator("ngClickDirective",["$delegate",function(a){return a.shift(),a}])}]),f.directive("ngClick",["$parse","$timeout","$rootElement",function(a,c,e){function f(a,b,c,d){return Math.abs(a-c)<q&&Math.abs(b-d)<q}function g(a,b,c){for(var d=0;d<a.length;d+=2)if(f(a[d],a[d+1],b,c))return a.splice(d,d+2),!0;return!1}function h(a){if(!(Date.now()-k>p)){var b=a.touches&&a.touches.length?a.touches:[a],c=b[0].clientX,e=b[0].clientY;1>c&&1>e||m&&m[0]===c&&m[1]===e||(m&&(m=null),"label"===d(a.target)&&(m=[c,e]),g(l,c,e)||(a.stopPropagation(),a.preventDefault(),a.target&&a.target.blur&&a.target.blur()))}}function i(a){var b=a.touches&&a.touches.length?a.touches:[a],d=b[0].clientX,e=b[0].clientY;l.push(d,e),c(function(){for(var a=0;a<l.length;a+=2)if(l[a]==d&&l[a+1]==e)return void l.splice(a,a+2)},p,!1)}function j(a,b){l||(e[0].addEventListener("click",h,!0),e[0].addEventListener("touchstart",i,!0),l=[]),k=Date.now(),g(l,a,b)}var k,l,m,n=750,o=12,p=2500,q=25,r="ng-click-active";return function(c,d,e){function f(){m=!1,d.removeClass(r)}var g,h,i,k,l=a(e.ngClick),m=!1;d.on("touchstart",function(a){m=!0,g=a.target?a.target:a.srcElement,3==g.nodeType&&(g=g.parentNode),d.addClass(r),h=Date.now();var b=a.originalEvent||a,c=b.touches&&b.touches.length?b.touches:[b],e=c[0];i=e.clientX,k=e.clientY}),d.on("touchcancel",function(a){f()}),d.on("touchend",function(a){var c=Date.now()-h,l=a.originalEvent||a,p=l.changedTouches&&l.changedTouches.length?l.changedTouches:l.touches&&l.touches.length?l.touches:[l],q=p[0],r=q.clientX,s=q.clientY,t=Math.sqrt(Math.pow(r-i,2)+Math.pow(s-k,2));m&&n>c&&o>t&&(j(r,s),g&&g.blur(),b.isDefined(e.disabled)&&e.disabled!==!1||d.triggerHandler("click",[a])),f()}),d.onclick=function(a){},d.on("click",function(a,b){c.$apply(function(){l(c,{$event:b||a})})}),d.on("mousedown",function(a){d.addClass(r)}),d.on("mousemove mouseup",function(a){d.removeClass(r)})}}]),e("ngSwipeLeft",-1,"swipeleft"),e("ngSwipeRight",1,"swiperight")}(window,window.angular),function(a,b){"function"==typeof define&&define.amd?define([],function(){return b()}):"object"==typeof exports?module.exports=b():b()}(this,function(){function a(a){"use strict";var b=a.storageKey(),c=a.storage(),d=function(){var d=a.preferredLanguage();angular.isString(d)?a.use(d):c.put(b,a.use())};d.displayName="fallbackFromIncorrectStorageValue",c?c.get(b)?a.use(c.get(b))["catch"](d):d():angular.isString(a.preferredLanguage())&&a.use(a.preferredLanguage())}function b(){"use strict";var a,b,c=null,d=!1,e=!1;b={sanitize:function(a,b){return"text"===b&&(a=g(a)),a},escape:function(a,b){return"text"===b&&(a=f(a)),a},sanitizeParameters:function(a,b){return"params"===b&&(a=h(a,g)),a},escapeParameters:function(a,b){return"params"===b&&(a=h(a,f)),a}},b.escaped=b.escapeParameters,this.addStrategy=function(a,c){return b[a]=c,this},this.removeStrategy=function(a){return delete b[a],this},this.useStrategy=function(a){return d=!0,c=a,this},this.$get=["$injector","$log",function(f,g){var h=function(a,c,d){return angular.forEach(d,function(d){if(angular.isFunction(d))a=d(a,c);else{if(!angular.isFunction(b[d]))throw new Error("pascalprecht.translate.$translateSanitization: Unknown sanitization strategy: '"+d+"'");a=b[d](a,c)}}),a},i=function(){d||e||(g.warn("pascalprecht.translate.$translateSanitization: No sanitization strategy has been configured. This can have serious security implications. See http://angular-translate.github.io/docs/#/guide/19_security for details."),e=!0)};return f.has("$sanitize")&&(a=f.get("$sanitize")),{useStrategy:function(a){return function(b){a.useStrategy(b)}}(this),sanitize:function(a,b,d){if(c||i(),arguments.length<3&&(d=c),!d)return a;var e=angular.isArray(d)?d:[d];return h(a,b,e)}}}];var f=function(a){var b=angular.element("<div></div>");return b.text(a),b.html()},g=function(b){if(!a)throw new Error("pascalprecht.translate.$translateSanitization: Error cannot find $sanitize service. Either include the ngSanitize module (https://docs.angularjs.org/api/ngSanitize) or use a sanitization strategy which does not depend on $sanitize, such as 'escape'.");return a(b)},h=function(a,b){if(angular.isObject(a)){var c=angular.isArray(a)?[]:{};return angular.forEach(a,function(a,d){c[d]=h(a,b)}),c}return angular.isNumber(a)?a:b(a)}}function c(a,b,c,d){"use strict";var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t={},u=[],v=a,w=[],x="translate-cloak",y=!1,z=!1,A=".",B=0,C=!0,D="default",E={"default":function(a){return(a||"").split("-").join("_")},java:function(a){var b=(a||"").split("-").join("_"),c=b.split("_");return c.length>1?c[0].toLowerCase()+"_"+c[1].toUpperCase():b},bcp47:function(a){var b=(a||"").split("_").join("-"),c=b.split("-");return c.length>1?c[0].toLowerCase()+"-"+c[1].toUpperCase():b}},F="2.7.2",G=function(){if(angular.isFunction(d.getLocale))return d.getLocale();var a,c,e=b.$get().navigator,f=["language","browserLanguage","systemLanguage","userLanguage"];if(angular.isArray(e.languages))for(a=0;a<e.languages.length;a++)if(c=e.languages[a],c&&c.length)return c;for(a=0;a<f.length;a++)if(c=e[f[a]],c&&c.length)return c;return null};G.displayName="angular-translate/service: getFirstBrowserLanguage";var H=function(){var a=G()||"";return E[D]&&(a=E[D](a)),a};H.displayName="angular-translate/service: getLocale";var I=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},J=function(){return this.toString().replace(/^\s+|\s+$/g,"")},K=function(a){for(var b=[],c=angular.lowercase(a),d=0,e=u.length;e>d;d++)b.push(angular.lowercase(u[d]));if(I(b,c)>-1)return a;if(f){var g;for(var h in f){var i=!1,j=Object.prototype.hasOwnProperty.call(f,h)&&angular.lowercase(h)===angular.lowercase(a);if("*"===h.slice(-1)&&(i=h.slice(0,-1)===a.slice(0,h.length-1)),(j||i)&&(g=f[h],I(b,angular.lowercase(g))>-1))return g}}if(a){var k=a.split("_");if(k.length>1&&I(b,angular.lowercase(k[0]))>-1)return k[0]}return a},L=function(a,b){if(!a&&!b)return t;if(a&&!b){if(angular.isString(a))return t[a]}else angular.isObject(t[a])||(t[a]={}),angular.extend(t[a],M(b));return this};this.translations=L,this.cloakClassName=function(a){return a?(x=a,this):x};var M=function(a,b,c,d){var e,f,g,h;b||(b=[]),c||(c={});for(e in a)Object.prototype.hasOwnProperty.call(a,e)&&(h=a[e],angular.isObject(h)?M(h,b.concat(e),c,e):(f=b.length?""+b.join(A)+A+e:e,b.length&&e===d&&(g=""+b.join(A),c[g]="@:"+f),c[f]=h));return c};M.displayName="flatObject",this.addInterpolation=function(a){return w.push(a),this},this.useMessageFormatInterpolation=function(){return this.useInterpolation("$translateMessageFormatInterpolation")},this.useInterpolation=function(a){return n=a,this},this.useSanitizeValueStrategy=function(a){return c.useStrategy(a),this},this.preferredLanguage=function(a){return N(a),this};var N=function(a){return a&&(e=a),e};this.translationNotFoundIndicator=function(a){return this.translationNotFoundIndicatorLeft(a),this.translationNotFoundIndicatorRight(a),this},this.translationNotFoundIndicatorLeft=function(a){return a?(q=a,this):q},this.translationNotFoundIndicatorRight=function(a){return a?(r=a,this):r},this.fallbackLanguage=function(a){return O(a),this};var O=function(a){return a?(angular.isString(a)?(h=!0,g=[a]):angular.isArray(a)&&(h=!1,g=a),angular.isString(e)&&I(g,e)<0&&g.push(e),this):h?g[0]:g};this.use=function(a){if(a){if(!t[a]&&!o)throw new Error("$translateProvider couldn't find translationTable for langKey: '"+a+"'");return i=a,this}return i};var P=function(a){return a?(v=a,this):l?l+v:v};this.storageKey=P,this.useUrlLoader=function(a,b){return this.useLoader("$translateUrlLoader",angular.extend({url:a},b))},this.useStaticFilesLoader=function(a){return this.useLoader("$translateStaticFilesLoader",a)},this.useLoader=function(a,b){return o=a,p=b||{},this},this.useLocalStorage=function(){return this.useStorage("$translateLocalStorage")},this.useCookieStorage=function(){return this.useStorage("$translateCookieStorage")},this.useStorage=function(a){return k=a,this},this.storagePrefix=function(a){return a?(l=a,this):a},this.useMissingTranslationHandlerLog=function(){return this.useMissingTranslationHandler("$translateMissingTranslationHandlerLog")},this.useMissingTranslationHandler=function(a){return m=a,this},this.usePostCompiling=function(a){return y=!!a,this},this.forceAsyncReload=function(a){return z=!!a,this},this.uniformLanguageTag=function(a){return a?angular.isString(a)&&(a={standard:a}):a={},D=a.standard,this},this.determinePreferredLanguage=function(a){var b=a&&angular.isFunction(a)?a():H();return e=u.length?K(b):b,this},this.registerAvailableLanguageKeys=function(a,b){return a?(u=a,b&&(f=b),this):u},this.useLoaderCache=function(a){return a===!1?s=void 0:a===!0?s=!0:"undefined"==typeof a?s="$translationCache":a&&(s=a),this},this.directivePriority=function(a){return void 0===a?B:(B=a,this)},this.statefulFilter=function(a){return void 0===a?C:(C=a,this)},this.$get=["$log","$injector","$rootScope","$q",function(a,b,c,d){var f,l,u,A=b.get(n||"$translateDefaultInterpolation"),D=!1,E={},G={},H=function(a,b,c,h){if(angular.isArray(a)){var j=function(a){for(var e={},f=[],g=function(a){var f=d.defer(),g=function(b){e[a]=b,f.resolve([a,b])};return H(a,b,c,h).then(g,g),f.promise},i=0,j=a.length;j>i;i++)f.push(g(a[i]));return d.all(f).then(function(){return e})};return j(a)}var m=d.defer();a&&(a=J.apply(a));var n=function(){var a=e?G[e]:G[i];if(l=0,k&&!a){var b=f.get(v);if(a=G[b],g&&g.length){var c=I(g,b);l=0===c?1:0,I(g,e)<0&&g.push(e)}}return a}();if(n){var o=function(){aa(a,b,c,h).then(m.resolve,m.reject)};o.displayName="promiseResolved",n["finally"](o,m.reject)}else aa(a,b,c,h).then(m.resolve,m.reject);return m.promise},Q=function(a){return q&&(a=[q,a].join(" ")),r&&(a=[a,r].join(" ")),a},R=function(a){i=a,c.$emit("$translateChangeSuccess",{language:a}),k&&f.put(H.storageKey(),i),A.setLocale(i);var b=function(a,b){E[b].setLocale(i)};b.displayName="eachInterpolatorLocaleSetter",angular.forEach(E,b),c.$emit("$translateChangeEnd",{language:a})},S=function(a){if(!a)throw"No language key specified for loading.";var e=d.defer();c.$emit("$translateLoadingStart",{language:a}),D=!0;var f=s;"string"==typeof f&&(f=b.get(f));var g=angular.extend({},p,{key:a,$http:angular.extend({},{cache:f},p.$http)}),h=function(b){var d={};c.$emit("$translateLoadingSuccess",{language:a}),angular.isArray(b)?angular.forEach(b,function(a){angular.extend(d,M(a))}):angular.extend(d,M(b)),D=!1,e.resolve({key:a,table:d}),c.$emit("$translateLoadingEnd",{language:a})};h.displayName="onLoaderSuccess";var i=function(a){c.$emit("$translateLoadingError",{language:a}),e.reject(a),c.$emit("$translateLoadingEnd",{language:a})};return i.displayName="onLoaderError",b.get(o)(g).then(h,i),e.promise};if(k&&(f=b.get(k),!f.get||!f.put))throw new Error("Couldn't use storage '"+k+"', missing get() or put() method!");if(w.length){var T=function(a){var c=b.get(a);c.setLocale(e||i),E[c.getInterpolationIdentifier()]=c};T.displayName="interpolationFactoryAdder",angular.forEach(w,T)}var U=function(a){var b=d.defer();if(Object.prototype.hasOwnProperty.call(t,a))b.resolve(t[a]);else if(G[a]){var c=function(a){L(a.key,a.table),b.resolve(a.table)};c.displayName="translationTableResolver",G[a].then(c,b.reject)}else b.reject();return b.promise},V=function(a,b,c,e){var f=d.defer(),g=function(d){if(Object.prototype.hasOwnProperty.call(d,b)){e.setLocale(a);var g=d[b];"@:"===g.substr(0,2)?V(a,g.substr(2),c,e).then(f.resolve,f.reject):f.resolve(e.interpolate(d[b],c)),e.setLocale(i)}else f.reject()};return g.displayName="fallbackTranslationResolver",U(a).then(g,f.reject),f.promise},W=function(a,b,c,d){var e,f=t[a];if(f&&Object.prototype.hasOwnProperty.call(f,b)){if(d.setLocale(a),e=d.interpolate(f[b],c),"@:"===e.substr(0,2))return W(a,e.substr(2),c,d);d.setLocale(i)}return e},X=function(a,c){if(m){var d=b.get(m)(a,i,c);return void 0!==d?d:a}return a},Y=function(a,b,c,e,f){var h=d.defer();if(a<g.length){var i=g[a];V(i,b,c,e).then(h.resolve,function(){Y(a+1,b,c,e,f).then(h.resolve)})}else f?h.resolve(f):h.resolve(X(b,c));return h.promise},Z=function(a,b,c,d){var e;if(a<g.length){var f=g[a];e=W(f,b,c,d),e||(e=Z(a+1,b,c,d))}return e},$=function(a,b,c,d){return Y(u>0?u:l,a,b,c,d)},_=function(a,b,c){return Z(u>0?u:l,a,b,c)},aa=function(a,b,c,e){var f=d.defer(),h=i?t[i]:t,j=c?E[c]:A;if(h&&Object.prototype.hasOwnProperty.call(h,a)){var k=h[a];"@:"===k.substr(0,2)?H(k.substr(2),b,c,e).then(f.resolve,f.reject):f.resolve(j.interpolate(k,b))}else{var l;m&&!D&&(l=X(a,b)),i&&g&&g.length?$(a,b,j,e).then(function(a){f.resolve(a)},function(a){f.reject(Q(a))}):m&&!D&&l?e?f.resolve(e):f.resolve(l):e?f.resolve(e):f.reject(Q(a))}return f.promise},ba=function(a,b,c){var d,e=i?t[i]:t,f=A;if(E&&Object.prototype.hasOwnProperty.call(E,c)&&(f=E[c]),e&&Object.prototype.hasOwnProperty.call(e,a)){var h=e[a];d="@:"===h.substr(0,2)?ba(h.substr(2),b,c):f.interpolate(h,b)}else{var j;m&&!D&&(j=X(a,b)),i&&g&&g.length?(l=0,d=_(a,b,f)):d=m&&!D&&j?j:Q(a)}return d},ca=function(a){j===a&&(j=void 0),G[a]=void 0};if(H.preferredLanguage=function(a){return a&&N(a),e},H.cloakClassName=function(){return x},H.fallbackLanguage=function(a){if(void 0!==a&&null!==a){if(O(a),o&&g&&g.length)for(var b=0,c=g.length;c>b;b++)G[g[b]]||(G[g[b]]=S(g[b]));H.use(H.use())}return h?g[0]:g},H.useFallbackLanguage=function(a){if(void 0!==a&&null!==a)if(a){var b=I(g,a);b>-1&&(u=b)}else u=0},H.proposedLanguage=function(){return j},H.storage=function(){return f},H.use=function(a){if(!a)return i;var b=d.defer();c.$emit("$translateChangeStart",{language:a});var e=K(a);return e&&(a=e),!z&&t[a]||!o||G[a]?j===a&&G[a]?G[a].then(function(a){return b.resolve(a.key),a},function(a){return b.reject(a),d.reject(a)}):(b.resolve(a),R(a)):(j=a,G[a]=S(a).then(function(a){return L(a.key,a.table),b.resolve(a.key),R(a.key),a},function(a){return c.$emit("$translateChangeError",{language:a}),b.reject(a),c.$emit("$translateChangeEnd",{language:a}),d.reject(a)}),G[a]["finally"](function(){ca(a)})),b.promise},H.storageKey=function(){return P()},H.isPostCompilingEnabled=function(){return y},H.isForceAsyncReloadEnabled=function(){return z},H.refresh=function(a){function b(){f.resolve(),c.$emit("$translateRefreshEnd",{language:a})}function e(){f.reject(),c.$emit("$translateRefreshEnd",{language:a})}if(!o)throw new Error("Couldn't refresh translation table, no loader registered!");var f=d.defer();if(c.$emit("$translateRefreshStart",{language:a}),a)if(t[a]){var h=function(c){L(c.key,c.table),a===i&&R(i),b()};h.displayName="refreshPostProcessor",S(a).then(h,e)}else e();else{var j=[],k={};if(g&&g.length)for(var l=0,m=g.length;m>l;l++)j.push(S(g[l])),k[g[l]]=!0;i&&!k[i]&&j.push(S(i));var n=function(a){t={},angular.forEach(a,function(a){L(a.key,a.table)}),i&&R(i),b()};n.displayName="refreshPostProcessor",d.all(j).then(n,e)}return f.promise},H.instant=function(a,b,c){if(null===a||angular.isUndefined(a))return a;if(angular.isArray(a)){for(var d={},f=0,h=a.length;h>f;f++)d[a[f]]=H.instant(a[f],b,c);return d}if(angular.isString(a)&&a.length<1)return a;a&&(a=J.apply(a));var j,k=[];e&&k.push(e),i&&k.push(i),g&&g.length&&(k=k.concat(g));for(var l=0,n=k.length;n>l;l++){var o=k[l];if(t[o]&&("undefined"!=typeof t[o][a]?j=ba(a,b,c):(q||r)&&(j=Q(a))),"undefined"!=typeof j)break}return j||""===j||(j=A.interpolate(a,b),
 m&&!D&&(j=X(a,b))),j},H.versionInfo=function(){return F},H.loaderCache=function(){return s},H.directivePriority=function(){return B},H.statefulFilter=function(){return C},o&&(angular.equals(t,{})&&H.use(H.use()),g&&g.length))for(var da=function(a){return L(a.key,a.table),c.$emit("$translateChangeEnd",{language:a.key}),a},ea=0,fa=g.length;fa>ea;ea++){var ga=g[ea];(z||!t[ga])&&(G[ga]=S(ga).then(da))}return H}]}function d(a,b){"use strict";var c,d={},e="default";return d.setLocale=function(a){c=a},d.getInterpolationIdentifier=function(){return e},d.useSanitizeValueStrategy=function(a){return b.useStrategy(a),this},d.interpolate=function(c,d){d=d||{},d=b.sanitize(d,"params");var e=a(c)(d);return e=b.sanitize(e,"text")},d}function e(a,b,c,d,e,f){"use strict";var g=function(){return this.toString().replace(/^\s+|\s+$/g,"")};return{restrict:"AE",scope:!0,priority:a.directivePriority(),compile:function(b,h){var i=h.translateValues?h.translateValues:void 0,j=h.translateInterpolation?h.translateInterpolation:void 0,k=b[0].outerHTML.match(/translate-value-+/i),l="^(.*)("+c.startSymbol()+".*"+c.endSymbol()+")(.*)",m="^(.*)"+c.startSymbol()+"(.*)"+c.endSymbol()+"(.*)";return function(b,n,o){b.interpolateParams={},b.preText="",b.postText="";var p={},q=function(a,c,d){if(c.translateValues&&angular.extend(a,e(c.translateValues)(b.$parent)),k)for(var f in d)if(Object.prototype.hasOwnProperty.call(c,f)&&"translateValue"===f.substr(0,14)&&"translateValues"!==f){var g=angular.lowercase(f.substr(14,1))+f.substr(15);a[g]=d[f]}},r=function(a){if(angular.isFunction(r._unwatchOld)&&(r._unwatchOld(),r._unwatchOld=void 0),angular.equals(a,"")||!angular.isDefined(a)){var d=g.apply(n.text()).match(l);if(angular.isArray(d)){b.preText=d[1],b.postText=d[3],p.translate=c(d[2])(b.$parent);var e=n.text().match(m);angular.isArray(e)&&e[2]&&e[2].length&&(r._unwatchOld=b.$watch(e[2],function(a){p.translate=a,x()}))}else p.translate=n.text().replace(/^\s+|\s+$/g,"")}else p.translate=a;x()},s=function(a){o.$observe(a,function(b){p[a]=b,x()})};q(b.interpolateParams,o,h);var t=!0;o.$observe("translate",function(a){"undefined"==typeof a?r(""):""===a&&t||(p.translate=a,x()),t=!1});for(var u in o)o.hasOwnProperty(u)&&"translateAttr"===u.substr(0,13)&&s(u);if(o.$observe("translateDefault",function(a){b.defaultText=a}),i&&o.$observe("translateValues",function(a){a&&b.$parent.$watch(function(){angular.extend(b.interpolateParams,e(a)(b.$parent))})}),k){var v=function(a){o.$observe(a,function(c){var d=angular.lowercase(a.substr(14,1))+a.substr(15);b.interpolateParams[d]=c})};for(var w in o)Object.prototype.hasOwnProperty.call(o,w)&&"translateValue"===w.substr(0,14)&&"translateValues"!==w&&v(w)}var x=function(){for(var a in p)p.hasOwnProperty(a)&&void 0!==p[a]&&y(a,p[a],b,b.interpolateParams,b.defaultText)},y=function(b,c,d,e,f){c?a(c,e,j,f).then(function(a){z(a,d,!0,b)},function(a){z(a,d,!1,b)}):z(c,d,!1,b)},z=function(b,c,e,f){if("translate"===f){e||"undefined"==typeof c.defaultText||(b=c.defaultText),n.html(c.preText+b+c.postText);var g=a.isPostCompilingEnabled(),i="undefined"!=typeof h.translateCompile,j=i&&"false"!==h.translateCompile;(g&&!i||j)&&d(n.contents())(c)}else{e||"undefined"==typeof c.defaultText||(b=c.defaultText);var k=o.$attr[f];"data-"===k.substr(0,5)&&(k=k.substr(5)),k=k.substr(15),n.attr(k,b)}};(i||k||o.translateDefault)&&b.$watch("interpolateParams",x,!0);var A=f.$on("$translateChangeSuccess",x);n.text().length?r(o.translate?o.translate:""):o.translate&&r(o.translate),x(),b.$on("$destroy",A)}}}}function f(a,b){"use strict";return{compile:function(c){var d=function(){c.addClass(b.cloakClassName())},e=function(){c.removeClass(b.cloakClassName())},f=a.$on("$translateChangeEnd",function(){e(),f(),f=null});return d(),function(a,c,f){f.translateCloak&&f.translateCloak.length&&f.$observe("translateCloak",function(a){b(a).then(e,d)})}}}}function g(a,b){"use strict";var c=function(c,d,e){return angular.isObject(d)||(d=a(d)(this)),b.instant(c,d,e)};return b.statefulFilter()&&(c.$stateful=!0),c}function h(a){"use strict";return a("translations")}return angular.module("pascalprecht.translate",["ng"]).run(a),a.$inject=["$translate"],a.displayName="runTranslate",angular.module("pascalprecht.translate").provider("$translateSanitization",b),angular.module("pascalprecht.translate").constant("pascalprechtTranslateOverrider",{}).provider("$translate",c),c.$inject=["$STORAGE_KEY","$windowProvider","$translateSanitizationProvider","pascalprechtTranslateOverrider"],c.displayName="displayName",angular.module("pascalprecht.translate").factory("$translateDefaultInterpolation",d),d.$inject=["$interpolate","$translateSanitization"],d.displayName="$translateDefaultInterpolation",angular.module("pascalprecht.translate").constant("$STORAGE_KEY","NG_TRANSLATE_LANG_KEY"),angular.module("pascalprecht.translate").directive("translate",e),e.$inject=["$translate","$q","$interpolate","$compile","$parse","$rootScope"],e.displayName="translateDirective",angular.module("pascalprecht.translate").directive("translateCloak",f),f.$inject=["$rootScope","$translate"],f.displayName="translateCloakDirective",angular.module("pascalprecht.translate").filter("translate",g),g.$inject=["$parse","$translate"],g.displayName="translateFilterFactory",angular.module("pascalprecht.translate").factory("$translationCache",h),h.$inject=["$cacheFactory"],h.displayName="$translationCache","pascalprecht.translate"}),function(a,b){"function"==typeof define&&define.amd?define([],function(){return b()}):"object"==typeof exports?module.exports=b():b()}(this,function(){function a(a,b){"use strict";return function(c){if(!(c&&(angular.isArray(c.files)||angular.isString(c.prefix)&&angular.isString(c.suffix))))throw new Error("Couldn't load static files, no files and prefix or suffix specified!");c.files||(c.files=[{prefix:c.prefix,suffix:c.suffix}]);for(var d=function(d){if(!d||!angular.isString(d.prefix)||!angular.isString(d.suffix))throw new Error("Couldn't load static file, no prefix or suffix specified!");var e=a.defer();return b(angular.extend({url:[d.prefix,c.key,d.suffix].join(""),method:"GET",params:""},c.$http)).success(function(a){e.resolve(a)}).error(function(){e.reject(c.key)}),e.promise},e=a.defer(),f=[],g=c.files.length,h=0;g>h;h++)f.push(d({prefix:c.files[h].prefix,key:c.key,suffix:c.files[h].suffix}));return a.all(f).then(function(a){for(var b=a.length,c={},d=0;b>d;d++)for(var f in a[d])c[f]=a[d][f];e.resolve(c)},function(a){e.reject(a)}),e.promise}}return angular.module("pascalprecht.translate").factory("$translateStaticFilesLoader",a),a.$inject=["$q","$http"],a.displayName="$translateStaticFilesLoader","pascalprecht.translate"}),function(a,b){"function"==typeof define&&define.amd?define([],function(){return b()}):"object"==typeof exports?module.exports=b():b()}(this,function(){function a(a){"use strict";var b={get:function(b){return a.get(b)},set:function(b,c){a.put(b,c)},put:function(b,c){a.put(b,c)}};return b}return angular.module("pascalprecht.translate").factory("$translateCookieStorage",a),a.$inject=["$cookieStore"],a.displayName="$translateCookieStorage","pascalprecht.translate"}),function(a,b){"function"==typeof define&&define.amd?define([],function(){return b()}):"object"==typeof exports?module.exports=b():b()}(this,function(){function a(a,b){"use strict";var c=function(){var b;return{get:function(c){return b||(b=a.localStorage.getItem(c)),b},set:function(c,d){b=d,a.localStorage.setItem(c,d)},put:function(c,d){b=d,a.localStorage.setItem(c,d)}}}(),d="localStorage"in a;if(d){var e="pascalprecht.translate.storageTest";try{null!==a.localStorage?(a.localStorage.setItem(e,"foo"),a.localStorage.removeItem(e),d=!0):d=!1}catch(f){d=!1}}var g=d?c:b;return g}return angular.module("pascalprecht.translate").factory("$translateLocalStorage",a),a.$inject=["$window","$translateCookieStorage"],a.displayName="$translateLocalStorageFactory","pascalprecht.translate"}),angular.module("truncate",[]).filter("characters",function(){return function(a,b,c){if(isNaN(b))return a;if(0>=b)return"";if(a&&a.length>b){if(a=a.substring(0,b),c)for(;" "===a.charAt(a.length-1);)a=a.substr(0,a.length-1);else{var d=a.lastIndexOf(" ");-1!==d&&(a=a.substr(0,d))}return a+"…"}return a}}).filter("splitcharacters",function(){return function(a,b){if(isNaN(b))return a;if(0>=b)return"";if(a&&a.length>b){var c=a.substring(0,b/2),d=a.substring(a.length-b/2,a.length);return c+"..."+d}return a}}).filter("words",function(){return function(a,b){if(isNaN(b))return a;if(0>=b)return"";if(a){var c=a.split(/\s+/);c.length>b&&(a=c.slice(0,b).join(" ")+"…")}return a}}),angular.module("ui-notification",[]),angular.module("ui-notification").provider("Notification",function(){this.options={delay:5e3,startTop:10,startRight:10,verticalSpacing:10,horizontalSpacing:10,positionX:"right",positionY:"top",replaceMessage:!1,templateUrl:"angular-ui-notification.html"},this.setOptions=function(a){if(!angular.isObject(a))throw new Error("Options should be an object!");this.options=angular.extend({},this.options,a)},this.$get=["$timeout","$http","$compile","$templateCache","$rootScope","$injector","$sce","$q","$window",function(a,b,c,d,e,f,g,h,i){var j=this.options,k=j.startTop,l=j.startRight,m=j.verticalSpacing,n=j.horizontalSpacing,o=j.delay,p=[],q=!1,r=function(f,r){var s=h.defer();return"object"!=typeof f&&(f={message:f}),f.scope=f.scope?f.scope:e,f.template=f.templateUrl?f.templateUrl:j.templateUrl,f.delay=angular.isUndefined(f.delay)?o:f.delay,f.type=r?r:"",f.positionY=f.positionY?f.positionY:j.positionY,f.positionX=f.positionX?f.positionX:j.positionX,f.replaceMessage=f.replaceMessage?f.replaceMessage:j.replaceMessage,b.get(f.template,{cache:d}).success(function(b){var d=f.scope.$new();d.message=g.trustAsHtml(f.message),d.title=g.trustAsHtml(f.title),d.t=f.type.substr(0,1),d.delay=f.delay;var e=function(){for(var a=0,b=0,c=k,d=l,e=[],g=p.length-1;g>=0;g--){var h=p[g];if(f.replaceMessage&&g<p.length-1)h.addClass("killed");else{var i=parseInt(h[0].offsetHeight),j=parseInt(h[0].offsetWidth),o=e[h._positionY+h._positionX];q+i>window.innerHeight&&(o=k,b++,a=0);var q=c=o?0===a?o:o+m:k,r=d+b*(n+j);h.css(h._positionY,q+"px"),"center"==h._positionX?h.css("left",parseInt(window.innerWidth/2-j/2)+"px"):h.css(h._positionX,r+"px"),e[h._positionY+h._positionX]=q+i,a++}}},h=c(b)(d);h._positionY=f.positionY,h._positionX=f.positionX,h.addClass(f.type),h.bind("webkitTransitionEnd oTransitionEnd otransitionend transitionend msTransitionEnd click",function(a){a=a.originalEvent||a,("click"===a.type||"opacity"===a.propertyName&&a.elapsedTime>=1)&&(h.remove(),p.splice(p.indexOf(h),1),e())}),angular.isNumber(f.delay)&&a(function(){h.addClass("killed")},f.delay),angular.element(document.getElementsByTagName("body")).append(h);var j=-(parseInt(h[0].offsetHeight)+50);h.css(h._positionY,j+"px"),p.push(h),d._templateElement=h,d.kill=function(b){b?(p.splice(p.indexOf(d._templateElement),1),d._templateElement.remove(),a(e)):d._templateElement.addClass("killed")},a(e),q||(angular.element(i).bind("resize",function(){a(e)}),q=!0),s.resolve(d)}).error(function(a){throw new Error("Template ("+f.template+") could not be loaded. "+a)}),s.promise};return r.primary=function(a){return this(a,"primary")},r.error=function(a){return this(a,"error")},r.success=function(a){return this(a,"success")},r.info=function(a){return this(a,"info")},r.warning=function(a){return this(a,"warning")},r.clearAll=function(){angular.forEach(p,function(a){a.addClass("killed")})},r}]}),angular.module("ui-notification").run(["$templateCache",function(a){a.put("angular-ui-notification.html",'<div class="ui-notification"><h3 ng-show="title" ng-bind-html="title"></h3><div class="message" ng-bind-html="message"></div></div>')}]),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="ui.router"),function(a,b,c){"use strict";function d(a,b){return N(new(N(function(){},{prototype:a})),b)}function e(a){return M(arguments,function(b){b!==a&&M(b,function(b,c){a.hasOwnProperty(c)||(a[c]=b)})}),a}function f(a,b){var c=[];for(var d in a.path){if(a.path[d]!==b.path[d])break;c.push(a.path[d])}return c}function g(a){if(Object.keys)return Object.keys(a);var b=[];return M(a,function(a,c){b.push(c)}),b}function h(a,b){if(Array.prototype.indexOf)return a.indexOf(b,Number(arguments[2])||0);var c=a.length>>>0,d=Number(arguments[2])||0;for(d=0>d?Math.ceil(d):Math.floor(d),0>d&&(d+=c);c>d;d++)if(d in a&&a[d]===b)return d;return-1}function i(a,b,c,d){var e,i=f(c,d),j={},k=[];for(var l in i)if(i[l].params&&(e=g(i[l].params),e.length))for(var m in e)h(k,e[m])>=0||(k.push(e[m]),j[e[m]]=a[e[m]]);return N({},j,b)}function j(a,b,c){if(!c){c=[];for(var d in a)c.push(d)}for(var e=0;e<c.length;e++){var f=c[e];if(a[f]!=b[f])return!1}return!0}function k(a,b){var c={};return M(a,function(a){c[a]=b[a]}),c}function l(a){var b={},c=Array.prototype.concat.apply(Array.prototype,Array.prototype.slice.call(arguments,1));return M(c,function(c){c in a&&(b[c]=a[c])}),b}function m(a){var b={},c=Array.prototype.concat.apply(Array.prototype,Array.prototype.slice.call(arguments,1));for(var d in a)-1==h(c,d)&&(b[d]=a[d]);return b}function n(a,b){var c=L(a),d=c?[]:{};return M(a,function(a,e){b(a,e)&&(d[c?d.length:e]=a)}),d}function o(a,b){var c=L(a)?[]:{};return M(a,function(a,d){c[d]=b(a,d)}),c}function p(a,b){var d=1,f=2,i={},j=[],k=i,l=N(a.when(i),{$$promises:i,$$values:i});this.study=function(i){function n(a,c){if(s[c]!==f){if(r.push(c),s[c]===d)throw r.splice(0,h(r,c)),new Error("Cyclic dependency: "+r.join(" -> "));if(s[c]=d,J(a))q.push(c,[function(){return b.get(a)}],j);else{var e=b.annotate(a);M(e,function(a){a!==c&&i.hasOwnProperty(a)&&n(i[a],a)}),q.push(c,a,e)}r.pop(),s[c]=f}}function o(a){return K(a)&&a.then&&a.$$promises}if(!K(i))throw new Error("'invocables' must be an object");var p=g(i||{}),q=[],r=[],s={};return M(i,n),i=r=s=null,function(d,f,g){function h(){--u||(v||e(t,f.$$values),r.$$values=t,r.$$promises=r.$$promises||!0,delete r.$$inheritedValues,n.resolve(t))}function i(a){r.$$failure=a,n.reject(a)}function j(c,e,f){function j(a){l.reject(a),i(a)}function k(){if(!H(r.$$failure))try{l.resolve(b.invoke(e,g,t)),l.promise.then(function(a){t[c]=a,h()},j)}catch(a){j(a)}}var l=a.defer(),m=0;M(f,function(a){s.hasOwnProperty(a)&&!d.hasOwnProperty(a)&&(m++,s[a].then(function(b){t[a]=b,--m||k()},j))}),m||k(),s[c]=l.promise}if(o(d)&&g===c&&(g=f,f=d,d=null),d){if(!K(d))throw new Error("'locals' must be an object")}else d=k;if(f){if(!o(f))throw new Error("'parent' must be a promise returned by $resolve.resolve()")}else f=l;var n=a.defer(),r=n.promise,s=r.$$promises={},t=N({},d),u=1+q.length/3,v=!1;if(H(f.$$failure))return i(f.$$failure),r;f.$$inheritedValues&&e(t,m(f.$$inheritedValues,p)),N(s,f.$$promises),f.$$values?(v=e(t,m(f.$$values,p)),r.$$inheritedValues=m(f.$$values,p),h()):(f.$$inheritedValues&&(r.$$inheritedValues=m(f.$$inheritedValues,p)),f.then(h,i));for(var w=0,x=q.length;x>w;w+=3)d.hasOwnProperty(q[w])?h():j(q[w],q[w+1],q[w+2]);return r}},this.resolve=function(a,b,c,d){return this.study(a)(b,c,d)}}function q(a,b,c){this.fromConfig=function(a,b,c){return H(a.template)?this.fromString(a.template,b):H(a.templateUrl)?this.fromUrl(a.templateUrl,b):H(a.templateProvider)?this.fromProvider(a.templateProvider,b,c):null},this.fromString=function(a,b){return I(a)?a(b):a},this.fromUrl=function(c,d){return I(c)&&(c=c(d)),null==c?null:a.get(c,{cache:b,headers:{Accept:"text/html"}}).then(function(a){return a.data})},this.fromProvider=function(a,b,d){return c.invoke(a,null,d||{params:b})}}function r(a,b,e){function f(b,c,d,e){if(q.push(b),o[b])return o[b];if(!/^\w+(-+\w+)*(?:\[\])?$/.test(b))throw new Error("Invalid parameter name '"+b+"' in pattern '"+a+"'");if(p[b])throw new Error("Duplicate parameter name '"+b+"' in pattern '"+a+"'");return p[b]=new P.Param(b,c,d,e),p[b]}function g(a,b,c,d){var e=["",""],f=a.replace(/[\\\[\]\^$*+?.()|{}]/g,"\\$&");if(!b)return f;switch(c){case!1:e=["(",")"+(d?"?":"")];break;case!0:e=["?(",")?"];break;default:e=["("+c+"|",")?"]}return f+e[0]+b+e[1]}function h(e,f){var g,h,i,j,k;return g=e[2]||e[3],k=b.params[g],i=a.substring(m,e.index),h=f?e[4]:e[4]||("*"==e[1]?".*":null),j=P.type(h||"string")||d(P.type("string"),{pattern:new RegExp(h,b.caseInsensitive?"i":c)}),{id:g,regexp:h,segment:i,type:j,cfg:k}}b=N({params:{}},K(b)?b:{});var i,j=/([:*])([\w\[\]]+)|\{([\w\[\]]+)(?:\:((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,k=/([:]?)([\w\[\]-]+)|\{([\w\[\]-]+)(?:\:((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,l="^",m=0,n=this.segments=[],o=e?e.params:{},p=this.params=e?e.params.$$new():new P.ParamSet,q=[];this.source=a;for(var r,s,t;(i=j.exec(a))&&(r=h(i,!1),!(r.segment.indexOf("?")>=0));)s=f(r.id,r.type,r.cfg,"path"),l+=g(r.segment,s.type.pattern.source,s.squash,s.isOptional),n.push(r.segment),m=j.lastIndex;t=a.substring(m);var u=t.indexOf("?");if(u>=0){var v=this.sourceSearch=t.substring(u);if(t=t.substring(0,u),this.sourcePath=a.substring(0,m+u),v.length>0)for(m=0;i=k.exec(v);)r=h(i,!0),s=f(r.id,r.type,r.cfg,"search"),m=j.lastIndex}else this.sourcePath=a,this.sourceSearch="";l+=g(t)+(b.strict===!1?"/?":"")+"$",n.push(t),this.regexp=new RegExp(l,b.caseInsensitive?"i":c),this.prefix=n[0],this.$$paramNames=q}function s(a){N(this,a)}function t(){function a(a){return null!=a?a.toString().replace(/\//g,"%2F"):a}function e(a){return null!=a?a.toString().replace(/%2F/g,"/"):a}function f(){return{strict:p,caseInsensitive:m}}function i(a){return I(a)||L(a)&&I(a[a.length-1])}function j(){for(;w.length;){var a=w.shift();if(a.pattern)throw new Error("You cannot override a type's .pattern at runtime.");b.extend(u[a.name],l.invoke(a.def))}}function k(a){N(this,a||{})}P=this;var l,m=!1,p=!0,q=!1,u={},v=!0,w=[],x={string:{encode:a,decode:e,is:function(a){return null==a||!H(a)||"string"==typeof a},pattern:/[^\/]*/},"int":{encode:a,decode:function(a){return parseInt(a,10)},is:function(a){return H(a)&&this.decode(a.toString())===a},pattern:/\d+/},bool:{encode:function(a){return a?1:0},decode:function(a){return 0!==parseInt(a,10)},is:function(a){return a===!0||a===!1},pattern:/0|1/},date:{encode:function(a){return this.is(a)?[a.getFullYear(),("0"+(a.getMonth()+1)).slice(-2),("0"+a.getDate()).slice(-2)].join("-"):c},decode:function(a){if(this.is(a))return a;var b=this.capture.exec(a);return b?new Date(b[1],b[2]-1,b[3]):c},is:function(a){return a instanceof Date&&!isNaN(a.valueOf())},equals:function(a,b){return this.is(a)&&this.is(b)&&a.toISOString()===b.toISOString()},pattern:/[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])/,capture:/([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])/},json:{encode:b.toJson,decode:b.fromJson,is:b.isObject,equals:b.equals,pattern:/[^\/]*/},any:{encode:b.identity,decode:b.identity,equals:b.equals,pattern:/.*/}};t.$$getDefaultValue=function(a){if(!i(a.value))return a.value;if(!l)throw new Error("Injectable functions cannot be called at configuration time");return l.invoke(a.value)},this.caseInsensitive=function(a){return H(a)&&(m=a),m},this.strictMode=function(a){return H(a)&&(p=a),p},this.defaultSquashPolicy=function(a){if(!H(a))return q;if(a!==!0&&a!==!1&&!J(a))throw new Error("Invalid squash policy: "+a+". Valid policies: false, true, arbitrary-string");return q=a,a},this.compile=function(a,b){return new r(a,N(f(),b))},this.isMatcher=function(a){if(!K(a))return!1;var b=!0;return M(r.prototype,function(c,d){I(c)&&(b=b&&H(a[d])&&I(a[d]))}),b},this.type=function(a,b,c){if(!H(b))return u[a];if(u.hasOwnProperty(a))throw new Error("A type named '"+a+"' has already been defined.");return u[a]=new s(N({name:a},b)),c&&(w.push({name:a,def:c}),v||j()),this},M(x,function(a,b){u[b]=new s(N({name:b},a))}),u=d(u,{}),this.$get=["$injector",function(a){return l=a,v=!1,j(),M(x,function(a,b){u[b]||(u[b]=new s(a))}),this}],this.Param=function(a,b,d,e){function f(a){var b=K(a)?g(a):[],c=-1===h(b,"value")&&-1===h(b,"type")&&-1===h(b,"squash")&&-1===h(b,"array");return c&&(a={value:a}),a.$$fn=i(a.value)?a.value:function(){return a.value},a}function j(b,c,d){if(b.type&&c)throw new Error("Param '"+a+"' has two type configurations.");return c?c:b.type?b.type instanceof s?b.type:new s(b.type):"config"===d?u.any:u.string}function k(){var b={array:"search"===e?"auto":!1},c=a.match(/\[\]$/)?{array:!0}:{};return N(b,c,d).array}function m(a,b){var c=a.squash;if(!b||c===!1)return!1;if(!H(c)||null==c)return q;if(c===!0||J(c))return c;throw new Error("Invalid squash policy: '"+c+"'. Valid policies: false, true, or arbitrary string")}function p(a,b,d,e){var f,g,i=[{from:"",to:d||b?c:""},{from:null,to:d||b?c:""}];return f=L(a.replace)?a.replace:[],J(e)&&f.push({from:e,to:c}),g=o(f,function(a){return a.from}),n(i,function(a){return-1===h(g,a.from)}).concat(f)}function r(){if(!l)throw new Error("Injectable functions cannot be called at configuration time");var a=l.invoke(d.$$fn);if(null!==a&&a!==c&&!w.type.is(a))throw new Error("Default value ("+a+") for parameter '"+w.id+"' is not an instance of Type ("+w.type.name+")");return a}function t(a){function b(a){return function(b){return b.from===a}}function c(a){var c=o(n(w.replace,b(a)),function(a){return a.to});return c.length?c[0]:a}return a=c(a),H(a)?w.type.$normalize(a):r()}function v(){return"{Param:"+a+" "+b+" squash: '"+z+"' optional: "+y+"}"}var w=this;d=f(d),b=j(d,b,e);var x=k();b=x?b.$asArray(x,"search"===e):b,"string"!==b.name||x||"path"!==e||d.value!==c||(d.value="");var y=d.value!==c,z=m(d,y),A=p(d,x,y,z);N(this,{id:a,type:b,location:e,array:x,squash:z,replace:A,isOptional:y,value:t,dynamic:c,config:d,toString:v})},k.prototype={$$new:function(){return d(this,N(new k,{$$parent:this}))},$$keys:function(){for(var a=[],b=[],c=this,d=g(k.prototype);c;)b.push(c),c=c.$$parent;return b.reverse(),M(b,function(b){M(g(b),function(b){-1===h(a,b)&&-1===h(d,b)&&a.push(b)})}),a},$$values:function(a){var b={},c=this;return M(c.$$keys(),function(d){b[d]=c[d].value(a&&a[d])}),b},$$equals:function(a,b){var c=!0,d=this;return M(d.$$keys(),function(e){var f=a&&a[e],g=b&&b[e];d[e].type.equals(f,g)||(c=!1)}),c},$$validates:function(a){var d,e,f,g,h,i=this.$$keys();for(d=0;d<i.length&&(e=this[i[d]],f=a[i[d]],f!==c&&null!==f||!e.isOptional);d++){if(g=e.type.$normalize(f),!e.type.is(g))return!1;if(h=e.type.encode(g),b.isString(h)&&!e.type.pattern.exec(h))return!1}return!0},$$parent:c},this.ParamSet=k}function u(a,d){function e(a){var b=/^\^((?:\\[^a-zA-Z0-9]|[^\\\[\]\^$*+?.()|{}]+)*)/.exec(a.source);return null!=b?b[1].replace(/\\(.)/g,"$1"):""}function f(a,b){return a.replace(/\$(\$|\d{1,2})/,function(a,c){return b["$"===c?0:Number(c)]})}function g(a,b,c){if(!c)return!1;var d=a.invoke(b,b,{$match:c});return H(d)?d:!0}function h(d,e,f,g){function h(a,b,c){return"/"===p?a:b?p.slice(0,-1)+a:c?p.slice(1)+a:a}function m(a){function b(a){var b=a(f,d);return b?(J(b)&&d.replace().url(b),!0):!1}if(!a||!a.defaultPrevented){o&&d.url()===o;o=c;var e,g=j.length;for(e=0;g>e;e++)if(b(j[e]))return;k&&b(k)}}function n(){return i=i||e.$on("$locationChangeSuccess",m)}var o,p=g.baseHref(),q=d.url();return l||n(),{sync:function(){m()},listen:function(){return n()},update:function(a){return a?void(q=d.url()):void(d.url()!==q&&(d.url(q),d.replace()))},push:function(a,b,e){var f=a.format(b||{});null!==f&&b&&b["#"]&&(f+="#"+b["#"]),d.url(f),o=e&&e.$$avoidResync?d.url():c,e&&e.replace&&d.replace()},href:function(c,e,f){if(!c.validates(e))return null;var g=a.html5Mode();b.isObject(g)&&(g=g.enabled);var i=c.format(e);if(f=f||{},g||null===i||(i="#"+a.hashPrefix()+i),null!==i&&e&&e["#"]&&(i+="#"+e["#"]),i=h(i,g,f.absolute),!f.absolute||!i)return i;var j=!g&&i?"/":"",k=d.port();return k=80===k||443===k?"":":"+k,[d.protocol(),"://",d.host(),k,j,i].join("")}}}var i,j=[],k=null,l=!1;this.rule=function(a){if(!I(a))throw new Error("'rule' must be a function");return j.push(a),this},this.otherwise=function(a){if(J(a)){var b=a;a=function(){return b}}else if(!I(a))throw new Error("'rule' must be a function");return k=a,this},this.when=function(a,b){var c,h=J(b);if(J(a)&&(a=d.compile(a)),!h&&!I(b)&&!L(b))throw new Error("invalid 'handler' in when()");var i={matcher:function(a,b){return h&&(c=d.compile(b),b=["$match",function(a){return c.format(a)}]),N(function(c,d){return g(c,b,a.exec(d.path(),d.search()))},{prefix:J(a.prefix)?a.prefix:""})},regex:function(a,b){if(a.global||a.sticky)throw new Error("when() RegExp must not be global or sticky");return h&&(c=b,b=["$match",function(a){return f(c,a)}]),N(function(c,d){return g(c,b,a.exec(d.path()))},{prefix:e(a)})}},j={matcher:d.isMatcher(a),regex:a instanceof RegExp};for(var k in j)if(j[k])return this.rule(i[k](a,b));throw new Error("invalid 'what' in when()")},this.deferIntercept=function(a){a===c&&(a=!0),l=a},this.$get=h,h.$inject=["$location","$rootScope","$injector","$browser"]}function v(a,e){function f(a){return 0===a.indexOf(".")||0===a.indexOf("^")}function m(a,b){if(!a)return c;var d=J(a),e=d?a:a.name,g=f(e);if(g){if(!b)throw new Error("No reference point given for path '"+e+"'");b=m(b);for(var h=e.split("."),i=0,j=h.length,k=b;j>i;i++)if(""!==h[i]||0!==i){if("^"!==h[i])break;if(!k.parent)throw new Error("Path '"+e+"' not valid for state '"+b.name+"'");k=k.parent}else k=b;h=h.slice(i).join("."),e=k.name+(k.name&&h?".":"")+h}var l=z[e];return!l||!d&&(d||l!==a&&l.self!==a)?c:l}function n(a,b){A[a]||(A[a]=[]),A[a].push(b)}function p(a){for(var b=A[a]||[];b.length;)q(b.shift())}function q(b){b=d(b,{self:b,resolve:b.resolve||{},toString:function(){return this.name}});var c=b.name;if(!J(c)||c.indexOf("@")>=0)throw new Error("State must have a valid name");if(z.hasOwnProperty(c))throw new Error("State '"+c+"'' is already defined");var e=-1!==c.indexOf(".")?c.substring(0,c.lastIndexOf(".")):J(b.parent)?b.parent:K(b.parent)&&J(b.parent.name)?b.parent.name:"";if(e&&!z[e])return n(e,b.self);for(var f in C)I(C[f])&&(b[f]=C[f](b,C.$delegates[f]));return z[c]=b,!b[B]&&b.url&&a.when(b.url,["$match","$stateParams",function(a,c){y.$current.navigable==b&&j(a,c)||y.transitionTo(b,a,{inherit:!0,location:!1})}]),p(c),b}function r(a){return a.indexOf("*")>-1}function s(a){for(var b=a.split("."),c=y.$current.name.split("."),d=0,e=b.length;e>d;d++)"*"===b[d]&&(c[d]="*");return"**"===b[0]&&(c=c.slice(h(c,b[1])),c.unshift("**")),"**"===b[b.length-1]&&(c.splice(h(c,b[b.length-2])+1,Number.MAX_VALUE),c.push("**")),b.length!=c.length?!1:c.join("")===b.join("")}function t(a,b){return J(a)&&!H(b)?C[a]:I(b)&&J(a)?(C[a]&&!C.$delegates[a]&&(C.$delegates[a]=C[a]),C[a]=b,this):this}function u(a,b){return K(a)?b=a:b.name=a,q(b),this}function v(a,e,f,h,l,n,p,q,t){function u(b,c,d,f){var g=a.$broadcast("$stateNotFound",b,c,d);if(g.defaultPrevented)return p.update(),D;if(!g.retry)return null;if(f.$retry)return p.update(),E;var h=y.transition=e.when(g.retry);return h.then(function(){return h!==y.transition?A:(b.options.$retry=!0,y.transitionTo(b.to,b.toParams,b.options))},function(){return D}),p.update(),h}function v(a,c,d,g,i,j){function m(){var c=[];return M(a.views,function(d,e){var g=d.resolve&&d.resolve!==a.resolve?d.resolve:{};g.$template=[function(){return f.load(e,{view:d,locals:i.globals,params:n,notify:j.notify})||""}],c.push(l.resolve(g,i.globals,i.resolve,a).then(function(c){if(I(d.controllerProvider)||L(d.controllerProvider)){var f=b.extend({},g,i.globals);c.$$controller=h.invoke(d.controllerProvider,null,f)}else c.$$controller=d.controller;c.$$state=a,c.$$controllerAs=d.controllerAs,i[e]=c}))}),e.all(c).then(function(){return i.globals})}var n=d?c:k(a.params.$$keys(),c),o={$stateParams:n};i.resolve=l.resolve(a.resolve,o,i.resolve,a);var p=[i.resolve.then(function(a){i.globals=a})];return g&&p.push(g),e.all(p).then(m).then(function(a){return i})}var A=e.reject(new Error("transition superseded")),C=e.reject(new Error("transition prevented")),D=e.reject(new Error("transition aborted")),E=e.reject(new Error("transition failed"));return x.locals={resolve:null,globals:{$stateParams:{}}},y={params:{},current:x.self,$current:x,transition:null},y.reload=function(a){return y.transitionTo(y.current,n,{reload:a||!0,inherit:!1,notify:!0})},y.go=function(a,b,c){return y.transitionTo(a,b,N({inherit:!0,relative:y.$current},c))},y.transitionTo=function(b,c,f){c=c||{},f=N({location:!0,inherit:!1,relative:null,notify:!0,reload:!1,$retry:!1},f||{});var g,j=y.$current,l=y.params,o=j.path,q=m(b,f.relative),r=c["#"];if(!H(q)){var s={to:b,toParams:c,options:f},t=u(s,j.self,l,f);if(t)return t;if(b=s.to,c=s.toParams,f=s.options,q=m(b,f.relative),!H(q)){if(!f.relative)throw new Error("No such state '"+b+"'");throw new Error("Could not resolve '"+b+"' from state '"+f.relative+"'")}}if(q[B])throw new Error("Cannot transition to abstract state '"+b+"'");if(f.inherit&&(c=i(n,c||{},y.$current,q)),!q.params.$$validates(c))return E;c=q.params.$$values(c),b=q;var z=b.path,D=0,F=z[D],G=x.locals,I=[];if(f.reload){if(J(f.reload)||K(f.reload)){if(K(f.reload)&&!f.reload.name)throw new Error("Invalid reload state object");var L=f.reload===!0?o[0]:m(f.reload);if(f.reload&&!L)throw new Error("No such reload state '"+(J(f.reload)?f.reload:f.reload.name)+"'");for(;F&&F===o[D]&&F!==L;)G=I[D]=F.locals,D++,F=z[D]}}else for(;F&&F===o[D]&&F.ownParams.$$equals(c,l);)G=I[D]=F.locals,D++,F=z[D];if(w(b,c,j,l,G,f))return r&&(c["#"]=r),y.params=c,O(y.params,n),f.location&&b.navigable&&b.navigable.url&&(p.push(b.navigable.url,c,{$$avoidResync:!0,replace:"replace"===f.location}),p.update(!0)),y.transition=null,e.when(y.current);if(c=k(b.params.$$keys(),c||{}),f.notify&&a.$broadcast("$stateChangeStart",b.self,c,j.self,l).defaultPrevented)return a.$broadcast("$stateChangeCancel",b.self,c,j.self,l),p.update(),C;for(var M=e.when(G),P=D;P<z.length;P++,F=z[P])G=I[P]=d(G),M=v(F,c,F===b,M,G,f);var Q=y.transition=M.then(function(){var d,e,g;if(y.transition!==Q)return A;for(d=o.length-1;d>=D;d--)g=o[d],g.self.onExit&&h.invoke(g.self.onExit,g.self,g.locals.globals),g.locals=null;for(d=D;d<z.length;d++)e=z[d],e.locals=I[d],e.self.onEnter&&h.invoke(e.self.onEnter,e.self,e.locals.globals);return r&&(c["#"]=r),y.transition!==Q?A:(y.$current=b,y.current=b.self,y.params=c,O(y.params,n),y.transition=null,f.location&&b.navigable&&p.push(b.navigable.url,b.navigable.locals.globals.$stateParams,{$$avoidResync:!0,replace:"replace"===f.location}),f.notify&&a.$broadcast("$stateChangeSuccess",b.self,c,j.self,l),p.update(!0),y.current)},function(d){return y.transition!==Q?A:(y.transition=null,g=a.$broadcast("$stateChangeError",b.self,c,j.self,l,d),g.defaultPrevented||p.update(),e.reject(d))});return Q},y.is=function(a,b,d){d=N({relative:y.$current},d||{});var e=m(a,d.relative);return H(e)?y.$current!==e?!1:b?j(e.params.$$values(b),n):!0:c},y.includes=function(a,b,d){if(d=N({relative:y.$current},d||{}),J(a)&&r(a)){if(!s(a))return!1;a=y.$current.name}var e=m(a,d.relative);return H(e)?H(y.$current.includes[e.name])?b?j(e.params.$$values(b),n,g(b)):!0:!1:c},y.href=function(a,b,d){d=N({lossy:!0,inherit:!0,absolute:!1,relative:y.$current},d||{});var e=m(a,d.relative);if(!H(e))return null;d.inherit&&(b=i(n,b||{},y.$current,e));var f=e&&d.lossy?e.navigable:e;return f&&f.url!==c&&null!==f.url?p.href(f.url,k(e.params.$$keys().concat("#"),b||{}),{absolute:d.absolute}):null},y.get=function(a,b){if(0===arguments.length)return o(g(z),function(a){return z[a].self});var c=m(a,b||y.$current);return c&&c.self?c.self:null},y}function w(a,b,c,d,e,f){function g(a,b,c){function d(b){return"search"!=a.params[b].location}var e=a.params.$$keys().filter(d),f=l.apply({},[a.params].concat(e)),g=new P.ParamSet(f);return g.$$equals(b,c)}return!f.reload&&a===c&&(e===c.locals||a.self.reloadOnSearch===!1&&g(c,d,b))?!0:void 0}var x,y,z={},A={},B="abstract",C={parent:function(a){if(H(a.parent)&&a.parent)return m(a.parent);var b=/^(.+)\.[^.]+$/.exec(a.name);return b?m(b[1]):x},data:function(a){return a.parent&&a.parent.data&&(a.data=a.self.data=N({},a.parent.data,a.data)),a.data},url:function(a){var b=a.url,c={params:a.params||{}};if(J(b))return"^"==b.charAt(0)?e.compile(b.substring(1),c):(a.parent.navigable||x).url.concat(b,c);
 if(!b||e.isMatcher(b))return b;throw new Error("Invalid url '"+b+"' in state '"+a+"'")},navigable:function(a){return a.url?a:a.parent?a.parent.navigable:null},ownParams:function(a){var b=a.url&&a.url.params||new P.ParamSet;return M(a.params||{},function(a,c){b[c]||(b[c]=new P.Param(c,null,a,"config"))}),b},params:function(a){return a.parent&&a.parent.params?N(a.parent.params.$$new(),a.ownParams):new P.ParamSet},views:function(a){var b={};return M(H(a.views)?a.views:{"":a},function(c,d){d.indexOf("@")<0&&(d+="@"+a.parent.name),b[d]=c}),b},path:function(a){return a.parent?a.parent.path.concat(a):[]},includes:function(a){var b=a.parent?N({},a.parent.includes):{};return b[a.name]=!0,b},$delegates:{}};x=q({name:"",url:"^",views:null,"abstract":!0}),x.navigable=null,this.decorator=t,this.state=u,this.$get=v,v.$inject=["$rootScope","$q","$view","$injector","$resolve","$stateParams","$urlRouter","$location","$urlMatcherFactory"]}function w(){function a(a,b){return{load:function(c,d){var e,f={template:null,controller:null,view:null,locals:null,notify:!0,async:!0,params:{}};return d=N(f,d),d.view&&(e=b.fromConfig(d.view,d.params,d.locals)),e&&d.notify&&a.$broadcast("$viewContentLoading",d),e}}}this.$get=a,a.$inject=["$rootScope","$templateFactory"]}function x(){var a=!1;this.useAnchorScroll=function(){a=!0},this.$get=["$anchorScroll","$timeout",function(b,c){return a?b:function(a){return c(function(){a[0].scrollIntoView()},0,!1)}}]}function y(a,c,d,e){function f(){return c.has?function(a){return c.has(a)?c.get(a):null}:function(a){try{return c.get(a)}catch(b){return null}}}function g(a,b){var c=function(){return{enter:function(a,b,c){b.after(a),c()},leave:function(a,b){a.remove(),b()}}};if(j)return{enter:function(a,b,c){var d=j.enter(a,null,b,c);d&&d.then&&d.then(c)},leave:function(a,b){var c=j.leave(a,b);c&&c.then&&c.then(b)}};if(i){var d=i&&i(b,a);return{enter:function(a,b,c){d.enter(a,null,b),c()},leave:function(a,b){d.leave(a),b()}}}return c()}var h=f(),i=h("$animator"),j=h("$animate"),k={restrict:"ECA",terminal:!0,priority:400,transclude:"element",compile:function(c,f,h){return function(c,f,i){function j(){l&&(l.remove(),l=null),n&&(n.$destroy(),n=null),m&&(r.leave(m,function(){l=null}),l=m,m=null)}function k(g){var k,l=A(c,i,f,e),s=l&&a.$current&&a.$current.locals[l];if(g||s!==o){k=c.$new(),o=a.$current.locals[l];var t=h(k,function(a){r.enter(a,f,function(){n&&n.$emit("$viewContentAnimationEnded"),(b.isDefined(q)&&!q||c.$eval(q))&&d(a)}),j()});m=t,n=k,n.$emit("$viewContentLoaded"),n.$eval(p)}}var l,m,n,o,p=i.onload||"",q=i.autoscroll,r=g(i,c);c.$on("$stateChangeSuccess",function(){k(!1)}),c.$on("$viewContentLoading",function(){k(!1)}),k(!0)}}};return k}function z(a,b,c,d){return{restrict:"ECA",priority:-400,compile:function(e){var f=e.html();return function(e,g,h){var i=c.$current,j=A(e,h,g,d),k=i&&i.locals[j];if(k){g.data("$uiView",{name:j,state:k.$$state}),g.html(k.$template?k.$template:f);var l=a(g.contents());if(k.$$controller){k.$scope=e,k.$element=g;var m=b(k.$$controller,k);k.$$controllerAs&&(e[k.$$controllerAs]=m),g.data("$ngControllerController",m),g.children().data("$ngControllerController",m)}l(e)}}}}}function A(a,b,c,d){var e=d(b.uiView||b.name||"")(a),f=c.inheritedData("$uiView");return e.indexOf("@")>=0?e:e+"@"+(f?f.state.name:"")}function B(a,b){var c,d=a.match(/^\s*({[^}]*})\s*$/);if(d&&(a=b+"("+d[1]+")"),c=a.replace(/\n/g," ").match(/^([^(]+?)\s*(\((.*)\))?$/),!c||4!==c.length)throw new Error("Invalid state ref '"+a+"'");return{state:c[1],paramExpr:c[3]||null}}function C(a){var b=a.parent().inheritedData("$uiView");return b&&b.state&&b.state.name?b.state:void 0}function D(a,c){var d=["location","inherit","reload","absolute"];return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(e,f,g,h){var i=B(g.uiSref,a.current.name),j=null,k=C(f)||a.$current,l="[object SVGAnimatedString]"===Object.prototype.toString.call(f.prop("href"))?"xlink:href":"href",m=null,n="A"===f.prop("tagName").toUpperCase(),o="FORM"===f[0].nodeName,p=o?"action":l,q=!0,r={relative:k,inherit:!0},s=e.$eval(g.uiSrefOpts)||{};b.forEach(d,function(a){a in s&&(r[a]=s[a])});var t=function(c){if(c&&(j=b.copy(c)),q){m=a.href(i.state,j,r);var d=h[1]||h[0];return d&&d.$$addStateInfo(i.state,j),null===m?(q=!1,!1):void g.$set(p,m)}};i.paramExpr&&(e.$watch(i.paramExpr,function(a,b){a!==j&&t(a)},!0),j=b.copy(e.$eval(i.paramExpr))),t(),o||f.bind("click",function(b){var d=b.which||b.button;if(!(d>1||b.ctrlKey||b.metaKey||b.shiftKey||f.attr("target"))){var e=c(function(){a.go(i.state,j,r)});b.preventDefault();var g=n&&!m?1:0;b.preventDefault=function(){g--<=0&&c.cancel(e)}}})}}}function E(a,b,c){return{restrict:"A",controller:["$scope","$element","$attrs",function(b,d,e){function f(){g()?d.addClass(i):d.removeClass(i)}function g(){for(var a=0;a<j.length;a++)if(h(j[a].state,j[a].params))return!0;return!1}function h(b,c){return"undefined"!=typeof e.uiSrefActiveEq?a.is(b.name,c):a.includes(b.name,c)}var i,j=[];i=c(e.uiSrefActiveEq||e.uiSrefActive||"",!1)(b),this.$$addStateInfo=function(b,c){var e=a.get(b,C(d));j.push({state:e||{name:b},params:c}),f()},b.$on("$stateChangeSuccess",f)}]}}function F(a){var b=function(b){return a.is(b)};return b.$stateful=!0,b}function G(a){var b=function(b){return a.includes(b)};return b.$stateful=!0,b}var H=b.isDefined,I=b.isFunction,J=b.isString,K=b.isObject,L=b.isArray,M=b.forEach,N=b.extend,O=b.copy;b.module("ui.router.util",["ng"]),b.module("ui.router.router",["ui.router.util"]),b.module("ui.router.state",["ui.router.router","ui.router.util"]),b.module("ui.router",["ui.router.state"]),b.module("ui.router.compat",["ui.router"]),p.$inject=["$q","$injector"],b.module("ui.router.util").service("$resolve",p),q.$inject=["$http","$templateCache","$injector"],b.module("ui.router.util").service("$templateFactory",q);var P;r.prototype.concat=function(a,b){var c={caseInsensitive:P.caseInsensitive(),strict:P.strictMode(),squash:P.defaultSquashPolicy()};return new r(this.sourcePath+a+this.sourceSearch,N(c,b),this)},r.prototype.toString=function(){return this.source},r.prototype.exec=function(a,b){function c(a){function b(a){return a.split("").reverse().join("")}function c(a){return a.replace(/\\-/g,"-")}var d=b(a).split(/-(?!\\)/),e=o(d,b);return o(e,c).reverse()}var d=this.regexp.exec(a);if(!d)return null;b=b||{};var e,f,g,h=this.parameters(),i=h.length,j=this.segments.length-1,k={};if(j!==d.length-1)throw new Error("Unbalanced capture group in route '"+this.source+"'");for(e=0;j>e;e++){g=h[e];var l=this.params[g],m=d[e+1];for(f=0;f<l.replace;f++)l.replace[f].from===m&&(m=l.replace[f].to);m&&l.array===!0&&(m=c(m)),k[g]=l.value(m)}for(;i>e;e++)g=h[e],k[g]=this.params[g].value(b[g]);return k},r.prototype.parameters=function(a){return H(a)?this.params[a]||null:this.$$paramNames},r.prototype.validates=function(a){return this.params.$$validates(a)},r.prototype.format=function(a){function b(a){return encodeURIComponent(a).replace(/-/g,function(a){return"%5C%"+a.charCodeAt(0).toString(16).toUpperCase()})}a=a||{};var c=this.segments,d=this.parameters(),e=this.params;if(!this.validates(a))return null;var f,g=!1,h=c.length-1,i=d.length,j=c[0];for(f=0;i>f;f++){var k=h>f,l=d[f],m=e[l],n=m.value(a[l]),p=m.isOptional&&m.type.equals(m.value(),n),q=p?m.squash:!1,r=m.type.encode(n);if(k){var s=c[f+1];if(q===!1)null!=r&&(j+=L(r)?o(r,b).join("-"):encodeURIComponent(r)),j+=s;else if(q===!0){var t=j.match(/\/$/)?/\/?(.*)/:/(.*)/;j+=s.match(t)[1]}else J(q)&&(j+=q+s)}else{if(null==r||p&&q!==!1)continue;L(r)||(r=[r]),r=o(r,encodeURIComponent).join("&"+l+"="),j+=(g?"&":"?")+(l+"="+r),g=!0}}return j},s.prototype.is=function(a,b){return!0},s.prototype.encode=function(a,b){return a},s.prototype.decode=function(a,b){return a},s.prototype.equals=function(a,b){return a==b},s.prototype.$subPattern=function(){var a=this.pattern.toString();return a.substr(1,a.length-2)},s.prototype.pattern=/.*/,s.prototype.toString=function(){return"{Type:"+this.name+"}"},s.prototype.$normalize=function(a){return this.is(a)?a:this.decode(a)},s.prototype.$asArray=function(a,b){function d(a,b){function d(a,b){return function(){return a[b].apply(a,arguments)}}function e(a){return L(a)?a:H(a)?[a]:[]}function f(a){switch(a.length){case 0:return c;case 1:return"auto"===b?a[0]:a;default:return a}}function g(a){return!a}function h(a,b){return function(c){c=e(c);var d=o(c,a);return b===!0?0===n(d,g).length:f(d)}}function i(a){return function(b,c){var d=e(b),f=e(c);if(d.length!==f.length)return!1;for(var g=0;g<d.length;g++)if(!a(d[g],f[g]))return!1;return!0}}this.encode=h(d(a,"encode")),this.decode=h(d(a,"decode")),this.is=h(d(a,"is"),!0),this.equals=i(d(a,"equals")),this.pattern=a.pattern,this.$normalize=h(d(a,"$normalize")),this.name=a.name,this.$arrayMode=b}if(!a)return this;if("auto"===a&&!b)throw new Error("'auto' array mode is for query parameters only");return new d(this,a)},b.module("ui.router.util").provider("$urlMatcherFactory",t),b.module("ui.router.util").run(["$urlMatcherFactory",function(a){}]),u.$inject=["$locationProvider","$urlMatcherFactoryProvider"],b.module("ui.router.router").provider("$urlRouter",u),v.$inject=["$urlRouterProvider","$urlMatcherFactoryProvider"],b.module("ui.router.state").value("$stateParams",{}).provider("$state",v),w.$inject=[],b.module("ui.router.state").provider("$view",w),b.module("ui.router.state").provider("$uiViewScroll",x),y.$inject=["$state","$injector","$uiViewScroll","$interpolate"],z.$inject=["$compile","$controller","$state","$interpolate"],b.module("ui.router.state").directive("uiView",y),b.module("ui.router.state").directive("uiView",z),D.$inject=["$state","$timeout"],E.$inject=["$state","$stateParams","$interpolate"],b.module("ui.router.state").directive("uiSref",D).directive("uiSrefActive",E).directive("uiSrefActiveEq",E),F.$inject=["$state"],G.$inject=["$state"],b.module("ui.router.state").filter("isState",F).filter("includedByState",G)}(window,window.angular),function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){function b(b,d){var e,f,g,h=b.nodeName.toLowerCase();return"area"===h?(e=b.parentNode,f=e.name,b.href&&f&&"map"===e.nodeName.toLowerCase()?(g=a("img[usemap='#"+f+"']")[0],!!g&&c(g)):!1):(/^(input|select|textarea|button|object)$/.test(h)?!b.disabled:"a"===h?b.href||d:d)&&c(b)}function c(b){return a.expr.filters.visible(b)&&!a(b).parents().addBack().filter(function(){return"hidden"===a.css(this,"visibility")}).length}function d(a){for(var b,c;a.length&&a[0]!==document;){if(b=a.css("position"),("absolute"===b||"relative"===b||"fixed"===b)&&(c=parseInt(a.css("zIndex"),10),!isNaN(c)&&0!==c))return c;a=a.parent()}return 0}function e(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},a.extend(this._defaults,this.regional[""]),this.regional.en=a.extend(!0,{},this.regional[""]),this.regional["en-US"]=a.extend(!0,{},this.regional.en),this.dpDiv=f(a("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function f(b){var c="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return b.delegate(c,"mouseout",function(){a(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&a(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&a(this).removeClass("ui-datepicker-next-hover")}).delegate(c,"mouseover",g)}function g(){a.datepicker._isDisabledDatepicker(r.inline?r.dpDiv.parent()[0]:r.input[0])||(a(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),a(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&a(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&a(this).addClass("ui-datepicker-next-hover"))}function h(b,c){a.extend(b,c);for(var d in c)null==c[d]&&(b[d]=c[d]);return b}function i(a){return function(){var b=this.element.val();a.apply(this,arguments),this._refresh(),b!==this.element.val()&&this._trigger("change")}}a.ui=a.ui||{},a.extend(a.ui,{version:"1.11.4",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),a.fn.extend({scrollParent:function(b){var c=this.css("position"),d="absolute"===c,e=b?/(auto|scroll|hidden)/:/(auto|scroll)/,f=this.parents().filter(function(){var b=a(this);return d&&"static"===b.css("position")?!1:e.test(b.css("overflow")+b.css("overflow-y")+b.css("overflow-x"))}).eq(0);return"fixed"!==c&&f.length?f:a(this[0].ownerDocument||document)},uniqueId:function(){var a=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++a)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&a(this).removeAttr("id")})}}),a.extend(a.expr[":"],{data:a.expr.createPseudo?a.expr.createPseudo(function(b){return function(c){return!!a.data(c,b)}}):function(b,c,d){return!!a.data(b,d[3])},focusable:function(c){return b(c,!isNaN(a.attr(c,"tabindex")))},tabbable:function(c){var d=a.attr(c,"tabindex"),e=isNaN(d);return(e||d>=0)&&b(c,!e)}}),a("<a>").outerWidth(1).jquery||a.each(["Width","Height"],function(b,c){function d(b,c,d,f){return a.each(e,function(){c-=parseFloat(a.css(b,"padding"+this))||0,d&&(c-=parseFloat(a.css(b,"border"+this+"Width"))||0),f&&(c-=parseFloat(a.css(b,"margin"+this))||0)}),c}var e="Width"===c?["Left","Right"]:["Top","Bottom"],f=c.toLowerCase(),g={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn["inner"+c]=function(b){return void 0===b?g["inner"+c].call(this):this.each(function(){a(this).css(f,d(this,b)+"px")})},a.fn["outer"+c]=function(b,e){return"number"!=typeof b?g["outer"+c].call(this,b):this.each(function(){a(this).css(f,d(this,b,!0,e)+"px")})}}),a.fn.addBack||(a.fn.addBack=function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}),a("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(a.fn.removeData=function(b){return function(c){return arguments.length?b.call(this,a.camelCase(c)):b.call(this)}}(a.fn.removeData)),a.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),a.fn.extend({focus:function(b){return function(c,d){return"number"==typeof c?this.each(function(){var b=this;setTimeout(function(){a(b).focus(),d&&d.call(b)},c)}):b.apply(this,arguments)}}(a.fn.focus),disableSelection:function(){var a="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.bind(a+".ui-disableSelection",function(a){a.preventDefault()})}}(),enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(b){if(void 0!==b)return this.css("zIndex",b);if(this.length)for(var c,d,e=a(this[0]);e.length&&e[0]!==document;){if(c=e.css("position"),("absolute"===c||"relative"===c||"fixed"===c)&&(d=parseInt(e.css("zIndex"),10),!isNaN(d)&&0!==d))return d;e=e.parent()}return 0}}),a.ui.plugin={add:function(b,c,d){var e,f=a.ui[b].prototype;for(e in d)f.plugins[e]=f.plugins[e]||[],f.plugins[e].push([c,d[e]])},call:function(a,b,c,d){var e,f=a.plugins[b];if(f&&(d||a.element[0].parentNode&&11!==a.element[0].parentNode.nodeType))for(e=0;e<f.length;e++)a.options[f[e][0]]&&f[e][1].apply(a.element,c)}};var j=0,k=Array.prototype.slice;a.cleanData=function(b){return function(c){var d,e,f;for(f=0;null!=(e=c[f]);f++)try{d=a._data(e,"events"),d&&d.remove&&a(e).triggerHandler("remove")}catch(g){}b(c)}}(a.cleanData),a.widget=function(b,c,d){var e,f,g,h,i={},j=b.split(".")[0];return b=b.split(".")[1],e=j+"-"+b,d||(d=c,c=a.Widget),a.expr[":"][e.toLowerCase()]=function(b){return!!a.data(b,e)},a[j]=a[j]||{},f=a[j][b],g=a[j][b]=function(a,b){return this._createWidget?void(arguments.length&&this._createWidget(a,b)):new g(a,b)},a.extend(g,f,{version:d.version,_proto:a.extend({},d),_childConstructors:[]}),h=new c,h.options=a.widget.extend({},h.options),a.each(d,function(b,d){return a.isFunction(d)?void(i[b]=function(){var a=function(){return c.prototype[b].apply(this,arguments)},e=function(a){return c.prototype[b].apply(this,a)};return function(){var b,c=this._super,f=this._superApply;return this._super=a,this._superApply=e,b=d.apply(this,arguments),this._super=c,this._superApply=f,b}}()):void(i[b]=d)}),g.prototype=a.widget.extend(h,{widgetEventPrefix:f?h.widgetEventPrefix||b:b},i,{constructor:g,namespace:j,widgetName:b,widgetFullName:e}),f?(a.each(f._childConstructors,function(b,c){var d=c.prototype;a.widget(d.namespace+"."+d.widgetName,g,c._proto)}),delete f._childConstructors):c._childConstructors.push(g),a.widget.bridge(b,g),g},a.widget.extend=function(b){for(var c,d,e=k.call(arguments,1),f=0,g=e.length;g>f;f++)for(c in e[f])d=e[f][c],e[f].hasOwnProperty(c)&&void 0!==d&&(a.isPlainObject(d)?b[c]=a.isPlainObject(b[c])?a.widget.extend({},b[c],d):a.widget.extend({},d):b[c]=d);return b},a.widget.bridge=function(b,c){var d=c.prototype.widgetFullName||b;a.fn[b]=function(e){var f="string"==typeof e,g=k.call(arguments,1),h=this;return f?this.each(function(){var c,f=a.data(this,d);return"instance"===e?(h=f,!1):f?a.isFunction(f[e])&&"_"!==e.charAt(0)?(c=f[e].apply(f,g),c!==f&&void 0!==c?(h=c&&c.jquery?h.pushStack(c.get()):c,!1):void 0):a.error("no such method '"+e+"' for "+b+" widget instance"):a.error("cannot call methods on "+b+" prior to initialization; attempted to call method '"+e+"'")}):(g.length&&(e=a.widget.extend.apply(null,[e].concat(g))),this.each(function(){var b=a.data(this,d);b?(b.option(e||{}),b._init&&b._init()):a.data(this,d,new c(e,this))})),h}},a.Widget=function(){},a.Widget._childConstructors=[],a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(b,c){c=a(c||this.defaultElement||this)[0],this.element=a(c),this.uuid=j++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=a(),this.hoverable=a(),this.focusable=a(),c!==this&&(a.data(c,this.widgetFullName,this),this._on(!0,this.element,{remove:function(a){a.target===c&&this.destroy()}}),this.document=a(c.style?c.ownerDocument:c.document||c),this.window=a(this.document[0].defaultView||this.document[0].parentWindow)),this.options=a.widget.extend({},this.options,this._getCreateOptions(),b),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:a.noop,_getCreateEventData:a.noop,_create:a.noop,_init:a.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(a.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:a.noop,widget:function(){return this.element},option:function(b,c){var d,e,f,g=b;if(0===arguments.length)return a.widget.extend({},this.options);if("string"==typeof b)if(g={},d=b.split("."),b=d.shift(),d.length){for(e=g[b]=a.widget.extend({},this.options[b]),f=0;f<d.length-1;f++)e[d[f]]=e[d[f]]||{},e=e[d[f]];if(b=d.pop(),1===arguments.length)return void 0===e[b]?null:e[b];e[b]=c}else{if(1===arguments.length)return void 0===this.options[b]?null:this.options[b];g[b]=c}return this._setOptions(g),this},_setOptions:function(a){var b;for(b in a)this._setOption(b,a[b]);return this},_setOption:function(a,b){return this.options[a]=b,"disabled"===a&&(this.widget().toggleClass(this.widgetFullName+"-disabled",!!b),b&&(this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus"))),this},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_on:function(b,c,d){var e,f=this;"boolean"!=typeof b&&(d=c,c=b,b=!1),d?(c=e=a(c),this.bindings=this.bindings.add(c)):(d=c,c=this.element,e=this.widget()),a.each(d,function(d,g){function h(){return b||f.options.disabled!==!0&&!a(this).hasClass("ui-state-disabled")?("string"==typeof g?f[g]:g).apply(f,arguments):void 0}"string"!=typeof g&&(h.guid=g.guid=g.guid||h.guid||a.guid++);var i=d.match(/^([\w:-]*)\s*(.*)$/),j=i[1]+f.eventNamespace,k=i[2];k?e.delegate(k,j,h):c.bind(j,h)})},_off:function(b,c){c=(c||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,b.unbind(c).undelegate(c),this.bindings=a(this.bindings.not(b).get()),this.focusable=a(this.focusable.not(b).get()),this.hoverable=a(this.hoverable.not(b).get())},_delay:function(a,b){function c(){return("string"==typeof a?d[a]:a).apply(d,arguments)}var d=this;return setTimeout(c,b||0)},_hoverable:function(b){this.hoverable=this.hoverable.add(b),this._on(b,{mouseenter:function(b){a(b.currentTarget).addClass("ui-state-hover")},mouseleave:function(b){a(b.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(b){this.focusable=this.focusable.add(b),this._on(b,{focusin:function(b){a(b.currentTarget).addClass("ui-state-focus")},focusout:function(b){a(b.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(b,c,d){var e,f,g=this.options[b];if(d=d||{},c=a.Event(c),c.type=(b===this.widgetEventPrefix?b:this.widgetEventPrefix+b).toLowerCase(),c.target=this.element[0],f=c.originalEvent)for(e in f)e in c||(c[e]=f[e]);return this.element.trigger(c,d),!(a.isFunction(g)&&g.apply(this.element[0],[c].concat(d))===!1||c.isDefaultPrevented())}},a.each({show:"fadeIn",hide:"fadeOut"},function(b,c){a.Widget.prototype["_"+b]=function(d,e,f){"string"==typeof e&&(e={effect:e});var g,h=e?e===!0||"number"==typeof e?c:e.effect||c:b;e=e||{},"number"==typeof e&&(e={duration:e}),g=!a.isEmptyObject(e),e.complete=f,e.delay&&d.delay(e.delay),g&&a.effects&&a.effects.effect[h]?d[b](e):h!==b&&d[h]?d[h](e.duration,e.easing,f):d.queue(function(c){a(this)[b](),f&&f.call(d[0]),c()})}});var l=(a.widget,!1);a(document).mouseup(function(){l=!1});a.widget("ui.mouse",{version:"1.11.4",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var b=this;this.element.bind("mousedown."+this.widgetName,function(a){return b._mouseDown(a)}).bind("click."+this.widgetName,function(c){return!0===a.data(c.target,b.widgetName+".preventClickEvent")?(a.removeData(c.target,b.widgetName+".preventClickEvent"),c.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(b){if(!l){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(b),this._mouseDownEvent=b;var c=this,d=1===b.which,e="string"==typeof this.options.cancel&&b.target.nodeName?a(b.target).closest(this.options.cancel).length:!1;return d&&!e&&this._mouseCapture(b)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){c.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(b)&&this._mouseDelayMet(b)&&(this._mouseStarted=this._mouseStart(b)!==!1,!this._mouseStarted)?(b.preventDefault(),!0):(!0===a.data(b.target,this.widgetName+".preventClickEvent")&&a.removeData(b.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(a){return c._mouseMove(a)},this._mouseUpDelegate=function(a){return c._mouseUp(a)},this.document.bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),b.preventDefault(),l=!0,!0)):!0}},_mouseMove:function(b){if(this._mouseMoved){if(a.ui.ie&&(!document.documentMode||document.documentMode<9)&&!b.button)return this._mouseUp(b);if(!b.which)return this._mouseUp(b)}return(b.which||b.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(b),b.preventDefault()):(this._mouseDistanceMet(b)&&this._mouseDelayMet(b)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,b)!==!1,this._mouseStarted?this._mouseDrag(b):this._mouseUp(b)),!this._mouseStarted)},_mouseUp:function(b){return this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,b.target===this._mouseDownEvent.target&&a.data(b.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(b)),l=!1,!1},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}});!function(){function b(a,b,c){return[parseFloat(a[0])*(n.test(a[0])?b/100:1),parseFloat(a[1])*(n.test(a[1])?c/100:1)]}function c(b,c){return parseInt(a.css(b,c),10)||0}function d(b){var c=b[0];return 9===c.nodeType?{width:b.width(),height:b.height(),offset:{top:0,left:0}}:a.isWindow(c)?{width:b.width(),height:b.height(),offset:{top:b.scrollTop(),left:b.scrollLeft()}}:c.preventDefault?{width:0,height:0,offset:{top:c.pageY,left:c.pageX}}:{width:b.outerWidth(),height:b.outerHeight(),offset:b.offset()}}a.ui=a.ui||{};var e,f,g=Math.max,h=Math.abs,i=Math.round,j=/left|center|right/,k=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,m=/^\w+/,n=/%$/,o=a.fn.position;a.position={scrollbarWidth:function(){if(void 0!==e)return e;var b,c,d=a("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),f=d.children()[0];return a("body").append(d),b=f.offsetWidth,d.css("overflow","scroll"),c=f.offsetWidth,b===c&&(c=d[0].clientWidth),d.remove(),e=b-c},getScrollInfo:function(b){var c=b.isWindow||b.isDocument?"":b.element.css("overflow-x"),d=b.isWindow||b.isDocument?"":b.element.css("overflow-y"),e="scroll"===c||"auto"===c&&b.width<b.element[0].scrollWidth,f="scroll"===d||"auto"===d&&b.height<b.element[0].scrollHeight;return{width:f?a.position.scrollbarWidth():0,height:e?a.position.scrollbarWidth():0}},getWithinInfo:function(b){var c=a(b||window),d=a.isWindow(c[0]),e=!!c[0]&&9===c[0].nodeType;return{element:c,isWindow:d,isDocument:e,offset:c.offset()||{left:0,top:0},scrollLeft:c.scrollLeft(),scrollTop:c.scrollTop(),width:d||e?c.width():c.outerWidth(),height:d||e?c.height():c.outerHeight()}}},a.fn.position=function(e){if(!e||!e.of)return o.apply(this,arguments);e=a.extend({},e);var n,p,q,r,s,t,u=a(e.of),v=a.position.getWithinInfo(e.within),w=a.position.getScrollInfo(v),x=(e.collision||"flip").split(" "),y={};return t=d(u),u[0].preventDefault&&(e.at="left top"),p=t.width,q=t.height,r=t.offset,s=a.extend({},r),a.each(["my","at"],function(){var a,b,c=(e[this]||"").split(" ");1===c.length&&(c=j.test(c[0])?c.concat(["center"]):k.test(c[0])?["center"].concat(c):["center","center"]),c[0]=j.test(c[0])?c[0]:"center",c[1]=k.test(c[1])?c[1]:"center",a=l.exec(c[0]),b=l.exec(c[1]),y[this]=[a?a[0]:0,b?b[0]:0],e[this]=[m.exec(c[0])[0],m.exec(c[1])[0]]}),1===x.length&&(x[1]=x[0]),"right"===e.at[0]?s.left+=p:"center"===e.at[0]&&(s.left+=p/2),"bottom"===e.at[1]?s.top+=q:"center"===e.at[1]&&(s.top+=q/2),n=b(y.at,p,q),s.left+=n[0],s.top+=n[1],this.each(function(){var d,j,k=a(this),l=k.outerWidth(),m=k.outerHeight(),o=c(this,"marginLeft"),t=c(this,"marginTop"),z=l+o+c(this,"marginRight")+w.width,A=m+t+c(this,"marginBottom")+w.height,B=a.extend({},s),C=b(y.my,k.outerWidth(),k.outerHeight());"right"===e.my[0]?B.left-=l:"center"===e.my[0]&&(B.left-=l/2),"bottom"===e.my[1]?B.top-=m:"center"===e.my[1]&&(B.top-=m/2),B.left+=C[0],B.top+=C[1],f||(B.left=i(B.left),B.top=i(B.top)),d={marginLeft:o,marginTop:t},a.each(["left","top"],function(b,c){a.ui.position[x[b]]&&a.ui.position[x[b]][c](B,{targetWidth:p,targetHeight:q,elemWidth:l,elemHeight:m,collisionPosition:d,collisionWidth:z,collisionHeight:A,offset:[n[0]+C[0],n[1]+C[1]],my:e.my,at:e.at,within:v,elem:k})}),e.using&&(j=function(a){var b=r.left-B.left,c=b+p-l,d=r.top-B.top,f=d+q-m,i={target:{element:u,left:r.left,top:r.top,width:p,height:q},element:{element:k,left:B.left,top:B.top,width:l,height:m},horizontal:0>c?"left":b>0?"right":"center",vertical:0>f?"top":d>0?"bottom":"middle"};l>p&&h(b+c)<p&&(i.horizontal="center"),m>q&&h(d+f)<q&&(i.vertical="middle"),g(h(b),h(c))>g(h(d),h(f))?i.important="horizontal":i.important="vertical",e.using.call(this,a,i)}),k.offset(a.extend(B,{using:j}))})},a.ui.position={fit:{left:function(a,b){var c,d=b.within,e=d.isWindow?d.scrollLeft:d.offset.left,f=d.width,h=a.left-b.collisionPosition.marginLeft,i=e-h,j=h+b.collisionWidth-f-e;b.collisionWidth>f?i>0&&0>=j?(c=a.left+i+b.collisionWidth-f-e,a.left+=i-c):j>0&&0>=i?a.left=e:i>j?a.left=e+f-b.collisionWidth:a.left=e:i>0?a.left+=i:j>0?a.left-=j:a.left=g(a.left-h,a.left)},top:function(a,b){var c,d=b.within,e=d.isWindow?d.scrollTop:d.offset.top,f=b.within.height,h=a.top-b.collisionPosition.marginTop,i=e-h,j=h+b.collisionHeight-f-e;b.collisionHeight>f?i>0&&0>=j?(c=a.top+i+b.collisionHeight-f-e,a.top+=i-c):j>0&&0>=i?a.top=e:i>j?a.top=e+f-b.collisionHeight:a.top=e:i>0?a.top+=i:j>0?a.top-=j:a.top=g(a.top-h,a.top)}},flip:{left:function(a,b){var c,d,e=b.within,f=e.offset.left+e.scrollLeft,g=e.width,i=e.isWindow?e.scrollLeft:e.offset.left,j=a.left-b.collisionPosition.marginLeft,k=j-i,l=j+b.collisionWidth-g-i,m="left"===b.my[0]?-b.elemWidth:"right"===b.my[0]?b.elemWidth:0,n="left"===b.at[0]?b.targetWidth:"right"===b.at[0]?-b.targetWidth:0,o=-2*b.offset[0];0>k?(c=a.left+m+n+o+b.collisionWidth-g-f,(0>c||c<h(k))&&(a.left+=m+n+o)):l>0&&(d=a.left-b.collisionPosition.marginLeft+m+n+o-i,(d>0||h(d)<l)&&(a.left+=m+n+o))},top:function(a,b){var c,d,e=b.within,f=e.offset.top+e.scrollTop,g=e.height,i=e.isWindow?e.scrollTop:e.offset.top,j=a.top-b.collisionPosition.marginTop,k=j-i,l=j+b.collisionHeight-g-i,m="top"===b.my[1],n=m?-b.elemHeight:"bottom"===b.my[1]?b.elemHeight:0,o="top"===b.at[1]?b.targetHeight:"bottom"===b.at[1]?-b.targetHeight:0,p=-2*b.offset[1];0>k?(d=a.top+n+o+p+b.collisionHeight-g-f,(0>d||d<h(k))&&(a.top+=n+o+p)):l>0&&(c=a.top-b.collisionPosition.marginTop+n+o+p-i,(c>0||h(c)<l)&&(a.top+=n+o+p))}},flipfit:{left:function(){a.ui.position.flip.left.apply(this,arguments),a.ui.position.fit.left.apply(this,arguments)},top:function(){a.ui.position.flip.top.apply(this,arguments),
@@ -89,26 +89,11 @@ c=this._data.core.selected.length;c>b;b++)this._model.data[this._data.core.selec
 for(c=0,d=j.length;d>c;c++)if(h[j[c]]&&h[j[c]].parents)for(e=0,f=h[j[c]].parents.length;f>e;e++)g[h[j[c]].parents[e]]===b&&h[j[c]].parents[e]!==a.jstree.root&&(g[h[j[c]].parents[e]]=!0,k.push(h[j[c]].parents[e]));for(this.element.find(".jstree-closed").not(":has(.jstree-children)").each(function(){var i,j=l.get_node(this);if(j.state.loaded){for(c=0,d=j.children_d.length;d>c;c++)if(i=h[j.children_d[c]],!i.state.loaded&&i.original&&i.original.state&&i.original.state.undetermined&&i.original.state.undetermined===!0)for(g[i.id]===b&&i.id!==a.jstree.root&&(g[i.id]=!0,k.push(i.id)),e=0,f=i.parents.length;f>e;e++)g[i.parents[e]]===b&&i.parents[e]!==a.jstree.root&&(g[i.parents[e]]=!0,k.push(i.parents[e]))}else if(j.original&&j.original.state&&j.original.state.undetermined&&j.original.state.undetermined===!0)for(g[j.id]===b&&j.id!==a.jstree.root&&(g[j.id]=!0,k.push(j.id)),e=0,f=j.parents.length;f>e;e++)g[j.parents[e]]===b&&j.parents[e]!==a.jstree.root&&(g[j.parents[e]]=!0,k.push(j.parents[e]))}),this.element.find(".jstree-undetermined").removeClass("jstree-undetermined"),c=0,d=k.length;d>c;c++)h[k[c]].state[i?"selected":"checked"]||(j=this.get_node(k[c],!0),j&&j.length&&j.children(".jstree-anchor").children(".jstree-checkbox").addClass("jstree-undetermined"))}},this.redraw_node=function(b,c,e,f){if(b=d.redraw_node.apply(this,arguments)){var g,h,i=null,j=null;for(g=0,h=b.childNodes.length;h>g;g++)if(b.childNodes[g]&&b.childNodes[g].className&&-1!==b.childNodes[g].className.indexOf("jstree-anchor")){i=b.childNodes[g];break}i&&(!this.settings.checkbox.tie_selection&&this._model.data[b.id].state.checked&&(i.className+=" jstree-checked"),j=m.cloneNode(!1),this._model.data[b.id].state.checkbox_disabled&&(j.className+=" jstree-checkbox-disabled"),i.insertBefore(j,i.childNodes[0]))}return e||-1===this.settings.checkbox.cascade.indexOf("undetermined")||(this._data.checkbox.uto&&clearTimeout(this._data.checkbox.uto),this._data.checkbox.uto=setTimeout(a.proxy(this._undetermined,this),50)),b},this.show_checkboxes=function(){this._data.core.themes.checkboxes=!0,this.get_container_ul().removeClass("jstree-no-checkboxes")},this.hide_checkboxes=function(){this._data.core.themes.checkboxes=!1,this.get_container_ul().addClass("jstree-no-checkboxes")},this.toggle_checkboxes=function(){this._data.core.themes.checkboxes?this.hide_checkboxes():this.show_checkboxes()},this.is_undetermined=function(b){b=this.get_node(b);var c,d,e=this.settings.checkbox.cascade,f=this.settings.checkbox.tie_selection,g=this._data[f?"core":"checkbox"].selected,h=this._model.data;if(!b||b.state[f?"selected":"checked"]===!0||-1===e.indexOf("undetermined")||-1===e.indexOf("down")&&-1===e.indexOf("up"))return!1;if(!b.state.loaded&&b.original.state.undetermined===!0)return!0;for(c=0,d=b.children_d.length;d>c;c++)if(-1!==a.inArray(b.children_d[c],g)||!h[b.children_d[c]].state.loaded&&h[b.children_d[c]].original.state.undetermined)return!0;return!1},this.disable_checkbox=function(b){var c,d,e;if(a.isArray(b)){for(b=b.slice(),c=0,d=b.length;d>c;c++)this.disable_checkbox(b[c]);return!0}return b=this.get_node(b),b&&b.id!==a.jstree.root?(e=this.get_node(b,!0),void(b.state.checkbox_disabled||(b.state.checkbox_disabled=!0,e&&e.length&&e.children(".jstree-anchor").children(".jstree-checkbox").addClass("jstree-checkbox-disabled"),this.trigger("disable_checkbox",{node:b})))):!1},this.enable_checkbox=function(b){var c,d,e;if(a.isArray(b)){for(b=b.slice(),c=0,d=b.length;d>c;c++)this.enable_checkbox(b[c]);return!0}return b=this.get_node(b),b&&b.id!==a.jstree.root?(e=this.get_node(b,!0),void(b.state.checkbox_disabled&&(b.state.checkbox_disabled=!1,e&&e.length&&e.children(".jstree-anchor").children(".jstree-checkbox").removeClass("jstree-checkbox-disabled"),this.trigger("enable_checkbox",{node:b})))):!1},this.activate_node=function(b,c){return a(c.target).hasClass("jstree-checkbox-disabled")?!1:(this.settings.checkbox.tie_selection&&(this.settings.checkbox.whole_node||a(c.target).hasClass("jstree-checkbox"))&&(c.ctrlKey=!0),this.settings.checkbox.tie_selection||!this.settings.checkbox.whole_node&&!a(c.target).hasClass("jstree-checkbox")?d.activate_node.call(this,b,c):this.is_disabled(b)?!1:(this.is_checked(b)?this.uncheck_node(b,c):this.check_node(b,c),void this.trigger("activate_node",{node:this.get_node(b)})))},this.check_node=function(b,c){if(this.settings.checkbox.tie_selection)return this.select_node(b,!1,!0,c);var d,e,f;if(a.isArray(b)){for(b=b.slice(),e=0,f=b.length;f>e;e++)this.check_node(b[e],c);return!0}return b=this.get_node(b),b&&b.id!==a.jstree.root?(d=this.get_node(b,!0),void(b.state.checked||(b.state.checked=!0,this._data.checkbox.selected.push(b.id),d&&d.length&&d.children(".jstree-anchor").addClass("jstree-checked"),this.trigger("check_node",{node:b,selected:this._data.checkbox.selected,event:c})))):!1},this.uncheck_node=function(b,c){if(this.settings.checkbox.tie_selection)return this.deselect_node(b,!1,c);var d,e,f;if(a.isArray(b)){for(b=b.slice(),d=0,e=b.length;e>d;d++)this.uncheck_node(b[d],c);return!0}return b=this.get_node(b),b&&b.id!==a.jstree.root?(f=this.get_node(b,!0),void(b.state.checked&&(b.state.checked=!1,this._data.checkbox.selected=a.vakata.array_remove_item(this._data.checkbox.selected,b.id),f.length&&f.children(".jstree-anchor").removeClass("jstree-checked"),this.trigger("uncheck_node",{node:b,selected:this._data.checkbox.selected,event:c})))):!1},this.check_all=function(){if(this.settings.checkbox.tie_selection)return this.select_all();var b,c;this._data.checkbox.selected.concat([]);for(this._data.checkbox.selected=this._model.data[a.jstree.root].children_d.concat(),b=0,c=this._data.checkbox.selected.length;c>b;b++)this._model.data[this._data.checkbox.selected[b]]&&(this._model.data[this._data.checkbox.selected[b]].state.checked=!0);this.redraw(!0),this.trigger("check_all",{selected:this._data.checkbox.selected})},this.uncheck_all=function(){if(this.settings.checkbox.tie_selection)return this.deselect_all();var a,b,c=this._data.checkbox.selected.concat([]);for(a=0,b=this._data.checkbox.selected.length;b>a;a++)this._model.data[this._data.checkbox.selected[a]]&&(this._model.data[this._data.checkbox.selected[a]].state.checked=!1);this._data.checkbox.selected=[],this.element.find(".jstree-checked").removeClass("jstree-checked"),this.trigger("uncheck_all",{selected:this._data.checkbox.selected,node:c})},this.is_checked=function(b){return this.settings.checkbox.tie_selection?this.is_selected(b):(b=this.get_node(b),b&&b.id!==a.jstree.root?b.state.checked:!1)},this.get_checked=function(b){return this.settings.checkbox.tie_selection?this.get_selected(b):b?a.map(this._data.checkbox.selected,a.proxy(function(a){return this.get_node(a)},this)):this._data.checkbox.selected},this.get_top_checked=function(b){if(this.settings.checkbox.tie_selection)return this.get_top_selected(b);var c,d,e,f,g=this.get_checked(!0),h={};for(c=0,d=g.length;d>c;c++)h[g[c].id]=g[c];for(c=0,d=g.length;d>c;c++)for(e=0,f=g[c].children_d.length;f>e;e++)h[g[c].children_d[e]]&&delete h[g[c].children_d[e]];g=[];for(c in h)h.hasOwnProperty(c)&&g.push(c);return b?a.map(g,a.proxy(function(a){return this.get_node(a)},this)):g},this.get_bottom_checked=function(b){if(this.settings.checkbox.tie_selection)return this.get_bottom_selected(b);var c,d,e=this.get_checked(!0),f=[];for(c=0,d=e.length;d>c;c++)e[c].children.length||f.push(e[c].id);return b?a.map(f,a.proxy(function(a){return this.get_node(a)},this)):f},this.load_node=function(b,c){var e,f,g,h;if(!a.isArray(b)&&!this.settings.checkbox.tie_selection&&(h=this.get_node(b),h&&h.state.loaded))for(e=0,f=h.children_d.length;f>e;e++)this._model.data[h.children_d[e]].state.checked&&(g=!0,this._data.checkbox.selected=a.vakata.array_remove_item(this._data.checkbox.selected,h.children_d[e]));return d.load_node.apply(this,arguments)},this.get_state=function(){var a=d.get_state.apply(this,arguments);return this.settings.checkbox.tie_selection?a:(a.checkbox=this._data.checkbox.selected.slice(),a)},this.set_state=function(b,c){var e=d.set_state.apply(this,arguments);if(e&&b.checkbox){if(!this.settings.checkbox.tie_selection){this.uncheck_all();var f=this;a.each(b.checkbox,function(a,b){f.check_node(b)})}return delete b.checkbox,this.set_state(b,c),!1}return e},this.refresh=function(a,b){return this.settings.checkbox.tie_selection||(this._data.checkbox.selected=[]),d.refresh.apply(this,arguments)}},a.jstree.defaults.conditionalselect=function(){return!0},a.jstree.plugins.conditionalselect=function(a,b){this.activate_node=function(a,c){this.settings.conditionalselect.call(this,this.get_node(a),c)&&b.activate_node.call(this,a,c)}},a.jstree.defaults.contextmenu={select_node:!0,show_at_node:!0,items:function(b,c){return{create:{separator_before:!1,separator_after:!0,_disabled:!1,label:"Create",action:function(b){var c=a.jstree.reference(b.reference),d=c.get_node(b.reference);c.create_node(d,{},"last",function(a){setTimeout(function(){c.edit(a)},0)})}},rename:{separator_before:!1,separator_after:!1,_disabled:!1,label:"Rename",action:function(b){var c=a.jstree.reference(b.reference),d=c.get_node(b.reference);c.edit(d)}},remove:{separator_before:!1,icon:!1,separator_after:!1,_disabled:!1,label:"Delete",action:function(b){var c=a.jstree.reference(b.reference),d=c.get_node(b.reference);c.is_selected(d)?c.delete_node(c.get_selected()):c.delete_node(d)}},ccp:{separator_before:!0,icon:!1,separator_after:!1,label:"Edit",action:!1,submenu:{cut:{separator_before:!1,separator_after:!1,label:"Cut",action:function(b){var c=a.jstree.reference(b.reference),d=c.get_node(b.reference);c.is_selected(d)?c.cut(c.get_top_selected()):c.cut(d)}},copy:{separator_before:!1,icon:!1,separator_after:!1,label:"Copy",action:function(b){var c=a.jstree.reference(b.reference),d=c.get_node(b.reference);c.is_selected(d)?c.copy(c.get_top_selected()):c.copy(d)}},paste:{separator_before:!1,icon:!1,_disabled:function(b){return!a.jstree.reference(b.reference).can_paste()},separator_after:!1,label:"Paste",action:function(b){var c=a.jstree.reference(b.reference),d=c.get_node(b.reference);c.paste(d)}}}}}}},a.jstree.plugins.contextmenu=function(c,d){this.bind=function(){d.bind.call(this);var b,c,e=0,f=null;this.element.on("contextmenu.jstree",".jstree-anchor",a.proxy(function(a,b){a.preventDefault(),e=a.ctrlKey?+new Date:0,(b||f)&&(e=+new Date+1e4),f&&clearTimeout(f),this.is_loading(a.currentTarget)||this.show_contextmenu(a.currentTarget,a.pageX,a.pageY,a)},this)).on("click.jstree",".jstree-anchor",a.proxy(function(b){this._data.contextmenu.visible&&(!e||+new Date-e>250)&&a.vakata.context.hide(),e=0},this)).on("touchstart.jstree",".jstree-anchor",function(d){d.originalEvent&&d.originalEvent.changedTouches&&d.originalEvent.changedTouches[0]&&(b=d.pageX,c=d.pageY,f=setTimeout(function(){a(d.currentTarget).trigger("contextmenu",!0)},750))}).on("touchmove.vakata.jstree",function(a){f&&a.originalEvent&&a.originalEvent.changedTouches&&a.originalEvent.changedTouches[0]&&(Math.abs(b-a.pageX)>50||Math.abs(c-a.pageY)>50)&&clearTimeout(f)}).on("touchend.vakata.jstree",function(a){f&&clearTimeout(f)}),a(k).on("context_hide.vakata.jstree",a.proxy(function(){this._data.contextmenu.visible=!1},this))},this.teardown=function(){this._data.contextmenu.visible&&a.vakata.context.hide(),d.teardown.call(this)},this.show_contextmenu=function(c,d,e,f){if(c=this.get_node(c),!c||c.id===a.jstree.root)return!1;var g=this.settings.contextmenu,h=this.get_node(c,!0),i=h.children(".jstree-anchor"),j=!1,k=!1;(g.show_at_node||d===b||e===b)&&(j=i.offset(),d=j.left,e=j.top+this._data.core.li_height),this.settings.contextmenu.select_node&&!this.is_selected(c)&&this.activate_node(c,f),k=g.items,a.isFunction(k)&&(k=k.call(this,c,a.proxy(function(a){this._show_contextmenu(c,d,e,a)},this))),a.isPlainObject(k)&&this._show_contextmenu(c,d,e,k)},this._show_contextmenu=function(b,c,d,e){var f=this.get_node(b,!0),g=f.children(".jstree-anchor");a(k).one("context_show.vakata.jstree",a.proxy(function(b,c){var d="jstree-contextmenu jstree-"+this.get_theme()+"-contextmenu";a(c.element).addClass(d)},this)),this._data.contextmenu.visible=!0,a.vakata.context.show(g,{x:c,y:d},e),this.trigger("show_contextmenu",{node:b,x:c,y:d})}},function(a){var b=!1,c={element:!1,reference:!1,position_x:0,position_y:0,items:[],html:"",is_visible:!1};a.vakata.context={settings:{hide_onmouseleave:0,icons:!0},_trigger:function(b){a(k).triggerHandler("context_"+b+".vakata",{reference:c.reference,element:c.element,position:{x:c.position_x,y:c.position_y}})},_execute:function(b){return b=c.items[b],b&&(!b._disabled||a.isFunction(b._disabled)&&!b._disabled({item:b,reference:c.reference,element:c.element}))&&b.action?b.action.call(null,{item:b,reference:c.reference,element:c.element,position:{x:c.position_x,y:c.position_y}}):!1},_parse:function(b,d){if(!b)return!1;d||(c.html="",c.items=[]);var e,f="",g=!1;return d&&(f+="<ul>"),a.each(b,function(b,d){return d?(c.items.push(d),!g&&d.separator_before&&(f+="<li class='vakata-context-separator'><a href='#' "+(a.vakata.context.settings.icons?"":'style="margin-left:0px;"')+">&#160;</a></li>"),g=!1,f+="<li class='"+(d._class||"")+(d._disabled===!0||a.isFunction(d._disabled)&&d._disabled({item:d,reference:c.reference,element:c.element})?" vakata-contextmenu-disabled ":"")+"' "+(d.shortcut?" data-shortcut='"+d.shortcut+"' ":"")+">",f+="<a href='#' rel='"+(c.items.length-1)+"'>",a.vakata.context.settings.icons&&(f+="<i ",d.icon&&(f+=-1!==d.icon.indexOf("/")||-1!==d.icon.indexOf(".")?" style='background:url(\""+d.icon+"\") center center no-repeat' ":" class='"+d.icon+"' "),f+="></i><span class='vakata-contextmenu-sep'>&#160;</span>"),f+=(a.isFunction(d.label)?d.label({item:b,reference:c.reference,element:c.element}):d.label)+(d.shortcut?' <span class="vakata-contextmenu-shortcut vakata-contextmenu-shortcut-'+d.shortcut+'">'+(d.shortcut_label||"")+"</span>":"")+"</a>",d.submenu&&(e=a.vakata.context._parse(d.submenu,!0),e&&(f+=e)),f+="</li>",void(d.separator_after&&(f+="<li class='vakata-context-separator'><a href='#' "+(a.vakata.context.settings.icons?"":'style="margin-left:0px;"')+">&#160;</a></li>",g=!0))):!0}),f=f.replace(/<li class\='vakata-context-separator'\><\/li\>$/,""),d&&(f+="</ul>"),d||(c.html=f,a.vakata.context._trigger("parse")),f.length>10?f:!1},_show_submenu:function(c){if(c=a(c),c.length&&c.children("ul").length){var d=c.children("ul"),e=c.offset().left+c.outerWidth(),f=c.offset().top,g=d.width(),h=d.height(),i=a(window).width()+a(window).scrollLeft(),j=a(window).height()+a(window).scrollTop();b?c[e-(g+10+c.outerWidth())<0?"addClass":"removeClass"]("vakata-context-left"):c[e+g+10>i?"addClass":"removeClass"]("vakata-context-right"),f+h+10>j&&d.css("bottom","-1px"),d.show()}},show:function(d,e,f){var g,h,i,j,k,l,m,n,o=!0;switch(c.element&&c.element.length&&c.element.width(""),o){case!e&&!d:return!1;case!!e&&!!d:c.reference=d,c.position_x=e.x,c.position_y=e.y;break;case!e&&!!d:c.reference=d,g=d.offset(),c.position_x=g.left+d.outerHeight(),c.position_y=g.top;break;case!!e&&!d:c.position_x=e.x,c.position_y=e.y}d&&!f&&a(d).data("vakata_contextmenu")&&(f=a(d).data("vakata_contextmenu")),a.vakata.context._parse(f)&&c.element.html(c.html),c.items.length&&(c.element.appendTo("body"),h=c.element,i=c.position_x,j=c.position_y,k=h.width(),l=h.height(),m=a(window).width()+a(window).scrollLeft(),n=a(window).height()+a(window).scrollTop(),b&&(i-=h.outerWidth()-a(d).outerWidth(),i<a(window).scrollLeft()+20&&(i=a(window).scrollLeft()+20)),i+k+20>m&&(i=m-(k+20)),j+l+20>n&&(j=n-(l+20)),c.element.css({left:i,top:j}).show().find("a").first().focus().parent().addClass("vakata-context-hover"),c.is_visible=!0,a.vakata.context._trigger("show"))},hide:function(){c.is_visible&&(c.element.hide().find("ul").hide().end().find(":focus").blur().end().detach(),c.is_visible=!1,a.vakata.context._trigger("hide"))}},a(function(){b="rtl"===a("body").css("direction");var d=!1;c.element=a("<ul class='vakata-context'></ul>"),c.element.on("mouseenter","li",function(b){b.stopImmediatePropagation(),a.contains(this,b.relatedTarget)||(d&&clearTimeout(d),c.element.find(".vakata-context-hover").removeClass("vakata-context-hover").end(),a(this).siblings().find("ul").hide().end().end().parentsUntil(".vakata-context","li").addBack().addClass("vakata-context-hover"),a.vakata.context._show_submenu(this))}).on("mouseleave","li",function(b){a.contains(this,b.relatedTarget)||a(this).find(".vakata-context-hover").addBack().removeClass("vakata-context-hover")}).on("mouseleave",function(b){a(this).find(".vakata-context-hover").removeClass("vakata-context-hover"),a.vakata.context.settings.hide_onmouseleave&&(d=setTimeout(function(b){return function(){a.vakata.context.hide()}}(this),a.vakata.context.settings.hide_onmouseleave))}).on("click","a",function(b){b.preventDefault(),a(this).blur().parent().hasClass("vakata-context-disabled")||a.vakata.context._execute(a(this).attr("rel"))===!1||a.vakata.context.hide()}).on("keydown","a",function(b){var d=null;switch(b.which){case 13:case 32:b.type="mouseup",b.preventDefault(),a(b.currentTarget).trigger(b);break;case 37:c.is_visible&&(c.element.find(".vakata-context-hover").last().closest("li").first().find("ul").hide().find(".vakata-context-hover").removeClass("vakata-context-hover").end().end().children("a").focus(),b.stopImmediatePropagation(),b.preventDefault());break;case 38:c.is_visible&&(d=c.element.find("ul:visible").addBack().last().children(".vakata-context-hover").removeClass("vakata-context-hover").prevAll("li:not(.vakata-context-separator)").first(),d.length||(d=c.element.find("ul:visible").addBack().last().children("li:not(.vakata-context-separator)").last()),d.addClass("vakata-context-hover").children("a").focus(),b.stopImmediatePropagation(),b.preventDefault());break;case 39:c.is_visible&&(c.element.find(".vakata-context-hover").last().children("ul").show().children("li:not(.vakata-context-separator)").removeClass("vakata-context-hover").first().addClass("vakata-context-hover").children("a").focus(),b.stopImmediatePropagation(),b.preventDefault());break;case 40:c.is_visible&&(d=c.element.find("ul:visible").addBack().last().children(".vakata-context-hover").removeClass("vakata-context-hover").nextAll("li:not(.vakata-context-separator)").first(),d.length||(d=c.element.find("ul:visible").addBack().last().children("li:not(.vakata-context-separator)").first()),d.addClass("vakata-context-hover").children("a").focus(),b.stopImmediatePropagation(),b.preventDefault());break;case 27:a.vakata.context.hide(),b.preventDefault()}}).on("keydown",function(a){a.preventDefault();var b=c.element.find(".vakata-contextmenu-shortcut-"+a.which).parent();b.parent().not(".vakata-context-disabled")&&b.click()}),a(k).on("mousedown.vakata.jstree",function(b){c.is_visible&&!a.contains(c.element[0],b.target)&&a.vakata.context.hide()}).on("context_show.vakata.jstree",function(a,d){c.element.find("li:has(ul)").children("a").addClass("vakata-context-parent"),b&&c.element.addClass("vakata-context-rtl").css("direction","rtl"),c.element.find("ul").hide().end()})})}(a),a.jstree.defaults.dnd={copy:!0,open_timeout:500,is_draggable:!0,check_while_dragging:!0,always_copy:!1,inside_pos:0,drag_selection:!0,touch:!0,large_drop_target:!1,large_drag_target:!1},a.jstree.plugins.dnd=function(b,c){this.bind=function(){c.bind.call(this),this.element.on("mousedown.jstree touchstart.jstree",this.settings.dnd.large_drag_target?".jstree-node":".jstree-anchor",a.proxy(function(b){if(this.settings.dnd.large_drag_target&&a(b.target).closest(".jstree-node")[0]!==b.currentTarget)return!0;if("touchstart"===b.type&&(!this.settings.dnd.touch||"selected"===this.settings.dnd.touch&&!a(b.currentTarget).closest(".jstree-node").children(".jstree-anchor").hasClass("jstree-clicked")))return!0;var c=this.get_node(b.target),d=this.is_selected(c)&&this.settings.dnd.drag_selection?this.get_top_selected().length:1,e=d>1?d+" "+this.get_string("nodes"):this.get_text(b.currentTarget);return this.settings.core.force_text&&(e=a.vakata.html.escape(e)),c&&c.id&&c.id!==a.jstree.root&&(1===b.which||"touchstart"===b.type)&&(this.settings.dnd.is_draggable===!0||a.isFunction(this.settings.dnd.is_draggable)&&this.settings.dnd.is_draggable.call(this,d>1?this.get_top_selected(!0):[c],b))?(this.element.trigger("mousedown.jstree"),a.vakata.dnd.start(b,{jstree:!0,origin:this,obj:this.get_node(c,!0),nodes:d>1?this.get_top_selected():[c.id]},'<div id="jstree-dnd" class="jstree-'+this.get_theme()+" jstree-"+this.get_theme()+"-"+this.get_theme_variant()+" "+(this.settings.core.themes.responsive?" jstree-dnd-responsive":"")+'"><i class="jstree-icon jstree-er"></i>'+e+'<ins class="jstree-copy" style="display:none;">+</ins></div>')):void 0},this))}},a(function(){var b=!1,c=!1,d=!1,e=!1,f=a('<div id="jstree-marker">&#160;</div>').hide();a(k).on("dnd_start.vakata.jstree",function(a,c){b=!1,d=!1,c&&c.data&&c.data.jstree&&f.appendTo("body")}).on("dnd_move.vakata.jstree",function(g,h){if(e&&clearTimeout(e),h&&h.data&&h.data.jstree&&(!h.event.target.id||"jstree-marker"!==h.event.target.id)){d=h.event;var i,j,k,l,m,n,o,p,q,r,s,t,u,v,w=a.jstree.reference(h.event.target),x=!1,y=!1,z=!1;if(w&&w._data&&w._data.dnd)if(f.attr("class","jstree-"+w.get_theme()+(w.settings.core.themes.responsive?" jstree-dnd-responsive":"")),h.helper.children().attr("class","jstree-"+w.get_theme()+" jstree-"+w.get_theme()+"-"+w.get_theme_variant()+" "+(w.settings.core.themes.responsive?" jstree-dnd-responsive":"")).find(".jstree-copy").first()[h.data.origin&&(h.data.origin.settings.dnd.always_copy||h.data.origin.settings.dnd.copy&&(h.event.metaKey||h.event.ctrlKey))?"show":"hide"](),h.event.target!==w.element[0]&&h.event.target!==w.get_container_ul()[0]||0!==w.get_container_ul().children().length){if(x=w.settings.dnd.large_drop_target?a(h.event.target).closest(".jstree-node").children(".jstree-anchor"):a(h.event.target).closest(".jstree-anchor"),x&&x.length&&x.parent().is(".jstree-closed, .jstree-open, .jstree-leaf")&&(y=x.offset(),z=h.event.pageY-y.top,k=x.outerHeight(),n=k/3>z?["b","i","a"]:z>k-k/3?["a","i","b"]:z>k/2?["i","a","b"]:["i","b","a"],a.each(n,function(d,g){switch(g){case"b":i=y.left-6,j=y.top,l=w.get_parent(x),m=x.parent().index();break;case"i":u=w.settings.dnd.inside_pos,v=w.get_node(x.parent()),i=y.left-2,j=y.top+k/2+1,l=v.id,m="first"===u?0:"last"===u?v.children.length:Math.min(u,v.children.length);break;case"a":i=y.left-6,j=y.top+k,l=w.get_parent(x),m=x.parent().index()+1}for(o=!0,p=0,q=h.data.nodes.length;q>p;p++)if(r=h.data.origin&&(h.data.origin.settings.dnd.always_copy||h.data.origin.settings.dnd.copy&&(h.event.metaKey||h.event.ctrlKey))?"copy_node":"move_node",s=m,"move_node"===r&&"a"===g&&h.data.origin&&h.data.origin===w&&l===w.get_parent(h.data.nodes[p])&&(t=w.get_node(l),s>a.inArray(h.data.nodes[p],t.children)&&(s-=1)),o=o&&(w&&w.settings&&w.settings.dnd&&w.settings.dnd.check_while_dragging===!1||w.check(r,h.data.origin&&h.data.origin!==w?h.data.origin.get_node(h.data.nodes[p]):h.data.nodes[p],l,s,{dnd:!0,ref:w.get_node(x.parent()),pos:g,origin:h.data.origin,is_multi:h.data.origin&&h.data.origin!==w,is_foreign:!h.data.origin})),!o){w&&w.last_error&&(c=w.last_error());break}return"i"===g&&x.parent().is(".jstree-closed")&&w.settings.dnd.open_timeout&&(e=setTimeout(function(a,b){return function(){a.open_node(b)}}(w,x),w.settings.dnd.open_timeout)),o?(b={ins:w,par:l,pos:"i"!==g||"last"!==u||0!==m||w.is_loaded(v)?m:"last"},f.css({left:i+"px",top:j+"px"}).show(),h.helper.find(".jstree-icon").first().removeClass("jstree-er").addClass("jstree-ok"),c={},n=!0,!1):void 0}),n===!0))return}else{for(o=!0,p=0,q=h.data.nodes.length;q>p&&(o=o&&w.check(h.data.origin&&(h.data.origin.settings.dnd.always_copy||h.data.origin.settings.dnd.copy&&(h.event.metaKey||h.event.ctrlKey))?"copy_node":"move_node",h.data.origin&&h.data.origin!==w?h.data.origin.get_node(h.data.nodes[p]):h.data.nodes[p],a.jstree.root,"last",{dnd:!0,ref:w.get_node(a.jstree.root),pos:"i",origin:h.data.origin,is_multi:h.data.origin&&h.data.origin!==w,is_foreign:!h.data.origin}),o);p++);if(o)return b={ins:w,par:a.jstree.root,pos:"last"},f.hide(),void h.helper.find(".jstree-icon").first().removeClass("jstree-er").addClass("jstree-ok")}b=!1,h.helper.find(".jstree-icon").removeClass("jstree-ok").addClass("jstree-er"),f.hide()}}).on("dnd_scroll.vakata.jstree",function(a,c){c&&c.data&&c.data.jstree&&(f.hide(),b=!1,d=!1,c.helper.find(".jstree-icon").first().removeClass("jstree-ok").addClass("jstree-er"))}).on("dnd_stop.vakata.jstree",function(g,h){if(e&&clearTimeout(e),h&&h.data&&h.data.jstree){f.hide().detach();var i,j,k=[];if(b){for(i=0,j=h.data.nodes.length;j>i;i++)k[i]=h.data.origin?h.data.origin.get_node(h.data.nodes[i]):h.data.nodes[i];b.ins[h.data.origin&&(h.data.origin.settings.dnd.always_copy||h.data.origin.settings.dnd.copy&&(h.event.metaKey||h.event.ctrlKey))?"copy_node":"move_node"](k,b.par,b.pos,!1,!1,!1,h.data.origin)}else i=a(h.event.target).closest(".jstree"),i.length&&c&&c.error&&"check"===c.error&&(i=i.jstree(!0),i&&i.settings.core.error.call(this,c));d=!1,b=!1}}).on("keyup.jstree keydown.jstree",function(b,c){c=a.vakata.dnd._get(),c&&c.data&&c.data.jstree&&(c.helper.find(".jstree-copy").first()[c.data.origin&&(c.data.origin.settings.dnd.always_copy||c.data.origin.settings.dnd.copy&&(b.metaKey||b.ctrlKey))?"show":"hide"](),d&&(d.metaKey=b.metaKey,d.ctrlKey=b.ctrlKey,a.vakata.dnd._trigger("move",d)))})}),function(a){a.vakata.html={div:a("<div />"),escape:function(b){return a.vakata.html.div.text(b).html()},strip:function(b){return a.vakata.html.div.empty().append(a.parseHTML(b)).text()}};var b={element:!1,target:!1,is_down:!1,is_drag:!1,helper:!1,helper_w:0,data:!1,init_x:0,init_y:0,scroll_l:0,scroll_t:0,scroll_e:!1,scroll_i:!1,is_touch:!1};a.vakata.dnd={settings:{scroll_speed:10,scroll_proximity:20,helper_left:5,helper_top:10,threshold:5,threshold_touch:50},_trigger:function(b,c){var d=a.vakata.dnd._get();d.event=c,a(k).triggerHandler("dnd_"+b+".vakata",d)},_get:function(){return{data:b.data,element:b.element,helper:b.helper}},_clean:function(){b.helper&&b.helper.remove(),b.scroll_i&&(clearInterval(b.scroll_i),b.scroll_i=!1),b={element:!1,target:!1,is_down:!1,is_drag:!1,helper:!1,helper_w:0,data:!1,init_x:0,init_y:0,scroll_l:0,scroll_t:0,scroll_e:!1,scroll_i:!1,is_touch:!1},a(k).off("mousemove.vakata.jstree touchmove.vakata.jstree",a.vakata.dnd.drag),a(k).off("mouseup.vakata.jstree touchend.vakata.jstree",a.vakata.dnd.stop)},_scroll:function(c){if(!b.scroll_e||!b.scroll_l&&!b.scroll_t)return b.scroll_i&&(clearInterval(b.scroll_i),b.scroll_i=!1),!1;if(!b.scroll_i)return b.scroll_i=setInterval(a.vakata.dnd._scroll,100),!1;if(c===!0)return!1;var d=b.scroll_e.scrollTop(),e=b.scroll_e.scrollLeft();b.scroll_e.scrollTop(d+b.scroll_t*a.vakata.dnd.settings.scroll_speed),b.scroll_e.scrollLeft(e+b.scroll_l*a.vakata.dnd.settings.scroll_speed),(d!==b.scroll_e.scrollTop()||e!==b.scroll_e.scrollLeft())&&a.vakata.dnd._trigger("scroll",b.scroll_e)},start:function(c,d,e){"touchstart"===c.type&&c.originalEvent&&c.originalEvent.changedTouches&&c.originalEvent.changedTouches[0]&&(c.pageX=c.originalEvent.changedTouches[0].pageX,c.pageY=c.originalEvent.changedTouches[0].pageY,c.target=k.elementFromPoint(c.originalEvent.changedTouches[0].pageX-window.pageXOffset,c.originalEvent.changedTouches[0].pageY-window.pageYOffset)),b.is_drag&&a.vakata.dnd.stop({});try{c.currentTarget.unselectable="on",c.currentTarget.onselectstart=function(){return!1},c.currentTarget.style&&(c.currentTarget.style.MozUserSelect="none")}catch(f){}return b.init_x=c.pageX,b.init_y=c.pageY,b.data=d,b.is_down=!0,b.element=c.currentTarget,b.target=c.target,b.is_touch="touchstart"===c.type,e!==!1&&(b.helper=a("<div id='vakata-dnd'></div>").html(e).css({display:"block",margin:"0",padding:"0",position:"absolute",top:"-2000px",lineHeight:"16px",zIndex:"10000"})),a(k).on("mousemove.vakata.jstree touchmove.vakata.jstree",a.vakata.dnd.drag),a(k).on("mouseup.vakata.jstree touchend.vakata.jstree",a.vakata.dnd.stop),!1},drag:function(c){if("touchmove"===c.type&&c.originalEvent&&c.originalEvent.changedTouches&&c.originalEvent.changedTouches[0]&&(c.pageX=c.originalEvent.changedTouches[0].pageX,c.pageY=c.originalEvent.changedTouches[0].pageY,c.target=k.elementFromPoint(c.originalEvent.changedTouches[0].pageX-window.pageXOffset,c.originalEvent.changedTouches[0].pageY-window.pageYOffset)),b.is_down){if(!b.is_drag){if(!(Math.abs(c.pageX-b.init_x)>(b.is_touch?a.vakata.dnd.settings.threshold_touch:a.vakata.dnd.settings.threshold)||Math.abs(c.pageY-b.init_y)>(b.is_touch?a.vakata.dnd.settings.threshold_touch:a.vakata.dnd.settings.threshold)))return;b.helper&&(b.helper.appendTo("body"),b.helper_w=b.helper.outerWidth()),b.is_drag=!0,a.vakata.dnd._trigger("start",c)}var d=!1,e=!1,f=!1,g=!1,h=!1,i=!1,j=!1,l=!1,m=!1,n=!1;return b.scroll_t=0,b.scroll_l=0,b.scroll_e=!1,a(a(c.target).parentsUntil("body").addBack().get().reverse()).filter(function(){return/^auto|scroll$/.test(a(this).css("overflow"))&&(this.scrollHeight>this.offsetHeight||this.scrollWidth>this.offsetWidth)}).each(function(){var d=a(this),e=d.offset();return this.scrollHeight>this.offsetHeight&&(e.top+d.height()-c.pageY<a.vakata.dnd.settings.scroll_proximity&&(b.scroll_t=1),c.pageY-e.top<a.vakata.dnd.settings.scroll_proximity&&(b.scroll_t=-1)),this.scrollWidth>this.offsetWidth&&(e.left+d.width()-c.pageX<a.vakata.dnd.settings.scroll_proximity&&(b.scroll_l=1),c.pageX-e.left<a.vakata.dnd.settings.scroll_proximity&&(b.scroll_l=-1)),b.scroll_t||b.scroll_l?(b.scroll_e=a(this),!1):void 0}),b.scroll_e||(d=a(k),e=a(window),f=d.height(),g=e.height(),h=d.width(),i=e.width(),j=d.scrollTop(),l=d.scrollLeft(),f>g&&c.pageY-j<a.vakata.dnd.settings.scroll_proximity&&(b.scroll_t=-1),f>g&&g-(c.pageY-j)<a.vakata.dnd.settings.scroll_proximity&&(b.scroll_t=1),h>i&&c.pageX-l<a.vakata.dnd.settings.scroll_proximity&&(b.scroll_l=-1),h>i&&i-(c.pageX-l)<a.vakata.dnd.settings.scroll_proximity&&(b.scroll_l=1),(b.scroll_t||b.scroll_l)&&(b.scroll_e=d)),b.scroll_e&&a.vakata.dnd._scroll(!0),b.helper&&(m=parseInt(c.pageY+a.vakata.dnd.settings.helper_top,10),n=parseInt(c.pageX+a.vakata.dnd.settings.helper_left,10),f&&m+25>f&&(m=f-50),h&&n+b.helper_w>h&&(n=h-(b.helper_w+2)),b.helper.css({left:n+"px",top:m+"px"})),a.vakata.dnd._trigger("move",c),!1}},stop:function(c){if("touchend"===c.type&&c.originalEvent&&c.originalEvent.changedTouches&&c.originalEvent.changedTouches[0]&&(c.pageX=c.originalEvent.changedTouches[0].pageX,c.pageY=c.originalEvent.changedTouches[0].pageY,c.target=k.elementFromPoint(c.originalEvent.changedTouches[0].pageX-window.pageXOffset,c.originalEvent.changedTouches[0].pageY-window.pageYOffset)),b.is_drag)a.vakata.dnd._trigger("stop",c);else if("touchend"===c.type&&c.target===b.target){var d=setTimeout(function(){a(c.target).click()},100);a(c.target).one("click",function(){d&&clearTimeout(d)})}return a.vakata.dnd._clean(),!1}}}(a),a.jstree.defaults.massload=null,a.jstree.plugins.massload=function(b,c){this.init=function(a,b){c.init.call(this,a,b),this._data.massload={}},this._load_nodes=function(b,d,e){var f=this.settings.massload;return e&&!a.isEmptyObject(this._data.massload)?c._load_nodes.call(this,b,d,e):a.isFunction(f)?f.call(this,b,a.proxy(function(a){if(a)for(var f in a)a.hasOwnProperty(f)&&(this._data.massload[f]=a[f]);c._load_nodes.call(this,b,d,e)},this)):"object"==typeof f&&f&&f.url?(f=a.extend(!0,{},f),a.isFunction(f.url)&&(f.url=f.url.call(this,b)),a.isFunction(f.data)&&(f.data=f.data.call(this,b)),a.ajax(f).done(a.proxy(function(a,f,g){if(a)for(var h in a)a.hasOwnProperty(h)&&(this._data.massload[h]=a[h]);c._load_nodes.call(this,b,d,e)},this)).fail(a.proxy(function(a){c._load_nodes.call(this,b,d,e)},this))):c._load_nodes.call(this,b,d,e)},this._load_node=function(b,d){var e=this._data.massload[b.id];return e?this["string"==typeof e?"_append_html_data":"_append_json_data"](b,"string"==typeof e?a(a.parseHTML(e)).filter(function(){return 3!==this.nodeType}):e,function(a){d.call(this,a),
 delete this._data.massload[b.id]}):c._load_node.call(this,b,d)}},a.jstree.defaults.search={ajax:!1,fuzzy:!1,case_sensitive:!1,show_only_matches:!1,show_only_matches_children:!1,close_opened_onclear:!0,search_leaves_only:!1,search_callback:!1},a.jstree.plugins.search=function(c,d){this.bind=function(){d.bind.call(this),this._data.search.str="",this._data.search.dom=a(),this._data.search.res=[],this._data.search.opn=[],this._data.search.som=!1,this._data.search.smc=!1,this._data.search.hdn=[],this.element.on("search.jstree",a.proxy(function(b,c){if(this._data.search.som&&c.res.length){var d,e,f=this._model.data,g=[];for(d=0,e=c.res.length;e>d;d++)f[c.res[d]]&&!f[c.res[d]].state.hidden&&(g.push(c.res[d]),g=g.concat(f[c.res[d]].parents),this._data.search.smc&&(g=g.concat(f[c.res[d]].children_d)));g=a.vakata.array_remove_item(a.vakata.array_unique(g),a.jstree.root),this._data.search.hdn=this.hide_all(!0),this.show_node(g)}},this)).on("clear_search.jstree",a.proxy(function(a,b){this._data.search.som&&b.res.length&&this.show_node(this._data.search.hdn)},this))},this.search=function(c,d,e,f,g,h){if(c===!1||""===a.trim(c.toString()))return this.clear_search();f=this.get_node(f),f=f&&f.id?f.id:null,c=c.toString();var i,j,k=this.settings.search,l=k.ajax?k.ajax:!1,m=this._model.data,n=null,o=[],p=[];if(this._data.search.res.length&&!g&&this.clear_search(),e===b&&(e=k.show_only_matches),h===b&&(h=k.show_only_matches_children),!d&&l!==!1)return a.isFunction(l)?l.call(this,c,a.proxy(function(b){b&&b.d&&(b=b.d),this._load_nodes(a.isArray(b)?a.vakata.array_unique(b):[],function(){this.search(c,!0,e,f,g)},!0)},this),f):(l=a.extend({},l),l.data||(l.data={}),l.data.str=c,f&&(l.data.inside=f),a.ajax(l).fail(a.proxy(function(){this._data.core.last_error={error:"ajax",plugin:"search",id:"search_01",reason:"Could not load search parents",data:JSON.stringify(l)},this.settings.core.error.call(this,this._data.core.last_error)},this)).done(a.proxy(function(b){b&&b.d&&(b=b.d),this._load_nodes(a.isArray(b)?a.vakata.array_unique(b):[],function(){this.search(c,!0,e,f,g)},!0)},this)));if(g||(this._data.search.str=c,this._data.search.dom=a(),this._data.search.res=[],this._data.search.opn=[],this._data.search.som=e,this._data.search.smc=h),n=new a.vakata.search(c,!0,{caseSensitive:k.case_sensitive,fuzzy:k.fuzzy}),a.each(m[f?f:a.jstree.root].children_d,function(a,b){var d=m[b];d.text&&(!k.search_leaves_only||d.state.loaded&&0===d.children.length)&&(k.search_callback&&k.search_callback.call(this,c,d)||!k.search_callback&&n.search(d.text).isMatch)&&(o.push(b),p=p.concat(d.parents))}),o.length){for(p=a.vakata.array_unique(p),i=0,j=p.length;j>i;i++)p[i]!==a.jstree.root&&m[p[i]]&&this.open_node(p[i],null,0)===!0&&this._data.search.opn.push(p[i]);g?(this._data.search.dom=this._data.search.dom.add(a(this.element[0].querySelectorAll("#"+a.map(o,function(b){return-1!=="0123456789".indexOf(b[0])?"\\3"+b[0]+" "+b.substr(1).replace(a.jstree.idregex,"\\$&"):b.replace(a.jstree.idregex,"\\$&")}).join(", #")))),this._data.search.res=a.vakata.array_unique(this._data.search.res.concat(o))):(this._data.search.dom=a(this.element[0].querySelectorAll("#"+a.map(o,function(b){return-1!=="0123456789".indexOf(b[0])?"\\3"+b[0]+" "+b.substr(1).replace(a.jstree.idregex,"\\$&"):b.replace(a.jstree.idregex,"\\$&")}).join(", #"))),this._data.search.res=o),this._data.search.dom.children(".jstree-anchor").addClass("jstree-search")}this.trigger("search",{nodes:this._data.search.dom,str:c,res:this._data.search.res,show_only_matches:e})},this.clear_search=function(){this.settings.search.close_opened_onclear&&this.close_node(this._data.search.opn,0),this.trigger("clear_search",{nodes:this._data.search.dom,str:this._data.search.str,res:this._data.search.res}),this._data.search.res.length&&(this._data.search.dom=a(this.element[0].querySelectorAll("#"+a.map(this._data.search.res,function(b){return-1!=="0123456789".indexOf(b[0])?"\\3"+b[0]+" "+b.substr(1).replace(a.jstree.idregex,"\\$&"):b.replace(a.jstree.idregex,"\\$&")}).join(", #"))),this._data.search.dom.children(".jstree-anchor").removeClass("jstree-search")),this._data.search.str="",this._data.search.res=[],this._data.search.opn=[],this._data.search.dom=a()},this.redraw_node=function(b,c,e,f){if(b=d.redraw_node.apply(this,arguments),b&&-1!==a.inArray(b.id,this._data.search.res)){var g,h,i=null;for(g=0,h=b.childNodes.length;h>g;g++)if(b.childNodes[g]&&b.childNodes[g].className&&-1!==b.childNodes[g].className.indexOf("jstree-anchor")){i=b.childNodes[g];break}i&&(i.className+=" jstree-search")}return b}},function(a){a.vakata.search=function(b,c,d){d=d||{},d=a.extend({},a.vakata.search.defaults,d),d.fuzzy!==!1&&(d.fuzzy=!0),b=d.caseSensitive?b:b.toLowerCase();var e,f,g,h,i=d.location,j=d.distance,k=d.threshold,l=b.length;return l>32&&(d.fuzzy=!1),d.fuzzy&&(e=1<<l-1,f=function(){var a={},c=0;for(c=0;l>c;c++)a[b.charAt(c)]=0;for(c=0;l>c;c++)a[b.charAt(c)]|=1<<l-c-1;return a}(),g=function(a,b){var c=a/l,d=Math.abs(i-b);return j?c+d/j:d?1:c}),h=function(a){if(a=d.caseSensitive?a:a.toLowerCase(),b===a||-1!==a.indexOf(b))return{isMatch:!0,score:0};if(!d.fuzzy)return{isMatch:!1,score:1};var c,h,j,m,n,o,p,q,r,s=a.length,t=k,u=a.indexOf(b,i),v=l+s,w=1,x=[];for(-1!==u&&(t=Math.min(g(0,u),t),u=a.lastIndexOf(b,i+l),-1!==u&&(t=Math.min(g(0,u),t))),u=-1,c=0;l>c;c++){for(j=0,m=v;m>j;)g(c,i+m)<=t?j=m:v=m,m=Math.floor((v-j)/2+j);for(v=m,o=Math.max(1,i-m+1),p=Math.min(i+m,s)+l,q=new Array(p+2),q[p+1]=(1<<c)-1,h=p;h>=o;h--)if(r=f[a.charAt(h-1)],0===c?q[h]=(q[h+1]<<1|1)&r:q[h]=(q[h+1]<<1|1)&r|((n[h+1]|n[h])<<1|1)|n[h+1],q[h]&e&&(w=g(c,h-1),t>=w)){if(t=w,u=h-1,x.push(u),!(u>i))break;o=Math.max(1,2*i-u)}if(g(c+1,i)>t)break;n=q}return{isMatch:u>=0,score:w}},c===!0?{search:h}:h(c)},a.vakata.search.defaults={location:0,distance:100,threshold:.6,fuzzy:!1,caseSensitive:!1}}(a),a.jstree.defaults.sort=function(a,b){return this.get_text(a)>this.get_text(b)?1:-1},a.jstree.plugins.sort=function(b,c){this.bind=function(){c.bind.call(this),this.element.on("model.jstree",a.proxy(function(a,b){this.sort(b.parent,!0)},this)).on("rename_node.jstree create_node.jstree",a.proxy(function(a,b){this.sort(b.parent||b.node.parent,!1),this.redraw_node(b.parent||b.node.parent,!0)},this)).on("move_node.jstree copy_node.jstree",a.proxy(function(a,b){this.sort(b.parent,!1),this.redraw_node(b.parent,!0)},this))},this.sort=function(b,c){var d,e;if(b=this.get_node(b),b&&b.children&&b.children.length&&(b.children.sort(a.proxy(this.settings.sort,this)),c))for(d=0,e=b.children_d.length;e>d;d++)this.sort(b.children_d[d],!1)}};var n=!1;a.jstree.defaults.state={key:"jstree",events:"changed.jstree open_node.jstree close_node.jstree check_node.jstree uncheck_node.jstree",ttl:!1,filter:!1},a.jstree.plugins.state=function(b,c){this.bind=function(){c.bind.call(this);var b=a.proxy(function(){this.element.on(this.settings.state.events,a.proxy(function(){n&&clearTimeout(n),n=setTimeout(a.proxy(function(){this.save_state()},this),100)},this)),this.trigger("state_ready")},this);this.element.on("ready.jstree",a.proxy(function(a,c){this.element.one("restore_state.jstree",b),this.restore_state()||b()},this))},this.save_state=function(){var b={state:this.get_state(),ttl:this.settings.state.ttl,sec:+new Date};a.vakata.storage.set(this.settings.state.key,JSON.stringify(b))},this.restore_state=function(){var b=a.vakata.storage.get(this.settings.state.key);if(b)try{b=JSON.parse(b)}catch(c){return!1}return b&&b.ttl&&b.sec&&+new Date-b.sec>b.ttl?!1:(b&&b.state&&(b=b.state),b&&a.isFunction(this.settings.state.filter)&&(b=this.settings.state.filter.call(this,b)),b?(this.element.one("set_state.jstree",function(c,d){d.instance.trigger("restore_state",{state:a.extend(!0,{},b)})}),this.set_state(b),!0):!1)},this.clear_state=function(){return a.vakata.storage.del(this.settings.state.key)}},function(a,b){a.vakata.storage={set:function(a,b){return window.localStorage.setItem(a,b)},get:function(a){return window.localStorage.getItem(a)},del:function(a){return window.localStorage.removeItem(a)}}}(a),a.jstree.defaults.types={"default":{}},a.jstree.defaults.types[a.jstree.root]={},a.jstree.plugins.types=function(c,d){this.init=function(c,e){var f,g;if(e&&e.types&&e.types["default"])for(f in e.types)if("default"!==f&&f!==a.jstree.root&&e.types.hasOwnProperty(f))for(g in e.types["default"])e.types["default"].hasOwnProperty(g)&&e.types[f][g]===b&&(e.types[f][g]=e.types["default"][g]);d.init.call(this,c,e),this._model.data[a.jstree.root].type=a.jstree.root},this.refresh=function(b,c){d.refresh.call(this,b,c),this._model.data[a.jstree.root].type=a.jstree.root},this.bind=function(){this.element.on("model.jstree",a.proxy(function(c,d){var e,f,g=this._model.data,h=d.nodes,i=this.settings.types,j="default";for(e=0,f=h.length;f>e;e++)j="default",g[h[e]].original&&g[h[e]].original.type&&i[g[h[e]].original.type]&&(j=g[h[e]].original.type),g[h[e]].data&&g[h[e]].data.jstree&&g[h[e]].data.jstree.type&&i[g[h[e]].data.jstree.type]&&(j=g[h[e]].data.jstree.type),g[h[e]].type=j,g[h[e]].icon===!0&&i[j].icon!==b&&(g[h[e]].icon=i[j].icon);g[a.jstree.root].type=a.jstree.root},this)),d.bind.call(this)},this.get_json=function(b,c,e){var f,g,h=this._model.data,i=c?a.extend(!0,{},c,{no_id:!1}):{},j=d.get_json.call(this,b,i,e);if(j===!1)return!1;if(a.isArray(j))for(f=0,g=j.length;g>f;f++)j[f].type=j[f].id&&h[j[f].id]&&h[j[f].id].type?h[j[f].id].type:"default",c&&c.no_id&&(delete j[f].id,j[f].li_attr&&j[f].li_attr.id&&delete j[f].li_attr.id,j[f].a_attr&&j[f].a_attr.id&&delete j[f].a_attr.id);else j.type=j.id&&h[j.id]&&h[j.id].type?h[j.id].type:"default",c&&c.no_id&&(j=this._delete_ids(j));return j},this._delete_ids=function(b){if(a.isArray(b)){for(var c=0,d=b.length;d>c;c++)b[c]=this._delete_ids(b[c]);return b}return delete b.id,b.li_attr&&b.li_attr.id&&delete b.li_attr.id,b.a_attr&&b.a_attr.id&&delete b.a_attr.id,b.children&&a.isArray(b.children)&&(b.children=this._delete_ids(b.children)),b},this.check=function(c,e,f,g,h){if(d.check.call(this,c,e,f,g,h)===!1)return!1;e=e&&e.id?e:this.get_node(e),f=f&&f.id?f:this.get_node(f);var i,j,k,l,m=e&&e.id?h&&h.origin?h.origin:a.jstree.reference(e.id):null;switch(m=m&&m._model&&m._model.data?m._model.data:null,c){case"create_node":case"move_node":case"copy_node":if("move_node"!==c||-1===a.inArray(e.id,f.children)){if(i=this.get_rules(f),i.max_children!==b&&-1!==i.max_children&&i.max_children===f.children.length)return this._data.core.last_error={error:"check",plugin:"types",id:"types_01",reason:"max_children prevents function: "+c,data:JSON.stringify({chk:c,pos:g,obj:e&&e.id?e.id:!1,par:f&&f.id?f.id:!1})},!1;if(i.valid_children!==b&&-1!==i.valid_children&&-1===a.inArray(e.type||"default",i.valid_children))return this._data.core.last_error={error:"check",plugin:"types",id:"types_02",reason:"valid_children prevents function: "+c,data:JSON.stringify({chk:c,pos:g,obj:e&&e.id?e.id:!1,par:f&&f.id?f.id:!1})},!1;if(m&&e.children_d&&e.parents){for(j=0,k=0,l=e.children_d.length;l>k;k++)j=Math.max(j,m[e.children_d[k]].parents.length);j=j-e.parents.length+1}(0>=j||j===b)&&(j=1);do{if(i.max_depth!==b&&-1!==i.max_depth&&i.max_depth<j)return this._data.core.last_error={error:"check",plugin:"types",id:"types_03",reason:"max_depth prevents function: "+c,data:JSON.stringify({chk:c,pos:g,obj:e&&e.id?e.id:!1,par:f&&f.id?f.id:!1})},!1;f=this.get_node(f.parent),i=this.get_rules(f),j++}while(f)}}return!0},this.get_rules=function(a){if(a=this.get_node(a),!a)return!1;var c=this.get_type(a,!0);return c.max_depth===b&&(c.max_depth=-1),c.max_children===b&&(c.max_children=-1),c.valid_children===b&&(c.valid_children=-1),c},this.get_type=function(b,c){return b=this.get_node(b),b?c?a.extend({type:b.type},this.settings.types[b.type]):b.type:!1},this.set_type=function(c,d){var e,f,g,h,i;if(a.isArray(c)){for(c=c.slice(),f=0,g=c.length;g>f;f++)this.set_type(c[f],d);return!0}return e=this.settings.types,c=this.get_node(c),e[d]&&c?(h=c.type,i=this.get_icon(c),c.type=d,(i===!0||e[h]&&e[h].icon!==b&&i===e[h].icon)&&this.set_icon(c,e[d].icon!==b?e[d].icon:!0),!0):!1}},a.jstree.defaults.unique={case_sensitive:!1,duplicate:function(a,b){return a+" ("+b+")"}},a.jstree.plugins.unique=function(c,d){this.check=function(b,c,e,f,g){if(d.check.call(this,b,c,e,f,g)===!1)return!1;if(c=c&&c.id?c:this.get_node(c),e=e&&e.id?e:this.get_node(e),!e||!e.children)return!0;var h,i,j="rename_node"===b?f:c.text,k=[],l=this.settings.unique.case_sensitive,m=this._model.data;for(h=0,i=e.children.length;i>h;h++)k.push(l?m[e.children[h]].text:m[e.children[h]].text.toLowerCase());switch(l||(j=j.toLowerCase()),b){case"delete_node":return!0;case"rename_node":return h=-1===a.inArray(j,k)||c.text&&c.text[l?"toString":"toLowerCase"]()===j,h||(this._data.core.last_error={error:"check",plugin:"unique",id:"unique_01",reason:"Child with name "+j+" already exists. Preventing: "+b,data:JSON.stringify({chk:b,pos:f,obj:c&&c.id?c.id:!1,par:e&&e.id?e.id:!1})}),h;case"create_node":return h=-1===a.inArray(j,k),h||(this._data.core.last_error={error:"check",plugin:"unique",id:"unique_04",reason:"Child with name "+j+" already exists. Preventing: "+b,data:JSON.stringify({chk:b,pos:f,obj:c&&c.id?c.id:!1,par:e&&e.id?e.id:!1})}),h;case"copy_node":return h=-1===a.inArray(j,k),h||(this._data.core.last_error={error:"check",plugin:"unique",id:"unique_02",reason:"Child with name "+j+" already exists. Preventing: "+b,data:JSON.stringify({chk:b,pos:f,obj:c&&c.id?c.id:!1,par:e&&e.id?e.id:!1})}),h;case"move_node":return h=c.parent===e.id&&(!g||!g.is_multi)||-1===a.inArray(j,k),h||(this._data.core.last_error={error:"check",plugin:"unique",id:"unique_03",reason:"Child with name "+j+" already exists. Preventing: "+b,data:JSON.stringify({chk:b,pos:f,obj:c&&c.id?c.id:!1,par:e&&e.id?e.id:!1})}),h}return!0},this.create_node=function(c,e,f,g,h){if(!e||e.text===b){if(null===c&&(c=a.jstree.root),c=this.get_node(c),!c)return d.create_node.call(this,c,e,f,g,h);if(f=f===b?"last":f,!f.toString().match(/^(before|after)$/)&&!h&&!this.is_loaded(c))return d.create_node.call(this,c,e,f,g,h);e||(e={});var i,j,k,l,m,n=this._model.data,o=this.settings.unique.case_sensitive,p=this.settings.unique.duplicate;for(j=i=this.get_string("New node"),k=[],l=0,m=c.children.length;m>l;l++)k.push(o?n[c.children[l]].text:n[c.children[l]].text.toLowerCase());for(l=1;-1!==a.inArray(o?j:j.toLowerCase(),k);)j=p.call(this,i,++l).toString();e.text=j}return d.create_node.call(this,c,e,f,g,h)}};var o=k.createElement("DIV");if(o.setAttribute("unselectable","on"),o.setAttribute("role","presentation"),o.className="jstree-wholerow",o.innerHTML="&#160;",a.jstree.plugins.wholerow=function(b,c){this.bind=function(){c.bind.call(this),this.element.on("ready.jstree set_state.jstree",a.proxy(function(){this.hide_dots()},this)).on("init.jstree loading.jstree ready.jstree",a.proxy(function(){this.get_container_ul().addClass("jstree-wholerow-ul")},this)).on("deselect_all.jstree",a.proxy(function(a,b){this.element.find(".jstree-wholerow-clicked").removeClass("jstree-wholerow-clicked")},this)).on("changed.jstree",a.proxy(function(a,b){this.element.find(".jstree-wholerow-clicked").removeClass("jstree-wholerow-clicked");var c,d,e=!1;for(c=0,d=b.selected.length;d>c;c++)e=this.get_node(b.selected[c],!0),e&&e.length&&e.children(".jstree-wholerow").addClass("jstree-wholerow-clicked")},this)).on("open_node.jstree",a.proxy(function(a,b){this.get_node(b.node,!0).find(".jstree-clicked").parent().children(".jstree-wholerow").addClass("jstree-wholerow-clicked")},this)).on("hover_node.jstree dehover_node.jstree",a.proxy(function(a,b){"hover_node"===a.type&&this.is_disabled(b.node)||this.get_node(b.node,!0).children(".jstree-wholerow")["hover_node"===a.type?"addClass":"removeClass"]("jstree-wholerow-hovered")},this)).on("contextmenu.jstree",".jstree-wholerow",a.proxy(function(b){b.preventDefault();var c=a.Event("contextmenu",{metaKey:b.metaKey,ctrlKey:b.ctrlKey,altKey:b.altKey,shiftKey:b.shiftKey,pageX:b.pageX,pageY:b.pageY});a(b.currentTarget).closest(".jstree-node").children(".jstree-anchor").first().trigger(c)},this)).on("click.jstree",".jstree-wholerow",function(b){b.stopImmediatePropagation();var c=a.Event("click",{metaKey:b.metaKey,ctrlKey:b.ctrlKey,altKey:b.altKey,shiftKey:b.shiftKey});a(b.currentTarget).closest(".jstree-node").children(".jstree-anchor").first().trigger(c).focus()}).on("click.jstree",".jstree-leaf > .jstree-ocl",a.proxy(function(b){b.stopImmediatePropagation();var c=a.Event("click",{metaKey:b.metaKey,ctrlKey:b.ctrlKey,altKey:b.altKey,shiftKey:b.shiftKey});a(b.currentTarget).closest(".jstree-node").children(".jstree-anchor").first().trigger(c).focus()},this)).on("mouseover.jstree",".jstree-wholerow, .jstree-icon",a.proxy(function(a){return a.stopImmediatePropagation(),this.is_disabled(a.currentTarget)||this.hover_node(a.currentTarget),!1},this)).on("mouseleave.jstree",".jstree-node",a.proxy(function(a){this.dehover_node(a.currentTarget)},this))},this.teardown=function(){this.settings.wholerow&&this.element.find(".jstree-wholerow").remove(),c.teardown.call(this)},this.redraw_node=function(b,d,e,f){if(b=c.redraw_node.apply(this,arguments)){var g=o.cloneNode(!0);-1!==a.inArray(b.id,this._data.core.selected)&&(g.className+=" jstree-wholerow-clicked"),this._data.core.focused&&this._data.core.focused===b.id&&(g.className+=" jstree-wholerow-hovered"),b.insertBefore(g,b.childNodes[0])}return b}},k.registerElement&&Object&&Object.create){var p=Object.create(HTMLElement.prototype);p.createdCallback=function(){var b,c={core:{},plugins:[]};for(b in a.jstree.plugins)a.jstree.plugins.hasOwnProperty(b)&&this.attributes[b]&&(c.plugins.push(b),this.getAttribute(b)&&JSON.parse(this.getAttribute(b))&&(c[b]=JSON.parse(this.getAttribute(b))));for(b in a.jstree.defaults.core)a.jstree.defaults.core.hasOwnProperty(b)&&this.attributes[b]&&(c.core[b]=JSON.parse(this.getAttribute(b))||this.getAttribute(b));a(this).jstree(c)};try{k.registerElement("vakata-jstree",{prototype:p})}catch(q){}}}}),function(a){"use strict";function b(){var b=1;this.nodesFingerprint=function(a){return a.__uiNodeId||(a.__uiNodeId=b++),""+a.__uiNodeId+(a.id||"")+(a.text||"")+(a.type||"")},this.changeWatcher=function(b,c){var d,e=function(){var d,e,f=[];if(b)for(var h=a.isFunction(b)?b():b,i=0,j=h.length;j>i;i++)e=h[i],d=c(e),g[d]=e,f.push(d);return f},f=function(a,b){var c,d,e=[],f={};for(c=0,d=b.length;d>c;c++)f[b[c]]=!0;for(c=0,d=a.length;d>c;c++)f[a[c]]||e.push(a[c]);return e},g={},h=function(a,b){var e,h,i,j,k={},l=f(b,a);for(e=0,h=l.length;h>e;e++){var m=l[e];i=g[m],delete g[m];var n=c(i);n===m?d.onRemoved(i):(k[n]=m,d.onChanged(i))}var o=f(a,b);for(e=0,h=o.length;h>e;e++)j=o[e],i=g[j],k[j]||d.onAdded(i)};return d={subscribe:function(a,b){a.$watch(e,function(a,c){b&&b(a,c)===!1||h(a,c)},!0)},onAdded:a.noop,onChanged:a.noop,onRemoved:a.noop}}}function c(){return{restrict:"A",scope:{treeData:"=ngModel",shouldApply:"&"},controller:"jsTreeCtrl",link:function(b,c,d,e){function f(a,b,c){if(c.treeEvents)for(var d=c.treeEvents.split(";"),e=0;e<d.length;e++)if(d[e].length>0){var f=d[e].split(":")[0],g=f+".jstree",h=d[e].split(":")[1];a.tree.on(g,a.$parent.$eval(h))}}function g(){var c=d.jsTree?b.$parent.$eval(d.jsTree):{};h={},a.copy(c,h);var e=JSON.stringify(h);return h.core?h.core.data=b.treeData:h.core={data:b.treeData},e}var h=null,i=e.changeWatcher(b.treeData,e.nodesFingerprint),j=!1;b.destroy=function(){if(d.tree)if(-1!==d.tree.indexOf(".")){var a=d.tree.split(".");b.tree=b.$parent[a[0]][a[1]]=c}else b.tree=b.$parent[d.tree]=c;else b.tree=c;b.tree.jstree("destroy")},b.init=function(){b.tree.jstree(h),f(b,c,d)},i.onChanged=function(c){a.isDefined(b.tree.jstree(!0).set_type)&&b.tree.jstree(!0).set_type(c.id,c.type),b.tree.jstree(!0).rename_node(c.id,c.text)},i.onAdded=function(a){for(;j;);j=!0;var c=b.tree.jstree(!0).get_node(a.parent),d=b.tree.jstree(!0).create_node(c,a,"inside",function(){j=!1});d||(j=!1)},i.onRemoved=function(a){b.tree.jstree(!0).delete_node(a.id)},i.subscribe(b,function(){return b.shouldApply?b.shouldApply():!0}),b.$watch(g,function(){b.destroy(),b.init()})}}}var d=a.module("ngJsTree",[]);d.controller("jsTreeCtrl",b),d.directive("jsTree",c)}(angular),function(a){"use strict";if(a.URL=a.URL||a.webkitURL,a.Blob&&a.URL)try{return void new Blob}catch(b){}var c=a.BlobBuilder||a.WebKitBlobBuilder||a.MozBlobBuilder||function(a){var b=function(a){return Object.prototype.toString.call(a).match(/^\[object\s(.*)\]$/)[1]},c=function(){this.data=[]},d=function(a,b,c){this.data=a,this.size=a.length,this.type=b,this.encoding=c},e=c.prototype,f=d.prototype,g=a.FileReaderSync,h=function(a){this.code=this[this.name=a]},i="NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR".split(" "),j=i.length,k=a.URL||a.webkitURL||a,l=k.createObjectURL,m=k.revokeObjectURL,n=k,o=a.btoa,p=a.atob,q=a.ArrayBuffer,r=a.Uint8Array,s=/^[\w-]+:\/*\[?[\w\.:-]+\]?(?::[0-9]+)?/;for(d.fake=f.fake=!0;j--;)h.prototype[i[j]]=j+1;return k.createObjectURL||(n=a.URL=function(a){var b,c=document.createElementNS("http://www.w3.org/1999/xhtml","a");return c.href=a,"origin"in c||("data:"===c.protocol.toLowerCase()?c.origin=null:(b=a.match(s),c.origin=b&&b[1])),c}),n.createObjectURL=function(a){var b,c=a.type;return null===c&&(c="application/octet-stream"),a instanceof d?(b="data:"+c,"base64"===a.encoding?b+";base64,"+a.data:"URI"===a.encoding?b+","+decodeURIComponent(a.data):o?b+";base64,"+o(a.data):b+","+encodeURIComponent(a.data)):l?l.call(k,a):void 0},n.revokeObjectURL=function(a){"data:"!==a.substring(0,5)&&m&&m.call(k,a)},e.append=function(a){var c=this.data;if(r&&(a instanceof q||a instanceof r)){for(var e="",f=new r(a),i=0,j=f.length;j>i;i++)e+=String.fromCharCode(f[i]);c.push(e)}else if("Blob"===b(a)||"File"===b(a)){if(!g)throw new h("NOT_READABLE_ERR");var k=new g;c.push(k.readAsBinaryString(a))}else a instanceof d?"base64"===a.encoding&&p?c.push(p(a.data)):"URI"===a.encoding?c.push(decodeURIComponent(a.data)):"raw"===a.encoding&&c.push(a.data):("string"!=typeof a&&(a+=""),c.push(unescape(encodeURIComponent(a))))},e.getBlob=function(a){return arguments.length||(a=null),new d(this.data.join(""),a,"raw")},e.toString=function(){return"[object BlobBuilder]"},f.slice=function(a,b,c){var e=arguments.length;return 3>e&&(c=null),new d(this.data.slice(a,e>1?b:this.data.length),c,this.encoding)},f.toString=function(){return"[object Blob]"},f.close=function(){this.size=0,delete this.data},c}(a);a.Blob=function(a,b){var d=b?b.type||"":"",e=new c;if(a)for(var f=0,g=a.length;g>f;f++)Uint8Array&&a[f]instanceof Uint8Array?e.append(a[f].buffer):e.append(a[f]);var h=e.getBlob(d);return!h.slice&&h.webkitSlice&&(h.slice=h.webkitSlice),h};var d=Object.getPrototypeOf||function(a){return a.__proto__};a.Blob.prototype=d(new a.Blob)}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content||this);var saveAs=saveAs||function(a){"use strict";if("undefined"==typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var b=a.document,c=function(){return a.URL||a.webkitURL||a},d=b.createElementNS("http://www.w3.org/1999/xhtml","a"),e="download"in d,f=function(c){var d=b.createEvent("MouseEvents");d.initMouseEvent("click",!0,!1,a,0,0,0,0,0,!1,!1,!1,!1,0,null),c.dispatchEvent(d)},g=a.webkitRequestFileSystem,h=a.requestFileSystem||g||a.mozRequestFileSystem,i=function(b){(a.setImmediate||a.setTimeout)(function(){throw b},0)},j="application/octet-stream",k=0,l=500,m=function(b){var d=function(){"string"==typeof b?c().revokeObjectURL(b):b.remove()};a.chrome?d():setTimeout(d,l)},n=function(a,b,c){b=[].concat(b);for(var d=b.length;d--;){var e=a["on"+b[d]];if("function"==typeof e)try{e.call(a,c||a)}catch(f){i(f)}}},o=function(a){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob(["\ufeff",a],{type:a.type}):a},p=function(b,i){b=o(b);var l,p,q,r=this,s=b.type,t=!1,u=function(){n(r,"writestart progress write writeend".split(" "))},v=function(){if((t||!l)&&(l=c().createObjectURL(b)),p)p.location.href=l;else{var d=a.open(l,"_blank");void 0==d&&"undefined"!=typeof safari&&(a.location.href=l)}r.readyState=r.DONE,u(),m(l)},w=function(a){return function(){return r.readyState!==r.DONE?a.apply(this,arguments):void 0}},x={create:!0,exclusive:!1};return r.readyState=r.INIT,i||(i="download"),e?(l=c().createObjectURL(b),d.href=l,d.download=i,f(d),r.readyState=r.DONE,u(),void m(l)):(a.chrome&&s&&s!==j&&(q=b.slice||b.webkitSlice,b=q.call(b,0,b.size,j),t=!0),g&&"download"!==i&&(i+=".download"),(s===j||g)&&(p=a),h?(k+=b.size,void h(a.TEMPORARY,k,w(function(a){a.root.getDirectory("saved",x,w(function(a){var c=function(){a.getFile(i,x,w(function(a){a.createWriter(w(function(c){c.onwriteend=function(b){p.location.href=a.toURL(),r.readyState=r.DONE,n(r,"writeend",b),m(a)},c.onerror=function(){var a=c.error;a.code!==a.ABORT_ERR&&v()},"writestart progress write abort".split(" ").forEach(function(a){c["on"+a]=r["on"+a]}),c.write(b),r.abort=function(){c.abort(),r.readyState=r.DONE},r.readyState=r.WRITING}),v)}),v)};a.getFile(i,{create:!1},w(function(a){a.remove(),c()}),w(function(a){a.code===a.NOT_FOUND_ERR?c():v()}))}),v)}),v)):void v())},q=p.prototype,r=function(a,b){return new p(a,b)};return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(a,b){return navigator.msSaveOrOpenBlob(o(a),b)}:(q.abort=function(){var a=this;a.readyState=a.DONE,n(a,"abort")},q.readyState=q.INIT=0,q.WRITING=1,q.DONE=2,q.error=q.onwritestart=q.onprogress=q.onwrite=q.onabort=q.onerror=q.onwriteend=null,r)}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);"undefined"!=typeof module&&module.exports?module.exports.saveAs=saveAs:"undefined"!=typeof define&&null!==define&&null!=define.amd&&define([],function(){return saveAs}),function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){!function(a){"use strict";if(a.URL=a.URL||a.webkitURL,a.Blob&&a.URL)try{return void new Blob}catch(b){}var c=a.BlobBuilder||a.WebKitBlobBuilder||a.MozBlobBuilder||function(a){var b=function(a){return Object.prototype.toString.call(a).match(/^\[object\s(.*)\]$/)[1]},c=function(){this.data=[]},d=function(a,b,c){this.data=a,this.size=a.length,this.type=b,this.encoding=c},e=c.prototype,f=d.prototype,g=a.FileReaderSync,h=function(a){this.code=this[this.name=a]},i="NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR".split(" "),j=i.length,k=a.URL||a.webkitURL||a,l=k.createObjectURL,m=k.revokeObjectURL,n=k,o=a.btoa,p=a.atob,q=a.ArrayBuffer,r=a.Uint8Array,s=/^[\w-]+:\/*\[?[\w\.:-]+\]?(?::[0-9]+)?/;for(d.fake=f.fake=!0;j--;)h.prototype[i[j]]=j+1;return k.createObjectURL||(n=a.URL=function(a){var b,c=document.createElementNS("http://www.w3.org/1999/xhtml","a");return c.href=a,"origin"in c||("data:"===c.protocol.toLowerCase()?c.origin=null:(b=a.match(s),c.origin=b&&b[1])),c}),n.createObjectURL=function(a){var b,c=a.type;return null===c&&(c="application/octet-stream"),a instanceof d?(b="data:"+c,"base64"===a.encoding?b+";base64,"+a.data:"URI"===a.encoding?b+","+decodeURIComponent(a.data):o?b+";base64,"+o(a.data):b+","+encodeURIComponent(a.data)):l?l.call(k,a):void 0},n.revokeObjectURL=function(a){"data:"!==a.substring(0,5)&&m&&m.call(k,a)},e.append=function(a){var c=this.data;if(r&&(a instanceof q||a instanceof r)){for(var e="",f=new r(a),i=0,j=f.length;j>i;i++)e+=String.fromCharCode(f[i]);c.push(e)}else if("Blob"===b(a)||"File"===b(a)){if(!g)throw new h("NOT_READABLE_ERR");var k=new g;c.push(k.readAsBinaryString(a))}else a instanceof d?"base64"===a.encoding&&p?c.push(p(a.data)):"URI"===a.encoding?c.push(decodeURIComponent(a.data)):"raw"===a.encoding&&c.push(a.data):("string"!=typeof a&&(a+=""),c.push(unescape(encodeURIComponent(a))))},e.getBlob=function(a){return arguments.length||(a=null),new d(this.data.join(""),a,"raw")},e.toString=function(){return"[object BlobBuilder]"},f.slice=function(a,b,c){var e=arguments.length;return 3>e&&(c=null),new d(this.data.slice(a,e>1?b:this.data.length),c,this.encoding)},f.toString=function(){return"[object Blob]"},f.close=function(){this.size=0,delete this.data},c}(a);a.Blob=function(a,b){var d=b?b.type||"":"",e=new c;if(a)for(var f=0,g=a.length;g>f;f++)Uint8Array&&a[f]instanceof Uint8Array?e.append(a[f].buffer):e.append(a[f]);var h=e.getBlob(d);return!h.slice&&h.webkitSlice&&(h.slice=h.webkitSlice),h};var d=Object.getPrototypeOf||function(a){return a.__proto__};a.Blob.prototype=d(new a.Blob)}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content||this)},{}],2:[function(a,b,c){var d=d||function(a){"use strict";if("undefined"==typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var b=a.document,c=function(){return a.URL||a.webkitURL||a},d=b.createElementNS("http://www.w3.org/1999/xhtml","a"),e="download"in d,f=function(a){var b=new MouseEvent("click");a.dispatchEvent(b)},g=/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),h=a.webkitRequestFileSystem,i=a.requestFileSystem||h||a.mozRequestFileSystem,j=function(b){(a.setImmediate||a.setTimeout)(function(){throw b},0)},k="application/octet-stream",l=0,m=500,n=function(b){var d=function(){"string"==typeof b?c().revokeObjectURL(b):b.remove()};a.chrome?d():setTimeout(d,m)},o=function(a,b,c){b=[].concat(b);for(var d=b.length;d--;){var e=a["on"+b[d]];if("function"==typeof e)try{e.call(a,c||a)}catch(f){j(f)}}},p=function(a){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob(["\ufeff",a],{type:a.type}):a},q=function(b,j,m){m||(b=p(b));var q,r,s,t=this,u=b.type,v=!1,w=function(){o(t,"writestart progress write writeend".split(" "))},x=function(){if(r&&g&&"undefined"!=typeof FileReader){var d=new FileReader;return d.onloadend=function(){var a=d.result;r.location.href="data:attachment/file"+a.slice(a.search(/[,;]/)),t.readyState=t.DONE,w()},d.readAsDataURL(b),void(t.readyState=t.INIT)}if((v||!q)&&(q=c().createObjectURL(b)),r)r.location.href=q;else{var e=a.open(q,"_blank");void 0==e&&g&&(a.location.href=q)}t.readyState=t.DONE,w(),n(q)},y=function(a){return function(){return t.readyState!==t.DONE?a.apply(this,arguments):void 0}},z={create:!0,exclusive:!1};return t.readyState=t.INIT,j||(j="download"),e?(q=c().createObjectURL(b),void setTimeout(function(){d.href=q,d.download=j,f(d),w(),n(q),t.readyState=t.DONE})):(a.chrome&&u&&u!==k&&(s=b.slice||b.webkitSlice,b=s.call(b,0,b.size,k),v=!0),h&&"download"!==j&&(j+=".download"),(u===k||h)&&(r=a),i?(l+=b.size,void i(a.TEMPORARY,l,y(function(a){a.root.getDirectory("saved",z,y(function(a){var c=function(){a.getFile(j,z,y(function(a){a.createWriter(y(function(c){c.onwriteend=function(b){r.location.href=a.toURL(),t.readyState=t.DONE,o(t,"writeend",b),n(a)},c.onerror=function(){var a=c.error;a.code!==a.ABORT_ERR&&x()},"writestart progress write abort".split(" ").forEach(function(a){c["on"+a]=t["on"+a]}),c.write(b),t.abort=function(){c.abort(),t.readyState=t.DONE},t.readyState=t.WRITING}),x)}),x)};a.getFile(j,{create:!1},y(function(a){a.remove(),c()}),y(function(a){a.code===a.NOT_FOUND_ERR?c():x()}))}),x)}),x)):void x())},r=q.prototype,s=function(a,b,c){return new q(a,b,c)};return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(a,b,c){return c||(a=p(a)),navigator.msSaveOrOpenBlob(a,b||"download")}:(r.abort=function(){var a=this;a.readyState=a.DONE,o(a,"abort")},r.readyState=r.INIT=0,r.WRITING=1,r.DONE=2,r.error=r.onwritestart=r.onprogress=r.onwrite=r.onabort=r.onerror=r.onwriteend=null,s)}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);
 "undefined"!=typeof b&&b.exports?b.exports.saveAs=d:"undefined"!=typeof define&&null!==define&&null!=define.amd&&define([],function(){return d})},{}],3:[function(a,b,c){"use strict";angular.module("ngFileSaver",[]).factory("FileSaver",["Blob","SaveAs","FileSaverUtils",a("./angular-file-saver.service")]).factory("FileSaverUtils",[a("./utils/utils.service.js")]).factory("Blob",["$window",a("./dependencies/blob-bundle.service.js")]).factory("SaveAs",[a("./dependencies/file-saver-bundle.service.js")])},{"./angular-file-saver.service":4,"./dependencies/blob-bundle.service.js":5,"./dependencies/file-saver-bundle.service.js":6,"./utils/utils.service.js":7}],4:[function(a,b,c){"use strict";b.exports=function(a,b,c){function d(a,d,e){try{b(a,d,e)}catch(f){c.handleErrors(f.message)}}return{saveAs:function(a,b,e){return c.isBlobInstance(a)||c.handleErrors("Data argument should be a blob instance"),c.isString(b)||c.handleErrors("Filename argument should be a string"),d(a,b,e)}}}},{}],5:[function(a,b,c){"use strict";a("Blob.js"),b.exports=function(a){return a.Blob}},{"Blob.js":1}],6:[function(a,b,c){"use strict";b.exports=function(){return a("FileSaver.js").saveAs||function(){}}},{"FileSaver.js":2}],7:[function(a,b,c){"use strict";b.exports=function(){return{handleErrors:function(a){throw new Error(a)},isString:function(a){return"string"==typeof a||a instanceof String},isUndefined:function(a){return"undefined"==typeof a},isBlobInstance:function(a){return a instanceof Blob}}}},{}]},{},[3]),function(a){function b(a,b,c){switch(arguments.length){case 2:return null!=a?a:b;case 3:return null!=a?a:null!=b?b:c;default:throw new Error("Implement me")}}function c(a,b){return za.call(a,b)}function d(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function e(a){ta.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+a)}function f(a,b){var c=!0;return m(function(){return c&&(e(a),c=!1),b.apply(this,arguments)},b)}function g(a,b){qb[a]||(e(b),qb[a]=!0)}function h(a,b){return function(c){return p(a.call(this,c),b)}}function i(a,b){return function(c){return this.localeData().ordinal(a.call(this,c),b)}}function j(){}function k(a,b){b!==!1&&F(a),n(this,a),this._d=new Date(+a._d)}function l(a){var b=y(a),c=b.year||0,d=b.quarter||0,e=b.month||0,f=b.week||0,g=b.day||0,h=b.hour||0,i=b.minute||0,j=b.second||0,k=b.millisecond||0;this._milliseconds=+k+1e3*j+6e4*i+36e5*h,this._days=+g+7*f,this._months=+e+3*d+12*c,this._data={},this._locale=ta.localeData(),this._bubble()}function m(a,b){for(var d in b)c(b,d)&&(a[d]=b[d]);return c(b,"toString")&&(a.toString=b.toString),c(b,"valueOf")&&(a.valueOf=b.valueOf),a}function n(a,b){var c,d,e;if("undefined"!=typeof b._isAMomentObject&&(a._isAMomentObject=b._isAMomentObject),"undefined"!=typeof b._i&&(a._i=b._i),"undefined"!=typeof b._f&&(a._f=b._f),"undefined"!=typeof b._l&&(a._l=b._l),"undefined"!=typeof b._strict&&(a._strict=b._strict),"undefined"!=typeof b._tzm&&(a._tzm=b._tzm),"undefined"!=typeof b._isUTC&&(a._isUTC=b._isUTC),"undefined"!=typeof b._offset&&(a._offset=b._offset),"undefined"!=typeof b._pf&&(a._pf=b._pf),"undefined"!=typeof b._locale&&(a._locale=b._locale),Ia.length>0)for(c in Ia)d=Ia[c],e=b[d],"undefined"!=typeof e&&(a[d]=e);return a}function o(a){return 0>a?Math.ceil(a):Math.floor(a)}function p(a,b,c){for(var d=""+Math.abs(a),e=a>=0;d.length<b;)d="0"+d;return(e?c?"+":"":"-")+d}function q(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 r(a,b){var c;return b=K(b,a),a.isBefore(b)?c=q(a,b):(c=q(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months),c}function s(a,b){return function(c,d){var e,f;return null===d||isNaN(+d)||(g(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=ta.duration(c,d),t(this,e,a),this}}function t(a,b,c,d){var e=b._milliseconds,f=b._days,g=b._months;d=null==d?!0:d,e&&a._d.setTime(+a._d+e*c),f&&na(a,"Date",ma(a,"Date")+f*c),g&&la(a,ma(a,"Month")+g*c),d&&ta.updateOffset(a,f||g)}function u(a){return"[object Array]"===Object.prototype.toString.call(a)}function v(a){return"[object Date]"===Object.prototype.toString.call(a)||a instanceof Date}function w(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&&A(a[d])!==A(b[d]))&&g++;return g+f}function x(a){if(a){var b=a.toLowerCase().replace(/(.)s$/,"$1");a=jb[a]||kb[b]||b}return a}function y(a){var b,d,e={};for(d in a)c(a,d)&&(b=x(d),b&&(e[b]=a[d]));return e}function z(b){var c,d;if(0===b.indexOf("week"))c=7,d="day";else{if(0!==b.indexOf("month"))return;c=12,d="month"}ta[b]=function(e,f){var g,h,i=ta._locale[b],j=[];if("number"==typeof e&&(f=e,e=a),h=function(a){var b=ta().utc().set(d,a);return i.call(ta._locale,b,e||"")},null!=f)return h(f);for(g=0;c>g;g++)j.push(h(g));return j}}function A(a){var b=+a,c=0;return 0!==b&&isFinite(b)&&(c=b>=0?Math.floor(b):Math.ceil(b)),c}function B(a,b){return new Date(Date.UTC(a,b+1,0)).getUTCDate()}function C(a,b,c){return ha(ta([a,11,31+b-c]),b,c).week}function D(a){return E(a)?366:365}function E(a){return a%4===0&&a%100!==0||a%400===0}function F(a){var b;a._a&&-2===a._pf.overflow&&(b=a._a[Ba]<0||a._a[Ba]>11?Ba:a._a[Ca]<1||a._a[Ca]>B(a._a[Aa],a._a[Ba])?Ca:a._a[Da]<0||a._a[Da]>24||24===a._a[Da]&&(0!==a._a[Ea]||0!==a._a[Fa]||0!==a._a[Ga])?Da:a._a[Ea]<0||a._a[Ea]>59?Ea:a._a[Fa]<0||a._a[Fa]>59?Fa:a._a[Ga]<0||a._a[Ga]>999?Ga:-1,a._pf._overflowDayOfYear&&(Aa>b||b>Ca)&&(b=Ca),a._pf.overflow=b)}function G(b){return null==b._isValid&&(b._isValid=!isNaN(b._d.getTime())&&b._pf.overflow<0&&!b._pf.empty&&!b._pf.invalidMonth&&!b._pf.nullInput&&!b._pf.invalidFormat&&!b._pf.userInvalidated,b._strict&&(b._isValid=b._isValid&&0===b._pf.charsLeftOver&&0===b._pf.unusedTokens.length&&b._pf.bigHour===a)),b._isValid}function H(a){return a?a.toLowerCase().replace("_","-"):a}function I(a){for(var b,c,d,e,f=0;f<a.length;){for(e=H(a[f]).split("-"),b=e.length,c=H(a[f+1]),c=c?c.split("-"):null;b>0;){if(d=J(e.slice(0,b).join("-")))return d;if(c&&c.length>=b&&w(e,c,!0)>=b-1)break;b--}f++}return null}function J(a){var b=null;if(!Ha[a]&&Ja)try{b=ta.locale(),require("./locale/"+a),ta.locale(b)}catch(c){}return Ha[a]}function K(a,b){var c,d;return b._isUTC?(c=b.clone(),d=(ta.isMoment(a)||v(a)?+a:+ta(a))-+c,c._d.setTime(+c._d+d),ta.updateOffset(c,!1),c):ta(a).local()}function L(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function M(a){var b,c,d=a.match(Na);for(b=0,c=d.length;c>b;b++)pb[d[b]]?d[b]=pb[d[b]]:d[b]=L(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 N(a,b){return a.isValid()?(b=O(b,a.localeData()),lb[b]||(lb[b]=M(b)),lb[b](a)):a.localeData().invalidDate()}function O(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(Oa.lastIndex=0;d>=0&&Oa.test(a);)a=a.replace(Oa,c),Oa.lastIndex=0,d-=1;return a}function P(a,b){var c,d=b._strict;switch(a){case"Q":return Za;case"DDDD":return _a;case"YYYY":case"GGGG":case"gggg":return d?ab:Ra;case"Y":case"G":case"g":return cb;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return d?bb:Sa;case"S":if(d)return Za;case"SS":if(d)return $a;case"SSS":if(d)return _a;case"DDD":return Qa;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return Ua;case"a":case"A":return b._locale._meridiemParse;case"x":return Xa;case"X":return Ya;case"Z":case"ZZ":return Va;case"T":return Wa;case"SSSS":return Ta;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return d?$a:Pa;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return Pa;case"Do":return d?b._locale._ordinalParse:b._locale._ordinalParseLenient;default:return c=new RegExp(Y(X(a.replace("\\","")),"i"))}}function Q(a){a=a||"";var b=a.match(Va)||[],c=b[b.length-1]||[],d=(c+"").match(hb)||["-",0,0],e=+(60*d[1])+A(d[2]);return"+"===d[0]?-e:e}function R(a,b,c){var d,e=c._a;switch(a){case"Q":null!=b&&(e[Ba]=3*(A(b)-1));break;case"M":case"MM":null!=b&&(e[Ba]=A(b)-1);break;case"MMM":case"MMMM":d=c._locale.monthsParse(b,a,c._strict),null!=d?e[Ba]=d:c._pf.invalidMonth=b;break;case"D":case"DD":null!=b&&(e[Ca]=A(b));break;case"Do":null!=b&&(e[Ca]=A(parseInt(b.match(/\d{1,2}/)[0],10)));break;case"DDD":case"DDDD":null!=b&&(c._dayOfYear=A(b));break;case"YY":e[Aa]=ta.parseTwoDigitYear(b);break;case"YYYY":case"YYYYY":case"YYYYYY":e[Aa]=A(b);break;case"a":case"A":c._isPm=c._locale.isPM(b);break;case"h":case"hh":c._pf.bigHour=!0;case"H":case"HH":e[Da]=A(b);break;case"m":case"mm":e[Ea]=A(b);break;case"s":case"ss":e[Fa]=A(b);break;case"S":case"SS":case"SSS":case"SSSS":e[Ga]=A(1e3*("0."+b));break;case"x":c._d=new Date(A(b));break;case"X":c._d=new Date(1e3*parseFloat(b));break;case"Z":case"ZZ":c._useUTC=!0,c._tzm=Q(b);break;case"dd":case"ddd":case"dddd":d=c._locale.weekdaysParse(b),null!=d?(c._w=c._w||{},c._w.d=d):c._pf.invalidWeekday=b;break;case"w":case"ww":case"W":case"WW":case"d":case"e":case"E":a=a.substr(0,1);case"gggg":case"GGGG":case"GGGGG":a=a.substr(0,2),b&&(c._w=c._w||{},c._w[a]=A(b));break;case"gg":case"GG":c._w=c._w||{},c._w[a]=ta.parseTwoDigitYear(b)}}function S(a){var c,d,e,f,g,h,i;c=a._w,null!=c.GG||null!=c.W||null!=c.E?(g=1,h=4,d=b(c.GG,a._a[Aa],ha(ta(),1,4).year),e=b(c.W,1),f=b(c.E,1)):(g=a._locale._week.dow,h=a._locale._week.doy,d=b(c.gg,a._a[Aa],ha(ta(),g,h).year),e=b(c.w,1),null!=c.d?(f=c.d,g>f&&++e):f=null!=c.e?c.e+g:g),i=ia(d,e,f,h,g),a._a[Aa]=i.year,a._dayOfYear=i.dayOfYear}function T(a){var c,d,e,f,g=[];if(!a._d){for(e=V(a),a._w&&null==a._a[Ca]&&null==a._a[Ba]&&S(a),a._dayOfYear&&(f=b(a._a[Aa],e[Aa]),a._dayOfYear>D(f)&&(a._pf._overflowDayOfYear=!0),d=da(f,0,a._dayOfYear),a._a[Ba]=d.getUTCMonth(),a._a[Ca]=d.getUTCDate()),c=0;3>c&&null==a._a[c];++c)a._a[c]=g[c]=e[c];for(;7>c;c++)a._a[c]=g[c]=null==a._a[c]?2===c?1:0:a._a[c];24===a._a[Da]&&0===a._a[Ea]&&0===a._a[Fa]&&0===a._a[Ga]&&(a._nextDay=!0,a._a[Da]=0),a._d=(a._useUTC?da:ca).apply(null,g),null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()+a._tzm),a._nextDay&&(a._a[Da]=24)}}function U(a){var b;a._d||(b=y(a._i),a._a=[b.year,b.month,b.day||b.date,b.hour,b.minute,b.second,b.millisecond],T(a))}function V(a){var b=new Date;return a._useUTC?[b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()]:[b.getFullYear(),b.getMonth(),b.getDate()]}function W(b){if(b._f===ta.ISO_8601)return void $(b);b._a=[],b._pf.empty=!0;var c,d,e,f,g,h=""+b._i,i=h.length,j=0;for(e=O(b._f,b._locale).match(Na)||[],c=0;c<e.length;c++)f=e[c],d=(h.match(P(f,b))||[])[0],d&&(g=h.substr(0,h.indexOf(d)),g.length>0&&b._pf.unusedInput.push(g),h=h.slice(h.indexOf(d)+d.length),j+=d.length),pb[f]?(d?b._pf.empty=!1:b._pf.unusedTokens.push(f),R(f,d,b)):b._strict&&!d&&b._pf.unusedTokens.push(f);b._pf.charsLeftOver=i-j,h.length>0&&b._pf.unusedInput.push(h),b._pf.bigHour===!0&&b._a[Da]<=12&&(b._pf.bigHour=a),b._isPm&&b._a[Da]<12&&(b._a[Da]+=12),b._isPm===!1&&12===b._a[Da]&&(b._a[Da]=0),T(b),F(b)}function X(a){return a.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e})}function Y(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Z(a){var b,c,e,f,g;if(0===a._f.length)return a._pf.invalidFormat=!0,void(a._d=new Date(NaN));for(f=0;f<a._f.length;f++)g=0,b=n({},a),null!=a._useUTC&&(b._useUTC=a._useUTC),b._pf=d(),b._f=a._f[f],W(b),G(b)&&(g+=b._pf.charsLeftOver,g+=10*b._pf.unusedTokens.length,b._pf.score=g,(null==e||e>g)&&(e=g,c=b));m(a,c||b)}function $(a){var b,c,d=a._i,e=db.exec(d);if(e){for(a._pf.iso=!0,b=0,c=fb.length;c>b;b++)if(fb[b][1].exec(d)){a._f=fb[b][0]+(e[6]||" ");break}for(b=0,c=gb.length;c>b;b++)if(gb[b][1].exec(d)){a._f+=gb[b][0];break}d.match(Va)&&(a._f+="Z"),W(a)}else a._isValid=!1}function _(a){$(a),a._isValid===!1&&(delete a._isValid,ta.createFromInputFallback(a))}function aa(a,b){var c,d=[];for(c=0;c<a.length;++c)d.push(b(a[c],c));return d}function ba(b){var c,d=b._i;d===a?b._d=new Date:v(d)?b._d=new Date(+d):null!==(c=Ka.exec(d))?b._d=new Date(+c[1]):"string"==typeof d?_(b):u(d)?(b._a=aa(d.slice(0),function(a){return parseInt(a,10)}),T(b)):"object"==typeof d?U(b):"number"==typeof d?b._d=new Date(d):ta.createFromInputFallback(b)}function ca(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 da(a){var b=new Date(Date.UTC.apply(null,arguments));return 1970>a&&b.setUTCFullYear(a),b}function ea(a,b){if("string"==typeof a)if(isNaN(a)){if(a=b.weekdaysParse(a),"number"!=typeof a)return null}else a=parseInt(a,10);return a}function fa(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function ga(a,b,c){var d=ta.duration(a).abs(),e=ya(d.as("s")),f=ya(d.as("m")),g=ya(d.as("h")),h=ya(d.as("d")),i=ya(d.as("M")),j=ya(d.as("y")),k=e<mb.s&&["s",e]||1===f&&["m"]||f<mb.m&&["mm",f]||1===g&&["h"]||g<mb.h&&["hh",g]||1===h&&["d"]||h<mb.d&&["dd",h]||1===i&&["M"]||i<mb.M&&["MM",i]||1===j&&["y"]||["yy",j];return k[2]=b,k[3]=+a>0,k[4]=c,fa.apply({},k)}function ha(a,b,c){var d,e=c-b,f=c-a.day();return f>e&&(f-=7),e-7>f&&(f+=7),d=ta(a).add(f,"d"),{week:Math.ceil(d.dayOfYear()/7),year:d.year()}}function ia(a,b,c,d,e){var f,g,h=da(a,0,1).getUTCDay();return h=0===h?7:h,c=null!=c?c:e,f=e-h+(h>d?7:0)-(e>h?7:0),g=7*(b-1)+(c-e)+f+1,{year:g>0?a:a-1,dayOfYear:g>0?g:D(a-1)+g}}function ja(b){var c,d=b._i,e=b._f;return b._locale=b._locale||ta.localeData(b._l),null===d||e===a&&""===d?ta.invalid({nullInput:!0}):("string"==typeof d&&(b._i=d=b._locale.preparse(d)),ta.isMoment(d)?new k(d,!0):(e?u(e)?Z(b):W(b):ba(b),c=new k(b),c._nextDay&&(c.add(1,"d"),c._nextDay=a),c))}function ka(a,b){var c,d;if(1===b.length&&u(b[0])&&(b=b[0]),!b.length)return ta();for(c=b[0],d=1;d<b.length;++d)b[d][a](c)&&(c=b[d]);return c}function la(a,b){var c;return"string"==typeof b&&(b=a.localeData().monthsParse(b),"number"!=typeof b)?a:(c=Math.min(a.date(),B(a.year(),b)),a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c),a)}function ma(a,b){return a._d["get"+(a._isUTC?"UTC":"")+b]()}function na(a,b,c){return"Month"===b?la(a,c):a._d["set"+(a._isUTC?"UTC":"")+b](c)}function oa(a,b){return function(c){return null!=c?(na(this,a,c),ta.updateOffset(this,b),this):ma(this,a)}}function pa(a){return 400*a/146097}function qa(a){return 146097*a/400}function ra(a){ta.duration.fn[a]=function(){return this._data[a]}}function sa(a){"undefined"==typeof ender&&(ua=xa.moment,a?xa.moment=f("Accessing Moment through the global scope is deprecated, and will be removed in an upcoming release.",ta):xa.moment=ta)}for(var ta,ua,va,wa="2.8.4",xa="undefined"!=typeof global?global:this,ya=Math.round,za=Object.prototype.hasOwnProperty,Aa=0,Ba=1,Ca=2,Da=3,Ea=4,Fa=5,Ga=6,Ha={},Ia=[],Ja="undefined"!=typeof module&&module&&module.exports,Ka=/^\/?Date\((\-?\d+)/i,La=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Ma=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,Na=/(\[[^\[]*\])|(\\)?(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,4}|x|X|zz?|ZZ?|.)/g,Oa=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Pa=/\d\d?/,Qa=/\d{1,3}/,Ra=/\d{1,4}/,Sa=/[+\-]?\d{1,6}/,Ta=/\d+/,Ua=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Va=/Z|[\+\-]\d\d:?\d\d/gi,Wa=/T/i,Xa=/[\+\-]?\d+/,Ya=/[\+\-]?\d+(\.\d{1,3})?/,Za=/\d/,$a=/\d\d/,_a=/\d{3}/,ab=/\d{4}/,bb=/[+-]?\d{6}/,cb=/[+-]?\d+/,db=/^\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)?)?$/,eb="YYYY-MM-DDTHH:mm:ssZ",fb=[["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}/]],gb=[["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/]],hb=/([\+\-]|\d\d)/gi,ib=("Date|Hours|Minutes|Seconds|Milliseconds".split("|"),{Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6}),jb={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",Q:"quarter",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},kb={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},lb={},mb={s:45,m:45,h:22,d:26,M:11},nb="DDD w W M D d".split(" "),ob="M D H h m s w W".split(" "),pb={M:function(){return this.month()+1},MMM:function(a){return this.localeData().monthsShort(this,a)},MMMM:function(a){return this.localeData().months(this,a)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(a){return this.localeData().weekdaysMin(this,a)},ddd:function(a){return this.localeData().weekdaysShort(this,a)},dddd:function(a){return this.localeData().weekdays(this,a)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return p(this.year()%100,2)},YYYY:function(){return p(this.year(),4)},YYYYY:function(){return p(this.year(),5)},YYYYYY:function(){var a=this.year(),b=a>=0?"+":"-";return b+p(Math.abs(a),6)},gg:function(){return p(this.weekYear()%100,2)},gggg:function(){return p(this.weekYear(),4)},ggggg:function(){return p(this.weekYear(),5)},GG:function(){return p(this.isoWeekYear()%100,2)},GGGG:function(){return p(this.isoWeekYear(),4)},GGGGG:function(){return p(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return A(this.milliseconds()/100)},SS:function(){return p(A(this.milliseconds()/10),2)},SSS:function(){return p(this.milliseconds(),3)},SSSS:function(){return p(this.milliseconds(),3)},Z:function(){var a=-this.zone(),b="+";return 0>a&&(a=-a,b="-"),b+p(A(a/60),2)+":"+p(A(a)%60,2)},ZZ:function(){var a=-this.zone(),b="+";return 0>a&&(a=-a,b="-"),b+p(A(a/60),2)+p(A(a)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},x:function(){return this.valueOf()},X:function(){return this.unix()},Q:function(){return this.quarter()}},qb={},rb=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"];nb.length;)va=nb.pop(),pb[va+"o"]=i(pb[va],va);for(;ob.length;)va=ob.pop(),pb[va+va]=h(pb[va],2);pb.DDDD=h(pb.DDD,3),m(j.prototype,{set:function(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)},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(a){return this._months[a.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(a){return this._monthsShort[a.month()]},monthsParse:function(a,b,c){var d,e,f;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),d=0;12>d;d++){if(e=ta.utc([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}},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(a){return this._weekdays[a.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(a){return this._weekdaysShort[a.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(a){return this._weekdaysMin[a.day()]},weekdaysParse:function(a){var b,c,d;for(this._weekdaysParse||(this._weekdaysParse=[]),b=0;7>b;b++)if(this._weekdaysParse[b]||(c=ta([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},_longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},longDateFormat:function(a){var b=this._longDateFormat[a];return!b&&this._longDateFormat[a.toUpperCase()]&&(b=this._longDateFormat[a.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)}),this._longDateFormat[a]=b),b},isPM:function(a){return"p"===(a+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(a,b,c){return a>11?c?"pm":"PM":c?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(a,b,c){var d=this._calendar[a];return"function"==typeof d?d.apply(b,[c]):d},_relativeTime:{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"},relativeTime:function(a,b,c,d){var e=this._relativeTime[c];return"function"==typeof e?e(a,b,c,d):e.replace(/%d/i,a)},pastFuture:function(a,b){var c=this._relativeTime[a>0?"future":"past"];return"function"==typeof c?c(b):c.replace(/%s/i,b)},ordinal:function(a){return this._ordinal.replace("%d",a)},_ordinal:"%d",_ordinalParse:/\d{1,2}/,preparse:function(a){return a},postformat:function(a){return a},week:function(a){return ha(a,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),ta=function(b,c,e,f){var g;return"boolean"==typeof e&&(f=e,e=a),g={},g._isAMomentObject=!0,g._i=b,g._f=c,g._l=e,g._strict=f,g._isUTC=!1,g._pf=d(),ja(g)},ta.suppressDeprecationWarnings=!1,ta.createFromInputFallback=f("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":""))}),ta.min=function(){var a=[].slice.call(arguments,0);return ka("isBefore",a)},ta.max=function(){var a=[].slice.call(arguments,0);return ka("isAfter",a)},ta.utc=function(b,c,e,f){var g;return"boolean"==typeof e&&(f=e,e=a),g={},g._isAMomentObject=!0,g._useUTC=!0,g._isUTC=!0,g._l=e,g._i=b,g._f=c,g._strict=f,g._pf=d(),ja(g).utc()},ta.unix=function(a){return ta(1e3*a)},ta.duration=function(a,b){var d,e,f,g,h=a,i=null;return ta.isDuration(a)?h={ms:a._milliseconds,d:a._days,M:a._months}:"number"==typeof a?(h={},b?h[b]=a:h.milliseconds=a):(i=La.exec(a))?(d="-"===i[1]?-1:1,h={y:0,d:A(i[Ca])*d,h:A(i[Da])*d,m:A(i[Ea])*d,s:A(i[Fa])*d,ms:A(i[Ga])*d}):(i=Ma.exec(a))?(d="-"===i[1]?-1:1,f=function(a){var b=a&&parseFloat(a.replace(",","."));return(isNaN(b)?0:b)*d},h={y:f(i[2]),M:f(i[3]),d:f(i[4]),h:f(i[5]),m:f(i[6]),s:f(i[7]),w:f(i[8])}):"object"==typeof h&&("from"in h||"to"in h)&&(g=r(ta(h.from),ta(h.to)),h={},h.ms=g.milliseconds,h.M=g.months),e=new l(h),ta.isDuration(a)&&c(a,"_locale")&&(e._locale=a._locale),e},ta.version=wa,ta.defaultFormat=eb,ta.ISO_8601=function(){},ta.momentProperties=Ia,ta.updateOffset=function(){},ta.relativeTimeThreshold=function(b,c){return mb[b]===a?!1:c===a?mb[b]:(mb[b]=c,!0)},ta.lang=f("moment.lang is deprecated. Use moment.locale instead.",function(a,b){return ta.locale(a,b)}),ta.locale=function(a,b){var c;return a&&(c="undefined"!=typeof b?ta.defineLocale(a,b):ta.localeData(a),c&&(ta.duration._locale=ta._locale=c)),ta._locale._abbr},ta.defineLocale=function(a,b){return null!==b?(b.abbr=a,Ha[a]||(Ha[a]=new j),Ha[a].set(b),ta.locale(a),Ha[a]):(delete Ha[a],null)},ta.langData=f("moment.langData is deprecated. Use moment.localeData instead.",function(a){return ta.localeData(a)}),ta.localeData=function(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return ta._locale;if(!u(a)){if(b=J(a))return b;a=[a]}return I(a)},ta.isMoment=function(a){return a instanceof k||null!=a&&c(a,"_isAMomentObject")},ta.isDuration=function(a){return a instanceof l};for(va=rb.length-1;va>=0;--va)z(rb[va]);ta.normalizeUnits=function(a){return x(a)},ta.invalid=function(a){var b=ta.utc(NaN);return null!=a?m(b._pf,a):b._pf.userInvalidated=!0,b},ta.parseZone=function(){return ta.apply(null,arguments).parseZone()},ta.parseTwoDigitYear=function(a){return A(a)+(A(a)>68?1900:2e3)},m(ta.fn=k.prototype,{clone:function(){return ta(this)},valueOf:function(){return+this._d+6e4*(this._offset||0)},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var a=ta(this).utc();return 0<a.year()&&a.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():N(a,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):N(a,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var a=this;return[a.year(),a.month(),a.date(),a.hours(),a.minutes(),a.seconds(),a.milliseconds()]},isValid:function(){return G(this)},isDSTShifted:function(){return this._a?this.isValid()&&w(this._a,(this._isUTC?ta.utc(this._a):ta(this._a)).toArray())>0:!1},parsingFlags:function(){return m({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(a){return this.zone(0,a)},local:function(a){return this._isUTC&&(this.zone(0,a),this._isUTC=!1,a&&this.add(this._dateTzOffset(),"m")),this},format:function(a){var b=N(this,a||ta.defaultFormat);return this.localeData().postformat(b)},add:s(1,"add"),subtract:s(-1,"subtract"),diff:function(a,b,c){var d,e,f,g=K(a,this),h=6e4*(this.zone()-g.zone());return b=x(b),"year"===b||"month"===b?(d=432e5*(this.daysInMonth()+g.daysInMonth()),e=12*(this.year()-g.year())+(this.month()-g.month()),f=this-ta(this).startOf("month")-(g-ta(g).startOf("month")),f-=6e4*(this.zone()-ta(this).startOf("month").zone()-(g.zone()-ta(g).startOf("month").zone())),e+=f/d,"year"===b&&(e/=12)):(d=this-g,e="second"===b?d/1e3:"minute"===b?d/6e4:"hour"===b?d/36e5:"day"===b?(d-h)/864e5:"week"===b?(d-h)/6048e5:d),c?e:o(e)},from:function(a,b){return ta.duration({to:this,from:a}).locale(this.locale()).humanize(!b)},fromNow:function(a){return this.from(ta(),a)},calendar:function(a){var b=a||ta(),c=K(b,this).startOf("day"),d=this.diff(c,"days",!0),e=-6>d?"sameElse":-1>d?"lastWeek":0>d?"lastDay":1>d?"sameDay":2>d?"nextDay":7>d?"nextWeek":"sameElse";return this.format(this.localeData().calendar(e,this,ta(b)))},isLeapYear:function(){return E(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(a){var b=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=a?(a=ea(a,this.localeData()),this.add(a-b,"d")):b},month:oa("Month",!0),startOf:function(a){switch(a=x(a)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===a?this.weekday(0):"isoWeek"===a&&this.isoWeekday(1),"quarter"===a&&this.month(3*Math.floor(this.month()/3)),this},endOf:function(b){return b=x(b),b===a||"millisecond"===b?this:this.startOf(b).add(1,"isoWeek"===b?"week":b).subtract(1,"ms")},isAfter:function(a,b){var c;return b=x("undefined"!=typeof b?b:"millisecond"),"millisecond"===b?(a=ta.isMoment(a)?a:ta(a),+this>+a):(c=ta.isMoment(a)?+a:+ta(a),c<+this.clone().startOf(b))},isBefore:function(a,b){var c;return b=x("undefined"!=typeof b?b:"millisecond"),"millisecond"===b?(a=ta.isMoment(a)?a:ta(a),+a>+this):(c=ta.isMoment(a)?+a:+ta(a),+this.clone().endOf(b)<c)},isSame:function(a,b){var c;return b=x(b||"millisecond"),"millisecond"===b?(a=ta.isMoment(a)?a:ta(a),+this===+a):(c=+ta(a),+this.clone().startOf(b)<=c&&c<=+this.clone().endOf(b))},min:f("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(a){return a=ta.apply(null,arguments),this>a?this:a}),max:f("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(a){return a=ta.apply(null,arguments),a>this?this:a}),zone:function(a,b){var c,d=this._offset||0;return null==a?this._isUTC?d:this._dateTzOffset():("string"==typeof a&&(a=Q(a)),Math.abs(a)<16&&(a=60*a),!this._isUTC&&b&&(c=this._dateTzOffset()),this._offset=a,this._isUTC=!0,null!=c&&this.subtract(c,"m"),d!==a&&(!b||this._changeInProgress?t(this,ta.duration(d-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,ta.updateOffset(this,!0),this._changeInProgress=null)),this)},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.zone(this._tzm):"string"==typeof this._i&&this.zone(this._i),this},hasAlignedHourOffset:function(a){return a=a?ta(a).zone():0,(this.zone()-a)%60===0},daysInMonth:function(){return B(this.year(),this.month())},dayOfYear:function(a){var b=ya((ta(this).startOf("day")-ta(this).startOf("year"))/864e5)+1;return null==a?b:this.add(a-b,"d")},quarter:function(a){return null==a?Math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)},weekYear:function(a){var b=ha(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==a?b:this.add(a-b,"y")},isoWeekYear:function(a){var b=ha(this,1,4).year;return null==a?b:this.add(a-b,"y")},week:function(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")},isoWeek:function(a){var b=ha(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")},weekday:function(a){var b=(this.day()+7-this.localeData()._week.dow)%7;return null==a?b:this.add(a-b,"d")},isoWeekday:function(a){return null==a?this.day()||7:this.day(this.day()%7?a:a-7)},isoWeeksInYear:function(){return C(this.year(),1,4)},weeksInYear:function(){var a=this.localeData()._week;return C(this.year(),a.dow,a.doy)},get:function(a){return a=x(a),this[a]()},set:function(a,b){return a=x(a),"function"==typeof this[a]&&this[a](b),this},locale:function(b){var c;return b===a?this._locale._abbr:(c=ta.localeData(b),null!=c&&(this._locale=c),this)},lang:f("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(b){return b===a?this.localeData():this.locale(b)}),localeData:function(){return this._locale},_dateTzOffset:function(){return 15*Math.round(this._d.getTimezoneOffset()/15)}}),ta.fn.millisecond=ta.fn.milliseconds=oa("Milliseconds",!1),ta.fn.second=ta.fn.seconds=oa("Seconds",!1),ta.fn.minute=ta.fn.minutes=oa("Minutes",!1),ta.fn.hour=ta.fn.hours=oa("Hours",!0),ta.fn.date=oa("Date",!0),ta.fn.dates=f("dates accessor is deprecated. Use date instead.",oa("Date",!0)),ta.fn.year=oa("FullYear",!0),ta.fn.years=f("years accessor is deprecated. Use year instead.",oa("FullYear",!0)),ta.fn.days=ta.fn.day,ta.fn.months=ta.fn.month,ta.fn.weeks=ta.fn.week,ta.fn.isoWeeks=ta.fn.isoWeek,ta.fn.quarters=ta.fn.quarter,ta.fn.toJSON=ta.fn.toISOString,m(ta.duration.fn=l.prototype,{_bubble:function(){var a,b,c,d=this._milliseconds,e=this._days,f=this._months,g=this._data,h=0;g.milliseconds=d%1e3,a=o(d/1e3),g.seconds=a%60,b=o(a/60),g.minutes=b%60,c=o(b/60),g.hours=c%24,e+=o(c/24),h=o(pa(e)),e-=o(qa(h)),f+=o(e/30),e%=30,h+=o(f/12),f%=12,g.days=e,
-g.months=f,g.years=h},abs:function(){return this._milliseconds=Math.abs(this._milliseconds),this._days=Math.abs(this._days),this._months=Math.abs(this._months),this._data.milliseconds=Math.abs(this._data.milliseconds),this._data.seconds=Math.abs(this._data.seconds),this._data.minutes=Math.abs(this._data.minutes),this._data.hours=Math.abs(this._data.hours),this._data.months=Math.abs(this._data.months),this._data.years=Math.abs(this._data.years),this},weeks:function(){return o(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*A(this._months/12)},humanize:function(a){var b=ga(this,!a,this.localeData());return a&&(b=this.localeData().pastFuture(+this,b)),this.localeData().postformat(b)},add:function(a,b){var c=ta.duration(a,b);return this._milliseconds+=c._milliseconds,this._days+=c._days,this._months+=c._months,this._bubble(),this},subtract:function(a,b){var c=ta.duration(a,b);return this._milliseconds-=c._milliseconds,this._days-=c._days,this._months-=c._months,this._bubble(),this},get:function(a){return a=x(a),this[a.toLowerCase()+"s"]()},as:function(a){var b,c;if(a=x(a),"month"===a||"year"===a)return b=this._days+this._milliseconds/864e5,c=this._months+12*pa(b),"month"===a?c:c/12;switch(b=this._days+Math.round(qa(this._months/12)),a){case"week":return b/7+this._milliseconds/6048e5;case"day":return b+this._milliseconds/864e5;case"hour":return 24*b+this._milliseconds/36e5;case"minute":return 24*b*60+this._milliseconds/6e4;case"second":return 24*b*60*60+this._milliseconds/1e3;case"millisecond":return Math.floor(24*b*60*60*1e3)+this._milliseconds;default:throw new Error("Unknown unit "+a)}},lang:ta.fn.lang,locale:ta.fn.locale,toIsoString:f("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",function(){return this.toISOString()}),toISOString:function(){var a=Math.abs(this.years()),b=Math.abs(this.months()),c=Math.abs(this.days()),d=Math.abs(this.hours()),e=Math.abs(this.minutes()),f=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(a?a+"Y":"")+(b?b+"M":"")+(c?c+"D":"")+(d||e||f?"T":"")+(d?d+"H":"")+(e?e+"M":"")+(f?f+"S":""):"P0D"},localeData:function(){return this._locale}}),ta.duration.fn.toString=ta.duration.fn.toISOString;for(va in ib)c(ib,va)&&ra(va.toLowerCase());ta.duration.fn.asMilliseconds=function(){return this.as("ms")},ta.duration.fn.asSeconds=function(){return this.as("s")},ta.duration.fn.asMinutes=function(){return this.as("m")},ta.duration.fn.asHours=function(){return this.as("h")},ta.duration.fn.asDays=function(){return this.as("d")},ta.duration.fn.asWeeks=function(){return this.as("weeks")},ta.duration.fn.asMonths=function(){return this.as("M")},ta.duration.fn.asYears=function(){return this.as("y")},ta.locale("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===A(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),Ja?module.exports=ta:"function"==typeof define&&define.amd?(define("moment",function(a,b,c){return c.config&&c.config()&&c.config().noGlobal===!0&&(xa.moment=ua),ta}),sa(!0)):sa()}.call(this),function(a,b){if("function"==typeof define&&define.amd)define(["moment","jquery","exports"],function(c,d,e){a.daterangepicker=b(a,e,c,d)});else if("undefined"!=typeof exports){var c,d=require("moment");try{c=require("jquery")}catch(e){if(c=window.jQuery,!c)throw new Error("jQuery dependency not found")}b(a,exports,d,c)}else a.daterangepicker=b(a,{},a.moment,a.jQuery||a.Zepto||a.ender||a.$)}(this,function(a,b,c,d){var e=function(a,b,c){this.parentEl="body",this.element=d(a),this.isShowing=!1;var e='<div class="daterangepicker dropdown-menu"><div class="calendar first left"></div><div class="calendar second right"></div><div class="ranges"><div class="range_inputs"><div class="daterangepicker_start_input"><label for="daterangepicker_start"></label><input class="input-mini" type="text" name="daterangepicker_start" value="" /></div><div class="daterangepicker_end_input"><label for="daterangepicker_end"></label><input class="input-mini" type="text" name="daterangepicker_end" value="" /></div><button class="applyBtn" disabled="disabled"></button>&nbsp;<button class="cancelBtn"></button></div></div></div>';("object"!=typeof b||null===b)&&(b={}),this.parentEl=d("object"==typeof b&&b.parentEl&&d(b.parentEl).length?b.parentEl:this.parentEl),this.container=d(e).appendTo(this.parentEl),this.setOptions(b,c);var f=this.container;d.each(this.buttonClasses,function(a,b){f.find("button").addClass(b)}),this.container.find(".daterangepicker_start_input label").html(this.locale.fromLabel),this.container.find(".daterangepicker_end_input label").html(this.locale.toLabel),this.applyClass.length&&this.container.find(".applyBtn").addClass(this.applyClass),this.cancelClass.length&&this.container.find(".cancelBtn").addClass(this.cancelClass),this.container.find(".applyBtn").html(this.locale.applyLabel),this.container.find(".cancelBtn").html(this.locale.cancelLabel),this.container.find(".calendar").on("click.daterangepicker",".prev",d.proxy(this.clickPrev,this)).on("click.daterangepicker",".next",d.proxy(this.clickNext,this)).on("click.daterangepicker","td.available",d.proxy(this.clickDate,this)).on("mouseenter.daterangepicker","td.available",d.proxy(this.hoverDate,this)).on("mouseleave.daterangepicker","td.available",d.proxy(this.updateFormInputs,this)).on("change.daterangepicker","select.yearselect",d.proxy(this.updateMonthYear,this)).on("change.daterangepicker","select.monthselect",d.proxy(this.updateMonthYear,this)).on("change.daterangepicker","select.hourselect,select.minuteselect,select.secondselect,select.ampmselect",d.proxy(this.updateTime,this)),this.container.find(".ranges").on("click.daterangepicker","button.applyBtn",d.proxy(this.clickApply,this)).on("click.daterangepicker","button.cancelBtn",d.proxy(this.clickCancel,this)).on("click.daterangepicker",".daterangepicker_start_input,.daterangepicker_end_input",d.proxy(this.showCalendars,this)).on("change.daterangepicker",".daterangepicker_start_input,.daterangepicker_end_input",d.proxy(this.inputsChanged,this)).on("keydown.daterangepicker",".daterangepicker_start_input,.daterangepicker_end_input",d.proxy(this.inputsKeydown,this)).on("click.daterangepicker","li",d.proxy(this.clickRange,this)).on("mouseenter.daterangepicker","li",d.proxy(this.enterRange,this)).on("mouseleave.daterangepicker","li",d.proxy(this.updateFormInputs,this)),this.element.is("input")?this.element.on({"click.daterangepicker":d.proxy(this.show,this),"focus.daterangepicker":d.proxy(this.show,this),"keyup.daterangepicker":d.proxy(this.updateFromControl,this)}):this.element.on("click.daterangepicker",d.proxy(this.toggle,this))};e.prototype={constructor:e,setOptions:function(a,b){if(this.startDate=c().startOf("day"),this.endDate=c().endOf("day"),this.timeZone=c().zone(),this.minDate=!1,this.maxDate=!1,this.dateLimit=!1,this.showDropdowns=!1,this.showWeekNumbers=!1,this.timePicker=!1,this.timePickerSeconds=!1,this.timePickerIncrement=30,this.timePicker12Hour=!0,this.singleDatePicker=!1,this.ranges={},this.opens="right",this.element.hasClass("pull-right")&&(this.opens="left"),this.buttonClasses=["btn","btn-small btn-sm"],this.applyClass="btn-success",this.cancelClass="btn-default",this.format="MM/DD/YYYY",this.separator=" - ",this.locale={applyLabel:"Apply",cancelLabel:"Cancel",fromLabel:"From",toLabel:"To",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:c.weekdaysMin(),monthNames:c.monthsShort(),firstDay:c.localeData()._week.dow},this.cb=function(){},"string"==typeof a.format&&(this.format=a.format),"string"==typeof a.separator&&(this.separator=a.separator),"string"==typeof a.startDate&&(this.startDate=c(a.startDate,this.format)),"string"==typeof a.endDate&&(this.endDate=c(a.endDate,this.format)),"string"==typeof a.minDate&&(this.minDate=c(a.minDate,this.format)),"string"==typeof a.maxDate&&(this.maxDate=c(a.maxDate,this.format)),"object"==typeof a.startDate&&(this.startDate=c(a.startDate)),"object"==typeof a.endDate&&(this.endDate=c(a.endDate)),"object"==typeof a.minDate&&(this.minDate=c(a.minDate)),"object"==typeof a.maxDate&&(this.maxDate=c(a.maxDate)),"string"==typeof a.applyClass&&(this.applyClass=a.applyClass),"string"==typeof a.cancelClass&&(this.cancelClass=a.cancelClass),"object"==typeof a.dateLimit&&(this.dateLimit=a.dateLimit),"object"==typeof a.locale&&("object"==typeof a.locale.daysOfWeek&&(this.locale.daysOfWeek=a.locale.daysOfWeek.slice()),"object"==typeof a.locale.monthNames&&(this.locale.monthNames=a.locale.monthNames.slice()),"number"==typeof a.locale.firstDay&&(this.locale.firstDay=a.locale.firstDay),"string"==typeof a.locale.applyLabel&&(this.locale.applyLabel=a.locale.applyLabel),"string"==typeof a.locale.cancelLabel&&(this.locale.cancelLabel=a.locale.cancelLabel),"string"==typeof a.locale.fromLabel&&(this.locale.fromLabel=a.locale.fromLabel),"string"==typeof a.locale.toLabel&&(this.locale.toLabel=a.locale.toLabel),"string"==typeof a.locale.weekLabel&&(this.locale.weekLabel=a.locale.weekLabel),"string"==typeof a.locale.customRangeLabel&&(this.locale.customRangeLabel=a.locale.customRangeLabel)),"string"==typeof a.opens&&(this.opens=a.opens),"boolean"==typeof a.showWeekNumbers&&(this.showWeekNumbers=a.showWeekNumbers),"string"==typeof a.buttonClasses&&(this.buttonClasses=[a.buttonClasses]),"object"==typeof a.buttonClasses&&(this.buttonClasses=a.buttonClasses),"boolean"==typeof a.showDropdowns&&(this.showDropdowns=a.showDropdowns),"boolean"==typeof a.singleDatePicker&&(this.singleDatePicker=a.singleDatePicker,this.singleDatePicker&&(this.endDate=this.startDate.clone())),"boolean"==typeof a.timePicker&&(this.timePicker=a.timePicker),"boolean"==typeof a.timePickerSeconds&&(this.timePickerSeconds=a.timePickerSeconds),"number"==typeof a.timePickerIncrement&&(this.timePickerIncrement=a.timePickerIncrement),"boolean"==typeof a.timePicker12Hour&&(this.timePicker12Hour=a.timePicker12Hour),0!=this.locale.firstDay)for(var e=this.locale.firstDay;e>0;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()),e--;var f,g,h;if("undefined"==typeof a.startDate&&"undefined"==typeof a.endDate&&d(this.element).is("input[type=text]")){var i=d(this.element).val(),j=i.split(this.separator);f=g=null,2==j.length?(f=c(j[0],this.format),g=c(j[1],this.format)):this.singleDatePicker&&""!==i&&(f=c(i,this.format),g=c(i,this.format)),null!==f&&null!==g&&(this.startDate=f,this.endDate=g)}if("string"==typeof a.timeZone||"number"==typeof a.timeZone?(this.timeZone=a.timeZone,this.startDate.zone(this.timeZone),this.endDate.zone(this.timeZone)):this.timeZone=c(this.startDate).zone(),"object"==typeof a.ranges){for(h in a.ranges)f="string"==typeof a.ranges[h][0]?c(a.ranges[h][0],this.format):c(a.ranges[h][0]),g="string"==typeof a.ranges[h][1]?c(a.ranges[h][1],this.format):c(a.ranges[h][1]),this.minDate&&f.isBefore(this.minDate)&&(f=c(this.minDate)),this.maxDate&&g.isAfter(this.maxDate)&&(g=c(this.maxDate)),this.minDate&&g.isBefore(this.minDate)||this.maxDate&&f.isAfter(this.maxDate)||(this.ranges[h]=[f,g]);var k="<ul>";for(h in this.ranges)k+="<li>"+h+"</li>";k+="<li>"+this.locale.customRangeLabel+"</li>",k+="</ul>",this.container.find(".ranges ul").remove(),this.container.find(".ranges").prepend(k)}if("function"==typeof b&&(this.cb=b),this.timePicker||(this.startDate=this.startDate.startOf("day"),this.endDate=this.endDate.endOf("day")),this.singleDatePicker?(this.opens="right",this.container.addClass("single"),this.container.find(".calendar.right").show(),this.container.find(".calendar.left").hide(),this.timePicker?this.container.find(".ranges .daterangepicker_start_input, .ranges .daterangepicker_end_input").hide():this.container.find(".ranges").hide(),this.container.find(".calendar.right").hasClass("single")||this.container.find(".calendar.right").addClass("single")):(this.container.removeClass("single"),this.container.find(".calendar.right").removeClass("single"),this.container.find(".ranges").show()),this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.oldChosenLabel=this.chosenLabel,this.leftCalendar={month:c([this.startDate.year(),this.startDate.month(),1,this.startDate.hour(),this.startDate.minute(),this.startDate.second()]),calendar:[]},this.rightCalendar={month:c([this.endDate.year(),this.endDate.month(),1,this.endDate.hour(),this.endDate.minute(),this.endDate.second()]),calendar:[]},"right"==this.opens||"center"==this.opens){var l=this.container.find(".calendar.first"),m=this.container.find(".calendar.second");m.hasClass("single")&&(m.removeClass("single"),l.addClass("single")),l.removeClass("left").addClass("right"),m.removeClass("right").addClass("left"),this.singleDatePicker&&(l.show(),m.hide())}"undefined"!=typeof a.ranges||this.singleDatePicker||this.container.addClass("show-calendar"),this.container.addClass("opens"+this.opens),this.updateView(),this.updateCalendars()},setStartDate:function(a){"string"==typeof a&&(this.startDate=c(a,this.format).zone(this.timeZone)),"object"==typeof a&&(this.startDate=c(a)),this.timePicker||(this.startDate=this.startDate.startOf("day")),this.oldStartDate=this.startDate.clone(),this.updateView(),this.updateCalendars(),this.updateInputText()},setEndDate:function(a){"string"==typeof a&&(this.endDate=c(a,this.format).zone(this.timeZone)),"object"==typeof a&&(this.endDate=c(a)),this.timePicker||(this.endDate=this.endDate.endOf("day")),this.oldEndDate=this.endDate.clone(),this.updateView(),this.updateCalendars(),this.updateInputText()},updateView:function(){this.leftCalendar.month.month(this.startDate.month()).year(this.startDate.year()).hour(this.startDate.hour()).minute(this.startDate.minute()),this.rightCalendar.month.month(this.endDate.month()).year(this.endDate.year()).hour(this.endDate.hour()).minute(this.endDate.minute()),this.updateFormInputs()},updateFormInputs:function(){this.container.find("input[name=daterangepicker_start]").val(this.startDate.format(this.format)),this.container.find("input[name=daterangepicker_end]").val(this.endDate.format(this.format)),this.startDate.isSame(this.endDate)||this.startDate.isBefore(this.endDate)?this.container.find("button.applyBtn").removeAttr("disabled"):this.container.find("button.applyBtn").attr("disabled","disabled")},updateFromControl:function(){if(this.element.is("input")&&this.element.val().length){var a=this.element.val().split(this.separator),b=null,d=null;2===a.length&&(b=c(a[0],this.format).zone(this.timeZone),d=c(a[1],this.format).zone(this.timeZone)),(this.singleDatePicker||null===b||null===d)&&(b=c(this.element.val(),this.format).zone(this.timeZone),d=b),d.isBefore(b)||(this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.startDate=b,this.endDate=d,this.startDate.isSame(this.oldStartDate)&&this.endDate.isSame(this.oldEndDate)||this.notify(),this.updateCalendars())}},notify:function(){this.updateView(),this.cb(this.startDate,this.endDate,this.chosenLabel)},move:function(){var a={top:0,left:0},b=d(window).width();this.parentEl.is("body")||(a={top:this.parentEl.offset().top-this.parentEl.scrollTop(),left:this.parentEl.offset().left-this.parentEl.scrollLeft()},b=this.parentEl[0].clientWidth+this.parentEl.offset().left),"left"==this.opens?(this.container.css({top:this.element.offset().top+this.element.outerHeight()-a.top,right:b-this.element.offset().left-this.element.outerWidth(),left:"auto"}),this.container.offset().left<0&&this.container.css({right:"auto",left:9})):"center"==this.opens?(this.container.css({top:this.element.offset().top+this.element.outerHeight()-a.top,left:this.element.offset().left-a.left+this.element.outerWidth()/2-this.container.outerWidth()/2,right:"auto"}),this.container.offset().left<0&&this.container.css({right:"auto",left:9})):(this.container.css({top:this.element.offset().top+this.element.outerHeight()-a.top,left:this.element.offset().left-a.left,right:"auto"}),this.container.offset().left+this.container.outerWidth()>d(window).width()&&this.container.css({left:"auto",right:0}))},toggle:function(a){this.element.hasClass("active")?this.hide():this.show()},show:function(a){this.isShowing||(this.element.addClass("active"),this.container.show(),this.move(),this._outsideClickProxy=d.proxy(function(a){this.outsideClick(a)},this),d(document).on("mousedown.daterangepicker",this._outsideClickProxy).on("touchend.daterangepicker",this._outsideClickProxy).on("click.daterangepicker","[data-toggle=dropdown]",this._outsideClickProxy).on("focusin.daterangepicker",this._outsideClickProxy),this.isShowing=!0,this.element.trigger("show.daterangepicker",this))},outsideClick:function(a){var b=d(a.target);"focusin"==a.type||b.closest(this.element).length||b.closest(this.container).length||b.closest(".calendar-date").length||this.hide()},hide:function(a){this.isShowing&&(d(document).off(".daterangepicker"),this.element.removeClass("active"),this.container.hide(),this.startDate.isSame(this.oldStartDate)&&this.endDate.isSame(this.oldEndDate)||this.notify(),this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.isShowing=!1,this.element.trigger("hide.daterangepicker",this))},enterRange:function(a){var b=a.target.innerHTML;if(b==this.locale.customRangeLabel)this.updateView();else{var c=this.ranges[b];this.container.find("input[name=daterangepicker_start]").val(c[0].format(this.format)),this.container.find("input[name=daterangepicker_end]").val(c[1].format(this.format))}},showCalendars:function(){this.container.addClass("show-calendar"),this.move(),this.element.trigger("showCalendar.daterangepicker",this)},hideCalendars:function(){this.container.removeClass("show-calendar"),this.element.trigger("hideCalendar.daterangepicker",this)},inputsChanged:function(a){var b=d(a.target),e=c(b.val(),this.format);if(e.isValid()){var f,g;"daterangepicker_start"===b.attr("name")?(f=e,g=this.endDate):(f=this.startDate,g=e),this.setCustomDates(f,g)}},inputsKeydown:function(a){13===a.keyCode&&(this.inputsChanged(a),this.notify())},updateInputText:function(){this.element.is("input")&&!this.singleDatePicker?this.element.val(this.startDate.format(this.format)+this.separator+this.endDate.format(this.format)):this.element.is("input")&&this.element.val(this.endDate.format(this.format))},clickRange:function(a){var b=a.target.innerHTML;if(this.chosenLabel=b,b==this.locale.customRangeLabel)this.showCalendars();else{var c=this.ranges[b];this.startDate=c[0],this.endDate=c[1],this.timePicker||(this.startDate.startOf("day"),this.endDate.endOf("day")),this.leftCalendar.month.month(this.startDate.month()).year(this.startDate.year()).hour(this.startDate.hour()).minute(this.startDate.minute()),this.rightCalendar.month.month(this.endDate.month()).year(this.endDate.year()).hour(this.endDate.hour()).minute(this.endDate.minute()),this.updateCalendars(),this.updateInputText(),this.hideCalendars(),this.hide(),this.element.trigger("apply.daterangepicker",this)}},clickPrev:function(a){var b=d(a.target).parents(".calendar");b.hasClass("left")?this.leftCalendar.month.subtract(1,"month"):this.rightCalendar.month.subtract(1,"month"),this.updateCalendars()},clickNext:function(a){var b=d(a.target).parents(".calendar");b.hasClass("left")?this.leftCalendar.month.add(1,"month"):this.rightCalendar.month.add(1,"month"),this.updateCalendars()},hoverDate:function(a){var b=d(a.target).attr("data-title"),c=b.substr(1,1),e=b.substr(3,1),f=d(a.target).parents(".calendar");f.hasClass("left")?this.container.find("input[name=daterangepicker_start]").val(this.leftCalendar.calendar[c][e].format(this.format)):this.container.find("input[name=daterangepicker_end]").val(this.rightCalendar.calendar[c][e].format(this.format))},setCustomDates:function(a,b){if(this.chosenLabel=this.locale.customRangeLabel,a.isAfter(b)){var d=this.endDate.diff(this.startDate);b=c(a).add(d,"ms")}this.startDate=a,this.endDate=b,this.updateView(),this.updateCalendars()},clickDate:function(a){var b,e,f=d(a.target).attr("data-title"),g=f.substr(1,1),h=f.substr(3,1),i=d(a.target).parents(".calendar");if(i.hasClass("left")){if(b=this.leftCalendar.calendar[g][h],e=this.endDate,"object"==typeof this.dateLimit){var j=c(b).add(this.dateLimit).startOf("day");e.isAfter(j)&&(e=j)}}else if(b=this.startDate,e=this.rightCalendar.calendar[g][h],"object"==typeof this.dateLimit){var k=c(e).subtract(this.dateLimit).startOf("day");b.isBefore(k)&&(b=k)}this.singleDatePicker&&i.hasClass("left")?e=b.clone():this.singleDatePicker&&i.hasClass("right")&&(b=e.clone()),i.find("td").removeClass("active"),d(a.target).addClass("active"),this.setCustomDates(b,e),this.timePicker||e.endOf("day"),this.singleDatePicker&&!this.timePicker&&this.clickApply()},clickApply:function(a){this.updateInputText(),this.hide(),this.element.trigger("apply.daterangepicker",this)},clickCancel:function(a){this.startDate=this.oldStartDate,this.endDate=this.oldEndDate,this.chosenLabel=this.oldChosenLabel,this.updateView(),this.updateCalendars(),this.hide(),this.element.trigger("cancel.daterangepicker",this)},updateMonthYear:function(a){var b=d(a.target).closest(".calendar").hasClass("left"),c=b?"left":"right",e=this.container.find(".calendar."+c),f=parseInt(e.find(".monthselect").val(),10),g=e.find(".yearselect").val();this[c+"Calendar"].month.month(f).year(g),this.updateCalendars()},updateTime:function(a){var b=d(a.target).closest(".calendar"),c=b.hasClass("left"),e=parseInt(b.find(".hourselect").val(),10),f=parseInt(b.find(".minuteselect").val(),10),g=0;if(this.timePickerSeconds&&(g=parseInt(b.find(".secondselect").val(),10)),this.timePicker12Hour){var h=b.find(".ampmselect").val();"PM"===h&&12>e&&(e+=12),"AM"===h&&12===e&&(e=0)}if(c){var i=this.startDate.clone();i.hour(e),i.minute(f),i.second(g),this.startDate=i,this.leftCalendar.month.hour(e).minute(f).second(g),this.singleDatePicker&&(this.endDate=i.clone())}else{var j=this.endDate.clone();j.hour(e),j.minute(f),j.second(g),this.endDate=j,this.singleDatePicker&&(this.startDate=j.clone()),this.rightCalendar.month.hour(e).minute(f).second(g)}this.updateView(),this.updateCalendars()},updateCalendars:function(){this.leftCalendar.calendar=this.buildCalendar(this.leftCalendar.month.month(),this.leftCalendar.month.year(),this.leftCalendar.month.hour(),this.leftCalendar.month.minute(),this.leftCalendar.month.second(),"left"),this.rightCalendar.calendar=this.buildCalendar(this.rightCalendar.month.month(),this.rightCalendar.month.year(),this.rightCalendar.month.hour(),this.rightCalendar.month.minute(),this.rightCalendar.month.second(),"right"),this.container.find(".calendar.left").empty().html(this.renderCalendar(this.leftCalendar.calendar,this.startDate,this.minDate,this.maxDate,"left")),this.container.find(".calendar.right").empty().html(this.renderCalendar(this.rightCalendar.calendar,this.endDate,this.singleDatePicker?this.minDate:this.startDate,this.maxDate,"right")),this.container.find(".ranges li").removeClass("active");var a=!0,b=0;for(var c in this.ranges)this.timePicker?this.startDate.isSame(this.ranges[c][0])&&this.endDate.isSame(this.ranges[c][1])&&(a=!1,this.chosenLabel=this.container.find(".ranges li:eq("+b+")").addClass("active").html()):this.startDate.format("YYYY-MM-DD")==this.ranges[c][0].format("YYYY-MM-DD")&&this.endDate.format("YYYY-MM-DD")==this.ranges[c][1].format("YYYY-MM-DD")&&(a=!1,this.chosenLabel=this.container.find(".ranges li:eq("+b+")").addClass("active").html()),b++;a&&(this.chosenLabel=this.container.find(".ranges li:last").addClass("active").html(),this.showCalendars())},buildCalendar:function(a,b,d,e,f,g){var h,i=c([b,a]).daysInMonth(),j=c([b,a,1]),k=c([b,a,i]),l=c(j).subtract(1,"month").month(),m=c(j).subtract(1,"month").year(),n=c([m,l]).daysInMonth(),o=j.day(),p=[];for(p.firstDay=j,p.lastDay=k,h=0;6>h;h++)p[h]=[];var q=n-o+this.locale.firstDay+1;q>n&&(q-=7),o==this.locale.firstDay&&(q=n-6);var r,s,t=c([m,l,q,12,e,f]).zone(this.timeZone);for(h=0,r=0,s=0;42>h;h++,r++,t=c(t).add(24,"hour"))h>0&&r%7===0&&(r=0,s++),p[s][r]=t.clone().hour(d),t.hour(12),this.minDate&&p[s][r].format("YYYY-MM-DD")==this.minDate.format("YYYY-MM-DD")&&p[s][r].isBefore(this.minDate)&&"left"==g&&(p[s][r]=this.minDate.clone()),this.maxDate&&p[s][r].format("YYYY-MM-DD")==this.maxDate.format("YYYY-MM-DD")&&p[s][r].isAfter(this.maxDate)&&"right"==g&&(p[s][r]=this.maxDate.clone());return p},renderDropdowns:function(a,b,c){for(var d=a.month(),e=a.year(),f=c&&c.year()||e+5,g=b&&b.year()||e-50,h='<select class="monthselect">',i=e==g,j=e==f,k=0;12>k;k++)(!i||k>=b.month())&&(!j||k<=c.month())&&(h+="<option value='"+k+"'"+(k===d?" selected='selected'":"")+">"+this.locale.monthNames[k]+"</option>");h+="</select>";for(var l='<select class="yearselect">',m=g;f>=m;m++)l+='<option value="'+m+'"'+(m===e?' selected="selected"':"")+">"+m+"</option>";return l+="</select>",h+l},renderCalendar:function(a,b,c,e,f){var g='<div class="calendar-date">';g+='<table class="table-condensed">',g+="<thead>",g+="<tr>",this.showWeekNumbers&&(g+="<th></th>"),g+=!c||c.isBefore(a.firstDay)?'<th class="prev available"><i class="fa fa-arrow-left icon-arrow-left glyphicon glyphicon-arrow-left"></i></th>':"<th></th>";var h=this.locale.monthNames[a[1][1].month()]+a[1][1].format(" YYYY");this.showDropdowns&&(h=this.renderDropdowns(a[1][1],c,e)),g+='<th colspan="5" class="month">'+h+"</th>",g+=!e||e.isAfter(a.lastDay)?'<th class="next available"><i class="fa fa-arrow-right icon-arrow-right glyphicon glyphicon-arrow-right"></i></th>':"<th></th>",g+="</tr>",g+="<tr>",this.showWeekNumbers&&(g+='<th class="week">'+this.locale.weekLabel+"</th>"),d.each(this.locale.daysOfWeek,function(a,b){g+="<th>"+b+"</th>"}),g+="</tr>",g+="</thead>",g+="<tbody>";for(var i=0;6>i;i++){g+="<tr>",this.showWeekNumbers&&(g+='<td class="week">'+a[i][0].week()+"</td>");for(var j=0;7>j;j++){var k="available ";k+=a[i][j].month()==a[1][1].month()?"":"off",c&&a[i][j].isBefore(c,"day")||e&&a[i][j].isAfter(e,"day")?k=" off disabled ":a[i][j].format("YYYY-MM-DD")==b.format("YYYY-MM-DD")?(k+=" active ",a[i][j].format("YYYY-MM-DD")==this.startDate.format("YYYY-MM-DD")&&(k+=" start-date "),a[i][j].format("YYYY-MM-DD")==this.endDate.format("YYYY-MM-DD")&&(k+=" end-date ")):a[i][j]>=this.startDate&&a[i][j]<=this.endDate&&(k+=" in-range ",a[i][j].isSame(this.startDate)&&(k+=" start-date "),a[i][j].isSame(this.endDate)&&(k+=" end-date "));var l="r"+i+"c"+j;g+='<td class="'+k.replace(/\s+/g," ").replace(/^\s?(.*?)\s?$/,"$1")+'" data-title="'+l+'">'+a[i][j].date()+"</td>"}g+="</tr>"}g+="</tbody>",g+="</table>",g+="</div>";var m;if(this.timePicker){g+='<div class="calendar-time">',g+='<select class="hourselect">';var n=0,o=23;c&&("left"==f||this.singleDatePicker)&&b.format("YYYY-MM-DD")==c.format("YYYY-MM-DD")&&(n=c.hour(),b.hour()<n&&b.hour(n),this.timePicker12Hour&&n>=12&&b.hour()>=12&&(n-=12),this.timePicker12Hour&&12==n&&(n=1)),e&&("right"==f||this.singleDatePicker)&&b.format("YYYY-MM-DD")==e.format("YYYY-MM-DD")&&(o=e.hour(),b.hour()>o&&b.hour(o),this.timePicker12Hour&&o>=12&&b.hour()>=12&&(o-=12));var p=0,q=23,r=b.hour();for(this.timePicker12Hour&&(p=1,q=12,r>=12&&(r-=12),0===r&&(r=12)),m=p;q>=m;m++)g+=m==r?'<option value="'+m+'" selected="selected">'+m+"</option>":n>m||m>o?'<option value="'+m+'" disabled="disabled" class="disabled">'+m+"</option>":'<option value="'+m+'">'+m+"</option>";g+="</select> : ",g+='<select class="minuteselect">';var s=0,t=59;for(c&&("left"==f||this.singleDatePicker)&&b.format("YYYY-MM-DD h A")==c.format("YYYY-MM-DD h A")&&(s=c.minute(),b.minute()<s&&b.minute(s)),e&&("right"==f||this.singleDatePicker)&&b.format("YYYY-MM-DD h A")==e.format("YYYY-MM-DD h A")&&(t=e.minute(),b.minute()>t&&b.minute(t)),m=0;60>m;m+=this.timePickerIncrement){var u=m;10>u&&(u="0"+u),g+=m==b.minute()?'<option value="'+m+'" selected="selected">'+u+"</option>":s>m||m>t?'<option value="'+m+'" disabled="disabled" class="disabled">'+u+"</option>":'<option value="'+m+'">'+u+"</option>"}if(g+="</select> ",this.timePickerSeconds){for(g+=': <select class="secondselect">',m=0;60>m;m+=this.timePickerIncrement){var u=m;10>u&&(u="0"+u),g+=m==b.second()?'<option value="'+m+'" selected="selected">'+u+"</option>":'<option value="'+m+'">'+u+"</option>"}g+="</select>"}if(this.timePicker12Hour){g+='<select class="ampmselect">';var v="",w="";c&&("left"==f||this.singleDatePicker)&&b.format("YYYY-MM-DD")==c.format("YYYY-MM-DD")&&c.hour()>=12&&(v=' disabled="disabled" class="disabled"'),e&&("right"==f||this.singleDatePicker)&&b.format("YYYY-MM-DD")==e.format("YYYY-MM-DD")&&e.hour()<12&&(w=' disabled="disabled" class="disabled"'),g+=b.hour()>=12?'<option value="AM"'+v+'>AM</option><option value="PM" selected="selected"'+w+">PM</option>":'<option value="AM" selected="selected"'+v+'>AM</option><option value="PM"'+w+">PM</option>",g+="</select>"}g+="</div>"}return g},remove:function(){this.container.remove(),this.element.off(".daterangepicker"),this.element.removeData("daterangepicker")}},d.fn.daterangepicker=function(a,b){return this.each(function(){var c=d(this);c.data("daterangepicker")&&c.data("daterangepicker").remove(),c.data("daterangepicker",new e(c,a,b))}),this}}),function(a){"use strict";a.module("ngBootstrap",[]).directive("input",["$compile","$parse","$filter",function(b,c,d){return{restrict:"E",require:"?ngModel",link:function(b,e,f,g){function h(a){return moment.isMoment(a)?a.toDate():a}function i(a){return moment.isMoment(a)?a:moment(a)}function j(a){return d("date")(h(a),l.format.replace(/Y/g,"y").replace(/D/g,"d"))}function k(a){return[j(a.startDate),j(a.endDate)].join(l.separator)}if("daterange"===f.type&&null!==g){var l={};l.format=f.format||"YYYY-MM-DD",l.separator=f.separator||" - ",l.minDate=f.minDate&&moment(f.minDate),l.maxDate=f.maxDate&&moment(f.maxDate),l.dateLimit=f.limit&&moment.duration.apply(this,f.limit.split(" ").map(function(a,b){return 0===b&&parseInt(a,10)||a})),l.ranges=f.ranges&&c(f.ranges)(b),l.locale=f.locale&&c(f.locale)(b),l.opens=f.opens||c(f.opens)(b),f.enabletimepicker&&(l.timePicker=!0,a.extend(l,c(f.enabletimepicker)(b))),g.$render=function(){g.$viewValue&&g.$viewValue.startDate&&e.val(k(g.$viewValue))},b.$watch(function(){return f.ngModel},function(a,c){return b[a]&&b[a].startDate?void(c===a&&(e.data("daterangepicker").startDate=i(b[a].startDate),e.data("daterangepicker").endDate=i(b[a].endDate),e.data("daterangepicker").updateView(),e.data("daterangepicker").updateCalendars(),e.data("daterangepicker").updateInputText())):void g.$setViewValue({startDate:moment().startOf("day"),endDate:moment().startOf("day")})}),e.daterangepicker(l,function(c,d,e){var f=g.$viewValue;a.equals(c,f.startDate)&&a.equals(d,f.endDate)||b.$apply(function(){g.$setViewValue({startDate:moment.isMoment(f.startDate)?c:c.toDate(),endDate:moment.isMoment(f.endDate)?d:d.toDate()}),g.$render()})})}}}}])}(angular),function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={exports:{},id:d,loaded:!1};return a[d].call(e.exports,e,e.exports,b),e.loaded=!0,e.exports}var c={};return b.m=a,b.c=c,b.p="",b(0)}([function(a,b,c){(function(b){a.exports=b.pdfMake=c(1)}).call(b,function(){return this}())},function(a,b,c){(function(b){"use strict";function d(a,b,c){this.docDefinition=a,this.fonts=b||h,this.vfs=c}var e=c(6),f=c(105),g=f.saveAs,h={Roboto:{normal:"Roboto-Regular.ttf",bold:"Roboto-Medium.ttf",italics:"Roboto-Italic.ttf",bolditalics:"Roboto-Italic.ttf"}};d.prototype._createDoc=function(a,c){var d=new e(this.fonts);d.fs.bindFS(this.vfs);var f,g=d.createPdfKitDocument(this.docDefinition,a),h=[];g.on("data",function(a){h.push(a)}),g.on("end",function(){f=b.concat(h),c(f,g._pdfMakePages)}),g.end()},d.prototype._getPages=function(a,b){if(!b)throw"getBuffer is an async method and needs a callback argument";this._createDoc(a,function(a,c){b(c)})},d.prototype.open=function(a){var b=window.open("","_blank");try{this.getDataUrl(function(a){b.location.href=a})}catch(c){throw b.close(),c}},d.prototype.print=function(){this.getDataUrl(function(a){var b=document.createElement("iframe");b.style.position="absolute",
-b.style.left="-99999px",b.src=a,b.onload=function(){function a(){document.body.removeChild(b),document.removeEventListener("click",a)}document.addEventListener("click",a,!1)},document.body.appendChild(b)},{autoPrint:!0})},d.prototype.download=function(a,b){"function"==typeof a&&(b=a,a=null),a=a||"file.pdf",this.getBuffer(function(c){var d;try{d=new Blob([c],{type:"application/pdf"})}catch(e){if("InvalidStateError"==e.name){var f=new Uint8Array(c);d=new Blob([f.buffer],{type:"application/pdf"})}}if(!d)throw"Could not generate blob";g(d,a),"function"==typeof b&&b()})},d.prototype.getBase64=function(a,b){if(!a)throw"getBase64 is an async method and needs a callback argument";this._createDoc(b,function(b){a(b.toString("base64"))})},d.prototype.getDataUrl=function(a,b){if(!a)throw"getDataUrl is an async method and needs a callback argument";this._createDoc(b,function(b){a("data:application/pdf;base64,"+b.toString("base64"))})},d.prototype.getBuffer=function(a,b){if(!a)throw"getBuffer is an async method and needs a callback argument";this._createDoc(b,function(b){a(b)})},a.exports={createPdf:function(a){return new d(a,window.pdfMake.fonts,window.pdfMake.vfs)}}}).call(b,c(2).Buffer)},function(a,b,c){(function(a,d){function e(){function a(){}try{var b=new Uint8Array(1);return b.foo=function(){return 42},b.constructor=a,42===b.foo()&&b.constructor===a&&"function"==typeof b.subarray&&0===b.subarray(1,1).byteLength}catch(c){return!1}}function f(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(b){return this instanceof a?(this.length=0,this.parent=void 0,"number"==typeof b?g(this,b):"string"==typeof b?h(this,b,arguments.length>1?arguments[1]:"utf8"):i(this,b)):arguments.length>1?new a(b,arguments[1]):new a(b)}function g(b,c){if(b=p(b,0>c?0:0|q(c)),!a.TYPED_ARRAY_SUPPORT)for(var d=0;c>d;d++)b[d]=0;return b}function h(a,b,c){("string"!=typeof c||""===c)&&(c="utf8");var d=0|s(b,c);return a=p(a,d),a.write(b,c),a}function i(b,c){if(a.isBuffer(c))return j(b,c);if(Y(c))return k(b,c);if(null==c)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(c.buffer instanceof ArrayBuffer)return l(b,c);if(c instanceof ArrayBuffer)return m(b,c)}return c.length?n(b,c):o(b,c)}function j(a,b){var c=0|q(b.length);return a=p(a,c),b.copy(a,0,0,c),a}function k(a,b){var c=0|q(b.length);a=p(a,c);for(var d=0;c>d;d+=1)a[d]=255&b[d];return a}function l(a,b){var c=0|q(b.length);a=p(a,c);for(var d=0;c>d;d+=1)a[d]=255&b[d];return a}function m(b,c){return a.TYPED_ARRAY_SUPPORT?(c.byteLength,b=a._augment(new Uint8Array(c))):b=l(b,new Uint8Array(c)),b}function n(a,b){var c=0|q(b.length);a=p(a,c);for(var d=0;c>d;d+=1)a[d]=255&b[d];return a}function o(a,b){var c,d=0;"Buffer"===b.type&&Y(b.data)&&(c=b.data,d=0|q(c.length)),a=p(a,d);for(var e=0;d>e;e+=1)a[e]=255&c[e];return a}function p(b,c){a.TYPED_ARRAY_SUPPORT?(b=a._augment(new Uint8Array(c)),b.__proto__=a.prototype):(b.length=c,b._isBuffer=!0);var d=0!==c&&c<=a.poolSize>>>1;return d&&(b.parent=Z),b}function q(a){if(a>=f())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+f().toString(16)+" bytes");return 0|a}function r(b,c){if(!(this instanceof r))return new r(b,c);var d=new a(b,c);return delete d.parent,d}function s(a,b){"string"!=typeof a&&(a=""+a);var c=a.length;if(0===c)return 0;for(var d=!1;;)switch(b){case"ascii":case"binary":case"raw":case"raws":return c;case"utf8":case"utf-8":return R(a).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*c;case"hex":return c>>>1;case"base64":return U(a).length;default:if(d)return R(a).length;b=(""+b).toLowerCase(),d=!0}}function t(a,b,c){var d=!1;if(b=0|b,c=void 0===c||c===1/0?this.length:0|c,a||(a="utf8"),0>b&&(b=0),c>this.length&&(c=this.length),b>=c)return"";for(;;)switch(a){case"hex":return F(this,b,c);case"utf8":case"utf-8":return B(this,b,c);case"ascii":return D(this,b,c);case"binary":return E(this,b,c);case"base64":return A(this,b,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,b,c);default:if(d)throw new TypeError("Unknown encoding: "+a);a=(a+"").toLowerCase(),d=!0}}function u(a,b,c,d){c=Number(c)||0;var e=a.length-c;d?(d=Number(d),d>e&&(d=e)):d=e;var f=b.length;if(f%2!==0)throw new Error("Invalid hex string");d>f/2&&(d=f/2);for(var g=0;d>g;g++){var h=parseInt(b.substr(2*g,2),16);if(isNaN(h))throw new Error("Invalid hex string");a[c+g]=h}return g}function v(a,b,c,d){return V(R(b,a.length-c),a,c,d)}function w(a,b,c,d){return V(S(b),a,c,d)}function x(a,b,c,d){return w(a,b,c,d)}function y(a,b,c,d){return V(U(b),a,c,d)}function z(a,b,c,d){return V(T(b,a.length-c),a,c,d)}function A(a,b,c){return 0===b&&c===a.length?W.fromByteArray(a):W.fromByteArray(a.slice(b,c))}function B(a,b,c){c=Math.min(a.length,c);for(var d=[],e=b;c>e;){var f=a[e],g=null,h=f>239?4:f>223?3:f>191?2:1;if(c>=e+h){var i,j,k,l;switch(h){case 1:128>f&&(g=f);break;case 2:i=a[e+1],128===(192&i)&&(l=(31&f)<<6|63&i,l>127&&(g=l));break;case 3:i=a[e+1],j=a[e+2],128===(192&i)&&128===(192&j)&&(l=(15&f)<<12|(63&i)<<6|63&j,l>2047&&(55296>l||l>57343)&&(g=l));break;case 4:i=a[e+1],j=a[e+2],k=a[e+3],128===(192&i)&&128===(192&j)&&128===(192&k)&&(l=(15&f)<<18|(63&i)<<12|(63&j)<<6|63&k,l>65535&&1114112>l&&(g=l))}}null===g?(g=65533,h=1):g>65535&&(g-=65536,d.push(g>>>10&1023|55296),g=56320|1023&g),d.push(g),e+=h}return C(d)}function C(a){var b=a.length;if($>=b)return String.fromCharCode.apply(String,a);for(var c="",d=0;b>d;)c+=String.fromCharCode.apply(String,a.slice(d,d+=$));return c}function D(a,b,c){var d="";c=Math.min(a.length,c);for(var e=b;c>e;e++)d+=String.fromCharCode(127&a[e]);return d}function E(a,b,c){var d="";c=Math.min(a.length,c);for(var e=b;c>e;e++)d+=String.fromCharCode(a[e]);return d}function F(a,b,c){var d=a.length;(!b||0>b)&&(b=0),(!c||0>c||c>d)&&(c=d);for(var e="",f=b;c>f;f++)e+=Q(a[f]);return e}function G(a,b,c){for(var d=a.slice(b,c),e="",f=0;f<d.length;f+=2)e+=String.fromCharCode(d[f]+256*d[f+1]);return e}function H(a,b,c){if(a%1!==0||0>a)throw new RangeError("offset is not uint");if(a+b>c)throw new RangeError("Trying to access beyond buffer length")}function I(b,c,d,e,f,g){if(!a.isBuffer(b))throw new TypeError("buffer must be a Buffer instance");if(c>f||g>c)throw new RangeError("value is out of bounds");if(d+e>b.length)throw new RangeError("index out of range")}function J(a,b,c,d){0>b&&(b=65535+b+1);for(var e=0,f=Math.min(a.length-c,2);f>e;e++)a[c+e]=(b&255<<8*(d?e:1-e))>>>8*(d?e:1-e)}function K(a,b,c,d){0>b&&(b=4294967295+b+1);for(var e=0,f=Math.min(a.length-c,4);f>e;e++)a[c+e]=b>>>8*(d?e:3-e)&255}function L(a,b,c,d,e,f){if(b>e||f>b)throw new RangeError("value is out of bounds");if(c+d>a.length)throw new RangeError("index out of range");if(0>c)throw new RangeError("index out of range")}function M(a,b,c,d,e){return e||L(a,b,c,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(a,b,c,d,23,4),c+4}function N(a,b,c,d,e){return e||L(a,b,c,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(a,b,c,d,52,8),c+8}function O(a){if(a=P(a).replace(aa,""),a.length<2)return"";for(;a.length%4!==0;)a+="=";return a}function P(a){return a.trim?a.trim():a.replace(/^\s+|\s+$/g,"")}function Q(a){return 16>a?"0"+a.toString(16):a.toString(16)}function R(a,b){b=b||1/0;for(var c,d=a.length,e=null,f=[],g=0;d>g;g++){if(c=a.charCodeAt(g),c>55295&&57344>c){if(!e){if(c>56319){(b-=3)>-1&&f.push(239,191,189);continue}if(g+1===d){(b-=3)>-1&&f.push(239,191,189);continue}e=c;continue}if(56320>c){(b-=3)>-1&&f.push(239,191,189),e=c;continue}c=e-55296<<10|c-56320|65536}else e&&(b-=3)>-1&&f.push(239,191,189);if(e=null,128>c){if((b-=1)<0)break;f.push(c)}else if(2048>c){if((b-=2)<0)break;f.push(c>>6|192,63&c|128)}else if(65536>c){if((b-=3)<0)break;f.push(c>>12|224,c>>6&63|128,63&c|128)}else{if(!(1114112>c))throw new Error("Invalid code point");if((b-=4)<0)break;f.push(c>>18|240,c>>12&63|128,c>>6&63|128,63&c|128)}}return f}function S(a){for(var b=[],c=0;c<a.length;c++)b.push(255&a.charCodeAt(c));return b}function T(a,b){for(var c,d,e,f=[],g=0;g<a.length&&!((b-=2)<0);g++)c=a.charCodeAt(g),d=c>>8,e=c%256,f.push(e),f.push(d);return f}function U(a){return W.toByteArray(O(a))}function V(a,b,c,d){for(var e=0;d>e&&!(e+c>=b.length||e>=a.length);e++)b[e+c]=a[e];return e}var W=c(3),X=c(4),Y=c(5);b.Buffer=a,b.SlowBuffer=r,b.INSPECT_MAX_BYTES=50,a.poolSize=8192;var Z={};a.TYPED_ARRAY_SUPPORT=void 0!==d.TYPED_ARRAY_SUPPORT?d.TYPED_ARRAY_SUPPORT:e(),a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array),a.isBuffer=function(a){return!(null==a||!a._isBuffer)},a.compare=function(b,c){if(!a.isBuffer(b)||!a.isBuffer(c))throw new TypeError("Arguments must be Buffers");if(b===c)return 0;for(var d=b.length,e=c.length,f=0,g=Math.min(d,e);g>f&&b[f]===c[f];)++f;return f!==g&&(d=b[f],e=c[f]),e>d?-1:d>e?1:0},a.isEncoding=function(a){switch(String(a).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(b,c){if(!Y(b))throw new TypeError("list argument must be an Array of Buffers.");if(0===b.length)return new a(0);var d;if(void 0===c)for(c=0,d=0;d<b.length;d++)c+=b[d].length;var e=new a(c),f=0;for(d=0;d<b.length;d++){var g=b[d];g.copy(e,f),f+=g.length}return e},a.byteLength=s,a.prototype.length=void 0,a.prototype.parent=void 0,a.prototype.toString=function(){var a=0|this.length;return 0===a?"":0===arguments.length?B(this,0,a):t.apply(this,arguments)},a.prototype.equals=function(b){if(!a.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?!0:0===a.compare(this,b)},a.prototype.inspect=function(){var a="",c=b.INSPECT_MAX_BYTES;return this.length>0&&(a=this.toString("hex",0,c).match(/.{2}/g).join(" "),this.length>c&&(a+=" ... ")),"<Buffer "+a+">"},a.prototype.compare=function(b){if(!a.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b?0:a.compare(this,b)},a.prototype.indexOf=function(b,c){function d(a,b,c){for(var d=-1,e=0;c+e<a.length;e++)if(a[c+e]===b[-1===d?0:e-d]){if(-1===d&&(d=e),e-d+1===b.length)return c+d}else d=-1;return-1}if(c>2147483647?c=2147483647:-2147483648>c&&(c=-2147483648),c>>=0,0===this.length)return-1;if(c>=this.length)return-1;if(0>c&&(c=Math.max(this.length+c,0)),"string"==typeof b)return 0===b.length?-1:String.prototype.indexOf.call(this,b,c);if(a.isBuffer(b))return d(this,b,c);if("number"==typeof b)return a.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,b,c):d(this,[b],c);throw new TypeError("val must be string, number or Buffer")},a.prototype.get=function(a){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(a)},a.prototype.set=function(a,b){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(a,b)},a.prototype.write=function(a,b,c,d){if(void 0===b)d="utf8",c=this.length,b=0;else if(void 0===c&&"string"==typeof b)d=b,c=this.length,b=0;else if(isFinite(b))b=0|b,isFinite(c)?(c=0|c,void 0===d&&(d="utf8")):(d=c,c=void 0);else{var e=d;d=b,b=0|c,c=e}var f=this.length-b;if((void 0===c||c>f)&&(c=f),a.length>0&&(0>c||0>b)||b>this.length)throw new RangeError("attempt to write outside buffer bounds");d||(d="utf8");for(var g=!1;;)switch(d){case"hex":return u(this,a,b,c);case"utf8":case"utf-8":return v(this,a,b,c);case"ascii":return w(this,a,b,c);case"binary":return x(this,a,b,c);case"base64":return y(this,a,b,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,a,b,c);default:if(g)throw new TypeError("Unknown encoding: "+d);d=(""+d).toLowerCase(),g=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $=4096;a.prototype.slice=function(b,c){var d=this.length;b=~~b,c=void 0===c?d:~~c,0>b?(b+=d,0>b&&(b=0)):b>d&&(b=d),0>c?(c+=d,0>c&&(c=0)):c>d&&(c=d),b>c&&(c=b);var e;if(a.TYPED_ARRAY_SUPPORT)e=a._augment(this.subarray(b,c));else{var f=c-b;e=new a(f,void 0);for(var g=0;f>g;g++)e[g]=this[g+b]}return e.length&&(e.parent=this.parent||this),e},a.prototype.readUIntLE=function(a,b,c){a=0|a,b=0|b,c||H(a,b,this.length);for(var d=this[a],e=1,f=0;++f<b&&(e*=256);)d+=this[a+f]*e;return d},a.prototype.readUIntBE=function(a,b,c){a=0|a,b=0|b,c||H(a,b,this.length);for(var d=this[a+--b],e=1;b>0&&(e*=256);)d+=this[a+--b]*e;return d},a.prototype.readUInt8=function(a,b){return b||H(a,1,this.length),this[a]},a.prototype.readUInt16LE=function(a,b){return b||H(a,2,this.length),this[a]|this[a+1]<<8},a.prototype.readUInt16BE=function(a,b){return b||H(a,2,this.length),this[a]<<8|this[a+1]},a.prototype.readUInt32LE=function(a,b){return b||H(a,4,this.length),(this[a]|this[a+1]<<8|this[a+2]<<16)+16777216*this[a+3]},a.prototype.readUInt32BE=function(a,b){return b||H(a,4,this.length),16777216*this[a]+(this[a+1]<<16|this[a+2]<<8|this[a+3])},a.prototype.readIntLE=function(a,b,c){a=0|a,b=0|b,c||H(a,b,this.length);for(var d=this[a],e=1,f=0;++f<b&&(e*=256);)d+=this[a+f]*e;return e*=128,d>=e&&(d-=Math.pow(2,8*b)),d},a.prototype.readIntBE=function(a,b,c){a=0|a,b=0|b,c||H(a,b,this.length);for(var d=b,e=1,f=this[a+--d];d>0&&(e*=256);)f+=this[a+--d]*e;return e*=128,f>=e&&(f-=Math.pow(2,8*b)),f},a.prototype.readInt8=function(a,b){return b||H(a,1,this.length),128&this[a]?-1*(255-this[a]+1):this[a]},a.prototype.readInt16LE=function(a,b){b||H(a,2,this.length);var c=this[a]|this[a+1]<<8;return 32768&c?4294901760|c:c},a.prototype.readInt16BE=function(a,b){b||H(a,2,this.length);var c=this[a+1]|this[a]<<8;return 32768&c?4294901760|c:c},a.prototype.readInt32LE=function(a,b){return b||H(a,4,this.length),this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24},a.prototype.readInt32BE=function(a,b){return b||H(a,4,this.length),this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]},a.prototype.readFloatLE=function(a,b){return b||H(a,4,this.length),X.read(this,a,!0,23,4)},a.prototype.readFloatBE=function(a,b){return b||H(a,4,this.length),X.read(this,a,!1,23,4)},a.prototype.readDoubleLE=function(a,b){return b||H(a,8,this.length),X.read(this,a,!0,52,8)},a.prototype.readDoubleBE=function(a,b){return b||H(a,8,this.length),X.read(this,a,!1,52,8)},a.prototype.writeUIntLE=function(a,b,c,d){a=+a,b=0|b,c=0|c,d||I(this,a,b,c,Math.pow(2,8*c),0);var e=1,f=0;for(this[b]=255&a;++f<c&&(e*=256);)this[b+f]=a/e&255;return b+c},a.prototype.writeUIntBE=function(a,b,c,d){a=+a,b=0|b,c=0|c,d||I(this,a,b,c,Math.pow(2,8*c),0);var e=c-1,f=1;for(this[b+e]=255&a;--e>=0&&(f*=256);)this[b+e]=a/f&255;return b+c},a.prototype.writeUInt8=function(b,c,d){return b=+b,c=0|c,d||I(this,b,c,1,255,0),a.TYPED_ARRAY_SUPPORT||(b=Math.floor(b)),this[c]=255&b,c+1},a.prototype.writeUInt16LE=function(b,c,d){return b=+b,c=0|c,d||I(this,b,c,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[c]=255&b,this[c+1]=b>>>8):J(this,b,c,!0),c+2},a.prototype.writeUInt16BE=function(b,c,d){return b=+b,c=0|c,d||I(this,b,c,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[c]=b>>>8,this[c+1]=255&b):J(this,b,c,!1),c+2},a.prototype.writeUInt32LE=function(b,c,d){return b=+b,c=0|c,d||I(this,b,c,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[c+3]=b>>>24,this[c+2]=b>>>16,this[c+1]=b>>>8,this[c]=255&b):K(this,b,c,!0),c+4},a.prototype.writeUInt32BE=function(b,c,d){return b=+b,c=0|c,d||I(this,b,c,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[c]=b>>>24,this[c+1]=b>>>16,this[c+2]=b>>>8,this[c+3]=255&b):K(this,b,c,!1),c+4},a.prototype.writeIntLE=function(a,b,c,d){if(a=+a,b=0|b,!d){var e=Math.pow(2,8*c-1);I(this,a,b,c,e-1,-e)}var f=0,g=1,h=0>a?1:0;for(this[b]=255&a;++f<c&&(g*=256);)this[b+f]=(a/g>>0)-h&255;return b+c},a.prototype.writeIntBE=function(a,b,c,d){if(a=+a,b=0|b,!d){var e=Math.pow(2,8*c-1);I(this,a,b,c,e-1,-e)}var f=c-1,g=1,h=0>a?1:0;for(this[b+f]=255&a;--f>=0&&(g*=256);)this[b+f]=(a/g>>0)-h&255;return b+c},a.prototype.writeInt8=function(b,c,d){return b=+b,c=0|c,d||I(this,b,c,1,127,-128),a.TYPED_ARRAY_SUPPORT||(b=Math.floor(b)),0>b&&(b=255+b+1),this[c]=255&b,c+1},a.prototype.writeInt16LE=function(b,c,d){return b=+b,c=0|c,d||I(this,b,c,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[c]=255&b,this[c+1]=b>>>8):J(this,b,c,!0),c+2},a.prototype.writeInt16BE=function(b,c,d){return b=+b,c=0|c,d||I(this,b,c,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[c]=b>>>8,this[c+1]=255&b):J(this,b,c,!1),c+2},a.prototype.writeInt32LE=function(b,c,d){return b=+b,c=0|c,d||I(this,b,c,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[c]=255&b,this[c+1]=b>>>8,this[c+2]=b>>>16,this[c+3]=b>>>24):K(this,b,c,!0),c+4},a.prototype.writeInt32BE=function(b,c,d){return b=+b,c=0|c,d||I(this,b,c,4,2147483647,-2147483648),0>b&&(b=4294967295+b+1),a.TYPED_ARRAY_SUPPORT?(this[c]=b>>>24,this[c+1]=b>>>16,this[c+2]=b>>>8,this[c+3]=255&b):K(this,b,c,!1),c+4},a.prototype.writeFloatLE=function(a,b,c){return M(this,a,b,!0,c)},a.prototype.writeFloatBE=function(a,b,c){return M(this,a,b,!1,c)},a.prototype.writeDoubleLE=function(a,b,c){return N(this,a,b,!0,c)},a.prototype.writeDoubleBE=function(a,b,c){return N(this,a,b,!1,c)},a.prototype.copy=function(b,c,d,e){if(d||(d=0),e||0===e||(e=this.length),c>=b.length&&(c=b.length),c||(c=0),e>0&&d>e&&(e=d),e===d)return 0;if(0===b.length||0===this.length)return 0;if(0>c)throw new RangeError("targetStart out of bounds");if(0>d||d>=this.length)throw new RangeError("sourceStart out of bounds");if(0>e)throw new RangeError("sourceEnd out of bounds");e>this.length&&(e=this.length),b.length-c<e-d&&(e=b.length-c+d);var f,g=e-d;if(this===b&&c>d&&e>c)for(f=g-1;f>=0;f--)b[f+c]=this[f+d];else if(1e3>g||!a.TYPED_ARRAY_SUPPORT)for(f=0;g>f;f++)b[f+c]=this[f+d];else b._set(this.subarray(d,d+g),c);return g},a.prototype.fill=function(a,b,c){if(a||(a=0),b||(b=0),c||(c=this.length),b>c)throw new RangeError("end < start");if(c!==b&&0!==this.length){if(0>b||b>=this.length)throw new RangeError("start out of bounds");if(0>c||c>this.length)throw new RangeError("end out of bounds");var d;if("number"==typeof a)for(d=b;c>d;d++)this[d]=a;else{var e=R(a.toString()),f=e.length;for(d=b;c>d;d++)this[d]=e[d%f]}return this}},a.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(a.TYPED_ARRAY_SUPPORT)return new a(this).buffer;for(var b=new Uint8Array(this.length),c=0,d=b.length;d>c;c+=1)b[c]=this[c];return b.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var _=a.prototype;a._augment=function(b){return b.constructor=a,b._isBuffer=!0,b._set=b.set,b.get=_.get,b.set=_.set,b.write=_.write,b.toString=_.toString,b.toLocaleString=_.toString,b.toJSON=_.toJSON,b.equals=_.equals,b.compare=_.compare,b.indexOf=_.indexOf,b.copy=_.copy,b.slice=_.slice,b.readUIntLE=_.readUIntLE,b.readUIntBE=_.readUIntBE,b.readUInt8=_.readUInt8,b.readUInt16LE=_.readUInt16LE,b.readUInt16BE=_.readUInt16BE,b.readUInt32LE=_.readUInt32LE,b.readUInt32BE=_.readUInt32BE,b.readIntLE=_.readIntLE,b.readIntBE=_.readIntBE,b.readInt8=_.readInt8,b.readInt16LE=_.readInt16LE,b.readInt16BE=_.readInt16BE,b.readInt32LE=_.readInt32LE,b.readInt32BE=_.readInt32BE,b.readFloatLE=_.readFloatLE,b.readFloatBE=_.readFloatBE,b.readDoubleLE=_.readDoubleLE,b.readDoubleBE=_.readDoubleBE,b.writeUInt8=_.writeUInt8,b.writeUIntLE=_.writeUIntLE,b.writeUIntBE=_.writeUIntBE,b.writeUInt16LE=_.writeUInt16LE,b.writeUInt16BE=_.writeUInt16BE,b.writeUInt32LE=_.writeUInt32LE,b.writeUInt32BE=_.writeUInt32BE,b.writeIntLE=_.writeIntLE,b.writeIntBE=_.writeIntBE,b.writeInt8=_.writeInt8,b.writeInt16LE=_.writeInt16LE,b.writeInt16BE=_.writeInt16BE,b.writeInt32LE=_.writeInt32LE,b.writeInt32BE=_.writeInt32BE,b.writeFloatLE=_.writeFloatLE,b.writeFloatBE=_.writeFloatBE,b.writeDoubleLE=_.writeDoubleLE,b.writeDoubleBE=_.writeDoubleBE,b.fill=_.fill,b.inspect=_.inspect,b.toArrayBuffer=_.toArrayBuffer,b};var aa=/[^+\/0-9A-Za-z-_]/g}).call(b,c(2).Buffer,function(){return this}())},function(a,b,c){var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(a){"use strict";function b(a){var b=a.charCodeAt(0);return b===g||b===l?62:b===h||b===m?63:i>b?-1:i+10>b?b-i+26+26:k+26>b?b-k:j+26>b?b-j+26:void 0}function c(a){function c(a){j[l++]=a}var d,e,g,h,i,j;if(a.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var k=a.length;i="="===a.charAt(k-2)?2:"="===a.charAt(k-1)?1:0,j=new f(3*a.length/4-i),g=i>0?a.length-4:a.length;var l=0;for(d=0,e=0;g>d;d+=4,e+=3)h=b(a.charAt(d))<<18|b(a.charAt(d+1))<<12|b(a.charAt(d+2))<<6|b(a.charAt(d+3)),c((16711680&h)>>16),c((65280&h)>>8),c(255&h);return 2===i?(h=b(a.charAt(d))<<2|b(a.charAt(d+1))>>4,c(255&h)):1===i&&(h=b(a.charAt(d))<<10|b(a.charAt(d+1))<<4|b(a.charAt(d+2))>>2,c(h>>8&255),c(255&h)),j}function e(a){function b(a){return d.charAt(a)}function c(a){return b(a>>18&63)+b(a>>12&63)+b(a>>6&63)+b(63&a)}var e,f,g,h=a.length%3,i="";for(e=0,g=a.length-h;g>e;e+=3)f=(a[e]<<16)+(a[e+1]<<8)+a[e+2],i+=c(f);switch(h){case 1:f=a[a.length-1],i+=b(f>>2),i+=b(f<<4&63),i+="==";break;case 2:f=(a[a.length-2]<<8)+a[a.length-1],i+=b(f>>10),i+=b(f>>4&63),i+=b(f<<2&63),i+="="}return i}var f="undefined"!=typeof Uint8Array?Uint8Array:Array,g="+".charCodeAt(0),h="/".charCodeAt(0),i="0".charCodeAt(0),j="a".charCodeAt(0),k="A".charCodeAt(0),l="-".charCodeAt(0),m="_".charCodeAt(0);a.toByteArray=c,a.fromByteArray=e}(b)},function(a,b){b.read=function(a,b,c,d,e){var f,g,h=8*e-d-1,i=(1<<h)-1,j=i>>1,k=-7,l=c?e-1:0,m=c?-1:1,n=a[b+l];for(l+=m,f=n&(1<<-k)-1,n>>=-k,k+=h;k>0;f=256*f+a[b+l],l+=m,k-=8);for(g=f&(1<<-k)-1,f>>=-k,k+=d;k>0;g=256*g+a[b+l],l+=m,k-=8);if(0===f)f=1-j;else{if(f===i)return g?NaN:(n?-1:1)*(1/0);g+=Math.pow(2,d),f-=j}return(n?-1:1)*g*Math.pow(2,f-d)},b.write=function(a,b,c,d,e,f){var g,h,i,j=8*f-e-1,k=(1<<j)-1,l=k>>1,m=23===e?Math.pow(2,-24)-Math.pow(2,-77):0,n=d?0:f-1,o=d?1:-1,p=0>b||0===b&&0>1/b?1:0;for(b=Math.abs(b),isNaN(b)||b===1/0?(h=isNaN(b)?1:0,g=k):(g=Math.floor(Math.log(b)/Math.LN2),b*(i=Math.pow(2,-g))<1&&(g--,i*=2),b+=g+l>=1?m/i:m*Math.pow(2,1-l),b*i>=2&&(g++,i/=2),g+l>=k?(h=0,g=k):g+l>=1?(h=(b*i-1)*Math.pow(2,e),g+=l):(h=b*Math.pow(2,l-1)*Math.pow(2,e),g=0));e>=8;a[c+n]=255&h,n+=o,h/=256,e-=8);for(g=g<<e|h,j+=e;j>0;a[c+n]=255&g,n+=o,g/=256,j-=8);a[c+n-o]|=128*p}},function(a,b){var c=Array.isArray,d=Object.prototype.toString;a.exports=c||function(a){return!!a&&"[object Array]"==d.call(a)}},function(a,b,c){"use strict";function d(a){this.fontDescriptors=a}function e(a){if(!a)return null;if("number"==typeof a||a instanceof Number)a={left:a,right:a,top:a,bottom:a};else if(a instanceof Array)if(2===a.length)a={left:a[0],top:a[1],right:a[0],bottom:a[1]};else{if(4!==a.length)throw"Invalid pageMargins definition";a={left:a[0],top:a[1],right:a[2],bottom:a[3]}}return a}function f(a){a.registerTableLayouts({noBorders:{hLineWidth:function(a){return 0},vLineWidth:function(a){return 0},paddingLeft:function(a){return a&&4||0},paddingRight:function(a,b){return a<b.table.widths.length-1?4:0}},headerLineOnly:{hLineWidth:function(a,b){return 0===a||a===b.table.body.length?0:a===b.table.headerRows?2:0},vLineWidth:function(a){return 0},paddingLeft:function(a){return 0===a?0:8},paddingRight:function(a,b){return a===b.table.widths.length-1?0:8}},lightHorizontalLines:{hLineWidth:function(a,b){return 0===a||a===b.table.body.length?0:a===b.table.headerRows?2:1},vLineWidth:function(a){return 0},hLineColor:function(a){return 1===a?"black":"#aaa"},paddingLeft:function(a){return 0===a?0:8},paddingRight:function(a,b){return a===b.table.widths.length-1?0:8}}})}function g(a){if("string"==typeof a||a instanceof String){var b=q[a.toUpperCase()];if(!b)throw"Page size "+a+" not recognized";return{width:b[0],height:b[1]}}return a}function h(a,b){var c=b.options.size[0]>b.options.size[1]?"landscape":"portrait";if(a.pageSize.orientation!==c){var d=b.options.size[0],e=b.options.size[1];b.options.size=[e,d]}}function i(a,b,c){c._pdfMakePages=a;for(var d=0;d<a.length;d++){d>0&&(h(a[d],c),c.addPage(c.options));for(var e=a[d],f=0,g=e.items.length;g>f;f++){var i=e.items[f];switch(i.type){case"vector":l(i.item,c);break;case"line":j(i.item,i.item.x,i.item.y,c);break;case"image":m(i.item,i.item.x,i.item.y,c)}}e.watermark&&k(e,c),b.setFontRefsToPdfDoc()}}function j(a,b,c,d){b=b||0,c=c||0;var e=a.getHeight(),f=a.getAscenderHeight();s.drawBackground(a,b,c,d);for(var g=0,h=a.inlines.length;h>g;g++){var i=a.inlines[g];d.fill(i.color||"black"),d.save(),d.transform(1,0,0,-1,0,d.page.height);var j=i.font.encode(i.text);d.addContent("BT"),d.addContent(""+(b+i.x)+" "+(d.page.height-c-f)+" Td"),d.addContent("/"+j.fontId+" "+i.fontSize+" Tf"),d.addContent("<"+j.encodedText+"> Tj"),d.addContent("ET"),i.link&&d.link(b+i.x,d.page.height-c-e,i.width,e,i.link),d.restore()}s.drawDecorations(a,b,c,d)}function k(a,b){var c=a.watermark;b.fill("black"),b.opacity(.6),b.save(),b.transform(1,0,0,-1,0,b.page.height);var d=180*Math.atan2(b.page.height,b.page.width)/Math.PI;b.rotate(d,{origin:[b.page.width/2,b.page.height/2]});var e=c.font.encode(c.text);b.addContent("BT"),b.addContent(""+(b.page.width/2-c.size.size.width/2)+" "+(b.page.height/2-c.size.size.height/4)+" Td"),b.addContent("/"+e.fontId+" "+c.size.fontSize+" Tf"),b.addContent("<"+e.encodedText+"> Tj"),b.addContent("ET"),b.restore()}function l(a,b){switch(b.lineWidth(a.lineWidth||1),a.dash?b.dash(a.dash.length,{space:a.dash.space||a.dash.length}):b.undash(),b.fillOpacity(a.fillOpacity||1),b.strokeOpacity(a.strokeOpacity||1),b.lineJoin(a.lineJoin||"miter"),a.type){case"ellipse":b.ellipse(a.x,a.y,a.r1,a.r2);break;case"rect":a.r?b.roundedRect(a.x,a.y,a.w,a.h,a.r):b.rect(a.x,a.y,a.w,a.h);break;case"line":b.moveTo(a.x1,a.y1),b.lineTo(a.x2,a.y2);break;case"polyline":if(0===a.points.length)break;b.moveTo(a.points[0].x,a.points[0].y);for(var c=1,d=a.points.length;d>c;c++)b.lineTo(a.points[c].x,a.points[c].y);if(a.points.length>1){var e=a.points[0],f=a.points[a.points.length-1];(a.closePath||e.x===f.x&&e.y===f.y)&&b.closePath()}}a.color&&a.lineColor?b.fillAndStroke(a.color,a.lineColor):a.color?b.fill(a.color):b.stroke(a.lineColor||"black")}function m(a,b,c,d){d.image(a.image,a.x,a.y,{width:a._width,height:a._height})}var n=(c(7),c(9)),o=c(11),p=c(24),q=(c(46),c(102)),r=c(103),s=c(104),n=c(9);d.prototype.createPdfKitDocument=function(a,b){b=b||{};var c=g(a.pageSize||"a4");if("landscape"===a.pageOrientation&&(c={width:c.height,height:c.width}),c.orientation="landscape"===a.pageOrientation?a.pageOrientation:"portrait",this.pdfKitDoc=new p({size:[c.width,c.height],compress:!1}),this.pdfKitDoc.info.Producer="pdfmake",this.pdfKitDoc.info.Creator="pdfmake",a.info){a.info;this.pdfKitDoc.info.Title=a.info.title?a.info.title:null,this.pdfKitDoc.info.Author=a.info.author?a.info.author:null,this.pdfKitDoc.info.Subject=a.info.subject?a.info.subject:null,this.pdfKitDoc.info.Keywords=a.info.keywords?a.info.keywords:null}this.fontProvider=new n(this.fontDescriptors,this.pdfKitDoc),a.images=a.images||{};var d=new o(c,e(a.pageMargins||40),new r(this.pdfKitDoc,a.images));f(d),b.tableLayouts&&d.registerTableLayouts(b.tableLayouts);var h=d.layoutDocument(a.content,this.fontProvider,a.styles||{},a.defaultStyle||{fontSize:12,font:"Roboto"},a.background,a.header,a.footer,a.images,a.watermark,a.pageBreakBefore);if(i(h,this.fontProvider,this.pdfKitDoc),b.autoPrint){var j=this.pdfKitDoc.ref({Type:"Action",S:"Named",N:"Print"});this.pdfKitDoc._root.data.OpenAction=j,j.end()}return this.pdfKitDoc};a.exports=d,d.prototype.fs=c(44)},function(a,b,c){var d;(function(a,e){(function(){function f(a,b){if(a!==b){var c=null===a,d=a===B,e=a===a,f=null===b,g=b===B,h=b===b;if(a>b&&!f||!e||c&&!g&&h||d&&h)return 1;if(b>a&&!c||!h||f&&!d&&e||g&&e)return-1}return 0}function g(a,b,c){for(var d=a.length,e=c?d:-1;c?e--:++e<d;)if(b(a[e],e,a))return e;return-1}function h(a,b,c){if(b!==b)return s(a,c);for(var d=c-1,e=a.length;++d<e;)if(a[d]===b)return d;return-1}function i(a){return"function"==typeof a||!1}function j(a){return null==a?"":a+""}function k(a,b){for(var c=-1,d=a.length;++c<d&&b.indexOf(a.charAt(c))>-1;);return c}function l(a,b){for(var c=a.length;c--&&b.indexOf(a.charAt(c))>-1;);return c}function m(a,b){return f(a.criteria,b.criteria)||a.index-b.index}function n(a,b,c){for(var d=-1,e=a.criteria,g=b.criteria,h=e.length,i=c.length;++d<h;){var j=f(e[d],g[d]);if(j){if(d>=i)return j;var k=c[d];return j*("asc"===k||k===!0?1:-1)}}return a.index-b.index}function o(a){return Ua[a]}function p(a){return Va[a]}function q(a,b,c){return b?a=Ya[a]:c&&(a=Za[a]),"\\"+a}function r(a){return"\\"+Za[a]}function s(a,b,c){for(var d=a.length,e=b+(c?0:-1);c?e--:++e<d;){var f=a[e];if(f!==f)return e}return-1}function t(a){return!!a&&"object"==typeof a}function u(a){return 160>=a&&a>=9&&13>=a||32==a||160==a||5760==a||6158==a||a>=8192&&(8202>=a||8232==a||8233==a||8239==a||8287==a||12288==a||65279==a)}function v(a,b){for(var c=-1,d=a.length,e=-1,f=[];++c<d;)a[c]===b&&(a[c]=U,f[++e]=c);return f}function w(a,b){for(var c,d=-1,e=a.length,f=-1,g=[];++d<e;){var h=a[d],i=b?b(h,d,a):h;d&&c===i||(c=i,g[++f]=h)}return g}function x(a){for(var b=-1,c=a.length;++b<c&&u(a.charCodeAt(b)););return b}function y(a){for(var b=a.length;b--&&u(a.charCodeAt(b)););return b}function z(a){return Wa[a]}function A(a){function b(a){if(t(a)&&!Ch(a)&&!(a instanceof e)){if(a instanceof d)return a;if(ag.call(a,"__chain__")&&ag.call(a,"__wrapped__"))return md(a)}return new d(a)}function c(){}function d(a,b,c){this.__wrapped__=a,this.__actions__=c||[],this.__chain__=!!b}function e(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Bg,this.__views__=[]}function u(){var a=new e(this.__wrapped__);return a.__actions__=ab(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=ab(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=ab(this.__views__),a}function _(){if(this.__filtered__){var a=new e(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function da(){var a=this.__wrapped__.value(),b=this.__dir__,c=Ch(a),d=0>b,e=c?a.length:0,f=Tc(0,e,this.__views__),g=f.start,h=f.end,i=h-g,j=d?h:g-1,k=this.__iteratees__,l=k.length,m=0,n=wg(i,this.__takeCount__);if(!c||Q>e||e==i&&n==i)return cc(d&&c?a.reverse():a,this.__actions__);var o=[];a:for(;i--&&n>m;){j+=b;for(var p=-1,q=a[j];++p<l;){var r=k[p],s=r.iteratee,t=r.type,u=s(q);if(t==S)q=u;else if(!u){if(t==R)continue a;break a}}o[m++]=q}return o}function fa(){this.__data__={}}function Ua(a){return this.has(a)&&delete this.__data__[a]}function Va(a){return"__proto__"==a?B:this.__data__[a]}function Wa(a){return"__proto__"!=a&&ag.call(this.__data__,a)}function Xa(a,b){return"__proto__"!=a&&(this.__data__[a]=b),this}function Ya(a){var b=a?a.length:0;for(this.data={hash:qg(null),set:new kg};b--;)this.push(a[b])}function Za(a,b){var c=a.data,d="string"==typeof b||He(b)?c.set.has(b):c.hash[b];return d?0:-1}function $a(a){var b=this.data;"string"==typeof a||He(a)?b.set.add(a):b.hash[a]=!0}function _a(a,b){for(var c=-1,d=a.length,e=-1,f=b.length,g=Of(d+f);++c<d;)g[c]=a[c];for(;++e<f;)g[c++]=b[e];return g}function ab(a,b){var c=-1,d=a.length;for(b||(b=Of(d));++c<d;)b[c]=a[c];return b}function bb(a,b){for(var c=-1,d=a.length;++c<d&&b(a[c],c,a)!==!1;);return a}function cb(a,b){for(var c=a.length;c--&&b(a[c],c,a)!==!1;);return a}function fb(a,b){for(var c=-1,d=a.length;++c<d;)if(!b(a[c],c,a))return!1;return!0}function gb(a,b,c,d){for(var e=-1,f=a.length,g=d,h=g;++e<f;){var i=a[e],j=+b(i);c(j,g)&&(g=j,h=i)}return h}function hb(a,b){for(var c=-1,d=a.length,e=-1,f=[];++c<d;){var g=a[c];b(g,c,a)&&(f[++e]=g)}return f}function ib(a,b){for(var c=-1,d=a.length,e=Of(d);++c<d;)e[c]=b(a[c],c,a);return e}function jb(a,b){for(var c=-1,d=b.length,e=a.length;++c<d;)a[e+c]=b[c];return a}function kb(a,b,c,d){var e=-1,f=a.length;for(d&&f&&(c=a[++e]);++e<f;)c=b(c,a[e],e,a);return c}function lb(a,b,c,d){var e=a.length;for(d&&e&&(c=a[--e]);e--;)c=b(c,a[e],e,a);return c}function mb(a,b){for(var c=-1,d=a.length;++c<d;)if(b(a[c],c,a))return!0;return!1}function nb(a,b){for(var c=a.length,d=0;c--;)d+=+b(a[c])||0;return d}function ob(a,b){return a===B?b:a}function pb(a,b,c,d){return a!==B&&ag.call(d,c)?a:b;
-}function qb(a,b,c){for(var d=-1,e=Nh(b),f=e.length;++d<f;){var g=e[d],h=a[g],i=c(h,b[g],g,a,b);(i===i?i===h:h!==h)&&(h!==B||g in a)||(a[g]=i)}return a}function rb(a,b){return null==b?a:tb(b,Nh(b),a)}function sb(a,b){for(var c=-1,d=null==a,e=!d&&Yc(a),f=e?a.length:0,g=b.length,h=Of(g);++c<g;){var i=b[c];e?h[c]=Zc(i,f)?a[i]:B:h[c]=d?B:a[i]}return h}function tb(a,b,c){c||(c={});for(var d=-1,e=b.length;++d<e;){var f=b[d];c[f]=a[f]}return c}function ub(a,b,c){var d=typeof a;return"function"==d?b===B?a:fc(a,b,c):null==a?Bf:"object"==d?Nb(a):b===B?Hf(a):Ob(a,b)}function vb(a,b,c,d,e,f,g){var h;if(c&&(h=e?c(a,d,e):c(a)),h!==B)return h;if(!He(a))return a;var i=Ch(a);if(i){if(h=Uc(a),!b)return ab(a,h)}else{var j=cg.call(a),k=j==$;if(j!=ba&&j!=V&&(!k||e))return Ta[j]?Wc(a,j,b):e?a:{};if(h=Vc(k?{}:a),!b)return rb(h,a)}f||(f=[]),g||(g=[]);for(var l=f.length;l--;)if(f[l]==a)return g[l];return f.push(a),g.push(h),(i?bb:Fb)(a,function(d,e){h[e]=vb(d,b,c,e,a,f,g)}),h}function wb(a,b,c){if("function"!=typeof a)throw new Xf(T);return lg(function(){a.apply(B,c)},b)}function xb(a,b){var c=a?a.length:0,d=[];if(!c)return d;var e=-1,f=Qc(),g=f==h,i=g&&b.length>=Q?oc(b):null,j=b.length;i&&(f=Za,g=!1,b=i);a:for(;++e<c;){var k=a[e];if(g&&k===k){for(var l=j;l--;)if(b[l]===k)continue a;d.push(k)}else f(b,k,0)<0&&d.push(k)}return d}function yb(a,b){var c=!0;return Jg(a,function(a,d,e){return c=!!b(a,d,e)}),c}function zb(a,b,c,d){var e=d,f=e;return Jg(a,function(a,g,h){var i=+b(a,g,h);(c(i,e)||i===d&&i===f)&&(e=i,f=a)}),f}function Ab(a,b,c,d){var e=a.length;for(c=null==c?0:+c||0,0>c&&(c=-c>e?0:e+c),d=d===B||d>e?e:+d||0,0>d&&(d+=e),e=c>d?0:d>>>0,c>>>=0;e>c;)a[c++]=b;return a}function Bb(a,b){var c=[];return Jg(a,function(a,d,e){b(a,d,e)&&c.push(a)}),c}function Cb(a,b,c,d){var e;return c(a,function(a,c,f){return b(a,c,f)?(e=d?c:a,!1):void 0}),e}function Db(a,b,c,d){d||(d=[]);for(var e=-1,f=a.length;++e<f;){var g=a[e];t(g)&&Yc(g)&&(c||Ch(g)||ye(g))?b?Db(g,b,c,d):jb(d,g):c||(d[d.length]=g)}return d}function Eb(a,b){return Lg(a,b,_e)}function Fb(a,b){return Lg(a,b,Nh)}function Gb(a,b){return Mg(a,b,Nh)}function Hb(a,b){for(var c=-1,d=b.length,e=-1,f=[];++c<d;){var g=b[c];Ge(a[g])&&(f[++e]=g)}return f}function Ib(a,b,c){if(null!=a){c!==B&&c in kd(a)&&(b=[c]);for(var d=0,e=b.length;null!=a&&e>d;)a=a[b[d++]];return d&&d==e?a:B}}function Jb(a,b,c,d,e,f){return a===b?!0:null==a||null==b||!He(a)&&!t(b)?a!==a&&b!==b:Kb(a,b,Jb,c,d,e,f)}function Kb(a,b,c,d,e,f,g){var h=Ch(a),i=Ch(b),j=W,k=W;h||(j=cg.call(a),j==V?j=ba:j!=ba&&(h=Qe(a))),i||(k=cg.call(b),k==V?k=ba:k!=ba&&(i=Qe(b)));var l=j==ba,m=k==ba,n=j==k;if(n&&!h&&!l)return Mc(a,b,j);if(!e){var o=l&&ag.call(a,"__wrapped__"),p=m&&ag.call(b,"__wrapped__");if(o||p)return c(o?a.value():a,p?b.value():b,d,e,f,g)}if(!n)return!1;f||(f=[]),g||(g=[]);for(var q=f.length;q--;)if(f[q]==a)return g[q]==b;f.push(a),g.push(b);var r=(h?Lc:Nc)(a,b,c,d,e,f,g);return f.pop(),g.pop(),r}function Lb(a,b,c){var d=b.length,e=d,f=!c;if(null==a)return!e;for(a=kd(a);d--;){var g=b[d];if(f&&g[2]?g[1]!==a[g[0]]:!(g[0]in a))return!1}for(;++d<e;){g=b[d];var h=g[0],i=a[h],j=g[1];if(f&&g[2]){if(i===B&&!(h in a))return!1}else{var k=c?c(i,j,h):B;if(!(k===B?Jb(j,i,c,!0):k))return!1}}return!0}function Mb(a,b){var c=-1,d=Yc(a)?Of(a.length):[];return Jg(a,function(a,e,f){d[++c]=b(a,e,f)}),d}function Nb(a){var b=Rc(a);if(1==b.length&&b[0][2]){var c=b[0][0],d=b[0][1];return function(a){return null==a?!1:a[c]===d&&(d!==B||c in kd(a))}}return function(a){return Lb(a,b)}}function Ob(a,b){var c=Ch(a),d=_c(a)&&cd(b),e=a+"";return a=ld(a),function(f){if(null==f)return!1;var g=e;if(f=kd(f),(c||!d)&&!(g in f)){if(f=1==a.length?f:Ib(f,Wb(a,0,-1)),null==f)return!1;g=zd(a),f=kd(f)}return f[g]===b?b!==B||g in f:Jb(b,f[g],B,!0)}}function Pb(a,b,c,d,e){if(!He(a))return a;var f=Yc(b)&&(Ch(b)||Qe(b)),g=f?B:Nh(b);return bb(g||b,function(h,i){if(g&&(i=h,h=b[i]),t(h))d||(d=[]),e||(e=[]),Qb(a,b,i,Pb,c,d,e);else{var j=a[i],k=c?c(j,h,i,a,b):B,l=k===B;l&&(k=h),k===B&&(!f||i in a)||!l&&(k===k?k===j:j!==j)||(a[i]=k)}}),a}function Qb(a,b,c,d,e,f,g){for(var h=f.length,i=b[c];h--;)if(f[h]==i)return void(a[c]=g[h]);var j=a[c],k=e?e(j,i,c,a,b):B,l=k===B;l&&(k=i,Yc(i)&&(Ch(i)||Qe(i))?k=Ch(j)?j:Yc(j)?ab(j):[]:Ne(i)||ye(i)?k=ye(j)?Ve(j):Ne(j)?j:{}:l=!1),f.push(i),g.push(k),l?a[c]=d(k,i,e,f,g):(k===k?k!==j:j===j)&&(a[c]=k)}function Rb(a){return function(b){return null==b?B:b[a]}}function Sb(a){var b=a+"";return a=ld(a),function(c){return Ib(c,a,b)}}function Tb(a,b){for(var c=a?b.length:0;c--;){var d=b[c];if(d!=e&&Zc(d)){var e=d;mg.call(a,d,1)}}return a}function Ub(a,b){return a+rg(zg()*(b-a+1))}function Vb(a,b,c,d,e){return e(a,function(a,e,f){c=d?(d=!1,a):b(c,a,e,f)}),c}function Wb(a,b,c){var d=-1,e=a.length;b=null==b?0:+b||0,0>b&&(b=-b>e?0:e+b),c=c===B||c>e?e:+c||0,0>c&&(c+=e),e=b>c?0:c-b>>>0,b>>>=0;for(var f=Of(e);++d<e;)f[d]=a[d+b];return f}function Xb(a,b){var c;return Jg(a,function(a,d,e){return c=b(a,d,e),!c}),!!c}function Yb(a,b){var c=a.length;for(a.sort(b);c--;)a[c]=a[c].value;return a}function Zb(a,b,c){var d=Oc(),e=-1;b=ib(b,function(a){return d(a)});var f=Mb(a,function(a){var c=ib(b,function(b){return b(a)});return{criteria:c,index:++e,value:a}});return Yb(f,function(a,b){return n(a,b,c)})}function $b(a,b){var c=0;return Jg(a,function(a,d,e){c+=+b(a,d,e)||0}),c}function _b(a,b){var c=-1,d=Qc(),e=a.length,f=d==h,g=f&&e>=Q,i=g?oc():null,j=[];i?(d=Za,f=!1):(g=!1,i=b?[]:j);a:for(;++c<e;){var k=a[c],l=b?b(k,c,a):k;if(f&&k===k){for(var m=i.length;m--;)if(i[m]===l)continue a;b&&i.push(l),j.push(k)}else d(i,l,0)<0&&((b||g)&&i.push(l),j.push(k))}return j}function ac(a,b){for(var c=-1,d=b.length,e=Of(d);++c<d;)e[c]=a[b[c]];return e}function bc(a,b,c,d){for(var e=a.length,f=d?e:-1;(d?f--:++f<e)&&b(a[f],f,a););return c?Wb(a,d?0:f,d?f+1:e):Wb(a,d?f+1:0,d?e:f)}function cc(a,b){var c=a;c instanceof e&&(c=c.value());for(var d=-1,f=b.length;++d<f;){var g=b[d];c=g.func.apply(g.thisArg,jb([c],g.args))}return c}function dc(a,b,c){var d=0,e=a?a.length:d;if("number"==typeof b&&b===b&&Eg>=e){for(;e>d;){var f=d+e>>>1,g=a[f];(c?b>=g:b>g)&&null!==g?d=f+1:e=f}return e}return ec(a,b,Bf,c)}function ec(a,b,c,d){b=c(b);for(var e=0,f=a?a.length:0,g=b!==b,h=null===b,i=b===B;f>e;){var j=rg((e+f)/2),k=c(a[j]),l=k!==B,m=k===k;if(g)var n=m||d;else n=h?m&&l&&(d||null!=k):i?m&&(d||l):null==k?!1:d?b>=k:b>k;n?e=j+1:f=j}return wg(f,Dg)}function fc(a,b,c){if("function"!=typeof a)return Bf;if(b===B)return a;switch(c){case 1:return function(c){return a.call(b,c)};case 3:return function(c,d,e){return a.call(b,c,d,e)};case 4:return function(c,d,e,f){return a.call(b,c,d,e,f)};case 5:return function(c,d,e,f,g){return a.call(b,c,d,e,f,g)}}return function(){return a.apply(b,arguments)}}function gc(a){var b=new fg(a.byteLength),c=new ng(b);return c.set(new ng(a)),b}function hc(a,b,c){for(var d=c.length,e=-1,f=vg(a.length-d,0),g=-1,h=b.length,i=Of(h+f);++g<h;)i[g]=b[g];for(;++e<d;)i[c[e]]=a[e];for(;f--;)i[g++]=a[e++];return i}function ic(a,b,c){for(var d=-1,e=c.length,f=-1,g=vg(a.length-e,0),h=-1,i=b.length,j=Of(g+i);++f<g;)j[f]=a[f];for(var k=f;++h<i;)j[k+h]=b[h];for(;++d<e;)j[k+c[d]]=a[f++];return j}function jc(a,b){return function(c,d,e){var f=b?b():{};if(d=Oc(d,e,3),Ch(c))for(var g=-1,h=c.length;++g<h;){var i=c[g];a(f,i,d(i,g,c),c)}else Jg(c,function(b,c,e){a(f,b,d(b,c,e),e)});return f}}function kc(a){return qe(function(b,c){var d=-1,e=null==b?0:c.length,f=e>2?c[e-2]:B,g=e>2?c[2]:B,h=e>1?c[e-1]:B;for("function"==typeof f?(f=fc(f,h,5),e-=2):(f="function"==typeof h?h:B,e-=f?1:0),g&&$c(c[0],c[1],g)&&(f=3>e?B:f,e=1);++d<e;){var i=c[d];i&&a(b,i,f)}return b})}function lc(a,b){return function(c,d){var e=c?Pg(c):0;if(!bd(e))return a(c,d);for(var f=b?e:-1,g=kd(c);(b?f--:++f<e)&&d(g[f],f,g)!==!1;);return c}}function mc(a){return function(b,c,d){for(var e=kd(b),f=d(b),g=f.length,h=a?g:-1;a?h--:++h<g;){var i=f[h];if(c(e[i],i,e)===!1)break}return b}}function nc(a,b){function c(){var e=this&&this!==db&&this instanceof c?d:a;return e.apply(b,arguments)}var d=qc(a);return c}function oc(a){return qg&&kg?new Ya(a):null}function pc(a){return function(b){for(var c=-1,d=yf(kf(b)),e=d.length,f="";++c<e;)f=a(f,d[c],c);return f}}function qc(a){return function(){var b=arguments;switch(b.length){case 0:return new a;case 1:return new a(b[0]);case 2:return new a(b[0],b[1]);case 3:return new a(b[0],b[1],b[2]);case 4:return new a(b[0],b[1],b[2],b[3]);case 5:return new a(b[0],b[1],b[2],b[3],b[4]);case 6:return new a(b[0],b[1],b[2],b[3],b[4],b[5]);case 7:return new a(b[0],b[1],b[2],b[3],b[4],b[5],b[6])}var c=Ig(a.prototype),d=a.apply(c,b);return He(d)?d:c}}function rc(a){function b(c,d,e){e&&$c(c,d,e)&&(d=B);var f=Kc(c,a,B,B,B,B,B,d);return f.placeholder=b.placeholder,f}return b}function sc(a,b){return qe(function(c){var d=c[0];return null==d?d:(c.push(b),a.apply(B,c))})}function tc(a,b){return function(c,d,e){if(e&&$c(c,d,e)&&(d=B),d=Oc(d,e,3),1==d.length){c=Ch(c)?c:jd(c);var f=gb(c,d,a,b);if(!c.length||f!==b)return f}return zb(c,d,a,b)}}function uc(a,b){return function(c,d,e){if(d=Oc(d,e,3),Ch(c)){var f=g(c,d,b);return f>-1?c[f]:B}return Cb(c,d,a)}}function vc(a){return function(b,c,d){return b&&b.length?(c=Oc(c,d,3),g(b,c,a)):-1}}function wc(a){return function(b,c,d){return c=Oc(c,d,3),Cb(b,c,a,!0)}}function xc(a){return function(){for(var b,c=arguments.length,e=a?c:-1,f=0,g=Of(c);a?e--:++e<c;){var h=g[f++]=arguments[e];if("function"!=typeof h)throw new Xf(T);!b&&d.prototype.thru&&"wrapper"==Pc(h)&&(b=new d([],!0))}for(e=b?-1:c;++e<c;){h=g[e];var i=Pc(h),j="wrapper"==i?Og(h):B;b=j&&ad(j[0])&&j[1]==(K|G|I|L)&&!j[4].length&&1==j[9]?b[Pc(j[0])].apply(b,j[3]):1==h.length&&ad(h)?b[i]():b.thru(h)}return function(){var a=arguments,d=a[0];if(b&&1==a.length&&Ch(d)&&d.length>=Q)return b.plant(d).value();for(var e=0,f=c?g[e].apply(this,a):d;++e<c;)f=g[e].call(this,f);return f}}}function yc(a,b){return function(c,d,e){return"function"==typeof d&&e===B&&Ch(c)?a(c,d):b(c,fc(d,e,3))}}function zc(a){return function(b,c,d){return("function"!=typeof c||d!==B)&&(c=fc(c,d,3)),a(b,c,_e)}}function Ac(a){return function(b,c,d){return("function"!=typeof c||d!==B)&&(c=fc(c,d,3)),a(b,c)}}function Bc(a){return function(b,c,d){var e={};return c=Oc(c,d,3),Fb(b,function(b,d,f){var g=c(b,d,f);d=a?g:d,b=a?b:g,e[d]=b}),e}}function Cc(a){return function(b,c,d){return b=j(b),(a?b:"")+Gc(b,c,d)+(a?"":b)}}function Dc(a){var b=qe(function(c,d){var e=v(d,b.placeholder);return Kc(c,a,B,d,e)});return b}function Ec(a,b){return function(c,d,e,f){var g=arguments.length<3;return"function"==typeof d&&f===B&&Ch(c)?a(c,d,e,g):Vb(c,Oc(d,f,4),e,g,b)}}function Fc(a,b,c,d,e,f,g,h,i,j){function k(){for(var s=arguments.length,t=s,u=Of(s);t--;)u[t]=arguments[t];if(d&&(u=hc(u,d,e)),f&&(u=ic(u,f,g)),o||q){var w=k.placeholder,x=v(u,w);if(s-=x.length,j>s){var y=h?ab(h):B,z=vg(j-s,0),A=o?x:B,C=o?B:x,F=o?u:B,G=o?B:u;b|=o?I:J,b&=~(o?J:I),p||(b&=~(D|E));var H=[a,b,c,F,A,G,C,y,i,z],K=Fc.apply(B,H);return ad(a)&&Qg(K,H),K.placeholder=w,K}}var L=m?c:this,M=n?L[a]:a;return h&&(u=hd(u,h)),l&&i<u.length&&(u.length=i),this&&this!==db&&this instanceof k&&(M=r||qc(a)),M.apply(L,u)}var l=b&K,m=b&D,n=b&E,o=b&G,p=b&F,q=b&H,r=n?B:qc(a);return k}function Gc(a,b,c){var d=a.length;if(b=+b,d>=b||!tg(b))return"";var e=b-d;return c=null==c?" ":c+"",qf(c,pg(e/c.length)).slice(0,e)}function Hc(a,b,c,d){function e(){for(var b=-1,h=arguments.length,i=-1,j=d.length,k=Of(j+h);++i<j;)k[i]=d[i];for(;h--;)k[i++]=arguments[++b];var l=this&&this!==db&&this instanceof e?g:a;return l.apply(f?c:this,k)}var f=b&D,g=qc(a);return e}function Ic(a){var b=Sf[a];return function(a,c){return c=c===B?0:+c||0,c?(c=ig(10,c),b(a*c)/c):b(a)}}function Jc(a){return function(b,c,d,e){var f=Oc(d);return null==d&&f===ub?dc(b,c,a):ec(b,c,f(d,e,1),a)}}function Kc(a,b,c,d,e,f,g,h){var i=b&E;if(!i&&"function"!=typeof a)throw new Xf(T);var j=d?d.length:0;if(j||(b&=~(I|J),d=e=B),j-=e?e.length:0,b&J){var k=d,l=e;d=e=B}var m=i?B:Og(a),n=[a,b,c,d,e,k,l,f,g,h];if(m&&(dd(n,m),b=n[1],h=n[9]),n[9]=null==h?i?0:a.length:vg(h-j,0)||0,b==D)var o=nc(n[0],n[2]);else o=b!=I&&b!=(D|I)||n[4].length?Fc.apply(B,n):Hc.apply(B,n);var p=m?Ng:Qg;return p(o,n)}function Lc(a,b,c,d,e,f,g){var h=-1,i=a.length,j=b.length;if(i!=j&&!(e&&j>i))return!1;for(;++h<i;){var k=a[h],l=b[h],m=d?d(e?l:k,e?k:l,h):B;if(m!==B){if(m)continue;return!1}if(e){if(!mb(b,function(a){return k===a||c(k,a,d,e,f,g)}))return!1}else if(k!==l&&!c(k,l,d,e,f,g))return!1}return!0}function Mc(a,b,c){switch(c){case X:case Y:return+a==+b;case Z:return a.name==b.name&&a.message==b.message;case aa:return a!=+a?b!=+b:a==+b;case ca:case ea:return a==b+""}return!1}function Nc(a,b,c,d,e,f,g){var h=Nh(a),i=h.length,j=Nh(b),k=j.length;if(i!=k&&!e)return!1;for(var l=i;l--;){var m=h[l];if(!(e?m in b:ag.call(b,m)))return!1}for(var n=e;++l<i;){m=h[l];var o=a[m],p=b[m],q=d?d(e?p:o,e?o:p,m):B;if(!(q===B?c(o,p,d,e,f,g):q))return!1;n||(n="constructor"==m)}if(!n){var r=a.constructor,s=b.constructor;if(r!=s&&"constructor"in a&&"constructor"in b&&!("function"==typeof r&&r instanceof r&&"function"==typeof s&&s instanceof s))return!1}return!0}function Oc(a,c,d){var e=b.callback||zf;return e=e===zf?ub:e,d?e(a,c,d):e}function Pc(a){for(var b=a.name,c=Hg[b],d=c?c.length:0;d--;){var e=c[d],f=e.func;if(null==f||f==a)return e.name}return b}function Qc(a,c,d){var e=b.indexOf||xd;return e=e===xd?h:e,a?e(a,c,d):e}function Rc(a){for(var b=af(a),c=b.length;c--;)b[c][2]=cd(b[c][1]);return b}function Sc(a,b){var c=null==a?B:a[b];return Ke(c)?c:B}function Tc(a,b,c){for(var d=-1,e=c.length;++d<e;){var f=c[d],g=f.size;switch(f.type){case"drop":a+=g;break;case"dropRight":b-=g;break;case"take":b=wg(b,a+g);break;case"takeRight":a=vg(a,b-g)}}return{start:a,end:b}}function Uc(a){var b=a.length,c=new a.constructor(b);return b&&"string"==typeof a[0]&&ag.call(a,"index")&&(c.index=a.index,c.input=a.input),c}function Vc(a){var b=a.constructor;return"function"==typeof b&&b instanceof b||(b=Uf),new b}function Wc(a,b,c){var d=a.constructor;switch(b){case ga:return gc(a);case X:case Y:return new d(+a);case ha:case ia:case ja:case ka:case la:case ma:case na:case oa:case pa:var e=a.buffer;return new d(c?gc(e):e,a.byteOffset,a.length);case aa:case ea:return new d(a);case ca:var f=new d(a.source,Ia.exec(a));f.lastIndex=a.lastIndex}return f}function Xc(a,b,c){null==a||_c(b,a)||(b=ld(b),a=1==b.length?a:Ib(a,Wb(b,0,-1)),b=zd(b));var d=null==a?a:a[b];return null==d?B:d.apply(a,c)}function Yc(a){return null!=a&&bd(Pg(a))}function Zc(a,b){return a="number"==typeof a||La.test(a)?+a:-1,b=null==b?Fg:b,a>-1&&a%1==0&&b>a}function $c(a,b,c){if(!He(c))return!1;var d=typeof b;if("number"==d?Yc(c)&&Zc(b,c.length):"string"==d&&b in c){var e=c[b];return a===a?a===e:e!==e}return!1}function _c(a,b){var c=typeof a;if("string"==c&&Ba.test(a)||"number"==c)return!0;if(Ch(a))return!1;var d=!Aa.test(a);return d||null!=b&&a in kd(b)}function ad(a){var c=Pc(a);if(!(c in e.prototype))return!1;var d=b[c];if(a===d)return!0;var f=Og(d);return!!f&&a===f[0]}function bd(a){return"number"==typeof a&&a>-1&&a%1==0&&Fg>=a}function cd(a){return a===a&&!He(a)}function dd(a,b){var c=a[1],d=b[1],e=c|d,f=K>e,g=d==K&&c==G||d==K&&c==L&&a[7].length<=b[8]||d==(K|L)&&c==G;if(!f&&!g)return a;d&D&&(a[2]=b[2],e|=c&D?0:F);var h=b[3];if(h){var i=a[3];a[3]=i?hc(i,h,b[4]):ab(h),a[4]=i?v(a[3],U):ab(b[4])}return h=b[5],h&&(i=a[5],a[5]=i?ic(i,h,b[6]):ab(h),a[6]=i?v(a[5],U):ab(b[6])),h=b[7],h&&(a[7]=ab(h)),d&K&&(a[8]=null==a[8]?b[8]:wg(a[8],b[8])),null==a[9]&&(a[9]=b[9]),a[0]=b[0],a[1]=e,a}function ed(a,b){return a===B?b:Dh(a,b,ed)}function fd(a,b){a=kd(a);for(var c=-1,d=b.length,e={};++c<d;){var f=b[c];f in a&&(e[f]=a[f])}return e}function gd(a,b){var c={};return Eb(a,function(a,d,e){b(a,d,e)&&(c[d]=a)}),c}function hd(a,b){for(var c=a.length,d=wg(b.length,c),e=ab(a);d--;){var f=b[d];a[d]=Zc(f,c)?e[f]:B}return a}function id(a){for(var b=_e(a),c=b.length,d=c&&a.length,e=!!d&&bd(d)&&(Ch(a)||ye(a)),f=-1,g=[];++f<c;){var h=b[f];(e&&Zc(h,d)||ag.call(a,h))&&g.push(h)}return g}function jd(a){return null==a?[]:Yc(a)?He(a)?a:Uf(a):ef(a)}function kd(a){return He(a)?a:Uf(a)}function ld(a){if(Ch(a))return a;var b=[];return j(a).replace(Ca,function(a,c,d,e){b.push(d?e.replace(Ga,"$1"):c||a)}),b}function md(a){return a instanceof e?a.clone():new d(a.__wrapped__,a.__chain__,ab(a.__actions__))}function nd(a,b,c){b=(c?$c(a,b,c):null==b)?1:vg(rg(b)||1,1);for(var d=0,e=a?a.length:0,f=-1,g=Of(pg(e/b));e>d;)g[++f]=Wb(a,d,d+=b);return g}function od(a){for(var b=-1,c=a?a.length:0,d=-1,e=[];++b<c;){var f=a[b];f&&(e[++d]=f)}return e}function pd(a,b,c){var d=a?a.length:0;return d?((c?$c(a,b,c):null==b)&&(b=1),Wb(a,0>b?0:b)):[]}function qd(a,b,c){var d=a?a.length:0;return d?((c?$c(a,b,c):null==b)&&(b=1),b=d-(+b||0),Wb(a,0,0>b?0:b)):[]}function rd(a,b,c){return a&&a.length?bc(a,Oc(b,c,3),!0,!0):[]}function sd(a,b,c){return a&&a.length?bc(a,Oc(b,c,3),!0):[]}function td(a,b,c,d){var e=a?a.length:0;return e?(c&&"number"!=typeof c&&$c(a,b,c)&&(c=0,d=e),Ab(a,b,c,d)):[]}function ud(a){return a?a[0]:B}function vd(a,b,c){var d=a?a.length:0;return c&&$c(a,b,c)&&(b=!1),d?Db(a,b):[]}function wd(a){var b=a?a.length:0;return b?Db(a,!0):[]}function xd(a,b,c){var d=a?a.length:0;if(!d)return-1;if("number"==typeof c)c=0>c?vg(d+c,0):c;else if(c){var e=dc(a,b);return d>e&&(b===b?b===a[e]:a[e]!==a[e])?e:-1}return h(a,b,c||0)}function yd(a){return qd(a,1)}function zd(a){var b=a?a.length:0;return b?a[b-1]:B}function Ad(a,b,c){var d=a?a.length:0;if(!d)return-1;var e=d;if("number"==typeof c)e=(0>c?vg(d+c,0):wg(c||0,d-1))+1;else if(c){e=dc(a,b,!0)-1;var f=a[e];return(b===b?b===f:f!==f)?e:-1}if(b!==b)return s(a,e,!0);for(;e--;)if(a[e]===b)return e;return-1}function Bd(){var a=arguments,b=a[0];if(!b||!b.length)return b;for(var c=0,d=Qc(),e=a.length;++c<e;)for(var f=0,g=a[c];(f=d(b,g,f))>-1;)mg.call(b,f,1);return b}function Cd(a,b,c){var d=[];if(!a||!a.length)return d;var e=-1,f=[],g=a.length;for(b=Oc(b,c,3);++e<g;){var h=a[e];b(h,e,a)&&(d.push(h),f.push(e))}return Tb(a,f),d}function Dd(a){return pd(a,1)}function Ed(a,b,c){var d=a?a.length:0;return d?(c&&"number"!=typeof c&&$c(a,b,c)&&(b=0,c=d),Wb(a,b,c)):[]}function Fd(a,b,c){var d=a?a.length:0;return d?((c?$c(a,b,c):null==b)&&(b=1),Wb(a,0,0>b?0:b)):[]}function Gd(a,b,c){var d=a?a.length:0;return d?((c?$c(a,b,c):null==b)&&(b=1),b=d-(+b||0),Wb(a,0>b?0:b)):[]}function Hd(a,b,c){return a&&a.length?bc(a,Oc(b,c,3),!1,!0):[]}function Id(a,b,c){return a&&a.length?bc(a,Oc(b,c,3)):[]}function Jd(a,b,c,d){var e=a?a.length:0;if(!e)return[];null!=b&&"boolean"!=typeof b&&(d=c,c=$c(a,b,d)?B:b,b=!1);var f=Oc();return(null!=c||f!==ub)&&(c=f(c,d,3)),b&&Qc()==h?w(a,c):_b(a,c)}function Kd(a){if(!a||!a.length)return[];var b=-1,c=0;a=hb(a,function(a){return Yc(a)?(c=vg(a.length,c),!0):void 0});for(var d=Of(c);++b<c;)d[b]=ib(a,Rb(b));return d}function Ld(a,b,c){var d=a?a.length:0;if(!d)return[];var e=Kd(a);return null==b?e:(b=fc(b,c,4),ib(e,function(a){return kb(a,b,B,!0)}))}function Md(){for(var a=-1,b=arguments.length;++a<b;){var c=arguments[a];if(Yc(c))var d=d?jb(xb(d,c),xb(c,d)):c}return d?_b(d):[]}function Nd(a,b){var c=-1,d=a?a.length:0,e={};for(!d||b||Ch(a[0])||(b=[]);++c<d;){var f=a[c];b?e[f]=b[c]:f&&(e[f[0]]=f[1])}return e}function Od(a){var c=b(a);return c.__chain__=!0,c}function Pd(a,b,c){return b.call(c,a),a}function Qd(a,b,c){return b.call(c,a)}function Rd(){return Od(this)}function Sd(){return new d(this.value(),this.__chain__)}function Td(a){for(var b,d=this;d instanceof c;){var e=md(d);b?f.__wrapped__=e:b=e;var f=e;d=d.__wrapped__}return f.__wrapped__=a,b}function Ud(){var a=this.__wrapped__,b=function(a){return c&&c.__dir__<0?a:a.reverse()};if(a instanceof e){var c=a;return this.__actions__.length&&(c=new e(this)),c=c.reverse(),c.__actions__.push({func:Qd,args:[b],thisArg:B}),new d(c,this.__chain__)}return this.thru(b)}function Vd(){return this.value()+""}function Wd(){return cc(this.__wrapped__,this.__actions__)}function Xd(a,b,c){var d=Ch(a)?fb:yb;return c&&$c(a,b,c)&&(b=B),("function"!=typeof b||c!==B)&&(b=Oc(b,c,3)),d(a,b)}function Yd(a,b,c){var d=Ch(a)?hb:Bb;return b=Oc(b,c,3),d(a,b)}function Zd(a,b){return dh(a,Nb(b))}function $d(a,b,c,d){var e=a?Pg(a):0;return bd(e)||(a=ef(a),e=a.length),c="number"!=typeof c||d&&$c(b,c,d)?0:0>c?vg(e+c,0):c||0,"string"==typeof a||!Ch(a)&&Pe(a)?e>=c&&a.indexOf(b,c)>-1:!!e&&Qc(a,b,c)>-1}function _d(a,b,c){var d=Ch(a)?ib:Mb;return b=Oc(b,c,3),d(a,b)}function ae(a,b){return _d(a,Hf(b))}function be(a,b,c){var d=Ch(a)?hb:Bb;return b=Oc(b,c,3),d(a,function(a,c,d){return!b(a,c,d)})}function ce(a,b,c){if(c?$c(a,b,c):null==b){a=jd(a);var d=a.length;return d>0?a[Ub(0,d-1)]:B}var e=-1,f=Ue(a),d=f.length,g=d-1;for(b=wg(0>b?0:+b||0,d);++e<b;){var h=Ub(e,g),i=f[h];f[h]=f[e],f[e]=i}return f.length=b,f}function de(a){return ce(a,Bg)}function ee(a){var b=a?Pg(a):0;return bd(b)?b:Nh(a).length}function fe(a,b,c){var d=Ch(a)?mb:Xb;return c&&$c(a,b,c)&&(b=B),("function"!=typeof b||c!==B)&&(b=Oc(b,c,3)),d(a,b)}function ge(a,b,c){if(null==a)return[];c&&$c(a,b,c)&&(b=B);var d=-1;b=Oc(b,c,3);var e=Mb(a,function(a,c,e){return{criteria:b(a,c,e),index:++d,value:a}});return Yb(e,m)}function he(a,b,c,d){return null==a?[]:(d&&$c(b,c,d)&&(c=B),Ch(b)||(b=null==b?[]:[b]),Ch(c)||(c=null==c?[]:[c]),Zb(a,b,c))}function ie(a,b){return Yd(a,Nb(b))}function je(a,b){if("function"!=typeof b){if("function"!=typeof a)throw new Xf(T);var c=a;a=b,b=c}return a=tg(a=+a)?a:0,function(){return--a<1?b.apply(this,arguments):void 0}}function ke(a,b,c){return c&&$c(a,b,c)&&(b=B),b=a&&null==b?a.length:vg(+b||0,0),Kc(a,K,B,B,B,B,b)}function le(a,b){var c;if("function"!=typeof b){if("function"!=typeof a)throw new Xf(T);var d=a;a=b,b=d}return function(){return--a>0&&(c=b.apply(this,arguments)),1>=a&&(b=B),c}}function me(a,b,c){function d(){n&&gg(n),j&&gg(j),p=0,j=n=o=B}function e(b,c){c&&gg(c),j=n=o=B,b&&(p=oh(),k=a.apply(m,i),n||j||(i=m=B))}function f(){var a=b-(oh()-l);0>=a||a>b?e(o,j):n=lg(f,a)}function g(){e(r,n)}function h(){if(i=arguments,l=oh(),m=this,o=r&&(n||!s),q===!1)var c=s&&!n;else{j||s||(p=l);var d=q-(l-p),e=0>=d||d>q;e?(j&&(j=gg(j)),p=l,k=a.apply(m,i)):j||(j=lg(g,d))}return e&&n?n=gg(n):n||b===q||(n=lg(f,b)),c&&(e=!0,k=a.apply(m,i)),!e||n||j||(i=m=B),k}var i,j,k,l,m,n,o,p=0,q=!1,r=!0;if("function"!=typeof a)throw new Xf(T);if(b=0>b?0:+b||0,c===!0){var s=!0;r=!1}else He(c)&&(s=!!c.leading,q="maxWait"in c&&vg(+c.maxWait||0,b),r="trailing"in c?!!c.trailing:r);return h.cancel=d,h}function ne(a,b){if("function"!=typeof a||b&&"function"!=typeof b)throw new Xf(T);var c=function(){var d=arguments,e=b?b.apply(this,d):d[0],f=c.cache;if(f.has(e))return f.get(e);var g=a.apply(this,d);return c.cache=f.set(e,g),g};return c.cache=new ne.Cache,c}function oe(a){if("function"!=typeof a)throw new Xf(T);return function(){return!a.apply(this,arguments)}}function pe(a){return le(2,a)}function qe(a,b){if("function"!=typeof a)throw new Xf(T);return b=vg(b===B?a.length-1:+b||0,0),function(){for(var c=arguments,d=-1,e=vg(c.length-b,0),f=Of(e);++d<e;)f[d]=c[b+d];switch(b){case 0:return a.call(this,f);case 1:return a.call(this,c[0],f);case 2:return a.call(this,c[0],c[1],f)}var g=Of(b+1);for(d=-1;++d<b;)g[d]=c[d];return g[b]=f,a.apply(this,g)}}function re(a){if("function"!=typeof a)throw new Xf(T);return function(b){return a.apply(this,b)}}function se(a,b,c){var d=!0,e=!0;if("function"!=typeof a)throw new Xf(T);return c===!1?d=!1:He(c)&&(d="leading"in c?!!c.leading:d,e="trailing"in c?!!c.trailing:e),me(a,b,{leading:d,maxWait:+b,trailing:e})}function te(a,b){return b=null==b?Bf:b,Kc(b,I,B,[a],[])}function ue(a,b,c,d){return b&&"boolean"!=typeof b&&$c(a,b,c)?b=!1:"function"==typeof b&&(d=c,c=b,b=!1),"function"==typeof c?vb(a,b,fc(c,d,1)):vb(a,b)}function ve(a,b,c){return"function"==typeof b?vb(a,!0,fc(b,c,1)):vb(a,!0)}function we(a,b){return a>b}function xe(a,b){return a>=b}function ye(a){return t(a)&&Yc(a)&&ag.call(a,"callee")&&!jg.call(a,"callee")}function ze(a){return a===!0||a===!1||t(a)&&cg.call(a)==X}function Ae(a){return t(a)&&cg.call(a)==Y}function Be(a){return!!a&&1===a.nodeType&&t(a)&&!Ne(a)}function Ce(a){return null==a?!0:Yc(a)&&(Ch(a)||Pe(a)||ye(a)||t(a)&&Ge(a.splice))?!a.length:!Nh(a).length}function De(a,b,c,d){c="function"==typeof c?fc(c,d,3):B;var e=c?c(a,b):B;return e===B?Jb(a,b,c):!!e}function Ee(a){return t(a)&&"string"==typeof a.message&&cg.call(a)==Z}function Fe(a){return"number"==typeof a&&tg(a)}function Ge(a){return He(a)&&cg.call(a)==$}function He(a){var b=typeof a;return!!a&&("object"==b||"function"==b)}function Ie(a,b,c,d){return c="function"==typeof c?fc(c,d,3):B,Lb(a,Rc(b),c)}function Je(a){return Me(a)&&a!=+a}function Ke(a){return null==a?!1:Ge(a)?eg.test(_f.call(a)):t(a)&&Ka.test(a)}function Le(a){return null===a}function Me(a){return"number"==typeof a||t(a)&&cg.call(a)==aa}function Ne(a){var b;if(!t(a)||cg.call(a)!=ba||ye(a)||!ag.call(a,"constructor")&&(b=a.constructor,"function"==typeof b&&!(b instanceof b)))return!1;var c;return Eb(a,function(a,b){c=b}),c===B||ag.call(a,c)}function Oe(a){return He(a)&&cg.call(a)==ca}function Pe(a){return"string"==typeof a||t(a)&&cg.call(a)==ea}function Qe(a){return t(a)&&bd(a.length)&&!!Sa[cg.call(a)]}function Re(a){return a===B}function Se(a,b){return b>a}function Te(a,b){return b>=a}function Ue(a){var b=a?Pg(a):0;return bd(b)?b?ab(a):[]:ef(a)}function Ve(a){return tb(a,_e(a))}function We(a,b,c){var d=Ig(a);return c&&$c(a,b,c)&&(b=B),b?rb(d,b):d}function Xe(a){return Hb(a,_e(a))}function Ye(a,b,c){var d=null==a?B:Ib(a,ld(b),b+"");return d===B?c:d}function Ze(a,b){if(null==a)return!1;var c=ag.call(a,b);if(!c&&!_c(b)){if(b=ld(b),a=1==b.length?a:Ib(a,Wb(b,0,-1)),null==a)return!1;b=zd(b),c=ag.call(a,b)}return c||bd(a.length)&&Zc(b,a.length)&&(Ch(a)||ye(a))}function $e(a,b,c){c&&$c(a,b,c)&&(b=B);for(var d=-1,e=Nh(a),f=e.length,g={};++d<f;){var h=e[d],i=a[h];b?ag.call(g,i)?g[i].push(h):g[i]=[h]:g[i]=h}return g}function _e(a){if(null==a)return[];He(a)||(a=Uf(a));var b=a.length;b=b&&bd(b)&&(Ch(a)||ye(a))&&b||0;for(var c=a.constructor,d=-1,e="function"==typeof c&&c.prototype===a,f=Of(b),g=b>0;++d<b;)f[d]=d+"";for(var h in a)g&&Zc(h,b)||"constructor"==h&&(e||!ag.call(a,h))||f.push(h);return f}function af(a){a=kd(a);for(var b=-1,c=Nh(a),d=c.length,e=Of(d);++b<d;){var f=c[b];e[b]=[f,a[f]]}return e}function bf(a,b,c){var d=null==a?B:a[b];return d===B&&(null==a||_c(b,a)||(b=ld(b),a=1==b.length?a:Ib(a,Wb(b,0,-1)),d=null==a?B:a[zd(b)]),d=d===B?c:d),Ge(d)?d.call(a):d}function cf(a,b,c){if(null==a)return a;var d=b+"";b=null!=a[d]||_c(b,a)?[d]:ld(b);for(var e=-1,f=b.length,g=f-1,h=a;null!=h&&++e<f;){var i=b[e];He(h)&&(e==g?h[i]=c:null==h[i]&&(h[i]=Zc(b[e+1])?[]:{})),h=h[i]}return a}function df(a,b,c,d){var e=Ch(a)||Qe(a);if(b=Oc(b,d,4),null==c)if(e||He(a)){var f=a.constructor;c=e?Ch(a)?new f:[]:Ig(Ge(f)?f.prototype:B)}else c={};return(e?bb:Fb)(a,function(a,d,e){return b(c,a,d,e)}),c}function ef(a){return ac(a,Nh(a))}function ff(a){return ac(a,_e(a))}function gf(a,b,c){return b=+b||0,c===B?(c=b,b=0):c=+c||0,a>=wg(b,c)&&a<vg(b,c)}function hf(a,b,c){c&&$c(a,b,c)&&(b=c=B);var d=null==a,e=null==b;if(null==c&&(e&&"boolean"==typeof a?(c=a,a=1):"boolean"==typeof b&&(c=b,e=!0)),d&&e&&(b=1,e=!1),a=+a||0,e?(b=a,a=0):b=+b||0,c||a%1||b%1){var f=zg();return wg(a+f*(b-a+hg("1e-"+((f+"").length-1))),b)}return Ub(a,b)}function jf(a){return a=j(a),a&&a.charAt(0).toUpperCase()+a.slice(1)}function kf(a){return a=j(a),a&&a.replace(Ma,o).replace(Fa,"")}function lf(a,b,c){a=j(a),b+="";var d=a.length;return c=c===B?d:wg(0>c?0:+c||0,d),c-=b.length,c>=0&&a.indexOf(b,c)==c}function mf(a){return a=j(a),a&&wa.test(a)?a.replace(ua,p):a}function nf(a){return a=j(a),a&&Ea.test(a)?a.replace(Da,q):a||"(?:)"}function of(a,b,c){a=j(a),b=+b;var d=a.length;if(d>=b||!tg(b))return a;var e=(b-d)/2,f=rg(e),g=pg(e);return c=Gc("",g,c),c.slice(0,f)+a+c}function pf(a,b,c){return(c?$c(a,b,c):null==b)?b=0:b&&(b=+b),a=tf(a),yg(a,b||(Ja.test(a)?16:10))}function qf(a,b){var c="";if(a=j(a),b=+b,1>b||!a||!tg(b))return c;do b%2&&(c+=a),b=rg(b/2),a+=a;while(b);return c}function rf(a,b,c){return a=j(a),c=null==c?0:wg(0>c?0:+c||0,a.length),a.lastIndexOf(b,c)==c}function sf(a,c,d){var e=b.templateSettings;d&&$c(a,c,d)&&(c=d=B),a=j(a),c=qb(rb({},d||c),e,pb);var f,g,h=qb(rb({},c.imports),e.imports,pb),i=Nh(h),k=ac(h,i),l=0,m=c.interpolate||Na,n="__p += '",o=Vf((c.escape||Na).source+"|"+m.source+"|"+(m===za?Ha:Na).source+"|"+(c.evaluate||Na).source+"|$","g"),p="//# sourceURL="+("sourceURL"in c?c.sourceURL:"lodash.templateSources["+ ++Ra+"]")+"\n";a.replace(o,function(b,c,d,e,h,i){return d||(d=e),n+=a.slice(l,i).replace(Oa,r),c&&(f=!0,n+="' +\n__e("+c+") +\n'"),h&&(g=!0,n+="';\n"+h+";\n__p += '"),d&&(n+="' +\n((__t = ("+d+")) == null ? '' : __t) +\n'"),l=i+b.length,b}),n+="';\n";var q=c.variable;q||(n="with (obj) {\n"+n+"\n}\n"),n=(g?n.replace(qa,""):n).replace(ra,"$1").replace(sa,"$1;"),n="function("+(q||"obj")+") {\n"+(q?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(f?", __e = _.escape":"")+(g?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+n+"return __p\n}";var s=Yh(function(){return Rf(i,p+"return "+n).apply(B,k)});if(s.source=n,Ee(s))throw s;return s}function tf(a,b,c){var d=a;return(a=j(a))?(c?$c(d,b,c):null==b)?a.slice(x(a),y(a)+1):(b+="",a.slice(k(a,b),l(a,b)+1)):a}function uf(a,b,c){var d=a;return a=j(a),a?(c?$c(d,b,c):null==b)?a.slice(x(a)):a.slice(k(a,b+"")):a}function vf(a,b,c){var d=a;return a=j(a),a?(c?$c(d,b,c):null==b)?a.slice(0,y(a)+1):a.slice(0,l(a,b+"")+1):a}function wf(a,b,c){c&&$c(a,b,c)&&(b=B);var d=M,e=N;if(null!=b)if(He(b)){var f="separator"in b?b.separator:f;d="length"in b?+b.length||0:d,e="omission"in b?j(b.omission):e}else d=+b||0;if(a=j(a),d>=a.length)return a;var g=d-e.length;if(1>g)return e;var h=a.slice(0,g);if(null==f)return h+e;if(Oe(f)){if(a.slice(g).search(f)){var i,k,l=a.slice(0,g);for(f.global||(f=Vf(f.source,(Ia.exec(f)||"")+"g")),f.lastIndex=0;i=f.exec(l);)k=i.index;h=h.slice(0,null==k?g:k)}}else if(a.indexOf(f,g)!=g){var m=h.lastIndexOf(f);m>-1&&(h=h.slice(0,m))}return h+e}function xf(a){return a=j(a),a&&va.test(a)?a.replace(ta,z):a}function yf(a,b,c){return c&&$c(a,b,c)&&(b=B),a=j(a),a.match(b||Pa)||[]}function zf(a,b,c){return c&&$c(a,b,c)&&(b=B),t(a)?Cf(a):ub(a,b)}function Af(a){return function(){return a}}function Bf(a){return a}function Cf(a){return Nb(vb(a,!0))}function Df(a,b){return Ob(a,vb(b,!0))}function Ef(a,b,c){if(null==c){var d=He(b),e=d?Nh(b):B,f=e&&e.length?Hb(b,e):B;(f?f.length:d)||(f=!1,c=b,b=a,a=this)}f||(f=Hb(b,Nh(b)));var g=!0,h=-1,i=Ge(a),j=f.length;c===!1?g=!1:He(c)&&"chain"in c&&(g=c.chain);for(;++h<j;){var k=f[h],l=b[k];a[k]=l,i&&(a.prototype[k]=function(b){return function(){var c=this.__chain__;if(g||c){var d=a(this.__wrapped__),e=d.__actions__=ab(this.__actions__);return e.push({func:b,args:arguments,thisArg:a}),d.__chain__=c,d}return b.apply(a,jb([this.value()],arguments))}}(l))}return a}function Ff(){return db._=dg,this}function Gf(){}function Hf(a){return _c(a)?Rb(a):Sb(a)}function If(a){return function(b){return Ib(a,ld(b),b+"")}}function Jf(a,b,c){c&&$c(a,b,c)&&(b=c=B),a=+a||0,c=null==c?1:+c||0,null==b?(b=a,a=0):b=+b||0;for(var d=-1,e=vg(pg((b-a)/(c||1)),0),f=Of(e);++d<e;)f[d]=a,a+=c;return f}function Kf(a,b,c){if(a=rg(a),1>a||!tg(a))return[];var d=-1,e=Of(wg(a,Cg));for(b=fc(b,c,1);++d<a;)Cg>d?e[d]=b(d):b(d);return e}function Lf(a){var b=++bg;return j(a)+b}function Mf(a,b){return(+a||0)+(+b||0)}function Nf(a,b,c){return c&&$c(a,b,c)&&(b=B),b=Oc(b,c,3),1==b.length?nb(Ch(a)?a:jd(a),b):$b(a,b)}a=a?eb.defaults(db.Object(),a,eb.pick(db,Qa)):db;var Of=a.Array,Pf=a.Date,Qf=a.Error,Rf=a.Function,Sf=a.Math,Tf=a.Number,Uf=a.Object,Vf=a.RegExp,Wf=a.String,Xf=a.TypeError,Yf=Of.prototype,Zf=Uf.prototype,$f=Wf.prototype,_f=Rf.prototype.toString,ag=Zf.hasOwnProperty,bg=0,cg=Zf.toString,dg=db._,eg=Vf("^"+_f.call(ag).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),fg=a.ArrayBuffer,gg=a.clearTimeout,hg=a.parseFloat,ig=Sf.pow,jg=Zf.propertyIsEnumerable,kg=Sc(a,"Set"),lg=a.setTimeout,mg=Yf.splice,ng=a.Uint8Array,og=Sc(a,"WeakMap"),pg=Sf.ceil,qg=Sc(Uf,"create"),rg=Sf.floor,sg=Sc(Of,"isArray"),tg=a.isFinite,ug=Sc(Uf,"keys"),vg=Sf.max,wg=Sf.min,xg=Sc(Pf,"now"),yg=a.parseInt,zg=Sf.random,Ag=Tf.NEGATIVE_INFINITY,Bg=Tf.POSITIVE_INFINITY,Cg=4294967295,Dg=Cg-1,Eg=Cg>>>1,Fg=9007199254740991,Gg=og&&new og,Hg={};
-b.support={};b.templateSettings={escape:xa,evaluate:ya,interpolate:za,variable:"",imports:{_:b}};var Ig=function(){function a(){}return function(b){if(He(b)){a.prototype=b;var c=new a;a.prototype=B}return c||{}}}(),Jg=lc(Fb),Kg=lc(Gb,!0),Lg=mc(),Mg=mc(!0),Ng=Gg?function(a,b){return Gg.set(a,b),a}:Bf,Og=Gg?function(a){return Gg.get(a)}:Gf,Pg=Rb("length"),Qg=function(){var a=0,b=0;return function(c,d){var e=oh(),f=P-(e-b);if(b=e,f>0){if(++a>=O)return c}else a=0;return Ng(c,d)}}(),Rg=qe(function(a,b){return t(a)&&Yc(a)?xb(a,Db(b,!1,!0)):[]}),Sg=vc(),Tg=vc(!0),Ug=qe(function(a){for(var b=a.length,c=b,d=Of(l),e=Qc(),f=e==h,g=[];c--;){var i=a[c]=Yc(i=a[c])?i:[];d[c]=f&&i.length>=120?oc(c&&i):null}var j=a[0],k=-1,l=j?j.length:0,m=d[0];a:for(;++k<l;)if(i=j[k],(m?Za(m,i):e(g,i,0))<0){for(var c=b;--c;){var n=d[c];if((n?Za(n,i):e(a[c],i,0))<0)continue a}m&&m.push(i),g.push(i)}return g}),Vg=qe(function(a,b){b=Db(b);var c=sb(a,b);return Tb(a,b.sort(f)),c}),Wg=Jc(),Xg=Jc(!0),Yg=qe(function(a){return _b(Db(a,!1,!0))}),Zg=qe(function(a,b){return Yc(a)?xb(a,b):[]}),$g=qe(Kd),_g=qe(function(a){var b=a.length,c=b>2?a[b-2]:B,d=b>1?a[b-1]:B;return b>2&&"function"==typeof c?b-=2:(c=b>1&&"function"==typeof d?(--b,d):B,d=B),a.length=b,Ld(a,c,d)}),ah=qe(function(a){return a=Db(a),this.thru(function(b){return _a(Ch(b)?b:[kd(b)],a)})}),bh=qe(function(a,b){return sb(a,Db(b))}),ch=jc(function(a,b,c){ag.call(a,c)?++a[c]:a[c]=1}),dh=uc(Jg),eh=uc(Kg,!0),fh=yc(bb,Jg),gh=yc(cb,Kg),hh=jc(function(a,b,c){ag.call(a,c)?a[c].push(b):a[c]=[b]}),ih=jc(function(a,b,c){a[c]=b}),jh=qe(function(a,b,c){var d=-1,e="function"==typeof b,f=_c(b),g=Yc(a)?Of(a.length):[];return Jg(a,function(a){var h=e?b:f&&null!=a?a[b]:B;g[++d]=h?h.apply(a,c):Xc(a,b,c)}),g}),kh=jc(function(a,b,c){a[c?0:1].push(b)},function(){return[[],[]]}),lh=Ec(kb,Jg),mh=Ec(lb,Kg),nh=qe(function(a,b){if(null==a)return[];var c=b[2];return c&&$c(b[0],b[1],c)&&(b.length=1),Zb(a,Db(b),[])}),oh=xg||function(){return(new Pf).getTime()},ph=qe(function(a,b,c){var d=D;if(c.length){var e=v(c,ph.placeholder);d|=I}return Kc(a,d,b,c,e)}),qh=qe(function(a,b){b=b.length?Db(b):Xe(a);for(var c=-1,d=b.length;++c<d;){var e=b[c];a[e]=Kc(a[e],D,a)}return a}),rh=qe(function(a,b,c){var d=D|E;if(c.length){var e=v(c,rh.placeholder);d|=I}return Kc(b,d,a,c,e)}),sh=rc(G),th=rc(H),uh=qe(function(a,b){return wb(a,1,b)}),vh=qe(function(a,b,c){return wb(a,b,c)}),wh=xc(),xh=xc(!0),yh=qe(function(a,b){if(b=Db(b),"function"!=typeof a||!fb(b,i))throw new Xf(T);var c=b.length;return qe(function(d){for(var e=wg(d.length,c);e--;)d[e]=b[e](d[e]);return a.apply(this,d)})}),zh=Dc(I),Ah=Dc(J),Bh=qe(function(a,b){return Kc(a,L,B,B,B,Db(b))}),Ch=sg||function(a){return t(a)&&bd(a.length)&&cg.call(a)==W},Dh=kc(Pb),Eh=kc(function(a,b,c){return c?qb(a,b,c):rb(a,b)}),Fh=sc(Eh,ob),Gh=sc(Dh,ed),Hh=wc(Fb),Ih=wc(Gb),Jh=zc(Lg),Kh=zc(Mg),Lh=Ac(Fb),Mh=Ac(Gb),Nh=ug?function(a){var b=null==a?B:a.constructor;return"function"==typeof b&&b.prototype===a||"function"!=typeof a&&Yc(a)?id(a):He(a)?ug(a):[]}:id,Oh=Bc(!0),Ph=Bc(),Qh=qe(function(a,b){if(null==a)return{};if("function"!=typeof b[0]){var b=ib(Db(b),Wf);return fd(a,xb(_e(a),b))}var c=fc(b[0],b[1],3);return gd(a,function(a,b,d){return!c(a,b,d)})}),Rh=qe(function(a,b){return null==a?{}:"function"==typeof b[0]?gd(a,fc(b[0],b[1],3)):fd(a,Db(b))}),Sh=pc(function(a,b,c){return b=b.toLowerCase(),a+(c?b.charAt(0).toUpperCase()+b.slice(1):b)}),Th=pc(function(a,b,c){return a+(c?"-":"")+b.toLowerCase()}),Uh=Cc(),Vh=Cc(!0),Wh=pc(function(a,b,c){return a+(c?"_":"")+b.toLowerCase()}),Xh=pc(function(a,b,c){return a+(c?" ":"")+(b.charAt(0).toUpperCase()+b.slice(1))}),Yh=qe(function(a,b){try{return a.apply(B,b)}catch(c){return Ee(c)?c:new Qf(c)}}),Zh=qe(function(a,b){return function(c){return Xc(c,a,b)}}),$h=qe(function(a,b){return function(c){return Xc(a,c,b)}}),_h=Ic("ceil"),ai=Ic("floor"),bi=tc(we,Ag),ci=tc(Se,Bg),di=Ic("round");return b.prototype=c.prototype,d.prototype=Ig(c.prototype),d.prototype.constructor=d,e.prototype=Ig(c.prototype),e.prototype.constructor=e,fa.prototype["delete"]=Ua,fa.prototype.get=Va,fa.prototype.has=Wa,fa.prototype.set=Xa,Ya.prototype.push=$a,ne.Cache=fa,b.after=je,b.ary=ke,b.assign=Eh,b.at=bh,b.before=le,b.bind=ph,b.bindAll=qh,b.bindKey=rh,b.callback=zf,b.chain=Od,b.chunk=nd,b.compact=od,b.constant=Af,b.countBy=ch,b.create=We,b.curry=sh,b.curryRight=th,b.debounce=me,b.defaults=Fh,b.defaultsDeep=Gh,b.defer=uh,b.delay=vh,b.difference=Rg,b.drop=pd,b.dropRight=qd,b.dropRightWhile=rd,b.dropWhile=sd,b.fill=td,b.filter=Yd,b.flatten=vd,b.flattenDeep=wd,b.flow=wh,b.flowRight=xh,b.forEach=fh,b.forEachRight=gh,b.forIn=Jh,b.forInRight=Kh,b.forOwn=Lh,b.forOwnRight=Mh,b.functions=Xe,b.groupBy=hh,b.indexBy=ih,b.initial=yd,b.intersection=Ug,b.invert=$e,b.invoke=jh,b.keys=Nh,b.keysIn=_e,b.map=_d,b.mapKeys=Oh,b.mapValues=Ph,b.matches=Cf,b.matchesProperty=Df,b.memoize=ne,b.merge=Dh,b.method=Zh,b.methodOf=$h,b.mixin=Ef,b.modArgs=yh,b.negate=oe,b.omit=Qh,b.once=pe,b.pairs=af,b.partial=zh,b.partialRight=Ah,b.partition=kh,b.pick=Rh,b.pluck=ae,b.property=Hf,b.propertyOf=If,b.pull=Bd,b.pullAt=Vg,b.range=Jf,b.rearg=Bh,b.reject=be,b.remove=Cd,b.rest=Dd,b.restParam=qe,b.set=cf,b.shuffle=de,b.slice=Ed,b.sortBy=ge,b.sortByAll=nh,b.sortByOrder=he,b.spread=re,b.take=Fd,b.takeRight=Gd,b.takeRightWhile=Hd,b.takeWhile=Id,b.tap=Pd,b.throttle=se,b.thru=Qd,b.times=Kf,b.toArray=Ue,b.toPlainObject=Ve,b.transform=df,b.union=Yg,b.uniq=Jd,b.unzip=Kd,b.unzipWith=Ld,b.values=ef,b.valuesIn=ff,b.where=ie,b.without=Zg,b.wrap=te,b.xor=Md,b.zip=$g,b.zipObject=Nd,b.zipWith=_g,b.backflow=xh,b.collect=_d,b.compose=xh,b.each=fh,b.eachRight=gh,b.extend=Eh,b.iteratee=zf,b.methods=Xe,b.object=Nd,b.select=Yd,b.tail=Dd,b.unique=Jd,Ef(b,b),b.add=Mf,b.attempt=Yh,b.camelCase=Sh,b.capitalize=jf,b.ceil=_h,b.clone=ue,b.cloneDeep=ve,b.deburr=kf,b.endsWith=lf,b.escape=mf,b.escapeRegExp=nf,b.every=Xd,b.find=dh,b.findIndex=Sg,b.findKey=Hh,b.findLast=eh,b.findLastIndex=Tg,b.findLastKey=Ih,b.findWhere=Zd,b.first=ud,b.floor=ai,b.get=Ye,b.gt=we,b.gte=xe,b.has=Ze,b.identity=Bf,b.includes=$d,b.indexOf=xd,b.inRange=gf,b.isArguments=ye,b.isArray=Ch,b.isBoolean=ze,b.isDate=Ae,b.isElement=Be,b.isEmpty=Ce,b.isEqual=De,b.isError=Ee,b.isFinite=Fe,b.isFunction=Ge,b.isMatch=Ie,b.isNaN=Je,b.isNative=Ke,b.isNull=Le,b.isNumber=Me,b.isObject=He,b.isPlainObject=Ne,b.isRegExp=Oe,b.isString=Pe,b.isTypedArray=Qe,b.isUndefined=Re,b.kebabCase=Th,b.last=zd,b.lastIndexOf=Ad,b.lt=Se,b.lte=Te,b.max=bi,b.min=ci,b.noConflict=Ff,b.noop=Gf,b.now=oh,b.pad=of,b.padLeft=Uh,b.padRight=Vh,b.parseInt=pf,b.random=hf,b.reduce=lh,b.reduceRight=mh,b.repeat=qf,b.result=bf,b.round=di,b.runInContext=A,b.size=ee,b.snakeCase=Wh,b.some=fe,b.sortedIndex=Wg,b.sortedLastIndex=Xg,b.startCase=Xh,b.startsWith=rf,b.sum=Nf,b.template=sf,b.trim=tf,b.trimLeft=uf,b.trimRight=vf,b.trunc=wf,b.unescape=xf,b.uniqueId=Lf,b.words=yf,b.all=Xd,b.any=fe,b.contains=$d,b.eq=De,b.detect=dh,b.foldl=lh,b.foldr=mh,b.head=ud,b.include=$d,b.inject=lh,Ef(b,function(){var a={};return Fb(b,function(c,d){b.prototype[d]||(a[d]=c)}),a}(),!1),b.sample=ce,b.prototype.sample=function(a){return this.__chain__||null!=a?this.thru(function(b){return ce(b,a)}):ce(this.value())},b.VERSION=C,bb(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){b[a].placeholder=b}),bb(["drop","take"],function(a,b){e.prototype[a]=function(c){var d=this.__filtered__;if(d&&!b)return new e(this);c=null==c?1:vg(rg(c)||0,0);var f=this.clone();return d?f.__takeCount__=wg(f.__takeCount__,c):f.__views__.push({size:c,type:a+(f.__dir__<0?"Right":"")}),f},e.prototype[a+"Right"]=function(b){return this.reverse()[a](b).reverse()}}),bb(["filter","map","takeWhile"],function(a,b){var c=b+1,d=c!=S;e.prototype[a]=function(a,b){var e=this.clone();return e.__iteratees__.push({iteratee:Oc(a,b,1),type:c}),e.__filtered__=e.__filtered__||d,e}}),bb(["first","last"],function(a,b){var c="take"+(b?"Right":"");e.prototype[a]=function(){return this[c](1).value()[0]}}),bb(["initial","rest"],function(a,b){var c="drop"+(b?"":"Right");e.prototype[a]=function(){return this.__filtered__?new e(this):this[c](1)}}),bb(["pluck","where"],function(a,b){var c=b?"filter":"map",d=b?Nb:Hf;e.prototype[a]=function(a){return this[c](d(a))}}),e.prototype.compact=function(){return this.filter(Bf)},e.prototype.reject=function(a,b){return a=Oc(a,b,1),this.filter(function(b){return!a(b)})},e.prototype.slice=function(a,b){a=null==a?0:+a||0;var c=this;return c.__filtered__&&(a>0||0>b)?new e(c):(0>a?c=c.takeRight(-a):a&&(c=c.drop(a)),b!==B&&(b=+b||0,c=0>b?c.dropRight(-b):c.take(b-a)),c)},e.prototype.takeRightWhile=function(a,b){return this.reverse().takeWhile(a,b).reverse()},e.prototype.toArray=function(){return this.take(Bg)},Fb(e.prototype,function(a,c){var f=/^(?:filter|map|reject)|While$/.test(c),g=/^(?:first|last)$/.test(c),h=b[g?"take"+("last"==c?"Right":""):c];h&&(b.prototype[c]=function(){var b=g?[1]:arguments,c=this.__chain__,i=this.__wrapped__,j=!!this.__actions__.length,k=i instanceof e,l=b[0],m=k||Ch(i);m&&f&&"function"==typeof l&&1!=l.length&&(k=m=!1);var n=function(a){return g&&c?h(a,1)[0]:h.apply(B,jb([a],b))},o={func:Qd,args:[n],thisArg:B},p=k&&!j;if(g&&!c)return p?(i=i.clone(),i.__actions__.push(o),a.call(i)):h.call(B,this.value())[0];if(!g&&m){i=p?i:new e(this);var q=a.apply(i,b);return q.__actions__.push(o),new d(q,c)}return this.thru(n)})}),bb(["join","pop","push","replace","shift","sort","splice","split","unshift"],function(a){var c=(/^(?:replace|split)$/.test(a)?$f:Yf)[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",e=/^(?:join|pop|replace|shift)$/.test(a);b.prototype[a]=function(){var a=arguments;return e&&!this.__chain__?c.apply(this.value(),a):this[d](function(b){return c.apply(b,a)})}}),Fb(e.prototype,function(a,c){var d=b[c];if(d){var e=d.name,f=Hg[e]||(Hg[e]=[]);f.push({name:c,func:d})}}),Hg[Fc(B,E).name]=[{name:"wrapper",func:B}],e.prototype.clone=u,e.prototype.reverse=_,e.prototype.value=da,b.prototype.chain=Rd,b.prototype.commit=Sd,b.prototype.concat=ah,b.prototype.plant=Td,b.prototype.reverse=Ud,b.prototype.toString=Vd,b.prototype.run=b.prototype.toJSON=b.prototype.valueOf=b.prototype.value=Wd,b.prototype.collect=b.prototype.map,b.prototype.head=b.prototype.first,b.prototype.select=b.prototype.filter,b.prototype.tail=b.prototype.rest,b}var B,C="3.10.1",D=1,E=2,F=4,G=8,H=16,I=32,J=64,K=128,L=256,M=30,N="...",O=150,P=16,Q=200,R=1,S=2,T="Expected a function",U="__lodash_placeholder__",V="[object Arguments]",W="[object Array]",X="[object Boolean]",Y="[object Date]",Z="[object Error]",$="[object Function]",_="[object Map]",aa="[object Number]",ba="[object Object]",ca="[object RegExp]",da="[object Set]",ea="[object String]",fa="[object WeakMap]",ga="[object ArrayBuffer]",ha="[object Float32Array]",ia="[object Float64Array]",ja="[object Int8Array]",ka="[object Int16Array]",la="[object Int32Array]",ma="[object Uint8Array]",na="[object Uint8ClampedArray]",oa="[object Uint16Array]",pa="[object Uint32Array]",qa=/\b__p \+= '';/g,ra=/\b(__p \+=) '' \+/g,sa=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ta=/&(?:amp|lt|gt|quot|#39|#96);/g,ua=/[&<>"'`]/g,va=RegExp(ta.source),wa=RegExp(ua.source),xa=/<%-([\s\S]+?)%>/g,ya=/<%([\s\S]+?)%>/g,za=/<%=([\s\S]+?)%>/g,Aa=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,Ba=/^\w*$/,Ca=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,Da=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,Ea=RegExp(Da.source),Fa=/[\u0300-\u036f\ufe20-\ufe23]/g,Ga=/\\(\\)?/g,Ha=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ia=/\w*$/,Ja=/^0[xX]/,Ka=/^\[object .+?Constructor\]$/,La=/^\d+$/,Ma=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,Na=/($^)/,Oa=/['\n\r\u2028\u2029\\]/g,Pa=function(){var a="[A-Z\\xc0-\\xd6\\xd8-\\xde]",b="[a-z\\xdf-\\xf6\\xf8-\\xff]+";return RegExp(a+"+(?="+a+b+")|"+a+"?"+b+"|"+a+"+|[0-9]+","g")}(),Qa=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap"],Ra=-1,Sa={};Sa[ha]=Sa[ia]=Sa[ja]=Sa[ka]=Sa[la]=Sa[ma]=Sa[na]=Sa[oa]=Sa[pa]=!0,Sa[V]=Sa[W]=Sa[ga]=Sa[X]=Sa[Y]=Sa[Z]=Sa[$]=Sa[_]=Sa[aa]=Sa[ba]=Sa[ca]=Sa[da]=Sa[ea]=Sa[fa]=!1;var Ta={};Ta[V]=Ta[W]=Ta[ga]=Ta[X]=Ta[Y]=Ta[ha]=Ta[ia]=Ta[ja]=Ta[ka]=Ta[la]=Ta[aa]=Ta[ba]=Ta[ca]=Ta[ea]=Ta[ma]=Ta[na]=Ta[oa]=Ta[pa]=!0,Ta[Z]=Ta[$]=Ta[_]=Ta[da]=Ta[fa]=!1;var Ua={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss"},Va={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},Wa={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#96;":"`"},Xa={"function":!0,object:!0},Ya={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"},Za={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},$a=Xa[typeof b]&&b&&!b.nodeType&&b,_a=Xa[typeof a]&&a&&!a.nodeType&&a,ab=$a&&_a&&"object"==typeof e&&e&&e.Object&&e,bb=Xa[typeof self]&&self&&self.Object&&self,cb=Xa[typeof window]&&window&&window.Object&&window,db=(_a&&_a.exports===$a&&$a,ab||cb!==(this&&this.window)&&cb||bb||this),eb=A();db._=eb,d=function(){return eb}.call(b,c,b,a),!(d!==B&&(a.exports=d))}).call(this)}).call(b,c(8)(a),function(){return this}())},function(a,b){a.exports=function(a){return a.webpackPolyfill||(a.deprecate=function(){},a.paths=[],a.children=[],a.webpackPolyfill=1),a}},function(a,b,c){"use strict";function d(a,b){var c="normal";return a&&b?c="bolditalics":a?c="bold":b&&(c="italics"),c}function e(a,b){this.fonts={},this.pdfDoc=b,this.fontWrappers={};for(var c in a)if(a.hasOwnProperty(c)){var d=a[c];this.fonts[c]={normal:d.normal,bold:d.bold,italics:d.italics,bolditalics:d.bolditalics}}}var f=c(7),g=c(10);e.prototype.provideFont=function(a,b,c){var e=d(b,c);if(!this.fonts[a]||!this.fonts[a][e])throw new Error("Font '"+a+"' in style '"+e+"' is not defined in the font section of the document definition.");return this.fontWrappers[a]=this.fontWrappers[a]||{},this.fontWrappers[a][e]||(this.fontWrappers[a][e]=new g(this.pdfDoc,this.fonts[a][e],a+"("+e+")")),this.fontWrappers[a][e]},e.prototype.setFontRefsToPdfDoc=function(){var a=this;f.each(a.fontWrappers,function(b){f.each(b,function(b){f.each(b.pdfFonts,function(b){a.pdfDoc.page.fonts[b.id]||(a.pdfDoc.page.fonts[b.id]=b.ref())})})})},a.exports=e},function(a,b,c){"use strict";function d(a,b,c){this.MAX_CHAR_TYPES=92,this.pdfkitDoc=a,this.path=b,this.pdfFonts=[],this.charCatalogue=[],this.name=c,Object.defineProperty(this,"ascender",{get:function(){var a=this.getFont(0);return a.ascender}}),Object.defineProperty(this,"decender",{get:function(){var a=this.getFont(0);return a.decender}})}var e=c(7);d.prototype.getFont=function(a){if(!this.pdfFonts[a]){var b=this.name+a;this.postscriptName&&delete this.pdfkitDoc._fontFamilies[this.postscriptName],this.pdfFonts[a]=this.pdfkitDoc.font(this.path,b)._font,this.postscriptName||(this.postscriptName=this.pdfFonts[a].name)}return this.pdfFonts[a]},d.prototype.widthOfString=function(){var a=this.getFont(0);return a.widthOfString.apply(a,arguments)},d.prototype.lineHeight=function(){var a=this.getFont(0);return a.lineHeight.apply(a,arguments)},d.prototype.ref=function(){var a=this.getFont(0);return a.ref.apply(a,arguments)};var f=function(a){return a.charCodeAt(0)};d.prototype.encode=function(a){var b=this,c=e.chain(a.split("")).map(f).uniq().value();if(c.length>b.MAX_CHAR_TYPES)throw new Error("Inline has more than "+b.MAX_CHAR_TYPES+": "+a+" different character types and therefore cannot be properly embedded into pdf.");var d=function(a){return e.uniq(a.concat(c)).length<=b.MAX_CHAR_TYPES},g=e.findIndex(b.charCatalogue,d);0>g&&(g=b.charCatalogue.length,b.charCatalogue[g]=[]);var h=b.getFont(g);h.use(a),e.each(c,function(a){e.includes(b.charCatalogue[g],a)||b.charCatalogue[g].push(a)});var i=e.map(h.encode(a),function(a){return a.charCodeAt(0).toString(16)}).join("");return{encodedText:i,fontId:h.id}},a.exports=d},function(a,b,c){"use strict";function d(a,b){g.each(b,function(b){a.push(b)})}function e(a,b,c){this.pageSize=a,this.pageMargins=b,this.tracker=new h,this.imageMeasure=c,this.tableLayouts={}}function f(a){var b=a.x,c=a.y;a.positions=[],g.each(a.canvas,function(a){var b=a.x,c=a.y,d=a.x1,e=a.y1,f=a.x2,g=a.y2;a.resetXY=function(){a.x=b,a.y=c,a.x1=d,a.y1=e,a.x2=f,a.y2=g}}),a.resetXY=function(){a.x=b,a.y=c,g.each(a.canvas,function(a){a.resetXY()})}}var g=c(7),h=c(12),i=c(13),j=c(19),k=c(20),l=c(16),m=c(23),n=c(22),o=c(17).pack,p=c(17).offsetVector,q=c(17).fontStringify,r=c(17).isFunction,s=c(14),t=c(15);e.prototype.registerTableLayouts=function(a){this.tableLayouts=o(this.tableLayouts,a)},e.prototype.layoutDocument=function(a,b,c,d,e,f,h,j,k,l){function m(a,b){return r(l)?(a=g.reject(a,function(a){return g.isEmpty(a.positions)}),g.each(a,function(a){var c=g.pick(a,["id","text","ul","ol","table","image","qr","canvas","columns","headlineLevel","style","pageBreak","pageOrientation","width","height"]);c.startPosition=g.first(a.positions),c.pageNumbers=g.chain(a.positions).map("pageNumber").uniq().value(),c.pages=b.length,c.stack=g.isArray(a.stack),a.nodeInfo=c}),g.any(a,function(a,b,c){if("before"!==a.pageBreak&&!a.pageBreakCalculated){a.pageBreakCalculated=!0;var d=g.first(a.nodeInfo.pageNumbers),e=g.chain(c).drop(b+1).filter(function(a){return g.contains(a.nodeInfo.pageNumbers,d)}).value(),f=g.chain(c).drop(b+1).filter(function(a){return g.contains(a.nodeInfo.pageNumbers,d+1)}).value(),h=g.chain(c).take(b).filter(function(a){return g.contains(a.nodeInfo.pageNumbers,d)}).value();if(l(a.nodeInfo,g.map(e,"nodeInfo"),g.map(f,"nodeInfo"),g.map(h,"nodeInfo")))return a.pageBreak="before",!0}})):!1}function n(a){g.each(a.linearNodeList,function(a){a.resetXY()})}this.docMeasure=new i(b,c,d,this.imageMeasure,this.tableLayouts,j);for(var o=this.tryLayoutDocument(a,b,c,d,e,f,h,j,k);m(o.linearNodeList,o.pages);)n(o),o=this.tryLayoutDocument(a,b,c,d,e,f,h,j,k);return o.pages},e.prototype.tryLayoutDocument=function(a,b,c,d,e,f,g,h,i,l){this.linearNodeList=[],a=this.docMeasure.measureDocument(a),this.writer=new k(new j(this.pageSize,this.pageMargins),this.tracker);var m=this;return this.writer.context().tracker.startTracking("pageAdded",function(){m.addBackground(e)}),this.addBackground(e),this.processNode(a),this.addHeadersAndFooters(f,g),null!=i&&this.addWatermark(i,b),{pages:this.writer.context().pages,linearNodeList:this.linearNodeList}},e.prototype.addBackground=function(a){var b=r(a)?a:function(){return a},c=b(this.writer.context().page+1);if(c){var d=this.writer.context().getCurrentPage().pageSize;this.writer.beginUnbreakableBlock(d.width,d.height),this.processNode(this.docMeasure.measureDocument(c)),this.writer.commitUnbreakableBlock(0,0)}},e.prototype.addStaticRepeatable=function(a,b){this.addDynamicRepeatable(function(){return a},b)},e.prototype.addDynamicRepeatable=function(a,b){for(var c=this.writer.context().pages,d=0,e=c.length;e>d;d++){this.writer.context().page=d;var f=a(d+1,e);if(f){var g=b(this.writer.context().getCurrentPage().pageSize,this.pageMargins);this.writer.beginUnbreakableBlock(g.width,g.height),this.processNode(this.docMeasure.measureDocument(f)),this.writer.commitUnbreakableBlock(g.x,g.y)}}},e.prototype.addHeadersAndFooters=function(a,b){var c=function(a,b){return{x:0,y:0,width:a.width,height:b.top}},d=function(a,b){return{x:0,y:a.height-b.bottom,width:a.width,height:b.bottom}};r(a)?this.addDynamicRepeatable(a,c):a&&this.addStaticRepeatable(a,c),r(b)?this.addDynamicRepeatable(b,d):b&&this.addStaticRepeatable(b,d)},e.prototype.addWatermark=function(a,b){function c(a,b,c){for(var d,e=a.width,f=a.height,g=.8*Math.sqrt(e*e+f*f),h=new s(c),i=new t,j=0,k=1e3,l=(j+k)/2;Math.abs(j-k)>1;)i.push({fontSize:l}),d=h.sizeOfString(b,i),d.width>g?(k=l,l=(j+k)/2):d.width<g&&(j=l,l=(j+k)/2),i.pop();return{size:d,fontSize:l}}for(var d=Object.getOwnPropertyNames(b.fonts)[0],e={text:a,font:b.provideFont(b[d],!1,!1),size:c(this.pageSize,a,b)},f=this.writer.context().pages,g=0,h=f.length;h>g;g++)f[g].watermark=e},e.prototype.processNode=function(a){function b(b){var d=a._margin;"before"===a.pageBreak&&c.writer.moveToNextPage(a.pageOrientation),d&&(c.writer.context().moveDown(d[1]),c.writer.context().addMargin(d[0],d[2])),b(),d&&(c.writer.context().addMargin(-d[0],-d[2]),c.writer.context().moveDown(d[3])),"after"===a.pageBreak&&c.writer.moveToNextPage(a.pageOrientation)}var c=this;this.linearNodeList.push(a),f(a),b(function(){var b=a.absolutePosition;if(b&&(c.writer.context().beginDetachedBlock(),c.writer.context().moveTo(b.x||0,b.y||0)),a.stack)c.processVerticalContainer(a);else if(a.columns)c.processColumns(a);else if(a.ul)c.processList(!1,a);else if(a.ol)c.processList(!0,a);else if(a.table)c.processTable(a);else if(void 0!==a.text)c.processLeaf(a);else if(a.image)c.processImage(a);else if(a.canvas)c.processCanvas(a);else if(a.qr)c.processQr(a);else if(!a._span)throw"Unrecognized document structure: "+JSON.stringify(a,q);b&&c.writer.context().endDetachedBlock()})},e.prototype.processVerticalContainer=function(a){var b=this;a.stack.forEach(function(c){b.processNode(c),d(a.positions,c.positions)})},e.prototype.processColumns=function(a){function b(a){if(!a)return null;var b=[];b.push(0);for(var d=c.length-1;d>0;d--)b.push(a);return b}var c=a.columns,e=this.writer.context().availableWidth,f=b(a._gap);f&&(e-=(f.length-1)*a._gap),l.buildColumnWidths(c,e);var g=this.processRow(c,c,f);d(a.positions,g.positions)},e.prototype.processRow=function(a,b,c,e,f){function g(a){for(var b,c=0,d=k.length;d>c;c++){var e=k[c];if(e.prevPage===a.prevPage){b=e;break}}b||(b=a,k.push(b)),b.prevY=Math.max(b.prevY,a.prevY),b.y=Math.min(b.y,a.y)}function h(a){return c&&c.length>a?c[a]:0}function i(a,b){if(a.rowSpan&&a.rowSpan>1){var c=f+a.rowSpan-1;if(c>=e.length)throw"Row span for column "+b+" (with indexes starting from 0) exceeded row count";return e[c][b]}return null}var j=this,k=[],l=[];return this.tracker.auto("pageChanged",g,function(){b=b||a,j.writer.context().beginColumnGroup();for(var e=0,f=a.length;f>e;e++){var g=a[e],k=b[e]._calcWidth,m=h(e);if(g.colSpan&&g.colSpan>1)for(var n=1;n<g.colSpan;n++)k+=b[++e]._calcWidth+c[e];j.writer.context().beginColumn(k,m,i(g,e)),g._span?g._columnEndingContext&&j.writer.context().markEnding(g):(j.processNode(g),d(l,g.positions))}j.writer.context().completeColumnGroup()}),{pageBreaks:k,positions:l}},e.prototype.processList=function(a,b){function c(a){if(h){var b=h;if(h=null,b.canvas){var c=b.canvas[0];p(c,-b._minWidth,0),e.writer.addVector(c)}else{var d=new n(e.pageSize.width);d.addInline(b._inlines[0]),d.x=-b._minWidth,d.y=a.getAscenderHeight()-d.getAscenderHeight(),e.writer.addLine(d,!0)}}}var e=this,f=a?b.ol:b.ul,g=b._gapSize;this.writer.context().addMargin(g.width);var h;this.tracker.auto("lineAdded",c,function(){f.forEach(function(a){h=a.listMarker,e.processNode(a),d(b.positions,a.positions)})}),this.writer.context().addMargin(-g.width)},e.prototype.processTable=function(a){var b=new m(a);b.beginTable(this.writer);for(var c=0,e=a.table.body.length;e>c;c++){b.beginRow(c,this.writer);var f=this.processRow(a.table.body[c],a.table.widths,a._offsets.offsets,a.table.body,c);d(a.positions,f.positions),b.endRow(c,this.writer,f.pageBreaks)}b.endTable(this.writer)},e.prototype.processLeaf=function(a){for(var b=this.buildNextLine(a),c=b?b.getHeight():0,d=a.maxHeight||-1;b&&(-1===d||d>c);){var e=this.writer.addLine(b);a.positions.push(e),b=this.buildNextLine(a),b&&(c+=b.getHeight())}},e.prototype.buildNextLine=function(a){if(!a._inlines||0===a._inlines.length)return null;for(var b=new n(this.writer.context().availableWidth);a._inlines&&a._inlines.length>0&&b.hasEnoughSpaceForInline(a._inlines[0]);)b.addInline(a._inlines.shift());return b.lastLineInParagraph=0===a._inlines.length,b},e.prototype.processImage=function(a){var b=this.writer.addImage(a);a.positions.push(b)},e.prototype.processCanvas=function(a){var b=a._minHeight;this.writer.context().availableHeight<b&&this.writer.moveToNextPage(),a.canvas.forEach(function(b){var c=this.writer.addVector(b);a.positions.push(c)},this),this.writer.context().moveDown(b)},e.prototype.processQr=function(a){var b=this.writer.addQr(a);a.positions.push(b)},a.exports=e},function(a,b){"use strict";function c(){this.events={}}c.prototype.startTracking=function(a,b){var c=this.events[a]||(this.events[a]=[]);c.indexOf(b)<0&&c.push(b)},c.prototype.stopTracking=function(a,b){var c=this.events[a];if(c){var d=c.indexOf(b);d>=0&&c.splice(d,1)}},c.prototype.emit=function(a){var b=Array.prototype.slice.call(arguments,1),c=this.events[a];c&&c.forEach(function(a){a.apply(this,b)})},c.prototype.auto=function(a,b,c){this.startTracking(a,b),c(),this.stopTracking(a,b)},a.exports=c},function(a,b,c){"use strict";function d(a,b,c,d,g,h){this.textTools=new e(a),this.styleStack=new f(b,c),this.imageMeasure=d,this.tableLayouts=g,this.images=h,this.autoImageIndex=1}var e=c(14),f=c(15),g=c(16),h=c(17).fontStringify,i=c(17).pack,j=c(18);d.prototype.measureDocument=function(a){return this.measureNode(a)},d.prototype.measureNode=function(a){function b(a){var b=a._margin;return b&&(a._minWidth+=b[0]+b[2],a._maxWidth+=b[0]+b[2]),a}function c(){function b(a,b){return a.marginLeft||a.marginTop||a.marginRight||a.marginBottom?[a.marginLeft||b[0]||0,a.marginTop||b[1]||0,a.marginRight||b[2]||0,a.marginBottom||b[3]||0]:b}function c(a){for(var b={},c=a.length-1;c>=0;c--){var e=a[c],f=d.styleStack.styleDictionary[e];for(var g in f)f.hasOwnProperty(g)&&(b[g]=f[g])}return b}function e(a){return"number"==typeof a||a instanceof Number?a=[a,a,a,a]:a instanceof Array&&2===a.length&&(a=[a[0],a[1],a[0],a[1]]),a}var f=[void 0,void 0,void 0,void 0];if(a.style){var g=a.style instanceof Array?a.style:[a.style],h=c(g);h&&(f=b(h,f)),h.margin&&(f=e(h.margin))}return f=b(a,f),a.margin&&(f=e(a.margin)),void 0===f[0]&&void 0===f[1]&&void 0===f[2]&&void 0===f[3]?null:f}a instanceof Array?a={stack:a}:("string"==typeof a||a instanceof String)&&(a={text:a}),0===Object.keys(a).length&&(a={text:""});var d=this;return this.styleStack.auto(a,function(){if(a._margin=c(a),a.columns)return b(d.measureColumns(a));if(a.stack)return b(d.measureVerticalContainer(a));if(a.ul)return b(d.measureList(!1,a));if(a.ol)return b(d.measureList(!0,a));if(a.table)return b(d.measureTable(a));if(void 0!==a.text)return b(d.measureLeaf(a));if(a.image)return b(d.measureImage(a));if(a.canvas)return b(d.measureCanvas(a));if(a.qr)return b(d.measureQr(a));throw"Unrecognized document structure: "+JSON.stringify(a,h)})},d.prototype.convertIfBase64Image=function(a){if(/^data:image\/(jpeg|jpg|png);base64,/.test(a.image)){var b="$$pdfmake$$"+this.autoImageIndex++;this.images[b]=a.image,a.image=b}},d.prototype.measureImage=function(a){this.images&&this.convertIfBase64Image(a);var b=this.imageMeasure.measureImage(a.image);if(a.fit){var c=b.width/b.height>a.fit[0]/a.fit[1]?a.fit[0]/b.width:a.fit[1]/b.height;a._width=a._minWidth=a._maxWidth=b.width*c,a._height=b.height*c}else a._width=a._minWidth=a._maxWidth=a.width||b.width,a._height=a.height||b.height*a._width/b.width;return a._alignment=this.styleStack.getProperty("alignment"),a},d.prototype.measureLeaf=function(a){var b=this.styleStack.clone();b.push(a);var c=this.textTools.buildInlines(a.text,b);return a._inlines=c.items,a._minWidth=c.minWidth,a._maxWidth=c.maxWidth,a},d.prototype.measureVerticalContainer=function(a){var b=a.stack;a._minWidth=0,a._maxWidth=0;for(var c=0,d=b.length;d>c;c++)b[c]=this.measureNode(b[c]),a._minWidth=Math.max(a._minWidth,b[c]._minWidth),a._maxWidth=Math.max(a._maxWidth,b[c]._maxWidth);return a},d.prototype.gapSizeForList=function(a,b){if(a){var c=b.length.toString().replace(/./g,"9");return this.textTools.sizeOfString(c+". ",this.styleStack)}return this.textTools.sizeOfString("9. ",this.styleStack)},d.prototype.buildMarker=function(a,b,c,d){var e;if(a)e={_inlines:this.textTools.buildInlines(b,c).items};else{var f=d.fontSize/6;e={canvas:[{x:f,y:d.height/d.lineHeight+d.decender-d.fontSize/3,r1:f,r2:f,type:"ellipse",color:"black"}]}}return e._minWidth=e._maxWidth=d.width,e._minHeight=e._maxHeight=d.height,e},d.prototype.measureList=function(a,b){var c=this.styleStack.clone(),d=a?b.ol:b.ul;b._gapSize=this.gapSizeForList(a,d),b._minWidth=0,b._maxWidth=0;for(var e=1,f=0,g=d.length;g>f;f++){var h=d[f]=this.measureNode(d[f]),i=e++ +". ";h.ol||h.ul||(h.listMarker=this.buildMarker(a,h.counter||i,c,b._gapSize)),b._minWidth=Math.max(b._minWidth,d[f]._minWidth+b._gapSize.width),b._maxWidth=Math.max(b._maxWidth,d[f]._maxWidth+b._gapSize.width)}return b},d.prototype.measureColumns=function(a){var b=a.columns;a._gap=this.styleStack.getProperty("columnGap")||0;for(var c=0,d=b.length;d>c;c++)b[c]=this.measureNode(b[c]);var e=g.measureMinMax(b);return a._minWidth=e.min+a._gap*(b.length-1),a._maxWidth=e.max+a._gap*(b.length-1),a},d.prototype.measureTable=function(a){function b(a,b){return function(){return null!==b&&"object"==typeof b&&(b.fillColor=a.styleStack.getProperty("fillColor")),a.measureNode(b)}}function c(b){var c=a.layout;("string"==typeof a.layout||a instanceof String)&&(c=b[c]);var d={hLineWidth:function(a,b){return 1},vLineWidth:function(a,b){return 1},hLineColor:function(a,b){return"black"},vLineColor:function(a,b){return"black"},paddingLeft:function(a,b){return 4},paddingRight:function(a,b){return 4},paddingTop:function(a,b){return 2},paddingBottom:function(a,b){return 2}};return i(d,c)}function d(b){for(var c=[],d=0,e=0,f=0,g=a.table.widths.length;g>f;f++){var h=e+b.vLineWidth(f,a)+b.paddingLeft(f,a);c.push(h),d+=h,e=b.paddingRight(f,a)}return d+=e+b.vLineWidth(a.table.widths.length,a),{total:d,offsets:c}}function e(){for(var b,c,d=0,e=p.length;e>d;d++){var g=p[d],h=f(g.col,g.span,a._offsets),i=g.minWidth-h.minWidth,j=g.maxWidth-h.maxWidth;if(i>0)for(b=i/g.span,c=0;c<g.span;c++)a.table.widths[g.col+c]._minWidth+=b;if(j>0)for(b=j/g.span,c=0;c<g.span;c++)a.table.widths[g.col+c]._maxWidth+=b}}function f(b,c,d){for(var e={minWidth:0,maxWidth:0},f=0;c>f;f++)e.minWidth+=a.table.widths[b+f]._minWidth+(f?d.offsets[b+f]:0),e.maxWidth+=a.table.widths[b+f]._maxWidth+(f?d.offsets[b+f]:0);return e}function h(a,b,c){for(var d=1;c>d;d++)a[b+d]={_span:!0,_minWidth:0,_maxWidth:0,rowSpan:a[b].rowSpan}}function j(a,b,c,d){for(var e=1;d>e;e++)a.body[b+e][c]={_span:!0,_minWidth:0,_maxWidth:0,fillColor:a.body[b][c].fillColor}}function k(a){if(a.table.widths||(a.table.widths="auto"),"string"==typeof a.table.widths||a.table.widths instanceof String)for(a.table.widths=[a.table.widths];a.table.widths.length<a.table.body[0].length;)a.table.widths.push(a.table.widths[a.table.widths.length-1]);for(var b=0,c=a.table.widths.length;c>b;b++){var d=a.table.widths[b];("number"==typeof d||d instanceof Number||"string"==typeof d||d instanceof String)&&(a.table.widths[b]={width:d})}}k(a),a._layout=c(this.tableLayouts),a._offsets=d(a._layout);var l,m,n,o,p=[];for(l=0,n=a.table.body[0].length;n>l;l++){var q=a.table.widths[l];for(q._minWidth=0,q._maxWidth=0,m=0,o=a.table.body.length;o>m;m++){var r=a.table.body[m],s=r[l];if(!s._span){s=r[l]=this.styleStack.auto(s,b(this,s)),s.colSpan&&s.colSpan>1?(h(r,l,s.colSpan),p.push({col:l,span:s.colSpan,minWidth:s._minWidth,maxWidth:s._maxWidth})):(q._minWidth=Math.max(q._minWidth,s._minWidth),q._maxWidth=Math.max(q._maxWidth,s._maxWidth))}s.rowSpan&&s.rowSpan>1&&j(a.table,m,l,s.rowSpan);
-}}e();var t=g.measureMinMax(a.table.widths);return a._minWidth=t.min+a._offsets.total,a._maxWidth=t.max+a._offsets.total,a},d.prototype.measureCanvas=function(a){for(var b=0,c=0,d=0,e=a.canvas.length;e>d;d++){var f=a.canvas[d];switch(f.type){case"ellipse":b=Math.max(b,f.x+f.r1),c=Math.max(c,f.y+f.r2);break;case"rect":b=Math.max(b,f.x+f.w),c=Math.max(c,f.y+f.h);break;case"line":b=Math.max(b,f.x1,f.x2),c=Math.max(c,f.y1,f.y2);break;case"polyline":for(var g=0,h=f.points.length;h>g;g++)b=Math.max(b,f.points[g].x),c=Math.max(c,f.points[g].y)}}return a._minWidth=a._maxWidth=b,a._minHeight=a._maxHeight=c,a},d.prototype.measureQr=function(a){return a=j.measure(a),a._alignment=this.styleStack.getProperty("alignment"),a},a.exports=d},function(a,b){"use strict";function c(a){this.fontProvider=a}function d(a,b){var c=[];a=a.replace("      ","    ");var d;d=b?[a,""]:a.match(j);for(var e=0,f=d.length;f-1>e;e++){var g=d[e],h=0===g.length;if(h){var i=0===c.length||c[c.length-1].lineEnd;i?c.push({text:"",lineEnd:!0}):c[c.length-1].lineEnd=!0}else c.push({text:g})}return c}function e(a,b){b=b||{},a=a||{};for(var c in a)"text"!=c&&a.hasOwnProperty(c)&&(b[c]=a[c]);return b}function f(a){var b=[];("string"==typeof a||a instanceof String)&&(a=[a]);for(var c=0,f=a.length;f>c;c++){var g,h=a[c],i=null;"string"==typeof h||h instanceof String?g=d(h):(g=d(h.text,h.noWrap),i=e(h));for(var j=0,k=g.length;k>j;j++){var l={text:g[j].text};g[j].lineEnd&&(l.lineEnd=!0),e(i,l),b.push(l)}}return b}function g(a){return a.replace(/[^A-Za-z0-9\[\] ]/g,function(a){return m[a]||a})}function h(a,b,c,d){var e;return void 0!==a[c]&&null!==a[c]?a[c]:b?(b.auto(a,function(){e=b.getProperty(c)}),null!==e&&void 0!==e?e:d):d}function i(a,b,c){var d=f(b);return d.forEach(function(b){var d=h(b,c,"font","Roboto"),e=h(b,c,"fontSize",12),f=h(b,c,"bold",!1),i=h(b,c,"italics",!1),j=h(b,c,"color","black"),m=h(b,c,"decoration",null),n=h(b,c,"decorationColor",null),o=h(b,c,"decorationStyle",null),p=h(b,c,"background",null),q=h(b,c,"lineHeight",1),r=a.provideFont(d,f,i);b.width=r.widthOfString(g(b.text),e),b.height=r.lineHeight(e)*q;var s=b.text.match(k),t=b.text.match(l);s?b.leadingCut=r.widthOfString(s[0],e):b.leadingCut=0,t?b.trailingCut=r.widthOfString(t[0],e):b.trailingCut=0,b.alignment=h(b,c,"alignment","left"),b.font=r,b.fontSize=e,b.color=j,b.decoration=m,b.decorationColor=n,b.decorationStyle=o,b.background=p}),d}var j=/([^ ,\/!.?:;\-\n]*[ ,\/!.?:;\-]*)|\n/g,k=/^(\s)+/g,l=/(\s)+$/g;c.prototype.buildInlines=function(a,b){function c(a){return Math.max(0,a.width-a.leadingCut-a.trailingCut)}var d,e=i(this.fontProvider,a,b),f=0,g=0;return e.forEach(function(a){f=Math.max(f,a.width-a.leadingCut-a.trailingCut),d||(d={width:0,leadingCut:a.leadingCut,trailingCut:0}),d.width+=a.width,d.trailingCut=a.trailingCut,g=Math.max(g,c(d)),a.lineEnd&&(d=null)}),h({},b,"noWrap",!1)&&(f=g),{items:e,minWidth:f,maxWidth:g}},c.prototype.sizeOfString=function(a,b){a=a.replace("       ","    ");var c=h({},b,"font","Roboto"),d=h({},b,"fontSize",12),e=h({},b,"bold",!1),f=h({},b,"italics",!1),i=h({},b,"lineHeight",1),j=this.fontProvider.provideFont(c,e,f);return{width:j.widthOfString(g(a),d),height:j.lineHeight(d)*i,fontSize:d,lineHeight:i,ascender:j.ascender/1e3*d,decender:j.decender/1e3*d}};var m={"Ą":"A","Ć":"C","Ę":"E","Ł":"L","Ń":"N","Ó":"O","Ś":"S","Ź":"Z","Ż":"Z","ą":"a","ć":"c","ę":"e","ł":"l","ń":"n","ó":"o","ś":"s","ź":"z","ż":"z"};a.exports=c},function(a,b){"use strict";function c(a,b){this.defaultStyle=b||{},this.styleDictionary=a,this.styleOverrides=[]}c.prototype.clone=function(){var a=new c(this.styleDictionary,this.defaultStyle);return this.styleOverrides.forEach(function(b){a.styleOverrides.push(b)}),a},c.prototype.push=function(a){this.styleOverrides.push(a)},c.prototype.pop=function(a){for(a=a||1;a-- >0;)this.styleOverrides.pop()},c.prototype.autopush=function(a){if("string"==typeof a||a instanceof String)return 0;var b=[];a.style&&(b=a.style instanceof Array?a.style:[a.style]);for(var c=0,d=b.length;d>c;c++)this.push(b[c]);var e={},f=!1;return["font","fontSize","bold","italics","alignment","color","columnGap","fillColor","decoration","decorationStyle","decorationColor","background","lineHeight","noWrap"].forEach(function(b){void 0!==a[b]&&null!==a[b]&&(e[b]=a[b],f=!0)}),f&&this.push(e),b.length+(f?1:0)},c.prototype.auto=function(a,b){var c=this.autopush(a),d=b();return c>0&&this.pop(c),d},c.prototype.getProperty=function(a){if(this.styleOverrides)for(var b=this.styleOverrides.length-1;b>=0;b--){var c=this.styleOverrides[b];if("string"==typeof c||c instanceof String){var d=this.styleDictionary[c];if(d&&null!==d[a]&&void 0!==d[a])return d[a]}else if(void 0!==c[a]&&null!==c[a])return c[a]}return this.defaultStyle&&this.defaultStyle[a]},a.exports=c},function(a,b){"use strict";function c(a,b){var c=[],f=0,g=0,h=[],i=0,j=0,k=[],l=b;a.forEach(function(a){d(a)?(c.push(a),f+=a._minWidth,g+=a._maxWidth):e(a)?(h.push(a),i=Math.max(i,a._minWidth),j=Math.max(j,a._maxWidth)):k.push(a)}),k.forEach(function(a){"string"==typeof a.width&&/\d+%/.test(a.width)&&(a.width=parseFloat(a.width)*l/100),a.width<a._minWidth&&a.elasticWidth?a._calcWidth=a._minWidth:a._calcWidth=a.width,b-=a._calcWidth});var m=f+i*h.length,n=g+j*h.length;if(m>=b)c.forEach(function(a){a._calcWidth=a._minWidth}),h.forEach(function(a){a._calcWidth=i});else{if(b>n)c.forEach(function(a){a._calcWidth=a._maxWidth,b-=a._calcWidth});else{var o=b-m,p=n-m;c.forEach(function(a){var c=a._maxWidth-a._minWidth;a._calcWidth=a._minWidth+c*o/p,b-=a._calcWidth})}if(h.length>0){var q=b/h.length;h.forEach(function(a){a._calcWidth=q})}}}function d(a){return"auto"===a.width}function e(a){return null===a.width||void 0===a.width||"*"===a.width||"star"===a.width}function f(a){for(var b={min:0,max:0},c={min:0,max:0},f=0,g=0,h=a.length;h>g;g++){var i=a[g];e(i)?(c.min=Math.max(c.min,i._minWidth),c.max=Math.max(c.max,i._maxWidth),f++):d(i)?(b.min+=i._minWidth,b.max+=i._maxWidth):(b.min+=void 0!==i.width&&i.width||i._minWidth,b.max+=void 0!==i.width&&i.width||i._maxWidth)}return f&&(b.min+=f*c.min,b.max+=f*c.max),b}a.exports={buildColumnWidths:c,measureMinMax:f,isAutoColumn:d,isStarColumn:e}},function(a,b){"use strict";function c(){for(var a={},b=0,c=arguments.length;c>b;b++){var d=arguments[b];if(d)for(var e in d)d.hasOwnProperty(e)&&(a[e]=d[e])}return a}function d(a,b,c){switch(a.type){case"ellipse":case"rect":a.x+=b,a.y+=c;break;case"line":a.x1+=b,a.x2+=b,a.y1+=c,a.y2+=c;break;case"polyline":for(var d=0,e=a.points.length;e>d;d++)a.points[d].x+=b,a.points[d].y+=c}}function e(a,b){return"font"===a?"font":b}function f(a){var b={};return a&&"[object Function]"===b.toString.call(a)}a.exports={pack:c,fontStringify:e,offsetVector:d,isFunction:f}},function(a,b){"use strict";function c(a,b){var c={numeric:h,alphanumeric:i,octet:j},d={L:o,M:p,Q:q,H:r};b=b||{};var e=b.version||-1,f=d[(b.eccLevel||"L").toUpperCase()],g=b.mode?c[b.mode.toLowerCase()]:-1,k="mask"in b?b.mask:-1;if(0>g)g="string"==typeof a?a.match(l)?h:a.match(n)?i:j:j;else if(g!=h&&g!=i&&g!=j)throw"invalid or unsupported mode";if(a=K(g,a),null===a)throw"invalid data format";if(0>f||f>3)throw"invalid ECC level";if(0>e){for(e=1;40>=e&&!(a.length<=J(e,g,f));++e);if(e>40)throw"too large data for the Qr format"}else if(1>e||e>40)throw"invalid Qr version! should be between 1 and 40";if(-1!=k&&(0>k||k>8))throw"invalid mask";return U(a,e,g,f,k)}function d(a,b){var d=[],e=a.background||"#fff",f=a.foreground||"#000",g=c(a,b),h=g.length,i=Math.floor(b.fit?b.fit/h:5),j=h*i;d.push({type:"rect",x:0,y:0,w:j,h:j,lineWidth:0,color:e});for(var k=0;h>k;++k)for(var l=0;h>l;++l)g[k][l]&&d.push({type:"rect",x:i*k,y:i*l,w:i,h:i,lineWidth:0,color:f});return{canvas:d,size:j}}function e(a){var b=d(a.qr,a);return a._canvas=b.canvas,a._width=a._height=a._minWidth=a._maxWidth=a._minHeight=a._maxHeight=b.size,a}for(var f=[null,[[10,7,17,13],[1,1,1,1],[]],[[16,10,28,22],[1,1,1,1],[4,16]],[[26,15,22,18],[1,1,2,2],[4,20]],[[18,20,16,26],[2,1,4,2],[4,24]],[[24,26,22,18],[2,1,4,4],[4,28]],[[16,18,28,24],[4,2,4,4],[4,32]],[[18,20,26,18],[4,2,5,6],[4,20,36]],[[22,24,26,22],[4,2,6,6],[4,22,40]],[[22,30,24,20],[5,2,8,8],[4,24,44]],[[26,18,28,24],[5,4,8,8],[4,26,48]],[[30,20,24,28],[5,4,11,8],[4,28,52]],[[22,24,28,26],[8,4,11,10],[4,30,56]],[[22,26,22,24],[9,4,16,12],[4,32,60]],[[24,30,24,20],[9,4,16,16],[4,24,44,64]],[[24,22,24,30],[10,6,18,12],[4,24,46,68]],[[28,24,30,24],[10,6,16,17],[4,24,48,72]],[[28,28,28,28],[11,6,19,16],[4,28,52,76]],[[26,30,28,28],[13,6,21,18],[4,28,54,80]],[[26,28,26,26],[14,7,25,21],[4,28,56,84]],[[26,28,28,30],[16,8,25,20],[4,32,60,88]],[[26,28,30,28],[17,8,25,23],[4,26,48,70,92]],[[28,28,24,30],[17,9,34,23],[4,24,48,72,96]],[[28,30,30,30],[18,9,30,25],[4,28,52,76,100]],[[28,30,30,30],[20,10,32,27],[4,26,52,78,104]],[[28,26,30,30],[21,12,35,29],[4,30,56,82,108]],[[28,28,30,28],[23,12,37,34],[4,28,56,84,112]],[[28,30,30,30],[25,12,40,34],[4,32,60,88,116]],[[28,30,30,30],[26,13,42,35],[4,24,48,72,96,120]],[[28,30,30,30],[28,14,45,38],[4,28,52,76,100,124]],[[28,30,30,30],[29,15,48,40],[4,24,50,76,102,128]],[[28,30,30,30],[31,16,51,43],[4,28,54,80,106,132]],[[28,30,30,30],[33,17,54,45],[4,32,58,84,110,136]],[[28,30,30,30],[35,18,57,48],[4,28,56,84,112,140]],[[28,30,30,30],[37,19,60,51],[4,32,60,88,116,144]],[[28,30,30,30],[38,19,63,53],[4,28,52,76,100,124,148]],[[28,30,30,30],[40,20,66,56],[4,22,48,74,100,126,152]],[[28,30,30,30],[43,21,70,59],[4,26,52,78,104,130,156]],[[28,30,30,30],[45,22,74,62],[4,30,56,82,108,134,160]],[[28,30,30,30],[47,24,77,65],[4,24,52,80,108,136,164]],[[28,30,30,30],[49,25,81,68],[4,28,56,84,112,140,168]]],g=0,h=1,i=2,j=4,k=8,l=/^\d*$/,m=/^[A-Za-z0-9 $%*+\-.\/:]*$/,n=/^[A-Z0-9 $%*+\-.\/:]*$/,o=1,p=0,q=3,r=2,s=[],t=[-1],u=0,v=1;255>u;++u)s.push(v),t[v]=u,v=2*v^(v>=128?285:0);for(var w=[[]],u=0;30>u;++u){for(var x=w[u],y=[],z=0;u>=z;++z){var A=u>z?s[x[z]]:0,B=s[(u+(x[z-1]||0))%255];y.push(t[A^B])}w.push(y)}for(var C={},u=0;45>u;++u)C["0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:".charAt(u)]=u;var D=[function(a,b){return(a+b)%2===0},function(a,b){return a%2===0},function(a,b){return b%3===0},function(a,b){return(a+b)%3===0},function(a,b){return((a/2|0)+(b/3|0))%2===0},function(a,b){return a*b%2+a*b%3===0},function(a,b){return(a*b%2+a*b%3)%2===0},function(a,b){return((a+b)%2+a*b%3)%2===0}],E=function(a){return a>6},F=function(a){return 4*a+17},G=function(a){var b=f[a],c=16*a*a+128*a+64;return E(a)&&(c-=36),b[2].length&&(c-=25*b[2].length*b[2].length-10*b[2].length-55),c},H=function(a,b){var c=-8&G(a),d=f[a];return c-=8*d[0][b]*d[1][b]},I=function(a,b){switch(b){case h:return 10>a?10:27>a?12:14;case i:return 10>a?9:27>a?11:13;case j:return 10>a?8:16;case k:return 10>a?8:27>a?10:12}},J=function(a,b,c){var d=H(a,c)-4-I(a,b);switch(b){case h:return 3*(d/10|0)+(4>d%10?0:7>d%10?1:2);case i:return 2*(d/11|0)+(6>d%11?0:1);case j:return d/8|0;case k:return d/13|0}},K=function(a,b){switch(a){case h:return b.match(l)?b:null;case i:return b.match(m)?b.toUpperCase():null;case j:if("string"==typeof b){for(var c=[],d=0;d<b.length;++d){var e=b.charCodeAt(d);128>e?c.push(e):2048>e?c.push(192|e>>6,128|63&e):65536>e?c.push(224|e>>12,128|e>>6&63,128|63&e):c.push(240|e>>18,128|e>>12&63,128|e>>6&63,128|63&e)}return c}return b}},L=function(a,b,c,d){var e=[],f=0,k=8,l=c.length,m=function(a,b){if(b>=k){for(e.push(f|a>>(b-=k));b>=8;)e.push(a>>(b-=8)&255);f=0,k=8}b>0&&(f|=(a&(1<<b)-1)<<(k-=b))},n=I(a,b);switch(m(b,4),m(l,n),b){case h:for(var o=2;l>o;o+=3)m(parseInt(c.substring(o-2,o+1),10),10);m(parseInt(c.substring(o-2),10),[0,4,7][l%3]);break;case i:for(var o=1;l>o;o+=2)m(45*C[c.charAt(o-1)]+C[c.charAt(o)],11);l%2==1&&m(C[c.charAt(o-1)],6);break;case j:for(var o=0;l>o;++o)m(c[o],8)}for(m(g,4),8>k&&e.push(f);e.length+1<d;)e.push(236,17);return e.length<d&&e.push(236),e},M=function(a,b){for(var c=a.slice(0),d=a.length,e=b.length,f=0;e>f;++f)c.push(0);for(var f=0;d>f;){var g=t[c[f++]];if(g>=0)for(var h=0;e>h;++h)c[f+h]^=s[(g+b[h])%255]}return c.slice(d)},N=function(a,b,c){for(var d=[],e=a.length/b|0,f=0,g=b-a.length%b,h=0;g>h;++h)d.push(f),f+=e;for(var h=g;b>h;++h)d.push(f),f+=e+1;d.push(f);for(var i=[],h=0;b>h;++h)i.push(M(a.slice(d[h],d[h+1]),c));for(var j=[],k=a.length/b|0,h=0;k>h;++h)for(var l=0;b>l;++l)j.push(a[d[l]+h]);for(var l=g;b>l;++l)j.push(a[d[l+1]-1]);for(var h=0;h<c.length;++h)for(var l=0;b>l;++l)j.push(i[l][h]);return j},O=function(a,b,c,d){for(var e=a<<d,f=b-1;f>=0;--f)e>>d+f&1&&(e^=c<<f);return a<<d|e},P=function(a){for(var b=f[a],c=F(a),d=[],e=[],g=0;c>g;++g)d.push([]),e.push([]);var h=function(a,b,c,f,g){for(var h=0;c>h;++h)for(var i=0;f>i;++i)d[a+h][b+i]=g[h]>>i&1,e[a+h][b+i]=1};h(0,0,9,9,[127,65,93,93,93,65,383,0,64]),h(c-8,0,8,9,[256,127,65,93,93,93,65,127]),h(0,c-8,9,8,[254,130,186,186,186,130,254,0,0]);for(var g=9;c-8>g;++g)d[6][g]=d[g][6]=1&~g,e[6][g]=e[g][6]=1;for(var i=b[2],j=i.length,g=0;j>g;++g)for(var k=0===g||g===j-1?1:0,l=0===g?j-1:j,m=k;l>m;++m)h(i[g],i[m],5,5,[31,17,21,17,31]);if(E(a))for(var n=O(a,6,7973,12),o=0,g=0;6>g;++g)for(var m=0;3>m;++m)d[g][c-11+m]=d[c-11+m][g]=n>>o++&1,e[g][c-11+m]=e[c-11+m][g]=1;return{matrix:d,reserved:e}},Q=function(a,b,c){for(var d=a.length,e=0,f=-1,g=d-1;g>=0;g-=2){6==g&&--g;for(var h=0>f?d-1:0,i=0;d>i;++i){for(var j=g;j>g-2;--j)b[h][j]||(a[h][j]=c[e>>3]>>(7&~e)&1,++e);h+=f}f=-f}return a},R=function(a,b,c){for(var d=D[c],e=a.length,f=0;e>f;++f)for(var g=0;e>g;++g)b[f][g]||(a[f][g]^=d(f,g));return a},S=function(a,b,c,d){for(var e=a.length,f=21522^O(c<<3|d,5,1335,10),g=0;15>g;++g){var h=[0,1,2,3,4,5,7,8,e-7,e-6,e-5,e-4,e-3,e-2,e-1][g],i=[e-1,e-2,e-3,e-4,e-5,e-6,e-7,e-8,7,5,4,3,2,1,0][g];a[h][8]=a[8][i]=f>>g&1}return a},T=function(a){for(var b=3,c=3,d=40,e=10,f=function(a){for(var c=0,e=0;e<a.length;++e)a[e]>=5&&(c+=b+(a[e]-5));for(var e=5;e<a.length;e+=2){var f=a[e];a[e-1]==f&&a[e-2]==3*f&&a[e-3]==f&&a[e-4]==f&&(a[e-5]>=4*f||a[e+1]>=4*f)&&(c+=d)}return c},g=a.length,h=0,i=0,j=0;g>j;++j){var k,l=a[j];k=[0];for(var m=0;g>m;){var n;for(n=0;g>m&&l[m];++n)++m;for(k.push(n),n=0;g>m&&!l[m];++n)++m;k.push(n)}h+=f(k),k=[0];for(var m=0;g>m;){var n;for(n=0;g>m&&a[m][j];++n)++m;for(k.push(n),n=0;g>m&&!a[m][j];++n)++m;k.push(n)}h+=f(k);var o=a[j+1]||[];i+=l[0];for(var m=1;g>m;++m){var p=l[m];i+=p,l[m-1]==p&&o[m]===p&&o[m-1]===p&&(h+=c)}}return h+=e*(Math.abs(i/g/g-.5)/.05|0)},U=function(a,b,c,d,e){var g=f[b],h=L(b,c,a,H(b,d)>>3);h=N(h,g[1][d],w[g[0][d]]);var i=P(b),j=i.matrix,k=i.reserved;if(Q(j,k,h),0>e){R(j,k,0),S(j,k,d,0);var l=0,m=T(j);for(R(j,k,0),e=1;8>e;++e){R(j,k,e),S(j,k,d,e);var n=T(j);m>n&&(m=n,l=e),R(j,k,e)}e=l}return R(j,k,e),S(j,k,d,e),j};a.exports={measure:e}},function(a,b,c){"use strict";function d(a,b){this.pages=[],this.pageMargins=b,this.x=b.left,this.availableWidth=a.width-b.left-b.right,this.availableHeight=0,this.page=-1,this.snapshots=[],this.endingCell=null,this.tracker=new g,this.addPage(a)}function e(a,b){return void 0===a?b:"landscape"===a?"landscape":"portrait"}function f(a,b){var c;return c=a.page>b.page?a:b.page>a.page?b:a.y>b.y?a:b,{page:c.page,x:c.x,y:c.y,availableHeight:c.availableHeight,availableWidth:c.availableWidth}}var g=c(12);d.prototype.beginColumnGroup=function(){this.snapshots.push({x:this.x,y:this.y,availableHeight:this.availableHeight,availableWidth:this.availableWidth,page:this.page,bottomMost:{y:this.y,page:this.page},endingCell:this.endingCell,lastColumnWidth:this.lastColumnWidth}),this.lastColumnWidth=0},d.prototype.beginColumn=function(a,b,c){var d=this.snapshots[this.snapshots.length-1];this.calculateBottomMost(d),this.endingCell=c,this.page=d.page,this.x=this.x+this.lastColumnWidth+(b||0),this.y=d.y,this.availableWidth=a,this.availableHeight=d.availableHeight,this.lastColumnWidth=a},d.prototype.calculateBottomMost=function(a){this.endingCell?(this.saveContextInEndingCell(this.endingCell),this.endingCell=null):a.bottomMost=f(this,a.bottomMost)},d.prototype.markEnding=function(a){this.page=a._columnEndingContext.page,this.x=a._columnEndingContext.x,this.y=a._columnEndingContext.y,this.availableWidth=a._columnEndingContext.availableWidth,this.availableHeight=a._columnEndingContext.availableHeight,this.lastColumnWidth=a._columnEndingContext.lastColumnWidth},d.prototype.saveContextInEndingCell=function(a){a._columnEndingContext={page:this.page,x:this.x,y:this.y,availableHeight:this.availableHeight,availableWidth:this.availableWidth,lastColumnWidth:this.lastColumnWidth}},d.prototype.completeColumnGroup=function(){var a=this.snapshots.pop();this.calculateBottomMost(a),this.endingCell=null,this.x=a.x,this.y=a.bottomMost.y,this.page=a.bottomMost.page,this.availableWidth=a.availableWidth,this.availableHeight=a.bottomMost.availableHeight,this.lastColumnWidth=a.lastColumnWidth},d.prototype.addMargin=function(a,b){this.x+=a,this.availableWidth-=a+(b||0)},d.prototype.moveDown=function(a){return this.y+=a,this.availableHeight-=a,this.availableHeight>0},d.prototype.initializePage=function(){this.y=this.pageMargins.top,this.availableHeight=this.getCurrentPage().pageSize.height-this.pageMargins.top-this.pageMargins.bottom,this.pageSnapshot().availableWidth=this.getCurrentPage().pageSize.width-this.pageMargins.left-this.pageMargins.right},d.prototype.pageSnapshot=function(){return this.snapshots[0]?this.snapshots[0]:this},d.prototype.moveTo=function(a,b){void 0!==a&&null!==a&&(this.x=a,this.availableWidth=this.getCurrentPage().pageSize.width-this.x-this.pageMargins.right),void 0!==b&&null!==b&&(this.y=b,this.availableHeight=this.getCurrentPage().pageSize.height-this.y-this.pageMargins.bottom)},d.prototype.beginDetachedBlock=function(){this.snapshots.push({x:this.x,y:this.y,availableHeight:this.availableHeight,availableWidth:this.availableWidth,page:this.page,endingCell:this.endingCell,lastColumnWidth:this.lastColumnWidth})},d.prototype.endDetachedBlock=function(){var a=this.snapshots.pop();this.x=a.x,this.y=a.y,this.availableWidth=a.availableWidth,this.availableHeight=a.availableHeight,this.page=a.page,this.endingCell=a.endingCell,this.lastColumnWidth=a.lastColumnWidth};var h=function(a,b){return b=e(b,a.pageSize.orientation),b!==a.pageSize.orientation?{orientation:b,width:a.pageSize.height,height:a.pageSize.width}:{orientation:a.pageSize.orientation,width:a.pageSize.width,height:a.pageSize.height}};d.prototype.moveToNextPage=function(a){var b=this.page+1,c=this.page,d=this.y,e=b>=this.pages.length;return e?this.addPage(h(this.getCurrentPage(),a)):(this.page=b,this.initializePage()),{newPageCreated:e,prevPage:c,prevY:d,y:this.y}},d.prototype.addPage=function(a){var b={items:[],pageSize:a};return this.pages.push(b),this.page=this.pages.length-1,this.initializePage(),this.tracker.emit("pageAdded"),b},d.prototype.getCurrentPage=function(){return this.page<0||this.page>=this.pages.length?null:this.pages[this.page]},d.prototype.getCurrentPosition=function(){var a=this.getCurrentPage().pageSize,b=a.height-this.pageMargins.top-this.pageMargins.bottom,c=a.width-this.pageMargins.left-this.pageMargins.right;return{pageNumber:this.page+1,pageOrientation:a.orientation,pageInnerHeight:b,pageInnerWidth:c,left:this.x,top:this.y,verticalRatio:(this.y-this.pageMargins.top)/b,horizontalRatio:(this.x-this.pageMargins.left)/c}},a.exports=d},function(a,b,c){"use strict";function d(a,b){this.transactionLevel=0,this.repeatables=[],this.tracker=b,this.writer=new f(a,b)}function e(a,b){var c=b(a);return c||(a.moveToNextPage(),c=b(a)),c}var f=c(21);d.prototype.addLine=function(a,b,c){return e(this,function(d){return d.writer.addLine(a,b,c)})},d.prototype.addImage=function(a,b){return e(this,function(c){return c.writer.addImage(a,b)})},d.prototype.addQr=function(a,b){return e(this,function(c){return c.writer.addQr(a,b)})},d.prototype.addVector=function(a,b,c,d){return this.writer.addVector(a,b,c,d)},d.prototype.addFragment=function(a,b,c,d){this.writer.addFragment(a,b,c,d)||(this.moveToNextPage(),this.writer.addFragment(a,b,c,d))},d.prototype.moveToNextPage=function(a){var b=this.writer.context.moveToNextPage(a);b.newPageCreated?this.repeatables.forEach(function(a){this.writer.addFragment(a,!0)},this):this.repeatables.forEach(function(a){this.writer.context.moveDown(a.height)},this),this.writer.tracker.emit("pageChanged",{prevPage:b.prevPage,prevY:b.prevY,y:b.y})},d.prototype.beginUnbreakableBlock=function(a,b){0===this.transactionLevel++&&(this.originalX=this.writer.context.x,this.writer.pushContext(a,b))},d.prototype.commitUnbreakableBlock=function(a,b){if(0===--this.transactionLevel){var c=this.writer.context;this.writer.popContext();var d=c.pages.length;if(d>0){var e=c.pages[0];if(e.xOffset=a,e.yOffset=b,d>1)if(void 0!==a||void 0!==b)e.height=c.getCurrentPage().pageSize.height-c.pageMargins.top-c.pageMargins.bottom;else{e.height=this.writer.context.getCurrentPage().pageSize.height-this.writer.context.pageMargins.top-this.writer.context.pageMargins.bottom;for(var f=0,g=this.repeatables.length;g>f;f++)e.height-=this.repeatables[f].height}else e.height=c.y;void 0!==a||void 0!==b?this.writer.addFragment(e,!0,!0,!0):this.addFragment(e)}}},d.prototype.currentBlockToRepeatable=function(){var a=this.writer.context,b={items:[]};return a.pages[0].items.forEach(function(a){b.items.push(a)}),b.xOffset=this.originalX,b.height=a.y,b},d.prototype.pushToRepeatables=function(a){this.repeatables.push(a)},d.prototype.popFromRepeatables=function(){this.repeatables.pop()},d.prototype.context=function(){return this.writer.context},a.exports=d},function(a,b,c){"use strict";function d(a,b){this.context=a,this.contextStack=[],this.tracker=b}function e(a,b,c){null===c||void 0===c||0>c||c>a.items.length?a.items.push(b):a.items.splice(c,0,b)}function f(a){var b=new g(a.maxWidth);for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b}var g=c(22),h=c(17).pack,i=c(17).offsetVector,j=c(19);d.prototype.addLine=function(a,b,c){var d=a.getHeight(),f=this.context,g=f.getCurrentPage(),h=this.getCurrentPositionOnPage();return f.availableHeight<d||!g?!1:(a.x=f.x+(a.x||0),a.y=f.y+(a.y||0),this.alignLine(a),e(g,{type:"line",item:a},c),this.tracker.emit("lineAdded",a),b||f.moveDown(d),h)},d.prototype.alignLine=function(a){var b=this.context.availableWidth,c=a.getWidth(),d=a.inlines&&a.inlines.length>0&&a.inlines[0].alignment,e=0;switch(d){case"right":e=b-c;break;case"center":e=(b-c)/2}if(e&&(a.x=(a.x||0)+e),"justify"===d&&!a.newLineForced&&!a.lastLineInParagraph&&a.inlines.length>1)for(var f=(b-c)/(a.inlines.length-1),g=1,h=a.inlines.length;h>g;g++)e=g*f,a.inlines[g].x+=e},d.prototype.addImage=function(a,b){var c=this.context,d=c.getCurrentPage(),f=this.getCurrentPositionOnPage();return c.availableHeight<a._height||!d?!1:(a.x=c.x+(a.x||0),a.y=c.y,this.alignImage(a),e(d,{type:"image",item:a},b),c.moveDown(a._height),f)},d.prototype.addQr=function(a,b){var c=this.context,d=c.getCurrentPage(),e=this.getCurrentPositionOnPage();if(c.availableHeight<a._height||!d)return!1;a.x=c.x+(a.x||0),a.y=c.y,this.alignImage(a);for(var f=0,g=a._canvas.length;g>f;f++){var h=a._canvas[f];h.x+=a.x,h.y+=a.y,this.addVector(h,!0,!0,b)}return c.moveDown(a._height),e},d.prototype.alignImage=function(a){var b=this.context.availableWidth,c=a._minWidth,d=0;switch(a._alignment){case"right":d=b-c;break;case"center":d=(b-c)/2}d&&(a.x=(a.x||0)+d)},d.prototype.addVector=function(a,b,c,d){var f=this.context,g=f.getCurrentPage(),h=this.getCurrentPositionOnPage();return g?(i(a,b?0:f.x,c?0:f.y),e(g,{type:"vector",item:a},d),h):void 0},d.prototype.addFragment=function(a,b,c,d){var e=this.context,g=e.getCurrentPage();return!b&&a.height>e.availableHeight?!1:(a.items.forEach(function(d){switch(d.type){case"line":var j=f(d.item);j.x=(j.x||0)+(b?a.xOffset||0:e.x),j.y=(j.y||0)+(c?a.yOffset||0:e.y),g.items.push({type:"line",item:j});break;case"vector":var k=h(d.item);i(k,b?a.xOffset||0:e.x,c?a.yOffset||0:e.y),g.items.push({type:"vector",item:k});break;case"image":var l=h(d.item);l.x=(l.x||0)+(b?a.xOffset||0:e.x),l.y=(l.y||0)+(c?a.yOffset||0:e.y),g.items.push({type:"image",item:l})}}),d||e.moveDown(a.height),!0)},d.prototype.pushContext=function(a,b){void 0===a&&(b=this.context.getCurrentPage().height-this.context.pageMargins.top-this.context.pageMargins.bottom,a=this.context.availableWidth),("number"==typeof a||a instanceof Number)&&(a=new j({width:a,height:b},{left:0,right:0,top:0,bottom:0})),this.contextStack.push(this.context),this.context=a},d.prototype.popContext=function(){this.context=this.contextStack.pop()},d.prototype.getCurrentPositionOnPage=function(){return(this.contextStack[0]||this.context).getCurrentPosition()},a.exports=d},function(a,b){"use strict";function c(a){this.maxWidth=a,this.leadingCut=0,this.trailingCut=0,this.inlineWidths=0,this.inlines=[]}c.prototype.getAscenderHeight=function(){var a=0;return this.inlines.forEach(function(b){a=Math.max(a,b.font.ascender/1e3*b.fontSize)}),a},c.prototype.hasEnoughSpaceForInline=function(a){return 0===this.inlines.length?!0:this.newLineForced?!1:this.inlineWidths+a.width-this.leadingCut-(a.trailingCut||0)<=this.maxWidth},c.prototype.addInline=function(a){0===this.inlines.length&&(this.leadingCut=a.leadingCut||0),this.trailingCut=a.trailingCut||0,a.x=this.inlineWidths-this.leadingCut,this.inlines.push(a),this.inlineWidths+=a.width,a.lineEnd&&(this.newLineForced=!0)},c.prototype.getWidth=function(){return this.inlineWidths-this.leadingCut-this.trailingCut},c.prototype.getHeight=function(){var a=0;return this.inlines.forEach(function(b){a=Math.max(a,b.height||0)}),a},a.exports=c},function(a,b,c){"use strict";function d(a){this.tableNode=a}var e=c(16);d.prototype.beginTable=function(a){function b(){var a=0;return d.table.widths.forEach(function(b){a+=b._calcWidth}),a}function c(){var a=[],b=0,c=0;a.push({left:0,rowSpan:0});for(var d=0,e=g.tableNode.table.body[0].length;e>d;d++){var f=g.layout.paddingLeft(d,g.tableNode)+g.layout.paddingRight(d,g.tableNode),h=g.layout.vLineWidth(d,g.tableNode);c=f+h+g.tableNode.table.widths[d]._calcWidth,a[a.length-1].width=c,b+=c,a.push({left:b,rowSpan:0,width:0})}return a}var d,f,g=this;d=this.tableNode,this.offsets=d._offsets,this.layout=d._layout,f=a.context().availableWidth-this.offsets.total,e.buildColumnWidths(d.table.widths,f),this.tableWidth=d._offsets.total+b(),this.rowSpanData=c(),this.cleanUpRepeatables=!1,this.headerRows=d.table.headerRows||0,this.rowsWithoutPageBreak=this.headerRows+(d.table.keepWithHeaderRows||0),this.dontBreakRows=d.table.dontBreakRows||!1,this.rowsWithoutPageBreak&&a.beginUnbreakableBlock(),this.drawHorizontalLine(0,a)},d.prototype.onRowBreak=function(a,b){var c=this;return function(){var a=c.rowPaddingTop+(c.headerRows?0:c.topLineWidth);b.context().moveDown(a)}},d.prototype.beginRow=function(a,b){this.topLineWidth=this.layout.hLineWidth(a,this.tableNode),this.rowPaddingTop=this.layout.paddingTop(a,this.tableNode),this.bottomLineWidth=this.layout.hLineWidth(a+1,this.tableNode),this.rowPaddingBottom=this.layout.paddingBottom(a,this.tableNode),this.rowCallback=this.onRowBreak(a,b),b.tracker.startTracking("pageChanged",this.rowCallback),this.dontBreakRows&&b.beginUnbreakableBlock(),this.rowTopY=b.context().y,this.reservedAtBottom=this.bottomLineWidth+this.rowPaddingBottom,b.context().availableHeight-=this.reservedAtBottom,b.context().moveDown(this.rowPaddingTop)},d.prototype.drawHorizontalLine=function(a,b,c){var d=this.layout.hLineWidth(a,this.tableNode);if(d){for(var e=d/2,f=null,g=0,h=this.rowSpanData.length;h>g;g++){var i=this.rowSpanData[g],j=!i.rowSpan;!f&&j&&(f={left:i.left,width:0}),j&&(f.width+=i.width||0);var k=(c||0)+e;j&&g!==h-1||f&&(b.addVector({type:"line",x1:f.left,x2:f.left+f.width,y1:k,y2:k,lineWidth:d,lineColor:"function"==typeof this.layout.hLineColor?this.layout.hLineColor(a,this.tableNode):this.layout.hLineColor},!1,c),f=null)}b.context().moveDown(d)}},d.prototype.drawVerticalLine=function(a,b,c,d,e){var f=this.layout.vLineWidth(d,this.tableNode);0!==f&&e.addVector({type:"line",x1:a+f/2,x2:a+f/2,y1:b,y2:c,lineWidth:f,lineColor:"function"==typeof this.layout.vLineColor?this.layout.vLineColor(d,this.tableNode):this.layout.vLineColor},!1,!0)},d.prototype.endTable=function(a){this.cleanUpRepeatables&&a.popFromRepeatables()},d.prototype.endRow=function(a,b,c){function d(){for(var b=[],c=0,d=0,e=g.tableNode.table.body[a].length;e>d;d++){if(!c){b.push({x:g.rowSpanData[d].left,index:d});var f=g.tableNode.table.body[a][d];c=f._colSpan||f.colSpan||0}c>0&&c--}return b.push({x:g.rowSpanData[g.rowSpanData.length-1].left,index:g.rowSpanData.length-1}),b}var e,f,g=this;b.tracker.stopTracking("pageChanged",this.rowCallback),b.context().moveDown(this.layout.paddingBottom(a,this.tableNode)),b.context().availableHeight+=this.reservedAtBottom;var h=b.context().page,i=b.context().y,j=d(),k=[],l=c&&c.length>0;if(k.push({y0:this.rowTopY,page:l?c[0].prevPage:h}),l)for(f=0,e=c.length;e>f;f++){var m=c[f];k[k.length-1].y1=m.prevY,k.push({y0:m.y,page:m.prevPage+1})}k[k.length-1].y1=i;for(var n=k[0].y1-k[0].y0===this.rowPaddingTop,o=n?1:0,p=k.length;p>o;o++){var q=o<k.length-1,r=o>0&&!this.headerRows,s=r?0:this.topLineWidth,t=k[o].y0,u=k[o].y1;for(q&&(u+=this.rowPaddingBottom),b.context().page!=k[o].page&&(b.context().page=k[o].page,this.reservedAtBottom=0),f=0,e=j.length;e>f;f++)if(this.drawVerticalLine(j[f].x,t-s,u+this.bottomLineWidth,j[f].index,b),e-1>f){var v=j[f].index,w=this.tableNode.table.body[a][v].fillColor;if(w){var x=this.layout.vLineWidth(v,this.tableNode),y=j[f].x+x,z=t-s;b.addVector({type:"rect",x:y,y:z,w:j[f+1].x-y,h:u+this.bottomLineWidth-z,lineWidth:0,color:w},!1,!0,0)}}q&&this.layout.hLineWhenBroken!==!1&&this.drawHorizontalLine(a+1,b,u),r&&this.layout.hLineWhenBroken!==!1&&this.drawHorizontalLine(a,b,t)}b.context().page=h,b.context().y=i;var A=this.tableNode.table.body[a];for(f=0,e=A.length;e>f;f++){if(A[f].rowSpan&&(this.rowSpanData[f].rowSpan=A[f].rowSpan,A[f].colSpan&&A[f].colSpan>1))for(var B=1;B<A[f].rowSpan;B++)this.tableNode.table.body[a+B][f]._colSpan=A[f].colSpan;this.rowSpanData[f].rowSpan>0&&this.rowSpanData[f].rowSpan--}this.drawHorizontalLine(a+1,b),this.headerRows&&a===this.headerRows-1&&(this.headerRepeatable=b.currentBlockToRepeatable()),this.dontBreakRows&&b.tracker.auto("pageChanged",function(){g.drawHorizontalLine(a,b)},function(){b.commitUnbreakableBlock(),g.drawHorizontalLine(a,b)}),!this.headerRepeatable||a!==this.rowsWithoutPageBreak-1&&a!==this.tableNode.table.body.length-1||(b.commitUnbreakableBlock(),b.pushToRepeatables(this.headerRepeatable),this.cleanUpRepeatables=!0,this.headerRepeatable=null)},a.exports=d},function(a,b,c){(function(b){(function(){var d,e,f,g,h,i,j={}.hasOwnProperty,k=function(a,b){function c(){this.constructor=a}for(var d in b)j.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a};i=c(25),h=c(44),e=c(45),g=c(46),f=c(64),d=function(a){function d(a){var b,c,e,f;if(this.options=null!=a?a:{},d.__super__.constructor.apply(this,arguments),this.version=1.3,this.compress=null!=(e=this.options.compress)?e:!0,this._pageBuffer=[],this._pageBufferStart=0,this._offsets=[],this._waiting=0,this._ended=!1,this._offset=0,this._root=this.ref({Type:"Catalog",Pages:this.ref({Type:"Pages",Count:0,Kids:[]})}),this.page=null,this.initColor(),this.initVector(),this.initFonts(),this.initText(),this.initImages(),this.info={Producer:"PDFKit",Creator:"PDFKit",CreationDate:new Date},this.options.info){f=this.options.info;for(b in f)c=f[b],this.info[b]=c}this._write("%PDF-"+this.version),this._write("%ÿÿÿÿ"),this.addPage()}var i;return k(d,a),i=function(a){var b,c,e;e=[];for(c in a)b=a[c],e.push(d.prototype[c]=b);return e},i(c(65)),i(c(67)),i(c(69)),i(c(89)),i(c(96)),i(c(101)),d.prototype.addPage=function(a){var b;return null==a&&(a=this.options),this.options.bufferPages||this.flushPages(),this.page=new f(this,a),this._pageBuffer.push(this.page),b=this._root.data.Pages.data,b.Kids.push(this.page.dictionary),b.Count++,this.x=this.page.margins.left,this.y=this.page.margins.top,this._ctm=[1,0,0,1,0,0],this.transform(1,0,0,-1,0,this.page.height),this},d.prototype.bufferedPageRange=function(){return{start:this._pageBufferStart,count:this._pageBuffer.length
-}},d.prototype.switchToPage=function(a){var b;if(!(b=this._pageBuffer[a-this._pageBufferStart]))throw new Error("switchToPage("+a+") out of bounds, current buffer covers pages "+this._pageBufferStart+" to "+(this._pageBufferStart+this._pageBuffer.length-1));return this.page=b},d.prototype.flushPages=function(){var a,b,c,d;for(b=this._pageBuffer,this._pageBuffer=[],this._pageBufferStart+=b.length,c=0,d=b.length;d>c;c++)a=b[c],a.end()},d.prototype.ref=function(a){var b;return b=new g(this,this._offsets.length+1,a),this._offsets.push(null),this._waiting++,b},d.prototype._read=function(){},d.prototype._write=function(a){return b.isBuffer(a)||(a=new b(a+"\n","binary")),this.push(a),this._offset+=a.length},d.prototype.addContent=function(a){return this.page.write(a),this},d.prototype._refEnd=function(a){return this._offsets[a.id-1]=a.offset,0===--this._waiting&&this._ended?(this._finalize(),this._ended=!1):void 0},d.prototype.write=function(a,b){var c;return c=new Error("PDFDocument#write is deprecated, and will be removed in a future version of PDFKit. Please pipe the document into a Node stream."),console.warn(c.stack),this.pipe(h.createWriteStream(a)),this.end(),this.once("end",b)},d.prototype.output=function(a){throw new Error("PDFDocument#output is deprecated, and has been removed from PDFKit. Please pipe the document into a Node stream.")},d.prototype.end=function(){var a,b,c,d,e,f;this.flushPages(),this._info=this.ref(),e=this.info;for(b in e)d=e[b],"string"==typeof d&&(d=new String(d)),this._info.data[b]=d;this._info.end(),f=this._fontFamilies;for(c in f)a=f[c],a.embed();return this._root.end(),this._root.data.Pages.end(),0===this._waiting?this._finalize():this._ended=!0},d.prototype._finalize=function(a){var b,c,d,f,g;for(c=this._offset,this._write("xref"),this._write("0 "+(this._offsets.length+1)),this._write("0000000000 65535 f "),g=this._offsets,d=0,f=g.length;f>d;d++)b=g[d],b=("0000000000"+b).slice(-10),this._write(b+" 00000 n ");return this._write("trailer"),this._write(e.convert({Size:this._offsets.length+1,Root:this._root,Info:this._info})),this._write("startxref"),this._write(""+c),this._write("%%EOF"),this.push(null)},d.prototype.toString=function(){return"[object PDFDocument]"},d}(i.Readable),a.exports=d}).call(this)}).call(b,c(2).Buffer)},function(a,b,c){function d(){e.call(this)}a.exports=d;var e=c(26).EventEmitter,f=c(27);f(d,e),d.Readable=c(28),d.Writable=c(40),d.Duplex=c(41),d.Transform=c(42),d.PassThrough=c(43),d.Stream=d,d.prototype.pipe=function(a,b){function c(b){a.writable&&!1===a.write(b)&&j.pause&&j.pause()}function d(){j.readable&&j.resume&&j.resume()}function f(){k||(k=!0,a.end())}function g(){k||(k=!0,"function"==typeof a.destroy&&a.destroy())}function h(a){if(i(),0===e.listenerCount(this,"error"))throw a}function i(){j.removeListener("data",c),a.removeListener("drain",d),j.removeListener("end",f),j.removeListener("close",g),j.removeListener("error",h),a.removeListener("error",h),j.removeListener("end",i),j.removeListener("close",i),a.removeListener("close",i)}var j=this;j.on("data",c),a.on("drain",d),a._isStdio||b&&b.end===!1||(j.on("end",f),j.on("close",g));var k=!1;return j.on("error",h),a.on("error",h),j.on("end",i),j.on("close",i),a.on("close",i),a.emit("pipe",j),a}},function(a,b){function c(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function d(a){return"function"==typeof a}function e(a){return"number"==typeof a}function f(a){return"object"==typeof a&&null!==a}function g(a){return void 0===a}a.exports=c,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._maxListeners=void 0,c.defaultMaxListeners=10,c.prototype.setMaxListeners=function(a){if(!e(a)||0>a||isNaN(a))throw TypeError("n must be a positive number");return this._maxListeners=a,this},c.prototype.emit=function(a){var b,c,e,h,i,j;if(this._events||(this._events={}),"error"===a&&(!this._events.error||f(this._events.error)&&!this._events.error.length)){if(b=arguments[1],b instanceof Error)throw b;throw TypeError('Uncaught, unspecified "error" event.')}if(c=this._events[a],g(c))return!1;if(d(c))switch(arguments.length){case 1:c.call(this);break;case 2:c.call(this,arguments[1]);break;case 3:c.call(this,arguments[1],arguments[2]);break;default:h=Array.prototype.slice.call(arguments,1),c.apply(this,h)}else if(f(c))for(h=Array.prototype.slice.call(arguments,1),j=c.slice(),e=j.length,i=0;e>i;i++)j[i].apply(this,h);return!0},c.prototype.addListener=function(a,b){var e;if(!d(b))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",a,d(b.listener)?b.listener:b),this._events[a]?f(this._events[a])?this._events[a].push(b):this._events[a]=[this._events[a],b]:this._events[a]=b,f(this._events[a])&&!this._events[a].warned&&(e=g(this._maxListeners)?c.defaultMaxListeners:this._maxListeners,e&&e>0&&this._events[a].length>e&&(this._events[a].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[a].length),"function"==typeof console.trace&&console.trace())),this},c.prototype.on=c.prototype.addListener,c.prototype.once=function(a,b){function c(){this.removeListener(a,c),e||(e=!0,b.apply(this,arguments))}if(!d(b))throw TypeError("listener must be a function");var e=!1;return c.listener=b,this.on(a,c),this},c.prototype.removeListener=function(a,b){var c,e,g,h;if(!d(b))throw TypeError("listener must be a function");if(!this._events||!this._events[a])return this;if(c=this._events[a],g=c.length,e=-1,c===b||d(c.listener)&&c.listener===b)delete this._events[a],this._events.removeListener&&this.emit("removeListener",a,b);else if(f(c)){for(h=g;h-- >0;)if(c[h]===b||c[h].listener&&c[h].listener===b){e=h;break}if(0>e)return this;1===c.length?(c.length=0,delete this._events[a]):c.splice(e,1),this._events.removeListener&&this.emit("removeListener",a,b)}return this},c.prototype.removeAllListeners=function(a){var b,c;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[a]&&delete this._events[a],this;if(0===arguments.length){for(b in this._events)"removeListener"!==b&&this.removeAllListeners(b);return this.removeAllListeners("removeListener"),this._events={},this}if(c=this._events[a],d(c))this.removeListener(a,c);else if(c)for(;c.length;)this.removeListener(a,c[c.length-1]);return delete this._events[a],this},c.prototype.listeners=function(a){var b;return b=this._events&&this._events[a]?d(this._events[a])?[this._events[a]]:this._events[a].slice():[]},c.prototype.listenerCount=function(a){if(this._events){var b=this._events[a];if(d(b))return 1;if(b)return b.length}return 0},c.listenerCount=function(a,b){return a.listenerCount(b)}},function(a,b){"function"==typeof Object.create?a.exports=function(a,b){a.super_=b,a.prototype=Object.create(b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:a.exports=function(a,b){a.super_=b;var c=function(){};c.prototype=b.prototype,a.prototype=new c,a.prototype.constructor=a}},function(a,b,c){b=a.exports=c(29),b.Stream=c(25),b.Readable=b,b.Writable=c(36),b.Duplex=c(35),b.Transform=c(38),b.PassThrough=c(39)},function(a,b,c){(function(b){function d(a,b){var d=c(35);a=a||{};var e=a.highWaterMark,f=a.objectMode?16:16384;this.highWaterMark=e||0===e?e:f,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!a.objectMode,b instanceof d&&(this.objectMode=this.objectMode||!!a.readableObjectMode),this.defaultEncoding=a.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,a.encoding&&(C||(C=c(37).StringDecoder),this.decoder=new C(a.encoding),this.encoding=a.encoding)}function e(a){c(35);return this instanceof e?(this._readableState=new d(a,this),this.readable=!0,void A.call(this)):new e(a)}function f(a,b,c,d,e){var f=j(b,c);if(f)a.emit("error",f);else if(B.isNullOrUndefined(c))b.reading=!1,b.ended||k(a,b);else if(b.objectMode||c&&c.length>0)if(b.ended&&!e){var h=new Error("stream.push() after EOF");a.emit("error",h)}else if(b.endEmitted&&e){var h=new Error("stream.unshift() after end event");a.emit("error",h)}else!b.decoder||e||d||(c=b.decoder.write(c)),e||(b.reading=!1),b.flowing&&0===b.length&&!b.sync?(a.emit("data",c),a.read(0)):(b.length+=b.objectMode?1:c.length,e?b.buffer.unshift(c):b.buffer.push(c),b.needReadable&&l(a)),n(a,b);else e||(b.reading=!1);return g(b)}function g(a){return!a.ended&&(a.needReadable||a.length<a.highWaterMark||0===a.length)}function h(a){if(a>=E)a=E;else{a--;for(var b=1;32>b;b<<=1)a|=a>>b;a++}return a}function i(a,b){return 0===b.length&&b.ended?0:b.objectMode?0===a?0:1:isNaN(a)||B.isNull(a)?b.flowing&&b.buffer.length?b.buffer[0].length:b.length:0>=a?0:(a>b.highWaterMark&&(b.highWaterMark=h(a)),a>b.length?b.ended?b.length:(b.needReadable=!0,0):a)}function j(a,b){var c=null;return B.isBuffer(b)||B.isString(b)||B.isNullOrUndefined(b)||a.objectMode||(c=new TypeError("Invalid non-string/buffer chunk")),c}function k(a,b){if(b.decoder&&!b.ended){var c=b.decoder.end();c&&c.length&&(b.buffer.push(c),b.length+=b.objectMode?1:c.length)}b.ended=!0,l(a)}function l(a){var c=a._readableState;c.needReadable=!1,c.emittedReadable||(D("emitReadable",c.flowing),c.emittedReadable=!0,c.sync?b.nextTick(function(){m(a)}):m(a))}function m(a){D("emit readable"),a.emit("readable"),s(a)}function n(a,c){c.readingMore||(c.readingMore=!0,b.nextTick(function(){o(a,c)}))}function o(a,b){for(var c=b.length;!b.reading&&!b.flowing&&!b.ended&&b.length<b.highWaterMark&&(D("maybeReadMore read 0"),a.read(0),c!==b.length);)c=b.length;b.readingMore=!1}function p(a){return function(){var b=a._readableState;D("pipeOnDrain",b.awaitDrain),b.awaitDrain&&b.awaitDrain--,0===b.awaitDrain&&z.listenerCount(a,"data")&&(b.flowing=!0,s(a))}}function q(a,c){c.resumeScheduled||(c.resumeScheduled=!0,b.nextTick(function(){r(a,c)}))}function r(a,b){b.resumeScheduled=!1,a.emit("resume"),s(a),b.flowing&&!b.reading&&a.read(0)}function s(a){var b=a._readableState;if(D("flow",b.flowing),b.flowing)do var c=a.read();while(null!==c&&b.flowing)}function t(a,b){var c,d=b.buffer,e=b.length,f=!!b.decoder,g=!!b.objectMode;if(0===d.length)return null;if(0===e)c=null;else if(g)c=d.shift();else if(!a||a>=e)c=f?d.join(""):y.concat(d,e),d.length=0;else if(a<d[0].length){var h=d[0];c=h.slice(0,a),d[0]=h.slice(a)}else if(a===d[0].length)c=d.shift();else{c=f?"":new y(a);for(var i=0,j=0,k=d.length;k>j&&a>i;j++){var h=d[0],l=Math.min(a-i,h.length);f?c+=h.slice(0,l):h.copy(c,i,0,l),l<h.length?d[0]=h.slice(l):d.shift(),i+=l}}return c}function u(a){var c=a._readableState;if(c.length>0)throw new Error("endReadable called on non-empty stream");c.endEmitted||(c.ended=!0,b.nextTick(function(){c.endEmitted||0!==c.length||(c.endEmitted=!0,a.readable=!1,a.emit("end"))}))}function v(a,b){for(var c=0,d=a.length;d>c;c++)b(a[c],c)}function w(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1}a.exports=e;var x=c(31),y=c(2).Buffer;e.ReadableState=d;var z=c(26).EventEmitter;z.listenerCount||(z.listenerCount=function(a,b){return a.listeners(b).length});var A=c(25),B=c(32);B.inherits=c(33);var C,D=c(34);D=D&&D.debuglog?D.debuglog("stream"):function(){},B.inherits(e,A),e.prototype.push=function(a,b){var c=this._readableState;return B.isString(a)&&!c.objectMode&&(b=b||c.defaultEncoding,b!==c.encoding&&(a=new y(a,b),b="")),f(this,c,a,b,!1)},e.prototype.unshift=function(a){var b=this._readableState;return f(this,b,a,"",!0)},e.prototype.setEncoding=function(a){return C||(C=c(37).StringDecoder),this._readableState.decoder=new C(a),this._readableState.encoding=a,this};var E=8388608;e.prototype.read=function(a){D("read",a);var b=this._readableState,c=a;if((!B.isNumber(a)||a>0)&&(b.emittedReadable=!1),0===a&&b.needReadable&&(b.length>=b.highWaterMark||b.ended))return D("read: emitReadable",b.length,b.ended),0===b.length&&b.ended?u(this):l(this),null;if(a=i(a,b),0===a&&b.ended)return 0===b.length&&u(this),null;var d=b.needReadable;D("need readable",d),(0===b.length||b.length-a<b.highWaterMark)&&(d=!0,D("length less than watermark",d)),(b.ended||b.reading)&&(d=!1,D("reading or ended",d)),d&&(D("do read"),b.reading=!0,b.sync=!0,0===b.length&&(b.needReadable=!0),this._read(b.highWaterMark),b.sync=!1),d&&!b.reading&&(a=i(c,b));var e;return e=a>0?t(a,b):null,B.isNull(e)&&(b.needReadable=!0,a=0),b.length-=a,0!==b.length||b.ended||(b.needReadable=!0),c!==a&&b.ended&&0===b.length&&u(this),B.isNull(e)||this.emit("data",e),e},e.prototype._read=function(a){this.emit("error",new Error("not implemented"))},e.prototype.pipe=function(a,c){function d(a){D("onunpipe"),a===l&&f()}function e(){D("onend"),a.end()}function f(){D("cleanup"),a.removeListener("close",i),a.removeListener("finish",j),a.removeListener("drain",q),a.removeListener("error",h),a.removeListener("unpipe",d),l.removeListener("end",e),l.removeListener("end",f),l.removeListener("data",g),!m.awaitDrain||a._writableState&&!a._writableState.needDrain||q()}function g(b){D("ondata");var c=a.write(b);!1===c&&(D("false write response, pause",l._readableState.awaitDrain),l._readableState.awaitDrain++,l.pause())}function h(b){D("onerror",b),k(),a.removeListener("error",h),0===z.listenerCount(a,"error")&&a.emit("error",b)}function i(){a.removeListener("finish",j),k()}function j(){D("onfinish"),a.removeListener("close",i),k()}function k(){D("unpipe"),l.unpipe(a)}var l=this,m=this._readableState;switch(m.pipesCount){case 0:m.pipes=a;break;case 1:m.pipes=[m.pipes,a];break;default:m.pipes.push(a)}m.pipesCount+=1,D("pipe count=%d opts=%j",m.pipesCount,c);var n=(!c||c.end!==!1)&&a!==b.stdout&&a!==b.stderr,o=n?e:f;m.endEmitted?b.nextTick(o):l.once("end",o),a.on("unpipe",d);var q=p(l);return a.on("drain",q),l.on("data",g),a._events&&a._events.error?x(a._events.error)?a._events.error.unshift(h):a._events.error=[h,a._events.error]:a.on("error",h),a.once("close",i),a.once("finish",j),a.emit("pipe",l),m.flowing||(D("pipe resume"),l.resume()),a},e.prototype.unpipe=function(a){var b=this._readableState;if(0===b.pipesCount)return this;if(1===b.pipesCount)return a&&a!==b.pipes?this:(a||(a=b.pipes),b.pipes=null,b.pipesCount=0,b.flowing=!1,a&&a.emit("unpipe",this),this);if(!a){var c=b.pipes,d=b.pipesCount;b.pipes=null,b.pipesCount=0,b.flowing=!1;for(var e=0;d>e;e++)c[e].emit("unpipe",this);return this}var e=w(b.pipes,a);return-1===e?this:(b.pipes.splice(e,1),b.pipesCount-=1,1===b.pipesCount&&(b.pipes=b.pipes[0]),a.emit("unpipe",this),this)},e.prototype.on=function(a,c){var d=A.prototype.on.call(this,a,c);if("data"===a&&!1!==this._readableState.flowing&&this.resume(),"readable"===a&&this.readable){var e=this._readableState;if(!e.readableListening)if(e.readableListening=!0,e.emittedReadable=!1,e.needReadable=!0,e.reading)e.length&&l(this,e);else{var f=this;b.nextTick(function(){D("readable nexttick read 0"),f.read(0)})}}return d},e.prototype.addListener=e.prototype.on,e.prototype.resume=function(){var a=this._readableState;return a.flowing||(D("resume"),a.flowing=!0,a.reading||(D("resume read 0"),this.read(0)),q(this,a)),this},e.prototype.pause=function(){return D("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(D("pause"),this._readableState.flowing=!1,this.emit("pause")),this},e.prototype.wrap=function(a){var b=this._readableState,c=!1,d=this;a.on("end",function(){if(D("wrapped end"),b.decoder&&!b.ended){var a=b.decoder.end();a&&a.length&&d.push(a)}d.push(null)}),a.on("data",function(e){if(D("wrapped data"),b.decoder&&(e=b.decoder.write(e)),e&&(b.objectMode||e.length)){var f=d.push(e);f||(c=!0,a.pause())}});for(var e in a)B.isFunction(a[e])&&B.isUndefined(this[e])&&(this[e]=function(b){return function(){return a[b].apply(a,arguments)}}(e));var f=["error","close","destroy","pause","resume"];return v(f,function(b){a.on(b,d.emit.bind(d,b))}),d._read=function(b){D("wrapped _read",b),c&&(c=!1,a.resume())},d},e._fromList=t}).call(b,c(30))},function(a,b){function c(){j=!1,g.length?i=g.concat(i):k=-1,i.length&&d()}function d(){if(!j){var a=setTimeout(c);j=!0;for(var b=i.length;b;){for(g=i,i=[];++k<b;)g&&g[k].run();k=-1,b=i.length}g=null,j=!1,clearTimeout(a)}}function e(a,b){this.fun=a,this.array=b}function f(){}var g,h=a.exports={},i=[],j=!1,k=-1;h.nextTick=function(a){var b=new Array(arguments.length-1);if(arguments.length>1)for(var c=1;c<arguments.length;c++)b[c-1]=arguments[c];i.push(new e(a,b)),1!==i.length||j||setTimeout(d,0)},e.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=f,h.addListener=f,h.once=f,h.off=f,h.removeListener=f,h.removeAllListeners=f,h.emit=f,h.binding=function(a){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(a){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},function(a,b){a.exports=Array.isArray||function(a){return"[object Array]"==Object.prototype.toString.call(a)}},function(a,b,c){(function(a){function c(a){return Array.isArray(a)}function d(a){return"boolean"==typeof a}function e(a){return null===a}function f(a){return null==a}function g(a){return"number"==typeof a}function h(a){return"string"==typeof a}function i(a){return"symbol"==typeof a}function j(a){return void 0===a}function k(a){return l(a)&&"[object RegExp]"===r(a)}function l(a){return"object"==typeof a&&null!==a}function m(a){return l(a)&&"[object Date]"===r(a)}function n(a){return l(a)&&("[object Error]"===r(a)||a instanceof Error)}function o(a){return"function"==typeof a}function p(a){return null===a||"boolean"==typeof a||"number"==typeof a||"string"==typeof a||"symbol"==typeof a||"undefined"==typeof a}function q(b){return a.isBuffer(b)}function r(a){return Object.prototype.toString.call(a)}b.isArray=c,b.isBoolean=d,b.isNull=e,b.isNullOrUndefined=f,b.isNumber=g,b.isString=h,b.isSymbol=i,b.isUndefined=j,b.isRegExp=k,b.isObject=l,b.isDate=m,b.isError=n,b.isFunction=o,b.isPrimitive=p,b.isBuffer=q}).call(b,c(2).Buffer)},function(a,b){"function"==typeof Object.create?a.exports=function(a,b){a.super_=b,a.prototype=Object.create(b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:a.exports=function(a,b){a.super_=b;var c=function(){};c.prototype=b.prototype,a.prototype=new c,a.prototype.constructor=a}},function(a,b){},function(a,b,c){(function(b){function d(a){return this instanceof d?(i.call(this,a),j.call(this,a),a&&a.readable===!1&&(this.readable=!1),a&&a.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,a&&a.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once("end",e)):new d(a)}function e(){this.allowHalfOpen||this._writableState.ended||b.nextTick(this.end.bind(this))}function f(a,b){for(var c=0,d=a.length;d>c;c++)b(a[c],c)}a.exports=d;var g=Object.keys||function(a){var b=[];for(var c in a)b.push(c);return b},h=c(32);h.inherits=c(33);var i=c(29),j=c(36);h.inherits(d,i),f(g(j.prototype),function(a){d.prototype[a]||(d.prototype[a]=j.prototype[a])})}).call(b,c(30))},function(a,b,c){(function(b){function d(a,b,c){this.chunk=a,this.encoding=b,this.callback=c}function e(a,b){var d=c(35);a=a||{};var e=a.highWaterMark,f=a.objectMode?16:16384;this.highWaterMark=e||0===e?e:f,this.objectMode=!!a.objectMode,b instanceof d&&(this.objectMode=this.objectMode||!!a.writableObjectMode),this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var g=a.decodeStrings===!1;this.decodeStrings=!g,this.defaultEncoding=a.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(a){n(b,a)},this.writecb=null,this.writelen=0,this.buffer=[],this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1}function f(a){var b=c(35);return this instanceof f||this instanceof b?(this._writableState=new e(a,this),this.writable=!0,void x.call(this)):new f(a)}function g(a,c,d){var e=new Error("write after end");a.emit("error",e),b.nextTick(function(){d(e)})}function h(a,c,d,e){var f=!0;if(!(w.isBuffer(d)||w.isString(d)||w.isNullOrUndefined(d)||c.objectMode)){var g=new TypeError("Invalid non-string/buffer chunk");a.emit("error",g),b.nextTick(function(){e(g)}),f=!1}return f}function i(a,b,c){return!a.objectMode&&a.decodeStrings!==!1&&w.isString(b)&&(b=new v(b,c)),b}function j(a,b,c,e,f){c=i(b,c,e),w.isBuffer(c)&&(e="buffer");var g=b.objectMode?1:c.length;b.length+=g;var h=b.length<b.highWaterMark;return h||(b.needDrain=!0),b.writing||b.corked?b.buffer.push(new d(c,e,f)):k(a,b,!1,g,c,e,f),h}function k(a,b,c,d,e,f,g){b.writelen=d,b.writecb=g,b.writing=!0,b.sync=!0,c?a._writev(e,b.onwrite):a._write(e,f,b.onwrite),b.sync=!1}function l(a,c,d,e,f){d?b.nextTick(function(){c.pendingcb--,f(e)}):(c.pendingcb--,f(e)),a._writableState.errorEmitted=!0,a.emit("error",e)}function m(a){a.writing=!1,a.writecb=null,a.length-=a.writelen,a.writelen=0}function n(a,c){var d=a._writableState,e=d.sync,f=d.writecb;if(m(d),c)l(a,d,e,c,f);else{var g=r(a,d);g||d.corked||d.bufferProcessing||!d.buffer.length||q(a,d),e?b.nextTick(function(){o(a,d,g,f)}):o(a,d,g,f)}}function o(a,b,c,d){c||p(a,b),b.pendingcb--,d(),t(a,b)}function p(a,b){0===b.length&&b.needDrain&&(b.needDrain=!1,a.emit("drain"))}function q(a,b){if(b.bufferProcessing=!0,a._writev&&b.buffer.length>1){for(var c=[],d=0;d<b.buffer.length;d++)c.push(b.buffer[d].callback);b.pendingcb++,k(a,b,!0,b.length,b.buffer,"",function(a){for(var d=0;d<c.length;d++)b.pendingcb--,c[d](a)}),b.buffer=[]}else{for(var d=0;d<b.buffer.length;d++){var e=b.buffer[d],f=e.chunk,g=e.encoding,h=e.callback,i=b.objectMode?1:f.length;if(k(a,b,!1,i,f,g,h),b.writing){d++;break}}d<b.buffer.length?b.buffer=b.buffer.slice(d):b.buffer.length=0}b.bufferProcessing=!1}function r(a,b){return b.ending&&0===b.length&&!b.finished&&!b.writing}function s(a,b){b.prefinished||(b.prefinished=!0,a.emit("prefinish"))}function t(a,b){var c=r(a,b);return c&&(0===b.pendingcb?(s(a,b),b.finished=!0,a.emit("finish")):s(a,b)),c}function u(a,c,d){c.ending=!0,t(a,c),d&&(c.finished?b.nextTick(d):a.once("finish",d)),c.ended=!0}a.exports=f;var v=c(2).Buffer;f.WritableState=e;var w=c(32);w.inherits=c(33);var x=c(25);w.inherits(f,x),f.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))},f.prototype.write=function(a,b,c){var d=this._writableState,e=!1;return w.isFunction(b)&&(c=b,b=null),w.isBuffer(a)?b="buffer":b||(b=d.defaultEncoding),w.isFunction(c)||(c=function(){}),d.ended?g(this,d,c):h(this,d,a,c)&&(d.pendingcb++,e=j(this,d,a,b,c)),e},f.prototype.cork=function(){var a=this._writableState;a.corked++},f.prototype.uncork=function(){var a=this._writableState;a.corked&&(a.corked--,a.writing||a.corked||a.finished||a.bufferProcessing||!a.buffer.length||q(this,a))},f.prototype._write=function(a,b,c){c(new Error("not implemented"))},f.prototype._writev=null,f.prototype.end=function(a,b,c){var d=this._writableState;w.isFunction(a)?(c=a,a=null,b=null):w.isFunction(b)&&(c=b,b=null),w.isNullOrUndefined(a)||this.write(a,b),d.corked&&(d.corked=1,this.uncork()),d.ending||d.finished||u(this,d,c)}}).call(b,c(30))},function(a,b,c){function d(a){if(a&&!i(a))throw new Error("Unknown encoding: "+a)}function e(a){return a.toString(this.encoding)}function f(a){this.charReceived=a.length%2,this.charLength=this.charReceived?2:0}function g(a){this.charReceived=a.length%3,this.charLength=this.charReceived?3:0}var h=c(2).Buffer,i=h.isEncoding||function(a){switch(a&&a.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},j=b.StringDecoder=function(a){switch(this.encoding=(a||"utf8").toLowerCase().replace(/[-_]/,""),d(a),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=f;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=g;break;default:return void(this.write=e)}this.charBuffer=new h(6),this.charReceived=0,this.charLength=0};j.prototype.write=function(a){for(var b="";this.charLength;){var c=a.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:a.length;if(a.copy(this.charBuffer,this.charReceived,0,c),this.charReceived+=c,this.charReceived<this.charLength)return"";a=a.slice(c,a.length),b=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var d=b.charCodeAt(b.length-1);if(!(d>=55296&&56319>=d)){if(this.charReceived=this.charLength=0,0===a.length)return b;break}this.charLength+=this.surrogateSize,b=""}this.detectIncompleteChar(a);var e=a.length;this.charLength&&(a.copy(this.charBuffer,0,a.length-this.charReceived,e),e-=this.charReceived),b+=a.toString(this.encoding,0,e);var e=b.length-1,d=b.charCodeAt(e);if(d>=55296&&56319>=d){var f=this.surrogateSize;return this.charLength+=f,this.charReceived+=f,this.charBuffer.copy(this.charBuffer,f,0,f),a.copy(this.charBuffer,0,0,f),b.substring(0,e)}return b},j.prototype.detectIncompleteChar=function(a){for(var b=a.length>=3?3:a.length;b>0;b--){var c=a[a.length-b];if(1==b&&c>>5==6){this.charLength=2;break}if(2>=b&&c>>4==14){this.charLength=3;break}if(3>=b&&c>>3==30){this.charLength=4;break}}this.charReceived=b},j.prototype.end=function(a){var b="";if(a&&a.length&&(b=this.write(a)),this.charReceived){var c=this.charReceived,d=this.charBuffer,e=this.encoding;b+=d.slice(0,c).toString(e)}return b}},function(a,b,c){function d(a,b){this.afterTransform=function(a,c){return e(b,a,c)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function e(a,b,c){var d=a._transformState;d.transforming=!1;var e=d.writecb;if(!e)return a.emit("error",new Error("no writecb in Transform class"));d.writechunk=null,d.writecb=null,i.isNullOrUndefined(c)||a.push(c),e&&e(b);var f=a._readableState;f.reading=!1,(f.needReadable||f.length<f.highWaterMark)&&a._read(f.highWaterMark)}function f(a){if(!(this instanceof f))return new f(a);h.call(this,a),this._transformState=new d(a,this);var b=this;this._readableState.needReadable=!0,this._readableState.sync=!1,this.once("prefinish",function(){i.isFunction(this._flush)?this._flush(function(a){g(b,a)}):g(b)})}function g(a,b){if(b)return a.emit("error",b);var c=a._writableState,d=a._transformState;if(c.length)throw new Error("calling transform done when ws.length != 0");if(d.transforming)throw new Error("calling transform done when still transforming");return a.push(null)}a.exports=f;var h=c(35),i=c(32);i.inherits=c(33),i.inherits(f,h),f.prototype.push=function(a,b){return this._transformState.needTransform=!1,h.prototype.push.call(this,a,b)},f.prototype._transform=function(a,b,c){throw new Error("not implemented")},f.prototype._write=function(a,b,c){var d=this._transformState;if(d.writecb=c,d.writechunk=a,d.writeencoding=b,!d.transforming){var e=this._readableState;(d.needTransform||e.needReadable||e.length<e.highWaterMark)&&this._read(e.highWaterMark)}},f.prototype._read=function(a){var b=this._transformState;i.isNull(b.writechunk)||!b.writecb||b.transforming?b.needTransform=!0:(b.transforming=!0,this._transform(b.writechunk,b.writeencoding,b.afterTransform))}},function(a,b,c){function d(a){return this instanceof d?void e.call(this,a):new d(a)}a.exports=d;var e=c(38),f=c(32);f.inherits=c(33),f.inherits(d,e),d.prototype._transform=function(a,b,c){c(null,a)}},function(a,b,c){a.exports=c(36)},function(a,b,c){a.exports=c(35)},function(a,b,c){a.exports=c(38)},function(a,b,c){a.exports=c(39)},function(a,b,c){(function(b,c){"use strict";function d(){this.fileSystem={},this.baseSystem={}}function e(a){return 0===a.indexOf(c)&&(a=a.substring(c.length)),0===a.indexOf("/")&&(a=a.substring(1)),a}d.prototype.readFileSync=function(a){a=e(a);var c=this.baseSystem[a];return c?new b(c,"base64"):this.fileSystem[a]},d.prototype.writeFileSync=function(a,b){this.fileSystem[e(a)]=b},d.prototype.bindFS=function(a){this.baseSystem=a},a.exports=new d}).call(b,c(2).Buffer,"/")},function(a,b,c){(function(b){(function(){var d,e;d=function(){function a(){}var c,d,f,g;return f=function(a,b){return(Array(b+1).join("0")+a).slice(-b)},d=/[\n\r\t\b\f\(\)\\]/g,c={"\n":"\\n","\r":"\\r"," ":"\\t","\b":"\\b","\f":"\\f","\\":"\\\\","(":"\\(",")":"\\)"},g=function(a){var b,c,d,e,f;if(d=a.length,1&d)throw new Error("Buffer length must be even");for(c=e=0,f=d-1;f>e;c=e+=2)b=a[c],a[c]=a[c+1],a[c+1]=b;return a},a.convert=function(h){var i,j,k,l,m,n,o,p,q,r;if("string"==typeof h)return"/"+h;if(h instanceof String){for(o=h.replace(d,function(a){return c[a]}),k=!1,j=q=0,r=o.length;r>q;j=q+=1)if(o.charCodeAt(j)>127){k=!0;break}return k&&(o=g(new b("\ufeff"+o,"utf16le")).toString("binary")),"("+o+")"}if(b.isBuffer(h))return"<"+h.toString("hex")+">";if(h instanceof e)return h.toString();if(h instanceof Date)return"(D:"+f(h.getUTCFullYear(),4)+f(h.getUTCMonth(),2)+f(h.getUTCDate(),2)+f(h.getUTCHours(),2)+f(h.getUTCMinutes(),2)+f(h.getUTCSeconds(),2)+"Z)";if(Array.isArray(h))return l=function(){var b,c,d;for(d=[],b=0,c=h.length;c>b;b++)i=h[b],d.push(a.convert(i));return d}().join(" "),"["+l+"]";if("[object Object]"==={}.toString.call(h)){n=["<<"];for(m in h)p=h[m],n.push("/"+m+" "+a.convert(p));return n.push(">>"),n.join("\n")}return""+h},a}(),a.exports=d,e=c(46)}).call(this)}).call(b,c(2).Buffer)},function(a,b,c){(function(b){(function(){var d,e,f,g=function(a,b){return function(){return a.apply(b,arguments)}};f=c(47),e=function(){function a(a,b,c){this.document=a,this.id=b,this.data=null!=c?c:{},this.finalize=g(this.finalize,this),this.gen=0,this.deflate=null,this.compress=this.document.compress&&!this.data.Filter,this.uncompressedLength=0,this.chunks=[]}return a.prototype.initDeflate=function(){return this.data.Filter="FlateDecode",this.deflate=f.createDeflate(),this.deflate.on("data",function(a){return function(b){return a.chunks.push(b),a.data.Length+=b.length}}(this)),this.deflate.on("end",this.finalize)},a.prototype.write=function(a){var c;return b.isBuffer(a)||(a=new b(a+"\n","binary")),this.uncompressedLength+=a.length,null==(c=this.data).Length&&(c.Length=0),this.compress?(this.deflate||this.initDeflate(),this.deflate.write(a)):(this.chunks.push(a),this.data.Length+=a.length)},a.prototype.end=function(a){return("string"==typeof a||b.isBuffer(a))&&this.write(a),this.deflate?this.deflate.end():this.finalize()},a.prototype.finalize=function(){var a,b,c,e;if(this.offset=this.document._offset,this.document._write(""+this.id+" "+this.gen+" obj"),this.document._write(d.convert(this.data)),this.chunks.length){for(this.document._write("stream"),e=this.chunks,b=0,c=e.length;c>b;b++)a=e[b],this.document._write(a);this.chunks.length=0,this.document._write("\nendstream")}return this.document._write("endobj"),this.document._refEnd(this)},a.prototype.toString=function(){return""+this.id+" "+this.gen+" R"},a}(),a.exports=e,d=c(45)}).call(this)}).call(b,c(2).Buffer)},function(a,b,c){(function(a,d){function e(b,c,d){function e(){for(var a;null!==(a=b.read());)h.push(a),i+=a.length;b.once("readable",e)}function f(a){b.removeListener("end",g),b.removeListener("readable",e),d(a)}function g(){var c=a.concat(h,i);h=[],d(null,c),b.close()}var h=[],i=0;b.on("error",f),b.on("end",g),b.end(c),e()}function f(b,c){if("string"==typeof c&&(c=new a(c)),!a.isBuffer(c))throw new TypeError("Not a string or buffer");var d=p.Z_FINISH;return b._processChunk(c,d)}function g(a){return this instanceof g?void n.call(this,a,p.DEFLATE):new g(a)}function h(a){return this instanceof h?void n.call(this,a,p.INFLATE):new h(a)}function i(a){return this instanceof i?void n.call(this,a,p.GZIP):new i(a)}function j(a){return this instanceof j?void n.call(this,a,p.GUNZIP):new j(a)}function k(a){return this instanceof k?void n.call(this,a,p.DEFLATERAW):new k(a)}function l(a){
-return this instanceof l?void n.call(this,a,p.INFLATERAW):new l(a)}function m(a){return this instanceof m?void n.call(this,a,p.UNZIP):new m(a)}function n(c,d){if(this._opts=c=c||{},this._chunkSize=c.chunkSize||b.Z_DEFAULT_CHUNK,o.call(this,c),c.flush&&c.flush!==p.Z_NO_FLUSH&&c.flush!==p.Z_PARTIAL_FLUSH&&c.flush!==p.Z_SYNC_FLUSH&&c.flush!==p.Z_FULL_FLUSH&&c.flush!==p.Z_FINISH&&c.flush!==p.Z_BLOCK)throw new Error("Invalid flush flag: "+c.flush);if(this._flushFlag=c.flush||p.Z_NO_FLUSH,c.chunkSize&&(c.chunkSize<b.Z_MIN_CHUNK||c.chunkSize>b.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+c.chunkSize);if(c.windowBits&&(c.windowBits<b.Z_MIN_WINDOWBITS||c.windowBits>b.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+c.windowBits);if(c.level&&(c.level<b.Z_MIN_LEVEL||c.level>b.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+c.level);if(c.memLevel&&(c.memLevel<b.Z_MIN_MEMLEVEL||c.memLevel>b.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+c.memLevel);if(c.strategy&&c.strategy!=b.Z_FILTERED&&c.strategy!=b.Z_HUFFMAN_ONLY&&c.strategy!=b.Z_RLE&&c.strategy!=b.Z_FIXED&&c.strategy!=b.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+c.strategy);if(c.dictionary&&!a.isBuffer(c.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._binding=new p.Zlib(d);var e=this;this._hadError=!1,this._binding.onerror=function(a,c){e._binding=null,e._hadError=!0;var d=new Error(a);d.errno=c,d.code=b.codes[c],e.emit("error",d)};var f=b.Z_DEFAULT_COMPRESSION;"number"==typeof c.level&&(f=c.level);var g=b.Z_DEFAULT_STRATEGY;"number"==typeof c.strategy&&(g=c.strategy),this._binding.init(c.windowBits||b.Z_DEFAULT_WINDOWBITS,f,c.memLevel||b.Z_DEFAULT_MEMLEVEL,g,c.dictionary),this._buffer=new a(this._chunkSize),this._offset=0,this._closed=!1,this._level=f,this._strategy=g,this.once("end",this.close)}var o=c(42),p=c(48),q=c(60),r=c(63).ok;p.Z_MIN_WINDOWBITS=8,p.Z_MAX_WINDOWBITS=15,p.Z_DEFAULT_WINDOWBITS=15,p.Z_MIN_CHUNK=64,p.Z_MAX_CHUNK=1/0,p.Z_DEFAULT_CHUNK=16384,p.Z_MIN_MEMLEVEL=1,p.Z_MAX_MEMLEVEL=9,p.Z_DEFAULT_MEMLEVEL=8,p.Z_MIN_LEVEL=-1,p.Z_MAX_LEVEL=9,p.Z_DEFAULT_LEVEL=p.Z_DEFAULT_COMPRESSION,Object.keys(p).forEach(function(a){a.match(/^Z/)&&(b[a]=p[a])}),b.codes={Z_OK:p.Z_OK,Z_STREAM_END:p.Z_STREAM_END,Z_NEED_DICT:p.Z_NEED_DICT,Z_ERRNO:p.Z_ERRNO,Z_STREAM_ERROR:p.Z_STREAM_ERROR,Z_DATA_ERROR:p.Z_DATA_ERROR,Z_MEM_ERROR:p.Z_MEM_ERROR,Z_BUF_ERROR:p.Z_BUF_ERROR,Z_VERSION_ERROR:p.Z_VERSION_ERROR},Object.keys(b.codes).forEach(function(a){b.codes[b.codes[a]]=a}),b.Deflate=g,b.Inflate=h,b.Gzip=i,b.Gunzip=j,b.DeflateRaw=k,b.InflateRaw=l,b.Unzip=m,b.createDeflate=function(a){return new g(a)},b.createInflate=function(a){return new h(a)},b.createDeflateRaw=function(a){return new k(a)},b.createInflateRaw=function(a){return new l(a)},b.createGzip=function(a){return new i(a)},b.createGunzip=function(a){return new j(a)},b.createUnzip=function(a){return new m(a)},b.deflate=function(a,b,c){return"function"==typeof b&&(c=b,b={}),e(new g(b),a,c)},b.deflateSync=function(a,b){return f(new g(b),a)},b.gzip=function(a,b,c){return"function"==typeof b&&(c=b,b={}),e(new i(b),a,c)},b.gzipSync=function(a,b){return f(new i(b),a)},b.deflateRaw=function(a,b,c){return"function"==typeof b&&(c=b,b={}),e(new k(b),a,c)},b.deflateRawSync=function(a,b){return f(new k(b),a)},b.unzip=function(a,b,c){return"function"==typeof b&&(c=b,b={}),e(new m(b),a,c)},b.unzipSync=function(a,b){return f(new m(b),a)},b.inflate=function(a,b,c){return"function"==typeof b&&(c=b,b={}),e(new h(b),a,c)},b.inflateSync=function(a,b){return f(new h(b),a)},b.gunzip=function(a,b,c){return"function"==typeof b&&(c=b,b={}),e(new j(b),a,c)},b.gunzipSync=function(a,b){return f(new j(b),a)},b.inflateRaw=function(a,b,c){return"function"==typeof b&&(c=b,b={}),e(new l(b),a,c)},b.inflateRawSync=function(a,b){return f(new l(b),a)},q.inherits(n,o),n.prototype.params=function(a,c,e){if(a<b.Z_MIN_LEVEL||a>b.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+a);if(c!=b.Z_FILTERED&&c!=b.Z_HUFFMAN_ONLY&&c!=b.Z_RLE&&c!=b.Z_FIXED&&c!=b.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+c);if(this._level!==a||this._strategy!==c){var f=this;this.flush(p.Z_SYNC_FLUSH,function(){f._binding.params(a,c),f._hadError||(f._level=a,f._strategy=c,e&&e())})}else d.nextTick(e)},n.prototype.reset=function(){return this._binding.reset()},n.prototype._flush=function(b){this._transform(new a(0),"",b)},n.prototype.flush=function(b,c){var e=this._writableState;if(("function"==typeof b||void 0===b&&!c)&&(c=b,b=p.Z_FULL_FLUSH),e.ended)c&&d.nextTick(c);else if(e.ending)c&&this.once("end",c);else if(e.needDrain){var f=this;this.once("drain",function(){f.flush(c)})}else this._flushFlag=b,this.write(new a(0),"",c)},n.prototype.close=function(a){if(a&&d.nextTick(a),!this._closed){this._closed=!0,this._binding.close();var b=this;d.nextTick(function(){b.emit("close")})}},n.prototype._transform=function(b,c,d){var e,f=this._writableState,g=f.ending||f.ended,h=g&&(!b||f.length===b.length);if(null===!b&&!a.isBuffer(b))return d(new Error("invalid input"));h?e=p.Z_FINISH:(e=this._flushFlag,b.length>=f.length&&(this._flushFlag=this._opts.flush||p.Z_NO_FLUSH));this._processChunk(b,e,d)},n.prototype._processChunk=function(b,c,d){function e(k,n){if(!i._hadError){var o=g-n;if(r(o>=0,"have should not go down"),o>0){var p=i._buffer.slice(i._offset,i._offset+o);i._offset+=o,j?i.push(p):(l.push(p),m+=p.length)}if((0===n||i._offset>=i._chunkSize)&&(g=i._chunkSize,i._offset=0,i._buffer=new a(i._chunkSize)),0===n){if(h+=f-k,f=k,!j)return!0;var q=i._binding.write(c,b,h,f,i._buffer,i._offset,i._chunkSize);return q.callback=e,void(q.buffer=b)}return j?void d():!1}}var f=b&&b.length,g=this._chunkSize-this._offset,h=0,i=this,j="function"==typeof d;if(!j){var k,l=[],m=0;this.on("error",function(a){k=a});do var n=this._binding.writeSync(c,b,h,f,this._buffer,this._offset,g);while(!this._hadError&&e(n[0],n[1]));if(this._hadError)throw k;var o=a.concat(l,m);return this.close(),o}var p=this._binding.write(c,b,h,f,this._buffer,this._offset,g);p.buffer=b,p.callback=e},q.inherits(g,n),q.inherits(h,n),q.inherits(i,n),q.inherits(j,n),q.inherits(k,n),q.inherits(l,n),q.inherits(m,n)}).call(b,c(2).Buffer,c(30))},function(a,b,c){(function(a,d){function e(a){if(a<b.DEFLATE||a>b.UNZIP)throw new TypeError("Bad argument");this.mode=a,this.init_done=!1,this.write_in_progress=!1,this.pending_close=!1,this.windowBits=0,this.level=0,this.memLevel=0,this.strategy=0,this.dictionary=null}function f(a,b){for(var c=0;c<a.length;c++)this[b+c]=a[c]}var g=c(49),h=c(50),i=c(51),j=c(56),k=c(59);for(var l in k)b[l]=k[l];b.NONE=0,b.DEFLATE=1,b.INFLATE=2,b.GZIP=3,b.GUNZIP=4,b.DEFLATERAW=5,b.INFLATERAW=6,b.UNZIP=7,e.prototype.init=function(a,c,d,e,f){switch(this.windowBits=a,this.level=c,this.memLevel=d,this.strategy=e,(this.mode===b.GZIP||this.mode===b.GUNZIP)&&(this.windowBits+=16),this.mode===b.UNZIP&&(this.windowBits+=32),(this.mode===b.DEFLATERAW||this.mode===b.INFLATERAW)&&(this.windowBits=-this.windowBits),this.strm=new h,this.mode){case b.DEFLATE:case b.GZIP:case b.DEFLATERAW:var g=i.deflateInit2(this.strm,this.level,b.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case b.INFLATE:case b.GUNZIP:case b.INFLATERAW:case b.UNZIP:var g=j.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}return g!==b.Z_OK?void this._error(g):(this.write_in_progress=!1,void(this.init_done=!0))},e.prototype.params=function(){throw new Error("deflateParams Not supported")},e.prototype._writeCheck=function(){if(!this.init_done)throw new Error("write before init");if(this.mode===b.NONE)throw new Error("already finalized");if(this.write_in_progress)throw new Error("write already in progress");if(this.pending_close)throw new Error("close is pending")},e.prototype.write=function(b,c,d,e,f,g,h){this._writeCheck(),this.write_in_progress=!0;var i=this;return a.nextTick(function(){i.write_in_progress=!1;var a=i._write(b,c,d,e,f,g,h);i.callback(a[0],a[1]),i.pending_close&&i.close()}),this},e.prototype.writeSync=function(a,b,c,d,e,f,g){return this._writeCheck(),this._write(a,b,c,d,e,f,g)},e.prototype._write=function(a,c,e,g,h,k,l){if(this.write_in_progress=!0,a!==b.Z_NO_FLUSH&&a!==b.Z_PARTIAL_FLUSH&&a!==b.Z_SYNC_FLUSH&&a!==b.Z_FULL_FLUSH&&a!==b.Z_FINISH&&a!==b.Z_BLOCK)throw new Error("Invalid flush value");null==c&&(c=new d(0),g=0,e=0),h._set?h.set=h._set:h.set=f;var m=this.strm;switch(m.avail_in=g,m.input=c,m.next_in=e,m.avail_out=l,m.output=h,m.next_out=k,this.mode){case b.DEFLATE:case b.GZIP:case b.DEFLATERAW:var n=i.deflate(m,a);break;case b.UNZIP:case b.INFLATE:case b.GUNZIP:case b.INFLATERAW:var n=j.inflate(m,a);break;default:throw new Error("Unknown mode "+this.mode)}return n!==b.Z_STREAM_END&&n!==b.Z_OK&&this._error(n),this.write_in_progress=!1,[m.avail_in,m.avail_out]},e.prototype.close=function(){return this.write_in_progress?void(this.pending_close=!0):(this.pending_close=!1,this.mode===b.DEFLATE||this.mode===b.GZIP||this.mode===b.DEFLATERAW?i.deflateEnd(this.strm):j.inflateEnd(this.strm),void(this.mode=b.NONE))},e.prototype.reset=function(){switch(this.mode){case b.DEFLATE:case b.DEFLATERAW:var a=i.deflateReset(this.strm);break;case b.INFLATE:case b.INFLATERAW:var a=j.inflateReset(this.strm)}a!==b.Z_OK&&this._error(a)},e.prototype._error=function(a){this.onerror(g[a]+": "+this.strm.msg,a),this.write_in_progress=!1,this.pending_close&&this.close()},b.Zlib=e}).call(b,c(30),c(2).Buffer)},function(a,b){"use strict";a.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},function(a,b){"use strict";function c(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}a.exports=c},function(a,b,c){"use strict";function d(a,b){return a.msg=G[b],b}function e(a){return(a<<1)-(a>4?9:0)}function f(a){for(var b=a.length;--b>=0;)a[b]=0}function g(a){var b=a.state,c=b.pending;c>a.avail_out&&(c=a.avail_out),0!==c&&(C.arraySet(a.output,b.pending_buf,b.pending_out,c,a.next_out),a.next_out+=c,b.pending_out+=c,a.total_out+=c,a.avail_out-=c,b.pending-=c,0===b.pending&&(b.pending_out=0))}function h(a,b){D._tr_flush_block(a,a.block_start>=0?a.block_start:-1,a.strstart-a.block_start,b),a.block_start=a.strstart,g(a.strm)}function i(a,b){a.pending_buf[a.pending++]=b}function j(a,b){a.pending_buf[a.pending++]=b>>>8&255,a.pending_buf[a.pending++]=255&b}function k(a,b,c,d){var e=a.avail_in;return e>d&&(e=d),0===e?0:(a.avail_in-=e,C.arraySet(b,a.input,a.next_in,e,c),1===a.state.wrap?a.adler=E(a.adler,b,e,c):2===a.state.wrap&&(a.adler=F(a.adler,b,e,c)),a.next_in+=e,a.total_in+=e,e)}function l(a,b){var c,d,e=a.max_chain_length,f=a.strstart,g=a.prev_length,h=a.nice_match,i=a.strstart>a.w_size-ja?a.strstart-(a.w_size-ja):0,j=a.window,k=a.w_mask,l=a.prev,m=a.strstart+ia,n=j[f+g-1],o=j[f+g];a.prev_length>=a.good_match&&(e>>=2),h>a.lookahead&&(h=a.lookahead);do if(c=b,j[c+g]===o&&j[c+g-1]===n&&j[c]===j[f]&&j[++c]===j[f+1]){f+=2,c++;do;while(j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&m>f);if(d=ia-(m-f),f=m-ia,d>g){if(a.match_start=b,g=d,d>=h)break;n=j[f+g-1],o=j[f+g]}}while((b=l[b&k])>i&&0!==--e);return g<=a.lookahead?g:a.lookahead}function m(a){var b,c,d,e,f,g=a.w_size;do{if(e=a.window_size-a.lookahead-a.strstart,a.strstart>=g+(g-ja)){C.arraySet(a.window,a.window,g,g,0),a.match_start-=g,a.strstart-=g,a.block_start-=g,c=a.hash_size,b=c;do d=a.head[--b],a.head[b]=d>=g?d-g:0;while(--c);c=g,b=c;do d=a.prev[--b],a.prev[b]=d>=g?d-g:0;while(--c);e+=g}if(0===a.strm.avail_in)break;if(c=k(a.strm,a.window,a.strstart+a.lookahead,e),a.lookahead+=c,a.lookahead+a.insert>=ha)for(f=a.strstart-a.insert,a.ins_h=a.window[f],a.ins_h=(a.ins_h<<a.hash_shift^a.window[f+1])&a.hash_mask;a.insert&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[f+ha-1])&a.hash_mask,a.prev[f&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=f,f++,a.insert--,!(a.lookahead+a.insert<ha)););}while(a.lookahead<ja&&0!==a.strm.avail_in)}function n(a,b){var c=65535;for(c>a.pending_buf_size-5&&(c=a.pending_buf_size-5);;){if(a.lookahead<=1){if(m(a),0===a.lookahead&&b===H)return sa;if(0===a.lookahead)break}a.strstart+=a.lookahead,a.lookahead=0;var d=a.block_start+c;if((0===a.strstart||a.strstart>=d)&&(a.lookahead=a.strstart-d,a.strstart=d,h(a,!1),0===a.strm.avail_out))return sa;if(a.strstart-a.block_start>=a.w_size-ja&&(h(a,!1),0===a.strm.avail_out))return sa}return a.insert=0,b===K?(h(a,!0),0===a.strm.avail_out?ua:va):a.strstart>a.block_start&&(h(a,!1),0===a.strm.avail_out)?sa:sa}function o(a,b){for(var c,d;;){if(a.lookahead<ja){if(m(a),a.lookahead<ja&&b===H)return sa;if(0===a.lookahead)break}if(c=0,a.lookahead>=ha&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+ha-1])&a.hash_mask,c=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),0!==c&&a.strstart-c<=a.w_size-ja&&(a.match_length=l(a,c)),a.match_length>=ha)if(d=D._tr_tally(a,a.strstart-a.match_start,a.match_length-ha),a.lookahead-=a.match_length,a.match_length<=a.max_lazy_match&&a.lookahead>=ha){a.match_length--;do a.strstart++,a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+ha-1])&a.hash_mask,c=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart;while(0!==--a.match_length);a.strstart++}else a.strstart+=a.match_length,a.match_length=0,a.ins_h=a.window[a.strstart],a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+1])&a.hash_mask;else d=D._tr_tally(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++;if(d&&(h(a,!1),0===a.strm.avail_out))return sa}return a.insert=a.strstart<ha-1?a.strstart:ha-1,b===K?(h(a,!0),0===a.strm.avail_out?ua:va):a.last_lit&&(h(a,!1),0===a.strm.avail_out)?sa:ta}function p(a,b){for(var c,d,e;;){if(a.lookahead<ja){if(m(a),a.lookahead<ja&&b===H)return sa;if(0===a.lookahead)break}if(c=0,a.lookahead>=ha&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+ha-1])&a.hash_mask,c=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),a.prev_length=a.match_length,a.prev_match=a.match_start,a.match_length=ha-1,0!==c&&a.prev_length<a.max_lazy_match&&a.strstart-c<=a.w_size-ja&&(a.match_length=l(a,c),a.match_length<=5&&(a.strategy===S||a.match_length===ha&&a.strstart-a.match_start>4096)&&(a.match_length=ha-1)),a.prev_length>=ha&&a.match_length<=a.prev_length){e=a.strstart+a.lookahead-ha,d=D._tr_tally(a,a.strstart-1-a.prev_match,a.prev_length-ha),a.lookahead-=a.prev_length-1,a.prev_length-=2;do++a.strstart<=e&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+ha-1])&a.hash_mask,c=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart);while(0!==--a.prev_length);if(a.match_available=0,a.match_length=ha-1,a.strstart++,d&&(h(a,!1),0===a.strm.avail_out))return sa}else if(a.match_available){if(d=D._tr_tally(a,0,a.window[a.strstart-1]),d&&h(a,!1),a.strstart++,a.lookahead--,0===a.strm.avail_out)return sa}else a.match_available=1,a.strstart++,a.lookahead--}return a.match_available&&(d=D._tr_tally(a,0,a.window[a.strstart-1]),a.match_available=0),a.insert=a.strstart<ha-1?a.strstart:ha-1,b===K?(h(a,!0),0===a.strm.avail_out?ua:va):a.last_lit&&(h(a,!1),0===a.strm.avail_out)?sa:ta}function q(a,b){for(var c,d,e,f,g=a.window;;){if(a.lookahead<=ia){if(m(a),a.lookahead<=ia&&b===H)return sa;if(0===a.lookahead)break}if(a.match_length=0,a.lookahead>=ha&&a.strstart>0&&(e=a.strstart-1,d=g[e],d===g[++e]&&d===g[++e]&&d===g[++e])){f=a.strstart+ia;do;while(d===g[++e]&&d===g[++e]&&d===g[++e]&&d===g[++e]&&d===g[++e]&&d===g[++e]&&d===g[++e]&&d===g[++e]&&f>e);a.match_length=ia-(f-e),a.match_length>a.lookahead&&(a.match_length=a.lookahead)}if(a.match_length>=ha?(c=D._tr_tally(a,1,a.match_length-ha),a.lookahead-=a.match_length,a.strstart+=a.match_length,a.match_length=0):(c=D._tr_tally(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++),c&&(h(a,!1),0===a.strm.avail_out))return sa}return a.insert=0,b===K?(h(a,!0),0===a.strm.avail_out?ua:va):a.last_lit&&(h(a,!1),0===a.strm.avail_out)?sa:ta}function r(a,b){for(var c;;){if(0===a.lookahead&&(m(a),0===a.lookahead)){if(b===H)return sa;break}if(a.match_length=0,c=D._tr_tally(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++,c&&(h(a,!1),0===a.strm.avail_out))return sa}return a.insert=0,b===K?(h(a,!0),0===a.strm.avail_out?ua:va):a.last_lit&&(h(a,!1),0===a.strm.avail_out)?sa:ta}function s(a){a.window_size=2*a.w_size,f(a.head),a.max_lazy_match=B[a.level].max_lazy,a.good_match=B[a.level].good_length,a.nice_match=B[a.level].nice_length,a.max_chain_length=B[a.level].max_chain,a.strstart=0,a.block_start=0,a.lookahead=0,a.insert=0,a.match_length=a.prev_length=ha-1,a.match_available=0,a.ins_h=0}function t(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Y,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new C.Buf16(2*fa),this.dyn_dtree=new C.Buf16(2*(2*da+1)),this.bl_tree=new C.Buf16(2*(2*ea+1)),f(this.dyn_ltree),f(this.dyn_dtree),f(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new C.Buf16(ga+1),this.heap=new C.Buf16(2*ca+1),f(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new C.Buf16(2*ca+1),f(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function u(a){var b;return a&&a.state?(a.total_in=a.total_out=0,a.data_type=X,b=a.state,b.pending=0,b.pending_out=0,b.wrap<0&&(b.wrap=-b.wrap),b.status=b.wrap?la:qa,a.adler=2===b.wrap?0:1,b.last_flush=H,D._tr_init(b),M):d(a,O)}function v(a){var b=u(a);return b===M&&s(a.state),b}function w(a,b){return a&&a.state?2!==a.state.wrap?O:(a.state.gzhead=b,M):O}function x(a,b,c,e,f,g){if(!a)return O;var h=1;if(b===R&&(b=6),0>e?(h=0,e=-e):e>15&&(h=2,e-=16),1>f||f>Z||c!==Y||8>e||e>15||0>b||b>9||0>g||g>V)return d(a,O);8===e&&(e=9);var i=new t;return a.state=i,i.strm=a,i.wrap=h,i.gzhead=null,i.w_bits=e,i.w_size=1<<i.w_bits,i.w_mask=i.w_size-1,i.hash_bits=f+7,i.hash_size=1<<i.hash_bits,i.hash_mask=i.hash_size-1,i.hash_shift=~~((i.hash_bits+ha-1)/ha),i.window=new C.Buf8(2*i.w_size),i.head=new C.Buf16(i.hash_size),i.prev=new C.Buf16(i.w_size),i.lit_bufsize=1<<f+6,i.pending_buf_size=4*i.lit_bufsize,i.pending_buf=new C.Buf8(i.pending_buf_size),i.d_buf=i.lit_bufsize>>1,i.l_buf=3*i.lit_bufsize,i.level=b,i.strategy=g,i.method=c,v(a)}function y(a,b){return x(a,b,Y,$,_,W)}function z(a,b){var c,h,k,l;if(!a||!a.state||b>L||0>b)return a?d(a,O):O;if(h=a.state,!a.output||!a.input&&0!==a.avail_in||h.status===ra&&b!==K)return d(a,0===a.avail_out?Q:O);if(h.strm=a,c=h.last_flush,h.last_flush=b,h.status===la)if(2===h.wrap)a.adler=0,i(h,31),i(h,139),i(h,8),h.gzhead?(i(h,(h.gzhead.text?1:0)+(h.gzhead.hcrc?2:0)+(h.gzhead.extra?4:0)+(h.gzhead.name?8:0)+(h.gzhead.comment?16:0)),i(h,255&h.gzhead.time),i(h,h.gzhead.time>>8&255),i(h,h.gzhead.time>>16&255),i(h,h.gzhead.time>>24&255),i(h,9===h.level?2:h.strategy>=T||h.level<2?4:0),i(h,255&h.gzhead.os),h.gzhead.extra&&h.gzhead.extra.length&&(i(h,255&h.gzhead.extra.length),i(h,h.gzhead.extra.length>>8&255)),h.gzhead.hcrc&&(a.adler=F(a.adler,h.pending_buf,h.pending,0)),h.gzindex=0,h.status=ma):(i(h,0),i(h,0),i(h,0),i(h,0),i(h,0),i(h,9===h.level?2:h.strategy>=T||h.level<2?4:0),i(h,wa),h.status=qa);else{var m=Y+(h.w_bits-8<<4)<<8,n=-1;n=h.strategy>=T||h.level<2?0:h.level<6?1:6===h.level?2:3,m|=n<<6,0!==h.strstart&&(m|=ka),m+=31-m%31,h.status=qa,j(h,m),0!==h.strstart&&(j(h,a.adler>>>16),j(h,65535&a.adler)),a.adler=1}if(h.status===ma)if(h.gzhead.extra){for(k=h.pending;h.gzindex<(65535&h.gzhead.extra.length)&&(h.pending!==h.pending_buf_size||(h.gzhead.hcrc&&h.pending>k&&(a.adler=F(a.adler,h.pending_buf,h.pending-k,k)),g(a),k=h.pending,h.pending!==h.pending_buf_size));)i(h,255&h.gzhead.extra[h.gzindex]),h.gzindex++;h.gzhead.hcrc&&h.pending>k&&(a.adler=F(a.adler,h.pending_buf,h.pending-k,k)),h.gzindex===h.gzhead.extra.length&&(h.gzindex=0,h.status=na)}else h.status=na;if(h.status===na)if(h.gzhead.name){k=h.pending;do{if(h.pending===h.pending_buf_size&&(h.gzhead.hcrc&&h.pending>k&&(a.adler=F(a.adler,h.pending_buf,h.pending-k,k)),g(a),k=h.pending,h.pending===h.pending_buf_size)){l=1;break}l=h.gzindex<h.gzhead.name.length?255&h.gzhead.name.charCodeAt(h.gzindex++):0,i(h,l)}while(0!==l);h.gzhead.hcrc&&h.pending>k&&(a.adler=F(a.adler,h.pending_buf,h.pending-k,k)),0===l&&(h.gzindex=0,h.status=oa)}else h.status=oa;if(h.status===oa)if(h.gzhead.comment){k=h.pending;do{if(h.pending===h.pending_buf_size&&(h.gzhead.hcrc&&h.pending>k&&(a.adler=F(a.adler,h.pending_buf,h.pending-k,k)),g(a),k=h.pending,h.pending===h.pending_buf_size)){l=1;break}l=h.gzindex<h.gzhead.comment.length?255&h.gzhead.comment.charCodeAt(h.gzindex++):0,i(h,l)}while(0!==l);h.gzhead.hcrc&&h.pending>k&&(a.adler=F(a.adler,h.pending_buf,h.pending-k,k)),0===l&&(h.status=pa)}else h.status=pa;if(h.status===pa&&(h.gzhead.hcrc?(h.pending+2>h.pending_buf_size&&g(a),h.pending+2<=h.pending_buf_size&&(i(h,255&a.adler),i(h,a.adler>>8&255),a.adler=0,h.status=qa)):h.status=qa),0!==h.pending){if(g(a),0===a.avail_out)return h.last_flush=-1,M}else if(0===a.avail_in&&e(b)<=e(c)&&b!==K)return d(a,Q);if(h.status===ra&&0!==a.avail_in)return d(a,Q);if(0!==a.avail_in||0!==h.lookahead||b!==H&&h.status!==ra){var o=h.strategy===T?r(h,b):h.strategy===U?q(h,b):B[h.level].func(h,b);if((o===ua||o===va)&&(h.status=ra),o===sa||o===ua)return 0===a.avail_out&&(h.last_flush=-1),M;if(o===ta&&(b===I?D._tr_align(h):b!==L&&(D._tr_stored_block(h,0,0,!1),b===J&&(f(h.head),0===h.lookahead&&(h.strstart=0,h.block_start=0,h.insert=0))),g(a),0===a.avail_out))return h.last_flush=-1,M}return b!==K?M:h.wrap<=0?N:(2===h.wrap?(i(h,255&a.adler),i(h,a.adler>>8&255),i(h,a.adler>>16&255),i(h,a.adler>>24&255),i(h,255&a.total_in),i(h,a.total_in>>8&255),i(h,a.total_in>>16&255),i(h,a.total_in>>24&255)):(j(h,a.adler>>>16),j(h,65535&a.adler)),g(a),h.wrap>0&&(h.wrap=-h.wrap),0!==h.pending?M:N)}function A(a){var b;return a&&a.state?(b=a.state.status,b!==la&&b!==ma&&b!==na&&b!==oa&&b!==pa&&b!==qa&&b!==ra?d(a,O):(a.state=null,b===qa?d(a,P):M)):O}var B,C=c(52),D=c(53),E=c(54),F=c(55),G=c(49),H=0,I=1,J=3,K=4,L=5,M=0,N=1,O=-2,P=-3,Q=-5,R=-1,S=1,T=2,U=3,V=4,W=0,X=2,Y=8,Z=9,$=15,_=8,aa=29,ba=256,ca=ba+1+aa,da=30,ea=19,fa=2*ca+1,ga=15,ha=3,ia=258,ja=ia+ha+1,ka=32,la=42,ma=69,na=73,oa=91,pa=103,qa=113,ra=666,sa=1,ta=2,ua=3,va=4,wa=3,xa=function(a,b,c,d,e){this.good_length=a,this.max_lazy=b,this.nice_length=c,this.max_chain=d,this.func=e};B=[new xa(0,0,0,0,n),new xa(4,4,8,4,o),new xa(4,5,16,8,o),new xa(4,6,32,32,o),new xa(4,4,16,16,p),new xa(8,16,32,32,p),new xa(8,16,128,128,p),new xa(8,32,128,256,p),new xa(32,128,258,1024,p),new xa(32,258,258,4096,p)],b.deflateInit=y,b.deflateInit2=x,b.deflateReset=v,b.deflateResetKeep=u,b.deflateSetHeader=w,b.deflate=z,b.deflateEnd=A,b.deflateInfo="pako deflate (from Nodeca project)"},function(a,b){"use strict";var c="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;b.assign=function(a){for(var b=Array.prototype.slice.call(arguments,1);b.length;){var c=b.shift();if(c){if("object"!=typeof c)throw new TypeError(c+"must be non-object");for(var d in c)c.hasOwnProperty(d)&&(a[d]=c[d])}}return a},b.shrinkBuf=function(a,b){return a.length===b?a:a.subarray?a.subarray(0,b):(a.length=b,a)};var d={arraySet:function(a,b,c,d,e){if(b.subarray&&a.subarray)return void a.set(b.subarray(c,c+d),e);for(var f=0;d>f;f++)a[e+f]=b[c+f]},flattenChunks:function(a){var b,c,d,e,f,g;for(d=0,b=0,c=a.length;c>b;b++)d+=a[b].length;for(g=new Uint8Array(d),e=0,b=0,c=a.length;c>b;b++)f=a[b],g.set(f,e),e+=f.length;return g}},e={arraySet:function(a,b,c,d,e){for(var f=0;d>f;f++)a[e+f]=b[c+f]},flattenChunks:function(a){return[].concat.apply([],a)}};b.setTyped=function(a){a?(b.Buf8=Uint8Array,b.Buf16=Uint16Array,b.Buf32=Int32Array,b.assign(b,d)):(b.Buf8=Array,b.Buf16=Array,b.Buf32=Array,b.assign(b,e))},b.setTyped(c)},function(a,b,c){"use strict";function d(a){for(var b=a.length;--b>=0;)a[b]=0}function e(a){return 256>a?ga[a]:ga[256+(a>>>7)]}function f(a,b){a.pending_buf[a.pending++]=255&b,a.pending_buf[a.pending++]=b>>>8&255}function g(a,b,c){a.bi_valid>V-c?(a.bi_buf|=b<<a.bi_valid&65535,f(a,a.bi_buf),a.bi_buf=b>>V-a.bi_valid,a.bi_valid+=c-V):(a.bi_buf|=b<<a.bi_valid&65535,a.bi_valid+=c)}function h(a,b,c){g(a,c[2*b],c[2*b+1])}function i(a,b){var c=0;do c|=1&a,a>>>=1,c<<=1;while(--b>0);return c>>>1}function j(a){16===a.bi_valid?(f(a,a.bi_buf),a.bi_buf=0,a.bi_valid=0):a.bi_valid>=8&&(a.pending_buf[a.pending++]=255&a.bi_buf,a.bi_buf>>=8,a.bi_valid-=8)}function k(a,b){var c,d,e,f,g,h,i=b.dyn_tree,j=b.max_code,k=b.stat_desc.static_tree,l=b.stat_desc.has_stree,m=b.stat_desc.extra_bits,n=b.stat_desc.extra_base,o=b.stat_desc.max_length,p=0;for(f=0;U>=f;f++)a.bl_count[f]=0;for(i[2*a.heap[a.heap_max]+1]=0,c=a.heap_max+1;T>c;c++)d=a.heap[c],f=i[2*i[2*d+1]+1]+1,f>o&&(f=o,p++),i[2*d+1]=f,d>j||(a.bl_count[f]++,g=0,d>=n&&(g=m[d-n]),h=i[2*d],a.opt_len+=h*(f+g),l&&(a.static_len+=h*(k[2*d+1]+g)));if(0!==p){do{for(f=o-1;0===a.bl_count[f];)f--;a.bl_count[f]--,a.bl_count[f+1]+=2,a.bl_count[o]--,p-=2}while(p>0);for(f=o;0!==f;f--)for(d=a.bl_count[f];0!==d;)e=a.heap[--c],e>j||(i[2*e+1]!==f&&(a.opt_len+=(f-i[2*e+1])*i[2*e],i[2*e+1]=f),d--)}}function l(a,b,c){var d,e,f=new Array(U+1),g=0;for(d=1;U>=d;d++)f[d]=g=g+c[d-1]<<1;for(e=0;b>=e;e++){var h=a[2*e+1];0!==h&&(a[2*e]=i(f[h]++,h))}}function m(){var a,b,c,d,e,f=new Array(U+1);for(c=0,d=0;O-1>d;d++)for(ia[d]=c,a=0;a<1<<_[d];a++)ha[c++]=d;for(ha[c-1]=d,e=0,d=0;16>d;d++)for(ja[d]=e,a=0;a<1<<aa[d];a++)ga[e++]=d;for(e>>=7;R>d;d++)for(ja[d]=e<<7,a=0;a<1<<aa[d]-7;a++)ga[256+e++]=d;for(b=0;U>=b;b++)f[b]=0;for(a=0;143>=a;)ea[2*a+1]=8,a++,f[8]++;for(;255>=a;)ea[2*a+1]=9,a++,f[9]++;for(;279>=a;)ea[2*a+1]=7,a++,f[7]++;for(;287>=a;)ea[2*a+1]=8,a++,f[8]++;for(l(ea,Q+1,f),a=0;R>a;a++)fa[2*a+1]=5,fa[2*a]=i(a,5);ka=new na(ea,_,P+1,Q,U),la=new na(fa,aa,0,R,U),ma=new na(new Array(0),ba,0,S,W)}function n(a){var b;for(b=0;Q>b;b++)a.dyn_ltree[2*b]=0;for(b=0;R>b;b++)a.dyn_dtree[2*b]=0;for(b=0;S>b;b++)a.bl_tree[2*b]=0;a.dyn_ltree[2*X]=1,a.opt_len=a.static_len=0,a.last_lit=a.matches=0}function o(a){a.bi_valid>8?f(a,a.bi_buf):a.bi_valid>0&&(a.pending_buf[a.pending++]=a.bi_buf),a.bi_buf=0,a.bi_valid=0}function p(a,b,c,d){o(a),d&&(f(a,c),f(a,~c)),E.arraySet(a.pending_buf,a.window,b,c,a.pending),a.pending+=c}function q(a,b,c,d){var e=2*b,f=2*c;return a[e]<a[f]||a[e]===a[f]&&d[b]<=d[c]}function r(a,b,c){for(var d=a.heap[c],e=c<<1;e<=a.heap_len&&(e<a.heap_len&&q(b,a.heap[e+1],a.heap[e],a.depth)&&e++,!q(b,d,a.heap[e],a.depth));)a.heap[c]=a.heap[e],c=e,e<<=1;a.heap[c]=d}function s(a,b,c){var d,f,i,j,k=0;if(0!==a.last_lit)do d=a.pending_buf[a.d_buf+2*k]<<8|a.pending_buf[a.d_buf+2*k+1],f=a.pending_buf[a.l_buf+k],k++,0===d?h(a,f,b):(i=ha[f],h(a,i+P+1,b),j=_[i],0!==j&&(f-=ia[i],g(a,f,j)),d--,i=e(d),h(a,i,c),j=aa[i],0!==j&&(d-=ja[i],g(a,d,j)));while(k<a.last_lit);h(a,X,b)}function t(a,b){var c,d,e,f=b.dyn_tree,g=b.stat_desc.static_tree,h=b.stat_desc.has_stree,i=b.stat_desc.elems,j=-1;for(a.heap_len=0,a.heap_max=T,c=0;i>c;c++)0!==f[2*c]?(a.heap[++a.heap_len]=j=c,a.depth[c]=0):f[2*c+1]=0;for(;a.heap_len<2;)e=a.heap[++a.heap_len]=2>j?++j:0,f[2*e]=1,a.depth[e]=0,a.opt_len--,h&&(a.static_len-=g[2*e+1]);for(b.max_code=j,c=a.heap_len>>1;c>=1;c--)r(a,f,c);e=i;do c=a.heap[1],a.heap[1]=a.heap[a.heap_len--],r(a,f,1),d=a.heap[1],a.heap[--a.heap_max]=c,a.heap[--a.heap_max]=d,f[2*e]=f[2*c]+f[2*d],a.depth[e]=(a.depth[c]>=a.depth[d]?a.depth[c]:a.depth[d])+1,f[2*c+1]=f[2*d+1]=e,a.heap[1]=e++,r(a,f,1);while(a.heap_len>=2);a.heap[--a.heap_max]=a.heap[1],k(a,b),l(f,j,a.bl_count)}function u(a,b,c){var d,e,f=-1,g=b[1],h=0,i=7,j=4;for(0===g&&(i=138,j=3),b[2*(c+1)+1]=65535,d=0;c>=d;d++)e=g,g=b[2*(d+1)+1],++h<i&&e===g||(j>h?a.bl_tree[2*e]+=h:0!==e?(e!==f&&a.bl_tree[2*e]++,a.bl_tree[2*Y]++):10>=h?a.bl_tree[2*Z]++:a.bl_tree[2*$]++,h=0,f=e,0===g?(i=138,j=3):e===g?(i=6,j=3):(i=7,j=4))}function v(a,b,c){var d,e,f=-1,i=b[1],j=0,k=7,l=4;for(0===i&&(k=138,l=3),d=0;c>=d;d++)if(e=i,i=b[2*(d+1)+1],!(++j<k&&e===i)){if(l>j){do h(a,e,a.bl_tree);while(0!==--j)}else 0!==e?(e!==f&&(h(a,e,a.bl_tree),j--),h(a,Y,a.bl_tree),g(a,j-3,2)):10>=j?(h(a,Z,a.bl_tree),g(a,j-3,3)):(h(a,$,a.bl_tree),g(a,j-11,7));j=0,f=e,0===i?(k=138,l=3):e===i?(k=6,l=3):(k=7,l=4)}}function w(a){var b;for(u(a,a.dyn_ltree,a.l_desc.max_code),u(a,a.dyn_dtree,a.d_desc.max_code),t(a,a.bl_desc),b=S-1;b>=3&&0===a.bl_tree[2*ca[b]+1];b--);return a.opt_len+=3*(b+1)+5+5+4,b}function x(a,b,c,d){var e;for(g(a,b-257,5),g(a,c-1,5),g(a,d-4,4),e=0;d>e;e++)g(a,a.bl_tree[2*ca[e]+1],3);v(a,a.dyn_ltree,b-1),v(a,a.dyn_dtree,c-1)}function y(a){var b,c=4093624447;for(b=0;31>=b;b++,c>>>=1)if(1&c&&0!==a.dyn_ltree[2*b])return G;if(0!==a.dyn_ltree[18]||0!==a.dyn_ltree[20]||0!==a.dyn_ltree[26])return H;for(b=32;P>b;b++)if(0!==a.dyn_ltree[2*b])return H;return G}function z(a){pa||(m(),pa=!0),a.l_desc=new oa(a.dyn_ltree,ka),a.d_desc=new oa(a.dyn_dtree,la),a.bl_desc=new oa(a.bl_tree,ma),a.bi_buf=0,a.bi_valid=0,n(a)}function A(a,b,c,d){g(a,(J<<1)+(d?1:0),3),p(a,b,c,!0)}function B(a){g(a,K<<1,3),h(a,X,ea),j(a)}function C(a,b,c,d){var e,f,h=0;a.level>0?(a.strm.data_type===I&&(a.strm.data_type=y(a)),t(a,a.l_desc),t(a,a.d_desc),h=w(a),e=a.opt_len+3+7>>>3,f=a.static_len+3+7>>>3,e>=f&&(e=f)):e=f=c+5,e>=c+4&&-1!==b?A(a,b,c,d):a.strategy===F||f===e?(g(a,(K<<1)+(d?1:0),3),s(a,ea,fa)):(g(a,(L<<1)+(d?1:0),3),x(a,a.l_desc.max_code+1,a.d_desc.max_code+1,h+1),s(a,a.dyn_ltree,a.dyn_dtree)),n(a),d&&o(a)}function D(a,b,c){return a.pending_buf[a.d_buf+2*a.last_lit]=b>>>8&255,a.pending_buf[a.d_buf+2*a.last_lit+1]=255&b,a.pending_buf[a.l_buf+a.last_lit]=255&c,a.last_lit++,0===b?a.dyn_ltree[2*c]++:(a.matches++,b--,a.dyn_ltree[2*(ha[c]+P+1)]++,a.dyn_dtree[2*e(b)]++),a.last_lit===a.lit_bufsize-1}var E=c(52),F=4,G=0,H=1,I=2,J=0,K=1,L=2,M=3,N=258,O=29,P=256,Q=P+1+O,R=30,S=19,T=2*Q+1,U=15,V=16,W=7,X=256,Y=16,Z=17,$=18,_=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],aa=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],ba=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],ca=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],da=512,ea=new Array(2*(Q+2));d(ea);var fa=new Array(2*R);d(fa);var ga=new Array(da);d(ga);var ha=new Array(N-M+1);d(ha);var ia=new Array(O);d(ia);var ja=new Array(R);d(ja);var ka,la,ma,na=function(a,b,c,d,e){this.static_tree=a,this.extra_bits=b,this.extra_base=c,this.elems=d,this.max_length=e,this.has_stree=a&&a.length},oa=function(a,b){this.dyn_tree=a,this.max_code=0,this.stat_desc=b},pa=!1;b._tr_init=z,b._tr_stored_block=A,b._tr_flush_block=C,b._tr_tally=D,b._tr_align=B},function(a,b){"use strict";function c(a,b,c,d){for(var e=65535&a|0,f=a>>>16&65535|0,g=0;0!==c;){g=c>2e3?2e3:c,c-=g;do e=e+b[d++]|0,f=f+e|0;while(--g);e%=65521,f%=65521}return e|f<<16|0}a.exports=c},function(a,b){"use strict";function c(){for(var a,b=[],c=0;256>c;c++){a=c;for(var d=0;8>d;d++)a=1&a?3988292384^a>>>1:a>>>1;b[c]=a}return b}function d(a,b,c,d){var f=e,g=d+c;a=-1^a;for(var h=d;g>h;h++)a=a>>>8^f[255&(a^b[h])];return-1^a}var e=c();a.exports=d},function(a,b,c){"use strict";function d(a){return(a>>>24&255)+(a>>>8&65280)+((65280&a)<<8)+((255&a)<<24)}function e(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,
-this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function f(a){var b;return a&&a.state?(b=a.state,a.total_in=a.total_out=b.total=0,a.msg="",b.wrap&&(a.adler=1&b.wrap),b.mode=K,b.last=0,b.havedict=0,b.dmax=32768,b.head=null,b.hold=0,b.bits=0,b.lencode=b.lendyn=new r.Buf32(oa),b.distcode=b.distdyn=new r.Buf32(pa),b.sane=1,b.back=-1,C):F}function g(a){var b;return a&&a.state?(b=a.state,b.wsize=0,b.whave=0,b.wnext=0,f(a)):F}function h(a,b){var c,d;return a&&a.state?(d=a.state,0>b?(c=0,b=-b):(c=(b>>4)+1,48>b&&(b&=15)),b&&(8>b||b>15)?F:(null!==d.window&&d.wbits!==b&&(d.window=null),d.wrap=c,d.wbits=b,g(a))):F}function i(a,b){var c,d;return a?(d=new e,a.state=d,d.window=null,c=h(a,b),c!==C&&(a.state=null),c):F}function j(a){return i(a,ra)}function k(a){if(sa){var b;for(p=new r.Buf32(512),q=new r.Buf32(32),b=0;144>b;)a.lens[b++]=8;for(;256>b;)a.lens[b++]=9;for(;280>b;)a.lens[b++]=7;for(;288>b;)a.lens[b++]=8;for(v(x,a.lens,0,288,p,0,a.work,{bits:9}),b=0;32>b;)a.lens[b++]=5;v(y,a.lens,0,32,q,0,a.work,{bits:5}),sa=!1}a.lencode=p,a.lenbits=9,a.distcode=q,a.distbits=5}function l(a,b,c,d){var e,f=a.state;return null===f.window&&(f.wsize=1<<f.wbits,f.wnext=0,f.whave=0,f.window=new r.Buf8(f.wsize)),d>=f.wsize?(r.arraySet(f.window,b,c-f.wsize,f.wsize,0),f.wnext=0,f.whave=f.wsize):(e=f.wsize-f.wnext,e>d&&(e=d),r.arraySet(f.window,b,c-d,e,f.wnext),d-=e,d?(r.arraySet(f.window,b,c-d,d,0),f.wnext=d,f.whave=f.wsize):(f.wnext+=e,f.wnext===f.wsize&&(f.wnext=0),f.whave<f.wsize&&(f.whave+=e))),0}function m(a,b){var c,e,f,g,h,i,j,m,n,o,p,q,oa,pa,qa,ra,sa,ta,ua,va,wa,xa,ya,za,Aa=0,Ba=new r.Buf8(4),Ca=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!a||!a.state||!a.output||!a.input&&0!==a.avail_in)return F;c=a.state,c.mode===V&&(c.mode=W),h=a.next_out,f=a.output,j=a.avail_out,g=a.next_in,e=a.input,i=a.avail_in,m=c.hold,n=c.bits,o=i,p=j,xa=C;a:for(;;)switch(c.mode){case K:if(0===c.wrap){c.mode=W;break}for(;16>n;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}if(2&c.wrap&&35615===m){c.check=0,Ba[0]=255&m,Ba[1]=m>>>8&255,c.check=t(c.check,Ba,2,0),m=0,n=0,c.mode=L;break}if(c.flags=0,c.head&&(c.head.done=!1),!(1&c.wrap)||(((255&m)<<8)+(m>>8))%31){a.msg="incorrect header check",c.mode=la;break}if((15&m)!==J){a.msg="unknown compression method",c.mode=la;break}if(m>>>=4,n-=4,wa=(15&m)+8,0===c.wbits)c.wbits=wa;else if(wa>c.wbits){a.msg="invalid window size",c.mode=la;break}c.dmax=1<<wa,a.adler=c.check=1,c.mode=512&m?T:V,m=0,n=0;break;case L:for(;16>n;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}if(c.flags=m,(255&c.flags)!==J){a.msg="unknown compression method",c.mode=la;break}if(57344&c.flags){a.msg="unknown header flags set",c.mode=la;break}c.head&&(c.head.text=m>>8&1),512&c.flags&&(Ba[0]=255&m,Ba[1]=m>>>8&255,c.check=t(c.check,Ba,2,0)),m=0,n=0,c.mode=M;case M:for(;32>n;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}c.head&&(c.head.time=m),512&c.flags&&(Ba[0]=255&m,Ba[1]=m>>>8&255,Ba[2]=m>>>16&255,Ba[3]=m>>>24&255,c.check=t(c.check,Ba,4,0)),m=0,n=0,c.mode=N;case N:for(;16>n;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}c.head&&(c.head.xflags=255&m,c.head.os=m>>8),512&c.flags&&(Ba[0]=255&m,Ba[1]=m>>>8&255,c.check=t(c.check,Ba,2,0)),m=0,n=0,c.mode=O;case O:if(1024&c.flags){for(;16>n;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}c.length=m,c.head&&(c.head.extra_len=m),512&c.flags&&(Ba[0]=255&m,Ba[1]=m>>>8&255,c.check=t(c.check,Ba,2,0)),m=0,n=0}else c.head&&(c.head.extra=null);c.mode=P;case P:if(1024&c.flags&&(q=c.length,q>i&&(q=i),q&&(c.head&&(wa=c.head.extra_len-c.length,c.head.extra||(c.head.extra=new Array(c.head.extra_len)),r.arraySet(c.head.extra,e,g,q,wa)),512&c.flags&&(c.check=t(c.check,e,q,g)),i-=q,g+=q,c.length-=q),c.length))break a;c.length=0,c.mode=Q;case Q:if(2048&c.flags){if(0===i)break a;q=0;do wa=e[g+q++],c.head&&wa&&c.length<65536&&(c.head.name+=String.fromCharCode(wa));while(wa&&i>q);if(512&c.flags&&(c.check=t(c.check,e,q,g)),i-=q,g+=q,wa)break a}else c.head&&(c.head.name=null);c.length=0,c.mode=R;case R:if(4096&c.flags){if(0===i)break a;q=0;do wa=e[g+q++],c.head&&wa&&c.length<65536&&(c.head.comment+=String.fromCharCode(wa));while(wa&&i>q);if(512&c.flags&&(c.check=t(c.check,e,q,g)),i-=q,g+=q,wa)break a}else c.head&&(c.head.comment=null);c.mode=S;case S:if(512&c.flags){for(;16>n;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}if(m!==(65535&c.check)){a.msg="header crc mismatch",c.mode=la;break}m=0,n=0}c.head&&(c.head.hcrc=c.flags>>9&1,c.head.done=!0),a.adler=c.check=0,c.mode=V;break;case T:for(;32>n;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}a.adler=c.check=d(m),m=0,n=0,c.mode=U;case U:if(0===c.havedict)return a.next_out=h,a.avail_out=j,a.next_in=g,a.avail_in=i,c.hold=m,c.bits=n,E;a.adler=c.check=1,c.mode=V;case V:if(b===A||b===B)break a;case W:if(c.last){m>>>=7&n,n-=7&n,c.mode=ia;break}for(;3>n;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}switch(c.last=1&m,m>>>=1,n-=1,3&m){case 0:c.mode=X;break;case 1:if(k(c),c.mode=ba,b===B){m>>>=2,n-=2;break a}break;case 2:c.mode=$;break;case 3:a.msg="invalid block type",c.mode=la}m>>>=2,n-=2;break;case X:for(m>>>=7&n,n-=7&n;32>n;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}if((65535&m)!==(m>>>16^65535)){a.msg="invalid stored block lengths",c.mode=la;break}if(c.length=65535&m,m=0,n=0,c.mode=Y,b===B)break a;case Y:c.mode=Z;case Z:if(q=c.length){if(q>i&&(q=i),q>j&&(q=j),0===q)break a;r.arraySet(f,e,g,q,h),i-=q,g+=q,j-=q,h+=q,c.length-=q;break}c.mode=V;break;case $:for(;14>n;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}if(c.nlen=(31&m)+257,m>>>=5,n-=5,c.ndist=(31&m)+1,m>>>=5,n-=5,c.ncode=(15&m)+4,m>>>=4,n-=4,c.nlen>286||c.ndist>30){a.msg="too many length or distance symbols",c.mode=la;break}c.have=0,c.mode=_;case _:for(;c.have<c.ncode;){for(;3>n;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}c.lens[Ca[c.have++]]=7&m,m>>>=3,n-=3}for(;c.have<19;)c.lens[Ca[c.have++]]=0;if(c.lencode=c.lendyn,c.lenbits=7,ya={bits:c.lenbits},xa=v(w,c.lens,0,19,c.lencode,0,c.work,ya),c.lenbits=ya.bits,xa){a.msg="invalid code lengths set",c.mode=la;break}c.have=0,c.mode=aa;case aa:for(;c.have<c.nlen+c.ndist;){for(;Aa=c.lencode[m&(1<<c.lenbits)-1],qa=Aa>>>24,ra=Aa>>>16&255,sa=65535&Aa,!(n>=qa);){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}if(16>sa)m>>>=qa,n-=qa,c.lens[c.have++]=sa;else{if(16===sa){for(za=qa+2;za>n;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}if(m>>>=qa,n-=qa,0===c.have){a.msg="invalid bit length repeat",c.mode=la;break}wa=c.lens[c.have-1],q=3+(3&m),m>>>=2,n-=2}else if(17===sa){for(za=qa+3;za>n;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}m>>>=qa,n-=qa,wa=0,q=3+(7&m),m>>>=3,n-=3}else{for(za=qa+7;za>n;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}m>>>=qa,n-=qa,wa=0,q=11+(127&m),m>>>=7,n-=7}if(c.have+q>c.nlen+c.ndist){a.msg="invalid bit length repeat",c.mode=la;break}for(;q--;)c.lens[c.have++]=wa}}if(c.mode===la)break;if(0===c.lens[256]){a.msg="invalid code -- missing end-of-block",c.mode=la;break}if(c.lenbits=9,ya={bits:c.lenbits},xa=v(x,c.lens,0,c.nlen,c.lencode,0,c.work,ya),c.lenbits=ya.bits,xa){a.msg="invalid literal/lengths set",c.mode=la;break}if(c.distbits=6,c.distcode=c.distdyn,ya={bits:c.distbits},xa=v(y,c.lens,c.nlen,c.ndist,c.distcode,0,c.work,ya),c.distbits=ya.bits,xa){a.msg="invalid distances set",c.mode=la;break}if(c.mode=ba,b===B)break a;case ba:c.mode=ca;case ca:if(i>=6&&j>=258){a.next_out=h,a.avail_out=j,a.next_in=g,a.avail_in=i,c.hold=m,c.bits=n,u(a,p),h=a.next_out,f=a.output,j=a.avail_out,g=a.next_in,e=a.input,i=a.avail_in,m=c.hold,n=c.bits,c.mode===V&&(c.back=-1);break}for(c.back=0;Aa=c.lencode[m&(1<<c.lenbits)-1],qa=Aa>>>24,ra=Aa>>>16&255,sa=65535&Aa,!(n>=qa);){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}if(ra&&0===(240&ra)){for(ta=qa,ua=ra,va=sa;Aa=c.lencode[va+((m&(1<<ta+ua)-1)>>ta)],qa=Aa>>>24,ra=Aa>>>16&255,sa=65535&Aa,!(n>=ta+qa);){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}m>>>=ta,n-=ta,c.back+=ta}if(m>>>=qa,n-=qa,c.back+=qa,c.length=sa,0===ra){c.mode=ha;break}if(32&ra){c.back=-1,c.mode=V;break}if(64&ra){a.msg="invalid literal/length code",c.mode=la;break}c.extra=15&ra,c.mode=da;case da:if(c.extra){for(za=c.extra;za>n;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}c.length+=m&(1<<c.extra)-1,m>>>=c.extra,n-=c.extra,c.back+=c.extra}c.was=c.length,c.mode=ea;case ea:for(;Aa=c.distcode[m&(1<<c.distbits)-1],qa=Aa>>>24,ra=Aa>>>16&255,sa=65535&Aa,!(n>=qa);){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}if(0===(240&ra)){for(ta=qa,ua=ra,va=sa;Aa=c.distcode[va+((m&(1<<ta+ua)-1)>>ta)],qa=Aa>>>24,ra=Aa>>>16&255,sa=65535&Aa,!(n>=ta+qa);){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}m>>>=ta,n-=ta,c.back+=ta}if(m>>>=qa,n-=qa,c.back+=qa,64&ra){a.msg="invalid distance code",c.mode=la;break}c.offset=sa,c.extra=15&ra,c.mode=fa;case fa:if(c.extra){for(za=c.extra;za>n;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}c.offset+=m&(1<<c.extra)-1,m>>>=c.extra,n-=c.extra,c.back+=c.extra}if(c.offset>c.dmax){a.msg="invalid distance too far back",c.mode=la;break}c.mode=ga;case ga:if(0===j)break a;if(q=p-j,c.offset>q){if(q=c.offset-q,q>c.whave&&c.sane){a.msg="invalid distance too far back",c.mode=la;break}q>c.wnext?(q-=c.wnext,oa=c.wsize-q):oa=c.wnext-q,q>c.length&&(q=c.length),pa=c.window}else pa=f,oa=h-c.offset,q=c.length;q>j&&(q=j),j-=q,c.length-=q;do f[h++]=pa[oa++];while(--q);0===c.length&&(c.mode=ca);break;case ha:if(0===j)break a;f[h++]=c.length,j--,c.mode=ca;break;case ia:if(c.wrap){for(;32>n;){if(0===i)break a;i--,m|=e[g++]<<n,n+=8}if(p-=j,a.total_out+=p,c.total+=p,p&&(a.adler=c.check=c.flags?t(c.check,f,p,h-p):s(c.check,f,p,h-p)),p=j,(c.flags?m:d(m))!==c.check){a.msg="incorrect data check",c.mode=la;break}m=0,n=0}c.mode=ja;case ja:if(c.wrap&&c.flags){for(;32>n;){if(0===i)break a;i--,m+=e[g++]<<n,n+=8}if(m!==(4294967295&c.total)){a.msg="incorrect length check",c.mode=la;break}m=0,n=0}c.mode=ka;case ka:xa=D;break a;case la:xa=G;break a;case ma:return H;case na:default:return F}return a.next_out=h,a.avail_out=j,a.next_in=g,a.avail_in=i,c.hold=m,c.bits=n,(c.wsize||p!==a.avail_out&&c.mode<la&&(c.mode<ia||b!==z))&&l(a,a.output,a.next_out,p-a.avail_out)?(c.mode=ma,H):(o-=a.avail_in,p-=a.avail_out,a.total_in+=o,a.total_out+=p,c.total+=p,c.wrap&&p&&(a.adler=c.check=c.flags?t(c.check,f,p,a.next_out-p):s(c.check,f,p,a.next_out-p)),a.data_type=c.bits+(c.last?64:0)+(c.mode===V?128:0)+(c.mode===ba||c.mode===Y?256:0),(0===o&&0===p||b===z)&&xa===C&&(xa=I),xa)}function n(a){if(!a||!a.state)return F;var b=a.state;return b.window&&(b.window=null),a.state=null,C}function o(a,b){var c;return a&&a.state?(c=a.state,0===(2&c.wrap)?F:(c.head=b,b.done=!1,C)):F}var p,q,r=c(52),s=c(54),t=c(55),u=c(57),v=c(58),w=0,x=1,y=2,z=4,A=5,B=6,C=0,D=1,E=2,F=-2,G=-3,H=-4,I=-5,J=8,K=1,L=2,M=3,N=4,O=5,P=6,Q=7,R=8,S=9,T=10,U=11,V=12,W=13,X=14,Y=15,Z=16,$=17,_=18,aa=19,ba=20,ca=21,da=22,ea=23,fa=24,ga=25,ha=26,ia=27,ja=28,ka=29,la=30,ma=31,na=32,oa=852,pa=592,qa=15,ra=qa,sa=!0;b.inflateReset=g,b.inflateReset2=h,b.inflateResetKeep=f,b.inflateInit=j,b.inflateInit2=i,b.inflate=m,b.inflateEnd=n,b.inflateGetHeader=o,b.inflateInfo="pako inflate (from Nodeca project)"},function(a,b){"use strict";var c=30,d=12;a.exports=function(a,b){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C;e=a.state,f=a.next_in,B=a.input,g=f+(a.avail_in-5),h=a.next_out,C=a.output,i=h-(b-a.avail_out),j=h+(a.avail_out-257),k=e.dmax,l=e.wsize,m=e.whave,n=e.wnext,o=e.window,p=e.hold,q=e.bits,r=e.lencode,s=e.distcode,t=(1<<e.lenbits)-1,u=(1<<e.distbits)-1;a:do{15>q&&(p+=B[f++]<<q,q+=8,p+=B[f++]<<q,q+=8),v=r[p&t];b:for(;;){if(w=v>>>24,p>>>=w,q-=w,w=v>>>16&255,0===w)C[h++]=65535&v;else{if(!(16&w)){if(0===(64&w)){v=r[(65535&v)+(p&(1<<w)-1)];continue b}if(32&w){e.mode=d;break a}a.msg="invalid literal/length code",e.mode=c;break a}x=65535&v,w&=15,w&&(w>q&&(p+=B[f++]<<q,q+=8),x+=p&(1<<w)-1,p>>>=w,q-=w),15>q&&(p+=B[f++]<<q,q+=8,p+=B[f++]<<q,q+=8),v=s[p&u];c:for(;;){if(w=v>>>24,p>>>=w,q-=w,w=v>>>16&255,!(16&w)){if(0===(64&w)){v=s[(65535&v)+(p&(1<<w)-1)];continue c}a.msg="invalid distance code",e.mode=c;break a}if(y=65535&v,w&=15,w>q&&(p+=B[f++]<<q,q+=8,w>q&&(p+=B[f++]<<q,q+=8)),y+=p&(1<<w)-1,y>k){a.msg="invalid distance too far back",e.mode=c;break a}if(p>>>=w,q-=w,w=h-i,y>w){if(w=y-w,w>m&&e.sane){a.msg="invalid distance too far back",e.mode=c;break a}if(z=0,A=o,0===n){if(z+=l-w,x>w){x-=w;do C[h++]=o[z++];while(--w);z=h-y,A=C}}else if(w>n){if(z+=l+n-w,w-=n,x>w){x-=w;do C[h++]=o[z++];while(--w);if(z=0,x>n){w=n,x-=w;do C[h++]=o[z++];while(--w);z=h-y,A=C}}}else if(z+=n-w,x>w){x-=w;do C[h++]=o[z++];while(--w);z=h-y,A=C}for(;x>2;)C[h++]=A[z++],C[h++]=A[z++],C[h++]=A[z++],x-=3;x&&(C[h++]=A[z++],x>1&&(C[h++]=A[z++]))}else{z=h-y;do C[h++]=C[z++],C[h++]=C[z++],C[h++]=C[z++],x-=3;while(x>2);x&&(C[h++]=C[z++],x>1&&(C[h++]=C[z++]))}break}}break}}while(g>f&&j>h);x=q>>3,f-=x,q-=x<<3,p&=(1<<q)-1,a.next_in=f,a.next_out=h,a.avail_in=g>f?5+(g-f):5-(f-g),a.avail_out=j>h?257+(j-h):257-(h-j),e.hold=p,e.bits=q}},function(a,b,c){"use strict";var d=c(52),e=15,f=852,g=592,h=0,i=1,j=2,k=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],l=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],m=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],n=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];a.exports=function(a,b,c,o,p,q,r,s){var t,u,v,w,x,y,z,A,B,C=s.bits,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=null,O=0,P=new d.Buf16(e+1),Q=new d.Buf16(e+1),R=null,S=0;for(D=0;e>=D;D++)P[D]=0;for(E=0;o>E;E++)P[b[c+E]]++;for(H=C,G=e;G>=1&&0===P[G];G--);if(H>G&&(H=G),0===G)return p[q++]=20971520,p[q++]=20971520,s.bits=1,0;for(F=1;G>F&&0===P[F];F++);for(F>H&&(H=F),K=1,D=1;e>=D;D++)if(K<<=1,K-=P[D],0>K)return-1;if(K>0&&(a===h||1!==G))return-1;for(Q[1]=0,D=1;e>D;D++)Q[D+1]=Q[D]+P[D];for(E=0;o>E;E++)0!==b[c+E]&&(r[Q[b[c+E]]++]=E);if(a===h?(N=R=r,y=19):a===i?(N=k,O-=257,R=l,S-=257,y=256):(N=m,R=n,y=-1),M=0,E=0,D=F,x=q,I=H,J=0,v=-1,L=1<<H,w=L-1,a===i&&L>f||a===j&&L>g)return 1;for(var T=0;;){T++,z=D-J,r[E]<y?(A=0,B=r[E]):r[E]>y?(A=R[S+r[E]],B=N[O+r[E]]):(A=96,B=0),t=1<<D-J,u=1<<I,F=u;do u-=t,p[x+(M>>J)+u]=z<<24|A<<16|B|0;while(0!==u);for(t=1<<D-1;M&t;)t>>=1;if(0!==t?(M&=t-1,M+=t):M=0,E++,0===--P[D]){if(D===G)break;D=b[c+r[E]]}if(D>H&&(M&w)!==v){for(0===J&&(J=H),x+=F,I=D-J,K=1<<I;G>I+J&&(K-=P[I+J],!(0>=K));)I++,K<<=1;if(L+=1<<I,a===i&&L>f||a===j&&L>g)return 1;v=M&w,p[v]=H<<24|I<<16|x-q|0}}return 0!==M&&(p[x+M]=D-J<<24|64<<16|0),s.bits=H,0}},function(a,b){a.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(a,b,c){(function(a,d){function e(a,c){var d={seen:[],stylize:g};return arguments.length>=3&&(d.depth=arguments[2]),arguments.length>=4&&(d.colors=arguments[3]),p(c)?d.showHidden=c:c&&b._extend(d,c),v(d.showHidden)&&(d.showHidden=!1),v(d.depth)&&(d.depth=2),v(d.colors)&&(d.colors=!1),v(d.customInspect)&&(d.customInspect=!0),d.colors&&(d.stylize=f),i(d,a,d.depth)}function f(a,b){var c=e.styles[b];return c?"\e["+e.colors[c][0]+"m"+a+"\e["+e.colors[c][1]+"m":a}function g(a,b){return a}function h(a){var b={};return a.forEach(function(a,c){b[a]=!0}),b}function i(a,c,d){if(a.customInspect&&c&&A(c.inspect)&&c.inspect!==b.inspect&&(!c.constructor||c.constructor.prototype!==c)){var e=c.inspect(d,a);return t(e)||(e=i(a,e,d)),e}var f=j(a,c);if(f)return f;var g=Object.keys(c),p=h(g);if(a.showHidden&&(g=Object.getOwnPropertyNames(c)),z(c)&&(g.indexOf("message")>=0||g.indexOf("description")>=0))return k(c);if(0===g.length){if(A(c)){var q=c.name?": "+c.name:"";return a.stylize("[Function"+q+"]","special")}if(w(c))return a.stylize(RegExp.prototype.toString.call(c),"regexp");if(y(c))return a.stylize(Date.prototype.toString.call(c),"date");if(z(c))return k(c)}var r="",s=!1,u=["{","}"];if(o(c)&&(s=!0,u=["[","]"]),A(c)){var v=c.name?": "+c.name:"";r=" [Function"+v+"]"}if(w(c)&&(r=" "+RegExp.prototype.toString.call(c)),y(c)&&(r=" "+Date.prototype.toUTCString.call(c)),z(c)&&(r=" "+k(c)),0===g.length&&(!s||0==c.length))return u[0]+r+u[1];if(0>d)return w(c)?a.stylize(RegExp.prototype.toString.call(c),"regexp"):a.stylize("[Object]","special");a.seen.push(c);var x;return x=s?l(a,c,d,p,g):g.map(function(b){return m(a,c,d,p,b,s)}),a.seen.pop(),n(x,r,u)}function j(a,b){if(v(b))return a.stylize("undefined","undefined");if(t(b)){var c="'"+JSON.stringify(b).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return a.stylize(c,"string")}return s(b)?a.stylize(""+b,"number"):p(b)?a.stylize(""+b,"boolean"):q(b)?a.stylize("null","null"):void 0}function k(a){return"["+Error.prototype.toString.call(a)+"]"}function l(a,b,c,d,e){for(var f=[],g=0,h=b.length;h>g;++g)F(b,String(g))?f.push(m(a,b,c,d,String(g),!0)):f.push("");return e.forEach(function(e){e.match(/^\d+$/)||f.push(m(a,b,c,d,e,!0))}),f}function m(a,b,c,d,e,f){var g,h,j;if(j=Object.getOwnPropertyDescriptor(b,e)||{value:b[e]},j.get?h=j.set?a.stylize("[Getter/Setter]","special"):a.stylize("[Getter]","special"):j.set&&(h=a.stylize("[Setter]","special")),F(d,e)||(g="["+e+"]"),h||(a.seen.indexOf(j.value)<0?(h=q(c)?i(a,j.value,null):i(a,j.value,c-1),h.indexOf("\n")>-1&&(h=f?h.split("\n").map(function(a){return"  "+a}).join("\n").substr(2):"\n"+h.split("\n").map(function(a){return"   "+a}).join("\n"))):h=a.stylize("[Circular]","special")),v(g)){if(f&&e.match(/^\d+$/))return h;g=JSON.stringify(""+e),g.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(g=g.substr(1,g.length-2),g=a.stylize(g,"name")):(g=g.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),g=a.stylize(g,"string"))}return g+": "+h}function n(a,b,c){var d=0,e=a.reduce(function(a,b){return d++,b.indexOf("\n")>=0&&d++,a+b.replace(/\u001b\[\d\d?m/g,"").length+1},0);return e>60?c[0]+(""===b?"":b+"\n ")+" "+a.join(",\n  ")+" "+c[1]:c[0]+b+" "+a.join(", ")+" "+c[1]}function o(a){return Array.isArray(a)}function p(a){return"boolean"==typeof a}function q(a){return null===a}function r(a){return null==a}function s(a){return"number"==typeof a}function t(a){return"string"==typeof a}function u(a){return"symbol"==typeof a}function v(a){return void 0===a}function w(a){return x(a)&&"[object RegExp]"===C(a)}function x(a){return"object"==typeof a&&null!==a}function y(a){return x(a)&&"[object Date]"===C(a)}function z(a){return x(a)&&("[object Error]"===C(a)||a instanceof Error)}function A(a){return"function"==typeof a}function B(a){return null===a||"boolean"==typeof a||"number"==typeof a||"string"==typeof a||"symbol"==typeof a||"undefined"==typeof a}function C(a){return Object.prototype.toString.call(a)}function D(a){return 10>a?"0"+a.toString(10):a.toString(10)}function E(){var a=new Date,b=[D(a.getHours()),D(a.getMinutes()),D(a.getSeconds())].join(":");return[a.getDate(),J[a.getMonth()],b].join(" ")}function F(a,b){return Object.prototype.hasOwnProperty.call(a,b)}var G=/%[sdj%]/g;b.format=function(a){if(!t(a)){for(var b=[],c=0;c<arguments.length;c++)b.push(e(arguments[c]));return b.join(" ")}for(var c=1,d=arguments,f=d.length,g=String(a).replace(G,function(a){if("%%"===a)return"%";if(c>=f)return a;switch(a){case"%s":return String(d[c++]);case"%d":return Number(d[c++]);case"%j":try{return JSON.stringify(d[c++])}catch(b){return"[Circular]"}default:return a}}),h=d[c];f>c;h=d[++c])g+=q(h)||!x(h)?" "+h:" "+e(h);return g},b.deprecate=function(c,e){function f(){if(!g){if(d.throwDeprecation)throw new Error(e);d.traceDeprecation?console.trace(e):console.error(e),g=!0}return c.apply(this,arguments)}if(v(a.process))return function(){return b.deprecate(c,e).apply(this,arguments)};if(d.noDeprecation===!0)return c;var g=!1;return f};var H,I={};b.debuglog=function(a){if(v(H)&&(H=d.env.NODE_DEBUG||""),a=a.toUpperCase(),!I[a])if(new RegExp("\\b"+a+"\\b","i").test(H)){var c=d.pid;I[a]=function(){var d=b.format.apply(b,arguments);console.error("%s %d: %s",a,c,d)}}else I[a]=function(){};return I[a]},b.inspect=e,e.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},e.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},b.isArray=o,b.isBoolean=p,b.isNull=q,b.isNullOrUndefined=r,b.isNumber=s,b.isString=t,b.isSymbol=u,b.isUndefined=v,b.isRegExp=w,b.isObject=x,b.isDate=y,b.isError=z,b.isFunction=A,b.isPrimitive=B,b.isBuffer=c(61);var J=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];b.log=function(){console.log("%s - %s",E(),b.format.apply(b,arguments))},b.inherits=c(62),b._extend=function(a,b){if(!b||!x(b))return a;for(var c=Object.keys(b),d=c.length;d--;)a[c[d]]=b[c[d]];return a}}).call(b,function(){return this}(),c(30))},function(a,b){a.exports=function(a){return a&&"object"==typeof a&&"function"==typeof a.copy&&"function"==typeof a.fill&&"function"==typeof a.readUInt8}},function(a,b){"function"==typeof Object.create?a.exports=function(a,b){a.super_=b,a.prototype=Object.create(b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:a.exports=function(a,b){a.super_=b;var c=function(){};c.prototype=b.prototype,a.prototype=new c,a.prototype.constructor=a}},function(a,b,c){function d(a,b){return n.isUndefined(b)?""+b:n.isNumber(b)&&!isFinite(b)?b.toString():n.isFunction(b)||n.isRegExp(b)?b.toString():b}function e(a,b){return n.isString(a)?a.length<b?a:a.slice(0,b):a}function f(a){return e(JSON.stringify(a.actual,d),128)+" "+a.operator+" "+e(JSON.stringify(a.expected,d),128)}function g(a,b,c,d,e){throw new q.AssertionError({message:c,actual:a,expected:b,operator:d,stackStartFunction:e})}function h(a,b){a||g(a,!0,b,"==",q.ok)}function i(a,b){if(a===b)return!0;if(n.isBuffer(a)&&n.isBuffer(b)){if(a.length!=b.length)return!1;for(var c=0;c<a.length;c++)if(a[c]!==b[c])return!1;return!0}return n.isDate(a)&&n.isDate(b)?a.getTime()===b.getTime():n.isRegExp(a)&&n.isRegExp(b)?a.source===b.source&&a.global===b.global&&a.multiline===b.multiline&&a.lastIndex===b.lastIndex&&a.ignoreCase===b.ignoreCase:n.isObject(a)||n.isObject(b)?k(a,b):a==b}function j(a){return"[object Arguments]"==Object.prototype.toString.call(a)}function k(a,b){if(n.isNullOrUndefined(a)||n.isNullOrUndefined(b))return!1;if(a.prototype!==b.prototype)return!1;if(n.isPrimitive(a)||n.isPrimitive(b))return a===b;var c=j(a),d=j(b);if(c&&!d||!c&&d)return!1;if(c)return a=o.call(a),b=o.call(b),i(a,b);var e,f,g=r(a),h=r(b);if(g.length!=h.length)return!1;for(g.sort(),h.sort(),f=g.length-1;f>=0;f--)if(g[f]!=h[f])return!1;for(f=g.length-1;f>=0;f--)if(e=g[f],!i(a[e],b[e]))return!1;return!0}function l(a,b){return a&&b?"[object RegExp]"==Object.prototype.toString.call(b)?b.test(a):a instanceof b?!0:b.call({},a)===!0?!0:!1:!1}function m(a,b,c,d){var e;n.isString(c)&&(d=c,c=null);try{b()}catch(f){e=f}if(d=(c&&c.name?" ("+c.name+").":".")+(d?" "+d:"."),a&&!e&&g(e,c,"Missing expected exception"+d),!a&&l(e,c)&&g(e,c,"Got unwanted exception"+d),a&&e&&c&&!l(e,c)||!a&&e)throw e}var n=c(60),o=Array.prototype.slice,p=Object.prototype.hasOwnProperty,q=a.exports=h;q.AssertionError=function(a){this.name="AssertionError",this.actual=a.actual,this.expected=a.expected,this.operator=a.operator,a.message?(this.message=a.message,this.generatedMessage=!1):(this.message=f(this),this.generatedMessage=!0);var b=a.stackStartFunction||g;if(Error.captureStackTrace)Error.captureStackTrace(this,b);else{var c=new Error;if(c.stack){var d=c.stack,e=b.name,h=d.indexOf("\n"+e);if(h>=0){var i=d.indexOf("\n",h+1);d=d.substring(i+1)}this.stack=d}}},n.inherits(q.AssertionError,Error),q.fail=g,q.ok=h,q.equal=function(a,b,c){a!=b&&g(a,b,c,"==",q.equal)},q.notEqual=function(a,b,c){a==b&&g(a,b,c,"!=",q.notEqual)},q.deepEqual=function(a,b,c){i(a,b)||g(a,b,c,"deepEqual",q.deepEqual)},q.notDeepEqual=function(a,b,c){i(a,b)&&g(a,b,c,"notDeepEqual",q.notDeepEqual)},q.strictEqual=function(a,b,c){a!==b&&g(a,b,c,"===",q.strictEqual)},q.notStrictEqual=function(a,b,c){a===b&&g(a,b,c,"!==",q.notStrictEqual)},q["throws"]=function(a,b,c){m.apply(this,[!0].concat(o.call(arguments)))},q.doesNotThrow=function(a,b){m.apply(this,[!1].concat(o.call(arguments)))},q.ifError=function(a){if(a)throw a};var r=Object.keys||function(a){var b=[];for(var c in a)p.call(a,c)&&b.push(c);return b}},function(a,b){(function(){var b;b=function(){function a(a,d){var e;this.document=a,null==d&&(d={}),this.size=d.size||"letter",this.layout=d.layout||"portrait","number"==typeof d.margin?this.margins={top:d.margin,left:d.margin,bottom:d.margin,right:d.margin}:this.margins=d.margins||b,e=Array.isArray(this.size)?this.size:c[this.size.toUpperCase()],this.width=e["portrait"===this.layout?0:1],this.height=e["portrait"===this.layout?1:0],this.content=this.document.ref(),this.resources=this.document.ref({ProcSet:["PDF","Text","ImageB","ImageC","ImageI"]}),Object.defineProperties(this,{fonts:{get:function(a){return function(){var b;return null!=(b=a.resources.data).Font?b.Font:b.Font={}}}(this)},xobjects:{get:function(a){return function(){var b;return null!=(b=a.resources.data).XObject?b.XObject:b.XObject={}}}(this)},ext_gstates:{get:function(a){return function(){var b;return null!=(b=a.resources.data).ExtGState?b.ExtGState:b.ExtGState={}}}(this)},patterns:{get:function(a){return function(){var b;return null!=(b=a.resources.data).Pattern?b.Pattern:b.Pattern={}}}(this)},annotations:{get:function(a){return function(){var b;return null!=(b=a.dictionary.data).Annots?b.Annots:b.Annots=[]}}(this)}}),this.dictionary=this.document.ref({Type:"Page",Parent:this.document._root.data.Pages,MediaBox:[0,0,this.width,this.height],Contents:this.content,Resources:this.resources})}var b,c;return a.prototype.maxY=function(){return this.height-this.margins.bottom},a.prototype.write=function(a){return this.content.write(a)},a.prototype.end=function(){return this.dictionary.end(),this.resources.end(),this.content.end()},b={top:72,left:72,bottom:72,right:72},c={"4A0":[4767.87,6740.79],"2A0":[3370.39,4767.87],A0:[2383.94,3370.39],A1:[1683.78,2383.94],A2:[1190.55,1683.78],A3:[841.89,1190.55],A4:[595.28,841.89],A5:[419.53,595.28],A6:[297.64,419.53],A7:[209.76,297.64],A8:[147.4,209.76],A9:[104.88,147.4],A10:[73.7,104.88],B0:[2834.65,4008.19],B1:[2004.09,2834.65],B2:[1417.32,2004.09],B3:[1000.63,1417.32],B4:[708.66,1000.63],B5:[498.9,708.66],B6:[354.33,498.9],B7:[249.45,354.33],B8:[175.75,249.45],B9:[124.72,175.75],B10:[87.87,124.72],C0:[2599.37,3676.54],C1:[1836.85,2599.37],C2:[1298.27,1836.85],C3:[918.43,1298.27],C4:[649.13,918.43],C5:[459.21,649.13],C6:[323.15,459.21],C7:[229.61,323.15],C8:[161.57,229.61],C9:[113.39,161.57],C10:[79.37,113.39],RA0:[2437.8,3458.27],RA1:[1729.13,2437.8],RA2:[1218.9,1729.13],RA3:[864.57,1218.9],RA4:[609.45,864.57],SRA0:[2551.18,3628.35],SRA1:[1814.17,2551.18],SRA2:[1275.59,1814.17],SRA3:[907.09,1275.59],SRA4:[637.8,907.09],EXECUTIVE:[521.86,756],FOLIO:[612,936],LEGAL:[612,1008],LETTER:[612,792],TABLOID:[792,1224]},a}(),a.exports=b}).call(this)},function(a,b,c){(function(){var b,d,e,f,g;g=c(66),b=g.PDFGradient,d=g.PDFLinearGradient,e=g.PDFRadialGradient,a.exports={initColor:function(){return this._opacityRegistry={},this._opacityCount=0,this._gradCount=0},_normalizeColor:function(a){var c,d;return a instanceof b?a:("string"==typeof a&&("#"===a.charAt(0)?(4===a.length&&(a=a.replace(/#([0-9A-F])([0-9A-F])([0-9A-F])/i,"#$1$1$2$2$3$3")),c=parseInt(a.slice(1),16),a=[c>>16,c>>8&255,255&c]):f[a]&&(a=f[a])),Array.isArray(a)?(3===a.length?a=function(){var b,c,e;for(e=[],b=0,c=a.length;c>b;b++)d=a[b],e.push(d/255);return e}():4===a.length&&(a=function(){var b,c,e;for(e=[],b=0,c=a.length;c>b;b++)d=a[b],e.push(d/100);return e}()),a):null)},_setColor:function(a,c){var d,e,f,g;return(a=this._normalizeColor(a))?(this._sMasked&&(d=this.ref({Type:"ExtGState",SMask:"None"}),d.end(),e="Gs"+ ++this._opacityCount,this.page.ext_gstates[e]=d,this.addContent("/"+e+" gs"),this._sMasked=!1),f=c?"SCN":"scn",a instanceof b?(this._setColorSpace("Pattern",c),a.apply(f)):(g=4===a.length?"DeviceCMYK":"DeviceRGB",this._setColorSpace(g,c),a=a.join(" "),this.addContent(""+a+" "+f)),!0):!1},_setColorSpace:function(a,b){var c;return c=b?"CS":"cs",this.addContent("/"+a+" "+c)},fillColor:function(a,b){var c;return null==b&&(b=1),c=this._setColor(a,!1),c&&this.fillOpacity(b),this._fillColor=[a,b],this},strokeColor:function(a,b){var c;return null==b&&(b=1),c=this._setColor(a,!0),c&&this.strokeOpacity(b),this},opacity:function(a){return this._doOpacity(a,a),this},fillOpacity:function(a){return this._doOpacity(a,null),this},strokeOpacity:function(a){return this._doOpacity(null,a),this},_doOpacity:function(a,b){var c,d,e,f,g;if(null!=a||null!=b)return null!=a&&(a=Math.max(0,Math.min(1,a))),null!=b&&(b=Math.max(0,Math.min(1,b))),e=""+a+"_"+b,this._opacityRegistry[e]?(g=this._opacityRegistry[e],c=g[0],f=g[1]):(c={Type:"ExtGState"},null!=a&&(c.ca=a),null!=b&&(c.CA=b),c=this.ref(c),c.end(),d=++this._opacityCount,f="Gs"+d,this._opacityRegistry[e]=[c,f]),this.page.ext_gstates[f]=c,this.addContent("/"+f+" gs")},linearGradient:function(a,b,c,e){return new d(this,a,b,c,e)},radialGradient:function(a,b,c,d,f,g){return new e(this,a,b,c,d,f,g)}},f={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],
-palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}).call(this)},function(a,b){(function(){var b,c,d,e={}.hasOwnProperty,f=function(a,b){function c(){this.constructor=a}for(var d in b)e.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a};b=function(){function a(a){this.doc=a,this.stops=[],this.embedded=!1,this.transform=[1,0,0,1,0,0],this._colorSpace="DeviceRGB"}return a.prototype.stop=function(a,b,c){return null==c&&(c=1),c=Math.max(0,Math.min(1,c)),this.stops.push([a,this.doc._normalizeColor(b),c]),this},a.prototype.embed=function(){var 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,A,B,C,D,E,F,G,H,I,J;if(!this.embedded&&0!==this.stops.length){for(this.embedded=!0,k=this.stops[this.stops.length-1],k[0]<1&&this.stops.push([1,k[1],k[2]]),a=[],d=[],C=[],j=E=0,H=this.stops.length-1;H>=0?H>E:E>H;j=H>=0?++E:--E)d.push(0,1),j+2!==this.stops.length&&a.push(this.stops[j+1][0]),e=this.doc.ref({FunctionType:2,Domain:[0,1],C0:this.stops[j+0][1],C1:this.stops[j+1][1],N:1}),C.push(e),e.end();if(1===C.length?e=C[0]:(e=this.doc.ref({FunctionType:3,Domain:[0,1],Functions:C,Bounds:a,Encode:d}),e.end()),this.id="Sh"+ ++this.doc._gradCount,l=this.doc._ctm.slice(),m=l[0],n=l[1],q=l[2],t=l[3],u=l[4],v=l[5],I=this.transform,o=I[0],p=I[1],r=I[2],s=I[3],b=I[4],c=I[5],l[0]=m*o+q*p,l[1]=n*o+t*p,l[2]=m*r+q*s,l[3]=n*r+t*s,l[4]=m*b+q*c+u,l[5]=n*b+t*c+v,A=this.shader(e),A.end(),x=this.doc.ref({Type:"Pattern",PatternType:2,Shading:A,Matrix:function(){var a,b,c;for(c=[],a=0,b=l.length;b>a;a++)D=l[a],c.push(+D.toFixed(5));return c}()}),this.doc.page.patterns[this.id]=x,x.end(),this.stops.some(function(a){return a[2]<1})){for(g=this.opacityGradient(),g._colorSpace="DeviceGray",J=this.stops,F=0,G=J.length;G>F;F++)B=J[F],g.stop(B[0],[B[2]]);g=g.embed(),h=this.doc.ref({Type:"Group",S:"Transparency",CS:"DeviceGray"}),h.end(),y=this.doc.ref({ProcSet:["PDF","Text","ImageB","ImageC","ImageI"],Shading:{Sh1:g.data.Shading}}),y.end(),f=this.doc.ref({Type:"XObject",Subtype:"Form",FormType:1,BBox:[0,0,this.doc.page.width,this.doc.page.height],Group:h,Resources:y}),f.end("/Sh1 sh"),z=this.doc.ref({Type:"Mask",S:"Luminosity",G:f}),z.end(),i=this.doc.ref({Type:"ExtGState",SMask:z}),this.opacity_id=++this.doc._opacityCount,w="Gs"+this.opacity_id,this.doc.page.ext_gstates[w]=i,i.end()}return x}},a.prototype.apply=function(a){return this.embedded||this.embed(),this.doc.addContent("/"+this.id+" "+a),this.opacity_id?(this.doc.addContent("/Gs"+this.opacity_id+" gs"),this.doc._sMasked=!0):void 0},a}(),c=function(a){function b(a,c,d,e,f){this.doc=a,this.x1=c,this.y1=d,this.x2=e,this.y2=f,b.__super__.constructor.apply(this,arguments)}return f(b,a),b.prototype.shader=function(a){return this.doc.ref({ShadingType:2,ColorSpace:this._colorSpace,Coords:[this.x1,this.y1,this.x2,this.y2],Function:a,Extend:[!0,!0]})},b.prototype.opacityGradient=function(){return new b(this.doc,this.x1,this.y1,this.x2,this.y2)},b}(b),d=function(a){function b(a,c,d,e,f,g,h){this.doc=a,this.x1=c,this.y1=d,this.r1=e,this.x2=f,this.y2=g,this.r2=h,b.__super__.constructor.apply(this,arguments)}return f(b,a),b.prototype.shader=function(a){return this.doc.ref({ShadingType:3,ColorSpace:this._colorSpace,Coords:[this.x1,this.y1,this.r1,this.x2,this.y2,this.r2],Function:a,Extend:[!0,!0]})},b.prototype.opacityGradient=function(){return new b(this.doc,this.x1,this.y1,this.r1,this.x2,this.y2,this.r2)},b}(b),a.exports={PDFGradient:b,PDFLinearGradient:c,PDFRadialGradient:d}}).call(this)},function(a,b,c){(function(){var b,d,e=[].slice;d=c(68),b=4*((Math.sqrt(2)-1)/3),a.exports={initVector:function(){return this._ctm=[1,0,0,1,0,0],this._ctmStack=[]},save:function(){return this._ctmStack.push(this._ctm.slice()),this.addContent("q")},restore:function(){return this._ctm=this._ctmStack.pop()||[1,0,0,1,0,0],this.addContent("Q")},closePath:function(){return this.addContent("h")},lineWidth:function(a){return this.addContent(""+a+" w")},_CAP_STYLES:{BUTT:0,ROUND:1,SQUARE:2},lineCap:function(a){return"string"==typeof a&&(a=this._CAP_STYLES[a.toUpperCase()]),this.addContent(""+a+" J")},_JOIN_STYLES:{MITER:0,ROUND:1,BEVEL:2},lineJoin:function(a){return"string"==typeof a&&(a=this._JOIN_STYLES[a.toUpperCase()]),this.addContent(""+a+" j")},miterLimit:function(a){return this.addContent(""+a+" M")},dash:function(a,b){var c,d,e;return null==b&&(b={}),null==a?this:(d=null!=(e=b.space)?e:a,c=b.phase||0,this.addContent("["+a+" "+d+"] "+c+" d"))},undash:function(){return this.addContent("[] 0 d")},moveTo:function(a,b){return this.addContent(""+a+" "+b+" m")},lineTo:function(a,b){return this.addContent(""+a+" "+b+" l")},bezierCurveTo:function(a,b,c,d,e,f){return this.addContent(""+a+" "+b+" "+c+" "+d+" "+e+" "+f+" c")},quadraticCurveTo:function(a,b,c,d){return this.addContent(""+a+" "+b+" "+c+" "+d+" v")},rect:function(a,b,c,d){return this.addContent(""+a+" "+b+" "+c+" "+d+" re")},roundedRect:function(a,b,c,d,e){return null==e&&(e=0),this.moveTo(a+e,b),this.lineTo(a+c-e,b),this.quadraticCurveTo(a+c,b,a+c,b+e),this.lineTo(a+c,b+d-e),this.quadraticCurveTo(a+c,b+d,a+c-e,b+d),this.lineTo(a+e,b+d),this.quadraticCurveTo(a,b+d,a,b+d-e),this.lineTo(a,b+e),this.quadraticCurveTo(a,b,a+e,b)},ellipse:function(a,c,d,e){var f,g,h,i,j,k;return null==e&&(e=d),a-=d,c-=e,f=d*b,g=e*b,h=a+2*d,j=c+2*e,i=a+d,k=c+e,this.moveTo(a,k),this.bezierCurveTo(a,k-g,i-f,c,i,c),this.bezierCurveTo(i+f,c,h,k-g,h,k),this.bezierCurveTo(h,k+g,i+f,j,i,j),this.bezierCurveTo(i-f,j,a,k+g,a,k),this.closePath()},circle:function(a,b,c){return this.ellipse(a,b,c)},polygon:function(){var a,b,c,d;for(b=1<=arguments.length?e.call(arguments,0):[],this.moveTo.apply(this,b.shift()),c=0,d=b.length;d>c;c++)a=b[c],this.lineTo.apply(this,a);return this.closePath()},path:function(a){return d.apply(this,a),this},_windingRule:function(a){return/even-?odd/.test(a)?"*":""},fill:function(a,b){return/(even-?odd)|(non-?zero)/.test(a)&&(b=a,a=null),a&&this.fillColor(a),this.addContent("f"+this._windingRule(b))},stroke:function(a){return a&&this.strokeColor(a),this.addContent("S")},fillAndStroke:function(a,b,c){var d;return null==b&&(b=a),d=/(even-?odd)|(non-?zero)/,d.test(a)&&(c=a,a=null),d.test(b)&&(c=b,b=a),a&&(this.fillColor(a),this.strokeColor(b)),this.addContent("B"+this._windingRule(c))},clip:function(a){return this.addContent("W"+this._windingRule(a)+" n")},transform:function(a,b,c,d,e,f){var g,h,i,j,k,l,m,n,o;return g=this._ctm,h=g[0],i=g[1],j=g[2],k=g[3],l=g[4],m=g[5],g[0]=h*a+j*b,g[1]=i*a+k*b,g[2]=h*c+j*d,g[3]=i*c+k*d,g[4]=h*e+j*f+l,g[5]=i*e+k*f+m,o=function(){var g,h,i,j;for(i=[a,b,c,d,e,f],j=[],g=0,h=i.length;h>g;g++)n=i[g],j.push(+n.toFixed(5));return j}().join(" "),this.addContent(""+o+" cm")},translate:function(a,b){return this.transform(1,0,0,1,a,b)},rotate:function(a,b){var c,d,e,f,g,h,i,j;return null==b&&(b={}),d=a*Math.PI/180,c=Math.cos(d),e=Math.sin(d),f=h=0,null!=b.origin&&(j=b.origin,f=j[0],h=j[1],g=f*c-h*e,i=f*e+h*c,f-=g,h-=i),this.transform(c,e,-e,c,f,h)},scale:function(a,b,c){var d,e,f;return null==b&&(b=a),null==c&&(c={}),2===arguments.length&&(b=a,c=b),d=e=0,null!=c.origin&&(f=c.origin,d=f[0],e=f[1],d-=a*d,e-=b*e),this.transform(a,0,0,b,d,e)}}}).call(this)},function(a,b){(function(){var b;b=function(){function a(){}var b,c,d,e,f,g,h,i,j,k,l,m,n;return a.apply=function(a,c){var d;return d=g(c),b(d,a)},f={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0},g=function(a){var b,c,d,e,g,h,i,j,k;for(i=[],b=[],e="",g=!1,h=0,j=0,k=a.length;k>j;j++)if(c=a[j],null!=f[c])h=f[c],d&&(e.length>0&&(b[b.length]=+e),i[i.length]={cmd:d,args:b},b=[],e="",g=!1),d=c;else if(" "===c||","===c||"-"===c&&e.length>0&&"e"!==e[e.length-1]||"."===c&&g){if(0===e.length)continue;b.length===h?(i[i.length]={cmd:d,args:b},b=[+e],"M"===d&&(d="L"),"m"===d&&(d="l")):b[b.length]=+e,g="."===c,e="-"===c||"."===c?c:""}else e+=c,"."===c&&(g=!0);return e.length>0&&(b.length===h?(i[i.length]={cmd:d,args:b},b=[+e],"M"===d&&(d="L"),"m"===d&&(d="l")):b[b.length]=+e),i[i.length]={cmd:d,args:b},i},d=e=h=i=m=n=0,b=function(a,b){var c,f,g,k,l;for(d=e=h=i=m=n=0,f=g=0,k=a.length;k>g;f=++g)c=a[f],"function"==typeof j[l=c.cmd]&&j[l](b,c.args);return d=e=h=i=0},j={M:function(a,b){return d=b[0],e=b[1],h=i=null,m=d,n=e,a.moveTo(d,e)},m:function(a,b){return d+=b[0],e+=b[1],h=i=null,m=d,n=e,a.moveTo(d,e)},C:function(a,b){return d=b[4],e=b[5],h=b[2],i=b[3],a.bezierCurveTo.apply(a,b)},c:function(a,b){return a.bezierCurveTo(b[0]+d,b[1]+e,b[2]+d,b[3]+e,b[4]+d,b[5]+e),h=d+b[2],i=e+b[3],d+=b[4],e+=b[5]},S:function(a,b){return null===h&&(h=d,i=e),a.bezierCurveTo(d-(h-d),e-(i-e),b[0],b[1],b[2],b[3]),h=b[0],i=b[1],d=b[2],e=b[3]},s:function(a,b){return null===h&&(h=d,i=e),a.bezierCurveTo(d-(h-d),e-(i-e),d+b[0],e+b[1],d+b[2],e+b[3]),h=d+b[0],i=e+b[1],d+=b[2],e+=b[3]},Q:function(a,b){return h=b[0],i=b[1],d=b[2],e=b[3],a.quadraticCurveTo(b[0],b[1],d,e)},q:function(a,b){return a.quadraticCurveTo(b[0]+d,b[1]+e,b[2]+d,b[3]+e),h=d+b[0],i=e+b[1],d+=b[2],e+=b[3]},T:function(a,b){return null===h?(h=d,i=e):(h=d-(h-d),i=e-(i-e)),a.quadraticCurveTo(h,i,b[0],b[1]),h=d-(h-d),i=e-(i-e),d=b[0],e=b[1]},t:function(a,b){return null===h?(h=d,i=e):(h=d-(h-d),i=e-(i-e)),a.quadraticCurveTo(h,i,d+b[0],e+b[1]),d+=b[0],e+=b[1]},A:function(a,b){return l(a,d,e,b),d=b[5],e=b[6]},a:function(a,b){return b[5]+=d,b[6]+=e,l(a,d,e,b),d=b[5],e=b[6]},L:function(a,b){return d=b[0],e=b[1],h=i=null,a.lineTo(d,e)},l:function(a,b){return d+=b[0],e+=b[1],h=i=null,a.lineTo(d,e)},H:function(a,b){return d=b[0],h=i=null,a.lineTo(d,e)},h:function(a,b){return d+=b[0],h=i=null,a.lineTo(d,e)},V:function(a,b){return e=b[0],h=i=null,a.lineTo(d,e)},v:function(a,b){return e+=b[0],h=i=null,a.lineTo(d,e)},Z:function(a){return a.closePath(),d=m,e=n},z:function(a){return a.closePath(),d=m,e=n}},l=function(a,b,d,e){var f,g,h,i,j,l,m,n,o,p,q,r,s;for(l=e[0],m=e[1],j=e[2],i=e[3],p=e[4],g=e[5],h=e[6],o=c(g,h,l,m,i,p,j,b,d),s=[],q=0,r=o.length;r>q;q++)n=o[q],f=k.apply(null,n),s.push(a.bezierCurveTo.apply(a,f));return s},c=function(a,b,c,d,e,f,g,j,k){var l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K;for(y=g*(Math.PI/180),x=Math.sin(y),p=Math.cos(y),c=Math.abs(c),d=Math.abs(d),h=p*(j-a)*.5+x*(k-b)*.5,i=p*(k-b)*.5-x*(j-a)*.5,s=h*h/(c*c)+i*i/(d*d),s>1&&(s=Math.sqrt(s),c*=s,d*=s),l=p/c,m=x/c,n=-x/d,o=p/d,E=l*j+m*k,H=n*j+o*k,F=l*a+m*b,I=n*a+o*b,q=(F-E)*(F-E)+(I-H)*(I-H),w=1/q-.25,0>w&&(w=0),v=Math.sqrt(w),f===e&&(v=-v),G=.5*(E+F)-v*(I-H),J=.5*(H+I)+v*(F-E),z=Math.atan2(H-J,E-G),A=Math.atan2(I-J,F-G),D=A-z,0>D&&1===f?D+=2*Math.PI:D>0&&0===f&&(D-=2*Math.PI),u=Math.ceil(Math.abs(D/(.5*Math.PI+.001))),t=[],r=K=0;u>=0?u>K:K>u;r=u>=0?++K:--K)B=z+r*D/u,C=z+(r+1)*D/u,t[r]=[G,J,B,C,c,d,x,p];return t},k=function(a,b,c,d,e,f,g,h){var i,j,k,l,m,n,o,p,q,r,s,t;return i=h*e,j=-g*f,k=g*e,l=h*f,n=.5*(d-c),m=8/3*Math.sin(.5*n)*Math.sin(.5*n)/Math.sin(n),o=a+Math.cos(c)-m*Math.sin(c),r=b+Math.sin(c)+m*Math.cos(c),q=a+Math.cos(d),t=b+Math.sin(d),p=q+m*Math.sin(d),s=t-m*Math.cos(d),[i*o+j*r,k*o+l*r,i*p+j*s,k*p+l*s,i*q+j*t,k*q+l*t]},a}(),a.exports=b}).call(this)},function(a,b,c){(function(){var b;b=c(70),a.exports={initFonts:function(){this._fontFamilies={},this._fontCount=0,this._fontSize=12,this._font=null,this._registeredFonts={}},font:function(a,c,d){var e,f,g,h;return"number"==typeof c&&(d=c,c=null),"string"==typeof a&&this._registeredFonts[a]?(e=a,h=this._registeredFonts[a],a=h.src,c=h.family):(e=c||a,"string"!=typeof e&&(e=null)),null!=d&&this.fontSize(d),(f=this._fontFamilies[e])?(this._font=f,this):(g="F"+ ++this._fontCount,this._font=new b(this,a,c,g),(f=this._fontFamilies[this._font.name])?(this._font=f,this):(e&&(this._fontFamilies[e]=this._font),this._fontFamilies[this._font.name]=this._font,this))},fontSize:function(a){return this._fontSize=a,this},currentLineHeight:function(a){return null==a&&(a=!1),this._font.lineHeight(this._fontSize,a)},registerFont:function(a,b,c){return this._registeredFonts[a]={src:b,family:c},this}}}).call(this)},function(a,b,c){(function(b,d){(function(){var e,f,g,h,i;h=c(71),e=c(87),g=c(88),i=c(44),f=function(){function a(a,d,f,i){if(this.document=a,this.id=i,"string"==typeof d){if(d in c)return this.isAFM=!0,this.font=new e(c[d]()),void this.registerAFM(d);if(/\.(ttf|ttc)$/i.test(d))this.font=h.open(d,f);else{if(!/\.dfont$/i.test(d))throw new Error("Not a supported font format or standard PDF font.");this.font=h.fromDFont(d,f)}}else if(b.isBuffer(d))this.font=h.fromBuffer(d,f);else if(d instanceof Uint8Array)this.font=h.fromBuffer(new b(d),f);else{if(!(d instanceof ArrayBuffer))throw new Error("Not a supported font format or standard PDF font.");this.font=h.fromBuffer(new b(new Uint8Array(d)),f)}this.subset=new g(this.font),this.registerTTF()}var c,f;return c={Courier:function(){return i.readFileSync(d+"/font/data/Courier.afm","utf8")},"Courier-Bold":function(){return i.readFileSync(d+"/font/data/Courier-Bold.afm","utf8")},"Courier-Oblique":function(){return i.readFileSync(d+"/font/data/Courier-Oblique.afm","utf8")},"Courier-BoldOblique":function(){return i.readFileSync(d+"/font/data/Courier-BoldOblique.afm","utf8")},Helvetica:function(){return i.readFileSync(d+"/font/data/Helvetica.afm","utf8")},"Helvetica-Bold":function(){return i.readFileSync(d+"/font/data/Helvetica-Bold.afm","utf8")},"Helvetica-Oblique":function(){return i.readFileSync(d+"/font/data/Helvetica-Oblique.afm","utf8")},"Helvetica-BoldOblique":function(){return i.readFileSync(d+"/font/data/Helvetica-BoldOblique.afm","utf8")},"Times-Roman":function(){return i.readFileSync(d+"/font/data/Times-Roman.afm","utf8")},"Times-Bold":function(){return i.readFileSync(d+"/font/data/Times-Bold.afm","utf8")},"Times-Italic":function(){return i.readFileSync(d+"/font/data/Times-Italic.afm","utf8")},"Times-BoldItalic":function(){return i.readFileSync(d+"/font/data/Times-BoldItalic.afm","utf8")},Symbol:function(){return i.readFileSync(d+"/font/data/Symbol.afm","utf8")},ZapfDingbats:function(){return i.readFileSync(d+"/font/data/ZapfDingbats.afm","utf8")}},a.prototype.use=function(a){var b;return null!=(b=this.subset)?b.use(a):void 0},a.prototype.embed=function(){return this.embedded||null==this.dictionary?void 0:(this.isAFM?this.embedAFM():this.embedTTF(),this.embedded=!0)},a.prototype.encode=function(a){var b;return this.isAFM?this.font.encodeText(a):(null!=(b=this.subset)?b.encodeText(a):void 0)||a},a.prototype.ref=function(){return null!=this.dictionary?this.dictionary:this.dictionary=this.document.ref()},a.prototype.registerTTF=function(){var a,b,c,d,e;if(this.name=this.font.name.postscriptName,this.scaleFactor=1e3/this.font.head.unitsPerEm,this.bbox=function(){var b,c,d,e;for(d=this.font.bbox,e=[],b=0,c=d.length;c>b;b++)a=d[b],e.push(Math.round(a*this.scaleFactor));return e}.call(this),this.stemV=0,this.font.post.exists?(d=this.font.post.italic_angle,b=d>>16,c=255&d,b&!0&&(b=-((65535^b)+1)),this.italicAngle=+(""+b+"."+c)):this.italicAngle=0,this.ascender=Math.round(this.font.ascender*this.scaleFactor),this.decender=Math.round(this.font.decender*this.scaleFactor),this.lineGap=Math.round(this.font.lineGap*this.scaleFactor),this.capHeight=this.font.os2.exists&&this.font.os2.capHeight||this.ascender,this.xHeight=this.font.os2.exists&&this.font.os2.xHeight||0,this.familyClass=(this.font.os2.exists&&this.font.os2.familyClass||0)>>8,this.isSerif=1===(e=this.familyClass)||2===e||3===e||4===e||5===e||7===e,this.isScript=10===this.familyClass,this.flags=0,this.font.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.font.cmap.unicode)throw new Error("No unicode cmap for font")},a.prototype.embedTTF=function(){var a,b,c,d,e,g,h,i;return d=this.subset.encode(),h=this.document.ref(),h.write(d),h.data.Length1=h.uncompressedLength,h.end(),e=this.document.ref({Type:"FontDescriptor",FontName:this.subset.postscriptName,FontFile2:h,FontBBox:this.bbox,Flags:this.flags,StemV:this.stemV,ItalicAngle:this.italicAngle,Ascent:this.ascender,Descent:this.decender,CapHeight:this.capHeight,XHeight:this.xHeight}),e.end(),g=+Object.keys(this.subset.cmap)[0],a=function(){var a,b;a=this.subset.cmap,b=[];for(c in a)i=a[c],b.push(Math.round(this.font.widthOfGlyph(i)));return b}.call(this),b=this.document.ref(),b.end(f(this.subset.subset)),this.dictionary.data={Type:"Font",BaseFont:this.subset.postscriptName,Subtype:"TrueType",FontDescriptor:e,FirstChar:g,LastChar:g+a.length-1,Widths:a,Encoding:"MacRomanEncoding",ToUnicode:b},this.dictionary.end()},f=function(a){var b,c,d,e,f,g,h;for(f="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n  /Registry (Adobe)\n  /Ordering (UCS)\n  /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<00><ff>\nendcodespacerange",c=Object.keys(a).sort(function(a,b){return a-b}),d=[],g=0,h=c.length;h>g;g++)b=c[g],d.length>=100&&(f+="\n"+d.length+" beginbfchar\n"+d.join("\n")+"\nendbfchar",d=[]),e=("0000"+a[b].toString(16)).slice(-4),b=(+b).toString(16),d.push("<"+b+"><"+e+">");return d.length&&(f+="\n"+d.length+" beginbfchar\n"+d.join("\n")+"\nendbfchar\n"),f+="endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"},a.prototype.registerAFM=function(a){var b;return this.name=a,b=this.font,this.ascender=b.ascender,this.decender=b.decender,this.bbox=b.bbox,this.lineGap=b.lineGap,b},a.prototype.embedAFM=function(){return this.dictionary.data={Type:"Font",BaseFont:this.name,Subtype:"Type1",Encoding:"WinAnsiEncoding"},this.dictionary.end()},a.prototype.widthOfString=function(a,b){var c,d,e,f,g,h;for(a=""+a,f=0,d=g=0,h=a.length;h>=0?h>g:g>h;d=h>=0?++g:--g)c=a.charCodeAt(d),f+=this.font.widthOfGlyph(this.font.characterToGlyph(c))||0;return e=b/1e3,f*e},a.prototype.lineHeight=function(a,b){var c;return null==b&&(b=!1),c=b?this.lineGap:0,(this.ascender+c-this.decender)/1e3*a},a}(),a.exports=f}).call(this)}).call(b,c(2).Buffer,"/")},function(a,b,c){(function(){var b,d,e,f,g,h,i,j,k,l,m,n,o,p,q;q=c(44),e=c(72),d=c(73),f=c(74),m=c(75),h=c(78),b=c(79),j=c(80),i=c(81),l=c(82),o=c(83),n=c(84),k=c(85),g=c(86),p=function(){function a(a,b){var c,d,f,g,h,i,j,k,l;if(this.rawData=a,c=this.contents=new e(this.rawData),"ttcf"===c.readString(4)){if(!b)throw new Error("Must specify a font name for TTC files.");for(i=c.readInt(),f=c.readInt(),h=[],d=j=0;f>=0?f>j:j>f;d=f>=0?++j:--j)h[d]=c.readInt();for(d=k=0,l=h.length;l>k;d=++k)if(g=h[d],c.pos=g,this.parse(),this.name.postscriptName===b)return;throw new Error("Font "+b+" not found in TTC file.")}c.pos=0,this.parse()}return a.open=function(b,c){var d;return d=q.readFileSync(b),new a(d,c)},a.fromDFont=function(b,c){var e;return e=d.open(b),new a(e.getNamedFont(c))},a.fromBuffer=function(b,c){var e,f,g;try{if(g=new a(b,c),!(g.head.exists&&g.name.exists&&g.cmap.exists||(e=new d(b),g=new a(e.getNamedFont(c)),g.head.exists&&g.name.exists&&g.cmap.exists)))throw new Error("Invalid TTF file in DFont");return g}catch(h){throw f=h,new Error("Unknown font format in buffer: "+f.message)}},a.prototype.parse=function(){return this.directory=new f(this.contents),this.head=new h(this),this.name=new m(this),this.cmap=new b(this),this.hhea=new i(this),this.maxp=new l(this),this.hmtx=new j(this),this.post=new o(this),this.os2=new n(this),this.loca=new k(this),this.glyf=new g(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},a.prototype.characterToGlyph=function(a){var b;return(null!=(b=this.cmap.unicode)?b.codeMap[a]:void 0)||0},a.prototype.widthOfGlyph=function(a){var b;return b=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(a).advance*b},a}(),a.exports=p}).call(this)},function(a,b){(function(){var b;b=function(){function a(a){this.data=null!=a?a:[],this.pos=0,this.length=this.data.length}return a.prototype.readByte=function(){return this.data[this.pos++]},a.prototype.writeByte=function(a){return this.data[this.pos++]=a},a.prototype.byteAt=function(a){return this.data[a]},a.prototype.readBool=function(){return!!this.readByte()},a.prototype.writeBool=function(a){return this.writeByte(a?1:0)},a.prototype.readUInt32=function(){var a,b,c,d;return a=16777216*this.readByte(),b=this.readByte()<<16,c=this.readByte()<<8,d=this.readByte(),a+b+c+d},a.prototype.writeUInt32=function(a){return this.writeByte(a>>>24&255),this.writeByte(a>>16&255),this.writeByte(a>>8&255),this.writeByte(255&a)},a.prototype.readInt32=function(){var a;return a=this.readUInt32(),a>=2147483648?a-4294967296:a},a.prototype.writeInt32=function(a){return 0>a&&(a+=4294967296),this.writeUInt32(a)},a.prototype.readUInt16=function(){var a,b;return a=this.readByte()<<8,b=this.readByte(),a|b},a.prototype.writeUInt16=function(a){return this.writeByte(a>>8&255),this.writeByte(255&a)},a.prototype.readInt16=function(){var a;return a=this.readUInt16(),a>=32768?a-65536:a},a.prototype.writeInt16=function(a){return 0>a&&(a+=65536),this.writeUInt16(a)},a.prototype.readString=function(a){var b,c,d;for(c=[],b=d=0;a>=0?a>d:d>a;b=a>=0?++d:--d)c[b]=String.fromCharCode(this.readByte());return c.join("")},a.prototype.writeString=function(a){var b,c,d,e;for(e=[],b=c=0,d=a.length;d>=0?d>c:c>d;b=d>=0?++c:--c)e.push(this.writeByte(a.charCodeAt(b)));return e},a.prototype.stringAt=function(a,b){return this.pos=a,this.readString(b)},a.prototype.readShort=function(){return this.readInt16()},a.prototype.writeShort=function(a){return this.writeInt16(a)},a.prototype.readLongLong=function(){var a,b,c,d,e,f,g,h;return a=this.readByte(),b=this.readByte(),c=this.readByte(),d=this.readByte(),e=this.readByte(),f=this.readByte(),g=this.readByte(),h=this.readByte(),128&a?-1*(72057594037927940*(255^a)+281474976710656*(255^b)+1099511627776*(255^c)+4294967296*(255^d)+16777216*(255^e)+65536*(255^f)+256*(255^g)+(255^h)+1):72057594037927940*a+281474976710656*b+1099511627776*c+4294967296*d+16777216*e+65536*f+256*g+h},a.prototype.writeLongLong=function(a){var b,c;return b=Math.floor(a/4294967296),c=4294967295&a,this.writeByte(b>>24&255),this.writeByte(b>>16&255),this.writeByte(b>>8&255),this.writeByte(255&b),this.writeByte(c>>24&255),this.writeByte(c>>16&255),this.writeByte(c>>8&255),this.writeByte(255&c)},a.prototype.readInt=function(){return this.readInt32()},a.prototype.writeInt=function(a){return this.writeInt32(a)},a.prototype.slice=function(a,b){return this.data.slice(a,b)},a.prototype.read=function(a){var b,c,d;for(b=[],c=d=0;a>=0?a>d:d>a;c=a>=0?++d:--d)b.push(this.readByte());return b},a.prototype.write=function(a){var b,c,d,e;for(e=[],c=0,d=a.length;d>c;c++)b=a[c],e.push(this.writeByte(b));return e},a}(),a.exports=b}).call(this)},function(a,b,c){(function(){var b,d,e,f,g;g=c(44),d=c(72),e=c(74),f=c(75),b=function(){function a(a){this.contents=new d(a),this.parse(this.contents)}return a.open=function(b){var c;return c=g.readFileSync(b),new a(c)},a.prototype.parse=function(a){var b,c,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G;for(j=a.readInt(),u=a.readInt(),i=a.readInt(),t=a.readInt(),this.map={},a.pos=u+24,E=a.readShort()+u,y=a.readShort()+u,a.pos=E,v=a.readShort(),o=F=0;v>=F;o=F+=1){for(D=a.readString(4),w=a.readShort(),C=a.readShort(),this.map[D]={list:[],named:{}},B=a.pos,a.pos=E+C,q=G=0;w>=G;q=G+=1)p=a.readShort(),z=a.readShort(),b=a.readByte(),c=a.readByte()<<16,g=a.readByte()<<8,h=a.readByte(),k=j+(0|c|g|h),n=a.readUInt32(),l={id:p,attributes:b,offset:k,handle:n},A=a.pos,-1!==z&&u+t>y+z?(a.pos=y+z,r=a.readByte(),l.name=a.readString(r)):"sfnt"===D&&(a.pos=l.offset,s=a.readUInt32(),m={},m.contents=new d(a.slice(a.pos,a.pos+s)),m.directory=new e(m.contents),x=new f(m),l.name=x.fontName[0].raw),a.pos=A,this.map[D].list.push(l),l.name&&(this.map[D].named[l.name]=l);a.pos=B}},a.prototype.getNamedFont=function(a){var b,c,d,e,f,g;if(b=this.contents,e=b.pos,c=null!=(g=this.map.sfnt)?g.named[a]:void 0,!c)throw new Error("Font "+a+" not found in DFont file.");return b.pos=c.offset,d=b.readUInt32(),f=b.slice(b.pos,b.pos+d),b.pos=e,f},a}(),a.exports=b}).call(this)},function(a,b,c){(function(b){(function(){var d,e,f=[].slice;d=c(72),e=function(){function a(a){var b,c,d,e;for(this.scalarType=a.readInt(),this.tableCount=a.readShort(),this.searchRange=a.readShort(),this.entrySelector=a.readShort(),this.rangeShift=a.readShort(),this.tables={},c=d=0,e=this.tableCount;e>=0?e>d:d>e;c=e>=0?++d:--d)b={tag:a.readString(4),checksum:a.readInt(),offset:a.readInt(),length:a.readInt()},this.tables[b.tag]=b}var c;return a.prototype.encode=function(a){var e,f,g,h,i,j,k,l,m,n,o,p,q,r;p=Object.keys(a).length,j=Math.log(2),m=16*Math.floor(Math.log(p)/j),h=Math.floor(m/j),l=16*p-m,f=new d,f.writeInt(this.scalarType),f.writeShort(p),f.writeShort(m),f.writeShort(h),f.writeShort(l),g=16*p,k=f.pos+g,i=null,q=[];for(r in a)for(o=a[r],f.writeString(r),f.writeInt(c(o)),f.writeInt(k),f.writeInt(o.length),q=q.concat(o),"head"===r&&(i=k),k+=o.length;k%4;)q.push(0),k++;return f.write(q),n=c(f.data),e=2981146554-n,f.pos=i+8,f.writeUInt32(e),new b(f.data)},c=function(a){var b,c,e,g,h;for(a=f.call(a);a.length%4;)a.push(0);for(e=new d(a),c=0,b=g=0,h=a.length;h>g;b=g+=4)c+=e.readUInt32();return 4294967295&c},a}(),a.exports=e}).call(this)}).call(b,c(2).Buffer)},function(a,b,c){(function(){var b,d,e,f,g,h={}.hasOwnProperty,i=function(a,b){function c(){this.constructor=a}for(var d in b)h.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a};f=c(76),b=c(72),g=c(77),e=function(a){function c(){return c.__super__.constructor.apply(this,arguments)}var e;return i(c,a),c.prototype.tag="name",c.prototype.parse=function(a){var b,c,e,f,g,h,i,j,k,l,m,n,o;for(a.pos=this.offset,f=a.readShort(),b=a.readShort(),i=a.readShort(),c=[],g=l=0;b>=0?b>l:l>b;g=b>=0?++l:--l)c.push({platformID:a.readShort(),encodingID:a.readShort(),languageID:a.readShort(),nameID:a.readShort(),length:a.readShort(),offset:this.offset+i+a.readShort()});for(j={},g=m=0,n=c.length;n>m;g=++m)e=c[g],a.pos=e.offset,k=a.readString(e.length),h=new d(k,e),null==j[o=e.nameID]&&(j[o]=[]),j[e.nameID].push(h);return this.strings=j,this.copyright=j[0],this.fontFamily=j[1],this.fontSubfamily=j[2],this.uniqueSubfamily=j[3],this.fontName=j[4],this.version=j[5],this.postscriptName=j[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,""),this.trademark=j[7],this.manufacturer=j[8],this.designer=j[9],this.description=j[10],this.vendorUrl=j[11],this.designerUrl=j[12],this.license=j[13],this.licenseUrl=j[14],this.preferredFamily=j[15],this.preferredSubfamily=j[17],this.compatibleFull=j[18],this.sampleText=j[19]},e="AAAAAA",c.prototype.encode=function(){var a,c,f,h,i,j,k,l,m,n,o,p,q,r;m={},r=this.strings;for(a in r)o=r[a],m[a]=o;i=new d(""+e+"+"+this.postscriptName,{platformID:1,encodingID:0,languageID:0}),m[6]=[i],e=g.successorOf(e),j=0;for(a in m)c=m[a],null!=c&&(j+=c.length);n=new b,k=new b,n.writeShort(0),n.writeShort(j),n.writeShort(6+12*j);for(f in m)if(c=m[f],null!=c)for(p=0,q=c.length;q>p;p++)l=c[p],n.writeShort(l.platformID),n.writeShort(l.encodingID),n.writeShort(l.languageID),n.writeShort(f),n.writeShort(l.length),n.writeShort(k.pos),k.writeString(l.raw);return h={postscriptName:i.raw,table:n.data.concat(k.data)}},c}(f),a.exports=e,d=function(){function a(a,b){this.raw=a,this.length=this.raw.length,this.platformID=b.platformID,this.encodingID=b.encodingID,this.languageID=b.languageID}return a}()}).call(this)},function(a,b){(function(){var b;b=function(){function a(a){var b;this.file=a,b=this.file.directory.tables[this.tag],this.exists=!!b,b&&(this.offset=b.offset,this.length=b.length,this.parse(this.file.contents))}return a.prototype.parse=function(){},a.prototype.encode=function(){},a.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},a}(),a.exports=b}).call(this)},function(a,b){(function(){b.successorOf=function(a){var b,c,d,e,f,g,h,i,j,k;for(c="abcdefghijklmnopqrstuvwxyz",i=c.length,k=a,e=a.length;e>=0;){if(h=a.charAt(--e),isNaN(h)){if(f=c.indexOf(h.toLowerCase()),-1===f)j=h,d=!0;else if(j=c.charAt((f+1)%i),g=h===h.toUpperCase(),g&&(j=j.toUpperCase()),d=f+1>=i,d&&0===e){b=g?"A":"a",k=b+j+k.slice(1);break}}else if(j=+h+1,d=j>9,d&&(j=0),d&&0===e){k="1"+j+k.slice(1);break}if(k=k.slice(0,e)+j+k.slice(e+1),!d)break}return k},b.invert=function(a){var b,c,d;c={};for(b in a)d=a[b],c[d]=b;return c}}).call(this)},function(a,b,c){(function(){var b,d,e,f={}.hasOwnProperty,g=function(a,b){function c(){this.constructor=a}for(var d in b)f.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a};e=c(76),b=c(72),d=function(a){function c(){return c.__super__.constructor.apply(this,arguments)}return g(c,a),c.prototype.tag="head",c.prototype.parse=function(a){return a.pos=this.offset,this.version=a.readInt(),this.revision=a.readInt(),this.checkSumAdjustment=a.readInt(),this.magicNumber=a.readInt(),this.flags=a.readShort(),this.unitsPerEm=a.readShort(),this.created=a.readLongLong(),this.modified=a.readLongLong(),this.xMin=a.readShort(),this.yMin=a.readShort(),this.xMax=a.readShort(),this.yMax=a.readShort(),this.macStyle=a.readShort(),this.lowestRecPPEM=a.readShort(),this.fontDirectionHint=a.readShort(),this.indexToLocFormat=a.readShort(),this.glyphDataFormat=a.readShort()},c.prototype.encode=function(a){var c;return c=new b,c.writeInt(this.version),c.writeInt(this.revision),c.writeInt(this.checkSumAdjustment),c.writeInt(this.magicNumber),c.writeShort(this.flags),c.writeShort(this.unitsPerEm),c.writeLongLong(this.created),c.writeLongLong(this.modified),c.writeShort(this.xMin),c.writeShort(this.yMin),c.writeShort(this.xMax),c.writeShort(this.yMax),c.writeShort(this.macStyle),c.writeShort(this.lowestRecPPEM),c.writeShort(this.fontDirectionHint),c.writeShort(a.type),c.writeShort(this.glyphDataFormat),c.data},c}(e),a.exports=d}).call(this)},function(a,b,c){(function(){var b,d,e,f,g={}.hasOwnProperty,h=function(a,b){function c(){this.constructor=a}for(var d in b)g.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a};f=c(76),e=c(72),d=function(a){function c(){return c.__super__.constructor.apply(this,arguments)}return h(c,a),c.prototype.tag="cmap",c.prototype.parse=function(a){var c,d,e,f;for(a.pos=this.offset,this.version=a.readUInt16(),e=a.readUInt16(),this.tables=[],this.unicode=null,d=f=0;e>=0?e>f:f>e;d=e>=0?++f:--f)c=new b(a,this.offset),this.tables.push(c),c.isUnicode&&null==this.unicode&&(this.unicode=c);return!0},c.encode=function(a,c){var d,f;return null==c&&(c="macroman"),d=b.encode(a,c),f=new e,f.writeUInt16(0),f.writeUInt16(1),d.table=f.data.concat(d.subtable),d},c}(f),b=function(){function a(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;switch(this.platformID=a.readUInt16(),this.encodingID=a.readShort(),this.offset=b+a.readInt(),l=a.pos,a.pos=this.offset,this.format=a.readUInt16(),this.length=a.readUInt16(),this.language=a.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(h=r=0;256>r;h=++r)this.codeMap[h]=a.readByte();break;case 4:
-for(n=a.readUInt16(),m=n/2,a.pos+=6,e=function(){var b,c;for(c=[],h=b=0;m>=0?m>b:b>m;h=m>=0?++b:--b)c.push(a.readUInt16());return c}(),a.pos+=2,p=function(){var b,c;for(c=[],h=b=0;m>=0?m>b:b>m;h=m>=0?++b:--b)c.push(a.readUInt16());return c}(),i=function(){var b,c;for(c=[],h=b=0;m>=0?m>b:b>m;h=m>=0?++b:--b)c.push(a.readUInt16());return c}(),j=function(){var b,c;for(c=[],h=b=0;m>=0?m>b:b>m;h=m>=0?++b:--b)c.push(a.readUInt16());return c}(),d=(this.length-a.pos+this.offset)/2,g=function(){var b,c;for(c=[],h=b=0;d>=0?d>b:b>d;h=d>=0?++b:--b)c.push(a.readUInt16());return c}(),h=s=0,u=e.length;u>s;h=++s)for(q=e[h],o=p[h],c=t=o;q>=o?q>=t:t>=q;c=q>=o?++t:--t)0===j[h]?f=c+i[h]:(k=j[h]/2+(c-o)-(m-h),f=g[k]||0,0!==f&&(f+=i[h])),this.codeMap[c]=65535&f}a.pos=l}return a.encode=function(a,b){var c,d,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X;switch(F=new e,g=Object.keys(a).sort(function(a,b){return a-b}),b){case"macroman":for(p=0,q=function(){var a,b;for(b=[],o=a=0;256>a;o=++a)b.push(0);return b}(),s={0:0},f={},G=0,K=g.length;K>G;G++)d=g[G],null==s[U=a[d]]&&(s[U]=++p),f[d]={old:a[d],"new":s[a[d]]},q[d]=s[a[d]];return F.writeUInt16(1),F.writeUInt16(0),F.writeUInt32(12),F.writeUInt16(0),F.writeUInt16(262),F.writeUInt16(0),F.write(q),y={charMap:f,subtable:F.data,maxGlyphID:p+1};case"unicode":for(D=[],l=[],t=0,s={},c={},r=j=null,H=0,L=g.length;L>H;H++)d=g[H],v=a[d],null==s[v]&&(s[v]=++t),c[d]={old:v,"new":s[v]},h=s[v]-d,(null==r||h!==j)&&(r&&l.push(r),D.push(d),j=h),r=d;for(r&&l.push(r),l.push(65535),D.push(65535),A=D.length,B=2*A,z=2*Math.pow(Math.log(A)/Math.LN2,2),m=Math.log(z/2)/Math.LN2,x=2*A-z,i=[],w=[],n=[],o=I=0,M=D.length;M>I;o=++I){if(C=D[o],k=l[o],65535===C){i.push(0),w.push(0);break}if(E=c[C]["new"],C-E>=32768)for(i.push(0),w.push(2*(n.length+A-o)),d=J=C;k>=C?k>=J:J>=k;d=k>=C?++J:--J)n.push(c[d]["new"]);else i.push(E-C),w.push(0)}for(F.writeUInt16(3),F.writeUInt16(1),F.writeUInt32(12),F.writeUInt16(4),F.writeUInt16(16+8*A+2*n.length),F.writeUInt16(0),F.writeUInt16(B),F.writeUInt16(z),F.writeUInt16(m),F.writeUInt16(x),S=0,N=l.length;N>S;S++)d=l[S],F.writeUInt16(d);for(F.writeUInt16(0),T=0,O=D.length;O>T;T++)d=D[T],F.writeUInt16(d);for(V=0,P=i.length;P>V;V++)h=i[V],F.writeUInt16(h);for(W=0,Q=w.length;Q>W;W++)u=w[W],F.writeUInt16(u);for(X=0,R=n.length;R>X;X++)p=n[X],F.writeUInt16(p);return y={charMap:c,subtable:F.data,maxGlyphID:t+1}}},a}(),a.exports=d}).call(this)},function(a,b,c){(function(){var b,d,e,f={}.hasOwnProperty,g=function(a,b){function c(){this.constructor=a}for(var d in b)f.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a};e=c(76),b=c(72),d=function(a){function c(){return c.__super__.constructor.apply(this,arguments)}return g(c,a),c.prototype.tag="hmtx",c.prototype.parse=function(a){var b,c,d,e,f,g,h,i;for(a.pos=this.offset,this.metrics=[],b=f=0,h=this.file.hhea.numberOfMetrics;h>=0?h>f:f>h;b=h>=0?++f:--f)this.metrics.push({advance:a.readUInt16(),lsb:a.readInt16()});for(d=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var c,e;for(e=[],b=c=0;d>=0?d>c:c>d;b=d>=0?++c:--c)e.push(a.readInt16());return e}(),this.widths=function(){var a,b,c,d;for(c=this.metrics,d=[],a=0,b=c.length;b>a;a++)e=c[a],d.push(e.advance);return d}.call(this),c=this.widths[this.widths.length-1],i=[],b=g=0;d>=0?d>g:g>d;b=d>=0?++g:--g)i.push(this.widths.push(c));return i},c.prototype.forGlyph=function(a){var b;return a in this.metrics?this.metrics[a]:b={advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[a-this.metrics.length]}},c.prototype.encode=function(a){var c,d,e,f,g;for(e=new b,f=0,g=a.length;g>f;f++)c=a[f],d=this.forGlyph(c),e.writeUInt16(d.advance),e.writeUInt16(d.lsb);return e.data},c}(e),a.exports=d}).call(this)},function(a,b,c){(function(){var b,d,e,f={}.hasOwnProperty,g=function(a,b){function c(){this.constructor=a}for(var d in b)f.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a};e=c(76),b=c(72),d=function(a){function c(){return c.__super__.constructor.apply(this,arguments)}return g(c,a),c.prototype.tag="hhea",c.prototype.parse=function(a){return a.pos=this.offset,this.version=a.readInt(),this.ascender=a.readShort(),this.decender=a.readShort(),this.lineGap=a.readShort(),this.advanceWidthMax=a.readShort(),this.minLeftSideBearing=a.readShort(),this.minRightSideBearing=a.readShort(),this.xMaxExtent=a.readShort(),this.caretSlopeRise=a.readShort(),this.caretSlopeRun=a.readShort(),this.caretOffset=a.readShort(),a.pos+=8,this.metricDataFormat=a.readShort(),this.numberOfMetrics=a.readUInt16()},c.prototype.encode=function(a){var c,d,e,f;for(d=new b,d.writeInt(this.version),d.writeShort(this.ascender),d.writeShort(this.decender),d.writeShort(this.lineGap),d.writeShort(this.advanceWidthMax),d.writeShort(this.minLeftSideBearing),d.writeShort(this.minRightSideBearing),d.writeShort(this.xMaxExtent),d.writeShort(this.caretSlopeRise),d.writeShort(this.caretSlopeRun),d.writeShort(this.caretOffset),c=e=0,f=8;f>=0?f>e:e>f;c=f>=0?++e:--e)d.writeByte(0);return d.writeShort(this.metricDataFormat),d.writeUInt16(a.length),d.data},c}(e),a.exports=d}).call(this)},function(a,b,c){(function(){var b,d,e,f={}.hasOwnProperty,g=function(a,b){function c(){this.constructor=a}for(var d in b)f.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a};e=c(76),b=c(72),d=function(a){function c(){return c.__super__.constructor.apply(this,arguments)}return g(c,a),c.prototype.tag="maxp",c.prototype.parse=function(a){return a.pos=this.offset,this.version=a.readInt(),this.numGlyphs=a.readUInt16(),this.maxPoints=a.readUInt16(),this.maxContours=a.readUInt16(),this.maxCompositePoints=a.readUInt16(),this.maxComponentContours=a.readUInt16(),this.maxZones=a.readUInt16(),this.maxTwilightPoints=a.readUInt16(),this.maxStorage=a.readUInt16(),this.maxFunctionDefs=a.readUInt16(),this.maxInstructionDefs=a.readUInt16(),this.maxStackElements=a.readUInt16(),this.maxSizeOfInstructions=a.readUInt16(),this.maxComponentElements=a.readUInt16(),this.maxComponentDepth=a.readUInt16()},c.prototype.encode=function(a){var c;return c=new b,c.writeInt(this.version),c.writeUInt16(a.length),c.writeUInt16(this.maxPoints),c.writeUInt16(this.maxContours),c.writeUInt16(this.maxCompositePoints),c.writeUInt16(this.maxComponentContours),c.writeUInt16(this.maxZones),c.writeUInt16(this.maxTwilightPoints),c.writeUInt16(this.maxStorage),c.writeUInt16(this.maxFunctionDefs),c.writeUInt16(this.maxInstructionDefs),c.writeUInt16(this.maxStackElements),c.writeUInt16(this.maxSizeOfInstructions),c.writeUInt16(this.maxComponentElements),c.writeUInt16(this.maxComponentDepth),c.data},c}(e),a.exports=d}).call(this)},function(a,b,c){(function(){var b,d,e,f={}.hasOwnProperty,g=function(a,b){function c(){this.constructor=a}for(var d in b)f.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a};e=c(76),b=c(72),d=function(a){function c(){return c.__super__.constructor.apply(this,arguments)}var d;return g(c,a),c.prototype.tag="post",c.prototype.parse=function(a){var b,c,d,e,f;switch(a.pos=this.offset,this.format=a.readInt(),this.italicAngle=a.readInt(),this.underlinePosition=a.readShort(),this.underlineThickness=a.readShort(),this.isFixedPitch=a.readInt(),this.minMemType42=a.readInt(),this.maxMemType42=a.readInt(),this.minMemType1=a.readInt(),this.maxMemType1=a.readInt(),this.format){case 65536:break;case 131072:for(d=a.readUInt16(),this.glyphNameIndex=[],b=e=0;d>=0?d>e:e>d;b=d>=0?++e:--e)this.glyphNameIndex.push(a.readUInt16());for(this.names=[],f=[];a.pos<this.offset+this.length;)c=a.readByte(),f.push(this.names.push(a.readString(c)));return f;case 151552:return d=a.readUInt16(),this.offsets=a.read(d);case 196608:break;case 262144:return this.map=function(){var c,d,e;for(e=[],b=c=0,d=this.file.maxp.numGlyphs;d>=0?d>c:c>d;b=d>=0?++c:--c)e.push(a.readUInt32());return e}.call(this)}},c.prototype.glyphFor=function(a){var b;switch(this.format){case 65536:return d[a]||".notdef";case 131072:return b=this.glyphNameIndex[a],257>=b?d[b]:this.names[b-258]||".notdef";case 151552:return d[a+this.offsets[a]]||".notdef";case 196608:return".notdef";case 262144:return this.map[a]||65535}},c.prototype.encode=function(a){var c,e,f,g,h,i,j,k,l,m,n,o,p,q,r;if(!this.exists)return null;if(i=this.raw(),196608===this.format)return i;for(l=new b(i.slice(0,32)),l.writeUInt32(131072),l.pos=32,f=[],k=[],m=0,p=a.length;p>m;m++)c=a[m],h=this.glyphFor(c),g=d.indexOf(h),-1!==g?f.push(g):(f.push(257+k.length),k.push(h));for(l.writeUInt16(Object.keys(a).length),n=0,q=f.length;q>n;n++)e=f[n],l.writeUInt16(e);for(o=0,r=k.length;r>o;o++)j=k[o],l.writeByte(j.length),l.writeString(j);return l.data},d=".notdef .null nonmarkingreturn space exclam quotedbl numbersign dollar percent\nampersand quotesingle parenleft parenright asterisk plus comma hyphen period slash\nzero one two three four five six seven eight nine colon semicolon less equal greater\nquestion 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\nbracketleft backslash bracketright asciicircum underscore grave\na 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\nbraceleft bar braceright asciitilde Adieresis Aring Ccedilla Eacute Ntilde Odieresis\nUdieresis aacute agrave acircumflex adieresis atilde aring ccedilla eacute egrave\necircumflex edieresis iacute igrave icircumflex idieresis ntilde oacute ograve\nocircumflex odieresis otilde uacute ugrave ucircumflex udieresis dagger degree cent\nsterling section bullet paragraph germandbls registered copyright trademark acute\ndieresis notequal AE Oslash infinity plusminus lessequal greaterequal yen mu\npartialdiff summation product pi integral ordfeminine ordmasculine Omega ae oslash\nquestiondown exclamdown logicalnot radical florin approxequal Delta guillemotleft\nguillemotright ellipsis nonbreakingspace Agrave Atilde Otilde OE oe endash emdash\nquotedblleft quotedblright quoteleft quoteright divide lozenge ydieresis Ydieresis\nfraction currency guilsinglleft guilsinglright fi fl daggerdbl periodcentered\nquotesinglbase quotedblbase perthousand Acircumflex Ecircumflex Aacute Edieresis\nEgrave Iacute Icircumflex Idieresis Igrave Oacute Ocircumflex apple Ograve Uacute\nUcircumflex Ugrave dotlessi circumflex tilde macron breve dotaccent ring cedilla\nhungarumlaut ogonek caron Lslash lslash Scaron scaron Zcaron zcaron brokenbar Eth\neth Yacute yacute Thorn thorn minus multiply onesuperior twosuperior threesuperior\nonehalf onequarter threequarters franc Gbreve gbreve Idotaccent Scedilla scedilla\nCacute cacute Ccaron ccaron dcroat".split(/\s+/g),c}(e),a.exports=d}).call(this)},function(a,b,c){(function(){var b,d,e={}.hasOwnProperty,f=function(a,b){function c(){this.constructor=a}for(var d in b)e.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a};d=c(76),b=function(a){function b(){return b.__super__.constructor.apply(this,arguments)}return f(b,a),b.prototype.tag="OS/2",b.prototype.parse=function(a){var b;return a.pos=this.offset,this.version=a.readUInt16(),this.averageCharWidth=a.readShort(),this.weightClass=a.readUInt16(),this.widthClass=a.readUInt16(),this.type=a.readShort(),this.ySubscriptXSize=a.readShort(),this.ySubscriptYSize=a.readShort(),this.ySubscriptXOffset=a.readShort(),this.ySubscriptYOffset=a.readShort(),this.ySuperscriptXSize=a.readShort(),this.ySuperscriptYSize=a.readShort(),this.ySuperscriptXOffset=a.readShort(),this.ySuperscriptYOffset=a.readShort(),this.yStrikeoutSize=a.readShort(),this.yStrikeoutPosition=a.readShort(),this.familyClass=a.readShort(),this.panose=function(){var c,d;for(d=[],b=c=0;10>c;b=++c)d.push(a.readByte());return d}(),this.charRange=function(){var c,d;for(d=[],b=c=0;4>c;b=++c)d.push(a.readInt());return d}(),this.vendorID=a.readString(4),this.selection=a.readShort(),this.firstCharIndex=a.readShort(),this.lastCharIndex=a.readShort(),this.version>0&&(this.ascent=a.readShort(),this.descent=a.readShort(),this.lineGap=a.readShort(),this.winAscent=a.readShort(),this.winDescent=a.readShort(),this.codePageRange=function(){var c,d;for(d=[],b=c=0;2>c;b=++c)d.push(a.readInt());return d}(),this.version>1)?(this.xHeight=a.readShort(),this.capHeight=a.readShort(),this.defaultChar=a.readShort(),this.breakChar=a.readShort(),this.maxContext=a.readShort()):void 0},b.prototype.encode=function(){return this.raw()},b}(d),a.exports=b}).call(this)},function(a,b,c){(function(){var b,d,e,f={}.hasOwnProperty,g=function(a,b){function c(){this.constructor=a}for(var d in b)f.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a};e=c(76),b=c(72),d=function(a){function c(){return c.__super__.constructor.apply(this,arguments)}return g(c,a),c.prototype.tag="loca",c.prototype.parse=function(a){var b,c;return a.pos=this.offset,b=this.file.head.indexToLocFormat,0===b?this.offsets=function(){var b,d,e;for(e=[],c=b=0,d=this.length;d>b;c=b+=2)e.push(2*a.readUInt16());return e}.call(this):this.offsets=function(){var b,d,e;for(e=[],c=b=0,d=this.length;d>b;c=b+=4)e.push(a.readUInt32());return e}.call(this)},c.prototype.indexOf=function(a){return this.offsets[a]},c.prototype.lengthOf=function(a){return this.offsets[a+1]-this.offsets[a]},c.prototype.encode=function(a){var c,d,e,f,g,h,i,j,k,l,m;for(f=new b,g=0,j=a.length;j>g;g++)if(d=a[g],d>65535){for(m=this.offsets,h=0,k=m.length;k>h;h++)c=m[h],f.writeUInt32(c);return e={format:1,table:f.data}}for(i=0,l=a.length;l>i;i++)c=a[i],f.writeUInt16(c/2);return e={format:0,table:f.data}},c}(e),a.exports=d}).call(this)},function(a,b,c){(function(){var b,d,e,f,g,h={}.hasOwnProperty,i=function(a,b){function c(){this.constructor=a}for(var d in b)h.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},j=[].slice;g=c(76),d=c(72),e=function(a){function c(){return c.__super__.constructor.apply(this,arguments)}return i(c,a),c.prototype.tag="glyf",c.prototype.parse=function(a){return this.cache={}},c.prototype.glyphFor=function(a){var c,e,g,h,i,j,k,l,m,n;return a in this.cache?this.cache[a]:(h=this.file.loca,c=this.file.contents,e=h.indexOf(a),g=h.lengthOf(a),0===g?this.cache[a]=null:(c.pos=this.offset+e,j=new d(c.read(g)),i=j.readShort(),l=j.readShort(),n=j.readShort(),k=j.readShort(),m=j.readShort(),-1===i?this.cache[a]=new b(j,l,n,k,m):this.cache[a]=new f(j,i,l,n,k,m),this.cache[a]))},c.prototype.encode=function(a,b,c){var d,e,f,g,h,i;for(g=[],f=[],h=0,i=b.length;i>h;h++)e=b[h],d=a[e],f.push(g.length),d&&(g=g.concat(d.encode(c)));return f.push(g.length),{table:g,offsets:f}},c}(g),f=function(){function a(a,b,c,d,e,f){this.raw=a,this.numberOfContours=b,this.xMin=c,this.yMin=d,this.xMax=e,this.yMax=f,this.compound=!1}return a.prototype.encode=function(){return this.raw.data},a}(),b=function(){function a(a,d,h,i,j){var k,l;for(this.raw=a,this.xMin=d,this.yMin=h,this.xMax=i,this.yMax=j,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],k=this.raw;;){if(l=k.readShort(),this.glyphOffsets.push(k.pos),this.glyphIDs.push(k.readShort()),!(l&c))break;l&b?k.pos+=4:k.pos+=2,l&g?k.pos+=8:l&e?k.pos+=4:l&f&&(k.pos+=2)}}var b,c,e,f,g,h;return b=1,f=8,c=32,e=64,g=128,h=256,a.prototype.encode=function(a){var b,c,e,f,g,h;for(e=new d(j.call(this.raw.data)),h=this.glyphIDs,b=f=0,g=h.length;g>f;b=++f)c=h[b],e.pos=this.glyphOffsets[b],e.writeShort(a[c]);return e.data},a}(),a.exports=e}).call(this)},function(a,b,c){(function(){var b,d;d=c(44),b=function(){function a(a){var b,d;this.contents=a,this.attributes={},this.glyphWidths={},this.boundingBoxes={},this.parse(),this.charWidths=function(){var a,b;for(b=[],d=a=0;255>=a;d=++a)b.push(this.glyphWidths[c[d]]);return b}.call(this),this.bbox=function(){var a,c,d,e;for(d=this.attributes.FontBBox.split(/\s+/),e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(+b);return e}.call(this),this.ascender=+(this.attributes.Ascender||0),this.decender=+(this.attributes.Descender||0),this.lineGap=this.bbox[3]-this.bbox[1]-(this.ascender-this.decender)}var b,c;return a.open=function(b){return new a(d.readFileSync(b,"utf8"))},a.prototype.parse=function(){var a,b,c,d,e,f,g,h,i,j;for(f="",j=this.contents.split("\n"),h=0,i=j.length;i>h;h++)if(c=j[h],d=c.match(/^Start(\w+)/))f=d[1];else if(d=c.match(/^End(\w+)/))f="";else switch(f){case"FontMetrics":d=c.match(/(^\w+)\s+(.*)/),b=d[1],g=d[2],(a=this.attributes[b])?(Array.isArray(a)||(a=this.attributes[b]=[a]),a.push(g)):this.attributes[b]=g;break;case"CharMetrics":if(!/^CH?\s/.test(c))continue;e=c.match(/\bN\s+(\.?\w+)\s*;/)[1],this.glyphWidths[e]=+c.match(/\bWX\s+(\d+)\s*;/)[1]}},b={402:131,8211:150,8212:151,8216:145,8217:146,8218:130,8220:147,8221:148,8222:132,8224:134,8225:135,8226:149,8230:133,8364:128,8240:137,8249:139,8250:155,710:136,8482:153,338:140,339:156,732:152,352:138,353:154,376:159,381:142,382:158},a.prototype.encodeText=function(a){var c,d,e,f,g;for(e="",d=f=0,g=a.length;g>=0?g>f:f>g;d=g>=0?++f:--f)c=a.charCodeAt(d),c=b[c]||c,e+=String.fromCharCode(c);return e},a.prototype.characterToGlyph=function(a){return c[b[a]||a]},a.prototype.widthOfGlyph=function(a){return this.glyphWidths[a]},c=".notdef       .notdef        .notdef        .notdef\n.notdef       .notdef        .notdef        .notdef\n.notdef       .notdef        .notdef        .notdef\n.notdef       .notdef        .notdef        .notdef\n.notdef       .notdef        .notdef        .notdef\n.notdef       .notdef        .notdef        .notdef\n.notdef       .notdef        .notdef        .notdef\n.notdef       .notdef        .notdef        .notdef\n\nspace         exclam         quotedbl       numbersign\ndollar        percent        ampersand      quotesingle\nparenleft     parenright     asterisk       plus\ncomma         hyphen         period         slash\nzero          one            two            three\nfour          five           six            seven\neight         nine           colon          semicolon\nless          equal          greater        question\n\nat            A              B              C\nD             E              F              G\nH             I              J              K\nL             M              N              O\nP             Q              R              S\nT             U              V              W\nX             Y              Z              bracketleft\nbackslash     bracketright   asciicircum    underscore\n\ngrave         a              b              c\nd             e              f              g\nh             i              j              k\nl             m              n              o\np             q              r              s\nt             u              v              w\nx             y              z              braceleft\nbar           braceright     asciitilde     .notdef\n\nEuro          .notdef        quotesinglbase florin\nquotedblbase  ellipsis       dagger         daggerdbl\ncircumflex    perthousand    Scaron         guilsinglleft\nOE            .notdef        Zcaron         .notdef\n.notdef       quoteleft      quoteright     quotedblleft\nquotedblright bullet         endash         emdash\ntilde         trademark      scaron         guilsinglright\noe            .notdef        zcaron         ydieresis\n\nspace         exclamdown     cent           sterling\ncurrency      yen            brokenbar      section\ndieresis      copyright      ordfeminine    guillemotleft\nlogicalnot    hyphen         registered     macron\ndegree        plusminus      twosuperior    threesuperior\nacute         mu             paragraph      periodcentered\ncedilla       onesuperior    ordmasculine   guillemotright\nonequarter    onehalf        threequarters  questiondown\n\nAgrave        Aacute         Acircumflex    Atilde\nAdieresis     Aring          AE             Ccedilla\nEgrave        Eacute         Ecircumflex    Edieresis\nIgrave        Iacute         Icircumflex    Idieresis\nEth           Ntilde         Ograve         Oacute\nOcircumflex   Otilde         Odieresis      multiply\nOslash        Ugrave         Uacute         Ucircumflex\nUdieresis     Yacute         Thorn          germandbls\n\nagrave        aacute         acircumflex    atilde\nadieresis     aring          ae             ccedilla\negrave        eacute         ecircumflex    edieresis\nigrave        iacute         icircumflex    idieresis\neth           ntilde         ograve         oacute\nocircumflex   otilde         odieresis      divide\noslash        ugrave         uacute         ucircumflex\nudieresis     yacute         thorn          ydieresis".split(/\s+/),a}(),a.exports=b}).call(this)},function(a,b,c){(function(){var b,d,e,f=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};b=c(79),e=c(77),d=function(){function a(a){this.font=a,this.subset={},this.unicodes={},this.next=33}return a.prototype.use=function(a){var b,c,d;{if("string"!=typeof a)return this.unicodes[a]?void 0:(this.subset[this.next]=a,this.unicodes[a]=this.next++);for(b=c=0,d=a.length;d>=0?d>c:c>d;b=d>=0?++c:--c)this.use(a.charCodeAt(b))}},a.prototype.encodeText=function(a){var b,c,d,e,f;for(d="",c=e=0,f=a.length;f>=0?f>e:e>f;c=f>=0?++e:--e)b=this.unicodes[a.charCodeAt(c)],d+=String.fromCharCode(b);return d},a.prototype.generateCmap=function(){var a,b,c,d,e;d=this.font.cmap.tables[0].codeMap,a={},e=this.subset;for(b in e)c=e[b],a[b]=d[c];return a},a.prototype.glyphIDs=function(){var a,b,c,d,e,g;d=this.font.cmap.tables[0].codeMap,a=[0],g=this.subset;for(b in g)c=g[b],e=d[c],null!=e&&f.call(a,e)<0&&a.push(e);return a.sort()},a.prototype.glyphsFor=function(a){var b,c,d,e,f,g,h;for(d={},f=0,g=a.length;g>f;f++)e=a[f],d[e]=this.font.glyf.glyphFor(e);b=[];for(e in d)c=d[e],(null!=c?c.compound:void 0)&&b.push.apply(b,c.glyphIDs);if(b.length>0){h=this.glyphsFor(b);for(e in h)c=h[e],d[e]=c}return d},a.prototype.encode=function(){var a,c,d,f,g,h,i,j,k,l,m,n,o,p,q,r,s;a=b.encode(this.generateCmap(),"unicode"),f=this.glyphsFor(this.glyphIDs()),n={0:0},r=a.charMap;for(c in r)h=r[c],n[h.old]=h["new"];m=a.maxGlyphID;for(o in f)o in n||(n[o]=m++);k=e.invert(n),l=Object.keys(k).sort(function(a,b){return a-b}),p=function(){var a,b,c;for(c=[],a=0,b=l.length;b>a;a++)g=l[a],c.push(k[g]);return c}(),d=this.font.glyf.encode(f,p,n),i=this.font.loca.encode(d.offsets),j=this.font.name.encode(),this.postscriptName=j.postscriptName,this.cmap={},s=a.charMap;for(c in s)h=s[c],this.cmap[c]=h.old;return q={cmap:a.table,glyf:d.table,loca:i.table,hmtx:this.font.hmtx.encode(p),hhea:this.font.hhea.encode(p),maxp:this.font.maxp.encode(p),post:this.font.post.encode(p),name:j.table,head:this.font.head.encode(i)},this.font.os2.exists&&(q["OS/2"]=this.font.os2.raw()),this.font.directory.encode(q)},a}(),a.exports=d}).call(this)},function(a,b,c){(function(){var b;b=c(90),a.exports={initText:function(){return this.x=0,this.y=0,this._lineGap=0},lineGap:function(a){return this._lineGap=a,this},moveDown:function(a){return null==a&&(a=1),this.y+=this.currentLineHeight(!0)*a+this._lineGap,this},moveUp:function(a){return null==a&&(a=1),this.y-=this.currentLineHeight(!0)*a+this._lineGap,this},_text:function(a,c,d,e,f){var g,h,i,j,k;if(e=this._initOptions(c,d,e),a=""+a,e.wordSpacing&&(a=a.replace(/\s{2,}/g," ")),e.width)h=this._wrapper,h||(h=new b(this,e),h.on("line",f)),this._wrapper=e.continued?h:null,this._textOptions=e.continued?e:null,h.wrap(a,e);else for(k=a.split("\n"),i=0,j=k.length;j>i;i++)g=k[i],f(g,e);return this},text:function(a,b,c,d){return this._text(a,b,c,d,this._line.bind(this))},widthOfString:function(a,b){return null==b&&(b={}),this._font.widthOfString(a,this._fontSize)+(b.characterSpacing||0)*(a.length-1)},heightOfString:function(a,b){var c,d,e,f;return null==b&&(b={}),e=this.x,f=this.y,b=this._initOptions(b),b.height=1/0,d=b.lineGap||this._lineGap||0,this._text(a,this.x,this.y,b,function(a){return function(b,c){return a.y+=a.currentLineHeight(!0)+d}}(this)),c=this.y-f,this.x=e,this.y=f,c},list:function(a,c,d,e,f){var g,h,i,j,k,l,m,n;return e=this._initOptions(c,d,e),n=Math.round(this._font.ascender/1e3*this._fontSize/3),i=e.textIndent||5*n,j=e.bulletIndent||8*n,l=1,k=[],m=[],g=function(a){var b,c,d,e,f;for(f=[],b=d=0,e=a.length;e>d;b=++d)c=a[b],Array.isArray(c)?(l++,g(c),f.push(l--)):(k.push(c),f.push(m.push(l)));return f},g(a),f=new b(this,e),f.on("line",this._line.bind(this)),l=1,h=0,f.on("firstLine",function(a){return function(){var b,c;return(c=m[h++])!==l&&(b=j*(c-l),a.x+=b,f.lineWidth-=b,l=c),a.circle(a.x-i+n,a.y+n+n/2,n),a.fill()}}(this)),f.on("sectionStart",function(a){return function(){var b;return b=i+j*(l-1),a.x+=b,f.lineWidth-=b}}(this)),f.on("sectionEnd",function(a){return function(){var b;return b=i+j*(l-1),a.x-=b,f.lineWidth+=b}}(this)),f.wrap(k.join("\n"),e),this},_initOptions:function(a,b,c){var d,e,f,g;if(null==a&&(a={}),null==c&&(c={}),"object"==typeof a&&(c=a,a=null),c=function(){var a,b,d;b={};for(a in c)d=c[a],b[a]=d;return b}(),this._textOptions){g=this._textOptions;for(d in g)f=g[d],"continued"!==d&&null==c[d]&&(c[d]=f)}return null!=a&&(this.x=a),null!=b&&(this.y=b),c.lineBreak!==!1&&(e=this.page.margins,null==c.width&&(c.width=this.page.width-this.x-e.right)),c.columns||(c.columns=0),null==c.columnGap&&(c.columnGap=18),c},_line:function(a,b,c){var d;return null==b&&(b={}),this._fragment(a,this.x,this.y,b),d=b.lineGap||this._lineGap||0,c?this.y+=this.currentLineHeight(!0)+d:this.x+=this.widthOfString(a)},_fragment:function(a,b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;if(a=""+a,0!==a.length){if(e=d.align||"left",r=d.wordSpacing||0,f=d.characterSpacing||0,d.width)switch(e){case"right":p=this.widthOfString(a.replace(/\s+$/,""),d),b+=d.lineWidth-p;break;case"center":b+=d.lineWidth/2-d.textWidth/2;break;case"justify":s=a.trim().split(/\s+/),p=this.widthOfString(a.replace(/\s+/g,""),d),o=this.widthOfString(" ")+f,r=Math.max(0,(d.lineWidth-p)/Math.max(1,s.length-1)-o)}if(n=d.textWidth+r*(d.wordCount-1)+f*(a.length-1),d.link&&this.link(b,c,n,this.currentLineHeight(),d.link),(d.underline||d.strike)&&(this.save(),d.stroke||this.strokeColor.apply(this,this._fillColor),k=this._fontSize<10?.5:Math.floor(this._fontSize/10),this.lineWidth(k),h=d.underline?1:2,l=c+this.currentLineHeight()/h,d.underline&&(l-=k),this.moveTo(b,l),this.lineTo(b+n,l),this.stroke(),this.restore()),this.save(),this.transform(1,0,0,-1,0,this.page.height),c=this.page.height-c-this._font.ascender/1e3*this._fontSize,null==(t=this.page.fonts)[w=this._font.id]&&(t[w]=this._font.ref()),this._font.use(a),this.addContent("BT"),this.addContent(""+b+" "+c+" Td"),this.addContent("/"+this._font.id+" "+this._fontSize+" Tf"),m=d.fill&&d.stroke?2:d.stroke?1:0,m&&this.addContent(""+m+" Tr"),f&&this.addContent(""+f+" Tc"),r){for(s=a.trim().split(/\s+/),r+=this.widthOfString(" ")+f,r*=1e3/this._fontSize,g=[],u=0,v=s.length;v>u;u++)q=s[u],i=this._font.encode(q),i=function(){var a,b,c;for(c=[],j=a=0,b=i.length;b>a;j=a+=1)c.push(i.charCodeAt(j).toString(16));return c}().join(""),g.push("<"+i+"> "+-r);this.addContent("["+g.join(" ")+"] TJ")}else i=this._font.encode(a),i=function(){var a,b,c;for(c=[],j=a=0,b=i.length;b>a;j=a+=1)c.push(i.charCodeAt(j).toString(16));return c}().join(""),this.addContent("<"+i+"> Tj");return this.addContent("ET"),this.restore()}}}}).call(this)},function(a,b,c){(function(){var b,d,e,f={}.hasOwnProperty,g=function(a,b){function c(){this.constructor=a}for(var d in b)f.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a};b=c(26).EventEmitter,d=c(91),e=function(a){function b(a,b){var c;this.document=a,this.indent=b.indent||0,this.characterSpacing=b.characterSpacing||0,this.wordSpacing=0===b.wordSpacing,this.columns=b.columns||1,this.columnGap=null!=(c=b.columnGap)?c:18,this.lineWidth=(b.width-this.columnGap*(this.columns-1))/this.columns,this.spaceLeft=this.lineWidth,this.startX=this.document.x,this.startY=this.document.y,this.column=1,this.ellipsis=b.ellipsis,this.continuedX=0,null!=b.height?(this.height=b.height,this.maxY=this.startY+b.height):this.maxY=this.document.page.maxY(),this.on("firstLine",function(a){return function(b){var c;return c=a.continuedX||a.indent,a.document.x+=c,a.lineWidth-=c,a.once("line",function(){return a.document.x-=c,a.lineWidth+=c,b.continued&&!a.continuedX&&(a.continuedX=a.indent),b.continued?void 0:a.continuedX=0})}}(this)),this.on("lastLine",function(a){return function(b){var c;return c=b.align,"justify"===c&&(b.align="left"),a.lastLine=!0,a.once("line",function(){return a.document.y+=b.paragraphGap||0,b.align=c,a.lastLine=!1})}}(this))}return g(b,a),b.prototype.wordWidth=function(a){return this.document.widthOfString(a,this)+this.characterSpacing+this.wordSpacing},b.prototype.eachWord=function(a,b){var c,e,f,g,h,i,j,k,l,m;for(e=new d(a),h=null,m={};c=e.nextBreak();){if(l=a.slice((null!=h?h.position:void 0)||0,c.position),k=null!=m[l]?m[l]:m[l]=this.wordWidth(l),k>this.lineWidth+this.continuedX)for(i=h,f={};l.length;){for(g=l.length;k>this.spaceLeft;)k=this.wordWidth(l.slice(0,--g));if(f.required=g<l.length,j=b(l.slice(0,g),k,f,i),i={required:!1},l=l.slice(g),k=this.wordWidth(l),j===!1)break}else j=b(l,k,c,h);if(j===!1)break;h=c}},b.prototype.wrap=function(a,b){var c,d,e,f,g,h,i;return null!=b.indent&&(this.indent=b.indent),null!=b.characterSpacing&&(this.characterSpacing=b.characterSpacing),null!=b.wordSpacing&&(this.wordSpacing=b.wordSpacing),null!=b.ellipsis&&(this.ellipsis=b.ellipsis),f=this.document.y+this.document.currentLineHeight(!0),(this.document.y>this.maxY||f>this.maxY)&&this.nextSection(),c="",g=0,h=0,e=0,i=this.document.y,d=function(a){return function(){return b.textWidth=g+a.wordSpacing*(h-1),b.wordCount=h,b.lineWidth=a.lineWidth,i=a.document.y,a.emit("line",c,b,a),e++}}(this),this.emit("sectionStart",b,this),this.eachWord(a,function(a){return function(e,f,i,j){var k,l;if((null==j||j.required)&&(a.emit("firstLine",b,a),a.spaceLeft=a.lineWidth),f<=a.spaceLeft&&(c+=e,g+=f,h++),i.required||f>a.spaceLeft){if(i.required&&a.emit("lastLine",b,a),k=a.document.currentLineHeight(!0),null!=a.height&&a.ellipsis&&a.document.y+2*k>a.maxY&&a.column>=a.columns){for(a.ellipsis===!0&&(a.ellipsis="…"),c=c.replace(/\s+$/,""),g=a.wordWidth(c+a.ellipsis);g>a.lineWidth;)c=c.slice(0,-1).replace(/\s+$/,""),g=a.wordWidth(c+a.ellipsis);c+=a.ellipsis}return d(),a.document.y+k>a.maxY&&(l=a.nextSection(),!l)?(h=0,c="",!1):i.required?(f>a.spaceLeft&&(c=e,g=f,h=1,d()),a.spaceLeft=a.lineWidth,c="",g=0,h=0):(a.spaceLeft=a.lineWidth-f,c=e,g=f,h=1)}return a.spaceLeft-=f}}(this)),h>0&&(this.emit("lastLine",b,this),d()),this.emit("sectionEnd",b,this),b.continued===!0?(e>1&&(this.continuedX=0),this.continuedX+=b.textWidth,this.document.y=i):this.document.x=this.startX},b.prototype.nextSection=function(a){var b;if(this.emit("sectionEnd",a,this),++this.column>this.columns){if(null!=this.height)return!1;this.document.addPage(),this.column=1,this.startY=this.document.page.margins.top,this.maxY=this.document.page.maxY(),this.document.x=this.startX,this.document._fillColor&&(b=this.document).fillColor.apply(b,this.document._fillColor),this.emit("pageBreak",a,this)}else this.document.x+=this.lineWidth+this.columnGap,this.document.y=this.startY,this.emit("columnBreak",a,this);return this.emit("sectionStart",a,this),!0},b}(b),a.exports=e}).call(this)},function(a,b,c){(function(){var b,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D;w=c(92),A=new w(c(93)),C=c(94),f=C.BK,k=C.CR,o=C.LF,q=C.NL,g=C.CB,e=C.BA,v=C.SP,x=C.WJ,v=C.SP,f=C.BK,o=C.LF,q=C.NL,b=C.AI,d=C.AL,t=C.SA,u=C.SG,y=C.XX,i=C.CJ,m=C.ID,r=C.NS,z=C.characterClasses,D=c(95),l=D.DI_BRK,n=D.IN_BRK,h=D.CI_BRK,j=D.CP_BRK,s=D.PR_BRK,B=D.pairTable,p=function(){function a(a){this.string=a,this.pos=0,this.lastPos=0,this.curClass=null,this.nextClass=null}var c,m,p;return a.prototype.nextCodePoint=function(){var a,b;return a=this.string.charCodeAt(this.pos++),b=this.string.charCodeAt(this.pos),a>=55296&&56319>=a&&b>=56320&&57343>=b?(this.pos++,1024*(a-55296)+(b-56320)+65536):a;
-},m=function(a){switch(a){case b:return d;case t:case u:case y:return d;case i:return r;default:return a}},p=function(a){switch(a){case o:case q:return f;case g:return e;case v:return x;default:return a}},a.prototype.nextCharClass=function(a){return null==a&&(a=!1),m(A.get(this.nextCodePoint()))},c=function(){function a(a,b){this.position=a,this.required=null!=b?b:!1}return a}(),a.prototype.nextBreak=function(){var a,b,d;for(null==this.curClass&&(this.curClass=p(this.nextCharClass()));this.pos<this.string.length;){if(this.lastPos=this.pos,b=this.nextClass,this.nextClass=this.nextCharClass(),this.curClass===f||this.curClass===k&&this.nextClass!==o)return this.curClass=p(m(this.nextClass)),new c(this.lastPos,!0);if(a=function(){switch(this.nextClass){case v:return this.curClass;case f:case o:case q:return f;case k:return k;case g:return e}}.call(this),null==a){switch(d=!1,B[this.curClass][this.nextClass]){case l:d=!0;break;case n:d=b===v;break;case h:if(d=b===v,!d)continue;break;case j:if(b!==v)continue}if(this.curClass=this.nextClass,d)return new c(this.lastPos)}else if(this.curClass=a,this.nextClass===g)return new c(this.lastPos)}return this.pos>=this.string.length?this.lastPos<this.string.length?(this.lastPos=this.string.length,new c(this.string.length)):null:void 0},a}(),a.exports=p}).call(this)},function(a,b){var c,d=[].slice;c=function(){function a(a){var b,c;null==a&&(a={}),this.data=a.data||[],this.highStart=null!=(b=a.highStart)?b:0,this.errorValue=null!=(c=a.errorValue)?c:-1}var b,c,e,f,g,h,i,j,k,l,m,n,o,p,q,r;return n=11,p=5,o=n-p,m=65536>>n,g=1<<o,i=g-1,j=2,b=1<<p,e=b-1,l=65536>>p,k=1024>>p,h=l+k,r=h,q=32,f=r+q,c=1<<j,a.prototype.get=function(a){var b;return 0>a||a>1114111?this.errorValue:55296>a||a>56319&&65535>=a?(b=(this.data[a>>p]<<j)+(a&e),this.data[b]):65535>=a?(b=(this.data[l+(a-55296>>p)]<<j)+(a&e),this.data[b]):a<this.highStart?(b=this.data[f-m+(a>>n)],b=this.data[b+(a>>p&i)],b=(b<<j)+(a&e),this.data[b]):this.data[this.data.length-c]},a.prototype.toJSON=function(){var a;return a={data:d.call(this.data),highStart:this.highStart,errorValue:this.errorValue}},a}(),a.exports=c},function(a,b){a.exports={data:[1961,1969,1977,1985,2025,2033,2041,2049,2057,2065,2073,2081,2089,2097,2105,2113,2121,2129,2137,2145,2153,2161,2169,2177,2185,2193,2201,2209,2217,2225,2233,2241,2249,2257,2265,2273,2281,2289,2297,2305,2313,2321,2329,2337,2345,2353,2361,2369,2377,2385,2393,2401,2409,2417,2425,2433,2441,2449,2457,2465,2473,2481,2489,2497,2505,2513,2521,2529,2529,2537,2009,2545,2553,2561,2569,2577,2585,2593,2601,2609,2617,2625,2633,2641,2649,2657,2665,2673,2681,2689,2697,2705,2713,2721,2729,2737,2745,2753,2761,2769,2777,2785,2793,2801,2809,2817,2825,2833,2841,2849,2857,2865,2873,2881,2889,2009,2897,2905,2913,2009,2921,2929,2937,2945,2953,2961,2969,2009,2977,2977,2985,2993,3001,3009,3009,3009,3017,3017,3017,3025,3025,3033,3041,3041,3049,3049,3049,3049,3049,3049,3049,3049,3049,3049,3057,3065,3073,3073,3073,3081,3089,3097,3097,3097,3097,3097,3097,3097,3097,3097,3097,3097,3097,3097,3097,3097,3097,3097,3097,3097,3105,3113,3113,3121,3129,3137,3145,3153,3161,3161,3169,3177,3185,3193,3193,3193,3193,3201,3209,3209,3217,3225,3233,3241,3241,3241,3249,3257,3265,3273,3273,3281,3289,3297,2009,2009,3305,3313,3321,3329,3337,3345,3353,3361,3369,3377,3385,3393,2009,2009,3401,3409,3417,3417,3417,3417,3417,3417,3425,3425,3433,3433,3433,3433,3433,3433,3433,3433,3433,3433,3433,3433,3433,3433,3433,3441,3449,3457,3465,3473,3481,3489,3497,3505,3513,3521,3529,3537,3545,3553,3561,3569,3577,3585,3593,3601,3609,3617,3625,3625,3633,3641,3649,3649,3649,3649,3649,3657,3665,3665,3673,3681,3681,3681,3681,3689,3697,3697,3705,3713,3721,3729,3737,3745,3753,3761,3769,3777,3785,3793,3801,3809,3817,3825,3833,3841,3849,3857,3865,3873,3881,3881,3881,3881,3881,3881,3881,3881,3881,3881,3881,3881,3889,3897,3905,3913,3921,3921,3921,3921,3921,3921,3921,3921,3921,3921,3929,2009,2009,2009,2009,2009,3937,3937,3937,3937,3937,3937,3937,3945,3953,3953,3953,3961,3969,3969,3977,3985,3993,4001,2009,2009,4009,4009,4009,4009,4009,4009,4009,4009,4009,4009,4009,4009,4017,4025,4033,4041,4049,4057,4065,4073,4081,4081,4081,4081,4081,4081,4081,4089,4097,4097,4105,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4113,4121,4121,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4129,4137,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4145,4153,4161,4169,4169,4169,4169,4169,4169,4169,4169,4177,4185,4193,4201,4209,4217,4217,4225,4233,4233,4233,4233,4233,4233,4233,4233,4241,4249,4257,4265,4273,4281,4289,4297,4305,4313,4321,4329,4337,4345,4353,4361,4361,4369,4377,4385,4385,4385,4385,4393,4401,4409,4409,4409,4409,4409,4409,4417,4425,4433,4441,4449,4457,4465,4473,4481,4489,4497,4505,4513,4521,4529,4537,4545,4553,4561,4569,4577,4585,4593,4601,4609,4617,4625,4633,4641,4649,4657,4665,4673,4681,4689,4697,4705,4713,4721,4729,4737,4745,4753,4761,4769,4777,4785,4793,4801,4809,4817,4825,4833,4841,4849,4857,4865,4873,4881,4889,4897,4905,4913,4921,4929,4937,4945,4953,4961,4969,4977,4985,4993,5001,5009,5017,5025,5033,5041,5049,5057,5065,5073,5081,5089,5097,5105,5113,5121,5129,5137,5145,5153,5161,5169,5177,5185,5193,5201,5209,5217,5225,5233,5241,5249,5257,5265,5273,5281,5289,5297,5305,5313,5321,5329,5337,5345,5353,5361,5369,5377,5385,5393,5401,5409,5417,5425,5433,5441,5449,5457,5465,5473,5481,5489,5497,5505,5513,5521,5529,5537,5545,5553,5561,5569,5577,5585,5593,5601,5609,5617,5625,5633,5641,5649,5657,5665,5673,5681,5689,5697,5705,5713,5721,5729,5737,5745,5753,5761,5769,5777,5785,5793,5801,5809,5817,5825,5833,5841,5849,5857,5865,5873,5881,5889,5897,5905,5913,5921,5929,5937,5945,5953,5961,5969,5977,5985,5993,6001,6009,6017,6025,6033,6041,6049,6057,6065,6073,6081,6089,6097,6105,6113,6121,6129,6137,6145,6153,6161,6169,6177,6185,6193,6201,6209,6217,6225,6233,6241,6249,6257,6265,6273,6281,6289,6297,6305,6313,6321,6329,6337,6345,6353,6361,6369,6377,6385,6393,6401,6409,6417,6425,6433,6441,6449,6457,6465,6473,6481,6489,6497,6505,6513,6521,6529,6537,6545,6553,6561,6569,6577,6585,6593,6601,6609,6617,6625,6633,6641,6649,6657,6665,6673,6681,6689,6697,6705,6713,6721,6729,6737,6745,6753,6761,6769,6777,6785,6793,6801,6809,6817,6825,6833,6841,6849,6857,6865,6873,6881,6889,6897,6905,6913,6921,6929,6937,6945,6953,6961,6969,6977,6985,6993,7001,7009,7017,7025,7033,7041,7049,7057,7065,7073,7081,7089,7097,7105,7113,7121,7129,7137,7145,7153,7161,7169,7177,7185,7193,7201,7209,7217,7225,7233,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,7249,7249,7249,7249,7249,7249,7249,7249,7249,7249,7249,7249,7249,7249,7249,7249,7257,7265,7273,7281,7281,7281,7281,7281,7281,7281,7281,7281,7281,7281,7281,7281,7281,7289,7297,7305,7305,7305,7305,7313,7321,7329,7337,7345,7353,7353,7353,7361,7369,7377,7385,7393,7401,7409,7417,7425,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7241,7972,7972,8100,8164,8228,8292,8356,8420,8484,8548,8612,8676,8740,8804,8868,8932,8996,9060,9124,9188,9252,9316,9380,9444,9508,9572,9636,9700,9764,9828,9892,9956,2593,2657,2721,2529,2785,2529,2849,2913,2977,3041,3105,3169,3233,3297,2529,2529,2529,2529,2529,2529,2529,2529,3361,2529,2529,2529,3425,2529,2529,3489,3553,2529,3617,3681,3745,3809,3873,3937,4001,4065,4129,4193,4257,4321,4385,4449,4513,4577,4641,4705,4769,4833,4897,4961,5025,5089,5153,5217,5281,5345,5409,5473,5537,5601,5665,5729,5793,5857,5921,5985,6049,6113,6177,6241,6305,6369,6433,6497,6561,6625,6689,6753,6817,6881,6945,7009,7073,7137,7201,7265,7329,7393,7457,7521,7585,7649,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,2529,7713,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,7433,7433,7433,7433,7433,7433,7433,7441,7449,7457,7457,7457,7457,7457,7457,7465,2009,2009,2009,2009,7473,7473,7473,7473,7473,7473,7473,7473,7481,7489,7497,7505,7505,7505,7505,7505,7513,7521,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,7529,7529,7537,7545,7545,7545,7545,7545,7553,7561,7561,7561,7561,7561,7561,7561,7569,7577,7585,7593,7593,7593,7593,7593,7593,7601,7609,7609,7609,7609,7609,7609,7609,7609,7609,7609,7609,7609,7609,7609,7609,7609,7609,7609,7609,7609,7609,7609,7609,7609,7609,7617,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,7625,7633,7641,7649,7657,7665,7673,7681,7689,7697,7705,2009,7713,7721,7729,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,7737,7745,7753,2009,2009,2009,2009,2009,2009,2009,2009,2009,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7761,7769,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,7777,7777,7777,7777,7777,7777,7777,7777,7777,7777,7777,7777,7777,7777,7777,7777,7777,7777,7785,7793,7801,7809,7809,7809,7809,7809,7809,7817,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7825,7833,7841,7849,2009,2009,2009,7857,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,7865,7865,7865,7865,7865,7865,7865,7865,7865,7865,7865,7873,7881,7889,7897,7897,7897,7897,7905,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7913,7921,7929,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,7937,7937,7937,7937,7937,7937,7937,7945,2009,2009,2009,2009,2009,2009,2009,2009,7953,7953,7953,7953,7953,7953,7953,2009,7961,7969,7977,7985,7993,2009,2009,8001,8009,8009,8009,8009,8009,8009,8009,8009,8009,8009,8009,8009,8009,8017,8025,8025,8025,8025,8025,8025,8025,8033,8041,8049,8057,8065,8073,8081,8081,8081,8081,8081,8081,8081,8081,8081,8081,8081,8089,2009,8097,8097,8097,8105,2009,2009,2009,2009,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8113,8121,8129,8137,8137,8137,8137,8137,8137,8137,8137,8137,8137,8137,8137,8137,8137,8145,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,2009,67496,67496,67496,21,21,21,21,21,21,21,21,21,17,34,30,30,33,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,38,6,3,12,9,10,12,3,0,2,12,9,8,16,8,7,11,11,11,11,11,11,11,11,11,11,8,8,12,12,12,6,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,9,2,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,17,1,12,21,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,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,21,21,21,21,21,35,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,4,0,10,9,9,9,12,29,29,12,29,3,12,17,12,12,10,9,29,29,18,12,29,29,29,29,29,3,29,29,29,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,29,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,29,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,29,18,29,29,29,18,29,12,12,29,12,12,12,12,12,12,12,29,29,29,29,12,29,12,18,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,4,21,21,21,21,21,21,21,21,21,21,21,21,4,4,4,4,4,4,4,21,21,21,21,21,21,21,21,21,21,21,21,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,8,39,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,8,17,39,39,39,39,9,39,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,17,21,12,21,21,12,21,21,6,21,39,39,39,39,39,39,39,39,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,10,10,10,8,8,12,12,21,21,21,21,21,21,21,21,21,21,21,6,6,6,6,6,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,11,11,11,11,11,11,11,11,11,11,10,11,11,12,12,12,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,6,12,21,21,21,21,21,21,21,12,12,21,21,21,21,21,21,12,12,21,21,12,21,21,21,21,12,12,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,12,39,39,39,39,39,39,39,39,39,39,39,39,39,39,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,12,12,12,12,8,6,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,12,21,21,21,21,21,21,21,21,21,12,21,21,21,12,21,21,21,21,21,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,12,21,21,21,21,21,21,21,12,12,12,12,12,12,12,12,12,12,21,21,17,17,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,21,21,21,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,21,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,12,39,39,39,39,39,39,39,39,21,39,39,39,39,12,12,12,12,12,12,21,21,39,39,11,11,11,11,11,11,11,11,11,11,12,12,10,10,12,12,12,12,12,10,12,9,39,39,39,39,39,21,21,21,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,39,39,39,39,39,39,39,12,12,12,12,12,12,39,39,39,39,39,39,39,11,11,11,11,11,11,11,11,11,11,21,21,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,21,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,39,39,11,11,11,11,11,11,11,11,11,11,12,9,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,21,21,21,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,21,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,39,39,39,39,12,12,12,12,12,12,21,21,39,39,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,39,39,39,39,39,39,39,39,39,39,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,39,39,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,39,39,12,39,39,39,39,39,39,21,39,39,39,39,39,39,39,39,39,39,39,39,39,39,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,9,12,39,39,39,39,39,39,21,21,21,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,39,12,12,12,12,12,12,12,12,12,12,21,21,39,39,11,11,11,11,11,11,11,11,11,11,39,39,39,39,39,39,39,39,12,12,12,12,12,12,12,12,39,39,21,21,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,21,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,39,39,39,39,39,39,39,12,12,12,12,21,21,39,39,11,11,11,11,11,11,11,11,11,11,39,12,12,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,21,21,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,12,39,39,39,39,39,39,39,39,21,39,39,39,39,39,39,39,39,12,12,21,21,39,39,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,39,39,39,10,12,12,12,12,12,12,39,39,21,21,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,39,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,12,39,39,39,39,39,39,39,39,39,39,39,39,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,39,39,39,39,9,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,12,11,11,11,11,11,11,11,11,11,11,17,17,39,39,39,39,39,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,39,39,11,11,11,11,11,11,11,11,11,11,39,39,36,36,36,36,12,18,18,18,18,12,18,18,4,18,18,17,4,6,6,6,6,6,4,12,6,12,12,12,21,21,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,17,21,12,21,12,21,0,1,0,1,21,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,39,39,21,21,21,21,21,21,21,21,21,21,21,21,21,21,17,21,21,21,21,21,17,21,21,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,39,17,17,12,12,12,12,12,12,21,12,12,12,12,12,12,12,12,12,18,18,17,18,12,12,12,12,12,4,4,39,39,39,39,39,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,11,11,11,11,11,11,11,11,11,11,17,17,12,12,12,12,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,11,11,11,11,11,11,11,11,11,11,36,36,36,36,36,36,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,21,21,21,12,17,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,39,39,39,39,39,39,39,39,39,17,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,17,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,1,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,17,17,17,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,39,39,39,39,39,39,39,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,17,17,39,39,39,39,39,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,39,39,39,39,39,39,39,39,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,21,21,39,39,39,39,39,39,39,39,39,39,39,39,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,17,17,5,36,17,12,17,9,36,36,39,39,11,11,11,11,11,11,11,11,11,11,39,39,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,6,6,17,17,18,12,6,6,12,21,21,21,4,39,11,11,11,11,11,11,11,11,11,11,39,39,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,39,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,39,39,39,39,12,39,39,39,6,6,11,11,11,11,11,11,11,11,11,11,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,39,39,39,39,39,39,11,11,11,11,11,11,11,11,11,11,36,36,36,36,36,36,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,39,39,12,12,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,39,39,21,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,39,39,39,39,39,39,36,36,36,36,36,36,36,36,36,36,36,36,36,36,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,21,21,21,21,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,12,12,12,12,12,12,12,39,39,39,39,11,11,11,11,11,11,11,11,11,11,17,17,12,17,17,17,17,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,12,12,12,12,12,12,12,12,12,39,39,39,21,21,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,12,12,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,39,39,39,39,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,39,39,39,17,17,17,17,17,11,11,11,11,11,11,11,11,11,11,39,39,39,12,12,12,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,17,17,12,12,12,12,12,12,12,12,39,39,39,39,39,39,39,39,21,21,21,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,12,12,12,12,21,12,12,12,12,21,21,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,18,12,39,17,17,17,17,17,17,17,4,17,17,17,20,21,21,21,21,17,4,17,17,19,29,29,12,3,3,0,3,3,3,0,3,29,29,12,12,15,15,15,17,30,30,21,21,21,21,21,4,10,10,10,10,10,10,10,10,12,3,3,29,5,5,12,12,12,12,12,12,8,0,1,5,5,5,12,12,12,12,12,12,12,12,12,12,12,12,17,12,17,17,17,17,12,17,17,17,22,12,12,12,12,39,39,39,39,39,21,21,21,21,21,21,12,12,39,39,29,12,12,12,12,12,12,12,12,0,1,29,12,29,29,29,29,12,12,12,12,12,12,12,12,0,1,39,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,39,9,9,9,9,9,9,9,10,9,9,9,9,9,9,9,9,9,9,9,9,9,9,10,9,9,9,9,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,12,12,12,10,12,29,12,12,12,10,12,12,12,12,12,12,12,12,12,29,12,12,9,12,12,12,12,12,12,12,12,12,12,29,29,12,12,12,12,12,12,12,12,29,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,29,29,12,12,12,12,12,29,12,12,29,12,29,29,29,29,29,29,29,29,29,29,29,29,12,12,12,12,29,29,29,29,29,29,29,29,29,29,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,29,12,29,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,29,12,29,29,12,12,12,29,29,12,12,29,12,12,12,29,12,29,9,9,12,29,12,12,12,12,29,12,12,29,29,29,29,12,12,29,12,29,12,29,29,29,29,29,29,12,29,12,12,12,12,12,29,29,29,29,12,12,12,12,29,29,12,12,12,12,12,12,12,12,12,12,29,12,12,12,29,12,12,12,12,12,29,12,12,12,12,12,12,12,12,12,12,12,12,12,29,29,12,12,29,29,29,29,12,12,29,29,12,12,29,29,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,29,29,12,12,29,29,12,12,12,12,12,12,12,12,12,12,12,12,12,29,12,12,12,29,12,12,12,12,12,12,12,12,12,12,12,29,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,29,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,29,12,12,12,12,12,12,12,14,14,12,12,12,12,12,12,12,12,12,12,12,12,12,0,1,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,39,39,39,39,39,39,39,39,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,12,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,12,12,12,12,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,12,12,12,12,12,12,12,12,12,12,12,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,12,12,29,29,29,29,12,12,12,12,12,12,12,12,12,12,29,29,12,29,29,29,29,29,29,29,12,12,12,12,12,12,12,12,29,29,12,12,29,29,12,12,12,12,29,29,12,12,29,29,12,12,12,12,29,29,29,12,12,29,12,12,29,29,29,29,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,29,29,29,29,12,12,12,12,12,12,12,12,12,29,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,12,29,29,12,12,29,12,12,12,12,29,29,12,12,12,12,14,14,29,29,14,12,14,14,14,14,14,14,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,12,12,12,12,29,12,29,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,29,29,12,29,29,29,12,29,14,29,29,12,29,29,12,29,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,29,29,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,14,14,14,14,29,29,29,29,14,12,14,14,14,29,14,14,29,29,29,14,14,29,29,14,29,29,14,14,14,12,29,12,12,12,12,29,29,14,29,29,29,29,29,29,14,14,14,14,14,29,14,14,14,14,29,29,14,14,14,14,14,14,14,14,12,12,12,14,14,14,14,14,14,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,29,12,12,12,3,3,3,3,12,12,12,6,6,12,12,12,12,0,1,0,1,0,1,0,1,0,1,0,1,0,1,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,1,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,1,0,1,0,1,0,1,0,1,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,1,0,1,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,1,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,29,29,29,29,29,39,39,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,12,12,39,39,39,39,39,6,17,17,17,12,6,17,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,17,39,39,39,39,39,39,39,39,39,39,39,39,39,39,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,3,3,3,3,3,3,3,3,3,3,3,3,3,3,17,17,17,17,17,17,17,17,12,17,0,17,12,12,3,3,12,12,3,3,0,1,0,1,0,1,0,1,17,17,17,17,6,12,17,17,12,17,17,12,12,12,12,12,19,19,39,39,39,39,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,1,1,14,14,5,14,14,0,1,0,1,0,1,0,1,0,1,14,14,0,1,0,1,0,1,0,1,5,0,1,1,14,14,14,14,14,14,14,14,14,14,21,21,21,21,21,21,14,14,14,14,14,14,14,14,14,14,14,5,5,14,14,14,39,32,14,32,14,32,14,32,14,32,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,32,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,32,14,32,14,32,14,14,14,14,14,14,32,14,14,14,14,14,14,32,32,39,39,21,21,5,5,5,5,14,5,32,14,32,14,32,14,32,14,32,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,32,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,32,14,32,14,32,14,14,14,14,14,14,32,14,14,14,14,14,14,32,32,14,14,14,14,5,32,5,5,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,39,39,39,39,39,39,39,39,39,39,39,39,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,29,29,29,29,29,29,29,29,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,5,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,39,39,39,39,39,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,17,17,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,17,6,17,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,12,21,21,21,21,21,21,21,21,21,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,39,39,39,39,39,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,12,17,17,17,17,17,39,39,39,39,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,12,12,12,21,12,12,12,12,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,10,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,18,18,6,6,39,39,39,39,39,39,39,39,21,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,39,39,39,39,39,39,39,39,39,17,17,11,11,11,11,11,11,11,11,11,11,39,39,39,39,39,39,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,12,12,12,12,12,12,12,12,12,12,39,39,39,39,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,17,17,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,39,39,39,39,39,39,39,39,39,39,39,12,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,39,39,39,21,21,21,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,12,12,12,12,12,12,17,17,17,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,39,39,39,39,39,39,39,39,39,12,12,12,21,12,12,12,12,12,12,12,12,21,21,39,39,11,11,11,11,11,11,11,11,11,11,39,39,12,17,17,17,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,17,17,12,12,12,21,21,39,39,39,39,39,39,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,17,21,21,39,39,11,11,11,11,11,11,11,11,11,11,39,39,39,39,39,39,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,39,39,39,39,39,39,39,39,39,39,39,39,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,39,39,39,39,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,39,39,39,39,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,39,39,39,13,21,13,13,13,13,13,13,13,13,13,13,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,1,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,10,12,39,39,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,8,1,1,8,8,6,6,0,1,15,39,39,39,39,39,39,21,21,21,21,21,21,21,39,39,39,39,39,39,39,39,39,14,14,14,14,14,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,14,14,0,1,14,14,14,14,14,14,14,1,14,1,39,5,5,6,6,14,0,1,0,1,0,1,14,14,14,14,14,14,14,14,14,14,9,10,14,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,22,39,6,14,14,9,10,14,14,0,1,14,14,1,14,1,14,14,14,14,14,14,14,14,14,14,14,5,5,14,14,14,6,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,0,14,1,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,0,14,1,14,0,1,1,0,1,1,5,12,32,32,32,32,32,32,32,32,32,32,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,5,5,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,39,10,9,14,14,14,9,9,39,12,12,12,12,12,12,12,39,39,39,39,39,39,39,39,39,39,21,21,21,31,29,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,39,39,39,17,17,17,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,17,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,17,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,11,11,11,11,11,11,11,11,11,11,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,17,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,39,17,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,39,39,21,21,21,21,21,21,21,21,12,12,12,12,12,12,12,12,39,39,39,39,39,39,39,39,17,17,17,17,17,17,17,17,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,39,17,17,17,17,17,17,17,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,21,21,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,17,17,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,21,21,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,12,12,12,17,17,17,17,39,39,39,39,39,39,39,39,39,39,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,39,39,39,39,39,11,11,11,11,11,11,11,11,11,11,39,39,39,39,39,39,21,21,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,39,11,11,11,11,11,11,11,11,11,11,17,17,17,17,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,21,21,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,12,12,12,12,17,17,12,17,39,39,39,39,39,39,39,11,11,11,11,11,11,11,11,11,11,39,39,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,39,39,39,39,39,39,39,39,11,11,11,11,11,11,11,11,11,11,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,39,39,39,39,39,39,39,39,39,39,39,17,17,17,17,39,39,39,39,39,39,39,39,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,0,0,1,1,1,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1,12,12,12,0,1,0,1,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,0,1,1,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,21,12,12,12,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,12,12,21,21,21,21,21,21,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,21,21,21,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,39,39,39,39,39,39,39,39,39,39,39,39,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,12,39,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,12,12,39,39,39,39,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,39,39,39,39,39,39,39,39,39,39,39,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,12,12,14,14,14,14,14,12,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,12,14,12,14,12,14,14,14,14,14,14,14,14,14,14,12,14,12,12,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,39,39,39,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,12,12,12,12,12,12,12,12,12,12,12,12,12,12,14,14,14,14,14,14,14,14,14,14,14,14,14,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,39,39,39,39,39,39,39,39,39,39,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,39,39,39,39,39,39,39,39,39,39,39,39,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,39,39,39,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39],
-highStart:919552,errorValue:0}},function(a,b){(function(){var a,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O;b.OP=D=0,b.CL=j=1,b.CP=l=2,b.QU=G=3,b.GL=o=4,b.NS=B=5,b.EX=n=6,b.SY=L=7,b.IS=v=8,b.PR=F=9,b.PO=E=10,b.NU=C=11,b.AL=c=12,b.HL=r=13,b.ID=t=14,b.IN=u=15,b.HY=s=16,b.BA=e=17,b.BB=f=18,b.B2=d=19,b.ZW=O=20,b.CM=k=21,b.WJ=M=22,b.H2=p=23,b.H3=q=24,b.JL=w=25,b.JV=y=26,b.JT=x=27,b.RI=H=28,b.AI=a=29,b.BK=g=30,b.CB=h=31,b.CJ=i=32,b.CR=m=33,b.LF=z=34,b.NL=A=35,b.SA=I=36,b.SG=J=37,b.SP=K=38,b.XX=N=39}).call(this)},function(a,b){(function(){var a,c,d,e,f;b.DI_BRK=d=0,b.IN_BRK=e=1,b.CI_BRK=a=2,b.CP_BRK=c=3,b.PR_BRK=f=4,b.pairTable=[[f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,c,f,f,f,f,f,f,f],[d,f,f,e,e,f,f,f,f,e,e,d,d,d,d,d,e,e,d,d,f,a,f,d,d,d,d,d,d],[d,f,f,e,e,f,f,f,f,e,e,e,e,e,d,d,e,e,d,d,f,a,f,d,d,d,d,d,d],[f,f,f,e,e,e,f,f,f,e,e,e,e,e,e,e,e,e,e,e,f,a,f,e,e,e,e,e,e],[e,f,f,e,e,e,f,f,f,e,e,e,e,e,e,e,e,e,e,e,f,a,f,e,e,e,e,e,e],[d,f,f,e,e,e,f,f,f,d,d,d,d,d,d,d,e,e,d,d,f,a,f,d,d,d,d,d,d],[d,f,f,e,e,e,f,f,f,d,d,d,d,d,d,d,e,e,d,d,f,a,f,d,d,d,d,d,d],[d,f,f,e,e,e,f,f,f,d,d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a,f,d,d,d,d,e,d],[d,f,f,e,e,e,f,f,f,d,e,d,d,d,d,e,e,e,d,d,f,a,f,e,e,e,e,d,d],[d,f,f,e,e,e,f,f,f,d,e,d,d,d,d,e,e,e,d,d,f,a,f,d,d,d,e,e,d],[d,f,f,e,e,e,f,f,f,d,e,d,d,d,d,e,e,e,d,d,f,a,f,d,d,d,d,e,d],[d,f,f,e,e,e,f,f,f,d,d,d,d,d,d,d,e,e,d,d,f,a,f,d,d,d,d,d,e]]}).call(this)},function(a,b,c){(function(b){(function(){var d;d=c(97),a.exports={initImages:function(){return this._imageRegistry={},this._imageCount=0},image:function(a,c,e,f){var g,h,i,j,k,l,m,n,o,p,q,r,s,t;return null==f&&(f={}),"object"==typeof c&&(f=c,c=null),c=null!=(r=null!=c?c:f.x)?r:this.x,e=null!=(s=null!=e?e:f.y)?s:this.y,b.isBuffer(a)||(l=this._imageRegistry[a]),l||(l=d.open(a,"I"+ ++this._imageCount),l.embed(this),b.isBuffer(a)||(this._imageRegistry[a]=l)),null==(p=this.page.xobjects)[q=l.label]&&(p[q]=l.obj),n=f.width||l.width,j=f.height||l.height,f.width&&!f.height?(o=n/l.width,n=l.width*o,j=l.height*o):f.height&&!f.width?(k=j/l.height,n=l.width*k,j=l.height*k):f.scale?(n=l.width*f.scale,j=l.height*f.scale):f.fit&&(t=f.fit,i=t[0],g=t[1],h=i/g,m=l.width/l.height,m>h?(n=i,j=i/m):(j=g,n=g*m),"center"===f.align?c=c+i/2-n/2:"right"===f.align&&(c=c+i-n),"center"===f.valign?e=e+g/2-j/2:"bottom"===f.valign&&(e=e+g-j)),this.y===e&&(this.y+=j),this.save(),this.transform(n,0,0,-j,c,e+j),this.addContent("/"+l.label+" Do"),this.restore(),this}}}).call(this)}).call(b,c(2).Buffer)},function(a,b,c){(function(b){(function(){var d,e,f,g,h;h=c(44),d=c(72),e=c(98),g=c(99),f=function(){function a(){}return a.open=function(a,c){var d,f;if(b.isBuffer(a))d=a;else if(f=/^data:.+;base64,(.*)$/.exec(a))d=new b(f[1],"base64");else if(d=h.readFileSync(a),!d)return;if(255===d[0]&&216===d[1])return new e(d,c);if(137===d[0]&&"PNG"===d.toString("ascii",1,4))return new g(d,c);throw new Error("Unknown image format.")},a}(),a.exports=f}).call(this)}).call(b,c(2).Buffer)},function(a,b,c){(function(){var b,d,e=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};d=c(44),b=function(){function a(a,c){var d,f,g;if(this.data=a,this.label=c,65496!==this.data.readUInt16BE(0))throw"SOI not found in JPEG";for(g=2;g<this.data.length&&(f=this.data.readUInt16BE(g),g+=2,!(e.call(b,f)>=0));)g+=this.data.readUInt16BE(g);if(e.call(b,f)<0)throw"Invalid JPEG.";g+=2,this.bits=this.data[g++],this.height=this.data.readUInt16BE(g),g+=2,this.width=this.data.readUInt16BE(g),g+=2,d=this.data[g++],this.colorSpace=function(){switch(d){case 1:return"DeviceGray";case 3:return"DeviceRGB";case 4:return"DeviceCMYK"}}(),this.obj=null}var b;return b=[65472,65473,65474,65475,65477,65478,65479,65480,65481,65482,65483,65484,65485,65486,65487],a.prototype.embed=function(a){return this.obj?void 0:(this.obj=a.ref({Type:"XObject",Subtype:"Image",BitsPerComponent:this.bits,Width:this.width,Height:this.height,ColorSpace:this.colorSpace,Filter:"DCTDecode"}),"DeviceCMYK"===this.colorSpace&&(this.obj.data.Decode=[1,0,1,0,1,0,1,0]),this.obj.end(this.data),this.data=null)},a}(),a.exports=b}).call(this)},function(a,b,c){(function(b){(function(){var d,e,f;f=c(47),d=c(100),e=function(){function a(a,b){this.label=b,this.image=new d(a),this.width=this.image.width,this.height=this.image.height,this.imgData=this.image.imgData,this.obj=null}return a.prototype.embed=function(a){var c,d,e,f,g,h,i,j;if(this.document=a,!this.obj){if(this.obj=a.ref({Type:"XObject",Subtype:"Image",BitsPerComponent:this.image.bits,Width:this.width,Height:this.height,Filter:"FlateDecode"}),this.image.hasAlphaChannel||(e=a.ref({Predictor:15,Colors:this.image.colors,BitsPerComponent:this.image.bits,Columns:this.width}),this.obj.data.DecodeParms=e,e.end()),0===this.image.palette.length?this.obj.data.ColorSpace=this.image.colorSpace:(d=a.ref(),d.end(new b(this.image.palette)),this.obj.data.ColorSpace=["Indexed","DeviceRGB",this.image.palette.length/3-1,d]),this.image.transparency.grayscale)return g=this.image.transparency.greyscale,this.obj.data.Mask=[g,g];if(this.image.transparency.rgb){for(f=this.image.transparency.rgb,c=[],i=0,j=f.length;j>i;i++)h=f[i],c.push(h,h);return this.obj.data.Mask=c}return this.image.transparency.indexed?this.loadIndexedAlphaChannel():this.image.hasAlphaChannel?this.splitAlphaChannel():this.finalize()}},a.prototype.finalize=function(){var a;return this.alphaChannel&&(a=this.document.ref({Type:"XObject",Subtype:"Image",Height:this.height,Width:this.width,BitsPerComponent:8,Filter:"FlateDecode",ColorSpace:"DeviceGray",Decode:[0,1]}),a.end(this.alphaChannel),this.obj.data.SMask=a),this.obj.end(this.imgData),this.image=null,this.imgData=null},a.prototype.splitAlphaChannel=function(){return this.image.decodePixels(function(a){return function(c){var d,e,g,h,i,j,k,l,m;for(g=a.image.colors*a.image.bits/8,m=a.width*a.height,j=new b(m*g),e=new b(m),i=l=d=0,k=c.length;k>i;)j[l++]=c[i++],j[l++]=c[i++],j[l++]=c[i++],e[d++]=c[i++];return h=0,f.deflate(j,function(b,c){if(a.imgData=c,b)throw b;return 2===++h?a.finalize():void 0}),f.deflate(e,function(b,c){if(a.alphaChannel=c,b)throw b;return 2===++h?a.finalize():void 0})}}(this))},a.prototype.loadIndexedAlphaChannel=function(a){var c;return c=this.image.transparency.indexed,this.image.decodePixels(function(a){return function(d){var e,g,h,i,j;for(e=new b(a.width*a.height),g=0,h=i=0,j=d.length;j>i;h=i+=1)e[g++]=c[d[h]];return f.deflate(e,function(b,c){if(a.alphaChannel=c,b)throw b;return a.finalize()})}}(this))},a}(),a.exports=e}).call(this)}).call(b,c(2).Buffer)},function(a,b,c){(function(b){(function(){var d,e,f;e=c(44),f=c(47),a.exports=d=function(){function a(a){var c,d,e,f,g,h,i,j,k,l,m;for(this.data=a,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.text={};;){switch(c=this.readUInt32(),h=function(){var a,b;for(b=[],e=a=0;4>a;e=++a)b.push(String.fromCharCode(this.data[this.pos++]));return b}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"PLTE":this.palette=this.read(c);break;case"IDAT":for(e=k=0;c>k;e=k+=1)this.imgData.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(this.transparency.indexed=this.read(c),i=255-this.transparency.indexed.length,i>0)for(e=l=0;i>=0?i>l:l>i;e=i>=0?++l:--l)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(c)[0];break;case 2:this.transparency.rgb=this.read(c)}break;case"tEXt":j=this.read(c),f=j.indexOf(0),g=String.fromCharCode.apply(String,j.slice(0,f)),this.text[g]=String.fromCharCode.apply(String,j.slice(f+1));break;case"IEND":return this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(m=this.colorType)||6===m,d=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*d,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new b(this.imgData));default:this.pos+=c}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}return a.decode=function(b,c){return e.readFile(b,function(b,d){var e;return e=new a(d),e.decode(function(a){return c(a)})})},a.load=function(b){var c;return c=e.readFileSync(b),new a(c)},a.prototype.read=function(a){var b,c,d;for(d=[],b=c=0;a>=0?a>c:c>a;b=a>=0?++c:--c)d.push(this.data[this.pos++]);return d},a.prototype.readUInt32=function(){var a,b,c,d;return a=this.data[this.pos++]<<24,b=this.data[this.pos++]<<16,c=this.data[this.pos++]<<8,d=this.data[this.pos++],a|b|c|d},a.prototype.readUInt16=function(){var a,b;return a=this.data[this.pos++]<<8,b=this.data[this.pos++],a|b},a.prototype.decodePixels=function(a){var c=this;return f.inflate(this.imgData,function(d,e){var f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B;if(d)throw d;for(q=c.pixelBitlength/8,u=q*c.width,r=new b(u*c.height),k=e.length,t=0,s=0,g=0;k>s;){switch(e[s++]){case 0:for(i=x=0;u>x;i=x+=1)r[g++]=e[s++];break;case 1:for(i=y=0;u>y;i=y+=1)f=e[s++],j=q>i?0:r[g-q],r[g++]=(f+j)%256;break;case 2:for(i=z=0;u>z;i=z+=1)f=e[s++],h=(i-i%q)/q,v=t&&r[(t-1)*u+h*q+i%q],r[g++]=(v+f)%256;break;case 3:for(i=A=0;u>A;i=A+=1)f=e[s++],h=(i-i%q)/q,j=q>i?0:r[g-q],v=t&&r[(t-1)*u+h*q+i%q],r[g++]=(f+Math.floor((j+v)/2))%256;break;case 4:for(i=B=0;u>B;i=B+=1)f=e[s++],h=(i-i%q)/q,j=q>i?0:r[g-q],0===t?v=w=0:(v=r[(t-1)*u+h*q+i%q],w=h&&r[(t-1)*u+(h-1)*q+i%q]),l=j+v-w,m=Math.abs(l-j),o=Math.abs(l-v),p=Math.abs(l-w),n=o>=m&&p>=m?j:p>=o?v:w,r[g++]=(f+n)%256;break;default:throw new Error("Invalid filter algorithm: "+e[s-1])}t++}return a(r)})},a.prototype.decodePalette=function(){var a,c,d,e,f,g,h,i,j,k;for(e=this.palette,h=this.transparency.indexed||[],g=new b(h.length+e.length),f=0,d=e.length,a=0,c=i=0,j=e.length;j>i;c=i+=3)g[f++]=e[c],g[f++]=e[c+1],g[f++]=e[c+2],g[f++]=null!=(k=h[a++])?k:255;return g},a.prototype.copyToImageData=function(a,b){var c,d,e,f,g,h,i,j,k,l,m;if(d=this.colors,k=null,c=this.hasAlphaChannel,this.palette.length&&(k=null!=(m=this._decodedPalette)?m:this._decodedPalette=this.decodePalette(),d=4,c=!0),e=(null!=a?a.data:void 0)||a,j=e.length,g=k||b,f=h=0,1===d)for(;j>f;)i=k?4*b[f/4]:h,l=g[i++],e[f++]=l,e[f++]=l,e[f++]=l,e[f++]=c?g[i++]:255,h=i;else for(;j>f;)i=k?4*b[f/4]:h,e[f++]=g[i++],e[f++]=g[i++],e[f++]=g[i++],e[f++]=c?g[i++]:255,h=i},a.prototype.decode=function(a){var c,d=this;return c=new b(this.width*this.height*4),this.decodePixels(function(b){return d.copyToImageData(c,b),a(c)})},a}()}).call(this)}).call(b,c(2).Buffer)},function(a,b){(function(){a.exports={annotate:function(a,b,c,d,e){var f,g,h;e.Type="Annot",e.Rect=this._convertRect(a,b,c,d),e.Border=[0,0,0],"Link"!==e.Subtype&&null==e.C&&(e.C=this._normalizeColor(e.color||[0,0,0])),delete e.color,"string"==typeof e.Dest&&(e.Dest=new String(e.Dest));for(f in e)h=e[f],e[f[0].toUpperCase()+f.slice(1)]=h;return g=this.ref(e),this.page.annotations.push(g),g.end(),this},note:function(a,b,c,d,e,f){return null==f&&(f={}),f.Subtype="Text",f.Contents=new String(e),f.Name="Comment",null==f.color&&(f.color=[243,223,92]),this.annotate(a,b,c,d,f)},link:function(a,b,c,d,e,f){return null==f&&(f={}),f.Subtype="Link",f.A=this.ref({S:"URI",URI:new String(e)}),f.A.end(),this.annotate(a,b,c,d,f)},_markup:function(a,b,c,d,e){var f,g,h,i,j;return null==e&&(e={}),j=this._convertRect(a,b,c,d),f=j[0],h=j[1],g=j[2],i=j[3],e.QuadPoints=[f,i,g,i,f,h,g,h],e.Contents=new String,this.annotate(a,b,c,d,e)},highlight:function(a,b,c,d,e){return null==e&&(e={}),e.Subtype="Highlight",null==e.color&&(e.color=[241,238,148]),this._markup(a,b,c,d,e)},underline:function(a,b,c,d,e){return null==e&&(e={}),e.Subtype="Underline",this._markup(a,b,c,d,e)},strike:function(a,b,c,d,e){return null==e&&(e={}),e.Subtype="StrikeOut",this._markup(a,b,c,d,e)},lineAnnotation:function(a,b,c,d,e){return null==e&&(e={}),e.Subtype="Line",e.Contents=new String,e.L=[a,this.page.height-b,c,this.page.height-d],this.annotate(a,b,c,d,e)},rectAnnotation:function(a,b,c,d,e){return null==e&&(e={}),e.Subtype="Square",e.Contents=new String,this.annotate(a,b,c,d,e)},ellipseAnnotation:function(a,b,c,d,e){return null==e&&(e={}),e.Subtype="Circle",e.Contents=new String,this.annotate(a,b,c,d,e)},textAnnotation:function(a,b,c,d,e,f){return null==f&&(f={}),f.Subtype="FreeText",f.Contents=new String(e),f.DA=new String,this.annotate(a,b,c,d,f)},_convertRect:function(a,b,c,d){var e,f,g,h,i,j,k,l,m;return l=b,b+=d,k=a+c,m=this._ctm,e=m[0],f=m[1],g=m[2],h=m[3],i=m[4],j=m[5],a=e*a+g*b+i,b=f*a+h*b+j,k=e*k+g*l+i,l=f*k+h*l+j,[a,b,k,l]}}}).call(this)},function(a,b){a.exports={"4A0":[4767.87,6740.79],"2A0":[3370.39,4767.87],A0:[2383.94,3370.39],A1:[1683.78,2383.94],A2:[1190.55,1683.78],A3:[841.89,1190.55],A4:[595.28,841.89],A5:[419.53,595.28],A6:[297.64,419.53],A7:[209.76,297.64],A8:[147.4,209.76],A9:[104.88,147.4],A10:[73.7,104.88],B0:[2834.65,4008.19],B1:[2004.09,2834.65],B2:[1417.32,2004.09],B3:[1000.63,1417.32],B4:[708.66,1000.63],B5:[498.9,708.66],B6:[354.33,498.9],B7:[249.45,354.33],B8:[175.75,249.45],B9:[124.72,175.75],B10:[87.87,124.72],C0:[2599.37,3676.54],C1:[1836.85,2599.37],C2:[1298.27,1836.85],C3:[918.43,1298.27],C4:[649.13,918.43],C5:[459.21,649.13],C6:[323.15,459.21],C7:[229.61,323.15],C8:[161.57,229.61],C9:[113.39,161.57],C10:[79.37,113.39],RA0:[2437.8,3458.27],RA1:[1729.13,2437.8],RA2:[1218.9,1729.13],RA3:[864.57,1218.9],RA4:[609.45,864.57],SRA0:[2551.18,3628.35],SRA1:[1814.17,2551.18],SRA2:[1275.59,1814.17],SRA3:[907.09,1275.59],SRA4:[637.8,907.09],EXECUTIVE:[521.86,756],FOLIO:[612,936],LEGAL:[612,1008],LETTER:[612,792],TABLOID:[792,1224]}},function(a,b,c){(function(b){"use strict";function d(a,b){this.pdfDoc=a,this.imageDictionary=b||{}}var e=(c(24),c(97));d.prototype.measureImage=function(a){function c(a){var c=g.imageDictionary[a];if(!c)return a;var d=c.indexOf("base64,");if(0>d)throw"invalid image format, images dictionary should contain dataURL entries";return new b(c.substring(d+7),"base64")}var d,f,g=this;return this.pdfDoc._imageRegistry[a]?d=this.pdfDoc._imageRegistry[a]:(f="I"+ ++this.pdfDoc._imageCount,d=e.open(c(a),f),d.embed(this.pdfDoc),this.pdfDoc._imageRegistry[a]=d),{width:d.width,height:d.height}},a.exports=d}).call(b,c(2).Buffer)},function(a,b){"use strict";function c(a){for(var b=[],c=null,d=0,e=a.inlines.length;e>d;d++){var f=a.inlines[d],g=f.decoration;if(g){var h=f.decorationColor||f.color||"black",i=f.decorationStyle||"solid";g=Array.isArray(g)?g:[g];for(var j=0,k=g.length;k>j;j++){var l=g[j];c&&l===c.decoration&&i===c.decorationStyle&&h===c.decorationColor&&"lineThrough"!==l?c.inlines.push(f):(c={line:a,decoration:l,decorationColor:h,decorationStyle:i,inlines:[f]},b.push(c))}}else c=null}return b}function d(a,b,c,d){function e(){for(var b=0,c=0,d=a.inlines.length;d>c;c++){var e=a.inlines[c];b=e.fontSize>b?c:b}return a.inlines[b]}function f(){for(var b=0,c=0,d=a.inlines.length;d>c;c++)b+=a.inlines[c].width;return b}var g=a.inlines[0],h=e(),i=f(),j=a.line.getAscenderHeight(),k=h.font.ascender/1e3*h.fontSize,l=h.height,m=l-k,n=.5+.12*Math.floor(Math.max(h.fontSize-8,0)/2);switch(a.decoration){case"underline":c+=j+.45*m;break;case"overline":c+=j-.85*k;break;case"lineThrough":c+=j-.25*k;break;default:throw"Unkown decoration : "+a.decoration}if(d.save(),"double"===a.decorationStyle){var o=Math.max(.5,2*n);d.fillColor(a.decorationColor).rect(b+g.x,c-n/2,i,n/2).fill().rect(b+g.x,c+o-n/2,i,n/2).fill()}else if("dashed"===a.decorationStyle){var p=Math.ceil(i/6.8),q=b+g.x;d.rect(q,c,i,n).clip(),d.fillColor(a.decorationColor);for(var r=0;p>r;r++)d.rect(q,c-n/2,3.96,n).fill(),q+=6.8}else if("dotted"===a.decorationStyle){var s=Math.ceil(i/(3*n)),t=b+g.x;d.rect(t,c,i,n).clip(),d.fillColor(a.decorationColor);for(var u=0;s>u;u++)d.rect(t,c-n/2,n,n).fill(),t+=3*n}else if("wavy"===a.decorationStyle){var v=.7,w=1,x=Math.ceil(i/(2*v))+1,y=b+g.x-1;d.rect(b+g.x,c-w,i,c+w).clip(),d.lineWidth(.24),d.moveTo(y,c);for(var z=0;x>z;z++)d.bezierCurveTo(y+v,c-w,y+2*v,c-w,y+3*v,c).bezierCurveTo(y+4*v,c+w,y+5*v,c+w,y+6*v,c),y+=6*v;d.stroke(a.decorationColor)}else d.fillColor(a.decorationColor).rect(b+g.x,c-n/2,i,n).fill();d.restore()}function e(a,b,e,f){for(var g=c(a),h=0,i=g.length;i>h;h++)d(g[h],b,e,f)}function f(a,b,c,d){for(var e=a.getHeight(),f=0,g=a.inlines.length;g>f;f++){var h=a.inlines[f];h.background&&d.fillColor(h.background).rect(b+h.x,c,h.width,e).fill()}}a.exports={drawBackground:f,drawDecorations:e}},function(a,b,c){var d,e,f=f||function(a){"use strict";if("undefined"==typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var b=a.document,c=function(){return a.URL||a.webkitURL||a},d=b.createElementNS("http://www.w3.org/1999/xhtml","a"),e="download"in d,f=function(a){var b=new MouseEvent("click");a.dispatchEvent(b)},g=a.webkitRequestFileSystem,h=a.requestFileSystem||g||a.mozRequestFileSystem,i=function(b){(a.setImmediate||a.setTimeout)(function(){throw b},0)},j="application/octet-stream",k=0,l=500,m=function(b){var d=function(){"string"==typeof b?c().revokeObjectURL(b):b.remove()};a.chrome?d():setTimeout(d,l)},n=function(a,b,c){b=[].concat(b);for(var d=b.length;d--;){var e=a["on"+b[d]];if("function"==typeof e)try{e.call(a,c||a)}catch(f){i(f)}}},o=function(a){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob(["\ufeff",a],{type:a.type}):a},p=function(b,i,l){l||(b=o(b));var p,q,r,s=this,t=b.type,u=!1,v=function(){n(s,"writestart progress write writeend".split(" "))},w=function(){if((u||!p)&&(p=c().createObjectURL(b)),q)q.location.href=p;else{var d=a.open(p,"_blank");void 0==d&&"undefined"!=typeof safari&&(a.location.href=p)}s.readyState=s.DONE,v(),m(p)},x=function(a){return function(){return s.readyState!==s.DONE?a.apply(this,arguments):void 0}},y={create:!0,exclusive:!1};return s.readyState=s.INIT,i||(i="download"),e?(p=c().createObjectURL(b),d.href=p,d.download=i,void setTimeout(function(){f(d),v(),m(p),s.readyState=s.DONE})):(a.chrome&&t&&t!==j&&(r=b.slice||b.webkitSlice,b=r.call(b,0,b.size,j),u=!0),g&&"download"!==i&&(i+=".download"),(t===j||g)&&(q=a),h?(k+=b.size,void h(a.TEMPORARY,k,x(function(a){a.root.getDirectory("saved",y,x(function(a){var c=function(){a.getFile(i,y,x(function(a){a.createWriter(x(function(c){c.onwriteend=function(b){q.location.href=a.toURL(),s.readyState=s.DONE,n(s,"writeend",b),m(a)},c.onerror=function(){var a=c.error;a.code!==a.ABORT_ERR&&w()},"writestart progress write abort".split(" ").forEach(function(a){c["on"+a]=s["on"+a]}),c.write(b),s.abort=function(){c.abort(),s.readyState=s.DONE},s.readyState=s.WRITING}),w)}),w)};a.getFile(i,{create:!1},x(function(a){a.remove(),c()}),x(function(a){a.code===a.NOT_FOUND_ERR?c():w()}))}),w)}),w)):void w())},q=p.prototype,r=function(a,b,c){return new p(a,b,c)};return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(a,b,c){return c||(a=o(a)),navigator.msSaveOrOpenBlob(a,b||"download")}:(q.abort=function(){var a=this;a.readyState=a.DONE,n(a,"abort")},q.readyState=q.INIT=0,q.WRITING=1,q.DONE=2,q.error=q.onwritestart=q.onprogress=q.onwrite=q.onabort=q.onerror=q.onwriteend=null,r)}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);"undefined"!=typeof a&&a.exports?a.exports.saveAs=f:null!==c(106)&&null!=c(107)&&(d=[],e=function(){return f}.apply(b,d),!(void 0!==e&&(a.exports=e)))},function(a,b){a.exports=function(){throw new Error("define cannot be used indirect")}},function(a,b){(function(b){a.exports=b}).call(b,{})}]),window.pdfMake=window.pdfMake||{},window.pdfMake.vfs={"LICENSE.txt":"DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBBcGFjaGUgTGljZW5zZQ0KICAgICAgICAgICAgICAgICAgICAgICAgICAgVmVyc2lvbiAyLjAsIEphbnVhcnkgMjAwNA0KICAgICAgICAgICAgICAgICAgICAgICAgaHR0cDovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzLw0KDQogICBURVJNUyBBTkQgQ09ORElUSU9OUyBGT1IgVVNFLCBSRVBST0RVQ1RJT04sIEFORCBESVNUUklCVVRJT04NCg0KICAgMS4gRGVmaW5pdGlvbnMuDQoNCiAgICAgICJMaWNlbnNlIiBzaGFsbCBtZWFuIHRoZSB0ZXJtcyBhbmQgY29uZGl0aW9ucyBmb3IgdXNlLCByZXByb2R1Y3Rpb24sDQogICAgICBhbmQgZGlzdHJpYnV0aW9uIGFzIGRlZmluZWQgYnkgU2VjdGlvbnMgMSB0aHJvdWdoIDkgb2YgdGhpcyBkb2N1bWVudC4NCg0KICAgICAgIkxpY2Vuc29yIiBzaGFsbCBtZWFuIHRoZSBjb3B5cmlnaHQgb3duZXI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AAAQMzByMHMwcjAwYWMzI2NwcOASMiJjcTIzczNyM3MxMCGjW/HL8m1R7VQBIkKxQzEwIcXSxjYyBAyB7IJo0cjTUFQf75jb6V/r1WOQgFgxEVj5wBQ5W+jQEH////1QAABH8HIgImACMAAAAHAEIBawFd////1QAABMMHHwImACMAAAAHAHMCFwFZ////1QAABI0HRgImACMAAAAHAJoBBgFd////1QAABNQHUQImACMAAAAHAKABJQFg////1QAABMwHDAImACMAAAAHAGgBBwFc////1QAABH8HiAImACMAAAAHAJ4BkgGo////1QAABMYHnwImACMAAAAHAdQBiQEs//8AYv5EBPgFxQAmACUAAAAHAHcBt//3//8AWAAABPIHIgImACcAAAAHAEIBNwFd//8AWAAABPIHHwImACcAAAAHAHMB4wFZ//8AWAAABPIHRgImACcAAAAHAJoA0gFd//8AWAAABPIHDAImACcAAAAHAGgA0wFc//8AYgAAAkQHIgImACsAAAAHAEL//AFd//8AYgAAA1MHHwImACsAAAAHAHMApwFZ//8AYgAAAx4HRgImACsAAAAHAJr/lwFd//8AYgAAA10HDAImACsAAAAHAGj/mAFc//8AWAAABXoHUQImADAAAAAHAKABTgFg//8AXv/rBTYHNwAmADEAAAAHAEIBjAFy//8AXv/rBTYHNAAmADEAAAAHAHMCOAFu//8AXv/rBTYHWwAmADEAAAAHAJoBJwFy//8AXv/rBTYHZgAmADEAAAAHAKABRgF1//8AXv/rBTYHIQAmADEAAAAHAGgBKAFx//8AZ//rBVcHIgImADcAAAAHAEIBdwFd//8AZ//rBVcHHwImADcAAAAHAHMCIwFZ//8AZ//rBVcHRgImADcAAAAHAJoBEgFd//8AZ//rBVcHDAImADcAAAAHAGgBEwFc//8A7gAABVMHHQImADsAAAAHAHMB6QFX//8AOv/sA/cF4AImAEMAAAAHAEIAswAb//8AOv/sBAsF3QImAEMAAAAHAHMBXwAX//8AOv/sA/cGBAImAEMAAAAGAJpOGwAA//8AOv/sBBwGDwImAEMAAAAGAKBtHgAA//8AOv/sBBQFygImAEMAAAAGAGhPGg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UAAW//8ACwAABEkEjQImAakAAAAHAdP/Uv97//8ACwAABEkEjQImAakAAAAHAdP/Uv97//8AvQAABCUEjQImAbgAAAAGAdMo9wAA////1AAAA+gF3wImAaYAAAAHAEIA2QAa////1AAABDEF3AImAaYAAAAHAHMBhQAW////1AAAA/sGAwImAaYAAAAGAJp0GgAA////1AAABEIGDgImAaYAAAAHAKAAkwAd////1AAABDoFyQImAaYAAAAGAGh1GQAA////1AAAA+gGRQImAaYAAAAHAJ4BAABl////1AAABDQGXQImAaYAAAAHAdQA9//q//8ATf5HBEIEnQImAagAAAAHAHcBU//6//8APgAABB0F3wImAaoAAAAHAEIAqgAa//8APgAABB0F3AImAaoAAAAHAHMBVgAW//8APgAABB0GAwImAaoAAAAGAJpFGgAA//8APgAABB0FyQImAaoAAAAGAGhGGQAA//8APgAAAd8F3wImAa4AAAAGAEKXGgAA//8APgAAAu4F3AImAa4AAAAGAHNCFgAA//8APgAAArkGAwImAa4AAAAHAJr/MgAa//8APgAAAvgFyQImAa4AAAAHAGj/MwAZ//8APgAABL4GDgImAbMAAAAHAKAAsQAd//8ATf/vBG8F7wImAbQAAAAHAEIA3QAq//8ATf/vBG8F7AImAbQAAAAHAHMBiQAm//8ATf/vBG8GEwImAbQAAAAGAJp4KgAA//8ATf/vBG8GHgImAbQAAAAHAKAAlwAt//8ATf/vBG8F2QImAbQAAAAGAGh5KQAA//8AWP/vBLwF4AImAbkAAAAHAEIA9QAb//8AWP/vBLwF3QImAbkAAAAHAHMBoQAX//8AWP/vBLwGBAImAbkAAAAHAJoAkAAb//8AWP/vBLwFygImAbkAAAAHAGgAkQAa//8AtQAABIEF2wImAb0AAAAHAHMBWAAV////1AAABEwFtwImAaYAAAAHAG4AlAAH////1AAABB4GCQImAaYAAAAHAJwAzwBZAAL/1P5QA+gEjQAaAB4AAAETIw4BBwYWMzI2NwcOASMiJjc+ATcnIQMjAQMhAycDHcs3V2IJBhsoGTAXByBMMk9YDwtqZin+J5i8Ap74AXBRAwSN+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Bo/5gBXP//AA//6wRSBbACBgAsAAD//wA+AAAFNQWwAAYALQAA//8APgAABTUGxwAmAC0AAAAHAHMBxQEB//8Ao//rBUUHTAImANkAAAAHAJwBPgGc////1QAABH8FsAIGACMAAP//AFgAAATQBbACBgAkAAD//wBXAAAEuQWwAgYArAAA//8AWAAABPIFsAIGACcAAP//AFgAAAV6B0wCJgDXAAAABwCcAY4BnP//AFgAAAazBbACBgAvAAD//wBYAAAFeQWwAgYAKgAA//8AXv/rBTYFxQAGADEAAP//AFgAAAV7BbACBgCxAAD//wBYAAAFGAWwAgYAMgAA//8AYv/rBPgFxQAGACUAAP//AOwAAAULBbACBgA2AAD////8AAAFHQWwAgYAOgAA//8AOv/sA/cETgIGAEMAAP//AEf/7APrBE4CBgBHAAD//wBAAAAERwX1AiYA6wAAAAcAnADIAEX//wBG/+wEHAROAgYAUQAA////4v5gBCYETgIGAFIAAAABAEf/7AP7BE4AGwAAJTI2NzMGBCMiAj8BNgAzMhYHIzYmIyIGDwEGFgHxWqAPrBn+8qbXuyUHJwER4a7BGqwQameNpBoHHFWBeFyazwEy6ir1ASfeqmyG4qQqsdYAAP///7z+SwQqBDoCBgBbAAD////pAAAD8QQ6AgYAWgAA//8AR//sA/IFywImAEcAAAAGAGgtGwAA//8APgAAA5UFyAImAOcAAAAHAHMA5wAC//8AO//sA8kETgIGAFUAAP//AEQAAAIxBhgCBgBLAAD//wA+AAAC9gW1AiYAigAAAAcAaP8xAAX///8d/ksCOQYYAgYATAAA//8AQAAABGEFxwImAOwAAAAHAHMBTQAB////vP5LBCoF9QImAFsAAAAGAJx/RQAA//8A7AAABuwHIgImADkAAAAHAEICAQFd//8AsgAABfoFywImAFkAAAAHAEIBegAG//8A7AAABuwHHwImADkAAAAHAHMCrQFZ//8AsgAABfoFyAImAFkAAAAHAHMCJgAC//8A7AAABuwHDAImADkAAAAHAGgBnQFc//8AsgAABfoFtQImAFkAAAAHAGgBFgAF//8A7gAABVMHIAImADsAAAAHAEIBPQFb////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AA////3v5LBXEFsAImANgAAAAHAZoD/AAA////1f5LBEkEOgImAO0AAAAHAZoDHwAA////1f6xBH8FsAImACMAAAAHAKgErAAA//8AOv6xA/cETgImAEMAAAAHAKgEBQAA////1QAABH8HxgImACMAAAAHAKYE5QFT//8AOv/sA/cGhAImAEMAAAAHAKYELQAR////1QAABg4HqAImACMAAAAHAaMA8AEW//8AOv/sBVYGZwImAEMAAAAGAaM41QAA////1QAABLcHpQImACMAAAAHAaIA+gEl//8AOv/sA/8GZAImAEMAAAAGAaJC5AAA////1QAABZ4H2wImACMAAAAHAaEA9QEN//8AOv/sBOYGmgImAEMAAAAGAaE9zAAA////1QAABLYH5QImACMAAAAHAaAA9gET//8AOv/sA/4GpAImAEMAAAAGAaA+0gAA////1f6xBI0HRgImACMAAAAnAJoBBgFdAAcAqASsAAD//wA6/rED9wYEAiYAQwAAACYAmk4bAAcAqAQFAAAAAP///9UAAASqB90CJgAjAAAABwGfASkBVP//ADr/7AP3BpsCJgBDAAAABgGfcRIAAP///9UAAATOB+ACJgAjAAAABwGkAS8BZ///ADr/7AQWBp4CJgBDAAAABgGkdyUAAP///9UAAASVCEsCJgAjAAAABwGeASkBSf//ADr/7AP3BwkCJgBDAAAABgGecQcAAP///9UAAATMCB8CJgAjAAAABwGdASsBUf//ADr/7AQUBt0CJgBDAAAABgGdcw8AAP///9X+sQSwB0wCJgAjAAAAJwCcAWEBnAAHAKgErAAA//8AOv6xA/gGCgImAEMAAAAnAJwAqQBaAAcAqAQFAAD//wBY/rsE8gWwAiYAJwAAAAcAqAR3AAr//wBH/rED6wROAiYARwAAAAcAqARRAAD//wBYAAAE8gfGAiYAJwAAAAcApgSxAVP//wBH/+wD6waFAiYARwAAAAcApgQLABL//wBYAAAE8gdRAiYAJwAAAAcAoADxAWD//wBH/+wD+gYQAiYARwAAAAYAoEsfAAD//wBYAAAF2geoAiYAJwAAAAcBowC8ARb//wBH/+wFNAZoAiYARwAAAAYBoxbWAAD//wBYAAAE8gelAiYAJ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lBjYCJgCUAAAABwCoBLEAAP//AEb+qAUJBLACJgCVAAAABwCoBEj/9///AGf+qgVXBbACJgA3AAAABwCoBLL/+f//AFr+sQQ7BDoCJgBXAAAABwCoBAsAAP//AGf/6wVXB8YCJgA3AAAABwCmBPEBU///AFr/7AQ7BnACJgBXAAAABwCmBED//f//AGf/6walBx8CJgCWAAAABwBzAiIBWf//AFr/7AVXBcgCJgCXAAAABwBzAXIAAv//AGf/6walByICJgCWAAAABwBCAXYBXf//AFr/7AVXBcsCJgCXAAAABwBCAMYABv//AGf/6walB8YCJgCWAAAABwCmBPABU///AFr/7AVXBnACJgCXAAAABwCmBED//f//AGf/6walB1ECJgCWAAAABwCgATABYP//AFr/7AVXBfoCJgCXAAAABwCgAIAACf//AGf+qQalBg0CJgCWAAAABwCoBLH/+P//AFr+sQVXBJECJgCXAAAABwCoBAsAAP//AO7+uwVTBbACJgA7AAAABwCoBH0ACv///7z+FAQqBDoCJgBbAAAABwCoBKj/Y///AO4AAAVTB8QCJgA7AAAABwCmBLcBUf///7z+SwQqBnACJgBbAAAABwCmBAP//f//AO4AAAVTB08CJgA7AAAABwCgAPcBXv///7z+SwQqBfoCJgBbAAAABgCgQwkAAAACAET/6wUmBhgAGgAoAAABIwMjNycOASMiAj8BGgEzMhYXEyM3MzczBzMBBhYzMjY3Ey4BIyIGBwUItPedCQM8kFiwri8EOO7BWIcrN+oe6SS1JLX8AyRhiUx1M2Uba1R8nyYE0vsuaAI/QAE06hUBHAEUSEUBEZWxsfyis9FTTwH6RE/ZvQD//wAT/u4FJgYYACYARgAAACcB0wH8AkYABgBBfYMAAP//AD7+mQU1BbAAJgAtAAAABwGcA/QAAP//AED+mQRhBDoCJgDsAAAABwGcAxMAAP//AFj+mQV5BbACJgAqAAAABwGcBBwAAP//AED+mQRGBDoCJgDvAAAABwGcAzQAAP//AOz+mQULBbACJgA2AAAABwGcAggAAP//AJD+mQP3BDoCJgDxAAAABwGcAZgAAP////z+mQUdBbACJgA6AAAABwGc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AAABwBzADgBW////9gAAAJ5B0cCJgArAAAABwCa/z0BWf///70AAAKSBw0CJgArAAAABwBo/xkBXf//AJ8AAAUQB2MCJgAwAAAABwCgAO4BbP//AHT/6wUbBzcCJgAxAAAABwBCASMBcf//AHT/6wUbBzYCJgAxAAAABwBzAdoBcP//AHT/6wUbB1wCJgAxAAAABwCaAN4Bbv//AHT/6wUbB3gCJgAxAAAABwCgAOABgf//AHT/6wUbByICJgAxAAAABwBoALoBcv//AIb/6wTxByICJgA3AAAABwBCARcBXP//AIb/6wTxByECJgA3AAAABwBzAc4BW///AIb/6wTxB0cCJgA3AAAABwCaANIBWf//AIb/6wTxBw0CJgA3AAAABwBoAK4BXf//ABMAAATvByECJgA7AAAABwBzAZYBW///AF7/7AQBBeACJgBDAAAABwBCAIEAGv//AF7/7AQBBd8CJgBDAAAABwBzATgAGf//AF7/7AQBBgUCJgBDAAAABgCaPBcAAP//AF7/7AQBBiECJgBDAAAABgCgPioAAP//AF7/7AQBBcsCJgBDAAAABgBoGBsAAP//AF7/7AQBBk0CJgBDAAAABwCeANEAcf//AF7/7AQBBnwCJgBDAAAABwHUANf/5///AFH+PAP3BE4CJgBFAAAABwB3AT7/+///AFn/7AP4BeECJgBHAAAABwBCAIMAG///AFn/7AP4BeACJgBHAAAABwBzAToAGv//AFn/7AP4BgYCJgBHAAAABgCaPhgAAP//AFn/7AP4BcwCJgBHAAAABgBoGhwAAP///68AAAGCBcsCJgCKAAAABwBC/2UABf//AI8AAAJnBcoCJgCKAAAABgBzGwQAAP///7sAAAJcBfACJgCKAAAABwCa/yAAAv///6AAAAJ1BbYCJgCKAAAABwBo/vwABv//AH4AAAQLBiECJgBQAAAABgCgWSoAAP//AFP/7AQ0BeACJgBRAAAABwBCAJ4AGv//AFP/7AQ0Bd8CJgBRAAAABwBzAVUAGf//AFP/7AQ0BgUCJgBRAAAABgCaWRcAAP//AFP/7AQ0BiECJgBRAAAABgCgWyoAAP//AFP/7AQ0BcsCJgBRAAAABgBoNR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AAA//8AEQAABO8HRAImARQAAAAHAKcEOwFW////4wAABBgGMgImARUAAAAHAKcD1wBE//8AU/5LCIQETgAmAFEAAAAHAFsEiAAA//8AdP5LCYsFxQAmADEAAAAHAFsFjwAA//8ASv46BHsFxQImANYAAAAHAZwBkv+g//8ATf47A8QETQImAOoAAAAHAZwBOf+h//8AdP4+BNgFxQImACUAAAAHAZwB0/+k//8AUf4+A/cETgImAEUAAAAHAZwBS/+k//8AEwAABO8FsAIGADsAAP//ACD+XwP1BDoCBgC4AAD//wCtAAABoAWwAgYAKwAA//8AGAAAB4kHXAImANUAAAAHAJwCHAGs//8AFwAABl8GBQImAOkAAAAHAJwBpQBV//8ArQAAAaAFsAIGACsAAP//ABoAAAUoB1wCJgAjAAAABwCcAOoBrP//AF7/7AQBBhoCJgBDAAAABgCcb2oAAP//ABoAAAUoBw0CJgAjAAAABwBoAJMBXf//AF7/7AQBBcsCJgBDAAAABgBoGBsAAP////YAAAdXBbACBgB/AAD//wA0/+sGhAROAgYAhAAA//8AnwAABHUHXAImACcAAAAHAJwAsgGs//8AWf/sA/gGGwImAEcAAAAGAJxxawAA//8AU//qBRsG2gImAUEAAAAHAGgAcwEq//8AWf/sA/gEUAIGAJkAAP//AFn/7AP4BcwCJgCZAAAABgBoGhwAAP//ABgAAAeJBw0CJgDVAAAABwBoAcUBXf//ABcAAAZfBbYCJgDpAAAABwBoAU4ABv//AEr/6wR7ByICJgDWAAAABwBoAFgBcv//AE3/7APEBcoCJgDqAAAABgBoABoAAP//AJoAAAULBvYCJgDXAAAABwBuAOUBRv//AIYAAAQSBaACJgDrAAAABgBuXfAAAP//AJoAAAULBw0CJgDXAAAABwBoAMYBXf//AIYAAAQSBbYCJgDrAAAABgBoPgYAAP//AHT/6wUbByICJgAxAAAABwBoALoBcv//AFP/7AQ0BcsCJgBRAAAABgBoNRsAAP//AGr/6wURBcUCBgESAAD//wBS/+wEMwROAgYBEwAA//8Aav/rBREHCAImARIAAAAHAGgAxgFY//8AUv/s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Lbm5AwWw+lAEb/uRBbD7kgABADAAAAT0BbAADwAAAREjESEDCgErATUzMhIbAQT0uv3xEQ677jMojHEMFgWw+lAFGv3r/l3+npUBEQFfAqsAAQBR/+sEyAWwABQAAAEXATMBDgEjIiYnNx4BMzI2PwEBMwJOSwFY1/38PIiaGUEKBgpAEktCKCr+DtAC+8MDePtAhIEGA5ACAkpSVgQ+AAADAFP/xAXjBewAFQAeACcAAAEzIAAREAAhIxUjNSMgABEQACEzNTMDIgYVFBY7AREzETMyNjU0JiMDeBsBAgFO/rL+/hu5Hf79/rQBTAEDHbnWxtHRxh25HcTS0sQFHv69/vv++f67xsYBQwEHAQUBRc7+nenMzucDavyW6c7L6AAAAAABALT+oQWSBbAACwAAEzMRIREzETMDIxEhtLkC17mVEqX72QWw+uUFG/rp/ggBXwABAJcAAATEBbAAEwAAAREjEQ4BIyImNREzERQWMzI2NxEExLlhsHv187qMomm8ZwWw+lACYR0azvIBxv46q38cHAK4AAEAtAAABtIFsAALAAABESERMxEhETMRIREBbgH6uQH4ufniBbD65QUb+uUFG/pQBbAAAAABALT+oQdrBbAADwAAAREhETMRIREzETMDIxEhEQFuAfq5Afi5mRKm+gEFsPrlBRv65QUb+uX+DAFfBbAAAAAAAgARAAAFuAWwAAwAFQAAEyERITIWFRQGIyERIQERITI2NTQmIxECVQFo7vz97f3f/mQCVQFonJSUnAWw/ajhx8joBRv9qP3Sn355mAAAAAADALUAAAY1BbAACgATABcAAAEhMhYVFAYjIREzGQEhMjY1NCYjASMRMwFuAWju/P3t/d+5AWiclJScA1+5uQNY4cfI6AWw/RP90p9+eZj9PQWwAAACAKYAAASxBbAACgATAAABITIWFRQGIyERMxkBITI2NTQmIwFfAWju/P3t/d+5AWiclJScA1jhx8joBbD9E/3Sn355mAAAAAABALH/7AT2BcYAHwAAEzQAMzIAGQEQACMiADUzFBYzMhI9ASE1ITU0AiMiBhWxAST2+wEw/tD7+/7hubWsq8f9uwJFx6ustQPf1QES/qb+7f7//uz+qAEB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ABIoFsAAPAAABIxEjESM1MxEhNSEVIREzA5zduebm/jUET/413QM2/MoDNpUBT5aW/rEAAf/j/+wCXwVBAB8AAAERMxUjFTMVIxEUFjMyNjcXDgEjIiY1ESM1MzUjNTMRAXLQ0O3tNi8YMRUZGl0ucYDV1ZubBUH++Y2+lf69UD8HBoMRFY2eAUOVvo0BB///ACcAAAUiByICJgAjAAAABwBCARQBXf//ACcAAAUiBx8CJgAjAAAABwBzAc4BWf//ACcAAAUiB0YCJgAjAAAABwCaANABXf//ACcAAAUiB1ECJgAjAAAABwCgAMoBYP//ACcAAAUiBwwCJgAjAAAABwBoAKoBXP//ACcAAAUiB4gCJgAjAAAABwCeAVEBqP//ACcAAAUiB58CJgAjAAAABwHUAWEBLP//AIP+RATJBcUCJgAlAAAABwB3Adv/9///ALYAAAR1ByICJgAnAAAABwBCAOABXf//ALYAAAR1Bx8CJgAnAAAABwBzAZoBWf//ALYAAAR1B0YCJgAnAAAABwCaAJwBXf//ALYAAAR1BwwCJgAnAAAABwBoAHYBXP///9wAAAF8ByICJgArAAAABwBC/40BXf//AMMAAAJkBx8CJgArAAAABwBzAEYBWf////IAAAJPB0YCJgArAAAABwCa/0kBXf///8wAAAJ1BwwCJgArAAAABwBo/yMBXP//ALYAAAT+B1ECJgAwAAAABwCgAPsBYP//AIL/6wUNBzcCJgAxAAAABwBCATQBcv//AIL/6wUNBzQCJgAxAAAABwBzAe4Bbv//AIL/6wUNB1sCJgAxAAAABwCaAPABcv//AIL/6wUNB2YCJgAxAAAABwCgAOoBdf//AIL/6wUNByECJgAxAAAABwBoAMoBcf//AJb/6wTXByICJgA3AAAABwBCASYBXf//AJb/6wTXBx8CJgA3AAAABwBzAeABWf//AJb/6wTXB0YCJgA3AAAABwCaAOIBXf//AJb/6wTXBwwCJgA3AAAABwBoALwBXP//AB4AAATTBx0CJgA7AAAABwBzAaABV///AHL/7APsBeACJgBDAAAABwBCAJYAG///AHL/7APsBd0CJgBDAAAABwBzAVAAF///AHL/7APs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BbACBgB/AAD//wA9/+sGfAROAgYAhAAA//8AtgAABHUHTAImACcAAAAHAJwAxwGc//8AYv/sA+kGCwImAEcAAAAHAJwAggBb//8AX//rBRAG3gImAUEAAAAHAGgAfQEu//8AYv/sA+kETwIGAJkAAP//AGL/7APpBcsCJgCZAAAABgBoMRsAAP//ABsAAAcoBwwCJgDVAAAABwBoAacBXP//ABUAAAYEBbUCJgDpAAAABwBoATwABf//AFH/6wRnByECJgDWAAAABwBoAGEBcf//AFj/7QOsBckCJgDqAAAABgBoCBkAAP//ALYAAAT+BvoCJgDXAAAABwBuAQQBSv//AJwAAAQBBaQCJgDrAAAABgBudfQAAP//ALYAAAT+BwwCJgDXAAAABwBoAOABXP//AJwAAAQBBbUCJgDrAAAABgBoUQUAAP//AIL/6wUNByECJgAxAAAABwBoAMoBcf//AGD/7AQnBcoCJgBRAAAABgBoSRoAAP//AHP/6wT+BcUCBgESAAD//wBg/+wEJwROAgYBEwAA//8Ac//rBP4HBwImARIAAAAHAGgA0gFX//8AYP/sBCcF5gImARMAAAAGAGgyNgAA//8Asf/sBPYHIgImAOIAAAAHAGgAtwFy//8AZP/rA+AFygImAPoAAAAGAGgmGgAA//8AUf/rBMgG+gImANkAAAAHAG4ArQFK//8AG/5LA+QFpAImAFsAAAAGAG4p9AAA//8AUf/rBMgHDAImANkAAAAHAGgAiQFc//8AG/5LA+QFtQImAFsAAAAGAGgFBQAA//8AUf/rBMgHSwImANkAAAAHAKEBNgFd//8AG/5LA/oF9AImAFsAAAAHAKEAsgAG//8AlwAABMQHDAImANwAAAAHAGgAswFc//8AZwAAA70FtQImAPQAAAAGAGgOBQAA//8AtQAABjUHDAAmAOEPAAAnACsEuQAAAAcAaAF9AVz//wCdAAAFfwW1ACYA+QAAACcAigQqAAAABwBoARcABf//AEH+SwUXBbACJgA6AAAABwGaA7AAAP//AC7+SwQfBDoCJgBaAAAABwGaArgAAP//AGT/7APwBhgCBgBGAAD//wAw/ksFrAWwAiYA2AAAAAcBmgRF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AAAAAAAEJyZFRVbnRGI1JsdAAAAAAAAAAAAAAAAEJsZCBVbnRGI1JsdAAAAAAAAAAAAAAAAFJzbHRVbnRGI1B4bEBSAAAAAAAAAAAACnZlY3RvckRhdGFib29sAQAAAABQZ1BzZW51bQAAAABQZ1BzAAAAAFBnUEMAAAAATGVmdFVudEYjUmx0AAAAAAAAAAAAAAAAVG9wIFVudEYjUmx0AAAAAAAAAAAAAAAAU2NsIFVudEYjUHJjQFkAAAAAAAA4QklNA+0AAAAAABAASAAAAAEAAgBIAAAAAQACOEJJTQQmAAAAAAAOAAAAAAAAAAAAAD+AAAA4QklNBA0AAAAAAAQAAAB4OEJJTQQZAAAAAAAEAAAAHjhCSU0D8wAAAAAACQAAAAAAAAAAAQA4QklNJxAAAAAAAAoAAQAAAAAAAAACOEJJTQP1AAAAAABIAC9mZgABAGxmZgAGAAAAAAABAC9mZgABAKGZmgAGAAAAAAABADIAAAABAFoAAAAGAAAAAAABADUAAAABAC0AAAAGAAAAAAABOEJJTQP4AAAAAABwAAD/////////////////////////////A+gAAAAA/////////////////////////////wPoAAAAAP////////////////////////////8D6AAAAAD/////////////////////////////A+gAADhCSU0EAAAAAAAAAgABOEJJTQQCAAAAAAAEAAAAADhCSU0EMAAAAAAAAgEBOEJJTQQtAAAAAAAGAAEAAAACOEJJTQQIAAAAAAAQAAAAAQAAAkAAAAJAAAAAADhCSU0EHgAAAAAABAAAAAA4QklNBBoAAAAAA0sAAAAGAAAAAAAAAAAAAAE2AAACtwAAAAsAQgBlAHoAIABuAGEAegB3AHkALQAxAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAK3AAABNgAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAABAAAAABAAAAAAAAbnVsbAAAAAIAAAAGYm91bmRzT2JqYwAAAAEAAAAAAABSY3QxAAAABAAAAABUb3AgbG9uZwAAAAAAAAAATGVmdGxvbmcAAAAAAAAAAEJ0b21sb25nAAABNg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gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPD94cGFja2V0IGVuZD0idyI/Pv/iDFhJQ0NfUFJPRklMRQABAQAADEhMaW5vAhAAAG1udHJSR0IgWFlaIAfOAAIACQAGADEAAGFjc3BNU0ZUAAAAAElFQyBzUkdCAAAAAAAAAAAAAAABAAD21gABAAAAANMtSFAgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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z/wuV7suu7Xo2Zc/VrhlUMQCA/EtyBJ+z9GE2pV7mFeJZrj91yUhCrfaDCgqB0PfAqlCn72UTO3qjjzJrUgMePbuciQxHNq8jt3uSbmYQychRaM3xjoBtTfv/lYYhlNSmjsfUYCat2JCasG5FeO4oBk+it2KxDn8aMhPwCQNQGu/KoC1riyFplai7+sSm2P78bSg8iDsDVqjpTBRZxvoqrzCMGo0ZBoRUUT4eXvg2tMTKlBfWHIR8CA9eRrU7bgDqMQDbA23HwEu+9UcjqFHWoG3XCQjdDKl0ySESemwIIVwzArT4gNulf9jgARu1YgCesBJJQ8lFaA16EkdMK7rrd9a9N+UY5LUL9kclr1O5pkiB3qOJDRtraFlCiR1ZjzrTnUjYA0Aof9jgqPej1ISZvMPq/vkHpAjkFK/F8VNiP+CyYEK5o9SZqLtZ3qeabGIioPTpTpkJBI4lCdL43C/GFkK/FzDGg79skFNqEolChWYNIKVdeVCe9BTbHZiqypKQtXoApKkh6Up0ag6fPAeagd7cf1urFKenQhweXTx33/AONsI5p3f//Z"
-},angular.module("ui.bootstrap",["ui.bootstrap.tpls","ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.isClass","ui.bootstrap.position","ui.bootstrap.datepicker","ui.bootstrap.debounce","ui.bootstrap.dropdown","ui.bootstrap.stackedMap","ui.bootstrap.modal","ui.bootstrap.paging","ui.bootstrap.pager","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]),angular.module("ui.bootstrap.tpls",["uib/template/accordion/accordion-group.html","uib/template/accordion/accordion.html","uib/template/alert/alert.html","uib/template/carousel/carousel.html","uib/template/carousel/slide.html","uib/template/datepicker/datepicker.html","uib/template/datepicker/day.html","uib/template/datepicker/month.html","uib/template/datepicker/popup.html","uib/template/datepicker/year.html","uib/template/modal/backdrop.html","uib/template/modal/window.html","uib/template/pager/pager.html","uib/template/pagination/pagination.html","uib/template/tooltip/tooltip-html-popup.html","uib/template/tooltip/tooltip-popup.html","uib/template/tooltip/tooltip-template-popup.html","uib/template/popover/popover-html.html","uib/template/popover/popover-template.html","uib/template/popover/popover.html","uib/template/progressbar/bar.html","uib/template/progressbar/progress.html","uib/template/progressbar/progressbar.html","uib/template/rating/rating.html","uib/template/tabs/tab.html","uib/template/tabs/tabset.html","uib/template/timepicker/timepicker.html","uib/template/typeahead/typeahead-match.html","uib/template/typeahead/typeahead-popup.html"]),angular.module("ui.bootstrap.collapse",[]).directive("uibCollapse",["$animate","$injector",function(a,b){var c=b.has("$animateCss")?b.get("$animateCss"):null;return{link:function(b,d,e){function f(){d.removeClass("collapse").addClass("collapsing").attr("aria-expanded",!0).attr("aria-hidden",!1),c?c(d,{addClass:"in",easing:"ease",to:{height:d[0].scrollHeight+"px"}}).start()["finally"](g):a.addClass(d,"in",{to:{height:d[0].scrollHeight+"px"}}).then(g)}function g(){d.removeClass("collapsing").addClass("collapse").css({height:"auto"})}function h(){return d.hasClass("collapse")||d.hasClass("in")?(d.css({height:d[0].scrollHeight+"px"}).removeClass("collapse").addClass("collapsing").attr("aria-expanded",!1).attr("aria-hidden",!0),void(c?c(d,{removeClass:"in",to:{height:"0"}}).start()["finally"](i):a.removeClass(d,"in",{to:{height:"0"}}).then(i))):i()}function i(){d.css({height:"0"}),d.removeClass("collapsing").addClass("collapse")}b.$eval(e.uibCollapse)||d.addClass("in").addClass("collapse").css({height:"auto"}),b.$watch(e.uibCollapse,function(a){a?h():f()})}}}]),angular.module("ui.bootstrap.accordion",["ui.bootstrap.collapse"]).constant("uibAccordionConfig",{closeOthers:!0}).controller("UibAccordionController",["$scope","$attrs","uibAccordionConfig",function(a,b,c){this.groups=[],this.closeOthers=function(d){var e=angular.isDefined(b.closeOthers)?a.$eval(b.closeOthers):c.closeOthers;e&&angular.forEach(this.groups,function(a){a!==d&&(a.isOpen=!1)})},this.addGroup=function(a){var b=this;this.groups.push(a),a.$on("$destroy",function(c){b.removeGroup(a)})},this.removeGroup=function(a){var b=this.groups.indexOf(a);-1!==b&&this.groups.splice(b,1)}}]).directive("uibAccordion",function(){return{controller:"UibAccordionController",controllerAs:"accordion",transclude:!0,templateUrl:function(a,b){return b.templateUrl||"uib/template/accordion/accordion.html"}}}).directive("uibAccordionGroup",function(){return{require:"^uibAccordion",transclude:!0,replace:!0,templateUrl:function(a,b){return b.templateUrl||"uib/template/accordion/accordion-group.html"},scope:{heading:"@",isOpen:"=?",isDisabled:"=?"},controller:function(){this.setHeading=function(a){this.heading=a}},link:function(a,b,c,d){d.addGroup(a),a.openClass=c.openClass||"panel-open",a.panelClass=c.panelClass||"panel-default",a.$watch("isOpen",function(c){b.toggleClass(a.openClass,!!c),c&&d.closeOthers(a)}),a.toggleOpen=function(b){a.isDisabled||b&&32!==b.which||(a.isOpen=!a.isOpen)}}}}).directive("uibAccordionHeading",function(){return{transclude:!0,template:"",replace:!0,require:"^uibAccordionGroup",link:function(a,b,c,d,e){d.setHeading(e(a,angular.noop))}}}).directive("uibAccordionTransclude",function(){return{require:"^uibAccordionGroup",link:function(a,b,c,d){a.$watch(function(){return d[c.uibAccordionTransclude]},function(a){a&&(b.find("span").html(""),b.find("span").append(a))})}}}),angular.module("ui.bootstrap.alert",[]).controller("UibAlertController",["$scope","$attrs","$interpolate","$timeout",function(a,b,c,d){a.closeable=!!b.close;var e=angular.isDefined(b.dismissOnTimeout)?c(b.dismissOnTimeout)(a.$parent):null;e&&d(function(){a.close()},parseInt(e,10))}]).directive("uibAlert",function(){return{controller:"UibAlertController",controllerAs:"alert",templateUrl:function(a,b){return b.templateUrl||"uib/template/alert/alert.html"},transclude:!0,replace:!0,scope:{type:"@",close:"&"}}}),angular.module("ui.bootstrap.buttons",[]).constant("uibButtonConfig",{activeClass:"active",toggleEvent:"click"}).controller("UibButtonsController",["uibButtonConfig",function(a){this.activeClass=a.activeClass||"active",this.toggleEvent=a.toggleEvent||"click"}]).directive("uibBtnRadio",["$parse",function(a){return{require:["uibBtnRadio","ngModel"],controller:"UibButtonsController",controllerAs:"buttons",link:function(b,c,d,e){var f=e[0],g=e[1],h=a(d.uibUncheckable);c.find("input").css({display:"none"}),g.$render=function(){c.toggleClass(f.activeClass,angular.equals(g.$modelValue,b.$eval(d.uibBtnRadio)))},c.on(f.toggleEvent,function(){if(!d.disabled){var a=c.hasClass(f.activeClass);(!a||angular.isDefined(d.uncheckable))&&b.$apply(function(){g.$setViewValue(a?null:b.$eval(d.uibBtnRadio)),g.$render()})}}),d.uibUncheckable&&b.$watch(h,function(a){d.$set("uncheckable",a?"":null)})}}}]).directive("uibBtnCheckbox",function(){return{require:["uibBtnCheckbox","ngModel"],controller:"UibButtonsController",controllerAs:"button",link:function(a,b,c,d){function e(){return g(c.btnCheckboxTrue,!0)}function f(){return g(c.btnCheckboxFalse,!1)}function g(b,c){return angular.isDefined(b)?a.$eval(b):c}var h=d[0],i=d[1];b.find("input").css({display:"none"}),i.$render=function(){b.toggleClass(h.activeClass,angular.equals(i.$modelValue,e()))},b.on(h.toggleEvent,function(){c.disabled||a.$apply(function(){i.$setViewValue(b.hasClass(h.activeClass)?f():e()),i.$render()})})}}}),angular.module("ui.bootstrap.carousel",[]).controller("UibCarouselController",["$scope","$element","$interval","$timeout","$animate",function(a,b,c,d,e){function f(){for(;s.length;)s.shift()}function g(a){if(angular.isUndefined(p[a].index))return p[a];for(var b=0,c=p.length;c>b;++b)if(p[b].index===a)return p[b]}function h(c,d,g){t||(angular.extend(c,{direction:g,active:!0}),angular.extend(o.currentSlide||{},{direction:g,active:!1}),e.enabled(b)&&!a.$currentTransition&&c.$element&&o.slides.length>1&&(c.$element.data(q,c.direction),o.currentSlide&&o.currentSlide.$element&&o.currentSlide.$element.data(q,c.direction),a.$currentTransition=!0,e.on("addClass",c.$element,function(b,c){if("close"===c&&(a.$currentTransition=null,e.off("addClass",b),s.length)){var d=s.pop(),g=a.indexOfSlide(d),i=g>o.getCurrentIndex()?"next":"prev";f(),h(d,g,i)}})),o.currentSlide=c,r=d,k())}function i(){m&&(c.cancel(m),m=null)}function j(b){b.length||(a.$currentTransition=null,f())}function k(){i();var b=+a.interval;!isNaN(b)&&b>0&&(m=c(l,b))}function l(){var b=+a.interval;n&&!isNaN(b)&&b>0&&p.length?a.next():a.pause()}var m,n,o=this,p=o.slides=a.slides=[],q="uib-slideDirection",r=-1,s=[];o.currentSlide=null;var t=!1;o.addSlide=function(b,c){b.$element=c,p.push(b),1===p.length||b.active?(a.$currentTransition&&(a.$currentTransition=null),o.select(p[p.length-1]),1===p.length&&a.play()):b.active=!1},o.getCurrentIndex=function(){return o.currentSlide&&angular.isDefined(o.currentSlide.index)?+o.currentSlide.index:r},o.next=a.next=function(){var b=(o.getCurrentIndex()+1)%p.length;return 0===b&&a.noWrap()?void a.pause():o.select(g(b),"next")},o.prev=a.prev=function(){var b=o.getCurrentIndex()-1<0?p.length-1:o.getCurrentIndex()-1;return a.noWrap()&&b===p.length-1?void a.pause():o.select(g(b),"prev")},o.removeSlide=function(a){angular.isDefined(a.index)&&p.sort(function(a,b){return+a.index>+b.index});var b=s.indexOf(a);-1!==b&&s.splice(b,1);var c=p.indexOf(a);p.splice(c,1),d(function(){p.length>0&&a.active?c>=p.length?o.select(p[c-1]):o.select(p[c]):r>c&&r--}),0===p.length&&(o.currentSlide=null,f())},o.select=a.select=function(b,c){var d=a.indexOfSlide(b);void 0===c&&(c=d>o.getCurrentIndex()?"next":"prev"),b&&b!==o.currentSlide&&!a.$currentTransition?h(b,d,c):b&&b!==o.currentSlide&&a.$currentTransition&&(s.push(b),b.active=!1)},a.indexOfSlide=function(a){return angular.isDefined(a.index)?+a.index:p.indexOf(a)},a.isActive=function(a){return o.currentSlide===a},a.pause=function(){a.noPause||(n=!1,i())},a.play=function(){n||(n=!0,k())},a.$on("$destroy",function(){t=!0,i()}),a.$watch("noTransition",function(a){e.enabled(b,!a)}),a.$watch("interval",k),a.$watchCollection("slides",j)}]).directive("uibCarousel",function(){return{transclude:!0,replace:!0,controller:"UibCarouselController",controllerAs:"carousel",templateUrl:function(a,b){return b.templateUrl||"uib/template/carousel/carousel.html"},scope:{interval:"=",noTransition:"=",noPause:"=",noWrap:"&"}}}).directive("uibSlide",function(){return{require:"^uibCarousel",transclude:!0,replace:!0,templateUrl:function(a,b){return b.templateUrl||"uib/template/carousel/slide.html"},scope:{active:"=?",actual:"=?",index:"=?"},link:function(a,b,c,d){d.addSlide(a,b),a.$on("$destroy",function(){d.removeSlide(a)}),a.$watch("active",function(b){b&&d.select(a)})}}}).animation(".item",["$animateCss",function(a){function b(a,b,c){a.removeClass(b),c&&c()}var c="uib-slideDirection";return{beforeAddClass:function(d,e,f){if("active"===e){var g=!1,h=d.data(c),i="next"===h?"left":"right",j=b.bind(this,d,i+" "+h,f);return d.addClass(h),a(d,{addClass:i}).start().done(j),function(){g=!0}}f()},beforeRemoveClass:function(d,e,f){if("active"===e){var g=!1,h=d.data(c),i="next"===h?"left":"right",j=b.bind(this,d,i,f);return a(d,{addClass:i}).start().done(j),function(){g=!0}}f()}}}]),angular.module("ui.bootstrap.dateparser",[]).service("uibDateParser",["$log","$locale","orderByFilter",function(a,b,c){function d(a){var b=[],d=a.split(""),e=a.indexOf("'");if(e>-1){var f=!1;a=a.split("");for(var g=e;g<a.length;g++)f?("'"===a[g]&&(g+1<a.length&&"'"===a[g+1]?(a[g+1]="$",d[g+1]=""):(d[g]="",f=!1)),a[g]="$"):"'"===a[g]&&(a[g]="$",d[g]="",f=!0);a=a.join("")}return angular.forEach(m,function(c){var e=a.indexOf(c.key);if(e>-1){a=a.split(""),d[e]="("+c.regex+")",a[e]="$";for(var f=e+1,g=e+c.key.length;g>f;f++)d[f]="",a[f]="$";a=a.join(""),b.push({index:e,apply:c.apply,matcher:c.regex})}}),{regex:new RegExp("^"+d.join("")+"$"),map:c(b,"index")}}function e(a,b,c){return 1>c?!1:1===b&&c>28?29===c&&(a%4===0&&a%100!==0||a%400===0):3===b||5===b||8===b||10===b?31>c:!0}function f(a){return parseInt(a,10)}function g(a,b){return a&&b?k(a,b):a}function h(a,b){return a&&b?k(a,b,!0):a}function i(a,b){var c=Date.parse("Jan 01, 1970 00:00:00 "+a)/6e4;return isNaN(c)?b:c}function j(a,b){return a=new Date(a.getTime()),a.setMinutes(a.getMinutes()+b),a}function k(a,b,c){c=c?-1:1;var d=i(b,a.getTimezoneOffset());return j(a,c*(d-a.getTimezoneOffset()))}var l,m,n=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;this.init=function(){l=b.id,this.parsers={},m=[{key:"yyyy",regex:"\\d{4}",apply:function(a){this.year=+a}},{key:"yy",regex:"\\d{2}",apply:function(a){this.year=+a+2e3}},{key:"y",regex:"\\d{1,4}",apply:function(a){this.year=+a}},{key:"M!",regex:"0?[1-9]|1[0-2]",apply:function(a){this.month=a-1}},{key:"MMMM",regex:b.DATETIME_FORMATS.MONTH.join("|"),apply:function(a){this.month=b.DATETIME_FORMATS.MONTH.indexOf(a)}},{key:"MMM",regex:b.DATETIME_FORMATS.SHORTMONTH.join("|"),apply:function(a){this.month=b.DATETIME_FORMATS.SHORTMONTH.indexOf(a)}},{key:"MM",regex:"0[1-9]|1[0-2]",apply:function(a){this.month=a-1}},{key:"M",regex:"[1-9]|1[0-2]",apply:function(a){this.month=a-1}},{key:"d!",regex:"[0-2]?[0-9]{1}|3[0-1]{1}",apply:function(a){this.date=+a}},{key:"dd",regex:"[0-2][0-9]{1}|3[0-1]{1}",apply:function(a){this.date=+a}},{key:"d",regex:"[1-2]?[0-9]{1}|3[0-1]{1}",apply:function(a){this.date=+a}},{key:"EEEE",regex:b.DATETIME_FORMATS.DAY.join("|")},{key:"EEE",regex:b.DATETIME_FORMATS.SHORTDAY.join("|")},{key:"HH",regex:"(?:0|1)[0-9]|2[0-3]",apply:function(a){this.hours=+a}},{key:"hh",regex:"0[0-9]|1[0-2]",apply:function(a){this.hours=+a}},{key:"H",regex:"1?[0-9]|2[0-3]",apply:function(a){this.hours=+a}},{key:"h",regex:"[0-9]|1[0-2]",apply:function(a){this.hours=+a}},{key:"mm",regex:"[0-5][0-9]",apply:function(a){this.minutes=+a}},{key:"m",regex:"[0-9]|[1-5][0-9]",apply:function(a){this.minutes=+a}},{key:"sss",regex:"[0-9][0-9][0-9]",apply:function(a){this.milliseconds=+a}},{key:"ss",regex:"[0-5][0-9]",apply:function(a){this.seconds=+a}},{key:"s",regex:"[0-9]|[1-5][0-9]",apply:function(a){this.seconds=+a}},{key:"a",regex:b.DATETIME_FORMATS.AMPMS.join("|"),apply:function(a){12===this.hours&&(this.hours=0),"PM"===a&&(this.hours+=12)}},{key:"Z",regex:"[+-]\\d{4}",apply:function(a){var b=a.match(/([+-])(\d{2})(\d{2})/),c=b[1],d=b[2],e=b[3];this.hours+=f(c+d),this.minutes+=f(c+e)}},{key:"ww",regex:"[0-4][0-9]|5[0-3]"},{key:"w",regex:"[0-9]|[1-4][0-9]|5[0-3]"},{key:"GGGG",regex:b.DATETIME_FORMATS.ERANAMES.join("|").replace(/\s/g,"\\s")},{key:"GGG",regex:b.DATETIME_FORMATS.ERAS.join("|")},{key:"GG",regex:b.DATETIME_FORMATS.ERAS.join("|")},{key:"G",regex:b.DATETIME_FORMATS.ERAS.join("|")}]},this.init(),this.parse=function(c,f,g){if(!angular.isString(c)||!f)return c;f=b.DATETIME_FORMATS[f]||f,f=f.replace(n,"\\$&"),b.id!==l&&this.init(),this.parsers[f]||(this.parsers[f]=d(f));var h=this.parsers[f],i=h.regex,j=h.map,k=c.match(i),m=!1;if(k&&k.length){var o,p;angular.isDate(g)&&!isNaN(g.getTime())?o={year:g.getFullYear(),month:g.getMonth(),date:g.getDate(),hours:g.getHours(),minutes:g.getMinutes(),seconds:g.getSeconds(),milliseconds:g.getMilliseconds()}:(g&&a.warn("dateparser:","baseDate is not a valid date"),o={year:1900,month:0,date:1,hours:0,minutes:0,seconds:0,milliseconds:0});for(var q=1,r=k.length;r>q;q++){var s=j[q-1];"Z"===s.matcher&&(m=!0),s.apply&&s.apply.call(o,k[q])}var t=m?Date.prototype.setUTCFullYear:Date.prototype.setFullYear,u=m?Date.prototype.setUTCHours:Date.prototype.setHours;return e(o.year,o.month,o.date)&&(!angular.isDate(g)||isNaN(g.getTime())||m?(p=new Date(0),t.call(p,o.year,o.month,o.date),u.call(p,o.hours||0,o.minutes||0,o.seconds||0,o.milliseconds||0)):(p=new Date(g),t.call(p,o.year,o.month,o.date),u.call(p,o.hours,o.minutes,o.seconds,o.milliseconds))),p}},this.toTimezone=g,this.fromTimezone=h,this.timezoneToOffset=i,this.addDateMinutes=j,this.convertTimezoneToLocal=k}]),angular.module("ui.bootstrap.isClass",[]).directive("uibIsClass",["$animate",function(a){var b=/^\s*([\s\S]+?)\s+on\s+([\s\S]+?)\s*$/,c=/^\s*([\s\S]+?)\s+for\s+([\s\S]+?)\s*$/;return{restrict:"A",compile:function(d,e){function f(a,b,c){i.push(a),j.push({scope:a,element:b}),o.forEach(function(b,c){g(b,a)}),a.$on("$destroy",h)}function g(b,d){var e=b.match(c),f=d.$eval(e[1]),g=e[2],h=k[b];if(!h){var i=function(b){var c=null;j.some(function(a){var d=a.scope.$eval(m);return d===b?(c=a,!0):void 0}),h.lastActivated!==c&&(h.lastActivated&&a.removeClass(h.lastActivated.element,f),c&&a.addClass(c.element,f),h.lastActivated=c)};k[b]=h={lastActivated:null,scope:d,watchFn:i,compareWithExp:g,watcher:d.$watch(g,i)}}h.watchFn(d.$eval(g))}function h(a){var b=a.targetScope,c=i.indexOf(b);if(i.splice(c,1),j.splice(c,1),i.length){var d=i[0];angular.forEach(k,function(a){a.scope===b&&(a.watcher=d.$watch(a.compareWithExp,a.watchFn),a.scope=d)})}else k={}}var i=[],j=[],k={},l=e.uibIsClass.match(b),m=l[2],n=l[1],o=n.split(",");return f}}}]),angular.module("ui.bootstrap.position",[]).factory("$uibPosition",["$document","$window",function(a,b){var c,d={normal:/(auto|scroll)/,hidden:/(auto|scroll|hidden)/},e={auto:/\s?auto?\s?/i,primary:/^(top|bottom|left|right)$/,secondary:/^(top|bottom|left|right|center)$/,vertical:/^(top|bottom)$/};return{getRawNode:function(a){return a[0]||a},parseStyle:function(a){return a=parseFloat(a),isFinite(a)?a:0},offsetParent:function(c){function d(a){return"static"===(b.getComputedStyle(a).position||"static")}c=this.getRawNode(c);for(var e=c.offsetParent||a[0].documentElement;e&&e!==a[0].documentElement&&d(e);)e=e.offsetParent;return e||a[0].documentElement},scrollbarWidth:function(){if(angular.isUndefined(c)){var b=angular.element('<div style="position: absolute; top: -9999px; width: 50px; height: 50px; overflow: scroll;"></div>');a.find("body").append(b),c=b[0].offsetWidth-b[0].clientWidth,c=isFinite(c)?c:0,b.remove()}return c},scrollParent:function(c,e){c=this.getRawNode(c);var f=e?d.hidden:d.normal,g=a[0].documentElement,h=b.getComputedStyle(c),i="absolute"===h.position,j=c.parentElement||g;if(j===g||"fixed"===h.position)return g;for(;j.parentElement&&j!==g;){var k=b.getComputedStyle(j);if(i&&"static"!==k.position&&(i=!1),!i&&f.test(k.overflow+k.overflowY+k.overflowX))break;j=j.parentElement}return j},position:function(c,d){c=this.getRawNode(c);var e=this.offset(c);if(d){var f=b.getComputedStyle(c);e.top-=this.parseStyle(f.marginTop),e.left-=this.parseStyle(f.marginLeft)}var g=this.offsetParent(c),h={top:0,left:0};return g!==a[0].documentElement&&(h=this.offset(g),h.top+=g.clientTop-g.scrollTop,h.left+=g.clientLeft-g.scrollLeft),{width:Math.round(angular.isNumber(e.width)?e.width:c.offsetWidth),height:Math.round(angular.isNumber(e.height)?e.height:c.offsetHeight),top:Math.round(e.top-h.top),left:Math.round(e.left-h.left)}},offset:function(c){c=this.getRawNode(c);var d=c.getBoundingClientRect();return{width:Math.round(angular.isNumber(d.width)?d.width:c.offsetWidth),height:Math.round(angular.isNumber(d.height)?d.height:c.offsetHeight),top:Math.round(d.top+(b.pageYOffset||a[0].documentElement.scrollTop)),left:Math.round(d.left+(b.pageXOffset||a[0].documentElement.scrollLeft))}},viewportOffset:function(c,d,e){c=this.getRawNode(c),e=e!==!1?!0:!1;var f=c.getBoundingClientRect(),g={top:0,left:0,bottom:0,right:0},h=d?a[0].documentElement:this.scrollParent(c),i=h.getBoundingClientRect();if(g.top=i.top+h.clientTop,g.left=i.left+h.clientLeft,h===a[0].documentElement&&(g.top+=b.pageYOffset,g.left+=b.pageXOffset),g.bottom=g.top+h.clientHeight,g.right=g.left+h.clientWidth,e){var j=b.getComputedStyle(h);g.top+=this.parseStyle(j.paddingTop),g.bottom-=this.parseStyle(j.paddingBottom),g.left+=this.parseStyle(j.paddingLeft),g.right-=this.parseStyle(j.paddingRight)}return{top:Math.round(f.top-g.top),bottom:Math.round(g.bottom-f.bottom),left:Math.round(f.left-g.left),right:Math.round(g.right-f.right)}},parsePlacement:function(a){var b=e.auto.test(a);return b&&(a=a.replace(e.auto,"")),a=a.split("-"),a[0]=a[0]||"top",e.primary.test(a[0])||(a[0]="top"),a[1]=a[1]||"center",e.secondary.test(a[1])||(a[1]="center"),b?a[2]=!0:a[2]=!1,a},positionElements:function(a,c,d,f){a=this.getRawNode(a),c=this.getRawNode(c);var g=angular.isDefined(c.offsetWidth)?c.offsetWidth:c.prop("offsetWidth"),h=angular.isDefined(c.offsetHeight)?c.offsetHeight:c.prop("offsetHeight");d=this.parsePlacement(d);var i=f?this.offset(a):this.position(a),j={top:0,left:0,placement:""};if(d[2]){var k=this.viewportOffset(a),l=b.getComputedStyle(c),m={width:g+Math.round(Math.abs(this.parseStyle(l.marginLeft)+this.parseStyle(l.marginRight))),height:h+Math.round(Math.abs(this.parseStyle(l.marginTop)+this.parseStyle(l.marginBottom)))};if(d[0]="top"===d[0]&&m.height>k.top&&m.height<=k.bottom?"bottom":"bottom"===d[0]&&m.height>k.bottom&&m.height<=k.top?"top":"left"===d[0]&&m.width>k.left&&m.width<=k.right?"right":"right"===d[0]&&m.width>k.right&&m.width<=k.left?"left":d[0],d[1]="top"===d[1]&&m.height-i.height>k.bottom&&m.height-i.height<=k.top?"bottom":"bottom"===d[1]&&m.height-i.height>k.top&&m.height-i.height<=k.bottom?"top":"left"===d[1]&&m.width-i.width>k.right&&m.width-i.width<=k.left?"right":"right"===d[1]&&m.width-i.width>k.left&&m.width-i.width<=k.right?"left":d[1],"center"===d[1])if(e.vertical.test(d[0])){var n=i.width/2-g/2;k.left+n<0&&m.width-i.width<=k.right?d[1]="left":k.right+n<0&&m.width-i.width<=k.left&&(d[1]="right")}else{var o=i.height/2-m.height/2;k.top+o<0&&m.height-i.height<=k.bottom?d[1]="top":k.bottom+o<0&&m.height-i.height<=k.top&&(d[1]="bottom")}}switch(d[0]){case"top":j.top=i.top-h;break;case"bottom":j.top=i.top+i.height;break;case"left":j.left=i.left-g;break;case"right":j.left=i.left+i.width}switch(d[1]){case"top":j.top=i.top;break;case"bottom":j.top=i.top+i.height-h;break;case"left":j.left=i.left;break;case"right":j.left=i.left+i.width-g;break;case"center":e.vertical.test(d[0])?j.left=i.left+i.width/2-g/2:j.top=i.top+i.height/2-h/2}return j.top=Math.round(j.top),j.left=Math.round(j.left),j.placement="center"===d[1]?d[0]:d[0]+"-"+d[1],j},positionArrow:function(a,c){a=this.getRawNode(a);var d=!0,f=a.querySelector(".tooltip-inner");if(f||(d=!1,f=a.querySelector(".popover-inner")),f){var g=d?a.querySelector(".tooltip-arrow"):a.querySelector(".arrow");if(g){if(c=this.parsePlacement(c),"center"===c[1])return void angular.element(g).css({top:"",bottom:"",right:"",left:"",margin:""});var h="border-"+c[0]+"-width",i=b.getComputedStyle(g)[h],j="border-";j+=e.vertical.test(c[0])?c[0]+"-"+c[1]:c[1]+"-"+c[0],j+="-radius";var k=b.getComputedStyle(d?f:a)[j],l={top:"auto",bottom:"auto",left:"auto",right:"auto",margin:0};switch(c[0]){case"top":l.bottom=d?"0":"-"+i;break;case"bottom":l.top=d?"0":"-"+i;break;case"left":l.right=d?"0":"-"+i;break;case"right":l.left=d?"0":"-"+i}l[c[1]]=k,angular.element(g).css(l)}}}}}]),angular.module("ui.bootstrap.datepicker",["ui.bootstrap.dateparser","ui.bootstrap.isClass","ui.bootstrap.position"]).value("$datepickerSuppressError",!1).constant("uibDatepickerConfig",{formatDay:"dd",formatMonth:"MMMM",formatYear:"yyyy",formatDayHeader:"EEE",formatDayTitle:"MMMM yyyy",formatMonthTitle:"yyyy",datepickerMode:"day",minMode:"day",maxMode:"year",showWeeks:!0,startingDay:0,yearRows:4,yearColumns:5,minDate:null,maxDate:null,shortcutPropagation:!1,ngModelOptions:{}}).controller("UibDatepickerController",["$scope","$attrs","$parse","$interpolate","$log","dateFilter","uibDatepickerConfig","$datepickerSuppressError","uibDateParser",function(a,b,c,d,e,f,g,h,i){var j=this,k={$setViewValue:angular.noop},l={};this.modes=["day","month","year"],angular.forEach(["formatDay","formatMonth","formatYear","formatDayHeader","formatDayTitle","formatMonthTitle"],function(c){j[c]=angular.isDefined(b[c])?d(b[c])(a.$parent):g[c]}),angular.forEach(["showWeeks","startingDay","yearRows","yearColumns","shortcutPropagation"],function(c){j[c]=angular.isDefined(b[c])?a.$parent.$eval(b[c]):g[c]}),angular.forEach(["minDate","maxDate"],function(c){b[c]?a.$parent.$watch(b[c],function(a){j[c]=a?angular.isDate(a)?i.fromTimezone(new Date(a),l.timezone):new Date(f(a,"medium")):null,j.refreshView()}):j[c]=g[c]?i.fromTimezone(new Date(g[c]),l.timezone):null}),angular.forEach(["minMode","maxMode"],function(c){b[c]?a.$parent.$watch(b[c],function(d){j[c]=a[c]=angular.isDefined(d)?d:b[c],("minMode"===c&&j.modes.indexOf(a.datepickerMode)<j.modes.indexOf(j[c])||"maxMode"===c&&j.modes.indexOf(a.datepickerMode)>j.modes.indexOf(j[c]))&&(a.datepickerMode=j[c])}):j[c]=a[c]=g[c]||null}),a.datepickerMode=a.datepickerMode||g.datepickerMode,a.uniqueId="datepicker-"+a.$id+"-"+Math.floor(1e4*Math.random()),angular.isDefined(b.initDate)?(this.activeDate=i.fromTimezone(a.$parent.$eval(b.initDate),l.timezone)||new Date,a.$parent.$watch(b.initDate,function(a){a&&(k.$isEmpty(k.$modelValue)||k.$invalid)&&(j.activeDate=i.fromTimezone(a,l.timezone),j.refreshView())})):this.activeDate=new Date,a.disabled=angular.isDefined(b.disabled)||!1,angular.isDefined(b.ngDisabled)&&a.$parent.$watch(b.ngDisabled,function(b){a.disabled=b,j.refreshView()}),a.isActive=function(b){return 0===j.compare(b.date,j.activeDate)?(a.activeDateId=b.uid,!0):!1},this.init=function(a){k=a,l=a.$options||g.ngModelOptions,k.$modelValue&&(this.activeDate=k.$modelValue),k.$render=function(){j.render()}},this.render=function(){if(k.$viewValue){var a=new Date(k.$viewValue),b=!isNaN(a);b?this.activeDate=i.fromTimezone(a,l.timezone):h||e.error('Datepicker directive: "ng-model" value must be a Date object')}this.refreshView()},this.refreshView=function(){if(this.element){a.selectedDt=null,this._refreshView(),a.activeDt&&(a.activeDateId=a.activeDt.uid);var b=k.$viewValue?new Date(k.$viewValue):null;b=i.fromTimezone(b,l.timezone),k.$setValidity("dateDisabled",!b||this.element&&!this.isDisabled(b))}},this.createDateObject=function(b,c){var d=k.$viewValue?new Date(k.$viewValue):null;d=i.fromTimezone(d,l.timezone);var e={date:b,label:f(b,c.replace(/d!/,"dd")).replace(/M!/,"MM"),selected:d&&0===this.compare(b,d),disabled:this.isDisabled(b),current:0===this.compare(b,new Date),customClass:this.customClass(b)||null};return d&&0===this.compare(b,d)&&(a.selectedDt=e),j.activeDate&&0===this.compare(e.date,j.activeDate)&&(a.activeDt=e),e},this.isDisabled=function(c){return a.disabled||this.minDate&&this.compare(c,this.minDate)<0||this.maxDate&&this.compare(c,this.maxDate)>0||b.dateDisabled&&a.dateDisabled({date:c,mode:a.datepickerMode})},this.customClass=function(b){return a.customClass({date:b,mode:a.datepickerMode})},this.split=function(a,b){for(var c=[];a.length>0;)c.push(a.splice(0,b));return c},a.select=function(b){if(a.datepickerMode===j.minMode){var c=k.$viewValue?i.fromTimezone(new Date(k.$viewValue),l.timezone):new Date(0,0,0,0,0,0,0);c.setFullYear(b.getFullYear(),b.getMonth(),b.getDate()),c=i.toTimezone(c,l.timezone),k.$setViewValue(c),k.$render()}else j.activeDate=b,a.datepickerMode=j.modes[j.modes.indexOf(a.datepickerMode)-1]},a.move=function(a){var b=j.activeDate.getFullYear()+a*(j.step.years||0),c=j.activeDate.getMonth()+a*(j.step.months||0);j.activeDate.setFullYear(b,c,1),j.refreshView()},a.toggleMode=function(b){b=b||1,a.datepickerMode===j.maxMode&&1===b||a.datepickerMode===j.minMode&&-1===b||(a.datepickerMode=j.modes[j.modes.indexOf(a.datepickerMode)+b])},a.keys={13:"enter",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down"};var m=function(){j.element[0].focus()};a.$on("uib:datepicker.focus",m),a.keydown=function(b){var c=a.keys[b.which];if(c&&!b.shiftKey&&!b.altKey&&!a.disabled)if(b.preventDefault(),j.shortcutPropagation||b.stopPropagation(),"enter"===c||"space"===c){if(j.isDisabled(j.activeDate))return;a.select(j.activeDate)}else!b.ctrlKey||"up"!==c&&"down"!==c?(j.handleKeyDown(c,b),j.refreshView()):a.toggleMode("up"===c?1:-1)}}]).controller("UibDaypickerController",["$scope","$element","dateFilter",function(a,b,c){function d(a,b){return 1!==b||a%4!==0||a%100===0&&a%400!==0?f[b]:29}function e(a){var b=new Date(a);b.setDate(b.getDate()+4-(b.getDay()||7));var c=b.getTime();return b.setMonth(0),b.setDate(1),Math.floor(Math.round((c-b)/864e5)/7)+1}var f=[31,28,31,30,31,30,31,31,30,31,30,31];this.step={months:1},this.element=b,this.init=function(b){angular.extend(b,this),a.showWeeks=b.showWeeks,b.refreshView()},this.getDates=function(a,b){for(var c,d=new Array(b),e=new Date(a),f=0;b>f;)c=new Date(e),d[f++]=c,e.setDate(e.getDate()+1);return d},this._refreshView=function(){var b=this.activeDate.getFullYear(),d=this.activeDate.getMonth(),f=new Date(this.activeDate);f.setFullYear(b,d,1);var g=this.startingDay-f.getDay(),h=g>0?7-g:-g,i=new Date(f);h>0&&i.setDate(-h+1);for(var j=this.getDates(i,42),k=0;42>k;k++)j[k]=angular.extend(this.createDateObject(j[k],this.formatDay),{secondary:j[k].getMonth()!==d,uid:a.uniqueId+"-"+k});a.labels=new Array(7);for(var l=0;7>l;l++)a.labels[l]={abbr:c(j[l].date,this.formatDayHeader),full:c(j[l].date,"EEEE")};if(a.title=c(this.activeDate,this.formatDayTitle),a.rows=this.split(j,7),a.showWeeks){a.weekNumbers=[];for(var m=(11-this.startingDay)%7,n=a.rows.length,o=0;n>o;o++)a.weekNumbers.push(e(a.rows[o][m].date))}},this.compare=function(a,b){var c=new Date(a.getFullYear(),a.getMonth(),a.getDate()),d=new Date(b.getFullYear(),b.getMonth(),b.getDate());return c.setFullYear(a.getFullYear()),d.setFullYear(b.getFullYear()),c-d},this.handleKeyDown=function(a,b){var c=this.activeDate.getDate();if("left"===a)c-=1;else if("up"===a)c-=7;else if("right"===a)c+=1;else if("down"===a)c+=7;else if("pageup"===a||"pagedown"===a){var e=this.activeDate.getMonth()+("pageup"===a?-1:1);this.activeDate.setMonth(e,1),c=Math.min(d(this.activeDate.getFullYear(),this.activeDate.getMonth()),c)}else"home"===a?c=1:"end"===a&&(c=d(this.activeDate.getFullYear(),this.activeDate.getMonth()));this.activeDate.setDate(c)}}]).controller("UibMonthpickerController",["$scope","$element","dateFilter",function(a,b,c){this.step={years:1},this.element=b,this.init=function(a){angular.extend(a,this),a.refreshView()},this._refreshView=function(){for(var b,d=new Array(12),e=this.activeDate.getFullYear(),f=0;12>f;f++)b=new Date(this.activeDate),b.setFullYear(e,f,1),d[f]=angular.extend(this.createDateObject(b,this.formatMonth),{uid:a.uniqueId+"-"+f});a.title=c(this.activeDate,this.formatMonthTitle),a.rows=this.split(d,3)},this.compare=function(a,b){var c=new Date(a.getFullYear(),a.getMonth()),d=new Date(b.getFullYear(),b.getMonth());return c.setFullYear(a.getFullYear()),d.setFullYear(b.getFullYear()),c-d},this.handleKeyDown=function(a,b){var c=this.activeDate.getMonth();if("left"===a)c-=1;else if("up"===a)c-=3;else if("right"===a)c+=1;else if("down"===a)c+=3;else if("pageup"===a||"pagedown"===a){var d=this.activeDate.getFullYear()+("pageup"===a?-1:1);this.activeDate.setFullYear(d)}else"home"===a?c=0:"end"===a&&(c=11);this.activeDate.setMonth(c)}}]).controller("UibYearpickerController",["$scope","$element","dateFilter",function(a,b,c){function d(a){return parseInt((a-1)/f,10)*f+1}var e,f;this.element=b,this.yearpickerInit=function(){e=this.yearColumns,f=this.yearRows*e,this.step={years:f}},this._refreshView=function(){for(var b,c=new Array(f),g=0,h=d(this.activeDate.getFullYear());f>g;g++)b=new Date(this.activeDate),b.setFullYear(h+g,0,1),c[g]=angular.extend(this.createDateObject(b,this.formatYear),{uid:a.uniqueId+"-"+g});a.title=[c[0].label,c[f-1].label].join(" - "),a.rows=this.split(c,e),a.columns=e},this.compare=function(a,b){return a.getFullYear()-b.getFullYear()},this.handleKeyDown=function(a,b){var c=this.activeDate.getFullYear();"left"===a?c-=1:"up"===a?c-=e:"right"===a?c+=1:"down"===a?c+=e:"pageup"===a||"pagedown"===a?c+=("pageup"===a?-1:1)*f:"home"===a?c=d(this.activeDate.getFullYear()):"end"===a&&(c=d(this.activeDate.getFullYear())+f-1),this.activeDate.setFullYear(c)}}]).directive("uibDatepicker",function(){return{replace:!0,templateUrl:function(a,b){return b.templateUrl||"uib/template/datepicker/datepicker.html"},scope:{datepickerMode:"=?",dateDisabled:"&",customClass:"&",shortcutPropagation:"&?"},require:["uibDatepicker","^ngModel"],controller:"UibDatepickerController",controllerAs:"datepicker",link:function(a,b,c,d){var e=d[0],f=d[1];e.init(f)}}}).directive("uibDaypicker",function(){return{replace:!0,templateUrl:function(a,b){return b.templateUrl||"uib/template/datepicker/day.html"},require:["^uibDatepicker","uibDaypicker"],controller:"UibDaypickerController",link:function(a,b,c,d){var e=d[0],f=d[1];f.init(e)}}}).directive("uibMonthpicker",function(){return{replace:!0,templateUrl:function(a,b){return b.templateUrl||"uib/template/datepicker/month.html"},require:["^uibDatepicker","uibMonthpicker"],controller:"UibMonthpickerController",link:function(a,b,c,d){var e=d[0],f=d[1];f.init(e)}}}).directive("uibYearpicker",function(){return{replace:!0,templateUrl:function(a,b){
-return b.templateUrl||"uib/template/datepicker/year.html"},require:["^uibDatepicker","uibYearpicker"],controller:"UibYearpickerController",link:function(a,b,c,d){var e=d[0];angular.extend(e,d[1]),e.yearpickerInit(),e.refreshView()}}}).constant("uibDatepickerPopupConfig",{datepickerPopup:"yyyy-MM-dd",datepickerPopupTemplateUrl:"uib/template/datepicker/popup.html",datepickerTemplateUrl:"uib/template/datepicker/datepicker.html",html5Types:{date:"yyyy-MM-dd","datetime-local":"yyyy-MM-ddTHH:mm:ss.sss",month:"yyyy-MM"},currentText:"Today",clearText:"Clear",closeText:"Done",closeOnDateSelection:!0,appendToBody:!1,showButtonBar:!0,onOpenFocus:!0,altInputFormats:[]}).controller("UibDatepickerPopupController",["$scope","$element","$attrs","$compile","$parse","$document","$rootScope","$uibPosition","dateFilter","uibDateParser","uibDatepickerPopupConfig","$timeout","uibDatepickerConfig",function(a,b,c,d,e,f,g,h,i,j,k,l,m){function n(a){return a.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()})}function o(b){var c=j.parse(b,t,a.date);if(isNaN(c))for(var d=0;d<E.length;d++)if(c=j.parse(b,E[d],a.date),!isNaN(c))return c;return c}function p(a){if(angular.isNumber(a)&&(a=new Date(a)),!a)return null;if(angular.isDate(a)&&!isNaN(a))return a;if(angular.isString(a)){var b=o(a);if(!isNaN(b))return j.toTimezone(b,C.timezone)}return B.$options&&B.$options.allowInvalid?a:void 0}function q(a,b){var d=a||b;return c.ngRequired||d?(angular.isNumber(d)&&(d=new Date(d)),d?angular.isDate(d)&&!isNaN(d)?!0:angular.isString(d)?!isNaN(o(b)):!1:!0):!0}function r(c){if(a.isOpen||!a.disabled){var d=D[0],e=b[0].contains(c.target),f=void 0!==d.contains&&d.contains(c.target);!a.isOpen||e||f||a.$apply(function(){a.isOpen=!1})}}function s(c){27===c.which&&a.isOpen?(c.preventDefault(),c.stopPropagation(),a.$apply(function(){a.isOpen=!1}),b[0].focus()):40!==c.which||a.isOpen||(c.preventDefault(),c.stopPropagation(),a.$apply(function(){a.isOpen=!0}))}var t,u,v,w,x,y,z,A,B,C,D,E,F={},G=!1;a.watchData={},this.init=function(h){if(B=h,C=h.$options||m.ngModelOptions,u=angular.isDefined(c.closeOnDateSelection)?a.$parent.$eval(c.closeOnDateSelection):k.closeOnDateSelection,v=angular.isDefined(c.datepickerAppendToBody)?a.$parent.$eval(c.datepickerAppendToBody):k.appendToBody,w=angular.isDefined(c.onOpenFocus)?a.$parent.$eval(c.onOpenFocus):k.onOpenFocus,x=angular.isDefined(c.datepickerPopupTemplateUrl)?c.datepickerPopupTemplateUrl:k.datepickerPopupTemplateUrl,y=angular.isDefined(c.datepickerTemplateUrl)?c.datepickerTemplateUrl:k.datepickerTemplateUrl,E=angular.isDefined(c.altInputFormats)?a.$parent.$eval(c.altInputFormats):k.altInputFormats,a.showButtonBar=angular.isDefined(c.showButtonBar)?a.$parent.$eval(c.showButtonBar):k.showButtonBar,k.html5Types[c.type]?(t=k.html5Types[c.type],G=!0):(t=c.uibDatepickerPopup||k.datepickerPopup,c.$observe("uibDatepickerPopup",function(a,b){var c=a||k.datepickerPopup;if(c!==t&&(t=c,B.$modelValue=null,!t))throw new Error("uibDatepickerPopup must have a date format specified.")})),!t)throw new Error("uibDatepickerPopup must have a date format specified.");if(G&&c.uibDatepickerPopup)throw new Error("HTML5 date input types do not support custom formats.");if(z=angular.element("<div uib-datepicker-popup-wrap><div uib-datepicker></div></div>"),a.ngModelOptions=angular.copy(C),a.ngModelOptions.timezone=null,z.attr({"ng-model":"date","ng-model-options":"ngModelOptions","ng-change":"dateSelection(date)","template-url":x}),A=angular.element(z.children()[0]),A.attr("template-url",y),G&&"month"===c.type&&(A.attr("datepicker-mode",'"month"'),A.attr("min-mode","month")),c.datepickerOptions){var l=a.$parent.$eval(c.datepickerOptions);l&&l.initDate&&(a.initDate=j.fromTimezone(l.initDate,C.timezone),A.attr("init-date","initDate"),delete l.initDate),angular.forEach(l,function(a,b){A.attr(n(b),a)})}angular.forEach(["minMode","maxMode"],function(b){c[b]&&(a.$parent.$watch(function(){return c[b]},function(c){a.watchData[b]=c}),A.attr(n(b),"watchData."+b))}),angular.forEach(["datepickerMode","shortcutPropagation"],function(b){if(c[b]){var d=e(c[b]),f={get:function(){return d(a.$parent)}};if(A.attr(n(b),"watchData."+b),"datepickerMode"===b){var g=d.assign;f.set=function(b){g(a.$parent,b)}}Object.defineProperty(a.watchData,b,f)}}),angular.forEach(["minDate","maxDate","initDate"],function(b){if(c[b]){var d=e(c[b]);a.$parent.$watch(d,function(c){("minDate"===b||"maxDate"===b)&&(F[b]=angular.isDate(c)?j.fromTimezone(new Date(c),C.timezone):new Date(i(c,"medium"))),a.watchData[b]=F[b]||j.fromTimezone(new Date(c),C.timezone)}),A.attr(n(b),"watchData."+b)}}),c.dateDisabled&&A.attr("date-disabled","dateDisabled({ date: date, mode: mode })"),angular.forEach(["formatDay","formatMonth","formatYear","formatDayHeader","formatDayTitle","formatMonthTitle","showWeeks","startingDay","yearRows","yearColumns"],function(a){angular.isDefined(c[a])&&A.attr(n(a),c[a])}),c.customClass&&A.attr("custom-class","customClass({ date: date, mode: mode })"),G?B.$formatters.push(function(b){return a.date=j.fromTimezone(b,C.timezone),b}):(B.$$parserName="date",B.$validators.date=q,B.$parsers.unshift(p),B.$formatters.push(function(b){return B.$isEmpty(b)?(a.date=b,b):(a.date=j.fromTimezone(b,C.timezone),t=t.replace(/M!/,"MM").replace(/d!/,"dd"),i(a.date,t))})),B.$viewChangeListeners.push(function(){a.date=o(B.$viewValue)}),b.bind("keydown",s),D=d(z)(a),z.remove(),v?f.find("body").append(D):b.after(D),a.$on("$destroy",function(){a.isOpen===!0&&(g.$$phase||a.$apply(function(){a.isOpen=!1})),D.remove(),b.unbind("keydown",s),f.unbind("click",r)})},a.getText=function(b){return a[b+"Text"]||k[b+"Text"]},a.isDisabled=function(b){return"today"===b&&(b=new Date),a.watchData.minDate&&a.compare(b,F.minDate)<0||a.watchData.maxDate&&a.compare(b,F.maxDate)>0},a.compare=function(a,b){return new Date(a.getFullYear(),a.getMonth(),a.getDate())-new Date(b.getFullYear(),b.getMonth(),b.getDate())},a.dateSelection=function(c){angular.isDefined(c)&&(a.date=c);var d=a.date?i(a.date,t):null;b.val(d),B.$setViewValue(d),u&&(a.isOpen=!1,b[0].focus())},a.keydown=function(c){27===c.which&&(c.stopPropagation(),a.isOpen=!1,b[0].focus())},a.select=function(b){if("today"===b){var c=new Date;angular.isDate(a.date)?(b=new Date(a.date),b.setFullYear(c.getFullYear(),c.getMonth(),c.getDate())):b=new Date(c.setHours(0,0,0,0))}a.dateSelection(b)},a.close=function(){a.isOpen=!1,b[0].focus()},a.disabled=angular.isDefined(c.disabled)||!1,c.ngDisabled&&a.$parent.$watch(e(c.ngDisabled),function(b){a.disabled=b}),a.$watch("isOpen",function(c){c?a.disabled?a.isOpen=!1:(a.position=v?h.offset(b):h.position(b),a.position.top=a.position.top+b.prop("offsetHeight"),l(function(){w&&a.$broadcast("uib:datepicker.focus"),f.bind("click",r)},0,!1)):f.unbind("click",r)})}]).directive("uibDatepickerPopup",function(){return{require:["ngModel","uibDatepickerPopup"],controller:"UibDatepickerPopupController",scope:{isOpen:"=?",currentText:"@",clearText:"@",closeText:"@",dateDisabled:"&",customClass:"&"},link:function(a,b,c,d){var e=d[0],f=d[1];f.init(e)}}}).directive("uibDatepickerPopupWrap",function(){return{replace:!0,transclude:!0,templateUrl:function(a,b){return b.templateUrl||"uib/template/datepicker/popup.html"}}}),angular.module("ui.bootstrap.debounce",[]).factory("$$debounce",["$timeout",function(a){return function(b,c){var d;return function(){var e=this,f=Array.prototype.slice.call(arguments);d&&a.cancel(d),d=a(function(){b.apply(e,f)},c)}}}]),angular.module("ui.bootstrap.dropdown",["ui.bootstrap.position"]).constant("uibDropdownConfig",{appendToOpenClass:"uib-dropdown-open",openClass:"open"}).service("uibDropdownService",["$document","$rootScope",function(a,b){var c=null;this.open=function(b){c||(a.on("click",d),a.on("keydown",e)),c&&c!==b&&(c.isOpen=!1),c=b},this.close=function(b){c===b&&(c=null,a.off("click",d),a.off("keydown",e))};var d=function(a){if(c&&!(a&&"disabled"===c.getAutoClose()||a&&3===a.which)){var d=c.getToggleElement();if(!(a&&d&&d[0].contains(a.target))){var e=c.getDropdownElement();a&&"outsideClick"===c.getAutoClose()&&e&&e[0].contains(a.target)||(c.isOpen=!1,b.$$phase||c.$apply())}}},e=function(a){27===a.which?(c.focusToggleElement(),d()):c.isKeynavEnabled()&&-1!==[38,40].indexOf(a.which)&&c.isOpen&&(a.preventDefault(),a.stopPropagation(),c.focusDropdownEntry(a.which))}}]).controller("UibDropdownController",["$scope","$element","$attrs","$parse","uibDropdownConfig","uibDropdownService","$animate","$uibPosition","$document","$compile","$templateRequest",function(a,b,c,d,e,f,g,h,i,j,k){var l,m,n=this,o=a.$new(),p=e.appendToOpenClass,q=e.openClass,r=angular.noop,s=c.onToggle?d(c.onToggle):angular.noop,t=!1,u=null,v=!1,w=i.find("body");b.addClass("dropdown"),this.init=function(){if(c.isOpen&&(m=d(c.isOpen),r=m.assign,a.$watch(m,function(a){o.isOpen=!!a})),angular.isDefined(c.dropdownAppendTo)){var e=d(c.dropdownAppendTo)(o);e&&(u=angular.element(e))}t=angular.isDefined(c.dropdownAppendToBody),v=angular.isDefined(c.keyboardNav),t&&!u&&(u=w),u&&n.dropdownMenu&&(u.append(n.dropdownMenu),b.on("$destroy",function(){n.dropdownMenu.remove()}))},this.toggle=function(a){return o.isOpen=arguments.length?!!a:!o.isOpen},this.isOpen=function(){return o.isOpen},o.getToggleElement=function(){return n.toggleElement},o.getAutoClose=function(){return c.autoClose||"always"},o.getElement=function(){return b},o.isKeynavEnabled=function(){return v},o.focusDropdownEntry=function(a){var c=n.dropdownMenu?angular.element(n.dropdownMenu).find("a"):b.find("ul").eq(0).find("a");switch(a){case 40:angular.isNumber(n.selectedOption)?n.selectedOption=n.selectedOption===c.length-1?n.selectedOption:n.selectedOption+1:n.selectedOption=0;break;case 38:angular.isNumber(n.selectedOption)?n.selectedOption=0===n.selectedOption?0:n.selectedOption-1:n.selectedOption=c.length-1}c[n.selectedOption].focus()},o.getDropdownElement=function(){return n.dropdownMenu},o.focusToggleElement=function(){n.toggleElement&&n.toggleElement[0].focus()},o.$watch("isOpen",function(c,d){if(u&&n.dropdownMenu){var e,i,m=h.positionElements(b,n.dropdownMenu,"bottom-left",!0);if(e={top:m.top+"px",display:c?"block":"none"},i=n.dropdownMenu.hasClass("dropdown-menu-right"),i?(e.left="auto",e.right=window.innerWidth-(m.left+b.prop("offsetWidth"))+"px"):(e.left=m.left+"px",e.right="auto"),!t){var v=h.offset(u);e.top=m.top-v.top+"px",i?e.right=window.innerWidth-(m.left-v.left+b.prop("offsetWidth"))+"px":e.left=m.left-v.left+"px"}n.dropdownMenu.css(e)}var w=u?u:b;if(g[c?"addClass":"removeClass"](w,u?p:q).then(function(){angular.isDefined(c)&&c!==d&&s(a,{open:!!c})}),c)n.dropdownMenuTemplateUrl&&k(n.dropdownMenuTemplateUrl).then(function(a){l=o.$new(),j(a.trim())(l,function(a){var b=a;n.dropdownMenu.replaceWith(b),n.dropdownMenu=b})}),o.focusToggleElement(),f.open(o);else{if(n.dropdownMenuTemplateUrl){l&&l.$destroy();var x=angular.element('<ul class="dropdown-menu"></ul>');n.dropdownMenu.replaceWith(x),n.dropdownMenu=x}f.close(o),n.selectedOption=null}angular.isFunction(r)&&r(a,c)}),a.$on("$locationChangeSuccess",function(){"disabled"!==o.getAutoClose()&&(o.isOpen=!1)})}]).directive("uibDropdown",function(){return{controller:"UibDropdownController",link:function(a,b,c,d){d.init()}}}).directive("uibDropdownMenu",function(){return{restrict:"A",require:"?^uibDropdown",link:function(a,b,c,d){if(d&&!angular.isDefined(c.dropdownNested)){b.addClass("dropdown-menu");var e=c.templateUrl;e&&(d.dropdownMenuTemplateUrl=e),d.dropdownMenu||(d.dropdownMenu=b)}}}}).directive("uibDropdownToggle",function(){return{require:"?^uibDropdown",link:function(a,b,c,d){if(d){b.addClass("dropdown-toggle"),d.toggleElement=b;var e=function(e){e.preventDefault(),b.hasClass("disabled")||c.disabled||a.$apply(function(){d.toggle()})};b.bind("click",e),b.attr({"aria-haspopup":!0,"aria-expanded":!1}),a.$watch(d.isOpen,function(a){b.attr("aria-expanded",!!a)}),a.$on("$destroy",function(){b.unbind("click",e)})}}}}),angular.module("ui.bootstrap.stackedMap",[]).factory("$$stackedMap",function(){return{createNew:function(){var a=[];return{add:function(b,c){a.push({key:b,value:c})},get:function(b){for(var c=0;c<a.length;c++)if(b===a[c].key)return a[c]},keys:function(){for(var b=[],c=0;c<a.length;c++)b.push(a[c].key);return b},top:function(){return a[a.length-1]},remove:function(b){for(var c=-1,d=0;d<a.length;d++)if(b===a[d].key){c=d;break}return a.splice(c,1)[0]},removeTop:function(){return a.splice(a.length-1,1)[0]},length:function(){return a.length}}}}}),angular.module("ui.bootstrap.modal",["ui.bootstrap.stackedMap"]).factory("$$multiMap",function(){return{createNew:function(){var a={};return{entries:function(){return Object.keys(a).map(function(b){return{key:b,value:a[b]}})},get:function(b){return a[b]},hasKey:function(b){return!!a[b]},keys:function(){return Object.keys(a)},put:function(b,c){a[b]||(a[b]=[]),a[b].push(c)},remove:function(b,c){var d=a[b];if(d){var e=d.indexOf(c);-1!==e&&d.splice(e,1),d.length||delete a[b]}}}}}}).provider("$uibResolve",function(){var a=this;this.resolver=null,this.setResolver=function(a){this.resolver=a},this.$get=["$injector","$q",function(b,c){var d=a.resolver?b.get(a.resolver):null;return{resolve:function(a,e,f,g){if(d)return d.resolve(a,e,f,g);var h=[];return angular.forEach(a,function(a){angular.isFunction(a)||angular.isArray(a)?h.push(c.resolve(b.invoke(a))):angular.isString(a)?h.push(c.resolve(b.get(a))):h.push(c.resolve(a))}),c.all(h).then(function(b){var c={},d=0;return angular.forEach(a,function(a,e){c[e]=b[d++]}),c})}}}]}).directive("uibModalBackdrop",["$animateCss","$injector","$uibModalStack",function(a,b,c){function d(b,d,e){e.modalInClass&&(a(d,{addClass:e.modalInClass}).start(),b.$on(c.NOW_CLOSING_EVENT,function(c,f){var g=f();b.modalOptions.animation?a(d,{removeClass:e.modalInClass}).start().then(g):g()}))}return{replace:!0,templateUrl:"uib/template/modal/backdrop.html",compile:function(a,b){return a.addClass(b.backdropClass),d}}}]).directive("uibModalWindow",["$uibModalStack","$q","$animate","$animateCss","$document",function(a,b,c,d,e){return{scope:{index:"@"},replace:!0,transclude:!0,templateUrl:function(a,b){return b.templateUrl||"uib/template/modal/window.html"},link:function(f,g,h){g.addClass(h.windowClass||""),g.addClass(h.windowTopClass||""),f.size=h.size,f.close=function(b){var c=a.getTop();c&&c.value.backdrop&&"static"!==c.value.backdrop&&b.target===b.currentTarget&&(b.preventDefault(),b.stopPropagation(),a.dismiss(c.key,"backdrop click"))},g.on("click",f.close),f.$isRendered=!0;var i=b.defer();h.$observe("modalRender",function(a){"true"===a&&i.resolve()}),i.promise.then(function(){var i=null;h.modalInClass&&(i=d(g,{addClass:h.modalInClass}).start(),f.$on(a.NOW_CLOSING_EVENT,function(a,b){var e=b();d?d(g,{removeClass:h.modalInClass}).start().then(e):c.removeClass(g,h.modalInClass).then(e)})),b.when(i).then(function(){if(!e[0].activeElement||!g[0].contains(e[0].activeElement)){var a=g[0].querySelector("[autofocus]");a?a.focus():g[0].focus()}});var j=a.getTop();j&&a.modalRendered(j.key)})}}}]).directive("uibModalAnimationClass",function(){return{compile:function(a,b){b.modalAnimation&&a.addClass(b.uibModalAnimationClass)}}}).directive("uibModalTransclude",function(){return{link:function(a,b,c,d,e){e(a.$parent,function(a){b.empty(),b.append(a)})}}}).factory("$uibModalStack",["$animate","$animateCss","$document","$compile","$rootScope","$q","$$multiMap","$$stackedMap",function(a,b,c,d,e,f,g,h){function i(){for(var a=-1,b=t.keys(),c=0;c<b.length;c++)t.get(b[c]).value.backdrop&&(a=c);return a}function j(a,b){var c=t.get(a).value,d=c.appendTo;t.remove(a),m(c.modalDomEl,c.modalScope,function(){var b=c.openedClass||s;u.remove(b,a),d.toggleClass(b,u.hasKey(b)),k(!0)}),l(),b&&b.focus?b.focus():d.focus&&d.focus()}function k(a){var b;t.length()>0&&(b=t.top().value,b.modalDomEl.toggleClass(b.windowTopClass||"",a))}function l(){if(p&&-1===i()){var a=q;m(p,q,function(){a=null}),p=void 0,q=void 0}}function m(a,c,d,e){function g(){g.done||(g.done=!0,b(a,{event:"leave"}).start().then(function(){a.remove(),e&&e.resolve()}),c.$destroy(),d&&d())}var h,i=null,j=function(){return h||(h=f.defer(),i=h.promise),function(){h.resolve()}};return c.$broadcast(v.NOW_CLOSING_EVENT,j),f.when(i).then(g)}function n(a){if(a.isDefaultPrevented())return a;var b=t.top();if(b)switch(a.which){case 27:b.value.keyboard&&(a.preventDefault(),e.$apply(function(){v.dismiss(b.key,"escape key press")}));break;case 9:v.loadFocusElementList(b);var c=!1;a.shiftKey?v.isFocusInFirstItem(a)&&(c=v.focusLastFocusableElement()):v.isFocusInLastItem(a)&&(c=v.focusFirstFocusableElement()),c&&(a.preventDefault(),a.stopPropagation())}}function o(a,b,c){return!a.value.modalScope.$broadcast("modal.closing",b,c).defaultPrevented}var p,q,r,s="modal-open",t=h.createNew(),u=g.createNew(),v={NOW_CLOSING_EVENT:"modal.stack.now-closing"},w=0,x="a[href], area[href], input:not([disabled]), button:not([disabled]),select:not([disabled]), textarea:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable=true]";return e.$watch(i,function(a){q&&(q.index=a)}),c.on("keydown",n),e.$on("$destroy",function(){c.off("keydown",n)}),v.open=function(b,f){var g=c[0].activeElement,h=f.openedClass||s;k(!1),t.add(b,{deferred:f.deferred,renderDeferred:f.renderDeferred,closedDeferred:f.closedDeferred,modalScope:f.scope,backdrop:f.backdrop,keyboard:f.keyboard,openedClass:f.openedClass,windowTopClass:f.windowTopClass,animation:f.animation,appendTo:f.appendTo}),u.put(h,b);var j=f.appendTo,l=i();if(!j.length)throw new Error("appendTo element not found. Make sure that the element passed is in DOM.");l>=0&&!p&&(q=e.$new(!0),q.modalOptions=f,q.index=l,p=angular.element('<div uib-modal-backdrop="modal-backdrop"></div>'),p.attr("backdrop-class",f.backdropClass),f.animation&&p.attr("modal-animation","true"),d(p)(q),a.enter(p,j));var m=angular.element('<div uib-modal-window="modal-window"></div>');m.attr({"template-url":f.windowTemplateUrl,"window-class":f.windowClass,"window-top-class":f.windowTopClass,size:f.size,index:t.length()-1,animate:"animate"}).html(f.content),f.animation&&m.attr("modal-animation","true"),a.enter(m,j).then(function(){d(m)(f.scope),a.addClass(j,h)}),t.top().value.modalDomEl=m,t.top().value.modalOpener=g,v.clearFocusListCache()},v.close=function(a,b){var c=t.get(a);return c&&o(c,b,!0)?(c.value.modalScope.$$uibDestructionScheduled=!0,c.value.deferred.resolve(b),j(a,c.value.modalOpener),!0):!c},v.dismiss=function(a,b){var c=t.get(a);return c&&o(c,b,!1)?(c.value.modalScope.$$uibDestructionScheduled=!0,c.value.deferred.reject(b),j(a,c.value.modalOpener),!0):!c},v.dismissAll=function(a){for(var b=this.getTop();b&&this.dismiss(b.key,a);)b=this.getTop()},v.getTop=function(){return t.top()},v.modalRendered=function(a){var b=t.get(a);b&&b.value.renderDeferred.resolve()},v.focusFirstFocusableElement=function(){return r.length>0?(r[0].focus(),!0):!1},v.focusLastFocusableElement=function(){return r.length>0?(r[r.length-1].focus(),!0):!1},v.isFocusInFirstItem=function(a){return r.length>0?(a.target||a.srcElement)===r[0]:!1},v.isFocusInLastItem=function(a){return r.length>0?(a.target||a.srcElement)===r[r.length-1]:!1},v.clearFocusListCache=function(){r=[],w=0},v.loadFocusElementList=function(a){if((void 0===r||!r.length)&&a){var b=a.value.modalDomEl;b&&b.length&&(r=b[0].querySelectorAll(x))}},v}]).provider("$uibModal",function(){var a={options:{animation:!0,backdrop:!0,keyboard:!0},$get:["$rootScope","$q","$document","$templateRequest","$controller","$uibResolve","$uibModalStack",function(b,c,d,e,f,g,h){function i(a){return a.template?c.when(a.template):e(angular.isFunction(a.templateUrl)?a.templateUrl():a.templateUrl)}var j={},k=null;return j.getPromiseChain=function(){return k},j.open=function(e){function j(){return r}var l=c.defer(),m=c.defer(),n=c.defer(),o=c.defer(),p={result:l.promise,opened:m.promise,closed:n.promise,rendered:o.promise,close:function(a){return h.close(p,a)},dismiss:function(a){return h.dismiss(p,a)}};if(e=angular.extend({},a.options,e),e.resolve=e.resolve||{},e.appendTo=e.appendTo||d.find("body").eq(0),!e.template&&!e.templateUrl)throw new Error("One of template or templateUrl options is required.");var q,r=c.all([i(e),g.resolve(e.resolve,{},null,null)]);return q=k=c.all([k]).then(j,j).then(function(a){var c=e.scope||b,d=c.$new();d.$close=p.close,d.$dismiss=p.dismiss,d.$on("$destroy",function(){d.$$uibDestructionScheduled||d.$dismiss("$uibUnscheduledDestruction")});var g,i={};e.controller&&(i.$scope=d,i.$uibModalInstance=p,angular.forEach(a[1],function(a,b){i[b]=a}),g=f(e.controller,i),e.controllerAs&&(e.bindToController&&(g.$close=d.$close,g.$dismiss=d.$dismiss,angular.extend(g,c)),d[e.controllerAs]=g)),h.open(p,{scope:d,deferred:l,renderDeferred:o,closedDeferred:n,content:a[0],animation:e.animation,backdrop:e.backdrop,keyboard:e.keyboard,backdropClass:e.backdropClass,windowTopClass:e.windowTopClass,windowClass:e.windowClass,windowTemplateUrl:e.windowTemplateUrl,size:e.size,openedClass:e.openedClass,appendTo:e.appendTo}),m.resolve(!0)},function(a){m.reject(a),l.reject(a)})["finally"](function(){k===q&&(k=null)}),p},j}]};return a}),angular.module("ui.bootstrap.paging",[]).factory("uibPaging",["$parse",function(a){return{create:function(b,c,d){b.setNumPages=d.numPages?a(d.numPages).assign:angular.noop,b.ngModelCtrl={$setViewValue:angular.noop},b.init=function(e,f){b.ngModelCtrl=e,b.config=f,e.$render=function(){b.render()},d.itemsPerPage?c.$parent.$watch(a(d.itemsPerPage),function(a){b.itemsPerPage=parseInt(a,10),c.totalPages=b.calculateTotalPages(),b.updatePage()}):b.itemsPerPage=f.itemsPerPage,c.$watch("totalItems",function(a,d){(angular.isDefined(a)||a!==d)&&(c.totalPages=b.calculateTotalPages(),b.updatePage())})},b.calculateTotalPages=function(){var a=b.itemsPerPage<1?1:Math.ceil(c.totalItems/b.itemsPerPage);return Math.max(a||0,1)},b.render=function(){c.page=parseInt(b.ngModelCtrl.$viewValue,10)||1},c.selectPage=function(a,d){d&&d.preventDefault();var e=!c.ngDisabled||!d;e&&c.page!==a&&a>0&&a<=c.totalPages&&(d&&d.target&&d.target.blur(),b.ngModelCtrl.$setViewValue(a),b.ngModelCtrl.$render())},c.getText=function(a){return c[a+"Text"]||b.config[a+"Text"]},c.noPrevious=function(){return 1===c.page},c.noNext=function(){return c.page===c.totalPages},b.updatePage=function(){b.setNumPages(c.$parent,c.totalPages),c.page>c.totalPages?c.selectPage(c.totalPages):b.ngModelCtrl.$render()}}}}]),angular.module("ui.bootstrap.pager",["ui.bootstrap.paging"]).controller("UibPagerController",["$scope","$attrs","uibPaging","uibPagerConfig",function(a,b,c,d){a.align=angular.isDefined(b.align)?a.$parent.$eval(b.align):d.align,c.create(this,a,b)}]).constant("uibPagerConfig",{itemsPerPage:10,previousText:"« Previous",nextText:"Next »",align:!0}).directive("uibPager",["uibPagerConfig",function(a){return{scope:{totalItems:"=",previousText:"@",nextText:"@",ngDisabled:"="},require:["uibPager","?ngModel"],controller:"UibPagerController",controllerAs:"pager",templateUrl:function(a,b){return b.templateUrl||"uib/template/pager/pager.html"},replace:!0,link:function(b,c,d,e){var f=e[0],g=e[1];g&&f.init(g,a)}}}]),angular.module("ui.bootstrap.pagination",["ui.bootstrap.paging"]).controller("UibPaginationController",["$scope","$attrs","$parse","uibPaging","uibPaginationConfig",function(a,b,c,d,e){function f(a,b,c){return{number:a,text:b,active:c}}function g(a,b){var c=[],d=1,e=b,g=angular.isDefined(i)&&b>i;g&&(j?(d=Math.max(a-Math.floor(i/2),1),e=d+i-1,e>b&&(e=b,d=e-i+1)):(d=(Math.ceil(a/i)-1)*i+1,e=Math.min(d+i-1,b)));for(var h=d;e>=h;h++){var m=f(h,h,h===a);c.push(m)}if(g&&i>0&&(!j||k||l)){if(d>1){if(!l||d>3){var n=f(d-1,"...",!1);c.unshift(n)}if(l){if(3===d){var o=f(2,"2",!1);c.unshift(o)}var p=f(1,"1",!1);c.unshift(p)}}if(b>e){if(!l||b-2>e){var q=f(e+1,"...",!1);c.push(q)}if(l){if(e===b-2){var r=f(b-1,b-1,!1);c.push(r)}var s=f(b,b,!1);c.push(s)}}}return c}var h=this,i=angular.isDefined(b.maxSize)?a.$parent.$eval(b.maxSize):e.maxSize,j=angular.isDefined(b.rotate)?a.$parent.$eval(b.rotate):e.rotate,k=angular.isDefined(b.forceEllipses)?a.$parent.$eval(b.forceEllipses):e.forceEllipses,l=angular.isDefined(b.boundaryLinkNumbers)?a.$parent.$eval(b.boundaryLinkNumbers):e.boundaryLinkNumbers;a.boundaryLinks=angular.isDefined(b.boundaryLinks)?a.$parent.$eval(b.boundaryLinks):e.boundaryLinks,a.directionLinks=angular.isDefined(b.directionLinks)?a.$parent.$eval(b.directionLinks):e.directionLinks,d.create(this,a,b),b.maxSize&&a.$parent.$watch(c(b.maxSize),function(a){i=parseInt(a,10),h.render()});var m=this.render;this.render=function(){m(),a.page>0&&a.page<=a.totalPages&&(a.pages=g(a.page,a.totalPages))}}]).constant("uibPaginationConfig",{itemsPerPage:10,boundaryLinks:!1,boundaryLinkNumbers:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",rotate:!0,forceEllipses:!1}).directive("uibPagination",["$parse","uibPaginationConfig",function(a,b){return{scope:{totalItems:"=",firstText:"@",previousText:"@",nextText:"@",lastText:"@",ngDisabled:"="},require:["uibPagination","?ngModel"],controller:"UibPaginationController",controllerAs:"pagination",templateUrl:function(a,b){return b.templateUrl||"uib/template/pagination/pagination.html"},replace:!0,link:function(a,c,d,e){var f=e[0],g=e[1];g&&f.init(g,b)}}}]),angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.stackedMap"]).provider("$uibTooltip",function(){function a(a){var b=/[A-Z]/g,c="-";return a.replace(b,function(a,b){return(b?c:"")+a.toLowerCase()})}var b={placement:"top",placementClassPrefix:"",animation:!0,popupDelay:0,popupCloseDelay:0,useContentExp:!1},c={mouseenter:"mouseleave",click:"click",outsideClick:"outsideClick",focus:"blur",none:""},d={};this.options=function(a){angular.extend(d,a)},this.setTriggers=function(a){angular.extend(c,a)},this.$get=["$window","$compile","$timeout","$document","$uibPosition","$interpolate","$rootScope","$parse","$$stackedMap",function(e,f,g,h,i,j,k,l,m){function n(a){if(27===a.which){var b=o.top();b&&(b.value.close(),o.removeTop(),b=null)}}var o=m.createNew();return h.on("keypress",n),k.$on("$destroy",function(){h.off("keypress",n)}),function(e,k,m,n){function p(a){var b=(a||n.trigger||m).split(" "),d=b.map(function(a){return c[a]||a});return{show:b,hide:d}}n=angular.extend({},b,d,n);var q=a(e),r=j.startSymbol(),s=j.endSymbol(),t="<div "+q+'-popup title="'+r+"title"+s+'" '+(n.useContentExp?'content-exp="contentExp()" ':'content="'+r+"content"+s+'" ')+'placement="'+r+"placement"+s+'" popup-class="'+r+"popupClass"+s+'" animation="animation" is-open="isOpen"origin-scope="origScope" style="visibility: hidden; display: block; top: -9999px; left: -9999px;"></div>';return{compile:function(a,b){var c=f(t);return function(a,b,d,f){function j(){M.isOpen?q():m()}function m(){(!L||a.$eval(d[k+"Enable"]))&&(u(),x(),M.popupDelay?G||(G=g(r,M.popupDelay,!1)):r())}function q(){s(),M.popupCloseDelay?H||(H=g(t,M.popupCloseDelay,!1)):t()}function r(){return s(),u(),M.content?(v(),void M.$evalAsync(function(){M.isOpen=!0,y(!0),R()})):angular.noop}function s(){G&&(g.cancel(G),G=null),I&&(g.cancel(I),I=null)}function t(){M&&M.$evalAsync(function(){M.isOpen=!1,y(!1),M.animation?F||(F=g(w,150,!1)):w()})}function u(){H&&(g.cancel(H),H=null),F&&(g.cancel(F),F=null)}function v(){D||(E=M.$new(),D=c(E,function(a){J?h.find("body").append(a):b.after(a)}),z())}function w(){s(),u(),A(),D&&(D.remove(),D=null),E&&(E.$destroy(),E=null)}function x(){M.title=d[k+"Title"],P?M.content=P(a):M.content=d[e],M.popupClass=d[k+"Class"],M.placement=angular.isDefined(d[k+"Placement"])?d[k+"Placement"]:n.placement;var b=parseInt(d[k+"PopupDelay"],10),c=parseInt(d[k+"PopupCloseDelay"],10);M.popupDelay=isNaN(b)?n.popupDelay:b,M.popupCloseDelay=isNaN(c)?n.popupCloseDelay:c}function y(b){O&&angular.isFunction(O.assign)&&O.assign(a,b)}function z(){Q.length=0,P?(Q.push(a.$watch(P,function(a){M.content=a,!a&&M.isOpen&&t()})),Q.push(E.$watch(function(){N||(N=!0,E.$$postDigest(function(){N=!1,M&&M.isOpen&&R()}))}))):Q.push(d.$observe(e,function(a){M.content=a,!a&&M.isOpen?t():R()})),Q.push(d.$observe(k+"Title",function(a){M.title=a,M.isOpen&&R()})),Q.push(d.$observe(k+"Placement",function(a){M.placement=a?a:n.placement,M.isOpen&&R()}))}function A(){Q.length&&(angular.forEach(Q,function(a){a()}),Q.length=0)}function B(a){M&&M.isOpen&&D&&(b[0].contains(a.target)||D[0].contains(a.target)||q())}function C(){var a=d[k+"Trigger"];S(),K=p(a),"none"!==K.show&&K.show.forEach(function(a,c){"outsideClick"===a?(b.on("click",j),h.on("click",B)):a===K.hide[c]?b.on(a,j):a&&(b.on(a,m),b.on(K.hide[c],q)),b.on("keypress",function(a){27===a.which&&q()})})}var D,E,F,G,H,I,J=angular.isDefined(n.appendToBody)?n.appendToBody:!1,K=p(void 0),L=angular.isDefined(d[k+"Enable"]),M=a.$new(!0),N=!1,O=angular.isDefined(d[k+"IsOpen"])?l(d[k+"IsOpen"]):!1,P=n.useContentExp?l(d[e]):!1,Q=[],R=function(){D&&D.html()&&(I||(I=g(function(){D.css({top:0,left:0});var a=i.positionElements(b,D,M.placement,J);D.css({top:a.top+"px",left:a.left+"px",visibility:"visible"}),n.placementClassPrefix&&D.removeClass("top bottom left right"),D.removeClass(n.placementClassPrefix+"top "+n.placementClassPrefix+"top-left "+n.placementClassPrefix+"top-right "+n.placementClassPrefix+"bottom "+n.placementClassPrefix+"bottom-left "+n.placementClassPrefix+"bottom-right "+n.placementClassPrefix+"left "+n.placementClassPrefix+"left-top "+n.placementClassPrefix+"left-bottom "+n.placementClassPrefix+"right "+n.placementClassPrefix+"right-top "+n.placementClassPrefix+"right-bottom");var c=a.placement.split("-");D.addClass(c[0],n.placementClassPrefix+a.placement),i.positionArrow(D,a.placement),I=null},0,!1)))};M.origScope=a,M.isOpen=!1,o.add(M,{close:t}),M.contentExp=function(){return M.content},d.$observe("disabled",function(a){a&&s(),a&&M.isOpen&&t()}),O&&a.$watch(O,function(a){M&&!a===M.isOpen&&j()});var S=function(){K.show.forEach(function(a){"outsideClick"===a?b.off("click",j):(b.off(a,m),b.off(a,j))}),K.hide.forEach(function(a){"outsideClick"===a?h.off("click",B):b.off(a,q)})};C();var T=a.$eval(d[k+"Animation"]);M.animation=angular.isDefined(T)?!!T:n.animation;var U,V=k+"AppendToBody";U=V in d&&void 0===d[V]?!0:a.$eval(d[V]),J=angular.isDefined(U)?U:J,J&&a.$on("$locationChangeSuccess",function(){M.isOpen&&t()}),a.$on("$destroy",function(){S(),w(),o.remove(M),M=null})}}}}}]}).directive("uibTooltipTemplateTransclude",["$animate","$sce","$compile","$templateRequest",function(a,b,c,d){return{link:function(e,f,g){var h,i,j,k=e.$eval(g.tooltipTemplateTranscludeScope),l=0,m=function(){i&&(i.remove(),i=null),h&&(h.$destroy(),h=null),j&&(a.leave(j).then(function(){i=null}),i=j,j=null)};e.$watch(b.parseAsResourceUrl(g.uibTooltipTemplateTransclude),function(b){var g=++l;b?(d(b,!0).then(function(d){if(g===l){var e=k.$new(),i=d,n=c(i)(e,function(b){m(),a.enter(b,f)});h=e,j=n,h.$emit("$includeContentLoaded",b)}},function(){g===l&&(m(),e.$emit("$includeContentError",b))}),e.$emit("$includeContentRequested",b)):m()}),e.$on("$destroy",m)}}}]).directive("uibTooltipClasses",["$uibPosition",function(a){return{restrict:"A",link:function(b,c,d){if(b.placement){var e=a.parsePlacement(b.placement);c.addClass(e[0])}else c.addClass("top");b.popupClass&&c.addClass(b.popupClass),b.animation()&&c.addClass(d.tooltipAnimationClass)}}}]).directive("uibTooltipPopup",function(){return{replace:!0,scope:{content:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"uib/template/tooltip/tooltip-popup.html"}}).directive("uibTooltip",["$uibTooltip",function(a){return a("uibTooltip","tooltip","mouseenter")}]).directive("uibTooltipTemplatePopup",function(){return{replace:!0,scope:{contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&",originScope:"&"},templateUrl:"uib/template/tooltip/tooltip-template-popup.html"}}).directive("uibTooltipTemplate",["$uibTooltip",function(a){return a("uibTooltipTemplate","tooltip","mouseenter",{useContentExp:!0})}]).directive("uibTooltipHtmlPopup",function(){return{replace:!0,scope:{contentExp:"&",
-placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"uib/template/tooltip/tooltip-html-popup.html"}}).directive("uibTooltipHtml",["$uibTooltip",function(a){return a("uibTooltipHtml","tooltip","mouseenter",{useContentExp:!0})}]),angular.module("ui.bootstrap.popover",["ui.bootstrap.tooltip"]).directive("uibPopoverTemplatePopup",function(){return{replace:!0,scope:{title:"@",contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&",originScope:"&"},templateUrl:"uib/template/popover/popover-template.html"}}).directive("uibPopoverTemplate",["$uibTooltip",function(a){return a("uibPopoverTemplate","popover","click",{useContentExp:!0})}]).directive("uibPopoverHtmlPopup",function(){return{replace:!0,scope:{contentExp:"&",title:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"uib/template/popover/popover-html.html"}}).directive("uibPopoverHtml",["$uibTooltip",function(a){return a("uibPopoverHtml","popover","click",{useContentExp:!0})}]).directive("uibPopoverPopup",function(){return{replace:!0,scope:{title:"@",content:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"uib/template/popover/popover.html"}}).directive("uibPopover",["$uibTooltip",function(a){return a("uibPopover","popover","click")}]),angular.module("ui.bootstrap.progressbar",[]).constant("uibProgressConfig",{animate:!0,max:100}).controller("UibProgressController",["$scope","$attrs","uibProgressConfig",function(a,b,c){var d=this,e=angular.isDefined(b.animate)?a.$parent.$eval(b.animate):c.animate;this.bars=[],a.max=angular.isDefined(a.max)?a.max:c.max,this.addBar=function(b,c,f){e||c.css({transition:"none"}),this.bars.push(b),b.max=a.max,b.title=f&&angular.isDefined(f.title)?f.title:"progressbar",b.$watch("value",function(a){b.recalculatePercentage()}),b.recalculatePercentage=function(){var a=d.bars.reduce(function(a,b){return b.percent=+(100*b.value/b.max).toFixed(2),a+b.percent},0);a>100&&(b.percent-=a-100)},b.$on("$destroy",function(){c=null,d.removeBar(b)})},this.removeBar=function(a){this.bars.splice(this.bars.indexOf(a),1),this.bars.forEach(function(a){a.recalculatePercentage()})},a.$watch("max",function(b){d.bars.forEach(function(b){b.max=a.max,b.recalculatePercentage()})})}]).directive("uibProgress",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",require:"uibProgress",scope:{max:"=?"},templateUrl:"uib/template/progressbar/progress.html"}}).directive("uibBar",function(){return{replace:!0,transclude:!0,require:"^uibProgress",scope:{value:"=",type:"@"},templateUrl:"uib/template/progressbar/bar.html",link:function(a,b,c,d){d.addBar(a,b,c)}}}).directive("uibProgressbar",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",scope:{value:"=",max:"=?",type:"@"},templateUrl:"uib/template/progressbar/progressbar.html",link:function(a,b,c,d){d.addBar(a,angular.element(b.children()[0]),{title:c.title})}}}),angular.module("ui.bootstrap.rating",[]).constant("uibRatingConfig",{max:5,stateOn:null,stateOff:null,titles:["one","two","three","four","five"]}).controller("UibRatingController",["$scope","$attrs","uibRatingConfig",function(a,b,c){var d={$setViewValue:angular.noop};this.init=function(e){d=e,d.$render=this.render,d.$formatters.push(function(a){return angular.isNumber(a)&&a<<0!==a&&(a=Math.round(a)),a}),this.stateOn=angular.isDefined(b.stateOn)?a.$parent.$eval(b.stateOn):c.stateOn,this.stateOff=angular.isDefined(b.stateOff)?a.$parent.$eval(b.stateOff):c.stateOff;var f=angular.isDefined(b.titles)?a.$parent.$eval(b.titles):c.titles;this.titles=angular.isArray(f)&&f.length>0?f:c.titles;var g=angular.isDefined(b.ratingStates)?a.$parent.$eval(b.ratingStates):new Array(angular.isDefined(b.max)?a.$parent.$eval(b.max):c.max);a.range=this.buildTemplateObjects(g)},this.buildTemplateObjects=function(a){for(var b=0,c=a.length;c>b;b++)a[b]=angular.extend({index:b},{stateOn:this.stateOn,stateOff:this.stateOff,title:this.getTitle(b)},a[b]);return a},this.getTitle=function(a){return a>=this.titles.length?a+1:this.titles[a]},a.rate=function(b){!a.readonly&&b>=0&&b<=a.range.length&&(d.$setViewValue(d.$viewValue===b?0:b),d.$render())},a.enter=function(b){a.readonly||(a.value=b),a.onHover({value:b})},a.reset=function(){a.value=d.$viewValue,a.onLeave()},a.onKeydown=function(b){/(37|38|39|40)/.test(b.which)&&(b.preventDefault(),b.stopPropagation(),a.rate(a.value+(38===b.which||39===b.which?1:-1)))},this.render=function(){a.value=d.$viewValue}}]).directive("uibRating",function(){return{require:["uibRating","ngModel"],scope:{readonly:"=?",onHover:"&",onLeave:"&"},controller:"UibRatingController",templateUrl:"uib/template/rating/rating.html",replace:!0,link:function(a,b,c,d){var e=d[0],f=d[1];e.init(f)}}}),angular.module("ui.bootstrap.tabs",[]).controller("UibTabsetController",["$scope",function(a){var b=this,c=b.tabs=a.tabs=[];b.select=function(a){angular.forEach(c,function(b){b.active&&b!==a&&(b.active=!1,b.onDeselect(),a.selectCalled=!1)}),a.active=!0,a.selectCalled||(a.onSelect(),a.selectCalled=!0)},b.addTab=function(a){c.push(a),1===c.length&&a.active!==!1?a.active=!0:a.active?b.select(a):a.active=!1},b.removeTab=function(a){var e=c.indexOf(a);if(a.active&&c.length>1&&!d){var f=e===c.length-1?e-1:e+1;b.select(c[f])}c.splice(e,1)};var d;a.$on("$destroy",function(){d=!0})}]).directive("uibTabset",function(){return{transclude:!0,replace:!0,scope:{type:"@"},controller:"UibTabsetController",templateUrl:"uib/template/tabs/tabset.html",link:function(a,b,c){a.vertical=angular.isDefined(c.vertical)?a.$parent.$eval(c.vertical):!1,a.justified=angular.isDefined(c.justified)?a.$parent.$eval(c.justified):!1}}}).directive("uibTab",["$parse",function(a){return{require:"^uibTabset",replace:!0,templateUrl:"uib/template/tabs/tab.html",transclude:!0,scope:{active:"=?",heading:"@",onSelect:"&select",onDeselect:"&deselect"},controller:function(){},controllerAs:"tab",link:function(b,c,d,e,f){b.$watch("active",function(a){a&&e.select(b)}),b.disabled=!1,d.disable&&b.$parent.$watch(a(d.disable),function(a){b.disabled=!!a}),b.select=function(){b.disabled||(b.active=!0)},e.addTab(b),b.$on("$destroy",function(){e.removeTab(b)}),b.$transcludeFn=f}}}]).directive("uibTabHeadingTransclude",function(){return{restrict:"A",require:"^uibTab",link:function(a,b){a.$watch("headingElement",function(a){a&&(b.html(""),b.append(a))})}}}).directive("uibTabContentTransclude",function(){function a(a){return a.tagName&&(a.hasAttribute("uib-tab-heading")||a.hasAttribute("data-uib-tab-heading")||a.hasAttribute("x-uib-tab-heading")||"uib-tab-heading"===a.tagName.toLowerCase()||"data-uib-tab-heading"===a.tagName.toLowerCase()||"x-uib-tab-heading"===a.tagName.toLowerCase())}return{restrict:"A",require:"^uibTabset",link:function(b,c,d){var e=b.$eval(d.uibTabContentTransclude);e.$transcludeFn(e.$parent,function(b){angular.forEach(b,function(b){a(b)?e.headingElement=b:c.append(b)})})}}}),angular.module("ui.bootstrap.timepicker",[]).constant("uibTimepickerConfig",{hourStep:1,minuteStep:1,secondStep:1,showMeridian:!0,showSeconds:!1,meridians:null,readonlyInput:!1,mousewheel:!0,arrowkeys:!0,showSpinners:!0,templateUrl:"uib/template/timepicker/timepicker.html"}).controller("UibTimepickerController",["$scope","$element","$attrs","$parse","$log","$locale","uibTimepickerConfig",function(a,b,c,d,e,f,g){function h(){var b=+a.hours,c=a.showMeridian?b>0&&13>b:b>=0&&24>b;return c?(a.showMeridian&&(12===b&&(b=0),a.meridian===t[1]&&(b+=12)),b):void 0}function i(){var b=+a.minutes;return b>=0&&60>b?b:void 0}function j(){var b=+a.seconds;return b>=0&&60>b?b:void 0}function k(a){return null===a?"":angular.isDefined(a)&&a.toString().length<2?"0"+a:a.toString()}function l(a){m(),s.$setViewValue(new Date(r)),n(a)}function m(){s.$setValidity("time",!0),a.invalidHours=!1,a.invalidMinutes=!1,a.invalidSeconds=!1}function n(b){if(s.$modelValue){var c=r.getHours(),d=r.getMinutes(),e=r.getSeconds();a.showMeridian&&(c=0===c||12===c?12:c%12),a.hours="h"===b?c:k(c),"m"!==b&&(a.minutes=k(d)),a.meridian=r.getHours()<12?t[0]:t[1],"s"!==b&&(a.seconds=k(e)),a.meridian=r.getHours()<12?t[0]:t[1]}else a.hours=null,a.minutes=null,a.seconds=null,a.meridian=t[0]}function o(a){r=q(r,a),l()}function p(a,b){return q(a,60*b)}function q(a,b){var c=new Date(a.getTime()+1e3*b),d=new Date(a);return d.setHours(c.getHours(),c.getMinutes(),c.getSeconds()),d}var r=new Date,s={$setViewValue:angular.noop},t=angular.isDefined(c.meridians)?a.$parent.$eval(c.meridians):g.meridians||f.DATETIME_FORMATS.AMPMS;a.tabindex=angular.isDefined(c.tabindex)?c.tabindex:0,b.removeAttr("tabindex"),this.init=function(b,d){s=b,s.$render=this.render,s.$formatters.unshift(function(a){return a?new Date(a):null});var e=d.eq(0),f=d.eq(1),h=d.eq(2),i=angular.isDefined(c.mousewheel)?a.$parent.$eval(c.mousewheel):g.mousewheel;i&&this.setupMousewheelEvents(e,f,h);var j=angular.isDefined(c.arrowkeys)?a.$parent.$eval(c.arrowkeys):g.arrowkeys;j&&this.setupArrowkeyEvents(e,f,h),a.readonlyInput=angular.isDefined(c.readonlyInput)?a.$parent.$eval(c.readonlyInput):g.readonlyInput,this.setupInputEvents(e,f,h)};var u=g.hourStep;c.hourStep&&a.$parent.$watch(d(c.hourStep),function(a){u=+a});var v=g.minuteStep;c.minuteStep&&a.$parent.$watch(d(c.minuteStep),function(a){v=+a});var w;a.$parent.$watch(d(c.min),function(a){var b=new Date(a);w=isNaN(b)?void 0:b});var x;a.$parent.$watch(d(c.max),function(a){var b=new Date(a);x=isNaN(b)?void 0:b});var y=!1;c.ngDisabled&&a.$parent.$watch(d(c.ngDisabled),function(a){y=a}),a.noIncrementHours=function(){var a=p(r,60*u);return y||a>x||r>a&&w>a},a.noDecrementHours=function(){var a=p(r,60*-u);return y||w>a||a>r&&a>x},a.noIncrementMinutes=function(){var a=p(r,v);return y||a>x||r>a&&w>a},a.noDecrementMinutes=function(){var a=p(r,-v);return y||w>a||a>r&&a>x},a.noIncrementSeconds=function(){var a=q(r,z);return y||a>x||r>a&&w>a},a.noDecrementSeconds=function(){var a=q(r,-z);return y||w>a||a>r&&a>x},a.noToggleMeridian=function(){return r.getHours()<12?y||p(r,720)>x:y||p(r,-720)<w};var z=g.secondStep;c.secondStep&&a.$parent.$watch(d(c.secondStep),function(a){z=+a}),a.showSeconds=g.showSeconds,c.showSeconds&&a.$parent.$watch(d(c.showSeconds),function(b){a.showSeconds=!!b}),a.showMeridian=g.showMeridian,c.showMeridian&&a.$parent.$watch(d(c.showMeridian),function(b){if(a.showMeridian=!!b,s.$error.time){var c=h(),d=i();angular.isDefined(c)&&angular.isDefined(d)&&(r.setHours(c),l())}else n()}),this.setupMousewheelEvents=function(b,c,d){var e=function(a){a.originalEvent&&(a=a.originalEvent);var b=a.wheelDelta?a.wheelDelta:-a.deltaY;return a.detail||b>0};b.bind("mousewheel wheel",function(b){y||a.$apply(e(b)?a.incrementHours():a.decrementHours()),b.preventDefault()}),c.bind("mousewheel wheel",function(b){y||a.$apply(e(b)?a.incrementMinutes():a.decrementMinutes()),b.preventDefault()}),d.bind("mousewheel wheel",function(b){y||a.$apply(e(b)?a.incrementSeconds():a.decrementSeconds()),b.preventDefault()})},this.setupArrowkeyEvents=function(b,c,d){b.bind("keydown",function(b){y||(38===b.which?(b.preventDefault(),a.incrementHours(),a.$apply()):40===b.which&&(b.preventDefault(),a.decrementHours(),a.$apply()))}),c.bind("keydown",function(b){y||(38===b.which?(b.preventDefault(),a.incrementMinutes(),a.$apply()):40===b.which&&(b.preventDefault(),a.decrementMinutes(),a.$apply()))}),d.bind("keydown",function(b){y||(38===b.which?(b.preventDefault(),a.incrementSeconds(),a.$apply()):40===b.which&&(b.preventDefault(),a.decrementSeconds(),a.$apply()))})},this.setupInputEvents=function(b,c,d){if(a.readonlyInput)return a.updateHours=angular.noop,a.updateMinutes=angular.noop,void(a.updateSeconds=angular.noop);var e=function(b,c,d){s.$setViewValue(null),s.$setValidity("time",!1),angular.isDefined(b)&&(a.invalidHours=b),angular.isDefined(c)&&(a.invalidMinutes=c),angular.isDefined(d)&&(a.invalidSeconds=d)};a.updateHours=function(){var a=h(),b=i();s.$setDirty(),angular.isDefined(a)&&angular.isDefined(b)?(r.setHours(a),r.setMinutes(b),w>r||r>x?e(!0):l("h")):e(!0)},b.bind("blur",function(b){s.$setTouched(),null===a.hours||""===a.hours?e(!0):!a.invalidHours&&a.hours<10&&a.$apply(function(){a.hours=k(a.hours)})}),a.updateMinutes=function(){var a=i(),b=h();s.$setDirty(),angular.isDefined(a)&&angular.isDefined(b)?(r.setHours(b),r.setMinutes(a),w>r||r>x?e(void 0,!0):l("m")):e(void 0,!0)},c.bind("blur",function(b){s.$setTouched(),null===a.minutes?e(void 0,!0):!a.invalidMinutes&&a.minutes<10&&a.$apply(function(){a.minutes=k(a.minutes)})}),a.updateSeconds=function(){var a=j();s.$setDirty(),angular.isDefined(a)?(r.setSeconds(a),l("s")):e(void 0,void 0,!0)},d.bind("blur",function(b){!a.invalidSeconds&&a.seconds<10&&a.$apply(function(){a.seconds=k(a.seconds)})})},this.render=function(){var b=s.$viewValue;isNaN(b)?(s.$setValidity("time",!1),e.error('Timepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.')):(b&&(r=b),w>r||r>x?(s.$setValidity("time",!1),a.invalidHours=!0,a.invalidMinutes=!0):m(),n())},a.showSpinners=angular.isDefined(c.showSpinners)?a.$parent.$eval(c.showSpinners):g.showSpinners,a.incrementHours=function(){a.noIncrementHours()||o(60*u*60)},a.decrementHours=function(){a.noDecrementHours()||o(60*-u*60)},a.incrementMinutes=function(){a.noIncrementMinutes()||o(60*v)},a.decrementMinutes=function(){a.noDecrementMinutes()||o(60*-v)},a.incrementSeconds=function(){a.noIncrementSeconds()||o(z)},a.decrementSeconds=function(){a.noDecrementSeconds()||o(-z)},a.toggleMeridian=function(){var b=i(),c=h();a.noToggleMeridian()||(angular.isDefined(b)&&angular.isDefined(c)?o(720*(r.getHours()<12?60:-60)):a.meridian=a.meridian===t[0]?t[1]:t[0])},a.blur=function(){s.$setTouched()}}]).directive("uibTimepicker",["uibTimepickerConfig",function(a){return{require:["uibTimepicker","?^ngModel"],controller:"UibTimepickerController",controllerAs:"timepicker",replace:!0,scope:{},templateUrl:function(b,c){return c.templateUrl||a.templateUrl},link:function(a,b,c,d){var e=d[0],f=d[1];f&&e.init(f,b.find("input"))}}}]),angular.module("ui.bootstrap.typeahead",["ui.bootstrap.debounce","ui.bootstrap.position"]).factory("uibTypeaheadParser",["$parse",function(a){var b=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+([\s\S]+?)$/;return{parse:function(c){var d=c.match(b);if(!d)throw new Error('Expected typeahead specification in form of "_modelValue_ (as _label_)? for _item_ in _collection_" but got "'+c+'".');return{itemName:d[3],source:a(d[4]),viewMapper:a(d[2]||d[1]),modelMapper:a(d[1])}}}}]).controller("UibTypeaheadController",["$scope","$element","$attrs","$compile","$parse","$q","$timeout","$document","$window","$rootScope","$$debounce","$uibPosition","uibTypeaheadParser",function(a,b,c,d,e,f,g,h,i,j,k,l,m){function n(){N.moveInProgress||(N.moveInProgress=!0,N.$digest()),Y()}function o(){N.position=D?l.offset(b):l.position(b),N.position.top+=b.prop("offsetHeight")}var p,q,r=[9,13,27,38,40],s=200,t=a.$eval(c.typeaheadMinLength);t||0===t||(t=1);var u=a.$eval(c.typeaheadWaitMs)||0,v=a.$eval(c.typeaheadEditable)!==!1;a.$watch(c.typeaheadEditable,function(a){v=a!==!1});var w,x,y=e(c.typeaheadLoading).assign||angular.noop,z=e(c.typeaheadOnSelect),A=angular.isDefined(c.typeaheadSelectOnBlur)?a.$eval(c.typeaheadSelectOnBlur):!1,B=e(c.typeaheadNoResults).assign||angular.noop,C=c.typeaheadInputFormatter?e(c.typeaheadInputFormatter):void 0,D=c.typeaheadAppendToBody?a.$eval(c.typeaheadAppendToBody):!1,E=c.typeaheadAppendTo?a.$eval(c.typeaheadAppendTo):null,F=a.$eval(c.typeaheadFocusFirst)!==!1,G=c.typeaheadSelectOnExact?a.$eval(c.typeaheadSelectOnExact):!1,H=e(c.typeaheadIsOpen).assign||angular.noop,I=a.$eval(c.typeaheadShowHint)||!1,J=e(c.ngModel),K=e(c.ngModel+"($$$p)"),L=function(b,c){return angular.isFunction(J(a))&&q&&q.$options&&q.$options.getterSetter?K(b,{$$$p:c}):J.assign(b,c)},M=m.parse(c.uibTypeahead),N=a.$new(),O=a.$on("$destroy",function(){N.$destroy()});N.$on("$destroy",O);var P="typeahead-"+N.$id+"-"+Math.floor(1e4*Math.random());b.attr({"aria-autocomplete":"list","aria-expanded":!1,"aria-owns":P});var Q,R;I&&(Q=angular.element("<div></div>"),Q.css("position","relative"),b.after(Q),R=b.clone(),R.attr("placeholder",""),R.val(""),R.css({position:"absolute",top:"0px",left:"0px","border-color":"transparent","box-shadow":"none",opacity:1,background:"none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255)",color:"#999"}),b.css({position:"relative","vertical-align":"top","background-color":"transparent"}),Q.append(R),R.after(b));var S=angular.element("<div uib-typeahead-popup></div>");S.attr({id:P,matches:"matches",active:"activeIdx",select:"select(activeIdx, evt)","move-in-progress":"moveInProgress",query:"query",position:"position","assign-is-open":"assignIsOpen(isOpen)",debounce:"debounceUpdate"}),angular.isDefined(c.typeaheadTemplateUrl)&&S.attr("template-url",c.typeaheadTemplateUrl),angular.isDefined(c.typeaheadPopupTemplateUrl)&&S.attr("popup-template-url",c.typeaheadPopupTemplateUrl);var T=function(){I&&R.val("")},U=function(){N.matches=[],N.activeIdx=-1,b.attr("aria-expanded",!1),T()},V=function(a){return P+"-option-"+a};N.$watch("activeIdx",function(a){0>a?b.removeAttr("aria-activedescendant"):b.attr("aria-activedescendant",V(a))});var W=function(a,b){return N.matches.length>b&&a?a.toUpperCase()===N.matches[b].label.toUpperCase():!1},X=function(c,d){var e={$viewValue:c};y(a,!0),B(a,!1),f.when(M.source(a,e)).then(function(f){var g=c===p.$viewValue;if(g&&w)if(f&&f.length>0){N.activeIdx=F?0:-1,B(a,!1),N.matches.length=0;for(var h=0;h<f.length;h++)e[M.itemName]=f[h],N.matches.push({id:V(h),label:M.viewMapper(N,e),model:f[h]});if(N.query=c,o(),b.attr("aria-expanded",!0),G&&1===N.matches.length&&W(c,0)&&(angular.isNumber(N.debounceUpdate)||angular.isObject(N.debounceUpdate)?k(function(){N.select(0,d)},angular.isNumber(N.debounceUpdate)?N.debounceUpdate:N.debounceUpdate["default"]):N.select(0,d)),I){var i=N.matches[0].label;c.length>0&&i.slice(0,c.length).toUpperCase()===c.toUpperCase()?R.val(c+i.slice(c.length)):R.val("")}}else U(),B(a,!0);g&&y(a,!1)},function(){U(),y(a,!1),B(a,!0)})};D&&(angular.element(i).on("resize",n),h.find("body").on("scroll",n));var Y=k(function(){N.matches.length&&o(),N.moveInProgress=!1},s);N.moveInProgress=!1,N.query=void 0;var Z,$=function(a){Z=g(function(){X(a)},u)},_=function(){Z&&g.cancel(Z)};U(),N.assignIsOpen=function(b){H(a,b)},N.select=function(d,e){var f,h,i={};x=!0,i[M.itemName]=h=N.matches[d].model,f=M.modelMapper(a,i),L(a,f),p.$setValidity("editable",!0),p.$setValidity("parse",!0),z(a,{$item:h,$model:f,$label:M.viewMapper(a,i),$event:e}),U(),N.$eval(c.typeaheadFocusOnSelect)!==!1&&g(function(){b[0].focus()},0,!1)},b.on("keydown",function(a){if(0!==N.matches.length&&-1!==r.indexOf(a.which)){if(-1===N.activeIdx&&(9===a.which||13===a.which))return U(),void N.$digest();a.preventDefault();var b;switch(a.which){case 9:case 13:N.$apply(function(){angular.isNumber(N.debounceUpdate)||angular.isObject(N.debounceUpdate)?k(function(){N.select(N.activeIdx,a)},angular.isNumber(N.debounceUpdate)?N.debounceUpdate:N.debounceUpdate["default"]):N.select(N.activeIdx,a)});break;case 27:a.stopPropagation(),U(),N.$digest();break;case 38:N.activeIdx=(N.activeIdx>0?N.activeIdx:N.matches.length)-1,N.$digest(),b=S.find("li")[N.activeIdx],b.parentNode.scrollTop=b.offsetTop;break;case 40:N.activeIdx=(N.activeIdx+1)%N.matches.length,N.$digest(),b=S.find("li")[N.activeIdx],b.parentNode.scrollTop=b.offsetTop}}}),b.bind("focus",function(a){w=!0,0!==t||p.$viewValue||g(function(){X(p.$viewValue,a)},0)}),b.bind("blur",function(a){A&&N.matches.length&&-1!==N.activeIdx&&!x&&(x=!0,N.$apply(function(){angular.isObject(N.debounceUpdate)&&angular.isNumber(N.debounceUpdate.blur)?k(function(){N.select(N.activeIdx,a)},N.debounceUpdate.blur):N.select(N.activeIdx,a)})),!v&&p.$error.editable&&(p.$viewValue="",b.val("")),w=!1,x=!1});var aa=function(a){b[0]!==a.target&&3!==a.which&&0!==N.matches.length&&(U(),j.$$phase||N.$digest())};h.on("click",aa),a.$on("$destroy",function(){h.off("click",aa),(D||E)&&ba.remove(),D&&(angular.element(i).off("resize",n),h.find("body").off("scroll",n)),S.remove(),I&&Q.remove()});var ba=d(S)(N);D?h.find("body").append(ba):E?angular.element(E).eq(0).append(ba):b.after(ba),this.init=function(b,c){p=b,q=c,N.debounceUpdate=p.$options&&e(p.$options.debounce)(a),p.$parsers.unshift(function(b){return w=!0,0===t||b&&b.length>=t?u>0?(_(),$(b)):X(b):(y(a,!1),_(),U()),v?b:b?void p.$setValidity("editable",!1):(p.$setValidity("editable",!0),null)}),p.$formatters.push(function(b){var c,d,e={};return v||p.$setValidity("editable",!0),C?(e.$model=b,C(a,e)):(e[M.itemName]=b,c=M.viewMapper(a,e),e[M.itemName]=void 0,d=M.viewMapper(a,e),c!==d?c:b)})}}]).directive("uibTypeahead",function(){return{controller:"UibTypeaheadController",require:["ngModel","^?ngModelOptions","uibTypeahead"],link:function(a,b,c,d){d[2].init(d[0],d[1])}}}).directive("uibTypeaheadPopup",["$$debounce",function(a){return{scope:{matches:"=",query:"=",active:"=",position:"&",moveInProgress:"=",select:"&",assignIsOpen:"&",debounce:"&"},replace:!0,templateUrl:function(a,b){return b.popupTemplateUrl||"uib/template/typeahead/typeahead-popup.html"},link:function(b,c,d){b.templateUrl=d.templateUrl,b.isOpen=function(){var a=b.matches.length>0;return b.assignIsOpen({isOpen:a}),a},b.isActive=function(a){return b.active===a},b.selectActive=function(a){b.active=a},b.selectMatch=function(c,d){var e=b.debounce();angular.isNumber(e)||angular.isObject(e)?a(function(){b.select({activeIdx:c,evt:d})},angular.isNumber(e)?e:e["default"]):b.select({activeIdx:c,evt:d})}}}}]).directive("uibTypeaheadMatch",["$templateRequest","$compile","$parse",function(a,b,c){return{scope:{index:"=",match:"=",query:"="},link:function(d,e,f){var g=c(f.templateUrl)(d.$parent)||"uib/template/typeahead/typeahead-match.html";a(g).then(function(a){var c=angular.element(a.trim());e.replaceWith(c),b(c)(d)})}}}]).filter("uibTypeaheadHighlight",["$sce","$injector","$log",function(a,b,c){function d(a){return a.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}function e(a){return/<.*>/g.test(a)}var f;return f=b.has("$sanitize"),function(b,g){return!f&&e(b)&&c.warn("Unsafe use of typeahead please use ngSanitize"),b=g?(""+b).replace(new RegExp(d(g),"gi"),"<strong>$&</strong>"):b,f||(b=a.trustAsHtml(b)),b}}]),angular.module("uib/template/accordion/accordion-group.html",[]).run(["$templateCache",function(a){a.put("uib/template/accordion/accordion-group.html",'<div class="panel" ng-class="panelClass || \'panel-default\'">\n  <div class="panel-heading" ng-keypress="toggleOpen($event)">\n    <h4 class="panel-title">\n      <div tabindex="0" class="accordion-toggle" ng-click="toggleOpen()" uib-accordion-transclude="heading"><span ng-class="{\'text-muted\': isDisabled}">{{heading}}</span></div>\n    </h4>\n  </div>\n  <div class="panel-collapse collapse" uib-collapse="!isOpen">\n     <div class="panel-body" ng-transclude></div>\n  </div>\n</div>\n')}]),angular.module("uib/template/accordion/accordion.html",[]).run(["$templateCache",function(a){a.put("uib/template/accordion/accordion.html",'<div class="panel-group" ng-transclude></div>')}]),angular.module("uib/template/alert/alert.html",[]).run(["$templateCache",function(a){a.put("uib/template/alert/alert.html",'<div class="alert" ng-class="[\'alert-\' + (type || \'warning\'), closeable ? \'alert-dismissible\' : null]" role="alert">\n    <button ng-show="closeable" type="button" class="close" ng-click="close({$event: $event})">\n        <span aria-hidden="true">&times;</span>\n        <span class="sr-only">Close</span>\n    </button>\n    <div ng-transclude></div>\n</div>\n')}]),angular.module("uib/template/carousel/carousel.html",[]).run(["$templateCache",function(a){a.put("uib/template/carousel/carousel.html",'<div ng-mouseenter="pause()" ng-mouseleave="play()" class="carousel" ng-swipe-right="prev()" ng-swipe-left="next()">\n  <div class="carousel-inner" ng-transclude></div>\n  <a role="button" href class="left carousel-control" ng-click="prev()" ng-show="slides.length > 1">\n    <span aria-hidden="true" class="glyphicon glyphicon-chevron-left"></span>\n    <span class="sr-only">previous</span>\n  </a>\n  <a role="button" href class="right carousel-control" ng-click="next()" ng-show="slides.length > 1">\n    <span aria-hidden="true" class="glyphicon glyphicon-chevron-right"></span>\n    <span class="sr-only">next</span>\n  </a>\n  <ol class="carousel-indicators" ng-show="slides.length > 1">\n    <li ng-repeat="slide in slides | orderBy:indexOfSlide track by $index" ng-class="{ active: isActive(slide) }" ng-click="select(slide)">\n      <span class="sr-only">slide {{ $index + 1 }} of {{ slides.length }}<span ng-if="isActive(slide)">, currently active</span></span>\n    </li>\n  </ol>\n</div>')}]),angular.module("uib/template/carousel/slide.html",[]).run(["$templateCache",function(a){a.put("uib/template/carousel/slide.html",'<div ng-class="{\n    \'active\': active\n  }" class="item text-center" ng-transclude></div>\n')}]),angular.module("uib/template/datepicker/datepicker.html",[]).run(["$templateCache",function(a){a.put("uib/template/datepicker/datepicker.html",'<div class="uib-datepicker" ng-switch="datepickerMode" role="application" ng-keydown="keydown($event)">\n  <uib-daypicker ng-switch-when="day" tabindex="0"></uib-daypicker>\n  <uib-monthpicker ng-switch-when="month" tabindex="0"></uib-monthpicker>\n  <uib-yearpicker ng-switch-when="year" tabindex="0"></uib-yearpicker>\n</div>')}]),angular.module("uib/template/datepicker/day.html",[]).run(["$templateCache",function(a){a.put("uib/template/datepicker/day.html",'<table class="uib-daypicker" role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n  <thead>\n    <tr>\n      <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-left"></i></button></th>\n      <th colspan="{{::5 + showWeeks}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1" style="width:100%;"><strong>{{title}}</strong></button></th>\n      <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-right"></i></button></th>\n    </tr>\n    <tr>\n      <th ng-if="showWeeks" class="text-center"></th>\n      <th ng-repeat="label in ::labels track by $index" class="text-center"><small aria-label="{{::label.full}}">{{::label.abbr}}</small></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr class="uib-weeks" ng-repeat="row in rows track by $index">\n      <td ng-if="showWeeks" class="text-center h6"><em>{{ weekNumbers[$index] }}</em></td>\n      <td ng-repeat="dt in row" class="uib-day text-center" role="gridcell"\n        id="{{::dt.uid}}"\n        ng-class="::dt.customClass">\n        <button type="button" style="min-width:100%;" class="btn btn-default btn-sm"\n          uib-is-class="\n            \'btn-info\' for selectedDt,\n            \'active\' for activeDt\n            on dt"\n          ng-click="select(dt.date)"\n          ng-disabled="::dt.disabled"\n          tabindex="-1"><span ng-class="::{\'text-muted\': dt.secondary, \'text-info\': dt.current}">{{::dt.label}}</span></button>\n      </td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("uib/template/datepicker/month.html",[]).run(["$templateCache",function(a){a.put("uib/template/datepicker/month.html",'<table class="uib-monthpicker" role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n  <thead>\n    <tr>\n      <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-left"></i></button></th>\n      <th><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1" style="width:100%;"><strong>{{title}}</strong></button></th>\n      <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-right"></i></button></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr class="uib-months" ng-repeat="row in rows track by $index">\n      <td ng-repeat="dt in row" class="uib-month text-center" role="gridcell"\n        id="{{::dt.uid}}"\n        ng-class="::dt.customClass">\n        <button type="button" style="min-width:100%;" class="btn btn-default"\n          uib-is-class="\n            \'btn-info\' for selectedDt,\n            \'active\' for activeDt\n            on dt"\n          ng-click="select(dt.date)"\n          ng-disabled="::dt.disabled"\n          tabindex="-1"><span ng-class="::{\'text-info\': dt.current}">{{::dt.label}}</span></button>\n      </td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("uib/template/datepicker/popup.html",[]).run(["$templateCache",function(a){a.put("uib/template/datepicker/popup.html",'<ul class="uib-datepicker-popup dropdown-menu" dropdown-nested ng-if="isOpen" style="display: block" ng-style="{top: position.top+\'px\', left: position.left+\'px\'}" ng-keydown="keydown($event)" ng-click="$event.stopPropagation()">\n  <li ng-transclude></li>\n       <li ng-if="showButtonBar" style="padding:10px 9px 2px" class="uib-button-bar">\n                <span class="btn-group pull-left">\n                    <button type="button" class="btn btn-sm btn-info uib-datepicker-current" ng-click="select(\'today\')" ng-disabled="isDisabled(\'today\')">{{ getText(\'current\') }}</button>\n                 <button type="button" class="btn btn-sm btn-danger uib-clear" ng-click="select(null)">{{ getText(\'clear\') }}</button>\n               </span>\n               <button type="button" class="btn btn-sm btn-success pull-right uib-close" ng-click="close()">{{ getText(\'close\') }}</button>\n        </li>\n</ul>\n')}]),angular.module("uib/template/datepicker/year.html",[]).run(["$templateCache",function(a){a.put("uib/template/datepicker/year.html",'<table class="uib-yearpicker" role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n  <thead>\n    <tr>\n      <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-left"></i></button></th>\n      <th colspan="{{::columns - 2}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1" style="width:100%;"><strong>{{title}}</strong></button></th>\n      <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-right"></i></button></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr class="uib-years" ng-repeat="row in rows track by $index">\n      <td ng-repeat="dt in row" class="uib-year text-center" role="gridcell"\n        id="{{::dt.uid}}"\n        ng-class="::dt.customClass">\n        <button type="button" style="min-width:100%;" class="btn btn-default"\n          uib-is-class="\n            \'btn-info\' for selectedDt,\n            \'active\' for activeDt\n            on dt"\n          ng-click="select(dt.date)"\n          ng-disabled="::dt.disabled"\n          tabindex="-1"><span ng-class="::{\'text-info\': dt.current}">{{::dt.label}}</span></button>\n      </td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("uib/template/modal/backdrop.html",[]).run(["$templateCache",function(a){a.put("uib/template/modal/backdrop.html",'<div class="modal-backdrop"\n     uib-modal-animation-class="fade"\n     modal-in-class="in"\n     ng-style="{\'z-index\': 1040 + (index && 1 || 0) + index*10}"\n></div>\n');
-}]),angular.module("uib/template/modal/window.html",[]).run(["$templateCache",function(a){a.put("uib/template/modal/window.html",'<div modal-render="{{$isRendered}}" tabindex="-1" role="dialog" class="modal"\n    uib-modal-animation-class="fade"\n    modal-in-class="in"\n    ng-style="{\'z-index\': 1050 + index*10, display: \'block\'}">\n    <div class="modal-dialog" ng-class="size ? \'modal-\' + size : \'\'"><div class="modal-content" uib-modal-transclude></div></div>\n</div>\n')}]),angular.module("uib/template/pager/pager.html",[]).run(["$templateCache",function(a){a.put("uib/template/pager/pager.html",'<ul class="pager">\n  <li ng-class="{disabled: noPrevious()||ngDisabled, previous: align}"><a href ng-click="selectPage(page - 1, $event)">{{::getText(\'previous\')}}</a></li>\n  <li ng-class="{disabled: noNext()||ngDisabled, next: align}"><a href ng-click="selectPage(page + 1, $event)">{{::getText(\'next\')}}</a></li>\n</ul>\n')}]),angular.module("uib/template/pagination/pagination.html",[]).run(["$templateCache",function(a){a.put("uib/template/pagination/pagination.html",'<ul class="pagination">\n  <li ng-if="::boundaryLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-first"><a href ng-click="selectPage(1, $event)">{{::getText(\'first\')}}</a></li>\n  <li ng-if="::directionLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-prev"><a href ng-click="selectPage(page - 1, $event)">{{::getText(\'previous\')}}</a></li>\n  <li ng-repeat="page in pages track by $index" ng-class="{active: page.active,disabled: ngDisabled&&!page.active}" class="pagination-page"><a href ng-click="selectPage(page.number, $event)">{{page.text}}</a></li>\n  <li ng-if="::directionLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-next"><a href ng-click="selectPage(page + 1, $event)">{{::getText(\'next\')}}</a></li>\n  <li ng-if="::boundaryLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-last"><a href ng-click="selectPage(totalPages, $event)">{{::getText(\'last\')}}</a></li>\n</ul>\n')}]),angular.module("uib/template/tooltip/tooltip-html-popup.html",[]).run(["$templateCache",function(a){a.put("uib/template/tooltip/tooltip-html-popup.html",'<div class="tooltip"\n  tooltip-animation-class="fade"\n  uib-tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="tooltip-arrow"></div>\n  <div class="tooltip-inner" ng-bind-html="contentExp()"></div>\n</div>\n')}]),angular.module("template/tooltip/tooltip-html-unsafe-popup.html",[]).run(["$templateCache",function(a){a.put("template/tooltip/tooltip-html-unsafe-popup.html",'<div class="tooltip"\n  tooltip-animation-class="fade"\n  tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="tooltip-arrow"></div>\n  <div class="tooltip-inner" bind-html-unsafe="content"></div>\n</div>\n')}]),angular.module("uib/template/tooltip/tooltip-popup.html",[]).run(["$templateCache",function(a){a.put("uib/template/tooltip/tooltip-popup.html",'<div class="tooltip"\n  tooltip-animation-class="fade"\n  uib-tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="tooltip-arrow"></div>\n  <div class="tooltip-inner" ng-bind="content"></div>\n</div>\n')}]),angular.module("uib/template/tooltip/tooltip-template-popup.html",[]).run(["$templateCache",function(a){a.put("uib/template/tooltip/tooltip-template-popup.html",'<div class="tooltip"\n  tooltip-animation-class="fade"\n  uib-tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="tooltip-arrow"></div>\n  <div class="tooltip-inner"\n    uib-tooltip-template-transclude="contentExp()"\n    tooltip-template-transclude-scope="originScope()"></div>\n</div>\n')}]),angular.module("uib/template/popover/popover-html.html",[]).run(["$templateCache",function(a){a.put("uib/template/popover/popover-html.html",'<div class="popover"\n  tooltip-animation-class="fade"\n  uib-tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="arrow"></div>\n\n  <div class="popover-inner">\n      <h3 class="popover-title" ng-bind="title" ng-if="title"></h3>\n      <div class="popover-content" ng-bind-html="contentExp()"></div>\n  </div>\n</div>\n')}]),angular.module("uib/template/popover/popover-template.html",[]).run(["$templateCache",function(a){a.put("uib/template/popover/popover-template.html",'<div class="popover"\n  tooltip-animation-class="fade"\n  uib-tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="arrow"></div>\n\n  <div class="popover-inner">\n      <h3 class="popover-title" ng-bind="title" ng-if="title"></h3>\n      <div class="popover-content"\n        uib-tooltip-template-transclude="contentExp()"\n        tooltip-template-transclude-scope="originScope()"></div>\n  </div>\n</div>\n')}]),angular.module("uib/template/popover/popover.html",[]).run(["$templateCache",function(a){a.put("uib/template/popover/popover.html",'<div class="popover"\n  tooltip-animation-class="fade"\n  uib-tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="arrow"></div>\n\n  <div class="popover-inner">\n      <h3 class="popover-title" ng-bind="title" ng-if="title"></h3>\n      <div class="popover-content" ng-bind="content"></div>\n  </div>\n</div>\n')}]),angular.module("uib/template/progressbar/bar.html",[]).run(["$templateCache",function(a){a.put("uib/template/progressbar/bar.html",'<div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: (percent < 100 ? percent : 100) + \'%\'}" aria-valuetext="{{percent | number:0}}%" aria-labelledby="{{::title}}" ng-transclude></div>\n')}]),angular.module("uib/template/progressbar/progress.html",[]).run(["$templateCache",function(a){a.put("uib/template/progressbar/progress.html",'<div class="progress" ng-transclude aria-labelledby="{{::title}}"></div>')}]),angular.module("uib/template/progressbar/progressbar.html",[]).run(["$templateCache",function(a){a.put("uib/template/progressbar/progressbar.html",'<div class="progress">\n  <div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: (percent < 100 ? percent : 100) + \'%\'}" aria-valuetext="{{percent | number:0}}%" aria-labelledby="{{::title}}" ng-transclude></div>\n</div>\n')}]),angular.module("uib/template/rating/rating.html",[]).run(["$templateCache",function(a){a.put("uib/template/rating/rating.html",'<span ng-mouseleave="reset()" ng-keydown="onKeydown($event)" tabindex="0" role="slider" aria-valuemin="0" aria-valuemax="{{range.length}}" aria-valuenow="{{value}}">\n    <span ng-repeat-start="r in range track by $index" class="sr-only">({{ $index < value ? \'*\' : \' \' }})</span>\n    <i ng-repeat-end ng-mouseenter="enter($index + 1)" ng-click="rate($index + 1)" class="glyphicon" ng-class="$index < value && (r.stateOn || \'glyphicon-star\') || (r.stateOff || \'glyphicon-star-empty\')" ng-attr-title="{{r.title}}" aria-valuetext="{{r.title}}"></i>\n</span>\n')}]),angular.module("uib/template/tabs/tab.html",[]).run(["$templateCache",function(a){a.put("uib/template/tabs/tab.html",'<li ng-class="{active: active, disabled: disabled}" class="uib-tab">\n  <div ng-click="select()" uib-tab-heading-transclude>{{heading}}</div>\n</li>\n')}]),angular.module("uib/template/tabs/tabset.html",[]).run(["$templateCache",function(a){a.put("uib/template/tabs/tabset.html",'<div>\n  <ul class="nav nav-{{type || \'tabs\'}}" ng-class="{\'nav-stacked\': vertical, \'nav-justified\': justified}" ng-transclude></ul>\n  <div class="tab-content">\n    <div class="tab-pane" \n         ng-repeat="tab in tabs" \n         ng-class="{active: tab.active}"\n         uib-tab-content-transclude="tab">\n    </div>\n  </div>\n</div>\n')}]),angular.module("uib/template/timepicker/timepicker.html",[]).run(["$templateCache",function(a){a.put("uib/template/timepicker/timepicker.html",'<table class="uib-timepicker">\n  <tbody>\n    <tr class="text-center" ng-show="::showSpinners">\n      <td class="uib-increment hours"><a ng-click="incrementHours()" ng-class="{disabled: noIncrementHours()}" class="btn btn-link" ng-disabled="noIncrementHours()" tabindex="{{::tabindex}}"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n      <td>&nbsp;</td>\n      <td class="uib-increment minutes"><a ng-click="incrementMinutes()" ng-class="{disabled: noIncrementMinutes()}" class="btn btn-link" ng-disabled="noIncrementMinutes()" tabindex="{{::tabindex}}"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n      <td ng-show="showSeconds">&nbsp;</td>\n      <td ng-show="showSeconds" class="uib-increment seconds"><a ng-click="incrementSeconds()" ng-class="{disabled: noIncrementSeconds()}" class="btn btn-link" ng-disabled="noIncrementSeconds()" tabindex="{{::tabindex}}"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n      <td ng-show="showMeridian"></td>\n    </tr>\n    <tr>\n      <td class="form-group uib-time hours" ng-class="{\'has-error\': invalidHours}">\n        <input style="width:50px;" type="text" placeholder="HH" ng-model="hours" ng-change="updateHours()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementHours()" ng-blur="blur()">\n      </td>\n      <td class="uib-separator">:</td>\n      <td class="form-group uib-time minutes" ng-class="{\'has-error\': invalidMinutes}">\n        <input style="width:50px;" type="text" placeholder="MM" ng-model="minutes" ng-change="updateMinutes()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementMinutes()" ng-blur="blur()">\n      </td>\n      <td ng-show="showSeconds" class="uib-separator">:</td>\n      <td class="form-group uib-time seconds" ng-class="{\'has-error\': invalidSeconds}" ng-show="showSeconds">\n        <input style="width:50px;" type="text" ng-model="seconds" ng-change="updateSeconds()" class="form-control text-center" ng-readonly="readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementSeconds()" ng-blur="blur()">\n      </td>\n      <td ng-show="showMeridian" class="uib-time am-pm"><button type="button" ng-class="{disabled: noToggleMeridian()}" class="btn btn-default text-center" ng-click="toggleMeridian()" ng-disabled="noToggleMeridian()" tabindex="{{::tabindex}}">{{meridian}}</button></td>\n    </tr>\n    <tr class="text-center" ng-show="::showSpinners">\n      <td class="uib-decrement hours"><a ng-click="decrementHours()" ng-class="{disabled: noDecrementHours()}" class="btn btn-link" ng-disabled="noDecrementHours()" tabindex="{{::tabindex}}"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n      <td>&nbsp;</td>\n      <td class="uib-decrement minutes"><a ng-click="decrementMinutes()" ng-class="{disabled: noDecrementMinutes()}" class="btn btn-link" ng-disabled="noDecrementMinutes()" tabindex="{{::tabindex}}"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n      <td ng-show="showSeconds">&nbsp;</td>\n      <td ng-show="showSeconds" class="uib-decrement seconds"><a ng-click="decrementSeconds()" ng-class="{disabled: noDecrementSeconds()}" class="btn btn-link" ng-disabled="noDecrementSeconds()" tabindex="{{::tabindex}}"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n      <td ng-show="showMeridian"></td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("uib/template/typeahead/typeahead-match.html",[]).run(["$templateCache",function(a){a.put("uib/template/typeahead/typeahead-match.html",'<a href tabindex="-1" ng-bind-html="match.label | uibTypeaheadHighlight:query"></a>\n')}]),angular.module("uib/template/typeahead/typeahead-popup.html",[]).run(["$templateCache",function(a){a.put("uib/template/typeahead/typeahead-popup.html",'<ul class="dropdown-menu" ng-show="isOpen() && !moveInProgress" ng-style="{top: position().top+\'px\', left: position().left+\'px\'}" style="display: block;" role="listbox" aria-hidden="{{!isOpen()}}">\n    <li ng-repeat="match in matches track by $index" ng-class="{active: isActive($index) }" ng-mouseenter="selectActive($index)" ng-click="selectMatch($index, $event)" role="option" id="{{::match.id}}">\n        <div uib-typeahead-match index="$index" match="match" query="query" template-url="templateUrl"></div>\n    </li>\n</ul>\n')}]),angular.module("ui.bootstrap.carousel").run(function(){!angular.$$csp().noInlineStyle&&angular.element(document).find("head").prepend('<style type="text/css">.ng-animate.item:not(.left):not(.right){-webkit-transition:0s ease-in-out left;transition:0s ease-in-out left}</style>')}),angular.module("ui.bootstrap.tabs").run(function(){!angular.$$csp().noInlineStyle&&angular.element(document).find("head").prepend('<style type="text/css">.uib-tab > div{position:relative;display:block;padding:10px 15px;outline:0;color:#337ab7;}.uib-tab > div:focus,.uib-tab > div:hover{background-color:#eee;color:#23527c;}.uib-tab.disabled > div{color:#777;}.uib-tab.disabled > div:focus,.uib-tab.disabled > div:hover{color:#777;cursor:not-allowed;background-color:transparent;}.nav-tabs > .uib-tab > div{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0;}.nav-tabs > .uib-tab > div:hover{border-color:#eee #eee #ddd;}.nav-tabs > .uib-tab.active > div,.nav-tabs > .uib-tab.active > div:focus,.nav-tabs > .uib-tab.active > div:hover{color:#555;cursor:default;background-color:#fff;border-color:#ddd #ddd transparent #ddd;}.nav-pills > .uib-tab > div{border-radius:4px;}.nav-pills > .uib-tab.active > div,.nav-pills > .uib-tab.active > div:focus,.nav-pills > .uib-tab.active > div:hover{color:#fff;background-color:#337ab7;}</style>')}),function(a){"use strict";"function"==typeof define&&define.amd?define(a):"undefined"!=typeof module&&"undefined"!=typeof module.exports?module.exports=a():"undefined"!=typeof Package?Sortable=a():window.Sortable=a()}(function(){"use strict";function a(a,b){this.el=a,this.options=b=s({},b),a[J]=this;var d={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(a.nodeName)?"li":">*",ghostClass:"sortable-ghost",ignore:"a, img",filter:null,animation:0,setData:function(a,b){a.setData("Text",b.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0};for(var e in d)!(e in b)&&(b[e]=d[e]);var g=b.group;g&&"object"==typeof g||(g=b.group={name:g}),["pull","put"].forEach(function(a){a in g||(g[a]=!0)}),b.groups=" "+g.name+(g.put.join?" "+g.put.join(" "):"")+" ";for(var h in this)"_"===h.charAt(0)&&(this[h]=c(this,this[h]));f(a,"mousedown",this._onTapStart),f(a,"touchstart",this._onTapStart),f(a,"dragover",this),f(a,"dragenter",this),R.push(this._onDragOver),b.store&&this.sort(b.store.get(this))}function b(a){v&&v.state!==a&&(i(v,"display",a?"none":""),!a&&v.state&&w.insertBefore(v,t),v.state=a)}function c(a,b){var c=Q.call(arguments,2);return b.bind?b.bind.apply(b,[a].concat(c)):function(){return b.apply(a,c.concat(Q.call(arguments)))}}function d(a,b,c){if(a){c=c||L,b=b.split(".");var d=b.shift().toUpperCase(),e=new RegExp("\\s("+b.join("|")+")(?=\\s)","g");do if(">*"===d&&a.parentNode===c||(""===d||a.nodeName.toUpperCase()==d)&&(!b.length||((" "+a.className+" ").match(e)||[]).length==b.length))return a;while(a!==c&&(a=a.parentNode))}return null}function e(a){a.dataTransfer.dropEffect="move",a.preventDefault()}function f(a,b,c){a.addEventListener(b,c,!1)}function g(a,b,c){a.removeEventListener(b,c,!1)}function h(a,b,c){if(a)if(a.classList)a.classList[c?"add":"remove"](b);else{var d=(" "+a.className+" ").replace(I," ").replace(" "+b+" "," ");a.className=(d+(c?" "+b:"")).replace(I," ")}}function i(a,b,c){var d=a&&a.style;if(d){if(void 0===c)return L.defaultView&&L.defaultView.getComputedStyle?c=L.defaultView.getComputedStyle(a,""):a.currentStyle&&(c=a.currentStyle),void 0===b?c:c[b];b in d||(b="-webkit-"+b),d[b]=c+("string"==typeof c?"":"px")}}function j(a,b,c){if(a){var d=a.getElementsByTagName(b),e=0,f=d.length;if(c)for(;f>e;e++)c(d[e],e);return d}return[]}function k(a,b,c,d,e,f,g){var h=L.createEvent("Event"),i=(a||b[J]).options,j="on"+c.charAt(0).toUpperCase()+c.substr(1);h.initEvent(c,!0,!0),h.to=b,h.from=e||b,h.item=d||b,h.clone=v,h.oldIndex=f,h.newIndex=g,b.dispatchEvent(h),i[j]&&i[j].call(a,h)}function l(a,b,c,d,e,f){var g,h,i=a[J],j=i.options.onMove;return j&&(g=L.createEvent("Event"),g.initEvent("move",!0,!0),g.to=b,g.from=a,g.dragged=c,g.draggedRect=d,g.related=e||b,g.relatedRect=f||b.getBoundingClientRect(),h=j.call(i,g)),h}function m(a){a.draggable=!1}function n(){O=!1}function o(a,b){var c=a.lastElementChild,d=c.getBoundingClientRect();return b.clientY-(d.top+d.height)>5&&c}function p(a){for(var b=a.tagName+a.className+a.src+a.href+a.textContent,c=b.length,d=0;c--;)d+=b.charCodeAt(c);return d.toString(36)}function q(a){for(var b=0;a&&(a=a.previousElementSibling);)"TEMPLATE"!==a.nodeName.toUpperCase()&&b++;return b}function r(a,b){var c,d;return function(){void 0===c&&(c=arguments,d=this,setTimeout(function(){1===c.length?a.call(d,c[0]):a.apply(d,c),c=void 0},b))}}function s(a,b){if(a&&b)for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}var t,u,v,w,x,y,z,A,B,C,D,E,F,G,H={},I=/\s+/g,J="Sortable"+(new Date).getTime(),K=window,L=K.document,M=K.parseInt,N=!!("draggable"in L.createElement("div")),O=!1,P=Math.abs,Q=[].slice,R=[],S=r(function(a,b,c){if(c&&b.scroll){var d,e,f,g,h=b.scrollSensitivity,i=b.scrollSpeed,j=a.clientX,k=a.clientY,l=window.innerWidth,m=window.innerHeight;if(z!==c&&(y=b.scroll,z=c,y===!0)){y=c;do if(y.offsetWidth<y.scrollWidth||y.offsetHeight<y.scrollHeight)break;while(y=y.parentNode)}y&&(d=y,e=y.getBoundingClientRect(),f=(P(e.right-j)<=h)-(P(e.left-j)<=h),g=(P(e.bottom-k)<=h)-(P(e.top-k)<=h)),f||g||(f=(h>=l-j)-(h>=j),g=(h>=m-k)-(h>=k),(f||g)&&(d=K)),(H.vx!==f||H.vy!==g||H.el!==d)&&(H.el=d,H.vx=f,H.vy=g,clearInterval(H.pid),d&&(H.pid=setInterval(function(){d===K?K.scrollTo(K.pageXOffset+f*i,K.pageYOffset+g*i):(g&&(d.scrollTop+=g*i),f&&(d.scrollLeft+=f*i))},24)))}},30);return a.prototype={constructor:a,_onTapStart:function(a){var b=this,c=this.el,e=this.options,f=a.type,g=a.touches&&a.touches[0],h=(g||a).target,i=h,j=e.filter;if(!("mousedown"===f&&0!==a.button||e.disabled)&&(h=d(h,e.draggable,c))){if(C=q(h),"function"==typeof j){if(j.call(this,a,h,this))return k(b,i,"filter",h,c,C),void a.preventDefault()}else if(j&&(j=j.split(",").some(function(a){return a=d(i,a.trim(),c),a?(k(b,a,"filter",h,c,C),!0):void 0})))return void a.preventDefault();(!e.handle||d(i,e.handle,c))&&this._prepareDragStart(a,g,h)}},_prepareDragStart:function(a,b,c){var d,e=this,g=e.el,h=e.options,i=g.ownerDocument;c&&!t&&c.parentNode===g&&(F=a,w=g,t=c,x=t.nextSibling,E=h.group,d=function(){e._disableDelayedDrag(),t.draggable=!0,h.ignore.split(",").forEach(function(a){j(t,a.trim(),m)}),e._triggerDragStart(b)},f(i,"mouseup",e._onDrop),f(i,"touchend",e._onDrop),f(i,"touchcancel",e._onDrop),h.delay?(f(i,"mousemove",e._disableDelayedDrag),f(i,"touchmove",e._disableDelayedDrag),e._dragStartTimer=setTimeout(d,h.delay)):d())},_disableDelayedDrag:function(){var a=this.el.ownerDocument;clearTimeout(this._dragStartTimer),g(a,"mousemove",this._disableDelayedDrag),g(a,"touchmove",this._disableDelayedDrag)},_triggerDragStart:function(a){a?(F={target:t,clientX:a.clientX,clientY:a.clientY},this._onDragStart(F,"touch")):N?(f(t,"dragend",this),f(w,"dragstart",this._onDragStart)):this._onDragStart(F,!0);try{L.selection?L.selection.empty():window.getSelection().removeAllRanges()}catch(b){}},_dragStarted:function(){w&&t&&(h(t,this.options.ghostClass,!0),a.active=this,k(this,w,"start",t,w,C))},_emulateDragOver:function(){if(G){i(u,"display","none");var a=L.elementFromPoint(G.clientX,G.clientY),b=a,c=" "+this.options.group.name,d=R.length;if(b)do{if(b[J]&&b[J].options.groups.indexOf(c)>-1){for(;d--;)R[d]({clientX:G.clientX,clientY:G.clientY,target:a,rootEl:b});break}a=b}while(b=b.parentNode);i(u,"display","")}},_onTouchMove:function(a){if(F){var b=a.touches?a.touches[0]:a,c=b.clientX-F.clientX,d=b.clientY-F.clientY,e=a.touches?"translate3d("+c+"px,"+d+"px,0)":"translate("+c+"px,"+d+"px)";G=b,i(u,"webkitTransform",e),i(u,"mozTransform",e),i(u,"msTransform",e),i(u,"transform",e),a.preventDefault()}},_onDragStart:function(a,b){var c=a.dataTransfer,d=this.options;if(this._offUpEvents(),"clone"==E.pull&&(v=t.cloneNode(!0),i(v,"display","none"),w.insertBefore(v,t)),b){var e,g=t.getBoundingClientRect(),h=i(t);u=t.cloneNode(!0),i(u,"top",g.top-M(h.marginTop,10)),i(u,"left",g.left-M(h.marginLeft,10)),i(u,"width",g.width),i(u,"height",g.height),i(u,"opacity","0.8"),i(u,"position","fixed"),i(u,"zIndex","100000"),w.appendChild(u),e=u.getBoundingClientRect(),i(u,"width",2*g.width-e.width),i(u,"height",2*g.height-e.height),"touch"===b?(f(L,"touchmove",this._onTouchMove),f(L,"touchend",this._onDrop),f(L,"touchcancel",this._onDrop)):(f(L,"mousemove",this._onTouchMove),f(L,"mouseup",this._onDrop)),this._loopId=setInterval(this._emulateDragOver,150)}else c&&(c.effectAllowed="move",d.setData&&d.setData.call(this,c,t)),f(L,"drop",this);setTimeout(this._dragStarted,0)},_onDragOver:function(a){var c,e,f,g=this.el,h=this.options,j=h.group,k=j.put,m=E===j,p=h.sort;if(void 0!==a.preventDefault&&(a.preventDefault(),!h.dragoverBubble&&a.stopPropagation()),E&&!h.disabled&&(m?p||(f=!w.contains(t)):E.pull&&k&&(E.name===j.name||k.indexOf&&~k.indexOf(E.name)))&&(void 0===a.rootEl||a.rootEl===this.el)){if(S(a,h,this.el),O)return;if(c=d(a.target,h.draggable,g),e=t.getBoundingClientRect(),f)return b(!0),void(v||x?w.insertBefore(t,v||x):p||w.appendChild(t));if(0===g.children.length||g.children[0]===u||g===a.target&&(c=o(g,a))){if(c){if(c.animated)return;r=c.getBoundingClientRect()}b(m),l(w,g,t,e,c,r)!==!1&&(g.appendChild(t),this._animate(e,t),c&&this._animate(r,c))}else if(c&&!c.animated&&c!==t&&void 0!==c.parentNode[J]){A!==c&&(A=c,B=i(c));var q,r=c.getBoundingClientRect(),s=r.right-r.left,y=r.bottom-r.top,z=/left|right|inline/.test(B.cssFloat+B.display),C=c.offsetWidth>t.offsetWidth,D=c.offsetHeight>t.offsetHeight,F=(z?(a.clientX-r.left)/s:(a.clientY-r.top)/y)>.5,G=c.nextElementSibling,H=l(w,g,t,e,c,r);H!==!1&&(O=!0,setTimeout(n,30),b(m),q=1===H||-1===H?1===H:z?c.previousElementSibling===t&&!C||F&&C:G!==t&&!D||F&&D,q&&!G?g.appendChild(t):c.parentNode.insertBefore(t,q?G:c),this._animate(e,t),this._animate(r,c))}}},_animate:function(a,b){var c=this.options.animation;if(c){var d=b.getBoundingClientRect();i(b,"transition","none"),i(b,"transform","translate3d("+(a.left-d.left)+"px,"+(a.top-d.top)+"px,0)"),b.offsetWidth,i(b,"transition","all "+c+"ms"),i(b,"transform","translate3d(0,0,0)"),clearTimeout(b.animated),b.animated=setTimeout(function(){i(b,"transition",""),i(b,"transform",""),b.animated=!1},c)}},_offUpEvents:function(){var a=this.el.ownerDocument;g(L,"touchmove",this._onTouchMove),g(a,"mouseup",this._onDrop),g(a,"touchend",this._onDrop),g(a,"touchcancel",this._onDrop)},_onDrop:function(b){var c=this.el,d=this.options;clearInterval(this._loopId),clearInterval(H.pid),clearTimeout(this._dragStartTimer),g(L,"drop",this),g(L,"mousemove",this._onTouchMove),g(c,"dragstart",this._onDragStart),this._offUpEvents(),b&&(b.preventDefault(),!d.dropBubble&&b.stopPropagation(),u&&u.parentNode.removeChild(u),t&&(g(t,"dragend",this),m(t),h(t,this.options.ghostClass,!1),w!==t.parentNode?(D=q(t),k(null,t.parentNode,"sort",t,w,C,D),k(this,w,"sort",t,w,C,D),k(null,t.parentNode,"add",t,w,C,D),k(this,w,"remove",t,w,C,D)):(v&&v.parentNode.removeChild(v),t.nextSibling!==x&&(D=q(t),k(this,w,"update",t,w,C,D),k(this,w,"sort",t,w,C,D))),a.active&&(k(this,w,"end",t,w,C,D),this.save())),w=t=u=x=v=y=z=F=G=A=B=E=a.active=null)},handleEvent:function(a){var b=a.type;"dragover"===b||"dragenter"===b?t&&(this._onDragOver(a),e(a)):("drop"===b||"dragend"===b)&&this._onDrop(a)},toArray:function(){for(var a,b=[],c=this.el.children,e=0,f=c.length,g=this.options;f>e;e++)a=c[e],d(a,g.draggable,this.el)&&b.push(a.getAttribute(g.dataIdAttr)||p(a));return b},sort:function(a){var b={},c=this.el;this.toArray().forEach(function(a,e){var f=c.children[e];d(f,this.options.draggable,c)&&(b[a]=f)},this),a.forEach(function(a){b[a]&&(c.removeChild(b[a]),c.appendChild(b[a]))})},save:function(){var a=this.options.store;a&&a.set(this)},closest:function(a,b){return d(a,b||this.options.draggable,this.el)},option:function(a,b){var c=this.options;return void 0===b?c[a]:void(c[a]=b)},destroy:function(){var a=this.el;a[J]=null,g(a,"mousedown",this._onTapStart),g(a,"touchstart",this._onTapStart),g(a,"dragover",this),g(a,"dragenter",this),Array.prototype.forEach.call(a.querySelectorAll("[draggable]"),function(a){a.removeAttribute("draggable")}),R.splice(R.indexOf(this._onDragOver),1),this._onDrop(),this.el=a=null}},a.utils={on:f,off:g,css:i,find:j,bind:c,is:function(a,b){return!!d(a,b,a)},extend:s,throttle:r,closest:d,toggleClass:h,index:q},a.version="1.2.1",a.create=function(b,c){return new a(b,c)},a}),function(a){"use strict";window.angular&&window.Sortable?a(angular,Sortable):"function"==typeof define&&define.amd&&define(["angular","./Sortable"],a)}(function(a,b){"use strict";a.module("ng-sortable",[]).constant("ngSortableVersion","0.3.7").constant("ngSortableConfig",{}).directive("ngSortable",["$parse","ngSortableConfig",function(c,d){function e(b){var d=a.element(b).scope(),e=[].filter.call(b.childNodes,function(a){return 8===a.nodeType&&-1!==a.nodeValue.indexOf("ngRepeat:")})[0];if(!e)return null;e=e.nodeValue.match(/ngRepeat:\s*(?:\(.*?,\s*)?([^\s)]+)[\s)]+in\s+([^\s|]+)/);var f=c(e[1]),g=c(e[2]);return{item:function(b){return f(a.element(b).scope())},items:function(){return g(d)}}}var f,g;return{restrict:"AC",scope:{ngSortable:"=?"},link:function(c,h,i){function j(a,b){var c="on"+a.type.charAt(0).toUpperCase()+a.type.substr(1);n[c]&&n[c]({model:b||o&&o.item(a.item),models:o&&o.items(),oldIndex:a.oldIndex,newIndex:a.newIndex})}function k(b){if(o){var d=b.oldIndex,h=b.newIndex,i=o.items();if(m!==b.from){var j=e(b.from),k=j.items();d=k.indexOf(j.item(b.item)),f=k[d],b.clone?(b.from.removeChild(b.clone),f=a.copy(f)):k.splice(d,1),i.splice(h,0,f),b.from.insertBefore(b.item,g)}else i.splice(h,0,i.splice(d,1)[0]);c.$apply()}}var l,m=h[0],n=a.extend(c.ngSortable||{},d),o=e(m),p=[];l=b.create(m,Object.keys(n).reduce(function(a,b){return a[b]=a[b]||n[b],a},{onStart:function(a){g=a.item.nextSibling,j(a),c.$apply()},onEnd:function(a){j(a,f),c.$apply()},onAdd:function(a){k(a),j(a,f),c.$apply()},onUpdate:function(a){k(a),j(a)},onRemove:function(a){j(a,f)},onSort:function(a){j(a)}})),h.on("$destroy",function(){a.forEach(p,function(a){a()}),l.destroy(),p=null,l=null,g=null}),a.forEach(["sort","disabled","draggable","handle","animation","onStart","onEnd","onAdd","onUpdate","onRemove","onSort"],function(a){p.push(c.$watch("ngSortable."+a,function(b){void 0!==b&&(n[a]=b,/^on[A-Z]/.test(a)||l.option(a,b))}))})}}}])}),function(a){"use strict";"undefined"!=typeof module&&"undefined"!=typeof module.exports?module.exports=a(require("./Sortable")):"function"==typeof define&&define.amd?define(["./Sortable"],a):window.SortableMixin=a(Sortable)}(function(a){"use strict";function b(a){return a.sortableOptions&&a.sortableOptions.model||g.model}function c(a){var c=b(a),d=a.state&&a.state[c]||a.props[c];return d.slice()}function d(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}var e,f,g={ref:"list",model:"items",animation:100,onStart:"handleStart",onEnd:"handleEnd",onAdd:"handleAdd",onUpdate:"handleUpdate",onRemove:"handleRemove",onSort:"handleSort",onFilter:"handleFilter"},h={sortableMixinVersion:"0.1.0",_sortableInstance:null,componentDidMount:function(){var h=d(d({},g),this.sortableOptions||{}),i=d({},h),j=function(a,b){var c=this[h[a]];c&&c.call(this,b,this._sortableInstance)}.bind(this);"onStart onEnd onAdd onSort onUpdate onRemove onFilter".split(" ").forEach(function(a){i[a]=function(d){if("onStart"===a)e=d.item.nextElementSibling,f=this;else if("onAdd"===a||"onUpdate"===a){d.from.insertBefore(d.item,e);var g,h,i={},k={},l=d.oldIndex,m=d.newIndex,n=c(this);"onAdd"===a?(g=c(f),h=g.splice(l,1)[0],n.splice(m,0,h),k[b(f)]=g):n.splice(m,0,n.splice(l,1)[0]),i[b(this)]=n,this.setState(i),this!==f&&f.setState(k)}setTimeout(function(){j(a,d)},0)}.bind(this)},this),this._sortableInstance=a.create((this.refs[h.ref]||this).getDOMNode(),i)},componentWillReceiveProps:function(a){var c={},d=b(this),e=a[d];e&&(c[d]=e,this.setState(c))},componentWillUnmount:function(){this._sortableInstance.destroy(),this._sortableInstance=null}};return h}),function(a,b){"use strict";angular.module("adf",["adf.provider","ui.bootstrap"]).value("adfTemplatePath","../src/templates/").value("rowTemplate",'<adf-dashboard-row row="row" adf-model="adfModel" options="options" edit-mode="editMode" ng-repeat="row in column.rows" />').value("columnTemplate",'<adf-dashboard-column column="column" adf-model="adfModel" options="options" edit-mode="editMode" ng-repeat="column in row.columns" />').value("adfVersion","0.11.0"),angular.module("adf").directive("adfDashboardColumn",["$log","$compile","$rootScope","adfTemplatePath","rowTemplate","dashboard",function(a,b,c,d,e,f){function g(a,b,d){var e=b.widgets;a.$apply(function(){e.splice(d.newIndex,0,e.splice(d.oldIndex,1)[0]),c.$broadcast("adfWidgetMovedInColumn")})}function h(a,b){for(var c=null,d=0;d<a.widgets.length;d++){var e=a.widgets[d];if(f.idEquals(e.wid,b)){c=e;break}}return c}function i(a,b){for(var c=null,d=0;d<a.rows.length;d++){for(var e=a.rows[d],g=0;g<e.columns.length;g++){var h=e.columns[g];if(f.idEquals(h.cid,b)){c=h;break}h.rows&&(c=i(h,b))}if(c)break}return c}function j(a){var b=a.getAttribute("adf-id");return b?b:"-1"}function k(b,d,e,f){var g=j(f.from),k=i(d,g);if(k){var l=j(f.item),m=h(k,l);m?b.$apply(function(){e.widgets||(e.widgets=[]),e.widgets.splice(f.newIndex,0,m),c.$broadcast("adfWidgetAddedToColumn")}):a.warn("could not find widget with id "+l)}else a.warn("could not find column with id "+g)}function l(a,b,d){a.$apply(function(){b.widgets.splice(d.oldIndex,1),c.$broadcast("adfWidgetRemovedFromColumn")})}function m(a,b,c,d){var e=b[0],f=Sortable.create(e,{group:"widgets",handle:".adf-move",ghostClass:"placeholder",animation:150,onAdd:function(b){k(a,c,d,b)},onRemove:function(b){l(a,d,b)},onUpdate:function(b){g(a,d,b)}});b.on("$destroy",function(){f.el&&f.destroy()})}return{restrict:"E",replace:!0,scope:{column:"=",editMode:"=",continuousEditMode:"=",adfModel:"=",options:"="},templateUrl:d+"dashboard-column.html",link:function(a,c){var d=a.column;d.cid||(d.cid=f.id()),angular.isDefined(d.rows)&&angular.isArray(d.rows)?b(e)(a,function(a){c.append(a)}):m(a,c,a.adfModel,d)}}}]),angular.module("adf").directive("adfDashboard",["$rootScope","$log","$timeout","$uibModal","dashboard","adfTemplatePath",function(a,b,c,d,e,f){function g(a){switch(angular.isDefined(a)?a.toLowerCase():null){case"true":case"yes":case"1":return!0;case"false":case"no":case"0":case null:return!1;default:return Boolean(a)}}function h(a,b){if(a.widgets&&a.widgets.length>0)for(var c=a.widgets.shift();c;)b.widgets.push(c),c=a.widgets.shift()}function i(a,b,c){return c=c||0,angular.isDefined(a.rows)&&angular.forEach(a.rows,function(a){angular.forEach(a.columns,function(a){a.widgets||(a.widgets=[]),angular.isDefined(b[c])&&(angular.isDefined(a.rows)||(h(b[c],a),c++)),c=i(a,b,c)})}),c}function j(a,b){return b=b||[],angular.isDefined(a.rows)&&angular.forEach(a.rows,function(a){angular.forEach(a.columns,function(a){b.push(a),j(a,b)})}),b}function k(a,b){var c=j(a),d=0;for(a.rows=angular.copy(b.rows);d<c.length;)d=i(a,c,d)}function l(a){var b={},c=e.widgets[a].config;return c&&(b=angular.copy(c)),b}function m(a){var c=null;if(!angular.isArray(a.rows))return b.error("model does not have any rows"),null;for(var d=0;d<a.rows.length;d++){var e=a.rows[d];if(angular.isArray(e.columns))for(var f=0;f<e.columns.length;f++){var g=e.columns[f];
-if(!g.rows){c=g;break}}if(c)break}return c}function n(c,d,e){if(c){var f=m(c);f?(f.widgets||(f.widgets=[]),f.widgets.unshift(d),a.$broadcast("adfWidgetAdded",e,c,d)):b.error("could not find first widget column")}else b.error("model is undefined")}function o(a){var b=e.widgets[a];return b&&b.edit&&b.edit.immediate}function p(a,b){c(function(){a.$broadcast("adfWidgetEnterEditMode",b)},200)}return{replace:!0,restrict:"EA",transclude:!1,scope:{structure:"@",name:"@",collapsible:"@",editable:"@",editMode:"@",continuousEditMode:"=",maximizable:"@",adfModel:"=",adfWidgetFilter:"="},controller:["$scope",function(c){var g={},h={},i=null,j={},m=c.name;c.$watch("adfModel",function(a,d){(null!==d||null===a&&null===d)&&(g=c.adfModel,i=c.adfWidgetFilter,g&&g.rows||(j=c.structure,h=e.structures[j],h?(g?g.rows=angular.copy(h).rows:g=angular.copy(h),g.structure=j):b.error("could not find structure "+j)),g?(g.title||(g.title="Dashboard"),g.titleTemplateUrl||(g.titleTemplateUrl=f+"dashboard-title.html"),c.model=g):b.error("could not find or create model"))},!0),c.editMode=!1,c.editClass="",c.toggleEditMode=function(){c.editMode=!c.editMode,c.editMode&&(c.continuousEditMode||(c.modelCopy=angular.copy(c.adfModel,{}),a.$broadcast("adfIsEditMode"))),c.editMode||a.$broadcast("adfDashboardChanged",m,g)},c.$on("adfToggleEditMode",function(){c.toggleEditMode()}),c.collapseAll=function(b){a.$broadcast("adfDashboardCollapseExpand",{collapseExpandStatus:b})},c.cancelEditMode=function(){c.editMode=!1,c.continuousEditMode||(c.modelCopy=angular.copy(c.modelCopy,c.adfModel)),a.$broadcast("adfDashboardEditsCancelled")},c.editDashboardDialog=function(){var a=c.$new();a.copy={title:g.title},a.structures=e.structures;var h=f+"dashboard-edit.html";g.editTemplateUrl&&(h=g.editTemplateUrl);var i=d.open({scope:a,templateUrl:h,backdrop:"static"});a.changeStructure=function(a,c){b.info("change structure to "+a),k(g,c)},a.closeDialog=function(){g.title=a.copy.title,i.close(),a.$destroy()}},c.addWidgetDialog=function(){var a,b=c.$new(),g=c.model;angular.isFunction(i)?(a={},angular.forEach(e.widgets,function(b,c){i(b,c,g)&&(a[c]=b)})):a=e.widgets,b.widgets=a;var h=f+"widget-add.html";g.addTemplateUrl&&(h=g.addTemplateUrl);var j={scope:b,templateUrl:h,backdrop:"static"},k=d.open(j);b.addWidget=function(a){var d={type:a,config:l(a)};n(g,d,m),k.close(),b.$destroy(),o(a)&&p(c,d)},b.closeDialog=function(){k.close(),b.$destroy()}},c.addNewWidgetToModel=n}],link:function(a,b,c){var d={name:c.name,editable:!0,enableConfirmDelete:g(c.enableconfirmdelete),maximizable:g(c.maximizable),collapsible:g(c.collapsible)};angular.isDefined(c.editable)&&(d.editable=g(c.editable)),a.options=d},templateUrl:f+"dashboard.html"}}]),angular.module("adf.provider",[]).provider("dashboard",function(){var a={},b="",c={},d='<div class="alert alert-danger">{}</div>',e='      <div class="progress progress-striped active">\n        <div class="progress-bar" role="progressbar" style="width: 100%">\n          <span class="sr-only">loading ...</span>\n        </div>\n      </div>',f=function(){return!0};this.widget=function(b,c){var d=angular.extend({reload:!1,frameless:!1},c);if(d.edit){var e={reload:!0,immediate:!1,apply:f};angular.extend(e,d.edit),d.edit=e}return a[b]=d,this},this.widgetsPath=function(a){return b=a,this},this.structure=function(a,b){return c[a]=b,this},this.messageTemplate=function(a){return d=a,this},this.loadingTemplate=function(a){return e=a,this},this.$get=function(){var f=0;return{widgets:a,widgetsPath:b,structures:c,messageTemplate:d,loadingTemplate:e,id:function(){return(new Date).getTime()+"-"+ ++f},idEquals:function(a,b){return a&&b&&a.toString()===b.toString()}}}}),angular.module("adf").directive("adfDashboardRow",["$compile","adfTemplatePath","columnTemplate",function(a,b,c){return{restrict:"E",replace:!0,scope:{row:"=",adfModel:"=",editMode:"=",continuousEditMode:"=",options:"="},templateUrl:b+"dashboard-row.html",link:function(b,d){angular.isDefined(b.row.columns)&&angular.isArray(b.row.columns)&&a(c)(b,function(a){d.append(a)})}}}]),angular.module("adf").directive("adfWidgetContent",["$log","$q","$sce","$http","$templateCache","$compile","$controller","$injector","dashboard",function(a,b,c,d,e,f,g,h,i){function j(a){var b=a;return a.indexOf("{widgetsPath}")>=0&&(b=a.replace("{widgetsPath}",i.widgetsPath).replace("//","/"),0===b.indexOf("/")&&(b=b.substring(1))),b}function k(a){var f=b.defer();if(a.template)f.resolve(a.template);else if(a.templateUrl){var g=e.get(a.templateUrl);if(g)f.resolve(g);else{var h=c.getTrustedResourceUrl(j(a.templateUrl));d.get(h).success(function(b){e.put(a.templateUrl,b),f.resolve(b)}).error(function(){f.reject("could not load template")})}}return f.promise}function l(c,d,e){var j=c.model,l=c.content;d.html(i.loadingTemplate);var m=c.$new();j.config||(j.config={}),m.config=j.config;var n={$scope:m,widget:j,config:j.config},o={};return o.$tpl=k(l),l.resolve&&angular.forEach(l.resolve,function(a,b){angular.isString(a)?o[b]=h.get(a):o[b]=h.invoke(a,a,n)}),b.all(o).then(function(a){angular.extend(a,n);var b=a.$tpl;if(d.html(b),l.controller){var c=g(l.controller,a);l.controllerAs&&(m[l.controllerAs]=c),d.children().data("$ngControllerController",c)}f(d.contents())(m)},function(b){var c="Could not resolve all promises";b&&(c+=": "+b),a.warn(c),d.html(i.messageTemplate.replace(/{}/g,c))}),e&&e.$destroy(),m}return{replace:!0,restrict:"EA",transclude:!1,scope:{model:"=",content:"="},link:function(a,b){var c=l(a,b,null);a.$on("widgetConfigChanged",function(){c=l(a,b,c)}),a.$on("widgetReload",function(){c=l(a,b,c)})}}}]),angular.module("adf").directive("adfWidget",["$injector","$q","$log","$uibModal","$rootScope","dashboard","adfTemplatePath",function(a,b,c,d,e,f,g){function h(a){var b=a.definition;if(b){var d=f.widgets[b.type];if(d){b.title||(b.title=d.title),b.titleTemplateUrl||(b.titleTemplateUrl=g+"widget-title.html",d.titleTemplateUrl&&(b.titleTemplateUrl=d.titleTemplateUrl)),b.titleTemplateUrl||(b.frameless=d.frameless),b.styleClass||(b.styleClass=d.styleClass),b.wid||(b.wid=f.id()),a.widget=angular.copy(d);var e=b.config;e?angular.isString(e)&&(e=angular.fromJson(e)):e={},a.config=e,a.widgetState||(a.widgetState={},a.widgetState.isCollapsed=d.collapsed===!0?d.collapsed:!1)}else c.warn("could not find widget "+b.type)}else c.debug("definition not specified, widget was probably removed")}function i(f,h){var i=f.definition;if(i){var j=function(){var a=f.col;if(a){var b=a.widgets.indexOf(i);b>=0&&a.widgets.splice(b,1)}h.remove(),e.$broadcast("adfWidgetRemovedFromColumn")};f.remove=function(){if(f.options.enableConfirmDelete){var a=f.$new(),b=g+"widget-delete.html";i.deleteTemplateUrl&&(b=i.deleteTemplateUrl);var c={scope:a,templateUrl:b,backdrop:"static"},e=d.open(c);a.closeDialog=function(){e.close(),a.$destroy()},a.deleteDialog=function(){j(),a.closeDialog()}}else j()},f.reload=function(){f.$broadcast("widgetReload")},f.edit=function(){function c(a){var c;if("boolean"==typeof a){var d=b.defer();a?d.resolve():d.reject(),c=d.promise}else c=b.when(a);return c}var e=f.$new();e.definition=angular.copy(i);var h=g+"widget-edit.html";i.editTemplateUrl&&(h=i.editTemplateUrl);var j={scope:e,templateUrl:h,backdrop:"static"},k=d.open(j);e.closeDialog=function(){k.close(),e.$destroy()},e.saveDialog=function(){e.validationError=null;var b=f.widget,d=b.edit.apply,g={widget:b,definition:e.definition,config:e.definition.config},h=a.invoke(d,d,g);c(h).then(function(){i.title=e.definition.title,angular.extend(i.config,e.definition.config),b.edit&&b.edit.reload&&f.$broadcast("widgetConfigChanged"),e.closeDialog()},function(a){a?e.validationError=a:e.validationError="Validation durring apply failed"})}}}else c.debug("widget not found")}return{replace:!0,restrict:"EA",transclude:!1,templateUrl:g+"widget.html",scope:{definition:"=",col:"=column",editMode:"=",options:"=",widgetState:"="},controller:["$scope",function(a){a.$on("adfDashboardCollapseExpand",function(b,c){a.widgetState.isCollapsed=c.collapseExpandStatus}),a.$on("adfWidgetEnterEditMode",function(b,c){f.idEquals(a.definition.wid,c.wid)&&a.edit()}),a.widgetClasses=function(b,c){var d=c.styleClass||"";return(!b.frameless||a.editMode)&&(d+=" panel panel-default"),d},a.openFullScreen=function(){var b=a.definition,c=a.$new(),e={scope:c,templateUrl:g+"widget-fullscreen.html",size:b.modalSize||"lg",backdrop:"static",windowClass:b.fullScreen?"dashboard-modal widget-fullscreen":"dashboard-modal"},f=d.open(e);c.closeDialog=function(){f.close(),c.$destroy()}}}],compile:function(){return{pre:h,post:i}}}}]),angular.module("adf").run(["$templateCache",function(a){a.put("../src/templates/dashboard-column.html",'<div adf-id={{column.cid}} class=column ng-class=column.styleClass ng-model=column.widgets> <adf-widget ng-repeat="definition in column.widgets" definition=definition column=column edit-mode=editMode options=options widget-state=widgetState>  </adf-widget></div> '),a.put("../src/templates/dashboard-edit.html",'<div class=modal-header> <button type=button class=close ng-click=closeDialog() aria-hidden=true>&times;</button> <h4 class=modal-title>Edit Dashboard</h4> </div> <div class=modal-body> <form role=form> <div class=form-group> <label for=dashboardTitle>Title</label> <input type=text class=form-control id=dashboardTitle ng-model=copy.title required> </div> <div class=form-group> <label>Structure</label> <div class=radio ng-repeat="(key, structure) in structures"> <label> <input type=radio value={{key}} ng-model=model.structure ng-change="changeStructure(key, structure)"> {{key}} </label> </div> </div> </form> </div> <div class=modal-footer> <button type=button class="btn btn-primary" ng-click=closeDialog()>Close</button> </div> '),a.put("../src/templates/dashboard-row.html","<div class=row ng-class=row.styleClass>  </div> "),a.put("../src/templates/dashboard-title.html",'<h1> {{model.title}} <span style="font-size: 16px" class=pull-right> <a href ng-if=editMode title="add new widget" ng-click=addWidgetDialog()> <i class="glyphicon glyphicon-plus-sign"></i> </a> <a href ng-if=editMode title="edit dashboard" ng-click=editDashboardDialog()> <i class="glyphicon glyphicon-cog"></i> </a> <a href ng-if=options.editable title="{{editMode ? \'save changes\' : \'enable edit mode\'}}" ng-click=toggleEditMode()> <i class=glyphicon x-ng-class="{\'glyphicon-edit\' : !editMode, \'glyphicon-save\' : editMode}"></i> </a> <a href ng-if=editMode title="undo changes" ng-click=cancelEditMode()> <i class="glyphicon glyphicon-repeat adf-flip"></i> </a> </span> </h1> '),a.put("../src/templates/dashboard.html",'<div class=dashboard-container> <div ng-include src=model.titleTemplateUrl></div> <div class=dashboard x-ng-class="{\'edit\' : editMode}"> <adf-dashboard-row row=row adf-model=model options=options ng-repeat="row in model.rows" edit-mode=editMode continuous-edit-mode=continuousEditMode> </adf-dashboard-row></div> </div> '),a.put("../src/templates/widget-add.html",'<div class=modal-header> <button type=button class=close ng-click=closeDialog() aria-hidden=true>&times;</button> <h4 class=modal-title>Add new widget</h4> </div> <div class=modal-body> <div style="display: inline-block;"> <dl class=dl-horizontal> <dt ng-repeat-start="(key, widget) in widgets"> <a href ng-click=addWidget(key)> {{widget.title}} </a> </dt> <dd ng-repeat-end ng-if=widget.description> {{widget.description}} </dd> </dl> </div> </div> <div class=modal-footer> <button type=button class="btn btn-primary" ng-click=closeDialog()>Close</button> </div>'),a.put("../src/templates/widget-delete.html",'<div class=modal-header> <h4 class=modal-title>Delete {{widget.title}}</h4> </div> <div class=modal-body> <form role=form> <div class=form-group> <label for=widgetTitle>Are you sure you want to delete this widget ?</label> </div> </form> </div> <div class=modal-footer> <button type=button class="btn btn-default" ng-click=closeDialog()>Close</button> <button type=button class="btn btn-primary" ng-click=deleteDialog()>Delete</button> </div> '),a.put("../src/templates/widget-edit.html",'<form name=widgetEditForm novalidate role=form ng-submit=saveDialog()> <div class=modal-header> <button type=button class=close ng-click=closeDialog() aria-hidden=true>&times;</button> <h4 class=modal-title>{{widget.title}}</h4> </div> <div class=modal-body> <div class="alert alert-danger" role=alert ng-show=validationError> <strong>Apply error:</strong> {{validationError}} </div> <div class=form-group> <label for=widgetTitle>Title</label> <input type=text class=form-control id=widgetTitle ng-model=definition.title placeholder="Enter title" required> </div> <div ng-if=widget.edit> <adf-widget-content model=definition content=widget.edit> </adf-widget-content></div> </div> <div class=modal-footer> <button type=button class="btn btn-default" ng-click=closeDialog()>Cancel</button> <input type=submit class="btn btn-primary" ng-disabled=widgetEditForm.$invalid value=Apply> </div> </form> '),a.put("../src/templates/widget-fullscreen.html",'<div class=modal-header> <div class="pull-right widget-icons"> <a href title="Reload Widget Content" ng-if=widget.reload ng-click=reload()> <i class="glyphicon glyphicon-refresh"></i> </a> <a href title=close ng-click=closeDialog()> <i class="glyphicon glyphicon-remove"></i> </a> </div> <h4 class=modal-title>{{definition.title}}</h4> </div> <div class=modal-body> <adf-widget-content model=definition content=widget> </adf-widget-content></div> <div class=modal-footer> <button type=button class="btn btn-primary" ng-click=closeDialog()>Close</button> </div> '),a.put("../src/templates/widget-title.html",'<h3 class=panel-title> {{definition.title}} <span class=pull-right> <a href title="reload widget content" ng-if=widget.reload ng-click=reload()> <i class="glyphicon glyphicon-refresh"></i> </a>  <a href title="change widget location" class=adf-move ng-if=editMode> <i class="glyphicon glyphicon-move"></i> </a>  <a href title="collapse widget" ng-show="options.collapsible && !widgetState.isCollapsed" ng-click="widgetState.isCollapsed = !widgetState.isCollapsed"> <i class="glyphicon glyphicon-minus"></i> </a>  <a href title="expand widget" ng-show="options.collapsible && widgetState.isCollapsed" ng-click="widgetState.isCollapsed = !widgetState.isCollapsed"> <i class="glyphicon glyphicon-plus"></i> </a>  <a href title="edit widget configuration" ng-click=edit() ng-if=editMode> <i class="glyphicon glyphicon-cog"></i> </a> <a href title="fullscreen widget" ng-click=openFullScreen() ng-show=options.maximizable> <i class="glyphicon glyphicon-fullscreen"></i> </a>  <a href title="remove widget" ng-click=remove() ng-if=editMode> <i class="glyphicon glyphicon-remove"></i> </a> </span> </h3> '),a.put("../src/templates/widget.html",'<div adf-id={{definition.wid}} adf-widget-type={{definition.type}} ng-class="widgetClasses(widget, definition)" class=widget> <div class="panel-heading clearfix" ng-if="!widget.frameless || editMode"> <div ng-include src=definition.titleTemplateUrl></div> </div> <div ng-class="{\'panel-body\':!widget.frameless || editMode}" uib-collapse=widgetState.isCollapsed> <adf-widget-content model=definition content=widget> </adf-widget-content></div> </div> ')}])}(window),angular.module("adf.structures.base",["adf"]).config(["dashboardProvider",function(a){a.structure("6-6",{rows:[{columns:[{styleClass:"col-md-6"},{styleClass:"col-md-6"}]}]}).structure("4-8",{rows:[{columns:[{styleClass:"col-md-4",widgets:[]},{styleClass:"col-md-8",widgets:[]}]}]}).structure("12/4-4-4",{rows:[{columns:[{styleClass:"col-md-12"}]},{columns:[{styleClass:"col-md-4"},{styleClass:"col-md-4"},{styleClass:"col-md-4"}]}]}).structure("12/6-6",{rows:[{columns:[{styleClass:"col-md-12"}]},{columns:[{styleClass:"col-md-6"},{styleClass:"col-md-6"}]}]}).structure("12/6-6/12",{rows:[{columns:[{styleClass:"col-md-12"}]},{columns:[{styleClass:"col-md-6"},{styleClass:"col-md-6"}]},{columns:[{styleClass:"col-md-12"}]}]}).structure("3-9 (12/6-6)",{rows:[{columns:[{styleClass:"col-md-3"},{styleClass:"col-md-9",rows:[{columns:[{styleClass:"col-md-12"}]},{columns:[{styleClass:"col-md-6"},{styleClass:"col-md-6"}]}]}]}]})}]),function(a,b){"use strict";angular.module("adf.widget.clock",["adf.provider"]).config(["dashboardProvider",function(a){a.widget("clock",{title:"Clock",description:"Displays date and time",templateUrl:"{widgetsPath}/clock/src/view.html",controller:"clockController",controllerAs:"clock",config:{timePattern:"HH:mm:ss",datePattern:"YYYY-MM-DD"},edit:{templateUrl:"{widgetsPath}/clock/src/edit.html"}})}]).controller("clockController",["$scope","$interval","config",function(a,b,c){function d(){var a=new moment;e.time=a.format(c.timePattern),e.date=a.format(c.datePattern)}var e=this;d();var f=b(d,1e3);a.$on("$destroy",function(){b.cancel(f)})}]),angular.module("adf.widget.clock").run(["$templateCache",function(a){a.put("{widgetsPath}/clock/src/edit.html",'<form role=form><div class=form-group><label for=time>Time pattern</label> <input type=text class=form-control id=time ng-model=config.timePattern></div><div class=form-group><label for=date>Date pattern</label> <input type=text class=form-control id=date ng-model=config.datePattern></div><p class=text-info>For the list of possible patterns, please have a look at <a target=_blank href="http://momentjs.com/docs/#/displaying/">moment.js documentation</a></p></form>'),a.put("{widgetsPath}/clock/src/view.html","<div class=clock><div class=clock-time>{{clock.time}}</div><div class=clock-date>{{clock.date}}</div></div>")}])}(window),function(a,b){"use strict";angular.module("adf.widget.iframe",["adf.provider"]).config(["dashboardProvider",function(a){a.widget("iframe",{title:"iframe",description:"Embed an external page into the dashboard",templateUrl:"{widgetsPath}/iframe/src/view.html",controller:"iframeController",controllerAs:"iframe",edit:{templateUrl:"{widgetsPath}/iframe/src/edit.html"},config:{height:"420px"}})}]).controller("iframeController",["$sce","config",function(a,b){b.url&&(this.url=a.trustAsResourceUrl(b.url))}]),angular.module("adf.widget.iframe").run(["$templateCache",function(a){a.put("{widgetsPath}/iframe/src/edit.html","<form role=form><div class=form-group><label for=url>URL</label> <input type=url class=form-control id=url ng-model=config.url placeholder=http://www.example.com></div><div class=form-group><label for=url>Height</label> <input type=text class=form-control id=url ng-model=config.height></div></form>"),a.put("{widgetsPath}/iframe/src/view.html",'<div><div class="alert alert-info" ng-if=!config.url>Please insert a url in the widget configuration</div><iframe ng-if=iframe.url class=adf-iframe style="height: {{config.height}}" src={{iframe.url}}></iframe></div>')}])}(window),!function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;"undefined"!=typeof window?b=window:"undefined"!=typeof global?b=global:"undefined"!=typeof self&&(b=self),b.io=a()}}(function(){var a;return function b(a,c,d){function e(g,h){if(!c[g]){if(!a[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};a[g][0].call(j.exports,function(b){var c=a[g][1][b];return e(c?c:b)},j,j.exports,b,a,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){b.exports=a("./lib/")},{"./lib/":2}],2:[function(a,b,c){function d(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d=e(a),f=d.source,j=d.id;return b.forceNew||b["force new connection"]||!1===b.multiplex?(h("ignoring socket cache for %s",f),c=g(f,b)):(i[j]||(h("new io instance for %s",f),i[j]=g(f,b)),c=i[j]),c.socket(d.path)}var e=a("./url"),f=a("socket.io-parser"),g=a("./manager"),h=a("debug")("socket.io-client");b.exports=c=d;var i=c.managers={};c.protocol=f.protocol,c.connect=d,c.Manager=a("./manager"),c.Socket=a("./socket")},{"./manager":3,"./socket":5,"./url":6,debug:10,"socket.io-parser":44}],3:[function(a,b,c){function d(a,b){return this instanceof d?(a&&"object"==typeof a&&(b=a,a=void 0),b=b||{},b.path=b.path||"/socket.io",this.nsps={},this.subs=[],this.opts=b,this.reconnection(b.reconnection!==!1),this.reconnectionAttempts(b.reconnectionAttempts||1/0),this.reconnectionDelay(b.reconnectionDelay||1e3),this.reconnectionDelayMax(b.reconnectionDelayMax||5e3),this.randomizationFactor(b.randomizationFactor||.5),this.backoff=new m({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==b.timeout?2e4:b.timeout),this.readyState="closed",this.uri=a,this.connected=[],this.encoding=!1,this.packetBuffer=[],this.encoder=new h.Encoder,this.decoder=new h.Decoder,this.autoConnect=b.autoConnect!==!1,void(this.autoConnect&&this.open())):new d(a,b)}var e=(a("./url"),a("engine.io-client")),f=a("./socket"),g=a("component-emitter"),h=a("socket.io-parser"),i=a("./on"),j=a("component-bind"),k=(a("object-component"),a("debug")("socket.io-client:manager")),l=a("indexof"),m=a("backo2");b.exports=d,d.prototype.emitAll=function(){this.emit.apply(this,arguments);for(var a in this.nsps)this.nsps[a].emit.apply(this.nsps[a],arguments)},d.prototype.updateSocketIds=function(){for(var a in this.nsps)this.nsps[a].id=this.engine.id},g(d.prototype),d.prototype.reconnection=function(a){return arguments.length?(this._reconnection=!!a,this):this._reconnection},d.prototype.reconnectionAttempts=function(a){return arguments.length?(this._reconnectionAttempts=a,this):this._reconnectionAttempts},d.prototype.reconnectionDelay=function(a){return arguments.length?(this._reconnectionDelay=a,this.backoff&&this.backoff.setMin(a),this):this._reconnectionDelay},d.prototype.randomizationFactor=function(a){return arguments.length?(this._randomizationFactor=a,this.backoff&&this.backoff.setJitter(a),this):this._randomizationFactor},d.prototype.reconnectionDelayMax=function(a){return arguments.length?(this._reconnectionDelayMax=a,this.backoff&&this.backoff.setMax(a),this):this._reconnectionDelayMax},d.prototype.timeout=function(a){return arguments.length?(this._timeout=a,this):this._timeout},d.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},d.prototype.open=d.prototype.connect=function(a){if(k("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;k("opening %s",this.uri),this.engine=e(this.uri,this.opts);var b=this.engine,c=this;this.readyState="opening",this.skipReconnect=!1;var d=i(b,"open",function(){c.onopen(),a&&a()}),f=i(b,"error",function(b){if(k("connect_error"),c.cleanup(),c.readyState="closed",c.emitAll("connect_error",b),a){var d=new Error("Connection error");d.data=b,a(d)}else c.maybeReconnectOnOpen()});if(!1!==this._timeout){var g=this._timeout;k("connect attempt will timeout after %d",g);var h=setTimeout(function(){k("connect attempt timed out after %d",g),d.destroy(),b.close(),b.emit("error","timeout"),c.emitAll("connect_timeout",g)},g);this.subs.push({destroy:function(){clearTimeout(h)}})}return this.subs.push(d),this.subs.push(f),this},d.prototype.onopen=function(){k("open"),this.cleanup(),this.readyState="open",this.emit("open");var a=this.engine;this.subs.push(i(a,"data",j(this,"ondata"))),this.subs.push(i(this.decoder,"decoded",j(this,"ondecoded"))),this.subs.push(i(a,"error",j(this,"onerror"))),this.subs.push(i(a,"close",j(this,"onclose")))},d.prototype.ondata=function(a){this.decoder.add(a)},d.prototype.ondecoded=function(a){this.emit("packet",a)},d.prototype.onerror=function(a){k("error",a),this.emitAll("error",a)},d.prototype.socket=function(a){var b=this.nsps[a];if(!b){b=new f(this,a),this.nsps[a]=b;var c=this;b.on("connect",function(){b.id=c.engine.id,~l(c.connected,b)||c.connected.push(b)})}return b},d.prototype.destroy=function(a){var b=l(this.connected,a);~b&&this.connected.splice(b,1),this.connected.length||this.close()},d.prototype.packet=function(a){k("writing packet %j",a);var b=this;b.encoding?b.packetBuffer.push(a):(b.encoding=!0,this.encoder.encode(a,function(a){for(var c=0;c<a.length;c++)b.engine.write(a[c]);b.encoding=!1,b.processPacketQueue()}))},d.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var a=this.packetBuffer.shift();this.packet(a)}},d.prototype.cleanup=function(){for(var a;a=this.subs.shift();)a.destroy();this.packetBuffer=[],this.encoding=!1,this.decoder.destroy()},d.prototype.close=d.prototype.disconnect=function(){this.skipReconnect=!0,this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},d.prototype.onclose=function(a){k("close"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",a),this._reconnection&&!this.skipReconnect&&this.reconnect()},d.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var a=this;if(this.backoff.attempts>=this._reconnectionAttempts)k("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var b=this.backoff.duration();k("will wait %dms before reconnect attempt",b),this.reconnecting=!0;var c=setTimeout(function(){a.skipReconnect||(k("attempting reconnect"),a.emitAll("reconnect_attempt",a.backoff.attempts),a.emitAll("reconnecting",a.backoff.attempts),a.skipReconnect||a.open(function(b){b?(k("reconnect attempt error"),a.reconnecting=!1,a.reconnect(),a.emitAll("reconnect_error",b.data)):(k("reconnect success"),a.onreconnect())}))},b);this.subs.push({destroy:function(){clearTimeout(c)}})}},d.prototype.onreconnect=function(){var a=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",a)}},{"./on":4,"./socket":5,"./url":6,backo2:7,"component-bind":8,"component-emitter":9,debug:10,"engine.io-client":11,indexof:40,"object-component":41,"socket.io-parser":44}],4:[function(a,b,c){function d(a,b,c){return a.on(b,c),{destroy:function(){a.removeListener(b,c)}}}b.exports=d},{}],5:[function(a,b,c){function d(a,b){this.io=a,this.nsp=b,this.json=this,this.ids=0,this.acks={},this.io.autoConnect&&this.open(),this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0}var e=a("socket.io-parser"),f=a("component-emitter"),g=a("to-array"),h=a("./on"),i=a("component-bind"),j=a("debug")("socket.io-client:socket"),k=a("has-binary");b.exports=c=d;var l={connect:1,connect_error:1,connect_timeout:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1},m=f.prototype.emit;f(d.prototype),d.prototype.subEvents=function(){if(!this.subs){var a=this.io;this.subs=[h(a,"open",i(this,"onopen")),h(a,"packet",i(this,"onpacket")),h(a,"close",i(this,"onclose"))]}},d.prototype.open=d.prototype.connect=function(){return this.connected?this:(this.subEvents(),this.io.open(),"open"==this.io.readyState&&this.onopen(),this)},d.prototype.send=function(){var a=g(arguments);return a.unshift("message"),this.emit.apply(this,a),this},d.prototype.emit=function(a){if(l.hasOwnProperty(a))return m.apply(this,arguments),this;var b=g(arguments),c=e.EVENT;k(b)&&(c=e.BINARY_EVENT);var d={type:c,data:b};return"function"==typeof b[b.length-1]&&(j("emitting packet with ack id %d",this.ids),this.acks[this.ids]=b.pop(),d.id=this.ids++),this.connected?this.packet(d):this.sendBuffer.push(d),this},d.prototype.packet=function(a){a.nsp=this.nsp,this.io.packet(a)},d.prototype.onopen=function(){j("transport is open - connecting"),"/"!=this.nsp&&this.packet({type:e.CONNECT})},d.prototype.onclose=function(a){j("close (%s)",a),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",a)},d.prototype.onpacket=function(a){if(a.nsp==this.nsp)switch(a.type){case e.CONNECT:this.onconnect();break;case e.EVENT:this.onevent(a);break;case e.BINARY_EVENT:this.onevent(a);break;case e.ACK:this.onack(a);break;case e.BINARY_ACK:this.onack(a);break;case e.DISCONNECT:this.ondisconnect();break;case e.ERROR:this.emit("error",a.data)}},d.prototype.onevent=function(a){var b=a.data||[];j("emitting event %j",b),null!=a.id&&(j("attaching ack callback to event"),b.push(this.ack(a.id))),this.connected?m.apply(this,b):this.receiveBuffer.push(b)},d.prototype.ack=function(a){var b=this,c=!1;return function(){if(!c){c=!0;var d=g(arguments);j("sending ack %j",d);var f=k(d)?e.BINARY_ACK:e.ACK;b.packet({type:f,id:a,data:d})}}},d.prototype.onack=function(a){j("calling ack %s with %j",a.id,a.data);var b=this.acks[a.id];b.apply(this,a.data),delete this.acks[a.id]},d.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},d.prototype.emitBuffered=function(){var a;for(a=0;a<this.receiveBuffer.length;a++)m.apply(this,this.receiveBuffer[a]);for(this.receiveBuffer=[],a=0;a<this.sendBuffer.length;a++)this.packet(this.sendBuffer[a]);this.sendBuffer=[]},d.prototype.ondisconnect=function(){j("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},d.prototype.destroy=function(){if(this.subs){for(var a=0;a<this.subs.length;a++)this.subs[a].destroy();this.subs=null}this.io.destroy(this)},d.prototype.close=d.prototype.disconnect=function(){return this.connected&&(j("performing disconnect (%s)",this.nsp),this.packet({type:e.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}},{"./on":4,"component-bind":8,"component-emitter":9,debug:10,"has-binary":36,"socket.io-parser":44,"to-array":48}],6:[function(a,b,c){(function(c){function d(a,b){var d=a,b=b||c.location;return null==a&&(a=b.protocol+"//"+b.host),"string"==typeof a&&("/"==a.charAt(0)&&(a="/"==a.charAt(1)?b.protocol+a:b.hostname+a),/^(https?|wss?):\/\//.test(a)||(f("protocol-less url %s",a),a="undefined"!=typeof b?b.protocol+"//"+a:"https://"+a),f("parse %s",a),d=e(a)),d.port||(/^(http|ws)$/.test(d.protocol)?d.port="80":/^(http|ws)s$/.test(d.protocol)&&(d.port="443")),d.path=d.path||"/",d.id=d.protocol+"://"+d.host+":"+d.port,d.href=d.protocol+"://"+d.host+(b&&b.port==d.port?"":":"+d.port),d}var e=a("parseuri"),f=a("debug")("socket.io-client:url");b.exports=d}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{debug:10,parseuri:42}],7:[function(a,b,c){function d(a){a=a||{},this.ms=a.min||100,this.max=a.max||1e4,this.factor=a.factor||2,this.jitter=a.jitter>0&&a.jitter<=1?a.jitter:0,this.attempts=0}b.exports=d,d.prototype.duration=function(){var a=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var b=Math.random(),c=Math.floor(b*this.jitter*a);a=0==(1&Math.floor(10*b))?a-c:a+c}return 0|Math.min(a,this.max)},d.prototype.reset=function(){this.attempts=0},d.prototype.setMin=function(a){this.ms=a},d.prototype.setMax=function(a){this.max=a},d.prototype.setJitter=function(a){this.jitter=a}},{}],8:[function(a,b,c){var d=[].slice;b.exports=function(a,b){if("string"==typeof b&&(b=a[b]),"function"!=typeof b)throw new Error("bind() requires a function");var c=d.call(arguments,2);return function(){return b.apply(a,c.concat(d.call(arguments)))}}},{}],9:[function(a,b,c){function d(a){return a?e(a):void 0}function e(a){for(var b in d.prototype)a[b]=d.prototype[b];return a}b.exports=d,d.prototype.on=d.prototype.addEventListener=function(a,b){return this._callbacks=this._callbacks||{},(this._callbacks[a]=this._callbacks[a]||[]).push(b),this},d.prototype.once=function(a,b){function c(){d.off(a,c),b.apply(this,arguments)}var d=this;return this._callbacks=this._callbacks||{},c.fn=b,this.on(a,c),this},d.prototype.off=d.prototype.removeListener=d.prototype.removeAllListeners=d.prototype.removeEventListener=function(a,b){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var c=this._callbacks[a];if(!c)return this;if(1==arguments.length)return delete this._callbacks[a],this;for(var d,e=0;e<c.length;e++)if(d=c[e],d===b||d.fn===b){c.splice(e,1);break}return this},d.prototype.emit=function(a){
-this._callbacks=this._callbacks||{};var b=[].slice.call(arguments,1),c=this._callbacks[a];if(c){c=c.slice(0);for(var d=0,e=c.length;e>d;++d)c[d].apply(this,b)}return this},d.prototype.listeners=function(a){return this._callbacks=this._callbacks||{},this._callbacks[a]||[]},d.prototype.hasListeners=function(a){return!!this.listeners(a).length}},{}],10:[function(a,b,c){function d(a){return d.enabled(a)?function(b){b=e(b);var c=new Date,f=c-(d[a]||c);d[a]=c,b=a+" "+b+" +"+d.humanize(f),window.console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}:function(){}}function e(a){return a instanceof Error?a.stack||a.message:a}b.exports=d,d.names=[],d.skips=[],d.enable=function(a){try{localStorage.debug=a}catch(b){}for(var c=(a||"").split(/[\s,]+/),e=c.length,f=0;e>f;f++)a=c[f].replace("*",".*?"),"-"===a[0]?d.skips.push(new RegExp("^"+a.substr(1)+"$")):d.names.push(new RegExp("^"+a+"$"))},d.disable=function(){d.enable("")},d.humanize=function(a){var b=1e3,c=6e4,d=60*c;return a>=d?(a/d).toFixed(1)+"h":a>=c?(a/c).toFixed(1)+"m":a>=b?(a/b|0)+"s":a+"ms"},d.enabled=function(a){for(var b=0,c=d.skips.length;c>b;b++)if(d.skips[b].test(a))return!1;for(var b=0,c=d.names.length;c>b;b++)if(d.names[b].test(a))return!0;return!1};try{window.localStorage&&d.enable(localStorage.debug)}catch(f){}},{}],11:[function(a,b,c){b.exports=a("./lib/")},{"./lib/":12}],12:[function(a,b,c){b.exports=a("./socket"),b.exports.parser=a("engine.io-parser")},{"./socket":13,"engine.io-parser":25}],13:[function(a,b,c){(function(c){function d(a,b){if(!(this instanceof d))return new d(a,b);if(b=b||{},a&&"object"==typeof a&&(b=a,a=null),a&&(a=k(a),b.host=a.host,b.secure="https"==a.protocol||"wss"==a.protocol,b.port=a.port,a.query&&(b.query=a.query)),this.secure=null!=b.secure?b.secure:c.location&&"https:"==location.protocol,b.host){var e=b.host.split(":");b.hostname=e.shift(),e.length?b.port=e.pop():b.port||(b.port=this.secure?"443":"80")}this.agent=b.agent||!1,this.hostname=b.hostname||(c.location?location.hostname:"localhost"),this.port=b.port||(c.location&&location.port?location.port:this.secure?443:80),this.query=b.query||{},"string"==typeof this.query&&(this.query=m.decode(this.query)),this.upgrade=!1!==b.upgrade,this.path=(b.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!b.forceJSONP,this.jsonp=!1!==b.jsonp,this.forceBase64=!!b.forceBase64,this.enablesXDR=!!b.enablesXDR,this.timestampParam=b.timestampParam||"t",this.timestampRequests=b.timestampRequests,this.transports=b.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.callbackBuffer=[],this.policyPort=b.policyPort||843,this.rememberUpgrade=b.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=b.onlyBinaryUpgrades,this.pfx=b.pfx||null,this.key=b.key||null,this.passphrase=b.passphrase||null,this.cert=b.cert||null,this.ca=b.ca||null,this.ciphers=b.ciphers||null,this.rejectUnauthorized=b.rejectUnauthorized||null,this.open()}function e(a){var b={};for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b}var f=a("./transports"),g=a("component-emitter"),h=a("debug")("engine.io-client:socket"),i=a("indexof"),j=a("engine.io-parser"),k=a("parseuri"),l=a("parsejson"),m=a("parseqs");b.exports=d,d.priorWebsocketSuccess=!1,g(d.prototype),d.protocol=j.protocol,d.Socket=d,d.Transport=a("./transport"),d.transports=a("./transports"),d.parser=a("engine.io-parser"),d.prototype.createTransport=function(a){h('creating transport "%s"',a);var b=e(this.query);b.EIO=j.protocol,b.transport=a,this.id&&(b.sid=this.id);var c=new f[a]({agent:this.agent,hostname:this.hostname,port:this.port,secure:this.secure,path:this.path,query:b,forceJSONP:this.forceJSONP,jsonp:this.jsonp,forceBase64:this.forceBase64,enablesXDR:this.enablesXDR,timestampRequests:this.timestampRequests,timestampParam:this.timestampParam,policyPort:this.policyPort,socket:this,pfx:this.pfx,key:this.key,passphrase:this.passphrase,cert:this.cert,ca:this.ca,ciphers:this.ciphers,rejectUnauthorized:this.rejectUnauthorized});return c},d.prototype.open=function(){var a;if(this.rememberUpgrade&&d.priorWebsocketSuccess&&-1!=this.transports.indexOf("websocket"))a="websocket";else{if(0==this.transports.length){var b=this;return void setTimeout(function(){b.emit("error","No transports available")},0)}a=this.transports[0]}this.readyState="opening";var a;try{a=this.createTransport(a)}catch(c){return this.transports.shift(),void this.open()}a.open(),this.setTransport(a)},d.prototype.setTransport=function(a){h("setting transport %s",a.name);var b=this;this.transport&&(h("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=a,a.on("drain",function(){b.onDrain()}).on("packet",function(a){b.onPacket(a)}).on("error",function(a){b.onError(a)}).on("close",function(){b.onClose("transport close")})},d.prototype.probe=function(a){function b(){if(m.onlyBinaryUpgrades){var b=!this.supportsBinary&&m.transport.supportsBinary;l=l||b}l||(h('probe transport "%s" opened',a),k.send([{type:"ping",data:"probe"}]),k.once("packet",function(b){if(!l)if("pong"==b.type&&"probe"==b.data){if(h('probe transport "%s" pong',a),m.upgrading=!0,m.emit("upgrading",k),!k)return;d.priorWebsocketSuccess="websocket"==k.name,h('pausing current transport "%s"',m.transport.name),m.transport.pause(function(){l||"closed"!=m.readyState&&(h("changing transport and sending upgrade packet"),j(),m.setTransport(k),k.send([{type:"upgrade"}]),m.emit("upgrade",k),k=null,m.upgrading=!1,m.flush())})}else{h('probe transport "%s" failed',a);var c=new Error("probe error");c.transport=k.name,m.emit("upgradeError",c)}}))}function c(){l||(l=!0,j(),k.close(),k=null)}function e(b){var d=new Error("probe error: "+b);d.transport=k.name,c(),h('probe transport "%s" failed because of error: %s',a,b),m.emit("upgradeError",d)}function f(){e("transport closed")}function g(){e("socket closed")}function i(a){k&&a.name!=k.name&&(h('"%s" works - aborting "%s"',a.name,k.name),c())}function j(){k.removeListener("open",b),k.removeListener("error",e),k.removeListener("close",f),m.removeListener("close",g),m.removeListener("upgrading",i)}h('probing transport "%s"',a);var k=this.createTransport(a,{probe:1}),l=!1,m=this;d.priorWebsocketSuccess=!1,k.once("open",b),k.once("error",e),k.once("close",f),this.once("close",g),this.once("upgrading",i),k.open()},d.prototype.onOpen=function(){if(h("socket open"),this.readyState="open",d.priorWebsocketSuccess="websocket"==this.transport.name,this.emit("open"),this.flush(),"open"==this.readyState&&this.upgrade&&this.transport.pause){h("starting upgrade probes");for(var a=0,b=this.upgrades.length;b>a;a++)this.probe(this.upgrades[a])}},d.prototype.onPacket=function(a){if("opening"==this.readyState||"open"==this.readyState)switch(h('socket receive: type "%s", data "%s"',a.type,a.data),this.emit("packet",a),this.emit("heartbeat"),a.type){case"open":this.onHandshake(l(a.data));break;case"pong":this.setPing();break;case"error":var b=new Error("server error");b.code=a.data,this.emit("error",b);break;case"message":this.emit("data",a.data),this.emit("message",a.data)}else h('packet received with socket readyState "%s"',this.readyState)},d.prototype.onHandshake=function(a){this.emit("handshake",a),this.id=a.sid,this.transport.query.sid=a.sid,this.upgrades=this.filterUpgrades(a.upgrades),this.pingInterval=a.pingInterval,this.pingTimeout=a.pingTimeout,this.onOpen(),"closed"!=this.readyState&&(this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat))},d.prototype.onHeartbeat=function(a){clearTimeout(this.pingTimeoutTimer);var b=this;b.pingTimeoutTimer=setTimeout(function(){"closed"!=b.readyState&&b.onClose("ping timeout")},a||b.pingInterval+b.pingTimeout)},d.prototype.setPing=function(){var a=this;clearTimeout(a.pingIntervalTimer),a.pingIntervalTimer=setTimeout(function(){h("writing ping packet - expecting pong within %sms",a.pingTimeout),a.ping(),a.onHeartbeat(a.pingTimeout)},a.pingInterval)},d.prototype.ping=function(){this.sendPacket("ping")},d.prototype.onDrain=function(){for(var a=0;a<this.prevBufferLen;a++)this.callbackBuffer[a]&&this.callbackBuffer[a]();this.writeBuffer.splice(0,this.prevBufferLen),this.callbackBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0==this.writeBuffer.length?this.emit("drain"):this.flush()},d.prototype.flush=function(){"closed"!=this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(h("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},d.prototype.write=d.prototype.send=function(a,b){return this.sendPacket("message",a,b),this},d.prototype.sendPacket=function(a,b,c){if("closing"!=this.readyState&&"closed"!=this.readyState){var d={type:a,data:b};this.emit("packetCreate",d),this.writeBuffer.push(d),this.callbackBuffer.push(c),this.flush()}},d.prototype.close=function(){function a(){d.onClose("forced close"),h("socket closing - telling transport to close"),d.transport.close()}function b(){d.removeListener("upgrade",b),d.removeListener("upgradeError",b),a()}function c(){d.once("upgrade",b),d.once("upgradeError",b)}if("opening"==this.readyState||"open"==this.readyState){this.readyState="closing";var d=this;this.writeBuffer.length?this.once("drain",function(){this.upgrading?c():a()}):this.upgrading?c():a()}return this},d.prototype.onError=function(a){h("socket error %j",a),d.priorWebsocketSuccess=!1,this.emit("error",a),this.onClose("transport error",a)},d.prototype.onClose=function(a,b){if("opening"==this.readyState||"open"==this.readyState||"closing"==this.readyState){h('socket close with reason: "%s"',a);var c=this;clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),setTimeout(function(){c.writeBuffer=[],c.callbackBuffer=[],c.prevBufferLen=0},0),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),this.readyState="closed",this.id=null,this.emit("close",a,b)}},d.prototype.filterUpgrades=function(a){for(var b=[],c=0,d=a.length;d>c;c++)~i(this.transports,a[c])&&b.push(a[c]);return b}}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./transport":14,"./transports":15,"component-emitter":9,debug:22,"engine.io-parser":25,indexof:40,parsejson:32,parseqs:33,parseuri:34}],14:[function(a,b,c){function d(a){this.path=a.path,this.hostname=a.hostname,this.port=a.port,this.secure=a.secure,this.query=a.query,this.timestampParam=a.timestampParam,this.timestampRequests=a.timestampRequests,this.readyState="",this.agent=a.agent||!1,this.socket=a.socket,this.enablesXDR=a.enablesXDR,this.pfx=a.pfx,this.key=a.key,this.passphrase=a.passphrase,this.cert=a.cert,this.ca=a.ca,this.ciphers=a.ciphers,this.rejectUnauthorized=a.rejectUnauthorized}var e=a("engine.io-parser"),f=a("component-emitter");b.exports=d,f(d.prototype),d.timestamps=0,d.prototype.onError=function(a,b){var c=new Error(a);return c.type="TransportError",c.description=b,this.emit("error",c),this},d.prototype.open=function(){return("closed"==this.readyState||""==this.readyState)&&(this.readyState="opening",this.doOpen()),this},d.prototype.close=function(){return("opening"==this.readyState||"open"==this.readyState)&&(this.doClose(),this.onClose()),this},d.prototype.send=function(a){if("open"!=this.readyState)throw new Error("Transport not open");this.write(a)},d.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},d.prototype.onData=function(a){var b=e.decodePacket(a,this.socket.binaryType);this.onPacket(b)},d.prototype.onPacket=function(a){this.emit("packet",a)},d.prototype.onClose=function(){this.readyState="closed",this.emit("close")}},{"component-emitter":9,"engine.io-parser":25}],15:[function(a,b,c){(function(b){function d(a){var c,d=!1,h=!1,i=!1!==a.jsonp;if(b.location){var j="https:"==location.protocol,k=location.port;k||(k=j?443:80),d=a.hostname!=location.hostname||k!=a.port,h=a.secure!=j}if(a.xdomain=d,a.xscheme=h,c=new e(a),"open"in c&&!a.forceJSONP)return new f(a);if(!i)throw new Error("JSONP disabled");return new g(a)}var e=a("xmlhttprequest"),f=a("./polling-xhr"),g=a("./polling-jsonp"),h=a("./websocket");c.polling=d,c.websocket=h}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./polling-jsonp":16,"./polling-xhr":17,"./websocket":19,xmlhttprequest:20}],16:[function(a,b,c){(function(c){function d(){}function e(a){f.call(this,a),this.query=this.query||{},h||(c.___eio||(c.___eio=[]),h=c.___eio),this.index=h.length;var b=this;h.push(function(a){b.onData(a)}),this.query.j=this.index,c.document&&c.addEventListener&&c.addEventListener("beforeunload",function(){b.script&&(b.script.onerror=d)},!1)}var f=a("./polling"),g=a("component-inherit");b.exports=e;var h,i=/\n/g,j=/\\n/g;g(e,f),e.prototype.supportsBinary=!1,e.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),f.prototype.doClose.call(this)},e.prototype.doPoll=function(){var a=this,b=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),b.async=!0,b.src=this.uri(),b.onerror=function(b){a.onError("jsonp poll error",b)};var c=document.getElementsByTagName("script")[0];c.parentNode.insertBefore(b,c),this.script=b;var d="undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent);d&&setTimeout(function(){var a=document.createElement("iframe");document.body.appendChild(a),document.body.removeChild(a)},100)},e.prototype.doWrite=function(a,b){function c(){d(),b()}function d(){if(e.iframe)try{e.form.removeChild(e.iframe)}catch(a){e.onError("jsonp polling iframe removal error",a)}try{var b='<iframe src="javascript:0" name="'+e.iframeId+'">';f=document.createElement(b)}catch(a){f=document.createElement("iframe"),f.name=e.iframeId,f.src="javascript:0"}f.id=e.iframeId,e.form.appendChild(f),e.iframe=f}var e=this;if(!this.form){var f,g=document.createElement("form"),h=document.createElement("textarea"),k=this.iframeId="eio_iframe_"+this.index;g.className="socketio",g.style.position="absolute",g.style.top="-1000px",g.style.left="-1000px",g.target=k,g.method="POST",g.setAttribute("accept-charset","utf-8"),h.name="d",g.appendChild(h),document.body.appendChild(g),this.form=g,this.area=h}this.form.action=this.uri(),d(),a=a.replace(j,"\\\n"),this.area.value=a.replace(i,"\\n");try{this.form.submit()}catch(l){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"==e.iframe.readyState&&c()}:this.iframe.onload=c}}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./polling":18,"component-inherit":21}],17:[function(a,b,c){(function(c){function d(){}function e(a){if(i.call(this,a),c.location){var b="https:"==location.protocol,d=location.port;d||(d=b?443:80),this.xd=a.hostname!=c.location.hostname||d!=a.port,this.xs=a.secure!=b}}function f(a){this.method=a.method||"GET",this.uri=a.uri,this.xd=!!a.xd,this.xs=!!a.xs,this.async=!1!==a.async,this.data=void 0!=a.data?a.data:null,this.agent=a.agent,this.isBinary=a.isBinary,this.supportsBinary=a.supportsBinary,this.enablesXDR=a.enablesXDR,this.pfx=a.pfx,this.key=a.key,this.passphrase=a.passphrase,this.cert=a.cert,this.ca=a.ca,this.ciphers=a.ciphers,this.rejectUnauthorized=a.rejectUnauthorized,this.create()}function g(){for(var a in f.requests)f.requests.hasOwnProperty(a)&&f.requests[a].abort()}var h=a("xmlhttprequest"),i=a("./polling"),j=a("component-emitter"),k=a("component-inherit"),l=a("debug")("engine.io-client:polling-xhr");b.exports=e,b.exports.Request=f,k(e,i),e.prototype.supportsBinary=!0,e.prototype.request=function(a){return a=a||{},a.uri=this.uri(),a.xd=this.xd,a.xs=this.xs,a.agent=this.agent||!1,a.supportsBinary=this.supportsBinary,a.enablesXDR=this.enablesXDR,a.pfx=this.pfx,a.key=this.key,a.passphrase=this.passphrase,a.cert=this.cert,a.ca=this.ca,a.ciphers=this.ciphers,a.rejectUnauthorized=this.rejectUnauthorized,new f(a)},e.prototype.doWrite=function(a,b){var c="string"!=typeof a&&void 0!==a,d=this.request({method:"POST",data:a,isBinary:c}),e=this;d.on("success",b),d.on("error",function(a){e.onError("xhr post error",a)}),this.sendXhr=d},e.prototype.doPoll=function(){l("xhr poll");var a=this.request(),b=this;a.on("data",function(a){b.onData(a)}),a.on("error",function(a){b.onError("xhr poll error",a)}),this.pollXhr=a},j(f.prototype),f.prototype.create=function(){var a={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};a.pfx=this.pfx,a.key=this.key,a.passphrase=this.passphrase,a.cert=this.cert,a.ca=this.ca,a.ciphers=this.ciphers,a.rejectUnauthorized=this.rejectUnauthorized;var b=this.xhr=new h(a),d=this;try{if(l("xhr open %s: %s",this.method,this.uri),b.open(this.method,this.uri,this.async),this.supportsBinary&&(b.responseType="arraybuffer"),"POST"==this.method)try{this.isBinary?b.setRequestHeader("Content-type","application/octet-stream"):b.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}"withCredentials"in b&&(b.withCredentials=!0),this.hasXDR()?(b.onload=function(){d.onLoad()},b.onerror=function(){d.onError(b.responseText)}):b.onreadystatechange=function(){4==b.readyState&&(200==b.status||1223==b.status?d.onLoad():setTimeout(function(){d.onError(b.status)},0))},l("xhr data %s",this.data),b.send(this.data)}catch(e){return void setTimeout(function(){d.onError(e)},0)}c.document&&(this.index=f.requestsCount++,f.requests[this.index]=this)},f.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},f.prototype.onData=function(a){this.emit("data",a),this.onSuccess()},f.prototype.onError=function(a){this.emit("error",a),this.cleanup(!0)},f.prototype.cleanup=function(a){if("undefined"!=typeof this.xhr&&null!==this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=d:this.xhr.onreadystatechange=d,a)try{this.xhr.abort()}catch(b){}c.document&&delete f.requests[this.index],this.xhr=null}},f.prototype.onLoad=function(){var a;try{var b;try{b=this.xhr.getResponseHeader("Content-Type").split(";")[0]}catch(c){}a="application/octet-stream"===b?this.xhr.response:this.supportsBinary?"ok":this.xhr.responseText}catch(c){this.onError(c)}null!=a&&this.onData(a)},f.prototype.hasXDR=function(){return"undefined"!=typeof c.XDomainRequest&&!this.xs&&this.enablesXDR},f.prototype.abort=function(){this.cleanup()},c.document&&(f.requestsCount=0,f.requests={},c.attachEvent?c.attachEvent("onunload",g):c.addEventListener&&c.addEventListener("beforeunload",g,!1))}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./polling":18,"component-emitter":9,"component-inherit":21,debug:22,xmlhttprequest:20}],18:[function(a,b,c){function d(a){var b=a&&a.forceBase64;(!j||b)&&(this.supportsBinary=!1),e.call(this,a)}var e=a("../transport"),f=a("parseqs"),g=a("engine.io-parser"),h=a("component-inherit"),i=a("debug")("engine.io-client:polling");b.exports=d;var j=function(){var b=a("xmlhttprequest"),c=new b({xdomain:!1});return null!=c.responseType}();h(d,e),d.prototype.name="polling",d.prototype.doOpen=function(){this.poll()},d.prototype.pause=function(a){function b(){i("paused"),c.readyState="paused",a()}var c=this;if(this.readyState="pausing",this.polling||!this.writable){var d=0;this.polling&&(i("we are currently polling - waiting to pause"),d++,this.once("pollComplete",function(){i("pre-pause polling complete"),--d||b()})),this.writable||(i("we are currently writing - waiting to pause"),d++,this.once("drain",function(){i("pre-pause writing complete"),--d||b()}))}else b()},d.prototype.poll=function(){i("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},d.prototype.onData=function(a){var b=this;i("polling got data %s",a);var c=function(a,c,d){return"opening"==b.readyState&&b.onOpen(),"close"==a.type?(b.onClose(),!1):void b.onPacket(a)};g.decodePayload(a,this.socket.binaryType,c),"closed"!=this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"==this.readyState?this.poll():i('ignoring poll - transport state "%s"',this.readyState))},d.prototype.doClose=function(){function a(){i("writing close packet"),b.write([{type:"close"}])}var b=this;"open"==this.readyState?(i("transport open - closing"),a()):(i("transport not open - deferring close"),this.once("open",a))},d.prototype.write=function(a){var b=this;this.writable=!1;var c=function(){b.writable=!0,b.emit("drain")},b=this;g.encodePayload(a,this.supportsBinary,function(a){b.doWrite(a,c)})},d.prototype.uri=function(){var a=this.query||{},b=this.secure?"https":"http",c="";return!1!==this.timestampRequests&&(a[this.timestampParam]=+new Date+"-"+e.timestamps++),this.supportsBinary||a.sid||(a.b64=1),a=f.encode(a),this.port&&("https"==b&&443!=this.port||"http"==b&&80!=this.port)&&(c=":"+this.port),a.length&&(a="?"+a),b+"://"+this.hostname+c+this.path+a}},{"../transport":14,"component-inherit":21,debug:22,"engine.io-parser":25,parseqs:33,xmlhttprequest:20}],19:[function(a,b,c){function d(a){var b=a&&a.forceBase64;b&&(this.supportsBinary=!1),e.call(this,a)}var e=a("../transport"),f=a("engine.io-parser"),g=a("parseqs"),h=a("component-inherit"),i=a("debug")("engine.io-client:websocket"),j=a("ws");b.exports=d,h(d,e),d.prototype.name="websocket",d.prototype.supportsBinary=!0,d.prototype.doOpen=function(){if(this.check()){var a=this.uri(),b=void 0,c={agent:this.agent};c.pfx=this.pfx,c.key=this.key,c.passphrase=this.passphrase,c.cert=this.cert,c.ca=this.ca,c.ciphers=this.ciphers,c.rejectUnauthorized=this.rejectUnauthorized,this.ws=new j(a,b,c),void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.binaryType="arraybuffer",this.addEventListeners()}},d.prototype.addEventListeners=function(){var a=this;this.ws.onopen=function(){a.onOpen()},this.ws.onclose=function(){a.onClose()},this.ws.onmessage=function(b){a.onData(b.data)},this.ws.onerror=function(b){a.onError("websocket error",b)}},"undefined"!=typeof navigator&&/iPad|iPhone|iPod/i.test(navigator.userAgent)&&(d.prototype.onData=function(a){var b=this;setTimeout(function(){e.prototype.onData.call(b,a)},0)}),d.prototype.write=function(a){function b(){c.writable=!0,c.emit("drain")}var c=this;this.writable=!1;for(var d=0,e=a.length;e>d;d++)f.encodePacket(a[d],this.supportsBinary,function(a){try{c.ws.send(a)}catch(b){i("websocket closed before onclose event")}});setTimeout(b,0)},d.prototype.onClose=function(){e.prototype.onClose.call(this)},d.prototype.doClose=function(){"undefined"!=typeof this.ws&&this.ws.close()},d.prototype.uri=function(){var a=this.query||{},b=this.secure?"wss":"ws",c="";return this.port&&("wss"==b&&443!=this.port||"ws"==b&&80!=this.port)&&(c=":"+this.port),this.timestampRequests&&(a[this.timestampParam]=+new Date),this.supportsBinary||(a.b64=1),a=g.encode(a),a.length&&(a="?"+a),b+"://"+this.hostname+c+this.path+a},d.prototype.check=function(){return!(!j||"__initialize"in j&&this.name===d.prototype.name)}},{"../transport":14,"component-inherit":21,debug:22,"engine.io-parser":25,parseqs:33,ws:35}],20:[function(a,b,c){var d=a("has-cors");b.exports=function(a){var b=a.xdomain,c=a.xscheme,e=a.enablesXDR;try{if("undefined"!=typeof XMLHttpRequest&&(!b||d))return new XMLHttpRequest}catch(f){}try{if("undefined"!=typeof XDomainRequest&&!c&&e)return new XDomainRequest}catch(f){}if(!b)try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(f){}}},{"has-cors":38}],21:[function(a,b,c){b.exports=function(a,b){var c=function(){};c.prototype=b.prototype,a.prototype=new c,a.prototype.constructor=a}},{}],22:[function(a,b,c){function d(){return"WebkitAppearance"in document.documentElement.style||window.console&&(console.firebug||console.exception&&console.table)||navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31}function e(){var a=arguments,b=this.useColors;if(a[0]=(b?"%c":"")+this.namespace+(b?" %c":" ")+a[0]+(b?"%c ":" ")+"+"+c.humanize(this.diff),!b)return a;var d="color: "+this.color;a=[a[0],d,"color: inherit"].concat(Array.prototype.slice.call(a,1));var e=0,f=0;return a[0].replace(/%[a-z%]/g,function(a){"%%"!==a&&(e++,"%c"===a&&(f=e))}),a.splice(f,0,d),a}function f(){return"object"==typeof console&&"function"==typeof console.log&&Function.prototype.apply.call(console.log,console,arguments)}function g(a){try{null==a?localStorage.removeItem("debug"):localStorage.debug=a}catch(b){}}function h(){var a;try{a=localStorage.debug}catch(b){}return a}c=b.exports=a("./debug"),c.log=f,c.formatArgs=e,c.save=g,c.load=h,c.useColors=d,c.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],c.formatters.j=function(a){return JSON.stringify(a)},c.enable(h())},{"./debug":23}],23:[function(a,b,c){function d(){return c.colors[k++%c.colors.length]}function e(a){function b(){}function e(){var a=e,b=+new Date,f=b-(j||b);a.diff=f,a.prev=j,a.curr=b,j=b,null==a.useColors&&(a.useColors=c.useColors()),null==a.color&&a.useColors&&(a.color=d());var g=Array.prototype.slice.call(arguments);g[0]=c.coerce(g[0]),"string"!=typeof g[0]&&(g=["%o"].concat(g));var h=0;g[0]=g[0].replace(/%([a-z%])/g,function(b,d){if("%%"===b)return b;h++;var e=c.formatters[d];if("function"==typeof e){var f=g[h];b=e.call(a,f),g.splice(h,1),h--}return b}),"function"==typeof c.formatArgs&&(g=c.formatArgs.apply(a,g));var i=e.log||c.log||console.log.bind(console);i.apply(a,g)}b.enabled=!1,e.enabled=!0;var f=c.enabled(a)?e:b;return f.namespace=a,f}function f(a){c.save(a);for(var b=(a||"").split(/[\s,]+/),d=b.length,e=0;d>e;e++)b[e]&&(a=b[e].replace(/\*/g,".*?"),"-"===a[0]?c.skips.push(new RegExp("^"+a.substr(1)+"$")):c.names.push(new RegExp("^"+a+"$")))}function g(){c.enable("")}function h(a){var b,d;for(b=0,d=c.skips.length;d>b;b++)if(c.skips[b].test(a))return!1;for(b=0,d=c.names.length;d>b;b++)if(c.names[b].test(a))return!0;return!1}function i(a){return a instanceof Error?a.stack||a.message:a}c=b.exports=e,c.coerce=i,c.disable=g,c.enable=f,c.enabled=h,c.humanize=a("ms"),c.names=[],c.skips=[],c.formatters={};var j,k=0},{ms:24}],24:[function(a,b,c){function d(a){var b=/^((?:\d+)?\.?\d+) *(ms|seconds?|s|minutes?|m|hours?|h|days?|d|years?|y)?$/i.exec(a);if(b){var c=parseFloat(b[1]),d=(b[2]||"ms").toLowerCase();switch(d){case"years":case"year":case"y":return c*l;case"days":case"day":case"d":return c*k;case"hours":case"hour":case"h":return c*j;case"minutes":case"minute":case"m":return c*i;case"seconds":case"second":case"s":return c*h;case"ms":return c}}}function e(a){return a>=k?Math.round(a/k)+"d":a>=j?Math.round(a/j)+"h":a>=i?Math.round(a/i)+"m":a>=h?Math.round(a/h)+"s":a+"ms"}function f(a){return g(a,k,"day")||g(a,j,"hour")||g(a,i,"minute")||g(a,h,"second")||a+" ms"}function g(a,b,c){return b>a?void 0:1.5*b>a?Math.floor(a/b)+" "+c:Math.ceil(a/b)+" "+c+"s"}var h=1e3,i=60*h,j=60*i,k=24*j,l=365.25*k;b.exports=function(a,b){return b=b||{},"string"==typeof a?d(a):b["long"]?f(a):e(a)}},{}],25:[function(a,b,c){(function(b){function d(a,b){var d="b"+c.packets[a.type]+a.data.data;return b(d)}function e(a,b,d){if(!b)return c.encodeBase64Packet(a,d);var e=a.data,f=new Uint8Array(e),g=new Uint8Array(1+e.byteLength);g[0]=r[a.type];for(var h=0;h<f.length;h++)g[h+1]=f[h];return d(g.buffer)}function f(a,b,d){if(!b)return c.encodeBase64Packet(a,d);var e=new FileReader;return e.onload=function(){a.data=e.result,c.encodePacket(a,b,!0,d)},e.readAsArrayBuffer(a.data)}function g(a,b,d){if(!b)return c.encodeBase64Packet(a,d);if(q)return f(a,b,d);var e=new Uint8Array(1);e[0]=r[a.type];var g=new u([e.buffer,a.data]);return d(g)}function h(a,b,c){for(var d=new Array(a.length),e=m(a.length,c),f=function(a,c,e){b(c,function(b,c){d[a]=c,e(b,d)})},g=0;g<a.length;g++)f(g,a[g],e)}var i=a("./keys"),j=a("has-binary"),k=a("arraybuffer.slice"),l=a("base64-arraybuffer"),m=a("after"),n=a("utf8"),o=navigator.userAgent.match(/Android/i),p=/PhantomJS/i.test(navigator.userAgent),q=o||p;c.protocol=3;var r=c.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},s=i(r),t={type:"error",data:"parser error"},u=a("blob");c.encodePacket=function(a,c,f,h){"function"==typeof c&&(h=c,c=!1),"function"==typeof f&&(h=f,f=null);var i=void 0===a.data?void 0:a.data.buffer||a.data;if(b.ArrayBuffer&&i instanceof ArrayBuffer)return e(a,c,h);if(u&&i instanceof b.Blob)return g(a,c,h);if(i&&i.base64)return d(a,h);var j=r[a.type];return void 0!==a.data&&(j+=f?n.encode(String(a.data)):String(a.data)),h(""+j)},c.encodeBase64Packet=function(a,d){var e="b"+c.packets[a.type];if(u&&a.data instanceof u){var f=new FileReader;return f.onload=function(){var a=f.result.split(",")[1];d(e+a)},f.readAsDataURL(a.data)}var g;try{g=String.fromCharCode.apply(null,new Uint8Array(a.data))}catch(h){for(var i=new Uint8Array(a.data),j=new Array(i.length),k=0;k<i.length;k++)j[k]=i[k];g=String.fromCharCode.apply(null,j)}return e+=b.btoa(g),d(e)},c.decodePacket=function(a,b,d){if("string"==typeof a||void 0===a){if("b"==a.charAt(0))return c.decodeBase64Packet(a.substr(1),b);if(d)try{a=n.decode(a)}catch(e){return t}var f=a.charAt(0);return Number(f)==f&&s[f]?a.length>1?{type:s[f],data:a.substring(1)}:{type:s[f]}:t}var g=new Uint8Array(a),f=g[0],h=k(a,1);return u&&"blob"===b&&(h=new u([h])),{type:s[f],data:h}},c.decodeBase64Packet=function(a,c){var d=s[a.charAt(0)];if(!b.ArrayBuffer)return{type:d,data:{base64:!0,data:a.substr(1)}};var e=l.decode(a.substr(1));return"blob"===c&&u&&(e=new u([e])),{type:d,data:e}},c.encodePayload=function(a,b,d){function e(a){return a.length+":"+a}function f(a,d){c.encodePacket(a,g?b:!1,!0,function(a){d(null,e(a))})}"function"==typeof b&&(d=b,b=null);var g=j(a);return b&&g?u&&!q?c.encodePayloadAsBlob(a,d):c.encodePayloadAsArrayBuffer(a,d):a.length?void h(a,f,function(a,b){return d(b.join(""))}):d("0:")},c.decodePayload=function(a,b,d){if("string"!=typeof a)return c.decodePayloadAsBinary(a,b,d);"function"==typeof b&&(d=b,b=null);var e;if(""==a)return d(t,0,1);for(var f,g,h="",i=0,j=a.length;j>i;i++){var k=a.charAt(i);if(":"!=k)h+=k;else{if(""==h||h!=(f=Number(h)))return d(t,0,1);if(g=a.substr(i+1,f),h!=g.length)return d(t,0,1);if(g.length){if(e=c.decodePacket(g,b,!0),t.type==e.type&&t.data==e.data)return d(t,0,1);var l=d(e,i+f,j);if(!1===l)return}i+=f,h=""}}return""!=h?d(t,0,1):void 0},c.encodePayloadAsArrayBuffer=function(a,b){function d(a,b){c.encodePacket(a,!0,!0,function(a){return b(null,a)})}return a.length?void h(a,d,function(a,c){var d=c.reduce(function(a,b){var c;return c="string"==typeof b?b.length:b.byteLength,a+c.toString().length+c+2},0),e=new Uint8Array(d),f=0;return c.forEach(function(a){var b="string"==typeof a,c=a;if(b){for(var d=new Uint8Array(a.length),g=0;g<a.length;g++)d[g]=a.charCodeAt(g);c=d.buffer}b?e[f++]=0:e[f++]=1;for(var h=c.byteLength.toString(),g=0;g<h.length;g++)e[f++]=parseInt(h[g]);e[f++]=255;for(var d=new Uint8Array(c),g=0;g<d.length;g++)e[f++]=d[g]}),b(e.buffer)}):b(new ArrayBuffer(0))},c.encodePayloadAsBlob=function(a,b){function d(a,b){c.encodePacket(a,!0,!0,function(a){var c=new Uint8Array(1);if(c[0]=1,"string"==typeof a){for(var d=new Uint8Array(a.length),e=0;e<a.length;e++)d[e]=a.charCodeAt(e);a=d.buffer,c[0]=0}for(var f=a instanceof ArrayBuffer?a.byteLength:a.size,g=f.toString(),h=new Uint8Array(g.length+1),e=0;e<g.length;e++)h[e]=parseInt(g[e]);if(h[g.length]=255,u){var i=new u([c.buffer,h.buffer,a]);b(null,i)}})}h(a,d,function(a,c){return b(new u(c))})},c.decodePayloadAsBinary=function(a,b,d){"function"==typeof b&&(d=b,b=null);for(var e=a,f=[],g=!1;e.byteLength>0;){for(var h=new Uint8Array(e),i=0===h[0],j="",l=1;255!=h[l];l++){if(j.length>310){g=!0;break}j+=h[l]}if(g)return d(t,0,1);e=k(e,2+j.length),j=parseInt(j);var m=k(e,0,j);if(i)try{m=String.fromCharCode.apply(null,new Uint8Array(m))}catch(n){var o=new Uint8Array(m);m="";for(var l=0;l<o.length;l++)m+=String.fromCharCode(o[l])}f.push(m),e=k(e,j)}var p=f.length;f.forEach(function(a,e){d(c.decodePacket(a,b,!0),e,p)})}}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./keys":26,
-after:27,"arraybuffer.slice":28,"base64-arraybuffer":29,blob:30,"has-binary":36,utf8:31}],26:[function(a,b,c){b.exports=Object.keys||function(a){var b=[],c=Object.prototype.hasOwnProperty;for(var d in a)c.call(a,d)&&b.push(d);return b}},{}],27:[function(a,b,c){function d(a,b,c){function d(a,e){if(d.count<=0)throw new Error("after called too many times");--d.count,a?(f=!0,b(a),b=c):0!==d.count||f||b(null,e)}var f=!1;return c=c||e,d.count=a,0===a?b():d}function e(){}b.exports=d},{}],28:[function(a,b,c){b.exports=function(a,b,c){var d=a.byteLength;if(b=b||0,c=c||d,a.slice)return a.slice(b,c);if(0>b&&(b+=d),0>c&&(c+=d),c>d&&(c=d),b>=d||b>=c||0===d)return new ArrayBuffer(0);for(var e=new Uint8Array(a),f=new Uint8Array(c-b),g=b,h=0;c>g;g++,h++)f[h]=e[g];return f.buffer}},{}],29:[function(a,b,c){!function(a){"use strict";c.encode=function(b){var c,d=new Uint8Array(b),e=d.length,f="";for(c=0;e>c;c+=3)f+=a[d[c]>>2],f+=a[(3&d[c])<<4|d[c+1]>>4],f+=a[(15&d[c+1])<<2|d[c+2]>>6],f+=a[63&d[c+2]];return e%3===2?f=f.substring(0,f.length-1)+"=":e%3===1&&(f=f.substring(0,f.length-2)+"=="),f},c.decode=function(b){var c,d,e,f,g,h=.75*b.length,i=b.length,j=0;"="===b[b.length-1]&&(h--,"="===b[b.length-2]&&h--);var k=new ArrayBuffer(h),l=new Uint8Array(k);for(c=0;i>c;c+=4)d=a.indexOf(b[c]),e=a.indexOf(b[c+1]),f=a.indexOf(b[c+2]),g=a.indexOf(b[c+3]),l[j++]=d<<2|e>>4,l[j++]=(15&e)<<4|f>>2,l[j++]=(3&f)<<6|63&g;return k}}("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")},{}],30:[function(a,b,c){(function(a){function c(a){for(var b=0;b<a.length;b++){var c=a[b];if(c.buffer instanceof ArrayBuffer){var d=c.buffer;if(c.byteLength!==d.byteLength){var e=new Uint8Array(c.byteLength);e.set(new Uint8Array(d,c.byteOffset,c.byteLength)),d=e.buffer}a[b]=d}}}function d(a,b){b=b||{};var d=new f;c(a);for(var e=0;e<a.length;e++)d.append(a[e]);return b.type?d.getBlob(b.type):d.getBlob()}function e(a,b){return c(a),new Blob(a,b||{})}var f=a.BlobBuilder||a.WebKitBlobBuilder||a.MSBlobBuilder||a.MozBlobBuilder,g=function(){try{var a=new Blob(["hi"]);return 2===a.size}catch(b){return!1}}(),h=g&&function(){try{var a=new Blob([new Uint8Array([1,2])]);return 2===a.size}catch(b){return!1}}(),i=f&&f.prototype.append&&f.prototype.getBlob;b.exports=function(){return g?h?a.Blob:e:i?d:void 0}()}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],31:[function(b,c,d){(function(b){!function(e){function f(a){for(var b,c,d=[],e=0,f=a.length;f>e;)b=a.charCodeAt(e++),b>=55296&&56319>=b&&f>e?(c=a.charCodeAt(e++),56320==(64512&c)?d.push(((1023&b)<<10)+(1023&c)+65536):(d.push(b),e--)):d.push(b);return d}function g(a){for(var b,c=a.length,d=-1,e="";++d<c;)b=a[d],b>65535&&(b-=65536,e+=u(b>>>10&1023|55296),b=56320|1023&b),e+=u(b);return e}function h(a){if(a>=55296&&57343>=a)throw Error("Lone surrogate U+"+a.toString(16).toUpperCase()+" is not a scalar value")}function i(a,b){return u(a>>b&63|128)}function j(a){if(0==(4294967168&a))return u(a);var b="";return 0==(4294965248&a)?b=u(a>>6&31|192):0==(4294901760&a)?(h(a),b=u(a>>12&15|224),b+=i(a,6)):0==(4292870144&a)&&(b=u(a>>18&7|240),b+=i(a,12),b+=i(a,6)),b+=u(63&a|128)}function k(a){for(var b,c=f(a),d=c.length,e=-1,g="";++e<d;)b=c[e],g+=j(b);return g}function l(){if(t>=s)throw Error("Invalid byte index");var a=255&r[t];if(t++,128==(192&a))return 63&a;throw Error("Invalid continuation byte")}function m(){var a,b,c,d,e;if(t>s)throw Error("Invalid byte index");if(t==s)return!1;if(a=255&r[t],t++,0==(128&a))return a;if(192==(224&a)){var b=l();if(e=(31&a)<<6|b,e>=128)return e;throw Error("Invalid continuation byte")}if(224==(240&a)){if(b=l(),c=l(),e=(15&a)<<12|b<<6|c,e>=2048)return h(e),e;throw Error("Invalid continuation byte")}if(240==(248&a)&&(b=l(),c=l(),d=l(),e=(15&a)<<18|b<<12|c<<6|d,e>=65536&&1114111>=e))return e;throw Error("Invalid UTF-8 detected")}function n(a){r=f(a),s=r.length,t=0;for(var b,c=[];(b=m())!==!1;)c.push(b);return g(c)}var o="object"==typeof d&&d,p="object"==typeof c&&c&&c.exports==o&&c,q="object"==typeof b&&b;(q.global===q||q.window===q)&&(e=q);var r,s,t,u=String.fromCharCode,v={version:"2.0.0",encode:k,decode:n};if("function"==typeof a&&"object"==typeof a.amd&&a.amd)a(function(){return v});else if(o&&!o.nodeType)if(p)p.exports=v;else{var w={},x=w.hasOwnProperty;for(var y in v)x.call(v,y)&&(o[y]=v[y])}else e.utf8=v}(this)}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],32:[function(a,b,c){(function(a){var c=/^[\],:{}\s]*$/,d=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,e=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,f=/(?:^|:|,)(?:\s*\[)+/g,g=/^\s+/,h=/\s+$/;b.exports=function(b){return"string"==typeof b&&b?(b=b.replace(g,"").replace(h,""),a.JSON&&JSON.parse?JSON.parse(b):c.test(b.replace(d,"@").replace(e,"]").replace(f,""))?new Function("return "+b)():void 0):null}}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],33:[function(a,b,c){c.encode=function(a){var b="";for(var c in a)a.hasOwnProperty(c)&&(b.length&&(b+="&"),b+=encodeURIComponent(c)+"="+encodeURIComponent(a[c]));return b},c.decode=function(a){for(var b={},c=a.split("&"),d=0,e=c.length;e>d;d++){var f=c[d].split("=");b[decodeURIComponent(f[0])]=decodeURIComponent(f[1])}return b}},{}],34:[function(a,b,c){var d=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,e=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];b.exports=function(a){var b=a,c=a.indexOf("["),f=a.indexOf("]");-1!=c&&-1!=f&&(a=a.substring(0,c)+a.substring(c,f).replace(/:/g,";")+a.substring(f,a.length));for(var g=d.exec(a||""),h={},i=14;i--;)h[e[i]]=g[i]||"";return-1!=c&&-1!=f&&(h.source=b,h.host=h.host.substring(1,h.host.length-1).replace(/;/g,":"),h.authority=h.authority.replace("[","").replace("]","").replace(/;/g,":"),h.ipv6uri=!0),h}},{}],35:[function(a,b,c){function d(a,b,c){var d;return d=b?new f(a,b):new f(a)}var e=function(){return this}(),f=e.WebSocket||e.MozWebSocket;b.exports=f?d:null,f&&(d.prototype=f.prototype)},{}],36:[function(a,b,c){(function(c){function d(a){function b(a){if(!a)return!1;if(c.Buffer&&c.Buffer.isBuffer(a)||c.ArrayBuffer&&a instanceof ArrayBuffer||c.Blob&&a instanceof Blob||c.File&&a instanceof File)return!0;if(e(a)){for(var d=0;d<a.length;d++)if(b(a[d]))return!0}else if(a&&"object"==typeof a){a.toJSON&&(a=a.toJSON());for(var f in a)if(Object.prototype.hasOwnProperty.call(a,f)&&b(a[f]))return!0}return!1}return b(a)}var e=a("isarray");b.exports=d}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{isarray:37}],37:[function(a,b,c){b.exports=Array.isArray||function(a){return"[object Array]"==Object.prototype.toString.call(a)}},{}],38:[function(a,b,c){var d=a("global");try{b.exports="XMLHttpRequest"in d&&"withCredentials"in new d.XMLHttpRequest}catch(e){b.exports=!1}},{global:39}],39:[function(a,b,c){b.exports=function(){return this}()},{}],40:[function(a,b,c){var d=[].indexOf;b.exports=function(a,b){if(d)return a.indexOf(b);for(var c=0;c<a.length;++c)if(a[c]===b)return c;return-1}},{}],41:[function(a,b,c){var d=Object.prototype.hasOwnProperty;c.keys=Object.keys||function(a){var b=[];for(var c in a)d.call(a,c)&&b.push(c);return b},c.values=function(a){var b=[];for(var c in a)d.call(a,c)&&b.push(a[c]);return b},c.merge=function(a,b){for(var c in b)d.call(b,c)&&(a[c]=b[c]);return a},c.length=function(a){return c.keys(a).length},c.isEmpty=function(a){return 0==c.length(a)}},{}],42:[function(a,b,c){var d=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,e=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];b.exports=function(a){for(var b=d.exec(a||""),c={},f=14;f--;)c[e[f]]=b[f]||"";return c}},{}],43:[function(a,b,c){(function(b){var d=a("isarray"),e=a("./is-buffer");c.deconstructPacket=function(a){function b(a){if(!a)return a;if(e(a)){var f={_placeholder:!0,num:c.length};return c.push(a),f}if(d(a)){for(var g=new Array(a.length),h=0;h<a.length;h++)g[h]=b(a[h]);return g}if("object"==typeof a&&!(a instanceof Date)){var g={};for(var i in a)g[i]=b(a[i]);return g}return a}var c=[],f=a.data,g=a;return g.data=b(f),g.attachments=c.length,{packet:g,buffers:c}},c.reconstructPacket=function(a,b){function c(a){if(a&&a._placeholder){var e=b[a.num];return e}if(d(a)){for(var f=0;f<a.length;f++)a[f]=c(a[f]);return a}if(a&&"object"==typeof a){for(var g in a)a[g]=c(a[g]);return a}return a}return a.data=c(a.data),a.attachments=void 0,a},c.removeBlobs=function(a,c){function f(a,i,j){if(!a)return a;if(b.Blob&&a instanceof Blob||b.File&&a instanceof File){g++;var k=new FileReader;k.onload=function(){j?j[i]=this.result:h=this.result,--g||c(h)},k.readAsArrayBuffer(a)}else if(d(a))for(var l=0;l<a.length;l++)f(a[l],l,a);else if(a&&"object"==typeof a&&!e(a))for(var m in a)f(a[m],m,a)}var g=0,h=a;f(h),g||c(h)}}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./is-buffer":45,isarray:46}],44:[function(a,b,c){function d(){}function e(a){var b="",d=!1;return b+=a.type,(c.BINARY_EVENT==a.type||c.BINARY_ACK==a.type)&&(b+=a.attachments,b+="-"),a.nsp&&"/"!=a.nsp&&(d=!0,b+=a.nsp),null!=a.id&&(d&&(b+=",",d=!1),b+=a.id),null!=a.data&&(d&&(b+=","),b+=l.stringify(a.data)),k("encoded %j as %s",a,b),b}function f(a,b){function c(a){var c=n.deconstructPacket(a),d=e(c.packet),f=c.buffers;f.unshift(d),b(f)}n.removeBlobs(a,c)}function g(){this.reconstructor=null}function h(a){var b={},d=0;if(b.type=Number(a.charAt(0)),null==c.types[b.type])return j();if(c.BINARY_EVENT==b.type||c.BINARY_ACK==b.type){for(var e="";"-"!=a.charAt(++d)&&(e+=a.charAt(d),d!=a.length););if(e!=Number(e)||"-"!=a.charAt(d))throw new Error("Illegal attachments");b.attachments=Number(e)}if("/"==a.charAt(d+1))for(b.nsp="";++d;){var f=a.charAt(d);if(","==f)break;if(b.nsp+=f,d==a.length)break}else b.nsp="/";var g=a.charAt(d+1);if(""!==g&&Number(g)==g){for(b.id="";++d;){var f=a.charAt(d);if(null==f||Number(f)!=f){--d;break}if(b.id+=a.charAt(d),d==a.length)break}b.id=Number(b.id)}if(a.charAt(++d))try{b.data=l.parse(a.substr(d))}catch(h){return j()}return k("decoded %s as %j",a,b),b}function i(a){this.reconPack=a,this.buffers=[]}function j(a){return{type:c.ERROR,data:"parser error"}}var k=a("debug")("socket.io-parser"),l=a("json3"),m=(a("isarray"),a("component-emitter")),n=a("./binary"),o=a("./is-buffer");c.protocol=4,c.types=["CONNECT","DISCONNECT","EVENT","BINARY_EVENT","ACK","BINARY_ACK","ERROR"],c.CONNECT=0,c.DISCONNECT=1,c.EVENT=2,c.ACK=3,c.ERROR=4,c.BINARY_EVENT=5,c.BINARY_ACK=6,c.Encoder=d,c.Decoder=g,d.prototype.encode=function(a,b){if(k("encoding packet %j",a),c.BINARY_EVENT==a.type||c.BINARY_ACK==a.type)f(a,b);else{var d=e(a);b([d])}},m(g.prototype),g.prototype.add=function(a){var b;if("string"==typeof a)b=h(a),c.BINARY_EVENT==b.type||c.BINARY_ACK==b.type?(this.reconstructor=new i(b),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",b)):this.emit("decoded",b);else{if(!o(a)&&!a.base64)throw new Error("Unknown type: "+a);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");b=this.reconstructor.takeBinaryData(a),b&&(this.reconstructor=null,this.emit("decoded",b))}},g.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},i.prototype.takeBinaryData=function(a){if(this.buffers.push(a),this.buffers.length==this.reconPack.attachments){var b=n.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),b}return null},i.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},{"./binary":43,"./is-buffer":45,"component-emitter":9,debug:10,isarray:46,json3:47}],45:[function(a,b,c){(function(a){function c(b){return a.Buffer&&a.Buffer.isBuffer(b)||a.ArrayBuffer&&b instanceof ArrayBuffer}b.exports=c}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],46:[function(a,b,c){b.exports=a(37)},{}],47:[function(b,c,d){!function(b){function c(a){if(c[a]!==g)return c[a];var b;if("bug-string-char-index"==a)b="a"!="a"[0];else if("json"==a)b=c("json-stringify")&&c("json-parse");else{var d,e='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==a){var f=k.stringify,i="function"==typeof f&&l;if(i){(d=function(){return 1}).toJSON=d;try{i="0"===f(0)&&"0"===f(new Number)&&'""'==f(new String)&&f(h)===g&&f(g)===g&&f()===g&&"1"===f(d)&&"[1]"==f([d])&&"[null]"==f([g])&&"null"==f(null)&&"[null,null,null]"==f([g,h,null])&&f({a:[d,!0,!1,null,"\x00\b\n\f\r       "]})==e&&"1"===f(null,d)&&"[\n 1,\n 2\n]"==f([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==f(new Date(-864e13))&&'"+275760-09-13T00:00:00.000Z"'==f(new Date(864e13))&&'"-000001-01-01T00:00:00.000Z"'==f(new Date(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'==f(new Date(-1))}catch(j){i=!1}}b=i}if("json-parse"==a){var m=k.parse;if("function"==typeof m)try{if(0===m("0")&&!m(!1)){d=m(e);var n=5==d.a.length&&1===d.a[0];if(n){try{n=!m('"     "')}catch(j){}if(n)try{n=1!==m("01")}catch(j){}if(n)try{n=1!==m("1.")}catch(j){}}}}catch(j){n=!1}b=n}}return c[a]=!!b}var e,f,g,h={}.toString,i="function"==typeof a&&a.amd,j="object"==typeof JSON&&JSON,k="object"==typeof d&&d&&!d.nodeType&&d;k&&j?(k.stringify=j.stringify,k.parse=j.parse):k=b.JSON=j||{};var l=new Date(-0xc782b5b800cec);try{l=-109252==l.getUTCFullYear()&&0===l.getUTCMonth()&&1===l.getUTCDate()&&10==l.getUTCHours()&&37==l.getUTCMinutes()&&6==l.getUTCSeconds()&&708==l.getUTCMilliseconds()}catch(m){}if(!c("json")){var n="[object Function]",o="[object Date]",p="[object Number]",q="[object String]",r="[object Array]",s="[object Boolean]",t=c("bug-string-char-index");if(!l)var u=Math.floor,v=[0,31,59,90,120,151,181,212,243,273,304,334],w=function(a,b){return v[b]+365*(a-1970)+u((a-1969+(b=+(b>1)))/4)-u((a-1901+b)/100)+u((a-1601+b)/400)};(e={}.hasOwnProperty)||(e=function(a){var b,c={};return(c.__proto__=null,c.__proto__={toString:1},c).toString!=h?e=function(a){var b=this.__proto__,c=a in(this.__proto__=null,this);return this.__proto__=b,c}:(b=c.constructor,e=function(a){var c=(this.constructor||b).prototype;return a in this&&!(a in c&&this[a]===c[a])}),c=null,e.call(this,a)});var x={"boolean":1,number:1,string:1,undefined:1},y=function(a,b){var c=typeof a[b];return"object"==c?!!a[b]:!x[c]};if(f=function(a,b){var c,d,g,i=0;(c=function(){this.valueOf=0}).prototype.valueOf=0,d=new c;for(g in d)e.call(d,g)&&i++;return c=d=null,i?f=2==i?function(a,b){var c,d={},f=h.call(a)==n;for(c in a)f&&"prototype"==c||e.call(d,c)||!(d[c]=1)||!e.call(a,c)||b(c)}:function(a,b){var c,d,f=h.call(a)==n;for(c in a)f&&"prototype"==c||!e.call(a,c)||(d="constructor"===c)||b(c);(d||e.call(a,c="constructor"))&&b(c)}:(d=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],f=function(a,b){var c,f,g=h.call(a)==n,i=!g&&"function"!=typeof a.constructor&&y(a,"hasOwnProperty")?a.hasOwnProperty:e;for(c in a)g&&"prototype"==c||!i.call(a,c)||b(c);for(f=d.length;c=d[--f];i.call(a,c)&&b(c));}),f(a,b)},!c("json-stringify")){var z={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},A="000000",B=function(a,b){return(A+(b||0)).slice(-a)},C="\\u00",D=function(a){var b,c='"',d=0,e=a.length,f=e>10&&t;for(f&&(b=a.split(""));e>d;d++){var g=a.charCodeAt(d);switch(g){case 8:case 9:case 10:case 12:case 13:case 34:case 92:c+=z[g];break;default:if(32>g){c+=C+B(2,g.toString(16));break}c+=f?b[d]:t?a.charAt(d):a[d]}}return c+'"'},E=function(a,b,c,d,i,j,k){var l,m,n,t,v,x,y,z,A,C,F,G,H,I,J,K;try{l=b[a]}catch(L){}if("object"==typeof l&&l)if(m=h.call(l),m!=o||e.call(l,"toJSON"))"function"==typeof l.toJSON&&(m!=p&&m!=q&&m!=r||e.call(l,"toJSON"))&&(l=l.toJSON(a));else if(l>-1/0&&1/0>l){if(w){for(v=u(l/864e5),n=u(v/365.2425)+1970-1;w(n+1,0)<=v;n++);for(t=u((v-w(n,0))/30.42);w(n,t+1)<=v;t++);v=1+v-w(n,t),x=(l%864e5+864e5)%864e5,y=u(x/36e5)%24,z=u(x/6e4)%60,A=u(x/1e3)%60,C=x%1e3}else n=l.getUTCFullYear(),t=l.getUTCMonth(),v=l.getUTCDate(),y=l.getUTCHours(),z=l.getUTCMinutes(),A=l.getUTCSeconds(),C=l.getUTCMilliseconds();l=(0>=n||n>=1e4?(0>n?"-":"+")+B(6,0>n?-n:n):B(4,n))+"-"+B(2,t+1)+"-"+B(2,v)+"T"+B(2,y)+":"+B(2,z)+":"+B(2,A)+"."+B(3,C)+"Z"}else l=null;if(c&&(l=c.call(b,a,l)),null===l)return"null";if(m=h.call(l),m==s)return""+l;if(m==p)return l>-1/0&&1/0>l?""+l:"null";if(m==q)return D(""+l);if("object"==typeof l){for(I=k.length;I--;)if(k[I]===l)throw TypeError();if(k.push(l),F=[],J=j,j+=i,m==r){for(H=0,I=l.length;I>H;H++)G=E(H,l,c,d,i,j,k),F.push(G===g?"null":G);K=F.length?i?"[\n"+j+F.join(",\n"+j)+"\n"+J+"]":"["+F.join(",")+"]":"[]"}else f(d||l,function(a){var b=E(a,l,c,d,i,j,k);b!==g&&F.push(D(a)+":"+(i?" ":"")+b)}),K=F.length?i?"{\n"+j+F.join(",\n"+j)+"\n"+J+"}":"{"+F.join(",")+"}":"{}";return k.pop(),K}};k.stringify=function(a,b,c){var d,e,f,g;if("function"==typeof b||"object"==typeof b&&b)if((g=h.call(b))==n)e=b;else if(g==r){f={};for(var i,j=0,k=b.length;k>j;i=b[j++],g=h.call(i),(g==q||g==p)&&(f[i]=1));}if(c)if((g=h.call(c))==p){if((c-=c%1)>0)for(d="",c>10&&(c=10);d.length<c;d+=" ");}else g==q&&(d=c.length<=10?c:c.slice(0,10));return E("",(i={},i[""]=a,i),e,f,d,"",[])}}if(!c("json-parse")){var F,G,H=String.fromCharCode,I={92:"\\",34:'"',47:"/",98:"\b",116:" ",110:"\n",102:"\f",114:"\r"},J=function(){throw F=G=null,SyntaxError()},K=function(){for(var a,b,c,d,e,f=G,g=f.length;g>F;)switch(e=f.charCodeAt(F)){case 9:case 10:case 13:case 32:F++;break;case 123:case 125:case 91:case 93:case 58:case 44:return a=t?f.charAt(F):f[F],F++,a;case 34:for(a="@",F++;g>F;)if(e=f.charCodeAt(F),32>e)J();else if(92==e)switch(e=f.charCodeAt(++F)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:a+=I[e],F++;break;case 117:for(b=++F,c=F+4;c>F;F++)e=f.charCodeAt(F),e>=48&&57>=e||e>=97&&102>=e||e>=65&&70>=e||J();a+=H("0x"+f.slice(b,F));break;default:J()}else{if(34==e)break;for(e=f.charCodeAt(F),b=F;e>=32&&92!=e&&34!=e;)e=f.charCodeAt(++F);a+=f.slice(b,F)}if(34==f.charCodeAt(F))return F++,a;J();default:if(b=F,45==e&&(d=!0,e=f.charCodeAt(++F)),e>=48&&57>=e){for(48==e&&(e=f.charCodeAt(F+1),e>=48&&57>=e)&&J(),d=!1;g>F&&(e=f.charCodeAt(F),e>=48&&57>=e);F++);if(46==f.charCodeAt(F)){for(c=++F;g>c&&(e=f.charCodeAt(c),e>=48&&57>=e);c++);c==F&&J(),F=c}if(e=f.charCodeAt(F),101==e||69==e){for(e=f.charCodeAt(++F),(43==e||45==e)&&F++,c=F;g>c&&(e=f.charCodeAt(c),e>=48&&57>=e);c++);c==F&&J(),F=c}return+f.slice(b,F)}if(d&&J(),"true"==f.slice(F,F+4))return F+=4,!0;if("false"==f.slice(F,F+5))return F+=5,!1;if("null"==f.slice(F,F+4))return F+=4,null;J()}return"$"},L=function(a){var b,c;if("$"==a&&J(),"string"==typeof a){if("@"==(t?a.charAt(0):a[0]))return a.slice(1);if("["==a){for(b=[];a=K(),"]"!=a;c||(c=!0))c&&(","==a?(a=K(),"]"==a&&J()):J()),","==a&&J(),b.push(L(a));return b}if("{"==a){for(b={};a=K(),"}"!=a;c||(c=!0))c&&(","==a?(a=K(),"}"==a&&J()):J()),(","==a||"string"!=typeof a||"@"!=(t?a.charAt(0):a[0])||":"!=K())&&J(),b[a.slice(1)]=L(K());return b}J()}return a},M=function(a,b,c){var d=N(a,b,c);d===g?delete a[b]:a[b]=d},N=function(a,b,c){var d,e=a[b];if("object"==typeof e&&e)if(h.call(e)==r)for(d=e.length;d--;)M(e,d,c);else f(e,function(a){M(e,a,c)});return c.call(a,b,e)};k.parse=function(a,b){var c,d;return F=0,G=""+a,c=L(K()),"$"!=K()&&J(),F=G=null,b&&h.call(b)==n?N((d={},d[""]=c,d),"",b):c}}}i&&a(function(){return k})}(this)},{}],48:[function(a,b,c){function d(a,b){var c=[];b=b||0;for(var d=b||0;d<a.length;d++)c[d-b]=a[d];return c}b.exports=d},{}]},{},[1])(1)});
\ No newline at end of file
+g.months=f,g.years=h},abs:function(){return this._milliseconds=Math.abs(this._milliseconds),this._days=Math.abs(this._days),this._months=Math.abs(this._months),this._data.milliseconds=Math.abs(this._data.milliseconds),this._data.seconds=Math.abs(this._data.seconds),this._data.minutes=Math.abs(this._data.minutes),this._data.hours=Math.abs(this._data.hours),this._data.months=Math.abs(this._data.months),this._data.years=Math.abs(this._data.years),this},weeks:function(){return o(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*A(this._months/12)},humanize:function(a){var b=ga(this,!a,this.localeData());return a&&(b=this.localeData().pastFuture(+this,b)),this.localeData().postformat(b)},add:function(a,b){var c=ta.duration(a,b);return this._milliseconds+=c._milliseconds,this._days+=c._days,this._months+=c._months,this._bubble(),this},subtract:function(a,b){var c=ta.duration(a,b);return this._milliseconds-=c._milliseconds,this._days-=c._days,this._months-=c._months,this._bubble(),this},get:function(a){return a=x(a),this[a.toLowerCase()+"s"]()},as:function(a){var b,c;if(a=x(a),"month"===a||"year"===a)return b=this._days+this._milliseconds/864e5,c=this._months+12*pa(b),"month"===a?c:c/12;switch(b=this._days+Math.round(qa(this._months/12)),a){case"week":return b/7+this._milliseconds/6048e5;case"day":return b+this._milliseconds/864e5;case"hour":return 24*b+this._milliseconds/36e5;case"minute":return 24*b*60+this._milliseconds/6e4;case"second":return 24*b*60*60+this._milliseconds/1e3;case"millisecond":return Math.floor(24*b*60*60*1e3)+this._milliseconds;default:throw new Error("Unknown unit "+a)}},lang:ta.fn.lang,locale:ta.fn.locale,toIsoString:f("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",function(){return this.toISOString()}),toISOString:function(){var a=Math.abs(this.years()),b=Math.abs(this.months()),c=Math.abs(this.days()),d=Math.abs(this.hours()),e=Math.abs(this.minutes()),f=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(a?a+"Y":"")+(b?b+"M":"")+(c?c+"D":"")+(d||e||f?"T":"")+(d?d+"H":"")+(e?e+"M":"")+(f?f+"S":""):"P0D"},localeData:function(){return this._locale}}),ta.duration.fn.toString=ta.duration.fn.toISOString;for(va in ib)c(ib,va)&&ra(va.toLowerCase());ta.duration.fn.asMilliseconds=function(){return this.as("ms")},ta.duration.fn.asSeconds=function(){return this.as("s")},ta.duration.fn.asMinutes=function(){return this.as("m")},ta.duration.fn.asHours=function(){return this.as("h")},ta.duration.fn.asDays=function(){return this.as("d")},ta.duration.fn.asWeeks=function(){return this.as("weeks")},ta.duration.fn.asMonths=function(){return this.as("M")},ta.duration.fn.asYears=function(){return this.as("y")},ta.locale("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===A(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),Ja?module.exports=ta:"function"==typeof define&&define.amd?(define("moment",function(a,b,c){return c.config&&c.config()&&c.config().noGlobal===!0&&(xa.moment=ua),ta}),sa(!0)):sa()}.call(this),function(a,b){if("function"==typeof define&&define.amd)define(["moment","jquery","exports"],function(c,d,e){a.daterangepicker=b(a,e,c,d)});else if("undefined"!=typeof exports){var c,d=require("moment");try{c=require("jquery")}catch(e){if(c=window.jQuery,!c)throw new Error("jQuery dependency not found")}b(a,exports,d,c)}else a.daterangepicker=b(a,{},a.moment,a.jQuery||a.Zepto||a.ender||a.$)}(this,function(a,b,c,d){var e=function(a,b,c){this.parentEl="body",this.element=d(a),this.isShowing=!1;var e='<div class="daterangepicker dropdown-menu"><div class="calendar first left"></div><div class="calendar second right"></div><div class="ranges"><div class="range_inputs"><div class="daterangepicker_start_input"><label for="daterangepicker_start"></label><input class="input-mini" type="text" name="daterangepicker_start" value="" /></div><div class="daterangepicker_end_input"><label for="daterangepicker_end"></label><input class="input-mini" type="text" name="daterangepicker_end" value="" /></div><button class="applyBtn" disabled="disabled"></button>&nbsp;<button class="cancelBtn"></button></div></div></div>';("object"!=typeof b||null===b)&&(b={}),this.parentEl=d("object"==typeof b&&b.parentEl&&d(b.parentEl).length?b.parentEl:this.parentEl),this.container=d(e).appendTo(this.parentEl),this.setOptions(b,c);var f=this.container;d.each(this.buttonClasses,function(a,b){f.find("button").addClass(b)}),this.container.find(".daterangepicker_start_input label").html(this.locale.fromLabel),this.container.find(".daterangepicker_end_input label").html(this.locale.toLabel),this.applyClass.length&&this.container.find(".applyBtn").addClass(this.applyClass),this.cancelClass.length&&this.container.find(".cancelBtn").addClass(this.cancelClass),this.container.find(".applyBtn").html(this.locale.applyLabel),this.container.find(".cancelBtn").html(this.locale.cancelLabel),this.container.find(".calendar").on("click.daterangepicker",".prev",d.proxy(this.clickPrev,this)).on("click.daterangepicker",".next",d.proxy(this.clickNext,this)).on("click.daterangepicker","td.available",d.proxy(this.clickDate,this)).on("mouseenter.daterangepicker","td.available",d.proxy(this.hoverDate,this)).on("mouseleave.daterangepicker","td.available",d.proxy(this.updateFormInputs,this)).on("change.daterangepicker","select.yearselect",d.proxy(this.updateMonthYear,this)).on("change.daterangepicker","select.monthselect",d.proxy(this.updateMonthYear,this)).on("change.daterangepicker","select.hourselect,select.minuteselect,select.secondselect,select.ampmselect",d.proxy(this.updateTime,this)),this.container.find(".ranges").on("click.daterangepicker","button.applyBtn",d.proxy(this.clickApply,this)).on("click.daterangepicker","button.cancelBtn",d.proxy(this.clickCancel,this)).on("click.daterangepicker",".daterangepicker_start_input,.daterangepicker_end_input",d.proxy(this.showCalendars,this)).on("change.daterangepicker",".daterangepicker_start_input,.daterangepicker_end_input",d.proxy(this.inputsChanged,this)).on("keydown.daterangepicker",".daterangepicker_start_input,.daterangepicker_end_input",d.proxy(this.inputsKeydown,this)).on("click.daterangepicker","li",d.proxy(this.clickRange,this)).on("mouseenter.daterangepicker","li",d.proxy(this.enterRange,this)).on("mouseleave.daterangepicker","li",d.proxy(this.updateFormInputs,this)),this.element.is("input")?this.element.on({"click.daterangepicker":d.proxy(this.show,this),"focus.daterangepicker":d.proxy(this.show,this),"keyup.daterangepicker":d.proxy(this.updateFromControl,this)}):this.element.on("click.daterangepicker",d.proxy(this.toggle,this))};e.prototype={constructor:e,setOptions:function(a,b){if(this.startDate=c().startOf("day"),this.endDate=c().endOf("day"),this.timeZone=c().zone(),this.minDate=!1,this.maxDate=!1,this.dateLimit=!1,this.showDropdowns=!1,this.showWeekNumbers=!1,this.timePicker=!1,this.timePickerSeconds=!1,this.timePickerIncrement=30,this.timePicker12Hour=!0,this.singleDatePicker=!1,this.ranges={},this.opens="right",this.element.hasClass("pull-right")&&(this.opens="left"),this.buttonClasses=["btn","btn-small btn-sm"],this.applyClass="btn-success",this.cancelClass="btn-default",this.format="MM/DD/YYYY",this.separator=" - ",this.locale={applyLabel:"Apply",cancelLabel:"Cancel",fromLabel:"From",toLabel:"To",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:c.weekdaysMin(),monthNames:c.monthsShort(),firstDay:c.localeData()._week.dow},this.cb=function(){},"string"==typeof a.format&&(this.format=a.format),"string"==typeof a.separator&&(this.separator=a.separator),"string"==typeof a.startDate&&(this.startDate=c(a.startDate,this.format)),"string"==typeof a.endDate&&(this.endDate=c(a.endDate,this.format)),"string"==typeof a.minDate&&(this.minDate=c(a.minDate,this.format)),"string"==typeof a.maxDate&&(this.maxDate=c(a.maxDate,this.format)),"object"==typeof a.startDate&&(this.startDate=c(a.startDate)),"object"==typeof a.endDate&&(this.endDate=c(a.endDate)),"object"==typeof a.minDate&&(this.minDate=c(a.minDate)),"object"==typeof a.maxDate&&(this.maxDate=c(a.maxDate)),"string"==typeof a.applyClass&&(this.applyClass=a.applyClass),"string"==typeof a.cancelClass&&(this.cancelClass=a.cancelClass),"object"==typeof a.dateLimit&&(this.dateLimit=a.dateLimit),"object"==typeof a.locale&&("object"==typeof a.locale.daysOfWeek&&(this.locale.daysOfWeek=a.locale.daysOfWeek.slice()),"object"==typeof a.locale.monthNames&&(this.locale.monthNames=a.locale.monthNames.slice()),"number"==typeof a.locale.firstDay&&(this.locale.firstDay=a.locale.firstDay),"string"==typeof a.locale.applyLabel&&(this.locale.applyLabel=a.locale.applyLabel),"string"==typeof a.locale.cancelLabel&&(this.locale.cancelLabel=a.locale.cancelLabel),"string"==typeof a.locale.fromLabel&&(this.locale.fromLabel=a.locale.fromLabel),"string"==typeof a.locale.toLabel&&(this.locale.toLabel=a.locale.toLabel),"string"==typeof a.locale.weekLabel&&(this.locale.weekLabel=a.locale.weekLabel),"string"==typeof a.locale.customRangeLabel&&(this.locale.customRangeLabel=a.locale.customRangeLabel)),"string"==typeof a.opens&&(this.opens=a.opens),"boolean"==typeof a.showWeekNumbers&&(this.showWeekNumbers=a.showWeekNumbers),"string"==typeof a.buttonClasses&&(this.buttonClasses=[a.buttonClasses]),"object"==typeof a.buttonClasses&&(this.buttonClasses=a.buttonClasses),"boolean"==typeof a.showDropdowns&&(this.showDropdowns=a.showDropdowns),"boolean"==typeof a.singleDatePicker&&(this.singleDatePicker=a.singleDatePicker,this.singleDatePicker&&(this.endDate=this.startDate.clone())),"boolean"==typeof a.timePicker&&(this.timePicker=a.timePicker),"boolean"==typeof a.timePickerSeconds&&(this.timePickerSeconds=a.timePickerSeconds),"number"==typeof a.timePickerIncrement&&(this.timePickerIncrement=a.timePickerIncrement),"boolean"==typeof a.timePicker12Hour&&(this.timePicker12Hour=a.timePicker12Hour),0!=this.locale.firstDay)for(var e=this.locale.firstDay;e>0;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()),e--;var f,g,h;if("undefined"==typeof a.startDate&&"undefined"==typeof a.endDate&&d(this.element).is("input[type=text]")){var i=d(this.element).val(),j=i.split(this.separator);f=g=null,2==j.length?(f=c(j[0],this.format),g=c(j[1],this.format)):this.singleDatePicker&&""!==i&&(f=c(i,this.format),g=c(i,this.format)),null!==f&&null!==g&&(this.startDate=f,this.endDate=g)}if("string"==typeof a.timeZone||"number"==typeof a.timeZone?(this.timeZone=a.timeZone,this.startDate.zone(this.timeZone),this.endDate.zone(this.timeZone)):this.timeZone=c(this.startDate).zone(),"object"==typeof a.ranges){for(h in a.ranges)f="string"==typeof a.ranges[h][0]?c(a.ranges[h][0],this.format):c(a.ranges[h][0]),g="string"==typeof a.ranges[h][1]?c(a.ranges[h][1],this.format):c(a.ranges[h][1]),this.minDate&&f.isBefore(this.minDate)&&(f=c(this.minDate)),this.maxDate&&g.isAfter(this.maxDate)&&(g=c(this.maxDate)),this.minDate&&g.isBefore(this.minDate)||this.maxDate&&f.isAfter(this.maxDate)||(this.ranges[h]=[f,g]);var k="<ul>";for(h in this.ranges)k+="<li>"+h+"</li>";k+="<li>"+this.locale.customRangeLabel+"</li>",k+="</ul>",this.container.find(".ranges ul").remove(),this.container.find(".ranges").prepend(k)}if("function"==typeof b&&(this.cb=b),this.timePicker||(this.startDate=this.startDate.startOf("day"),this.endDate=this.endDate.endOf("day")),this.singleDatePicker?(this.opens="right",this.container.addClass("single"),this.container.find(".calendar.right").show(),this.container.find(".calendar.left").hide(),this.timePicker?this.container.find(".ranges .daterangepicker_start_input, .ranges .daterangepicker_end_input").hide():this.container.find(".ranges").hide(),this.container.find(".calendar.right").hasClass("single")||this.container.find(".calendar.right").addClass("single")):(this.container.removeClass("single"),this.container.find(".calendar.right").removeClass("single"),this.container.find(".ranges").show()),this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.oldChosenLabel=this.chosenLabel,this.leftCalendar={month:c([this.startDate.year(),this.startDate.month(),1,this.startDate.hour(),this.startDate.minute(),this.startDate.second()]),calendar:[]},this.rightCalendar={month:c([this.endDate.year(),this.endDate.month(),1,this.endDate.hour(),this.endDate.minute(),this.endDate.second()]),calendar:[]},"right"==this.opens||"center"==this.opens){var l=this.container.find(".calendar.first"),m=this.container.find(".calendar.second");m.hasClass("single")&&(m.removeClass("single"),l.addClass("single")),l.removeClass("left").addClass("right"),m.removeClass("right").addClass("left"),this.singleDatePicker&&(l.show(),m.hide())}"undefined"!=typeof a.ranges||this.singleDatePicker||this.container.addClass("show-calendar"),this.container.addClass("opens"+this.opens),this.updateView(),this.updateCalendars()},setStartDate:function(a){"string"==typeof a&&(this.startDate=c(a,this.format).zone(this.timeZone)),"object"==typeof a&&(this.startDate=c(a)),this.timePicker||(this.startDate=this.startDate.startOf("day")),this.oldStartDate=this.startDate.clone(),this.updateView(),this.updateCalendars(),this.updateInputText()},setEndDate:function(a){"string"==typeof a&&(this.endDate=c(a,this.format).zone(this.timeZone)),"object"==typeof a&&(this.endDate=c(a)),this.timePicker||(this.endDate=this.endDate.endOf("day")),this.oldEndDate=this.endDate.clone(),this.updateView(),this.updateCalendars(),this.updateInputText()},updateView:function(){this.leftCalendar.month.month(this.startDate.month()).year(this.startDate.year()).hour(this.startDate.hour()).minute(this.startDate.minute()),this.rightCalendar.month.month(this.endDate.month()).year(this.endDate.year()).hour(this.endDate.hour()).minute(this.endDate.minute()),this.updateFormInputs()},updateFormInputs:function(){this.container.find("input[name=daterangepicker_start]").val(this.startDate.format(this.format)),this.container.find("input[name=daterangepicker_end]").val(this.endDate.format(this.format)),this.startDate.isSame(this.endDate)||this.startDate.isBefore(this.endDate)?this.container.find("button.applyBtn").removeAttr("disabled"):this.container.find("button.applyBtn").attr("disabled","disabled")},updateFromControl:function(){if(this.element.is("input")&&this.element.val().length){var a=this.element.val().split(this.separator),b=null,d=null;2===a.length&&(b=c(a[0],this.format).zone(this.timeZone),d=c(a[1],this.format).zone(this.timeZone)),(this.singleDatePicker||null===b||null===d)&&(b=c(this.element.val(),this.format).zone(this.timeZone),d=b),d.isBefore(b)||(this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.startDate=b,this.endDate=d,this.startDate.isSame(this.oldStartDate)&&this.endDate.isSame(this.oldEndDate)||this.notify(),this.updateCalendars())}},notify:function(){this.updateView(),this.cb(this.startDate,this.endDate,this.chosenLabel)},move:function(){var a={top:0,left:0},b=d(window).width();this.parentEl.is("body")||(a={top:this.parentEl.offset().top-this.parentEl.scrollTop(),left:this.parentEl.offset().left-this.parentEl.scrollLeft()},b=this.parentEl[0].clientWidth+this.parentEl.offset().left),"left"==this.opens?(this.container.css({top:this.element.offset().top+this.element.outerHeight()-a.top,right:b-this.element.offset().left-this.element.outerWidth(),left:"auto"}),this.container.offset().left<0&&this.container.css({right:"auto",left:9})):"center"==this.opens?(this.container.css({top:this.element.offset().top+this.element.outerHeight()-a.top,left:this.element.offset().left-a.left+this.element.outerWidth()/2-this.container.outerWidth()/2,right:"auto"}),this.container.offset().left<0&&this.container.css({right:"auto",left:9})):(this.container.css({top:this.element.offset().top+this.element.outerHeight()-a.top,left:this.element.offset().left-a.left,right:"auto"}),this.container.offset().left+this.container.outerWidth()>d(window).width()&&this.container.css({left:"auto",right:0}))},toggle:function(a){this.element.hasClass("active")?this.hide():this.show()},show:function(a){this.isShowing||(this.element.addClass("active"),this.container.show(),this.move(),this._outsideClickProxy=d.proxy(function(a){this.outsideClick(a)},this),d(document).on("mousedown.daterangepicker",this._outsideClickProxy).on("touchend.daterangepicker",this._outsideClickProxy).on("click.daterangepicker","[data-toggle=dropdown]",this._outsideClickProxy).on("focusin.daterangepicker",this._outsideClickProxy),this.isShowing=!0,this.element.trigger("show.daterangepicker",this))},outsideClick:function(a){var b=d(a.target);"focusin"==a.type||b.closest(this.element).length||b.closest(this.container).length||b.closest(".calendar-date").length||this.hide()},hide:function(a){this.isShowing&&(d(document).off(".daterangepicker"),this.element.removeClass("active"),this.container.hide(),this.startDate.isSame(this.oldStartDate)&&this.endDate.isSame(this.oldEndDate)||this.notify(),this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.isShowing=!1,this.element.trigger("hide.daterangepicker",this))},enterRange:function(a){var b=a.target.innerHTML;if(b==this.locale.customRangeLabel)this.updateView();else{var c=this.ranges[b];this.container.find("input[name=daterangepicker_start]").val(c[0].format(this.format)),this.container.find("input[name=daterangepicker_end]").val(c[1].format(this.format))}},showCalendars:function(){this.container.addClass("show-calendar"),this.move(),this.element.trigger("showCalendar.daterangepicker",this)},hideCalendars:function(){this.container.removeClass("show-calendar"),this.element.trigger("hideCalendar.daterangepicker",this)},inputsChanged:function(a){var b=d(a.target),e=c(b.val(),this.format);if(e.isValid()){var f,g;"daterangepicker_start"===b.attr("name")?(f=e,g=this.endDate):(f=this.startDate,g=e),this.setCustomDates(f,g)}},inputsKeydown:function(a){13===a.keyCode&&(this.inputsChanged(a),this.notify())},updateInputText:function(){this.element.is("input")&&!this.singleDatePicker?this.element.val(this.startDate.format(this.format)+this.separator+this.endDate.format(this.format)):this.element.is("input")&&this.element.val(this.endDate.format(this.format))},clickRange:function(a){var b=a.target.innerHTML;if(this.chosenLabel=b,b==this.locale.customRangeLabel)this.showCalendars();else{var c=this.ranges[b];this.startDate=c[0],this.endDate=c[1],this.timePicker||(this.startDate.startOf("day"),this.endDate.endOf("day")),this.leftCalendar.month.month(this.startDate.month()).year(this.startDate.year()).hour(this.startDate.hour()).minute(this.startDate.minute()),this.rightCalendar.month.month(this.endDate.month()).year(this.endDate.year()).hour(this.endDate.hour()).minute(this.endDate.minute()),this.updateCalendars(),this.updateInputText(),this.hideCalendars(),this.hide(),this.element.trigger("apply.daterangepicker",this)}},clickPrev:function(a){var b=d(a.target).parents(".calendar");b.hasClass("left")?this.leftCalendar.month.subtract(1,"month"):this.rightCalendar.month.subtract(1,"month"),this.updateCalendars()},clickNext:function(a){var b=d(a.target).parents(".calendar");b.hasClass("left")?this.leftCalendar.month.add(1,"month"):this.rightCalendar.month.add(1,"month"),this.updateCalendars()},hoverDate:function(a){var b=d(a.target).attr("data-title"),c=b.substr(1,1),e=b.substr(3,1),f=d(a.target).parents(".calendar");f.hasClass("left")?this.container.find("input[name=daterangepicker_start]").val(this.leftCalendar.calendar[c][e].format(this.format)):this.container.find("input[name=daterangepicker_end]").val(this.rightCalendar.calendar[c][e].format(this.format))},setCustomDates:function(a,b){if(this.chosenLabel=this.locale.customRangeLabel,a.isAfter(b)){var d=this.endDate.diff(this.startDate);b=c(a).add(d,"ms")}this.startDate=a,this.endDate=b,this.updateView(),this.updateCalendars()},clickDate:function(a){var b,e,f=d(a.target).attr("data-title"),g=f.substr(1,1),h=f.substr(3,1),i=d(a.target).parents(".calendar");if(i.hasClass("left")){if(b=this.leftCalendar.calendar[g][h],e=this.endDate,"object"==typeof this.dateLimit){var j=c(b).add(this.dateLimit).startOf("day");e.isAfter(j)&&(e=j)}}else if(b=this.startDate,e=this.rightCalendar.calendar[g][h],"object"==typeof this.dateLimit){var k=c(e).subtract(this.dateLimit).startOf("day");b.isBefore(k)&&(b=k)}this.singleDatePicker&&i.hasClass("left")?e=b.clone():this.singleDatePicker&&i.hasClass("right")&&(b=e.clone()),i.find("td").removeClass("active"),d(a.target).addClass("active"),this.setCustomDates(b,e),this.timePicker||e.endOf("day"),this.singleDatePicker&&!this.timePicker&&this.clickApply()},clickApply:function(a){this.updateInputText(),this.hide(),this.element.trigger("apply.daterangepicker",this)},clickCancel:function(a){this.startDate=this.oldStartDate,this.endDate=this.oldEndDate,this.chosenLabel=this.oldChosenLabel,this.updateView(),this.updateCalendars(),this.hide(),this.element.trigger("cancel.daterangepicker",this)},updateMonthYear:function(a){var b=d(a.target).closest(".calendar").hasClass("left"),c=b?"left":"right",e=this.container.find(".calendar."+c),f=parseInt(e.find(".monthselect").val(),10),g=e.find(".yearselect").val();this[c+"Calendar"].month.month(f).year(g),this.updateCalendars()},updateTime:function(a){var b=d(a.target).closest(".calendar"),c=b.hasClass("left"),e=parseInt(b.find(".hourselect").val(),10),f=parseInt(b.find(".minuteselect").val(),10),g=0;if(this.timePickerSeconds&&(g=parseInt(b.find(".secondselect").val(),10)),this.timePicker12Hour){var h=b.find(".ampmselect").val();"PM"===h&&12>e&&(e+=12),"AM"===h&&12===e&&(e=0)}if(c){var i=this.startDate.clone();i.hour(e),i.minute(f),i.second(g),this.startDate=i,this.leftCalendar.month.hour(e).minute(f).second(g),this.singleDatePicker&&(this.endDate=i.clone())}else{var j=this.endDate.clone();j.hour(e),j.minute(f),j.second(g),this.endDate=j,this.singleDatePicker&&(this.startDate=j.clone()),this.rightCalendar.month.hour(e).minute(f).second(g)}this.updateView(),this.updateCalendars()},updateCalendars:function(){this.leftCalendar.calendar=this.buildCalendar(this.leftCalendar.month.month(),this.leftCalendar.month.year(),this.leftCalendar.month.hour(),this.leftCalendar.month.minute(),this.leftCalendar.month.second(),"left"),this.rightCalendar.calendar=this.buildCalendar(this.rightCalendar.month.month(),this.rightCalendar.month.year(),this.rightCalendar.month.hour(),this.rightCalendar.month.minute(),this.rightCalendar.month.second(),"right"),this.container.find(".calendar.left").empty().html(this.renderCalendar(this.leftCalendar.calendar,this.startDate,this.minDate,this.maxDate,"left")),this.container.find(".calendar.right").empty().html(this.renderCalendar(this.rightCalendar.calendar,this.endDate,this.singleDatePicker?this.minDate:this.startDate,this.maxDate,"right")),this.container.find(".ranges li").removeClass("active");var a=!0,b=0;for(var c in this.ranges)this.timePicker?this.startDate.isSame(this.ranges[c][0])&&this.endDate.isSame(this.ranges[c][1])&&(a=!1,this.chosenLabel=this.container.find(".ranges li:eq("+b+")").addClass("active").html()):this.startDate.format("YYYY-MM-DD")==this.ranges[c][0].format("YYYY-MM-DD")&&this.endDate.format("YYYY-MM-DD")==this.ranges[c][1].format("YYYY-MM-DD")&&(a=!1,this.chosenLabel=this.container.find(".ranges li:eq("+b+")").addClass("active").html()),b++;a&&(this.chosenLabel=this.container.find(".ranges li:last").addClass("active").html(),this.showCalendars())},buildCalendar:function(a,b,d,e,f,g){var h,i=c([b,a]).daysInMonth(),j=c([b,a,1]),k=c([b,a,i]),l=c(j).subtract(1,"month").month(),m=c(j).subtract(1,"month").year(),n=c([m,l]).daysInMonth(),o=j.day(),p=[];for(p.firstDay=j,p.lastDay=k,h=0;6>h;h++)p[h]=[];var q=n-o+this.locale.firstDay+1;q>n&&(q-=7),o==this.locale.firstDay&&(q=n-6);var r,s,t=c([m,l,q,12,e,f]).zone(this.timeZone);for(h=0,r=0,s=0;42>h;h++,r++,t=c(t).add(24,"hour"))h>0&&r%7===0&&(r=0,s++),p[s][r]=t.clone().hour(d),t.hour(12),this.minDate&&p[s][r].format("YYYY-MM-DD")==this.minDate.format("YYYY-MM-DD")&&p[s][r].isBefore(this.minDate)&&"left"==g&&(p[s][r]=this.minDate.clone()),this.maxDate&&p[s][r].format("YYYY-MM-DD")==this.maxDate.format("YYYY-MM-DD")&&p[s][r].isAfter(this.maxDate)&&"right"==g&&(p[s][r]=this.maxDate.clone());return p},renderDropdowns:function(a,b,c){for(var d=a.month(),e=a.year(),f=c&&c.year()||e+5,g=b&&b.year()||e-50,h='<select class="monthselect">',i=e==g,j=e==f,k=0;12>k;k++)(!i||k>=b.month())&&(!j||k<=c.month())&&(h+="<option value='"+k+"'"+(k===d?" selected='selected'":"")+">"+this.locale.monthNames[k]+"</option>");h+="</select>";for(var l='<select class="yearselect">',m=g;f>=m;m++)l+='<option value="'+m+'"'+(m===e?' selected="selected"':"")+">"+m+"</option>";return l+="</select>",h+l},renderCalendar:function(a,b,c,e,f){var g='<div class="calendar-date">';g+='<table class="table-condensed">',g+="<thead>",g+="<tr>",this.showWeekNumbers&&(g+="<th></th>"),g+=!c||c.isBefore(a.firstDay)?'<th class="prev available"><i class="fa fa-arrow-left icon-arrow-left glyphicon glyphicon-arrow-left"></i></th>':"<th></th>";var h=this.locale.monthNames[a[1][1].month()]+a[1][1].format(" YYYY");this.showDropdowns&&(h=this.renderDropdowns(a[1][1],c,e)),g+='<th colspan="5" class="month">'+h+"</th>",g+=!e||e.isAfter(a.lastDay)?'<th class="next available"><i class="fa fa-arrow-right icon-arrow-right glyphicon glyphicon-arrow-right"></i></th>':"<th></th>",g+="</tr>",g+="<tr>",this.showWeekNumbers&&(g+='<th class="week">'+this.locale.weekLabel+"</th>"),d.each(this.locale.daysOfWeek,function(a,b){g+="<th>"+b+"</th>"}),g+="</tr>",g+="</thead>",g+="<tbody>";for(var i=0;6>i;i++){g+="<tr>",this.showWeekNumbers&&(g+='<td class="week">'+a[i][0].week()+"</td>");for(var j=0;7>j;j++){var k="available ";k+=a[i][j].month()==a[1][1].month()?"":"off",c&&a[i][j].isBefore(c,"day")||e&&a[i][j].isAfter(e,"day")?k=" off disabled ":a[i][j].format("YYYY-MM-DD")==b.format("YYYY-MM-DD")?(k+=" active ",a[i][j].format("YYYY-MM-DD")==this.startDate.format("YYYY-MM-DD")&&(k+=" start-date "),a[i][j].format("YYYY-MM-DD")==this.endDate.format("YYYY-MM-DD")&&(k+=" end-date ")):a[i][j]>=this.startDate&&a[i][j]<=this.endDate&&(k+=" in-range ",a[i][j].isSame(this.startDate)&&(k+=" start-date "),a[i][j].isSame(this.endDate)&&(k+=" end-date "));var l="r"+i+"c"+j;g+='<td class="'+k.replace(/\s+/g," ").replace(/^\s?(.*?)\s?$/,"$1")+'" data-title="'+l+'">'+a[i][j].date()+"</td>"}g+="</tr>"}g+="</tbody>",g+="</table>",g+="</div>";var m;if(this.timePicker){g+='<div class="calendar-time">',g+='<select class="hourselect">';var n=0,o=23;c&&("left"==f||this.singleDatePicker)&&b.format("YYYY-MM-DD")==c.format("YYYY-MM-DD")&&(n=c.hour(),b.hour()<n&&b.hour(n),this.timePicker12Hour&&n>=12&&b.hour()>=12&&(n-=12),this.timePicker12Hour&&12==n&&(n=1)),e&&("right"==f||this.singleDatePicker)&&b.format("YYYY-MM-DD")==e.format("YYYY-MM-DD")&&(o=e.hour(),b.hour()>o&&b.hour(o),this.timePicker12Hour&&o>=12&&b.hour()>=12&&(o-=12));var p=0,q=23,r=b.hour();for(this.timePicker12Hour&&(p=1,q=12,r>=12&&(r-=12),0===r&&(r=12)),m=p;q>=m;m++)g+=m==r?'<option value="'+m+'" selected="selected">'+m+"</option>":n>m||m>o?'<option value="'+m+'" disabled="disabled" class="disabled">'+m+"</option>":'<option value="'+m+'">'+m+"</option>";g+="</select> : ",g+='<select class="minuteselect">';var s=0,t=59;for(c&&("left"==f||this.singleDatePicker)&&b.format("YYYY-MM-DD h A")==c.format("YYYY-MM-DD h A")&&(s=c.minute(),b.minute()<s&&b.minute(s)),e&&("right"==f||this.singleDatePicker)&&b.format("YYYY-MM-DD h A")==e.format("YYYY-MM-DD h A")&&(t=e.minute(),b.minute()>t&&b.minute(t)),m=0;60>m;m+=this.timePickerIncrement){var u=m;10>u&&(u="0"+u),g+=m==b.minute()?'<option value="'+m+'" selected="selected">'+u+"</option>":s>m||m>t?'<option value="'+m+'" disabled="disabled" class="disabled">'+u+"</option>":'<option value="'+m+'">'+u+"</option>"}if(g+="</select> ",this.timePickerSeconds){for(g+=': <select class="secondselect">',m=0;60>m;m+=this.timePickerIncrement){var u=m;10>u&&(u="0"+u),g+=m==b.second()?'<option value="'+m+'" selected="selected">'+u+"</option>":'<option value="'+m+'">'+u+"</option>"}g+="</select>"}if(this.timePicker12Hour){g+='<select class="ampmselect">';var v="",w="";c&&("left"==f||this.singleDatePicker)&&b.format("YYYY-MM-DD")==c.format("YYYY-MM-DD")&&c.hour()>=12&&(v=' disabled="disabled" class="disabled"'),e&&("right"==f||this.singleDatePicker)&&b.format("YYYY-MM-DD")==e.format("YYYY-MM-DD")&&e.hour()<12&&(w=' disabled="disabled" class="disabled"'),g+=b.hour()>=12?'<option value="AM"'+v+'>AM</option><option value="PM" selected="selected"'+w+">PM</option>":'<option value="AM" selected="selected"'+v+'>AM</option><option value="PM"'+w+">PM</option>",g+="</select>"}g+="</div>"}return g},remove:function(){this.container.remove(),this.element.off(".daterangepicker"),this.element.removeData("daterangepicker")}},d.fn.daterangepicker=function(a,b){return this.each(function(){var c=d(this);c.data("daterangepicker")&&c.data("daterangepicker").remove(),c.data("daterangepicker",new e(c,a,b))}),this}}),function(a){"use strict";a.module("ngBootstrap",[]).directive("input",["$compile","$parse","$filter",function(b,c,d){return{restrict:"E",require:"?ngModel",link:function(b,e,f,g){function h(a){return moment.isMoment(a)?a.toDate():a}function i(a){return moment.isMoment(a)?a:moment(a)}function j(a){return d("date")(h(a),l.format.replace(/Y/g,"y").replace(/D/g,"d"))}function k(a){return[j(a.startDate),j(a.endDate)].join(l.separator)}if("daterange"===f.type&&null!==g){var l={};l.format=f.format||"YYYY-MM-DD",l.separator=f.separator||" - ",l.minDate=f.minDate&&moment(f.minDate),l.maxDate=f.maxDate&&moment(f.maxDate),l.dateLimit=f.limit&&moment.duration.apply(this,f.limit.split(" ").map(function(a,b){return 0===b&&parseInt(a,10)||a})),l.ranges=f.ranges&&c(f.ranges)(b),l.locale=f.locale&&c(f.locale)(b),l.opens=f.opens||c(f.opens)(b),f.enabletimepicker&&(l.timePicker=!0,a.extend(l,c(f.enabletimepicker)(b))),g.$render=function(){g.$viewValue&&g.$viewValue.startDate&&e.val(k(g.$viewValue))},b.$watch(function(){return f.ngModel},function(a,c){return b[a]&&b[a].startDate?void(c===a&&(e.data("daterangepicker").startDate=i(b[a].startDate),e.data("daterangepicker").endDate=i(b[a].endDate),e.data("daterangepicker").updateView(),e.data("daterangepicker").updateCalendars(),e.data("daterangepicker").updateInputText())):void g.$setViewValue({startDate:moment().startOf("day"),endDate:moment().startOf("day")})}),e.daterangepicker(l,function(c,d,e){var f=g.$viewValue;a.equals(c,f.startDate)&&a.equals(d,f.endDate)||b.$apply(function(){g.$setViewValue({startDate:moment.isMoment(f.startDate)?c:c.toDate(),endDate:moment.isMoment(f.endDate)?d:d.toDate()}),g.$render()})})}}}}])}(angular),angular.module("ui.bootstrap",["ui.bootstrap.tpls","ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.isClass","ui.bootstrap.position","ui.bootstrap.datepicker","ui.bootstrap.debounce","ui.bootstrap.dropdown","ui.bootstrap.stackedMap","ui.bootstrap.modal","ui.bootstrap.paging","ui.bootstrap.pager","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]),angular.module("ui.bootstrap.tpls",["uib/template/accordion/accordion-group.html","uib/template/accordion/accordion.html","uib/template/alert/alert.html","uib/template/carousel/carousel.html","uib/template/carousel/slide.html","uib/template/datepicker/datepicker.html","uib/template/datepicker/day.html","uib/template/datepicker/month.html","uib/template/datepicker/popup.html","uib/template/datepicker/year.html","uib/template/modal/backdrop.html","uib/template/modal/window.html","uib/template/pager/pager.html","uib/template/pagination/pagination.html","uib/template/tooltip/tooltip-html-popup.html","uib/template/tooltip/tooltip-popup.html","uib/template/tooltip/tooltip-template-popup.html","uib/template/popover/popover-html.html","uib/template/popover/popover-template.html","uib/template/popover/popover.html","uib/template/progressbar/bar.html","uib/template/progressbar/progress.html","uib/template/progressbar/progressbar.html","uib/template/rating/rating.html","uib/template/tabs/tab.html","uib/template/tabs/tabset.html","uib/template/timepicker/timepicker.html","uib/template/typeahead/typeahead-match.html","uib/template/typeahead/typeahead-popup.html"]),
+angular.module("ui.bootstrap.collapse",[]).directive("uibCollapse",["$animate","$injector",function(a,b){var c=b.has("$animateCss")?b.get("$animateCss"):null;return{link:function(b,d,e){function f(){d.removeClass("collapse").addClass("collapsing").attr("aria-expanded",!0).attr("aria-hidden",!1),c?c(d,{addClass:"in",easing:"ease",to:{height:d[0].scrollHeight+"px"}}).start()["finally"](g):a.addClass(d,"in",{to:{height:d[0].scrollHeight+"px"}}).then(g)}function g(){d.removeClass("collapsing").addClass("collapse").css({height:"auto"})}function h(){return d.hasClass("collapse")||d.hasClass("in")?(d.css({height:d[0].scrollHeight+"px"}).removeClass("collapse").addClass("collapsing").attr("aria-expanded",!1).attr("aria-hidden",!0),void(c?c(d,{removeClass:"in",to:{height:"0"}}).start()["finally"](i):a.removeClass(d,"in",{to:{height:"0"}}).then(i))):i()}function i(){d.css({height:"0"}),d.removeClass("collapsing").addClass("collapse")}b.$eval(e.uibCollapse)||d.addClass("in").addClass("collapse").css({height:"auto"}),b.$watch(e.uibCollapse,function(a){a?h():f()})}}}]),angular.module("ui.bootstrap.accordion",["ui.bootstrap.collapse"]).constant("uibAccordionConfig",{closeOthers:!0}).controller("UibAccordionController",["$scope","$attrs","uibAccordionConfig",function(a,b,c){this.groups=[],this.closeOthers=function(d){var e=angular.isDefined(b.closeOthers)?a.$eval(b.closeOthers):c.closeOthers;e&&angular.forEach(this.groups,function(a){a!==d&&(a.isOpen=!1)})},this.addGroup=function(a){var b=this;this.groups.push(a),a.$on("$destroy",function(c){b.removeGroup(a)})},this.removeGroup=function(a){var b=this.groups.indexOf(a);-1!==b&&this.groups.splice(b,1)}}]).directive("uibAccordion",function(){return{controller:"UibAccordionController",controllerAs:"accordion",transclude:!0,templateUrl:function(a,b){return b.templateUrl||"uib/template/accordion/accordion.html"}}}).directive("uibAccordionGroup",function(){return{require:"^uibAccordion",transclude:!0,replace:!0,templateUrl:function(a,b){return b.templateUrl||"uib/template/accordion/accordion-group.html"},scope:{heading:"@",isOpen:"=?",isDisabled:"=?"},controller:function(){this.setHeading=function(a){this.heading=a}},link:function(a,b,c,d){d.addGroup(a),a.openClass=c.openClass||"panel-open",a.panelClass=c.panelClass||"panel-default",a.$watch("isOpen",function(c){b.toggleClass(a.openClass,!!c),c&&d.closeOthers(a)}),a.toggleOpen=function(b){a.isDisabled||b&&32!==b.which||(a.isOpen=!a.isOpen)}}}}).directive("uibAccordionHeading",function(){return{transclude:!0,template:"",replace:!0,require:"^uibAccordionGroup",link:function(a,b,c,d,e){d.setHeading(e(a,angular.noop))}}}).directive("uibAccordionTransclude",function(){return{require:"^uibAccordionGroup",link:function(a,b,c,d){a.$watch(function(){return d[c.uibAccordionTransclude]},function(a){a&&(b.find("span").html(""),b.find("span").append(a))})}}}),angular.module("ui.bootstrap.alert",[]).controller("UibAlertController",["$scope","$attrs","$interpolate","$timeout",function(a,b,c,d){a.closeable=!!b.close;var e=angular.isDefined(b.dismissOnTimeout)?c(b.dismissOnTimeout)(a.$parent):null;e&&d(function(){a.close()},parseInt(e,10))}]).directive("uibAlert",function(){return{controller:"UibAlertController",controllerAs:"alert",templateUrl:function(a,b){return b.templateUrl||"uib/template/alert/alert.html"},transclude:!0,replace:!0,scope:{type:"@",close:"&"}}}),angular.module("ui.bootstrap.buttons",[]).constant("uibButtonConfig",{activeClass:"active",toggleEvent:"click"}).controller("UibButtonsController",["uibButtonConfig",function(a){this.activeClass=a.activeClass||"active",this.toggleEvent=a.toggleEvent||"click"}]).directive("uibBtnRadio",["$parse",function(a){return{require:["uibBtnRadio","ngModel"],controller:"UibButtonsController",controllerAs:"buttons",link:function(b,c,d,e){var f=e[0],g=e[1],h=a(d.uibUncheckable);c.find("input").css({display:"none"}),g.$render=function(){c.toggleClass(f.activeClass,angular.equals(g.$modelValue,b.$eval(d.uibBtnRadio)))},c.on(f.toggleEvent,function(){if(!d.disabled){var a=c.hasClass(f.activeClass);(!a||angular.isDefined(d.uncheckable))&&b.$apply(function(){g.$setViewValue(a?null:b.$eval(d.uibBtnRadio)),g.$render()})}}),d.uibUncheckable&&b.$watch(h,function(a){d.$set("uncheckable",a?"":null)})}}}]).directive("uibBtnCheckbox",function(){return{require:["uibBtnCheckbox","ngModel"],controller:"UibButtonsController",controllerAs:"button",link:function(a,b,c,d){function e(){return g(c.btnCheckboxTrue,!0)}function f(){return g(c.btnCheckboxFalse,!1)}function g(b,c){return angular.isDefined(b)?a.$eval(b):c}var h=d[0],i=d[1];b.find("input").css({display:"none"}),i.$render=function(){b.toggleClass(h.activeClass,angular.equals(i.$modelValue,e()))},b.on(h.toggleEvent,function(){c.disabled||a.$apply(function(){i.$setViewValue(b.hasClass(h.activeClass)?f():e()),i.$render()})})}}}),angular.module("ui.bootstrap.carousel",[]).controller("UibCarouselController",["$scope","$element","$interval","$timeout","$animate",function(a,b,c,d,e){function f(){for(;s.length;)s.shift()}function g(a){if(angular.isUndefined(p[a].index))return p[a];for(var b=0,c=p.length;c>b;++b)if(p[b].index===a)return p[b]}function h(c,d,g){t||(angular.extend(c,{direction:g,active:!0}),angular.extend(o.currentSlide||{},{direction:g,active:!1}),e.enabled(b)&&!a.$currentTransition&&c.$element&&o.slides.length>1&&(c.$element.data(q,c.direction),o.currentSlide&&o.currentSlide.$element&&o.currentSlide.$element.data(q,c.direction),a.$currentTransition=!0,e.on("addClass",c.$element,function(b,c){if("close"===c&&(a.$currentTransition=null,e.off("addClass",b),s.length)){var d=s.pop(),g=a.indexOfSlide(d),i=g>o.getCurrentIndex()?"next":"prev";f(),h(d,g,i)}})),o.currentSlide=c,r=d,k())}function i(){m&&(c.cancel(m),m=null)}function j(b){b.length||(a.$currentTransition=null,f())}function k(){i();var b=+a.interval;!isNaN(b)&&b>0&&(m=c(l,b))}function l(){var b=+a.interval;n&&!isNaN(b)&&b>0&&p.length?a.next():a.pause()}var m,n,o=this,p=o.slides=a.slides=[],q="uib-slideDirection",r=-1,s=[];o.currentSlide=null;var t=!1;o.addSlide=function(b,c){b.$element=c,p.push(b),1===p.length||b.active?(a.$currentTransition&&(a.$currentTransition=null),o.select(p[p.length-1]),1===p.length&&a.play()):b.active=!1},o.getCurrentIndex=function(){return o.currentSlide&&angular.isDefined(o.currentSlide.index)?+o.currentSlide.index:r},o.next=a.next=function(){var b=(o.getCurrentIndex()+1)%p.length;return 0===b&&a.noWrap()?void a.pause():o.select(g(b),"next")},o.prev=a.prev=function(){var b=o.getCurrentIndex()-1<0?p.length-1:o.getCurrentIndex()-1;return a.noWrap()&&b===p.length-1?void a.pause():o.select(g(b),"prev")},o.removeSlide=function(a){angular.isDefined(a.index)&&p.sort(function(a,b){return+a.index>+b.index});var b=s.indexOf(a);-1!==b&&s.splice(b,1);var c=p.indexOf(a);p.splice(c,1),d(function(){p.length>0&&a.active?c>=p.length?o.select(p[c-1]):o.select(p[c]):r>c&&r--}),0===p.length&&(o.currentSlide=null,f())},o.select=a.select=function(b,c){var d=a.indexOfSlide(b);void 0===c&&(c=d>o.getCurrentIndex()?"next":"prev"),b&&b!==o.currentSlide&&!a.$currentTransition?h(b,d,c):b&&b!==o.currentSlide&&a.$currentTransition&&(s.push(b),b.active=!1)},a.indexOfSlide=function(a){return angular.isDefined(a.index)?+a.index:p.indexOf(a)},a.isActive=function(a){return o.currentSlide===a},a.pause=function(){a.noPause||(n=!1,i())},a.play=function(){n||(n=!0,k())},a.$on("$destroy",function(){t=!0,i()}),a.$watch("noTransition",function(a){e.enabled(b,!a)}),a.$watch("interval",k),a.$watchCollection("slides",j)}]).directive("uibCarousel",function(){return{transclude:!0,replace:!0,controller:"UibCarouselController",controllerAs:"carousel",templateUrl:function(a,b){return b.templateUrl||"uib/template/carousel/carousel.html"},scope:{interval:"=",noTransition:"=",noPause:"=",noWrap:"&"}}}).directive("uibSlide",function(){return{require:"^uibCarousel",transclude:!0,replace:!0,templateUrl:function(a,b){return b.templateUrl||"uib/template/carousel/slide.html"},scope:{active:"=?",actual:"=?",index:"=?"},link:function(a,b,c,d){d.addSlide(a,b),a.$on("$destroy",function(){d.removeSlide(a)}),a.$watch("active",function(b){b&&d.select(a)})}}}).animation(".item",["$animateCss",function(a){function b(a,b,c){a.removeClass(b),c&&c()}var c="uib-slideDirection";return{beforeAddClass:function(d,e,f){if("active"===e){var g=!1,h=d.data(c),i="next"===h?"left":"right",j=b.bind(this,d,i+" "+h,f);return d.addClass(h),a(d,{addClass:i}).start().done(j),function(){g=!0}}f()},beforeRemoveClass:function(d,e,f){if("active"===e){var g=!1,h=d.data(c),i="next"===h?"left":"right",j=b.bind(this,d,i,f);return a(d,{addClass:i}).start().done(j),function(){g=!0}}f()}}}]),angular.module("ui.bootstrap.dateparser",[]).service("uibDateParser",["$log","$locale","orderByFilter",function(a,b,c){function d(a){var b=[],d=a.split(""),e=a.indexOf("'");if(e>-1){var f=!1;a=a.split("");for(var g=e;g<a.length;g++)f?("'"===a[g]&&(g+1<a.length&&"'"===a[g+1]?(a[g+1]="$",d[g+1]=""):(d[g]="",f=!1)),a[g]="$"):"'"===a[g]&&(a[g]="$",d[g]="",f=!0);a=a.join("")}return angular.forEach(m,function(c){var e=a.indexOf(c.key);if(e>-1){a=a.split(""),d[e]="("+c.regex+")",a[e]="$";for(var f=e+1,g=e+c.key.length;g>f;f++)d[f]="",a[f]="$";a=a.join(""),b.push({index:e,apply:c.apply,matcher:c.regex})}}),{regex:new RegExp("^"+d.join("")+"$"),map:c(b,"index")}}function e(a,b,c){return 1>c?!1:1===b&&c>28?29===c&&(a%4===0&&a%100!==0||a%400===0):3===b||5===b||8===b||10===b?31>c:!0}function f(a){return parseInt(a,10)}function g(a,b){return a&&b?k(a,b):a}function h(a,b){return a&&b?k(a,b,!0):a}function i(a,b){var c=Date.parse("Jan 01, 1970 00:00:00 "+a)/6e4;return isNaN(c)?b:c}function j(a,b){return a=new Date(a.getTime()),a.setMinutes(a.getMinutes()+b),a}function k(a,b,c){c=c?-1:1;var d=i(b,a.getTimezoneOffset());return j(a,c*(d-a.getTimezoneOffset()))}var l,m,n=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;this.init=function(){l=b.id,this.parsers={},m=[{key:"yyyy",regex:"\\d{4}",apply:function(a){this.year=+a}},{key:"yy",regex:"\\d{2}",apply:function(a){this.year=+a+2e3}},{key:"y",regex:"\\d{1,4}",apply:function(a){this.year=+a}},{key:"M!",regex:"0?[1-9]|1[0-2]",apply:function(a){this.month=a-1}},{key:"MMMM",regex:b.DATETIME_FORMATS.MONTH.join("|"),apply:function(a){this.month=b.DATETIME_FORMATS.MONTH.indexOf(a)}},{key:"MMM",regex:b.DATETIME_FORMATS.SHORTMONTH.join("|"),apply:function(a){this.month=b.DATETIME_FORMATS.SHORTMONTH.indexOf(a)}},{key:"MM",regex:"0[1-9]|1[0-2]",apply:function(a){this.month=a-1}},{key:"M",regex:"[1-9]|1[0-2]",apply:function(a){this.month=a-1}},{key:"d!",regex:"[0-2]?[0-9]{1}|3[0-1]{1}",apply:function(a){this.date=+a}},{key:"dd",regex:"[0-2][0-9]{1}|3[0-1]{1}",apply:function(a){this.date=+a}},{key:"d",regex:"[1-2]?[0-9]{1}|3[0-1]{1}",apply:function(a){this.date=+a}},{key:"EEEE",regex:b.DATETIME_FORMATS.DAY.join("|")},{key:"EEE",regex:b.DATETIME_FORMATS.SHORTDAY.join("|")},{key:"HH",regex:"(?:0|1)[0-9]|2[0-3]",apply:function(a){this.hours=+a}},{key:"hh",regex:"0[0-9]|1[0-2]",apply:function(a){this.hours=+a}},{key:"H",regex:"1?[0-9]|2[0-3]",apply:function(a){this.hours=+a}},{key:"h",regex:"[0-9]|1[0-2]",apply:function(a){this.hours=+a}},{key:"mm",regex:"[0-5][0-9]",apply:function(a){this.minutes=+a}},{key:"m",regex:"[0-9]|[1-5][0-9]",apply:function(a){this.minutes=+a}},{key:"sss",regex:"[0-9][0-9][0-9]",apply:function(a){this.milliseconds=+a}},{key:"ss",regex:"[0-5][0-9]",apply:function(a){this.seconds=+a}},{key:"s",regex:"[0-9]|[1-5][0-9]",apply:function(a){this.seconds=+a}},{key:"a",regex:b.DATETIME_FORMATS.AMPMS.join("|"),apply:function(a){12===this.hours&&(this.hours=0),"PM"===a&&(this.hours+=12)}},{key:"Z",regex:"[+-]\\d{4}",apply:function(a){var b=a.match(/([+-])(\d{2})(\d{2})/),c=b[1],d=b[2],e=b[3];this.hours+=f(c+d),this.minutes+=f(c+e)}},{key:"ww",regex:"[0-4][0-9]|5[0-3]"},{key:"w",regex:"[0-9]|[1-4][0-9]|5[0-3]"},{key:"GGGG",regex:b.DATETIME_FORMATS.ERANAMES.join("|").replace(/\s/g,"\\s")},{key:"GGG",regex:b.DATETIME_FORMATS.ERAS.join("|")},{key:"GG",regex:b.DATETIME_FORMATS.ERAS.join("|")},{key:"G",regex:b.DATETIME_FORMATS.ERAS.join("|")}]},this.init(),this.parse=function(c,f,g){if(!angular.isString(c)||!f)return c;f=b.DATETIME_FORMATS[f]||f,f=f.replace(n,"\\$&"),b.id!==l&&this.init(),this.parsers[f]||(this.parsers[f]=d(f));var h=this.parsers[f],i=h.regex,j=h.map,k=c.match(i),m=!1;if(k&&k.length){var o,p;angular.isDate(g)&&!isNaN(g.getTime())?o={year:g.getFullYear(),month:g.getMonth(),date:g.getDate(),hours:g.getHours(),minutes:g.getMinutes(),seconds:g.getSeconds(),milliseconds:g.getMilliseconds()}:(g&&a.warn("dateparser:","baseDate is not a valid date"),o={year:1900,month:0,date:1,hours:0,minutes:0,seconds:0,milliseconds:0});for(var q=1,r=k.length;r>q;q++){var s=j[q-1];"Z"===s.matcher&&(m=!0),s.apply&&s.apply.call(o,k[q])}var t=m?Date.prototype.setUTCFullYear:Date.prototype.setFullYear,u=m?Date.prototype.setUTCHours:Date.prototype.setHours;return e(o.year,o.month,o.date)&&(!angular.isDate(g)||isNaN(g.getTime())||m?(p=new Date(0),t.call(p,o.year,o.month,o.date),u.call(p,o.hours||0,o.minutes||0,o.seconds||0,o.milliseconds||0)):(p=new Date(g),t.call(p,o.year,o.month,o.date),u.call(p,o.hours,o.minutes,o.seconds,o.milliseconds))),p}},this.toTimezone=g,this.fromTimezone=h,this.timezoneToOffset=i,this.addDateMinutes=j,this.convertTimezoneToLocal=k}]),angular.module("ui.bootstrap.isClass",[]).directive("uibIsClass",["$animate",function(a){var b=/^\s*([\s\S]+?)\s+on\s+([\s\S]+?)\s*$/,c=/^\s*([\s\S]+?)\s+for\s+([\s\S]+?)\s*$/;return{restrict:"A",compile:function(d,e){function f(a,b,c){i.push(a),j.push({scope:a,element:b}),o.forEach(function(b,c){g(b,a)}),a.$on("$destroy",h)}function g(b,d){var e=b.match(c),f=d.$eval(e[1]),g=e[2],h=k[b];if(!h){var i=function(b){var c=null;j.some(function(a){var d=a.scope.$eval(m);return d===b?(c=a,!0):void 0}),h.lastActivated!==c&&(h.lastActivated&&a.removeClass(h.lastActivated.element,f),c&&a.addClass(c.element,f),h.lastActivated=c)};k[b]=h={lastActivated:null,scope:d,watchFn:i,compareWithExp:g,watcher:d.$watch(g,i)}}h.watchFn(d.$eval(g))}function h(a){var b=a.targetScope,c=i.indexOf(b);if(i.splice(c,1),j.splice(c,1),i.length){var d=i[0];angular.forEach(k,function(a){a.scope===b&&(a.watcher=d.$watch(a.compareWithExp,a.watchFn),a.scope=d)})}else k={}}var i=[],j=[],k={},l=e.uibIsClass.match(b),m=l[2],n=l[1],o=n.split(",");return f}}}]),angular.module("ui.bootstrap.position",[]).factory("$uibPosition",["$document","$window",function(a,b){var c,d={normal:/(auto|scroll)/,hidden:/(auto|scroll|hidden)/},e={auto:/\s?auto?\s?/i,primary:/^(top|bottom|left|right)$/,secondary:/^(top|bottom|left|right|center)$/,vertical:/^(top|bottom)$/};return{getRawNode:function(a){return a[0]||a},parseStyle:function(a){return a=parseFloat(a),isFinite(a)?a:0},offsetParent:function(c){function d(a){return"static"===(b.getComputedStyle(a).position||"static")}c=this.getRawNode(c);for(var e=c.offsetParent||a[0].documentElement;e&&e!==a[0].documentElement&&d(e);)e=e.offsetParent;return e||a[0].documentElement},scrollbarWidth:function(){if(angular.isUndefined(c)){var b=angular.element('<div style="position: absolute; top: -9999px; width: 50px; height: 50px; overflow: scroll;"></div>');a.find("body").append(b),c=b[0].offsetWidth-b[0].clientWidth,c=isFinite(c)?c:0,b.remove()}return c},scrollParent:function(c,e){c=this.getRawNode(c);var f=e?d.hidden:d.normal,g=a[0].documentElement,h=b.getComputedStyle(c),i="absolute"===h.position,j=c.parentElement||g;if(j===g||"fixed"===h.position)return g;for(;j.parentElement&&j!==g;){var k=b.getComputedStyle(j);if(i&&"static"!==k.position&&(i=!1),!i&&f.test(k.overflow+k.overflowY+k.overflowX))break;j=j.parentElement}return j},position:function(c,d){c=this.getRawNode(c);var e=this.offset(c);if(d){var f=b.getComputedStyle(c);e.top-=this.parseStyle(f.marginTop),e.left-=this.parseStyle(f.marginLeft)}var g=this.offsetParent(c),h={top:0,left:0};return g!==a[0].documentElement&&(h=this.offset(g),h.top+=g.clientTop-g.scrollTop,h.left+=g.clientLeft-g.scrollLeft),{width:Math.round(angular.isNumber(e.width)?e.width:c.offsetWidth),height:Math.round(angular.isNumber(e.height)?e.height:c.offsetHeight),top:Math.round(e.top-h.top),left:Math.round(e.left-h.left)}},offset:function(c){c=this.getRawNode(c);var d=c.getBoundingClientRect();return{width:Math.round(angular.isNumber(d.width)?d.width:c.offsetWidth),height:Math.round(angular.isNumber(d.height)?d.height:c.offsetHeight),top:Math.round(d.top+(b.pageYOffset||a[0].documentElement.scrollTop)),left:Math.round(d.left+(b.pageXOffset||a[0].documentElement.scrollLeft))}},viewportOffset:function(c,d,e){c=this.getRawNode(c),e=e!==!1?!0:!1;var f=c.getBoundingClientRect(),g={top:0,left:0,bottom:0,right:0},h=d?a[0].documentElement:this.scrollParent(c),i=h.getBoundingClientRect();if(g.top=i.top+h.clientTop,g.left=i.left+h.clientLeft,h===a[0].documentElement&&(g.top+=b.pageYOffset,g.left+=b.pageXOffset),g.bottom=g.top+h.clientHeight,g.right=g.left+h.clientWidth,e){var j=b.getComputedStyle(h);g.top+=this.parseStyle(j.paddingTop),g.bottom-=this.parseStyle(j.paddingBottom),g.left+=this.parseStyle(j.paddingLeft),g.right-=this.parseStyle(j.paddingRight)}return{top:Math.round(f.top-g.top),bottom:Math.round(g.bottom-f.bottom),left:Math.round(f.left-g.left),right:Math.round(g.right-f.right)}},parsePlacement:function(a){var b=e.auto.test(a);return b&&(a=a.replace(e.auto,"")),a=a.split("-"),a[0]=a[0]||"top",e.primary.test(a[0])||(a[0]="top"),a[1]=a[1]||"center",e.secondary.test(a[1])||(a[1]="center"),b?a[2]=!0:a[2]=!1,a},positionElements:function(a,c,d,f){a=this.getRawNode(a),c=this.getRawNode(c);var g=angular.isDefined(c.offsetWidth)?c.offsetWidth:c.prop("offsetWidth"),h=angular.isDefined(c.offsetHeight)?c.offsetHeight:c.prop("offsetHeight");d=this.parsePlacement(d);var i=f?this.offset(a):this.position(a),j={top:0,left:0,placement:""};if(d[2]){var k=this.viewportOffset(a),l=b.getComputedStyle(c),m={width:g+Math.round(Math.abs(this.parseStyle(l.marginLeft)+this.parseStyle(l.marginRight))),height:h+Math.round(Math.abs(this.parseStyle(l.marginTop)+this.parseStyle(l.marginBottom)))};if(d[0]="top"===d[0]&&m.height>k.top&&m.height<=k.bottom?"bottom":"bottom"===d[0]&&m.height>k.bottom&&m.height<=k.top?"top":"left"===d[0]&&m.width>k.left&&m.width<=k.right?"right":"right"===d[0]&&m.width>k.right&&m.width<=k.left?"left":d[0],d[1]="top"===d[1]&&m.height-i.height>k.bottom&&m.height-i.height<=k.top?"bottom":"bottom"===d[1]&&m.height-i.height>k.top&&m.height-i.height<=k.bottom?"top":"left"===d[1]&&m.width-i.width>k.right&&m.width-i.width<=k.left?"right":"right"===d[1]&&m.width-i.width>k.left&&m.width-i.width<=k.right?"left":d[1],"center"===d[1])if(e.vertical.test(d[0])){var n=i.width/2-g/2;k.left+n<0&&m.width-i.width<=k.right?d[1]="left":k.right+n<0&&m.width-i.width<=k.left&&(d[1]="right")}else{var o=i.height/2-m.height/2;k.top+o<0&&m.height-i.height<=k.bottom?d[1]="top":k.bottom+o<0&&m.height-i.height<=k.top&&(d[1]="bottom")}}switch(d[0]){case"top":j.top=i.top-h;break;case"bottom":j.top=i.top+i.height;break;case"left":j.left=i.left-g;break;case"right":j.left=i.left+i.width}switch(d[1]){case"top":j.top=i.top;break;case"bottom":j.top=i.top+i.height-h;break;case"left":j.left=i.left;break;case"right":j.left=i.left+i.width-g;break;case"center":e.vertical.test(d[0])?j.left=i.left+i.width/2-g/2:j.top=i.top+i.height/2-h/2}return j.top=Math.round(j.top),j.left=Math.round(j.left),j.placement="center"===d[1]?d[0]:d[0]+"-"+d[1],j},positionArrow:function(a,c){a=this.getRawNode(a);var d=!0,f=a.querySelector(".tooltip-inner");if(f||(d=!1,f=a.querySelector(".popover-inner")),f){var g=d?a.querySelector(".tooltip-arrow"):a.querySelector(".arrow");if(g){if(c=this.parsePlacement(c),"center"===c[1])return void angular.element(g).css({top:"",bottom:"",right:"",left:"",margin:""});var h="border-"+c[0]+"-width",i=b.getComputedStyle(g)[h],j="border-";j+=e.vertical.test(c[0])?c[0]+"-"+c[1]:c[1]+"-"+c[0],j+="-radius";var k=b.getComputedStyle(d?f:a)[j],l={top:"auto",bottom:"auto",left:"auto",right:"auto",margin:0};switch(c[0]){case"top":l.bottom=d?"0":"-"+i;break;case"bottom":l.top=d?"0":"-"+i;break;case"left":l.right=d?"0":"-"+i;break;case"right":l.left=d?"0":"-"+i}l[c[1]]=k,angular.element(g).css(l)}}}}}]),angular.module("ui.bootstrap.datepicker",["ui.bootstrap.dateparser","ui.bootstrap.isClass","ui.bootstrap.position"]).value("$datepickerSuppressError",!1).constant("uibDatepickerConfig",{formatDay:"dd",formatMonth:"MMMM",formatYear:"yyyy",formatDayHeader:"EEE",formatDayTitle:"MMMM yyyy",formatMonthTitle:"yyyy",datepickerMode:"day",minMode:"day",maxMode:"year",showWeeks:!0,startingDay:0,yearRows:4,yearColumns:5,minDate:null,maxDate:null,shortcutPropagation:!1,ngModelOptions:{}}).controller("UibDatepickerController",["$scope","$attrs","$parse","$interpolate","$log","dateFilter","uibDatepickerConfig","$datepickerSuppressError","uibDateParser",function(a,b,c,d,e,f,g,h,i){var j=this,k={$setViewValue:angular.noop},l={};this.modes=["day","month","year"],angular.forEach(["formatDay","formatMonth","formatYear","formatDayHeader","formatDayTitle","formatMonthTitle"],function(c){j[c]=angular.isDefined(b[c])?d(b[c])(a.$parent):g[c]}),angular.forEach(["showWeeks","startingDay","yearRows","yearColumns","shortcutPropagation"],function(c){j[c]=angular.isDefined(b[c])?a.$parent.$eval(b[c]):g[c]}),angular.forEach(["minDate","maxDate"],function(c){b[c]?a.$parent.$watch(b[c],function(a){j[c]=a?angular.isDate(a)?i.fromTimezone(new Date(a),l.timezone):new Date(f(a,"medium")):null,j.refreshView()}):j[c]=g[c]?i.fromTimezone(new Date(g[c]),l.timezone):null}),angular.forEach(["minMode","maxMode"],function(c){b[c]?a.$parent.$watch(b[c],function(d){j[c]=a[c]=angular.isDefined(d)?d:b[c],("minMode"===c&&j.modes.indexOf(a.datepickerMode)<j.modes.indexOf(j[c])||"maxMode"===c&&j.modes.indexOf(a.datepickerMode)>j.modes.indexOf(j[c]))&&(a.datepickerMode=j[c])}):j[c]=a[c]=g[c]||null}),a.datepickerMode=a.datepickerMode||g.datepickerMode,a.uniqueId="datepicker-"+a.$id+"-"+Math.floor(1e4*Math.random()),angular.isDefined(b.initDate)?(this.activeDate=i.fromTimezone(a.$parent.$eval(b.initDate),l.timezone)||new Date,a.$parent.$watch(b.initDate,function(a){a&&(k.$isEmpty(k.$modelValue)||k.$invalid)&&(j.activeDate=i.fromTimezone(a,l.timezone),j.refreshView())})):this.activeDate=new Date,a.disabled=angular.isDefined(b.disabled)||!1,angular.isDefined(b.ngDisabled)&&a.$parent.$watch(b.ngDisabled,function(b){a.disabled=b,j.refreshView()}),a.isActive=function(b){return 0===j.compare(b.date,j.activeDate)?(a.activeDateId=b.uid,!0):!1},this.init=function(a){k=a,l=a.$options||g.ngModelOptions,k.$modelValue&&(this.activeDate=k.$modelValue),k.$render=function(){j.render()}},this.render=function(){if(k.$viewValue){var a=new Date(k.$viewValue),b=!isNaN(a);b?this.activeDate=i.fromTimezone(a,l.timezone):h||e.error('Datepicker directive: "ng-model" value must be a Date object')}this.refreshView()},this.refreshView=function(){if(this.element){a.selectedDt=null,this._refreshView(),a.activeDt&&(a.activeDateId=a.activeDt.uid);var b=k.$viewValue?new Date(k.$viewValue):null;b=i.fromTimezone(b,l.timezone),k.$setValidity("dateDisabled",!b||this.element&&!this.isDisabled(b))}},this.createDateObject=function(b,c){var d=k.$viewValue?new Date(k.$viewValue):null;d=i.fromTimezone(d,l.timezone);var e={date:b,label:f(b,c.replace(/d!/,"dd")).replace(/M!/,"MM"),selected:d&&0===this.compare(b,d),disabled:this.isDisabled(b),current:0===this.compare(b,new Date),customClass:this.customClass(b)||null};return d&&0===this.compare(b,d)&&(a.selectedDt=e),j.activeDate&&0===this.compare(e.date,j.activeDate)&&(a.activeDt=e),e},this.isDisabled=function(c){return a.disabled||this.minDate&&this.compare(c,this.minDate)<0||this.maxDate&&this.compare(c,this.maxDate)>0||b.dateDisabled&&a.dateDisabled({date:c,mode:a.datepickerMode})},this.customClass=function(b){return a.customClass({date:b,mode:a.datepickerMode})},this.split=function(a,b){for(var c=[];a.length>0;)c.push(a.splice(0,b));return c},a.select=function(b){if(a.datepickerMode===j.minMode){var c=k.$viewValue?i.fromTimezone(new Date(k.$viewValue),l.timezone):new Date(0,0,0,0,0,0,0);c.setFullYear(b.getFullYear(),b.getMonth(),b.getDate()),c=i.toTimezone(c,l.timezone),k.$setViewValue(c),k.$render()}else j.activeDate=b,a.datepickerMode=j.modes[j.modes.indexOf(a.datepickerMode)-1]},a.move=function(a){var b=j.activeDate.getFullYear()+a*(j.step.years||0),c=j.activeDate.getMonth()+a*(j.step.months||0);j.activeDate.setFullYear(b,c,1),j.refreshView()},a.toggleMode=function(b){b=b||1,a.datepickerMode===j.maxMode&&1===b||a.datepickerMode===j.minMode&&-1===b||(a.datepickerMode=j.modes[j.modes.indexOf(a.datepickerMode)+b])},a.keys={13:"enter",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down"};var m=function(){j.element[0].focus()};a.$on("uib:datepicker.focus",m),a.keydown=function(b){var c=a.keys[b.which];if(c&&!b.shiftKey&&!b.altKey&&!a.disabled)if(b.preventDefault(),j.shortcutPropagation||b.stopPropagation(),"enter"===c||"space"===c){if(j.isDisabled(j.activeDate))return;a.select(j.activeDate)}else!b.ctrlKey||"up"!==c&&"down"!==c?(j.handleKeyDown(c,b),j.refreshView()):a.toggleMode("up"===c?1:-1)}}]).controller("UibDaypickerController",["$scope","$element","dateFilter",function(a,b,c){function d(a,b){return 1!==b||a%4!==0||a%100===0&&a%400!==0?f[b]:29}function e(a){var b=new Date(a);b.setDate(b.getDate()+4-(b.getDay()||7));var c=b.getTime();return b.setMonth(0),b.setDate(1),Math.floor(Math.round((c-b)/864e5)/7)+1}var f=[31,28,31,30,31,30,31,31,30,31,30,31];this.step={months:1},this.element=b,this.init=function(b){angular.extend(b,this),a.showWeeks=b.showWeeks,b.refreshView()},this.getDates=function(a,b){for(var c,d=new Array(b),e=new Date(a),f=0;b>f;)c=new Date(e),d[f++]=c,e.setDate(e.getDate()+1);return d},this._refreshView=function(){var b=this.activeDate.getFullYear(),d=this.activeDate.getMonth(),f=new Date(this.activeDate);f.setFullYear(b,d,1);var g=this.startingDay-f.getDay(),h=g>0?7-g:-g,i=new Date(f);h>0&&i.setDate(-h+1);for(var j=this.getDates(i,42),k=0;42>k;k++)j[k]=angular.extend(this.createDateObject(j[k],this.formatDay),{secondary:j[k].getMonth()!==d,uid:a.uniqueId+"-"+k});a.labels=new Array(7);for(var l=0;7>l;l++)a.labels[l]={abbr:c(j[l].date,this.formatDayHeader),full:c(j[l].date,"EEEE")};if(a.title=c(this.activeDate,this.formatDayTitle),a.rows=this.split(j,7),a.showWeeks){a.weekNumbers=[];for(var m=(11-this.startingDay)%7,n=a.rows.length,o=0;n>o;o++)a.weekNumbers.push(e(a.rows[o][m].date))}},this.compare=function(a,b){var c=new Date(a.getFullYear(),a.getMonth(),a.getDate()),d=new Date(b.getFullYear(),b.getMonth(),b.getDate());return c.setFullYear(a.getFullYear()),d.setFullYear(b.getFullYear()),c-d},this.handleKeyDown=function(a,b){var c=this.activeDate.getDate();if("left"===a)c-=1;else if("up"===a)c-=7;else if("right"===a)c+=1;else if("down"===a)c+=7;else if("pageup"===a||"pagedown"===a){var e=this.activeDate.getMonth()+("pageup"===a?-1:1);this.activeDate.setMonth(e,1),c=Math.min(d(this.activeDate.getFullYear(),this.activeDate.getMonth()),c)}else"home"===a?c=1:"end"===a&&(c=d(this.activeDate.getFullYear(),this.activeDate.getMonth()));this.activeDate.setDate(c)}}]).controller("UibMonthpickerController",["$scope","$element","dateFilter",function(a,b,c){this.step={years:1},this.element=b,this.init=function(a){angular.extend(a,this),a.refreshView()},this._refreshView=function(){for(var b,d=new Array(12),e=this.activeDate.getFullYear(),f=0;12>f;f++)b=new Date(this.activeDate),b.setFullYear(e,f,1),d[f]=angular.extend(this.createDateObject(b,this.formatMonth),{uid:a.uniqueId+"-"+f});a.title=c(this.activeDate,this.formatMonthTitle),a.rows=this.split(d,3)},this.compare=function(a,b){var c=new Date(a.getFullYear(),a.getMonth()),d=new Date(b.getFullYear(),b.getMonth());return c.setFullYear(a.getFullYear()),d.setFullYear(b.getFullYear()),c-d},this.handleKeyDown=function(a,b){var c=this.activeDate.getMonth();if("left"===a)c-=1;else if("up"===a)c-=3;else if("right"===a)c+=1;else if("down"===a)c+=3;else if("pageup"===a||"pagedown"===a){var d=this.activeDate.getFullYear()+("pageup"===a?-1:1);this.activeDate.setFullYear(d)}else"home"===a?c=0:"end"===a&&(c=11);this.activeDate.setMonth(c)}}]).controller("UibYearpickerController",["$scope","$element","dateFilter",function(a,b,c){function d(a){return parseInt((a-1)/f,10)*f+1}var e,f;this.element=b,this.yearpickerInit=function(){e=this.yearColumns,f=this.yearRows*e,this.step={years:f}},this._refreshView=function(){for(var b,c=new Array(f),g=0,h=d(this.activeDate.getFullYear());f>g;g++)b=new Date(this.activeDate),b.setFullYear(h+g,0,1),c[g]=angular.extend(this.createDateObject(b,this.formatYear),{uid:a.uniqueId+"-"+g});a.title=[c[0].label,c[f-1].label].join(" - "),a.rows=this.split(c,e),a.columns=e},this.compare=function(a,b){return a.getFullYear()-b.getFullYear()},this.handleKeyDown=function(a,b){var c=this.activeDate.getFullYear();"left"===a?c-=1:"up"===a?c-=e:"right"===a?c+=1:"down"===a?c+=e:"pageup"===a||"pagedown"===a?c+=("pageup"===a?-1:1)*f:"home"===a?c=d(this.activeDate.getFullYear()):"end"===a&&(c=d(this.activeDate.getFullYear())+f-1),this.activeDate.setFullYear(c)}}]).directive("uibDatepicker",function(){return{replace:!0,templateUrl:function(a,b){return b.templateUrl||"uib/template/datepicker/datepicker.html"},scope:{datepickerMode:"=?",dateDisabled:"&",customClass:"&",shortcutPropagation:"&?"},require:["uibDatepicker","^ngModel"],controller:"UibDatepickerController",controllerAs:"datepicker",link:function(a,b,c,d){var e=d[0],f=d[1];e.init(f)}}}).directive("uibDaypicker",function(){return{replace:!0,templateUrl:function(a,b){return b.templateUrl||"uib/template/datepicker/day.html"},require:["^uibDatepicker","uibDaypicker"],controller:"UibDaypickerController",link:function(a,b,c,d){var e=d[0],f=d[1];f.init(e)}}}).directive("uibMonthpicker",function(){return{replace:!0,templateUrl:function(a,b){return b.templateUrl||"uib/template/datepicker/month.html"},require:["^uibDatepicker","uibMonthpicker"],controller:"UibMonthpickerController",link:function(a,b,c,d){var e=d[0],f=d[1];f.init(e)}}}).directive("uibYearpicker",function(){return{replace:!0,templateUrl:function(a,b){return b.templateUrl||"uib/template/datepicker/year.html"},require:["^uibDatepicker","uibYearpicker"],controller:"UibYearpickerController",link:function(a,b,c,d){var e=d[0];angular.extend(e,d[1]),e.yearpickerInit(),e.refreshView()}}}).constant("uibDatepickerPopupConfig",{datepickerPopup:"yyyy-MM-dd",datepickerPopupTemplateUrl:"uib/template/datepicker/popup.html",datepickerTemplateUrl:"uib/template/datepicker/datepicker.html",html5Types:{date:"yyyy-MM-dd","datetime-local":"yyyy-MM-ddTHH:mm:ss.sss",month:"yyyy-MM"},currentText:"Today",clearText:"Clear",closeText:"Done",closeOnDateSelection:!0,appendToBody:!1,showButtonBar:!0,onOpenFocus:!0,altInputFormats:[]}).controller("UibDatepickerPopupController",["$scope","$element","$attrs","$compile","$parse","$document","$rootScope","$uibPosition","dateFilter","uibDateParser","uibDatepickerPopupConfig","$timeout","uibDatepickerConfig",function(a,b,c,d,e,f,g,h,i,j,k,l,m){function n(a){return a.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()})}function o(b){var c=j.parse(b,t,a.date);if(isNaN(c))for(var d=0;d<E.length;d++)if(c=j.parse(b,E[d],a.date),!isNaN(c))return c;return c}function p(a){if(angular.isNumber(a)&&(a=new Date(a)),!a)return null;if(angular.isDate(a)&&!isNaN(a))return a;if(angular.isString(a)){var b=o(a);if(!isNaN(b))return j.toTimezone(b,C.timezone)}return B.$options&&B.$options.allowInvalid?a:void 0}function q(a,b){var d=a||b;return c.ngRequired||d?(angular.isNumber(d)&&(d=new Date(d)),d?angular.isDate(d)&&!isNaN(d)?!0:angular.isString(d)?!isNaN(o(b)):!1:!0):!0}function r(c){if(a.isOpen||!a.disabled){var d=D[0],e=b[0].contains(c.target),f=void 0!==d.contains&&d.contains(c.target);!a.isOpen||e||f||a.$apply(function(){a.isOpen=!1})}}function s(c){27===c.which&&a.isOpen?(c.preventDefault(),
+c.stopPropagation(),a.$apply(function(){a.isOpen=!1}),b[0].focus()):40!==c.which||a.isOpen||(c.preventDefault(),c.stopPropagation(),a.$apply(function(){a.isOpen=!0}))}var t,u,v,w,x,y,z,A,B,C,D,E,F={},G=!1;a.watchData={},this.init=function(h){if(B=h,C=h.$options||m.ngModelOptions,u=angular.isDefined(c.closeOnDateSelection)?a.$parent.$eval(c.closeOnDateSelection):k.closeOnDateSelection,v=angular.isDefined(c.datepickerAppendToBody)?a.$parent.$eval(c.datepickerAppendToBody):k.appendToBody,w=angular.isDefined(c.onOpenFocus)?a.$parent.$eval(c.onOpenFocus):k.onOpenFocus,x=angular.isDefined(c.datepickerPopupTemplateUrl)?c.datepickerPopupTemplateUrl:k.datepickerPopupTemplateUrl,y=angular.isDefined(c.datepickerTemplateUrl)?c.datepickerTemplateUrl:k.datepickerTemplateUrl,E=angular.isDefined(c.altInputFormats)?a.$parent.$eval(c.altInputFormats):k.altInputFormats,a.showButtonBar=angular.isDefined(c.showButtonBar)?a.$parent.$eval(c.showButtonBar):k.showButtonBar,k.html5Types[c.type]?(t=k.html5Types[c.type],G=!0):(t=c.uibDatepickerPopup||k.datepickerPopup,c.$observe("uibDatepickerPopup",function(a,b){var c=a||k.datepickerPopup;if(c!==t&&(t=c,B.$modelValue=null,!t))throw new Error("uibDatepickerPopup must have a date format specified.")})),!t)throw new Error("uibDatepickerPopup must have a date format specified.");if(G&&c.uibDatepickerPopup)throw new Error("HTML5 date input types do not support custom formats.");if(z=angular.element("<div uib-datepicker-popup-wrap><div uib-datepicker></div></div>"),a.ngModelOptions=angular.copy(C),a.ngModelOptions.timezone=null,z.attr({"ng-model":"date","ng-model-options":"ngModelOptions","ng-change":"dateSelection(date)","template-url":x}),A=angular.element(z.children()[0]),A.attr("template-url",y),G&&"month"===c.type&&(A.attr("datepicker-mode",'"month"'),A.attr("min-mode","month")),c.datepickerOptions){var l=a.$parent.$eval(c.datepickerOptions);l&&l.initDate&&(a.initDate=j.fromTimezone(l.initDate,C.timezone),A.attr("init-date","initDate"),delete l.initDate),angular.forEach(l,function(a,b){A.attr(n(b),a)})}angular.forEach(["minMode","maxMode"],function(b){c[b]&&(a.$parent.$watch(function(){return c[b]},function(c){a.watchData[b]=c}),A.attr(n(b),"watchData."+b))}),angular.forEach(["datepickerMode","shortcutPropagation"],function(b){if(c[b]){var d=e(c[b]),f={get:function(){return d(a.$parent)}};if(A.attr(n(b),"watchData."+b),"datepickerMode"===b){var g=d.assign;f.set=function(b){g(a.$parent,b)}}Object.defineProperty(a.watchData,b,f)}}),angular.forEach(["minDate","maxDate","initDate"],function(b){if(c[b]){var d=e(c[b]);a.$parent.$watch(d,function(c){("minDate"===b||"maxDate"===b)&&(F[b]=angular.isDate(c)?j.fromTimezone(new Date(c),C.timezone):new Date(i(c,"medium"))),a.watchData[b]=F[b]||j.fromTimezone(new Date(c),C.timezone)}),A.attr(n(b),"watchData."+b)}}),c.dateDisabled&&A.attr("date-disabled","dateDisabled({ date: date, mode: mode })"),angular.forEach(["formatDay","formatMonth","formatYear","formatDayHeader","formatDayTitle","formatMonthTitle","showWeeks","startingDay","yearRows","yearColumns"],function(a){angular.isDefined(c[a])&&A.attr(n(a),c[a])}),c.customClass&&A.attr("custom-class","customClass({ date: date, mode: mode })"),G?B.$formatters.push(function(b){return a.date=j.fromTimezone(b,C.timezone),b}):(B.$$parserName="date",B.$validators.date=q,B.$parsers.unshift(p),B.$formatters.push(function(b){return B.$isEmpty(b)?(a.date=b,b):(a.date=j.fromTimezone(b,C.timezone),t=t.replace(/M!/,"MM").replace(/d!/,"dd"),i(a.date,t))})),B.$viewChangeListeners.push(function(){a.date=o(B.$viewValue)}),b.bind("keydown",s),D=d(z)(a),z.remove(),v?f.find("body").append(D):b.after(D),a.$on("$destroy",function(){a.isOpen===!0&&(g.$$phase||a.$apply(function(){a.isOpen=!1})),D.remove(),b.unbind("keydown",s),f.unbind("click",r)})},a.getText=function(b){return a[b+"Text"]||k[b+"Text"]},a.isDisabled=function(b){return"today"===b&&(b=new Date),a.watchData.minDate&&a.compare(b,F.minDate)<0||a.watchData.maxDate&&a.compare(b,F.maxDate)>0},a.compare=function(a,b){return new Date(a.getFullYear(),a.getMonth(),a.getDate())-new Date(b.getFullYear(),b.getMonth(),b.getDate())},a.dateSelection=function(c){angular.isDefined(c)&&(a.date=c);var d=a.date?i(a.date,t):null;b.val(d),B.$setViewValue(d),u&&(a.isOpen=!1,b[0].focus())},a.keydown=function(c){27===c.which&&(c.stopPropagation(),a.isOpen=!1,b[0].focus())},a.select=function(b){if("today"===b){var c=new Date;angular.isDate(a.date)?(b=new Date(a.date),b.setFullYear(c.getFullYear(),c.getMonth(),c.getDate())):b=new Date(c.setHours(0,0,0,0))}a.dateSelection(b)},a.close=function(){a.isOpen=!1,b[0].focus()},a.disabled=angular.isDefined(c.disabled)||!1,c.ngDisabled&&a.$parent.$watch(e(c.ngDisabled),function(b){a.disabled=b}),a.$watch("isOpen",function(c){c?a.disabled?a.isOpen=!1:(a.position=v?h.offset(b):h.position(b),a.position.top=a.position.top+b.prop("offsetHeight"),l(function(){w&&a.$broadcast("uib:datepicker.focus"),f.bind("click",r)},0,!1)):f.unbind("click",r)})}]).directive("uibDatepickerPopup",function(){return{require:["ngModel","uibDatepickerPopup"],controller:"UibDatepickerPopupController",scope:{isOpen:"=?",currentText:"@",clearText:"@",closeText:"@",dateDisabled:"&",customClass:"&"},link:function(a,b,c,d){var e=d[0],f=d[1];f.init(e)}}}).directive("uibDatepickerPopupWrap",function(){return{replace:!0,transclude:!0,templateUrl:function(a,b){return b.templateUrl||"uib/template/datepicker/popup.html"}}}),angular.module("ui.bootstrap.debounce",[]).factory("$$debounce",["$timeout",function(a){return function(b,c){var d;return function(){var e=this,f=Array.prototype.slice.call(arguments);d&&a.cancel(d),d=a(function(){b.apply(e,f)},c)}}}]),angular.module("ui.bootstrap.dropdown",["ui.bootstrap.position"]).constant("uibDropdownConfig",{appendToOpenClass:"uib-dropdown-open",openClass:"open"}).service("uibDropdownService",["$document","$rootScope",function(a,b){var c=null;this.open=function(b){c||(a.on("click",d),a.on("keydown",e)),c&&c!==b&&(c.isOpen=!1),c=b},this.close=function(b){c===b&&(c=null,a.off("click",d),a.off("keydown",e))};var d=function(a){if(c&&!(a&&"disabled"===c.getAutoClose()||a&&3===a.which)){var d=c.getToggleElement();if(!(a&&d&&d[0].contains(a.target))){var e=c.getDropdownElement();a&&"outsideClick"===c.getAutoClose()&&e&&e[0].contains(a.target)||(c.isOpen=!1,b.$$phase||c.$apply())}}},e=function(a){27===a.which?(c.focusToggleElement(),d()):c.isKeynavEnabled()&&-1!==[38,40].indexOf(a.which)&&c.isOpen&&(a.preventDefault(),a.stopPropagation(),c.focusDropdownEntry(a.which))}}]).controller("UibDropdownController",["$scope","$element","$attrs","$parse","uibDropdownConfig","uibDropdownService","$animate","$uibPosition","$document","$compile","$templateRequest",function(a,b,c,d,e,f,g,h,i,j,k){var l,m,n=this,o=a.$new(),p=e.appendToOpenClass,q=e.openClass,r=angular.noop,s=c.onToggle?d(c.onToggle):angular.noop,t=!1,u=null,v=!1,w=i.find("body");b.addClass("dropdown"),this.init=function(){if(c.isOpen&&(m=d(c.isOpen),r=m.assign,a.$watch(m,function(a){o.isOpen=!!a})),angular.isDefined(c.dropdownAppendTo)){var e=d(c.dropdownAppendTo)(o);e&&(u=angular.element(e))}t=angular.isDefined(c.dropdownAppendToBody),v=angular.isDefined(c.keyboardNav),t&&!u&&(u=w),u&&n.dropdownMenu&&(u.append(n.dropdownMenu),b.on("$destroy",function(){n.dropdownMenu.remove()}))},this.toggle=function(a){return o.isOpen=arguments.length?!!a:!o.isOpen},this.isOpen=function(){return o.isOpen},o.getToggleElement=function(){return n.toggleElement},o.getAutoClose=function(){return c.autoClose||"always"},o.getElement=function(){return b},o.isKeynavEnabled=function(){return v},o.focusDropdownEntry=function(a){var c=n.dropdownMenu?angular.element(n.dropdownMenu).find("a"):b.find("ul").eq(0).find("a");switch(a){case 40:angular.isNumber(n.selectedOption)?n.selectedOption=n.selectedOption===c.length-1?n.selectedOption:n.selectedOption+1:n.selectedOption=0;break;case 38:angular.isNumber(n.selectedOption)?n.selectedOption=0===n.selectedOption?0:n.selectedOption-1:n.selectedOption=c.length-1}c[n.selectedOption].focus()},o.getDropdownElement=function(){return n.dropdownMenu},o.focusToggleElement=function(){n.toggleElement&&n.toggleElement[0].focus()},o.$watch("isOpen",function(c,d){if(u&&n.dropdownMenu){var e,i,m=h.positionElements(b,n.dropdownMenu,"bottom-left",!0);if(e={top:m.top+"px",display:c?"block":"none"},i=n.dropdownMenu.hasClass("dropdown-menu-right"),i?(e.left="auto",e.right=window.innerWidth-(m.left+b.prop("offsetWidth"))+"px"):(e.left=m.left+"px",e.right="auto"),!t){var v=h.offset(u);e.top=m.top-v.top+"px",i?e.right=window.innerWidth-(m.left-v.left+b.prop("offsetWidth"))+"px":e.left=m.left-v.left+"px"}n.dropdownMenu.css(e)}var w=u?u:b;if(g[c?"addClass":"removeClass"](w,u?p:q).then(function(){angular.isDefined(c)&&c!==d&&s(a,{open:!!c})}),c)n.dropdownMenuTemplateUrl&&k(n.dropdownMenuTemplateUrl).then(function(a){l=o.$new(),j(a.trim())(l,function(a){var b=a;n.dropdownMenu.replaceWith(b),n.dropdownMenu=b})}),o.focusToggleElement(),f.open(o);else{if(n.dropdownMenuTemplateUrl){l&&l.$destroy();var x=angular.element('<ul class="dropdown-menu"></ul>');n.dropdownMenu.replaceWith(x),n.dropdownMenu=x}f.close(o),n.selectedOption=null}angular.isFunction(r)&&r(a,c)}),a.$on("$locationChangeSuccess",function(){"disabled"!==o.getAutoClose()&&(o.isOpen=!1)})}]).directive("uibDropdown",function(){return{controller:"UibDropdownController",link:function(a,b,c,d){d.init()}}}).directive("uibDropdownMenu",function(){return{restrict:"A",require:"?^uibDropdown",link:function(a,b,c,d){if(d&&!angular.isDefined(c.dropdownNested)){b.addClass("dropdown-menu");var e=c.templateUrl;e&&(d.dropdownMenuTemplateUrl=e),d.dropdownMenu||(d.dropdownMenu=b)}}}}).directive("uibDropdownToggle",function(){return{require:"?^uibDropdown",link:function(a,b,c,d){if(d){b.addClass("dropdown-toggle"),d.toggleElement=b;var e=function(e){e.preventDefault(),b.hasClass("disabled")||c.disabled||a.$apply(function(){d.toggle()})};b.bind("click",e),b.attr({"aria-haspopup":!0,"aria-expanded":!1}),a.$watch(d.isOpen,function(a){b.attr("aria-expanded",!!a)}),a.$on("$destroy",function(){b.unbind("click",e)})}}}}),angular.module("ui.bootstrap.stackedMap",[]).factory("$$stackedMap",function(){return{createNew:function(){var a=[];return{add:function(b,c){a.push({key:b,value:c})},get:function(b){for(var c=0;c<a.length;c++)if(b===a[c].key)return a[c]},keys:function(){for(var b=[],c=0;c<a.length;c++)b.push(a[c].key);return b},top:function(){return a[a.length-1]},remove:function(b){for(var c=-1,d=0;d<a.length;d++)if(b===a[d].key){c=d;break}return a.splice(c,1)[0]},removeTop:function(){return a.splice(a.length-1,1)[0]},length:function(){return a.length}}}}}),angular.module("ui.bootstrap.modal",["ui.bootstrap.stackedMap"]).factory("$$multiMap",function(){return{createNew:function(){var a={};return{entries:function(){return Object.keys(a).map(function(b){return{key:b,value:a[b]}})},get:function(b){return a[b]},hasKey:function(b){return!!a[b]},keys:function(){return Object.keys(a)},put:function(b,c){a[b]||(a[b]=[]),a[b].push(c)},remove:function(b,c){var d=a[b];if(d){var e=d.indexOf(c);-1!==e&&d.splice(e,1),d.length||delete a[b]}}}}}}).provider("$uibResolve",function(){var a=this;this.resolver=null,this.setResolver=function(a){this.resolver=a},this.$get=["$injector","$q",function(b,c){var d=a.resolver?b.get(a.resolver):null;return{resolve:function(a,e,f,g){if(d)return d.resolve(a,e,f,g);var h=[];return angular.forEach(a,function(a){angular.isFunction(a)||angular.isArray(a)?h.push(c.resolve(b.invoke(a))):angular.isString(a)?h.push(c.resolve(b.get(a))):h.push(c.resolve(a))}),c.all(h).then(function(b){var c={},d=0;return angular.forEach(a,function(a,e){c[e]=b[d++]}),c})}}}]}).directive("uibModalBackdrop",["$animateCss","$injector","$uibModalStack",function(a,b,c){function d(b,d,e){e.modalInClass&&(a(d,{addClass:e.modalInClass}).start(),b.$on(c.NOW_CLOSING_EVENT,function(c,f){var g=f();b.modalOptions.animation?a(d,{removeClass:e.modalInClass}).start().then(g):g()}))}return{replace:!0,templateUrl:"uib/template/modal/backdrop.html",compile:function(a,b){return a.addClass(b.backdropClass),d}}}]).directive("uibModalWindow",["$uibModalStack","$q","$animate","$animateCss","$document",function(a,b,c,d,e){return{scope:{index:"@"},replace:!0,transclude:!0,templateUrl:function(a,b){return b.templateUrl||"uib/template/modal/window.html"},link:function(f,g,h){g.addClass(h.windowClass||""),g.addClass(h.windowTopClass||""),f.size=h.size,f.close=function(b){var c=a.getTop();c&&c.value.backdrop&&"static"!==c.value.backdrop&&b.target===b.currentTarget&&(b.preventDefault(),b.stopPropagation(),a.dismiss(c.key,"backdrop click"))},g.on("click",f.close),f.$isRendered=!0;var i=b.defer();h.$observe("modalRender",function(a){"true"===a&&i.resolve()}),i.promise.then(function(){var i=null;h.modalInClass&&(i=d(g,{addClass:h.modalInClass}).start(),f.$on(a.NOW_CLOSING_EVENT,function(a,b){var e=b();d?d(g,{removeClass:h.modalInClass}).start().then(e):c.removeClass(g,h.modalInClass).then(e)})),b.when(i).then(function(){if(!e[0].activeElement||!g[0].contains(e[0].activeElement)){var a=g[0].querySelector("[autofocus]");a?a.focus():g[0].focus()}});var j=a.getTop();j&&a.modalRendered(j.key)})}}}]).directive("uibModalAnimationClass",function(){return{compile:function(a,b){b.modalAnimation&&a.addClass(b.uibModalAnimationClass)}}}).directive("uibModalTransclude",function(){return{link:function(a,b,c,d,e){e(a.$parent,function(a){b.empty(),b.append(a)})}}}).factory("$uibModalStack",["$animate","$animateCss","$document","$compile","$rootScope","$q","$$multiMap","$$stackedMap",function(a,b,c,d,e,f,g,h){function i(){for(var a=-1,b=t.keys(),c=0;c<b.length;c++)t.get(b[c]).value.backdrop&&(a=c);return a}function j(a,b){var c=t.get(a).value,d=c.appendTo;t.remove(a),m(c.modalDomEl,c.modalScope,function(){var b=c.openedClass||s;u.remove(b,a),d.toggleClass(b,u.hasKey(b)),k(!0)}),l(),b&&b.focus?b.focus():d.focus&&d.focus()}function k(a){var b;t.length()>0&&(b=t.top().value,b.modalDomEl.toggleClass(b.windowTopClass||"",a))}function l(){if(p&&-1===i()){var a=q;m(p,q,function(){a=null}),p=void 0,q=void 0}}function m(a,c,d,e){function g(){g.done||(g.done=!0,b(a,{event:"leave"}).start().then(function(){a.remove(),e&&e.resolve()}),c.$destroy(),d&&d())}var h,i=null,j=function(){return h||(h=f.defer(),i=h.promise),function(){h.resolve()}};return c.$broadcast(v.NOW_CLOSING_EVENT,j),f.when(i).then(g)}function n(a){if(a.isDefaultPrevented())return a;var b=t.top();if(b)switch(a.which){case 27:b.value.keyboard&&(a.preventDefault(),e.$apply(function(){v.dismiss(b.key,"escape key press")}));break;case 9:v.loadFocusElementList(b);var c=!1;a.shiftKey?v.isFocusInFirstItem(a)&&(c=v.focusLastFocusableElement()):v.isFocusInLastItem(a)&&(c=v.focusFirstFocusableElement()),c&&(a.preventDefault(),a.stopPropagation())}}function o(a,b,c){return!a.value.modalScope.$broadcast("modal.closing",b,c).defaultPrevented}var p,q,r,s="modal-open",t=h.createNew(),u=g.createNew(),v={NOW_CLOSING_EVENT:"modal.stack.now-closing"},w=0,x="a[href], area[href], input:not([disabled]), button:not([disabled]),select:not([disabled]), textarea:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable=true]";return e.$watch(i,function(a){q&&(q.index=a)}),c.on("keydown",n),e.$on("$destroy",function(){c.off("keydown",n)}),v.open=function(b,f){var g=c[0].activeElement,h=f.openedClass||s;k(!1),t.add(b,{deferred:f.deferred,renderDeferred:f.renderDeferred,closedDeferred:f.closedDeferred,modalScope:f.scope,backdrop:f.backdrop,keyboard:f.keyboard,openedClass:f.openedClass,windowTopClass:f.windowTopClass,animation:f.animation,appendTo:f.appendTo}),u.put(h,b);var j=f.appendTo,l=i();if(!j.length)throw new Error("appendTo element not found. Make sure that the element passed is in DOM.");l>=0&&!p&&(q=e.$new(!0),q.modalOptions=f,q.index=l,p=angular.element('<div uib-modal-backdrop="modal-backdrop"></div>'),p.attr("backdrop-class",f.backdropClass),f.animation&&p.attr("modal-animation","true"),d(p)(q),a.enter(p,j));var m=angular.element('<div uib-modal-window="modal-window"></div>');m.attr({"template-url":f.windowTemplateUrl,"window-class":f.windowClass,"window-top-class":f.windowTopClass,size:f.size,index:t.length()-1,animate:"animate"}).html(f.content),f.animation&&m.attr("modal-animation","true"),a.enter(m,j).then(function(){d(m)(f.scope),a.addClass(j,h)}),t.top().value.modalDomEl=m,t.top().value.modalOpener=g,v.clearFocusListCache()},v.close=function(a,b){var c=t.get(a);return c&&o(c,b,!0)?(c.value.modalScope.$$uibDestructionScheduled=!0,c.value.deferred.resolve(b),j(a,c.value.modalOpener),!0):!c},v.dismiss=function(a,b){var c=t.get(a);return c&&o(c,b,!1)?(c.value.modalScope.$$uibDestructionScheduled=!0,c.value.deferred.reject(b),j(a,c.value.modalOpener),!0):!c},v.dismissAll=function(a){for(var b=this.getTop();b&&this.dismiss(b.key,a);)b=this.getTop()},v.getTop=function(){return t.top()},v.modalRendered=function(a){var b=t.get(a);b&&b.value.renderDeferred.resolve()},v.focusFirstFocusableElement=function(){return r.length>0?(r[0].focus(),!0):!1},v.focusLastFocusableElement=function(){return r.length>0?(r[r.length-1].focus(),!0):!1},v.isFocusInFirstItem=function(a){return r.length>0?(a.target||a.srcElement)===r[0]:!1},v.isFocusInLastItem=function(a){return r.length>0?(a.target||a.srcElement)===r[r.length-1]:!1},v.clearFocusListCache=function(){r=[],w=0},v.loadFocusElementList=function(a){if((void 0===r||!r.length)&&a){var b=a.value.modalDomEl;b&&b.length&&(r=b[0].querySelectorAll(x))}},v}]).provider("$uibModal",function(){var a={options:{animation:!0,backdrop:!0,keyboard:!0},$get:["$rootScope","$q","$document","$templateRequest","$controller","$uibResolve","$uibModalStack",function(b,c,d,e,f,g,h){function i(a){return a.template?c.when(a.template):e(angular.isFunction(a.templateUrl)?a.templateUrl():a.templateUrl)}var j={},k=null;return j.getPromiseChain=function(){return k},j.open=function(e){function j(){return r}var l=c.defer(),m=c.defer(),n=c.defer(),o=c.defer(),p={result:l.promise,opened:m.promise,closed:n.promise,rendered:o.promise,close:function(a){return h.close(p,a)},dismiss:function(a){return h.dismiss(p,a)}};if(e=angular.extend({},a.options,e),e.resolve=e.resolve||{},e.appendTo=e.appendTo||d.find("body").eq(0),!e.template&&!e.templateUrl)throw new Error("One of template or templateUrl options is required.");var q,r=c.all([i(e),g.resolve(e.resolve,{},null,null)]);return q=k=c.all([k]).then(j,j).then(function(a){var c=e.scope||b,d=c.$new();d.$close=p.close,d.$dismiss=p.dismiss,d.$on("$destroy",function(){d.$$uibDestructionScheduled||d.$dismiss("$uibUnscheduledDestruction")});var g,i={};e.controller&&(i.$scope=d,i.$uibModalInstance=p,angular.forEach(a[1],function(a,b){i[b]=a}),g=f(e.controller,i),e.controllerAs&&(e.bindToController&&(g.$close=d.$close,g.$dismiss=d.$dismiss,angular.extend(g,c)),d[e.controllerAs]=g)),h.open(p,{scope:d,deferred:l,renderDeferred:o,closedDeferred:n,content:a[0],animation:e.animation,backdrop:e.backdrop,keyboard:e.keyboard,backdropClass:e.backdropClass,windowTopClass:e.windowTopClass,windowClass:e.windowClass,windowTemplateUrl:e.windowTemplateUrl,size:e.size,openedClass:e.openedClass,appendTo:e.appendTo}),m.resolve(!0)},function(a){m.reject(a),l.reject(a)})["finally"](function(){k===q&&(k=null)}),p},j}]};return a}),angular.module("ui.bootstrap.paging",[]).factory("uibPaging",["$parse",function(a){return{create:function(b,c,d){b.setNumPages=d.numPages?a(d.numPages).assign:angular.noop,b.ngModelCtrl={$setViewValue:angular.noop},b.init=function(e,f){b.ngModelCtrl=e,b.config=f,e.$render=function(){b.render()},d.itemsPerPage?c.$parent.$watch(a(d.itemsPerPage),function(a){b.itemsPerPage=parseInt(a,10),c.totalPages=b.calculateTotalPages(),b.updatePage()}):b.itemsPerPage=f.itemsPerPage,c.$watch("totalItems",function(a,d){(angular.isDefined(a)||a!==d)&&(c.totalPages=b.calculateTotalPages(),b.updatePage())})},b.calculateTotalPages=function(){var a=b.itemsPerPage<1?1:Math.ceil(c.totalItems/b.itemsPerPage);return Math.max(a||0,1)},b.render=function(){c.page=parseInt(b.ngModelCtrl.$viewValue,10)||1},c.selectPage=function(a,d){d&&d.preventDefault();var e=!c.ngDisabled||!d;e&&c.page!==a&&a>0&&a<=c.totalPages&&(d&&d.target&&d.target.blur(),b.ngModelCtrl.$setViewValue(a),b.ngModelCtrl.$render())},c.getText=function(a){return c[a+"Text"]||b.config[a+"Text"]},c.noPrevious=function(){return 1===c.page},c.noNext=function(){return c.page===c.totalPages},b.updatePage=function(){b.setNumPages(c.$parent,c.totalPages),c.page>c.totalPages?c.selectPage(c.totalPages):b.ngModelCtrl.$render()}}}}]),angular.module("ui.bootstrap.pager",["ui.bootstrap.paging"]).controller("UibPagerController",["$scope","$attrs","uibPaging","uibPagerConfig",function(a,b,c,d){a.align=angular.isDefined(b.align)?a.$parent.$eval(b.align):d.align,c.create(this,a,b)}]).constant("uibPagerConfig",{itemsPerPage:10,previousText:"« Previous",nextText:"Next »",align:!0}).directive("uibPager",["uibPagerConfig",function(a){return{scope:{totalItems:"=",previousText:"@",nextText:"@",ngDisabled:"="},require:["uibPager","?ngModel"],controller:"UibPagerController",controllerAs:"pager",templateUrl:function(a,b){return b.templateUrl||"uib/template/pager/pager.html"},replace:!0,link:function(b,c,d,e){var f=e[0],g=e[1];g&&f.init(g,a)}}}]),angular.module("ui.bootstrap.pagination",["ui.bootstrap.paging"]).controller("UibPaginationController",["$scope","$attrs","$parse","uibPaging","uibPaginationConfig",function(a,b,c,d,e){function f(a,b,c){return{number:a,text:b,active:c}}function g(a,b){var c=[],d=1,e=b,g=angular.isDefined(i)&&b>i;g&&(j?(d=Math.max(a-Math.floor(i/2),1),e=d+i-1,e>b&&(e=b,d=e-i+1)):(d=(Math.ceil(a/i)-1)*i+1,e=Math.min(d+i-1,b)));for(var h=d;e>=h;h++){var m=f(h,h,h===a);c.push(m)}if(g&&i>0&&(!j||k||l)){if(d>1){if(!l||d>3){var n=f(d-1,"...",!1);c.unshift(n)}if(l){if(3===d){var o=f(2,"2",!1);c.unshift(o)}var p=f(1,"1",!1);c.unshift(p)}}if(b>e){if(!l||b-2>e){var q=f(e+1,"...",!1);c.push(q)}if(l){if(e===b-2){var r=f(b-1,b-1,!1);c.push(r)}var s=f(b,b,!1);c.push(s)}}}return c}var h=this,i=angular.isDefined(b.maxSize)?a.$parent.$eval(b.maxSize):e.maxSize,j=angular.isDefined(b.rotate)?a.$parent.$eval(b.rotate):e.rotate,k=angular.isDefined(b.forceEllipses)?a.$parent.$eval(b.forceEllipses):e.forceEllipses,l=angular.isDefined(b.boundaryLinkNumbers)?a.$parent.$eval(b.boundaryLinkNumbers):e.boundaryLinkNumbers;a.boundaryLinks=angular.isDefined(b.boundaryLinks)?a.$parent.$eval(b.boundaryLinks):e.boundaryLinks,a.directionLinks=angular.isDefined(b.directionLinks)?a.$parent.$eval(b.directionLinks):e.directionLinks,d.create(this,a,b),b.maxSize&&a.$parent.$watch(c(b.maxSize),function(a){i=parseInt(a,10),h.render()});var m=this.render;this.render=function(){m(),a.page>0&&a.page<=a.totalPages&&(a.pages=g(a.page,a.totalPages))}}]).constant("uibPaginationConfig",{itemsPerPage:10,boundaryLinks:!1,boundaryLinkNumbers:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",rotate:!0,forceEllipses:!1}).directive("uibPagination",["$parse","uibPaginationConfig",function(a,b){return{scope:{totalItems:"=",firstText:"@",previousText:"@",nextText:"@",lastText:"@",ngDisabled:"="},require:["uibPagination","?ngModel"],controller:"UibPaginationController",controllerAs:"pagination",templateUrl:function(a,b){return b.templateUrl||"uib/template/pagination/pagination.html"},replace:!0,link:function(a,c,d,e){var f=e[0],g=e[1];g&&f.init(g,b)}}}]),angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.stackedMap"]).provider("$uibTooltip",function(){function a(a){var b=/[A-Z]/g,c="-";return a.replace(b,function(a,b){return(b?c:"")+a.toLowerCase()})}var b={placement:"top",placementClassPrefix:"",animation:!0,popupDelay:0,popupCloseDelay:0,useContentExp:!1},c={mouseenter:"mouseleave",click:"click",outsideClick:"outsideClick",focus:"blur",none:""},d={};this.options=function(a){angular.extend(d,a)},this.setTriggers=function(a){angular.extend(c,a)},this.$get=["$window","$compile","$timeout","$document","$uibPosition","$interpolate","$rootScope","$parse","$$stackedMap",function(e,f,g,h,i,j,k,l,m){function n(a){if(27===a.which){var b=o.top();b&&(b.value.close(),o.removeTop(),b=null)}}var o=m.createNew();return h.on("keypress",n),k.$on("$destroy",function(){h.off("keypress",n)}),function(e,k,m,n){function p(a){var b=(a||n.trigger||m).split(" "),d=b.map(function(a){return c[a]||a});return{show:b,hide:d}}n=angular.extend({},b,d,n);var q=a(e),r=j.startSymbol(),s=j.endSymbol(),t="<div "+q+'-popup title="'+r+"title"+s+'" '+(n.useContentExp?'content-exp="contentExp()" ':'content="'+r+"content"+s+'" ')+'placement="'+r+"placement"+s+'" popup-class="'+r+"popupClass"+s+'" animation="animation" is-open="isOpen"origin-scope="origScope" style="visibility: hidden; display: block; top: -9999px; left: -9999px;"></div>';return{compile:function(a,b){var c=f(t);return function(a,b,d,f){function j(){M.isOpen?q():m()}function m(){(!L||a.$eval(d[k+"Enable"]))&&(u(),x(),M.popupDelay?G||(G=g(r,M.popupDelay,!1)):r())}function q(){s(),M.popupCloseDelay?H||(H=g(t,M.popupCloseDelay,!1)):t()}function r(){return s(),u(),M.content?(v(),void M.$evalAsync(function(){M.isOpen=!0,y(!0),R()})):angular.noop}function s(){G&&(g.cancel(G),G=null),I&&(g.cancel(I),I=null)}function t(){M&&M.$evalAsync(function(){M.isOpen=!1,y(!1),M.animation?F||(F=g(w,150,!1)):w()})}function u(){H&&(g.cancel(H),H=null),F&&(g.cancel(F),F=null)}function v(){D||(E=M.$new(),D=c(E,function(a){J?h.find("body").append(a):b.after(a)}),z())}function w(){s(),u(),A(),D&&(D.remove(),D=null),E&&(E.$destroy(),E=null)}function x(){M.title=d[k+"Title"],P?M.content=P(a):M.content=d[e],M.popupClass=d[k+"Class"],M.placement=angular.isDefined(d[k+"Placement"])?d[k+"Placement"]:n.placement;var b=parseInt(d[k+"PopupDelay"],10),c=parseInt(d[k+"PopupCloseDelay"],10);M.popupDelay=isNaN(b)?n.popupDelay:b,M.popupCloseDelay=isNaN(c)?n.popupCloseDelay:c}function y(b){O&&angular.isFunction(O.assign)&&O.assign(a,b)}function z(){Q.length=0,P?(Q.push(a.$watch(P,function(a){M.content=a,!a&&M.isOpen&&t()})),Q.push(E.$watch(function(){N||(N=!0,E.$$postDigest(function(){N=!1,M&&M.isOpen&&R()}))}))):Q.push(d.$observe(e,function(a){M.content=a,!a&&M.isOpen?t():R()})),Q.push(d.$observe(k+"Title",function(a){M.title=a,M.isOpen&&R()})),Q.push(d.$observe(k+"Placement",function(a){M.placement=a?a:n.placement,M.isOpen&&R()}))}function A(){Q.length&&(angular.forEach(Q,function(a){a()}),Q.length=0)}function B(a){M&&M.isOpen&&D&&(b[0].contains(a.target)||D[0].contains(a.target)||q())}function C(){var a=d[k+"Trigger"];S(),K=p(a),"none"!==K.show&&K.show.forEach(function(a,c){"outsideClick"===a?(b.on("click",j),h.on("click",B)):a===K.hide[c]?b.on(a,j):a&&(b.on(a,m),b.on(K.hide[c],q)),b.on("keypress",function(a){27===a.which&&q()})})}var D,E,F,G,H,I,J=angular.isDefined(n.appendToBody)?n.appendToBody:!1,K=p(void 0),L=angular.isDefined(d[k+"Enable"]),M=a.$new(!0),N=!1,O=angular.isDefined(d[k+"IsOpen"])?l(d[k+"IsOpen"]):!1,P=n.useContentExp?l(d[e]):!1,Q=[],R=function(){D&&D.html()&&(I||(I=g(function(){D.css({top:0,left:0});var a=i.positionElements(b,D,M.placement,J);D.css({top:a.top+"px",left:a.left+"px",visibility:"visible"}),n.placementClassPrefix&&D.removeClass("top bottom left right"),D.removeClass(n.placementClassPrefix+"top "+n.placementClassPrefix+"top-left "+n.placementClassPrefix+"top-right "+n.placementClassPrefix+"bottom "+n.placementClassPrefix+"bottom-left "+n.placementClassPrefix+"bottom-right "+n.placementClassPrefix+"left "+n.placementClassPrefix+"left-top "+n.placementClassPrefix+"left-bottom "+n.placementClassPrefix+"right "+n.placementClassPrefix+"right-top "+n.placementClassPrefix+"right-bottom");var c=a.placement.split("-");D.addClass(c[0],n.placementClassPrefix+a.placement),i.positionArrow(D,a.placement),I=null},0,!1)))};M.origScope=a,M.isOpen=!1,o.add(M,{close:t}),M.contentExp=function(){return M.content},d.$observe("disabled",function(a){a&&s(),a&&M.isOpen&&t()}),O&&a.$watch(O,function(a){M&&!a===M.isOpen&&j()});var S=function(){K.show.forEach(function(a){"outsideClick"===a?b.off("click",j):(b.off(a,m),b.off(a,j))}),K.hide.forEach(function(a){"outsideClick"===a?h.off("click",B):b.off(a,q)})};C();var T=a.$eval(d[k+"Animation"]);M.animation=angular.isDefined(T)?!!T:n.animation;var U,V=k+"AppendToBody";U=V in d&&void 0===d[V]?!0:a.$eval(d[V]),J=angular.isDefined(U)?U:J,J&&a.$on("$locationChangeSuccess",function(){M.isOpen&&t()}),a.$on("$destroy",function(){S(),w(),o.remove(M),M=null})}}}}}]}).directive("uibTooltipTemplateTransclude",["$animate","$sce","$compile","$templateRequest",function(a,b,c,d){return{link:function(e,f,g){var h,i,j,k=e.$eval(g.tooltipTemplateTranscludeScope),l=0,m=function(){i&&(i.remove(),i=null),h&&(h.$destroy(),h=null),j&&(a.leave(j).then(function(){i=null}),i=j,j=null)};e.$watch(b.parseAsResourceUrl(g.uibTooltipTemplateTransclude),function(b){var g=++l;b?(d(b,!0).then(function(d){if(g===l){var e=k.$new(),i=d,n=c(i)(e,function(b){m(),a.enter(b,f)});h=e,j=n,h.$emit("$includeContentLoaded",b)}},function(){g===l&&(m(),e.$emit("$includeContentError",b))}),e.$emit("$includeContentRequested",b)):m()}),e.$on("$destroy",m)}}}]).directive("uibTooltipClasses",["$uibPosition",function(a){return{restrict:"A",link:function(b,c,d){if(b.placement){var e=a.parsePlacement(b.placement);c.addClass(e[0])}else c.addClass("top");b.popupClass&&c.addClass(b.popupClass),b.animation()&&c.addClass(d.tooltipAnimationClass)}}}]).directive("uibTooltipPopup",function(){return{replace:!0,scope:{content:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"uib/template/tooltip/tooltip-popup.html"}}).directive("uibTooltip",["$uibTooltip",function(a){return a("uibTooltip","tooltip","mouseenter")}]).directive("uibTooltipTemplatePopup",function(){return{replace:!0,scope:{contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&",originScope:"&"},templateUrl:"uib/template/tooltip/tooltip-template-popup.html"}}).directive("uibTooltipTemplate",["$uibTooltip",function(a){return a("uibTooltipTemplate","tooltip","mouseenter",{useContentExp:!0})}]).directive("uibTooltipHtmlPopup",function(){return{replace:!0,scope:{contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"uib/template/tooltip/tooltip-html-popup.html"}}).directive("uibTooltipHtml",["$uibTooltip",function(a){return a("uibTooltipHtml","tooltip","mouseenter",{useContentExp:!0})}]),angular.module("ui.bootstrap.popover",["ui.bootstrap.tooltip"]).directive("uibPopoverTemplatePopup",function(){return{replace:!0,scope:{title:"@",contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&",originScope:"&"},templateUrl:"uib/template/popover/popover-template.html"}}).directive("uibPopoverTemplate",["$uibTooltip",function(a){return a("uibPopoverTemplate","popover","click",{useContentExp:!0})}]).directive("uibPopoverHtmlPopup",function(){return{replace:!0,scope:{contentExp:"&",title:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"uib/template/popover/popover-html.html"}}).directive("uibPopoverHtml",["$uibTooltip",function(a){return a("uibPopoverHtml","popover","click",{useContentExp:!0})}]).directive("uibPopoverPopup",function(){return{replace:!0,scope:{title:"@",content:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"uib/template/popover/popover.html"}}).directive("uibPopover",["$uibTooltip",function(a){return a("uibPopover","popover","click")}]),angular.module("ui.bootstrap.progressbar",[]).constant("uibProgressConfig",{animate:!0,max:100}).controller("UibProgressController",["$scope","$attrs","uibProgressConfig",function(a,b,c){var d=this,e=angular.isDefined(b.animate)?a.$parent.$eval(b.animate):c.animate;this.bars=[],a.max=angular.isDefined(a.max)?a.max:c.max,this.addBar=function(b,c,f){e||c.css({transition:"none"}),this.bars.push(b),b.max=a.max,b.title=f&&angular.isDefined(f.title)?f.title:"progressbar",b.$watch("value",function(a){
+b.recalculatePercentage()}),b.recalculatePercentage=function(){var a=d.bars.reduce(function(a,b){return b.percent=+(100*b.value/b.max).toFixed(2),a+b.percent},0);a>100&&(b.percent-=a-100)},b.$on("$destroy",function(){c=null,d.removeBar(b)})},this.removeBar=function(a){this.bars.splice(this.bars.indexOf(a),1),this.bars.forEach(function(a){a.recalculatePercentage()})},a.$watch("max",function(b){d.bars.forEach(function(b){b.max=a.max,b.recalculatePercentage()})})}]).directive("uibProgress",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",require:"uibProgress",scope:{max:"=?"},templateUrl:"uib/template/progressbar/progress.html"}}).directive("uibBar",function(){return{replace:!0,transclude:!0,require:"^uibProgress",scope:{value:"=",type:"@"},templateUrl:"uib/template/progressbar/bar.html",link:function(a,b,c,d){d.addBar(a,b,c)}}}).directive("uibProgressbar",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",scope:{value:"=",max:"=?",type:"@"},templateUrl:"uib/template/progressbar/progressbar.html",link:function(a,b,c,d){d.addBar(a,angular.element(b.children()[0]),{title:c.title})}}}),angular.module("ui.bootstrap.rating",[]).constant("uibRatingConfig",{max:5,stateOn:null,stateOff:null,titles:["one","two","three","four","five"]}).controller("UibRatingController",["$scope","$attrs","uibRatingConfig",function(a,b,c){var d={$setViewValue:angular.noop};this.init=function(e){d=e,d.$render=this.render,d.$formatters.push(function(a){return angular.isNumber(a)&&a<<0!==a&&(a=Math.round(a)),a}),this.stateOn=angular.isDefined(b.stateOn)?a.$parent.$eval(b.stateOn):c.stateOn,this.stateOff=angular.isDefined(b.stateOff)?a.$parent.$eval(b.stateOff):c.stateOff;var f=angular.isDefined(b.titles)?a.$parent.$eval(b.titles):c.titles;this.titles=angular.isArray(f)&&f.length>0?f:c.titles;var g=angular.isDefined(b.ratingStates)?a.$parent.$eval(b.ratingStates):new Array(angular.isDefined(b.max)?a.$parent.$eval(b.max):c.max);a.range=this.buildTemplateObjects(g)},this.buildTemplateObjects=function(a){for(var b=0,c=a.length;c>b;b++)a[b]=angular.extend({index:b},{stateOn:this.stateOn,stateOff:this.stateOff,title:this.getTitle(b)},a[b]);return a},this.getTitle=function(a){return a>=this.titles.length?a+1:this.titles[a]},a.rate=function(b){!a.readonly&&b>=0&&b<=a.range.length&&(d.$setViewValue(d.$viewValue===b?0:b),d.$render())},a.enter=function(b){a.readonly||(a.value=b),a.onHover({value:b})},a.reset=function(){a.value=d.$viewValue,a.onLeave()},a.onKeydown=function(b){/(37|38|39|40)/.test(b.which)&&(b.preventDefault(),b.stopPropagation(),a.rate(a.value+(38===b.which||39===b.which?1:-1)))},this.render=function(){a.value=d.$viewValue}}]).directive("uibRating",function(){return{require:["uibRating","ngModel"],scope:{readonly:"=?",onHover:"&",onLeave:"&"},controller:"UibRatingController",templateUrl:"uib/template/rating/rating.html",replace:!0,link:function(a,b,c,d){var e=d[0],f=d[1];e.init(f)}}}),angular.module("ui.bootstrap.tabs",[]).controller("UibTabsetController",["$scope",function(a){var b=this,c=b.tabs=a.tabs=[];b.select=function(a){angular.forEach(c,function(b){b.active&&b!==a&&(b.active=!1,b.onDeselect(),a.selectCalled=!1)}),a.active=!0,a.selectCalled||(a.onSelect(),a.selectCalled=!0)},b.addTab=function(a){c.push(a),1===c.length&&a.active!==!1?a.active=!0:a.active?b.select(a):a.active=!1},b.removeTab=function(a){var e=c.indexOf(a);if(a.active&&c.length>1&&!d){var f=e===c.length-1?e-1:e+1;b.select(c[f])}c.splice(e,1)};var d;a.$on("$destroy",function(){d=!0})}]).directive("uibTabset",function(){return{transclude:!0,replace:!0,scope:{type:"@"},controller:"UibTabsetController",templateUrl:"uib/template/tabs/tabset.html",link:function(a,b,c){a.vertical=angular.isDefined(c.vertical)?a.$parent.$eval(c.vertical):!1,a.justified=angular.isDefined(c.justified)?a.$parent.$eval(c.justified):!1}}}).directive("uibTab",["$parse",function(a){return{require:"^uibTabset",replace:!0,templateUrl:"uib/template/tabs/tab.html",transclude:!0,scope:{active:"=?",heading:"@",onSelect:"&select",onDeselect:"&deselect"},controller:function(){},controllerAs:"tab",link:function(b,c,d,e,f){b.$watch("active",function(a){a&&e.select(b)}),b.disabled=!1,d.disable&&b.$parent.$watch(a(d.disable),function(a){b.disabled=!!a}),b.select=function(){b.disabled||(b.active=!0)},e.addTab(b),b.$on("$destroy",function(){e.removeTab(b)}),b.$transcludeFn=f}}}]).directive("uibTabHeadingTransclude",function(){return{restrict:"A",require:"^uibTab",link:function(a,b){a.$watch("headingElement",function(a){a&&(b.html(""),b.append(a))})}}}).directive("uibTabContentTransclude",function(){function a(a){return a.tagName&&(a.hasAttribute("uib-tab-heading")||a.hasAttribute("data-uib-tab-heading")||a.hasAttribute("x-uib-tab-heading")||"uib-tab-heading"===a.tagName.toLowerCase()||"data-uib-tab-heading"===a.tagName.toLowerCase()||"x-uib-tab-heading"===a.tagName.toLowerCase())}return{restrict:"A",require:"^uibTabset",link:function(b,c,d){var e=b.$eval(d.uibTabContentTransclude);e.$transcludeFn(e.$parent,function(b){angular.forEach(b,function(b){a(b)?e.headingElement=b:c.append(b)})})}}}),angular.module("ui.bootstrap.timepicker",[]).constant("uibTimepickerConfig",{hourStep:1,minuteStep:1,secondStep:1,showMeridian:!0,showSeconds:!1,meridians:null,readonlyInput:!1,mousewheel:!0,arrowkeys:!0,showSpinners:!0,templateUrl:"uib/template/timepicker/timepicker.html"}).controller("UibTimepickerController",["$scope","$element","$attrs","$parse","$log","$locale","uibTimepickerConfig",function(a,b,c,d,e,f,g){function h(){var b=+a.hours,c=a.showMeridian?b>0&&13>b:b>=0&&24>b;return c?(a.showMeridian&&(12===b&&(b=0),a.meridian===t[1]&&(b+=12)),b):void 0}function i(){var b=+a.minutes;return b>=0&&60>b?b:void 0}function j(){var b=+a.seconds;return b>=0&&60>b?b:void 0}function k(a){return null===a?"":angular.isDefined(a)&&a.toString().length<2?"0"+a:a.toString()}function l(a){m(),s.$setViewValue(new Date(r)),n(a)}function m(){s.$setValidity("time",!0),a.invalidHours=!1,a.invalidMinutes=!1,a.invalidSeconds=!1}function n(b){if(s.$modelValue){var c=r.getHours(),d=r.getMinutes(),e=r.getSeconds();a.showMeridian&&(c=0===c||12===c?12:c%12),a.hours="h"===b?c:k(c),"m"!==b&&(a.minutes=k(d)),a.meridian=r.getHours()<12?t[0]:t[1],"s"!==b&&(a.seconds=k(e)),a.meridian=r.getHours()<12?t[0]:t[1]}else a.hours=null,a.minutes=null,a.seconds=null,a.meridian=t[0]}function o(a){r=q(r,a),l()}function p(a,b){return q(a,60*b)}function q(a,b){var c=new Date(a.getTime()+1e3*b),d=new Date(a);return d.setHours(c.getHours(),c.getMinutes(),c.getSeconds()),d}var r=new Date,s={$setViewValue:angular.noop},t=angular.isDefined(c.meridians)?a.$parent.$eval(c.meridians):g.meridians||f.DATETIME_FORMATS.AMPMS;a.tabindex=angular.isDefined(c.tabindex)?c.tabindex:0,b.removeAttr("tabindex"),this.init=function(b,d){s=b,s.$render=this.render,s.$formatters.unshift(function(a){return a?new Date(a):null});var e=d.eq(0),f=d.eq(1),h=d.eq(2),i=angular.isDefined(c.mousewheel)?a.$parent.$eval(c.mousewheel):g.mousewheel;i&&this.setupMousewheelEvents(e,f,h);var j=angular.isDefined(c.arrowkeys)?a.$parent.$eval(c.arrowkeys):g.arrowkeys;j&&this.setupArrowkeyEvents(e,f,h),a.readonlyInput=angular.isDefined(c.readonlyInput)?a.$parent.$eval(c.readonlyInput):g.readonlyInput,this.setupInputEvents(e,f,h)};var u=g.hourStep;c.hourStep&&a.$parent.$watch(d(c.hourStep),function(a){u=+a});var v=g.minuteStep;c.minuteStep&&a.$parent.$watch(d(c.minuteStep),function(a){v=+a});var w;a.$parent.$watch(d(c.min),function(a){var b=new Date(a);w=isNaN(b)?void 0:b});var x;a.$parent.$watch(d(c.max),function(a){var b=new Date(a);x=isNaN(b)?void 0:b});var y=!1;c.ngDisabled&&a.$parent.$watch(d(c.ngDisabled),function(a){y=a}),a.noIncrementHours=function(){var a=p(r,60*u);return y||a>x||r>a&&w>a},a.noDecrementHours=function(){var a=p(r,60*-u);return y||w>a||a>r&&a>x},a.noIncrementMinutes=function(){var a=p(r,v);return y||a>x||r>a&&w>a},a.noDecrementMinutes=function(){var a=p(r,-v);return y||w>a||a>r&&a>x},a.noIncrementSeconds=function(){var a=q(r,z);return y||a>x||r>a&&w>a},a.noDecrementSeconds=function(){var a=q(r,-z);return y||w>a||a>r&&a>x},a.noToggleMeridian=function(){return r.getHours()<12?y||p(r,720)>x:y||p(r,-720)<w};var z=g.secondStep;c.secondStep&&a.$parent.$watch(d(c.secondStep),function(a){z=+a}),a.showSeconds=g.showSeconds,c.showSeconds&&a.$parent.$watch(d(c.showSeconds),function(b){a.showSeconds=!!b}),a.showMeridian=g.showMeridian,c.showMeridian&&a.$parent.$watch(d(c.showMeridian),function(b){if(a.showMeridian=!!b,s.$error.time){var c=h(),d=i();angular.isDefined(c)&&angular.isDefined(d)&&(r.setHours(c),l())}else n()}),this.setupMousewheelEvents=function(b,c,d){var e=function(a){a.originalEvent&&(a=a.originalEvent);var b=a.wheelDelta?a.wheelDelta:-a.deltaY;return a.detail||b>0};b.bind("mousewheel wheel",function(b){y||a.$apply(e(b)?a.incrementHours():a.decrementHours()),b.preventDefault()}),c.bind("mousewheel wheel",function(b){y||a.$apply(e(b)?a.incrementMinutes():a.decrementMinutes()),b.preventDefault()}),d.bind("mousewheel wheel",function(b){y||a.$apply(e(b)?a.incrementSeconds():a.decrementSeconds()),b.preventDefault()})},this.setupArrowkeyEvents=function(b,c,d){b.bind("keydown",function(b){y||(38===b.which?(b.preventDefault(),a.incrementHours(),a.$apply()):40===b.which&&(b.preventDefault(),a.decrementHours(),a.$apply()))}),c.bind("keydown",function(b){y||(38===b.which?(b.preventDefault(),a.incrementMinutes(),a.$apply()):40===b.which&&(b.preventDefault(),a.decrementMinutes(),a.$apply()))}),d.bind("keydown",function(b){y||(38===b.which?(b.preventDefault(),a.incrementSeconds(),a.$apply()):40===b.which&&(b.preventDefault(),a.decrementSeconds(),a.$apply()))})},this.setupInputEvents=function(b,c,d){if(a.readonlyInput)return a.updateHours=angular.noop,a.updateMinutes=angular.noop,void(a.updateSeconds=angular.noop);var e=function(b,c,d){s.$setViewValue(null),s.$setValidity("time",!1),angular.isDefined(b)&&(a.invalidHours=b),angular.isDefined(c)&&(a.invalidMinutes=c),angular.isDefined(d)&&(a.invalidSeconds=d)};a.updateHours=function(){var a=h(),b=i();s.$setDirty(),angular.isDefined(a)&&angular.isDefined(b)?(r.setHours(a),r.setMinutes(b),w>r||r>x?e(!0):l("h")):e(!0)},b.bind("blur",function(b){s.$setTouched(),null===a.hours||""===a.hours?e(!0):!a.invalidHours&&a.hours<10&&a.$apply(function(){a.hours=k(a.hours)})}),a.updateMinutes=function(){var a=i(),b=h();s.$setDirty(),angular.isDefined(a)&&angular.isDefined(b)?(r.setHours(b),r.setMinutes(a),w>r||r>x?e(void 0,!0):l("m")):e(void 0,!0)},c.bind("blur",function(b){s.$setTouched(),null===a.minutes?e(void 0,!0):!a.invalidMinutes&&a.minutes<10&&a.$apply(function(){a.minutes=k(a.minutes)})}),a.updateSeconds=function(){var a=j();s.$setDirty(),angular.isDefined(a)?(r.setSeconds(a),l("s")):e(void 0,void 0,!0)},d.bind("blur",function(b){!a.invalidSeconds&&a.seconds<10&&a.$apply(function(){a.seconds=k(a.seconds)})})},this.render=function(){var b=s.$viewValue;isNaN(b)?(s.$setValidity("time",!1),e.error('Timepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.')):(b&&(r=b),w>r||r>x?(s.$setValidity("time",!1),a.invalidHours=!0,a.invalidMinutes=!0):m(),n())},a.showSpinners=angular.isDefined(c.showSpinners)?a.$parent.$eval(c.showSpinners):g.showSpinners,a.incrementHours=function(){a.noIncrementHours()||o(60*u*60)},a.decrementHours=function(){a.noDecrementHours()||o(60*-u*60)},a.incrementMinutes=function(){a.noIncrementMinutes()||o(60*v)},a.decrementMinutes=function(){a.noDecrementMinutes()||o(60*-v)},a.incrementSeconds=function(){a.noIncrementSeconds()||o(z)},a.decrementSeconds=function(){a.noDecrementSeconds()||o(-z)},a.toggleMeridian=function(){var b=i(),c=h();a.noToggleMeridian()||(angular.isDefined(b)&&angular.isDefined(c)?o(720*(r.getHours()<12?60:-60)):a.meridian=a.meridian===t[0]?t[1]:t[0])},a.blur=function(){s.$setTouched()}}]).directive("uibTimepicker",["uibTimepickerConfig",function(a){return{require:["uibTimepicker","?^ngModel"],controller:"UibTimepickerController",controllerAs:"timepicker",replace:!0,scope:{},templateUrl:function(b,c){return c.templateUrl||a.templateUrl},link:function(a,b,c,d){var e=d[0],f=d[1];f&&e.init(f,b.find("input"))}}}]),angular.module("ui.bootstrap.typeahead",["ui.bootstrap.debounce","ui.bootstrap.position"]).factory("uibTypeaheadParser",["$parse",function(a){var b=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+([\s\S]+?)$/;return{parse:function(c){var d=c.match(b);if(!d)throw new Error('Expected typeahead specification in form of "_modelValue_ (as _label_)? for _item_ in _collection_" but got "'+c+'".');return{itemName:d[3],source:a(d[4]),viewMapper:a(d[2]||d[1]),modelMapper:a(d[1])}}}}]).controller("UibTypeaheadController",["$scope","$element","$attrs","$compile","$parse","$q","$timeout","$document","$window","$rootScope","$$debounce","$uibPosition","uibTypeaheadParser",function(a,b,c,d,e,f,g,h,i,j,k,l,m){function n(){N.moveInProgress||(N.moveInProgress=!0,N.$digest()),Y()}function o(){N.position=D?l.offset(b):l.position(b),N.position.top+=b.prop("offsetHeight")}var p,q,r=[9,13,27,38,40],s=200,t=a.$eval(c.typeaheadMinLength);t||0===t||(t=1);var u=a.$eval(c.typeaheadWaitMs)||0,v=a.$eval(c.typeaheadEditable)!==!1;a.$watch(c.typeaheadEditable,function(a){v=a!==!1});var w,x,y=e(c.typeaheadLoading).assign||angular.noop,z=e(c.typeaheadOnSelect),A=angular.isDefined(c.typeaheadSelectOnBlur)?a.$eval(c.typeaheadSelectOnBlur):!1,B=e(c.typeaheadNoResults).assign||angular.noop,C=c.typeaheadInputFormatter?e(c.typeaheadInputFormatter):void 0,D=c.typeaheadAppendToBody?a.$eval(c.typeaheadAppendToBody):!1,E=c.typeaheadAppendTo?a.$eval(c.typeaheadAppendTo):null,F=a.$eval(c.typeaheadFocusFirst)!==!1,G=c.typeaheadSelectOnExact?a.$eval(c.typeaheadSelectOnExact):!1,H=e(c.typeaheadIsOpen).assign||angular.noop,I=a.$eval(c.typeaheadShowHint)||!1,J=e(c.ngModel),K=e(c.ngModel+"($$$p)"),L=function(b,c){return angular.isFunction(J(a))&&q&&q.$options&&q.$options.getterSetter?K(b,{$$$p:c}):J.assign(b,c)},M=m.parse(c.uibTypeahead),N=a.$new(),O=a.$on("$destroy",function(){N.$destroy()});N.$on("$destroy",O);var P="typeahead-"+N.$id+"-"+Math.floor(1e4*Math.random());b.attr({"aria-autocomplete":"list","aria-expanded":!1,"aria-owns":P});var Q,R;I&&(Q=angular.element("<div></div>"),Q.css("position","relative"),b.after(Q),R=b.clone(),R.attr("placeholder",""),R.val(""),R.css({position:"absolute",top:"0px",left:"0px","border-color":"transparent","box-shadow":"none",opacity:1,background:"none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255)",color:"#999"}),b.css({position:"relative","vertical-align":"top","background-color":"transparent"}),Q.append(R),R.after(b));var S=angular.element("<div uib-typeahead-popup></div>");S.attr({id:P,matches:"matches",active:"activeIdx",select:"select(activeIdx, evt)","move-in-progress":"moveInProgress",query:"query",position:"position","assign-is-open":"assignIsOpen(isOpen)",debounce:"debounceUpdate"}),angular.isDefined(c.typeaheadTemplateUrl)&&S.attr("template-url",c.typeaheadTemplateUrl),angular.isDefined(c.typeaheadPopupTemplateUrl)&&S.attr("popup-template-url",c.typeaheadPopupTemplateUrl);var T=function(){I&&R.val("")},U=function(){N.matches=[],N.activeIdx=-1,b.attr("aria-expanded",!1),T()},V=function(a){return P+"-option-"+a};N.$watch("activeIdx",function(a){0>a?b.removeAttr("aria-activedescendant"):b.attr("aria-activedescendant",V(a))});var W=function(a,b){return N.matches.length>b&&a?a.toUpperCase()===N.matches[b].label.toUpperCase():!1},X=function(c,d){var e={$viewValue:c};y(a,!0),B(a,!1),f.when(M.source(a,e)).then(function(f){var g=c===p.$viewValue;if(g&&w)if(f&&f.length>0){N.activeIdx=F?0:-1,B(a,!1),N.matches.length=0;for(var h=0;h<f.length;h++)e[M.itemName]=f[h],N.matches.push({id:V(h),label:M.viewMapper(N,e),model:f[h]});if(N.query=c,o(),b.attr("aria-expanded",!0),G&&1===N.matches.length&&W(c,0)&&(angular.isNumber(N.debounceUpdate)||angular.isObject(N.debounceUpdate)?k(function(){N.select(0,d)},angular.isNumber(N.debounceUpdate)?N.debounceUpdate:N.debounceUpdate["default"]):N.select(0,d)),I){var i=N.matches[0].label;c.length>0&&i.slice(0,c.length).toUpperCase()===c.toUpperCase()?R.val(c+i.slice(c.length)):R.val("")}}else U(),B(a,!0);g&&y(a,!1)},function(){U(),y(a,!1),B(a,!0)})};D&&(angular.element(i).on("resize",n),h.find("body").on("scroll",n));var Y=k(function(){N.matches.length&&o(),N.moveInProgress=!1},s);N.moveInProgress=!1,N.query=void 0;var Z,$=function(a){Z=g(function(){X(a)},u)},_=function(){Z&&g.cancel(Z)};U(),N.assignIsOpen=function(b){H(a,b)},N.select=function(d,e){var f,h,i={};x=!0,i[M.itemName]=h=N.matches[d].model,f=M.modelMapper(a,i),L(a,f),p.$setValidity("editable",!0),p.$setValidity("parse",!0),z(a,{$item:h,$model:f,$label:M.viewMapper(a,i),$event:e}),U(),N.$eval(c.typeaheadFocusOnSelect)!==!1&&g(function(){b[0].focus()},0,!1)},b.on("keydown",function(a){if(0!==N.matches.length&&-1!==r.indexOf(a.which)){if(-1===N.activeIdx&&(9===a.which||13===a.which))return U(),void N.$digest();a.preventDefault();var b;switch(a.which){case 9:case 13:N.$apply(function(){angular.isNumber(N.debounceUpdate)||angular.isObject(N.debounceUpdate)?k(function(){N.select(N.activeIdx,a)},angular.isNumber(N.debounceUpdate)?N.debounceUpdate:N.debounceUpdate["default"]):N.select(N.activeIdx,a)});break;case 27:a.stopPropagation(),U(),N.$digest();break;case 38:N.activeIdx=(N.activeIdx>0?N.activeIdx:N.matches.length)-1,N.$digest(),b=S.find("li")[N.activeIdx],b.parentNode.scrollTop=b.offsetTop;break;case 40:N.activeIdx=(N.activeIdx+1)%N.matches.length,N.$digest(),b=S.find("li")[N.activeIdx],b.parentNode.scrollTop=b.offsetTop}}}),b.bind("focus",function(a){w=!0,0!==t||p.$viewValue||g(function(){X(p.$viewValue,a)},0)}),b.bind("blur",function(a){A&&N.matches.length&&-1!==N.activeIdx&&!x&&(x=!0,N.$apply(function(){angular.isObject(N.debounceUpdate)&&angular.isNumber(N.debounceUpdate.blur)?k(function(){N.select(N.activeIdx,a)},N.debounceUpdate.blur):N.select(N.activeIdx,a)})),!v&&p.$error.editable&&(p.$viewValue="",b.val("")),w=!1,x=!1});var aa=function(a){b[0]!==a.target&&3!==a.which&&0!==N.matches.length&&(U(),j.$$phase||N.$digest())};h.on("click",aa),a.$on("$destroy",function(){h.off("click",aa),(D||E)&&ba.remove(),D&&(angular.element(i).off("resize",n),h.find("body").off("scroll",n)),S.remove(),I&&Q.remove()});var ba=d(S)(N);D?h.find("body").append(ba):E?angular.element(E).eq(0).append(ba):b.after(ba),this.init=function(b,c){p=b,q=c,N.debounceUpdate=p.$options&&e(p.$options.debounce)(a),p.$parsers.unshift(function(b){return w=!0,0===t||b&&b.length>=t?u>0?(_(),$(b)):X(b):(y(a,!1),_(),U()),v?b:b?void p.$setValidity("editable",!1):(p.$setValidity("editable",!0),null)}),p.$formatters.push(function(b){var c,d,e={};return v||p.$setValidity("editable",!0),C?(e.$model=b,C(a,e)):(e[M.itemName]=b,c=M.viewMapper(a,e),e[M.itemName]=void 0,d=M.viewMapper(a,e),c!==d?c:b)})}}]).directive("uibTypeahead",function(){return{controller:"UibTypeaheadController",require:["ngModel","^?ngModelOptions","uibTypeahead"],link:function(a,b,c,d){d[2].init(d[0],d[1])}}}).directive("uibTypeaheadPopup",["$$debounce",function(a){return{scope:{matches:"=",query:"=",active:"=",position:"&",moveInProgress:"=",select:"&",assignIsOpen:"&",debounce:"&"},replace:!0,templateUrl:function(a,b){return b.popupTemplateUrl||"uib/template/typeahead/typeahead-popup.html"},link:function(b,c,d){b.templateUrl=d.templateUrl,b.isOpen=function(){var a=b.matches.length>0;return b.assignIsOpen({isOpen:a}),a},b.isActive=function(a){return b.active===a},b.selectActive=function(a){b.active=a},b.selectMatch=function(c,d){var e=b.debounce();angular.isNumber(e)||angular.isObject(e)?a(function(){b.select({activeIdx:c,evt:d})},angular.isNumber(e)?e:e["default"]):b.select({activeIdx:c,evt:d})}}}}]).directive("uibTypeaheadMatch",["$templateRequest","$compile","$parse",function(a,b,c){return{scope:{index:"=",match:"=",query:"="},link:function(d,e,f){var g=c(f.templateUrl)(d.$parent)||"uib/template/typeahead/typeahead-match.html";a(g).then(function(a){var c=angular.element(a.trim());e.replaceWith(c),b(c)(d)})}}}]).filter("uibTypeaheadHighlight",["$sce","$injector","$log",function(a,b,c){function d(a){return a.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}function e(a){return/<.*>/g.test(a)}var f;return f=b.has("$sanitize"),function(b,g){return!f&&e(b)&&c.warn("Unsafe use of typeahead please use ngSanitize"),b=g?(""+b).replace(new RegExp(d(g),"gi"),"<strong>$&</strong>"):b,f||(b=a.trustAsHtml(b)),b}}]),angular.module("uib/template/accordion/accordion-group.html",[]).run(["$templateCache",function(a){a.put("uib/template/accordion/accordion-group.html",'<div class="panel" ng-class="panelClass || \'panel-default\'">\n  <div class="panel-heading" ng-keypress="toggleOpen($event)">\n    <h4 class="panel-title">\n      <div tabindex="0" class="accordion-toggle" ng-click="toggleOpen()" uib-accordion-transclude="heading"><span ng-class="{\'text-muted\': isDisabled}">{{heading}}</span></div>\n    </h4>\n  </div>\n  <div class="panel-collapse collapse" uib-collapse="!isOpen">\n   <div class="panel-body" ng-transclude></div>\n  </div>\n</div>\n')}]),angular.module("uib/template/accordion/accordion.html",[]).run(["$templateCache",function(a){a.put("uib/template/accordion/accordion.html",'<div class="panel-group" ng-transclude></div>')}]),angular.module("uib/template/alert/alert.html",[]).run(["$templateCache",function(a){a.put("uib/template/alert/alert.html",'<div class="alert" ng-class="[\'alert-\' + (type || \'warning\'), closeable ? \'alert-dismissible\' : null]" role="alert">\n    <button ng-show="closeable" type="button" class="close" ng-click="close({$event: $event})">\n        <span aria-hidden="true">&times;</span>\n        <span class="sr-only">Close</span>\n    </button>\n    <div ng-transclude></div>\n</div>\n')}]),angular.module("uib/template/carousel/carousel.html",[]).run(["$templateCache",function(a){a.put("uib/template/carousel/carousel.html",'<div ng-mouseenter="pause()" ng-mouseleave="play()" class="carousel" ng-swipe-right="prev()" ng-swipe-left="next()">\n  <div class="carousel-inner" ng-transclude></div>\n  <a role="button" href class="left carousel-control" ng-click="prev()" ng-show="slides.length > 1">\n    <span aria-hidden="true" class="glyphicon glyphicon-chevron-left"></span>\n    <span class="sr-only">previous</span>\n  </a>\n  <a role="button" href class="right carousel-control" ng-click="next()" ng-show="slides.length > 1">\n    <span aria-hidden="true" class="glyphicon glyphicon-chevron-right"></span>\n    <span class="sr-only">next</span>\n  </a>\n  <ol class="carousel-indicators" ng-show="slides.length > 1">\n    <li ng-repeat="slide in slides | orderBy:indexOfSlide track by $index" ng-class="{ active: isActive(slide) }" ng-click="select(slide)">\n      <span class="sr-only">slide {{ $index + 1 }} of {{ slides.length }}<span ng-if="isActive(slide)">, currently active</span></span>\n    </li>\n  </ol>\n</div>')}]),angular.module("uib/template/carousel/slide.html",[]).run(["$templateCache",function(a){a.put("uib/template/carousel/slide.html",'<div ng-class="{\n    \'active\': active\n  }" class="item text-center" ng-transclude></div>\n')}]),angular.module("uib/template/datepicker/datepicker.html",[]).run(["$templateCache",function(a){a.put("uib/template/datepicker/datepicker.html",'<div class="uib-datepicker" ng-switch="datepickerMode" role="application" ng-keydown="keydown($event)">\n  <uib-daypicker ng-switch-when="day" tabindex="0"></uib-daypicker>\n  <uib-monthpicker ng-switch-when="month" tabindex="0"></uib-monthpicker>\n  <uib-yearpicker ng-switch-when="year" tabindex="0"></uib-yearpicker>\n</div>')}]),angular.module("uib/template/datepicker/day.html",[]).run(["$templateCache",function(a){a.put("uib/template/datepicker/day.html",'<table class="uib-daypicker" role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n  <thead>\n    <tr>\n      <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-left"></i></button></th>\n      <th colspan="{{::5 + showWeeks}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1" style="width:100%;"><strong>{{title}}</strong></button></th>\n      <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-right"></i></button></th>\n    </tr>\n    <tr>\n      <th ng-if="showWeeks" class="text-center"></th>\n      <th ng-repeat="label in ::labels track by $index" class="text-center"><small aria-label="{{::label.full}}">{{::label.abbr}}</small></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr class="uib-weeks" ng-repeat="row in rows track by $index">\n      <td ng-if="showWeeks" class="text-center h6"><em>{{ weekNumbers[$index] }}</em></td>\n      <td ng-repeat="dt in row" class="uib-day text-center" role="gridcell"\n        id="{{::dt.uid}}"\n        ng-class="::dt.customClass">\n        <button type="button" style="min-width:100%;" class="btn btn-default btn-sm"\n          uib-is-class="\n            \'btn-info\' for selectedDt,\n            \'active\' for activeDt\n            on dt"\n          ng-click="select(dt.date)"\n          ng-disabled="::dt.disabled"\n          tabindex="-1"><span ng-class="::{\'text-muted\': dt.secondary, \'text-info\': dt.current}">{{::dt.label}}</span></button>\n      </td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("uib/template/datepicker/month.html",[]).run(["$templateCache",function(a){a.put("uib/template/datepicker/month.html",'<table class="uib-monthpicker" role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n  <thead>\n    <tr>\n      <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-left"></i></button></th>\n      <th><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1" style="width:100%;"><strong>{{title}}</strong></button></th>\n      <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-right"></i></button></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr class="uib-months" ng-repeat="row in rows track by $index">\n      <td ng-repeat="dt in row" class="uib-month text-center" role="gridcell"\n        id="{{::dt.uid}}"\n        ng-class="::dt.customClass">\n        <button type="button" style="min-width:100%;" class="btn btn-default"\n          uib-is-class="\n            \'btn-info\' for selectedDt,\n            \'active\' for activeDt\n            on dt"\n          ng-click="select(dt.date)"\n          ng-disabled="::dt.disabled"\n          tabindex="-1"><span ng-class="::{\'text-info\': dt.current}">{{::dt.label}}</span></button>\n      </td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("uib/template/datepicker/popup.html",[]).run(["$templateCache",function(a){a.put("uib/template/datepicker/popup.html",'<ul class="uib-datepicker-popup dropdown-menu" dropdown-nested ng-if="isOpen" style="display: block" ng-style="{top: position.top+\'px\', left: position.left+\'px\'}" ng-keydown="keydown($event)" ng-click="$event.stopPropagation()">\n  <li ng-transclude></li>\n       <li ng-if="showButtonBar" style="padding:10px 9px 2px" class="uib-button-bar">\n                <span class="btn-group pull-left">\n                    <button type="button" class="btn btn-sm btn-info uib-datepicker-current" ng-click="select(\'today\')" ng-disabled="isDisabled(\'today\')">{{ getText(\'current\') }}</button>\n                 <button type="button" class="btn btn-sm btn-danger uib-clear" ng-click="select(null)">{{ getText(\'clear\') }}</button>\n               </span>\n               <button type="button" class="btn btn-sm btn-success pull-right uib-close" ng-click="close()">{{ getText(\'close\') }}</button>\n        </li>\n</ul>\n')}]),angular.module("uib/template/datepicker/year.html",[]).run(["$templateCache",function(a){a.put("uib/template/datepicker/year.html",'<table class="uib-yearpicker" role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n  <thead>\n    <tr>\n      <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-left"></i></button></th>\n      <th colspan="{{::columns - 2}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1" style="width:100%;"><strong>{{title}}</strong></button></th>\n      <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-right"></i></button></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr class="uib-years" ng-repeat="row in rows track by $index">\n      <td ng-repeat="dt in row" class="uib-year text-center" role="gridcell"\n        id="{{::dt.uid}}"\n        ng-class="::dt.customClass">\n        <button type="button" style="min-width:100%;" class="btn btn-default"\n          uib-is-class="\n            \'btn-info\' for selectedDt,\n            \'active\' for activeDt\n            on dt"\n          ng-click="select(dt.date)"\n          ng-disabled="::dt.disabled"\n          tabindex="-1"><span ng-class="::{\'text-info\': dt.current}">{{::dt.label}}</span></button>\n      </td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("uib/template/modal/backdrop.html",[]).run(["$templateCache",function(a){a.put("uib/template/modal/backdrop.html",'<div class="modal-backdrop"\n     uib-modal-animation-class="fade"\n     modal-in-class="in"\n     ng-style="{\'z-index\': 1040 + (index && 1 || 0) + index*10}"\n></div>\n')}]),angular.module("uib/template/modal/window.html",[]).run(["$templateCache",function(a){a.put("uib/template/modal/window.html",'<div modal-render="{{$isRendered}}" tabindex="-1" role="dialog" class="modal"\n    uib-modal-animation-class="fade"\n    modal-in-class="in"\n    ng-style="{\'z-index\': 1050 + index*10, display: \'block\'}">\n    <div class="modal-dialog" ng-class="size ? \'modal-\' + size : \'\'"><div class="modal-content" uib-modal-transclude></div></div>\n</div>\n')}]),angular.module("uib/template/pager/pager.html",[]).run(["$templateCache",function(a){a.put("uib/template/pager/pager.html",'<ul class="pager">\n  <li ng-class="{disabled: noPrevious()||ngDisabled, previous: align}"><a href ng-click="selectPage(page - 1, $event)">{{::getText(\'previous\')}}</a></li>\n  <li ng-class="{disabled: noNext()||ngDisabled, next: align}"><a href ng-click="selectPage(page + 1, $event)">{{::getText(\'next\')}}</a></li>\n</ul>\n')}]),angular.module("uib/template/pagination/pagination.html",[]).run(["$templateCache",function(a){a.put("uib/template/pagination/pagination.html",'<ul class="pagination">\n  <li ng-if="::boundaryLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-first"><a href ng-click="selectPage(1, $event)">{{::getText(\'first\')}}</a></li>\n  <li ng-if="::directionLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-prev"><a href ng-click="selectPage(page - 1, $event)">{{::getText(\'previous\')}}</a></li>\n  <li ng-repeat="page in pages track by $index" ng-class="{active: page.active,disabled: ngDisabled&&!page.active}" class="pagination-page"><a href ng-click="selectPage(page.number, $event)">{{page.text}}</a></li>\n  <li ng-if="::directionLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-next"><a href ng-click="selectPage(page + 1, $event)">{{::getText(\'next\')}}</a></li>\n  <li ng-if="::boundaryLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-last"><a href ng-click="selectPage(totalPages, $event)">{{::getText(\'last\')}}</a></li>\n</ul>\n');
+}]),angular.module("uib/template/tooltip/tooltip-html-popup.html",[]).run(["$templateCache",function(a){a.put("uib/template/tooltip/tooltip-html-popup.html",'<div class="tooltip"\n  tooltip-animation-class="fade"\n  uib-tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="tooltip-arrow"></div>\n  <div class="tooltip-inner" ng-bind-html="contentExp()"></div>\n</div>\n')}]),angular.module("template/tooltip/tooltip-html-unsafe-popup.html",[]).run(["$templateCache",function(a){a.put("template/tooltip/tooltip-html-unsafe-popup.html",'<div class="tooltip"\n  tooltip-animation-class="fade"\n  tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="tooltip-arrow"></div>\n  <div class="tooltip-inner" bind-html-unsafe="content"></div>\n</div>\n')}]),angular.module("uib/template/tooltip/tooltip-popup.html",[]).run(["$templateCache",function(a){a.put("uib/template/tooltip/tooltip-popup.html",'<div class="tooltip"\n  tooltip-animation-class="fade"\n  uib-tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="tooltip-arrow"></div>\n  <div class="tooltip-inner" ng-bind="content"></div>\n</div>\n')}]),angular.module("uib/template/tooltip/tooltip-template-popup.html",[]).run(["$templateCache",function(a){a.put("uib/template/tooltip/tooltip-template-popup.html",'<div class="tooltip"\n  tooltip-animation-class="fade"\n  uib-tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="tooltip-arrow"></div>\n  <div class="tooltip-inner"\n    uib-tooltip-template-transclude="contentExp()"\n    tooltip-template-transclude-scope="originScope()"></div>\n</div>\n')}]),angular.module("uib/template/popover/popover-html.html",[]).run(["$templateCache",function(a){a.put("uib/template/popover/popover-html.html",'<div class="popover"\n  tooltip-animation-class="fade"\n  uib-tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="arrow"></div>\n\n  <div class="popover-inner">\n      <h3 class="popover-title" ng-bind="title" ng-if="title"></h3>\n      <div class="popover-content" ng-bind-html="contentExp()"></div>\n  </div>\n</div>\n')}]),angular.module("uib/template/popover/popover-template.html",[]).run(["$templateCache",function(a){a.put("uib/template/popover/popover-template.html",'<div class="popover"\n  tooltip-animation-class="fade"\n  uib-tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="arrow"></div>\n\n  <div class="popover-inner">\n      <h3 class="popover-title" ng-bind="title" ng-if="title"></h3>\n      <div class="popover-content"\n        uib-tooltip-template-transclude="contentExp()"\n        tooltip-template-transclude-scope="originScope()"></div>\n  </div>\n</div>\n')}]),angular.module("uib/template/popover/popover.html",[]).run(["$templateCache",function(a){a.put("uib/template/popover/popover.html",'<div class="popover"\n  tooltip-animation-class="fade"\n  uib-tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="arrow"></div>\n\n  <div class="popover-inner">\n      <h3 class="popover-title" ng-bind="title" ng-if="title"></h3>\n      <div class="popover-content" ng-bind="content"></div>\n  </div>\n</div>\n')}]),angular.module("uib/template/progressbar/bar.html",[]).run(["$templateCache",function(a){a.put("uib/template/progressbar/bar.html",'<div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: (percent < 100 ? percent : 100) + \'%\'}" aria-valuetext="{{percent | number:0}}%" aria-labelledby="{{::title}}" ng-transclude></div>\n')}]),angular.module("uib/template/progressbar/progress.html",[]).run(["$templateCache",function(a){a.put("uib/template/progressbar/progress.html",'<div class="progress" ng-transclude aria-labelledby="{{::title}}"></div>')}]),angular.module("uib/template/progressbar/progressbar.html",[]).run(["$templateCache",function(a){a.put("uib/template/progressbar/progressbar.html",'<div class="progress">\n  <div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: (percent < 100 ? percent : 100) + \'%\'}" aria-valuetext="{{percent | number:0}}%" aria-labelledby="{{::title}}" ng-transclude></div>\n</div>\n')}]),angular.module("uib/template/rating/rating.html",[]).run(["$templateCache",function(a){a.put("uib/template/rating/rating.html",'<span ng-mouseleave="reset()" ng-keydown="onKeydown($event)" tabindex="0" role="slider" aria-valuemin="0" aria-valuemax="{{range.length}}" aria-valuenow="{{value}}">\n    <span ng-repeat-start="r in range track by $index" class="sr-only">({{ $index < value ? \'*\' : \' \' }})</span>\n    <i ng-repeat-end ng-mouseenter="enter($index + 1)" ng-click="rate($index + 1)" class="glyphicon" ng-class="$index < value && (r.stateOn || \'glyphicon-star\') || (r.stateOff || \'glyphicon-star-empty\')" ng-attr-title="{{r.title}}" aria-valuetext="{{r.title}}"></i>\n</span>\n')}]),angular.module("uib/template/tabs/tab.html",[]).run(["$templateCache",function(a){a.put("uib/template/tabs/tab.html",'<li ng-class="{active: active, disabled: disabled}" class="uib-tab">\n  <div ng-click="select()" uib-tab-heading-transclude>{{heading}}</div>\n</li>\n')}]),angular.module("uib/template/tabs/tabset.html",[]).run(["$templateCache",function(a){a.put("uib/template/tabs/tabset.html",'<div>\n  <ul class="nav nav-{{type || \'tabs\'}}" ng-class="{\'nav-stacked\': vertical, \'nav-justified\': justified}" ng-transclude></ul>\n  <div class="tab-content">\n    <div class="tab-pane" \n         ng-repeat="tab in tabs" \n         ng-class="{active: tab.active}"\n         uib-tab-content-transclude="tab">\n    </div>\n  </div>\n</div>\n')}]),angular.module("uib/template/timepicker/timepicker.html",[]).run(["$templateCache",function(a){a.put("uib/template/timepicker/timepicker.html",'<table class="uib-timepicker">\n  <tbody>\n    <tr class="text-center" ng-show="::showSpinners">\n      <td class="uib-increment hours"><a ng-click="incrementHours()" ng-class="{disabled: noIncrementHours()}" class="btn btn-link" ng-disabled="noIncrementHours()" tabindex="{{::tabindex}}"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n      <td>&nbsp;</td>\n      <td class="uib-increment minutes"><a ng-click="incrementMinutes()" ng-class="{disabled: noIncrementMinutes()}" class="btn btn-link" ng-disabled="noIncrementMinutes()" tabindex="{{::tabindex}}"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n      <td ng-show="showSeconds">&nbsp;</td>\n      <td ng-show="showSeconds" class="uib-increment seconds"><a ng-click="incrementSeconds()" ng-class="{disabled: noIncrementSeconds()}" class="btn btn-link" ng-disabled="noIncrementSeconds()" tabindex="{{::tabindex}}"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n      <td ng-show="showMeridian"></td>\n    </tr>\n    <tr>\n      <td class="form-group uib-time hours" ng-class="{\'has-error\': invalidHours}">\n        <input style="width:50px;" type="text" placeholder="HH" ng-model="hours" ng-change="updateHours()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementHours()" ng-blur="blur()">\n      </td>\n      <td class="uib-separator">:</td>\n      <td class="form-group uib-time minutes" ng-class="{\'has-error\': invalidMinutes}">\n        <input style="width:50px;" type="text" placeholder="MM" ng-model="minutes" ng-change="updateMinutes()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementMinutes()" ng-blur="blur()">\n      </td>\n      <td ng-show="showSeconds" class="uib-separator">:</td>\n      <td class="form-group uib-time seconds" ng-class="{\'has-error\': invalidSeconds}" ng-show="showSeconds">\n        <input style="width:50px;" type="text" ng-model="seconds" ng-change="updateSeconds()" class="form-control text-center" ng-readonly="readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementSeconds()" ng-blur="blur()">\n      </td>\n      <td ng-show="showMeridian" class="uib-time am-pm"><button type="button" ng-class="{disabled: noToggleMeridian()}" class="btn btn-default text-center" ng-click="toggleMeridian()" ng-disabled="noToggleMeridian()" tabindex="{{::tabindex}}">{{meridian}}</button></td>\n    </tr>\n    <tr class="text-center" ng-show="::showSpinners">\n      <td class="uib-decrement hours"><a ng-click="decrementHours()" ng-class="{disabled: noDecrementHours()}" class="btn btn-link" ng-disabled="noDecrementHours()" tabindex="{{::tabindex}}"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n      <td>&nbsp;</td>\n      <td class="uib-decrement minutes"><a ng-click="decrementMinutes()" ng-class="{disabled: noDecrementMinutes()}" class="btn btn-link" ng-disabled="noDecrementMinutes()" tabindex="{{::tabindex}}"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n      <td ng-show="showSeconds">&nbsp;</td>\n      <td ng-show="showSeconds" class="uib-decrement seconds"><a ng-click="decrementSeconds()" ng-class="{disabled: noDecrementSeconds()}" class="btn btn-link" ng-disabled="noDecrementSeconds()" tabindex="{{::tabindex}}"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n      <td ng-show="showMeridian"></td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("uib/template/typeahead/typeahead-match.html",[]).run(["$templateCache",function(a){a.put("uib/template/typeahead/typeahead-match.html",'<a href tabindex="-1" ng-bind-html="match.label | uibTypeaheadHighlight:query"></a>\n')}]),angular.module("uib/template/typeahead/typeahead-popup.html",[]).run(["$templateCache",function(a){a.put("uib/template/typeahead/typeahead-popup.html",'<ul class="dropdown-menu" ng-show="isOpen() && !moveInProgress" ng-style="{top: position().top+\'px\', left: position().left+\'px\'}" style="display: block;" role="listbox" aria-hidden="{{!isOpen()}}">\n    <li ng-repeat="match in matches track by $index" ng-class="{active: isActive($index) }" ng-mouseenter="selectActive($index)" ng-click="selectMatch($index, $event)" role="option" id="{{::match.id}}">\n        <div uib-typeahead-match index="$index" match="match" query="query" template-url="templateUrl"></div>\n    </li>\n</ul>\n')}]),angular.module("ui.bootstrap.carousel").run(function(){!angular.$$csp().noInlineStyle&&angular.element(document).find("head").prepend('<style type="text/css">.ng-animate.item:not(.left):not(.right){-webkit-transition:0s ease-in-out left;transition:0s ease-in-out left}</style>')}),angular.module("ui.bootstrap.tabs").run(function(){!angular.$$csp().noInlineStyle&&angular.element(document).find("head").prepend('<style type="text/css">.uib-tab > div{position:relative;display:block;padding:10px 15px;outline:0;color:#337ab7;}.uib-tab > div:focus,.uib-tab > div:hover{background-color:#eee;color:#23527c;}.uib-tab.disabled > div{color:#777;}.uib-tab.disabled > div:focus,.uib-tab.disabled > div:hover{color:#777;cursor:not-allowed;background-color:transparent;}.nav-tabs > .uib-tab > div{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0;}.nav-tabs > .uib-tab > div:hover{border-color:#eee #eee #ddd;}.nav-tabs > .uib-tab.active > div,.nav-tabs > .uib-tab.active > div:focus,.nav-tabs > .uib-tab.active > div:hover{color:#555;cursor:default;background-color:#fff;border-color:#ddd #ddd transparent #ddd;}.nav-pills > .uib-tab > div{border-radius:4px;}.nav-pills > .uib-tab.active > div,.nav-pills > .uib-tab.active > div:focus,.nav-pills > .uib-tab.active > div:hover{color:#fff;background-color:#337ab7;}</style>')}),function(a){"use strict";"function"==typeof define&&define.amd?define(a):"undefined"!=typeof module&&"undefined"!=typeof module.exports?module.exports=a():"undefined"!=typeof Package?Sortable=a():window.Sortable=a()}(function(){"use strict";function a(a,b){if(!a||!a.nodeType||1!==a.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(a);this.el=a,this.options=b=r({},b),a[L]=this;var c={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(a.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",ignore:"a, img",filter:null,animation:0,setData:function(a,b){a.setData("Text",b.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1};for(var d in c)!(d in b)&&(b[d]=c[d]);V(b);for(var f in this)"_"===f.charAt(0)&&(this[f]=this[f].bind(this));this.nativeDraggable=b.forceFallback?!1:P,e(a,"mousedown",this._onTapStart),e(a,"touchstart",this._onTapStart),this.nativeDraggable&&(e(a,"dragover",this),e(a,"dragenter",this)),T.push(this._onDragOver),b.store&&this.sort(b.store.get(this))}function b(a){v&&v.state!==a&&(h(v,"display",a?"none":""),!a&&v.state&&w.insertBefore(v,s),v.state=a)}function c(a,b,c){if(a){c=c||N,b=b.split(".");var d=b.shift().toUpperCase(),e=new RegExp("\\s("+b.join("|")+")(?=\\s)","g");do if(">*"===d&&a.parentNode===c||(""===d||a.nodeName.toUpperCase()==d)&&(!b.length||((" "+a.className+" ").match(e)||[]).length==b.length))return a;while(a!==c&&(a=a.parentNode))}return null}function d(a){a.dataTransfer&&(a.dataTransfer.dropEffect="move"),a.preventDefault()}function e(a,b,c){a.addEventListener(b,c,!1)}function f(a,b,c){a.removeEventListener(b,c,!1)}function g(a,b,c){if(a)if(a.classList)a.classList[c?"add":"remove"](b);else{var d=(" "+a.className+" ").replace(K," ").replace(" "+b+" "," ");a.className=(d+(c?" "+b:"")).replace(K," ")}}function h(a,b,c){var d=a&&a.style;if(d){if(void 0===c)return N.defaultView&&N.defaultView.getComputedStyle?c=N.defaultView.getComputedStyle(a,""):a.currentStyle&&(c=a.currentStyle),void 0===b?c:c[b];b in d||(b="-webkit-"+b),d[b]=c+("string"==typeof c?"":"px")}}function i(a,b,c){if(a){var d=a.getElementsByTagName(b),e=0,f=d.length;if(c)for(;f>e;e++)c(d[e],e);return d}return[]}function j(a,b,c,d,e,f,g){var h=N.createEvent("Event"),i=(a||b[L]).options,j="on"+c.charAt(0).toUpperCase()+c.substr(1);h.initEvent(c,!0,!0),h.to=b,h.from=e||b,h.item=d||b,h.clone=v,h.oldIndex=f,h.newIndex=g,b.dispatchEvent(h),i[j]&&i[j].call(a,h)}function k(a,b,c,d,e,f){var g,h,i=a[L],j=i.options.onMove;return g=N.createEvent("Event"),g.initEvent("move",!0,!0),g.to=b,g.from=a,g.dragged=c,g.draggedRect=d,g.related=e||b,g.relatedRect=f||b.getBoundingClientRect(),a.dispatchEvent(g),j&&(h=j.call(i,g)),h}function l(a){a.draggable=!1}function m(){R=!1}function n(a,b){var c=a.lastElementChild,d=c.getBoundingClientRect();return(b.clientY-(d.top+d.height)>5||b.clientX-(d.right+d.width)>5)&&c}function o(a){for(var b=a.tagName+a.className+a.src+a.href+a.textContent,c=b.length,d=0;c--;)d+=b.charCodeAt(c);return d.toString(36)}function p(a){var b=0;if(!a||!a.parentNode)return-1;for(;a&&(a=a.previousElementSibling);)"TEMPLATE"!==a.nodeName.toUpperCase()&&b++;return b}function q(a,b){var c,d;return function(){void 0===c&&(c=arguments,d=this,setTimeout(function(){1===c.length?a.call(d,c[0]):a.apply(d,c),c=void 0},b))}}function r(a,b){if(a&&b)for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}var s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J={},K=/\s+/g,L="Sortable"+(new Date).getTime(),M=window,N=M.document,O=M.parseInt,P=!!("draggable"in N.createElement("div")),Q=function(a){return a=N.createElement("x"),a.style.cssText="pointer-events:auto","auto"===a.style.pointerEvents}(),R=!1,S=Math.abs,T=([].slice,[]),U=q(function(a,b,c){if(c&&b.scroll){var d,e,f,g,h=b.scrollSensitivity,i=b.scrollSpeed,j=a.clientX,k=a.clientY,l=window.innerWidth,m=window.innerHeight;if(z!==c&&(y=b.scroll,z=c,y===!0)){y=c;do if(y.offsetWidth<y.scrollWidth||y.offsetHeight<y.scrollHeight)break;while(y=y.parentNode)}y&&(d=y,e=y.getBoundingClientRect(),f=(S(e.right-j)<=h)-(S(e.left-j)<=h),g=(S(e.bottom-k)<=h)-(S(e.top-k)<=h)),f||g||(f=(h>=l-j)-(h>=j),g=(h>=m-k)-(h>=k),(f||g)&&(d=M)),(J.vx!==f||J.vy!==g||J.el!==d)&&(J.el=d,J.vx=f,J.vy=g,clearInterval(J.pid),d&&(J.pid=setInterval(function(){d===M?M.scrollTo(M.pageXOffset+f*i,M.pageYOffset+g*i):(g&&(d.scrollTop+=g*i),f&&(d.scrollLeft+=f*i))},24)))}},30),V=function(a){var b=a.group;b&&"object"==typeof b||(b=a.group={name:b}),["pull","put"].forEach(function(a){a in b||(b[a]=!0)}),a.groups=" "+b.name+(b.put.join?" "+b.put.join(" "):"")+" "};return a.prototype={constructor:a,_onTapStart:function(a){var b=this,d=this.el,e=this.options,f=a.type,g=a.touches&&a.touches[0],h=(g||a).target,i=h,k=e.filter;if(!("mousedown"===f&&0!==a.button||e.disabled)&&(h=c(h,e.draggable,d))){if(D=p(h),"function"==typeof k){if(k.call(this,a,h,this))return j(b,i,"filter",h,d,D),void a.preventDefault()}else if(k&&(k=k.split(",").some(function(a){return a=c(i,a.trim(),d),a?(j(b,a,"filter",h,d,D),!0):void 0})))return void a.preventDefault();(!e.handle||c(i,e.handle,d))&&this._prepareDragStart(a,g,h)}},_prepareDragStart:function(a,b,c){var d,f=this,h=f.el,j=f.options,k=h.ownerDocument;c&&!s&&c.parentNode===h&&(G=a,w=h,s=c,t=s.parentNode,x=s.nextSibling,F=j.group,d=function(){f._disableDelayedDrag(),s.draggable=!0,g(s,f.options.chosenClass,!0),f._triggerDragStart(b)},j.ignore.split(",").forEach(function(a){i(s,a.trim(),l)}),e(k,"mouseup",f._onDrop),e(k,"touchend",f._onDrop),e(k,"touchcancel",f._onDrop),j.delay?(e(k,"mouseup",f._disableDelayedDrag),e(k,"touchend",f._disableDelayedDrag),e(k,"touchcancel",f._disableDelayedDrag),e(k,"mousemove",f._disableDelayedDrag),e(k,"touchmove",f._disableDelayedDrag),f._dragStartTimer=setTimeout(d,j.delay)):d())},_disableDelayedDrag:function(){var a=this.el.ownerDocument;clearTimeout(this._dragStartTimer),f(a,"mouseup",this._disableDelayedDrag),f(a,"touchend",this._disableDelayedDrag),f(a,"touchcancel",this._disableDelayedDrag),f(a,"mousemove",this._disableDelayedDrag),f(a,"touchmove",this._disableDelayedDrag)},_triggerDragStart:function(a){a?(G={target:s,clientX:a.clientX,clientY:a.clientY},this._onDragStart(G,"touch")):this.nativeDraggable?(e(s,"dragend",this),e(w,"dragstart",this._onDragStart)):this._onDragStart(G,!0);try{N.selection?N.selection.empty():window.getSelection().removeAllRanges()}catch(b){}},_dragStarted:function(){w&&s&&(g(s,this.options.ghostClass,!0),a.active=this,j(this,w,"start",s,w,D))},_emulateDragOver:function(){if(H){if(this._lastX===H.clientX&&this._lastY===H.clientY)return;this._lastX=H.clientX,this._lastY=H.clientY,Q||h(u,"display","none");var a=N.elementFromPoint(H.clientX,H.clientY),b=a,c=" "+this.options.group.name,d=T.length;if(b)do{if(b[L]&&b[L].options.groups.indexOf(c)>-1){for(;d--;)T[d]({clientX:H.clientX,clientY:H.clientY,target:a,rootEl:b});break}a=b}while(b=b.parentNode);Q||h(u,"display","")}},_onTouchMove:function(b){if(G){a.active||this._dragStarted(),this._appendGhost();var c=b.touches?b.touches[0]:b,d=c.clientX-G.clientX,e=c.clientY-G.clientY,f=b.touches?"translate3d("+d+"px,"+e+"px,0)":"translate("+d+"px,"+e+"px)";I=!0,H=c,h(u,"webkitTransform",f),h(u,"mozTransform",f),h(u,"msTransform",f),h(u,"transform",f),b.preventDefault()}},_appendGhost:function(){if(!u){var a,b=s.getBoundingClientRect(),c=h(s),d=this.options;u=s.cloneNode(!0),g(u,d.ghostClass,!1),g(u,d.fallbackClass,!0),h(u,"top",b.top-O(c.marginTop,10)),h(u,"left",b.left-O(c.marginLeft,10)),h(u,"width",b.width),h(u,"height",b.height),h(u,"opacity","0.8"),h(u,"position","fixed"),h(u,"zIndex","100000"),h(u,"pointerEvents","none"),d.fallbackOnBody&&N.body.appendChild(u)||w.appendChild(u),a=u.getBoundingClientRect(),h(u,"width",2*b.width-a.width),h(u,"height",2*b.height-a.height)}},_onDragStart:function(a,b){var c=a.dataTransfer,d=this.options;this._offUpEvents(),"clone"==F.pull&&(v=s.cloneNode(!0),h(v,"display","none"),w.insertBefore(v,s)),b?("touch"===b?(e(N,"touchmove",this._onTouchMove),e(N,"touchend",this._onDrop),e(N,"touchcancel",this._onDrop)):(e(N,"mousemove",this._onTouchMove),e(N,"mouseup",this._onDrop)),this._loopId=setInterval(this._emulateDragOver,50)):(c&&(c.effectAllowed="move",d.setData&&d.setData.call(this,c,s)),e(N,"drop",this),setTimeout(this._dragStarted,0))},_onDragOver:function(a){var d,e,f,g=this.el,i=this.options,j=i.group,l=j.put,o=F===j,p=i.sort;if(void 0!==a.preventDefault&&(a.preventDefault(),!i.dragoverBubble&&a.stopPropagation()),I=!0,F&&!i.disabled&&(o?p||(f=!w.contains(s)):F.pull&&l&&(F.name===j.name||l.indexOf&&~l.indexOf(F.name)))&&(void 0===a.rootEl||a.rootEl===this.el)){if(U(a,i,this.el),R)return;if(d=c(a.target,i.draggable,g),e=s.getBoundingClientRect(),f)return b(!0),void(v||x?w.insertBefore(s,v||x):p||w.appendChild(s));if(0===g.children.length||g.children[0]===u||g===a.target&&(d=n(g,a))){if(d){if(d.animated)return;r=d.getBoundingClientRect()}b(o),k(w,g,s,e,d,r)!==!1&&(s.contains(g)||(g.appendChild(s),t=g),this._animate(e,s),d&&this._animate(r,d))}else if(d&&!d.animated&&d!==s&&void 0!==d.parentNode[L]){A!==d&&(A=d,B=h(d),C=h(d.parentNode));var q,r=d.getBoundingClientRect(),y=r.right-r.left,z=r.bottom-r.top,D=/left|right|inline/.test(B.cssFloat+B.display)||"flex"==C.display&&0===C["flex-direction"].indexOf("row"),E=d.offsetWidth>s.offsetWidth,G=d.offsetHeight>s.offsetHeight,H=(D?(a.clientX-r.left)/y:(a.clientY-r.top)/z)>.5,J=d.nextElementSibling,K=k(w,g,s,e,d,r);if(K!==!1){if(R=!0,setTimeout(m,30),b(o),1===K||-1===K)q=1===K;else if(D){var M=s.offsetTop,N=d.offsetTop;q=M===N?d.previousElementSibling===s&&!E||H&&E:N>M}else q=J!==s&&!G||H&&G;s.contains(g)||(q&&!J?g.appendChild(s):d.parentNode.insertBefore(s,q?J:d)),t=s.parentNode,this._animate(e,s),this._animate(r,d)}}}},_animate:function(a,b){var c=this.options.animation;if(c){var d=b.getBoundingClientRect();h(b,"transition","none"),h(b,"transform","translate3d("+(a.left-d.left)+"px,"+(a.top-d.top)+"px,0)"),b.offsetWidth,h(b,"transition","all "+c+"ms"),h(b,"transform","translate3d(0,0,0)"),clearTimeout(b.animated),b.animated=setTimeout(function(){h(b,"transition",""),h(b,"transform",""),b.animated=!1},c)}},_offUpEvents:function(){var a=this.el.ownerDocument;f(N,"touchmove",this._onTouchMove),f(a,"mouseup",this._onDrop),f(a,"touchend",this._onDrop),f(a,"touchcancel",this._onDrop)},_onDrop:function(b){var c=this.el,d=this.options;clearInterval(this._loopId),clearInterval(J.pid),clearTimeout(this._dragStartTimer),f(N,"mousemove",this._onTouchMove),this.nativeDraggable&&(f(N,"drop",this),f(c,"dragstart",this._onDragStart)),this._offUpEvents(),b&&(I&&(b.preventDefault(),!d.dropBubble&&b.stopPropagation()),u&&u.parentNode.removeChild(u),s&&(this.nativeDraggable&&f(s,"dragend",this),l(s),g(s,this.options.ghostClass,!1),g(s,this.options.chosenClass,!1),w!==t?(E=p(s),E>=0&&(j(null,t,"sort",s,w,D,E),j(this,w,"sort",s,w,D,E),j(null,t,"add",s,w,D,E),j(this,w,"remove",s,w,D,E))):(v&&v.parentNode.removeChild(v),s.nextSibling!==x&&(E=p(s),E>=0&&(j(this,w,"update",s,w,D,E),j(this,w,"sort",s,w,D,E)))),a.active&&((null===E||-1===E)&&(E=D),j(this,w,"end",s,w,D,E),this.save())),w=s=t=u=x=v=y=z=G=H=I=E=A=B=F=a.active=null)},handleEvent:function(a){var b=a.type;"dragover"===b||"dragenter"===b?s&&(this._onDragOver(a),d(a)):("drop"===b||"dragend"===b)&&this._onDrop(a)},toArray:function(){for(var a,b=[],d=this.el.children,e=0,f=d.length,g=this.options;f>e;e++)a=d[e],c(a,g.draggable,this.el)&&b.push(a.getAttribute(g.dataIdAttr)||o(a));return b},sort:function(a){var b={},d=this.el;this.toArray().forEach(function(a,e){var f=d.children[e];c(f,this.options.draggable,d)&&(b[a]=f)},this),a.forEach(function(a){b[a]&&(d.removeChild(b[a]),d.appendChild(b[a]))})},save:function(){var a=this.options.store;a&&a.set(this)},closest:function(a,b){return c(a,b||this.options.draggable,this.el)},option:function(a,b){var c=this.options;return void 0===b?c[a]:(c[a]=b,void("group"===a&&V(c)))},destroy:function(){var a=this.el;a[L]=null,f(a,"mousedown",this._onTapStart),f(a,"touchstart",this._onTapStart),this.nativeDraggable&&(f(a,"dragover",this),f(a,"dragenter",this)),Array.prototype.forEach.call(a.querySelectorAll("[draggable]"),function(a){a.removeAttribute("draggable")}),T.splice(T.indexOf(this._onDragOver),1),this._onDrop(),this.el=a=null}},a.utils={on:e,off:f,css:h,find:i,is:function(a,b){return!!c(a,b,a)},extend:r,throttle:q,closest:c,toggleClass:g,index:p},a.create=function(b,c){return new a(b,c)},a.version="1.4.2",a}),function(a){"use strict";"function"==typeof define&&define.amd?define(["angular","./Sortable"],a):"function"==typeof require&&"object"==typeof exports&&"object"==typeof module?(require("angular"),a(angular,require("./Sortable")),module.exports="ng-sortable"):window.angular&&window.Sortable&&a(angular,Sortable)}(function(a,b){"use strict";var c="Sortable:ng-sortable";a.module("ng-sortable",[]).constant("ngSortableVersion","0.4.0").constant("ngSortableConfig",{}).directive("ngSortable",["$parse","ngSortableConfig",function(d,e){var f,g,h=function(a,b){var c=[].filter.call(a.childNodes,function(a){return 8===a.nodeType&&-1!==a.nodeValue.indexOf("ngRepeat:")})[0];if(!c)return function(){return null};c=c.nodeValue.match(/ngRepeat:\s*(?:\(.*?,\s*)?([^\s)]+)[\s)]+in\s+([^\s|]+)/);var e=d(c[2]);return function(){return e(b.$parent)||[]}};return{restrict:"AC",scope:{ngSortable:"=?"},link:function(d,i){function j(a,b){var c="on"+a.type.charAt(0).toUpperCase()+a.type.substr(1),d=p();n[c]&&n[c]({model:b||d[a.newIndex],models:d,oldIndex:a.oldIndex,newIndex:a.newIndex})}function k(e){var h=p();if(h){var i=e.oldIndex,j=e.newIndex;if(m!==e.from){var k=e.from[c]();f=k[i],e.clone?(f=a.copy(f),k.splice(b.utils.index(e.clone),0,k.splice(i,1)[0]),e.from.removeChild(e.clone)):k.splice(i,1),h.splice(j,0,f),e.from.insertBefore(e.item,g)}else h.splice(j,0,h.splice(i,1)[0]);d.$apply()}}var l,m=i[0],n=a.extend(d.ngSortable||{},e),o=[],p=h(m,d);m[c]=p,l=b.create(m,Object.keys(n).reduce(function(a,b){return a[b]=a[b]||n[b],a},{onStart:function(a){g=a.item.nextSibling,j(a),d.$apply()},onEnd:function(a){j(a,f),d.$apply()},onAdd:function(a){k(a),j(a,f),d.$apply()},onUpdate:function(a){k(a),j(a)},onRemove:function(a){j(a,f)},onSort:function(a){j(a)}})),i.on("$destroy",function(){a.forEach(o,function(a){a()}),l.destroy(),m[c]=null,m=null,o=null,l=null,g=null}),a.forEach(["sort","disabled","draggable","handle","animation","group","ghostClass","filter","onStart","onEnd","onAdd","onUpdate","onRemove","onSort"],function(a){o.push(d.$watch("ngSortable."+a,function(b){void 0!==b&&(n[a]=b,/^on[A-Z]/.test(a)||l.option(a,b))}))})}}}])}),function(a){"use strict";"undefined"!=typeof module&&"undefined"!=typeof module.exports?module.exports=a(require("./Sortable")):"function"==typeof define&&define.amd?define(["./Sortable"],a):window.SortableMixin=a(Sortable)}(function(a){"use strict";function b(a){return a.sortableOptions&&a.sortableOptions.model||g.model}function c(a){var c=b(a),d=a.state&&a.state[c]||a.props[c];return d.slice()}function d(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}var e,f,g={ref:"list",model:"items",animation:100,onStart:"handleStart",onEnd:"handleEnd",onAdd:"handleAdd",onUpdate:"handleUpdate",onRemove:"handleRemove",onSort:"handleSort",onFilter:"handleFilter",onMove:"handleMove"},h={sortableMixinVersion:"0.1.1",_sortableInstance:null,componentDidMount:function(){var h,i=d(d({},g),this.sortableOptions||{}),j=d({},i),k=function(a,b){var c=this[i[a]];c&&c.call(this,b,this._sortableInstance)}.bind(this);"onStart onEnd onAdd onSort onUpdate onRemove onFilter onMove".split(" ").forEach(function(a){j[a]=function(d){if("onStart"===a)e=d.item.nextElementSibling,f=this;else if("onAdd"===a||"onUpdate"===a){d.from.insertBefore(d.item,e);var g,h,i={},l={},m=d.oldIndex,n=d.newIndex,o=c(this);"onAdd"===a?(g=c(f),h=g.splice(m,1)[0],o.splice(n,0,h),l[b(f)]=g):o.splice(n,0,o.splice(m,1)[0]),i[b(this)]=o,j.stateHandler?this[j.stateHandler](i):this.setState(i),this!==f&&f.setState(l)}setTimeout(function(){k(a,d)},0)}.bind(this)},this),h=this.getDOMNode()?(this.refs[i.ref]||this).getDOMNode():this.refs[i.ref]||this,this._sortableInstance=a.create(h,j)},componentWillReceiveProps:function(a){var c={},d=b(this),e=a[d];e&&(c[d]=e,this.setState(c))},componentWillUnmount:function(){this._sortableInstance.destroy(),this._sortableInstance=null}};return h}),function(a,b){"use strict";angular.module("adf",["adf.provider","ui.bootstrap"]).value("adfTemplatePath","../src/templates/").value("rowTemplate",'<adf-dashboard-row row="row" adf-model="adfModel" options="options" edit-mode="editMode" ng-repeat="row in column.rows" />').value("columnTemplate",'<adf-dashboard-column column="column" adf-model="adfModel" options="options" edit-mode="editMode" ng-repeat="column in row.columns" />').value("adfVersion","0.11.0"),angular.module("adf").directive("adfDashboardColumn",["$log","$compile","$rootScope","adfTemplatePath","rowTemplate","dashboard",function(a,b,c,d,e,f){function g(a,b,d){var e=b.widgets;a.$apply(function(){e.splice(d.newIndex,0,e.splice(d.oldIndex,1)[0]),c.$broadcast("adfWidgetMovedInColumn")})}function h(a,b){for(var c=null,d=0;d<a.widgets.length;d++){var e=a.widgets[d];if(f.idEquals(e.wid,b)){c=e;break}}return c}function i(a,b){for(var c=null,d=0;d<a.rows.length;d++){for(var e=a.rows[d],g=0;g<e.columns.length;g++){var h=e.columns[g];if(f.idEquals(h.cid,b)){c=h;break}h.rows&&(c=i(h,b))}if(c)break}return c}function j(a){var b=a.getAttribute("adf-id");return b?b:"-1"}function k(b,d,e,f){var g=j(f.from),k=i(d,g);if(k){var l=j(f.item),m=h(k,l);m?b.$apply(function(){e.widgets||(e.widgets=[]),e.widgets.splice(f.newIndex,0,m),c.$broadcast("adfWidgetAddedToColumn")}):a.warn("could not find widget with id "+l)}else a.warn("could not find column with id "+g)}function l(a,b,d){a.$apply(function(){b.widgets.splice(d.oldIndex,1),c.$broadcast("adfWidgetRemovedFromColumn")})}function m(a,b,c,d){var e=b[0],f=Sortable.create(e,{group:"widgets",handle:".adf-move",ghostClass:"placeholder",animation:150,onAdd:function(b){k(a,c,d,b)},onRemove:function(b){l(a,d,b)},onUpdate:function(b){g(a,d,b)}});b.on("$destroy",function(){f.el&&f.destroy()})}return{restrict:"E",replace:!0,scope:{column:"=",editMode:"=",continuousEditMode:"=",adfModel:"=",options:"="},templateUrl:d+"dashboard-column.html",link:function(a,c){var d=a.column;d.cid||(d.cid=f.id()),angular.isDefined(d.rows)&&angular.isArray(d.rows)?b(e)(a,function(a){c.append(a)}):m(a,c,a.adfModel,d)}}}]),angular.module("adf").directive("adfDashboard",["$rootScope","$log","$timeout","$uibModal","dashboard","adfTemplatePath",function(a,b,c,d,e,f){function g(a){switch(angular.isDefined(a)?a.toLowerCase():null){case"true":case"yes":case"1":return!0;case"false":case"no":case"0":case null:return!1;default:return Boolean(a)}}function h(a,b){if(a.widgets&&a.widgets.length>0)for(var c=a.widgets.shift();c;)b.widgets.push(c),c=a.widgets.shift()}function i(a,b,c){return c=c||0,angular.isDefined(a.rows)&&angular.forEach(a.rows,function(a){angular.forEach(a.columns,function(a){a.widgets||(a.widgets=[]),angular.isDefined(b[c])&&(angular.isDefined(a.rows)||(h(b[c],a),c++)),c=i(a,b,c)})}),c}function j(a,b){return b=b||[],angular.isDefined(a.rows)&&angular.forEach(a.rows,function(a){angular.forEach(a.columns,function(a){b.push(a),j(a,b)})}),b}function k(a,b){var c=j(a),d=0;for(a.rows=angular.copy(b.rows);d<c.length;)d=i(a,c,d)}function l(a){var b={},c=e.widgets[a].config;return c&&(b=angular.copy(c)),b}function m(a){var c=null;if(!angular.isArray(a.rows))return b.error("model does not have any rows"),null;for(var d=0;d<a.rows.length;d++){var e=a.rows[d];if(angular.isArray(e.columns))for(var f=0;f<e.columns.length;f++){var g=e.columns[f];if(!g.rows){c=g;break}}if(c)break}return c}function n(c,d,e){if(c){var f=m(c);f?(f.widgets||(f.widgets=[]),f.widgets.unshift(d),a.$broadcast("adfWidgetAdded",e,c,d)):b.error("could not find first widget column")}else b.error("model is undefined")}function o(a){var b=e.widgets[a];return b&&b.edit&&b.edit.immediate}function p(a,b){c(function(){a.$broadcast("adfWidgetEnterEditMode",b)},200)}return{replace:!0,restrict:"EA",transclude:!1,
+scope:{structure:"@",name:"@",collapsible:"@",editable:"@",editMode:"@",continuousEditMode:"=",maximizable:"@",adfModel:"=",adfWidgetFilter:"="},controller:["$scope",function(c){var g={},h={},i=null,j={},m=c.name;c.$watch("adfModel",function(a,d){(null!==d||null===a&&null===d)&&(g=c.adfModel,i=c.adfWidgetFilter,g&&g.rows||(j=c.structure,h=e.structures[j],h?(g?g.rows=angular.copy(h).rows:g=angular.copy(h),g.structure=j):b.error("could not find structure "+j)),g?(g.title||(g.title="Dashboard"),g.titleTemplateUrl||(g.titleTemplateUrl=f+"dashboard-title.html"),c.model=g):b.error("could not find or create model"))},!0),c.editMode=!1,c.editClass="",c.toggleEditMode=function(){c.editMode=!c.editMode,c.editMode&&(c.continuousEditMode||(c.modelCopy=angular.copy(c.adfModel,{}),a.$broadcast("adfIsEditMode"))),c.editMode||a.$broadcast("adfDashboardChanged",m,g)},c.$on("adfToggleEditMode",function(){c.toggleEditMode()}),c.collapseAll=function(b){a.$broadcast("adfDashboardCollapseExpand",{collapseExpandStatus:b})},c.cancelEditMode=function(){c.editMode=!1,c.continuousEditMode||(c.modelCopy=angular.copy(c.modelCopy,c.adfModel)),a.$broadcast("adfDashboardEditsCancelled")},c.editDashboardDialog=function(){var a=c.$new();a.copy={title:g.title},a.structures=e.structures;var h=f+"dashboard-edit.html";g.editTemplateUrl&&(h=g.editTemplateUrl);var i=d.open({scope:a,templateUrl:h,backdrop:"static"});a.changeStructure=function(a,c){b.info("change structure to "+a),k(g,c)},a.closeDialog=function(){g.title=a.copy.title,i.close(),a.$destroy()}},c.addWidgetDialog=function(){var a,b=c.$new(),g=c.model;angular.isFunction(i)?(a={},angular.forEach(e.widgets,function(b,c){i(b,c,g)&&(a[c]=b)})):a=e.widgets,b.widgets=a;var h=f+"widget-add.html";g.addTemplateUrl&&(h=g.addTemplateUrl);var j={scope:b,templateUrl:h,backdrop:"static"},k=d.open(j);b.addWidget=function(a){var d={type:a,config:l(a)};n(g,d,m),k.close(),b.$destroy(),o(a)&&p(c,d)},b.closeDialog=function(){k.close(),b.$destroy()}},c.addNewWidgetToModel=n}],link:function(a,b,c){var d={name:c.name,editable:!0,enableConfirmDelete:g(c.enableconfirmdelete),maximizable:g(c.maximizable),collapsible:g(c.collapsible)};angular.isDefined(c.editable)&&(d.editable=g(c.editable)),a.options=d},templateUrl:f+"dashboard.html"}}]),angular.module("adf.provider",[]).provider("dashboard",function(){var a={},b="",c={},d='<div class="alert alert-danger">{}</div>',e='      <div class="progress progress-striped active">\n        <div class="progress-bar" role="progressbar" style="width: 100%">\n          <span class="sr-only">loading ...</span>\n        </div>\n      </div>',f=function(){return!0};this.widget=function(b,c){var d=angular.extend({reload:!1,frameless:!1},c);if(d.edit){var e={reload:!0,immediate:!1,apply:f};angular.extend(e,d.edit),d.edit=e}return a[b]=d,this},this.widgetsPath=function(a){return b=a,this},this.structure=function(a,b){return c[a]=b,this},this.messageTemplate=function(a){return d=a,this},this.loadingTemplate=function(a){return e=a,this},this.$get=function(){var f=0;return{widgets:a,widgetsPath:b,structures:c,messageTemplate:d,loadingTemplate:e,id:function(){return(new Date).getTime()+"-"+ ++f},idEquals:function(a,b){return a&&b&&a.toString()===b.toString()}}}}),angular.module("adf").directive("adfDashboardRow",["$compile","adfTemplatePath","columnTemplate",function(a,b,c){return{restrict:"E",replace:!0,scope:{row:"=",adfModel:"=",editMode:"=",continuousEditMode:"=",options:"="},templateUrl:b+"dashboard-row.html",link:function(b,d){angular.isDefined(b.row.columns)&&angular.isArray(b.row.columns)&&a(c)(b,function(a){d.append(a)})}}}]),angular.module("adf").directive("adfWidgetContent",["$log","$q","$sce","$http","$templateCache","$compile","$controller","$injector","dashboard",function(a,b,c,d,e,f,g,h,i){function j(a){var b=a;return a.indexOf("{widgetsPath}")>=0&&(b=a.replace("{widgetsPath}",i.widgetsPath).replace("//","/"),0===b.indexOf("/")&&(b=b.substring(1))),b}function k(a){var f=b.defer();if(a.template)f.resolve(a.template);else if(a.templateUrl){var g=e.get(a.templateUrl);if(g)f.resolve(g);else{var h=c.getTrustedResourceUrl(j(a.templateUrl));d.get(h).success(function(b){e.put(a.templateUrl,b),f.resolve(b)}).error(function(){f.reject("could not load template")})}}return f.promise}function l(c,d,e){var j=c.model,l=c.content;d.html(i.loadingTemplate);var m=c.$new();j.config||(j.config={}),m.config=j.config;var n={$scope:m,widget:j,config:j.config},o={};return o.$tpl=k(l),l.resolve&&angular.forEach(l.resolve,function(a,b){angular.isString(a)?o[b]=h.get(a):o[b]=h.invoke(a,a,n)}),b.all(o).then(function(a){angular.extend(a,n);var b=a.$tpl;if(d.html(b),l.controller){var c=g(l.controller,a);l.controllerAs&&(m[l.controllerAs]=c),d.children().data("$ngControllerController",c)}f(d.contents())(m)},function(b){var c="Could not resolve all promises";b&&(c+=": "+b),a.warn(c),d.html(i.messageTemplate.replace(/{}/g,c))}),e&&e.$destroy(),m}return{replace:!0,restrict:"EA",transclude:!1,scope:{model:"=",content:"="},link:function(a,b){var c=l(a,b,null);a.$on("widgetConfigChanged",function(){c=l(a,b,c)}),a.$on("widgetReload",function(){c=l(a,b,c)})}}}]),angular.module("adf").directive("adfWidget",["$injector","$q","$log","$uibModal","$rootScope","dashboard","adfTemplatePath",function(a,b,c,d,e,f,g){function h(a){var b=a.definition;if(b){var d=f.widgets[b.type];if(d){b.title||(b.title=d.title),b.titleTemplateUrl||(b.titleTemplateUrl=g+"widget-title.html",d.titleTemplateUrl&&(b.titleTemplateUrl=d.titleTemplateUrl)),b.titleTemplateUrl||(b.frameless=d.frameless),b.styleClass||(b.styleClass=d.styleClass),b.wid||(b.wid=f.id()),a.widget=angular.copy(d);var e=b.config;e?angular.isString(e)&&(e=angular.fromJson(e)):e={},a.config=e,a.widgetState||(a.widgetState={},a.widgetState.isCollapsed=d.collapsed===!0?d.collapsed:!1)}else c.warn("could not find widget "+b.type)}else c.debug("definition not specified, widget was probably removed")}function i(f,h){var i=f.definition;if(i){var j=function(){var a=f.col;if(a){var b=a.widgets.indexOf(i);b>=0&&a.widgets.splice(b,1)}h.remove(),e.$broadcast("adfWidgetRemovedFromColumn")};f.remove=function(){if(f.options.enableConfirmDelete){var a=f.$new(),b=g+"widget-delete.html";i.deleteTemplateUrl&&(b=i.deleteTemplateUrl);var c={scope:a,templateUrl:b,backdrop:"static"},e=d.open(c);a.closeDialog=function(){e.close(),a.$destroy()},a.deleteDialog=function(){j(),a.closeDialog()}}else j()},f.reload=function(){f.$broadcast("widgetReload")},f.edit=function(){function c(a){var c;if("boolean"==typeof a){var d=b.defer();a?d.resolve():d.reject(),c=d.promise}else c=b.when(a);return c}var e=f.$new();e.definition=angular.copy(i);var h=g+"widget-edit.html";i.editTemplateUrl&&(h=i.editTemplateUrl);var j={scope:e,templateUrl:h,backdrop:"static"},k=d.open(j);e.closeDialog=function(){k.close(),e.$destroy()},e.saveDialog=function(){e.validationError=null;var b=f.widget,d=b.edit.apply,g={widget:b,definition:e.definition,config:e.definition.config},h=a.invoke(d,d,g);c(h).then(function(){i.title=e.definition.title,angular.extend(i.config,e.definition.config),b.edit&&b.edit.reload&&f.$broadcast("widgetConfigChanged"),e.closeDialog()},function(a){a?e.validationError=a:e.validationError="Validation durring apply failed"})}}}else c.debug("widget not found")}return{replace:!0,restrict:"EA",transclude:!1,templateUrl:g+"widget.html",scope:{definition:"=",col:"=column",editMode:"=",options:"=",widgetState:"="},controller:["$scope",function(a){a.$on("adfDashboardCollapseExpand",function(b,c){a.widgetState.isCollapsed=c.collapseExpandStatus}),a.$on("adfWidgetEnterEditMode",function(b,c){f.idEquals(a.definition.wid,c.wid)&&a.edit()}),a.widgetClasses=function(b,c){var d=c.styleClass||"";return(!b.frameless||a.editMode)&&(d+=" panel panel-default"),d},a.openFullScreen=function(){var b=a.definition,c=a.$new(),e={scope:c,templateUrl:g+"widget-fullscreen.html",size:b.modalSize||"lg",backdrop:"static",windowClass:b.fullScreen?"dashboard-modal widget-fullscreen":"dashboard-modal"},f=d.open(e);c.closeDialog=function(){f.close(),c.$destroy()}}}],compile:function(){return{pre:h,post:i}}}}]),angular.module("adf").run(["$templateCache",function(a){a.put("../src/templates/dashboard-column.html",'<div adf-id={{column.cid}} class=column ng-class=column.styleClass ng-model=column.widgets> <adf-widget ng-repeat="definition in column.widgets" definition=definition column=column edit-mode=editMode options=options widget-state=widgetState>  </adf-widget></div> '),a.put("../src/templates/dashboard-edit.html",'<div class=modal-header> <button type=button class=close ng-click=closeDialog() aria-hidden=true>&times;</button> <h4 class=modal-title>Edit Dashboard</h4> </div> <div class=modal-body> <form role=form> <div class=form-group> <label for=dashboardTitle>Title</label> <input type=text class=form-control id=dashboardTitle ng-model=copy.title required> </div> <div class=form-group> <label>Structure</label> <div class=radio ng-repeat="(key, structure) in structures"> <label> <input type=radio value={{key}} ng-model=model.structure ng-change="changeStructure(key, structure)"> {{key}} </label> </div> </div> </form> </div> <div class=modal-footer> <button type=button class="btn btn-primary" ng-click=closeDialog()>Close</button> </div> '),a.put("../src/templates/dashboard-row.html","<div class=row ng-class=row.styleClass>  </div> "),a.put("../src/templates/dashboard-title.html",'<h1> {{model.title}} <span style="font-size: 16px" class=pull-right> <a href ng-if=editMode title="add new widget" ng-click=addWidgetDialog()> <i class="glyphicon glyphicon-plus-sign"></i> </a> <a href ng-if=editMode title="edit dashboard" ng-click=editDashboardDialog()> <i class="glyphicon glyphicon-cog"></i> </a> <a href ng-if=options.editable title="{{editMode ? \'save changes\' : \'enable edit mode\'}}" ng-click=toggleEditMode()> <i class=glyphicon x-ng-class="{\'glyphicon-edit\' : !editMode, \'glyphicon-save\' : editMode}"></i> </a> <a href ng-if=editMode title="undo changes" ng-click=cancelEditMode()> <i class="glyphicon glyphicon-repeat adf-flip"></i> </a> </span> </h1> '),a.put("../src/templates/dashboard.html",'<div class=dashboard-container> <div ng-include src=model.titleTemplateUrl></div> <div class=dashboard x-ng-class="{\'edit\' : editMode}"> <adf-dashboard-row row=row adf-model=model options=options ng-repeat="row in model.rows" edit-mode=editMode continuous-edit-mode=continuousEditMode> </adf-dashboard-row></div> </div> '),a.put("../src/templates/widget-add.html",'<div class=modal-header> <button type=button class=close ng-click=closeDialog() aria-hidden=true>&times;</button> <h4 class=modal-title>Add new widget</h4> </div> <div class=modal-body> <div style="display: inline-block;"> <dl class=dl-horizontal> <dt ng-repeat-start="(key, widget) in widgets"> <a href ng-click=addWidget(key)> {{widget.title}} </a> </dt> <dd ng-repeat-end ng-if=widget.description> {{widget.description}} </dd> </dl> </div> </div> <div class=modal-footer> <button type=button class="btn btn-primary" ng-click=closeDialog()>Close</button> </div>'),a.put("../src/templates/widget-delete.html",'<div class=modal-header> <h4 class=modal-title>Delete {{widget.title}}</h4> </div> <div class=modal-body> <form role=form> <div class=form-group> <label for=widgetTitle>Are you sure you want to delete this widget ?</label> </div> </form> </div> <div class=modal-footer> <button type=button class="btn btn-default" ng-click=closeDialog()>Close</button> <button type=button class="btn btn-primary" ng-click=deleteDialog()>Delete</button> </div> '),a.put("../src/templates/widget-edit.html",'<form name=widgetEditForm novalidate role=form ng-submit=saveDialog()> <div class=modal-header> <button type=button class=close ng-click=closeDialog() aria-hidden=true>&times;</button> <h4 class=modal-title>{{widget.title}}</h4> </div> <div class=modal-body> <div class="alert alert-danger" role=alert ng-show=validationError> <strong>Apply error:</strong> {{validationError}} </div> <div class=form-group> <label for=widgetTitle>Title</label> <input type=text class=form-control id=widgetTitle ng-model=definition.title placeholder="Enter title" required> </div> <div ng-if=widget.edit> <adf-widget-content model=definition content=widget.edit> </adf-widget-content></div> </div> <div class=modal-footer> <button type=button class="btn btn-default" ng-click=closeDialog()>Cancel</button> <input type=submit class="btn btn-primary" ng-disabled=widgetEditForm.$invalid value=Apply> </div> </form> '),a.put("../src/templates/widget-fullscreen.html",'<div class=modal-header> <div class="pull-right widget-icons"> <a href title="Reload Widget Content" ng-if=widget.reload ng-click=reload()> <i class="glyphicon glyphicon-refresh"></i> </a> <a href title=close ng-click=closeDialog()> <i class="glyphicon glyphicon-remove"></i> </a> </div> <h4 class=modal-title>{{definition.title}}</h4> </div> <div class=modal-body> <adf-widget-content model=definition content=widget> </adf-widget-content></div> <div class=modal-footer> <button type=button class="btn btn-primary" ng-click=closeDialog()>Close</button> </div> '),a.put("../src/templates/widget-title.html",'<h3 class=panel-title> {{definition.title}} <span class=pull-right> <a href title="reload widget content" ng-if=widget.reload ng-click=reload()> <i class="glyphicon glyphicon-refresh"></i> </a>  <a href title="change widget location" class=adf-move ng-if=editMode> <i class="glyphicon glyphicon-move"></i> </a>  <a href title="collapse widget" ng-show="options.collapsible && !widgetState.isCollapsed" ng-click="widgetState.isCollapsed = !widgetState.isCollapsed"> <i class="glyphicon glyphicon-minus"></i> </a>  <a href title="expand widget" ng-show="options.collapsible && widgetState.isCollapsed" ng-click="widgetState.isCollapsed = !widgetState.isCollapsed"> <i class="glyphicon glyphicon-plus"></i> </a>  <a href title="edit widget configuration" ng-click=edit() ng-if=editMode> <i class="glyphicon glyphicon-cog"></i> </a> <a href title="fullscreen widget" ng-click=openFullScreen() ng-show=options.maximizable> <i class="glyphicon glyphicon-fullscreen"></i> </a>  <a href title="remove widget" ng-click=remove() ng-if=editMode> <i class="glyphicon glyphicon-remove"></i> </a> </span> </h3> '),a.put("../src/templates/widget.html",'<div adf-id={{definition.wid}} adf-widget-type={{definition.type}} ng-class="widgetClasses(widget, definition)" class=widget> <div class="panel-heading clearfix" ng-if="!widget.frameless || editMode"> <div ng-include src=definition.titleTemplateUrl></div> </div> <div ng-class="{\'panel-body\':!widget.frameless || editMode}" uib-collapse=widgetState.isCollapsed> <adf-widget-content model=definition content=widget> </adf-widget-content></div> </div> ')}])}(window),angular.module("adf.structures.base",["adf"]).config(["dashboardProvider",function(a){a.structure("6-6",{rows:[{columns:[{styleClass:"col-md-6"},{styleClass:"col-md-6"}]}]}).structure("4-8",{rows:[{columns:[{styleClass:"col-md-4",widgets:[]},{styleClass:"col-md-8",widgets:[]}]}]}).structure("12/4-4-4",{rows:[{columns:[{styleClass:"col-md-12"}]},{columns:[{styleClass:"col-md-4"},{styleClass:"col-md-4"},{styleClass:"col-md-4"}]}]}).structure("12/6-6",{rows:[{columns:[{styleClass:"col-md-12"}]},{columns:[{styleClass:"col-md-6"},{styleClass:"col-md-6"}]}]}).structure("12/6-6/12",{rows:[{columns:[{styleClass:"col-md-12"}]},{columns:[{styleClass:"col-md-6"},{styleClass:"col-md-6"}]},{columns:[{styleClass:"col-md-12"}]}]}).structure("3-9 (12/6-6)",{rows:[{columns:[{styleClass:"col-md-3"},{styleClass:"col-md-9",rows:[{columns:[{styleClass:"col-md-12"}]},{columns:[{styleClass:"col-md-6"},{styleClass:"col-md-6"}]}]}]}]})}]),function(a,b){"use strict";angular.module("adf.widget.clock",["adf.provider"]).config(["dashboardProvider",function(a){a.widget("clock",{title:"Clock",description:"Displays date and time",templateUrl:"{widgetsPath}/clock/src/view.html",controller:"clockController",controllerAs:"clock",config:{timePattern:"HH:mm:ss",datePattern:"YYYY-MM-DD"},edit:{templateUrl:"{widgetsPath}/clock/src/edit.html"}})}]).controller("clockController",["$scope","$interval","config",function(a,b,c){function d(){var a=new moment;e.time=a.format(c.timePattern),e.date=a.format(c.datePattern)}var e=this;d();var f=b(d,1e3);a.$on("$destroy",function(){b.cancel(f)})}]),angular.module("adf.widget.clock").run(["$templateCache",function(a){a.put("{widgetsPath}/clock/src/edit.html",'<form role=form><div class=form-group><label for=time>Time pattern</label> <input type=text class=form-control id=time ng-model=config.timePattern></div><div class=form-group><label for=date>Date pattern</label> <input type=text class=form-control id=date ng-model=config.datePattern></div><p class=text-info>For the list of possible patterns, please have a look at <a target=_blank href="http://momentjs.com/docs/#/displaying/">moment.js documentation</a></p></form>'),a.put("{widgetsPath}/clock/src/view.html","<div class=clock><div class=clock-time>{{clock.time}}</div><div class=clock-date>{{clock.date}}</div></div>")}])}(window),function(a,b){"use strict";angular.module("adf.widget.iframe",["adf.provider"]).config(["dashboardProvider",function(a){a.widget("iframe",{title:"iframe",description:"Embed an external page into the dashboard",templateUrl:"{widgetsPath}/iframe/src/view.html",controller:"iframeController",controllerAs:"iframe",edit:{templateUrl:"{widgetsPath}/iframe/src/edit.html"},config:{height:"420px"}})}]).controller("iframeController",["$sce","config",function(a,b){b.url&&(this.url=a.trustAsResourceUrl(b.url))}]),angular.module("adf.widget.iframe").run(["$templateCache",function(a){a.put("{widgetsPath}/iframe/src/edit.html","<form role=form><div class=form-group><label for=url>URL</label> <input type=url class=form-control id=url ng-model=config.url placeholder=http://www.example.com></div><div class=form-group><label for=url>Height</label> <input type=text class=form-control id=url ng-model=config.height></div></form>"),a.put("{widgetsPath}/iframe/src/view.html",'<div><div class="alert alert-info" ng-if=!config.url>Please insert a url in the widget configuration</div><iframe ng-if=iframe.url class=adf-iframe style="height: {{config.height}}" src={{iframe.url}}></iframe></div>')}])}(window),!function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;"undefined"!=typeof window?b=window:"undefined"!=typeof global?b=global:"undefined"!=typeof self&&(b=self),b.io=a()}}(function(){var a;return function b(a,c,d){function e(g,h){if(!c[g]){if(!a[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};a[g][0].call(j.exports,function(b){var c=a[g][1][b];return e(c?c:b)},j,j.exports,b,a,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){b.exports=a("./lib/")},{"./lib/":2}],2:[function(a,b,c){function d(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d=e(a),f=d.source,j=d.id;return b.forceNew||b["force new connection"]||!1===b.multiplex?(h("ignoring socket cache for %s",f),c=g(f,b)):(i[j]||(h("new io instance for %s",f),i[j]=g(f,b)),c=i[j]),c.socket(d.path)}var e=a("./url"),f=a("socket.io-parser"),g=a("./manager"),h=a("debug")("socket.io-client");b.exports=c=d;var i=c.managers={};c.protocol=f.protocol,c.connect=d,c.Manager=a("./manager"),c.Socket=a("./socket")},{"./manager":3,"./socket":5,"./url":6,debug:10,"socket.io-parser":44}],3:[function(a,b,c){function d(a,b){return this instanceof d?(a&&"object"==typeof a&&(b=a,a=void 0),b=b||{},b.path=b.path||"/socket.io",this.nsps={},this.subs=[],this.opts=b,this.reconnection(b.reconnection!==!1),this.reconnectionAttempts(b.reconnectionAttempts||1/0),this.reconnectionDelay(b.reconnectionDelay||1e3),this.reconnectionDelayMax(b.reconnectionDelayMax||5e3),this.randomizationFactor(b.randomizationFactor||.5),this.backoff=new m({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==b.timeout?2e4:b.timeout),this.readyState="closed",this.uri=a,this.connected=[],this.encoding=!1,this.packetBuffer=[],this.encoder=new h.Encoder,this.decoder=new h.Decoder,this.autoConnect=b.autoConnect!==!1,void(this.autoConnect&&this.open())):new d(a,b)}var e=(a("./url"),a("engine.io-client")),f=a("./socket"),g=a("component-emitter"),h=a("socket.io-parser"),i=a("./on"),j=a("component-bind"),k=(a("object-component"),a("debug")("socket.io-client:manager")),l=a("indexof"),m=a("backo2");b.exports=d,d.prototype.emitAll=function(){this.emit.apply(this,arguments);for(var a in this.nsps)this.nsps[a].emit.apply(this.nsps[a],arguments)},d.prototype.updateSocketIds=function(){for(var a in this.nsps)this.nsps[a].id=this.engine.id},g(d.prototype),d.prototype.reconnection=function(a){return arguments.length?(this._reconnection=!!a,this):this._reconnection},d.prototype.reconnectionAttempts=function(a){return arguments.length?(this._reconnectionAttempts=a,this):this._reconnectionAttempts},d.prototype.reconnectionDelay=function(a){return arguments.length?(this._reconnectionDelay=a,this.backoff&&this.backoff.setMin(a),this):this._reconnectionDelay},d.prototype.randomizationFactor=function(a){return arguments.length?(this._randomizationFactor=a,this.backoff&&this.backoff.setJitter(a),this):this._randomizationFactor},d.prototype.reconnectionDelayMax=function(a){return arguments.length?(this._reconnectionDelayMax=a,this.backoff&&this.backoff.setMax(a),this):this._reconnectionDelayMax},d.prototype.timeout=function(a){return arguments.length?(this._timeout=a,this):this._timeout},d.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},d.prototype.open=d.prototype.connect=function(a){if(k("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;k("opening %s",this.uri),this.engine=e(this.uri,this.opts);var b=this.engine,c=this;this.readyState="opening",this.skipReconnect=!1;var d=i(b,"open",function(){c.onopen(),a&&a()}),f=i(b,"error",function(b){if(k("connect_error"),c.cleanup(),c.readyState="closed",c.emitAll("connect_error",b),a){var d=new Error("Connection error");d.data=b,a(d)}else c.maybeReconnectOnOpen()});if(!1!==this._timeout){var g=this._timeout;k("connect attempt will timeout after %d",g);var h=setTimeout(function(){k("connect attempt timed out after %d",g),d.destroy(),b.close(),b.emit("error","timeout"),c.emitAll("connect_timeout",g)},g);this.subs.push({destroy:function(){clearTimeout(h)}})}return this.subs.push(d),this.subs.push(f),this},d.prototype.onopen=function(){k("open"),this.cleanup(),this.readyState="open",this.emit("open");var a=this.engine;this.subs.push(i(a,"data",j(this,"ondata"))),this.subs.push(i(this.decoder,"decoded",j(this,"ondecoded"))),this.subs.push(i(a,"error",j(this,"onerror"))),this.subs.push(i(a,"close",j(this,"onclose")))},d.prototype.ondata=function(a){this.decoder.add(a)},d.prototype.ondecoded=function(a){this.emit("packet",a)},d.prototype.onerror=function(a){k("error",a),this.emitAll("error",a)},d.prototype.socket=function(a){var b=this.nsps[a];if(!b){b=new f(this,a),this.nsps[a]=b;var c=this;b.on("connect",function(){b.id=c.engine.id,~l(c.connected,b)||c.connected.push(b)})}return b},d.prototype.destroy=function(a){var b=l(this.connected,a);~b&&this.connected.splice(b,1),this.connected.length||this.close()},d.prototype.packet=function(a){k("writing packet %j",a);var b=this;b.encoding?b.packetBuffer.push(a):(b.encoding=!0,this.encoder.encode(a,function(a){for(var c=0;c<a.length;c++)b.engine.write(a[c]);b.encoding=!1,b.processPacketQueue()}))},d.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var a=this.packetBuffer.shift();this.packet(a)}},d.prototype.cleanup=function(){for(var a;a=this.subs.shift();)a.destroy();this.packetBuffer=[],this.encoding=!1,this.decoder.destroy()},d.prototype.close=d.prototype.disconnect=function(){this.skipReconnect=!0,this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},d.prototype.onclose=function(a){k("close"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",a),this._reconnection&&!this.skipReconnect&&this.reconnect()},d.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var a=this;if(this.backoff.attempts>=this._reconnectionAttempts)k("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var b=this.backoff.duration();k("will wait %dms before reconnect attempt",b),this.reconnecting=!0;var c=setTimeout(function(){a.skipReconnect||(k("attempting reconnect"),a.emitAll("reconnect_attempt",a.backoff.attempts),a.emitAll("reconnecting",a.backoff.attempts),a.skipReconnect||a.open(function(b){b?(k("reconnect attempt error"),a.reconnecting=!1,a.reconnect(),a.emitAll("reconnect_error",b.data)):(k("reconnect success"),a.onreconnect())}))},b);this.subs.push({destroy:function(){clearTimeout(c)}})}},d.prototype.onreconnect=function(){var a=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",a)}},{"./on":4,"./socket":5,"./url":6,backo2:7,"component-bind":8,"component-emitter":9,debug:10,"engine.io-client":11,indexof:40,"object-component":41,"socket.io-parser":44}],4:[function(a,b,c){function d(a,b,c){return a.on(b,c),{destroy:function(){a.removeListener(b,c)}}}b.exports=d},{}],5:[function(a,b,c){function d(a,b){this.io=a,this.nsp=b,this.json=this,this.ids=0,this.acks={},this.io.autoConnect&&this.open(),this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0}var e=a("socket.io-parser"),f=a("component-emitter"),g=a("to-array"),h=a("./on"),i=a("component-bind"),j=a("debug")("socket.io-client:socket"),k=a("has-binary");b.exports=c=d;var l={connect:1,connect_error:1,connect_timeout:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1},m=f.prototype.emit;f(d.prototype),d.prototype.subEvents=function(){if(!this.subs){var a=this.io;this.subs=[h(a,"open",i(this,"onopen")),h(a,"packet",i(this,"onpacket")),h(a,"close",i(this,"onclose"))]}},d.prototype.open=d.prototype.connect=function(){return this.connected?this:(this.subEvents(),this.io.open(),"open"==this.io.readyState&&this.onopen(),this)},d.prototype.send=function(){var a=g(arguments);return a.unshift("message"),this.emit.apply(this,a),this},d.prototype.emit=function(a){if(l.hasOwnProperty(a))return m.apply(this,arguments),this;var b=g(arguments),c=e.EVENT;k(b)&&(c=e.BINARY_EVENT);var d={type:c,data:b};return"function"==typeof b[b.length-1]&&(j("emitting packet with ack id %d",this.ids),this.acks[this.ids]=b.pop(),d.id=this.ids++),this.connected?this.packet(d):this.sendBuffer.push(d),this},d.prototype.packet=function(a){a.nsp=this.nsp,this.io.packet(a)},d.prototype.onopen=function(){j("transport is open - connecting"),"/"!=this.nsp&&this.packet({type:e.CONNECT})},d.prototype.onclose=function(a){j("close (%s)",a),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",a)},d.prototype.onpacket=function(a){if(a.nsp==this.nsp)switch(a.type){case e.CONNECT:this.onconnect();break;case e.EVENT:this.onevent(a);break;case e.BINARY_EVENT:this.onevent(a);break;case e.ACK:this.onack(a);break;case e.BINARY_ACK:this.onack(a);break;case e.DISCONNECT:this.ondisconnect();break;case e.ERROR:this.emit("error",a.data)}},d.prototype.onevent=function(a){var b=a.data||[];j("emitting event %j",b),null!=a.id&&(j("attaching ack callback to event"),b.push(this.ack(a.id))),this.connected?m.apply(this,b):this.receiveBuffer.push(b)},d.prototype.ack=function(a){var b=this,c=!1;return function(){if(!c){c=!0;var d=g(arguments);j("sending ack %j",d);var f=k(d)?e.BINARY_ACK:e.ACK;b.packet({type:f,id:a,data:d})}}},d.prototype.onack=function(a){j("calling ack %s with %j",a.id,a.data);var b=this.acks[a.id];b.apply(this,a.data),delete this.acks[a.id]},d.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},d.prototype.emitBuffered=function(){var a;for(a=0;a<this.receiveBuffer.length;a++)m.apply(this,this.receiveBuffer[a]);for(this.receiveBuffer=[],a=0;a<this.sendBuffer.length;a++)this.packet(this.sendBuffer[a]);this.sendBuffer=[]},d.prototype.ondisconnect=function(){j("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},d.prototype.destroy=function(){if(this.subs){for(var a=0;a<this.subs.length;a++)this.subs[a].destroy();this.subs=null}this.io.destroy(this)},d.prototype.close=d.prototype.disconnect=function(){return this.connected&&(j("performing disconnect (%s)",this.nsp),this.packet({type:e.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}},{"./on":4,"component-bind":8,"component-emitter":9,debug:10,"has-binary":36,"socket.io-parser":44,"to-array":48}],6:[function(a,b,c){(function(c){function d(a,b){var d=a,b=b||c.location;return null==a&&(a=b.protocol+"//"+b.host),"string"==typeof a&&("/"==a.charAt(0)&&(a="/"==a.charAt(1)?b.protocol+a:b.hostname+a),/^(https?|wss?):\/\//.test(a)||(f("protocol-less url %s",a),a="undefined"!=typeof b?b.protocol+"//"+a:"https://"+a),f("parse %s",a),d=e(a)),d.port||(/^(http|ws)$/.test(d.protocol)?d.port="80":/^(http|ws)s$/.test(d.protocol)&&(d.port="443")),d.path=d.path||"/",d.id=d.protocol+"://"+d.host+":"+d.port,d.href=d.protocol+"://"+d.host+(b&&b.port==d.port?"":":"+d.port),d}var e=a("parseuri"),f=a("debug")("socket.io-client:url");b.exports=d}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{debug:10,parseuri:42}],7:[function(a,b,c){function d(a){a=a||{},this.ms=a.min||100,this.max=a.max||1e4,this.factor=a.factor||2,this.jitter=a.jitter>0&&a.jitter<=1?a.jitter:0,this.attempts=0}b.exports=d,d.prototype.duration=function(){var a=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var b=Math.random(),c=Math.floor(b*this.jitter*a);a=0==(1&Math.floor(10*b))?a-c:a+c}return 0|Math.min(a,this.max)},d.prototype.reset=function(){this.attempts=0},d.prototype.setMin=function(a){this.ms=a},d.prototype.setMax=function(a){this.max=a},d.prototype.setJitter=function(a){this.jitter=a}},{}],8:[function(a,b,c){var d=[].slice;b.exports=function(a,b){if("string"==typeof b&&(b=a[b]),"function"!=typeof b)throw new Error("bind() requires a function");var c=d.call(arguments,2);return function(){return b.apply(a,c.concat(d.call(arguments)))}}},{}],9:[function(a,b,c){function d(a){return a?e(a):void 0}function e(a){for(var b in d.prototype)a[b]=d.prototype[b];return a}b.exports=d,d.prototype.on=d.prototype.addEventListener=function(a,b){return this._callbacks=this._callbacks||{},(this._callbacks[a]=this._callbacks[a]||[]).push(b),this},d.prototype.once=function(a,b){function c(){d.off(a,c),b.apply(this,arguments)}var d=this;return this._callbacks=this._callbacks||{},c.fn=b,this.on(a,c),this},d.prototype.off=d.prototype.removeListener=d.prototype.removeAllListeners=d.prototype.removeEventListener=function(a,b){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var c=this._callbacks[a];if(!c)return this;if(1==arguments.length)return delete this._callbacks[a],this;for(var d,e=0;e<c.length;e++)if(d=c[e],d===b||d.fn===b){c.splice(e,1);break}return this},d.prototype.emit=function(a){this._callbacks=this._callbacks||{};var b=[].slice.call(arguments,1),c=this._callbacks[a];if(c){c=c.slice(0);for(var d=0,e=c.length;e>d;++d)c[d].apply(this,b)}return this},d.prototype.listeners=function(a){return this._callbacks=this._callbacks||{},this._callbacks[a]||[]},d.prototype.hasListeners=function(a){return!!this.listeners(a).length}},{}],10:[function(a,b,c){function d(a){return d.enabled(a)?function(b){b=e(b);var c=new Date,f=c-(d[a]||c);
+d[a]=c,b=a+" "+b+" +"+d.humanize(f),window.console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}:function(){}}function e(a){return a instanceof Error?a.stack||a.message:a}b.exports=d,d.names=[],d.skips=[],d.enable=function(a){try{localStorage.debug=a}catch(b){}for(var c=(a||"").split(/[\s,]+/),e=c.length,f=0;e>f;f++)a=c[f].replace("*",".*?"),"-"===a[0]?d.skips.push(new RegExp("^"+a.substr(1)+"$")):d.names.push(new RegExp("^"+a+"$"))},d.disable=function(){d.enable("")},d.humanize=function(a){var b=1e3,c=6e4,d=60*c;return a>=d?(a/d).toFixed(1)+"h":a>=c?(a/c).toFixed(1)+"m":a>=b?(a/b|0)+"s":a+"ms"},d.enabled=function(a){for(var b=0,c=d.skips.length;c>b;b++)if(d.skips[b].test(a))return!1;for(var b=0,c=d.names.length;c>b;b++)if(d.names[b].test(a))return!0;return!1};try{window.localStorage&&d.enable(localStorage.debug)}catch(f){}},{}],11:[function(a,b,c){b.exports=a("./lib/")},{"./lib/":12}],12:[function(a,b,c){b.exports=a("./socket"),b.exports.parser=a("engine.io-parser")},{"./socket":13,"engine.io-parser":25}],13:[function(a,b,c){(function(c){function d(a,b){if(!(this instanceof d))return new d(a,b);if(b=b||{},a&&"object"==typeof a&&(b=a,a=null),a&&(a=k(a),b.host=a.host,b.secure="https"==a.protocol||"wss"==a.protocol,b.port=a.port,a.query&&(b.query=a.query)),this.secure=null!=b.secure?b.secure:c.location&&"https:"==location.protocol,b.host){var e=b.host.split(":");b.hostname=e.shift(),e.length?b.port=e.pop():b.port||(b.port=this.secure?"443":"80")}this.agent=b.agent||!1,this.hostname=b.hostname||(c.location?location.hostname:"localhost"),this.port=b.port||(c.location&&location.port?location.port:this.secure?443:80),this.query=b.query||{},"string"==typeof this.query&&(this.query=m.decode(this.query)),this.upgrade=!1!==b.upgrade,this.path=(b.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!b.forceJSONP,this.jsonp=!1!==b.jsonp,this.forceBase64=!!b.forceBase64,this.enablesXDR=!!b.enablesXDR,this.timestampParam=b.timestampParam||"t",this.timestampRequests=b.timestampRequests,this.transports=b.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.callbackBuffer=[],this.policyPort=b.policyPort||843,this.rememberUpgrade=b.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=b.onlyBinaryUpgrades,this.pfx=b.pfx||null,this.key=b.key||null,this.passphrase=b.passphrase||null,this.cert=b.cert||null,this.ca=b.ca||null,this.ciphers=b.ciphers||null,this.rejectUnauthorized=b.rejectUnauthorized||null,this.open()}function e(a){var b={};for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b}var f=a("./transports"),g=a("component-emitter"),h=a("debug")("engine.io-client:socket"),i=a("indexof"),j=a("engine.io-parser"),k=a("parseuri"),l=a("parsejson"),m=a("parseqs");b.exports=d,d.priorWebsocketSuccess=!1,g(d.prototype),d.protocol=j.protocol,d.Socket=d,d.Transport=a("./transport"),d.transports=a("./transports"),d.parser=a("engine.io-parser"),d.prototype.createTransport=function(a){h('creating transport "%s"',a);var b=e(this.query);b.EIO=j.protocol,b.transport=a,this.id&&(b.sid=this.id);var c=new f[a]({agent:this.agent,hostname:this.hostname,port:this.port,secure:this.secure,path:this.path,query:b,forceJSONP:this.forceJSONP,jsonp:this.jsonp,forceBase64:this.forceBase64,enablesXDR:this.enablesXDR,timestampRequests:this.timestampRequests,timestampParam:this.timestampParam,policyPort:this.policyPort,socket:this,pfx:this.pfx,key:this.key,passphrase:this.passphrase,cert:this.cert,ca:this.ca,ciphers:this.ciphers,rejectUnauthorized:this.rejectUnauthorized});return c},d.prototype.open=function(){var a;if(this.rememberUpgrade&&d.priorWebsocketSuccess&&-1!=this.transports.indexOf("websocket"))a="websocket";else{if(0==this.transports.length){var b=this;return void setTimeout(function(){b.emit("error","No transports available")},0)}a=this.transports[0]}this.readyState="opening";var a;try{a=this.createTransport(a)}catch(c){return this.transports.shift(),void this.open()}a.open(),this.setTransport(a)},d.prototype.setTransport=function(a){h("setting transport %s",a.name);var b=this;this.transport&&(h("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=a,a.on("drain",function(){b.onDrain()}).on("packet",function(a){b.onPacket(a)}).on("error",function(a){b.onError(a)}).on("close",function(){b.onClose("transport close")})},d.prototype.probe=function(a){function b(){if(m.onlyBinaryUpgrades){var b=!this.supportsBinary&&m.transport.supportsBinary;l=l||b}l||(h('probe transport "%s" opened',a),k.send([{type:"ping",data:"probe"}]),k.once("packet",function(b){if(!l)if("pong"==b.type&&"probe"==b.data){if(h('probe transport "%s" pong',a),m.upgrading=!0,m.emit("upgrading",k),!k)return;d.priorWebsocketSuccess="websocket"==k.name,h('pausing current transport "%s"',m.transport.name),m.transport.pause(function(){l||"closed"!=m.readyState&&(h("changing transport and sending upgrade packet"),j(),m.setTransport(k),k.send([{type:"upgrade"}]),m.emit("upgrade",k),k=null,m.upgrading=!1,m.flush())})}else{h('probe transport "%s" failed',a);var c=new Error("probe error");c.transport=k.name,m.emit("upgradeError",c)}}))}function c(){l||(l=!0,j(),k.close(),k=null)}function e(b){var d=new Error("probe error: "+b);d.transport=k.name,c(),h('probe transport "%s" failed because of error: %s',a,b),m.emit("upgradeError",d)}function f(){e("transport closed")}function g(){e("socket closed")}function i(a){k&&a.name!=k.name&&(h('"%s" works - aborting "%s"',a.name,k.name),c())}function j(){k.removeListener("open",b),k.removeListener("error",e),k.removeListener("close",f),m.removeListener("close",g),m.removeListener("upgrading",i)}h('probing transport "%s"',a);var k=this.createTransport(a,{probe:1}),l=!1,m=this;d.priorWebsocketSuccess=!1,k.once("open",b),k.once("error",e),k.once("close",f),this.once("close",g),this.once("upgrading",i),k.open()},d.prototype.onOpen=function(){if(h("socket open"),this.readyState="open",d.priorWebsocketSuccess="websocket"==this.transport.name,this.emit("open"),this.flush(),"open"==this.readyState&&this.upgrade&&this.transport.pause){h("starting upgrade probes");for(var a=0,b=this.upgrades.length;b>a;a++)this.probe(this.upgrades[a])}},d.prototype.onPacket=function(a){if("opening"==this.readyState||"open"==this.readyState)switch(h('socket receive: type "%s", data "%s"',a.type,a.data),this.emit("packet",a),this.emit("heartbeat"),a.type){case"open":this.onHandshake(l(a.data));break;case"pong":this.setPing();break;case"error":var b=new Error("server error");b.code=a.data,this.emit("error",b);break;case"message":this.emit("data",a.data),this.emit("message",a.data)}else h('packet received with socket readyState "%s"',this.readyState)},d.prototype.onHandshake=function(a){this.emit("handshake",a),this.id=a.sid,this.transport.query.sid=a.sid,this.upgrades=this.filterUpgrades(a.upgrades),this.pingInterval=a.pingInterval,this.pingTimeout=a.pingTimeout,this.onOpen(),"closed"!=this.readyState&&(this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat))},d.prototype.onHeartbeat=function(a){clearTimeout(this.pingTimeoutTimer);var b=this;b.pingTimeoutTimer=setTimeout(function(){"closed"!=b.readyState&&b.onClose("ping timeout")},a||b.pingInterval+b.pingTimeout)},d.prototype.setPing=function(){var a=this;clearTimeout(a.pingIntervalTimer),a.pingIntervalTimer=setTimeout(function(){h("writing ping packet - expecting pong within %sms",a.pingTimeout),a.ping(),a.onHeartbeat(a.pingTimeout)},a.pingInterval)},d.prototype.ping=function(){this.sendPacket("ping")},d.prototype.onDrain=function(){for(var a=0;a<this.prevBufferLen;a++)this.callbackBuffer[a]&&this.callbackBuffer[a]();this.writeBuffer.splice(0,this.prevBufferLen),this.callbackBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0==this.writeBuffer.length?this.emit("drain"):this.flush()},d.prototype.flush=function(){"closed"!=this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(h("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},d.prototype.write=d.prototype.send=function(a,b){return this.sendPacket("message",a,b),this},d.prototype.sendPacket=function(a,b,c){if("closing"!=this.readyState&&"closed"!=this.readyState){var d={type:a,data:b};this.emit("packetCreate",d),this.writeBuffer.push(d),this.callbackBuffer.push(c),this.flush()}},d.prototype.close=function(){function a(){d.onClose("forced close"),h("socket closing - telling transport to close"),d.transport.close()}function b(){d.removeListener("upgrade",b),d.removeListener("upgradeError",b),a()}function c(){d.once("upgrade",b),d.once("upgradeError",b)}if("opening"==this.readyState||"open"==this.readyState){this.readyState="closing";var d=this;this.writeBuffer.length?this.once("drain",function(){this.upgrading?c():a()}):this.upgrading?c():a()}return this},d.prototype.onError=function(a){h("socket error %j",a),d.priorWebsocketSuccess=!1,this.emit("error",a),this.onClose("transport error",a)},d.prototype.onClose=function(a,b){if("opening"==this.readyState||"open"==this.readyState||"closing"==this.readyState){h('socket close with reason: "%s"',a);var c=this;clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),setTimeout(function(){c.writeBuffer=[],c.callbackBuffer=[],c.prevBufferLen=0},0),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),this.readyState="closed",this.id=null,this.emit("close",a,b)}},d.prototype.filterUpgrades=function(a){for(var b=[],c=0,d=a.length;d>c;c++)~i(this.transports,a[c])&&b.push(a[c]);return b}}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./transport":14,"./transports":15,"component-emitter":9,debug:22,"engine.io-parser":25,indexof:40,parsejson:32,parseqs:33,parseuri:34}],14:[function(a,b,c){function d(a){this.path=a.path,this.hostname=a.hostname,this.port=a.port,this.secure=a.secure,this.query=a.query,this.timestampParam=a.timestampParam,this.timestampRequests=a.timestampRequests,this.readyState="",this.agent=a.agent||!1,this.socket=a.socket,this.enablesXDR=a.enablesXDR,this.pfx=a.pfx,this.key=a.key,this.passphrase=a.passphrase,this.cert=a.cert,this.ca=a.ca,this.ciphers=a.ciphers,this.rejectUnauthorized=a.rejectUnauthorized}var e=a("engine.io-parser"),f=a("component-emitter");b.exports=d,f(d.prototype),d.timestamps=0,d.prototype.onError=function(a,b){var c=new Error(a);return c.type="TransportError",c.description=b,this.emit("error",c),this},d.prototype.open=function(){return("closed"==this.readyState||""==this.readyState)&&(this.readyState="opening",this.doOpen()),this},d.prototype.close=function(){return("opening"==this.readyState||"open"==this.readyState)&&(this.doClose(),this.onClose()),this},d.prototype.send=function(a){if("open"!=this.readyState)throw new Error("Transport not open");this.write(a)},d.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},d.prototype.onData=function(a){var b=e.decodePacket(a,this.socket.binaryType);this.onPacket(b)},d.prototype.onPacket=function(a){this.emit("packet",a)},d.prototype.onClose=function(){this.readyState="closed",this.emit("close")}},{"component-emitter":9,"engine.io-parser":25}],15:[function(a,b,c){(function(b){function d(a){var c,d=!1,h=!1,i=!1!==a.jsonp;if(b.location){var j="https:"==location.protocol,k=location.port;k||(k=j?443:80),d=a.hostname!=location.hostname||k!=a.port,h=a.secure!=j}if(a.xdomain=d,a.xscheme=h,c=new e(a),"open"in c&&!a.forceJSONP)return new f(a);if(!i)throw new Error("JSONP disabled");return new g(a)}var e=a("xmlhttprequest"),f=a("./polling-xhr"),g=a("./polling-jsonp"),h=a("./websocket");c.polling=d,c.websocket=h}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./polling-jsonp":16,"./polling-xhr":17,"./websocket":19,xmlhttprequest:20}],16:[function(a,b,c){(function(c){function d(){}function e(a){f.call(this,a),this.query=this.query||{},h||(c.___eio||(c.___eio=[]),h=c.___eio),this.index=h.length;var b=this;h.push(function(a){b.onData(a)}),this.query.j=this.index,c.document&&c.addEventListener&&c.addEventListener("beforeunload",function(){b.script&&(b.script.onerror=d)},!1)}var f=a("./polling"),g=a("component-inherit");b.exports=e;var h,i=/\n/g,j=/\\n/g;g(e,f),e.prototype.supportsBinary=!1,e.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),f.prototype.doClose.call(this)},e.prototype.doPoll=function(){var a=this,b=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),b.async=!0,b.src=this.uri(),b.onerror=function(b){a.onError("jsonp poll error",b)};var c=document.getElementsByTagName("script")[0];c.parentNode.insertBefore(b,c),this.script=b;var d="undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent);d&&setTimeout(function(){var a=document.createElement("iframe");document.body.appendChild(a),document.body.removeChild(a)},100)},e.prototype.doWrite=function(a,b){function c(){d(),b()}function d(){if(e.iframe)try{e.form.removeChild(e.iframe)}catch(a){e.onError("jsonp polling iframe removal error",a)}try{var b='<iframe src="javascript:0" name="'+e.iframeId+'">';f=document.createElement(b)}catch(a){f=document.createElement("iframe"),f.name=e.iframeId,f.src="javascript:0"}f.id=e.iframeId,e.form.appendChild(f),e.iframe=f}var e=this;if(!this.form){var f,g=document.createElement("form"),h=document.createElement("textarea"),k=this.iframeId="eio_iframe_"+this.index;g.className="socketio",g.style.position="absolute",g.style.top="-1000px",g.style.left="-1000px",g.target=k,g.method="POST",g.setAttribute("accept-charset","utf-8"),h.name="d",g.appendChild(h),document.body.appendChild(g),this.form=g,this.area=h}this.form.action=this.uri(),d(),a=a.replace(j,"\\\n"),this.area.value=a.replace(i,"\\n");try{this.form.submit()}catch(l){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"==e.iframe.readyState&&c()}:this.iframe.onload=c}}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./polling":18,"component-inherit":21}],17:[function(a,b,c){(function(c){function d(){}function e(a){if(i.call(this,a),c.location){var b="https:"==location.protocol,d=location.port;d||(d=b?443:80),this.xd=a.hostname!=c.location.hostname||d!=a.port,this.xs=a.secure!=b}}function f(a){this.method=a.method||"GET",this.uri=a.uri,this.xd=!!a.xd,this.xs=!!a.xs,this.async=!1!==a.async,this.data=void 0!=a.data?a.data:null,this.agent=a.agent,this.isBinary=a.isBinary,this.supportsBinary=a.supportsBinary,this.enablesXDR=a.enablesXDR,this.pfx=a.pfx,this.key=a.key,this.passphrase=a.passphrase,this.cert=a.cert,this.ca=a.ca,this.ciphers=a.ciphers,this.rejectUnauthorized=a.rejectUnauthorized,this.create()}function g(){for(var a in f.requests)f.requests.hasOwnProperty(a)&&f.requests[a].abort()}var h=a("xmlhttprequest"),i=a("./polling"),j=a("component-emitter"),k=a("component-inherit"),l=a("debug")("engine.io-client:polling-xhr");b.exports=e,b.exports.Request=f,k(e,i),e.prototype.supportsBinary=!0,e.prototype.request=function(a){return a=a||{},a.uri=this.uri(),a.xd=this.xd,a.xs=this.xs,a.agent=this.agent||!1,a.supportsBinary=this.supportsBinary,a.enablesXDR=this.enablesXDR,a.pfx=this.pfx,a.key=this.key,a.passphrase=this.passphrase,a.cert=this.cert,a.ca=this.ca,a.ciphers=this.ciphers,a.rejectUnauthorized=this.rejectUnauthorized,new f(a)},e.prototype.doWrite=function(a,b){var c="string"!=typeof a&&void 0!==a,d=this.request({method:"POST",data:a,isBinary:c}),e=this;d.on("success",b),d.on("error",function(a){e.onError("xhr post error",a)}),this.sendXhr=d},e.prototype.doPoll=function(){l("xhr poll");var a=this.request(),b=this;a.on("data",function(a){b.onData(a)}),a.on("error",function(a){b.onError("xhr poll error",a)}),this.pollXhr=a},j(f.prototype),f.prototype.create=function(){var a={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};a.pfx=this.pfx,a.key=this.key,a.passphrase=this.passphrase,a.cert=this.cert,a.ca=this.ca,a.ciphers=this.ciphers,a.rejectUnauthorized=this.rejectUnauthorized;var b=this.xhr=new h(a),d=this;try{if(l("xhr open %s: %s",this.method,this.uri),b.open(this.method,this.uri,this.async),this.supportsBinary&&(b.responseType="arraybuffer"),"POST"==this.method)try{this.isBinary?b.setRequestHeader("Content-type","application/octet-stream"):b.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}"withCredentials"in b&&(b.withCredentials=!0),this.hasXDR()?(b.onload=function(){d.onLoad()},b.onerror=function(){d.onError(b.responseText)}):b.onreadystatechange=function(){4==b.readyState&&(200==b.status||1223==b.status?d.onLoad():setTimeout(function(){d.onError(b.status)},0))},l("xhr data %s",this.data),b.send(this.data)}catch(e){return void setTimeout(function(){d.onError(e)},0)}c.document&&(this.index=f.requestsCount++,f.requests[this.index]=this)},f.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},f.prototype.onData=function(a){this.emit("data",a),this.onSuccess()},f.prototype.onError=function(a){this.emit("error",a),this.cleanup(!0)},f.prototype.cleanup=function(a){if("undefined"!=typeof this.xhr&&null!==this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=d:this.xhr.onreadystatechange=d,a)try{this.xhr.abort()}catch(b){}c.document&&delete f.requests[this.index],this.xhr=null}},f.prototype.onLoad=function(){var a;try{var b;try{b=this.xhr.getResponseHeader("Content-Type").split(";")[0]}catch(c){}a="application/octet-stream"===b?this.xhr.response:this.supportsBinary?"ok":this.xhr.responseText}catch(c){this.onError(c)}null!=a&&this.onData(a)},f.prototype.hasXDR=function(){return"undefined"!=typeof c.XDomainRequest&&!this.xs&&this.enablesXDR},f.prototype.abort=function(){this.cleanup()},c.document&&(f.requestsCount=0,f.requests={},c.attachEvent?c.attachEvent("onunload",g):c.addEventListener&&c.addEventListener("beforeunload",g,!1))}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./polling":18,"component-emitter":9,"component-inherit":21,debug:22,xmlhttprequest:20}],18:[function(a,b,c){function d(a){var b=a&&a.forceBase64;(!j||b)&&(this.supportsBinary=!1),e.call(this,a)}var e=a("../transport"),f=a("parseqs"),g=a("engine.io-parser"),h=a("component-inherit"),i=a("debug")("engine.io-client:polling");b.exports=d;var j=function(){var b=a("xmlhttprequest"),c=new b({xdomain:!1});return null!=c.responseType}();h(d,e),d.prototype.name="polling",d.prototype.doOpen=function(){this.poll()},d.prototype.pause=function(a){function b(){i("paused"),c.readyState="paused",a()}var c=this;if(this.readyState="pausing",this.polling||!this.writable){var d=0;this.polling&&(i("we are currently polling - waiting to pause"),d++,this.once("pollComplete",function(){i("pre-pause polling complete"),--d||b()})),this.writable||(i("we are currently writing - waiting to pause"),d++,this.once("drain",function(){i("pre-pause writing complete"),--d||b()}))}else b()},d.prototype.poll=function(){i("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},d.prototype.onData=function(a){var b=this;i("polling got data %s",a);var c=function(a,c,d){return"opening"==b.readyState&&b.onOpen(),"close"==a.type?(b.onClose(),!1):void b.onPacket(a)};g.decodePayload(a,this.socket.binaryType,c),"closed"!=this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"==this.readyState?this.poll():i('ignoring poll - transport state "%s"',this.readyState))},d.prototype.doClose=function(){function a(){i("writing close packet"),b.write([{type:"close"}])}var b=this;"open"==this.readyState?(i("transport open - closing"),a()):(i("transport not open - deferring close"),this.once("open",a))},d.prototype.write=function(a){var b=this;this.writable=!1;var c=function(){b.writable=!0,b.emit("drain")},b=this;g.encodePayload(a,this.supportsBinary,function(a){b.doWrite(a,c)})},d.prototype.uri=function(){var a=this.query||{},b=this.secure?"https":"http",c="";return!1!==this.timestampRequests&&(a[this.timestampParam]=+new Date+"-"+e.timestamps++),this.supportsBinary||a.sid||(a.b64=1),a=f.encode(a),this.port&&("https"==b&&443!=this.port||"http"==b&&80!=this.port)&&(c=":"+this.port),a.length&&(a="?"+a),b+"://"+this.hostname+c+this.path+a}},{"../transport":14,"component-inherit":21,debug:22,"engine.io-parser":25,parseqs:33,xmlhttprequest:20}],19:[function(a,b,c){function d(a){var b=a&&a.forceBase64;b&&(this.supportsBinary=!1),e.call(this,a)}var e=a("../transport"),f=a("engine.io-parser"),g=a("parseqs"),h=a("component-inherit"),i=a("debug")("engine.io-client:websocket"),j=a("ws");b.exports=d,h(d,e),d.prototype.name="websocket",d.prototype.supportsBinary=!0,d.prototype.doOpen=function(){if(this.check()){var a=this.uri(),b=void 0,c={agent:this.agent};c.pfx=this.pfx,c.key=this.key,c.passphrase=this.passphrase,c.cert=this.cert,c.ca=this.ca,c.ciphers=this.ciphers,c.rejectUnauthorized=this.rejectUnauthorized,this.ws=new j(a,b,c),void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.binaryType="arraybuffer",this.addEventListeners()}},d.prototype.addEventListeners=function(){var a=this;this.ws.onopen=function(){a.onOpen()},this.ws.onclose=function(){a.onClose()},this.ws.onmessage=function(b){a.onData(b.data)},this.ws.onerror=function(b){a.onError("websocket error",b)}},"undefined"!=typeof navigator&&/iPad|iPhone|iPod/i.test(navigator.userAgent)&&(d.prototype.onData=function(a){var b=this;setTimeout(function(){e.prototype.onData.call(b,a)},0)}),d.prototype.write=function(a){function b(){c.writable=!0,c.emit("drain")}var c=this;this.writable=!1;for(var d=0,e=a.length;e>d;d++)f.encodePacket(a[d],this.supportsBinary,function(a){try{c.ws.send(a)}catch(b){i("websocket closed before onclose event")}});setTimeout(b,0)},d.prototype.onClose=function(){e.prototype.onClose.call(this)},d.prototype.doClose=function(){"undefined"!=typeof this.ws&&this.ws.close()},d.prototype.uri=function(){var a=this.query||{},b=this.secure?"wss":"ws",c="";return this.port&&("wss"==b&&443!=this.port||"ws"==b&&80!=this.port)&&(c=":"+this.port),this.timestampRequests&&(a[this.timestampParam]=+new Date),this.supportsBinary||(a.b64=1),a=g.encode(a),a.length&&(a="?"+a),b+"://"+this.hostname+c+this.path+a},d.prototype.check=function(){return!(!j||"__initialize"in j&&this.name===d.prototype.name)}},{"../transport":14,"component-inherit":21,debug:22,"engine.io-parser":25,parseqs:33,ws:35}],20:[function(a,b,c){var d=a("has-cors");b.exports=function(a){var b=a.xdomain,c=a.xscheme,e=a.enablesXDR;try{if("undefined"!=typeof XMLHttpRequest&&(!b||d))return new XMLHttpRequest}catch(f){}try{if("undefined"!=typeof XDomainRequest&&!c&&e)return new XDomainRequest}catch(f){}if(!b)try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(f){}}},{"has-cors":38}],21:[function(a,b,c){b.exports=function(a,b){var c=function(){};c.prototype=b.prototype,a.prototype=new c,a.prototype.constructor=a}},{}],22:[function(a,b,c){function d(){return"WebkitAppearance"in document.documentElement.style||window.console&&(console.firebug||console.exception&&console.table)||navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31}function e(){var a=arguments,b=this.useColors;if(a[0]=(b?"%c":"")+this.namespace+(b?" %c":" ")+a[0]+(b?"%c ":" ")+"+"+c.humanize(this.diff),!b)return a;var d="color: "+this.color;a=[a[0],d,"color: inherit"].concat(Array.prototype.slice.call(a,1));var e=0,f=0;return a[0].replace(/%[a-z%]/g,function(a){"%%"!==a&&(e++,"%c"===a&&(f=e))}),a.splice(f,0,d),a}function f(){return"object"==typeof console&&"function"==typeof console.log&&Function.prototype.apply.call(console.log,console,arguments)}function g(a){try{null==a?localStorage.removeItem("debug"):localStorage.debug=a}catch(b){}}function h(){var a;try{a=localStorage.debug}catch(b){}return a}c=b.exports=a("./debug"),c.log=f,c.formatArgs=e,c.save=g,c.load=h,c.useColors=d,c.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],c.formatters.j=function(a){return JSON.stringify(a)},c.enable(h())},{"./debug":23}],23:[function(a,b,c){function d(){return c.colors[k++%c.colors.length]}function e(a){function b(){}function e(){var a=e,b=+new Date,f=b-(j||b);a.diff=f,a.prev=j,a.curr=b,j=b,null==a.useColors&&(a.useColors=c.useColors()),null==a.color&&a.useColors&&(a.color=d());var g=Array.prototype.slice.call(arguments);g[0]=c.coerce(g[0]),"string"!=typeof g[0]&&(g=["%o"].concat(g));var h=0;g[0]=g[0].replace(/%([a-z%])/g,function(b,d){if("%%"===b)return b;h++;var e=c.formatters[d];if("function"==typeof e){var f=g[h];b=e.call(a,f),g.splice(h,1),h--}return b}),"function"==typeof c.formatArgs&&(g=c.formatArgs.apply(a,g));var i=e.log||c.log||console.log.bind(console);i.apply(a,g)}b.enabled=!1,e.enabled=!0;var f=c.enabled(a)?e:b;return f.namespace=a,f}function f(a){c.save(a);for(var b=(a||"").split(/[\s,]+/),d=b.length,e=0;d>e;e++)b[e]&&(a=b[e].replace(/\*/g,".*?"),"-"===a[0]?c.skips.push(new RegExp("^"+a.substr(1)+"$")):c.names.push(new RegExp("^"+a+"$")))}function g(){c.enable("")}function h(a){var b,d;for(b=0,d=c.skips.length;d>b;b++)if(c.skips[b].test(a))return!1;for(b=0,d=c.names.length;d>b;b++)if(c.names[b].test(a))return!0;return!1}function i(a){return a instanceof Error?a.stack||a.message:a}c=b.exports=e,c.coerce=i,c.disable=g,c.enable=f,c.enabled=h,c.humanize=a("ms"),c.names=[],c.skips=[],c.formatters={};var j,k=0},{ms:24}],24:[function(a,b,c){function d(a){var b=/^((?:\d+)?\.?\d+) *(ms|seconds?|s|minutes?|m|hours?|h|days?|d|years?|y)?$/i.exec(a);if(b){var c=parseFloat(b[1]),d=(b[2]||"ms").toLowerCase();switch(d){case"years":case"year":case"y":return c*l;case"days":case"day":case"d":return c*k;case"hours":case"hour":case"h":return c*j;case"minutes":case"minute":case"m":return c*i;case"seconds":case"second":case"s":return c*h;case"ms":return c}}}function e(a){return a>=k?Math.round(a/k)+"d":a>=j?Math.round(a/j)+"h":a>=i?Math.round(a/i)+"m":a>=h?Math.round(a/h)+"s":a+"ms"}function f(a){return g(a,k,"day")||g(a,j,"hour")||g(a,i,"minute")||g(a,h,"second")||a+" ms"}function g(a,b,c){return b>a?void 0:1.5*b>a?Math.floor(a/b)+" "+c:Math.ceil(a/b)+" "+c+"s"}var h=1e3,i=60*h,j=60*i,k=24*j,l=365.25*k;b.exports=function(a,b){return b=b||{},"string"==typeof a?d(a):b["long"]?f(a):e(a)}},{}],25:[function(a,b,c){(function(b){function d(a,b){var d="b"+c.packets[a.type]+a.data.data;return b(d)}function e(a,b,d){if(!b)return c.encodeBase64Packet(a,d);var e=a.data,f=new Uint8Array(e),g=new Uint8Array(1+e.byteLength);g[0]=r[a.type];for(var h=0;h<f.length;h++)g[h+1]=f[h];return d(g.buffer)}function f(a,b,d){if(!b)return c.encodeBase64Packet(a,d);var e=new FileReader;return e.onload=function(){a.data=e.result,c.encodePacket(a,b,!0,d)},e.readAsArrayBuffer(a.data)}function g(a,b,d){if(!b)return c.encodeBase64Packet(a,d);if(q)return f(a,b,d);var e=new Uint8Array(1);e[0]=r[a.type];var g=new u([e.buffer,a.data]);return d(g)}function h(a,b,c){for(var d=new Array(a.length),e=m(a.length,c),f=function(a,c,e){b(c,function(b,c){d[a]=c,e(b,d)})},g=0;g<a.length;g++)f(g,a[g],e)}var i=a("./keys"),j=a("has-binary"),k=a("arraybuffer.slice"),l=a("base64-arraybuffer"),m=a("after"),n=a("utf8"),o=navigator.userAgent.match(/Android/i),p=/PhantomJS/i.test(navigator.userAgent),q=o||p;c.protocol=3;var r=c.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},s=i(r),t={type:"error",data:"parser error"},u=a("blob");c.encodePacket=function(a,c,f,h){"function"==typeof c&&(h=c,c=!1),"function"==typeof f&&(h=f,f=null);var i=void 0===a.data?void 0:a.data.buffer||a.data;if(b.ArrayBuffer&&i instanceof ArrayBuffer)return e(a,c,h);if(u&&i instanceof b.Blob)return g(a,c,h);if(i&&i.base64)return d(a,h);var j=r[a.type];return void 0!==a.data&&(j+=f?n.encode(String(a.data)):String(a.data)),h(""+j)},c.encodeBase64Packet=function(a,d){var e="b"+c.packets[a.type];if(u&&a.data instanceof u){var f=new FileReader;return f.onload=function(){var a=f.result.split(",")[1];d(e+a)},f.readAsDataURL(a.data)}var g;try{g=String.fromCharCode.apply(null,new Uint8Array(a.data))}catch(h){for(var i=new Uint8Array(a.data),j=new Array(i.length),k=0;k<i.length;k++)j[k]=i[k];g=String.fromCharCode.apply(null,j)}return e+=b.btoa(g),d(e)},c.decodePacket=function(a,b,d){if("string"==typeof a||void 0===a){if("b"==a.charAt(0))return c.decodeBase64Packet(a.substr(1),b);if(d)try{a=n.decode(a)}catch(e){return t}var f=a.charAt(0);return Number(f)==f&&s[f]?a.length>1?{type:s[f],data:a.substring(1)}:{type:s[f]}:t}var g=new Uint8Array(a),f=g[0],h=k(a,1);return u&&"blob"===b&&(h=new u([h])),{type:s[f],data:h}},c.decodeBase64Packet=function(a,c){var d=s[a.charAt(0)];if(!b.ArrayBuffer)return{type:d,data:{base64:!0,data:a.substr(1)}};var e=l.decode(a.substr(1));return"blob"===c&&u&&(e=new u([e])),{type:d,data:e}},c.encodePayload=function(a,b,d){function e(a){return a.length+":"+a}function f(a,d){c.encodePacket(a,g?b:!1,!0,function(a){d(null,e(a))})}"function"==typeof b&&(d=b,b=null);var g=j(a);return b&&g?u&&!q?c.encodePayloadAsBlob(a,d):c.encodePayloadAsArrayBuffer(a,d):a.length?void h(a,f,function(a,b){return d(b.join(""))}):d("0:")},c.decodePayload=function(a,b,d){if("string"!=typeof a)return c.decodePayloadAsBinary(a,b,d);"function"==typeof b&&(d=b,b=null);var e;if(""==a)return d(t,0,1);for(var f,g,h="",i=0,j=a.length;j>i;i++){var k=a.charAt(i);if(":"!=k)h+=k;else{if(""==h||h!=(f=Number(h)))return d(t,0,1);if(g=a.substr(i+1,f),h!=g.length)return d(t,0,1);if(g.length){if(e=c.decodePacket(g,b,!0),t.type==e.type&&t.data==e.data)return d(t,0,1);var l=d(e,i+f,j);if(!1===l)return}i+=f,h=""}}return""!=h?d(t,0,1):void 0},c.encodePayloadAsArrayBuffer=function(a,b){function d(a,b){c.encodePacket(a,!0,!0,function(a){return b(null,a)})}return a.length?void h(a,d,function(a,c){var d=c.reduce(function(a,b){var c;return c="string"==typeof b?b.length:b.byteLength,a+c.toString().length+c+2},0),e=new Uint8Array(d),f=0;return c.forEach(function(a){var b="string"==typeof a,c=a;if(b){for(var d=new Uint8Array(a.length),g=0;g<a.length;g++)d[g]=a.charCodeAt(g);c=d.buffer}b?e[f++]=0:e[f++]=1;for(var h=c.byteLength.toString(),g=0;g<h.length;g++)e[f++]=parseInt(h[g]);e[f++]=255;for(var d=new Uint8Array(c),g=0;g<d.length;g++)e[f++]=d[g]}),b(e.buffer)}):b(new ArrayBuffer(0))},c.encodePayloadAsBlob=function(a,b){function d(a,b){c.encodePacket(a,!0,!0,function(a){var c=new Uint8Array(1);if(c[0]=1,"string"==typeof a){for(var d=new Uint8Array(a.length),e=0;e<a.length;e++)d[e]=a.charCodeAt(e);a=d.buffer,c[0]=0}for(var f=a instanceof ArrayBuffer?a.byteLength:a.size,g=f.toString(),h=new Uint8Array(g.length+1),e=0;e<g.length;e++)h[e]=parseInt(g[e]);if(h[g.length]=255,u){var i=new u([c.buffer,h.buffer,a]);b(null,i)}})}h(a,d,function(a,c){return b(new u(c))})},c.decodePayloadAsBinary=function(a,b,d){"function"==typeof b&&(d=b,b=null);for(var e=a,f=[],g=!1;e.byteLength>0;){for(var h=new Uint8Array(e),i=0===h[0],j="",l=1;255!=h[l];l++){if(j.length>310){g=!0;break}j+=h[l]}if(g)return d(t,0,1);e=k(e,2+j.length),j=parseInt(j);var m=k(e,0,j);if(i)try{m=String.fromCharCode.apply(null,new Uint8Array(m))}catch(n){var o=new Uint8Array(m);m="";for(var l=0;l<o.length;l++)m+=String.fromCharCode(o[l])}f.push(m),e=k(e,j)}var p=f.length;f.forEach(function(a,e){d(c.decodePacket(a,b,!0),e,p)})}}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./keys":26,after:27,"arraybuffer.slice":28,"base64-arraybuffer":29,blob:30,"has-binary":36,utf8:31}],26:[function(a,b,c){b.exports=Object.keys||function(a){var b=[],c=Object.prototype.hasOwnProperty;for(var d in a)c.call(a,d)&&b.push(d);return b}},{}],27:[function(a,b,c){function d(a,b,c){function d(a,e){if(d.count<=0)throw new Error("after called too many times");--d.count,a?(f=!0,b(a),b=c):0!==d.count||f||b(null,e)}var f=!1;return c=c||e,d.count=a,0===a?b():d;
+}function e(){}b.exports=d},{}],28:[function(a,b,c){b.exports=function(a,b,c){var d=a.byteLength;if(b=b||0,c=c||d,a.slice)return a.slice(b,c);if(0>b&&(b+=d),0>c&&(c+=d),c>d&&(c=d),b>=d||b>=c||0===d)return new ArrayBuffer(0);for(var e=new Uint8Array(a),f=new Uint8Array(c-b),g=b,h=0;c>g;g++,h++)f[h]=e[g];return f.buffer}},{}],29:[function(a,b,c){!function(a){"use strict";c.encode=function(b){var c,d=new Uint8Array(b),e=d.length,f="";for(c=0;e>c;c+=3)f+=a[d[c]>>2],f+=a[(3&d[c])<<4|d[c+1]>>4],f+=a[(15&d[c+1])<<2|d[c+2]>>6],f+=a[63&d[c+2]];return e%3===2?f=f.substring(0,f.length-1)+"=":e%3===1&&(f=f.substring(0,f.length-2)+"=="),f},c.decode=function(b){var c,d,e,f,g,h=.75*b.length,i=b.length,j=0;"="===b[b.length-1]&&(h--,"="===b[b.length-2]&&h--);var k=new ArrayBuffer(h),l=new Uint8Array(k);for(c=0;i>c;c+=4)d=a.indexOf(b[c]),e=a.indexOf(b[c+1]),f=a.indexOf(b[c+2]),g=a.indexOf(b[c+3]),l[j++]=d<<2|e>>4,l[j++]=(15&e)<<4|f>>2,l[j++]=(3&f)<<6|63&g;return k}}("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")},{}],30:[function(a,b,c){(function(a){function c(a){for(var b=0;b<a.length;b++){var c=a[b];if(c.buffer instanceof ArrayBuffer){var d=c.buffer;if(c.byteLength!==d.byteLength){var e=new Uint8Array(c.byteLength);e.set(new Uint8Array(d,c.byteOffset,c.byteLength)),d=e.buffer}a[b]=d}}}function d(a,b){b=b||{};var d=new f;c(a);for(var e=0;e<a.length;e++)d.append(a[e]);return b.type?d.getBlob(b.type):d.getBlob()}function e(a,b){return c(a),new Blob(a,b||{})}var f=a.BlobBuilder||a.WebKitBlobBuilder||a.MSBlobBuilder||a.MozBlobBuilder,g=function(){try{var a=new Blob(["hi"]);return 2===a.size}catch(b){return!1}}(),h=g&&function(){try{var a=new Blob([new Uint8Array([1,2])]);return 2===a.size}catch(b){return!1}}(),i=f&&f.prototype.append&&f.prototype.getBlob;b.exports=function(){return g?h?a.Blob:e:i?d:void 0}()}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],31:[function(b,c,d){(function(b){!function(e){function f(a){for(var b,c,d=[],e=0,f=a.length;f>e;)b=a.charCodeAt(e++),b>=55296&&56319>=b&&f>e?(c=a.charCodeAt(e++),56320==(64512&c)?d.push(((1023&b)<<10)+(1023&c)+65536):(d.push(b),e--)):d.push(b);return d}function g(a){for(var b,c=a.length,d=-1,e="";++d<c;)b=a[d],b>65535&&(b-=65536,e+=u(b>>>10&1023|55296),b=56320|1023&b),e+=u(b);return e}function h(a){if(a>=55296&&57343>=a)throw Error("Lone surrogate U+"+a.toString(16).toUpperCase()+" is not a scalar value")}function i(a,b){return u(a>>b&63|128)}function j(a){if(0==(4294967168&a))return u(a);var b="";return 0==(4294965248&a)?b=u(a>>6&31|192):0==(4294901760&a)?(h(a),b=u(a>>12&15|224),b+=i(a,6)):0==(4292870144&a)&&(b=u(a>>18&7|240),b+=i(a,12),b+=i(a,6)),b+=u(63&a|128)}function k(a){for(var b,c=f(a),d=c.length,e=-1,g="";++e<d;)b=c[e],g+=j(b);return g}function l(){if(t>=s)throw Error("Invalid byte index");var a=255&r[t];if(t++,128==(192&a))return 63&a;throw Error("Invalid continuation byte")}function m(){var a,b,c,d,e;if(t>s)throw Error("Invalid byte index");if(t==s)return!1;if(a=255&r[t],t++,0==(128&a))return a;if(192==(224&a)){var b=l();if(e=(31&a)<<6|b,e>=128)return e;throw Error("Invalid continuation byte")}if(224==(240&a)){if(b=l(),c=l(),e=(15&a)<<12|b<<6|c,e>=2048)return h(e),e;throw Error("Invalid continuation byte")}if(240==(248&a)&&(b=l(),c=l(),d=l(),e=(15&a)<<18|b<<12|c<<6|d,e>=65536&&1114111>=e))return e;throw Error("Invalid UTF-8 detected")}function n(a){r=f(a),s=r.length,t=0;for(var b,c=[];(b=m())!==!1;)c.push(b);return g(c)}var o="object"==typeof d&&d,p="object"==typeof c&&c&&c.exports==o&&c,q="object"==typeof b&&b;(q.global===q||q.window===q)&&(e=q);var r,s,t,u=String.fromCharCode,v={version:"2.0.0",encode:k,decode:n};if("function"==typeof a&&"object"==typeof a.amd&&a.amd)a(function(){return v});else if(o&&!o.nodeType)if(p)p.exports=v;else{var w={},x=w.hasOwnProperty;for(var y in v)x.call(v,y)&&(o[y]=v[y])}else e.utf8=v}(this)}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],32:[function(a,b,c){(function(a){var c=/^[\],:{}\s]*$/,d=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,e=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,f=/(?:^|:|,)(?:\s*\[)+/g,g=/^\s+/,h=/\s+$/;b.exports=function(b){return"string"==typeof b&&b?(b=b.replace(g,"").replace(h,""),a.JSON&&JSON.parse?JSON.parse(b):c.test(b.replace(d,"@").replace(e,"]").replace(f,""))?new Function("return "+b)():void 0):null}}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],33:[function(a,b,c){c.encode=function(a){var b="";for(var c in a)a.hasOwnProperty(c)&&(b.length&&(b+="&"),b+=encodeURIComponent(c)+"="+encodeURIComponent(a[c]));return b},c.decode=function(a){for(var b={},c=a.split("&"),d=0,e=c.length;e>d;d++){var f=c[d].split("=");b[decodeURIComponent(f[0])]=decodeURIComponent(f[1])}return b}},{}],34:[function(a,b,c){var d=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,e=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];b.exports=function(a){var b=a,c=a.indexOf("["),f=a.indexOf("]");-1!=c&&-1!=f&&(a=a.substring(0,c)+a.substring(c,f).replace(/:/g,";")+a.substring(f,a.length));for(var g=d.exec(a||""),h={},i=14;i--;)h[e[i]]=g[i]||"";return-1!=c&&-1!=f&&(h.source=b,h.host=h.host.substring(1,h.host.length-1).replace(/;/g,":"),h.authority=h.authority.replace("[","").replace("]","").replace(/;/g,":"),h.ipv6uri=!0),h}},{}],35:[function(a,b,c){function d(a,b,c){var d;return d=b?new f(a,b):new f(a)}var e=function(){return this}(),f=e.WebSocket||e.MozWebSocket;b.exports=f?d:null,f&&(d.prototype=f.prototype)},{}],36:[function(a,b,c){(function(c){function d(a){function b(a){if(!a)return!1;if(c.Buffer&&c.Buffer.isBuffer(a)||c.ArrayBuffer&&a instanceof ArrayBuffer||c.Blob&&a instanceof Blob||c.File&&a instanceof File)return!0;if(e(a)){for(var d=0;d<a.length;d++)if(b(a[d]))return!0}else if(a&&"object"==typeof a){a.toJSON&&(a=a.toJSON());for(var f in a)if(Object.prototype.hasOwnProperty.call(a,f)&&b(a[f]))return!0}return!1}return b(a)}var e=a("isarray");b.exports=d}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{isarray:37}],37:[function(a,b,c){b.exports=Array.isArray||function(a){return"[object Array]"==Object.prototype.toString.call(a)}},{}],38:[function(a,b,c){var d=a("global");try{b.exports="XMLHttpRequest"in d&&"withCredentials"in new d.XMLHttpRequest}catch(e){b.exports=!1}},{global:39}],39:[function(a,b,c){b.exports=function(){return this}()},{}],40:[function(a,b,c){var d=[].indexOf;b.exports=function(a,b){if(d)return a.indexOf(b);for(var c=0;c<a.length;++c)if(a[c]===b)return c;return-1}},{}],41:[function(a,b,c){var d=Object.prototype.hasOwnProperty;c.keys=Object.keys||function(a){var b=[];for(var c in a)d.call(a,c)&&b.push(c);return b},c.values=function(a){var b=[];for(var c in a)d.call(a,c)&&b.push(a[c]);return b},c.merge=function(a,b){for(var c in b)d.call(b,c)&&(a[c]=b[c]);return a},c.length=function(a){return c.keys(a).length},c.isEmpty=function(a){return 0==c.length(a)}},{}],42:[function(a,b,c){var d=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,e=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];b.exports=function(a){for(var b=d.exec(a||""),c={},f=14;f--;)c[e[f]]=b[f]||"";return c}},{}],43:[function(a,b,c){(function(b){var d=a("isarray"),e=a("./is-buffer");c.deconstructPacket=function(a){function b(a){if(!a)return a;if(e(a)){var f={_placeholder:!0,num:c.length};return c.push(a),f}if(d(a)){for(var g=new Array(a.length),h=0;h<a.length;h++)g[h]=b(a[h]);return g}if("object"==typeof a&&!(a instanceof Date)){var g={};for(var i in a)g[i]=b(a[i]);return g}return a}var c=[],f=a.data,g=a;return g.data=b(f),g.attachments=c.length,{packet:g,buffers:c}},c.reconstructPacket=function(a,b){function c(a){if(a&&a._placeholder){var e=b[a.num];return e}if(d(a)){for(var f=0;f<a.length;f++)a[f]=c(a[f]);return a}if(a&&"object"==typeof a){for(var g in a)a[g]=c(a[g]);return a}return a}return a.data=c(a.data),a.attachments=void 0,a},c.removeBlobs=function(a,c){function f(a,i,j){if(!a)return a;if(b.Blob&&a instanceof Blob||b.File&&a instanceof File){g++;var k=new FileReader;k.onload=function(){j?j[i]=this.result:h=this.result,--g||c(h)},k.readAsArrayBuffer(a)}else if(d(a))for(var l=0;l<a.length;l++)f(a[l],l,a);else if(a&&"object"==typeof a&&!e(a))for(var m in a)f(a[m],m,a)}var g=0,h=a;f(h),g||c(h)}}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./is-buffer":45,isarray:46}],44:[function(a,b,c){function d(){}function e(a){var b="",d=!1;return b+=a.type,(c.BINARY_EVENT==a.type||c.BINARY_ACK==a.type)&&(b+=a.attachments,b+="-"),a.nsp&&"/"!=a.nsp&&(d=!0,b+=a.nsp),null!=a.id&&(d&&(b+=",",d=!1),b+=a.id),null!=a.data&&(d&&(b+=","),b+=l.stringify(a.data)),k("encoded %j as %s",a,b),b}function f(a,b){function c(a){var c=n.deconstructPacket(a),d=e(c.packet),f=c.buffers;f.unshift(d),b(f)}n.removeBlobs(a,c)}function g(){this.reconstructor=null}function h(a){var b={},d=0;if(b.type=Number(a.charAt(0)),null==c.types[b.type])return j();if(c.BINARY_EVENT==b.type||c.BINARY_ACK==b.type){for(var e="";"-"!=a.charAt(++d)&&(e+=a.charAt(d),d!=a.length););if(e!=Number(e)||"-"!=a.charAt(d))throw new Error("Illegal attachments");b.attachments=Number(e)}if("/"==a.charAt(d+1))for(b.nsp="";++d;){var f=a.charAt(d);if(","==f)break;if(b.nsp+=f,d==a.length)break}else b.nsp="/";var g=a.charAt(d+1);if(""!==g&&Number(g)==g){for(b.id="";++d;){var f=a.charAt(d);if(null==f||Number(f)!=f){--d;break}if(b.id+=a.charAt(d),d==a.length)break}b.id=Number(b.id)}if(a.charAt(++d))try{b.data=l.parse(a.substr(d))}catch(h){return j()}return k("decoded %s as %j",a,b),b}function i(a){this.reconPack=a,this.buffers=[]}function j(a){return{type:c.ERROR,data:"parser error"}}var k=a("debug")("socket.io-parser"),l=a("json3"),m=(a("isarray"),a("component-emitter")),n=a("./binary"),o=a("./is-buffer");c.protocol=4,c.types=["CONNECT","DISCONNECT","EVENT","BINARY_EVENT","ACK","BINARY_ACK","ERROR"],c.CONNECT=0,c.DISCONNECT=1,c.EVENT=2,c.ACK=3,c.ERROR=4,c.BINARY_EVENT=5,c.BINARY_ACK=6,c.Encoder=d,c.Decoder=g,d.prototype.encode=function(a,b){if(k("encoding packet %j",a),c.BINARY_EVENT==a.type||c.BINARY_ACK==a.type)f(a,b);else{var d=e(a);b([d])}},m(g.prototype),g.prototype.add=function(a){var b;if("string"==typeof a)b=h(a),c.BINARY_EVENT==b.type||c.BINARY_ACK==b.type?(this.reconstructor=new i(b),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",b)):this.emit("decoded",b);else{if(!o(a)&&!a.base64)throw new Error("Unknown type: "+a);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");b=this.reconstructor.takeBinaryData(a),b&&(this.reconstructor=null,this.emit("decoded",b))}},g.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},i.prototype.takeBinaryData=function(a){if(this.buffers.push(a),this.buffers.length==this.reconPack.attachments){var b=n.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),b}return null},i.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},{"./binary":43,"./is-buffer":45,"component-emitter":9,debug:10,isarray:46,json3:47}],45:[function(a,b,c){(function(a){function c(b){return a.Buffer&&a.Buffer.isBuffer(b)||a.ArrayBuffer&&b instanceof ArrayBuffer}b.exports=c}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],46:[function(a,b,c){b.exports=a(37)},{}],47:[function(b,c,d){!function(b){function c(a){if(c[a]!==g)return c[a];var b;if("bug-string-char-index"==a)b="a"!="a"[0];else if("json"==a)b=c("json-stringify")&&c("json-parse");else{var d,e='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==a){var f=k.stringify,i="function"==typeof f&&l;if(i){(d=function(){return 1}).toJSON=d;try{i="0"===f(0)&&"0"===f(new Number)&&'""'==f(new String)&&f(h)===g&&f(g)===g&&f()===g&&"1"===f(d)&&"[1]"==f([d])&&"[null]"==f([g])&&"null"==f(null)&&"[null,null,null]"==f([g,h,null])&&f({a:[d,!0,!1,null,"\x00\b\n\f\r     "]})==e&&"1"===f(null,d)&&"[\n 1,\n 2\n]"==f([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==f(new Date(-864e13))&&'"+275760-09-13T00:00:00.000Z"'==f(new Date(864e13))&&'"-000001-01-01T00:00:00.000Z"'==f(new Date(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'==f(new Date(-1))}catch(j){i=!1}}b=i}if("json-parse"==a){var m=k.parse;if("function"==typeof m)try{if(0===m("0")&&!m(!1)){d=m(e);var n=5==d.a.length&&1===d.a[0];if(n){try{n=!m('"     "')}catch(j){}if(n)try{n=1!==m("01")}catch(j){}if(n)try{n=1!==m("1.")}catch(j){}}}}catch(j){n=!1}b=n}}return c[a]=!!b}var e,f,g,h={}.toString,i="function"==typeof a&&a.amd,j="object"==typeof JSON&&JSON,k="object"==typeof d&&d&&!d.nodeType&&d;k&&j?(k.stringify=j.stringify,k.parse=j.parse):k=b.JSON=j||{};var l=new Date(-0xc782b5b800cec);try{l=-109252==l.getUTCFullYear()&&0===l.getUTCMonth()&&1===l.getUTCDate()&&10==l.getUTCHours()&&37==l.getUTCMinutes()&&6==l.getUTCSeconds()&&708==l.getUTCMilliseconds()}catch(m){}if(!c("json")){var n="[object Function]",o="[object Date]",p="[object Number]",q="[object String]",r="[object Array]",s="[object Boolean]",t=c("bug-string-char-index");if(!l)var u=Math.floor,v=[0,31,59,90,120,151,181,212,243,273,304,334],w=function(a,b){return v[b]+365*(a-1970)+u((a-1969+(b=+(b>1)))/4)-u((a-1901+b)/100)+u((a-1601+b)/400)};(e={}.hasOwnProperty)||(e=function(a){var b,c={};return(c.__proto__=null,c.__proto__={toString:1},c).toString!=h?e=function(a){var b=this.__proto__,c=a in(this.__proto__=null,this);return this.__proto__=b,c}:(b=c.constructor,e=function(a){var c=(this.constructor||b).prototype;return a in this&&!(a in c&&this[a]===c[a])}),c=null,e.call(this,a)});var x={"boolean":1,number:1,string:1,undefined:1},y=function(a,b){var c=typeof a[b];return"object"==c?!!a[b]:!x[c]};if(f=function(a,b){var c,d,g,i=0;(c=function(){this.valueOf=0}).prototype.valueOf=0,d=new c;for(g in d)e.call(d,g)&&i++;return c=d=null,i?f=2==i?function(a,b){var c,d={},f=h.call(a)==n;for(c in a)f&&"prototype"==c||e.call(d,c)||!(d[c]=1)||!e.call(a,c)||b(c)}:function(a,b){var c,d,f=h.call(a)==n;for(c in a)f&&"prototype"==c||!e.call(a,c)||(d="constructor"===c)||b(c);(d||e.call(a,c="constructor"))&&b(c)}:(d=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],f=function(a,b){var c,f,g=h.call(a)==n,i=!g&&"function"!=typeof a.constructor&&y(a,"hasOwnProperty")?a.hasOwnProperty:e;for(c in a)g&&"prototype"==c||!i.call(a,c)||b(c);for(f=d.length;c=d[--f];i.call(a,c)&&b(c));}),f(a,b)},!c("json-stringify")){var z={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},A="000000",B=function(a,b){return(A+(b||0)).slice(-a)},C="\\u00",D=function(a){var b,c='"',d=0,e=a.length,f=e>10&&t;for(f&&(b=a.split(""));e>d;d++){var g=a.charCodeAt(d);switch(g){case 8:case 9:case 10:case 12:case 13:case 34:case 92:c+=z[g];break;default:if(32>g){c+=C+B(2,g.toString(16));break}c+=f?b[d]:t?a.charAt(d):a[d]}}return c+'"'},E=function(a,b,c,d,i,j,k){var l,m,n,t,v,x,y,z,A,C,F,G,H,I,J,K;try{l=b[a]}catch(L){}if("object"==typeof l&&l)if(m=h.call(l),m!=o||e.call(l,"toJSON"))"function"==typeof l.toJSON&&(m!=p&&m!=q&&m!=r||e.call(l,"toJSON"))&&(l=l.toJSON(a));else if(l>-1/0&&1/0>l){if(w){for(v=u(l/864e5),n=u(v/365.2425)+1970-1;w(n+1,0)<=v;n++);for(t=u((v-w(n,0))/30.42);w(n,t+1)<=v;t++);v=1+v-w(n,t),x=(l%864e5+864e5)%864e5,y=u(x/36e5)%24,z=u(x/6e4)%60,A=u(x/1e3)%60,C=x%1e3}else n=l.getUTCFullYear(),t=l.getUTCMonth(),v=l.getUTCDate(),y=l.getUTCHours(),z=l.getUTCMinutes(),A=l.getUTCSeconds(),C=l.getUTCMilliseconds();l=(0>=n||n>=1e4?(0>n?"-":"+")+B(6,0>n?-n:n):B(4,n))+"-"+B(2,t+1)+"-"+B(2,v)+"T"+B(2,y)+":"+B(2,z)+":"+B(2,A)+"."+B(3,C)+"Z"}else l=null;if(c&&(l=c.call(b,a,l)),null===l)return"null";if(m=h.call(l),m==s)return""+l;if(m==p)return l>-1/0&&1/0>l?""+l:"null";if(m==q)return D(""+l);if("object"==typeof l){for(I=k.length;I--;)if(k[I]===l)throw TypeError();if(k.push(l),F=[],J=j,j+=i,m==r){for(H=0,I=l.length;I>H;H++)G=E(H,l,c,d,i,j,k),F.push(G===g?"null":G);K=F.length?i?"[\n"+j+F.join(",\n"+j)+"\n"+J+"]":"["+F.join(",")+"]":"[]"}else f(d||l,function(a){var b=E(a,l,c,d,i,j,k);b!==g&&F.push(D(a)+":"+(i?" ":"")+b)}),K=F.length?i?"{\n"+j+F.join(",\n"+j)+"\n"+J+"}":"{"+F.join(",")+"}":"{}";return k.pop(),K}};k.stringify=function(a,b,c){var d,e,f,g;if("function"==typeof b||"object"==typeof b&&b)if((g=h.call(b))==n)e=b;else if(g==r){f={};for(var i,j=0,k=b.length;k>j;i=b[j++],g=h.call(i),(g==q||g==p)&&(f[i]=1));}if(c)if((g=h.call(c))==p){if((c-=c%1)>0)for(d="",c>10&&(c=10);d.length<c;d+=" ");}else g==q&&(d=c.length<=10?c:c.slice(0,10));return E("",(i={},i[""]=a,i),e,f,d,"",[])}}if(!c("json-parse")){var F,G,H=String.fromCharCode,I={92:"\\",34:'"',47:"/",98:"\b",116:" ",110:"\n",102:"\f",114:"\r"},J=function(){throw F=G=null,SyntaxError()},K=function(){for(var a,b,c,d,e,f=G,g=f.length;g>F;)switch(e=f.charCodeAt(F)){case 9:case 10:case 13:case 32:F++;break;case 123:case 125:case 91:case 93:case 58:case 44:return a=t?f.charAt(F):f[F],F++,a;case 34:for(a="@",F++;g>F;)if(e=f.charCodeAt(F),32>e)J();else if(92==e)switch(e=f.charCodeAt(++F)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:a+=I[e],F++;break;case 117:for(b=++F,c=F+4;c>F;F++)e=f.charCodeAt(F),e>=48&&57>=e||e>=97&&102>=e||e>=65&&70>=e||J();a+=H("0x"+f.slice(b,F));break;default:J()}else{if(34==e)break;for(e=f.charCodeAt(F),b=F;e>=32&&92!=e&&34!=e;)e=f.charCodeAt(++F);a+=f.slice(b,F)}if(34==f.charCodeAt(F))return F++,a;J();default:if(b=F,45==e&&(d=!0,e=f.charCodeAt(++F)),e>=48&&57>=e){for(48==e&&(e=f.charCodeAt(F+1),e>=48&&57>=e)&&J(),d=!1;g>F&&(e=f.charCodeAt(F),e>=48&&57>=e);F++);if(46==f.charCodeAt(F)){for(c=++F;g>c&&(e=f.charCodeAt(c),e>=48&&57>=e);c++);c==F&&J(),F=c}if(e=f.charCodeAt(F),101==e||69==e){for(e=f.charCodeAt(++F),(43==e||45==e)&&F++,c=F;g>c&&(e=f.charCodeAt(c),e>=48&&57>=e);c++);c==F&&J(),F=c}return+f.slice(b,F)}if(d&&J(),"true"==f.slice(F,F+4))return F+=4,!0;if("false"==f.slice(F,F+5))return F+=5,!1;if("null"==f.slice(F,F+4))return F+=4,null;J()}return"$"},L=function(a){var b,c;if("$"==a&&J(),"string"==typeof a){if("@"==(t?a.charAt(0):a[0]))return a.slice(1);if("["==a){for(b=[];a=K(),"]"!=a;c||(c=!0))c&&(","==a?(a=K(),"]"==a&&J()):J()),","==a&&J(),b.push(L(a));return b}if("{"==a){for(b={};a=K(),"}"!=a;c||(c=!0))c&&(","==a?(a=K(),"}"==a&&J()):J()),(","==a||"string"!=typeof a||"@"!=(t?a.charAt(0):a[0])||":"!=K())&&J(),b[a.slice(1)]=L(K());return b}J()}return a},M=function(a,b,c){var d=N(a,b,c);d===g?delete a[b]:a[b]=d},N=function(a,b,c){var d,e=a[b];if("object"==typeof e&&e)if(h.call(e)==r)for(d=e.length;d--;)M(e,d,c);else f(e,function(a){M(e,a,c)});return c.call(a,b,e)};k.parse=function(a,b){var c,d;return F=0,G=""+a,c=L(K()),"$"!=K()&&J(),F=G=null,b&&h.call(b)==n?N((d={},d[""]=c,d),"",b):c}}}i&&a(function(){return k})}(this)},{}],48:[function(a,b,c){function d(a,b){var c=[];b=b||0;for(var d=b||0;d<a.length;d++)c[d-b]=a[d];return c}b.exports=d},{}]},{},[1])(1)});
\ No newline at end of file
similarity index 60%
rename from public/app/76616549.app.js
rename to public/app/6c5c3a69.app.js
index 772bfea..a011081 100644 (file)
@@ -1,33 +1,34 @@
-"use strict";angular.module("xCallyShuttleApp",["adf","adf.structures.base","adf.widget.clock","adf.widget.iframe","adf.widget.counter","adf.widget.table","adf.widget.pie-chart","angular-md5","angular.filter","angularFileUpload","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","toastr","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.grid","ui.grid.exporter","ui.grid.grouping","ui.grid.moveColumns","ui.grid.pagination","ui.grid.treeView","ui.router","ui.navbar","ui.select","ui.sortable","xeditable","ngAudio","truncate","ngScrollbars","ngEmoticons"]).config(["$stateProvider","$urlRouterProvider","$locationProvider","$httpProvider","$translateProvider","localStorageServiceProvider","dashboardProvider","ScrollBarsProvider",function(a,b,c,d,e,f,g,h){b.otherwise("/dashboard/voice"),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("xcally"),h.defaults={scrollButtons:{scrollAmount:"auto",enable:!0},axis:"y"}}]).factory("settings",["$rootScope","$interval","License",function(a,b,c){var d={layout:{pageSidebarClosed:!1,pageQuickSidebarOpened:!1,pageBodySolid:!1,pageAutoScrollOnLoad:1e3}};return a.settings=d,c.get(function(b){b.license&&(a.license=b.license)}),d}]).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","$http","Auth","editableThemes","editableOptions",function(a,b,c,d,e,f,g,h,i){a.$state=c,a.$stateParams=d,h.bs3.inputClass="input-sm",h.bs3.buttonsClass="btn-xs",i.theme="bs3",a.online=navigator.onLine,e.addEventListener("offline",function(){a.$apply(function(){a.online=!1})},!1),e.addEventListener("online",function(){a.$apply(function(){a.online=!0})},!1),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)}}]),angular.module("xCallyShuttleApp").factory("Agent",["$resource",function(a){return a("/api/agents/:id/:controller",{id:"@id"},{changePassword:{method:"PUT",params:{controller:"password"}},update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.agents",{url:"/agents",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("AgentListCtrl",["$scope","$http","$rootScope","xAlert","$translate","socket","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={agentsByPage:{name:"10",value:10},labels:["fullname","name","email"]},a.agentsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.agents={checked:[]},a.check=function(b,c){c?a.agents.checked=angular.copy(_.pluck(a.displayedAgents,"id")):a.agents.checked=[]},a.getAgents=function(b){return _.map(a.displayedAgents,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("agent"),b.url="/api/agents",h.getPage(b).then(function(d){a.displayedAgents=d.rows,b.pagination.numberOfPages=d.total_pages,c.updateTableConfig(a.agentsByPage,a.displayedAgents.length),c.updateTableConfig(a.conf.agentsByPage,a.displayedAgents.length)}),f.socket.on("agent:save",function(){a.initList(b)}),f.socket.on("agent:remove",function(c){a.agents.checked=_.without(a.agents.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/agents/"+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/agents",{params:{id:a.agents.checked}}).success(function(){d.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){d.show(e.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.agents.list",{url:"/list",templateUrl:"app/agent/list/list.html",controller:"AgentListCtrl",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("AgentViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$cookieStore","socket","FileUploader","Auth",function(a,b,c,d,e,f,g,h,i){a.Auth=i,a.updatePassword=function(){var f,g;i.isAdmin()?(f="/api/agents/password/"+e.id+"/reset",g={newPassword:a.agent.newPwd}):(f="/api/agents/password/",g={oldPassword:a.agent.currentPwd,newPassword:a.agent.newPwd}),b.put(f,g).success(function(a){c.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){c.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})};var j=a.uploader=new h({url:"api/users/"+e.id+"/avatar",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+f.get("token")}});j.filters.push({name:"imageFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(b)}}),j.onSuccessItem=function(b,e,f,g){a.agent.userpic=e.userpic,a.agent.id===i.getCurrentUser().id&&(i.getCurrentUser().userpic=e.userpic),c.show(d.instant("MESSAGE_WELL_DONE"),"success")},j.onErrorItem=function(a,b,e,f){c.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},j.onCompleteAll=function(){j.clearQueue()},a.initView=function(){b.get("/api/agents/"+e.id).success(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(";"):[]}).error(function(a){c.show(a.message,"danger")})},a.updateItem=function(){var f=angular.copy(a.agent),g=angular.copy(a.agent);delete f.password,delete f.md5secret,f.transport=f.transport.join(","),f.allow=f.allow.join(";"),b.put("/api/agents/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(b){a.agent=g,b.errors.forEach(function(a){c.show(a.message,"danger")})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.agents.view",{url:"/view/:id",templateUrl:"app/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"]}])}]}}).state("main.agents.view.account",{url:"/account",templateUrl:"app/agent/view/view.account.html",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"]})}]}})}]),angular.module("xCallyShuttleApp").controller("AgentWizardCtrl",["$scope","$http","xAlert","$location","WizardHandler","$translate",function(a,b,c,d,e,f){a.forms={info:void 0,voice:void 0},a.item={role:"agent",allow:["alaw","ulaw","gsm"],transport:["udp"],context:"from-sip"},a.next=function(){b.post("/api/agents/validate/",a.item).success(function(a){console.log(a),a.length?c.show(f.instant("MESSAGE_EXIST_INTERNAL"),"danger"):e.wizard().next()}).error(function(a){c.show(f.instant(a.message),"danger")})},a.getFirstFreeInternal=function(){b.get("/api/settings/internal").success(function(b){a.item.internal=b.value}).error(function(a){c.show(f.instant(a.message),"danger")})},a.exitValidation=function(a){return a},a.createItem=function(){a.item.transport&&(a.item.transport=a.item.transport.join(",")),a.item.allow&&(a.item.allow=a.item.allow.join(";")),b.post("/api/agents/",a.item).success(function(){d.path("/agents/list")}).error(function(a){a.errors.forEach(function(a){c.show(a.message,"danger")})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.agents.wizard",{url:"/wizard",templateUrl:"app/agent/wizard/wizard.html",controller:"AgentWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics",{url:"/analytics",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricListCreateModalCtrl",["$scope","$uibModalInstance",function(a,b){a.forms={dashboard:void 0},a.item={},a.tables=[{name:"Agent Report",value:"report_agent_history"},{name:"Mail Report",value:"report_mail_session_history"},{name:"Queue Report",value:"report_queue_history"},{name:"Integration Report",value:"report_integration_history"},{name:"Chat Report",value:"report_chat_session_history"}],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("AnalyticMetricListCtrl",["$scope","$http","socket","$rootScope","$translate","xAlert","Modal","stResource","$uibModal","$log",function(a,b,c,d,e,f,g,h,i,j){a.conf={metricsByPage:{name:"10",value:10}},a.metricsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.Metrics={checked:[]},a.check=function(b,c){c?a.Metrics.checked=angular.copy(_.pluck(a.displayedMetrics,"id")):a.Metrics.checked=[]},a.getMetrics=function(b){return _.map(a.displayedMetrics,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("metric"),b.url="/api/analytics/metrics",h.getPage(b).then(function(c){a.displayedMetrics=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.metricsByPage,a.displayedMetrics.length),d.updateTableConfig(a.conf.metricsByPage,a.displayedMetrics.length)}),c.socket.on("metric:save",function(){a.initList(b)}),c.socket.on("metric:remove",function(c){a.Metrics.checked=_.without(a.Metrics.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/analytics/metrics/"+a).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/analytics/metrics",{params:{id:a.Metrics.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.create=function(){var a=i.open({animation:!0,templateUrl:"app/analytic/metric/list/create.modal.html",controller:"AnalyticMetricListCreateModalCtrl"});a.result.then(function(a){b.post("/api/analytics/metrics",a).then(function(a){f.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.data.message,"danger")})},function(){j.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").config(["$stateProvider",function(a){a.state("main.analytics.metrics",{url:"/metrics",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){a.tables=[{name:"Agent Report",value:"report_agent"},{name:"Mail Report",value:"report_mail_session"},{name:"Queue Report",value:"report_queue"},{name:"Integration Report",value:"report_integration"},{name:"Chat Report",value:"report_chat_session"}],a.getMetric=function(){b.get("/api/analytics/metrics/"+e.id).success(function(b){a.metric=b}).error(function(a){console.error(a),f.path("/analytics/metrics/list")})},a.updateMetric=function(){var f=angular.copy(a.metric);b.put("/api/analytics/metrics/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.metric=f})}}]),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").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","$http","report","xAlert","$translate","$timeout","uiGridExporterConstants",function(a,b,c,d,e,f,g,h){a.dates={startDate:moment().startOf("day"),endDate:moment().endOf("day")},a.ranges={Today:[moment(),moment()],Yesterday:[moment().subtract(1,"days"),moment().subtract(1,"days")],"Last 7 days":[moment().subtract(7,"days"),moment()],"Last 30 days":[moment().subtract(30,"days"),moment()],"This month":[moment().startOf("month"),moment().endOf("month")]},a.extract=function(c){var d={startDate:a.dates.startDate.toISOString(),endDate:a.dates.endDate.toISOString(),output:c};b.close(d)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("AnalyticReportListCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location","$log","Modal","$rootScope","stResource","$uibModal","FileSaver","Blob",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){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 e={tree:angular.toJson(a.customTree.get_json("#",{flat:!0}))};b.put("/api/analytics/reports/trees/2",e).success(function(a){console.log("Custom Tree Updated")}).error(function(a){c.show(d.instant(a.message),"danger")})},a.configTrees=function(){a.defaultTreeConfig={multiple:!1,animation:!0,core:{error:function(a){h.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){h.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,c){var e={create:{label:d.instant("APPLICATION_CREATE"),action:function(c){a.customTree.create_node(b),a.customTree.open_node(b)}},rename:{label:d.instant("APPLICATION_RENAME"),action:function(c){a.customTree.edit(b)}},remove:{label:d.instant("APPLICATION_REMOVE"),action:function(c){console.log(b),a.deleteNode(b.text,b)}}};return"#"===b.parent&&(delete e.rename,delete e.remove),c(e),e}}}},a.deleteNode=i.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,a.initList(a.tableState)}},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,a.initList(a.tableState)}},a.getTrees=function(){b.get("/api/analytics/reports/trees").success(function(b){a.defaultTreeData=JSON.parse(b[0].tree),a.customTreeData=JSON.parse(b[1].tree),a.configTrees()}).error(function(a){c.show(d.instant(a.message),"danger")})},a.conf={reportsByPage:{name:"10",value:10}},a.reportsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.Reports={checked:[]},a.check=function(b,c){c?a.Reports.checked=angular.copy(_.pluck(a.displayedReports,"id")):a.Reports.checked=[]},a.getReports=function(b){return _.map(a.displayedReports,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){if(b){f.unsyncUpdates("custom_report"),a.Reports.checked=[];var c=a.defaultTree.get_selected(),d=a.customTree.get_selected();if(c.length){var e=c.pop();a.selectedNode=a.defaultTree.get_path(e," / "),b.url="/api/analytics/reports/default",b.search.params={parent:e}}else{if(!d.length)return;var e=d.pop();a.selectedNode=a.customTree.get_path(e," / "),b.url="/api/analytics/reports/custom",b.search.params={parent:e}}a.tableState=b,k.getPage(b).then(function(c){a.displayedReports=c.rows,b.pagination.numberOfPages=c.total_pages,j.updateTableConfig(a.reportsByPage,a.displayedReports.length),j.updateTableConfig(a.conf.reportsByPage,a.displayedReports.length)}),f.socket.on("custom_report:save",function(){a.defaultTreeActive||(console.log("save"),a.initList(b))}),f.socket.on("custom_report:remove",function(c){a.defaultTreeActive||(a.Reports.checked=_.without(a.Reports.checked,c.id),a.initList(b))})}},a.deleteItem=i.confirm["delete"](function(a){b["delete"]("/api/analytics/reports/custom/"+a).success(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){c.show(a.message,"danger")})}),a.deleteItems=i.confirm["delete"](function(){b["delete"]("/api/analytics/reports/custom",{params:{id:a.Reports.checked}}).success(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){c.show(a.message,"danger")})}),a.create=function(){var d=l.open({animation:!0,templateUrl:"app/analytic/report/list/create.modal.html",controller:"ReportListCreateModalCtrl",resolve:{path:function(){return a.selectedNode}}});d.result.then(function(d){d.parent=a.previousCustomNode,b.post("/api/analytics/reports/custom",d).then(function(a){g.path("/analytics/reports/view/"+a.data.id+"/settings")})["catch"](function(a){c.show(a.data.message,"danger")})},function(){h.info("Modal dismissed at: "+new Date)})},a.copy=function(e){var f=a.defaultTreeActive?"/api/analytics/reports/default/copy/"+e:"/api/analytics/reports/custom/copy/"+e,g=l.open({animation:!0,templateUrl:"app/analytic/report/list/copy.modal.html",controller:"ReportListCopyModalCtrl",resolve:{customTreeData:function(){return a.customTreeData}}});g.result.then(function(a){b.post(f,a).then(function(a){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.data.message,"danger")})},function(){h.info("Modal dismissed at: "+new Date)})},a["export"]=function(a){b.get("/api/analytics/reports/custom/"+a).success(function(a){delete a.id,_.forEach(a.Fields,function(a){delete a.id,delete a.CustomReportId});var b=new n([angular.toJson(a)],{type:"application/json;charset=utf-8"});m.saveAs(b,a.name+".json")}).error(function(a){console.error(a),c.show(a.message,"danger")})},a["import"]=function(e){var f=JSON.parse(e);f.parent=a.previousCustomNode;var g=f.name&&f.parent?!0:!1,h=!0;_.forEach(f.Fields,function(a){a.field&&a.alias||(h=!1)}),g&&h?b.post("/api/analytics/reports/custom/import",f).then(function(a){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.data.message,"danger")}):c.show(d.instant("MESSAGE_INVALID_JSON"),"danger")},a.preview=function(b){l.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(e){var f=l.open({animation:!0,templateUrl:"app/analytic/report/list/extract.modal.html",controller:"ReportListExtractModalCtrl",size:"sm",resolve:{report:function(){return{id:e,tree:a.defaultTreeActive?"default":"custom"}}}});f.result.then(function(f){var g=a.defaultTreeActive?"/api/analytics/reports/default/extract/"+f.output+"/"+e:"/api/analytics/reports/custom/extract/"+f.output+"/"+e;b.post(g,f).then(function(a){c.show(d.instant("MESSAGE_REPORT_EXTRACTING"),"success")})["catch"](function(a){c.show(a.data.message,"danger")})},function(){h.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","$http","report","xAlert","$translate","$timeout","uiGridExporterConstants",function(a,b,c,d,e,f,g,h){a.forms={dashboard:void 0},a.dates={startDate:moment().startOf("day"),endDate:moment().endOf("day")},a.ranges={Today:[moment(),moment()],Yesterday:[moment().subtract(1,"days"),moment().subtract(1,"days")],"Last 7 days":[moment().subtract(7,"days"),moment()],"Last 30 days":[moment().subtract(30,"days"),moment()],"This month":[moment().startOf("month"),moment().endOf("month")]};var i={pageNumber:1,pageSize: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.pageNumber=b,i.pageSize=c,a.getPage()}),b.core.on.filterChanged(a,function(){var b=this.grid,c={};b.columns.forEach(function(a){console.log(a),a.filters[0].term&&(c[a.field]=a.filters[0].term)}),i.where=c,a.getPage()})}},a.getPage=function(){var b={params:{page:i.pageNumber-1,perPage:i.pageSize,uiPagination:!0,startDate:a.dates.startDate.toISOString(),endDate:a.dates.endDate.toISOString()}};_.forOwn(i.where,function(a,c){b.params[c]=a}),console.log(b),c.get("/api/analytics/reports/"+d.tree+"/preview/"+d.id,b).success(function(b){console.log(b),a.gridOptions.totalItems=b.count["COUNT(*)"],a.gridOptions.paginationPageSizes[3]=b.count["COUNT(*)"],a.gridOptions.data=b.rows,delete b.count["COUNT(*)"],a.gridOptions.columnDefs=[],_.forOwn(b.count,function(b,c){a.gridOptions.columnDefs.push({name:c})}),a.showResult=!0}).error(function(a){e.show(f.instant(a.message),"danger")})},a.cancel=function(){b.dismiss("cancel")},g(function(){a.getPage()})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.reports",{url:"/reports",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("AnalyticReportViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){function g(e){var f=_.find(a.tables,{table:e}).url;b.get(f).success(function(b){delete b.createdAt,delete b.updatedAt,delete b.id,a.tableFields=_.map(b,function(a,b){return{name:b,value:b}})}).error(function(a){c.show(d.instant(a.message),"danger")})}function h(e){console.log(e),b.get("/api/analytics/metrics/table",{params:{table:e}}).success(function(b){_.forEach(b,function(b){a.tableFields.push({name:"<strong>Metric.</strong>"+b.name,value:b.metric})})}).error(function(a){c.show(d.instant(a.message),"danger")})}function i(a){return String(a).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function j(a){if(!a)return"";for(var b="(",c=0;c<a.rules.length;c++)c>0&&(b+=" <strong>"+a.operator+"</strong> "),b+=a.rules[c].group?j(a.rules[c].group):a.rules[c].field+" "+i(a.rules[c].condition)+" '"+("like"===a.rules[c].condition?"%"+a.rules[c].value+"%":a.rules[c].value)+"'";return b+")"}a.$translate=d,a.tempReport={},a.tables=[{name:"Agent Report",table:"report_agent_history",url:"/api/report/agents/describe"},{name:"Mail Report",table:"report_mail_session_history",url:"/api/report/mail/sessions/describe"},{name:"Queue Report",table:"report_queue_history",url:"/api/report/queues/describe"},{name:"Integration Report",table:"report_integration_history",url:"/api/report/integrations/describe"},{name:"Chat Report",table:"report_chat_session_history",url:"/api/report/chat/sessions/describe"}];var k={group:{operator:"AND",rules:[]}};a.getReport=function(){a.firstLoad=!0,b.get("/api/analytics/reports/custom/"+e.id).success(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(k,!0),a.getPreview()}).error(function(a){console.error(a),f.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){console.log(b),b&&(console.log("is newvalue"),g(b),h(b),c&&(console.log("is oldvalue"),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(k,!0)))},!0),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.addField=function(){a.report.Fields.push({groupBy:!1,CustomReportId:a.report.id})},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 f=angular.copy(a.report);f.conditions=angular.toJson(f.conditions),b.put("/api/analytics/reports/custom/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.getPreview()}).error(function(b){c.show(d.instant(b.message),"danger"),f.conditions=JSON.parse(f.conditions),a.report=f})}else c.show(d.instant("MESSAGE_SELECT_A_FIELD"),"danger")},a.$watch("report.conditions",function(b){a.output=b?j(b.group):"()"},!0),a.gridOptions={enableFiltering:!0,treeRowHeaderAlwaysVisible:!1,enableGridMenu:!0},a.getPreview=function(){a.showPreview=!1,b.get("/api/analytics/reports/custom/preview/"+e.id,{params:{perPage:20}}).success(function(b){a.gridOptions.data=b.rows,a.gridOptions.columnDefs=_.map(a.report.Fields,function(a){return{name:a.alias}}),a.showPreview=!0}).error(function(a){c.show(d.instant(a.message||"MESSAGE_QUERY_NOT_VALID"),"danger")})}}]),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").controller("AnalyticReportWizardCtrl",["$scope","$http","$location","xAlert","socket","$translate",function(a,b,c,d,e,f){a.initWizard=function(){a.forms={},a.item={}},a.createItem=function(){b.post("/api/analytics/reports/",a.item).success(function(){c.path("/analytics/reports/list")}).error(function(a){d.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.reports.wizard",{url:"/wizard",templateUrl:"app/analytic/report/wizard/wizard.html",controller:"AnalyticReportWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.automations",{url:"/automations",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("AutomationListCtrl",["$scope","$http","$translate","$rootScope","stResource","Modal","socket","xAlert",function(a,b,c,d,e,f,g,h){a.conf={AutomationsByPage:{name:"10",value:10}},a.AutomationsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],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.Automations={checked:[]},a.check=function(b,c){c?a.Automations.checked=angular.copy(_.pluck(a.displayedAutomations,"id")):a.Automations.checked=[]},a.getAutomations=function(b){return _.map(a.displayedAutomations,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){g.unsyncUpdates("automation"),b.url="/api/automations",e.getPage(b).then(function(c){a.displayedAutomations=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.AutomationsByPage,a.displayedAutomations.length),d.updateTableConfig(a.conf.AutomationsByPage,a.displayedAutomations.length)}),g.socket.on("automation:save",function(){a.initList(b)}),g.socket.on("automation:remove",function(c){a.Automations.checked=_.without(a.Automations.checked,c.id),a.initList(b)})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("/api/automations/"+a).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success");
-}).error(function(){h.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/automations",{params:{id:a.Automations.checked}}).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){h.show(c.instant(a.message),"danger")})}),a.updateItem=function(a,d){b.put("api/automations/"+a,{status:d}).success(function(a){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.automations.list",{url:"/list",templateUrl:"app/automation/list/list.html",controller:"AutomationListCtrl"})}]),angular.module("xCallyShuttleApp").controller("AutomationViewCtrl",["$scope","$stateParams","$http","$translate","xAlert","automations",function(a,b,c,d,e,f){a.$automations=f,a.forms={info:{}},a.fields={},a.properties=f.properties,a.initView=function(){c.get("/api/automations/"+b.id).success(function(b){a.automation=b,a.conditionsFilter=JSON.parse(b.conditions),a.actionsFilter=JSON.parse(b.actions),a.fields.conditions=a.$automations.automations[b.channel].conditions,a.fields.actions=a.$automations.automations[b.channel].actions}).error(function(a){e.show(a.message,"danger")})},a.updateAutomation=function(){c.put("/api/automations/"+a.automation.id,{name:a.automation.name,description:a.automation.description,conditions:angular.toJson(a.conditionsFilter),actions:angular.toJson(a.actionsFilter)}).success(function(){e.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){e.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.automations.view",{url:"/view/:id",templateUrl:"app/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.automations.view.settings",{url:"/settings",templateUrl:"app/automation/view/view.settings.html"}).state("main.automations.view.routes",{url:"/routes",templateUrl:"app/automation/view/view.routes.html"}).state("main.automations.view.application",{url:"/application",templateUrl:"app/automation/view/view.application.html"})}]),angular.module("xCallyShuttleApp").controller("AutomationWizardCtrl",["$scope","$http","$location","xAlert","automations","WizardHandler",function(a,b,c,d,e,f){a.$automations=e,a.tempData={voice:{},mail:{},chat:{},fax:{}},a.item={},a.fields={},a.properties=e.properties,a.forms={general:{}};var g={group:{"boolean":"AND",rules:[],type:"CONDITION",main:!0}},h={group:{rules:[],type:"ACTION"}};a.conditionsFilter=_.clone(g,!0),a.actionsFilter=_.clone(h,!0),a.$watch("item.channel",function(b,c){c&&(a.tempData[c].conditionsFilter=_.clone(a.conditionsFilter,!0),a.tempData[c].actionsFilter=_.clone(a.actionsFilter,!0)),a.conditionsFilter=a.tempData[b].conditionsFilter?a.tempData[b].conditionsFilter:_.clone(g,!0),a.actionsFilter=a.tempData[b].actionsFilter?a.tempData[b].actionsFilter:_.clone(h,!0),a.fields.conditions=a.$automations.automations[b].conditions,a.fields.actions=a.$automations.automations[b].actions},!0),a.item.channel="mail",a.createItem=function(){a.item.conditions=angular.toJson(a.conditionsFilter),a.item.actions=angular.toJson(a.actionsFilter),b.post("/api/automations",a.item).success(function(){c.path("/automations/list")}).error(function(a){d.show(a.message,"danger")})},a.next=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.exitValidation=function(a){return a}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.automations.wizard",{url:"/wizard",templateUrl:"app/automation/wizard/wizard.html",controller:"AutomationWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat",{url:"/chat",template:"<div ui-view></div>","abstract":!0})}]),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").directive("preview",function(){return{templateUrl:"app/chat/preview/preview.html",restrict:"EA",link:function(a,b,c){}}}),angular.module("xCallyShuttleApp").controller("ChatQueueListCtrl",["$scope","$http","xAlert","$translate","socket","Modal","$rootScope","stResource",function(a,b,c,d,e,f,g,h){a.conf={chatQueuesByPage:{name:"10",value:10}},a.chatQueuesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.chatQueues={checked:[]},a.check=function(b,c){c?a.chatQueues.checked=angular.copy(_.pluck(a.displayedChatQueues,"id")):a.chatQueues.checked=[]},a.initList=function(b){e.unsyncUpdates("chat_queue"),b.url="/api/chat/queues/",h.getPage(b).then(function(c){a.displayedChatQueues=c.rows,b.pagination.numberOfPages=c.total_pages,g.updateTableConfig(c.queuesByPage,a.displayedChatQueues.length),g.updateTableConfig(a.conf.queuesByPage,a.displayedChatQueues.length)}),e.socket.on("chat_queue:save",function(){a.initList(b)}),e.socket.on("chat_queue:remove",function(c){a.chatQueues.checked=_.without(a.chatQueues.checked,c.id),a.initList(b)})},a.getChatQueues=function(b){return _.map(a.displayedChatQueues,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("api/chat/queues/"+a).success(function(){c.show(d.instant("MESSAGE_CHAT_QUEUE_DELETE_SUCCESS")+"!","success")}).error(function(){c.show(d.instant("MESSAGE_CHAT_QUEUE_DELETE_FAILURE"),"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/chat/queues/",{params:{id:a.chatQueues.checked}}).success(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){c.show(d.instant(a.message),"danger")})}),a.$on("$destroy",function(){e.unsyncUpdates("chat_queue")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.queues.list",{url:"/list",templateUrl:"app/chat/queue/list/list.html",controller:"ChatQueueListCtrl",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("ChatQueue",["$resource",function(a){return a("/api/chat/queues/:id/:controller",{id:"@id"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.queues",{url:"/queues",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatQueueViewCtrl",["$scope","$http","xAlert","$translate","$stateParams",function(a,b,c,d,e){var f=function(){return{select:function(c){b.post("/api/chat/queues/"+a.queue.id+"/agents",{agents:c}).success(function(){a.getTeams()}).error(function(a){console.error(a)})},deselect:function(c){b.put("/api/chat/queues/"+a.queue.id+"/agents",{agents:c}).success(function(){a.getTeams()}).error(function(a){console.error(a)})}}};a.getQueue=function(){b.get("/api/chat/queues/"+e.id).success(function(b){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(){b.get("/api/teams").success(function(c){a.teams=c.rows,b({url:"/api/chat/user_has_queues",method:"GET",params:{ChatQueueId:a.queue.id}}).success(function(a){ComponentsDropdowns.bindChatQueue(c.rows,_.pluck(a,"UserId"),f)})}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.queues.view",{url:"/view/:id",templateUrl:"app/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.chat.queues.view.settings",{url:"/settings",templateUrl:"app/chat/queue/view/view.settings.html"}).state("main.chat.queues.view.agents",{url:"/agents",templateUrl:"app/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/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").controller("ChatQueueWizardCtrl",["$scope","$http","$location","xAlert","WizardHandler","$translate",function(a,b,c,d,e,f){a.forms={},a.item={},a.next=function(){e.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/chat/queues",a.item).success(function(){d.show(f.instant("MESSAGE_WELL_DONE"),"success"),c.path("/chat/queues/list")}).error(function(a){d.show(f.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.queues.wizard",{url:"/wizard",templateUrl:"app/chat/queue/wizard/wizard.html",controller:"ChatQueueWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.realtime",{url:"/realtime",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.realtime.view.agent",{url:"/agent",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewAgentQueueCtrl",["$scope","$http","socket","Agent","ChatQueue",function(a,b,c,d,e){a.gridOptions={enableSorting:!1,enableFiltering:!0,columnDefs:[{name:"queueName",displayName:"Queue"},{name:"agentName",displayName:"Agent",cellClass:"text-center",cellTemplate:'<span data-ng-if="row.entity.agentName">{{row.entity.fullname}} [{{row.entity.agentName}}]</span>'},{name:"online",cellClass:"text-center",cellTemplate:'<span class="badge badge-empty" data-ng-if="row.entity.online != null" data-ng-class="row.entity.online ? \'badge-success\' : \'badge-danger\'"></span>'},{name:"lastLoginAt",cellClass:"text-center",cellTemplate:'<time data-ng-if="row.entity.lastLoginAt" is="relative-time" datetime="{{row.entity.lastLoginAt}}">April 1, 2014</time>'}],onRegisterApi:function(b){a.gridApi=b,a.gridApi.treeBase.on.rowExpanded(a,function(b){var c=_.findIndex(a.gridOptions.data,{$$hashKey:b.entity.$$hashKey});b.entity.Users&&b.entity.Users.forEach(function(b){_.find(a.gridOptions.data,{name:b.name})||a.gridOptions.data.splice(c+1,0,b)})})}},e.get(function(b){a.gridOptions.data=[],b.rows.forEach(function(b){b.$$treeLevel=0,b.queueName=b.name,a.gridOptions.data.push(b),b.Users&&b.Users.forEach(function(b){b.agentName=b.name,a.gridOptions.data.push(b)})}),c.socket.on("agent:save",function(b){var c=_.filter(a.gridOptions.data,{agentName:b.name});c.forEach(function(a){a.online=b.online,a.lastLoginAt=b.lastLoginAt})}),c.socket.on("chat_queue:save",function(b){b.$$treeLevel=0,b.queueName=b.name,a.gridOptions.data.push(b)}),c.socket.on("chat_queue:remove",function(b){_.remov(a.gridOptions.data,{queueName:b.name})}),c.socket.on("user_has_chat_queue:save",function(b){var c=_.findIndex(a.gridOptions.data,function(a){return a.queueName&&a.id===b.ChatQueueId});d.get({id:b.UserId}).$promise.then(function(b){a.gridOptions.data.splice(c+1,0,{id:b.id,name:b.name,fullname:b.fullname,agentName:b.name,online:b.online,lastLoginAt:b.lastLoginAt})})["catch"](function(a){console.error(a)})}),c.socket.on("user_has_chat_queue:remove",function(b){for(var c=_.findIndex(a.gridOptions.data,function(a){return a.queueName&&a.id===b.ChatQueueId}),d=c+1;d<a.gridOptions.data.length;d++)a.gridOptions.data[d].id==b.UserId&&a.gridOptions.data.splice(d,1)})},function(a){console.error(a)}),a.conf={agentsByPage:{name:"10",value:10},labels:["fullname","name","email"]},a.agentsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.$on("$destroy",function(){c.unsyncUpdates("report_chat:save"),c.unsyncUpdates("report_chat:update")}),a.initAgents=function(){b.get("/api/report/chats").success(function(b){a.agents=b,c.socket.on("report_chat:save",function(b){var c=_.find(a.agents,{id:b.id});c||a.agents.unshift(b)}),c.socket.on("report_chat:update",function(b){var c=_.find(a.agents,{id:b.id}),d=a.agents.indexOf(c);c&&_.merge(a.agents[d],b)})}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.realtime.view.agent.queues",{url:"/queues",controller:"ChatRealtimeViewAgentQueueCtrl",templateUrl:"app/chat/realtime/view/agent/queue/queue.html"})}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewAgentTimelineCtrl",["$scope","$http","socket","Agent","ChatQueue","uiGridConstants",function(a,b,c,d,e,f){a.gridOptions={enableFiltering:!0,columnDefs:[{name:"lastevent",cellClass:"text-center",enableFiltering:!1,enableSorting:!1,displayName:"",cellTemplate:"<span><i data-ng-class=\"{'icon-user font-yellow': row.entity.lastevent === 'called', 'icon-user-following font-green': row.entity.lastevent === 'agent', 'icon-user-unfollow font-red': row.entity.lastevent === 'timeout', 'icon-user-unfollow font-blue': row.entity.lastevent === 'answered_elsewhere'}\"></i></span>"},{name:"chatqueuename",displayName:"Queue Name",cellClass:"text-center"},{name:"fullname",cellClass:"text-center"},{name:"visitoremail",displayName:"Visitor",cellClass:"text-center"},{name:"websitename",displayName:"Website",cellClass:"text-center"},{name:"agentcalledAt",displayName:"Called At",cellClass:"text-center",cellTemplate:'<time data-ng-if="row.entity.agentcalledAt" is="relative-time" datetime="{{row.entity.agentcalledAt}}">April 1, 2014</time>',sort:{direction:f.DESC,priority:0}},{name:"agentconnectAt",displayName:"Connected At",cellClass:"text-center",cellTemplate:'<time data-ng-if="row.entity.agentconnectedAt" is="relative-time" datetime="{{row.entity.agentconnectedAt}}">April 1, 2014</time>'},{name:"agentringnoanswerAt",displayName:"No Answer At",cellClass:"text-center",cellTemplate:'<time data-ng-if="row.entity.agentringnoanswerAt" is="relative-time" datetime="{{row.entity.agentringnoanswerAt}}">April 1, 2014</time>'}],data:[]},a.initAgents=function(){b.get("/api/report/chats").success(function(b){a.gridOptions.data=b,c.socket.on("report_chat:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c||a.gridOptions.data.unshift(b)}),c.socket.on("report_chat:update",function(b){var c=_.find(a.gridOptions.data,{id:b.id}),d=a.gridOptions.data.indexOf(c);c&&_.merge(a.gridOptions.data[d],b)})}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.realtime.view.agent.timeline",{url:"/timeline",controller:"ChatRealtimeViewAgentTimelineCtrl",templateUrl:"app/chat/realtime/view/agent/timeline/timeline.html"})}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewSessionCtrl",["$scope","$http","socket",function(a,b,c){a.conf={sessionsByPage:{name:"10",value:10},labels:["fullname","name","email"]},a.sessionsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.$on("$destroy",function(){c.unsyncUpdates("report_chat:save"),c.unsyncUpdates("report_chat:update")}),a.initChats=function(){b.get("/api/report/chat/sessions").success(function(b){a.sessions=b,c.socket.on("report_chat_session:save",function(b){var c=_.find(a.sessions,{id:b.id}),d=a.sessions.indexOf(c);c?_.merge(a.sessions[d],b):a.sessions.push(b)})}).error(function(a){console.error(a)})}}]),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.chat.realtime.view",{url:"/view",templateUrl:"app/chat/realtime/view/view.html",controller:"ChatRealtimeViewCtrl"}).state("main.chat.realtime.view.sessions",{url:"/sessions",controller:"ChatRealtimeViewSessionCtrl",templateUrl:"app/chat/realtime/view/session/session.html"})}]),angular.module("xCallyShuttleApp").controller("ChatStatisticCtrl",["$scope","$http","$stateParams","xAlert","socket","$location","$translate","$filter",function(a,b,c,d,e,f,g,h){a.conf={chatVisitorsByPage:10,chatRoomsByPage:10,chatEnquiriesByPage:10},a.$location=f,a.$translate=g,a.$filter=h,a.initList=function(){b.get("api/chat/visitors").success(function(b){a.chatVisitors=b,e.syncUpdates("chat_visitor",a.chatVisitors)}),b.get("api/chat/rooms").success(function(b){a.chatRooms=b,e.syncUpdates("chat_room",a.chatRooms)}),b.get("api/chat/enquiries").success(function(b){a.chatEnquiries=b,e.syncUpdates("chat_enquery",a.chatEnquiries)})},a.initVisitorView=function(){b.get("api/chat/visitors/"+c.id).success(function(b){a.chatVisitor=b}).error(function(a){d.show(g.instant(a.message),"danger")})},a.initEnquiryView=function(){b.get("api/chat/enquiries/"+c.id).success(function(b){a.chatEnquiry=b}).error(function(a){d.show(g.instant(a.message),"danger")})},a.initRoomView=function(){console.log(c),b.get("api/chat/rooms/"+c.id).success(function(b){a.chatRoom=b}).error(function(a){d.show(g.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.statistics",{url:"/statistics",templateUrl:"app/chat/statistic/statistic.html",controller:"ChatStatisticCtrl",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"]},{name:"ui.select",insertBefore:"#ng_load_plugins_before",files:["assets/plugins/ui-select/select.min.css","assets/plugins/ui-select/select.min.js"]}])}]}}).state("main.chat.statistics.summary",{url:"/summary",templateUrl:"app/chat/statistic/statistic.summary.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile-old.css"]})}]}}).state("main.chat.statistics.enquiries",{url:"/enquiries",templateUrl:"app/chat/statistic/statistic.enquiry.html"}).state("main.chat.statistics.enquiry",{url:"/enquiry/:id",controller:"ChatStatisticCtrl",templateUrl:"app/chat/statistic/statistic.enquiry.view.html"}).state("main.chat.statistics.conversations",{url:"/conversations",templateUrl:"app/chat/statistic/statistic.conversation.html"}).state("main.chat.statistics.conversation",{url:"/conversation/:id",controller:"ChatStatisticCtrl",templateUrl:"app/chat/statistic/statistic.conversation.view.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/timeline.css"]})}]}}).state("main.chat.statistics.visitors",{url:"/visitors",templateUrl:"app/chat/statistic/statistic.visitor.html"}).state("main.chat.statistics.visitor",{url:"/visitor/:id",controller:"ChatStatisticCtrl",templateUrl:"app/chat/statistic/statistic.visitor.view.html"})}]),angular.module("xCallyShuttleApp").controller("ChatTimelineListCtrl",["$scope","$http","socket",function(a,b,c){function d(b){a.events>50&&a.events.pop(),a.events.unshift(b)}a.initList=function(){a.events=[],b.get("/api/events/channel/chat").success(function(a){a.forEach(d),c.socket.on("event:chat:save",d)}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.timeline.list",{url:"/list",templateUrl:"app/chat/timeline/list/list.html",controller:"ChatTimelineListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/timeline.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.timeline",{url:"/timeline",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteListCtrl",["$scope","$http","xAlert","$translate","socket","Modal","$rootScope","stResource",function(a,b,c,d,e,f,g,h){a.conf={chatWebsitesByPage:{name:"10",value:10}},a.chatWebsitesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.chatWebsites={checked:[]},a.check=function(b,c){c?a.chatWebsites.checked=angular.copy(_.pluck(a.displayedChatWebsites,"id")):a.chatWebsites.checked=[]},a.getChatWebsites=function(b){return _.map(a.displayedChatWebsites,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){e.unsyncUpdates("chat_website"),b.url="/api/chat/websites",h.getPage(b).then(function(c){a.displayedChatWebsites=c.rows,b.pagination.numberOfPages=c.total_pages,g.updateTableConfig(a.chatWebsitesByPage,a.displayedChatWebsites.length),g.updateTableConfig(a.conf.chatWebsitesByPage,a.displayedChatWebsites.length)}),e.socket.on("chat_website:save",function(){a.initList(b)}),e.socket.on("chat_website:remove",function(c){a.chatWebsites.checked=_.without(a.chatWebsites.checked,c.id),a.initList(b)})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("api/chat/websites/"+a).success(function(){c.show(d.instant("MESSAGE_CHAT_WEBSITE_DELETE_SUCCESS")+"!","success")}).error(function(){c.show(d.instant("MESSAGE_CHAT_WEBSITE_DELETE_FAILURE"),"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/chat/websites",{params:{id:a.chatWebsites.checked}}).success(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){c.show(a.message,"danger")})}),a.$on("$destroy",function(){e.unsyncUpdates("chat_website")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.websites.list",{url:"/list",templateUrl:"app/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.chat.websites.view.actions",{url:"/actions",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("chatWebsiteViewActionListCtrl",["$scope","$http","$translate","$stateParams","socket","xAlert","Modal",function(a,b,c,d,e,f,g){a.initActons=function(){console.log(d),a.sortableOptions={stop:function(){console.log("stop",_.pluck(a.chatApplications,"id")),b.post("api/chat/websites/"+d.websiteId+"/applications",{applications:_.pluck(a.chatApplications,"id")}).success(function(b){angular.copy(b,a.chatApplications)}).error(function(a){console.error(a)})}},b.get("/api/chat/applications",{params:{ChatWebsiteId:d.websiteId}}).success(function(b){a.chatApplications=b,e.socket.on("chat_application:remove",function(b){_.remove(a.chatApplications,{id:b.id})})})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("api/chat/applications/"+a).success(function(){f.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){f.show(a.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.websites.view.actions.list",{url:"/list",templateUrl:"app/chat/website/view/action/list/list.html",controller:"chatWebsiteViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("chatWebsiteViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval",function(a,b,c,d,e,f,g,h,i,j){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/chat/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]),console.log(c),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(){b.get("/api/chat/queues",{params:{page:0,per_page:500}}).success(function(b){a.queues=b.rows}).error(function(a){console.error(a)})},a.getAgents=function(){b.get("/api/agents",{params:{page:0,per_page:500}}).success(function(b){a.agents=b.rows}).error(function(a){console.error(a)})},a.getIntervals=function(){b.get("/api/intervals",{params:{page:0,per_page:500}}).success(function(b){a.intervals=b.rows}).error(function(a){console.error(a)})},a.updateItem=function(){var e=["*","*","*","*"],g={app:a.application.app,timeout:a.application.timeout,chatAccountId:c.id};switch(a.application.app){case"agent":g.UserId=a.application.UserId;break;case"queue":g.chatQueueId=a.application.chatQueueId}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),e[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",e[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",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/chat/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.chat.websites.view.actions.view",{url:"/view/:actionId",templateUrl:"app/chat/website/view/action/view/view.html",controller:"chatWebsiteViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("chatWebsiteViewActionWizardCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval",function(a,b,c,d,e,f,g,h,i,j){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(){console.log(c),a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],a.$application=i.application,a.$stateParams=c,a.$interval=j.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(){b.get("/api/chat/queues",{params:{page:0,per_page:1e3}}).success(function(b){a.queues=b.rows}).error(function(a){console.error(a)})},a.getAgents=function(){b.get("/api/agents",{params:{page:0,per_page:1e3}}).success(function(b){a.agents=b.rows}).error(function(a){console.error(a)})},a.getIntervals=function(){b.get("/api/intervals",{params:{page:0,per_page:500}}).success(function(b){a.intervals=b.rows}).error(function(a){console.error(a)})},a.createItem=function(){var d=["*","*","*","*"],f={app:a.application.app,timeout:a.application.timeout,ChatWebsiteId:c.websiteId};switch(a.application.app){case"agent":f.UserId=a.application.UserId;break;case"queue":f.ChatQueueId=a.application.ChatQueueId}switch(a.application.intType){case"always":f.interval=d.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(d[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),d[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",d[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",d[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",f.interval=d.join(","),delete a.application.IntervalId;break;case"list":f.IntervalId=a.application.IntervalId}b.post("/api/chat/applications",f).success(function(){e.path("/chat/websites/view/"+c.websiteId+"/actions/list")}).error(function(a){console.error(a)})},a.formValidation=function(a){return a},a.next=function(){g.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.websites.view.actions.wizard",{url:"/wizard",templateUrl:"app/chat/website/view/action/wizard/wizard.html",controller:"chatWebsiteViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.websites.view.snippet",{url:"/snippet",template:"<div ui-view></div>","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.lang={HeaderCurrentlyChatting:"Live Chat",HeaderOffline:"Contact us",OperatorOfflineMessage:"It appears as if all operators are currently offline.",OfflineMessage:"<strong>We're not online.</strong><br/>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(){e.get().$promise.then(function(b){console.log(b),a.mailTemplates=b.rows}),b.get("api/chat/websites/"+c.websiteId+"/snippet").success(function(b){a.snippetCode=b})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.websites.view.snippet.view",{url:"/view",templateUrl:"app/chat/website/view/snippet/view/view.html",controller:"ChatWebsiteViewSnippetViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewCtrl",["$scope","xAlert","$http","$location","$stateParams","$translate","WizardHandler",function(a,b,c,d,e,f,g){a.initApplication=function(){a.forms={},a.application={}},a.goNext=function(){g.wizard().next()},a.formValidation=function(a){return a},a.deleteItem=function(a){c["delete"]("api/chat/applications/"+a).error(function(){b.show(f.instant("Something went wrong!"),"danger")})},a.initView=function(){c.get("/api/chat/websites/"+e.websiteId).success(function(b){a.chatWebsite=b}).error(function(a){b.show(a.message,"danger")})},a.updateItem=function(){c.put("/api/chat/websites/"+a.chatWebsite.id,a.chatWebsite).success(function(){b.show(f.instant("MESSAGE_CHAT_WEBSITE_UPDATE_SUCCESS")+"!","success")}).error(function(){b.show(f.instant("MESSAGE_CHAT_WEBSITE_UPDATE_FAILURE"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.websites.view",{url:"/view/:websiteId",templateUrl:"app/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.chat.websites",{url:"/websites",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert",function(a,b,c,d,e,f){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(){b.post("api/chat/websites",a.item).success(function(){f.show(d.instant("MESSAGE_CHAT_WEBSITE_CREATE_SUCCESS"),"success"),c.path("/chat/websites/list")}).error(function(){f.show(d.instant("MESSAGE_CHAT_WEBSITE_CREATE_FAILURE"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.websites.wizard",{url:"/wizard",templateUrl:"app/chat/website/wizard/wizard.html",controller:"ChatWebsiteWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.companies",{url:"/companies",template:"<div ui-view></div>","abstract":!0})}]),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","$http","socket","$rootScope","$translate","xAlert","Modal","stResource","$uibModal","$log",function(a,b,c,d,e,f,g,h,i,j){a.conf={companiesByPage:{name:"10",value:10}},a.companiesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.Companies={checked:[]},a.check=function(b,c){c?a.Companies.checked=angular.copy(_.pluck(a.displayedCompanies,"id")):a.Companies.checked=[]},a.getCompanies=function(b){return _.map(a.displayedCompanies,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("company"),b.url="/api/contactmanager/companies",h.getPage(b).then(function(c){a.displayedCompanies=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.companiesByPage,a.displayedCompanies.length),d.updateTableConfig(a.conf.companiesByPage,a.displayedCompanies.length)}),c.socket.on("company:save",function(){console.log("save"),a.initList(b)}),c.socket.on("company:remove",function(c){a.Companies.checked=_.without(a.Companies.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/contactmanager/companies/"+a).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/contactmanager/companies",{params:{id:a.Companies.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.create=function(){var a=i.open({animation:!0,templateUrl:"app/contactmanager/company/list/create.modal.html",controller:"CompanyListCreateModalCtrl"});a.result.then(function(a){b.post("/api/contactmanager/companies",a).then(function(a){f.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.data.message,"danger")})},function(){j.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","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){a.getCompany=function(){b.get("/api/contactmanager/companies/"+e.id).success(function(b){a.company=b}).error(function(a){f.path("/contactmanager/companies/list")})},a.updateCompany=function(){var f=angular.copy(a.company);b.put("/api/contactmanager/companies/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.company=f})}}]),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").config(["$stateProvider",function(a){a.state("main.contactmanager.contacts",{url:"/contacts",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ContactManagerListImportModalCtrl",["$scope","$uibModalInstance","indexes","csv","xAlert","socket","$http",function(a,b,c,d,e,f,g){function h(b){if(b>=a.csvLength||a.stopped)return void(a.importing=!1);var c={Phones:[],Emails:[],customFields:{}};_.forOwn(a.item,function(e,f){switch(f){case"Phones":a.item.Phones.forEach(function(a){""!==d[b][a]&&c.Phones.push({phone:d[b][a]})});break;case"Emails":a.item.Emails.forEach(function(a){""!==d[b][a]&&c.Emails.push({email:d[b][a]})});break;case"customFields":_.forOwn(a.item.customFields,function(a,e){c.customFields[e]=d[b][a]});break;case"tags":c.tags=[],a.item.tags.forEach(function(a){""!==d[b][a]&&c.tags.push(d[b][a])});break;default:c[f]=d[b][e]}}),c.tags=c.tags?c.tags.join(","):void 0,_.forOwn(c.customFields,function(a,b){""===a&&delete c.customFields[b]}),g.post("/api/contactmanager",c).success(function(c){a["import"].success+=i,a["import"].succeeded+=1,h(b+1)}).error(function(c){a["import"].fail+=i,a["import"].failed+=1,h(b+1)})}a.indexes=c,a.importing=!1,a.submitted=!1,a.stopped=!1,a["import"]={success:0,fail:0,succeeded:0,failed:0},a.csvLength=d.length;var i=100/a.csvLength;a.forms={dashboard:void 0},a.item={},a.start=function(){console.log(d),a.importing=!0,a.submitted=!0,h(0)},a.getCustomFields=function(){g.get("/api/contactmanager/customfields").success(function(b){a.customFields=b.rows,f.syncUpdates("custom_field",a.customFields)}).error(function(a){console.error(a),e.show(a.message,"danger")})},a.close=function(){b.close()},a.stop=function(){a.stopped=!0}}]),angular.module("xCallyShuttleApp").controller("ContactManagerContactListCtrl",["$scope","$http","$translate","$rootScope","xAlert","socket","Modal","stResource","FileUploader","Papa","$uibModal","$log",function(a,b,c,d,e,f,g,h,i,j,k,l){var m;i.FileSelect.prototype.isEmptyAfterSelection=function(){return!0};var n=a.uploader=new i({queueLimit:1,clearInputAfterAddedToQueue:!0});n.onAfterAddingFile=function(b){console.log("fileadded"),j.parse(b._file,{header:!0,complete:function(b){a.uploader.clearQueue(),a["import"](b.data)},error:function(a){console.log(a)}})},a["import"]=function(b){f.unsyncUpdates("contact_manager");var c=k.open({animation:!0,size:"lg",backdrop:"static",keyboard:!1,templateUrl:"app/contactmanager/contact/list/import.modal.html",controller:"ContactManagerListImportModalCtrl",resolve:{indexes:function(){return _.keys(b[0])},csv:function(){return b}}});c.result.then(function(b){console.log("dismiss and synch"),f.socket.on("contact_manager:save",function(){a.initList(m)}),f.socket.on("contact_manager:remove",function(b){a.contacts.checked=_.without(a.contacts.checked,b.id),a.initList(m)})},function(){l.info("Modal dismissed at: "+new Date)})},a.conf={contactsByPage:{name:"10",value:10},labels:["mailbox","fullname","email"]},a.contactsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.contacts={checked:[]},a.newContact=function(b){a.workspaces.push({name:"New Contact",type:"newContact",active:!0,data:b?b:null})},a.openContactTab=function(b){var c=_.find(a.workspaces,{contactID:b.id});c?c.active=!0:a.workspaces.push({name:b.fullname,type:"contact",contactID:b.id,active:!0})},a.check=function(b,c){c?a.contacts.checked=angular.copy(_.pluck(a.displayedContacts,"id")):a.contacts.checked=[]},a.getContacts=function(b){return _.map(a.displayedContacts,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("contact_manager"),b.url="/api/contactmanager",m=b,h.getPage(b).then(function(c){console.log(c),a.displayedContacts=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.contactsByPage,a.displayedContacts.length),d.updateTableConfig(a.conf.contactsByPage,a.displayedContacts.length)}),f.socket.on("contact_manager:save",function(){a.initList(b)}),f.socket.on("contact_manager:remove",function(c){a.contacts.checked=_.without(a.contacts.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/contactmanager/"+a).success(function(){e.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){e.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/contactmanager",{params:{id:a.contacts.checked}}).success(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){e.show(c.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.contacts.list",{url:"/list",templateUrl:"app/contactmanager/contact/list/list.html",controller:"ContactManagerContactListCtrl",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.contactmanager",{url:"/contactmanager",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.customfields",{url:"/customfields",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ContactManagerCustomFieldListCreateModalCtrl",["$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(){a.item.model=JSON.stringify({title:a.item.name}),"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("ContactManagerCustomFieldListCtrl",["$scope","$http","socket","$rootScope","$translate","xAlert","Modal","stResource","$uibModal","$log",function(a,b,c,d,e,f,g,h,i,j){a.conf={cutomFieldsByPage:{name:"10",value:10}},a.customFieldsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.customFields={checked:[]},a.check=function(b,c){c?a.customFields.checked=angular.copy(_.pluck(a.displayedCustomFields,"id")):a.customFields.checked=[]},a.getCustomFields=function(b){return _.map(a.displayedCustomFields,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("custom_field"),b.url="/api/contactmanager/customfields",h.getPage(b).then(function(c){a.displayedCustomFields=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.customFieldsByPage,a.displayedCustomFields.length),d.updateTableConfig(a.conf.customFieldsByPage,a.displayedCustomFields.length)}),c.socket.on("custom_field:save",function(){console.log("save"),a.initList(b)}),c.socket.on("custom_field:remove",function(c){a.customFields.checked=_.without(a.customFields.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/contactmanager/customfields/"+a).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/contactmanager/customfields/",{params:{id:a.customFields.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.create=function(){var a=i.open({animation:!0,templateUrl:"app/contactmanager/customfield/list/create.modal.html",controller:"ContactManagerCustomFieldListCreateModalCtrl"});a.result.then(function(a){b.post("/api/contactmanager/customfields/",a).then(function(a){f.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.data.message,"danger")})},function(){j.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.customfields.list",{url:"/list",templateUrl:"app/contactmanager/customfield/list/list.html",controller:"ContactManagerCustomFieldListCtrl",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("ContactManagerCustomFieldViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){a.getCustomField=function(){b.get("/api/contactmanager/customfields/"+e.id).success(function(b){a.customField=b,"select"===a.customField.type&&(a.choices=JSON.parse(a.customField.values))}).error(function(a){console.error(a),f.path("/contactmanager/customfields/list")})},a.updateCustomField=function(){"select"===a.customField.type&&(a.customField.values=angular.toJson(a.choices));var f=angular.copy(a.customField);b.put("/api/contactmanager/customfields/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.customField=f})},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.customfields.view",{url:"/view/:id",templateUrl:"app/contactmanager/customfield/view/view.html",controller:"ContactManagerCustomFieldViewCtrl",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.customfields.view.settings",{url:"/settings",templateUrl:"app/contactmanager/customfield/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("DashboardCtrl",["$scope","$translate",function(a,b){a.voice=[{name:b.instant("APPLICATION_QUEUE"),link:"main.dashboard.voice"}],a.mail=[{name:b.instant("APPLICATION_QUEUE"),link:"main.dashboard.mail"}]}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.dashboard",{"abstract":!0,url:"/dashboard",templateUrl:"app/dashboard/dashboard.html",controller:"DashboardCtrl"}).state("main.dashboard.voice",{url:"/voice",controller:"DashboardVoiceCtrl",templateUrl:"app/dashboard/voice/voice.html"}).state("main.dashboard.mail",{url:"/mail",controller:"DashboardMailCtrl",templateUrl:"app/dashboard/mail/mail.html"})}]),angular.module("xCallyShuttleApp").controller("DashboardMailCtrl",["$scope",function(a){a.message="Hello"}]),angular.module("xCallyShuttleApp").controller("DashboardVoiceCtrl",["$scope","$http","xAlert","socket",function(a,b,c,d){function e(b,c){var d;return!b.queuecallerjoinAt||b.queuecallerleaveAt||b.queuecallercompleteAt||b.queuecallerabandonAt?b.queuecallerjoinAt&&b.queuecallerleaveAt&&!b.queuecallercompleteAt&&!b.queuecallerabandonAt?d="activeCalls":b.queuecallerjoinAt&&b.queuecallerleaveAt&&b.queuecallercompleteAt&&!b.queuecallerabandonAt?d="completedCalls":b.queuecallerjoinAt&&b.queuecallerleaveAt&&!b.queuecallercompleteAt&&b.queuecallerabandonAt&&(d="abandonedCalls"):d="waitCalls",c?d:void(d&&a.queueStats[d]++)}a.queueStats={abandonedCalls:0,completedCalls:0,waitCalls:0,activeCalls:0},a.getQueueStats=function(){b.get("/api/report/queues").then(function(b){a.queueReports=b.data,a.queueReports.forEach(function(a){e(a,!1)}),d.socket.on("report_queue:save",function(b){console.log("report save or update");var c=_.find(a.queueReports,{id:b.id}),d=a.queueReports.indexOf(c);if(c){console.log("found item, is an update");var f=e(c,!0);console.log("old item value is "+f+", decrementing..."),f&&a.queueStats[f]--,_.merge(a.queueReports[d],b)}else console.log("item not found in collection, is a create"),a.queueReports.unshift(b);console.log("checking new item type and increasing..."),e(b,!1)})})["catch"](function(a){c.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.desk",{url:"/desk",template:"<div ui-view></div>","abstract":!0})}]),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(_.pluck(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.fax.accounts",{url:"/accounts",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("FaxAccountListCtrl",["$scope","$http","xAlert","$translate","socket","Modal","$rootScope","$log","stResource",function(a,b,c,d,e,f,g,h,i){a.conf={faxAccountsByPage:{name:"10",value:10}},a.faxAccountsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.fax_accounts={checked:[]},a.check=function(b,c){c?a.fax_accounts.checked=angular.copy(_.pluck(a.displayedFaxAccounts,"id")):a.fax_accounts.checked=[]},a.initList=function(b){e.unsyncUpdates("fax_account"),b.url="/api/fax/accounts",i.getPage(b).then(function(c){a.displayedFaxAccounts=c.rows,b.pagination.numberOfPages=c.total_pages,g.updateTableConfig(a.faxAccountsByPage,a.displayedFaxAccounts.length),g.updateTableConfig(a.conf.faxAccountsByPage,a.displayedFaxAccounts.length)}),e.socket.on("fax_account:save",function(){a.initList(b)}),e.socket.on("fax_account:remove",function(c){a.fax_accounts.checked=_.without(a.fax_accounts.checked,c.id),a.initList(b)})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("api/fax/accounts/"+a).success(function(){c.show(d.instant("MESSAGE_FAX_ACCOUNT_DELETE_SUCCESS"),"success")}).error(function(){c.show(d.instant("MESSAGE_FAX_ACCOUNT_DELETE_FAILURE"),"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/fax/accounts",{params:{id:a.fax_accounts.checked}}).success(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){c.show(d.instant(a.message),"danger")})}),a.getFaxAccounts=function(b){return _.map(a.faxAccountsByPage,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.$on("$destroy",function(){e.unsyncUpdates("fax_account")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.accounts.list",{url:"/list",templateUrl:"app/fax/account/list/list.html",controller:"FaxAccountListCtrl",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("FaxAccountViewCtrl",["$scope","$http","$stateParams","$translate","$location","WizardHandler","socket","xAlert","Modal",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.forms={},a.sortableOptions={stop:function(){b.post("api/fax/accounts/"+c.id+"/applications",{applications:_.pluck(a.faxApplications,"id")}).success(function(b){a.faxApplications=b}).error(function(a){console.error(a)})},"ui-floating":!0},a.goNext=function(){f.wizard().next()},a.formValidation=function(a){return a},a.initApplication=function(){a.forms={},a.application={}},a.deleteItem=i.confirm["delete"](function(a){b["delete"]("api/fax/applications/"+a).success(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.getAppdata=function(b,c){switch(b){case"agent":return a.agents?_.find(a.agents,{id:c}).name:c;case"queue":return a.faxQueues?_.find(a.faxQueues,{id:c}).name:c}return"UNKNOWN"},a.createItem=function(){switch(a.application.appdata=a.application.appdata.id,a.application.app){case"agent":a.application.UserId=parseInt(a.application.appdata,10);break;case"queue":a.application.FaxQueueId=parseInt(a.application.appdata,10)}a.application.FaxAccountId=c.id,b.post("api/fax/applications",a.application).success(function(){e.path("fax/accounts/view/"+c.id+"/routes")}).error(function(){h.show("Something went wrong!","danger")})},a.$watch("application.app",function(c){if(c){var d;switch(c){case"agent":d="api/agents";break;case"queue":d="api/fax/queues"}b.get(d).success(function(b){a.items=b.rows})}},!0),a.initView=function(){b.get("/api/trunks").success(function(b){a.trunks=b.rows}).error(function(a){console.log(a)}),b.get("/api/fax/accounts/"+c.id).success(function(b){a.account=b}).error(function(){})},a.getAgents=function(){b.get("api/fax/agents").success(function(b){a.agents=b})},a.getFaxApplications=function(){b.get("/api/fax/applications",{params:{FaxAccountId:c.id}}).success(function(b){a.faxApplications=b,g.socket.on("fax_application:remove",function(b){_.remove(a.faxApplications,{id:b.id})})}),b.get("/api/agents").success(function(b){a.agents=b.rows}),b.get("/api/fax/queues").success(function(b){a.faxQueues=b.rows})},a.updateItemFaxAccount=function(){b.put("/api/fax/accounts/"+c.id,a.account).success(function(){h.show(d.instant("MESSAGE_FAX_ACCOUNT_UPDATE_SUCCESS")+".","success")}).error(function(){h.show(d.instant("MESSAGE_FAX_ACCOUNT_UPDATE_FAILURE")+".","danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){
-a.state("main.fax.accounts.view",{url:"/view/:id",templateUrl:"app/fax/account/view/view.html",controller:"FaxAccountViewCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.fax.accounts.view.settings",{url:"/settings",templateUrl:"app/fax/account/view/view.settings.html",authenticate:!0}).state("main.fax.accounts.view.routes",{url:"/routes",templateUrl:"app/fax/account/view/view.routes.html",authenticate:!0}).state("main.fax.accounts.view.applications",{url:"/applications",templateUrl:"app/fax/account/view/view.applications.html",authenticate:!0})}]),angular.module("xCallyShuttleApp").controller("FaxAccountWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler",function(a,b,c,d,e,f){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(){a.$translate=d,a.forms={},a.item={},a.item.ecm=!1,a.item.minrate="9600",a.item.maxrate="33600",b.get("/api/trunks").success(function(b){a.trunks=b.rows}).error(function(a){console.error(a)})},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("api/fax/accounts",a.item).success(function(){e.show(d.instant("MESSAGE_FAX_ACCOUNT_CREATE_SUCCESS")+".","success"),c.path("/fax/accounts/list")}).error(function(){e.show(d.instant("MESSAGE_FAX_ACCOUNT_CREATE_FAILURE")+".","danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.accounts.wizard",{url:"/wizard",templateUrl:"app/fax/account/wizard/wizard.html",controller:"FaxAccountWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.automations",{url:"/automations",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("FaxAutomationListCtrl",["$scope","$http","$translate","$rootScope","stResource","Modal","socket","xAlert",function(a,b,c,d,e,f,g,h){a.conf={faxAutomationsByPage:{name:"10",value:10}},a.faxAutomationsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],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.faxAutomations={checked:[]},a.check=function(b,c){c?a.faxAutomations.checked=angular.copy(_.pluck(a.displayedFaxAutomations,"id")):a.faxAutomations.checked=[]},a.getFaxAutomations=function(b){return _.map(a.displayedFaxAutomations,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){g.unsyncUpdates("fax_business_automation"),b.url="/api/fax/business/automations",e.getPage(b).then(function(c){a.displayedFaxAutomations=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.faxAutomationsByPage,a.displayedFaxAutomations.length),d.updateTableConfig(a.conf.faxAutomationsByPage,a.displayedFaxAutomations.length)}),g.socket.on("fax_business_automation:save",function(){a.initList(b)}),g.socket.on("fax_business_automation:remove",function(c){a.faxAutomations.checked=_.without(a.faxAutomations.checked,c.id),a.initList(b)})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("/api/fax/business/automations/"+a).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/fax/business/automations",{params:{id:a.faxAutomations.checked}}).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){h.show(c.instant(a.message),"danger")})}),a.updateItem=function(a,d){b.put("api/fax/business/automations/"+a,{status:d}).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.$on("$destroy",function(){g.unsyncUpdates("fax_business_automation")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.automations.list",{url:"/list",templateUrl:"app/fax/automation/list/list.html",controller:"FaxAutomationListCtrl",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("FaxAutomationViewCtrl",["$scope","$stateParams","$http","automation","socket","xAlert","$translate","$log",function(a,b,c,d,e,f,g,h){a.initView=function(){a.forms={info:{}},a.automations=d.automations,c.get("/api/fax/business/automations/"+b.id).success(function(c){h.debug(c),a.test=c,a.automation=c,e.syncUpdatesByAttributes("business_condition",{FaxBusinessAutomationId:b.id},c.BusinessConditions)}).error(function(){f.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateAutomation=function(){c.put("/api/fax/business/automations/"+a.automation.id,{name:a.automation.name,description:a.automation.description}).success(function(a){h.debug(a),f.show(g.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger"),h.error(a)})},a.getOperatorsByCondition=function(a){var b=[],c=_.find(d.automations.conditions,{key:a});return c.operators&&c.operators.length&&(b=c.operators),b},a.getAttributesByCondition=function(a){var b=[],c=_.find(d.automations.conditions,{key:a});if(c.attributes&&c.attributes.length)switch(c.key){case"createdAt":b=_.map(c.attributes,function(a){return a.value=parseInt(a.value,10),a});break;default:b=c.attributes}return b},a.addNewCondition=function(b){c.post("/api/business/conditions",{type:b,condition:"status",FaxBusinessAutomationId:a.automation.id}).success(function(b){a.automation.BusinessConditions.push(b)}).error(function(a){console.error(a),f.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addNewAction=function(){c.post("/api/business/actions",{condition:"status",FaxBusinessAutomationId:a.automation.id}).success(function(b){a.automation.BusinessActions.push(b)}).error(function(a){console.error(a)})},a.removeCondition=function(a){c["delete"]("/api/business/conditions/"+a).success(function(a){console.log(a),f.show(g.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){console.error(a),f.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.removeAction=function(b){c["delete"]("/api/business/actions/"+b).success(function(b){console.log(b),a.automation.BusinessActions=_.reject(a.automation.BusinessActions,{id:b.id})}).error(function(a){console.error(a),f.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateCondition=function(a,b,d){var e={};e[b]=d,c.put("/api/business/conditions/"+a,e).success(function(a){console.log(a),f.show(g.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){console.error(a),f.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateAction=function(a,b,d){var e={};e[b]=d,c.put("/api/business/actions/"+a,e).success(function(a){console.log(a),f.show(g.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){console.error(a),f.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.automations.view",{url:"/view/:id",templateUrl:"app/fax/automation/view/view.html",controller:"FaxAutomationViewCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.fax.automations.view.settings",{url:"/settings",templateUrl:"app/fax/automation/view/view.settings.html",authenticate:!0}).state("main.fax.automations.view.routes",{url:"/routes",templateUrl:"app/fax/automation/view/view.routes.html",authenticate:!0}).state("main.fax.automations.view.application",{url:"/application",templateUrl:"app/fax/automation/view/view.application.html",authenticate:!0})}]),angular.module("xCallyShuttleApp").controller("FaxAutomationWizardCtrl",["$scope","$http","$location","automation","WizardHandler","xAlert","$translate",function(a,b,c,d,e,f,g){a.forms={},a.automations={or:[],and:[],actions:[]},a.addNewChoice=function(b){var c=angular.copy(d.automations);a.automations[b].push(c)},a.removeChoice=function(b,c){a.automations[b].splice(c)},a.goNext=function(){e.wizard().next()},a.createItem=function(){a.automations.or.forEach(function(a){a.condition=a.condition.key,a.type="or",delete a.conditions,delete a.actions}),a.automations.and.forEach(function(a){a.condition=a.condition.key,a.type="and",delete a.conditions,delete a.actions}),a.automations.actions.forEach(function(a){a.condition=a.condition.key,delete a.conditions,delete a.actions}),b.post("api/fax/business/automations",a.automations).success(function(){f.show(g.instant("MESSAGE_WELL_DONE"),"success"),c.path("/fax/automations/list")}).error(function(a){console.error(a),f.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.formValidation=function(a){return a}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.automations.wizard",{url:"/wizard",templateUrl:"app/fax/automation/wizard/wizard.html",controller:"FaxAutomationWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax",{url:"/fax",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("FaxInboxComposeCtrl",["$scope","$http","FileUploader","$location","Auth","xAlert","$cookieStore","$translate",function(a,b,c,d,e,f,g,h){a.forms={},a.form={to:[],sto:[]},b.get("api/fax/accounts").success(function(b){a.faxAccounts=b.rows}),a.isNewMessageFromEmpty=!0;var i=a.uploader=new c({url:"api/fax/messages",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+g.get("token")}});i.filters.push({name:"pdfFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|pdf|".indexOf(b)}}),i.onBeforeUploadItem=function(b){b.formData.push({accountId:a.form.from.id,toNum:a.form.sto[0],isNewRoom:a.isNewMessageFromEmpty,userId:e.getCurrentUser().id,html:a.form.html?a.form.html:""})},i.onSuccessItem=function(a,b,c,d){console.info("onSuccessItem",a,b,c,d)},i.onErrorItem=function(a,b,c,d){console.info("onErrorItem",a,b,c,d)},i.onCompleteAll=function(){i.clearQueue(),f.show(h.instant("MESSAGE_WELL_DONE"),"success"),d.path("/fax/inbox/incoming")},i.onWhenAddingFileFailed=function(){f.show(h.instant("MESSAGE_WRONG_FORMAT"),"danger")},a.sendFax=function(){return a.form.sto.length?void(i.queue.length?i.uploadAll():b.post("api/fax/messages",{accountId:a.form.from.id,toNum:a.form.sto[0],isNewRoom:a.isNewMessageFromEmpty,userId:e.getCurrentUser().id,html:a.form.html,onlyText:!0}).success(function(){f.show(h.instant("MESSAGE_WELL_DONE"),"success"),d.path("/fax/inbox/incoming")}).error(function(a){f.show(h.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger"),console.error(a)})):(a.forms.compose.to.$valid=!1,void(a.forms.compose.to.$invalid=!0))},a.cancel=function(){a.form.sto=[],delete a.form.from}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.inbox.compose",{url:"/compose",templateUrl:"app/fax/inbox/room/room.html",controller:"FaxInboxComposeCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxInboxCtrl",["$scope","$http","$location","$translate","$timeout","$notification","Auth","socket","$interval",function(a,b,c,d,e,f,g,h,i){a.go=function(a,d,e){e?b.put("/api/fax/rooms/"+d,{status:e}).success(function(){c.path(a)}).error(function(a){console.error(a)}):c.path(a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.inbox",{url:"/inbox",templateUrl:"app/fax/inbox/inbox.html",controller:"FaxInboxCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/inbox.css","assets/css/todo.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("FaxInboxIncomingCtrl",["$scope","$http","$location","socket","Auth","xAlert",function(a,b,c,d,e,f){a.$location=c,a.getRooms=function(){e.isAdmin()?b.get("api/fax/rooms").success(function(b){a.faxRooms=b,d.syncUpdates("fax_room",a.faxRooms)}).error(function(a){console.error(a),f.show($translate.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")}):b.get("api/fax/rooms/agent/"+e.getCurrentUser().id).success(function(b){a.faxRooms=b,d.socket.on("fax_room:update",function(b){b.UserId===e.getCurrentUser().id&&a.faxRooms.push(b)})}).error(function(a){f.show($translate.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger"),console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.inbox.incoming",{url:"/incoming",templateUrl:"app/fax/inbox/incoming/incoming.html",controller:"FaxInboxIncomingCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxInboxRoomCtrl",["$scope","$http","$stateParams","$location","FileUploader","socket","Auth","xAlert","$translate","$cookieStore",function(a,b,c,d,e,f,g,h,i,j){function k(){a.lastMessage=_.reject(a.faxRoom.FaxMessages,function(a){return"RECEIVED"!==a.status}),a.lastMessage=_.sortByOrder(a.lastMessage,["id"],["desc"])[0],a.lastMessage&&(console.log(a.faxRoom),a.form.from=a.faxRoom.FaxAccount,a.form.to=[a.lastMessage.From.phone],a.form.sto=[a.lastMessage.From.phone])}var l=a.uploader=new e({url:"api/fax/messages",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+j.get("token")}});l.filters.push({name:"pdfFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|pdf|".indexOf(b)}}),l.onBeforeUploadItem=function(b){console.log(a.form.from.id,a.form.sto[0],a.isNewMessageFromEmpty,c.id,g.getCurrentUser().id),b.formData.push({accountId:a.form.from.id,toNum:a.form.sto[0],isNewRoom:a.isNewMessageFromEmpty,roomId:c.id,userId:g.getCurrentUser().id,html:a.form.html}),console.log(b)},l.onSuccessItem=function(a,b,c,d){console.info("onSuccessItem",a,b,c,d)},l.onErrorItem=function(a,b,c,d){console.info("onErrorItem",b,c,d)},l.onCompleteAll=function(){l.clearQueue(),h.show(i.instant("MESSAGE_WELL_DONE"),"success")},l.onWhenAddingFileFailed=function(){h.show(i.instant("MESSAGE_WRONG_FORMAT"),"danger")},a.initRoomView=function(){a.isNewMessageFromEmpty=!0,a.Auth=g,a.forms={},a.form={to:[],sto:[]},b.get("api/agents").success(function(b){a.agents=b}),b.get("api/fax/accounts").success(function(b){a.faxAccounts=b.rows}),c.id&&b.get("/api/fax/rooms/"+c.id).success(function(b){a.faxRoom=b,a.isNewMessageFromEmpty=!1,f.syncUpdates("fax_message",[],function(b,c){"created"===b&&c.FaxRoomId===a.faxRoom.id&&(a.faxRoom.FaxMessages.push(c),k())}),k()}).error(function(a){console.error(a),h.show(i.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.sendFax=function(){return a.form.sto.length?void(l.queue.length?l.uploadAll():b.post("api/fax/messages",{accountId:a.form.from.id,toNum:a.form.sto[0],isNewRoom:a.isNewMessageFromEmpty,userId:g.getCurrentUser().id,html:a.form.html,onlyText:!0}).success(function(){h.show(i.instant("MESSAGE_WELL_DONE"),"success"),console.log("Fax Message sent")}).error(function(a){h.show(i.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger"),console.error(a)})):(a.forms.compose.to.$valid=!1,void(a.forms.compose.to.$invalid=!0))},a.assignAgent=function(a){b.put("/api/fax/rooms/"+c.id,{UserId:a}).success(function(){h.show(i.instant("MESSAGE_WELL_DONE"),"danger")}).error(function(){h.show(i.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateStatus=function(d){b.put("/api/fax/rooms/"+c.id,{status:d}).success(function(b){a.faxRoom.status=b.status,h.show(i.instant("MESSAGE_WELL_DONE"),"danger")}).error(function(a){console.error(a),h.show(i.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.cancel=function(){a.form.sto=[],delete a.form.from,l.clearQueue()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.inbox.room",{url:"/room/:id",templateUrl:"app/fax/inbox/room/room.html",controller:"FaxInboxRoomCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxQueueListCtrl",["$scope","$rootScope","$http","$translate","socket","Modal","xAlert","stResource",function(a,b,c,d,e,f,g,h){a.$on("$destroy",function(){e.unsyncUpdates("fax_queue")}),a.conf={queuesByPage:{name:"10",value:10}},a.queuesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.faxQueues={checked:[]},a.check=function(b,c){c?a.faxQueues.checked=angular.copy(_.pluck(a.displayedFaxQueues,"id")):a.faxQueues.checked=[]},a.getFaxQueues=function(b){return _.map(a.displayedFaxQueues,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(c){e.unsyncUpdates("fax_queue"),c.url="/api/fax/queues",h.getPage(c).then(function(d){a.displayedFaxQueues=d.rows,c.pagination.numberOfPages=d.total_pages,b.updateTableConfig(d.queuesByPage,a.displayedFaxQueues.length),b.updateTableConfig(a.conf.queuesByPage,a.displayedFaxQueues.length)}),e.socket.on("fax_queue:save",function(){a.initList(c)}),e.socket.on("fax_queue:remove",function(b){a.faxQueues.checked=_.without(a.faxQueues.checked,b.id),a.initList(c)})},a.deleteItem=f.confirm["delete"](function(a){c["delete"]("/api/fax/queues/"+a).success(function(){g.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){g.show(a.message,"danger")})}),a.deleteItems=f.confirm["delete"](function(){c["delete"]("/api/fax/queues/",{params:{id:a.faxQueues.checked}}).success(function(){g.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){g.show(d.instant(a.message),"danger")})}),a.deleteItems=f.confirm["delete"](function(){c["delete"]("/api/fax/queues/",{params:{id:a.faxQueues.checked}}).success(function(){g.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){g.show(d.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.queues.list",{url:"/list",templateUrl:"app/fax/queue/list/list.html",controller:"FaxQueueListCtrl",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.fax.queues",{url:"/queues",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("FaxQueueViewCtrl",["$scope","$http","$translate","$stateParams","xAlert",function(a,b,c,d,e){var f=function(){return{select:function(c){b.post("/api/fax/queues/"+a.queue.id+"/agents",{agents:c}).success(function(){a.getTeams()}).error(function(a){console.error(a)})},deselect:function(c){b.put("/api/fax/queues/"+a.queue.id+"/agents",{agents:c}).success(function(){a.getTeams()}).error(function(a){console.error(a)})}}};a.getQueue=function(){b.get("/api/fax/queues/"+d.id).success(function(b){a.queue=b}).error(function(){e.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateFaxQueue=function(){var f=angular.copy(a.queue);b.put("/api/fax/queues/"+d.id,f).success(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"danger")}).error(function(){e.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger"),a.queue=f})},a.getTeams=function(){b.get("/api/teams").success(function(c){a.teams=c.rows,b({url:"/api/fax/user_has_queues",method:"GET",params:{FaxQueueId:a.queue.id}}).success(function(b){ComponentsDropdowns.bindFaxQueue(a.teams,_.pluck(b,"UserId"),f)})}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.queues.view",{url:"/view/:id",templateUrl:"app/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.fax.queues.view.settings",{url:"/settings",templateUrl:"app/fax/queue/view/view.settings.html"}).state("main.fax.queues.view.agents",{url:"/agents",templateUrl:"app/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/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").controller("FaxQueueWizardCtrl",["$scope","$http","WizardHandler","xAlert","$translate","$location",function(a,b,c,d,e,f){a.forms={},a.item={},a.next=function(){c.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/fax/queues",a.item).success(function(){d.show(e.instant("MESSAGE_WELL_DONE"),"success"),f.path("/fax/queues/list")}).error(function(a){d.show(e.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.queues.wizard",{url:"/wizard",templateUrl:"app/fax/queue/wizard/wizard.html",controller:"FaxQueueWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxTimelineListCtrl",["$scope","$http","socket","xAlert","$translate",function(a,b,c,d,e){function f(b){a.events>50&&a.events.pop(),a.events.unshift(b)}a.initList=function(){a.events=[],b.get("/api/events/channel/fax").success(function(a){a.forEach(f),c.socket.on("event:fax:save",f)}).error(function(a){console.error(a),d.show(e.instant("MESSAGE_FAX_ACCOUNT_GET_FAILURE"),"danger")})},a.$on("$destroy",function(){c.socket.removeAllListeners("event:fax:save")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.timeline.list",{url:"/list",templateUrl:"app/fax/timeline/list/list.html",controller:"FaxTimelineListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/timeline.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.timeline",{url:"/timeline",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.freshdesk",{url:"/freshdesk",template:"<div ui-view></div>","abstract":!0})}]),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(_.pluck(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:"<div ui-view></div>","abstract":!0})}]),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.intervals",{url:"/intervals",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("IntervalListCtrl",["$scope","$http","socket","$translate","$rootScope","xAlert","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={intervalsByPage:{name:"10",value:10},labels:["name"]},a.intervalsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.intervals={checked:[]},a.check=function(b,c){c?a.intervals.checked=angular.copy(_.pluck(a.displayedIntervals,"id")):a.intervals.checked=[]},a.getIntervals=function(b){return _.map(a.displayedIntervals,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("interval"),b.url="/api/intervals",h.getPage(b).then(function(c){a.displayedIntervals=c.rows,b.pagination.numberOfPages=c.total_pages,e.updateTableConfig(a.intervalsByPage,a.displayedIntervals.length),e.updateTableConfig(a.conf.intervalsByPage,a.displayedIntervals.length)}),c.socket.on("interval:save",function(){a.initList(b)}),c.socket.on("interval:remove",function(c){a.intervals.checked=_.without(a.intervals.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/intervals/"+a).success(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){f.show(d.instant(a.message),"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/intervals",{params:{id:a.intervals.checked}}).success(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(d.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.intervals.list",{url:"/list",templateUrl:"app/interval/list/list.html",controller:"IntervalListCtrl",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("IntervalViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location","WizardHandler","Modal","interval",function(a,b,c,d,e,f,g,h,i,j){a.$translate=d,a.$interval=j.interval,a.forms={subinterval:void 0,general:void 0},a.initSubInterval=function(){a.subinterval={IntervalId:e.id},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(){b.post("/api/intervals/validate/",a.subinterval).success(function(a){console.log(a),a.length?c.show(d.instant("MESSAGE_EXIST_SUBINTERVAL"),"danger"):h.wizard().next()}).error(function(a){c.show(d.instant(a.message),"danger")})},a.previous=function(){h.wizard().previous()},a.exitValidation=function(a){return a},a.joinInterval=function(a){console.log(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,a.wd_to&&"always"!==a.wd_to&&(c+="-"+a.wd_to)):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.getInterval=function(){b.get("/api/intervals/"+e.id).success(function(b){a.interval=b,a.subIntervals=b.SubIntervals,f.unsyncUpdates("interval"),f.socket.on("interval:remove",function(b){b.id&&_.remove(a.subIntervals,function(a){return b.id===a.id})}),f.socket.on("interval:update",function(b){var c=_.find(a.subIntervals,{id:b.id});c.interval=b.interval}),f.socket.on("interval:save",function(b){if(b.IntervalId===e.id){var c=_.find(a.subIntervals,{id:b.id});c||a.subIntervals.push(b)}})}).error(function(a){console.error(a),g.path("/intervals/list")})},a.updateInterval=function(){var f=angular.copy(a.interval);b.put("/api/intervals/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.interval=f})},a.getSubInterval=function(){b.get("/api/intervals/"+e.appId).success(function(b){a.splittedInterval={t_from:moment(new Date),t_to:moment(new Date)},a.subinterval=b;var c,d=b.interval?b.interval.split(","):["*","*","*","*"];d.forEach(function(b,d){switch(d){case 0:"*"!==b?(c=b.split("-"),a.splittedInterval.t_from=moment(c[0],"HH:mm"),a.splittedInterval.t_to=moment(c[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:"*"!==b?(c=b.split("-"),a.splittedInterval.wd_from=_.capitalize(c[0]),a.splittedInterval.wd_to=c[1]?_.capitalize(c[1]):"always"):(a.splittedInterval.wd_from="always",a.splittedInterval.wd_to="always");break;case 2:"*"!==b?(c=b.split("-"),a.splittedInterval.md_from=c[0],a.splittedInterval.md_to=c[1]?c[1]:"always"):(a.splittedInterval.md_from="always",a.splittedInterval.md_to="always");break;case 3:"*"!==b?(c=b.split("-"),a.splittedInterval.m_from=_.capitalize(c[0]),a.splittedInterval.m_to=c[1]?_.capitalize(c[1]):"always"):(a.splittedInterval.m_from="always",a.splittedInterval.m_to="always")}})}).error(function(a){console.error(a),g.path("/intervals/view/"+e.id+"/subintervals")})},a.createItem=function(){a.subinterval.interval=a.joinInterval(a.splittedInterval),b.post("/api/intervals/",a.subinterval).success(function(){g.path("/intervals/view/"+e.id+"/subintervals")}).error(function(a){c.show(d.instant(a.message),"danger")})},a.updateItem=function(){a.subinterval.interval=a.joinInterval(a.splittedInterval),b.put("/api/intervals/"+e.appId,a.subinterval).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),g.path("/intervals/view/"+e.id+"/subintervals")}).error(function(a){c.show(d.instant(a.message),"danger")})},a.deleteItem=i.confirm["delete"](function(a){b["delete"]("/api/intervals/"+a).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){console.log(a),c.show(d.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.intervals.view",{url:"/view/:id",templateUrl:"app/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.intervals.view.settings",{url:"/settings",templateUrl:"app/interval/view/view.settings.html"}).state("main.intervals.view.subintervals",{url:"/subintervals",templateUrl:"app/interval/view/view.subintervals.html",cache:!1}).state("main.intervals.view.subinterval",{url:"/subinterval",templateUrl:"app/interval/view/view.subinterval.html",authenticate:!0}).state("main.intervals.view.subintervals.settings",{url:"/settings/:appId",templateUrl:"app/interval/view/view.subintervalSettings.html",authenticate:!0,controller:"IntervalViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("IntervalWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","$translate",function(a,b,c,d,e,f){a.forms={interval:void 0},a.item={},a.next=function(){b.post("/api/intervals/validate/",a.item).success(function(a){console.log(a),a.length?e.show(f.instant("MESSAGE_EXIST_INTERVAL"),"danger"):c.wizard().next()}).error(function(a){e.show(f.instant(a.message),"danger")})},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/intervals/",a.item).success(function(a){d.path("/intervals/view/"+a.id+"/subintervals")}).error(function(a){e.show(f.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.intervals.wizard",{url:"/wizard",templateUrl:"app/interval/wizard/wizard.html",controller:"IntervalWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("LoginCtrl",["$scope","Auth","$location","$window","$rootScope",function(a,b,c,d,e){a.userLogin={},a.userSignUp={},a.loginSubmitted=!1,a.signupSubmitted=!1,a.errorLogin=!1,a.errorSignup=!1,a.errorLog="",a.flagLogin1=!1,a.toogleLogin=function(){a.flagLogin1=!a.flagLogin1},e.bodyLayout="login",a.$on("$viewContentLoaded",function(){Metronic.init(),Layout.init()}),a.login=function(d){a.loginSubmitted=!0,d.$valid?b.login({name:a.userLogin.name,password:a.userLogin.password,remember:a.userLogin.remember}).then(function(){c.path("/dashboard/voice")})["catch"](function(b){a.errorLog=b.message,a.errorLogin=!0}):a.errorLogin=!0},a.signup=function(d){a.signupSubmitted=!0,d.$valid?b.createUser({email:a.userSignUp.email,fullname:a.userSignUp.fullname,name:a.userSignUp.name,password:a.userSignUp.password,role:a.userSignUp.role,online:!0}).then(function(){c.path("/")})["catch"](function(b){a.errorLog=b.message,a.errorSignup=!0}):a.errorSignup=!0},a.loginOauth=function(a){d.location.href="/auth/"+a}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("login",{url:"/login",templateUrl:"app/login/login.html",controller:"LoginCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/login.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.accounts",{url:"/accounts",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MailAccountListCtrl",["$scope","$http","socket","$translate","$rootScope","Modal","stResource","xAlert",function(a,b,c,d,e,f,g,h){a.conf={mailAccountsByPage:{name:"10",value:10}},a.mailAccountsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.mailAccounts={checked:[]},a.check=function(b,c){c?a.mailAccounts.checked=angular.copy(_.pluck(a.displayedMailAccounts,"id")):a.mailAccounts.checked=[]},a.getMailAccounts=function(b){return _.map(a.displayedMailAccounts,function(a){var c={};return b.forEach(function(b){_.isObject(b)?_.forIn(b,function(b,d){c[b]=a[d][b]}):c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("mail_server_in"),c.unsyncUpdates("mail_account"),b.url="/api/mail/accounts",g.getPage(b).then(function(c){a.displayedMailAccounts=c.rows,b.pagination.numberOfPages=c.total_pages}),c.socket.on("mail_server_in:save",function(){a.initList(b)}),c.socket.on("mail_account:save",function(){a.initList(b)}),c.socket.on("mail_account:remove",function(c){a.mailAccounts.checked=_.without(a.mailAccounts.checked,c.id),a.initList(b)})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("/api/mail/accounts/"+a).success(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){h.show(a.message,"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/mail/accounts",{params:{id:a.mailAccounts.checked}}).success(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){h.show(d.instant(a.message),"danger")})}),a.restart=function(a){c.socket.emit("IMAP:"+a+":RESTART",{msg:"IMAP:"+a+":RESTART"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.accounts.list",{url:"/list",templateUrl:"app/mail/account/list/list.html",controller:"MailAccountListCtrl"})}]),angular.module("xCallyShuttleApp").factory("MailAccount",["$resource",function(a){return a("/api/mail/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),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.mail.accounts.view.actions",{url:"/actions",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewActionListCtrl",["$scope","$http","$translate","$stateParams","socket","xAlert","Modal",function(a,b,c,d,e,f,g){a.initActons=function(){console.log(d),a.sortableOptions={stop:function(){console.log("stop",_.pluck(a.mailApplications,"id")),b.post("api/mail/accounts/"+d.accountId+"/applications",{applications:_.pluck(a.mailApplications,"id")}).success(function(b){angular.copy(b,a.mailApplications)}).error(function(a){console.error(a)})}},b.get("/api/mail/applications",{params:{MailAccountId:d.accountId}}).success(function(b){a.mailApplications=b,e.socket.on("mail_application:remove",function(b){_.remove(a.mailApplications,{id:b.id})})})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("api/mail/applications/"+a).success(function(){f.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){f.show(a.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.accounts.view.actions.list",{url:"/list",templateUrl:"app/mail/account/view/action/list/list.html",controller:"MailAccountViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval",function(a,b,c,d,e,f,g,h,i,j){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]),console.log(c),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(){b.get("/api/mail/queues",{params:{page:0,per_page:500}}).success(function(b){a.queues=b.rows}).error(function(a){console.error(a)})},a.getAgents=function(){b.get("/api/agents",{params:{page:0,per_page:500}}).success(function(b){a.agents=b.rows}).error(function(a){console.error(a)})},a.getIntervals=function(){b.get("/api/intervals",{params:{page:0,per_page:500}}).success(function(b){a.intervals=b.rows}).error(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),e[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",e[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",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.mail.accounts.view.actions.view",{url:"/view/:actionId",templateUrl:"app/mail/account/view/action/view/view.html",controller:"MailAccountViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewActionWizardCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval",function(a,b,c,d,e,f,g,h,i,j){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(){console.log(c),a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],a.$application=i.application,a.$stateParams=c,a.$interval=j.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(){b.get("/api/mail/queues",{params:{page:0,per_page:500}}).success(function(b){a.queues=b.rows}).error(function(a){console.error(a)})},a.getAgents=function(){b.get("/api/agents",{params:{page:0,per_page:500}}).success(function(b){a.agents=b.rows}).error(function(a){console.error(a)})},a.getIntervals=function(){b.get("/api/intervals",{params:{page:0,per_page:500}}).success(function(b){a.intervals=b.rows}).error(function(a){console.error(a)})},a.createItem=function(){var d=["*","*","*","*"],f={app:a.application.app,timeout:a.application.timeout,MailAccountId:c.accountId};switch(a.application.app){case"agent":f.UserId=a.application.UserId;break;case"queue":f.MailQueueId=a.application.MailQueueId}switch(a.application.intType){case"always":f.interval=d.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(d[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),d[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",d[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",d[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",f.interval=d.join(","),delete a.application.IntervalId;break;case"list":f.IntervalId=a.application.IntervalId}b.post("/api/mail/applications",f).success(function(){e.path("/mail/accounts/view/"+c.accountId+"/actions/list")}).error(function(a){console.error(a)})},a.formValidation=function(a){return a},a.next=function(){g.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.accounts.view.actions.wizard",{url:"/wizard",templateUrl:"app/mail/account/view/action/wizard/wizard.html",controller:"MailAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","MailAccount","MailMessage","MailServerIn","MailServerOut",function(a,b,c,d,e,f,g,h,i,j){a.initView=function(){a.account=g.get({id:c.accountId})},a.updateItemMailAccount=function(){g.update({id:c.accountId},{name:a.account.name,description:a.account.description,address:a.account.address}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.updateItemMailServerIn=function(){i.update({id:a.account.MailServerIn.id},a.account.MailServerIn).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.updateItemMailServerOut=function(){j.update({id:a.account.MailServerOut.id},a.account.MailServerOut).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.test=function(){j.test({id:a.account.MailServerOut.id,controller:"test"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.accounts.view",{url:"/view/:accountId",templateUrl:"app/mail/account/view/view.html",controller:"MailAccountViewCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.mail.accounts.view.settings",{url:"/settings",templateUrl:"app/mail/account/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("MailAccountWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert",function(a,b,c,d,e,f){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.info={},a["in"]={"delete":!1,ssl:!0,protocol:"IMAP",port:993,mailbox:"INBOX",filter:"UNSEEN"},a.out={ssl:!0,port:465},a.$translate=d},a.goNext=function(){e.wizard().next()},a.formValidation=function(a){return a},a.createItem=function(){var e={name:a.info.name,address:a.info.address,description:a.info.description,incoming:a["in"],outgoing:a.out};b.post("api/mail/accounts",e).success(function(){c.path("/mail/accounts/list")}).error(function(a){console.log(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.accounts.wizard",{url:"/wizard",templateUrl:"app/mail/account/wizard/wizard.html",controller:"MailAccountWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.automations",{url:"/automations",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MailAutomationListCtrl",["$scope","$http","$translate","$rootScope","stResource","Modal","socket","xAlert",function(a,b,c,d,e,f,g,h){a.conf={mailAutomationsByPage:{name:"10",value:10}},a.mailAutomationsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],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.mailAutomations={checked:[]},a.check=function(b,c){c?a.mailAutomations.checked=angular.copy(_.pluck(a.displayedMailAutomations,"id")):a.mailAutomations.checked=[]},a.getMailAutomations=function(b){return _.map(a.displayedMailAutomations,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){g.unsyncUpdates("mail_business_automation"),b.url="/api/mail/business/automations",e.getPage(b).then(function(c){a.displayedMailAutomations=c.mailAutomations,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.mailAutomationsByPage,a.displayedMailAutomations.length),d.updateTableConfig(a.conf.mailAutomationsByPage,a.displayedMailAutomations.length)}),g.socket.on("mail_business_automation:save",function(){a.initList(b)}),g.socket.on("mail_business_automation:remove",function(c){a.mailAutomations.checked=_.without(a.mailAutomations.checked,c.id),a.initList(b)})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("/api/mail/business/automations/"+a).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"danger")}).error(function(){h.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/mail/business/automations",{params:{id:a.mailAutomations.checked}}).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){h.show(c.instant(a.message),"danger")})}),a.updateItem=function(a,d){b.put("api/mail/business/automations/"+a,{status:d}).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.automations.list",{url:"/list",templateUrl:"app/mail/automation/list/list.html",controller:"MailAutomationListCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailAutomationViewCtrl",["$scope","$stateParams","$http","$translate","automation","socket","xAlert",function(a,b,c,d,e,f,g){a.initView=function(){a.forms={info:{}},a.automations=e.automations,c.get("/api/mail/business/automations/"+b.id).success(function(c){a.test=c,a.automation=c,f.syncUpdatesByAttributes("business_condition",{MailBusinessAutomationId:b.id},c.BusinessConditions)}).error(function(){})},a.updateAutomation=function(){c.put("/api/mail/business/automations/"+a.automation.id,{name:a.automation.name,description:a.automation.description}).success(function(a){g.show(d.instant("MESSAGE_WELL_DONE"),"success"),console.log(a)}).error(function(a){console.error(a)})},a.getOperatorsByCondition=function(a){var b=[],c=_.find(e.automations.conditions,{key:a});return c.operators&&c.operators.length&&(b=c.operators),b},a.getAttributesByCondition=function(a){var b=[],c=_.find(e.automations.conditions,{key:a});if(c.attributes&&c.attributes.length)switch(c.key){case"createdAt":b=_.map(c.attributes,function(a){return a.value=parseInt(a.value,10),a});break;default:b=c.attributes}return b},a.addNewCondition=function(b){c.post("/api/business/conditions",{type:b,condition:"status",MailBusinessAutomationId:a.automation.id}).success(function(b){a.automation.BusinessConditions.push(b)}).error(function(a){console.error(a)})},a.removeCondition=function(a){c["delete"]("/api/business/conditions/"+a).success(function(a){console.log(a)}).error(function(a){console.error(a)})},a.addNewAction=function(){c.post("/api/business/actions",{condition:"status",MailBusinessAutomationId:a.automation.id}).success(function(b){a.automation.BusinessActions.push(b)}).error(function(a){console.error(a)})},a.removeAction=function(b){c["delete"]("/api/business/actions/"+b).success(function(b){a.automation.BusinessActions=_.reject(a.automation.BusinessActions,{id:b.id})}).error(function(a){console.error(a)})},a.updateCondition=function(a,b,d){var e={};e[b]=d,c.put("/api/business/conditions/"+a,e).error(function(a){console.error(a)})},a.updateAction=function(a,b,d){var e={};e[b]=d,c.put("/api/business/actions/"+a,e).success(function(a){console.log(a)}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.automations.view",{url:"/view/:id",templateUrl:"app/mail/automation/view/view.html",controller:"MailAutomationViewCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.mail.automations.view.settings",{url:"/settings",templateUrl:"app/mail/automation/view/view.settings.html"}).state("main.mail.automations.view.routes",{url:"/routes",templateUrl:"app/mail/automation/view/view.routes.html"}).state("main.mail.automations.view.application",{url:"/application",templateUrl:"app/mail/automation/view/view.application.html"})}]),angular.module("xCallyShuttleApp").controller("MailAutomationWizardCtrl",["$scope","$http","$location","$translate","automation","WizardHandler","xAlert",function(a,b,c,d,e,f,g){a.forms={},a.automations={or:[],and:[],actions:[]},a.addNewChoice=function(b){var c=angular.copy(e.automations);a.automations[b].push(c)},a.removeChoice=function(b,c){a.automations[b].splice(c)},a.goNext=function(){return a.automations.actions.length?a.automations.or.length||a.automations.and.length?void f.wizard().next():(g.show(d.instant("MESSAGE_INSERT_AT_LEAST_ONE_CONDITION"),"danger"),!1):(g.show(d.instant("MESSAGE_INSERT_AT_LEAST_ONE_ACTION"),"danger"),!1)},a.createItem=function(){a.automations.or.forEach(function(a){a.condition=a.condition.key,a.type="or",delete a.conditions,delete a.actions}),a.automations.and.forEach(function(a){a.condition=a.condition.key,a.type="and",delete a.conditions,delete a.actions}),a.automations.actions.forEach(function(a){a.condition=a.condition.key,delete a.conditions,delete a.actions}),b.post("api/mail/business/automations",a.automations).success(function(){c.path("/mail/automations/list")}).error(function(){g.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG","danger"))})},a.formValidation=function(a){return a}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.automations.wizard",{url:"/wizard",templateUrl:"app/mail/automation/wizard/wizard.html",controller:"MailAutomationWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailComposeCtrl",["$scope","$http","$location","$cookieStore","$translate","xAlert","FileUploader","Auth",function(a,b,c,d,e,f,g,h){var i=a.uploader=new g({url:"api/mail/messages",withCredentials:!0,headers:{Authorization:"Bearer "+d.get("token")},queueLimit:1});i.onBeforeUploadItem=function(b){b.formData.push({mailAccountId:a.form.from.id,status:"SENDING",roomStatus:"OPEN",from:a.form.from.address,to:a.form.sto.join(";"),cc:a.form.scc.join(";"),subject:a.form.subject||null,html:a.form.html||null,text:a.form.text||null,attachment:!0,UserId:h.getCurrentUser().id})},i.onSuccessItem=function(a,b,c,d){console.info("onSuccessItem",a,b,c,d),f.show(e.instant("MESSAGE_MAIL_MESSAGE_SEND_SUCCESS"),"success")},i.onErrorItem=function(a,b,c,d){console.info("onErrorItem",a,b,c,d),f.show(e.instant("MESSAGE_MAIL_MESSAGE_SEND_FAILURE"),"danger")},i.onCompleteAll=function(){console.log("onCompleteAll"),c.path("/mail/inbox/incoming")},a.forms={},a.form={to:[],sto:[],cc:[],scc:[]},b.get("api/mail/accounts").success(function(b){a.mailAccounts=b.rows}),a.sendMail=function(){if(i.queue.length)console.log("file"),i.uploadAll();else{console.log("no file");var d={mailAccountId:a.form.from.id,status:"SENDING",roomStatus:"OPEN",from:a.form.from.address,to:a.form.sto.join(";"),cc:a.form.scc.join(";"),subject:a.form.subject||null,html:a.form.html||null,text:a.form.text||null,UserId:h.getCurrentUser().id};b.post("/api/mail/messages",d).success(function(){f.show(e.instant("MESSAGE_MAIL_MESSAGE_SEND_SUCCESS"),"success"),c.path("/mail/inbox/incoming")}).error(function(){f.show(e.instant("MESSAGE_MAIL_MESSAGE_SEND_FAILURE"),"danger")})}},a.cancel=function(){a.form.sto=[],a.form.scc=[],delete a.form.from,delete a.form.text,delete a.form.html}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.inbox.compose",{url:"/compose",templateUrl:"app/mail/inbox/room/room.html",controller:"MailRoomCtrl"
-})}]),angular.module("xCallyShuttleApp").controller("MailInboxCtrl",["$scope","$http","$location",function(a,b,c){a.go=function(a){c.path(a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.inbox",{url:"/inbox",template:"<div ui-view></div>",controller:"MailInboxCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css","assets/css/todo.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("MailIncomingCtrl",["$scope","$http","$location","$translate","$timeout","socket","xAlert","Auth","stResource","Modal",function(a,b,c,d,e,f,g,h,i,j){a.$location=c,a.conf={mailRoomsByPage:{name:"10",value:10},labels:["fullname","name","email"],test:"OPEN"},a.mailRoomsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.mailRooms={checked:[]},a.check=function(b,c){c?a.mailRooms.checked=angular.copy(_.pluck(a.displayedMailRooms,"id")):a.mailRooms.checked=[]},a.initList=function(b){f.unsyncUpdates("mail_room"),b.search.predicateObject||(b.search.predicateObject={}),b.sort.predicate="createdAt",b.sort.reverse=!0,h.isAdmin()?(f.socket.on("mail_room:save",function(){e(function(){g.show(d.instant("MESSAGE_MAIL_NEW_INCOMING_MAIL"),"success"),a.initList(b)},2e3)}),f.socket.on("mail_room:remove",function(c){a.mailRooms.checked=_.without(a.mailRooms.mailRooms,c.id),a.initList(b)})):(f.socket.on("mail_room:save",function(c){c.UserId===h.getCurrentUser().id&&a.initList(b)}),f.socket.on("mail_room:remove",function(c){c.UserId===h.getCurrentUser().id&&(a.mailRooms.checked=_.without(a.mailRooms.checked,c.id),a.initList(b))})),b.url="/api/mail/rooms/",i.getPage(b).then(function(c){console.log("result",c),a.displayedMailRooms=c.mailRooms,b.pagination.numberOfPages=c.total_pages})},a.deleteItems=j.confirm["delete"](function(){b["delete"]("/api/mail/rooms",{params:{id:a.mailRooms.checked}}).success(function(){g.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){g.show(d.instant(a.message),"danger")})}),a.$on("$destroy",function(){f.unsyncUpdates("mail_room")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.inbox.incoming",{url:"/incoming",templateUrl:"app/mail/inbox/incoming/incoming.html",controller:"MailIncomingCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("MailRoomCtrl",["$scope","$http","$stateParams","$timeout","$cookieStore","$location","$translate","$log","$uibModal","xAlert","Auth","socket","FileUploader","MailMessage","MailAttachment",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){var p=a.uploader=new m({url:"api/mail/attachments",autoUpload:!0,withCredentials:!0,headers:{Authorization:"Bearer "+e.get("token")}}),q={MailAttachments:[]};p.removeFromQueue=function(a){var b=this;o["delete"]({id:a.basename}).$promise.then(function(){var c=b.getIndexOfItem(a),d=b.queue[c];d.isUploading&&d.cancel(),b.queue.splice(c,1),d._destroy(),b.progress=b._getTotalProgress(),q.MailAttachments=_.reject(q.MailAttachments,{basename:a.basename})})["catch"](function(){j.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},p.onErrorItem=function(){j.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},p.onSuccessItem=function(a,b,c,d){console.info("onSuccessItem",a,b,c,d);var e={size:b.size,path:b.path,name:b.name,basename:b.basename,type:b.type};a=_.merge(a,e),q.MailAttachments.push(e)},a.retry=function(a){var b=i.open({animation:!0,templateUrl:"app/mail/inbox/room/room.retry.modal.html",controller:function(a,c){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(){c.close()},a.cancel=function(){c.dismiss("cancel")}}});b.result.then(function(){n.update({id:a,status:"SENDING"},function(a){console.log(a)})},function(){h.info("Modal dismissed at: "+new Date)})},a.initRoomView=function(){a.Auth=k,a.forms={},a.form={to:[],sto:[],cc:[],scc:[]},b.get("/api/agents").success(function(b){a.agents=b.rows}),b.get("/api/mail/accounts").success(function(b){a.mailAccounts=b.rows}),b.get("/api/mail/rooms/"+c.id).success(function(c){console.log("mailRoom",c),a.mailRoom=c,l.syncUpdatesByAttributes("mail_message",{MailRoomId:a.mailRoom.id},a.mailRoom.MailMessages);var d=_.last(a.mailRoom.MailMessages);d&&a.mailRoom.MailAccount&&(a.form.from={name:a.mailRoom.MailAccount.name,address:a.mailRoom.MailAccount.address,id:a.mailRoom.MailAccount.id},a.form.to=_.remove(_.union(d.to?d.from.split(";"):[],d.cc?d.cc.split(";"):[],d.bcc?d.bcc.split(";"):[]),function(b){return b!==a.mailRoom.MailAccount.address}),a.form.cc=_.remove(_.union(d.to?d.from.split(";"):[],d.cc?d.to.split(";"):[],d.bcc?d.bcc.split(";"):[]),function(b){return b!==a.mailRoom.MailAccount.address}),a.form.bcc=_.remove(_.union(d.to?d.from.split(";"):[],d.cc?d.cc.split(";"):[],d.bcc?d.to.split(";"):[]),function(b){return b!==a.mailRoom.MailAccount.address})),"NEW"===a.mailRoom.status&&b.put("/api/mail/rooms/"+a.mailRoom.id,{status:"OPEN"})}).error(function(){})},a.sendMail=function(){var b;a.mailRoom&&(b=angular.copy(a.mailRoom.MailMessages),b=_.reject(b,function(a){return"RECEIVED"!==a.status}),b=_.sortBy(b,"id")),q=_.merge(q,{mailAccountId:a.form.from.id,status:"SENDING",roomStatus:"OPEN",from:a.form.from.address,to:a.form.sto.join(";")?a.form.sto.join(";"):null,cc:a.form.scc.join(";")?a.form.scc.join(";"):null,subject:a.form.subject||a.mailRoom.subject||null,html:a.form.html||null,text:a.form.text||null,MailRoomId:a.mailRoom?a.mailRoom.id:null}),b&&_.last(b)&&(q.inReplyTo=_.last(b).messageId),n.save(q,function(){j.show(g.instant("MESSAGE_MAIL_MESSAGE_SEND_SUCCESS"),"success")},function(){j.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.cancel=function(){a.form.sto=[],a.form.scc=[],delete a.form.text},a.updateStatus=function(d){b.put("/api/mail/rooms/"+c.id,{status:d}).success(function(b){a.mailRoom.status=b.status,j.show(g.instant("MESSAGE_STATUS_UPDATE_SUCCESS"),"success"),f.path("/mail/inbox/incoming")}).error(function(){j.show(g.instant("MESSAGE_STATUS_UPDATE_FAILURE"),"danger")})},a.assignAgents=function(){var a=i.open({animation:!0,templateUrl:"app/mail/inbox/room/room.agents.modal.html",controller:function(b,d,e,f){b.initModal=function(){e.get().$promise.then(function(a){console.log(a),b.agents=a.rows})["catch"](function(a){console.error(a)}),f.query({id:c.id,controller:"agents"}).$promise.then(function(a){console.log(a),b.item={agents:_.pluck(a,"id")}})["catch"](function(a){console.error(a)}),b.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{classes:"btn btn-success",text:"APPLICATION_RETRY",click:function(b){a.close(b)}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(b){a.dismiss(b)}}]}},b.ok=function(){return f.update({id:c.id,controller:"agents",agents:b.item.agents}).$promise.then(function(){d.close()})["catch"](function(a){console.error(a)})},b.cancel=function(){d.dismiss("cancel")}}});a.result.then(function(){},function(){h.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").factory("MailRoom",["$resource",function(a){return a("/api/mail/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.inbox.room",{url:"/room/:id",templateUrl:"app/mail/inbox/room/room.html",controller:"MailRoomCtrl",authenticate:!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail",{url:"/mail",template:"<div ui-view></div>","abstract":!0})}]),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","$http","$translate","$rootScope","socket","Modal","stResource","xAlert",function(a,b,c,d,e,f,g,h){a.$on("$destroy",function(){e.unsyncUpdates("mail_queue")}),a.conf={queuesByPage:{name:"10",value:10}},a.queuesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.mailQueues={checked:[]},a.check=function(b,c){c?a.mailQueues.checked=angular.copy(_.pluck(a.displayedMailQueues,"id")):a.mailQueues.checked=[]},a.getMailQueues=function(b){return _.map(a.displayedMailQueues,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){e.unsyncUpdates("mail_queue"),b.url="/api/mail/queues/",g.getPage(b).then(function(c){a.displayedMailQueues=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(c.queuesByPage,a.displayedMailQueues.length),d.updateTableConfig(a.conf.queuesByPage,a.displayedMailQueues.length)}),e.socket.on("mail_queue:save",function(){a.initList(b)}),e.socket.on("mail_queue:remove",function(c){a.mailQueues.checked=_.without(a.mailQueues.checked,c.id),a.initList(b)})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("/api/mail/queues/"+a).success(function(){h.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){h.show(a.message,"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/mail/queues/",{params:{id:a.mailQueues.checked}}).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){h.show(c.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.queues.list",{url:"/list",templateUrl:"app/mail/queue/list/list.html",controller:"MailQueueListCtrl"})}]),angular.module("xCallyShuttleApp").factory("MailQueue",["$resource",function(a){return a("/api/mail/queues/:id/:controller",{id:"@id"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.queues",{url:"/queues",template:"<div ui-view></div>","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"]})}]}})}]),angular.module("xCallyShuttleApp").controller("MailQueueViewCtrl",["$scope","$http","$translate","$stateParams","xAlert",function(a,b,c,d,e){var f=function(){return{select:function(c){b.post("/api/mail/queues/"+a.queue.id+"/agents",{agents:c}).success(function(){a.getTeams()}).error(function(a){console.error(a)})},deselect:function(c){b.put("/api/mail/queues/"+a.queue.id+"/agents",{agents:c}).success(function(){a.getTeams()}).error(function(a){console.error(a)})}}};a.getQueue=function(){b.get("/api/mail/queues/"+d.id).success(function(b){a.queue=b}).error(function(a){console.error(a)})},a.updateMailQueue=function(){var f=angular.copy(a.queue);b.put("/api/mail/queues/"+d.id,f).success(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(b){e.show(b.message,"success"),a.queue=f})},a.getTeams=function(){b.get("/api/teams").success(function(c){a.teams=c.rows,b.get("/api/mail/user_has_queues",{params:{MailQueueId:a.queue.id}}).success(function(b){ComponentsDropdowns.bindMailQueue(a.teams,_.pluck(b,"UserId"),f)})}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.queues.view",{url:"/view/:id",templateUrl:"app/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.mail.queues.view.settings",{url:"/settings",templateUrl:"app/mail/queue/view/view.settings.html"}).state("main.mail.queues.view.agents",{url:"/agents",templateUrl:"app/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/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").controller("MailQueueWizardCtrl",["$scope","$http","$location","WizardHandler","xAlert",function(a,b,c,d,e){a.forms={},a.item={},a.next=function(){d.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/mail/queues",a.item).success(function(){c.path("/mail/queues/list")}).error(function(a){e.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.queues.wizard",{url:"/wizard",templateUrl:"app/mail/queue/wizard/wizard.html",controller:"MailQueueWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.realtime",{url:"/realtime",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewAgentCtrl",["$scope","$http","socket","MailQueue","Agent",function(a,b,c,d,e){a.gridOptions={enableSorting:!1,enableFiltering:!0,columnDefs:[{name:"queueName",displayName:"Queue"},{name:"agentName",displayName:"Agent",cellClass:"text-center",cellTemplate:'<span data-ng-if="row.entity.agentName">{{row.entity.fullname}} [{{row.entity.agentName}}]</span>'},{name:"online",cellClass:"text-center",cellTemplate:'<span class="badge badge-empty" data-ng-if="row.entity.online != null" data-ng-class="row.entity.online ? \'badge-success\' : \'badge-danger\'"></span>'},{name:"lastLoginAt",cellClass:"text-center",cellTemplate:'<time data-ng-if="row.entity.agentName" is="relative-time" datetime="{{row.entity.lastLoginAt}}">April 1, 2014</time>'}],onRegisterApi:function(b){a.gridApi=b,a.gridApi.treeBase.on.rowExpanded(a,function(b){var c=_.findIndex(a.gridOptions.data,{$$hashKey:b.entity.$$hashKey});b.entity.Users&&b.entity.Users.forEach(function(b){_.find(a.gridOptions.data,{name:b.name})||a.gridOptions.data.splice(c+1,0,b)})})}},d.get(function(b){a.gridOptions.data=[],b.rows.forEach(function(b){b.$$treeLevel=0,b.queueName=b.name,a.gridOptions.data.push(b),b.Users&&b.Users.forEach(function(b){b.agentName=b.name,a.gridOptions.data.push(b)})}),c.socket.on("agent:save",function(b){var c=_.filter(a.gridOptions.data,{agentName:b.name});c.forEach(function(a){a.online=b.online,a.lastLoginAt=b.lastLoginAt})}),c.socket.on("mail_queue:save",function(b){b.$$treeLevel=0,b.queueName=b.name,a.gridOptions.data.push(b)}),c.socket.on("mail_queue:remove",function(b){_.remov(a.gridOptions.data,{queueName:b.name})}),c.socket.on("user_has_mail_queue:save",function(b){var c=_.findIndex(a.gridOptions.data,function(a){return a.queueName&&a.id===b.MailQueueId});e.get({id:b.UserId}).$promise.then(function(b){a.gridOptions.data.splice(c+1,0,{id:b.id,name:b.name,fullname:b.fullname,agentName:b.name,online:b.online,lastLoginAt:b.lastLoginAt})})["catch"](function(a){console.error(a)})}),c.socket.on("user_has_mail_queue:remove",function(b){for(var c=_.findIndex(a.gridOptions.data,function(a){return a.queueName&&a.id===b.MailQueueId}),d=c+1;d<a.gridOptions.data.length;d++)a.gridOptions.data[d].id==b.UserId&&a.gridOptions.data.splice(d,1)})},function(a){console.error(a)}),a.conf={agentsByPage:{name:"10",value:10},labels:["fullname","name","email"]},a.agentsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.$on("$destroy",function(){c.unsyncUpdates("report_mail:save"),c.unsyncUpdates("report_mail:update")}),a.initAgents=function(){b.get("/api/report/mails").success(function(b){a.agents=b,c.socket.on("report_mail:save",function(b){var c=_.find(a.agents,{id:b.id});c||a.agents.unshift(b)}),c.socket.on("report_mail:update",function(b){var c=_.find(a.agents,{id:b.id}),d=a.agents.indexOf(c);c&&_.merge(a.agents[d],b)})}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.realtime.view.agents",{url:"/agents",template:"<div ui-view></div>","abstract":!0}).state("main.mail.realtime.view.agents.queues",{url:"/queues",controller:"MailRealtimeViewAgentCtrl",templateUrl:"app/mail/realtime/view/agent/agent.queues.html"}).state("main.mail.realtime.view.agents.timeline",{url:"/attempts",controller:"MailRealtimeViewAgentCtrl",templateUrl:"app/mail/realtime/view/agent/agent.timeline.html"})}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewSessionCtrl",["$scope","$http","socket",function(a,b,c){a.conf={sessionsByPage:{name:"10",value:10},labels:["fullname","name","email"]},a.sessionsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.$on("$destroy",function(){c.unsyncUpdates("report_mail:save"),c.unsyncUpdates("report_mail:update")}),a.initMails=function(){b.get("/api/report/mail/sessions").success(function(b){a.sessions=b,c.socket.on("report_mail_session:save",function(b){var c=_.find(a.sessions,{id:b.id}),d=a.sessions.indexOf(c);c?_.merge(a.sessions[d],b):a.sessions.unshift(b)})}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewCtrl",["$scope",function(a){a.agents=[{name:"Queues",link:"main.mail.realtime.view.agents.queues"},{name:"Timeline",link:"main.mail.realtime.view.agents.timeline"}],a.sessions=[{name:"Sessions",link:"main.mail.realtime.view.sessions"}]}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.realtime.view",{url:"/view",templateUrl:"app/mail/realtime/view/view.html",controller:"MailRealtimeViewCtrl"}).state("main.mail.realtime.view.sessions",{url:"/sessions",controller:"MailRealtimeViewSessionCtrl",templateUrl:"app/mail/realtime/view/session/session.html"})}]),angular.module("xCallyShuttleApp").controller("MailStatisticsCtrl",["$scope","$http","$translate","socket",function(a,b,c,d){a.message="Hello",a.$translate=c,b.get("api/mail/rooms").success(function(b){a.mailRooms=b,d.syncUpdates("mail_room",a.mailRooms)}),b.get("api/mail/messages").success(function(b){a.mailMessages=b,d.syncUpdates("mail_message",a.mailMessages)})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.statistics",{url:"/statistics",templateUrl:"app/mail/statistics/statistics.html",controller:"MailStatisticsCtrl",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.mail.statistics.summary",{url:"/summary",templateUrl:"app/mail/statistics/statistics.summary.html",controller:"MailStatisticsCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile-old.css"]})}]}})}]),angular.module("xCallyShuttleApp").controller("MailTimelineListCtrl",["$scope","$http","socket",function(a,b,c){function d(b){a.events>50&&a.events.pop(),a.events.unshift(b)}a.initList=function(){a.events=[],b.get("/api/events/channel/mail").success(function(a){a.forEach(d),c.socket.on("event:chat:save",d)}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.timeline.list",{url:"/list",templateUrl:"app/mail/timeline/list/list.html",controller:"MailTimelineListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/timeline.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.timeline",{url:"/timeline",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChooseContactModalCtrl",["$scope","$uibModalInstance","params",function(a,b,c){a.forms={choose:void 0},a.contacts=c.contacts,a.item={},a.ok=function(){a.item.contactName=_.find(a.contacts,{id:a.item.contactId}).name,b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("MainCtrl",["$scope","$http","$rootScope","$cookies","$translate","$interval","socket","Auth","xAlert","$uibModal","$log","$state",function(a,b,c,d,e,f,g,h,i,j,k,l){function m(b){a.workspaces.push({name:b.contactName,type:"contact",contactID:b.contactId,active:!0})}function n(b){a.workspaces.push({name:"New Contact",type:"newContact",active:!0,data:b})}a.awesomeThings=[],a.isLoggedIn=h.isLoggedIn,a.isAdmin=h.isAdmin,a.getCurrentUser=h.getCurrentUser,a.workspaces=[],a.mainTab={active:!0},a.closeTab=function(b){a.workspaces.splice(b,1)},a.createContact=function(c,d){d.tags=d.tags?d.tags.join(","):void 0,_.forOwn(d.customFields,function(a,b){""===a&&delete d.customFields[b]}),d.id?b.put("/api/contactmanager/join/"+d.id,d).success(function(b){a.workspaces.splice(c,1),m(b),i.show(e.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){i.show(a.message,"danger")}):b.post("/api/contactmanager",d).success(function(b){a.workspaces.splice(c,1),m({contactName:b.fullname,contactId:b.id}),i.show(e.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){i.show(a.message,"danger")})},a.chooseContact=function(a){var b=j.open({animation:!0,templateUrl:"app/main/chooseContact.modal.html",controller:"ChooseContactModalCtrl",resolve:{params:function(){return{contacts:JSON.parse(a.contacts)}}}});b.result.then(function(a){m(a)},function(){k.info("Modal dismissed at: "+new Date)})},a.updateContact=function(a,c){c.tags=c.tags?c.tags.join(","):void 0,c.CompanyId||(c.CompanyId=null),b.put("/api/contactmanager/"+c.id,c).success(function(){i.show(e.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){i.show(e.instant(a.message)+"!","danger")})},g.socket.on("report_integration:contactmanager",function(b){switch(b.event){case"openContactTab":a.chooseContact(b);break;case"newContactTab":n(b)}}),a.$on("$viewContentLoaded",function(){Metronic.init()}),c.language=e.use(),a.changeLanguage=function(a){e.use(a).then(function(a){c.language=a,("main.jscripty.projects.view"===l.current.name||"main.square.projects.view"===l.current.name)&&l.go(l.current,{},{reload:!0})})["catch"](function(a){console.error(a)})},a.$on("$destroy",function(){})}]),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("queryBuilder",["$compile","xAlert","$http",function(a,b,c){return{restrict:"E",scope:{group:"=",fields:"=",operators:"=",properties:"="},templateUrl:"app/main/template.queryBuilderView.html",compile:function(d,e){var f,g;return f=d.contents().remove(),function(d,e,h){d.booleans=[{name:"AND"},{name:"OR"}],d.addCondition=function(a){"CONDITION"==a?d.group.rules.push({operator:"=",field:"",data:""}):d.group.rules.push({field:"",data:""})},d.removeCondition=function(a){d.group.rules.splice(a,1)},d.addGroup=function(a){d.group.rules.push({group:{"boolean":"AND",rules:[],type:a,main:!1}})},d.choices=[],d.removeGroup=function(){d.$parent.group.rules.splice(d.$parent.$index,1)},d.initChoices=function(a,b,c,e,f,g,h){a[g]&&d.getResults(b,c,e,f)},d.clearData=function(a,b){for(var c in b)a[b[c]]&&delete a[b[c]]},d.getResults=function(a,e,f,g,h){if(a){var i="",j={};i=a.parseUrl?a.parseUrl.replace("%s",e):a.url,a.query&&h&&(j[a.query.field]=h),c.get(i,{params:j}).success(function(a){var b=[];a.rows&&(a=a.rows),a.forEach(function(a){b.push({name:a.name,value:a.id})}),d.choices[f]||(d.choices[f]=[]),d.choices[f][g]=b}).error(function(a){b.show(a.message,"danger")})}},g||(g=a(f)),e.append(g(d,function(a){return a}))}}}}]).directive("newContact",["$compile","xAlert","$http","socket",function(a,b,c,d){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/main/template.newContactTab.html",compile:function(a,e){return function(a,e,f){a.forms={general:{}},a.item={Phones:[],Emails:[],customFields:{}},a.joinPrompt=!1,a.checkboxes={},a.workspace.data&&(a.item.fullname=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.item.Phones.push({phone:a.workspace.data.calleridnum}),a.workspace.data.from&&a.item.Emails.push({email:a.workspace.data.from})),a.getTags=function(){c.get("/api/tags").success(function(b){a.tags=_.pluck(b.rows,"name")}).error(function(a){console.error(a),b.show(a.message,"danger")})},a.getCompanies=function(){c.get("/api/contactmanager/companies").success(function(b){a.companies=b.rows,d.syncUpdates("company",a.companies)}).error(function(a){console.error(a),b.show(a.message,"danger")})},a.getCustomFields=function(){c.get("/api/contactmanager/customfields").success(function(b){a.customFields=b.rows,a.customFields.forEach(function(a){a.values=JSON.parse(a.values)}),d.syncUpdates("custom_field",a.customFields,function(a,b){"string"==typeof b.values&&(b.values=JSON.parse(b.values))})}).error(function(a){console.error(a),b.show(a.message,"danger")})},a.addField=function(b){a.item[b].push({}),a.joinPrompt=!1},a.removeField=function(b,c){a.item[b].splice(c,1),a.joinPrompt=!1},a.getTags(),a.getCompanies(),a.getCustomFields()}}}}]).directive("contact",["$compile","xAlert","$http","socket",function(a,b,c,d){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/main/template.contactTab.html",compile:function(a,e){return function(a,e,f){a.moment=moment,a.forms={general:{}},a.detail={tab:"main"},a.log={journal:{show:"Phones",type:"Inbounds",detail:"general"},history:{show:"Phones",type:"HistoryInbounds",detail:"general"}},a.columns={Phones:{general:{header:["APPLICATION_SOURCE","APPLICATION_DESTINATION","APPLICATION_DATE"],indexes:["source","destination","createdAt"]},QueueCalls:{header:["APPLICATION_CALLERID","APPLICATION_QUEUE","APPLICATION_DATE"],indexes:["calleridnum","queue","createdAt"]},ReportAgents:{header:["APPLICATION_AGENT","APPLICATION_QUEUE","APPLICATION_DATE"],indexes:["membername","queue","agentcalledAt"]},HistoryQueueCalls:{header:["APPLICATION_CALLERID","APPLICATION_QUEUE","APPLICATION_DATE"],indexes:["calleridnum","queue","createdAt"]},HistoryReportAgents:{header:["APPLICATION_AGENT","APPLICATION_QUEUE","APPLICATION_DATE"],indexes:["membername","queue","createdAt"]}},Emails:{general:{header:["APPLICATION_FROM","APPLICATION_TO","APPLICATION_DATE"],indexes:["from","to","createdAt"]}}},a.rows={journal:[],history:[]},a.itemsByPage=15,a.rowCollection=[],a._=_,a.getRows=function(b){a.rows[b]=[],_.forEach(a.contact[a.log[b].show],function(c){console.log(c),"general"===a.log[b].detail?a.rows[b]=a.rows[b].concat(c[a.log[b].type]):_.forEach(c[a.log[b].type],function(c){a.rows[b]=a.rows[b].concat(c[a.log[b].detail])})}),console.log(a.rows[b])},a.addField=function(b){a.contact[b].push({})},a.removeField=function(b,c){a.contact[b].splice(c,1)},a.getContact=function(d){console.log("get contact in tab"),c.get("/api/contactmanager/"+d).success(function(b){b.tags=b.tags?b.tags.split(","):[],a.contact=b,a.getRows("journal"),a.getRows("history"),a.contact.customFields={},a.contact.CustomFields.forEach(function(b){a.contact.customFields[b.id]=b.ContactHasCustomField.value})}).error(function(a){console.error(a),b.show(a.message,"danger")})},a.getTags=function(){c.get("/api/tags").success(function(b){a.tags=_.pluck(b.rows,"name")}).error(function(a){console.error(a),b.show(a.message,"danger")})},a.getCompanies=function(){c.get("/api/contactmanager/companies").success(function(b){a.companies=b.rows,d.syncUpdates("company",a.companies)}).error(function(a){console.error(a),b.show(a.message,"danger")})},a.getCustomFields=function(){c.get("/api/contactmanager/customfields/all").success(function(b){a.customFields=b,a.customFields.forEach(function(a){a.values=JSON.parse(a.values)}),d.syncUpdates("custom_field",a.customFields,function(a,b){"string"==typeof b.values&&(b.values=JSON.parse(b.values))})}).error(function(a){console.error(a),b.show(a.message,"danger")})},a.getTags(),a.getCompanies(),a.getCustomFields(),a.getContact(a.workspace.contactID)}}}}]).directive("reportBuilder",["$compile",function(a){return{restrict:"E",scope:{group:"=",fields:"=",forms:"=",firstCall:"="},templateUrl:"app/main/template.reportBuilderView.html",compile:function(b,c){var d,e;return d=b.contents().remove(),function(b,c,f){b.operators=[{name:"AND"},{name:"OR"}],b.conditions=[{name:"="},{name:"!="},{name:"<"},{name:"<="},{name:">"},{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])})}}}]),angular.module("xCallyShuttleApp").filter("capitalize",function(){return function(a){return a?a.replace(/([^\W_]+[^\s-]*) */g,function(a){return a.charAt(0).toUpperCase()+a.substr(1).toLowerCase()}):""}}).filter("salesforce",function(){var a=["CallDisposition","CallDurationInSeconds","CallObject","CallType","IsArchived","Priority","Status","Type"];return function(b){return _.remove(b,function(b){return b.custom===!1&&a.indexOf(b.name)<0}),b}}).filter("sugarcrm",function(){var a=["account_id","account_name","account_name1","assigned_user_name","assigned_user_id","case_number","created_by","created_by_name","date_entered","date_modified","deleted","description","id","modified_by_name","modified_user_id","name"];return function(b){return _.remove(b,function(b){return a.indexOf(b.name)>=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}}),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/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("xAlert",["$translate","Notification",function(a,b){return{show:function(c,d){switch(d){case"success":b.success({message:c,title:'<i class="glyphicon glyphicon-ok"></i> <strong>'+a.instant("MESSAGE_SUCCESS")+"!</strong>",delay:5e3});break;case"info":b.info({message:c,title:'<i class="glyphicon glyphicon-info-sign"></i> <strong>'+a.instant("MESSAGE_INFO")+"!</strong>",delay:5e3});break;case"danger":b.error({message:c,title:'<i class="glyphicon glyphicon-exclamation-sign"></i> <strong>'+a.instant("MESSAGE_ERROR")+"!</strong>",delay:1e4});break;case"warning":b.warning({message:c,title:'<i class="glyphicon glyphicon-warning-sign"></i> <strong>'+a.instant("MESSAGE_WARNING")+"!</strong>",delay:1e4});break;default:b.info(c)}}}}]).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}}}]),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,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"})}]),angular.module("xCallyShuttleApp").controller("MotionbarCtrl",["$scope","$stateParams","$cookieStore","settings","Auth",function(a,b,c,d,e){e.loginWithToken(b.token,b.userId,b.name),a.getCurrentUser=e.getCurrentUser,d.layout.pageQuickSidebarOpened=!0}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("motionbar",{url:"/motionbar",template:"<div ui-view></div>","abstract":!0}).state("motionbar.chat",{url:"/chat?token&userId&name",templateUrl:"app/motionbar/motionbar.chat.html",controller:"MotionbarCtrl"})}]),angular.module("xCallyShuttleApp").controller("SalesforceListCtrl",["$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(_.pluck(a.displayedSalesforceAccounts,"id")):a.accounts.checked=[]},a.getAccounts=function(b){return _.map(a.displayedSalesforceAccounts,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("salesforce_account"),b.url="/api/salesforce/accounts",h.getPage(b).then(function(d){a.displayedSalesforceAccounts=d.rows,b.pagination.numberOfPages=d.total_pages,c.updateTableConfig(a.accountsByPage,a.displayedSalesforceAccounts.length),c.updateTableConfig(a.conf.accountsByPage,a.displayedSalesforceAccounts.length)}),f.socket.on("salesforce_account:save",function(){a.initList(b)}),f.socket.on("salesforce_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/salesforce/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/salesforce/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/salesforce/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.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").config(["$stateProvider",function(a){a.state("main.salesforce",{url:"/salesforce",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SalesforceViewCtrl",["$scope","$http","$stateParams","$translate","$location","WizardHandler","socket","xAlert","Modal","$filter",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("salesforce_configuration"),g.unsyncUpdates("salesforce_field")}),a.initView=function(){b.get("/api/salesforce/accounts/"+c.id).success(function(b){a.account=b}).error(function(a){h.show(a.message,"danger")})},a.updateItem=function(){b.put("/api/salesforce/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/salesforce/configurations",{params:{AccountId:c.id}}).success(function(b){a.configurations=b,g.socket.on("salesforce_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/salesforce/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/salesforce/configurations",a.configuration).success(function(a){e.path("salesforce/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/salesforce/accounts/"+c.id+"/fields").success(function(b){a.accountFields=_.sortByOrder(j("salesforce")(b),"name","asc")}).error(function(a){h.show(a.message,"danger")})},a.getConfiguration=function(){b.get("/api/salesforce/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("salesforce_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/salesforce/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/salesforce/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/salesforce/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/salesforce/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/salesforce/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){b.content="",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",{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"}).state("main.salesforce.view.configurations",{url:"/configurations",templateUrl:"app/salesforce/view/view.configurations.html"}).state("main.salesforce.view.configurations.settings",{url:"/settings/:configurationId",templateUrl:"app/salesforce/view/view.configurationSettings.html",controller:"SalesforceViewCtrl"}).state("main.salesforce.view.configuration",{url:"/configuration",templateUrl:"app/salesforce/view/view.configuration.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(){e.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})}}]),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:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("LicenseViewCtrl",["$scope","$rootScope","$translate","License","xAlert",function(a,b,c,d,e){a.initView=function(){d.get(function(b){a.item=b.license})},a.submitRequest=function(){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")}})}}]),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").config(["$stateProvider",function(a){a.state("main.setting",{url:"/setting",template:"<div ui-view></div>","abstract":!0})}]),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:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SmtpViewCtrl",["$scope","$stateParams","$translate","MailServerOut","xAlert",function(a,b,c,d,e){a.initView=function(){a.item={},d.get({id:"service"}).$promise.then(function(b){a.item=b})["catch"](function(a){e.show(a.message,"danger")})},a.updateItem=function(){a.item.id?d.update({id:a.item.id},a.item).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.message,"danger")}):(a.item.service=!0,d.save(a.item).$promise.then(function(b){a.item=b,e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.message,"danger")}))},a.test=function(){d.test({id:a.item.id,controller:"test"}).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.statusText,"danger")})}}]),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("TemplateListCtrl",["$scope","$http","$translate","$rootScope","socket","Modal","stResource","xAlert",function(a,b,c,d,e,f,g,h){a.$on("$destroy",function(){e.unsyncUpdates("mail_template")}),a.conf={templatesByPage:{name:"10",value:10}},a.templatesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.Templates={checked:[]},a.check=function(b,c){c?a.Templates.checked=angular.copy(_.pluck(a.displayedTemplates,"id")):a.Templates.checked=[]},a.getTemplates=function(b){return _.map(a.displayedTemplates,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){e.unsyncUpdates("mail_template"),b.url="/api/mail/templates/",g.getPage(b).then(function(c){a.displayedTemplates=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(c.templatesByPage,a.displayedTemplates.length),d.updateTableConfig(a.conf.templatesByPage,a.displayedTemplates.length)}),e.socket.on("mail_template:save",function(){a.initList(b)}),e.socket.on("mail_template:remove",function(c){a.Templates.checked=_.without(a.Templates.checked,c.id),a.initList(b)})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("/api/mail/templates/"+a).success(function(){h.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){h.show(a.message,"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/mail/templates/",{params:{id:a.Templates.checked}}).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){h.show(c.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.templates.list",{url:"/list",templateUrl:"app/setting/template/list/list.html",controller:"TemplateListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Template",["$resource",function(a){return a("/api/mail/templates/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.templates",{url:"/templates",template:"<div ui-view></div>","abstract":!0})}]),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.setting.templates.view",{url:"/view/:id",templateUrl:"app/setting/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.setting.templates.view.settings",{url:"/settings",templateUrl:"app/setting/template/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TemplateWizardCtrl",["$scope","$location","$http","WizardHandler","xAlert","MailServerOut","Template",function(a,b,c,d,e,f,g){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.mailAccounts=f.query()},a.next=function(){d.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){var c={name:a.item.name,description:a.item.description,subject:a.item.subject||null,html:a.item.html||null,text:a.item.text||null};g.save(c).$promise.then(function(){b.path("/templates/list")})["catch"](function(a){e.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.templates.wizard",{url:"/wizard",templateUrl:"app/setting/template/wizard/wizard.html",controller:"TemplateWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("UpdateListCtrl",["$scope","$uibModal","$log","$translate","Update","xAlert",function(a,b,c,d,e,f){a.conf={updatesByPage:{name:"10",value:10},labels:["fullname","name","email"]},a.updatesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.initList=function(){e.query(function(b){a.updates=b})},a.pull=function(){var a=b.open({animation:!0,templateUrl:"app/setting/update/list/list.pull.html",controller:function(a,b){a.modal={dismissable:!0,title:"Confirm Checkout",html:"Are you sure you want to checkout?",buttons:[{classes:"btn btn-success",text:"Checkout",click:function(){b.close()}},{classes:"btn default",text:"Cancel",click:function(){b.dismiss("cancel")}}]}}});a.result.then(function(){e.pull(function(a){a.summary.changes?f.show(d.instant("APPLICATION_UPDATED_TO_LATEST_VERSION"),"success"):f.show(d.instant("APPLICATION_ALREADY_UP_TO_DATE"),"info")},function(a){f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},function(){c.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.updates.list",{url:"/list",templateUrl:"app/setting/update/list/list.html",controller:"UpdateListCtrl",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("Update",["$resource",function(a){return a("/api/updates/:id/:controller",{id:"@id"},{pull:{method:"GET",params:{id:"pull"}},checkout:{method:"GET",params:{id:"checkout"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.updates",{url:"/updates",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SoundListCtrl",["$scope","$http","socket","Modal","$q","FileUploader","$translate","xAlert","$cookieStore","$sce",function(a,b,c,d,e,f,g,h,i,j){a.isCollapsed=!0,a.audioSources={},a["delete"]=d.confirm["delete"](function(a){b["delete"]("/api/uploads/"+a).success(function(a){}).error(function(a){console.log(a)})}),a.getAudioSrc=function(a){return"/api/uploads/"+a},a.updateAudio=function(a,c){var d=e.defer();return b.put("/api/uploads/"+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("upload")}),a.initList=function(){b.get("/api/uploads").success(function(b){a.sounds=b,a.sounds.forEach(function(a){k(a)}),c.syncUpdates("upload",a.sounds)}).error(function(a){})};var k=function(c){b.get("/api/uploads/stream/"+c.id).success(function(b){a.audioSources[c.id]=b}).error(function(a){console.error(a)})};a.getSecureSrc=function(a){return j.trustAsResourceUrl("data:audio/ogg;base64,"+a)},a.getSecureDownloadSrc=function(a){return j.trustAsResourceUrl("data:application/octet-stream;charset=utf-16le;base64,"+a)};var l=a.uploader=new f({url:"/api/uploads",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.sounds.list",{url:"/list",templateUrl:"app/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").config(["$stateProvider",function(a){a.state("main.sounds",{url:"/sounds",templateUrl:"app/sound/sound.html","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SquareOdbcListCtrl",["$scope","$http","socket","$rootScope","$translate","xAlert","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={odbcsByPage:{name:"10",value:10}},a.odbcsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.Odbcs={checked:[]},a.check=function(b,c){c?a.Odbcs.checked=angular.copy(_.pluck(a.displayedOdbcs,"id")):a.Odbcs.checked=[]},a.getOdbcs=function(b){return _.map(a.displayedOdbcs,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("square_odbc"),b.url="/api/square/odbc",h.getPage(b).then(function(c){a.displayedOdbcs=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.odbcsByPage,a.displayedOdbcs.length),d.updateTableConfig(a.conf.odbcsByPage,a.displayedOdbcs.length)}),c.socket.on("square_odbc:save",function(){a.initList(b)}),c.socket.on("square_odbc:remove",function(c){a.Odbcs.checked=_.without(a.Odbcs.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/square/odbc/"+a).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/square/odbc",{params:{id:a.Odbcs.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.odbcs.list",{url:"/list",templateUrl:"app/square/odbc/list/list.html",controller:"SquareOdbcListCtrl",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.square.odbcs",{url:"/odbcs",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SquareOdbcViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){a.getOdbc=function(){b.get("/api/square/odbc/"+e.id).success(function(b){delete b.pwd,a.odbc=b}).error(function(a){console.error(a),f.path("/square/odbcs/list")})},a.updateOdbc=function(){var f=angular.copy(a.odbc);b.put("/api/square/odbc/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.odbc=f})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.odbcs.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.odbcs.view.settings",{url:"/settings",templateUrl:"app/square/odbc/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("SquareOdbcWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","$translate",function(a,b,c,d,e,f){a.forms={odbc:void 0},a.item={},a.next=function(){b.post("/api/square/odbc/validate/",a.item).success(function(a){a.length?e.show(f.instant("MESSAGE_EXIST_ODBC"),"danger"):c.wizard().next()}).error(function(a){e.show(f.instant(a.message),"danger")})},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/square/odbc/",a.item).success(function(){d.path("/square/odbcs/list")}).error(function(a){e.show(f.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.odbcs.wizard",{url:"/wizard",templateUrl:"app/square/odbc/wizard/wizard.html",controller:"SquareOdbcWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("SquareProjectListCtrl",["$scope","$http","socket","$rootScope","$translate","xAlert","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={projectsByPage:{name:"10",value:10}},a.projectsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.Projects={checked:[]},a.check=function(b,c){c?a.Projects.checked=angular.copy(_.pluck(a.displayedProjects,"id")):a.Projects.checked=[]},a.getProjects=function(b){return _.map(a.displayedProjects,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("square_project"),b.url="/api/square/projects",h.getPage(b).then(function(c){a.displayedProjects=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.projectsByPage,a.displayedProjects.length),d.updateTableConfig(a.conf.projectsByPage,a.displayedProjects.length)}),c.socket.on("square_project:save",function(){a.initList(b)}),c.socket.on("square_project:remove",function(c){a.Projects.checked=_.without(a.Projects.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/square/projects/"+a).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/square/projects",{params:{id:a.Projects.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})})}]),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,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.square.projects",{url:"/projects",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SquareProjectViewCtrl",["$scope","$http","$stateParams","socket","Auth","Modal","xAlert","$translate","$rootScope",function(a,b,c,d,e,f,g,h,i){
-a.squareProject={},a.getProject=function(){b.get("/api/square/projects/"+c.id).success(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 d=new Image;d.src="assets/plugins/mxgraph/images/1x1.png?msg="+encodeURIComponent(a)+"&url="+encodeURIComponent(b)+"&lnum="+encodeURIComponent(c)}}catch(e){}},b.token=e.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)}}),d.syncUpdates("square_project",[b],function(a,c,d){c.id===b.id})})}}]),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").controller("SquareProjectWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","$translate",function(a,b,c,d,e,f){a.forms={project:void 0},a.item={},a.next=function(){b.post("/api/square/projects/validate/",a.item).success(function(a){a.length?e.show(f.instant("MESSAGE_EXIST_PROJECT"),"danger"):c.wizard().next()}).error(function(a){e.show(f.instant(a.message),"danger")})},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/square/projects/",a.item).success(function(){d.path("/square/projects/list")}).error(function(a){e.show(f.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.projects.wizard",{url:"/wizard",templateUrl:"app/square/project/wizard/wizard.html",controller:"SquareProjectWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square",{url:"/square",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SugarcrmListCtrl",["$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(_.pluck(a.displayedSugarcrmAccounts,"id")):a.accounts.checked=[]},a.getAccounts=function(b){return _.map(a.displayedSugarcrmAccounts,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("sugarcrm_account"),b.url="/api/sugarcrm/accounts",h.getPage(b).then(function(d){a.displayedSugarcrmAccounts=d.rows,b.pagination.numberOfPages=d.total_pages,c.updateTableConfig(a.accountsByPage,a.displayedSugarcrmAccounts.length),c.updateTableConfig(a.conf.accountsByPage,a.displayedSugarcrmAccounts.length)}),f.socket.on("sugarcrm_account:save",function(){a.initList(b)}),f.socket.on("sugarcrm_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/sugarcrm/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/sugarcrm/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/sugarcrm/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.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:"<div ui-view></div>","abstract":!0})}]),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").controller("TagListCreateModalCtrl",["$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("TagListCtrl",["$scope","$http","socket","$rootScope","$translate","xAlert","Modal","stResource","$uibModal","$log",function(a,b,c,d,e,f,g,h,i,j){a.conf={tagsByPage:{name:"10",value:10}},a.tagsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.Tags={checked:[]},a.check=function(b,c){c?a.Tags.checked=angular.copy(_.pluck(a.displayedTags,"id")):a.Tags.checked=[]},a.getTags=function(b){return _.map(a.displayedTags,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("tag"),b.url="/api/tags",h.getPage(b).then(function(c){console.log(c),a.displayedTags=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.tagsByPage,a.displayedTags.length),d.updateTableConfig(a.conf.tagsByPage,a.displayedTags.length)}),c.socket.on("tag:save",function(){console.log("save"),a.initList(b)}),c.socket.on("tag:remove",function(c){a.Tags.checked=_.without(a.Tags.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/tags/"+a).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/tags",{params:{id:a.Tags.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.create=function(){var a=i.open({animation:!0,templateUrl:"app/tag/list/create.modal.html",controller:"TagListCreateModalCtrl"});a.result.then(function(a){b.post("/api/tags",a).then(function(a){f.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.data.message,"danger")})},function(){j.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tags.list",{url:"/list",templateUrl:"app/tag/list/list.html",controller:"TagListCtrl",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.tags",{url:"/tags",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("TagViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){a.getTag=function(){b.get("/api/tags/"+e.id).success(function(b){a.tag=b}).error(function(a){console.error(a),f.path("/tags/list")})},a.updateTag=function(){var f=angular.copy(a.tag);b.put("/api/tags/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.tag=f})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tags.view",{url:"/view/:id",templateUrl:"app/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.tags.view.settings",{url:"/settings",templateUrl:"app/tag/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TeamListCtrl",["$scope","$http","$translate","$rootScope","xAlert","socket","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={teamsByPage:{name:"10",value:10}},a.teamsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.teams={checked:[]},a.check=function(b,c){c?a.teams.checked=angular.copy(_.pluck(a.displayedTeams,"id")):a.teams.checked=[]},a.getTeams=function(b){return _.map(a.displayedTeams,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("team"),b.url="/api/teams/",h.getPage(b).then(function(c){a.displayedTeams=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.teamsByPage,a.displayedTeams.length),d.updateTableConfig(a.conf.teamsByPage,a.displayedTeams.length)}),f.socket.on("team:save",function(){a.initList(b)}),f.socket.on("team:remove",function(c){a.teams.checked=_.without(a.teams.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("api/teams/"+a).success(function(){e.show(c.instant("MESSAGE_TEAM_DELETE_SUCCESS"),"success")}).error(function(){e.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/teams",{params:{id:a.teams.checked}}).success(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){e.show(c.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.teams.list",{url:"/list",templateUrl:"app/team/list/list.html",controller:"TeamListCtrl",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.teams",{url:"/teams",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("TeamViewCtrl",["$scope","$http","$stateParams","$translate","xAlert",function(a,b,c,d,e){a.message="Hello";var f=function(){return{select:function(c){b.post("/api/teams/"+a.team.id+"/agents",{agents:c}).error(function(a){console.error(a)})},deselect:function(c){b.put("/api/teams/"+a.team.id+"/agents",{agents:c}).error(function(a){console.error(a)})}}};a.initView=function(){b.get("/api/teams/"+c.id).success(function(b){a.team=b}).error(function(a){e.show(a.message,"danger")})},a.initAgents=function(){b.get("/api/agents").success(function(d){a.agents=d.rows,b.get("/api/user_has_teams",{params:{TeamId:c.id}}).success(function(b){ComponentsDropdowns.bindTeam(_.pluck(b,"UserId"),_.map(a.agents,function(a){return{id:a.id,name:a.name}}),f)}).error(function(a){console.error(a)})})},a.updateItem=function(){var f=angular.copy(a.team),g=angular.copy(a.team);b.put("/api/teams/"+c.id,f).success(function(){e.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(b){a.team=g,b.errors.forEach(function(a){e.show(a.message,"danger")})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.teams.view",{url:"/view/:id",templateUrl:"app/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.teams.view.agents",{url:"/agents",templateUrl:"app/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/scripts/components-dropdowns.js"]}])}]}}).state("main.teams.view.settings",{url:"/settings",templateUrl:"app/team/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TeamWizardCtrl",["$scope","$http","$translate","$location","WizardHandler","xAlert",function(a,b,c,d,e,f){a.forms={info:void 0},a.item={},a.createItem=function(){b.post("api/teams",a.item).success(function(){f.show(c.instant("MESSAGE_TEAM_CREATE_SUCCESS"),"success"),d.path("/teams/list")}).error(function(a){a.errors.forEach(function(a){f.show(a.message,"danger")})})},a.goNext=function(){e.wizard().next()},a.formValidation=function(a){return a}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.teams.wizard",{url:"/wizard",templateUrl:"app/team/wizard/wizard.html",controller:"TeamWizardCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({name:"ui.select",insertBefore:"#ng_load_plugins_before",files:["assets/plugins/ui-select/select.min.css","assets/plugins/ui-select/select.min.js"]})}]}})}]),angular.module("xCallyShuttleApp").controller("TriggerListCtrl",["$scope","$http","$translate","$rootScope","stResource","Modal","socket","xAlert",function(a,b,c,d,e,f,g,h){a.conf={TriggersByPage:{name:"10",value:10}},a.TriggersByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],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.Triggers={checked:[]},a.check=function(b,c){c?a.Triggers.checked=angular.copy(_.pluck(a.displayedTriggers,"id")):a.Triggers.checked=[]},a.getTriggers=function(b){return _.map(a.displayedTriggers,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){g.unsyncUpdates("trigger"),b.url="/api/triggers",e.getPage(b).then(function(c){a.displayedTriggers=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.TriggersByPage,a.displayedTriggers.length),d.updateTableConfig(a.conf.TriggersByPage,a.displayedTriggers.length)}),g.socket.on("trigger:save",function(){a.initList(b)}),g.socket.on("trigger:remove",function(c){a.Triggers.checked=_.without(a.Triggers.checked,c.id),a.initList(b)})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("/api/triggers/"+a).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/triggers",{params:{id:a.Triggers.checked}}).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){h.show(c.instant(a.message),"danger")})}),a.updateItem=function(a,d){b.put("api/triggers/"+a,{status:d}).success(function(a){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.triggers.list",{url:"/list",templateUrl:"app/trigger/list/list.html",controller:"TriggerListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.triggers",{url:"/triggers",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("TriggerViewCtrl",["$scope","$stateParams","$http","$translate","xAlert","triggers",function(a,b,c,d,e,f){a.$triggers=f,a.forms={info:{}},a.fields={},a.properties=f.properties,a.initView=function(){c.get("/api/triggers/"+b.id).success(function(b){a.trigger=b,a.conditionsFilter=JSON.parse(b.conditions),a.actionsFilter=JSON.parse(b.actions),a.fields.conditions=a.$triggers.triggers[b.channel].conditions,a.fields.actions=a.$triggers.triggers[b.channel].actions}).error(function(a){e.show(a.message,"danger")})},a.getProperties=function(){h(),j(),i(),g()};var g=function(){c.get("/api/integrations",{params:{active:1}}).success(function(b){a.integrations=b;var c=[];b.forEach(function(a){c.push({name:a.name,value:a.state})}),a.properties.voice.integration=c}).error(function(a){e.show(a.message,"danger")})},h=function(){c.get("/api/mail/templates/").success(function(b){a.mailTemplates=b.rows;var c=[];b.rows.forEach(function(a){c.push({name:a.name,value:a.id})}),a.properties.mail.template=c}).error(function(a){e.show(a.message,"danger")})},i=function(){c.get("/api/voice/queues/").success(function(b){a.voiceQueues=b.rows;var c=[];b.rows.forEach(function(a){c.push({name:a.name,value:a.name})}),a.properties.voice.queue=c}).error(function(a){e.show(a.message,"danger")})},j=function(){c.get("/api/mail/servers/out/").success(function(b){a.stmpAccounts=b;var c=[];b.forEach(function(a){c.push({name:a.username,value:a.username})}),a.properties.mail.smtp=c}).error(function(a){e.show(a.message,"danger")})};a.updateTrigger=function(){c.put("/api/triggers/"+a.trigger.id,{name:a.trigger.name,description:a.trigger.description,conditions:angular.toJson(a.conditionsFilter),actions:angular.toJson(a.actionsFilter)}).success(function(){e.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){e.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.triggers.view",{url:"/view/:id",templateUrl:"app/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.triggers.view.settings",{url:"/settings",templateUrl:"app/trigger/view/view.settings.html"}).state("main.triggers.view.routes",{url:"/routes",templateUrl:"app/trigger/view/view.routes.html"}).state("main.triggers.view.application",{url:"/application",templateUrl:"app/trigger/view/view.application.html"})}]),angular.module("xCallyShuttleApp").controller("TriggerWizardCtrl",["$scope","$http","$location","xAlert","triggers","WizardHandler",function(a,b,c,d,e,f){a.$triggers=e,a.tempData={voice:{},mail:{},chat:{},fax:{}},a.item={},a.fields={},a.properties=e.properties,a.forms={general:{}};var g={group:{"boolean":"AND",rules:[],type:"CONDITION",main:!0}},h={group:{rules:[],type:"ACTION"}};a.conditionsFilter=_.clone(g,!0),a.actionsFilter=_.clone(h,!0),a.$watch("item.channel",function(b,c){c&&(a.tempData[c].conditionsFilter=_.clone(a.conditionsFilter,!0),a.tempData[c].actionsFilter=_.clone(a.actionsFilter,!0)),a.conditionsFilter=a.tempData[b].conditionsFilter?a.tempData[b].conditionsFilter:_.clone(g,!0),a.actionsFilter=a.tempData[b].actionsFilter?a.tempData[b].actionsFilter:_.clone(h,!0),a.fields.conditions=a.$triggers.triggers[b].conditions,a.fields.actions=a.$triggers.triggers[b].actions},!0),a.item.channel="voice",a.getProperties=function(){j(),l(),k(),i()};var i=function(){b.get("/api/integrations",{params:{active:1}}).success(function(b){a.integrations=b;var c=[];b.forEach(function(a){c.push({name:a.name,value:a.state})}),a.properties.voice.integration=c}).error(function(a){d.show(a.message,"danger")})},j=function(){b.get("/api/mail/templates/").success(function(b){a.mailTemplates=b.rows;var c=[];b.rows.forEach(function(a){c.push({name:a.name,value:a.id})}),a.properties.mail.template=c}).error(function(a){d.show(a.message,"danger")})},k=function(){b.get("/api/mail/servers/out/").success(function(b){a.stmpAccounts=b;var c=[];b.forEach(function(a){c.push({name:a.username,value:a.username})}),a.properties.mail.smtp=c}).error(function(a){d.show(a.message,"danger")})},l=function(){b.get("/api/voice/queues/").success(function(b){a.voiceQueues=b.rows;var c=[];b.rows.forEach(function(a){c.push({name:a.name,value:a.name})}),a.properties.voice.queue=c}).error(function(a){d.show(a.message,"danger")})};a.createItem=function(){a.item.conditions=angular.toJson(a.conditionsFilter),a.item.actions=angular.toJson(a.actionsFilter),b.post("/api/triggers",a.item).success(function(){c.path("/triggers/list")}).error(function(a){d.show(a.message,"danger")})},a.next=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.exitValidation=function(a){return a}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.triggers.wizard",{url:"/wizard",templateUrl:"app/trigger/wizard/wizard.html",controller:"TriggerWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("TrunkListCtrl",["$scope","$http","$translate","$rootScope","xAlert","socket","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={trunksByPage:{name:"10",value:10},labels:["name","host","context","description"]},a.trunksByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.trunks={checked:[]},a.check=function(b,c){c?a.trunks.checked=angular.copy(_.pluck(a.displayedTrunks,"id")):a.trunks.checked=[]},a.getTrunks=function(b){return _.map(a.displayedTrunks,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("trunk"),b.url="/api/trunks",console.log(b),h.getPage(b).then(function(c){a.displayedTrunks=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.trunksByPage,a.displayedTrunks.length),d.updateTableConfig(a.conf.trunksByPage,a.displayedTrunks.length)}),f.socket.on("trunk:save",function(){a.initList(b)}),f.socket.on("trunk:remove",function(c){a.trunks.checked=_.without(a.trunks.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/trunks/"+a).success(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){e.show(c.instant(a.message),"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/trunks",{params:{id:a.trunks.checked}}).success(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){e.show(c.instant(a.message),"danger")})}),a.$on("$destroy",function(){console.log("trunks destroy")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.trunks.list",{url:"/list",templateUrl:"app/trunk/list/list.html",controller:"TrunkListCtrl",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.trunks",{url:"/trunks",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("TrunkViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location",function(a,b,c,d,e,f,g){a.getTrunk=function(){b.get("/api/trunks/"+e.id).success(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(","),delete b.secret,a.trunk=b}).error(function(a){console.error(a),g.path("/trunks/list")})},a.updateTrunk=function(){""===a.trunk.password&&delete a.trunk.password;var f=angular.copy(a.trunk);f.nat=f.nat.join(","),f.allow=f.allow.join(";"),f.insecure=f.insecure.join(","),f.transport=f.transport.join(","),b.put("/api/trunks/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),f.nat=f.nat.split(","),f.naallowt=f.allow.split(";"),f.insecure=f.insecure.split(","),f.transport=f.transport.split(","),a.trunk=f})},a.getContexts=function(){b.get("/api/voice/contexts").success(function(b){a.voiceContexts=b.rows,f.syncUpdates("voice_context",a.voiceContexts)}).error(function(a){c.show(d.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.trunks.view",{url:"/view/:id",templateUrl:"app/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.trunks.view.settings",{url:"/settings",templateUrl:"app/trunk/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TrunkWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","socket","$translate",function(a,b,c,d,e,f,g){a.initWizard=function(){a.forms={},a.item={context:"from-voip-provider"}},a.next=function(d){d?b.post("/api/trunks/validate/",a.item).success(function(a){console.log(a),a.length?e.show(g.instant("MESSAGE_EXIST_TRUNK"),"danger"):c.wizard().next()}).error(function(a){e.show(g.instant(a.message),"danger")}):c.wizard().next()},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/trunks/",a.item).success(function(){d.path("/trunks/list")}).error(function(a){e.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.trunks.wizard",{url:"/wizard",templateUrl:"app/trunk/wizard/wizard.html",controller:"TrunkWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("UserListCtrl",["$scope","$http","xAlert","$rootScope","$translate","socket","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={usersByPage:{name:"10",value:10}},a.usersByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.users={checked:[]},a.check=function(b,c){c?a.users.checked=angular.copy(_.pluck(a.displayedUsers,"id")):a.users.checked=[]},a.getUsers=function(b){return _.map(a.displayedUsers,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/users/"+a).success(function(){
-c.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){a.errors.forEach(function(b){c.show(a.message+": "+b.message,"danger")})})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/users",{params:{id:a.users.checked}}).success(function(){c.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){a.errors.forEach(function(b){c.show(a.message+": "+b.message,"danger")})})}),a.initList=function(b){f.unsyncUpdates("user"),b.url="/api/users/",h.getPage(b).then(function(c){a.displayedUsers=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.usersByPage,a.displayedUsers.length),d.updateTableConfig(a.conf.usersByPage,a.displayedUsers.length)}),f.socket.on("user:save",function(){a.initList(b)}),f.socket.on("user:remove",function(c){a.users.checked=_.without(a.users.checked,c.id),a.initList(b)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.users.list",{url:"/list",templateUrl:"app/user/list/list.html",controller:"UserListCtrl",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.users",{url:"/users",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("UserViewCtrl",["$scope","$http","$stateParams","$translate","FileUploader","$cookieStore","Auth","xAlert",function(a,b,c,d,e,f,g,h){a.Auth=g,a.updatePassword=function(){var e,f;g.isAdmin()?(e="/api/users/password/"+c.id+"/reset",f={newPassword:a.user.newPwd}):(e="/api/users/password/",f={oldPassword:a.user.currentPwd,newPassword:a.user.newPwd}),b.put(e,f).success(function(a){h.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})};var i=a.uploader=new e({url:"api/users/"+c.id+"/avatar",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+f.get("token")}});i.filters.push({name:"imageFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(b)}}),i.onSuccessItem=function(b,c,e,f){a.user.userpic=c.userpic,a.user.id===g.getCurrentUser().id&&(g.getCurrentUser().userpic=c.userpic),h.show(d.instant("MESSAGE_WELL_DONE"),"success")},i.onErrorItem=function(a,b,c,e){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},i.onCompleteAll=function(){i.clearQueue()},a.initView=function(){b.get("/api/users/"+c.id).success(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(";"):[]}).error(function(a){a.errors.forEach(function(b){h.show(a.message+": "+b.message,"danger")})})},a.updateItem=function(){var e=angular.copy(a.user),f=angular.copy(a.user);delete e.password,delete e.md5secret,e.transport=e.transport.join(","),e.allow=e.allow.join(";"),b.put("/api/users/"+c.id,e).success(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(b){a.user=f,b.errors.forEach(function(a){h.show(b.message+": "+a.message,"danger")})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.users.view",{url:"/view/:id",templateUrl:"app/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.users.view.account",{url:"/account",templateUrl:"app/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"]})}]}})}]),angular.module("xCallyShuttleApp").controller("UserWizardCtrl",["$scope","$http","$location","WizardHandler","xAlert","$translate",function(a,b,c,d,e,f){a.forms={info:void 0,voice:void 0},a.item={role:"user",host:"dynamic",context:"from-sip"},a.next=function(){d.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/users/",a.item).success(function(){e.show(f.instant("MESSAGE_WELL_DONE"),"success"),c.path("/users/list")}).error(function(a){console.log(a),e.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.users.wizard",{url:"/wizard",templateUrl:"app/user/wizard/wizard.html",controller:"UserWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("VariableListCreateModalCtrl",["$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("VariableListCtrl",["$scope","$http","socket","$rootScope","$translate","xAlert","Modal","stResource","$uibModal","$log",function(a,b,c,d,e,f,g,h,i,j){a.conf={variablesByPage:{name:"10",value:10}},a.variablesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.Variables={checked:[]},a.check=function(b,c){c?a.Variables.checked=angular.copy(_.pluck(a.displayedVariables,"id")):a.Variables.checked=[]},a.getVariables=function(b){return _.map(a.displayedVariables,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("variable"),b.url="/api/variables",h.getPage(b).then(function(c){a.displayedVariables=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.variablesByPage,a.displayedVariables.length),d.updateTableConfig(a.conf.variablesByPage,a.displayedVariables.length)}),c.socket.on("variable:save",function(){a.initList(b)}),c.socket.on("variable:remove",function(c){a.Variables.checked=_.without(a.Variables.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/variables/"+a).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/variables",{params:{id:a.Variables.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.create=function(){var a=i.open({animation:!0,templateUrl:"app/variable/list/create.modal.html",controller:"VariableListCreateModalCtrl"});a.result.then(function(a){b.post("/api/variables",a).then(function(a){f.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.data.message,"danger")})},function(){j.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.variables.list",{url:"/list",templateUrl:"app/variable/list/list.html",controller:"VariableListCtrl",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.variables",{url:"/variables",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VariableViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){a.getVariable=function(){b.get("/api/variables/"+e.id).success(function(b){a.variable=b}).error(function(a){console.error(a),f.path("/variables/list")})},a.updateVariable=function(){var f=angular.copy(a.variable);b.put("/api/variables/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.variable=f})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.variables.view",{url:"/view/:id",templateUrl:"app/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.variables.view.settings",{url:"/settings",templateUrl:"app/variable/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.contexts",{url:"/contexts",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceContextListCtrl",["$scope","$http","socket","$rootScope","$translate","xAlert","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={contextsByPage:{name:"10",value:10}},a.contextsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.voiceContexts={checked:[]},a.check=function(b,c){c?a.voiceContexts.checked=angular.copy(_.pluck(a.displayedVoiceContexts,"id")):a.voiceContexts.checked=[]},a.getVoiceContexts=function(b){return _.map(a.displayedVoiceContexts,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("voice_context"),b.url="/api/voice/contexts",h.getPage(b).then(function(c){a.displayedVoiceContexts=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.contextsByPage,a.displayedVoiceContexts.length),d.updateTableConfig(a.conf.contextsByPage,a.displayedVoiceContexts.length)}),c.socket.on("voice_context:save",function(){a.initList(b)}),c.socket.on("voice_context:remove",function(c){a.voiceContexts.checked=_.without(a.voiceContexts.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/voice/contexts/"+a).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/voice/contexts",{params:{id:a.voiceContexts.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.contexts.list",{url:"/list",templateUrl:"app/voice/context/list/list.html",controller:"VoiceContextListCtrl",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("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.voice.contexts.view",{url:"/view/:id",templateUrl:"app/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.voice.contexts.view.settings",{url:"/settings",templateUrl:"app/voice/context/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("VoiceContextWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","$translate",function(a,b,c,d,e,f){a.forms={context:void 0},a.item={},a.next=function(){b.post("/api/voice/contexts/validate/",a.item).success(function(a){console.log(a),a.length?e.show(f.instant("MESSAGE_EXIST_CONTEXT"),"danger"):c.wizard().next()}).error(function(a){e.show(f.instant(a.message),"danger")})},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/voice/contexts/",a.item).success(function(){d.path("/voice/contexts/list")}).error(function(a){e.show(f.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.contexts.wizard",{url:"/wizard",templateUrl:"app/voice/context/wizard/wizard.html",controller:"VoiceContextWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceMohListCtrl",["$scope","$http","$translate","$rootScope","xAlert","socket","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={mohsByPage:{name:"10",value:10},labels:["name","directory","sort","description"]},a.mohsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.mohs={checked:[]},a.check=function(b,c){c?a.mohs.checked=angular.copy(_.pluck(a.displayedMohs,"id")):a.mohs.checked=[]},a.getMohs=function(b){return _.map(a.displayedMohs,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("voice_musiconhold"),b.url="/api/voice/musiconholds",h.getPage(b).then(function(c){a.displayedMohs=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.mohsByPage,a.displayedMohs.length),d.updateTableConfig(a.conf.mohsByPage,a.displayedMohs.length)}),f.socket.on("voice_musiconhold:save",function(){a.initList(b)}),f.socket.on("voice_musiconhold:remove",function(c){a.mohs.checked=_.without(a.mohs.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/voice/musiconholds/"+a).success(function(){e.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){e.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/voice/musiconholds",{params:{id:a.mohs.checked}}).success(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){e.show(c.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.mohs.list",{url:"/list",templateUrl:"app/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").config(["$stateProvider",function(a){a.state("main.voice.mohs",{url:"/mohs",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceMohViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","Modal","$sce","$location",function(a,b,c,d,e,f,g,h,i){a.$translate=d,a.audioSources={},a.sortOptions=[{value:"random",name:"APPLICATION_RANDOM"},{value:"alpha",name:"APPLICATION_ALPHABETICAL"}],a.getMoh=function(){b.get("/api/voice/musiconholds/"+e.id).success(function(b){delete b.stamp,a.moh=b}).error(function(a){console.error(a),i.path("/voice/mohs/list")})},a.updateVoiceMoh=function(){console.log("update");var f=angular.copy(a.moh);b.put("/api/voice/musiconholds/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.voiceMoh=f})},a.addMohs=function(){b.post("/api/voice/musiconholds/"+e.id+"/files",a.item).success(function(){i.path("voice/mohs/view/"+e.id+"/audios")}).error(function(a){c.show(d.instant(a.message),"danger")})},a.getAudioFiles=function(){b.get("/api/voice/musiconholds/"+e.id+"/files").success(function(b){a.audioFiles=b.files,a.mohPath=b.path,a.audioFiles.forEach(function(a){j(a)})}).error(function(a){console.error(a)})},a.getSecureSrc=function(a){return h.trustAsResourceUrl(a)};var j=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.getSounds=function(){a.item={sounds:[]},b.get("/api/uploads").success(function(b){a.soundList=b}).error(function(a){console.error(a)})},a.deleteItem=g.confirm["delete"](function(f){b["delete"]("/api/voice/musiconholds/"+e.id+"/files",{params:{filename:f}}).success(function(){_.remove(a.audioFiles,function(a){return a===f}),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.voice.mohs.view",{url:"/view/:id",templateUrl:"app/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.voice.mohs.view.settings",{url:"/settings",templateUrl:"app/voice/moh/view/view.settings.html"}).state("main.voice.mohs.view.audios",{url:"/audios",templateUrl:"app/voice/moh/view/view.audios.html",cache:!1}).state("main.voice.mohs.view.add",{url:"/add",templateUrl:"app/voice/moh/view/view.addFiles.html",cache:!1})}]),angular.module("xCallyShuttleApp").controller("VoiceMohWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","socket","$translate",function(a,b,c,d,e,f,g){a.$translate=g,a.initWizard=function(){a.forms={},a.item={sort:"alpha"}},a.next=function(){b.post("/api/voice/musiconholds/validate/",a.item).success(function(a){console.log(a),a.length?e.show(g.instant("MESSAGE_EXIST_MOH"),"danger"):c.wizard().next()}).error(function(a){e.show(g.instant(a.message),"danger")})},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/voice/musiconholds/",a.item).success(function(a){d.path("/voice/mohs/view/"+a.id+"/audios")}).error(function(a){e.show(g.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.mohs.wizard",{url:"/wizard",templateUrl:"app/voice/moh/wizard/wizard.html",controller:"VoiceMohWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceQueueListCtrl",["$scope","$http","socket","$translate","$rootScope","Modal","xAlert","stResource",function(a,b,c,d,e,f,g,h){a.conf={voiceQueuesByPage:{name:"10",value:10},labels:["name","description","strategy","context"]},a.voiceQueuesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.queues={checked:[]},a.check=function(b,c){c?a.queues.checked=angular.copy(_.pluck(a.displayedQueues,"name")):a.queues.checked=[]},a.getQueues=function(b){return _.map(a.displayedQueues,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("voice_queue"),b.url="/api/voice/queues",h.getPage(b).then(function(c){a.displayedQueues=c.rows,b.pagination.numberOfPages=c.total_pages,e.updateTableConfig(a.voiceQueuesByPage,a.displayedQueues.length),e.updateTableConfig(a.conf.voiceQueuesByPage,a.displayedQueues.length)}),c.socket.on("voice_queue:save",function(){a.initList(b)}),c.socket.on("voice_queue:remove",function(c){console.log("remove"),a.queues.checked=_.without(a.queues.checked,c.name),a.initList(b)})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("/api/voice/queues/"+a).success(function(){g.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){g.show(a.message,"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/voice/queues",{params:{name:a.queues.checked}}).success(function(){g.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){g.show(d.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.queues.list",{url:"/list",templateUrl:"app/voice/queue/list/list.html",controller:"VoiceQueueListCtrl",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.voice.queues",{url:"/queues",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceQueueViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location",function(a,b,c,d,e,f,g){a.binaryChoices=[{name:"Yes",value:1},{name:"No",value:0}],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 h=function(){return{select:function(c){b.post("/api/voice/queues/"+a.queue.name+"/agents",{agents:c}).success(function(){a.getTeams()}).error(function(a){console.error(a)})},deselect:function(c){b.put("/api/voice/queues/"+a.queue.name+"/agents",{agents:c}).success(function(){a.getTeams()}).error(function(a){console.error(a)})}}};a.getQueue=function(){b.get("/api/voice/queues/"+e.id).success(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(","),a.queue=b}).error(function(a){g.path("/voice/queues/list")})},a.updateVoiceQueue=function(){var f=angular.copy(a.queue);f.joinempty=f.joinempty.join(","),f.leavewhenempty=f.leavewhenempty.join(","),f.periodic_announce=f.periodic_announce.join(","),f.context||(f.context=null),b.put("/api/voice/queues/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),f.joinempty=f.joinempty.split(","),f.leavewhenempty=f.leavewhenempty.split(","),f.periodic_announce=f.periodic_announce.split(","),a.queue=f})},a.getTeams=function(){b.get("/api/teams").success(function(c){a.teams=c.rows,b({url:"/api/voice/user_has_queues",method:"GET",params:{queue:a.queue.name}}).success(function(b){ComponentsDropdowns.bindQueue(a.teams,_.pluck(b,"UserId"),h)})}).error(function(a){console.error(a)})},a.getContexts=function(){b.get("/api/voice/contexts").success(function(b){a.voiceContexts=b.rows,f.syncUpdates("voice_context",a.voiceContexts)}).error(function(a){c.show(d.instant(a.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/uploads").success(function(b){a.queueAnnounces=a.queueAnnounces.concat(b),a.periodicAnnounces=angular.copy(b),b.unshift({display_name:"None",converted_path:null,value:""}),a.sounds=b,f.syncUpdates("upload",a.sounds)}).error(function(a){console.error(a)})},a.returnAnnouncePath=function(a){return console.log("func"),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.voice.queues.view",{url:"/view/:id",templateUrl:"app/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.voice.queues.view.settings",{url:"/settings",templateUrl:"app/voice/queue/view/view.settings.html"}).state("main.voice.queues.view.agents",{url:"/agents",templateUrl:"app/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/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceQueueWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","socket","$translate",function(a,b,c,d,e,f,g){a.forms={queue:void 0},a.item={},a.next=function(){b.post("/api/voice/queues/validate/",a.item).success(function(a){console.log(a),a.length?e.show(g.instant("MESSAGE_EXIST_QUEUE"),"danger"):c.wizard().next()}).error(function(a){e.show(g.instant(a.message),"danger")})},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/voice/queues/",a.item).success(function(){d.path("/voice/queues/list")}).error(function(a){e.show(g.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.queues.wizard",{url:"/wizard",templateUrl:"app/voice/queue/wizard/wizard.html",controller:"VoiceQueueWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.realtime",{url:"/realtime",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentCtrl",["$scope","$http","$log","$uibModal","$translate","socket","xAlert",function(a,b,c,d,e,f,g){a.conf={agentsByPage:{name:"10",value:10},labels:["fullname","name","email"]},a.agentsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.$on("$destroy",function(){f.unsyncUpdates("user_has_voice_queue")}),a.groups=[],a.pauses=["pausa1","pausa2","pausa3"],a.pause=function(f,h){var i=d.open({animation:!0,size:f,templateUrl:"app/voice/realtime/view/agent/pause.modal.html",controller:"VoiceRealtimeViewAgentPauseModalCtrl",resolve:{items:function(){return a.pauses},data:function(){return h}}});i.result.then(function(a){b.post("/api/ami",a).then(function(a){console.log(a),g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.log(a),g.show(a.data.message,"danger")})},function(){c.info("Modal dismissed at: "+new Date)})},a.add=function(f,h){var i=d.open({animation:!0,size:f,templateUrl:"app/voice/realtime/view/agent/queue.modal.add.html",controller:"VoiceRealtimeViewAgentQueueModalCtrl",resolve:{pauses:function(){return a.pauses},data:function(){return h}}});i.result.then(function(a){console.log(a),b.post("/api/voice/user_has_queues",a).then(function(){a.login?b.post("/api/ami",a).then(function(){g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")}):g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")})},function(){c.info("Modal dismissed at: "+new Date)})},a.remove=function(a,f){var h=d.open({animation:!0,size:a,templateUrl:"app/voice/realtime/view/agent/queue.modal.remove.html",controller:"VoiceRealtimeViewAgentQueueModalCtrl",resolve:{pauses:function(){return null},data:function(){return f}}});h.result.then(function(a){_.isArray(a)?a.forEach(function(a){b.post("/api/ami",a).then(function(){a.logout?b.put("/api/voice/queues/"+a.queue+"/agents",{agents:[a.UserId]}).then(function(){g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")}):g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")})}):b.post("/api/ami",a).then(function(){a.logout?b.put("/api/voice/queues/"+a.queue+"/agents",{agents:[a.UserId]}).then(function(){g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")}):g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")})},function(){c.info("Modal dismissed at: "+new Date)})},a.initAgents=function(){b.get("/api/voice/user_has_queues").success(function(b){a.agents=b,a.groups=_.map(_.groupBy(a.agents,"membername"),function(a,b){return{membername:b,queues:a}}),f.socket.on("user_has_voice_queue:save",function(b){var c=_.find(a.groups,{membername:b.membername}),d=a.groups.indexOf(c);if(c){var e=_.find(c.queues,{queue:b.queue});e?_.merge(e,b):a.groups[d].queues.push(b)}else{var f={membername:b.membername,queues:[b]};a.groups.unshift(f)}}),f.socket.on("user_has_voice_queue:remove",function(b){var c=_.find(a.groups,{membername:b.membername});_.remove(c.queues,{queue:b.queue}),c.queues.length||_.remove(a.groups,{membername:b.membername})}),f.socket.on("report_agent:save",function(b){var c=_.find(a.groups,{membername:b.membername}),d=a.groups.indexOf(c);if(c){var e=_.find(c.queues,{queue:b.queue});e?_.merge(e,b):a.groups[d].queues.push(b)}else{var f={membername:b.membername,queues:[b]};a.groups.unshift(f)}})}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentPauseModalCtrl",["$scope","$uibModalInstance","items","data",function(a,b,c,d){a.items=c,a.data=d,a.selected={item:a.items[0],queue:_.isArray(d)?a.data[0].queue:a.data.queue,membername:_.isArray(d)?a.data[0].membername:a.data.membername,"interface":_.isArray(d)?a.data[0]["interface"]:a.data["interface"]},a.ok=function(c){var e={action:"QueuePause","interface":a.selected["interface"],paused:c,reason:a.selected.item};_.isArray(d)||(e.queue=a.selected.queue),b.close(e)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","pauses","data",function(a,b,c,d,e){a.initAdd=function(){a.data=e,a.pauses=d,a.selected={membername:a.data[0].membername,"interface":a.data[0]["interface"],penalty:0,paused:!1,reason:a.pauses[0],UserId:a.data[0].UserId},c.get("/api/voice/queues",{params:{page:0,per_page:100}}).success(function(b){a.queues=_.reject(b.rows,function(b){return _.find(a.data,{queue:b.name})?!0:!1}),a.selected.queue=a.queues[0]?a.queues[0].name:null,console.log(a.queues)}).error(function(a){console.error(a)})},a.initRemove=function(){a.data=e,_.isArray(e)?a.selected={membername:a.data[0].membername,"interface":a.data[0]["interface"],logout:!1,UserId:a.data[0].UserId}:a.selected={membername:a.data.membername,"interface":a.data["interface"],queue:a.data.queue,logout:!1,UserId:a.data.UserId}},a.okAdd=function(){console.log(a.selected);var c={action:"QueueAdd",logged:a.data[0].logged,loggedAt:a.data[0].loggedAt,queue:a.selected.queue,membername:a.selected.membername,"interface":a.selected["interface"],penalty:a.selected.penalty,paused:a.selected.paused,UserId:a.selected.UserId};c.paused&&(c.reason=a.selected.reason),b.close(c)},a.okRemove=function(){var c;_.isArray(a.data)?(c=[],a.data.forEach(function(b){c.push({action:"QueueRemove",queue:b.queue,"interface":b["interface"],logout:a.selected.logout,UserId:b.UserId})})):c={action:"QueueRemove",queue:a.selected.queue,logout:a.selected.logout,"interface":a.selected["interface"],UserId:a.selected.UserId},b.close(c)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentReportCtrl",["$scope","$http","socket",function(a,b,c){a.$on("$destroy",function(){c.unsyncUpdates("report_agent")}),a.conf={agentsByPage:{name:"10",value:10},labels:["fullname","name","email"]},a.agentsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.initReport=function(){a.agents=[],b.get("/api/report/agents").success(function(b){a.agents=b,c.syncUpdates("report_agent",a.agents)}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").filter("VoiceRealtimeViewAgentReportFilter",function(){return function(a){return new Date(1970,0,1).setSeconds(a)}}),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewQueueReportCtrl",["$scope","$http","socket",function(a,b,c){a.$on("$destroy",function(){c.unsyncUpdates("report_queue")}),a.conf={queuesByPage:{name:"10",value:10},labels:["fullname","name","email"]},a.queuesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{
-name:"All",value:0}],a.initReport=function(){a.queues=[],b.get("/api/report/queues").success(function(b){console.log(b),a.queues=b,c.syncUpdates("report_queue",a.queues)}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").filter("VoiceRealtimeViewQueueReportFilter",function(){return function(a){return new Date(1970,0,1).setSeconds(a)}}),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewQueuePauseModalCtrl",["$scope","$uibModalInstance","items","data",function(a,b,c,d){a.items=c,a.data=d,console.log(d),a.selected={item:a.items[0],queue:_.isArray(d)?a.data[0].queue:a.data.queue,membername:_.isArray(d)?a.data[0].membername:a.data.membername,"interface":_.isArray(d)?a.data[0]["interface"]:a.data["interface"]},a.ok=function(c,e){var f;_.isArray(d)?(f=[],d.forEach(function(b){f.push({action:"QueuePause",queue:b.queue,membername:b.membername,"interface":b["interface"],paused:c,reason:a.selected.item})})):f={action:"QueuePause",queue:a.selected.queue,membername:a.selected.membername,"interface":a.selected["interface"],paused:c,reason:a.selected.item},b.close(f)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewQueueCtrl",["$scope","$http","$log","$uibModal","$translate","socket","xAlert",function(a,b,c,d,e,f,g){a.conf={agentsByPage:{name:"10",value:10},labels:["fullname","name","email"]},a.agentsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.$on("$destroy",function(){f.unsyncUpdates("user_has_voice_queue")}),a.groups=[],a.pauses=["pausa1","pausa2","pausa3"],a.pause=function(f,h){var i=d.open({animation:!0,size:f,templateUrl:"app/voice/realtime/view/queue/pause.modal.html",controller:"VoiceRealtimeViewQueuePauseModalCtrl",resolve:{items:function(){return a.pauses},data:function(){return h}}});i.result.then(function(a){_.isArray(a)?a.forEach(function(a){b.post("/api/ami",a).then(function(a){console.log(a),g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.log(a),g.show(a.data.message,"danger")})}):b.post("/api/ami",a).then(function(a){console.log(a),g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.log(a),g.show(a.data.message,"danger")})},function(){c.info("Modal dismissed at: "+new Date)})},a.add=function(f,h){var i=d.open({animation:!0,size:f,templateUrl:"app/voice/realtime/view/queue/queue.modal.add.html",controller:"VoiceRealtimeViewQueueQueueModalCtrl",resolve:{pauses:function(){return a.pauses},data:function(){return h}}});i.result.then(function(a){console.log("action",a),b.post("/api/voice/user_has_queues",a).then(function(){a.login?b.post("/api/ami",a).then(function(){g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")}):g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.message,"danger")}),console.log(a)},function(){c.info("Modal dismissed at: "+new Date)})},a.remove=function(a,f){var h=d.open({animation:!0,size:a,templateUrl:"app/voice/realtime/view/queue/queue.modal.remove.html",controller:"VoiceRealtimeViewQueueQueueModalCtrl",resolve:{pauses:function(){return null},data:function(){return f}}});h.result.then(function(a){_.isArray(a)?a.forEach(function(a){b.post("/api/ami",a).then(function(){a.logout?b.put("/api/voice/queues/"+a.queue+"/agents",{agents:[a.UserId]}).then(function(){g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")}):g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")})}):b.post("/api/ami",a).then(function(){a.logout?b.put("/api/voice/queues/"+a.queue+"/agents",{agents:[a.UserId]}).then(function(){g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")}):g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")})},function(){c.info("Modal dismissed at: "+new Date)})},a.initQueues=function(){b.get("/api/voice/user_has_queues").success(function(b){a.queues=b,a.groups=_.map(_.groupBy(a.queues,"queue"),function(a,b){return{queue:b,agents:a}}),console.log("ok"),f.socket.on("user_has_voice_queue:save",function(b){console.log("item",b);var c=_.find(a.groups,{queue:b.queue}),d=a.groups.indexOf(c);if(c){var e=_.find(c.agents,{membername:b.membername});e?_.merge(e,b):a.groups[d].agents.push(b)}else{var f={queue:b.queue,agents:[b]};a.groups.unshift(f)}}),f.socket.on("user_has_voice_queue:remove",function(b){var c=_.find(a.groups,{queue:b.queue});_.remove(c.agents,{membername:b.membername}),c.agents.length||_.remove(a.groups,{queue:b.queue})}),f.socket.on("report_agent:save",function(b){var c=_.find(a.groups,{queue:b.queue}),d=a.groups.indexOf(c);if(c){var e=_.find(c.agents,{membername:b.membername});e?_.merge(e,b):a.groups[d].agents.push(b)}else{var f={queue:b.queue,agents:[b]};a.groups.unshift(f)}})}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewQueueQueueModalCtrl",["$scope","$uibModalInstance","$http","pauses","data",function(a,b,c,d,e){a.initAdd=function(){a.data=e,a.pauses=d,a.selected={penalty:0,paused:!1,reason:a.pauses[0]},a.$watch("selected.agent",function(b){b&&(a.selected.membername=b.name,a.selected["interface"]="SIP/"+b.name,a.selected.UserId=b.id)}),c.get("/api/agents",{params:{page:0,per_page:500}}).success(function(b){a.agents=_.reject(b.rows,function(b){return _.find(a.data,{membername:b.name})?!0:!1}),a.selected.queue=a.data[0]?a.data[0].queue:null}).error(function(a){console.error(a)})},a.initRemove=function(){a.data=e,console.log(e),_.isArray(e)?a.selected={queue:a.data[0].queue,logout:!1}:a.selected={membername:a.data.membername,"interface":a.data["interface"],queue:a.data.queue,logout:!1,UserId:a.data.UserId}},a.okAdd=function(){var c={action:"QueueAdd",queue:a.selected.queue,membername:a.selected.membername,"interface":a.selected["interface"],penalty:a.selected.penalty,paused:a.selected.paused,UserId:a.selected.UserId};c.paused&&(c.reason=a.selected.reason),b.close(c)},a.okRemove=function(){var c;_.isArray(a.data)?(c=[],a.data.forEach(function(b){c.push({action:"QueueRemove",queue:b.queue,"interface":b["interface"],logout:a.selected.logout,UserId:b.UserId})})):c={action:"QueueRemove",queue:a.selected.queue,logout:a.selected.logout,"interface":a.selected["interface"],UserId:a.selected.UserId},b.close(c)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewCtrl",["$scope",function(a){a.agents=[{name:"View1",link:"main.voice.realtime.view.agents"},{name:"View2",link:"main.voice.realtime.view.areports"}],a.queues=[{name:"View1",link:"main.voice.realtime.view.queues"},{name:"View2",link:"main.voice.realtime.view.qreports"}]}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.realtime.view",{url:"/view",templateUrl:"app/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"]}])}]}}).state("main.voice.realtime.view.queues",{url:"/queues",controller:"VoiceRealtimeViewQueueCtrl",templateUrl:"app/voice/realtime/view/queue/queue.html"}).state("main.voice.realtime.view.qreports",{url:"/qreport/:search",controller:"VoiceRealtimeViewQueueReportCtrl",templateUrl:"app/voice/realtime/view/qreport/report.html"}).state("main.voice.realtime.view.agents",{url:"/agents",controller:"VoiceRealtimeViewAgentCtrl",templateUrl:"app/voice/realtime/view/agent/agent.html"}).state("main.voice.realtime.view.areports",{url:"/areport",controller:"VoiceRealtimeViewAgentReportCtrl",templateUrl:"app/voice/realtime/view/areport/report.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.routes.inbound",{url:"/inbound",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInboundListCtrl",["$scope","$http","socket","$translate","$rootScope","xAlert","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={routesByPage:{name:"10",value:10}},a.routesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.routes={checked:[]},a.check=function(b){b?a.routes.checked=angular.copy(_.pluck(a.displayedRoutes,"id")):a.routes.checked=[]},a.getRoutes=function(b){return _.map(a.displayedRoutes,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("voice_extension"),b.url="/api/voice/extensions/route/inbound",h.getPage(b).then(function(c){a.displayedRoutes=c.rows,b.pagination.numberOfPages=c.total_pages,e.updateTableConfig(a.routesByPage,a.displayedRoutes.length),e.updateTableConfig(a.conf.routesByPage,a.displayedRoutes.length)}),c.socket.on("voice_extension:save",function(c){"inbound"===c.type&&a.initList(b)}),c.socket.on("voice_extension:remove",function(c){"inbound"===c.type&&(a.routes.checked=_.without(a.routes.checked,c.id),a.initList(b))})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/voice/extensions/"+a).success(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/voice/extensions/",{params:{id:a.routes.checked}}).success(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(d.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.routes.inbound.list",{url:"/list",templateUrl:"app/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","$http","$translate","$stateParams","socket","$location","WizardHandler","Modal","xAlert","application","interval",function(a,b,c,d,e,f,g,h,i,j,k){a.$translate=c,a.$application=j.application,a.$interval=k.interval,a.initApplication=function(){a.forms={settings:void 0,interval:void 0},a.application={VoiceExtensionId:d.id,type:"inbound"},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.joinInterval=function(a){console.log(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.toLowerCase(),a.wd_to&&"always"!==a.wd_to&&(c+="-"+a.wd_to.toLowerCase())):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.toLowerCase(),a.m_to&&"always"!==a.m_to&&(e+="-"+a.m_to.toLowerCase())):e="*",b+","+c+","+d+","+e},a.$watch("main.app",function(c){if(c){var e,f;switch(d.appId||(a.application={VoiceExtensionId:d.id,type:"inbound",interval:a.application.interval}),c){case"Queue":e="api/voice/queues",f="/api/uploads";break;case"Playback":e="/api/uploads";break;case"AGI":e="/api/square/projects";break;case"Goto":e="/api/voice/contexts";break;default:e=null,f=null}e&&b.get(e).success(function(b){a.items="Playback"!==c?b.rows:b}),f&&b.get(f).success(function(b){a.items2=b})}},!0),a.getIntervals=function(){b.get("/api/intervals").success(function(b){a.Intervals=b.rows,e.syncUpdates("interval",a.Intervals)}).error(function(a){i.show(c.instant(a.message),"danger")})},a.getRouteApplications=function(){b.get("/api/voice/extensions/"+d.id+"/applications").success(function(b){a.routeApplications=b,e.unsyncUpdates("voice_extension"),e.socket.on("voice_extension:remove",function(b){b.where.appGroup&&_.remove(a.routeApplications,function(a){return b.where.appGroup==a.appGroup})}),e.socket.on("voice_extension:save",function(b){if(b.VoiceExtensionId===d.id&&b.isApp){var c=_.find(a.routeApplications,{id:b.id});c||a.routeApplications.push(b)}})})},a.sortableOptions={stop:function(){b.post("api/voice/extensions/"+d.id+"/applications",{applications:_.pluck(a.routeApplications,"appGroup")}).success(function(b){a.getRouteApplications()}).error(function(a){console.error(a)})},"ui-floating":!0,axis:"y"},a.getRoute=function(){b.get("/api/voice/extensions/"+d.id).success(function(b){a.route=b,e.socket.on("voice_extension:update",function(b){b.id==d.id&&(a.route=b)})}).error(function(a){f.path("/voice/routes/inbound/list")})},a.getApplication=function(){b.get("/api/voice/extensions/applications/"+d.appId).success(function(b){var c=_.filter(a.$application.applications,function(a){return a.value===b.app});if(c.length>0&&!b.customApp?a.main.app=b.app:a.main.app="custom",a.application=b,a.interval.t_from=moment(new Date),a.interval.t_to=moment(new Date),"Queue"===b.app&&(a.application.app_options=b.app_options?b.app_options.split(","):[]),a.interval.intType=b.IntervalId?"list":"*,*,*,*"===b.interval?"always":"custom",a.interval.IntervalId=b.IntervalId,!b.IntervalId){var d,e=b.interval?b.interval.split(","):["*","*","*","*"];e.forEach(function(b,c){switch(c){case 0:"*"!==b?(d=b.split("-"),a.interval.t_from=moment(d[0],"HH:mm"),a.interval.t_to=moment(d[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:"*"!==b?(d=b.split("-"),a.interval.wd_from=_.capitalize(d[0]),a.interval.wd_to=d[1]?_.capitalize(d[1]):"always"):(a.interval.wd_from="always",a.interval.wd_to="always");break;case 2:"*"!==b?(d=b.split("-"),a.interval.md_from=d[0],a.interval.md_to=d[1]?d[1]:"always"):(a.interval.md_from="always",a.interval.md_to="always");break;case 3:"*"!==b?(d=b.split("-"),a.interval.m_from=_.capitalize(d[0]),a.interval.m_to=d[1]?_.capitalize(d[1]):"always"):(a.interval.m_from="always",a.interval.m_to="always")}})}}).error(function(a){f.path("/voice/routes/inbound/view/"+d.id+"/applications")})},a.updateRoute=function(){var e=angular.copy(a.route);b.put("/api/voice/extensions/"+d.id,e).success(function(){i.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){i.show(c.instant(b.message),"danger"),a.route=e})},a.getContexts=function(){b.get("/api/voice/contexts").success(function(b){a.voiceContexts=b.rows,e.syncUpdates("voice_context",a.voiceContexts)}).error(function(a){i.show(c.instant(a.message),"danger")})},a.createItem=function(){switch(a.application.app=a.main.app,a.application.exten=a.route.exten,a.application.context=a.route.context,a.application.app_options&&"Queue"===a.application.app&&(a.application.app_options=a.application.app_options.join(",")),a.interval.intType){case"list":a.application.IntervalId=a.interval.IntervalId,a.application.interval=_.result(_.find(a.Intervals,{id:a.interval.IntervalId}),"name");break;case"custom":a.application.IntervalId=null,a.application.interval=a.joinInterval(a.interval);break;case"always":a.application.IntervalId=null,a.application.interval="*,*,*,*"}b.post("/api/voice/extensions/",a.application).success(function(){f.path("/voice/routes/inbound/view/"+d.id+"/applications")}).error(function(a){i.show(c.instant(a.message),"danger")})},a.updateItem=function(){switch(a.application.app_options&&"Queue"===a.application.app&&(a.application.app_options=a.application.app_options.join(",")),a.interval.intType){case"list":a.application.IntervalId=a.interval.IntervalId,a.application.interval=_.result(_.find(a.Intervals,{id:a.interval.IntervalId}),"name");break;case"custom":a.application.IntervalId=null,a.application.interval=a.joinInterval(a.interval);break;case"always":a.application.IntervalId=null,a.application.interval="*,*,*,*"}b.put("/api/voice/extensions/applications/"+d.appId,a.application).success(function(){i.show(c.instant("MESSAGE_WELL_DONE")+"!","success"),f.path("/voice/routes/inbound/view/"+d.id+"/applications")}).error(function(a){i.show(c.instant(a.message),"danger")})},a.deleteItem=h.confirm["delete"](function(d){b["delete"]("/api/voice/extensions/"+d).success(function(){a.getRouteApplications(),i.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){i.show(c.instant(a.message),"danger")})}),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.voice.routes.inbound.view",{url:"/view/:id",templateUrl:"app/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.voice.routes.inbound.view.settings",{url:"/settings",templateUrl:"app/voice/route/inbound/view/view.settings.html"}).state("main.voice.routes.inbound.view.applications",{url:"/applications",templateUrl:"app/voice/route/inbound/view/view.applications.html",cache:!1}).state("main.voice.routes.inbound.view.application",{url:"/application",templateUrl:"app/voice/route/inbound/view/view.application.html",authenticate:!0}).state("main.voice.routes.inbound.view.applications.settings",{url:"/settings/:appId",templateUrl:"app/voice/route/inbound/view/view.applicationSettings.html",authenticate:!0,controller:"VoiceRouteInboundViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInboundWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","socket","$translate",function(a,b,c,d,e,f,g){a.forms={route:void 0},a.item={type:"inbound",appdata:"Inbound Call",context:"from-voip-provider"},a.next=function(){b.post("/api/voice/extensions/validate/",a.item).success(function(a){console.log(a),a.length?e.show(g.instant("MESSAGE_EXIST_ROUTE"),"danger"):c.wizard().next()}).error(function(a){e.show(g.instant(a.message),"danger")})},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/voice/extensions/",a.item).success(function(a){d.path("/voice/routes/inbound/view/"+a.id+"/applications")}).error(function(a){e.show(g.instant(a.message),"danger")})},a.getContexts=function(){b.get("/api/voice/contexts").success(function(b){a.voiceContexts=b,f.syncUpdates("voice_context",a.voiceContexts)}).error(function(a){e.show(g.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.routes.inbound.wizard",{url:"/wizard",templateUrl:"app/voice/route/inbound/wizard/wizard.html",controller:"VoiceRouteInboundWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.routes.internal",{url:"/internal",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInternalListCtrl",["$scope","$http","socket","$translate","$rootScope","xAlert","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={routesByPage:{name:"10",value:10}},a.routesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.routes={checked:[]},a.check=function(b){b?a.routes.checked=angular.copy(_.pluck(a.displayedRoutes,"id")):a.routes.checked=[]},a.getRoutes=function(b){return _.map(a.displayedRoutes,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("voice_extension"),b.url="/api/voice/extensions/route/internal",h.getPage(b).then(function(c){a.displayedRoutes=c.rows,b.pagination.numberOfPages=c.total_pages,e.updateTableConfig(a.routesByPage,a.displayedRoutes.length),e.updateTableConfig(a.conf.routesByPage,a.displayedRoutes.length)}),c.socket.on("voice_extension:save",function(c){"internal"===c.type&&a.initList(b)}),c.socket.on("voice_extension:remove",function(c){"internal"===c.type&&(a.routes.checked=_.without(a.routes.checked,c.id),a.initList(b))})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/voice/extensions/"+a).success(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/voice/extensions/",{params:{id:a.routes.checked}}).success(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(d.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.routes.internal.list",{url:"/list",templateUrl:"app/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","$http","$translate","$stateParams","socket","$location","WizardHandler","Modal","xAlert","application","interval",function(a,b,c,d,e,f,g,h,i,j,k){a.$translate=c,a.$application=j.application,a.$interval=k.interval,a.initApplication=function(){a.forms={settings:void 0,interval:void 0},a.application={VoiceExtensionId:d.id,type:"internal"},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.joinInterval=function(a){console.log(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.toLowerCase(),a.wd_to&&"always"!==a.wd_to&&(c+="-"+a.wd_to.toLowerCase())):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.toLowerCase(),a.m_to&&"always"!==a.m_to&&(e+="-"+a.m_to.toLowerCase())):e="*",b+","+c+","+d+","+e},a.$watch("main.app",function(c){if(c){var e,f;switch(d.appId||(a.application={VoiceExtensionId:d.id,type:"internal",interval:a.application.interval}),c){case"Queue":e="api/voice/queues",f="/api/uploads";break;case"Playback":e="/api/uploads";break;case"AGI":e="/api/square/projects";break;case"Goto":e="/api/voice/contexts";break;default:e=null,f=null}e&&b.get(e).success(function(b){a.items="Playback"!==c?b.rows:b}),f&&b.get(f).success(function(b){a.items2=b})}},!0),a.getIntervals=function(){b.get("/api/intervals").success(function(b){a.Intervals=b.rows,e.syncUpdates("interval",a.Intervals)}).error(function(a){i.show(c.instant(a.message),"danger")})},a.getRouteApplications=function(){b.get("/api/voice/extensions/"+d.id+"/applications").success(function(b){a.routeApplications=b,e.unsyncUpdates("voice_extension"),e.socket.on("voice_extension:remove",function(b){b.where.appGroup&&_.remove(a.routeApplications,function(a){return b.where.appGroup==a.appGroup})}),e.socket.on("voice_extension:save",function(b){if(b.VoiceExtensionId===d.id&&b.isApp){var c=_.find(a.routeApplications,{id:b.id});c||a.routeApplications.push(b)}})})},a.sortableOptions={stop:function(){b.post("api/voice/extensions/"+d.id+"/applications",{applications:_.pluck(a.routeApplications,"appGroup")}).success(function(b){a.getRouteApplications()}).error(function(a){console.error(a)})},"ui-floating":!0,axis:"y"},a.getRoute=function(){b.get("/api/voice/extensions/"+d.id).success(function(b){a.route=b,e.socket.on("voice_extension:update",function(b){b.id==d.id&&(a.route=b)})}).error(function(a){console.error(a),f.path("/voice/routes/internal/list")})},a.getApplication=function(){b.get("/api/voice/extensions/applications/"+d.appId).success(function(b){var c=_.filter(a.applications,function(a){return a.value===b.app});if(c.length>0&&!b.customApp?a.main.app=b.app:a.main.app="custom",a.application=b,a.interval.t_from=moment(new Date),a.interval.t_to=moment(new Date),"Queue"===b.app&&(a.application.app_options=b.app_options?b.app_options.split(","):[]),a.interval.intType=b.IntervalId?"list":"custom",a.interval.IntervalId=b.IntervalId,!b.IntervalId){var d,e=b.interval?b.interval.split(","):["*","*","*","*"];e.forEach(function(b,c){switch(c){case 0:"*"!==b?(d=b.split("-"),a.interval.t_from=moment(d[0],"HH:mm"),a.interval.t_to=moment(d[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:"*"!==b?(d=b.split("-"),a.interval.wd_from=_.capitalize(d[0]),a.interval.wd_to=d[1]?_.capitalize(d[1]):"always"):(a.interval.wd_from="always",a.interval.wd_to="always");break;case 2:"*"!==b?(d=b.split("-"),a.interval.md_from=d[0],a.interval.md_to=d[1]?d[1]:"always"):(a.interval.md_from="always",a.interval.md_to="always");break;case 3:"*"!==b?(d=b.split("-"),a.interval.m_from=_.capitalize(d[0]),a.interval.m_to=d[1]?_.capitalize(d[1]):"always"):(a.interval.m_from="always",a.interval.m_to="always")}})}}).error(function(a){f.path("/voice/routes/internal/view/"+d.id+"/applications")})},a.updateRoute=function(){var e=angular.copy(a.route);b.put("/api/voice/extensions/"+d.id,e).success(function(){i.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){i.show(c.instant(b.message),"danger"),a.route=e})},a.getContexts=function(){b.get("/api/voice/contexts").success(function(b){a.voiceContexts=b.rows,e.syncUpdates("voice_context",a.voiceContexts)}).error(function(a){i.show(c.instant(a.message),"danger")})},a.createItem=function(){switch(a.application.app=a.main.app,a.application.exten=a.route.exten,a.application.context=a.route.context,a.application.app_options&&"Queue"===a.application.app&&(a.application.app_options=a.application.app_options.join(",")),a.interval.intType){case"list":a.application.IntervalId=a.interval.IntervalId,a.application.interval=_.result(_.find(a.Intervals,{id:a.interval.IntervalId}),"name");break;case"custom":a.application.IntervalId=null,a.application.interval=a.joinInterval(a.interval);break;case"always":a.application.IntervalId=null,a.application.interval="*,*,*,*"}b.post("/api/voice/extensions/",a.application).success(function(){f.path("/voice/routes/internal/view/"+d.id+"/applications")}).error(function(a){i.show(c.instant(a.message),"danger")})},a.updateItem=function(){switch(a.application.app_options&&"Queue"===a.application.app&&(a.application.app_options=a.application.app_options.join(",")),a.interval.intType){case"list":a.application.IntervalId=a.interval.IntervalId,a.application.interval=_.result(_.find(a.Intervals,{id:a.interval.IntervalId}),"name");break;case"custom":a.application.IntervalId=null,a.application.interval=a.joinInterval(a.interval);break;case"always":a.application.IntervalId=null,a.application.interval="*,*,*,*"}b.put("/api/voice/extensions/applications/"+d.appId,a.application).success(function(){i.show(c.instant("MESSAGE_WELL_DONE")+"!","success"),f.path("/voice/routes/internal/view/"+d.id+"/applications")}).error(function(a){i.show(c.instant(a.message),"danger")})},a.deleteItem=h.confirm["delete"](function(d){b["delete"]("/api/voice/extensions/"+d).success(function(b){a.getRouteApplications(),i.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){i.show(c.instant(a.message),"danger")})}),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.voice.routes.internal.view",{url:"/view/:id",templateUrl:"app/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.voice.routes.internal.view.settings",{url:"/settings",templateUrl:"app/voice/route/internal/view/view.settings.html"}).state("main.voice.routes.internal.view.applications",{url:"/applications",templateUrl:"app/voice/route/internal/view/view.applications.html",cache:!1}).state("main.voice.routes.internal.view.application",{url:"/application",templateUrl:"app/voice/route/internal/view/view.application.html",authenticate:!0}).state("main.voice.routes.internal.view.applications.settings",{url:"/settings/:appId",templateUrl:"app/voice/route/internal/view/view.applicationSettings.html",authenticate:!0,controller:"VoiceRouteInternalViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInternalWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","socket","$translate",function(a,b,c,d,e,f,g){a.forms={route:void 0},a.item={type:"internal",appdata:"Iternal Call",context:"from-sip"},a.next=function(){b.post("/api/voice/extensions/validate/",a.item).success(function(a){console.log(a),a.length?e.show(g.instant("MESSAGE_EXIST_ROUTE"),"danger"):c.wizard().next()}).error(function(a){e.show(g.instant(a.message),"danger")})},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/voice/extensions/",a.item).success(function(a){d.path("/voice/routes/internal/view/"+a.id+"/applications")}).error(function(a){e.show(g.instant(a.message),"danger")})},a.getContexts=function(){b.get("/api/voice/contexts").success(function(b){a.voiceContexts=b,f.syncUpdates("voice_context",a.voiceContexts)}).error(function(a){e.show(g.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.routes.internal.wizard",{url:"/wizard",templateUrl:"app/voice/route/internal/wizard/wizard.html",controller:"VoiceRouteInternalWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteOutboundListCtrl",["$scope","$http","socket","$rootScope","$translate","xAlert","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={routesByPage:{name:"10",value:10}},a.routesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.routes={checked:[]},a.check=function(b){b?a.routes.checked=angular.copy(_.pluck(a.displayedRoutes,"id")):a.routes.checked=[]},a.getRoutes=function(b){return _.map(a.displayedRoutes,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("voice_extension"),b.url="/api/voice/extensions/route/outbound",h.getPage(b).then(function(c){a.displayedRoutes=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.routesByPage,a.displayedRoutes.length),d.updateTableConfig(a.conf.routesByPage,a.displayedRoutes.length)}),c.socket.on("voice_extension:save",function(c){"outbound"===c.type&&a.initList(b)}),c.socket.on("voice_extension:remove",function(c){"outbound"===c.type&&(a.routes.checked=_.without(a.routes.checked,c.id),a.initList(b))})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/voice/extensions/"+a).success(function(){f(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/voice/extensions/",{params:{id:a.routes.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(e.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.routes.outbound.list",{url:"/list",templateUrl:"app/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.voice.routes.outbound",{url:"/outbound",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteOutboundViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location","WizardHandler","Modal","application","interval",function(a,b,c,d,e,f,g,h,i,j,k){a.$translate=d,a.$application=j.application,a.$interval=k.interval,a.initApplication=function(){a.forms={info:void 0,interval:void 0},a.application={VoiceExtensionId:e.id,type:"outbound"},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:"Dial",value:"Dial"},{name:"Custom",value:"custom"}]},a.joinInterval=function(a){console.log(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.toLowerCase(),a.wd_to&&"always"!==a.wd_to&&(c+="-"+a.wd_to.toLowerCase())):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.toLowerCase(),a.m_to&&"always"!==a.m_to&&(e+="-"+a.m_to.toLowerCase())):e="*",b+","+c+","+d+","+e},a.$watch("main.app",function(c){if(c){var d,f;switch(e.appId||(a.application={VoiceExtensionId:e.id,type:"outbound",interval:a.application.interval}),c){case"Dial":d="api/trunks",f="/api/voice/contexts";break;default:d=null,f=null}d&&b.get(d).success(function(b){a.items="Dial"===c?b.rows:b}),f&&b.get(f).success(function(b){a.items2="Dial"===c?b.rows:b})}},!0),a.$watch("application.TrunkId",function(b){b&&(a.application.trunk=_.result(_.find(a.items,{id:b}),"name"))},!0),a.getIntervals=function(){b.get("/api/intervals").success(function(b){a.Intervals=b.rows,f.syncUpdates("interval",a.Intervals)}).error(function(a){c.show(d.instant(a.message),"danger")})},a.getRouteApplications=function(){b.get("/api/voice/extensions/"+e.id+"/applications").success(function(b){a.routeApplications=b,f.unsyncUpdates("voice_extension"),f.socket.on("voice_extension:remove",function(b){b.where.appGroup&&_.remove(a.routeApplications,function(a){return b.where.appGroup==a.appGroup})}),f.socket.on("voice_extension:save",function(b){if(b.VoiceExtensionId===e.id&&b.isApp){var c=_.find(a.routeApplications,{id:b.id});c||a.routeApplications.push(b)}})})},a.sortableOptions={stop:function(){b.post("api/voice/extensions/"+e.id+"/applications",{applications:_.pluck(a.routeApplications,"appGroup")}).success(function(){a.getRouteApplications()}).error(function(a){console.error(a)})},"ui-floating":!0,axis:"y"},a.getRoute=function(){b.get("/api/voice/extensions/"+e.id).success(function(b){a.route=b,f.socket.on("voice_extension:update",function(b){b.id==e.id&&(a.route=b)})}).error(function(a){g.path("/voice/routes/outbound/list")})},a.getApplication=function(){b.get("/api/voice/extensions/applications/"+e.appId).success(function(b){var c=_.filter(a.applications,function(a){return a.value===b.app});if(c.length>0&&!b.customApp?a.main.app=b.app:a.main.app="custom",a.application=b,a.interval.intType=b.IntervalId?"list":"custom",a.interval.IntervalId=b.IntervalId,!b.IntervalId){var d,e=b.interval?b.interval.split(","):["*","*","*","*"];e.forEach(function(b,c){switch(c){case 0:"*"!==b?(d=b.split("-"),a.interval.t_from=moment(d[0],"HH:mm"),a.interval.t_to=moment(d[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:"*"!==b?(d=b.split("-"),a.interval.wd_from=_.capitalize(d[0]),a.interval.wd_to=d[1]?_.capitalize(d[1]):"always"):(a.interval.wd_from="always",a.interval.wd_to="always");break;case 2:"*"!==b?(d=b.split("-"),a.interval.md_from=d[0],a.interval.md_to=d[1]?d[1]:"always"):(a.interval.md_from="always",a.interval.md_to="always");break;case 3:"*"!==b?(d=b.split("-"),a.interval.m_from=_.capitalize(d[0]),a.interval.m_to=d[1]?_.capitalize(d[1]):"always"):(a.interval.m_from="always",a.interval.m_to="always")}})}}).error(function(a){console.error(a),g.path("/voice/routes/outbound/view/"+e.id+"/routes")})},a.updateRoute=function(){var f=angular.copy(a.route);b.put("/api/voice/extensions/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.route=f})},a.getContexts=function(){b.get("/api/voice/contexts").success(function(b){a.voiceContexts=b.rows,f.syncUpdates("voice_context",a.voiceContexts)}).error(function(a){c.show(d.instant(a.message),"danger")})},a.createItem=function(){switch(a.application.app=a.main.app,a.application.exten=a.route.exten,a.application.context=a.route.context,a.interval.intType){case"list":a.application.IntervalId=a.interval.IntervalId,a.application.interval=_.result(_.find(a.Intervals,{id:a.interval.IntervalId}),"name");break;case"custom":a.application.IntervalId=null,a.application.interval=a.joinInterval(a.interval);break;case"always":a.application.IntervalId=null,a.application.interval="*,*,*,*"}b.post("/api/voice/extensions/",a.application).success(function(){g.path("/voice/routes/outbound/view/"+e.id+"/routes")}).error(function(a){c.show(d.instant(a.message),"danger")})},a.updateItem=function(){switch(a.interval.intType){case"list":a.application.IntervalId=a.interval.IntervalId,a.application.interval=_.result(_.find(a.Intervals,{id:a.interval.IntervalId}),"name");break;case"custom":a.application.IntervalId=null,a.application.interval=a.joinInterval(a.interval);break;case"always":a.application.IntervalId=null,a.application.interval="*,*,*,*"}b.put("/api/voice/extensions/applications/"+e.appId,a.application).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),g.path("/voice/routes/outbound/view/"+e.id+"/routes")}).error(function(a){c.show(d.instant(a.message),"danger")})},a.deleteItem=i.confirm["delete"](function(e){b["delete"]("/api/voice/extensions/"+e).success(function(b){a.getRouteApplications(),c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){c.show(d.instant(a.message),"danger")})}),a.goNext=function(){h.wizard().next()},a.previous=function(){h.wizard().previous()},a.formValidation=function(a){return a},a.$on("destroy",function(){f.unsyncUpdates("voice_extension")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.routes.outbound.view",{url:"/view/:id",templateUrl:"app/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.voice.routes.outbound.view.settings",{url:"/settings",templateUrl:"app/voice/route/outbound/view/view.settings.html"}).state("main.voice.routes.outbound.view.routes",{url:"/routes",templateUrl:"app/voice/route/outbound/view/view.routes.html",cache:!1}).state("main.voice.routes.outbound.view.route",{url:"/route",templateUrl:"app/voice/route/outbound/view/view.route.html",authenticate:!0}).state("main.voice.routes.outbound.view.routes.settings",{url:"/settings/:appId",templateUrl:"app/voice/route/outbound/view/view.routeSettings.html",authenticate:!0,controller:"VoiceRouteOutboundViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteOutboundWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","socket","$translate",function(a,b,c,d,e,f,g){a.forms={route:void 0},a.item={type:"outbound",appdata:"Outbound Call",context:"from-sip"},a.next=function(){b.post("/api/voice/extensions/validate/",a.item).success(function(a){console.log(a),a.length?e.show(g.instant("MESSAGE_EXIST_ROUTE"),"danger"):c.wizard().next()}).error(function(a){e.show(g.instant(a.message),"danger")})},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/voice/extensions/",a.item).success(function(a){d.path("/voice/routes/outbound/view/"+a.id+"/routes")}).error(function(a){e.show(g.instant(a.message),"danger")})},a.getContexts=function(){b.get("/api/voice/contexts").success(function(b){a.voiceContexts=b,f.syncUpdates("voice_context",a.voiceContexts)}).error(function(a){e.show(g.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.routes.outbound.wizard",{url:"/wizard",templateUrl:"app/voice/route/outbound/wizard/wizard.html",controller:"VoiceRouteOutboundWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.routes",{url:"/routes",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice",{url:"/voice",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceVoicemailListCtrl",["$scope","$http","$translate","$rootScope","xAlert","socket","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={voicemailsByPage:{name:"10",value:10},labels:["mailbox","fullname","email"]},a.voicemailsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.voicemails={checked:[]},a.check=function(b,c){c?a.voicemails.checked=angular.copy(_.pluck(a.displayedVoicemails,"uniqueid")):a.voicemails.checked=[]},a.getVoicemails=function(b){return _.map(a.displayedVoicemails,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("voice_voicemail"),b.url="/api/voice/voicemails",h.getPage(b).then(function(c){a.displayedVoicemails=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.voicemailsByPage,a.displayedVoicemails.length),d.updateTableConfig(a.conf.voicemailsByPage,a.displayedVoicemails.length)}),f.socket.on("voice_voicemail:save",function(){a.initList(b)}),f.socket.on("voice_voicemail:remove",function(c){a.voicemails.checked=_.without(a.voicemails.checked,c.uniqueid),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/voice/voicemails/"+a).success(function(){e.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){e.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/voice/voicemails",{params:{uniqueid:a.voicemails.checked}}).success(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){e.show(c.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.voicemails.list",{url:"/list",templateUrl:"app/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","$http","xAlert","$translate","$stateParams","socket","$sce","Modal","$location",function(a,b,c,d,e,f,g,h,i){a.getVoicemail=function(){b.get("/api/voice/voicemails/"+e.uniqueid).success(function(b){delete b.password,delete b.stamp,a.voicemail=b}).error(function(a){console.error(a),i.path("/voice/voicemails/list")})},a.updateVoiceVoicemail=function(){var f=angular.copy(a.voicemail);b.put("/api/voice/voicemails/"+e.uniqueid,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.voicemail=f})},a.getContexts=function(){b.get("/api/voice/contexts").success(function(b){a.voiceContexts=b.rows,f.syncUpdates("voice_context",a.voiceContexts)}).error(function(a){c.show(a.message,"danger")})},a.getMessages=function(){b.get("/api/voice/voicemails/"+e.uniqueid+"/messages/").success(function(b){a.voicemailMessages=b,f.syncUpdates("voice_voicemail_messages",a.voicemailMessages)}).error(function(a){c.show(a.message,"danger")})},a.encodeRecording=function(a){return g.trustAsResourceUrl("data:audio/ogg;base64,"+j(a.data))},a.returnMessageDate=function(a){return a.split("T")[0]},a.returnDuration=function(a){return 1e3*a},a.deleteItem=h.confirm["delete"](function(a){b["delete"]("/api/voice/voicemails/messages/"+a+"/delete").success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){console.log(a),c.show(a.message,"danger")})});var j=function(a){for(var b=new Uint8Array(a),c=b.byteLength,d="",e=0;c>e;e++)d+=String.fromCharCode(b[e]);return window.btoa(d)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.voicemails.view",{url:"/view/:uniqueid",templateUrl:"app/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.voice.voicemails.view.settings",{url:"/settings",templateUrl:"app/voice/voicemail/view/view.settings.html"}).state("main.voice.voicemails.view.messages",{url:"/messages",templateUrl:"app/voice/voicemail/view/view.messages.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.voicemails",{url:"/voicemails",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceVoicemailWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","socket","$translate",function(a,b,c,d,e,f,g){a.initWizard=function(){a.forms={},a.item={}},a.next=function(){b.post("/api/voice/voicemails/validate/",a.item).success(function(a){a.length?e.show(g.instant("MESSAGE_EXIST_MAILBOX"),"danger"):c.wizard().next()}).error(function(a){e.show(a.message,"danger")})},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){a.item.customer_id=a.item.mailbox,b.post("/api/voice/voicemails/",a.item).success(function(){d.path("/voice/voicemails/list")}).error(function(a){e.show(a.message,"danger")})},a.getContexts=function(){b.get("/api/voice/contexts").success(function(b){a.voiceContexts=b.rows,f.syncUpdates("voice_context",a.voiceContexts)}).error(function(a){e.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.voicemails.wizard",{url:"/wizard",templateUrl:"app/voice/voicemail/wizard/wizard.html",controller:"VoiceVoicemailWizardCtrl"})}]),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","socket","$rootScope","$translate","xAlert","Modal","stResource","$uibModal","$log",function(a,b,c,d,e,f,g,h,i,j){a.conf={dashboardsByPage:{name:"10",value:10}},a.dashboardsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.dashboards={checked:[]},a.check=function(b,c){c?a.dashboards.checked=angular.copy(_.pluck(a.displayedDashboards,"id")):a.dashboards.checked=[]},a.getDashboards=function(b){return _.map(a.displayedDashboards,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){b.url="/api/dashboards",h.getPage(b).then(function(c){a.displayedDashboards=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.dashboardsByPage,a.displayedDashboards.length),d.updateTableConfig(a.conf.dashboardsByPage,a.displayedDashboards.length)}),c.socket.on("dashboard:save",function(){a.initList(b)}),c.socket.on("dashboard:remove",function(c){a.dashboards.checked=_.without(a.dashboards.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/dashboards/"+a).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/dashboards",{params:{id:a.dashboards.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.create=function(){var a=i.open({animation:!0,templateUrl:"app/yourdashboard/list/create.modal.html",controller:"YourdashboardListCreateModalCtrl"});a.result.then(function(a){b.post("/api/dashboards",a).then(function(a){f.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.data.message,"danger")})},function(){j.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.yourdashboards.list",{url:"/list",templateUrl:"app/yourdashboard/list/list.html",controller:"YourdashboardListCtrl"})}]),angular.module("xCallyShuttleApp").controller("YourdashboardShowCtrl",["$scope","localStorageService","$http","xAlert","$translate","Auth","$stateParams","$location",function(a,b,c,d,e,f,g,h){a.Auth=f,a.dashboard={name:"dashboard",structure:"4-8",enableconfirmdelete:!0,editable:f.isAdmin()?!0:!1,maximizable:!0,collapsible:!0},a.getDashboard=function(){c.get("/api/dashboards/"+g.id).success(function(b){b.model=JSON.parse(b.model),a.dashboard=_.merge(a.dashboard,b)}).error(function(a){h.path("/yourdashboards/list")})};var i=function(b,f,h){var i=angular.copy(a.dashboard);i.name=a.dashboard.model.title,i.model=JSON.stringify(i.model),c.put("/api/dashboards/"+g.id,i).success(function(){d.show(e.instant("MESSAGE_DASHBOARD_SAVED")+"!","success")}).error(function(b){d.show(b.message,"danger"),i.model=JSON.parse(i.model),i.name="dashboard",a.dashboard=i})};a.$on("adfDashboardChanged",i),a.$on("destroy",function(){console.log("main dashboard")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.yourdashboards.show",{url:"/show/:id",templateUrl:"app/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("/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.yourdashboards.view",{url:"/view/:id",templateUrl:"app/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.yourdashboards.view.settings",{url:"/settings",templateUrl:"app/yourdashboard/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.yourdashboards",{url:"/yourdashboards",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ZendeskListCtrl",["$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(_.pluck(a.displayedZdAccounts,"id")):a.accounts.checked=[]},a.getAccounts=function(b){return _.map(a.displayedZdAccounts,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("zendesk_account"),b.url="/api/zendesk/accounts",h.getPage(b).then(function(d){a.displayedZdAccounts=d.rows,b.pagination.numberOfPages=d.total_pages,c.updateTableConfig(a.accountsByPage,a.displayedZdAccounts.length),c.updateTableConfig(a.conf.accountsByPage,a.displayedZdAccounts.length)}),f.socket.on("zendesk_account:save",function(){a.initList(b)}),f.socket.on("zendesk_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/zendesk/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/zendesk/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/zendesk/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.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").controller("ZendeskViewCtrl",["$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("zendesk_configuration"),h.unsyncUpdates("zendesk_field")}),a.initView=function(){b.get("/api/zendesk/accounts/"+c.id).success(function(b){a.account=b}).error(function(a){i.show(a.message,"danger")})},a.updateItem=function(){b.put("/api/zendesk/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/zendesk/configurations",{params:{AccountId:c.id}}).success(function(b){a.configurations=b,h.socket.on("zendesk_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/zendesk/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/zendesk/configurations",a.configuration).success(function(a){e.path("zendesk/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/zendesk/accounts/"+c.id+"/fields").success(function(b){a.accountFields=f("zendesk")(b)}).error(function(a){i.show(a.message,"danger")})},a.getConfiguration=function(){b.get("/api/zendesk/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("zendesk_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/zendesk/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/zendesk/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/zendesk/configurations/"+c.configurationId+"/description",d).success(function(b){a.descriptionConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.addItemDescription=function(){var d={type:"string",content:""};b.post("/api/zendesk/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/zendesk/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/zendesk/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,"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",{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"}).state("main.zendesk.view.configurations",{url:"/configurations",templateUrl:"app/zendesk/view/view.configurations.html"}).state("main.zendesk.view.configurations.settings",{url:"/settings/:configurationId",templateUrl:"app/zendesk/view/view.configurationSettings.html",controller:"ZendeskViewCtrl"}).state("main.zendesk.view.configuration",{url:"/configuration",templateUrl:"app/zendesk/view/view.configuration.html"})}]),angular.module("xCallyShuttleApp").controller("ZendeskWizardCtrl",["$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.item.authType="password"},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("api/zendesk/accounts",a.item).success(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/zendesk/list")}).error(function(){e.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})}}]),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").config(["$stateProvider",function(a){a.state("main.zendesk",{url:"/zendesk",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").service("application",function(){var a={applications:[{name:"Queue",value:"Queue"},{name:"Playback",value:"Playback"},{name:"Dial",value:"Dial"},{name:"Cally-Square IVR",value:"AGI"},{name:"GoTo",value:"Goto"},{name:"Hangup",value:"Hangup"},{name:"Set",value:"Set"},{name:"Custom",value:"custom"},{name:"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"}]};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("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,b,c){e.put("token",a),e.put("userId",b),e.put("name",c),g=d.me()},logout:function(){c.put("/api/users/"+g.id,{online:!1}).success(function(){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"===g.role},getRole:function(){return g.role},getToken:function(){return e.get("token")},getUserId:function(){return console.log(e.get("userId")),e.get("userId")},getName:function(){return e.get("name")}}}]),angular.module("xCallyShuttleApp").factory("User",["$resource",function(a){
-return a("/api/users/:id/:controller",{id:"@id"},{changePassword:{method:"PUT",params:{controller:"password"}},me:{method:"GET",params:{id:"me"}}})}]),angular.module("xCallyShuttleApp").service("automations",function(){var a={voice:{conditions:[],actions:[]},mail:{conditions:[{name:"APPLICATION_STATUS",value:"status",propertyField:"select",operators:"equals"},{name:"APPLICATION_HOURS_SINCE_CREATED",value:"createdAt",propertyField:"number",operators:"noequals"}],actions:[{name:"APPLICATION_STATUS",value:"status",propertyField:"select"}]},chat:{conditions:[],actions:[]},fax:{conditions:[{name:"APPLICATION_STATUS",value:"status",propertyField:"select",operators:"equals"},{name:"APPLICATION_HOURS_SINCE_CREATED",value:"createdAt",propertyField:"number",operators:"noequals"}],actions:[{name:"APPLICATION_STATUS",value:"status",propertyField:"select"}]}},b=["voice","mail","chat","fax"],c={equals:[{value:"=",name:"APPLICATION_EQUALS_TO"},{value:"<>",name:"APPLICATION_NOT_EQUALS_TO"}],all:[{value:"=",name:"APPLICATION_EQUALS_TO"},{value:"<>",name:"APPLICATION_NOT_EQUALS_TO"},{value:">=",name:"APPLICATION_GTE_TO"},{value:"<=",name:"APPLICATION_LTE_TO"},{value:">",name:"APPLICATION_GREATER_THAN"},{value:"<",name:"APPLICATION_LESS_THAN"}],noequals:[{value:">=",name:"APPLICATION_GTE_TO"},{value:"<=",name:"APPLICATION_LTE_TO"},{value:">",name:"APPLICATION_GREATER_THAN"},{value:"<",name:"APPLICATION_LESS_THAN"}]},d={voice:{},mail:{status:[{name:"APPLICATION_STATUS_NEW",value:"NEW"},{name:"APPLICATION_STATUS_OPEN",value:"OPEN"},{name:"APPLICATION_STATUS_PENDING",value:"PENDING"},{name:"APPLICATION_STATUS_CLOSED",value:"CLOSED"},{name:"APPLICATION_STATUS_SOLVED",value:"SOLVED"}]},chat:{},fax:{status:[{name:"APPLICATION_STATUS_NEW",value:"NEW"},{name:"APPLICATION_STATUS_OPEN",value:"OPEN"},{name:"APPLICATION_STATUS_PENDING",value:"PENDING"},{name:"APPLICATION_STATUS_CLOSED",value:"CLOSED"},{name:"APPLICATION_STATUS_SOLVED",value:"SOLVED"}]}};return{automations:a,properties:d,channels:b,operators:c}}),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.$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",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.toggleQuickSidebar=function(){k.layout.pageQuickSidebarOpened=!k.layout.pageQuickSidebarOpened,k.layout.pageQuickSidebarOpened||m.remove("chatRoomId")},a.initHeader=function(){var c=j.load("api/xchatty/assets?resource=notification/xc_blubb.mp3"),d={};"agent"===g.getCurrentUser().role&&(i.socket.on("report_mail:save",function(a){c.play();var b=f("MAIL CHANNEL",{icon:"assets/images/media/channels/mail64.png",body:"NEW Incoming Mail Message!",delay:1e3*a.timeslot});b.$on("click",function(){e.put("/api/report/mails/"+a.id,{connect:!0}).success(function(){b.close(),h.show("Mail properly assigned","success")}).error(function(a){h.show(a.message,"danger")})})}),i.socket.on("report_chat:save",function(a){d[a.uniqueid]&&(d[a.uniqueid].close(),delete d[a.uniqueid]),c.play(),d[a.uniqueid]=f("CHAT CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Incoming Chat Visitor!",delay:1e3*a.timeslot}),d[a.uniqueid].$on("click",function(){e.put("/api/report/chats/"+a.id,{connect:!0}).success(function(){d[a.uniqueid].close(),h.show("Chat properly assigned","success"),b.$broadcast("chatMessageEvent",{type:"external",chatRoomId:a.chatroomid})}).error(function(a){"SequelizeUniqueConstraintError"===a.name?h.show("Chat has been already assigned!","danger"):h.show(a.message,"danger")})})}),i.socket.on("chat_message:save",function(a){var d=m.get("chatRoomId");if(!d||d!==a.ChatRoomId){c.play();var e=f(a.User.fullname,{icon:"assets/images/media/channels/chat64.png",body:a.body.length>35?a.body.substring(0,35)+"...":a.body,delay:1e4});e.$on("click",function(){b.$broadcast("chatMessageEvent",{chatRoomId:a.ChatRoomId})})}}),i.socket.on("user_has_chat_room:save",function(a){c.play();var d=f("Chat Group ",{icon:"assets/images/media/channels/chat64.png",body:"New Chat Group",delay:1e4});d.$on("click",function(){b.$broadcast("chatGroupEvent",a)})})),e({url:"/api/fax/user_has_queues",method:"GET",params:{UserId:g.getCurrentUser().id}}).success(function(b){a.faxQueues=_.pluck(b,"FaxQueueId"),a.faxQueues.forEach(function(a){i.socket.on("FAX:QUEUE:"+a,function(a,b){var c=f("FAX CHANNEL",{icon:"assets/images/media/channels/telephone124.png",body:"NEW Incoming Fax Message!",delay:1e3*a.timeout});c.$on("click",function(){e.put("/api/fax/rooms/"+a.roomId,{UserId:g.getCurrentUser().id}).success(function(){c.close(),b(g.getCurrentUser().id),l.success("Fax properly assigned","Success",{closeButton:!0,timeOut:5e3})}).error(function(){l.warning("Fax already assigned","Warning",{closeButton:!0,timeOut:5e3})})})})}),i.socket.on("FAX:AGENT:"+g.getCurrentUser().id,function(a,b){var c=f("FAX CHANNEL",{icon:"assets/images/media/channels/telephone124.png",body:"NEW Incoming Fax Message!",delay:1e3*a.timeout});c.$on("click",function(){e.put("/api/fax/rooms/"+a.roomId,{UserId:g.getCurrentUser().id}).success(function(){c.close(),b(g.getCurrentUser().id),l.success("Fax properly assigned","Success",{closeButton:!0,timeOut:5e3})}).error(function(){b(g.getCurrentUser().id),l.warning("Fax already assigned","Warning",{closeButton:!0,timeOut:5e3})})})})}).error(function(a){console.error(a)}),i.socket.on("user_has_fax_queue:save",function(b){b=_.map(b,function(a){return a.UserId=parseInt(a.UserId,10),a}),b=_.find(b,{UserId:g.getCurrentUser().id}),b&&-1===_.indexOf(a.faxQueues,b.FaxQueueId)&&(a.faxQueues.push(b.FaxQueueId),i.socket.on("FAX:QUEUE:"+b.FaxQueueId,function(a,b){var c=f("FAX CHANNEL",{icon:"assets/images/media/channels/telephone124.png",body:"NEW Incoming Fax Message!",delay:1e3*a.timeout});c.$on("click",function(){e.put("/api/fax/rooms/"+a.roomId,{UserId:g.getCurrentUser().id}).success(function(){c.close(),b(g.getCurrentUser().id),l.success("Fax properly assigned","Success",{closeButton:!0,timeOut:5e3})}).error(function(){b(g.getCurrentUser().id),l.warning("Fax already assigned","Warning",{closeButton:!0,timeOut:5e3})})})}))}),i.socket.on("user_has_fax_queue:remove",function(b){_.indexOf(b.where.UserId,g.getCurrentUser().id.toString())>=0&&_.indexOf(a.faxQueues,b.where.FaxQueueId)>=0&&(a.faxQueues=_.remove(a.faxQueues,b.where.FaxQueueId),i.socket.removeAllListeners("FAX:QUEUE:"+b.where.FaxQueueId))})},a.logout=function(){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"}],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:"<p>Are you sure you want to delete"+(e?"<strong> "+e+"</strong>":" selected items")+"?</p>",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").controller("QuickSidebarControllerAddModal",["$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.modal={title:"APPLICATION_AGENTS_SELECTION"},a.ok=function(){b.close(_.union(_.pluck(a.selected.items,"id"),_.pluck(a.items,"id")))},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").controller("QuickSidebarControllerCloseModal",["$scope","$uibModalInstance",function(a,b){a.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE_THE_CHAT"},a.ok=function(){b.close()},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").controller("QuickSidebarController",["$scope","$rootScope","$window","$http","$uibModal","$log","$timeout","$interval","Auth","Agent","User","ChatRoom","ChatMessage","socket","settings","localStorageService","xAlert","$translate","QuickSidebarFactory",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){a.emojiMessage={},a.options=s.options,a.message={body:"",user:""};var t=a.currentUser=i.getCurrentUser();a.$on("$includeContentLoaded",function(){p.get("chatRoomId")&&l.get({id:p.get("chatRoomId")},u,v),p.get("currentTab")&&(a.currentTab=p.get("currentTab"))}),a.agents=j.get({page:0,per_page:1e3},function(){n.syncUpdates("agent",a.agents.rows)}),a.users=k.get({page:0,per_page:1e3},function(){n.syncUpdates("user",a.users.rows)}),a.currentTab=0,a.messagesTab=!1,a.chatRooms=l.me(function(b){a.chatRooms=b},function(a){console.error(a)}),n.socket.on("report_chat:assignment",function(a){a.agentid&&l.get({id:a.chatroomid},u,v)}),n.socket.on("chat_room:save",function(b){if(a.chatRoom&&a.chatRoom.id===b.id){_.merge(a.chatRoom,b);var c=_.find(a.chatRooms,{id:b.id});c&&_.merge(c,b)}}),n.socket.on("chat_message:save",function(b){a.chatRoom&&a.chatRoom.id===b.ChatRoomId&&(a.chatRoom.ChatMessages.push(b),angular.element("page-quick-sidebar-chat-user-messages").mCustomScrollbar("scrollTo","last"))}),n.socket.on("user_has_chat_room:save",function(b){var c=_.findIndex(a.chatRooms,{id:b.id});c>=0?a.chatRooms[c]=b:a.chatRooms.push(b)}),b.$on("chatMessageEvent",function(a,b){l.get({id:b.chatRoomId},u,v)}),b.$on("chatGroupEvent",function(b,c){a.currentTab=3,a.messagesTab=!0,o.layout.pageQuickSidebarOpened=!0,a.chatRoom=c}),a.goToTab=function(b){a.currentTab=b,a.messagesTab=!1,a.chatRoom=null,p.set("currentTab",a.currentTab),p.set("messagesTab",a.messagesTab),p.remove("chatRoomId")},a.goToMessage=function(a,b){a?l.users({users:[t.id,a]},u,v):l.get({id:b},u,v)},a.sendMessage=function(){a.message.body.trim().length&&m.save({ChatRoomId:a.chatRoom.id,body:a.message.body},function(){a.message.body=""},function(a){console.error(a)})},a.goBack=function(){a.messagesTab=!1,a.chatRoom=null,p.set("messagesTab",a.messagesTab),p.remove("chatRoomId")},a.closeChatRoom=function(a,b){var c=e.open({animation:!0,size:b,templateUrl:"components/quickSidebar/modal/close.html",controller:"QuickSidebarControllerCloseModal"});c.result.then(function(){l.update({id:a,status:"close"}).$promise.then(function(){q.show(r.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){q.show(a.data.message,"danger")})},function(){f.info("Modal dismissed at: "+new Date)})},a.addAgent=function(b,c){var g=e.open({animation:!0,size:c,templateUrl:"components/quickSidebar/modal/add.html",controller:"QuickSidebarControllerAddModal",resolve:{items:function(){return _.map(a.chatRoom.Users?a.chatRoom.Users:[],function(a){return{id:a.id,fullname:a.fullname}})}}});g.result.then(function(a){d.put("/api/chat/rooms/"+b+"/users",{users:a}).then(function(a){q.show(r.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){q.show(a.data.message,"danger")})},function(){f.info("Modal dismissed at: "+new Date)})};var u=function(b){switch(a.messagesTab=!0,o.layout.pageQuickSidebarOpened=!0,p.set("chatRoomId",b.id),p.set("messagesTab",a.messagesTab),a.chatRoom=b,b.type){case"internal":a.currentTab=0;break;case"external":a.currentTab=2,_.find(a.chatRooms,{id:b.id})||a.chatRooms.push(b)}b.Users.length>2&&(a.currentTab=3),g(function(){angular.element("page-quick-sidebar-chat-user-messages").mCustomScrollbar("scrollTo","last")},1500)},v=function(a){console.error(a)},w=function(){var b=angular.element(c),d=function(){return{h:b.height(),w:b.width()}};a.$watch(d,function(b){a.style={height:b.h-46-46-46+"px"},a.style2={height:b.h-46-46-46-180+"px"}},!0),b.bind("resize",function(){a.$apply()})};w(),a.$on("$destroy",function(){n.unsyncUpdates("agent"),n.unsyncUpdates("user")})}]),angular.module("xCallyShuttleApp").directive("resizeQuickSidebar",["$window",function(a){return function(b){var c=angular.element(a);b.getWindowDimensions=function(){return{h:c.height(),w:c.width()}},b.$watch(b.getWindowDimensions,function(a){b.style={height:a.h-46-46-46+"px"}},!0),c.bind("resize",function(){b.$apply()})}}]),angular.module("xCallyShuttleApp").factory("QuickSidebarFactory",function(){return{options:{link:!0,linkTarget:"_blank",pdf:{embed:!1},image:{embed:!0},audio:{embed:!0},code:{highlight:!0,lineNumbers:!1},basicVideo:!1,video:{embed:!1,width:null,height:null,ytTheme:"dark",details:!1,ytAuthKey:"_nkO9h1A7HlVyiUICO17oA"}}}}),angular.module("xCallyShuttleApp").filter("QuickSidebarFilterUsersGreaterThan",function(){return function(a,b){var c=[];return a.forEach(function(a){var d=0;a.ChatVisitor&&d++,d+=a.Users.length,d>b&&c.push(a)}),c}}).filter("QuickSidebarFilterUsersLowerThan",function(){return function(a,b){var c=[];return a.forEach(function(a){a.Users.length<b&&c.push(a)}),c}}),angular.module("xCallyShuttleApp").controller("SidebarController",["$scope","$rootScope","$resource","$location","Auth","$http","xAlert","$stateParams","socket",function(a,b,c,d,e,f,g,h,i){a.Auth=e,a.$stateParams=h,a.$on("$includeContentLoaded",function(){Metronic.init(),Layout.initSidebar()}),a.isAssociated=function(a){if(e.isAdmin())return!0;if(e.getCurrentUser().Modules)for(var b=0;b<e.getCurrentUser().Modules.length;b++)if(e.getCurrentUser().Modules[b].name===a)return!0;return!1},a.getSidebarDashboards=function(){f.get("/api/dashboards").then(function(b){a.dashboards=b.data.rows,i.syncUpdates("dashboard",a.dashboards)})["catch"](function(a){g.show("Error loading your dashboards","danger")})},a.getSidebarIntegrations=function(){f.get("/api/integrations").success(function(b){a.integrations=b,i.syncUpdates("integration",a.integrations)}).error(function(a){g.show(a.message,"danger")})},a.isActive=function(a){return a===d.path()},a.$on("destroy",function(){i.unsyncUpdates("dashboard"),i.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||d.getUserId())+"&name="+(e.name||d.getName())+"&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",function(){var a={voice:{conditions:[{name:"APPLICATION_QUEUE",value:"queue",propertyField:"select",operators:"equals"},{name:"APPLICATION_CALL_STATUS",value:"lastevent",propertyField:"select",operators:"equals"}],actions:[{name:"APPLICATION_CONTACT_MANAGER",value:"contactManager"},{name:"APPLICATION_INTEGRATIONS",value:"integration",propertyField:"select",subField:{propertyField:"select",value:"account",api:{url:void 0,parseUrl:"/api/%s/accounts",query:void 0},subField:{propertyField:"select",value:"configuration",api:{url:void 0,parseUrl:"/api/%s/configurations",query:{field:"AccountId"}}}}}]},mail:{conditions:[{name:"APPLICATION_FROM",value:"from",propertyField:"input",operators:"equals"},{name:"APPLICATION_CC",value:"cc",propertyField:"input",operators:"equals"},{name:"APPLICATION_SUBJECT",value:"subject",propertyField:"input",operators:"equals"}],actions:[{name:"APPLICATION_TEMPLATE",value:"template",propertyField:"select",subField:{propertyField:"select",value:"smtp"}},{name:"APPLICATION_CONTACT_MANAGER",value:"contactManager"}]},chat:{conditions:[],actions:[]},fax:{conditions:[],actions:[]}},b={equals:[{value:"=",name:"APPLICATION_EQUALS_TO"},{value:"<>",name:"APPLICATION_NOT_EQUALS_TO"}],all:[{value:"=",name:"APPLICATION_EQUALS_TO"},{value:"<>",name:"APPLICATION_NOT_EQUALS_TO"},{value:">=",name:"APPLICATION_GTE_TO"},{value:"<=",name:"APPLICATION_LTE_TO"},{value:">",name:"APPLICATION_GREATER_THAN"},{value:"<",name:"APPLICATION_LESS_THAN"}],noequals:[{value:">=",name:"APPLICATION_GTE_TO"},{value:"<=",name:"APPLICATION_LTE_TO"},{value:">",name:"APPLICATION_GREATER_THAN"},{value:"<",name:"APPLICATION_LESS_THAN"}]},c={voice:{lastevent:[{name:"APPLICATION_LASTEVENT_RINGING",value:"called"},{name:"APPLICATION_LASTEVENT_UP",value:"connect"},{name:"APPLICATION_LASTEVENT_COMPLETE",value:"complete"},{name:"APPLICATION_LASTEVENT_REJECTED",value:"rejected"},{name:"APPLICATION_LASTEVENT_ABANDONED",value:"abandoned"}]},mail:{},chat:{},fax:{}},d=["voice","mail","chat","fax"];return{triggers:a,properties:c,operators:b,channels:d}}),function(a,b){angular.module("adf.widget.counter",["adf.provider"]).value("apiServiceUrlCounter","/api/widgets/counter").config(["dashboardProvider",function(a){a.widget("counter",{title:"Counter",description:"Counter for db results",templateUrl:"{widgetsPath}/counter/src/view.html",controller:"apiwidgetCounterViewCtrl",edit:{templateUrl:"{widgetsPath}/counter/src/edit.html",controller:"apiwidgetCounterEditCtrl"}})}]).service("apiServiceCounter",["$q","$http","apiServiceUrlCounter",function(a,b,c){return{get:function(d){var e=a.defer();return b.get(c,{params:{condition:encodeURIComponent(d.condition),table:d.report}}).success(function(a){a?e.resolve(a):e.reject()}).error(function(a){console.log(a),e.reject()}),e.promise}}}]).controller("apiwidgetCounterEditCtrl",["$scope",function(a){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.colors=[{name:"Blue",value:"blue-madison"},{name:"Red",value:"red-intense"},{name:"Green",value:"green-haze"},{name:"Purple",value:"purple-plum"},{name:"Orange",value:"yellow-casablanca"},{name:"Yellow",value:"yellow-crusta"}],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"}],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.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.condition&&a.config.report&&c.get(a.config).then(function(b){a.count=parseInt(b[0].count)})},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","<form role=form><div class=form-group><label class=control-label>{{'APPLICATION_REPORT' | translate}}</label><ui-select data-ng-model=config.report name=report theme=bootstrap><ui-select-match placeholder=\"{{ 'APPLICATION_REPORT' | translate }}\">{{$select.selected.name}}</ui-select-match><ui-select-choices repeat=\"report.value as report in config.reportTables | filter: $select.search\"><div ng-bind-html=\"report.name | highlight: $select.search\"></div></ui-select-choices></ui-select></div><div class=form-group><label for=condition>{{'APPLICATION_CONDITION' | translate}}</label> <input type=text class=form-control id=condition ng-model=config.condition placeholder=\"{{'APPLICATION_CONDITION' | translate}}\"></div><div class=form-group><label for=condition>{{'APPLICATION_REFRESH_TIMEOUT' | translate}}</label> <input type=number class=form-control id=timeout ng-model=config.timeout placeholder=\"{{'APPLICATION_REFRESH_TIMEOUT' | translate}}\" min=1></div><div class=form-group><label class=control-label>{{'APPLICATION_WIDGET_COLOR' | translate}}</label><ui-select data-ng-model=config.color name=color theme=bootstrap><ui-select-match placeholder=\"{{ 'APPLICATION_WIDGET_COLOR' | translate }}\">{{$select.selected.name}}</ui-select-match><ui-select-choices repeat=\"color.value as color in config.colors | filter: $select.search\"><div ng-bind-html=\"color.name | highlight: $select.search\"></div></ui-select-choices></ui-select></div><div class=form-group><label class=control-label>{{'APPLICATION_WIDGET_ICON' | translate}}</label><ui-select data-ng-model=config.icon name=icon theme=bootstrap><ui-select-match placeholder=\"{{ 'APPLICATION_WIDGET_ICON' | translate }}\">{{$select.selected.name}}</ui-select-match><ui-select-choices repeat=\"icon.value as icon in config.icons | filter: $select.search\"><div ng-bind-html=\"icon.name | highlight: $select.search\"></div></ui-select-choices></ui-select></div><div class=form-group><label for=condition>{{'APPLICATION_WIDGET_DETAILS' | translate}}</label> <input type=text class=form-control id=details ng-model=config.details maxlength=30 placeholder=\"{{'APPLICATION_WIDGET_DETAILS' | translate}}\"></div><div class=form-group><label for=condition>{{'APPLICATION_WIDGET_LINK' | translate}}</label> <input type=text class=form-control id=link ng-model=config.link placeholder=http://yourlink></div><div class=form-group><label for=condition>{{'APPLICATION_WIDGET_LINK_TEXT' | translate}}</label> <input type=text class=form-control id=linkText ng-model=config.linkText maxlength=30 placeholder=\"{{'APPLICATION_WIDGET_LINK_TEXT' | translate}}\"></div></form>"),a.put("{widgetsPath}/counter/src/view.html",'<div class=dashboard-stat ng-class=config.color ng-if="count || count === 0"><div class=visual><i class=fa ng-class=config.icon></i></div><div class=details><div class=number>{{count}}</div><div class=desc>{{config.details}}</div></div><a class=more href={{config.link}}>{{config.linkText}} <i class="m-icon-swapright m-icon-white"></i></a></div><div class="alert alert-danger" role=alert ng-if=!config.report><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_WIDGET_SELECT_REPORT\' | translate}}</div><div class="alert alert-danger" role=alert ng-if="!count && count != 0"><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_ENTER_VALID_CONDITION\' | translate}}</div>')}])}(window),function(a,b){angular.module("adf.widget.pie-chart",["adf.provider"]).value("apiServiceUrlPieChart","/api/widgets/piechart").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",["$q","$http","apiServiceUrlPieChart",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("apiWidgetPieChartEditCtrl",["$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.fields=a.config.fields?a.config.fields:[{column:"",alias:""}],a.addField=function(){b().push({})},a.removeField=function(a){b().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&&1===b.length){a.labels=[],a.data=[];for(var c in b[0])a.labels.push(c),a.data.push(b[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",'<form role=form><div class=form-group><label class=control-label>{{\'APPLICATION_REPORT\' | translate}}</label><ui-select data-ng-model=config.report name=report theme=bootstrap><ui-select-match placeholder="{{ \'APPLICATION_REPORT\' | translate }}">{{$select.selected.name}}</ui-select-match><ui-select-choices repeat="report.value as report in config.reportTables | filter: $select.search"><div ng-bind-html="report.name | highlight: $select.search"></div></ui-select-choices></ui-select></div><div><label class=control-label>{{\'APPLICATION_FIELDS\' | translate}}</label></div><div class=padding-bottom ng-repeat="field in config.fields"><div class=form-group><div class=input-group><input type=text class=form-control ng-model=field.column> <span class=input-group-addon>as</span> <input type=text class=form-control ng-model=field.alias> <span class=input-group-btn ng-if="config.fields.length>1"><button class="btn btn-danger" type=button data-ng-click=removeField($index)><i class="fa fa-times"></i> {{\'APPLICATION_REMOVE\' | translate}}</button></span></div></div></div><button type=button class="btn btn-sm green mbottom20" ng-click=addField()><i class="fa fa-plus"></i> {{\'APPLICATION_ADD_FIELD\' | translate}}</button><div class=form-group><label for=condition>{{\'APPLICATION_CONDITION\' | translate}}</label> <input type=text class=form-control id=condition ng-model=config.condition placeholder="{{\'APPLICATION_CONDITION\' | translate}}"></div><div class=form-group><label for=condition>{{\'APPLICATION_REFRESH_TIMEOUT\' | translate}}</label> <input type=number class=form-control id=timeout ng-model=config.timeout placeholder="{{\'APPLICATION_REFRESH_TIMEOUT\' | translate}}" min=1></div></form>'),a.put("{widgetsPath}/pie-chart/src/view.html",'<div ng-if=labels.length ng-style=config.style><canvas id=doughnut class="chart chart-doughnut" chart-data=data chart-labels=labels legend=true></canvas></div><div class="alert alert-danger" role=alert ng-if=!config.report><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_WIDGET_SELECT_REPORT\' | translate}}</div><div class="alert alert-danger" role=alert ng-if=!labels.length><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_ENTER_VALID_CONDITION\' | translate}}</div><div class="alert alert-danger" role=alert ng-if=!labels.length><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_ENTER_ONE_VALID_METRIC_AND_CHECK_OTHER\' | translate}}</div>')}])}(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",'<form role=form><div class=form-group><label class=control-label>{{\'APPLICATION_REPORT\' | translate}}</label><ui-select data-ng-model=config.report name=report theme=bootstrap><ui-select-match placeholder="{{ \'APPLICATION_REPORT\' | translate }}">{{$select.selected.name}}</ui-select-match><ui-select-choices repeat="report.value as report in config.reportTables | filter: $select.search"><div ng-bind-html="report.name | highlight: $select.search"></div></ui-select-choices></ui-select></div><div><label class=control-label>{{\'APPLICATION_METRICS\' | translate}}</label></div><div class=padding-bottom ng-repeat="field in config.fields"><div class=form-group><div class=input-group><input type=text class=form-control ng-model=field.column> <span class=input-group-addon>as</span> <input type=text class=form-control ng-model=field.alias> <span class=input-group-btn ng-if="config.fields.length>1"><button class="btn btn-danger" type=button data-ng-click=removeField($index)><i class="fa fa-times"></i> {{\'APPLICATION_REMOVE\' | translate}}</button></span></div></div></div><button type=button class="btn btn-sm green mbottom20" ng-click=addField()><i class="fa fa-plus"></i> {{\'APPLICATION_ADD_FIELD\' | translate}}</button><div class=form-group><label for=condition>{{\'APPLICATION_CONDITION\' | translate}}</label> <input type=text class=form-control id=condition ng-model=config.condition placeholder="{{\'APPLICATION_CONDITION\' | translate}}"></div><div class=form-group><label for=condition>{{\'APPLICATION_REFRESH_TIMEOUT\' | translate}}</label> <input type=number class=form-control id=timeout ng-model=config.timeout placeholder="{{\'APPLICATION_REFRESH_TIMEOUT\' | translate}}" min=1></div><div class=form-group><label for=condition>{{\'APPLICATION_WIDGET_MAX_HEIGHT\' | translate}}</label> <input type=number class=form-control id=height ng-model=config.height placeholder="{{\'APPLICATION_WIDGET_MAX_HEIGHT\' | translate}}" min=350></div></form>'),a.put("{widgetsPath}/table/src/view.html",'<div ng-if=results ng-style=config.style><table st-table=results class="table table-striped table-bordered table-hover"><div class=table-responsive><thead><tr><th colspan={{config.fields.length}}><div class=row><div class=col-md-6></div><div class=col-md-6><div class="input-group input-medium pull-right"><input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class=form-control type=search> <span class=input-group-addon><i class="fa fa-search"></i></span></div></div></div></th></tr><tr><th ng-repeat="field in config.fields">{{field.alias}}</th></tr></thead><tbody><tr data-ng-repeat="result in results" class=animate-repeat><td ng-repeat="field in config.fields">{{result[field.alias]}}</td></tr><tr data-ng-hide=results.length><td colspan={{config.fields.length}} style=text-align:center;><i>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</i></td></tr></tbody><tfoot><tr><td colspan={{config.fields.length}} class=text-center><div st-pagination class=pagination st-items-by-page=10 st-displayed-pages=3></div></td></tr></tfoot></div></table></div><div class="alert alert-danger" role=alert ng-if=!config.report><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_WIDGET_SELECT_REPORT\' | translate}}</div><div class="alert alert-danger" role=alert ng-if=!results><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_ENTER_VALID_CONDITION\' | translate}}</div><div class="alert alert-danger" role=alert ng-if=!results><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_ENTER_ONE_VALID_FIELD_AND_CHECK_OTHER\' | translate}}</div>')}])}(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<f.length;a++){var b=f[a];b.call()}},n=function(){var a;if(c){var b;$(window).resize(function(){b!=document.documentElement.clientHeight&&(a&&clearTimeout(a),a=setTimeout(function(){m()},50),b=document.documentElement.clientHeight)})}else $(window).resize(function(){a&&clearTimeout(a),a=setTimeout(function(){m()},50)})},o=function(){$("body").on("click",".portlet > .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:'<div class="icheck_line-icon"></div>'+$(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")?!0:!1,railVisible:"1"==$(this).attr("data-rail-visible")?!0:!1,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?'<div class="loading-message '+(a.boxed?"loading-message-boxed":"")+'"><div class="block-spinner-bar"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></div></div>':a.iconOnly?'<div class="loading-message '+(a.boxed?"loading-message-boxed":"")+'"><img src="'+this.getGlobalImgPath()+'loading-spinner-blue.gif" align=""></div>':a.textOnly?'<div class="loading-message '+(a.boxed?"loading-message-boxed":"")+'"><span>&nbsp;&nbsp;'+(a.message?a.message:"LOADING...")+"</span></div>":'<div class="loading-message '+(a.boxed?"loading-message-boxed":"")+'"><img src="'+this.getGlobalImgPath()+'loading-spinner-blue.gif" align=""><span>&nbsp;&nbsp;'+(a.message?a.message:"LOADING...")+"</span></div>",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('<div class="page-spinner-bar"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></div>')):($(".page-loading").remove(),$("body").append('<div class="page-loading"><img src="'+this.getGlobalImgPath()+'loading-spinner-blue.gif"/>&nbsp;&nbsp;<span>'+(a&&a.message?a.message:"Loading...")+"</span></div>"))},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='<div id="'+b+'" class="Metronic-alerts alert alert-'+a.type+' fade in">'+(a.close?'<button type="button" class="close" data-dismiss="alert" aria-hidden="true"></button>':"")+(""!==a.icon?'<i class="fa-lg fa fa-'+a.icon+'"></i>  ':"")+a.message+"</div>";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<e.length;b++)if(c=e[b].split("="),c[0]==a)return unescape(c[1]);return null},isTouchDevice:function(){try{return document.createEvent("TouchEvent"),!0}catch(a){return!1}},getViewPort:function(){var a=window,b="inner";return"innerWidth"in window||(b="client",a=document.documentElement||document.body),{width:a[b+"Width"],height:a[b+"Height"]}},getUniqueID:function(a){return"prefix_"+Math.floor(Math.random()*(new Date).getTime())},isIE8:function(){return c},isIE9:function(){return d},isRTL:function(){return b},isAngularJsApp:function(){return"undefined"==typeof angular?!1:!0},getAssetsPath:function(){return g},setAssetsPath:function(a){g=a},setGlobalImgPath:function(a){h=a},getGlobalImgPath:function(){return g+h},setGlobalPluginsPath:function(a){i=a},getGlobalPluginsPath:function(){return g+i},getGlobalCssPath:function(){return g+j},getBrandColor:function(a){return k[a]?k[a]:""},getResponsiveBreakpoint:function(a){var b={xs:480,sm:768,md:900,lg:1200};return b[a]?b[a]:0}}}(),Layout=function(){var a="img/",b="css/",c=Metronic.getResponsiveBreakpoint("md"),d=function(){var a,b=$(".page-content"),d=$(".page-sidebar"),e=$("body");if(e.hasClass("page-footer-fixed")===!0&&e.hasClass("page-sidebar-fixed")===!1){var f=Metronic.getViewPort().height-$(".page-footer").outerHeight()-$(".page-header").outerHeight();b.height()<f&&b.attr("style","min-height:"+f+"px")}else{if(e.hasClass("page-sidebar-fixed"))a=g(),e.hasClass("page-footer-fixed")===!1&&(a-=$(".page-footer").outerHeight());else{var h=$(".page-header").outerHeight(),i=$(".page-footer").outerHeight();a=Metronic.getViewPort().width<c?Metronic.getViewPort().height-h-i:d.height()+20,a+h+i<=Metronic.getViewPort().height&&(a=Metronic.getViewPort().height-h-i)}b.attr("style","min-height:"+a+"px")}},e=function(a,b){var d=location.hash.toLowerCase(),e=$(".page-sidebar-menu");if("click"===a||"set"===a?b=$(b):"match"===a&&e.find("li > 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('<span class="selected"></span>'),1===$(this).children("ul.sub-menu").size()&&$(this).addClass("open")}),"click"===a&&Metronic.getViewPort().width<c&&$(".page-sidebar").hasClass("in")&&$(".page-header .responsive-toggler").click()}},f=function(){jQuery(".page-sidebar").on("click","li > 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<c&&$(".page-sidebar").hasClass("in")&&$(".page-header .responsive-toggler").click());if(!$(this).next().hasClass("sub-menu always-open")){var e=$(this).parent().parent(),f=$(this),g=$(".page-sidebar-menu"),h=jQuery(this).next(),i=g.data("auto-scroll"),j=parseInt(g.data("slide-speed")),k=g.data("keep-expanded");k!==!0&&(e.children("li.open").children("a").children(".arrow").removeClass("open"),e.children("li.open").children(".sub-menu:not(.always-open)").slideUp(j),e.children("li.open").removeClass("open"));var l=-200;h.is(":visible")?(jQuery(".arrow",jQuery(this)).removeClass("open"),jQuery(this).parent().removeClass("open"),h.slideUp(j,function(){i===!0&&$("body").hasClass("page-sidebar-closed")===!1&&($("body").hasClass("page-sidebar-fixed")?g.slimScroll({scrollTo:f.position().top}):Metronic.scrollTo(f,l)),d()})):b&&(jQuery(".arrow",jQuery(this)).addClass("open"),jQuery(this).parent().addClass("open"),h.slideDown(j,function(){i===!0&&$("body").hasClass("page-sidebar-closed")===!1&&($("body").hasClass("page-sidebar-fixed")?g.slimScroll({scrollTo:f.position().top}):Metronic.scrollTo(f,l)),d()})),a.preventDefault()}}}),jQuery(".page-sidebar").on("click"," li > 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<c&&$(".page-sidebar").hasClass("in")&&$(".page-header .responsive-toggler").click(),Metronic.startPageLoading();var f=$(this);$.ajax({type:"GET",cache:!1,url:b,dataType:"html",success:function(a){0===f.parents("li.open").size()&&$(".page-sidebar-menu > li.open > a").click(),Metronic.stopPageLoading(),e.html(a),Layout.fixContentHeight(),Metronic.initAjax()},error:function(a,b,c){Metronic.stopPageLoading(),e.html("<h4>Could not load the requested content.</h4>")}})}),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().width<c&&$(".page-sidebar").hasClass("in")&&$(".page-header .responsive-toggler").click(),$.ajax({type:"GET",cache:!1,url:b,dataType:"html",success:function(a){Metronic.stopPageLoading(),d.html(a),Layout.fixContentHeight(),Metronic.initAjax()},error:function(a,b,c){d.html("<h4>Could not load the requested content.</h4>"),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(){var a=$("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"),$("body").on("click",".sidebar-toggler",function(b){var c=$(".page-sidebar"),d=$(".page-sidebar-menu");$(".sidebar-search",c).removeClass("open"),a.hasClass("page-sidebar-closed")?(a.removeClass("page-sidebar-closed"),d.removeClass("page-sidebar-menu-closed"),$.cookie&&$.cookie("sidebar_closed","0")):(a.addClass("page-sidebar-closed"),d.addClass("page-sidebar-menu-closed"),a.hasClass("page-sidebar-fixed")&&d.trigger("mouseleave"),$.cookie&&$.cookie("sidebar_closed","1")),$(window).trigger("resize")})},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('<span class="selected"></span>')}),$(".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<c)return void Metronic.destroySlimScroll(d.find(".full-height-content-body"));a=a-b.find(".portlet-title").outerHeight(!0)-parseInt(b.find(".portlet-body").css("padding-top"))-parseInt(b.find(".portlet-body").css("padding-bottom"))-2,b.hasClass("full-height-content-scrollable")?(a-=35,d.find(".full-height-content-body").css("height",a),Metronic.initSlimScroll(d.find(".full-height-content-body"))):d.css("min-height",a)}else{if(Metronic.getViewPort().width<c)return void Metronic.destroySlimScroll(b.find(".full-height-content-body"));b.hasClass("full-height-content-scrollable")?(a-=35,b.find(".full-height-content-body").css("height",a),Metronic.initSlimScroll(b.find(".full-height-content-body"))):b.css("min-height",a)}};return{initHeader:function(){k()},setSidebarMenuActiveLink:function(a,b){e(a,b)},initSidebar:function(){h(),f(),j(),Metronic.isAngularJsApp()&&e("match"),Metronic.addResizeHandler(h)},initContent:function(){n(),l(),Metronic.addResizeHandler(d),Metronic.addResizeHandler(n)},initFooter:function(){m()},init:function(){this.initHeader(),this.initSidebar(),this.initContent(),this.initFooter()},fixContentHeight:function(){d()},initFixedSidebarHoverEffect:function(){i()},initFixedSidebar:function(){h()},getLayoutImgPath:function(){return Metronic.getAssetsPath()+a},getLayoutCssPath:function(){return Metronic.getAssetsPath()+b}}}();angular.module("xCallyShuttleApp").run(["$templateCache",function(a){a.put("app/agent/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n       <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-people"></i>\n                                   <a href="/agents/list">{{ \'APPLICATION_AGENTS\' | translate }}</a>\n                           </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-people font-green-sharp"></i>\n                                  <span class="caption-subject">{{ \'APPLICATION_AGENTS\' | translate }}</a> </span>\n                            </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="agents.checked.length">\n                                          <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle" href="#" data-toggle="dropdown">\n                                                  <i class="icon-plus"></i> {{ \'APPLICATION_NEW_AGENT\' | translate }} <i class="fa fa-angle-down"></i>\n                                                </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <li>\n                                                          <a href="/agents/wizard">\n                                                             <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                         </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getAgents([\'name\', \'fullname\', \'email\'])" csv-header="[\'Username\', \'Fullname\', \'Email\']" field-separator=";" filename="agents.csv">\n                                     <i class="icon-cloud-download"></i></a>\n                               </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedAgents" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                  <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="5">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.agentsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                                <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="agentByPage in agentsByPage | filter: $select.search">\n                                                                                                     <div ng-bind-html="agentByPage.name | highlight: $select.search"></div>\n                                                                                               </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(agent, checked)" checklist-model checklist-value="id"></th>\n                                                    <th st-sort="fullname">{{ \'APPLICATION_FULLNAME\' | translate }}</th>\n                                                <th st-sort="name">{{ \'APPLICATION_USERNAME\' | translate }}</th>\n                                                    <th st-sort="email">{{ \'APPLICATION_EMAIL\' | translate }}</th>\n                                                          <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="agent in displayedAgents" class="animate-repeat">\n                                                             <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="agents.checked" checklist-value="agent.id"></td>\n                                                               <td>{{agent.fullname}}</td>\n                                         <td>{{agent.name}}</td>\n                                       <td><a data-ng-href="mailto:{{agent.email}}">{{agent.email}}</a></td>\n                                         <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/agents/view/{{agent.id}}/account">\n                                                                           {{ \'APPLICATION_PROFILE\' | translate }}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(agent.fullname,agent.id)">\n                                                                         {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedAgents.length">\n                                                            <td colspan="5" style="text-align:center;">\n                                                                   <i>No agents available</i>\n                                                            </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="fullname" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                    </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_USERNAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                    </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="email" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_EMAIL\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                      </div>\n                                                    </td>\n                                                 <td/>\n                                               </tr>\n                                           <tr>\n                                            <td colspan="5" class="text-center">\n                                                                    <div class="pagination" st-pagination st-items-by-page="conf.agentsByPage.value" st-displayed-pages="7"></div>\n                                              </td>\n                                       </tr>\n                                       </tfoot>\n                                    </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
-a.put("app/agent/view/view.account.html",'<div class="row">\n  <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_PROFILE\' | translate}} {{ \'APPLICATION_ACCOUNT\' | translate}}</span>\n                               </div>\n                                <ul class="nav nav-tabs">\n                                     <li data-ng-class="{\'active\': Auth.isAdmin()}" data-ng-show="Auth.isAdmin()">\n                                               <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_PERSONAL_INFO\' | translate}}</a>\n                                       </li>\n                                 <li data-ng-show="Auth.isAdmin()">\n                                            <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_CHANGE_AVATAR\' | translate}}</a>\n                                       </li>\n                                 <li data-ng-show="Auth.isAdmin() || agent.id === Auth.getCurrentUser().id" data-ng-class="{\'active\': !Auth.isAdmin() && agent.id === Auth.getCurrentUser().id}">\n                                            <a href="#" data-target="#tab_1_3" data-toggle="tab">{{ \'APPLICATION_CHANGE_PASSWORD\' | translate}}</a>\n                                     </li>\n                         </ul>\n                 </div>\n\n                      <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- PERSONAL INFO TAB -->\n                                    <div class="tab-pane" data-ng-class="{\'active\': Auth.isAdmin()}" data-ng-show="Auth.isAdmin()" id="tab_1_1">\n                                                <form name="forms.info" data-ng-submit="updateItem()" novalidate>\n                                                     <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="fullname" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="agent.fullname" required/>\n                                                          <span data-ng-show="(forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$error.required" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START USERNAME -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                             <input type="text" name="name" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="agent.name" required/>\n                                                              <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.required" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n                                                       <!-- START EMAIL -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': (forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$invalid}">\n                                                           <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="agent.email" required/>\n                                                              <span data-ng-show="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$error.required" class="help-block help-block-error">\n                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                               <span data-ng-show="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$error.email" class="help-block help-block-error">\n                                                                       <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n                                                           </span>\n                                                       </div>\n                                                        <!-- END EMAIL -->\n\n                                                  <!-- START INTERNAL -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': (forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                              <input type="text" name="internal" placeholder="{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}" class="form-control" data-ng-model="agent.internal" required disabled/>\n                                                              <span data-ng-show="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$error.required" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END INTERNAL -->\n\n                                                       <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END PERSONAL INFO TAB -->\n                                        <!-- CHANGE AVATAR TAB -->\n                                    <div class="tab-pane" data-ng-show="Auth.isAdmin()" id="tab_1_2">\n                                             <form action="#" role="form">\n                                                 <div class="form-group">\n                                                              <div class="fileinput fileinput-new" data-provides="fileinput">\n                                                                       <div class="fileinput-new thumbnail" style="width: 200px; height: 150px;">\n                                                                            <img src="http://www.placehold.it/200x150/EFEFEF/AAAAAA&amp;text=no+image" alt=""/>\n                                                                   </div>\n                                                                        <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 200px; max-height: 150px;">\n                                                                       </div>\n                                                                        <div>\n                                                                         <span class="btn default btn-file" data-ng-show="!uploader.queue[0]">\n                                                                                 <span> {{ \'APPLICATION_SELECT_IMAGE\' | translate }} </span>\n                                                                                 <input type="file" nv-file-select="" uploader="uploader" /><br/>\n                                                                              </span>\n                                                                               <button type="button" class="btn default" data-ng-show="uploader.queue[0]" data-dismiss="fileinput" ng-click="uploader.queue[0].remove()">\n                                                                                    {{ \'APPLICATION_REMOVE\' | translate }}\n                                                                              </button>\n                                                                             <button type="button" class="btn green-haze" data-ng-show="uploader.queue[0]" data-ng-click="uploader.queue[0].upload()" ng-disabled="uploader.queue[0].isReady || uploader.queue[0].isUploading || uploader.queue[0].isSuccess">\n                                                                                     {{ \'APPLICATION_CONFIRM\' | translate }}\n                                                                             </button>\n                                                                     </div>\n                                                                        <p>\n                                                                           </br> {{ \'MESSAGE_SUPPORTED_FORMATS\' | translate }} <b>jpg, png, jpeg</b>.\n                                                                  </p>\n                                                          </div>\n                                                        </div>\n                                                </form>\n                                               <div class="row">\n                                                     <div class="col-md-2">\n                                                                <table class="table" border="0">\n                                                                      <tbody>\n                                                                       <tr data-ng-repeat="item in uploader.queue">\n                                                                                  <td style="border-top-style:none">\n                                                                                            <strong>\n                                                                                                      {{ item.file.name }}\n                                                                                          </strong>\n                                                                                     </td>\n                                                                                 <td data-ng-show="uploader.isHTML5" nowrap style="border-top-style:none">\n                                                                                             {{ item.file.size/1024/1024|number:2 }} MB\n                                                                                    </td>\n                                                                                 <td nowrap style="border-top-style:none">\n                                                                                             <button type="button" class="btn btn-danger btn-xs" data-ng-click="item.remove()">\n                                                                                                            <span class="glyphicon glyphicon-trash"></span> Remove\n                                                                                                </button>\n                                                                                     </td>\n                                                                         </tr>\n                                                                 </tbody>\n                                                              </table>\n                                                      </div>\n                                                </div>\n                                        </div>\n                                        <!-- END CHANGE AVATAR TAB -->\n                                        <!-- CHANGE PASSWORD TAB -->\n                                  <div class="tab-pane" data-ng-show="Auth.isAdmin() || agent.id === Auth.getCurrentUser().id" data-ng-class="{\'active\': !Auth.isAdmin() && agent.id === Auth.getCurrentUser().id}" id="tab_1_3">\n                                             <form name="forms.changePwd" data-ng-submit="forms.changePwd.$valid && updatePassword()" novalidate>\n                                                  <!-- START CURRENT PWD -->\n                                                    <div class="form-group" data-ng-if="!Auth.isAdmin()" data-ng-class="{\'has-error\': (forms.changePwd.current_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.current_pwd.$invalid}">\n                                                           <label class="control-label">{{\'APPLICATION_CURRENT_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                             <input type="password" name="current_pwd" placeholder="{{\'APPLICATION_CURRENT_PASSWORD\' | translate}}" class="form-control" data-ng-model="agent.currentPwd" required/>\n                                                             <span data-ng-show="(forms.changePwd.current_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.current_pwd.$error.required" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END CURRENT PWD -->\n                                                      <!-- START NEW PWD -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': (forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_NEW_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="password" name="new_pwd" placeholder="{{\'APPLICATION_NEW_PASSWORD\' | translate}}" class="form-control" data-ng-model="agent.newPwd" required/>\n                                                         <span data-ng-show="(forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$error.required" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NEW PWD -->\n                                                  <!-- START RE-NEW PWD -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': (forms.changePwd.re_new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.re_new_pwd.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_RE_TYPE_NEW_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="password" name="re_new_pwd" placeholder="{{\'APPLICATION_RE_TYPE_NEW_PASSWORD\' | translate}}" class="form-control" data-ng-model="agent.reNewPwd" nx-equal="agent.newPwd" required/>\n                                                            <span data-ng-show="(forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$error.required" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END RE-NEW PWD -->\n                                                       <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END CHANGE PASSWORD TAB -->\n                              </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/agent/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initView()">\n  <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-people"></i>\n                                   <a href="/agents/list">{{ \'APPLICATION_AGENTS\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <a href="#">{{agent.fullname}}</a>\n                            </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-userpic">\n                                 <img ng-src="api/users/avatar/{{agent.userpic ? agent.userpic : \'unknown_avatar\'}}" class="img-responsive">\n                         </div>\n                                <!-- END SIDEBAR USERPIC -->\n\n                                <!-- START SIDEBAR USER TITLE -->\n                             <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{agent.fullname}}\n                                    </div>\n                                        <div class="profile-usertitle-job">\n                                           {{agent.role}}\n                                        </div>\n                                </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.agents.view.account\')}">\n                                                        <a data-ng-href="/agents/view/{{agent.id}}/account">\n                                                  <i class="icon-user"></i>\n                                                     {{ \'APPLICATION_ACCOUNT\' | translate}} </a>\n                                         </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n\n          <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/agent/wizard/wizard.html",'<div class="col-md-12">\n  <!-- BEGIN PAGE HEADER-->\n       <div class="page-bar">\n                <ul class="page-breadcrumb">\n                  <li>\n                          <i class="icon-rocket"></i>\n                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                           <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-people"></i>\n                           <a href="/agents/list">{{ \'APPLICATION_AGENTS\' | translate }}</a>\n                           <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-options"></i>\n                          <a href="/agents/wizard">{{ \'APPLICATION_WIZARD\' | translate }}</a>\n                 </li>\n         </ul>\n </div>\n  <!-- END PAGE HEADER-->\n\n  <!-- BEGIN PORTLET-->\n  <div class="portlet light bordered" ng-init="getFirstFreeInternal();">\n        <div class="portlet-title">\n           <div class="caption font-green-sharp">\n                        <i class="icon-user font-green-sharp"></i>\n                    <span class="caption-subject">{{ \'APPLICATION_AGENT\' | translate }} WIZARD</a> </span>\n              </div>\n        </div>\n        <div class="portlet-body">\n            <wizard on-finish="createItem()">\n                             <wz-step title="{{\'APPLICATION_ACCOUNT\' | translate}}" canexit="exitValidation(forms.info.$valid)">\n                     <form name="forms.info" novalidate>\n\n                           <!-- START NAME -->\n                           <div class="form-group" data-ng-class="{\'has-error\': (forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$invalid}">\n                               <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                         <input type="text" name="fullname" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.fullname" required/>\n                                                   <span data-ng-show="(forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$error.required" class="help-block help-block-error">\n                                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                               </span>\n                             </div>\n                        <!-- END NAME -->\n\n                           <!-- START USERNAME -->\n                       <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n                               <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                             <input type="text" name="name" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.name" required ng-remote-validate="/api/agents/validate/name"/>\n                                                        <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.required" class="help-block help-block-error">\n                                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                               </span>\n                                                       <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.ngRemoteValidate" class="help-block help-block-error">\n                                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n                               </span>\n                             </div>\n                        <!-- END USERNAME -->\n\n                       <!-- START EMAIL -->\n                          <div class="form-group" data-ng-class="{\'has-error\': (forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$invalid}">\n                             <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="item.email" required ng-remote-validate="/api/agents/validate/email"/>\n                               <span data-ng-show="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$error.required" class="help-block help-block-error">\n                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                               </span>\n                               <span data-ng-show="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$error.email" class="help-block help-block-error">\n                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n                         </span>\n                                                       <span data-ng-show="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$error.ngRemoteValidate" class="help-block help-block-error">\n                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_EMAIL\' | translate}}.\n                          </span>\n                             </div>\n                        <!-- END EMAIL -->\n\n                          <!-- START PASSWORD -->\n                       <div class="form-group" data-ng-class="{\'has-error\': (forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid}">\n                               <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n                             <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n                           <span data-ng-show="(forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$error.required" class="help-block help-block-error">\n                                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                               </span>\n                             </div>\n                        <!-- END PASSWORD -->\n\n                       <!-- START RE PASSWORD -->\n                            <div class="form-group" data-ng-class="{\'has-error\': (forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$invalid}">\n                             <label class="control-label">{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n                             <input type="password" name="rpassword" placeholder="{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.rpassword" nx-equal="item.password" required/>\n                                <span data-ng-show="(forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$error.required" class="help-block help-block-error">\n                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                               </span>\n                               <span data-ng-show="(forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$error.nxEqual" class="help-block help-block-error">\n                               <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n                               </span>\n                             </div>\n                        <!-- END RE PASSWORD -->\n\n                                              <!-- START INTERNAL -->\n                                               <div class="form-group" data-ng-class="{\'has-error\': (forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$invalid}">\n                                                     <label class="control-label">{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                      <div class="input-group">\n                                                     <input type="number" min="1" name="internal" placeholder="{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}" class="form-control" data-ng-model="item.internal" data-ng-disabled="!item.internalEnabled" data-ng-required="item.internalEnabled" ng-remote-validate="/api/agents/validate/internal"/>\n                                                   <span class="input-group-addon">\n                                                              <input type="checkbox" data-ng-model="item.internalEnabled">\n                                                  </span>\n                                                       </div>\n                                                        <span data-ng-show="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$error.required" class="help-block help-block-error">\n                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                                       <span data-ng-show="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$error.ngRemoteValidate" class="help-block help-block-error">\n                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_INTERNAL\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END INTERNAL -->\n\n                             <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n                            </form>\n                     </wz-step>\n\n                                <wz-step title="{{\'APPLICATION_VOICE\' | translate}}" canexit="exitValidation(forms.voice.$valid)">\n                                  <form name="forms.voice" novalidate>\n\n                                                <!-- START ACCOUNTCODE -->\n                                            <!-- <div class="form-group" data-ng-class="{\'has-error\': (forms.voice.accountcode.$touched || forms.voice.$submitted) && forms.voice.accountcode.$invalid}">\n                                                       <label class="control-label">{{\'APPLICATION_ACCOUNTCODE\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                  <input type="number" name="accountcode" placeholder="{{\'APPLICATION_ACCOUNTCODE\' | translate}}" class="form-control" data-ng-model="item.accountcode" required/>\n                                                    <span class="help-block">\n                                                             {{ \'DESCRIPTION_VOICE_HOST\' | translate }}\n                                                  </span>\n                                                       <span data-ng-show="(forms.voice.accountcode.$touched || forms.voice.$submitted) && forms.voice.accountcode.$error.required" class="help-block help-block-error">\n                                                             <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div> -->\n                                            <!-- END ACCOUNTCODE -->\n\n                                            <!-- START TRANSPORT -->\n                                              <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_TRANSPORT\' | translate}}</label>\n                                                       <ui-select multiple name="transport" ng-model="item.transport" theme="bootstrap" ng-disabled="disabled">\n                                                  <ui-select-match placeholder="Select transport...">{{$item}}</ui-select-match>\n                                                <ui-select-choices repeat="transport in [\'udp\', \'tcp\', \'ws\', \'wss\'] | filter: $select.search">\n                                                    {{transport}}\n                                             </ui-select-choices>\n                                                </ui-select>\n                                                        <span class="help-block">\n                                                             {{ \'DESCRIPTION_VOICE_TRANSPORT\' | translate }}\n                                                     </span>\n                                               </div>\n                                                <!-- END TRANSPORT -->\n\n                                              <!-- START HOST -->\n                                           <!-- <div class="form-group" data-ng-class="{\'has-error\': (forms.voice.host.$touched || forms.voice.$submitted) && forms.voice.host.$invalid}">\n                                                     <label class="control-label">{{\'APPLICATION_HOST\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                 <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="item.host" required/>\n                                                   <span class="help-block">\n                                                             {{ \'DESCRIPTION_VOICE_HOST\' | translate }}\n                                                  </span>\n                                                       <span data-ng-show="(forms.voice.host.$touched || forms.voice.$submitted) && forms.voice.host.$error.required" class="help-block help-block-error">\n                                                           <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div> -->\n                                            <!-- END HOST -->\n\n                                           <!-- START NAT -->\n                                            <!-- <div class="form-group">\n                                                 <label class="control-label">{{ \'APPLICATION_NAT\' | translate}}</label>\n                                                     <ui-select multiple ng-model="item.nat" name="nat" theme="bootstrap" ng-disabled="disabled">\n                                                          <ui-select-match placeholder="{{ \'APPLICATION_SEARCH_FILTER\' | translate }}">{{$item}}</ui-select-match>\n                                                            <ui-select-choices repeat="nat in [\'yes\', \'no\', \'never\', \'route\', \'force_rport\', \'comedia\'] | filter: $select.search">\n                                                                    {{nat}}\n                                                               </ui-select-choices>\n                                                  </ui-select>\n                                                  <span class="help-block">\n                                                             {{ \'DESCRIPTION_VOICE_NAT\' | translate }}\n                                                   </span>\n                                               </div> -->\n\n                                          <!-- END NAT -->\n\n                                            <!-- START TYPE -->\n                                           <!-- <div class="form-group" data-ng-class="{\'has-error\': (forms.voice.type.$touched || forms.voice.$submitted) && forms.voice.type.$invalid}">\n                                                     <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                 <ui-select data-ng-model="item.type" name="type" theme="bootstrap" required>\n                                                          <ui-select-match placeholder="{{ \'APPLICATION_SEARCH_FILTER\' | translate }}">{{$select.selected}}</ui-select-match>\n                                                         <ui-select-choices repeat="type in [\'friend\', \'user\', \'peer\'] | filter: $select.search">\n                                                                        <div ng-bind-html="type | highlight: $select.search"></div>\n                                                           </ui-select-choices>\n                                                  </ui-select>\n                                                  <span class="help-block">\n                                                             {{ \'DESCRIPTION_VOICE_TYPE\' | translate }}\n                                                  </span>\n                                                       <span data-ng-show="(forms.voice.type.$touched || forms.voice.$submitted) && forms.voice.type.$error.required" class="help-block help-block-error">\n                                                           <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div> -->\n                                            <!-- END TYPE -->\n\n                                           <!-- START CODEC -->\n                                          <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_ALLOWED_CODECS\' | translate}}</label>\n                                                  <ui-select multiple ng-model="item.allow" name="allow" theme="bootstrap" ng-disabled="disabled">\n                                                  <ui-select-match placeholder="Select codec...">{{$item}}</ui-select-match>\n                                                    <ui-select-choices repeat="allow in [\'g729\', \'ilbc\', \'gsm\', \'ulaw\', \'alaw\'] | filter: $select.search">\n                                                  {{allow}}\n                                                 </ui-select-choices>\n                                                </ui-select>\n                                                        <span class="help-block">\n                                                             {{ \'DESCRIPTION_VOICE_CODEC\' | translate }}\n                                                 </span>\n                                               </div>\n                                                <!-- END CODEC -->\n\n                                          <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n                                              <input class="btn default" type="button" value="{{\'APPLICATION_BACK\' | translate}}" wz-previous/>\n                                   </form>\n                               </wz-step>\n\n                          <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                    <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                         </wz-step>\n            </wizard>\n     </div>\n  </div>\n  <!-- END PORTLET-->\n</div>\n'),a.put("app/analytic/metric/list/create.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_NEW_METRIC\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="forms.metric" novalidate>\n\n    <!-- START NAME -->\n    <div class="form-group" data-ng-class="{\'has-error\': (forms.metric.name.$touched || forms.metric.$submitted) && forms.metric.name.$invalid}">\n      <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n      <span data-ng-show="(forms.metric.name.$touched || forms.metric.$submitted) && forms.metric.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END NAME -->\n\n    <!-- START TABLE -->\n    <div class="form-group" data-ng-class="{\'has-error\': (forms.metric.table.$touched || forms.metric.$submitted) && forms.metric.table.$invalid}">\n      <label class="control-label">{{\'APPLICATION_TABLE\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <ui-select data-ng-model="item.table" name="table" theme="bootstrap" required>\n        <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n        <ui-select-choices repeat="table.value as table in tables | filter: $select.search">\n          <div ng-bind-html="table.name | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="(forms.metric.table.$touched || forms.metric.$submitted) && forms.metric.table.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END TABLE-->\n\n    <!-- START METRIC -->\n    <div class="form-group" data-ng-class="{\'has-error\': (forms.metric.metric.$touched || forms.metric.$submitted) && forms.metric.metric.$invalid}">\n      <label class="control-label">{{\'APPLICATION_METRIC\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <textarea type="text" name="metric" placeholder="{{\'APPLICATION_METRIC\' | translate}}" class="form-control" data-ng-model="item.metric" required/></textarea>\n      <span data-ng-show="(forms.metric.metric.$touched || forms.metric.$submitted) && forms.metric.metric.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END METRIC -->\n\n    <!-- START DESCRIPTION -->\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="metric.description"></textarea>\n    </div>\n    <!-- END DESCRIPTION -->\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.metric.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/analytic/metric/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n   <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-calculator"></i>\n                                       <a href="/analytics/metrics/list">{{ \'APPLICATION_METRICS\' | translate }}</a>\n                               </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-calculator font-green-sharp"></i>\n                                      <span class="caption-subject">{{ \'APPLICATION_METRICS\' | translate }}</a> </span>\n                           </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="Metrics.checked.length">\n                                         <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <button class="btn green-jungle " ng-click="create()">\n                                                        <i class="icon-plus"></i> {{ \'APPLICATION_NEW_METRIC\' | translate }}\n                                                </button>\n                                     </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getMetrics([\'name\', \'description\'])" csv-header="[\'Name\', \'Description\']" field-separator=";" filename="metrics.csv">\n                                       <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedMetrics" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                 <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="4">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.metricsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                               <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="metricByPage in metricsByPage | filter: $select.search">\n                                                                                                   <div ng-bind-html="metricByPage.name | highlight: $select.search"></div>\n                                                                                              </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(metric, checked)" checklist-model checklist-value="id"></th>\n                                                   <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                              <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="metric in displayedMetrics" class="animate-repeat">\n                                                           <td style="text-align: center; vertical-align: middle"><input data-ng-hide="metric.defaultEntry" type="checkbox" checklist-model="Metrics.checked" checklist-value="metric.id"></td>\n                                                          <td>{{metric.name}}</td>\n                                            <td>{{metric.description}}</td>\n                                       <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/analytics/metrics/view/{{metric.id}}/settings" data-ng-class="{\'disabled\': metric.defaultEntry}">\n                                                                          {{ \'APPLICATION_SETTINGS\' | translate}}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(metric.name,metric.id)" data-ng-class="{\'disabled\': metric.defaultEntry}">\n                                                                               {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedMetrics.length">\n                                                           <td colspan="4" style="text-align:center;">\n                                                                   <i>{{ \'MESSAGE_NO_METRICS_AVAILABLE\' | translate }}</i>\n                                                             </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                 <td/>\n                                               </tr>\n                                           <tr>\n                                            <td colspan="4" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.metricsByPage.value" st-displayed-pages="7"></div>\n                                             </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
-a.put("app/analytic/metric/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getMetric()">\n <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-eye"></i>\n                                      <a href="/analytics/metrics/list">{{ \'APPLICATION_METRICS\' | translate }}</a>\n                                       <i data-ng-show="metric" class="fa fa-angle-right"></i>\n                               </li>\n                         <li data-ng-show="metric">\n                                    <a href="#">{{metric.name}}</a>\n                               </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/metric.png" class="img-responsive">\n                             </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{metric.name}}\n                                       </div>\n                                        <!-- <div class="profile-usertitle-job">\n                                              {{user.role}}\n                                 </div> -->\n                            </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.analytics.metrics.view.settings\')}">\n                                                    <a data-ng-href="/analytics/metrics/view/{{metric.id}}/settings">\n                                                     <i class="icon-settings"></i>\n                                                 {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n                                                </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/analytic/metric/view/view.settings.html",'<div class="row">\n   <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_METRIC\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n                              </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n                                     </li>\n                         </ul>\n                 </div>\n\n                      <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.general" data-ng-submit="forms.general.$valid && updateMetric()" novalidate>\n\n                                                      <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="metric.name" required/>\n                                                         <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START TABLE -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': (forms.general.table.$touched || forms.general.$submitted) && forms.general.table.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_TABLE\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                <ui-select data-ng-model="metric.table" name="table" theme="bootstrap" required>\n                                                                      <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                      <ui-select-choices repeat="table.value as table in tables | filter: $select.search">\n                                                                          <div ng-bind-html="table.name | highlight: $select.search"></div>\n                                                                     </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="(forms.general.table.$touched || forms.general.$submitted) && forms.general.table.$error.required" class="help-block help-block-error">\n                                                                   <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END TABLE-->\n\n                                                   <!-- START METRIC -->\n                                                 <div class="form-group" data-ng-class="{\'has-error\': (forms.general.metric.$touched || forms.general.$submitted) && forms.general.metric.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_METRIC\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                               <textarea type="text" name="metric" placeholder="{{\'APPLICATION_METRIC\' | translate}}" class="form-control" data-ng-model="metric.metric" required/></textarea>\n                                                             <span data-ng-show="(forms.general.metric.$touched || forms.general.$submitted) && forms.general.metric.$error.required" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END METRIC -->\n\n                                                 <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="metric.description"></textarea>\n                                                        </div>\n                                                        <!-- END DESCRIPTION -->\n                                                      <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END ADVANCED TAB -->\n\n                           </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/analytic/report/list/copy.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_COPY_REPORT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <div class="portlet light bordered">\n    <div class="portlet-title">\n      <div class="caption font-green-sharp" style="padding-left:10px;">\n        <i class="icon-folder font-green-sharp"></i>\n        <span class="caption-subject">{{ \'APPLICATION_COPY_TO\' | translate }} </span>\n      </div>\n    </div>\n    <div class="portlet-body">\n      <div js-tree="customTreeConfig" ng-model="customTreeData" should-apply="ac()" tree="customTreeInstance" tree-events="ready:initCustomScopeTree;"></div>\n    </div>\n  </div>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" data-ng-disabled="!customTree.get_selected(true).pop().id" ng-click="ok()" ng-disabled="forms.report.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/analytic/report/list/create.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_NEW_REPORT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="forms.report" novalidate>\n\n    <!-- START NAME -->\n    <div class="form-group" data-ng-class="{\'has-error\': (forms.report.name.$touched || forms.report.$submitted) && forms.report.name.$invalid}">\n      <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n      <span data-ng-show="(forms.report.name.$touched || forms.report.$submitted) && forms.report.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END NAME -->\n\n    <!-- START DESCRIPTION -->\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"></textarea>\n    </div>\n    <!-- END DESCRIPTION -->\n\n    <div class="form-group" data-ng-class="{\'has-error\': (forms.report.name.$touched || forms.report.$submitted) && forms.report.name.$invalid}">\n      <label class="control-label">{{\'APPLICATION_PATH\' | translate}}<span class="required" aria-required="true"></span></label>\n      <input type="text" name="name" placeholder="{{\'APPLICATION_PATH\' | translate}}" class="form-control" data-ng-model="path" disabled/>\n      <span data-ng-show="(forms.report.name.$touched || forms.report.$submitted) && forms.report.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.report.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/analytic/report/list/extract.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_EXTRACT_REPORT\' | translate }}</h3>\n</div>\n<div class="modal-body" style="text-align:center;">\n  <form name="forms.report" class="form-inline mbottom20" novalidate>\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DATE_RANGE\' | translate}}<span class="required" aria-required="true"></span></label>\n      <input type="daterange" name="dates" ranges="ranges" placeholder="{{\'APPLICATION_DATE_RANGE\' | translate}}" class="form-control" data-ng-model="dates" data-ng-change="getPage()" required/>\n    </div>\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn default green-jungle" type="button" data-ng-click="extract(\'csv\')"><i class="fa fa-file-excel-o"></i> {{ \'APPLICATION_SAVE_TO_CSV\' | translate }}</button>\n  <button class="btn default red-intense" type="button" data-ng-click="extract(\'pdf\')"><i class="fa fa-file-pdf-o"></i> {{ \'APPLICATION_SAVE_TO_PDF\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/analytic/report/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getTrees()">\n    <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-book-open"></i>\n                                        <a href="/analytics/reports/list">{{ \'APPLICATION_REPORTS\' | translate }}</a>\n                               </li>\n                 </ul>\n         </div>\n                <div class="col-fixed">\n                       <!-- BEGIN Portlet PORTLET-->\n                 <div class="portlet light bordered">\n                          <div class="portlet-title">\n                                   <div class="caption font-green-sharp" style="padding-left:10px;">\n                                             <i class="icon-folder font-green-sharp"></i>\n                                          <span class="caption-subject">{{ \'APPLICATION_FOLDERS\' | translate }} </span>\n                                       </div>\n                                        <div class="inputs">\n                                          <div class="portlet-input input-inline input-small">\n                                                  <div class="input-icon right">\n                                                                <i class="icon-magnifier"></i>\n                                                                <input type="text" data-ng-model="searchField" data-ng-change="searchTrees()" class="form-control input-circle" placeholder="search...">\n                                                      </div>\n                                                </div>\n                                        </div>\n                                </div>\n                                <div class="portlet-body">\n                                    <div js-tree="defaultTreeConfig" ng-model="defaultTreeData" should-apply="ac()" tree="defaultTreeInstance" tree-events="ready:initDefaultScopeTree;select_node:selectDefaultNode;"></div>\n                                     <div js-tree="customTreeConfig" ng-model="customTreeData" should-apply="ac()" tree="customTreeInstance" tree-events="ready:initCustomScopeTree;select_node:selectCustomNode;rename_node:updateCustomTree;delete_node:updateCustomTree;move_node:updateCustomTree;create_node:updateCustomTree;"></div>\n                                </div>\n                        </div>\n                        <!-- END Portlet PORTLET-->\n           </div>\n                <div class="row tree-row">\n                    <div class="col-md-12">\n                               <!-- BEGIN Portlet PORTLET-->\n                         <div class="portlet light bordered">\n                                  <div class="portlet-title">\n                                           <div class="caption font-green-sharp">\n                                                        <i class="icon-book-open font-green-sharp"></i>\n                                                       <span class="caption-subject">{{ \'APPLICATION_REPORTS\' | translate }}<span data-ng-if="selectedNode"> - {{selectedNode}}</span></span>\n                                              </div>\n                                                <div data-ng-if="!defaultTreeActive" class="actions">\n                                                 <div class="btn-group" data-ng-show="Reports.checked.length">\n                                                         <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                                           </a>\n                                                  </div>\n                                                        <div class="btn-group">\n                                                               <span class="btn default btn-file">\n                                                           <span class="fileinput-new">\n                                                          <i class="icon-cloud-upload"></i> {{\'APPLICATION_IMPORT_FROM_JSON\' | translate}}</span>\n                                                             <input type="file" on-read-file="import($fileContent)"/>\n                                                              </span>\n                                                       </div>\n                                                        <div class="btn-group">\n                                                               <button class="btn green-jungle " ng-click="create()">\n                                                                        <i class="icon-plus"></i> {{ \'APPLICATION_NEW_REPORT\' | translate }}\n                                                                </button>\n                                                     </div>\n                                                </div>\n                                        </div>\n                                        <div class="portlet-body">\n                                            <!-- START TABLE -->\n                                          <table data-ng-if="defaultTreeReady && customTreeReady" st-table="displayedReports" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                                        <div class="table-responsive" data-ng-init="firstSelect()">\n                                                           <thead>\n                                                                       <tr>\n                                                                          <th colspan="5">\n                                                                                      <div class="row">\n                                                                                             <div class="col-md-6">\n                                                                                                        <ui-select class="input-xsmall" ng-model="conf.reportsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                                               <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                                             <ui-select-choices repeat="reportByPage in reportsByPage | filter: $select.search">\n                                                                                                                   <div ng-bind-html="reportByPage.name | highlight: $select.search"></div>\n                                                                                                              </ui-select-choices>\n                                                                                                  </ui-select>\n                                                                                          </div>\n                                                                                                <div class="col-md-6">\n                                                                                                        <div class="input-group input-medium pull-right">\n                                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                                         <span class="input-group-addon">\n                                                                                                                      <i class="fa fa-search"></i>\n                                                                                                          </span>\n                                                                                                       </div>\n                                                                                                </div>\n                                                                                        </div>\n                                                                                </th>\n                                                                 </tr>\n                                                                 <tr>\n                                                                          <th class="small-cells" style="text-align: center; vertical-align: middle"><input data-ng-checked="Reports.checked.length" data-ng-hide="defaultTreeActive" type="checkbox" ng-change="check(report, checked)" checklist-model checklist-value="id"></th>\n                                                                             <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                                                <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                                          <th>{{ \'APPLICATION_MANAGE\' | translate }}</th>\n                                                                             <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                                                    </tr>\n                                                         </thead>\n                                                              <tbody>\n                                                                       <tr data-ng-repeat="report in displayedReports" class="animate-repeat">\n                                                                               <td style="text-align: center; vertical-align: middle"><input data-ng-hide="defaultTreeActive" type="checkbox" checklist-model="Reports.checked" checklist-value="report.id"></td>\n                                                                            <td>{{report.name}}</td>\n                                                                              <td>{{report.description}}</td>\n                                                                               <td>\n                                                                                  <a data-ng-if="!defaultTreeActive" class="btn default btn-xs blue-stripe" data-ng-href="/analytics/reports/view/{{report.id}}/settings">\n                                                                                              {{ \'APPLICATION_SETTINGS\' | translate}}\n                                                                                     </a>\n                                                                                  <a data-ng-if="!defaultTreeActive" class="btn default btn-xs red-stripe" data-ng-click="deleteItem(report.name,report.id)">\n                                                                                           {{ \'APPLICATION_DELETE\' | translate }}\n                                                                                      </a>\n                                                                                  <a class="btn default btn-xs green-stripe" data-ng-click="copy(report.id)">\n                                                                                           {{ \'APPLICATION_COPY\' | translate }}\n                                                                                        </a>\n                                                                                  <a class="btn default btn-xs purple-stripe" data-ng-click="export(report.id)">\n                                                                                                {{ \'APPLICATION_EXPORT\' | translate }}\n                                                                                      </a>\n                                                                          </td>\n                                                                         <td>\n                                                                                  <a class="btn default btn-xs yellow-stripe" data-ng-click="preview(report.id)">\n                                                                                               {{ \'APPLICATION_PREVIEW\' | translate }}\n                                                                                     </a>\n                                                                                  <button type="button" data-ng-click="extract(report.id)" class="btn default btn-xs green-seagreen-stripe">\n                                                                                            {{ \'APPLICATION_RUN \' | translate }}\n                                                                                        </button>\n                                                                             </td>\n                                                                 </tr>\n                                                                 <tr data-ng-hide="displayedReports.length">\n                                                                           <td colspan="5" style="text-align:center;">\n                                                                                   <i>{{ \'MESSAGE_NO_REPORTS_AVAILABLE\' | translate }}</i>\n                                                                             </td>\n                                                                 </tr>\n                                                         </tbody>\n                                                              <tfoot>\n                                                                       <tr>\n                                                                          <td/>\n                                                                         <td>\n                                                                                  <div class="input-icon right">\n                                                                                                <i class="fa fa-search"></i>\n                                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                                        </div>\n                                                                                </td>\n                                                                         <td>\n                                                                                  <div class="input-icon right">\n                                                                                                <i class="fa fa-search"></i>\n                                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                                  </div>\n                                                                                </td>\n                                                                         <td/>\n                                                                         <td/>\n                                                                 </tr>\n                                                                 <tr>\n                                                                          <td colspan="5" class="text-center">\n                                                                                  <div st-pagination class="pagination" st-items-by-page="conf.reportsByPage.value" st-displayed-pages="7"></div>\n                                                                               </td>\n                                                                 </tr>\n                                                         </tfoot>\n                                              </div>\n                                                </table>\n                                              <!-- END TABLE -->\n                                    </div>\n                                </div>\n                                <!-- END Portlet PORTLET-->\n                   </div>\n                </div>\n        </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/analytic/report/list/preview.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_REPORT_PREVIEW\' | translate }}</h3>\n</div>\n<div class="modal-body" style="text-align:center;">\n  <form name="forms.report" class="form-inline mbottom20" novalidate>\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DATE_RANGE\' | translate}}<span class="required" aria-required="true"></span></label>\n      <input type="daterange" name="dates" ranges="ranges" placeholder="{{\'APPLICATION_DATE_RANGE\' | translate}}" class="form-control" data-ng-model="dates" data-ng-change="getPage()" required/>\n    </div>\n  </form>\n  <div ng-slide-down="showResult" lazy-render duration="1">\n    <div ui-grid="gridOptions" ui-grid-pagination ui-grid-exporter class="grid extract-grid"></div>\n  </div>\n</div>\n<div class="modal-footer">\n<button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/analytic/report/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getReport()">\n       <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-book-open"></i>\n                                        <a href="/analytics/reports/list">{{ \'APPLICATION_REPORTS\' | translate }}</a>\n                                       <i data-ng-show="report" class="fa fa-angle-right"></i>\n                               </li>\n                         <li data-ng-show="report">\n                                    <a href="#">{{report.name}}</a>\n                               </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/report.png" class="img-responsive">\n                             </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{report.name}}\n                                       </div>\n                                        <!-- <div class="profile-usertitle-job">\n                                              {{user.role}}\n                                 </div> -->\n                            </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.analytics.reports.view.settings\')}">\n                                                    <a data-ng-href="/analytics/reports/view/{{report.id}}/settings">\n                                                     <i class="icon-settings"></i>\n                                                 {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n                                                </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/analytic/report/view/view.settings.html",'<div class="row">\n   <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_REPORT\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n                              </div>\n                                <ul class="nav nav-tabs">\n                                     <li>\n                                          <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n                                     </li>\n                                 <li class="active">\n                                           <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_BUILD\' | translate}}</a>\n                                       </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_3" data-toggle="tab">{{ \'APPLICATION_TEST_PREVIEW\' | translate}}</a>\n                                        </li>\n                         </ul>\n                 </div>\n\n                      <div class="portlet-body">\n\n                          <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane" id="tab_1_1">\n                                           <form name="forms.general" data-ng-submit="forms.report.$valid && forms.general.$valid && updateReport()" novalidate>\n\n\n                                                     <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="report.name" required/>\n                                                         <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="report.description"></textarea>\n                                                        </div>\n                                                        <!-- END DESCRIPTION -->\n\n                                                    <!-- START TABLE INPUT -->\n\n\n                                                        <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n\n                                     </div>\n                                        <!-- END GENERAL TAB -->\n                                      <div class="tab-pane active" id="tab_1_2">\n                                            <form name="forms.report" data-ng-submit="forms.report.$valid && forms.general.$valid && updateReport()" novalidate>\n                                          <div class="form-group" data-ng-class="{\'has-error\': (forms.report.table.$touched || forms.report.$submitted) && forms.report.table.$invalid}">\n                                                     <label class="control-label">{{\'APPLICATION_TABLE\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                        <ui-select data-ng-model="report.table" name="table" theme="bootstrap" required>\n                                                              <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                              <ui-select-choices repeat="table.table as table in tables | filter: $select.search">\n                                                                  <div ng-bind-html="table.name | highlight: $select.search"></div>\n                                                             </ui-select-choices>\n                                                  </ui-select>\n                                                  <span class="help-block">\n                                                     </span>\n                                                       <span data-ng-show="(forms.report.table.$touched || forms.report.$submitted) && forms.report.table.$error.required" class="help-block help-block-error">\n                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END TABLE INPUT-->\n                                               <div data-ng-if="report.table" class="mbottom20 pbottom20">\n                                           <div class="portlet-title tabbable-line">\n                                                     <div class="caption caption-md">\n                                                              <i class="icon-globe theme-font hide"></i>\n                                                            <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_FIELDS\' | translate}} </span>\n                                                        </div>\n                                                </div>\n                                                                <!-- START TABLE -->\n                                                          <table class="table table-striped table-bordered table-hover">\n                                                                        <thead>\n                                                                               <tr>\n                                                                                  <th>{{ \'APPLICATION_FIELD\' | translate }} / {{ \'APPLICATION_METRIC\' | translate }}</th>\n                                                                                   <th>{{ \'APPLICATION_ALIAS\' | translate }}</th>\n                                                                                      <th>{{ \'APPLICATION_FUNCTION\' | translate }}</th>\n                                                                                   <th>{{ \'APPLICATION_GROUP_BY\' | translate }}</th>\n                                                                                   <th>{{ \'APPLICATION_ORDER_BY\' | translate }}</th>\n                                                                                   <th></th>\n                                                                                     <th></th>\n                                                                             </tr>\n                                                                 </thead>\n                                                                              <tbody ui-sortable="sortableOptions" data-ng-model="report.Fields">\n                                                                                   <tr data-ng-repeat="field in report.Fields">\n                                                                                          <td>\n                                                                                                  <!-- START FIELD -->\n                                                                                                  <div class="form-group" data-ng-class="{\'has-error\': forms.report.$submitted && !field.field}">\n                                                                                                             <!-- <label class="control-label">{{\'APPLICATION_FIELD\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n                                                                                                               <ui-select data-ng-model="field.field" dynamic-name="randomName()" theme="bootstrap" required>\n                                                                                                                        <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}"><span ng-bind-html="$select.selected.name"></span></ui-select-match>\n                                                                                                                     <ui-select-choices repeat="tableField.value as tableField in tableFields | filter: $select.search">\n                                                                                                                           <div ng-bind-html="tableField.name | highlight: $select.search"></div>\n                                                                                                                        </ui-select-choices>\n                                                                                                          </ui-select>\n                                                                                                          <span data-ng-show="forms.report.$submitted && !field.field" class="help-block help-block-error">\n                                                                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                                         </span>\n                                                                                                       </div>\n                                                                                                        <!-- END FIELD-->\n                                                                                             </td>\n                                                                                         <td>\n                                                                                                  <!-- START ALIAS -->\n                                                                                                  <div class="form-group" data-ng-class="{\'has-error\': forms.report.$submitted && !field.alias}">\n                                                                                                             <!-- <label class="control-label">{{\'APPLICATION_ALIAS\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n                                                                                                               <input type="text" dynamic-name="randomName()" placeholder="{{\'APPLICATION_ALIAS\' | translate}}" class="form-control" data-ng-model="field.alias" required/>\n                                                                                                                <span data-ng-show="forms.report.$submitted && !field.alias" class="help-block help-block-error">\n                                                                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                                         </span>\n                                                                                                       </div>\n                                                                                                        <!-- END ALIAS -->\n                                                                                            </td>\n                                                                                         <td>\n                                                                                                  <!-- START FUNCTION -->\n                                                                                                       <div class="form-group">\n                                                                                                              <!-- <label class="control-label">{{\'APPLICATION_FIELD\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n                                                                                                               <ui-select data-ng-model="field.function" name="function" theme="bootstrap">\n                                                                                                                  <ui-select-match placeholder="{{\'APPLICATION_FUNCTION\' | translate}}" allow-clear>{{$select.selected.name}}</ui-select-match>\n                                                                                                                       <ui-select-choices repeat="function.value as function in functions | filter: $select.search">\n                                                                                                                         <div ng-bind-html="function.name | highlight: $select.search"></div>\n                                                                                                                  </ui-select-choices>\n                                                                                                          </ui-select>\n                                                                                                  </div>\n                                                                                                        <!-- END FUNCTION-->\n                                                                                          </td>\n                                                                                         <td>\n                                                                                                  <!-- START GROUP_BY -->\n                                                                                                       <div class="form-group">\n                                                                                                              <!-- <label class="control-label">{{\'APPLICATION_FIELD\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n                                                                                                               <ui-select data-ng-model="field.groupBy" name="groupBy" theme="bootstrap" required>\n                                                                                                                   <ui-select-match placeholder="{{\'APPLICATION_GROUP_BY\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n                                                                                                                       <ui-select-choices repeat="groupBy.value as groupBy in groupByField | filter: $select.search">\n                                                                                                                                {{$translate.instant(groupBy.name)}}\n                                                                                                                  </ui-select-choices>\n                                                                                                          </ui-select>\n                                                                                                  </div>\n                                                                                                        <!-- END GROUP_BY-->\n                                                                                          </td>\n                                                                                         <td>\n                                                                                                  <!-- START ORDER_BY -->\n                                                                                                       <div class="form-group">\n                                                                                                              <!-- <label class="control-label">{{\'APPLICATION_FIELD\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n                                                                                                               <ui-select data-ng-model="field.orderBy" name="orderBy" theme="bootstrap">\n                                                                                                                    <ui-select-match placeholder="{{\'APPLICATION_ORDER_BY\' | translate}}" allow-clear>{{$select.selected}}</ui-select-match>\n                                                                                                                    <ui-select-choices repeat="orderBy in [\'ASC\',\'DESC\'] | filter: $select.search">\n                                                                                                                           <div ng-bind-html="orderBy | highlight: $select.search"></div>\n                                                                                                                        </ui-select-choices>\n                                                                                                          </ui-select>\n                                                                                                  </div>\n                                                                                                        <!-- END TABLE INPUT-->\n                                                                                               </td>\n                                                                                         <td class="report-field-remove">\n                                                                                                      <button class="btn red" type="button" data-ng-click="removeField($index)"><i class="fa fa-times"></i></button>\n                                                                                                </td>\n                                                                                         <td class="report-field-handle">\n                                                                                                      <!-- <img data-ng-src="assets/images/move.png" class="img-responsive"> -->\n                                                                                            </td>\n                                                                                 </tr>\n                                                                                 <tr data-ng-hide="report.Fields.length" class="unsortable">\n                                                                                           <td colspan="7" style="text-align:center;">\n                                                                                                   <i>{{ \'MESSAGE_ADD_A_FIELD\' | translate }}</i>\n                                                                                              </td>\n                                                                                 </tr>\n                                                                         </tbody>\n                                                              </table>\n                                                              <button type="button" class="btn btn-sm green padding-bottom" ng-click="addField()">\n                                                                  <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_FIELD\' | translate}}\n                                                          </button>\n                                                             <!-- END TABLE -->\n                                                    </div>\n                                                                <div data-ng-if="report.Fields.length" class="mbottom20 pbottom20">\n                                                                   <div class="portlet-title tabbable-line">\n                                                                             <div class="caption caption-md">\n                                                                                      <i class="icon-globe theme-font hide"></i>\n                                                                                    <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_CONDITIONS\' | translate}} </span>\n                                                                            </div>\n                                                                        </div>\n                                                                        <div class="alert alert-info">\n                                                                                        <strong>Output</strong><br>\n                                                                                   <span ng-bind-html="output"></span>\n                                                                   </div>\n\n                                                                      <report-builder group="report.conditions.group" fields="report.Fields" forms="forms" firstCall=\'true\'></report-builder>\n                                                             </div>\n                                                                <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                                          </form>\n                                                               <!-- <pre>\n                                                                    {{report | json}}\n                                                             </pre> -->\n\n                                  </div>\n                                        <div class="tab-pane" id="tab_1_3">\n                                           <div data-ng-if="showPreview" ui-grid="gridOptions" ui-grid-move-columns class="grid"></div>\n                                  </div>\n                                </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),
-a.put("app/analytic/report/wizard/wizard.html",'<div class="col-md-12" data-ng-init="initWizard()">\n  <!-- BEGIN PAGE HEADER-->\n     <div class="page-bar">\n                <ul class="page-breadcrumb">\n                  <li>\n                          <i class="icon-rocket"></i>\n                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                           <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-link"></i>\n                             <a href="/analytics/reports/list">{{ \'APPLICATION_REPORTS\' | translate }}</a>\n                               <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-options"></i>\n                          <a href="#">{{ \'APPLICATION_NEW_REPORT\' | translate }}</a>\n                  </li>\n         </ul>\n </div>\n  <!-- END PAGE HEADER-->\n\n  <!-- BEGIN PORTLET-->\n  <div class="portlet light bordered">\n          <div class="portlet-title">\n           <div class="caption font-green-sharp">\n                        <i class="icon-link font-green-sharp"></i>\n                    <span class="caption-subject">{{ \'APPLICATION_NEW_REPORT\' | translate }}</a> </span>\n                </div>\n        </div>\n        <div class="portlet-body">\n                    <form name="forms.general" data-ng-submit="forms.general.$valid && createItem()" novalidate>\n                  </form>\n       </div>\n  </div>\n  <!-- END PORTLET-->\n</div>\n'),a.put("app/automation/list/list.html",'<div class="row">\n  <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-bulb"></i>\n                                             <a href="#">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n                                 </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n       <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-bulb font-green-sharp"></i>\n                                    <span class="caption-subject">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a> </span>\n                               </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="Automations.checked.length">\n                                             <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle " href="#" data-toggle="dropdown">\n                                                 <i class="icon-plus"></i> {{ \'APPLICATION_NEW_AUTOMATION\' | translate }} <i class="fa fa-angle-down"></i>\n                                           </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <li>\n                                                          <a href="/automations/wizard">\n                                                                <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                         </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getAutomations([\'name\', \'description\'])" csv-header="[\'Name\', \'Description\']" field-separator=";" filename="automations.csv">\n                                       <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedAutomations" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                     <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="6">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.AutomationsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="AutomationByPage in AutomationsByPage | filter: $select.search">\n                                                                                                   <div ng-bind-html="AutomationByPage.name | highlight: $select.search"></div>\n                                                                                          </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <!-- <th st-sort="id" width="5%" st-sort-default="reverse">{{ \'APPLICATION_ID\' | translate }}</th> -->\n                                                              <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(Automation, checked)" checklist-model checklist-value="id"></th>\n                                               <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                            <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                          <th st-sort="channel">{{ \'APPLICATION_CHANNEL\' | translate }}</th>\n                                                          <th>{{ \'APPLICATION_STATUS\' | translate }}</th>\n                                                             <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="Automation in displayedAutomations">\n                                                          <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="Automations.checked" checklist-value="Automation.id"></td>\n                                           <td>{{Automation.name}}</td>\n                                                            <td>{{Automation.description}}</td>\n                                                           <td>{{Automation.channel | capitalize}}</td>\n                                                          <td>\n                                                                  <input\n                                                                                data-ng-change="updateItem(Automation.id, Automation.status)",\n                                                                    bs-switch\n                                                             ng-model="Automation.status"\n                                                                  type="checkbox"\n                                                               switch-active="{{ isActive }}"\n                                                                switch-on-text="{{ onText }}"\n                                                                 switch-off-text="{{ offText }}"\n                                                               switch-on-color="{{ onColor }}"\n                                                               switch-off-color="{{ offColor }}"\n                                                             switch-animate="{{ animate }}"\n                                                                switch-size="{{ size }}"\n                                                              switch-label="{{ label }}"\n                                                                    switch-icon="{{ icon }}"\n                                                              switch-radio-off="{{ radioOff }}"\n                                                             switch-label-width="{{ labelWidth }}"\n                                                                 switch-handle-width="{{ handleWidth }}">\n                                                          </td>\n                                       <td>\n                                                                    <a class="btn default btn-xs blue-stripe" data-ng-href="/automations/view/{{Automation.id}}/settings">\n                                                                                {{ \'APPLICATION_EDIT\' | translate }}\n                                                </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(Automation.name, Automation.id)">\n                                                                          {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedAutomations.length">\n                                                               <td colspan="6" class="text-center">\n                                                                  <i>No available automations</i>\n                                                               </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_USERNAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                    </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="channel" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_CHANNEL\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                                </td>\n                                                         <td/>\n                                                         <td/>\n                                           </tr>\n                                           <tr>\n                                            <td colspan="6" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.AutomationsByPage.value" st-displayed-pages="7"></div>\n                                         </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/automation/view/view.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row" data-ng-init="initView()">\n    <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-settings"></i>\n                                 <a href="/automations/list">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n                                 <i class="fa fa-angle-right" data-ng-show="automation"></i>\n                           </li>\n                         <li data-ng-show="automation">\n                                        <a href="#">{{ automation.description || automation.name }}</a>\n                               </li>\n                 </ul>\n         </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n               <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/automation.png" class="img-responsive">\n                         </div>\n                                <!-- END SIDEBAR USERPIC -->\n\n                                <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{ automation.name }}\n                                 </div>\n                                        <div class="profile-usertitle-job">\n                                           {{ automation.description }}\n                                  </div>\n                                </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.automations.view.settings\')}">\n                                                  <a href="/automations/view/{{automation.id}}/settings">\n                                                       <i class="icon-bulb"></i>\n                                                     {{ \'APPLICATION_SETTINGS\' | translate }} </a>\n                                               </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/automation/view/view.settings.html",'<div class="row">\n        <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_SETTINGS\' | translate}}</span>\n                                </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n                                     </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_CONDITIONS\' | translate}} & {{\'APPLICATION_ACTIONS\' | translate}}</a>\n                                 </li>\n                         </ul>\n                 </div>\n                        <div class="portlet-body">\n                            <!-- <pre>\n                                    {{conditionsData.query | json}}\n                               </pre>\n                                <pre>\n                                 {{actionsData.query | json}}\n                          </pre> -->\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.general" data-ng-submit="forms.general.$valid && updateAutomation()" novalidate>\n                                                    <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="automation.name" required/>\n                                                             <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.required" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="automation.description"/>\n                                                 </div>\n                                                        <!-- END DESCRIPTION -->\n\n                                                    <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END GENERAL TAB -->\n                                      <div class="tab-pane" id="tab_1_2">\n                                   <div class="portlet light bordered">\n                                          <div class="portlet-title">\n                                                   <div class="caption font-blue-hoki">\n                                                          <i class="icon-tag font-blue-hoki"></i>\n                                                               <span class="caption-subject">{{ \'APPLICATION_CONDITIONS\' | translate }}</a> </span>\n                                                        </div>\n                                                </div>\n                                                <div class="portlet-body">\n                                                    <query-builder group="conditionsFilter.group" fields="fields.conditions" operators="$automations.operators" properties="properties[automation.channel]"></query-builder>\n                                              </div>\n                                        </div>\n                                        <div class="portlet light bordered">\n                                          <div class="portlet-title">\n                                                   <div class="caption font-blue-hoki">\n                                                          <i class="icon-tag font-blue-hoki"></i>\n                                                               <span class="caption-subject">{{ \'APPLICATION_ACTIONS\' | translate }}</a> </span>\n                                                   </div>\n                                                </div>\n                                                <div class="portlet-body">\n                                                    <query-builder group="actionsFilter.group" fields="fields.actions" properties="properties[automation.channel]"></query-builder>\n                                               </div>\n                                        </div>\n\n                                              <input class="btn green-haze" type="button" value="{{\'APPLICATION_UPDATE\' | translate}}" data-ng-click="updateAutomation()"/>\n                                       </div>\n                                </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/automation/wizard/wizard.html",'<div class="row">\n       <div class="col-md-12">\n               <!-- BEGIN PAGE HEADER-->\n             <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-settings"></i>\n                                 <a href="/automations/list">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n                         </li>\n                 </ul>\n         </div>\n                <!-- END PAGE HEADER-->\n\n             <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-bulb font-green-sharp"></i>\n                                    <span class="caption-subject">{{ \'APPLICATION_AUTOMATIONS\' | translate }} WIZARD</a> </span>\n                                </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n                                     <!-- <pre>\n                                            {{item | json}}\n                                       </pre>\n                                        <pre>\n                                         {{conditionsData.query | json}}\n                                       </pre>\n                                        <pre>\n                                         {{actionsData.query | json}}\n                                  </pre> -->\n                                    <wz-step title="{{\'APPLICATION_GENERAL\' | translate}}" canexit="exitValidation(forms.general.$valid)">\n                                              <form name="forms.general" data-ng-submit="submit()" novalidate>\n                                                      <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': forms.general.name.$touched && forms.general.name.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n                                                           <span data-ng-show="forms.general.name.$touched && forms.general.name.$invalid && forms.general.name.$error.required" class="help-block help-block-error">\n                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n                                                       </div>\n                                                        <!-- END DESCRIPTION -->\n\n                                                    <button class="btn green-haze" type="submit" ng-click="next()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n                                            </form>\n                                       </wz-step>\n            <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="exitValidation(conditionsData.query.length && actionsData.query.length)">\n                                          <div class="portlet light bordered">\n                                                  <div class="portlet-title">\n                                                           <div class="caption font-blue-hoki">\n                                                                  <i class="icon-tag font-blue-hoki"></i>\n                                                                       <span class="caption-subject">{{ \'APPLICATION_CHANNEL\' | translate }}</a> </span>\n                                                           </div>\n                                                        </div>\n                                                        <div class="portlet-body">\n                                                            <div class="form-group"  >\n                                                                    <label class="control-label">{{ \'APPLICATION_CHANNEL\' | translate }}<span class="required" aria-required="true">*</span></label>\n                                                                    <ui-select data-ng-model="item.channel" name="channel" theme="bootstrap" required>\n                                                                            <ui-select-match placeholder="{{ \'APPLICATION_CHANNEL\' | translate }}">{{$select.selected | capitalize}}</ui-select-match>\n                                                                          <ui-select-choices repeat="channel in $automations.channels | filter: $select.search">\n                                                                                        <div ng-bind-html="channel | highlight: $select.search | capitalize"></div>\n                                                                           </ui-select-choices>\n                                                                  </ui-select>\n                                                          </div>\n                                                        </div>\n                                                </div>\n                                                <div class="portlet light bordered">\n                                                  <div class="portlet-title">\n                                                           <div class="caption font-blue-hoki">\n                                                                  <i class="icon-tag font-blue-hoki"></i>\n                                                                       <span class="caption-subject">{{ \'APPLICATION_CONDITIONS\' | translate }}</a> </span>\n                                                                </div>\n                                                        </div>\n                                                        <div class="portlet-body">\n                                                            <query-builder group="conditionsFilter.group" fields="fields.conditions" operators="$automations.operators" properties="properties[item.channel]"></query-builder>\n                                                    </div>\n                                                </div>\n                                                <div class="portlet light bordered">\n                                                  <div class="portlet-title">\n                                                           <div class="caption font-blue-hoki">\n                                                                  <i class="icon-tag font-blue-hoki"></i>\n                                                                       <span class="caption-subject">{{ \'APPLICATION_ACTIONS\' | translate }}</a> </span>\n                                                           </div>\n                                                        </div>\n                                                        <div class="portlet-body">\n                                                            <query-builder group="actionsFilter.group" fields="fields.actions" properties="properties[item.channel]"></query-builder>\n                                                     </div>\n                                                </div>\n                                                <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n                                             <button class="btn green-haze" type="submit" ng-click="next()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n                                    </wz-step>\n                                    <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                             <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                            <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n                                             <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                 </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/preview/preview.html",'<style>\n  .xc_footer\n  {\n        text-align: center;\n   padding-bottom: 5px;\n  }\n\n  .xc_powered\n  {\n       color: grey;\n    font: 10px/16px "Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;\n     padding-bottom: 5px;\n  }\n\n  .xc_chat_container\n  {\n        //width:379px;\n        //position:fixed;\n     //bottom:0;\n   //right:50px;\n         z-index:9999;\n         background-color:transparent;\n  }\n\n  .xc_chat_container *\n  {\n     font-family:Arial,Helvetica,sans-serif;\n       font-size:13px;\n       margin:0;\n     padding:0;\n  }\n\n  .xc_chat_container p\n  {\n        margin:5px 0;\n  }\n\n  .xc_signup_wrapper\n  {\n       max-height:375px;\n  }\n\n  .xc_conversation_container\n  {\n   max-height:375px;\n     list-style:none;\n      overflow:auto;\n        margin:0;\n     padding:20px 10px;\n  }\n\n  .xc_conversation_container a\n  {\n        color:#036;\n  }\n\n  .xc_conversation_container a.xc_btn_style\n  {\n          color:#fff;\n  }\n\n  div.xc_chat_head\n  {\n   color:#fff;\n   background:{{chatWebsite.color}};\n     //border-radius: 20px 20px 0px 0px !important;\n        height:52px;\n          line-height:55px;\n     cursor:pointer;\n  }\n\n  div.xc_chat_head.rounded\n  {\n       border-radius: 20px 20px 0px 0px !important;\n  }\n\n  div.xc_chat_head.squared\n  {\n          //border-radius: 20px 20px 0px 0px !important;\n  }\n\n  .xc_chat_head-title\n  {\n     margin:5px 0 0 15px;\n          color: #fff;\n  }\n\n  .xc_header_icon\n  {\n   display:block;\n        background-image:url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/icon_visitorchat.png);\n         width:21px;\n   height:16px;\n          float:right;\n          margin:20px 20px 0 0;\n  }\n\n  .xc_header_icon span.xc_notification_badge span\n  {\n          display:block;\n        height:16px;\n          width:15px;\n   text-align:center;\n    font-size:9px;\n        color:#555;\n   position:relative;\n    top:-20px;\n    left:4px;\n     margin:0;\n     padding:0;\n  }\n\n  .xc_sub-head-spacer\n  {\n         padding:1px;\n  }\n\n  .xc_conversation\n  {\n          display:none;\n         margin:0 12px 0 11px;\n  }\n\n  .xc_chat_toggle_container\n  {\n        /*background:mediumslateblue center -52px;*/\n          background: white;\n    border-style: solid;\n    border-width: 1px;\n          border-color: {{chatWebsite.color}};\n          //display:none;\n  }\n\n  .xc_signup_wrapper,.xc_notifications_wrapper,.xc_enquiry_wrapper\n  {\n       //display:none;\n    display:block;\n   overflow:auto;\n        line-height:1;\n        padding:25px;\n  }\n\n  .xc_exit_chat_container\n  {\n          text-align:right;\n     width:95%;\n    margin:0 auto;\n        padding:5px 1px 0 0;\n  }\n\n  .xc_exit_chat_container span,.xc_exit_chat_container a\n  {\n    font-size:80%;\n        color:#666;\n   text-decoration:none;\n  }\n\n  .xc_exit_chat_container a:hover\n  {\n          color:#333;\n  }\n\n  a.xc_btn_exit_chat_confirm:hover\n  {\n   color:red;\n  }\n\n  a.xc_btn_exit_chat_cancel:hover\n  {\n     color:#0c0;\n  }\n\n  form.xc_form_reply\n  {\n         position:relative;\n  }\n\n  .xc_form_reply\n  {\n      /*background-color:#e3e3e3;*/\n         text-align:center;\n    /*border-top:1px solid #d3d3d3;*/\n  }\n\n  .xc_input_message\n  {\n    height:100px;\n         margin:10px auto 5px;\n  }\n\n  .xc_input_enquiry_message\n  {\n        height:100px;\n  }\n\n  .xc_form_signup,.xc_form_enquiry\n  {\n         text-align:center;\n  }\n\n  .xc_chat_container textarea,.xc_chat_container input[type=text]\n  {\n     width:95%;\n    min-width:95%;\n        max-width:95%;\n        -webkit-box-sizing:border-box;\n        -moz-box-sizing:border-box;\n   box-sizing:border-box;\n        background-color:#fff;\n        border:1px solid #ccc;\n        -webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);\n         -moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);\n    box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);\n         -webkit-transition:border linear .2s, box-shadow linear .2s;\n          -moz-transition:border linear .2s, box-shadow linear .2s;\n     -o-transition:border linear .2s, box-shadow linear .2s;\n       transition:border linear .2s, box-shadow linear .2s;\n          display:inline-block;\n         font-size:14px;\n       line-height:20px;\n     color:#555;\n   -webkit-border-radius:4px;\n    -moz-border-radius:4px;\n       border-radius:4px;\n    vertical-align:middle;\n        margin:3px 0;\n         padding:4px 6px;\n      resize: none;\n  }\n\n  .xc_chat_container textarea:focus,.xc_chat_container input[type=text]:focus\n  {\n      outline: {{chatWebsite.color_focus}} auto 5px;\n  }\n\n  .xc_chat_container input[type=text]\n  {\n     height: 30px;\n  }\n\n  .xc_message_sending textarea, .xc_enquiry_sending textarea\n  {\n       background: #fff url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/loading.gif) 98% 5px no-repeat;\n  }\n\n  .xc_chatrow\n  {\n     display:block;\n        border-top:1px dashed #e3e3e3;\n        margin:5px 0;\n         clear: both;\n  }\n\n  .xc_chatrow p\n  {\n     color:#444;\n   word-wrap:break-word;\n  }\n\n  .xc_time\n  {\n         float:right;\n          font-size:80%;\n        color:#ccc;\n   padding-left:12px;\n    margin:3px;\n  }\n\n  .xc_submission_pending\n  {\n     background:transparent url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/bullet_clock.png) left center no-repeat;\n  }\n\n  .xc_submission_confirmed\n  {\n         background:transparent url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/bullet_tick.png) left center no-repeat;\n  }\n\n  .xc_fullname\n  {\n      font-weight:700;\n  }\n\n  .xc_fullname:after\n  {\n    content:":";\n  }\n\n  .xc_avatar\n  {\n        float: left;\n          margin: 0 5px 5px 0;\n          display: inline-block;\n        width: 40px;\n          height: 40px;\n         border-radius: 5px;\n           -moz-border-radius: 5px;\n      -webkit-border-radius: 5px;\n  }\n\n  .xc_smilie\n  {\n         background-repeat:no-repeat;\n          display:inline-block;\n         width:18px;\n   height:18px;\n          text-indent:-9999px;\n          white-space:nowrap;\n  }\n\n  .xc_btn_load_more\n  {\n          width:100%!important;\n  }\n\n  .xc_notifications_wrapper\n  {\n        text-shadow:0 1px 0 rgba(255,255,255,0.5);\n  }\n\n  .xc_notification_success\n  {\n    color:#468847;\n  }\n\n  .xc_notification_error\n  {\n          color:#b94a48;\n  }\n\n  .xc_errorlist\n  {\n   margin:0 0 0 25px;\n    padding:0;\n  }\n\n  i.xc_btn_notifications_close\n  {\n        float:right;\n          font-weight:700;\n      font-size:20px;\n       color:#ccc;\n   cursor:pointer;\n       margin:-15px 0 0;\n     padding:0;\n  }\n\n  .xc_btn_style\n  {\n       width:95%;\n    text-align:center;\n    line-height:1.2;\n      font-size:90%;\n        -moz-box-shadow:inset 0 1px 0 0 {{chatWebsite.color_button}};\n         -webkit-box-shadow:inset 0 1px 0 0 {{chatWebsite.color_button}};\n      box-shadow:inset 0 1px 0 0 {{chatWebsite.color_button}};\n      background:0;\n         background-color:{{chatWebsite.color_button}};\n        -moz-border-radius:4px;\n       -webkit-border-radius:4px;\n    border-radius:4px;\n    border:1px solid {{chatWebsite.color_button}};\n        display:inline-block;\n         color:#fff;\n   font-weight:700;\n      text-decoration:none;\n         text-shadow:1px 1px 0 #000c17;\n        margin:0 auto 5px;\n    padding:2px 0;\n  }\n\n  .xc_btn_style:hover\n  {\n     background:0;\n         background-color:{{chatWebsite.color_button}};\n      color: #fff;\n            text-decoration: none;\n  }\n\n  .xc_btn_style:active\n  {\n    position:relative;\n    top:1px;\n  }\n\n  .xc_composing_container\n  {\n       display: none;\n    width: 95%;\n    margin: 0 auto;\n    background: transparent url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/bullet_pencil.png) 6px center no-repeat;\n    padding-left: 19px;\n    font-style: italic;\n  }\n\n  @media only screen and (max-height: 620px) {\n     .xc_conversation_container\n    {\n             max-height:300px!important;\n   }\n  }\n\n  @media only screen and (max-height: 545px) {\n      .xc_conversation_container\n    {\n             max-height:200px!important;\n   }\n  }\n\n  @media only screen and (max-height: 445px) {\n      .xc_conversation_container\n    {\n             max-height:150px!important;\n   }\n  }\n\n  @media only screen and (max-width: 480px) {\n       .xc_chat_container\n    {\n             width:95%!important;\n                  right:auto!important;\n                 -webkit-border-top-left-radius:15px;\n                  -webkit-border-top-right-radius:15px;\n                 -moz-border-radius-topleft:15px;\n              -moz-border-radius-topright:15px;\n             border-top-left-radius:15px;\n                  border-top-right-radius:15px;\n                 box-shadow:0 0 5px rgba(0,0,0,.5);\n            -webkit-box-shadow:0 0 5px rgba(0,0,0,.5);\n            -moz-box-shadow:0 0 5px rgba(0,0,0,.5);\n       }\n\n   div.xc_chat_head\n      {\n             background-color:#036;\n                background-image:none;\n                line-height:25px;\n             height:auto;\n                  -webkit-border-top-left-radius:15px;\n                  -webkit-border-top-right-radius:15px;\n                 -moz-border-radius-topleft:15px;\n              -moz-border-radius-topright:15px;\n             border-top-left-radius:15px;\n                  border-top-right-radius:15px;\n                 padding:10px;\n         }\n\n   .xc_chat_toggle_container\n     {\n             background-color:#fff;\n                background-image:none;\n                border-color:#036;\n            border-style:solid;\n           border-width:0 1px;\n   }\n\n   .xc_header_icon\n       {\n             background-image:url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/icon_visitorchat.png);\n                 margin:0;\n     }\n\n   .xc_header_icon span.xc_notification_badge span\n       {\n             top:-5px;\n             left:5px;\n     }\n\n   .xc_notification_success\n      {\n             background-color:#dff0d8;\n             border:1px solid #d6e9c6;\n     }\n\n   .xc_conversation_container\n    {\n             max-height:375px;\n             border-color:#036;\n    }\n\n   .xc_notification_error\n        {\n             background-color:#f2dede;\n             border:1px solid #eed3d7;\n     }\n\n   .xc_sub-head-spacer\n   {\n             display:none;\n                 padding:0;\n    }\n\n   .xc_chat_head-title,.xc_conversation\n          {\n             margin:0;\n     }\n  }\n</style>\n<div class="xc_chat_container">\n    <div class="xc_chat_head {{chatWebsite.header_shape}}">\n      <i class="xc_header_icon">\n        <span class="xc_notification_badge">\n          <span class="xc_notification_badge_number"></span>\n        </span>\n      </i>\n      <span class="xc_chat_head-title">{{statePreview.state == \'online\' ? chatWebsite.header_online : chatWebsite.header_offline}}</span>\n    </div>\n    <div class="xc_chat_toggle_container">\n        <div class="xc_sub-head-spacer"></div>\n        <div class="xc_notifications_wrapper">\n            <!--<i class="xc_btn_notifications_close">&times;</i>-->\n            <ul class="xc_errorlist"></ul>\n        </div>\n        <div class="xc_enquiry_wrapper" data-ng-show=\'statePreview.state == "offline"\'>\n            <form class="xc_form_enquiry" accept-charset="UTF-8">\n                <p ng-bind-html=\'chatWebsite.offline_message\'></p>\n                <input maxlength="45" type="text" name="data[Enquiry][fullname]" placeholder="{{chatWebsite.username_placeholder}}" class="xc_input_enquiry_fullname" />\n                <input maxlength="85" type="text" name="data[Enquiry][email]" placeholder="{{chatWebsite.email_placeholder}}" class="xc_input_enquiry_email" />\n                <textarea maxlength="1500" placeholder="{{chatWebsite.enquiry_message_placeholder}}" name="data[Enquiry][message]" class="xc_input_enquiry_message"></textarea>\n                <a href="#" class="xc_btn_enquiry xc_btn_style">{{chatWebsite.enquiry_button}}</a></form>\n        </div>\n        <div class="xc_signup_wrapper" data-ng-show=\'statePreview.state == "online"\'>\n            <form class="xc_form_signup" accept-charset="UTF-8">\n                <p ng-bind-html=\'chatWebsite.online_message\'></p>\n                <input maxlength="45" type="text" name="data[Discussion][fullname]" placeholder="{{chatWebsite.username_placeholder}}" class="xc_input_fullname" />\n                <input maxlength="85" type="text" name="data[Discussion][email]" placeholder="{{chatWebsite.email_placeholder}}" class="xc_input_email" />\n                <input type="hidden" class="xc_input_visitor_time" name="data[Discussion][visitor_time]" /><a href="#" class="xc_btn_signup xc_btn_style">{{chatWebsite.start_chat_button}}</a></form>\n        </div>\n        <!-- <div class="xc_conversation">\n            <div class="xc_conversation_container">\n                <p class="xc_message_intro" data-id="-10">{FirstMessageText}</p>\n            </div>\n            <div class="xc_composing_container"></div>\n            <form class="xc_form_reply" accept-charset="UTF-8">\n                <div class="xc_exit_chat_container"><a href="#" class="xc_btn_exit_chat">{ExitChatButtonText}</a>\n                    <div class="xc_exit_chat_confirmation_wrapper" style="display: none;"><span>{ExitChatQuestionText} </span><a href="#" class="xc_btn_exit_chat_confirm">{ExitChatButtonConfirmText}</a><span> | </span><a href="#" class="xc_btn_exit_chat_cancel">{ExitChatButtonCancelText}</a></div>\n                </div>\n                <textarea maxlength="750" placeholder="{MessagePlaceholderText}" name="data[Message][message]" class="xc_input_message"></textarea><a href="#" class="xc_btn_send xc_btn_style">{MessageSendButtonText}</a></form>\n        </div> -->\n        <div class="xc_footer">\n            <div class="xc_powered"><a>Powered by Xenialab | Trademark xCALLY</a></div>\n        </div>\n    </div>\n</div>\n'),
-a.put("app/chat/queue/list/list.html",'<div class="row">\n     <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-bubble"></i>\n                                           <a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n                                                <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-layers"></i>\n                                           <a href="/chat/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n                                      </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n       <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_QUEUE\' | translate }}</a> </span>\n                             </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="chatQueues.checked.length">\n                                              <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle " href="#" data-toggle="dropdown">\n                                                 <i class="icon-plus"></i> {{ \'APPLICATION_NEW_QUEUE\' | translate }} <i class="fa fa-angle-down"></i>\n                                                </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <!-- <li>\n                                                             <a href="#" data-ng-click="open()">\n                                                           <i class="icon-user"></i> {{ \'APPLICATION_QUICK\' | translate }} </a>\n                                                        </li> -->\n                                                     <li>\n                                                          <a href="/chat/queues/wizard">\n                                                                <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                                 <!-- <li>\n                                                             <a href="#">\n                                                          <i class="icon-users"></i> {{ \'APPLICATION_BULK\' | translate }} </a>\n                                                        </li> -->\n                                             </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getChatQueues([\'name\', \'description\', \'timeout\', \'strategy\'])" csv-header="[\'Username\', \'Description\', \'Timeout\', \'Strategy\']" field-separator=";" filename="chat_queues.csv">\n                                      <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedChatQueues" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                      <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="6">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.chatQueuesByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                            <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="chatQueueByPage in chatQueuesByPage | filter: $select.search">\n                                                                                                     <div ng-bind-html="chatQueueByPage.name | highlight: $select.search"></div>\n                                                                                           </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(queue, checked)" checklist-model checklist-value="id"></th>\n                                                    <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                            <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                          <th st-sort="strategy">{{ \'APPLICATION_STRATEGY\' | translate }}</th>\n                                                                <th st-sort="timeout">{{ \'APPLICATION_AGENT_TIMEOUT\' | translate }}</th>\n                                                            <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="chatQueue in displayedChatQueues" class="animate-repeat">\n                                                             <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="chatQueues.checked" checklist-value="chatQueue.id"></td>\n                                             <td>{{chatQueue.name}}</td>\n                                                             <td>{{chatQueue.description}}</td>\n                                                            <td>{{chatQueue.strategy | uppercase}}</td>\n                                                           <td>{{chatQueue.timeout}}</td>\n                                              <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/chat/queues/view/{{chatQueue.id}}/settings">\n                                                                         {{ \'APPLICATION_EDIT\' | translate }}\n                                                </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(chatQueue.name,chatQueue.id)">\n                                                                             {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedChatQueues.length">\n                                                                <td colspan="6" style="text-align:center;">\n                                                                   <i>No chat queues available</i>\n                                                               </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="strategy" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_STRATEGY\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                 <td/>\n                                                             <td/>\n                                           </tr>\n                                           <tr>\n                                            <td colspan="6" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.chatQueuesByPage.value" st-displayed-pages="7"></div>\n                                          </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/queue/view/view.agents.html",'<div class="row" data-ng-init="getTeams()">\n        <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_AGENTS\' | translate}}</span>\n                          </div>\n                        </div>\n                        <div class="portlet-body" style="width: 50%; margin: 0 auto;">\n                                <!-- BEGIN FORM-->\n                            <form action="index.html" class="form-horizontal form-row-seperated">\n                                 <div class="form-body text-center">\n                                           <div class="form-group last">\n                                                 <div class="col-md-9" id="multi-select-team">\n                                                 </div>\n                                                </div>\n                                        </div>\n                                </form>\n                               <!-- END FORM-->\n                      </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/chat/queue/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getQueue()">\n     <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-bubble"></i>\n                                   <a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n                                        <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-layers"></i>\n                                   <a href="/chat/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n                                      <i data-ng-show="queue" class="fa fa-angle-right"></i>\n                                </li>\n                         <li data-ng-show="queue">\n                                     <a href="#">{{queue.name}}</a>\n                                </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/queue.png" class="img-responsive">\n                              </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{queue.name}}\n                                        </div>\n                                        <!-- <div class="profile-usertitle-job">\n                                              {{user.role}}\n                                 </div> -->\n                            </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.chat.queues.view.settings\')}">\n                                                  <a data-ng-href="/chat/queues/view/{{queue.id}}/settings">\n                                                    <i class="icon-settings"></i>\n                                                 {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n                                                </li>\n                                         <li data-ng-class="{active: $state.is(\'main.chat.queues.view.agents\')}">\n                                                    <a data-ng-href="/chat/queues/view/{{queue.id}}/agents">\n                                                      <i class="icon-users"></i>\n                                                    {{ \'APPLICATION_AGENTS\' | translate}} </a>\n                                          </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/queue/view/view.settings.html",'<div class="row">\n        <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_SETTINGS\' | translate}}</span>\n                                </div>\n                        </div>\n                        <div class="portlet-body">\n                            <form name="forms.general" data-ng-submit="forms.general.$valid && updateChatQueue()" novalidate>\n                                     <!-- START NAME -->\n                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid}">\n                                            <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="queue.name" required/>\n                                          <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.required" class="help-block help-block-error">\n                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                         </span>\n                                       </div>\n                                        <!-- END NAME -->\n\n                                   <!-- START DESCRIPTION -->\n                                    <div class="form-group">\n                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="queue.description"/>\n                                      </div>\n                                        <!-- END DESCRIPTION -->\n\n                                    <!-- START TIMEOUT -->\n                                        <div class="form-group">\n                                              <label class="control-label">{{\'APPLICATION_AGENT\' | translate}} {{\'APPLICATION_TIMEOUT\' | translate}}</label>\n                                            <input type="number" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" min="1" data-ng-model="queue.timeout"/>\n                                        </div>\n                                        <!-- END TIMEOUT -->\n\n                                        <!-- START HEADER SHAPE -->\n                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid}">\n                                            <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}</label>\n                                         <!-- <input colorpicker type="text" name="animationToggle" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" class="form-control" data-ng-model="chatWebsite.animation" required/> -->\n                                               <ui-select data-ng-model="queue.strategy" name="strategy" theme="bootstrap">\n                                                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.toUpperCase()}}</ui-select-match>\n                                                     <ui-select-choices repeat="strategy in [\'rrmemory\',\'beepall\'] | filter: $select.search">\n                                                          <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n                                                 </ui-select-choices>\n                                          </ui-select>\n                                  </div>\n                                        <!-- END HEADER SHAPE -->\n                                     <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                          </form>\n                       </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/chat/queue/wizard/wizard.html",'<div class="col-md-12">\n  <!-- BEGIN PAGE HEADER-->\n    <div class="page-bar">\n                <ul class="page-breadcrumb">\n                  <li>\n                          <i class="icon-rocket"></i>\n                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                           <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-envelope"></i>\n                         <a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n        <i class="fa fa-angle-right"></i>\n                     </li>\n      <li>\n                             <i class="icon-layers"></i>\n                           <a href="/chat/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n                      </li>\n         </ul>\n </div>\n  <!-- END PAGE HEADER-->\n\n  <!-- BEGIN PORTLET-->\n  <div class="portlet light bordered">\n          <div class="portlet-title">\n           <div class="caption font-green-sharp">\n                        <i class="icon-layers font-green-sharp"></i>\n                          <span class="caption-subject">{{ \'APPLICATION_QUEUES\' | translate }} WIZARD</a> </span>\n             </div>\n        </div>\n        <div class="portlet-body">\n            <wizard on-finish="createItem()">\n                             <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="exitValidation(forms.info.$valid)">\n                                        <form name="forms.general" data-ng-submit="forms.general.$valid && createItem()" novalidate>\n                                          <!-- START NAME -->\n                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid}">\n                                                    <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                 <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n                                                   <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.required" class="help-block help-block-error">\n                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END NAME -->\n\n                                           <!-- START DESCRIPTION -->\n                                            <div class="form-group">\n                                                      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                      <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n                                               </div>\n                                                <!-- END DESCRIPTION -->\n\n                                            <!-- START TIMEOUT -->\n                                                <div class="form-group" data-ng-class="{\'has-error\': (forms.general.timeout.$touched || forms.general.$submitted) && forms.general.timeout.$invalid}">\n                                                      <label class="control-label">{{\'APPLICATION_AGENT_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                        <input type="number" name="timeout" placeholder="Timeout" class="form-control" data-ng-model="item.timeout" required/>\n              <span data-ng-show="(forms.general.timeout.$touched || forms.general.$submitted) && forms.general.timeout.$invalid && forms.general.timeout.$error.required" class="help-block help-block-error">\n                                                               <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n            </div>\n                                           <!-- END TIMEOUT -->\n\n                                                <!-- START HEADER SHAPE -->\n                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid}">\n                                                    <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                     <ui-select data-ng-model="item.strategy" name="strategy" theme="bootstrap" required>\n                                                          <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.toUpperCase()}}</ui-select-match>\n                                                             <ui-select-choices repeat="strategy in [\'rrmemory\',\'beepall\'] | filter: $select.search">\n                                                                  <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n                                                         </ui-select-choices>\n                                                  </ui-select>\n              <span data-ng-show="(forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid && forms.general.strategy.$error.required" class="help-block help-block-error">\n                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n              </span>\n                                                </div>\n                                                <!-- END HEADER SHAPE -->\n                                             <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CREATE\' | translate}}"/>\n                                  </form>\n                         </wz-step>\n\n                                <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                    <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                         </wz-step>\n            </wizard>\n     </div>\n  </div>\n  <!-- END PORTLET-->\n</div>\n'),a.put("app/chat/realtime/view/agent/queue/queue.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n  <div class="col-md-12">\n               <!-- START TABLE -->\n          <div id="grid1" ui-grid="gridOptions" ui-grid-tree-view class="grid"></div>\n           <!-- END TABLE -->\n    </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/realtime/view/agent/timeline/timeline.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n   <div class="col-md-12">\n               <!-- START TABLE -->\n          <div id="grid1" ui-grid="gridOptions" class="grid"></div>\n             <!-- START TABLE -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/realtime/view/session/session.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initChats()">\n    <div class="col-md-12">\n               <!-- START TABLE -->\n          <table st-table="displayedChats" st-safe-src="sessions" class="table table-striped table-bordered table-hover">\n                       <div class="table-responsive">\n                          <thead>\n                                     <tr>\n                                          <th colspan="12">\n                                                     <div class="row">\n                                                             <div class="col-md-6">\n                                                                        <ui-select class="input-xsmall" ng-model="conf.sessionsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                              <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                             <ui-select-choices repeat="sessionByPage in sessionsByPage | filter: $select.search">\n                                                                                 <div ng-bind-html="sessionByPage.name | highlight: $select.search"></div>\n                                                                             </ui-select-choices>\n                                                                  </ui-select>\n                                                          </div>\n                                                                <div class="col-md-6">\n                                                                        <div class="input-group input-medium pull-right">\n                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                         <span class="input-group-addon">\n                                                                                      <i class="fa fa-search"></i>\n                                                                          </span>\n                                                                       </div>\n                                                                </div>\n                                                        </div>\n                                                </th>\n                                 </tr>\n                           <tr>\n                                                <th></th>\n                                             <th st-sort="uniqueid" reverse class="input-small">{{ \'APPLICATION_UNIQUEID\' | translate }}</th>\n                                <th st-sort="queue" class="input-medium">{{ \'APPLICATION_QUEUE\' | translate }}</th>\n                                 <th st-sort="membername" class="input-medium">{{ \'APPLICATION_AGENT\' | translate }}</th>\n                                                <th st-sort="visitorname" class="input-medium">{{ \'APPLICATION_VISITOR\' | translate }}</th>\n                                         <th st-sort="websitename" class="input-small">{{ \'APPLICATION_WEB_SITE\' | translate }}</th>\n                                         <th st-sort="sessioncalledAt" st-sort-default="reverse">{{ \'APPLICATION_JOIN_AT\' | translate }}</th>\n                                                <th st-sort="sessionconnectAt">{{ \'APPLICATION_LEAVE_AT\' | translate }}</th>\n                                                <th st-sort="sessionringnoanswerAt">{{ \'APPLICATION_UNMANAGED_AT\' | translate }}</th>\n                                 </tr>\n                         </thead>\n                      <tbody>\n                         <tr data-ng-repeat="session in displayedChats">\n                                           <td>\n                                                  <span>\n                                                                <i data-ng-class="{\'icon-user font-yellow\': session.mailjoinAt && !session.mailleaveAt,\n                                                             \'icon-user-following font-green\': session.fullname,\n                                                         \'icon-user-unfollow font-red\': session.mailunmanagedAt}"></i>\n                                                       </span>\n                                               </td>\n                                         <td>{{session.uniqueid}}</td>\n                                         <td>{{session.chatqueuename}}</td>\n                                            <td>{{session.fullname}}</td>\n                                         <td>{{session.visitorname + \' [\' + session.visitoremail + \']\'}}</td>\n                                              <td>{{session.websitename}}</td>\n                                              <td>\n                                                  <time is="relative-time" datetime="{{session.chatjoinAt}}">\n                                                           April 1, 2014\n                                                 </time>\n                                               </td>\n                                         <td>\n                                                  <time is="relative-time" datetime="{{session.chatleaveAt}}" data-ng-show="session.chatleaveAt">\n                                                               April 1, 2014\n                                                 </time>\n                                               </td>\n                                         <td>\n                                                  <time is="relative-time" datetime="{{session.chatunmanagedAt}}" data-ng-show="session.chatunmanagedAt">\n                                                               April 1, 2014\n                                                 </time>\n                                               </td>\n                     </tr>\n                                     <tr data-ng-hide="displayedChats.length">\n                                             <td colspan="11" style="text-align:center;">\n                                                  <i>No sessions available</i>\n                                          </td>\n                                 </tr>\n                   </tbody>\n                      <tfoot>\n                                     <tr>\n                                          <td/>\n                                         <td>\n                                                  <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="uniqueid" data-ng-model="filters.uniqueid" placeholder="{{ \'APPLICATION_UNIQUEID\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                 </div>\n                                    </td>\n                                 <td>\n                                                      <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="queue" placeholder="{{ \'APPLICATION_QUEUE\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                        </div>\n                                    </td>\n                                 <td>\n                                                      <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="membername" placeholder="{{ \'APPLICATION_AGENT\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                   </div>\n                                    </td>\n                                 <td>\n                                                      <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="visitorname" placeholder="{{ \'APPLICATION_VISITOR\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                        </div>\n                                    </td>\n                                             <td>\n                                                  <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="websitename" placeholder="{{ \'APPLICATION_WEB_SITE\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                       </div>\n                                    </td>\n                                             <td colspan="7"></td>\n                           </tr>\n                           <tr>\n                            <td colspan="12" class="text-center">\n                                                   <div class="pagination" st-pagination st-items-by-page="conf.sessionsByPage.value" st-displayed-pages="7"></div>\n                            </td>\n                       </tr>\n                       </tfoot>\n                    </div>\n                </table>\n              <!-- END TABLE -->\n    </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/realtime/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n  <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-energy"></i>\n                                   <a href="/chat/realtime/list">{{ \'APPLICATION_REALTIME\' | translate }}</a>\n                          </li>\n                 </ul>\n         </div>\n\n              <div>\n             <nav class="navbar navbar-default" role="navigation">\n                     <div class="navbar-header">\n                       <button type="button" class="navbar-toggle" ng-init="navCollapsed = true" ng-click="navCollapsed = !navCollapsed">\n                                <span class="sr-only">Toggle navigation</span>\n                                <span class="icon-bar"></span>\n                                <span class="icon-bar"></span>\n                                <span class="icon-bar"></span>\n                            </button>\n                     <!-- <a class="navbar-brand" ui-sref="home">Brand</a> -->\n                 </div>\n\n                      <!-- Collect the nav links, forms, and other content for toggling -->\n                 <div class="collapse navbar-collapse" ng-class="!navCollapsed && \'in\'">\n                         <ul class="nav navbar-nav">\n                               <li dropdown>\n                             <a href="#" dropdown-toggle>\n                                      {{ \'APPLICATION_AGENTS\' | translate }}\n                                      <b class=\'caret\'></b>\n                                   </a>\n                                  <tree tree=\'agents\'></tree>\n                             </li>\n                                                                         <li dropdown>\n                             <a href="#" dropdown-toggle>\n                                      {{ \'APPLICATION_SESSIONS\' | translate }}\n                                    <b class=\'caret\'></b>\n                                   </a>\n                                  <tree tree=\'sessions\'></tree>\n                           </li>\n                     </ul>\n                         <!-- <ul class="nav navbar-nav">\n                          <li dropdown>\n                             <a href="#" dropdown-toggle>\n                                      {{ \'APPLICATION_QUEUES\' | translate }}\n                                      <b class=\'caret\'></b>\n                                   </a>\n                                  <tree tree=\'queues\'></tree>\n                             </li>\n                     </ul> -->\n                 </div>\n                        <!-- /.navbar-collapse -->\n                </nav>\n            </div>\n                <div ui-view></div>\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/statistic/statistic.conversation.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="col-md-12">\n      <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n          <div class="portlet-title">\n                   <div class="caption font-green-sharp">\n                                <i class="icon-notebook font-green-sharp"></i>\n                                <span class="caption-subject">{{ \'APPLICATION_CONVERSATIONS\' | translate }}</a> </span>\n                     </div>\n                        <div class="actions">\n                         <a class="btn btn-icon-only btn-default" href="#" ng-csv="displayedChatRooms" filename="rooms.csv">\n                           <i class="icon-cloud-download"></i></a>\n                               <a class="btn btn-icon-only btn-default fullscreen" href="#"></a>\n                     </div>\n                </div>\n                <div class="portlet-body">\n                    <!-- START TABLE -->\n                  <table st-table="displayedChatRooms" st-safe-src="chatRooms" class="table table-bordered table-hover">\n                                <div class="table-responsive">\n                                        <thead>\n                                               <tr>\n                                                  <th colspan="9">\n                                                              <div class="row">\n                                                                     <div class="col-md-6">\n                                                                                <select class="form-control input-small select2me" data-ng-model="conf.chatRoomsByPage">\n                                                                                      <option value="10">10</option>\n                                                                                        <option value="25">25</option>\n                                                                                        <option value="50">50</option>\n                                                                                        <option value="{{chatRooms.length}}">{{ \'APPLICATION_ALL\' | translate }}</option>\n                                                                           </select>\n                                                                     </div>\n                                                                        <div class="col-md-6">\n                                                                                <div class="input-group input-medium pull-right">\n                                                                                     <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search"/>\n                                                                                  <span class="input-group-addon">\n                                                                                              <i class="fa fa-search"></i>\n                                                                                  </span>\n                                                                               </div>\n                                                                        </div>\n                                                                </div>\n                                                        </th>\n                                         </tr>\n                                         <tr>\n                                                  <th st-sort="type">{{ \'APPLICATION_TYPE\' | translate }}</th>\n                                                        <th st-sort="users">{{ \'APPLICATION_USERS\' | translate }}</th>\n                                                      <th st-sort="visitor">{{ \'APPLICATION_VISITOR\' | translate }}</th>\n                                                  <th st-sort="status">{{ \'APPLICATION_STATUS\' | translate }}</th>\n                                                    <th st-sort="createdAt">{{ \'APPLICATION_TIME\' | translate }}</th>\n                                           </tr>\n                                 </thead>\n                                      <tbody>\n                                               <tr data-ng-repeat="chatRoom in displayedChatRooms" data-ng-click="$location.path(\'/chat/statistics/conversation/\' + chatRoom.id)">\n                                                 <td style="text-align: center;">{{chatRoom.type | uppercase}}</td>\n                                                    <td style="text-align: center;">{{getUsersFullname(chatRoom.Users)}}</td>\n                                                     <td style="text-align: center;">{{chatRoom.ChatVisitor.email}}</td>\n                                                   <td style="text-align: center;">\n                                                              <span class="label label-sm label-success" data-ng-class="{\'label-success\': chatRoom.status == \'close\', \'label-warning\': chatRoom.status == \'open\'}">\n                                                                 {{chatRoom.status | capitalize}}\n                                                              </span>\n                                                       </td>\n                                                 <td style="text-align: center;">\n                                                              <time is="relative-time" datetime="{{chatRoom.createdAt}}">\n                                                                   April 1, 2014\n                                                         </time>\n                                                       </td>\n                                         </tr>\n                                 </tbody>\n                                      <tfoot>\n                                               <tr>\n                                                  <td colspan="9" class="text-center">\n                                                          <div st-pagination class="pagination" st-items-by-page="conf.chatRoomsByPage" st-displayed-pages="7"></div>\n                                                   </td>\n                                         </tr>\n                                 </tfoot>\n                      </div>\n                        </table>\n                      <!-- END TABLE -->\n            </div>\n        </div>\n        <!-- END Portlet PORTLET-->\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/statistic/statistic.conversation.view.html",'<!-- BEGIN PAGE CONTENT-->\n<div data-ng-init="initRoomView()">\n        <div class="col-md-6">\n                <!-- BEGIN PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-book-open font-green-sharp"></i>\n                                       <span class="caption-subject">{{ \'APPLICATION_TRANSCRIPT\' | translate }}</a> </span>\n                                </div>\n                                <div class="actions">\n                                 <a class="btn btn-icon-only btn-default" href="#" ng-csv="chatRoom.ChatMessages" filename="chatMessages.csv">\n                                 <i class="icon-cloud-download"></i></a>\n                                       <a class="btn btn-icon-only btn-default fullscreen" href="#"></a>\n                             </div>\n                        </div>\n                        <div class="portlet-body">\n                            <div class="scroller" style="height: 352px;" data-always-visible="1" data-rail-visible1="1">\n                                  <ul class="chats">\n                                            <li data-ng-class="{\'out\': chatMessage.visitorId, \'in\': chatMessage.userId}" data-ng-repeat="chatMessage in chatRoom.ChatMessages | orderBy:\'-createdAt\'">\n                                                      <img class="avatar" data-ng-src="api/users/{{chatMessage.userId ? chatMessage.userId : \'avatar\'}}/avatar"/>\n                                                 <div class="message">\n                                                         <span class="arrow">\n                                                          </span>\n                                                               <a href="#" class="name">\n                                                             {{chatMessage.fullname}} </a>\n                                                         <span class="datetime">\n                                                                       <time is="relative-time" datetime="{{chatMessage.createdAt}}">\n                                                                                April 1, 2014\n                                                                 </time>\n                                                               </span>\n                                                               <span class="body">\n                                                                   {{chatMessage.body}}\n                                                          </span>\n                                                       </div>\n                                                </li>\n                                 </ul>\n                         </div>\n                        </div>\n                <!-- END PORTLET-->\n           </div>\n        </div>\n        <div class="col-md-6">\n                <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-user font-green-sharp"></i>\n                                    <span class="caption-subject">{{ \'APPLICATION_VISITOR\' | translate }}:</a> </span>\n                                  <span class="caption-helper">{{chatRoom.ChatVisitor.fullname}}</span>\n                         </div>\n                                <div class="actions">\n                                 <a class="btn btn-icon-only btn-default fullscreen" href="#"></a>\n                             </div>\n                        </div>\n                        <div class="portlet-body">\n                            <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.fullname">\n                                    <div class="col-md-4 name">\n                                           {{\'APPLICATION_FULLNAME\' | translate}}\n                                      </div>\n                                        <div class="col-md-8 value">\n                                          {{chatRoom.ChatVisitor.fullname}}\n                                     </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.email">\n                                       <div class="col-md-4 name">\n                                           {{\'APPLICATION_EMAIL\' | translate}}\n                                 </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.email}}\n                                        </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.remote_address">\n                                      <div class="col-md-4 name">\n                                           {{\'APPLICATION_REMOTE_ADDRESS\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.remote_address}}\n                                       </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.referer">\n                                     <div class="col-md-4 name">\n                                           {{\'APPLICATION_REFERER\' | translate}}\n                                       </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.referer}}\n                                      </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.browser">\n                                     <div class="col-md-4 name">\n                                           {{\'APPLICATION_BROWSER\' | translate}}\n                                       </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.browser}}\n                                      </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.engine">\n                                      <div class="col-md-4 name">\n                                           {{\'APPLICATION_ENGINE\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.engine}}\n                                       </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.os">\n                                  <div class="col-md-4 name">\n                                           {{\'APPLICATION_OS\' | translate}}\n                                    </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.os}}\n                                   </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.device">\n                                      <div class="col-md-4 name">\n                                           {{\'APPLICATION_DEVICE\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.device}}\n                                       </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.country">\n                                     <div class="col-md-4 name">\n                                           {{\'APPLICATION_COUNTRY\' | translate}}\n                                       </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.country}}\n                                      </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.region">\n                                      <div class="col-md-4 name">\n                                           {{\'APPLICATION_REGION\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.region}}\n                                       </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.city">\n                                        <div class="col-md-4 name">\n                                           {{\'APPLICATION_CITY\' | translate}}\n                                  </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.city}}\n                                 </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.latitude">\n                                    <div class="col-md-4 name">\n                                           {{\'APPLICATION_LATITUDE\' | translate}}\n                                      </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.latitude}}\n                                     </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.longitude">\n                                   <div class="col-md-4 name">\n                                           {{\'APPLICATION_LONGITUDE\' | translate}}\n                                     </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.longitude}}\n                                    </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.createdAt">\n                                   <div class="col-md-4 name">\n                                           {{\'APPLICATION_ARRIVAL_TIME\' | translate}}\n                                  </div>\n                                        <div class="col-md-4 value">\n                                          <time is="relative-time" datetime="{{chatRoom.ChatVisitor.createdAt}}">\n                                                       April 1, 2014\n                                         </time>\n                                       </div>\n                                </div>\n                        </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n           <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered" data-ng-repeat="user in chatRoom.Users">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-earphones-alt font-green-sharp"></i>\n                                   <span class="caption-subject">{{ \'APPLICATION_AGENT\' | translate }}:</a> </span>\n                                    <span class="caption-helper">{{user.fullname}}</span>\n                         </div>\n                                <div class="actions">\n                                 <a class="btn btn-icon-only btn-default fullscreen" href="#"></a>\n                             </div>\n                        </div>\n                        <div class="portlet-body">\n                            <div class="row static-info">\n                                 <div class="col-md-4 name">\n                                           {{\'APPLICATION_FULLNAME\' | translate}}\n                                      </div>\n                                        <div class="col-md-4 value">\n                                          {{user.fullname}}\n                                     </div>\n                                </div>\n                                <div class="row static-info">\n                                 <div class="col-md-4 name">\n                                           {{\'APPLICATION_USERNAME\' | translate}}\n                                      </div>\n                                        <div class="col-md-4 value">\n                                          {{user.name}}\n                                 </div>\n                                </div>\n                                <div class="row static-info">\n                                 <div class="col-md-4 name">\n                                           {{\'APPLICATION_ROLE\' | translate}}\n                                  </div>\n                                        <div class="col-md-4 value">\n                                          {{user.role | uppercase}}\n                                     </div>\n                                </div>\n                        </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
-a.put("app/chat/statistic/statistic.enquiry.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="col-md-12">\n       <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n          <div class="portlet-title">\n                   <div class="caption font-green-sharp">\n                                <i class="icon-question font-green-sharp"></i>\n                                <span class="caption-subject">{{ \'APPLICATION_ENQUIRIES\' | translate }}</a> </span>\n                 </div>\n                        <div class="actions">\n                         <a class="btn btn-icon-only btn-default" href="#" ng-csv="displayedChatEnquiries" filename="enquiries.csv">\n                           <i class="icon-cloud-download"></i></a>\n                               <a class="btn btn-icon-only btn-default fullscreen" href="#"></a>\n                     </div>\n                </div>\n                <div class="portlet-body">\n                    <!-- START TABLE -->\n                  <table st-table="displayedChatEnquiries" st-safe-src="chatEnquiries" class="table table-bordered table-hover">\n                                <div class="table-responsive">\n                                        <thead>\n                                               <tr>\n                                                  <th colspan="9">\n                                                              <div class="row">\n                                                                     <div class="col-md-6">\n                                                                                <select class="form-control input-small select2me" data-ng-model="conf.chatEnquiriesByPage">\n                                                                                  <option value="10">10</option>\n                                                                                        <option value="25">25</option>\n                                                                                        <option value="50">50</option>\n                                                                                        <option value="{{chatEnquiries.length}}">{{ \'APPLICATION_ALL\' | translate }}</option>\n                                                                               </select>\n                                                                     </div>\n                                                                        <div class="col-md-6">\n                                                                                <div class="input-group input-medium pull-right">\n                                                                                     <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search"/>\n                                                                                  <span class="input-group-addon">\n                                                                                              <i class="fa fa-search"></i>\n                                                                                  </span>\n                                                                               </div>\n                                                                        </div>\n                                                                </div>\n                                                        </th>\n                                         </tr>\n                                         <tr>\n                                                  <th st-sort="type">{{ \'APPLICATION_USERNAME\' | translate }}</th>\n                                                    <th st-sort="users">{{ \'APPLICATION_EMAIL\' | translate }}</th>\n                                                      <th st-sort="createdAt">{{ \'APPLICATION_TIME\' | translate }}</th>\n                                           </tr>\n                                 </thead>\n                                      <tbody>\n                                               <tr data-ng-repeat="chatEnquiry in displayedChatEnquiries" data-ng-click="$location.path(\'/chat/statistics/enquiry/\' + chatEnquiry.id)">\n                                                    <td style="text-align: center;">{{chatEnquiry.username}}</td>\n                                                 <td style="text-align: center;">{{chatEnquiry.email}}</td>\n                                                    <td style="text-align: center;">\n                                                              <time is="relative-time" datetime="{{chatEnquiry.createdAt}}">\n                                                                        April 1, 2014\n                                                         </time>\n                                                       </td>\n                                         </tr>\n                                 </tbody>\n                                      <tfoot>\n                                               <tr>\n                                                  <td colspan="9" class="text-center">\n                                                          <div st-pagination class="pagination" st-items-by-page="conf.chatEnquiriesByPage" st-displayed-pages="7"></div>\n                                                       </td>\n                                         </tr>\n                                 </tfoot>\n                      </div>\n                        </table>\n                      <!-- END TABLE -->\n            </div>\n        </div>\n        <!-- END Portlet PORTLET-->\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/statistic/statistic.enquiry.view.html",'<!-- BEGIN PAGE CONTENT-->\n<div data-ng-init="initEnquiryView()">\n  <div class="col-md-6">\n                <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-book-open font-green-sharp"></i>\n                                       <span class="caption-subject">{{ \'APPLICATION_TEXT\' | translate }}</a> </span>\n                              </div>\n                                <div class="actions">\n                                 <a class="btn btn-icon-only btn-default" href="#" ng-csv="chatEnquiry" filename="chatEnquery.csv">\n                                    <i class="icon-cloud-download"></i></a>\n                                       <a class="btn btn-icon-only btn-default fullscreen" href="#"></a>\n                             </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- BEGIN PAGE CONTENT-->\n                            <div class="note note-warning">\n                                       <h4 class="block">{{chatEnquiry.ChatVisitor.fullname}} -\n                                              <time is="relative-time" datetime="{{chatEnquiry.createdAt}}">\n                                                        April 1, 2014\n                                         </time>\n                                       </h4>\n                                 <p>\n                                            {{chatEnquiry.text}}\n                                 </p>\n                          </div>\n                        </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n        <div class="col-md-6">\n                <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-user font-green-sharp"></i>\n                                    <span class="caption-subject">{{ \'APPLICATION_VISITOR\' | translate }}:</a> </span>\n                                  <span class="caption-helper">{{chatEnquiry.ChatVisitor.fullname}}</span>\n                              </div>\n                                <div class="actions">\n                                 <a class="btn btn-icon-only btn-default fullscreen" href="#"></a>\n                             </div>\n                        </div>\n                        <div class="portlet-body">\n                            <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.fullname">\n                                 <div class="col-md-4 name">\n                                           {{\'APPLICATION_FULLNAME\' | translate}}\n                                      </div>\n                                        <div class="col-md-8 value">\n                                          {{chatEnquiry.ChatVisitor.fullname}}\n                                  </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.email">\n                                    <div class="col-md-4 name">\n                                           {{\'APPLICATION_EMAIL\' | translate}}\n                                 </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.email}}\n                                     </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.remote_address">\n                                   <div class="col-md-4 name">\n                                           {{\'APPLICATION_REMOTE_ADDRESS\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.remote_address}}\n                                    </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.referer">\n                                  <div class="col-md-4 name">\n                                           {{\'APPLICATION_REFERER\' | translate}}\n                                       </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.referer}}\n                                   </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.browser">\n                                  <div class="col-md-4 name">\n                                           {{\'APPLICATION_BROWSER\' | translate}}\n                                       </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.browser}}\n                                   </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.engine">\n                                   <div class="col-md-4 name">\n                                           {{\'APPLICATION_ENGINE\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.engine}}\n                                    </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.os">\n                                       <div class="col-md-4 name">\n                                           {{\'APPLICATION_OS\' | translate}}\n                                    </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.os}}\n                                        </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.device">\n                                   <div class="col-md-4 name">\n                                           {{\'APPLICATION_DEVICE\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.device}}\n                                    </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.country">\n                                  <div class="col-md-4 name">\n                                           {{\'APPLICATION_COUNTRY\' | translate}}\n                                       </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.country}}\n                                   </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.region">\n                                   <div class="col-md-4 name">\n                                           {{\'APPLICATION_REGION\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.region}}\n                                    </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.city">\n                                     <div class="col-md-4 name">\n                                           {{\'APPLICATION_CITY\' | translate}}\n                                  </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.city}}\n                                      </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.latitude">\n                                 <div class="col-md-4 name">\n                                           {{\'APPLICATION_LATITUDE\' | translate}}\n                                      </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.latitude}}\n                                  </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.longitude">\n                                        <div class="col-md-4 name">\n                                           {{\'APPLICATION_LONGITUDE\' | translate}}\n                                     </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.longitude}}\n                                 </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.createdAt">\n                                        <div class="col-md-4 name">\n                                           {{\'APPLICATION_ARRIVAL_TIME\' | translate}}\n                                  </div>\n                                        <div class="col-md-4 value">\n                                          <time is="relative-time" datetime="{{chatEnquiry.ChatVisitor.createdAt}}">\n                                                    April 1, 2014\n                                         </time>\n                                       </div>\n                                </div>\n                        </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/statistic/statistic.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initList()">\n       <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-bubble"></i>\n                                   <a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n                                        <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-eyeglass"></i>\n                                 <a href="/chat/statistics">{{ \'APPLICATION_STATISTICS\' | translate }}</a>\n                           </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img src="assets/images/media/statistics.png" class="img-responsive">\n                         </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <!-- <div class="profile-usertitle">\n                                  <div class="profile-usertitle-name">\n                                          {{chatWebsite.name}}\n                                  </div>\n                                        <div class="profile-usertitle-job">\n                                           {{chatWebsite.address}}\n                                       </div>\n                                </div> -->\n                            <!-- END SIDEBAR USER TITLE -->\n                               <!-- SIDEBAR BUTTONS -->\n                              <!-- <div class="profile-userbuttons">\n                                        <button type="button" class="btn btn-circle green-haze btn-sm">Follow</button>\n                                        <button type="button" class="btn btn-circle btn-danger btn-sm">Message</button>\n                               </div> -->\n                            <!-- END SIDEBAR BUTTONS -->\n                          <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.chat.statistics.summary\')}">\n                                                    <a ng-href="/chat/statistics/summary">\n                                                        <i class="icon-list"></i>\n                                                     {{ \'APPLICATION_SUMMARY\' | translate }} </a>\n                                                </li>\n                                         <li data-ng-class="{active: $state.is(\'main.chat.statistics.enquiry\') || $state.is(\'main.chat.statistics.enquiries\')}">\n                                                   <a ng-href="/chat/statistics/enquiries">\n                                                      <i class="icon-question"></i>\n                                                 {{ \'APPLICATION_ENQUIRIES\' | translate }} </a>\n                                              </li>\n                                         <li data-ng-class="{active: $state.is(\'main.chat.statistics.conversation\') || $state.is(\'main.chat.statistics.conversations\')}">\n                                                  <a ng-href="/chat/statistics/conversations">\n                                                  <i class="icon-notebook"></i>\n                                                 {{ \'APPLICATION_CONVERSATIONS\' | translate }} </a>\n                                          </li>\n                                         <li data-ng-class="{active: $state.is(\'main.chat.statistics.visitor\') || $state.is(\'main.chat.statistics.visitors\')}">\n                                                    <a ng-href="/chat/statistics/visitors">\n                                                       <i class="icon-users"></i>\n                                                    {{ \'APPLICATION_VISITORS\' | translate }} </a>\n                                               </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/statistic/statistic.summary.html",'<div class="col-md-12">\n       <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-show="online">\n            <div class="portlet-title">\n                   <div class="caption font-green-sharp">\n                                <i class="icon-notebook font-green-sharp"></i>\n                                <span class="caption-subject">{{ \'APPLICATION_LOCATIONS\' | translate }}</a> </span>\n                 </div>\n                </div>\n                <div class="portlet-body">\n                    <map center="0, 0" zoom="2">\n                          <marker data-ng-show="chatVisitor.latitude && chatVisitor.longitude" data-ng-repeat="chatVisitor in chatVisitors" position="{{chatVisitor.latitude}}, {{chatVisitor.longitude}}" title="{{chatVisitor.fullname}}"></marker>\n                   </map>\n                </div>\n        </div>\n        <!-- END Portlet PORTLET-->\n\n\n       <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n          <div class="portlet-title">\n                   <div class="caption font-green-sharp">\n                                <i class="icon-notebook font-green-sharp"></i>\n                                <span class="caption-subject">{{ \'APPLICATION_CONVERSATIONS\' | translate }}</a> </span>\n                     </div>\n                </div>\n                <div class="portlet-body">\n                    <div class="row">\n                             <div class="col-md-6">\n                                        <div class="portlet sale-summary">\n                                            <div class="portlet-body">\n                                                    <ul class="list-unstyled">\n                                                            <li>\n                                                                  <span class="sale-info">\n                                                                      {{ \'APPLICATION_OPENED\' | translate }} <i class="fa fa-img-up"></i>\n                                                                 </span>\n                                                                       <span class="sale-num">\n                                                                       {{ (chatRooms | filter:{ status:\'open\' }).length }} </span>\n                                                         </li>\n                                                         <li>\n                                                                  <span class="sale-info">\n                                                                      {{ \'APPLICATION_CLOSED\' | translate }} <i class="fa fa-img-down"></i>\n                                                                       </span>\n                                                                       <span class="sale-num">\n                                                                       {{ (chatRooms | filter:{ status:\'close\' }).length }} </span>\n                                                                </li>\n                                                 </ul>\n                                         </div>\n                                        </div>\n                                </div>\n                                <div class="col-md-6">\n                                        <canvas class="chart chart-pie" data="[(chatRooms | filter:{ status:\'open\' }).length, (chatRooms | filter:{ status:\'close\' }).length]" labels="[$translate.instant(\'APPLICATION_OPENED\'), $translate.instant(\'APPLICATION_CLOSED\')]" legend="true"></canvas>\n                          </div>\n                        </div>\n                </div>\n        </div>\n        <!-- END Portlet PORTLET-->\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n          <div class="portlet-title">\n                   <div class="caption font-green-sharp">\n                                <i class="icon-users font-green-sharp"></i>\n                           <span class="caption-subject">{{ \'APPLICATION_VISITORS\' | translate }}</a> </span>\n                  </div>\n                </div>\n                <div class="portlet-body">\n                    <div class="row">\n                             <div class="col-md-6">\n                                        <div class="portlet sale-summary">\n                                            <div class="portlet-body">\n                                                    <ul class="list-unstyled">\n                                                            <li>\n                                                                  <span class="sale-info">\n                                                                      {{ \'APPLICATION_PENDING\' | translate }} <i class="fa fa-img-up"></i>\n                                                                        </span>\n                                                                       <span class="sale-num">\n                                                                       {{ (chatVisitors | filter:{ status:\'pending\' }).length }} </span>\n                                                           </li>\n                                                         <li>\n                                                                  <span class="sale-info">\n                                                                      {{ \'APPLICATION_SERVED\' | translate }} <i class="fa fa-img-down"></i>\n                                                                       </span>\n                                                                       <span class="sale-num">\n                                                                       {{ (chatVisitors | filter:{ status:\'served\' }:true).length }} </span>\n                                                               </li>\n                                                         <li>\n                                                                  <span class="sale-info">\n                                                                      {{ \'APPLICATION_UNSERVED\' | translate }} </span>\n                                                                    <span class="sale-num">\n                                                                       {{ (chatVisitors | filter:{ status:\'unserved\' }).length }} </span>\n                                                          </li>\n                                                 </ul>\n                                         </div>\n                                        </div>\n                                </div>\n                                <div class="col-md-6">\n                                        <canvas class="chart chart-pie" data="[(chatVisitors | filter:{ status:\'pending\' }).length, (chatVisitors | filter:{ status:\'served\' }:true).length, (chatVisitors | filter:{ status:\'unserved\' }).length]" labels="[$translate.instant(\'APPLICATION_PENDING\'), $translate.instant(\'APPLICATION_SERVED\'), $translate.instant(\'APPLICATION_UNSERVED\')]" legend="true"></canvas>\n                            </div>\n                        </div>\n                </div>\n        </div>\n        <!-- END Portlet PORTLET-->\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n          <div class="portlet-title">\n                   <div class="caption font-green-sharp">\n                                <i class="icon-question font-green-sharp"></i>\n                                <span class="caption-subject">{{ \'APPLICATION_ENQUIRIES\' | translate }}</a> </span>\n                 </div>\n                </div>\n                <div class="portlet-body">\n                    <div class="row">\n                             <div class="col-md-6">\n                                        <div class="portlet sale-summary">\n                                            <div class="portlet-body">\n                                                    <ul class="list-unstyled">\n                                                            <li>\n                                                                  <span class="sale-info">\n                                                                      {{ \'APPLICATION_READ\' | translate }}<i class="fa fa-img-up"></i>\n                                                                    </span>\n                                                                       <span class="sale-num">\n                                                                       {{(chatEnquiries | filter:{ read:true }).length}} </span>\n                                                             </li>\n                                                         <li>\n                                                                  <span class="sale-info">\n                                                                      {{ \'APPLICATION_UNREAD\' | translate }}<i class="fa fa-img-down"></i>\n                                                                        </span>\n                                                                       <span class="sale-num">\n                                                                       {{(chatEnquiries | filter:{ read:false }).length}} </span>\n                                                            </li>\n                                                 </ul>\n                                         </div>\n                                        </div>\n                                </div>\n                                <div class="col-md-6">\n                                        <canvas class="chart chart-pie" data="[(chatEnquiries | filter:{ read:true }).length, (chatEnquiries | filter:{ read:false }).length]" labels="[$translate.instant(\'APPLICATION_READ\'), $translate.instant(\'APPLICATION_UNREAD\')]" legend="true" ng-show="true"></canvas>\n                         </div>\n                        </div>\n                </div>\n        </div>\n        <!-- END Portlet PORTLET-->\n</div>\n'),a.put("app/chat/statistic/statistic.visitor.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="col-md-12">\n        <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n          <div class="portlet-title">\n                   <div class="caption font-green-sharp">\n                                <i class="icon-users font-green-sharp"></i>\n                           <span class="caption-subject">{{ \'APPLICATION_VISITORS\' | translate }}</a> </span>\n                  </div>\n                        <div class="actions">\n                         <a class="btn btn-icon-only btn-default" href="#" ng-csv="displayedChatVisitors" filename="visitors.csv">\n                             <i class="icon-cloud-download"></i></a>\n                               <a class="btn btn-icon-only btn-default fullscreen" href="#"></a>\n                     </div>\n                </div>\n                <div class="portlet-body">\n                    <!-- START TABLE -->\n                  <table st-table="displayedChatVisitors" st-safe-src="chatVisitors" class="table table-bordered table-hover">\n                          <div class="table-responsive">\n                                        <thead>\n                                               <tr>\n                                                  <th colspan="9">\n                                                              <div class="row">\n                                                                     <div class="col-md-6">\n                                                                                <select class="form-control input-small select2me" data-ng-model="conf.chatVisitorsByPage">\n                                                                                   <option value="10">10</option>\n                                                                                        <option value="25">25</option>\n                                                                                        <option value="50">50</option>\n                                                                                        <option value="{{chatVisitors.length}}">{{ \'APPLICATION_ALL\' | translate }}</option>\n                                                                                </select>\n                                                                     </div>\n                                                                        <div class="col-md-6">\n                                                                                <div class="input-group input-medium pull-right">\n                                                                                     <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                 <span class="input-group-addon">\n                                                                                              <i class="fa fa-search"></i>\n                                                                                  </span>\n                                                                               </div>\n                                                                        </div>\n                                                                </div>\n                                                        </th>\n                                         </tr>\n                                         <tr>\n                                                  <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                        <th st-sort="email">{{ \'APPLICATION_EMAIL\' | translate }}</th>\n                                                      <th st-sort="remote_address">{{ \'APPLICATION_REMOTE_ADDRESS\' | translate }}</th>\n                                                    <th st-sort="referer">{{ \'APPLICATION_ORIGIN\' | translate }}</th>\n                                                   <th st-sort="device">{{ \'APPLICATION_DEVICE\' | translate }}</th>\n                                                    <th st-sort="browser">{{ \'APPLICATION_BROWSER\' | translate }}</th>\n                                                  <th st-sort="visitor_language">{{ \'APPLICATION_LANGUAGES\' | translate }}</th>\n                                                       <th st-sort="status">{{ \'APPLICATION_STATUS\' | translate }}</th>\n                                                    <th st-sort="createdAt">{{ \'APPLICATION_TIME\' | translate }}</th>\n                                           </tr>\n                                 </thead>\n                                      <tbody>\n                                               <tr data-ng-repeat="chatVisitor in displayedChatVisitors" data-ng-click="$location.path(\'/chat/statistics/visitor/\' + chatVisitor.id)">\n                                                     <td>{{chatVisitor.fullname}}</td>\n                                                     <td>{{chatVisitor.email}}</td>\n                                                        <td>{{chatVisitor.remote_address}}</td>\n                                                       <td>{{chatVisitor.referer}}</td>\n                                                      <td class="centered-td">{{chatVisitor.device ? chatVisitor.device : \'--\'}}</td>\n                                                     <td class="centered-td">\n                                                              <img data-ng-show="chatVisitor.browser.includes(\'Chrome\')" data-ng-src="assets/images/browsers/chrome/chrome_16x16.png" data-title="{{chatVisitor.browser}}" bs-tooltip>\n                                                            <img data-ng-show="chatVisitor.browser.includes(\'Safari\')" data-ng-src="assets/images/browsers/safari/safari_16x16.png">\n                                                            <img data-ng-show="chatVisitor.browser.includes(\'Firefox\')" data-ng-src="assets/images/browsers/firefox/firefox_16x16.png">\n                                                         <img data-ng-show="chatVisitor.browser.includes(\'Explorer\')" data-ng-src="assets/images/browsers/internet-explorer/internet-explorer_16x16.png">\n                                                    </td>\n                                                 <td class="centered-td">\n                                                              <img data-ng-show="chatVisitor.visitor_language.includes(\'IT\') || chatVisitor.visitor_language.includes(\'it\')" data-ng-src="assets/images/flags/it.png">\n                                                          <img data-ng-show="chatVisitor.visitor_language.includes(\'US\') || chatVisitor.visitor_language.includes(\'us\')" data-ng-src="assets/images/flags/us.png">\n                                                          <img data-ng-show="chatVisitor.visitor_language.includes(\'EN\') || chatVisitor.visitor_language.includes(\'en\')" data-ng-src="assets/images/flags/en_EN.png">\n                                                       </td>\n                                                 <td class="centered-td">\n                                                              <span class="label label-sm label-success" data-ng-class="{\'label-warning\': chatVisitor.status == \'pending\', \'label-danger\': chatVisitor.status == \'unserved\'}">\n                                                                      {{ $translate.instant(\'APPLICATION_\' + $filter(\'uppercase\')(chatVisitor.status)) }}\n                                                               </span>\n                                                       </td>\n                                                 <td style="text-align: center;">\n                                                              <time is="relative-time" datetime="{{chatVisitor.createdAt}}">\n                                                                        April 1, 2014\n                                                         </time>\n                                                       </td>\n                                         </tr>\n                                 </tbody>\n                                      <tfoot>\n                                               <tr>\n                                                  <td colspan="9" class="text-center">\n                                                          <div st-pagination class="pagination" st-items-by-page="conf.chatVisitorsByPage" st-displayed-pages="7"></div>\n                                                        </td>\n                                         </tr>\n                                 </tfoot>\n                      </div>\n                        </table>\n                      <!-- END TABLE -->\n            </div>\n        </div>\n        <!-- END Portlet PORTLET-->\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/statistic/statistic.visitor.view.html",'<!-- BEGIN PAGE CONTENT-->\n<div data-ng-init="initVisitorView()">\n  <div class="col-md-6">\n                <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-pin font-green-sharp"></i>\n                                     <span class="caption-subject">{{ \'APPLICATION_LOCATION\' | translate }}</a> </span>\n                          </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- BEGIN PAGE CONTENT-->\n                            <map center="{{chatVisitor.latitude}}, {{chatVisitor.longitude}}" zoom="8">\n                                   <marker position="{{chatVisitor.latitude}}, {{chatVisitor.longitude}}" title="{{chatVisitor.fullname}}"></marker>\n                             </map>\n                        </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n        <div class="col-md-6">\n                <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-user font-green-sharp"></i>\n                                    <span class="caption-subject">{{ \'APPLICATION_VISITOR\' | translate }}:</a> </span>\n                                  <span class="caption-helper">{{chatVisitor.fullname}}</span>\n                          </div>\n                                <div class="actions">\n                                 <a class="btn btn-icon-only btn-default fullscreen" href="#"></a>\n                             </div>\n                        </div>\n                        <div class="portlet-body">\n                            <div class="row static-info" data-ng-show="chatVisitor.longitude && chatVisitor.latitude">\n                            </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.fullname">\n                                     <div class="col-md-4 name">\n                                           {{\'APPLICATION_FULLNAME\' | translate}}\n                                      </div>\n                                        <div class="col-md-8 value">\n                                          {{chatVisitor.fullname}}\n                                      </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.email">\n                                        <div class="col-md-4 name">\n                                           {{\'APPLICATION_EMAIL\' | translate}}\n                                 </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.email}}\n                                 </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.remote_address">\n                                       <div class="col-md-4 name">\n                                           {{\'APPLICATION_REMOTE_ADDRESS\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.remote_address}}\n                                        </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.referer">\n                                      <div class="col-md-4 name">\n                                           {{\'APPLICATION_REFERER\' | translate}}\n                                       </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.referer}}\n                                       </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.browser">\n                                      <div class="col-md-4 name">\n                                           {{\'APPLICATION_BROWSER\' | translate}}\n                                       </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.browser}}\n                                       </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.engine">\n                                       <div class="col-md-4 name">\n                                           {{\'APPLICATION_ENGINE\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.engine}}\n                                        </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.os">\n                                   <div class="col-md-4 name">\n                                           {{\'APPLICATION_OS\' | translate}}\n                                    </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.os}}\n                                    </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.device">\n                                       <div class="col-md-4 name">\n                                           {{\'APPLICATION_DEVICE\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.device}}\n                                        </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.country">\n                                      <div class="col-md-4 name">\n                                           {{\'APPLICATION_COUNTRY\' | translate}}\n                                       </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.country}}\n                                       </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.region">\n                                       <div class="col-md-4 name">\n                                           {{\'APPLICATION_REGION\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.region}}\n                                        </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.city">\n                                 <div class="col-md-4 name">\n                                           {{\'APPLICATION_CITY\' | translate}}\n                                  </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.city}}\n                                  </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.latitude">\n                                     <div class="col-md-4 name">\n                                           {{\'APPLICATION_LATITUDE\' | translate}}\n                                      </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.latitude}}\n                                      </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.longitude">\n                                    <div class="col-md-4 name">\n                                           {{\'APPLICATION_LONGITUDE\' | translate}}\n                                     </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.longitude}}\n                                     </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.createdAt">\n                                    <div class="col-md-4 name">\n                                           {{\'APPLICATION_ARRIVAL_TIME\' | translate}}\n                                  </div>\n                                        <div class="col-md-4 value">\n                                          <time is="relative-time" datetime="{{chatVisitor.createdAt}}">\n                                                        April 1, 2014\n                                         </time>\n                                       </div>\n                                </div>\n                        </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/timeline/list/list.html",'<div class="row">\n      <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-envelope"></i>\n                                         <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n                                                <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-list"></i>\n                                             <a href="/mail/timeline/list"> Timeline</a>\n                                   </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initList()">\n     <div class="col-md-12">\n    <h3 class="page-title">\n                          Timeline\n                      </h3>\n                 <!-- END PAGE HEADER-->\n                       <!-- BEGIN PAGE CONTENT-->\n                    <div class="timeline">\n                                <!-- TIMELINE ITEM -->\n                                <div class="timeline-item" data-ng-repeat="event in events | orderBy:\'-id\'"  ng-animate=" \'animate\' ">\n                                    <div class="timeline-badge">\n                                          <div class="timeline-icon">\n                                                   <i class="icon-envelope font-green-haze"></i>\n                                         </div>\n                                        </div>\n                                        <div class="timeline-body">\n                                           <div class="timeline-body-arrow"></div>\n                                               <div class="timeline-body-head">\n                                                      <div class="timeline-body-head-caption">\n                                                              <span class="timeline-body-alerttitle" data-ng-class="{\'font-red\': event.name == \'INCOMING\', \'font-blue\': event.name == \'ATTEMPT\', \'font-green\': event.name == \'TAKEN\'}">{{event.name | uppercase}}</span>\n                                                                <span class="timeline-body-time font-grey-cascade">at {{event.createdAt | date:\'yyyy-MM-dd HH:mm:ss\'}}</span>\n                                                       </div>\n                                                        <div class="timeline-body-head-actions">\n                                                              <div class="btn-group">\n                                                                       <a class="btn btn-circle btn-sm dropdown-toggle btn-success" href="/mail/inbox/room/{{event.MailRoomId}}">Go To Mail</a>\n                                                              </div>\n                                                        </div>\n                                                </div>\n                                                <div class="timeline-body-content">\n                                                   <span class="font-grey-cascade" data-ng-show="event.User">\n                                                    {{event.MailRoom.subject ? event.MailRoom.subject + \' - \' : \'\'}}<a href="/agents/view/{{event.UserId}}/account">{{event.User.fullname}}</a>\n                                                       </span>\n                                               </div>\n                                        </div>\n                                </div>\n                                <!-- END TIMELINE ITEM -->\n                    </div>\n                        <!-- END PAGE CONTENT-->\n      </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/website/list/list.html",'<div class="row">\n       <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-bubble"></i>\n                                           <a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n                                                <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-globe"></i>\n                                            <a href="/chat/websites/list">{{ \'APPLICATION_WEB_SITES\' | translate }}</a>\n                                 </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n       <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_WEB_SITES\' | translate }}</a> </span>\n                         </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="chatWebsites.checked.length">\n                                            <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle " href="#" data-toggle="dropdown">\n                                                 <i class="icon-plus"></i> {{ \'APPLICATION_NEW_WEB_SITE\' | translate }} <i class="fa fa-angle-down"></i>\n                                             </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <!-- <li>\n                                                             <a href="#" data-ng-click="open()">\n                                                           <i class="icon-user"></i> {{ \'APPLICATION_QUICK\' | translate }} </a>\n                                                        </li> -->\n                                                     <li>\n                                                          <a href="/chat/websites/wizard">\n                                                              <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                                 <!-- <li>\n                                                             <a href="#">\n                                                          <i class="icon-users"></i> {{ \'APPLICATION_BULK\' | translate }} </a>\n                                                        </li> -->\n                                             </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getChatWebsites([\'name\', \'address\', \'description\', \'remote\'])" csv-header="[\'Name\', \'Address\', \'Description\', \'Remote\']" field-separator=";" filename="chat_websites.csv">\n                                  <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedChatWebsites" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                    <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="5">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.chatWebsitesByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                          <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="chatWebsiteByPage in chatWebsitesByPage | filter: $select.search">\n                                                                                                 <div ng-bind-html="chatWebsiteByPage.name | highlight: $select.search"></div>\n                                                                                         </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(agent, checked)" checklist-model checklist-value="id"></th>\n                                                    <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                            <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                              <th st-sort="address">{{ \'APPLICATION_WEB_ADDRESS\' | translate }}</th>\n                                                          <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="chatWebsite in displayedChatWebsites" class="animate-repeat">\n                                                         <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="chatWebsites.checked" checklist-value="chatWebsite.id"></td>\n                                         <td>{{chatWebsite.name}}</td>\n                                                           <td>{{chatWebsite.description}}</td>\n                                        <td><a ng-href="{{chatWebsite.address}}">{{chatWebsite.address}}</a></td>\n                                             <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/chat/websites/view/{{chatWebsite.id}}/snippet/view">\n                                                                         {{ \'APPLICATION_PROFILE\' | translate }}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(chatWebsite.name,chatWebsite.id)">\n                                                                         {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedChatWebsites.length">\n                                                              <td colspan="5" style="text-align:center;">\n                                                                   <i>{{\'MESSAGE_NO_AVAILABLE_WEBSITES\' | translate}}</i>\n                                                              </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="address" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_WEB_ADDRESS\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                      </div>\n                                                    </td>\n                                                 <td/>\n                                               </tr>\n                                           <tr>\n                                            <td colspan="5" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.chatWebsitesByPage.value" st-displayed-pages="7"></div>\n                                        </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
-a.put("app/chat/website/view/action/list/list.html",'<div class="row" data-ng-init="initActons()">\n   <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title  tabbable-line">\n                            <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_ACTIONS\' | translate}}</span>\n                         </div>\n                                <div class="actions">\n                                 <div class="btn-group">\n                                               <a class="btn green-jungle " href="/chat/websites/view/{{chatWebsite.id}}/actions/wizard" data-toggle="dropdown">\n                                                     <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACTION\' | translate }}\n                                                </a>\n                                  </div>\n                                </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table class="table table-striped table-bordered table-hover">\n                                          <thead>\n                                               <tr>\n                                                    <th class="input-small" align="center">{{\'APPLICATION_APPLICATION\' | translate}}</th>\n                                                           <th class="input-small" align="center">{{\'APPLICATION_TIMEOUT\' | translate}} [s]</th>\n                                                   <th align="center">{{ \'APPLICATION_INTERVAL\' | translate }}</th>\n                                                                <th class="input-small">{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                                  </tr>\n                                         </thead>\n                                      <tbody ui-sortable="sortableOptions" data-ng-model="chatApplications">\n                                          <tr data-ng-repeat="application in chatApplications">\n                                                             <td align="center">\n                                                                   {{application.User ? \'agent\' : \'queue\' | uppercase}} [{{application.User ? application.User.fullname : application.ChatQueue.name}}]\n                                                              </td>\n                                                         <td align="center">{{application.timeout}}</td>\n                                                               <td align="center">{{application.Interval ? application.Interval.name : application.interval}}</td>\n                                                           <td>\n                                                                  <a class="btn default btn-xs blue-stripe" data-ng-href="/chat/websites/view/{{chatWebsite.id}}/actions/view/{{application.id}}">\n                                                                              {{ \'APPLICATION_SETTINGS\' | translate}}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(application.app, application.id)">\n                                                                         {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="chatApplications.length">\n                                                           <td colspan="5" style="text-align:center;">\n                                                                   <i>No applications available</i>\n                                                              </td>\n                                                 </tr>\n                                   </tbody>\n                            </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/chat/website/view/action/view/view.html",'\n<div class="row" data-ng-init="initAction()">\n       <div class="col-md-12">\n               <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-directions font-green-sharp"></i>\n                                      <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }}</a> </span>\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <form name="forms.settings" ng-submit="updateItem()" novalidate>\n                                      <!-- START APP -->\n                                    <div class="form-group"  data-ng-class="{\'has-error\': (forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid}">\n                                          <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n                                                <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n                                                     <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n                                                      <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n                                                                <div ng-bind-html="app.name | highlight: $select.search"></div>\n                                                       </ui-select-choices>\n                                          </ui-select>\n                                          <span data-ng-show="(forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid && forms.settings.app.$error.required" class="help-block help-block-error">\n                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                         </span>\n                                       </div>\n                                        <!-- END APP -->\n\n                                    <!-- START HOST -->\n                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n                                           <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                             <input type="number" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="application.timeout" min="0" required/>\n                                         <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                         </span>\n                                       </div>\n                                        <!-- END HOST -->\n\n                                   <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n                                          <!-- START QUEUE -->\n                                          <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$invalid}">\n                                                       <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                        <ui-select class="input-medium" data-ng-model="application.ChatQueueId" name="queue" theme="bootstrap" required>\n                                                              <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                              <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n                                                                     <div ng-bind-html="queue.name | highlight: $select.search"></div>\n                                                             </ui-select-choices>\n                                                  </ui-select>\n                                                  <span data-ng-show="(forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$error.required" class="help-block help-block-error">\n                                                                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END QUEUE -->\n                                    </div>\n\n                                      <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n                                          <!-- START AGENT -->\n                                          <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$invalid}">\n                                                       <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                        <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n                                                                <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n                                                          <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n                                                                     <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n                                                         </ui-select-choices>\n                                                  </ui-select>\n                                                  <span data-ng-show="(forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$error.required" class="help-block help-block-error">\n                                                                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END AGENT -->\n                                    </div>\n\n                                      <!-- START INTERVAL_TYPE -->\n                                  <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$invalid}">\n                                           <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n                                              <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n                                                     <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n                                                        <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n                                                               {{ intType.name | translate }}\n                                                        </ui-select-choices>\n                                          </ui-select>\n                                          <span data-ng-show="(forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$error.required" class="help-block help-block-error">\n                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                         </span>\n                                       </div>\n                                        <!-- END INTERVAL_TYPE -->\n\n                                  <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n                                                <!-- START TIME -->\n                                           <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_TIME\' | translate }}</label>\n                                                   <div class="input-group input-large">\n                                                         <fieldset class="pull-left" ng-disabled="application.alwaysTime">\n                                                                     <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n                                                             </fieldset>\n                                                           <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n                                                                <fieldset ng-disabled="application.alwaysTime"><uib-timepicker  name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n                                                              <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n                                                     </div>\n                                                </div>\n                                                <!-- END TIME -->\n\n                                           <!-- START ALWAYS -->\n                                         <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n                                                 <div class="input-group input-large">\n                                                         <label class="control-label pointer-cursor">\n                                                                  <input\n                                                                                bs-switch\n                                                                             data-ng-model="application.alwaysTime"\n                                                                                type="checkbox"\n                                                                               switch-active="{{ isActive }}"\n                                                                                switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n                                                                                switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n                                                                                switch-on-color="{{ onColor }}"\n                                                                               switch-off-color="{{ offColor }}"\n                                                                             switch-animate="{{ animate }}"\n                                                                                switch-size="{{ size }}"\n                                                                              switch-label="{{ label }}"\n                                                                            switch-icon="{{ icon }}"\n                                                                              switch-radio-off="{{ radioOff }}"\n                                                                             switch-label-width="{{ labelWidth }}"\n                                                                         switch-handle-width="{{ handleWidth }}">\n                                                                      <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n                                                               </label>\n                                                      </div>\n                                                </div>\n                                                <!-- END ALWAYS -->\n\n                                         <!-- START WEEKDAY -->\n                                                <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_WEEKDAY\' | translate }}</label>\n                                                        <div class="input-group input-large">\n                                                         <ui-select data-ng-model="application.wd_from" theme="bootstrap" name="wd_from">\n                                                                      <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                     <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                                                                                {{ weekDay.name | translate}}\n                                                                 </ui-select-choices>\n                                                          </ui-select>\n                                                          <span class="input-group-addon">to</span>\n                                                             <ui-select data-ng-model="application.wd_to" theme="bootstrap" name="wd_to">\n                                                                  <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                     <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                                                                                {{ weekDay.name | translate }}\n                                                                        </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                </div>\n                                                <!-- END WEEKDAY -->\n\n                                                <!-- START MONTHDAY -->\n                                               <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_MONTHDAY\' | translate }}</label>\n                                                       <div class="input-group input-large">\n                                                         <ui-select data-ng-model="application.md_from" theme="bootstrap" name="md_from">\n                                                                      <ui-select-match>{{$select.selected}}</ui-select-match>\n                                                                       <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                                                                               {{monthDay}}\n                                                                  </ui-select-choices>\n                                                          </ui-select>\n                                                          <span class="input-group-addon">to</span>\n                                                             <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n                                                                  <ui-select-match>{{$select.selected}}</ui-select-match>\n                                                                       <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                                                                               {{monthDay}}\n                                                                  </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                </div>\n                                                <!-- END MONTHDAY -->\n\n                                               <!-- START MONTH -->\n                                          <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_MONTH\' | translate }}</label>\n                                                  <div class="input-group input-large">\n                                                         <ui-select data-ng-model="application.m_from" theme="bootstrap" name="m_from">\n                                                                        <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                     <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                                                                                {{ month.name | translate }}\n                                                                  </ui-select-choices>\n                                                          </ui-select>\n                                                          <span class="input-group-addon">to</span>\n                                                             <ui-select data-ng-model="application.m_to" theme="bootstrap" name="m_to">\n                                                                    <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                     <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                                                                                {{ month.name | translate }}\n                                                                  </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                </div>\n                                                <!-- END MONTH -->\n                                    </div>\n\n                                      <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n                                          <!-- START INTERVALS -->\n                                              <div class="form-group inpu" data-ng-class="{\'has-error\': (forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$invalid}">\n                                                        <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                    <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n                                                               <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n                                                             <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n                                                                    {{ interval.name}}\n                                                            </ui-select-choices>\n                                                  </ui-select>\n                                                  <span data-ng-show="(forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$error.required" class="help-block help-block-error">\n                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END INTERVALS -->\n\n                                      </div>\n                                        <button class="btn green-haze" type="submit">{{\'APPLICATION_UPDATE\' | translate}}</button>\n                          </form>\n                       </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/website/view/action/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n               <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-directions font-green-sharp"></i>\n                                      <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }} WIZARD</a> </span>\n                             </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n                                     <wz-step title="{{\'APPLICATION_APPLICATION\' | translate}}" canexit="formValidation(forms.action.$valid)">\n                                           <form name="forms.action" novalidate>\n                                                 <!-- START APP -->\n                                                    <div class="form-group"  data-ng-class="{\'has-error\': forms.action.$submitted && forms.action.app.$invalid}">\n                                                               <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n                                                                <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n                                                                     <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n                                                                      <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n                                                                                <div ng-bind-html="app.name | highlight: $select.search"></div>\n                                                                       </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.action.$submitted && forms.action.app.$invalid" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END APP -->\n\n                                                    <!-- START HOST -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                             <input type="number" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="application.timeout" min="0" required/>\n                                                         <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END HOST -->\n\n                                                   <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n                                                          <!-- START QUEUE -->\n                                                          <div class="form-group" data-ng-class="{\'has-error\': (forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$invalid}">\n                                                                     <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                        <ui-select data-ng-model="application.ChatQueueId" name="queue" theme="bootstrap" required>\n                                                                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                              <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n                                                                                     <div ng-bind-html="queue.name | highlight: $select.search"></div>\n                                                                             </ui-select-choices>\n                                                                  </ui-select>\n                                                                  <span data-ng-show="(forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$error.required" class="help-block help-block-error">\n                                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END QUEUE -->\n                                                    </div>\n\n                                                      <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n                                                          <!-- START AGENT -->\n                                                          <div class="form-group" data-ng-class="{\'has-error\': (forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$invalid}">\n                                                                     <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                        <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n                                                                                <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n                                                                          <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n                                                                                     <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n                                                                         </ui-select-choices>\n                                                                  </ui-select>\n                                                                  <span data-ng-show="(forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$error.required" class="help-block help-block-error">\n                                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END AGENT -->\n                                                    </div>\n\n                                                      <!-- START INTERVAL_TYPE -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': (forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$invalid}">\n                                                         <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n                                                              <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n                                                                     <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                        <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n                                                                               {{ intType.name | translate }}\n                                                                        </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="(forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$error.required" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END INTERVAL_TYPE -->\n\n                                                  <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n                                                                <!-- START TIME -->\n                                                           <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_TIME\' | translate }}</label>\n                                                                   <div class="input-group input-large">\n                                                                         <fieldset class="pull-left" ng-disabled="application.alwaysTime">\n                                                                                     <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n                                                                             </fieldset>\n                                                                           <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n                                                                                <fieldset ng-disabled="application.alwaysTime"><uib-timepicker  name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n                                                                              <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n                                                                     </div>\n                                                                </div>\n                                                                <!-- END TIME -->\n\n                                                           <!-- START ALWAYS -->\n                                                         <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n                                                                 <div class="input-group input-large">\n                                                                         <label class="control-label pointer-cursor">\n                                                                                  <input\n                                                                                                bs-switch\n                                                                                             data-ng-model="application.alwaysTime"\n                                                                                                type="checkbox"\n                                                                                               switch-active="{{ isActive }}"\n                                                                                                switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n                                                                                                switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n                                                                                                switch-on-color="{{ onColor }}"\n                                                                                               switch-off-color="{{ offColor }}"\n                                                                                             switch-animate="{{ animate }}"\n                                                                                                switch-size="{{ size }}"\n                                                                                              switch-label="{{ label }}"\n                                                                                            switch-icon="{{ icon }}"\n                                                                                              switch-radio-off="{{ radioOff }}"\n                                                                                             switch-label-width="{{ labelWidth }}"\n                                                                                         switch-handle-width="{{ handleWidth }}">\n                                                                                      <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n                                                                               </label>\n                                                                      </div>\n                                                                </div>\n                                                                <!-- END ALWAYS -->\n\n                                                         <!-- START WEEKDAY -->\n                                                                <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_WEEKDAY\' | translate }}</label>\n                                                                        <div class="input-group input-large">\n                                                                         <ui-select data-ng-model="application.wd_from" theme="bootstrap" name="wd_from">\n                                                                                      <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                                     <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                                                                                                {{ weekDay.name | translate}}\n                                                                                 </ui-select-choices>\n                                                                          </ui-select>\n                                                                          <span class="input-group-addon">to</span>\n                                                                             <ui-select data-ng-model="application.wd_to" theme="bootstrap" name="wd_to">\n                                                                                  <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                                     <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                                                                                                {{ weekDay.name | translate }}\n                                                                                        </ui-select-choices>\n                                                                          </ui-select>\n                                                                  </div>\n                                                                </div>\n                                                                <!-- END WEEKDAY -->\n\n                                                                <!-- START MONTHDAY -->\n                                                               <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_MONTHDAY\' | translate }}</label>\n                                                                       <div class="input-group input-large">\n                                                                         <ui-select data-ng-model="application.md_from" theme="bootstrap" name="md_from">\n                                                                                      <ui-select-match>{{$select.selected}}</ui-select-match>\n                                                                                       <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                                                                                               {{monthDay}}\n                                                                                  </ui-select-choices>\n                                                                          </ui-select>\n                                                                          <span class="input-group-addon">to</span>\n                                                                             <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n                                                                                  <ui-select-match>{{$select.selected}}</ui-select-match>\n                                                                                       <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                                                                                               {{monthDay}}\n                                                                                  </ui-select-choices>\n                                                                          </ui-select>\n                                                                  </div>\n                                                                </div>\n                                                                <!-- END MONTHDAY -->\n\n                                                               <!-- START MONTH -->\n                                                          <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_MONTH\' | translate }}</label>\n                                                                  <div class="input-group input-large">\n                                                                         <ui-select data-ng-model="application.m_from" theme="bootstrap" name="m_from">\n                                                                                        <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                                     <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                                                                                                {{ month.name | translate }}\n                                                                                  </ui-select-choices>\n                                                                          </ui-select>\n                                                                          <span class="input-group-addon">to</span>\n                                                                             <ui-select data-ng-model="application.m_to" theme="bootstrap" name="m_to">\n                                                                                    <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                                     <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                                                                                                {{ month.name | translate }}\n                                                                                  </ui-select-choices>\n                                                                          </ui-select>\n                                                                  </div>\n                                                                </div>\n                                                                <!-- END MONTH -->\n                                                    </div>\n\n                                                      <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n                                                          <!-- START INTERVALS -->\n                                                              <div class="form-group" data-ng-class="{\'has-error\': (forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$invalid}">\n                                                                   <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                    <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n                                                                               <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n                                                                             <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n                                                                                    {{ interval.name}}\n                                                                            </ui-select-choices>\n                                                                  </ui-select>\n                                                                  <span data-ng-show="(forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$error.required" class="help-block help-block-error">\n                                                                            <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END INTERVALS -->\n\n                                                      </div>\n\n                                                      <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONTINUE\' | translate}}"/>\n                                         </form>\n                                       </wz-step>\n                                    <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                             <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                            <!-- <button class="btn green-haze" type="button" wz-previous><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button> -->\n                                              <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                  </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/website/view/snippet/view/view.html",'<div class="row" data-ng-init="initView()">\n        <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_SNIPPET\' | translate}}</span>\n                         </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_EMBEDDING\' | translate}}</a>\n                                    </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_APPEARANCE\' | translate}}</a>\n                                   </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FORMS\' | translate}}</a>\n                                        </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_4" data-toggle="tab">{{\'APPLICATION_LABELS\' | translate}}</a>\n                                       </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_5" data-toggle="tab">{{\'APPLICATION_SETTINGS\' | translate}}</a>\n                                     </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_6" data-toggle="tab">{{\'APPLICATION_OFFLINE\' | translate}}</a>\n                                      </li>\n                         </ul>\n                 </div>\n                        <div class="portlet-body">\n                            <div class="row">\n                                             <div class="col-md-8">\n                                                        <div class="tab-content">\n                                                             <!-- EMBEDDING TAB -->\n                                                                <div class="tab-pane active" id="tab_1_1">\n                                                                    <h3>{{\'APPLICATION_EMBED_SNIPPET\' | translate}}</h3>\n                                                                        <p>\n                                                                           {{\'MESSAGE_EMBED_SNIPPET\' | translate}}\n                                                                     </p>\n                                                                  <div class="form-body">\n                                                                               <div class="form-group">\n                                                                                      <div class="col-md-12">\n                                                                                               <textarea name="snippet" rows="13" style="resize:none;cursor:text;" class="form-control" readonly data-ng-model="snippetCode"></textarea>\n                                                                                     </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </div>\n                                                                <!-- END EMBEDDING TAB -->\n\n                                                          <!-- APPEARANCE TAB -->\n                                                               <div class="tab-pane" id="tab_1_2">\n                                                                   <form name="forms.formAppearance" data-ng-submit="forms.formAppearance.$valid && updateItem()" novalidate>\n\n                                                                          <!-- START MAIN COLOR -->\n                                                                             <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.mainColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.host.$invalid}">\n                                                                                  <label class="control-label">{{\'APPLICATION_MAIN_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                                  <input colorpicker type="text" name="mainColor" placeholder="{{\'APPLICATION_MAIN_COLOR\' | translate}}" style="color:{{chatWebsite.color}}" class="form-control" data-ng-model="chatWebsite.color" required/>\n                                                                                        <span data-ng-show="(forms.formAppearance.mainColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.mainColor.$invalid && forms.formAppearance.mainColor.$error.required" class="help-block help-block-error">\n                                                                                           <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                 </span>\n                                                                               </div>\n                                                                                <!-- END MAIN COLOR -->\n\n                                                                             <!-- START FOCUS COLOR -->\n                                                                            <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.focusColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.focusColor.$invalid}">\n                                                                                   <label class="control-label">{{\'APPLICATION_FOCUS_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                                 <input colorpicker type="text" name="focusColor" placeholder="{{\'APPLICATION_FOCUS_COLOR\' | translate}}" style="color:{{chatWebsite.color_focus}}" class="form-control" data-ng-model="chatWebsite.color_focus" required/>\n                                                                                  <span data-ng-show="(forms.formAppearance.focusColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.focusColor.$invalid && forms.formAppearance.focusColor.$error.required" class="help-block help-block-error">\n                                                                                                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                 </span>\n                                                                               </div>\n                                                                                <!-- END FOCUS COLOR -->\n\n                                                                            <!-- START BUTTON COLOR -->\n                                                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.buttonColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.buttonColor.$invalid}">\n                                                                                 <label class="control-label">{{\'APPLICATION_BUTTON_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                                        <input colorpicker type="text" name="buttonColor" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" style="color:{{chatWebsite.color_button}}" class="form-control" data-ng-model="chatWebsite.color_button" required/>\n                                                                                      <span data-ng-show="(forms.formAppearance.buttonColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.buttonColor.$invalid && forms.formAppearance.buttonColor.$error.required" class="help-block help-block-error">\n                                                                                             <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                 </span>\n                                                                               </div>\n                                                                                <!-- END BUTTON COLOR -->\n\n                                                                           <!-- START HEADER SHAPE -->\n                                                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.headerShape.$touched || forms.formAppearance.$submitted) && forms.formAppearance.headerShape.$invalid}">\n                                                                                 <label class="control-label">{{\'APPLICATION_ANIMATION\' | translate}}</label>\n                                                                                        <!-- <input colorpicker type="text" name="animationToggle" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" class="form-control" data-ng-model="chatWebsite.animation" required/> -->\n                                                                                       <ui-select data-ng-model="chatWebsite.header_shape" name="headerShape" theme="bootstrap">\n                                                                                             <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$translate.instant(\'APPLICATION_\' + $select.selected.toUpperCase())}}</ui-select-match>\n                                                                                              <ui-select-choices repeat="headerShape in [\'rounded\',\'squared\'] | filter: $select.search">\n                                                                                                        <div ng-bind-html="$translate.instant(\'APPLICATION_\' + headerShape.toUpperCase()) | highlight: $select.search"></div>\n                                                                                               </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <!-- END HEADER SHAPE -->\n\n                                                                           <!-- START ANIMATION TOGGLE -->\n                                                                               <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.animationToggle.$touched || forms.formAppearance.$submitted) && forms.formAppearance.animationToggle.$invalid}">\n                                                                                 <label class="control-label">{{\'APPLICATION_ANIMATION\' | translate}}</label>\n                                                                                        <!-- <input colorpicker type="text" name="animationToggle" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" class="form-control" data-ng-model="chatWebsite.animation" required/> -->\n                                                                                       <ui-select data-ng-model="chatWebsite.animation" name="animationToggle" theme="bootstrap">\n                                                                                            <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected ? \'On\' : \'Off\'}}</ui-select-match>\n                                                                                                <ui-select-choices repeat="animationToggle in [true, false] | filter: $select.search">\n                                                                                                        <div ng-bind-html="animationToggle ? \'On\' : \'Off\' | highlight: $select.search"></div>\n                                                                                             </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <!-- END ANIMATION TOGGLE -->\n\n\n                                                                             <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                                                  </form>\n                                                               </div>\n                                                                <!-- END APPEARANCE TAB -->\n\n                                                         <!-- FORMS TAB -->\n                                                            <div class="tab-pane" id="tab_1_3">\n                                                                   <form name="forms.formFunctionality" data-ng-submit="forms.formFunctionality.$valid && updateItem()" novalidate>\n\n                                                                            <!-- START DOWNLOAD TRANSCRIPT -->\n                                                                            <div class="form-group" data-ng-class="{\'has-error\': (forms.formFunctionality.animationToggle.$touched || forms.formFunctionality.$submitted) && forms.formFunctionality.animationToggle.$invalid}">\n                                                                                        <label class="control-label">{{\'APPLICATION_DOWNLOAD_TRANSCRIPT\' | translate}}</label>\n                                                                                      <ui-select data-ng-model="chatWebsite.download_transcript" name="downloadTranscript" theme="bootstrap">\n                                                                                               <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected ? \'On\' : \'Off\'}}</ui-select-match>\n                                                                                                <ui-select-choices repeat="downloadTranscript in [true, false] | filter: $select.search">\n                                                                                                     <div ng-bind-html="downloadTranscript ? \'On\' : \'Off\' | highlight: $select.search"></div>\n                                                                                          </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <!-- END DOWNLOAD TRANSCRIPT -->\n\n                                                                            <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                                                  </form>\n                                                               </div>\n                                                                <!-- END FORMS TAB -->\n\n                                                              <!-- STRINGS TAB -->\n                                                          <div class="tab-pane" id="tab_1_4">\n                                                                   <form name="forms.formLabel" data-ng-submit="forms.formLabel.$valid && updateItem()" novalidate>\n\n                                                                            <h4 class="block" data-ng-show="statePreview.state == \'online\'">{{\'APPLICATION_ONLINE_STATE\' | translate}}</h4>\n\n                                                                         <!-- START HEADER ONLINE -->\n                                                                          <div class="form-group" data-ng-show="statePreview.state == \'online\'" data-ng-class="{\'has-error\': (forms.formLabel.headerOnline.$touched || forms.formLabel.$submitted) && forms.formLabel.headerOnline.$invalid}">\n                                                                                      <label class="control-label">{{\'APPLICATION_HEADER_ONLINE\' | translate}}</label>\n                                                                                    <input type="text" name="headerOnline" placeholder="{{\'APPLICATION_HEADER_ONLINE\' | translate}}" class="form-control" data-ng-model="chatWebsite.header_online"/>\n                                                                           </div>\n                                                                                <!-- END HEADER ONLINE -->\n\n                                                                          <!-- START ONLINE MESSAGE-->\n                                                                          <div class="form-group" data-ng-show="statePreview.state == \'online\'" data-ng-class="{\'has-error\': (forms.formLabel.onlineMessage.$touched || forms.formLabel.$submitted) && forms.formLabel.onlineMessage.$invalid}">\n                                                                                    <label class="control-label">{{\'APPLICATION_ONLINE_MESSAGE\' | translate}}</label>\n                                                                                   <input type="text" name="onlineMessage" placeholder="{{\'APPLICATION_ONLINE_MESSAGE\' | translate}}" class="form-control" data-ng-model="chatWebsite.online_message"/>\n                                                                                </div>\n                                                                                <!-- END HEADER ONLINE -->\n\n                                                                          <!-- START USERNAME PLACEHOLDER -->\n                                                                           <div class="form-group" data-ng-show="statePreview.state == \'online\' || statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.usernamePlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.usernamePlaceholder.$invalid}">\n                                                                                   <label class="control-label">{{\'APPLICATION_USERNAME_PLACEHOLDER\' | translate}}</label>\n                                                                                     <input type="text" name="usernamePlaceholder" placeholder="{{\'APPLICATION_USERNAME_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="chatWebsite.username_placeholder"/>\n                                                                              </div>\n                                                                                <!-- END USERNAME PLACEHOLDER -->\n\n                                                                           <!-- START EMAIL PLACEHOLDER -->\n                                                                              <div class="form-group" data-ng-show="statePreview.state == \'online\' || statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.emailPlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.emailPlaceholder.$invalid}">\n                                                                                 <label class="control-label">{{\'APPLICATION_EMAIL_PLACEHOLDER\' | translate}}</label>\n                                                                                        <input type="text" name="emailPlaceholder" placeholder="{{\'APPLICATION_EMAIL_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="chatWebsite.email_placeholder"/>\n                                                                               </div>\n                                                                                <!-- END EMAIL PLACEHOLDER -->\n\n                                                                              <!-- START START CHAT BUTTON -->\n                                                                              <div class="form-group" data-ng-show="statePreview.state == \'online\'" data-ng-class="{\'has-error\': (forms.formLabel.startChatButton.$touched || forms.formLabel.$submitted) && forms.formLabel.startChatButton.$invalid}">\n                                                                                        <label class="control-label">{{\'APPLICATION_START_CHAT_BUTTON\' | translate}}</label>\n                                                                                        <input type="text" name="startChatButton" placeholder="{{\'APPLICATION_START_CHAT_BUTTON\' | translate}}" class="form-control" data-ng-model="chatWebsite.start_chat_button"/>\n                                                                                </div>\n                                                                                <!-- END START CHAT BUTTON -->\n\n                                                                              <h4 class="block" data-ng-show="statePreview.state == \'offline\'">{{\'APPLICATION_OFFLINE_STATE\' | translate}}</h4>\n\n                                                                               <!-- START HEADER OFFLINE -->\n                                                                         <div class="form-group" data-ng-show="statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.headerOffline.$touched || forms.formLabel.$submitted) && forms.formLabel.headerOnline.$invalid}">\n                                                                                    <label class="control-label">{{\'APPLICATION_HEADER_OFFLINE\' | translate}}</label>\n                                                                                   <input type="text" name="headerOffline" placeholder="{{\'APPLICATION_HEADER_OFFLINE\' | translate}}" class="form-control" data-ng-model="chatWebsite.header_offline"/>\n                                                                                </div>\n                                                                                <!-- END HEADER OFFLINE -->\n\n                                                                         <!-- START OFFLINE MESSAGE-->\n                                                                         <div class="form-group" data-ng-show="statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.offlineMessage.$touched || forms.formLabel.$submitted) && forms.formLabel.onlineMessage.$invalid}">\n                                                                                  <label class="control-label">{{\'APPLICATION_OFFLINE_MESSAGE\' | translate}}</label>\n                                                                                  <input type="text" name="offlineMessage" placeholder="{{\'APPLICATION_OFFLINE_MESSAGE\' | translate}}" class="form-control" data-ng-model="chatWebsite.offline_message"/>\n                                                                             </div>\n                                                                                <!-- END OFFLINE MESSAGE -->\n\n                                                                                <!-- START ENQUIRY MESSAGE PLACEHOLDER-->\n                                                                             <div class="form-group" data-ng-show="statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.enquiryMessagePlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.onlineMessage.$invalid}">\n                                                                                       <label class="control-label">{{\'APPLICATION_ENQUIRY_MESSAGE_PLACEHOLDER\' | translate}}</label>\n                                                                                      <input type="text" name="enquiryMessagePlaceholder" placeholder="{{\'APPLICATION_ENQUIRY_MESSAGE_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="chatWebsite.enquiry_message_placeholder"/>\n                                                                          </div>\n                                                                                <!-- END ENQUIRY MESSAGE PLACEHOLDER -->\n\n                                                                            <!-- START ENQUIRY BUTTON -->\n                                                                         <div class="form-group" data-ng-show="statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.enquiryButton.$touched || forms.formLabel.$submitted) && forms.formLabel.startChatButton.$invalid}">\n                                                                                 <label class="control-label">{{\'APPLICATION_ENQUIRY_BUTTON\' | translate}}</label>\n                                                                                   <input type="text" name="enquiryButton" placeholder="{{\'APPLICATION_ENQUIRY_BUTTON\' | translate}}" class="form-control" data-ng-model="chatWebsite.enquiry_button"/>\n                                                                                </div>\n                                                                                <!-- END ENQUIRY BUTTON -->\n\n                                                                         <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                                                  </form>\n                                                               </div>\n                                                                <!-- END STRINGS TAB -->\n\n                                                            <!-- SETTINGS TAB -->\n                                                         <div class="tab-pane" id="tab_1_5">\n                                                                   <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n\n                                                                                <!-- START NAME -->\n                                                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.name.$touched || forms.formSetting.$submitted) && forms.formSetting.name.$invalid}">\n                                                                                        <label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                                        <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="chatWebsite.name" required/>\n                                                                                    <span data-ng-show="(forms.formSetting.name.$touched || forms.formSetting.$submitted) && forms.formSettings.name.$invalid && forms.formSetting.name.$error.required" class="help-block help-block-error">\n                                                                                             <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                 </span>\n                                                                               </div>\n                                                                                <!-- END NAME -->\n\n                                                                           <!-- START ADDRESS -->\n                                                                                <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.address.$touched || forms.formSetting.$submitted) && forms.formSetting.address.$invalid}">\n                                                                                  <label class="control-label">{{\'APPLICATION_WEB_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                                 <input type="url" name="address" placeholder="{{\'APPLICATION_WEB_ADDRESS\' | translate}}" class="form-control" data-ng-model="chatWebsite.address" required/>\n                                                                                        <span data-ng-show="(forms.formSetting.address.$touched || forms.formSetting.$submitted) && forms.formSetting.address.$invalid && forms.formSetting.address.$error.required" class="help-block help-block-error">\n                                                                                             <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                 </span>\n                                                                               </div>\n                                                                                <!-- END ADDRESS -->\n\n                                                                                <!-- START REMOTE IP -->\n                                                                              <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.remote.$touched || forms.formSetting.$submitted) && forms.formSetting.remote.$invalid}">\n                                                                                    <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                                      <input type="url" name="remote" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="chatWebsite.remote" required/>\n                                                                                       <span data-ng-show="(forms.formSetting.remote.$touched || forms.formSetting.$submitted) && forms.formSetting.remote.$invalid && forms.formSetting.remote.$error.required" class="help-block help-block-error">\n                                                                                                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                 </span>\n                                                                               </div>\n                                                                                <!-- END REMOTE IP -->\n\n                                                                              <!-- START DESCRIPTION -->\n                                                                            <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.description.$touched || forms.formSetting.$submitted) && forms.formSetting.description.$invalid}">\n                                                                                  <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                                                      <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="chatWebsite.description"/>\n                                                                                </div>\n                                                                                <!-- END DESCRIPTION -->\n\n                                                                            <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                                                  </form>\n                                                               </div>\n                                                                <!-- END SETTINGS TAB -->\n\n                                                           <!-- OFFLINE TAB -->\n                                                          <div class="tab-pane" id="tab_1_6">\n                                                                   <form name="forms.formOffline" data-ng-submit="forms.formOffline.$valid && updateItem()" novalidate>\n\n                                                                                <!-- START ENQUIRY FORWARDING -->\n                                                                             <div class="form-group">\n                                                                                      <div class="row">\n                                                                                             <label class="col-md-4">\n                                                                                                      {{\'APPLICATION_ENQUIRY_FORWARDING\' | translate}}\n                                                                                            </label>\n                                                                                              <label class="col-md-8">\n                                                                                                      <input type="checkbox" ng-model="chatWebsite.enquiry_forwarding">\n                                                                                             </label>\n                                                                                      </div>\n                                                                                        <div class="row">\n                                                                                             <span class="help-block col-md-12">\n                                                                                                           {{\'MESSAGE_REMEMBER_SMTP_SERVICE_ACCOUNT\' | translate}}.\n                                                                                            </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <!-- END ENQUIRY FORWARDING -->\n\n                                                                             <!-- START REMOTE IP -->\n                                                                              <div class="form-group" data-ng-if="chatWebsite.enquiry_forwarding" data-ng-class="{\'has-error\': (forms.formOffline.forwardingAddress.$touched || forms.formOffline.$submitted) && forms.formSetting.forwardingAddress.$invalid}">\n                                                                                  <label class="control-label">{{\'APPLICATION_ENQUIRY_FORWARDING_ADDRESS\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                                   <input type="text" name="forwardingAddress" placeholder="{{\'APPLICATION_ADDRESS\' | translate}}" class="form-control" data-ng-model="chatWebsite.enquiry_forwarding_address" required/>\n                                                                                      <span data-ng-show="(forms.formOffline.forwardingAddress.$touched || forms.formOffline.$submitted) && forms.formOffline.forwardingAddress.$invalid && forms.formOffline.forwardingAddress.$error.required" class="help-block help-block-error">\n                                                                                               <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                 </span>\n                                                                               </div>\n                                                                                <!-- END REMOTE IP -->\n\n                                                                              <!-- START HEADER SHAPE -->\n                                                                           <div class="form-group" data-ng-if="chatWebsite.enquiry_forwarding" data-ng-class="{\'has-error\': (forms.formOffline.OfflineTemplateId.$touched || forms.formOffline.$submitted) && forms.formOffline.OfflineTemplateId.$invalid}">\n                                                                                  <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                                     <ui-select data-ng-model="chatWebsite.OfflineTemplateId" name="OfflineTemplateId" theme="bootstrap" required>\n                                                                                         <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                              <ui-select-choices repeat="mailTemplate.id as mailTemplate in mailTemplates | filter: $select.search">\n                                                                                                        <div ng-bind-html="mailTemplate.name | highlight: $select.search"></div>\n                                                                                              </ui-select-choices>\n                                                                                  </ui-select>\n                                                                                  <span data-ng-show="(forms.formOffline.OfflineTemplateId.$touched || forms.formOffline.$submitted) && forms.formOffline.OfflineTemplateId.$invalid && forms.formOffline.OfflineTemplateId.$error.required" class="help-block help-block-error">\n                                                                                               <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                 </span>\n                                                                               </div>\n                                                                                <!-- END HEADER SHAPE -->\n\n                                                                           <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                                                  </form>\n                                                               </div>\n                                                                <!-- END OFFLINE TAB -->\n                                                      </div>\n                                                </div>\n                                                <div class="col-md-4">\n                                                        <!-- START STATE -->\n                                                  <div class="form-group">\n                                                              <!-- <label class="control-label">{{\'APPLICATION_ANIMATION\' | translate}}</label> -->\n                                                               <!-- <input colorpicker type="text" name="animationToggle" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" class="form-control" data-ng-model="chatWebsite.animation" required/> -->\n                                                               <ui-select data-ng-model="statePreview.state" name="statePreview" theme="bootstrap">\n                                                                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected}}</ui-select-match>\n                                                                   <ui-select-choices repeat="statePreview in [\'online\',\'offline\'] | filter: $select.search">\n                                                                                <div ng-bind-html="statePreview | highlight: $select.search"></div>\n                                                                   </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                        <!-- END STATE -->\n                                                    <preview></preview>\n                                           </div>\n                                </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),
-a.put("app/chat/website/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initView()">\n     <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-bubble"></i>\n                                   <a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n                                        <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-globe"></i>\n                                    <a href="/chat/websites/list">{{ \'APPLICATION_WEB_SITES\' | translate }}</a>\n                                 <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <a href="#">{{chatWebsite.name}}</a>\n                          </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img src="assets/images/media/website.png" class="img-responsive">\n                            </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{chatWebsite.name}}\n                                  </div>\n                                        <div class="profile-usertitle-job">\n                                           {{chatWebsite.address}}\n                                       </div>\n                                </div>\n                                <!-- END SIDEBAR USER TITLE -->\n                               <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.includes(\'main.chat.websites.view.snippet\')}">\n                                                   <a ng-href="/chat/websites/view/{{chatWebsite.id}}/snippet/view">\n                                                     <i class="icon-settings"></i>\n                                                 {{ \'APPLICATION_SNIPPET\' | translate }} </a>\n                                                </li>\n                                         <li data-ng-class="{active: $state.includes(\'main.chat.websites.view.actions\')}">\n                                                   <a ng-href="/chat/websites/view/{{chatWebsite.id}}/actions/list">\n                                                     <i class="icon-directions"></i>\n                                                       {{ \'APPLICATION_ACTIONS\' | translate }} </a>\n                                                </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/website/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\n        <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-bubble"></i>\n                                           <a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n                                                <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-globe"></i>\n                                            <a href="/chat/websites/list">{{ \'APPLICATION_WEB_SITES\' | translate }}</a>\n                                 </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n      <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_WEB_SITE\' | translate }} WIZARD</a> </span>\n                           </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n          <wz-step title="{{\'APPLICATION_WEB_SITE_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n                                               <form name="forms.formSetting" novalidate>\n\n                                                  <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.name.$touched || forms.formSetting.$submitted) && forms.formSetting.name.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n                                                           <span data-ng-show="forms.formSetting.name.$touched && !forms.formSettings.name.$valid && forms.formSetting.name.$error.required" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START ADDRESS -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.address.$touched || forms.formSetting.$submitted) && forms.formSetting.address.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_WEB_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                         <input type="url" name="address" placeholder="{{\'APPLICATION_WEB_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.address" required/>\n                                                               <span data-ng-show="(forms.formSetting.address.$touched || forms.formSetting.$submitted) && forms.formSetting.address.$invalid && forms.formSetting.address.$error.required" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END ADDRESS -->\n\n                                                        <!-- START REMOTE IP -->\n                                                      <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.remote.$touched || forms.formSetting.$submitted) && forms.formSetting.remote.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                              <input type="url" name="remote" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.remote" required/>\n                                                              <span data-ng-show="(forms.formSetting.remote.$touched || forms.formSetting.$submitted) && forms.formSetting.remote.$invalid && forms.formSetting.remote.$error.required" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END REMOTE IP -->\n\n                                                      <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.form.description"/>\n                                                  </div>\n                                                        <!-- END DESCRIPTION -->\n                                                      <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n                                              </form>\n                                       </wz-step>\n\n                                  <wz-step title="{{\'APPLICATION_WEB_SITE_APPEARANCE\' | translate}}" canexit="exitValidation(forms.formAppearance.$valid)">\n                                           <form name="forms.formAppearance" novalidate>\n\n                                                       <!-- START MAIN COLOR -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.mainColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.host.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_MAIN_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                          <input colorpicker type="text" name="mainColor" placeholder="{{\'APPLICATION_MAIN_COLOR\' | translate}}" style="color:{{item.color}}" class="form-control" data-ng-model="item.color" required/>\n                                                              <span data-ng-show="(forms.formAppearance.mainColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.mainColor.$invalid && forms.formAppearance.mainColor.$error.required" class="help-block help-block-error">\n                                                                   <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END MAIN COLOR -->\n\n                                                     <!-- START FOCUS COLOR -->\n                                                    <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.focusColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.focusColor.$invalid}">\n                                                           <label class="control-label">{{\'APPLICATION_FOCUS_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                         <input colorpicker type="text" name="focusColor" placeholder="{{\'APPLICATION_FOCUS_COLOR\' | translate}}" style="color:{{item.color_focus}}" class="form-control" data-ng-model="item.color_focus" required/>\n                                                                <span data-ng-show="(forms.formAppearance.focusColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.focusColor.$invalid && forms.formAppearance.focusColor.$error.required" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END FOCUS COLOR -->\n\n                                                    <!-- START BUTTON COLOR -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.buttonColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.buttonColor.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_BUTTON_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input colorpicker type="text" name="buttonColor" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" style="color:{{item.color_button}}" class="form-control" data-ng-model="item.color_button" required/>\n                                                            <span data-ng-show="(forms.formAppearance.buttonColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.buttonColor.$invalid && forms.formAppearance.buttonColor.$error.required" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END BUTTON COLOR -->\n\n                                                   <!-- START HEADER SHAPE -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.headerShape.$touched || forms.formAppearance.$submitted) && forms.formAppearance.headerShape.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_HEADER_SHAPE\' | translate}}</label>\n                                                             <!-- <input colorpicker type="text" name="animationToggle" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" class="form-control" data-ng-model="item.animation" required/> -->\n                                                              <ui-select data-ng-model="item.header_shape" name="headerShape" theme="bootstrap">\n                                                                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$translate.instant(\'APPLICATION_\' + $select.selected.toUpperCase())}}</ui-select-match>\n                                                                      <ui-select-choices repeat="headerShape in [\'rounded\',\'squared\'] | filter: $select.search">\n                                                                                <div ng-bind-html="$translate.instant(\'APPLICATION_\' + headerShape.toUpperCase()) | highlight: $select.search"></div>\n                                                                       </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                        <!-- END HEADER SHAPE -->\n\n                                                   <!-- START ANIMATION TOGGLE -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.animationToggle.$touched || forms.formAppearance.$submitted) && forms.formAppearance.animationToggle.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_ANIMATION\' | translate}}</label>\n                                                                <ui-select data-ng-model="item.animation" name="animationToggle" theme="bootstrap">\n                                                                   <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected  ? \'On\' : \'Off\'}}</ui-select-match>\n                                                                       <ui-select-choices repeat="filter in [true,false] | filter: $select.search">\n                                                                          <div ng-bind-html="filter ? \'On\' : \'Off\' | highlight: $select.search"></div>\n                                                                      </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                        <!-- END ANIMATION TOGGLE -->\n\n\n                                                     <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n                                              </form>\n                                       </wz-step>\n\n                                  <wz-step title="{{\'APPLICATION_LABELS\' | translate}}" canexit="exitValidation(forms.formLabel.$valid)">\n                                             <form name="forms.formLabel" novalidate>\n\n                                                    <!-- START HEADER ONLINE -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.headerOnline.$touched || forms.formLabel.$submitted) && forms.formLabel.headerOnline.$invalid}">\n                                                              <label class="control-label">{{\'APPLICATION_HEADER_ONLINE\' | translate}}</label>\n                                                            <input type="text" name="headerOnline" placeholder="{{\'APPLICATION_HEADER_ONLINE\' | translate}}" class="form-control" data-ng-model="item.header_online"/>\n                                                  </div>\n                                                        <!-- END HEADER ONLINE -->\n\n                                                  <!-- START ONLINE MESSAGE-->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.onlineMessage.$touched || forms.formLabel.$submitted) && forms.formLabel.onlineMessage.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_ONLINE_MESSAGE\' | translate}}</label>\n                                                           <input type="text" name="onlineMessage" placeholder="{{\'APPLICATION_ONLINE_MESSAGE\' | translate}}" class="form-control" data-ng-model="item.online_message"/>\n                                                       </div>\n                                                        <!-- END HEADER ONLINE -->\n\n                                                  <!-- START USERNAME PLACEHOLDER -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.usernamePlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.usernamePlaceholder.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_USERNAME_PLACEHOLDER\' | translate}}</label>\n                                                             <input type="text" name="usernamePlaceholder" placeholder="{{\'APPLICATION_USERNAME_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="item.username_placeholder"/>\n                                                     </div>\n                                                        <!-- END USERNAME PLACEHOLDER -->\n\n                                                   <!-- START EMAIL PLACEHOLDER -->\n                                                      <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.emailPlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.emailPlaceholder.$invalid}">\n                                                              <label class="control-label">{{\'APPLICATION_EMAIL_PLACEHOLDER\' | translate}}</label>\n                                                                <input type="text" name="emailPlaceholder" placeholder="{{\'APPLICATION_EMAIL_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="item.email_placeholder"/>\n                                                      </div>\n                                                        <!-- END EMAIL PLACEHOLDER -->\n\n                                                      <!-- START START CHAT BUTTON -->\n                                                      <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.startChatButton.$touched || forms.formLabel.$submitted) && forms.formLabel.startChatButton.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_START_CHAT_BUTTON\' | translate}}</label>\n                                                                <input type="text" name="startChatButton" placeholder="{{\'APPLICATION_START_CHAT_BUTTON\' | translate}}" class="form-control" data-ng-model="item.start_chat_button"/>\n                                                       </div>\n                                                        <!-- END START CHAT BUTTON -->\n\n                                                      <!-- START HEADER OFFLINE -->\n                                                 <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.headerOffline.$touched || forms.formLabel.$submitted) && forms.formLabel.headerOnline.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_HEADER_OFFLINE\' | translate}}</label>\n                                                           <input type="text" name="headerOffline" placeholder="{{\'APPLICATION_HEADER_OFFLINE\' | translate}}" class="form-control" data-ng-model="item.header_offline"/>\n                                                       </div>\n                                                        <!-- END HEADER OFFLINE -->\n\n                                                 <!-- START OFFLINE MESSAGE-->\n                                                 <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.offlineMessage.$touched || forms.formLabel.$submitted) && forms.formLabel.onlineMessage.$invalid}">\n                                                           <label class="control-label">{{\'APPLICATION_OFFLINE_MESSAGE\' | translate}}</label>\n                                                          <input type="text" name="offlineMessage" placeholder="{{\'APPLICATION_OFFLINE_MESSAGE\' | translate}}" class="form-control" data-ng-model="item.offline_message"/>\n                                                    </div>\n                                                        <!-- END OFFLINE MESSAGE -->\n\n                                                        <!-- START ENQUIRY MESSAGE PLACEHOLDER-->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.enquiryMessagePlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.onlineMessage.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_ENQUIRY_MESSAGE_PLACEHOLDER\' | translate}}</label>\n                                                              <input type="text" name="enquiryMessagePlaceholder" placeholder="{{\'APPLICATION_ENQUIRY_MESSAGE_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="item.enquiry_message_placeholder"/>\n                                                 </div>\n                                                        <!-- END ENQUIRY MESSAGE PLACEHOLDER -->\n\n                                                    <!-- START ENQUIRY BUTTON -->\n                                                 <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.enquiryButton.$touched || forms.formLabel.$submitted) && forms.formLabel.startChatButton.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_ENQUIRY_BUTTON\' | translate}}</label>\n                                                           <input type="text" name="enquiryButton" placeholder="{{\'APPLICATION_ENQUIRY_BUTTON\' | translate}}" class="form-control" data-ng-model="item.enquiry_button"/>\n                                                       </div>\n                                                        <!-- END ENQUIRY BUTTON -->\n\n                                                 <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n                                              </form>\n                                       </wz-step>\n\n                                  <wz-step title="{{\'APPLICATION_FORMS\' | translate}}" canexit="exitValidation(forms.formAppearance.$valid)">\n                                         <form name="forms.formFunctionality" novalidate>\n\n                                                    <!-- START DOWNLOAD TRANSCRIPT -->\n                                                    <div class="form-group" data-ng-class="{\'has-error\': (forms.formFunctionality.animationToggle.$touched || forms.formFunctionality.$submitted) && forms.formFunctionality.animationToggle.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_DOWNLOAD_TRANSCRIPT\' | translate}}</label>\n                                                              <ui-select data-ng-model="item.download_transcript" name="downloadTranscript" theme="bootstrap">\n                                                                      <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected ? \'On\' : \'Off\'}}</ui-select-match>\n                                                                        <ui-select-choices repeat="downloadTranscript in [true, false] | filter: $select.search">\n                                                                             <div ng-bind-html="downloadTranscript ? \'On\' : \'Off\' | highlight: $select.search"></div>\n                                                                  </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                        <!-- END DOWNLOAD TRANSCRIPT -->\n\n                                                    <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n                                              </form>\n                                       </wz-step>\n\n                                  <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                             <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                            <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                 </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/contactmanager/company/list/create.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_NEW_COMPANY\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="forms.company" novalidate>\n\n    <!-- START NAME -->\n    <div class="form-group" data-ng-class="{\'has-error\': (forms.company.name.$touched || forms.company.$submitted) && forms.company.name.$invalid}">\n      <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n      <span data-ng-show="(forms.cmopany.name.$touched || forms.company.$submitted) && forms.company.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END NAME -->\n\n    <!-- START DESCRIPTION -->\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"></textarea>\n    </div>\n    <!-- END DESCRIPTION -->\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.company.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/contactmanager/company/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n     <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-briefcase"></i>\n                                        <a href="/contactmanager/companies/list">{{ \'APPLICATION_COMPANIES\' | translate }}</a>\n                              </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-briefcase font-green-sharp"></i>\n                                       <span class="caption-subject">{{ \'APPLICATION_COMPANIES\' | translate }}</a> </span>\n                         </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="Companies.checked.length">\n                                               <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <button class="btn green-jungle " ng-click="create()">\n                                                        <i class="icon-plus"></i> {{ \'APPLICATION_NEW_COMPANY\' | translate }}\n                                               </button>\n                                     </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getCompanies([\'name\', \'description\'])" csv-header="[\'Name\', \'Description\']" field-separator=";" filename="companies.csv">\n                                   <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedCompanies" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                       <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="4">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.companiesByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                             <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="companyByPage in companiesByPage | filter: $select.search">\n                                                                                                        <div ng-bind-html="companyByPage.name | highlight: $select.search"></div>\n                                                                                             </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(company, checked)" checklist-model checklist-value="id"></th>\n                                                  <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                              <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="company in displayedCompanies" class="animate-repeat">\n                                                                <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="Companies.checked" checklist-value="company.id"></td>\n                                                          <td>{{company.name}}</td>\n                                           <td>{{company.description}}</td>\n                                              <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/contactmanager/companies/view/{{company.id}}/settings">\n                                                                              {{ \'APPLICATION_SETTINGS\' | translate}}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(company.name,company.id)">\n                                                                         {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedCompanies.length">\n                                                         <td colspan="4" style="text-align:center;">\n                                                                   <i>{{ \'MESSAGE_NO_COMPANIES_AVAILABLE\' | translate }}</i>\n                                                           </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                 <td/>\n                                               </tr>\n                                           <tr>\n                                            <td colspan="4" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.companiesByPage.value" st-displayed-pages="7"></div>\n                                           </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/contactmanager/company/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getCompany()">\n     <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-briefcase"></i>\n                                        <a href="/contactmanager/companies/list">{{ \'APPLICATION_COMPANIES\' | translate }}</a>\n                                      <i data-ng-show="company" class="fa fa-angle-right"></i>\n                              </li>\n                         <li data-ng-show="company">\n                                   <a href="#">{{company.name}}</a>\n                              </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/company.png" class="img-responsive">\n                            </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{company.name}}\n                                      </div>\n                                        <!-- <div class="profile-usertitle-job">\n                                              {{user.role}}\n                                 </div> -->\n                            </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.contactmanager.companies.view.settings\')}">\n                                                     <a data-ng-href="/contactmanager/companies/view/{{company.id}}/settings">\n                                                     <i class="icon-settings"></i>\n                                                 {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n                                                </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/contactmanager/company/view/view.settings.html",'<div class="row">\n    <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_COMPANY\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n                             </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n                                     </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_ADDRESS\' | translate}}</a>\n                                     </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_3" data-toggle="tab">{{ \'APPLICATION_SHIPMENT_ADDRESS\' | translate}}</a>\n                                    </li>\n                         </ul>\n                 </div>\n\n                      <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.general" data-ng-submit="forms.general.$valid && updateCompany()" novalidate>\n\n                                                     <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="company.name" required/>\n                                                                <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="company.description"></textarea>\n                                                       </div>\n                                                        <!-- END DESCRIPTION -->\n                                                      <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END ADVANCED TAB -->\n                                     <div class="tab-pane" id="tab_1_2">\n                                           <!-- START STREET -->\n                                         <div class="form-group" data-ng-class="{\'has-error\': (forms.general.street.$touched || forms.general.$submitted) && forms.general.street.$invalid}">\n                                                        <label class="control-label">{{\'APPLICATION_STREET\' | translate}}</label>\n                                                   <input type="text" name="street" placeholder="{{\'APPLICATION_STREET\' | translate}}" class="form-control" data-ng-model="company.street"/>\n                                                   <span data-ng-show="(forms.general.street.$touched || forms.general.$submitted) && forms.general.street.$error.required" class="help-block help-block-error">\n                                                         <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END STREET -->\n\n                                         <!-- START POSTALCODE -->\n                                             <div class="form-group" data-ng-class="{\'has-error\': (forms.general.postalCode.$touched || forms.general.$submitted) && forms.general.postalCode.$invalid}">\n                                                        <label class="control-label">{{\'APPLICATION_POSTALCODE\' | translate}}</label>\n                                                       <input type="text" name="postalCode" placeholder="{{\'APPLICATION_POSTALCODE\' | translate}}" class="form-control" data-ng-model="company.postalCode"/>\n                                                       <span data-ng-show="(forms.general.postalCode.$touched || forms.general.$submitted) && forms.general.postalCode.$error.required" class="help-block help-block-error">\n                                                         <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END POSTALCODE -->\n\n                                             <!-- START CITY -->\n                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.general.city.$touched || forms.general.$submitted) && forms.general.city.$invalid}">\n                                                    <label class="control-label">{{\'APPLICATION_CITY\' | translate}}</label>\n                                                     <input type="text" name="city" placeholder="{{\'APPLICATION_CITY\' | translate}}" class="form-control" data-ng-model="company.city"/>\n                                                 <span data-ng-show="(forms.general.city.$touched || forms.general.$submitted) && forms.general.city.$error.required" class="help-block help-block-error">\n                                                             <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END CITY -->\n                                             <!-- START COUNTRY -->\n                                                <div class="form-group" data-ng-class="{\'has-error\': (forms.general.country.$touched || forms.general.$submitted) && forms.general.country.$invalid}">\n                                                      <label class="control-label">{{\'APPLICATION_COUNTRY\' | translate}}</label>\n                                                  <input type="text" name="country" placeholder="{{\'APPLICATION_COUNTRY\' | translate}}" class="form-control" data-ng-model="company.country"/>\n                                                        <span data-ng-show="(forms.general.country.$touched || forms.general.$submitted) && forms.general.country.$error.required" class="help-block help-block-error">\n                                                               <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END COUNTRY -->\n                                          <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                  </div>\n                                        <div class="tab-pane" id="tab_1_3">\n                                           <!-- START STREET -->\n                                         <div class="form-group" data-ng-class="{\'has-error\': (forms.general.sStreet.$touched || forms.general.$submitted) && forms.general.sStreet.$invalid}">\n                                                      <label class="control-label">{{\'APPLICATION_STREET\' | translate}}</label>\n                                                   <input type="text" name="sStreet" placeholder="{{\'APPLICATION_STREET\' | translate}}" class="form-control" data-ng-model="company.sStreet"/>\n                                                 <span data-ng-show="(forms.general.sStreet.$touched || forms.general.$submitted) && forms.general.sStreet.$error.required" class="help-block help-block-error">\n                                                               <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END STREET -->\n\n                                         <!-- START POSTALCODE -->\n                                             <div class="form-group" data-ng-class="{\'has-error\': (forms.general.sPostalCode.$touched || forms.general.$submitted) && forms.general.sPostalCode.$invalid}">\n                                                      <label class="control-label">{{\'APPLICATION_POSTALCODE\' | translate}}</label>\n                                                       <input type="text" name="sPostalCode" placeholder="{{\'APPLICATION_POSTALCODE\' | translate}}" class="form-control" data-ng-model="company.sPostalCode"/>\n                                                     <span data-ng-show="(forms.general.sPostalCode.$touched || forms.general.$submitted) && forms.general.sPostalCode.$error.required" class="help-block help-block-error">\n                                                               <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END POSTALCODE -->\n\n                                             <!-- START CITY -->\n                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.general.sCity.$touched || forms.general.$submitted) && forms.general.sCity.$invalid}">\n                                                  <label class="control-label">{{\'APPLICATION_CITY\' | translate}}</label>\n                                                     <input type="text" name="sCity" placeholder="{{\'APPLICATION_CITY\' | translate}}" class="form-control" data-ng-model="company.sCity"/>\n                                                       <span data-ng-show="(forms.general.sCity.$touched || forms.general.$submitted) && forms.general.sCity.$error.required" class="help-block help-block-error">\n                                                           <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END CITY -->\n                                             <!-- START COUNTRY -->\n                                                <div class="form-group" data-ng-class="{\'has-error\': (forms.general.sCountry.$touched || forms.general.$submitted) && forms.general.sCountry.$invalid}">\n                                                    <label class="control-label">{{\'APPLICATION_COUNTRY\' | translate}}</label>\n                                                  <input type="text" name="sCountry" placeholder="{{\'APPLICATION_COUNTRY\' | translate}}" class="form-control" data-ng-model="company.sCountry"/>\n                                                      <span data-ng-show="(forms.general.sCountry.$touched || forms.general.$submitted) && forms.general.sCountry.$error.required" class="help-block help-block-error">\n                                                             <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END COUNTRY -->\n                                          <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                  </div>\n                                </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),
-a.put("app/contactmanager/contact/list/import.modal.html",'<div class="modal-header" data-ng-init="getCustomFields();">\n  <h3 class="modal-title">{{ \'APPLICATION_IMPORT_FROM_CSV\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="forms.csv" novalidate>\n    <div class="row">\n      <div class="col-md-6">\n    <!-- START FULLNAME -->\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.fullname.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}</label>\n      <ui-select data-ng-model="item.fullname" theme="bootstrap" name="fullname" data-ng-disabled="disabled" required>\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_FULLNAME\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.fullname.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END FULLNAME -->\n\n    <!-- START STREET -->\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.street.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_STREET\' | translate}}</label>\n      <ui-select data-ng-model="item.street" theme="bootstrap" name="street" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_STREET\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.street.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END STREET -->\n\n    <!-- START POSTALCODE -->\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.postalCode.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_POSTALCODE\' | translate}}</label>\n      <ui-select data-ng-model="item.postalCode" theme="bootstrap" name="postalCode" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_POSTALCODE\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.postalCode.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END POSTALCODE -->\n\n    <!-- START CITY -->\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.city.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_CITY\' | translate}}</label>\n      <ui-select data-ng-model="item.city" theme="bootstrap" name="city" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_CITY\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.city.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END CITY -->\n\n    <!-- START PHONES -->\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.Phones.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_PHONES\' | translate}}</label>\n      <ui-select multiple data-ng-model="item.Phones" theme="bootstrap" name="Phones" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_PHONES\' | translate }}">{{$item}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.Phones.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END PHONES -->\n\n  </div>\n  <div class="col-md-6">\n\n    <!-- START COUNTRY -->\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.country.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_COUNTRY\' | translate}}</label>\n      <ui-select data-ng-model="item.country" theme="bootstrap" name="country" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_COUNTRY\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.country.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END COUNTRY -->\n\n    <!-- START DATEOFBIRTH -->\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.dateOfBirth.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_DATEOFBIRTH\' | translate}}</label>\n      <ui-select data-ng-model="item.dateOfBirth" theme="bootstrap" name="dateOfBirth" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_DATEOFBIRTH\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.dateOfBirth.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END DATEOFBIRTH -->\n\n    <!-- START TAGS -->\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.tags.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_TAGS\' | translate}}</label>\n      <ui-select multiple data-ng-model="item.tags" theme="bootstrap" name="tags" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_TAGS\' | translate }}">{{$item}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.tags.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END TAGS -->\n\n    <!-- START DESCRIPTION -->\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.description.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <ui-select data-ng-model="item.description" theme="bootstrap" name="description" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_DESCRIPTION\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.description.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END DESCRIPTION -->\n\n    <!-- START EMAILS -->\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.Emails.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_EMAILS\' | translate}}</label>\n      <ui-select multiple data-ng-model="item.Emails" theme="bootstrap" name="Emails" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_EMAILS\' | translate }}">{{$item}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.Emails.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END EMAILS -->\n\n  </div>\n  </div>\n\n  <!-- START CUSTOMFIELDS -->\n  <div data-ng-repeat="customField in customFields">\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv[customField.name].$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{customField.name}}</label>\n      <ui-select data-ng-if="!joinPrompt" data-ng-model="item.customFields[customField.id]" theme="bootstrap" name="{{customField.name}}" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{customField.name}}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv[customField.name].$invalid && forms.csv.$submitted" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n  </div>\n  <!-- END CUSTOMFIELDS -->\n\n  <div>\n    <p>{{\'APPLICATION_IMPORT_SUCCEEDED\' | translate}}: {{import.succeeded}}/{{csvLength}}</p>\n    <div class="progress progress-sm" style="">\n      <div class="progress-bar progress-bar-info" role="progressbar" ng-style="{ \'width\': import.success + \'%\' }"></div>\n    </div>\n  </div>\n  <div>\n    <p>{{\'APPLICATION_IMPORT_FAILED\' | translate}}: {{import.failed}}/{{csvLength}}</p>\n    <div class="progress progress-sm" style="">\n      <div class="progress-bar progress-bar-info" role="progressbar" ng-style="{ \'width\': import.fail + \'%\' }"></div>\n    </div>\n  </div>\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="start()" ng-disabled="forms.csv.$invalid || !forms.csv.fullname || submitted">{{ \'APPLICATION_SUBMIT\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="close()" data-ng-if="!importing">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="stop()" data-ng-if="importing">{{ \'APPLICATION_STOP\' | translate }}</button>\n</div>\n'),a.put("app/contactmanager/contact/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n  <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="fa fa-users"></i>\n                                   <a href="/contactmanager/contacts/list">{{ \'APPLICATION_CONTACT_MANAGER\' | translate }}</a>\n                         </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="fa fa-users font-green-sharp"></i>\n                                  <span class="caption-subject">{{ \'APPLICATION_CONTACTS\' | translate }}</a> </span>\n                          </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="contacts.checked.length">\n                                                <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <button class="btn green-jungle" data-ng-click="newContact();">\n                                                       <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONTACT\' | translate }}\n                                               </button>\n                                             <span class="btn default btn-file">\n                                           <span class="fileinput-new">\n                                          <i class="icon-cloud-upload"></i> {{\'APPLICATION_IMPORT_FROM_CSV\' | translate}}</span>\n                                              <input type="file" nv-file-select="" uploader="uploader"/>\n                                            </span>\n                                       </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getContacts([\'mailbox\', \'fullname\', \'email\'])" csv-header="[\'name\', \'surname\', \'description\']" field-separator=";" filename="contacts.csv">\n                                     <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedContacts" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                        <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="4">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.contactsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                              <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="contactByPage in contactsByPage | filter: $select.search">\n                                                                                                 <div ng-bind-html="contactByPage.name | highlight: $select.search"></div>\n                                                                                             </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(contact, checked)" checklist-model checklist-value="id"></th>\n                                                  <th st-sort="fullname">{{ \'APPLICATION_FULLNAME\' | translate }}</th>\n                                                <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                              <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="contact in displayedContacts" class="animate-repeat">\n                                                         <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="contacts.checked" checklist-value="contact.id"></td>\n                                                           <td>{{contact.fullname}} {{}}</td>\n                                          <td>{{contact.description}}</td>\n                                              <td>\n                                            <button class="btn default btn-xs blue-stripe" data-ng-click="openContactTab(contact)">\n                                                                               {{ \'APPLICATION_SETTINGS\' | translate}}\n                                             </button>\n                                             <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(contact.fullname,contact.id)">\n                                                                             {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedContacts.length">\n                                                          <td colspan="4" style="text-align:center;">\n                                                                   <i>{{ \'MESSAGE_NO_CONTACTS_AVAILABLE\' | translate }}</i>\n                                                            </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="fullname" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_FULLNAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                 <td>\n                                                  </td>\n                                               </tr>\n                                           <tr>\n                                            <td colspan="4" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.contactsByPage.value" st-displayed-pages="7"></div>\n                                            </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/contactmanager/customfield/list/create.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_NEW_CUSTOM_FIELD\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="forms.customField" novalidate>\n\n    <!-- START NAME -->\n    <div class="form-group" data-ng-class="{\'has-error\': (forms.customField.name.$touched || forms.customField.$submitted) && forms.customField.name.$invalid}">\n      <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n      <span data-ng-show="(forms.customField.name.$touched || forms.customField.$submitted) && forms.customField.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END NAME -->\n\n    <!-- START TYPE -->\n    <div class="form-group"  data-ng-class="{\'has-error\': (forms.customField.type.$touched || forms.customField.$submitted) && forms.customField.type.$invalid}">\n      <label class="control-label">{{ \'APPLICATION_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n      <ui-select data-ng-model="item.type" name="type" theme="bootstrap" required>\n        <ui-select-match placeholder="{{ \'APPLICATION_TYPE\' | translate }}">{{$translate.instant($select.selected.name)}}</ui-select-match>\n        <ui-select-choices repeat="type.value as type in types| filter: $select.search">\n          {{$translate.instant(type.name)}}\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="(forms.customField.type.$touched || forms.customField.$submitted) && forms.customField.type.$invalid && forms.customField.type.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END TYPE -->\n\n    <div ng-slide-down="item.type == \'select\'" lazy-render duration="1">\n      <div>\n        <label class="control-label">{{\'APPLICATION_CHOICES\' | translate}}</label>\n      </div>\n      <div class="padding-bottom" ng-repeat="choice in choices">\n        <div class="form-group">\n          <div class="input-group">\n            <input type="text" class="form-control" ng-model="choice.value" required>\n            <span class="input-group-btn">\n            <button class="btn red" type="button"data-ng-click="removeField($index)" data-ng-disabled="choices.length<=1"><i class="fa fa-times"></i></button>\n            </span>\n          </div>\n        </div>\n      </div>\n      <button type="button" class="btn btn-sm green padding-bottom" ng-click="addField()">\n        <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CHOICE\' | translate}}\n      </button>\n\n    </div>\n\n    <!-- START DESCRIPTION -->\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"></textarea>\n    </div>\n    <!-- END DESCRIPTION -->\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.customField.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/contactmanager/customfield/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n  <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-pencil"></i>\n                                   <a href="/contactmanager/customfields/list">{{ \'APPLICATION_CUSTOM_FIELDS\' | translate }}</a>\n                               </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-pencil font-green-sharp"></i>\n                                  <span class="caption-subject">{{ \'APPLICATION_CUSTOM_FIELDS\' | translate }}</a> </span>\n                             </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="CustomFields.checked.length">\n                                            <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <button class="btn green-jungle " ng-click="create()">\n                                                        <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CUSTOM_FIELD\' | translate }}\n                                          </button>\n                                     </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getCs([\'name\', \'description\'])" csv-header="[\'Name\', \'Description\']" field-separator=";" filename="customFields.csv">\n                                       <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedCustomFields" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                    <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="5">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.customFieldsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                          <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="customFieldByPage in customFieldsByPage | filter: $select.search">\n                                                                                                 <div ng-bind-html="customFieldByPage.name | highlight: $select.search"></div>\n                                                                                         </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(customField, checked)" checklist-model checklist-value="id"></th>\n                                              <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                            <th st-sort="type">{{ \'APPLICATION_TYPE\' | translate }}</th>\n                                                    <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                              <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="customField in displayedCustomFields" class="animate-repeat">\n                                                         <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="customFields.checked" checklist-value="customField.id"></td>\n                                                           <td>{{customField.name}}</td>\n                                                         <td>{{customField.type}}</td>\n                                       <td>{{customField.description}}</td>\n                                          <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/contactmanager/customfields/view/{{customField.id}}/settings">\n                                                                               {{ \'APPLICATION_SETTINGS\' | translate}}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(customField.name,customField.id)">\n                                                                         {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedCustomFields.length">\n                                                              <td colspan="5" style="text-align:center;">\n                                                                   <i>{{ \'MESSAGE_NO_CUSTOM_FIELDS_AVAILABLE\' | translate }}</i>\n                                                               </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_TYPE\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                                </td>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                 <td/>\n                                               </tr>\n                                           <tr>\n                                            <td colspan="4" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.customFieldsByPage.value" st-displayed-pages="7"></div>\n                                        </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/contactmanager/customfield/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getCustomField()">\n     <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-pencil"></i>\n                                   <a href="/contactmanager/customfields/list">{{ \'APPLICATION_CUSTOM_FIELDS\' | translate }}</a>\n                                       <i data-ng-show="customField" class="fa fa-angle-right"></i>\n                          </li>\n                         <li data-ng-show="customField">\n                                       <a href="#">{{customField.name}}</a>\n                          </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/customfield.png" class="img-responsive">\n                                </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{customField.name}}\n                                  </div>\n                                        <!-- <div class="profile-usertitle-job">\n                                              {{user.role}}\n                                 </div> -->\n                            </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.contactmanager.customfields.view.settings\')}">\n                                                  <a data-ng-href="/contactmanager/customfields/view/{{customField.id}}/settings">\n                                                      <i class="icon-settings"></i>\n                                                 {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n                                                </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/contactmanager/customfield/view/view.settings.html",'<div class="row">\n        <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_CUSTOM_FIELD\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n                                </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n                                     </li>\n                         </ul>\n                 </div>\n\n                      <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.general" data-ng-submit="forms.general.$valid && updateCustomField()" novalidate>\n\n                                                 <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="customField.name" required/>\n                                                            <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <div ng-slide-down="customField.type == \'select\'" lazy-render duration="1" class="mbottom20">\n                                                               <div>\n                                                                 <label class="control-label">{{\'APPLICATION_CHOICES\' | translate}}</label>\n                                                          </div>\n                                                                <div class="padding-bottom" ng-repeat="choice in choices">\n                                                                    <div class="form-group">\n                                                                              <div class="input-group">\n                                                                                     <input type="text" class="form-control" ng-model="choice.value" required>\n                                                                                     <span class="input-group-btn">\n                                                                                        <button class="btn red" type="button"data-ng-click="removeField($index)" data-ng-disabled="choices.length<=1"><i class="fa fa-times"></i></button>\n                                                                                    </span>\n                                                                               </div>\n                                                                        </div>\n                                                                </div>\n                                                                <button type="button" class="btn btn-sm green padding-bottom" ng-click="addField()">\n                                                                  <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CHOICE\' | translate}}\n                                                         </button>\n\n                                                   </div>\n\n                                                      <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="customField.description"></textarea>\n                                                   </div>\n                                                        <!-- END DESCRIPTION -->\n                                                      <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END ADVANCED TAB -->\n\n                           </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),
-a.put("app/dashboard/dashboard.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n  <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/dashboard/voice">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                            </li>\n                 </ul>\n         </div>\n\n              <div>\n             <nav class="navbar navbar-default" role="navigation">\n                     <div class="navbar-header">\n                       <button type="button" class="navbar-toggle" ng-init="navCollapsed = true" ng-click="navCollapsed = !navCollapsed">\n                                <span class="sr-only">Toggle navigation</span>\n                                <span class="icon-bar"></span>\n                                <span class="icon-bar"></span>\n                                <span class="icon-bar"></span>\n                            </button>\n                     <!-- <a class="navbar-brand" ui-sref="home">Brand</a> -->\n                 </div>\n\n                      <!-- Collect the nav links, forms, and other content for toggling -->\n                 <div class="collapse navbar-collapse" ng-class="!navCollapsed && \'in\'">\n                         <ul class="nav navbar-nav">\n                                                                       <!-- <li dropdown>\n                                                                                    <a href="#" dropdown-toggle>\n                                                                                                  {{ \'APPLICATION_VOICE\' | translate }}\n                                                                                                       <b class=\'caret\'></b>\n                                                                                       </a>\n                                                                                  <tree tree=\'voice\'></tree>\n                                                                  </li>\n                                                                 <li dropdown>\n                                                                                 <a href="#" dropdown-toggle>\n                                                                                                  {{ \'APPLICATION_MAIL\' | translate }}\n                                                                                                        <b class=\'caret\'></b>\n                                                                                       </a>\n                                                                                  <tree tree=\'mail\'></tree>\n                                                                   </li> -->\n                             <li data-ng-class="{active: $state.is(\'main.dashboard.voice\')}">\n                                <a href="/dashboard/voice">\n                                                                                                       <b class=\'icon-earphones-alt\'></b>\n                                  {{ \'APPLICATION_VOICE\' | translate }}\n                                   </a>\n                                  <!-- <tree tree=\'voice\'></tree> -->\n                             </li>\n                                                                         <li data-ng-class="{active: $state.is(\'main.dashboard.mail\')}">\n                                 <a href="/dashboard/mail">\n                                                                                                        <b class=\'icon-envelope\'></b>\n                                       {{ \'APPLICATION_MAIL\' | translate }}\n                                    </a>\n                                  <!-- <tree tree=\'mail\'></tree> -->\n                              </li>\n                     </ul>\n                         <!-- <ul class="nav navbar-nav">\n                          <li dropdown>\n                             <a href="#" dropdown-toggle>\n                                      {{ \'APPLICATION_QUEUES\' | translate }}\n                                      <b class=\'caret\'></b>\n                                   </a>\n                                  <tree tree=\'queues\'></tree>\n                             </li>\n                     </ul> -->\n                 </div>\n                        <!-- /.navbar-collapse -->\n                </nav>\n            </div>\n                <div ui-view></div>\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/dashboard/mail/mail.html",'<div class="col-md-12">\nThis is the mail view.\n</div>\n'),a.put("app/dashboard/voice/voice.html",'<div class="row" ng-init=\'getQueueStats()\'>\n  <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n    <div class="dashboard-stat red-intense">\n      <div class="visual">\n        <i class="fa fa-comments"></i>\n      </div>\n      <div class="details">\n        <div class="number">\n          {{queueStats.abandonedCalls}}\n        </div>\n        <div class="desc">\n          {{\'APPLICATION_DASHBOARD_ABANDONED\' | translate}}\n        </div>\n      </div>\n      <a class="more" href="/voice/realtime/view/queues">\n      {{\'APPLICATION_VIEW_MORE\' | translate}} <i class="m-icon-swapright m-icon-white"></i>\n      </a>\n    </div>\n  </div>\n  <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n    <div class="dashboard-stat green-haze">\n      <div class="visual">\n        <i class="fa fa-bar-chart-o"></i>\n      </div>\n      <div class="details">\n        <div class="number">\n          {{queueStats.completedCalls}}\n        </div>\n        <div class="desc">\n          {{\'APPLICATION_DASHBOARD_COMPLETED\' | translate}}\n        </div>\n      </div>\n      <a class="more" href="/voice/realtime/view/queues">\n      {{\'APPLICATION_VIEW_MORE\' | translate}} <i class="m-icon-swapright m-icon-white"></i>\n      </a>\n    </div>\n  </div>\n  <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n    <div class="dashboard-stat purple-plum">\n      <div class="visual">\n        <i class="fa fa-shopping-cart"></i>\n      </div>\n      <div class="details">\n        <div class="number">\n          {{queueStats.waitCalls}}\n        </div>\n        <div class="desc">\n          {{\'APPLICATION_DASHBOARD_WAIT\' | translate}}\n        </div>\n      </div>\n      <a class="more" href="/voice/realtime/view/queues">\n      {{\'APPLICATION_VIEW_MORE\' | translate}} <i class="m-icon-swapright m-icon-white"></i>\n      </a>\n    </div>\n  </div>\n  <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n    <div class="dashboard-stat blue-madison">\n      <div class="visual">\n        <i class="fa fa-globe"></i>\n      </div>\n      <div class="details">\n        <div class="number">\n          {{queueStats.activeCalls}}\n        </div>\n        <div class="desc">\n          {{\'APPLICATION_DASHBOARD_ACTIVE\' | translate}}\n        </div>\n      </div>\n      <a class="more" href="/voice/realtime/view/queues">\n      {{\'APPLICATION_VIEW_MORE\' | translate}} <i class="m-icon-swapright m-icon-white"></i>\n      </a>\n    </div>\n  </div>\n</div>\n'),a.put("app/desk/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n      <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-handbag"></i>\n                                  <a href="/desk/list">{{ \'APPLICATION_DESK_COM\' | translate }}</a>\n                           </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-handbag font-green-sharp"></i>\n                                 <span class="caption-subject">{{ \'APPLICATION_DESK_COM\' | translate }}</a> </span>\n                          </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="accounts.checked.length">\n                                                <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle" href="#" data-toggle="dropdown">\n                                                  <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }} <i class="fa fa-angle-down"></i>\n                                              </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <li>\n                                                          <a href="/desk/wizard">\n                                                               <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                         </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getAccounts([\'name\',\'username\',\'remoteUri\',\'authType\',\'consumerKey\',\'consumerSecret\',\'token\',\'tokenSecret\',\'password\'])" csv-header="[\'Name\', \'Username\', \'Remote Address\', \'Authentication Type\', \'Consumer Key\', \'Consumer Secret\', \'Token\', \'Token Secret\', \'Password\']" field-separator=";" filename="desk_accounts.csv">\n                                   <i class="icon-cloud-download"></i></a>\n                               </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedDeskAccounts" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                    <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="7">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.accountsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                              <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="accountByPage in accountsByPage | filter: $select.search">\n                                                                                                 <div ng-bind-html="accountByPage.name | highlight: $select.search"></div>\n                                                                                             </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(account, checked)" checklist-model checklist-value="id"></th>\n                                                  <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                <th st-sort="username">{{ \'APPLICATION_EMAIL\' | translate }}</th>\n                                                               <th st-sort="remoteUri">{{ \'APPLICATION_REMOTE_ADDRESS\' | translate }}</th>\n                                                         <th>{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                                <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="account in displayedDeskAccounts" class="animate-repeat">\n                                                             <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="accounts.checked" checklist-value="account.id"></td>\n                                         <td>{{account.name}}</td>\n                                             <td>{{account.username}}</td>\n                                                           <td>{{account.remoteUri}}</td>\n                                                                <td>{{account.description}}</td>\n                                            <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/desk/view/{{account.id}}/account">\n                                                                           {{ \'APPLICATION_EDIT\' | translate }}\n                                                </a>\n                                                                  <a class="btn default btn-xs green-stripe" data-ng-click="checkAccount(account.id)">\n                                                                          {{ \'APPLICATION_CHECK_CONNECTION\' | translate }}\n                                            </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(account.name,account.id)">\n                                                                         {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedDeskAccounts.length">\n                                                              <td colspan="7" style="text-align:center;">\n                                                                   <i>No account available</i>\n                                                           </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="email" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_EMAIL\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                      </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="remoteUri" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_REMOTE_ADDRESS\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                 </div>\n                                                    </td>\n                                                 <td/>\n                                                             <td/>\n                                           </tr>\n                                           <tr>\n                                            <td colspan="7" class="text-center">\n                                                                    <div class="pagination" st-pagination st-items-by-page="conf.accountsByPage.value" st-displayed-pages="7"></div>\n                                            </td>\n                                       </tr>\n                                       </tfoot>\n                                    </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/desk/view/view.account.html",'<div class="row">\n       <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_ACCOUNT\' | translate}}</span>\n                         </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n                                     </li>\n                         </ul>\n                 </div>\n                        <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n              <!-- START NAME -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.name.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.name" required/>\n                                                                <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n                                                     <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n                                                    </div>\n                                                        <!-- END DESCRIPTION -->\n\n              <!-- START USERNAME -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                            <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.username" required/>\n                                                            <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n              <!-- START REMOTE ADDRESS -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                              <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.remoteUri" required />\n                                                            <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n                                                       <!-- START AUTH TYPE -->\n                                                      <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.authType.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}</label>\n                                                              <ui-select data-ng-model="account.authType" name="authType" theme="bootstrap" required>\n                                                                       <ui-select-match placeholder="{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n                                                                        <ui-select-choices repeat="type in [\'basic\', \'oauth\'] | filter: $select.search">\n                                                                          <div data-ng-bind="type | capitalize | highlight: $select.search"></div>\n                                                                      </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.formSetting.authType.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- START AUTH TYPE -->\n\n              <!-- START PASSWORD -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}" ng-slide-down="account.authType == \'basic\'" lazy-render duration="1">\n                                                          <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                            <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.password" required/>\n                                                                <span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END PASSWORD -->\n\n                                                       <!-- START CONSUMER KEY -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.consumerKey.$invalid}" ng-slide-down="account.authType == \'oauth\'" lazy-render duration="1">\n                                                               <label class="control-label">{{\'APPLICATION_CONSUMER_KEY\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="consumerKey" placeholder="{{\'APPLICATION_CONSUMER_KEY\' | translate}}" class="form-control" data-ng-model="account.consumerKey" required/>\n                                                          <span data-ng-show="forms.formSetting.consumerKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END CONSUMER KEY -->\n\n              <!-- START CONSUMER SECRET -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.consumerSecret.$invalid}" ng-slide-down="account.authType == \'oauth\'" lazy-render duration="1">\n                                                            <label class="control-label">{{\'APPLICATION_CONSUMER_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                             <input type="text" name="consumerSecret" placeholder="{{\'APPLICATION_CONSUMER_SECRET\' | translate}}" class="form-control" data-ng-model="account.consumerSecret" required/>\n                                                         <span data-ng-show="forms.formSetting.consumerSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                   <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END CONSUMER SECRET -->\n\n              <!-- START TOKEN -->\n                                                    <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.token.$invalid}" ng-slide-down="account.authType == \'oauth\'" lazy-render duration="1">\n                                                             <label class="control-label">{{\'APPLICATION_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                               <input type="text" name="token" placeholder="{{\'APPLICATION_TOKEN\' | translate}}" class="form-control" data-ng-model="account.token" required/>\n                                                             <span data-ng-show="forms.formSetting.token.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END TOKEN -->\n\n              <!-- START TOKEN SECRET-->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.tokenSecret.$invalid}" ng-slide-down="account.authType == \'oauth\'" lazy-render duration="1">\n                                                               <label class="control-label">{{\'APPLICATION_TOKEN_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="tokenSecret" placeholder="{{\'APPLICATION_TOKEN_SECRET\' | translate}}" class="form-control" data-ng-model="account.tokenSecret" required/>\n                                                          <span data-ng-show="forms.formSetting.tokenSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END TOKEN SECRET-->\n\n                                                    <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END GENERAL TAB -->\n\n                            </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/desk/view/view.configuration.html",'<div class="row" data-ng-init="initConfiguration()">\n        <div class="col-md-12">\n               <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_CONFIGURATION\' | translate }} WIZARD</a> </span>\n                              </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createConfiguration()">\n            <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="formValidation(formsConfiguration.info.$valid)">\n                                                   <form name="formsConfiguration.info" novalidate>\n                                                              <!-- START NAME -->\n                                                           <div class="form-group" data-ng-class="{\'has-error\': formsConfiguration.info.$submitted && formsConfiguration.info.name.$invalid}">\n                                                                 <label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                        <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="configuration.name" required/>\n                                                                  <span data-ng-show="formsConfiguration.info.name.$invalid && formsConfiguration.info.$submitted" class="help-block help-block-error">\n                                                                         <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END NAME -->\n                                                             <!-- START DESCRIPTION -->\n                                                            <div class="form-group">\n                                                                      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                                      <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="configuration.description"/>\n                                                              </div>\n                                                                <!-- END DESCRIPTION -->\n\n                                                            <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n                                                       </form>\n                                               </wz-step>\n\n                                          <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                                    <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                         </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/desk/view/view.configurationSettings.html",'<div class="row" data-ng-init="getConfiguration();getVariables();getFields();">\n   <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n                            </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n                                      </li>\n          <li>\n                                         <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n                                  </li>\n          <li>\n                                         <a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n                                       </li>\n                         </ul>\n                 </div>\n                        <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- SUBJECT TAB -->\n                                  <div class="tab-pane ui-padding active" id="tab_1_1">\n            <div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by blank space:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItemSubject()"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n                                          <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n                <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n                 <div class="col-md-3">\n                  <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n                       <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n                     <ui-select-choices repeat="item in fieldType | filter: $select.search">\n                         <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n                    </ui-select-choices>\n                        </ui-select>\n                </div>\n                <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n                        <div class="form-group">\n                        <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n                      </div>\n                      </div>\n                <div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n                      <div class="form-group">\n                        <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                     <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n                              <div ng-bind-html="variable.name | highlight: $select.search"></div>\n                        </ui-select-choices>\n                        </ui-select>\n                        </div>\n                      </div>\n                <div class="col-md-1">\n                  <div class="form-group">\n                        <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n                  </div>\n                      </div>\n              </div>\n                                            <!-- </div> -->\n                                       </div>\n                                        <!-- END SUBJECT TAB -->\n          <!-- DESCRIPTION TAB -->\n                                  <div class="tab-pane ui-padding" id="tab_1_2">\n                                                <div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by new line:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItemDescription()"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n                                            <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n                                                    <div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n                                                               <!-- <pre>\n                                                                    {{descriptionItem|json}}\n                                                              </pre> -->\n                  <div class="col-md-2">\n                  <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n                   <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n                        <ui-select-choices repeat="item in descFieldType | filter: $select.search">\n                     <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n                       </ui-select-choices>\n                        </ui-select>\n                </div>\n                <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n                    <div class="form-group">\n                        <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n                      </div>\n                      </div>\n                                                          <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n                                                                       <input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n                                                          </div>\n                                                                <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n                                                                       <ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n                        <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n                     <ui-select-choices repeat="item in fieldType | filter: $select.search">\n                         <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n                    </ui-select-choices>\n                        </ui-select>\n                                                          </div>\n                                                                <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'string\'">\n                                                                        <input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n                                                         </div>\n                      <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'variable\'">\n                        <div class="form-group">\n                        <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                     <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n                              <div ng-bind-html="variable.name | highlight: $select.search"></div>\n                        </ui-select-choices>\n                        </ui-select>\n                        </div>\n                      </div>\n                <div class="col-md-1">\n                  <div class="form-group">\n                        <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n                      </div>\n                      </div>\n              </div>\n                                            <!-- </div> -->\n                                       </div>\n                                        <!-- END DESCRIPTION TAB -->\n          <!-- FIELDS TAB -->\n                                   <div class="tab-pane ui-padding" id="tab_1_3">\n                                                <div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">Add how to fill the fields present in your account:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItemField()"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n                                             <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n                <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n                     <div class="col-md-3">\n                  <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n                   <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n                    <ui-select-choices repeat="item.id as item in accountFields | filter: $select.search">\n                          <div ng-bind-html="item.label | highlight: $select.search"></div>\n                   </ui-select-choices>\n                        </ui-select>\n                </div>\n                <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n                    <div class="form-group">\n                                                                              <ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n                               <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected}}</ui-select-match>\n                                  <ui-select-choices repeat="item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n                                  <div ng-bind-html="item | highlight: $select.search"></div>\n                                 </ui-select-choices>\n                                </ui-select>\n                  </div>\n                      </div>\n                                                          <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n                                                                 <div class="form-group">\n                                                                              <ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n                                <ui-select-choices repeat="item in fieldType | filter: $select.search">\n                                 <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n                               </ui-select-choices>\n                                </ui-select>\n                                                                  </div>\n                                                                </div>\n                                                                <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n                        <div class="form-group">\n                                                                              <input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n                    </div>\n                      </div>\n                                                          <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n                      <div class="form-group">\n                                                                              <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n                         <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                     <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n                              <div ng-bind-html="variable.name | highlight: $select.search"></div>\n                        </ui-select-choices>\n                        </ui-select>\n                        </div>\n                      </div>\n                <div class="col-md-1">\n                  <div class="form-group">\n                        <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n                    </div>\n                      </div>\n              </div>\n                                            <!-- </div> -->\n                                       </div>\n                                        <!-- END FIELDS TAB -->\n                               </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),
-a.put("app/desk/view/view.configurations.html",'<div ui-view class="profile-content">\n        <div class="row" data-ng-init="getConfigurations()">\n          <div class="col-md-12">\n                       <div class="portlet light">\n                           <div class="portlet-title  tabbable-line">\n                                    <div class="caption caption-md">\n                                              <i class="icon-globe theme-font hide"></i>\n                                            <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CONFIGURATIONS\' | translate}}</span>\n                                  </div>\n                                        <div class="actions">\n                                         <div class="btn-group">\n                                                       <a class="btn green-jungle " href="/desk/view/{{account.id}}/configuration" data-toggle="dropdown">\n                                                           <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONFIGURATION\' | translate }}\n                                                 </a>\n                                          </div>\n                                        </div>\n                                </div>\n                                <div class="portlet-body">\n                                    <!-- START TABLE -->\n                                  <table class="table table-striped table-bordered table-hover">\n                                                  <thead>\n                                                       <tr>\n                                                            <th>{{\'APPLICATION_NAME\' | translate}}</th>\n                                                                     <th>{{\'APPLICATION_DESCRIPTION\' | translate}}</th>\n                                                                  <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                                      </tr>\n                                                 </thead>\n                                                    <tbody>\n                                                   <tr data-ng-repeat="configuration in configurations">\n                                                                     <td>{{configuration.name}}</td>\n                                                                       <td>{{configuration.description}}</td>\n                                                      <td>\n                                                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/desk/view/{{account.id}}/configurations/settings/{{configuration.id}}">\n                                                                                      {{ \'APPLICATION_SETTINGS\' | translate}}\n                                                     </a>\n                                                  <a class="btn default btn-xs red-stripe" data-ng-click="deleteConfiguration(configuration.name,configuration.id)">\n                                                                                    {{ \'APPLICATION_DELETE\' | translate }}\n                                                      </a>\n                                                </td>\n                                               </tr>\n                                                             <tr data-ng-hide="configurations.length">\n                                                                     <td colspan="5" style="text-align:center;">\n                                                                           <i>No configuration available</i>\n                                                                     </td>\n                                                         </tr>\n                                           </tbody>\n                                    </table>\n                                      <!-- END TABLE -->\n                            </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/desk/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initView()">\n   <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n          <i class="icon-handbag"></i>\n          <a href="/desk/list">{{ \'APPLICATION_DESK_COM\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <a href="#">{{account.name}}</a>\n                              </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img src="assets/images/media/desk.png" class="img-responsive">\n                               </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{account.name}}\n                                      </div>\n                                        <div class="profile-usertitle-job">\n                                           {{account.remoteUri}}\n                                 </div>\n                                </div>\n                                <!-- END SIDEBAR USER TITLE -->\n                               <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.desk.view.account\')}">\n                                                  <a ng-href="/desk/view/{{account.id}}/account">\n                                                       <i class="icon-user"></i>\n                                                     {{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n                                                </li>\n                                         <li data-ng-class="{active: $state.includes(\'main.desk.view.configurations\') || $state.is(\'main.desk.view.configuration\')}">\n                                                      <a ng-href="/desk/view/{{account.id}}/configurations">\n                                                        <i class="icon-settings"></i>\n                                                 {{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n                                         </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/desk/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\n        <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-handbag"></i>\n                                          <a href="/desk/list">{{ \'APPLICATION_DESK_COM\' | translate }}</a>\n                                   </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initWizard()">\n  <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n          <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n                                                <form name="forms.formSetting" novalidate>\n\n                                                  <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.name.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n                                                           <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n                                                       </div>\n                                                        <!-- END DESCRIPTION -->\n\n              <!-- START USERNAME -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                            <input type="text" name="username" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.username" required ng-remote-validate="/api/desk/accounts/validate/username"/>\n                                                         <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                               <span data-ng-show="(forms.formSetting.username.$touched || forms.formSetting.$submitted) && forms.formSetting.username.$error.ngRemoteValidate" class="help-block help-block-error">\n                                   <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n                                       </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n\n              <!-- START REMOTE ADDRESS -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                              <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.remoteUri" required ng-remote-validate="/api/desk/accounts/validate/remoteUri"/>\n                                                             <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                               <span data-ng-show="(forms.formSetting.remoteUri.$touched || forms.formSetting.$submitted) && forms.formSetting.remoteUri.$error.ngRemoteValidate" class="help-block help-block-error">\n                                         <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_DOMAIN\' | translate}}.\n                                 </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n                                                       <!-- START AUTH TYPE -->\n                                                      <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.authType.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}</label>\n                                                              <ui-select data-ng-model="item.authType" name="authType" theme="bootstrap" required>\n                                                                  <ui-select-match placeholder="{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n                                                                        <ui-select-choices repeat="type in [\'basic\', \'oauth\'] | filter: $select.search">\n                                                                          <div data-ng-bind="type | capitalize | highlight: $select.search"></div>\n                                                                      </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.formSetting.authType.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- START AUTH TYPE -->\n\n              <!-- START PASSWORD -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}" ng-slide-down="item.authType == \'basic\'" lazy-render duration="1">\n                                                             <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                            <input type="password" name="password" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n                                                               <span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END PASSWORD -->\n\n              <!-- START CONSUMER KEY -->\n                                                    <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.consumerKey.$invalid}" ng-slide-down="item.authType == \'oauth\'" lazy-render duration="1">\n                                                          <label class="control-label">{{\'APPLICATION_CONSUMER_KEY\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="consumerKey" placeholder="{{\'APPLICATION_CONSUMER_KEY\' | translate}}" class="form-control" data-ng-model="item.consumerKey" required/>\n                                                             <span data-ng-show="forms.formSetting.consumerKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END CONSUMER KEY -->\n\n              <!-- START CONSUMER SECRET -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.consumerSecret.$invalid}" ng-slide-down="item.authType == \'oauth\'" lazy-render duration="1">\n                                                               <label class="control-label">{{\'APPLICATION_CONSUMER_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                             <input type="text" name="consumerSecret" placeholder="{{\'APPLICATION_CONSUMER_SECRET\' | translate}}" class="form-control" data-ng-model="item.consumerSecret" required/>\n                                                            <span data-ng-show="forms.formSetting.consumerSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                   <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END CONSUMER SECRET -->\n\n              <!-- START TOKEN -->\n                                                    <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.token.$invalid}" ng-slide-down="item.authType == \'oauth\'" lazy-render duration="1">\n                                                                <label class="control-label">{{\'APPLICATION_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                               <input type="text" name="token" placeholder="{{\'APPLICATION_TOKEN\' | translate}}" class="form-control" data-ng-model="item.token" required/>\n                                                                <span data-ng-show="forms.formSetting.token.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END TOKEN -->\n\n              <!-- START TOKEN SECRET-->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.tokenSecret.$invalid}" ng-slide-down="item.authType == \'oauth\'" lazy-render duration="1">\n                                                          <label class="control-label">{{\'APPLICATION_TOKEN_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="tokenSecret" placeholder="{{\'APPLICATION_TOKEN_SECRET\' | translate}}" class="form-control" data-ng-model="item.tokenSecret" required/>\n                                                             <span data-ng-show="forms.formSetting.tokenSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END TOKEN SECRET-->\n\n                                                    <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n                                               </form>\n                                       </wz-step>\n\n                                  <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                             <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                            <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                 </wz-step>\n\n                          </wizard>\n\n                   </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/fax/account/list/list.html",'<div class="row">\n        <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-paper-plane"></i>\n                                              <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n                                         <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-notebook"></i>\n                                         <a href="/fax/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n                                   </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n       <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a> </span>\n                          </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="fax_accounts.checked.length">\n                                            <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle " href="#" data-toggle="dropdown">\n                                                 <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }} <i class="fa fa-angle-down"></i>\n                                              </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <li>\n                                                          <a href="/fax/accounts/wizard">\n                                                               <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                         </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getFaxAccounts([\'name\', \'description\', \'phone\'])" csv-header="[\'Name\', \'Description\', \'Phone\']" field-separator=";" filename="fax_accounts.csv">\n                                        <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedFaxAccounts" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                     <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="5">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.faxAccountsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="faxAccountByPage in faxAccountsByPage | filter: $select.search">\n                                                                                                   <div ng-bind-html="faxAccountByPage.name | highlight: $select.search"></div>\n                                                                                          </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(faxAccount, checked)" checklist-model checklist-value="id"></th>\n                                               <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                            <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                          <th st-sort="phone">{{ \'APPLICATION_PHONE\' | translate }}</th>\n                                                              <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="faxAccount in displayedFaxAccounts" class="animate-repeat">\n                                                           <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="fax_accounts.checked" checklist-value="faxAccount.id"></td>\n                                          <td>{{faxAccount.name}}</td>\n                                                            <td>{{faxAccount.description}}</td>\n                                                           <td>{{faxAccount.phone}}</td>\n                                       <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/fax/accounts/view/{{faxAccount.id}}/settings">\n                                                                               {{ \'APPLICATION_EDIT\' | translate }}\n                                                </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(faxAccount.name,faxAccount.id)">\n                                                                           {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedFaxAccounts.length">\n                                                               <td colspan="5" style="text-align:center;">\n                                                                   <i>No fax account available</i>\n                                                               </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td></td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="phone" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_PHONE\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                      </div>\n                                                    </td>\n                                                 <td>\n                                                  </td>\n                                               </tr>\n                                           <tr>\n                                            <td colspan="5" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.faxAccountsByPage.value" st-displayed-pages="7"></div>\n                                         </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/fax/account/view/view.applications.html",'<div class="row" data-ng-init="initApplication()">\n  <div class="col-md-12">\n\n             <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n             <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="formValidation(forms.info.$valid)">\n                                                        <form name="forms.info" novalidate>\n                                                           <!-- START APP -->\n                                                            <div class="form-group"  data-ng-class="{\'has-error\': (forms.info.app.$touched || forms.info.$submitted) && forms.info.app.$invalid}">\n                                                                      <label class="control-label">{{\'APPLICATION_APPLICATION\' | translate}}</label>\n                                                                      <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n                                         <ui-select-match placeholder="{{\'APPLICATION_APPLICATION\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n                                         <ui-select-choices repeat="filter in [\'queue\', \'agent\'] | filter: $select.search">\n                                          <div ng-bind-html="filter | uppercase | highlight: $select.search"></div>\n                                           </ui-select-choices>\n                                        </ui-select>\n                                                                        <span data-ng-show="(forms.info.app.$touched || forms.info.$submitted) && forms.info.app.$invalid && forms.info.app.$error.required" class="help-block help-block-error">\n                                                                             <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END APP -->\n\n                                                            <!-- START APPADATA -->\n                                                               <div class="form-group"  data-ng-class="{\'has-error\': (forms.info.appdata.$touched || forms.info.$submitted) && forms.info.appdata.$invalid}">\n                                                                      <label class="control-label">{{\'APPLICATION_ARGUMENTS\' | translate}}</label>\n                                                                        <ui-select data-ng-model="application.appdata" name="appdata" theme="bootstrap" required>\n                                         <ui-select-match placeholder="{{\'APPLICATION_ARGUMENTS\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                          <ui-select-choices repeat="item in items | filter: $select.search">\n                                             <div data-ng-bind-html="item.name | highlight: $select.search"></div>\n                                       </ui-select-choices>\n                                        </ui-select>\n                                                                        <span data-ng-show="(forms.info.appdata.$touched || forms.info.$submitted) && forms.info.appdata.$invalid && forms.info.appdata.$error.required" class="help-block help-block-error">\n                                                                         <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END APPADATA -->\n\n                                                               <!-- START TIMEOUT -->\n                                                                <div class="form-group"  data-ng-class="{\'has-error\': (forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid}">\n                                                                      <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}</label>\n                                                                  <input type="text" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="application.timeout" required>\n                                                                    <span data-ng-show="(forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid && forms.info.timeout.$error.required" class="help-block help-block-error">\n                                                                         <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END TIMEOUT -->\n\n                                                                <!-- START INTERVAL -->\n                                                               <!-- <div class="form-group" data-ng-class="{\'has-error\': (forms.info.interval.$touched || forms.info.$submitted) && forms.info.interval.$invalid}">\n                                                                        <label class="control-label">{{\'APPLICATION_INTERVAL\' | translate}}</label>\n                                                                 <input type="text" name="interval" placeholder="*|*|*|*" class="form-control" data-ng-model="application.interval">\n                                                                   <span data-ng-show="(forms.info.info.interval.$touched || forms.info.$submitted) && forms.info.interval.$invalid && forms.info.interval.$error.required" class="help-block help-block-error">\n                                                                         <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div> -->\n                                                            <!-- END INTERVAL -->\n\n                                                               <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n                                                       </form>\n                                               </wz-step>\n\n                                          <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                                    <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                         </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/fax/account/view/view.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row" data-ng-init="initView()">\n   <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-paper-plane"></i>\n                                      <a href="/">{{ \'APPLICATION_FAX\' | translate }}</a>\n                                 <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-notebook"></i>\n                                 <a href="/fax/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n                                   <i class="fa fa-angle-right" data-ng-show="account"></i>\n                              </li>\n                         <li data-ng-show="account">\n                                   <a href="#">{{ account.name || account.description }}</a>\n                             </li>\n                 </ul>\n         </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n               <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/account.png" class="img-responsive">\n                            </div>\n                                <!-- END SIDEBAR USERPIC -->\n\n                                <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{ account.name || account.description }}\n                                     </div>\n                                        <div class="profile-usertitle-job">\n                                           {{ account.phone }}\n                                   </div>\n                                </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.fax.accounts.view.settings\')}">\n                                                 <a href="/fax/accounts/view/{{account.id}}/settings">\n                                                 <i class="icon-settings"></i>\n                                                 {{\'APPLICATION_SETTINGS\' | translate}} </a>\n                                         </li>\n                                         <li data-ng-class="{active: $state.is(\'main.fax.accounts.view.routes\') || $state.is(\'main.fax.accounts.view.applications\')}">\n                                                     <a href="/fax/accounts/view/{{account.id}}/routes">\n                                                   <i class="icon-directions"></i>\n                                                       {{\'APPLICATION_ROUTES\' | translate}} </a>\n                                           </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/fax/account/view/view.routes.html",'<div class="row" data-ng-init="getFaxApplications()">\n     <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title  tabbable-line">\n                            <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_ROUTES\' | translate}}</span>\n                          </div>\n                                <div class="actions">\n                                 <div class="btn-group">\n                                               <a class="btn green-jungle " href="/fax/accounts/view/{{account.id}}/applications" data-toggle="dropdown">\n                                                    <i class="icon-plus"></i> {{ \'APPLICATION_NEW_APPLICATION\' | translate }}\n                                           </a>\n                                  </div>\n                                </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table class="table table-striped table-bordered table-hover">\n                                          <thead>\n                                               <tr>\n                                                                <!-- <th width="5%">{{ \'APPLICATION_ID\' | translate }}</th> -->\n                                                 <th>{{\'APPLICATION_APPLICATION\' | translate}}</th>\n                                                  <th>{{\'APPLICATION_ARGUMENTS\' | translate}}</th>\n                                                                <th>{{\'APPLICATION_TIMEOUT\' | translate}}</th>\n                                                  <!-- <th>{{\'APPLICATION_INTERVAL\' | translate}}</th> -->\n                                                                <th width="5%">{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                           </tr>\n                                         </thead>\n                                            <tbody ui-sortable="sortableOptions" data-ng-model="faxApplications">\n                                     <tr data-ng-repeat="application in faxApplications | orderBy:\'priority\'">\n                                                               <td><span data-ng-class="{\'label-info\': application.app == \'agent\', \'label-success\': application.app == \'queue\'}" class="label label-sm"> {{application.app}} </span></td>\n                                                            <td>{{getAppdata(application.app, application.appdata)}}</td>\n                                                         <td>{{application.timeout}}</td>\n                                                              <!-- <td>{{application.interval}}</td> -->\n                                          <td>\n                                            <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(application.app,application.id)">\n                                                                          {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="faxApplications.length">\n                                                            <td colspan="5" style="text-align:center;">\n                                                                   <i>No applications available</i>\n                                                              </td>\n                                                 </tr>\n                                   </tbody>\n                            </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/fax/account/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_SETTINGS\' | translate}}</span>\n                                </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n                                     </li>\n                         </ul>\n                 </div>\n                        <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItemFaxAccount()" novalidate>\n                                                        <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.name.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.name" required/>\n                                                                <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n                                                    </div>\n                                                        <!-- END DESCRIPTION -->\n\n                                                    <!-- START TRUNKS -->\n                                                 <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.trunk.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                <ui-select data-ng-model="account.TrunkId" name="trunk" theme="bootstrap" required>\n                                                                   <ui-select-match placeholder="{{\'APPLICATION_TRUNK\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                      <ui-select-choices repeat="trunk.id as trunk in trunks | filter: $select.search">\n                                                                             <div data-ng-bind="trunk.name | highlight: $select.search"></div>\n                                                                     </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.formSetting.trunk.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- START TRUNKS -->\n\n                                                       <!-- START PHONE -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.phone.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_PHONE\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                               <input type="text" name="phone" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="account.phone" required/>\n                                                             <span data-ng-show="forms.formSetting.phone.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END PHONE -->\n\n                                                  <!-- START ECM -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_ECM\' | translate}}<span class="required" aria-required="true">*</span></label><br>\n                                                              <!-- <button type="button" name="ecm" class="btn btn-default form-control" data-ng-model="account.ecm" bs-checkbox>{{account.ecm ? \'ENABLED\' : \'DISABLED\'}}</button> -->\n                                                          <input\n                                                                        bs-switch\n                                                                     ng-model="account.ecm"\n                                                                        type="checkbox"\n                                                                       switch-active="{{ isActive }}"\n                                                                        switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n                                                                    switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n                                                                  switch-on-color="{{ onColor }}"\n                                                                       switch-off-color="{{ offColor }}"\n                                                                     switch-animate="{{ animate }}"\n                                                                        switch-size="{{ size }}"\n                                                                      switch-label="{{ label }}"\n                                                                    switch-icon="{{ icon }}"\n                                                                      switch-radio-off="{{ radioOff }}"\n                                                                     switch-label-width="{{ labelWidth }}"\n                                                                 switch-handle-width="{{ handleWidth }}">\n                                                      </div>\n                                                        <!-- END ECM -->\n\n                                                    <!-- START FAXHEADER -->\n                                                      <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.faxheader.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_FAXHEADER\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                           <input type="text" name="faxheader" placeholder="{{\'APPLICATION_FAXHEADER\' | translate}}" class="form-control" data-ng-model="account.faxheader" required/>\n                                                         <span data-ng-show="forms.formSetting.faxheader.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END FAXHEADER -->\n\n                                                      <!-- START LOCALID -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.localid.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_LOCALID\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                             <input type="text" name="localid" placeholder="{{\'APPLICATION_LOCALID\' | translate}}" class="form-control" data-ng-model="account.localid" required/>\n                                                               <span data-ng-show="forms.formSetting.localid.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END LOCALID -->\n\n                                                        <!-- START MAXRATE -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.maxrate.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_MAXRATE\' | translate}}</label>\n                                                          <ui-select data-ng-model="account.maxrate" name="maxrate" theme="bootstrap" required>\n                                                                 <ui-select-match placeholder="{{\'APPLICATION_MAXRATE\' | translate}}">{{$select.selected}}</ui-select-match>\n                                                                 <ui-select-choices repeat="maxrate in [\'9600\', \'14400\', \'33600\'] | filter: $select.search">\n                                                                             <div data-ng-bind="maxrate | highlight: $select.search"></div>\n                                                                        </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.formSetting.maxrate.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- START MAXRATE -->\n\n                                                      <!-- START MINRATE -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.minrate.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_MINRATE\' | translate}}</label>\n                                                          <ui-select data-ng-model="account.minrate" name="minrate" theme="bootstrap" required>\n                                                                 <ui-select-match placeholder="{{\'APPLICATION_MAXRATE\' | translate}}">{{$select.selected}}</ui-select-match>\n                                                                 <ui-select-choices repeat="minrate in [\'9600\', \'14400\', \'33600\'] | filter: $select.search">\n                                                                             <div data-ng-bind="minrate | highlight: $select.search"></div>\n                                                                        </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.formSetting.minrate.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- START MINRATE -->\n\n                                                      <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END GENERAL TAB -->\n\n                            </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),
-a.put("app/fax/account/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\n     <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-paper-plane"></i>\n                                              <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n                                         <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-notebook"></i>\n                                         <a href="/fax/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n                                   </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initWizard()">\n  <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n          <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n                                                <form name="forms.formSetting" novalidate>\n\n                                                  <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.name.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n                                                           <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n                                                       </div>\n                                                        <!-- END DESCRIPTION -->\n\n                                                    <!-- START TRUNKS -->\n                                                 <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.trunk.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                <ui-select data-ng-model="item.TrunkId" name="trunk" theme="bootstrap" required>\n                                                                      <ui-select-match placeholder="{{\'APPLICATION_TRUNK\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                      <ui-select-choices repeat="trunk.id as trunk in trunks | filter: $select.search">\n                                                                             <div data-ng-bind="trunk.name | highlight: $select.search"></div>\n                                                                     </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.formSetting.trunk.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- START TRUNKS -->\n\n                                                       <!-- START PHONE -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.phone.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_PHONE\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                               <input type="text" name="phone" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="item.phone" required/>\n                                                                <span data-ng-show="forms.formSetting.phone.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END PHONE -->\n\n                                                  <!-- START ECM -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_ECM\' | translate}}<span class="required" aria-required="true">*</span></label><br>\n                                                              <!-- <button type="button" name="ecm" class="btn btn-default form-control" data-ng-model="item.ecm" bs-checkbox>{{item.ecm ? \'ENABLED\' : \'DISABLED\'}}</button> -->\n                                                                <input\n                                                                        bs-switch\n                                                                     ng-model="item.ecm"\n                                                                   type="checkbox"\n                                                                       switch-active="{{ isActive }}"\n                                                                        switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n                                                                    switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n                                                                  switch-on-color="{{ onColor }}"\n                                                                       switch-off-color="{{ offColor }}"\n                                                                     switch-animate="{{ animate }}"\n                                                                        switch-size="{{ size }}"\n                                                                      switch-label="{{ label }}"\n                                                                    switch-icon="{{ icon }}"\n                                                                      switch-radio-off="{{ radioOff }}"\n                                                                     switch-label-width="{{ labelWidth }}"\n                                                                 switch-handle-width="{{ handleWidth }}">\n                                                      </div>\n                                                        <!-- END ECM -->\n\n                                                    <!-- START FAXHEADER -->\n                                                      <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.faxheader.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_FAXHEADER\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                           <input type="text" name="faxheader" placeholder="{{\'APPLICATION_FAXHEADER\' | translate}}" class="form-control" data-ng-model="item.faxheader" required/>\n                                                            <span data-ng-show="forms.formSetting.faxheader.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END FAXHEADER -->\n\n                                                      <!-- START LOCALID -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.localid.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_LOCALID\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                             <input type="text" name="localid" placeholder="{{\'APPLICATION_LOCALID\' | translate}}" class="form-control" data-ng-model="item.localid" required/>\n                                                          <span data-ng-show="forms.formSetting.localid.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END LOCALID -->\n\n                                                        <!-- START MAXRATE -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.maxrate.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_MAXRATE\' | translate}}</label>\n                                                          <ui-select data-ng-model="item.maxrate" name="maxrate" theme="bootstrap" required>\n                                                                    <ui-select-match placeholder="{{\'APPLICATION_MAXRATE\' | translate}}">{{$select.selected}}</ui-select-match>\n                                                                 <ui-select-choices repeat="maxrate in [\'9600\', \'14400\', \'33600\'] | filter: $select.search">\n                                                                             <div data-ng-bind="maxrate | highlight: $select.search"></div>\n                                                                        </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.formSetting.maxrate.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- START MAXRATE -->\n\n                                                      <!-- START MINRATE -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.minrate.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_MINRATE\' | translate}}</label>\n                                                          <ui-select data-ng-model="item.minrate" name="minrate" theme="bootstrap" required>\n                                                                    <ui-select-match placeholder="{{\'APPLICATION_MAXRATE\' | translate}}">{{$select.selected}}</ui-select-match>\n                                                                 <ui-select-choices repeat="minrate in [\'9600\', \'14400\', \'33600\'] | filter: $select.search">\n                                                                             <div data-ng-bind="minrate | highlight: $select.search"></div>\n                                                                        </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.formSetting.minrate.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- START MINRATE -->\n\n                                                      <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n                                               </form>\n                                       </wz-step>\n\n                                  <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                             <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                            <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                 </wz-step>\n\n                          </wizard>\n\n                   </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/fax/automation/list/list.html",'<div class="row">\n     <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-envelope"></i>\n                                         <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n                                         <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-settings"></i>\n                                         <a href="#">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n                                 </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n       <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-settings font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a> </span>\n                               </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="faxAutomations.checked.length">\n                                          <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle " href="#" data-toggle="dropdown">\n                                                 <i class="icon-plus"></i> {{ \'APPLICATION_NEW_AUTOMATION\' | translate }} <i class="fa fa-angle-down"></i>\n                                           </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <li>\n                                                          <a href="/fax/automations/wizard">\n                                                            <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                         </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getFaxAutomations([\'name\', \'description\'])" csv-header="[\'Name\', \'Description\']" field-separator=";" filename="fax_automations.csv">\n                                        <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedFaxAutomations" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                  <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="6">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.faxAutomationsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                                <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="faxAutomationByPage in faxAutomationsByPage | filter: $select.search">\n                                                                                                     <div ng-bind-html="faxAutomationByPage.name | highlight: $select.search"></div>\n                                                                                               </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <!-- <th st-sort="id" width="5%" st-sort-default="reverse">{{ \'APPLICATION_ID\' | translate }}</th> -->\n                                                              <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(faxAutomation, checked)" checklist-model checklist-value="id"></th>\n                                                    <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                            <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                          <th>{{ \'APPLICATION_STATUS\' | translate }}</th>\n                                                             <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="faxAutomation in displayedFaxAutomations">\n                                                            <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="faxAutomations.checked" checklist-value="faxAutomation.id"></td>\n                                             <td>{{faxAutomation.name}}</td>\n                                                         <td>{{faxAutomation.description}}</td>\n                                                                <td>\n                                                                  <input\n                                                                                data-ng-change="updateItem(faxAutomation.id, faxAutomation.status)",\n                                                              bs-switch\n                                                             ng-model="faxAutomation.status"\n                                                               type="checkbox"\n                                                               switch-active="{{ isActive }}"\n                                                                switch-on-text="{{ onText }}"\n                                                                 switch-off-text="{{ offText }}"\n                                                               switch-on-color="{{ onColor }}"\n                                                               switch-off-color="{{ offColor }}"\n                                                             switch-animate="{{ animate }}"\n                                                                switch-size="{{ size }}"\n                                                              switch-label="{{ label }}"\n                                                                    switch-icon="{{ icon }}"\n                                                              switch-radio-off="{{ radioOff }}"\n                                                             switch-label-width="{{ labelWidth }}"\n                                                                 switch-handle-width="{{ handleWidth }}">\n                                                          </td>\n                                       <td>\n                                                                    <a class="btn default btn-xs blue-stripe" data-ng-href="/fax/automations/view/{{faxAutomation.id}}/settings">\n                                                                         {{ \'APPLICATION_EDIT\' | translate }}\n                                                </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(faxAutomation.name, faxAutomation.id)">\n                                                                            {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedFaxAutomations.length">\n                                                            <td colspan="6" class="text-center">\n                                                                  <i>{{\'MESSAGE_NO_AVAILABLE_AUTOMATIONS\' | translate}}</i>\n                                                           </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_USERNAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                    </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                             <td/>\n                                                         <td/>\n                                           </tr>\n                                           <tr>\n                                            <td colspan="6" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.faxAutomationsByPage.value" st-displayed-pages="7"></div>\n                                              </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/fax/automation/view/view.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row" data-ng-init="initView()">\n        <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-envelope"></i>\n                                 <a href="/">{{ \'APPLICATION_FAX\' | translate }}</a>\n                                 <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-settings"></i>\n                                 <a href="/fax/automations/list">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n                                     <i class="fa fa-angle-right" data-ng-show="automation"></i>\n                           </li>\n                         <li data-ng-show="automation">\n                                        <a href="#">{{ automation.description || automation.name }}</a>\n                               </li>\n                 </ul>\n         </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n               <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/automation.png" class="img-responsive">\n                         </div>\n                                <!-- END SIDEBAR USERPIC -->\n\n                                <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{ automation.name }}\n                                 </div>\n                                        <div class="profile-usertitle-job">\n                                           {{automation.description}}\n                                    </div>\n                                </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.fax.automations.view.settings\')}">\n                                                      <a href="/fax/automations/view/{{automation.id}}/settings">\n                                                   <i class="icon-settings"></i>\n                                                 {{\'APPLICATION_SETTINGS\' | translate}} </a>\n                                         </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/fax/automation/view/view.settings.html",'<div class="row">\n    <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_SETTINGS\' | translate}}</span>\n                                </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n                                     </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_2" data-toggle="tab">OR {{\'APPLICATION_CONDITIONS\' | translate}}</a>\n                                        </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_3" data-toggle="tab">AND {{\'APPLICATION_CONDITIONS\' | translate}}</a>\n                                       </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_4" data-toggle="tab">{{\'APPLICATION_ACTIONS\' | translate}}</a>\n                                      </li>\n                         </ul>\n                 </div>\n                        <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.info" data-ng-submit="forms.info.$valid && updateAutomation()" novalidate>\n                                                  <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="automation.name" required/>\n                                                             <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid && forms.info.name.$error.required" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="automation.description"/>\n                                                 </div>\n                                                        <!-- END DESCRIPTION -->\n\n                                                    <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END GENERAL TAB -->\n\n                                    <!-- IMAP TAB -->\n                                     <div class="tab-pane" id="tab_1_2">\n                                           <div class="row">\n                                                     <div class="col-md-12">\n                                                               <a href="#" data-ng-click="addNewCondition(\'or\')">\n                                                                  <i class="icon-plus"></i>\n                                                             </a>\n                                                          <i class="icon-people"></i>\n                                                           <span class="caption-subject">Meet <strong>all</strong> of the following conditions:</a> </span>\n                                                      </div>\n                                                </div>\n                                                <div class="row" data-ng-repeat="condition in automation.BusinessConditions | filter: {type: \'or\'}">\n                                                        <div class="col-md-12">\n                                                               <div class="row">\n                                                                     <div class="col-md-12">\n                                                                               <hr>\n                                                                  </div>\n                                                                </div>\n                                                                <div class="row">\n                                                                     <div class="col-md-4">\n                                                                                <div class="form-group">\n                                                                                      <ui-select data-ng-model="condition.condition" theme="bootstrap" on-select="updateCondition(condition.id, \'condition\', $item.key)" required>\n                                                                                                <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                          <ui-select-choices repeat="condition.key as condition in automations.conditions | filter: $select.search">\n                                                                                                    <div data-ng-bind="condition.value | highlight: $select.search"></div>\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="col-md-3">\n                                                                                <div class="form-group">\n                                                                                      <ui-select data-ng-model="condition.operator" theme="bootstrap" on-select="updateCondition(condition.id, \'operator\', $item.key)" required>\n                                                                                          <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                         <ui-select-choices repeat="operator.key as operator in getOperatorsByCondition(condition.condition) | filter: $select.search">\n                                                                                                        <div data-ng-bind="operator.value | highlight: $select.search"></div>\n                                                                                         </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="col-md-4" data-ng-switch="condition.condition">\n                                                                           <div class="form-group" data-ng-switch-when="status">\n                                                                                 <ui-select data-ng-model="condition.attribute" theme="bootstrap" on-select="updateCondition(condition.id, \'attribute\', $item.key)" required>\n                                                                                                <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                         <ui-select-choices repeat="attribute.key as attribute in getAttributesByCondition(condition.condition) | filter: $select.search">\n                                                                                                     <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="form-group" data-ng-switch-when="createdAt">\n                                                                                      <input class="form-control" type="text" name="attributeOr{{$index}}" value="" data-ng-model="condition.attribute" ng-blur="updateCondition(condition.id, \'attribute\', condition.attribute)" data-ng-class="{\'has-error\': forms.and.attributeAnd{{$index}}.$invalid}" required>\n                                                                            </div>\n                                                                        </div>\n                                                                        <div class="col-md-1">\n                                                                                <a href="#" data-ng-click="removeCondition(condition.id)">\n                                                                                    <i class="icon-close"></i>\n                                                                            </a>\n                                                                  </div>\n                                                                </div>\n                                                        </div>\n                                                </div>\n                                                <div class="row" data-ng-hide="automation.BusinessConditions.length">\n                                                 <div class="col-md-12 text-center">\n                                                           <hr>\n                                                          <i>Add condition</i>\n                                                  </div>\n                                                </div>\n                                        </div>\n                                        <!-- END IMAP TAB -->\n\n                                       <div class="tab-pane" id="tab_1_3">\n                                           <div class="row">\n                                                     <div class="col-md-12">\n                                                               <a href="#" data-ng-click="addNewCondition(\'and\')">\n                                                                 <i class="icon-plus"></i>\n                                                             </a>\n                                                          <i class="icon-people"></i>\n                                                           <span class="caption-subject">Meet <strong>all</strong> of the following conditions:</a> </span>\n                                                      </div>\n                                                </div>\n                                                <div class="row" data-ng-repeat="condition in automation.BusinessConditions | filter: {type: \'and\'}">\n                                                       <div class="col-md-12">\n                                                               <div class="row">\n                                                                     <div class="col-md-12">\n                                                                               <hr>\n                                                                  </div>\n                                                                </div>\n                                                                <div class="row">\n                                                                     <div class="col-md-4">\n                                                                                <div class="form-group">\n                                                                                      <ui-select data-ng-model="condition.condition" name="conditionAnd{{$index}}" theme="bootstrap" on-select="updateCondition(condition.id, \'condition\', $item.key)" required>\n                                                                                          <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                          <ui-select-choices repeat="condition.key as condition in automations.conditions | filter: $select.search">\n                                                                                                    <div data-ng-bind="condition.value | highlight: $select.search"></div>\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="col-md-3">\n                                                                                <div class="form-group">\n                                                                                      <ui-select data-ng-model="condition.operator" name="operatorAnd{{$index}}" theme="bootstrap" on-select="updateCondition(condition.id, \'operator\', $item.key)" required>\n                                                                                             <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                         <ui-select-choices repeat="operator.key as operator in getOperatorsByCondition(condition.condition) | filter: $select.search">\n                                                                                                        <div data-ng-bind="operator.value | highlight: $select.search"></div>\n                                                                                         </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="col-md-4" data-ng-switch="condition.condition">\n                                                                           <div class="form-group" data-ng-switch-when="status">\n                                                                                 <ui-select data-ng-model="condition.attribute" name="attributeAnd{{$index}}" theme="bootstrap" on-select="updateCondition(condition.id, \'attribute\', $item.key)" required>\n                                                                                          <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                         <ui-select-choices repeat="attribute.key as attribute in getAttributesByCondition(condition.condition) | filter: $select.search">\n                                                                                                     <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="form-group" data-ng-switch-when="createdAt">\n                                                                                      <input class="form-control" type="text" name="attributeOr{{$index}}" value="" data-ng-model="condition.attribute" data-ng-blur="updateCondition(condition.id, \'attribute\', condition.attribute)" data-ng-class="{\'has-error\': forms.and.attributeAnd{{$index}}.$invalid}" required>\n                                                                                       <span data-ng-show="forms.and.attributeAnd{{$index}}.$invalid && forms.and.attributeAnd{{$index}}.$error.required" class="help-block help-block-error">\n                                                                                               <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                 </span>\n                                                                               </div>\n                                                                        </div>\n                                                                        <div class="col-md-1">\n                                                                                <a href="#" data-ng-click="removeCondition(condition.id)">\n                                                                                    <i class="icon-close"></i>\n                                                                            </a>\n                                                                  </div>\n                                                                </div>\n                                                        </div>\n                                                </div>\n                                                <div class="row" data-ng-hide="automation.BusinessConditions.length">\n                                                 <div class="col-md-12 text-center">\n                                                           <hr>\n                                                          <i>Add condition</i>\n                                                  </div>\n                                                </div>\n                                        </div>\n\n                                      <!-- SMTP TAB -->\n                                     <div class="tab-pane" id="tab_1_4">\n                                           <div class="row">\n                                                     <div class="col-md-12">\n                                                               <a href="#" data-ng-click="addNewAction()">\n                                                                   <i class="icon-plus"></i>\n                                                             </a>\n                                                          <i class="icon-people"></i>\n                                                           <span class="caption-subject">Meet <strong>all</strong> of the following conditions:</a> </span>\n                                                      </div>\n                                                </div>\n                                                <div class="row" data-ng-repeat="action in automation.BusinessActions">\n                                                       <div class="col-md-12">\n                                                               <div class="row">\n                                                                     <div class="col-md-12">\n                                                                               <hr>\n                                                                  </div>\n                                                                </div>\n                                                                <div class="row">\n                                                                     <div class="col-md-4">\n                                                                                <div class="form-group">\n                                                                                      <ui-select data-ng-model="action.condition" theme="bootstrap" on-select="updateAction(action.id, \'condition\', $item.key)" required>\n                                                                                         <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                          <ui-select-choices repeat="action.key as action in automations.actions | filter: $select.search">\n                                                                                                     <div data-ng-bind="action.value | highlight: $select.search"></div>\n                                                                                           </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="col-md-3" data-ng-switch="action.condition">\n                                                                              <div class="form-group" data-ng-switch-when="status">\n                                                                                 <ui-select data-ng-model="action.attribute" theme="bootstrap" on-select="updateAction(action.id, \'attribute\', $item.key)" required>\n                                                                                         <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                         <ui-select-choices repeat="attribute.key as attribute in getAttributesByCondition(action.condition) | filter: $select.search">\n                                                                                                        <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="form-group" data-ng-switch-when="createdAt">\n                                                                                      <input class="form-control" type="text" data-ng-model="action.attribute" data-ng-blur="updateAction(action.id, \'attribute\', action.attribute)" data-ng-class="{\'has-error\': forms.and.attributeAnd{{$index}}.$invalid}" required>\n                                                                         </div>\n                                                                        </div>\n                                                                        <div class="col-md-4">\n                                                                        </div>\n                                                                        <div class="col-md-1">\n                                                                                <a href="#" data-ng-click="removeAction(action.id)">\n                                                                                  <i class="icon-close"></i>\n                                                                            </a>\n                                                                  </div>\n                                                                </div>\n                                                        </div>\n                                                </div>\n                                                <div class="row" data-ng-hide="automation.BusinessActions.length">\n                                                    <div class="col-md-12 text-center">\n                                                           <hr>\n                                                          <i>Add condition</i>\n                                                  </div>\n                                                </div>\n\n                                      </div>\n                                        <!-- END SMTP TAB -->\n                         </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/fax/automation/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n     <div class="col-md-12">\n               <!-- BEGIN PAGE HEADER-->\n             <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-envelope"></i>\n                                 <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n                                 <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-settings"></i>\n                                 <a href="/fax/automations/list">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n                             </li>\n                 </ul>\n         </div>\n                <!-- END PAGE HEADER-->\n\n             <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-settings font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_AUTOMATIONS\' | translate }} WIZARD</a> </span>\n                                </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n             <wz-step title="{{\'APPLICATION_NEW_AUTOMATION\' | translate}}" canexit="formValidation(forms.automation.$valid && forms.automation.$valid)">\n                                         <form name="forms.automation" novalidate>\n                                                     <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <div class="form-group" data-ng-class="{\'has-error\': forms.automation.name.$invalid && forms.automation.$submitted}">\n                                                                               <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                         <input class="form-control" type="text" name="name" value="" data-ng-model="automations.name" required>\n                                                                               <span data-ng-show="forms.automation.name.$invalid && forms.automation.name.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                         </span>\n                                                                       </div>\n\n                                                                      <div class="form-group" data-ng-class="{\'has-error\': forms.automation.description.$invalid && forms.automation.$submitted}">\n                                                                                <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                                              <input class="form-control" type="text" name="description" value="" data-ng-model="automations.description">\n                                                                          <span data-ng-show="forms.automation.description.$invalid && forms.automation.description.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                         </span>\n                                                                       </div>\n                                                                </div>\n                                                        </div>\n\n                                                      <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <hr>\n                                                          </div>\n                                                        </div>\n\n                                                      <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <a href="#" data-ng-click="addNewChoice(\'or\')">\n                                                                             <i class="icon-plus"></i>\n                                                                     </a>\n                                                                  <i class="icon-user"></i>\n                                                                     <span class="caption-subject">Meet <strong>any</strong> of the following conditions:</a> </span>\n                                                              </div>\n                                                        </div>\n                                                        <div class="row" data-ng-repeat="automation in automations.or">\n                                                               <div class="col-md-12">\n                                                                       <div class="row">\n                                                                             <div class="col-md-12">\n                                                                                       <hr>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="row">\n                                                                             <div class="col-md-4">\n                                                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.automation.conditionOr{{$index}}.$invalid && forms.automation.$submitted && forms.automation.$submitted}">\n                                                                                               <ui-select data-ng-model="automations.or[$index].condition" name="conditionOr{{$index}}" theme="bootstrap" required>\n                                                                                                  <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                                  <ui-select-choices repeat="condition in automations.or[$index].conditions | filter: $select.search">\n                                                                                                          <div data-ng-bind="condition.value | highlight: $select.search"></div>\n                                                                                                        </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.conditionOr{{$index}}.$invalid && forms.automation.conditionOr{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-3">\n                                                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.automation.operatorOr{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                               <ui-select data-ng-model="automations.or[$index].operator" name="operatorOr{{$index}}" theme="bootstrap" required>\n                                                                                                    <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                                 <ui-select-choices repeat="operator.key as operator in automations.or[$index].condition.operators | filter: $select.search">\n                                                                                                          <div data-ng-bind="operator.value | highlight: $select.search"></div>\n                                                                                                 </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.operatorOr{{$index}}.$invalid && forms.automation.operatorOr{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-4" data-ng-switch="automations.or[$index].condition.input">\n                                                                                        <div class="form-group" data-ng-switch-when="ui-select" data-ng-class="{\'has-error\': forms.automation.attributeOr{{$index}}.$invalid && forms.automation.attributeOr{{$index}}.$error.required && forms.automation.$submitted}">\n                                                                                            <ui-select data-ng-model="automations.or[$index].attribute" name="attributeOr{{$index}}" theme="bootstrap" required>\n                                                                                                  <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                                 <ui-select-choices repeat="attribute.key as attribute in automations.or[$index].condition.attributes | filter: $select.search">\n                                                                                                               <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                        </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.attributeOr{{$index}}.$invalid && forms.automation.attributeOr{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                        <div class="form-group" data-ng-switch-when="number">\n                                                                                         <input class="form-control" type="text" min="0" name="attributeOr{{$index}}" value="" data-ng-model="automations.or[$index].attribute" required>\n                                                                                              <span data-ng-show="forms.automation.attributeOr{{$index}}.$invalid && forms.automation.attributeOr{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-1">\n                                                                                        <a href="#" data-ng-click="removeChoice(\'or\', $index)">\n                                                                                             <i class="icon-close"></i>\n                                                                                    </a>\n                                                                          </div>\n                                                                        </div>\n                                                                </div>\n                                                        </div>\n                                                        <div class="row" data-ng-hide="automations.or.length">\n                                                                <div class="col-md-12 text-center">\n                                                                   <hr>\n                                                                  <i>Add condition</i>\n                                                          </div>\n                                                        </div>\n\n                                                      <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <a href="#" data-ng-click="addNewChoice(\'and\')">\n                                                                            <i class="icon-plus"></i>\n                                                                     </a>\n                                                                  <i class="icon-people"></i>\n                                                                   <span class="caption-subject">Meet <strong>all</strong> of the following conditions:</a> </span>\n                                                              </div>\n                                                        </div>\n                                                        <div class="row" data-ng-repeat="automation in automations.and">\n                                                              <div class="col-md-12">\n                                                                       <div class="row">\n                                                                             <div class="col-md-12">\n                                                                                       <hr>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="row">\n                                                                             <div class="col-md-4">\n                                                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.automation.conditionAnd{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                             <ui-select data-ng-model="automations.and[$index].condition" name="conditionAnd{{$index}}" theme="bootstrap" required>\n                                                                                                        <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                                  <ui-select-choices repeat="condition in automations.and[$index].conditions | filter: $select.search">\n                                                                                                         <div data-ng-bind="condition.value | highlight: $select.search"></div>\n                                                                                                        </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.conditionAnd{{$index}}.$invalid && forms.automation.conditionAnd{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-3">\n                                                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.automation.operatorAnd{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                              <ui-select data-ng-model="automations.and[$index].operator" name="operatorAnd{{$index}}" theme="bootstrap" required>\n                                                                                                  <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                                 <ui-select-choices repeat="operator.key as operator in automations.and[$index].condition.operators | filter: $select.search">\n                                                                                                         <div data-ng-bind="operator.value | highlight: $select.search"></div>\n                                                                                                 </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.operatorAnd{{$index}}.$invalid && forms.automation.operatorAnd{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-4" data-ng-switch="automations.and[$index].condition.input">\n                                                                                       <div class="form-group" data-ng-switch-when="ui-select" data-ng-class="{\'has-error\': forms.automation.attributeAnd{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                             <ui-select data-ng-model="automations.and[$index].attribute" name="attributeAnd{{$index}}" theme="bootstrap" required>\n                                                                                                        <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                                 <ui-select-choices repeat="attribute.key as attribute in automations.and[$index].condition.attributes | filter: $select.search">\n                                                                                                              <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                        </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.attributeAnd{{$index}}.$invalid && forms.automation.attributeAnd{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                        <div class="form-group" data-ng-switch-when="number">\n                                                                                         <input class="form-control" type="text" min="0" name="attributeAnd{{$index}}" value="" data-ng-model="automations.and[$index].attribute" data-ng-class="{\'has-error\': forms.automation.attributeAnd{{$index}}.$invalid}" required>\n                                                                                          <span data-ng-show="forms.automation.attributeAnd{{$index}}.$invalid && forms.automation.attributeAnd{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-1">\n                                                                                        <a href="#" data-ng-click="removeChoice(\'and\', $index)">\n                                                                                            <i class="icon-close"></i>\n                                                                                    </a>\n                                                                          </div>\n                                                                        </div>\n                                                                </div>\n                                                        </div>\n                                                        <div class="row" data-ng-hide="automations.and.length">\n                                                               <div class="col-md-12 text-center">\n                                                                   <hr>\n                                                                  <i>Add condition</i>\n                                                          </div>\n                                                        </div>\n\n                                                      <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <a href="#" data-ng-click="addNewChoice(\'actions\')">\n                                                                                <i class="icon-plus"></i>\n                                                                     </a>\n                                                                  <i class="icon-magic-wand"></i>\n                                                                       <span class="caption-subject">Perform these actions:</a> </span>\n                                                              </div>\n                                                        </div>\n                                                        <div class="row" data-ng-repeat="automation in automations.actions">\n                                                          <div class="col-md-12">\n                                                                       <div class="row">\n                                                                             <div class="col-md-12">\n                                                                                       <hr>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="row">\n                                                                             <div class="col-md-4">\n                                                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.actions.conditionAction{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                             <ui-select data-ng-model="automations.actions[$index].condition" name="conditionAction{{$index}}" theme="bootstrap" required>\n                                                                                                 <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                                  <ui-select-choices repeat="action in automations.actions[$index].actions | filter: $select.search">\n                                                                                                           <div data-ng-bind="action.value | highlight: $select.search"></div>\n                                                                                                   </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.actions.conditionAction{{$index}}.$invalid && forms.actions.conditionAction{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-3" data-ng-switch="automations.actions[$index].condition.input">\n                                                                                   <div class="form-group" data-ng-switch-when="ui-select" data-ng-class="{\'has-error\': forms.actions.attributeAction{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                             <ui-select data-ng-model="automations.actions[$index].attribute" name="attributeAction{{$index}}" theme="bootstrap" required>\n                                                                                                 <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                                 <ui-select-choices repeat="attribute.key as attribute in automations.actions[$index].condition.attributes | filter: $select.search">\n                                                                                                          <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                        </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.actions.attributeAction{{$index}}.$invalid && forms.actions.attributeAction{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                        <div class="form-group" data-ng-switch-when="number" data-ng-class="{\'has-error\': forms.actions.attributeAction{{$index}}.$invalid}">\n                                                                                               <input class="form-control" type="text" min="0" name="attributeAction{{$index}}" value="" data-ng-model="automations.actions[$index].attribute" required>\n                                                                                             <span data-ng-show="forms.actions.attributeAction{{$index}}.$invalid && forms.actions.attributeAction{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-4">\n                                                                                </div>\n                                                                                <div class="col-md-1">\n                                                                                        <a href="#" data-ng-click="removeChoice(\'actions\', $index)">\n                                                                                                <i class="icon-close"></i>\n                                                                                    </a>\n                                                                          </div>\n                                                                        </div>\n                                                                </div>\n                                                        </div>\n                                                        <div class="row" data-ng-hide="automations.actions.length">\n                                                           <div class="col-md-12 text-center">\n                                                                   <hr>\n                                                                  <i>Add action</i>\n                                                             </div>\n                                                        </div>\n                                                        <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n                                                               </div>\n                                                        </div>\n                                                </form>\n                                       </wz-step>\n                                    <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                             <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                            <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                 </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
+"use strict";angular.module("xCallyShuttleApp",["adf","adf.structures.base","adf.widget.clock","adf.widget.iframe","adf.widget.counter","adf.widget.table","adf.widget.pie-chart","angular-md5","angular.filter","angularFileUpload","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","toastr","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.grid","ui.grid.exporter","ui.grid.grouping","ui.grid.moveColumns","ui.grid.pagination","ui.grid.treeView","ui.router","ui.navbar","ui.select","ui.sortable","xeditable","ngAudio","truncate","ngScrollbars","ngEmoticons"]).config(["$stateProvider","$urlRouterProvider","$locationProvider","$httpProvider","$translateProvider","localStorageServiceProvider","dashboardProvider","ScrollBarsProvider",function(a,b,c,d,e,f,g,h){b.otherwise("/dashboard/voice"),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("xcally"),h.defaults={scrollButtons:{scrollAmount:"auto",enable:!0},axis:"y"}}]).factory("settings",["$rootScope","$interval","License",function(a,b,c){var d={layout:{pageSidebarClosed:!1,pageQuickSidebarOpened:!1,pageBodySolid:!1,pageAutoScrollOnLoad:1e3}};return a.settings=d,c.get(function(b){b.license&&(a.license=b.license)}),d}]).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","$http","Auth","editableThemes","editableOptions",function(a,b,c,d,e,f,g,h,i){a.$state=c,a.$stateParams=d,h.bs3.inputClass="input-sm",h.bs3.buttonsClass="btn-xs",i.theme="bs3",a.online=navigator.onLine,e.addEventListener("offline",function(){a.$apply(function(){a.online=!1})},!1),e.addEventListener("online",function(){a.$apply(function(){a.online=!0})},!1),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)}}]),angular.module("xCallyShuttleApp").factory("Agent",["$resource",function(a){return a("/api/agents/:id/:controller",{id:"@id"},{changePassword:{method:"PUT",params:{controller:"password"}},update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.agents",{url:"/agents",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("AgentListCtrl",["$scope","$http","$rootScope","xAlert","$translate","socket","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={agentsByPage:{name:"10",value:10},labels:["fullname","name","email"]},a.agentsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.agents={checked:[]},a.check=function(b,c){c?a.agents.checked=angular.copy(_.pluck(a.displayedAgents,"id")):a.agents.checked=[]},a.getAgents=function(b){return _.map(a.displayedAgents,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("agent"),b.url="/api/agents",h.getPage(b).then(function(d){a.displayedAgents=d.rows,b.pagination.numberOfPages=d.total_pages,c.updateTableConfig(a.agentsByPage,a.displayedAgents.length),c.updateTableConfig(a.conf.agentsByPage,a.displayedAgents.length)}),f.socket.on("agent:save",function(){a.initList(b)}),f.socket.on("agent:remove",function(c){a.agents.checked=_.without(a.agents.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/agents/"+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/agents",{params:{id:a.agents.checked}}).success(function(){d.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){d.show(e.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.agents.list",{url:"/list",templateUrl:"app/agent/list/list.html",controller:"AgentListCtrl",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("AgentViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$cookieStore","socket","FileUploader","Auth",function(a,b,c,d,e,f,g,h,i){a.Auth=i,a.updatePassword=function(){var f,g;i.isAdmin()?(f="/api/agents/password/"+e.id+"/reset",g={newPassword:a.agent.newPwd}):(f="/api/agents/password/",g={oldPassword:a.agent.currentPwd,newPassword:a.agent.newPwd}),b.put(f,g).success(function(a){c.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){c.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})};var j=a.uploader=new h({url:"api/users/"+e.id+"/avatar",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+f.get("token")}});j.filters.push({name:"imageFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(b)}}),j.onSuccessItem=function(b,e,f,g){a.agent.userpic=e.userpic,a.agent.id===i.getCurrentUser().id&&(i.getCurrentUser().userpic=e.userpic),c.show(d.instant("MESSAGE_WELL_DONE"),"success")},j.onErrorItem=function(a,b,e,f){c.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},j.onCompleteAll=function(){j.clearQueue()},a.initView=function(){b.get("/api/agents/"+e.id).success(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(";"):[]}).error(function(a){c.show(a.message,"danger")})},a.updateItem=function(){var f=angular.copy(a.agent),g=angular.copy(a.agent);delete f.password,delete f.md5secret,f.transport=f.transport.join(","),f.allow=f.allow.join(";"),b.put("/api/agents/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(b){a.agent=g,b.errors.forEach(function(a){c.show(a.message,"danger")})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.agents.view",{url:"/view/:id",templateUrl:"app/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"]}])}]}}).state("main.agents.view.account",{url:"/account",templateUrl:"app/agent/view/view.account.html",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"]})}]}})}]),angular.module("xCallyShuttleApp").controller("AgentWizardCtrl",["$scope","$http","xAlert","$location","WizardHandler","$translate",function(a,b,c,d,e,f){a.forms={info:void 0,voice:void 0},a.item={role:"agent",allow:["alaw","ulaw","gsm"],transport:["udp"],context:"from-sip"},a.next=function(){b.post("/api/agents/validate/",a.item).success(function(a){console.log(a),a.length?c.show(f.instant("MESSAGE_EXIST_INTERNAL"),"danger"):e.wizard().next()}).error(function(a){c.show(f.instant(a.message),"danger")})},a.getFirstFreeInternal=function(){b.get("/api/settings/internal").success(function(b){a.item.internal=b.value}).error(function(a){c.show(f.instant(a.message),"danger")})},a.exitValidation=function(a){return a},a.createItem=function(){a.item.transport&&(a.item.transport=a.item.transport.join(",")),a.item.allow&&(a.item.allow=a.item.allow.join(";")),b.post("/api/agents/",a.item).success(function(){d.path("/agents/list")}).error(function(a){a.errors.forEach(function(a){c.show(a.message,"danger")})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.agents.wizard",{url:"/wizard",templateUrl:"app/agent/wizard/wizard.html",controller:"AgentWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics",{url:"/analytics",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.extracted",{url:"/extracted",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("AnalyticExtractedListCtrl",["$scope","$http","socket","$rootScope","$translate","xAlert","Modal","stResource","$uibModal","$log",function(a,b,c,d,e,f,g,h,i,j){a.conf={extractsByPage:{name:"10",value:10}},a.extractsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.Extracts={checked:[]},a.check=function(b,c){c?a.Extracts.checked=angular.copy(_.pluck(a.displayedExtracts,"id")):a.Extracts.checked=[]},a.getExtracts=function(b){return _.map(a.displayedExtracts,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("extracted_report"),b.url="/api/analytics/extracted",h.getPage(b).then(function(c){console.log(c),a.displayedExtracts=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.extractsByPage,a.displayedExtracts.length),d.updateTableConfig(a.conf.extractsByPage,a.displayedExtracts.length)}),c.socket.on("extracted_report:save",function(){console.log("save"),a.initList(b)}),c.socket.on("extracted_report:remove",function(c){a.Extracts.checked=_.without(a.Extracts.checked,Extract.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/analytics/extracted"+a).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/analytics/extracted",{params:{id:a.Extracts.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})})}]),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").controller("AnalyticMetricListCreateModalCtrl",["$scope","$uibModalInstance",function(a,b){a.forms={dashboard:void 0},a.item={},a.tables=[{name:"Agent Report",value:"report_agent_history"},{name:"Mail Report",value:"report_mail_session_history"},{name:"Queue Report",value:"report_queue_history"},{name:"Integration Report",value:"report_integration_history"},{name:"Chat Report",value:"report_chat_session_history"}],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("AnalyticMetricListCtrl",["$scope","$http","socket","$rootScope","$translate","xAlert","Modal","stResource","$uibModal","$log",function(a,b,c,d,e,f,g,h,i,j){a.conf={metricsByPage:{name:"10",value:10}},a.metricsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.Metrics={checked:[]},a.check=function(b,c){c?a.Metrics.checked=angular.copy(_.pluck(a.displayedMetrics,"id")):a.Metrics.checked=[]},a.getMetrics=function(b){return _.map(a.displayedMetrics,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("metric"),b.url="/api/analytics/metrics",h.getPage(b).then(function(c){a.displayedMetrics=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.metricsByPage,a.displayedMetrics.length),d.updateTableConfig(a.conf.metricsByPage,a.displayedMetrics.length)}),c.socket.on("metric:save",function(){a.initList(b)}),c.socket.on("metric:remove",function(c){a.Metrics.checked=_.without(a.Metrics.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/analytics/metrics/"+a).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/analytics/metrics",{params:{id:a.Metrics.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.create=function(){var a=i.open({animation:!0,templateUrl:"app/analytic/metric/list/create.modal.html",controller:"AnalyticMetricListCreateModalCtrl"});a.result.then(function(a){b.post("/api/analytics/metrics",a).then(function(a){f.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.data.message,"danger")})},function(){j.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").config(["$stateProvider",function(a){a.state("main.analytics.metrics",{url:"/metrics",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){a.tables=[{name:"Agent Report",value:"report_agent"},{name:"Mail Report",value:"report_mail_session"},{name:"Queue Report",value:"report_queue"},{name:"Integration Report",value:"report_integration"},{name:"Chat Report",value:"report_chat_session"}],a.getMetric=function(){b.get("/api/analytics/metrics/"+e.id).success(function(b){a.metric=b}).error(function(a){console.error(a),f.path("/analytics/metrics/list")})},a.updateMetric=function(){var f=angular.copy(a.metric);b.put("/api/analytics/metrics/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.metric=f})}}]),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").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","$http","report","xAlert","$translate","$timeout","uiGridExporterConstants",function(a,b,c,d,e,f,g,h){a.dates={startDate:moment().startOf("day"),endDate:moment().endOf("day")},a.ranges={Today:[moment(),moment()],Yesterday:[moment().subtract(1,"days"),moment().subtract(1,"days")],"Last 7 days":[moment().subtract(7,"days"),moment()],"Last 30 days":[moment().subtract(30,"days"),moment()],"This month":[moment().startOf("month"),moment().endOf("month")]},a.extract=function(c){var d={startDate:a.dates.startDate.toISOString(),endDate:a.dates.endDate.toISOString(),output:c};b.close(d)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("AnalyticReportListCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location","$log","Modal","$rootScope","stResource","$uibModal","FileSaver","Blob",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){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 e={tree:angular.toJson(a.customTree.get_json("#",{flat:!0}))};b.put("/api/analytics/reports/trees/2",e).success(function(a){console.log("Custom Tree Updated")}).error(function(a){c.show(d.instant(a.message),"danger")})},a.configTrees=function(){a.defaultTreeConfig={multiple:!1,animation:!0,core:{error:function(a){h.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){h.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,c){var e={create:{label:d.instant("APPLICATION_CREATE"),action:function(c){a.customTree.create_node(b),a.customTree.open_node(b)}},rename:{label:d.instant("APPLICATION_RENAME"),action:function(c){a.customTree.edit(b)}},remove:{label:d.instant("APPLICATION_REMOVE"),action:function(c){console.log(b),a.deleteNode(b.text,b)}}};return"#"===b.parent&&(delete e.rename,delete e.remove),c(e),e}}}},a.deleteNode=i.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,a.initList(a.tableState)}},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,a.initList(a.tableState)}},a.getTrees=function(){b.get("/api/analytics/reports/trees").success(function(b){a.defaultTreeData=JSON.parse(b[0].tree),a.customTreeData=JSON.parse(b[1].tree),a.configTrees()}).error(function(a){c.show(d.instant(a.message),"danger")})},a.conf={reportsByPage:{name:"10",value:10}},a.reportsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.Reports={checked:[]},a.check=function(b,c){c?a.Reports.checked=angular.copy(_.pluck(a.displayedReports,"id")):a.Reports.checked=[]},a.getReports=function(b){return _.map(a.displayedReports,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){if(b){f.unsyncUpdates("custom_report"),a.Reports.checked=[];var c=a.defaultTree.get_selected(),d=a.customTree.get_selected();if(c.length){var e=c.pop();a.selectedNode=a.defaultTree.get_path(e," / "),b.url="/api/analytics/reports/default",b.search.params={parent:e}}else{if(!d.length)return;var e=d.pop();a.selectedNode=a.customTree.get_path(e," / "),b.url="/api/analytics/reports/custom",b.search.params={parent:e}}a.tableState=b,k.getPage(b).then(function(c){a.displayedReports=c.rows,b.pagination.numberOfPages=c.total_pages,j.updateTableConfig(a.reportsByPage,a.displayedReports.length),j.updateTableConfig(a.conf.reportsByPage,a.displayedReports.length)}),f.socket.on("custom_report:save",function(){a.defaultTreeActive||(console.log("save"),a.initList(b))}),f.socket.on("custom_report:remove",function(c){a.defaultTreeActive||(a.Reports.checked=_.without(a.Reports.checked,c.id),a.initList(b))})}},a.deleteItem=i.confirm["delete"](function(a){b["delete"]("/api/analytics/reports/custom/"+a).success(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){c.show(a.message,"danger")})}),a.deleteItems=i.confirm["delete"](function(){b["delete"]("/api/analytics/reports/custom",{params:{id:a.Reports.checked}}).success(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){c.show(a.message,"danger")})}),a.create=function(){var d=l.open({animation:!0,templateUrl:"app/analytic/report/list/create.modal.html",controller:"ReportListCreateModalCtrl",resolve:{path:function(){return a.selectedNode}}});d.result.then(function(d){d.parent=a.previousCustomNode,b.post("/api/analytics/reports/custom",d).then(function(a){g.path("/analytics/reports/view/"+a.data.id+"/settings")})["catch"](function(a){c.show(a.data.message,"danger")})},function(){h.info("Modal dismissed at: "+new Date)})},a.copy=function(e){var f=a.defaultTreeActive?"/api/analytics/reports/default/copy/"+e:"/api/analytics/reports/custom/copy/"+e,g=l.open({animation:!0,templateUrl:"app/analytic/report/list/copy.modal.html",controller:"ReportListCopyModalCtrl",resolve:{customTreeData:function(){return a.customTreeData}}});g.result.then(function(a){b.post(f,a).then(function(a){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.data.message,"danger")})},function(){h.info("Modal dismissed at: "+new Date)})},a["export"]=function(a){b.get("/api/analytics/reports/custom/"+a).success(function(a){delete a.id,_.forEach(a.Fields,function(a){delete a.id,delete a.CustomReportId});var b=new n([angular.toJson(a)],{type:"application/json;charset=utf-8"});m.saveAs(b,a.name+".json")}).error(function(a){console.error(a),c.show(a.message,"danger")})},a["import"]=function(e){var f=JSON.parse(e);f.parent=a.previousCustomNode;var g=f.name&&f.parent?!0:!1,h=!0;_.forEach(f.Fields,function(a){a.field&&a.alias||(h=!1)}),g&&h?b.post("/api/analytics/reports/custom/import",f).then(function(a){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.data.message,"danger")}):c.show(d.instant("MESSAGE_INVALID_JSON"),"danger")},a.preview=function(b){l.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(e){var f=l.open({animation:!0,templateUrl:"app/analytic/report/list/extract.modal.html",controller:"ReportListExtractModalCtrl",size:"md",resolve:{report:function(){return{id:e,tree:a.defaultTreeActive?"default":"custom"}}}});f.result.then(function(f){var g=a.defaultTreeActive?"/api/analytics/reports/default/extract/"+f.output+"/"+e:"/api/analytics/reports/custom/extract/"+f.output+"/"+e;b.post(g,f).then(function(a){c.show(d.instant("MESSAGE_REPORT_EXTRACTING"),"success")})["catch"](function(a){c.show(a.data.message,"danger")})},function(){h.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","$http","report","xAlert","$translate","$timeout","uiGridExporterConstants",function(a,b,c,d,e,f,g,h){a.forms={dashboard:void 0},a.dates={startDate:moment().startOf("day"),endDate:moment().endOf("day")},a.ranges={Today:[moment(),moment()],Yesterday:[moment().subtract(1,"days"),moment().subtract(1,"days")],"Last 7 days":[moment().subtract(7,"days"),moment()],"Last 30 days":[moment().subtract(30,"days"),moment()],"This month":[moment().startOf("month"),moment().endOf("month")]};var i={pageNumber:1,pageSize: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.pageNumber=b,i.pageSize=c,a.getPage()}),b.core.on.filterChanged(a,function(){var b=this.grid,c={};b.columns.forEach(function(a){console.log(a),a.filters[0].term&&(c[a.field]=a.filters[0].term)}),i.where=c,a.getPage()})}},a.getPage=function(){var b={params:{page:i.pageNumber-1,perPage:i.pageSize,uiPagination:!0,startDate:a.dates.startDate.toISOString(),endDate:a.dates.endDate.toISOString()}};_.forOwn(i.where,function(a,c){b.params[c]=a}),console.log(b),c.get("/api/analytics/reports/"+d.tree+"/preview/"+d.id,b).success(function(b){console.log(b),a.gridOptions.totalItems=b.count["COUNT(*)"],a.gridOptions.paginationPageSizes[3]=b.count["COUNT(*)"],a.gridOptions.data=b.rows,delete b.count["COUNT(*)"],a.gridOptions.columnDefs=[],_.forOwn(b.count,function(b,c){a.gridOptions.columnDefs.push({name:c})}),a.showResult=!0}).error(function(a){e.show(f.instant(a.message),"danger")})},a.cancel=function(){b.dismiss("cancel")},g(function(){a.getPage()})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.reports",{url:"/reports",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("AnalyticReportViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){function g(e){var f=_.find(a.tables,{table:e}).url;b.get(f).success(function(b){delete b.createdAt,delete b.updatedAt,delete b.id,a.tableFields=_.map(b,function(a,b){return{name:b,value:b}})}).error(function(a){c.show(d.instant(a.message),"danger")})}function h(e){console.log(e),b.get("/api/analytics/metrics/table",{params:{table:e}}).success(function(b){_.forEach(b,function(b){a.tableFields.push({name:"<strong>Metric.</strong>"+b.name,value:b.metric})})}).error(function(a){c.show(d.instant(a.message),"danger")})}function i(a){return String(a).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function j(a){if(!a)return"";for(var b="(",c=0;c<a.rules.length;c++)c>0&&(b+=" <strong>"+a.operator+"</strong> "),b+=a.rules[c].group?j(a.rules[c].group):a.rules[c].field+" "+i(a.rules[c].condition)+" '"+("like"===a.rules[c].condition?"%"+a.rules[c].value+"%":a.rules[c].value)+"'";return b+")"}a.$translate=d,a.tempReport={},a.tables=[{name:"Agent Report",table:"report_agent_history",url:"/api/report/agents/describe"},{name:"Mail Report",table:"report_mail_session_history",url:"/api/report/mail/sessions/describe"},{name:"Queue Report",table:"report_queue_history",url:"/api/report/queues/describe"},{name:"Integration Report",table:"report_integration_history",url:"/api/report/integrations/describe"},{name:"Chat Report",table:"report_chat_session_history",url:"/api/report/chat/sessions/describe"}];var k={group:{operator:"AND",rules:[]}};a.getReport=function(){a.firstLoad=!0,b.get("/api/analytics/reports/custom/"+e.id).success(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(k,!0),a.getPreview()}).error(function(a){console.error(a),f.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){console.log(b),b&&(console.log("is newvalue"),g(b),h(b),c&&(console.log("is oldvalue"),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(k,!0)))},!0),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.addField=function(){a.report.Fields.push({groupBy:!1,CustomReportId:a.report.id})},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 f=angular.copy(a.report);f.conditions=angular.toJson(f.conditions),b.put("/api/analytics/reports/custom/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.getPreview()}).error(function(b){c.show(d.instant(b.message),"danger"),f.conditions=JSON.parse(f.conditions),a.report=f})}else c.show(d.instant("MESSAGE_SELECT_A_FIELD"),"danger")},a.$watch("report.conditions",function(b){a.output=b?j(b.group):"()"},!0),a.gridOptions={enableFiltering:!0,treeRowHeaderAlwaysVisible:!1,enableGridMenu:!0},a.getPreview=function(){a.showPreview=!1,b.get("/api/analytics/reports/custom/preview/"+e.id,{params:{perPage:20}}).success(function(b){a.gridOptions.data=b.rows,a.gridOptions.columnDefs=_.map(a.report.Fields,function(a){return{name:a.alias}}),a.showPreview=!0}).error(function(a){c.show(d.instant(a.message||"MESSAGE_QUERY_NOT_VALID"),"danger")})}}]),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").controller("AnalyticReportWizardCtrl",["$scope","$http","$location","xAlert","socket","$translate",function(a,b,c,d,e,f){
+a.initWizard=function(){a.forms={},a.item={}},a.createItem=function(){b.post("/api/analytics/reports/",a.item).success(function(){c.path("/analytics/reports/list")}).error(function(a){d.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.reports.wizard",{url:"/wizard",templateUrl:"app/analytic/report/wizard/wizard.html",controller:"AnalyticReportWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.automations",{url:"/automations",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("AutomationListCtrl",["$scope","$http","$translate","$rootScope","stResource","Modal","socket","xAlert",function(a,b,c,d,e,f,g,h){a.conf={AutomationsByPage:{name:"10",value:10}},a.AutomationsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],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.Automations={checked:[]},a.check=function(b,c){c?a.Automations.checked=angular.copy(_.pluck(a.displayedAutomations,"id")):a.Automations.checked=[]},a.getAutomations=function(b){return _.map(a.displayedAutomations,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){g.unsyncUpdates("automation"),b.url="/api/automations",e.getPage(b).then(function(c){a.displayedAutomations=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.AutomationsByPage,a.displayedAutomations.length),d.updateTableConfig(a.conf.AutomationsByPage,a.displayedAutomations.length)}),g.socket.on("automation:save",function(){a.initList(b)}),g.socket.on("automation:remove",function(c){a.Automations.checked=_.without(a.Automations.checked,c.id),a.initList(b)})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("/api/automations/"+a).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/automations",{params:{id:a.Automations.checked}}).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){h.show(c.instant(a.message),"danger")})}),a.updateItem=function(a,d){b.put("api/automations/"+a,{status:d}).success(function(a){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.automations.list",{url:"/list",templateUrl:"app/automation/list/list.html",controller:"AutomationListCtrl"})}]),angular.module("xCallyShuttleApp").controller("AutomationViewCtrl",["$scope","$stateParams","$http","$translate","xAlert","automations",function(a,b,c,d,e,f){a.$automations=f,a.forms={info:{}},a.fields={},a.properties=f.properties,a.initView=function(){c.get("/api/automations/"+b.id).success(function(b){a.automation=b,a.conditionsFilter=JSON.parse(b.conditions),a.actionsFilter=JSON.parse(b.actions),a.fields.conditions=a.$automations.automations[b.channel].conditions,a.fields.actions=a.$automations.automations[b.channel].actions}).error(function(a){e.show(a.message,"danger")})},a.updateAutomation=function(){c.put("/api/automations/"+a.automation.id,{name:a.automation.name,description:a.automation.description,conditions:angular.toJson(a.conditionsFilter),actions:angular.toJson(a.actionsFilter)}).success(function(){e.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){e.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.automations.view",{url:"/view/:id",templateUrl:"app/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.automations.view.settings",{url:"/settings",templateUrl:"app/automation/view/view.settings.html"}).state("main.automations.view.routes",{url:"/routes",templateUrl:"app/automation/view/view.routes.html"}).state("main.automations.view.application",{url:"/application",templateUrl:"app/automation/view/view.application.html"})}]),angular.module("xCallyShuttleApp").controller("AutomationWizardCtrl",["$scope","$http","$location","xAlert","automations","WizardHandler",function(a,b,c,d,e,f){a.$automations=e,a.tempData={voice:{},mail:{},chat:{},fax:{}},a.item={},a.fields={},a.properties=e.properties,a.forms={general:{}};var g={group:{"boolean":"AND",rules:[],type:"CONDITION",main:!0}},h={group:{rules:[],type:"ACTION"}};a.conditionsFilter=_.clone(g,!0),a.actionsFilter=_.clone(h,!0),a.$watch("item.channel",function(b,c){c&&(a.tempData[c].conditionsFilter=_.clone(a.conditionsFilter,!0),a.tempData[c].actionsFilter=_.clone(a.actionsFilter,!0)),a.conditionsFilter=a.tempData[b].conditionsFilter?a.tempData[b].conditionsFilter:_.clone(g,!0),a.actionsFilter=a.tempData[b].actionsFilter?a.tempData[b].actionsFilter:_.clone(h,!0),a.fields.conditions=a.$automations.automations[b].conditions,a.fields.actions=a.$automations.automations[b].actions},!0),a.item.channel="mail",a.createItem=function(){a.item.conditions=angular.toJson(a.conditionsFilter),a.item.actions=angular.toJson(a.actionsFilter),b.post("/api/automations",a.item).success(function(){c.path("/automations/list")}).error(function(a){d.show(a.message,"danger")})},a.next=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.exitValidation=function(a){return a}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.automations.wizard",{url:"/wizard",templateUrl:"app/automation/wizard/wizard.html",controller:"AutomationWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat",{url:"/chat",template:"<div ui-view></div>","abstract":!0})}]),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").directive("preview",function(){return{templateUrl:"app/chat/preview/preview.html",restrict:"EA",link:function(a,b,c){}}}),angular.module("xCallyShuttleApp").controller("ChatQueueListCtrl",["$scope","$http","xAlert","$translate","socket","Modal","$rootScope","stResource",function(a,b,c,d,e,f,g,h){a.conf={chatQueuesByPage:{name:"10",value:10}},a.chatQueuesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.chatQueues={checked:[]},a.check=function(b,c){c?a.chatQueues.checked=angular.copy(_.pluck(a.displayedChatQueues,"id")):a.chatQueues.checked=[]},a.initList=function(b){e.unsyncUpdates("chat_queue"),b.url="/api/chat/queues/",h.getPage(b).then(function(c){a.displayedChatQueues=c.rows,b.pagination.numberOfPages=c.total_pages,g.updateTableConfig(c.queuesByPage,a.displayedChatQueues.length),g.updateTableConfig(a.conf.queuesByPage,a.displayedChatQueues.length)}),e.socket.on("chat_queue:save",function(){a.initList(b)}),e.socket.on("chat_queue:remove",function(c){a.chatQueues.checked=_.without(a.chatQueues.checked,c.id),a.initList(b)})},a.getChatQueues=function(b){return _.map(a.displayedChatQueues,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("api/chat/queues/"+a).success(function(){c.show(d.instant("MESSAGE_CHAT_QUEUE_DELETE_SUCCESS")+"!","success")}).error(function(){c.show(d.instant("MESSAGE_CHAT_QUEUE_DELETE_FAILURE"),"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/chat/queues/",{params:{id:a.chatQueues.checked}}).success(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){c.show(d.instant(a.message),"danger")})}),a.$on("$destroy",function(){e.unsyncUpdates("chat_queue")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.queues.list",{url:"/list",templateUrl:"app/chat/queue/list/list.html",controller:"ChatQueueListCtrl",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("ChatQueue",["$resource",function(a){return a("/api/chat/queues/:id/:controller",{id:"@id"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.queues",{url:"/queues",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatQueueViewCtrl",["$scope","$http","xAlert","$translate","$stateParams",function(a,b,c,d,e){var f=function(){return{select:function(c){b.post("/api/chat/queues/"+a.queue.id+"/agents",{agents:c}).success(function(){a.getTeams()}).error(function(a){console.error(a)})},deselect:function(c){b.put("/api/chat/queues/"+a.queue.id+"/agents",{agents:c}).success(function(){a.getTeams()}).error(function(a){console.error(a)})}}};a.getQueue=function(){b.get("/api/chat/queues/"+e.id).success(function(b){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(){b.get("/api/teams").success(function(c){a.teams=c.rows,b({url:"/api/chat/user_has_queues",method:"GET",params:{ChatQueueId:a.queue.id}}).success(function(a){ComponentsDropdowns.bindChatQueue(c.rows,_.pluck(a,"UserId"),f)})}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.queues.view",{url:"/view/:id",templateUrl:"app/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.chat.queues.view.settings",{url:"/settings",templateUrl:"app/chat/queue/view/view.settings.html"}).state("main.chat.queues.view.agents",{url:"/agents",templateUrl:"app/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/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").controller("ChatQueueWizardCtrl",["$scope","$http","$location","xAlert","WizardHandler","$translate",function(a,b,c,d,e,f){a.forms={},a.item={},a.next=function(){e.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/chat/queues",a.item).success(function(){d.show(f.instant("MESSAGE_WELL_DONE"),"success"),c.path("/chat/queues/list")}).error(function(a){d.show(f.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.queues.wizard",{url:"/wizard",templateUrl:"app/chat/queue/wizard/wizard.html",controller:"ChatQueueWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.realtime",{url:"/realtime",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.realtime.view.agent",{url:"/agent",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewAgentQueueCtrl",["$scope","$http","socket","Agent","ChatQueue",function(a,b,c,d,e){a.gridOptions={enableSorting:!1,enableFiltering:!0,columnDefs:[{name:"queueName",displayName:"Queue"},{name:"agentName",displayName:"Agent",cellClass:"text-center",cellTemplate:'<span data-ng-if="row.entity.agentName">{{row.entity.fullname}} [{{row.entity.agentName}}]</span>'},{name:"online",cellClass:"text-center",cellTemplate:'<span class="badge badge-empty" data-ng-if="row.entity.online != null" data-ng-class="row.entity.online ? \'badge-success\' : \'badge-danger\'"></span>'},{name:"lastLoginAt",cellClass:"text-center",cellTemplate:'<time data-ng-if="row.entity.lastLoginAt" is="relative-time" datetime="{{row.entity.lastLoginAt}}">April 1, 2014</time>'}],onRegisterApi:function(b){a.gridApi=b,a.gridApi.treeBase.on.rowExpanded(a,function(b){var c=_.findIndex(a.gridOptions.data,{$$hashKey:b.entity.$$hashKey});b.entity.Users&&b.entity.Users.forEach(function(b){_.find(a.gridOptions.data,{name:b.name})||a.gridOptions.data.splice(c+1,0,b)})})}},e.get(function(b){a.gridOptions.data=[],b.rows.forEach(function(b){b.$$treeLevel=0,b.queueName=b.name,a.gridOptions.data.push(b),b.Users&&b.Users.forEach(function(b){b.agentName=b.name,a.gridOptions.data.push(b)})}),c.socket.on("agent:save",function(b){var c=_.filter(a.gridOptions.data,{agentName:b.name});c.forEach(function(a){a.online=b.online,a.lastLoginAt=b.lastLoginAt})}),c.socket.on("chat_queue:save",function(b){b.$$treeLevel=0,b.queueName=b.name,a.gridOptions.data.push(b)}),c.socket.on("chat_queue:remove",function(b){_.remov(a.gridOptions.data,{queueName:b.name})}),c.socket.on("user_has_chat_queue:save",function(b){var c=_.findIndex(a.gridOptions.data,function(a){return a.queueName&&a.id===b.ChatQueueId});d.get({id:b.UserId}).$promise.then(function(b){a.gridOptions.data.splice(c+1,0,{id:b.id,name:b.name,fullname:b.fullname,agentName:b.name,online:b.online,lastLoginAt:b.lastLoginAt})})["catch"](function(a){console.error(a)})}),c.socket.on("user_has_chat_queue:remove",function(b){for(var c=_.findIndex(a.gridOptions.data,function(a){return a.queueName&&a.id===b.ChatQueueId}),d=c+1;d<a.gridOptions.data.length;d++)a.gridOptions.data[d].id==b.UserId&&a.gridOptions.data.splice(d,1)})},function(a){console.error(a)}),a.conf={agentsByPage:{name:"10",value:10},labels:["fullname","name","email"]},a.agentsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.$on("$destroy",function(){c.unsyncUpdates("report_chat:save"),c.unsyncUpdates("report_chat:update")}),a.initAgents=function(){b.get("/api/report/chats").success(function(b){a.agents=b,c.socket.on("report_chat:save",function(b){var c=_.find(a.agents,{id:b.id});c||a.agents.unshift(b)}),c.socket.on("report_chat:update",function(b){var c=_.find(a.agents,{id:b.id}),d=a.agents.indexOf(c);c&&_.merge(a.agents[d],b)})}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.realtime.view.agent.queues",{url:"/queues",controller:"ChatRealtimeViewAgentQueueCtrl",templateUrl:"app/chat/realtime/view/agent/queue/queue.html"})}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewAgentTimelineCtrl",["$scope","$http","socket","Agent","ChatQueue","uiGridConstants",function(a,b,c,d,e,f){a.gridOptions={enableFiltering:!0,columnDefs:[{name:"lastevent",cellClass:"text-center",enableFiltering:!1,enableSorting:!1,displayName:"",cellTemplate:"<span><i data-ng-class=\"{'icon-user font-yellow': row.entity.lastevent === 'called', 'icon-user-following font-green': row.entity.lastevent === 'agent', 'icon-user-unfollow font-red': row.entity.lastevent === 'timeout', 'icon-user-unfollow font-blue': row.entity.lastevent === 'answered_elsewhere'}\"></i></span>"},{name:"chatqueuename",displayName:"Queue Name",cellClass:"text-center"},{name:"fullname",cellClass:"text-center"},{name:"visitoremail",displayName:"Visitor",cellClass:"text-center"},{name:"websitename",displayName:"Website",cellClass:"text-center"},{name:"agentcalledAt",displayName:"Called At",cellClass:"text-center",cellTemplate:'<time data-ng-if="row.entity.agentcalledAt" is="relative-time" datetime="{{row.entity.agentcalledAt}}">April 1, 2014</time>',sort:{direction:f.DESC,priority:0}},{name:"agentconnectAt",displayName:"Connected At",cellClass:"text-center",cellTemplate:'<time data-ng-if="row.entity.agentconnectedAt" is="relative-time" datetime="{{row.entity.agentconnectedAt}}">April 1, 2014</time>'},{name:"agentringnoanswerAt",displayName:"No Answer At",cellClass:"text-center",cellTemplate:'<time data-ng-if="row.entity.agentringnoanswerAt" is="relative-time" datetime="{{row.entity.agentringnoanswerAt}}">April 1, 2014</time>'}],data:[]},a.initAgents=function(){b.get("/api/report/chats").success(function(b){a.gridOptions.data=b,c.socket.on("report_chat:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c||a.gridOptions.data.unshift(b)}),c.socket.on("report_chat:update",function(b){var c=_.find(a.gridOptions.data,{id:b.id}),d=a.gridOptions.data.indexOf(c);c&&_.merge(a.gridOptions.data[d],b)})}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.realtime.view.agent.timeline",{url:"/timeline",controller:"ChatRealtimeViewAgentTimelineCtrl",templateUrl:"app/chat/realtime/view/agent/timeline/timeline.html"})}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewSessionCtrl",["$scope","$http","socket",function(a,b,c){a.conf={sessionsByPage:{name:"10",value:10},labels:["fullname","name","email"]},a.sessionsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.$on("$destroy",function(){c.unsyncUpdates("report_chat:save"),c.unsyncUpdates("report_chat:update")}),a.initChats=function(){b.get("/api/report/chat/sessions").success(function(b){a.sessions=b,c.socket.on("report_chat_session:save",function(b){var c=_.find(a.sessions,{id:b.id}),d=a.sessions.indexOf(c);c?_.merge(a.sessions[d],b):a.sessions.push(b)})}).error(function(a){console.error(a)})}}]),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.chat.realtime.view",{url:"/view",templateUrl:"app/chat/realtime/view/view.html",controller:"ChatRealtimeViewCtrl"}).state("main.chat.realtime.view.sessions",{url:"/sessions",controller:"ChatRealtimeViewSessionCtrl",templateUrl:"app/chat/realtime/view/session/session.html"})}]),angular.module("xCallyShuttleApp").controller("ChatStatisticCtrl",["$scope","$http","$stateParams","xAlert","socket","$location","$translate","$filter",function(a,b,c,d,e,f,g,h){a.conf={chatVisitorsByPage:10,chatRoomsByPage:10,chatEnquiriesByPage:10},a.$location=f,a.$translate=g,a.$filter=h,a.initList=function(){b.get("api/chat/visitors").success(function(b){a.chatVisitors=b,e.syncUpdates("chat_visitor",a.chatVisitors)}),b.get("api/chat/rooms").success(function(b){a.chatRooms=b,e.syncUpdates("chat_room",a.chatRooms)}),b.get("api/chat/enquiries").success(function(b){a.chatEnquiries=b,e.syncUpdates("chat_enquery",a.chatEnquiries)})},a.initVisitorView=function(){b.get("api/chat/visitors/"+c.id).success(function(b){a.chatVisitor=b}).error(function(a){d.show(g.instant(a.message),"danger")})},a.initEnquiryView=function(){b.get("api/chat/enquiries/"+c.id).success(function(b){a.chatEnquiry=b}).error(function(a){d.show(g.instant(a.message),"danger")})},a.initRoomView=function(){console.log(c),b.get("api/chat/rooms/"+c.id).success(function(b){a.chatRoom=b}).error(function(a){d.show(g.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.statistics",{url:"/statistics",templateUrl:"app/chat/statistic/statistic.html",controller:"ChatStatisticCtrl",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"]},{name:"ui.select",insertBefore:"#ng_load_plugins_before",files:["assets/plugins/ui-select/select.min.css","assets/plugins/ui-select/select.min.js"]}])}]}}).state("main.chat.statistics.summary",{url:"/summary",templateUrl:"app/chat/statistic/statistic.summary.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile-old.css"]})}]}}).state("main.chat.statistics.enquiries",{url:"/enquiries",templateUrl:"app/chat/statistic/statistic.enquiry.html"}).state("main.chat.statistics.enquiry",{url:"/enquiry/:id",controller:"ChatStatisticCtrl",templateUrl:"app/chat/statistic/statistic.enquiry.view.html"}).state("main.chat.statistics.conversations",{url:"/conversations",templateUrl:"app/chat/statistic/statistic.conversation.html"}).state("main.chat.statistics.conversation",{url:"/conversation/:id",controller:"ChatStatisticCtrl",templateUrl:"app/chat/statistic/statistic.conversation.view.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/timeline.css"]})}]}}).state("main.chat.statistics.visitors",{url:"/visitors",templateUrl:"app/chat/statistic/statistic.visitor.html"}).state("main.chat.statistics.visitor",{url:"/visitor/:id",controller:"ChatStatisticCtrl",templateUrl:"app/chat/statistic/statistic.visitor.view.html"})}]),angular.module("xCallyShuttleApp").controller("ChatTimelineListCtrl",["$scope","$http","socket",function(a,b,c){function d(b){a.events>50&&a.events.pop(),a.events.unshift(b)}a.initList=function(){a.events=[],b.get("/api/events/channel/chat").success(function(a){a.forEach(d),c.socket.on("event:chat:save",d)}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.timeline.list",{url:"/list",templateUrl:"app/chat/timeline/list/list.html",controller:"ChatTimelineListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/timeline.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.timeline",{url:"/timeline",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteListCtrl",["$scope","$http","xAlert","$translate","socket","Modal","$rootScope","stResource",function(a,b,c,d,e,f,g,h){a.conf={chatWebsitesByPage:{name:"10",value:10}},a.chatWebsitesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.chatWebsites={checked:[]},a.check=function(b,c){c?a.chatWebsites.checked=angular.copy(_.pluck(a.displayedChatWebsites,"id")):a.chatWebsites.checked=[]},a.getChatWebsites=function(b){return _.map(a.displayedChatWebsites,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){e.unsyncUpdates("chat_website"),b.url="/api/chat/websites",h.getPage(b).then(function(c){a.displayedChatWebsites=c.rows,b.pagination.numberOfPages=c.total_pages,g.updateTableConfig(a.chatWebsitesByPage,a.displayedChatWebsites.length),g.updateTableConfig(a.conf.chatWebsitesByPage,a.displayedChatWebsites.length)}),e.socket.on("chat_website:save",function(){a.initList(b)}),e.socket.on("chat_website:remove",function(c){a.chatWebsites.checked=_.without(a.chatWebsites.checked,c.id),a.initList(b)})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("api/chat/websites/"+a).success(function(){c.show(d.instant("MESSAGE_CHAT_WEBSITE_DELETE_SUCCESS")+"!","success")}).error(function(){c.show(d.instant("MESSAGE_CHAT_WEBSITE_DELETE_FAILURE"),"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/chat/websites",{params:{id:a.chatWebsites.checked}}).success(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){c.show(a.message,"danger")})}),a.$on("$destroy",function(){e.unsyncUpdates("chat_website")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.websites.list",{url:"/list",templateUrl:"app/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.chat.websites.view.actions",{url:"/actions",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("chatWebsiteViewActionListCtrl",["$scope","$http","$translate","$stateParams","socket","xAlert","Modal",function(a,b,c,d,e,f,g){a.initActons=function(){console.log(d),a.sortableOptions={stop:function(){console.log("stop",_.pluck(a.chatApplications,"id")),b.post("api/chat/websites/"+d.websiteId+"/applications",{applications:_.pluck(a.chatApplications,"id")}).success(function(b){angular.copy(b,a.chatApplications)}).error(function(a){console.error(a)})}},b.get("/api/chat/applications",{params:{ChatWebsiteId:d.websiteId}}).success(function(b){a.chatApplications=b,e.socket.on("chat_application:remove",function(b){_.remove(a.chatApplications,{id:b.id})})})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("api/chat/applications/"+a).success(function(){f.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){f.show(a.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.websites.view.actions.list",{url:"/list",templateUrl:"app/chat/website/view/action/list/list.html",controller:"chatWebsiteViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("chatWebsiteViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval",function(a,b,c,d,e,f,g,h,i,j){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/chat/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]),console.log(c),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(){b.get("/api/chat/queues",{params:{page:0,per_page:500}}).success(function(b){a.queues=b.rows}).error(function(a){console.error(a)})},a.getAgents=function(){b.get("/api/agents",{params:{page:0,per_page:500}}).success(function(b){a.agents=b.rows}).error(function(a){console.error(a)})},a.getIntervals=function(){b.get("/api/intervals",{params:{page:0,per_page:500}}).success(function(b){a.intervals=b.rows}).error(function(a){console.error(a)})},a.updateItem=function(){var e=["*","*","*","*"],g={app:a.application.app,timeout:a.application.timeout,chatAccountId:c.id};switch(a.application.app){case"agent":g.UserId=a.application.UserId;break;case"queue":g.chatQueueId=a.application.chatQueueId}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),e[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",e[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",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/chat/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.chat.websites.view.actions.view",{url:"/view/:actionId",templateUrl:"app/chat/website/view/action/view/view.html",controller:"chatWebsiteViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("chatWebsiteViewActionWizardCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval",function(a,b,c,d,e,f,g,h,i,j){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(){console.log(c),a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],a.$application=i.application,a.$stateParams=c,a.$interval=j.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(){b.get("/api/chat/queues",{params:{page:0,per_page:1e3}}).success(function(b){a.queues=b.rows}).error(function(a){console.error(a)})},a.getAgents=function(){b.get("/api/agents",{params:{page:0,per_page:1e3}}).success(function(b){a.agents=b.rows}).error(function(a){console.error(a)})},a.getIntervals=function(){b.get("/api/intervals",{params:{page:0,per_page:500}}).success(function(b){a.intervals=b.rows}).error(function(a){console.error(a)})},a.createItem=function(){var d=["*","*","*","*"],f={app:a.application.app,timeout:a.application.timeout,ChatWebsiteId:c.websiteId};switch(a.application.app){case"agent":f.UserId=a.application.UserId;break;case"queue":f.ChatQueueId=a.application.ChatQueueId}switch(a.application.intType){case"always":f.interval=d.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(d[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),d[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",d[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",d[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",f.interval=d.join(","),delete a.application.IntervalId;break;case"list":
+f.IntervalId=a.application.IntervalId}b.post("/api/chat/applications",f).success(function(){e.path("/chat/websites/view/"+c.websiteId+"/actions/list")}).error(function(a){console.error(a)})},a.formValidation=function(a){return a},a.next=function(){g.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.websites.view.actions.wizard",{url:"/wizard",templateUrl:"app/chat/website/view/action/wizard/wizard.html",controller:"chatWebsiteViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.websites.view.snippet",{url:"/snippet",template:"<div ui-view></div>","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.lang={HeaderCurrentlyChatting:"Live Chat",HeaderOffline:"Contact us",OperatorOfflineMessage:"It appears as if all operators are currently offline.",OfflineMessage:"<strong>We're not online.</strong><br/>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(){e.get().$promise.then(function(b){console.log(b),a.mailTemplates=b.rows}),b.get("api/chat/websites/"+c.websiteId+"/snippet").success(function(b){a.snippetCode=b})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.websites.view.snippet.view",{url:"/view",templateUrl:"app/chat/website/view/snippet/view/view.html",controller:"ChatWebsiteViewSnippetViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewCtrl",["$scope","xAlert","$http","$location","$stateParams","$translate","WizardHandler",function(a,b,c,d,e,f,g){a.initApplication=function(){a.forms={},a.application={}},a.goNext=function(){g.wizard().next()},a.formValidation=function(a){return a},a.deleteItem=function(a){c["delete"]("api/chat/applications/"+a).error(function(){b.show(f.instant("Something went wrong!"),"danger")})},a.initView=function(){c.get("/api/chat/websites/"+e.websiteId).success(function(b){a.chatWebsite=b}).error(function(a){b.show(a.message,"danger")})},a.updateItem=function(){c.put("/api/chat/websites/"+a.chatWebsite.id,a.chatWebsite).success(function(){b.show(f.instant("MESSAGE_CHAT_WEBSITE_UPDATE_SUCCESS")+"!","success")}).error(function(){b.show(f.instant("MESSAGE_CHAT_WEBSITE_UPDATE_FAILURE"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.websites.view",{url:"/view/:websiteId",templateUrl:"app/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.chat.websites",{url:"/websites",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert",function(a,b,c,d,e,f){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(){b.post("api/chat/websites",a.item).success(function(){f.show(d.instant("MESSAGE_CHAT_WEBSITE_CREATE_SUCCESS"),"success"),c.path("/chat/websites/list")}).error(function(){f.show(d.instant("MESSAGE_CHAT_WEBSITE_CREATE_FAILURE"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.chat.websites.wizard",{url:"/wizard",templateUrl:"app/chat/website/wizard/wizard.html",controller:"ChatWebsiteWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.companies",{url:"/companies",template:"<div ui-view></div>","abstract":!0})}]),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","$http","socket","$rootScope","$translate","xAlert","Modal","stResource","$uibModal","$log",function(a,b,c,d,e,f,g,h,i,j){a.conf={companiesByPage:{name:"10",value:10}},a.companiesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.Companies={checked:[]},a.check=function(b,c){c?a.Companies.checked=angular.copy(_.pluck(a.displayedCompanies,"id")):a.Companies.checked=[]},a.getCompanies=function(b){return _.map(a.displayedCompanies,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("company"),b.url="/api/contactmanager/companies",h.getPage(b).then(function(c){a.displayedCompanies=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.companiesByPage,a.displayedCompanies.length),d.updateTableConfig(a.conf.companiesByPage,a.displayedCompanies.length)}),c.socket.on("company:save",function(){console.log("save"),a.initList(b)}),c.socket.on("company:remove",function(c){a.Companies.checked=_.without(a.Companies.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/contactmanager/companies/"+a).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/contactmanager/companies",{params:{id:a.Companies.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.create=function(){var a=i.open({animation:!0,templateUrl:"app/contactmanager/company/list/create.modal.html",controller:"CompanyListCreateModalCtrl"});a.result.then(function(a){b.post("/api/contactmanager/companies",a).then(function(a){f.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.data.message,"danger")})},function(){j.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","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){a.getCompany=function(){b.get("/api/contactmanager/companies/"+e.id).success(function(b){a.company=b}).error(function(a){f.path("/contactmanager/companies/list")})},a.updateCompany=function(){var f=angular.copy(a.company);b.put("/api/contactmanager/companies/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.company=f})}}]),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").config(["$stateProvider",function(a){a.state("main.contactmanager.contacts",{url:"/contacts",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ContactManagerListImportModalCtrl",["$scope","$uibModalInstance","indexes","csv","xAlert","socket","$http",function(a,b,c,d,e,f,g){function h(b){if(b>=a.csvLength||a.stopped)return void(a.importing=!1);var c={Phones:[],Emails:[],customFields:{}};_.forOwn(a.item,function(e,f){switch(f){case"Phones":a.item.Phones.forEach(function(a){""!==d[b][a]&&c.Phones.push({phone:d[b][a]})});break;case"Emails":a.item.Emails.forEach(function(a){""!==d[b][a]&&c.Emails.push({email:d[b][a]})});break;case"customFields":_.forOwn(a.item.customFields,function(a,e){c.customFields[e]=d[b][a]});break;case"tags":c.tags=[],a.item.tags.forEach(function(a){""!==d[b][a]&&c.tags.push(d[b][a])});break;default:c[f]=d[b][e]}}),c.tags=c.tags?c.tags.join(","):void 0,_.forOwn(c.customFields,function(a,b){""===a&&delete c.customFields[b]}),g.post("/api/contactmanager",c).success(function(c){a["import"].success+=i,a["import"].succeeded+=1,h(b+1)}).error(function(c){a["import"].fail+=i,a["import"].failed+=1,h(b+1)})}a.indexes=c,a.importing=!1,a.submitted=!1,a.stopped=!1,a["import"]={success:0,fail:0,succeeded:0,failed:0},a.csvLength=d.length;var i=100/a.csvLength;a.forms={dashboard:void 0},a.item={},a.start=function(){console.log(d),a.importing=!0,a.submitted=!0,h(0)},a.getCustomFields=function(){g.get("/api/contactmanager/customfields").success(function(b){a.customFields=b.rows,f.syncUpdates("custom_field",a.customFields)}).error(function(a){console.error(a),e.show(a.message,"danger")})},a.close=function(){b.close()},a.stop=function(){a.stopped=!0}}]),angular.module("xCallyShuttleApp").controller("ContactManagerContactListCtrl",["$scope","$http","$translate","$rootScope","xAlert","socket","Modal","stResource","FileUploader","Papa","$uibModal","$log",function(a,b,c,d,e,f,g,h,i,j,k,l){var m;i.FileSelect.prototype.isEmptyAfterSelection=function(){return!0};var n=a.uploader=new i({queueLimit:1,clearInputAfterAddedToQueue:!0});n.onAfterAddingFile=function(b){console.log("fileadded"),j.parse(b._file,{header:!0,complete:function(b){a.uploader.clearQueue(),a["import"](b.data)},error:function(a){console.log(a)}})},a["import"]=function(b){f.unsyncUpdates("contact_manager");var c=k.open({animation:!0,size:"lg",backdrop:"static",keyboard:!1,templateUrl:"app/contactmanager/contact/list/import.modal.html",controller:"ContactManagerListImportModalCtrl",resolve:{indexes:function(){return _.keys(b[0])},csv:function(){return b}}});c.result.then(function(b){console.log("dismiss and synch"),f.socket.on("contact_manager:save",function(){a.initList(m)}),f.socket.on("contact_manager:remove",function(b){a.contacts.checked=_.without(a.contacts.checked,b.id),a.initList(m)})},function(){l.info("Modal dismissed at: "+new Date)})},a.conf={contactsByPage:{name:"10",value:10},labels:["mailbox","fullname","email"]},a.contactsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.contacts={checked:[]},a.newContact=function(b){a.workspaces.push({name:"New Contact",type:"newContact",active:!0,data:b?b:null})},a.openContactTab=function(b){var c=_.find(a.workspaces,{contactID:b.id});c?c.active=!0:a.workspaces.push({name:b.fullname,type:"contact",contactID:b.id,active:!0})},a.check=function(b,c){c?a.contacts.checked=angular.copy(_.pluck(a.displayedContacts,"id")):a.contacts.checked=[]},a.getContacts=function(b){return _.map(a.displayedContacts,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("contact_manager"),b.url="/api/contactmanager",m=b,h.getPage(b).then(function(c){console.log(c),a.displayedContacts=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.contactsByPage,a.displayedContacts.length),d.updateTableConfig(a.conf.contactsByPage,a.displayedContacts.length)}),f.socket.on("contact_manager:save",function(){a.initList(b)}),f.socket.on("contact_manager:remove",function(c){a.contacts.checked=_.without(a.contacts.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/contactmanager/"+a).success(function(){e.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){e.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/contactmanager",{params:{id:a.contacts.checked}}).success(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){e.show(c.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.contacts.list",{url:"/list",templateUrl:"app/contactmanager/contact/list/list.html",controller:"ContactManagerContactListCtrl",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.contactmanager",{url:"/contactmanager",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.customfields",{url:"/customfields",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ContactManagerCustomFieldListCreateModalCtrl",["$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(){a.item.model=JSON.stringify({title:a.item.name}),"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("ContactManagerCustomFieldListCtrl",["$scope","$http","socket","$rootScope","$translate","xAlert","Modal","stResource","$uibModal","$log",function(a,b,c,d,e,f,g,h,i,j){a.conf={cutomFieldsByPage:{name:"10",value:10}},a.customFieldsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.customFields={checked:[]},a.check=function(b,c){c?a.customFields.checked=angular.copy(_.pluck(a.displayedCustomFields,"id")):a.customFields.checked=[]},a.getCustomFields=function(b){return _.map(a.displayedCustomFields,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("custom_field"),b.url="/api/contactmanager/customfields",h.getPage(b).then(function(c){a.displayedCustomFields=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.customFieldsByPage,a.displayedCustomFields.length),d.updateTableConfig(a.conf.customFieldsByPage,a.displayedCustomFields.length)}),c.socket.on("custom_field:save",function(){console.log("save"),a.initList(b)}),c.socket.on("custom_field:remove",function(c){a.customFields.checked=_.without(a.customFields.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/contactmanager/customfields/"+a).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/contactmanager/customfields/",{params:{id:a.customFields.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.create=function(){var a=i.open({animation:!0,templateUrl:"app/contactmanager/customfield/list/create.modal.html",controller:"ContactManagerCustomFieldListCreateModalCtrl"});a.result.then(function(a){b.post("/api/contactmanager/customfields/",a).then(function(a){f.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.data.message,"danger")})},function(){j.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.customfields.list",{url:"/list",templateUrl:"app/contactmanager/customfield/list/list.html",controller:"ContactManagerCustomFieldListCtrl",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("ContactManagerCustomFieldViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){a.getCustomField=function(){b.get("/api/contactmanager/customfields/"+e.id).success(function(b){a.customField=b,"select"===a.customField.type&&(a.choices=JSON.parse(a.customField.values))}).error(function(a){console.error(a),f.path("/contactmanager/customfields/list")})},a.updateCustomField=function(){"select"===a.customField.type&&(a.customField.values=angular.toJson(a.choices));var f=angular.copy(a.customField);b.put("/api/contactmanager/customfields/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.customField=f})},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.customfields.view",{url:"/view/:id",templateUrl:"app/contactmanager/customfield/view/view.html",controller:"ContactManagerCustomFieldViewCtrl",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.customfields.view.settings",{url:"/settings",templateUrl:"app/contactmanager/customfield/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("DashboardCtrl",["$scope","$translate",function(a,b){a.voice=[{name:b.instant("APPLICATION_QUEUE"),link:"main.dashboard.voice"}],a.mail=[{name:b.instant("APPLICATION_QUEUE"),link:"main.dashboard.mail"}]}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.dashboard",{"abstract":!0,url:"/dashboard",templateUrl:"app/dashboard/dashboard.html",controller:"DashboardCtrl"}).state("main.dashboard.voice",{url:"/voice",controller:"DashboardVoiceCtrl",templateUrl:"app/dashboard/voice/voice.html"}).state("main.dashboard.mail",{url:"/mail",controller:"DashboardMailCtrl",templateUrl:"app/dashboard/mail/mail.html"})}]),angular.module("xCallyShuttleApp").controller("DashboardMailCtrl",["$scope",function(a){a.message="Hello"}]),angular.module("xCallyShuttleApp").controller("DashboardVoiceCtrl",["$scope","$http","xAlert","socket",function(a,b,c,d){function e(b,c){var d;return!b.queuecallerjoinAt||b.queuecallerleaveAt||b.queuecallercompleteAt||b.queuecallerabandonAt?b.queuecallerjoinAt&&b.queuecallerleaveAt&&!b.queuecallercompleteAt&&!b.queuecallerabandonAt?d="activeCalls":b.queuecallerjoinAt&&b.queuecallerleaveAt&&b.queuecallercompleteAt&&!b.queuecallerabandonAt?d="completedCalls":b.queuecallerjoinAt&&b.queuecallerleaveAt&&!b.queuecallercompleteAt&&b.queuecallerabandonAt&&(d="abandonedCalls"):d="waitCalls",c?d:void(d&&a.queueStats[d]++)}a.queueStats={abandonedCalls:0,completedCalls:0,waitCalls:0,activeCalls:0},a.getQueueStats=function(){b.get("/api/report/queues").then(function(b){a.queueReports=b.data,a.queueReports.forEach(function(a){e(a,!1)}),d.socket.on("report_queue:save",function(b){console.log("report save or update");var c=_.find(a.queueReports,{id:b.id}),d=a.queueReports.indexOf(c);if(c){console.log("found item, is an update");var f=e(c,!0);console.log("old item value is "+f+", decrementing..."),f&&a.queueStats[f]--,_.merge(a.queueReports[d],b)}else console.log("item not found in collection, is a create"),a.queueReports.unshift(b);console.log("checking new item type and increasing..."),e(b,!1)})})["catch"](function(a){c.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.desk",{url:"/desk",template:"<div ui-view></div>","abstract":!0})}]),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(_.pluck(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.fax.accounts",{url:"/accounts",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("FaxAccountListCtrl",["$scope","$http","xAlert","$translate","socket","Modal","$rootScope","$log","stResource",function(a,b,c,d,e,f,g,h,i){a.conf={faxAccountsByPage:{name:"10",value:10}},a.faxAccountsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.fax_accounts={checked:[]},a.check=function(b,c){c?a.fax_accounts.checked=angular.copy(_.pluck(a.displayedFaxAccounts,"id")):a.fax_accounts.checked=[]},a.initList=function(b){e.unsyncUpdates("fax_account"),b.url="/api/fax/accounts",i.getPage(b).then(function(c){a.displayedFaxAccounts=c.rows,b.pagination.numberOfPages=c.total_pages,g.updateTableConfig(a.faxAccountsByPage,a.displayedFaxAccounts.length),g.updateTableConfig(a.conf.faxAccountsByPage,a.displayedFaxAccounts.length)}),e.socket.on("fax_account:save",function(){a.initList(b)}),e.socket.on("fax_account:remove",function(c){a.fax_accounts.checked=_.without(a.fax_accounts.checked,c.id),a.initList(b)})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("api/fax/accounts/"+a).success(function(){c.show(d.instant("MESSAGE_FAX_ACCOUNT_DELETE_SUCCESS"),"success")}).error(function(){c.show(d.instant("MESSAGE_FAX_ACCOUNT_DELETE_FAILURE"),"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/fax/accounts",{params:{id:a.fax_accounts.checked}}).success(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){c.show(d.instant(a.message),"danger")})}),a.getFaxAccounts=function(b){return _.map(a.faxAccountsByPage,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.$on("$destroy",function(){e.unsyncUpdates("fax_account")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.accounts.list",{url:"/list",templateUrl:"app/fax/account/list/list.html",controller:"FaxAccountListCtrl",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("FaxAccountViewCtrl",["$scope","$http","$stateParams","$translate","$location","WizardHandler","socket","xAlert","Modal",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.forms={},a.sortableOptions={stop:function(){b.post("api/fax/accounts/"+c.id+"/applications",{applications:_.pluck(a.faxApplications,"id")}).success(function(b){a.faxApplications=b}).error(function(a){console.error(a)})},"ui-floating":!0},a.goNext=function(){f.wizard().next();
+},a.formValidation=function(a){return a},a.initApplication=function(){a.forms={},a.application={}},a.deleteItem=i.confirm["delete"](function(a){b["delete"]("api/fax/applications/"+a).success(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.getAppdata=function(b,c){switch(b){case"agent":return a.agents?_.find(a.agents,{id:c}).name:c;case"queue":return a.faxQueues?_.find(a.faxQueues,{id:c}).name:c}return"UNKNOWN"},a.createItem=function(){switch(a.application.appdata=a.application.appdata.id,a.application.app){case"agent":a.application.UserId=parseInt(a.application.appdata,10);break;case"queue":a.application.FaxQueueId=parseInt(a.application.appdata,10)}a.application.FaxAccountId=c.id,b.post("api/fax/applications",a.application).success(function(){e.path("fax/accounts/view/"+c.id+"/routes")}).error(function(){h.show("Something went wrong!","danger")})},a.$watch("application.app",function(c){if(c){var d;switch(c){case"agent":d="api/agents";break;case"queue":d="api/fax/queues"}b.get(d).success(function(b){a.items=b.rows})}},!0),a.initView=function(){b.get("/api/trunks").success(function(b){a.trunks=b.rows}).error(function(a){console.log(a)}),b.get("/api/fax/accounts/"+c.id).success(function(b){a.account=b}).error(function(){})},a.getAgents=function(){b.get("api/fax/agents").success(function(b){a.agents=b})},a.getFaxApplications=function(){b.get("/api/fax/applications",{params:{FaxAccountId:c.id}}).success(function(b){a.faxApplications=b,g.socket.on("fax_application:remove",function(b){_.remove(a.faxApplications,{id:b.id})})}),b.get("/api/agents").success(function(b){a.agents=b.rows}),b.get("/api/fax/queues").success(function(b){a.faxQueues=b.rows})},a.updateItemFaxAccount=function(){b.put("/api/fax/accounts/"+c.id,a.account).success(function(){h.show(d.instant("MESSAGE_FAX_ACCOUNT_UPDATE_SUCCESS")+".","success")}).error(function(){h.show(d.instant("MESSAGE_FAX_ACCOUNT_UPDATE_FAILURE")+".","danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.accounts.view",{url:"/view/:id",templateUrl:"app/fax/account/view/view.html",controller:"FaxAccountViewCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.fax.accounts.view.settings",{url:"/settings",templateUrl:"app/fax/account/view/view.settings.html",authenticate:!0}).state("main.fax.accounts.view.routes",{url:"/routes",templateUrl:"app/fax/account/view/view.routes.html",authenticate:!0}).state("main.fax.accounts.view.applications",{url:"/applications",templateUrl:"app/fax/account/view/view.applications.html",authenticate:!0})}]),angular.module("xCallyShuttleApp").controller("FaxAccountWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler",function(a,b,c,d,e,f){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(){a.$translate=d,a.forms={},a.item={},a.item.ecm=!1,a.item.minrate="9600",a.item.maxrate="33600",b.get("/api/trunks").success(function(b){a.trunks=b.rows}).error(function(a){console.error(a)})},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("api/fax/accounts",a.item).success(function(){e.show(d.instant("MESSAGE_FAX_ACCOUNT_CREATE_SUCCESS")+".","success"),c.path("/fax/accounts/list")}).error(function(){e.show(d.instant("MESSAGE_FAX_ACCOUNT_CREATE_FAILURE")+".","danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.accounts.wizard",{url:"/wizard",templateUrl:"app/fax/account/wizard/wizard.html",controller:"FaxAccountWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.automations",{url:"/automations",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("FaxAutomationListCtrl",["$scope","$http","$translate","$rootScope","stResource","Modal","socket","xAlert",function(a,b,c,d,e,f,g,h){a.conf={faxAutomationsByPage:{name:"10",value:10}},a.faxAutomationsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],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.faxAutomations={checked:[]},a.check=function(b,c){c?a.faxAutomations.checked=angular.copy(_.pluck(a.displayedFaxAutomations,"id")):a.faxAutomations.checked=[]},a.getFaxAutomations=function(b){return _.map(a.displayedFaxAutomations,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){g.unsyncUpdates("fax_business_automation"),b.url="/api/fax/business/automations",e.getPage(b).then(function(c){a.displayedFaxAutomations=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.faxAutomationsByPage,a.displayedFaxAutomations.length),d.updateTableConfig(a.conf.faxAutomationsByPage,a.displayedFaxAutomations.length)}),g.socket.on("fax_business_automation:save",function(){a.initList(b)}),g.socket.on("fax_business_automation:remove",function(c){a.faxAutomations.checked=_.without(a.faxAutomations.checked,c.id),a.initList(b)})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("/api/fax/business/automations/"+a).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/fax/business/automations",{params:{id:a.faxAutomations.checked}}).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){h.show(c.instant(a.message),"danger")})}),a.updateItem=function(a,d){b.put("api/fax/business/automations/"+a,{status:d}).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.$on("$destroy",function(){g.unsyncUpdates("fax_business_automation")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.automations.list",{url:"/list",templateUrl:"app/fax/automation/list/list.html",controller:"FaxAutomationListCtrl",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("FaxAutomationViewCtrl",["$scope","$stateParams","$http","automation","socket","xAlert","$translate","$log",function(a,b,c,d,e,f,g,h){a.initView=function(){a.forms={info:{}},a.automations=d.automations,c.get("/api/fax/business/automations/"+b.id).success(function(c){h.debug(c),a.test=c,a.automation=c,e.syncUpdatesByAttributes("business_condition",{FaxBusinessAutomationId:b.id},c.BusinessConditions)}).error(function(){f.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateAutomation=function(){c.put("/api/fax/business/automations/"+a.automation.id,{name:a.automation.name,description:a.automation.description}).success(function(a){h.debug(a),f.show(g.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger"),h.error(a)})},a.getOperatorsByCondition=function(a){var b=[],c=_.find(d.automations.conditions,{key:a});return c.operators&&c.operators.length&&(b=c.operators),b},a.getAttributesByCondition=function(a){var b=[],c=_.find(d.automations.conditions,{key:a});if(c.attributes&&c.attributes.length)switch(c.key){case"createdAt":b=_.map(c.attributes,function(a){return a.value=parseInt(a.value,10),a});break;default:b=c.attributes}return b},a.addNewCondition=function(b){c.post("/api/business/conditions",{type:b,condition:"status",FaxBusinessAutomationId:a.automation.id}).success(function(b){a.automation.BusinessConditions.push(b)}).error(function(a){console.error(a),f.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addNewAction=function(){c.post("/api/business/actions",{condition:"status",FaxBusinessAutomationId:a.automation.id}).success(function(b){a.automation.BusinessActions.push(b)}).error(function(a){console.error(a)})},a.removeCondition=function(a){c["delete"]("/api/business/conditions/"+a).success(function(a){console.log(a),f.show(g.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){console.error(a),f.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.removeAction=function(b){c["delete"]("/api/business/actions/"+b).success(function(b){console.log(b),a.automation.BusinessActions=_.reject(a.automation.BusinessActions,{id:b.id})}).error(function(a){console.error(a),f.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateCondition=function(a,b,d){var e={};e[b]=d,c.put("/api/business/conditions/"+a,e).success(function(a){console.log(a),f.show(g.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){console.error(a),f.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateAction=function(a,b,d){var e={};e[b]=d,c.put("/api/business/actions/"+a,e).success(function(a){console.log(a),f.show(g.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){console.error(a),f.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.automations.view",{url:"/view/:id",templateUrl:"app/fax/automation/view/view.html",controller:"FaxAutomationViewCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.fax.automations.view.settings",{url:"/settings",templateUrl:"app/fax/automation/view/view.settings.html",authenticate:!0}).state("main.fax.automations.view.routes",{url:"/routes",templateUrl:"app/fax/automation/view/view.routes.html",authenticate:!0}).state("main.fax.automations.view.application",{url:"/application",templateUrl:"app/fax/automation/view/view.application.html",authenticate:!0})}]),angular.module("xCallyShuttleApp").controller("FaxAutomationWizardCtrl",["$scope","$http","$location","automation","WizardHandler","xAlert","$translate",function(a,b,c,d,e,f,g){a.forms={},a.automations={or:[],and:[],actions:[]},a.addNewChoice=function(b){var c=angular.copy(d.automations);a.automations[b].push(c)},a.removeChoice=function(b,c){a.automations[b].splice(c)},a.goNext=function(){e.wizard().next()},a.createItem=function(){a.automations.or.forEach(function(a){a.condition=a.condition.key,a.type="or",delete a.conditions,delete a.actions}),a.automations.and.forEach(function(a){a.condition=a.condition.key,a.type="and",delete a.conditions,delete a.actions}),a.automations.actions.forEach(function(a){a.condition=a.condition.key,delete a.conditions,delete a.actions}),b.post("api/fax/business/automations",a.automations).success(function(){f.show(g.instant("MESSAGE_WELL_DONE"),"success"),c.path("/fax/automations/list")}).error(function(a){console.error(a),f.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.formValidation=function(a){return a}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.automations.wizard",{url:"/wizard",templateUrl:"app/fax/automation/wizard/wizard.html",controller:"FaxAutomationWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax",{url:"/fax",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("FaxInboxComposeCtrl",["$scope","$http","FileUploader","$location","Auth","xAlert","$cookieStore","$translate",function(a,b,c,d,e,f,g,h){a.forms={},a.form={to:[],sto:[]},b.get("api/fax/accounts").success(function(b){a.faxAccounts=b.rows}),a.isNewMessageFromEmpty=!0;var i=a.uploader=new c({url:"api/fax/messages",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+g.get("token")}});i.filters.push({name:"pdfFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|pdf|".indexOf(b)}}),i.onBeforeUploadItem=function(b){b.formData.push({accountId:a.form.from.id,toNum:a.form.sto[0],isNewRoom:a.isNewMessageFromEmpty,userId:e.getCurrentUser().id,html:a.form.html?a.form.html:""})},i.onSuccessItem=function(a,b,c,d){console.info("onSuccessItem",a,b,c,d)},i.onErrorItem=function(a,b,c,d){console.info("onErrorItem",a,b,c,d)},i.onCompleteAll=function(){i.clearQueue(),f.show(h.instant("MESSAGE_WELL_DONE"),"success"),d.path("/fax/inbox/incoming")},i.onWhenAddingFileFailed=function(){f.show(h.instant("MESSAGE_WRONG_FORMAT"),"danger")},a.sendFax=function(){return a.form.sto.length?void(i.queue.length?i.uploadAll():b.post("api/fax/messages",{accountId:a.form.from.id,toNum:a.form.sto[0],isNewRoom:a.isNewMessageFromEmpty,userId:e.getCurrentUser().id,html:a.form.html,onlyText:!0}).success(function(){f.show(h.instant("MESSAGE_WELL_DONE"),"success"),d.path("/fax/inbox/incoming")}).error(function(a){f.show(h.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger"),console.error(a)})):(a.forms.compose.to.$valid=!1,void(a.forms.compose.to.$invalid=!0))},a.cancel=function(){a.form.sto=[],delete a.form.from}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.inbox.compose",{url:"/compose",templateUrl:"app/fax/inbox/room/room.html",controller:"FaxInboxComposeCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxInboxCtrl",["$scope","$http","$location","$translate","$timeout","$notification","Auth","socket","$interval",function(a,b,c,d,e,f,g,h,i){a.go=function(a,d,e){e?b.put("/api/fax/rooms/"+d,{status:e}).success(function(){c.path(a)}).error(function(a){console.error(a)}):c.path(a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.inbox",{url:"/inbox",templateUrl:"app/fax/inbox/inbox.html",controller:"FaxInboxCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/inbox.css","assets/css/todo.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("FaxInboxIncomingCtrl",["$scope","$http","$location","socket","Auth","xAlert",function(a,b,c,d,e,f){a.$location=c,a.getRooms=function(){e.isAdmin()?b.get("api/fax/rooms").success(function(b){a.faxRooms=b,d.syncUpdates("fax_room",a.faxRooms)}).error(function(a){console.error(a),f.show($translate.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")}):b.get("api/fax/rooms/agent/"+e.getCurrentUser().id).success(function(b){a.faxRooms=b,d.socket.on("fax_room:update",function(b){b.UserId===e.getCurrentUser().id&&a.faxRooms.push(b)})}).error(function(a){f.show($translate.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger"),console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.inbox.incoming",{url:"/incoming",templateUrl:"app/fax/inbox/incoming/incoming.html",controller:"FaxInboxIncomingCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxInboxRoomCtrl",["$scope","$http","$stateParams","$location","FileUploader","socket","Auth","xAlert","$translate","$cookieStore",function(a,b,c,d,e,f,g,h,i,j){function k(){a.lastMessage=_.reject(a.faxRoom.FaxMessages,function(a){return"RECEIVED"!==a.status}),a.lastMessage=_.sortByOrder(a.lastMessage,["id"],["desc"])[0],a.lastMessage&&(console.log(a.faxRoom),a.form.from=a.faxRoom.FaxAccount,a.form.to=[a.lastMessage.From.phone],a.form.sto=[a.lastMessage.From.phone])}var l=a.uploader=new e({url:"api/fax/messages",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+j.get("token")}});l.filters.push({name:"pdfFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|pdf|".indexOf(b)}}),l.onBeforeUploadItem=function(b){console.log(a.form.from.id,a.form.sto[0],a.isNewMessageFromEmpty,c.id,g.getCurrentUser().id),b.formData.push({accountId:a.form.from.id,toNum:a.form.sto[0],isNewRoom:a.isNewMessageFromEmpty,roomId:c.id,userId:g.getCurrentUser().id,html:a.form.html}),console.log(b)},l.onSuccessItem=function(a,b,c,d){console.info("onSuccessItem",a,b,c,d)},l.onErrorItem=function(a,b,c,d){console.info("onErrorItem",b,c,d)},l.onCompleteAll=function(){l.clearQueue(),h.show(i.instant("MESSAGE_WELL_DONE"),"success")},l.onWhenAddingFileFailed=function(){h.show(i.instant("MESSAGE_WRONG_FORMAT"),"danger")},a.initRoomView=function(){a.isNewMessageFromEmpty=!0,a.Auth=g,a.forms={},a.form={to:[],sto:[]},b.get("api/agents").success(function(b){a.agents=b}),b.get("api/fax/accounts").success(function(b){a.faxAccounts=b.rows}),c.id&&b.get("/api/fax/rooms/"+c.id).success(function(b){a.faxRoom=b,a.isNewMessageFromEmpty=!1,f.syncUpdates("fax_message",[],function(b,c){"created"===b&&c.FaxRoomId===a.faxRoom.id&&(a.faxRoom.FaxMessages.push(c),k())}),k()}).error(function(a){console.error(a),h.show(i.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.sendFax=function(){return a.form.sto.length?void(l.queue.length?l.uploadAll():b.post("api/fax/messages",{accountId:a.form.from.id,toNum:a.form.sto[0],isNewRoom:a.isNewMessageFromEmpty,userId:g.getCurrentUser().id,html:a.form.html,onlyText:!0}).success(function(){h.show(i.instant("MESSAGE_WELL_DONE"),"success"),console.log("Fax Message sent")}).error(function(a){h.show(i.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger"),console.error(a)})):(a.forms.compose.to.$valid=!1,void(a.forms.compose.to.$invalid=!0))},a.assignAgent=function(a){b.put("/api/fax/rooms/"+c.id,{UserId:a}).success(function(){h.show(i.instant("MESSAGE_WELL_DONE"),"danger")}).error(function(){h.show(i.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateStatus=function(d){b.put("/api/fax/rooms/"+c.id,{status:d}).success(function(b){a.faxRoom.status=b.status,h.show(i.instant("MESSAGE_WELL_DONE"),"danger")}).error(function(a){console.error(a),h.show(i.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.cancel=function(){a.form.sto=[],delete a.form.from,l.clearQueue()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.inbox.room",{url:"/room/:id",templateUrl:"app/fax/inbox/room/room.html",controller:"FaxInboxRoomCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxQueueListCtrl",["$scope","$rootScope","$http","$translate","socket","Modal","xAlert","stResource",function(a,b,c,d,e,f,g,h){a.$on("$destroy",function(){e.unsyncUpdates("fax_queue")}),a.conf={queuesByPage:{name:"10",value:10}},a.queuesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.faxQueues={checked:[]},a.check=function(b,c){c?a.faxQueues.checked=angular.copy(_.pluck(a.displayedFaxQueues,"id")):a.faxQueues.checked=[]},a.getFaxQueues=function(b){return _.map(a.displayedFaxQueues,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(c){e.unsyncUpdates("fax_queue"),c.url="/api/fax/queues",h.getPage(c).then(function(d){a.displayedFaxQueues=d.rows,c.pagination.numberOfPages=d.total_pages,b.updateTableConfig(d.queuesByPage,a.displayedFaxQueues.length),b.updateTableConfig(a.conf.queuesByPage,a.displayedFaxQueues.length)}),e.socket.on("fax_queue:save",function(){a.initList(c)}),e.socket.on("fax_queue:remove",function(b){a.faxQueues.checked=_.without(a.faxQueues.checked,b.id),a.initList(c)})},a.deleteItem=f.confirm["delete"](function(a){c["delete"]("/api/fax/queues/"+a).success(function(){g.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){g.show(a.message,"danger")})}),a.deleteItems=f.confirm["delete"](function(){c["delete"]("/api/fax/queues/",{params:{id:a.faxQueues.checked}}).success(function(){g.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){g.show(d.instant(a.message),"danger")})}),a.deleteItems=f.confirm["delete"](function(){c["delete"]("/api/fax/queues/",{params:{id:a.faxQueues.checked}}).success(function(){g.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){g.show(d.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.queues.list",{url:"/list",templateUrl:"app/fax/queue/list/list.html",controller:"FaxQueueListCtrl",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.fax.queues",{url:"/queues",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("FaxQueueViewCtrl",["$scope","$http","$translate","$stateParams","xAlert",function(a,b,c,d,e){var f=function(){return{select:function(c){b.post("/api/fax/queues/"+a.queue.id+"/agents",{agents:c}).success(function(){a.getTeams()}).error(function(a){console.error(a)})},deselect:function(c){b.put("/api/fax/queues/"+a.queue.id+"/agents",{agents:c}).success(function(){a.getTeams()}).error(function(a){console.error(a)})}}};a.getQueue=function(){b.get("/api/fax/queues/"+d.id).success(function(b){a.queue=b}).error(function(){e.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateFaxQueue=function(){var f=angular.copy(a.queue);b.put("/api/fax/queues/"+d.id,f).success(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"danger")}).error(function(){e.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger"),a.queue=f})},a.getTeams=function(){b.get("/api/teams").success(function(c){a.teams=c.rows,b({url:"/api/fax/user_has_queues",method:"GET",params:{FaxQueueId:a.queue.id}}).success(function(b){ComponentsDropdowns.bindFaxQueue(a.teams,_.pluck(b,"UserId"),f)})}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.queues.view",{url:"/view/:id",templateUrl:"app/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.fax.queues.view.settings",{url:"/settings",templateUrl:"app/fax/queue/view/view.settings.html"}).state("main.fax.queues.view.agents",{url:"/agents",templateUrl:"app/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/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").controller("FaxQueueWizardCtrl",["$scope","$http","WizardHandler","xAlert","$translate","$location",function(a,b,c,d,e,f){a.forms={},a.item={},a.next=function(){c.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/fax/queues",a.item).success(function(){d.show(e.instant("MESSAGE_WELL_DONE"),"success"),f.path("/fax/queues/list")}).error(function(a){d.show(e.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.queues.wizard",{url:"/wizard",templateUrl:"app/fax/queue/wizard/wizard.html",controller:"FaxQueueWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxTimelineListCtrl",["$scope","$http","socket","xAlert","$translate",function(a,b,c,d,e){function f(b){a.events>50&&a.events.pop(),a.events.unshift(b)}a.initList=function(){a.events=[],b.get("/api/events/channel/fax").success(function(a){a.forEach(f),c.socket.on("event:fax:save",f)}).error(function(a){console.error(a),d.show(e.instant("MESSAGE_FAX_ACCOUNT_GET_FAILURE"),"danger")})},a.$on("$destroy",function(){c.socket.removeAllListeners("event:fax:save")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.timeline.list",{url:"/list",templateUrl:"app/fax/timeline/list/list.html",controller:"FaxTimelineListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/timeline.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.fax.timeline",{url:"/timeline",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.freshdesk",{url:"/freshdesk",template:"<div ui-view></div>","abstract":!0})}]),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(_.pluck(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:"<div ui-view></div>","abstract":!0})}]),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.intervals",{url:"/intervals",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("IntervalListCtrl",["$scope","$http","socket","$translate","$rootScope","xAlert","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={intervalsByPage:{name:"10",value:10},labels:["name"]},a.intervalsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.intervals={checked:[]},a.check=function(b,c){c?a.intervals.checked=angular.copy(_.pluck(a.displayedIntervals,"id")):a.intervals.checked=[]},a.getIntervals=function(b){return _.map(a.displayedIntervals,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("interval"),b.url="/api/intervals",h.getPage(b).then(function(c){a.displayedIntervals=c.rows,b.pagination.numberOfPages=c.total_pages,e.updateTableConfig(a.intervalsByPage,a.displayedIntervals.length),e.updateTableConfig(a.conf.intervalsByPage,a.displayedIntervals.length)}),c.socket.on("interval:save",function(){a.initList(b)}),c.socket.on("interval:remove",function(c){a.intervals.checked=_.without(a.intervals.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/intervals/"+a).success(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){f.show(d.instant(a.message),"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/intervals",{params:{id:a.intervals.checked}}).success(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(d.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.intervals.list",{url:"/list",templateUrl:"app/interval/list/list.html",controller:"IntervalListCtrl",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("IntervalViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location","WizardHandler","Modal","interval",function(a,b,c,d,e,f,g,h,i,j){a.$translate=d,a.$interval=j.interval,a.forms={subinterval:void 0,general:void 0},a.initSubInterval=function(){a.subinterval={IntervalId:e.id},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(){b.post("/api/intervals/validate/",a.subinterval).success(function(a){console.log(a),a.length?c.show(d.instant("MESSAGE_EXIST_SUBINTERVAL"),"danger"):h.wizard().next()}).error(function(a){c.show(d.instant(a.message),"danger")})},a.previous=function(){h.wizard().previous()},a.exitValidation=function(a){return a},a.joinInterval=function(a){console.log(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,a.wd_to&&"always"!==a.wd_to&&(c+="-"+a.wd_to)):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.getInterval=function(){b.get("/api/intervals/"+e.id).success(function(b){a.interval=b,a.subIntervals=b.SubIntervals,f.unsyncUpdates("interval"),f.socket.on("interval:remove",function(b){b.id&&_.remove(a.subIntervals,function(a){return b.id===a.id})}),f.socket.on("interval:update",function(b){var c=_.find(a.subIntervals,{id:b.id});c.interval=b.interval}),f.socket.on("interval:save",function(b){if(b.IntervalId===e.id){var c=_.find(a.subIntervals,{id:b.id});c||a.subIntervals.push(b)}})}).error(function(a){console.error(a),g.path("/intervals/list")})},a.updateInterval=function(){var f=angular.copy(a.interval);b.put("/api/intervals/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.interval=f})},a.getSubInterval=function(){b.get("/api/intervals/"+e.appId).success(function(b){a.splittedInterval={t_from:moment(new Date),t_to:moment(new Date)},a.subinterval=b;var c,d=b.interval?b.interval.split(","):["*","*","*","*"];d.forEach(function(b,d){switch(d){case 0:"*"!==b?(c=b.split("-"),a.splittedInterval.t_from=moment(c[0],"HH:mm"),a.splittedInterval.t_to=moment(c[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:"*"!==b?(c=b.split("-"),a.splittedInterval.wd_from=_.capitalize(c[0]),a.splittedInterval.wd_to=c[1]?_.capitalize(c[1]):"always"):(a.splittedInterval.wd_from="always",a.splittedInterval.wd_to="always");break;case 2:"*"!==b?(c=b.split("-"),a.splittedInterval.md_from=c[0],a.splittedInterval.md_to=c[1]?c[1]:"always"):(a.splittedInterval.md_from="always",a.splittedInterval.md_to="always");break;case 3:"*"!==b?(c=b.split("-"),a.splittedInterval.m_from=_.capitalize(c[0]),a.splittedInterval.m_to=c[1]?_.capitalize(c[1]):"always"):(a.splittedInterval.m_from="always",a.splittedInterval.m_to="always")}})}).error(function(a){console.error(a),g.path("/intervals/view/"+e.id+"/subintervals")})},a.createItem=function(){a.subinterval.interval=a.joinInterval(a.splittedInterval),b.post("/api/intervals/",a.subinterval).success(function(){g.path("/intervals/view/"+e.id+"/subintervals")}).error(function(a){c.show(d.instant(a.message),"danger")})},a.updateItem=function(){a.subinterval.interval=a.joinInterval(a.splittedInterval),b.put("/api/intervals/"+e.appId,a.subinterval).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),g.path("/intervals/view/"+e.id+"/subintervals")}).error(function(a){c.show(d.instant(a.message),"danger")})},a.deleteItem=i.confirm["delete"](function(a){b["delete"]("/api/intervals/"+a).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){console.log(a),c.show(d.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.intervals.view",{url:"/view/:id",templateUrl:"app/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.intervals.view.settings",{url:"/settings",templateUrl:"app/interval/view/view.settings.html"}).state("main.intervals.view.subintervals",{url:"/subintervals",templateUrl:"app/interval/view/view.subintervals.html",cache:!1}).state("main.intervals.view.subinterval",{url:"/subinterval",templateUrl:"app/interval/view/view.subinterval.html",authenticate:!0}).state("main.intervals.view.subintervals.settings",{url:"/settings/:appId",templateUrl:"app/interval/view/view.subintervalSettings.html",authenticate:!0,controller:"IntervalViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("IntervalWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","$translate",function(a,b,c,d,e,f){a.forms={interval:void 0},a.item={},a.next=function(){b.post("/api/intervals/validate/",a.item).success(function(a){console.log(a),a.length?e.show(f.instant("MESSAGE_EXIST_INTERVAL"),"danger"):c.wizard().next()}).error(function(a){e.show(f.instant(a.message),"danger")})},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/intervals/",a.item).success(function(a){d.path("/intervals/view/"+a.id+"/subintervals")}).error(function(a){e.show(f.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.intervals.wizard",{url:"/wizard",templateUrl:"app/interval/wizard/wizard.html",controller:"IntervalWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty",{url:"/jscripty",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("JscriptyProjectListCtrl",["$scope","$http","socket","$rootScope","$translate","xAlert","Modal","stResource",function(a,b,c,d,e,f,g,h){a.message="Hello",a.conf={projectsByPage:{name:"10",value:10}},a.projectsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.Projects={checked:[]},a.check=function(b,c){c?a.Projects.checked=angular.copy(_.pluck(a.displayedProjects,"id")):a.Projects.checked=[]},a.getProjects=function(b){return _.map(a.displayedProjects,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("jscripty_project"),b.url="/api/jscripty/projects",h.getPage(b).then(function(c){a.displayedProjects=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.projectsByPage,a.displayedProjects.length),d.updateTableConfig(a.conf.projectsByPage,a.displayedProjects.length)}),c.socket.on("jscripty_project:save",function(){a.initList(b)}),c.socket.on("jscripty_project:remove",function(c){a.Projects.checked=_.without(a.Projects.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/jscripty/projects/"+a).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/jscripty/projects",{params:{id:a.Projects.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})})}]),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:"<div ui-view></div>","abstract":!0})}]),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("JscriptyProjectWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","$translate",function(a,b,c,d,e,f){a.forms={project:void 0},a.item={},a.next=function(){b.post("/api/jscripty/projects/validate/",a.item).success(function(a){a.length?e.show(f.instant("MESSAGE_EXIST_PROJECT"),"danger"):c.wizard().next()}).error(function(a){e.show(f.instant(a.message),"danger")})},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/jscripty/projects/",a.item).success(function(a){console.log(a),d.path("/jscripty/projects/list")}).error(function(a){e.show(f.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty.projects.wizard",{url:"/wizard",templateUrl:"app/jscripty/project/wizard/wizard.html",controller:"JscriptyProjectWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("LoginCtrl",["$scope","Auth","$location","$window","$rootScope",function(a,b,c,d,e){a.userLogin={},a.userSignUp={},a.loginSubmitted=!1,a.signupSubmitted=!1,a.errorLogin=!1,a.errorSignup=!1,a.errorLog="",a.flagLogin1=!1,a.toogleLogin=function(){a.flagLogin1=!a.flagLogin1},e.bodyLayout="login",a.$on("$viewContentLoaded",function(){Metronic.init(),Layout.init()}),a.login=function(d){a.loginSubmitted=!0,d.$valid?b.login({name:a.userLogin.name,password:a.userLogin.password,remember:a.userLogin.remember}).then(function(){c.path("/dashboard/voice")})["catch"](function(b){a.errorLog=b.message,a.errorLogin=!0}):a.errorLogin=!0},a.signup=function(d){a.signupSubmitted=!0,d.$valid?b.createUser({email:a.userSignUp.email,fullname:a.userSignUp.fullname,name:a.userSignUp.name,password:a.userSignUp.password,role:a.userSignUp.role,online:!0}).then(function(){c.path("/")})["catch"](function(b){a.errorLog=b.message,a.errorSignup=!0}):a.errorSignup=!0},a.loginOauth=function(a){d.location.href="/auth/"+a}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("login",{url:"/login",templateUrl:"app/login/login.html",controller:"LoginCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/login.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.accounts",{url:"/accounts",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MailAccountListCtrl",["$scope","$http","socket","$translate","$rootScope","Modal","stResource","xAlert",function(a,b,c,d,e,f,g,h){a.conf={mailAccountsByPage:{name:"10",value:10}},a.mailAccountsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.mailAccounts={checked:[]},a.check=function(b,c){c?a.mailAccounts.checked=angular.copy(_.pluck(a.displayedMailAccounts,"id")):a.mailAccounts.checked=[]},a.getMailAccounts=function(b){return _.map(a.displayedMailAccounts,function(a){var c={};return b.forEach(function(b){_.isObject(b)?_.forIn(b,function(b,d){c[b]=a[d][b]}):c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("mail_server_in"),c.unsyncUpdates("mail_account"),b.url="/api/mail/accounts",g.getPage(b).then(function(c){a.displayedMailAccounts=c.rows,b.pagination.numberOfPages=c.total_pages}),c.socket.on("mail_server_in:save",function(){a.initList(b)}),c.socket.on("mail_account:save",function(){a.initList(b)}),c.socket.on("mail_account:remove",function(c){a.mailAccounts.checked=_.without(a.mailAccounts.checked,c.id),a.initList(b)})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("/api/mail/accounts/"+a).success(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){h.show(a.message,"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/mail/accounts",{params:{id:a.mailAccounts.checked}}).success(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){h.show(d.instant(a.message),"danger")})}),a.restart=function(a){c.socket.emit("IMAP:"+a+":RESTART",{msg:"IMAP:"+a+":RESTART"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.accounts.list",{url:"/list",templateUrl:"app/mail/account/list/list.html",controller:"MailAccountListCtrl"})}]),angular.module("xCallyShuttleApp").factory("MailAccount",["$resource",function(a){return a("/api/mail/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),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.mail.accounts.view.actions",{url:"/actions",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewActionListCtrl",["$scope","$http","$translate","$stateParams","socket","xAlert","Modal",function(a,b,c,d,e,f,g){a.initActons=function(){console.log(d),a.sortableOptions={stop:function(){console.log("stop",_.pluck(a.mailApplications,"id")),b.post("api/mail/accounts/"+d.accountId+"/applications",{applications:_.pluck(a.mailApplications,"id")}).success(function(b){angular.copy(b,a.mailApplications)}).error(function(a){console.error(a)})}},b.get("/api/mail/applications",{params:{MailAccountId:d.accountId}}).success(function(b){a.mailApplications=b,e.socket.on("mail_application:remove",function(b){_.remove(a.mailApplications,{id:b.id})})})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("api/mail/applications/"+a).success(function(){f.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){f.show(a.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.accounts.view.actions.list",{url:"/list",templateUrl:"app/mail/account/view/action/list/list.html",controller:"MailAccountViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval",function(a,b,c,d,e,f,g,h,i,j){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]),console.log(c),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(){b.get("/api/mail/queues",{params:{page:0,per_page:500}}).success(function(b){a.queues=b.rows}).error(function(a){console.error(a)})},a.getAgents=function(){b.get("/api/agents",{params:{page:0,per_page:500}}).success(function(b){a.agents=b.rows}).error(function(a){console.error(a)})},a.getIntervals=function(){b.get("/api/intervals",{params:{page:0,per_page:500}}).success(function(b){a.intervals=b.rows}).error(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),e[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",e[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",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.mail.accounts.view.actions.view",{url:"/view/:actionId",templateUrl:"app/mail/account/view/action/view/view.html",controller:"MailAccountViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewActionWizardCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval",function(a,b,c,d,e,f,g,h,i,j){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(){console.log(c),a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],a.$application=i.application,a.$stateParams=c,a.$interval=j.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(){b.get("/api/mail/queues",{params:{page:0,per_page:500}}).success(function(b){a.queues=b.rows}).error(function(a){console.error(a)})},a.getAgents=function(){b.get("/api/agents",{params:{page:0,per_page:500}}).success(function(b){a.agents=b.rows}).error(function(a){console.error(a)})},a.getIntervals=function(){b.get("/api/intervals",{params:{page:0,per_page:500}}).success(function(b){a.intervals=b.rows}).error(function(a){console.error(a)})},a.createItem=function(){var d=["*","*","*","*"],f={app:a.application.app,timeout:a.application.timeout,MailAccountId:c.accountId};switch(a.application.app){case"agent":f.UserId=a.application.UserId;break;case"queue":f.MailQueueId=a.application.MailQueueId}switch(a.application.intType){case"always":f.interval=d.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(d[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),d[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",d[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",d[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",f.interval=d.join(","),delete a.application.IntervalId;break;case"list":f.IntervalId=a.application.IntervalId}b.post("/api/mail/applications",f).success(function(){e.path("/mail/accounts/view/"+c.accountId+"/actions/list")}).error(function(a){console.error(a)})},a.formValidation=function(a){return a},a.next=function(){g.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.accounts.view.actions.wizard",{url:"/wizard",templateUrl:"app/mail/account/view/action/wizard/wizard.html",controller:"MailAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","MailAccount","MailMessage","MailServerIn","MailServerOut",function(a,b,c,d,e,f,g,h,i,j){a.initView=function(){a.account=g.get({id:c.accountId})},a.updateItemMailAccount=function(){g.update({id:c.accountId},{name:a.account.name,description:a.account.description,address:a.account.address}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.updateItemMailServerIn=function(){i.update({id:a.account.MailServerIn.id},a.account.MailServerIn).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.updateItemMailServerOut=function(){j.update({id:a.account.MailServerOut.id},a.account.MailServerOut).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.test=function(){j.test({id:a.account.MailServerOut.id,controller:"test"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.accounts.view",{url:"/view/:accountId",templateUrl:"app/mail/account/view/view.html",controller:"MailAccountViewCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.mail.accounts.view.settings",{url:"/settings",templateUrl:"app/mail/account/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("MailAccountWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert",function(a,b,c,d,e,f){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.info={},a["in"]={"delete":!1,ssl:!0,protocol:"IMAP",port:993,mailbox:"INBOX",filter:"UNSEEN"},a.out={ssl:!0,port:465},a.$translate=d},a.goNext=function(){e.wizard().next()},a.formValidation=function(a){return a},a.createItem=function(){var e={name:a.info.name,address:a.info.address,description:a.info.description,incoming:a["in"],outgoing:a.out};b.post("api/mail/accounts",e).success(function(){c.path("/mail/accounts/list")}).error(function(a){console.log(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.accounts.wizard",{url:"/wizard",templateUrl:"app/mail/account/wizard/wizard.html",controller:"MailAccountWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.automations",{url:"/automations",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MailAutomationListCtrl",["$scope","$http","$translate","$rootScope","stResource","Modal","socket","xAlert",function(a,b,c,d,e,f,g,h){a.conf={mailAutomationsByPage:{name:"10",value:10}},a.mailAutomationsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],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.mailAutomations={checked:[]},a.check=function(b,c){c?a.mailAutomations.checked=angular.copy(_.pluck(a.displayedMailAutomations,"id")):a.mailAutomations.checked=[]},a.getMailAutomations=function(b){return _.map(a.displayedMailAutomations,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){g.unsyncUpdates("mail_business_automation"),b.url="/api/mail/business/automations",e.getPage(b).then(function(c){a.displayedMailAutomations=c.mailAutomations,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.mailAutomationsByPage,a.displayedMailAutomations.length),d.updateTableConfig(a.conf.mailAutomationsByPage,a.displayedMailAutomations.length)}),g.socket.on("mail_business_automation:save",function(){a.initList(b)}),g.socket.on("mail_business_automation:remove",function(c){a.mailAutomations.checked=_.without(a.mailAutomations.checked,c.id),a.initList(b)})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("/api/mail/business/automations/"+a).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"danger")}).error(function(){h.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/mail/business/automations",{params:{id:a.mailAutomations.checked}}).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success");
+}).error(function(a){h.show(c.instant(a.message),"danger")})}),a.updateItem=function(a,d){b.put("api/mail/business/automations/"+a,{status:d}).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.automations.list",{url:"/list",templateUrl:"app/mail/automation/list/list.html",controller:"MailAutomationListCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailAutomationViewCtrl",["$scope","$stateParams","$http","$translate","automation","socket","xAlert",function(a,b,c,d,e,f,g){a.initView=function(){a.forms={info:{}},a.automations=e.automations,c.get("/api/mail/business/automations/"+b.id).success(function(c){a.test=c,a.automation=c,f.syncUpdatesByAttributes("business_condition",{MailBusinessAutomationId:b.id},c.BusinessConditions)}).error(function(){})},a.updateAutomation=function(){c.put("/api/mail/business/automations/"+a.automation.id,{name:a.automation.name,description:a.automation.description}).success(function(a){g.show(d.instant("MESSAGE_WELL_DONE"),"success"),console.log(a)}).error(function(a){console.error(a)})},a.getOperatorsByCondition=function(a){var b=[],c=_.find(e.automations.conditions,{key:a});return c.operators&&c.operators.length&&(b=c.operators),b},a.getAttributesByCondition=function(a){var b=[],c=_.find(e.automations.conditions,{key:a});if(c.attributes&&c.attributes.length)switch(c.key){case"createdAt":b=_.map(c.attributes,function(a){return a.value=parseInt(a.value,10),a});break;default:b=c.attributes}return b},a.addNewCondition=function(b){c.post("/api/business/conditions",{type:b,condition:"status",MailBusinessAutomationId:a.automation.id}).success(function(b){a.automation.BusinessConditions.push(b)}).error(function(a){console.error(a)})},a.removeCondition=function(a){c["delete"]("/api/business/conditions/"+a).success(function(a){console.log(a)}).error(function(a){console.error(a)})},a.addNewAction=function(){c.post("/api/business/actions",{condition:"status",MailBusinessAutomationId:a.automation.id}).success(function(b){a.automation.BusinessActions.push(b)}).error(function(a){console.error(a)})},a.removeAction=function(b){c["delete"]("/api/business/actions/"+b).success(function(b){a.automation.BusinessActions=_.reject(a.automation.BusinessActions,{id:b.id})}).error(function(a){console.error(a)})},a.updateCondition=function(a,b,d){var e={};e[b]=d,c.put("/api/business/conditions/"+a,e).error(function(a){console.error(a)})},a.updateAction=function(a,b,d){var e={};e[b]=d,c.put("/api/business/actions/"+a,e).success(function(a){console.log(a)}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.automations.view",{url:"/view/:id",templateUrl:"app/mail/automation/view/view.html",controller:"MailAutomationViewCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.mail.automations.view.settings",{url:"/settings",templateUrl:"app/mail/automation/view/view.settings.html"}).state("main.mail.automations.view.routes",{url:"/routes",templateUrl:"app/mail/automation/view/view.routes.html"}).state("main.mail.automations.view.application",{url:"/application",templateUrl:"app/mail/automation/view/view.application.html"})}]),angular.module("xCallyShuttleApp").controller("MailAutomationWizardCtrl",["$scope","$http","$location","$translate","automation","WizardHandler","xAlert",function(a,b,c,d,e,f,g){a.forms={},a.automations={or:[],and:[],actions:[]},a.addNewChoice=function(b){var c=angular.copy(e.automations);a.automations[b].push(c)},a.removeChoice=function(b,c){a.automations[b].splice(c)},a.goNext=function(){return a.automations.actions.length?a.automations.or.length||a.automations.and.length?void f.wizard().next():(g.show(d.instant("MESSAGE_INSERT_AT_LEAST_ONE_CONDITION"),"danger"),!1):(g.show(d.instant("MESSAGE_INSERT_AT_LEAST_ONE_ACTION"),"danger"),!1)},a.createItem=function(){a.automations.or.forEach(function(a){a.condition=a.condition.key,a.type="or",delete a.conditions,delete a.actions}),a.automations.and.forEach(function(a){a.condition=a.condition.key,a.type="and",delete a.conditions,delete a.actions}),a.automations.actions.forEach(function(a){a.condition=a.condition.key,delete a.conditions,delete a.actions}),b.post("api/mail/business/automations",a.automations).success(function(){c.path("/mail/automations/list")}).error(function(){g.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG","danger"))})},a.formValidation=function(a){return a}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.automations.wizard",{url:"/wizard",templateUrl:"app/mail/automation/wizard/wizard.html",controller:"MailAutomationWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailComposeCtrl",["$scope","$http","$location","$cookieStore","$translate","xAlert","FileUploader","Auth",function(a,b,c,d,e,f,g,h){var i=a.uploader=new g({url:"api/mail/messages",withCredentials:!0,headers:{Authorization:"Bearer "+d.get("token")},queueLimit:1});i.onBeforeUploadItem=function(b){b.formData.push({mailAccountId:a.form.from.id,status:"SENDING",roomStatus:"OPEN",from:a.form.from.address,to:a.form.sto.join(";"),cc:a.form.scc.join(";"),subject:a.form.subject||null,html:a.form.html||null,text:a.form.text||null,attachment:!0,UserId:h.getCurrentUser().id})},i.onSuccessItem=function(a,b,c,d){console.info("onSuccessItem",a,b,c,d),f.show(e.instant("MESSAGE_MAIL_MESSAGE_SEND_SUCCESS"),"success")},i.onErrorItem=function(a,b,c,d){console.info("onErrorItem",a,b,c,d),f.show(e.instant("MESSAGE_MAIL_MESSAGE_SEND_FAILURE"),"danger")},i.onCompleteAll=function(){console.log("onCompleteAll"),c.path("/mail/inbox/incoming")},a.forms={},a.form={to:[],sto:[],cc:[],scc:[]},b.get("api/mail/accounts").success(function(b){a.mailAccounts=b.rows}),a.sendMail=function(){if(i.queue.length)console.log("file"),i.uploadAll();else{console.log("no file");var d={mailAccountId:a.form.from.id,status:"SENDING",roomStatus:"OPEN",from:a.form.from.address,to:a.form.sto.join(";"),cc:a.form.scc.join(";"),subject:a.form.subject||null,html:a.form.html||null,text:a.form.text||null,UserId:h.getCurrentUser().id};b.post("/api/mail/messages",d).success(function(){f.show(e.instant("MESSAGE_MAIL_MESSAGE_SEND_SUCCESS"),"success"),c.path("/mail/inbox/incoming")}).error(function(){f.show(e.instant("MESSAGE_MAIL_MESSAGE_SEND_FAILURE"),"danger")})}},a.cancel=function(){a.form.sto=[],a.form.scc=[],delete a.form.from,delete a.form.text,delete a.form.html}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.inbox.compose",{url:"/compose",templateUrl:"app/mail/inbox/room/room.html",controller:"MailRoomCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailInboxCtrl",["$scope","$http","$location",function(a,b,c){a.go=function(a){c.path(a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.inbox",{url:"/inbox",template:"<div ui-view></div>",controller:"MailInboxCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css","assets/css/todo.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("MailIncomingCtrl",["$scope","$http","$location","$translate","$timeout","socket","xAlert","Auth","stResource","Modal",function(a,b,c,d,e,f,g,h,i,j){a.$location=c,a.conf={mailRoomsByPage:{name:"10",value:10},labels:["fullname","name","email"],test:"OPEN"},a.mailRoomsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.mailRooms={checked:[]},a.check=function(b,c){c?a.mailRooms.checked=angular.copy(_.pluck(a.displayedMailRooms,"id")):a.mailRooms.checked=[]},a.initList=function(b){f.unsyncUpdates("mail_room"),b.search.predicateObject||(b.search.predicateObject={}),b.sort.predicate="createdAt",b.sort.reverse=!0,h.isAdmin()?(f.socket.on("mail_room:save",function(){e(function(){g.show(d.instant("MESSAGE_MAIL_NEW_INCOMING_MAIL"),"success"),a.initList(b)},2e3)}),f.socket.on("mail_room:remove",function(c){a.mailRooms.checked=_.without(a.mailRooms.mailRooms,c.id),a.initList(b)})):(f.socket.on("mail_room:save",function(c){c.UserId===h.getCurrentUser().id&&a.initList(b)}),f.socket.on("mail_room:remove",function(c){c.UserId===h.getCurrentUser().id&&(a.mailRooms.checked=_.without(a.mailRooms.checked,c.id),a.initList(b))})),b.url="/api/mail/rooms/",i.getPage(b).then(function(c){console.log("result",c),a.displayedMailRooms=c.mailRooms,b.pagination.numberOfPages=c.total_pages})},a.deleteItems=j.confirm["delete"](function(){b["delete"]("/api/mail/rooms",{params:{id:a.mailRooms.checked}}).success(function(){g.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){g.show(d.instant(a.message),"danger")})}),a.$on("$destroy",function(){f.unsyncUpdates("mail_room")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.inbox.incoming",{url:"/incoming",templateUrl:"app/mail/inbox/incoming/incoming.html",controller:"MailIncomingCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("MailRoomCtrl",["$scope","$http","$stateParams","$timeout","$cookieStore","$location","$translate","$log","$uibModal","xAlert","Auth","socket","FileUploader","MailMessage","MailAttachment",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){var p=a.uploader=new m({url:"api/mail/attachments",autoUpload:!0,withCredentials:!0,headers:{Authorization:"Bearer "+e.get("token")}}),q={MailAttachments:[]};p.removeFromQueue=function(a){var b=this;o["delete"]({id:a.basename}).$promise.then(function(){var c=b.getIndexOfItem(a),d=b.queue[c];d.isUploading&&d.cancel(),b.queue.splice(c,1),d._destroy(),b.progress=b._getTotalProgress(),q.MailAttachments=_.reject(q.MailAttachments,{basename:a.basename})})["catch"](function(){j.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},p.onErrorItem=function(){j.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},p.onSuccessItem=function(a,b,c,d){console.info("onSuccessItem",a,b,c,d);var e={size:b.size,path:b.path,name:b.name,basename:b.basename,type:b.type};a=_.merge(a,e),q.MailAttachments.push(e)},a.retry=function(a){var b=i.open({animation:!0,templateUrl:"app/mail/inbox/room/room.retry.modal.html",controller:function(a,c){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(){c.close()},a.cancel=function(){c.dismiss("cancel")}}});b.result.then(function(){n.update({id:a,status:"SENDING"},function(a){console.log(a)})},function(){h.info("Modal dismissed at: "+new Date)})},a.initRoomView=function(){a.Auth=k,a.forms={},a.form={to:[],sto:[],cc:[],scc:[]},b.get("/api/agents").success(function(b){a.agents=b.rows}),b.get("/api/mail/accounts").success(function(b){a.mailAccounts=b.rows}),b.get("/api/mail/rooms/"+c.id).success(function(c){console.log("mailRoom",c),a.mailRoom=c,l.syncUpdatesByAttributes("mail_message",{MailRoomId:a.mailRoom.id},a.mailRoom.MailMessages);var d=_.last(a.mailRoom.MailMessages);d&&a.mailRoom.MailAccount&&(a.form.from={name:a.mailRoom.MailAccount.name,address:a.mailRoom.MailAccount.address,id:a.mailRoom.MailAccount.id},a.form.to=_.remove(_.union(d.to?d.from.split(";"):[],d.cc?d.cc.split(";"):[],d.bcc?d.bcc.split(";"):[]),function(b){return b!==a.mailRoom.MailAccount.address}),a.form.cc=_.remove(_.union(d.to?d.from.split(";"):[],d.cc?d.to.split(";"):[],d.bcc?d.bcc.split(";"):[]),function(b){return b!==a.mailRoom.MailAccount.address}),a.form.bcc=_.remove(_.union(d.to?d.from.split(";"):[],d.cc?d.cc.split(";"):[],d.bcc?d.to.split(";"):[]),function(b){return b!==a.mailRoom.MailAccount.address})),"NEW"===a.mailRoom.status&&b.put("/api/mail/rooms/"+a.mailRoom.id,{status:"OPEN"})}).error(function(){})},a.sendMail=function(){var b;a.mailRoom&&(b=angular.copy(a.mailRoom.MailMessages),b=_.reject(b,function(a){return"RECEIVED"!==a.status}),b=_.sortBy(b,"id")),q=_.merge(q,{mailAccountId:a.form.from.id,status:"SENDING",roomStatus:"OPEN",from:a.form.from.address,to:a.form.sto.join(";")?a.form.sto.join(";"):null,cc:a.form.scc.join(";")?a.form.scc.join(";"):null,subject:a.form.subject||a.mailRoom.subject||null,html:a.form.html||null,text:a.form.text||null,MailRoomId:a.mailRoom?a.mailRoom.id:null}),b&&_.last(b)&&(q.inReplyTo=_.last(b).messageId),n.save(q,function(){j.show(g.instant("MESSAGE_MAIL_MESSAGE_SEND_SUCCESS"),"success")},function(){j.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.cancel=function(){a.form.sto=[],a.form.scc=[],delete a.form.text},a.updateStatus=function(d){b.put("/api/mail/rooms/"+c.id,{status:d}).success(function(b){a.mailRoom.status=b.status,j.show(g.instant("MESSAGE_STATUS_UPDATE_SUCCESS"),"success"),f.path("/mail/inbox/incoming")}).error(function(){j.show(g.instant("MESSAGE_STATUS_UPDATE_FAILURE"),"danger")})},a.assignAgents=function(){var a=i.open({animation:!0,templateUrl:"app/mail/inbox/room/room.agents.modal.html",controller:function(b,d,e,f){b.initModal=function(){e.get().$promise.then(function(a){console.log(a),b.agents=a.rows})["catch"](function(a){console.error(a)}),f.query({id:c.id,controller:"agents"}).$promise.then(function(a){console.log(a),b.item={agents:_.pluck(a,"id")}})["catch"](function(a){console.error(a)}),b.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{classes:"btn btn-success",text:"APPLICATION_RETRY",click:function(b){a.close(b)}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(b){a.dismiss(b)}}]}},b.ok=function(){return f.update({id:c.id,controller:"agents",agents:b.item.agents}).$promise.then(function(){d.close()})["catch"](function(a){console.error(a)})},b.cancel=function(){d.dismiss("cancel")}}});a.result.then(function(){},function(){h.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").factory("MailRoom",["$resource",function(a){return a("/api/mail/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.inbox.room",{url:"/room/:id",templateUrl:"app/mail/inbox/room/room.html",controller:"MailRoomCtrl",authenticate:!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail",{url:"/mail",template:"<div ui-view></div>","abstract":!0})}]),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","$http","$translate","$rootScope","socket","Modal","stResource","xAlert",function(a,b,c,d,e,f,g,h){a.$on("$destroy",function(){e.unsyncUpdates("mail_queue")}),a.conf={queuesByPage:{name:"10",value:10}},a.queuesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.mailQueues={checked:[]},a.check=function(b,c){c?a.mailQueues.checked=angular.copy(_.pluck(a.displayedMailQueues,"id")):a.mailQueues.checked=[]},a.getMailQueues=function(b){return _.map(a.displayedMailQueues,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){e.unsyncUpdates("mail_queue"),b.url="/api/mail/queues/",g.getPage(b).then(function(c){a.displayedMailQueues=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(c.queuesByPage,a.displayedMailQueues.length),d.updateTableConfig(a.conf.queuesByPage,a.displayedMailQueues.length)}),e.socket.on("mail_queue:save",function(){a.initList(b)}),e.socket.on("mail_queue:remove",function(c){a.mailQueues.checked=_.without(a.mailQueues.checked,c.id),a.initList(b)})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("/api/mail/queues/"+a).success(function(){h.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){h.show(a.message,"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/mail/queues/",{params:{id:a.mailQueues.checked}}).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){h.show(c.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.queues.list",{url:"/list",templateUrl:"app/mail/queue/list/list.html",controller:"MailQueueListCtrl"})}]),angular.module("xCallyShuttleApp").factory("MailQueue",["$resource",function(a){return a("/api/mail/queues/:id/:controller",{id:"@id"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.queues",{url:"/queues",template:"<div ui-view></div>","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"]})}]}})}]),angular.module("xCallyShuttleApp").controller("MailQueueViewCtrl",["$scope","$http","$translate","$stateParams","xAlert",function(a,b,c,d,e){var f=function(){return{select:function(c){b.post("/api/mail/queues/"+a.queue.id+"/agents",{agents:c}).success(function(){a.getTeams()}).error(function(a){console.error(a)})},deselect:function(c){b.put("/api/mail/queues/"+a.queue.id+"/agents",{agents:c}).success(function(){a.getTeams()}).error(function(a){console.error(a)})}}};a.getQueue=function(){b.get("/api/mail/queues/"+d.id).success(function(b){a.queue=b}).error(function(a){console.error(a)})},a.updateMailQueue=function(){var f=angular.copy(a.queue);b.put("/api/mail/queues/"+d.id,f).success(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(b){e.show(b.message,"success"),a.queue=f})},a.getTeams=function(){b.get("/api/teams").success(function(c){a.teams=c.rows,b.get("/api/mail/user_has_queues",{params:{MailQueueId:a.queue.id}}).success(function(b){ComponentsDropdowns.bindMailQueue(a.teams,_.pluck(b,"UserId"),f)})}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.queues.view",{url:"/view/:id",templateUrl:"app/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.mail.queues.view.settings",{url:"/settings",templateUrl:"app/mail/queue/view/view.settings.html"}).state("main.mail.queues.view.agents",{url:"/agents",templateUrl:"app/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/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").controller("MailQueueWizardCtrl",["$scope","$http","$location","WizardHandler","xAlert",function(a,b,c,d,e){a.forms={},a.item={},a.next=function(){d.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/mail/queues",a.item).success(function(){c.path("/mail/queues/list")}).error(function(a){e.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.queues.wizard",{url:"/wizard",templateUrl:"app/mail/queue/wizard/wizard.html",controller:"MailQueueWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.realtime",{url:"/realtime",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewAgentCtrl",["$scope","$http","socket","MailQueue","Agent",function(a,b,c,d,e){a.gridOptions={enableSorting:!1,enableFiltering:!0,columnDefs:[{name:"queueName",displayName:"Queue"},{name:"agentName",displayName:"Agent",cellClass:"text-center",cellTemplate:'<span data-ng-if="row.entity.agentName">{{row.entity.fullname}} [{{row.entity.agentName}}]</span>'},{name:"online",cellClass:"text-center",cellTemplate:'<span class="badge badge-empty" data-ng-if="row.entity.online != null" data-ng-class="row.entity.online ? \'badge-success\' : \'badge-danger\'"></span>'},{name:"lastLoginAt",cellClass:"text-center",cellTemplate:'<time data-ng-if="row.entity.agentName" is="relative-time" datetime="{{row.entity.lastLoginAt}}">April 1, 2014</time>'}],onRegisterApi:function(b){a.gridApi=b,a.gridApi.treeBase.on.rowExpanded(a,function(b){var c=_.findIndex(a.gridOptions.data,{$$hashKey:b.entity.$$hashKey});b.entity.Users&&b.entity.Users.forEach(function(b){_.find(a.gridOptions.data,{name:b.name})||a.gridOptions.data.splice(c+1,0,b)})})}},d.get(function(b){a.gridOptions.data=[],b.rows.forEach(function(b){b.$$treeLevel=0,b.queueName=b.name,a.gridOptions.data.push(b),b.Users&&b.Users.forEach(function(b){b.agentName=b.name,a.gridOptions.data.push(b)})}),c.socket.on("agent:save",function(b){var c=_.filter(a.gridOptions.data,{agentName:b.name});c.forEach(function(a){a.online=b.online,a.lastLoginAt=b.lastLoginAt})}),c.socket.on("mail_queue:save",function(b){b.$$treeLevel=0,b.queueName=b.name,a.gridOptions.data.push(b)}),c.socket.on("mail_queue:remove",function(b){_.remov(a.gridOptions.data,{queueName:b.name})}),c.socket.on("user_has_mail_queue:save",function(b){var c=_.findIndex(a.gridOptions.data,function(a){return a.queueName&&a.id===b.MailQueueId});e.get({id:b.UserId}).$promise.then(function(b){a.gridOptions.data.splice(c+1,0,{id:b.id,name:b.name,fullname:b.fullname,agentName:b.name,online:b.online,lastLoginAt:b.lastLoginAt})})["catch"](function(a){console.error(a)})}),c.socket.on("user_has_mail_queue:remove",function(b){for(var c=_.findIndex(a.gridOptions.data,function(a){return a.queueName&&a.id===b.MailQueueId}),d=c+1;d<a.gridOptions.data.length;d++)a.gridOptions.data[d].id==b.UserId&&a.gridOptions.data.splice(d,1)})},function(a){console.error(a)}),a.conf={agentsByPage:{name:"10",value:10},labels:["fullname","name","email"]},a.agentsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.$on("$destroy",function(){c.unsyncUpdates("report_mail:save"),c.unsyncUpdates("report_mail:update")}),a.initAgents=function(){b.get("/api/report/mails").success(function(b){a.agents=b,c.socket.on("report_mail:save",function(b){var c=_.find(a.agents,{id:b.id});c||a.agents.unshift(b)}),c.socket.on("report_mail:update",function(b){var c=_.find(a.agents,{id:b.id}),d=a.agents.indexOf(c);c&&_.merge(a.agents[d],b)})}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.realtime.view.agents",{url:"/agents",template:"<div ui-view></div>","abstract":!0}).state("main.mail.realtime.view.agents.queues",{url:"/queues",controller:"MailRealtimeViewAgentCtrl",templateUrl:"app/mail/realtime/view/agent/agent.queues.html"}).state("main.mail.realtime.view.agents.timeline",{url:"/attempts",controller:"MailRealtimeViewAgentCtrl",templateUrl:"app/mail/realtime/view/agent/agent.timeline.html"})}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewSessionCtrl",["$scope","$http","socket",function(a,b,c){a.conf={sessionsByPage:{name:"10",value:10},labels:["fullname","name","email"]},a.sessionsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.$on("$destroy",function(){c.unsyncUpdates("report_mail:save"),c.unsyncUpdates("report_mail:update")}),a.initMails=function(){b.get("/api/report/mail/sessions").success(function(b){a.sessions=b,c.socket.on("report_mail_session:save",function(b){var c=_.find(a.sessions,{id:b.id}),d=a.sessions.indexOf(c);c?_.merge(a.sessions[d],b):a.sessions.unshift(b)})}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewCtrl",["$scope",function(a){a.agents=[{name:"Queues",link:"main.mail.realtime.view.agents.queues"},{name:"Timeline",link:"main.mail.realtime.view.agents.timeline"}],a.sessions=[{name:"Sessions",link:"main.mail.realtime.view.sessions"}]}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.realtime.view",{url:"/view",templateUrl:"app/mail/realtime/view/view.html",controller:"MailRealtimeViewCtrl"}).state("main.mail.realtime.view.sessions",{url:"/sessions",controller:"MailRealtimeViewSessionCtrl",templateUrl:"app/mail/realtime/view/session/session.html"})}]),angular.module("xCallyShuttleApp").controller("MailStatisticsCtrl",["$scope","$http","$translate","socket",function(a,b,c,d){a.message="Hello",a.$translate=c,b.get("api/mail/rooms").success(function(b){a.mailRooms=b,d.syncUpdates("mail_room",a.mailRooms)}),b.get("api/mail/messages").success(function(b){a.mailMessages=b,d.syncUpdates("mail_message",a.mailMessages)})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.statistics",{url:"/statistics",templateUrl:"app/mail/statistics/statistics.html",controller:"MailStatisticsCtrl",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.mail.statistics.summary",{url:"/summary",templateUrl:"app/mail/statistics/statistics.summary.html",controller:"MailStatisticsCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile-old.css"]})}]}})}]),angular.module("xCallyShuttleApp").controller("MailTimelineListCtrl",["$scope","$http","socket",function(a,b,c){function d(b){a.events>50&&a.events.pop(),a.events.unshift(b)}a.initList=function(){a.events=[],b.get("/api/events/channel/mail").success(function(a){a.forEach(d),c.socket.on("event:chat:save",d)}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.timeline.list",{url:"/list",templateUrl:"app/mail/timeline/list/list.html",controller:"MailTimelineListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/timeline.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.mail.timeline",{url:"/timeline",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChooseContactModalCtrl",["$scope","$uibModalInstance","params",function(a,b,c){a.forms={choose:void 0},a.contacts=c.contacts,a.item={},a.ok=function(){a.item.contactName=_.find(a.contacts,{id:a.item.contactId}).name,b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("MainCtrl",["$scope","$http","$rootScope","$cookies","$translate","$interval","socket","Auth","xAlert","$uibModal","$log","$state",function(a,b,c,d,e,f,g,h,i,j,k,l){function m(b){a.workspaces.push({name:b.contactName,type:"contact",contactID:b.contactId,active:!0})}function n(b){a.workspaces.push({name:"New Contact",type:"newContact",active:!0,data:b})}a.awesomeThings=[],a.isLoggedIn=h.isLoggedIn,a.isAdmin=h.isAdmin,a.getCurrentUser=h.getCurrentUser,a.workspaces=[],a.mainTab={active:!0},a.closeTab=function(b){a.workspaces.splice(b,1)},a.createContact=function(c,d){d.tags=d.tags?d.tags.join(","):void 0,_.forOwn(d.customFields,function(a,b){""===a&&delete d.customFields[b]}),d.id?b.put("/api/contactmanager/join/"+d.id,d).success(function(b){a.workspaces.splice(c,1),m(b),i.show(e.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){i.show(a.message,"danger")}):b.post("/api/contactmanager",d).success(function(b){a.workspaces.splice(c,1),m({contactName:b.fullname,contactId:b.id}),i.show(e.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){i.show(a.message,"danger")})},a.chooseContact=function(a){var b=j.open({animation:!0,templateUrl:"app/main/chooseContact.modal.html",controller:"ChooseContactModalCtrl",resolve:{params:function(){return{contacts:JSON.parse(a.contacts)}}}});b.result.then(function(a){m(a)},function(){k.info("Modal dismissed at: "+new Date)})},a.updateContact=function(a,c){c.tags=c.tags?c.tags.join(","):void 0,c.CompanyId||(c.CompanyId=null),b.put("/api/contactmanager/"+c.id,c).success(function(){i.show(e.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){i.show(e.instant(a.message)+"!","danger")})},g.socket.on("report_integration:contactmanager",function(b){switch(b.event){case"openContactTab":a.chooseContact(b);break;case"newContactTab":n(b)}}),a.$on("$viewContentLoaded",function(){Metronic.init()}),c.language=e.use(),a.changeLanguage=function(a){e.use(a).then(function(a){c.language=a,("main.jscripty.projects.view"===l.current.name||"main.square.projects.view"===l.current.name)&&l.go(l.current,{},{reload:!0})})["catch"](function(a){console.error(a)})},a.$on("$destroy",function(){})}]),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("queryBuilder",["$compile","xAlert","$http",function(a,b,c){
+return{restrict:"E",scope:{group:"=",fields:"=",operators:"=",properties:"="},templateUrl:"app/main/template.queryBuilderView.html",compile:function(d,e){var f,g;return f=d.contents().remove(),function(d,e,h){d.booleans=[{name:"AND"},{name:"OR"}],d.addCondition=function(a){"CONDITION"==a?d.group.rules.push({operator:"=",field:"",data:""}):d.group.rules.push({field:"",data:""})},d.removeCondition=function(a){d.group.rules.splice(a,1)},d.addGroup=function(a){d.group.rules.push({group:{"boolean":"AND",rules:[],type:a,main:!1}})},d.choices=[],d.removeGroup=function(){d.$parent.group.rules.splice(d.$parent.$index,1)},d.initChoices=function(a,b,c,e,f,g,h){a[g]&&d.getResults(b,c,e,f)},d.clearData=function(a,b){for(var c in b)a[b[c]]&&delete a[b[c]]},d.getResults=function(a,e,f,g,h){if(a){var i="",j={};i=a.parseUrl?a.parseUrl.replace("%s",e):a.url,a.query&&h&&(j[a.query.field]=h),c.get(i,{params:j}).success(function(a){var b=[];a.rows&&(a=a.rows),a.forEach(function(a){b.push({name:a.name,value:a.id})}),d.choices[f]||(d.choices[f]=[]),d.choices[f][g]=b}).error(function(a){b.show(a.message,"danger")})}},g||(g=a(f)),e.append(g(d,function(a){return a}))}}}}]).directive("newContact",["$compile","xAlert","$http","socket",function(a,b,c,d){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/main/template.newContactTab.html",compile:function(a,e){return function(a,e,f){a.forms={general:{}},a.item={Phones:[],Emails:[],customFields:{}},a.joinPrompt=!1,a.checkboxes={},a.workspace.data&&(a.item.fullname=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.item.Phones.push({phone:a.workspace.data.calleridnum}),a.workspace.data.from&&a.item.Emails.push({email:a.workspace.data.from})),a.getTags=function(){c.get("/api/tags").success(function(b){a.tags=_.pluck(b.rows,"name")}).error(function(a){console.error(a),b.show(a.message,"danger")})},a.getCompanies=function(){c.get("/api/contactmanager/companies").success(function(b){a.companies=b.rows,d.syncUpdates("company",a.companies)}).error(function(a){console.error(a),b.show(a.message,"danger")})},a.getCustomFields=function(){c.get("/api/contactmanager/customfields").success(function(b){a.customFields=b.rows,a.customFields.forEach(function(a){a.values=JSON.parse(a.values)}),d.syncUpdates("custom_field",a.customFields,function(a,b){"string"==typeof b.values&&(b.values=JSON.parse(b.values))})}).error(function(a){console.error(a),b.show(a.message,"danger")})},a.addField=function(b){a.item[b].push({}),a.joinPrompt=!1},a.removeField=function(b,c){a.item[b].splice(c,1),a.joinPrompt=!1},a.getTags(),a.getCompanies(),a.getCustomFields()}}}}]).directive("contact",["$compile","xAlert","$http","socket",function(a,b,c,d){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/main/template.contactTab.html",compile:function(a,e){return function(a,e,f){a.moment=moment,a.forms={general:{}},a.detail={tab:"main"},a.log={journal:{show:"Phones",type:"Inbounds",detail:"general"},history:{show:"Phones",type:"HistoryInbounds",detail:"general"}},a.columns={Phones:{general:{header:["APPLICATION_SOURCE","APPLICATION_DESTINATION","APPLICATION_DATE"],indexes:["source","destination","createdAt"]},QueueCalls:{header:["APPLICATION_CALLERID","APPLICATION_QUEUE","APPLICATION_DATE"],indexes:["calleridnum","queue","createdAt"]},ReportAgents:{header:["APPLICATION_AGENT","APPLICATION_QUEUE","APPLICATION_DATE"],indexes:["membername","queue","agentcalledAt"]},HistoryQueueCalls:{header:["APPLICATION_CALLERID","APPLICATION_QUEUE","APPLICATION_DATE"],indexes:["calleridnum","queue","createdAt"]},HistoryReportAgents:{header:["APPLICATION_AGENT","APPLICATION_QUEUE","APPLICATION_DATE"],indexes:["membername","queue","createdAt"]}},Emails:{general:{header:["APPLICATION_FROM","APPLICATION_TO","APPLICATION_DATE"],indexes:["from","to","createdAt"]}}},a.rows={journal:[],history:[]},a.itemsByPage=15,a.rowCollection=[],a._=_,a.getRows=function(b){a.rows[b]=[],_.forEach(a.contact[a.log[b].show],function(c){console.log(c),"general"===a.log[b].detail?a.rows[b]=a.rows[b].concat(c[a.log[b].type]):_.forEach(c[a.log[b].type],function(c){a.rows[b]=a.rows[b].concat(c[a.log[b].detail])})}),console.log(a.rows[b])},a.addField=function(b){a.contact[b].push({})},a.removeField=function(b,c){a.contact[b].splice(c,1)},a.getContact=function(d){console.log("get contact in tab"),c.get("/api/contactmanager/"+d).success(function(b){b.tags=b.tags?b.tags.split(","):[],a.contact=b,a.getRows("journal"),a.getRows("history"),a.contact.customFields={},a.contact.CustomFields.forEach(function(b){a.contact.customFields[b.id]=b.ContactHasCustomField.value})}).error(function(a){console.error(a),b.show(a.message,"danger")})},a.getTags=function(){c.get("/api/tags").success(function(b){a.tags=_.pluck(b.rows,"name")}).error(function(a){console.error(a),b.show(a.message,"danger")})},a.getCompanies=function(){c.get("/api/contactmanager/companies").success(function(b){a.companies=b.rows,d.syncUpdates("company",a.companies)}).error(function(a){console.error(a),b.show(a.message,"danger")})},a.getCustomFields=function(){c.get("/api/contactmanager/customfields/all").success(function(b){a.customFields=b,a.customFields.forEach(function(a){a.values=JSON.parse(a.values)}),d.syncUpdates("custom_field",a.customFields,function(a,b){"string"==typeof b.values&&(b.values=JSON.parse(b.values))})}).error(function(a){console.error(a),b.show(a.message,"danger")})},a.getTags(),a.getCompanies(),a.getCustomFields(),a.getContact(a.workspace.contactID)}}}}]).directive("reportBuilder",["$compile",function(a){return{restrict:"E",scope:{group:"=",fields:"=",forms:"=",firstCall:"="},templateUrl:"app/main/template.reportBuilderView.html",compile:function(b,c){var d,e;return d=b.contents().remove(),function(b,c,f){b.operators=[{name:"AND"},{name:"OR"}],b.conditions=[{name:"="},{name:"!="},{name:"<"},{name:"<="},{name:">"},{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])})}}}]),angular.module("xCallyShuttleApp").filter("capitalize",function(){return function(a){return a?a.replace(/([^\W_]+[^\s-]*) */g,function(a){return a.charAt(0).toUpperCase()+a.substr(1).toLowerCase()}):""}}).filter("salesforce",function(){var a=["CallDisposition","CallDurationInSeconds","CallObject","CallType","IsArchived","Priority","Status","Type"];return function(b){return _.remove(b,function(b){return b.custom===!1&&a.indexOf(b.name)<0}),b}}).filter("sugarcrm",function(){var a=["account_id","account_name","account_name1","assigned_user_name","assigned_user_id","case_number","created_by","created_by_name","date_entered","date_modified","deleted","description","id","modified_by_name","modified_user_id","name"];return function(b){return _.remove(b,function(b){return a.indexOf(b.name)>=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}}),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/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("xAlert",["$translate","Notification",function(a,b){return{show:function(c,d){switch(d){case"success":b.success({message:c,title:'<i class="glyphicon glyphicon-ok"></i> <strong>'+a.instant("MESSAGE_SUCCESS")+"!</strong>",delay:5e3});break;case"info":b.info({message:c,title:'<i class="glyphicon glyphicon-info-sign"></i> <strong>'+a.instant("MESSAGE_INFO")+"!</strong>",delay:5e3});break;case"danger":b.error({message:c,title:'<i class="glyphicon glyphicon-exclamation-sign"></i> <strong>'+a.instant("MESSAGE_ERROR")+"!</strong>",delay:1e4});break;case"warning":b.warning({message:c,title:'<i class="glyphicon glyphicon-warning-sign"></i> <strong>'+a.instant("MESSAGE_WARNING")+"!</strong>",delay:1e4});break;default:b.info(c)}}}}]).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}}}]),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,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"})}]),angular.module("xCallyShuttleApp").controller("MotionbarCtrl",["$scope","$stateParams","$cookieStore","settings","Auth",function(a,b,c,d,e){e.loginWithToken(b.token,b.userId,b.name),a.getCurrentUser=e.getCurrentUser,d.layout.pageQuickSidebarOpened=!0}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("motionbar",{url:"/motionbar",template:"<div ui-view></div>","abstract":!0}).state("motionbar.chat",{url:"/chat?token&userId&name",templateUrl:"app/motionbar/motionbar.chat.html",controller:"MotionbarCtrl"})}]),angular.module("xCallyShuttleApp").controller("SalesforceListCtrl",["$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(_.pluck(a.displayedSalesforceAccounts,"id")):a.accounts.checked=[]},a.getAccounts=function(b){return _.map(a.displayedSalesforceAccounts,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("salesforce_account"),b.url="/api/salesforce/accounts",h.getPage(b).then(function(d){a.displayedSalesforceAccounts=d.rows,b.pagination.numberOfPages=d.total_pages,c.updateTableConfig(a.accountsByPage,a.displayedSalesforceAccounts.length),c.updateTableConfig(a.conf.accountsByPage,a.displayedSalesforceAccounts.length)}),f.socket.on("salesforce_account:save",function(){a.initList(b)}),f.socket.on("salesforce_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/salesforce/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/salesforce/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/salesforce/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.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").config(["$stateProvider",function(a){a.state("main.salesforce",{url:"/salesforce",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SalesforceViewCtrl",["$scope","$http","$stateParams","$translate","$location","WizardHandler","socket","xAlert","Modal","$filter",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("salesforce_configuration"),g.unsyncUpdates("salesforce_field")}),a.initView=function(){b.get("/api/salesforce/accounts/"+c.id).success(function(b){a.account=b}).error(function(a){h.show(a.message,"danger")})},a.updateItem=function(){b.put("/api/salesforce/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/salesforce/configurations",{params:{AccountId:c.id}}).success(function(b){a.configurations=b,g.socket.on("salesforce_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/salesforce/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/salesforce/configurations",a.configuration).success(function(a){e.path("salesforce/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/salesforce/accounts/"+c.id+"/fields").success(function(b){a.accountFields=_.sortByOrder(j("salesforce")(b),"name","asc")}).error(function(a){h.show(a.message,"danger")})},a.getConfiguration=function(){b.get("/api/salesforce/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("salesforce_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/salesforce/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/salesforce/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/salesforce/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/salesforce/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/salesforce/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){b.content="",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",{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"}).state("main.salesforce.view.configurations",{url:"/configurations",templateUrl:"app/salesforce/view/view.configurations.html"}).state("main.salesforce.view.configurations.settings",{url:"/settings/:configurationId",templateUrl:"app/salesforce/view/view.configurationSettings.html",controller:"SalesforceViewCtrl"}).state("main.salesforce.view.configuration",{url:"/configuration",templateUrl:"app/salesforce/view/view.configuration.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(){e.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})}}]),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:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("LicenseViewCtrl",["$scope","$rootScope","$translate","License","xAlert",function(a,b,c,d,e){a.initView=function(){d.get(function(b){a.item=b.license})},a.submitRequest=function(){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")}})}}]),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").config(["$stateProvider",function(a){a.state("main.setting",{url:"/setting",template:"<div ui-view></div>","abstract":!0})}]),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:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SmtpViewCtrl",["$scope","$stateParams","$translate","MailServerOut","xAlert",function(a,b,c,d,e){a.initView=function(){a.item={},d.get({id:"service"}).$promise.then(function(b){a.item=b})["catch"](function(a){e.show(a.message,"danger")})},a.updateItem=function(){a.item.id?d.update({id:a.item.id},a.item).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.message,"danger")}):(a.item.service=!0,d.save(a.item).$promise.then(function(b){a.item=b,e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.message,"danger")}))},a.test=function(){d.test({id:a.item.id,controller:"test"}).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.log("err",a),e.show(a.data?a.data.response:a.statusText,"danger")})}}]),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("TemplateListCtrl",["$scope","$http","$translate","$rootScope","socket","Modal","stResource","xAlert",function(a,b,c,d,e,f,g,h){a.$on("$destroy",function(){e.unsyncUpdates("mail_template")}),a.conf={templatesByPage:{name:"10",value:10}},a.templatesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.Templates={checked:[]},a.check=function(b,c){c?a.Templates.checked=angular.copy(_.pluck(a.displayedTemplates,"id")):a.Templates.checked=[]},a.getTemplates=function(b){return _.map(a.displayedTemplates,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){e.unsyncUpdates("mail_template"),b.url="/api/mail/templates/",g.getPage(b).then(function(c){a.displayedTemplates=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(c.templatesByPage,a.displayedTemplates.length),d.updateTableConfig(a.conf.templatesByPage,a.displayedTemplates.length)}),e.socket.on("mail_template:save",function(){a.initList(b)}),e.socket.on("mail_template:remove",function(c){a.Templates.checked=_.without(a.Templates.checked,c.id),a.initList(b)})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("/api/mail/templates/"+a).success(function(){h.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){h.show(a.message,"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/mail/templates/",{params:{id:a.Templates.checked}}).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){h.show(c.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.templates.list",{url:"/list",templateUrl:"app/setting/template/list/list.html",controller:"TemplateListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Template",["$resource",function(a){return a("/api/mail/templates/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.templates",{url:"/templates",template:"<div ui-view></div>","abstract":!0})}]),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.setting.templates.view",{url:"/view/:id",templateUrl:"app/setting/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.setting.templates.view.settings",{url:"/settings",templateUrl:"app/setting/template/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TemplateWizardCtrl",["$scope","$location","$http","WizardHandler","xAlert","MailServerOut","Template",function(a,b,c,d,e,f,g){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.mailAccounts=f.query()},a.next=function(){d.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){var c={name:a.item.name,description:a.item.description,subject:a.item.subject||null,html:a.item.html||null,text:a.item.text||null};g.save(c).$promise.then(function(){b.path("/templates/list")})["catch"](function(a){e.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.templates.wizard",{url:"/wizard",templateUrl:"app/setting/template/wizard/wizard.html",controller:"TemplateWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("UpdateListCtrl",["$scope","$uibModal","$log","$translate","Update","xAlert",function(a,b,c,d,e,f){a.conf={updatesByPage:{name:"10",value:10},labels:["fullname","name","email"]},a.updatesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.initList=function(){e.query(function(b){a.updates=b})},a.pull=function(){var a=b.open({animation:!0,templateUrl:"app/setting/update/list/list.pull.html",controller:function(a,b){a.modal={dismissable:!0,title:"Confirm Checkout",html:"Are you sure you want to checkout?",buttons:[{classes:"btn btn-success",text:"Checkout",click:function(){b.close()}},{classes:"btn default",text:"Cancel",click:function(){b.dismiss("cancel")}}]}}});a.result.then(function(){e.pull(function(a){a.summary.changes?f.show(d.instant("APPLICATION_UPDATED_TO_LATEST_VERSION"),"success"):f.show(d.instant("APPLICATION_ALREADY_UP_TO_DATE"),"info")},function(a){f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},function(){c.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.updates.list",{url:"/list",templateUrl:"app/setting/update/list/list.html",controller:"UpdateListCtrl",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("Update",["$resource",function(a){return a("/api/updates/:id/:controller",{id:"@id"},{pull:{method:"GET",params:{id:"pull"}},checkout:{method:"GET",params:{id:"checkout"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.updates",{url:"/updates",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SoundListCtrl",["$scope","$http","socket","Modal","$q","FileUploader","$translate","xAlert","$cookieStore","$sce",function(a,b,c,d,e,f,g,h,i,j){a.isCollapsed=!0,a.audioSources={},a["delete"]=d.confirm["delete"](function(a){b["delete"]("/api/uploads/"+a).success(function(a){}).error(function(a){console.log(a)})}),a.getAudioSrc=function(a){return"/api/uploads/"+a},a.updateAudio=function(a,c){var d=e.defer();return b.put("/api/uploads/"+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("upload")}),a.initList=function(){b.get("/api/uploads").success(function(b){a.sounds=b,a.sounds.forEach(function(a){k(a)}),c.syncUpdates("upload",a.sounds)}).error(function(a){})};var k=function(c){b.get("/api/uploads/stream/"+c.id).success(function(b){a.audioSources[c.id]=b}).error(function(a){console.error(a)})};a.getSecureSrc=function(a){return j.trustAsResourceUrl("data:audio/ogg;base64,"+a)},a.getSecureDownloadSrc=function(a){return j.trustAsResourceUrl("data:application/octet-stream;charset=utf-16le;base64,"+a)};var l=a.uploader=new f({url:"/api/uploads",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.sounds.list",{url:"/list",templateUrl:"app/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").config(["$stateProvider",function(a){a.state("main.sounds",{url:"/sounds",templateUrl:"app/sound/sound.html","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SquareOdbcListCtrl",["$scope","$http","socket","$rootScope","$translate","xAlert","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={odbcsByPage:{name:"10",value:10}},a.odbcsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.Odbcs={checked:[]},a.check=function(b,c){c?a.Odbcs.checked=angular.copy(_.pluck(a.displayedOdbcs,"id")):a.Odbcs.checked=[]},a.getOdbcs=function(b){return _.map(a.displayedOdbcs,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("square_odbc"),b.url="/api/square/odbc",h.getPage(b).then(function(c){a.displayedOdbcs=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.odbcsByPage,a.displayedOdbcs.length),d.updateTableConfig(a.conf.odbcsByPage,a.displayedOdbcs.length)}),c.socket.on("square_odbc:save",function(){a.initList(b)}),c.socket.on("square_odbc:remove",function(c){a.Odbcs.checked=_.without(a.Odbcs.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/square/odbc/"+a).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/square/odbc",{params:{id:a.Odbcs.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.odbcs.list",{url:"/list",templateUrl:"app/square/odbc/list/list.html",controller:"SquareOdbcListCtrl",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.square.odbcs",{url:"/odbcs",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SquareOdbcViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){a.getOdbc=function(){b.get("/api/square/odbc/"+e.id).success(function(b){delete b.pwd,a.odbc=b}).error(function(a){console.error(a),f.path("/square/odbcs/list")})},a.updateOdbc=function(){var f=angular.copy(a.odbc);b.put("/api/square/odbc/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.odbc=f})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.odbcs.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.odbcs.view.settings",{url:"/settings",templateUrl:"app/square/odbc/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("SquareOdbcWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","$translate",function(a,b,c,d,e,f){a.forms={odbc:void 0},a.item={},a.next=function(){b.post("/api/square/odbc/validate/",a.item).success(function(a){a.length?e.show(f.instant("MESSAGE_EXIST_ODBC"),"danger"):c.wizard().next()}).error(function(a){e.show(f.instant(a.message),"danger")})},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/square/odbc/",a.item).success(function(){d.path("/square/odbcs/list")}).error(function(a){e.show(f.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.odbcs.wizard",{url:"/wizard",templateUrl:"app/square/odbc/wizard/wizard.html",controller:"SquareOdbcWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("SquareProjectListCtrl",["$scope","$http","socket","$rootScope","$translate","xAlert","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={projectsByPage:{name:"10",value:10}},a.projectsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.Projects={checked:[]},a.check=function(b,c){c?a.Projects.checked=angular.copy(_.pluck(a.displayedProjects,"id")):a.Projects.checked=[]},a.getProjects=function(b){return _.map(a.displayedProjects,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("square_project"),b.url="/api/square/projects",h.getPage(b).then(function(c){a.displayedProjects=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.projectsByPage,a.displayedProjects.length),d.updateTableConfig(a.conf.projectsByPage,a.displayedProjects.length)}),c.socket.on("square_project:save",function(){a.initList(b)}),c.socket.on("square_project:remove",function(c){a.Projects.checked=_.without(a.Projects.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/square/projects/"+a).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/square/projects",{params:{id:a.Projects.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})})}]),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,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.square.projects",{url:"/projects",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SquareProjectViewCtrl",["$scope","$http","$stateParams","socket","Auth","Modal","xAlert","$translate","$rootScope",function(a,b,c,d,e,f,g,h,i){a.squareProject={},a.getProject=function(){b.get("/api/square/projects/"+c.id).success(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 d=new Image;d.src="assets/plugins/mxgraph/images/1x1.png?msg="+encodeURIComponent(a)+"&url="+encodeURIComponent(b)+"&lnum="+encodeURIComponent(c)}}catch(e){}},b.token=e.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)}}),d.syncUpdates("square_project",[b],function(a,c,d){c.id===b.id})})}}]),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").controller("SquareProjectWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","$translate",function(a,b,c,d,e,f){a.forms={project:void 0},a.item={},a.next=function(){b.post("/api/square/projects/validate/",a.item).success(function(a){a.length?e.show(f.instant("MESSAGE_EXIST_PROJECT"),"danger"):c.wizard().next()}).error(function(a){e.show(f.instant(a.message),"danger")})},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/square/projects/",a.item).success(function(){d.path("/square/projects/list")}).error(function(a){e.show(f.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.projects.wizard",{url:"/wizard",templateUrl:"app/square/project/wizard/wizard.html",controller:"SquareProjectWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square",{url:"/square",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SugarcrmListCtrl",["$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(_.pluck(a.displayedSugarcrmAccounts,"id")):a.accounts.checked=[]},a.getAccounts=function(b){return _.map(a.displayedSugarcrmAccounts,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("sugarcrm_account"),b.url="/api/sugarcrm/accounts",h.getPage(b).then(function(d){a.displayedSugarcrmAccounts=d.rows,b.pagination.numberOfPages=d.total_pages,c.updateTableConfig(a.accountsByPage,a.displayedSugarcrmAccounts.length),c.updateTableConfig(a.conf.accountsByPage,a.displayedSugarcrmAccounts.length)}),f.socket.on("sugarcrm_account:save",function(){a.initList(b)}),f.socket.on("sugarcrm_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/sugarcrm/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/sugarcrm/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/sugarcrm/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.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:"<div ui-view></div>","abstract":!0})}]),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").controller("TagListCreateModalCtrl",["$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("TagListCtrl",["$scope","$http","socket","$rootScope","$translate","xAlert","Modal","stResource","$uibModal","$log",function(a,b,c,d,e,f,g,h,i,j){a.conf={tagsByPage:{name:"10",value:10}},a.tagsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.Tags={checked:[]},a.check=function(b,c){c?a.Tags.checked=angular.copy(_.pluck(a.displayedTags,"id")):a.Tags.checked=[]},a.getTags=function(b){return _.map(a.displayedTags,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("tag"),b.url="/api/tags",h.getPage(b).then(function(c){console.log(c),a.displayedTags=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.tagsByPage,a.displayedTags.length),d.updateTableConfig(a.conf.tagsByPage,a.displayedTags.length)}),c.socket.on("tag:save",function(){console.log("save"),a.initList(b)}),c.socket.on("tag:remove",function(c){a.Tags.checked=_.without(a.Tags.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/tags/"+a).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/tags",{params:{id:a.Tags.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.create=function(){var a=i.open({animation:!0,templateUrl:"app/tag/list/create.modal.html",controller:"TagListCreateModalCtrl"});a.result.then(function(a){b.post("/api/tags",a).then(function(a){f.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.data.message,"danger")})},function(){j.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tags.list",{url:"/list",templateUrl:"app/tag/list/list.html",controller:"TagListCtrl",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.tags",{url:"/tags",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("TagViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){a.getTag=function(){b.get("/api/tags/"+e.id).success(function(b){a.tag=b}).error(function(a){console.error(a),f.path("/tags/list")})},a.updateTag=function(){var f=angular.copy(a.tag);b.put("/api/tags/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.tag=f})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tags.view",{url:"/view/:id",templateUrl:"app/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.tags.view.settings",{url:"/settings",templateUrl:"app/tag/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TeamListCtrl",["$scope","$http","$translate","$rootScope","xAlert","socket","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={teamsByPage:{name:"10",value:10}},a.teamsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.teams={checked:[]},a.check=function(b,c){c?a.teams.checked=angular.copy(_.pluck(a.displayedTeams,"id")):a.teams.checked=[]},a.getTeams=function(b){return _.map(a.displayedTeams,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("team"),b.url="/api/teams/",h.getPage(b).then(function(c){a.displayedTeams=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.teamsByPage,a.displayedTeams.length),d.updateTableConfig(a.conf.teamsByPage,a.displayedTeams.length)}),f.socket.on("team:save",function(){a.initList(b)}),f.socket.on("team:remove",function(c){a.teams.checked=_.without(a.teams.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("api/teams/"+a).success(function(){e.show(c.instant("MESSAGE_TEAM_DELETE_SUCCESS"),"success")}).error(function(){e.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/teams",{params:{id:a.teams.checked}}).success(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){e.show(c.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.teams.list",{url:"/list",templateUrl:"app/team/list/list.html",controller:"TeamListCtrl",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.teams",{url:"/teams",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("TeamViewCtrl",["$scope","$http","$stateParams","$translate","xAlert",function(a,b,c,d,e){a.message="Hello";var f=function(){return{select:function(c){b.post("/api/teams/"+a.team.id+"/agents",{agents:c}).error(function(a){console.error(a)})},deselect:function(c){b.put("/api/teams/"+a.team.id+"/agents",{agents:c}).error(function(a){console.error(a)})}}};a.initView=function(){b.get("/api/teams/"+c.id).success(function(b){a.team=b}).error(function(a){e.show(a.message,"danger")})},a.initAgents=function(){b.get("/api/agents").success(function(d){a.agents=d.rows,b.get("/api/user_has_teams",{params:{TeamId:c.id}}).success(function(b){ComponentsDropdowns.bindTeam(_.pluck(b,"UserId"),_.map(a.agents,function(a){return{id:a.id,name:a.name}}),f)}).error(function(a){console.error(a)})})},a.updateItem=function(){var f=angular.copy(a.team),g=angular.copy(a.team);b.put("/api/teams/"+c.id,f).success(function(){e.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(b){a.team=g,b.errors.forEach(function(a){e.show(a.message,"danger")})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.teams.view",{url:"/view/:id",templateUrl:"app/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.teams.view.agents",{url:"/agents",templateUrl:"app/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/scripts/components-dropdowns.js"]}])}]}}).state("main.teams.view.settings",{url:"/settings",templateUrl:"app/team/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TeamWizardCtrl",["$scope","$http","$translate","$location","WizardHandler","xAlert",function(a,b,c,d,e,f){a.forms={info:void 0},a.item={},a.createItem=function(){b.post("api/teams",a.item).success(function(){f.show(c.instant("MESSAGE_TEAM_CREATE_SUCCESS"),"success"),d.path("/teams/list")}).error(function(a){a.errors.forEach(function(a){f.show(a.message,"danger")})})},a.goNext=function(){e.wizard().next()},a.formValidation=function(a){return a}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.teams.wizard",{url:"/wizard",templateUrl:"app/team/wizard/wizard.html",controller:"TeamWizardCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({name:"ui.select",insertBefore:"#ng_load_plugins_before",files:["assets/plugins/ui-select/select.min.css","assets/plugins/ui-select/select.min.js"]})}]}})}]),angular.module("xCallyShuttleApp").controller("TriggerListCtrl",["$scope","$http","$translate","$rootScope","stResource","Modal","socket","xAlert",function(a,b,c,d,e,f,g,h){a.conf={TriggersByPage:{name:"10",value:10}},a.TriggersByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],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.Triggers={checked:[]},a.check=function(b,c){c?a.Triggers.checked=angular.copy(_.pluck(a.displayedTriggers,"id")):a.Triggers.checked=[]},a.getTriggers=function(b){return _.map(a.displayedTriggers,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){g.unsyncUpdates("trigger"),b.url="/api/triggers",e.getPage(b).then(function(c){a.displayedTriggers=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.TriggersByPage,a.displayedTriggers.length),d.updateTableConfig(a.conf.TriggersByPage,a.displayedTriggers.length)}),g.socket.on("trigger:save",function(){a.initList(b)}),g.socket.on("trigger:remove",function(c){a.Triggers.checked=_.without(a.Triggers.checked,c.id),a.initList(b)})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("/api/triggers/"+a).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/triggers",{params:{id:a.Triggers.checked}}).success(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){h.show(c.instant(a.message),"danger")})}),a.updateItem=function(a,d){b.put("api/triggers/"+a,{status:d}).success(function(a){h.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.triggers.list",{url:"/list",templateUrl:"app/trigger/list/list.html",controller:"TriggerListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.triggers",{url:"/triggers",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("TriggerViewCtrl",["$scope","$stateParams","$http","$translate","xAlert","triggers",function(a,b,c,d,e,f){a.$triggers=f,a.forms={info:{}},a.fields={},a.properties=f.properties,a.initView=function(){c.get("/api/triggers/"+b.id).success(function(b){a.trigger=b,a.conditionsFilter=JSON.parse(b.conditions),a.actionsFilter=JSON.parse(b.actions),a.fields.conditions=a.$triggers.triggers[b.channel].conditions,a.fields.actions=a.$triggers.triggers[b.channel].actions}).error(function(a){e.show(a.message,"danger")})},a.getProperties=function(){h(),j(),i(),g()};var g=function(){c.get("/api/integrations",{params:{active:1}}).success(function(b){a.integrations=b;var c=[];b.forEach(function(a){c.push({name:a.name,value:a.state})}),a.properties.voice.integration=c}).error(function(a){e.show(a.message,"danger")})},h=function(){c.get("/api/mail/templates/").success(function(b){a.mailTemplates=b.rows;var c=[];b.rows.forEach(function(a){c.push({name:a.name,value:a.id})}),a.properties.mail.template=c}).error(function(a){e.show(a.message,"danger")})},i=function(){c.get("/api/voice/queues/").success(function(b){a.voiceQueues=b.rows;var c=[];b.rows.forEach(function(a){c.push({name:a.name,value:a.name})}),a.properties.voice.queue=c}).error(function(a){e.show(a.message,"danger")})},j=function(){c.get("/api/mail/servers/out/").success(function(b){a.stmpAccounts=b;var c=[];b.forEach(function(a){c.push({name:a.username,value:a.username})}),a.properties.mail.smtp=c}).error(function(a){e.show(a.message,"danger")})};a.updateTrigger=function(){c.put("/api/triggers/"+a.trigger.id,{name:a.trigger.name,description:a.trigger.description,conditions:angular.toJson(a.conditionsFilter),actions:angular.toJson(a.actionsFilter)}).success(function(){e.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){e.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.triggers.view",{url:"/view/:id",templateUrl:"app/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.triggers.view.settings",{url:"/settings",templateUrl:"app/trigger/view/view.settings.html"}).state("main.triggers.view.routes",{url:"/routes",templateUrl:"app/trigger/view/view.routes.html"}).state("main.triggers.view.application",{url:"/application",templateUrl:"app/trigger/view/view.application.html"})}]),angular.module("xCallyShuttleApp").controller("TriggerWizardCtrl",["$scope","$http","$location","xAlert","triggers","WizardHandler",function(a,b,c,d,e,f){a.$triggers=e,a.tempData={voice:{},mail:{},chat:{},fax:{}},a.item={},a.fields={},a.properties=e.properties,a.forms={general:{}};var g={group:{"boolean":"AND",rules:[],type:"CONDITION",main:!0}},h={group:{rules:[],type:"ACTION"}};a.conditionsFilter=_.clone(g,!0),a.actionsFilter=_.clone(h,!0),a.$watch("item.channel",function(b,c){c&&(a.tempData[c].conditionsFilter=_.clone(a.conditionsFilter,!0),a.tempData[c].actionsFilter=_.clone(a.actionsFilter,!0)),a.conditionsFilter=a.tempData[b].conditionsFilter?a.tempData[b].conditionsFilter:_.clone(g,!0),a.actionsFilter=a.tempData[b].actionsFilter?a.tempData[b].actionsFilter:_.clone(h,!0),a.fields.conditions=a.$triggers.triggers[b].conditions,a.fields.actions=a.$triggers.triggers[b].actions;
+},!0),a.item.channel="voice",a.getProperties=function(){j(),l(),k(),i()};var i=function(){b.get("/api/integrations",{params:{active:1}}).success(function(b){a.integrations=b;var c=[];b.forEach(function(a){c.push({name:a.name,value:a.state})}),a.properties.voice.integration=c}).error(function(a){d.show(a.message,"danger")})},j=function(){b.get("/api/mail/templates/").success(function(b){a.mailTemplates=b.rows;var c=[];b.rows.forEach(function(a){c.push({name:a.name,value:a.id})}),a.properties.mail.template=c}).error(function(a){d.show(a.message,"danger")})},k=function(){b.get("/api/mail/servers/out/").success(function(b){a.stmpAccounts=b;var c=[];b.forEach(function(a){c.push({name:a.username,value:a.username})}),a.properties.mail.smtp=c}).error(function(a){d.show(a.message,"danger")})},l=function(){b.get("/api/voice/queues/").success(function(b){a.voiceQueues=b.rows;var c=[];b.rows.forEach(function(a){c.push({name:a.name,value:a.name})}),a.properties.voice.queue=c}).error(function(a){d.show(a.message,"danger")})};a.createItem=function(){a.item.conditions=angular.toJson(a.conditionsFilter),a.item.actions=angular.toJson(a.actionsFilter),b.post("/api/triggers",a.item).success(function(){c.path("/triggers/list")}).error(function(a){d.show(a.message,"danger")})},a.next=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.exitValidation=function(a){return a}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.triggers.wizard",{url:"/wizard",templateUrl:"app/trigger/wizard/wizard.html",controller:"TriggerWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("TrunkListCtrl",["$scope","$http","$translate","$rootScope","xAlert","socket","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={trunksByPage:{name:"10",value:10},labels:["name","host","context","description"]},a.trunksByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.trunks={checked:[]},a.check=function(b,c){c?a.trunks.checked=angular.copy(_.pluck(a.displayedTrunks,"id")):a.trunks.checked=[]},a.getTrunks=function(b){return _.map(a.displayedTrunks,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("trunk"),b.url="/api/trunks",console.log(b),h.getPage(b).then(function(c){a.displayedTrunks=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.trunksByPage,a.displayedTrunks.length),d.updateTableConfig(a.conf.trunksByPage,a.displayedTrunks.length)}),f.socket.on("trunk:save",function(){a.initList(b)}),f.socket.on("trunk:remove",function(c){a.trunks.checked=_.without(a.trunks.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/trunks/"+a).success(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){e.show(c.instant(a.message),"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/trunks",{params:{id:a.trunks.checked}}).success(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){e.show(c.instant(a.message),"danger")})}),a.$on("$destroy",function(){console.log("trunks destroy")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.trunks.list",{url:"/list",templateUrl:"app/trunk/list/list.html",controller:"TrunkListCtrl",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.trunks",{url:"/trunks",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("TrunkViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location",function(a,b,c,d,e,f,g){a.getTrunk=function(){b.get("/api/trunks/"+e.id).success(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(","),delete b.secret,a.trunk=b}).error(function(a){console.error(a),g.path("/trunks/list")})},a.updateTrunk=function(){""===a.trunk.password&&delete a.trunk.password;var f=angular.copy(a.trunk);f.nat=f.nat.join(","),f.allow=f.allow.join(";"),f.insecure=f.insecure.join(","),f.transport=f.transport.join(","),b.put("/api/trunks/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),f.nat=f.nat.split(","),f.naallowt=f.allow.split(";"),f.insecure=f.insecure.split(","),f.transport=f.transport.split(","),a.trunk=f})},a.getContexts=function(){b.get("/api/voice/contexts").success(function(b){a.voiceContexts=b.rows,f.syncUpdates("voice_context",a.voiceContexts)}).error(function(a){c.show(d.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.trunks.view",{url:"/view/:id",templateUrl:"app/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.trunks.view.settings",{url:"/settings",templateUrl:"app/trunk/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TrunkWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","socket","$translate",function(a,b,c,d,e,f,g){a.initWizard=function(){a.forms={},a.item={context:"from-voip-provider"}},a.next=function(d){d?b.post("/api/trunks/validate/",a.item).success(function(a){console.log(a),a.length?e.show(g.instant("MESSAGE_EXIST_TRUNK"),"danger"):c.wizard().next()}).error(function(a){e.show(g.instant(a.message),"danger")}):c.wizard().next()},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/trunks/",a.item).success(function(){d.path("/trunks/list")}).error(function(a){e.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.trunks.wizard",{url:"/wizard",templateUrl:"app/trunk/wizard/wizard.html",controller:"TrunkWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("UserListCtrl",["$scope","$http","xAlert","$rootScope","$translate","socket","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={usersByPage:{name:"10",value:10}},a.usersByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.users={checked:[]},a.check=function(b,c){c?a.users.checked=angular.copy(_.pluck(a.displayedUsers,"id")):a.users.checked=[]},a.getUsers=function(b){return _.map(a.displayedUsers,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/users/"+a).success(function(){c.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){a.errors.forEach(function(b){c.show(a.message+": "+b.message,"danger")})})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/users",{params:{id:a.users.checked}}).success(function(){c.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){a.errors.forEach(function(b){c.show(a.message+": "+b.message,"danger")})})}),a.initList=function(b){f.unsyncUpdates("user"),b.url="/api/users/",h.getPage(b).then(function(c){a.displayedUsers=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.usersByPage,a.displayedUsers.length),d.updateTableConfig(a.conf.usersByPage,a.displayedUsers.length)}),f.socket.on("user:save",function(){a.initList(b)}),f.socket.on("user:remove",function(c){a.users.checked=_.without(a.users.checked,c.id),a.initList(b)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.users.list",{url:"/list",templateUrl:"app/user/list/list.html",controller:"UserListCtrl",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.users",{url:"/users",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("UserViewCtrl",["$scope","$http","$stateParams","$translate","FileUploader","$cookieStore","Auth","xAlert",function(a,b,c,d,e,f,g,h){a.Auth=g,a.updatePassword=function(){var e,f;g.isAdmin()?(e="/api/users/password/"+c.id+"/reset",f={newPassword:a.user.newPwd}):(e="/api/users/password/",f={oldPassword:a.user.currentPwd,newPassword:a.user.newPwd}),b.put(e,f).success(function(a){h.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})};var i=a.uploader=new e({url:"api/users/"+c.id+"/avatar",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+f.get("token")}});i.filters.push({name:"imageFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(b)}}),i.onSuccessItem=function(b,c,e,f){a.user.userpic=c.userpic,a.user.id===g.getCurrentUser().id&&(g.getCurrentUser().userpic=c.userpic),h.show(d.instant("MESSAGE_WELL_DONE"),"success")},i.onErrorItem=function(a,b,c,e){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},i.onCompleteAll=function(){i.clearQueue()},a.initView=function(){b.get("/api/users/"+c.id).success(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(";"):[]}).error(function(a){a.errors.forEach(function(b){h.show(a.message+": "+b.message,"danger")})})},a.updateItem=function(){var e=angular.copy(a.user),f=angular.copy(a.user);delete e.password,delete e.md5secret,e.transport=e.transport.join(","),e.allow=e.allow.join(";"),b.put("/api/users/"+c.id,e).success(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(b){a.user=f,b.errors.forEach(function(a){h.show(b.message+": "+a.message,"danger")})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.users.view",{url:"/view/:id",templateUrl:"app/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.users.view.account",{url:"/account",templateUrl:"app/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"]})}]}})}]),angular.module("xCallyShuttleApp").controller("UserWizardCtrl",["$scope","$http","$location","WizardHandler","xAlert","$translate",function(a,b,c,d,e,f){a.forms={info:void 0,voice:void 0},a.item={role:"user",host:"dynamic",context:"from-sip"},a.next=function(){d.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/users/",a.item).success(function(){e.show(f.instant("MESSAGE_WELL_DONE"),"success"),c.path("/users/list")}).error(function(a){console.log(a),e.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.users.wizard",{url:"/wizard",templateUrl:"app/user/wizard/wizard.html",controller:"UserWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("VariableListCreateModalCtrl",["$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("VariableListCtrl",["$scope","$http","socket","$rootScope","$translate","xAlert","Modal","stResource","$uibModal","$log",function(a,b,c,d,e,f,g,h,i,j){a.conf={variablesByPage:{name:"10",value:10}},a.variablesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.Variables={checked:[]},a.check=function(b,c){c?a.Variables.checked=angular.copy(_.pluck(a.displayedVariables,"id")):a.Variables.checked=[]},a.getVariables=function(b){return _.map(a.displayedVariables,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("variable"),b.url="/api/variables",h.getPage(b).then(function(c){a.displayedVariables=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.variablesByPage,a.displayedVariables.length),d.updateTableConfig(a.conf.variablesByPage,a.displayedVariables.length)}),c.socket.on("variable:save",function(){a.initList(b)}),c.socket.on("variable:remove",function(c){a.Variables.checked=_.without(a.Variables.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/variables/"+a).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/variables",{params:{id:a.Variables.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.create=function(){var a=i.open({animation:!0,templateUrl:"app/variable/list/create.modal.html",controller:"VariableListCreateModalCtrl"});a.result.then(function(a){b.post("/api/variables",a).then(function(a){f.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.data.message,"danger")})},function(){j.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.variables.list",{url:"/list",templateUrl:"app/variable/list/list.html",controller:"VariableListCtrl",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.variables",{url:"/variables",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VariableViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){a.getVariable=function(){b.get("/api/variables/"+e.id).success(function(b){a.variable=b}).error(function(a){console.error(a),f.path("/variables/list")})},a.updateVariable=function(){var f=angular.copy(a.variable);b.put("/api/variables/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.variable=f})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.variables.view",{url:"/view/:id",templateUrl:"app/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.variables.view.settings",{url:"/settings",templateUrl:"app/variable/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.contexts",{url:"/contexts",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceContextListCtrl",["$scope","$http","socket","$rootScope","$translate","xAlert","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={contextsByPage:{name:"10",value:10}},a.contextsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.voiceContexts={checked:[]},a.check=function(b,c){c?a.voiceContexts.checked=angular.copy(_.pluck(a.displayedVoiceContexts,"id")):a.voiceContexts.checked=[]},a.getVoiceContexts=function(b){return _.map(a.displayedVoiceContexts,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("voice_context"),b.url="/api/voice/contexts",h.getPage(b).then(function(c){a.displayedVoiceContexts=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.contextsByPage,a.displayedVoiceContexts.length),d.updateTableConfig(a.conf.contextsByPage,a.displayedVoiceContexts.length)}),c.socket.on("voice_context:save",function(){a.initList(b)}),c.socket.on("voice_context:remove",function(c){a.voiceContexts.checked=_.without(a.voiceContexts.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/voice/contexts/"+a).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/voice/contexts",{params:{id:a.voiceContexts.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.contexts.list",{url:"/list",templateUrl:"app/voice/context/list/list.html",controller:"VoiceContextListCtrl",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("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.voice.contexts.view",{url:"/view/:id",templateUrl:"app/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.voice.contexts.view.settings",{url:"/settings",templateUrl:"app/voice/context/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("VoiceContextWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","$translate",function(a,b,c,d,e,f){a.forms={context:void 0},a.item={},a.next=function(){b.post("/api/voice/contexts/validate/",a.item).success(function(a){console.log(a),a.length?e.show(f.instant("MESSAGE_EXIST_CONTEXT"),"danger"):c.wizard().next()}).error(function(a){e.show(f.instant(a.message),"danger")})},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/voice/contexts/",a.item).success(function(){d.path("/voice/contexts/list")}).error(function(a){e.show(f.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.contexts.wizard",{url:"/wizard",templateUrl:"app/voice/context/wizard/wizard.html",controller:"VoiceContextWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceMohListCtrl",["$scope","$http","$translate","$rootScope","xAlert","socket","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={mohsByPage:{name:"10",value:10},labels:["name","directory","sort","description"]},a.mohsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.mohs={checked:[]},a.check=function(b,c){c?a.mohs.checked=angular.copy(_.pluck(a.displayedMohs,"id")):a.mohs.checked=[]},a.getMohs=function(b){return _.map(a.displayedMohs,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("voice_musiconhold"),b.url="/api/voice/musiconholds",h.getPage(b).then(function(c){a.displayedMohs=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.mohsByPage,a.displayedMohs.length),d.updateTableConfig(a.conf.mohsByPage,a.displayedMohs.length)}),f.socket.on("voice_musiconhold:save",function(){a.initList(b)}),f.socket.on("voice_musiconhold:remove",function(c){a.mohs.checked=_.without(a.mohs.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/voice/musiconholds/"+a).success(function(){e.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){e.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/voice/musiconholds",{params:{id:a.mohs.checked}}).success(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){e.show(c.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.mohs.list",{url:"/list",templateUrl:"app/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").config(["$stateProvider",function(a){a.state("main.voice.mohs",{url:"/mohs",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceMohViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","Modal","$sce","$location",function(a,b,c,d,e,f,g,h,i){a.$translate=d,a.audioSources={},a.sortOptions=[{value:"random",name:"APPLICATION_RANDOM"},{value:"alpha",name:"APPLICATION_ALPHABETICAL"}],a.getMoh=function(){b.get("/api/voice/musiconholds/"+e.id).success(function(b){delete b.stamp,a.moh=b}).error(function(a){console.error(a),i.path("/voice/mohs/list")})},a.updateVoiceMoh=function(){console.log("update");var f=angular.copy(a.moh);b.put("/api/voice/musiconholds/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.voiceMoh=f})},a.addMohs=function(){b.post("/api/voice/musiconholds/"+e.id+"/files",a.item).success(function(){i.path("voice/mohs/view/"+e.id+"/audios")}).error(function(a){c.show(d.instant(a.message),"danger")})},a.getAudioFiles=function(){b.get("/api/voice/musiconholds/"+e.id+"/files").success(function(b){a.audioFiles=b.files,a.mohPath=b.path,a.audioFiles.forEach(function(a){j(a)})}).error(function(a){console.error(a)})},a.getSecureSrc=function(a){return h.trustAsResourceUrl(a)};var j=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.getSounds=function(){a.item={sounds:[]},b.get("/api/uploads").success(function(b){a.soundList=b}).error(function(a){console.error(a)})},a.deleteItem=g.confirm["delete"](function(f){b["delete"]("/api/voice/musiconholds/"+e.id+"/files",{params:{filename:f}}).success(function(){_.remove(a.audioFiles,function(a){return a===f}),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.voice.mohs.view",{url:"/view/:id",templateUrl:"app/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.voice.mohs.view.settings",{url:"/settings",templateUrl:"app/voice/moh/view/view.settings.html"}).state("main.voice.mohs.view.audios",{url:"/audios",templateUrl:"app/voice/moh/view/view.audios.html",cache:!1}).state("main.voice.mohs.view.add",{url:"/add",templateUrl:"app/voice/moh/view/view.addFiles.html",cache:!1})}]),angular.module("xCallyShuttleApp").controller("VoiceMohWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","socket","$translate",function(a,b,c,d,e,f,g){a.$translate=g,a.initWizard=function(){a.forms={},a.item={sort:"alpha"}},a.next=function(){b.post("/api/voice/musiconholds/validate/",a.item).success(function(a){console.log(a),a.length?e.show(g.instant("MESSAGE_EXIST_MOH"),"danger"):c.wizard().next()}).error(function(a){e.show(g.instant(a.message),"danger")})},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/voice/musiconholds/",a.item).success(function(a){d.path("/voice/mohs/view/"+a.id+"/audios")}).error(function(a){e.show(g.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.mohs.wizard",{url:"/wizard",templateUrl:"app/voice/moh/wizard/wizard.html",controller:"VoiceMohWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceQueueListCtrl",["$scope","$http","socket","$translate","$rootScope","Modal","xAlert","stResource",function(a,b,c,d,e,f,g,h){a.conf={voiceQueuesByPage:{name:"10",value:10},labels:["name","description","strategy","context"]},a.voiceQueuesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.queues={checked:[]},a.check=function(b,c){c?a.queues.checked=angular.copy(_.pluck(a.displayedQueues,"name")):a.queues.checked=[]},a.getQueues=function(b){return _.map(a.displayedQueues,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("voice_queue"),b.url="/api/voice/queues",h.getPage(b).then(function(c){a.displayedQueues=c.rows,b.pagination.numberOfPages=c.total_pages,e.updateTableConfig(a.voiceQueuesByPage,a.displayedQueues.length),e.updateTableConfig(a.conf.voiceQueuesByPage,a.displayedQueues.length)}),c.socket.on("voice_queue:save",function(){a.initList(b)}),c.socket.on("voice_queue:remove",function(c){console.log("remove"),a.queues.checked=_.without(a.queues.checked,c.name),a.initList(b)})},a.deleteItem=f.confirm["delete"](function(a){b["delete"]("/api/voice/queues/"+a).success(function(){g.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){g.show(a.message,"danger")})}),a.deleteItems=f.confirm["delete"](function(){b["delete"]("/api/voice/queues",{params:{name:a.queues.checked}}).success(function(){g.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){g.show(d.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.queues.list",{url:"/list",templateUrl:"app/voice/queue/list/list.html",controller:"VoiceQueueListCtrl",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.voice.queues",{url:"/queues",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceQueueViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location",function(a,b,c,d,e,f,g){a.binaryChoices=[{name:"Yes",value:1},{name:"No",value:0}],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 h=function(){return{select:function(c){b.post("/api/voice/queues/"+a.queue.name+"/agents",{agents:c}).success(function(){a.getTeams()}).error(function(a){console.error(a)})},deselect:function(c){b.put("/api/voice/queues/"+a.queue.name+"/agents",{agents:c}).success(function(){a.getTeams()}).error(function(a){console.error(a)})}}};a.getQueue=function(){b.get("/api/voice/queues/"+e.id).success(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(","),a.queue=b}).error(function(a){g.path("/voice/queues/list")})},a.updateVoiceQueue=function(){var f=angular.copy(a.queue);f.joinempty=f.joinempty.join(","),f.leavewhenempty=f.leavewhenempty.join(","),f.periodic_announce=f.periodic_announce.join(","),f.context||(f.context=null),b.put("/api/voice/queues/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),f.joinempty=f.joinempty.split(","),f.leavewhenempty=f.leavewhenempty.split(","),f.periodic_announce=f.periodic_announce.split(","),a.queue=f})},a.getTeams=function(){b.get("/api/teams").success(function(c){a.teams=c.rows,b({url:"/api/voice/user_has_queues",method:"GET",params:{queue:a.queue.name}}).success(function(b){ComponentsDropdowns.bindQueue(a.teams,_.pluck(b,"UserId"),h)})}).error(function(a){console.error(a)})},a.getContexts=function(){b.get("/api/voice/contexts").success(function(b){a.voiceContexts=b.rows,f.syncUpdates("voice_context",a.voiceContexts)}).error(function(a){c.show(d.instant(a.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/uploads").success(function(b){a.queueAnnounces=a.queueAnnounces.concat(b),a.periodicAnnounces=angular.copy(b),b.unshift({display_name:"None",converted_path:null,value:""}),a.sounds=b,f.syncUpdates("upload",a.sounds)}).error(function(a){console.error(a)})},a.returnAnnouncePath=function(a){return console.log("func"),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.voice.queues.view",{url:"/view/:id",templateUrl:"app/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.voice.queues.view.settings",{url:"/settings",templateUrl:"app/voice/queue/view/view.settings.html"}).state("main.voice.queues.view.agents",{url:"/agents",templateUrl:"app/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/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceQueueWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","socket","$translate",function(a,b,c,d,e,f,g){a.forms={queue:void 0},a.item={},a.next=function(){b.post("/api/voice/queues/validate/",a.item).success(function(a){console.log(a),a.length?e.show(g.instant("MESSAGE_EXIST_QUEUE"),"danger"):c.wizard().next()}).error(function(a){e.show(g.instant(a.message),"danger")})},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/voice/queues/",a.item).success(function(){d.path("/voice/queues/list")}).error(function(a){e.show(g.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.queues.wizard",{url:"/wizard",templateUrl:"app/voice/queue/wizard/wizard.html",controller:"VoiceQueueWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.realtime",{
+url:"/realtime",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentCtrl",["$scope","$http","$log","$uibModal","$translate","socket","xAlert",function(a,b,c,d,e,f,g){a.conf={agentsByPage:{name:"10",value:10},labels:["fullname","name","email"]},a.agentsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.$on("$destroy",function(){f.unsyncUpdates("user_has_voice_queue")}),a.groups=[],a.pauses=["pausa1","pausa2","pausa3"],a.pause=function(f,h){var i=d.open({animation:!0,size:f,templateUrl:"app/voice/realtime/view/agent/pause.modal.html",controller:"VoiceRealtimeViewAgentPauseModalCtrl",resolve:{items:function(){return a.pauses},data:function(){return h}}});i.result.then(function(a){b.post("/api/ami",a).then(function(a){console.log(a),g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.log(a),g.show(a.data.message,"danger")})},function(){c.info("Modal dismissed at: "+new Date)})},a.add=function(f,h){var i=d.open({animation:!0,size:f,templateUrl:"app/voice/realtime/view/agent/queue.modal.add.html",controller:"VoiceRealtimeViewAgentQueueModalCtrl",resolve:{pauses:function(){return a.pauses},data:function(){return h}}});i.result.then(function(a){console.log(a),b.post("/api/voice/user_has_queues",a).then(function(){a.login?b.post("/api/ami",a).then(function(){g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")}):g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")})},function(){c.info("Modal dismissed at: "+new Date)})},a.remove=function(a,f){var h=d.open({animation:!0,size:a,templateUrl:"app/voice/realtime/view/agent/queue.modal.remove.html",controller:"VoiceRealtimeViewAgentQueueModalCtrl",resolve:{pauses:function(){return null},data:function(){return f}}});h.result.then(function(a){_.isArray(a)?a.forEach(function(a){b.post("/api/ami",a).then(function(){a.logout?b.put("/api/voice/queues/"+a.queue+"/agents",{agents:[a.UserId]}).then(function(){g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")}):g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")})}):b.post("/api/ami",a).then(function(){a.logout?b.put("/api/voice/queues/"+a.queue+"/agents",{agents:[a.UserId]}).then(function(){g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")}):g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")})},function(){c.info("Modal dismissed at: "+new Date)})},a.initAgents=function(){b.get("/api/voice/user_has_queues").success(function(b){a.agents=b,a.groups=_.map(_.groupBy(a.agents,"membername"),function(a,b){return{membername:b,queues:a}}),f.socket.on("user_has_voice_queue:save",function(b){var c=_.find(a.groups,{membername:b.membername}),d=a.groups.indexOf(c);if(c){var e=_.find(c.queues,{queue:b.queue});e?_.merge(e,b):a.groups[d].queues.push(b)}else{var f={membername:b.membername,queues:[b]};a.groups.unshift(f)}}),f.socket.on("user_has_voice_queue:remove",function(b){var c=_.find(a.groups,{membername:b.membername});_.remove(c.queues,{queue:b.queue}),c.queues.length||_.remove(a.groups,{membername:b.membername})}),f.socket.on("report_agent:save",function(b){var c=_.find(a.groups,{membername:b.membername}),d=a.groups.indexOf(c);if(c){var e=_.find(c.queues,{queue:b.queue});e?_.merge(e,b):a.groups[d].queues.push(b)}else{var f={membername:b.membername,queues:[b]};a.groups.unshift(f)}})}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentPauseModalCtrl",["$scope","$uibModalInstance","items","data",function(a,b,c,d){a.items=c,a.data=d,a.selected={item:a.items[0],queue:_.isArray(d)?a.data[0].queue:a.data.queue,membername:_.isArray(d)?a.data[0].membername:a.data.membername,"interface":_.isArray(d)?a.data[0]["interface"]:a.data["interface"]},a.ok=function(c){var e={action:"QueuePause","interface":a.selected["interface"],paused:c,reason:a.selected.item};_.isArray(d)||(e.queue=a.selected.queue),b.close(e)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","pauses","data",function(a,b,c,d,e){a.initAdd=function(){a.data=e,a.pauses=d,a.selected={membername:a.data[0].membername,"interface":a.data[0]["interface"],penalty:0,paused:!1,reason:a.pauses[0],UserId:a.data[0].UserId},c.get("/api/voice/queues",{params:{page:0,per_page:100}}).success(function(b){a.queues=_.reject(b.rows,function(b){return _.find(a.data,{queue:b.name})?!0:!1}),a.selected.queue=a.queues[0]?a.queues[0].name:null,console.log(a.queues)}).error(function(a){console.error(a)})},a.initRemove=function(){a.data=e,_.isArray(e)?a.selected={membername:a.data[0].membername,"interface":a.data[0]["interface"],logout:!1,UserId:a.data[0].UserId}:a.selected={membername:a.data.membername,"interface":a.data["interface"],queue:a.data.queue,logout:!1,UserId:a.data.UserId}},a.okAdd=function(){console.log(a.selected);var c={action:"QueueAdd",logged:a.data[0].logged,loggedAt:a.data[0].loggedAt,queue:a.selected.queue,membername:a.selected.membername,"interface":a.selected["interface"],penalty:a.selected.penalty,paused:a.selected.paused,UserId:a.selected.UserId};c.paused&&(c.reason=a.selected.reason),b.close(c)},a.okRemove=function(){var c;_.isArray(a.data)?(c=[],a.data.forEach(function(b){c.push({action:"QueueRemove",queue:b.queue,"interface":b["interface"],logout:a.selected.logout,UserId:b.UserId})})):c={action:"QueueRemove",queue:a.selected.queue,logout:a.selected.logout,"interface":a.selected["interface"],UserId:a.selected.UserId},b.close(c)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentReportCtrl",["$scope","$http","socket",function(a,b,c){a.$on("$destroy",function(){c.unsyncUpdates("report_agent")}),a.conf={agentsByPage:{name:"10",value:10},labels:["fullname","name","email"]},a.agentsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.initReport=function(){a.agents=[],b.get("/api/report/agents").success(function(b){a.agents=b,c.syncUpdates("report_agent",a.agents)}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").filter("VoiceRealtimeViewAgentReportFilter",function(){return function(a){return new Date(1970,0,1).setSeconds(a)}}),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewQueueReportCtrl",["$scope","$http","socket",function(a,b,c){a.$on("$destroy",function(){c.unsyncUpdates("report_queue")}),a.conf={queuesByPage:{name:"10",value:10},labels:["fullname","name","email"]},a.queuesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.initReport=function(){a.queues=[],b.get("/api/report/queues").success(function(b){console.log(b),a.queues=b,c.syncUpdates("report_queue",a.queues)}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").filter("VoiceRealtimeViewQueueReportFilter",function(){return function(a){return new Date(1970,0,1).setSeconds(a)}}),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewQueuePauseModalCtrl",["$scope","$uibModalInstance","items","data",function(a,b,c,d){a.items=c,a.data=d,console.log(d),a.selected={item:a.items[0],queue:_.isArray(d)?a.data[0].queue:a.data.queue,membername:_.isArray(d)?a.data[0].membername:a.data.membername,"interface":_.isArray(d)?a.data[0]["interface"]:a.data["interface"]},a.ok=function(c,e){var f;_.isArray(d)?(f=[],d.forEach(function(b){f.push({action:"QueuePause",queue:b.queue,membername:b.membername,"interface":b["interface"],paused:c,reason:a.selected.item})})):f={action:"QueuePause",queue:a.selected.queue,membername:a.selected.membername,"interface":a.selected["interface"],paused:c,reason:a.selected.item},b.close(f)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewQueueCtrl",["$scope","$http","$log","$uibModal","$translate","socket","xAlert",function(a,b,c,d,e,f,g){a.conf={agentsByPage:{name:"10",value:10},labels:["fullname","name","email"]},a.agentsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.$on("$destroy",function(){f.unsyncUpdates("user_has_voice_queue")}),a.groups=[],a.pauses=["pausa1","pausa2","pausa3"],a.pause=function(f,h){var i=d.open({animation:!0,size:f,templateUrl:"app/voice/realtime/view/queue/pause.modal.html",controller:"VoiceRealtimeViewQueuePauseModalCtrl",resolve:{items:function(){return a.pauses},data:function(){return h}}});i.result.then(function(a){_.isArray(a)?a.forEach(function(a){b.post("/api/ami",a).then(function(a){console.log(a),g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.log(a),g.show(a.data.message,"danger")})}):b.post("/api/ami",a).then(function(a){console.log(a),g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.log(a),g.show(a.data.message,"danger")})},function(){c.info("Modal dismissed at: "+new Date)})},a.add=function(f,h){var i=d.open({animation:!0,size:f,templateUrl:"app/voice/realtime/view/queue/queue.modal.add.html",controller:"VoiceRealtimeViewQueueQueueModalCtrl",resolve:{pauses:function(){return a.pauses},data:function(){return h}}});i.result.then(function(a){console.log("action",a),b.post("/api/voice/user_has_queues",a).then(function(){a.login?b.post("/api/ami",a).then(function(){g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")}):g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.message,"danger")}),console.log(a)},function(){c.info("Modal dismissed at: "+new Date)})},a.remove=function(a,f){var h=d.open({animation:!0,size:a,templateUrl:"app/voice/realtime/view/queue/queue.modal.remove.html",controller:"VoiceRealtimeViewQueueQueueModalCtrl",resolve:{pauses:function(){return null},data:function(){return f}}});h.result.then(function(a){_.isArray(a)?a.forEach(function(a){b.post("/api/ami",a).then(function(){a.logout?b.put("/api/voice/queues/"+a.queue+"/agents",{agents:[a.UserId]}).then(function(){g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")}):g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")})}):b.post("/api/ami",a).then(function(){a.logout?b.put("/api/voice/queues/"+a.queue+"/agents",{agents:[a.UserId]}).then(function(){g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")}):g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.data.message,"danger")})},function(){c.info("Modal dismissed at: "+new Date)})},a.initQueues=function(){b.get("/api/voice/user_has_queues").success(function(b){a.queues=b,a.groups=_.map(_.groupBy(a.queues,"queue"),function(a,b){return{queue:b,agents:a}}),console.log("ok"),f.socket.on("user_has_voice_queue:save",function(b){console.log("item",b);var c=_.find(a.groups,{queue:b.queue}),d=a.groups.indexOf(c);if(c){var e=_.find(c.agents,{membername:b.membername});e?_.merge(e,b):a.groups[d].agents.push(b)}else{var f={queue:b.queue,agents:[b]};a.groups.unshift(f)}}),f.socket.on("user_has_voice_queue:remove",function(b){var c=_.find(a.groups,{queue:b.queue});_.remove(c.agents,{membername:b.membername}),c.agents.length||_.remove(a.groups,{queue:b.queue})}),f.socket.on("report_agent:save",function(b){var c=_.find(a.groups,{queue:b.queue}),d=a.groups.indexOf(c);if(c){var e=_.find(c.agents,{membername:b.membername});e?_.merge(e,b):a.groups[d].agents.push(b)}else{var f={queue:b.queue,agents:[b]};a.groups.unshift(f)}})}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewQueueQueueModalCtrl",["$scope","$uibModalInstance","$http","pauses","data",function(a,b,c,d,e){a.initAdd=function(){a.data=e,a.pauses=d,a.selected={penalty:0,paused:!1,reason:a.pauses[0]},a.$watch("selected.agent",function(b){b&&(a.selected.membername=b.name,a.selected["interface"]="SIP/"+b.name,a.selected.UserId=b.id)}),c.get("/api/agents",{params:{page:0,per_page:500}}).success(function(b){a.agents=_.reject(b.rows,function(b){return _.find(a.data,{membername:b.name})?!0:!1}),a.selected.queue=a.data[0]?a.data[0].queue:null}).error(function(a){console.error(a)})},a.initRemove=function(){a.data=e,console.log(e),_.isArray(e)?a.selected={queue:a.data[0].queue,logout:!1}:a.selected={membername:a.data.membername,"interface":a.data["interface"],queue:a.data.queue,logout:!1,UserId:a.data.UserId}},a.okAdd=function(){var c={action:"QueueAdd",queue:a.selected.queue,membername:a.selected.membername,"interface":a.selected["interface"],penalty:a.selected.penalty,paused:a.selected.paused,UserId:a.selected.UserId};c.paused&&(c.reason=a.selected.reason),b.close(c)},a.okRemove=function(){var c;_.isArray(a.data)?(c=[],a.data.forEach(function(b){c.push({action:"QueueRemove",queue:b.queue,"interface":b["interface"],logout:a.selected.logout,UserId:b.UserId})})):c={action:"QueueRemove",queue:a.selected.queue,logout:a.selected.logout,"interface":a.selected["interface"],UserId:a.selected.UserId},b.close(c)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewCtrl",["$scope",function(a){a.agents=[{name:"View1",link:"main.voice.realtime.view.agents"},{name:"View2",link:"main.voice.realtime.view.areports"}],a.queues=[{name:"View1",link:"main.voice.realtime.view.queues"},{name:"View2",link:"main.voice.realtime.view.qreports"}]}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.realtime.view",{url:"/view",templateUrl:"app/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"]}])}]}}).state("main.voice.realtime.view.queues",{url:"/queues",controller:"VoiceRealtimeViewQueueCtrl",templateUrl:"app/voice/realtime/view/queue/queue.html"}).state("main.voice.realtime.view.qreports",{url:"/qreport/:search",controller:"VoiceRealtimeViewQueueReportCtrl",templateUrl:"app/voice/realtime/view/qreport/report.html"}).state("main.voice.realtime.view.agents",{url:"/agents",controller:"VoiceRealtimeViewAgentCtrl",templateUrl:"app/voice/realtime/view/agent/agent.html"}).state("main.voice.realtime.view.areports",{url:"/areport",controller:"VoiceRealtimeViewAgentReportCtrl",templateUrl:"app/voice/realtime/view/areport/report.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.routes.inbound",{url:"/inbound",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInboundListCtrl",["$scope","$http","socket","$translate","$rootScope","xAlert","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={routesByPage:{name:"10",value:10}},a.routesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.routes={checked:[]},a.check=function(b){b?a.routes.checked=angular.copy(_.pluck(a.displayedRoutes,"id")):a.routes.checked=[]},a.getRoutes=function(b){return _.map(a.displayedRoutes,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("voice_extension"),b.url="/api/voice/extensions/route/inbound",h.getPage(b).then(function(c){a.displayedRoutes=c.rows,b.pagination.numberOfPages=c.total_pages,e.updateTableConfig(a.routesByPage,a.displayedRoutes.length),e.updateTableConfig(a.conf.routesByPage,a.displayedRoutes.length)}),c.socket.on("voice_extension:save",function(c){"inbound"===c.type&&a.initList(b)}),c.socket.on("voice_extension:remove",function(c){"inbound"===c.type&&(a.routes.checked=_.without(a.routes.checked,c.id),a.initList(b))})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/voice/extensions/"+a).success(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/voice/extensions/",{params:{id:a.routes.checked}}).success(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(d.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.routes.inbound.list",{url:"/list",templateUrl:"app/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","$http","$translate","$stateParams","socket","$location","WizardHandler","Modal","xAlert","application","interval",function(a,b,c,d,e,f,g,h,i,j,k){a.$translate=c,a.$application=j.application,a.$interval=k.interval,a.initApplication=function(){a.forms={settings:void 0,interval:void 0},a.application={VoiceExtensionId:d.id,type:"inbound"},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.joinInterval=function(a){console.log(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.toLowerCase(),a.wd_to&&"always"!==a.wd_to&&(c+="-"+a.wd_to.toLowerCase())):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.toLowerCase(),a.m_to&&"always"!==a.m_to&&(e+="-"+a.m_to.toLowerCase())):e="*",b+","+c+","+d+","+e},a.$watch("main.app",function(c){if(c){var e,f;switch(d.appId||(a.application={VoiceExtensionId:d.id,type:"inbound",interval:a.application.interval}),c){case"Queue":e="api/voice/queues",f="/api/uploads";break;case"Playback":e="/api/uploads";break;case"AGI":e="/api/square/projects";break;case"Goto":e="/api/voice/contexts";break;default:e=null,f=null}e&&b.get(e).success(function(b){a.items="Playback"!==c?b.rows:b}),f&&b.get(f).success(function(b){a.items2=b})}},!0),a.getIntervals=function(){b.get("/api/intervals").success(function(b){a.Intervals=b.rows,e.syncUpdates("interval",a.Intervals)}).error(function(a){i.show(c.instant(a.message),"danger")})},a.getRouteApplications=function(){b.get("/api/voice/extensions/"+d.id+"/applications").success(function(b){a.routeApplications=b,e.unsyncUpdates("voice_extension"),e.socket.on("voice_extension:remove",function(b){b.where.appGroup&&_.remove(a.routeApplications,function(a){return b.where.appGroup==a.appGroup})}),e.socket.on("voice_extension:save",function(b){if(b.VoiceExtensionId===d.id&&b.isApp){var c=_.find(a.routeApplications,{id:b.id});c||a.routeApplications.push(b)}})})},a.sortableOptions={stop:function(){b.post("api/voice/extensions/"+d.id+"/applications",{applications:_.pluck(a.routeApplications,"appGroup")}).success(function(b){a.getRouteApplications()}).error(function(a){console.error(a)})},"ui-floating":!0,axis:"y"},a.getRoute=function(){b.get("/api/voice/extensions/"+d.id).success(function(b){a.route=b,e.socket.on("voice_extension:update",function(b){b.id==d.id&&(a.route=b)})}).error(function(a){f.path("/voice/routes/inbound/list")})},a.getApplication=function(){b.get("/api/voice/extensions/applications/"+d.appId).success(function(b){var c=_.filter(a.$application.applications,function(a){return a.value===b.app});if(c.length>0&&!b.customApp?a.main.app=b.app:a.main.app="custom",a.application=b,a.interval.t_from=moment(new Date),a.interval.t_to=moment(new Date),"Queue"===b.app&&(a.application.app_options=b.app_options?b.app_options.split(","):[]),a.interval.intType=b.IntervalId?"list":"*,*,*,*"===b.interval?"always":"custom",a.interval.IntervalId=b.IntervalId,!b.IntervalId){var d,e=b.interval?b.interval.split(","):["*","*","*","*"];e.forEach(function(b,c){switch(c){case 0:"*"!==b?(d=b.split("-"),a.interval.t_from=moment(d[0],"HH:mm"),a.interval.t_to=moment(d[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:"*"!==b?(d=b.split("-"),a.interval.wd_from=_.capitalize(d[0]),a.interval.wd_to=d[1]?_.capitalize(d[1]):"always"):(a.interval.wd_from="always",a.interval.wd_to="always");break;case 2:"*"!==b?(d=b.split("-"),a.interval.md_from=d[0],a.interval.md_to=d[1]?d[1]:"always"):(a.interval.md_from="always",a.interval.md_to="always");break;case 3:"*"!==b?(d=b.split("-"),a.interval.m_from=_.capitalize(d[0]),a.interval.m_to=d[1]?_.capitalize(d[1]):"always"):(a.interval.m_from="always",a.interval.m_to="always")}})}}).error(function(a){f.path("/voice/routes/inbound/view/"+d.id+"/applications")})},a.updateRoute=function(){var e=angular.copy(a.route);b.put("/api/voice/extensions/"+d.id,e).success(function(){i.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){i.show(c.instant(b.message),"danger"),a.route=e})},a.getContexts=function(){b.get("/api/voice/contexts").success(function(b){a.voiceContexts=b.rows,e.syncUpdates("voice_context",a.voiceContexts)}).error(function(a){i.show(c.instant(a.message),"danger")})},a.createItem=function(){switch(a.application.app=a.main.app,a.application.exten=a.route.exten,a.application.context=a.route.context,a.application.app_options&&"Queue"===a.application.app&&(a.application.app_options=a.application.app_options.join(",")),a.interval.intType){case"list":a.application.IntervalId=a.interval.IntervalId,a.application.interval=_.result(_.find(a.Intervals,{id:a.interval.IntervalId}),"name");break;case"custom":a.application.IntervalId=null,a.application.interval=a.joinInterval(a.interval);break;case"always":a.application.IntervalId=null,a.application.interval="*,*,*,*"}b.post("/api/voice/extensions/",a.application).success(function(){f.path("/voice/routes/inbound/view/"+d.id+"/applications")}).error(function(a){i.show(c.instant(a.message),"danger")})},a.updateItem=function(){switch(a.application.app_options&&"Queue"===a.application.app&&(a.application.app_options=a.application.app_options.join(",")),a.interval.intType){case"list":a.application.IntervalId=a.interval.IntervalId,a.application.interval=_.result(_.find(a.Intervals,{id:a.interval.IntervalId}),"name");break;case"custom":a.application.IntervalId=null,a.application.interval=a.joinInterval(a.interval);break;case"always":a.application.IntervalId=null,a.application.interval="*,*,*,*"}b.put("/api/voice/extensions/applications/"+d.appId,a.application).success(function(){i.show(c.instant("MESSAGE_WELL_DONE")+"!","success"),f.path("/voice/routes/inbound/view/"+d.id+"/applications")}).error(function(a){i.show(c.instant(a.message),"danger")})},a.deleteItem=h.confirm["delete"](function(d){b["delete"]("/api/voice/extensions/"+d).success(function(){a.getRouteApplications(),i.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){i.show(c.instant(a.message),"danger")})}),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.voice.routes.inbound.view",{url:"/view/:id",templateUrl:"app/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.voice.routes.inbound.view.settings",{url:"/settings",templateUrl:"app/voice/route/inbound/view/view.settings.html"}).state("main.voice.routes.inbound.view.applications",{url:"/applications",templateUrl:"app/voice/route/inbound/view/view.applications.html",cache:!1}).state("main.voice.routes.inbound.view.application",{url:"/application",templateUrl:"app/voice/route/inbound/view/view.application.html",authenticate:!0}).state("main.voice.routes.inbound.view.applications.settings",{url:"/settings/:appId",templateUrl:"app/voice/route/inbound/view/view.applicationSettings.html",authenticate:!0,controller:"VoiceRouteInboundViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInboundWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","socket","$translate",function(a,b,c,d,e,f,g){a.forms={route:void 0},a.item={type:"inbound",appdata:"Inbound Call",context:"from-voip-provider"},a.next=function(){b.post("/api/voice/extensions/validate/",a.item).success(function(a){console.log(a),a.length?e.show(g.instant("MESSAGE_EXIST_ROUTE"),"danger"):c.wizard().next()}).error(function(a){e.show(g.instant(a.message),"danger")})},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/voice/extensions/",a.item).success(function(a){d.path("/voice/routes/inbound/view/"+a.id+"/applications")}).error(function(a){e.show(g.instant(a.message),"danger")})},a.getContexts=function(){b.get("/api/voice/contexts").success(function(b){a.voiceContexts=b,f.syncUpdates("voice_context",a.voiceContexts)}).error(function(a){e.show(g.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.routes.inbound.wizard",{url:"/wizard",templateUrl:"app/voice/route/inbound/wizard/wizard.html",controller:"VoiceRouteInboundWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.routes.internal",{url:"/internal",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInternalListCtrl",["$scope","$http","socket","$translate","$rootScope","xAlert","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={routesByPage:{name:"10",value:10}},a.routesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.routes={checked:[]},a.check=function(b){b?a.routes.checked=angular.copy(_.pluck(a.displayedRoutes,"id")):a.routes.checked=[]},a.getRoutes=function(b){return _.map(a.displayedRoutes,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("voice_extension"),b.url="/api/voice/extensions/route/internal",h.getPage(b).then(function(c){a.displayedRoutes=c.rows,b.pagination.numberOfPages=c.total_pages,e.updateTableConfig(a.routesByPage,a.displayedRoutes.length),e.updateTableConfig(a.conf.routesByPage,a.displayedRoutes.length)}),c.socket.on("voice_extension:save",function(c){"internal"===c.type&&a.initList(b)}),c.socket.on("voice_extension:remove",function(c){"internal"===c.type&&(a.routes.checked=_.without(a.routes.checked,c.id),a.initList(b))})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/voice/extensions/"+a).success(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/voice/extensions/",{params:{id:a.routes.checked}}).success(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(d.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.routes.internal.list",{url:"/list",templateUrl:"app/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","$http","$translate","$stateParams","socket","$location","WizardHandler","Modal","xAlert","application","interval",function(a,b,c,d,e,f,g,h,i,j,k){a.$translate=c,a.$application=j.application,a.$interval=k.interval,a.initApplication=function(){a.forms={settings:void 0,interval:void 0},a.application={VoiceExtensionId:d.id,type:"internal"},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.joinInterval=function(a){console.log(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.toLowerCase(),a.wd_to&&"always"!==a.wd_to&&(c+="-"+a.wd_to.toLowerCase())):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.toLowerCase(),a.m_to&&"always"!==a.m_to&&(e+="-"+a.m_to.toLowerCase())):e="*",b+","+c+","+d+","+e},a.$watch("main.app",function(c){if(c){var e,f;switch(d.appId||(a.application={VoiceExtensionId:d.id,type:"internal",interval:a.application.interval}),c){case"Queue":e="api/voice/queues",f="/api/uploads";break;case"Playback":e="/api/uploads";break;case"AGI":e="/api/square/projects";break;case"Goto":e="/api/voice/contexts";break;default:e=null,f=null}e&&b.get(e).success(function(b){a.items="Playback"!==c?b.rows:b}),f&&b.get(f).success(function(b){a.items2=b})}},!0),a.getIntervals=function(){b.get("/api/intervals").success(function(b){a.Intervals=b.rows,e.syncUpdates("interval",a.Intervals)}).error(function(a){i.show(c.instant(a.message),"danger")})},a.getRouteApplications=function(){b.get("/api/voice/extensions/"+d.id+"/applications").success(function(b){a.routeApplications=b,e.unsyncUpdates("voice_extension"),e.socket.on("voice_extension:remove",function(b){b.where.appGroup&&_.remove(a.routeApplications,function(a){return b.where.appGroup==a.appGroup})}),e.socket.on("voice_extension:save",function(b){if(b.VoiceExtensionId===d.id&&b.isApp){var c=_.find(a.routeApplications,{id:b.id});c||a.routeApplications.push(b)}})})},a.sortableOptions={stop:function(){b.post("api/voice/extensions/"+d.id+"/applications",{applications:_.pluck(a.routeApplications,"appGroup")}).success(function(b){a.getRouteApplications()}).error(function(a){console.error(a)})},"ui-floating":!0,axis:"y"},a.getRoute=function(){b.get("/api/voice/extensions/"+d.id).success(function(b){a.route=b,e.socket.on("voice_extension:update",function(b){b.id==d.id&&(a.route=b)})}).error(function(a){console.error(a),f.path("/voice/routes/internal/list")})},a.getApplication=function(){b.get("/api/voice/extensions/applications/"+d.appId).success(function(b){var c=_.filter(a.applications,function(a){return a.value===b.app});if(c.length>0&&!b.customApp?a.main.app=b.app:a.main.app="custom",a.application=b,a.interval.t_from=moment(new Date),a.interval.t_to=moment(new Date),"Queue"===b.app&&(a.application.app_options=b.app_options?b.app_options.split(","):[]),a.interval.intType=b.IntervalId?"list":"custom",a.interval.IntervalId=b.IntervalId,!b.IntervalId){var d,e=b.interval?b.interval.split(","):["*","*","*","*"];e.forEach(function(b,c){switch(c){case 0:"*"!==b?(d=b.split("-"),a.interval.t_from=moment(d[0],"HH:mm"),a.interval.t_to=moment(d[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:"*"!==b?(d=b.split("-"),a.interval.wd_from=_.capitalize(d[0]),a.interval.wd_to=d[1]?_.capitalize(d[1]):"always"):(a.interval.wd_from="always",a.interval.wd_to="always");break;case 2:"*"!==b?(d=b.split("-"),a.interval.md_from=d[0],a.interval.md_to=d[1]?d[1]:"always"):(a.interval.md_from="always",
+a.interval.md_to="always");break;case 3:"*"!==b?(d=b.split("-"),a.interval.m_from=_.capitalize(d[0]),a.interval.m_to=d[1]?_.capitalize(d[1]):"always"):(a.interval.m_from="always",a.interval.m_to="always")}})}}).error(function(a){f.path("/voice/routes/internal/view/"+d.id+"/applications")})},a.updateRoute=function(){var e=angular.copy(a.route);b.put("/api/voice/extensions/"+d.id,e).success(function(){i.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){i.show(c.instant(b.message),"danger"),a.route=e})},a.getContexts=function(){b.get("/api/voice/contexts").success(function(b){a.voiceContexts=b.rows,e.syncUpdates("voice_context",a.voiceContexts)}).error(function(a){i.show(c.instant(a.message),"danger")})},a.createItem=function(){switch(a.application.app=a.main.app,a.application.exten=a.route.exten,a.application.context=a.route.context,a.application.app_options&&"Queue"===a.application.app&&(a.application.app_options=a.application.app_options.join(",")),a.interval.intType){case"list":a.application.IntervalId=a.interval.IntervalId,a.application.interval=_.result(_.find(a.Intervals,{id:a.interval.IntervalId}),"name");break;case"custom":a.application.IntervalId=null,a.application.interval=a.joinInterval(a.interval);break;case"always":a.application.IntervalId=null,a.application.interval="*,*,*,*"}b.post("/api/voice/extensions/",a.application).success(function(){f.path("/voice/routes/internal/view/"+d.id+"/applications")}).error(function(a){i.show(c.instant(a.message),"danger")})},a.updateItem=function(){switch(a.application.app_options&&"Queue"===a.application.app&&(a.application.app_options=a.application.app_options.join(",")),a.interval.intType){case"list":a.application.IntervalId=a.interval.IntervalId,a.application.interval=_.result(_.find(a.Intervals,{id:a.interval.IntervalId}),"name");break;case"custom":a.application.IntervalId=null,a.application.interval=a.joinInterval(a.interval);break;case"always":a.application.IntervalId=null,a.application.interval="*,*,*,*"}b.put("/api/voice/extensions/applications/"+d.appId,a.application).success(function(){i.show(c.instant("MESSAGE_WELL_DONE")+"!","success"),f.path("/voice/routes/internal/view/"+d.id+"/applications")}).error(function(a){i.show(c.instant(a.message),"danger")})},a.deleteItem=h.confirm["delete"](function(d){b["delete"]("/api/voice/extensions/"+d).success(function(b){a.getRouteApplications(),i.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){i.show(c.instant(a.message),"danger")})}),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.voice.routes.internal.view",{url:"/view/:id",templateUrl:"app/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.voice.routes.internal.view.settings",{url:"/settings",templateUrl:"app/voice/route/internal/view/view.settings.html"}).state("main.voice.routes.internal.view.applications",{url:"/applications",templateUrl:"app/voice/route/internal/view/view.applications.html",cache:!1}).state("main.voice.routes.internal.view.application",{url:"/application",templateUrl:"app/voice/route/internal/view/view.application.html",authenticate:!0}).state("main.voice.routes.internal.view.applications.settings",{url:"/settings/:appId",templateUrl:"app/voice/route/internal/view/view.applicationSettings.html",authenticate:!0,controller:"VoiceRouteInternalViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInternalWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","socket","$translate",function(a,b,c,d,e,f,g){a.forms={route:void 0},a.item={type:"internal",appdata:"Iternal Call",context:"from-sip"},a.next=function(){b.post("/api/voice/extensions/validate/",a.item).success(function(a){console.log(a),a.length?e.show(g.instant("MESSAGE_EXIST_ROUTE"),"danger"):c.wizard().next()}).error(function(a){e.show(g.instant(a.message),"danger")})},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/voice/extensions/",a.item).success(function(a){d.path("/voice/routes/internal/view/"+a.id+"/applications")}).error(function(a){e.show(g.instant(a.message),"danger")})},a.getContexts=function(){b.get("/api/voice/contexts").success(function(b){a.voiceContexts=b,f.syncUpdates("voice_context",a.voiceContexts)}).error(function(a){e.show(g.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.routes.internal.wizard",{url:"/wizard",templateUrl:"app/voice/route/internal/wizard/wizard.html",controller:"VoiceRouteInternalWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteOutboundListCtrl",["$scope","$http","socket","$rootScope","$translate","xAlert","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={routesByPage:{name:"10",value:10}},a.routesByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.routes={checked:[]},a.check=function(b){b?a.routes.checked=angular.copy(_.pluck(a.displayedRoutes,"id")):a.routes.checked=[]},a.getRoutes=function(b){return _.map(a.displayedRoutes,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){c.unsyncUpdates("voice_extension"),b.url="/api/voice/extensions/route/outbound",h.getPage(b).then(function(c){a.displayedRoutes=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.routesByPage,a.displayedRoutes.length),d.updateTableConfig(a.conf.routesByPage,a.displayedRoutes.length)}),c.socket.on("voice_extension:save",function(c){"outbound"===c.type&&a.initList(b)}),c.socket.on("voice_extension:remove",function(c){"outbound"===c.type&&(a.routes.checked=_.without(a.routes.checked,c.id),a.initList(b))})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/voice/extensions/"+a).success(function(){f(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/voice/extensions/",{params:{id:a.routes.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(e.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.routes.outbound.list",{url:"/list",templateUrl:"app/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.voice.routes.outbound",{url:"/outbound",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteOutboundViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location","WizardHandler","Modal","application","interval",function(a,b,c,d,e,f,g,h,i,j,k){a.$translate=d,a.$application=j.application,a.$interval=k.interval,a.initApplication=function(){a.forms={info:void 0,interval:void 0},a.application={VoiceExtensionId:e.id,type:"outbound"},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:"Dial",value:"Dial"},{name:"Custom",value:"custom"}]},a.joinInterval=function(a){console.log(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.toLowerCase(),a.wd_to&&"always"!==a.wd_to&&(c+="-"+a.wd_to.toLowerCase())):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.toLowerCase(),a.m_to&&"always"!==a.m_to&&(e+="-"+a.m_to.toLowerCase())):e="*",b+","+c+","+d+","+e},a.$watch("main.app",function(c){if(c){var d,f;switch(e.appId||(a.application={VoiceExtensionId:e.id,type:"outbound",interval:a.application.interval}),c){case"Dial":d="api/trunks",f="/api/voice/contexts";break;default:d=null,f=null}d&&b.get(d).success(function(b){a.items="Dial"===c?b.rows:b}),f&&b.get(f).success(function(b){a.items2="Dial"===c?b.rows:b})}},!0),a.$watch("application.TrunkId",function(b){b&&(a.application.trunk=_.result(_.find(a.items,{id:b}),"name"))},!0),a.getIntervals=function(){b.get("/api/intervals").success(function(b){a.Intervals=b.rows,f.syncUpdates("interval",a.Intervals)}).error(function(a){c.show(d.instant(a.message),"danger")})},a.getRouteApplications=function(){b.get("/api/voice/extensions/"+e.id+"/applications").success(function(b){a.routeApplications=b,f.unsyncUpdates("voice_extension"),f.socket.on("voice_extension:remove",function(b){b.where.appGroup&&_.remove(a.routeApplications,function(a){return b.where.appGroup==a.appGroup})}),f.socket.on("voice_extension:save",function(b){if(b.VoiceExtensionId===e.id&&b.isApp){var c=_.find(a.routeApplications,{id:b.id});c||a.routeApplications.push(b)}})})},a.sortableOptions={stop:function(){b.post("api/voice/extensions/"+e.id+"/applications",{applications:_.pluck(a.routeApplications,"appGroup")}).success(function(){a.getRouteApplications()}).error(function(a){console.error(a)})},"ui-floating":!0,axis:"y"},a.getRoute=function(){b.get("/api/voice/extensions/"+e.id).success(function(b){a.route=b,f.socket.on("voice_extension:update",function(b){b.id==e.id&&(a.route=b)})}).error(function(a){g.path("/voice/routes/outbound/list")})},a.getApplication=function(){b.get("/api/voice/extensions/applications/"+e.appId).success(function(b){var c=_.filter(a.applications,function(a){return a.value===b.app});if(c.length>0&&!b.customApp?a.main.app=b.app:a.main.app="custom",a.application=b,a.interval.intType=b.IntervalId?"list":"custom",a.interval.IntervalId=b.IntervalId,!b.IntervalId){var d,e=b.interval?b.interval.split(","):["*","*","*","*"];e.forEach(function(b,c){switch(c){case 0:"*"!==b?(d=b.split("-"),a.interval.t_from=moment(d[0],"HH:mm"),a.interval.t_to=moment(d[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:"*"!==b?(d=b.split("-"),a.interval.wd_from=_.capitalize(d[0]),a.interval.wd_to=d[1]?_.capitalize(d[1]):"always"):(a.interval.wd_from="always",a.interval.wd_to="always");break;case 2:"*"!==b?(d=b.split("-"),a.interval.md_from=d[0],a.interval.md_to=d[1]?d[1]:"always"):(a.interval.md_from="always",a.interval.md_to="always");break;case 3:"*"!==b?(d=b.split("-"),a.interval.m_from=_.capitalize(d[0]),a.interval.m_to=d[1]?_.capitalize(d[1]):"always"):(a.interval.m_from="always",a.interval.m_to="always")}})}}).error(function(a){console.error(a),g.path("/voice/routes/outbound/view/"+e.id+"/routes")})},a.updateRoute=function(){var f=angular.copy(a.route);b.put("/api/voice/extensions/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.route=f})},a.getContexts=function(){b.get("/api/voice/contexts").success(function(b){a.voiceContexts=b.rows,f.syncUpdates("voice_context",a.voiceContexts)}).error(function(a){c.show(d.instant(a.message),"danger")})},a.createItem=function(){switch(a.application.app=a.main.app,a.application.exten=a.route.exten,a.application.context=a.route.context,a.interval.intType){case"list":a.application.IntervalId=a.interval.IntervalId,a.application.interval=_.result(_.find(a.Intervals,{id:a.interval.IntervalId}),"name");break;case"custom":a.application.IntervalId=null,a.application.interval=a.joinInterval(a.interval);break;case"always":a.application.IntervalId=null,a.application.interval="*,*,*,*"}b.post("/api/voice/extensions/",a.application).success(function(){g.path("/voice/routes/outbound/view/"+e.id+"/routes")}).error(function(a){c.show(d.instant(a.message),"danger")})},a.updateItem=function(){switch(a.interval.intType){case"list":a.application.IntervalId=a.interval.IntervalId,a.application.interval=_.result(_.find(a.Intervals,{id:a.interval.IntervalId}),"name");break;case"custom":a.application.IntervalId=null,a.application.interval=a.joinInterval(a.interval);break;case"always":a.application.IntervalId=null,a.application.interval="*,*,*,*"}b.put("/api/voice/extensions/applications/"+e.appId,a.application).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),g.path("/voice/routes/outbound/view/"+e.id+"/routes")}).error(function(a){c.show(d.instant(a.message),"danger")})},a.deleteItem=i.confirm["delete"](function(e){b["delete"]("/api/voice/extensions/"+e).success(function(b){a.getRouteApplications(),c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){c.show(d.instant(a.message),"danger")})}),a.goNext=function(){h.wizard().next()},a.previous=function(){h.wizard().previous()},a.formValidation=function(a){return a},a.$on("destroy",function(){f.unsyncUpdates("voice_extension")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.routes.outbound.view",{url:"/view/:id",templateUrl:"app/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.voice.routes.outbound.view.settings",{url:"/settings",templateUrl:"app/voice/route/outbound/view/view.settings.html"}).state("main.voice.routes.outbound.view.routes",{url:"/routes",templateUrl:"app/voice/route/outbound/view/view.routes.html",cache:!1}).state("main.voice.routes.outbound.view.route",{url:"/route",templateUrl:"app/voice/route/outbound/view/view.route.html",authenticate:!0}).state("main.voice.routes.outbound.view.routes.settings",{url:"/settings/:appId",templateUrl:"app/voice/route/outbound/view/view.routeSettings.html",authenticate:!0,controller:"VoiceRouteOutboundViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteOutboundWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","socket","$translate",function(a,b,c,d,e,f,g){a.forms={route:void 0},a.item={type:"outbound",appdata:"Outbound Call",context:"from-sip"},a.next=function(){b.post("/api/voice/extensions/validate/",a.item).success(function(a){console.log(a),a.length?e.show(g.instant("MESSAGE_EXIST_ROUTE"),"danger"):c.wizard().next()}).error(function(a){e.show(g.instant(a.message),"danger")})},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("/api/voice/extensions/",a.item).success(function(a){d.path("/voice/routes/outbound/view/"+a.id+"/routes")}).error(function(a){e.show(g.instant(a.message),"danger")})},a.getContexts=function(){b.get("/api/voice/contexts").success(function(b){a.voiceContexts=b,f.syncUpdates("voice_context",a.voiceContexts)}).error(function(a){e.show(g.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.routes.outbound.wizard",{url:"/wizard",templateUrl:"app/voice/route/outbound/wizard/wizard.html",controller:"VoiceRouteOutboundWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.routes",{url:"/routes",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice",{url:"/voice",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceVoicemailListCtrl",["$scope","$http","$translate","$rootScope","xAlert","socket","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={voicemailsByPage:{name:"10",value:10},labels:["mailbox","fullname","email"]},a.voicemailsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.voicemails={checked:[]},a.check=function(b,c){c?a.voicemails.checked=angular.copy(_.pluck(a.displayedVoicemails,"uniqueid")):a.voicemails.checked=[]},a.getVoicemails=function(b){return _.map(a.displayedVoicemails,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("voice_voicemail"),b.url="/api/voice/voicemails",h.getPage(b).then(function(c){a.displayedVoicemails=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.voicemailsByPage,a.displayedVoicemails.length),d.updateTableConfig(a.conf.voicemailsByPage,a.displayedVoicemails.length)}),f.socket.on("voice_voicemail:save",function(){a.initList(b)}),f.socket.on("voice_voicemail:remove",function(c){a.voicemails.checked=_.without(a.voicemails.checked,c.uniqueid),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/voice/voicemails/"+a).success(function(){e.show(c.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){e.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/voice/voicemails",{params:{uniqueid:a.voicemails.checked}}).success(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){e.show(c.instant(a.message),"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.voicemails.list",{url:"/list",templateUrl:"app/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","$http","xAlert","$translate","$stateParams","socket","$sce","Modal","$location",function(a,b,c,d,e,f,g,h,i){a.getVoicemail=function(){b.get("/api/voice/voicemails/"+e.uniqueid).success(function(b){delete b.password,delete b.stamp,a.voicemail=b}).error(function(a){console.error(a),i.path("/voice/voicemails/list")})},a.updateVoiceVoicemail=function(){var f=angular.copy(a.voicemail);b.put("/api/voice/voicemails/"+e.uniqueid,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.voicemail=f})},a.getContexts=function(){b.get("/api/voice/contexts").success(function(b){a.voiceContexts=b.rows,f.syncUpdates("voice_context",a.voiceContexts)}).error(function(a){c.show(a.message,"danger")})},a.getMessages=function(){b.get("/api/voice/voicemails/"+e.uniqueid+"/messages/").success(function(b){a.voicemailMessages=b,f.syncUpdates("voice_voicemail_messages",a.voicemailMessages)}).error(function(a){c.show(a.message,"danger")})},a.encodeRecording=function(a){return g.trustAsResourceUrl("data:audio/ogg;base64,"+j(a.data))},a.returnMessageDate=function(a){return a.split("T")[0]},a.returnDuration=function(a){return 1e3*a},a.deleteItem=h.confirm["delete"](function(a){b["delete"]("/api/voice/voicemails/messages/"+a+"/delete").success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){console.log(a),c.show(a.message,"danger")})});var j=function(a){for(var b=new Uint8Array(a),c=b.byteLength,d="",e=0;c>e;e++)d+=String.fromCharCode(b[e]);return window.btoa(d)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.voicemails.view",{url:"/view/:uniqueid",templateUrl:"app/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.voice.voicemails.view.settings",{url:"/settings",templateUrl:"app/voice/voicemail/view/view.settings.html"}).state("main.voice.voicemails.view.messages",{url:"/messages",templateUrl:"app/voice/voicemail/view/view.messages.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.voicemails",{url:"/voicemails",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceVoicemailWizardCtrl",["$scope","$http","WizardHandler","$location","xAlert","socket","$translate",function(a,b,c,d,e,f,g){a.initWizard=function(){a.forms={},a.item={}},a.next=function(){b.post("/api/voice/voicemails/validate/",a.item).success(function(a){a.length?e.show(g.instant("MESSAGE_EXIST_MAILBOX"),"danger"):c.wizard().next()}).error(function(a){e.show(a.message,"danger")})},a.previous=function(){c.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){a.item.customer_id=a.item.mailbox,b.post("/api/voice/voicemails/",a.item).success(function(){d.path("/voice/voicemails/list")}).error(function(a){e.show(a.message,"danger")})},a.getContexts=function(){b.get("/api/voice/contexts").success(function(b){a.voiceContexts=b.rows,f.syncUpdates("voice_context",a.voiceContexts)}).error(function(a){e.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.voice.voicemails.wizard",{url:"/wizard",templateUrl:"app/voice/voicemail/wizard/wizard.html",controller:"VoiceVoicemailWizardCtrl"})}]),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","socket","$rootScope","$translate","xAlert","Modal","stResource","$uibModal","$log",function(a,b,c,d,e,f,g,h,i,j){a.conf={dashboardsByPage:{name:"10",value:10}},a.dashboardsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.dashboards={checked:[]},a.check=function(b,c){c?a.dashboards.checked=angular.copy(_.pluck(a.displayedDashboards,"id")):a.dashboards.checked=[]},a.getDashboards=function(b){return _.map(a.displayedDashboards,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){b.url="/api/dashboards",h.getPage(b).then(function(c){a.displayedDashboards=c.rows,b.pagination.numberOfPages=c.total_pages,d.updateTableConfig(a.dashboardsByPage,a.displayedDashboards.length),d.updateTableConfig(a.conf.dashboardsByPage,a.displayedDashboards.length)}),c.socket.on("dashboard:save",function(){a.initList(b)}),c.socket.on("dashboard:remove",function(c){a.dashboards.checked=_.without(a.dashboards.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/dashboards/"+a).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/dashboards",{params:{id:a.dashboards.checked}}).success(function(){f.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}),a.create=function(){var a=i.open({animation:!0,templateUrl:"app/yourdashboard/list/create.modal.html",controller:"YourdashboardListCreateModalCtrl"});a.result.then(function(a){b.post("/api/dashboards",a).then(function(a){f.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.data.message,"danger")})},function(){j.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.yourdashboards.list",{url:"/list",templateUrl:"app/yourdashboard/list/list.html",controller:"YourdashboardListCtrl"})}]),angular.module("xCallyShuttleApp").controller("YourdashboardShowCtrl",["$scope","localStorageService","$http","xAlert","$translate","Auth","$stateParams","$location",function(a,b,c,d,e,f,g,h){a.Auth=f,a.dashboard={name:"dashboard",structure:"4-8",enableconfirmdelete:!0,editable:f.isAdmin()?!0:!1,maximizable:!0,collapsible:!0},a.getDashboard=function(){c.get("/api/dashboards/"+g.id).success(function(b){b.model=JSON.parse(b.model),a.dashboard=_.merge(a.dashboard,b)}).error(function(a){h.path("/yourdashboards/list")})};var i=function(b,f,h){var i=angular.copy(a.dashboard);i.name=a.dashboard.model.title,i.model=JSON.stringify(i.model),c.put("/api/dashboards/"+g.id,i).success(function(){d.show(e.instant("MESSAGE_DASHBOARD_SAVED")+"!","success")}).error(function(b){d.show(b.message,"danger"),i.model=JSON.parse(i.model),i.name="dashboard",a.dashboard=i})};a.$on("adfDashboardChanged",i),a.$on("destroy",function(){console.log("main dashboard")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.yourdashboards.show",{url:"/show/:id",templateUrl:"app/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("/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.yourdashboards.view",{url:"/view/:id",templateUrl:"app/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.yourdashboards.view.settings",{url:"/settings",templateUrl:"app/yourdashboard/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.yourdashboards",{url:"/yourdashboards",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ZendeskListCtrl",["$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(_.pluck(a.displayedZdAccounts,"id")):a.accounts.checked=[]},a.getAccounts=function(b){return _.map(a.displayedZdAccounts,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("zendesk_account"),b.url="/api/zendesk/accounts",h.getPage(b).then(function(d){a.displayedZdAccounts=d.rows,b.pagination.numberOfPages=d.total_pages,c.updateTableConfig(a.accountsByPage,a.displayedZdAccounts.length),c.updateTableConfig(a.conf.accountsByPage,a.displayedZdAccounts.length)}),f.socket.on("zendesk_account:save",function(){a.initList(b)}),f.socket.on("zendesk_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/zendesk/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/zendesk/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/zendesk/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.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").controller("ZendeskViewCtrl",["$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("zendesk_configuration"),h.unsyncUpdates("zendesk_field")}),a.initView=function(){b.get("/api/zendesk/accounts/"+c.id).success(function(b){a.account=b}).error(function(a){i.show(a.message,"danger")})},a.updateItem=function(){b.put("/api/zendesk/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/zendesk/configurations",{params:{AccountId:c.id}}).success(function(b){a.configurations=b,h.socket.on("zendesk_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/zendesk/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/zendesk/configurations",a.configuration).success(function(a){e.path("zendesk/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/zendesk/accounts/"+c.id+"/fields").success(function(b){a.accountFields=f("zendesk")(b)}).error(function(a){i.show(a.message,"danger")})},a.getConfiguration=function(){b.get("/api/zendesk/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("zendesk_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/zendesk/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/zendesk/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/zendesk/configurations/"+c.configurationId+"/description",d).success(function(b){
+a.descriptionConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.addItemDescription=function(){var d={type:"string",content:""};b.post("/api/zendesk/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/zendesk/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/zendesk/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,"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",{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"}).state("main.zendesk.view.configurations",{url:"/configurations",templateUrl:"app/zendesk/view/view.configurations.html"}).state("main.zendesk.view.configurations.settings",{url:"/settings/:configurationId",templateUrl:"app/zendesk/view/view.configurationSettings.html",controller:"ZendeskViewCtrl"}).state("main.zendesk.view.configuration",{url:"/configuration",templateUrl:"app/zendesk/view/view.configuration.html"})}]),angular.module("xCallyShuttleApp").controller("ZendeskWizardCtrl",["$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.item.authType="password"},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("api/zendesk/accounts",a.item).success(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/zendesk/list")}).error(function(){e.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})}}]),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").config(["$stateProvider",function(a){a.state("main.zendesk",{url:"/zendesk",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").service("application",function(){var a={applications:[{name:"Queue",value:"Queue"},{name:"Playback",value:"Playback"},{name:"Dial",value:"Dial"},{name:"Cally-Square IVR",value:"AGI"},{name:"GoTo",value:"Goto"},{name:"Hangup",value:"Hangup"},{name:"Set",value:"Set"},{name:"Custom",value:"custom"},{name:"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"}]};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("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,b,c){e.put("token",a),e.put("userId",b),e.put("name",c),g=d.me()},logout:function(){c.put("/api/users/"+g.id,{online:!1}).success(function(){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"===g.role},getRole:function(){return g.role},getToken:function(){return e.get("token")},getUserId:function(){return console.log(e.get("userId")),e.get("userId")},getName:function(){return e.get("name")}}}]),angular.module("xCallyShuttleApp").factory("User",["$resource",function(a){return a("/api/users/:id/:controller",{id:"@id"},{changePassword:{method:"PUT",params:{controller:"password"}},me:{method:"GET",params:{id:"me"}}})}]),angular.module("xCallyShuttleApp").service("automations",function(){var a={voice:{conditions:[],actions:[]},mail:{conditions:[{name:"APPLICATION_STATUS",value:"status",propertyField:"select",operators:"equals"},{name:"APPLICATION_HOURS_SINCE_CREATED",value:"createdAt",propertyField:"number",operators:"noequals"}],actions:[{name:"APPLICATION_STATUS",value:"status",propertyField:"select"}]},chat:{conditions:[],actions:[]},fax:{conditions:[{name:"APPLICATION_STATUS",value:"status",propertyField:"select",operators:"equals"},{name:"APPLICATION_HOURS_SINCE_CREATED",value:"createdAt",propertyField:"number",operators:"noequals"}],actions:[{name:"APPLICATION_STATUS",value:"status",propertyField:"select"}]}},b=["voice","mail","chat","fax"],c={equals:[{value:"=",name:"APPLICATION_EQUALS_TO"},{value:"<>",name:"APPLICATION_NOT_EQUALS_TO"}],all:[{value:"=",name:"APPLICATION_EQUALS_TO"},{value:"<>",name:"APPLICATION_NOT_EQUALS_TO"},{value:">=",name:"APPLICATION_GTE_TO"},{value:"<=",name:"APPLICATION_LTE_TO"},{value:">",name:"APPLICATION_GREATER_THAN"},{value:"<",name:"APPLICATION_LESS_THAN"}],noequals:[{value:">=",name:"APPLICATION_GTE_TO"},{value:"<=",name:"APPLICATION_LTE_TO"},{value:">",name:"APPLICATION_GREATER_THAN"},{value:"<",name:"APPLICATION_LESS_THAN"}]},d={voice:{},mail:{status:[{name:"APPLICATION_STATUS_NEW",value:"NEW"},{name:"APPLICATION_STATUS_OPEN",value:"OPEN"},{name:"APPLICATION_STATUS_PENDING",value:"PENDING"},{name:"APPLICATION_STATUS_CLOSED",value:"CLOSED"},{name:"APPLICATION_STATUS_SOLVED",value:"SOLVED"}]},chat:{},fax:{status:[{name:"APPLICATION_STATUS_NEW",value:"NEW"},{name:"APPLICATION_STATUS_OPEN",value:"OPEN"},{name:"APPLICATION_STATUS_PENDING",value:"PENDING"},{name:"APPLICATION_STATUS_CLOSED",value:"CLOSED"},{name:"APPLICATION_STATUS_SOLVED",value:"SOLVED"}]}};return{automations:a,properties:d,channels:b,operators:c}}),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.$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",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.toggleQuickSidebar=function(){k.layout.pageQuickSidebarOpened=!k.layout.pageQuickSidebarOpened,k.layout.pageQuickSidebarOpened||m.remove("chatRoomId")},a.initHeader=function(){var c=j.load("api/xchatty/assets?resource=notification/xc_blubb.mp3"),d={};"agent"===g.getCurrentUser().role&&(i.socket.on("report_mail:save",function(a){c.play();var b=f("MAIL CHANNEL",{icon:"assets/images/media/channels/mail64.png",body:"NEW Incoming Mail Message!",delay:1e3*a.timeslot});b.$on("click",function(){e.put("/api/report/mails/"+a.id,{connect:!0}).success(function(){b.close(),h.show("Mail properly assigned","success")}).error(function(a){h.show(a.message,"danger")})})}),i.socket.on("report_chat:save",function(a){d[a.uniqueid]&&(d[a.uniqueid].close(),delete d[a.uniqueid]),c.play(),d[a.uniqueid]=f("CHAT CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Incoming Chat Visitor!",delay:1e3*a.timeslot}),d[a.uniqueid].$on("click",function(){e.put("/api/report/chats/"+a.id,{connect:!0}).success(function(){d[a.uniqueid].close(),h.show("Chat properly assigned","success"),b.$broadcast("chatMessageEvent",{type:"external",chatRoomId:a.chatroomid})}).error(function(a){"SequelizeUniqueConstraintError"===a.name?h.show("Chat has been already assigned!","danger"):h.show(a.message,"danger")})})}),i.socket.on("chat_message:save",function(a){var d=m.get("chatRoomId");if(!d||d!==a.ChatRoomId){c.play();var e=f(a.User.fullname,{icon:"assets/images/media/channels/chat64.png",body:a.body.length>35?a.body.substring(0,35)+"...":a.body,delay:1e4});e.$on("click",function(){b.$broadcast("chatMessageEvent",{chatRoomId:a.ChatRoomId})})}}),i.socket.on("user_has_chat_room:save",function(a){c.play();var d=f("Chat Group ",{icon:"assets/images/media/channels/chat64.png",body:"New Chat Group",delay:1e4});d.$on("click",function(){b.$broadcast("chatGroupEvent",a)})})),e({url:"/api/fax/user_has_queues",method:"GET",params:{UserId:g.getCurrentUser().id}}).success(function(b){a.faxQueues=_.pluck(b,"FaxQueueId"),a.faxQueues.forEach(function(a){i.socket.on("FAX:QUEUE:"+a,function(a,b){var c=f("FAX CHANNEL",{icon:"assets/images/media/channels/telephone124.png",body:"NEW Incoming Fax Message!",delay:1e3*a.timeout});c.$on("click",function(){e.put("/api/fax/rooms/"+a.roomId,{UserId:g.getCurrentUser().id}).success(function(){c.close(),b(g.getCurrentUser().id),l.success("Fax properly assigned","Success",{closeButton:!0,timeOut:5e3})}).error(function(){l.warning("Fax already assigned","Warning",{closeButton:!0,timeOut:5e3})})})})}),i.socket.on("FAX:AGENT:"+g.getCurrentUser().id,function(a,b){var c=f("FAX CHANNEL",{icon:"assets/images/media/channels/telephone124.png",body:"NEW Incoming Fax Message!",delay:1e3*a.timeout});c.$on("click",function(){e.put("/api/fax/rooms/"+a.roomId,{UserId:g.getCurrentUser().id}).success(function(){c.close(),b(g.getCurrentUser().id),l.success("Fax properly assigned","Success",{closeButton:!0,timeOut:5e3})}).error(function(){b(g.getCurrentUser().id),l.warning("Fax already assigned","Warning",{closeButton:!0,timeOut:5e3})})})})}).error(function(a){console.error(a)}),i.socket.on("user_has_fax_queue:save",function(b){b=_.map(b,function(a){return a.UserId=parseInt(a.UserId,10),a}),b=_.find(b,{UserId:g.getCurrentUser().id}),b&&-1===_.indexOf(a.faxQueues,b.FaxQueueId)&&(a.faxQueues.push(b.FaxQueueId),i.socket.on("FAX:QUEUE:"+b.FaxQueueId,function(a,b){var c=f("FAX CHANNEL",{icon:"assets/images/media/channels/telephone124.png",body:"NEW Incoming Fax Message!",delay:1e3*a.timeout});c.$on("click",function(){e.put("/api/fax/rooms/"+a.roomId,{UserId:g.getCurrentUser().id}).success(function(){c.close(),b(g.getCurrentUser().id),l.success("Fax properly assigned","Success",{closeButton:!0,timeOut:5e3})}).error(function(){b(g.getCurrentUser().id),l.warning("Fax already assigned","Warning",{closeButton:!0,timeOut:5e3})})})}))}),i.socket.on("user_has_fax_queue:remove",function(b){_.indexOf(b.where.UserId,g.getCurrentUser().id.toString())>=0&&_.indexOf(a.faxQueues,b.where.FaxQueueId)>=0&&(a.faxQueues=_.remove(a.faxQueues,b.where.FaxQueueId),i.socket.removeAllListeners("FAX:QUEUE:"+b.where.FaxQueueId))})},a.logout=function(){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"}],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:"<p>Are you sure you want to delete"+(e?"<strong> "+e+"</strong>":" selected items")+"?</p>",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").controller("QuickSidebarControllerAddModal",["$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.modal={title:"APPLICATION_AGENTS_SELECTION"},a.ok=function(){b.close(_.union(_.pluck(a.selected.items,"id"),_.pluck(a.items,"id")))},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").controller("QuickSidebarControllerCloseModal",["$scope","$uibModalInstance",function(a,b){a.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE_THE_CHAT"},a.ok=function(){b.close()},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").controller("QuickSidebarController",["$scope","$rootScope","$window","$http","$uibModal","$log","$timeout","$interval","Auth","Agent","User","ChatRoom","ChatMessage","socket","settings","localStorageService","xAlert","$translate","QuickSidebarFactory",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){a.emojiMessage={},a.options=s.options,a.message={body:"",user:""};var t=a.currentUser=i.getCurrentUser();a.$on("$includeContentLoaded",function(){p.get("chatRoomId")&&l.get({id:p.get("chatRoomId")},u,v),p.get("currentTab")&&(a.currentTab=p.get("currentTab"))}),a.agents=j.get({page:0,per_page:1e3},function(){n.syncUpdates("agent",a.agents.rows)}),a.users=k.get({page:0,per_page:1e3},function(){n.syncUpdates("user",a.users.rows)}),a.currentTab=0,a.messagesTab=!1,a.chatRooms=l.me(function(b){a.chatRooms=b},function(a){console.error(a)}),n.socket.on("report_chat:assignment",function(a){a.agentid&&l.get({id:a.chatroomid},u,v)}),n.socket.on("chat_room:save",function(b){if(a.chatRoom&&a.chatRoom.id===b.id){_.merge(a.chatRoom,b);var c=_.find(a.chatRooms,{id:b.id});c&&_.merge(c,b)}}),n.socket.on("chat_message:save",function(b){a.chatRoom&&a.chatRoom.id===b.ChatRoomId&&(a.chatRoom.ChatMessages.push(b),angular.element("page-quick-sidebar-chat-user-messages").mCustomScrollbar("scrollTo","last"))}),n.socket.on("user_has_chat_room:save",function(b){var c=_.findIndex(a.chatRooms,{id:b.id});c>=0?a.chatRooms[c]=b:a.chatRooms.push(b)}),b.$on("chatMessageEvent",function(a,b){l.get({id:b.chatRoomId},u,v)}),b.$on("chatGroupEvent",function(b,c){a.currentTab=3,a.messagesTab=!0,o.layout.pageQuickSidebarOpened=!0,a.chatRoom=c}),a.goToTab=function(b){a.currentTab=b,a.messagesTab=!1,a.chatRoom=null,p.set("currentTab",a.currentTab),p.set("messagesTab",a.messagesTab),p.remove("chatRoomId")},a.goToMessage=function(a,b){a?l.users({users:[t.id,a]},u,v):l.get({id:b},u,v)},a.sendMessage=function(){a.message.body.trim().length&&m.save({ChatRoomId:a.chatRoom.id,body:a.message.body},function(){a.message.body=""},function(a){console.error(a)})},a.goBack=function(){a.messagesTab=!1,a.chatRoom=null,p.set("messagesTab",a.messagesTab),p.remove("chatRoomId")},a.closeChatRoom=function(a,b){var c=e.open({animation:!0,size:b,templateUrl:"components/quickSidebar/modal/close.html",controller:"QuickSidebarControllerCloseModal"});c.result.then(function(){l.update({id:a,status:"close"}).$promise.then(function(){q.show(r.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){q.show(a.data.message,"danger")})},function(){f.info("Modal dismissed at: "+new Date)})},a.addAgent=function(b,c){var g=e.open({animation:!0,size:c,templateUrl:"components/quickSidebar/modal/add.html",controller:"QuickSidebarControllerAddModal",resolve:{items:function(){return _.map(a.chatRoom.Users?a.chatRoom.Users:[],function(a){return{id:a.id,fullname:a.fullname}})}}});g.result.then(function(a){d.put("/api/chat/rooms/"+b+"/users",{users:a}).then(function(a){q.show(r.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){q.show(a.data.message,"danger")})},function(){f.info("Modal dismissed at: "+new Date)})};var u=function(b){switch(a.messagesTab=!0,o.layout.pageQuickSidebarOpened=!0,p.set("chatRoomId",b.id),p.set("messagesTab",a.messagesTab),a.chatRoom=b,b.type){case"internal":a.currentTab=0;break;case"external":a.currentTab=2,_.find(a.chatRooms,{id:b.id})||a.chatRooms.push(b)}b.Users.length>2&&(a.currentTab=3),g(function(){angular.element("page-quick-sidebar-chat-user-messages").mCustomScrollbar("scrollTo","last")},1500)},v=function(a){console.error(a)},w=function(){var b=angular.element(c),d=function(){return{h:b.height(),w:b.width()}};a.$watch(d,function(b){a.style={height:b.h-46-46-46+"px"},a.style2={height:b.h-46-46-46-180+"px"}},!0),b.bind("resize",function(){a.$apply()})};w(),a.$on("$destroy",function(){n.unsyncUpdates("agent"),n.unsyncUpdates("user")})}]),angular.module("xCallyShuttleApp").directive("resizeQuickSidebar",["$window",function(a){return function(b){var c=angular.element(a);b.getWindowDimensions=function(){return{h:c.height(),w:c.width()}},b.$watch(b.getWindowDimensions,function(a){b.style={height:a.h-46-46-46+"px"}},!0),c.bind("resize",function(){b.$apply()})}}]),angular.module("xCallyShuttleApp").factory("QuickSidebarFactory",function(){return{options:{link:!0,linkTarget:"_blank",pdf:{embed:!1},image:{embed:!0},audio:{embed:!0},code:{highlight:!0,lineNumbers:!1},basicVideo:!1,video:{embed:!1,width:null,height:null,ytTheme:"dark",details:!1,ytAuthKey:"_nkO9h1A7HlVyiUICO17oA"}}}}),angular.module("xCallyShuttleApp").filter("QuickSidebarFilterUsersGreaterThan",function(){return function(a,b){var c=[];return a.forEach(function(a){var d=0;a.ChatVisitor&&d++,d+=a.Users.length,d>b&&c.push(a)}),c}}).filter("QuickSidebarFilterUsersLowerThan",function(){return function(a,b){var c=[];return a.forEach(function(a){a.Users.length<b&&c.push(a)}),c}}),angular.module("xCallyShuttleApp").controller("SidebarController",["$scope","$rootScope","$resource","$location","Auth","$http","xAlert","$stateParams","socket",function(a,b,c,d,e,f,g,h,i){a.Auth=e,a.$stateParams=h,a.$on("$includeContentLoaded",function(){Metronic.init(),Layout.initSidebar()}),a.isAssociated=function(a){if(e.isAdmin())return!0;if(e.getCurrentUser().Modules)for(var b=0;b<e.getCurrentUser().Modules.length;b++)if(e.getCurrentUser().Modules[b].name===a)return!0;return!1},a.getSidebarDashboards=function(){f.get("/api/dashboards").then(function(b){a.dashboards=b.data.rows,i.syncUpdates("dashboard",a.dashboards)})["catch"](function(a){g.show("Error loading your dashboards","danger")})},a.getSidebarIntegrations=function(){f.get("/api/integrations").success(function(b){a.integrations=b,i.syncUpdates("integration",a.integrations)}).error(function(a){g.show(a.message,"danger")})},a.isActive=function(a){return a===d.path()},a.$on("destroy",function(){i.unsyncUpdates("dashboard"),i.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||d.getUserId())+"&name="+(e.name||d.getName())+"&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",function(){var a={voice:{conditions:[{name:"APPLICATION_QUEUE",value:"queue",propertyField:"select",operators:"equals"},{name:"APPLICATION_CALL_STATUS",value:"lastevent",propertyField:"select",operators:"equals"}],actions:[{name:"APPLICATION_CONTACT_MANAGER",value:"contactManager"},{name:"APPLICATION_INTEGRATIONS",value:"integration",propertyField:"select",subField:{propertyField:"select",value:"account",api:{url:void 0,parseUrl:"/api/%s/accounts",query:void 0},subField:{propertyField:"select",value:"configuration",api:{url:void 0,parseUrl:"/api/%s/configurations",query:{field:"AccountId"}}}}}]},mail:{conditions:[{name:"APPLICATION_FROM",value:"from",propertyField:"input",operators:"equals"},{name:"APPLICATION_CC",value:"cc",propertyField:"input",operators:"equals"},{name:"APPLICATION_SUBJECT",value:"subject",propertyField:"input",operators:"equals"}],actions:[{name:"APPLICATION_TEMPLATE",value:"template",propertyField:"select",subField:{propertyField:"select",value:"smtp"}},{name:"APPLICATION_CONTACT_MANAGER",value:"contactManager"}]},chat:{conditions:[],actions:[]},fax:{conditions:[],actions:[]}},b={equals:[{value:"=",name:"APPLICATION_EQUALS_TO"},{value:"<>",name:"APPLICATION_NOT_EQUALS_TO"}],all:[{value:"=",name:"APPLICATION_EQUALS_TO"},{value:"<>",name:"APPLICATION_NOT_EQUALS_TO"},{value:">=",name:"APPLICATION_GTE_TO"},{value:"<=",name:"APPLICATION_LTE_TO"},{value:">",name:"APPLICATION_GREATER_THAN"},{value:"<",name:"APPLICATION_LESS_THAN"}],noequals:[{value:">=",name:"APPLICATION_GTE_TO"},{value:"<=",name:"APPLICATION_LTE_TO"},{value:">",name:"APPLICATION_GREATER_THAN"},{value:"<",name:"APPLICATION_LESS_THAN"}]},c={voice:{lastevent:[{name:"APPLICATION_LASTEVENT_RINGING",value:"called"},{name:"APPLICATION_LASTEVENT_UP",value:"connect"},{name:"APPLICATION_LASTEVENT_COMPLETE",value:"complete"},{name:"APPLICATION_LASTEVENT_REJECTED",value:"rejected"},{name:"APPLICATION_LASTEVENT_ABANDONED",value:"abandoned"}]},mail:{},chat:{},fax:{}},d=["voice","mail","chat","fax"];return{triggers:a,properties:c,operators:b,channels:d}}),function(a,b){angular.module("adf.widget.counter",["adf.provider"]).value("apiServiceUrlCounter","/api/widgets/counter").config(["dashboardProvider",function(a){a.widget("counter",{title:"Counter",description:"Counter for db results",templateUrl:"{widgetsPath}/counter/src/view.html",controller:"apiwidgetCounterViewCtrl",edit:{templateUrl:"{widgetsPath}/counter/src/edit.html",controller:"apiwidgetCounterEditCtrl"}})}]).service("apiServiceCounter",["$q","$http","apiServiceUrlCounter",function(a,b,c){return{get:function(d){var e=a.defer();return b.get(c,{params:{condition:encodeURIComponent(d.condition),table:d.report}}).success(function(a){a?e.resolve(a):e.reject()}).error(function(a){console.log(a),e.reject()}),e.promise}}}]).controller("apiwidgetCounterEditCtrl",["$scope",function(a){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.colors=[{name:"Blue",value:"blue-madison"},{name:"Red",value:"red-intense"},{name:"Green",value:"green-haze"},{name:"Purple",value:"purple-plum"},{name:"Orange",value:"yellow-casablanca"},{name:"Yellow",value:"yellow-crusta"}],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"}],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.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.condition&&a.config.report&&c.get(a.config).then(function(b){a.count=parseInt(b[0].count)})},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","<form role=form><div class=form-group><label class=control-label>{{'APPLICATION_REPORT' | translate}}</label><ui-select data-ng-model=config.report name=report theme=bootstrap><ui-select-match placeholder=\"{{ 'APPLICATION_REPORT' | translate }}\">{{$select.selected.name}}</ui-select-match><ui-select-choices repeat=\"report.value as report in config.reportTables | filter: $select.search\"><div ng-bind-html=\"report.name | highlight: $select.search\"></div></ui-select-choices></ui-select></div><div class=form-group><label for=condition>{{'APPLICATION_CONDITION' | translate}}</label> <input type=text class=form-control id=condition ng-model=config.condition placeholder=\"{{'APPLICATION_CONDITION' | translate}}\"></div><div class=form-group><label for=condition>{{'APPLICATION_REFRESH_TIMEOUT' | translate}}</label> <input type=number class=form-control id=timeout ng-model=config.timeout placeholder=\"{{'APPLICATION_REFRESH_TIMEOUT' | translate}}\" min=1></div><div class=form-group><label class=control-label>{{'APPLICATION_WIDGET_COLOR' | translate}}</label><ui-select data-ng-model=config.color name=color theme=bootstrap><ui-select-match placeholder=\"{{ 'APPLICATION_WIDGET_COLOR' | translate }}\">{{$select.selected.name}}</ui-select-match><ui-select-choices repeat=\"color.value as color in config.colors | filter: $select.search\"><div ng-bind-html=\"color.name | highlight: $select.search\"></div></ui-select-choices></ui-select></div><div class=form-group><label class=control-label>{{'APPLICATION_WIDGET_ICON' | translate}}</label><ui-select data-ng-model=config.icon name=icon theme=bootstrap><ui-select-match placeholder=\"{{ 'APPLICATION_WIDGET_ICON' | translate }}\">{{$select.selected.name}}</ui-select-match><ui-select-choices repeat=\"icon.value as icon in config.icons | filter: $select.search\"><div ng-bind-html=\"icon.name | highlight: $select.search\"></div></ui-select-choices></ui-select></div><div class=form-group><label for=condition>{{'APPLICATION_WIDGET_DETAILS' | translate}}</label> <input type=text class=form-control id=details ng-model=config.details maxlength=30 placeholder=\"{{'APPLICATION_WIDGET_DETAILS' | translate}}\"></div><div class=form-group><label for=condition>{{'APPLICATION_WIDGET_LINK' | translate}}</label> <input type=text class=form-control id=link ng-model=config.link placeholder=http://yourlink></div><div class=form-group><label for=condition>{{'APPLICATION_WIDGET_LINK_TEXT' | translate}}</label> <input type=text class=form-control id=linkText ng-model=config.linkText maxlength=30 placeholder=\"{{'APPLICATION_WIDGET_LINK_TEXT' | translate}}\"></div></form>"),a.put("{widgetsPath}/counter/src/view.html",'<div class=dashboard-stat ng-class=config.color ng-if="count || count === 0"><div class=visual><i class=fa ng-class=config.icon></i></div><div class=details><div class=number>{{count}}</div><div class=desc>{{config.details}}</div></div><a class=more href={{config.link}}>{{config.linkText}} <i class="m-icon-swapright m-icon-white"></i></a></div><div class="alert alert-danger" role=alert ng-if=!config.report><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_WIDGET_SELECT_REPORT\' | translate}}</div><div class="alert alert-danger" role=alert ng-if="!count && count != 0"><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_ENTER_VALID_CONDITION\' | translate}}</div>');
+}])}(window),function(a,b){angular.module("adf.widget.pie-chart",["adf.provider"]).value("apiServiceUrlPieChart","/api/widgets/piechart").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",["$q","$http","apiServiceUrlPieChart",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("apiWidgetPieChartEditCtrl",["$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.fields=a.config.fields?a.config.fields:[{column:"",alias:""}],a.addField=function(){b().push({})},a.removeField=function(a){b().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&&1===b.length){a.labels=[],a.data=[];for(var c in b[0])a.labels.push(c),a.data.push(b[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",'<form role=form><div class=form-group><label class=control-label>{{\'APPLICATION_REPORT\' | translate}}</label><ui-select data-ng-model=config.report name=report theme=bootstrap><ui-select-match placeholder="{{ \'APPLICATION_REPORT\' | translate }}">{{$select.selected.name}}</ui-select-match><ui-select-choices repeat="report.value as report in config.reportTables | filter: $select.search"><div ng-bind-html="report.name | highlight: $select.search"></div></ui-select-choices></ui-select></div><div><label class=control-label>{{\'APPLICATION_FIELDS\' | translate}}</label></div><div class=padding-bottom ng-repeat="field in config.fields"><div class=form-group><div class=input-group><input type=text class=form-control ng-model=field.column> <span class=input-group-addon>as</span> <input type=text class=form-control ng-model=field.alias> <span class=input-group-btn ng-if="config.fields.length>1"><button class="btn btn-danger" type=button data-ng-click=removeField($index)><i class="fa fa-times"></i> {{\'APPLICATION_REMOVE\' | translate}}</button></span></div></div></div><button type=button class="btn btn-sm green mbottom20" ng-click=addField()><i class="fa fa-plus"></i> {{\'APPLICATION_ADD_FIELD\' | translate}}</button><div class=form-group><label for=condition>{{\'APPLICATION_CONDITION\' | translate}}</label> <input type=text class=form-control id=condition ng-model=config.condition placeholder="{{\'APPLICATION_CONDITION\' | translate}}"></div><div class=form-group><label for=condition>{{\'APPLICATION_REFRESH_TIMEOUT\' | translate}}</label> <input type=number class=form-control id=timeout ng-model=config.timeout placeholder="{{\'APPLICATION_REFRESH_TIMEOUT\' | translate}}" min=1></div></form>'),a.put("{widgetsPath}/pie-chart/src/view.html",'<div ng-if=labels.length ng-style=config.style><canvas id=doughnut class="chart chart-doughnut" chart-data=data chart-labels=labels legend=true></canvas></div><div class="alert alert-danger" role=alert ng-if=!config.report><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_WIDGET_SELECT_REPORT\' | translate}}</div><div class="alert alert-danger" role=alert ng-if=!labels.length><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_ENTER_VALID_CONDITION\' | translate}}</div><div class="alert alert-danger" role=alert ng-if=!labels.length><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_ENTER_ONE_VALID_METRIC_AND_CHECK_OTHER\' | translate}}</div>')}])}(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",'<form role=form><div class=form-group><label class=control-label>{{\'APPLICATION_REPORT\' | translate}}</label><ui-select data-ng-model=config.report name=report theme=bootstrap><ui-select-match placeholder="{{ \'APPLICATION_REPORT\' | translate }}">{{$select.selected.name}}</ui-select-match><ui-select-choices repeat="report.value as report in config.reportTables | filter: $select.search"><div ng-bind-html="report.name | highlight: $select.search"></div></ui-select-choices></ui-select></div><div><label class=control-label>{{\'APPLICATION_METRICS\' | translate}}</label></div><div class=padding-bottom ng-repeat="field in config.fields"><div class=form-group><div class=input-group><input type=text class=form-control ng-model=field.column> <span class=input-group-addon>as</span> <input type=text class=form-control ng-model=field.alias> <span class=input-group-btn ng-if="config.fields.length>1"><button class="btn btn-danger" type=button data-ng-click=removeField($index)><i class="fa fa-times"></i> {{\'APPLICATION_REMOVE\' | translate}}</button></span></div></div></div><button type=button class="btn btn-sm green mbottom20" ng-click=addField()><i class="fa fa-plus"></i> {{\'APPLICATION_ADD_FIELD\' | translate}}</button><div class=form-group><label for=condition>{{\'APPLICATION_CONDITION\' | translate}}</label> <input type=text class=form-control id=condition ng-model=config.condition placeholder="{{\'APPLICATION_CONDITION\' | translate}}"></div><div class=form-group><label for=condition>{{\'APPLICATION_REFRESH_TIMEOUT\' | translate}}</label> <input type=number class=form-control id=timeout ng-model=config.timeout placeholder="{{\'APPLICATION_REFRESH_TIMEOUT\' | translate}}" min=1></div><div class=form-group><label for=condition>{{\'APPLICATION_WIDGET_MAX_HEIGHT\' | translate}}</label> <input type=number class=form-control id=height ng-model=config.height placeholder="{{\'APPLICATION_WIDGET_MAX_HEIGHT\' | translate}}" min=350></div></form>'),a.put("{widgetsPath}/table/src/view.html",'<div ng-if=results ng-style=config.style><table st-table=results class="table table-striped table-bordered table-hover"><div class=table-responsive><thead><tr><th colspan={{config.fields.length}}><div class=row><div class=col-md-6></div><div class=col-md-6><div class="input-group input-medium pull-right"><input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class=form-control type=search> <span class=input-group-addon><i class="fa fa-search"></i></span></div></div></div></th></tr><tr><th ng-repeat="field in config.fields">{{field.alias}}</th></tr></thead><tbody><tr data-ng-repeat="result in results" class=animate-repeat><td ng-repeat="field in config.fields">{{result[field.alias]}}</td></tr><tr data-ng-hide=results.length><td colspan={{config.fields.length}} style=text-align:center;><i>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</i></td></tr></tbody><tfoot><tr><td colspan={{config.fields.length}} class=text-center><div st-pagination class=pagination st-items-by-page=10 st-displayed-pages=3></div></td></tr></tfoot></div></table></div><div class="alert alert-danger" role=alert ng-if=!config.report><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_WIDGET_SELECT_REPORT\' | translate}}</div><div class="alert alert-danger" role=alert ng-if=!results><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_ENTER_VALID_CONDITION\' | translate}}</div><div class="alert alert-danger" role=alert ng-if=!results><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_ENTER_ONE_VALID_FIELD_AND_CHECK_OTHER\' | translate}}</div>')}])}(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<f.length;a++){var b=f[a];b.call()}},n=function(){var a;if(c){var b;$(window).resize(function(){b!=document.documentElement.clientHeight&&(a&&clearTimeout(a),a=setTimeout(function(){m()},50),b=document.documentElement.clientHeight)})}else $(window).resize(function(){a&&clearTimeout(a),a=setTimeout(function(){m()},50)})},o=function(){$("body").on("click",".portlet > .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:'<div class="icheck_line-icon"></div>'+$(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")?!0:!1,railVisible:"1"==$(this).attr("data-rail-visible")?!0:!1,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?'<div class="loading-message '+(a.boxed?"loading-message-boxed":"")+'"><div class="block-spinner-bar"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></div></div>':a.iconOnly?'<div class="loading-message '+(a.boxed?"loading-message-boxed":"")+'"><img src="'+this.getGlobalImgPath()+'loading-spinner-blue.gif" align=""></div>':a.textOnly?'<div class="loading-message '+(a.boxed?"loading-message-boxed":"")+'"><span>&nbsp;&nbsp;'+(a.message?a.message:"LOADING...")+"</span></div>":'<div class="loading-message '+(a.boxed?"loading-message-boxed":"")+'"><img src="'+this.getGlobalImgPath()+'loading-spinner-blue.gif" align=""><span>&nbsp;&nbsp;'+(a.message?a.message:"LOADING...")+"</span></div>",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('<div class="page-spinner-bar"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></div>')):($(".page-loading").remove(),$("body").append('<div class="page-loading"><img src="'+this.getGlobalImgPath()+'loading-spinner-blue.gif"/>&nbsp;&nbsp;<span>'+(a&&a.message?a.message:"Loading...")+"</span></div>"))},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='<div id="'+b+'" class="Metronic-alerts alert alert-'+a.type+' fade in">'+(a.close?'<button type="button" class="close" data-dismiss="alert" aria-hidden="true"></button>':"")+(""!==a.icon?'<i class="fa-lg fa fa-'+a.icon+'"></i>  ':"")+a.message+"</div>";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<e.length;b++)if(c=e[b].split("="),c[0]==a)return unescape(c[1]);return null},isTouchDevice:function(){try{return document.createEvent("TouchEvent"),!0}catch(a){return!1}},getViewPort:function(){var a=window,b="inner";return"innerWidth"in window||(b="client",a=document.documentElement||document.body),{width:a[b+"Width"],height:a[b+"Height"]}},getUniqueID:function(a){return"prefix_"+Math.floor(Math.random()*(new Date).getTime())},isIE8:function(){return c},isIE9:function(){return d},isRTL:function(){return b},isAngularJsApp:function(){return"undefined"==typeof angular?!1:!0},getAssetsPath:function(){return g},setAssetsPath:function(a){g=a},setGlobalImgPath:function(a){h=a},getGlobalImgPath:function(){return g+h},setGlobalPluginsPath:function(a){i=a},getGlobalPluginsPath:function(){return g+i},getGlobalCssPath:function(){return g+j},getBrandColor:function(a){return k[a]?k[a]:""},getResponsiveBreakpoint:function(a){var b={xs:480,sm:768,md:900,lg:1200};return b[a]?b[a]:0}}}(),Layout=function(){var a="img/",b="css/",c=Metronic.getResponsiveBreakpoint("md"),d=function(){var a,b=$(".page-content"),d=$(".page-sidebar"),e=$("body");if(e.hasClass("page-footer-fixed")===!0&&e.hasClass("page-sidebar-fixed")===!1){var f=Metronic.getViewPort().height-$(".page-footer").outerHeight()-$(".page-header").outerHeight();b.height()<f&&b.attr("style","min-height:"+f+"px")}else{if(e.hasClass("page-sidebar-fixed"))a=g(),e.hasClass("page-footer-fixed")===!1&&(a-=$(".page-footer").outerHeight());else{var h=$(".page-header").outerHeight(),i=$(".page-footer").outerHeight();a=Metronic.getViewPort().width<c?Metronic.getViewPort().height-h-i:d.height()+20,a+h+i<=Metronic.getViewPort().height&&(a=Metronic.getViewPort().height-h-i)}b.attr("style","min-height:"+a+"px")}},e=function(a,b){var d=location.hash.toLowerCase(),e=$(".page-sidebar-menu");if("click"===a||"set"===a?b=$(b):"match"===a&&e.find("li > 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('<span class="selected"></span>'),1===$(this).children("ul.sub-menu").size()&&$(this).addClass("open")}),"click"===a&&Metronic.getViewPort().width<c&&$(".page-sidebar").hasClass("in")&&$(".page-header .responsive-toggler").click()}},f=function(){jQuery(".page-sidebar").on("click","li > 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<c&&$(".page-sidebar").hasClass("in")&&$(".page-header .responsive-toggler").click());if(!$(this).next().hasClass("sub-menu always-open")){var e=$(this).parent().parent(),f=$(this),g=$(".page-sidebar-menu"),h=jQuery(this).next(),i=g.data("auto-scroll"),j=parseInt(g.data("slide-speed")),k=g.data("keep-expanded");k!==!0&&(e.children("li.open").children("a").children(".arrow").removeClass("open"),e.children("li.open").children(".sub-menu:not(.always-open)").slideUp(j),e.children("li.open").removeClass("open"));var l=-200;h.is(":visible")?(jQuery(".arrow",jQuery(this)).removeClass("open"),jQuery(this).parent().removeClass("open"),h.slideUp(j,function(){i===!0&&$("body").hasClass("page-sidebar-closed")===!1&&($("body").hasClass("page-sidebar-fixed")?g.slimScroll({scrollTo:f.position().top}):Metronic.scrollTo(f,l)),d()})):b&&(jQuery(".arrow",jQuery(this)).addClass("open"),jQuery(this).parent().addClass("open"),h.slideDown(j,function(){i===!0&&$("body").hasClass("page-sidebar-closed")===!1&&($("body").hasClass("page-sidebar-fixed")?g.slimScroll({scrollTo:f.position().top}):Metronic.scrollTo(f,l)),d()})),a.preventDefault()}}}),jQuery(".page-sidebar").on("click"," li > 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<c&&$(".page-sidebar").hasClass("in")&&$(".page-header .responsive-toggler").click(),Metronic.startPageLoading();var f=$(this);$.ajax({type:"GET",cache:!1,url:b,dataType:"html",success:function(a){0===f.parents("li.open").size()&&$(".page-sidebar-menu > li.open > a").click(),Metronic.stopPageLoading(),e.html(a),Layout.fixContentHeight(),Metronic.initAjax()},error:function(a,b,c){Metronic.stopPageLoading(),e.html("<h4>Could not load the requested content.</h4>")}})}),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().width<c&&$(".page-sidebar").hasClass("in")&&$(".page-header .responsive-toggler").click(),$.ajax({type:"GET",cache:!1,url:b,dataType:"html",success:function(a){Metronic.stopPageLoading(),d.html(a),Layout.fixContentHeight(),Metronic.initAjax()},error:function(a,b,c){d.html("<h4>Could not load the requested content.</h4>"),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(){var a=$("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"),
+$("body").on("click",".sidebar-toggler",function(b){var c=$(".page-sidebar"),d=$(".page-sidebar-menu");$(".sidebar-search",c).removeClass("open"),a.hasClass("page-sidebar-closed")?(a.removeClass("page-sidebar-closed"),d.removeClass("page-sidebar-menu-closed"),$.cookie&&$.cookie("sidebar_closed","0")):(a.addClass("page-sidebar-closed"),d.addClass("page-sidebar-menu-closed"),a.hasClass("page-sidebar-fixed")&&d.trigger("mouseleave"),$.cookie&&$.cookie("sidebar_closed","1")),$(window).trigger("resize")})},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('<span class="selected"></span>')}),$(".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<c)return void Metronic.destroySlimScroll(d.find(".full-height-content-body"));a=a-b.find(".portlet-title").outerHeight(!0)-parseInt(b.find(".portlet-body").css("padding-top"))-parseInt(b.find(".portlet-body").css("padding-bottom"))-2,b.hasClass("full-height-content-scrollable")?(a-=35,d.find(".full-height-content-body").css("height",a),Metronic.initSlimScroll(d.find(".full-height-content-body"))):d.css("min-height",a)}else{if(Metronic.getViewPort().width<c)return void Metronic.destroySlimScroll(b.find(".full-height-content-body"));b.hasClass("full-height-content-scrollable")?(a-=35,b.find(".full-height-content-body").css("height",a),Metronic.initSlimScroll(b.find(".full-height-content-body"))):b.css("min-height",a)}};return{initHeader:function(){k()},setSidebarMenuActiveLink:function(a,b){e(a,b)},initSidebar:function(){h(),f(),j(),Metronic.isAngularJsApp()&&e("match"),Metronic.addResizeHandler(h)},initContent:function(){n(),l(),Metronic.addResizeHandler(d),Metronic.addResizeHandler(n)},initFooter:function(){m()},init:function(){this.initHeader(),this.initSidebar(),this.initContent(),this.initFooter()},fixContentHeight:function(){d()},initFixedSidebarHoverEffect:function(){i()},initFixedSidebar:function(){h()},getLayoutImgPath:function(){return Metronic.getAssetsPath()+a},getLayoutCssPath:function(){return Metronic.getAssetsPath()+b}}}();angular.module("xCallyShuttleApp").run(["$templateCache",function(a){a.put("app/agent/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n  <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-people"></i>\n                                   <a href="/agents/list">{{ \'APPLICATION_AGENTS\' | translate }}</a>\n                           </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-people font-green-sharp"></i>\n                                  <span class="caption-subject">{{ \'APPLICATION_AGENTS\' | translate }}</a> </span>\n                            </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="agents.checked.length">\n                                          <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle" href="#" data-toggle="dropdown">\n                                                  <i class="icon-plus"></i> {{ \'APPLICATION_NEW_AGENT\' | translate }} <i class="fa fa-angle-down"></i>\n                                                </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <li>\n                                                          <a href="/agents/wizard">\n                                                             <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                         </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getAgents([\'name\', \'fullname\', \'email\'])" csv-header="[\'Username\', \'Fullname\', \'Email\']" field-separator=";" filename="agents.csv">\n                                     <i class="icon-cloud-download"></i></a>\n                               </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedAgents" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                  <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="5">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.agentsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                                <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="agentByPage in agentsByPage | filter: $select.search">\n                                                                                                     <div ng-bind-html="agentByPage.name | highlight: $select.search"></div>\n                                                                                               </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(agent, checked)" checklist-model checklist-value="id"></th>\n                                                    <th st-sort="fullname">{{ \'APPLICATION_FULLNAME\' | translate }}</th>\n                                                <th st-sort="name">{{ \'APPLICATION_USERNAME\' | translate }}</th>\n                                                    <th st-sort="email">{{ \'APPLICATION_EMAIL\' | translate }}</th>\n                                                          <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="agent in displayedAgents" class="animate-repeat">\n                                                             <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="agents.checked" checklist-value="agent.id"></td>\n                                                               <td>{{agent.fullname}}</td>\n                                         <td>{{agent.name}}</td>\n                                       <td><a data-ng-href="mailto:{{agent.email}}">{{agent.email}}</a></td>\n                                         <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/agents/view/{{agent.id}}/account">\n                                                                           {{ \'APPLICATION_PROFILE\' | translate }}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(agent.fullname,agent.id)">\n                                                                         {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedAgents.length">\n                                                            <td colspan="5" style="text-align:center;">\n                                                                   <i>No agents available</i>\n                                                            </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="fullname" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                    </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_USERNAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                    </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="email" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_EMAIL\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                      </div>\n                                                    </td>\n                                                 <td/>\n                                               </tr>\n                                           <tr>\n                                            <td colspan="5" class="text-center">\n                                                                    <div class="pagination" st-pagination st-items-by-page="conf.agentsByPage.value" st-displayed-pages="7"></div>\n                                              </td>\n                                       </tr>\n                                       </tfoot>\n                                    </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/agent/view/view.account.html",'<div class="row">\n      <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_PROFILE\' | translate}} {{ \'APPLICATION_ACCOUNT\' | translate}}</span>\n                               </div>\n                                <ul class="nav nav-tabs">\n                                     <li data-ng-class="{\'active\': Auth.isAdmin()}" data-ng-show="Auth.isAdmin()">\n                                               <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_PERSONAL_INFO\' | translate}}</a>\n                                       </li>\n                                 <li data-ng-show="Auth.isAdmin()">\n                                            <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_CHANGE_AVATAR\' | translate}}</a>\n                                       </li>\n                                 <li data-ng-show="Auth.isAdmin() || agent.id === Auth.getCurrentUser().id" data-ng-class="{\'active\': !Auth.isAdmin() && agent.id === Auth.getCurrentUser().id}">\n                                            <a href="#" data-target="#tab_1_3" data-toggle="tab">{{ \'APPLICATION_CHANGE_PASSWORD\' | translate}}</a>\n                                     </li>\n                         </ul>\n                 </div>\n\n                      <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- PERSONAL INFO TAB -->\n                                    <div class="tab-pane" data-ng-class="{\'active\': Auth.isAdmin()}" data-ng-show="Auth.isAdmin()" id="tab_1_1">\n                                                <form name="forms.info" data-ng-submit="updateItem()" novalidate>\n                                                     <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="fullname" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="agent.fullname" required/>\n                                                          <span data-ng-show="(forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$error.required" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START USERNAME -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                             <input type="text" name="name" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="agent.name" required/>\n                                                              <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.required" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n                                                       <!-- START EMAIL -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': (forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$invalid}">\n                                                           <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="agent.email" required/>\n                                                              <span data-ng-show="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$error.required" class="help-block help-block-error">\n                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                               <span data-ng-show="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$error.email" class="help-block help-block-error">\n                                                                       <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n                                                           </span>\n                                                       </div>\n                                                        <!-- END EMAIL -->\n\n                                                  <!-- START INTERNAL -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': (forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                              <input type="text" name="internal" placeholder="{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}" class="form-control" data-ng-model="agent.internal" required disabled/>\n                                                              <span data-ng-show="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$error.required" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END INTERNAL -->\n\n                                                       <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END PERSONAL INFO TAB -->\n                                        <!-- CHANGE AVATAR TAB -->\n                                    <div class="tab-pane" data-ng-show="Auth.isAdmin()" id="tab_1_2">\n                                             <form action="#" role="form">\n                                                 <div class="form-group">\n                                                              <div class="fileinput fileinput-new" data-provides="fileinput">\n                                                                       <div class="fileinput-new thumbnail" style="width: 200px; height: 150px;">\n                                                                            <img src="http://www.placehold.it/200x150/EFEFEF/AAAAAA&amp;text=no+image" alt=""/>\n                                                                   </div>\n                                                                        <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 200px; max-height: 150px;">\n                                                                       </div>\n                                                                        <div>\n                                                                         <span class="btn default btn-file" data-ng-show="!uploader.queue[0]">\n                                                                                 <span> {{ \'APPLICATION_SELECT_IMAGE\' | translate }} </span>\n                                                                                 <input type="file" nv-file-select="" uploader="uploader" /><br/>\n                                                                              </span>\n                                                                               <button type="button" class="btn default" data-ng-show="uploader.queue[0]" data-dismiss="fileinput" ng-click="uploader.queue[0].remove()">\n                                                                                    {{ \'APPLICATION_REMOVE\' | translate }}\n                                                                              </button>\n                                                                             <button type="button" class="btn green-haze" data-ng-show="uploader.queue[0]" data-ng-click="uploader.queue[0].upload()" ng-disabled="uploader.queue[0].isReady || uploader.queue[0].isUploading || uploader.queue[0].isSuccess">\n                                                                                     {{ \'APPLICATION_CONFIRM\' | translate }}\n                                                                             </button>\n                                                                     </div>\n                                                                        <p>\n                                                                           </br> {{ \'MESSAGE_SUPPORTED_FORMATS\' | translate }} <b>jpg, png, jpeg</b>.\n                                                                  </p>\n                                                          </div>\n                                                        </div>\n                                                </form>\n                                               <div class="row">\n                                                     <div class="col-md-2">\n                                                                <table class="table" border="0">\n                                                                      <tbody>\n                                                                       <tr data-ng-repeat="item in uploader.queue">\n                                                                                  <td style="border-top-style:none">\n                                                                                            <strong>\n                                                                                                      {{ item.file.name }}\n                                                                                          </strong>\n                                                                                     </td>\n                                                                                 <td data-ng-show="uploader.isHTML5" nowrap style="border-top-style:none">\n                                                                                             {{ item.file.size/1024/1024|number:2 }} MB\n                                                                                    </td>\n                                                                                 <td nowrap style="border-top-style:none">\n                                                                                             <button type="button" class="btn btn-danger btn-xs" data-ng-click="item.remove()">\n                                                                                                            <span class="glyphicon glyphicon-trash"></span> Remove\n                                                                                                </button>\n                                                                                     </td>\n                                                                         </tr>\n                                                                 </tbody>\n                                                              </table>\n                                                      </div>\n                                                </div>\n                                        </div>\n                                        <!-- END CHANGE AVATAR TAB -->\n                                        <!-- CHANGE PASSWORD TAB -->\n                                  <div class="tab-pane" data-ng-show="Auth.isAdmin() || agent.id === Auth.getCurrentUser().id" data-ng-class="{\'active\': !Auth.isAdmin() && agent.id === Auth.getCurrentUser().id}" id="tab_1_3">\n                                             <form name="forms.changePwd" data-ng-submit="forms.changePwd.$valid && updatePassword()" novalidate>\n                                                  <!-- START CURRENT PWD -->\n                                                    <div class="form-group" data-ng-if="!Auth.isAdmin()" data-ng-class="{\'has-error\': (forms.changePwd.current_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.current_pwd.$invalid}">\n                                                           <label class="control-label">{{\'APPLICATION_CURRENT_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                             <input type="password" name="current_pwd" placeholder="{{\'APPLICATION_CURRENT_PASSWORD\' | translate}}" class="form-control" data-ng-model="agent.currentPwd" required/>\n                                                             <span data-ng-show="(forms.changePwd.current_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.current_pwd.$error.required" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END CURRENT PWD -->\n                                                      <!-- START NEW PWD -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': (forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_NEW_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="password" name="new_pwd" placeholder="{{\'APPLICATION_NEW_PASSWORD\' | translate}}" class="form-control" data-ng-model="agent.newPwd" required/>\n                                                         <span data-ng-show="(forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$error.required" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NEW PWD -->\n                                                  <!-- START RE-NEW PWD -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': (forms.changePwd.re_new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.re_new_pwd.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_RE_TYPE_NEW_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="password" name="re_new_pwd" placeholder="{{\'APPLICATION_RE_TYPE_NEW_PASSWORD\' | translate}}" class="form-control" data-ng-model="agent.reNewPwd" nx-equal="agent.newPwd" required/>\n                                                            <span data-ng-show="(forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$error.required" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END RE-NEW PWD -->\n                                                       <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END CHANGE PASSWORD TAB -->\n                              </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/agent/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initView()">\n  <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-people"></i>\n                                   <a href="/agents/list">{{ \'APPLICATION_AGENTS\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <a href="#">{{agent.fullname}}</a>\n                            </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-userpic">\n                                 <img ng-src="api/users/avatar/{{agent.userpic ? agent.userpic : \'unknown_avatar\'}}" class="img-responsive">\n                         </div>\n                                <!-- END SIDEBAR USERPIC -->\n\n                                <!-- START SIDEBAR USER TITLE -->\n                             <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{agent.fullname}}\n                                    </div>\n                                        <div class="profile-usertitle-job">\n                                           {{agent.role}}\n                                        </div>\n                                </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.agents.view.account\')}">\n                                                        <a data-ng-href="/agents/view/{{agent.id}}/account">\n                                                  <i class="icon-user"></i>\n                                                     {{ \'APPLICATION_ACCOUNT\' | translate}} </a>\n                                         </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n\n          <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/agent/wizard/wizard.html",'<div class="col-md-12">\n  <!-- BEGIN PAGE HEADER-->\n       <div class="page-bar">\n                <ul class="page-breadcrumb">\n                  <li>\n                          <i class="icon-rocket"></i>\n                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                           <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-people"></i>\n                           <a href="/agents/list">{{ \'APPLICATION_AGENTS\' | translate }}</a>\n                           <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-options"></i>\n                          <a href="/agents/wizard">{{ \'APPLICATION_WIZARD\' | translate }}</a>\n                 </li>\n         </ul>\n </div>\n  <!-- END PAGE HEADER-->\n\n  <!-- BEGIN PORTLET-->\n  <div class="portlet light bordered" ng-init="getFirstFreeInternal();">\n        <div class="portlet-title">\n           <div class="caption font-green-sharp">\n                        <i class="icon-user font-green-sharp"></i>\n                    <span class="caption-subject">{{ \'APPLICATION_AGENT\' | translate }} WIZARD</a> </span>\n              </div>\n        </div>\n        <div class="portlet-body">\n            <wizard on-finish="createItem()">\n                             <wz-step title="{{\'APPLICATION_ACCOUNT\' | translate}}" canexit="exitValidation(forms.info.$valid)">\n                     <form name="forms.info" novalidate>\n\n                           <!-- START NAME -->\n                           <div class="form-group" data-ng-class="{\'has-error\': (forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$invalid}">\n                               <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                         <input type="text" name="fullname" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.fullname" required/>\n                                                   <span data-ng-show="(forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$error.required" class="help-block help-block-error">\n                                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                               </span>\n                             </div>\n                        <!-- END NAME -->\n\n                           <!-- START USERNAME -->\n                       <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n                               <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                             <input type="text" name="name" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.name" required ng-remote-validate="/api/agents/validate/name"/>\n                                                        <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.required" class="help-block help-block-error">\n                                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                               </span>\n                                                       <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.ngRemoteValidate" class="help-block help-block-error">\n                                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n                               </span>\n                             </div>\n                        <!-- END USERNAME -->\n\n                       <!-- START EMAIL -->\n                          <div class="form-group" data-ng-class="{\'has-error\': (forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$invalid}">\n                             <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="item.email" required ng-remote-validate="/api/agents/validate/email"/>\n                               <span data-ng-show="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$error.required" class="help-block help-block-error">\n                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                               </span>\n                               <span data-ng-show="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$error.email" class="help-block help-block-error">\n                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n                         </span>\n                                                       <span data-ng-show="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$error.ngRemoteValidate" class="help-block help-block-error">\n                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_EMAIL\' | translate}}.\n                          </span>\n                             </div>\n                        <!-- END EMAIL -->\n\n                          <!-- START PASSWORD -->\n                       <div class="form-group" data-ng-class="{\'has-error\': (forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid}">\n                               <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n                             <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n                           <span data-ng-show="(forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$error.required" class="help-block help-block-error">\n                                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                               </span>\n                             </div>\n                        <!-- END PASSWORD -->\n\n                       <!-- START RE PASSWORD -->\n                            <div class="form-group" data-ng-class="{\'has-error\': (forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$invalid}">\n                             <label class="control-label">{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n                             <input type="password" name="rpassword" placeholder="{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.rpassword" nx-equal="item.password" required/>\n                                <span data-ng-show="(forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$error.required" class="help-block help-block-error">\n                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                               </span>\n                               <span data-ng-show="(forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$error.nxEqual" class="help-block help-block-error">\n                               <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n                               </span>\n                             </div>\n                        <!-- END RE PASSWORD -->\n\n                                              <!-- START INTERNAL -->\n                                               <div class="form-group" data-ng-class="{\'has-error\': (forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$invalid}">\n                                                     <label class="control-label">{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                      <div class="input-group">\n                                                     <input type="number" min="1" name="internal" placeholder="{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}" class="form-control" data-ng-model="item.internal" data-ng-disabled="!item.internalEnabled" data-ng-required="item.internalEnabled" ng-remote-validate="/api/agents/validate/internal"/>\n                                                   <span class="input-group-addon">\n                                                              <input type="checkbox" data-ng-model="item.internalEnabled">\n                                                  </span>\n                                                       </div>\n                                                        <span data-ng-show="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$error.required" class="help-block help-block-error">\n                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                                       <span data-ng-show="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$error.ngRemoteValidate" class="help-block help-block-error">\n                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_INTERNAL\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END INTERNAL -->\n\n                             <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n                            </form>\n                     </wz-step>\n\n                                <wz-step title="{{\'APPLICATION_VOICE\' | translate}}" canexit="exitValidation(forms.voice.$valid)">\n                                  <form name="forms.voice" novalidate>\n\n                                                <!-- START ACCOUNTCODE -->\n                                            <!-- <div class="form-group" data-ng-class="{\'has-error\': (forms.voice.accountcode.$touched || forms.voice.$submitted) && forms.voice.accountcode.$invalid}">\n                                                       <label class="control-label">{{\'APPLICATION_ACCOUNTCODE\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                  <input type="number" name="accountcode" placeholder="{{\'APPLICATION_ACCOUNTCODE\' | translate}}" class="form-control" data-ng-model="item.accountcode" required/>\n                                                    <span class="help-block">\n                                                             {{ \'DESCRIPTION_VOICE_HOST\' | translate }}\n                                                  </span>\n                                                       <span data-ng-show="(forms.voice.accountcode.$touched || forms.voice.$submitted) && forms.voice.accountcode.$error.required" class="help-block help-block-error">\n                                                             <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div> -->\n                                            <!-- END ACCOUNTCODE -->\n\n                                            <!-- START TRANSPORT -->\n                                              <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_TRANSPORT\' | translate}}</label>\n                                                       <ui-select multiple name="transport" ng-model="item.transport" theme="bootstrap" ng-disabled="disabled">\n                                                  <ui-select-match placeholder="Select transport...">{{$item}}</ui-select-match>\n                                                <ui-select-choices repeat="transport in [\'udp\', \'tcp\', \'ws\', \'wss\'] | filter: $select.search">\n                                                    {{transport}}\n                                             </ui-select-choices>\n                                                </ui-select>\n                                                        <span class="help-block">\n                                                             {{ \'DESCRIPTION_VOICE_TRANSPORT\' | translate }}\n                                                     </span>\n                                               </div>\n                                                <!-- END TRANSPORT -->\n\n                                              <!-- START HOST -->\n                                           <!-- <div class="form-group" data-ng-class="{\'has-error\': (forms.voice.host.$touched || forms.voice.$submitted) && forms.voice.host.$invalid}">\n                                                     <label class="control-label">{{\'APPLICATION_HOST\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                 <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="item.host" required/>\n                                                   <span class="help-block">\n                                                             {{ \'DESCRIPTION_VOICE_HOST\' | translate }}\n                                                  </span>\n                                                       <span data-ng-show="(forms.voice.host.$touched || forms.voice.$submitted) && forms.voice.host.$error.required" class="help-block help-block-error">\n                                                           <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div> -->\n                                            <!-- END HOST -->\n\n                                           <!-- START NAT -->\n                                            <!-- <div class="form-group">\n                                                 <label class="control-label">{{ \'APPLICATION_NAT\' | translate}}</label>\n                                                     <ui-select multiple ng-model="item.nat" name="nat" theme="bootstrap" ng-disabled="disabled">\n                                                          <ui-select-match placeholder="{{ \'APPLICATION_SEARCH_FILTER\' | translate }}">{{$item}}</ui-select-match>\n                                                            <ui-select-choices repeat="nat in [\'yes\', \'no\', \'never\', \'route\', \'force_rport\', \'comedia\'] | filter: $select.search">\n                                                                    {{nat}}\n                                                               </ui-select-choices>\n                                                  </ui-select>\n                                                  <span class="help-block">\n                                                             {{ \'DESCRIPTION_VOICE_NAT\' | translate }}\n                                                   </span>\n                                               </div> -->\n\n                                          <!-- END NAT -->\n\n                                            <!-- START TYPE -->\n                                           <!-- <div class="form-group" data-ng-class="{\'has-error\': (forms.voice.type.$touched || forms.voice.$submitted) && forms.voice.type.$invalid}">\n                                                     <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                 <ui-select data-ng-model="item.type" name="type" theme="bootstrap" required>\n                                                          <ui-select-match placeholder="{{ \'APPLICATION_SEARCH_FILTER\' | translate }}">{{$select.selected}}</ui-select-match>\n                                                         <ui-select-choices repeat="type in [\'friend\', \'user\', \'peer\'] | filter: $select.search">\n                                                                        <div ng-bind-html="type | highlight: $select.search"></div>\n                                                           </ui-select-choices>\n                                                  </ui-select>\n                                                  <span class="help-block">\n                                                             {{ \'DESCRIPTION_VOICE_TYPE\' | translate }}\n                                                  </span>\n                                                       <span data-ng-show="(forms.voice.type.$touched || forms.voice.$submitted) && forms.voice.type.$error.required" class="help-block help-block-error">\n                                                           <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div> -->\n                                            <!-- END TYPE -->\n\n                                           <!-- START CODEC -->\n                                          <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_ALLOWED_CODECS\' | translate}}</label>\n                                                  <ui-select multiple ng-model="item.allow" name="allow" theme="bootstrap" ng-disabled="disabled">\n                                                  <ui-select-match placeholder="Select codec...">{{$item}}</ui-select-match>\n                                                    <ui-select-choices repeat="allow in [\'g729\', \'ilbc\', \'gsm\', \'ulaw\', \'alaw\'] | filter: $select.search">\n                                                  {{allow}}\n                                                 </ui-select-choices>\n                                                </ui-select>\n                                                        <span class="help-block">\n                                                             {{ \'DESCRIPTION_VOICE_CODEC\' | translate }}\n                                                 </span>\n                                               </div>\n                                                <!-- END CODEC -->\n\n                                          <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n                                              <input class="btn default" type="button" value="{{\'APPLICATION_BACK\' | translate}}" wz-previous/>\n                                   </form>\n                               </wz-step>\n\n                          <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                    <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                         </wz-step>\n            </wizard>\n     </div>\n  </div>\n  <!-- END PORTLET-->\n</div>\n'),
+a.put("app/analytic/extracted/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="fa fa-file-pdf-o"></i>\n                                      <a href="/analytics/extracted/list">{{ \'APPLICATION_EXTRACTED_REPORTS\' | translate }}</a>\n                           </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="fa fa-file-pdf-o font-green-sharp"></i>\n                                     <span class="caption-subject">{{ \'APPLICATION_EXTRACTED_REPORTS\' | translate }}</a> </span>\n                         </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="Extracts.checked.length">\n                                                <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getExtracts([\'name\',\'startDate\',\'endDate\'])" csv-header="[\'Name\', \'Start Date\', \'End Date\']" field-separator=";" filename="extracted_reports.csv">\n                                      <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedExtracts" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                        <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="5">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.extractsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                              <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="extractByPage in extractsByPage | filter: $select.search">\n                                                                                                 <div ng-bind-html="extractByPage.name | highlight: $select.search"></div>\n                                                                                             </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(extract, checked)" checklist-model checklist-value="id"></th>\n                                                  <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                            <th st-sort="startDate">{{ \'APPLICATION_START_DATE\' | translate }}</th>\n                                                 <th st-sort="endDate">{{ \'APPLICATION_END_DATE\' | translate }}</th>\n                                                             <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="extract in displayedExtracts" class="animate-repeat">\n                                                         <td style="text-align: center; vertical-align: middle"><input data-ng-hide="extract.defaultEntry" type="checkbox" checklist-model="Extracts.checked" checklist-value="extract.id"></td>\n                                                               <td>{{extract.name}}</td>\n                                           <td>{{extract.startDate}}</td>\n                                                          <td>{{extract.endDate}}</td>\n                                        <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/analytics/extracted/view/{{extract.id}}/settings" data-ng-class="{\'disabled\': extract.defaultEntry}">\n                                                                              {{ \'APPLICATION_SETTINGS\' | translate}}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(extract.name,extract.id)" data-ng-class="{\'disabled\': extract.defaultEntry}">\n                                                                            {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedExtracts.length">\n                                                          <td colspan="5" style="text-align:center;">\n                                                                   <i>{{ \'MESSAGE_NO_EXTRACTED_REPORTS_AVAILABLE\' | translate }}</i>\n                                                           </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="startDate" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_START_DATE\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                     </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="endDate" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_END_DATE\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                 </div>\n                                                                </td>\n                                             <td/>\n                                               </tr>\n                                           <tr>\n                                            <td colspan="5" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.extractsByPage.value" st-displayed-pages="7"></div>\n                                            </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/analytic/metric/list/create.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_NEW_METRIC\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="forms.metric" novalidate>\n\n    <!-- START NAME -->\n    <div class="form-group" data-ng-class="{\'has-error\': (forms.metric.name.$touched || forms.metric.$submitted) && forms.metric.name.$invalid}">\n      <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n      <span data-ng-show="(forms.metric.name.$touched || forms.metric.$submitted) && forms.metric.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END NAME -->\n\n    <!-- START TABLE -->\n    <div class="form-group" data-ng-class="{\'has-error\': (forms.metric.table.$touched || forms.metric.$submitted) && forms.metric.table.$invalid}">\n      <label class="control-label">{{\'APPLICATION_TABLE\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <ui-select data-ng-model="item.table" name="table" theme="bootstrap" required>\n        <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n        <ui-select-choices repeat="table.value as table in tables | filter: $select.search">\n          <div ng-bind-html="table.name | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="(forms.metric.table.$touched || forms.metric.$submitted) && forms.metric.table.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END TABLE-->\n\n    <!-- START METRIC -->\n    <div class="form-group" data-ng-class="{\'has-error\': (forms.metric.metric.$touched || forms.metric.$submitted) && forms.metric.metric.$invalid}">\n      <label class="control-label">{{\'APPLICATION_METRIC\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <textarea type="text" name="metric" placeholder="{{\'APPLICATION_METRIC\' | translate}}" class="form-control" data-ng-model="item.metric" required/></textarea>\n      <span data-ng-show="(forms.metric.metric.$touched || forms.metric.$submitted) && forms.metric.metric.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END METRIC -->\n\n    <!-- START DESCRIPTION -->\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="metric.description"></textarea>\n    </div>\n    <!-- END DESCRIPTION -->\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.metric.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/analytic/metric/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n  <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-calculator"></i>\n                                       <a href="/analytics/metrics/list">{{ \'APPLICATION_METRICS\' | translate }}</a>\n                               </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-calculator font-green-sharp"></i>\n                                      <span class="caption-subject">{{ \'APPLICATION_METRICS\' | translate }}</a> </span>\n                           </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="Metrics.checked.length">\n                                         <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <button class="btn green-jungle " ng-click="create()">\n                                                        <i class="icon-plus"></i> {{ \'APPLICATION_NEW_METRIC\' | translate }}\n                                                </button>\n                                     </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getMetrics([\'name\', \'description\'])" csv-header="[\'Name\', \'Description\']" field-separator=";" filename="metrics.csv">\n                                       <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedMetrics" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                 <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="4">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.metricsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                               <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="metricByPage in metricsByPage | filter: $select.search">\n                                                                                                   <div ng-bind-html="metricByPage.name | highlight: $select.search"></div>\n                                                                                              </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(metric, checked)" checklist-model checklist-value="id"></th>\n                                                   <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                              <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="metric in displayedMetrics" class="animate-repeat">\n                                                           <td style="text-align: center; vertical-align: middle"><input data-ng-hide="metric.defaultEntry" type="checkbox" checklist-model="Metrics.checked" checklist-value="metric.id"></td>\n                                                          <td>{{metric.name}}</td>\n                                            <td>{{metric.description}}</td>\n                                       <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/analytics/metrics/view/{{metric.id}}/settings" data-ng-class="{\'disabled\': metric.defaultEntry}">\n                                                                          {{ \'APPLICATION_SETTINGS\' | translate}}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(metric.name,metric.id)" data-ng-class="{\'disabled\': metric.defaultEntry}">\n                                                                               {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedMetrics.length">\n                                                           <td colspan="4" style="text-align:center;">\n                                                                   <i>{{ \'MESSAGE_NO_METRICS_AVAILABLE\' | translate }}</i>\n                                                             </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                 <td/>\n                                               </tr>\n                                           <tr>\n                                            <td colspan="4" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.metricsByPage.value" st-displayed-pages="7"></div>\n                                             </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/analytic/metric/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getMetric()">\n     <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-eye"></i>\n                                      <a href="/analytics/metrics/list">{{ \'APPLICATION_METRICS\' | translate }}</a>\n                                       <i data-ng-show="metric" class="fa fa-angle-right"></i>\n                               </li>\n                         <li data-ng-show="metric">\n                                    <a href="#">{{metric.name}}</a>\n                               </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/metric.png" class="img-responsive">\n                             </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{metric.name}}\n                                       </div>\n                                        <!-- <div class="profile-usertitle-job">\n                                              {{user.role}}\n                                 </div> -->\n                            </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.analytics.metrics.view.settings\')}">\n                                                    <a data-ng-href="/analytics/metrics/view/{{metric.id}}/settings">\n                                                     <i class="icon-settings"></i>\n                                                 {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n                                                </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/analytic/metric/view/view.settings.html",'<div class="row">\n   <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_METRIC\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n                              </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n                                     </li>\n                         </ul>\n                 </div>\n\n                      <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.general" data-ng-submit="forms.general.$valid && updateMetric()" novalidate>\n\n                                                      <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="metric.name" required/>\n                                                         <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START TABLE -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': (forms.general.table.$touched || forms.general.$submitted) && forms.general.table.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_TABLE\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                <ui-select data-ng-model="metric.table" name="table" theme="bootstrap" required>\n                                                                      <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                      <ui-select-choices repeat="table.value as table in tables | filter: $select.search">\n                                                                          <div ng-bind-html="table.name | highlight: $select.search"></div>\n                                                                     </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="(forms.general.table.$touched || forms.general.$submitted) && forms.general.table.$error.required" class="help-block help-block-error">\n                                                                   <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END TABLE-->\n\n                                                   <!-- START METRIC -->\n                                                 <div class="form-group" data-ng-class="{\'has-error\': (forms.general.metric.$touched || forms.general.$submitted) && forms.general.metric.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_METRIC\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                               <textarea type="text" name="metric" placeholder="{{\'APPLICATION_METRIC\' | translate}}" class="form-control" data-ng-model="metric.metric" required/></textarea>\n                                                             <span data-ng-show="(forms.general.metric.$touched || forms.general.$submitted) && forms.general.metric.$error.required" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END METRIC -->\n\n                                                 <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="metric.description"></textarea>\n                                                        </div>\n                                                        <!-- END DESCRIPTION -->\n                                                      <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END ADVANCED TAB -->\n\n                           </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/analytic/report/list/copy.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_COPY_REPORT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <div class="portlet light bordered">\n    <div class="portlet-title">\n      <div class="caption font-green-sharp" style="padding-left:10px;">\n        <i class="icon-folder font-green-sharp"></i>\n        <span class="caption-subject">{{ \'APPLICATION_COPY_TO\' | translate }} </span>\n      </div>\n    </div>\n    <div class="portlet-body">\n      <div js-tree="customTreeConfig" ng-model="customTreeData" should-apply="ac()" tree="customTreeInstance" tree-events="ready:initCustomScopeTree;"></div>\n    </div>\n  </div>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" data-ng-disabled="!customTree.get_selected(true).pop().id" ng-click="ok()" ng-disabled="forms.report.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/analytic/report/list/create.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_NEW_REPORT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="forms.report" novalidate>\n\n    <!-- START NAME -->\n    <div class="form-group" data-ng-class="{\'has-error\': (forms.report.name.$touched || forms.report.$submitted) && forms.report.name.$invalid}">\n      <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n      <span data-ng-show="(forms.report.name.$touched || forms.report.$submitted) && forms.report.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END NAME -->\n\n    <!-- START DESCRIPTION -->\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"></textarea>\n    </div>\n    <!-- END DESCRIPTION -->\n\n    <div class="form-group" data-ng-class="{\'has-error\': (forms.report.name.$touched || forms.report.$submitted) && forms.report.name.$invalid}">\n      <label class="control-label">{{\'APPLICATION_PATH\' | translate}}<span class="required" aria-required="true"></span></label>\n      <input type="text" name="name" placeholder="{{\'APPLICATION_PATH\' | translate}}" class="form-control" data-ng-model="path" disabled/>\n      <span data-ng-show="(forms.report.name.$touched || forms.report.$submitted) && forms.report.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.report.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/analytic/report/list/extract.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_EXTRACT_REPORT\' | translate }}</h3>\n</div>\n<div class="modal-body" style="text-align:center;">\n  <form name="forms.report" class="form-inline mbottom20" novalidate>\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DATE_RANGE\' | translate}}<span class="required" aria-required="true"></span></label>\n      <input type="daterange" name="dates" ranges="ranges" placeholder="{{\'APPLICATION_DATE_RANGE\' | translate}}" class="form-control" data-ng-model="dates" data-ng-change="getPage()" required/>\n    </div>\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn default green-jungle" type="button" data-ng-click="extract(\'csv\')"><i class="fa fa-file-excel-o"></i> {{ \'APPLICATION_SAVE_AS_CSV\' | translate }}</button>\n  <button class="btn default red-intense" type="button" data-ng-click="extract(\'pdf\')"><i class="fa fa-file-pdf-o"></i> {{ \'APPLICATION_SAVE_AS_PDF\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/analytic/report/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getTrees()">\n    <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-book-open"></i>\n                                        <a href="/analytics/reports/list">{{ \'APPLICATION_REPORTS\' | translate }}</a>\n                               </li>\n                 </ul>\n         </div>\n                <div class="col-fixed">\n                       <!-- BEGIN Portlet PORTLET-->\n                 <div class="portlet light bordered">\n                          <div class="portlet-title">\n                                   <div class="caption font-green-sharp" style="padding-left:10px;">\n                                             <i class="icon-folder font-green-sharp"></i>\n                                          <span class="caption-subject">{{ \'APPLICATION_FOLDERS\' | translate }} </span>\n                                       </div>\n                                        <div class="inputs">\n                                          <div class="portlet-input input-inline input-small">\n                                                  <div class="input-icon right">\n                                                                <i class="icon-magnifier"></i>\n                                                                <input type="text" data-ng-model="searchField" data-ng-change="searchTrees()" class="form-control input-circle" placeholder="search...">\n                                                      </div>\n                                                </div>\n                                        </div>\n                                </div>\n                                <div class="portlet-body">\n                                    <div js-tree="defaultTreeConfig" ng-model="defaultTreeData" should-apply="ac()" tree="defaultTreeInstance" tree-events="ready:initDefaultScopeTree;select_node:selectDefaultNode;"></div>\n                                     <div js-tree="customTreeConfig" ng-model="customTreeData" should-apply="ac()" tree="customTreeInstance" tree-events="ready:initCustomScopeTree;select_node:selectCustomNode;rename_node:updateCustomTree;delete_node:updateCustomTree;move_node:updateCustomTree;create_node:updateCustomTree;"></div>\n                                </div>\n                        </div>\n                        <!-- END Portlet PORTLET-->\n           </div>\n                <div class="row tree-row">\n                    <div class="col-md-12">\n                               <!-- BEGIN Portlet PORTLET-->\n                         <div class="portlet light bordered">\n                                  <div class="portlet-title">\n                                           <div class="caption font-green-sharp">\n                                                        <i class="icon-book-open font-green-sharp"></i>\n                                                       <span class="caption-subject">{{ \'APPLICATION_REPORTS\' | translate }}<span data-ng-if="selectedNode"> - {{selectedNode}}</span></span>\n                                              </div>\n                                                <div data-ng-if="!defaultTreeActive" class="actions">\n                                                 <div class="btn-group" data-ng-show="Reports.checked.length">\n                                                         <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                                           </a>\n                                                  </div>\n                                                        <div class="btn-group">\n                                                               <span class="btn default btn-file">\n                                                           <span class="fileinput-new">\n                                                          <i class="icon-cloud-upload"></i> {{\'APPLICATION_IMPORT_FROM_JSON\' | translate}}</span>\n                                                             <input type="file" on-read-file="import($fileContent)"/>\n                                                              </span>\n                                                       </div>\n                                                        <div class="btn-group">\n                                                               <button class="btn green-jungle " ng-click="create()">\n                                                                        <i class="icon-plus"></i> {{ \'APPLICATION_NEW_REPORT\' | translate }}\n                                                                </button>\n                                                     </div>\n                                                </div>\n                                        </div>\n                                        <div class="portlet-body">\n                                            <!-- START TABLE -->\n                                          <table data-ng-if="defaultTreeReady && customTreeReady" st-table="displayedReports" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                                        <div class="table-responsive" data-ng-init="firstSelect()">\n                                                           <thead>\n                                                                       <tr>\n                                                                          <th colspan="5">\n                                                                                      <div class="row">\n                                                                                             <div class="col-md-6">\n                                                                                                        <ui-select class="input-xsmall" ng-model="conf.reportsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                                               <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                                             <ui-select-choices repeat="reportByPage in reportsByPage | filter: $select.search">\n                                                                                                                   <div ng-bind-html="reportByPage.name | highlight: $select.search"></div>\n                                                                                                              </ui-select-choices>\n                                                                                                  </ui-select>\n                                                                                          </div>\n                                                                                                <div class="col-md-6">\n                                                                                                        <div class="input-group input-medium pull-right">\n                                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                                         <span class="input-group-addon">\n                                                                                                                      <i class="fa fa-search"></i>\n                                                                                                          </span>\n                                                                                                       </div>\n                                                                                                </div>\n                                                                                        </div>\n                                                                                </th>\n                                                                 </tr>\n                                                                 <tr>\n                                                                          <th class="small-cells" style="text-align: center; vertical-align: middle"><input data-ng-checked="Reports.checked.length" data-ng-hide="defaultTreeActive" type="checkbox" ng-change="check(report, checked)" checklist-model checklist-value="id"></th>\n                                                                             <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                                                <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                                          <th>{{ \'APPLICATION_MANAGE\' | translate }}</th>\n                                                                             <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                                                    </tr>\n                                                         </thead>\n                                                              <tbody>\n                                                                       <tr data-ng-repeat="report in displayedReports" class="animate-repeat">\n                                                                               <td style="text-align: center; vertical-align: middle"><input data-ng-hide="defaultTreeActive" type="checkbox" checklist-model="Reports.checked" checklist-value="report.id"></td>\n                                                                            <td>{{report.name}}</td>\n                                                                              <td>{{report.description}}</td>\n                                                                               <td>\n                                                                                  <a data-ng-if="!defaultTreeActive" class="btn default btn-xs blue-stripe" data-ng-href="/analytics/reports/view/{{report.id}}/settings">\n                                                                                              {{ \'APPLICATION_SETTINGS\' | translate}}\n                                                                                     </a>\n                                                                                  <a data-ng-if="!defaultTreeActive" class="btn default btn-xs red-stripe" data-ng-click="deleteItem(report.name,report.id)">\n                                                                                           {{ \'APPLICATION_DELETE\' | translate }}\n                                                                                      </a>\n                                                                                  <a class="btn default btn-xs green-stripe" data-ng-click="copy(report.id)">\n                                                                                           {{ \'APPLICATION_COPY\' | translate }}\n                                                                                        </a>\n                                                                                  <a class="btn default btn-xs purple-stripe" data-ng-click="export(report.id)">\n                                                                                                {{ \'APPLICATION_EXPORT\' | translate }}\n                                                                                      </a>\n                                                                          </td>\n                                                                         <td>\n                                                                                  <a class="btn default btn-xs yellow-stripe" data-ng-click="preview(report.id)">\n                                                                                               {{ \'APPLICATION_PREVIEW\' | translate }}\n                                                                                     </a>\n                                                                                  <button type="button" data-ng-click="extract(report.id)" class="btn default btn-xs green-seagreen-stripe">\n                                                                                            {{ \'APPLICATION_RUN \' | translate }}\n                                                                                        </button>\n                                                                             </td>\n                                                                 </tr>\n                                                                 <tr data-ng-hide="displayedReports.length">\n                                                                           <td colspan="5" style="text-align:center;">\n                                                                                   <i>{{ \'MESSAGE_NO_REPORTS_AVAILABLE\' | translate }}</i>\n                                                                             </td>\n                                                                 </tr>\n                                                         </tbody>\n                                                              <tfoot>\n                                                                       <tr>\n                                                                          <td/>\n                                                                         <td>\n                                                                                  <div class="input-icon right">\n                                                                                                <i class="fa fa-search"></i>\n                                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                                        </div>\n                                                                                </td>\n                                                                         <td>\n                                                                                  <div class="input-icon right">\n                                                                                                <i class="fa fa-search"></i>\n                                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                                  </div>\n                                                                                </td>\n                                                                         <td/>\n                                                                         <td/>\n                                                                 </tr>\n                                                                 <tr>\n                                                                          <td colspan="5" class="text-center">\n                                                                                  <div st-pagination class="pagination" st-items-by-page="conf.reportsByPage.value" st-displayed-pages="7"></div>\n                                                                               </td>\n                                                                 </tr>\n                                                         </tfoot>\n                                              </div>\n                                                </table>\n                                              <!-- END TABLE -->\n                                    </div>\n                                </div>\n                                <!-- END Portlet PORTLET-->\n                   </div>\n                </div>\n        </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
+a.put("app/analytic/report/list/preview.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_REPORT_PREVIEW\' | translate }}</h3>\n</div>\n<div class="modal-body" style="text-align:center;">\n  <form name="forms.report" class="form-inline mbottom20" novalidate>\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DATE_RANGE\' | translate}}<span class="required" aria-required="true"></span></label>\n      <input type="daterange" name="dates" ranges="ranges" placeholder="{{\'APPLICATION_DATE_RANGE\' | translate}}" class="form-control" data-ng-model="dates" data-ng-change="getPage()" required/>\n    </div>\n  </form>\n  <div ng-slide-down="showResult" lazy-render duration="1">\n    <div ui-grid="gridOptions" ui-grid-pagination ui-grid-exporter class="grid extract-grid"></div>\n  </div>\n</div>\n<div class="modal-footer">\n<button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/analytic/report/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getReport()">\n   <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-book-open"></i>\n                                        <a href="/analytics/reports/list">{{ \'APPLICATION_REPORTS\' | translate }}</a>\n                                       <i data-ng-show="report" class="fa fa-angle-right"></i>\n                               </li>\n                         <li data-ng-show="report">\n                                    <a href="#">{{report.name}}</a>\n                               </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/report.png" class="img-responsive">\n                             </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{report.name}}\n                                       </div>\n                                        <!-- <div class="profile-usertitle-job">\n                                              {{user.role}}\n                                 </div> -->\n                            </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.analytics.reports.view.settings\')}">\n                                                    <a data-ng-href="/analytics/reports/view/{{report.id}}/settings">\n                                                     <i class="icon-settings"></i>\n                                                 {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n                                                </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/analytic/report/view/view.settings.html",'<div class="row">\n   <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_REPORT\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n                              </div>\n                                <ul class="nav nav-tabs">\n                                     <li>\n                                          <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n                                     </li>\n                                 <li class="active">\n                                           <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_BUILD\' | translate}}</a>\n                                       </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_3" data-toggle="tab">{{ \'APPLICATION_TEST_PREVIEW\' | translate}}</a>\n                                        </li>\n                         </ul>\n                 </div>\n\n                      <div class="portlet-body">\n\n                          <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane" id="tab_1_1">\n                                           <form name="forms.general" data-ng-submit="forms.report.$valid && forms.general.$valid && updateReport()" novalidate>\n\n\n                                                     <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="report.name" required/>\n                                                         <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="report.description"></textarea>\n                                                        </div>\n                                                        <!-- END DESCRIPTION -->\n\n                                                    <!-- START TABLE INPUT -->\n\n\n                                                        <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n\n                                     </div>\n                                        <!-- END GENERAL TAB -->\n                                      <div class="tab-pane active" id="tab_1_2">\n                                            <form name="forms.report" data-ng-submit="forms.report.$valid && forms.general.$valid && updateReport()" novalidate>\n                                          <div class="form-group" data-ng-class="{\'has-error\': (forms.report.table.$touched || forms.report.$submitted) && forms.report.table.$invalid}">\n                                                     <label class="control-label">{{\'APPLICATION_TABLE\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                        <ui-select data-ng-model="report.table" name="table" theme="bootstrap" required>\n                                                              <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                              <ui-select-choices repeat="table.table as table in tables | filter: $select.search">\n                                                                  <div ng-bind-html="table.name | highlight: $select.search"></div>\n                                                             </ui-select-choices>\n                                                  </ui-select>\n                                                  <span class="help-block">\n                                                     </span>\n                                                       <span data-ng-show="(forms.report.table.$touched || forms.report.$submitted) && forms.report.table.$error.required" class="help-block help-block-error">\n                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END TABLE INPUT-->\n                                               <div data-ng-if="report.table" class="mbottom20 pbottom20">\n                                           <div class="portlet-title tabbable-line">\n                                                     <div class="caption caption-md">\n                                                              <i class="icon-globe theme-font hide"></i>\n                                                            <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_FIELDS\' | translate}} </span>\n                                                        </div>\n                                                </div>\n                                                                <!-- START TABLE -->\n                                                          <table class="table table-striped table-bordered table-hover">\n                                                                        <thead>\n                                                                               <tr>\n                                                                                  <th>{{ \'APPLICATION_FIELD\' | translate }} / {{ \'APPLICATION_METRIC\' | translate }}</th>\n                                                                                   <th>{{ \'APPLICATION_ALIAS\' | translate }}</th>\n                                                                                      <th>{{ \'APPLICATION_FUNCTION\' | translate }}</th>\n                                                                                   <th>{{ \'APPLICATION_GROUP_BY\' | translate }}</th>\n                                                                                   <th>{{ \'APPLICATION_ORDER_BY\' | translate }}</th>\n                                                                                   <th></th>\n                                                                                     <th></th>\n                                                                             </tr>\n                                                                 </thead>\n                                                                              <tbody ui-sortable="sortableOptions" data-ng-model="report.Fields">\n                                                                                   <tr data-ng-repeat="field in report.Fields">\n                                                                                          <td>\n                                                                                                  <!-- START FIELD -->\n                                                                                                  <div class="form-group" data-ng-class="{\'has-error\': forms.report.$submitted && !field.field}">\n                                                                                                             <!-- <label class="control-label">{{\'APPLICATION_FIELD\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n                                                                                                               <ui-select data-ng-model="field.field" dynamic-name="randomName()" theme="bootstrap" required>\n                                                                                                                        <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}"><span ng-bind-html="$select.selected.name"></span></ui-select-match>\n                                                                                                                     <ui-select-choices repeat="tableField.value as tableField in tableFields | filter: $select.search">\n                                                                                                                           <div ng-bind-html="tableField.name | highlight: $select.search"></div>\n                                                                                                                        </ui-select-choices>\n                                                                                                          </ui-select>\n                                                                                                          <span data-ng-show="forms.report.$submitted && !field.field" class="help-block help-block-error">\n                                                                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                                         </span>\n                                                                                                       </div>\n                                                                                                        <!-- END FIELD-->\n                                                                                             </td>\n                                                                                         <td>\n                                                                                                  <!-- START ALIAS -->\n                                                                                                  <div class="form-group" data-ng-class="{\'has-error\': forms.report.$submitted && !field.alias}">\n                                                                                                             <!-- <label class="control-label">{{\'APPLICATION_ALIAS\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n                                                                                                               <input type="text" dynamic-name="randomName()" placeholder="{{\'APPLICATION_ALIAS\' | translate}}" class="form-control" data-ng-model="field.alias" required/>\n                                                                                                                <span data-ng-show="forms.report.$submitted && !field.alias" class="help-block help-block-error">\n                                                                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                                         </span>\n                                                                                                       </div>\n                                                                                                        <!-- END ALIAS -->\n                                                                                            </td>\n                                                                                         <td>\n                                                                                                  <!-- START FUNCTION -->\n                                                                                                       <div class="form-group">\n                                                                                                              <!-- <label class="control-label">{{\'APPLICATION_FIELD\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n                                                                                                               <ui-select data-ng-model="field.function" name="function" theme="bootstrap">\n                                                                                                                  <ui-select-match placeholder="{{\'APPLICATION_FUNCTION\' | translate}}" allow-clear>{{$select.selected.name}}</ui-select-match>\n                                                                                                                       <ui-select-choices repeat="function.value as function in functions | filter: $select.search">\n                                                                                                                         <div ng-bind-html="function.name | highlight: $select.search"></div>\n                                                                                                                  </ui-select-choices>\n                                                                                                          </ui-select>\n                                                                                                  </div>\n                                                                                                        <!-- END FUNCTION-->\n                                                                                          </td>\n                                                                                         <td>\n                                                                                                  <!-- START GROUP_BY -->\n                                                                                                       <div class="form-group">\n                                                                                                              <!-- <label class="control-label">{{\'APPLICATION_FIELD\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n                                                                                                               <ui-select data-ng-model="field.groupBy" name="groupBy" theme="bootstrap" required>\n                                                                                                                   <ui-select-match placeholder="{{\'APPLICATION_GROUP_BY\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n                                                                                                                       <ui-select-choices repeat="groupBy.value as groupBy in groupByField | filter: $select.search">\n                                                                                                                                {{$translate.instant(groupBy.name)}}\n                                                                                                                  </ui-select-choices>\n                                                                                                          </ui-select>\n                                                                                                  </div>\n                                                                                                        <!-- END GROUP_BY-->\n                                                                                          </td>\n                                                                                         <td>\n                                                                                                  <!-- START ORDER_BY -->\n                                                                                                       <div class="form-group">\n                                                                                                              <!-- <label class="control-label">{{\'APPLICATION_FIELD\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n                                                                                                               <ui-select data-ng-model="field.orderBy" name="orderBy" theme="bootstrap">\n                                                                                                                    <ui-select-match placeholder="{{\'APPLICATION_ORDER_BY\' | translate}}" allow-clear>{{$select.selected}}</ui-select-match>\n                                                                                                                    <ui-select-choices repeat="orderBy in [\'ASC\',\'DESC\'] | filter: $select.search">\n                                                                                                                           <div ng-bind-html="orderBy | highlight: $select.search"></div>\n                                                                                                                        </ui-select-choices>\n                                                                                                          </ui-select>\n                                                                                                  </div>\n                                                                                                        <!-- END TABLE INPUT-->\n                                                                                               </td>\n                                                                                         <td class="report-field-remove">\n                                                                                                      <button class="btn red" type="button" data-ng-click="removeField($index)"><i class="fa fa-times"></i></button>\n                                                                                                </td>\n                                                                                         <td class="report-field-handle">\n                                                                                                      <!-- <img data-ng-src="assets/images/move.png" class="img-responsive"> -->\n                                                                                            </td>\n                                                                                 </tr>\n                                                                                 <tr data-ng-hide="report.Fields.length" class="unsortable">\n                                                                                           <td colspan="7" style="text-align:center;">\n                                                                                                   <i>{{ \'MESSAGE_ADD_A_FIELD\' | translate }}</i>\n                                                                                              </td>\n                                                                                 </tr>\n                                                                         </tbody>\n                                                              </table>\n                                                              <button type="button" class="btn btn-sm green padding-bottom" ng-click="addField()">\n                                                                  <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_FIELD\' | translate}}\n                                                          </button>\n                                                             <!-- END TABLE -->\n                                                    </div>\n                                                                <div data-ng-if="report.Fields.length" class="mbottom20 pbottom20">\n                                                                   <div class="portlet-title tabbable-line">\n                                                                             <div class="caption caption-md">\n                                                                                      <i class="icon-globe theme-font hide"></i>\n                                                                                    <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_CONDITIONS\' | translate}} </span>\n                                                                            </div>\n                                                                        </div>\n                                                                        <div class="alert alert-info">\n                                                                                        <strong>Output</strong><br>\n                                                                                   <span ng-bind-html="output"></span>\n                                                                   </div>\n\n                                                                      <report-builder group="report.conditions.group" fields="report.Fields" forms="forms" firstCall=\'true\'></report-builder>\n                                                             </div>\n                                                                <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                                          </form>\n                                                               <!-- <pre>\n                                                                    {{report | json}}\n                                                             </pre> -->\n\n                                  </div>\n                                        <div class="tab-pane" id="tab_1_3">\n                                           <div data-ng-if="showPreview" ui-grid="gridOptions" ui-grid-move-columns class="grid"></div>\n                                  </div>\n                                </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/analytic/report/wizard/wizard.html",'<div class="col-md-12" data-ng-init="initWizard()">\n  <!-- BEGIN PAGE HEADER-->\n   <div class="page-bar">\n                <ul class="page-breadcrumb">\n                  <li>\n                          <i class="icon-rocket"></i>\n                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                           <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-link"></i>\n                             <a href="/analytics/reports/list">{{ \'APPLICATION_REPORTS\' | translate }}</a>\n                               <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-options"></i>\n                          <a href="#">{{ \'APPLICATION_NEW_REPORT\' | translate }}</a>\n                  </li>\n         </ul>\n </div>\n  <!-- END PAGE HEADER-->\n\n  <!-- BEGIN PORTLET-->\n  <div class="portlet light bordered">\n          <div class="portlet-title">\n           <div class="caption font-green-sharp">\n                        <i class="icon-link font-green-sharp"></i>\n                    <span class="caption-subject">{{ \'APPLICATION_NEW_REPORT\' | translate }}</a> </span>\n                </div>\n        </div>\n        <div class="portlet-body">\n                    <form name="forms.general" data-ng-submit="forms.general.$valid && createItem()" novalidate>\n                  </form>\n       </div>\n  </div>\n  <!-- END PORTLET-->\n</div>\n'),a.put("app/automation/list/list.html",'<div class="row">\n  <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-bulb"></i>\n                                             <a href="#">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n                                 </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n       <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-bulb font-green-sharp"></i>\n                                    <span class="caption-subject">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a> </span>\n                               </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="Automations.checked.length">\n                                             <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle " href="#" data-toggle="dropdown">\n                                                 <i class="icon-plus"></i> {{ \'APPLICATION_NEW_AUTOMATION\' | translate }} <i class="fa fa-angle-down"></i>\n                                           </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <li>\n                                                          <a href="/automations/wizard">\n                                                                <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                         </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getAutomations([\'name\', \'description\'])" csv-header="[\'Name\', \'Description\']" field-separator=";" filename="automations.csv">\n                                       <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedAutomations" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                     <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="6">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.AutomationsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="AutomationByPage in AutomationsByPage | filter: $select.search">\n                                                                                                   <div ng-bind-html="AutomationByPage.name | highlight: $select.search"></div>\n                                                                                          </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <!-- <th st-sort="id" width="5%" st-sort-default="reverse">{{ \'APPLICATION_ID\' | translate }}</th> -->\n                                                              <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(Automation, checked)" checklist-model checklist-value="id"></th>\n                                               <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                            <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                          <th st-sort="channel">{{ \'APPLICATION_CHANNEL\' | translate }}</th>\n                                                          <th>{{ \'APPLICATION_STATUS\' | translate }}</th>\n                                                             <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="Automation in displayedAutomations">\n                                                          <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="Automations.checked" checklist-value="Automation.id"></td>\n                                           <td>{{Automation.name}}</td>\n                                                            <td>{{Automation.description}}</td>\n                                                           <td>{{Automation.channel | capitalize}}</td>\n                                                          <td>\n                                                                  <input\n                                                                                data-ng-change="updateItem(Automation.id, Automation.status)",\n                                                                    bs-switch\n                                                             ng-model="Automation.status"\n                                                                  type="checkbox"\n                                                               switch-active="{{ isActive }}"\n                                                                switch-on-text="{{ onText }}"\n                                                                 switch-off-text="{{ offText }}"\n                                                               switch-on-color="{{ onColor }}"\n                                                               switch-off-color="{{ offColor }}"\n                                                             switch-animate="{{ animate }}"\n                                                                switch-size="{{ size }}"\n                                                              switch-label="{{ label }}"\n                                                                    switch-icon="{{ icon }}"\n                                                              switch-radio-off="{{ radioOff }}"\n                                                             switch-label-width="{{ labelWidth }}"\n                                                                 switch-handle-width="{{ handleWidth }}">\n                                                          </td>\n                                       <td>\n                                                                    <a class="btn default btn-xs blue-stripe" data-ng-href="/automations/view/{{Automation.id}}/settings">\n                                                                                {{ \'APPLICATION_EDIT\' | translate }}\n                                                </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(Automation.name, Automation.id)">\n                                                                          {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedAutomations.length">\n                                                               <td colspan="6" class="text-center">\n                                                                  <i>No available automations</i>\n                                                               </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_USERNAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                    </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="channel" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_CHANNEL\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                                </td>\n                                                         <td/>\n                                                         <td/>\n                                           </tr>\n                                           <tr>\n                                            <td colspan="6" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.AutomationsByPage.value" st-displayed-pages="7"></div>\n                                         </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/automation/view/view.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row" data-ng-init="initView()">\n    <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-settings"></i>\n                                 <a href="/automations/list">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n                                 <i class="fa fa-angle-right" data-ng-show="automation"></i>\n                           </li>\n                         <li data-ng-show="automation">\n                                        <a href="#">{{ automation.description || automation.name }}</a>\n                               </li>\n                 </ul>\n         </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n               <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/automation.png" class="img-responsive">\n                         </div>\n                                <!-- END SIDEBAR USERPIC -->\n\n                                <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{ automation.name }}\n                                 </div>\n                                        <div class="profile-usertitle-job">\n                                           {{ automation.description }}\n                                  </div>\n                                </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.automations.view.settings\')}">\n                                                  <a href="/automations/view/{{automation.id}}/settings">\n                                                       <i class="icon-bulb"></i>\n                                                     {{ \'APPLICATION_SETTINGS\' | translate }} </a>\n                                               </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/automation/view/view.settings.html",'<div class="row">\n        <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_SETTINGS\' | translate}}</span>\n                                </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n                                     </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_CONDITIONS\' | translate}} & {{\'APPLICATION_ACTIONS\' | translate}}</a>\n                                 </li>\n                         </ul>\n                 </div>\n                        <div class="portlet-body">\n                            <!-- <pre>\n                                    {{conditionsData.query | json}}\n                               </pre>\n                                <pre>\n                                 {{actionsData.query | json}}\n                          </pre> -->\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.general" data-ng-submit="forms.general.$valid && updateAutomation()" novalidate>\n                                                    <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="automation.name" required/>\n                                                             <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.required" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="automation.description"/>\n                                                 </div>\n                                                        <!-- END DESCRIPTION -->\n\n                                                    <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END GENERAL TAB -->\n                                      <div class="tab-pane" id="tab_1_2">\n                                   <div class="portlet light bordered">\n                                          <div class="portlet-title">\n                                                   <div class="caption font-blue-hoki">\n                                                          <i class="icon-tag font-blue-hoki"></i>\n                                                               <span class="caption-subject">{{ \'APPLICATION_CONDITIONS\' | translate }}</a> </span>\n                                                        </div>\n                                                </div>\n                                                <div class="portlet-body">\n                                                    <query-builder group="conditionsFilter.group" fields="fields.conditions" operators="$automations.operators" properties="properties[automation.channel]"></query-builder>\n                                              </div>\n                                        </div>\n                                        <div class="portlet light bordered">\n                                          <div class="portlet-title">\n                                                   <div class="caption font-blue-hoki">\n                                                          <i class="icon-tag font-blue-hoki"></i>\n                                                               <span class="caption-subject">{{ \'APPLICATION_ACTIONS\' | translate }}</a> </span>\n                                                   </div>\n                                                </div>\n                                                <div class="portlet-body">\n                                                    <query-builder group="actionsFilter.group" fields="fields.actions" properties="properties[automation.channel]"></query-builder>\n                                               </div>\n                                        </div>\n\n                                              <input class="btn green-haze" type="button" value="{{\'APPLICATION_UPDATE\' | translate}}" data-ng-click="updateAutomation()"/>\n                                       </div>\n                                </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/automation/wizard/wizard.html",'<div class="row">\n       <div class="col-md-12">\n               <!-- BEGIN PAGE HEADER-->\n             <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-settings"></i>\n                                 <a href="/automations/list">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n                         </li>\n                 </ul>\n         </div>\n                <!-- END PAGE HEADER-->\n\n             <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-bulb font-green-sharp"></i>\n                                    <span class="caption-subject">{{ \'APPLICATION_AUTOMATIONS\' | translate }} WIZARD</a> </span>\n                                </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n                                     <!-- <pre>\n                                            {{item | json}}\n                                       </pre>\n                                        <pre>\n                                         {{conditionsData.query | json}}\n                                       </pre>\n                                        <pre>\n                                         {{actionsData.query | json}}\n                                  </pre> -->\n                                    <wz-step title="{{\'APPLICATION_GENERAL\' | translate}}" canexit="exitValidation(forms.general.$valid)">\n                                              <form name="forms.general" data-ng-submit="submit()" novalidate>\n                                                      <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': forms.general.name.$touched && forms.general.name.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n                                                           <span data-ng-show="forms.general.name.$touched && forms.general.name.$invalid && forms.general.name.$error.required" class="help-block help-block-error">\n                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n                                                       </div>\n                                                        <!-- END DESCRIPTION -->\n\n                                                    <button class="btn green-haze" type="submit" ng-click="next()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n                                            </form>\n                                       </wz-step>\n            <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="exitValidation(conditionsData.query.length && actionsData.query.length)">\n                                          <div class="portlet light bordered">\n                                                  <div class="portlet-title">\n                                                           <div class="caption font-blue-hoki">\n                                                                  <i class="icon-tag font-blue-hoki"></i>\n                                                                       <span class="caption-subject">{{ \'APPLICATION_CHANNEL\' | translate }}</a> </span>\n                                                           </div>\n                                                        </div>\n                                                        <div class="portlet-body">\n                                                            <div class="form-group"  >\n                                                                    <label class="control-label">{{ \'APPLICATION_CHANNEL\' | translate }}<span class="required" aria-required="true">*</span></label>\n                                                                    <ui-select data-ng-model="item.channel" name="channel" theme="bootstrap" required>\n                                                                            <ui-select-match placeholder="{{ \'APPLICATION_CHANNEL\' | translate }}">{{$select.selected | capitalize}}</ui-select-match>\n                                                                          <ui-select-choices repeat="channel in $automations.channels | filter: $select.search">\n                                                                                        <div ng-bind-html="channel | highlight: $select.search | capitalize"></div>\n                                                                           </ui-select-choices>\n                                                                  </ui-select>\n                                                          </div>\n                                                        </div>\n                                                </div>\n                                                <div class="portlet light bordered">\n                                                  <div class="portlet-title">\n                                                           <div class="caption font-blue-hoki">\n                                                                  <i class="icon-tag font-blue-hoki"></i>\n                                                                       <span class="caption-subject">{{ \'APPLICATION_CONDITIONS\' | translate }}</a> </span>\n                                                                </div>\n                                                        </div>\n                                                        <div class="portlet-body">\n                                                            <query-builder group="conditionsFilter.group" fields="fields.conditions" operators="$automations.operators" properties="properties[item.channel]"></query-builder>\n                                                    </div>\n                                                </div>\n                                                <div class="portlet light bordered">\n                                                  <div class="portlet-title">\n                                                           <div class="caption font-blue-hoki">\n                                                                  <i class="icon-tag font-blue-hoki"></i>\n                                                                       <span class="caption-subject">{{ \'APPLICATION_ACTIONS\' | translate }}</a> </span>\n                                                           </div>\n                                                        </div>\n                                                        <div class="portlet-body">\n                                                            <query-builder group="actionsFilter.group" fields="fields.actions" properties="properties[item.channel]"></query-builder>\n                                                     </div>\n                                                </div>\n                                                <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n                                             <button class="btn green-haze" type="submit" ng-click="next()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n                                    </wz-step>\n                                    <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                             <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                            <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n                                             <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                 </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
+a.put("app/chat/preview/preview.html",'<style>\n  .xc_footer\n  {\n    text-align: center;\n   padding-bottom: 5px;\n  }\n\n  .xc_powered\n  {\n       color: grey;\n    font: 10px/16px "Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;\n     padding-bottom: 5px;\n  }\n\n  .xc_chat_container\n  {\n        //width:379px;\n        //position:fixed;\n     //bottom:0;\n   //right:50px;\n         z-index:9999;\n         background-color:transparent;\n  }\n\n  .xc_chat_container *\n  {\n     font-family:Arial,Helvetica,sans-serif;\n       font-size:13px;\n       margin:0;\n     padding:0;\n  }\n\n  .xc_chat_container p\n  {\n        margin:5px 0;\n  }\n\n  .xc_signup_wrapper\n  {\n       max-height:375px;\n  }\n\n  .xc_conversation_container\n  {\n   max-height:375px;\n     list-style:none;\n      overflow:auto;\n        margin:0;\n     padding:20px 10px;\n  }\n\n  .xc_conversation_container a\n  {\n        color:#036;\n  }\n\n  .xc_conversation_container a.xc_btn_style\n  {\n          color:#fff;\n  }\n\n  div.xc_chat_head\n  {\n   color:#fff;\n   background:{{chatWebsite.color}};\n     //border-radius: 20px 20px 0px 0px !important;\n        height:52px;\n          line-height:55px;\n     cursor:pointer;\n  }\n\n  div.xc_chat_head.rounded\n  {\n       border-radius: 20px 20px 0px 0px !important;\n  }\n\n  div.xc_chat_head.squared\n  {\n          //border-radius: 20px 20px 0px 0px !important;\n  }\n\n  .xc_chat_head-title\n  {\n     margin:5px 0 0 15px;\n          color: #fff;\n  }\n\n  .xc_header_icon\n  {\n   display:block;\n        background-image:url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/icon_visitorchat.png);\n         width:21px;\n   height:16px;\n          float:right;\n          margin:20px 20px 0 0;\n  }\n\n  .xc_header_icon span.xc_notification_badge span\n  {\n          display:block;\n        height:16px;\n          width:15px;\n   text-align:center;\n    font-size:9px;\n        color:#555;\n   position:relative;\n    top:-20px;\n    left:4px;\n     margin:0;\n     padding:0;\n  }\n\n  .xc_sub-head-spacer\n  {\n         padding:1px;\n  }\n\n  .xc_conversation\n  {\n          display:none;\n         margin:0 12px 0 11px;\n  }\n\n  .xc_chat_toggle_container\n  {\n        /*background:mediumslateblue center -52px;*/\n          background: white;\n    border-style: solid;\n    border-width: 1px;\n          border-color: {{chatWebsite.color}};\n          //display:none;\n  }\n\n  .xc_signup_wrapper,.xc_notifications_wrapper,.xc_enquiry_wrapper\n  {\n       //display:none;\n    display:block;\n   overflow:auto;\n        line-height:1;\n        padding:25px;\n  }\n\n  .xc_exit_chat_container\n  {\n          text-align:right;\n     width:95%;\n    margin:0 auto;\n        padding:5px 1px 0 0;\n  }\n\n  .xc_exit_chat_container span,.xc_exit_chat_container a\n  {\n    font-size:80%;\n        color:#666;\n   text-decoration:none;\n  }\n\n  .xc_exit_chat_container a:hover\n  {\n          color:#333;\n  }\n\n  a.xc_btn_exit_chat_confirm:hover\n  {\n   color:red;\n  }\n\n  a.xc_btn_exit_chat_cancel:hover\n  {\n     color:#0c0;\n  }\n\n  form.xc_form_reply\n  {\n         position:relative;\n  }\n\n  .xc_form_reply\n  {\n      /*background-color:#e3e3e3;*/\n         text-align:center;\n    /*border-top:1px solid #d3d3d3;*/\n  }\n\n  .xc_input_message\n  {\n    height:100px;\n         margin:10px auto 5px;\n  }\n\n  .xc_input_enquiry_message\n  {\n        height:100px;\n  }\n\n  .xc_form_signup,.xc_form_enquiry\n  {\n         text-align:center;\n  }\n\n  .xc_chat_container textarea,.xc_chat_container input[type=text]\n  {\n     width:95%;\n    min-width:95%;\n        max-width:95%;\n        -webkit-box-sizing:border-box;\n        -moz-box-sizing:border-box;\n   box-sizing:border-box;\n        background-color:#fff;\n        border:1px solid #ccc;\n        -webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);\n         -moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);\n    box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);\n         -webkit-transition:border linear .2s, box-shadow linear .2s;\n          -moz-transition:border linear .2s, box-shadow linear .2s;\n     -o-transition:border linear .2s, box-shadow linear .2s;\n       transition:border linear .2s, box-shadow linear .2s;\n          display:inline-block;\n         font-size:14px;\n       line-height:20px;\n     color:#555;\n   -webkit-border-radius:4px;\n    -moz-border-radius:4px;\n       border-radius:4px;\n    vertical-align:middle;\n        margin:3px 0;\n         padding:4px 6px;\n      resize: none;\n  }\n\n  .xc_chat_container textarea:focus,.xc_chat_container input[type=text]:focus\n  {\n      outline: {{chatWebsite.color_focus}} auto 5px;\n  }\n\n  .xc_chat_container input[type=text]\n  {\n     height: 30px;\n  }\n\n  .xc_message_sending textarea, .xc_enquiry_sending textarea\n  {\n       background: #fff url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/loading.gif) 98% 5px no-repeat;\n  }\n\n  .xc_chatrow\n  {\n     display:block;\n        border-top:1px dashed #e3e3e3;\n        margin:5px 0;\n         clear: both;\n  }\n\n  .xc_chatrow p\n  {\n     color:#444;\n   word-wrap:break-word;\n  }\n\n  .xc_time\n  {\n         float:right;\n          font-size:80%;\n        color:#ccc;\n   padding-left:12px;\n    margin:3px;\n  }\n\n  .xc_submission_pending\n  {\n     background:transparent url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/bullet_clock.png) left center no-repeat;\n  }\n\n  .xc_submission_confirmed\n  {\n         background:transparent url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/bullet_tick.png) left center no-repeat;\n  }\n\n  .xc_fullname\n  {\n      font-weight:700;\n  }\n\n  .xc_fullname:after\n  {\n    content:":";\n  }\n\n  .xc_avatar\n  {\n        float: left;\n          margin: 0 5px 5px 0;\n          display: inline-block;\n        width: 40px;\n          height: 40px;\n         border-radius: 5px;\n           -moz-border-radius: 5px;\n      -webkit-border-radius: 5px;\n  }\n\n  .xc_smilie\n  {\n         background-repeat:no-repeat;\n          display:inline-block;\n         width:18px;\n   height:18px;\n          text-indent:-9999px;\n          white-space:nowrap;\n  }\n\n  .xc_btn_load_more\n  {\n          width:100%!important;\n  }\n\n  .xc_notifications_wrapper\n  {\n        text-shadow:0 1px 0 rgba(255,255,255,0.5);\n  }\n\n  .xc_notification_success\n  {\n    color:#468847;\n  }\n\n  .xc_notification_error\n  {\n          color:#b94a48;\n  }\n\n  .xc_errorlist\n  {\n   margin:0 0 0 25px;\n    padding:0;\n  }\n\n  i.xc_btn_notifications_close\n  {\n        float:right;\n          font-weight:700;\n      font-size:20px;\n       color:#ccc;\n   cursor:pointer;\n       margin:-15px 0 0;\n     padding:0;\n  }\n\n  .xc_btn_style\n  {\n       width:95%;\n    text-align:center;\n    line-height:1.2;\n      font-size:90%;\n        -moz-box-shadow:inset 0 1px 0 0 {{chatWebsite.color_button}};\n         -webkit-box-shadow:inset 0 1px 0 0 {{chatWebsite.color_button}};\n      box-shadow:inset 0 1px 0 0 {{chatWebsite.color_button}};\n      background:0;\n         background-color:{{chatWebsite.color_button}};\n        -moz-border-radius:4px;\n       -webkit-border-radius:4px;\n    border-radius:4px;\n    border:1px solid {{chatWebsite.color_button}};\n        display:inline-block;\n         color:#fff;\n   font-weight:700;\n      text-decoration:none;\n         text-shadow:1px 1px 0 #000c17;\n        margin:0 auto 5px;\n    padding:2px 0;\n  }\n\n  .xc_btn_style:hover\n  {\n     background:0;\n         background-color:{{chatWebsite.color_button}};\n      color: #fff;\n            text-decoration: none;\n  }\n\n  .xc_btn_style:active\n  {\n    position:relative;\n    top:1px;\n  }\n\n  .xc_composing_container\n  {\n       display: none;\n    width: 95%;\n    margin: 0 auto;\n    background: transparent url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/bullet_pencil.png) 6px center no-repeat;\n    padding-left: 19px;\n    font-style: italic;\n  }\n\n  @media only screen and (max-height: 620px) {\n     .xc_conversation_container\n    {\n             max-height:300px!important;\n   }\n  }\n\n  @media only screen and (max-height: 545px) {\n      .xc_conversation_container\n    {\n             max-height:200px!important;\n   }\n  }\n\n  @media only screen and (max-height: 445px) {\n      .xc_conversation_container\n    {\n             max-height:150px!important;\n   }\n  }\n\n  @media only screen and (max-width: 480px) {\n       .xc_chat_container\n    {\n             width:95%!important;\n                  right:auto!important;\n                 -webkit-border-top-left-radius:15px;\n                  -webkit-border-top-right-radius:15px;\n                 -moz-border-radius-topleft:15px;\n              -moz-border-radius-topright:15px;\n             border-top-left-radius:15px;\n                  border-top-right-radius:15px;\n                 box-shadow:0 0 5px rgba(0,0,0,.5);\n            -webkit-box-shadow:0 0 5px rgba(0,0,0,.5);\n            -moz-box-shadow:0 0 5px rgba(0,0,0,.5);\n       }\n\n   div.xc_chat_head\n      {\n             background-color:#036;\n                background-image:none;\n                line-height:25px;\n             height:auto;\n                  -webkit-border-top-left-radius:15px;\n                  -webkit-border-top-right-radius:15px;\n                 -moz-border-radius-topleft:15px;\n              -moz-border-radius-topright:15px;\n             border-top-left-radius:15px;\n                  border-top-right-radius:15px;\n                 padding:10px;\n         }\n\n   .xc_chat_toggle_container\n     {\n             background-color:#fff;\n                background-image:none;\n                border-color:#036;\n            border-style:solid;\n           border-width:0 1px;\n   }\n\n   .xc_header_icon\n       {\n             background-image:url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/icon_visitorchat.png);\n                 margin:0;\n     }\n\n   .xc_header_icon span.xc_notification_badge span\n       {\n             top:-5px;\n             left:5px;\n     }\n\n   .xc_notification_success\n      {\n             background-color:#dff0d8;\n             border:1px solid #d6e9c6;\n     }\n\n   .xc_conversation_container\n    {\n             max-height:375px;\n             border-color:#036;\n    }\n\n   .xc_notification_error\n        {\n             background-color:#f2dede;\n             border:1px solid #eed3d7;\n     }\n\n   .xc_sub-head-spacer\n   {\n             display:none;\n                 padding:0;\n    }\n\n   .xc_chat_head-title,.xc_conversation\n          {\n             margin:0;\n     }\n  }\n</style>\n<div class="xc_chat_container">\n    <div class="xc_chat_head {{chatWebsite.header_shape}}">\n      <i class="xc_header_icon">\n        <span class="xc_notification_badge">\n          <span class="xc_notification_badge_number"></span>\n        </span>\n      </i>\n      <span class="xc_chat_head-title">{{statePreview.state == \'online\' ? chatWebsite.header_online : chatWebsite.header_offline}}</span>\n    </div>\n    <div class="xc_chat_toggle_container">\n        <div class="xc_sub-head-spacer"></div>\n        <div class="xc_notifications_wrapper">\n            <!--<i class="xc_btn_notifications_close">&times;</i>-->\n            <ul class="xc_errorlist"></ul>\n        </div>\n        <div class="xc_enquiry_wrapper" data-ng-show=\'statePreview.state == "offline"\'>\n            <form class="xc_form_enquiry" accept-charset="UTF-8">\n                <p ng-bind-html=\'chatWebsite.offline_message\'></p>\n                <input maxlength="45" type="text" name="data[Enquiry][fullname]" placeholder="{{chatWebsite.username_placeholder}}" class="xc_input_enquiry_fullname" />\n                <input maxlength="85" type="text" name="data[Enquiry][email]" placeholder="{{chatWebsite.email_placeholder}}" class="xc_input_enquiry_email" />\n                <textarea maxlength="1500" placeholder="{{chatWebsite.enquiry_message_placeholder}}" name="data[Enquiry][message]" class="xc_input_enquiry_message"></textarea>\n                <a href="#" class="xc_btn_enquiry xc_btn_style">{{chatWebsite.enquiry_button}}</a></form>\n        </div>\n        <div class="xc_signup_wrapper" data-ng-show=\'statePreview.state == "online"\'>\n            <form class="xc_form_signup" accept-charset="UTF-8">\n                <p ng-bind-html=\'chatWebsite.online_message\'></p>\n                <input maxlength="45" type="text" name="data[Discussion][fullname]" placeholder="{{chatWebsite.username_placeholder}}" class="xc_input_fullname" />\n                <input maxlength="85" type="text" name="data[Discussion][email]" placeholder="{{chatWebsite.email_placeholder}}" class="xc_input_email" />\n                <input type="hidden" class="xc_input_visitor_time" name="data[Discussion][visitor_time]" /><a href="#" class="xc_btn_signup xc_btn_style">{{chatWebsite.start_chat_button}}</a></form>\n        </div>\n        <!-- <div class="xc_conversation">\n            <div class="xc_conversation_container">\n                <p class="xc_message_intro" data-id="-10">{FirstMessageText}</p>\n            </div>\n            <div class="xc_composing_container"></div>\n            <form class="xc_form_reply" accept-charset="UTF-8">\n                <div class="xc_exit_chat_container"><a href="#" class="xc_btn_exit_chat">{ExitChatButtonText}</a>\n                    <div class="xc_exit_chat_confirmation_wrapper" style="display: none;"><span>{ExitChatQuestionText} </span><a href="#" class="xc_btn_exit_chat_confirm">{ExitChatButtonConfirmText}</a><span> | </span><a href="#" class="xc_btn_exit_chat_cancel">{ExitChatButtonCancelText}</a></div>\n                </div>\n                <textarea maxlength="750" placeholder="{MessagePlaceholderText}" name="data[Message][message]" class="xc_input_message"></textarea><a href="#" class="xc_btn_send xc_btn_style">{MessageSendButtonText}</a></form>\n        </div> -->\n        <div class="xc_footer">\n            <div class="xc_powered"><a>Powered by Xenialab | Trademark xCALLY</a></div>\n        </div>\n    </div>\n</div>\n'),a.put("app/chat/queue/list/list.html",'<div class="row">\n        <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-bubble"></i>\n                                           <a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n                                                <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-layers"></i>\n                                           <a href="/chat/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n                                      </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n       <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_QUEUE\' | translate }}</a> </span>\n                             </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="chatQueues.checked.length">\n                                              <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle " href="#" data-toggle="dropdown">\n                                                 <i class="icon-plus"></i> {{ \'APPLICATION_NEW_QUEUE\' | translate }} <i class="fa fa-angle-down"></i>\n                                                </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <!-- <li>\n                                                             <a href="#" data-ng-click="open()">\n                                                           <i class="icon-user"></i> {{ \'APPLICATION_QUICK\' | translate }} </a>\n                                                        </li> -->\n                                                     <li>\n                                                          <a href="/chat/queues/wizard">\n                                                                <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                                 <!-- <li>\n                                                             <a href="#">\n                                                          <i class="icon-users"></i> {{ \'APPLICATION_BULK\' | translate }} </a>\n                                                        </li> -->\n                                             </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getChatQueues([\'name\', \'description\', \'timeout\', \'strategy\'])" csv-header="[\'Username\', \'Description\', \'Timeout\', \'Strategy\']" field-separator=";" filename="chat_queues.csv">\n                                      <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedChatQueues" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                      <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="6">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.chatQueuesByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                            <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="chatQueueByPage in chatQueuesByPage | filter: $select.search">\n                                                                                                     <div ng-bind-html="chatQueueByPage.name | highlight: $select.search"></div>\n                                                                                           </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(queue, checked)" checklist-model checklist-value="id"></th>\n                                                    <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                            <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                          <th st-sort="strategy">{{ \'APPLICATION_STRATEGY\' | translate }}</th>\n                                                                <th st-sort="timeout">{{ \'APPLICATION_AGENT_TIMEOUT\' | translate }}</th>\n                                                            <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="chatQueue in displayedChatQueues" class="animate-repeat">\n                                                             <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="chatQueues.checked" checklist-value="chatQueue.id"></td>\n                                             <td>{{chatQueue.name}}</td>\n                                                             <td>{{chatQueue.description}}</td>\n                                                            <td>{{chatQueue.strategy | uppercase}}</td>\n                                                           <td>{{chatQueue.timeout}}</td>\n                                              <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/chat/queues/view/{{chatQueue.id}}/settings">\n                                                                         {{ \'APPLICATION_EDIT\' | translate }}\n                                                </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(chatQueue.name,chatQueue.id)">\n                                                                             {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedChatQueues.length">\n                                                                <td colspan="6" style="text-align:center;">\n                                                                   <i>No chat queues available</i>\n                                                               </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="strategy" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_STRATEGY\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                 <td/>\n                                                             <td/>\n                                           </tr>\n                                           <tr>\n                                            <td colspan="6" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.chatQueuesByPage.value" st-displayed-pages="7"></div>\n                                          </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/queue/view/view.agents.html",'<div class="row" data-ng-init="getTeams()">\n        <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_AGENTS\' | translate}}</span>\n                          </div>\n                        </div>\n                        <div class="portlet-body" style="width: 50%; margin: 0 auto;">\n                                <!-- BEGIN FORM-->\n                            <form action="index.html" class="form-horizontal form-row-seperated">\n                                 <div class="form-body text-center">\n                                           <div class="form-group last">\n                                                 <div class="col-md-9" id="multi-select-team">\n                                                 </div>\n                                                </div>\n                                        </div>\n                                </form>\n                               <!-- END FORM-->\n                      </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/chat/queue/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getQueue()">\n     <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-bubble"></i>\n                                   <a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n                                        <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-layers"></i>\n                                   <a href="/chat/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n                                      <i data-ng-show="queue" class="fa fa-angle-right"></i>\n                                </li>\n                         <li data-ng-show="queue">\n                                     <a href="#">{{queue.name}}</a>\n                                </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/queue.png" class="img-responsive">\n                              </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{queue.name}}\n                                        </div>\n                                        <!-- <div class="profile-usertitle-job">\n                                              {{user.role}}\n                                 </div> -->\n                            </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.chat.queues.view.settings\')}">\n                                                  <a data-ng-href="/chat/queues/view/{{queue.id}}/settings">\n                                                    <i class="icon-settings"></i>\n                                                 {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n                                                </li>\n                                         <li data-ng-class="{active: $state.is(\'main.chat.queues.view.agents\')}">\n                                                    <a data-ng-href="/chat/queues/view/{{queue.id}}/agents">\n                                                      <i class="icon-users"></i>\n                                                    {{ \'APPLICATION_AGENTS\' | translate}} </a>\n                                          </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/queue/view/view.settings.html",'<div class="row">\n        <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_SETTINGS\' | translate}}</span>\n                                </div>\n                        </div>\n                        <div class="portlet-body">\n                            <form name="forms.general" data-ng-submit="forms.general.$valid && updateChatQueue()" novalidate>\n                                     <!-- START NAME -->\n                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid}">\n                                            <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="queue.name" required/>\n                                          <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.required" class="help-block help-block-error">\n                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                         </span>\n                                       </div>\n                                        <!-- END NAME -->\n\n                                   <!-- START DESCRIPTION -->\n                                    <div class="form-group">\n                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="queue.description"/>\n                                      </div>\n                                        <!-- END DESCRIPTION -->\n\n                                    <!-- START TIMEOUT -->\n                                        <div class="form-group">\n                                              <label class="control-label">{{\'APPLICATION_AGENT\' | translate}} {{\'APPLICATION_TIMEOUT\' | translate}}</label>\n                                            <input type="number" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" min="1" data-ng-model="queue.timeout"/>\n                                        </div>\n                                        <!-- END TIMEOUT -->\n\n                                        <!-- START HEADER SHAPE -->\n                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid}">\n                                            <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}</label>\n                                         <!-- <input colorpicker type="text" name="animationToggle" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" class="form-control" data-ng-model="chatWebsite.animation" required/> -->\n                                               <ui-select data-ng-model="queue.strategy" name="strategy" theme="bootstrap">\n                                                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.toUpperCase()}}</ui-select-match>\n                                                     <ui-select-choices repeat="strategy in [\'rrmemory\',\'beepall\'] | filter: $select.search">\n                                                          <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n                                                 </ui-select-choices>\n                                          </ui-select>\n                                  </div>\n                                        <!-- END HEADER SHAPE -->\n                                     <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                          </form>\n                       </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/chat/queue/wizard/wizard.html",'<div class="col-md-12">\n  <!-- BEGIN PAGE HEADER-->\n    <div class="page-bar">\n                <ul class="page-breadcrumb">\n                  <li>\n                          <i class="icon-rocket"></i>\n                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                           <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-envelope"></i>\n                         <a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n        <i class="fa fa-angle-right"></i>\n                     </li>\n      <li>\n                             <i class="icon-layers"></i>\n                           <a href="/chat/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n                      </li>\n         </ul>\n </div>\n  <!-- END PAGE HEADER-->\n\n  <!-- BEGIN PORTLET-->\n  <div class="portlet light bordered">\n          <div class="portlet-title">\n           <div class="caption font-green-sharp">\n                        <i class="icon-layers font-green-sharp"></i>\n                          <span class="caption-subject">{{ \'APPLICATION_QUEUES\' | translate }} WIZARD</a> </span>\n             </div>\n        </div>\n        <div class="portlet-body">\n            <wizard on-finish="createItem()">\n                             <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="exitValidation(forms.info.$valid)">\n                                        <form name="forms.general" data-ng-submit="forms.general.$valid && createItem()" novalidate>\n                                          <!-- START NAME -->\n                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid}">\n                                                    <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                 <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n                                                   <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.required" class="help-block help-block-error">\n                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END NAME -->\n\n                                           <!-- START DESCRIPTION -->\n                                            <div class="form-group">\n                                                      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                      <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n                                               </div>\n                                                <!-- END DESCRIPTION -->\n\n                                            <!-- START TIMEOUT -->\n                                                <div class="form-group" data-ng-class="{\'has-error\': (forms.general.timeout.$touched || forms.general.$submitted) && forms.general.timeout.$invalid}">\n                                                      <label class="control-label">{{\'APPLICATION_AGENT_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                        <input type="number" name="timeout" placeholder="Timeout" class="form-control" data-ng-model="item.timeout" required/>\n              <span data-ng-show="(forms.general.timeout.$touched || forms.general.$submitted) && forms.general.timeout.$invalid && forms.general.timeout.$error.required" class="help-block help-block-error">\n                                                               <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n            </div>\n                                           <!-- END TIMEOUT -->\n\n                                                <!-- START HEADER SHAPE -->\n                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid}">\n                                                    <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                     <ui-select data-ng-model="item.strategy" name="strategy" theme="bootstrap" required>\n                                                          <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.toUpperCase()}}</ui-select-match>\n                                                             <ui-select-choices repeat="strategy in [\'rrmemory\',\'beepall\'] | filter: $select.search">\n                                                                  <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n                                                         </ui-select-choices>\n                                                  </ui-select>\n              <span data-ng-show="(forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid && forms.general.strategy.$error.required" class="help-block help-block-error">\n                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n              </span>\n                                                </div>\n                                                <!-- END HEADER SHAPE -->\n                                             <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CREATE\' | translate}}"/>\n                                  </form>\n                         </wz-step>\n\n                                <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                    <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                         </wz-step>\n            </wizard>\n     </div>\n  </div>\n  <!-- END PORTLET-->\n</div>\n'),a.put("app/chat/realtime/view/agent/queue/queue.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n  <div class="col-md-12">\n               <!-- START TABLE -->\n          <div id="grid1" ui-grid="gridOptions" ui-grid-tree-view class="grid"></div>\n           <!-- END TABLE -->\n    </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/realtime/view/agent/timeline/timeline.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n   <div class="col-md-12">\n               <!-- START TABLE -->\n          <div id="grid1" ui-grid="gridOptions" class="grid"></div>\n             <!-- START TABLE -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/realtime/view/session/session.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initChats()">\n    <div class="col-md-12">\n               <!-- START TABLE -->\n          <table st-table="displayedChats" st-safe-src="sessions" class="table table-striped table-bordered table-hover">\n                       <div class="table-responsive">\n                          <thead>\n                                     <tr>\n                                          <th colspan="12">\n                                                     <div class="row">\n                                                             <div class="col-md-6">\n                                                                        <ui-select class="input-xsmall" ng-model="conf.sessionsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                              <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                             <ui-select-choices repeat="sessionByPage in sessionsByPage | filter: $select.search">\n                                                                                 <div ng-bind-html="sessionByPage.name | highlight: $select.search"></div>\n                                                                             </ui-select-choices>\n                                                                  </ui-select>\n                                                          </div>\n                                                                <div class="col-md-6">\n                                                                        <div class="input-group input-medium pull-right">\n                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                         <span class="input-group-addon">\n                                                                                      <i class="fa fa-search"></i>\n                                                                          </span>\n                                                                       </div>\n                                                                </div>\n                                                        </div>\n                                                </th>\n                                 </tr>\n                           <tr>\n                                                <th></th>\n                                             <th st-sort="uniqueid" reverse class="input-small">{{ \'APPLICATION_UNIQUEID\' | translate }}</th>\n                                <th st-sort="queue" class="input-medium">{{ \'APPLICATION_QUEUE\' | translate }}</th>\n                                 <th st-sort="membername" class="input-medium">{{ \'APPLICATION_AGENT\' | translate }}</th>\n                                                <th st-sort="visitorname" class="input-medium">{{ \'APPLICATION_VISITOR\' | translate }}</th>\n                                         <th st-sort="websitename" class="input-small">{{ \'APPLICATION_WEB_SITE\' | translate }}</th>\n                                         <th st-sort="sessioncalledAt" st-sort-default="reverse">{{ \'APPLICATION_JOIN_AT\' | translate }}</th>\n                                                <th st-sort="sessionconnectAt">{{ \'APPLICATION_LEAVE_AT\' | translate }}</th>\n                                                <th st-sort="sessionringnoanswerAt">{{ \'APPLICATION_UNMANAGED_AT\' | translate }}</th>\n                                 </tr>\n                         </thead>\n                      <tbody>\n                         <tr data-ng-repeat="session in displayedChats">\n                                           <td>\n                                                  <span>\n                                                                <i data-ng-class="{\'icon-user font-yellow\': session.mailjoinAt && !session.mailleaveAt,\n                                                             \'icon-user-following font-green\': session.fullname,\n                                                         \'icon-user-unfollow font-red\': session.mailunmanagedAt}"></i>\n                                                       </span>\n                                               </td>\n                                         <td>{{session.uniqueid}}</td>\n                                         <td>{{session.chatqueuename}}</td>\n                                            <td>{{session.fullname}}</td>\n                                         <td>{{session.visitorname + \' [\' + session.visitoremail + \']\'}}</td>\n                                              <td>{{session.websitename}}</td>\n                                              <td>\n                                                  <time is="relative-time" datetime="{{session.chatjoinAt}}">\n                                                           April 1, 2014\n                                                 </time>\n                                               </td>\n                                         <td>\n                                                  <time is="relative-time" datetime="{{session.chatleaveAt}}" data-ng-show="session.chatleaveAt">\n                                                               April 1, 2014\n                                                 </time>\n                                               </td>\n                                         <td>\n                                                  <time is="relative-time" datetime="{{session.chatunmanagedAt}}" data-ng-show="session.chatunmanagedAt">\n                                                               April 1, 2014\n                                                 </time>\n                                               </td>\n                     </tr>\n                                     <tr data-ng-hide="displayedChats.length">\n                                             <td colspan="11" style="text-align:center;">\n                                                  <i>No sessions available</i>\n                                          </td>\n                                 </tr>\n                   </tbody>\n                      <tfoot>\n                                     <tr>\n                                          <td/>\n                                         <td>\n                                                  <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="uniqueid" data-ng-model="filters.uniqueid" placeholder="{{ \'APPLICATION_UNIQUEID\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                 </div>\n                                    </td>\n                                 <td>\n                                                      <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="queue" placeholder="{{ \'APPLICATION_QUEUE\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                        </div>\n                                    </td>\n                                 <td>\n                                                      <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="membername" placeholder="{{ \'APPLICATION_AGENT\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                   </div>\n                                    </td>\n                                 <td>\n                                                      <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="visitorname" placeholder="{{ \'APPLICATION_VISITOR\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                        </div>\n                                    </td>\n                                             <td>\n                                                  <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="websitename" placeholder="{{ \'APPLICATION_WEB_SITE\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                       </div>\n                                    </td>\n                                             <td colspan="7"></td>\n                           </tr>\n                           <tr>\n                            <td colspan="12" class="text-center">\n                                                   <div class="pagination" st-pagination st-items-by-page="conf.sessionsByPage.value" st-displayed-pages="7"></div>\n                            </td>\n                       </tr>\n                       </tfoot>\n                    </div>\n                </table>\n              <!-- END TABLE -->\n    </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
+a.put("app/chat/realtime/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n      <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-energy"></i>\n                                   <a href="/chat/realtime/list">{{ \'APPLICATION_REALTIME\' | translate }}</a>\n                          </li>\n                 </ul>\n         </div>\n\n              <div>\n             <nav class="navbar navbar-default" role="navigation">\n                     <div class="navbar-header">\n                       <button type="button" class="navbar-toggle" ng-init="navCollapsed = true" ng-click="navCollapsed = !navCollapsed">\n                                <span class="sr-only">Toggle navigation</span>\n                                <span class="icon-bar"></span>\n                                <span class="icon-bar"></span>\n                                <span class="icon-bar"></span>\n                            </button>\n                     <!-- <a class="navbar-brand" ui-sref="home">Brand</a> -->\n                 </div>\n\n                      <!-- Collect the nav links, forms, and other content for toggling -->\n                 <div class="collapse navbar-collapse" ng-class="!navCollapsed && \'in\'">\n                         <ul class="nav navbar-nav">\n                               <li dropdown>\n                             <a href="#" dropdown-toggle>\n                                      {{ \'APPLICATION_AGENTS\' | translate }}\n                                      <b class=\'caret\'></b>\n                                   </a>\n                                  <tree tree=\'agents\'></tree>\n                             </li>\n                                                                         <li dropdown>\n                             <a href="#" dropdown-toggle>\n                                      {{ \'APPLICATION_SESSIONS\' | translate }}\n                                    <b class=\'caret\'></b>\n                                   </a>\n                                  <tree tree=\'sessions\'></tree>\n                           </li>\n                     </ul>\n                         <!-- <ul class="nav navbar-nav">\n                          <li dropdown>\n                             <a href="#" dropdown-toggle>\n                                      {{ \'APPLICATION_QUEUES\' | translate }}\n                                      <b class=\'caret\'></b>\n                                   </a>\n                                  <tree tree=\'queues\'></tree>\n                             </li>\n                     </ul> -->\n                 </div>\n                        <!-- /.navbar-collapse -->\n                </nav>\n            </div>\n                <div ui-view></div>\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/statistic/statistic.conversation.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="col-md-12">\n      <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n          <div class="portlet-title">\n                   <div class="caption font-green-sharp">\n                                <i class="icon-notebook font-green-sharp"></i>\n                                <span class="caption-subject">{{ \'APPLICATION_CONVERSATIONS\' | translate }}</a> </span>\n                     </div>\n                        <div class="actions">\n                         <a class="btn btn-icon-only btn-default" href="#" ng-csv="displayedChatRooms" filename="rooms.csv">\n                           <i class="icon-cloud-download"></i></a>\n                               <a class="btn btn-icon-only btn-default fullscreen" href="#"></a>\n                     </div>\n                </div>\n                <div class="portlet-body">\n                    <!-- START TABLE -->\n                  <table st-table="displayedChatRooms" st-safe-src="chatRooms" class="table table-bordered table-hover">\n                                <div class="table-responsive">\n                                        <thead>\n                                               <tr>\n                                                  <th colspan="9">\n                                                              <div class="row">\n                                                                     <div class="col-md-6">\n                                                                                <select class="form-control input-small select2me" data-ng-model="conf.chatRoomsByPage">\n                                                                                      <option value="10">10</option>\n                                                                                        <option value="25">25</option>\n                                                                                        <option value="50">50</option>\n                                                                                        <option value="{{chatRooms.length}}">{{ \'APPLICATION_ALL\' | translate }}</option>\n                                                                           </select>\n                                                                     </div>\n                                                                        <div class="col-md-6">\n                                                                                <div class="input-group input-medium pull-right">\n                                                                                     <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search"/>\n                                                                                  <span class="input-group-addon">\n                                                                                              <i class="fa fa-search"></i>\n                                                                                  </span>\n                                                                               </div>\n                                                                        </div>\n                                                                </div>\n                                                        </th>\n                                         </tr>\n                                         <tr>\n                                                  <th st-sort="type">{{ \'APPLICATION_TYPE\' | translate }}</th>\n                                                        <th st-sort="users">{{ \'APPLICATION_USERS\' | translate }}</th>\n                                                      <th st-sort="visitor">{{ \'APPLICATION_VISITOR\' | translate }}</th>\n                                                  <th st-sort="status">{{ \'APPLICATION_STATUS\' | translate }}</th>\n                                                    <th st-sort="createdAt">{{ \'APPLICATION_TIME\' | translate }}</th>\n                                           </tr>\n                                 </thead>\n                                      <tbody>\n                                               <tr data-ng-repeat="chatRoom in displayedChatRooms" data-ng-click="$location.path(\'/chat/statistics/conversation/\' + chatRoom.id)">\n                                                 <td style="text-align: center;">{{chatRoom.type | uppercase}}</td>\n                                                    <td style="text-align: center;">{{getUsersFullname(chatRoom.Users)}}</td>\n                                                     <td style="text-align: center;">{{chatRoom.ChatVisitor.email}}</td>\n                                                   <td style="text-align: center;">\n                                                              <span class="label label-sm label-success" data-ng-class="{\'label-success\': chatRoom.status == \'close\', \'label-warning\': chatRoom.status == \'open\'}">\n                                                                 {{chatRoom.status | capitalize}}\n                                                              </span>\n                                                       </td>\n                                                 <td style="text-align: center;">\n                                                              <time is="relative-time" datetime="{{chatRoom.createdAt}}">\n                                                                   April 1, 2014\n                                                         </time>\n                                                       </td>\n                                         </tr>\n                                 </tbody>\n                                      <tfoot>\n                                               <tr>\n                                                  <td colspan="9" class="text-center">\n                                                          <div st-pagination class="pagination" st-items-by-page="conf.chatRoomsByPage" st-displayed-pages="7"></div>\n                                                   </td>\n                                         </tr>\n                                 </tfoot>\n                      </div>\n                        </table>\n                      <!-- END TABLE -->\n            </div>\n        </div>\n        <!-- END Portlet PORTLET-->\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/statistic/statistic.conversation.view.html",'<!-- BEGIN PAGE CONTENT-->\n<div data-ng-init="initRoomView()">\n        <div class="col-md-6">\n                <!-- BEGIN PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-book-open font-green-sharp"></i>\n                                       <span class="caption-subject">{{ \'APPLICATION_TRANSCRIPT\' | translate }}</a> </span>\n                                </div>\n                                <div class="actions">\n                                 <a class="btn btn-icon-only btn-default" href="#" ng-csv="chatRoom.ChatMessages" filename="chatMessages.csv">\n                                 <i class="icon-cloud-download"></i></a>\n                                       <a class="btn btn-icon-only btn-default fullscreen" href="#"></a>\n                             </div>\n                        </div>\n                        <div class="portlet-body">\n                            <div class="scroller" style="height: 352px;" data-always-visible="1" data-rail-visible1="1">\n                                  <ul class="chats">\n                                            <li data-ng-class="{\'out\': chatMessage.visitorId, \'in\': chatMessage.userId}" data-ng-repeat="chatMessage in chatRoom.ChatMessages | orderBy:\'-createdAt\'">\n                                                      <img class="avatar" data-ng-src="api/users/{{chatMessage.userId ? chatMessage.userId : \'avatar\'}}/avatar"/>\n                                                 <div class="message">\n                                                         <span class="arrow">\n                                                          </span>\n                                                               <a href="#" class="name">\n                                                             {{chatMessage.fullname}} </a>\n                                                         <span class="datetime">\n                                                                       <time is="relative-time" datetime="{{chatMessage.createdAt}}">\n                                                                                April 1, 2014\n                                                                 </time>\n                                                               </span>\n                                                               <span class="body">\n                                                                   {{chatMessage.body}}\n                                                          </span>\n                                                       </div>\n                                                </li>\n                                 </ul>\n                         </div>\n                        </div>\n                <!-- END PORTLET-->\n           </div>\n        </div>\n        <div class="col-md-6">\n                <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-user font-green-sharp"></i>\n                                    <span class="caption-subject">{{ \'APPLICATION_VISITOR\' | translate }}:</a> </span>\n                                  <span class="caption-helper">{{chatRoom.ChatVisitor.fullname}}</span>\n                         </div>\n                                <div class="actions">\n                                 <a class="btn btn-icon-only btn-default fullscreen" href="#"></a>\n                             </div>\n                        </div>\n                        <div class="portlet-body">\n                            <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.fullname">\n                                    <div class="col-md-4 name">\n                                           {{\'APPLICATION_FULLNAME\' | translate}}\n                                      </div>\n                                        <div class="col-md-8 value">\n                                          {{chatRoom.ChatVisitor.fullname}}\n                                     </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.email">\n                                       <div class="col-md-4 name">\n                                           {{\'APPLICATION_EMAIL\' | translate}}\n                                 </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.email}}\n                                        </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.remote_address">\n                                      <div class="col-md-4 name">\n                                           {{\'APPLICATION_REMOTE_ADDRESS\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.remote_address}}\n                                       </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.referer">\n                                     <div class="col-md-4 name">\n                                           {{\'APPLICATION_REFERER\' | translate}}\n                                       </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.referer}}\n                                      </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.browser">\n                                     <div class="col-md-4 name">\n                                           {{\'APPLICATION_BROWSER\' | translate}}\n                                       </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.browser}}\n                                      </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.engine">\n                                      <div class="col-md-4 name">\n                                           {{\'APPLICATION_ENGINE\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.engine}}\n                                       </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.os">\n                                  <div class="col-md-4 name">\n                                           {{\'APPLICATION_OS\' | translate}}\n                                    </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.os}}\n                                   </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.device">\n                                      <div class="col-md-4 name">\n                                           {{\'APPLICATION_DEVICE\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.device}}\n                                       </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.country">\n                                     <div class="col-md-4 name">\n                                           {{\'APPLICATION_COUNTRY\' | translate}}\n                                       </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.country}}\n                                      </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.region">\n                                      <div class="col-md-4 name">\n                                           {{\'APPLICATION_REGION\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.region}}\n                                       </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.city">\n                                        <div class="col-md-4 name">\n                                           {{\'APPLICATION_CITY\' | translate}}\n                                  </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.city}}\n                                 </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.latitude">\n                                    <div class="col-md-4 name">\n                                           {{\'APPLICATION_LATITUDE\' | translate}}\n                                      </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.latitude}}\n                                     </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.longitude">\n                                   <div class="col-md-4 name">\n                                           {{\'APPLICATION_LONGITUDE\' | translate}}\n                                     </div>\n                                        <div class="col-md-4 value">\n                                          {{chatRoom.ChatVisitor.longitude}}\n                                    </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatRoom.ChatVisitor.createdAt">\n                                   <div class="col-md-4 name">\n                                           {{\'APPLICATION_ARRIVAL_TIME\' | translate}}\n                                  </div>\n                                        <div class="col-md-4 value">\n                                          <time is="relative-time" datetime="{{chatRoom.ChatVisitor.createdAt}}">\n                                                       April 1, 2014\n                                         </time>\n                                       </div>\n                                </div>\n                        </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n           <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered" data-ng-repeat="user in chatRoom.Users">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-earphones-alt font-green-sharp"></i>\n                                   <span class="caption-subject">{{ \'APPLICATION_AGENT\' | translate }}:</a> </span>\n                                    <span class="caption-helper">{{user.fullname}}</span>\n                         </div>\n                                <div class="actions">\n                                 <a class="btn btn-icon-only btn-default fullscreen" href="#"></a>\n                             </div>\n                        </div>\n                        <div class="portlet-body">\n                            <div class="row static-info">\n                                 <div class="col-md-4 name">\n                                           {{\'APPLICATION_FULLNAME\' | translate}}\n                                      </div>\n                                        <div class="col-md-4 value">\n                                          {{user.fullname}}\n                                     </div>\n                                </div>\n                                <div class="row static-info">\n                                 <div class="col-md-4 name">\n                                           {{\'APPLICATION_USERNAME\' | translate}}\n                                      </div>\n                                        <div class="col-md-4 value">\n                                          {{user.name}}\n                                 </div>\n                                </div>\n                                <div class="row static-info">\n                                 <div class="col-md-4 name">\n                                           {{\'APPLICATION_ROLE\' | translate}}\n                                  </div>\n                                        <div class="col-md-4 value">\n                                          {{user.role | uppercase}}\n                                     </div>\n                                </div>\n                        </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/statistic/statistic.enquiry.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="col-md-12">\n   <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n          <div class="portlet-title">\n                   <div class="caption font-green-sharp">\n                                <i class="icon-question font-green-sharp"></i>\n                                <span class="caption-subject">{{ \'APPLICATION_ENQUIRIES\' | translate }}</a> </span>\n                 </div>\n                        <div class="actions">\n                         <a class="btn btn-icon-only btn-default" href="#" ng-csv="displayedChatEnquiries" filename="enquiries.csv">\n                           <i class="icon-cloud-download"></i></a>\n                               <a class="btn btn-icon-only btn-default fullscreen" href="#"></a>\n                     </div>\n                </div>\n                <div class="portlet-body">\n                    <!-- START TABLE -->\n                  <table st-table="displayedChatEnquiries" st-safe-src="chatEnquiries" class="table table-bordered table-hover">\n                                <div class="table-responsive">\n                                        <thead>\n                                               <tr>\n                                                  <th colspan="9">\n                                                              <div class="row">\n                                                                     <div class="col-md-6">\n                                                                                <select class="form-control input-small select2me" data-ng-model="conf.chatEnquiriesByPage">\n                                                                                  <option value="10">10</option>\n                                                                                        <option value="25">25</option>\n                                                                                        <option value="50">50</option>\n                                                                                        <option value="{{chatEnquiries.length}}">{{ \'APPLICATION_ALL\' | translate }}</option>\n                                                                               </select>\n                                                                     </div>\n                                                                        <div class="col-md-6">\n                                                                                <div class="input-group input-medium pull-right">\n                                                                                     <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search"/>\n                                                                                  <span class="input-group-addon">\n                                                                                              <i class="fa fa-search"></i>\n                                                                                  </span>\n                                                                               </div>\n                                                                        </div>\n                                                                </div>\n                                                        </th>\n                                         </tr>\n                                         <tr>\n                                                  <th st-sort="type">{{ \'APPLICATION_USERNAME\' | translate }}</th>\n                                                    <th st-sort="users">{{ \'APPLICATION_EMAIL\' | translate }}</th>\n                                                      <th st-sort="createdAt">{{ \'APPLICATION_TIME\' | translate }}</th>\n                                           </tr>\n                                 </thead>\n                                      <tbody>\n                                               <tr data-ng-repeat="chatEnquiry in displayedChatEnquiries" data-ng-click="$location.path(\'/chat/statistics/enquiry/\' + chatEnquiry.id)">\n                                                    <td style="text-align: center;">{{chatEnquiry.username}}</td>\n                                                 <td style="text-align: center;">{{chatEnquiry.email}}</td>\n                                                    <td style="text-align: center;">\n                                                              <time is="relative-time" datetime="{{chatEnquiry.createdAt}}">\n                                                                        April 1, 2014\n                                                         </time>\n                                                       </td>\n                                         </tr>\n                                 </tbody>\n                                      <tfoot>\n                                               <tr>\n                                                  <td colspan="9" class="text-center">\n                                                          <div st-pagination class="pagination" st-items-by-page="conf.chatEnquiriesByPage" st-displayed-pages="7"></div>\n                                                       </td>\n                                         </tr>\n                                 </tfoot>\n                      </div>\n                        </table>\n                      <!-- END TABLE -->\n            </div>\n        </div>\n        <!-- END Portlet PORTLET-->\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/statistic/statistic.enquiry.view.html",'<!-- BEGIN PAGE CONTENT-->\n<div data-ng-init="initEnquiryView()">\n  <div class="col-md-6">\n                <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-book-open font-green-sharp"></i>\n                                       <span class="caption-subject">{{ \'APPLICATION_TEXT\' | translate }}</a> </span>\n                              </div>\n                                <div class="actions">\n                                 <a class="btn btn-icon-only btn-default" href="#" ng-csv="chatEnquiry" filename="chatEnquery.csv">\n                                    <i class="icon-cloud-download"></i></a>\n                                       <a class="btn btn-icon-only btn-default fullscreen" href="#"></a>\n                             </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- BEGIN PAGE CONTENT-->\n                            <div class="note note-warning">\n                                       <h4 class="block">{{chatEnquiry.ChatVisitor.fullname}} -\n                                              <time is="relative-time" datetime="{{chatEnquiry.createdAt}}">\n                                                        April 1, 2014\n                                         </time>\n                                       </h4>\n                                 <p>\n                                            {{chatEnquiry.text}}\n                                 </p>\n                          </div>\n                        </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n        <div class="col-md-6">\n                <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-user font-green-sharp"></i>\n                                    <span class="caption-subject">{{ \'APPLICATION_VISITOR\' | translate }}:</a> </span>\n                                  <span class="caption-helper">{{chatEnquiry.ChatVisitor.fullname}}</span>\n                              </div>\n                                <div class="actions">\n                                 <a class="btn btn-icon-only btn-default fullscreen" href="#"></a>\n                             </div>\n                        </div>\n                        <div class="portlet-body">\n                            <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.fullname">\n                                 <div class="col-md-4 name">\n                                           {{\'APPLICATION_FULLNAME\' | translate}}\n                                      </div>\n                                        <div class="col-md-8 value">\n                                          {{chatEnquiry.ChatVisitor.fullname}}\n                                  </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.email">\n                                    <div class="col-md-4 name">\n                                           {{\'APPLICATION_EMAIL\' | translate}}\n                                 </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.email}}\n                                     </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.remote_address">\n                                   <div class="col-md-4 name">\n                                           {{\'APPLICATION_REMOTE_ADDRESS\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.remote_address}}\n                                    </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.referer">\n                                  <div class="col-md-4 name">\n                                           {{\'APPLICATION_REFERER\' | translate}}\n                                       </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.referer}}\n                                   </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.browser">\n                                  <div class="col-md-4 name">\n                                           {{\'APPLICATION_BROWSER\' | translate}}\n                                       </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.browser}}\n                                   </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.engine">\n                                   <div class="col-md-4 name">\n                                           {{\'APPLICATION_ENGINE\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.engine}}\n                                    </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.os">\n                                       <div class="col-md-4 name">\n                                           {{\'APPLICATION_OS\' | translate}}\n                                    </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.os}}\n                                        </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.device">\n                                   <div class="col-md-4 name">\n                                           {{\'APPLICATION_DEVICE\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.device}}\n                                    </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.country">\n                                  <div class="col-md-4 name">\n                                           {{\'APPLICATION_COUNTRY\' | translate}}\n                                       </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.country}}\n                                   </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.region">\n                                   <div class="col-md-4 name">\n                                           {{\'APPLICATION_REGION\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.region}}\n                                    </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.city">\n                                     <div class="col-md-4 name">\n                                           {{\'APPLICATION_CITY\' | translate}}\n                                  </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.city}}\n                                      </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.latitude">\n                                 <div class="col-md-4 name">\n                                           {{\'APPLICATION_LATITUDE\' | translate}}\n                                      </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.latitude}}\n                                  </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.longitude">\n                                        <div class="col-md-4 name">\n                                           {{\'APPLICATION_LONGITUDE\' | translate}}\n                                     </div>\n                                        <div class="col-md-4 value">\n                                          {{chatEnquiry.ChatVisitor.longitude}}\n                                 </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatEnquiry.ChatVisitor.createdAt">\n                                        <div class="col-md-4 name">\n                                           {{\'APPLICATION_ARRIVAL_TIME\' | translate}}\n                                  </div>\n                                        <div class="col-md-4 value">\n                                          <time is="relative-time" datetime="{{chatEnquiry.ChatVisitor.createdAt}}">\n                                                    April 1, 2014\n                                         </time>\n                                       </div>\n                                </div>\n                        </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/statistic/statistic.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initList()">\n       <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-bubble"></i>\n                                   <a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n                                        <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-eyeglass"></i>\n                                 <a href="/chat/statistics">{{ \'APPLICATION_STATISTICS\' | translate }}</a>\n                           </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img src="assets/images/media/statistics.png" class="img-responsive">\n                         </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <!-- <div class="profile-usertitle">\n                                  <div class="profile-usertitle-name">\n                                          {{chatWebsite.name}}\n                                  </div>\n                                        <div class="profile-usertitle-job">\n                                           {{chatWebsite.address}}\n                                       </div>\n                                </div> -->\n                            <!-- END SIDEBAR USER TITLE -->\n                               <!-- SIDEBAR BUTTONS -->\n                              <!-- <div class="profile-userbuttons">\n                                        <button type="button" class="btn btn-circle green-haze btn-sm">Follow</button>\n                                        <button type="button" class="btn btn-circle btn-danger btn-sm">Message</button>\n                               </div> -->\n                            <!-- END SIDEBAR BUTTONS -->\n                          <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.chat.statistics.summary\')}">\n                                                    <a ng-href="/chat/statistics/summary">\n                                                        <i class="icon-list"></i>\n                                                     {{ \'APPLICATION_SUMMARY\' | translate }} </a>\n                                                </li>\n                                         <li data-ng-class="{active: $state.is(\'main.chat.statistics.enquiry\') || $state.is(\'main.chat.statistics.enquiries\')}">\n                                                   <a ng-href="/chat/statistics/enquiries">\n                                                      <i class="icon-question"></i>\n                                                 {{ \'APPLICATION_ENQUIRIES\' | translate }} </a>\n                                              </li>\n                                         <li data-ng-class="{active: $state.is(\'main.chat.statistics.conversation\') || $state.is(\'main.chat.statistics.conversations\')}">\n                                                  <a ng-href="/chat/statistics/conversations">\n                                                  <i class="icon-notebook"></i>\n                                                 {{ \'APPLICATION_CONVERSATIONS\' | translate }} </a>\n                                          </li>\n                                         <li data-ng-class="{active: $state.is(\'main.chat.statistics.visitor\') || $state.is(\'main.chat.statistics.visitors\')}">\n                                                    <a ng-href="/chat/statistics/visitors">\n                                                       <i class="icon-users"></i>\n                                                    {{ \'APPLICATION_VISITORS\' | translate }} </a>\n                                               </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/statistic/statistic.summary.html",'<div class="col-md-12">\n       <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-show="online">\n            <div class="portlet-title">\n                   <div class="caption font-green-sharp">\n                                <i class="icon-notebook font-green-sharp"></i>\n                                <span class="caption-subject">{{ \'APPLICATION_LOCATIONS\' | translate }}</a> </span>\n                 </div>\n                </div>\n                <div class="portlet-body">\n                    <map center="0, 0" zoom="2">\n                          <marker data-ng-show="chatVisitor.latitude && chatVisitor.longitude" data-ng-repeat="chatVisitor in chatVisitors" position="{{chatVisitor.latitude}}, {{chatVisitor.longitude}}" title="{{chatVisitor.fullname}}"></marker>\n                   </map>\n                </div>\n        </div>\n        <!-- END Portlet PORTLET-->\n\n\n       <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n          <div class="portlet-title">\n                   <div class="caption font-green-sharp">\n                                <i class="icon-notebook font-green-sharp"></i>\n                                <span class="caption-subject">{{ \'APPLICATION_CONVERSATIONS\' | translate }}</a> </span>\n                     </div>\n                </div>\n                <div class="portlet-body">\n                    <div class="row">\n                             <div class="col-md-6">\n                                        <div class="portlet sale-summary">\n                                            <div class="portlet-body">\n                                                    <ul class="list-unstyled">\n                                                            <li>\n                                                                  <span class="sale-info">\n                                                                      {{ \'APPLICATION_OPENED\' | translate }} <i class="fa fa-img-up"></i>\n                                                                 </span>\n                                                                       <span class="sale-num">\n                                                                       {{ (chatRooms | filter:{ status:\'open\' }).length }} </span>\n                                                         </li>\n                                                         <li>\n                                                                  <span class="sale-info">\n                                                                      {{ \'APPLICATION_CLOSED\' | translate }} <i class="fa fa-img-down"></i>\n                                                                       </span>\n                                                                       <span class="sale-num">\n                                                                       {{ (chatRooms | filter:{ status:\'close\' }).length }} </span>\n                                                                </li>\n                                                 </ul>\n                                         </div>\n                                        </div>\n                                </div>\n                                <div class="col-md-6">\n                                        <canvas class="chart chart-pie" data="[(chatRooms | filter:{ status:\'open\' }).length, (chatRooms | filter:{ status:\'close\' }).length]" labels="[$translate.instant(\'APPLICATION_OPENED\'), $translate.instant(\'APPLICATION_CLOSED\')]" legend="true"></canvas>\n                          </div>\n                        </div>\n                </div>\n        </div>\n        <!-- END Portlet PORTLET-->\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n          <div class="portlet-title">\n                   <div class="caption font-green-sharp">\n                                <i class="icon-users font-green-sharp"></i>\n                           <span class="caption-subject">{{ \'APPLICATION_VISITORS\' | translate }}</a> </span>\n                  </div>\n                </div>\n                <div class="portlet-body">\n                    <div class="row">\n                             <div class="col-md-6">\n                                        <div class="portlet sale-summary">\n                                            <div class="portlet-body">\n                                                    <ul class="list-unstyled">\n                                                            <li>\n                                                                  <span class="sale-info">\n                                                                      {{ \'APPLICATION_PENDING\' | translate }} <i class="fa fa-img-up"></i>\n                                                                        </span>\n                                                                       <span class="sale-num">\n                                                                       {{ (chatVisitors | filter:{ status:\'pending\' }).length }} </span>\n                                                           </li>\n                                                         <li>\n                                                                  <span class="sale-info">\n                                                                      {{ \'APPLICATION_SERVED\' | translate }} <i class="fa fa-img-down"></i>\n                                                                       </span>\n                                                                       <span class="sale-num">\n                                                                       {{ (chatVisitors | filter:{ status:\'served\' }:true).length }} </span>\n                                                               </li>\n                                                         <li>\n                                                                  <span class="sale-info">\n                                                                      {{ \'APPLICATION_UNSERVED\' | translate }} </span>\n                                                                    <span class="sale-num">\n                                                                       {{ (chatVisitors | filter:{ status:\'unserved\' }).length }} </span>\n                                                          </li>\n                                                 </ul>\n                                         </div>\n                                        </div>\n                                </div>\n                                <div class="col-md-6">\n                                        <canvas class="chart chart-pie" data="[(chatVisitors | filter:{ status:\'pending\' }).length, (chatVisitors | filter:{ status:\'served\' }:true).length, (chatVisitors | filter:{ status:\'unserved\' }).length]" labels="[$translate.instant(\'APPLICATION_PENDING\'), $translate.instant(\'APPLICATION_SERVED\'), $translate.instant(\'APPLICATION_UNSERVED\')]" legend="true"></canvas>\n                            </div>\n                        </div>\n                </div>\n        </div>\n        <!-- END Portlet PORTLET-->\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n          <div class="portlet-title">\n                   <div class="caption font-green-sharp">\n                                <i class="icon-question font-green-sharp"></i>\n                                <span class="caption-subject">{{ \'APPLICATION_ENQUIRIES\' | translate }}</a> </span>\n                 </div>\n                </div>\n                <div class="portlet-body">\n                    <div class="row">\n                             <div class="col-md-6">\n                                        <div class="portlet sale-summary">\n                                            <div class="portlet-body">\n                                                    <ul class="list-unstyled">\n                                                            <li>\n                                                                  <span class="sale-info">\n                                                                      {{ \'APPLICATION_READ\' | translate }}<i class="fa fa-img-up"></i>\n                                                                    </span>\n                                                                       <span class="sale-num">\n                                                                       {{(chatEnquiries | filter:{ read:true }).length}} </span>\n                                                             </li>\n                                                         <li>\n                                                                  <span class="sale-info">\n                                                                      {{ \'APPLICATION_UNREAD\' | translate }}<i class="fa fa-img-down"></i>\n                                                                        </span>\n                                                                       <span class="sale-num">\n                                                                       {{(chatEnquiries | filter:{ read:false }).length}} </span>\n                                                            </li>\n                                                 </ul>\n                                         </div>\n                                        </div>\n                                </div>\n                                <div class="col-md-6">\n                                        <canvas class="chart chart-pie" data="[(chatEnquiries | filter:{ read:true }).length, (chatEnquiries | filter:{ read:false }).length]" labels="[$translate.instant(\'APPLICATION_READ\'), $translate.instant(\'APPLICATION_UNREAD\')]" legend="true" ng-show="true"></canvas>\n                         </div>\n                        </div>\n                </div>\n        </div>\n        <!-- END Portlet PORTLET-->\n</div>\n'),a.put("app/chat/statistic/statistic.visitor.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="col-md-12">\n        <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n          <div class="portlet-title">\n                   <div class="caption font-green-sharp">\n                                <i class="icon-users font-green-sharp"></i>\n                           <span class="caption-subject">{{ \'APPLICATION_VISITORS\' | translate }}</a> </span>\n                  </div>\n                        <div class="actions">\n                         <a class="btn btn-icon-only btn-default" href="#" ng-csv="displayedChatVisitors" filename="visitors.csv">\n                             <i class="icon-cloud-download"></i></a>\n                               <a class="btn btn-icon-only btn-default fullscreen" href="#"></a>\n                     </div>\n                </div>\n                <div class="portlet-body">\n                    <!-- START TABLE -->\n                  <table st-table="displayedChatVisitors" st-safe-src="chatVisitors" class="table table-bordered table-hover">\n                          <div class="table-responsive">\n                                        <thead>\n                                               <tr>\n                                                  <th colspan="9">\n                                                              <div class="row">\n                                                                     <div class="col-md-6">\n                                                                                <select class="form-control input-small select2me" data-ng-model="conf.chatVisitorsByPage">\n                                                                                   <option value="10">10</option>\n                                                                                        <option value="25">25</option>\n                                                                                        <option value="50">50</option>\n                                                                                        <option value="{{chatVisitors.length}}">{{ \'APPLICATION_ALL\' | translate }}</option>\n                                                                                </select>\n                                                                     </div>\n                                                                        <div class="col-md-6">\n                                                                                <div class="input-group input-medium pull-right">\n                                                                                     <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                 <span class="input-group-addon">\n                                                                                              <i class="fa fa-search"></i>\n                                                                                  </span>\n                                                                               </div>\n                                                                        </div>\n                                                                </div>\n                                                        </th>\n                                         </tr>\n                                         <tr>\n                                                  <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                        <th st-sort="email">{{ \'APPLICATION_EMAIL\' | translate }}</th>\n                                                      <th st-sort="remote_address">{{ \'APPLICATION_REMOTE_ADDRESS\' | translate }}</th>\n                                                    <th st-sort="referer">{{ \'APPLICATION_ORIGIN\' | translate }}</th>\n                                                   <th st-sort="device">{{ \'APPLICATION_DEVICE\' | translate }}</th>\n                                                    <th st-sort="browser">{{ \'APPLICATION_BROWSER\' | translate }}</th>\n                                                  <th st-sort="visitor_language">{{ \'APPLICATION_LANGUAGES\' | translate }}</th>\n                                                       <th st-sort="status">{{ \'APPLICATION_STATUS\' | translate }}</th>\n                                                    <th st-sort="createdAt">{{ \'APPLICATION_TIME\' | translate }}</th>\n                                           </tr>\n                                 </thead>\n                                      <tbody>\n                                               <tr data-ng-repeat="chatVisitor in displayedChatVisitors" data-ng-click="$location.path(\'/chat/statistics/visitor/\' + chatVisitor.id)">\n                                                     <td>{{chatVisitor.fullname}}</td>\n                                                     <td>{{chatVisitor.email}}</td>\n                                                        <td>{{chatVisitor.remote_address}}</td>\n                                                       <td>{{chatVisitor.referer}}</td>\n                                                      <td class="centered-td">{{chatVisitor.device ? chatVisitor.device : \'--\'}}</td>\n                                                     <td class="centered-td">\n                                                              <img data-ng-show="chatVisitor.browser.includes(\'Chrome\')" data-ng-src="assets/images/browsers/chrome/chrome_16x16.png" data-title="{{chatVisitor.browser}}" bs-tooltip>\n                                                            <img data-ng-show="chatVisitor.browser.includes(\'Safari\')" data-ng-src="assets/images/browsers/safari/safari_16x16.png">\n                                                            <img data-ng-show="chatVisitor.browser.includes(\'Firefox\')" data-ng-src="assets/images/browsers/firefox/firefox_16x16.png">\n                                                         <img data-ng-show="chatVisitor.browser.includes(\'Explorer\')" data-ng-src="assets/images/browsers/internet-explorer/internet-explorer_16x16.png">\n                                                    </td>\n                                                 <td class="centered-td">\n                                                              <img data-ng-show="chatVisitor.visitor_language.includes(\'IT\') || chatVisitor.visitor_language.includes(\'it\')" data-ng-src="assets/images/flags/it.png">\n                                                          <img data-ng-show="chatVisitor.visitor_language.includes(\'US\') || chatVisitor.visitor_language.includes(\'us\')" data-ng-src="assets/images/flags/us.png">\n                                                          <img data-ng-show="chatVisitor.visitor_language.includes(\'EN\') || chatVisitor.visitor_language.includes(\'en\')" data-ng-src="assets/images/flags/en_EN.png">\n                                                       </td>\n                                                 <td class="centered-td">\n                                                              <span class="label label-sm label-success" data-ng-class="{\'label-warning\': chatVisitor.status == \'pending\', \'label-danger\': chatVisitor.status == \'unserved\'}">\n                                                                      {{ $translate.instant(\'APPLICATION_\' + $filter(\'uppercase\')(chatVisitor.status)) }}\n                                                               </span>\n                                                       </td>\n                                                 <td style="text-align: center;">\n                                                              <time is="relative-time" datetime="{{chatVisitor.createdAt}}">\n                                                                        April 1, 2014\n                                                         </time>\n                                                       </td>\n                                         </tr>\n                                 </tbody>\n                                      <tfoot>\n                                               <tr>\n                                                  <td colspan="9" class="text-center">\n                                                          <div st-pagination class="pagination" st-items-by-page="conf.chatVisitorsByPage" st-displayed-pages="7"></div>\n                                                        </td>\n                                         </tr>\n                                 </tfoot>\n                      </div>\n                        </table>\n                      <!-- END TABLE -->\n            </div>\n        </div>\n        <!-- END Portlet PORTLET-->\n</div>\n<!-- END PAGE CONTENT-->\n'),
+a.put("app/chat/statistic/statistic.visitor.view.html",'<!-- BEGIN PAGE CONTENT-->\n<div data-ng-init="initVisitorView()">\n   <div class="col-md-6">\n                <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-pin font-green-sharp"></i>\n                                     <span class="caption-subject">{{ \'APPLICATION_LOCATION\' | translate }}</a> </span>\n                          </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- BEGIN PAGE CONTENT-->\n                            <map center="{{chatVisitor.latitude}}, {{chatVisitor.longitude}}" zoom="8">\n                                   <marker position="{{chatVisitor.latitude}}, {{chatVisitor.longitude}}" title="{{chatVisitor.fullname}}"></marker>\n                             </map>\n                        </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n        <div class="col-md-6">\n                <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-user font-green-sharp"></i>\n                                    <span class="caption-subject">{{ \'APPLICATION_VISITOR\' | translate }}:</a> </span>\n                                  <span class="caption-helper">{{chatVisitor.fullname}}</span>\n                          </div>\n                                <div class="actions">\n                                 <a class="btn btn-icon-only btn-default fullscreen" href="#"></a>\n                             </div>\n                        </div>\n                        <div class="portlet-body">\n                            <div class="row static-info" data-ng-show="chatVisitor.longitude && chatVisitor.latitude">\n                            </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.fullname">\n                                     <div class="col-md-4 name">\n                                           {{\'APPLICATION_FULLNAME\' | translate}}\n                                      </div>\n                                        <div class="col-md-8 value">\n                                          {{chatVisitor.fullname}}\n                                      </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.email">\n                                        <div class="col-md-4 name">\n                                           {{\'APPLICATION_EMAIL\' | translate}}\n                                 </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.email}}\n                                 </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.remote_address">\n                                       <div class="col-md-4 name">\n                                           {{\'APPLICATION_REMOTE_ADDRESS\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.remote_address}}\n                                        </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.referer">\n                                      <div class="col-md-4 name">\n                                           {{\'APPLICATION_REFERER\' | translate}}\n                                       </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.referer}}\n                                       </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.browser">\n                                      <div class="col-md-4 name">\n                                           {{\'APPLICATION_BROWSER\' | translate}}\n                                       </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.browser}}\n                                       </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.engine">\n                                       <div class="col-md-4 name">\n                                           {{\'APPLICATION_ENGINE\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.engine}}\n                                        </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.os">\n                                   <div class="col-md-4 name">\n                                           {{\'APPLICATION_OS\' | translate}}\n                                    </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.os}}\n                                    </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.device">\n                                       <div class="col-md-4 name">\n                                           {{\'APPLICATION_DEVICE\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.device}}\n                                        </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.country">\n                                      <div class="col-md-4 name">\n                                           {{\'APPLICATION_COUNTRY\' | translate}}\n                                       </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.country}}\n                                       </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.region">\n                                       <div class="col-md-4 name">\n                                           {{\'APPLICATION_REGION\' | translate}}\n                                        </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.region}}\n                                        </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.city">\n                                 <div class="col-md-4 name">\n                                           {{\'APPLICATION_CITY\' | translate}}\n                                  </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.city}}\n                                  </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.latitude">\n                                     <div class="col-md-4 name">\n                                           {{\'APPLICATION_LATITUDE\' | translate}}\n                                      </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.latitude}}\n                                      </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.longitude">\n                                    <div class="col-md-4 name">\n                                           {{\'APPLICATION_LONGITUDE\' | translate}}\n                                     </div>\n                                        <div class="col-md-4 value">\n                                          {{chatVisitor.longitude}}\n                                     </div>\n                                </div>\n                                <div class="row static-info" data-ng-show="chatVisitor.createdAt">\n                                    <div class="col-md-4 name">\n                                           {{\'APPLICATION_ARRIVAL_TIME\' | translate}}\n                                  </div>\n                                        <div class="col-md-4 value">\n                                          <time is="relative-time" datetime="{{chatVisitor.createdAt}}">\n                                                        April 1, 2014\n                                         </time>\n                                       </div>\n                                </div>\n                        </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/timeline/list/list.html",'<div class="row">\n      <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-envelope"></i>\n                                         <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n                                                <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-list"></i>\n                                             <a href="/mail/timeline/list"> Timeline</a>\n                                   </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initList()">\n     <div class="col-md-12">\n    <h3 class="page-title">\n                          Timeline\n                      </h3>\n                 <!-- END PAGE HEADER-->\n                       <!-- BEGIN PAGE CONTENT-->\n                    <div class="timeline">\n                                <!-- TIMELINE ITEM -->\n                                <div class="timeline-item" data-ng-repeat="event in events | orderBy:\'-id\'"  ng-animate=" \'animate\' ">\n                                    <div class="timeline-badge">\n                                          <div class="timeline-icon">\n                                                   <i class="icon-envelope font-green-haze"></i>\n                                         </div>\n                                        </div>\n                                        <div class="timeline-body">\n                                           <div class="timeline-body-arrow"></div>\n                                               <div class="timeline-body-head">\n                                                      <div class="timeline-body-head-caption">\n                                                              <span class="timeline-body-alerttitle" data-ng-class="{\'font-red\': event.name == \'INCOMING\', \'font-blue\': event.name == \'ATTEMPT\', \'font-green\': event.name == \'TAKEN\'}">{{event.name | uppercase}}</span>\n                                                                <span class="timeline-body-time font-grey-cascade">at {{event.createdAt | date:\'yyyy-MM-dd HH:mm:ss\'}}</span>\n                                                       </div>\n                                                        <div class="timeline-body-head-actions">\n                                                              <div class="btn-group">\n                                                                       <a class="btn btn-circle btn-sm dropdown-toggle btn-success" href="/mail/inbox/room/{{event.MailRoomId}}">Go To Mail</a>\n                                                              </div>\n                                                        </div>\n                                                </div>\n                                                <div class="timeline-body-content">\n                                                   <span class="font-grey-cascade" data-ng-show="event.User">\n                                                    {{event.MailRoom.subject ? event.MailRoom.subject + \' - \' : \'\'}}<a href="/agents/view/{{event.UserId}}/account">{{event.User.fullname}}</a>\n                                                       </span>\n                                               </div>\n                                        </div>\n                                </div>\n                                <!-- END TIMELINE ITEM -->\n                    </div>\n                        <!-- END PAGE CONTENT-->\n      </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/website/list/list.html",'<div class="row">\n       <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-bubble"></i>\n                                           <a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n                                                <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-globe"></i>\n                                            <a href="/chat/websites/list">{{ \'APPLICATION_WEB_SITES\' | translate }}</a>\n                                 </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n       <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_WEB_SITES\' | translate }}</a> </span>\n                         </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="chatWebsites.checked.length">\n                                            <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle " href="#" data-toggle="dropdown">\n                                                 <i class="icon-plus"></i> {{ \'APPLICATION_NEW_WEB_SITE\' | translate }} <i class="fa fa-angle-down"></i>\n                                             </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <!-- <li>\n                                                             <a href="#" data-ng-click="open()">\n                                                           <i class="icon-user"></i> {{ \'APPLICATION_QUICK\' | translate }} </a>\n                                                        </li> -->\n                                                     <li>\n                                                          <a href="/chat/websites/wizard">\n                                                              <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                                 <!-- <li>\n                                                             <a href="#">\n                                                          <i class="icon-users"></i> {{ \'APPLICATION_BULK\' | translate }} </a>\n                                                        </li> -->\n                                             </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getChatWebsites([\'name\', \'address\', \'description\', \'remote\'])" csv-header="[\'Name\', \'Address\', \'Description\', \'Remote\']" field-separator=";" filename="chat_websites.csv">\n                                  <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedChatWebsites" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                    <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="5">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.chatWebsitesByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                          <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="chatWebsiteByPage in chatWebsitesByPage | filter: $select.search">\n                                                                                                 <div ng-bind-html="chatWebsiteByPage.name | highlight: $select.search"></div>\n                                                                                         </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(agent, checked)" checklist-model checklist-value="id"></th>\n                                                    <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                            <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                              <th st-sort="address">{{ \'APPLICATION_WEB_ADDRESS\' | translate }}</th>\n                                                          <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="chatWebsite in displayedChatWebsites" class="animate-repeat">\n                                                         <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="chatWebsites.checked" checklist-value="chatWebsite.id"></td>\n                                         <td>{{chatWebsite.name}}</td>\n                                                           <td>{{chatWebsite.description}}</td>\n                                        <td><a ng-href="{{chatWebsite.address}}">{{chatWebsite.address}}</a></td>\n                                             <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/chat/websites/view/{{chatWebsite.id}}/snippet/view">\n                                                                         {{ \'APPLICATION_PROFILE\' | translate }}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(chatWebsite.name,chatWebsite.id)">\n                                                                         {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedChatWebsites.length">\n                                                              <td colspan="5" style="text-align:center;">\n                                                                   <i>{{\'MESSAGE_NO_AVAILABLE_WEBSITES\' | translate}}</i>\n                                                              </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="address" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_WEB_ADDRESS\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                      </div>\n                                                    </td>\n                                                 <td/>\n                                               </tr>\n                                           <tr>\n                                            <td colspan="5" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.chatWebsitesByPage.value" st-displayed-pages="7"></div>\n                                        </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/website/view/action/list/list.html",'<div class="row" data-ng-init="initActons()">\n       <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title  tabbable-line">\n                            <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_ACTIONS\' | translate}}</span>\n                         </div>\n                                <div class="actions">\n                                 <div class="btn-group">\n                                               <a class="btn green-jungle " href="/chat/websites/view/{{chatWebsite.id}}/actions/wizard" data-toggle="dropdown">\n                                                     <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACTION\' | translate }}\n                                                </a>\n                                  </div>\n                                </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table class="table table-striped table-bordered table-hover">\n                                          <thead>\n                                               <tr>\n                                                    <th class="input-small" align="center">{{\'APPLICATION_APPLICATION\' | translate}}</th>\n                                                           <th class="input-small" align="center">{{\'APPLICATION_TIMEOUT\' | translate}} [s]</th>\n                                                   <th align="center">{{ \'APPLICATION_INTERVAL\' | translate }}</th>\n                                                                <th class="input-small">{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                                  </tr>\n                                         </thead>\n                                      <tbody ui-sortable="sortableOptions" data-ng-model="chatApplications">\n                                          <tr data-ng-repeat="application in chatApplications">\n                                                             <td align="center">\n                                                                   {{application.User ? \'agent\' : \'queue\' | uppercase}} [{{application.User ? application.User.fullname : application.ChatQueue.name}}]\n                                                              </td>\n                                                         <td align="center">{{application.timeout}}</td>\n                                                               <td align="center">{{application.Interval ? application.Interval.name : application.interval}}</td>\n                                                           <td>\n                                                                  <a class="btn default btn-xs blue-stripe" data-ng-href="/chat/websites/view/{{chatWebsite.id}}/actions/view/{{application.id}}">\n                                                                              {{ \'APPLICATION_SETTINGS\' | translate}}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(application.app, application.id)">\n                                                                         {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="chatApplications.length">\n                                                           <td colspan="5" style="text-align:center;">\n                                                                   <i>No applications available</i>\n                                                              </td>\n                                                 </tr>\n                                   </tbody>\n                            </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/chat/website/view/action/view/view.html",'\n<div class="row" data-ng-init="initAction()">\n       <div class="col-md-12">\n               <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-directions font-green-sharp"></i>\n                                      <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }}</a> </span>\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <form name="forms.settings" ng-submit="updateItem()" novalidate>\n                                      <!-- START APP -->\n                                    <div class="form-group"  data-ng-class="{\'has-error\': (forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid}">\n                                          <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n                                                <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n                                                     <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n                                                      <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n                                                                <div ng-bind-html="app.name | highlight: $select.search"></div>\n                                                       </ui-select-choices>\n                                          </ui-select>\n                                          <span data-ng-show="(forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid && forms.settings.app.$error.required" class="help-block help-block-error">\n                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                         </span>\n                                       </div>\n                                        <!-- END APP -->\n\n                                    <!-- START HOST -->\n                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n                                           <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                             <input type="number" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="application.timeout" min="0" required/>\n                                         <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                         </span>\n                                       </div>\n                                        <!-- END HOST -->\n\n                                   <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n                                          <!-- START QUEUE -->\n                                          <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$invalid}">\n                                                       <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                        <ui-select class="input-medium" data-ng-model="application.ChatQueueId" name="queue" theme="bootstrap" required>\n                                                              <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                              <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n                                                                     <div ng-bind-html="queue.name | highlight: $select.search"></div>\n                                                             </ui-select-choices>\n                                                  </ui-select>\n                                                  <span data-ng-show="(forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$error.required" class="help-block help-block-error">\n                                                                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END QUEUE -->\n                                    </div>\n\n                                      <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n                                          <!-- START AGENT -->\n                                          <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$invalid}">\n                                                       <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                        <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n                                                                <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n                                                          <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n                                                                     <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n                                                         </ui-select-choices>\n                                                  </ui-select>\n                                                  <span data-ng-show="(forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$error.required" class="help-block help-block-error">\n                                                                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END AGENT -->\n                                    </div>\n\n                                      <!-- START INTERVAL_TYPE -->\n                                  <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$invalid}">\n                                           <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n                                              <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n                                                     <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n                                                        <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n                                                               {{ intType.name | translate }}\n                                                        </ui-select-choices>\n                                          </ui-select>\n                                          <span data-ng-show="(forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$error.required" class="help-block help-block-error">\n                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                         </span>\n                                       </div>\n                                        <!-- END INTERVAL_TYPE -->\n\n                                  <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n                                                <!-- START TIME -->\n                                           <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_TIME\' | translate }}</label>\n                                                   <div class="input-group input-large">\n                                                         <fieldset class="pull-left" ng-disabled="application.alwaysTime">\n                                                                     <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n                                                             </fieldset>\n                                                           <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n                                                                <fieldset ng-disabled="application.alwaysTime"><uib-timepicker  name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n                                                              <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n                                                     </div>\n                                                </div>\n                                                <!-- END TIME -->\n\n                                           <!-- START ALWAYS -->\n                                         <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n                                                 <div class="input-group input-large">\n                                                         <label class="control-label pointer-cursor">\n                                                                  <input\n                                                                                bs-switch\n                                                                             data-ng-model="application.alwaysTime"\n                                                                                type="checkbox"\n                                                                               switch-active="{{ isActive }}"\n                                                                                switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n                                                                                switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n                                                                                switch-on-color="{{ onColor }}"\n                                                                               switch-off-color="{{ offColor }}"\n                                                                             switch-animate="{{ animate }}"\n                                                                                switch-size="{{ size }}"\n                                                                              switch-label="{{ label }}"\n                                                                            switch-icon="{{ icon }}"\n                                                                              switch-radio-off="{{ radioOff }}"\n                                                                             switch-label-width="{{ labelWidth }}"\n                                                                         switch-handle-width="{{ handleWidth }}">\n                                                                      <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n                                                               </label>\n                                                      </div>\n                                                </div>\n                                                <!-- END ALWAYS -->\n\n                                         <!-- START WEEKDAY -->\n                                                <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_WEEKDAY\' | translate }}</label>\n                                                        <div class="input-group input-large">\n                                                         <ui-select data-ng-model="application.wd_from" theme="bootstrap" name="wd_from">\n                                                                      <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                     <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                                                                                {{ weekDay.name | translate}}\n                                                                 </ui-select-choices>\n                                                          </ui-select>\n                                                          <span class="input-group-addon">to</span>\n                                                             <ui-select data-ng-model="application.wd_to" theme="bootstrap" name="wd_to">\n                                                                  <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                     <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                                                                                {{ weekDay.name | translate }}\n                                                                        </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                </div>\n                                                <!-- END WEEKDAY -->\n\n                                                <!-- START MONTHDAY -->\n                                               <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_MONTHDAY\' | translate }}</label>\n                                                       <div class="input-group input-large">\n                                                         <ui-select data-ng-model="application.md_from" theme="bootstrap" name="md_from">\n                                                                      <ui-select-match>{{$select.selected}}</ui-select-match>\n                                                                       <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                                                                               {{monthDay}}\n                                                                  </ui-select-choices>\n                                                          </ui-select>\n                                                          <span class="input-group-addon">to</span>\n                                                             <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n                                                                  <ui-select-match>{{$select.selected}}</ui-select-match>\n                                                                       <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                                                                               {{monthDay}}\n                                                                  </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                </div>\n                                                <!-- END MONTHDAY -->\n\n                                               <!-- START MONTH -->\n                                          <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_MONTH\' | translate }}</label>\n                                                  <div class="input-group input-large">\n                                                         <ui-select data-ng-model="application.m_from" theme="bootstrap" name="m_from">\n                                                                        <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                     <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                                                                                {{ month.name | translate }}\n                                                                  </ui-select-choices>\n                                                          </ui-select>\n                                                          <span class="input-group-addon">to</span>\n                                                             <ui-select data-ng-model="application.m_to" theme="bootstrap" name="m_to">\n                                                                    <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                     <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                                                                                {{ month.name | translate }}\n                                                                  </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                </div>\n                                                <!-- END MONTH -->\n                                    </div>\n\n                                      <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n                                          <!-- START INTERVALS -->\n                                              <div class="form-group inpu" data-ng-class="{\'has-error\': (forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$invalid}">\n                                                        <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                    <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n                                                               <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n                                                             <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n                                                                    {{ interval.name}}\n                                                            </ui-select-choices>\n                                                  </ui-select>\n                                                  <span data-ng-show="(forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$error.required" class="help-block help-block-error">\n                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END INTERVALS -->\n\n                                      </div>\n                                        <button class="btn green-haze" type="submit">{{\'APPLICATION_UPDATE\' | translate}}</button>\n                          </form>\n                       </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/website/view/action/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n               <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-directions font-green-sharp"></i>\n                                      <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }} WIZARD</a> </span>\n                             </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n                                     <wz-step title="{{\'APPLICATION_APPLICATION\' | translate}}" canexit="formValidation(forms.action.$valid)">\n                                           <form name="forms.action" novalidate>\n                                                 <!-- START APP -->\n                                                    <div class="form-group"  data-ng-class="{\'has-error\': forms.action.$submitted && forms.action.app.$invalid}">\n                                                               <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n                                                                <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n                                                                     <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n                                                                      <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n                                                                                <div ng-bind-html="app.name | highlight: $select.search"></div>\n                                                                       </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.action.$submitted && forms.action.app.$invalid" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END APP -->\n\n                                                    <!-- START HOST -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                             <input type="number" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="application.timeout" min="0" required/>\n                                                         <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END HOST -->\n\n                                                   <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n                                                          <!-- START QUEUE -->\n                                                          <div class="form-group" data-ng-class="{\'has-error\': (forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$invalid}">\n                                                                     <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                        <ui-select data-ng-model="application.ChatQueueId" name="queue" theme="bootstrap" required>\n                                                                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                              <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n                                                                                     <div ng-bind-html="queue.name | highlight: $select.search"></div>\n                                                                             </ui-select-choices>\n                                                                  </ui-select>\n                                                                  <span data-ng-show="(forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$error.required" class="help-block help-block-error">\n                                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END QUEUE -->\n                                                    </div>\n\n                                                      <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n                                                          <!-- START AGENT -->\n                                                          <div class="form-group" data-ng-class="{\'has-error\': (forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$invalid}">\n                                                                     <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                        <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n                                                                                <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n                                                                          <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n                                                                                     <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n                                                                         </ui-select-choices>\n                                                                  </ui-select>\n                                                                  <span data-ng-show="(forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$error.required" class="help-block help-block-error">\n                                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END AGENT -->\n                                                    </div>\n\n                                                      <!-- START INTERVAL_TYPE -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': (forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$invalid}">\n                                                         <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n                                                              <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n                                                                     <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                        <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n                                                                               {{ intType.name | translate }}\n                                                                        </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="(forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$error.required" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END INTERVAL_TYPE -->\n\n                                                  <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n                                                                <!-- START TIME -->\n                                                           <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_TIME\' | translate }}</label>\n                                                                   <div class="input-group input-large">\n                                                                         <fieldset class="pull-left" ng-disabled="application.alwaysTime">\n                                                                                     <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n                                                                             </fieldset>\n                                                                           <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n                                                                                <fieldset ng-disabled="application.alwaysTime"><uib-timepicker  name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n                                                                              <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n                                                                     </div>\n                                                                </div>\n                                                                <!-- END TIME -->\n\n                                                           <!-- START ALWAYS -->\n                                                         <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n                                                                 <div class="input-group input-large">\n                                                                         <label class="control-label pointer-cursor">\n                                                                                  <input\n                                                                                                bs-switch\n                                                                                             data-ng-model="application.alwaysTime"\n                                                                                                type="checkbox"\n                                                                                               switch-active="{{ isActive }}"\n                                                                                                switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n                                                                                                switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n                                                                                                switch-on-color="{{ onColor }}"\n                                                                                               switch-off-color="{{ offColor }}"\n                                                                                             switch-animate="{{ animate }}"\n                                                                                                switch-size="{{ size }}"\n                                                                                              switch-label="{{ label }}"\n                                                                                            switch-icon="{{ icon }}"\n                                                                                              switch-radio-off="{{ radioOff }}"\n                                                                                             switch-label-width="{{ labelWidth }}"\n                                                                                         switch-handle-width="{{ handleWidth }}">\n                                                                                      <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n                                                                               </label>\n                                                                      </div>\n                                                                </div>\n                                                                <!-- END ALWAYS -->\n\n                                                         <!-- START WEEKDAY -->\n                                                                <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_WEEKDAY\' | translate }}</label>\n                                                                        <div class="input-group input-large">\n                                                                         <ui-select data-ng-model="application.wd_from" theme="bootstrap" name="wd_from">\n                                                                                      <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                                     <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                                                                                                {{ weekDay.name | translate}}\n                                                                                 </ui-select-choices>\n                                                                          </ui-select>\n                                                                          <span class="input-group-addon">to</span>\n                                                                             <ui-select data-ng-model="application.wd_to" theme="bootstrap" name="wd_to">\n                                                                                  <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                                     <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                                                                                                {{ weekDay.name | translate }}\n                                                                                        </ui-select-choices>\n                                                                          </ui-select>\n                                                                  </div>\n                                                                </div>\n                                                                <!-- END WEEKDAY -->\n\n                                                                <!-- START MONTHDAY -->\n                                                               <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_MONTHDAY\' | translate }}</label>\n                                                                       <div class="input-group input-large">\n                                                                         <ui-select data-ng-model="application.md_from" theme="bootstrap" name="md_from">\n                                                                                      <ui-select-match>{{$select.selected}}</ui-select-match>\n                                                                                       <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                                                                                               {{monthDay}}\n                                                                                  </ui-select-choices>\n                                                                          </ui-select>\n                                                                          <span class="input-group-addon">to</span>\n                                                                             <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n                                                                                  <ui-select-match>{{$select.selected}}</ui-select-match>\n                                                                                       <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                                                                                               {{monthDay}}\n                                                                                  </ui-select-choices>\n                                                                          </ui-select>\n                                                                  </div>\n                                                                </div>\n                                                                <!-- END MONTHDAY -->\n\n                                                               <!-- START MONTH -->\n                                                          <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_MONTH\' | translate }}</label>\n                                                                  <div class="input-group input-large">\n                                                                         <ui-select data-ng-model="application.m_from" theme="bootstrap" name="m_from">\n                                                                                        <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                                     <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                                                                                                {{ month.name | translate }}\n                                                                                  </ui-select-choices>\n                                                                          </ui-select>\n                                                                          <span class="input-group-addon">to</span>\n                                                                             <ui-select data-ng-model="application.m_to" theme="bootstrap" name="m_to">\n                                                                                    <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                                     <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                                                                                                {{ month.name | translate }}\n                                                                                  </ui-select-choices>\n                                                                          </ui-select>\n                                                                  </div>\n                                                                </div>\n                                                                <!-- END MONTH -->\n                                                    </div>\n\n                                                      <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n                                                          <!-- START INTERVALS -->\n                                                              <div class="form-group" data-ng-class="{\'has-error\': (forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$invalid}">\n                                                                   <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                    <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n                                                                               <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n                                                                             <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n                                                                                    {{ interval.name}}\n                                                                            </ui-select-choices>\n                                                                  </ui-select>\n                                                                  <span data-ng-show="(forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$error.required" class="help-block help-block-error">\n                                                                            <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END INTERVALS -->\n\n                                                      </div>\n\n                                                      <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONTINUE\' | translate}}"/>\n                                         </form>\n                                       </wz-step>\n                                    <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                             <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                            <!-- <button class="btn green-haze" type="button" wz-previous><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button> -->\n                                              <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                  </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
+a.put("app/chat/website/view/snippet/view/view.html",'<div class="row" data-ng-init="initView()">\n    <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_SNIPPET\' | translate}}</span>\n                         </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_EMBEDDING\' | translate}}</a>\n                                    </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_APPEARANCE\' | translate}}</a>\n                                   </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FORMS\' | translate}}</a>\n                                        </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_4" data-toggle="tab">{{\'APPLICATION_LABELS\' | translate}}</a>\n                                       </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_5" data-toggle="tab">{{\'APPLICATION_SETTINGS\' | translate}}</a>\n                                     </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_6" data-toggle="tab">{{\'APPLICATION_OFFLINE\' | translate}}</a>\n                                      </li>\n                         </ul>\n                 </div>\n                        <div class="portlet-body">\n                            <div class="row">\n                                             <div class="col-md-8">\n                                                        <div class="tab-content">\n                                                             <!-- EMBEDDING TAB -->\n                                                                <div class="tab-pane active" id="tab_1_1">\n                                                                    <h3>{{\'APPLICATION_EMBED_SNIPPET\' | translate}}</h3>\n                                                                        <p>\n                                                                           {{\'MESSAGE_EMBED_SNIPPET\' | translate}}\n                                                                     </p>\n                                                                  <div class="form-body">\n                                                                               <div class="form-group">\n                                                                                      <div class="col-md-12">\n                                                                                               <textarea name="snippet" rows="13" style="resize:none;cursor:text;" class="form-control" readonly data-ng-model="snippetCode"></textarea>\n                                                                                     </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </div>\n                                                                <!-- END EMBEDDING TAB -->\n\n                                                          <!-- APPEARANCE TAB -->\n                                                               <div class="tab-pane" id="tab_1_2">\n                                                                   <form name="forms.formAppearance" data-ng-submit="forms.formAppearance.$valid && updateItem()" novalidate>\n\n                                                                          <!-- START MAIN COLOR -->\n                                                                             <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.mainColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.host.$invalid}">\n                                                                                  <label class="control-label">{{\'APPLICATION_MAIN_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                                  <input colorpicker type="text" name="mainColor" placeholder="{{\'APPLICATION_MAIN_COLOR\' | translate}}" style="color:{{chatWebsite.color}}" class="form-control" data-ng-model="chatWebsite.color" required/>\n                                                                                        <span data-ng-show="(forms.formAppearance.mainColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.mainColor.$invalid && forms.formAppearance.mainColor.$error.required" class="help-block help-block-error">\n                                                                                           <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                 </span>\n                                                                               </div>\n                                                                                <!-- END MAIN COLOR -->\n\n                                                                             <!-- START FOCUS COLOR -->\n                                                                            <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.focusColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.focusColor.$invalid}">\n                                                                                   <label class="control-label">{{\'APPLICATION_FOCUS_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                                 <input colorpicker type="text" name="focusColor" placeholder="{{\'APPLICATION_FOCUS_COLOR\' | translate}}" style="color:{{chatWebsite.color_focus}}" class="form-control" data-ng-model="chatWebsite.color_focus" required/>\n                                                                                  <span data-ng-show="(forms.formAppearance.focusColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.focusColor.$invalid && forms.formAppearance.focusColor.$error.required" class="help-block help-block-error">\n                                                                                                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                 </span>\n                                                                               </div>\n                                                                                <!-- END FOCUS COLOR -->\n\n                                                                            <!-- START BUTTON COLOR -->\n                                                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.buttonColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.buttonColor.$invalid}">\n                                                                                 <label class="control-label">{{\'APPLICATION_BUTTON_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                                        <input colorpicker type="text" name="buttonColor" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" style="color:{{chatWebsite.color_button}}" class="form-control" data-ng-model="chatWebsite.color_button" required/>\n                                                                                      <span data-ng-show="(forms.formAppearance.buttonColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.buttonColor.$invalid && forms.formAppearance.buttonColor.$error.required" class="help-block help-block-error">\n                                                                                             <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                 </span>\n                                                                               </div>\n                                                                                <!-- END BUTTON COLOR -->\n\n                                                                           <!-- START HEADER SHAPE -->\n                                                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.headerShape.$touched || forms.formAppearance.$submitted) && forms.formAppearance.headerShape.$invalid}">\n                                                                                 <label class="control-label">{{\'APPLICATION_ANIMATION\' | translate}}</label>\n                                                                                        <!-- <input colorpicker type="text" name="animationToggle" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" class="form-control" data-ng-model="chatWebsite.animation" required/> -->\n                                                                                       <ui-select data-ng-model="chatWebsite.header_shape" name="headerShape" theme="bootstrap">\n                                                                                             <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$translate.instant(\'APPLICATION_\' + $select.selected.toUpperCase())}}</ui-select-match>\n                                                                                              <ui-select-choices repeat="headerShape in [\'rounded\',\'squared\'] | filter: $select.search">\n                                                                                                        <div ng-bind-html="$translate.instant(\'APPLICATION_\' + headerShape.toUpperCase()) | highlight: $select.search"></div>\n                                                                                               </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <!-- END HEADER SHAPE -->\n\n                                                                           <!-- START ANIMATION TOGGLE -->\n                                                                               <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.animationToggle.$touched || forms.formAppearance.$submitted) && forms.formAppearance.animationToggle.$invalid}">\n                                                                                 <label class="control-label">{{\'APPLICATION_ANIMATION\' | translate}}</label>\n                                                                                        <!-- <input colorpicker type="text" name="animationToggle" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" class="form-control" data-ng-model="chatWebsite.animation" required/> -->\n                                                                                       <ui-select data-ng-model="chatWebsite.animation" name="animationToggle" theme="bootstrap">\n                                                                                            <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected ? \'On\' : \'Off\'}}</ui-select-match>\n                                                                                                <ui-select-choices repeat="animationToggle in [true, false] | filter: $select.search">\n                                                                                                        <div ng-bind-html="animationToggle ? \'On\' : \'Off\' | highlight: $select.search"></div>\n                                                                                             </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <!-- END ANIMATION TOGGLE -->\n\n\n                                                                             <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                                                  </form>\n                                                               </div>\n                                                                <!-- END APPEARANCE TAB -->\n\n                                                         <!-- FORMS TAB -->\n                                                            <div class="tab-pane" id="tab_1_3">\n                                                                   <form name="forms.formFunctionality" data-ng-submit="forms.formFunctionality.$valid && updateItem()" novalidate>\n\n                                                                            <!-- START DOWNLOAD TRANSCRIPT -->\n                                                                            <div class="form-group" data-ng-class="{\'has-error\': (forms.formFunctionality.animationToggle.$touched || forms.formFunctionality.$submitted) && forms.formFunctionality.animationToggle.$invalid}">\n                                                                                        <label class="control-label">{{\'APPLICATION_DOWNLOAD_TRANSCRIPT\' | translate}}</label>\n                                                                                      <ui-select data-ng-model="chatWebsite.download_transcript" name="downloadTranscript" theme="bootstrap">\n                                                                                               <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected ? \'On\' : \'Off\'}}</ui-select-match>\n                                                                                                <ui-select-choices repeat="downloadTranscript in [true, false] | filter: $select.search">\n                                                                                                     <div ng-bind-html="downloadTranscript ? \'On\' : \'Off\' | highlight: $select.search"></div>\n                                                                                          </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <!-- END DOWNLOAD TRANSCRIPT -->\n\n                                                                            <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                                                  </form>\n                                                               </div>\n                                                                <!-- END FORMS TAB -->\n\n                                                              <!-- STRINGS TAB -->\n                                                          <div class="tab-pane" id="tab_1_4">\n                                                                   <form name="forms.formLabel" data-ng-submit="forms.formLabel.$valid && updateItem()" novalidate>\n\n                                                                            <h4 class="block" data-ng-show="statePreview.state == \'online\'">{{\'APPLICATION_ONLINE_STATE\' | translate}}</h4>\n\n                                                                         <!-- START HEADER ONLINE -->\n                                                                          <div class="form-group" data-ng-show="statePreview.state == \'online\'" data-ng-class="{\'has-error\': (forms.formLabel.headerOnline.$touched || forms.formLabel.$submitted) && forms.formLabel.headerOnline.$invalid}">\n                                                                                      <label class="control-label">{{\'APPLICATION_HEADER_ONLINE\' | translate}}</label>\n                                                                                    <input type="text" name="headerOnline" placeholder="{{\'APPLICATION_HEADER_ONLINE\' | translate}}" class="form-control" data-ng-model="chatWebsite.header_online"/>\n                                                                           </div>\n                                                                                <!-- END HEADER ONLINE -->\n\n                                                                          <!-- START ONLINE MESSAGE-->\n                                                                          <div class="form-group" data-ng-show="statePreview.state == \'online\'" data-ng-class="{\'has-error\': (forms.formLabel.onlineMessage.$touched || forms.formLabel.$submitted) && forms.formLabel.onlineMessage.$invalid}">\n                                                                                    <label class="control-label">{{\'APPLICATION_ONLINE_MESSAGE\' | translate}}</label>\n                                                                                   <input type="text" name="onlineMessage" placeholder="{{\'APPLICATION_ONLINE_MESSAGE\' | translate}}" class="form-control" data-ng-model="chatWebsite.online_message"/>\n                                                                                </div>\n                                                                                <!-- END HEADER ONLINE -->\n\n                                                                          <!-- START USERNAME PLACEHOLDER -->\n                                                                           <div class="form-group" data-ng-show="statePreview.state == \'online\' || statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.usernamePlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.usernamePlaceholder.$invalid}">\n                                                                                   <label class="control-label">{{\'APPLICATION_USERNAME_PLACEHOLDER\' | translate}}</label>\n                                                                                     <input type="text" name="usernamePlaceholder" placeholder="{{\'APPLICATION_USERNAME_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="chatWebsite.username_placeholder"/>\n                                                                              </div>\n                                                                                <!-- END USERNAME PLACEHOLDER -->\n\n                                                                           <!-- START EMAIL PLACEHOLDER -->\n                                                                              <div class="form-group" data-ng-show="statePreview.state == \'online\' || statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.emailPlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.emailPlaceholder.$invalid}">\n                                                                                 <label class="control-label">{{\'APPLICATION_EMAIL_PLACEHOLDER\' | translate}}</label>\n                                                                                        <input type="text" name="emailPlaceholder" placeholder="{{\'APPLICATION_EMAIL_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="chatWebsite.email_placeholder"/>\n                                                                               </div>\n                                                                                <!-- END EMAIL PLACEHOLDER -->\n\n                                                                              <!-- START START CHAT BUTTON -->\n                                                                              <div class="form-group" data-ng-show="statePreview.state == \'online\'" data-ng-class="{\'has-error\': (forms.formLabel.startChatButton.$touched || forms.formLabel.$submitted) && forms.formLabel.startChatButton.$invalid}">\n                                                                                        <label class="control-label">{{\'APPLICATION_START_CHAT_BUTTON\' | translate}}</label>\n                                                                                        <input type="text" name="startChatButton" placeholder="{{\'APPLICATION_START_CHAT_BUTTON\' | translate}}" class="form-control" data-ng-model="chatWebsite.start_chat_button"/>\n                                                                                </div>\n                                                                                <!-- END START CHAT BUTTON -->\n\n                                                                              <h4 class="block" data-ng-show="statePreview.state == \'offline\'">{{\'APPLICATION_OFFLINE_STATE\' | translate}}</h4>\n\n                                                                               <!-- START HEADER OFFLINE -->\n                                                                         <div class="form-group" data-ng-show="statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.headerOffline.$touched || forms.formLabel.$submitted) && forms.formLabel.headerOnline.$invalid}">\n                                                                                    <label class="control-label">{{\'APPLICATION_HEADER_OFFLINE\' | translate}}</label>\n                                                                                   <input type="text" name="headerOffline" placeholder="{{\'APPLICATION_HEADER_OFFLINE\' | translate}}" class="form-control" data-ng-model="chatWebsite.header_offline"/>\n                                                                                </div>\n                                                                                <!-- END HEADER OFFLINE -->\n\n                                                                         <!-- START OFFLINE MESSAGE-->\n                                                                         <div class="form-group" data-ng-show="statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.offlineMessage.$touched || forms.formLabel.$submitted) && forms.formLabel.onlineMessage.$invalid}">\n                                                                                  <label class="control-label">{{\'APPLICATION_OFFLINE_MESSAGE\' | translate}}</label>\n                                                                                  <input type="text" name="offlineMessage" placeholder="{{\'APPLICATION_OFFLINE_MESSAGE\' | translate}}" class="form-control" data-ng-model="chatWebsite.offline_message"/>\n                                                                             </div>\n                                                                                <!-- END OFFLINE MESSAGE -->\n\n                                                                                <!-- START ENQUIRY MESSAGE PLACEHOLDER-->\n                                                                             <div class="form-group" data-ng-show="statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.enquiryMessagePlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.onlineMessage.$invalid}">\n                                                                                       <label class="control-label">{{\'APPLICATION_ENQUIRY_MESSAGE_PLACEHOLDER\' | translate}}</label>\n                                                                                      <input type="text" name="enquiryMessagePlaceholder" placeholder="{{\'APPLICATION_ENQUIRY_MESSAGE_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="chatWebsite.enquiry_message_placeholder"/>\n                                                                          </div>\n                                                                                <!-- END ENQUIRY MESSAGE PLACEHOLDER -->\n\n                                                                            <!-- START ENQUIRY BUTTON -->\n                                                                         <div class="form-group" data-ng-show="statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.enquiryButton.$touched || forms.formLabel.$submitted) && forms.formLabel.startChatButton.$invalid}">\n                                                                                 <label class="control-label">{{\'APPLICATION_ENQUIRY_BUTTON\' | translate}}</label>\n                                                                                   <input type="text" name="enquiryButton" placeholder="{{\'APPLICATION_ENQUIRY_BUTTON\' | translate}}" class="form-control" data-ng-model="chatWebsite.enquiry_button"/>\n                                                                                </div>\n                                                                                <!-- END ENQUIRY BUTTON -->\n\n                                                                         <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                                                  </form>\n                                                               </div>\n                                                                <!-- END STRINGS TAB -->\n\n                                                            <!-- SETTINGS TAB -->\n                                                         <div class="tab-pane" id="tab_1_5">\n                                                                   <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n\n                                                                                <!-- START NAME -->\n                                                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.name.$touched || forms.formSetting.$submitted) && forms.formSetting.name.$invalid}">\n                                                                                        <label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                                        <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="chatWebsite.name" required/>\n                                                                                    <span data-ng-show="(forms.formSetting.name.$touched || forms.formSetting.$submitted) && forms.formSettings.name.$invalid && forms.formSetting.name.$error.required" class="help-block help-block-error">\n                                                                                             <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                 </span>\n                                                                               </div>\n                                                                                <!-- END NAME -->\n\n                                                                           <!-- START ADDRESS -->\n                                                                                <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.address.$touched || forms.formSetting.$submitted) && forms.formSetting.address.$invalid}">\n                                                                                  <label class="control-label">{{\'APPLICATION_WEB_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                                 <input type="url" name="address" placeholder="{{\'APPLICATION_WEB_ADDRESS\' | translate}}" class="form-control" data-ng-model="chatWebsite.address" required/>\n                                                                                        <span data-ng-show="(forms.formSetting.address.$touched || forms.formSetting.$submitted) && forms.formSetting.address.$invalid && forms.formSetting.address.$error.required" class="help-block help-block-error">\n                                                                                             <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                 </span>\n                                                                               </div>\n                                                                                <!-- END ADDRESS -->\n\n                                                                                <!-- START REMOTE IP -->\n                                                                              <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.remote.$touched || forms.formSetting.$submitted) && forms.formSetting.remote.$invalid}">\n                                                                                    <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                                      <input type="url" name="remote" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="chatWebsite.remote" required/>\n                                                                                       <span data-ng-show="(forms.formSetting.remote.$touched || forms.formSetting.$submitted) && forms.formSetting.remote.$invalid && forms.formSetting.remote.$error.required" class="help-block help-block-error">\n                                                                                                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                 </span>\n                                                                               </div>\n                                                                                <!-- END REMOTE IP -->\n\n                                                                              <!-- START DESCRIPTION -->\n                                                                            <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.description.$touched || forms.formSetting.$submitted) && forms.formSetting.description.$invalid}">\n                                                                                  <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                                                      <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="chatWebsite.description"/>\n                                                                                </div>\n                                                                                <!-- END DESCRIPTION -->\n\n                                                                            <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                                                  </form>\n                                                               </div>\n                                                                <!-- END SETTINGS TAB -->\n\n                                                           <!-- OFFLINE TAB -->\n                                                          <div class="tab-pane" id="tab_1_6">\n                                                                   <form name="forms.formOffline" data-ng-submit="forms.formOffline.$valid && updateItem()" novalidate>\n\n                                                                                <!-- START ENQUIRY FORWARDING -->\n                                                                             <div class="form-group">\n                                                                                      <div class="row">\n                                                                                             <label class="col-md-4">\n                                                                                                      {{\'APPLICATION_ENQUIRY_FORWARDING\' | translate}}\n                                                                                            </label>\n                                                                                              <label class="col-md-8">\n                                                                                                      <input type="checkbox" ng-model="chatWebsite.enquiry_forwarding">\n                                                                                             </label>\n                                                                                      </div>\n                                                                                        <div class="row">\n                                                                                             <span class="help-block col-md-12">\n                                                                                                           {{\'MESSAGE_REMEMBER_SMTP_SERVICE_ACCOUNT\' | translate}}.\n                                                                                            </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <!-- END ENQUIRY FORWARDING -->\n\n                                                                             <!-- START REMOTE IP -->\n                                                                              <div class="form-group" data-ng-if="chatWebsite.enquiry_forwarding" data-ng-class="{\'has-error\': (forms.formOffline.forwardingAddress.$touched || forms.formOffline.$submitted) && forms.formSetting.forwardingAddress.$invalid}">\n                                                                                  <label class="control-label">{{\'APPLICATION_ENQUIRY_FORWARDING_ADDRESS\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                                   <input type="text" name="forwardingAddress" placeholder="{{\'APPLICATION_ADDRESS\' | translate}}" class="form-control" data-ng-model="chatWebsite.enquiry_forwarding_address" required/>\n                                                                                      <span data-ng-show="(forms.formOffline.forwardingAddress.$touched || forms.formOffline.$submitted) && forms.formOffline.forwardingAddress.$invalid && forms.formOffline.forwardingAddress.$error.required" class="help-block help-block-error">\n                                                                                               <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                 </span>\n                                                                               </div>\n                                                                                <!-- END REMOTE IP -->\n\n                                                                              <!-- START HEADER SHAPE -->\n                                                                           <div class="form-group" data-ng-if="chatWebsite.enquiry_forwarding" data-ng-class="{\'has-error\': (forms.formOffline.OfflineTemplateId.$touched || forms.formOffline.$submitted) && forms.formOffline.OfflineTemplateId.$invalid}">\n                                                                                  <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                                     <ui-select data-ng-model="chatWebsite.OfflineTemplateId" name="OfflineTemplateId" theme="bootstrap" required>\n                                                                                         <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                              <ui-select-choices repeat="mailTemplate.id as mailTemplate in mailTemplates | filter: $select.search">\n                                                                                                        <div ng-bind-html="mailTemplate.name | highlight: $select.search"></div>\n                                                                                              </ui-select-choices>\n                                                                                  </ui-select>\n                                                                                  <span data-ng-show="(forms.formOffline.OfflineTemplateId.$touched || forms.formOffline.$submitted) && forms.formOffline.OfflineTemplateId.$invalid && forms.formOffline.OfflineTemplateId.$error.required" class="help-block help-block-error">\n                                                                                               <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                 </span>\n                                                                               </div>\n                                                                                <!-- END HEADER SHAPE -->\n\n                                                                           <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                                                  </form>\n                                                               </div>\n                                                                <!-- END OFFLINE TAB -->\n                                                      </div>\n                                                </div>\n                                                <div class="col-md-4">\n                                                        <!-- START STATE -->\n                                                  <div class="form-group">\n                                                              <!-- <label class="control-label">{{\'APPLICATION_ANIMATION\' | translate}}</label> -->\n                                                               <!-- <input colorpicker type="text" name="animationToggle" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" class="form-control" data-ng-model="chatWebsite.animation" required/> -->\n                                                               <ui-select data-ng-model="statePreview.state" name="statePreview" theme="bootstrap">\n                                                                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected}}</ui-select-match>\n                                                                   <ui-select-choices repeat="statePreview in [\'online\',\'offline\'] | filter: $select.search">\n                                                                                <div ng-bind-html="statePreview | highlight: $select.search"></div>\n                                                                   </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                        <!-- END STATE -->\n                                                    <preview></preview>\n                                           </div>\n                                </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/chat/website/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initView()">\n   <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-bubble"></i>\n                                   <a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n                                        <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-globe"></i>\n                                    <a href="/chat/websites/list">{{ \'APPLICATION_WEB_SITES\' | translate }}</a>\n                                 <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <a href="#">{{chatWebsite.name}}</a>\n                          </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img src="assets/images/media/website.png" class="img-responsive">\n                            </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{chatWebsite.name}}\n                                  </div>\n                                        <div class="profile-usertitle-job">\n                                           {{chatWebsite.address}}\n                                       </div>\n                                </div>\n                                <!-- END SIDEBAR USER TITLE -->\n                               <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.includes(\'main.chat.websites.view.snippet\')}">\n                                                   <a ng-href="/chat/websites/view/{{chatWebsite.id}}/snippet/view">\n                                                     <i class="icon-settings"></i>\n                                                 {{ \'APPLICATION_SNIPPET\' | translate }} </a>\n                                                </li>\n                                         <li data-ng-class="{active: $state.includes(\'main.chat.websites.view.actions\')}">\n                                                   <a ng-href="/chat/websites/view/{{chatWebsite.id}}/actions/list">\n                                                     <i class="icon-directions"></i>\n                                                       {{ \'APPLICATION_ACTIONS\' | translate }} </a>\n                                                </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/chat/website/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\n        <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-bubble"></i>\n                                           <a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n                                                <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-globe"></i>\n                                            <a href="/chat/websites/list">{{ \'APPLICATION_WEB_SITES\' | translate }}</a>\n                                 </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n      <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_WEB_SITE\' | translate }} WIZARD</a> </span>\n                           </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n          <wz-step title="{{\'APPLICATION_WEB_SITE_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n                                               <form name="forms.formSetting" novalidate>\n\n                                                  <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.name.$touched || forms.formSetting.$submitted) && forms.formSetting.name.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n                                                           <span data-ng-show="forms.formSetting.name.$touched && !forms.formSettings.name.$valid && forms.formSetting.name.$error.required" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START ADDRESS -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.address.$touched || forms.formSetting.$submitted) && forms.formSetting.address.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_WEB_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                         <input type="url" name="address" placeholder="{{\'APPLICATION_WEB_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.address" required/>\n                                                               <span data-ng-show="(forms.formSetting.address.$touched || forms.formSetting.$submitted) && forms.formSetting.address.$invalid && forms.formSetting.address.$error.required" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END ADDRESS -->\n\n                                                        <!-- START REMOTE IP -->\n                                                      <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.remote.$touched || forms.formSetting.$submitted) && forms.formSetting.remote.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                              <input type="url" name="remote" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.remote" required/>\n                                                              <span data-ng-show="(forms.formSetting.remote.$touched || forms.formSetting.$submitted) && forms.formSetting.remote.$invalid && forms.formSetting.remote.$error.required" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END REMOTE IP -->\n\n                                                      <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.form.description"/>\n                                                  </div>\n                                                        <!-- END DESCRIPTION -->\n                                                      <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n                                              </form>\n                                       </wz-step>\n\n                                  <wz-step title="{{\'APPLICATION_WEB_SITE_APPEARANCE\' | translate}}" canexit="exitValidation(forms.formAppearance.$valid)">\n                                           <form name="forms.formAppearance" novalidate>\n\n                                                       <!-- START MAIN COLOR -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.mainColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.host.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_MAIN_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                          <input colorpicker type="text" name="mainColor" placeholder="{{\'APPLICATION_MAIN_COLOR\' | translate}}" style="color:{{item.color}}" class="form-control" data-ng-model="item.color" required/>\n                                                              <span data-ng-show="(forms.formAppearance.mainColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.mainColor.$invalid && forms.formAppearance.mainColor.$error.required" class="help-block help-block-error">\n                                                                   <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END MAIN COLOR -->\n\n                                                     <!-- START FOCUS COLOR -->\n                                                    <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.focusColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.focusColor.$invalid}">\n                                                           <label class="control-label">{{\'APPLICATION_FOCUS_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                         <input colorpicker type="text" name="focusColor" placeholder="{{\'APPLICATION_FOCUS_COLOR\' | translate}}" style="color:{{item.color_focus}}" class="form-control" data-ng-model="item.color_focus" required/>\n                                                                <span data-ng-show="(forms.formAppearance.focusColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.focusColor.$invalid && forms.formAppearance.focusColor.$error.required" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END FOCUS COLOR -->\n\n                                                    <!-- START BUTTON COLOR -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.buttonColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.buttonColor.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_BUTTON_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input colorpicker type="text" name="buttonColor" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" style="color:{{item.color_button}}" class="form-control" data-ng-model="item.color_button" required/>\n                                                            <span data-ng-show="(forms.formAppearance.buttonColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.buttonColor.$invalid && forms.formAppearance.buttonColor.$error.required" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END BUTTON COLOR -->\n\n                                                   <!-- START HEADER SHAPE -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.headerShape.$touched || forms.formAppearance.$submitted) && forms.formAppearance.headerShape.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_HEADER_SHAPE\' | translate}}</label>\n                                                             <!-- <input colorpicker type="text" name="animationToggle" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" class="form-control" data-ng-model="item.animation" required/> -->\n                                                              <ui-select data-ng-model="item.header_shape" name="headerShape" theme="bootstrap">\n                                                                    <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$translate.instant(\'APPLICATION_\' + $select.selected.toUpperCase())}}</ui-select-match>\n                                                                      <ui-select-choices repeat="headerShape in [\'rounded\',\'squared\'] | filter: $select.search">\n                                                                                <div ng-bind-html="$translate.instant(\'APPLICATION_\' + headerShape.toUpperCase()) | highlight: $select.search"></div>\n                                                                       </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                        <!-- END HEADER SHAPE -->\n\n                                                   <!-- START ANIMATION TOGGLE -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.animationToggle.$touched || forms.formAppearance.$submitted) && forms.formAppearance.animationToggle.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_ANIMATION\' | translate}}</label>\n                                                                <ui-select data-ng-model="item.animation" name="animationToggle" theme="bootstrap">\n                                                                   <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected  ? \'On\' : \'Off\'}}</ui-select-match>\n                                                                       <ui-select-choices repeat="filter in [true,false] | filter: $select.search">\n                                                                          <div ng-bind-html="filter ? \'On\' : \'Off\' | highlight: $select.search"></div>\n                                                                      </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                        <!-- END ANIMATION TOGGLE -->\n\n\n                                                     <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n                                              </form>\n                                       </wz-step>\n\n                                  <wz-step title="{{\'APPLICATION_LABELS\' | translate}}" canexit="exitValidation(forms.formLabel.$valid)">\n                                             <form name="forms.formLabel" novalidate>\n\n                                                    <!-- START HEADER ONLINE -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.headerOnline.$touched || forms.formLabel.$submitted) && forms.formLabel.headerOnline.$invalid}">\n                                                              <label class="control-label">{{\'APPLICATION_HEADER_ONLINE\' | translate}}</label>\n                                                            <input type="text" name="headerOnline" placeholder="{{\'APPLICATION_HEADER_ONLINE\' | translate}}" class="form-control" data-ng-model="item.header_online"/>\n                                                  </div>\n                                                        <!-- END HEADER ONLINE -->\n\n                                                  <!-- START ONLINE MESSAGE-->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.onlineMessage.$touched || forms.formLabel.$submitted) && forms.formLabel.onlineMessage.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_ONLINE_MESSAGE\' | translate}}</label>\n                                                           <input type="text" name="onlineMessage" placeholder="{{\'APPLICATION_ONLINE_MESSAGE\' | translate}}" class="form-control" data-ng-model="item.online_message"/>\n                                                       </div>\n                                                        <!-- END HEADER ONLINE -->\n\n                                                  <!-- START USERNAME PLACEHOLDER -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.usernamePlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.usernamePlaceholder.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_USERNAME_PLACEHOLDER\' | translate}}</label>\n                                                             <input type="text" name="usernamePlaceholder" placeholder="{{\'APPLICATION_USERNAME_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="item.username_placeholder"/>\n                                                     </div>\n                                                        <!-- END USERNAME PLACEHOLDER -->\n\n                                                   <!-- START EMAIL PLACEHOLDER -->\n                                                      <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.emailPlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.emailPlaceholder.$invalid}">\n                                                              <label class="control-label">{{\'APPLICATION_EMAIL_PLACEHOLDER\' | translate}}</label>\n                                                                <input type="text" name="emailPlaceholder" placeholder="{{\'APPLICATION_EMAIL_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="item.email_placeholder"/>\n                                                      </div>\n                                                        <!-- END EMAIL PLACEHOLDER -->\n\n                                                      <!-- START START CHAT BUTTON -->\n                                                      <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.startChatButton.$touched || forms.formLabel.$submitted) && forms.formLabel.startChatButton.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_START_CHAT_BUTTON\' | translate}}</label>\n                                                                <input type="text" name="startChatButton" placeholder="{{\'APPLICATION_START_CHAT_BUTTON\' | translate}}" class="form-control" data-ng-model="item.start_chat_button"/>\n                                                       </div>\n                                                        <!-- END START CHAT BUTTON -->\n\n                                                      <!-- START HEADER OFFLINE -->\n                                                 <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.headerOffline.$touched || forms.formLabel.$submitted) && forms.formLabel.headerOnline.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_HEADER_OFFLINE\' | translate}}</label>\n                                                           <input type="text" name="headerOffline" placeholder="{{\'APPLICATION_HEADER_OFFLINE\' | translate}}" class="form-control" data-ng-model="item.header_offline"/>\n                                                       </div>\n                                                        <!-- END HEADER OFFLINE -->\n\n                                                 <!-- START OFFLINE MESSAGE-->\n                                                 <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.offlineMessage.$touched || forms.formLabel.$submitted) && forms.formLabel.onlineMessage.$invalid}">\n                                                           <label class="control-label">{{\'APPLICATION_OFFLINE_MESSAGE\' | translate}}</label>\n                                                          <input type="text" name="offlineMessage" placeholder="{{\'APPLICATION_OFFLINE_MESSAGE\' | translate}}" class="form-control" data-ng-model="item.offline_message"/>\n                                                    </div>\n                                                        <!-- END OFFLINE MESSAGE -->\n\n                                                        <!-- START ENQUIRY MESSAGE PLACEHOLDER-->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.enquiryMessagePlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.onlineMessage.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_ENQUIRY_MESSAGE_PLACEHOLDER\' | translate}}</label>\n                                                              <input type="text" name="enquiryMessagePlaceholder" placeholder="{{\'APPLICATION_ENQUIRY_MESSAGE_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="item.enquiry_message_placeholder"/>\n                                                 </div>\n                                                        <!-- END ENQUIRY MESSAGE PLACEHOLDER -->\n\n                                                    <!-- START ENQUIRY BUTTON -->\n                                                 <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.enquiryButton.$touched || forms.formLabel.$submitted) && forms.formLabel.startChatButton.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_ENQUIRY_BUTTON\' | translate}}</label>\n                                                           <input type="text" name="enquiryButton" placeholder="{{\'APPLICATION_ENQUIRY_BUTTON\' | translate}}" class="form-control" data-ng-model="item.enquiry_button"/>\n                                                       </div>\n                                                        <!-- END ENQUIRY BUTTON -->\n\n                                                 <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n                                              </form>\n                                       </wz-step>\n\n                                  <wz-step title="{{\'APPLICATION_FORMS\' | translate}}" canexit="exitValidation(forms.formAppearance.$valid)">\n                                         <form name="forms.formFunctionality" novalidate>\n\n                                                    <!-- START DOWNLOAD TRANSCRIPT -->\n                                                    <div class="form-group" data-ng-class="{\'has-error\': (forms.formFunctionality.animationToggle.$touched || forms.formFunctionality.$submitted) && forms.formFunctionality.animationToggle.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_DOWNLOAD_TRANSCRIPT\' | translate}}</label>\n                                                              <ui-select data-ng-model="item.download_transcript" name="downloadTranscript" theme="bootstrap">\n                                                                      <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected ? \'On\' : \'Off\'}}</ui-select-match>\n                                                                        <ui-select-choices repeat="downloadTranscript in [true, false] | filter: $select.search">\n                                                                             <div ng-bind-html="downloadTranscript ? \'On\' : \'Off\' | highlight: $select.search"></div>\n                                                                  </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                        <!-- END DOWNLOAD TRANSCRIPT -->\n\n                                                    <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n                                              </form>\n                                       </wz-step>\n\n                                  <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                             <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                            <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                 </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
+a.put("app/contactmanager/company/list/create.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_NEW_COMPANY\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="forms.company" novalidate>\n\n    <!-- START NAME -->\n    <div class="form-group" data-ng-class="{\'has-error\': (forms.company.name.$touched || forms.company.$submitted) && forms.company.name.$invalid}">\n      <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n      <span data-ng-show="(forms.cmopany.name.$touched || forms.company.$submitted) && forms.company.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END NAME -->\n\n    <!-- START DESCRIPTION -->\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"></textarea>\n    </div>\n    <!-- END DESCRIPTION -->\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.company.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/contactmanager/company/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-briefcase"></i>\n                                        <a href="/contactmanager/companies/list">{{ \'APPLICATION_COMPANIES\' | translate }}</a>\n                              </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-briefcase font-green-sharp"></i>\n                                       <span class="caption-subject">{{ \'APPLICATION_COMPANIES\' | translate }}</a> </span>\n                         </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="Companies.checked.length">\n                                               <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <button class="btn green-jungle " ng-click="create()">\n                                                        <i class="icon-plus"></i> {{ \'APPLICATION_NEW_COMPANY\' | translate }}\n                                               </button>\n                                     </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getCompanies([\'name\', \'description\'])" csv-header="[\'Name\', \'Description\']" field-separator=";" filename="companies.csv">\n                                   <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedCompanies" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                       <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="4">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.companiesByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                             <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="companyByPage in companiesByPage | filter: $select.search">\n                                                                                                        <div ng-bind-html="companyByPage.name | highlight: $select.search"></div>\n                                                                                             </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(company, checked)" checklist-model checklist-value="id"></th>\n                                                  <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                              <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="company in displayedCompanies" class="animate-repeat">\n                                                                <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="Companies.checked" checklist-value="company.id"></td>\n                                                          <td>{{company.name}}</td>\n                                           <td>{{company.description}}</td>\n                                              <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/contactmanager/companies/view/{{company.id}}/settings">\n                                                                              {{ \'APPLICATION_SETTINGS\' | translate}}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(company.name,company.id)">\n                                                                         {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedCompanies.length">\n                                                         <td colspan="4" style="text-align:center;">\n                                                                   <i>{{ \'MESSAGE_NO_COMPANIES_AVAILABLE\' | translate }}</i>\n                                                           </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                 <td/>\n                                               </tr>\n                                           <tr>\n                                            <td colspan="4" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.companiesByPage.value" st-displayed-pages="7"></div>\n                                           </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/contactmanager/company/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getCompany()">\n     <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-briefcase"></i>\n                                        <a href="/contactmanager/companies/list">{{ \'APPLICATION_COMPANIES\' | translate }}</a>\n                                      <i data-ng-show="company" class="fa fa-angle-right"></i>\n                              </li>\n                         <li data-ng-show="company">\n                                   <a href="#">{{company.name}}</a>\n                              </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/company.png" class="img-responsive">\n                            </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{company.name}}\n                                      </div>\n                                        <!-- <div class="profile-usertitle-job">\n                                              {{user.role}}\n                                 </div> -->\n                            </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.contactmanager.companies.view.settings\')}">\n                                                     <a data-ng-href="/contactmanager/companies/view/{{company.id}}/settings">\n                                                     <i class="icon-settings"></i>\n                                                 {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n                                                </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/contactmanager/company/view/view.settings.html",'<div class="row">\n    <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_COMPANY\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n                             </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n                                     </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_ADDRESS\' | translate}}</a>\n                                     </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_3" data-toggle="tab">{{ \'APPLICATION_SHIPMENT_ADDRESS\' | translate}}</a>\n                                    </li>\n                         </ul>\n                 </div>\n\n                      <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.general" data-ng-submit="forms.general.$valid && updateCompany()" novalidate>\n\n                                                     <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="company.name" required/>\n                                                                <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="company.description"></textarea>\n                                                       </div>\n                                                        <!-- END DESCRIPTION -->\n                                                      <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END ADVANCED TAB -->\n                                     <div class="tab-pane" id="tab_1_2">\n                                           <!-- START STREET -->\n                                         <div class="form-group" data-ng-class="{\'has-error\': (forms.general.street.$touched || forms.general.$submitted) && forms.general.street.$invalid}">\n                                                        <label class="control-label">{{\'APPLICATION_STREET\' | translate}}</label>\n                                                   <input type="text" name="street" placeholder="{{\'APPLICATION_STREET\' | translate}}" class="form-control" data-ng-model="company.street"/>\n                                                   <span data-ng-show="(forms.general.street.$touched || forms.general.$submitted) && forms.general.street.$error.required" class="help-block help-block-error">\n                                                         <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END STREET -->\n\n                                         <!-- START POSTALCODE -->\n                                             <div class="form-group" data-ng-class="{\'has-error\': (forms.general.postalCode.$touched || forms.general.$submitted) && forms.general.postalCode.$invalid}">\n                                                        <label class="control-label">{{\'APPLICATION_POSTALCODE\' | translate}}</label>\n                                                       <input type="text" name="postalCode" placeholder="{{\'APPLICATION_POSTALCODE\' | translate}}" class="form-control" data-ng-model="company.postalCode"/>\n                                                       <span data-ng-show="(forms.general.postalCode.$touched || forms.general.$submitted) && forms.general.postalCode.$error.required" class="help-block help-block-error">\n                                                         <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END POSTALCODE -->\n\n                                             <!-- START CITY -->\n                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.general.city.$touched || forms.general.$submitted) && forms.general.city.$invalid}">\n                                                    <label class="control-label">{{\'APPLICATION_CITY\' | translate}}</label>\n                                                     <input type="text" name="city" placeholder="{{\'APPLICATION_CITY\' | translate}}" class="form-control" data-ng-model="company.city"/>\n                                                 <span data-ng-show="(forms.general.city.$touched || forms.general.$submitted) && forms.general.city.$error.required" class="help-block help-block-error">\n                                                             <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END CITY -->\n                                             <!-- START COUNTRY -->\n                                                <div class="form-group" data-ng-class="{\'has-error\': (forms.general.country.$touched || forms.general.$submitted) && forms.general.country.$invalid}">\n                                                      <label class="control-label">{{\'APPLICATION_COUNTRY\' | translate}}</label>\n                                                  <input type="text" name="country" placeholder="{{\'APPLICATION_COUNTRY\' | translate}}" class="form-control" data-ng-model="company.country"/>\n                                                        <span data-ng-show="(forms.general.country.$touched || forms.general.$submitted) && forms.general.country.$error.required" class="help-block help-block-error">\n                                                               <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END COUNTRY -->\n                                          <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                  </div>\n                                        <div class="tab-pane" id="tab_1_3">\n                                           <!-- START STREET -->\n                                         <div class="form-group" data-ng-class="{\'has-error\': (forms.general.sStreet.$touched || forms.general.$submitted) && forms.general.sStreet.$invalid}">\n                                                      <label class="control-label">{{\'APPLICATION_STREET\' | translate}}</label>\n                                                   <input type="text" name="sStreet" placeholder="{{\'APPLICATION_STREET\' | translate}}" class="form-control" data-ng-model="company.sStreet"/>\n                                                 <span data-ng-show="(forms.general.sStreet.$touched || forms.general.$submitted) && forms.general.sStreet.$error.required" class="help-block help-block-error">\n                                                               <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END STREET -->\n\n                                         <!-- START POSTALCODE -->\n                                             <div class="form-group" data-ng-class="{\'has-error\': (forms.general.sPostalCode.$touched || forms.general.$submitted) && forms.general.sPostalCode.$invalid}">\n                                                      <label class="control-label">{{\'APPLICATION_POSTALCODE\' | translate}}</label>\n                                                       <input type="text" name="sPostalCode" placeholder="{{\'APPLICATION_POSTALCODE\' | translate}}" class="form-control" data-ng-model="company.sPostalCode"/>\n                                                     <span data-ng-show="(forms.general.sPostalCode.$touched || forms.general.$submitted) && forms.general.sPostalCode.$error.required" class="help-block help-block-error">\n                                                               <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END POSTALCODE -->\n\n                                             <!-- START CITY -->\n                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.general.sCity.$touched || forms.general.$submitted) && forms.general.sCity.$invalid}">\n                                                  <label class="control-label">{{\'APPLICATION_CITY\' | translate}}</label>\n                                                     <input type="text" name="sCity" placeholder="{{\'APPLICATION_CITY\' | translate}}" class="form-control" data-ng-model="company.sCity"/>\n                                                       <span data-ng-show="(forms.general.sCity.$touched || forms.general.$submitted) && forms.general.sCity.$error.required" class="help-block help-block-error">\n                                                           <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END CITY -->\n                                             <!-- START COUNTRY -->\n                                                <div class="form-group" data-ng-class="{\'has-error\': (forms.general.sCountry.$touched || forms.general.$submitted) && forms.general.sCountry.$invalid}">\n                                                    <label class="control-label">{{\'APPLICATION_COUNTRY\' | translate}}</label>\n                                                  <input type="text" name="sCountry" placeholder="{{\'APPLICATION_COUNTRY\' | translate}}" class="form-control" data-ng-model="company.sCountry"/>\n                                                      <span data-ng-show="(forms.general.sCountry.$touched || forms.general.$submitted) && forms.general.sCountry.$error.required" class="help-block help-block-error">\n                                                             <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END COUNTRY -->\n                                          <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                  </div>\n                                </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/contactmanager/contact/list/import.modal.html",'<div class="modal-header" data-ng-init="getCustomFields();">\n  <h3 class="modal-title">{{ \'APPLICATION_IMPORT_FROM_CSV\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="forms.csv" novalidate>\n    <div class="row">\n      <div class="col-md-6">\n    <!-- START FULLNAME -->\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.fullname.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}</label>\n      <ui-select data-ng-model="item.fullname" theme="bootstrap" name="fullname" data-ng-disabled="disabled" required>\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_FULLNAME\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.fullname.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END FULLNAME -->\n\n    <!-- START STREET -->\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.street.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_STREET\' | translate}}</label>\n      <ui-select data-ng-model="item.street" theme="bootstrap" name="street" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_STREET\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.street.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END STREET -->\n\n    <!-- START POSTALCODE -->\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.postalCode.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_POSTALCODE\' | translate}}</label>\n      <ui-select data-ng-model="item.postalCode" theme="bootstrap" name="postalCode" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_POSTALCODE\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.postalCode.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END POSTALCODE -->\n\n    <!-- START CITY -->\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.city.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_CITY\' | translate}}</label>\n      <ui-select data-ng-model="item.city" theme="bootstrap" name="city" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_CITY\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.city.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END CITY -->\n\n    <!-- START PHONES -->\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.Phones.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_PHONES\' | translate}}</label>\n      <ui-select multiple data-ng-model="item.Phones" theme="bootstrap" name="Phones" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_PHONES\' | translate }}">{{$item}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.Phones.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END PHONES -->\n\n  </div>\n  <div class="col-md-6">\n\n    <!-- START COUNTRY -->\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.country.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_COUNTRY\' | translate}}</label>\n      <ui-select data-ng-model="item.country" theme="bootstrap" name="country" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_COUNTRY\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.country.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END COUNTRY -->\n\n    <!-- START DATEOFBIRTH -->\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.dateOfBirth.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_DATEOFBIRTH\' | translate}}</label>\n      <ui-select data-ng-model="item.dateOfBirth" theme="bootstrap" name="dateOfBirth" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_DATEOFBIRTH\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.dateOfBirth.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END DATEOFBIRTH -->\n\n    <!-- START TAGS -->\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.tags.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_TAGS\' | translate}}</label>\n      <ui-select multiple data-ng-model="item.tags" theme="bootstrap" name="tags" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_TAGS\' | translate }}">{{$item}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.tags.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END TAGS -->\n\n    <!-- START DESCRIPTION -->\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.description.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <ui-select data-ng-model="item.description" theme="bootstrap" name="description" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_DESCRIPTION\' | translate }}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.description.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END DESCRIPTION -->\n\n    <!-- START EMAILS -->\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv.Emails.$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{\'APPLICATION_EMAILS\' | translate}}</label>\n      <ui-select multiple data-ng-model="item.Emails" theme="bootstrap" name="Emails" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_EMAILS\' | translate }}">{{$item}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv.Emails.$invalid && forms.csv.$touched" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END EMAILS -->\n\n  </div>\n  </div>\n\n  <!-- START CUSTOMFIELDS -->\n  <div data-ng-repeat="customField in customFields">\n    <div class="form-group" data-ng-class="{\'has-error\': forms.csv[customField.name].$invalid && forms.csv.$submitted}">\n      <label class="control-label">{{customField.name}}</label>\n      <ui-select data-ng-if="!joinPrompt" data-ng-model="item.customFields[customField.id]" theme="bootstrap" name="{{customField.name}}" data-ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{customField.name}}">{{$select.selected}}</ui-select-match>\n        <ui-select-choices repeat="index in indexes | filter: $select.search">\n          <div ng-bind-html="index | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.csv[customField.name].$invalid && forms.csv.$submitted" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n  </div>\n  <!-- END CUSTOMFIELDS -->\n\n  <div>\n    <p>{{\'APPLICATION_IMPORT_SUCCEEDED\' | translate}}: {{import.succeeded}}/{{csvLength}}</p>\n    <div class="progress progress-sm" style="">\n      <div class="progress-bar progress-bar-info" role="progressbar" ng-style="{ \'width\': import.success + \'%\' }"></div>\n    </div>\n  </div>\n  <div>\n    <p>{{\'APPLICATION_IMPORT_FAILED\' | translate}}: {{import.failed}}/{{csvLength}}</p>\n    <div class="progress progress-sm" style="">\n      <div class="progress-bar progress-bar-info" role="progressbar" ng-style="{ \'width\': import.fail + \'%\' }"></div>\n    </div>\n  </div>\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="start()" ng-disabled="forms.csv.$invalid || !forms.csv.fullname || submitted">{{ \'APPLICATION_SUBMIT\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="close()" data-ng-if="!importing">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="stop()" data-ng-if="importing">{{ \'APPLICATION_STOP\' | translate }}</button>\n</div>\n'),a.put("app/contactmanager/contact/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n        <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="fa fa-users"></i>\n                                   <a href="/contactmanager/contacts/list">{{ \'APPLICATION_CONTACT_MANAGER\' | translate }}</a>\n                         </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="fa fa-users font-green-sharp"></i>\n                                  <span class="caption-subject">{{ \'APPLICATION_CONTACTS\' | translate }}</a> </span>\n                          </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="contacts.checked.length">\n                                                <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <button class="btn green-jungle" data-ng-click="newContact();">\n                                                       <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONTACT\' | translate }}\n                                               </button>\n                                             <span class="btn default btn-file">\n                                           <span class="fileinput-new">\n                                          <i class="icon-cloud-upload"></i> {{\'APPLICATION_IMPORT_FROM_CSV\' | translate}}</span>\n                                              <input type="file" nv-file-select="" uploader="uploader"/>\n                                            </span>\n                                       </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getContacts([\'mailbox\', \'fullname\', \'email\'])" csv-header="[\'name\', \'surname\', \'description\']" field-separator=";" filename="contacts.csv">\n                                     <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedContacts" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                        <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="4">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.contactsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                              <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="contactByPage in contactsByPage | filter: $select.search">\n                                                                                                 <div ng-bind-html="contactByPage.name | highlight: $select.search"></div>\n                                                                                             </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(contact, checked)" checklist-model checklist-value="id"></th>\n                                                  <th st-sort="fullname">{{ \'APPLICATION_FULLNAME\' | translate }}</th>\n                                                <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                              <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="contact in displayedContacts" class="animate-repeat">\n                                                         <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="contacts.checked" checklist-value="contact.id"></td>\n                                                           <td>{{contact.fullname}} {{}}</td>\n                                          <td>{{contact.description}}</td>\n                                              <td>\n                                            <button class="btn default btn-xs blue-stripe" data-ng-click="openContactTab(contact)">\n                                                                               {{ \'APPLICATION_SETTINGS\' | translate}}\n                                             </button>\n                                             <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(contact.fullname,contact.id)">\n                                                                             {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedContacts.length">\n                                                          <td colspan="4" style="text-align:center;">\n                                                                   <i>{{ \'MESSAGE_NO_CONTACTS_AVAILABLE\' | translate }}</i>\n                                                            </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="fullname" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_FULLNAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                 <td>\n                                                  </td>\n                                               </tr>\n                                           <tr>\n                                            <td colspan="4" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.contactsByPage.value" st-displayed-pages="7"></div>\n                                            </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
+a.put("app/contactmanager/customfield/list/create.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_NEW_CUSTOM_FIELD\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="forms.customField" novalidate>\n\n    <!-- START NAME -->\n    <div class="form-group" data-ng-class="{\'has-error\': (forms.customField.name.$touched || forms.customField.$submitted) && forms.customField.name.$invalid}">\n      <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n      <span data-ng-show="(forms.customField.name.$touched || forms.customField.$submitted) && forms.customField.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END NAME -->\n\n    <!-- START TYPE -->\n    <div class="form-group"  data-ng-class="{\'has-error\': (forms.customField.type.$touched || forms.customField.$submitted) && forms.customField.type.$invalid}">\n      <label class="control-label">{{ \'APPLICATION_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n      <ui-select data-ng-model="item.type" name="type" theme="bootstrap" required>\n        <ui-select-match placeholder="{{ \'APPLICATION_TYPE\' | translate }}">{{$translate.instant($select.selected.name)}}</ui-select-match>\n        <ui-select-choices repeat="type.value as type in types| filter: $select.search">\n          {{$translate.instant(type.name)}}\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="(forms.customField.type.$touched || forms.customField.$submitted) && forms.customField.type.$invalid && forms.customField.type.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END TYPE -->\n\n    <div ng-slide-down="item.type == \'select\'" lazy-render duration="1">\n      <div>\n        <label class="control-label">{{\'APPLICATION_CHOICES\' | translate}}</label>\n      </div>\n      <div class="padding-bottom" ng-repeat="choice in choices">\n        <div class="form-group">\n          <div class="input-group">\n            <input type="text" class="form-control" ng-model="choice.value" required>\n            <span class="input-group-btn">\n            <button class="btn red" type="button"data-ng-click="removeField($index)" data-ng-disabled="choices.length<=1"><i class="fa fa-times"></i></button>\n            </span>\n          </div>\n        </div>\n      </div>\n      <button type="button" class="btn btn-sm green padding-bottom" ng-click="addField()">\n        <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CHOICE\' | translate}}\n      </button>\n\n    </div>\n\n    <!-- START DESCRIPTION -->\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"></textarea>\n    </div>\n    <!-- END DESCRIPTION -->\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.customField.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/contactmanager/customfield/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n      <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-pencil"></i>\n                                   <a href="/contactmanager/customfields/list">{{ \'APPLICATION_CUSTOM_FIELDS\' | translate }}</a>\n                               </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-pencil font-green-sharp"></i>\n                                  <span class="caption-subject">{{ \'APPLICATION_CUSTOM_FIELDS\' | translate }}</a> </span>\n                             </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="CustomFields.checked.length">\n                                            <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <button class="btn green-jungle " ng-click="create()">\n                                                        <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CUSTOM_FIELD\' | translate }}\n                                          </button>\n                                     </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getCs([\'name\', \'description\'])" csv-header="[\'Name\', \'Description\']" field-separator=";" filename="customFields.csv">\n                                       <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedCustomFields" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                    <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="5">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.customFieldsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                          <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="customFieldByPage in customFieldsByPage | filter: $select.search">\n                                                                                                 <div ng-bind-html="customFieldByPage.name | highlight: $select.search"></div>\n                                                                                         </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(customField, checked)" checklist-model checklist-value="id"></th>\n                                              <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                            <th st-sort="type">{{ \'APPLICATION_TYPE\' | translate }}</th>\n                                                    <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                              <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="customField in displayedCustomFields" class="animate-repeat">\n                                                         <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="customFields.checked" checklist-value="customField.id"></td>\n                                                           <td>{{customField.name}}</td>\n                                                         <td>{{customField.type}}</td>\n                                       <td>{{customField.description}}</td>\n                                          <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/contactmanager/customfields/view/{{customField.id}}/settings">\n                                                                               {{ \'APPLICATION_SETTINGS\' | translate}}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(customField.name,customField.id)">\n                                                                         {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedCustomFields.length">\n                                                              <td colspan="5" style="text-align:center;">\n                                                                   <i>{{ \'MESSAGE_NO_CUSTOM_FIELDS_AVAILABLE\' | translate }}</i>\n                                                               </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_TYPE\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                                </td>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                 <td/>\n                                               </tr>\n                                           <tr>\n                                            <td colspan="4" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.customFieldsByPage.value" st-displayed-pages="7"></div>\n                                        </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/contactmanager/customfield/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getCustomField()">\n     <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-pencil"></i>\n                                   <a href="/contactmanager/customfields/list">{{ \'APPLICATION_CUSTOM_FIELDS\' | translate }}</a>\n                                       <i data-ng-show="customField" class="fa fa-angle-right"></i>\n                          </li>\n                         <li data-ng-show="customField">\n                                       <a href="#">{{customField.name}}</a>\n                          </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/customfield.png" class="img-responsive">\n                                </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{customField.name}}\n                                  </div>\n                                        <!-- <div class="profile-usertitle-job">\n                                              {{user.role}}\n                                 </div> -->\n                            </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.contactmanager.customfields.view.settings\')}">\n                                                  <a data-ng-href="/contactmanager/customfields/view/{{customField.id}}/settings">\n                                                      <i class="icon-settings"></i>\n                                                 {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n                                                </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/contactmanager/customfield/view/view.settings.html",'<div class="row">\n        <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_CUSTOM_FIELD\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n                                </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n                                     </li>\n                         </ul>\n                 </div>\n\n                      <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.general" data-ng-submit="forms.general.$valid && updateCustomField()" novalidate>\n\n                                                 <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="customField.name" required/>\n                                                            <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <div ng-slide-down="customField.type == \'select\'" lazy-render duration="1" class="mbottom20">\n                                                               <div>\n                                                                 <label class="control-label">{{\'APPLICATION_CHOICES\' | translate}}</label>\n                                                          </div>\n                                                                <div class="padding-bottom" ng-repeat="choice in choices">\n                                                                    <div class="form-group">\n                                                                              <div class="input-group">\n                                                                                     <input type="text" class="form-control" ng-model="choice.value" required>\n                                                                                     <span class="input-group-btn">\n                                                                                        <button class="btn red" type="button"data-ng-click="removeField($index)" data-ng-disabled="choices.length<=1"><i class="fa fa-times"></i></button>\n                                                                                    </span>\n                                                                               </div>\n                                                                        </div>\n                                                                </div>\n                                                                <button type="button" class="btn btn-sm green padding-bottom" ng-click="addField()">\n                                                                  <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CHOICE\' | translate}}\n                                                         </button>\n\n                                                   </div>\n\n                                                      <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="customField.description"></textarea>\n                                                   </div>\n                                                        <!-- END DESCRIPTION -->\n                                                      <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END ADVANCED TAB -->\n\n                           </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/dashboard/dashboard.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n        <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/dashboard/voice">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                            </li>\n                 </ul>\n         </div>\n\n              <div>\n             <nav class="navbar navbar-default" role="navigation">\n                     <div class="navbar-header">\n                       <button type="button" class="navbar-toggle" ng-init="navCollapsed = true" ng-click="navCollapsed = !navCollapsed">\n                                <span class="sr-only">Toggle navigation</span>\n                                <span class="icon-bar"></span>\n                                <span class="icon-bar"></span>\n                                <span class="icon-bar"></span>\n                            </button>\n                     <!-- <a class="navbar-brand" ui-sref="home">Brand</a> -->\n                 </div>\n\n                      <!-- Collect the nav links, forms, and other content for toggling -->\n                 <div class="collapse navbar-collapse" ng-class="!navCollapsed && \'in\'">\n                         <ul class="nav navbar-nav">\n                                                                       <!-- <li dropdown>\n                                                                                    <a href="#" dropdown-toggle>\n                                                                                                  {{ \'APPLICATION_VOICE\' | translate }}\n                                                                                                       <b class=\'caret\'></b>\n                                                                                       </a>\n                                                                                  <tree tree=\'voice\'></tree>\n                                                                  </li>\n                                                                 <li dropdown>\n                                                                                 <a href="#" dropdown-toggle>\n                                                                                                  {{ \'APPLICATION_MAIL\' | translate }}\n                                                                                                        <b class=\'caret\'></b>\n                                                                                       </a>\n                                                                                  <tree tree=\'mail\'></tree>\n                                                                   </li> -->\n                             <li data-ng-class="{active: $state.is(\'main.dashboard.voice\')}">\n                                <a href="/dashboard/voice">\n                                                                                                       <b class=\'icon-earphones-alt\'></b>\n                                  {{ \'APPLICATION_VOICE\' | translate }}\n                                   </a>\n                                  <!-- <tree tree=\'voice\'></tree> -->\n                             </li>\n                                                                         <li data-ng-class="{active: $state.is(\'main.dashboard.mail\')}">\n                                 <a href="/dashboard/mail">\n                                                                                                        <b class=\'icon-envelope\'></b>\n                                       {{ \'APPLICATION_MAIL\' | translate }}\n                                    </a>\n                                  <!-- <tree tree=\'mail\'></tree> -->\n                              </li>\n                     </ul>\n                         <!-- <ul class="nav navbar-nav">\n                          <li dropdown>\n                             <a href="#" dropdown-toggle>\n                                      {{ \'APPLICATION_QUEUES\' | translate }}\n                                      <b class=\'caret\'></b>\n                                   </a>\n                                  <tree tree=\'queues\'></tree>\n                             </li>\n                     </ul> -->\n                 </div>\n                        <!-- /.navbar-collapse -->\n                </nav>\n            </div>\n                <div ui-view></div>\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/dashboard/mail/mail.html",'<div class="col-md-12">\nThis is the mail view.\n</div>\n'),a.put("app/dashboard/voice/voice.html",'<div class="row" ng-init=\'getQueueStats()\'>\n  <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n    <div class="dashboard-stat red-intense">\n      <div class="visual">\n        <i class="fa fa-comments"></i>\n      </div>\n      <div class="details">\n        <div class="number">\n          {{queueStats.abandonedCalls}}\n        </div>\n        <div class="desc">\n          {{\'APPLICATION_DASHBOARD_ABANDONED\' | translate}}\n        </div>\n      </div>\n      <a class="more" href="/voice/realtime/view/queues">\n      {{\'APPLICATION_VIEW_MORE\' | translate}} <i class="m-icon-swapright m-icon-white"></i>\n      </a>\n    </div>\n  </div>\n  <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n    <div class="dashboard-stat green-haze">\n      <div class="visual">\n        <i class="fa fa-bar-chart-o"></i>\n      </div>\n      <div class="details">\n        <div class="number">\n          {{queueStats.completedCalls}}\n        </div>\n        <div class="desc">\n          {{\'APPLICATION_DASHBOARD_COMPLETED\' | translate}}\n        </div>\n      </div>\n      <a class="more" href="/voice/realtime/view/queues">\n      {{\'APPLICATION_VIEW_MORE\' | translate}} <i class="m-icon-swapright m-icon-white"></i>\n      </a>\n    </div>\n  </div>\n  <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n    <div class="dashboard-stat purple-plum">\n      <div class="visual">\n        <i class="fa fa-shopping-cart"></i>\n      </div>\n      <div class="details">\n        <div class="number">\n          {{queueStats.waitCalls}}\n        </div>\n        <div class="desc">\n          {{\'APPLICATION_DASHBOARD_WAIT\' | translate}}\n        </div>\n      </div>\n      <a class="more" href="/voice/realtime/view/queues">\n      {{\'APPLICATION_VIEW_MORE\' | translate}} <i class="m-icon-swapright m-icon-white"></i>\n      </a>\n    </div>\n  </div>\n  <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">\n    <div class="dashboard-stat blue-madison">\n      <div class="visual">\n        <i class="fa fa-globe"></i>\n      </div>\n      <div class="details">\n        <div class="number">\n          {{queueStats.activeCalls}}\n        </div>\n        <div class="desc">\n          {{\'APPLICATION_DASHBOARD_ACTIVE\' | translate}}\n        </div>\n      </div>\n      <a class="more" href="/voice/realtime/view/queues">\n      {{\'APPLICATION_VIEW_MORE\' | translate}} <i class="m-icon-swapright m-icon-white"></i>\n      </a>\n    </div>\n  </div>\n</div>\n'),a.put("app/desk/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n      <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-handbag"></i>\n                                  <a href="/desk/list">{{ \'APPLICATION_DESK_COM\' | translate }}</a>\n                           </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-handbag font-green-sharp"></i>\n                                 <span class="caption-subject">{{ \'APPLICATION_DESK_COM\' | translate }}</a> </span>\n                          </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="accounts.checked.length">\n                                                <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle" href="#" data-toggle="dropdown">\n                                                  <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }} <i class="fa fa-angle-down"></i>\n                                              </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <li>\n                                                          <a href="/desk/wizard">\n                                                               <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                         </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getAccounts([\'name\',\'username\',\'remoteUri\',\'authType\',\'consumerKey\',\'consumerSecret\',\'token\',\'tokenSecret\',\'password\'])" csv-header="[\'Name\', \'Username\', \'Remote Address\', \'Authentication Type\', \'Consumer Key\', \'Consumer Secret\', \'Token\', \'Token Secret\', \'Password\']" field-separator=";" filename="desk_accounts.csv">\n                                   <i class="icon-cloud-download"></i></a>\n                               </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedDeskAccounts" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                    <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="7">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.accountsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                              <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="accountByPage in accountsByPage | filter: $select.search">\n                                                                                                 <div ng-bind-html="accountByPage.name | highlight: $select.search"></div>\n                                                                                             </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(account, checked)" checklist-model checklist-value="id"></th>\n                                                  <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                <th st-sort="username">{{ \'APPLICATION_EMAIL\' | translate }}</th>\n                                                               <th st-sort="remoteUri">{{ \'APPLICATION_REMOTE_ADDRESS\' | translate }}</th>\n                                                         <th>{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                                <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="account in displayedDeskAccounts" class="animate-repeat">\n                                                             <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="accounts.checked" checklist-value="account.id"></td>\n                                         <td>{{account.name}}</td>\n                                             <td>{{account.username}}</td>\n                                                           <td>{{account.remoteUri}}</td>\n                                                                <td>{{account.description}}</td>\n                                            <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/desk/view/{{account.id}}/account">\n                                                                           {{ \'APPLICATION_EDIT\' | translate }}\n                                                </a>\n                                                                  <a class="btn default btn-xs green-stripe" data-ng-click="checkAccount(account.id)">\n                                                                          {{ \'APPLICATION_CHECK_CONNECTION\' | translate }}\n                                            </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(account.name,account.id)">\n                                                                         {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedDeskAccounts.length">\n                                                              <td colspan="7" style="text-align:center;">\n                                                                   <i>No account available</i>\n                                                           </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="email" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_EMAIL\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                      </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="remoteUri" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_REMOTE_ADDRESS\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                 </div>\n                                                    </td>\n                                                 <td/>\n                                                             <td/>\n                                           </tr>\n                                           <tr>\n                                            <td colspan="7" class="text-center">\n                                                                    <div class="pagination" st-pagination st-items-by-page="conf.accountsByPage.value" st-displayed-pages="7"></div>\n                                            </td>\n                                       </tr>\n                                       </tfoot>\n                                    </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/desk/view/view.account.html",'<div class="row">\n       <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_ACCOUNT\' | translate}}</span>\n                         </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n                                     </li>\n                         </ul>\n                 </div>\n                        <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n              <!-- START NAME -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.name.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.name" required/>\n                                                                <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n                                                     <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n                                                    </div>\n                                                        <!-- END DESCRIPTION -->\n\n              <!-- START USERNAME -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                            <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.username" required/>\n                                                            <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n              <!-- START REMOTE ADDRESS -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                              <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.remoteUri" required />\n                                                            <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n                                                       <!-- START AUTH TYPE -->\n                                                      <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.authType.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}</label>\n                                                              <ui-select data-ng-model="account.authType" name="authType" theme="bootstrap" required>\n                                                                       <ui-select-match placeholder="{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n                                                                        <ui-select-choices repeat="type in [\'basic\', \'oauth\'] | filter: $select.search">\n                                                                          <div data-ng-bind="type | capitalize | highlight: $select.search"></div>\n                                                                      </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.formSetting.authType.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- START AUTH TYPE -->\n\n              <!-- START PASSWORD -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}" ng-slide-down="account.authType == \'basic\'" lazy-render duration="1">\n                                                          <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                            <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.password" required/>\n                                                                <span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END PASSWORD -->\n\n                                                       <!-- START CONSUMER KEY -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.consumerKey.$invalid}" ng-slide-down="account.authType == \'oauth\'" lazy-render duration="1">\n                                                               <label class="control-label">{{\'APPLICATION_CONSUMER_KEY\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="consumerKey" placeholder="{{\'APPLICATION_CONSUMER_KEY\' | translate}}" class="form-control" data-ng-model="account.consumerKey" required/>\n                                                          <span data-ng-show="forms.formSetting.consumerKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END CONSUMER KEY -->\n\n              <!-- START CONSUMER SECRET -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.consumerSecret.$invalid}" ng-slide-down="account.authType == \'oauth\'" lazy-render duration="1">\n                                                            <label class="control-label">{{\'APPLICATION_CONSUMER_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                             <input type="text" name="consumerSecret" placeholder="{{\'APPLICATION_CONSUMER_SECRET\' | translate}}" class="form-control" data-ng-model="account.consumerSecret" required/>\n                                                         <span data-ng-show="forms.formSetting.consumerSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                   <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END CONSUMER SECRET -->\n\n              <!-- START TOKEN -->\n                                                    <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.token.$invalid}" ng-slide-down="account.authType == \'oauth\'" lazy-render duration="1">\n                                                             <label class="control-label">{{\'APPLICATION_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                               <input type="text" name="token" placeholder="{{\'APPLICATION_TOKEN\' | translate}}" class="form-control" data-ng-model="account.token" required/>\n                                                             <span data-ng-show="forms.formSetting.token.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END TOKEN -->\n\n              <!-- START TOKEN SECRET-->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.tokenSecret.$invalid}" ng-slide-down="account.authType == \'oauth\'" lazy-render duration="1">\n                                                               <label class="control-label">{{\'APPLICATION_TOKEN_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="tokenSecret" placeholder="{{\'APPLICATION_TOKEN_SECRET\' | translate}}" class="form-control" data-ng-model="account.tokenSecret" required/>\n                                                          <span data-ng-show="forms.formSetting.tokenSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END TOKEN SECRET-->\n\n                                                    <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END GENERAL TAB -->\n\n                            </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),
+a.put("app/desk/view/view.configuration.html",'<div class="row" data-ng-init="initConfiguration()">\n  <div class="col-md-12">\n               <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_CONFIGURATION\' | translate }} WIZARD</a> </span>\n                              </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createConfiguration()">\n            <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="formValidation(formsConfiguration.info.$valid)">\n                                                   <form name="formsConfiguration.info" novalidate>\n                                                              <!-- START NAME -->\n                                                           <div class="form-group" data-ng-class="{\'has-error\': formsConfiguration.info.$submitted && formsConfiguration.info.name.$invalid}">\n                                                                 <label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                        <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="configuration.name" required/>\n                                                                  <span data-ng-show="formsConfiguration.info.name.$invalid && formsConfiguration.info.$submitted" class="help-block help-block-error">\n                                                                         <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END NAME -->\n                                                             <!-- START DESCRIPTION -->\n                                                            <div class="form-group">\n                                                                      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                                      <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="configuration.description"/>\n                                                              </div>\n                                                                <!-- END DESCRIPTION -->\n\n                                                            <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n                                                       </form>\n                                               </wz-step>\n\n                                          <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                                    <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                         </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/desk/view/view.configurationSettings.html",'<div class="row" data-ng-init="getConfiguration();getVariables();getFields();">\n   <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n                            </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n                                      </li>\n          <li>\n                                         <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n                                  </li>\n          <li>\n                                         <a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n                                       </li>\n                         </ul>\n                 </div>\n                        <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- SUBJECT TAB -->\n                                  <div class="tab-pane ui-padding active" id="tab_1_1">\n            <div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by blank space:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItemSubject()"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n                                          <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n                <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n                 <div class="col-md-3">\n                  <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n                       <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n                     <ui-select-choices repeat="item in fieldType | filter: $select.search">\n                         <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n                    </ui-select-choices>\n                        </ui-select>\n                </div>\n                <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n                        <div class="form-group">\n                        <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n                      </div>\n                      </div>\n                <div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n                      <div class="form-group">\n                        <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                     <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n                              <div ng-bind-html="variable.name | highlight: $select.search"></div>\n                        </ui-select-choices>\n                        </ui-select>\n                        </div>\n                      </div>\n                <div class="col-md-1">\n                  <div class="form-group">\n                        <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n                  </div>\n                      </div>\n              </div>\n                                            <!-- </div> -->\n                                       </div>\n                                        <!-- END SUBJECT TAB -->\n          <!-- DESCRIPTION TAB -->\n                                  <div class="tab-pane ui-padding" id="tab_1_2">\n                                                <div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by new line:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItemDescription()"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n                                            <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n                                                    <div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n                                                               <!-- <pre>\n                                                                    {{descriptionItem|json}}\n                                                              </pre> -->\n                  <div class="col-md-2">\n                  <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n                   <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n                        <ui-select-choices repeat="item in descFieldType | filter: $select.search">\n                     <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n                       </ui-select-choices>\n                        </ui-select>\n                </div>\n                <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n                    <div class="form-group">\n                        <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n                      </div>\n                      </div>\n                                                          <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n                                                                       <input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n                                                          </div>\n                                                                <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n                                                                       <ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n                        <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n                     <ui-select-choices repeat="item in fieldType | filter: $select.search">\n                         <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n                    </ui-select-choices>\n                        </ui-select>\n                                                          </div>\n                                                                <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'string\'">\n                                                                        <input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n                                                         </div>\n                      <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'variable\'">\n                        <div class="form-group">\n                        <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                     <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n                              <div ng-bind-html="variable.name | highlight: $select.search"></div>\n                        </ui-select-choices>\n                        </ui-select>\n                        </div>\n                      </div>\n                <div class="col-md-1">\n                  <div class="form-group">\n                        <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n                      </div>\n                      </div>\n              </div>\n                                            <!-- </div> -->\n                                       </div>\n                                        <!-- END DESCRIPTION TAB -->\n          <!-- FIELDS TAB -->\n                                   <div class="tab-pane ui-padding" id="tab_1_3">\n                                                <div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">Add how to fill the fields present in your account:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItemField()"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n                                             <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n                <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n                     <div class="col-md-3">\n                  <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n                   <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n                    <ui-select-choices repeat="item.id as item in accountFields | filter: $select.search">\n                          <div ng-bind-html="item.label | highlight: $select.search"></div>\n                   </ui-select-choices>\n                        </ui-select>\n                </div>\n                <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n                    <div class="form-group">\n                                                                              <ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n                               <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected}}</ui-select-match>\n                                  <ui-select-choices repeat="item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n                                  <div ng-bind-html="item | highlight: $select.search"></div>\n                                 </ui-select-choices>\n                                </ui-select>\n                  </div>\n                      </div>\n                                                          <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n                                                                 <div class="form-group">\n                                                                              <ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n                                <ui-select-choices repeat="item in fieldType | filter: $select.search">\n                                 <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n                               </ui-select-choices>\n                                </ui-select>\n                                                                  </div>\n                                                                </div>\n                                                                <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n                        <div class="form-group">\n                                                                              <input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n                    </div>\n                      </div>\n                                                          <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n                      <div class="form-group">\n                                                                              <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n                         <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                     <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n                              <div ng-bind-html="variable.name | highlight: $select.search"></div>\n                        </ui-select-choices>\n                        </ui-select>\n                        </div>\n                      </div>\n                <div class="col-md-1">\n                  <div class="form-group">\n                        <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n                    </div>\n                      </div>\n              </div>\n                                            <!-- </div> -->\n                                       </div>\n                                        <!-- END FIELDS TAB -->\n                               </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/desk/view/view.configurations.html",'<div ui-view class="profile-content">\n      <div class="row" data-ng-init="getConfigurations()">\n          <div class="col-md-12">\n                       <div class="portlet light">\n                           <div class="portlet-title  tabbable-line">\n                                    <div class="caption caption-md">\n                                              <i class="icon-globe theme-font hide"></i>\n                                            <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CONFIGURATIONS\' | translate}}</span>\n                                  </div>\n                                        <div class="actions">\n                                         <div class="btn-group">\n                                                       <a class="btn green-jungle " href="/desk/view/{{account.id}}/configuration" data-toggle="dropdown">\n                                                           <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONFIGURATION\' | translate }}\n                                                 </a>\n                                          </div>\n                                        </div>\n                                </div>\n                                <div class="portlet-body">\n                                    <!-- START TABLE -->\n                                  <table class="table table-striped table-bordered table-hover">\n                                                  <thead>\n                                                       <tr>\n                                                            <th>{{\'APPLICATION_NAME\' | translate}}</th>\n                                                                     <th>{{\'APPLICATION_DESCRIPTION\' | translate}}</th>\n                                                                  <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                                      </tr>\n                                                 </thead>\n                                                    <tbody>\n                                                   <tr data-ng-repeat="configuration in configurations">\n                                                                     <td>{{configuration.name}}</td>\n                                                                       <td>{{configuration.description}}</td>\n                                                      <td>\n                                                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/desk/view/{{account.id}}/configurations/settings/{{configuration.id}}">\n                                                                                      {{ \'APPLICATION_SETTINGS\' | translate}}\n                                                     </a>\n                                                  <a class="btn default btn-xs red-stripe" data-ng-click="deleteConfiguration(configuration.name,configuration.id)">\n                                                                                    {{ \'APPLICATION_DELETE\' | translate }}\n                                                      </a>\n                                                </td>\n                                               </tr>\n                                                             <tr data-ng-hide="configurations.length">\n                                                                     <td colspan="5" style="text-align:center;">\n                                                                           <i>No configuration available</i>\n                                                                     </td>\n                                                         </tr>\n                                           </tbody>\n                                    </table>\n                                      <!-- END TABLE -->\n                            </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/desk/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initView()">\n   <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n          <i class="icon-handbag"></i>\n          <a href="/desk/list">{{ \'APPLICATION_DESK_COM\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <a href="#">{{account.name}}</a>\n                              </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img src="assets/images/media/desk.png" class="img-responsive">\n                               </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{account.name}}\n                                      </div>\n                                        <div class="profile-usertitle-job">\n                                           {{account.remoteUri}}\n                                 </div>\n                                </div>\n                                <!-- END SIDEBAR USER TITLE -->\n                               <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.desk.view.account\')}">\n                                                  <a ng-href="/desk/view/{{account.id}}/account">\n                                                       <i class="icon-user"></i>\n                                                     {{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n                                                </li>\n                                         <li data-ng-class="{active: $state.includes(\'main.desk.view.configurations\') || $state.is(\'main.desk.view.configuration\')}">\n                                                      <a ng-href="/desk/view/{{account.id}}/configurations">\n                                                        <i class="icon-settings"></i>\n                                                 {{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n                                         </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/desk/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\n        <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-handbag"></i>\n                                          <a href="/desk/list">{{ \'APPLICATION_DESK_COM\' | translate }}</a>\n                                   </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initWizard()">\n  <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n          <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n                                                <form name="forms.formSetting" novalidate>\n\n                                                  <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.name.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n                                                           <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n                                                       </div>\n                                                        <!-- END DESCRIPTION -->\n\n              <!-- START USERNAME -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                            <input type="text" name="username" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.username" required ng-remote-validate="/api/desk/accounts/validate/username"/>\n                                                         <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                               <span data-ng-show="(forms.formSetting.username.$touched || forms.formSetting.$submitted) && forms.formSetting.username.$error.ngRemoteValidate" class="help-block help-block-error">\n                                   <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n                                       </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n\n              <!-- START REMOTE ADDRESS -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                              <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.remoteUri" required ng-remote-validate="/api/desk/accounts/validate/remoteUri"/>\n                                                             <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                               <span data-ng-show="(forms.formSetting.remoteUri.$touched || forms.formSetting.$submitted) && forms.formSetting.remoteUri.$error.ngRemoteValidate" class="help-block help-block-error">\n                                         <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_DOMAIN\' | translate}}.\n                                 </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n                                                       <!-- START AUTH TYPE -->\n                                                      <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.authType.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}</label>\n                                                              <ui-select data-ng-model="item.authType" name="authType" theme="bootstrap" required>\n                                                                  <ui-select-match placeholder="{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n                                                                        <ui-select-choices repeat="type in [\'basic\', \'oauth\'] | filter: $select.search">\n                                                                          <div data-ng-bind="type | capitalize | highlight: $select.search"></div>\n                                                                      </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.formSetting.authType.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- START AUTH TYPE -->\n\n              <!-- START PASSWORD -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}" ng-slide-down="item.authType == \'basic\'" lazy-render duration="1">\n                                                             <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                            <input type="password" name="password" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n                                                               <span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END PASSWORD -->\n\n              <!-- START CONSUMER KEY -->\n                                                    <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.consumerKey.$invalid}" ng-slide-down="item.authType == \'oauth\'" lazy-render duration="1">\n                                                          <label class="control-label">{{\'APPLICATION_CONSUMER_KEY\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="consumerKey" placeholder="{{\'APPLICATION_CONSUMER_KEY\' | translate}}" class="form-control" data-ng-model="item.consumerKey" required/>\n                                                             <span data-ng-show="forms.formSetting.consumerKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END CONSUMER KEY -->\n\n              <!-- START CONSUMER SECRET -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.consumerSecret.$invalid}" ng-slide-down="item.authType == \'oauth\'" lazy-render duration="1">\n                                                               <label class="control-label">{{\'APPLICATION_CONSUMER_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                             <input type="text" name="consumerSecret" placeholder="{{\'APPLICATION_CONSUMER_SECRET\' | translate}}" class="form-control" data-ng-model="item.consumerSecret" required/>\n                                                            <span data-ng-show="forms.formSetting.consumerSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                   <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END CONSUMER SECRET -->\n\n              <!-- START TOKEN -->\n                                                    <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.token.$invalid}" ng-slide-down="item.authType == \'oauth\'" lazy-render duration="1">\n                                                                <label class="control-label">{{\'APPLICATION_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                               <input type="text" name="token" placeholder="{{\'APPLICATION_TOKEN\' | translate}}" class="form-control" data-ng-model="item.token" required/>\n                                                                <span data-ng-show="forms.formSetting.token.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END TOKEN -->\n\n              <!-- START TOKEN SECRET-->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.tokenSecret.$invalid}" ng-slide-down="item.authType == \'oauth\'" lazy-render duration="1">\n                                                          <label class="control-label">{{\'APPLICATION_TOKEN_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="tokenSecret" placeholder="{{\'APPLICATION_TOKEN_SECRET\' | translate}}" class="form-control" data-ng-model="item.tokenSecret" required/>\n                                                             <span data-ng-show="forms.formSetting.tokenSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END TOKEN SECRET-->\n\n                                                    <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n                                               </form>\n                                       </wz-step>\n\n                                  <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                             <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                            <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                 </wz-step>\n\n                          </wizard>\n\n                   </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/fax/account/list/list.html",'<div class="row">\n        <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-paper-plane"></i>\n                                              <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n                                         <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-notebook"></i>\n                                         <a href="/fax/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n                                   </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n       <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a> </span>\n                          </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="fax_accounts.checked.length">\n                                            <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle " href="#" data-toggle="dropdown">\n                                                 <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }} <i class="fa fa-angle-down"></i>\n                                              </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <li>\n                                                          <a href="/fax/accounts/wizard">\n                                                               <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                         </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getFaxAccounts([\'name\', \'description\', \'phone\'])" csv-header="[\'Name\', \'Description\', \'Phone\']" field-separator=";" filename="fax_accounts.csv">\n                                        <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedFaxAccounts" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                     <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="5">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.faxAccountsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="faxAccountByPage in faxAccountsByPage | filter: $select.search">\n                                                                                                   <div ng-bind-html="faxAccountByPage.name | highlight: $select.search"></div>\n                                                                                          </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(faxAccount, checked)" checklist-model checklist-value="id"></th>\n                                               <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                            <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                          <th st-sort="phone">{{ \'APPLICATION_PHONE\' | translate }}</th>\n                                                              <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="faxAccount in displayedFaxAccounts" class="animate-repeat">\n                                                           <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="fax_accounts.checked" checklist-value="faxAccount.id"></td>\n                                          <td>{{faxAccount.name}}</td>\n                                                            <td>{{faxAccount.description}}</td>\n                                                           <td>{{faxAccount.phone}}</td>\n                                       <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/fax/accounts/view/{{faxAccount.id}}/settings">\n                                                                               {{ \'APPLICATION_EDIT\' | translate }}\n                                                </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(faxAccount.name,faxAccount.id)">\n                                                                           {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedFaxAccounts.length">\n                                                               <td colspan="5" style="text-align:center;">\n                                                                   <i>No fax account available</i>\n                                                               </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td></td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="phone" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_PHONE\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                      </div>\n                                                    </td>\n                                                 <td>\n                                                  </td>\n                                               </tr>\n                                           <tr>\n                                            <td colspan="5" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.faxAccountsByPage.value" st-displayed-pages="7"></div>\n                                         </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
+a.put("app/fax/account/view/view.applications.html",'<div class="row" data-ng-init="initApplication()">\n      <div class="col-md-12">\n\n             <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n             <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="formValidation(forms.info.$valid)">\n                                                        <form name="forms.info" novalidate>\n                                                           <!-- START APP -->\n                                                            <div class="form-group"  data-ng-class="{\'has-error\': (forms.info.app.$touched || forms.info.$submitted) && forms.info.app.$invalid}">\n                                                                      <label class="control-label">{{\'APPLICATION_APPLICATION\' | translate}}</label>\n                                                                      <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n                                         <ui-select-match placeholder="{{\'APPLICATION_APPLICATION\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n                                         <ui-select-choices repeat="filter in [\'queue\', \'agent\'] | filter: $select.search">\n                                          <div ng-bind-html="filter | uppercase | highlight: $select.search"></div>\n                                           </ui-select-choices>\n                                        </ui-select>\n                                                                        <span data-ng-show="(forms.info.app.$touched || forms.info.$submitted) && forms.info.app.$invalid && forms.info.app.$error.required" class="help-block help-block-error">\n                                                                             <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END APP -->\n\n                                                            <!-- START APPADATA -->\n                                                               <div class="form-group"  data-ng-class="{\'has-error\': (forms.info.appdata.$touched || forms.info.$submitted) && forms.info.appdata.$invalid}">\n                                                                      <label class="control-label">{{\'APPLICATION_ARGUMENTS\' | translate}}</label>\n                                                                        <ui-select data-ng-model="application.appdata" name="appdata" theme="bootstrap" required>\n                                         <ui-select-match placeholder="{{\'APPLICATION_ARGUMENTS\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                          <ui-select-choices repeat="item in items | filter: $select.search">\n                                             <div data-ng-bind-html="item.name | highlight: $select.search"></div>\n                                       </ui-select-choices>\n                                        </ui-select>\n                                                                        <span data-ng-show="(forms.info.appdata.$touched || forms.info.$submitted) && forms.info.appdata.$invalid && forms.info.appdata.$error.required" class="help-block help-block-error">\n                                                                         <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END APPADATA -->\n\n                                                               <!-- START TIMEOUT -->\n                                                                <div class="form-group"  data-ng-class="{\'has-error\': (forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid}">\n                                                                      <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}</label>\n                                                                  <input type="text" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="application.timeout" required>\n                                                                    <span data-ng-show="(forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid && forms.info.timeout.$error.required" class="help-block help-block-error">\n                                                                         <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END TIMEOUT -->\n\n                                                                <!-- START INTERVAL -->\n                                                               <!-- <div class="form-group" data-ng-class="{\'has-error\': (forms.info.interval.$touched || forms.info.$submitted) && forms.info.interval.$invalid}">\n                                                                        <label class="control-label">{{\'APPLICATION_INTERVAL\' | translate}}</label>\n                                                                 <input type="text" name="interval" placeholder="*|*|*|*" class="form-control" data-ng-model="application.interval">\n                                                                   <span data-ng-show="(forms.info.info.interval.$touched || forms.info.$submitted) && forms.info.interval.$invalid && forms.info.interval.$error.required" class="help-block help-block-error">\n                                                                         <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div> -->\n                                                            <!-- END INTERVAL -->\n\n                                                               <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n                                                       </form>\n                                               </wz-step>\n\n                                          <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                                    <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                         </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/fax/account/view/view.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row" data-ng-init="initView()">\n   <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-paper-plane"></i>\n                                      <a href="/">{{ \'APPLICATION_FAX\' | translate }}</a>\n                                 <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-notebook"></i>\n                                 <a href="/fax/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n                                   <i class="fa fa-angle-right" data-ng-show="account"></i>\n                              </li>\n                         <li data-ng-show="account">\n                                   <a href="#">{{ account.name || account.description }}</a>\n                             </li>\n                 </ul>\n         </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n               <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/account.png" class="img-responsive">\n                            </div>\n                                <!-- END SIDEBAR USERPIC -->\n\n                                <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{ account.name || account.description }}\n                                     </div>\n                                        <div class="profile-usertitle-job">\n                                           {{ account.phone }}\n                                   </div>\n                                </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.fax.accounts.view.settings\')}">\n                                                 <a href="/fax/accounts/view/{{account.id}}/settings">\n                                                 <i class="icon-settings"></i>\n                                                 {{\'APPLICATION_SETTINGS\' | translate}} </a>\n                                         </li>\n                                         <li data-ng-class="{active: $state.is(\'main.fax.accounts.view.routes\') || $state.is(\'main.fax.accounts.view.applications\')}">\n                                                     <a href="/fax/accounts/view/{{account.id}}/routes">\n                                                   <i class="icon-directions"></i>\n                                                       {{\'APPLICATION_ROUTES\' | translate}} </a>\n                                           </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/fax/account/view/view.routes.html",'<div class="row" data-ng-init="getFaxApplications()">\n     <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title  tabbable-line">\n                            <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_ROUTES\' | translate}}</span>\n                          </div>\n                                <div class="actions">\n                                 <div class="btn-group">\n                                               <a class="btn green-jungle " href="/fax/accounts/view/{{account.id}}/applications" data-toggle="dropdown">\n                                                    <i class="icon-plus"></i> {{ \'APPLICATION_NEW_APPLICATION\' | translate }}\n                                           </a>\n                                  </div>\n                                </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table class="table table-striped table-bordered table-hover">\n                                          <thead>\n                                               <tr>\n                                                                <!-- <th width="5%">{{ \'APPLICATION_ID\' | translate }}</th> -->\n                                                 <th>{{\'APPLICATION_APPLICATION\' | translate}}</th>\n                                                  <th>{{\'APPLICATION_ARGUMENTS\' | translate}}</th>\n                                                                <th>{{\'APPLICATION_TIMEOUT\' | translate}}</th>\n                                                  <!-- <th>{{\'APPLICATION_INTERVAL\' | translate}}</th> -->\n                                                                <th width="5%">{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                           </tr>\n                                         </thead>\n                                            <tbody ui-sortable="sortableOptions" data-ng-model="faxApplications">\n                                     <tr data-ng-repeat="application in faxApplications | orderBy:\'priority\'">\n                                                               <td><span data-ng-class="{\'label-info\': application.app == \'agent\', \'label-success\': application.app == \'queue\'}" class="label label-sm"> {{application.app}} </span></td>\n                                                            <td>{{getAppdata(application.app, application.appdata)}}</td>\n                                                         <td>{{application.timeout}}</td>\n                                                              <!-- <td>{{application.interval}}</td> -->\n                                          <td>\n                                            <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(application.app,application.id)">\n                                                                          {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="faxApplications.length">\n                                                            <td colspan="5" style="text-align:center;">\n                                                                   <i>No applications available</i>\n                                                              </td>\n                                                 </tr>\n                                   </tbody>\n                            </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/fax/account/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_SETTINGS\' | translate}}</span>\n                                </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n                                     </li>\n                         </ul>\n                 </div>\n                        <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItemFaxAccount()" novalidate>\n                                                        <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.name.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.name" required/>\n                                                                <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n                                                    </div>\n                                                        <!-- END DESCRIPTION -->\n\n                                                    <!-- START TRUNKS -->\n                                                 <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.trunk.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                <ui-select data-ng-model="account.TrunkId" name="trunk" theme="bootstrap" required>\n                                                                   <ui-select-match placeholder="{{\'APPLICATION_TRUNK\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                      <ui-select-choices repeat="trunk.id as trunk in trunks | filter: $select.search">\n                                                                             <div data-ng-bind="trunk.name | highlight: $select.search"></div>\n                                                                     </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.formSetting.trunk.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- START TRUNKS -->\n\n                                                       <!-- START PHONE -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.phone.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_PHONE\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                               <input type="text" name="phone" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="account.phone" required/>\n                                                             <span data-ng-show="forms.formSetting.phone.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END PHONE -->\n\n                                                  <!-- START ECM -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_ECM\' | translate}}<span class="required" aria-required="true">*</span></label><br>\n                                                              <!-- <button type="button" name="ecm" class="btn btn-default form-control" data-ng-model="account.ecm" bs-checkbox>{{account.ecm ? \'ENABLED\' : \'DISABLED\'}}</button> -->\n                                                          <input\n                                                                        bs-switch\n                                                                     ng-model="account.ecm"\n                                                                        type="checkbox"\n                                                                       switch-active="{{ isActive }}"\n                                                                        switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n                                                                    switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n                                                                  switch-on-color="{{ onColor }}"\n                                                                       switch-off-color="{{ offColor }}"\n                                                                     switch-animate="{{ animate }}"\n                                                                        switch-size="{{ size }}"\n                                                                      switch-label="{{ label }}"\n                                                                    switch-icon="{{ icon }}"\n                                                                      switch-radio-off="{{ radioOff }}"\n                                                                     switch-label-width="{{ labelWidth }}"\n                                                                 switch-handle-width="{{ handleWidth }}">\n                                                      </div>\n                                                        <!-- END ECM -->\n\n                                                    <!-- START FAXHEADER -->\n                                                      <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.faxheader.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_FAXHEADER\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                           <input type="text" name="faxheader" placeholder="{{\'APPLICATION_FAXHEADER\' | translate}}" class="form-control" data-ng-model="account.faxheader" required/>\n                                                         <span data-ng-show="forms.formSetting.faxheader.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END FAXHEADER -->\n\n                                                      <!-- START LOCALID -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.localid.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_LOCALID\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                             <input type="text" name="localid" placeholder="{{\'APPLICATION_LOCALID\' | translate}}" class="form-control" data-ng-model="account.localid" required/>\n                                                               <span data-ng-show="forms.formSetting.localid.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END LOCALID -->\n\n                                                        <!-- START MAXRATE -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.maxrate.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_MAXRATE\' | translate}}</label>\n                                                          <ui-select data-ng-model="account.maxrate" name="maxrate" theme="bootstrap" required>\n                                                                 <ui-select-match placeholder="{{\'APPLICATION_MAXRATE\' | translate}}">{{$select.selected}}</ui-select-match>\n                                                                 <ui-select-choices repeat="maxrate in [\'9600\', \'14400\', \'33600\'] | filter: $select.search">\n                                                                             <div data-ng-bind="maxrate | highlight: $select.search"></div>\n                                                                        </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.formSetting.maxrate.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- START MAXRATE -->\n\n                                                      <!-- START MINRATE -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.minrate.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_MINRATE\' | translate}}</label>\n                                                          <ui-select data-ng-model="account.minrate" name="minrate" theme="bootstrap" required>\n                                                                 <ui-select-match placeholder="{{\'APPLICATION_MAXRATE\' | translate}}">{{$select.selected}}</ui-select-match>\n                                                                 <ui-select-choices repeat="minrate in [\'9600\', \'14400\', \'33600\'] | filter: $select.search">\n                                                                             <div data-ng-bind="minrate | highlight: $select.search"></div>\n                                                                        </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.formSetting.minrate.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- START MINRATE -->\n\n                                                      <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END GENERAL TAB -->\n\n                            </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/fax/account/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\n   <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-paper-plane"></i>\n                                              <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n                                         <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-notebook"></i>\n                                         <a href="/fax/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n                                   </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initWizard()">\n  <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n          <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n                                                <form name="forms.formSetting" novalidate>\n\n                                                  <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.name.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n                                                           <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n                                                       </div>\n                                                        <!-- END DESCRIPTION -->\n\n                                                    <!-- START TRUNKS -->\n                                                 <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.trunk.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                <ui-select data-ng-model="item.TrunkId" name="trunk" theme="bootstrap" required>\n                                                                      <ui-select-match placeholder="{{\'APPLICATION_TRUNK\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                      <ui-select-choices repeat="trunk.id as trunk in trunks | filter: $select.search">\n                                                                             <div data-ng-bind="trunk.name | highlight: $select.search"></div>\n                                                                     </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.formSetting.trunk.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- START TRUNKS -->\n\n                                                       <!-- START PHONE -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.phone.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_PHONE\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                               <input type="text" name="phone" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="item.phone" required/>\n                                                                <span data-ng-show="forms.formSetting.phone.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END PHONE -->\n\n                                                  <!-- START ECM -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_ECM\' | translate}}<span class="required" aria-required="true">*</span></label><br>\n                                                              <!-- <button type="button" name="ecm" class="btn btn-default form-control" data-ng-model="item.ecm" bs-checkbox>{{item.ecm ? \'ENABLED\' : \'DISABLED\'}}</button> -->\n                                                                <input\n                                                                        bs-switch\n                                                                     ng-model="item.ecm"\n                                                                   type="checkbox"\n                                                                       switch-active="{{ isActive }}"\n                                                                        switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n                                                                    switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n                                                                  switch-on-color="{{ onColor }}"\n                                                                       switch-off-color="{{ offColor }}"\n                                                                     switch-animate="{{ animate }}"\n                                                                        switch-size="{{ size }}"\n                                                                      switch-label="{{ label }}"\n                                                                    switch-icon="{{ icon }}"\n                                                                      switch-radio-off="{{ radioOff }}"\n                                                                     switch-label-width="{{ labelWidth }}"\n                                                                 switch-handle-width="{{ handleWidth }}">\n                                                      </div>\n                                                        <!-- END ECM -->\n\n                                                    <!-- START FAXHEADER -->\n                                                      <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.faxheader.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_FAXHEADER\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                           <input type="text" name="faxheader" placeholder="{{\'APPLICATION_FAXHEADER\' | translate}}" class="form-control" data-ng-model="item.faxheader" required/>\n                                                            <span data-ng-show="forms.formSetting.faxheader.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END FAXHEADER -->\n\n                                                      <!-- START LOCALID -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.localid.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_LOCALID\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                             <input type="text" name="localid" placeholder="{{\'APPLICATION_LOCALID\' | translate}}" class="form-control" data-ng-model="item.localid" required/>\n                                                          <span data-ng-show="forms.formSetting.localid.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END LOCALID -->\n\n                                                        <!-- START MAXRATE -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.maxrate.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_MAXRATE\' | translate}}</label>\n                                                          <ui-select data-ng-model="item.maxrate" name="maxrate" theme="bootstrap" required>\n                                                                    <ui-select-match placeholder="{{\'APPLICATION_MAXRATE\' | translate}}">{{$select.selected}}</ui-select-match>\n                                                                 <ui-select-choices repeat="maxrate in [\'9600\', \'14400\', \'33600\'] | filter: $select.search">\n                                                                             <div data-ng-bind="maxrate | highlight: $select.search"></div>\n                                                                        </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.formSetting.maxrate.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- START MAXRATE -->\n\n                                                      <!-- START MINRATE -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.minrate.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_MINRATE\' | translate}}</label>\n                                                          <ui-select data-ng-model="item.minrate" name="minrate" theme="bootstrap" required>\n                                                                    <ui-select-match placeholder="{{\'APPLICATION_MAXRATE\' | translate}}">{{$select.selected}}</ui-select-match>\n                                                                 <ui-select-choices repeat="minrate in [\'9600\', \'14400\', \'33600\'] | filter: $select.search">\n                                                                             <div data-ng-bind="minrate | highlight: $select.search"></div>\n                                                                        </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.formSetting.minrate.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- START MINRATE -->\n\n                                                      <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n                                               </form>\n                                       </wz-step>\n\n                                  <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                             <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                            <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                 </wz-step>\n\n                          </wizard>\n\n                   </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/fax/automation/list/list.html",'<div class="row">\n     <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-envelope"></i>\n                                         <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n                                         <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-settings"></i>\n                                         <a href="#">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n                                 </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n       <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-settings font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a> </span>\n                               </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="faxAutomations.checked.length">\n                                          <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle " href="#" data-toggle="dropdown">\n                                                 <i class="icon-plus"></i> {{ \'APPLICATION_NEW_AUTOMATION\' | translate }} <i class="fa fa-angle-down"></i>\n                                           </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <li>\n                                                          <a href="/fax/automations/wizard">\n                                                            <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                         </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getFaxAutomations([\'name\', \'description\'])" csv-header="[\'Name\', \'Description\']" field-separator=";" filename="fax_automations.csv">\n                                        <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedFaxAutomations" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                  <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="6">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.faxAutomationsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                                <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="faxAutomationByPage in faxAutomationsByPage | filter: $select.search">\n                                                                                                     <div ng-bind-html="faxAutomationByPage.name | highlight: $select.search"></div>\n                                                                                               </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <!-- <th st-sort="id" width="5%" st-sort-default="reverse">{{ \'APPLICATION_ID\' | translate }}</th> -->\n                                                              <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(faxAutomation, checked)" checklist-model checklist-value="id"></th>\n                                                    <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                            <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                          <th>{{ \'APPLICATION_STATUS\' | translate }}</th>\n                                                             <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="faxAutomation in displayedFaxAutomations">\n                                                            <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="faxAutomations.checked" checklist-value="faxAutomation.id"></td>\n                                             <td>{{faxAutomation.name}}</td>\n                                                         <td>{{faxAutomation.description}}</td>\n                                                                <td>\n                                                                  <input\n                                                                                data-ng-change="updateItem(faxAutomation.id, faxAutomation.status)",\n                                                              bs-switch\n                                                             ng-model="faxAutomation.status"\n                                                               type="checkbox"\n                                                               switch-active="{{ isActive }}"\n                                                                switch-on-text="{{ onText }}"\n                                                                 switch-off-text="{{ offText }}"\n                                                               switch-on-color="{{ onColor }}"\n                                                               switch-off-color="{{ offColor }}"\n                                                             switch-animate="{{ animate }}"\n                                                                switch-size="{{ size }}"\n                                                              switch-label="{{ label }}"\n                                                                    switch-icon="{{ icon }}"\n                                                              switch-radio-off="{{ radioOff }}"\n                                                             switch-label-width="{{ labelWidth }}"\n                                                                 switch-handle-width="{{ handleWidth }}">\n                                                          </td>\n                                       <td>\n                                                                    <a class="btn default btn-xs blue-stripe" data-ng-href="/fax/automations/view/{{faxAutomation.id}}/settings">\n                                                                         {{ \'APPLICATION_EDIT\' | translate }}\n                                                </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(faxAutomation.name, faxAutomation.id)">\n                                                                            {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedFaxAutomations.length">\n                                                            <td colspan="6" class="text-center">\n                                                                  <i>{{\'MESSAGE_NO_AVAILABLE_AUTOMATIONS\' | translate}}</i>\n                                                           </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_USERNAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                    </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                             <td/>\n                                                         <td/>\n                                           </tr>\n                                           <tr>\n                                            <td colspan="6" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.faxAutomationsByPage.value" st-displayed-pages="7"></div>\n                                              </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
+a.put("app/fax/automation/view/view.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row" data-ng-init="initView()">\n    <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-envelope"></i>\n                                 <a href="/">{{ \'APPLICATION_FAX\' | translate }}</a>\n                                 <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-settings"></i>\n                                 <a href="/fax/automations/list">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n                                     <i class="fa fa-angle-right" data-ng-show="automation"></i>\n                           </li>\n                         <li data-ng-show="automation">\n                                        <a href="#">{{ automation.description || automation.name }}</a>\n                               </li>\n                 </ul>\n         </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n               <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/automation.png" class="img-responsive">\n                         </div>\n                                <!-- END SIDEBAR USERPIC -->\n\n                                <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{ automation.name }}\n                                 </div>\n                                        <div class="profile-usertitle-job">\n                                           {{automation.description}}\n                                    </div>\n                                </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.fax.automations.view.settings\')}">\n                                                      <a href="/fax/automations/view/{{automation.id}}/settings">\n                                                   <i class="icon-settings"></i>\n                                                 {{\'APPLICATION_SETTINGS\' | translate}} </a>\n                                         </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/fax/automation/view/view.settings.html",'<div class="row">\n    <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_SETTINGS\' | translate}}</span>\n                                </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n                                     </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_2" data-toggle="tab">OR {{\'APPLICATION_CONDITIONS\' | translate}}</a>\n                                        </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_3" data-toggle="tab">AND {{\'APPLICATION_CONDITIONS\' | translate}}</a>\n                                       </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_4" data-toggle="tab">{{\'APPLICATION_ACTIONS\' | translate}}</a>\n                                      </li>\n                         </ul>\n                 </div>\n                        <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.info" data-ng-submit="forms.info.$valid && updateAutomation()" novalidate>\n                                                  <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="automation.name" required/>\n                                                             <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid && forms.info.name.$error.required" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="automation.description"/>\n                                                 </div>\n                                                        <!-- END DESCRIPTION -->\n\n                                                    <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END GENERAL TAB -->\n\n                                    <!-- IMAP TAB -->\n                                     <div class="tab-pane" id="tab_1_2">\n                                           <div class="row">\n                                                     <div class="col-md-12">\n                                                               <a href="#" data-ng-click="addNewCondition(\'or\')">\n                                                                  <i class="icon-plus"></i>\n                                                             </a>\n                                                          <i class="icon-people"></i>\n                                                           <span class="caption-subject">Meet <strong>all</strong> of the following conditions:</a> </span>\n                                                      </div>\n                                                </div>\n                                                <div class="row" data-ng-repeat="condition in automation.BusinessConditions | filter: {type: \'or\'}">\n                                                        <div class="col-md-12">\n                                                               <div class="row">\n                                                                     <div class="col-md-12">\n                                                                               <hr>\n                                                                  </div>\n                                                                </div>\n                                                                <div class="row">\n                                                                     <div class="col-md-4">\n                                                                                <div class="form-group">\n                                                                                      <ui-select data-ng-model="condition.condition" theme="bootstrap" on-select="updateCondition(condition.id, \'condition\', $item.key)" required>\n                                                                                                <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                          <ui-select-choices repeat="condition.key as condition in automations.conditions | filter: $select.search">\n                                                                                                    <div data-ng-bind="condition.value | highlight: $select.search"></div>\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="col-md-3">\n                                                                                <div class="form-group">\n                                                                                      <ui-select data-ng-model="condition.operator" theme="bootstrap" on-select="updateCondition(condition.id, \'operator\', $item.key)" required>\n                                                                                          <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                         <ui-select-choices repeat="operator.key as operator in getOperatorsByCondition(condition.condition) | filter: $select.search">\n                                                                                                        <div data-ng-bind="operator.value | highlight: $select.search"></div>\n                                                                                         </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="col-md-4" data-ng-switch="condition.condition">\n                                                                           <div class="form-group" data-ng-switch-when="status">\n                                                                                 <ui-select data-ng-model="condition.attribute" theme="bootstrap" on-select="updateCondition(condition.id, \'attribute\', $item.key)" required>\n                                                                                                <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                         <ui-select-choices repeat="attribute.key as attribute in getAttributesByCondition(condition.condition) | filter: $select.search">\n                                                                                                     <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="form-group" data-ng-switch-when="createdAt">\n                                                                                      <input class="form-control" type="text" name="attributeOr{{$index}}" value="" data-ng-model="condition.attribute" ng-blur="updateCondition(condition.id, \'attribute\', condition.attribute)" data-ng-class="{\'has-error\': forms.and.attributeAnd{{$index}}.$invalid}" required>\n                                                                            </div>\n                                                                        </div>\n                                                                        <div class="col-md-1">\n                                                                                <a href="#" data-ng-click="removeCondition(condition.id)">\n                                                                                    <i class="icon-close"></i>\n                                                                            </a>\n                                                                  </div>\n                                                                </div>\n                                                        </div>\n                                                </div>\n                                                <div class="row" data-ng-hide="automation.BusinessConditions.length">\n                                                 <div class="col-md-12 text-center">\n                                                           <hr>\n                                                          <i>Add condition</i>\n                                                  </div>\n                                                </div>\n                                        </div>\n                                        <!-- END IMAP TAB -->\n\n                                       <div class="tab-pane" id="tab_1_3">\n                                           <div class="row">\n                                                     <div class="col-md-12">\n                                                               <a href="#" data-ng-click="addNewCondition(\'and\')">\n                                                                 <i class="icon-plus"></i>\n                                                             </a>\n                                                          <i class="icon-people"></i>\n                                                           <span class="caption-subject">Meet <strong>all</strong> of the following conditions:</a> </span>\n                                                      </div>\n                                                </div>\n                                                <div class="row" data-ng-repeat="condition in automation.BusinessConditions | filter: {type: \'and\'}">\n                                                       <div class="col-md-12">\n                                                               <div class="row">\n                                                                     <div class="col-md-12">\n                                                                               <hr>\n                                                                  </div>\n                                                                </div>\n                                                                <div class="row">\n                                                                     <div class="col-md-4">\n                                                                                <div class="form-group">\n                                                                                      <ui-select data-ng-model="condition.condition" name="conditionAnd{{$index}}" theme="bootstrap" on-select="updateCondition(condition.id, \'condition\', $item.key)" required>\n                                                                                          <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                          <ui-select-choices repeat="condition.key as condition in automations.conditions | filter: $select.search">\n                                                                                                    <div data-ng-bind="condition.value | highlight: $select.search"></div>\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="col-md-3">\n                                                                                <div class="form-group">\n                                                                                      <ui-select data-ng-model="condition.operator" name="operatorAnd{{$index}}" theme="bootstrap" on-select="updateCondition(condition.id, \'operator\', $item.key)" required>\n                                                                                             <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                         <ui-select-choices repeat="operator.key as operator in getOperatorsByCondition(condition.condition) | filter: $select.search">\n                                                                                                        <div data-ng-bind="operator.value | highlight: $select.search"></div>\n                                                                                         </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="col-md-4" data-ng-switch="condition.condition">\n                                                                           <div class="form-group" data-ng-switch-when="status">\n                                                                                 <ui-select data-ng-model="condition.attribute" name="attributeAnd{{$index}}" theme="bootstrap" on-select="updateCondition(condition.id, \'attribute\', $item.key)" required>\n                                                                                          <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                         <ui-select-choices repeat="attribute.key as attribute in getAttributesByCondition(condition.condition) | filter: $select.search">\n                                                                                                     <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="form-group" data-ng-switch-when="createdAt">\n                                                                                      <input class="form-control" type="text" name="attributeOr{{$index}}" value="" data-ng-model="condition.attribute" data-ng-blur="updateCondition(condition.id, \'attribute\', condition.attribute)" data-ng-class="{\'has-error\': forms.and.attributeAnd{{$index}}.$invalid}" required>\n                                                                                       <span data-ng-show="forms.and.attributeAnd{{$index}}.$invalid && forms.and.attributeAnd{{$index}}.$error.required" class="help-block help-block-error">\n                                                                                               <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                 </span>\n                                                                               </div>\n                                                                        </div>\n                                                                        <div class="col-md-1">\n                                                                                <a href="#" data-ng-click="removeCondition(condition.id)">\n                                                                                    <i class="icon-close"></i>\n                                                                            </a>\n                                                                  </div>\n                                                                </div>\n                                                        </div>\n                                                </div>\n                                                <div class="row" data-ng-hide="automation.BusinessConditions.length">\n                                                 <div class="col-md-12 text-center">\n                                                           <hr>\n                                                          <i>Add condition</i>\n                                                  </div>\n                                                </div>\n                                        </div>\n\n                                      <!-- SMTP TAB -->\n                                     <div class="tab-pane" id="tab_1_4">\n                                           <div class="row">\n                                                     <div class="col-md-12">\n                                                               <a href="#" data-ng-click="addNewAction()">\n                                                                   <i class="icon-plus"></i>\n                                                             </a>\n                                                          <i class="icon-people"></i>\n                                                           <span class="caption-subject">Meet <strong>all</strong> of the following conditions:</a> </span>\n                                                      </div>\n                                                </div>\n                                                <div class="row" data-ng-repeat="action in automation.BusinessActions">\n                                                       <div class="col-md-12">\n                                                               <div class="row">\n                                                                     <div class="col-md-12">\n                                                                               <hr>\n                                                                  </div>\n                                                                </div>\n                                                                <div class="row">\n                                                                     <div class="col-md-4">\n                                                                                <div class="form-group">\n                                                                                      <ui-select data-ng-model="action.condition" theme="bootstrap" on-select="updateAction(action.id, \'condition\', $item.key)" required>\n                                                                                         <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                          <ui-select-choices repeat="action.key as action in automations.actions | filter: $select.search">\n                                                                                                     <div data-ng-bind="action.value | highlight: $select.search"></div>\n                                                                                           </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="col-md-3" data-ng-switch="action.condition">\n                                                                              <div class="form-group" data-ng-switch-when="status">\n                                                                                 <ui-select data-ng-model="action.attribute" theme="bootstrap" on-select="updateAction(action.id, \'attribute\', $item.key)" required>\n                                                                                         <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                         <ui-select-choices repeat="attribute.key as attribute in getAttributesByCondition(action.condition) | filter: $select.search">\n                                                                                                        <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="form-group" data-ng-switch-when="createdAt">\n                                                                                      <input class="form-control" type="text" data-ng-model="action.attribute" data-ng-blur="updateAction(action.id, \'attribute\', action.attribute)" data-ng-class="{\'has-error\': forms.and.attributeAnd{{$index}}.$invalid}" required>\n                                                                         </div>\n                                                                        </div>\n                                                                        <div class="col-md-4">\n                                                                        </div>\n                                                                        <div class="col-md-1">\n                                                                                <a href="#" data-ng-click="removeAction(action.id)">\n                                                                                  <i class="icon-close"></i>\n                                                                            </a>\n                                                                  </div>\n                                                                </div>\n                                                        </div>\n                                                </div>\n                                                <div class="row" data-ng-hide="automation.BusinessActions.length">\n                                                    <div class="col-md-12 text-center">\n                                                           <hr>\n                                                          <i>Add condition</i>\n                                                  </div>\n                                                </div>\n\n                                      </div>\n                                        <!-- END SMTP TAB -->\n                         </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/fax/automation/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n     <div class="col-md-12">\n               <!-- BEGIN PAGE HEADER-->\n             <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-envelope"></i>\n                                 <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n                                 <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-settings"></i>\n                                 <a href="/fax/automations/list">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n                             </li>\n                 </ul>\n         </div>\n                <!-- END PAGE HEADER-->\n\n             <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-settings font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_AUTOMATIONS\' | translate }} WIZARD</a> </span>\n                                </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n             <wz-step title="{{\'APPLICATION_NEW_AUTOMATION\' | translate}}" canexit="formValidation(forms.automation.$valid && forms.automation.$valid)">\n                                         <form name="forms.automation" novalidate>\n                                                     <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <div class="form-group" data-ng-class="{\'has-error\': forms.automation.name.$invalid && forms.automation.$submitted}">\n                                                                               <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                         <input class="form-control" type="text" name="name" value="" data-ng-model="automations.name" required>\n                                                                               <span data-ng-show="forms.automation.name.$invalid && forms.automation.name.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                         </span>\n                                                                       </div>\n\n                                                                      <div class="form-group" data-ng-class="{\'has-error\': forms.automation.description.$invalid && forms.automation.$submitted}">\n                                                                                <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                                              <input class="form-control" type="text" name="description" value="" data-ng-model="automations.description">\n                                                                          <span data-ng-show="forms.automation.description.$invalid && forms.automation.description.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                         </span>\n                                                                       </div>\n                                                                </div>\n                                                        </div>\n\n                                                      <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <hr>\n                                                          </div>\n                                                        </div>\n\n                                                      <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <a href="#" data-ng-click="addNewChoice(\'or\')">\n                                                                             <i class="icon-plus"></i>\n                                                                     </a>\n                                                                  <i class="icon-user"></i>\n                                                                     <span class="caption-subject">Meet <strong>any</strong> of the following conditions:</a> </span>\n                                                              </div>\n                                                        </div>\n                                                        <div class="row" data-ng-repeat="automation in automations.or">\n                                                               <div class="col-md-12">\n                                                                       <div class="row">\n                                                                             <div class="col-md-12">\n                                                                                       <hr>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="row">\n                                                                             <div class="col-md-4">\n                                                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.automation.conditionOr{{$index}}.$invalid && forms.automation.$submitted && forms.automation.$submitted}">\n                                                                                               <ui-select data-ng-model="automations.or[$index].condition" name="conditionOr{{$index}}" theme="bootstrap" required>\n                                                                                                  <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                                  <ui-select-choices repeat="condition in automations.or[$index].conditions | filter: $select.search">\n                                                                                                          <div data-ng-bind="condition.value | highlight: $select.search"></div>\n                                                                                                        </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.conditionOr{{$index}}.$invalid && forms.automation.conditionOr{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-3">\n                                                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.automation.operatorOr{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                               <ui-select data-ng-model="automations.or[$index].operator" name="operatorOr{{$index}}" theme="bootstrap" required>\n                                                                                                    <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                                 <ui-select-choices repeat="operator.key as operator in automations.or[$index].condition.operators | filter: $select.search">\n                                                                                                          <div data-ng-bind="operator.value | highlight: $select.search"></div>\n                                                                                                 </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.operatorOr{{$index}}.$invalid && forms.automation.operatorOr{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-4" data-ng-switch="automations.or[$index].condition.input">\n                                                                                        <div class="form-group" data-ng-switch-when="ui-select" data-ng-class="{\'has-error\': forms.automation.attributeOr{{$index}}.$invalid && forms.automation.attributeOr{{$index}}.$error.required && forms.automation.$submitted}">\n                                                                                            <ui-select data-ng-model="automations.or[$index].attribute" name="attributeOr{{$index}}" theme="bootstrap" required>\n                                                                                                  <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                                 <ui-select-choices repeat="attribute.key as attribute in automations.or[$index].condition.attributes | filter: $select.search">\n                                                                                                               <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                        </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.attributeOr{{$index}}.$invalid && forms.automation.attributeOr{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                        <div class="form-group" data-ng-switch-when="number">\n                                                                                         <input class="form-control" type="text" min="0" name="attributeOr{{$index}}" value="" data-ng-model="automations.or[$index].attribute" required>\n                                                                                              <span data-ng-show="forms.automation.attributeOr{{$index}}.$invalid && forms.automation.attributeOr{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-1">\n                                                                                        <a href="#" data-ng-click="removeChoice(\'or\', $index)">\n                                                                                             <i class="icon-close"></i>\n                                                                                    </a>\n                                                                          </div>\n                                                                        </div>\n                                                                </div>\n                                                        </div>\n                                                        <div class="row" data-ng-hide="automations.or.length">\n                                                                <div class="col-md-12 text-center">\n                                                                   <hr>\n                                                                  <i>Add condition</i>\n                                                          </div>\n                                                        </div>\n\n                                                      <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <a href="#" data-ng-click="addNewChoice(\'and\')">\n                                                                            <i class="icon-plus"></i>\n                                                                     </a>\n                                                                  <i class="icon-people"></i>\n                                                                   <span class="caption-subject">Meet <strong>all</strong> of the following conditions:</a> </span>\n                                                              </div>\n                                                        </div>\n                                                        <div class="row" data-ng-repeat="automation in automations.and">\n                                                              <div class="col-md-12">\n                                                                       <div class="row">\n                                                                             <div class="col-md-12">\n                                                                                       <hr>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="row">\n                                                                             <div class="col-md-4">\n                                                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.automation.conditionAnd{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                             <ui-select data-ng-model="automations.and[$index].condition" name="conditionAnd{{$index}}" theme="bootstrap" required>\n                                                                                                        <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                                  <ui-select-choices repeat="condition in automations.and[$index].conditions | filter: $select.search">\n                                                                                                         <div data-ng-bind="condition.value | highlight: $select.search"></div>\n                                                                                                        </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.conditionAnd{{$index}}.$invalid && forms.automation.conditionAnd{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-3">\n                                                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.automation.operatorAnd{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                              <ui-select data-ng-model="automations.and[$index].operator" name="operatorAnd{{$index}}" theme="bootstrap" required>\n                                                                                                  <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                                 <ui-select-choices repeat="operator.key as operator in automations.and[$index].condition.operators | filter: $select.search">\n                                                                                                         <div data-ng-bind="operator.value | highlight: $select.search"></div>\n                                                                                                 </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.operatorAnd{{$index}}.$invalid && forms.automation.operatorAnd{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-4" data-ng-switch="automations.and[$index].condition.input">\n                                                                                       <div class="form-group" data-ng-switch-when="ui-select" data-ng-class="{\'has-error\': forms.automation.attributeAnd{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                             <ui-select data-ng-model="automations.and[$index].attribute" name="attributeAnd{{$index}}" theme="bootstrap" required>\n                                                                                                        <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                                 <ui-select-choices repeat="attribute.key as attribute in automations.and[$index].condition.attributes | filter: $select.search">\n                                                                                                              <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                        </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.attributeAnd{{$index}}.$invalid && forms.automation.attributeAnd{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                        <div class="form-group" data-ng-switch-when="number">\n                                                                                         <input class="form-control" type="text" min="0" name="attributeAnd{{$index}}" value="" data-ng-model="automations.and[$index].attribute" data-ng-class="{\'has-error\': forms.automation.attributeAnd{{$index}}.$invalid}" required>\n                                                                                          <span data-ng-show="forms.automation.attributeAnd{{$index}}.$invalid && forms.automation.attributeAnd{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-1">\n                                                                                        <a href="#" data-ng-click="removeChoice(\'and\', $index)">\n                                                                                            <i class="icon-close"></i>\n                                                                                    </a>\n                                                                          </div>\n                                                                        </div>\n                                                                </div>\n                                                        </div>\n                                                        <div class="row" data-ng-hide="automations.and.length">\n                                                               <div class="col-md-12 text-center">\n                                                                   <hr>\n                                                                  <i>Add condition</i>\n                                                          </div>\n                                                        </div>\n\n                                                      <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <a href="#" data-ng-click="addNewChoice(\'actions\')">\n                                                                                <i class="icon-plus"></i>\n                                                                     </a>\n                                                                  <i class="icon-magic-wand"></i>\n                                                                       <span class="caption-subject">Perform these actions:</a> </span>\n                                                              </div>\n                                                        </div>\n                                                        <div class="row" data-ng-repeat="automation in automations.actions">\n                                                          <div class="col-md-12">\n                                                                       <div class="row">\n                                                                             <div class="col-md-12">\n                                                                                       <hr>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="row">\n                                                                             <div class="col-md-4">\n                                                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.actions.conditionAction{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                             <ui-select data-ng-model="automations.actions[$index].condition" name="conditionAction{{$index}}" theme="bootstrap" required>\n                                                                                                 <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                                  <ui-select-choices repeat="action in automations.actions[$index].actions | filter: $select.search">\n                                                                                                           <div data-ng-bind="action.value | highlight: $select.search"></div>\n                                                                                                   </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.actions.conditionAction{{$index}}.$invalid && forms.actions.conditionAction{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-3" data-ng-switch="automations.actions[$index].condition.input">\n                                                                                   <div class="form-group" data-ng-switch-when="ui-select" data-ng-class="{\'has-error\': forms.actions.attributeAction{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                             <ui-select data-ng-model="automations.actions[$index].attribute" name="attributeAction{{$index}}" theme="bootstrap" required>\n                                                                                                 <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                                 <ui-select-choices repeat="attribute.key as attribute in automations.actions[$index].condition.attributes | filter: $select.search">\n                                                                                                          <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                        </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.actions.attributeAction{{$index}}.$invalid && forms.actions.attributeAction{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                        <div class="form-group" data-ng-switch-when="number" data-ng-class="{\'has-error\': forms.actions.attributeAction{{$index}}.$invalid}">\n                                                                                               <input class="form-control" type="text" min="0" name="attributeAction{{$index}}" value="" data-ng-model="automations.actions[$index].attribute" required>\n                                                                                             <span data-ng-show="forms.actions.attributeAction{{$index}}.$invalid && forms.actions.attributeAction{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-4">\n                                                                                </div>\n                                                                                <div class="col-md-1">\n                                                                                        <a href="#" data-ng-click="removeChoice(\'actions\', $index)">\n                                                                                                <i class="icon-close"></i>\n                                                                                    </a>\n                                                                          </div>\n                                                                        </div>\n                                                                </div>\n                                                        </div>\n                                                        <div class="row" data-ng-hide="automations.actions.length">\n                                                           <div class="col-md-12 text-center">\n                                                                   <hr>\n                                                                  <i>Add action</i>\n                                                             </div>\n                                                        </div>\n                                                        <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n                                                               </div>\n                                                        </div>\n                                                </form>\n                                       </wz-step>\n                                    <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                             <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                            <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                 </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
 a.put("app/fax/inbox/inbox.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n      <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-paper-plane"></i>\n                                              <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n                                         <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-note"></i>\n                                             <a href="/fax/inbox/incoming">{{ \'APPLICATION_INBOX\' | translate }}</a>\n                                     </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n<!-- END PAGE CONTENT-->\n<div class="row inbox">\n     <div class="col-md-12" ui-view>\n       </div>\n</div>\n'),a.put("app/fax/inbox/incoming/incoming.html",'<!-- END PAGE HEADER-->\n<div data-ng-init="getRooms()">\n     <!-- <pre>\n            {{faxRooms | json}}\n   </pre> -->\n    <div class="inbox-header">\n            <h1 class="pull-left">Inbox</h1>\n      </div>\n        <div class="inbox-content">\n           <table class="table table-advance" st-table="displayedFaxRooms" st-safe-src="faxRooms">\n                       <thead>\n                               <tr>\n                                  <th colspan="8" style="background: #eef4f7; border: none; border-bottom: solid 5px #fff;">\n                                            <div class="row">\n                                                     <div class="col-md-6">\n                                                                <input type="checkbox" class="mail-checkbox mail-group-checkbox checker" data-ng-model="checked" data-ng-change="switchCheckbox(displayedFaxRooms, checked)">\n                                                         <div class="btn-group">\n                                                                       <a data-ng-href="/fax/inbox/compose" class="btn btn-sm blue">{{\'APPLICATION_NEW_MESSAGE\' | translate}} <i class="fa fa-plus"></i></a>\n                                                                       <!-- <a class="btn btn-sm blue dropdown-toggle" href="#" data-toggle="dropdown">\n                                                                              {{\'APPLICATION_MORE\' | translate}} <i class="fa fa-angle-down"></i>\n                                                                 </a> -->\n                                                                      <ul class="dropdown-menu">\n                                                                            <li>\n                                                                                  <a href="#" data-ng-click="markAsRead(true)">\n                                                                                 <i class="icon-paper-plane-open"></i> {{\'APPLICATION_MARK_AS_READ\' | translate}} </a>\n                                                                               </li>\n                                                                         <li>\n                                                                                  <a href="#" data-ng-click="markAsRead(false)">\n                                                                                        <i class="icon-paper-plane"></i> {{\'APPLICATION_MARK_AS_UNREAD\' | translate}} </a>\n                                                                          </li>\n                                                                         <li class="divider">\n                                                                          </li>\n                                                                         <li>\n                                                                                  <a href="#" data-ng-click="deleteMessage()">\n                                                                                  <i class="icon-trash"></i> {{\'APPLICATION_DELETE\' | translate}} </a>\n                                                                                </li>\n                                                                 </ul>\n                                                         </div>\n                                                        </div>\n                                                        <div class="col-md-6">\n                                                                <div class="input-group input-medium pull-right">\n                                                                     <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                 <span class="input-group-addon btn green" style="cursor: default;">\n                                                                           <i class="icon-magnifier" style="color: white;"></i>\n                                                                  </span>\n                                                               </div>\n                                                                <ui-select data-ng-model="conf.faxRoomsByPage" theme="bootstrap" style="width: 100px;" class="pull-right margin-right-10">\n                                                                    <ui-select-match placeholder="{{ \'APPLICATION_SEARCH\' | translate }}">{{$select.selected}}</ui-select-match>\n                                                                        <ui-select-choices repeat="p in [10, 20, 35, 50] | filter: $select.search">\n                                                                           <span ng-bind-html="p | highlight: $select.search"></span>\n                                                                    </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                </div>\n                                        </th>\n                         </tr>\n                 </thead>\n                      <tbody>\n                               <tr data-ng-repeat="faxRoom in displayedFaxRooms | orderBy:\'-updatedAt\'" data-ng-class="{unread: !faxRoom.read}" data-ng-click="go(\'/fax/inbox/room/\' + faxRoom.id, faxRoom.id, \'OPEN\')" class="animate-repeat">\n                                        <td class="inbox-small-cells" style="border: none;">\n                                          <input type="checkbox" class="checker" checklist-model="checkedMailMessages.id" checklist-value="faxRoom.id">\n                                 </td>\n                                 <!-- <td class="inbox-small-cells" style="border: none;">\n                                             <i class="fa fa-star" data-ng-class="{\'inbox-started\': faxRoom.favorite}" data-ng-click="markAsFavorite(faxRoom.id, faxRoom.favorite)"></i>\n                                 </td> -->\n                                     <td class="view-message hidden-xs" style="cursor:pointer; border:none;">\n                                              #{{faxRoom.id}}\n                                       </td>\n                                 <!-- <td class="inbox-small-cells" style="border: none;">\n                                             <i class="fa fa-star" data-ng-class="{\'inbox-started\': faxRoom.favorite}" data-ng-click="markAsFavorite(faxRoom.id, faxRoom.favorite)"></i>\n                                 </td> -->\n                                     <!-- <td class="view-message hidden-xs" style="cursor:pointer; border:none;">\n                                         {{faxRoom.subject}}\n                                   </td> -->\n                                     <td class="view-message" style="cursor:pointer; border:none;">\n                                                {{faxRoom.from}}\n                                      </td>\n                                 <td class="view-message" style="cursor:pointer; border:none;">\n                                                {{faxRoom.MailAccount.description ? faxRoom.MailAccount.description : faxRoom.MailAccount.name}}\n                                      </td>\n                                 <td class="view-message" style="cursor:pointer; border:none;" data-ng-switch="faxRoom.status">\n                                                <span class="badge badge-default" data-ng-class="{\n                                            \'badge-danger\': faxRoom.status == \'NEW\',\n                                          \'badge-warning\': faxRoom.status == \'OPEN\',\n                                                \'badge-info\': faxRoom.status == \'PENDING\',\n                                                \'badge-success\': faxRoom.status == \'CLOSED\'}"> {{faxRoom.status | uppercase}} </span>\n                                     </td>\n                                 <td class="view-message" style="cursor:pointer; border:none;">\n                                                <span class="badge badge-success badge-roundless" data-ng-show="faxRoom.User.fullname"> {{faxRoom.User.fullname}} </span>\n                                             <span class="badge badge-default badge-roundless" data-ng-hide="faxRoom.User.fullname"> {{\'APPLICATION_UNASSIGNED\' | translate}} </span>\n                                    </td>\n                                 <td class="view-message text-right" context-menu="menuOptions" style="border: none;">\n                                         <time is="relative-time" datetime="{{faxRoom.updatedAt}}">\n                                                    April 1, 2014\n                                         </time>\n                                       </td>\n                         </tr>\n                         <tr data-ng-hide="faxRooms.length">\n                                   <td colspan="6" class="text-center">\n                                          <i>{{\'MESSAGE_NO_AVAILABLE_MESSAGES\' | translate}}</i>\n                                      </td>\n                         </tr>\n                         <tr>\n                                  <td colspan="8" class="text-center" style="border: none;">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.faxRoomsByPage" st-displayed-pages="7"></div>\n                                    </td>\n                         </tr>\n                 </tbody>\n              </table>\n      </div>\n</div>\n'),a.put("app/fax/inbox/room/room.html",'<!-- BEGIN TODO CONTENT -->\n<div class="todo-content" data-ng-init="initRoomView()">\n        <div class="portlet light">\n           <!-- PROJECT HEAD -->\n         <div class="portlet-title">\n                   <div class="caption" data-ng-show="faxRoom">\n                          <i class="icon-bar-chart font-green-sharp hide"></i>\n                          <span class="badge badge-default" data-ng-class="{\'badge-error\': faxRoom.status == \'NEW\',\n                         \'badge-warning\': faxRoom.status == \'OPEN\',\n                                \'badge-info\': faxRoom.status == \'PENDING\',\n                                \'badge-success\': faxRoom.status == \'CLOSED\'}"> {{faxRoom.status | uppercase}} </span>\n                     </div>\n                        <div class="actions" data-ng-show="faxRoom">\n                          <div class="btn-group" data-ng-show="Auth.isAdmin()">\n                                 <a class="btn grey-salsa btn-circle btn-sm" href="#" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n                                   {{ \'APPLICATION_ASSIGN\' | translate }} <i class="fa fa-angle-down"></i>\n                                     </a>\n                                  <ul class="dropdown-menu pull-right">\n                                         <li data-ng-repeat="agent in agents">\n                                                 <a href="#" data-ng-click="assignAgent(agent.id)">\n                                                    {{agent.fullname}} <span class="badge badge-default"> {{agent.fullname | uppercase | limitTo : 1}} </span>\n                                                    </a>\n                                          </li>\n                                 </ul>\n                         </div>\n                                <div class="btn-group">\n                                       <a class="btn green-haze btn-circle btn-sm" href="#" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n                                   {{ \'APPLICATION_STATUS\' | translate }} <i class="fa fa-angle-down"></i>\n                                     </a>\n                                  <ul class="dropdown-menu pull-right">\n                                         <li>\n                                                  <a href="#" data-ng-click="updateStatus(\'PENDING\')">\n                                                        {{\'STATUS_PENING\' | translate}} <span class="badge badge-danger">\n                                                   P </span>\n                                                     </a>\n                                          </li>\n                                         <li>\n                                                  <a href="#" data-ng-click="updateStatus(\'CLOSED\')">\n                                                 {{\'STATUS_CLOSED\' | translate}} <span class="badge badge-success">\n                                                  C </span>\n                                                     </a>\n                                          </li>\n                                 </ul>\n                         </div>\n                        </div>\n                </div>\n                <!-- end PROJECT HEAD -->\n             <div class="portlet-body">\n                    <div class="row">\n                             <div data-ng-show="faxRoom" data-ng-class="{\'col-md-7 col-sm-7\': faxRoom}">\n                                 <div class="scroller" id="faxMessages" style="height: 500px; overflow-y: scroll; width: auto;" data-always-visible="1" data-rail-visible1="1" data-initialized="1">\n                                           <ul class="chats">\n                                                    <li data-ng-class="{\'in\': faxMessage.status == \'RECEIVED\', \'out\': (faxMessage.status == \'SENT\' || faxMessage.status == \'SENDING\' || faxMessage.status == \'FAILED\' || faxMessage.status == \'NOT SENT\')}" data-ng-repeat="faxMessage in faxRoom.FaxMessages | orderBy:\'createdAt\'">\n                                                     <img class="avatar" alt="" data-ng-src="api/users/avatar/{{getCurrentUser().userpic && faxMessage.status === \'SENT\' ? getCurrentUser().userpic : \'unknown_avatar\'}}">\n                                                     <div class="message">\n                                                         <span class="arrow">\n                                                          </span>\n                                                               <span class="bold">{{\'APPLICATION_FROM\' | translate}}: </span>\n                                                              <span>{{faxMessage.From.fullname}} </span>\n                                                            <span> &#60;{{faxMessage.From.phone}}&#62; </span>\n                                                            <br>\n                                                          <span class="bold">{{\'APPLICATION_TO\' | translate}}: </span>\n                                                                <span>{{faxMessage.To.fullname}} </span>\n                                                              <span> &#60;{{faxMessage.To.phone}}&#62; </span>\n                                                              <br>\n                                                          <span class="todo-tasklist-date">\n                                                                     <i class="fa fa-calendar"></i>\n                                                                        <time is="relative-time" datetime="{{faxMessage.createdAt}}">\n                                                                         April 1, 2014\n                                                                 </time>\n                                                               </span>\n                                                               <span data-ng-show="faxMessage.status == \'FAILED\' || faxMessage.status == \'SENDING\'" class="badge badge-default" data-ng-class="{\'badge-error\': faxMessage.status == \'FAILED\', \'badge-warning\': faxMessage.status == \'SENDING\'}"> {{faxMessage.status | uppercase}} </span>\n                                                               <br>\n                                                          <br>\n                                                          <span class="body">\n                                                                   <div class="wrapper" ng-controller="FaxInboxRoomCtrl" style="max-height:600px; overflow:auto;">\n                                                 <ng-pdf pdf-url="/api/fax/messages/{{faxMessage.id}}/content" template-url="/assets/plugins/angular-pdf/example/partials/viewer.html" scale="0.5" page=1></ng-pdf>\n                                          </div>\n                                                                </span>\n                                                               <br>\n                                                  </div>\n                                                </li>\n                                         </ul>\n                                 </div>\n                                </div>\n                                <div data-ng-class="{\'col-md-5 col-sm-5\': faxRoom, \'col-md-12 col-sm-12\': !faxRoom}">\n                                     <form name="forms.compose" data-ng-submit="forms.compose.$valid && sendFax()" class="form-horizontal" novalidate>\n                                             <!-- TASK HEAD -->\n                                            <div class="form">\n                                                    <div class="form-group">\n                                                              <div class="col-md-12 col-sm-12">\n                                                                     <div class="todo-taskbody-user">\n                                                                              <img class="todo-userpic pull-left" data-ng-src="api/users/avatar/{{getCurrentUser().userpic ? getCurrentUser().userpic : \'unknown_avatar\'}}" width="50px" height="50px">\n                                                                           <span class="todo-username pull-left">{{ getCurrentUser().fullname }}</span>\n                                                                  </div>\n                                                                </div>\n                                                        </div>\n                                                        <!-- END TASK HEAD -->\n\n                                                      <!-- FAX FROM -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': forms.compose.from.$invalid && forms.compose.$submitted}">\n                                                             <div class="col-md-12">\n                                                                       <div class="row">\n                                                                             <div class="col-md-1">\n                                                                                        <label class="control-label">{{\'APPLICATION_FROM\' | translate}}:</label>\n                                                                            </div>\n                                                                                <div class="col-md-11">\n                                                                                       <ui-select data-ng-model="form.from" theme="bootstrap" name="from" required ng-disabled="disabled">\n                                                                                           <ui-select-match placeholder="{{\'APPLICATION_FROM\' | translate}}...">{{$select.selected.name}} - {{$select.selected.phone}}</ui-select-match>\n                                                                                               <ui-select-choices repeat="faxAccount in faxAccounts | filter: $select.search">\n                                                                                                       <div ng-bind-html="faxAccount.name | highlight: $select.search"></div>\n                                                                                                        <small ng-bind-html="faxAccount.phone | highlight: $select.search"></small>\n                                                                                           </ui-select-choices>\n                                                                                  </ui-select>\n                                                                                  <span data-ng-show="forms.compose.from.$invalid && forms.compose.$submitted" class="help-block help-block-error">\n                                                               <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                               </span>\n                                                                               </div>\n                                                                        </div>\n                                                                </div>\n                                                        </div>\n\n                                                      <!-- FAX TO -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': forms.compose.to.$invalid && forms.compose.$submitted}">\n                                                               <div class="col-md-12">\n                                                                       <div class="row">\n                                                                             <div class="col-md-1">\n                                                                                        <label class="control-label">{{\'APPLICATION_TO\' | translate}}:</label>\n                                                                              </div>\n                                                                                <div class="col-md-11">\n                                                                                       <ui-select tagging tagging-label="" multiple required data-ng-model="form.sto" theme="bootstrap" name="to" ng-disabled="disabled">\n                                                                                            <ui-select-match placeholder="{{\'APPLICATION_TO\' | translate}}...">{{$item}}</ui-select-match>\n                                                                                              <ui-select-choices repeat="to in form.to | filter:$select.search">\n                                                                                                    {{to}}\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                                  <span data-ng-show="forms.compose.to.$invalid && forms.compose.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                               </span>\n                                                                               </div>\n                                                                        </div>\n                                                                </div>\n                                                        </div>\n\n                                                      <!-- TASK DESC -->\n                                                    <div class="form-group">\n                                                              <div class="col-md-12">\n                                                                       <!-- <textarea class="form-control todo-taskbody-taskdesc" rows="8" data-ng-model="form.text" name="text" style="resize: none;"></textarea> -->\n                                                                       <div class="inbox-editor inbox-wysihtml5" text-angular data-ng-model="form.html" name="html"></div>\n                                                           </div>\n                                                        </div>\n                                                        <!-- END TASK DESC -->\n\n                                                      <!-- START ATTACH -->\n                                                 <div class="form-group">\n                                                              <div class="col-md-6">\n                                                                        <input type="file" nv-file-select uploader="uploader" name="file">\n                                                                    <table class="table" border="0">\n                                                                              <tbody>\n                                                                               <tr data-ng-repeat="item in uploader.queue">\n                                                                                          <td style="border-top-style:none">\n                                                                                                    <strong>\n                                                                                                              {{ item.file.name }}\n                                                                                                  </strong>\n                                                                                             </td>\n                                                                                         <td data-ng-show="uploader.isHTML5" nowrap style="border-top-style:none">\n                                                                                                     {{ item.file.size/1024/1024|number:2 }} MB\n                                                                                            </td>\n                                                                                         <td nowrap style="border-top-style:none">\n                                                                                                     <button type="button" class="btn btn-danger btn-xs" data-ng-click="item.remove()">\n                                                                                                                    <span class="glyphicon glyphicon-trash"></span> Remove\n                                                                                                        </button>\n                                                                                             </td>\n                                                                                 </tr>\n                                                                         </tbody>\n                                                                      </table>\n                                                              </div>\n                                                                <div class="col-md-6">\n                                                                        <div class="form-actions right todo-form-actions">\n                                                                            <button class="btn btn-circle btn-sm green-haze">{{ \'APPLICATION_SEND\' | translate }}</button>\n                                                                              <input type="button" name="cancel" value="{{ \'APPLICATION_CANCEL\' | translate }}" class="btn btn-circle btn-sm btn-default" data-ng-click="cancel()">\n                                                                       </div>\n                                                                </div>\n                                                        </div>\n                                                        <!-- END ATTACH -->\n\n                                         </div>\n                                        </form>\n                               </div>\n                        </div>\n                </div>\n        </div>\n</div>\n<!-- END TODO CONTENT -->\n'),a.put("app/fax/queue/list/list.html",'<div class="row">\n <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-paper-plane"></i>\n                                              <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n                                         <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-layers"></i>\n                                           <a href="/fax/queues/lis">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n                                        </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n       <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-layers font-green-sharp"></i>\n                                  <span class="caption-subject">{{ \'APPLICATION_QUEUES\' | translate }}</a> </span>\n                            </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="faxQueues.checked.length">\n                                               <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle " href="#" data-toggle="dropdown">\n                                                 <i class="icon-plus"></i> {{ \'APPLICATION_NEW_QUEUE\' | translate }} <i class="fa fa-angle-down"></i>\n                                                </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <li>\n                                                          <a href="/fax/queues/wizard">\n                                                         <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                         </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getFaxQueues([\'name\', \'description\', \'timeout\', \'strategy\'])" csv-header="[\'Name\', \'Description\', \'Timeout\', \'Strategy\']" field-separator=";" filename="fax_queues.csv">\n                                    <i class="icon-cloud-download"></i></a>\n                               </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedFaxQueues" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                       <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="7">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.queuesByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                                <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="queueByPage in queuesByPage | filter: $select.search">\n                                                                                                     <div ng-bind-html="queueByPage.name | highlight: $select.search"></div>\n                                                                                               </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(queue, checked)" checklist-model checklist-value="id"></th>\n                                                                <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                                <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                          <th st-sort="strategy">{{ \'APPLICATION_STRATEGY\' | translate}}</th>\n                                                         <th st-sort="timeout">{{ \'APPLICATION_AGENT_TIMEOUT\' | translate }}</th>\n                                                <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                                  </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="queue in displayedFaxQueues" class="animate-repeat">\n                                                          <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="faxQueues.checked" checklist-value="queue.id"></td>\n                                          <td>{{queue.name}}</td>\n                                                         <td>{{queue.description}}</td>\n                                                                <td>{{queue.strategy | uppercase}}</td>\n                                                               <td>{{queue.timeout}}</td>\n                                          <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/fax/queues/view/{{queue.id}}/settings">\n                                                                              {{ \'APPLICATION_PROFILE\' | translate }}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(queue.name, queue.id)">\n                                                                            {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedFaxQueues.length">\n                                                         <td colspan="6" class="text-center">\n                                                                  <i>No available queues</i>\n                                                            </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="strategy" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_STRATEGY\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                             <td/>\n                                                         <td/>\n                                           </tr>\n                                           <tr>\n                                            <td colspan="67" class="text-center">\n                                           <div st-pagination class="pagination" st-items-by-page="conf.queuesByPage.value" st-displayed-pages="7"></div>\n                                              </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/fax/queue/view/view.agents.html",'<div class="row" data-ng-init="getTeams()">\n <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_AGENTS\' | translate}}</span>\n                          </div>\n                        </div>\n                        <div class="portlet-body" style="width: 50%; margin: 0 auto;">\n                                <!-- BEGIN FORM-->\n                            <form action="index.html" class="form-horizontal form-row-seperated">\n                                 <div class="form-body text-center">\n                                           <div class="form-group last">\n                                                 <div class="col-md-9" id="multi-select-team">\n                                                 </div>\n                                                </div>\n                                        </div>\n                                </form>\n                               <!-- END FORM-->\n                      </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/fax/queue/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getQueue()">\n      <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-paper-plane"></i>\n                                      <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n                                 <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-layers"></i>\n                                   <a href="/fax/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n                                       <i data-ng-show="queue" class="fa fa-angle-right"></i>\n                                </li>\n                         <li data-ng-show="queue">\n                                     <a href="#">{{queue.name}}</a>\n                                </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/queue.png" class="img-responsive">\n                              </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{queue.name}}\n                                        </div>\n                                        <!-- <div class="profile-usertitle-job">\n                                              {{user.role}}\n                                 </div> -->\n                            </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.fax.queues.view.settings\')}">\n                                                   <a data-ng-href="/fax/queues/view/{{queue.id}}/settings">\n                                                     <i class="icon-settings"></i>\n                                                 {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n                                                </li>\n                                         <li data-ng-class="{active: $state.is(\'main.fax.queues.view.agents\')}">\n                                                     <a data-ng-href="/fax/queues/view/{{queue.id}}/agents">\n                                                       <i class="icon-people"></i>\n                                                   {{ \'APPLICATION_AGENTS\' | translate}} </a>\n                                          </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/fax/queue/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_SETTINGS\' | translate}}</span>\n                                </div>\n                        </div>\n                        <div class="portlet-body">\n                            <form name="forms.general" data-ng-submit="forms.general.$valid && updateFaxQueue()" novalidate>\n                                      <!-- START NAME -->\n                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid}">\n                                            <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="queue.name" required/>\n                                          <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.required" class="help-block help-block-error">\n                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                         </span>\n                                       </div>\n                                        <!-- END NAME -->\n\n                                   <!-- START DESCRIPTION -->\n                                    <div class="form-group">\n                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="queue.description"/>\n                                      </div>\n                                        <!-- END DESCRIPTION -->\n\n                                    <!-- START TIMEOUT -->\n                                        <div class="form-group">\n                                              <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}</label>\n                                          <input type="number" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" min="1" data-ng-model="queue.timeout"/>\n                                        </div>\n                                        <!-- END TIMEOUT -->\n\n                                        <!-- START HEADER SHAPE -->\n                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid}">\n                                            <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}</label>\n                                         <!-- <input colorpicker type="text" name="animationToggle" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" class="form-control" data-ng-model="chatWebsite.animation" required/> -->\n                                               <ui-select data-ng-model="queue.strategy" name="strategy" theme="bootstrap">\n                                                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.toUpperCase()}}</ui-select-match>\n                                                     <ui-select-choices repeat="strategy in [\'rrmemory\',\'beepall\'] | filter: $select.search">\n                                                          <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n                                                 </ui-select-choices>\n                                          </ui-select>\n                                  </div>\n                                        <!-- END HEADER SHAPE -->\n                                     <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                          </form>\n                       </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/fax/queue/wizard/wizard.html",'<div class="col-md-12">\n  <!-- BEGIN PAGE HEADER-->\n     <div class="page-bar">\n                <ul class="page-breadcrumb">\n                  <li>\n                          <i class="icon-rocket"></i>\n                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                           <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-paper-plane"></i>\n                              <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n        <i class="fa fa-angle-right"></i>\n                      </li>\n      <li>\n                             <i class="icon-layers"></i>\n                           <a href="/fax/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n                       </li>\n         </ul>\n </div>\n  <!-- END PAGE HEADER-->\n\n  <!-- BEGIN PORTLET-->\n  <div class="portlet light bordered">\n          <div class="portlet-title">\n           <div class="caption font-green-sharp">\n                        <i class="icon-layers font-green-sharp"></i>\n                          <span class="caption-subject">{{ \'APPLICATION_QUEUES\' | translate }} WIZARD</a> </span>\n             </div>\n        </div>\n        <div class="portlet-body">\n            <wizard on-finish="createItem()">\n                             <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="exitValidation(forms.info.$valid)">\n                                        <form name="forms.general" data-ng-submit="forms.general.$valid && createItem()" novalidate>\n                                          <!-- START NAME -->\n                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid}">\n                                                    <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                 <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n                                                   <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.required" class="help-block help-block-error">\n                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END NAME -->\n\n                                           <!-- START DESCRIPTION -->\n                                            <div class="form-group">\n                                                      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                      <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n                                               </div>\n                                                <!-- END DESCRIPTION -->\n\n                                            <!-- START TIMEOUT -->\n                                                <div class="form-group" data-ng-class="{\'has-error\': (forms.general.timeout.$touched || forms.general.$submitted) && forms.general.timeout.$invalid}">\n                                                      <label class="control-label">{{\'APPLICATION_AGENT_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                        <input type="number" min="0" name="timeout" placeholder="Timeout" class="form-control" data-ng-model="item.timeout" required/>\n                                                        <span data-ng-show="(forms.general.timeout.$touched || forms.general.$submitted) && forms.general.timeout.$invalid && forms.general.timeout.$error.required" class="help-block help-block-error">\n                                                             <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END TIMEOUT -->\n\n                                                <!-- START STRATEGY -->\n                                               <div class="form-group" data-ng-class="{\'has-error\': (forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid}">\n                                                    <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                     <ui-select data-ng-model="item.strategy" name="strategy" theme="bootstrap" required>\n                                                          <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.toUpperCase()}}</ui-select-match>\n                                                             <ui-select-choices repeat="strategy in [\'rrmemory\',\'beepall\'] | filter: $select.search">\n                                                                  <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n                                                         </ui-select-choices>\n                                                  </ui-select>\n                                                  <span data-ng-show="(forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid && forms.general.strategy.$error.required" class="help-block help-block-error">\n                                                          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END STRATEGY -->\n                                         <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                  </form>\n                         </wz-step>\n\n                                <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                    <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                         </wz-step>\n            </wizard>\n     </div>\n  </div>\n  <!-- END PORTLET-->\n</div>\n'),
 a.put("app/fax/timeline/list/list.html",'<div class="row">\n   <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-paper-plane"></i>\n                                              <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n                                         <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-list"></i>\n                                             <a href="/fax/timeline/list"> {{\'APPLICATION_TIMELINE\' | translate}}</a>\n                                    </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initList()">\n     <div class="col-md-12">\n    <h3 class="page-title">\n                          {{\'APPLICATION_TIMELINE\' | translate}}\n                      </h3>\n                 <!-- END PAGE HEADER-->\n                       <!-- BEGIN PAGE CONTENT-->\n                    <div class="timeline">\n                                <!-- TIMELINE ITEM -->\n                                <div class="timeline-item" data-ng-repeat="event in events | orderBy:\'-id\'">\n                                        <div class="timeline-badge">\n                                          <div class="timeline-icon">\n                                                   <i class="icon-paper-plane font-green-haze"></i>\n                                              </div>\n                                        </div>\n                                        <div class="timeline-body">\n                                           <div class="timeline-body-arrow"></div>\n                                               <div class="timeline-body-head">\n                                                      <div class="timeline-body-head-caption">\n                                                              <span class="timeline-body-alerttitle" data-ng-class="{\'font-red\': event.name == \'INCOMING\', \'font-blue\': event.name == \'ATTEMPT\', \'font-green\': event.name == \'TAKEN\'}">{{event.name | uppercase}}</span>\n                                                                <span class="timeline-body-time font-grey-cascade">{{\'APPLICATION_AT\' | translate}} {{event.createdAt | date:\'yyyy-MM-dd HH:mm:ss\'}}</span>\n                                                       </div>\n                                                        <div class="timeline-body-head-actions">\n                                                              <div class="btn-group">\n                                                                       <a class="btn btn-circle btn-sm dropdown-toggle btn-success" href="/fax/inbox/room/{{event.FaxRoomId}}">{{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_FAX\' | translate}}</a>\n                                                         </div>\n                                                        </div>\n                                                </div>\n                                                <div class="timeline-body-content">\n                                                   <span class="font-grey-cascade" data-ng-show="event.User">\n                                                    {{event.FaxRoom.subject ? event.FaxRoom.subject + \' - \' : \'\'}}<a href="/agents/view/{{event.UserId}}/account">{{event.User.fullname}}</a>\n                                                 </span>\n                                               </div>\n                                        </div>\n                                </div>\n                                <!-- END TIMELINE ITEM -->\n                    </div>\n                        <!-- END PAGE CONTENT-->\n      </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/freshdesk/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n      <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-handbag"></i>\n                                  <a href="/freshdesk/list">{{ \'APPLICATION_FRESHDESK\' | translate }}</a>\n                             </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-handbag font-green-sharp"></i>\n                                 <span class="caption-subject">{{ \'APPLICATION_FRESHDESK\' | translate }}</a> </span>\n                         </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="accounts.checked.length">\n                                                <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle" href="#" data-toggle="dropdown">\n                                                  <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }} <i class="fa fa-angle-down"></i>\n                                              </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <li>\n                                                          <a href="/freshdesk/wizard">\n                                                          <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                         </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getAccounts([\'name\',\'username\',\'remoteUri\',\'apiKey\'])" csv-header="[\'Name\', \'Username\', \'Remote Address\', \'Api Key\']" field-separator=";" filename="freshdesk_accounts.csv">\n                                        <i class="icon-cloud-download"></i></a>\n                               </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedFreshdeskAccounts" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                       <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="7">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.accountsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                              <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="accountByPage in accountsByPage | filter: $select.search">\n                                                                                                 <div ng-bind-html="accountByPage.name | highlight: $select.search"></div>\n                                                                                             </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(account, checked)" checklist-model checklist-value="id"></th>\n                                                  <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                <th st-sort="username">{{ \'APPLICATION_EMAIL\' | translate }}</th>\n                                                               <th st-sort="remoteUri">{{ \'APPLICATION_REMOTE_ADDRESS\' | translate }}</th>\n                                                         <th>{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                                <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="account in displayedFreshdeskAccounts" class="animate-repeat">\n                                                                <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="accounts.checked" checklist-value="account.id"></td>\n                                         <td>{{account.name}}</td>\n                                             <td>{{account.username}}</td>\n                                                           <td>{{account.remoteUri}}</td>\n                                                                <td>{{account.description}}</td>\n                                            <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/freshdesk/view/{{account.id}}/account">\n                                                                              {{ \'APPLICATION_EDIT\' | translate }}\n                                                </a>\n                                                                  <a class="btn default btn-xs green-stripe" data-ng-click="checkAccount(account.id)">\n                                                                          {{ \'APPLICATION_CHECK_CONNECTION\' | translate }}\n                                            </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(account.name,account.id)">\n                                                                         {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedFreshdeskAccounts.length">\n                                                         <td colspan="7" style="text-align:center;">\n                                                                   <i>No account available</i>\n                                                           </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="email" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_EMAIL\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                      </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="remoteUri" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_REMOTE_ADDRESS\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                 </div>\n                                                    </td>\n                                                 <td/>\n                                                             <td/>\n                                           </tr>\n                                           <tr>\n                                            <td colspan="7" class="text-center">\n                                                                    <div class="pagination" st-pagination st-items-by-page="conf.accountsByPage.value" st-displayed-pages="7"></div>\n                                            </td>\n                                       </tr>\n                                       </tfoot>\n                                    </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/freshdesk/view/view.account.html",'<div class="row">\n  <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_ACCOUNT\' | translate}}</span>\n                         </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n                                     </li>\n                         </ul>\n                 </div>\n                        <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n              <!-- START NAME -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.name.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.name" required/>\n                                                                <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n                                                     <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n                                                    </div>\n                                                        <!-- END DESCRIPTION -->\n\n              <!-- START USERNAME -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                            <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.username" required/>\n                                                            <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n              <!-- START REMOTE ADDRESS -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                              <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.remoteUri" required />\n                                                            <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n                                                       <!-- START API KEY -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.apiKey.$invalid}">\n                                                           <label class="control-label">{{\'APPLICATION_API_KEY\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                             <input type="text" name="apiKey" placeholder="{{\'APPLICATION_API_KEY\' | translate}}" class="form-control" data-ng-model="account.apiKey" required/>\n                                                         <span data-ng-show="forms.formSetting.apiKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                   <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END API KEY -->\n\n                                                        <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END GENERAL TAB -->\n\n                            </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/freshdesk/view/view.configuration.html",'<div class="row" data-ng-init="initConfiguration()">\n   <div class="col-md-12">\n               <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_CONFIGURATION\' | translate }} WIZARD</a> </span>\n                              </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createConfiguration()">\n            <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="formValidation(formsConfiguration.info.$valid)">\n                                                   <form name="formsConfiguration.info" novalidate>\n                                                              <!-- START NAME -->\n                                                           <div class="form-group" data-ng-class="{\'has-error\': formsConfiguration.info.$submitted && formsConfiguration.info.name.$invalid}">\n                                                                 <label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                        <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="configuration.name" required/>\n                                                                  <span data-ng-show="formsConfiguration.info.name.$invalid && formsConfiguration.info.$submitted" class="help-block help-block-error">\n                                                                         <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END NAME -->\n                                                             <!-- START DESCRIPTION -->\n                                                            <div class="form-group">\n                                                                      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                                      <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="configuration.description"/>\n                                                              </div>\n                                                                <!-- END DESCRIPTION -->\n\n                                                            <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n                                                       </form>\n                                               </wz-step>\n\n                                          <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                                    <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                         </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/freshdesk/view/view.configurationSettings.html",'<div class="row" data-ng-init="getConfiguration();getVariables();getFields();">\n      <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n                            </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n                                      </li>\n          <li>\n                                         <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n                                  </li>\n          <li>\n                                         <a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n                                       </li>\n                         </ul>\n                 </div>\n                        <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- SUBJECT TAB -->\n                                  <div class="tab-pane ui-padding active" id="tab_1_1">\n            <div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by blank space:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItemSubject()"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n                                          <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n                <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n                 <div class="col-md-3">\n                  <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n                       <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n                     <ui-select-choices repeat="item in fieldType | filter: $select.search">\n                         <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n                    </ui-select-choices>\n                        </ui-select>\n                </div>\n                <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n                        <div class="form-group">\n                        <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n                      </div>\n                      </div>\n                <div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n                      <div class="form-group">\n                        <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                     <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n                              <div ng-bind-html="variable.name | highlight: $select.search"></div>\n                        </ui-select-choices>\n                        </ui-select>\n                        </div>\n                      </div>\n                <div class="col-md-1">\n                  <div class="form-group">\n                        <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n                  </div>\n                      </div>\n              </div>\n                                            <!-- </div> -->\n                                       </div>\n                                        <!-- END SUBJECT TAB -->\n          <!-- DESCRIPTION TAB -->\n                                  <div class="tab-pane ui-padding" id="tab_1_2">\n                                                <div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by new line:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItemDescription()"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n                                            <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n                                                    <div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n                                                               <!-- <pre>\n                                                                    {{descriptionItem|json}}\n                                                              </pre> -->\n                  <div class="col-md-2">\n                  <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n                   <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n                        <ui-select-choices repeat="item in descFieldType | filter: $select.search">\n                     <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n                       </ui-select-choices>\n                        </ui-select>\n                </div>\n                <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n                    <div class="form-group">\n                        <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n                      </div>\n                      </div>\n                                                          <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n                                                                       <input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n                                                          </div>\n                                                                <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n                                                                       <ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n                        <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n                     <ui-select-choices repeat="item in fieldType | filter: $select.search">\n                         <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n                    </ui-select-choices>\n                        </ui-select>\n                                                          </div>\n                                                                <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'string\'">\n                                                                        <input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n                                                         </div>\n                      <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'variable\'">\n                        <div class="form-group">\n                        <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                     <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n                              <div ng-bind-html="variable.name | highlight: $select.search"></div>\n                        </ui-select-choices>\n                        </ui-select>\n                        </div>\n                      </div>\n                <div class="col-md-1">\n                  <div class="form-group">\n                        <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n                      </div>\n                      </div>\n              </div>\n                                            <!-- </div> -->\n                                       </div>\n                                        <!-- END DESCRIPTION TAB -->\n          <!-- FIELDS TAB -->\n                                   <div class="tab-pane ui-padding" id="tab_1_3">\n                                                <div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">Add how to fill the fields present in your account:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItemField()"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n                                             <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n                <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n                     <div class="col-md-3">\n                  <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n                   <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n                    <ui-select-choices repeat="item.name as item in accountFields | filter: $select.search">\n                        <div ng-bind-html="item.label | highlight: $select.search"></div>\n                   </ui-select-choices>\n                        </ui-select>\n                </div>\n                <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n                    <div class="form-group">\n                                                                              <ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n                               <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected[0]}}</ui-select-match>\n                               <ui-select-choices repeat="item[0] as item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n                               <div ng-bind-html="item[0] | highlight: $select.search"></div>\n                              </ui-select-choices>\n                                </ui-select>\n                  </div>\n                      </div>\n                                                          <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n                                                                 <div class="form-group">\n                                                                              <ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n                                <ui-select-choices repeat="item in fieldType | filter: $select.search">\n                                 <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n                               </ui-select-choices>\n                                </ui-select>\n                                                                  </div>\n                                                                </div>\n                                                                <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n                        <div class="form-group">\n                                                                              <input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n                    </div>\n                      </div>\n                                                          <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n                      <div class="form-group">\n                                                                              <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n                         <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                     <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n                              <div ng-bind-html="variable.name | highlight: $select.search"></div>\n                        </ui-select-choices>\n                        </ui-select>\n                        </div>\n                      </div>\n                <div class="col-md-1">\n                  <div class="form-group">\n                        <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n                    </div>\n                      </div>\n              </div>\n                                            <!-- </div> -->\n                                       </div>\n                                        <!-- END FIELDS TAB -->\n                               </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/freshdesk/view/view.configurations.html",'<div ui-view class="profile-content">\n <div class="row" data-ng-init="getConfigurations()">\n          <div class="col-md-12">\n                       <div class="portlet light">\n                           <div class="portlet-title  tabbable-line">\n                                    <div class="caption caption-md">\n                                              <i class="icon-globe theme-font hide"></i>\n                                            <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CONFIGURATIONS\' | translate}}</span>\n                                  </div>\n                                        <div class="actions">\n                                         <div class="btn-group">\n                                                       <a class="btn green-jungle " href="/freshdesk/view/{{account.id}}/configuration" data-toggle="dropdown">\n                                                              <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONFIGURATION\' | translate }}\n                                                 </a>\n                                          </div>\n                                        </div>\n                                </div>\n                                <div class="portlet-body">\n                                    <!-- START TABLE -->\n                                  <table class="table table-striped table-bordered table-hover">\n                                                  <thead>\n                                                       <tr>\n                                                            <th>{{\'APPLICATION_NAME\' | translate}}</th>\n                                                                     <th>{{\'APPLICATION_DESCRIPTION\' | translate}}</th>\n                                                                  <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                                      </tr>\n                                                 </thead>\n                                                    <tbody>\n                                                   <tr data-ng-repeat="configuration in configurations">\n                                                                     <td>{{configuration.name}}</td>\n                                                                       <td>{{configuration.description}}</td>\n                                                      <td>\n                                                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/freshdesk/view/{{account.id}}/configurations/settings/{{configuration.id}}">\n                                                                                 {{ \'APPLICATION_SETTINGS\' | translate}}\n                                                     </a>\n                                                  <a class="btn default btn-xs red-stripe" data-ng-click="deleteConfiguration(configuration.name,configuration.id)">\n                                                                                    {{ \'APPLICATION_DELETE\' | translate }}\n                                                      </a>\n                                                </td>\n                                               </tr>\n                                                             <tr data-ng-hide="configurations.length">\n                                                                     <td colspan="5" style="text-align:center;">\n                                                                           <i>No configuration available</i>\n                                                                     </td>\n                                                         </tr>\n                                           </tbody>\n                                    </table>\n                                      <!-- END TABLE -->\n                            </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/freshdesk/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initView()">\n      <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n          <i class="icon-handbag"></i>\n          <a href="/freshdesk/list">{{ \'APPLICATION_FRESHDESK\' | translate }}</a>\n                                     <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <a href="#">{{account.name}}</a>\n                              </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img src="assets/images/media/freshdesk.png" class="img-responsive">\n                          </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{account.name}}\n                                      </div>\n                                        <div class="profile-usertitle-job">\n                                           {{account.remoteUri}}\n                                 </div>\n                                </div>\n                                <!-- END SIDEBAR USER TITLE -->\n                               <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.freshdesk.view.account\')}">\n                                                     <a ng-href="/freshdesk/view/{{account.id}}/account">\n                                                  <i class="icon-user"></i>\n                                                     {{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n                                                </li>\n                                         <li data-ng-class="{active: $state.includes(\'main.freshdesk.view.configurations\') || $state.is(\'main.freshdesk.view.configuration\')}">\n                                                    <a ng-href="/freshdesk/view/{{account.id}}/configurations">\n                                                   <i class="icon-settings"></i>\n                                                 {{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n                                         </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
 a.put("app/freshdesk/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\n       <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-handbag"></i>\n                                          <a href="/freshdesk/list">{{ \'APPLICATION_FRESHDESK\' | translate }}</a>\n                                     </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initWizard()">\n  <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n          <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n                                                <form name="forms.formSetting" novalidate>\n\n                                                  <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.name.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n                                                           <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n                                                       </div>\n                                                        <!-- END DESCRIPTION -->\n\n              <!-- START USERNAME -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                            <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.username" required ng-remote-validate="/api/freshdesk/accounts/validate/username"/>\n                                                                <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                               <span data-ng-show="(forms.formSetting.username.$touched || forms.formSetting.$submitted) && forms.formSetting.username.$error.ngRemoteValidate" class="help-block help-block-error">\n                                   <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n                                       </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n\n              <!-- START REMOTE ADDRESS -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                              <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.remoteUri" required ng-remote-validate="/api/freshdesk/accounts/validate/remoteUri"/>\n                                                                <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                <span data-ng-show="(forms.formSetting.remoteUri.$touched || forms.formSetting.$submitted) && forms.formSetting.remoteUri.$error.ngRemoteValidate" class="help-block help-block-error">\n                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_DOMAIN\' | translate}}.\n                                 </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n              <!-- START API KEY -->\n                                                 <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.apiKey.$invalid}">\n                                                           <label class="control-label">{{\'APPLICATION_API_KEY\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                             <input type="text" name="apiKey" placeholder="{{\'APPLICATION_API_KEY\' | translate}}" class="form-control" data-ng-model="item.apiKey" required/>\n                                                            <span data-ng-show="forms.formSetting.apiKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                   <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END API KEY -->\n\n                                                        <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n                                               </form>\n                                       </wz-step>\n\n                                  <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                             <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                            <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                 </wz-step>\n\n                          </wizard>\n\n                   </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/integration/list/list.html",'\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n  <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-game-controller"></i>\n                                  <a href="/integrations/list">{{ \'APPLICATION_INTEGRATIONS\' | translate }}</a>\n                               </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered" data-ng-init="initList()">\n                        <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-eye font-green-sharp"></i>\n                                     <span class="caption-subject">{{ \'APPLICATION_INTEGRATIONS\' | translate }}</a> </span>\n                              </div>\n                                <div class="actions">\n                           <span class="btn green-jungle btn-file">\n            <span> <i class="icon-plus"></i> New App </span>\n            <input type="file" accept=".zip" nv-file-select="" uploader="uploader"/>\n          </span>\n          <a class="btn btn-icon-only btn-default" href="#" ng-csv="displayedIntegrations" filename="integrations.csv">\n                                    <i class="icon-cloud-download"></i></a>\n                                       <a class="btn btn-icon-only btn-default fullscreen" href="#"></a>\n                             </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedIntegrations" st-safe-src="integrations" class="table table-striped table-bordered table-hover">\n                                    <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="6">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <select class="form-control input-small select2me" data-ng-model="integrationsByPage">\n                                                                                                <option value="10">10</option>\n                                                                                                <option value="25">25</option>\n                                                                                                <option value="50">50</option>\n                                                                                                <option value="{{integrations.length}}">{{ \'APPLICATION_ALL\' | translate }}</option>\n                                                                                        </select>\n                                                                             </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th st-sort="id" width="5%" st-sort-default="reverse">{{ \'APPLICATION_ID\' | translate }}</th>\n                                                   <th st-sort="fullname">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                                <th st-sort="name">{{ \'APPLICATION_FILENAME\' | translate }}</th>\n                                                            <th st-sort="name">{{ \'APPLICATION_VERSION\' | translate }}</th>\n                                                 <th st-sort="name">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                 <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                                  </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="integration in displayedIntegrations">\n                                                                <td>{{integration.id}}</td>\n                                                           <td>{{integration.name}}</td>\n                                                         <td>{{integration.filename}}</td>\n                                                             <td>{{integration.version}}</td>\n                                            <td>{{integration.description}}</td>\n                                                            <td>\n                                                                  <span class="btn default btn-xs blue-stripe btn-file">\n                                            <span> {{ \'APPLICATION_UPDATE\' | translate }} </span>\n                                       <input type="file" accept=".zip" nv-file-select="" uploader="uploader"/>\n                                    </span>\n                                             <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(integration.name, integration.id)">\n                                                                                {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="integrations.length">\n                                                               <td colspan="6" style="text-align:center;">\n                                                                   <i>No integrations available</i>\n                                                              </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="id" class="form-control" type="search"/>\n                                                                    </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="filename" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_FILENAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                             <td>\n                                              </td>\n                                                             <td>\n                                              </td>\n                                                             <td>\n                                              </td>\n                                               </tr>\n                                           <tr>\n                                            <td colspan="6" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="integrationsByPage" st-displayed-pages="7"></div>\n                                           </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/interval/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n       <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-clock"></i>\n                                    <a href="/intervals/list">{{ \'APPLICATION_INTERVALS\' | translate }}</a>\n                             </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-clock font-green-sharp"></i>\n                                   <span class="caption-subject">{{ \'APPLICATION_INTERVALS\' | translate }}</a> </span>\n                         </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="intervals.checked.length">\n                                               <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle " href="#" data-toggle="dropdown">\n                                                 <i class="icon-plus"></i> {{ \'APPLICATION_NEW_INTERVAL\' | translate }} <i class="fa fa-angle-down"></i>\n                                             </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <li>\n                                                          <a href="/intervals/wizard">\n                                                          <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                         </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getIntervals([\'name\'])" csv-header="[\'Name\']" field-separator=";" filename="intervals.csv">\n                                     <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedIntervals" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                       <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="3">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.intervalsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                             <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="intervalByPage in intervalsByPage | filter: $select.search">\n                                                                                                       <div ng-bind-html="intervalByPage.name | highlight: $select.search"></div>\n                                                                                            </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(interval, checked)" checklist-model checklist-value="id"></th>\n                                                 <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                            <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="interval in displayedIntervals">\n                                                              <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="intervals.checked" checklist-value="interval.id"></td>\n                                                         <td>{{interval.name}}</td>\n                                          <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/intervals/view/{{interval.id}}/settings">\n                                                                            {{ \'APPLICATION_SETTINGS\' | translate}}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(interval.name,interval.id)">\n                                                                               {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedIntervals.length">\n                                                         <td colspan="3" style="text-align:center;">\n                                                                   <i>{{ \'MESSAGE_NO_INTERVALS_AVAILABLE\' | translate }}</i>\n                                                           </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                 <td>\n                                                  </td>\n                                               </tr>\n                                           <tr>\n                                            <td colspan="3" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.intervalsByPage.value" st-displayed-pages="7"></div>\n                                           </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/interval/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getInterval()">\n  <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-clock"></i>\n                                    <a href="/intervals/list">{{ \'APPLICATION_INTERVALS\' | translate }}</a>\n                                     <i data-ng-show="interval" class="fa fa-angle-right"></i>\n                             </li>\n                         <li data-ng-show="interval">\n                                  <a href="#">{{interval.name}}</a>\n                             </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/interval.png" class="img-responsive">\n                           </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{interval.name}}\n                                     </div>\n                                        <!-- <div class="profile-usertitle-job">\n                                              {{user.role}}\n                                 </div> -->\n                            </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.intervals.view.settings\')}">\n                                                    <a data-ng-href="/intervals/view/{{interval.id}}/settings">\n                                                   <i class="icon-settings"></i>\n                                                 {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n                                                </li>\n                                         <li data-ng-class="{active: $state.is(\'main.intervals.view.subintervals\') || $state.is(\'main.intervals.view.subinterval\') || $state.is(\'main.intervals.view.subintervals.settings\')}">\n                                                  <a data-ng-href="/intervals/view/{{interval.id}}/subintervals">\n                                                       <i class="icon-list"></i>\n                                                     {{ \'APPLICATION_SUBINTERVALS\' | translate}} </a>\n                                            </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/interval/view/view.settings.html",'<div class="row">\n  <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_INTERVAL\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n                            </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n                                     </li>\n                         </ul>\n                 </div>\n\n                      <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.general" data-ng-submit="forms.general.$valid && updateInterval()" novalidate>\n\n                                                    <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="interval.name" required/>\n                                                               <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END ADVANCED TAB -->\n\n                           </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/interval/view/view.subinterval.html",'\n<div class="row" data-ng-init="initSubInterval()">\n      <div class="col-md-12">\n               <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_NEW_SUBINTERVAL\' | translate }} WIZARD</a> </span>\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n          <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="exitValidation(forms.subinterval.name.$valid)">\n            <form name="forms.subinterval" novalidate>\n\n              <!-- START NAME -->\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.subinterval.name.$touched || forms.subinterval.$submitted) && forms.subinterval.name.$invalid}">\n                <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="subinterval.name" required/>\n                <span data-ng-show="(forms.subinterval.name.$touched || forms.subinterval.$submitted) && forms.subinterval.name.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              <!-- END NAME -->\n\n                                                       <!-- START TIME -->\n              <div class="form-group">\n                <label class="control-label">{{ \'APPLICATION_TIME\' | translate }}</label>\n                <div class="input-group input-large">\n                                                                       <fieldset class="pull-left" ng-disabled="splittedInterval.alwaysTime"><uib-timepicker name="t_from" data-ng-model="splittedInterval.t_from" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n                  <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n                                                                        <fieldset ng-disabled="splittedInterval.alwaysTime"><uib-timepicker  name="t_to" data-ng-model="splittedInterval.t_to" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n                                                                       <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="splittedInterval.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label>\n                </div>\n              </div>\n              <!-- END TIME -->\n\n              <!-- START WEEKDAY -->\n              <div class="form-group">\n                <label class="control-label">{{ \'APPLICATION_WEEKDAY\' | translate }}</label>\n                <div class="input-group input-large">\n                  <ui-select data-ng-model="splittedInterval.wd_from" theme="bootstrap" name="wd_from">\n                    <ui-select-match placeholder="">{{$translate.instant($select.selected.name)}}</ui-select-match>\n                    <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                      {{$translate.instant(weekDay.name)}}\n                    </ui-select-choices>\n                  </ui-select>\n                  <span class="input-group-addon">to</span>\n                  <ui-select data-ng-model="splittedInterval.wd_to" theme="bootstrap" name="wd_to">\n                    <ui-select-match placeholder="">{{$translate.instant($select.selected.name)}}</ui-select-match>\n                    <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                      {{$translate.instant(weekDay.name)}}\n                    </ui-select-choices>\n                  </ui-select>\n                </div>\n              </div>\n              <!-- END WEEKDAY -->\n\n              <!-- START MONTHDAY -->\n              <div class="form-group">\n                <label class="control-label">{{ \'APPLICATION_MONTHDAY\' | translate }}</label>\n                <div class="input-group input-large">\n                  <ui-select data-ng-model="splittedInterval.md_from" theme="bootstrap" name="md_from">\n                    <ui-select-match>{{$select.selected}}</ui-select-match>\n                    <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                      {{monthDay}}\n                    </ui-select-choices>\n                  </ui-select>\n                  <span class="input-group-addon">to</span>\n                  <ui-select data-ng-model="splittedInterval.md_to" theme="bootstrap" name="md_to">\n                    <ui-select-match>{{$select.selected}}</ui-select-match>\n                    <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                      {{monthDay}}\n                    </ui-select-choices>\n                  </ui-select>\n                </div>\n              </div>\n              <!-- END MONTHDAY -->\n\n              <!-- START MONTH -->\n              <div class="form-group">\n                <label class="control-label">{{ \'APPLICATION_MONTH\' | translate }}</label>\n                <div class="input-group input-large">\n                  <ui-select data-ng-model="splittedInterval.m_from" theme="bootstrap" name="m_from">\n                    <ui-select-match placeholder="">{{$translate.instant($select.selected.name)}}</ui-select-match>\n                    <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                      {{$translate.instant(month.name)}}\n                    </ui-select-choices>\n                  </ui-select>\n                  <span class="input-group-addon">to</span>\n                  <ui-select data-ng-model="splittedInterval.m_to" theme="bootstrap" name="m_to">\n                    <ui-select-match placeholder="">{{$translate.instant($select.selected.name)}}</ui-select-match>\n                    <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                      {{$translate.instant(month.name)}}\n                    </ui-select-choices>\n                  </ui-select>\n                </div>\n              </div>\n              <!-- END MONTH -->\n\n\n\n                                                       <button class="btn green-haze" type="submit" ng-click="next()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n            </form>\n          </wz-step>\n\n\n                                             <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                                    <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n                                                     <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                         </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/interval/view/view.subintervalSettings.html",'\n<div class="row" data-ng-init="getSubInterval()">\n     <div class="col-md-12">\n               <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_SUBINTERVAL_SETTINGS\' | translate }} WIZARD</a> </span>\n                               </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="updateItem()">\n                                     <div class="profile-usertitle-name">\n                                          {{subinterval.name}}\n                                  </div>\n          <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="exitValidation(forms.subinterval.name.$valid)">\n            <form name="forms.subinterval" novalidate>\n\n              <!-- START NAME -->\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.subinterval.name.$touched || forms.subinterval.$submitted) && forms.subinterval.name.$invalid}">\n                <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="subinterval.name" required/>\n                <span data-ng-show="(forms.subinterval.name.$touched || forms.subinterval.$submitted) && forms.subinterval.name.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              <!-- END NAME -->\n\n              <!-- START TIME -->\n              <div class="form-group">\n                <label class="control-label">{{ \'APPLICATION_TIME\' | translate }}</label>\n                <div class="input-group input-large">\n                                                                   <fieldset class="pull-left" ng-disabled="splittedInterval.alwaysTime"><uib-timepicker name="t_from" data-ng-model="splittedInterval.t_from" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n                  <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n                                                                        <fieldset ng-disabled="splittedInterval.alwaysTime"><uib-timepicker  name="t_to" data-ng-model="splittedInterval.t_to" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n                                                                       <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="splittedInterval.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label>\n                </div>\n              </div>\n              <!-- END TIME -->\n\n              <!-- START WEEKDAY -->\n              <div class="form-group">\n                <label class="control-label">{{ \'APPLICATION_WEEKDAY\' | translate }}</label>\n                <div class="input-group input-large">\n                  <ui-select data-ng-model="splittedInterval.wd_from" theme="bootstrap" name="wd_from">\n                    <ui-select-match placeholder="">{{$translate.instant($select.selected.name)}}</ui-select-match>\n                    <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                      {{$translate.instant(weekDay.name)}}\n                    </ui-select-choices>\n                  </ui-select>\n                  <span class="input-group-addon">to</span>\n                  <ui-select data-ng-model="splittedInterval.wd_to" theme="bootstrap" name="wd_to">\n                    <ui-select-match placeholder="">{{$translate.instant($select.selected.name)}}</ui-select-match>\n                    <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                      {{$translate.instant(weekDay.name)}}\n                    </ui-select-choices>\n                  </ui-select>\n                </div>\n              </div>\n              <!-- END WEEKDAY -->\n\n              <!-- START MONTHDAY -->\n              <div class="form-group">\n                <label class="control-label">{{ \'APPLICATION_MONTHDAY\' | translate }}</label>\n                <div class="input-group input-large">\n                  <ui-select data-ng-model="splittedInterval.md_from" theme="bootstrap" name="md_from">\n                    <ui-select-match>{{$select.selected}}</ui-select-match>\n                    <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                      {{monthDay}}\n                    </ui-select-choices>\n                  </ui-select>\n                  <span class="input-group-addon">to</span>\n                  <ui-select data-ng-model="splittedInterval.md_to" theme="bootstrap" name="md_to">\n                    <ui-select-match>{{$select.selected}}</ui-select-match>\n                    <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                      {{monthDay}}\n                    </ui-select-choices>\n                  </ui-select>\n                </div>\n              </div>\n              <!-- END MONTHDAY -->\n\n              <!-- START MONTH -->\n              <div class="form-group">\n                <label class="control-label">{{ \'APPLICATION_MONTH\' | translate }}</label>\n                <div class="input-group input-large">\n                  <ui-select data-ng-model="splittedInterval.m_from" theme="bootstrap" name="m_from">\n                    <ui-select-match placeholder="">{{$translate.instant($select.selected.name)}}</ui-select-match>\n                    <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                      {{$translate.instant(month.name)}}\n                    </ui-select-choices>\n                  </ui-select>\n                  <span class="input-group-addon">to</span>\n                  <ui-select data-ng-model="splittedInterval.m_to" theme="bootstrap" name="m_to">\n                    <ui-select-match placeholder="">{{$translate.instant($select.selected.name)}}</ui-select-match>\n                    <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                      {{$translate.instant(month.name)}}\n                    </ui-select-choices>\n                  </ui-select>\n                </div>\n              </div>\n              <!-- END MONTH -->\n\n\n\n                                                       <button class="btn green-haze" type="submit" ng-click="next()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n            </form>\n          </wz-step>\n\n\n                                             <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                                    <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n                                                     <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                         </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
-a.put("app/interval/view/view.subintervals.html",'<div ui-view class="profile-content">\n<div class="row">\n   <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title  tabbable-line">\n                            <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_SUBINTERVALS\' | translate}}</span>\n                            </div>\n                                <div class="actions">\n                                 <div class="btn-group">\n                                               <a class="btn green-jungle " href="/intervals/view/{{interval.id}}/subinterval" data-toggle="dropdown">\n                                                       <i class="icon-plus"></i> {{ \'APPLICATION_NEW_SUBINTERVAL\' | translate }}\n                                           </a>\n                                  </div>\n                                </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table class="table table-striped table-bordered table-hover">\n                                          <thead>\n                                               <tr>\n                                                    <th>{{ \'APPLICATION_NAME\' | translate }}</th>\n                                               <th>{{ \'APPLICATION_TIME\' | translate }}</th>\n                                                           <th width="20%">{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                                  </tr>\n                                         </thead>\n                                      <tbody data-ng-model="subIntervals">\n                                            <tr data-ng-repeat="subinterval in subIntervals">\n                                                         <td>{{subinterval.name}}</td>\n                                                         <td>{{subinterval.interval}}</td>\n                                           <td>\n                                                                    <a class="btn default btn-xs blue-stripe" data-ng-href="/intervals/view/{{interval.id}}/subintervals/settings/{{subinterval.id}}">\n                                                                            {{ \'APPLICATION_SETTINGS\' | translate}}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(subinterval.name+\' interval\',subinterval.id)">\n                                                                           {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="subIntervals.length">\n                                                               <td colspan="3" style="text-align:center;">\n                                                                   <i>{{ \'MESSAGE_NO_SUBINTERVALS_AVAILABLE\' | translate }}</i>\n                                                                </td>\n                                                 </tr>\n                                   </tbody>\n                            </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n        </div>\n</div>\n</div>\n'),a.put("app/interval/wizard/wizard.html",'<div class="col-md-12">\n  <!-- BEGIN PAGE HEADER-->\n      <div class="page-bar">\n                <ul class="page-breadcrumb">\n                  <li>\n                          <i class="icon-rocket"></i>\n                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                           <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-clock"></i>\n                            <a href="/intervals/list">{{ \'APPLICATION_INTERVALS\' | translate }}</a>\n                             <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-options"></i>\n                          <a href="/intervals/wizard">{{ \'APPLICATION_WIZARD\' | translate }}</a>\n                      </li>\n         </ul>\n </div>\n  <!-- END PAGE HEADER-->\n\n  <!-- BEGIN PORTLET-->\n  <div class="portlet light bordered" data-ng-init="getContexts()">\n     <div class="portlet-title">\n           <div class="caption font-green-sharp">\n                        <i class="icon-clock font-green-sharp"></i>\n                   <span class="caption-subject">{{ \'APPLICATION_INTERVAL\' | translate }} WIZARD</a> </span>\n           </div>\n        </div>\n        <div class="portlet-body">\n            <wizard on-finish="createItem()">\n                             <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="exitValidation(forms.interval.$valid)">\n                        <form name="forms.interval" novalidate>\n\n            <!-- START NAME -->\n            <div class="form-group" data-ng-class="{\'has-error\': (forms.interval.name.$touched || forms.interval.$submitted) && forms.interval.name.$invalid}">\n              <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n              <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n              <span data-ng-show="(forms.interval.name.$touched || forms.interval.$submitted) && forms.interval.name.$error.required" class="help-block help-block-error">\n                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n              </span>\n            </div>\n            <!-- END NAME -->\n\n                                              <button class="btn green-haze" type="submit" ng-click="next()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n                        </form>\n                     </wz-step>\n\n                                <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                    <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n                                     <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                         </wz-step>\n            </wizard>\n     </div>\n  </div>\n  <!-- END PORTLET-->\n</div>\n'),a.put("app/login/login.html",'<!-- BEGIN LOGO -->\n<div class="logo">\n     <a href="index.html">\n <img src="assets/images/logo-big.png" alt=""/>\n        </a>\n</div>\n<!-- END LOGO -->\n<!-- BEGIN LOGIN -->\n<div class="content">\n  <!-- BEGIN LOGIN FORM -->\n     <form class="login-form" name="loginForm" data-ng-show="!flagLogin1" data-ng-submit="login(loginForm)" novalidate>\n            <h3 class="form-title">Sign In</h3>\n           <div class="alert alert-danger" data-ng-class="{\'display-hide\': !loginSubmitted || !errorLogin}">\n                   <button class="close" data-close="alert"></button>\n                    <span>{{ errorLog ? errorLog : \'Enter any username and password.\'}}</span>\n          </div>\n                <div class="form-group" data-ng-class="{\'has-error\': loginSubmitted && loginForm.name.$invalid}">\n                   <label class="control-label">Username</label>\n      <div class="input-icon">\n        <i class="fa fa-user"></i>\n        <input ng-enter="login(loginForm)" class="form-control form-control-solid placeholder-no-fix" type="text" autocomplete="off" placeholder="Username" name="name" ng-model="userLogin.name" required/>\n      </div>\n      <span data-ng-show="loginSubmitted && loginForm.name.$invalid" class="help-block">Username is required.</span>\n           </div>\n                <div class="form-group" data-ng-class="{\'has-error\': loginSubmitted && loginForm.password.$invalid}">\n                       <label class="control-label">Password</label>\n      <div class="input-icon">\n        <i class="fa fa-lock"></i>\n        <input ng-enter="login(loginForm)" class="form-control form-control-solid placeholder-no-fix" type="password" autocomplete="off" placeholder="Password" name="password" ng-model="userLogin.password" required/>\n      </div>\n      <span data-ng-show="loginSubmitted && loginForm.password.$invalid" class="help-block">Password is required.</span>\n           </div>\n                <div class="form-actions">\n                    <button type="submit" class="btn btn-success uppercase">Login</button>\n      <label class="rememberme check">\n        <input type="checkbox"> Remember me\n      </label>\n                   <!-- <label class="rememberme check">\n                 <input type="checkbox" name="remember" value="1"/>Remember </label> -->\n                       <!-- <a href="javascript:;" id="forget-password" class="forget-password">Forgot Password?</a> -->\n             </div>\n                <div class="login-options">\n                   <h4>Follow Us on</h4>\n                 <ul class="social-icons">\n                             <li>\n                                  <a class="social-icon-color facebook" data-original-title="facebook" href="https://www.facebook.com/xenialab"></a>\n                            </li>\n                         <li>\n                                  <a class="social-icon-color twitter" data-original-title="Twitter" href="https://twitter.com/xenialab"></a>\n                           </li>\n                         <li>\n                                  <a class="social-icon-color googleplus" data-original-title="Goole Plus" href="#"></a>\n                                </li>\n                         <li>\n                                  <a class="social-icon-color linkedin" data-original-title="Linkedin" href="#"></a>\n                            </li>\n                 </ul>\n         </div>\n        </form>\n</div>\n<div class="copyright">\n       2016 © xCALLY MOTION.\n</div>\n<!-- END LOGIN -->\n'),a.put("app/mail/account/list/list.html",'<div class="row">\n    <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-envelope"></i>\n                                         <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n                                                <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-notebook"></i>\n                                         <a href="#">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n                                    </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n       <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a> </span>\n                          </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="mailAccounts.checked.length">\n                                            <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle " href="#" data-toggle="dropdown">\n                                                 <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }} <i class="fa fa-angle-down"></i>\n                                              </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <li>\n                                                          <a href="/mail/accounts/wizard">\n                                                              <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                         </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getMailAccounts([\'name\', \'description\', {MailServerIn:\'username\'}])" csv-header="[\'Name\', \'Description\', \'Email Address\']" field-separator=";" filename="mail_accounts.csv">\n                                    <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedMailAccounts" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                              <thead>\n                                             <tr>\n                                                  <th colspan="7">\n                                                              <div class="row">\n                                                                     <div class="col-md-6">\n                                                                                <ui-select class="input-xsmall" ng-model="conf.mailAccountsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                     <ui-select-choices repeat="mailAccountByPage in mailAccountsByPage | filter: $select.search">\n                                                                                         <div ng-bind-html="mailAccountByPage.name | highlight: $select.search"></div>\n                                                                                 </ui-select-choices>\n                                                                          </ui-select>\n                                                                  </div>\n                                                                        <div class="col-md-6">\n                                                                                <div class="input-group input-medium pull-right">\n                                                                                     <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                 <span class="input-group-addon">\n                                                                                              <i class="fa fa-search"></i>\n                                                                                  </span>\n                                                                               </div>\n                                                                        </div>\n                                                                </div>\n                                                        </th>\n                                         </tr>\n                                   <tr>\n                                                        <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(mailAccount, checked)" checklist-model checklist-value="id"></th>\n                                      <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                    <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                  <th st-sort="email">{{ \'APPLICATION_EMAIL\' | translate }}</th>\n                                                      <th>IMAP</th>\n                                                 <th>SMTP</th>\n                                                 <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                      </tr>\n                                 </thead>\n                              <tbody>\n                                 <tr data-ng-repeat="mailAccount in displayedMailAccounts">\n                                                        <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="mailAccounts.checked" checklist-value="mailAccount.id"></td>\n                                 <td>{{mailAccount.name}}</td>\n                                                   <td>{{mailAccount.description}}</td>\n                                                  <td><a ng-href="mailto:{{mailAccount.MailServerIn.username}}">{{mailAccount.MailServerIn.username}}</a></td>\n                                                  <td data-ng-switch="mailAccount.MailServerIn.state">\n                                                          <span class="label label-sm label-success" ng-switch-when="CONNECTED">\n                                                                        {{ mailAccount.MailServerIn.state}}\n                                                           </span>\n                                                               <span class="label label-sm label-warning" ng-switch-when="DISCONNECTED">\n                                                                     {{ mailAccount.MailServerIn.state}}\n                                                           </span>\n                                                               <span class="label label-sm label-danger" ng-switch-when="ERROR">\n                                                                     {{ mailAccount.MailServerIn.state}}\n                                                           </span>\n                                                               <span class="label label-sm label-default" ng-switch-default>\n                                                                 {{ mailAccount.MailServerIn.state}}\n                                                           </span>\n                                                       </td>\n                                                 <td data-ng-switch="mailAccount.MailServerOut.state">\n                                                         <span class="label label-sm label-success" ng-switch-when="CONNECTED">\n                                                                        {{ mailAccount.MailServerOut.state}}\n                                                          </span>\n                                                               <span class="label label-sm label-warning" ng-switch-when="DISCONNECTED">\n                                                                     {{ mailAccount.MailServerOut.state}}\n                                                          </span>\n                                                               <span class="label label-sm label-danger" ng-switch-when="ERROR">\n                                                                     {{ mailAccount.MailServerOut.state}}\n                                                          </span>\n                                                               <span class="label label-sm label-default" ng-switch-default>\n                                                                 {{ mailAccount.MailServerOut.state}}\n                                                          </span>\n                                                       </td>\n                               <td>\n                                    <a class="btn default btn-xs blue-stripe" data-ng-href="/mail/accounts/view/{{mailAccount.id}}/settings">\n                                                                     {{ \'APPLICATION_PROFILE\' | translate }}\n                                     </a>\n                                  <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(mailAccount.name, mailAccount.id)">\n                                                                        {{ \'APPLICATION_DELETE\' | translate }}\n                                      </a>\n                                </td>\n                               </tr>\n                                             <tr data-ng-hide="displayedMailAccounts.length">\n                                                      <td colspan="7" class="text-center">\n                                                  <i>{{ \'MESSAGE_NO_AVAILABLE_ACCOUNTS\' | translate }}</i>\n                                                    </td>\n                                         </tr>\n                           </tbody>\n                              <tfoot>\n                                             <tr>\n                                                  <td/>\n                                     <td>\n                                                              <div class="input-icon right">\n                                                                        <i class="fa fa-search"></i>\n                                                                  <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_USERNAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                            </div>\n                                            </td>\n                                                     <td>\n                                                          <div class="input-icon right">\n                                                                        <i class="fa fa-search"></i>\n                                                                  <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                          </div>\n                                            </td>\n                                         <td colspan="4"/>\n                                   </tr>\n                                               <tr>\n                                                  <td colspan="7" class="text-center">\n                                                          <div class="pagination" st-pagination st-items-by-page="conf.mailAccountsByPage.value" st-displayed-pages="7"></div>\n                                                  </td>\n                                         </tr>\n                           </tfoot>\n                            </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/mail/account/view/action/list/list.html",'<div class="row" data-ng-init="initActons()">\n       <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title  tabbable-line">\n                            <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_ACTIONS\' | translate}}</span>\n                         </div>\n                                <div class="actions">\n                                 <div class="btn-group">\n                                               <a class="btn green-jungle " href="/mail/accounts/view/{{account.id}}/actions/wizard" data-toggle="dropdown">\n                                                 <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACTION\' | translate }}\n                                                </a>\n                                  </div>\n                                </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table class="table table-striped table-bordered table-hover">\n                                          <thead>\n                                               <tr>\n                                                    <th class="input-small" align="center">{{\'APPLICATION_APPLICATION\' | translate}}</th>\n                                                           <th class="input-small" align="center">{{\'APPLICATION_TIMEOUT\' | translate}} [s]</th>\n                                                   <th align="center">{{ \'APPLICATION_INTERVAL\' | translate }}</th>\n                                                                <th class="input-small">{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                                  </tr>\n                                         </thead>\n                                      <tbody ui-sortable="sortableOptions" data-ng-model="mailApplications">\n                                          <tr data-ng-repeat="application in mailApplications">\n                                                             <td align="center">\n                                                                   {{application.User ? \'agent\' : \'queue\' | uppercase}} [{{application.User ? application.User.fullname : application.MailQueue.name}}]\n                                                              </td>\n                                                         <td align="center">{{application.timeout}}</td>\n                                                               <td align="center">{{application.Interval ? application.Interval.name : application.interval}}</td>\n                                                           <td>\n                                                                  <a class="btn default btn-xs blue-stripe" data-ng-href="/mail/accounts/view/{{account.id}}/actions/view/{{application.id}}">\n                                                                          {{ \'APPLICATION_SETTINGS\' | translate}}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(application.app, application.id)">\n                                                                         {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="mailApplications.length">\n                                                           <td colspan="5" style="text-align:center;">\n                                                                   <i>No applications available</i>\n                                                              </td>\n                                                 </tr>\n                                   </tbody>\n                            </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/mail/account/view/action/view/view.html",'\n<div class="row" data-ng-init="initAction()">\n       <div class="col-md-12">\n               <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-directions font-green-sharp"></i>\n                                      <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }}</a> </span>\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <form name="forms.settings" ng-submit="updateItem()" novalidate>\n                                      <!-- START APP -->\n                                    <div class="form-group"  data-ng-class="{\'has-error\': (forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid}">\n                                          <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n                                                <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n                                                     <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n                                                      <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n                                                                <div ng-bind-html="app.name | highlight: $select.search"></div>\n                                                       </ui-select-choices>\n                                          </ui-select>\n                                          <span data-ng-show="(forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid && forms.settings.app.$error.required" class="help-block help-block-error">\n                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                         </span>\n                                       </div>\n                                        <!-- END APP -->\n\n                                    <!-- START HOST -->\n                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n                                           <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                             <input type="number" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="application.timeout" min="0" required/>\n                                         <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                         </span>\n                                       </div>\n                                        <!-- END HOST -->\n\n                                   <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n                                          <!-- START QUEUE -->\n                                          <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$invalid}">\n                                                       <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                        <ui-select data-ng-model="application.MailQueueId" name="queue" theme="bootstrap" required>\n                                                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                              <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n                                                                     <div ng-bind-html="queue.name | highlight: $select.search"></div>\n                                                             </ui-select-choices>\n                                                  </ui-select>\n                                                  <span data-ng-show="(forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$error.required" class="help-block help-block-error">\n                                                                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END QUEUE -->\n                                    </div>\n\n                                      <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n                                          <!-- START AGENT -->\n                                          <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$invalid}">\n                                                       <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                        <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n                                                                <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n                                                          <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n                                                                     <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n                                                         </ui-select-choices>\n                                                  </ui-select>\n                                                  <span data-ng-show="(forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$error.required" class="help-block help-block-error">\n                                                                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END AGENT -->\n                                    </div>\n\n                                      <!-- START INTERVAL_TYPE -->\n                                  <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$invalid}">\n                                           <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n                                              <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n                                                     <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n                                                        <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n                                                               {{ intType.name | translate }}\n                                                        </ui-select-choices>\n                                          </ui-select>\n                                          <span data-ng-show="(forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$error.required" class="help-block help-block-error">\n                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                         </span>\n                                       </div>\n                                        <!-- END INTERVAL_TYPE -->\n\n                                  <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n                                                <!-- START TIME -->\n                                           <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_TIME\' | translate }}</label>\n                                                   <div class="input-group input-large">\n                                                         <fieldset class="pull-left" ng-disabled="application.alwaysTime">\n                                                                     <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n                                                             </fieldset>\n                                                           <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n                                                                <fieldset ng-disabled="application.alwaysTime"><uib-timepicker  name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n                                                              <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n                                                     </div>\n                                                </div>\n                                                <!-- END TIME -->\n\n                                           <!-- START ALWAYS -->\n                                         <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n                                                 <div class="input-group input-large">\n                                                         <label class="control-label pointer-cursor">\n                                                                  <input\n                                                                                bs-switch\n                                                                             data-ng-model="application.alwaysTime"\n                                                                                type="checkbox"\n                                                                               switch-active="{{ isActive }}"\n                                                                                switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n                                                                                switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n                                                                                switch-on-color="{{ onColor }}"\n                                                                               switch-off-color="{{ offColor }}"\n                                                                             switch-animate="{{ animate }}"\n                                                                                switch-size="{{ size }}"\n                                                                              switch-label="{{ label }}"\n                                                                            switch-icon="{{ icon }}"\n                                                                              switch-radio-off="{{ radioOff }}"\n                                                                             switch-label-width="{{ labelWidth }}"\n                                                                         switch-handle-width="{{ handleWidth }}">\n                                                                      <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n                                                               </label>\n                                                      </div>\n                                                </div>\n                                                <!-- END ALWAYS -->\n\n                                         <!-- START WEEKDAY -->\n                                                <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_WEEKDAY\' | translate }}</label>\n                                                        <div class="input-group input-large">\n                                                         <ui-select data-ng-model="application.wd_from" theme="bootstrap" name="wd_from">\n                                                                      <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                     <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                                                                                {{ weekDay.name | translate}}\n                                                                 </ui-select-choices>\n                                                          </ui-select>\n                                                          <span class="input-group-addon">to</span>\n                                                             <ui-select data-ng-model="application.wd_to" theme="bootstrap" name="wd_to">\n                                                                  <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                     <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                                                                                {{ weekDay.name | translate }}\n                                                                        </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                </div>\n                                                <!-- END WEEKDAY -->\n\n                                                <!-- START MONTHDAY -->\n                                               <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_MONTHDAY\' | translate }}</label>\n                                                       <div class="input-group input-large">\n                                                         <ui-select data-ng-model="application.md_from" theme="bootstrap" name="md_from">\n                                                                      <ui-select-match>{{$select.selected}}</ui-select-match>\n                                                                       <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                                                                               {{monthDay}}\n                                                                  </ui-select-choices>\n                                                          </ui-select>\n                                                          <span class="input-group-addon">to</span>\n                                                             <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n                                                                  <ui-select-match>{{$select.selected}}</ui-select-match>\n                                                                       <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                                                                               {{monthDay}}\n                                                                  </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                </div>\n                                                <!-- END MONTHDAY -->\n\n                                               <!-- START MONTH -->\n                                          <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_MONTH\' | translate }}</label>\n                                                  <div class="input-group input-large">\n                                                         <ui-select data-ng-model="application.m_from" theme="bootstrap" name="m_from">\n                                                                        <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                     <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                                                                                {{ month.name | translate }}\n                                                                  </ui-select-choices>\n                                                          </ui-select>\n                                                          <span class="input-group-addon">to</span>\n                                                             <ui-select data-ng-model="application.m_to" theme="bootstrap" name="m_to">\n                                                                    <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                     <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                                                                                {{ month.name | translate }}\n                                                                  </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                </div>\n                                                <!-- END MONTH -->\n                                    </div>\n\n                                      <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n                                          <!-- START INTERVALS -->\n                                              <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$invalid}">\n                                                     <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                    <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n                                                               <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n                                                             <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n                                                                    {{ interval.name}}\n                                                            </ui-select-choices>\n                                                  </ui-select>\n                                                  <span data-ng-show="(forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$error.required" class="help-block help-block-error">\n                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END INTERVALS -->\n\n                                      </div>\n                                        <button class="btn green-haze" type="submit">{{\'APPLICATION_UPDATE\' | translate}}</button>\n                          </form>\n                       </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/mail/account/view/action/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n               <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-directions font-green-sharp"></i>\n                                      <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }} WIZARD</a> </span>\n                             </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n                                     <wz-step title="{{\'APPLICATION_APPLICATION\' | translate}}" canexit="formValidation(forms.action.$valid)">\n                                           <form name="forms.action" novalidate>\n                                                 <!-- START APP -->\n                                                    <div class="form-group"  data-ng-class="{\'has-error\': forms.action.$submitted && forms.action.app.$invalid}">\n                                                               <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n                                                                <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n                                                                     <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n                                                                      <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n                                                                                <div ng-bind-html="app.name | highlight: $select.search"></div>\n                                                                       </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.action.$submitted && forms.action.app.$invalid" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END APP -->\n\n                                                    <!-- START HOST -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                             <input type="number" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="application.timeout" min="0" required/>\n                                                         <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END HOST -->\n\n                                                   <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n                                                          <!-- START QUEUE -->\n                                                          <div class="form-group" data-ng-class="{\'has-error\': (forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$invalid}">\n                                                                     <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                        <ui-select data-ng-model="application.MailQueueId" name="queue" theme="bootstrap" required>\n                                                                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                              <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n                                                                                     <div ng-bind-html="queue.name | highlight: $select.search"></div>\n                                                                             </ui-select-choices>\n                                                                  </ui-select>\n                                                                  <span data-ng-show="(forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$error.required" class="help-block help-block-error">\n                                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END QUEUE -->\n                                                    </div>\n\n                                                      <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n                                                          <!-- START AGENT -->\n                                                          <div class="form-group" data-ng-class="{\'has-error\': (forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$invalid}">\n                                                                     <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                        <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n                                                                                <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n                                                                          <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n                                                                                     <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n                                                                         </ui-select-choices>\n                                                                  </ui-select>\n                                                                  <span data-ng-show="(forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$error.required" class="help-block help-block-error">\n                                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END AGENT -->\n                                                    </div>\n\n                                                      <!-- START INTERVAL_TYPE -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': (forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$invalid}">\n                                                         <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n                                                              <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n                                                                     <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                        <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n                                                                               {{ intType.name | translate }}\n                                                                        </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="(forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$error.required" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END INTERVAL_TYPE -->\n\n                                                  <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n                                                                <!-- START TIME -->\n                                                           <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_TIME\' | translate }}</label>\n                                                                   <div class="input-group input-large">\n                                                                         <fieldset class="pull-left" ng-disabled="application.alwaysTime">\n                                                                                     <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n                                                                             </fieldset>\n                                                                           <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n                                                                                <fieldset ng-disabled="application.alwaysTime"><uib-timepicker  name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n                                                                              <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n                                                                     </div>\n                                                                </div>\n                                                                <!-- END TIME -->\n\n                                                           <!-- START ALWAYS -->\n                                                         <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n                                                                 <div class="input-group input-large">\n                                                                         <label class="control-label pointer-cursor">\n                                                                                  <input\n                                                                                                bs-switch\n                                                                                             data-ng-model="application.alwaysTime"\n                                                                                                type="checkbox"\n                                                                                               switch-active="{{ isActive }}"\n                                                                                                switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n                                                                                                switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n                                                                                                switch-on-color="{{ onColor }}"\n                                                                                               switch-off-color="{{ offColor }}"\n                                                                                             switch-animate="{{ animate }}"\n                                                                                                switch-size="{{ size }}"\n                                                                                              switch-label="{{ label }}"\n                                                                                            switch-icon="{{ icon }}"\n                                                                                              switch-radio-off="{{ radioOff }}"\n                                                                                             switch-label-width="{{ labelWidth }}"\n                                                                                         switch-handle-width="{{ handleWidth }}">\n                                                                                      <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n                                                                               </label>\n                                                                      </div>\n                                                                </div>\n                                                                <!-- END ALWAYS -->\n\n                                                         <!-- START WEEKDAY -->\n                                                                <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_WEEKDAY\' | translate }}</label>\n                                                                        <div class="input-group input-large">\n                                                                         <ui-select data-ng-model="application.wd_from" theme="bootstrap" name="wd_from">\n                                                                                      <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                                     <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                                                                                                {{ weekDay.name | translate}}\n                                                                                 </ui-select-choices>\n                                                                          </ui-select>\n                                                                          <span class="input-group-addon">to</span>\n                                                                             <ui-select data-ng-model="application.wd_to" theme="bootstrap" name="wd_to">\n                                                                                  <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                                     <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                                                                                                {{ weekDay.name | translate }}\n                                                                                        </ui-select-choices>\n                                                                          </ui-select>\n                                                                  </div>\n                                                                </div>\n                                                                <!-- END WEEKDAY -->\n\n                                                                <!-- START MONTHDAY -->\n                                                               <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_MONTHDAY\' | translate }}</label>\n                                                                       <div class="input-group input-large">\n                                                                         <ui-select data-ng-model="application.md_from" theme="bootstrap" name="md_from">\n                                                                                      <ui-select-match>{{$select.selected}}</ui-select-match>\n                                                                                       <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                                                                                               {{monthDay}}\n                                                                                  </ui-select-choices>\n                                                                          </ui-select>\n                                                                          <span class="input-group-addon">to</span>\n                                                                             <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n                                                                                  <ui-select-match>{{$select.selected}}</ui-select-match>\n                                                                                       <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                                                                                               {{monthDay}}\n                                                                                  </ui-select-choices>\n                                                                          </ui-select>\n                                                                  </div>\n                                                                </div>\n                                                                <!-- END MONTHDAY -->\n\n                                                               <!-- START MONTH -->\n                                                          <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_MONTH\' | translate }}</label>\n                                                                  <div class="input-group input-large">\n                                                                         <ui-select data-ng-model="application.m_from" theme="bootstrap" name="m_from">\n                                                                                        <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                                     <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                                                                                                {{ month.name | translate }}\n                                                                                  </ui-select-choices>\n                                                                          </ui-select>\n                                                                          <span class="input-group-addon">to</span>\n                                                                             <ui-select data-ng-model="application.m_to" theme="bootstrap" name="m_to">\n                                                                                    <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                                     <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                                                                                                {{ month.name | translate }}\n                                                                                  </ui-select-choices>\n                                                                          </ui-select>\n                                                                  </div>\n                                                                </div>\n                                                                <!-- END MONTH -->\n                                                    </div>\n\n                                                      <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n                                                          <!-- START INTERVALS -->\n                                                              <div class="form-group" data-ng-class="{\'has-error\': (forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$invalid}">\n                                                                   <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                    <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n                                                                               <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n                                                                             <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n                                                                                    {{ interval.name}}\n                                                                            </ui-select-choices>\n                                                                  </ui-select>\n                                                                  <span data-ng-show="(forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$error.required" class="help-block help-block-error">\n                                                                            <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END INTERVALS -->\n\n                                                      </div>\n\n                                                      <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONTINUE\' | translate}}"/>\n                                         </form>\n                                       </wz-step>\n                                    <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                             <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                            <!-- <button class="btn green-haze" type="button" wz-previous><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button> -->\n                                              <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                  </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
-a.put("app/mail/account/view/view.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row" data-ng-init="initView()">\n      <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-envelope"></i>\n                                 <a href="/">{{ \'APPLICATION_MAIL\' | translate }}</a>\n                                        <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-notebook"></i>\n                                 <a href="/mail/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n                                  <i class="fa fa-angle-right" data-ng-show="account"></i>\n                              </li>\n                         <li data-ng-show="account">\n                                   <a href="#">{{ account.description || account.name }}</a>\n                             </li>\n                 </ul>\n         </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n               <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img ng-src="assets/images/media/account.png" class="img-responsive">\n                         </div>\n                                <!-- END SIDEBAR USERPIC -->\n\n                                <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{ account.description || account.name }}\n                                     </div>\n                                        <div class="profile-usertitle-job">\n                                           {{account.email}}\n                                     </div>\n                                </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li ng-class="{active: $state.is(\'main.mail.accounts.view.settings\')}">\n                                                     <a href="/mail/accounts/view/{{account.id}}/settings">\n                                                        <i class="icon-settings"></i>\n                                                 {{\'APPLICATION_SETTINGS\' | translate}} </a>\n                                         </li>\n                                         <li ng-class="{active: $state.includes(\'main.mail.accounts.view.actions\')}">\n                                                        <a href="/mail/accounts/view/{{account.id}}/actions/list">\n                                                    <i class="icon-directions"></i>\n                                                       {{\'APPLICATION_ACTIONS\' | translate}} </a>\n                                          </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <div ui-view class="profile-content"></div>\n           <!-- END PROFILE CONTENT -->\n  </div>\n<!-- END PAGE CONTENT-->\n</div>\n'),a.put("app/mail/account/view/view.settings.html",'<div class="row">\n      <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_SETTINGS\' | translate}}</span>\n                                </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n                                     </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_2" data-toggle="tab">IMAP</a>\n                                 </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_3" data-toggle="tab">SMTP</a>\n                                 </li>\n                         </ul>\n                 </div>\n                        <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.formInfo" data-ng-submit="forms.formInfo.$valid && updateItemMailAccount()" novalidate>\n                                                     <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.formInfo.name.$touched || forms.formInfo.$submitted) && forms.formInfo.name.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.name" required/>\n                                                                <span data-ng-show="(forms.formInfo.name.$touched || forms.formInfo.$submitted) && forms.formInfo.name.$invalid && forms.formInfo.name.$error.required" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n                                                    </div>\n                                                        <!-- END DESCRIPTION -->\n\n                                                    <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END GENERAL TAB -->\n\n                                    <!-- IMAP TAB -->\n                                     <div class="tab-pane" id="tab_1_2">\n                                           <form name="forms.formIn" data-ng-submit="forms.formIn.$valid && updateItemMailServerIn()" novalidate>\n                                                        <!-- START PROTOCOL -->\n                                                       <!-- <div class="form-group">\n                                                         <label class="control-label">IMAP/POP3</label>\n                                                                <button type="button" name="protocol" class="btn btn-default form-control" data-ng-model="account.MailServerIn.protocol" bs-checkbox>{{account.MailServerIn.protocol ? \'IMAP\' : \'POP3\'}}</button>\n                                                 </div> -->\n                                                    <!-- END PROTOCOL -->\n\n                                                       <!-- START HOST -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.formIn.host.$touched || forms.formIn.$submitted) && forms.formIn.host.$invalid}">\n                                                               <label class="control-label">{{\'APPLICATION_HOST\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.host" required/>\n                                                           <span data-ng-show="(forms.formIn.host.$touched || forms.formIn.$submitted) && forms.formIn.host.$invalid && forms.formIn.host.$error.required" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END HOST -->\n\n                                                   <!-- START USERNAME -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': (forms.formIn.username.$touched || forms.formIn.$submitted) && forms.formIn.username.$invalid}">\n                                                               <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                             <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.username" required/>\n                                                               <span data-ng-show="(forms.formIn.username.$touched || forms.formIn.$submitted) && forms.formIn.username.$invalid && forms.formIn.username.$error.required"  class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n                                                       <!-- START PASSWORD -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': (forms.formIn.password.$touched || forms.formIn.$submitted) && forms.formIn.password.$invalid}">\n                                                               <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                             <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.password" required/>\n                                                           <span data-ng-show="(forms.formIn.password.$touched || forms.formIn.$submitted) && forms.formIn.password.$invalid && forms.formIn.password.$error.required" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END PASSWORD -->\n\n                                                       <!-- START PORT -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.formIn.port.$touched || forms.formIn.$submitted) && forms.formIn.port.$invalid}">\n                                                               <label class="control-label">{{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="number" name="port" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.port" required/>\n                                                         <span data-ng-show="(forms.formIn.port.$touched || forms.formIn.$submitted) && forms.formIn.port.$invalid && forms.formIn.port.$error.required" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                               <span data-ng-show="(forms.formIn.port.$touched || forms.formIn.$submitted) && forms.formIn.port.$invalid && forms.formIn.port.$error.number" class="help-block help-block-error">\n                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n                                                          </span>\n                                                       </div>\n                                                        <!-- END PORT -->\n\n                                                   <!-- START MAILBOX -->\n                                                        <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_MAILBOX\' | translate}}</label>\n                                                          <input type="text" name="mailbox" placeholder="{{\'APPLICATION_MAILBOX\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.mailbox"/>\n                                                   </div>\n                                                        <!-- END MAILBOX -->\n\n                                                        <!-- START SEARCH FILTER -->\n                                                  <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_SEARCH_FILTER\' | translate}}</label>\n                                                            <ui-select data-ng-model="account.MailServerIn.filter" name="filter" theme="bootstrap">\n                                                                       <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected}}</ui-select-match>\n                                                                   <ui-select-choices repeat="filter in [\'UNSEEN\'] | filter: $select.search">\n                                                                          <div ng-bind-html="filter | highlight: $select.search"></div>\n                                                                 </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                        <!-- START SEARCH FILTER -->\n\n                                                        <!-- START DELETE -->\n                                                 <div class="form-group row">\n                                                          <label class="col-md-3">\n                                                                      {{\'APPLICATION_DELETE_MAIL_FROM_SERVER\' | translate}}\n                                                               </label>\n                                                              <label class="col-md-9">\n                                                                      <input type="checkbox" ng-model="account.MailServerIn.delete">\n                                                                </label>\n                                                      </div>\n                                                        <!-- END DELETE -->\n\n                                                 <!-- START SSL -->\n                                                    <div class="form-group row">\n                                                          <label class="col-md-3">\n                                                                      SSL\n                                                           </label>\n                                                              <label class="col-md-9">\n                                                                              <input type="checkbox" data-ng-model="account.MailServerIn.ssl">\n                                                              </label>\n                                                      </div>\n                                                        <!-- END SSL -->\n\n                                                    <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END IMAP TAB -->\n\n                                       <!-- SMTP TAB -->\n                                     <div class="tab-pane" id="tab_1_3">\n                                           <form name="forms.formOut" data-ng-submit="forms.formOut.$valid && updateItemMailServerOut()" novalidate>\n\n                                                   <!-- START HOST -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.formOut.host.$touched || forms.formOut.$submitted) && forms.formOut.host.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_HOST\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="account.MailServerOut.host" required/>\n                                                          <span data-ng-show="(forms.formOut.host.$touched || forms.formOut.$submitted) && forms.formOut.host.$invalid && forms.formOut.host.$error.required" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END HOST -->\n\n                                                   <!-- START USERNAME -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': (forms.formOut.username.$touched || forms.formOut.$submitted) && forms.formOut.username.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                             <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.MailServerOut.username" required/>\n                                                              <span data-ng-show="(forms.formOut.username.$touched || forms.formOut.$submitted) && forms.formOut.username.$invalid && forms.formOut.username.$error.required" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n                                                       <!-- START PASSWORD -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': (forms.formOut.password.$touched || forms.formOut.$submitted) && forms.formOut.password.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                             <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.MailServerOut.password" required/>\n                                                          <span data-ng-show="(forms.formOut.password.$touched || forms.formOut.$submitted) && forms.formOut.password.$invalid && forms.formOut.password.$error.required" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END PASSWORD -->\n\n                                                       <!-- START PORT -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.formOut.port.$touched || forms.formOut.$submitted) && forms.formOut.port.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="number" name="port" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="account.MailServerOut.port" required/>\n                                                                <span data-ng-show="(forms.formOut.form.$touched || forms.formOut.$submitted) && forms.formOut.port.$invalid && forms.formOut.port.$error.required" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                               <span data-ng-show="(forms.formOut.form.$touched || forms.formOut.$submitted) && forms.formOut.port.$invalid && forms.formOut.port.$error.number" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n                                                          </span>\n                                                       </div>\n                                                        <!-- END PORT -->\n\n                                                   <!-- START SSL -->\n                                                    <div class="form-group row">\n                                                          <label class="col-md-3">\n                                                                      SSL\n                                                           </label>\n                                                              <label class="col-md-9">\n                                                                              <input type="checkbox" data-ng-model="account.MailServerOut.ssl">\n                                                             </label>\n                                                      </div>\n                                                        <!-- END SSL -->\n                                                      <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                                  <input class="btn blue-madison" type="button" value="Test" data-ng-click="test()"/>\n                                           </form>\n                                       </div>\n                                        <!-- END SMTP TAB -->\n                         </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/mail/account/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n       <div class="col-md-12">\n               <!-- BEGIN PAGE HEADER-->\n             <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-envelope"></i>\n                                 <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n                                        <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-notebook"></i>\n                                 <a href="/mail/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n                          </li>\n                 </ul>\n         </div>\n                <!-- END PAGE HEADER-->\n\n             <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n             <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="formValidation(forms.info.$valid)">\n                                                    <form name="forms.info" novalidate>\n                                                           <!-- START NAME -->\n                                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n                                                                     <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                 <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="info.name" required/>\n                                                                   <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid && forms.info.name.$error.required" class="help-block help-block-error">\n                                                                          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END NAME -->\n\n                                                           <!-- START DESCRIPTION -->\n                                                            <div class="form-group">\n                                                                      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                                      <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="info.description"/>\n                                                               </div>\n                                                                <!-- END DESCRIPTION -->\n                                                              <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n                                                       </form>\n                                               </wz-step>\n\n                                          <wz-step title="IMAP" canexit="formValidation(forms.in.$valid)">\n                                                      <form name="forms.in" novalidate>\n                                                             <!-- START PROTOCOL -->\n                                                               <!-- <div class="form-group">\n                                                                 <label class="control-label">IMAP/POP3</label>\n                                                                        <button type="button" name="protocol" class="btn btn-default form-control" data-ng-model="in.protocol" bs-checkbox>{{in.protocol ? \'IMAP\' : \'POP3\'}}</button>\n                                                             </div> -->\n                                                            <!-- END PROTOCOL -->\n\n                                                               <!-- START HOST -->\n                                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.in.host.$touched || forms.in.$submitted) && forms.in.host.$invalid}">\n                                                                   <label class="control-label">{{\'APPLICATION_HOST\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                        <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="in.host" required/>\n                                                                     <span data-ng-show="(forms.in.host.$touched || forms.in.$submitted) && forms.in.host.$invalid && forms.in.host.$error.required" class="help-block help-block-error">\n                                                                          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END HOST -->\n\n                                                           <!-- START USERNAME -->\n                                                               <div class="form-group" data-ng-class="{\'has-error\': (forms.in.username.$touched || forms.in.$submitted) && forms.in.username.$invalid}">\n                                                                   <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                     <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="in.username" name="username" required/>\n                                                                 <span data-ng-show="(forms.in.username.$touched || forms.in.$submitted) && forms.in.username.$invalid && forms.in.username.$error.required"  class="help-block help-block-error">\n                                                                             <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END USERNAME -->\n\n                                                               <!-- START PASSWORD -->\n                                                               <div class="form-group" data-ng-class="{\'has-error\': (forms.in.password.$touched || forms.in.$submitted) && forms.in.password.$invalid}">\n                                                                   <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                     <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="in.password" required/>\n                                                                     <span data-ng-show="(forms.in.password.$touched || forms.in.$submitted) && forms.in.password.$invalid && forms.in.password.$error.required" class="help-block help-block-error">\n                                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END PASSWORD -->\n\n                                                               <!-- START PORT -->\n                                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.in.port.$touched || forms.in.$submitted) && forms.in.port.$invalid}">\n                                                                   <label class="control-label">{{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                 <input type="number" name="port" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="in.port" required/>\n                                                                   <span data-ng-show="(forms.in.port.$touched || forms.in.$submitted) && forms.in.port.$invalid && forms.in.port.$error.required" class="help-block help-block-error">\n                                                                          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                                       <span data-ng-show="(forms.in.port.$touched || forms.in.$submitted) && forms.in.port.$invalid && forms.in.port.$error.number" class="help-block help-block-error">\n                                                                            <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n                                                                  </span>\n                                                               </div>\n                                                                <!-- END PORT -->\n\n                                                           <!-- START MAILBOX -->\n                                                                <div class="form-group">\n                                                                      <label class="control-label">{{\'APPLICATION_MAILBOX\' | translate}}</label>\n                                                                  <input type="text" name="mailbox" placeholder="{{\'APPLICATION_MAILBOX\' | translate}}" class="form-control" data-ng-model="in.mailbox"/>\n                                                             </div>\n                                                                <!-- END MAILBOX -->\n\n                                                                <!-- START SEARCH FILTER -->\n                                                          <div class="form-group">\n                                                                      <label class="control-label">{{\'APPLICATION_SEARCH_FILTER\' | translate}}</label>\n                                                                    <ui-select data-ng-model="in.filter" name="filter" theme="bootstrap">\n                                     <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected}}</ui-select-match>\n                                           <ui-select-choices repeat="filter in [\'UNSEEN\'] | filter: $select.search">\n                                            <div data-ng-bind="filter | highlight: $select.search"></div>\n                                       </ui-select-choices>\n                                        </ui-select>\n                                                                        <!-- <input type="text" name="filter" placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}" class="form-control" data-ng-model="in.filter"/> -->\n                                                                </div>\n                                                                <!-- START SEARCH FILTER -->\n\n                                                                <!-- START DELETE -->\n                                                         <div class="form-group row">\n                                                                  <label class="col-md-3">\n                                                                              {{\'APPLICATION_DELETE_MAIL_FROM_SERVER\' | translate}}\n                                                                       </label>\n                                                                      <label class="col-md-9">\n                                                                                      <input type="checkbox" data-ng-model="in.delete">\n                                                                     </label>\n                                                              </div>\n                                                                <!-- END DELETE -->\n\n                                                         <!-- START SSL -->\n                                                            <div class="form-group row">\n                                                                  <label class="col-md-3">\n                                                                              SSL\n                                                                   </label>\n                                                                      <label class="col-md-9">\n                                                                                      <input type="checkbox" data-ng-model="in.ssl">\n                                                                        </label>\n                                                              </div>\n                                                                <!-- END SSL -->\n                                                              <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="goNext()"/>\n                                                    </form>\n                                               </wz-step>\n                                            <wz-step title="SMTP" canexit="formValidation(forms.out.$valid)">\n                                                     <form name="forms.out" novalidate>\n\n                                                          <!-- START HOST -->\n                                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.out.host.$touched || forms.out.$submitted) && forms.out.host.$invalid}">\n                                                                        <label class="control-label">{{\'APPLICATION_HOST\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                        <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="out.host" required/>\n                                                                    <span data-ng-show="(forms.out.host.$touched || forms.out.$submitted) && forms.out.host.$invalid && forms.out.host.$error.required" class="help-block help-block-error">\n                                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END HOST -->\n\n                                                           <!-- START USERNAME -->\n                                                               <div class="form-group" data-ng-class="{\'has-error\': (forms.out.username.$touched || forms.out.$submitted) && forms.out.username.$invalid}">\n                                                                        <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                     <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="out.username" required/>\n                                                                        <span data-ng-show="(forms.out.username.$touched || forms.out.$submitted) && forms.out.username.$invalid && forms.out.username.$error.required" class="help-block help-block-error">\n                                                                          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END USERNAME -->\n\n                                                               <!-- START PASSWORD -->\n                                                               <div class="form-group" data-ng-class="{\'has-error\': (forms.out.password.$touched || forms.out.$submitted) && forms.out.password.$invalid}">\n                                                                        <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                     <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="out.password" required/>\n                                                                    <span data-ng-show="(forms.out.password.$touched || forms.out.$submitted) && forms.out.password.$invalid && forms.out.password.$error.required" class="help-block help-block-error">\n                                                                          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END PASSWORD -->\n\n                                                               <!-- START PORT -->\n                                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.out.port.$touched || forms.out.$submitted) && forms.out.port.$invalid}">\n                                                                        <label class="control-label">{{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                 <input type="number" name="port" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="out.port" required/>\n                                                                  <span data-ng-show="(out.$touched || forms.out.$submitted) && forms.out.port.$invalid && forms.out.port.$error.required" class="help-block help-block-error">\n                                                                         <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                                       <span data-ng-show="(out.$touched || forms.out.$submitted) && forms.out.port.$invalid && forms.out.port.$error.number" class="help-block help-block-error">\n                                                                           <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n                                                                  </span>\n                                                               </div>\n                                                                <!-- END PORT -->\n\n                                                           <!-- START SSL -->\n                                                            <div class="form-group row">\n                                                                  <label class="col-md-3">\n                                                                              SSL\n                                                                   </label>\n                                                                      <label class="col-md-9">\n                                                                                      <input type="checkbox" data-ng-model="out.ssl">\n                                                                       </label>\n                                                              </div>\n                                                                <!-- END DELETE -->\n\n                                                         <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="goNext()"/>\n                                                            <input class="btn default" type="button" value="{{\'APPLICATION_BACK\' | translate}}" wz-previous/>\n                                                   </form>\n                                               </wz-step>\n                                            <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                                    <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                         </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/mail/automation/list/list.html",'<div class="row">\n    <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-envelope"></i>\n                                         <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n                                                <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-settings"></i>\n                                         <a href="#">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n                                 </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n       <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-settings font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a> </span>\n                               </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="mailAutomations.checked.length">\n                                         <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle " href="#" data-toggle="dropdown">\n                                                 <i class="icon-plus"></i> {{ \'APPLICATION_NEW_AUTOMATION\' | translate }} <i class="fa fa-angle-down"></i>\n                                           </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <li>\n                                                          <a href="/mail/automations/wizard">\n                                                           <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                         </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getMailAutomations([\'name\', \'description\'])" csv-header="[\'Name\', \'Description\']" field-separator=";" filename="mail_automations.csv">\n                                      <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedMailAutomations" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                 <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="6">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.mailAutomationsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                               <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="mailAutomationByPage in mailAutomationsByPage | filter: $select.search">\n                                                                                                   <div ng-bind-html="mailAutomationByPage.name | highlight: $select.search"></div>\n                                                                                              </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <!-- <th st-sort="id" width="5%" st-sort-default="reverse">{{ \'APPLICATION_ID\' | translate }}</th> -->\n                                                              <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(mailAutomation, checked)" checklist-model checklist-value="id"></th>\n                                                   <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                            <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                          <th>{{ \'APPLICATION_STATUS\' | translate }}</th>\n                                                             <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="mailAutomation in displayedMailAutomations">\n                                                          <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="mailAutomations.checked" checklist-value="mailAutomation.id"></td>\n                                           <td>{{mailAutomation.name}}</td>\n                                                                <td>{{mailAutomation.description}}</td>\n                                                               <td>\n                                                                  <input\n                                                                                data-ng-change="updateItem(mailAutomation.id, mailAutomation.status)",\n                                                                    bs-switch\n                                                             ng-model="mailAutomation.status"\n                                                              type="checkbox"\n                                                               switch-active="{{ isActive }}"\n                                                                switch-on-text="{{ onText }}"\n                                                                 switch-off-text="{{ offText }}"\n                                                               switch-on-color="{{ onColor }}"\n                                                               switch-off-color="{{ offColor }}"\n                                                             switch-animate="{{ animate }}"\n                                                                switch-size="{{ size }}"\n                                                              switch-label="{{ label }}"\n                                                                    switch-icon="{{ icon }}"\n                                                              switch-radio-off="{{ radioOff }}"\n                                                             switch-label-width="{{ labelWidth }}"\n                                                                 switch-handle-width="{{ handleWidth }}">\n                                                          </td>\n                                       <td>\n                                                                    <a class="btn default btn-xs blue-stripe" data-ng-href="/mail/automations/view/{{mailAutomation.id}}/settings">\n                                                                               {{ \'APPLICATION_EDIT\' | translate }}\n                                                </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(mailAutomation.name, mailAutomation.id)">\n                                                                          {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedMailAutomations.length">\n                                                           <td colspan="6" class="text-center">\n                                                                  <i>No available automations</i>\n                                                               </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_USERNAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                    </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                             <td/>\n                                                         <td/>\n                                           </tr>\n                                           <tr>\n                                            <td colspan="6" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.mailAutomationsByPage.value" st-displayed-pages="7"></div>\n                                             </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
-a.put("app/mail/automation/view/view.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row" data-ng-init="initView()">\n   <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-envelope"></i>\n                                 <a href="/">{{ \'APPLICATION_MAIL\' | translate }}</a>\n                                        <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-settings"></i>\n                                 <a href="/mail/automations/list">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n                                    <i class="fa fa-angle-right" data-ng-show="automation"></i>\n                           </li>\n                         <li data-ng-show="automation">\n                                        <a href="#">{{ automation.description || automation.name }}</a>\n                               </li>\n                 </ul>\n         </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n               <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/automation.png" class="img-responsive">\n                         </div>\n                                <!-- END SIDEBAR USERPIC -->\n\n                                <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{ automation.name }}\n                                 </div>\n                                        <div class="profile-usertitle-job">\n                                           {{automation.description}}\n                                    </div>\n                                </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.mail.automations.view.settings\')}">\n                                                     <a href="/mail/automations/view/{{automation.id}}/settings">\n                                                  <i class="icon-settings"></i>\n                                                 {{\'APPLICATION_SETTINGS\' | translate}} </a>\n                                         </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/mail/automation/view/view.settings.html",'<div class="row">\n   <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_SETTINGS\' | translate}}</span>\n                                </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n                                     </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_2" data-toggle="tab">OR {{\'APPLICATION_CONDITIONS\' | translate}}</a>\n                                        </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_3" data-toggle="tab">AND {{\'APPLICATION_CONDITIONS\' | translate}}</a>\n                                       </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_4" data-toggle="tab">{{\'APPLICATION_ACTIONS\' | translate}}</a>\n                                      </li>\n                         </ul>\n                 </div>\n                        <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.info" data-ng-submit="forms.info.$valid && updateAutomation()" novalidate>\n                                                  <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="automation.name" required/>\n                                                             <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid && forms.info.name.$error.required" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="automation.description"/>\n                                                 </div>\n                                                        <!-- END DESCRIPTION -->\n\n                                                    <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END GENERAL TAB -->\n\n                                    <!-- IMAP TAB -->\n                                     <div class="tab-pane" id="tab_1_2">\n                                           <div class="row">\n                                                     <div class="col-md-12">\n                                                               <a href="#" data-ng-click="addNewCondition(\'or\')">\n                                                                  <i class="icon-plus"></i>\n                                                             </a>\n                                                          <i class="icon-people"></i>\n                                                           <span class="caption-subject">Meet <strong>all</strong> of the following conditions:</a> </span>\n                                                      </div>\n                                                </div>\n                                                <div class="row" data-ng-repeat="condition in automation.BusinessConditions | filter: {type: \'or\'}">\n                                                        <div class="col-md-12">\n                                                               <div class="row">\n                                                                     <div class="col-md-12">\n                                                                               <hr>\n                                                                  </div>\n                                                                </div>\n                                                                <div class="row">\n                                                                     <div class="col-md-4">\n                                                                                <div class="form-group">\n                                                                                      <ui-select data-ng-model="condition.condition" theme="bootstrap" on-select="updateCondition(condition.id, \'condition\', $item.key)" required>\n                                                                                                <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                          <ui-select-choices repeat="condition.key as condition in automations.conditions | filter: $select.search">\n                                                                                                    <div data-ng-bind="condition.value | highlight: $select.search"></div>\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="col-md-3">\n                                                                                <div class="form-group">\n                                                                                      <ui-select data-ng-model="condition.operator" theme="bootstrap" on-select="updateCondition(condition.id, \'operator\', $item.key)" required>\n                                                                                          <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                         <ui-select-choices repeat="operator.key as operator in getOperatorsByCondition(condition.condition) | filter: $select.search">\n                                                                                                        <div data-ng-bind="operator.value | highlight: $select.search"></div>\n                                                                                         </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="col-md-4" data-ng-switch="condition.condition">\n                                                                           <div class="form-group" data-ng-switch-when="status">\n                                                                                 <ui-select data-ng-model="condition.attribute" theme="bootstrap" on-select="updateCondition(condition.id, \'attribute\', $item.key)" required>\n                                                                                                <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                         <ui-select-choices repeat="attribute.key as attribute in getAttributesByCondition(condition.condition) | filter: $select.search">\n                                                                                                     <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="form-group" data-ng-switch-when="createdAt">\n                                                                                      <input class="form-control" type="text" name="attributeOr{{$index}}" value="" data-ng-model="condition.attribute" ng-blur="updateCondition(condition.id, \'attribute\', condition.attribute)" data-ng-class="{\'has-error\': forms.and.attributeAnd{{$index}}.$invalid}" required>\n                                                                            </div>\n                                                                        </div>\n                                                                        <div class="col-md-1">\n                                                                                <a href="#" data-ng-click="removeCondition(condition.id)">\n                                                                                    <i class="icon-close"></i>\n                                                                            </a>\n                                                                  </div>\n                                                                </div>\n                                                        </div>\n                                                </div>\n                                                <div class="row" data-ng-hide="automation.BusinessConditions.length">\n                                                 <div class="col-md-12 text-center">\n                                                           <hr>\n                                                          <i>Add condition</i>\n                                                  </div>\n                                                </div>\n                                        </div>\n                                        <!-- END IMAP TAB -->\n\n                                       <div class="tab-pane" id="tab_1_3">\n                                           <div class="row">\n                                                     <div class="col-md-12">\n                                                               <a href="#" data-ng-click="addNewCondition(\'and\')">\n                                                                 <i class="icon-plus"></i>\n                                                             </a>\n                                                          <i class="icon-people"></i>\n                                                           <span class="caption-subject">Meet <strong>all</strong> of the following conditions:</a> </span>\n                                                      </div>\n                                                </div>\n                                                <div class="row" data-ng-repeat="condition in automation.BusinessConditions | filter: {type: \'and\'}">\n                                                       <div class="col-md-12">\n                                                               <div class="row">\n                                                                     <div class="col-md-12">\n                                                                               <hr>\n                                                                  </div>\n                                                                </div>\n                                                                <div class="row">\n                                                                     <div class="col-md-4">\n                                                                                <div class="form-group">\n                                                                                      <ui-select data-ng-model="condition.condition" name="conditionAnd{{$index}}" theme="bootstrap" on-select="updateCondition(condition.id, \'condition\', $item.key)" required>\n                                                                                          <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                          <ui-select-choices repeat="condition.key as condition in automations.conditions | filter: $select.search">\n                                                                                                    <div data-ng-bind="condition.value | highlight: $select.search"></div>\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="col-md-3">\n                                                                                <div class="form-group">\n                                                                                      <ui-select data-ng-model="condition.operator" name="operatorAnd{{$index}}" theme="bootstrap" on-select="updateCondition(condition.id, \'operator\', $item.key)" required>\n                                                                                             <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                         <ui-select-choices repeat="operator.key as operator in getOperatorsByCondition(condition.condition) | filter: $select.search">\n                                                                                                        <div data-ng-bind="operator.value | highlight: $select.search"></div>\n                                                                                         </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="col-md-4" data-ng-switch="condition.condition">\n                                                                           <div class="form-group" data-ng-switch-when="status">\n                                                                                 <ui-select data-ng-model="condition.attribute" name="attributeAnd{{$index}}" theme="bootstrap" on-select="updateCondition(condition.id, \'attribute\', $item.key)" required>\n                                                                                          <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                         <ui-select-choices repeat="attribute.key as attribute in getAttributesByCondition(condition.condition) | filter: $select.search">\n                                                                                                     <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="form-group" data-ng-switch-when="createdAt">\n                                                                                      <input class="form-control" type="text" name="attributeOr{{$index}}" value="" data-ng-model="condition.attribute" data-ng-blur="updateCondition(condition.id, \'attribute\', condition.attribute)" data-ng-class="{\'has-error\': forms.and.attributeAnd{{$index}}.$invalid}" required>\n                                                                                       <span data-ng-show="forms.and.attributeAnd{{$index}}.$invalid && forms.and.attributeAnd{{$index}}.$error.required" class="help-block help-block-error">\n                                                                                               <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                 </span>\n                                                                               </div>\n                                                                        </div>\n                                                                        <div class="col-md-1">\n                                                                                <a href="#" data-ng-click="removeCondition(condition.id)">\n                                                                                    <i class="icon-close"></i>\n                                                                            </a>\n                                                                  </div>\n                                                                </div>\n                                                        </div>\n                                                </div>\n                                                <div class="row" data-ng-hide="automation.BusinessConditions.length">\n                                                 <div class="col-md-12 text-center">\n                                                           <hr>\n                                                          <i>Add condition</i>\n                                                  </div>\n                                                </div>\n                                        </div>\n\n                                      <!-- SMTP TAB -->\n                                     <div class="tab-pane" id="tab_1_4">\n                                           <div class="row">\n                                                     <div class="col-md-12">\n                                                               <a href="#" data-ng-click="addNewAction()">\n                                                                   <i class="icon-plus"></i>\n                                                             </a>\n                                                          <i class="icon-people"></i>\n                                                           <span class="caption-subject">Meet <strong>all</strong> of the following conditions:</a> </span>\n                                                      </div>\n                                                </div>\n                                                <div class="row" data-ng-repeat="action in automation.BusinessActions">\n                                                       <div class="col-md-12">\n                                                               <div class="row">\n                                                                     <div class="col-md-12">\n                                                                               <hr>\n                                                                  </div>\n                                                                </div>\n                                                                <div class="row">\n                                                                     <div class="col-md-4">\n                                                                                <div class="form-group">\n                                                                                      <ui-select data-ng-model="action.condition" theme="bootstrap" on-select="updateAction(action.id, \'condition\', $item.key)" required>\n                                                                                         <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                          <ui-select-choices repeat="action.key as action in automations.actions | filter: $select.search">\n                                                                                                     <div data-ng-bind="action.value | highlight: $select.search"></div>\n                                                                                           </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="col-md-3" data-ng-switch="action.condition">\n                                                                              <div class="form-group" data-ng-switch-when="status">\n                                                                                 <ui-select data-ng-model="action.attribute" theme="bootstrap" on-select="updateAction(action.id, \'attribute\', $item.key)" required>\n                                                                                         <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                         <ui-select-choices repeat="attribute.key as attribute in getAttributesByCondition(action.condition) | filter: $select.search">\n                                                                                                        <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="form-group" data-ng-switch-when="createdAt">\n                                                                                      <input class="form-control" type="text" data-ng-model="action.attribute" data-ng-blur="updateAction(action.id, \'attribute\', action.attribute)" data-ng-class="{\'has-error\': forms.and.attributeAnd{{$index}}.$invalid}" required>\n                                                                         </div>\n                                                                        </div>\n                                                                        <div class="col-md-4">\n                                                                        </div>\n                                                                        <div class="col-md-1">\n                                                                                <a href="#" data-ng-click="removeAction(action.id)">\n                                                                                  <i class="icon-close"></i>\n                                                                            </a>\n                                                                  </div>\n                                                                </div>\n                                                        </div>\n                                                </div>\n                                                <div class="row" data-ng-hide="automation.BusinessActions.length">\n                                                    <div class="col-md-12 text-center">\n                                                           <hr>\n                                                          <i>Add condition</i>\n                                                  </div>\n                                                </div>\n\n                                      </div>\n                                        <!-- END SMTP TAB -->\n                         </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/mail/automation/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n    <div class="col-md-12">\n               <!-- BEGIN PAGE HEADER-->\n             <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-envelope"></i>\n                                 <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n                                        <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-settings"></i>\n                                 <a href="/mail/automations/list">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n                            </li>\n                 </ul>\n         </div>\n                <!-- END PAGE HEADER-->\n\n             <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-settings font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_AUTOMATIONS\' | translate }} WIZARD</a> </span>\n                                </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n             <wz-step title="{{\'APPLICATION_NEW_AUTOMATION\' | translate}}" canexit="formValidation(forms.automation.$valid)">\n                                            <form name="forms.automation" novalidate>\n                                                     <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <div class="form-group" data-ng-class="{\'has-error\': forms.automation.name.$invalid && forms.automation.$submitted}">\n                                                                               <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                         <input class="form-control" type="text" name="name" value="" data-ng-model="automations.name" required>\n                                                                               <span data-ng-show="forms.automation.name.$invalid && forms.automation.name.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                         </span>\n                                                                       </div>\n\n                                                                      <div class="form-group" data-ng-class="{\'has-error\': forms.automation.description.$invalid && forms.automation.$submitted}">\n                                                                                <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                                              <input class="form-control" type="text" name="description" value="" data-ng-model="automations.description">\n                                                                          <span data-ng-show="forms.automation.description.$invalid && forms.automation.description.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                         </span>\n                                                                       </div>\n                                                                </div>\n                                                        </div>\n\n                                                      <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <hr>\n                                                          </div>\n                                                        </div>\n\n                                                      <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <a href="#" data-ng-click="addNewChoice(\'or\')">\n                                                                             <i class="icon-plus"></i>\n                                                                     </a>\n                                                                  <i class="icon-user"></i>\n                                                                     <span class="caption-subject">Meet <strong>any</strong> of the following conditions:</a> </span>\n                                                              </div>\n                                                        </div>\n                                                        <div class="row" data-ng-repeat="automation in automations.or">\n                                                               <div class="col-md-12">\n                                                                       <div class="row">\n                                                                             <div class="col-md-12">\n                                                                                       <hr>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="row">\n                                                                             <div class="col-md-4">\n                                                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.automation.conditionOr{{$index}}.$invalid && forms.automation.$submitted && forms.automation.$submitted}">\n                                                                                               <ui-select data-ng-model="automations.or[$index].condition" name="conditionOr{{$index}}" theme="bootstrap" required>\n                                                                                                  <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                                  <ui-select-choices repeat="condition in automations.or[$index].conditions | filter: $select.search">\n                                                                                                          <div data-ng-bind="condition.value | highlight: $select.search"></div>\n                                                                                                        </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.conditionOr{{$index}}.$invalid && forms.automation.conditionOr{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-3">\n                                                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.automation.operatorOr{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                               <ui-select data-ng-model="automations.or[$index].operator" name="operatorOr{{$index}}" theme="bootstrap" required>\n                                                                                                    <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                                 <ui-select-choices repeat="operator.key as operator in automations.or[$index].condition.operators | filter: $select.search">\n                                                                                                          <div data-ng-bind="operator.value | highlight: $select.search"></div>\n                                                                                                 </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.operatorOr{{$index}}.$invalid && forms.automation.operatorOr{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-4" data-ng-switch="automations.or[$index].condition.input">\n                                                                                        <div class="form-group" data-ng-switch-when="ui-select" data-ng-class="{\'has-error\': forms.automation.attributeOr{{$index}}.$invalid && forms.automation.attributeOr{{$index}}.$error.required && forms.automation.$submitted}">\n                                                                                            <ui-select data-ng-model="automations.or[$index].attribute" name="attributeOr{{$index}}" theme="bootstrap" required>\n                                                                                                  <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                                 <ui-select-choices repeat="attribute.key as attribute in automations.or[$index].condition.attributes | filter: $select.search">\n                                                                                                               <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                        </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.attributeOr{{$index}}.$invalid && forms.automation.attributeOr{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                        <div class="form-group" data-ng-switch-when="number">\n                                                                                         <input class="form-control" type="text" min="0" name="attributeOr{{$index}}" value="" data-ng-model="automations.or[$index].attribute" required>\n                                                                                              <span data-ng-show="forms.automation.attributeOr{{$index}}.$invalid && forms.automation.attributeOr{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-1">\n                                                                                        <a href="#" data-ng-click="removeChoice(\'or\', $index)">\n                                                                                             <i class="icon-close"></i>\n                                                                                    </a>\n                                                                          </div>\n                                                                        </div>\n                                                                </div>\n                                                        </div>\n                                                        <div class="row" data-ng-hide="automations.or.length">\n                                                                <div class="col-md-12 text-center">\n                                                                   <hr>\n                                                                  <i>Add condition</i>\n                                                          </div>\n                                                        </div>\n                                                        <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <a href="#" data-ng-click="addNewChoice(\'and\')">\n                                                                            <i class="icon-plus"></i>\n                                                                     </a>\n                                                                  <i class="icon-people"></i>\n                                                                   <span class="caption-subject">Meet <strong>all</strong> of the following conditions:</a> </span>\n                                                              </div>\n                                                        </div>\n                                                        <div class="row" data-ng-repeat="automation in automations.and">\n                                                              <div class="col-md-12">\n                                                                       <div class="row">\n                                                                             <div class="col-md-12">\n                                                                                       <hr>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="row">\n                                                                             <div class="col-md-4">\n                                                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.automation.conditionAnd{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                             <ui-select data-ng-model="automations.and[$index].condition" name="conditionAnd{{$index}}" theme="bootstrap" required>\n                                                                                                        <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                                  <ui-select-choices repeat="condition in automations.and[$index].conditions | filter: $select.search">\n                                                                                                         <div data-ng-bind="condition.value | highlight: $select.search"></div>\n                                                                                                        </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.conditionAnd{{$index}}.$invalid && forms.automation.conditionAnd{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-3">\n                                                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.automation.operatorAnd{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                              <ui-select data-ng-model="automations.and[$index].operator" name="operatorAnd{{$index}}" theme="bootstrap" required>\n                                                                                                  <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                                 <ui-select-choices repeat="operator.key as operator in automations.and[$index].condition.operators | filter: $select.search">\n                                                                                                         <div data-ng-bind="operator.value | highlight: $select.search"></div>\n                                                                                                 </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.operatorAnd{{$index}}.$invalid && forms.automation.operatorAnd{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-4" data-ng-switch="automations.and[$index].condition.input">\n                                                                                       <div class="form-group" data-ng-switch-when="ui-select" data-ng-class="{\'has-error\': forms.automation.attributeAnd{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                             <ui-select data-ng-model="automations.and[$index].attribute" name="attributeAnd{{$index}}" theme="bootstrap" required>\n                                                                                                        <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                                 <ui-select-choices repeat="attribute.key as attribute in automations.and[$index].condition.attributes | filter: $select.search">\n                                                                                                              <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                        </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.attributeAnd{{$index}}.$invalid && forms.automation.attributeAnd{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                        <div class="form-group" data-ng-switch-when="number">\n                                                                                         <input class="form-control" type="text" min="0" name="attributeAnd{{$index}}" value="" data-ng-model="automations.and[$index].attribute" data-ng-class="{\'has-error\': forms.automation.attributeAnd{{$index}}.$invalid}" required>\n                                                                                          <span data-ng-show="forms.automation.attributeAnd{{$index}}.$invalid && forms.automation.attributeAnd{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-1">\n                                                                                        <a href="#" data-ng-click="removeChoice(\'and\', $index)">\n                                                                                            <i class="icon-close"></i>\n                                                                                    </a>\n                                                                          </div>\n                                                                        </div>\n                                                                </div>\n                                                        </div>\n                                                        <div class="row" data-ng-hide="automations.and.length">\n                                                               <div class="col-md-12 text-center">\n                                                                   <hr>\n                                                                  <i>Add condition</i>\n                                                          </div>\n                                                        </div>\n\n                                                      <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <a href="#" data-ng-click="addNewChoice(\'actions\')">\n                                                                                <i class="icon-plus"></i>\n                                                                     </a>\n                                                                  <i class="icon-magic-wand"></i>\n                                                                       <span class="caption-subject">Perform these actions:</a> </span>\n                                                              </div>\n                                                        </div>\n                                                        <div class="row" data-ng-repeat="automation in automations.actions">\n                                                          <div class="col-md-12">\n                                                                       <div class="row">\n                                                                             <div class="col-md-12">\n                                                                                       <hr>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="row">\n                                                                             <div class="col-md-4">\n                                                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.actions.conditionAction{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                             <ui-select data-ng-model="automations.actions[$index].condition" name="conditionAction{{$index}}" theme="bootstrap" required>\n                                                                                                 <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                                  <ui-select-choices repeat="action in automations.actions[$index].actions | filter: $select.search">\n                                                                                                           <div data-ng-bind="action.value | highlight: $select.search"></div>\n                                                                                                   </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.actions.conditionAction{{$index}}.$invalid && forms.actions.conditionAction{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-3" data-ng-switch="automations.actions[$index].condition.input">\n                                                                                   <div class="form-group" data-ng-switch-when="ui-select" data-ng-class="{\'has-error\': forms.actions.attributeAction{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                             <ui-select data-ng-model="automations.actions[$index].attribute" name="attributeAction{{$index}}" theme="bootstrap" required>\n                                                                                                 <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                                 <ui-select-choices repeat="attribute.key as attribute in automations.actions[$index].condition.attributes | filter: $select.search">\n                                                                                                          <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                        </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.actions.attributeAction{{$index}}.$invalid && forms.actions.attributeAction{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                        <div class="form-group" data-ng-switch-when="number" data-ng-class="{\'has-error\': forms.actions.attributeAction{{$index}}.$invalid}">\n                                                                                               <input class="form-control" type="text" min="0" name="attributeAction{{$index}}" value="" data-ng-model="automations.actions[$index].attribute" required>\n                                                                                             <span data-ng-show="forms.actions.attributeAction{{$index}}.$invalid && forms.actions.attributeAction{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-4">\n                                                                                </div>\n                                                                                <div class="col-md-1">\n                                                                                        <a href="#" data-ng-click="removeChoice(\'actions\', $index)">\n                                                                                                <i class="icon-close"></i>\n                                                                                    </a>\n                                                                          </div>\n                                                                        </div>\n                                                                </div>\n                                                        </div>\n                                                        <div class="row" data-ng-hide="automations.actions.length">\n                                                           <div class="col-md-12 text-center">\n                                                                   <hr>\n                                                                  <i>Add action</i>\n                                                             </div>\n                                                        </div>\n                                                        <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n                                                               </div>\n                                                        </div>\n                                                </form>\n                                       </wz-step>\n                                    <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                             <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                            <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                 </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
+a.put("app/interval/view/view.subintervals.html",'<div ui-view class="profile-content">\n<div class="row">\n   <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title  tabbable-line">\n                            <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_SUBINTERVALS\' | translate}}</span>\n                            </div>\n                                <div class="actions">\n                                 <div class="btn-group">\n                                               <a class="btn green-jungle " href="/intervals/view/{{interval.id}}/subinterval" data-toggle="dropdown">\n                                                       <i class="icon-plus"></i> {{ \'APPLICATION_NEW_SUBINTERVAL\' | translate }}\n                                           </a>\n                                  </div>\n                                </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table class="table table-striped table-bordered table-hover">\n                                          <thead>\n                                               <tr>\n                                                    <th>{{ \'APPLICATION_NAME\' | translate }}</th>\n                                               <th>{{ \'APPLICATION_TIME\' | translate }}</th>\n                                                           <th width="20%">{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                                  </tr>\n                                         </thead>\n                                      <tbody data-ng-model="subIntervals">\n                                            <tr data-ng-repeat="subinterval in subIntervals">\n                                                         <td>{{subinterval.name}}</td>\n                                                         <td>{{subinterval.interval}}</td>\n                                           <td>\n                                                                    <a class="btn default btn-xs blue-stripe" data-ng-href="/intervals/view/{{interval.id}}/subintervals/settings/{{subinterval.id}}">\n                                                                            {{ \'APPLICATION_SETTINGS\' | translate}}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(subinterval.name+\' interval\',subinterval.id)">\n                                                                           {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="subIntervals.length">\n                                                               <td colspan="3" style="text-align:center;">\n                                                                   <i>{{ \'MESSAGE_NO_SUBINTERVALS_AVAILABLE\' | translate }}</i>\n                                                                </td>\n                                                 </tr>\n                                   </tbody>\n                            </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n        </div>\n</div>\n</div>\n'),a.put("app/interval/wizard/wizard.html",'<div class="col-md-12">\n  <!-- BEGIN PAGE HEADER-->\n      <div class="page-bar">\n                <ul class="page-breadcrumb">\n                  <li>\n                          <i class="icon-rocket"></i>\n                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                           <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-clock"></i>\n                            <a href="/intervals/list">{{ \'APPLICATION_INTERVALS\' | translate }}</a>\n                             <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-options"></i>\n                          <a href="/intervals/wizard">{{ \'APPLICATION_WIZARD\' | translate }}</a>\n                      </li>\n         </ul>\n </div>\n  <!-- END PAGE HEADER-->\n\n  <!-- BEGIN PORTLET-->\n  <div class="portlet light bordered" data-ng-init="getContexts()">\n     <div class="portlet-title">\n           <div class="caption font-green-sharp">\n                        <i class="icon-clock font-green-sharp"></i>\n                   <span class="caption-subject">{{ \'APPLICATION_INTERVAL\' | translate }} WIZARD</a> </span>\n           </div>\n        </div>\n        <div class="portlet-body">\n            <wizard on-finish="createItem()">\n                             <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="exitValidation(forms.interval.$valid)">\n                        <form name="forms.interval" novalidate>\n\n            <!-- START NAME -->\n            <div class="form-group" data-ng-class="{\'has-error\': (forms.interval.name.$touched || forms.interval.$submitted) && forms.interval.name.$invalid}">\n              <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n              <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n              <span data-ng-show="(forms.interval.name.$touched || forms.interval.$submitted) && forms.interval.name.$error.required" class="help-block help-block-error">\n                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n              </span>\n            </div>\n            <!-- END NAME -->\n\n                                              <button class="btn green-haze" type="submit" ng-click="next()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n                        </form>\n                     </wz-step>\n\n                                <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                    <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n                                     <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                         </wz-step>\n            </wizard>\n     </div>\n  </div>\n  <!-- END PORTLET-->\n</div>\n'),a.put("app/jscripty/project/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n        <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n        <li>\n          <i class="fa fa-slack"></i>\n          <a href="/jscripty/projects/list">{{ \'APPLICATION_PROJECTS\' | translate }}</a>\n        </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-docs font-green-sharp"></i>\n                                    <span class="caption-subject">{{ \'APPLICATION_PROJECTS\' | translate }}</a> </span>\n                          </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="Projects.checked.length">\n                                                <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle " href="#" data-toggle="dropdown">\n                                                 <i class="icon-plus"></i> {{ \'APPLICATION_NEW_PROJECT\' | translate }} <i class="fa fa-angle-down"></i>\n                                              </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <li>\n                                                          <a href="/jscripty/projects/wizard">\n                                                          <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                         </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getProjects([\'name\', \'description\'])" csv-header="[\'Name\', \'Description\']" field-separator=";" filename="jscripty_projects.csv">\n                                    <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedProjects" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                        <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="4">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.projectsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                              <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="projectByPage in projectsByPage | filter: $select.search">\n                                                                                                 <div ng-bind-html="projectByPage.name | highlight: $select.search"></div>\n                                                                                             </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(agent, checked)" checklist-model checklist-value="id"></th>\n                                                    <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                              <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="project in displayedProjects" class="animate-repeat">\n                                                         <td style="text-align: center; vertical-align: middle"><input data-ng-hide="project.defaultEntry" type="checkbox" checklist-model="Projects.checked" checklist-value="project.id"></td>\n                                                               <td>{{project.name}}</td>\n                                           <td>{{project.description}}</td>\n                                              <td>\n                                                                    <!-- data-ng-show="Auth.isAdmin()" -->\n                                                <a  class="btn default btn-xs blue-stripe" data-ng-href="/jscripty/projects/view/{{project.id}}" data-ng-class="{\'disabled\': project.defaultEntry}">\n                                                                                {{ \'APPLICATION_SETTINGS\' | translate}}\n                                             </a>\n                                                                  <!-- <a  class="btn default btn-xs blue-stripe" data-ng-click="newTab()" data-ng-class="{\'disabled\': project.defaultEntry}">\n                                                                                {{ \'APPLICATION_START\' | translate}} {{Auth.isAdmin()}}\n                                                                     </a> -->\n                                              <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(project.name,project.id)" data-ng-class="{\'disabled\': project.defaultEntry}">\n                                                                            {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedProjects.length">\n                                                          <td colspan="4" style="text-align:center;">\n                                                                   <i>{{ \'MESSAGE_NO_PROJECTS_AVAILABLE\' | translate }}</i>\n                                                            </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                 <td/>\n                                               </tr>\n                                           <tr>\n                                            <td colspan="4" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.projectsByPage.value" st-displayed-pages="7"></div>\n                                            </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/jscripty/project/view/view.html",'<div class="row" data-ng-init="getProject()">\n       <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="fa fa-edits"></i>\n                                           <a href="/jscripty/projects/list">{{ \'APPLICATION_JSCRIPTY\' | translate }}</a>\n                                              <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="fa fa-slack"></i>\n                                           <a href="/jscripty/projects/list">{{ \'APPLICATION_PROJECTS\' | translate }}</a>\n            <i class="fa fa-angle-right"></i>\n                                       </li>\n          <li>\n                                         <a ng-href="/jscripty/projects/view/{{jscriptyProject.id}}">{{jscriptyProject.name}}</a>\n          </li>\n                             </ul>\n                 </div>\n                </div>\n</div>\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n  <div class="col-md-12">\n              <div id="geEditor" class="geEditor"></div>\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n<script>\n\n\n</script>\n'),a.put("app/jscripty/project/wizard/wizard.html",'<div class="col-md-12">\n  <!-- BEGIN PAGE HEADER-->\n     <div class="page-bar">\n                <ul class="page-breadcrumb">\n                  <li>\n                          <i class="icon-rocket"></i>\n                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                           <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-docs"></i>\n                             <a href="/jscripty/projects/list">{{ \'APPLICATION_PROJECTS\' | translate }}</a>\n                              <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-options"></i>\n                          <a href="/jscripty/projects/wizard">{{ \'APPLICATION_WIZARD\' | translate }}</a>\n                      </li>\n         </ul>\n </div>\n  <!-- END PAGE HEADER-->\n\n  <!-- BEGIN PORTLET-->\n  <div class="portlet light bordered">\n          <div class="portlet-title">\n           <div class="caption font-green-sharp">\n                        <i class="icon-docs font-green-sharp"></i>\n                    <span class="caption-subject">{{ \'APPLICATION_PROJECT\' | translate }} WIZARD</a> </span>\n            </div>\n        </div>\n        <div class="portlet-body">\n            <wizard on-finish="createItem()">\n                             <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="exitValidation(forms.project.$valid)">\n                         <form name="forms.project" novalidate>\n\n                        <!-- START NAME -->\n                           <div class="form-group" data-ng-class="{\'has-error\': (forms.project.name.$touched || forms.project.$submitted) && forms.project.name.$invalid}">\n                              <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n                                                   <span data-ng-show="(forms.project.name.$touched || forms.project.$submitted) && forms.project.name.$error.required" class="help-block help-block-error">\n                               <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                               </span>\n                             </div>\n                        <!-- END NAME -->\n\n                                             <!-- START DESCRIPTION -->\n                                            <div class="form-group">\n                                                      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                      <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"></textarea>\n                                          </div>\n                                                <!-- END DESCRIPTION -->\n                            <button class="btn green-haze" type="submit" ng-click="next()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n                          </form>\n                     </wz-step>\n\n                                <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                    <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n                                     <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                         </wz-step>\n            </wizard>\n     </div>\n  </div>\n  <!-- END PORTLET-->\n</div>\n'),a.put("app/login/login.html",'<!-- BEGIN LOGO -->\n<div class="logo">\n     <a href="index.html">\n <img src="assets/images/logo-big.png" alt=""/>\n        </a>\n</div>\n<!-- END LOGO -->\n<!-- BEGIN LOGIN -->\n<div class="content">\n  <!-- BEGIN LOGIN FORM -->\n     <form class="login-form" name="loginForm" data-ng-show="!flagLogin1" data-ng-submit="login(loginForm)" novalidate>\n            <h3 class="form-title">Sign In</h3>\n           <div class="alert alert-danger" data-ng-class="{\'display-hide\': !loginSubmitted || !errorLogin}">\n                   <button class="close" data-close="alert"></button>\n                    <span>{{ errorLog ? errorLog : \'Enter any username and password.\'}}</span>\n          </div>\n                <div class="form-group" data-ng-class="{\'has-error\': loginSubmitted && loginForm.name.$invalid}">\n                   <label class="control-label">Username</label>\n      <div class="input-icon">\n        <i class="fa fa-user"></i>\n        <input ng-enter="login(loginForm)" class="form-control form-control-solid placeholder-no-fix" type="text" autocomplete="off" placeholder="Username" name="name" ng-model="userLogin.name" required/>\n      </div>\n      <span data-ng-show="loginSubmitted && loginForm.name.$invalid" class="help-block">Username is required.</span>\n           </div>\n                <div class="form-group" data-ng-class="{\'has-error\': loginSubmitted && loginForm.password.$invalid}">\n                       <label class="control-label">Password</label>\n      <div class="input-icon">\n        <i class="fa fa-lock"></i>\n        <input ng-enter="login(loginForm)" class="form-control form-control-solid placeholder-no-fix" type="password" autocomplete="off" placeholder="Password" name="password" ng-model="userLogin.password" required/>\n      </div>\n      <span data-ng-show="loginSubmitted && loginForm.password.$invalid" class="help-block">Password is required.</span>\n           </div>\n                <div class="form-actions">\n                    <button type="submit" class="btn btn-success uppercase">Login</button>\n      <label class="rememberme check">\n        <input type="checkbox"> Remember me\n      </label>\n                   <!-- <label class="rememberme check">\n                 <input type="checkbox" name="remember" value="1"/>Remember </label> -->\n                       <!-- <a href="javascript:;" id="forget-password" class="forget-password">Forgot Password?</a> -->\n             </div>\n                <div class="login-options">\n                   <h4>Follow Us on</h4>\n                 <ul class="social-icons">\n                             <li>\n                                  <a class="social-icon-color facebook" data-original-title="facebook" href="https://www.facebook.com/xenialab"></a>\n                            </li>\n                         <li>\n                                  <a class="social-icon-color twitter" data-original-title="Twitter" href="https://twitter.com/xenialab"></a>\n                           </li>\n                         <li>\n                                  <a class="social-icon-color googleplus" data-original-title="Goole Plus" href="#"></a>\n                                </li>\n                         <li>\n                                  <a class="social-icon-color linkedin" data-original-title="Linkedin" href="#"></a>\n                            </li>\n                 </ul>\n         </div>\n        </form>\n</div>\n<div class="copyright">\n       2016 © xCALLY MOTION.\n</div>\n<!-- END LOGIN -->\n'),a.put("app/mail/account/list/list.html",'<div class="row">\n    <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-envelope"></i>\n                                         <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n                                                <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-notebook"></i>\n                                         <a href="#">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n                                    </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n       <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a> </span>\n                          </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="mailAccounts.checked.length">\n                                            <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle " href="#" data-toggle="dropdown">\n                                                 <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }} <i class="fa fa-angle-down"></i>\n                                              </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <li>\n                                                          <a href="/mail/accounts/wizard">\n                                                              <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                         </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getMailAccounts([\'name\', \'description\', {MailServerIn:\'username\'}])" csv-header="[\'Name\', \'Description\', \'Email Address\']" field-separator=";" filename="mail_accounts.csv">\n                                    <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedMailAccounts" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                              <thead>\n                                             <tr>\n                                                  <th colspan="7">\n                                                              <div class="row">\n                                                                     <div class="col-md-6">\n                                                                                <ui-select class="input-xsmall" ng-model="conf.mailAccountsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                     <ui-select-choices repeat="mailAccountByPage in mailAccountsByPage | filter: $select.search">\n                                                                                         <div ng-bind-html="mailAccountByPage.name | highlight: $select.search"></div>\n                                                                                 </ui-select-choices>\n                                                                          </ui-select>\n                                                                  </div>\n                                                                        <div class="col-md-6">\n                                                                                <div class="input-group input-medium pull-right">\n                                                                                     <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                 <span class="input-group-addon">\n                                                                                              <i class="fa fa-search"></i>\n                                                                                  </span>\n                                                                               </div>\n                                                                        </div>\n                                                                </div>\n                                                        </th>\n                                         </tr>\n                                   <tr>\n                                                        <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(mailAccount, checked)" checklist-model checklist-value="id"></th>\n                                      <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                    <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                  <th st-sort="email">{{ \'APPLICATION_EMAIL\' | translate }}</th>\n                                                      <th>IMAP</th>\n                                                 <th>SMTP</th>\n                                                 <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                      </tr>\n                                 </thead>\n                              <tbody>\n                                 <tr data-ng-repeat="mailAccount in displayedMailAccounts">\n                                                        <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="mailAccounts.checked" checklist-value="mailAccount.id"></td>\n                                 <td>{{mailAccount.name}}</td>\n                                                   <td>{{mailAccount.description}}</td>\n                                                  <td><a ng-href="mailto:{{mailAccount.MailServerIn.username}}">{{mailAccount.MailServerIn.username}}</a></td>\n                                                  <td data-ng-switch="mailAccount.MailServerIn.state">\n                                                          <span class="label label-sm label-success" ng-switch-when="CONNECTED">\n                                                                        {{ mailAccount.MailServerIn.state}}\n                                                           </span>\n                                                               <span class="label label-sm label-warning" ng-switch-when="DISCONNECTED">\n                                                                     {{ mailAccount.MailServerIn.state}}\n                                                           </span>\n                                                               <span class="label label-sm label-danger" ng-switch-when="ERROR">\n                                                                     {{ mailAccount.MailServerIn.state}}\n                                                           </span>\n                                                               <span class="label label-sm label-default" ng-switch-default>\n                                                                 {{ mailAccount.MailServerIn.state}}\n                                                           </span>\n                                                       </td>\n                                                 <td data-ng-switch="mailAccount.MailServerOut.state">\n                                                         <span class="label label-sm label-success" ng-switch-when="CONNECTED">\n                                                                        {{ mailAccount.MailServerOut.state}}\n                                                          </span>\n                                                               <span class="label label-sm label-warning" ng-switch-when="DISCONNECTED">\n                                                                     {{ mailAccount.MailServerOut.state}}\n                                                          </span>\n                                                               <span class="label label-sm label-danger" ng-switch-when="ERROR">\n                                                                     {{ mailAccount.MailServerOut.state}}\n                                                          </span>\n                                                               <span class="label label-sm label-default" ng-switch-default>\n                                                                 {{ mailAccount.MailServerOut.state}}\n                                                          </span>\n                                                       </td>\n                               <td>\n                                    <a class="btn default btn-xs blue-stripe" data-ng-href="/mail/accounts/view/{{mailAccount.id}}/settings">\n                                                                     {{ \'APPLICATION_PROFILE\' | translate }}\n                                     </a>\n                                  <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(mailAccount.name, mailAccount.id)">\n                                                                        {{ \'APPLICATION_DELETE\' | translate }}\n                                      </a>\n                                </td>\n                               </tr>\n                                             <tr data-ng-hide="displayedMailAccounts.length">\n                                                      <td colspan="7" class="text-center">\n                                                  <i>{{ \'MESSAGE_NO_AVAILABLE_ACCOUNTS\' | translate }}</i>\n                                                    </td>\n                                         </tr>\n                           </tbody>\n                              <tfoot>\n                                             <tr>\n                                                  <td/>\n                                     <td>\n                                                              <div class="input-icon right">\n                                                                        <i class="fa fa-search"></i>\n                                                                  <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_USERNAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                            </div>\n                                            </td>\n                                                     <td>\n                                                          <div class="input-icon right">\n                                                                        <i class="fa fa-search"></i>\n                                                                  <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                          </div>\n                                            </td>\n                                         <td colspan="4"/>\n                                   </tr>\n                                               <tr>\n                                                  <td colspan="7" class="text-center">\n                                                          <div class="pagination" st-pagination st-items-by-page="conf.mailAccountsByPage.value" st-displayed-pages="7"></div>\n                                                  </td>\n                                         </tr>\n                           </tfoot>\n                            </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/mail/account/view/action/list/list.html",'<div class="row" data-ng-init="initActons()">\n       <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title  tabbable-line">\n                            <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_ACTIONS\' | translate}}</span>\n                         </div>\n                                <div class="actions">\n                                 <div class="btn-group">\n                                               <a class="btn green-jungle " href="/mail/accounts/view/{{account.id}}/actions/wizard" data-toggle="dropdown">\n                                                 <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACTION\' | translate }}\n                                                </a>\n                                  </div>\n                                </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table class="table table-striped table-bordered table-hover">\n                                          <thead>\n                                               <tr>\n                                                    <th class="input-small" align="center">{{\'APPLICATION_APPLICATION\' | translate}}</th>\n                                                           <th class="input-small" align="center">{{\'APPLICATION_TIMEOUT\' | translate}} [s]</th>\n                                                   <th align="center">{{ \'APPLICATION_INTERVAL\' | translate }}</th>\n                                                                <th class="input-small">{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                                  </tr>\n                                         </thead>\n                                      <tbody ui-sortable="sortableOptions" data-ng-model="mailApplications">\n                                          <tr data-ng-repeat="application in mailApplications">\n                                                             <td align="center">\n                                                                   {{application.User ? \'agent\' : \'queue\' | uppercase}} [{{application.User ? application.User.fullname : application.MailQueue.name}}]\n                                                              </td>\n                                                         <td align="center">{{application.timeout}}</td>\n                                                               <td align="center">{{application.Interval ? application.Interval.name : application.interval}}</td>\n                                                           <td>\n                                                                  <a class="btn default btn-xs blue-stripe" data-ng-href="/mail/accounts/view/{{account.id}}/actions/view/{{application.id}}">\n                                                                          {{ \'APPLICATION_SETTINGS\' | translate}}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(application.app, application.id)">\n                                                                         {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="mailApplications.length">\n                                                           <td colspan="5" style="text-align:center;">\n                                                                   <i>No applications available</i>\n                                                              </td>\n                                                 </tr>\n                                   </tbody>\n                            </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/mail/account/view/action/view/view.html",'\n<div class="row" data-ng-init="initAction()">\n       <div class="col-md-12">\n               <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-directions font-green-sharp"></i>\n                                      <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }}</a> </span>\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <form name="forms.settings" ng-submit="updateItem()" novalidate>\n                                      <!-- START APP -->\n                                    <div class="form-group"  data-ng-class="{\'has-error\': (forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid}">\n                                          <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n                                                <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n                                                     <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n                                                      <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n                                                                <div ng-bind-html="app.name | highlight: $select.search"></div>\n                                                       </ui-select-choices>\n                                          </ui-select>\n                                          <span data-ng-show="(forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid && forms.settings.app.$error.required" class="help-block help-block-error">\n                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                         </span>\n                                       </div>\n                                        <!-- END APP -->\n\n                                    <!-- START HOST -->\n                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n                                           <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                             <input type="number" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="application.timeout" min="0" required/>\n                                         <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                         </span>\n                                       </div>\n                                        <!-- END HOST -->\n\n                                   <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n                                          <!-- START QUEUE -->\n                                          <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$invalid}">\n                                                       <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                        <ui-select data-ng-model="application.MailQueueId" name="queue" theme="bootstrap" required>\n                                                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                              <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n                                                                     <div ng-bind-html="queue.name | highlight: $select.search"></div>\n                                                             </ui-select-choices>\n                                                  </ui-select>\n                                                  <span data-ng-show="(forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$error.required" class="help-block help-block-error">\n                                                                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END QUEUE -->\n                                    </div>\n\n                                      <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n                                          <!-- START AGENT -->\n                                          <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$invalid}">\n                                                       <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                        <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n                                                                <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n                                                          <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n                                                                     <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n                                                         </ui-select-choices>\n                                                  </ui-select>\n                                                  <span data-ng-show="(forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$error.required" class="help-block help-block-error">\n                                                                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END AGENT -->\n                                    </div>\n\n                                      <!-- START INTERVAL_TYPE -->\n                                  <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$invalid}">\n                                           <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n                                              <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n                                                     <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n                                                        <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n                                                               {{ intType.name | translate }}\n                                                        </ui-select-choices>\n                                          </ui-select>\n                                          <span data-ng-show="(forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$error.required" class="help-block help-block-error">\n                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                         </span>\n                                       </div>\n                                        <!-- END INTERVAL_TYPE -->\n\n                                  <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n                                                <!-- START TIME -->\n                                           <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_TIME\' | translate }}</label>\n                                                   <div class="input-group input-large">\n                                                         <fieldset class="pull-left" ng-disabled="application.alwaysTime">\n                                                                     <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n                                                             </fieldset>\n                                                           <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n                                                                <fieldset ng-disabled="application.alwaysTime"><uib-timepicker  name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n                                                              <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n                                                     </div>\n                                                </div>\n                                                <!-- END TIME -->\n\n                                           <!-- START ALWAYS -->\n                                         <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n                                                 <div class="input-group input-large">\n                                                         <label class="control-label pointer-cursor">\n                                                                  <input\n                                                                                bs-switch\n                                                                             data-ng-model="application.alwaysTime"\n                                                                                type="checkbox"\n                                                                               switch-active="{{ isActive }}"\n                                                                                switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n                                                                                switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n                                                                                switch-on-color="{{ onColor }}"\n                                                                               switch-off-color="{{ offColor }}"\n                                                                             switch-animate="{{ animate }}"\n                                                                                switch-size="{{ size }}"\n                                                                              switch-label="{{ label }}"\n                                                                            switch-icon="{{ icon }}"\n                                                                              switch-radio-off="{{ radioOff }}"\n                                                                             switch-label-width="{{ labelWidth }}"\n                                                                         switch-handle-width="{{ handleWidth }}">\n                                                                      <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n                                                               </label>\n                                                      </div>\n                                                </div>\n                                                <!-- END ALWAYS -->\n\n                                         <!-- START WEEKDAY -->\n                                                <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_WEEKDAY\' | translate }}</label>\n                                                        <div class="input-group input-large">\n                                                         <ui-select data-ng-model="application.wd_from" theme="bootstrap" name="wd_from">\n                                                                      <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                     <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                                                                                {{ weekDay.name | translate}}\n                                                                 </ui-select-choices>\n                                                          </ui-select>\n                                                          <span class="input-group-addon">to</span>\n                                                             <ui-select data-ng-model="application.wd_to" theme="bootstrap" name="wd_to">\n                                                                  <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                     <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                                                                                {{ weekDay.name | translate }}\n                                                                        </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                </div>\n                                                <!-- END WEEKDAY -->\n\n                                                <!-- START MONTHDAY -->\n                                               <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_MONTHDAY\' | translate }}</label>\n                                                       <div class="input-group input-large">\n                                                         <ui-select data-ng-model="application.md_from" theme="bootstrap" name="md_from">\n                                                                      <ui-select-match>{{$select.selected}}</ui-select-match>\n                                                                       <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                                                                               {{monthDay}}\n                                                                  </ui-select-choices>\n                                                          </ui-select>\n                                                          <span class="input-group-addon">to</span>\n                                                             <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n                                                                  <ui-select-match>{{$select.selected}}</ui-select-match>\n                                                                       <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                                                                               {{monthDay}}\n                                                                  </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                </div>\n                                                <!-- END MONTHDAY -->\n\n                                               <!-- START MONTH -->\n                                          <div class="form-group">\n                                                      <label class="control-label">{{ \'APPLICATION_MONTH\' | translate }}</label>\n                                                  <div class="input-group input-large">\n                                                         <ui-select data-ng-model="application.m_from" theme="bootstrap" name="m_from">\n                                                                        <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                     <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                                                                                {{ month.name | translate }}\n                                                                  </ui-select-choices>\n                                                          </ui-select>\n                                                          <span class="input-group-addon">to</span>\n                                                             <ui-select data-ng-model="application.m_to" theme="bootstrap" name="m_to">\n                                                                    <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                     <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                                                                                {{ month.name | translate }}\n                                                                  </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                </div>\n                                                <!-- END MONTH -->\n                                    </div>\n\n                                      <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n                                          <!-- START INTERVALS -->\n                                              <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$invalid}">\n                                                     <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                    <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n                                                               <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n                                                             <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n                                                                    {{ interval.name}}\n                                                            </ui-select-choices>\n                                                  </ui-select>\n                                                  <span data-ng-show="(forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$error.required" class="help-block help-block-error">\n                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END INTERVALS -->\n\n                                      </div>\n                                        <button class="btn green-haze" type="submit">{{\'APPLICATION_UPDATE\' | translate}}</button>\n                          </form>\n                       </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
+a.put("app/mail/account/view/action/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n     <div class="col-md-12">\n               <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-directions font-green-sharp"></i>\n                                      <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }} WIZARD</a> </span>\n                             </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n                                     <wz-step title="{{\'APPLICATION_APPLICATION\' | translate}}" canexit="formValidation(forms.action.$valid)">\n                                           <form name="forms.action" novalidate>\n                                                 <!-- START APP -->\n                                                    <div class="form-group"  data-ng-class="{\'has-error\': forms.action.$submitted && forms.action.app.$invalid}">\n                                                               <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n                                                                <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n                                                                     <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n                                                                      <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n                                                                                <div ng-bind-html="app.name | highlight: $select.search"></div>\n                                                                       </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.action.$submitted && forms.action.app.$invalid" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END APP -->\n\n                                                    <!-- START HOST -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                             <input type="number" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="application.timeout" min="0" required/>\n                                                         <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END HOST -->\n\n                                                   <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n                                                          <!-- START QUEUE -->\n                                                          <div class="form-group" data-ng-class="{\'has-error\': (forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$invalid}">\n                                                                     <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                        <ui-select data-ng-model="application.MailQueueId" name="queue" theme="bootstrap" required>\n                                                                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                              <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n                                                                                     <div ng-bind-html="queue.name | highlight: $select.search"></div>\n                                                                             </ui-select-choices>\n                                                                  </ui-select>\n                                                                  <span data-ng-show="(forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$error.required" class="help-block help-block-error">\n                                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END QUEUE -->\n                                                    </div>\n\n                                                      <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n                                                          <!-- START AGENT -->\n                                                          <div class="form-group" data-ng-class="{\'has-error\': (forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$invalid}">\n                                                                     <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                        <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n                                                                                <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n                                                                          <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n                                                                                     <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n                                                                         </ui-select-choices>\n                                                                  </ui-select>\n                                                                  <span data-ng-show="(forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$error.required" class="help-block help-block-error">\n                                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END AGENT -->\n                                                    </div>\n\n                                                      <!-- START INTERVAL_TYPE -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': (forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$invalid}">\n                                                         <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n                                                              <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n                                                                     <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                        <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n                                                                               {{ intType.name | translate }}\n                                                                        </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="(forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$error.required" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END INTERVAL_TYPE -->\n\n                                                  <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n                                                                <!-- START TIME -->\n                                                           <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_TIME\' | translate }}</label>\n                                                                   <div class="input-group input-large">\n                                                                         <fieldset class="pull-left" ng-disabled="application.alwaysTime">\n                                                                                     <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n                                                                             </fieldset>\n                                                                           <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n                                                                                <fieldset ng-disabled="application.alwaysTime"><uib-timepicker  name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n                                                                              <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n                                                                     </div>\n                                                                </div>\n                                                                <!-- END TIME -->\n\n                                                           <!-- START ALWAYS -->\n                                                         <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n                                                                 <div class="input-group input-large">\n                                                                         <label class="control-label pointer-cursor">\n                                                                                  <input\n                                                                                                bs-switch\n                                                                                             data-ng-model="application.alwaysTime"\n                                                                                                type="checkbox"\n                                                                                               switch-active="{{ isActive }}"\n                                                                                                switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n                                                                                                switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n                                                                                                switch-on-color="{{ onColor }}"\n                                                                                               switch-off-color="{{ offColor }}"\n                                                                                             switch-animate="{{ animate }}"\n                                                                                                switch-size="{{ size }}"\n                                                                                              switch-label="{{ label }}"\n                                                                                            switch-icon="{{ icon }}"\n                                                                                              switch-radio-off="{{ radioOff }}"\n                                                                                             switch-label-width="{{ labelWidth }}"\n                                                                                         switch-handle-width="{{ handleWidth }}">\n                                                                                      <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n                                                                               </label>\n                                                                      </div>\n                                                                </div>\n                                                                <!-- END ALWAYS -->\n\n                                                         <!-- START WEEKDAY -->\n                                                                <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_WEEKDAY\' | translate }}</label>\n                                                                        <div class="input-group input-large">\n                                                                         <ui-select data-ng-model="application.wd_from" theme="bootstrap" name="wd_from">\n                                                                                      <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                                     <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                                                                                                {{ weekDay.name | translate}}\n                                                                                 </ui-select-choices>\n                                                                          </ui-select>\n                                                                          <span class="input-group-addon">to</span>\n                                                                             <ui-select data-ng-model="application.wd_to" theme="bootstrap" name="wd_to">\n                                                                                  <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                                     <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                                                                                                {{ weekDay.name | translate }}\n                                                                                        </ui-select-choices>\n                                                                          </ui-select>\n                                                                  </div>\n                                                                </div>\n                                                                <!-- END WEEKDAY -->\n\n                                                                <!-- START MONTHDAY -->\n                                                               <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_MONTHDAY\' | translate }}</label>\n                                                                       <div class="input-group input-large">\n                                                                         <ui-select data-ng-model="application.md_from" theme="bootstrap" name="md_from">\n                                                                                      <ui-select-match>{{$select.selected}}</ui-select-match>\n                                                                                       <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                                                                                               {{monthDay}}\n                                                                                  </ui-select-choices>\n                                                                          </ui-select>\n                                                                          <span class="input-group-addon">to</span>\n                                                                             <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n                                                                                  <ui-select-match>{{$select.selected}}</ui-select-match>\n                                                                                       <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                                                                                               {{monthDay}}\n                                                                                  </ui-select-choices>\n                                                                          </ui-select>\n                                                                  </div>\n                                                                </div>\n                                                                <!-- END MONTHDAY -->\n\n                                                               <!-- START MONTH -->\n                                                          <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_MONTH\' | translate }}</label>\n                                                                  <div class="input-group input-large">\n                                                                         <ui-select data-ng-model="application.m_from" theme="bootstrap" name="m_from">\n                                                                                        <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                                     <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                                                                                                {{ month.name | translate }}\n                                                                                  </ui-select-choices>\n                                                                          </ui-select>\n                                                                          <span class="input-group-addon">to</span>\n                                                                             <ui-select data-ng-model="application.m_to" theme="bootstrap" name="m_to">\n                                                                                    <ui-select-match placeholder="">{{ $select.selected.name | translate }}</ui-select-match>\n                                                                                     <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                                                                                                {{ month.name | translate }}\n                                                                                  </ui-select-choices>\n                                                                          </ui-select>\n                                                                  </div>\n                                                                </div>\n                                                                <!-- END MONTH -->\n                                                    </div>\n\n                                                      <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n                                                          <!-- START INTERVALS -->\n                                                              <div class="form-group" data-ng-class="{\'has-error\': (forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$invalid}">\n                                                                   <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                    <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n                                                                               <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n                                                                             <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n                                                                                    {{ interval.name}}\n                                                                            </ui-select-choices>\n                                                                  </ui-select>\n                                                                  <span data-ng-show="(forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$error.required" class="help-block help-block-error">\n                                                                            <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END INTERVALS -->\n\n                                                      </div>\n\n                                                      <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONTINUE\' | translate}}"/>\n                                         </form>\n                                       </wz-step>\n                                    <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                             <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                            <!-- <button class="btn green-haze" type="button" wz-previous><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button> -->\n                                              <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                  </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/mail/account/view/view.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row" data-ng-init="initView()">\n  <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-envelope"></i>\n                                 <a href="/">{{ \'APPLICATION_MAIL\' | translate }}</a>\n                                        <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-notebook"></i>\n                                 <a href="/mail/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n                                  <i class="fa fa-angle-right" data-ng-show="account"></i>\n                              </li>\n                         <li data-ng-show="account">\n                                   <a href="#">{{ account.description || account.name }}</a>\n                             </li>\n                 </ul>\n         </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n               <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img ng-src="assets/images/media/account.png" class="img-responsive">\n                         </div>\n                                <!-- END SIDEBAR USERPIC -->\n\n                                <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{ account.description || account.name }}\n                                     </div>\n                                        <div class="profile-usertitle-job">\n                                           {{account.email}}\n                                     </div>\n                                </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li ng-class="{active: $state.is(\'main.mail.accounts.view.settings\')}">\n                                                     <a href="/mail/accounts/view/{{account.id}}/settings">\n                                                        <i class="icon-settings"></i>\n                                                 {{\'APPLICATION_SETTINGS\' | translate}} </a>\n                                         </li>\n                                         <li ng-class="{active: $state.includes(\'main.mail.accounts.view.actions\')}">\n                                                        <a href="/mail/accounts/view/{{account.id}}/actions/list">\n                                                    <i class="icon-directions"></i>\n                                                       {{\'APPLICATION_ACTIONS\' | translate}} </a>\n                                          </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <div ui-view class="profile-content"></div>\n           <!-- END PROFILE CONTENT -->\n  </div>\n<!-- END PAGE CONTENT-->\n</div>\n'),a.put("app/mail/account/view/view.settings.html",'<div class="row">\n      <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_SETTINGS\' | translate}}</span>\n                                </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n                                     </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_2" data-toggle="tab">IMAP</a>\n                                 </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_3" data-toggle="tab">SMTP</a>\n                                 </li>\n                         </ul>\n                 </div>\n                        <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.formInfo" data-ng-submit="forms.formInfo.$valid && updateItemMailAccount()" novalidate>\n                                                     <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.formInfo.name.$touched || forms.formInfo.$submitted) && forms.formInfo.name.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.name" required/>\n                                                                <span data-ng-show="(forms.formInfo.name.$touched || forms.formInfo.$submitted) && forms.formInfo.name.$invalid && forms.formInfo.name.$error.required" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n                                                    </div>\n                                                        <!-- END DESCRIPTION -->\n\n                                                    <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END GENERAL TAB -->\n\n                                    <!-- IMAP TAB -->\n                                     <div class="tab-pane" id="tab_1_2">\n                                           <form name="forms.formIn" data-ng-submit="forms.formIn.$valid && updateItemMailServerIn()" novalidate>\n                                                        <!-- START PROTOCOL -->\n                                                       <!-- <div class="form-group">\n                                                         <label class="control-label">IMAP/POP3</label>\n                                                                <button type="button" name="protocol" class="btn btn-default form-control" data-ng-model="account.MailServerIn.protocol" bs-checkbox>{{account.MailServerIn.protocol ? \'IMAP\' : \'POP3\'}}</button>\n                                                 </div> -->\n                                                    <!-- END PROTOCOL -->\n\n                                                       <!-- START HOST -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.formIn.host.$touched || forms.formIn.$submitted) && forms.formIn.host.$invalid}">\n                                                               <label class="control-label">{{\'APPLICATION_HOST\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.host" required/>\n                                                           <span data-ng-show="(forms.formIn.host.$touched || forms.formIn.$submitted) && forms.formIn.host.$invalid && forms.formIn.host.$error.required" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END HOST -->\n\n                                                   <!-- START USERNAME -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': (forms.formIn.username.$touched || forms.formIn.$submitted) && forms.formIn.username.$invalid}">\n                                                               <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                             <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.username" required/>\n                                                               <span data-ng-show="(forms.formIn.username.$touched || forms.formIn.$submitted) && forms.formIn.username.$invalid && forms.formIn.username.$error.required"  class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n                                                       <!-- START PASSWORD -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': (forms.formIn.password.$touched || forms.formIn.$submitted) && forms.formIn.password.$invalid}">\n                                                               <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                             <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.password" required/>\n                                                           <span data-ng-show="(forms.formIn.password.$touched || forms.formIn.$submitted) && forms.formIn.password.$invalid && forms.formIn.password.$error.required" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END PASSWORD -->\n\n                                                       <!-- START PORT -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.formIn.port.$touched || forms.formIn.$submitted) && forms.formIn.port.$invalid}">\n                                                               <label class="control-label">{{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="number" name="port" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.port" required/>\n                                                         <span data-ng-show="(forms.formIn.port.$touched || forms.formIn.$submitted) && forms.formIn.port.$invalid && forms.formIn.port.$error.required" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                               <span data-ng-show="(forms.formIn.port.$touched || forms.formIn.$submitted) && forms.formIn.port.$invalid && forms.formIn.port.$error.number" class="help-block help-block-error">\n                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n                                                          </span>\n                                                       </div>\n                                                        <!-- END PORT -->\n\n                                                   <!-- START MAILBOX -->\n                                                        <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_MAILBOX\' | translate}}</label>\n                                                          <input type="text" name="mailbox" placeholder="{{\'APPLICATION_MAILBOX\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.mailbox"/>\n                                                   </div>\n                                                        <!-- END MAILBOX -->\n\n                                                        <!-- START SEARCH FILTER -->\n                                                  <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_SEARCH_FILTER\' | translate}}</label>\n                                                            <ui-select data-ng-model="account.MailServerIn.filter" name="filter" theme="bootstrap">\n                                                                       <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected}}</ui-select-match>\n                                                                   <ui-select-choices repeat="filter in [\'UNSEEN\'] | filter: $select.search">\n                                                                          <div ng-bind-html="filter | highlight: $select.search"></div>\n                                                                 </ui-select-choices>\n                                                          </ui-select>\n                                                  </div>\n                                                        <!-- START SEARCH FILTER -->\n\n                                                        <!-- START DELETE -->\n                                                 <div class="form-group row">\n                                                          <label class="col-md-3">\n                                                                      {{\'APPLICATION_DELETE_MAIL_FROM_SERVER\' | translate}}\n                                                               </label>\n                                                              <label class="col-md-9">\n                                                                      <input type="checkbox" ng-model="account.MailServerIn.delete">\n                                                                </label>\n                                                      </div>\n                                                        <!-- END DELETE -->\n\n                                                 <!-- START SSL -->\n                                                    <div class="form-group row">\n                                                          <label class="col-md-3">\n                                                                      SSL\n                                                           </label>\n                                                              <label class="col-md-9">\n                                                                              <input type="checkbox" data-ng-model="account.MailServerIn.ssl">\n                                                              </label>\n                                                      </div>\n                                                        <!-- END SSL -->\n\n                                                    <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END IMAP TAB -->\n\n                                       <!-- SMTP TAB -->\n                                     <div class="tab-pane" id="tab_1_3">\n                                           <form name="forms.formOut" data-ng-submit="forms.formOut.$valid && updateItemMailServerOut()" novalidate>\n\n                                                   <!-- START HOST -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.formOut.host.$touched || forms.formOut.$submitted) && forms.formOut.host.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_HOST\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="account.MailServerOut.host" required/>\n                                                          <span data-ng-show="(forms.formOut.host.$touched || forms.formOut.$submitted) && forms.formOut.host.$invalid && forms.formOut.host.$error.required" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END HOST -->\n\n                                                   <!-- START USERNAME -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': (forms.formOut.username.$touched || forms.formOut.$submitted) && forms.formOut.username.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                             <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.MailServerOut.username" required/>\n                                                              <span data-ng-show="(forms.formOut.username.$touched || forms.formOut.$submitted) && forms.formOut.username.$invalid && forms.formOut.username.$error.required" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n                                                       <!-- START PASSWORD -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': (forms.formOut.password.$touched || forms.formOut.$submitted) && forms.formOut.password.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                             <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.MailServerOut.password" required/>\n                                                          <span data-ng-show="(forms.formOut.password.$touched || forms.formOut.$submitted) && forms.formOut.password.$invalid && forms.formOut.password.$error.required" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END PASSWORD -->\n\n                                                       <!-- START PORT -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.formOut.port.$touched || forms.formOut.$submitted) && forms.formOut.port.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="number" name="port" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="account.MailServerOut.port" required/>\n                                                                <span data-ng-show="(forms.formOut.form.$touched || forms.formOut.$submitted) && forms.formOut.port.$invalid && forms.formOut.port.$error.required" class="help-block help-block-error">\n                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                               <span data-ng-show="(forms.formOut.form.$touched || forms.formOut.$submitted) && forms.formOut.port.$invalid && forms.formOut.port.$error.number" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n                                                          </span>\n                                                       </div>\n                                                        <!-- END PORT -->\n\n                                                   <!-- START SSL -->\n                                                    <div class="form-group row">\n                                                          <label class="col-md-3">\n                                                                      SSL\n                                                           </label>\n                                                              <label class="col-md-9">\n                                                                              <input type="checkbox" data-ng-model="account.MailServerOut.ssl">\n                                                             </label>\n                                                      </div>\n                                                        <!-- END SSL -->\n                                                      <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                                  <input class="btn blue-madison" type="button" value="Test" data-ng-click="test()"/>\n                                           </form>\n                                       </div>\n                                        <!-- END SMTP TAB -->\n                         </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/mail/account/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n       <div class="col-md-12">\n               <!-- BEGIN PAGE HEADER-->\n             <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-envelope"></i>\n                                 <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n                                        <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-notebook"></i>\n                                 <a href="/mail/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n                          </li>\n                 </ul>\n         </div>\n                <!-- END PAGE HEADER-->\n\n             <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n             <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="formValidation(forms.info.$valid)">\n                                                    <form name="forms.info" novalidate>\n                                                           <!-- START NAME -->\n                                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n                                                                     <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                 <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="info.name" required/>\n                                                                   <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid && forms.info.name.$error.required" class="help-block help-block-error">\n                                                                          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END NAME -->\n\n                                                           <!-- START DESCRIPTION -->\n                                                            <div class="form-group">\n                                                                      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                                      <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="info.description"/>\n                                                               </div>\n                                                                <!-- END DESCRIPTION -->\n                                                              <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n                                                       </form>\n                                               </wz-step>\n\n                                          <wz-step title="IMAP" canexit="formValidation(forms.in.$valid)">\n                                                      <form name="forms.in" novalidate>\n                                                             <!-- START PROTOCOL -->\n                                                               <!-- <div class="form-group">\n                                                                 <label class="control-label">IMAP/POP3</label>\n                                                                        <button type="button" name="protocol" class="btn btn-default form-control" data-ng-model="in.protocol" bs-checkbox>{{in.protocol ? \'IMAP\' : \'POP3\'}}</button>\n                                                             </div> -->\n                                                            <!-- END PROTOCOL -->\n\n                                                               <!-- START HOST -->\n                                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.in.host.$touched || forms.in.$submitted) && forms.in.host.$invalid}">\n                                                                   <label class="control-label">{{\'APPLICATION_HOST\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                        <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="in.host" required/>\n                                                                     <span data-ng-show="(forms.in.host.$touched || forms.in.$submitted) && forms.in.host.$invalid && forms.in.host.$error.required" class="help-block help-block-error">\n                                                                          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END HOST -->\n\n                                                           <!-- START USERNAME -->\n                                                               <div class="form-group" data-ng-class="{\'has-error\': (forms.in.username.$touched || forms.in.$submitted) && forms.in.username.$invalid}">\n                                                                   <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                     <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="in.username" name="username" required/>\n                                                                 <span data-ng-show="(forms.in.username.$touched || forms.in.$submitted) && forms.in.username.$invalid && forms.in.username.$error.required"  class="help-block help-block-error">\n                                                                             <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END USERNAME -->\n\n                                                               <!-- START PASSWORD -->\n                                                               <div class="form-group" data-ng-class="{\'has-error\': (forms.in.password.$touched || forms.in.$submitted) && forms.in.password.$invalid}">\n                                                                   <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                     <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="in.password" required/>\n                                                                     <span data-ng-show="(forms.in.password.$touched || forms.in.$submitted) && forms.in.password.$invalid && forms.in.password.$error.required" class="help-block help-block-error">\n                                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END PASSWORD -->\n\n                                                               <!-- START PORT -->\n                                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.in.port.$touched || forms.in.$submitted) && forms.in.port.$invalid}">\n                                                                   <label class="control-label">{{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                 <input type="number" name="port" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="in.port" required/>\n                                                                   <span data-ng-show="(forms.in.port.$touched || forms.in.$submitted) && forms.in.port.$invalid && forms.in.port.$error.required" class="help-block help-block-error">\n                                                                          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                                       <span data-ng-show="(forms.in.port.$touched || forms.in.$submitted) && forms.in.port.$invalid && forms.in.port.$error.number" class="help-block help-block-error">\n                                                                            <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n                                                                  </span>\n                                                               </div>\n                                                                <!-- END PORT -->\n\n                                                           <!-- START MAILBOX -->\n                                                                <div class="form-group">\n                                                                      <label class="control-label">{{\'APPLICATION_MAILBOX\' | translate}}</label>\n                                                                  <input type="text" name="mailbox" placeholder="{{\'APPLICATION_MAILBOX\' | translate}}" class="form-control" data-ng-model="in.mailbox"/>\n                                                             </div>\n                                                                <!-- END MAILBOX -->\n\n                                                                <!-- START SEARCH FILTER -->\n                                                          <div class="form-group">\n                                                                      <label class="control-label">{{\'APPLICATION_SEARCH_FILTER\' | translate}}</label>\n                                                                    <ui-select data-ng-model="in.filter" name="filter" theme="bootstrap">\n                                     <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected}}</ui-select-match>\n                                           <ui-select-choices repeat="filter in [\'UNSEEN\'] | filter: $select.search">\n                                            <div data-ng-bind="filter | highlight: $select.search"></div>\n                                       </ui-select-choices>\n                                        </ui-select>\n                                                                        <!-- <input type="text" name="filter" placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}" class="form-control" data-ng-model="in.filter"/> -->\n                                                                </div>\n                                                                <!-- START SEARCH FILTER -->\n\n                                                                <!-- START DELETE -->\n                                                         <div class="form-group row">\n                                                                  <label class="col-md-3">\n                                                                              {{\'APPLICATION_DELETE_MAIL_FROM_SERVER\' | translate}}\n                                                                       </label>\n                                                                      <label class="col-md-9">\n                                                                                      <input type="checkbox" data-ng-model="in.delete">\n                                                                     </label>\n                                                              </div>\n                                                                <!-- END DELETE -->\n\n                                                         <!-- START SSL -->\n                                                            <div class="form-group row">\n                                                                  <label class="col-md-3">\n                                                                              SSL\n                                                                   </label>\n                                                                      <label class="col-md-9">\n                                                                                      <input type="checkbox" data-ng-model="in.ssl">\n                                                                        </label>\n                                                              </div>\n                                                                <!-- END SSL -->\n                                                              <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="goNext()"/>\n                                                    </form>\n                                               </wz-step>\n                                            <wz-step title="SMTP" canexit="formValidation(forms.out.$valid)">\n                                                     <form name="forms.out" novalidate>\n\n                                                          <!-- START HOST -->\n                                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.out.host.$touched || forms.out.$submitted) && forms.out.host.$invalid}">\n                                                                        <label class="control-label">{{\'APPLICATION_HOST\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                        <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="out.host" required/>\n                                                                    <span data-ng-show="(forms.out.host.$touched || forms.out.$submitted) && forms.out.host.$invalid && forms.out.host.$error.required" class="help-block help-block-error">\n                                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END HOST -->\n\n                                                           <!-- START USERNAME -->\n                                                               <div class="form-group" data-ng-class="{\'has-error\': (forms.out.username.$touched || forms.out.$submitted) && forms.out.username.$invalid}">\n                                                                        <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                     <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="out.username" required/>\n                                                                        <span data-ng-show="(forms.out.username.$touched || forms.out.$submitted) && forms.out.username.$invalid && forms.out.username.$error.required" class="help-block help-block-error">\n                                                                          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END USERNAME -->\n\n                                                               <!-- START PASSWORD -->\n                                                               <div class="form-group" data-ng-class="{\'has-error\': (forms.out.password.$touched || forms.out.$submitted) && forms.out.password.$invalid}">\n                                                                        <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                     <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="out.password" required/>\n                                                                    <span data-ng-show="(forms.out.password.$touched || forms.out.$submitted) && forms.out.password.$invalid && forms.out.password.$error.required" class="help-block help-block-error">\n                                                                          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END PASSWORD -->\n\n                                                               <!-- START PORT -->\n                                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.out.port.$touched || forms.out.$submitted) && forms.out.port.$invalid}">\n                                                                        <label class="control-label">{{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                 <input type="number" name="port" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="out.port" required/>\n                                                                  <span data-ng-show="(out.$touched || forms.out.$submitted) && forms.out.port.$invalid && forms.out.port.$error.required" class="help-block help-block-error">\n                                                                         <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                                       <span data-ng-show="(out.$touched || forms.out.$submitted) && forms.out.port.$invalid && forms.out.port.$error.number" class="help-block help-block-error">\n                                                                           <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n                                                                  </span>\n                                                               </div>\n                                                                <!-- END PORT -->\n\n                                                           <!-- START SSL -->\n                                                            <div class="form-group row">\n                                                                  <label class="col-md-3">\n                                                                              SSL\n                                                                   </label>\n                                                                      <label class="col-md-9">\n                                                                                      <input type="checkbox" data-ng-model="out.ssl">\n                                                                       </label>\n                                                              </div>\n                                                                <!-- END DELETE -->\n\n                                                         <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="goNext()"/>\n                                                            <input class="btn default" type="button" value="{{\'APPLICATION_BACK\' | translate}}" wz-previous/>\n                                                   </form>\n                                               </wz-step>\n                                            <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                                    <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                         </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
+a.put("app/mail/automation/list/list.html",'<div class="row">\n        <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-envelope"></i>\n                                         <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n                                                <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-settings"></i>\n                                         <a href="#">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n                                 </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n       <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-settings font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a> </span>\n                               </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="mailAutomations.checked.length">\n                                         <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle " href="#" data-toggle="dropdown">\n                                                 <i class="icon-plus"></i> {{ \'APPLICATION_NEW_AUTOMATION\' | translate }} <i class="fa fa-angle-down"></i>\n                                           </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <li>\n                                                          <a href="/mail/automations/wizard">\n                                                           <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                         </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getMailAutomations([\'name\', \'description\'])" csv-header="[\'Name\', \'Description\']" field-separator=";" filename="mail_automations.csv">\n                                      <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedMailAutomations" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                 <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="6">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.mailAutomationsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                               <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="mailAutomationByPage in mailAutomationsByPage | filter: $select.search">\n                                                                                                   <div ng-bind-html="mailAutomationByPage.name | highlight: $select.search"></div>\n                                                                                              </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <!-- <th st-sort="id" width="5%" st-sort-default="reverse">{{ \'APPLICATION_ID\' | translate }}</th> -->\n                                                              <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(mailAutomation, checked)" checklist-model checklist-value="id"></th>\n                                                   <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                            <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                          <th>{{ \'APPLICATION_STATUS\' | translate }}</th>\n                                                             <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="mailAutomation in displayedMailAutomations">\n                                                          <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="mailAutomations.checked" checklist-value="mailAutomation.id"></td>\n                                           <td>{{mailAutomation.name}}</td>\n                                                                <td>{{mailAutomation.description}}</td>\n                                                               <td>\n                                                                  <input\n                                                                                data-ng-change="updateItem(mailAutomation.id, mailAutomation.status)",\n                                                                    bs-switch\n                                                             ng-model="mailAutomation.status"\n                                                              type="checkbox"\n                                                               switch-active="{{ isActive }}"\n                                                                switch-on-text="{{ onText }}"\n                                                                 switch-off-text="{{ offText }}"\n                                                               switch-on-color="{{ onColor }}"\n                                                               switch-off-color="{{ offColor }}"\n                                                             switch-animate="{{ animate }}"\n                                                                switch-size="{{ size }}"\n                                                              switch-label="{{ label }}"\n                                                                    switch-icon="{{ icon }}"\n                                                              switch-radio-off="{{ radioOff }}"\n                                                             switch-label-width="{{ labelWidth }}"\n                                                                 switch-handle-width="{{ handleWidth }}">\n                                                          </td>\n                                       <td>\n                                                                    <a class="btn default btn-xs blue-stripe" data-ng-href="/mail/automations/view/{{mailAutomation.id}}/settings">\n                                                                               {{ \'APPLICATION_EDIT\' | translate }}\n                                                </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(mailAutomation.name, mailAutomation.id)">\n                                                                          {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedMailAutomations.length">\n                                                           <td colspan="6" class="text-center">\n                                                                  <i>No available automations</i>\n                                                               </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_USERNAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                    </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                             <td/>\n                                                         <td/>\n                                           </tr>\n                                           <tr>\n                                            <td colspan="6" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.mailAutomationsByPage.value" st-displayed-pages="7"></div>\n                                             </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/mail/automation/view/view.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row" data-ng-init="initView()">\n       <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-envelope"></i>\n                                 <a href="/">{{ \'APPLICATION_MAIL\' | translate }}</a>\n                                        <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-settings"></i>\n                                 <a href="/mail/automations/list">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n                                    <i class="fa fa-angle-right" data-ng-show="automation"></i>\n                           </li>\n                         <li data-ng-show="automation">\n                                        <a href="#">{{ automation.description || automation.name }}</a>\n                               </li>\n                 </ul>\n         </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n               <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/automation.png" class="img-responsive">\n                         </div>\n                                <!-- END SIDEBAR USERPIC -->\n\n                                <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{ automation.name }}\n                                 </div>\n                                        <div class="profile-usertitle-job">\n                                           {{automation.description}}\n                                    </div>\n                                </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.mail.automations.view.settings\')}">\n                                                     <a href="/mail/automations/view/{{automation.id}}/settings">\n                                                  <i class="icon-settings"></i>\n                                                 {{\'APPLICATION_SETTINGS\' | translate}} </a>\n                                         </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/mail/automation/view/view.settings.html",'<div class="row">\n   <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_SETTINGS\' | translate}}</span>\n                                </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n                                     </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_2" data-toggle="tab">OR {{\'APPLICATION_CONDITIONS\' | translate}}</a>\n                                        </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_3" data-toggle="tab">AND {{\'APPLICATION_CONDITIONS\' | translate}}</a>\n                                       </li>\n                                 <li>\n                                          <a href="#" data-target="#tab_1_4" data-toggle="tab">{{\'APPLICATION_ACTIONS\' | translate}}</a>\n                                      </li>\n                         </ul>\n                 </div>\n                        <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.info" data-ng-submit="forms.info.$valid && updateAutomation()" novalidate>\n                                                  <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="automation.name" required/>\n                                                             <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid && forms.info.name.$error.required" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="automation.description"/>\n                                                 </div>\n                                                        <!-- END DESCRIPTION -->\n\n                                                    <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END GENERAL TAB -->\n\n                                    <!-- IMAP TAB -->\n                                     <div class="tab-pane" id="tab_1_2">\n                                           <div class="row">\n                                                     <div class="col-md-12">\n                                                               <a href="#" data-ng-click="addNewCondition(\'or\')">\n                                                                  <i class="icon-plus"></i>\n                                                             </a>\n                                                          <i class="icon-people"></i>\n                                                           <span class="caption-subject">Meet <strong>all</strong> of the following conditions:</a> </span>\n                                                      </div>\n                                                </div>\n                                                <div class="row" data-ng-repeat="condition in automation.BusinessConditions | filter: {type: \'or\'}">\n                                                        <div class="col-md-12">\n                                                               <div class="row">\n                                                                     <div class="col-md-12">\n                                                                               <hr>\n                                                                  </div>\n                                                                </div>\n                                                                <div class="row">\n                                                                     <div class="col-md-4">\n                                                                                <div class="form-group">\n                                                                                      <ui-select data-ng-model="condition.condition" theme="bootstrap" on-select="updateCondition(condition.id, \'condition\', $item.key)" required>\n                                                                                                <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                          <ui-select-choices repeat="condition.key as condition in automations.conditions | filter: $select.search">\n                                                                                                    <div data-ng-bind="condition.value | highlight: $select.search"></div>\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="col-md-3">\n                                                                                <div class="form-group">\n                                                                                      <ui-select data-ng-model="condition.operator" theme="bootstrap" on-select="updateCondition(condition.id, \'operator\', $item.key)" required>\n                                                                                          <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                         <ui-select-choices repeat="operator.key as operator in getOperatorsByCondition(condition.condition) | filter: $select.search">\n                                                                                                        <div data-ng-bind="operator.value | highlight: $select.search"></div>\n                                                                                         </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="col-md-4" data-ng-switch="condition.condition">\n                                                                           <div class="form-group" data-ng-switch-when="status">\n                                                                                 <ui-select data-ng-model="condition.attribute" theme="bootstrap" on-select="updateCondition(condition.id, \'attribute\', $item.key)" required>\n                                                                                                <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                         <ui-select-choices repeat="attribute.key as attribute in getAttributesByCondition(condition.condition) | filter: $select.search">\n                                                                                                     <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="form-group" data-ng-switch-when="createdAt">\n                                                                                      <input class="form-control" type="text" name="attributeOr{{$index}}" value="" data-ng-model="condition.attribute" ng-blur="updateCondition(condition.id, \'attribute\', condition.attribute)" data-ng-class="{\'has-error\': forms.and.attributeAnd{{$index}}.$invalid}" required>\n                                                                            </div>\n                                                                        </div>\n                                                                        <div class="col-md-1">\n                                                                                <a href="#" data-ng-click="removeCondition(condition.id)">\n                                                                                    <i class="icon-close"></i>\n                                                                            </a>\n                                                                  </div>\n                                                                </div>\n                                                        </div>\n                                                </div>\n                                                <div class="row" data-ng-hide="automation.BusinessConditions.length">\n                                                 <div class="col-md-12 text-center">\n                                                           <hr>\n                                                          <i>Add condition</i>\n                                                  </div>\n                                                </div>\n                                        </div>\n                                        <!-- END IMAP TAB -->\n\n                                       <div class="tab-pane" id="tab_1_3">\n                                           <div class="row">\n                                                     <div class="col-md-12">\n                                                               <a href="#" data-ng-click="addNewCondition(\'and\')">\n                                                                 <i class="icon-plus"></i>\n                                                             </a>\n                                                          <i class="icon-people"></i>\n                                                           <span class="caption-subject">Meet <strong>all</strong> of the following conditions:</a> </span>\n                                                      </div>\n                                                </div>\n                                                <div class="row" data-ng-repeat="condition in automation.BusinessConditions | filter: {type: \'and\'}">\n                                                       <div class="col-md-12">\n                                                               <div class="row">\n                                                                     <div class="col-md-12">\n                                                                               <hr>\n                                                                  </div>\n                                                                </div>\n                                                                <div class="row">\n                                                                     <div class="col-md-4">\n                                                                                <div class="form-group">\n                                                                                      <ui-select data-ng-model="condition.condition" name="conditionAnd{{$index}}" theme="bootstrap" on-select="updateCondition(condition.id, \'condition\', $item.key)" required>\n                                                                                          <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                          <ui-select-choices repeat="condition.key as condition in automations.conditions | filter: $select.search">\n                                                                                                    <div data-ng-bind="condition.value | highlight: $select.search"></div>\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="col-md-3">\n                                                                                <div class="form-group">\n                                                                                      <ui-select data-ng-model="condition.operator" name="operatorAnd{{$index}}" theme="bootstrap" on-select="updateCondition(condition.id, \'operator\', $item.key)" required>\n                                                                                             <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                         <ui-select-choices repeat="operator.key as operator in getOperatorsByCondition(condition.condition) | filter: $select.search">\n                                                                                                        <div data-ng-bind="operator.value | highlight: $select.search"></div>\n                                                                                         </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="col-md-4" data-ng-switch="condition.condition">\n                                                                           <div class="form-group" data-ng-switch-when="status">\n                                                                                 <ui-select data-ng-model="condition.attribute" name="attributeAnd{{$index}}" theme="bootstrap" on-select="updateCondition(condition.id, \'attribute\', $item.key)" required>\n                                                                                          <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                         <ui-select-choices repeat="attribute.key as attribute in getAttributesByCondition(condition.condition) | filter: $select.search">\n                                                                                                     <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="form-group" data-ng-switch-when="createdAt">\n                                                                                      <input class="form-control" type="text" name="attributeOr{{$index}}" value="" data-ng-model="condition.attribute" data-ng-blur="updateCondition(condition.id, \'attribute\', condition.attribute)" data-ng-class="{\'has-error\': forms.and.attributeAnd{{$index}}.$invalid}" required>\n                                                                                       <span data-ng-show="forms.and.attributeAnd{{$index}}.$invalid && forms.and.attributeAnd{{$index}}.$error.required" class="help-block help-block-error">\n                                                                                               <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                 </span>\n                                                                               </div>\n                                                                        </div>\n                                                                        <div class="col-md-1">\n                                                                                <a href="#" data-ng-click="removeCondition(condition.id)">\n                                                                                    <i class="icon-close"></i>\n                                                                            </a>\n                                                                  </div>\n                                                                </div>\n                                                        </div>\n                                                </div>\n                                                <div class="row" data-ng-hide="automation.BusinessConditions.length">\n                                                 <div class="col-md-12 text-center">\n                                                           <hr>\n                                                          <i>Add condition</i>\n                                                  </div>\n                                                </div>\n                                        </div>\n\n                                      <!-- SMTP TAB -->\n                                     <div class="tab-pane" id="tab_1_4">\n                                           <div class="row">\n                                                     <div class="col-md-12">\n                                                               <a href="#" data-ng-click="addNewAction()">\n                                                                   <i class="icon-plus"></i>\n                                                             </a>\n                                                          <i class="icon-people"></i>\n                                                           <span class="caption-subject">Meet <strong>all</strong> of the following conditions:</a> </span>\n                                                      </div>\n                                                </div>\n                                                <div class="row" data-ng-repeat="action in automation.BusinessActions">\n                                                       <div class="col-md-12">\n                                                               <div class="row">\n                                                                     <div class="col-md-12">\n                                                                               <hr>\n                                                                  </div>\n                                                                </div>\n                                                                <div class="row">\n                                                                     <div class="col-md-4">\n                                                                                <div class="form-group">\n                                                                                      <ui-select data-ng-model="action.condition" theme="bootstrap" on-select="updateAction(action.id, \'condition\', $item.key)" required>\n                                                                                         <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                          <ui-select-choices repeat="action.key as action in automations.actions | filter: $select.search">\n                                                                                                     <div data-ng-bind="action.value | highlight: $select.search"></div>\n                                                                                           </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="col-md-3" data-ng-switch="action.condition">\n                                                                              <div class="form-group" data-ng-switch-when="status">\n                                                                                 <ui-select data-ng-model="action.attribute" theme="bootstrap" on-select="updateAction(action.id, \'attribute\', $item.key)" required>\n                                                                                         <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                         <ui-select-choices repeat="attribute.key as attribute in getAttributesByCondition(action.condition) | filter: $select.search">\n                                                                                                        <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="form-group" data-ng-switch-when="createdAt">\n                                                                                      <input class="form-control" type="text" data-ng-model="action.attribute" data-ng-blur="updateAction(action.id, \'attribute\', action.attribute)" data-ng-class="{\'has-error\': forms.and.attributeAnd{{$index}}.$invalid}" required>\n                                                                         </div>\n                                                                        </div>\n                                                                        <div class="col-md-4">\n                                                                        </div>\n                                                                        <div class="col-md-1">\n                                                                                <a href="#" data-ng-click="removeAction(action.id)">\n                                                                                  <i class="icon-close"></i>\n                                                                            </a>\n                                                                  </div>\n                                                                </div>\n                                                        </div>\n                                                </div>\n                                                <div class="row" data-ng-hide="automation.BusinessActions.length">\n                                                    <div class="col-md-12 text-center">\n                                                           <hr>\n                                                          <i>Add condition</i>\n                                                  </div>\n                                                </div>\n\n                                      </div>\n                                        <!-- END SMTP TAB -->\n                         </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/mail/automation/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n    <div class="col-md-12">\n               <!-- BEGIN PAGE HEADER-->\n             <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-envelope"></i>\n                                 <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n                                        <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-settings"></i>\n                                 <a href="/mail/automations/list">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n                            </li>\n                 </ul>\n         </div>\n                <!-- END PAGE HEADER-->\n\n             <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-settings font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_AUTOMATIONS\' | translate }} WIZARD</a> </span>\n                                </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n             <wz-step title="{{\'APPLICATION_NEW_AUTOMATION\' | translate}}" canexit="formValidation(forms.automation.$valid)">\n                                            <form name="forms.automation" novalidate>\n                                                     <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <div class="form-group" data-ng-class="{\'has-error\': forms.automation.name.$invalid && forms.automation.$submitted}">\n                                                                               <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                         <input class="form-control" type="text" name="name" value="" data-ng-model="automations.name" required>\n                                                                               <span data-ng-show="forms.automation.name.$invalid && forms.automation.name.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                         </span>\n                                                                       </div>\n\n                                                                      <div class="form-group" data-ng-class="{\'has-error\': forms.automation.description.$invalid && forms.automation.$submitted}">\n                                                                                <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                                              <input class="form-control" type="text" name="description" value="" data-ng-model="automations.description">\n                                                                          <span data-ng-show="forms.automation.description.$invalid && forms.automation.description.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                         </span>\n                                                                       </div>\n                                                                </div>\n                                                        </div>\n\n                                                      <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <hr>\n                                                          </div>\n                                                        </div>\n\n                                                      <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <a href="#" data-ng-click="addNewChoice(\'or\')">\n                                                                             <i class="icon-plus"></i>\n                                                                     </a>\n                                                                  <i class="icon-user"></i>\n                                                                     <span class="caption-subject">Meet <strong>any</strong> of the following conditions:</a> </span>\n                                                              </div>\n                                                        </div>\n                                                        <div class="row" data-ng-repeat="automation in automations.or">\n                                                               <div class="col-md-12">\n                                                                       <div class="row">\n                                                                             <div class="col-md-12">\n                                                                                       <hr>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="row">\n                                                                             <div class="col-md-4">\n                                                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.automation.conditionOr{{$index}}.$invalid && forms.automation.$submitted && forms.automation.$submitted}">\n                                                                                               <ui-select data-ng-model="automations.or[$index].condition" name="conditionOr{{$index}}" theme="bootstrap" required>\n                                                                                                  <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                                  <ui-select-choices repeat="condition in automations.or[$index].conditions | filter: $select.search">\n                                                                                                          <div data-ng-bind="condition.value | highlight: $select.search"></div>\n                                                                                                        </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.conditionOr{{$index}}.$invalid && forms.automation.conditionOr{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-3">\n                                                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.automation.operatorOr{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                               <ui-select data-ng-model="automations.or[$index].operator" name="operatorOr{{$index}}" theme="bootstrap" required>\n                                                                                                    <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                                 <ui-select-choices repeat="operator.key as operator in automations.or[$index].condition.operators | filter: $select.search">\n                                                                                                          <div data-ng-bind="operator.value | highlight: $select.search"></div>\n                                                                                                 </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.operatorOr{{$index}}.$invalid && forms.automation.operatorOr{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-4" data-ng-switch="automations.or[$index].condition.input">\n                                                                                        <div class="form-group" data-ng-switch-when="ui-select" data-ng-class="{\'has-error\': forms.automation.attributeOr{{$index}}.$invalid && forms.automation.attributeOr{{$index}}.$error.required && forms.automation.$submitted}">\n                                                                                            <ui-select data-ng-model="automations.or[$index].attribute" name="attributeOr{{$index}}" theme="bootstrap" required>\n                                                                                                  <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                                 <ui-select-choices repeat="attribute.key as attribute in automations.or[$index].condition.attributes | filter: $select.search">\n                                                                                                               <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                        </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.attributeOr{{$index}}.$invalid && forms.automation.attributeOr{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                        <div class="form-group" data-ng-switch-when="number">\n                                                                                         <input class="form-control" type="text" min="0" name="attributeOr{{$index}}" value="" data-ng-model="automations.or[$index].attribute" required>\n                                                                                              <span data-ng-show="forms.automation.attributeOr{{$index}}.$invalid && forms.automation.attributeOr{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-1">\n                                                                                        <a href="#" data-ng-click="removeChoice(\'or\', $index)">\n                                                                                             <i class="icon-close"></i>\n                                                                                    </a>\n                                                                          </div>\n                                                                        </div>\n                                                                </div>\n                                                        </div>\n                                                        <div class="row" data-ng-hide="automations.or.length">\n                                                                <div class="col-md-12 text-center">\n                                                                   <hr>\n                                                                  <i>Add condition</i>\n                                                          </div>\n                                                        </div>\n                                                        <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <a href="#" data-ng-click="addNewChoice(\'and\')">\n                                                                            <i class="icon-plus"></i>\n                                                                     </a>\n                                                                  <i class="icon-people"></i>\n                                                                   <span class="caption-subject">Meet <strong>all</strong> of the following conditions:</a> </span>\n                                                              </div>\n                                                        </div>\n                                                        <div class="row" data-ng-repeat="automation in automations.and">\n                                                              <div class="col-md-12">\n                                                                       <div class="row">\n                                                                             <div class="col-md-12">\n                                                                                       <hr>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="row">\n                                                                             <div class="col-md-4">\n                                                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.automation.conditionAnd{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                             <ui-select data-ng-model="automations.and[$index].condition" name="conditionAnd{{$index}}" theme="bootstrap" required>\n                                                                                                        <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                                  <ui-select-choices repeat="condition in automations.and[$index].conditions | filter: $select.search">\n                                                                                                         <div data-ng-bind="condition.value | highlight: $select.search"></div>\n                                                                                                        </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.conditionAnd{{$index}}.$invalid && forms.automation.conditionAnd{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-3">\n                                                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.automation.operatorAnd{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                              <ui-select data-ng-model="automations.and[$index].operator" name="operatorAnd{{$index}}" theme="bootstrap" required>\n                                                                                                  <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                                 <ui-select-choices repeat="operator.key as operator in automations.and[$index].condition.operators | filter: $select.search">\n                                                                                                         <div data-ng-bind="operator.value | highlight: $select.search"></div>\n                                                                                                 </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.operatorAnd{{$index}}.$invalid && forms.automation.operatorAnd{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-4" data-ng-switch="automations.and[$index].condition.input">\n                                                                                       <div class="form-group" data-ng-switch-when="ui-select" data-ng-class="{\'has-error\': forms.automation.attributeAnd{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                             <ui-select data-ng-model="automations.and[$index].attribute" name="attributeAnd{{$index}}" theme="bootstrap" required>\n                                                                                                        <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                                 <ui-select-choices repeat="attribute.key as attribute in automations.and[$index].condition.attributes | filter: $select.search">\n                                                                                                              <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                        </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.automation.attributeAnd{{$index}}.$invalid && forms.automation.attributeAnd{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                        <div class="form-group" data-ng-switch-when="number">\n                                                                                         <input class="form-control" type="text" min="0" name="attributeAnd{{$index}}" value="" data-ng-model="automations.and[$index].attribute" data-ng-class="{\'has-error\': forms.automation.attributeAnd{{$index}}.$invalid}" required>\n                                                                                          <span data-ng-show="forms.automation.attributeAnd{{$index}}.$invalid && forms.automation.attributeAnd{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-1">\n                                                                                        <a href="#" data-ng-click="removeChoice(\'and\', $index)">\n                                                                                            <i class="icon-close"></i>\n                                                                                    </a>\n                                                                          </div>\n                                                                        </div>\n                                                                </div>\n                                                        </div>\n                                                        <div class="row" data-ng-hide="automations.and.length">\n                                                               <div class="col-md-12 text-center">\n                                                                   <hr>\n                                                                  <i>Add condition</i>\n                                                          </div>\n                                                        </div>\n\n                                                      <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <a href="#" data-ng-click="addNewChoice(\'actions\')">\n                                                                                <i class="icon-plus"></i>\n                                                                     </a>\n                                                                  <i class="icon-magic-wand"></i>\n                                                                       <span class="caption-subject">Perform these actions:</a> </span>\n                                                              </div>\n                                                        </div>\n                                                        <div class="row" data-ng-repeat="automation in automations.actions">\n                                                          <div class="col-md-12">\n                                                                       <div class="row">\n                                                                             <div class="col-md-12">\n                                                                                       <hr>\n                                                                          </div>\n                                                                        </div>\n                                                                        <div class="row">\n                                                                             <div class="col-md-4">\n                                                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.actions.conditionAction{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                             <ui-select data-ng-model="automations.actions[$index].condition" name="conditionAction{{$index}}" theme="bootstrap" required>\n                                                                                                 <ui-select-match placeholder="-- Click to select condition. --">{{$select.selected.value}}</ui-select-match>\n                                                                                                  <ui-select-choices repeat="action in automations.actions[$index].actions | filter: $select.search">\n                                                                                                           <div data-ng-bind="action.value | highlight: $select.search"></div>\n                                                                                                   </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.actions.conditionAction{{$index}}.$invalid && forms.actions.conditionAction{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-3" data-ng-switch="automations.actions[$index].condition.input">\n                                                                                   <div class="form-group" data-ng-switch-when="ui-select" data-ng-class="{\'has-error\': forms.actions.attributeAction{{$index}}.$invalid && forms.automation.$submitted}">\n                                                                                             <ui-select data-ng-model="automations.actions[$index].attribute" name="attributeAction{{$index}}" theme="bootstrap" required>\n                                                                                                 <ui-select-match>{{$select.selected.value}}</ui-select-match>\n                                                                                                 <ui-select-choices repeat="attribute.key as attribute in automations.actions[$index].condition.attributes | filter: $select.search">\n                                                                                                          <div data-ng-bind="attribute.value | highlight: $select.search"></div>\n                                                                                                        </ui-select-choices>\n                                                                                          </ui-select>\n                                                                                          <span data-ng-show="forms.actions.attributeAction{{$index}}.$invalid && forms.actions.attributeAction{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                        <div class="form-group" data-ng-switch-when="number" data-ng-class="{\'has-error\': forms.actions.attributeAction{{$index}}.$invalid}">\n                                                                                               <input class="form-control" type="text" min="0" name="attributeAction{{$index}}" value="" data-ng-model="automations.actions[$index].attribute" required>\n                                                                                             <span data-ng-show="forms.actions.attributeAction{{$index}}.$invalid && forms.actions.attributeAction{{$index}}.$error.required && forms.automation.$submitted" class="help-block help-block-error">\n                                                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                         </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                                <div class="col-md-4">\n                                                                                </div>\n                                                                                <div class="col-md-1">\n                                                                                        <a href="#" data-ng-click="removeChoice(\'actions\', $index)">\n                                                                                                <i class="icon-close"></i>\n                                                                                    </a>\n                                                                          </div>\n                                                                        </div>\n                                                                </div>\n                                                        </div>\n                                                        <div class="row" data-ng-hide="automations.actions.length">\n                                                           <div class="col-md-12 text-center">\n                                                                   <hr>\n                                                                  <i>Add action</i>\n                                                             </div>\n                                                        </div>\n                                                        <div class="row">\n                                                             <div class="col-md-12">\n                                                                       <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n                                                               </div>\n                                                        </div>\n                                                </form>\n                                       </wz-step>\n                                    <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                             <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                            <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                 </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
 a.put("app/mail/inbox/compose/compose.html",'<form class="inbox-compose form-horizontal" id="fileupload" enctype="multipart/form-data" data-ng-init="getMessage()">\n  <pre>\n         {{mailAccounts | json}}\n       </pre>\n        <div class="inbox-compose-btn">\n               <button data-ng-click="sendMailMessage()" class="btn blue"><i class="fa fa-check"></i>{{\'APPLICATION_SEND\' | translate}}</button>\n           <button class="btn inbox-discard-btn" data-ng-click="discard()">{{\'APPLICATION_DISCARD\' | translate}}</button>\n              <button class="btn" data-ng-click="saveMessageAsDraft()">{{\'APPLICATION_SAVE_AS_DRAFT\' | translate}}</button>\n               <span class="message-info"><i>{{form.message}}</i></span>\n     </div>\n        <div class="inbox-form-group">\n                <label class="control-label">{{\'APPLICATION_FROM\' | translate}}: </label>\n           <div class="controls">\n                        <ui-select data-ng-model="form.body.from" theme="bootstrap">\n        <ui-select-match placeholder="Select an account">{{$select.selected.name}} <{{$select.selected.address}}></ui-select-match>\n        <ui-select-choices repeat="account in mailAccounts | filter: $select.search">\n          <div ng-bind-html="account.name | highlight: $select.search"></div>\n          <small ng-bind-html="account.address | highlight: $select.search"></small>\n        </ui-select-choices>\n      </ui-select>\n               </div>\n        </div>\n        <div class="inbox-form-group mail-to">\n                <label class="control-label">{{\'APPLICATION_TO\' | translate}}: </label>\n             <div class="controls controls-to">\n                    <input type="text" class="form-control" name="to" data-ng-model="form.body.to.address">\n                       <span class="inbox-cc-bcc">\n                   <span class="inbox-cc" data-ng-show="!flagCC" data-ng-click="switchFlagCC()">\n                 Cc </span>\n                    <span class="inbox-bcc" data-ng-show="!flagBCC" data-ng-click="switchFlagBCC()">\n                      {{\'APPLICATION_BCC\' | translate}} </span>\n                   </span>\n               </div>\n        </div>\n        <div class="inbox-form-group input-cc" data-ng-class="{\'display-hide\': !flagCC}">\n           <a href="javascript:;" class="close" data-ng-click="switchFlagCC()">\n          </a>\n          <label class="control-label">Cc:</label>\n              <div class="controls controls-cc">\n                    <input type="text" name="cc" class="form-control" data-ng-model="form.body.cc.address">\n               </div>\n        </div>\n        <div class="inbox-form-group input-bcc" data-ng-class="{\'display-hide\': !flagBCC}">\n         <a href="javascript:;" class="close" data-ng-click="switchFlagBCC()">\n         </a>\n          <label class="control-label">{{\'APPLICATION_BCC\' | translate}}:</label>\n             <div class="controls controls-bcc">\n                   <input type="text" name="bcc" class="form-control" data-ng-model="form.body.bcc.address">\n             </div>\n        </div>\n        <div class="inbox-form-group">\n                <label class="control-label">{{\'APPLICATION_SUBJECT\' | translate}}: </label>\n                <div class="controls">\n                        <input type="text" class="form-control" name="subject" data-ng-model="form.subject">\n          </div>\n        </div>\n        <div class="inbox-form-group">\n                <div class="inbox-editor inbox-wysihtml5" text-angular data-ng-model="form.html"></div>\n       </div>\n        <div class="inbox-compose-btn">\n               <button data-ng-click="sendMailMessage()" class="btn blue"><i class="fa fa-check"></i>{{\'APPLICATION_SEND\' | translate}}</button>\n           <button class="btn" data-ng-click="discard()">{{\'APPLICATION_DISCARD\' | translate}}</button>\n                <button class="btn" data-ng-click="saveMessageAsDraft()">{{\'APPLICATION_DRAFT\' | translate}}</button>\n       </div>\n</form>\n'),a.put("app/mail/inbox/incoming/incoming.html",'<div class="row inbox">\n    <div class="col-md-12">\n               <div class="inbox-header">\n                    <h1 class="pull-left">Inbox</h1>\n                      <form class="form-inline pull-right" action="#">\n                              <!-- <div class="input-group input-medium">\n                                   <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search">\n                                   <span class="input-group-btn">\n                                        <button type="submit" class="btn green"><i class="fa fa-search"></i></button>\n                                 </span>\n                               </div> -->\n                    </form>\n               </div>\n                <div class="inbox-content">\n                   <table class="table table-striped table-advance table-hover" st-table="displayedMailRooms" st-pipe="initList">\n                                <thead>\n                                       <tr>\n                                          <th colspan="9">\n                                                      <input type="checkbox" ng-change="check(null, checked)" checklist-model checklist-value="id">\n                                                 <div class="btn-group">\n                                                               <a data-ng-href="/mail/inbox/compose" class="btn btn-sm blue">\n                                                                        <i class="icon-plus"></i> {{\'APPLICATION_NEW_MESSAGE\' | translate}}\n                                                         </a>\n                                                  </div>\n                                                        <div class="btn-group" data-ng-show="mailRooms.checked.length">\n                                                               <a href="#" class="btn btn-sm red" data-ng-click="deleteItems()">\n                                                                     <i class="icon-trash"></i> {{\'APPLICATION_DELETE\' | translate}}\n                                                             </a>\n                                                  </div>\n                                                        <div class="input-group input-medium pull-right">\n                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                         <span class="input-group-addon">\n                                                                      <i class="fa fa-search"></i>\n                                                          </span>\n                                                       </div>\n                                                </th>\n                                         <!-- <th class="pagination-control" colspan="7"> -->\n                                                  <!-- <span class="pagination-info">\n                                                   1-30 of 789 </span>\n                                                   <a class="btn btn-sm blue">\n                                                   <i class="fa fa-angle-left"></i>\n                                                      </a>\n                                                  <a class="btn btn-sm blue">\n                                                   <i class="fa fa-angle-right"></i>\n                                                     </a> -->\n                                              <!-- </th> -->\n                                        </tr>\n                         </thead>\n                              <tbody>\n                                       <tr data-messageid="1" data-ng-repeat="mailRoom in displayedMailRooms" class="animate-repeat">\n                                                <td class="inbox-small-cells">\n                                                        <input type="checkbox" checklist-model="mailRooms.checked" checklist-value="mailRoom.id">\n                                             </td>\n                                         <td class="inbox-small-cells" data-ng-click="go(\'/mail/inbox/room/\' + mailRoom.id, mailRoom.id, \'OPEN\')">\n                                                 #{{mailRoom.id}}\n                                              </td>\n                                         <td class="view-message hidden-xs" data-ng-click="go(\'/mail/inbox/room/\' + mailRoom.id, mailRoom.id, \'OPEN\')">\n                                             {{mailRoom.subject}}\n                                         </td>\n                                         <td class="view-message" data-ng-click="go(\'/mail/inbox/room/\' + mailRoom.id, mailRoom.id, \'OPEN\')">\n                                                      {{mailRoom.from}}\n                                             </td>\n                                         <td class="view-message" data-ng-click="go(\'/mail/inbox/room/\' + mailRoom.id, mailRoom.id, \'OPEN\')">\n                                                      {{mailRoom.MailAccount.description ? mailRoom.MailAccount.description : mailRoom.MailAccount.name || \'APPLICATION_UNKNOWN\' | translate | uppercase}}\n                                                </td>\n                                         <td class="view-message" data-ng-click="go(\'/mail/inbox/room/\' + mailRoom.id, mailRoom.id, \'OPEN\')">\n                                                      <span data-ng-repeat="user in mailRoom.Users"> {{user.fullname}} {{!$last ? \', \' : \'\'}} </span>\n                                           </td>\n                                         <td class="view-message" data-ng-switch="mailRoom.status" data-ng-click="go(\'/mail/inbox/room/\' + mailRoom.id, mailRoom.id, \'OPEN\')">\n                                                     <span class="badge badge-default" data-ng-class="{\n                                                    \'badge-danger\': mailRoom.status == \'NEW\',\n                                                 \'badge-warning\': mailRoom.status == \'OPEN\',\n                                                       \'badge-info\': mailRoom.status == \'PENDING\',\n                                                       \'badge-success\': mailRoom.status == \'CLOSED\'}"> {{mailRoom.status | uppercase}} </span>\n                                           </td>\n                                         <td class="view-message inbox-small-cells">\n                                                   <i data-ng-show="mailRoom.attachment" class="fa fa-paperclip"></i>\n                                            </td>\n                                         <td class="view-message pull-right">\n                                                  <time is="relative-time" datetime="{{mailRoom.updatedAt}}">\n                                                           April 1, 2014\n                                                 </time>\n                                               </td>\n                                 </tr>\n                                 <tr data-ng-hide="displayedMailRooms.length">\n                                         <td colspan="9" style="text-align:center;">\n                                                   <i>{{ \'MESSAGE_NO_AVAILABLE_CONVERSATIONS\' | translate }}</i>\n                                               </td>\n                                 </tr>\n                         </tbody>\n                              <tfoot>\n                                       <tr>\n                                          <td colspan="9" class="text-center">\n                                                  <div class="pagination" st-pagination st-items-by-page="conf.mailRoomsByPage.value" st-displayed-pages="7"></div>\n                                             </td>\n                                 </tr>\n                         </tfoot>\n                      </table>\n              </div>\n        </div>\n</div>\n'),a.put("app/mail/inbox/room/room.agents.modal.html",'<div class="modal-header" data-ng-init="initModal()">\n  <h3 class="modal-title">{{ \'APPLICATION_AGENTS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <!-- START TRANSPORT -->\n  <div class="form-group">\n    <form name="form" novalidate>\n      <!-- START TRANSPORT -->\n      <div class="form-group">\n        <ui-select multiple name="agents" data-ng-model="item.agents" theme="bootstrap">\n          <ui-select-match placeholder="Select transport...">{{$item.fullname}}</ui-select-match>\n          <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n            {{agent.fullname}}\n          </ui-select-choices>\n        </ui-select>\n      </div>\n      <!-- END TRANSPORT -->\n    </form>\n  </div>\n  <!-- END TRANSPORT -->\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="ok()">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/mail/inbox/room/room.html",'<!-- BEGIN TODO CONTENT -->\n<div class="todo-content" data-ng-init="initRoomView()">\n   <div class="portlet light">\n           <div class="portlet-title">\n                   <div class="caption" data-ng-show="mailRoom">\n                         <i class="icon-bar-chart font-green-sharp hide"></i>\n                          <span class="badge badge-default" data-ng-class="{\'badge-error\': mailRoom.status == \'NEW\',\n                                \'badge-warning\': mailRoom.status == \'OPEN\',\n                               \'badge-success\': mailRoom.status == \'CLOSED\'}"> {{mailRoom.status | uppercase}} </span> -\n                         <span class="caption-subject font-green-sharp bold uppercase">{{mailRoom.subject}}</span>\n                     </div>\n                        <div class="actions" data-ng-show="mailRoom" data-ng-show="Auth.isAdmin()">\n                           <a href="#" class="btn default blue-stripe" data-ng-click="assignAgents()">\n                                   {{ \'APPLICATION_ASSIGN\' | translate }}\n                              </a>\n                          <a href="#" class="btn default green-stripe">\n                                 {{ \'APPLICATION_STORE\' | translate }}\n                               </a>\n                          <!-- <div class="btn-group" data-ng-show="Auth.isAdmin()">\n                                    <a class="btn grey-salsa btn-circle btn-sm" href="#" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n                                   {{ \'APPLICATION_ASSIGN\' | translate }} <i class="fa fa-angle-down"></i>\n                                     </a>\n                                  <ul class="dropdown-menu pull-right">\n                                         <li data-ng-repeat="agent in agents">\n                                                 <a href="#" data-ng-click="assignAgents()">\n                                                   {{agent.fullname}} <span class="badge badge-default"> {{agent.fullname | uppercase | limitTo : 1}} </span>\n                                                    </a>\n                                          </li>\n                                 </ul>\n                         </div>\n                                <div class="btn-group">\n                                       <a class="btn green-haze btn-circle btn-sm" href="#" data-toggle="dropdown" data-hover="dropdown" data-close-others="true" data-ng-click="updateStatus(\'CLOSED\')">\n                                  {{ \'APPLICATION_STORE\' | translate }}\n                                       </a>\n                          </div> -->\n                    </div>\n                </div>\n                <div class="portlet-body">\n                    <div class="row">\n                             <div data-ng-show="mailRoom" data-ng-class="{\'col-md-7 col-sm-7\': mailRoom}">\n                                       <div class="scroller" id="mailMessages" style="height: 725px; overflow-y: scroll; width: auto;" data-always-visible="1" data-rail-visible1="1" data-initialized="1">\n                                          <ul class="chats">\n                                                    <li data-ng-class="{\'in\': mailMessage.status == \'RECEIVED\', \'out\': mailMessage.status == \'SENT\' || mailMessage.status == \'SENDING\' || mailMessage.status == \'FAILED\'}" data-ng-repeat="mailMessage in mailRoom.MailMessages | orderBy:\'-createdAt\'">\n                                                            <img class="avatar" alt="" data-ng-src="api/users/avatar/{{getCurrentUser().userpic && mailMessage.status === \'SENT\' ? getCurrentUser().userpic : \'unknown_avatar\'}}">\n                                                            <div class="message ">\n                                                                        <span class="bold">From: </span>\n                                                                      <span>{{mailMessage.from}}</span>\n                                                                     <br>\n                                                                  <span class="bold">To: </span>\n                                                                        <span>{{mailMessage.to}} </span>\n                                                                      <br>\n                                                                  <span data-ng-if="mailMessage.cc" class="bold">Cc: </span>\n                                                                    <span data-ng-if="mailMessage.cc">{{mailMessage.cc}} </span>\n                                                                  <br>\n                                                                  <span class="todo-tasklist-date">\n                                                                             <span class="pull-right">\n                                                                                     <a data-ng-click="(mailMessage.status == \'SENDING\' || mailMessage.status == \'FAILED\') && retry(mailMessage.id)" href="#" class="btn default btn-xs" data-ng-class="{\'green-stripe\': mailMessage.status == \'SENT\' || mailMessage.status == \'RECEIVED\', \'blue-stripe\': mailMessage.status == \'SENDING\', \'red-stripe\': mailMessage.status == \'FAILED\'}"> {{mailMessage.status | uppercase}}\n                                                                                            <i data-ng-class="{\'fa fa-check\': mailMessage.status == \'SENT\' || mailMessage.status == \'RECEIVED\', \'fa fa-warning\': mailMessage.status == \'SENDING\', \'fa fa-times\': mailMessage.status == \'FAILED\'}"></i>\n                                                                                      </a>\n                                                                          </span>\n                                                                               <i class="fa fa-calendar"></i><time is="relative-time" datetime="{{mailMessage.updatedAt}}">April 1, 2014</time>\n                                                                      </span>\n                                                                       <hr>\n                                                                  <span class="body text-left" data-ng-bind-html="mailMessage.html || mailMessage.text" style="white-space: pre-wrap;"></span>\n                                                                  <!-- <br> -->\n                                                                 <hr data-ng-if="mailMessage.MailAttachments.length">\n                                                                  <div data-ng-repeat="mailAttachment in mailMessage.MailAttachments">\n                                                                          <strong>{{mailAttachment.name}}</strong>\n                                                                              <span>\n                                                                                {{mailAttachment.size}}B </span>\n                                                                              <a target="_self" download="{{mailAttachment.name}}" href="api/mail/attachments/{{mailAttachment.id}}">\n                                                                                       {{ \'APPLICATION_DOWNLOAD\' | translate }}\n                                                                            </a>\n                                                                  </div>\n                                                                </div>\n                                                        </li>\n                                         </ul>\n                                 </div>\n                                </div>\n                                <div data-ng-class="{\'col-md-5 col-sm-5\': mailRoom, \'col-md-12 col-sm-12\': !mailRoom}">\n                                   <form name="forms.compose" data-ng-submit="forms.compose.$valid && sendMail()" class="form-horizontal" novalidate>\n                                            <!-- START HEAD -->\n                                           <div class="form">\n                                                    <!-- START FROM -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': forms.compose.from.$invalid && forms.compose.$submitted}">\n                                                             <div class="col-md-12">\n                                                                       <div class="row">\n                                                                             <div class="col-md-1">\n                                                                                        <label class="control-label">From:</label>\n                                                                            </div>\n                                                                                <div class="col-md-11">\n                                                                                       <ui-select data-ng-model="form.from" theme="bootstrap" name="from" required>\n                                                                                          <ui-select-match placeholder="From...">{{$select.selected.name}}</ui-select-match>\n                                                                                            <ui-select-choices repeat="{address: mailAccount.MailServerOut.username, name: mailAccount.name, id: mailAccount.id} as mailAccount in mailAccounts | filter: $select.search">\n                                                                                                        <div data-ng-bind-html="mailAccount.name | highlight: $select.search"></div>\n                                                                                                  <small data-ng-bind-html="mailAccount.MailServerOut.username | highlight: $select.search"></small>\n                                                                                            </ui-select-choices>\n                                                                                  </ui-select>\n                                                                                  <span data-ng-show="forms.compose.from.$invalid && forms.compose.$submitted" class="help-block help-block-error">\n                                                               <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                               </span>\n                                                                               </div>\n                                                                        </div>\n                                                                </div>\n                                                        </div>\n                                                        <!-- END FROM -->\n\n                                                   <!-- MAIL TO -->\n                                                      <div class="form-group" data-ng-class="{\'has-error\': forms.compose.to.$invalid && forms.compose.$submitted}">\n                                                               <div class="col-md-12">\n                                                                       <div class="row">\n                                                                             <div class="col-md-1">\n                                                                                        <label class="control-label">To:</label>\n                                                                              </div>\n                                                                                <div class="col-md-11">\n                                                                                       <ui-select tagging tagging-label multiple data-ng-model="form.sto" theme="bootstrap" name="to">\n                                                                                               <ui-select-match placeholder="To...">{{$item}}</ui-select-match>\n                                                                                              <ui-select-choices repeat="to in form.to | filter:$select.search">\n                                                                                                    {{to}}\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                                  <span data-ng-show="forms.compose.to.$invalid && forms.compose.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                               </span>\n                                                                               </div>\n                                                                        </div>\n                                                                </div>\n                                                        </div>\n                                                        <!-- END TO -->\n\n                                                     <!-- START CC -->\n                                                     <div class="form-group">\n                                                              <div class="col-md-12">\n                                                                       <div class="row">\n                                                                             <div class="col-md-1">\n                                                                                        <label class="control-label">Cc:</label>\n                                                                              </div>\n                                                                                <div class="col-md-11">\n                                                                                       <ui-select tagging tagging-label="" multiple data-ng-model="form.scc" theme="bootstrap" name="cc" ng-disabled="disabled">\n                                                                                             <ui-select-match placeholder="Cc...">{{$item}}</ui-select-match>\n                                                                                              <ui-select-choices repeat="cc in form.cc">\n                                                                                                    {{cc}}\n                                                                                                </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                        </div>\n                                                                </div>\n                                                        </div>\n                                                        <!-- END CC -->\n\n                                                     <!-- START SUBJECT -->\n                                                        <div data-ng-hide="mailRoom" class="form-group" data-ng-class="{\'has-error\': forms.compose.subject.$invalid && forms.compose.$submitted}">\n                                                          <div class="col-md-12">\n                                                                       <div class="row">\n                                                                             <div class="col-md-1">\n                                                                                        <label class="control-label">Subject:</label>\n                                                                         </div>\n                                                                                <div class="col-md-11">\n                                                                                       <input type="text" name="subject" class="form-control todo-taskbody-taskdesc" placeholder="Subject..." rows="8" data-ng-model="form.subject">\n                                                                                 <span data-ng-show="forms.compose.subject.$invalid && forms.compose.$submitted" class="help-block help-block-error">\n                                                                                          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                                 </span>\n                                                                               </div>\n                                                                        </div>\n                                                                </div>\n                                                        </div>\n                                                        <!-- END SUJBECT -->\n\n                                                        <!-- START HTML -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': forms.compose.text.$invalid && forms.compose.$submitted}">\n                                                             <div class="col-md-12">\n                                                                       <div class="inbox-editor inbox-wysihtml5" text-angular data-ng-model="form.html" name="html"></div>\n                                                                   <!-- <textarea class="form-control todo-taskbody-taskdesc" rows="8" data-ng-model="form.text" name="text" style="resize: none;"></textarea> -->\n                                                                               <span data-ng-show="forms.compose.text.$invalid && forms.compose.$submitted" class="help-block help-block-error">\n                                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                         </span>\n                                                               </div>\n                                                        </div>\n                                                        <!-- END HTML -->\n\n                                                   <!-- START ATTACH -->\n                                                 <div class="form-group">\n                                                              <div class="col-md-6">\n                                                                        <input type="file" nv-file-select="" uploader="uploader" multiple="">\n                    <table class="table">\n                      <tbody>\n                        <tr ng-repeat="item in uploader.queue">\n                          <td style="border-top-style:none"><strong>{{ item.file.name }}</strong></td>\n                          <td style="border-top-style:none" ng-show="uploader.isHTML5" nowrap>{{ item.file.size/1024/1024|number:2 }} MB</td>\n                          <td style="border-top-style:none" ng-show="uploader.isHTML5">\n                            <div class="progress" style="margin-bottom: 0;">\n                                <div class="progress-bar" role="progressbar" ng-style="{ \'width\': item.progress + \'%\' }"></div>\n                            </div>\n                          </td>\n                          <td style="border-top-style:none" class="text-center">\n                            <span ng-show="item.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>\n                            <span ng-show="item.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>\n                            <span ng-show="item.isError"><i class="glyphicon glyphicon-remove"></i></span>\n                          </td>\n                          <td style="border-top-style:none" nowrap>\n                            <button type="button" class="btn btn-danger btn-xs" ng-click="item.remove()">\n                                <span class="glyphicon glyphicon-trash"></span> {{\'APPLICATION_REMOVE\' | translate}}\n                            </button>\n                          </td>\n                        </tr>\n                      </tbody>\n                    </table>\n                    <div>\n                                                                    </div>\n                                                                </div>\n                                                                <div class="col-md-6">\n                                                                        <div class="form-actions right todo-form-actions">\n                                                                            <button class="btn btn-circle btn-sm green-haze">{{ \'APPLICATION_SEND\' | translate }}</button>\n                                                                              <input type="button" name="cancel" value="{{ \'APPLICATION_CANCEL\' | translate }}" class="btn btn-circle btn-sm btn-default" data-ng-click="cancel()">\n                                                                       </div>\n                                                                </div>\n                                                        </div>\n                                                        <!-- END ATTACH -->\n                                           </div>\n                                        </form>\n                               </div>\n                        </div>\n                </div>\n        </div>\n</div>\n<!-- END TODO CONTENT -->\n'),a.put("app/mail/inbox/room/room.retry.modal.html",'<div class="modal-header">\n  <button ng-if="modal.dismissable" type="button" ng-click="$dismiss()" class="close">&times;</button>\n  <h4 ng-if="modal.title" class="modal-title">{{modal.title | translate}}</h4>\n</div>\n<div class="modal-body">\n  <p ng-if="modal.text">{{modal.text | translate}}</p>\n</div>\n<div class="modal-footer">\n  <button ng-repeat="button in modal.buttons" ng-class="button.classes" ng-click="button.click($event)" class="btn">{{button.text | translate}}</button>\n</div>\n'),a.put("app/mail/queue/list/list.html",'<div class="row">\n      <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-envelope"></i>\n                                         <a href="/square/projects">{{ \'APPLICATION_MAIL\' | translate }}</a>\n                                         <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-layers"></i>\n                                           <a href="#">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n                                      </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n       <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-layers font-green-sharp"></i>\n                                  <span class="caption-subject">{{ \'APPLICATION_QUEUES\' | translate }}</a> </span>\n                            </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="mailQueues.checked.length">\n                                              <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle " href="#" data-toggle="dropdown">\n                                                 <i class="icon-plus"></i> {{ \'APPLICATION_NEW_QUEUE\' | translate }} <i class="fa fa-angle-down"></i>\n                                                </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <li>\n                                                          <a href="/mail/queues/wizard">\n                                                                <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                         </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getMailQueues([\'name\', \'description\', \'timeout\', \'strategy\'])" csv-header="[\'Name\', \'Description\', \'Timeout\', \'Strategy\']" field-separator=";" filename="mail_queues.csv">\n                                  <i class="icon-cloud-download"></i></a>\n                               </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedMailQueues" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                      <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="7">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.queuesByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                                <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="queueByPage in queuesByPage | filter: $select.search">\n                                                                                                     <div ng-bind-html="queueByPage.name | highlight: $select.search"></div>\n                                                                                               </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(queue, checked)" checklist-model checklist-value="id"></th>\n                                                    <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                            <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                          <th st-sort="strategy">{{ \'APPLICATION_STRATEGY\' | translate }}</th>\n                                                                <th st-sort="timeout">{{ \'APPLICATION_AGENT_TIMEOUT\' | translate }}</th>\n                                                <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                                  </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="queue in displayedMailQueues">\n                                                                <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="mailQueues.checked" checklist-value="queue.id"></td>\n                                         <td>{{queue.name}}</td>\n                                                         <td>{{queue.description}}</td>\n                                                                <td>{{queue.strategy | uppercase}}</td>\n                                                               <td>{{queue.timeout}}</td>\n                                          <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/mail/queues/view/{{queue.id}}/settings">\n                                                                             {{ \'APPLICATION_PROFILE\' | translate }}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(queue.name, queue.id)">\n                                                                            {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedMailQueues.length">\n                                                                <td colspan="6" class="text-center">\n                                                                  <i>No available queues</i>\n                                                            </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                             <td>\n                                                                  <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="strategy" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_STRATEGY\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                             <td/>\n                                                         <td/>\n                                           </tr>\n                                           <tr>\n                                            <td colspan="67" class="text-center">\n                                           <div st-pagination class="pagination" st-items-by-page="conf.queuesByPage.value" st-displayed-pages="7"></div>\n                                              </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/mail/queue/view/view.agents.html",'<div class="row" data-ng-init="getTeams()">\n        <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_AGENTS\' | translate}}</span>\n                          </div>\n                        </div>\n                        <div class="portlet-body">\n                            <div class="note note-warning" data-ng-hide="teams.length">\n                                   <h4 class="block">Warning!</h4>\n                                       <p>\n                                            {{ \'MESSAGE_NO_AVAILABLE_TEAMS\' | translate }}\n                                     </p>\n                          </div>\n                                <div  style="width: 50%; margin: 0 auto;">\n                                    <div class="col-md-9" id="multi-select-team" data-ng-show="teams.length"></div>\n                               </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/mail/queue/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getQueue()">\n     <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-envelope"></i>\n                                 <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n                                        <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-layers"></i>\n                                   <a href="/mail/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n                                      <i data-ng-show="queue" class="fa fa-angle-right"></i>\n                                </li>\n                         <li data-ng-show="queue">\n                                     <a href="#">{{queue.name}}</a>\n                                </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/queue.png" class="img-responsive">\n                              </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{queue.name}}\n                                        </div>\n                                        <!-- <div class="profile-usertitle-job">\n                                              {{user.role}}\n                                 </div> -->\n                            </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.mail.queues.view.settings\')}">\n                                                  <a data-ng-href="/mail/queues/view/{{queue.id}}/settings">\n                                                    <i class="icon-settings"></i>\n                                                 {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n                                                </li>\n                                         <li data-ng-class="{active: $state.is(\'main.mail.queues.view.agents\')}">\n                                                    <a data-ng-href="/mail/queues/view/{{queue.id}}/agents">\n                                                      <i class="icon-users"></i>\n                                                    {{ \'APPLICATION_AGENTS\' | translate}} </a>\n                                          </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/mail/queue/view/view.settings.html",'<div class="row">\n        <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_SETTINGS\' | translate}}</span>\n                                </div>\n                        </div>\n                        <div class="portlet-body">\n                            <form name="forms.general" data-ng-submit="forms.general.$valid && updateMailQueue()" novalidate>\n                                     <!-- START NAME -->\n                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid}">\n                                            <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                         <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="queue.name" required/>\n                                          <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.required" class="help-block help-block-error">\n                                                      <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                         </span>\n                                       </div>\n                                        <!-- END NAME -->\n\n                                   <!-- START DESCRIPTION -->\n                                    <div class="form-group">\n                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="queue.description"/>\n                                      </div>\n                                        <!-- END DESCRIPTION -->\n\n                                    <!-- START TIMEOUT -->\n                                        <div class="form-group">\n                                              <label class="control-label">Agent Timeout</label>\n                                            <input type="number" name="timeout" placeholder="Timeout" class="form-control" min="1" data-ng-model="queue.timeout"/>\n                                        </div>\n                                        <!-- END TIMEOUT -->\n\n                                        <!-- START HEADER SHAPE -->\n                                   <div class="form-group" data-ng-class="{\'has-error\': (forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid}">\n                                            <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}</label>\n                                         <ui-select data-ng-model="queue.strategy" name="strategy" theme="bootstrap">\n                                                  <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.toUpperCase()}}</ui-select-match>\n                                                     <ui-select-choices repeat="strategy in [\'rrmemory\',\'beepall\'] | filter: $select.search">\n                                                          <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n                                                 </ui-select-choices>\n                                          </ui-select>\n                                  </div>\n                                        <!-- END HEADER SHAPE -->\n                                     <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                          </form>\n                       </div>\n                </div>\n        </div>\n</div>\n'),
 a.put("app/mail/queue/wizard/wizard.html",'<div class="col-md-12">\n  <!-- BEGIN PAGE HEADER-->\n      <div class="page-bar">\n                <ul class="page-breadcrumb">\n                  <li>\n                          <i class="icon-rocket"></i>\n                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                           <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-envelope"></i>\n                         <a href="#">{{ \'APPLICATION_MAILS\' | translate }}</a>\n        <i class="fa fa-angle-right"></i>\n                    </li>\n      <li>\n                             <i class="icon-layers"></i>\n                           <a href="/mail/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n                      </li>\n         </ul>\n </div>\n  <!-- END PAGE HEADER-->\n\n  <!-- BEGIN PORTLET-->\n  <div class="portlet light bordered">\n          <div class="portlet-title">\n           <div class="caption font-green-sharp">\n                        <i class="icon-layers font-green-sharp"></i>\n                          <span class="caption-subject">{{ \'APPLICATION_QUEUES\' | translate }} WIZARD</a> </span>\n             </div>\n        </div>\n        <div class="portlet-body">\n            <wizard on-finish="createItem()">\n                             <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="exitValidation(forms.general.$valid)">\n                                     <form name="forms.general" data-ng-submit="forms.general.$valid && createItem()" novalidate>\n                                          <!-- START NAME -->\n                                           <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid}">\n                                                    <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                 <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n                                                   <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.required" class="help-block help-block-error">\n                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END NAME -->\n\n                                           <!-- START DESCRIPTION -->\n                                            <div class="form-group">\n                                                      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                      <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n                                               </div>\n                                                <!-- END DESCRIPTION -->\n\n                                            <!-- START TIMEOUT -->\n                                                <div class="form-group" data-ng-class="{\'has-error\': (forms.general.timeout.$touched || forms.general.$submitted) && forms.general.timeout.$invalid}">\n                                                      <label class="control-label">{{\'APPLICATION_AGENT_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                        <input type="number" min="0" name="timeout" placeholder="Timeout" class="form-control" data-ng-model="item.timeout" required/>\n                                                        <span data-ng-show="(forms.general.timeout.$touched || forms.general.$submitted) && forms.general.timeout.$invalid && forms.general.timeout.$error.required" class="help-block help-block-error">\n                                                             <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END TIMEOUT -->\n\n                                                <!-- START STRATEGY -->\n                                               <div class="form-group" data-ng-class="{\'has-error\': (forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid}">\n                                                    <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                     <ui-select data-ng-model="item.strategy" name="strategy" theme="bootstrap" required>\n                                                          <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.toUpperCase()}}</ui-select-match>\n                                                             <ui-select-choices repeat="strategy in [\'rrmemory\',\'beepall\'] | filter: $select.search">\n                                                                  <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n                                                         </ui-select-choices>\n                                                  </ui-select>\n                                                  <span data-ng-show="(forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid && forms.general.strategy.$error.required" class="help-block help-block-error">\n                                                          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END STRATEGY -->\n                                         <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CREATE\' | translate}}"/>\n                                  </form>\n                         </wz-step>\n                          <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                    <input type="submit" class="btn green-haze" wz-next value="{{ \'APPLICATION_CONFIRM\' | translate }}"/>\n                               </wz-step>\n            </wizard>\n     </div>\n  </div>\n  <!-- END PORTLET-->\n</div>\n'),a.put("app/mail/realtime/view/agent/agent.queues.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n <div class="col-md-12">\n               <!-- START TABLE -->\n          <div id="grid1" ui-grid="gridOptions" ui-grid-tree-view class="grid"></div>\n           <!-- END TABLE -->\n    </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/mail/realtime/view/agent/agent.timeline.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n      <div class="col-md-12">\n               <!-- START TABLE -->\n          <table st-table="displayedAgents" st-safe-src="agents" class="table table-striped table-bordered table-hover">\n                        <div class="table-responsive">\n                          <thead>\n                                     <tr>\n                                          <th colspan="12">\n                                                     <div class="row">\n                                                             <div class="col-md-6">\n                                                                        <ui-select class="input-xsmall" ng-model="conf.agentsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                             <ui-select-choices repeat="agentByPage in agentsByPage | filter: $select.search">\n                                                                                     <div ng-bind-html="agentByPage.name | highlight: $select.search"></div>\n                                                                               </ui-select-choices>\n                                                                  </ui-select>\n                                                          </div>\n                                                                <div class="col-md-6">\n                                                                        <div class="input-group input-medium pull-right">\n                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                         <span class="input-group-addon">\n                                                                                      <i class="fa fa-search"></i>\n                                                                          </span>\n                                                                       </div>\n                                                                </div>\n                                                        </div>\n                                                </th>\n                                 </tr>\n                           <tr>\n                                                <th></th>\n                                             <th st-sort="uniqueid" reverse class="input-small">{{ \'APPLICATION_UNIQUEID\' | translate }}</th>\n                                <th st-sort="queue" class="input-medium">{{ \'APPLICATION_QUEUE\' | translate }}</th>\n                                 <th st-sort="membername" class="input-medium">{{ \'APPLICATION_AGENT\' | translate }}</th>\n                                                <th st-sort="subject" class="input-small">{{ \'APPLICATION_SUBJECT\' | translate }}</th>\n                                              <th st-sort="from" class="input-small">{{ \'APPLICATION_FROM\' | translate }}</th>\n                                            <th st-sort="accountname" class="input-small">{{ \'APPLICATION_TO\' | translate }}</th>\n                                               <th st-sort="agentcalledAt" st-sort-default="reverse">{{ \'APPLICATION_CALLED_AT\' | translate }}</th>\n                                                <th st-sort="agentconnectAt">{{ \'APPLICATION_CONNECTED_AT\' | translate }}</th>\n                                              <th st-sort="agentringnoanswerAt">{{ \'APPLICATION_UNASWER_AT\' | translate }}</th>\n                                           <th st-sort="reason">{{ \'APPLICATION_REASON\' | translate }}</th>\n                              </tr>\n                         </thead>\n                      <tbody>\n                         <tr data-ng-repeat="agent in displayedAgents">\n                                            <td>\n                                                  <span>\n                                                                <i data-ng-class="{\'icon-user font-yellow\': agent.lastevent === \'called\',\n                                                         \'icon-user-following font-green\': agent.lastevent === \'agent\',\n                                                            \'icon-user-unfollow font-red\': agent.lastevent === \'timeout\',\n                                                             \'icon-user-unfollow font-blue\': agent.lastevent === \'answered_elsewhere\'}"></i>\n                                                   </span>\n                                               </td>\n                                         <td>{{agent.uniqueid}}</td>\n                                           <td>{{agent.mailqueuename}}</td>\n                                              <td>{{agent.fullname}}</td>\n                                           <td>{{agent.subject}}</td>\n                                            <td>{{agent.from}}</td>\n                                               <td>{{agent.accountname}}</td>\n                                                <td>\n                                                  <time is="relative-time" datetime="{{agent.agentcalledAt}}">\n                                                          April 1, 2014\n                                                 </time>\n                                               </td>\n                                         <td>\n                                                  <time is="relative-time" datetime="{{agent.agentconnectedAt}}" data-ng-show="agent.agentconnectedAt">\n                                                         April 1, 2014\n                                                 </time>\n                                               </td>\n                                         <td>\n                                                  <time is="relative-time" datetime="{{agent.agentringnoanswerAt}}" data-ng-show="agent.agentringnoanswerAt">\n                                                           April 1, 2014\n                                                 </time>\n                                               </td>\n                                         <td>\n                                                  {{agent.reason | uppercase}}\n                                          </td>\n                     </tr>\n                                     <tr data-ng-hide="displayedAgents.length">\n                                            <td colspan="11" style="text-align:center;">\n                                                  <i>No agents available</i>\n                                            </td>\n                                 </tr>\n                   </tbody>\n                      <tfoot>\n                                     <tr>\n                                          <td/>\n                                         <td>\n                                                  <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="uniqueid" data-ng-model="filters.uniqueid" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_UNIQUEID\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                       </div>\n                                    </td>\n                                 <td>\n                                                      <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="queue" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_QUEUE\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                      </div>\n                                    </td>\n                                 <td>\n                                                      <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="membername" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_AGENT\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                 </div>\n                                    </td>\n                                             <td>\n                                                  <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="from" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_SUBJECT\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                     </div>\n                                                </td>\n                             <td>\n                                                      <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="from" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_FROM\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                        </div>\n                                    </td>\n                                             <td>\n                                                  <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="accountname" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_TO\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                   </div>\n                                    </td>\n                                             <td colspan="7"></td>\n                           </tr>\n                           <tr>\n                            <td colspan="12" class="text-center">\n                                                   <div class="pagination" st-pagination st-items-by-page="conf.agentsByPage.value" st-displayed-pages="7"></div>\n                              </td>\n                       </tr>\n                       </tfoot>\n                    </div>\n                </table>\n              <!-- END TABLE -->\n    </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/mail/realtime/view/session/session.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initMails()">\n    <div class="col-md-12">\n               <!-- START TABLE -->\n          <table st-table="displayedMails" st-safe-src="sessions" class="table table-striped table-bordered table-hover">\n                       <div class="table-responsive">\n                          <thead>\n                                     <tr>\n                                          <th colspan="12">\n                                                     <div class="row">\n                                                             <div class="col-md-6">\n                                                                        <ui-select class="input-xsmall" ng-model="conf.sessionsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                              <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                             <ui-select-choices repeat="sessionByPage in sessionsByPage | filter: $select.search">\n                                                                                 <div ng-bind-html="sessionByPage.name | highlight: $select.search"></div>\n                                                                             </ui-select-choices>\n                                                                  </ui-select>\n                                                          </div>\n                                                                <div class="col-md-6">\n                                                                        <div class="input-group input-medium pull-right">\n                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                         <span class="input-group-addon">\n                                                                                      <i class="fa fa-search"></i>\n                                                                          </span>\n                                                                       </div>\n                                                                </div>\n                                                        </div>\n                                                </th>\n                                 </tr>\n                           <tr>\n                                                <th></th>\n                                             <th st-sort="uniqueid" reverse class="input-small">{{ \'APPLICATION_UNIQUEID\' | translate }}</th>\n                                <th st-sort="queue" class="input-medium">{{ \'APPLICATION_QUEUE\' | translate }}</th>\n                                 <th st-sort="membername" class="input-medium">{{ \'APPLICATION_AGENT\' | translate }}</th>\n                                                <th st-sort="subject" class="input-small">{{ \'APPLICATION_SUBJECT\' | translate }}</th>\n                                              <th st-sort="from" class="input-small">{{ \'APPLICATION_FROM\' | translate }}</th>\n                                            <th st-sort="accountname" class="input-small">{{ \'APPLICATION_TO\' | translate }}</th>\n                                               <th st-sort="sessioncalledAt" st-sort-default="reverse">{{ \'APPLICATION_JOIN_AT\' | translate }}</th>\n                                                <th st-sort="sessionconnectAt">{{ \'APPLICATION_LEAVE_AT\' | translate }}</th>\n                                                <th st-sort="sessionringnoanswerAt">{{ \'APPLICATION_UNMANAGED_AT\' | translate }}</th>\n                                 </tr>\n                         </thead>\n                      <tbody>\n                         <tr data-ng-repeat="session in displayedMails">\n                                           <td>\n                                                  <span>\n                                                                <i data-ng-class="{\'icon-user font-yellow\': session.mailjoinAt && !session.mailleaveAt,\n                                                             \'icon-user-following font-green\': session.fullname,\n                                                         \'icon-user-unfollow font-red\': session.mailunmanagedAt}"></i>\n                                                       </span>\n                                               </td>\n                                         <td>{{session.uniqueid}}</td>\n                                         <td>{{session.mailqueuename}}</td>\n                                            <td>{{session.fullname}}</td>\n                                         <td>{{session.subject}}</td>\n                                          <td>{{session.from}}</td>\n                                             <td>{{session.accountname}}</td>\n                                              <td>\n                                                  <time is="relative-time" datetime="{{session.mailjoinAt}}">\n                                                           April 1, 2014\n                                                 </time>\n                                               </td>\n                                         <td>\n                                                  <time is="relative-time" datetime="{{session.mailleaveAt}}" data-ng-show="session.mailleaveAt">\n                                                               April 1, 2014\n                                                 </time>\n                                               </td>\n                                         <td>\n                                                  <time is="relative-time" datetime="{{session.mailunmanagedAt}}" data-ng-show="session.mailunmanagedAt">\n                                                               April 1, 2014\n                                                 </time>\n                                               </td>\n                     </tr>\n                                     <tr data-ng-hide="displayedMails.length">\n                                             <td colspan="11" style="text-align:center;">\n                                                  <i>No sessions available</i>\n                                          </td>\n                                 </tr>\n                   </tbody>\n                      <tfoot>\n                                     <tr>\n                                          <td/>\n                                         <td>\n                                                  <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="uniqueid" data-ng-model="filters.uniqueid" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_UNIQUEID\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                       </div>\n                                    </td>\n                                 <td>\n                                                      <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="queue" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_QUEUE\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                      </div>\n                                    </td>\n                                 <td>\n                                                      <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="membername" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_AGENT\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                 </div>\n                                    </td>\n                                             <td>\n                                                  <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="from" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_SUBJECT\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                     </div>\n                                                </td>\n                             <td>\n                                                      <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="from" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_FROM\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                        </div>\n                                    </td>\n                                             <td>\n                                                  <div class="input-icon right">\n                                                                <i class="fa fa-search"></i>\n                                                          <input st-search="accountname" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_TO\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                   </div>\n                                    </td>\n                                             <td colspan="7"></td>\n                           </tr>\n                           <tr>\n                            <td colspan="12" class="text-center">\n                                                   <div class="pagination" st-pagination st-items-by-page="conf.sessionsByPage.value" st-displayed-pages="7"></div>\n                            </td>\n                       </tr>\n                       </tfoot>\n                    </div>\n                </table>\n              <!-- END TABLE -->\n    </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/mail/realtime/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n  <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-energy"></i>\n                                   <a href="/mail/realtime/list">{{ \'APPLICATION_REALTIME\' | translate }}</a>\n                          </li>\n                 </ul>\n         </div>\n\n              <div>\n             <nav class="navbar navbar-default" role="navigation">\n                     <div class="navbar-header">\n                       <button type="button" class="navbar-toggle" ng-init="navCollapsed = true" ng-click="navCollapsed = !navCollapsed">\n                                <span class="sr-only">Toggle navigation</span>\n                                <span class="icon-bar"></span>\n                                <span class="icon-bar"></span>\n                                <span class="icon-bar"></span>\n                            </button>\n                     <!-- <a class="navbar-brand" ui-sref="home">Brand</a> -->\n                 </div>\n\n                      <!-- Collect the nav links, forms, and other content for toggling -->\n                 <div class="collapse navbar-collapse" ng-class="!navCollapsed && \'in\'">\n                         <ul class="nav navbar-nav">\n                               <li dropdown>\n                             <a href="#" dropdown-toggle>\n                                      {{ \'APPLICATION_AGENTS\' | translate }}\n                                      <b class=\'caret\'></b>\n                                   </a>\n                                  <tree tree=\'agents\'></tree>\n                             </li>\n                                                                         <li dropdown>\n                             <a href="#" dropdown-toggle>\n                                      {{ \'APPLICATION_SESSIONS\' | translate }}\n                                    <b class=\'caret\'></b>\n                                   </a>\n                                  <tree tree=\'sessions\'></tree>\n                           </li>\n                     </ul>\n                         <!-- <ul class="nav navbar-nav">\n                          <li dropdown>\n                             <a href="#" dropdown-toggle>\n                                      {{ \'APPLICATION_QUEUES\' | translate }}\n                                      <b class=\'caret\'></b>\n                                   </a>\n                                  <tree tree=\'queues\'></tree>\n                             </li>\n                     </ul> -->\n                 </div>\n                        <!-- /.navbar-collapse -->\n                </nav>\n            </div>\n                <div ui-view></div>\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/mail/statistics/statistics.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initView()">\n     <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-envelope"></i>\n                                 <a href="/agent">{{ \'APPLICATION_MAILS\' | translate }}</a>\n                          </li>\n                         <li>\n                                  <a href="#">{{agent.fullname}}</a>\n                            </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img ng-src="assets/images/media/statistics.png" class="img-responsive">\n                              </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{agent.fullname}}\n                                    </div>\n                                        <div class="profile-usertitle-job">\n                                           {{agent.role}}\n                                        </div>\n                                </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.mail.statistics.summary\')}">\n                                                    <a data-ng-href="/mail/statistics/summary">\n                                                   <i class="icon-bar-chart"></i>\n                                                        {{ \'APPLICATION_SUMMARY\' | translate}} </a>\n                                         </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/mail/statistics/statistics.summary.html",'<div class="row">\n   <div class="col-md-12">\n               <!-- BEGIN PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_CONVERSATIONS\' | translate }}</a> </span>\n                             </div>\n                        </div>\n                        <div class="portlet-body">\n                            <div class="row">\n                                     <div class="col-md-6">\n                                                <div class="portlet sale-summary">\n                                                    <div class="portlet-body">\n                                                            <ul class="list-unstyled">\n                                                                    <li>\n                                                                          <span class="sale-info">\n                                                                              {{ \'APPLICATION_INBOX\' | translate }} <i class="fa fa-img-up"></i>\n                                                                          </span>\n                                                                               <span class="sale-num">\n                                                                               {{ (mailMessages | filter:{ directory:\'INBOX\' }).length }} </span>\n                                                                  </li>\n                                                                 <li>\n                                                                          <span class="sale-info">\n                                                                              {{ \'APPLICATION_SENT\' | translate }} <i class="fa fa-img-down"></i>\n                                                                         </span>\n                                                                               <span class="sale-num">\n                                                                               {{ (mailMessages | filter:{ directory:\'SENT\' }).length }} </span>\n                                                                   </li>\n                                                                 <li>\n                                                                          <span class="sale-info">\n                                                                              {{ \'APPLICATION_OUTGOING\' | translate }} <i class="fa fa-img-down"></i>\n                                                                             </span>\n                                                                               <span class="sale-num">\n                                                                               {{ (mailMessages | filter:{ directory:\'NOT SENT\' }).length }} </span>\n                                                                       </li>\n                                                                 <li>\n                                                                          <span class="sale-info">\n                                                                              {{ \'APPLICATION_DRAFT\' | translate }} <i class="fa fa-img-down"></i>\n                                                                                </span>\n                                                                               <span class="sale-num">\n                                                                               {{ (mailMessages | filter:{ directory:\'DRAFT\' }).length }} </span>\n                                                                  </li>\n                                                                 <li>\n                                                                          <span class="sale-info">\n                                                                              {{ \'APPLICATION_TRASH\' | translate }} <i class="fa fa-img-down"></i>\n                                                                                </span>\n                                                                               <span class="sale-num">\n                                                                               {{ (mailMessages | filter:{ directory:\'TRASH\' }).length }} </span>\n                                                                  </li>\n                                                         </ul>\n                                                 </div>\n                                                </div>\n                                        </div>\n                                        <div class="col-md-6">\n                                                <canvas class="chart chart-pie" data="[\n                                               (mailMessages | filter:{ directory:\'INBOX\' }).length,\n                                               (mailMessages | filter:{ directory:\'SENT\' }).length,\n                                                (mailMessages | filter:{ directory:\'NOT SENT\' }).length,\n                                            (mailMessages | filter:{ directory:\'DRAFT\' }).length,\n                                               (mailMessages | filter:{ directory:\'TRASH\' }).length]" labels="[\n                                            $translate.instant(\'APPLICATION_INBOX\'),\n                                            $translate.instant(\'APPLICATION_SENT\'),\n                                             $translate.instant(\'APPLICATION_OUTGOING\'),\n                                         $translate.instant(\'APPLICATION_DRAFT\'),\n                                            $translate.instant(\'APPLICATION_TRASH\')]" legend="true"></canvas>\n                                   </div>\n                                </div>\n                        </div>\n                </div>\n                <!-- END PORTLET-->\n\n         <!-- BEGIN PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-pencil font-green-sharp"></i>\n                                  <span class="caption-subject">{{ \'APPLICATION_OTHER_INFO\' | translate }}</a> </span>\n                                </div>\n                        </div>\n                        <div class="portlet-body">\n                            <div class="row">\n                                     <div class="col-md-6">\n                                                <div class="portlet sale-summary">\n                                                    <div class="portlet-body">\n                                                            <ul class="list-unstyled">\n                                                                    <li>\n                                                                          <span class="sale-info">\n                                                                              {{ \'APPLICATION_READ\' | translate }} <i class="fa fa-img-up"></i>\n                                                                           </span>\n                                                                               <span class="sale-num">\n                                                                               {{ (mailMessages | filter:{ read:\'true\' }).length }} </span>\n                                                                        </li>\n                                                                 <li>\n                                                                          <span class="sale-info">\n                                                                              {{ \'APPLICATION_UNREAD\' | translate }} <i class="fa fa-img-down"></i>\n                                                                               </span>\n                                                                               <span class="sale-num">\n                                                                               {{ (mailMessages | filter:{ read:\'false\' }).length }} </span>\n                                                                       </li>\n                                                                 <li>\n                                                                          <span class="sale-info">\n                                                                              {{ \'APPLICATION_FAVORITE\' | translate }} <i class="fa fa-img-down"></i>\n                                                                             </span>\n                                                                               <span class="sale-num">\n                                                                               {{ (mailMessages | filter:{ favorite:\'true\' }).length }} </span>\n                                                                    </li>\n                                                         </ul>\n                                                 </div>\n                                                </div>\n                                        </div>\n                                        <div class="col-md-6">\n                                                <canvas class="chart chart-pie" data="[\n                                               (mailMessages | filter:{ read:\'true\' }).length,\n                                             (mailMessages | filter:{ read:\'false\' }).length]" labels="[\n                                         $translate.instant(\'APPLICATION_READ\'),\n                                             $translate.instant(\'APPLICATION_UNREAD\')]" legend="true"></canvas>\n                                  </div>\n                                </div>\n                        </div>\n                </div>\n                <!-- END PORTLET-->\n   </div>\n</div>\n'),a.put("app/mail/timeline/list/list.html",'<div class="row">\n        <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-envelope"></i>\n                                         <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n                                                <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-list"></i>\n                                             <a href="/mail/timeline/list"> Timeline</a>\n                                   </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initList()">\n     <div class="col-md-12">\n    <h3 class="page-title">\n                          Timeline\n                      </h3>\n                 <!-- END PAGE HEADER-->\n                       <!-- BEGIN PAGE CONTENT-->\n                    <div class="timeline">\n                                <!-- TIMELINE ITEM -->\n                                <div class="timeline-item" data-ng-repeat="event in events | orderBy:\'-id\'">\n                                        <div class="timeline-badge">\n                                          <div class="timeline-icon">\n                                                   <i class="icon-envelope font-green-haze"></i>\n                                         </div>\n                                        </div>\n                                        <div class="timeline-body">\n                                           <div class="timeline-body-arrow"></div>\n                                               <div class="timeline-body-head">\n                                                      <div class="timeline-body-head-caption">\n                                                              <span class="timeline-body-alerttitle" data-ng-class="{\'font-red\': event.name == \'INCOMING\', \'font-blue\': event.name == \'ATTEMPT\', \'font-green\': event.name == \'TAKEN\'}">{{event.name | uppercase}}</span>\n                                                                <span class="timeline-body-time font-grey-cascade">at {{event.createdAt | date:\'yyyy-MM-dd HH:mm:ss\'}}</span>\n                                                       </div>\n                                                        <div class="timeline-body-head-actions">\n                                                              <div class="btn-group">\n                                                                       <a class="btn btn-circle btn-sm dropdown-toggle btn-success" href="/mail/inbox/room/{{event.MailRoomId}}">Go To Mail</a>\n                                                              </div>\n                                                        </div>\n                                                </div>\n                                                <div class="timeline-body-content">\n                                                   <span class="font-grey-cascade" data-ng-show="event.User">\n                                                    {{event.MailRoom.subject ? event.MailRoom.subject + \' - \' : \'\'}}<a href="/agents/view/{{event.UserId}}/account">{{event.User.fullname}}</a>\n                                                       </span>\n                                               </div>\n                                        </div>\n                                </div>\n                                <!-- END TIMELINE ITEM -->\n                    </div>\n                        <!-- END PAGE CONTENT-->\n      </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/main/chooseContact.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_CHOOSE_CONTACT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="forms.choose" novalidate>\n    <div class="form-group" data-ng-class="{\'has-error\': forms.choose.contactId.$invalid && forms.choose.$submitted}">\n      <label class="control-label">{{\'APPLICATION_CONTACT\' | translate}}</label>\n      <ui-select data-ng-model="item.contactId" theme="bootstrap" name="contactId" ng-disabled="disabled">\n        <ui-select-match allow-clear placeholder="{{ \'APPLICATION_CONTACT\' | translate }}">{{$select.selected.name}}</ui-select-match>\n        <ui-select-choices repeat="contact.id as contact in contacts | filter: $select.search">\n          <div ng-bind-html="contact.name | highlight: $select.search"></div>\n        </ui-select-choices>\n      </ui-select>\n      <span data-ng-show="forms.choose.CompanyId.$invalid && forms.choose.$submitted" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.tag.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/main/main.html",'<!-- BEGIN HEADER -->\n<div data-ng-include="\'components/header/header.html\'" data-ng-controller="HeaderController" class="page-header navbar navbar-fixed-top">\n</div>\n<!-- END HEADER -->\n\n<div class="clearfix">\n</div>\n<!-- BEGIN CONTAINER -->\n<div class="page-container" data-ng-init="initMain()">\n\n  <!-- BEGIN SIDEBAR -->\n  <div data-ng-include="\'components/sidebar/sidebar.html\'" data-ng-controller="SidebarController" class="page-sidebar-wrapper">\n  </div>\n  <!-- END SIDEBAR -->\n\n  <!-- BEGIN CONTENT -->\n  <div class="page-content-wrapper">\n    <div class="page-content" data-ng-class="{\'demo\': !license.expiration}">\n\n      <!-- BEGIN PAGE CONTENT -->\n      <uib-tabset>\n        <uib-tab select="addWorkspace()" active="mainTab.active">\n          <uib-tab-heading>\n            Motion <i class="icon-rocket"></i>\n          </uib-tab-heading>\n          <div ui-view class=""></div>\n        </uib-tab>\n        <uib-tab data-ng-repeat="workspace in workspaces" active="workspace.active" data-ng-switch="workspace.type">\n          <uib-tab-heading>\n            {{workspace.name}} <i class="icon-close pointer-cursor" data-ng-click="closeTab($index)"></i>\n          </uib-tab-heading>\n          <div class="" data-ng-switch="workspace.type">\n            <new-contact data-ng-switch-when="newContact" workspace="workspace" index="$index" on-submit="createContact(index,item)"></new-contact>\n            <contact data-ng-switch-when="contact" workspace="workspace" index="$index" on-submit="updateContact(index,item)"></contact>\n          </div>\n        </uib-tab>\n\n      </uib-tabset>\n      <!-- END PAGE CONTENT  -->\n\n    </div>\n  </div>\n  <!-- END CONTENT -->\n\n  <!-- BEGIN QUICK SIDEBAR -->\n  <a href="javascript:;" class="page-quick-sidebar-toggler"><i class="icon-close"></i></a>\n  <div data-ng-include="\'components/quickSidebar/quickSidebar.html\'" data-ng-controller="QuickSidebarController" class="page-quick-sidebar-wrapper">\n  </div>\n  <!-- END QUICK SIDEBAR -->\n\n</div>\n<!-- END CONTAINER -->\n\n<!-- BEGIN FOOTER -->\n<div data-ng-include="\'components/footer/footer.html\'" data-ng-controller="FooterController" class="page-footer">\n</div>\n<!-- END FOOTER -->\n\n<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->\n<!-- BEGIN CORE PLUGINS -->\n<!--[if lt IE 9]>\n<script src="../../assets/global/plugins/respond.min.js"></script>\n<script src="../../assets/global/plugins/excanvas.min.js"></script>\n<![endif]-->\n\n<!-- END JAVASCRIPTS -->\n'),
 a.put("app/main/template.contactTab.html",'<div class="row margin-top-20 contact-tab-container" >\n  <!-- <pre>\n    {{workspaces}}\n  </pre> -->\n  <!-- <pre>\n    {{contact | json}}\n  </pre> -->\n  <div class="col-md-12 contact-tab">\n    <form name="forms.general" data-ng-submit="submit({index:index,item:contact})" novalidate>\n    <!-- BEGIN PROFILE SIDEBAR -->\n    <div class="profile-sidebar">\n      <!-- PORTLET MAIN -->\n      <div class="portlet light pbottom20">\n        <!-- SIDEBAR USERPIC -->\n        <div class="profile-userpic">\n          <img src="assets/images/media/contact.png" class="img-responsive" alt="">\n        </div>\n        <!-- END SIDEBAR USERPIC -->\n        <!-- SIDEBAR USER TITLE -->\n        <div class="profile-usertitle">\n          <div class="profile-usertitle-name">\n            {{contact.fullname}}\n          </div>\n          <div class="profile-usertitle-job">\n          </div>\n        </div>\n        <!-- END SIDEBAR USER TITLE -->\n        <!-- SIDEBAR BUTTONS -->\n        <div class="profile-userbuttons">\n          <button type="submit" class="btn btn-circle green-haze btn-sm" data-ng-disabled="!contact.fullname">{{\'APPLICATION_UPDATE\' | translate}}</button>\n          <!-- <button type="button" class="btn btn-circle btn-danger btn-sm">Message</button> -->\n        </div>\n        <!-- END SIDEBAR BUTTONS -->\n        <!-- SIDEBAR MENU -->\n        <!-- <div class="profile-usermenu">\n          <ul class="nav">\n            <li class="active">\n              <a href="extra_profile.html">\n              <i class="icon-home"></i>\n              Overview </a>\n            </li>\n            <li>\n              <a href="extra_profile_account.html">\n              <i class="icon-settings"></i>\n              Account Settings </a>\n            </li>\n            <li>\n              <a href="page_todo.html" target="_blank">\n              <i class="icon-check"></i>\n              Tasks </a>\n            </li>\n            <li>\n              <a href="extra_profile_help.html">\n              <i class="icon-info"></i>\n              Help </a>\n            </li>\n          </ul>\n        </div> -->\n        <!-- END MENU -->\n      </div>\n      <!-- END PORTLET MAIN -->\n      <!-- PORTLET MAIN -->\n      <div class="portlet light">\n        <!-- STAT -->\n        <div class="row list-separated profile-stat">\n          <div class="col-md-4 col-sm-4 col-xs-6">\n            <div class="uppercase profile-stat-title">\n               37\n            </div>\n            <div class="uppercase profile-stat-text">\n               Projects\n            </div>\n          </div>\n          <div class="col-md-4 col-sm-4 col-xs-6">\n            <div class="uppercase profile-stat-title">\n               51\n            </div>\n            <div class="uppercase profile-stat-text">\n               Tasks\n            </div>\n          </div>\n          <div class="col-md-4 col-sm-4 col-xs-6">\n            <div class="uppercase profile-stat-title">\n               61\n            </div>\n            <div class="uppercase profile-stat-text">\n               Uploads\n            </div>\n          </div>\n        </div>\n        <!-- END STAT -->\n        <div>\n          <h4 class="profile-desc-title">{{\'APPLICATION_ABOUT\' | translate}} {{contact.fullname}}</h4>\n          <span class="profile-desc-text break-overflow">{{contact.description}}</span>\n          <div class="margin-top-20 profile-desc-link">\n            <i class="fa fa-globe"></i>\n            <a href="http://www.keenthemes.com">www.keenthemes.com</a>\n          </div>\n          <div class="margin-top-20 profile-desc-link">\n            <i class="fa fa-twitter"></i>\n            <a href="http://www.twitter.com/keenthemes/">@keenthemes</a>\n          </div>\n          <div class="margin-top-20 profile-desc-link">\n            <i class="fa fa-facebook"></i>\n            <a href="http://www.facebook.com/keenthemes/">keenthemes</a>\n          </div>\n        </div>\n      </div>\n      <!-- END PORTLET MAIN -->\n    </div>\n    <!-- END BEGIN PROFILE SIDEBAR -->\n    <!-- BEGIN PROFILE CONTENT -->\n    <div class="profile-content">\n      <div class="row">\n        <div class="col-md-6">\n          <!-- BEGIN PORTLET -->\n          <div class="portlet light ">\n            <div class="portlet-title">\n              <div class="caption caption-md">\n                <i class="icon-bar-chart theme-font hide"></i>\n                <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_DETAIL\' | translate}}</span>\n              </div>\n              <div class="actions">\n                <div class="btn-group btn-group-devided" data-toggle="buttons">\n                  <label class="btn btn-transparent grey-salsa btn-circle btn-sm active" data-ng-click="detail.tab=\'main\'">\n                  <input type="radio" class="toggle">{{\'APPLICATION_MAIN\' | translate}}</label>\n                  <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-click="detail.tab=\'address\'">\n                  <input type="radio" class="toggle">{{\'APPLICATION_ADDRESS\' | translate}}</label>\n                  <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-click="detail.tab=\'other\'">\n                  <input type="radio" class="toggle">{{\'APPLICATION_OTHER\' | translate}}</label>\n                  <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-click="detail.tab=\'customFields\'">\n                  <input type="radio" class="toggle">{{\'APPLICATION_CUSTOM_FIELDS\' | translate}}</label>\n                </div>\n              </div>\n            </div>\n            <div class="portlet-body">\n              <div data-ng-class="{\'hidden\':detail.tab != \'main\'}" class="portlet-body contact-portlet">\n              <!-- START FULLNAME -->\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.fullname.$touched || forms.general.$submitted) && forms.general.fullname.$invalid}">\n                <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                <input type="text" name="fullname" placeholder="{{\'APPLICATION_FULLNAME\' | translate}}" class="form-control" data-ng-model="contact.fullname" required/>\n                <span data-ng-show="(forms.general.fullname.$touched || forms.general.$submitted) && forms.general.fullname.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              <!-- END FULLNAME -->\n\n              <!-- START COMPANY -->\n              <div class="form-group" data-ng-class="{\'has-error\': forms.general.CompanyId.$invalid && forms.general.$submitted}">\n                <label class="control-label">{{\'APPLICATION_COMPANY\' | translate}}</label>\n                <ui-select data-ng-model="contact.CompanyId" theme="bootstrap" name="CompanyId" ng-disabled="disabled">\n                  <ui-select-match allow-clear placeholder="{{ \'APPLICATION_COMPANY\' | translate }}">{{$select.selected.name}}</ui-select-match>\n                  <ui-select-choices repeat="company.id as company in companies | filter: $select.search">\n                    <div ng-bind-html="company.name | highlight: $select.search"></div>\n                  </ui-select-choices>\n                </ui-select>\n                <span data-ng-show="forms.general.CompanyId.$invalid && forms.general.$submitted" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              <!-- END COMPANY -->\n\n              <!-- START TAGS -->\n              <div class="form-group" data-ng-class="{\'has-error\': forms.general.tags.$invalid && forms.general.$submitted}">\n                <label class="control-label">{{\'APPLICATION_TAGS\' | translate}}</label>\n                <ui-select tagging tagging-label="" multiple=\'true\' data-ng-model="contact.tags" theme="bootstrap" name="tags" ng-disabled="disabled">\n                  <ui-select-match placeholder="{{ \'APPLICATION_TAGS\' | translate }}">{{$item}}</ui-select-match>\n                  <ui-select-choices repeat="tag in tags | filter: $select.search">\n                    {{tag}}\n                  </ui-select-choices>\n                </ui-select>\n                <span data-ng-show="forms.general.tags.$invalid && forms.general.$submitted" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              <!-- END TAGS -->\n\n            </div>\n            <div data-ng-class="{\'hidden\':detail.tab != \'address\'}" class="portlet-body contact-portlet">\n              <!-- START STREET -->\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.street.$touched || forms.general.$submitted) && forms.general.street.$invalid}">\n                <label class="control-label">{{\'APPLICATION_STREET\' | translate}}</label>\n                <input type="text" name="street" placeholder="{{\'APPLICATION_STREET\' | translate}}" class="form-control" data-ng-model="contact.street"/>\n                <span data-ng-show="(forms.general.street.$touched || forms.general.$submitted) && forms.general.street.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              <!-- END STREET -->\n\n              <!-- START POSTALCODE -->\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.postalCode.$touched || forms.general.$submitted) && forms.general.postalCode.$invalid}">\n                <label class="control-label">{{\'APPLICATION_POSTALCODE\' | translate}}</label>\n                <input type="text" name="postalCode" placeholder="{{\'APPLICATION_POSTALCODE\' | translate}}" class="form-control" data-ng-model="contact.postalCode"/>\n                <span data-ng-show="(forms.general.postalCode.$touched || forms.general.$submitted) && forms.general.postalCode.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              <!-- END POSTALCODE -->\n\n              <!-- START CITY -->\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.city.$touched || forms.general.$submitted) && forms.general.city.$invalid}">\n                <label class="control-label">{{\'APPLICATION_CITY\' | translate}}</label>\n                <input type="text" name="city" placeholder="{{\'APPLICATION_CITY\' | translate}}" class="form-control" data-ng-model="contact.city"/>\n                <span data-ng-show="(forms.general.city.$touched || forms.general.$submitted) && forms.general.city.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              <!-- END CITY -->\n\n              <!-- START COUNTRY -->\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.country.$touched || forms.general.$submitted) && forms.general.country.$invalid}">\n                <label class="control-label">{{\'APPLICATION_COUNTRY\' | translate}}</label>\n                <input type="text" name="country" placeholder="{{\'APPLICATION_COUNTRY\' | translate}}" class="form-control" data-ng-model="contact.country"/>\n                <span data-ng-show="(forms.general.country.$touched || forms.general.$submitted) && forms.general.country.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              <!-- END COUNTRY -->\n            </div>\n            <div data-ng-class="{\'hidden\':detail.tab != \'other\'}" class="portlet-body contact-portlet">\n              <!-- START DATEOFBIRTH -->\n              <div class="form-group" data-ng-class="{\'has-error\': (forms.general.dateOfBirth.$touched || forms.general.$submitted) && forms.general.dateOfBirth.$invalid}">\n                <label class="control-label">{{\'APPLICATION_DATEOFBIRTH\' | translate}}</label>\n                <input name="dateOfBirth" type="date" placeholder="{{\'APPLICATION_DATEOFBIRTH\' | translate}}" class="form-control date-picker" data-ng-model="contact.dateOfBirth"/>\n                <span data-ng-show="(forms.general.dateOfBirth.$touched || forms.general.$submitted) && forms.general.dateOfBirth.$error.required" class="help-block help-block-error">\n                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                </span>\n              </div>\n              <!-- END DATEOFBIRTH -->\n\n              <!-- START DESCRIPTION -->\n              <div class="form-group">\n                <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                <textarea style="resize: vertical;" type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="contact.description"></textarea>\n              </div>\n              <!-- END DESCRIPTION -->\n              <!-- START CREATED_BY -->\n              <div class="form-group">\n                <label class="control-label">{{\'APPLICATION_CREATED_BY\' | translate}}</label>\n                <input type="text" name="createdBy" placeholder="{{\'APPLICATION_CREATED_BY\' | translate}}" class="form-control" data-ng-model="contact.User.name" disabled/>\n              </div>\n              <!-- END CREATED_BY -->\n            </div>\n            <div data-ng-class="{\'hidden\':detail.tab != \'customFields\'}" class="portlet-body contact-portlet">\n              <div data-ng-repeat="customField in customFields">\n                <div data-ng-if="customField.active || _.find(contact.CustomFields,{id:customField.id})">\n                <div data-ng-if="customField.type==\'text\'" class="form-group" data-ng-class="{\'has-error\': (forms.general[customField.name].$touched || forms.general.$submitted) && forms.general[customField.name].$invalid}">\n                  <label class="control-label">{{customField.name}}</label>\n                  <input data-ng-if="!joinPrompt" type="text" name="{{customField.name}}" placeholder="{{customField.name}}" class="form-control" data-ng-model="contact.customFields[customField.id]"/>\n                  <span data-ng-show="(forms.general[customField.name].$touched || forms.general.$submitted) && forms.general[customField.name].$error.required" class="help-block help-block-error">\n                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                  </span>\n                </div>\n                <div data-ng-if="customField.type==\'select\'" class="form-group" data-ng-class="{\'has-error\': forms.general[customField.name].$invalid && forms.general.$submitted}">\n                  <label class="control-label">{{customField.name}}</label>\n                  <ui-select data-ng-if="!joinPrompt" data-ng-model="contact.customFields[customField.id]" theme="bootstrap" name="{{customField.name}}" data-ng-disabled="disabled">\n                    <ui-select-match allow-clear placeholder="{{customField.name}}">{{$select.selected.value}}</ui-select-match>\n                    <ui-select-choices repeat="choice.value as choice in customField.values | filter: $select.search">\n                      <div ng-bind-html="choice.value | highlight: $select.search"></div>\n                    </ui-select-choices>\n                  </ui-select>\n                  <span data-ng-show="forms.general[customField.name].$invalid && forms.general.$submitted" class="help-block help-block-error">\n                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                  </span>\n                </div>\n              </div>\n              </div>\n            </div>\n            </div>\n          </div>\n          <!-- END PORTLET -->\n        </div>\n        <div class="col-md-6">\n          <!-- BEGIN PORTLET -->\n          <div class="portlet light">\n            <div class="portlet-title tabbable-line">\n              <div class="caption caption-md">\n                <i class="icon-globe theme-font hide"></i>\n                <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CONTACTS\' | translate}}</span>\n              </div>\n              <ul class="nav nav-tabs">\n                <li class="active">\n                  <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_PHONES\' | translate}}</a>\n                </li>\n                <li>\n                  <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_EMAILS\' | translate}}</a>\n                </li>\n              </ul>\n            </div>\n            <div class="portlet-body">\n              <!--BEGIN TABS-->\n              <div class="tab-content">\n                <div class="tab-pane active" id="tab_1_1">\n                  <div class="contact-portlet">\n                    <!-- START PHONES -->\n                    <div class="padding-bottom mbottom20">\n                    <div data-ng-if="contact.Phones.length>0">\n                      <label class="control-label">{{\'APPLICATION_PHONES\' | translate}}</label>\n                    </div>\n                    <div class="padding-bottom" ng-repeat="phone in contact.Phones">\n                      <div class="form-group">\n                        <div class="input-group">\n                          <input type="text" class="form-control" ng-model="phone.phone" required>\n                          <span class="input-group-btn">\n                          <button class="btn red" type="button"data-ng-click="removeField(\'Phones\',$index)"><i class="fa fa-times"></i></button>\n                          </span>\n                        </div>\n                      </div>\n                    </div>\n                    <button type="button" class="btn btn-sm green padding-bottom" ng-click="addField(\'Phones\')">\n                      <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_PHONE\' | translate}}\n                    </button>\n                  </div>\n                  <!-- END PHONES -->\n                </div>\n              </div>\n                <div class="tab-pane" id="tab_1_2">\n                  <div class="contact-portlet">\n                    <!-- START EMAILS -->\n                      <div class="padding-bottom mbottom20">\n                      <div data-ng-if="contact.Emails.length>0">\n                        <label class="control-label">{{\'APPLICATION_EMAILS\' | translate}}</label>\n                      </div>\n                      <div class="padding-bottom" ng-repeat="email in contact.Emails">\n                        <div class="form-group">\n                          <div class="input-group">\n                            <input type="email" class="form-control" ng-model="email.email" required>\n                            <span class="input-group-btn">\n                            <button class="btn btn-danger" type="button" data-ng-click="removeField(\'Emails\',$index)"><i class="fa fa-times"></i></button>\n                            </span>\n                          </div>\n                        </div>\n                      </div>\n                      <button type="button" class="btn btn-sm green padding-bottom" ng-click="addField(\'Emails\')">\n                        <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_EMAIL\' | translate}}\n                      </button>\n                    </div>\n                    <!-- END EMAILS -->\n                  </div>\n                </div>\n              </div>\n              <!--END TABS-->\n            </div>\n          </div>\n          <!-- END PORTLET -->\n        </div>\n      </div>\n      <div class="row">\n        <div class="col-md-6">\n          <!-- BEGIN PORTLET -->\n          <div class="portlet light">\n            <div class="portlet-title tabbable-line">\n              <div class="caption caption-md">\n                <i class="icon-globe theme-font hide"></i>\n                <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_LOG\' | translate}}</span>\n              </div>\n              <ul class="nav nav-tabs">\n                <li class="active">\n                  <a href="#" data-target="#tab_2_1" data-toggle="tab">{{ \'APPLICATION_JOURNAL\' | translate}}</a>\n                </li>\n                <li>\n                  <a href="#" data-target="#tab_2_2" data-toggle="tab">{{ \'APPLICATION_HISTORY\' | translate}}</a>\n                </li>\n              </ul>\n            </div>\n            <div class="portlet-body">\n              <!--BEGIN TABS-->\n              <div class="tab-content">\n                <div class="tab-pane active" id="tab_2_1">\n                  <div class="contact-portlet">\n                    <div class="actions">\n                      <div class="btn-group btn-group-devided" data-toggle="buttons">\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm active" data-ng-click="log.journal.show=\'Phones\';getRows(\'journal\');">\n                        <input type="radio" class="toggle">{{\'APPLICATION_PHONES\' | translate}}</label>\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-click="log.journal.show=\'Emails\';log.journal.detail=\'general\';getRows(\'journal\');">\n                        <input type="radio" class="toggle">{{\'APPLICATION_EMAILS\' | translate}}</label>\n                      </div> |\n                      <div class="btn-group btn-group-devided" data-toggle="buttons">\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm active" data-ng-click="log.journal.type=\'Inbounds\';getRows(\'journal\');">\n                        <input type="radio" class="toggle">{{\'APPLICATION_INBOUND\' | translate}}</label>\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-click="log.journal.type=\'Outbounds\';getRows(\'journal\');">\n                        <input type="radio" class="toggle">{{\'APPLICATION_OUTBOUND\' | translate}}</label>\n                      </div> |\n                      <div class="btn-group btn-group-devided" data-toggle="buttons" data-ng-if="log.journal.show==\'Phones\'">\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm active" data-ng-click="log.journal.detail=\'general\';getRows(\'journal\');">\n                        <input type="radio" class="toggle">{{\'APPLICATION_GENERAL\' | translate}}</label>\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-click="log.journal.detail=\'QueueCalls\';getRows(\'journal\');">\n                        <input type="radio" class="toggle">{{\'APPLICATION_QUEUES\' | translate}}</label>\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-click="log.journal.detail=\'ReportAgents\';getRows(\'journal\');">\n                        <input type="radio" class="toggle">{{\'APPLICATION_AGENTS\' | translate}}</label>\n                      </div>\n                    </div>\n                    <table st-table="journal" class="table table-striped">\n                            <thead>\n                               <tr>\n                                          <th data-ng-repeat="column in columns[log.journal.show][log.journal.detail].header">{{column | translate}}</th>\n                               </tr>\n                                 </thead>\n                              <tbody>\n                               <tr data-ng-repeat="row in rows[\'journal\']">\n                                        <td data-ng-repeat="col in columns[log.journal.show][log.journal.detail].indexes">{{col == \'createdAt\' ? moment(row[col]).format(\'DD/MM/YYYY HH:mm:ss\') : row[col]}}</td>\n                                 </tr>\n                      <tr data-ng-hide="rows[\'journal\'].length">\n                        <td colspan="{{columns[log.journal.show][log.journal.detail].header.length}}" class="text-center">\n                          {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}\n                        </td>\n                      </tr>\n                                 </tbody>\n                              <tfoot>\n                                       <tr>\n                                                  <td colspan="{{columns[log.journal.show][log.journal.detail].header.length}}" class="text-center">\n                                                    <div st-pagination="" st-items-by-page="itemsByPage" st-displayed-pages="7"></div>\n                                            </td>\n                                         </tr>\n                                 </tfoot>\n                      </table>\n\n                  </div>\n              </div>\n                <div class="tab-pane" id="tab_2_2">\n                  <div class="contact-portlet">\n                    <div class="actions">\n                      <div class="btn-group btn-group-devided" data-toggle="buttons">\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm active" data-ng-click="log.history.show=\'Phones\';getRows(\'history\');">\n                        <input type="radio" class="toggle">{{\'APPLICATION_PHONES\' | translate}}</label>\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-click="log.history.show=\'Emails\';log.history.detail=\'general\';getRows(\'history\');">\n                        <input type="radio" class="toggle">{{\'APPLICATION_EMAILS\' | translate}}</label>\n                      </div> |\n                      <div class="btn-group btn-group-devided" data-toggle="buttons">\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm active" data-ng-click="log.history.type=\'HistoryInbounds\';getRows(\'history\');">\n                        <input type="radio" class="toggle">{{\'APPLICATION_INBOUND\' | translate}}</label>\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-click="log.history.type=\'HistoryOutbounds\';getRows(\'history\');">\n                        <input type="radio" class="toggle">{{\'APPLICATION_OUTBOUND\' | translate}}</label>\n                      </div> |\n                      <div class="btn-group btn-group-devided" data-toggle="buttons" data-ng-if="log.history.show==\'Phones\'">\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm active" data-ng-click="log.history.detail=\'general\';getRows(\'history\');">\n                        <input type="radio" class="toggle">{{\'APPLICATION_GENERAL\' | translate}}</label>\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-click="log.history.detail=\'HistoryQueueCalls\';getRows(\'history\');">\n                        <input type="radio" class="toggle">{{\'APPLICATION_QUEUES\' | translate}}</label>\n                        <label class="btn btn-transparent grey-salsa btn-circle btn-sm" data-ng-click="log.history.detail=\'HistoryReportAgents\';getRows(\'history\');">\n                        <input type="radio" class="toggle">{{\'APPLICATION_AGENTS\' | translate}}</label>\n                      </div>\n                    </div>\n                    <table st-table="history" class="table table-striped">\n                      <thead>\n                      <tr>\n                        <th data-ng-repeat="column in columns[log.history.show][log.history.detail].header">{{column | translate}}</th>\n                      </tr>\n                      </thead>\n                      <tbody>\n                      <tr data-ng-repeat="row in rows[\'history\']">\n                        <td data-ng-repeat="col in columns[log.history.show][log.history.detail].indexes">{{col == \'createdAt\' ? moment(row[col]).format(\'DD/MM/YYYY HH:mm:ss\') : row[col]}}</td>\n                      </tr>\n                      <tr data-ng-hide="rows[\'history\'].length">\n                        <td colspan="{{columns[log.history.show][log.history.detail].header.length}}" class="text-center">\n                          {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}\n                        </td>\n                      </tr>\n                      </tbody>\n                      <tfoot>\n                        <tr>\n                          <td colspan="{{columns[log.history.show][log.history.detail].header.length}}" class="text-center">\n                            <div st-pagination="" st-items-by-page="itemsByPage" st-displayed-pages="7"></div>\n                          </td>\n                        </tr>\n                      </tfoot>\n                    </table>\n\n                  </div>\n                </div>\n              </div>\n              <!--END TABS-->\n            </div>\n          </div>\n          <!-- END PORTLET -->\n        </div>\n        <div class="col-md-6">\n          <!-- BEGIN PORTLET -->\n          <div class="portlet light tasks-widget">\n            <div class="portlet-title">\n              <div class="caption caption-md">\n                <i class="icon-bar-chart theme-font hide"></i>\n                <span class="caption-subject font-blue-madison bold uppercase">Tasks</span>\n                <span class="caption-helper">16 pending</span>\n              </div>\n              <div class="inputs">\n                <div class="portlet-input input-small input-inline">\n                  <div class="input-icon right">\n                    <i class="icon-magnifier"></i>\n                    <input type="text" class="form-control form-control-solid" placeholder="search...">\n                  </div>\n                </div>\n              </div>\n            </div>\n            <div class="portlet-body">\n              <div class="task-content">\n                <div class="contact-portlet">\n                  <!-- START TASK LIST -->\n                  <ul class="task-list">\n                    <li>\n                      <div class="task-checkbox">\n                        <input type="hidden" value="1" name="test"/>\n                        <input type="checkbox" class="liChild" value="2" name="test"/>\n                      </div>\n                      <div class="task-title">\n                        <span class="task-title-sp">\n                        Present 2013 Year IPO Statistics at Board Meeting </span>\n                        <span class="label label-sm label-success">Company</span>\n                        <span class="task-bell">\n                        <i class="fa fa-bell-o"></i>\n                        </span>\n                      </div>\n                      <div class="task-config">\n                        <div class="task-config-btn btn-group">\n                          <a class="btn btn-xs default" href="#" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n                          <i class="fa fa-cog"></i><i class="fa fa-angle-down"></i>\n                          </a>\n                          <ul class="dropdown-menu pull-right">\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-check"></i> Complete </a>\n                            </li>\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-pencil"></i> Edit </a>\n                            </li>\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-trash-o"></i> Cancel </a>\n                            </li>\n                          </ul>\n                        </div>\n                      </div>\n                    </li>\n                    <li>\n                      <div class="task-checkbox">\n                        <input type="checkbox" class="liChild" value=""/>\n                      </div>\n                      <div class="task-title">\n                        <span class="task-title-sp">\n                        Hold An Interview for Marketing Manager Position </span>\n                        <span class="label label-sm label-danger">Marketing</span>\n                      </div>\n                      <div class="task-config">\n                        <div class="task-config-btn btn-group">\n                          <a class="btn btn-xs default" href="#" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n                          <i class="fa fa-cog"></i><i class="fa fa-angle-down"></i>\n                          </a>\n                          <ul class="dropdown-menu pull-right">\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-check"></i> Complete </a>\n                            </li>\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-pencil"></i> Edit </a>\n                            </li>\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-trash-o"></i> Cancel </a>\n                            </li>\n                          </ul>\n                        </div>\n                      </div>\n                    </li>\n                    <li>\n                      <div class="task-checkbox">\n                        <input type="checkbox" class="liChild" value=""/>\n                      </div>\n                      <div class="task-title">\n                        <span class="task-title-sp">\n                        AirAsia Intranet System Project Internal Meeting </span>\n                        <span class="label label-sm label-success">AirAsia</span>\n                        <span class="task-bell">\n                        <i class="fa fa-bell-o"></i>\n                        </span>\n                      </div>\n                      <div class="task-config">\n                        <div class="task-config-btn btn-group">\n                          <a class="btn btn-xs default" href="#" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n                          <i class="fa fa-cog"></i><i class="fa fa-angle-down"></i>\n                          </a>\n                          <ul class="dropdown-menu pull-right">\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-check"></i> Complete </a>\n                            </li>\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-pencil"></i> Edit </a>\n                            </li>\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-trash-o"></i> Cancel </a>\n                            </li>\n                          </ul>\n                        </div>\n                      </div>\n                    </li>\n                    <li>\n                      <div class="task-checkbox">\n                        <input type="checkbox" class="liChild" value=""/>\n                      </div>\n                      <div class="task-title">\n                        <span class="task-title-sp">\n                        Technical Management Meeting </span>\n                        <span class="label label-sm label-warning">Company</span>\n                      </div>\n                      <div class="task-config">\n                        <div class="task-config-btn btn-group">\n                          <a class="btn btn-xs default" href="#" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n                          <i class="fa fa-cog"></i><i class="fa fa-angle-down"></i>\n                          </a>\n                          <ul class="dropdown-menu pull-right">\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-check"></i> Complete </a>\n                            </li>\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-pencil"></i> Edit </a>\n                            </li>\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-trash-o"></i> Cancel </a>\n                            </li>\n                          </ul>\n                        </div>\n                      </div>\n                    </li>\n                    <li>\n                      <div class="task-checkbox">\n                        <input type="checkbox" class="liChild" value=""/>\n                      </div>\n                      <div class="task-title">\n                        <span class="task-title-sp">\n                        Kick-off Company CRM Mobile App Development </span>\n                        <span class="label label-sm label-info">Internal Products</span>\n                      </div>\n                      <div class="task-config">\n                        <div class="task-config-btn btn-group">\n                          <a class="btn btn-xs default" href="#" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n                          <i class="fa fa-cog"></i><i class="fa fa-angle-down"></i>\n                          </a>\n                          <ul class="dropdown-menu pull-right">\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-check"></i> Complete </a>\n                            </li>\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-pencil"></i> Edit </a>\n                            </li>\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-trash-o"></i> Cancel </a>\n                            </li>\n                          </ul>\n                        </div>\n                      </div>\n                    </li>\n                    <li>\n                      <div class="task-checkbox">\n                        <input type="checkbox" class="liChild" value=""/>\n                      </div>\n                      <div class="task-title">\n                        <span class="task-title-sp">\n                        Prepare Commercial Offer For SmartVision Website Rewamp </span>\n                        <span class="label label-sm label-danger">SmartVision</span>\n                      </div>\n                      <div class="task-config">\n                        <div class="task-config-btn btn-group">\n                          <a class="btn btn-xs default" href="#" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n                          <i class="fa fa-cog"></i><i class="fa fa-angle-down"></i>\n                          </a>\n                          <ul class="dropdown-menu pull-right">\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-check"></i> Complete </a>\n                            </li>\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-pencil"></i> Edit </a>\n                            </li>\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-trash-o"></i> Cancel </a>\n                            </li>\n                          </ul>\n                        </div>\n                      </div>\n                    </li>\n                    <li>\n                      <div class="task-checkbox">\n                        <input type="checkbox" class="liChild" value=""/>\n                      </div>\n                      <div class="task-title">\n                        <span class="task-title-sp">\n                        Sign-Off The Comercial Agreement With AutoSmart </span>\n                        <span class="label label-sm label-default">AutoSmart</span>\n                        <span class="task-bell">\n                        <i class="fa fa-bell-o"></i>\n                        </span>\n                      </div>\n                      <div class="task-config">\n                        <div class="task-config-btn btn-group">\n                          <a class="btn btn-xs default" href="#" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n                          <i class="fa fa-cog"></i><i class="fa fa-angle-down"></i>\n                          </a>\n                          <ul class="dropdown-menu pull-right">\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-check"></i> Complete </a>\n                            </li>\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-pencil"></i> Edit </a>\n                            </li>\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-trash-o"></i> Cancel </a>\n                            </li>\n                          </ul>\n                        </div>\n                      </div>\n                    </li>\n                    <li>\n                      <div class="task-checkbox">\n                        <input type="checkbox" class="liChild" value=""/>\n                      </div>\n                      <div class="task-title">\n                        <span class="task-title-sp">\n                        Company Staff Meeting </span>\n                        <span class="label label-sm label-success">Cruise</span>\n                        <span class="task-bell">\n                        <i class="fa fa-bell-o"></i>\n                        </span>\n                      </div>\n                      <div class="task-config">\n                        <div class="task-config-btn btn-group">\n                          <a class="btn btn-xs default" href="#" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n                          <i class="fa fa-cog"></i><i class="fa fa-angle-down"></i>\n                          </a>\n                          <ul class="dropdown-menu pull-right">\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-check"></i> Complete </a>\n                            </li>\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-pencil"></i> Edit </a>\n                            </li>\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-trash-o"></i> Cancel </a>\n                            </li>\n                          </ul>\n                        </div>\n                      </div>\n                    </li>\n                    <li class="last-line">\n                      <div class="task-checkbox">\n                        <input type="checkbox" class="liChild" value=""/>\n                      </div>\n                      <div class="task-title">\n                        <span class="task-title-sp">\n                        KeenThemes Investment Discussion </span>\n                        <span class="label label-sm label-warning">KeenThemes </span>\n                      </div>\n                      <div class="task-config">\n                        <div class="task-config-btn btn-group">\n                          <a class="btn btn-xs default" href="#" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n                          <i class="fa fa-cog"></i><i class="fa fa-angle-down"></i>\n                          </a>\n                          <ul class="dropdown-menu pull-right">\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-check"></i> Complete </a>\n                            </li>\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-pencil"></i> Edit </a>\n                            </li>\n                            <li>\n                              <a href="#">\n                              <i class="fa fa-trash-o"></i> Cancel </a>\n                            </li>\n                          </ul>\n                        </div>\n                      </div>\n                    </li>\n                  </ul>\n                  <!-- END START TASK LIST -->\n                </div>\n              </div>\n            </div>\n          </div>\n          <!-- END PORTLET -->\n        </div>\n      </div>\n    </div>\n    <!-- END PROFILE CONTENT -->\n  </form>\n  </div>\n</div>\n'),
@@ -51,5 +52,5 @@ a.put("app/voice/route/internal/view/view.applications.html",'<div ui-view class
 a.put("app/voice/route/outbound/view/view.routeSettings.html",'\n<div class="row" data-ng-init="initApplication();getApplication();getIntervals();">\n <div class="col-md-12">\n               <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_APPLICATION_SETTINGS\' | translate }} WIZARD</a> </span>\n                               </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="updateItem()">\n                                     <div class="profile-usertitle-name">\n                                          {{(main.app | capitalize) || \'Application\'}}\n                                        </div>\n                <wz-step title="{{\'APPLICATION_APPLICATION\' | translate}}" canexit="formValidation(forms.info.$valid)">\n                                             <form name="forms.info" novalidate>\n                                                   <div id="Dial" class="app-settings" ng-slide-down="main.app == \'Dial\'" lazy-render duration="1">\n                                                    <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n\n                                                        <!-- START TRUNK -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': (forms.info.trunk.$touched || forms.info.$submitted) && forms.info.trunk.$invalid}">\n                                                           <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                <ui-select data-ng-model="application.TrunkId" name="trunk" theme="bootstrap" required>\n                                                                       <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                      <ui-select-choices repeat="trunk.id as trunk in items | filter: $select.search">\n                                                                              <div ng-bind-html="trunk.name | highlight: $select.search"></div>\n                                                                     </ui-select-choices>\n                                                          </ui-select>\n                                                          <span class="help-block">\n                                                                     {{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n                                                               </span>\n                                                               <span data-ng-show="(forms.info.trunk.$touched || forms.info.$submitted) && forms.info.trunk.$error.required" class="help-block help-block-error">\n                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END TRUNK -->\n\n                                                  <!-- START CONTEXT -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': (forms.info.context.$touched || forms.info.$submitted) && forms.info.context.$invalid}">\n                                                               <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                              <ui-select data-ng-model="application.context" name="context" theme="bootstrap" required>\n                                                                     <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                      <ui-select-choices repeat="context.name as context in items2 | filter: $select.search">\n                                                                               <div ng-bind-html="context.name | highlight: $select.search"></div>\n                                                                   </ui-select-choices>\n                                                          </ui-select>\n                                                          <span class="help-block">\n                                                                     {{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n                                                               </span>\n                                                               <span data-ng-show="(forms.info.context.$touched || forms.info.$submitted) && forms.info.context.$error.required" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END CONTEXT -->\n\n                                                        <!-- START CALLERID -->\n                                                       <div class="form-group"  data-ng-class="{\'has-error\': (forms.info.callerID.$touched || forms.info.$submitted) && forms.info.callerID.$invalid}">\n                                                            <label class="control-label">{{ \'APPLICATION_CALLERID\' | translate }}</label>\n                                                               <input type="text" name="callerID" placeholder="{{ \'APPLICATION_CALLERID\' | translate }}" class="form-control" data-ng-model="application.callerID">\n                                                                <span data-ng-show="(forms.info.callerID.$touched || forms.info.$submitted) && forms.info.callerID.$invalid" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END CALLERID -->\n\n                                                               <!-- START CUTDIGITS -->\n                                                      <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_CUTDIGITS\' | translate}}</label>\n                                                                <input type="number" class="form-control" name="cutdigits" data-ng-model="application.cutdigits">\n                                                             <span class="help-block">\n                                                                     {{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n                                                               </span>\n                                                       </div>\n                                                        <!-- END CUTDIGITS -->\n                                                </div>\n                                                <div id="Custom" class="app-settings" ng-slide-down="main.app == \'custom\'" lazy-render duration="1">\n\n                                                      <!-- START CUSTOMAPP -->\n                                                      <div class="form-group"  data-ng-class="{\'has-error\': (forms.info.customApp.$touched || forms.info.$submitted) && forms.info.customApp.$invalid}">\n                                                          <label class="control-label">{{ \'APPLICATION_CUSTOM_APP\' | translate }}<span class="required" aria-required="true">*</span></label>\n                                                         <input type="text" name="customApp" placeholder="{{ \'APPLICATION_CUSTOM_APP\' | translate }}" class="form-control" data-ng-model="application.customApp" required>\n                                                           <span data-ng-show="(forms.info.customApp.$touched || forms.info.$submitted) && forms.info.customApp.$invalid && forms.info.customApp.$error.required" class="help-block help-block-error">\n                                                                   <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END CUSTOMAPP -->\n\n                                                      <!-- START APPDATA -->\n                                                        <div class="form-group"  data-ng-class="{\'has-error\': (forms.info.appdata.$touched || forms.info.$submitted) && forms.info.appdata.$invalid}">\n                                                              <label class="control-label">{{ \'APPLICATION_ARGUMENTS\' | translate }}</label>\n                                                              <input type="text" name="appdata" placeholder="{{ \'APPLICATION_ARGUMENTS\' | translate }}" class="form-control" data-ng-model="application.appdata">\n                                                         <span data-ng-show="(forms.info.appdata.$touched || forms.info.$submitted) && forms.info.appdata.$invalid && forms.info.appdata.$error.required" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END APPDATA -->\n                                          </div>\n                                                <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n                                  </form>\n                                       </wz-step>\n                                            <wz-step title="{{\'APPLICATION_INTERVAL\' | translate}}" canexit="formValidation(forms.interval.IntervalId.$valid || forms.interval.hasOwnProperty(\'t_from\') || forms.interval.intType.$modelValue === \'always\')">\n                                                       <form name="forms.interval" novalidate>\n                                                               <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n                                                             <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n                                          <!-- START INTERVAL_TYPE -->\n                                          <div class="form-group" data-ng-class="{\'has-error\': (forms.interval.intType.$touched || forms.interval.$submitted) && forms.interval.intType.$invalid}">\n                                                   <label class="control-label">{{\'APPLICATION_INTERVAL_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                        <ui-select data-ng-model="interval.intType" theme="bootstrap" name="intType" required>\n                                                                <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$translate.instant($select.selected.name)}}</ui-select-match>\n                                                          <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n                                                                       {{$translate.instant(intType.name)}}\n                                                          </ui-select-choices>\n                                                  </ui-select>\n                                                  <span data-ng-show="(forms.interval.intType.$touched || forms.interval.$submitted) && forms.interval.intType.$error.required" class="help-block help-block-error">\n                                                            <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END INTERVAL_TYPE -->\n                                            <div id="customInterval" class="app-settings" ng-slide-down="interval.intType == \'custom\'" lazy-render duration="1">\n                                                                <!-- START TIME -->\n                                                           <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_TIME\' | translate }}</label>\n                                                                   <div class="input-group input-large">\n                                                                         <fieldset class="pull-left" ng-disabled="interval.alwaysTime"><uib-timepicker name="t_from" data-ng-model="interval.t_from" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n                                                                          <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n                                                                                <fieldset ng-disabled="interval.alwaysTime"><uib-timepicker  name="t_to" data-ng-model="interval.t_to" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n                                                                               <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="interval.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label>\n                                                                 </div>\n                                                                </div>\n                                                                <!-- END TIME -->\n\n                                                           <!-- START WEEKDAY -->\n                                                                <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_WEEKDAY\' | translate }}</label>\n                                                                        <div class="input-group input-large">\n                                                                         <ui-select data-ng-model="interval.wd_from" theme="bootstrap" name="wd_from">\n                                                                                 <ui-select-match placeholder="">{{$translate.instant($select.selected.name)}}</ui-select-match>\n                                                                                       <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                                                                                                {{$translate.instant(weekDay.name)}}\n                                                                                  </ui-select-choices>\n                                                                          </ui-select>\n                                                                          <span class="input-group-addon">to</span>\n                                                                             <ui-select data-ng-model="interval.wd_to" theme="bootstrap" name="wd_to">\n                                                                                     <ui-select-match placeholder="">{{$translate.instant($select.selected.name)}}</ui-select-match>\n                                                                                       <ui-select-choices repeat="weekDay.value as weekDay in $interval.daysOfWeek | filter: $select.search">\n                                                                                                {{$translate.instant(weekDay.name)}}\n                                                                                  </ui-select-choices>\n                                                                          </ui-select>\n                                                                  </div>\n                                                                </div>\n                                                                <!-- END WEEKDAY -->\n\n                                                                <!-- START MONTHDAY -->\n                                                               <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_MONTHDAY\' | translate }}</label>\n                                                                       <div class="input-group input-large">\n                                                                         <ui-select data-ng-model="interval.md_from" theme="bootstrap" name="md_from">\n                                                                                 <ui-select-match>{{$select.selected}}</ui-select-match>\n                                                                                       <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                                                                                               {{monthDay}}\n                                                                                  </ui-select-choices>\n                                                                          </ui-select>\n                                                                          <span class="input-group-addon">to</span>\n                                                                             <ui-select data-ng-model="interval.md_to" theme="bootstrap" name="md_to">\n                                                                                     <ui-select-match>{{$select.selected}}</ui-select-match>\n                                                                                       <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n                                                                                               {{monthDay}}\n                                                                                  </ui-select-choices>\n                                                                          </ui-select>\n                                                                  </div>\n                                                                </div>\n                                                                <!-- END MONTHDAY -->\n\n                                                               <!-- START MONTH -->\n                                                          <div class="form-group">\n                                                                      <label class="control-label">{{ \'APPLICATION_MONTH\' | translate }}</label>\n                                                                  <div class="input-group input-large">\n                                                                         <ui-select data-ng-model="interval.m_from" theme="bootstrap" name="m_from">\n                                                                                   <ui-select-match placeholder="">{{$translate.instant($select.selected.name)}}</ui-select-match>\n                                                                                       <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                                                                                                {{$translate.instant(month.name)}}\n                                                                                    </ui-select-choices>\n                                                                          </ui-select>\n                                                                          <span class="input-group-addon">to</span>\n                                                                             <ui-select data-ng-model="interval.m_to" theme="bootstrap" name="m_to">\n                                                                                       <ui-select-match placeholder="">{{$translate.instant($select.selected.name)}}</ui-select-match>\n                                                                                       <ui-select-choices repeat="month.value as month in $interval.months | filter: $select.search">\n                                                                                                {{$translate.instant(month.name)}}\n                                                                                    </ui-select-choices>\n                                                                          </ui-select>\n                                                                  </div>\n                                                                </div>\n                                                                <!-- END MONTH -->\n                                                    </div>\n\n                                                      <div id="customInterval" class="app-settings" ng-slide-down="interval.intType == \'list\'" lazy-render duration="1">\n\n                                                                <!-- START INTERVALS -->\n                                                              <div class="form-group" data-ng-class="{\'has-error\': (forms.interval.IntervalId.$touched || forms.interval.$submitted) && forms.interval.IntervalId.$invalid}">\n                                                                     <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                    <ui-select data-ng-model="interval.IntervalId" theme="bootstrap" name="IntervalId" required>\n                                                                          <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$translate.instant($select.selected.name)}}</ui-select-match>\n                                                                          <ui-select-choices repeat="interval.id as interval in Intervals | filter: $select.search">\n                                                                                    {{$translate.instant(interval.name)}}\n                                                                         </ui-select-choices>\n                                                                  </ui-select>\n                                                                  <span data-ng-show="(forms.interval.IntervalId.$touched || forms.interval.$submitted) && forms.interval.IntervalId.$error.required" class="help-block help-block-error">\n                                                                              <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END INTERVALS -->\n\n                                                      </div>\n                                                        <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n                                                     <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n                                                  </form>\n                                               </wz-step>\n\n                                          <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                                    <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n                                                     <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                         </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/voice/route/outbound/view/view.routes.html",'<div ui-view class="profile-content">\n<div class="row" data-ng-init="getRouteApplications()">\n   <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title  tabbable-line">\n                            <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_ACTIONS\' | translate}}</span>\n                         </div>\n                                <div class="actions">\n                                 <div class="btn-group">\n                                               <a class="btn green-jungle " href="/voice/routes/outbound/view/{{route.id}}/route" data-toggle="dropdown">\n                                                    <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ROUTE\' | translate }}\n                                         </a>\n                                  </div>\n                                </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table class="table table-striped table-bordered table-hover">\n                                          <thead>\n                                               <tr>\n                                                                <th>{{ \'APPLICATION_APPLICATION\' | translate }}</th>\n                                                                <th>{{ \'APPLICATION_CONTEXT\' | translate }}</th>\n                                                            <th>{{ \'APPLICATION_ARGUMENTS\' | translate }}</th>\n                                              <th>{{ \'APPLICATION_TIME\' | translate }}</th>\n                                                           <th></th>\n                                               </tr>\n                                         </thead>\n                                      <tbody ui-sortable="sortableOptions" data-ng-model="routeApplications">\n                                         <tr data-ng-repeat="application in routeApplications | orderBy:\'priority\'">\n                                                             <td>{{application.app}}</td>\n                                                          <td>{{application.context}}</td>\n                                                              <td>{{application.appdata}}</td>\n                                                              <td>{{application.interval}}</td>\n                                           <td>\n                                                                    <a class="btn default btn-xs blue-stripe" data-ng-href="/voice/routes/outbound/view/{{route.id}}/routes/settings/{{application.id}}">\n                                                                         {{ \'APPLICATION_SETTINGS\' | translate}}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(\'Route\',application.id)">\n                                                                                {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="routeApplications.length">\n                                                          <td colspan="5" style="text-align:center;">\n                                                                   <i>{{ \'MESSAGE_NO_ROUTES_AVAILABLE\' | translate }}</i>\n                                                              </td>\n                                                 </tr>\n                                   </tbody>\n                            </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n        </div>\n</div>\n</div>\n'),a.put("app/voice/route/outbound/view/view.settings.html",'<div class="row">\n        <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_OUTBOUND\' | translate}} {{ \'APPLICATION_ROUTE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n                             </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n                                     </li>\n                         </ul>\n                 </div>\n\n                      <div class="portlet-body" data-ng-init="getContexts()">\n                               <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.general" data-ng-submit="forms.general.$valid && updateRoute()" novalidate>\n\n                                                       <!-- START EXTEN -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': (forms.general.exten.$touched || forms.general.$submitted) && forms.general.exten.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_PATTERN\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                              <input type="text" name="exten" placeholder="{{\'APPLICATION_PATTERN\' | translate}}" class="form-control" data-ng-model="route.exten" required/>\n                                                             <span data-ng-show="(forms.general.exten.$touched || forms.general.$submitted) && forms.general.exten.$error.required" class="help-block help-block-error">\n                                                                   <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END EXTEN -->\n\n                                                  <!-- START CONTEXT -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': (forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$invalid}">\n                                                              <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                              <ui-select data-ng-model="route.context" name="context" theme="bootstrap" required>\n                                                                   <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                      <ui-select-choices repeat="context.name as context in voiceContexts | filter: $select.search">\n                                                                                <div ng-bind-html="context.name | highlight: $select.search"></div>\n                                                                   </ui-select-choices>\n                                                          </ui-select>\n                                                          <span class="help-block">\n                                                                     {{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n                                                               </span>\n                                                               <span data-ng-show="(forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$error.required" class="help-block help-block-error">\n                                                                       <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END CONTEXT -->\n\n                                                        <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="route.description"/></textarea>\n                                                        </div>\n                                                        <!-- END DESCRIPTION -->\n\n                                                    <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END GENERAL TAB -->\n\n                            </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/voice/route/outbound/wizard/wizard.html",'<div class="col-md-12">\n  <!-- BEGIN PAGE HEADER-->\n  <div class="page-bar">\n                <ul class="page-breadcrumb">\n                  <li>\n                          <i class="icon-rocket"></i>\n                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                           <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-call-out"></i>\n                         <a href="/voice/routes/outbound/list">{{ \'APPLICATION_OUTBOUND\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }}</a>\n                         <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-options"></i>\n                          <a href="#">{{ \'APPLICATION_WIZARD\' | translate }}</a>\n                      </li>\n         </ul>\n </div>\n  <!-- END PAGE HEADER-->\n\n  <!-- BEGIN PORTLET-->\n  <div class="portlet light bordered" data-ng-init="getContexts()">\n     <div class="portlet-title">\n           <div class="caption font-green-sharp">\n                        <i class="icon-call-out font-green-sharp"></i>\n                        <span class="caption-subject">{{ \'APPLICATION_OUTBOUND\' | translate }} {{ \'APPLICATION_ROUTE\' | translate }} WIZARD</a> </span>\n           </div>\n        </div>\n        <div class="portlet-body">\n            <wizard on-finish="createItem()">\n                             <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="exitValidation(forms.route.$valid)">\n                           <form name="forms.route" novalidate>\n\n            <!-- START EXTEN -->\n            <div class="form-group" data-ng-class="{\'has-error\': (forms.route.exten.$touched || forms.route.$submitted) && forms.route.exten.$invalid}">\n              <label class="control-label">{{\'APPLICATION_PATTERN\' | translate}}<span class="required" aria-required="true">*</span></label>\n              <input type="text" name="exten" placeholder="{{\'APPLICATION_PATTERN\' | translate}}" class="form-control" data-ng-model="item.exten" required/>\n              <span data-ng-show="(forms.route.exten.$touched || forms.route.$submitted) && forms.route.exten.$error.required" class="help-block help-block-error">\n                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n              </span>\n            </div>\n            <!-- END EXTEN -->\n\n                                             <!-- START DESCRIPTION -->\n                                            <div class="form-group">\n                                                      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                      <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/></textarea>\n                                         </div>\n                                                <!-- END DESCRIPTION -->\n\n\n                                          <button class="btn green-haze" type="submit" ng-click="next()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n                        </form>\n                     </wz-step>\n\n                                <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                    <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n                                     <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                         </wz-step>\n            </wizard>\n     </div>\n  </div>\n  <!-- END PORTLET-->\n</div>\n'),a.put("app/voice/voicemail/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-envelope-letter"></i>\n                                  <a href="/voice/voicemails/list">{{ \'APPLICATION_VOICEMAILS\' | translate }}</a>\n                             </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-envelope-letter font-green-sharp"></i>\n                                 <span class="caption-subject">{{ \'APPLICATION_VOICEMAILS\' | translate }}</a> </span>\n                                </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="voicemails.checked.length">\n                                              <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle " href="#" data-toggle="dropdown">\n                                                 <i class="icon-plus"></i> {{ \'APPLICATION_NEW_VOICEMAIL\' | translate }} <i class="fa fa-angle-down"></i>\n                                            </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <li>\n                                                          <a href="/voice/voicemails/wizard">\n                                                           <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                         </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getVoicemails([\'mailbox\', \'fullname\', \'email\'])" csv-header="[\'Mailbox\', \'Fullname\', \'Email\']" field-separator=";" filename="voicemails.csv">\n                                   <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedVoicemails" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                      <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="5">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.voicemailsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                            <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="voicemailByPage in voicemailsByPage | filter: $select.search">\n                                                                                                     <div ng-bind-html="voicemailByPage.name | highlight: $select.search"></div>\n                                                                                           </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(voicemail, checked)" checklist-model checklist-value="uniqueid"></th>\n                                                  <th st-sort="mailbox">{{ \'APPLICATION_MAILBOX\' | translate }}</th>\n                                                  <th st-sort="fullname">{{ \'APPLICATION_FULLNAME\' | translate }}</th>\n                                                <th st-sort="email">{{ \'APPLICATION_EMAIL\' | translate }}</th>\n                                                          <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="voicemail in displayedVoicemails" class="animate-repeat">\n                                                             <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="voicemails.checked" checklist-value="voicemail.uniqueid"></td>\n                                                         <td>{{voicemail.mailbox}}</td>\n                <td>{{voicemail.fullname}}</td>\n                                             <td>{{voicemail.email}}</td>\n                                          <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/voice/voicemails/view/{{voicemail.uniqueid}}/settings">\n                                                                              {{ \'APPLICATION_SETTINGS\' | translate}}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(voicemail.mailbox,voicemail.uniqueid)">\n                                                                            {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedVoicemails.length">\n                                                                <td colspan="5" style="text-align:center;">\n                                                                   <i>{{ \'MESSAGE_NO_VOICEMAILS_AVAILABLE\' | translate }}</i>\n                                                          </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="mailbox" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_MAILBOX\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="fullname" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_FULLNAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="email" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_EMAIL\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                      </div>\n                                                    </td>\n                                                 <td>\n                                                  </td>\n                                               </tr>\n                                           <tr>\n                                            <td colspan="5" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.voicemailsByPage.value" st-displayed-pages="7"></div>\n                                          </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/voice/voicemail/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getVoicemail()">\n  <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-envelope-letter"></i>\n                                  <a href="/voice/voicemails/list">{{ \'APPLICATION_VOICEMAILS\' | translate }}</a>\n                                     <i data-ng-show="voicemail" class="fa fa-angle-right"></i>\n                            </li>\n                         <li data-ng-show="voicemail">\n                                 <a href="#">{{voicemail.mailbox}}</a>\n                         </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/voicemail.png" class="img-responsive">\n                          </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{voicemail.mailbox}}\n                                 </div>\n                                        <!-- <div class="profile-usertitle-job">\n                                              {{user.role}}\n                                 </div> -->\n                            </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.voice.voicemails.view.settings\')}">\n                                                     <a data-ng-href="/voice/voicemails/view/{{voicemail.uniqueid}}/settings">\n                                                     <i class="icon-settings"></i>\n                                                 {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n                                                </li>\n            <li data-ng-class="{active: $state.is(\'main.voice.voicemails.view.messages\')}">\n              <a data-ng-href="/voice/voicemails/view/{{voicemail.uniqueid}}/messages">\n              <i class="icon-speech"></i>\n              {{ \'APPLICATION_MESSAGES\' | translate}} </a>\n            </li>\n                                     </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
 a.put("app/voice/voicemail/view/view.messages.html",'<div class="row" data-ng-init="getMessages()">\n  <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title  tabbable-line">\n                            <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_MESSAGES\' | translate}}</span>\n                                </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table class="table table-striped table-bordered table-hover">\n                                          <thead>\n                                               <tr>\n                                                    <th>{{ \'APPLICATION_CALLERID\' | translate }}</th>\n                                                   <th>{{ \'APPLICATION_DATE\' | translate }}</th>\n                                                           <th>{{ \'APPLICATION_DURATION\' | translate }}</th>\n                                                           <th>{{ \'APPLICATION_RECORDING\' | translate }}</th>\n                                                          <th width="20%">{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                                  </tr>\n                                         </thead>\n                                      <tbody data-ng-model="voicemailMessages">\n                                       <tr data-ng-repeat="message in voicemailMessages">\n                                                                <td>{{message.callerid}}</td>\n                                                         <td>{{returnMessageDate(message.stamp)}}</td>\n                                                         <td>{{returnDuration(message.duration) | date: \'mm:ss\'}}</td>\n                                                               <td>\n                                                                  <audio controls ng-src="{{encodeRecording(message.recording)}}" preload="none">\n                                   Your browser does not support the audio tag.\n                                </audio>\n                                                    </td>\n                                       <td>\n                                                                    <a class="btn default btn-xs green-stripe" href="/api/voice/voicemails/messages/{{message.id}}/download" target="_self">\n                                                                              {{ \'APPLICATION_DOWNLOAD\' | translate}}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(\'message\',message.id)">\n                                                                          {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="voicemailMessages.length">\n                                                          <td colspan="5" style="text-align:center;">\n                                                                   <i>No messages available</i>\n                                                          </td>\n                                                 </tr>\n                                   </tbody>\n                            </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/voice/voicemail/view/view.settings.html",'<div class="row" data-ng-init="getContexts()">\n        <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_VOICEMAIL\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n                           </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n                                     </li>\n                                 <!-- <li>\n                                             <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_ADVANCED\' | translate}}</a>\n                                    </li> -->\n                             </ul>\n                 </div>\n\n                      <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.general" data-ng-submit="forms.general.$valid && updateVoiceVoicemail()" novalidate>\n\n                                                      <!-- START MAILBOX -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.mailbox.$invalid}">\n                                                          <label class="control-label">{{\'APPLICATION_MAILBOX\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                              <input type="text" name="mailbox" placeholder="{{\'APPLICATION_MAILBOX\' | translate}}" class="form-control" data-ng-model="voicemail.mailbox" required/>\n                                                             <span data-ng-show="forms.general.$submitted && forms.general.mailbox.$invalid" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END MAILBOX -->\n\n                                                        <!-- START PASSWORD -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.password.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_NEW_PASSWORD\' | translate}}</label>\n                                                             <input type="password" name="password" placeholder="{{\'APPLICATION_NEW_PASSWORD\' | translate}}" class="form-control" data-ng-model="voicemail.password" />\n                                                          <span data-ng-show="forms.general.$submitted && forms.general.password.$invalid" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END PASSWORD -->\n\n                                                       <!-- START CONFIRM PASSWORD -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.rpassword.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}</label>\n                                                         <input type="password" name="rpassword" placeholder="{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}" class="form-control" data-ng-model="voicemail.rpassword" nx-equal="voicemail.password"/>\n                                                               <span data-ng-show="forms.general.$submitted && (forms.general.rpassword.$invalid || forms.general.rpassword.$invalid)" class="help-block help-block-error">\n                                                                  <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END CONFIRM PASSWORD -->\n\n                                                       <!-- START FULLNAME -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.fullname.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                             <input type="text" name="fullname" placeholder="{{\'APPLICATION_FULLNAME\' | translate}}" class="form-control" data-ng-model="voicemail.fullname" required/>\n                                                          <span data-ng-show="forms.general.$submitted && forms.general.fullname.$invalid" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END FULLNAME -->\n\n                                                       <!-- START EMAIL -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.email.$invalid}">\n                                                            <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                                <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="voicemail.email" required/>\n                                                          <span data-ng-show="forms.general.$submitted && forms.general.host.$invalid" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END EMAIL -->\n\n                                                  <!-- START CONTEXT -->\n                                                        <div class="form-group" data-ng-class="{\'has-error\': (forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$invalid}">\n                                                              <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                              <ui-select data-ng-model="voicemail.context" name="context" theme="bootstrap" required>\n                                                                       <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                      <ui-select-choices repeat="context.name as context in voiceContexts | filter: $select.search">\n                                                                                <div ng-bind-html="context.name | highlight: $select.search"></div>\n                                                                   </ui-select-choices>\n                                                          </ui-select>\n                                                          <span class="help-block">\n                                                                     {{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n                                                               </span>\n                                                               <span data-ng-show="(forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$error.required" class="help-block help-block-error">\n                                                                       <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END CONTEXT -->\n\n                                                        <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END GENERAL TAB -->\n                                      <!-- ADVANCED TAB -->\n                                 <!-- <div class="tab-pane" id="tab_1_2">\n                                              <form name="forms.advanced" data-ng-submit="updateVoiceVoicemail()" novalidate>\n\n\n                                                   <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div> -->\n                                    <!-- END ADVANCED TAB -->\n\n                           </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/voice/voicemail/wizard/wizard.html",'<div class="col-md-12" data-ng-init="initWizard();getContexts();">\n  <!-- BEGIN PAGE HEADER-->\n    <div class="page-bar">\n                <ul class="page-breadcrumb">\n                  <li>\n                          <i class="icon-rocket"></i>\n                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                           <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-envelope-letter"></i>\n                          <a href="/voice/voicemails/list">{{ \'APPLICATION_VOICEMAILS\' | translate }}</a>\n                             <i class="fa fa-angle-right"></i>\n                     </li>\n                 <li>\n                          <i class="icon-options"></i>\n                          <a href="#">{{ \'APPLICATION_WIZARD\' | translate }}</a>\n                      </li>\n         </ul>\n </div>\n  <!-- END PAGE HEADER-->\n\n  <!-- BEGIN PORTLET-->\n  <div class="portlet light bordered">\n          <div class="portlet-title">\n           <div class="caption font-green-sharp">\n                        <i class="icon-envelope-letter font-green-sharp"></i>\n                         <span class="caption-subject">{{ \'APPLICATION_VOICEMAIL\' | translate }} WIZARD</a> </span>\n                  </div>\n        </div>\n        <div class="portlet-body">\n            <wizard on-finish="createItem()">\n                             <wz-step title="{{\'APPLICATION_GENERAL\' | translate}}" canexit="exitValidation(forms.general.$valid)">\n                          <form name="forms.general" novalidate>\n\n                        <!-- START MAILBOX -->\n                        <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.mailbox.$invalid}">\n                            <label class="control-label">{{\'APPLICATION_MAILBOX\' | translate}}<span class="required" aria-required="true">*</span></label>\n                              <input type="text" name="mailbox" placeholder="{{\'APPLICATION_MAILBOX\' | translate}}" class="form-control" data-ng-model="item.mailbox" required/>\n                                                  <span data-ng-show="forms.general.$submitted && forms.general.mailbox.$invalid" class="help-block help-block-error">\n                            <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                               </span>\n                             </div>\n                        <!-- END MAILBOX -->\n\n                                          <!-- START PASSWORD -->\n                                               <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.password.$invalid}">\n                                                 <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                     <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n                                                   <span data-ng-show="forms.general.$submitted && forms.general.password.$invalid" class="help-block help-block-error">\n                                                         <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END PASSWORD -->\n\n                                               <!-- START CONFIRM PASSWORD -->\n                                               <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.rpassword.$invalid}">\n                                                        <label class="control-label">{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n                                                     <input type="password" name="rpassword" placeholder="{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.rpassword" nx-equal="item.password" required/>\n                                                        <span data-ng-show="forms.general.$submitted && (forms.general.rpassword.$invalid || forms.general.rpassword.$invalid)" class="help-block help-block-error">\n                                                          <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n                                                 </span>\n                                               </div>\n                                                <!-- END CONFIRM PASSWORD -->\n\n            <!-- START FULLNAME -->\n            <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.fullname.$invalid}">\n              <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n              <input type="text" name="fullname" placeholder="{{\'APPLICATION_FULLNAME\' | translate}}" class="form-control" data-ng-model="item.fullname" required/>\n              <span data-ng-show="forms.general.$submitted && forms.general.fullname.$invalid" class="help-block help-block-error">\n                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n              </span>\n            </div>\n            <!-- END FULLNAME -->\n\n            <!-- START EMAIL -->\n            <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.email.$invalid}">\n              <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}<span class="required" aria-required="true">*</span></label>\n              <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="item.email" required/>\n              <span data-ng-show="forms.general.$submitted && forms.general.host.$invalid" class="help-block help-block-error">\n                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n              </span>\n            </div>\n            <!-- END EMAIL -->\n\n            <!-- START CONTEXT -->\n            <div class="form-group" data-ng-class="{\'has-error\': (forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$invalid}">\n              <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n              <ui-select data-ng-model="item.context" name="context" theme="bootstrap" required>\n                <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                <ui-select-choices repeat="context.name as context in voiceContexts | filter: $select.search">\n                  <div ng-bind-html="context.name | highlight: $select.search"></div>\n                </ui-select-choices>\n              </ui-select>\n              <span class="help-block">\n                {{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n              </span>\n              <span data-ng-show="(forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$error.required" class="help-block help-block-error">\n                <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n              </span>\n            </div>\n            <!-- END CONTEXT -->\n\n                                          <button class="btn green-haze" type="submit" ng-click="next()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n                                    </form>\n                               </wz-step>\n\n                          <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                    <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n                                     <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                         </wz-step>\n            </wizard>\n     </div>\n  </div>\n  <!-- END PORTLET-->\n</div>\n'),a.put("app/yourdashboard/list/create.modal.html",'<div class="modal-header">\n  <h3 class="modal-title">{{ \'APPLICATION_NEW_DASHBOARD\' | translate }}</h3>\n</div>\n<div class="modal-body">\n  <form name="forms.dashboard" novalidate>\n\n    <!-- START NAME -->\n    <div class="form-group" data-ng-class="{\'has-error\': (forms.dashboard.name.$touched || forms.dashboard.$submitted) && forms.dashboard.name.$invalid}">\n      <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n      <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n      <span data-ng-show="(forms.dashboard.name.$touched || forms.dashboard.$submitted) && forms.dashboard.name.$error.required" class="help-block help-block-error">\n        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n      </span>\n    </div>\n    <!-- END NAME -->\n\n    <!-- START DESCRIPTION -->\n    <div class="form-group">\n      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n      <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"></textarea>\n    </div>\n    <!-- END DESCRIPTION -->\n\n  </form>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.dashboard.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/yourdashboard/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n      <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-screen-desktop"></i>\n                                   <a href="/yourdashboards/list">{{ \'APPLICATION_YOUR_DASHBOARDS\' | translate }}</a>\n                          </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-docs font-green-sharp"></i>\n                                    <span class="caption-subject">{{ \'APPLICATION_YOUR_DASHBOARDS\' | translate }}</a> </span>\n                           </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="dashboards.checked.length">\n                                              <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <button class="btn green-jungle " ng-click="create()">\n                                                        <i class="icon-plus"></i> {{ \'APPLICATION_NEW_DASHBOARD\' | translate }}\n                                             </button>\n                                     </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getDashboards([\'name\', \'description\'])" csv-header="[\'Name\', \'Description\']" field-separator=";" filename="dashboards.csv">\n                                 <i class="icon-cloud-download"></i></a>\n                                       <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedDashboards" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                      <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="4">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.dashboardsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                            <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="dashboardByPage in dashboardsByPage | filter: $select.search">\n                                                                                                     <div ng-bind-html="dashboardByPage.name | highlight: $select.search"></div>\n                                                                                           </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(dashboard, checked)" checklist-model checklist-value="id"></th>\n                                                <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                <th st-sort="description">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                              <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="dashboard in displayedDashboards" class="animate-repeat">\n                                                             <td style="text-align: center; vertical-align: middle"><input data-ng-hide="dashboard.defaultEntry" type="checkbox" checklist-model="dashboards.checked" checklist-value="dashboard.id"></td>\n                                                         <td>{{dashboard.name}}</td>\n                                         <td>{{dashboard.description}}</td>\n                                            <td>\n                                                                    <a class="btn default btn-xs green-stripe" data-ng-href="/yourdashboards/show/{{dashboard.id}}">\n                                                                              {{ \'APPLICATION_VIEW\' | translate}}\n                                         </a>\n                                          <a class="btn default btn-xs blue-stripe" data-ng-href="/yourdashboards/view/{{dashboard.id}}/settings">\n                                                                              {{ \'APPLICATION_SETTINGS\' | translate}}\n                                             </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(dashboard.name,dashboard.id)" data-ng-class="{\'disabled\': dashboard.defaultEntry}">\n                                                                              {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedDashboards.length">\n                                                                <td colspan="4" style="text-align:center;">\n                                                                   <i>{{ \'MESSAGE_NO_DASHBOARDS_AVAILABLE\' | translate }}</i>\n                                                          </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="description" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_DESCRIPTION\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                  </div>\n                                                    </td>\n                                                 <td/>\n                                               </tr>\n                                           <tr>\n                                            <td colspan="4" class="text-center">\n                                            <div st-pagination class="pagination" st-items-by-page="conf.dashboardsByPage.value" st-displayed-pages="7"></div>\n                                          </td>\n                                       </tr>\n                                       </tfoot>\n                            </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/yourdashboard/show/show.html",'<div class="col-md-12" ng-init="getDashboard()">\n  <adf-dashboard\n          name="{{dashboard.name}}"\n          collapsible="{{dashboard.collapsible}}"\n          maximizable="{{dashboard.maximizable}}"\n          enableconfirmdelete="{{dashboard.enableconfirmdelete}}"\n          structure="{{dashboard.structure}}"\n          editable="{{dashboard.editable}}"\n          adf-model="dashboard.model"/>\n</div>\n'),a.put("app/yourdashboard/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getDashboard()">\n        <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-screen-desktop"></i>\n                                   <a href="/yourdashboards/list">{{ \'APPLICATION_YOUR_DASHBOARDS\' | translate }}</a>\n                                  <i data-ng-show="dashboard" class="fa fa-angle-right"></i>\n                            </li>\n                         <li data-ng-show="dashboard">\n                                 <a href="#">{{dashboard.name}}</a>\n                            </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img data-ng-src="assets/images/media/dashboard.png" class="img-responsive">\n                          </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{dashboard.name}}\n                                    </div>\n                                        <!-- <div class="profile-usertitle-job">\n                                              {{user.role}}\n                                 </div> -->\n                            </div>\n                                <!-- END SIDEBAR USER TITLE -->\n\n                             <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.yourdashboards.view.settings\')}">\n                                                       <a data-ng-href="/yourdashboards/view/{{dashboard.id}}/settings">\n                                                     <i class="icon-settings"></i>\n                                                 {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n                                                </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/yourdashboard/view/view.settings.html",'<div class="row">\n     <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_DASHBOARD\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n                           </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n                                     </li>\n                         </ul>\n                 </div>\n\n                      <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.general" data-ng-submit="forms.general.$valid && updateDashboard()" novalidate>\n\n                                                   <!-- START VISIBLE TO ADMIN -->\n                                                       <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_VISIBLE_TO_ADMIN\' | translate}}</label><br>\n                                                             <input\n                                                                        bs-switch\n                                                                     ng-model="dashboard.admin"\n                                                                    type="checkbox"\n                                                                       switch-active="{{ radioSwitch.isActive }}"\n                                                                    switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n                                                                        switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n                                                                        switch-on-color="{{ radioSwitch.onColor }}"\n                                                                   switch-off-color="{{ radioSwitch.offColor }}"\n                                                                 switch-animate="{{ radioSwitch.animate }}"\n                                                                    switch-size="{{ radioSwitch.size }}"\n                                                                  switch-label="{{ radioSwitch.label }}"\n                                                                        switch-icon="{{ radioSwitch.icon }}"\n                                                                  switch-radio-off="{{ radioSwitch.radioOff }}"\n                                                                 switch-label-width="{{ radioSwitch.labelWidth }}"\n                                                                     switch-handle-width="{{ radioSwitch.handleWidth }}">\n                                                  </div>\n                                                        <!-- END VISIBLE TO ADMIN -->\n\n                                                       <!-- START VISIBLE TO USER -->\n                                                        <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_VISIBLE_TO_USER\' | translate}}</label><br>\n                                                              <input\n                                                                        bs-switch\n                                                                     ng-model="dashboard.user"\n                                                                     type="checkbox"\n                                                                       switch-active="{{ radioSwitch.isActive }}"\n                                                                    switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n                                                                        switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n                                                                        switch-on-color="{{ radioSwitch.onColor }}"\n                                                                   switch-off-color="{{ radioSwitch.offColor }}"\n                                                                 switch-animate="{{ radioSwitch.animate }}"\n                                                                    switch-size="{{ radioSwitch.size }}"\n                                                                  switch-label="{{ radioSwitch.label }}"\n                                                                        switch-icon="{{ radioSwitch.icon }}"\n                                                                  switch-radio-off="{{ radioSwitch.radioOff }}"\n                                                                 switch-label-width="{{ radioSwitch.labelWidth }}"\n                                                                     switch-handle-width="{{ radioSwitch.handleWidth }}">\n                                                  </div>\n                                                        <!-- END VISIBLE TO USER -->\n\n                                                        <!-- START VISIBLE TO AGENT -->\n                                                       <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_VISIBLE_TO_AGENT\' | translate}}</label><br>\n                                                             <input\n                                                                        bs-switch\n                                                                     ng-model="dashboard.agent"\n                                                                    type="checkbox"\n                                                                       switch-active="{{ radioSwitch.isActive }}"\n                                                                    switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n                                                                        switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n                                                                        switch-on-color="{{ radioSwitch.onColor }}"\n                                                                   switch-off-color="{{ radioSwitch.offColor }}"\n                                                                 switch-animate="{{ radioSwitch.animate }}"\n                                                                    switch-size="{{ radioSwitch.size }}"\n                                                                  switch-label="{{ radioSwitch.label }}"\n                                                                        switch-icon="{{ radioSwitch.icon }}"\n                                                                  switch-radio-off="{{ radioSwitch.radioOff }}"\n                                                                 switch-label-width="{{ radioSwitch.labelWidth }}"\n                                                                     switch-handle-width="{{ radioSwitch.handleWidth }}">\n                                                  </div>\n                                                        <!-- END VISIBLE TO AGENT -->\n\n                                                       <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <textarea type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="dashboard.description"></textarea>\n                                                     </div>\n                                                        <!-- END DESCRIPTION -->\n                                                      <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END ADVANCED TAB -->\n\n                           </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/zendesk/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n  <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <i class="icon-handbag"></i>\n                                  <a href="/zendesk/list">{{ \'APPLICATION_ZENDESK\' | translate }}</a>\n                         </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-handbag font-green-sharp"></i>\n                                 <span class="caption-subject">{{ \'APPLICATION_ZENDESK\' | translate }}</a> </span>\n                           </div>\n                                <div class="actions">\n                                 <div class="btn-group" data-ng-show="accounts.checked.length">\n                                                <a class="btn red" href="#" data-ng-click="deleteItems()">\n                                                    <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n                                           </a>\n                                  </div>\n                                        <div class="btn-group">\n                                               <a class="btn green-jungle" href="#" data-toggle="dropdown">\n                                                  <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }} <i class="fa fa-angle-down"></i>\n                                              </a>\n                                          <ul class="dropdown-menu pull-right">\n                                                 <li>\n                                                          <a href="/zendesk/wizard">\n                                                            <i class="icon-user-following"></i> {{ \'APPLICATION_WIZARD\' | translate }} </a>\n                                                     </li>\n                                         </ul>\n                                 </div>\n                                        <a class="btn btn-icon-only btn-default" href="#" ng-csv="getAccounts([\'name\',\'username\',\'remoteUri\',\'authType\',\'token\',\'password\'])" csv-header="[\'Name\', \'Username\', \'Remote Address\', \'Authentication Type\', \'Token\', \'Password\']" field-separator=";" filename="zendesk_accounts.csv">\n                                    <i class="icon-cloud-download"></i></a>\n                               </div>\n                        </div>\n                        <div class="portlet-body">\n                            <!-- START TABLE -->\n                          <table st-table="displayedZdAccounts" st-pipe="initList" class="table table-striped table-bordered table-hover">\n                                      <div class="table-responsive">\n                                          <thead>\n                                                     <tr>\n                                                          <th colspan="7">\n                                                                      <div class="row">\n                                                                             <div class="col-md-6">\n                                                                                        <ui-select class="input-xsmall" ng-model="conf.accountsByPage" theme="bootstrap" ng-disabled="disabled">\n                                                                                              <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                                                                                             <ui-select-choices repeat="accountByPage in accountsByPage | filter: $select.search">\n                                                                                                 <div ng-bind-html="accountByPage.name | highlight: $select.search"></div>\n                                                                                             </ui-select-choices>\n                                                                                  </ui-select>\n                                                                          </div>\n                                                                                <div class="col-md-6">\n                                                                                        <div class="input-group input-medium pull-right">\n                                                                                             <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n                                                                                         <span class="input-group-addon">\n                                                                                                      <i class="fa fa-search"></i>\n                                                                                          </span>\n                                                                                       </div>\n                                                                                </div>\n                                                                        </div>\n                                                                </th>\n                                                 </tr>\n                                           <tr>\n                                                                <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(account, checked)" checklist-model checklist-value="id"></th>\n                                                  <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n                                                <th st-sort="username">{{ \'APPLICATION_EMAIL\' | translate }}</th>\n                                                               <th st-sort="remoteUri">{{ \'APPLICATION_REMOTE_ADDRESS\' | translate }}</th>\n                                                         <th>{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n                                                                <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                              </tr>\n                                         </thead>\n                                      <tbody>\n                                         <tr data-ng-repeat="account in displayedZdAccounts" class="animate-repeat">\n                                                               <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="accounts.checked" checklist-value="account.id"></td>\n                                         <td>{{account.name}}</td>\n                                             <td>{{account.username}}</td>\n                                                           <td>{{account.remoteUri}}</td>\n                                                                <td>{{account.description}}</td>\n                                            <td>\n                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/zendesk/view/{{account.id}}/account">\n                                                                                {{ \'APPLICATION_EDIT\' | translate }}\n                                                </a>\n                                                                  <a class="btn default btn-xs green-stripe" data-ng-click="checkAccount(account.id)">\n                                                                          {{ \'APPLICATION_CHECK_CONNECTION\' | translate }}\n                                            </a>\n                                          <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(account.name,account.id)">\n                                                                         {{ \'APPLICATION_DELETE\' | translate }}\n                                              </a>\n                                        </td>\n                                       </tr>\n                                                     <tr data-ng-hide="displayedZdAccounts.length">\n                                                                <td colspan="7" style="text-align:center;">\n                                                                   <i>No account available</i>\n                                                           </td>\n                                                 </tr>\n                                   </tbody>\n                                      <tfoot>\n                                                     <tr>\n                                                          <td/>\n                                             <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                        </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="email" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_EMAIL\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                      </div>\n                                                    </td>\n                                                 <td>\n                                                                      <div class="input-icon right">\n                                                                                <i class="fa fa-search"></i>\n                                                                          <input st-search="remoteUri" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_REMOTE_ADDRESS\' | translate | lowercase}}" class="form-control" type="search"/>\n                                                                 </div>\n                                                    </td>\n                                                 <td/>\n                                                             <td/>\n                                           </tr>\n                                           <tr>\n                                            <td colspan="7" class="text-center">\n                                                                    <div class="pagination" st-pagination st-items-by-page="conf.accountsByPage.value" st-displayed-pages="7"></div>\n                                            </td>\n                                       </tr>\n                                       </tfoot>\n                                    </div>\n                                </table>\n                              <!-- END TABLE -->\n                    </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
 a.put("app/zendesk/view/view.account.html",'<div class="row">\n        <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_ACCOUNT\' | translate}}</span>\n                         </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n                                     </li>\n                         </ul>\n                 </div>\n                        <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- GENERAL TAB -->\n                                  <div class="tab-pane active" id="tab_1_1">\n                                            <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n              <!-- START NAME -->\n                                                       <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.name.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.name" required/>\n                                                                <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n                                                     <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n                                                    </div>\n                                                        <!-- END DESCRIPTION -->\n\n              <!-- START USERNAME -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                            <input type="text" name="username" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.username" required/>\n                                                                <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n              <!-- START REMOTE ADDRESS -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                              <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.remoteUri" required />\n                                                            <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n                                                       <!-- START AUTH TYPE -->\n                                                      <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.authType.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}</label>\n                                                              <ui-select data-ng-model="account.authType" name="authType" theme="bootstrap" required>\n                                                                       <ui-select-match placeholder="{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n                                                                        <ui-select-choices repeat="type in [\'password\', \'token\'] | filter: $select.search">\n                                                                               <div data-ng-bind="type | capitalize | highlight: $select.search"></div>\n                                                                      </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.formSetting.authType.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- START AUTH TYPE -->\n\n              <!-- START PASSWORD -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}" ng-slide-down="account.authType == \'password\'" lazy-render duration="1">\n                                                               <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                            <input type="password" name="password" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.password" required/>\n                                                            <span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END PASSWORD -->\n\n              <!-- START TOKEN -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.token.$invalid}" ng-slide-down="account.authType == \'token\'" lazy-render duration="1">\n                                                             <label class="control-label">{{\'APPLICATION_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                               <input type="text" name="token" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.token" required/>\n                                                              <span data-ng-show="forms.formSetting.token.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END TOKEN -->\n\n                                                  <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n                                          </form>\n                                       </div>\n                                        <!-- END GENERAL TAB -->\n\n                            </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/zendesk/view/view.configuration.html",'<div class="row" data-ng-init="initConfiguration()">\n     <div class="col-md-12">\n               <!-- BEGIN  PORTLET-->\n                <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_CONFIGURATION\' | translate }} WIZARD</a> </span>\n                              </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createConfiguration()">\n            <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="formValidation(formsConfiguration.info.$valid)">\n                                                   <form name="formsConfiguration.info" novalidate>\n                                                              <!-- START NAME -->\n                                                           <div class="form-group" data-ng-class="{\'has-error\': formsConfiguration.info.$submitted && formsConfiguration.info.name.$invalid}">\n                                                                 <label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                        <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="configuration.name" required/>\n                                                                  <span data-ng-show="formsConfiguration.info.name.$invalid && formsConfiguration.info.$submitted" class="help-block help-block-error">\n                                                                         <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                                 </span>\n                                                               </div>\n                                                                <!-- END NAME -->\n                                                             <!-- START DESCRIPTION -->\n                                                            <div class="form-group">\n                                                                      <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                                      <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="configuration.description"/>\n                                                              </div>\n                                                                <!-- END DESCRIPTION -->\n\n                                                            <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n                                                       </form>\n                                               </wz-step>\n\n                                          <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                                     <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                                    <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                         </wz-step>\n                            </wizard>\n                     </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/zendesk/view/view.configurationSettings.html",'<div class="row" data-ng-init="getConfiguration();getVariables();getFields();">\n        <div class="col-md-12">\n               <div class="portlet light">\n                   <div class="portlet-title tabbable-line">\n                             <div class="caption caption-md">\n                                      <i class="icon-globe theme-font hide"></i>\n                                    <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n                            </div>\n                                <ul class="nav nav-tabs">\n                                     <li class="active">\n                                           <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n                                      </li>\n          <li>\n                                         <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n                                  </li>\n          <li>\n                                         <a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n                                       </li>\n                         </ul>\n                 </div>\n                        <div class="portlet-body">\n                            <div class="tab-content">\n                                     <!-- SUBJECT TAB -->\n                                  <div class="tab-pane ui-padding active" id="tab_1_1">\n            <div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by blank space:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItemSubject()"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n                                          <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n                <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n                 <div class="col-md-3">\n                  <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n                       <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n                     <ui-select-choices repeat="item in fieldType | filter: $select.search">\n                         <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n                    </ui-select-choices>\n                        </ui-select>\n                </div>\n                <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n                        <div class="form-group">\n                        <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n                      </div>\n                      </div>\n                <div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n                      <div class="form-group">\n                        <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                     <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n                              <div ng-bind-html="variable.name | highlight: $select.search"></div>\n                        </ui-select-choices>\n                        </ui-select>\n                        </div>\n                      </div>\n                <div class="col-md-1">\n                  <div class="form-group">\n                        <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n                  </div>\n                      </div>\n              </div>\n                                            <!-- </div> -->\n                                       </div>\n                                        <!-- END SUBJECT TAB -->\n          <!-- DESCRIPTION TAB -->\n                                  <div class="tab-pane ui-padding" id="tab_1_2">\n                                                <div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">All following fields will be join by new line:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItemDescription()"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n                                            <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n                                                    <div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n                                                               <!-- <pre>\n                                                                    {{descriptionItem|json}}\n                                                              </pre> -->\n                  <div class="col-md-2">\n                  <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n                   <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n                        <ui-select-choices repeat="item in descFieldType | filter: $select.search">\n                     <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n                       </ui-select-choices>\n                        </ui-select>\n                </div>\n                <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n                    <div class="form-group">\n                        <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n                      </div>\n                      </div>\n                                                          <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n                                                                       <input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n                                                          </div>\n                                                                <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n                                                                       <ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n                        <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n                     <ui-select-choices repeat="item in fieldType | filter: $select.search">\n                         <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n                    </ui-select-choices>\n                        </ui-select>\n                                                          </div>\n                                                                <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'string\'">\n                                                                        <input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n                                                         </div>\n                      <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'variable\'">\n                        <div class="form-group">\n                        <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                     <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n                              <div ng-bind-html="variable.name | highlight: $select.search"></div>\n                        </ui-select-choices>\n                        </ui-select>\n                        </div>\n                      </div>\n                <div class="col-md-1">\n                  <div class="form-group">\n                        <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n                      </div>\n                      </div>\n              </div>\n                                            <!-- </div> -->\n                                       </div>\n                                        <!-- END DESCRIPTION TAB -->\n          <!-- FIELDS TAB -->\n                                   <div class="tab-pane ui-padding" id="tab_1_3">\n                                                <div class="row">\n              <div class="col-md-11">\n                <span class="caption-subject">Add how to fill the fields present in your account:</span>\n              </div>\n              <div class="col-md-1 pull-rigth">\n                <button class="btn btn-icon-only green" data-ng-click="addItemField()"><i class="fa fa-plus"></i></button>\n              </div>\n            </div>\n            <hr>\n                                             <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n                <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n                     <div class="col-md-3">\n                  <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n                   <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n                    <ui-select-choices repeat="item.id as item in accountFields | filter: $select.search">\n                          <div ng-bind-html="item.title | highlight: $select.search"></div>\n                   </ui-select-choices>\n                        </ui-select>\n                </div>\n                <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n                    <div class="form-group">\n                                                                              <ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n                               <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                             <ui-select-choices repeat="item.value as item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n                                    <div ng-bind-html="item.name | highlight: $select.search"></div>\n                            </ui-select-choices>\n                                </ui-select>\n                  </div>\n                      </div>\n                                                          <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n                                                                 <div class="form-group">\n                                                                              <ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n                           <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n                                <ui-select-choices repeat="item in fieldType | filter: $select.search">\n                                 <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n                               </ui-select-choices>\n                                </ui-select>\n                                                                  </div>\n                                                                </div>\n                                                                <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n                        <div class="form-group">\n                                                                              <input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n                    </div>\n                      </div>\n                                                          <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n                      <div class="form-group">\n                                                                              <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n                         <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n                     <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n                              <div ng-bind-html="variable.name | highlight: $select.search"></div>\n                        </ui-select-choices>\n                        </ui-select>\n                        </div>\n                      </div>\n                <div class="col-md-1">\n                  <div class="form-group">\n                        <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n                    </div>\n                      </div>\n              </div>\n                                            <!-- </div> -->\n                                       </div>\n                                        <!-- END FIELDS TAB -->\n                               </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/zendesk/view/view.configurations.html",'<div ui-view class="profile-content">\n   <div class="row" data-ng-init="getConfigurations()">\n          <div class="col-md-12">\n                       <div class="portlet light">\n                           <div class="portlet-title  tabbable-line">\n                                    <div class="caption caption-md">\n                                              <i class="icon-globe theme-font hide"></i>\n                                            <span class="caption-subject font-blue-madison bold uppercase">{{\'APPLICATION_CONFIGURATIONS\' | translate}}</span>\n                                  </div>\n                                        <div class="actions">\n                                         <div class="btn-group">\n                                                       <a class="btn green-jungle " href="/zendesk/view/{{account.id}}/configuration" data-toggle="dropdown">\n                                                                <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONFIGURATION\' | translate }}\n                                                 </a>\n                                          </div>\n                                        </div>\n                                </div>\n                                <div class="portlet-body">\n                                    <!-- START TABLE -->\n                                  <table class="table table-striped table-bordered table-hover">\n                                                  <thead>\n                                                       <tr>\n                                                            <th>{{\'APPLICATION_NAME\' | translate}}</th>\n                                                                     <th>{{\'APPLICATION_DESCRIPTION\' | translate}}</th>\n                                                                  <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n                                                      </tr>\n                                                 </thead>\n                                                    <tbody>\n                                                   <tr data-ng-repeat="configuration in configurations">\n                                                                     <td>{{configuration.name}}</td>\n                                                                       <td>{{configuration.description}}</td>\n                                                      <td>\n                                                                            <a class="btn default btn-xs blue-stripe" data-ng-href="/zendesk/view/{{account.id}}/configurations/settings/{{configuration.id}}">\n                                                                                   {{ \'APPLICATION_SETTINGS\' | translate}}\n                                                     </a>\n                                                  <a class="btn default btn-xs red-stripe" data-ng-click="deleteConfiguration(configuration.name,configuration.id)">\n                                                                                    {{ \'APPLICATION_DELETE\' | translate }}\n                                                      </a>\n                                                </td>\n                                               </tr>\n                                                             <tr data-ng-hide="configurations.length">\n                                                                     <td colspan="5" style="text-align:center;">\n                                                                           <i>No configuration available</i>\n                                                                     </td>\n                                                         </tr>\n                                           </tbody>\n                                    </table>\n                                      <!-- END TABLE -->\n                            </div>\n                        </div>\n                </div>\n        </div>\n</div>\n'),a.put("app/zendesk/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initView()">\n        <div class="col-md-12">\n               <div class="page-bar">\n                        <ul class="page-breadcrumb">\n                          <li>\n                                  <i class="icon-rocket"></i>\n                                   <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                   <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n          <i class="icon-handbag"></i>\n          <a href="/zendesk/list">{{ \'APPLICATION_ZENDESK\' | translate }}</a>\n                                 <i class="fa fa-angle-right"></i>\n                             </li>\n                         <li>\n                                  <a href="#">{{account.name}}</a>\n                              </li>\n                 </ul>\n         </div>\n\n              <!-- BEGIN PROFILE SIDEBAR -->\n                <div class="profile-sidebar">\n                 <!-- PORTLET MAIN -->\n                 <div class="portlet light profile-sidebar-portlet">\n                           <!-- SIDEBAR USERPIC -->\n                              <div class="profile-image">\n                                   <img src="assets/images/media/zendesk.png" class="img-responsive">\n                            </div>\n                                <!-- END SIDEBAR USERPIC -->\n                          <!-- SIDEBAR USER TITLE -->\n                           <div class="profile-usertitle">\n                                       <div class="profile-usertitle-name">\n                                          {{account.name}}\n                                      </div>\n                                        <div class="profile-usertitle-job">\n                                           {{account.remoteUri}}\n                                 </div>\n                                </div>\n                                <!-- END SIDEBAR USER TITLE -->\n                               <!-- SIDEBAR MENU -->\n                         <div class="profile-usermenu">\n                                        <ul class="nav">\n                                              <li data-ng-class="{active: $state.is(\'main.zendesk.view.account\')}">\n                                                       <a ng-href="/zendesk/view/{{account.id}}/account">\n                                                    <i class="icon-user"></i>\n                                                     {{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n                                                </li>\n                                         <li data-ng-class="{active: $state.includes(\'main.zendesk.view.configurations\') || $state.is(\'main.zendesk.view.configuration\')}">\n                                                        <a ng-href="/zendesk/view/{{account.id}}/configurations">\n                                                     <i class="icon-settings"></i>\n                                                 {{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n                                         </li>\n                                 </ul>\n                         </div>\n                                <!-- END MENU -->\n                     </div>\n                        <!-- END PORTLET MAIN -->\n             </div>\n                <!-- END BEGIN PROFILE SIDEBAR -->\n            <!-- BEGIN PROFILE CONTENT -->\n                <div ui-view class="profile-content">\n         </div>\n                <!-- END PROFILE CONTENT -->\n  </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/zendesk/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\n     <div class="col-md-12">\n                       <div class="page-bar">\n                                <ul class="page-breadcrumb">\n                                  <li>\n                                          <i class="icon-rocket"></i>\n                                           <a href="/">{{ \'APPLICATION_DASHBOARD\' | translate }}</a>\n                                           <i class="fa fa-angle-right"></i>\n                                     </li>\n                                 <li>\n                                          <i class="icon-handbag"></i>\n                                          <a href="/zendesk/list">{{ \'APPLICATION_ZENDESK\' | translate }}</a>\n                                 </li>\n                         </ul>\n                 </div>\n                </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initWizard()">\n  <div class="col-md-12">\n               <!-- BEGIN Portlet PORTLET-->\n         <div class="portlet light bordered">\n                  <div class="portlet-title">\n                           <div class="caption font-green-sharp">\n                                        <i class="icon-notebook font-green-sharp"></i>\n                                        <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n                            </div>\n                        </div>\n                        <div class="portlet-body">\n                            <wizard on-finish="createItem()">\n          <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n                                                <form name="forms.formSetting" novalidate>\n\n                                                  <!-- START NAME -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.name.$invalid}">\n                                                             <label class="control-label">{{\'APPLICATION_NAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                                <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required/>\n                                                           <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                     <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END NAME -->\n\n                                                   <!-- START DESCRIPTION -->\n                                                    <div class="form-group">\n                                                              <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n                                                              <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n                                                       </div>\n                                                        <!-- END DESCRIPTION -->\n\n              <!-- START USERNAME -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                            <input type="text" name="username" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.username" required ng-remote-validate="/api/zendesk/accounts/validate/username"/>\n                                                              <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                               <span data-ng-show="(forms.formSetting.username.$touched || forms.formSetting.$submitted) && forms.formSetting.username.$error.ngRemoteValidate" class="help-block help-block-error">\n                                   <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n                                       </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n              <!-- START REMOTE ADDRESS -->\n                                                  <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n                                                                <label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                              <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.remoteUri" required ng-remote-validate="/api/zendesk/accounts/validate/remoteUri"/>\n                                                          <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                        <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                               <span data-ng-show="(forms.formSetting.remoteUri.$touched || forms.formSetting.$submitted) && forms.formSetting.remoteUri.$error.ngRemoteValidate" class="help-block help-block-error">\n                                         <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_DOMAIN\' | translate}}.\n                                 </span>\n                                                       </div>\n                                                        <!-- END USERNAME -->\n\n                                                       <!-- START AUTH TYPE -->\n                                                      <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.authType.$invalid}">\n                                                         <label class="control-label">{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}</label>\n                                                              <ui-select data-ng-model="item.authType" name="authType" theme="bootstrap" required>\n                                                                  <ui-select-match placeholder="{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n                                                                        <ui-select-choices repeat="type in [\'password\', \'token\'] | filter: $select.search">\n                                                                               <div data-ng-bind="type | capitalize | highlight: $select.search"></div>\n                                                                      </ui-select-choices>\n                                                          </ui-select>\n                                                          <span data-ng-show="forms.formSetting.authType.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- START AUTH TYPE -->\n\n              <!-- START PASSWORD -->\n                                                     <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}" ng-slide-down="item.authType == \'password\'" lazy-render duration="1">\n                                                          <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                            <input type="password" name="password" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n                                                               <span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END PASSWORD -->\n\n              <!-- START TOKEN -->\n                                                   <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.token.$invalid}" ng-slide-down="item.authType == \'token\'" lazy-render duration="1">\n                                                                <label class="control-label">{{\'APPLICATION_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n                                                               <input type="text" name="token" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.token" required/>\n                                                         <span data-ng-show="forms.formSetting.token.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n                                                                    <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n                                                         </span>\n                                                       </div>\n                                                        <!-- END TOKEN -->\n\n                                                  <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n                                               </form>\n                                       </wz-step>\n\n                                  <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n                                             <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n                                            <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n                                 </wz-step>\n\n                          </wizard>\n\n                   </div>\n                </div>\n                <!-- END Portlet PORTLET-->\n   </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),
-a.put("components/footer/footer.html",'<!-- BEGIN FOOTER -->\n<div class="page-footer" data-ng-init="initFooter()">\n  <div class="page-footer-inner">\n     {{info.name}} v. {{info.version}} | 2015-2016 &copy; Powered by Xenialab\n  </div>\n  <div class="scroll-to-top">\n    <i class="icon-arrow-up"></i>\n  </div>\n</div>\n<!-- END FOOTER -->\n'),a.put("components/header/header.html",'<!-- BEGIN HEADER INNER -->\n<div class="page-header-inner" data-ng-init="initHeader()">\n  <!-- BEGIN LOGO -->\n  <div class="page-logo">\n    <a href="/">\n    <img src="assets/images/logo.png" alt="logo" class="logo-default"/>\n    </a>\n    <div class="menu-toggler sidebar-toggler">\n      <!-- DOC: Remove the above "hide" to enable the sidebar toggler button on header -->\n    </div>\n  </div>\n  <!-- END LOGO -->\n  <!-- BEGIN HEADER SEARCH BOX -->\n  <!-- DOC: Apply "search-form-expanded" right after the "search-form" class to have half expanded search box -->\n  <form class="search-form hide" action="extra_search.html" method="GET">\n    <div class="input-group">\n      <input type="text" class="form-control" placeholder="Search..." name="query">\n      <span class="input-group-btn">\n      <a href="javascript:;" class="btn submit"><i class="icon-magnifier"></i></a>\n      </span>\n    </div>\n  </form>\n  <!-- END HEADER SEARCH BOX -->\n  <!-- BEGIN RESPONSIVE MENU TOGGLER -->\n  <a href="javascript:;" class="menu-toggler responsive-toggler" data-toggle="collapse" data-target=".navbar-collapse">\n  </a>\n  <!-- END RESPONSIVE MENU TOGGLER -->\n  <!-- BEGIN TOP NAVIGATION MENU -->\n  <div class="top-menu">\n    <ul class="nav navbar-nav pull-right">\n      <!-- BEGIN LANGUAGE BAR -->\n      <!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte -->\n      <li class="dropdown dropdown-language">\n        <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n        <img ng-src="assets/images/flags/{{ language }}.png">\n        <i class="fa fa-angle-down"></i>\n        </a>\n        <ul class="dropdown-menu dropdown-menu-default">\n          <li>\n            <a href="#" ng-click="changeLanguage(\'it\')">\n            <img alt="" src="assets/images/flags/it.png"> Italian </a>\n          </li>\n          <li>\n            <a href="#" ng-click="changeLanguage(\'en_EN\')">\n            <img alt="" src="assets/images/flags/en_EN.png"> English </a>\n          </li>\n        </ul>\n      </li>\n      <!-- END LANGUAGE BAR -->\n      <!-- BEGIN USER LOGIN DROPDOWN -->\n      <!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte -->\n      <li class="dropdown dropdown-user">\n        <a href="#" class="dropdown-toggle" dropdown-menu-hover data-toggle="dropdown" data-close-others="true">\n        <img class="img-circle" data-ng-src="api/users/avatar/{{getCurrentUser().userpic || \'unknown_avatar\'}}" alt="...">\n        <span class="username username-hide-on-mobile">\n          {{ getCurrentUser().fullname }} </span>\n        <i class="fa fa-angle-down"></i>\n        </a>\n        <ul class="dropdown-menu dropdown-menu-default">\n          <li>\n            <a ng-href=" {{isAdmin() ? \'/users/view/\'+getCurrentUser().id+\'/account\' : \'/agents/view/\'+getCurrentUser().id+\'/account\'}}">\n            <i class="icon-key"></i>Change password</a>\n          </li>\n          <!-- <li>\n            <a href="#">\n            <i class="icon-calendar"></i> My Calendar </a>\n          </li> -->\n          <!-- <li>\n            <a href="#">\n            <i class="icon-envelope-open"></i> My Inbox <span class="badge badge-danger">\n            3 </span>\n            </a>\n          </li> -->\n          <!-- <li>\n            <a href="#/todo">\n            <i class="icon-rocket"></i> My Tasks <span class="badge badge-success">\n            7 </span>\n            </a>\n          </li> -->\n          <!-- <li class="divider">\n          </li> -->\n          <!-- <li>\n            <a href="#">\n            <i class="icon-lock"></i> Lock Screen </a>\n          </li> -->\n          <li data-ng-click="logout()">\n            <a href="#">\n            <i class="icon-logout"></i> Log Out </a>\n          </li>\n        </ul>\n      </li>\n      <!-- END USER LOGIN DROPDOWN -->\n      <!-- BEGIN QUICK SIDEBAR TOGGLER -->\n      <!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte -->\n      <li class="dropdown dropdown-quick-sidebar-toggler" data-ng-click="toggleQuickSidebar()">\n        <a href="#" class="dropdown-toggle">\n        <i class="icon-logout"></i>\n        </a>\n      </li>\n      <!-- END QUICK SIDEBAR TOGGLER -->\n    </ul>\n  </div>\n  <!-- END TOP NAVIGATION MENU -->\n</div>\n<!-- END HEADER INNER -->\n'),a.put("components/modal/delete.html",'<div class="modal-header">\n  <button ng-if="modal.dismissable" type="button" ng-click="$dismiss()" class="close">&times;</button>\n  <h4 ng-if="modal.title" ng-bind="modal.title" class="modal-title"></h4>\n</div>\n<div class="modal-body">\n  <p ng-if="modal.text" ng-bind="modal.text"></p>\n  <div ng-if="modal.html" ng-bind-html="modal.html"></div>\n</div>\n<div class="modal-footer">\n  <button ng-repeat="button in modal.buttons" ng-class="button.classes" ng-click="button.click($event)" ng-bind="button.text" class="btn"></button>\n</div>\n'),a.put("components/quickSidebar/modal/add.html",'<div class="modal-header">\n  <button ng-if="modal.dismissable" type="button" ng-click="$dismiss()" class="close">&times;</button>\n  <h4 ng-if="modal.title" ng-bind="modal.title | translate" class="modal-title"></h4>\n</div>\n\n<div class="modal-body">\n  <div class="portlet box blue">\n            <div class="portlet-title">\n                   <div class="caption">\n                         <i class="icon-people"></i>{{\'APPLICATION_SELECTED_AGENTS\' | translate}}\n                    </div>\n                </div>\n                <div class="portlet-body">\n                    <ul>\n                          <li data-ng-repeat="item in items">\n                                    {{item.fullname}}\n                            </li>\n\n        <li data-ng-repeat="item in selected.items">\n                                  {{item.fullname}}\n                            </li>\n                 </ul>\n         </div>\n        </div>\n\n  <ui-select multiple name="items" ng-model="selected.items" theme="bootstrap">\n    <ui-select-match placeholder="{{\'APPLICATION_SELECTED_AGENTS\' | translate}}">{{$item.fullname}}</ui-select-match>\n    <ui-select-choices repeat="{id: agent.id, fullname: agent.fullname} as agent in agents.rows | filter: $select.search">\n      {{agent.fullname}}\n    </ui-select-choices>\n  </ui-select>\n</div>\n\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-show="selected.items.length">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("components/quickSidebar/modal/close.html",'<div class="modal-header">\n  <button ng-if="modal.dismissable" type="button" ng-click="$dismiss()" class="close">&times;</button>\n  <h4 ng-if="modal.title" ng-bind="modal.title | translate" class="modal-title"></h4>\n</div>\n<div class="modal-body">\n  <p ng-if="modal.text" ng-bind="modal.text | translate"></p>\n  <!-- <div ng-if="modal.html" ng-bind-html="modal.html"></div> -->\n</div>\n<div class="modal-footer">\n  <button class="btn btn-danger" type="button" ng-click="ok()">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n  <!-- <button ng-repeat="button in modal.buttons" ng-class="button.classes" ng-click="button.click($event)" ng-bind="button.text" class="btn"></button> -->\n</div>\n'),a.put("components/quickSidebar/quickSidebar.html",'<div class="page-quick-sidebar">\n  <div class="nav-justified">\n    <ul class="nav nav-tabs nav-justified">\n      <li data-ng-class="{active:currentTab==0}" data-ng-click="goToTab(0)">\n        <a href="#">\n          <i class="icon-people"></i>\n        </a>\n      </li>\n      <li data-ng-class="{active:currentTab==1}" data-ng-click="goToTab(1)">\n        <a href="#">\n        <i class="icon-eye"></i>\n        </a>\n      </li>\n      <li data-ng-class="{active:currentTab==2}" data-ng-click="goToTab(2)">\n        <a href="#">\n        <i class="icon-globe"></i>\n        </a>\n      </li>\n      <li data-ng-class="{active:currentTab==3}" data-ng-click="goToTab(3)">\n        <a href="#">\n        <i class="icon-bubbles"></i>\n        </a>\n      </li>\n    </ul>\n    <div class="tab-content">\n      <div class="tab-pane page-quick-sidebar-chat" ng-class="{active:currentTab==0 && !messagesTab}">\n        <div class="page-quick-sidebar-chat-users" data-rail-color="#ddd" data-wrapper-class="page-quick-sidebar-list" >\n          <div class="quicksidebar-search">\n            <div class="input-group">\n                                                       <input type="search" class="form-control" placeholder="{{\'APPLICATION_SEARCH\' | translate}} {{\'APPLICATION_AGENT\' | translate}}..." ng-model="searchAgent">\n                                                       <span class="input-group-btn">\n                                                        <i class="icon-magnifier"></i>\n                                                        </span>\n                                               </div>\n          </div>\n          <ul class="media-list list-items" data-ng-style="style" ng-scrollbars>\n            <li class="media animate-repeat" data-ng-repeat="agent in agents.rows | orderBy:\'-online\' | filter:searchAgent as resultsAgent" data-ng-if="agent.id !== currentUser.id">\n              <img class="media-object" data-ng-src="api/users/avatar/{{agent.userpic ? agent.userpic : \'unknown_avatar\'}}" alt="{{agent.fullname}}">\n              <div class="media-body" data-ng-click="goToMessage(agent.id)">\n                <h4 class="media-heading"><span class="item-status">{{agent.fullname | characters:15 :true}} {{agent.internal}}</h4>\n                <div class="media-heading-small">\n                   <span class="badge badge-empty" data-ng-class="agent.online ? \'badge-success\' : \'badge-danger\'"></span></span> {{\'APPLICATION_LAST_SEEN\' | translate | lowercase}} <time is="relative-time" datetime="{{agent.updatedAt}}">April 1, 2014</time>\n                </div>\n              </div>\n            </li>\n            <li class="media animate-repeat" ng-if="agents.rows.length == 0">\n              <div class="media-body" style="text-align: center;">\n                <h4 class="media-heading"><i>{{\'MESSAGE_NO_AGENTS_FOUND\' | translate | lowercase}}</i></h4>\n              </div>\n            </li>\n            <li class="media animate-repeat" ng-if="resultsAgent.length == 0">\n              <div class="media-body" style="text-align: center;">\n                <h4 class="media-heading"><i>{{\'MESSAGE_NO_AGENTS_FOUND\' | translate | lowercase}}</i></h4>\n              </div>\n            </li>\n          </ul>\n        </div>\n      </div>\n      <div class="tab-pane page-quick-sidebar-chat" ng-class="{active:currentTab==1 && !messagesTab}">\n        <div class="page-quick-sidebar-chat-users" data-rail-color="#ddd" data-wrapper-class="page-quick-sidebar-list">\n          <div class="quicksidebar-search">\n            <div class="input-group">\n              <input type="search" class="form-control" placeholder="{{\'APPLICATION_SEARCH\' | translate}} {{\'APPLICATION_USER\' | translate}}..." ng-model="searchUser">\n              <span class="input-group-btn">\n              <i class="icon-magnifier"></i>\n              </span>\n            </div>\n          </div>\n          <ul class="media-list list-items"  data-ng-style="style" ng-scrollbars>\n            <li class="media animate-repeat" data-ng-repeat="user in users.rows | orderBy:\'-online\' | filter:searchUser as resultsUser" data-ng-if="user.id !== currentUser.id">\n              <img class="media-object" data-ng-src="api/users/avatar/{{user.userpic ? user.userpic : \'unknown_avatar\'}}" alt="{{user.fullname}}">\n              <div class="media-body" data-ng-click="goToMessage(user.id)">\n                <h4 class="media-heading">{{user.fullname | characters:15 :true}} {{user.internal}}</h4>\n                <div class="media-heading-small">\n                   <span class="badge badge-empty" data-ng-class="user.online ? \'badge-success\' : \'badge-danger\'"></span> {{\'APPLICATION_LAST_SEEN\' | translate | lowercase}} <time is="relative-time" datetime="{{user.updatedAt}}">April 1, 2014</time>\n                </div>\n              </div>\n            </li>\n            <li class="media animate-repeat" ng-if="users.rows.length == 0">\n              <div class="media-body" style="text-align: center;">\n                <h4 class="media-heading"><i>{{\'MESSAGE_NO_USERS_FOUND\' | translate | lowercase}}</i></h4>\n              </div>\n            </li>\n            <li class="media animate-repeat" ng-if="resultsUser.length == 0">\n              <div class="media-body" style="text-align: center;">\n                <h4 class="media-heading"><i>{{\'MESSAGE_NO_USERS_FOUND\' | translate | lowercase}}</i></h4>\n              </div>\n            </li>\n          </ul>\n        </div>\n      </div>\n      <div class="tab-pane page-quick-sidebar-chat" ng-class="{active:currentTab==2 && !messagesTab}">\n        <div class="page-quick-sidebar-chat-users" data-rail-color="#ddd" data-wrapper-class="page-quick-sidebar-list">\n          <div class="quicksidebar-search">\n            <div class="input-group">\n              <input type="search" class="form-control" placeholder="{{\'APPLICATION_SEARCH\' | translate}} {{\'APPLICATION_USER\' | translate}}..." data-ng-model="searchChatRoomsExternals">\n              <span class="input-group-btn">\n              <i class="icon-magnifier"></i>\n              </span>\n            </div>\n          </div>\n          <ul class="media-list list-items"  data-ng-style="style" ng-scrollbars>\n            <li class="media animate-repeat" data-ng-repeat="chatRoom in chatRooms | QuickSidebarFilterUsersLowerThan:2 | filter:{type:\'external\'} | filter:searchChatRoomsExternals as resultsChatRoomsExternals">\n              <div class="media-status">\n                <i class="icon icon-close" data-ng-show="chatRoom.status === \'close\'"></i>\n              </div>\n              <img class="media-object" data-ng-src="api/users/avatar/{{user.userpic ? user.userpic : \'unknown_avatar\'}}" alt="{{user.fullname}}">\n              <div class="media-body" data-ng-click="goToMessage(null, chatRoom.id)">\n                <h4 class="media-heading">{{chatRoom.ChatVisitor.fullname}}</h4>\n                <div class="media-heading-small">\n                   {{\'APPLICATION_LAST_SEEN\' | translate | lowercase}} <time is="relative-time" datetime="{{chatRoom.createdAt}}">April 1, 2014</time>\n                </div>\n              </div>\n            </li>\n            <li class="media animate-repeat" data-ng-if="resultsChatRoomsExternals.length === 0">\n              <div class="media-body" style="text-align: center;">\n                <h4 class="media-heading"><i>{{\'MESSAGE_NO_CHATS_FOUND\' | translate | lowercase}}</i></h4>\n              </div>\n            </li>\n          </ul>\n        </div>\n      </div>\n      <div class="tab-pane page-quick-sidebar-chat" ng-class="{active:currentTab==3 && !messagesTab}">\n        <div class="page-quick-sidebar-chat-users" data-rail-color="#ddd" data-wrapper-class="page-quick-sidebar-list">\n          <div class="quicksidebar-search">\n            <div class="input-group">\n              <input type="search" class="form-control" placeholder="{{\'APPLICATION_SEARCH\' | translate}} {{\'APPLICATION_USER\' | translate}}..." data-ng-model="searchChatRoomsGroups">\n              <span class="input-group-btn">\n              <i class="icon-magnifier"></i>\n              </span>\n            </div>\n          </div>\n          <ul class="media-list list-items"  data-ng-style="style" ng-scrollbars>\n            <li class="media animate-repeat" data-ng-repeat="chatRoom in chatRooms | QuickSidebarFilterUsersGreaterThan:2 | filter:searchChatRoomsGroups as resultsChatRoomsGroups">\n              <img class="media-object" data-ng-src="api/users/avatar/{{user.userpic ? user.userpic : \'unknown_avatar\'}}" alt="{{user.fullname}}">\n              <div class="media-body" data-ng-click="goToMessage(null, chatRoom.id)">\n                <h4 class="media-heading">{{chatRoom.ChatVisitor.fullname}}</h4>\n                <div class="media-heading-small">\n                   {{\'APPLICATION_LAST_SEEN\' | translate | lowercase}} <time is="relative-time" datetime="{{chatRoom.updatedAt}}">April 1, 2014</time>\n                </div>\n                <div class="media-heading-small">\n                  <div data-ng-repeat="user in chatRoom.Users | map: \'fullname\'" class="inline">\n                    {{ $last ? user : user + \', \'}}\n                  </div>\n                </div>\n              </div>\n            </li>\n            <li class="media animate-repeat" data-ng-if="resultsChatRoomsGroups.length === 0">\n              <div class="media-body" style="text-align: center;">\n                <h4 class="media-heading"><i>{{\'MESSAGE_NO_CHATS_FOUND\' | translate | lowercase}}</i></h4>\n              </div>\n            </li>\n          </ul>\n        </div>\n      </div>\n      <div class="tab-pane page-quick-sidebar-chat page-quick-sidebar-content-item-shown" ng-class="{active:messagesTab}">\n        <div class="page-quick-sidebar-chat-users" data-rail-color="#ddd" data-wrapper-class="page-quick-sidebar-list" >\n          <div class="quicksidebar-search">\n            <div class="input-group">\n              <input type="search" class="form-control" placeholder="{{\'APPLICATION_SEARCH\' | translate}} {{\'APPLICATION_MESSAGE\' | translate}}..." ng-model="searchMessage">\n              <span class="input-group-btn">\n              <i class="icon-magnifier"></i>\n              </span>\n            </div>\n          </div>\n        </div>\n        <div class="page-quick-sidebar-item">\n          <div class="page-quick-sidebar-chat-user" data-wrapper-class="page-quick-sidebar-list">\n            <div class="page-quick-sidebar-nav">\n                <a href="#" class="page-quick-sidebar-back-to-list" data-ng-click="goBack()"><i class="icon-arrow-left"></i>Back</a>\n            </div>\n            <div id="page-quick-sidebar-chat-user-messages" class="page-quick-sidebar-chat-user-messages" data-ng-style="style2" ng-scrollbars>\n              <div class="post animate-repeat" data-ng-repeat="chatMessage in chatRoom.ChatMessages | filter:searchMessage as resultsMessage" data-ng-class="chatMessage.UserId === currentUser.id ? \'in\' : \'out\'">\n                <img class="avatar" alt="" ng-src="api/users/avatar/unknown_avatar"/>\n                <div class="message">\n                  <span class="arrow"></span>\n                  <a href="#" class="name">{{chatMessage.User.fullname || chatMessage.ChatVisitor .fullname}}</a> -\n                  <span class="datetime">\n                    <time is="relative-time" datetime="{{chatMessage.createdAt}}">\n                      April 1, 2014\n                    </time>\n                  </span>\n                  <ng-emoticons class="body" emoticons-data="chatMessage.body" emoticons-options="options"/>\n                </div>\n              </div>\n\n              <div class="media-body" style="text-align: center;" data-ng-if="resultsMessage.length == 0">\n                <h5 class="media-heading"><i>{{\'MESSAGE_NO_MESSAGES_FOUND\' | translate | lowercase}}</i></h5>\n              </div>\n\n              <div class="media-body" style="text-align: center;" data-ng-if="chatRoom.status === \'close\'">\n                <h5 class="media-heading"><i>{{\'MESSAGE_CHAT_CLOSED\' | translate | lowercase}}</i></h5>\n              </div>\n\n            </div>\n            <div class="page-quick-sidebar-chat-user-form">\n              <textarea rows="3" class="form-control" style="border:none;resize: none;" placeholder="Type a message here..." ng-enter="sendMessage()" data-ng-model="message.body" data-ng-disabled="chatRoom.status === \'close\'"></textarea>\n              <div class="btn-group" style="width:100%;background-color:white">\n                <button type="button" class="btn btn-default" style="border:none" data-ng-disabled="chatRoom.status === \'close\'" data-ng-click="addAgent(chatRoom.id)"><i class="icon-plus font-blue"></i></button>\n                <button type="button" class="btn btn-default pull-right" style="border:none" data-ng-disabled="chatRoom.status === \'close\'" data-ng-click="closeChatRoom(chatRoom.id)" data-ng-show="chatRoom.type === \'external\'"><i class="icon-close font-red"></i></button>\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n'),a.put("components/sidebar/sidebar.html",'<div id="page-sidebar" class="page-sidebar navbar-collapse collapse">\n  <!-- BEGIN SIDEBAR MENU -->\n  <!-- DOC: Apply "page-sidebar-menu-light" class right after "page-sidebar-menu" to enable light sidebar menu style(without borders) -->\n  <!-- DOC: Apply "page-sidebar-menu-hover-submenu" class right after "page-sidebar-menu" to enable hoverable(hover vs accordion) sub menu mode -->\n  <!-- DOC: Apply "page-sidebar-menu-closed" class right after "page-sidebar-menu" to collapse("page-sidebar-closed" class must be applied to the body element) the sidebar sub menu mode -->\n  <!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing -->\n  <!-- DOC: Set data-keep-expand="true" to keep the submenues expanded -->\n  <!-- DOC: Set data-auto-speed="200" to adjust the sub menu slide up/down speed -->\n  <ul data-ng-click="mainTab.active=true" class="page-sidebar-menu" data-keep-expanded="false" data-auto-scroll="true" data-slide-speed="200" data-ng-class="{\'page-sidebar-menu-closed\': settings.layout.pageSidebarClosed}" data-ng-init="getSidebarIntegrations()">\n    <!-- DOC: To remove the search box from the sidebar you just need to completely remove the below "sidebar-search-wrapper" LI element -->\n    <li class="sidebar-search-wrapper">\n      <!-- BEGIN RESPONSIVE QUICK SEARCH FORM -->\n      <!-- DOC: Apply "sidebar-search-bordered" class the below search form to have bordered search box -->\n      <!-- DOC: Apply "sidebar-search-bordered sidebar-search-solid" class the below search form to have bordered & solid search box -->\n      <form class="sidebar-search sidebar-search-bordered" action="extra_search.html" method="POST">\n        <a href="javascript:;" class="remove">\n        <i class="icon-close"></i>\n        </a>\n        <!-- <div class="input-group">\n          <input type="text" class="form-control" placeholder="Search...">\n          <span class="input-group-btn">\n          <a href="javascript:;" class="btn submit"><i class="icon-magnifier"></i></a>\n          </span>\n        </div> -->\n      </form>\n      <!-- END RESPONSIVE QUICK SEARCH FORM -->\n    </li>\n\n    <!-- START DASHBOARD CASE -->\n    <li class="start" data-ng-show="isAssociated(\'dashboard\')" data-ng-class="{active: $state.includes(\'main.dashboard\')}">\n      <a href="/dashboard/voice">\n        <i class="icon-rocket"></i>\n        <span class="title">{{\'APPLICATION_DASHBOARD\' | translate}}</span>\n        <span data-ng-show="$state.includes(\'main.dashboard\')" class="selected"></span>\n      </a>\n    </li>\n    <!-- END DASHBOARD CASE -->\n\n    <!-- START YOURDASHBOARD LIST CASE -->\n    <li data-ng-class="{active: $state.is(\'main.yourdashboards.show\')}" data-ng-show="Auth.isAdmin()">\n      <a href="javascript:;">\n        <i class="icon-screen-desktop"></i>\n        <span class="title" >{{\'APPLICATION_YOUR_DASHBOARDS\' | translate}}</span>\n        <span class="arrow" data-ng-class="{ open: $state.includes(\'main.yourdashboards.show\') }"></span>\n      </a>\n      <ul class="sub-menu" data-ng-init="getSidebarDashboards()">\n        <li data-ng-class="{active: $stateParams.id == dashboard.id && $state.includes(\'main.yourdashboards.show\')}" data-ng-repeat="dashboard in dashboards" data-ng-show="dashboard[Auth.getRole()] && dashboard.visible">\n          <a href="/yourdashboards/show/{{dashboard.id}}" >\n          <i class="icon-screen-tablet"></i>\n          <span class="title" >{{dashboard.name}}  </span>\n          </a>\n        </li>\n       </ul>\n    </li>\n    <!-- END YOURDASHBOARD LIST CASE -->\n\n    <!-- START STAFF SEPARATOR -->\n    <li class="heading" data-ng-show="Auth.isAdmin()">\n      <h3 class="uppercase"> <span >{{\'APPLICATION_STAFF\' | translate}}  </span> </h3>\n    </li>\n    <!-- END STAFF SEPARATOR -->\n\n    <!-- START USERS CASE -->\n    <!-- <li data-ng-show="isAssociated(\'users\')" data-ng-class="{active: $state.includes(\'main.users\')}"> -->\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.users\')}">\n      <a href="/users/list">\n        <i class="icon-eye"></i>\n        <span class="title" >{{\'APPLICATION_USERS\' | translate}}</span>\n        <span data-ng-show="$state.includes(\'main.users\')" class="selected"></span>\n      </a>\n    </li>\n    <!-- END USERS CASE -->\n\n    <!-- START AGENTS CASE -->\n    <!-- <li data-ng-show="isAssociated(\'agents\')" data-ng-class="{active: $state.includes(\'main.agents\')}"> -->\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.agents\')}">\n      <a href="/agents/list">\n        <i class="icon-people"></i>\n        <span class="title" >{{\'APPLICATION_AGENTS\' | translate}}</span>\n        <span data-ng-show="$state.includes(\'main.agents\')" class="selected"></span>\n      </a>\n    </li>\n    <!-- END AGENTS CASE -->\n\n    <!-- START TEAMS CASE -->\n    <li data-ng-show="isAssociated(\'teams\')" data-ng-class="{active: $state.includes(\'main.teams\')}">\n      <a href="/teams/list">\n        <i class="icon-shield"></i>\n        <span class="title" >{{\'APPLICATION_TEAMS\' | translate}}</span>\n        <span data-ng-show="$state.includes(\'main.teams\')" class="selected"></span>\n      </a>\n    </li>\n    <!-- END TEAMS CASE -->\n    <!-- END STAFF SEPARATOR -->\n\n    <!-- START CONTACT_MANAGER SEPARATOR -->\n    <li class="heading" data-ng-show="Auth.isAdmin()">\n      <h3 class="uppercase"> <span >{{\'APPLICATION_CONTACT_MANAGER\' | translate}}  </span> </h3>\n    </li>\n    <!-- END CONTACT_MANAGER SEPARATOR -->\n\n    <!-- START CONTACTS CASE -->\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.contactmanager.contacts\')}">\n      <a href="/contactmanager/contacts/list">\n        <i class=" fa fa-users"></i>\n        <span class="title" >{{\'APPLICATION_CONTACTS\' | translate}}</span>\n        <span data-ng-show="$state.includes(\'main.contactmanager.contacts\')" class="selected"></span>\n      </a>\n    </li>\n    <!-- END CONTACTS CASE -->\n    <!-- START COMPANIES CASE -->\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.contactmanager.companies\')}">\n      <a href="/contactmanager/companies/list">\n        <i class="icon-briefcase"></i>\n        <span class="title" >{{\'APPLICATION_COMPANIES\' | translate}}</span>\n        <span data-ng-show="$state.includes(\'main.contactmanager.companies\')" class="selected"></span>\n      </a>\n    </li>\n    <!-- END COMPANIES CASE -->\n    <!-- START CUSTOMFIELDS CASE -->\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.contactmanager.customfields\')}">\n      <a href="/contactmanager/customfields/list">\n        <i class="icon-pencil"></i>\n        <span class="title" >{{\'APPLICATION_CUSTOM_FIELDS\' | translate}}</span>\n        <span data-ng-show="$state.includes(\'main.contactmanager.customfields\')" class="selected"></span>\n      </a>\n    </li>\n    <!-- END CUSTOMFIELDS CASE -->\n    <!-- END CONTACT_MANAGER SEPARATOR -->\n\n    <!-- START CHANNELS SEPARATOR -->\n    <li class="heading">\n      <h3 class="uppercase"> <span >{{\'APPLICATION_CHANNELS\' | translate}}  </span> </h3>\n    </li>\n\n    <!-- START icon-link CASE -->\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{ active: $state.includes(\'main.voice\') }">\n      <a href="javascript:;">\n        <i class="icon-earphones-alt"></i>\n        <span class="title">{{ \'APPLICATION_VOICE\' | translate}}</span>\n        <span class="arrow" data-ng-class="{ open: $state.includes(\'main.voice\') }"></span>\n      </a>\n\n      <ul class="sub-menu">\n        <li data-ng-class="{active: $state.includes(\'main.voice.queues\')}">\n          <a href="/voice/queues/list">\n          <i class="icon-docs"></i>\n          <span class="title">{{\'APPLICATION_QUEUES\' | translate}}</span>\n          </a>\n        </li>\n        <li>\n          <a href="javascript:;">\n          <i class="icon-directions"></i>\n          <span class="title"> {{ \'APPLICATION_ROUTES\' | translate}} </span>\n          <span class="arrow" data-ng-class="{ open: $state.includes(\'main.voice.routes\') }"></span>\n          <ul class="sub-menu">\n            <li data-ng-class="{active: $state.includes(\'main.voice.routes.inbound\')}">\n              <a href="/voice/routes/inbound/list">\n              <i class="icon-call-in"></i>\n              <span class="title"> {{\'APPLICATION_INBOUND\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-class="{active: $state.includes(\'main.voice.routes.outbound\')}">\n              <a href="/voice/routes/outbound/list">\n              <i class="icon-call-out"></i>\n              <span class="title"> {{\'APPLICATION_OUTBOUND\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-class="{active: $state.includes(\'main.voice.routes.internal\')}">\n              <a href="/voice/routes/internal/list">\n              <i class="icon-reload"></i>\n              <span class="title"> {{\'APPLICATION_INTERNALS\' | translate}} </span>\n              </a>\n            </li>\n          </ul>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.voice.contexts\')}">\n          <a href="/voice/contexts/list">\n          <i class="icon-docs"></i>\n          <span class="title"> {{\'APPLICATION_CONTEXTS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.voice.voicemails\')}">\n          <a href="/voice/voicemails/list">\n          <i class="icon-envelope-letter"></i>\n          <span class="title"> {{\'APPLICATION_VOICEMAILS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.voice.mohs\')}">\n          <a href="/voice/mohs/list">\n          <i class="icon-music-tone"></i>\n          <span class="title"> {{\'APPLICATION_MOH\' | translate}} </span>\n          </a>\n        </li>\n        <!-- START REALTIME CASE -->\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.voice.realtime\')}">\n          <a href="/voice/realtime/view/agents">\n          <i class="icon-energy"></i>\n          <span class="title">{{\'APPLICATION_REALTIME\' | translate}}</span>\n          </a>\n        </li>\n        <!-- END REALTIME CASE -->\n      </ul>\n    </li>\n    <!-- END icon-link CASE -->\n\n    <!-- START CHAT CASE -->\n    <li data-ng-class="{active: $state.includes(\'main.chat\')}" data-ng-if="license.chat">\n      <a href="javascript:;">\n        <i class="icon-bubble"></i>\n        <span class="title">{{\'APPLICATION_CHAT\' | translate}}</span>\n        <span class="arrow" data-ng-class="{open: $state.includes(\'main.chat\')}"></span>\n      </a>\n      <ul class="sub-menu">\n        <li data-ng-class="{active: $state.includes(\'main.chat.websites\')}">\n          <a href="/chat/websites/list">\n          <i class="icon-globe"></i>\n          <span class="title"> {{\'APPLICATION_WEB_SITES\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.chat.queues\')}">\n          <a href="/chat/queues/list">\n          <i class="icon-docs"></i>\n          <span class="title"> {{\'APPLICATION_QUEUES\' | translate}} </span>\n          </a>\n        </li>\n        <!-- START REALTIME CASE -->\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.chat.realtime\')}">\n          <a href="/chat/realtime/view/agent/queues">\n          <i class="icon-energy"></i>\n          <span class="title">{{\'APPLICATION_REALTIME\' | translate}}</span>\n          </a>\n        </li>\n        <!-- END REALTIME CASE -->\n      </ul>\n    </li>\n    <!-- END CHAT CASE -->\n\n    <!-- START MAIL CASE -->\n    <li data-ng-class="{active: $state.includes(\'main.mail\')}" data-ng-if="license.mail">\n      <a href="javascript:;">\n        <i class="icon-envelope"></i>\n        <span class="title">{{\'APPLICATION_MAIL\' | translate}}</span>\n        <span class="arrow" data-ng-class="{ open: $state.includes(\'main.mail\') }"></span>\n      </a>\n\n      <ul class="sub-menu">\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.mail.accounts\') || $state.includes(\'main.mail.account\')}">\n          <a href="/mail/accounts/list">\n          <i class="icon-notebook"></i>\n          <span class="title"> {{\'APPLICATION_ACCOUNTS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.mail.queues\') || $state.includes(\'main.mail.queue\')}">\n          <a href="/mail/queues/list">\n          <i class="icon-docs"></i>\n          <span class="title"> {{\'APPLICATION_QUEUES\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.mail.inbox\')}">\n          <a href="/mail/inbox/incoming">\n          <i class="icon-note"></i>\n          <span class="title"> {{\'APPLICATION_INBOX\' | translate}} </span>\n          </a>\n        </li>\n        <!-- START REALTIME CASE -->\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.mail.realtime\')}">\n          <a href="/mail/realtime/view/agents/queues">\n          <i class="icon-energy"></i>\n          <span class="title">{{\'APPLICATION_REALTIME\' | translate}}</span>\n          </a>\n        </li>\n        <!-- END REALTIME CASE -->\n      </ul>\n    </li>\n    <!-- END MAIL CASE -->\n\n    <!-- START FAX CASE -->\n    <li data-ng-class="{active: $state.includes(\'main.fax\')}" data-ng-if="license.fax">\n    <!-- <li data-ng-show="license.fax" data-ng-class="{active: $state.includes(\'main.fax\')}"> -->\n      <a href="javascript:;">\n        <i class="icon-paper-plane"></i>\n        <span class="title"> {{ \'APPLICATION_FAX\' | translate}}</span>\n        <span class="arrow" data-ng-class="{ open: $state.includes(\'main.fax\') }"></span>\n      </a>\n\n      <ul class="sub-menu">\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.fax.accounts\')}">\n          <a href="/fax/accounts/list">\n          <i class="icon-notebook"></i>\n          <span class="title"> {{ \'APPLICATION_ACCOUNTS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.fax.queues\')}">\n          <a href="/fax/queues/list">\n          <i class="icon-docs"></i>\n          <span class="title"> {{ \'APPLICATION_QUEUES\' | translate }} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.fax.inbox\')}">\n          <a href="/fax/inbox/incoming">\n          <i class="icon-note"></i>\n          <span class="title"> {{ \'APPLICATION_INBOX\' | translate }} </span>\n          </a>\n        </li>\n        <!-- <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.fax.statistics\')}">\n          <a href="/fax/statistics/summary">\n          <i class="icon-eyeglass"></i>\n          <span class="title"> {{ \'APPLICATION_STATISTICS\' | translate }} </span>\n          </a>\n        </li> -->\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.fax.automations\')}">\n          <a href="/fax/automations/list">\n          <i class="icon-settings"></i>\n          <span class="title"> {{\'APPLICATION_AUTOMATIONS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.fax.timeline\')}">\n          <a href="/fax/timeline/list">\n          <i class="icon-list"></i>\n          <span class="title"> {{\'APPLICATION_TIMELINE\' | translate}} </span>\n          </a>\n        </li>\n      </ul>\n    </li>\n    <!-- END FAX CASE -->\n    <!-- END CHANNELS SEPARATOR -->\n\n    <!-- START ANALYTICS SEPARATOR -->\n    <li class="heading">\n      <h3 class="uppercase"> <span >{{\'APPLICATION_ANALYTICS\' | translate}}  </span> </h3>\n    </li>\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.analytics.reports\')}">\n      <a href="/analytics/reports/list">\n        <i class="icon-book-open"></i>\n        <span class="title" >{{\'APPLICATION_REPORTS\' | translate}}</span>\n        <span data-ng-show="$state.includes(\'main.analytics.reports\')" class="selected"></span>\n      </a>\n    </li>\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.analytics.metrics\')}">\n      <a href="/analytics/metrics/list">\n        <i class="icon-calculator"></i>\n        <span class="title" >{{\'APPLICATION_METRICS\' | translate}}</span>\n        <span data-ng-show="$state.includes(\'main.metrics.reports\')" class="selected"></span>\n      </a>\n    </li>\n    <!-- END ANALYTICS SEPARATOR -->\n\n    <!-- START INTEGRATIONS SEPARATOR -->\n    <li data-ng-show="Auth.isAdmin()" class="heading">\n      <h3 class="uppercase"> <span translate> APPLICATION_INTEGRATIONS </span> </h3>\n    </li>\n\n    <!-- START INTEGRATION CASE -->\n    <li data-ng-repeat="integration in integrations" data-ng-if="integration.active" data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.{{integration.state}}\')}">\n      <a href="/{{integration.state}}/list">\n        <i class="icon-handbag"></i>\n        <span class="title" >{{integration.name}}</span>\n        <span data-ng-show="$state.includes(\'main.{{integration.state}}\')" class="selected"></span>\n      </a>\n    </li>\n\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.is(\'main.market\')}">\n      <a href="/market">\n        <i class="icon-handbag"></i>\n        <span class="title" translate>Market Place</span>\n        <span data-ng-show="$state.includes(\'main.market\')" class="selected"></span>\n      </a>\n    </li>\n    <!-- <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.is(\'main.integrations.list\')}">\n      <a href="/integrations/list">\n        <i class="icon-game-controller"></i>\n        <span class="title" translate>Test Your App</span>\n        <span data-ng-show="$state.includes(\'main.integrations.list\')" class="selected"></span>\n      </a>\n    </li> -->\n    <!-- END INTEGRATIONS SEPARATOR -->\n\n    <!-- START TOOLS SEPARATOR -->\n    <li data-ng-show="Auth.isAdmin()" class="heading">\n      <h3 class="uppercase"> <span >{{\'APPLICATION_TOOLS\' | translate}}  </span> </h3>\n    </li>\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.triggers\')}">\n      <a href="/triggers/list">\n      <i class="icon-bulb"></i>\n      <span class="title"> {{\'APPLICATION_TRIGGERS\' | translate}} </span>\n      </a>\n    </li>\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.automations\')}">\n      <a href="/automations/list">\n      <i class="icon-settings"></i>\n      <span class="title"> {{\'APPLICATION_AUTOMATIONS\' | translate}} </span>\n      </a>\n    </li>\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.trunks\')}">\n      <a href="/trunks/list">\n      <i class="icon-link"></i>\n      <span class="title"> {{\'APPLICATION_TRUNKS\' | translate}} </span>\n      </a>\n    </li>\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.intervals\')}">\n      <a href="/intervals/list">\n      <i class="icon-clock"></i>\n      <span class="title"> {{\'APPLICATION_INTERVALS\' | translate}} </span>\n      </a>\n    </li>\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.variables\')}">\n      <a href="/variables/list">\n      <i class="fa fa-eye"></i>\n      <span class="title" >{{\'APPLICATION_VARIABLES\' | translate}}  </span>\n      </a>\n    </li>\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.tags\')}">\n      <a href="/tags/list">\n      <i class="icon-tag"></i>\n      <span class="title" >{{\'APPLICATION_TAGS\' | translate}}  </span>\n      </a>\n    </li>\n    <!-- START CALLYSQUARE CASE -->\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.square\')}">\n      <a href="javascript:;">\n        <i class="fa fa-superscript"></i>\n        <span class="title" >{{\'APPLICATION_CALLYSQUARE\' | translate}}</span>\n        <span class="arrow"></span>\n      </a>\n      <ul class="sub-menu">\n        <li data-ng-class="{active: $state.includes(\'main.square.projects\')}">\n          <a href="/square/projects/list">\n          <i class="fa fa-slack"></i>\n          <span class="title" >{{\'APPLICATION_PROJECTS\' | translate}}  </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.square.odbc\')}">\n          <a href="/square/odbcs/list">\n          <i class="fa fa-database"></i>\n          <span class="title" >{{\'APPLICATION_ODBC\' | translate}}  </span>\n          </a>\n        </li>\n       </ul>\n    </li>\n\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.jscripty\')}">\n      <a href="javascript:;">\n        <i class="fa fa-edit"></i>\n        <span class="title" >{{\'APPLICATION_JSCRIPTY\' | translate}}</span>\n        <span class="arrow"></span>\n      </a>\n      <ul class="sub-menu">\n        <li data-ng-class="{active: $state.includes(\'main.jscripty.projects\')}">\n          <a href="/jscripty/projects/list">\n          <i class="fa fa-slack"></i>\n          <span class="title" >{{\'APPLICATION_PROJECTS\' | translate}}  </span>\n          </a>\n        </li>\n       </ul>\n    </li>\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.yourdashboards.list\') || $state.includes(\'main.yourdashboards.settings\')}">\n      <a href="/yourdashboards/list">\n      <i class="icon-grid"></i>\n      <span class="title"> {{\'APPLICATION_DASHBOARDS_MANAGER\' | translate}} </span>\n      </a>\n    </li>\n    <!-- END CALLYSQUARE CASE -->\n\n    <!-- START AUTODIALER CASE -->\n    <!-- <li data-ng-show="Auth.isAdmin()">\n      <a href="javascript:;">\n        <i class="icon-call-out"></i>\n        <span class="title">AutoDialer</span>\n        <span class="arrow"></span>\n      </a>\n      <ul class="sub-menu">\n      </ul>\n    </li> -->\n    <!-- END AUTODIALER CASE -->\n\n    <!-- START ANALYTICS CASE -->\n    <!-- <li data-ng-show="isAssociated(\'analytics\')"> -->\n    <!-- <li data-ng-show="Auth.isAdmin()">\n      <a href="#/analytics">\n        <i class="icon-graph"></i>\n        <span class="title" >{{\'APPLICATION_ANALYTICS\' | translate}}</span>\n      </a>\n    </li> -->\n    <!-- END ANALYTICS CASE -->\n\n    <!-- END TOOLS SEPARATOR -->\n\n    <!-- START AUDIO SEPARATOR -->\n    <li data-ng-show="Auth.isAdmin()" class="heading">\n      <h3 class="uppercase"> <span >{{\'APPLICATION_AUDIO\' | translate}}  </span> </h3>\n    </li>\n    <!-- END AUDIO SEPARATOR -->\n\n    <!-- START AUDIO CASE -->\n    <!-- <li data-ng-show="isAssociated(\'audio\')" data-ng-class="{active: $state.is(\'main.sound\')}"> -->\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.sounds\')}">\n      <a href="/sounds/list">\n        <i class="icon-music-tone-alt"></i>\n        <span class="title" >{{\'APPLICATION_SOUNDS\' | translate}}</span>\n        <span data-ng-show="$state.includes(\'main.sounds\')" class="selected"></span>\n      </a>\n    </li>\n    <!-- END AUDIO CASE -->\n\n\n    <!-- START SETTINGS SEPARATOR -->\n    <li data-ng-show="Auth.isAdmin()" class="heading">\n      <h3 class="uppercase"> <span >{{\'APPLICATION_SETTINGS\' | translate}}  </span> </h3>\n    </li>\n    <!-- END SETTINGS SEPARATOR -->\n\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.setting\')}">\n      <a href="javascript:;">\n        <i class="icon-settings"></i>\n        <span class="title" >{{\'APPLICATION_SETTINGS\' | translate}}</span>\n        <span class="arrow"></span>\n      </a>\n      <ul class="sub-menu">\n        <!-- START UPDATES CASE -->\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.setting.updates\')}">\n          <a href="/setting/updates/list">\n            <i class="icon-cloud-download"></i>\n            <span class="title" >{{\'APPLICATION_UPDATES\' | translate}}</span>\n            <!-- <span data-ng-show="$state.includes(\'main.updates\')" class="selected"></span> -->\n          </a>\n        </li>\n        <!-- END UPDATES CASE -->\n\n        <!-- START SMTP CASE -->\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.setting.smtp\')}">\n          <a href="/setting/smtp/view">\n            <i class="icon-envelope"></i>\n            <span class="title">SMTP</span>\n            <!-- <span data-ng-show="$state.includes(\'main.smtp\')" class="selected"></span> -->\n          </a>\n        </li>\n        <!-- END SMTP CASE -->\n\n        <!-- START TEMPLATE CASE -->\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.setting.templates\')}">\n          <a href="/setting/templates/list">\n          <i class="icon-docs"></i>\n          <span class="title"> {{\'APPLICATION_TEMPLATES\' | translate}} </span>\n          </a>\n        </li>\n        <!-- END TEMPLATE CASE -->\n\n        <!-- START LICENSE CASE -->\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.setting.license\')}">\n          <a href="/setting/license/view">\n          <i class="icon-info"></i>\n          <span class="title"> {{\'APPLICATION_LICENSE\' | translate}} </span>\n          </a>\n        </li>\n        <!-- END LICENSE CASE -->\n       </ul>\n    </li>\n\n  </ul>\n  <!-- END SIDEBAR MENU -->\n</div>\n');
+a.put("components/footer/footer.html",'<!-- BEGIN FOOTER -->\n<div class="page-footer" data-ng-init="initFooter()">\n  <div class="page-footer-inner">\n     {{info.name}} v. {{info.version}} | 2015-2016 &copy; Powered by Xenialab\n  </div>\n  <div class="scroll-to-top">\n    <i class="icon-arrow-up"></i>\n  </div>\n</div>\n<!-- END FOOTER -->\n'),a.put("components/header/header.html",'<!-- BEGIN HEADER INNER -->\n<div class="page-header-inner" data-ng-init="initHeader()">\n  <!-- BEGIN LOGO -->\n  <div class="page-logo">\n    <a href="/">\n    <img src="assets/images/logo.png" alt="logo" class="logo-default"/>\n    </a>\n    <div class="menu-toggler sidebar-toggler">\n      <!-- DOC: Remove the above "hide" to enable the sidebar toggler button on header -->\n    </div>\n  </div>\n  <!-- END LOGO -->\n  <!-- BEGIN HEADER SEARCH BOX -->\n  <!-- DOC: Apply "search-form-expanded" right after the "search-form" class to have half expanded search box -->\n  <form class="search-form hide" action="extra_search.html" method="GET">\n    <div class="input-group">\n      <input type="text" class="form-control" placeholder="Search..." name="query">\n      <span class="input-group-btn">\n      <a href="javascript:;" class="btn submit"><i class="icon-magnifier"></i></a>\n      </span>\n    </div>\n  </form>\n  <!-- END HEADER SEARCH BOX -->\n  <!-- BEGIN RESPONSIVE MENU TOGGLER -->\n  <a href="javascript:;" class="menu-toggler responsive-toggler" data-toggle="collapse" data-target=".navbar-collapse">\n  </a>\n  <!-- END RESPONSIVE MENU TOGGLER -->\n  <!-- BEGIN TOP NAVIGATION MENU -->\n  <div class="top-menu">\n    <ul class="nav navbar-nav pull-right">\n      <!-- BEGIN LANGUAGE BAR -->\n      <!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte -->\n      <li class="dropdown dropdown-language">\n        <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">\n        <img ng-src="assets/images/flags/{{ language }}.png">\n        <i class="fa fa-angle-down"></i>\n        </a>\n        <ul class="dropdown-menu dropdown-menu-default">\n          <li>\n            <a href="#" ng-click="changeLanguage(\'it\')">\n            <img alt="" src="assets/images/flags/it.png"> Italian </a>\n          </li>\n          <li>\n            <a href="#" ng-click="changeLanguage(\'en_EN\')">\n            <img alt="" src="assets/images/flags/en_EN.png"> English </a>\n          </li>\n        </ul>\n      </li>\n      <!-- END LANGUAGE BAR -->\n      <!-- BEGIN USER LOGIN DROPDOWN -->\n      <!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte -->\n      <li class="dropdown dropdown-user">\n        <a href="#" class="dropdown-toggle" dropdown-menu-hover data-toggle="dropdown" data-close-others="true">\n        <img class="img-circle" data-ng-src="api/users/avatar/{{getCurrentUser().userpic || \'unknown_avatar\'}}" alt="...">\n        <span class="username username-hide-on-mobile">\n          {{ getCurrentUser().fullname }} </span>\n        <i class="fa fa-angle-down"></i>\n        </a>\n        <ul class="dropdown-menu dropdown-menu-default">\n          <li>\n            <a ng-href=" {{isAdmin() ? \'/users/view/\'+getCurrentUser().id+\'/account\' : \'/agents/view/\'+getCurrentUser().id+\'/account\'}}">\n            <i class="icon-key"></i>Change password</a>\n          </li>\n          <!-- <li>\n            <a href="#">\n            <i class="icon-calendar"></i> My Calendar </a>\n          </li> -->\n          <!-- <li>\n            <a href="#">\n            <i class="icon-envelope-open"></i> My Inbox <span class="badge badge-danger">\n            3 </span>\n            </a>\n          </li> -->\n          <!-- <li>\n            <a href="#/todo">\n            <i class="icon-rocket"></i> My Tasks <span class="badge badge-success">\n            7 </span>\n            </a>\n          </li> -->\n          <!-- <li class="divider">\n          </li> -->\n          <!-- <li>\n            <a href="#">\n            <i class="icon-lock"></i> Lock Screen </a>\n          </li> -->\n          <li data-ng-click="logout()">\n            <a href="#">\n            <i class="icon-logout"></i> Log Out </a>\n          </li>\n        </ul>\n      </li>\n      <!-- END USER LOGIN DROPDOWN -->\n      <!-- BEGIN QUICK SIDEBAR TOGGLER -->\n      <!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte -->\n      <li class="dropdown dropdown-quick-sidebar-toggler" data-ng-click="toggleQuickSidebar()">\n        <a href="#" class="dropdown-toggle">\n        <i class="icon-logout"></i>\n        </a>\n      </li>\n      <!-- END QUICK SIDEBAR TOGGLER -->\n    </ul>\n  </div>\n  <!-- END TOP NAVIGATION MENU -->\n</div>\n<!-- END HEADER INNER -->\n'),a.put("components/modal/delete.html",'<div class="modal-header">\n  <button ng-if="modal.dismissable" type="button" ng-click="$dismiss()" class="close">&times;</button>\n  <h4 ng-if="modal.title" ng-bind="modal.title" class="modal-title"></h4>\n</div>\n<div class="modal-body">\n  <p ng-if="modal.text" ng-bind="modal.text"></p>\n  <div ng-if="modal.html" ng-bind-html="modal.html"></div>\n</div>\n<div class="modal-footer">\n  <button ng-repeat="button in modal.buttons" ng-class="button.classes" ng-click="button.click($event)" ng-bind="button.text" class="btn"></button>\n</div>\n'),a.put("components/quickSidebar/modal/add.html",'<div class="modal-header">\n  <button ng-if="modal.dismissable" type="button" ng-click="$dismiss()" class="close">&times;</button>\n  <h4 ng-if="modal.title" ng-bind="modal.title | translate" class="modal-title"></h4>\n</div>\n\n<div class="modal-body">\n  <div class="portlet box blue">\n            <div class="portlet-title">\n                   <div class="caption">\n                         <i class="icon-people"></i>{{\'APPLICATION_SELECTED_AGENTS\' | translate}}\n                    </div>\n                </div>\n                <div class="portlet-body">\n                    <ul>\n                          <li data-ng-repeat="item in items">\n                                    {{item.fullname}}\n                            </li>\n\n        <li data-ng-repeat="item in selected.items">\n                                  {{item.fullname}}\n                            </li>\n                 </ul>\n         </div>\n        </div>\n\n  <ui-select multiple name="items" ng-model="selected.items" theme="bootstrap">\n    <ui-select-match placeholder="{{\'APPLICATION_SELECTED_AGENTS\' | translate}}">{{$item.fullname}}</ui-select-match>\n    <ui-select-choices repeat="{id: agent.id, fullname: agent.fullname} as agent in agents.rows | filter: $select.search">\n      {{agent.fullname}}\n    </ui-select-choices>\n  </ui-select>\n</div>\n\n<div class="modal-footer">\n  <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-show="selected.items.length">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("components/quickSidebar/modal/close.html",'<div class="modal-header">\n  <button ng-if="modal.dismissable" type="button" ng-click="$dismiss()" class="close">&times;</button>\n  <h4 ng-if="modal.title" ng-bind="modal.title | translate" class="modal-title"></h4>\n</div>\n<div class="modal-body">\n  <p ng-if="modal.text" ng-bind="modal.text | translate"></p>\n  <!-- <div ng-if="modal.html" ng-bind-html="modal.html"></div> -->\n</div>\n<div class="modal-footer">\n  <button class="btn btn-danger" type="button" ng-click="ok()">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n  <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n  <!-- <button ng-repeat="button in modal.buttons" ng-class="button.classes" ng-click="button.click($event)" ng-bind="button.text" class="btn"></button> -->\n</div>\n'),a.put("components/quickSidebar/quickSidebar.html",'<div class="page-quick-sidebar">\n  <div class="nav-justified">\n    <ul class="nav nav-tabs nav-justified">\n      <li data-ng-class="{active:currentTab==0}" data-ng-click="goToTab(0)">\n        <a href="#">\n          <i class="icon-people"></i>\n        </a>\n      </li>\n      <li data-ng-class="{active:currentTab==1}" data-ng-click="goToTab(1)">\n        <a href="#">\n        <i class="icon-eye"></i>\n        </a>\n      </li>\n      <li data-ng-class="{active:currentTab==2}" data-ng-click="goToTab(2)">\n        <a href="#">\n        <i class="icon-globe"></i>\n        </a>\n      </li>\n      <li data-ng-class="{active:currentTab==3}" data-ng-click="goToTab(3)">\n        <a href="#">\n        <i class="icon-bubbles"></i>\n        </a>\n      </li>\n    </ul>\n    <div class="tab-content">\n      <div class="tab-pane page-quick-sidebar-chat" ng-class="{active:currentTab==0 && !messagesTab}">\n        <div class="page-quick-sidebar-chat-users" data-rail-color="#ddd" data-wrapper-class="page-quick-sidebar-list" >\n          <div class="quicksidebar-search">\n            <div class="input-group">\n                                                       <input type="search" class="form-control" placeholder="{{\'APPLICATION_SEARCH\' | translate}} {{\'APPLICATION_AGENT\' | translate}}..." ng-model="searchAgent">\n                                                       <span class="input-group-btn">\n                                                        <i class="icon-magnifier"></i>\n                                                        </span>\n                                               </div>\n          </div>\n          <ul class="media-list list-items" data-ng-style="style" ng-scrollbars>\n            <li class="media animate-repeat" data-ng-repeat="agent in agents.rows | orderBy:\'-online\' | filter:searchAgent as resultsAgent" data-ng-if="agent.id !== currentUser.id">\n              <img class="media-object" data-ng-src="api/users/avatar/{{agent.userpic ? agent.userpic : \'unknown_avatar\'}}" alt="{{agent.fullname}}">\n              <div class="media-body" data-ng-click="goToMessage(agent.id)">\n                <h4 class="media-heading"><span class="item-status">{{agent.fullname | characters:15 :true}} {{agent.internal}}</h4>\n                <div class="media-heading-small">\n                   <span class="badge badge-empty" data-ng-class="agent.online ? \'badge-success\' : \'badge-danger\'"></span></span> {{\'APPLICATION_LAST_SEEN\' | translate | lowercase}} <time is="relative-time" datetime="{{agent.updatedAt}}">April 1, 2014</time>\n                </div>\n              </div>\n            </li>\n            <li class="media animate-repeat" ng-if="agents.rows.length == 0">\n              <div class="media-body" style="text-align: center;">\n                <h4 class="media-heading"><i>{{\'MESSAGE_NO_AGENTS_FOUND\' | translate | lowercase}}</i></h4>\n              </div>\n            </li>\n            <li class="media animate-repeat" ng-if="resultsAgent.length == 0">\n              <div class="media-body" style="text-align: center;">\n                <h4 class="media-heading"><i>{{\'MESSAGE_NO_AGENTS_FOUND\' | translate | lowercase}}</i></h4>\n              </div>\n            </li>\n          </ul>\n        </div>\n      </div>\n      <div class="tab-pane page-quick-sidebar-chat" ng-class="{active:currentTab==1 && !messagesTab}">\n        <div class="page-quick-sidebar-chat-users" data-rail-color="#ddd" data-wrapper-class="page-quick-sidebar-list">\n          <div class="quicksidebar-search">\n            <div class="input-group">\n              <input type="search" class="form-control" placeholder="{{\'APPLICATION_SEARCH\' | translate}} {{\'APPLICATION_USER\' | translate}}..." ng-model="searchUser">\n              <span class="input-group-btn">\n              <i class="icon-magnifier"></i>\n              </span>\n            </div>\n          </div>\n          <ul class="media-list list-items"  data-ng-style="style" ng-scrollbars>\n            <li class="media animate-repeat" data-ng-repeat="user in users.rows | orderBy:\'-online\' | filter:searchUser as resultsUser" data-ng-if="user.id !== currentUser.id">\n              <img class="media-object" data-ng-src="api/users/avatar/{{user.userpic ? user.userpic : \'unknown_avatar\'}}" alt="{{user.fullname}}">\n              <div class="media-body" data-ng-click="goToMessage(user.id)">\n                <h4 class="media-heading">{{user.fullname | characters:15 :true}} {{user.internal}}</h4>\n                <div class="media-heading-small">\n                   <span class="badge badge-empty" data-ng-class="user.online ? \'badge-success\' : \'badge-danger\'"></span> {{\'APPLICATION_LAST_SEEN\' | translate | lowercase}} <time is="relative-time" datetime="{{user.updatedAt}}">April 1, 2014</time>\n                </div>\n              </div>\n            </li>\n            <li class="media animate-repeat" ng-if="users.rows.length == 0">\n              <div class="media-body" style="text-align: center;">\n                <h4 class="media-heading"><i>{{\'MESSAGE_NO_USERS_FOUND\' | translate | lowercase}}</i></h4>\n              </div>\n            </li>\n            <li class="media animate-repeat" ng-if="resultsUser.length == 0">\n              <div class="media-body" style="text-align: center;">\n                <h4 class="media-heading"><i>{{\'MESSAGE_NO_USERS_FOUND\' | translate | lowercase}}</i></h4>\n              </div>\n            </li>\n          </ul>\n        </div>\n      </div>\n      <div class="tab-pane page-quick-sidebar-chat" ng-class="{active:currentTab==2 && !messagesTab}">\n        <div class="page-quick-sidebar-chat-users" data-rail-color="#ddd" data-wrapper-class="page-quick-sidebar-list">\n          <div class="quicksidebar-search">\n            <div class="input-group">\n              <input type="search" class="form-control" placeholder="{{\'APPLICATION_SEARCH\' | translate}} {{\'APPLICATION_USER\' | translate}}..." data-ng-model="searchChatRoomsExternals">\n              <span class="input-group-btn">\n              <i class="icon-magnifier"></i>\n              </span>\n            </div>\n          </div>\n          <ul class="media-list list-items"  data-ng-style="style" ng-scrollbars>\n            <li class="media animate-repeat" data-ng-repeat="chatRoom in chatRooms | QuickSidebarFilterUsersLowerThan:2 | filter:{type:\'external\'} | filter:searchChatRoomsExternals as resultsChatRoomsExternals">\n              <div class="media-status">\n                <i class="icon icon-close" data-ng-show="chatRoom.status === \'close\'"></i>\n              </div>\n              <img class="media-object" data-ng-src="api/users/avatar/{{user.userpic ? user.userpic : \'unknown_avatar\'}}" alt="{{user.fullname}}">\n              <div class="media-body" data-ng-click="goToMessage(null, chatRoom.id)">\n                <h4 class="media-heading">{{chatRoom.ChatVisitor.fullname}}</h4>\n                <div class="media-heading-small">\n                   {{\'APPLICATION_LAST_SEEN\' | translate | lowercase}} <time is="relative-time" datetime="{{chatRoom.createdAt}}">April 1, 2014</time>\n                </div>\n              </div>\n            </li>\n            <li class="media animate-repeat" data-ng-if="resultsChatRoomsExternals.length === 0">\n              <div class="media-body" style="text-align: center;">\n                <h4 class="media-heading"><i>{{\'MESSAGE_NO_CHATS_FOUND\' | translate | lowercase}}</i></h4>\n              </div>\n            </li>\n          </ul>\n        </div>\n      </div>\n      <div class="tab-pane page-quick-sidebar-chat" ng-class="{active:currentTab==3 && !messagesTab}">\n        <div class="page-quick-sidebar-chat-users" data-rail-color="#ddd" data-wrapper-class="page-quick-sidebar-list">\n          <div class="quicksidebar-search">\n            <div class="input-group">\n              <input type="search" class="form-control" placeholder="{{\'APPLICATION_SEARCH\' | translate}} {{\'APPLICATION_USER\' | translate}}..." data-ng-model="searchChatRoomsGroups">\n              <span class="input-group-btn">\n              <i class="icon-magnifier"></i>\n              </span>\n            </div>\n          </div>\n          <ul class="media-list list-items"  data-ng-style="style" ng-scrollbars>\n            <li class="media animate-repeat" data-ng-repeat="chatRoom in chatRooms | QuickSidebarFilterUsersGreaterThan:2 | filter:searchChatRoomsGroups as resultsChatRoomsGroups">\n              <img class="media-object" data-ng-src="api/users/avatar/{{user.userpic ? user.userpic : \'unknown_avatar\'}}" alt="{{user.fullname}}">\n              <div class="media-body" data-ng-click="goToMessage(null, chatRoom.id)">\n                <h4 class="media-heading">{{chatRoom.ChatVisitor.fullname}}</h4>\n                <div class="media-heading-small">\n                   {{\'APPLICATION_LAST_SEEN\' | translate | lowercase}} <time is="relative-time" datetime="{{chatRoom.updatedAt}}">April 1, 2014</time>\n                </div>\n                <div class="media-heading-small">\n                  <div data-ng-repeat="user in chatRoom.Users | map: \'fullname\'" class="inline">\n                    {{ $last ? user : user + \', \'}}\n                  </div>\n                </div>\n              </div>\n            </li>\n            <li class="media animate-repeat" data-ng-if="resultsChatRoomsGroups.length === 0">\n              <div class="media-body" style="text-align: center;">\n                <h4 class="media-heading"><i>{{\'MESSAGE_NO_CHATS_FOUND\' | translate | lowercase}}</i></h4>\n              </div>\n            </li>\n          </ul>\n        </div>\n      </div>\n      <div class="tab-pane page-quick-sidebar-chat page-quick-sidebar-content-item-shown" ng-class="{active:messagesTab}">\n        <div class="page-quick-sidebar-chat-users" data-rail-color="#ddd" data-wrapper-class="page-quick-sidebar-list" >\n          <div class="quicksidebar-search">\n            <div class="input-group">\n              <input type="search" class="form-control" placeholder="{{\'APPLICATION_SEARCH\' | translate}} {{\'APPLICATION_MESSAGE\' | translate}}..." ng-model="searchMessage">\n              <span class="input-group-btn">\n              <i class="icon-magnifier"></i>\n              </span>\n            </div>\n          </div>\n        </div>\n        <div class="page-quick-sidebar-item">\n          <div class="page-quick-sidebar-chat-user" data-wrapper-class="page-quick-sidebar-list">\n            <div class="page-quick-sidebar-nav">\n                <a href="#" class="page-quick-sidebar-back-to-list" data-ng-click="goBack()"><i class="icon-arrow-left"></i>Back</a>\n            </div>\n            <div id="page-quick-sidebar-chat-user-messages" class="page-quick-sidebar-chat-user-messages" data-ng-style="style2" ng-scrollbars>\n              <div class="post animate-repeat" data-ng-repeat="chatMessage in chatRoom.ChatMessages | filter:searchMessage as resultsMessage" data-ng-class="chatMessage.UserId === currentUser.id ? \'in\' : \'out\'">\n                <img class="avatar" alt="" ng-src="api/users/avatar/unknown_avatar"/>\n                <div class="message">\n                  <span class="arrow"></span>\n                  <a href="#" class="name">{{chatMessage.User.fullname || chatMessage.ChatVisitor .fullname}}</a> -\n                  <span class="datetime">\n                    <time is="relative-time" datetime="{{chatMessage.createdAt}}">\n                      April 1, 2014\n                    </time>\n                  </span>\n                  <ng-emoticons class="body" emoticons-data="chatMessage.body" emoticons-options="options"/>\n                </div>\n              </div>\n\n              <div class="media-body" style="text-align: center;" data-ng-if="resultsMessage.length == 0">\n                <h5 class="media-heading"><i>{{\'MESSAGE_NO_MESSAGES_FOUND\' | translate | lowercase}}</i></h5>\n              </div>\n\n              <div class="media-body" style="text-align: center;" data-ng-if="chatRoom.status === \'close\'">\n                <h5 class="media-heading"><i>{{\'MESSAGE_CHAT_CLOSED\' | translate | lowercase}}</i></h5>\n              </div>\n\n            </div>\n            <div class="page-quick-sidebar-chat-user-form">\n              <textarea rows="3" class="form-control" style="border:none;resize: none;" placeholder="Type a message here..." ng-enter="sendMessage()" data-ng-model="message.body" data-ng-disabled="chatRoom.status === \'close\'"></textarea>\n              <div class="btn-group" style="width:100%;background-color:white">\n                <button type="button" class="btn btn-default" style="border:none" data-ng-disabled="chatRoom.status === \'close\'" data-ng-click="addAgent(chatRoom.id)"><i class="icon-plus font-blue"></i></button>\n                <button type="button" class="btn btn-default pull-right" style="border:none" data-ng-disabled="chatRoom.status === \'close\'" data-ng-click="closeChatRoom(chatRoom.id)" data-ng-show="chatRoom.type === \'external\'"><i class="icon-close font-red"></i></button>\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n'),a.put("components/sidebar/sidebar.html",'<div id="page-sidebar" class="page-sidebar navbar-collapse collapse">\n  <!-- BEGIN SIDEBAR MENU -->\n  <!-- DOC: Apply "page-sidebar-menu-light" class right after "page-sidebar-menu" to enable light sidebar menu style(without borders) -->\n  <!-- DOC: Apply "page-sidebar-menu-hover-submenu" class right after "page-sidebar-menu" to enable hoverable(hover vs accordion) sub menu mode -->\n  <!-- DOC: Apply "page-sidebar-menu-closed" class right after "page-sidebar-menu" to collapse("page-sidebar-closed" class must be applied to the body element) the sidebar sub menu mode -->\n  <!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing -->\n  <!-- DOC: Set data-keep-expand="true" to keep the submenues expanded -->\n  <!-- DOC: Set data-auto-speed="200" to adjust the sub menu slide up/down speed -->\n  <ul data-ng-click="mainTab.active=true" class="page-sidebar-menu" data-keep-expanded="false" data-auto-scroll="true" data-slide-speed="200" data-ng-class="{\'page-sidebar-menu-closed\': settings.layout.pageSidebarClosed}" data-ng-init="getSidebarIntegrations()">\n    <!-- DOC: To remove the search box from the sidebar you just need to completely remove the below "sidebar-search-wrapper" LI element -->\n    <li class="sidebar-search-wrapper">\n      <!-- BEGIN RESPONSIVE QUICK SEARCH FORM -->\n      <!-- DOC: Apply "sidebar-search-bordered" class the below search form to have bordered search box -->\n      <!-- DOC: Apply "sidebar-search-bordered sidebar-search-solid" class the below search form to have bordered & solid search box -->\n      <form class="sidebar-search sidebar-search-bordered" action="extra_search.html" method="POST">\n        <a href="javascript:;" class="remove">\n        <i class="icon-close"></i>\n        </a>\n        <!-- <div class="input-group">\n          <input type="text" class="form-control" placeholder="Search...">\n          <span class="input-group-btn">\n          <a href="javascript:;" class="btn submit"><i class="icon-magnifier"></i></a>\n          </span>\n        </div> -->\n      </form>\n      <!-- END RESPONSIVE QUICK SEARCH FORM -->\n    </li>\n\n    <!-- START DASHBOARD CASE -->\n    <li class="start" data-ng-show="isAssociated(\'dashboard\')" data-ng-class="{active: $state.includes(\'main.dashboard\')}">\n      <a href="/dashboard/voice">\n        <i class="icon-rocket"></i>\n        <span class="title">{{\'APPLICATION_DASHBOARD\' | translate}}</span>\n        <span data-ng-show="$state.includes(\'main.dashboard\')" class="selected"></span>\n      </a>\n    </li>\n    <!-- END DASHBOARD CASE -->\n\n    <!-- START YOURDASHBOARD LIST CASE -->\n    <li data-ng-class="{active: $state.is(\'main.yourdashboards.show\')}" data-ng-show="Auth.isAdmin()">\n      <a href="javascript:;">\n        <i class="icon-screen-desktop"></i>\n        <span class="title" >{{\'APPLICATION_YOUR_DASHBOARDS\' | translate}}</span>\n        <span class="arrow" data-ng-class="{ open: $state.includes(\'main.yourdashboards.show\') }"></span>\n      </a>\n      <ul class="sub-menu" data-ng-init="getSidebarDashboards()">\n        <li data-ng-class="{active: $stateParams.id == dashboard.id && $state.includes(\'main.yourdashboards.show\')}" data-ng-repeat="dashboard in dashboards" data-ng-show="dashboard[Auth.getRole()] && dashboard.visible">\n          <a href="/yourdashboards/show/{{dashboard.id}}" >\n          <i class="icon-screen-tablet"></i>\n          <span class="title" >{{dashboard.name}}  </span>\n          </a>\n        </li>\n       </ul>\n    </li>\n    <!-- END YOURDASHBOARD LIST CASE -->\n\n    <!-- START STAFF SEPARATOR -->\n    <li class="heading" data-ng-show="Auth.isAdmin()">\n      <h3 class="uppercase"> <span >{{\'APPLICATION_STAFF\' | translate}}  </span> </h3>\n    </li>\n    <!-- END STAFF SEPARATOR -->\n\n    <!-- START USERS CASE -->\n    <!-- <li data-ng-show="isAssociated(\'users\')" data-ng-class="{active: $state.includes(\'main.users\')}"> -->\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.users\')}">\n      <a href="/users/list">\n        <i class="icon-eye"></i>\n        <span class="title" >{{\'APPLICATION_USERS\' | translate}}</span>\n        <span data-ng-show="$state.includes(\'main.users\')" class="selected"></span>\n      </a>\n    </li>\n    <!-- END USERS CASE -->\n\n    <!-- START AGENTS CASE -->\n    <!-- <li data-ng-show="isAssociated(\'agents\')" data-ng-class="{active: $state.includes(\'main.agents\')}"> -->\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.agents\')}">\n      <a href="/agents/list">\n        <i class="icon-people"></i>\n        <span class="title" >{{\'APPLICATION_AGENTS\' | translate}}</span>\n        <span data-ng-show="$state.includes(\'main.agents\')" class="selected"></span>\n      </a>\n    </li>\n    <!-- END AGENTS CASE -->\n\n    <!-- START TEAMS CASE -->\n    <li data-ng-show="isAssociated(\'teams\')" data-ng-class="{active: $state.includes(\'main.teams\')}">\n      <a href="/teams/list">\n        <i class="icon-shield"></i>\n        <span class="title" >{{\'APPLICATION_TEAMS\' | translate}}</span>\n        <span data-ng-show="$state.includes(\'main.teams\')" class="selected"></span>\n      </a>\n    </li>\n    <!-- END TEAMS CASE -->\n    <!-- END STAFF SEPARATOR -->\n\n    <!-- START CONTACT_MANAGER SEPARATOR -->\n    <li class="heading" data-ng-show="Auth.isAdmin()">\n      <h3 class="uppercase"> <span >{{\'APPLICATION_CONTACT_MANAGER\' | translate}}  </span> </h3>\n    </li>\n    <!-- END CONTACT_MANAGER SEPARATOR -->\n\n    <!-- START CONTACTS CASE -->\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.contactmanager.contacts\')}">\n      <a href="/contactmanager/contacts/list">\n        <i class=" fa fa-users"></i>\n        <span class="title" >{{\'APPLICATION_CONTACTS\' | translate}}</span>\n        <span data-ng-show="$state.includes(\'main.contactmanager.contacts\')" class="selected"></span>\n      </a>\n    </li>\n    <!-- END CONTACTS CASE -->\n    <!-- START COMPANIES CASE -->\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.contactmanager.companies\')}">\n      <a href="/contactmanager/companies/list">\n        <i class="icon-briefcase"></i>\n        <span class="title" >{{\'APPLICATION_COMPANIES\' | translate}}</span>\n        <span data-ng-show="$state.includes(\'main.contactmanager.companies\')" class="selected"></span>\n      </a>\n    </li>\n    <!-- END COMPANIES CASE -->\n    <!-- START CUSTOMFIELDS CASE -->\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.contactmanager.customfields\')}">\n      <a href="/contactmanager/customfields/list">\n        <i class="icon-pencil"></i>\n        <span class="title" >{{\'APPLICATION_CUSTOM_FIELDS\' | translate}}</span>\n        <span data-ng-show="$state.includes(\'main.contactmanager.customfields\')" class="selected"></span>\n      </a>\n    </li>\n    <!-- END CUSTOMFIELDS CASE -->\n    <!-- END CONTACT_MANAGER SEPARATOR -->\n\n    <!-- START CHANNELS SEPARATOR -->\n    <li class="heading">\n      <h3 class="uppercase"> <span >{{\'APPLICATION_CHANNELS\' | translate}}  </span> </h3>\n    </li>\n\n    <!-- START icon-link CASE -->\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{ active: $state.includes(\'main.voice\') }">\n      <a href="javascript:;">\n        <i class="icon-earphones-alt"></i>\n        <span class="title">{{ \'APPLICATION_VOICE\' | translate}}</span>\n        <span class="arrow" data-ng-class="{ open: $state.includes(\'main.voice\') }"></span>\n      </a>\n\n      <ul class="sub-menu">\n        <li data-ng-class="{active: $state.includes(\'main.voice.queues\')}">\n          <a href="/voice/queues/list">\n          <i class="icon-docs"></i>\n          <span class="title">{{\'APPLICATION_QUEUES\' | translate}}</span>\n          </a>\n        </li>\n        <li>\n          <a href="javascript:;">\n          <i class="icon-directions"></i>\n          <span class="title"> {{ \'APPLICATION_ROUTES\' | translate}} </span>\n          <span class="arrow" data-ng-class="{ open: $state.includes(\'main.voice.routes\') }"></span>\n          <ul class="sub-menu">\n            <li data-ng-class="{active: $state.includes(\'main.voice.routes.inbound\')}">\n              <a href="/voice/routes/inbound/list">\n              <i class="icon-call-in"></i>\n              <span class="title"> {{\'APPLICATION_INBOUND\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-class="{active: $state.includes(\'main.voice.routes.outbound\')}">\n              <a href="/voice/routes/outbound/list">\n              <i class="icon-call-out"></i>\n              <span class="title"> {{\'APPLICATION_OUTBOUND\' | translate}} </span>\n              </a>\n            </li>\n            <li data-ng-class="{active: $state.includes(\'main.voice.routes.internal\')}">\n              <a href="/voice/routes/internal/list">\n              <i class="icon-reload"></i>\n              <span class="title"> {{\'APPLICATION_INTERNALS\' | translate}} </span>\n              </a>\n            </li>\n          </ul>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.voice.contexts\')}">\n          <a href="/voice/contexts/list">\n          <i class="icon-docs"></i>\n          <span class="title"> {{\'APPLICATION_CONTEXTS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.voice.voicemails\')}">\n          <a href="/voice/voicemails/list">\n          <i class="icon-envelope-letter"></i>\n          <span class="title"> {{\'APPLICATION_VOICEMAILS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.voice.mohs\')}">\n          <a href="/voice/mohs/list">\n          <i class="icon-music-tone"></i>\n          <span class="title"> {{\'APPLICATION_MOH\' | translate}} </span>\n          </a>\n        </li>\n        <!-- START REALTIME CASE -->\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.voice.realtime\')}">\n          <a href="/voice/realtime/view/agents">\n          <i class="icon-energy"></i>\n          <span class="title">{{\'APPLICATION_REALTIME\' | translate}}</span>\n          </a>\n        </li>\n        <!-- END REALTIME CASE -->\n      </ul>\n    </li>\n    <!-- END icon-link CASE -->\n\n    <!-- START CHAT CASE -->\n    <li data-ng-class="{active: $state.includes(\'main.chat\')}" data-ng-if="license.chat">\n      <a href="javascript:;">\n        <i class="icon-bubble"></i>\n        <span class="title">{{\'APPLICATION_CHAT\' | translate}}</span>\n        <span class="arrow" data-ng-class="{open: $state.includes(\'main.chat\')}"></span>\n      </a>\n      <ul class="sub-menu">\n        <li data-ng-class="{active: $state.includes(\'main.chat.websites\')}">\n          <a href="/chat/websites/list">\n          <i class="icon-globe"></i>\n          <span class="title"> {{\'APPLICATION_WEB_SITES\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.chat.queues\')}">\n          <a href="/chat/queues/list">\n          <i class="icon-docs"></i>\n          <span class="title"> {{\'APPLICATION_QUEUES\' | translate}} </span>\n          </a>\n        </li>\n        <!-- START REALTIME CASE -->\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.chat.realtime\')}">\n          <a href="/chat/realtime/view/agent/queues">\n          <i class="icon-energy"></i>\n          <span class="title">{{\'APPLICATION_REALTIME\' | translate}}</span>\n          </a>\n        </li>\n        <!-- END REALTIME CASE -->\n      </ul>\n    </li>\n    <!-- END CHAT CASE -->\n\n    <!-- START MAIL CASE -->\n    <li data-ng-class="{active: $state.includes(\'main.mail\')}" data-ng-if="license.mail">\n      <a href="javascript:;">\n        <i class="icon-envelope"></i>\n        <span class="title">{{\'APPLICATION_MAIL\' | translate}}</span>\n        <span class="arrow" data-ng-class="{ open: $state.includes(\'main.mail\') }"></span>\n      </a>\n\n      <ul class="sub-menu">\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.mail.accounts\') || $state.includes(\'main.mail.account\')}">\n          <a href="/mail/accounts/list">\n          <i class="icon-notebook"></i>\n          <span class="title"> {{\'APPLICATION_ACCOUNTS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.mail.queues\') || $state.includes(\'main.mail.queue\')}">\n          <a href="/mail/queues/list">\n          <i class="icon-docs"></i>\n          <span class="title"> {{\'APPLICATION_QUEUES\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.mail.inbox\')}">\n          <a href="/mail/inbox/incoming">\n          <i class="icon-note"></i>\n          <span class="title"> {{\'APPLICATION_INBOX\' | translate}} </span>\n          </a>\n        </li>\n        <!-- START REALTIME CASE -->\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.mail.realtime\')}">\n          <a href="/mail/realtime/view/agents/queues">\n          <i class="icon-energy"></i>\n          <span class="title">{{\'APPLICATION_REALTIME\' | translate}}</span>\n          </a>\n        </li>\n        <!-- END REALTIME CASE -->\n      </ul>\n    </li>\n    <!-- END MAIL CASE -->\n\n    <!-- START FAX CASE -->\n    <li data-ng-class="{active: $state.includes(\'main.fax\')}" data-ng-if="license.fax">\n    <!-- <li data-ng-show="license.fax" data-ng-class="{active: $state.includes(\'main.fax\')}"> -->\n      <a href="javascript:;">\n        <i class="icon-paper-plane"></i>\n        <span class="title"> {{ \'APPLICATION_FAX\' | translate}}</span>\n        <span class="arrow" data-ng-class="{ open: $state.includes(\'main.fax\') }"></span>\n      </a>\n\n      <ul class="sub-menu">\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.fax.accounts\')}">\n          <a href="/fax/accounts/list">\n          <i class="icon-notebook"></i>\n          <span class="title"> {{ \'APPLICATION_ACCOUNTS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.fax.queues\')}">\n          <a href="/fax/queues/list">\n          <i class="icon-docs"></i>\n          <span class="title"> {{ \'APPLICATION_QUEUES\' | translate }} </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.fax.inbox\')}">\n          <a href="/fax/inbox/incoming">\n          <i class="icon-note"></i>\n          <span class="title"> {{ \'APPLICATION_INBOX\' | translate }} </span>\n          </a>\n        </li>\n        <!-- <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.fax.statistics\')}">\n          <a href="/fax/statistics/summary">\n          <i class="icon-eyeglass"></i>\n          <span class="title"> {{ \'APPLICATION_STATISTICS\' | translate }} </span>\n          </a>\n        </li> -->\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.fax.automations\')}">\n          <a href="/fax/automations/list">\n          <i class="icon-settings"></i>\n          <span class="title"> {{\'APPLICATION_AUTOMATIONS\' | translate}} </span>\n          </a>\n        </li>\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.fax.timeline\')}">\n          <a href="/fax/timeline/list">\n          <i class="icon-list"></i>\n          <span class="title"> {{\'APPLICATION_TIMELINE\' | translate}} </span>\n          </a>\n        </li>\n      </ul>\n    </li>\n    <!-- END FAX CASE -->\n    <!-- END CHANNELS SEPARATOR -->\n\n    <!-- START ANALYTICS SEPARATOR -->\n    <li class="heading">\n      <h3 class="uppercase"> <span >{{\'APPLICATION_ANALYTICS\' | translate}}  </span> </h3>\n    </li>\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.analytics.reports\')}">\n      <a href="/analytics/reports/list">\n        <i class="icon-book-open"></i>\n        <span class="title" >{{\'APPLICATION_REPORTS\' | translate}}</span>\n        <span data-ng-show="$state.includes(\'main.analytics.reports\')" class="selected"></span>\n      </a>\n    </li>\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.analytics.extracted\')}">\n      <a href="/analytics/extracted/list">\n        <i class="fa fa-file-pdf-o"></i>\n        <span class="title" >{{\'APPLICATION_EXTRACTED_REPORTS\' | translate}}</span>\n        <span data-ng-show="$state.includes(\'main.analytics.extracted\')" class="selected"></span>\n      </a>\n    </li>\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.analytics.metrics\')}">\n      <a href="/analytics/metrics/list">\n        <i class="icon-calculator"></i>\n        <span class="title" >{{\'APPLICATION_METRICS\' | translate}}</span>\n        <span data-ng-show="$state.includes(\'main.metrics.reports\')" class="selected"></span>\n      </a>\n    </li>\n    <!-- END ANALYTICS SEPARATOR -->\n\n    <!-- START INTEGRATIONS SEPARATOR -->\n    <li data-ng-show="Auth.isAdmin()" class="heading">\n      <h3 class="uppercase"> <span translate> APPLICATION_INTEGRATIONS </span> </h3>\n    </li>\n\n    <!-- START INTEGRATION CASE -->\n    <li data-ng-repeat="integration in integrations" data-ng-if="integration.active" data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.{{integration.state}}\')}">\n      <a href="/{{integration.state}}/list">\n        <i class="icon-handbag"></i>\n        <span class="title" >{{integration.name}}</span>\n        <span data-ng-show="$state.includes(\'main.{{integration.state}}\')" class="selected"></span>\n      </a>\n    </li>\n\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.is(\'main.market\')}">\n      <a href="/market">\n        <i class="icon-handbag"></i>\n        <span class="title" translate>Market Place</span>\n        <span data-ng-show="$state.includes(\'main.market\')" class="selected"></span>\n      </a>\n    </li>\n    <!-- <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.is(\'main.integrations.list\')}">\n      <a href="/integrations/list">\n        <i class="icon-game-controller"></i>\n        <span class="title" translate>Test Your App</span>\n        <span data-ng-show="$state.includes(\'main.integrations.list\')" class="selected"></span>\n      </a>\n    </li> -->\n    <!-- END INTEGRATIONS SEPARATOR -->\n\n    <!-- START TOOLS SEPARATOR -->\n    <li data-ng-show="Auth.isAdmin()" class="heading">\n      <h3 class="uppercase"> <span >{{\'APPLICATION_TOOLS\' | translate}}  </span> </h3>\n    </li>\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.triggers\')}">\n      <a href="/triggers/list">\n      <i class="icon-bulb"></i>\n      <span class="title"> {{\'APPLICATION_TRIGGERS\' | translate}} </span>\n      </a>\n    </li>\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.automations\')}">\n      <a href="/automations/list">\n      <i class="icon-settings"></i>\n      <span class="title"> {{\'APPLICATION_AUTOMATIONS\' | translate}} </span>\n      </a>\n    </li>\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.trunks\')}">\n      <a href="/trunks/list">\n      <i class="icon-link"></i>\n      <span class="title"> {{\'APPLICATION_TRUNKS\' | translate}} </span>\n      </a>\n    </li>\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.intervals\')}">\n      <a href="/intervals/list">\n      <i class="icon-clock"></i>\n      <span class="title"> {{\'APPLICATION_INTERVALS\' | translate}} </span>\n      </a>\n    </li>\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.variables\')}">\n      <a href="/variables/list">\n      <i class="fa fa-eye"></i>\n      <span class="title" >{{\'APPLICATION_VARIABLES\' | translate}}  </span>\n      </a>\n    </li>\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.tags\')}">\n      <a href="/tags/list">\n      <i class="icon-tag"></i>\n      <span class="title" >{{\'APPLICATION_TAGS\' | translate}}  </span>\n      </a>\n    </li>\n    <!-- START CALLYSQUARE CASE -->\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.square\')}">\n      <a href="javascript:;">\n        <i class="fa fa-superscript"></i>\n        <span class="title" >{{\'APPLICATION_CALLYSQUARE\' | translate}}</span>\n        <span class="arrow"></span>\n      </a>\n      <ul class="sub-menu">\n        <li data-ng-class="{active: $state.includes(\'main.square.projects\')}">\n          <a href="/square/projects/list">\n          <i class="fa fa-slack"></i>\n          <span class="title" >{{\'APPLICATION_PROJECTS\' | translate}}  </span>\n          </a>\n        </li>\n        <li data-ng-class="{active: $state.includes(\'main.square.odbc\')}">\n          <a href="/square/odbcs/list">\n          <i class="fa fa-database"></i>\n          <span class="title" >{{\'APPLICATION_ODBC\' | translate}}  </span>\n          </a>\n        </li>\n       </ul>\n    </li>\n    <!-- END CALLYSQUARE CASE -->\n\n    <!-- START JSCRIPTY CASE -->\n\n    <li  data-ng-class="{active: $state.includes(\'main.jscripty\')}">\n      <a href="javascript:;">\n        <i class="fa fa-edit"></i>\n        <span class="title" >{{\'APPLICATION_JSCRIPTY\' | translate}}    <span  class="badge">Beta</span>\n        </span>\n        <span class="arrow"></span>\n      </a>\n      <ul class="sub-menu">\n        <li data-ng-class="{active: $state.includes(\'main.jscripty.projects\')}">\n          <a href="/jscripty/projects/list">\n          <i class="fa fa-slack"></i>\n          <span class="title" >{{\'APPLICATION_PROJECTS\' | translate}}  </span>\n          </a>\n        </li>\n       </ul>\n    </li>\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.yourdashboards.list\') || $state.includes(\'main.yourdashboards.settings\')}">\n      <a href="/yourdashboards/list">\n      <i class="icon-grid"></i>\n      <span class="title"> {{\'APPLICATION_DASHBOARDS_MANAGER\' | translate}} </span>\n      </a>\n    </li>\n    <!-- END JSCRIPTY CASE -->\n\n    <!-- START AUTODIALER CASE -->\n    <!-- <li data-ng-show="Auth.isAdmin()">\n      <a href="javascript:;">\n        <i class="icon-call-out"></i>\n        <span class="title">AutoDialer</span>\n        <span class="arrow"></span>\n      </a>\n      <ul class="sub-menu">\n      </ul>\n    </li> -->\n    <!-- END AUTODIALER CASE -->\n\n    <!-- START ANALYTICS CASE -->\n    <!-- <li data-ng-show="isAssociated(\'analytics\')"> -->\n    <!-- <li data-ng-show="Auth.isAdmin()">\n      <a href="#/analytics">\n        <i class="icon-graph"></i>\n        <span class="title" >{{\'APPLICATION_ANALYTICS\' | translate}}</span>\n      </a>\n    </li> -->\n    <!-- END ANALYTICS CASE -->\n\n    <!-- END TOOLS SEPARATOR -->\n\n    <!-- START AUDIO SEPARATOR -->\n    <li data-ng-show="Auth.isAdmin()" class="heading">\n      <h3 class="uppercase"> <span >{{\'APPLICATION_AUDIO\' | translate}}  </span> </h3>\n    </li>\n    <!-- END AUDIO SEPARATOR -->\n\n    <!-- START AUDIO CASE -->\n    <!-- <li data-ng-show="isAssociated(\'audio\')" data-ng-class="{active: $state.is(\'main.sound\')}"> -->\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.sounds\')}">\n      <a href="/sounds/list">\n        <i class="icon-music-tone-alt"></i>\n        <span class="title" >{{\'APPLICATION_SOUNDS\' | translate}}</span>\n        <span data-ng-show="$state.includes(\'main.sounds\')" class="selected"></span>\n      </a>\n    </li>\n    <!-- END AUDIO CASE -->\n\n\n    <!-- START SETTINGS SEPARATOR -->\n    <li data-ng-show="Auth.isAdmin()" class="heading">\n      <h3 class="uppercase"> <span >{{\'APPLICATION_SETTINGS\' | translate}}  </span> </h3>\n    </li>\n    <!-- END SETTINGS SEPARATOR -->\n\n    <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.setting\')}">\n      <a href="javascript:;">\n        <i class="icon-settings"></i>\n        <span class="title" >{{\'APPLICATION_SETTINGS\' | translate}}</span>\n        <span class="arrow"></span>\n      </a>\n      <ul class="sub-menu">\n        <!-- START UPDATES CASE -->\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.setting.updates\')}">\n          <a href="/setting/updates/list">\n            <i class="icon-cloud-download"></i>\n            <span class="title" >{{\'APPLICATION_UPDATES\' | translate}}</span>\n            <!-- <span data-ng-show="$state.includes(\'main.updates\')" class="selected"></span> -->\n          </a>\n        </li>\n        <!-- END UPDATES CASE -->\n\n        <!-- START SMTP CASE -->\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.setting.smtp\')}">\n          <a href="/setting/smtp/view">\n            <i class="icon-envelope"></i>\n            <span class="title">SMTP</span>\n            <!-- <span data-ng-show="$state.includes(\'main.smtp\')" class="selected"></span> -->\n          </a>\n        </li>\n        <!-- END SMTP CASE -->\n\n        <!-- START TEMPLATE CASE -->\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.setting.templates\')}">\n          <a href="/setting/templates/list">\n          <i class="icon-docs"></i>\n          <span class="title"> {{\'APPLICATION_TEMPLATES\' | translate}} </span>\n          </a>\n        </li>\n        <!-- END TEMPLATE CASE -->\n\n        <!-- START LICENSE CASE -->\n        <li data-ng-show="Auth.isAdmin()" data-ng-class="{active: $state.includes(\'main.setting.license\')}">\n          <a href="/setting/license/view">\n          <i class="icon-info"></i>\n          <span class="title"> {{\'APPLICATION_LICENSE\' | translate}} </span>\n          </a>\n        </li>\n        <!-- END LICENSE CASE -->\n       </ul>\n    </li>\n\n  </ul>\n  <!-- END SIDEBAR MENU -->\n</div>\n');
 }]);
\ No newline at end of file
index 2199b86..f255ee0 100644 (file)
Binary files a/public/assets/images/demo.png and b/public/assets/images/demo.png differ
index c024b9d..5d1fd94 100644 (file)
@@ -7,11 +7,16 @@
   "APPLICATION_ALIAS": "Alias",
   "APPLICATION_COPY_REPORT": "Copy Report",
   "MESSAGE_REPORT_EXTRACTING": "Your report is being elaborated, you will find it under the 'Extracted reports' section..",
+  "APPLICATION_EXTRACTED_REPORTS": "Extracted Reports",
   "APPLICATION_COPY_TO": "Copy To",
+  "MESSAGE_START_OR_END_DATE_MISSING": "Start or End Date missing!",
   "APPLICATION_DATE_RANGE": "Date Range",
   "APPLICATION_COPY": "Copy",
-  "APPLICATION_SAVE_TO_CSV": "To CSV",
-  "APPLICATION_SAVE_TO_PDF": "To PDF",
+  "APPLICATION_START_DATE": "Start Date",
+  "APPLICATION_END_DATE": "End Date",
+  "MESSAGE_NO_EXTRACTED_REPORTS_AVAILABLE": "No extracted reports available",
+  "APPLICATION_SAVE_AS_CSV": "Save as CSV",
+  "APPLICATION_SAVE_AS_PDF": "Save as PDF",
   "APPLICATION_EXTRACT": "Extract",
   "APPLICATION_REPORT_PREVIEW": "Report Preview",
   "APPLICATION_EXTRACT_REPORT": "Extract Report",
   "APPLICATION_AUDIO_FILE": "Audio File",
   "APPLICATION_CALLYSQUARE": "Cally &#178;",
   "APPLICATION_JSCRIPTY": "Jscripty",
+  "APPLICATION_START": "Start",
   "APPLICATION_PROJECTS": "Projects",
   "APPLICATION_PROJECT": "Project",
   "APPLICATION_PROJECTS_LIST": "Projects List",
index e963d5a..d849b10 100644 (file)
   "MESSAGE_REPORT_EXTRACTING": "Il tuo report è in elaborazione, lo troverai nella sezione 'Report Estratti'",
   "APPLICATION_DATE_RANGE": "Intervallo Date",
   "APPLICATION_COPY": "Copia",
+  "MESSAGE_START_OR_END_DATE_MISSING": "Data di inizio o di fine mancante!",
+  "APPLICATION_EXTRACTED_REPORTS": "Report Estratti",
+  "MESSAGE_NO_EXTRACTED_REPORTS_AVAILABLE": "Nessun report estrattp disponibile",
+  "APPLICATION_SAVE_AS_CSV": "Salve come CSV",
+  "APPLICATION_SAVE_AS_PDF": "Salva come PDF",
+  "APPLICATION_START_DATE": "Data Di Inizio",
+  "APPLICATION_END_DATE": "Data Di Fine",
   "APPLICATION_EXPORT": "Esporta",
   "APPLICATION_EXTRACT": "Estrai",
   "APPLICATION_REPORT_PREVIEW": "Anteprima Report",
   "APPLICATION_MULTI_FILE_UPLOAD": "Multi File Upload",
   "APPLICATION_CALLYSQUARE": "Cally &#178;",
   "APPLICATION_JSCRIPTY": "Jscripty",
+  "APPLICATION_START": "Start",
   "APPLICATION_PROJECTS": "Progetti",
   "APPLICATION_PROJECT": "Progetto",
   "APPLICATION_PROJECTS_LIST": "Lista Progetti",
index 5a04240..71c1f56 100644 (file)
@@ -842,7 +842,7 @@ function GeneralDialog(editorUi, cell) {
                                input = createDropdownFromApi('/api/trunks', value, 'name', 'id', editorUi, true);
                                break;
                        case 'variable_id':
-                               input = createDropdownFromApi('/api/square/variables', value, 'name', 'id', editorUi, true); //mettere true dopo la pagination
+                               input = createDropdownFromApi('/api/variables', value, 'name', 'id', editorUi, true); //mettere true dopo la pagination
                                break;
                        case 'model':
                                input = createDropdownFromArray(ISPEECHASRMODEL, value);
index c40b893..58e1d87 100644 (file)
@@ -668,7 +668,7 @@ EditorUi.prototype.validate = function(a, b) {
                                d = (a.value.getAttribute('sip_id') > 0) ? "" : mxResources.get('noIdentifierSelected') + "\n";
                                break;
                        case 'queue':
-                               d = (a.value.getAttribute('queue_id') > 0) ? "" : mxResources.get('noQueueSelected') + "\n";
+                               d = (a.value.getAttribute('queue_id') !== "") ? "" : mxResources.get('noQueueSelected') + "\n";
                                break;
                        case 'callback':
                                d = (a.value.getAttribute('list_id') > 0) ? "" : mxResources.get('noListSelected') + "\n";
index 9a24f6e..f4ac38d 100644 (file)
@@ -25,6 +25,7 @@
        "use strict";
 
        var dragEl,
+               parentEl,
                ghostEl,
                cloneEl,
                rootEl,
@@ -35,6 +36,7 @@
 
                lastEl,
                lastCSS,
+               lastParentCSS,
 
                oldIndex,
                newIndex,
@@ -45,6 +47,8 @@
                tapEvt,
                touchEvt,
 
+               moved,
+
                /** @const */
                RSPACE = /\s+/g,
 
                parseInt = win.parseInt,
 
                supportDraggable = !!('draggable' in document.createElement('div')),
+               supportCssPointerEvents = (function (el) {
+                       el = document.createElement('x');
+                       el.style.cssText = 'pointer-events:auto';
+                       return el.style.pointerEvents === 'auto';
+               })(),
 
                _silent = false,
 
                                        }
                                }
                        }
-               }, 30)
+               }, 30),
+
+               _prepareGroup = function (options) {
+                       var group = options.group;
+
+                       if (!group || typeof group != 'object') {
+                               group = options.group = {name: group};
+                       }
+
+                       ['pull', 'put'].forEach(function (key) {
+                               if (!(key in group)) {
+                                       group[key] = true;
+                               }
+                       });
+
+                       options.groups = ' ' + group.name + (group.put.join ? ' ' + group.put.join(' ') : '') + ' ';
+               }
        ;
 
 
         * @param  {Object}       [options]
         */
        function Sortable(el, options) {
+               if (!(el && el.nodeType && el.nodeType === 1)) {
+                       throw 'Sortable: `el` must be HTMLElement, and not ' + {}.toString.call(el);
+               }
+
                this.el = el; // root element
                this.options = options = _extend({}, options);
 
                        scrollSpeed: 10,
                        draggable: /[uo]l/i.test(el.nodeName) ? 'li' : '>*',
                        ghostClass: 'sortable-ghost',
+                       chosenClass: 'sortable-chosen',
                        ignore: 'a, img',
                        filter: null,
                        animation: 0,
                        dropBubble: false,
                        dragoverBubble: false,
                        dataIdAttr: 'data-id',
-                       delay: 0
+                       delay: 0,
+                       forceFallback: false,
+                       fallbackClass: 'sortable-fallback',
+                       fallbackOnBody: false
                };
 
 
                        !(name in options) && (options[name] = defaults[name]);
                }
 
-
-               var group = options.group;
-
-               if (!group || typeof group != 'object') {
-                       group = options.group = { name: group };
-               }
-
-
-               ['pull', 'put'].forEach(function (key) {
-                       if (!(key in group)) {
-                               group[key] = true;
-                       }
-               });
-
-
-               options.groups = ' ' + group.name + (group.put.join ? ' ' + group.put.join(' ') : '') + ' ';
-
+               _prepareGroup(options);
 
                // Bind all private methods
                for (var fn in this) {
                        if (fn.charAt(0) === '_') {
-                               this[fn] = _bind(this, this[fn]);
+                               this[fn] = this[fn].bind(this);
                        }
                }
 
+               // Setup drag mode
+               this.nativeDraggable = options.forceFallback ? false : supportDraggable;
 
                // Bind events
                _on(el, 'mousedown', this._onTapStart);
                _on(el, 'touchstart', this._onTapStart);
 
-               _on(el, 'dragover', this);
-               _on(el, 'dragenter', this);
+               if (this.nativeDraggable) {
+                       _on(el, 'dragover', this);
+                       _on(el, 'dragenter', this);
+               }
 
                touchDragOverListeners.push(this._onDragOver);
 
 
                                rootEl = el;
                                dragEl = target;
+                               parentEl = dragEl.parentNode;
                                nextEl = dragEl.nextSibling;
                                activeGroup = options.group;
 
                                        // Make the element draggable
                                        dragEl.draggable = true;
 
-                                       // Disable "draggable"
-                                       options.ignore.split(',').forEach(function (criteria) {
-                                               _find(dragEl, criteria.trim(), _disableDraggable);
-                                       });
+                                       // Chosen item
+                                       _toggleClass(dragEl, _this.options.chosenClass, true);
 
                                        // Bind the events: dragstart/dragend
                                        _this._triggerDragStart(touch);
                                };
 
+                               // Disable "draggable"
+                               options.ignore.split(',').forEach(function (criteria) {
+                                       _find(dragEl, criteria.trim(), _disableDraggable);
+                               });
+
                                _on(ownerDocument, 'mouseup', _this._onDrop);
                                _on(ownerDocument, 'touchend', _this._onDrop);
                                _on(ownerDocument, 'touchcancel', _this._onDrop);
 
                                if (options.delay) {
-                                       // If the user moves the pointer before the delay has been reached:
+                                       // If the user moves the pointer or let go the click or touch
+                                       // before the delay has been reached:
                                        // disable the delayed drag
+                                       _on(ownerDocument, 'mouseup', _this._disableDelayedDrag);
+                                       _on(ownerDocument, 'touchend', _this._disableDelayedDrag);
+                                       _on(ownerDocument, 'touchcancel', _this._disableDelayedDrag);
                                        _on(ownerDocument, 'mousemove', _this._disableDelayedDrag);
                                        _on(ownerDocument, 'touchmove', _this._disableDelayedDrag);
 
                        var ownerDocument = this.el.ownerDocument;
 
                        clearTimeout(this._dragStartTimer);
-
+                       _off(ownerDocument, 'mouseup', this._disableDelayedDrag);
+                       _off(ownerDocument, 'touchend', this._disableDelayedDrag);
+                       _off(ownerDocument, 'touchcancel', this._disableDelayedDrag);
                        _off(ownerDocument, 'mousemove', this._disableDelayedDrag);
                        _off(ownerDocument, 'touchmove', this._disableDelayedDrag);
                },
 
                                this._onDragStart(tapEvt, 'touch');
                        }
-                       else if (!supportDraggable) {
+                       else if (!this.nativeDraggable) {
                                this._onDragStart(tapEvt, true);
                        }
                        else {
 
                _emulateDragOver: function () {
                        if (touchEvt) {
-                               _css(ghostEl, 'display', 'none');
+                               if (this._lastX === touchEvt.clientX && this._lastY === touchEvt.clientY) {
+                                       return;
+                               }
+
+                               this._lastX = touchEvt.clientX;
+                               this._lastY = touchEvt.clientY;
+
+                               if (!supportCssPointerEvents) {
+                                       _css(ghostEl, 'display', 'none');
+                               }
 
                                var target = document.elementFromPoint(touchEvt.clientX, touchEvt.clientY),
                                        parent = target,
                                        while (parent = parent.parentNode);
                                }
 
-                               _css(ghostEl, 'display', '');
+                               if (!supportCssPointerEvents) {
+                                       _css(ghostEl, 'display', '');
+                               }
                        }
                },
 
 
                _onTouchMove: function (/**TouchEvent*/evt) {
                        if (tapEvt) {
+                               // only set the status to dragging, when we are actually dragging
+                               if (!Sortable.active) {
+                                       this._dragStarted();
+                               }
+
+                               // as well as creating the ghost element on the document body
+                               this._appendGhost();
+
                                var touch = evt.touches ? evt.touches[0] : evt,
                                        dx = touch.clientX - tapEvt.clientX,
                                        dy = touch.clientY - tapEvt.clientY,
                                        translate3d = evt.touches ? 'translate3d(' + dx + 'px,' + dy + 'px,0)' : 'translate(' + dx + 'px,' + dy + 'px)';
 
+                               moved = true;
                                touchEvt = touch;
 
                                _css(ghostEl, 'webkitTransform', translate3d);
                        }
                },
 
-
-               _onDragStart: function (/**Event*/evt, /**boolean*/useFallback) {
-                       var dataTransfer = evt.dataTransfer,
-                               options = this.options;
-
-                       this._offUpEvents();
-
-                       if (activeGroup.pull == 'clone') {
-                               cloneEl = dragEl.cloneNode(true);
-                               _css(cloneEl, 'display', 'none');
-                               rootEl.insertBefore(cloneEl, dragEl);
-                       }
-
-                       if (useFallback) {
+               _appendGhost: function () {
+                       if (!ghostEl) {
                                var rect = dragEl.getBoundingClientRect(),
                                        css = _css(dragEl),
+                                       options = this.options,
                                        ghostRect;
 
                                ghostEl = dragEl.cloneNode(true);
 
+                               _toggleClass(ghostEl, options.ghostClass, false);
+                               _toggleClass(ghostEl, options.fallbackClass, true);
+
                                _css(ghostEl, 'top', rect.top - parseInt(css.marginTop, 10));
                                _css(ghostEl, 'left', rect.left - parseInt(css.marginLeft, 10));
                                _css(ghostEl, 'width', rect.width);
                                _css(ghostEl, 'opacity', '0.8');
                                _css(ghostEl, 'position', 'fixed');
                                _css(ghostEl, 'zIndex', '100000');
+                               _css(ghostEl, 'pointerEvents', 'none');
 
-                               rootEl.appendChild(ghostEl);
+                               options.fallbackOnBody && document.body.appendChild(ghostEl) || rootEl.appendChild(ghostEl);
 
                                // Fixing dimensions.
                                ghostRect = ghostEl.getBoundingClientRect();
                                _css(ghostEl, 'width', rect.width * 2 - ghostRect.width);
                                _css(ghostEl, 'height', rect.height * 2 - ghostRect.height);
+                       }
+               },
+
+               _onDragStart: function (/**Event*/evt, /**boolean*/useFallback) {
+                       var dataTransfer = evt.dataTransfer,
+                               options = this.options;
+
+                       this._offUpEvents();
+
+                       if (activeGroup.pull == 'clone') {
+                               cloneEl = dragEl.cloneNode(true);
+                               _css(cloneEl, 'display', 'none');
+                               rootEl.insertBefore(cloneEl, dragEl);
+                       }
+
+                       if (useFallback) {
 
                                if (useFallback === 'touch') {
                                        // Bind touch events
                                        _on(document, 'mouseup', this._onDrop);
                                }
 
-                               this._loopId = setInterval(this._emulateDragOver, 150);
+                               this._loopId = setInterval(this._emulateDragOver, 50);
                        }
                        else {
                                if (dataTransfer) {
                                }
 
                                _on(document, 'drop', this);
+                               setTimeout(this._dragStarted, 0);
                        }
-
-                       setTimeout(this._dragStarted, 0);
                },
 
                _onDragOver: function (/**Event*/evt) {
                                !options.dragoverBubble && evt.stopPropagation();
                        }
 
+                       moved = true;
+
                        if (activeGroup && !options.disabled &&
                                (isOwner
                                        ? canSort || (revert = !rootEl.contains(dragEl)) // Reverting item into the original list
                                target = _closest(evt.target, options.draggable, el);
                                dragRect = dragEl.getBoundingClientRect();
 
-
                                if (revert) {
                                        _cloneHide(true);
 
 
 
                                if ((el.children.length === 0) || (el.children[0] === ghostEl) ||
-                                       (el === evt.target) && (target = _ghostInBottom(el, evt))
+                                       (el === evt.target) && (target = _ghostIsLast(el, evt))
                                ) {
+
                                        if (target) {
                                                if (target.animated) {
                                                        return;
                                                }
+
                                                targetRect = target.getBoundingClientRect();
                                        }
 
                                        _cloneHide(isOwner);
 
                                        if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect) !== false) {
-                                               el.appendChild(dragEl);
+                                               if (!dragEl.contains(el)) {
+                                                       el.appendChild(dragEl);
+                                                       parentEl = el; // actualization
+                                               }
+
                                                this._animate(dragRect, dragEl);
                                                target && this._animate(targetRect, target);
                                        }
                                        if (lastEl !== target) {
                                                lastEl = target;
                                                lastCSS = _css(target);
+                                               lastParentCSS = _css(target.parentNode);
                                        }
 
 
                                        var targetRect = target.getBoundingClientRect(),
                                                width = targetRect.right - targetRect.left,
                                                height = targetRect.bottom - targetRect.top,
-                                               floating = /left|right|inline/.test(lastCSS.cssFloat + lastCSS.display),
+                                               floating = /left|right|inline/.test(lastCSS.cssFloat + lastCSS.display)
+                                                       || (lastParentCSS.display == 'flex' && lastParentCSS['flex-direction'].indexOf('row') === 0),
                                                isWide = (target.offsetWidth > dragEl.offsetWidth),
                                                isLong = (target.offsetHeight > dragEl.offsetHeight),
                                                halfway = (floating ? (evt.clientX - targetRect.left) / width : (evt.clientY - targetRect.top) / height) > 0.5,
                                                        after = (moveVector === 1);
                                                }
                                                else if (floating) {
-                                                       after = (target.previousElementSibling === dragEl) && !isWide || halfway && isWide;
+                                                       var elTop = dragEl.offsetTop,
+                                                               tgTop = target.offsetTop;
+
+                                                       if (elTop === tgTop) {
+                                                               after = (target.previousElementSibling === dragEl) && !isWide || halfway && isWide;
+                                                       } else {
+                                                               after = tgTop > elTop;
+                                                       }
                                                } else {
                                                        after = (nextSibling !== dragEl) && !isLong || halfway && isLong;
                                                }
 
-                                               if (after && !nextSibling) {
-                                                       el.appendChild(dragEl);
-                                               } else {
-                                                       target.parentNode.insertBefore(dragEl, after ? nextSibling : target);
+                                               if (!dragEl.contains(el)) {
+                                                       if (after && !nextSibling) {
+                                                               el.appendChild(dragEl);
+                                                       } else {
+                                                               target.parentNode.insertBefore(dragEl, after ? nextSibling : target);
+                                                       }
                                                }
 
+                                               parentEl = dragEl.parentNode; // actualization
+
                                                this._animate(dragRect, dragEl);
                                                this._animate(targetRect, target);
                                        }
                        clearTimeout(this._dragStartTimer);
 
                        // Unbind events
-                       _off(document, 'drop', this);
                        _off(document, 'mousemove', this._onTouchMove);
-                       _off(el, 'dragstart', this._onDragStart);
+
+                       if (this.nativeDraggable) {
+                               _off(document, 'drop', this);
+                               _off(el, 'dragstart', this._onDragStart);
+                       }
 
                        this._offUpEvents();
 
                        if (evt) {
-                               evt.preventDefault();
-                               !options.dropBubble && evt.stopPropagation();
+                               if (moved) {
+                                       evt.preventDefault();
+                                       !options.dropBubble && evt.stopPropagation();
+                               }
 
                                ghostEl && ghostEl.parentNode.removeChild(ghostEl);
 
                                if (dragEl) {
-                                       _off(dragEl, 'dragend', this);
+                                       if (this.nativeDraggable) {
+                                               _off(dragEl, 'dragend', this);
+                                       }
 
                                        _disableDraggable(dragEl);
+
+                                       // Remove class's
                                        _toggleClass(dragEl, this.options.ghostClass, false);
+                                       _toggleClass(dragEl, this.options.chosenClass, false);
 
-                                       if (rootEl !== dragEl.parentNode) {
+                                       if (rootEl !== parentEl) {
                                                newIndex = _index(dragEl);
 
-                                               // drag from one list and drop into another
-                                               _dispatchEvent(null, dragEl.parentNode, 'sort', dragEl, rootEl, oldIndex, newIndex);
-                                               _dispatchEvent(this, rootEl, 'sort', dragEl, rootEl, oldIndex, newIndex);
+                                               if (newIndex >= 0) {
+                                                       // drag from one list and drop into another
+                                                       _dispatchEvent(null, parentEl, 'sort', dragEl, rootEl, oldIndex, newIndex);
+                                                       _dispatchEvent(this, rootEl, 'sort', dragEl, rootEl, oldIndex, newIndex);
 
-                                               // Add event
-                                               _dispatchEvent(null, dragEl.parentNode, 'add', dragEl, rootEl, oldIndex, newIndex);
+                                                       // Add event
+                                                       _dispatchEvent(null, parentEl, 'add', dragEl, rootEl, oldIndex, newIndex);
 
-                                               // Remove event
-                                               _dispatchEvent(this, rootEl, 'remove', dragEl, rootEl, oldIndex, newIndex);
+                                                       // Remove event
+                                                       _dispatchEvent(this, rootEl, 'remove', dragEl, rootEl, oldIndex, newIndex);
+                                               }
                                        }
                                        else {
                                                // Remove clone
                                                        // Get the index of the dragged element within its parent
                                                        newIndex = _index(dragEl);
 
-                                                       // drag & drop within the same list
-                                                       _dispatchEvent(this, rootEl, 'update', dragEl, rootEl, oldIndex, newIndex);
-                                                       _dispatchEvent(this, rootEl, 'sort', dragEl, rootEl, oldIndex, newIndex);
+                                                       if (newIndex >= 0) {
+                                                               // drag & drop within the same list
+                                                               _dispatchEvent(this, rootEl, 'update', dragEl, rootEl, oldIndex, newIndex);
+                                                               _dispatchEvent(this, rootEl, 'sort', dragEl, rootEl, oldIndex, newIndex);
+                                                       }
                                                }
                                        }
 
                                        if (Sortable.active) {
-                                               // Drag end event
+                                               if (newIndex === null || newIndex === -1) {
+                                                       newIndex = oldIndex;
+                                               }
+
                                                _dispatchEvent(this, rootEl, 'end', dragEl, rootEl, oldIndex, newIndex);
 
                                                // Save sorting
                                // Nulling
                                rootEl =
                                dragEl =
+                               parentEl =
                                ghostEl =
                                nextEl =
                                cloneEl =
                                tapEvt =
                                touchEvt =
 
+                               moved =
+                               newIndex =
+
                                lastEl =
                                lastCSS =
 
                                return options[name];
                        } else {
                                options[name] = value;
+
+                               if (name === 'group') {
+                                       _prepareGroup(options);
+                               }
                        }
                },
 
                        _off(el, 'mousedown', this._onTapStart);
                        _off(el, 'touchstart', this._onTapStart);
 
-                       _off(el, 'dragover', this);
-                       _off(el, 'dragenter', this);
+                       if (this.nativeDraggable) {
+                               _off(el, 'dragover', this);
+                               _off(el, 'dragenter', this);
+                       }
 
                        // Remove draggable attributes
                        Array.prototype.forEach.call(el.querySelectorAll('[draggable]'), function (el) {
        }
 
 
-       function _bind(ctx, fn) {
-               var args = slice.call(arguments, 2);
-               return  fn.bind ? fn.bind.apply(fn, [ctx].concat(args)) : function () {
-                       return fn.apply(ctx, args.concat(slice.call(arguments)));
-               };
-       }
-
-
        function _closest(/**HTMLElement*/el, /**String*/selector, /**HTMLElement*/ctx) {
                if (el) {
                        ctx = ctx || document;
 
 
        function _globalDragOver(/**Event*/evt) {
-               evt.dataTransfer.dropEffect = 'move';
+               if (evt.dataTransfer) {
+                       evt.dataTransfer.dropEffect = 'move';
+               }
                evt.preventDefault();
        }
 
                        onMoveFn = sortable.options.onMove,
                        retVal;
 
-               if (onMoveFn) {
-                       evt = document.createEvent('Event');
-                       evt.initEvent('move', true, true);
+               evt = document.createEvent('Event');
+               evt.initEvent('move', true, true);
 
-                       evt.to = toEl;
-                       evt.from = fromEl;
-                       evt.dragged = dragEl;
-                       evt.draggedRect = dragRect;
-                       evt.related = targetEl || toEl;
-                       evt.relatedRect = targetRect || toEl.getBoundingClientRect();
+               evt.to = toEl;
+               evt.from = fromEl;
+               evt.dragged = dragEl;
+               evt.draggedRect = dragRect;
+               evt.related = targetEl || toEl;
+               evt.relatedRect = targetRect || toEl.getBoundingClientRect();
 
+               fromEl.dispatchEvent(evt);
+
+               if (onMoveFn) {
                        retVal = onMoveFn.call(sortable, evt);
                }
 
 
 
        /** @returns {HTMLElement|false} */
-       function _ghostInBottom(el, evt) {
+       function _ghostIsLast(el, evt) {
                var lastEl = el.lastElementChild,
-                       rect = lastEl.getBoundingClientRect();
+                               rect = lastEl.getBoundingClientRect();
 
-               return (evt.clientY - (rect.top + rect.height) > 5) && lastEl; // min delta
+               return ((evt.clientY - (rect.top + rect.height) > 5) || (evt.clientX - (rect.right + rect.width) > 5)) && lastEl; // min delta
        }
 
 
 
        /**
         * Returns the index of an element within its parent
-        * @param el
-        * @returns {number}
-        * @private
+        * @param  {HTMLElement} el
+        * @return {number}
         */
-       function _index(/**HTMLElement*/el) {
+       function _index(el) {
                var index = 0;
+
+               if (!el || !el.parentNode) {
+                       return -1;
+               }
+
                while (el && (el = el.previousElementSibling)) {
                        if (el.nodeName.toUpperCase() !== 'TEMPLATE') {
                                index++;
                        }
                }
+
                return index;
        }
 
                off: _off,
                css: _css,
                find: _find,
-               bind: _bind,
                is: function (el, selector) {
                        return !!_closest(el, selector, el);
                },
        };
 
 
-       Sortable.version = '1.2.1';
-
-
        /**
         * Create sortable instance
         * @param {HTMLElement}  el
                return new Sortable(el, options);
        };
 
+
        // Export
+       Sortable.version = '1.4.2';
        return Sortable;
 });
index 6a7f701..0288197 100644 (file)
@@ -1,4 +1,17 @@
-\feff(function () {
+\feff(function (factory) {
+    "use strict";
+    if (typeof define === "function" && define.amd) {
+        // AMD anonymous module
+        define(["knockout"], factory);
+    } else if (typeof require === "function" && typeof exports === "object" && typeof module === "object") {
+        // CommonJS module
+        var ko = require("knockout");
+        factory(ko);
+    } else {
+        // No module loader (plain <script> tag) - put directly in global namespace
+        factory(window.ko);
+    }
+})(function (ko) {
     "use strict";
 
     var init = function (element, valueAccessor, allBindings, viewModel, bindingContext, sortableOptions) {
                 }.bind(undefined, e, viewModel, allBindings, options[e]);
         });
 
-        viewModel._sortable = Sortable.create(element, options);
+        var sortableElement = Sortable.create(element, options);
 
         //Destroy the sortable if knockout disposes the element it's connected to
         ko.utils.domNodeDisposal.addDisposeCallback(element, function () {
-            viewModel._sortable.destroy();
+            sortableElement.destroy();
         });
         return ko.bindingHandlers.template.init(element, valueAccessor);
     },
                 //Unwrapping this allows us to manipulate the actual array
                 var fromArray = from(),
                     //It's not certain that the items actual index is the same as the index reported by sortable due to filtering etc.
-                    originalIndex = fromArray.indexOf(itemVM);
+                    originalIndex = fromArray.indexOf(itemVM),
+                    newIndex = e.newIndex;
+
+                if (e.item.previousElementSibling)
+                {
+                    newIndex = fromArray.indexOf(ko.dataFor(e.item.previousElementSibling));
+                    if (originalIndex > newIndex)
+                        newIndex = newIndex + 1;
+                }                
 
                 //Remove sortables "unbound" element
                 e.item.parentNode.removeChild(e.item);
                     from.valueHasMutated();
                 }
                 //Insert the item on its new position
-                to().splice(e.newIndex, 0, itemVM);
+                to().splice(newIndex, 0, itemVM);
                 //Make sure to tell knockout that we've modified the actual array.
                 to.valueHasMutated();
             };
         }
     };
 
-})();
\ No newline at end of file
+});
index 4f0b8c5..55a502d 100644 (file)
@@ -5,12 +5,17 @@
 (function (factory) {
        'use strict';
 
-       if (window.angular && window.Sortable) {
-               factory(angular, Sortable);
-       }
-       else if (typeof define === 'function' && define.amd) {
+       if (typeof define === 'function' && define.amd) {
                define(['angular', './Sortable'], factory);
        }
+       else if (typeof require === 'function' && typeof exports === 'object' && typeof module === 'object') {
+               require('angular');
+               factory(angular, require('./Sortable'));
+               module.exports = 'ng-sortable';
+       }
+       else if (window.angular && window.Sortable) {
+               factory(angular, Sortable);
+       }
 })(function (angular, Sortable) {
        'use strict';
 
         * @property  {number}        newIndex   after sort
         */
 
+       var expando = 'Sortable:ng-sortable';
 
        angular.module('ng-sortable', [])
-               .constant('ngSortableVersion', '0.3.7')
+               .constant('ngSortableVersion', '0.4.0')
                .constant('ngSortableConfig', {})
                .directive('ngSortable', ['$parse', 'ngSortableConfig', function ($parse, ngSortableConfig) {
                        var removed,
-                               nextSibling;
-
-                       function getSource(el) {
-                               var scope = angular.element(el).scope();
-                               var ngRepeat = [].filter.call(el.childNodes, function (node) {
-                                       return (
-                                                       (node.nodeType === 8) &&
-                                                       (node.nodeValue.indexOf('ngRepeat:') !== -1)
-                                               );
-                               })[0];
-
-                               if (!ngRepeat) {
-                                       // Without ng-repeat
-                                       return null;
-                               }
+                               nextSibling,
+                               getSourceFactory = function getSourceFactory(el, scope) {
+                                       var ngRepeat = [].filter.call(el.childNodes, function (node) {
+                                               return (
+                                                               (node.nodeType === 8) &&
+                                                               (node.nodeValue.indexOf('ngRepeat:') !== -1)
+                                                       );
+                                       })[0];
+
+                                       if (!ngRepeat) {
+                                               // Without ng-repeat
+                                               return function () {
+                                                       return null;
+                                               };
+                                       }
 
-                               // tests: http://jsbin.com/kosubutilo/1/edit?js,output
-                               ngRepeat = ngRepeat.nodeValue.match(/ngRepeat:\s*(?:\(.*?,\s*)?([^\s)]+)[\s)]+in\s+([^\s|]+)/);
+                                       // tests: http://jsbin.com/kosubutilo/1/edit?js,output
+                                       ngRepeat = ngRepeat.nodeValue.match(/ngRepeat:\s*(?:\(.*?,\s*)?([^\s)]+)[\s)]+in\s+([^\s|]+)/);
 
-                               var itemExpr = $parse(ngRepeat[1]);
-                               var itemsExpr = $parse(ngRepeat[2]);
+                                       var itemsExpr = $parse(ngRepeat[2]);
 
-                               return {
-                                       item: function (el) {
-                                               return itemExpr(angular.element(el).scope());
-                                       },
-                                       items: function () {
-                                               return itemsExpr(scope);
-                                       }
+                                       return function () {
+                                               return itemsExpr(scope.$parent) || [];
+                                       };
                                };
-                       }
 
 
                        // Export
                        return {
                                restrict: 'AC',
                                scope: { ngSortable: "=?" },
-                               link: function (scope, $el, attrs) {
+                               link: function (scope, $el) {
                                        var el = $el[0],
                                                options = angular.extend(scope.ngSortable || {}, ngSortableConfig),
-                                               source = getSource(el),
                                                watchers = [],
+                                               getSource = getSourceFactory(el, scope),
                                                sortable
                                        ;
 
+                                       el[expando] = getSource;
 
                                        function _emitEvent(/**Event*/evt, /*Mixed*/item) {
                                                var name = 'on' + evt.type.charAt(0).toUpperCase() + evt.type.substr(1);
+                                               var source = getSource();
 
                                                /* jshint expr:true */
                                                options[name] && options[name]({
-                                                       model: item || source && source.item(evt.item),
-                                                       models: source && source.items(),
+                                                       model: item || source[evt.newIndex],
+                                                       models: source,
                                                        oldIndex: evt.oldIndex,
                                                        newIndex: evt.newIndex
                                                });
 
 
                                        function _sync(/**Event*/evt) {
-                                               if (!source) {
+                                               var items = getSource();
+
+                                               if (!items) {
                                                        // Without ng-repeat
                                                        return;
                                                }
 
                                                var oldIndex = evt.oldIndex,
-                                                       newIndex = evt.newIndex,
-                                                       items = source.items();
+                                                       newIndex = evt.newIndex;
 
                                                if (el !== evt.from) {
-                                                       var prevSource = getSource(evt.from),
-                                                               prevItems = prevSource.items();
+                                                       var prevItems = evt.from[expando]();
 
-                                                       oldIndex = prevItems.indexOf(prevSource.item(evt.item));
                                                        removed = prevItems[oldIndex];
 
                                                        if (evt.clone) {
-                                                               evt.from.removeChild(evt.clone);
                                                                removed = angular.copy(removed);
+                                                               prevItems.splice(Sortable.utils.index(evt.clone), 0, prevItems.splice(oldIndex, 1)[0]);
+                                                               evt.from.removeChild(evt.clone);
                                                        }
                                                        else {
                                                                prevItems.splice(oldIndex, 1);
                                                angular.forEach(watchers, function (/** Function */unwatch) {
                                                        unwatch();
                                                });
+
                                                sortable.destroy();
+
+                                               el[expando] = null;
+                                               el = null;
                                                watchers = null;
                                                sortable = null;
                                                nextSibling = null;
                                        });
 
                                        angular.forEach([
-                                               'sort', 'disabled', 'draggable', 'handle', 'animation',
+                                               'sort', 'disabled', 'draggable', 'handle', 'animation', 'group', 'ghostClass', 'filter',
                                                'onStart', 'onEnd', 'onAdd', 'onUpdate', 'onRemove', 'onSort'
                                        ], function (name) {
                                                watchers.push(scope.$watch('ngSortable.' + name, function (value) {
index 56ae93d..e8c865f 100644 (file)
@@ -34,7 +34,8 @@
                onUpdate: 'handleUpdate',
                onRemove: 'handleRemove',
                onSort: 'handleSort',
-               onFilter: 'handleFilter'
+               onFilter: 'handleFilter',
+               onMove: 'handleMove'
        };
 
 
@@ -69,7 +70,7 @@
         * @mixin
         */
        var SortableMixin = {
-               sortableMixinVersion: '0.1.0',
+               sortableMixinVersion: '0.1.1',
 
 
                /**
@@ -80,7 +81,7 @@
 
 
                componentDidMount: function () {
-                       var options = _extend(_extend({}, _defaultOptions), this.sortableOptions || {}),
+                       var DOMNode, options = _extend(_extend({}, _defaultOptions), this.sortableOptions || {}),
                                copyOptions = _extend({}, options),
 
                                emitEvent = function (/** string */type, /** Event */evt) {
@@ -90,7 +91,7 @@
 
 
                        // Bind callbacks so that "this" refers to the component
-                       'onStart onEnd onAdd onSort onUpdate onRemove onFilter'.split(' ').forEach(function (/** string */name) {
+                       'onStart onEnd onAdd onSort onUpdate onRemove onFilter onMove'.split(' ').forEach(function (/** string */name) {
                                copyOptions[name] = function (evt) {
                                        if (name === 'onStart') {
                                                _nextSibling = evt.item.nextElementSibling;
                                                }
 
                                                newState[_getModelName(this)] = items;
-                                               this.setState(newState);
+                                               
+                                               if (copyOptions.stateHandler) {
+                                                       this[copyOptions.stateHandler](newState);
+                                               } else {
+                                                       this.setState(newState);
+                                               }
+                                               
                                                (this !== _activeComponent) && _activeComponent.setState(remoteState);
                                        }
 
                                }.bind(this);
                        }, this);
 
+                       DOMNode = this.getDOMNode() ? (this.refs[options.ref] || this).getDOMNode() : this.refs[options.ref] || this;
 
                        /** @namespace this.refs — http://facebook.github.io/react/docs/more-about-refs.html */
-                       this._sortableInstance = Sortable.create((this.refs[options.ref] || this).getDOMNode(), copyOptions);
+                       this._sortableInstance = Sortable.create(DOMNode, copyOptions);
                },
 
                componentWillReceiveProps: function (nextProps) {
index 5debfd7..01fbbcb 100644 (file)
@@ -1,5 +1,5 @@
 /*!
- * Bootstrap v3.3.5 (http://getbootstrap.com)
+ * Bootstrap v3.3.6 (http://getbootstrap.com)
  * Copyright 2011-2015 Twitter, Inc.
  * Licensed under the MIT license
  */
@@ -11,13 +11,13 @@ if (typeof jQuery === 'undefined') {
 +function ($) {
   'use strict';
   var version = $.fn.jquery.split(' ')[0].split('.')
-  if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1)) {
-    throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher')
+  if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] > 2)) {
+    throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3')
   }
 }(jQuery);
 
 /* ========================================================================
- * Bootstrap: transition.js v3.3.5
+ * Bootstrap: transition.js v3.3.6
  * http://getbootstrap.com/javascript/#transitions
  * ========================================================================
  * Copyright 2011-2015 Twitter, Inc.
@@ -77,7 +77,7 @@ if (typeof jQuery === 'undefined') {
 }(jQuery);
 
 /* ========================================================================
- * Bootstrap: alert.js v3.3.5
+ * Bootstrap: alert.js v3.3.6
  * http://getbootstrap.com/javascript/#alerts
  * ========================================================================
  * Copyright 2011-2015 Twitter, Inc.
@@ -96,7 +96,7 @@ if (typeof jQuery === 'undefined') {
     $(el).on('click', dismiss, this.close)
   }
 
-  Alert.VERSION = '3.3.5'
+  Alert.VERSION = '3.3.6'
 
   Alert.TRANSITION_DURATION = 150
 
@@ -172,7 +172,7 @@ if (typeof jQuery === 'undefined') {
 }(jQuery);
 
 /* ========================================================================
- * Bootstrap: button.js v3.3.5
+ * Bootstrap: button.js v3.3.6
  * http://getbootstrap.com/javascript/#buttons
  * ========================================================================
  * Copyright 2011-2015 Twitter, Inc.
@@ -192,7 +192,7 @@ if (typeof jQuery === 'undefined') {
     this.isLoading = false
   }
 
-  Button.VERSION  = '3.3.5'
+  Button.VERSION  = '3.3.6'
 
   Button.DEFAULTS = {
     loadingText: 'loading...'
@@ -293,7 +293,7 @@ if (typeof jQuery === 'undefined') {
 }(jQuery);
 
 /* ========================================================================
- * Bootstrap: carousel.js v3.3.5
+ * Bootstrap: carousel.js v3.3.6
  * http://getbootstrap.com/javascript/#carousel
  * ========================================================================
  * Copyright 2011-2015 Twitter, Inc.
@@ -324,7 +324,7 @@ if (typeof jQuery === 'undefined') {
       .on('mouseleave.bs.carousel', $.proxy(this.cycle, this))
   }
 
-  Carousel.VERSION  = '3.3.5'
+  Carousel.VERSION  = '3.3.6'
 
   Carousel.TRANSITION_DURATION = 600
 
@@ -531,7 +531,7 @@ if (typeof jQuery === 'undefined') {
 }(jQuery);
 
 /* ========================================================================
- * Bootstrap: collapse.js v3.3.5
+ * Bootstrap: collapse.js v3.3.6
  * http://getbootstrap.com/javascript/#collapse
  * ========================================================================
  * Copyright 2011-2015 Twitter, Inc.
@@ -561,7 +561,7 @@ if (typeof jQuery === 'undefined') {
     if (this.options.toggle) this.toggle()
   }
 
-  Collapse.VERSION  = '3.3.5'
+  Collapse.VERSION  = '3.3.6'
 
   Collapse.TRANSITION_DURATION = 350
 
@@ -743,7 +743,7 @@ if (typeof jQuery === 'undefined') {
 }(jQuery);
 
 /* ========================================================================
- * Bootstrap: dropdown.js v3.3.5
+ * Bootstrap: dropdown.js v3.3.6
  * http://getbootstrap.com/javascript/#dropdowns
  * ========================================================================
  * Copyright 2011-2015 Twitter, Inc.
@@ -763,7 +763,7 @@ if (typeof jQuery === 'undefined') {
     $(element).on('click.bs.dropdown', this.toggle)
   }
 
-  Dropdown.VERSION = '3.3.5'
+  Dropdown.VERSION = '3.3.6'
 
   function getParent($this) {
     var selector = $this.attr('data-target')
@@ -795,7 +795,7 @@ if (typeof jQuery === 'undefined') {
       if (e.isDefaultPrevented()) return
 
       $this.attr('aria-expanded', 'false')
-      $parent.removeClass('open').trigger('hidden.bs.dropdown', relatedTarget)
+      $parent.removeClass('open').trigger($.Event('hidden.bs.dropdown', relatedTarget))
     })
   }
 
@@ -829,7 +829,7 @@ if (typeof jQuery === 'undefined') {
 
       $parent
         .toggleClass('open')
-        .trigger('shown.bs.dropdown', relatedTarget)
+        .trigger($.Event('shown.bs.dropdown', relatedTarget))
     }
 
     return false
@@ -909,7 +909,7 @@ if (typeof jQuery === 'undefined') {
 }(jQuery);
 
 /* ========================================================================
- * Bootstrap: modal.js v3.3.5
+ * Bootstrap: modal.js v3.3.6
  * http://getbootstrap.com/javascript/#modals
  * ========================================================================
  * Copyright 2011-2015 Twitter, Inc.
@@ -943,7 +943,7 @@ if (typeof jQuery === 'undefined') {
     }
   }
 
-  Modal.VERSION  = '3.3.5'
+  Modal.VERSION  = '3.3.6'
 
   Modal.TRANSITION_DURATION = 300
   Modal.BACKDROP_TRANSITION_DURATION = 150
@@ -1247,7 +1247,7 @@ if (typeof jQuery === 'undefined') {
 }(jQuery);
 
 /* ========================================================================
- * Bootstrap: tooltip.js v3.3.5
+ * Bootstrap: tooltip.js v3.3.6
  * http://getbootstrap.com/javascript/#tooltip
  * Inspired by the original jQuery.tipsy by Jason Frame
  * ========================================================================
@@ -1274,7 +1274,7 @@ if (typeof jQuery === 'undefined') {
     this.init('tooltip', element, options)
   }
 
-  Tooltip.VERSION  = '3.3.5'
+  Tooltip.VERSION  = '3.3.6'
 
   Tooltip.TRANSITION_DURATION = 150
 
@@ -1762,7 +1762,7 @@ if (typeof jQuery === 'undefined') {
 }(jQuery);
 
 /* ========================================================================
- * Bootstrap: popover.js v3.3.5
+ * Bootstrap: popover.js v3.3.6
  * http://getbootstrap.com/javascript/#popovers
  * ========================================================================
  * Copyright 2011-2015 Twitter, Inc.
@@ -1782,7 +1782,7 @@ if (typeof jQuery === 'undefined') {
 
   if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
 
-  Popover.VERSION  = '3.3.5'
+  Popover.VERSION  = '3.3.6'
 
   Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
     placement: 'right',
@@ -1871,7 +1871,7 @@ if (typeof jQuery === 'undefined') {
 }(jQuery);
 
 /* ========================================================================
- * Bootstrap: scrollspy.js v3.3.5
+ * Bootstrap: scrollspy.js v3.3.6
  * http://getbootstrap.com/javascript/#scrollspy
  * ========================================================================
  * Copyright 2011-2015 Twitter, Inc.
@@ -1900,7 +1900,7 @@ if (typeof jQuery === 'undefined') {
     this.process()
   }
 
-  ScrollSpy.VERSION  = '3.3.5'
+  ScrollSpy.VERSION  = '3.3.6'
 
   ScrollSpy.DEFAULTS = {
     offset: 10
@@ -2044,7 +2044,7 @@ if (typeof jQuery === 'undefined') {
 }(jQuery);
 
 /* ========================================================================
- * Bootstrap: tab.js v3.3.5
+ * Bootstrap: tab.js v3.3.6
  * http://getbootstrap.com/javascript/#tabs
  * ========================================================================
  * Copyright 2011-2015 Twitter, Inc.
@@ -2064,7 +2064,7 @@ if (typeof jQuery === 'undefined') {
     // jscs:enable requireDollarBeforejQueryAssignment
   }
 
-  Tab.VERSION = '3.3.5'
+  Tab.VERSION = '3.3.6'
 
   Tab.TRANSITION_DURATION = 150
 
@@ -2200,7 +2200,7 @@ if (typeof jQuery === 'undefined') {
 }(jQuery);
 
 /* ========================================================================
- * Bootstrap: affix.js v3.3.5
+ * Bootstrap: affix.js v3.3.6
  * http://getbootstrap.com/javascript/#affix
  * ========================================================================
  * Copyright 2011-2015 Twitter, Inc.
@@ -2229,7 +2229,7 @@ if (typeof jQuery === 'undefined') {
     this.checkPosition()
   }
 
-  Affix.VERSION  = '3.3.5'
+  Affix.VERSION  = '3.3.6'
 
   Affix.RESET    = 'affix affix-top affix-bottom'
 
index 4b9916e..1c04778 100644 (file)
@@ -1,5 +1,5 @@
 /*!
- * Bootstrap v3.3.5 (http://getbootstrap.com)
+ * Bootstrap v3.3.6 (http://getbootstrap.com)
  * Copyright 2011-2015 Twitter, Inc.
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  */
index 1e1997f..fe6a72e 100644 (file)
@@ -12,7 +12,7 @@
     <meta name="description" content="">
     <meta name="viewport" content="width=device-width">
     <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
-    <link rel="stylesheet" href="app/67dd0d05.vendor.css">
+    <link rel="stylesheet" href="app/2a396ea7.vendor.css">
     <link rel="stylesheet" href="app/ec36ec5b.app.css">
 
     <!-- BEGIN DYMANICLY LOADED CSS FILES (all plugin and page related styles must be loaded between GLOBAL and THEME css files ) -->
@@ -59,9 +59,9 @@
     <script src="bower_components/es5-shim/es5-shim.js"></script>
     <script src="bower_components/json3/lib/json3.min.js"></script>
     <![endif]-->
-    <script src="app/4942fdcb.vendor.js"></script>
+    <script src="app/300cc0cc.vendor.js"></script>
 
-    <script src="app/76616549.app.js"></script>
+    <script src="app/6c5c3a69.app.js"></script>
 
     <!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
     <!-- BEGIN CORE PLUGINS -->
similarity index 71%
rename from release-notes/changelog_0.0.29.txt
rename to release-notes/changelog_0.0.30.txt
index 59c3837..7d56f32 100644 (file)
@@ -1,11 +1,29 @@
 # xCALLY MOTION Changelog
 
+- * 768d562 - 2016-01-20: New demo watermark 
+- * 8b85b56 - 2016-01-20: package.son 
+- * 013ac56 - 2016-01-20: new version 
+- * 113dd30 - 2016-01-19: server side jscripty update 
+- * a97b686 - 2016-01-19: fix language syntax error 
+- * 60ee1a2 - 2016-01-19: Add jscripty_log and reports model 
+- * 244b985 - 2016-01-19: Fixed queue block validation 
+- * 62230bd - 2016-01-19: fix menu block error (change variable api) 
+- * 3847bfa - 2016-01-19: Updated reports API for extraction 
+- * cada4dc - 2016-01-19: add new trigger action for voice channel: zendesk ticket (without subject, body and fields configuration) 
+- * 653504c - 2016-01-19: server side api 
+- * 009db75 - 2016-01-19: client + server smtp 
+- * 23e8c13 - 2016-01-19: add unique to state property for integration 
 - * bcd50b9 - 2016-01-19: no message 
 - * b29c95f - 2016-01-19: server side api 
 - * 8591a85 - 2016-01-19: client app 
 - * 1d431f6 - 2016-01-19: client side assets 
 - * d09c82b - 2016-01-19: update dependancies 
 - * d9bd3a8 - 2016-01-19: client side app.js license management 
+- * c720449 - 2016-01-19: I added jscripty project model 
+- * b6f23e0 - 2016-01-19: I added jscripty server side 
+- * b7f983c - 2016-01-19: I added jscripty client side. 
+- * 3eb3cda - 2016-01-19: I modified this file to show  jscripty section on admin and agent interface. 
+- * 42ca302 - 2016-01-19: modified the file for jscripty 
 - * 597c722 - 2016-01-18: Updated Report Section 
 - * 5639970 - 2016-01-18: new version 
 - * 1831403 - 2016-01-18: I modified csquare mxgraph library paths 
@@ -53,5 +71,4 @@
 - * 1903f04 - 2016-01-14: Fixed report preview limit. 
 - * bef9612 - 2016-01-14: Added report copy; Added report json import/export. 
 - * 1c98d29 - 2016-01-13: Added server side report building; Added report preview(custom, client side, edit view). 
-- * 3defec8 - 2016-01-12: Added client side report query builder. 
 
index 975c465..cba2854 100644 (file)
@@ -1 +1 @@
-var _0xc97f=["\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","\x54\x65\x61\x6D","\x69\x6E\x64\x65\x78","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x70\x65\x72\x5F\x70\x61\x67\x65","\x71\x75\x65\x72\x79","\x70\x61\x67\x65","\x61\x67\x65\x6E\x74","\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","\x69\x6E\x74\x65\x72\x6E\x61\x6C\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x62\x6F\x64\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x6C\x6F\x67","\x61\x64\x64\x55\x73\x65\x72","\x66\x69\x6E\x64\x4F\x6E\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","\x63\x68\x61\x6E\x67\x65\x50\x61\x73\x73\x77\x6F\x72\x64","\x75\x73\x65\x72","\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","\x61\x67\x65\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65"];_0xc97f[0];var _=require(_0xc97f[1]);var util=require(_0xc97f[2]);var Agent=require(_0xc97f[4])[_0xc97f[3]];var Team=require(_0xc97f[4])[_0xc97f[5]];exports[_0xc97f[6]]=function(_0x2f0cx5,_0x2f0cx6,_0x2f0cx7){var _0x2f0cx8=[_0xc97f[7],_0xc97f[8],_0xc97f[9]];var _0x2f0cx9=_0x2f0cx5[_0xc97f[11]][_0xc97f[10]]?parseInt(_0x2f0cx5[_0xc97f[11]][_0xc97f[10]],10):100;var _0x2f0cxa=_0x2f0cx5[_0xc97f[11]][_0xc97f[12]]?parseInt(_0x2f0cx5[_0xc97f[11]][_0xc97f[12]],10):0;var _0x2f0cxb={where:{role:_0xc97f[13]},limit:_0x2f0cx9,offset:_0x2f0cxa*_0x2f0cx9};_[_0xc97f[27]](_0x2f0cx5[_0xc97f[11]],function(_0x2f0cxc,_0x2f0cxd){switch(_0x2f0cxd){case _0xc97f[10]:;case _0xc97f[12]:break ;;case _0xc97f[16]:_0x2f0cxb[_0xc97f[14]]=util[_0xc97f[19]](_0xc97f[15],_0x2f0cx5[_0xc97f[11]][_0xc97f[16]],_0x2f0cx5[_0xc97f[11]][_0xc97f[17]]||_0xc97f[18])||null;break ;;case _0xc97f[17]:break ;;case _0xc97f[25]:_0x2f0cxb[_0xc97f[21]][_0xc97f[20]]=[];_0x2f0cx8[_0xc97f[24]](function(_0x2f0cxe){var _0x2f0cxf={};_0x2f0cxf[_0x2f0cxe]={$like:_0xc97f[22]+_0x2f0cxc+_0xc97f[22]};_0x2f0cxb[_0xc97f[21]][_0xc97f[20]][_0xc97f[23]](_0x2f0cxf);});break ;;default:_0x2f0cxb[_0xc97f[21]][_0x2f0cxd]={$like:{}};_0x2f0cxb[_0xc97f[21]][_0x2f0cxd][_0xc97f[26]]=_0xc97f[22]+_0x2f0cxc+_0xc97f[22];;}});Agent[_0xc97f[42]](_0x2f0cxb)[_0xc97f[41]](function(_0x2f0cx11){var _0x2f0cx12=Math[_0xc97f[33]](_0x2f0cx11[_0xc97f[32]]/_0x2f0cx9);var _0x2f0cx13=_0x2f0cx12>(_0x2f0cxb[_0xc97f[34]]+1)?util[_0xc97f[19]](_0xc97f[35],_0x2f0cx5[_0xc97f[36]],_0x2f0cx5[_0xc97f[38]][_0xc97f[37]],_0x2f0cx5[_0xc97f[39]],_0x2f0cxa+1):null;var _0x2f0cx14=_0x2f0cxa>0?util[_0xc97f[19]](_0xc97f[35],_0x2f0cx5[_0xc97f[36]],_0x2f0cx5[_0xc97f[38]][_0xc97f[37]],_0x2f0cx5[_0xc97f[39]],_0x2f0cxa-1):null;_0x2f0cx6[_0xc97f[30]](200)[_0xc97f[29]]({count:_0x2f0cx11[_0xc97f[32]],rows:_0x2f0cx11[_0xc97f[40]],next_page:_0x2f0cx13,previous_page:_0x2f0cx14,total_pages:_0x2f0cx12});})[_0xc97f[31]](function(_0x2f0cx10){_0x2f0cx6[_0xc97f[30]](500)[_0xc97f[29]]({error:_0xc97f[28]})});};exports[_0xc97f[43]]=function(_0x2f0cx5,_0x2f0cx6){Agent[_0xc97f[47]](_0x2f0cx5[_0xc97f[46]][_0xc97f[45]])[_0xc97f[41]](function(_0x2f0cx15){if(!_0x2f0cx15){return _0x2f0cx6[_0xc97f[44]](404)};return _0x2f0cx6[_0xc97f[29]](_0x2f0cx15);})[_0xc97f[31]](function(_0x2f0cx10){return handleError(_0x2f0cx6,_0x2f0cx10)})};exports[_0xc97f[48]]=function(_0x2f0cx5,_0x2f0cx6){Agent[_0xc97f[51]]({where:{internal:_0x2f0cx5[_0xc97f[50]][_0xc97f[49]]}})[_0xc97f[41]](function(_0x2f0cx16){if(!_0x2f0cx16){return _0x2f0cx6[_0xc97f[44]](404)};return _0x2f0cx6[_0xc97f[29]](_0x2f0cx16);})[_0xc97f[31]](function(_0x2f0cx10){return handleError(_0x2f0cx6,_0x2f0cx10)})};exports[_0xc97f[52]]=function(_0x2f0cx5,_0x2f0cx6){Agent[_0xc97f[52]](_0x2f0cx5[_0xc97f[50]])[_0xc97f[41]](function(_0x2f0cx15){Team[_0xc97f[55]]({where:{defaultEntry:true}})[_0xc97f[41]](function(_0x2f0cx17){_0x2f0cx17[_0xc97f[54]](_0x2f0cx15[_0xc97f[45]])[_0xc97f[41]](function(){return _0x2f0cx6[_0xc97f[30]](201)[_0xc97f[29]](_0x2f0cx15)})[_0xc97f[31]](function(_0x2f0cx10){console[_0xc97f[53]](_0x2f0cx10);return handleError(_0x2f0cx6,_0x2f0cx10);})})[_0xc97f[31]](function(_0x2f0cx10){console[_0xc97f[53]](_0x2f0cx10);return handleError(_0x2f0cx6,_0x2f0cx10);})})[_0xc97f[31]](function(_0x2f0cx10){console[_0xc97f[53]](_0x2f0cx10);return handleError(_0x2f0cx6,_0x2f0cx10);})};exports[_0xc97f[56]]=function(_0x2f0cx5,_0x2f0cx6){if(_0x2f0cx5[_0xc97f[50]][_0xc97f[45]]){delete _0x2f0cx5[_0xc97f[50]][_0xc97f[45]]};Agent[_0xc97f[47]](_0x2f0cx5[_0xc97f[46]][_0xc97f[45]])[_0xc97f[41]](function(_0x2f0cx15){if(!_0x2f0cx15){return _0x2f0cx6[_0xc97f[44]](404)};var _0x2f0cx18=_[_0xc97f[57]](_0x2f0cx15,_0x2f0cx5[_0xc97f[50]]);_0x2f0cx18[_0xc97f[58]]()[_0xc97f[41]](function(){return _0x2f0cx6[_0xc97f[30]](200)[_0xc97f[29]](_0x2f0cx15)})[_0xc97f[31]](function(_0x2f0cx10){return handleError(_0x2f0cx6,_0x2f0cx10)});})[_0xc97f[31]](function(_0x2f0cx10){return handleError(_0x2f0cx6,_0x2f0cx10)});};exports[_0xc97f[59]]=function(_0x2f0cx5,_0x2f0cx6){Agent[_0xc97f[47]](_0x2f0cx5[_0xc97f[46]][_0xc97f[45]])[_0xc97f[41]](function(_0x2f0cx15){if(!_0x2f0cx15){return _0x2f0cx6[_0xc97f[44]](404)};_0x2f0cx15[_0xc97f[59]]()[_0xc97f[41]](function(){return _0x2f0cx6[_0xc97f[44]](204)})[_0xc97f[31]](function(_0x2f0cx10){return handleError(_0x2f0cx6,_0x2f0cx10)});})[_0xc97f[31]](function(_0x2f0cx10){return handleError(_0x2f0cx6,_0x2f0cx10)})};exports[_0xc97f[60]]=function(_0x2f0cx5,_0x2f0cx6){Agent[_0xc97f[59]]({where:{id:_0x2f0cx5[_0xc97f[11]][_0xc97f[45]]},individualHooks:true})[_0xc97f[41]](function(){return _0x2f0cx6[_0xc97f[44]](204)})[_0xc97f[31]](function(_0x2f0cx10){return handleError(_0x2f0cx6,_0x2f0cx10)})};exports[_0xc97f[61]]=function(_0x2f0cx5,_0x2f0cx6,_0x2f0cx7){console[_0xc97f[53]](_0x2f0cx5[_0xc97f[50]]);var _0x2f0cx19=_0x2f0cx5[_0xc97f[62]][_0xc97f[45]];var _0x2f0cx1a=String(_0x2f0cx5[_0xc97f[50]][_0xc97f[63]]);var _0x2f0cx1b=String(_0x2f0cx5[_0xc97f[50]][_0xc97f[64]]);Agent[_0xc97f[47]](_0x2f0cx19)[_0xc97f[41]](function(_0x2f0cx15){if(_0x2f0cx15[_0xc97f[65]](_0x2f0cx1a)){_0x2f0cx15[_0xc97f[66]]=_0x2f0cx1b;_0x2f0cx15[_0xc97f[58]]()[_0xc97f[41]](function(){_0x2f0cx6[_0xc97f[30]](200)[_0xc97f[29]](_0x2f0cx15)})[_0xc97f[31]](function(_0x2f0cx10){return _0x2f0cx7(_0x2f0cx10)});}else {_0x2f0cx6[_0xc97f[44]](403)}});};exports[_0xc97f[67]]=function(_0x2f0cx5,_0x2f0cx6,_0x2f0cx7){var _0x2f0cx1b=String(_0x2f0cx5[_0xc97f[50]][_0xc97f[64]]);Agent[_0xc97f[47]](_0x2f0cx5[_0xc97f[46]][_0xc97f[45]])[_0xc97f[41]](function(_0x2f0cx1c){_0x2f0cx1c[_0xc97f[66]]=_0x2f0cx1b;_0x2f0cx1c[_0xc97f[58]]()[_0xc97f[41]](function(){_0x2f0cx6[_0xc97f[30]](200)[_0xc97f[29]](_0x2f0cx1c)})[_0xc97f[31]](function(_0x2f0cx10){return handleError(_0x2f0cx6,_0x2f0cx10)});});};exports[_0xc97f[68]]=function(_0x2f0cx5,_0x2f0cx6){var _0x2f0cx1d={};_0x2f0cx1d[_0x2f0cx5[_0xc97f[46]][_0xc97f[69]]]=_0x2f0cx5[_0xc97f[50]][_0xc97f[70]];Agent[_0xc97f[42]]({where:_0x2f0cx1d})[_0xc97f[41]](function(_0x2f0cx11){if(_0x2f0cx11[_0xc97f[32]]){return _0x2f0cx6[_0xc97f[30]](200)[_0xc97f[29]]({isValid:false,value:_0x2f0cx5[_0xc97f[50]][_0xc97f[70]]})};return _0x2f0cx6[_0xc97f[30]](200)[_0xc97f[29]]({isValid:true,value:_0x2f0cx5[_0xc97f[50]][_0xc97f[70]]});})[_0xc97f[31]](function(_0x2f0cx10){return handleError(_0x2f0cx6,_0x2f0cx10)});};function handleError(_0x2f0cx6,_0x2f0cx10){return _0x2f0cx6[_0xc97f[30]](500)[_0xc97f[29]](_0x2f0cx10)}
\ No newline at end of file
+var _0xad5f=["\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","\x54\x65\x61\x6D","\x69\x6E\x64\x65\x78","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x70\x65\x72\x5F\x70\x61\x67\x65","\x71\x75\x65\x72\x79","\x70\x61\x67\x65","\x61\x67\x65\x6E\x74","\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","\x69\x6E\x74\x65\x72\x6E\x61\x6C\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x62\x6F\x64\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x6C\x6F\x67","\x61\x64\x64\x55\x73\x65\x72","\x66\x69\x6E\x64\x4F\x6E\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","\x63\x68\x61\x6E\x67\x65\x50\x61\x73\x73\x77\x6F\x72\x64","\x75\x73\x65\x72","\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","\x61\x67\x65\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65"];_0xad5f[0];var _=require(_0xad5f[1]);var util=require(_0xad5f[2]);var Agent=require(_0xad5f[4])[_0xad5f[3]];var Team=require(_0xad5f[4])[_0xad5f[5]];exports[_0xad5f[6]]=function(_0x2b77x5,_0x2b77x6,_0x2b77x7){var _0x2b77x8=[_0xad5f[7],_0xad5f[8],_0xad5f[9]];var _0x2b77x9=_0x2b77x5[_0xad5f[11]][_0xad5f[10]]?parseInt(_0x2b77x5[_0xad5f[11]][_0xad5f[10]],10):100;var _0x2b77xa=_0x2b77x5[_0xad5f[11]][_0xad5f[12]]?parseInt(_0x2b77x5[_0xad5f[11]][_0xad5f[12]],10):0;var _0x2b77xb={where:{role:_0xad5f[13]},limit:_0x2b77x9,offset:_0x2b77xa*_0x2b77x9};_[_0xad5f[27]](_0x2b77x5[_0xad5f[11]],function(_0x2b77xc,_0x2b77xd){switch(_0x2b77xd){case _0xad5f[10]:;case _0xad5f[12]:break ;;case _0xad5f[16]:_0x2b77xb[_0xad5f[14]]=util[_0xad5f[19]](_0xad5f[15],_0x2b77x5[_0xad5f[11]][_0xad5f[16]],_0x2b77x5[_0xad5f[11]][_0xad5f[17]]||_0xad5f[18])||null;break ;;case _0xad5f[17]:break ;;case _0xad5f[25]:_0x2b77xb[_0xad5f[21]][_0xad5f[20]]=[];_0x2b77x8[_0xad5f[24]](function(_0x2b77xe){var _0x2b77xf={};_0x2b77xf[_0x2b77xe]={$like:_0xad5f[22]+_0x2b77xc+_0xad5f[22]};_0x2b77xb[_0xad5f[21]][_0xad5f[20]][_0xad5f[23]](_0x2b77xf);});break ;;default:_0x2b77xb[_0xad5f[21]][_0x2b77xd]={$like:{}};_0x2b77xb[_0xad5f[21]][_0x2b77xd][_0xad5f[26]]=_0xad5f[22]+_0x2b77xc+_0xad5f[22];;}});Agent[_0xad5f[42]](_0x2b77xb)[_0xad5f[41]](function(_0x2b77x11){var _0x2b77x12=Math[_0xad5f[33]](_0x2b77x11[_0xad5f[32]]/_0x2b77x9);var _0x2b77x13=_0x2b77x12>(_0x2b77xb[_0xad5f[34]]+1)?util[_0xad5f[19]](_0xad5f[35],_0x2b77x5[_0xad5f[36]],_0x2b77x5[_0xad5f[38]][_0xad5f[37]],_0x2b77x5[_0xad5f[39]],_0x2b77xa+1):null;var _0x2b77x14=_0x2b77xa>0?util[_0xad5f[19]](_0xad5f[35],_0x2b77x5[_0xad5f[36]],_0x2b77x5[_0xad5f[38]][_0xad5f[37]],_0x2b77x5[_0xad5f[39]],_0x2b77xa-1):null;_0x2b77x6[_0xad5f[30]](200)[_0xad5f[29]]({count:_0x2b77x11[_0xad5f[32]],rows:_0x2b77x11[_0xad5f[40]],next_page:_0x2b77x13,previous_page:_0x2b77x14,total_pages:_0x2b77x12});})[_0xad5f[31]](function(_0x2b77x10){_0x2b77x6[_0xad5f[30]](500)[_0xad5f[29]]({error:_0xad5f[28]})});};exports[_0xad5f[43]]=function(_0x2b77x5,_0x2b77x6){Agent[_0xad5f[47]](_0x2b77x5[_0xad5f[46]][_0xad5f[45]])[_0xad5f[41]](function(_0x2b77x15){if(!_0x2b77x15){return _0x2b77x6[_0xad5f[44]](404)};return _0x2b77x6[_0xad5f[29]](_0x2b77x15);})[_0xad5f[31]](function(_0x2b77x10){return handleError(_0x2b77x6,_0x2b77x10)})};exports[_0xad5f[48]]=function(_0x2b77x5,_0x2b77x6){Agent[_0xad5f[51]]({where:{internal:_0x2b77x5[_0xad5f[50]][_0xad5f[49]]}})[_0xad5f[41]](function(_0x2b77x16){if(!_0x2b77x16){return _0x2b77x6[_0xad5f[44]](404)};return _0x2b77x6[_0xad5f[29]](_0x2b77x16);})[_0xad5f[31]](function(_0x2b77x10){return handleError(_0x2b77x6,_0x2b77x10)})};exports[_0xad5f[52]]=function(_0x2b77x5,_0x2b77x6){Agent[_0xad5f[52]](_0x2b77x5[_0xad5f[50]])[_0xad5f[41]](function(_0x2b77x15){Team[_0xad5f[55]]({where:{defaultEntry:true}})[_0xad5f[41]](function(_0x2b77x17){_0x2b77x17[_0xad5f[54]](_0x2b77x15[_0xad5f[45]])[_0xad5f[41]](function(){return _0x2b77x6[_0xad5f[30]](201)[_0xad5f[29]](_0x2b77x15)})[_0xad5f[31]](function(_0x2b77x10){console[_0xad5f[53]](_0x2b77x10);return handleError(_0x2b77x6,_0x2b77x10);})})[_0xad5f[31]](function(_0x2b77x10){console[_0xad5f[53]](_0x2b77x10);return handleError(_0x2b77x6,_0x2b77x10);})})[_0xad5f[31]](function(_0x2b77x10){console[_0xad5f[53]](_0x2b77x10);return handleError(_0x2b77x6,_0x2b77x10);})};exports[_0xad5f[56]]=function(_0x2b77x5,_0x2b77x6){if(_0x2b77x5[_0xad5f[50]][_0xad5f[45]]){delete _0x2b77x5[_0xad5f[50]][_0xad5f[45]]};Agent[_0xad5f[47]](_0x2b77x5[_0xad5f[46]][_0xad5f[45]])[_0xad5f[41]](function(_0x2b77x15){if(!_0x2b77x15){return _0x2b77x6[_0xad5f[44]](404)};var _0x2b77x18=_[_0xad5f[57]](_0x2b77x15,_0x2b77x5[_0xad5f[50]]);_0x2b77x18[_0xad5f[58]]()[_0xad5f[41]](function(){return _0x2b77x6[_0xad5f[30]](200)[_0xad5f[29]](_0x2b77x15)})[_0xad5f[31]](function(_0x2b77x10){return handleError(_0x2b77x6,_0x2b77x10)});})[_0xad5f[31]](function(_0x2b77x10){return handleError(_0x2b77x6,_0x2b77x10)});};exports[_0xad5f[59]]=function(_0x2b77x5,_0x2b77x6){Agent[_0xad5f[47]](_0x2b77x5[_0xad5f[46]][_0xad5f[45]])[_0xad5f[41]](function(_0x2b77x15){if(!_0x2b77x15){return _0x2b77x6[_0xad5f[44]](404)};_0x2b77x15[_0xad5f[59]]()[_0xad5f[41]](function(){return _0x2b77x6[_0xad5f[44]](204)})[_0xad5f[31]](function(_0x2b77x10){return handleError(_0x2b77x6,_0x2b77x10)});})[_0xad5f[31]](function(_0x2b77x10){return handleError(_0x2b77x6,_0x2b77x10)})};exports[_0xad5f[60]]=function(_0x2b77x5,_0x2b77x6){Agent[_0xad5f[59]]({where:{id:_0x2b77x5[_0xad5f[11]][_0xad5f[45]]},individualHooks:true})[_0xad5f[41]](function(){return _0x2b77x6[_0xad5f[44]](204)})[_0xad5f[31]](function(_0x2b77x10){return handleError(_0x2b77x6,_0x2b77x10)})};exports[_0xad5f[61]]=function(_0x2b77x5,_0x2b77x6,_0x2b77x7){console[_0xad5f[53]](_0x2b77x5[_0xad5f[50]]);var _0x2b77x19=_0x2b77x5[_0xad5f[62]][_0xad5f[45]];var _0x2b77x1a=String(_0x2b77x5[_0xad5f[50]][_0xad5f[63]]);var _0x2b77x1b=String(_0x2b77x5[_0xad5f[50]][_0xad5f[64]]);Agent[_0xad5f[47]](_0x2b77x19)[_0xad5f[41]](function(_0x2b77x15){if(_0x2b77x15[_0xad5f[65]](_0x2b77x1a)){_0x2b77x15[_0xad5f[66]]=_0x2b77x1b;_0x2b77x15[_0xad5f[58]]()[_0xad5f[41]](function(){_0x2b77x6[_0xad5f[30]](200)[_0xad5f[29]](_0x2b77x15)})[_0xad5f[31]](function(_0x2b77x10){return _0x2b77x7(_0x2b77x10)});}else {_0x2b77x6[_0xad5f[44]](403)}});};exports[_0xad5f[67]]=function(_0x2b77x5,_0x2b77x6,_0x2b77x7){var _0x2b77x1b=String(_0x2b77x5[_0xad5f[50]][_0xad5f[64]]);Agent[_0xad5f[47]](_0x2b77x5[_0xad5f[46]][_0xad5f[45]])[_0xad5f[41]](function(_0x2b77x1c){_0x2b77x1c[_0xad5f[66]]=_0x2b77x1b;_0x2b77x1c[_0xad5f[58]]()[_0xad5f[41]](function(){_0x2b77x6[_0xad5f[30]](200)[_0xad5f[29]](_0x2b77x1c)})[_0xad5f[31]](function(_0x2b77x10){return handleError(_0x2b77x6,_0x2b77x10)});});};exports[_0xad5f[68]]=function(_0x2b77x5,_0x2b77x6){var _0x2b77x1d={};_0x2b77x1d[_0x2b77x5[_0xad5f[46]][_0xad5f[69]]]=_0x2b77x5[_0xad5f[50]][_0xad5f[70]];Agent[_0xad5f[42]]({where:_0x2b77x1d})[_0xad5f[41]](function(_0x2b77x11){if(_0x2b77x11[_0xad5f[32]]){return _0x2b77x6[_0xad5f[30]](200)[_0xad5f[29]]({isValid:false,value:_0x2b77x5[_0xad5f[50]][_0xad5f[70]]})};return _0x2b77x6[_0xad5f[30]](200)[_0xad5f[29]]({isValid:true,value:_0x2b77x5[_0xad5f[50]][_0xad5f[70]]});})[_0xad5f[31]](function(_0x2b77x10){return handleError(_0x2b77x6,_0x2b77x10)});};function handleError(_0x2b77x6,_0x2b77x10){return _0x2b77x6[_0xad5f[30]](500)[_0xad5f[29]](_0x2b77x10)}
\ No newline at end of file
index 324a377..7901c44 100644 (file)
@@ -1 +1 @@
-var _0x8b0d=["\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","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\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","\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"];_0x8b0d[0];var agent=require(_0x8b0d[2])[_0x8b0d[1]];exports[_0x8b0d[3]]=function(_0x1844x2){agent[_0x8b0d[6]](function(_0x1844x3){if(_0x1844x3[_0x8b0d[4]]===_0x8b0d[5]){onSave(_0x1844x2,_0x1844x3)}});agent[_0x8b0d[7]](function(_0x1844x3){if(_0x1844x3[_0x8b0d[4]]===_0x8b0d[5]){onSave(_0x1844x2,_0x1844x3)}});agent[_0x8b0d[8]](function(_0x1844x3){if(_0x1844x3[_0x8b0d[4]]===_0x8b0d[5]){onRemove(_0x1844x2,_0x1844x3)}});};function onSave(_0x1844x2,_0x1844x3,_0x1844x5){_0x1844x2[_0x8b0d[10]](_0x8b0d[9],_0x1844x3)}function onRemove(_0x1844x2,_0x1844x3,_0x1844x5){_0x1844x2[_0x8b0d[10]](_0x8b0d[11],_0x1844x3)}
\ No newline at end of file
+var _0x98c9=["\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","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\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","\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"];_0x98c9[0];var agent=require(_0x98c9[2])[_0x98c9[1]];exports[_0x98c9[3]]=function(_0x3b55x2){agent[_0x98c9[6]](function(_0x3b55x3){if(_0x3b55x3[_0x98c9[4]]===_0x98c9[5]){onSave(_0x3b55x2,_0x3b55x3)}});agent[_0x98c9[7]](function(_0x3b55x3){if(_0x3b55x3[_0x98c9[4]]===_0x98c9[5]){onSave(_0x3b55x2,_0x3b55x3)}});agent[_0x98c9[8]](function(_0x3b55x3){if(_0x3b55x3[_0x98c9[4]]===_0x98c9[5]){onRemove(_0x3b55x2,_0x3b55x3)}});};function onSave(_0x3b55x2,_0x3b55x3,_0x3b55x5){_0x3b55x2[_0x98c9[10]](_0x98c9[9],_0x3b55x3)}function onRemove(_0x3b55x2,_0x3b55x3,_0x3b55x5){_0x3b55x2[_0x98c9[10]](_0x98c9[11],_0x3b55x3)}
\ No newline at end of file
index a665cd0..eeb9e04 100644 (file)
@@ -1 +1 @@
-var _0xc3be=["\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\x61\x67\x65\x6E\x74\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\x61\x67\x65\x6E\x74\x73","\x67\x65\x74"];_0xc3be[0];var should=require(_0xc3be[1]);var app=require(_0xc3be[2]);var request=require(_0xc3be[3]);describe(_0xc3be[4],function(){it(_0xc3be[5],function(_0x9412x4){request(app)[_0xc3be[13]](_0xc3be[12])[_0xc3be[11]](200)[_0xc3be[11]](_0xc3be[10],/json/)[_0xc3be[9]](function(_0x9412x5,_0x9412x6){if(_0x9412x5){return _0x9412x4(_0x9412x5)};_0x9412x6[_0xc3be[8]][_0xc3be[1]][_0xc3be[7]][_0xc3be[6]](Array);_0x9412x4();})})});
\ No newline at end of file
+var _0xd83d=["\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\x61\x67\x65\x6E\x74\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\x61\x67\x65\x6E\x74\x73","\x67\x65\x74"];_0xd83d[0];var should=require(_0xd83d[1]);var app=require(_0xd83d[2]);var request=require(_0xd83d[3]);describe(_0xd83d[4],function(){it(_0xd83d[5],function(_0x9f56x4){request(app)[_0xd83d[13]](_0xd83d[12])[_0xd83d[11]](200)[_0xd83d[11]](_0xd83d[10],/json/)[_0xd83d[9]](function(_0x9f56x5,_0x9f56x6){if(_0x9f56x5){return _0x9f56x4(_0x9f56x5)};_0x9f56x6[_0xd83d[8]][_0xd83d[1]][_0xd83d[7]][_0xd83d[6]](Array);_0x9f56x4();})})});
\ No newline at end of file
index b1cbf71..f18bb63 100644 (file)
@@ -1 +1 @@
-var _0x8439=["\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","\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\x76\x61\x6C\x69\x64\x61\x74\x65\x2F\x3A\x66\x69\x65\x6C\x64","\x61\x67\x65\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65","\x69\x6E\x74\x65\x72\x6E\x61\x6C\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x2F\x70\x61\x73\x73\x77\x6F\x72\x64","\x63\x68\x61\x6E\x67\x65\x50\x61\x73\x73\x77\x6F\x72\x64","\x70\x75\x74","\x2F\x70\x61\x73\x73\x77\x6F\x72\x64\x2F\x3A\x69\x64\x2F\x72\x65\x73\x65\x74","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x52\x6F\x6C\x65","\x72\x65\x73\x65\x74\x50\x61\x73\x73\x77\x6F\x72\x64","\x75\x70\x64\x61\x74\x65","\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"];_0x8439[0];var express=require(_0x8439[1]);var controller=require(_0x8439[2]);var auth=require(_0x8439[3]);var router=express.Router();router[_0x8439[7]](_0x8439[4],auth[_0x8439[5]](),controller[_0x8439[6]]);router[_0x8439[7]](_0x8439[8],auth[_0x8439[5]](),controller[_0x8439[9]]);router[_0x8439[12]](_0x8439[10],auth[_0x8439[5]](),controller[_0x8439[11]]);router[_0x8439[12]](_0x8439[4],auth[_0x8439[5]](),controller[_0x8439[13]]);router[_0x8439[12]](_0x8439[14],auth[_0x8439[5]](),controller[_0x8439[15]]);router[_0x8439[18]](_0x8439[16],auth[_0x8439[5]](),controller[_0x8439[17]]);router[_0x8439[18]](_0x8439[19],auth[_0x8439[5]](),auth[_0x8439[21]](_0x8439[20]),controller[_0x8439[22]]);router[_0x8439[18]](_0x8439[8],auth[_0x8439[5]](),controller[_0x8439[23]]);router[_0x8439[24]](_0x8439[8],auth[_0x8439[5]](),controller[_0x8439[23]]);router[_0x8439[26]](_0x8439[4],auth[_0x8439[5]](),controller[_0x8439[25]]);router[_0x8439[26]](_0x8439[8],auth[_0x8439[5]](),controller[_0x8439[27]]);module[_0x8439[28]]=router;
\ No newline at end of file
+var _0x24f6=["\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","\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\x76\x61\x6C\x69\x64\x61\x74\x65\x2F\x3A\x66\x69\x65\x6C\x64","\x61\x67\x65\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65","\x69\x6E\x74\x65\x72\x6E\x61\x6C\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x2F\x70\x61\x73\x73\x77\x6F\x72\x64","\x63\x68\x61\x6E\x67\x65\x50\x61\x73\x73\x77\x6F\x72\x64","\x70\x75\x74","\x2F\x70\x61\x73\x73\x77\x6F\x72\x64\x2F\x3A\x69\x64\x2F\x72\x65\x73\x65\x74","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x52\x6F\x6C\x65","\x72\x65\x73\x65\x74\x50\x61\x73\x73\x77\x6F\x72\x64","\x75\x70\x64\x61\x74\x65","\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"];_0x24f6[0];var express=require(_0x24f6[1]);var controller=require(_0x24f6[2]);var auth=require(_0x24f6[3]);var router=express.Router();router[_0x24f6[7]](_0x24f6[4],auth[_0x24f6[5]](),controller[_0x24f6[6]]);router[_0x24f6[7]](_0x24f6[8],auth[_0x24f6[5]](),controller[_0x24f6[9]]);router[_0x24f6[12]](_0x24f6[10],auth[_0x24f6[5]](),controller[_0x24f6[11]]);router[_0x24f6[12]](_0x24f6[4],auth[_0x24f6[5]](),controller[_0x24f6[13]]);router[_0x24f6[12]](_0x24f6[14],auth[_0x24f6[5]](),controller[_0x24f6[15]]);router[_0x24f6[18]](_0x24f6[16],auth[_0x24f6[5]](),controller[_0x24f6[17]]);router[_0x24f6[18]](_0x24f6[19],auth[_0x24f6[5]](),auth[_0x24f6[21]](_0x24f6[20]),controller[_0x24f6[22]]);router[_0x24f6[18]](_0x24f6[8],auth[_0x24f6[5]](),controller[_0x24f6[23]]);router[_0x24f6[24]](_0x24f6[8],auth[_0x24f6[5]](),controller[_0x24f6[23]]);router[_0x24f6[26]](_0x24f6[4],auth[_0x24f6[5]](),controller[_0x24f6[25]]);router[_0x24f6[26]](_0x24f6[8],auth[_0x24f6[5]](),controller[_0x24f6[27]]);module[_0x24f6[28]]=router;
\ No newline at end of file
index 7e73cd3..f8a27fe 100644 (file)
@@ -1 +1 @@
-var _0x9394=["\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"];_0x9394[0];var Ami=require(_0x9394[2])[_0x9394[1]];var async=require(_0x9394[3]);var _=require(_0x9394[4]);var ami=null;exports[_0x9394[5]]=function(ami){this[_0x9394[6]]=ami};exports[_0x9394[7]]=function(_0xb33dx5,_0xb33dx6){if(this[_0x9394[6]]&&this[_0x9394[6]][_0x9394[8]]()){this[_0x9394[6]][_0x9394[7]](_0xb33dx5,function(_0xb33dx7,_0xb33dx8){if(_0xb33dx7){_0xb33dx6(_0xb33dx7)};var _0xb33dx9=_[_0x9394[9]](_0xb33dx8,_0xb33dx5);Ami[_0x9394[12]](_0xb33dx9)[_0x9394[11]](function(ami){_0xb33dx6(null,ami)})[_0x9394[10]](function(_0xb33dx7){return _0xb33dx6(_0xb33dx7)});})}else {_0xb33dx6( new Error(_0x9394[13]))}};
\ No newline at end of file
+var _0xc46c=["\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"];_0xc46c[0];var Ami=require(_0xc46c[2])[_0xc46c[1]];var async=require(_0xc46c[3]);var _=require(_0xc46c[4]);var ami=null;exports[_0xc46c[5]]=function(ami){this[_0xc46c[6]]=ami};exports[_0xc46c[7]]=function(_0x9132x5,_0x9132x6){if(this[_0xc46c[6]]&&this[_0xc46c[6]][_0xc46c[8]]()){this[_0xc46c[6]][_0xc46c[7]](_0x9132x5,function(_0x9132x7,_0x9132x8){if(_0x9132x7){_0x9132x6(_0x9132x7)};var _0x9132x9=_[_0xc46c[9]](_0x9132x8,_0x9132x5);Ami[_0xc46c[12]](_0x9132x9)[_0xc46c[11]](function(ami){_0x9132x6(null,ami)})[_0xc46c[10]](function(_0x9132x7){return _0x9132x6(_0x9132x7)});})}else {_0x9132x6( new Error(_0xc46c[13]))}};
\ No newline at end of file
index 8994b95..fba27b7 100644 (file)
@@ -1 +1 @@
-var _0x6bfb=["\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","\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","\x64\x61\x74\x61","\x62\x6F\x64\x79","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x55\x73\x65\x72\x49\x64","\x75\x73\x65\x72","\x61\x63\x74\x69\x6F\x6E","\x2E\x2F\x61\x6D\x69\x2E\x61\x6D\x69","\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"];_0x6bfb[0];var _=require(_0x6bfb[1]);var Ami=require(_0x6bfb[3])[_0x6bfb[2]];exports[_0x6bfb[4]]=function(_0xe2a6x3,_0xe2a6x4){Ami[_0x6bfb[9]]()[_0x6bfb[8]](function(_0xe2a6x6){return _0xe2a6x4[_0x6bfb[7]](200)[_0x6bfb[6]](_0xe2a6x6)})[_0x6bfb[5]](function(_0xe2a6x5){return handleError(_0xe2a6x4,_0xe2a6x5)})};exports[_0x6bfb[10]]=function(_0xe2a6x3,_0xe2a6x4){Ami[_0x6bfb[14]](_0xe2a6x3[_0x6bfb[13]][_0x6bfb[12]])[_0x6bfb[8]](function(_0xe2a6x7){if(!_0xe2a6x7){return _0xe2a6x4[_0x6bfb[11]](404)};return _0xe2a6x4[_0x6bfb[6]](_0xe2a6x7);})[_0x6bfb[5]](function(_0xe2a6x5){return handleError(_0xe2a6x4,_0xe2a6x5)})};exports[_0x6bfb[15]]=function(_0xe2a6x3,_0xe2a6x4){_0xe2a6x3[_0x6bfb[17]][_0x6bfb[16]]=JSON[_0x6bfb[18]](_0xe2a6x3[_0x6bfb[17]]);_0xe2a6x3[_0x6bfb[17]][_0x6bfb[19]]=_0xe2a6x3[_0x6bfb[20]][_0x6bfb[12]];require(_0x6bfb[22])[_0x6bfb[21]](_0xe2a6x3[_0x6bfb[17]],function(_0xe2a6x5,_0xe2a6x8){if(_0xe2a6x5){handleError(_0xe2a6x4,_0xe2a6x5)}else {return _0xe2a6x4[_0x6bfb[7]](201)[_0x6bfb[6]](_0xe2a6x8)}});};exports[_0x6bfb[23]]=function(_0xe2a6x3,_0xe2a6x4){if(_0xe2a6x3[_0x6bfb[17]][_0x6bfb[12]]){delete _0xe2a6x3[_0x6bfb[17]][_0x6bfb[12]]};Ami[_0x6bfb[14]](_0xe2a6x3[_0x6bfb[13]][_0x6bfb[12]])[_0x6bfb[8]](function(_0xe2a6x7){if(!_0xe2a6x7){return _0xe2a6x4[_0x6bfb[11]](404)};var _0xe2a6x9=_[_0x6bfb[24]](_0xe2a6x7,_0xe2a6x3[_0x6bfb[17]]);_0xe2a6x9[_0x6bfb[25]]()[_0x6bfb[8]](function(){return _0xe2a6x4[_0x6bfb[7]](200)[_0x6bfb[6]](_0xe2a6x7)})[_0x6bfb[5]](function(_0xe2a6x5){return handleError(_0xe2a6x4,_0xe2a6x5)});})[_0x6bfb[5]](function(_0xe2a6x5){return handleError(_0xe2a6x4,_0xe2a6x5)});};exports[_0x6bfb[26]]=function(_0xe2a6x3,_0xe2a6x4){Ami[_0x6bfb[27]]({where:{id:_0xe2a6x3[_0x6bfb[13]][_0x6bfb[12]]}})[_0x6bfb[8]](function(_0xe2a6x7){if(!_0xe2a6x7){return _0xe2a6x4[_0x6bfb[11]](404)};_0xe2a6x7[_0x6bfb[26]]()[_0x6bfb[8]](function(){return _0xe2a6x4[_0x6bfb[11]](204)})[_0x6bfb[5]](function(_0xe2a6x5){return handleError(_0xe2a6x4,_0xe2a6x5)});})[_0x6bfb[5]](function(_0xe2a6x5){return handleError(_0xe2a6x4,_0xe2a6x5)})};function handleError(_0xe2a6x4,_0xe2a6x5){return _0xe2a6x4[_0x6bfb[7]](500)[_0x6bfb[6]](_0xe2a6x5)}
\ No newline at end of file
+var _0x7bb7=["\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","\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","\x64\x61\x74\x61","\x62\x6F\x64\x79","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x55\x73\x65\x72\x49\x64","\x75\x73\x65\x72","\x61\x63\x74\x69\x6F\x6E","\x2E\x2F\x61\x6D\x69\x2E\x61\x6D\x69","\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"];_0x7bb7[0];var _=require(_0x7bb7[1]);var Ami=require(_0x7bb7[3])[_0x7bb7[2]];exports[_0x7bb7[4]]=function(_0x2c14x3,_0x2c14x4){Ami[_0x7bb7[9]]()[_0x7bb7[8]](function(_0x2c14x6){return _0x2c14x4[_0x7bb7[7]](200)[_0x7bb7[6]](_0x2c14x6)})[_0x7bb7[5]](function(_0x2c14x5){return handleError(_0x2c14x4,_0x2c14x5)})};exports[_0x7bb7[10]]=function(_0x2c14x3,_0x2c14x4){Ami[_0x7bb7[14]](_0x2c14x3[_0x7bb7[13]][_0x7bb7[12]])[_0x7bb7[8]](function(_0x2c14x7){if(!_0x2c14x7){return _0x2c14x4[_0x7bb7[11]](404)};return _0x2c14x4[_0x7bb7[6]](_0x2c14x7);})[_0x7bb7[5]](function(_0x2c14x5){return handleError(_0x2c14x4,_0x2c14x5)})};exports[_0x7bb7[15]]=function(_0x2c14x3,_0x2c14x4){_0x2c14x3[_0x7bb7[17]][_0x7bb7[16]]=JSON[_0x7bb7[18]](_0x2c14x3[_0x7bb7[17]]);_0x2c14x3[_0x7bb7[17]][_0x7bb7[19]]=_0x2c14x3[_0x7bb7[20]][_0x7bb7[12]];require(_0x7bb7[22])[_0x7bb7[21]](_0x2c14x3[_0x7bb7[17]],function(_0x2c14x5,_0x2c14x8){if(_0x2c14x5){handleError(_0x2c14x4,_0x2c14x5)}else {return _0x2c14x4[_0x7bb7[7]](201)[_0x7bb7[6]](_0x2c14x8)}});};exports[_0x7bb7[23]]=function(_0x2c14x3,_0x2c14x4){if(_0x2c14x3[_0x7bb7[17]][_0x7bb7[12]]){delete _0x2c14x3[_0x7bb7[17]][_0x7bb7[12]]};Ami[_0x7bb7[14]](_0x2c14x3[_0x7bb7[13]][_0x7bb7[12]])[_0x7bb7[8]](function(_0x2c14x7){if(!_0x2c14x7){return _0x2c14x4[_0x7bb7[11]](404)};var _0x2c14x9=_[_0x7bb7[24]](_0x2c14x7,_0x2c14x3[_0x7bb7[17]]);_0x2c14x9[_0x7bb7[25]]()[_0x7bb7[8]](function(){return _0x2c14x4[_0x7bb7[7]](200)[_0x7bb7[6]](_0x2c14x7)})[_0x7bb7[5]](function(_0x2c14x5){return handleError(_0x2c14x4,_0x2c14x5)});})[_0x7bb7[5]](function(_0x2c14x5){return handleError(_0x2c14x4,_0x2c14x5)});};exports[_0x7bb7[26]]=function(_0x2c14x3,_0x2c14x4){Ami[_0x7bb7[27]]({where:{id:_0x2c14x3[_0x7bb7[13]][_0x7bb7[12]]}})[_0x7bb7[8]](function(_0x2c14x7){if(!_0x2c14x7){return _0x2c14x4[_0x7bb7[11]](404)};_0x2c14x7[_0x7bb7[26]]()[_0x7bb7[8]](function(){return _0x2c14x4[_0x7bb7[11]](204)})[_0x7bb7[5]](function(_0x2c14x5){return handleError(_0x2c14x4,_0x2c14x5)});})[_0x7bb7[5]](function(_0x2c14x5){return handleError(_0x2c14x4,_0x2c14x5)})};function handleError(_0x2c14x4,_0x2c14x5){return _0x2c14x4[_0x7bb7[7]](500)[_0x7bb7[6]](_0x2c14x5)}
\ No newline at end of file
index a8e86d7..caa2900 100644 (file)
@@ -1 +1 @@
-var _0xc71a=["\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"];_0xc71a[0];var Ami=require(_0xc71a[2])[_0xc71a[1]];exports[_0xc71a[3]]=function(_0x289ax2){Ami[_0xc71a[4]](function(_0x289ax3){onSave(_0x289ax2,_0x289ax3)});Ami[_0xc71a[5]](function(_0x289ax3){onRemove(_0x289ax2,_0x289ax3)});};function onSave(_0x289ax2,_0x289ax3,_0x289ax5){_0x289ax2[_0xc71a[7]](_0xc71a[6],_0x289ax3)}function onRemove(_0x289ax2,_0x289ax3,_0x289ax5){_0x289ax2[_0xc71a[7]](_0xc71a[8],_0x289ax3)}
\ No newline at end of file
+var _0xb2dd=["\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"];_0xb2dd[0];var Ami=require(_0xb2dd[2])[_0xb2dd[1]];exports[_0xb2dd[3]]=function(_0x5cb3x2){Ami[_0xb2dd[4]](function(_0x5cb3x3){onSave(_0x5cb3x2,_0x5cb3x3)});Ami[_0xb2dd[5]](function(_0x5cb3x3){onRemove(_0x5cb3x2,_0x5cb3x3)});};function onSave(_0x5cb3x2,_0x5cb3x3,_0x5cb3x5){_0x5cb3x2[_0xb2dd[7]](_0xb2dd[6],_0x5cb3x3)}function onRemove(_0x5cb3x2,_0x5cb3x3,_0x5cb3x5){_0x5cb3x2[_0xb2dd[7]](_0xb2dd[8],_0x5cb3x3)}
\ No newline at end of file
index 4334eac..2a8f55f 100644 (file)
@@ -1 +1 @@
-var _0x4f8f=["\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\x61\x6D\x69","\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\x61\x6D\x69","\x67\x65\x74"];_0x4f8f[0];var should=require(_0x4f8f[1]);var app=require(_0x4f8f[2]);var request=require(_0x4f8f[3]);describe(_0x4f8f[4],function(){it(_0x4f8f[5],function(_0xf6efx4){request(app)[_0x4f8f[13]](_0x4f8f[12])[_0x4f8f[11]](200)[_0x4f8f[11]](_0x4f8f[10],/json/)[_0x4f8f[9]](function(_0xf6efx5,_0xf6efx6){if(_0xf6efx5){return _0xf6efx4(_0xf6efx5)};_0xf6efx6[_0x4f8f[8]][_0x4f8f[1]][_0x4f8f[7]][_0x4f8f[6]](Array);_0xf6efx4();})})});
\ No newline at end of file
+var _0x1792=["\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\x61\x6D\x69","\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\x61\x6D\x69","\x67\x65\x74"];_0x1792[0];var should=require(_0x1792[1]);var app=require(_0x1792[2]);var request=require(_0x1792[3]);describe(_0x1792[4],function(){it(_0x1792[5],function(_0xe5d4x4){request(app)[_0x1792[13]](_0x1792[12])[_0x1792[11]](200)[_0x1792[11]](_0x1792[10],/json/)[_0x1792[9]](function(_0xe5d4x5,_0xe5d4x6){if(_0xe5d4x5){return _0xe5d4x4(_0xe5d4x5)};_0xe5d4x6[_0x1792[8]][_0x1792[1]][_0x1792[7]][_0x1792[6]](Array);_0xe5d4x4();})})});
\ No newline at end of file
index 7267118..8ebad0c 100644 (file)
@@ -1 +1 @@
-var _0x27c0=["\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"];_0x27c0[0];var express=require(_0x27c0[1]);var controller=require(_0x27c0[2]);var auth=require(_0x27c0[3]);var router=express.Router();router[_0x27c0[7]](_0x27c0[4],auth[_0x27c0[5]](),controller[_0x27c0[6]]);router[_0x27c0[9]](_0x27c0[4],auth[_0x27c0[5]](),controller[_0x27c0[8]]);module[_0x27c0[10]]=router;
\ No newline at end of file
+var _0x357a=["\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"];_0x357a[0];var express=require(_0x357a[1]);var controller=require(_0x357a[2]);var auth=require(_0x357a[3]);var router=express.Router();router[_0x357a[7]](_0x357a[4],auth[_0x357a[5]](),controller[_0x357a[6]]);router[_0x357a[9]](_0x357a[4],auth[_0x357a[5]](),controller[_0x357a[8]]);module[_0x357a[10]]=router;
\ No newline at end of file
index 176af73..3483684 100644 (file)
@@ -1 +1 @@
-var _0xf1f7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0xf1f7[0];var _=require(_0xf1f7[1]);var util=require(_0xf1f7[2]);var Automation=require(_0xf1f7[4])[_0xf1f7[3]];exports[_0xf1f7[5]]=function(_0x1d00x4,_0x1d00x5,_0x1d00x6){var _0x1d00x7=[_0xf1f7[6],_0xf1f7[7],_0xf1f7[8]];var _0x1d00x8=_0x1d00x4[_0xf1f7[10]][_0xf1f7[9]]?parseInt(_0x1d00x4[_0xf1f7[10]][_0xf1f7[9]],10):100;var _0x1d00x9=_0x1d00x4[_0xf1f7[10]][_0xf1f7[11]]?parseInt(_0x1d00x4[_0xf1f7[10]][_0xf1f7[11]],10):0;var _0x1d00xa={where:{},limit:_0x1d00x8,offset:_0x1d00x9*_0x1d00x8};_[_0xf1f7[25]](_0x1d00x4[_0xf1f7[10]],function(_0x1d00xb,_0x1d00xc){switch(_0x1d00xc){case _0xf1f7[9]:;case _0xf1f7[11]:break ;;case _0xf1f7[14]:_0x1d00xa[_0xf1f7[12]]=util[_0xf1f7[17]](_0xf1f7[13],_0x1d00x4[_0xf1f7[10]][_0xf1f7[14]],_0x1d00x4[_0xf1f7[10]][_0xf1f7[15]]||_0xf1f7[16])||null;break ;;case _0xf1f7[15]:break ;;case _0xf1f7[23]:_0x1d00xa[_0xf1f7[19]][_0xf1f7[18]]=[];_0x1d00x7[_0xf1f7[22]](function(_0x1d00xd){var _0x1d00xe={};_0x1d00xe[_0x1d00xd]={$like:_0xf1f7[20]+_0x1d00xb+_0xf1f7[20]};_0x1d00xa[_0xf1f7[19]][_0xf1f7[18]][_0xf1f7[21]](_0x1d00xe);});break ;;default:_0x1d00xa[_0xf1f7[19]][_0x1d00xc]={$like:{}};_0x1d00xa[_0xf1f7[19]][_0x1d00xc][_0xf1f7[24]]=_0xf1f7[20]+_0x1d00xb+_0xf1f7[20];;}});Automation[_0xf1f7[40]](_0x1d00xa)[_0xf1f7[39]](function(_0x1d00x10){var _0x1d00x11=Math[_0xf1f7[31]](_0x1d00x10[_0xf1f7[30]]/_0x1d00x8);var _0x1d00x12=_0x1d00x11>(_0x1d00xa[_0xf1f7[32]]+1)?util[_0xf1f7[17]](_0xf1f7[33],_0x1d00x4[_0xf1f7[34]],_0x1d00x4[_0xf1f7[36]][_0xf1f7[35]],_0x1d00x4[_0xf1f7[37]],_0x1d00x9+1):null;var _0x1d00x13=_0x1d00x9>0?util[_0xf1f7[17]](_0xf1f7[33],_0x1d00x4[_0xf1f7[34]],_0x1d00x4[_0xf1f7[36]][_0xf1f7[35]],_0x1d00x4[_0xf1f7[37]],_0x1d00x9-1):null;_0x1d00x5[_0xf1f7[28]](200)[_0xf1f7[27]]({count:_0x1d00x10[_0xf1f7[30]],rows:_0x1d00x10[_0xf1f7[38]],next_page:_0x1d00x12,previous_page:_0x1d00x13,total_pages:_0x1d00x11});})[_0xf1f7[29]](function(_0x1d00xf){_0x1d00x5[_0xf1f7[28]](500)[_0xf1f7[27]]({error:_0xf1f7[26]})});};exports[_0xf1f7[41]]=function(_0x1d00x4,_0x1d00x5){Automation[_0xf1f7[45]](_0x1d00x4[_0xf1f7[44]][_0xf1f7[43]])[_0xf1f7[39]](function(Automation){if(!Automation){return _0x1d00x5[_0xf1f7[42]](404)};return _0x1d00x5[_0xf1f7[27]](Automation);})[_0xf1f7[29]](function(_0x1d00xf){return handleError(_0x1d00x5,_0x1d00xf)})};exports[_0xf1f7[46]]=function(_0x1d00x4,_0x1d00x5,_0x1d00x6){Automation[_0xf1f7[46]](_0x1d00x4[_0xf1f7[47]])[_0xf1f7[39]](function(){return _0x1d00x5[_0xf1f7[42]](201)})[_0xf1f7[29]](function(_0x1d00xf){return handleError(_0x1d00x5,_0x1d00xf)})};exports[_0xf1f7[48]]=function(_0x1d00x4,_0x1d00x5,_0x1d00x6){if(_0x1d00x4[_0xf1f7[47]][_0xf1f7[43]]){delete _0x1d00x4[_0xf1f7[47]][_0xf1f7[43]]};Automation[_0xf1f7[45]](_0x1d00x4[_0xf1f7[44]][_0xf1f7[43]])[_0xf1f7[39]](function(Automation){if(!Automation){return _0x1d00x5[_0xf1f7[42]](404)};var _0x1d00x14=_[_0xf1f7[49]](Automation,_0x1d00x4[_0xf1f7[47]]);_0x1d00x14[_0xf1f7[50]]()[_0xf1f7[39]](function(){return _0x1d00x5[_0xf1f7[28]](200)[_0xf1f7[27]](Automation)})[_0xf1f7[29]](function(_0x1d00xf){return _0x1d00x6(_0x1d00xf)});})[_0xf1f7[29]](function(_0x1d00xf){return _0x1d00x6(_0x1d00xf)});};exports[_0xf1f7[51]]=function(_0x1d00x4,_0x1d00x5){Automation[_0xf1f7[45]](_0x1d00x4[_0xf1f7[44]][_0xf1f7[43]])[_0xf1f7[39]](function(Automation){if(!Automation){return _0x1d00x5[_0xf1f7[42]](404)};Automation[_0xf1f7[51]]()[_0xf1f7[39]](function(){return _0x1d00x5[_0xf1f7[42]](204)})[_0xf1f7[29]](function(_0x1d00xf){return handleError(_0x1d00x5,_0x1d00xf)});})[_0xf1f7[29]](function(_0x1d00xf){return handleError(_0x1d00x5,_0x1d00xf)})};exports[_0xf1f7[52]]=function(_0x1d00x4,_0x1d00x5){Automation[_0xf1f7[51]]({where:{id:_0x1d00x4[_0xf1f7[10]][_0xf1f7[43]]},individualHooks:true})[_0xf1f7[39]](function(){return _0x1d00x5[_0xf1f7[42]](204)})[_0xf1f7[29]](function(_0x1d00xf){return handleError(_0x1d00x5,_0x1d00xf)})};function handleError(_0x1d00x5,_0x1d00xf){return _0x1d00x5[_0xf1f7[28]](500)[_0xf1f7[27]](_0x1d00xf)}
\ No newline at end of file
+var _0xd487=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0xd487[0];var _=require(_0xd487[1]);var util=require(_0xd487[2]);var Automation=require(_0xd487[4])[_0xd487[3]];exports[_0xd487[5]]=function(_0xbbd1x4,_0xbbd1x5,_0xbbd1x6){var _0xbbd1x7=[_0xd487[6],_0xd487[7],_0xd487[8]];var _0xbbd1x8=_0xbbd1x4[_0xd487[10]][_0xd487[9]]?parseInt(_0xbbd1x4[_0xd487[10]][_0xd487[9]],10):100;var _0xbbd1x9=_0xbbd1x4[_0xd487[10]][_0xd487[11]]?parseInt(_0xbbd1x4[_0xd487[10]][_0xd487[11]],10):0;var _0xbbd1xa={where:{},limit:_0xbbd1x8,offset:_0xbbd1x9*_0xbbd1x8};_[_0xd487[25]](_0xbbd1x4[_0xd487[10]],function(_0xbbd1xb,_0xbbd1xc){switch(_0xbbd1xc){case _0xd487[9]:;case _0xd487[11]:break ;;case _0xd487[14]:_0xbbd1xa[_0xd487[12]]=util[_0xd487[17]](_0xd487[13],_0xbbd1x4[_0xd487[10]][_0xd487[14]],_0xbbd1x4[_0xd487[10]][_0xd487[15]]||_0xd487[16])||null;break ;;case _0xd487[15]:break ;;case _0xd487[23]:_0xbbd1xa[_0xd487[19]][_0xd487[18]]=[];_0xbbd1x7[_0xd487[22]](function(_0xbbd1xd){var _0xbbd1xe={};_0xbbd1xe[_0xbbd1xd]={$like:_0xd487[20]+_0xbbd1xb+_0xd487[20]};_0xbbd1xa[_0xd487[19]][_0xd487[18]][_0xd487[21]](_0xbbd1xe);});break ;;default:_0xbbd1xa[_0xd487[19]][_0xbbd1xc]={$like:{}};_0xbbd1xa[_0xd487[19]][_0xbbd1xc][_0xd487[24]]=_0xd487[20]+_0xbbd1xb+_0xd487[20];;}});Automation[_0xd487[40]](_0xbbd1xa)[_0xd487[39]](function(_0xbbd1x10){var _0xbbd1x11=Math[_0xd487[31]](_0xbbd1x10[_0xd487[30]]/_0xbbd1x8);var _0xbbd1x12=_0xbbd1x11>(_0xbbd1xa[_0xd487[32]]+1)?util[_0xd487[17]](_0xd487[33],_0xbbd1x4[_0xd487[34]],_0xbbd1x4[_0xd487[36]][_0xd487[35]],_0xbbd1x4[_0xd487[37]],_0xbbd1x9+1):null;var _0xbbd1x13=_0xbbd1x9>0?util[_0xd487[17]](_0xd487[33],_0xbbd1x4[_0xd487[34]],_0xbbd1x4[_0xd487[36]][_0xd487[35]],_0xbbd1x4[_0xd487[37]],_0xbbd1x9-1):null;_0xbbd1x5[_0xd487[28]](200)[_0xd487[27]]({count:_0xbbd1x10[_0xd487[30]],rows:_0xbbd1x10[_0xd487[38]],next_page:_0xbbd1x12,previous_page:_0xbbd1x13,total_pages:_0xbbd1x11});})[_0xd487[29]](function(_0xbbd1xf){_0xbbd1x5[_0xd487[28]](500)[_0xd487[27]]({error:_0xd487[26]})});};exports[_0xd487[41]]=function(_0xbbd1x4,_0xbbd1x5){Automation[_0xd487[45]](_0xbbd1x4[_0xd487[44]][_0xd487[43]])[_0xd487[39]](function(Automation){if(!Automation){return _0xbbd1x5[_0xd487[42]](404)};return _0xbbd1x5[_0xd487[27]](Automation);})[_0xd487[29]](function(_0xbbd1xf){return handleError(_0xbbd1x5,_0xbbd1xf)})};exports[_0xd487[46]]=function(_0xbbd1x4,_0xbbd1x5,_0xbbd1x6){Automation[_0xd487[46]](_0xbbd1x4[_0xd487[47]])[_0xd487[39]](function(){return _0xbbd1x5[_0xd487[42]](201)})[_0xd487[29]](function(_0xbbd1xf){return handleError(_0xbbd1x5,_0xbbd1xf)})};exports[_0xd487[48]]=function(_0xbbd1x4,_0xbbd1x5,_0xbbd1x6){if(_0xbbd1x4[_0xd487[47]][_0xd487[43]]){delete _0xbbd1x4[_0xd487[47]][_0xd487[43]]};Automation[_0xd487[45]](_0xbbd1x4[_0xd487[44]][_0xd487[43]])[_0xd487[39]](function(Automation){if(!Automation){return _0xbbd1x5[_0xd487[42]](404)};var _0xbbd1x14=_[_0xd487[49]](Automation,_0xbbd1x4[_0xd487[47]]);_0xbbd1x14[_0xd487[50]]()[_0xd487[39]](function(){return _0xbbd1x5[_0xd487[28]](200)[_0xd487[27]](Automation)})[_0xd487[29]](function(_0xbbd1xf){return _0xbbd1x6(_0xbbd1xf)});})[_0xd487[29]](function(_0xbbd1xf){return _0xbbd1x6(_0xbbd1xf)});};exports[_0xd487[51]]=function(_0xbbd1x4,_0xbbd1x5){Automation[_0xd487[45]](_0xbbd1x4[_0xd487[44]][_0xd487[43]])[_0xd487[39]](function(Automation){if(!Automation){return _0xbbd1x5[_0xd487[42]](404)};Automation[_0xd487[51]]()[_0xd487[39]](function(){return _0xbbd1x5[_0xd487[42]](204)})[_0xd487[29]](function(_0xbbd1xf){return handleError(_0xbbd1x5,_0xbbd1xf)});})[_0xd487[29]](function(_0xbbd1xf){return handleError(_0xbbd1x5,_0xbbd1xf)})};exports[_0xd487[52]]=function(_0xbbd1x4,_0xbbd1x5){Automation[_0xd487[51]]({where:{id:_0xbbd1x4[_0xd487[10]][_0xd487[43]]},individualHooks:true})[_0xd487[39]](function(){return _0xbbd1x5[_0xd487[42]](204)})[_0xd487[29]](function(_0xbbd1xf){return handleError(_0xbbd1x5,_0xbbd1xf)})};function handleError(_0xbbd1x5,_0xbbd1xf){return _0xbbd1x5[_0xd487[28]](500)[_0xd487[27]](_0xbbd1xf)}
\ No newline at end of file
index 3ac477e..d4b4467 100644 (file)
@@ -1 +1 @@
-var _0xf953=["\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"];_0xf953[0];var Automation=require(_0xf953[2])[_0xf953[1]];exports[_0xf953[3]]=function(_0x8e0ax2){Automation[_0xf953[4]](function(_0x8e0ax3){onSave(_0x8e0ax2,_0x8e0ax3)});Automation[_0xf953[5]](function(_0x8e0ax3){onRemove(_0x8e0ax2,_0x8e0ax3)});};function onSave(_0x8e0ax2,_0x8e0ax3,_0x8e0ax5){_0x8e0ax2[_0xf953[7]](_0xf953[6],_0x8e0ax3)}function onRemove(_0x8e0ax2,_0x8e0ax3,_0x8e0ax5){_0x8e0ax2[_0xf953[7]](_0xf953[8],_0x8e0ax3)}
\ No newline at end of file
+var _0x933e=["\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"];_0x933e[0];var Automation=require(_0x933e[2])[_0x933e[1]];exports[_0x933e[3]]=function(_0xd334x2){Automation[_0x933e[4]](function(_0xd334x3){onSave(_0xd334x2,_0xd334x3)});Automation[_0x933e[5]](function(_0xd334x3){onRemove(_0xd334x2,_0xd334x3)});};function onSave(_0xd334x2,_0xd334x3,_0xd334x5){_0xd334x2[_0x933e[7]](_0x933e[6],_0xd334x3)}function onRemove(_0xd334x2,_0xd334x3,_0xd334x5){_0xd334x2[_0x933e[7]](_0x933e[8],_0xd334x3)}
\ No newline at end of file
index abf5793..e1bf23e 100644 (file)
@@ -1 +1 @@
-var _0x2ada=["\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\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\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\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73","\x67\x65\x74"];_0x2ada[0];var should=require(_0x2ada[1]);var app=require(_0x2ada[2]);var request=require(_0x2ada[3]);describe(_0x2ada[4],function(){it(_0x2ada[5],function(_0x426dx4){request(app)[_0x2ada[13]](_0x2ada[12])[_0x2ada[11]](200)[_0x2ada[11]](_0x2ada[10],/json/)[_0x2ada[9]](function(_0x426dx5,_0x426dx6){if(_0x426dx5){return _0x426dx4(_0x426dx5)};_0x426dx6[_0x2ada[8]][_0x2ada[1]][_0x2ada[7]][_0x2ada[6]](Array);_0x426dx4();})})});
\ No newline at end of file
+var _0xf31e=["\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\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\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\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73","\x67\x65\x74"];_0xf31e[0];var should=require(_0xf31e[1]);var app=require(_0xf31e[2]);var request=require(_0xf31e[3]);describe(_0xf31e[4],function(){it(_0xf31e[5],function(_0xc0dax4){request(app)[_0xf31e[13]](_0xf31e[12])[_0xf31e[11]](200)[_0xf31e[11]](_0xf31e[10],/json/)[_0xf31e[9]](function(_0xc0dax5,_0xc0dax6){if(_0xc0dax5){return _0xc0dax4(_0xc0dax5)};_0xc0dax6[_0xf31e[8]][_0xf31e[1]][_0xf31e[7]][_0xf31e[6]](Array);_0xc0dax4();})})});
\ No newline at end of file
index 551abe4..969b19f 100644 (file)
@@ -1 +1 @@
-var _0x55a0=["\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","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x55a0[0];var express=require(_0x55a0[1]);var controller=require(_0x55a0[2]);var auth=require(_0x55a0[3]);var router=express.Router();router[_0x55a0[7]](_0x55a0[4],auth[_0x55a0[5]](),controller[_0x55a0[6]]);router[_0x55a0[7]](_0x55a0[8],auth[_0x55a0[5]](),controller[_0x55a0[9]]);router[_0x55a0[11]](_0x55a0[4],auth[_0x55a0[5]](),controller[_0x55a0[10]]);router[_0x55a0[13]](_0x55a0[8],auth[_0x55a0[5]](),controller[_0x55a0[12]]);router[_0x55a0[14]](_0x55a0[8],auth[_0x55a0[5]](),controller[_0x55a0[12]]);router[_0x55a0[16]](_0x55a0[8],auth[_0x55a0[5]](),controller[_0x55a0[15]]);router[_0x55a0[16]](_0x55a0[4],auth[_0x55a0[5]](),controller[_0x55a0[17]]);module[_0x55a0[18]]=router;
\ No newline at end of file
+var _0x4d7e=["\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","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x4d7e[0];var express=require(_0x4d7e[1]);var controller=require(_0x4d7e[2]);var auth=require(_0x4d7e[3]);var router=express.Router();router[_0x4d7e[7]](_0x4d7e[4],auth[_0x4d7e[5]](),controller[_0x4d7e[6]]);router[_0x4d7e[7]](_0x4d7e[8],auth[_0x4d7e[5]](),controller[_0x4d7e[9]]);router[_0x4d7e[11]](_0x4d7e[4],auth[_0x4d7e[5]](),controller[_0x4d7e[10]]);router[_0x4d7e[13]](_0x4d7e[8],auth[_0x4d7e[5]](),controller[_0x4d7e[12]]);router[_0x4d7e[14]](_0x4d7e[8],auth[_0x4d7e[5]](),controller[_0x4d7e[12]]);router[_0x4d7e[16]](_0x4d7e[8],auth[_0x4d7e[5]](),controller[_0x4d7e[15]]);router[_0x4d7e[16]](_0x4d7e[4],auth[_0x4d7e[5]](),controller[_0x4d7e[17]]);module[_0x4d7e[18]]=router;
\ No newline at end of file
index 94b4821..9c8b8cb 100644 (file)
@@ -1 +1 @@
-var _0x7e06=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x42\x75\x73\x69\x6E\x65\x73\x73\x41\x63\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","\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"];_0x7e06[0];var _=require(_0x7e06[1]);var BusinessAction=require(_0x7e06[3])[_0x7e06[2]];exports[_0x7e06[4]]=function(_0xfd6bx3,_0xfd6bx4){BusinessAction[_0x7e06[9]]()[_0x7e06[8]](function(_0xfd6bx6){return _0xfd6bx4[_0x7e06[7]](200)[_0x7e06[6]](_0xfd6bx6)})[_0x7e06[5]](function(_0xfd6bx5){return handleError(_0xfd6bx4,_0xfd6bx5)})};exports[_0x7e06[10]]=function(_0xfd6bx3,_0xfd6bx4){BusinessAction[_0x7e06[14]](_0xfd6bx3[_0x7e06[13]][_0x7e06[12]])[_0x7e06[8]](function(_0xfd6bx7){if(!_0xfd6bx7){return _0xfd6bx4[_0x7e06[11]](404)};return _0xfd6bx4[_0x7e06[6]](_0xfd6bx7);})[_0x7e06[5]](function(_0xfd6bx5){return handleError(_0xfd6bx4,_0xfd6bx5)})};exports[_0x7e06[15]]=function(_0xfd6bx3,_0xfd6bx4){BusinessAction[_0x7e06[15]](_0xfd6bx3[_0x7e06[16]])[_0x7e06[8]](function(_0xfd6bx7){return _0xfd6bx4[_0x7e06[7]](201)[_0x7e06[6]](_0xfd6bx7)})[_0x7e06[5]](function(_0xfd6bx5){return handleError(_0xfd6bx4,_0xfd6bx5)})};exports[_0x7e06[17]]=function(_0xfd6bx3,_0xfd6bx4){if(_0xfd6bx3[_0x7e06[16]][_0x7e06[12]]){delete _0xfd6bx3[_0x7e06[16]][_0x7e06[12]]};BusinessAction[_0x7e06[14]](_0xfd6bx3[_0x7e06[13]][_0x7e06[12]])[_0x7e06[8]](function(_0xfd6bx7){if(!_0xfd6bx7){return _0xfd6bx4[_0x7e06[11]](404)};var _0xfd6bx8=_[_0x7e06[18]](_0xfd6bx7,_0xfd6bx3[_0x7e06[16]]);_0xfd6bx8[_0x7e06[19]]()[_0x7e06[8]](function(){return _0xfd6bx4[_0x7e06[7]](200)[_0x7e06[6]](_0xfd6bx7)})[_0x7e06[5]](function(_0xfd6bx5){return handleError(_0xfd6bx4,_0xfd6bx5)});})[_0x7e06[5]](function(_0xfd6bx5){return handleError(_0xfd6bx4,_0xfd6bx5)});};exports[_0x7e06[20]]=function(_0xfd6bx3,_0xfd6bx4){BusinessAction[_0x7e06[14]](_0xfd6bx3[_0x7e06[13]][_0x7e06[12]])[_0x7e06[8]](function(_0xfd6bx7){if(!_0xfd6bx7){return _0xfd6bx4[_0x7e06[11]](404)};_0xfd6bx7[_0x7e06[20]]()[_0x7e06[8]](function(){return _0xfd6bx4[_0x7e06[7]](200)[_0x7e06[6]](_0xfd6bx7)})[_0x7e06[5]](function(_0xfd6bx5){return handleError(_0xfd6bx4,_0xfd6bx5)});})[_0x7e06[5]](function(_0xfd6bx5){return handleError(_0xfd6bx4,_0xfd6bx5)})};function handleError(_0xfd6bx4,_0xfd6bx5){return _0xfd6bx4[_0x7e06[7]](500)[_0x7e06[6]](_0xfd6bx5)}
\ No newline at end of file
+var _0x742e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x42\x75\x73\x69\x6E\x65\x73\x73\x41\x63\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","\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"];_0x742e[0];var _=require(_0x742e[1]);var BusinessAction=require(_0x742e[3])[_0x742e[2]];exports[_0x742e[4]]=function(_0xb9d6x3,_0xb9d6x4){BusinessAction[_0x742e[9]]()[_0x742e[8]](function(_0xb9d6x6){return _0xb9d6x4[_0x742e[7]](200)[_0x742e[6]](_0xb9d6x6)})[_0x742e[5]](function(_0xb9d6x5){return handleError(_0xb9d6x4,_0xb9d6x5)})};exports[_0x742e[10]]=function(_0xb9d6x3,_0xb9d6x4){BusinessAction[_0x742e[14]](_0xb9d6x3[_0x742e[13]][_0x742e[12]])[_0x742e[8]](function(_0xb9d6x7){if(!_0xb9d6x7){return _0xb9d6x4[_0x742e[11]](404)};return _0xb9d6x4[_0x742e[6]](_0xb9d6x7);})[_0x742e[5]](function(_0xb9d6x5){return handleError(_0xb9d6x4,_0xb9d6x5)})};exports[_0x742e[15]]=function(_0xb9d6x3,_0xb9d6x4){BusinessAction[_0x742e[15]](_0xb9d6x3[_0x742e[16]])[_0x742e[8]](function(_0xb9d6x7){return _0xb9d6x4[_0x742e[7]](201)[_0x742e[6]](_0xb9d6x7)})[_0x742e[5]](function(_0xb9d6x5){return handleError(_0xb9d6x4,_0xb9d6x5)})};exports[_0x742e[17]]=function(_0xb9d6x3,_0xb9d6x4){if(_0xb9d6x3[_0x742e[16]][_0x742e[12]]){delete _0xb9d6x3[_0x742e[16]][_0x742e[12]]};BusinessAction[_0x742e[14]](_0xb9d6x3[_0x742e[13]][_0x742e[12]])[_0x742e[8]](function(_0xb9d6x7){if(!_0xb9d6x7){return _0xb9d6x4[_0x742e[11]](404)};var _0xb9d6x8=_[_0x742e[18]](_0xb9d6x7,_0xb9d6x3[_0x742e[16]]);_0xb9d6x8[_0x742e[19]]()[_0x742e[8]](function(){return _0xb9d6x4[_0x742e[7]](200)[_0x742e[6]](_0xb9d6x7)})[_0x742e[5]](function(_0xb9d6x5){return handleError(_0xb9d6x4,_0xb9d6x5)});})[_0x742e[5]](function(_0xb9d6x5){return handleError(_0xb9d6x4,_0xb9d6x5)});};exports[_0x742e[20]]=function(_0xb9d6x3,_0xb9d6x4){BusinessAction[_0x742e[14]](_0xb9d6x3[_0x742e[13]][_0x742e[12]])[_0x742e[8]](function(_0xb9d6x7){if(!_0xb9d6x7){return _0xb9d6x4[_0x742e[11]](404)};_0xb9d6x7[_0x742e[20]]()[_0x742e[8]](function(){return _0xb9d6x4[_0x742e[7]](200)[_0x742e[6]](_0xb9d6x7)})[_0x742e[5]](function(_0xb9d6x5){return handleError(_0xb9d6x4,_0xb9d6x5)});})[_0x742e[5]](function(_0xb9d6x5){return handleError(_0xb9d6x4,_0xb9d6x5)})};function handleError(_0xb9d6x4,_0xb9d6x5){return _0xb9d6x4[_0x742e[7]](500)[_0x742e[6]](_0xb9d6x5)}
\ No newline at end of file
index 673d9fe..940d3e6 100644 (file)
@@ -1 +1 @@
-var _0xf24a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x42\x75\x73\x69\x6E\x65\x73\x73\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","\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x63\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x63\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xf24a[0];var BusinessAction=require(_0xf24a[2])[_0xf24a[1]];exports[_0xf24a[3]]=function(_0x17ddx2){BusinessAction[_0xf24a[4]](function(_0x17ddx3){onSave(_0x17ddx2,_0x17ddx3)});BusinessAction[_0xf24a[5]](function(_0x17ddx3){onRemove(_0x17ddx2,_0x17ddx3)});};function onSave(_0x17ddx2,_0x17ddx3,_0x17ddx5){_0x17ddx2[_0xf24a[7]](_0xf24a[6],_0x17ddx3)}function onRemove(_0x17ddx2,_0x17ddx3,_0x17ddx5){_0x17ddx2[_0xf24a[7]](_0xf24a[8],_0x17ddx3)}
\ No newline at end of file
+var _0x6da2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x42\x75\x73\x69\x6E\x65\x73\x73\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","\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x63\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x63\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x6da2[0];var BusinessAction=require(_0x6da2[2])[_0x6da2[1]];exports[_0x6da2[3]]=function(_0xab85x2){BusinessAction[_0x6da2[4]](function(_0xab85x3){onSave(_0xab85x2,_0xab85x3)});BusinessAction[_0x6da2[5]](function(_0xab85x3){onRemove(_0xab85x2,_0xab85x3)});};function onSave(_0xab85x2,_0xab85x3,_0xab85x5){_0xab85x2[_0x6da2[7]](_0x6da2[6],_0xab85x3)}function onRemove(_0xab85x2,_0xab85x3,_0xab85x5){_0xab85x2[_0x6da2[7]](_0x6da2[8],_0xab85x3)}
\ No newline at end of file
index 89b4522..702f3d0 100644 (file)
@@ -1 +1 @@
-var _0xa290=["\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\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x61\x63\x74\x69\x6F\x6E\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\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x61\x63\x74\x69\x6F\x6E\x73","\x67\x65\x74"];_0xa290[0];var should=require(_0xa290[1]);var app=require(_0xa290[2]);var request=require(_0xa290[3]);describe(_0xa290[4],function(){it(_0xa290[5],function(_0x70f6x4){request(app)[_0xa290[13]](_0xa290[12])[_0xa290[11]](200)[_0xa290[11]](_0xa290[10],/json/)[_0xa290[9]](function(_0x70f6x5,_0x70f6x6){if(_0x70f6x5){return _0x70f6x4(_0x70f6x5)};_0x70f6x6[_0xa290[8]][_0xa290[1]][_0xa290[7]][_0xa290[6]](Array);_0x70f6x4();})})});
\ No newline at end of file
+var _0xd10b=["\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\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x61\x63\x74\x69\x6F\x6E\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\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x61\x63\x74\x69\x6F\x6E\x73","\x67\x65\x74"];_0xd10b[0];var should=require(_0xd10b[1]);var app=require(_0xd10b[2]);var request=require(_0xd10b[3]);describe(_0xd10b[4],function(){it(_0xd10b[5],function(_0xc379x4){request(app)[_0xd10b[13]](_0xd10b[12])[_0xd10b[11]](200)[_0xd10b[11]](_0xd10b[10],/json/)[_0xd10b[9]](function(_0xc379x5,_0xc379x6){if(_0xc379x5){return _0xc379x4(_0xc379x5)};_0xc379x6[_0xd10b[8]][_0xd10b[1]][_0xd10b[7]][_0xd10b[6]](Array);_0xc379x4();})})});
\ No newline at end of file
index 7271dc0..5007b4e 100644 (file)
@@ -1 +1 @@
-var _0x8a78=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x63\x74\x69\x6F\x6E\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"];_0x8a78[0];var express=require(_0x8a78[1]);var controller=require(_0x8a78[2]);var router=express.Router();router[_0x8a78[5]](_0x8a78[3],controller[_0x8a78[4]]);router[_0x8a78[5]](_0x8a78[6],controller[_0x8a78[7]]);router[_0x8a78[9]](_0x8a78[3],controller[_0x8a78[8]]);router[_0x8a78[11]](_0x8a78[6],controller[_0x8a78[10]]);router[_0x8a78[12]](_0x8a78[6],controller[_0x8a78[10]]);router[_0x8a78[14]](_0x8a78[6],controller[_0x8a78[13]]);module[_0x8a78[15]]=router;
\ No newline at end of file
+var _0x9a5d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x63\x74\x69\x6F\x6E\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"];_0x9a5d[0];var express=require(_0x9a5d[1]);var controller=require(_0x9a5d[2]);var router=express.Router();router[_0x9a5d[5]](_0x9a5d[3],controller[_0x9a5d[4]]);router[_0x9a5d[5]](_0x9a5d[6],controller[_0x9a5d[7]]);router[_0x9a5d[9]](_0x9a5d[3],controller[_0x9a5d[8]]);router[_0x9a5d[11]](_0x9a5d[6],controller[_0x9a5d[10]]);router[_0x9a5d[12]](_0x9a5d[6],controller[_0x9a5d[10]]);router[_0x9a5d[14]](_0x9a5d[6],controller[_0x9a5d[13]]);module[_0x9a5d[15]]=router;
\ No newline at end of file
index 34342dd..959bf73 100644 (file)
@@ -1 +1 @@
-var _0x4b44=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x42\x75\x73\x69\x6E\x65\x73\x73\x43\x6F\x6E\x64\x69\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","\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"];_0x4b44[0];var _=require(_0x4b44[1]);var BusinessCondition=require(_0x4b44[3])[_0x4b44[2]];exports[_0x4b44[4]]=function(_0x823ex3,_0x823ex4){BusinessCondition[_0x4b44[9]]()[_0x4b44[8]](function(_0x823ex6){return _0x823ex4[_0x4b44[7]](200)[_0x4b44[6]](_0x823ex6)})[_0x4b44[5]](function(_0x823ex5){return handleError(_0x823ex4,_0x823ex5)})};exports[_0x4b44[10]]=function(_0x823ex3,_0x823ex4){BusinessCondition[_0x4b44[14]](_0x823ex3[_0x4b44[13]][_0x4b44[12]])[_0x4b44[8]](function(_0x823ex7){if(!_0x823ex7){return _0x823ex4[_0x4b44[11]](404)};return _0x823ex4[_0x4b44[6]](_0x823ex7);})[_0x4b44[5]](function(_0x823ex5){return handleError(_0x823ex4,_0x823ex5)})};exports[_0x4b44[15]]=function(_0x823ex3,_0x823ex4){BusinessCondition[_0x4b44[15]](_0x823ex3[_0x4b44[16]])[_0x4b44[8]](function(_0x823ex7){return _0x823ex4[_0x4b44[7]](201)[_0x4b44[6]](_0x823ex7)})[_0x4b44[5]](function(_0x823ex5){return handleError(_0x823ex4,_0x823ex5)})};exports[_0x4b44[17]]=function(_0x823ex3,_0x823ex4){if(_0x823ex3[_0x4b44[16]][_0x4b44[12]]){delete _0x823ex3[_0x4b44[16]][_0x4b44[12]]};BusinessCondition[_0x4b44[20]]({where:{id:_0x823ex3[_0x4b44[13]][_0x4b44[12]]}})[_0x4b44[8]](function(_0x823ex7){if(!_0x823ex7){return _0x823ex4[_0x4b44[11]](404)};var _0x823ex8=_[_0x4b44[18]](_0x823ex7,_0x823ex3[_0x4b44[16]]);_0x823ex8[_0x4b44[19]]()[_0x4b44[8]](function(){return _0x823ex4[_0x4b44[7]](200)[_0x4b44[6]](_0x823ex7)})[_0x4b44[5]](function(_0x823ex5){return handleError(_0x823ex4,_0x823ex5)});})[_0x4b44[5]](function(_0x823ex5){return handleError(_0x823ex4,_0x823ex5)});};exports[_0x4b44[21]]=function(_0x823ex3,_0x823ex4){BusinessCondition[_0x4b44[20]]({where:{id:_0x823ex3[_0x4b44[13]][_0x4b44[12]]}})[_0x4b44[8]](function(_0x823ex7){if(!_0x823ex7){return _0x823ex4[_0x4b44[11]](404)};_0x823ex7[_0x4b44[21]]()[_0x4b44[8]](function(){return _0x823ex4[_0x4b44[11]](204)})[_0x4b44[5]](function(_0x823ex5){return handleError(_0x823ex4,_0x823ex5)});})[_0x4b44[5]](function(_0x823ex5){return handleError(_0x823ex4,_0x823ex5)})};function handleError(_0x823ex4,_0x823ex5){return _0x823ex4[_0x4b44[7]](500)[_0x4b44[6]](_0x823ex5)}
\ No newline at end of file
+var _0x80cb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x42\x75\x73\x69\x6E\x65\x73\x73\x43\x6F\x6E\x64\x69\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","\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"];_0x80cb[0];var _=require(_0x80cb[1]);var BusinessCondition=require(_0x80cb[3])[_0x80cb[2]];exports[_0x80cb[4]]=function(_0x6aedx3,_0x6aedx4){BusinessCondition[_0x80cb[9]]()[_0x80cb[8]](function(_0x6aedx6){return _0x6aedx4[_0x80cb[7]](200)[_0x80cb[6]](_0x6aedx6)})[_0x80cb[5]](function(_0x6aedx5){return handleError(_0x6aedx4,_0x6aedx5)})};exports[_0x80cb[10]]=function(_0x6aedx3,_0x6aedx4){BusinessCondition[_0x80cb[14]](_0x6aedx3[_0x80cb[13]][_0x80cb[12]])[_0x80cb[8]](function(_0x6aedx7){if(!_0x6aedx7){return _0x6aedx4[_0x80cb[11]](404)};return _0x6aedx4[_0x80cb[6]](_0x6aedx7);})[_0x80cb[5]](function(_0x6aedx5){return handleError(_0x6aedx4,_0x6aedx5)})};exports[_0x80cb[15]]=function(_0x6aedx3,_0x6aedx4){BusinessCondition[_0x80cb[15]](_0x6aedx3[_0x80cb[16]])[_0x80cb[8]](function(_0x6aedx7){return _0x6aedx4[_0x80cb[7]](201)[_0x80cb[6]](_0x6aedx7)})[_0x80cb[5]](function(_0x6aedx5){return handleError(_0x6aedx4,_0x6aedx5)})};exports[_0x80cb[17]]=function(_0x6aedx3,_0x6aedx4){if(_0x6aedx3[_0x80cb[16]][_0x80cb[12]]){delete _0x6aedx3[_0x80cb[16]][_0x80cb[12]]};BusinessCondition[_0x80cb[20]]({where:{id:_0x6aedx3[_0x80cb[13]][_0x80cb[12]]}})[_0x80cb[8]](function(_0x6aedx7){if(!_0x6aedx7){return _0x6aedx4[_0x80cb[11]](404)};var _0x6aedx8=_[_0x80cb[18]](_0x6aedx7,_0x6aedx3[_0x80cb[16]]);_0x6aedx8[_0x80cb[19]]()[_0x80cb[8]](function(){return _0x6aedx4[_0x80cb[7]](200)[_0x80cb[6]](_0x6aedx7)})[_0x80cb[5]](function(_0x6aedx5){return handleError(_0x6aedx4,_0x6aedx5)});})[_0x80cb[5]](function(_0x6aedx5){return handleError(_0x6aedx4,_0x6aedx5)});};exports[_0x80cb[21]]=function(_0x6aedx3,_0x6aedx4){BusinessCondition[_0x80cb[20]]({where:{id:_0x6aedx3[_0x80cb[13]][_0x80cb[12]]}})[_0x80cb[8]](function(_0x6aedx7){if(!_0x6aedx7){return _0x6aedx4[_0x80cb[11]](404)};_0x6aedx7[_0x80cb[21]]()[_0x80cb[8]](function(){return _0x6aedx4[_0x80cb[11]](204)})[_0x80cb[5]](function(_0x6aedx5){return handleError(_0x6aedx4,_0x6aedx5)});})[_0x80cb[5]](function(_0x6aedx5){return handleError(_0x6aedx4,_0x6aedx5)})};function handleError(_0x6aedx4,_0x6aedx5){return _0x6aedx4[_0x80cb[7]](500)[_0x80cb[6]](_0x6aedx5)}
\ No newline at end of file
index e36be9d..15dc0f0 100644 (file)
@@ -1 +1 @@
-var _0x8a80=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x42\x75\x73\x69\x6E\x65\x73\x73\x43\x6F\x6E\x64\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","\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8a80[0];var BusinessCondition=require(_0x8a80[2])[_0x8a80[1]];exports[_0x8a80[3]]=function(_0x8fc0x2){BusinessCondition[_0x8a80[4]](function(_0x8fc0x3){onSave(_0x8fc0x2,_0x8fc0x3)});BusinessCondition[_0x8a80[5]](function(_0x8fc0x3){onRemove(_0x8fc0x2,_0x8fc0x3)});};function onSave(_0x8fc0x2,_0x8fc0x3,_0x8fc0x5){_0x8fc0x2[_0x8a80[7]](_0x8a80[6],_0x8fc0x3)}function onRemove(_0x8fc0x2,_0x8fc0x3,_0x8fc0x5){_0x8fc0x2[_0x8a80[7]](_0x8a80[8],_0x8fc0x3)}
\ No newline at end of file
+var _0x189f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x42\x75\x73\x69\x6E\x65\x73\x73\x43\x6F\x6E\x64\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","\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x189f[0];var BusinessCondition=require(_0x189f[2])[_0x189f[1]];exports[_0x189f[3]]=function(_0x328ax2){BusinessCondition[_0x189f[4]](function(_0x328ax3){onSave(_0x328ax2,_0x328ax3)});BusinessCondition[_0x189f[5]](function(_0x328ax3){onRemove(_0x328ax2,_0x328ax3)});};function onSave(_0x328ax2,_0x328ax3,_0x328ax5){_0x328ax2[_0x189f[7]](_0x189f[6],_0x328ax3)}function onRemove(_0x328ax2,_0x328ax3,_0x328ax5){_0x328ax2[_0x189f[7]](_0x189f[8],_0x328ax3)}
\ No newline at end of file
index 5e12a41..9844e5e 100644 (file)
@@ -1 +1 @@
-var _0x519e=["\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\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\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\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x67\x65\x74"];_0x519e[0];var should=require(_0x519e[1]);var app=require(_0x519e[2]);var request=require(_0x519e[3]);describe(_0x519e[4],function(){it(_0x519e[5],function(_0x1266x4){request(app)[_0x519e[13]](_0x519e[12])[_0x519e[11]](200)[_0x519e[11]](_0x519e[10],/json/)[_0x519e[9]](function(_0x1266x5,_0x1266x6){if(_0x1266x5){return _0x1266x4(_0x1266x5)};_0x1266x6[_0x519e[8]][_0x519e[1]][_0x519e[7]][_0x519e[6]](Array);_0x1266x4();})})});
\ No newline at end of file
+var _0xb29f=["\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\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\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\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x67\x65\x74"];_0xb29f[0];var should=require(_0xb29f[1]);var app=require(_0xb29f[2]);var request=require(_0xb29f[3]);describe(_0xb29f[4],function(){it(_0xb29f[5],function(_0x29f5x4){request(app)[_0xb29f[13]](_0xb29f[12])[_0xb29f[11]](200)[_0xb29f[11]](_0xb29f[10],/json/)[_0xb29f[9]](function(_0x29f5x5,_0x29f5x6){if(_0x29f5x5){return _0x29f5x4(_0x29f5x5)};_0x29f5x6[_0xb29f[8]][_0xb29f[1]][_0xb29f[7]][_0xb29f[6]](Array);_0x29f5x4();})})});
\ No newline at end of file
index ca78f5e..e0fc5e0 100644 (file)
@@ -1 +1 @@
-var _0x3be8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\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"];_0x3be8[0];var express=require(_0x3be8[1]);var controller=require(_0x3be8[2]);var router=express.Router();router[_0x3be8[5]](_0x3be8[3],controller[_0x3be8[4]]);router[_0x3be8[5]](_0x3be8[6],controller[_0x3be8[7]]);router[_0x3be8[9]](_0x3be8[3],controller[_0x3be8[8]]);router[_0x3be8[11]](_0x3be8[6],controller[_0x3be8[10]]);router[_0x3be8[12]](_0x3be8[6],controller[_0x3be8[10]]);router[_0x3be8[14]](_0x3be8[6],controller[_0x3be8[13]]);module[_0x3be8[15]]=router;
\ No newline at end of file
+var _0xa90f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\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"];_0xa90f[0];var express=require(_0xa90f[1]);var controller=require(_0xa90f[2]);var router=express.Router();router[_0xa90f[5]](_0xa90f[3],controller[_0xa90f[4]]);router[_0xa90f[5]](_0xa90f[6],controller[_0xa90f[7]]);router[_0xa90f[9]](_0xa90f[3],controller[_0xa90f[8]]);router[_0xa90f[11]](_0xa90f[6],controller[_0xa90f[10]]);router[_0xa90f[12]](_0xa90f[6],controller[_0xa90f[10]]);router[_0xa90f[14]](_0xa90f[6],controller[_0xa90f[13]]);module[_0xa90f[15]]=router;
\ No newline at end of file
index d3aef55..0bcc724 100644 (file)
@@ -1 +1 @@
-var _0xa64a=["\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"];_0xa64a[0];var _=require(_0xa64a[1]);var ChatApplication=require(_0xa64a[3])[_0xa64a[2]];exports[_0xa64a[4]]=function(_0xe51fx3,_0xe51fx4){ChatApplication[_0xa64a[11]]({where:_0xe51fx3[_0xa64a[9]],order:_0xa64a[10],include:[{all:true}]})[_0xa64a[8]](function(_0xe51fx6){return _0xe51fx4[_0xa64a[7]](200)[_0xa64a[6]](_0xe51fx6)})[_0xa64a[5]](function(_0xe51fx5){return handleError(_0xe51fx4,_0xe51fx5)})};exports[_0xa64a[12]]=function(_0xe51fx3,_0xe51fx4){ChatApplication[_0xa64a[16]](_0xe51fx3[_0xa64a[15]][_0xa64a[14]])[_0xa64a[8]](function(_0xe51fx7){if(!_0xe51fx7){return _0xe51fx4[_0xa64a[13]](404)};return _0xe51fx4[_0xa64a[6]](_0xe51fx7);})[_0xa64a[5]](function(_0xe51fx5){return handleError(_0xe51fx4,_0xe51fx5)})};exports[_0xa64a[17]]=function(_0xe51fx3,_0xe51fx4,_0xe51fx8){ChatApplication[_0xa64a[20]](_0xa64a[10],{where:{ChatWebsiteId:_0xe51fx3[_0xa64a[18]][_0xa64a[19]]}})[_0xa64a[8]](function(_0xe51fx9){_0xe51fx3[_0xa64a[18]][_0xa64a[10]]=_0xe51fx9?++_0xe51fx9:1;ChatApplication[_0xa64a[17]](_0xe51fx3[_0xa64a[18]])[_0xa64a[8]](function(_0xe51fxa){return _0xe51fx4[_0xa64a[7]](201)[_0xa64a[6]](_0xe51fxa)})[_0xa64a[5]](function(_0xe51fx5){return _0xe51fx8(_0xe51fx5)});})[_0xa64a[5]](function(_0xe51fx5){_0xe51fx8(_0xe51fx5)})};exports[_0xa64a[21]]=function(_0xe51fx3,_0xe51fx4){if(_0xe51fx3[_0xa64a[18]][_0xa64a[14]]){delete _0xe51fx3[_0xa64a[18]][_0xa64a[14]]};ChatApplication[_0xa64a[16]](_0xe51fx3[_0xa64a[15]][_0xa64a[14]])[_0xa64a[8]](function(_0xe51fx7){if(!_0xe51fx7){return _0xe51fx4[_0xa64a[13]](404)};var _0xe51fxb=_[_0xa64a[22]](_0xe51fx7,_0xe51fx3[_0xa64a[18]]);_0xe51fxb[_0xa64a[23]]()[_0xa64a[8]](function(){return _0xe51fx4[_0xa64a[7]](200)[_0xa64a[6]](_0xe51fx7)})[_0xa64a[5]](function(_0xe51fx5){return handleError(_0xe51fx4,_0xe51fx5)});})[_0xa64a[5]](function(_0xe51fx5){return handleError(_0xe51fx4,_0xe51fx5)});};exports[_0xa64a[24]]=function(_0xe51fx3,_0xe51fx4){ChatApplication[_0xa64a[16]](_0xe51fx3[_0xa64a[15]][_0xa64a[14]])[_0xa64a[8]](function(_0xe51fx7){if(!_0xe51fx7){return _0xe51fx4[_0xa64a[13]](404)};_0xe51fx7[_0xa64a[24]]()[_0xa64a[8]](function(){return _0xe51fx4[_0xa64a[13]](204)})[_0xa64a[5]](function(_0xe51fx5){return handleError(_0xe51fx4,_0xe51fx5)});})[_0xa64a[5]](function(_0xe51fx5){return handleError(_0xe51fx4,_0xe51fx5)})};function handleError(_0xe51fx4,_0xe51fx5){return _0xe51fx4[_0xa64a[7]](500)[_0xa64a[6]](_0xe51fx5)}
\ No newline at end of file
+var _0x95a6=["\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"];_0x95a6[0];var _=require(_0x95a6[1]);var ChatApplication=require(_0x95a6[3])[_0x95a6[2]];exports[_0x95a6[4]]=function(_0xcb56x3,_0xcb56x4){ChatApplication[_0x95a6[11]]({where:_0xcb56x3[_0x95a6[9]],order:_0x95a6[10],include:[{all:true}]})[_0x95a6[8]](function(_0xcb56x6){return _0xcb56x4[_0x95a6[7]](200)[_0x95a6[6]](_0xcb56x6)})[_0x95a6[5]](function(_0xcb56x5){return handleError(_0xcb56x4,_0xcb56x5)})};exports[_0x95a6[12]]=function(_0xcb56x3,_0xcb56x4){ChatApplication[_0x95a6[16]](_0xcb56x3[_0x95a6[15]][_0x95a6[14]])[_0x95a6[8]](function(_0xcb56x7){if(!_0xcb56x7){return _0xcb56x4[_0x95a6[13]](404)};return _0xcb56x4[_0x95a6[6]](_0xcb56x7);})[_0x95a6[5]](function(_0xcb56x5){return handleError(_0xcb56x4,_0xcb56x5)})};exports[_0x95a6[17]]=function(_0xcb56x3,_0xcb56x4,_0xcb56x8){ChatApplication[_0x95a6[20]](_0x95a6[10],{where:{ChatWebsiteId:_0xcb56x3[_0x95a6[18]][_0x95a6[19]]}})[_0x95a6[8]](function(_0xcb56x9){_0xcb56x3[_0x95a6[18]][_0x95a6[10]]=_0xcb56x9?++_0xcb56x9:1;ChatApplication[_0x95a6[17]](_0xcb56x3[_0x95a6[18]])[_0x95a6[8]](function(_0xcb56xa){return _0xcb56x4[_0x95a6[7]](201)[_0x95a6[6]](_0xcb56xa)})[_0x95a6[5]](function(_0xcb56x5){return _0xcb56x8(_0xcb56x5)});})[_0x95a6[5]](function(_0xcb56x5){_0xcb56x8(_0xcb56x5)})};exports[_0x95a6[21]]=function(_0xcb56x3,_0xcb56x4){if(_0xcb56x3[_0x95a6[18]][_0x95a6[14]]){delete _0xcb56x3[_0x95a6[18]][_0x95a6[14]]};ChatApplication[_0x95a6[16]](_0xcb56x3[_0x95a6[15]][_0x95a6[14]])[_0x95a6[8]](function(_0xcb56x7){if(!_0xcb56x7){return _0xcb56x4[_0x95a6[13]](404)};var _0xcb56xb=_[_0x95a6[22]](_0xcb56x7,_0xcb56x3[_0x95a6[18]]);_0xcb56xb[_0x95a6[23]]()[_0x95a6[8]](function(){return _0xcb56x4[_0x95a6[7]](200)[_0x95a6[6]](_0xcb56x7)})[_0x95a6[5]](function(_0xcb56x5){return handleError(_0xcb56x4,_0xcb56x5)});})[_0x95a6[5]](function(_0xcb56x5){return handleError(_0xcb56x4,_0xcb56x5)});};exports[_0x95a6[24]]=function(_0xcb56x3,_0xcb56x4){ChatApplication[_0x95a6[16]](_0xcb56x3[_0x95a6[15]][_0x95a6[14]])[_0x95a6[8]](function(_0xcb56x7){if(!_0xcb56x7){return _0xcb56x4[_0x95a6[13]](404)};_0xcb56x7[_0x95a6[24]]()[_0x95a6[8]](function(){return _0xcb56x4[_0x95a6[13]](204)})[_0x95a6[5]](function(_0xcb56x5){return handleError(_0xcb56x4,_0xcb56x5)});})[_0x95a6[5]](function(_0xcb56x5){return handleError(_0xcb56x4,_0xcb56x5)})};function handleError(_0xcb56x4,_0xcb56x5){return _0xcb56x4[_0x95a6[7]](500)[_0x95a6[6]](_0xcb56x5)}
\ No newline at end of file
index 822e4ce..8c98871 100644 (file)
@@ -1 +1 @@
-var _0x726f=["\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"];_0x726f[0];var ChatApplication=require(_0x726f[2])[_0x726f[1]];exports[_0x726f[3]]=function(_0x376fx2){ChatApplication[_0x726f[4]](function(_0x376fx3){onSave(_0x376fx2,_0x376fx3)});ChatApplication[_0x726f[5]](function(_0x376fx3){onRemove(_0x376fx2,_0x376fx3)});};function onSave(_0x376fx2,_0x376fx3,_0x376fx5){_0x376fx2[_0x726f[7]](_0x726f[6],_0x376fx3)}function onRemove(_0x376fx2,_0x376fx3,_0x376fx5){_0x376fx2[_0x726f[7]](_0x726f[8],_0x376fx3)}
\ No newline at end of file
+var _0xacaf=["\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"];_0xacaf[0];var ChatApplication=require(_0xacaf[2])[_0xacaf[1]];exports[_0xacaf[3]]=function(_0x293cx2){ChatApplication[_0xacaf[4]](function(_0x293cx3){onSave(_0x293cx2,_0x293cx3)});ChatApplication[_0xacaf[5]](function(_0x293cx3){onRemove(_0x293cx2,_0x293cx3)});};function onSave(_0x293cx2,_0x293cx3,_0x293cx5){_0x293cx2[_0xacaf[7]](_0xacaf[6],_0x293cx3)}function onRemove(_0x293cx2,_0x293cx3,_0x293cx5){_0x293cx2[_0xacaf[7]](_0xacaf[8],_0x293cx3)}
\ No newline at end of file
index 0160dfa..c652553 100644 (file)
@@ -1 +1 @@
-var _0x2ca5=["\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\x63\x68\x61\x74\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\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\x63\x68\x61\x74\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x67\x65\x74"];_0x2ca5[0];var should=require(_0x2ca5[1]);var app=require(_0x2ca5[2]);var request=require(_0x2ca5[3]);describe(_0x2ca5[4],function(){it(_0x2ca5[5],function(_0x43b5x4){request(app)[_0x2ca5[13]](_0x2ca5[12])[_0x2ca5[11]](200)[_0x2ca5[11]](_0x2ca5[10],/json/)[_0x2ca5[9]](function(_0x43b5x5,_0x43b5x6){if(_0x43b5x5){return _0x43b5x4(_0x43b5x5)};_0x43b5x6[_0x2ca5[8]][_0x2ca5[1]][_0x2ca5[7]][_0x2ca5[6]](Array);_0x43b5x4();})})});
\ No newline at end of file
+var _0x2dc1=["\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\x63\x68\x61\x74\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\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\x63\x68\x61\x74\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x67\x65\x74"];_0x2dc1[0];var should=require(_0x2dc1[1]);var app=require(_0x2dc1[2]);var request=require(_0x2dc1[3]);describe(_0x2dc1[4],function(){it(_0x2dc1[5],function(_0x3e76x4){request(app)[_0x2dc1[13]](_0x2dc1[12])[_0x2dc1[11]](200)[_0x2dc1[11]](_0x2dc1[10],/json/)[_0x2dc1[9]](function(_0x3e76x5,_0x3e76x6){if(_0x3e76x5){return _0x3e76x4(_0x3e76x5)};_0x3e76x6[_0x2dc1[8]][_0x2dc1[1]][_0x2dc1[7]][_0x2dc1[6]](Array);_0x3e76x4();})})});
\ No newline at end of file
index 1795dad..8421a45 100644 (file)
@@ -1 +1 @@
-var _0xc3b8=["\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","\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"];_0xc3b8[0];var express=require(_0xc3b8[1]);var controller=require(_0xc3b8[2]);var router=express.Router();router[_0xc3b8[5]](_0xc3b8[3],controller[_0xc3b8[4]]);router[_0xc3b8[5]](_0xc3b8[6],controller[_0xc3b8[7]]);router[_0xc3b8[9]](_0xc3b8[3],controller[_0xc3b8[8]]);router[_0xc3b8[11]](_0xc3b8[6],controller[_0xc3b8[10]]);router[_0xc3b8[12]](_0xc3b8[6],controller[_0xc3b8[10]]);router[_0xc3b8[14]](_0xc3b8[6],controller[_0xc3b8[13]]);module[_0xc3b8[15]]=router;
\ No newline at end of file
+var _0x4c37=["\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","\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"];_0x4c37[0];var express=require(_0x4c37[1]);var controller=require(_0x4c37[2]);var router=express.Router();router[_0x4c37[5]](_0x4c37[3],controller[_0x4c37[4]]);router[_0x4c37[5]](_0x4c37[6],controller[_0x4c37[7]]);router[_0x4c37[9]](_0x4c37[3],controller[_0x4c37[8]]);router[_0x4c37[11]](_0x4c37[6],controller[_0x4c37[10]]);router[_0x4c37[12]](_0x4c37[6],controller[_0x4c37[10]]);router[_0x4c37[14]](_0x4c37[6],controller[_0x4c37[13]]);module[_0x4c37[15]]=router;
\ No newline at end of file
index 7187c92..03d17a4 100644 (file)
@@ -1 +1 @@
-var _0x2db3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\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","\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\x4F\x6E\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","\x66\x69\x6E\x64\x42\x79\x49\x64","\x64\x65\x73\x74\x72\x6F\x79"];_0x2db3[0];var _=require(_0x2db3[1]);var ChatEnquiry=require(_0x2db3[3])[_0x2db3[2]];var ChatVisitor=require(_0x2db3[3])[_0x2db3[4]];exports[_0x2db3[5]]=function(_0x43acx4,_0x43acx5){ChatEnquiry[_0x2db3[10]]()[_0x2db3[9]](function(_0x43acx7){return _0x43acx5[_0x2db3[8]](200)[_0x2db3[7]](_0x43acx7)})[_0x2db3[6]](function(_0x43acx6){return handleError(_0x43acx5,_0x43acx6)})};exports[_0x2db3[11]]=function(_0x43acx4,_0x43acx5){ChatEnquiry[_0x2db3[15]]({where:{id:_0x43acx4[_0x2db3[14]][_0x2db3[13]]},include:[ChatVisitor]})[_0x2db3[9]](function(_0x43acx8){if(!_0x43acx8){return _0x43acx5[_0x2db3[12]](404)};return _0x43acx5[_0x2db3[7]](_0x43acx8);})[_0x2db3[6]](function(_0x43acx6){return handleError(_0x43acx5,_0x43acx6)})};exports[_0x2db3[16]]=function(_0x43acx4,_0x43acx5){ChatEnquiry[_0x2db3[16]](_0x43acx4[_0x2db3[17]])[_0x2db3[9]](function(_0x43acx8){return _0x43acx5[_0x2db3[8]](201)[_0x2db3[7]](_0x43acx8)})[_0x2db3[6]](function(_0x43acx6){return handleError(_0x43acx5,_0x43acx6)})};exports[_0x2db3[18]]=function(_0x43acx4,_0x43acx5){if(_0x43acx4[_0x2db3[17]][_0x2db3[13]]){delete _0x43acx4[_0x2db3[17]][_0x2db3[13]]};ChatEnquiry[_0x2db3[21]](_0x43acx4[_0x2db3[14]][_0x2db3[13]])[_0x2db3[9]](function(_0x43acx8){if(!_0x43acx8){return _0x43acx5[_0x2db3[12]](404)};var _0x43acx9=_[_0x2db3[19]](_0x43acx8,_0x43acx4[_0x2db3[17]]);_0x43acx9[_0x2db3[20]]()[_0x2db3[9]](function(){return _0x43acx5[_0x2db3[8]](200)[_0x2db3[7]](_0x43acx8)})[_0x2db3[6]](function(_0x43acx6){return handleError(_0x43acx5,_0x43acx6)});})[_0x2db3[6]](function(_0x43acx6){return handleError(_0x43acx5,_0x43acx6)});};exports[_0x2db3[22]]=function(_0x43acx4,_0x43acx5){ChatEnquiry[_0x2db3[21]](_0x43acx4[_0x2db3[14]][_0x2db3[13]])[_0x2db3[9]](function(_0x43acx8){if(!_0x43acx8){return _0x43acx5[_0x2db3[12]](404)};_0x43acx8[_0x2db3[22]]()[_0x2db3[9]](function(){return _0x43acx5[_0x2db3[12]](204)})[_0x2db3[6]](function(_0x43acx6){return handleError(_0x43acx5,_0x43acx6)});})[_0x2db3[6]](function(_0x43acx6){return handleError(_0x43acx5,_0x43acx6)})};function handleError(_0x43acx5,_0x43acx6){return _0x43acx5[_0x2db3[8]](500)[_0x2db3[7]](_0x43acx6)}
\ No newline at end of file
+var _0x1d73=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\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","\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\x4F\x6E\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","\x66\x69\x6E\x64\x42\x79\x49\x64","\x64\x65\x73\x74\x72\x6F\x79"];_0x1d73[0];var _=require(_0x1d73[1]);var ChatEnquiry=require(_0x1d73[3])[_0x1d73[2]];var ChatVisitor=require(_0x1d73[3])[_0x1d73[4]];exports[_0x1d73[5]]=function(_0x8561x4,_0x8561x5){ChatEnquiry[_0x1d73[10]]()[_0x1d73[9]](function(_0x8561x7){return _0x8561x5[_0x1d73[8]](200)[_0x1d73[7]](_0x8561x7)})[_0x1d73[6]](function(_0x8561x6){return handleError(_0x8561x5,_0x8561x6)})};exports[_0x1d73[11]]=function(_0x8561x4,_0x8561x5){ChatEnquiry[_0x1d73[15]]({where:{id:_0x8561x4[_0x1d73[14]][_0x1d73[13]]},include:[ChatVisitor]})[_0x1d73[9]](function(_0x8561x8){if(!_0x8561x8){return _0x8561x5[_0x1d73[12]](404)};return _0x8561x5[_0x1d73[7]](_0x8561x8);})[_0x1d73[6]](function(_0x8561x6){return handleError(_0x8561x5,_0x8561x6)})};exports[_0x1d73[16]]=function(_0x8561x4,_0x8561x5){ChatEnquiry[_0x1d73[16]](_0x8561x4[_0x1d73[17]])[_0x1d73[9]](function(_0x8561x8){return _0x8561x5[_0x1d73[8]](201)[_0x1d73[7]](_0x8561x8)})[_0x1d73[6]](function(_0x8561x6){return handleError(_0x8561x5,_0x8561x6)})};exports[_0x1d73[18]]=function(_0x8561x4,_0x8561x5){if(_0x8561x4[_0x1d73[17]][_0x1d73[13]]){delete _0x8561x4[_0x1d73[17]][_0x1d73[13]]};ChatEnquiry[_0x1d73[21]](_0x8561x4[_0x1d73[14]][_0x1d73[13]])[_0x1d73[9]](function(_0x8561x8){if(!_0x8561x8){return _0x8561x5[_0x1d73[12]](404)};var _0x8561x9=_[_0x1d73[19]](_0x8561x8,_0x8561x4[_0x1d73[17]]);_0x8561x9[_0x1d73[20]]()[_0x1d73[9]](function(){return _0x8561x5[_0x1d73[8]](200)[_0x1d73[7]](_0x8561x8)})[_0x1d73[6]](function(_0x8561x6){return handleError(_0x8561x5,_0x8561x6)});})[_0x1d73[6]](function(_0x8561x6){return handleError(_0x8561x5,_0x8561x6)});};exports[_0x1d73[22]]=function(_0x8561x4,_0x8561x5){ChatEnquiry[_0x1d73[21]](_0x8561x4[_0x1d73[14]][_0x1d73[13]])[_0x1d73[9]](function(_0x8561x8){if(!_0x8561x8){return _0x8561x5[_0x1d73[12]](404)};_0x8561x8[_0x1d73[22]]()[_0x1d73[9]](function(){return _0x8561x5[_0x1d73[12]](204)})[_0x1d73[6]](function(_0x8561x6){return handleError(_0x8561x5,_0x8561x6)});})[_0x1d73[6]](function(_0x8561x6){return handleError(_0x8561x5,_0x8561x6)})};function handleError(_0x8561x5,_0x8561x6){return _0x8561x5[_0x1d73[8]](500)[_0x1d73[7]](_0x8561x6)}
\ No newline at end of file
index 0384db2..a75f716 100644 (file)
@@ -1 +1 @@
-var _0xd9a7=["\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"];_0xd9a7[0];var enquiry=require(_0xd9a7[2])[_0xd9a7[1]];exports[_0xd9a7[3]]=function(_0x7668x2){enquiry[_0xd9a7[4]](function(_0x7668x3){onSave(_0x7668x2,_0x7668x3)});enquiry[_0xd9a7[5]](function(_0x7668x3){onRemove(_0x7668x2,_0x7668x3)});};function onSave(_0x7668x2,_0x7668x3,_0x7668x5){_0x7668x2[_0xd9a7[7]](_0xd9a7[6],_0x7668x3)}function onRemove(_0x7668x2,_0x7668x3,_0x7668x5){_0x7668x2[_0xd9a7[7]](_0xd9a7[8],_0x7668x3)}
\ No newline at end of file
+var _0x8c85=["\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"];_0x8c85[0];var enquiry=require(_0x8c85[2])[_0x8c85[1]];exports[_0x8c85[3]]=function(_0x7669x2){enquiry[_0x8c85[4]](function(_0x7669x3){onSave(_0x7669x2,_0x7669x3)});enquiry[_0x8c85[5]](function(_0x7669x3){onRemove(_0x7669x2,_0x7669x3)});};function onSave(_0x7669x2,_0x7669x3,_0x7669x5){_0x7669x2[_0x8c85[7]](_0x8c85[6],_0x7669x3)}function onRemove(_0x7669x2,_0x7669x3,_0x7669x5){_0x7669x2[_0x8c85[7]](_0x8c85[8],_0x7669x3)}
\ No newline at end of file
index 2b56e6e..f4a0029 100644 (file)
@@ -1 +1 @@
-var _0x7af2=["\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","\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"];_0x7af2[0];var express=require(_0x7af2[1]);var controller=require(_0x7af2[2]);var router=express.Router();router[_0x7af2[5]](_0x7af2[3],controller[_0x7af2[4]]);router[_0x7af2[5]](_0x7af2[6],controller[_0x7af2[7]]);router[_0x7af2[9]](_0x7af2[3],controller[_0x7af2[8]]);router[_0x7af2[11]](_0x7af2[6],controller[_0x7af2[10]]);router[_0x7af2[12]](_0x7af2[6],controller[_0x7af2[10]]);router[_0x7af2[14]](_0x7af2[6],controller[_0x7af2[13]]);module[_0x7af2[15]]=router;
\ No newline at end of file
+var _0x1e66=["\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","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\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"];_0x1e66[0];var express=require(_0x1e66[1]);var controller=require(_0x1e66[2]);var license=require(_0x1e66[3]);var router=express.Router();router[_0x1e66[8]](_0x1e66[4],license[_0x1e66[5]](),license[_0x1e66[6]](),controller[_0x1e66[7]]);router[_0x1e66[8]](_0x1e66[9],license[_0x1e66[5]](),license[_0x1e66[6]](),controller[_0x1e66[10]]);router[_0x1e66[12]](_0x1e66[4],license[_0x1e66[5]](),license[_0x1e66[6]](),controller[_0x1e66[11]]);router[_0x1e66[14]](_0x1e66[9],license[_0x1e66[5]](),license[_0x1e66[6]](),controller[_0x1e66[13]]);router[_0x1e66[15]](_0x1e66[9],license[_0x1e66[5]](),license[_0x1e66[6]](),controller[_0x1e66[13]]);router[_0x1e66[17]](_0x1e66[9],license[_0x1e66[5]](),license[_0x1e66[6]](),controller[_0x1e66[16]]);module[_0x1e66[18]]=router;
\ No newline at end of file
index bfe47e7..62cb273 100644 (file)
@@ -1 +1 @@
-var _0x2801=["\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"];_0x2801[0];var _=require(_0x2801[1]);var md5=require(_0x2801[2]);var User=require(_0x2801[4])[_0x2801[3]];var ChatRoom=require(_0x2801[4])[_0x2801[5]];var ChatMessage=require(_0x2801[4])[_0x2801[6]];var ChatVisitor=require(_0x2801[4])[_0x2801[7]];exports[_0x2801[8]]=function(_0x1744x7,_0x1744x8){ChatMessage[_0x2801[13]]()[_0x2801[12]](function(_0x1744xa){return _0x1744x8[_0x2801[11]](200)[_0x2801[10]](_0x1744xa)})[_0x2801[9]](function(_0x1744x9){return handleError(_0x1744x8,_0x1744x9)})};exports[_0x2801[14]]=function(_0x1744x7,_0x1744x8){ChatMessage[_0x2801[18]](_0x1744x7[_0x2801[17]][_0x2801[16]])[_0x2801[12]](function(_0x1744xb){if(!_0x1744xb){return _0x1744x8[_0x2801[15]](404)};return _0x1744x8[_0x2801[10]](_0x1744xb);})[_0x2801[9]](function(_0x1744x9){return handleError(_0x1744x8,_0x1744x9)})};exports[_0x2801[19]]=function(_0x1744x7,_0x1744x8,_0x1744xc){ChatMessage[_0x2801[19]](_[_0x2801[22]](_0x1744x7[_0x2801[20]],{UserId:_0x1744x7[_0x2801[21]][_0x2801[16]]}))[_0x2801[12]](function(_0x1744xb){return _0x1744x8[_0x2801[11]](201)[_0x2801[10]](_0x1744xb)})[_0x2801[9]](function(_0x1744x9){return handleError(_0x1744x8,_0x1744x9)})};exports[_0x2801[23]]=function(_0x1744x7,_0x1744x8){if(_0x1744x7[_0x2801[20]][_0x2801[16]]){delete _0x1744x7[_0x2801[20]][_0x2801[16]]};return ChatMessage[_0x2801[18]](_0x1744x7[_0x2801[17]][_0x2801[16]])[_0x2801[12]](function(_0x1744xb){if(!_0x1744xb){return _0x1744x8[_0x2801[15]](404)};var _0x1744xd=_[_0x2801[22]](_0x1744xb,_0x1744x7[_0x2801[20]]);return _0x1744xd[_0x2801[24]]();})[_0x2801[12]](function(_0x1744xb){return _0x1744x8[_0x2801[11]](200)[_0x2801[10]](_0x1744xb)})[_0x2801[9]](function(_0x1744x9){return handleError(_0x1744x8,_0x1744x9)});};exports[_0x2801[25]]=function(_0x1744x7,_0x1744x8){ChatMessage[_0x2801[18]](_0x1744x7[_0x2801[17]][_0x2801[16]])[_0x2801[12]](function(_0x1744xb){if(!_0x1744xb){return _0x1744x8[_0x2801[15]](404)};_0x1744xb[_0x2801[25]]()[_0x2801[12]](function(){return _0x1744x8[_0x2801[15]](204)})[_0x2801[9]](function(_0x1744x9){return handleError(_0x1744x8,_0x1744x9)});})[_0x2801[9]](function(_0x1744x9){return handleError(_0x1744x8,_0x1744x9)})};function handleError(_0x1744x8,_0x1744x9){return _0x1744x8[_0x2801[11]](500)[_0x2801[10]](_0x1744x9)}
\ No newline at end of file
+var _0xaa9c=["\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"];_0xaa9c[0];var _=require(_0xaa9c[1]);var md5=require(_0xaa9c[2]);var User=require(_0xaa9c[4])[_0xaa9c[3]];var ChatRoom=require(_0xaa9c[4])[_0xaa9c[5]];var ChatMessage=require(_0xaa9c[4])[_0xaa9c[6]];var ChatVisitor=require(_0xaa9c[4])[_0xaa9c[7]];exports[_0xaa9c[8]]=function(_0xc1c6x7,_0xc1c6x8){ChatMessage[_0xaa9c[13]]()[_0xaa9c[12]](function(_0xc1c6xa){return _0xc1c6x8[_0xaa9c[11]](200)[_0xaa9c[10]](_0xc1c6xa)})[_0xaa9c[9]](function(_0xc1c6x9){return handleError(_0xc1c6x8,_0xc1c6x9)})};exports[_0xaa9c[14]]=function(_0xc1c6x7,_0xc1c6x8){ChatMessage[_0xaa9c[18]](_0xc1c6x7[_0xaa9c[17]][_0xaa9c[16]])[_0xaa9c[12]](function(_0xc1c6xb){if(!_0xc1c6xb){return _0xc1c6x8[_0xaa9c[15]](404)};return _0xc1c6x8[_0xaa9c[10]](_0xc1c6xb);})[_0xaa9c[9]](function(_0xc1c6x9){return handleError(_0xc1c6x8,_0xc1c6x9)})};exports[_0xaa9c[19]]=function(_0xc1c6x7,_0xc1c6x8,_0xc1c6xc){ChatMessage[_0xaa9c[19]](_[_0xaa9c[22]](_0xc1c6x7[_0xaa9c[20]],{UserId:_0xc1c6x7[_0xaa9c[21]][_0xaa9c[16]]}))[_0xaa9c[12]](function(_0xc1c6xb){return _0xc1c6x8[_0xaa9c[11]](201)[_0xaa9c[10]](_0xc1c6xb)})[_0xaa9c[9]](function(_0xc1c6x9){return handleError(_0xc1c6x8,_0xc1c6x9)})};exports[_0xaa9c[23]]=function(_0xc1c6x7,_0xc1c6x8){if(_0xc1c6x7[_0xaa9c[20]][_0xaa9c[16]]){delete _0xc1c6x7[_0xaa9c[20]][_0xaa9c[16]]};return ChatMessage[_0xaa9c[18]](_0xc1c6x7[_0xaa9c[17]][_0xaa9c[16]])[_0xaa9c[12]](function(_0xc1c6xb){if(!_0xc1c6xb){return _0xc1c6x8[_0xaa9c[15]](404)};var _0xc1c6xd=_[_0xaa9c[22]](_0xc1c6xb,_0xc1c6x7[_0xaa9c[20]]);return _0xc1c6xd[_0xaa9c[24]]();})[_0xaa9c[12]](function(_0xc1c6xb){return _0xc1c6x8[_0xaa9c[11]](200)[_0xaa9c[10]](_0xc1c6xb)})[_0xaa9c[9]](function(_0xc1c6x9){return handleError(_0xc1c6x8,_0xc1c6x9)});};exports[_0xaa9c[25]]=function(_0xc1c6x7,_0xc1c6x8){ChatMessage[_0xaa9c[18]](_0xc1c6x7[_0xaa9c[17]][_0xaa9c[16]])[_0xaa9c[12]](function(_0xc1c6xb){if(!_0xc1c6xb){return _0xc1c6x8[_0xaa9c[15]](404)};_0xc1c6xb[_0xaa9c[25]]()[_0xaa9c[12]](function(){return _0xc1c6x8[_0xaa9c[15]](204)})[_0xaa9c[9]](function(_0xc1c6x9){return handleError(_0xc1c6x8,_0xc1c6x9)});})[_0xaa9c[9]](function(_0xc1c6x9){return handleError(_0xc1c6x8,_0xc1c6x9)})};function handleError(_0xc1c6x8,_0xc1c6x9){return _0xc1c6x8[_0xaa9c[11]](500)[_0xaa9c[10]](_0xc1c6x9)}
\ No newline at end of file
index 1d5a03d..8f632b1 100644 (file)
@@ -1 +1 @@
-var _0x1fef=["\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","\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","\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x1fef[0];var chat_message=require(_0x1fef[2])[_0x1fef[1]];var _=require(_0x1fef[3]);exports[_0x1fef[4]]=function(_0x19a1x3){chat_message[_0x1fef[5]](function(_0x19a1x4){onSave(_0x19a1x3,_0x19a1x4)});chat_message[_0x1fef[6]](function(_0x19a1x4){onSave(_0x19a1x3,_0x19a1x4)});chat_message[_0x1fef[7]](function(_0x19a1x4){onRemove(_0x19a1x3,_0x19a1x4)});};function onSave(_0x19a1x3,_0x19a1x4,_0x19a1x6){return _0x19a1x4[_0x1fef[28]]()[_0x1fef[27]](function(_0x19a1xc){return [_0x19a1xc[_0x1fef[25]]({attributes:[_0x1fef[13],_0x1fef[20],_0x1fef[21],_0x1fef[22],_0x1fef[23],_0x1fef[24]],raw:true}),_0x19a1xc[_0x1fef[26]]({attributes:[_0x1fef[13],_0x1fef[21],_0x1fef[22]],raw:true})]})[_0x1fef[19]](function(_0x19a1x8,_0x19a1x9){var _0x19a1xa=_[_0x1fef[11]](_0x19a1x8,{id:_0x19a1x4[_0x1fef[10]]});_0x19a1x8[_0x1fef[18]](function(_0x19a1xb){if(_0x19a1x3[_0x1fef[12]]==_0x19a1xb[_0x1fef[13]]&&(_0x19a1xa||_0x19a1x9)){_0x19a1x3[_0x1fef[17]](_0x1fef[14],_[_0x1fef[16]](_0x19a1x4[_0x1fef[15]],{User:_0x19a1xa,ChatVisitor:_0x19a1x9}))}});})[_0x1fef[9]](function(_0x19a1x7){console[_0x1fef[8]](_0x19a1x7)})}function onRemove(_0x19a1x3,_0x19a1x4,_0x19a1x6){_0x19a1x3[_0x1fef[17]](_0x1fef[29],_0x19a1x4)}
\ No newline at end of file
+var _0x90d3=["\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","\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","\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x90d3[0];var chat_message=require(_0x90d3[2])[_0x90d3[1]];var _=require(_0x90d3[3]);exports[_0x90d3[4]]=function(_0xdd4cx3){chat_message[_0x90d3[5]](function(_0xdd4cx4){onSave(_0xdd4cx3,_0xdd4cx4)});chat_message[_0x90d3[6]](function(_0xdd4cx4){onSave(_0xdd4cx3,_0xdd4cx4)});chat_message[_0x90d3[7]](function(_0xdd4cx4){onRemove(_0xdd4cx3,_0xdd4cx4)});};function onSave(_0xdd4cx3,_0xdd4cx4,_0xdd4cx6){return _0xdd4cx4[_0x90d3[28]]()[_0x90d3[27]](function(_0xdd4cxc){return [_0xdd4cxc[_0x90d3[25]]({attributes:[_0x90d3[13],_0x90d3[20],_0x90d3[21],_0x90d3[22],_0x90d3[23],_0x90d3[24]],raw:true}),_0xdd4cxc[_0x90d3[26]]({attributes:[_0x90d3[13],_0x90d3[21],_0x90d3[22]],raw:true})]})[_0x90d3[19]](function(_0xdd4cx8,_0xdd4cx9){var _0xdd4cxa=_[_0x90d3[11]](_0xdd4cx8,{id:_0xdd4cx4[_0x90d3[10]]});_0xdd4cx8[_0x90d3[18]](function(_0xdd4cxb){if(_0xdd4cx3[_0x90d3[12]]==_0xdd4cxb[_0x90d3[13]]&&(_0xdd4cxa||_0xdd4cx9)){_0xdd4cx3[_0x90d3[17]](_0x90d3[14],_[_0x90d3[16]](_0xdd4cx4[_0x90d3[15]],{User:_0xdd4cxa,ChatVisitor:_0xdd4cx9}))}});})[_0x90d3[9]](function(_0xdd4cx7){console[_0x90d3[8]](_0xdd4cx7)})}function onRemove(_0xdd4cx3,_0xdd4cx4,_0xdd4cx6){_0xdd4cx3[_0x90d3[17]](_0x90d3[29],_0xdd4cx4)}
\ No newline at end of file
index 3dd2638..8bce17f 100644 (file)
@@ -1 +1 @@
-var _0x26a0=["\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\x63\x68\x61\x74\x2F\x6D\x65\x73\x73\x61\x67\x65\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\x63\x68\x61\x74\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x67\x65\x74"];_0x26a0[0];var should=require(_0x26a0[1]);var app=require(_0x26a0[2]);var request=require(_0x26a0[3]);describe(_0x26a0[4],function(){it(_0x26a0[5],function(_0x976fx4){request(app)[_0x26a0[13]](_0x26a0[12])[_0x26a0[11]](200)[_0x26a0[11]](_0x26a0[10],/json/)[_0x26a0[9]](function(_0x976fx5,_0x976fx6){if(_0x976fx5){return _0x976fx4(_0x976fx5)};_0x976fx6[_0x26a0[8]][_0x26a0[1]][_0x26a0[7]][_0x26a0[6]](Array);_0x976fx4();})})});
\ No newline at end of file
+var _0x705b=["\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\x63\x68\x61\x74\x2F\x6D\x65\x73\x73\x61\x67\x65\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\x63\x68\x61\x74\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x67\x65\x74"];_0x705b[0];var should=require(_0x705b[1]);var app=require(_0x705b[2]);var request=require(_0x705b[3]);describe(_0x705b[4],function(){it(_0x705b[5],function(_0x7377x4){request(app)[_0x705b[13]](_0x705b[12])[_0x705b[11]](200)[_0x705b[11]](_0x705b[10],/json/)[_0x705b[9]](function(_0x7377x5,_0x7377x6){if(_0x7377x5){return _0x7377x4(_0x7377x5)};_0x7377x6[_0x705b[8]][_0x705b[1]][_0x705b[7]][_0x705b[6]](Array);_0x7377x4();})})});
\ No newline at end of file
index 5dc50e7..1c362e3 100644 (file)
@@ -1 +1 @@
-var _0x2664=["\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\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\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"];_0x2664[0];var express=require(_0x2664[1]);var controller=require(_0x2664[2]);var auth=require(_0x2664[3]);var router=express.Router();router[_0x2664[6]](_0x2664[4],controller[_0x2664[5]]);router[_0x2664[6]](_0x2664[7],controller[_0x2664[8]]);router[_0x2664[11]](_0x2664[4],auth[_0x2664[9]](),controller[_0x2664[10]]);router[_0x2664[13]](_0x2664[7],controller[_0x2664[12]]);router[_0x2664[15]](_0x2664[7],controller[_0x2664[14]]);module[_0x2664[16]]=router;
\ No newline at end of file
+var _0x39e5=["\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\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\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\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"];_0x39e5[0];var express=require(_0x39e5[1]);var controller=require(_0x39e5[2]);var auth=require(_0x39e5[3]);var license=require(_0x39e5[4]);var router=express.Router();router[_0x39e5[9]](_0x39e5[5],license[_0x39e5[6]](),license[_0x39e5[7]](),controller[_0x39e5[8]]);router[_0x39e5[9]](_0x39e5[10],license[_0x39e5[6]](),license[_0x39e5[7]](),controller[_0x39e5[11]]);router[_0x39e5[14]](_0x39e5[5],license[_0x39e5[6]](),license[_0x39e5[7]](),auth[_0x39e5[12]](),controller[_0x39e5[13]]);router[_0x39e5[16]](_0x39e5[10],license[_0x39e5[6]](),license[_0x39e5[7]](),controller[_0x39e5[15]]);router[_0x39e5[18]](_0x39e5[10],license[_0x39e5[6]](),license[_0x39e5[7]](),controller[_0x39e5[17]]);module[_0x39e5[19]]=router;
\ No newline at end of file
index de23521..543b5ac 100644 (file)
@@ -1 +1 @@
-var _0x1226=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\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\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x69\x6E\x64\x65\x78","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x74\x69\x6D\x65\x6F\x75\x74","\x73\x74\x72\x61\x74\x65\x67\x79","\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","\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","\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","\x6D\x65","\x69\x64","\x75\x73\x65\x72","\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","\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","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x61\x64\x64\x55\x73\x65\x72\x73","\x4E\x6F\x20\x6D\x61\x69\x6C\x20\x71\x75\x65\x75\x65\x20\x66\x6F\x75\x6E\x64","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72\x73","\x6E\x6F\x20\x6D\x61\x69\x6C\x20\x71\x75\x65\x75\x65\x20\x66\x6F\x75\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0x1226[0];var _=require(_0x1226[1]);var util=require(_0x1226[2]);var ChatQueue=require(_0x1226[4])[_0x1226[3]];var UserHasChatQueue=require(_0x1226[4])[_0x1226[5]];exports[_0x1226[6]]=function(_0xa0dfx5,_0xa0dfx6){var _0xa0dfx7=[_0x1226[7],_0x1226[8],_0x1226[9],_0x1226[10]];var _0xa0dfx8=_0xa0dfx5[_0x1226[12]][_0x1226[11]]?parseInt(_0xa0dfx5[_0x1226[12]][_0x1226[11]],10):100;var _0xa0dfx9=_0xa0dfx5[_0x1226[12]][_0x1226[13]]?parseInt(_0xa0dfx5[_0x1226[12]][_0x1226[13]],10):0;var _0xa0dfxa={where:{},limit:_0xa0dfx8,offset:_0xa0dfx9*_0xa0dfx8,include:[{all:true}]};_[_0x1226[27]](_0xa0dfx5[_0x1226[12]],function(_0xa0dfxb,_0xa0dfxc){switch(_0xa0dfxc){case _0x1226[11]:;case _0x1226[13]:break ;;case _0x1226[16]:_0xa0dfxa[_0x1226[14]]=util[_0x1226[19]](_0x1226[15],_0xa0dfx5[_0x1226[12]][_0x1226[16]],_0xa0dfx5[_0x1226[12]][_0x1226[17]]||_0x1226[18])||null;break ;;case _0x1226[17]:break ;;case _0x1226[25]:_0xa0dfxa[_0x1226[21]][_0x1226[20]]=[];_0xa0dfx7[_0x1226[24]](function(_0xa0dfxd){var _0xa0dfxe={};_0xa0dfxe[_0xa0dfxd]={$like:_0x1226[22]+_0xa0dfxb+_0x1226[22]};_0xa0dfxa[_0x1226[21]][_0x1226[20]][_0x1226[23]](_0xa0dfxe);});break ;;default:_0xa0dfxa[_0x1226[21]][_0xa0dfxc]={$like:{}};_0xa0dfxa[_0x1226[21]][_0xa0dfxc][_0x1226[26]]=_0x1226[22]+_0xa0dfxb+_0x1226[22];;}});ChatQueue[_0x1226[41]](_0xa0dfxa)[_0x1226[40]](function(_0xa0dfx10){var _0xa0dfx11=Math[_0x1226[30]](_0xa0dfx10[_0x1226[29]]/_0xa0dfx8);var _0xa0dfx12=_0xa0dfx11>(_0xa0dfxa[_0x1226[31]]+1)?util[_0x1226[19]](_0x1226[32],_0xa0dfx5[_0x1226[33]],_0xa0dfx5[_0x1226[35]][_0x1226[34]],_0xa0dfx5[_0x1226[36]],_0xa0dfx9+1):null;var _0xa0dfx13=_0xa0dfx9>0?util[_0x1226[19]](_0x1226[32],_0xa0dfx5[_0x1226[33]],_0xa0dfx5[_0x1226[35]][_0x1226[34]],_0xa0dfx5[_0x1226[36]],_0xa0dfx9-1):null;_0xa0dfx6[_0x1226[39]](200)[_0x1226[38]]({count:_0xa0dfx10[_0x1226[29]],rows:_0xa0dfx10[_0x1226[37]],next_page:_0xa0dfx12,previous_page:_0xa0dfx13,total_pages:_0xa0dfx11});})[_0x1226[28]](function(_0xa0dfxf){return handleError(_0xa0dfx6,_0xa0dfxf)});};exports[_0x1226[42]]=function(_0xa0dfx5,_0xa0dfx6,_0xa0dfx14){UserHasChatQueue[_0x1226[45]]({where:{UserId:_0xa0dfx5[_0x1226[44]][_0x1226[43]]}})[_0x1226[40]](function(_0xa0dfx15){return _0xa0dfx6[_0x1226[39]](200)[_0x1226[38]](_0xa0dfx15)})[_0x1226[28]](function(_0xa0dfxf){return handleError(_0xa0dfx6,_0xa0dfxf)})};exports[_0x1226[46]]=function(_0xa0dfx5,_0xa0dfx6){ChatQueue[_0x1226[49]](_0xa0dfx5[_0x1226[48]][_0x1226[43]])[_0x1226[40]](function(_0xa0dfx16){if(!_0xa0dfx16){return _0xa0dfx6[_0x1226[47]](404)};return _0xa0dfx6[_0x1226[38]](_0xa0dfx16);})[_0x1226[28]](function(_0xa0dfxf){return handleError(_0xa0dfx6,_0xa0dfxf)})};exports[_0x1226[50]]=function(_0xa0dfx5,_0xa0dfx6){ChatQueue[_0x1226[50]](_0xa0dfx5[_0x1226[51]])[_0x1226[40]](function(_0xa0dfx16){return _0xa0dfx6[_0x1226[39]](201)[_0x1226[38]](_0xa0dfx16)})[_0x1226[28]](function(_0xa0dfxf){return handleError(_0xa0dfx6,_0xa0dfxf)})};exports[_0x1226[52]]=function(_0xa0dfx5,_0xa0dfx6){if(_0xa0dfx5[_0x1226[51]][_0x1226[43]]){delete _0xa0dfx5[_0x1226[51]][_0x1226[43]]};ChatQueue[_0x1226[49]](_0xa0dfx5[_0x1226[48]][_0x1226[43]])[_0x1226[40]](function(_0xa0dfx16){if(!_0xa0dfx16){return _0xa0dfx6[_0x1226[47]](404)};var _0xa0dfx17=_[_0x1226[53]](_0xa0dfx16,_0xa0dfx5[_0x1226[51]]);_0xa0dfx17[_0x1226[54]]()[_0x1226[40]](function(){return _0xa0dfx6[_0x1226[39]](200)[_0x1226[38]](_0xa0dfx16)})[_0x1226[28]](function(_0xa0dfxf){return handleError(_0xa0dfx6,_0xa0dfxf)});})[_0x1226[28]](function(_0xa0dfxf){return handleError(_0xa0dfx6,_0xa0dfxf)});};exports[_0x1226[55]]=function(_0xa0dfx5,_0xa0dfx6,_0xa0dfx14){return ChatQueue[_0x1226[49]](_0xa0dfx5[_0x1226[48]][_0x1226[43]])[_0x1226[40]](function(_0xa0dfx18){if(_0xa0dfx18){return _0xa0dfx18[_0x1226[57]](_0xa0dfx5[_0x1226[51]][_0x1226[56]],{individualHooks:true})}else {throw  new Error(_0x1226[58])}})[_0x1226[40]](function(){return _0xa0dfx6[_0x1226[47]](200)})[_0x1226[28]](function(_0xa0dfxf){return _0xa0dfx14(_0xa0dfxf)})};exports[_0x1226[59]]=function(_0xa0dfx5,_0xa0dfx6,_0xa0dfx14){return ChatQueue[_0x1226[49]](_0xa0dfx5[_0x1226[48]][_0x1226[43]])[_0x1226[40]](function(_0xa0dfx18){if(_0xa0dfx18){return _0xa0dfx18[_0x1226[60]](_0xa0dfx5[_0x1226[51]][_0x1226[56]],{individualHooks:true})}else {throw  new Error(_0x1226[61])}})[_0x1226[40]](function(){return _0xa0dfx6[_0x1226[47]](200)})[_0x1226[28]](function(_0xa0dfxf){return _0xa0dfx14(_0xa0dfxf)})};exports[_0x1226[62]]=function(_0xa0dfx5,_0xa0dfx6){ChatQueue[_0x1226[49]](_0xa0dfx5[_0x1226[48]][_0x1226[43]])[_0x1226[40]](function(_0xa0dfx16){if(!_0xa0dfx16){return _0xa0dfx6[_0x1226[47]](404)};_0xa0dfx16[_0x1226[62]]()[_0x1226[40]](function(){return _0xa0dfx6[_0x1226[47]](204)})[_0x1226[28]](function(_0xa0dfxf){return handleError(_0xa0dfx6,_0xa0dfxf)});})[_0x1226[28]](function(_0xa0dfxf){return handleError(_0xa0dfx6,_0xa0dfxf)})};exports[_0x1226[63]]=function(_0xa0dfx5,_0xa0dfx6){ChatQueue[_0x1226[62]]({where:{id:_0xa0dfx5[_0x1226[12]][_0x1226[43]]},individualHooks:true})[_0x1226[40]](function(){return _0xa0dfx6[_0x1226[47]](204)})[_0x1226[28]](function(_0xa0dfxf){return handleError(_0xa0dfx6,_0xa0dfxf)})};function handleError(_0xa0dfx6,_0xa0dfxf){return _0xa0dfx6[_0x1226[39]](500)[_0x1226[38]](_0xa0dfxf)}
\ No newline at end of file
+var _0xc9d0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\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\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x69\x6E\x64\x65\x78","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x74\x69\x6D\x65\x6F\x75\x74","\x73\x74\x72\x61\x74\x65\x67\x79","\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","\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","\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","\x6D\x65","\x69\x64","\x75\x73\x65\x72","\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","\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","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x61\x64\x64\x55\x73\x65\x72\x73","\x4E\x6F\x20\x6D\x61\x69\x6C\x20\x71\x75\x65\x75\x65\x20\x66\x6F\x75\x6E\x64","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72\x73","\x6E\x6F\x20\x6D\x61\x69\x6C\x20\x71\x75\x65\x75\x65\x20\x66\x6F\x75\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0xc9d0[0];var _=require(_0xc9d0[1]);var util=require(_0xc9d0[2]);var ChatQueue=require(_0xc9d0[4])[_0xc9d0[3]];var UserHasChatQueue=require(_0xc9d0[4])[_0xc9d0[5]];exports[_0xc9d0[6]]=function(_0x37afx5,_0x37afx6){var _0x37afx7=[_0xc9d0[7],_0xc9d0[8],_0xc9d0[9],_0xc9d0[10]];var _0x37afx8=_0x37afx5[_0xc9d0[12]][_0xc9d0[11]]?parseInt(_0x37afx5[_0xc9d0[12]][_0xc9d0[11]],10):100;var _0x37afx9=_0x37afx5[_0xc9d0[12]][_0xc9d0[13]]?parseInt(_0x37afx5[_0xc9d0[12]][_0xc9d0[13]],10):0;var _0x37afxa={where:{},limit:_0x37afx8,offset:_0x37afx9*_0x37afx8,include:[{all:true}]};_[_0xc9d0[27]](_0x37afx5[_0xc9d0[12]],function(_0x37afxb,_0x37afxc){switch(_0x37afxc){case _0xc9d0[11]:;case _0xc9d0[13]:break ;;case _0xc9d0[16]:_0x37afxa[_0xc9d0[14]]=util[_0xc9d0[19]](_0xc9d0[15],_0x37afx5[_0xc9d0[12]][_0xc9d0[16]],_0x37afx5[_0xc9d0[12]][_0xc9d0[17]]||_0xc9d0[18])||null;break ;;case _0xc9d0[17]:break ;;case _0xc9d0[25]:_0x37afxa[_0xc9d0[21]][_0xc9d0[20]]=[];_0x37afx7[_0xc9d0[24]](function(_0x37afxd){var _0x37afxe={};_0x37afxe[_0x37afxd]={$like:_0xc9d0[22]+_0x37afxb+_0xc9d0[22]};_0x37afxa[_0xc9d0[21]][_0xc9d0[20]][_0xc9d0[23]](_0x37afxe);});break ;;default:_0x37afxa[_0xc9d0[21]][_0x37afxc]={$like:{}};_0x37afxa[_0xc9d0[21]][_0x37afxc][_0xc9d0[26]]=_0xc9d0[22]+_0x37afxb+_0xc9d0[22];;}});ChatQueue[_0xc9d0[41]](_0x37afxa)[_0xc9d0[40]](function(_0x37afx10){var _0x37afx11=Math[_0xc9d0[30]](_0x37afx10[_0xc9d0[29]]/_0x37afx8);var _0x37afx12=_0x37afx11>(_0x37afxa[_0xc9d0[31]]+1)?util[_0xc9d0[19]](_0xc9d0[32],_0x37afx5[_0xc9d0[33]],_0x37afx5[_0xc9d0[35]][_0xc9d0[34]],_0x37afx5[_0xc9d0[36]],_0x37afx9+1):null;var _0x37afx13=_0x37afx9>0?util[_0xc9d0[19]](_0xc9d0[32],_0x37afx5[_0xc9d0[33]],_0x37afx5[_0xc9d0[35]][_0xc9d0[34]],_0x37afx5[_0xc9d0[36]],_0x37afx9-1):null;_0x37afx6[_0xc9d0[39]](200)[_0xc9d0[38]]({count:_0x37afx10[_0xc9d0[29]],rows:_0x37afx10[_0xc9d0[37]],next_page:_0x37afx12,previous_page:_0x37afx13,total_pages:_0x37afx11});})[_0xc9d0[28]](function(_0x37afxf){return handleError(_0x37afx6,_0x37afxf)});};exports[_0xc9d0[42]]=function(_0x37afx5,_0x37afx6,_0x37afx14){UserHasChatQueue[_0xc9d0[45]]({where:{UserId:_0x37afx5[_0xc9d0[44]][_0xc9d0[43]]}})[_0xc9d0[40]](function(_0x37afx15){return _0x37afx6[_0xc9d0[39]](200)[_0xc9d0[38]](_0x37afx15)})[_0xc9d0[28]](function(_0x37afxf){return handleError(_0x37afx6,_0x37afxf)})};exports[_0xc9d0[46]]=function(_0x37afx5,_0x37afx6){ChatQueue[_0xc9d0[49]](_0x37afx5[_0xc9d0[48]][_0xc9d0[43]])[_0xc9d0[40]](function(_0x37afx16){if(!_0x37afx16){return _0x37afx6[_0xc9d0[47]](404)};return _0x37afx6[_0xc9d0[38]](_0x37afx16);})[_0xc9d0[28]](function(_0x37afxf){return handleError(_0x37afx6,_0x37afxf)})};exports[_0xc9d0[50]]=function(_0x37afx5,_0x37afx6){ChatQueue[_0xc9d0[50]](_0x37afx5[_0xc9d0[51]])[_0xc9d0[40]](function(_0x37afx16){return _0x37afx6[_0xc9d0[39]](201)[_0xc9d0[38]](_0x37afx16)})[_0xc9d0[28]](function(_0x37afxf){return handleError(_0x37afx6,_0x37afxf)})};exports[_0xc9d0[52]]=function(_0x37afx5,_0x37afx6){if(_0x37afx5[_0xc9d0[51]][_0xc9d0[43]]){delete _0x37afx5[_0xc9d0[51]][_0xc9d0[43]]};ChatQueue[_0xc9d0[49]](_0x37afx5[_0xc9d0[48]][_0xc9d0[43]])[_0xc9d0[40]](function(_0x37afx16){if(!_0x37afx16){return _0x37afx6[_0xc9d0[47]](404)};var _0x37afx17=_[_0xc9d0[53]](_0x37afx16,_0x37afx5[_0xc9d0[51]]);_0x37afx17[_0xc9d0[54]]()[_0xc9d0[40]](function(){return _0x37afx6[_0xc9d0[39]](200)[_0xc9d0[38]](_0x37afx16)})[_0xc9d0[28]](function(_0x37afxf){return handleError(_0x37afx6,_0x37afxf)});})[_0xc9d0[28]](function(_0x37afxf){return handleError(_0x37afx6,_0x37afxf)});};exports[_0xc9d0[55]]=function(_0x37afx5,_0x37afx6,_0x37afx14){return ChatQueue[_0xc9d0[49]](_0x37afx5[_0xc9d0[48]][_0xc9d0[43]])[_0xc9d0[40]](function(_0x37afx18){if(_0x37afx18){return _0x37afx18[_0xc9d0[57]](_0x37afx5[_0xc9d0[51]][_0xc9d0[56]],{individualHooks:true})}else {throw  new Error(_0xc9d0[58])}})[_0xc9d0[40]](function(){return _0x37afx6[_0xc9d0[47]](200)})[_0xc9d0[28]](function(_0x37afxf){return _0x37afx14(_0x37afxf)})};exports[_0xc9d0[59]]=function(_0x37afx5,_0x37afx6,_0x37afx14){return ChatQueue[_0xc9d0[49]](_0x37afx5[_0xc9d0[48]][_0xc9d0[43]])[_0xc9d0[40]](function(_0x37afx18){if(_0x37afx18){return _0x37afx18[_0xc9d0[60]](_0x37afx5[_0xc9d0[51]][_0xc9d0[56]],{individualHooks:true})}else {throw  new Error(_0xc9d0[61])}})[_0xc9d0[40]](function(){return _0x37afx6[_0xc9d0[47]](200)})[_0xc9d0[28]](function(_0x37afxf){return _0x37afx14(_0x37afxf)})};exports[_0xc9d0[62]]=function(_0x37afx5,_0x37afx6){ChatQueue[_0xc9d0[49]](_0x37afx5[_0xc9d0[48]][_0xc9d0[43]])[_0xc9d0[40]](function(_0x37afx16){if(!_0x37afx16){return _0x37afx6[_0xc9d0[47]](404)};_0x37afx16[_0xc9d0[62]]()[_0xc9d0[40]](function(){return _0x37afx6[_0xc9d0[47]](204)})[_0xc9d0[28]](function(_0x37afxf){return handleError(_0x37afx6,_0x37afxf)});})[_0xc9d0[28]](function(_0x37afxf){return handleError(_0x37afx6,_0x37afxf)})};exports[_0xc9d0[63]]=function(_0x37afx5,_0x37afx6){ChatQueue[_0xc9d0[62]]({where:{id:_0x37afx5[_0xc9d0[12]][_0xc9d0[43]]},individualHooks:true})[_0xc9d0[40]](function(){return _0x37afx6[_0xc9d0[47]](204)})[_0xc9d0[28]](function(_0x37afxf){return handleError(_0x37afx6,_0x37afxf)})};function handleError(_0x37afx6,_0x37afxf){return _0x37afx6[_0xc9d0[39]](500)[_0xc9d0[38]](_0x37afxf)}
\ No newline at end of file
index a1cb818..a3b927e 100644 (file)
@@ -1 +1 @@
-var _0x37f5=["\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"];_0x37f5[0];var chatQueue=require(_0x37f5[2])[_0x37f5[1]];exports[_0x37f5[3]]=function(_0x5b8cx2){chatQueue[_0x37f5[4]](function(_0x5b8cx3){onSave(_0x5b8cx2,_0x5b8cx3)});chatQueue[_0x37f5[5]](function(_0x5b8cx3){onRemove(_0x5b8cx2,_0x5b8cx3)});};function onSave(_0x5b8cx2,_0x5b8cx3,_0x5b8cx5){_0x5b8cx2[_0x37f5[7]](_0x37f5[6],_0x5b8cx3)}function onRemove(_0x5b8cx2,_0x5b8cx3,_0x5b8cx5){_0x5b8cx2[_0x37f5[7]](_0x37f5[8],_0x5b8cx3)}
\ No newline at end of file
+var _0x66f2=["\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"];_0x66f2[0];var chatQueue=require(_0x66f2[2])[_0x66f2[1]];exports[_0x66f2[3]]=function(_0x92bex2){chatQueue[_0x66f2[4]](function(_0x92bex3){onSave(_0x92bex2,_0x92bex3)});chatQueue[_0x66f2[5]](function(_0x92bex3){onRemove(_0x92bex2,_0x92bex3)});};function onSave(_0x92bex2,_0x92bex3,_0x92bex5){_0x92bex2[_0x66f2[7]](_0x66f2[6],_0x92bex3)}function onRemove(_0x92bex2,_0x92bex3,_0x92bex5){_0x92bex2[_0x66f2[7]](_0x66f2[8],_0x92bex3)}
\ No newline at end of file
index 68900fa..c0f787c 100644 (file)
@@ -1 +1 @@
-var _0x9614=["\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\x63\x68\x61\x74\x2F\x71\x75\x65\x75\x65\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\x63\x68\x61\x74\x2F\x71\x75\x65\x75\x65\x73","\x67\x65\x74"];_0x9614[0];var should=require(_0x9614[1]);var app=require(_0x9614[2]);var request=require(_0x9614[3]);describe(_0x9614[4],function(){it(_0x9614[5],function(_0xd52fx4){request(app)[_0x9614[13]](_0x9614[12])[_0x9614[11]](200)[_0x9614[11]](_0x9614[10],/json/)[_0x9614[9]](function(_0xd52fx5,_0xd52fx6){if(_0xd52fx5){return _0xd52fx4(_0xd52fx5)};_0xd52fx6[_0x9614[8]][_0x9614[1]][_0x9614[7]][_0x9614[6]](Array);_0xd52fx4();})})});
\ No newline at end of file
+var _0x36de=["\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\x63\x68\x61\x74\x2F\x71\x75\x65\x75\x65\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\x63\x68\x61\x74\x2F\x71\x75\x65\x75\x65\x73","\x67\x65\x74"];_0x36de[0];var should=require(_0x36de[1]);var app=require(_0x36de[2]);var request=require(_0x36de[3]);describe(_0x36de[4],function(){it(_0x36de[5],function(_0x2016x4){request(app)[_0x36de[13]](_0x36de[12])[_0x36de[11]](200)[_0x36de[11]](_0x36de[10],/json/)[_0x36de[9]](function(_0x2016x5,_0x2016x6){if(_0x2016x5){return _0x2016x4(_0x2016x5)};_0x2016x6[_0x36de[8]][_0x36de[1]][_0x36de[7]][_0x36de[6]](Array);_0x2016x4();})})});
\ No newline at end of file
index 96118fe..4b4dfb7 100644 (file)
@@ -1 +1 @@
-var _0xbcf5=["\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","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x6D\x65","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x6D\x65","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\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","\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"];_0xbcf5[0];var express=require(_0xbcf5[1]);var controller=require(_0xbcf5[2]);var auth=require(_0xbcf5[3]);var router=express.Router();router[_0xbcf5[6]](_0xbcf5[4],controller[_0xbcf5[5]]);router[_0xbcf5[6]](_0xbcf5[7],auth[_0xbcf5[8]](),controller[_0xbcf5[9]]);router[_0xbcf5[6]](_0xbcf5[10],controller[_0xbcf5[11]]);router[_0xbcf5[13]](_0xbcf5[4],controller[_0xbcf5[12]]);router[_0xbcf5[13]](_0xbcf5[14],controller[_0xbcf5[15]]);router[_0xbcf5[17]](_0xbcf5[10],controller[_0xbcf5[16]]);router[_0xbcf5[17]](_0xbcf5[14],controller[_0xbcf5[18]]);router[_0xbcf5[19]](_0xbcf5[10],controller[_0xbcf5[16]]);router[_0xbcf5[21]](_0xbcf5[4],controller[_0xbcf5[20]]);router[_0xbcf5[21]](_0xbcf5[10],controller[_0xbcf5[22]]);module[_0xbcf5[23]]=router;
\ No newline at end of file
+var _0xa35a=["\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\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x6D\x65","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x6D\x65","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\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","\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"];_0xa35a[0];var express=require(_0xa35a[1]);var controller=require(_0xa35a[2]);var auth=require(_0xa35a[3]);var license=require(_0xa35a[4]);var router=express.Router();router[_0xa35a[9]](_0xa35a[5],license[_0xa35a[6]](),license[_0xa35a[7]](),controller[_0xa35a[8]]);router[_0xa35a[9]](_0xa35a[10],license[_0xa35a[6]](),license[_0xa35a[7]](),auth[_0xa35a[11]](),controller[_0xa35a[12]]);router[_0xa35a[9]](_0xa35a[13],license[_0xa35a[6]](),license[_0xa35a[7]](),controller[_0xa35a[14]]);router[_0xa35a[16]](_0xa35a[5],license[_0xa35a[6]](),license[_0xa35a[7]](),controller[_0xa35a[15]]);router[_0xa35a[16]](_0xa35a[17],license[_0xa35a[6]](),license[_0xa35a[7]](),controller[_0xa35a[18]]);router[_0xa35a[20]](_0xa35a[13],license[_0xa35a[6]](),license[_0xa35a[7]](),controller[_0xa35a[19]]);router[_0xa35a[20]](_0xa35a[17],license[_0xa35a[6]](),license[_0xa35a[7]](),controller[_0xa35a[21]]);router[_0xa35a[22]](_0xa35a[13],license[_0xa35a[6]](),license[_0xa35a[7]](),controller[_0xa35a[19]]);router[_0xa35a[24]](_0xa35a[5],license[_0xa35a[6]](),license[_0xa35a[7]](),controller[_0xa35a[23]]);router[_0xa35a[24]](_0xa35a[13],license[_0xa35a[6]](),license[_0xa35a[7]](),controller[_0xa35a[25]]);module[_0xa35a[26]]=router;
\ No newline at end of file
index 4df19b5..ff41cbe 100644 (file)
@@ -1 +1 @@
-var _0xccc8=["\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","\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","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\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","\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","\x66\x69\x6E\x64\x41\x6C\x6C","\x6D\x65","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x67\x65\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D\x73","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x68\x6F\x77","\x70\x61\x72\x61\x6D\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","\x6D\x65\x72\x67\x65","\x67\x65\x74\x55\x73\x65\x72\x73","\x75\x73\x65\x72\x73","\x71\x75\x65\x72\x79","\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","\x6F\x70\x65\x6E","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x54\x79\x70\x65","\x74\x79\x70\x65","\x67\x65\x74\x52\x6F\x6F\x6D\x47\x72\x6F\x75\x70\x73","\x63\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x62\x6F\x64\x79","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79"];_0xccc8[0];var _=require(_0xccc8[1]);var md5=require(_0xccc8[2]);var moment=require(_0xccc8[3]);var User=require(_0xccc8[5])[_0xccc8[4]];var ChatRoom=require(_0xccc8[5])[_0xccc8[6]];var ChatMessage=require(_0xccc8[5])[_0xccc8[7]];var ChatVisitor=require(_0xccc8[5])[_0xccc8[8]];var UserHasChatRoom=require(_0xccc8[5])[_0xccc8[9]];exports[_0xccc8[10]]=function(_0x1a87x9,_0x1a87xa){return ChatRoom[_0xccc8[21]]({include:[{model:User,attributes:[_0xccc8[15],_0xccc8[16],_0xccc8[17],_0xccc8[18],_0xccc8[19],_0xccc8[20]]},{model:ChatMessage},{model:ChatVisitor}]})[_0xccc8[14]](function(_0x1a87xc){return _0x1a87xa[_0xccc8[13]](200)[_0xccc8[12]](_0x1a87xc)})[_0xccc8[11]](function(_0x1a87xb){return handleError(_0x1a87xa,_0x1a87xb)})};exports[_0xccc8[22]]=function(_0x1a87x9,_0x1a87xa){return User[_0xccc8[26]](_0x1a87x9[_0xccc8[25]][_0xccc8[15]])[_0xccc8[14]](function(_0x1a87xe){return _0x1a87xe[_0xccc8[24]]({include:[{model:ChatVisitor,attributes:[_0xccc8[15],_0xccc8[17],_0xccc8[18]]},{model:User,attributes:[_0xccc8[15],_0xccc8[16],_0xccc8[17],_0xccc8[18],_0xccc8[19],_0xccc8[20]]}]})})[_0xccc8[14]](function(_0x1a87xd){if(!_0x1a87xd){return _0x1a87xa[_0xccc8[23]](404)};return _0x1a87xa[_0xccc8[12]](_0x1a87xd);})[_0xccc8[11]](function(_0x1a87xb){return handleError(_0x1a87xa,_0x1a87xb)})};exports[_0xccc8[27]]=function(_0x1a87x9,_0x1a87xa){return ChatRoom[_0xccc8[26]](_0x1a87x9[_0xccc8[28]][_0xccc8[15]],{include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0xccc8[15],_0xccc8[18],_0xccc8[17]]},{model:User,attributes:[_0xccc8[15],_0xccc8[18],_0xccc8[16],_0xccc8[17]]}]},{model:User,attributes:[_0xccc8[15],_0xccc8[18],_0xccc8[16],_0xccc8[17]]}]})[_0xccc8[14]](function(_0x1a87xf){if(!_0x1a87xf){return _0x1a87xa[_0xccc8[23]](404)};return _0x1a87xa[_0xccc8[12]](_0x1a87xf);})[_0xccc8[11]](function(_0x1a87xb){return handleError(_0x1a87xa,_0x1a87xb)})};exports[_0xccc8[29]]=function(_0x1a87x9,_0x1a87xa,_0x1a87x10){var _0x1a87x11;return ChatRoom[_0xccc8[41]]({where:{token:md5(JSON[_0xccc8[39]](_0x1a87x9[_0xccc8[34]][_0xccc8[33]][_0xccc8[38]]())).toString(_0xccc8[37])},defaults:{type:_0xccc8[20],token:md5(JSON[_0xccc8[39]](_0x1a87x9[_0xccc8[34]][_0xccc8[33]][_0xccc8[38]]())).toString(_0xccc8[37]),status:_0xccc8[40]},include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0xccc8[15],_0xccc8[18],_0xccc8[17]]},{model:User,attributes:[_0xccc8[15],_0xccc8[16],_0xccc8[17],_0xccc8[18],_0xccc8[19],_0xccc8[20]]}]},{model:User,attributes:[_0xccc8[15],_0xccc8[16],_0xccc8[17],_0xccc8[18],_0xccc8[19],_0xccc8[20]]}]})[_0xccc8[36]](function(_0x1a87xf,_0x1a87x13){_0x1a87x11=_0x1a87xf;if(_0x1a87x13){return _0x1a87x11[_0xccc8[35]](_0x1a87x9[_0xccc8[34]][_0xccc8[33]])}else {return };})[_0xccc8[14]](function(){return _0x1a87x11[_0xccc8[32]]()})[_0xccc8[14]](function(_0x1a87x12){return _0x1a87xa[_0xccc8[13]](200)[_0xccc8[12]](_[_0xccc8[31]](_0x1a87x11[_0xccc8[30]],{Users:_0x1a87x12}))})[_0xccc8[11]](function(_0x1a87xb){return handleError(_0x1a87xa,_0x1a87xb)});};exports[_0xccc8[42]]=function(_0x1a87x9,_0x1a87xa){User[_0xccc8[26]](_0x1a87x9[_0xccc8[25]][_0xccc8[15]])[_0xccc8[14]](function(_0x1a87xe){_0x1a87xe[_0xccc8[24]]({where:{type:_0x1a87x9[_0xccc8[28]][_0xccc8[43]]},include:[{model:ChatVisitor,attributes:[_0xccc8[15],_0xccc8[17],_0xccc8[18]]}]})[_0xccc8[14]](function(_0x1a87xd){if(!_0x1a87xd){return _0x1a87xa[_0xccc8[23]](404)};return _0x1a87xa[_0xccc8[12]](_0x1a87xd);})[_0xccc8[11]](function(_0x1a87xb){return handleError(_0x1a87xa,_0x1a87xb)})})[_0xccc8[11]](function(_0x1a87xb){return handleError(_0x1a87xa,_0x1a87xb)})};exports[_0xccc8[44]]=function(_0x1a87x9,_0x1a87xa){User[_0xccc8[26]](_0x1a87x9[_0xccc8[25]][_0xccc8[15]])[_0xccc8[14]](function(_0x1a87xe){_0x1a87xe[_0xccc8[24]]({include:[{model:ChatVisitor,attributes:[_0xccc8[15],_0xccc8[17],_0xccc8[18]]},{model:User,attributes:[_0xccc8[15],_0xccc8[16],_0xccc8[17],_0xccc8[18],_0xccc8[19],_0xccc8[20]]}]})[_0xccc8[14]](function(_0x1a87xd){if(!_0x1a87xd){return _0x1a87xa[_0xccc8[23]](404)};return _0x1a87xa[_0xccc8[12]](_0x1a87xd);})[_0xccc8[11]](function(_0x1a87xb){return handleError(_0x1a87xa,_0x1a87xb)})})[_0xccc8[11]](function(_0x1a87xb){return handleError(_0x1a87xa,_0x1a87xb)})};exports[_0xccc8[45]]=function(_0x1a87x9,_0x1a87xa){};exports[_0xccc8[46]]=function(_0x1a87x9,_0x1a87xa){if(_0x1a87x9[_0xccc8[47]][_0xccc8[15]]){delete _0x1a87x9[_0xccc8[47]][_0xccc8[15]]};ChatRoom[_0xccc8[26]](_0x1a87x9[_0xccc8[28]][_0xccc8[15]])[_0xccc8[14]](function(_0x1a87xf){if(!_0x1a87xf){return _0x1a87xa[_0xccc8[23]](404)};var _0x1a87x14=_[_0xccc8[31]](_0x1a87xf,_0x1a87x9[_0xccc8[47]]);_0x1a87x14[_0xccc8[48]]()[_0xccc8[14]](function(){return _0x1a87xa[_0xccc8[13]](200)[_0xccc8[12]](_0x1a87xf)})[_0xccc8[11]](function(_0x1a87xb){return handleError(_0x1a87xa,_0x1a87xb)});})[_0xccc8[11]](function(_0x1a87xb){return handleError(_0x1a87xa,_0x1a87xb)});};exports[_0xccc8[49]]=function(_0x1a87x9,_0x1a87xa){var _0x1a87x11;if(_0x1a87x9[_0xccc8[47]][_0xccc8[15]]){delete _0x1a87x9[_0xccc8[47]][_0xccc8[15]]};return ChatRoom[_0xccc8[26]](_0x1a87x9[_0xccc8[28]][_0xccc8[15]])[_0xccc8[14]](function(_0x1a87xf){if(!_0x1a87xf||!_0x1a87x9[_0xccc8[47]][_0xccc8[33]]){return _0x1a87xa[_0xccc8[23]](404)};return _0x1a87xf;})[_0xccc8[14]](function(_0x1a87xf){return _0x1a87xf[_0xccc8[46]]({token:md5(JSON[_0xccc8[39]](_0x1a87x9[_0xccc8[47]][_0xccc8[33]][_0xccc8[38]]())).toString(_0xccc8[37])})})[_0xccc8[14]](function(_0x1a87xf){_0x1a87x11=_0x1a87xf;return _0x1a87xf[_0xccc8[35]](_0x1a87x9[_0xccc8[47]][_0xccc8[33]][_0xccc8[38]](),{individualHooks:true});})[_0xccc8[14]](function(){return _0x1a87x11[_0xccc8[32]]()})[_0xccc8[14]](function(_0x1a87x12){return _0x1a87xa[_0xccc8[13]](200)[_0xccc8[12]](_[_0xccc8[31]](_0x1a87x11[_0xccc8[30]],{Users:_0x1a87x12,ChatMessages:[]}))})[_0xccc8[11]](function(_0x1a87xb){return handleError(_0x1a87xa,_0x1a87xb)});};exports[_0xccc8[50]]=function(_0x1a87x9,_0x1a87xa){ChatRoom[_0xccc8[26]](_0x1a87x9[_0xccc8[28]][_0xccc8[15]])[_0xccc8[14]](function(_0x1a87xf){if(!_0x1a87xf){return _0x1a87xa[_0xccc8[23]](404)};_0x1a87xf[_0xccc8[50]]()[_0xccc8[14]](function(){return _0x1a87xa[_0xccc8[23]](204)})[_0xccc8[11]](function(_0x1a87xb){return handleError(_0x1a87xa,_0x1a87xb)});})[_0xccc8[11]](function(_0x1a87xb){return handleError(_0x1a87xa,_0x1a87xb)})};function handleError(_0x1a87xa,_0x1a87xb){return _0x1a87xa[_0xccc8[13]](500)[_0xccc8[12]](_0x1a87xb)}
\ No newline at end of file
+var _0xe63e=["\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","\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","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\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","\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","\x66\x69\x6E\x64\x41\x6C\x6C","\x6D\x65","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x67\x65\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D\x73","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x68\x6F\x77","\x70\x61\x72\x61\x6D\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","\x6D\x65\x72\x67\x65","\x67\x65\x74\x55\x73\x65\x72\x73","\x75\x73\x65\x72\x73","\x71\x75\x65\x72\x79","\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","\x6F\x70\x65\x6E","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x54\x79\x70\x65","\x74\x79\x70\x65","\x67\x65\x74\x52\x6F\x6F\x6D\x47\x72\x6F\x75\x70\x73","\x63\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x62\x6F\x64\x79","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79"];_0xe63e[0];var _=require(_0xe63e[1]);var md5=require(_0xe63e[2]);var moment=require(_0xe63e[3]);var User=require(_0xe63e[5])[_0xe63e[4]];var ChatRoom=require(_0xe63e[5])[_0xe63e[6]];var ChatMessage=require(_0xe63e[5])[_0xe63e[7]];var ChatVisitor=require(_0xe63e[5])[_0xe63e[8]];var UserHasChatRoom=require(_0xe63e[5])[_0xe63e[9]];exports[_0xe63e[10]]=function(_0x7cc5x9,_0x7cc5xa){return ChatRoom[_0xe63e[21]]({include:[{model:User,attributes:[_0xe63e[15],_0xe63e[16],_0xe63e[17],_0xe63e[18],_0xe63e[19],_0xe63e[20]]},{model:ChatMessage},{model:ChatVisitor}]})[_0xe63e[14]](function(_0x7cc5xc){return _0x7cc5xa[_0xe63e[13]](200)[_0xe63e[12]](_0x7cc5xc)})[_0xe63e[11]](function(_0x7cc5xb){return handleError(_0x7cc5xa,_0x7cc5xb)})};exports[_0xe63e[22]]=function(_0x7cc5x9,_0x7cc5xa){return User[_0xe63e[26]](_0x7cc5x9[_0xe63e[25]][_0xe63e[15]])[_0xe63e[14]](function(_0x7cc5xe){return _0x7cc5xe[_0xe63e[24]]({include:[{model:ChatVisitor,attributes:[_0xe63e[15],_0xe63e[17],_0xe63e[18]]},{model:User,attributes:[_0xe63e[15],_0xe63e[16],_0xe63e[17],_0xe63e[18],_0xe63e[19],_0xe63e[20]]}]})})[_0xe63e[14]](function(_0x7cc5xd){if(!_0x7cc5xd){return _0x7cc5xa[_0xe63e[23]](404)};return _0x7cc5xa[_0xe63e[12]](_0x7cc5xd);})[_0xe63e[11]](function(_0x7cc5xb){return handleError(_0x7cc5xa,_0x7cc5xb)})};exports[_0xe63e[27]]=function(_0x7cc5x9,_0x7cc5xa){return ChatRoom[_0xe63e[26]](_0x7cc5x9[_0xe63e[28]][_0xe63e[15]],{include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0xe63e[15],_0xe63e[18],_0xe63e[17]]},{model:User,attributes:[_0xe63e[15],_0xe63e[18],_0xe63e[16],_0xe63e[17]]}]},{model:User,attributes:[_0xe63e[15],_0xe63e[18],_0xe63e[16],_0xe63e[17]]}]})[_0xe63e[14]](function(_0x7cc5xf){if(!_0x7cc5xf){return _0x7cc5xa[_0xe63e[23]](404)};return _0x7cc5xa[_0xe63e[12]](_0x7cc5xf);})[_0xe63e[11]](function(_0x7cc5xb){return handleError(_0x7cc5xa,_0x7cc5xb)})};exports[_0xe63e[29]]=function(_0x7cc5x9,_0x7cc5xa,_0x7cc5x10){var _0x7cc5x11;return ChatRoom[_0xe63e[41]]({where:{token:md5(JSON[_0xe63e[39]](_0x7cc5x9[_0xe63e[34]][_0xe63e[33]][_0xe63e[38]]())).toString(_0xe63e[37])},defaults:{type:_0xe63e[20],token:md5(JSON[_0xe63e[39]](_0x7cc5x9[_0xe63e[34]][_0xe63e[33]][_0xe63e[38]]())).toString(_0xe63e[37]),status:_0xe63e[40]},include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0xe63e[15],_0xe63e[18],_0xe63e[17]]},{model:User,attributes:[_0xe63e[15],_0xe63e[16],_0xe63e[17],_0xe63e[18],_0xe63e[19],_0xe63e[20]]}]},{model:User,attributes:[_0xe63e[15],_0xe63e[16],_0xe63e[17],_0xe63e[18],_0xe63e[19],_0xe63e[20]]}]})[_0xe63e[36]](function(_0x7cc5xf,_0x7cc5x13){_0x7cc5x11=_0x7cc5xf;if(_0x7cc5x13){return _0x7cc5x11[_0xe63e[35]](_0x7cc5x9[_0xe63e[34]][_0xe63e[33]])}else {return };})[_0xe63e[14]](function(){return _0x7cc5x11[_0xe63e[32]]()})[_0xe63e[14]](function(_0x7cc5x12){return _0x7cc5xa[_0xe63e[13]](200)[_0xe63e[12]](_[_0xe63e[31]](_0x7cc5x11[_0xe63e[30]],{Users:_0x7cc5x12}))})[_0xe63e[11]](function(_0x7cc5xb){return handleError(_0x7cc5xa,_0x7cc5xb)});};exports[_0xe63e[42]]=function(_0x7cc5x9,_0x7cc5xa){User[_0xe63e[26]](_0x7cc5x9[_0xe63e[25]][_0xe63e[15]])[_0xe63e[14]](function(_0x7cc5xe){_0x7cc5xe[_0xe63e[24]]({where:{type:_0x7cc5x9[_0xe63e[28]][_0xe63e[43]]},include:[{model:ChatVisitor,attributes:[_0xe63e[15],_0xe63e[17],_0xe63e[18]]}]})[_0xe63e[14]](function(_0x7cc5xd){if(!_0x7cc5xd){return _0x7cc5xa[_0xe63e[23]](404)};return _0x7cc5xa[_0xe63e[12]](_0x7cc5xd);})[_0xe63e[11]](function(_0x7cc5xb){return handleError(_0x7cc5xa,_0x7cc5xb)})})[_0xe63e[11]](function(_0x7cc5xb){return handleError(_0x7cc5xa,_0x7cc5xb)})};exports[_0xe63e[44]]=function(_0x7cc5x9,_0x7cc5xa){User[_0xe63e[26]](_0x7cc5x9[_0xe63e[25]][_0xe63e[15]])[_0xe63e[14]](function(_0x7cc5xe){_0x7cc5xe[_0xe63e[24]]({include:[{model:ChatVisitor,attributes:[_0xe63e[15],_0xe63e[17],_0xe63e[18]]},{model:User,attributes:[_0xe63e[15],_0xe63e[16],_0xe63e[17],_0xe63e[18],_0xe63e[19],_0xe63e[20]]}]})[_0xe63e[14]](function(_0x7cc5xd){if(!_0x7cc5xd){return _0x7cc5xa[_0xe63e[23]](404)};return _0x7cc5xa[_0xe63e[12]](_0x7cc5xd);})[_0xe63e[11]](function(_0x7cc5xb){return handleError(_0x7cc5xa,_0x7cc5xb)})})[_0xe63e[11]](function(_0x7cc5xb){return handleError(_0x7cc5xa,_0x7cc5xb)})};exports[_0xe63e[45]]=function(_0x7cc5x9,_0x7cc5xa){};exports[_0xe63e[46]]=function(_0x7cc5x9,_0x7cc5xa){if(_0x7cc5x9[_0xe63e[47]][_0xe63e[15]]){delete _0x7cc5x9[_0xe63e[47]][_0xe63e[15]]};ChatRoom[_0xe63e[26]](_0x7cc5x9[_0xe63e[28]][_0xe63e[15]])[_0xe63e[14]](function(_0x7cc5xf){if(!_0x7cc5xf){return _0x7cc5xa[_0xe63e[23]](404)};var _0x7cc5x14=_[_0xe63e[31]](_0x7cc5xf,_0x7cc5x9[_0xe63e[47]]);_0x7cc5x14[_0xe63e[48]]()[_0xe63e[14]](function(){return _0x7cc5xa[_0xe63e[13]](200)[_0xe63e[12]](_0x7cc5xf)})[_0xe63e[11]](function(_0x7cc5xb){return handleError(_0x7cc5xa,_0x7cc5xb)});})[_0xe63e[11]](function(_0x7cc5xb){return handleError(_0x7cc5xa,_0x7cc5xb)});};exports[_0xe63e[49]]=function(_0x7cc5x9,_0x7cc5xa){var _0x7cc5x11;if(_0x7cc5x9[_0xe63e[47]][_0xe63e[15]]){delete _0x7cc5x9[_0xe63e[47]][_0xe63e[15]]};return ChatRoom[_0xe63e[26]](_0x7cc5x9[_0xe63e[28]][_0xe63e[15]])[_0xe63e[14]](function(_0x7cc5xf){if(!_0x7cc5xf||!_0x7cc5x9[_0xe63e[47]][_0xe63e[33]]){return _0x7cc5xa[_0xe63e[23]](404)};return _0x7cc5xf;})[_0xe63e[14]](function(_0x7cc5xf){return _0x7cc5xf[_0xe63e[46]]({token:md5(JSON[_0xe63e[39]](_0x7cc5x9[_0xe63e[47]][_0xe63e[33]][_0xe63e[38]]())).toString(_0xe63e[37])})})[_0xe63e[14]](function(_0x7cc5xf){_0x7cc5x11=_0x7cc5xf;return _0x7cc5xf[_0xe63e[35]](_0x7cc5x9[_0xe63e[47]][_0xe63e[33]][_0xe63e[38]](),{individualHooks:true});})[_0xe63e[14]](function(){return _0x7cc5x11[_0xe63e[32]]()})[_0xe63e[14]](function(_0x7cc5x12){return _0x7cc5xa[_0xe63e[13]](200)[_0xe63e[12]](_[_0xe63e[31]](_0x7cc5x11[_0xe63e[30]],{Users:_0x7cc5x12,ChatMessages:[]}))})[_0xe63e[11]](function(_0x7cc5xb){return handleError(_0x7cc5xa,_0x7cc5xb)});};exports[_0xe63e[50]]=function(_0x7cc5x9,_0x7cc5xa){ChatRoom[_0xe63e[26]](_0x7cc5x9[_0xe63e[28]][_0xe63e[15]])[_0xe63e[14]](function(_0x7cc5xf){if(!_0x7cc5xf){return _0x7cc5xa[_0xe63e[23]](404)};_0x7cc5xf[_0xe63e[50]]()[_0xe63e[14]](function(){return _0x7cc5xa[_0xe63e[23]](204)})[_0xe63e[11]](function(_0x7cc5xb){return handleError(_0x7cc5xa,_0x7cc5xb)});})[_0xe63e[11]](function(_0x7cc5xb){return handleError(_0x7cc5xa,_0x7cc5xb)})};function handleError(_0x7cc5xa,_0x7cc5xb){return _0x7cc5xa[_0xe63e[13]](500)[_0xe63e[12]](_0x7cc5xb)}
\ No newline at end of file
index 717c58e..ffb370b 100644 (file)
@@ -1 +1 @@
-var _0x41e7=["\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"];_0x41e7[0];var User=require(_0x41e7[2])[_0x41e7[1]];var ChatRoom=require(_0x41e7[2])[_0x41e7[3]];var ChatMessage=require(_0x41e7[2])[_0x41e7[4]];var ChatVisitor=require(_0x41e7[2])[_0x41e7[5]];exports[_0x41e7[6]]=function(_0x345dx5){ChatRoom[_0x41e7[7]](function(_0x345dx6){onSave(_0x345dx5,_0x345dx6)});ChatRoom[_0x41e7[8]](function(_0x345dx6){onSave(_0x345dx5,_0x345dx6)});ChatRoom[_0x41e7[9]](function(_0x345dx6){onRemove(_0x345dx5,_0x345dx6)});};function onSave(_0x345dx5,_0x345dx6,_0x345dx8){_0x345dx5[_0x41e7[11]](_0x41e7[10],_0x345dx6)}function onRemove(_0x345dx5,_0x345dx6,_0x345dx8){_0x345dx5[_0x41e7[11]](_0x41e7[12],_0x345dx6)}
\ No newline at end of file
+var _0xda3d=["\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"];_0xda3d[0];var User=require(_0xda3d[2])[_0xda3d[1]];var ChatRoom=require(_0xda3d[2])[_0xda3d[3]];var ChatMessage=require(_0xda3d[2])[_0xda3d[4]];var ChatVisitor=require(_0xda3d[2])[_0xda3d[5]];exports[_0xda3d[6]]=function(_0x3ce5x5){ChatRoom[_0xda3d[7]](function(_0x3ce5x6){onSave(_0x3ce5x5,_0x3ce5x6)});ChatRoom[_0xda3d[8]](function(_0x3ce5x6){onSave(_0x3ce5x5,_0x3ce5x6)});ChatRoom[_0xda3d[9]](function(_0x3ce5x6){onRemove(_0x3ce5x5,_0x3ce5x6)});};function onSave(_0x3ce5x5,_0x3ce5x6,_0x3ce5x8){_0x3ce5x5[_0xda3d[11]](_0xda3d[10],_0x3ce5x6)}function onRemove(_0x3ce5x5,_0x3ce5x6,_0x3ce5x8){_0x3ce5x5[_0xda3d[11]](_0xda3d[12],_0x3ce5x6)}
\ No newline at end of file
index d098b09..196a072 100644 (file)
@@ -1 +1 @@
-var _0x27a8=["\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\x63\x68\x61\x74\x2F\x72\x6F\x6F\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\x63\x68\x61\x74\x2F\x72\x6F\x6F\x6D\x73","\x67\x65\x74"];_0x27a8[0];var should=require(_0x27a8[1]);var app=require(_0x27a8[2]);var request=require(_0x27a8[3]);describe(_0x27a8[4],function(){it(_0x27a8[5],function(_0xc11bx4){request(app)[_0x27a8[13]](_0x27a8[12])[_0x27a8[11]](200)[_0x27a8[11]](_0x27a8[10],/json/)[_0x27a8[9]](function(_0xc11bx5,_0xc11bx6){if(_0xc11bx5){return _0xc11bx4(_0xc11bx5)};_0xc11bx6[_0x27a8[8]][_0x27a8[1]][_0x27a8[7]][_0x27a8[6]](Array);_0xc11bx4();})})});
\ No newline at end of file
+var _0xc427=["\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\x63\x68\x61\x74\x2F\x72\x6F\x6F\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\x63\x68\x61\x74\x2F\x72\x6F\x6F\x6D\x73","\x67\x65\x74"];_0xc427[0];var should=require(_0xc427[1]);var app=require(_0xc427[2]);var request=require(_0xc427[3]);describe(_0xc427[4],function(){it(_0xc427[5],function(_0x7dccx4){request(app)[_0xc427[13]](_0xc427[12])[_0xc427[11]](200)[_0xc427[11]](_0xc427[10],/json/)[_0xc427[9]](function(_0x7dccx5,_0x7dccx6){if(_0x7dccx5){return _0x7dccx4(_0x7dccx5)};_0x7dccx6[_0xc427[8]][_0xc427[1]][_0xc427[7]][_0xc427[6]](Array);_0x7dccx4();})})});
\ No newline at end of file
index da7f45e..5fdb560 100644 (file)
@@ -1 +1 @@
-var _0xd9df=["\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\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x6D\x65","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x6D\x65","\x2F\x75\x73\x65\x72\x73","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x55\x73\x65\x72\x73","\x2F\x67\x72\x6F\x75\x70\x73","\x67\x65\x74\x52\x6F\x6F\x6D\x47\x72\x6F\x75\x70\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","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\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","\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"];_0xd9df[0];var express=require(_0xd9df[1]);var controller=require(_0xd9df[2]);var auth=require(_0xd9df[3]);var license=require(_0xd9df[4]);var router=express.Router();router[_0xd9df[9]](_0xd9df[5],license[_0xd9df[6]](),license[_0xd9df[7]](),controller[_0xd9df[8]]);router[_0xd9df[9]](_0xd9df[10],license[_0xd9df[6]](),license[_0xd9df[7]](),auth[_0xd9df[11]](),controller[_0xd9df[12]]);router[_0xd9df[9]](_0xd9df[13],license[_0xd9df[6]](),license[_0xd9df[7]](),auth[_0xd9df[11]](),controller[_0xd9df[14]]);router[_0xd9df[9]](_0xd9df[15],license[_0xd9df[6]](),license[_0xd9df[7]](),auth[_0xd9df[11]](),controller[_0xd9df[16]]);router[_0xd9df[9]](_0xd9df[17],license[_0xd9df[6]](),license[_0xd9df[7]](),auth[_0xd9df[11]](),controller[_0xd9df[18]]);router[_0xd9df[9]](_0xd9df[19],license[_0xd9df[6]](),license[_0xd9df[7]](),controller[_0xd9df[20]]);router[_0xd9df[22]](_0xd9df[5],license[_0xd9df[6]](),license[_0xd9df[7]](),auth[_0xd9df[11]](),controller[_0xd9df[21]]);router[_0xd9df[24]](_0xd9df[19],license[_0xd9df[6]](),license[_0xd9df[7]](),controller[_0xd9df[23]]);router[_0xd9df[24]](_0xd9df[25],license[_0xd9df[6]](),license[_0xd9df[7]](),controller[_0xd9df[26]]);router[_0xd9df[27]](_0xd9df[19],license[_0xd9df[6]](),license[_0xd9df[7]](),controller[_0xd9df[23]]);router[_0xd9df[29]](_0xd9df[19],license[_0xd9df[6]](),license[_0xd9df[7]](),controller[_0xd9df[28]]);module[_0xd9df[30]]=router;
\ No newline at end of file
+var _0x2de0=["\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\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x6D\x65","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x6D\x65","\x2F\x75\x73\x65\x72\x73","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x55\x73\x65\x72\x73","\x2F\x67\x72\x6F\x75\x70\x73","\x67\x65\x74\x52\x6F\x6F\x6D\x47\x72\x6F\x75\x70\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","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\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","\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"];_0x2de0[0];var express=require(_0x2de0[1]);var controller=require(_0x2de0[2]);var auth=require(_0x2de0[3]);var license=require(_0x2de0[4]);var router=express.Router();router[_0x2de0[9]](_0x2de0[5],license[_0x2de0[6]](),license[_0x2de0[7]](),controller[_0x2de0[8]]);router[_0x2de0[9]](_0x2de0[10],license[_0x2de0[6]](),license[_0x2de0[7]](),auth[_0x2de0[11]](),controller[_0x2de0[12]]);router[_0x2de0[9]](_0x2de0[13],license[_0x2de0[6]](),license[_0x2de0[7]](),auth[_0x2de0[11]](),controller[_0x2de0[14]]);router[_0x2de0[9]](_0x2de0[15],license[_0x2de0[6]](),license[_0x2de0[7]](),auth[_0x2de0[11]](),controller[_0x2de0[16]]);router[_0x2de0[9]](_0x2de0[17],license[_0x2de0[6]](),license[_0x2de0[7]](),auth[_0x2de0[11]](),controller[_0x2de0[18]]);router[_0x2de0[9]](_0x2de0[19],license[_0x2de0[6]](),license[_0x2de0[7]](),controller[_0x2de0[20]]);router[_0x2de0[22]](_0x2de0[5],license[_0x2de0[6]](),license[_0x2de0[7]](),auth[_0x2de0[11]](),controller[_0x2de0[21]]);router[_0x2de0[24]](_0x2de0[19],license[_0x2de0[6]](),license[_0x2de0[7]](),controller[_0x2de0[23]]);router[_0x2de0[24]](_0x2de0[25],license[_0x2de0[6]](),license[_0x2de0[7]](),controller[_0x2de0[26]]);router[_0x2de0[27]](_0x2de0[19],license[_0x2de0[6]](),license[_0x2de0[7]](),controller[_0x2de0[23]]);router[_0x2de0[29]](_0x2de0[19],license[_0x2de0[6]](),license[_0x2de0[7]](),controller[_0x2de0[28]]);module[_0x2de0[30]]=router;
\ No newline at end of file
index f2bc296..9ed62a4 100644 (file)
@@ -1 +1 @@
-var _0x2c6e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\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"];_0x2c6e[0];var _=require(_0x2c6e[1]);var ChatVisitor=require(_0x2c6e[3])[_0x2c6e[2]];exports[_0x2c6e[4]]=function(_0x963cx3,_0x963cx4){ChatVisitor[_0x2c6e[9]]()[_0x2c6e[8]](function(_0x963cx6){return _0x963cx4[_0x2c6e[7]](200)[_0x2c6e[6]](_0x963cx6)})[_0x2c6e[5]](function(_0x963cx5){return handleError(_0x963cx4,_0x963cx5)})};exports[_0x2c6e[10]]=function(_0x963cx3,_0x963cx4){ChatVisitor[_0x2c6e[14]](_0x963cx3[_0x2c6e[13]][_0x2c6e[12]])[_0x2c6e[8]](function(_0x963cx7){if(!_0x963cx7){return _0x963cx4[_0x2c6e[11]](404)};return _0x963cx4[_0x2c6e[6]](_0x963cx7);})[_0x2c6e[5]](function(_0x963cx5){return handleError(_0x963cx4,_0x963cx5)})};exports[_0x2c6e[15]]=function(_0x963cx3,_0x963cx4){ChatVisitor[_0x2c6e[15]](_0x963cx3[_0x2c6e[16]])[_0x2c6e[8]](function(_0x963cx7){return _0x963cx4[_0x2c6e[7]](201)[_0x2c6e[6]](_0x963cx7)})[_0x2c6e[5]](function(_0x963cx5){return handleError(_0x963cx4,_0x963cx5)})};exports[_0x2c6e[17]]=function(_0x963cx3,_0x963cx4){if(_0x963cx3[_0x2c6e[16]][_0x2c6e[12]]){delete _0x963cx3[_0x2c6e[16]][_0x2c6e[12]]};ChatVisitor[_0x2c6e[14]](_0x963cx3[_0x2c6e[13]][_0x2c6e[12]])[_0x2c6e[8]](function(_0x963cx7){if(!_0x963cx7){return _0x963cx4[_0x2c6e[11]](404)};var _0x963cx8=_[_0x2c6e[18]](_0x963cx7,_0x963cx3[_0x2c6e[16]]);_0x963cx8[_0x2c6e[19]]()[_0x2c6e[8]](function(){return _0x963cx4[_0x2c6e[7]](200)[_0x2c6e[6]](_0x963cx7)})[_0x2c6e[5]](function(_0x963cx5){return handleError(_0x963cx4,_0x963cx5)});})[_0x2c6e[5]](function(_0x963cx5){return handleError(_0x963cx4,_0x963cx5)});};exports[_0x2c6e[20]]=function(_0x963cx3,_0x963cx4){ChatVisitor[_0x2c6e[14]](_0x963cx3[_0x2c6e[13]][_0x2c6e[12]])[_0x2c6e[8]](function(_0x963cx7){if(!_0x963cx7){return _0x963cx4[_0x2c6e[11]](404)};_0x963cx7[_0x2c6e[20]]()[_0x2c6e[8]](function(){return _0x963cx4[_0x2c6e[11]](204)})[_0x2c6e[5]](function(_0x963cx5){return handleError(_0x963cx4,_0x963cx5)});})[_0x2c6e[5]](function(_0x963cx5){return handleError(_0x963cx4,_0x963cx5)})};function handleError(_0x963cx4,_0x963cx5){return _0x963cx4[_0x2c6e[7]](500)[_0x2c6e[6]](_0x963cx5)}
\ No newline at end of file
+var _0x4859=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\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"];_0x4859[0];var _=require(_0x4859[1]);var ChatVisitor=require(_0x4859[3])[_0x4859[2]];exports[_0x4859[4]]=function(_0x94abx3,_0x94abx4){ChatVisitor[_0x4859[9]]()[_0x4859[8]](function(_0x94abx6){return _0x94abx4[_0x4859[7]](200)[_0x4859[6]](_0x94abx6)})[_0x4859[5]](function(_0x94abx5){return handleError(_0x94abx4,_0x94abx5)})};exports[_0x4859[10]]=function(_0x94abx3,_0x94abx4){ChatVisitor[_0x4859[14]](_0x94abx3[_0x4859[13]][_0x4859[12]])[_0x4859[8]](function(_0x94abx7){if(!_0x94abx7){return _0x94abx4[_0x4859[11]](404)};return _0x94abx4[_0x4859[6]](_0x94abx7);})[_0x4859[5]](function(_0x94abx5){return handleError(_0x94abx4,_0x94abx5)})};exports[_0x4859[15]]=function(_0x94abx3,_0x94abx4){ChatVisitor[_0x4859[15]](_0x94abx3[_0x4859[16]])[_0x4859[8]](function(_0x94abx7){return _0x94abx4[_0x4859[7]](201)[_0x4859[6]](_0x94abx7)})[_0x4859[5]](function(_0x94abx5){return handleError(_0x94abx4,_0x94abx5)})};exports[_0x4859[17]]=function(_0x94abx3,_0x94abx4){if(_0x94abx3[_0x4859[16]][_0x4859[12]]){delete _0x94abx3[_0x4859[16]][_0x4859[12]]};ChatVisitor[_0x4859[14]](_0x94abx3[_0x4859[13]][_0x4859[12]])[_0x4859[8]](function(_0x94abx7){if(!_0x94abx7){return _0x94abx4[_0x4859[11]](404)};var _0x94abx8=_[_0x4859[18]](_0x94abx7,_0x94abx3[_0x4859[16]]);_0x94abx8[_0x4859[19]]()[_0x4859[8]](function(){return _0x94abx4[_0x4859[7]](200)[_0x4859[6]](_0x94abx7)})[_0x4859[5]](function(_0x94abx5){return handleError(_0x94abx4,_0x94abx5)});})[_0x4859[5]](function(_0x94abx5){return handleError(_0x94abx4,_0x94abx5)});};exports[_0x4859[20]]=function(_0x94abx3,_0x94abx4){ChatVisitor[_0x4859[14]](_0x94abx3[_0x4859[13]][_0x4859[12]])[_0x4859[8]](function(_0x94abx7){if(!_0x94abx7){return _0x94abx4[_0x4859[11]](404)};_0x94abx7[_0x4859[20]]()[_0x4859[8]](function(){return _0x94abx4[_0x4859[11]](204)})[_0x4859[5]](function(_0x94abx5){return handleError(_0x94abx4,_0x94abx5)});})[_0x4859[5]](function(_0x94abx5){return handleError(_0x94abx4,_0x94abx5)})};function handleError(_0x94abx4,_0x94abx5){return _0x94abx4[_0x4859[7]](500)[_0x4859[6]](_0x94abx5)}
\ No newline at end of file
index b998376..0847be8 100644 (file)
@@ -1 +1 @@
-var _0xac3b=["\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"];_0xac3b[0];var chat_visitor=require(_0xac3b[2])[_0xac3b[1]];exports[_0xac3b[3]]=function(_0xe663x2){chat_visitor[_0xac3b[4]](function(_0xe663x3){onSave(_0xe663x2,_0xe663x3)});chat_visitor[_0xac3b[5]](function(_0xe663x3){onSave(_0xe663x2,_0xe663x3)});chat_visitor[_0xac3b[6]](function(_0xe663x3){onRemove(_0xe663x2,_0xe663x3)});};function onSave(_0xe663x2,_0xe663x3,_0xe663x5){_0xe663x2[_0xac3b[8]](_0xac3b[7],_0xe663x3)}function onRemove(_0xe663x2,_0xe663x3,_0xe663x5){_0xe663x2[_0xac3b[8]](_0xac3b[9],_0xe663x3)}
\ No newline at end of file
+var _0x97f6=["\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"];_0x97f6[0];var chat_visitor=require(_0x97f6[2])[_0x97f6[1]];exports[_0x97f6[3]]=function(_0xcf86x2){chat_visitor[_0x97f6[4]](function(_0xcf86x3){onSave(_0xcf86x2,_0xcf86x3)});chat_visitor[_0x97f6[5]](function(_0xcf86x3){onSave(_0xcf86x2,_0xcf86x3)});chat_visitor[_0x97f6[6]](function(_0xcf86x3){onRemove(_0xcf86x2,_0xcf86x3)});};function onSave(_0xcf86x2,_0xcf86x3,_0xcf86x5){_0xcf86x2[_0x97f6[8]](_0x97f6[7],_0xcf86x3)}function onRemove(_0xcf86x2,_0xcf86x3,_0xcf86x5){_0xcf86x2[_0x97f6[8]](_0x97f6[9],_0xcf86x3)}
\ No newline at end of file
index 8c237c9..7788466 100644 (file)
@@ -1 +1 @@
-var _0x7c46=["\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\x63\x68\x61\x74\x2F\x76\x69\x73\x69\x74\x6F\x72\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\x63\x68\x61\x74\x2F\x76\x69\x73\x69\x74\x6F\x72\x73","\x67\x65\x74"];_0x7c46[0];var should=require(_0x7c46[1]);var app=require(_0x7c46[2]);var request=require(_0x7c46[3]);describe(_0x7c46[4],function(){it(_0x7c46[5],function(_0x5a11x4){request(app)[_0x7c46[13]](_0x7c46[12])[_0x7c46[11]](200)[_0x7c46[11]](_0x7c46[10],/json/)[_0x7c46[9]](function(_0x5a11x5,_0x5a11x6){if(_0x5a11x5){return _0x5a11x4(_0x5a11x5)};_0x5a11x6[_0x7c46[8]][_0x7c46[1]][_0x7c46[7]][_0x7c46[6]](Array);_0x5a11x4();})})});
\ No newline at end of file
+var _0x9ee5=["\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\x63\x68\x61\x74\x2F\x76\x69\x73\x69\x74\x6F\x72\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\x63\x68\x61\x74\x2F\x76\x69\x73\x69\x74\x6F\x72\x73","\x67\x65\x74"];_0x9ee5[0];var should=require(_0x9ee5[1]);var app=require(_0x9ee5[2]);var request=require(_0x9ee5[3]);describe(_0x9ee5[4],function(){it(_0x9ee5[5],function(_0xa831x4){request(app)[_0x9ee5[13]](_0x9ee5[12])[_0x9ee5[11]](200)[_0x9ee5[11]](_0x9ee5[10],/json/)[_0x9ee5[9]](function(_0xa831x5,_0xa831x6){if(_0xa831x5){return _0xa831x4(_0xa831x5)};_0xa831x6[_0x9ee5[8]][_0x9ee5[1]][_0x9ee5[7]][_0x9ee5[6]](Array);_0xa831x4();})})});
\ No newline at end of file
index bf17812..8785358 100644 (file)
@@ -1 +1 @@
-var _0x944b=["\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","\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"];_0x944b[0];var express=require(_0x944b[1]);var controller=require(_0x944b[2]);var router=express.Router();router[_0x944b[5]](_0x944b[3],controller[_0x944b[4]]);router[_0x944b[5]](_0x944b[6],controller[_0x944b[7]]);router[_0x944b[9]](_0x944b[3],controller[_0x944b[8]]);router[_0x944b[11]](_0x944b[6],controller[_0x944b[10]]);router[_0x944b[12]](_0x944b[6],controller[_0x944b[10]]);router[_0x944b[14]](_0x944b[6],controller[_0x944b[13]]);module[_0x944b[15]]=router;
\ No newline at end of file
+var _0xfb2a=["\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\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\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"];_0xfb2a[0];var express=require(_0xfb2a[1]);var controller=require(_0xfb2a[2]);var license=require(_0xfb2a[3]);var router=express.Router();router[_0xfb2a[8]](_0xfb2a[4],license[_0xfb2a[5]](),license[_0xfb2a[6]](),controller[_0xfb2a[7]]);router[_0xfb2a[8]](_0xfb2a[9],license[_0xfb2a[5]](),license[_0xfb2a[6]](),controller[_0xfb2a[10]]);router[_0xfb2a[12]](_0xfb2a[4],license[_0xfb2a[5]](),license[_0xfb2a[6]](),controller[_0xfb2a[11]]);router[_0xfb2a[14]](_0xfb2a[9],license[_0xfb2a[5]](),license[_0xfb2a[6]](),controller[_0xfb2a[13]]);router[_0xfb2a[15]](_0xfb2a[9],license[_0xfb2a[5]](),license[_0xfb2a[6]](),controller[_0xfb2a[13]]);router[_0xfb2a[17]](_0xfb2a[9],license[_0xfb2a[5]](),license[_0xfb2a[6]](),controller[_0xfb2a[16]]);module[_0xfb2a[18]]=router;
\ No newline at end of file
index ee9b330..782d95c 100644 (file)
@@ -1 +1 @@
-var _0xba00=["\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","\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\x41\x70\x70\x6C\x69\x63\x61\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","\x6E\x61\x6D\x65","\x61\x64\x64\x72\x65\x73\x73","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x72\x65\x6D\x6F\x74\x65","\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","\x67\x65\x74\x53\x6E\x69\x70\x70\x65\x74\x43\x6F\x64\x65","\x72\x65\x6E\x64\x65\x72","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x66\x69\x6E\x64","\x73\x6F\x72\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6C\x65\x6E\x67\x74\x68","\x70\x72\x69\x6F\x72\x69\x74\x79","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x77\x61\x74\x65\x72\x66\x61\x6C\x6C","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0xba00[0];var _=require(_0xba00[1]);var util=require(_0xba00[2]);var async=require(_0xba00[3]);var Mustache=require(_0xba00[4]);var sequelize=require(_0xba00[6])[_0xba00[5]];var ChatWebsite=require(_0xba00[6])[_0xba00[7]];var ChatApplication=require(_0xba00[6])[_0xba00[8]];var snippet=require(_0xba00[10])[_0xba00[9]];exports[_0xba00[11]]=function(_0x2a3ax9,_0x2a3axa,_0x2a3axb){var _0x2a3axc=[_0xba00[12],_0xba00[13],_0xba00[14],_0xba00[15]];var _0x2a3axd=_0x2a3ax9[_0xba00[17]][_0xba00[16]]?parseInt(_0x2a3ax9[_0xba00[17]][_0xba00[16]],10):100;var _0x2a3axe=_0x2a3ax9[_0xba00[17]][_0xba00[18]]?parseInt(_0x2a3ax9[_0xba00[17]][_0xba00[18]],10):0;var _0x2a3axf={where:{},limit:_0x2a3axd,offset:_0x2a3axe*_0x2a3axd};_[_0xba00[32]](_0x2a3ax9[_0xba00[17]],function(_0x2a3ax10,_0x2a3ax11){switch(_0x2a3ax11){case _0xba00[16]:;case _0xba00[18]:break ;;case _0xba00[21]:_0x2a3axf[_0xba00[19]]=util[_0xba00[24]](_0xba00[20],_0x2a3ax9[_0xba00[17]][_0xba00[21]],_0x2a3ax9[_0xba00[17]][_0xba00[22]]||_0xba00[23])||null;break ;;case _0xba00[22]:break ;;case _0xba00[30]:_0x2a3axf[_0xba00[26]][_0xba00[25]]=[];_0x2a3axc[_0xba00[29]](function(_0x2a3ax12){var _0x2a3ax13={};_0x2a3ax13[_0x2a3ax12]={$like:_0xba00[27]+_0x2a3ax10+_0xba00[27]};_0x2a3axf[_0xba00[26]][_0xba00[25]][_0xba00[28]](_0x2a3ax13);});break ;;default:_0x2a3axf[_0xba00[26]][_0x2a3ax11]={$like:{}};_0x2a3axf[_0xba00[26]][_0x2a3ax11][_0xba00[31]]=_0xba00[27]+_0x2a3ax10+_0xba00[27];;}});ChatWebsite[_0xba00[47]](_0x2a3axf)[_0xba00[46]](function(_0x2a3ax15){var _0x2a3ax16=Math[_0xba00[38]](_0x2a3ax15[_0xba00[37]]/_0x2a3axd);var _0x2a3ax17=_0x2a3ax16>(_0x2a3axf[_0xba00[39]]+1)?util[_0xba00[24]](_0xba00[40],_0x2a3ax9[_0xba00[41]],_0x2a3ax9[_0xba00[43]][_0xba00[42]],_0x2a3ax9[_0xba00[44]],_0x2a3axe+1):null;var _0x2a3ax18=_0x2a3axe>0?util[_0xba00[24]](_0xba00[40],_0x2a3ax9[_0xba00[41]],_0x2a3ax9[_0xba00[43]][_0xba00[42]],_0x2a3ax9[_0xba00[44]],_0x2a3axe-1):null;_0x2a3axa[_0xba00[35]](200)[_0xba00[34]]({count:_0x2a3ax15[_0xba00[37]],rows:_0x2a3ax15[_0xba00[45]],next_page:_0x2a3ax17,previous_page:_0x2a3ax18,total_pages:_0x2a3ax16});})[_0xba00[36]](function(_0x2a3ax14){_0x2a3axa[_0xba00[35]](500)[_0xba00[34]]({error:_0xba00[33]})});};exports[_0xba00[48]]=function(_0x2a3ax9,_0x2a3axa){ChatWebsite[_0xba00[52]](_0x2a3ax9[_0xba00[51]][_0xba00[50]])[_0xba00[46]](function(_0x2a3ax19){if(!_0x2a3ax19){return _0x2a3axa[_0xba00[49]](404)};return _0x2a3axa[_0xba00[34]](_0x2a3ax19);})[_0xba00[36]](function(_0x2a3ax14){return handleError(_0x2a3axa,_0x2a3ax14)})};exports[_0xba00[53]]=function(_0x2a3ax9,_0x2a3axa){ChatWebsite[_0xba00[52]](_0x2a3ax9[_0xba00[51]][_0xba00[50]])[_0xba00[46]](function(_0x2a3ax19){var _0x2a3ax1a={remote:_0x2a3ax19[_0xba00[15]],websiteId:_0x2a3ax9[_0xba00[51]][_0xba00[50]]};var _0x2a3ax1b=Mustache[_0xba00[54]](snippet,_0x2a3ax1a);return _0x2a3axa[_0xba00[34]](_0x2a3ax1b);})[_0xba00[36]](function(_0x2a3ax14){return handleError(_0x2a3axa,_0x2a3ax14)})};exports[_0xba00[55]]=function(_0x2a3ax9,_0x2a3axa){ChatWebsite[_0xba00[55]](_0x2a3ax9[_0xba00[56]])[_0xba00[46]](function(_0x2a3ax19){return _0x2a3axa[_0xba00[35]](201)[_0xba00[34]](_0x2a3ax19)})[_0xba00[36]](function(_0x2a3ax14){return handleError(_0x2a3axa,_0x2a3ax14)})};exports[_0xba00[57]]=function(_0x2a3ax9,_0x2a3axa){if(_0x2a3ax9[_0xba00[56]][_0xba00[50]]){delete _0x2a3ax9[_0xba00[56]][_0xba00[50]]};return ChatWebsite[_0xba00[52]](_0x2a3ax9[_0xba00[51]][_0xba00[50]])[_0xba00[46]](function(_0x2a3ax19){if(!_0x2a3ax19){return _0x2a3axa[_0xba00[49]](404)};return _0x2a3ax19[_0xba00[57]](_0x2a3ax9[_0xba00[56]])[_0xba00[46]](function(_0x2a3ax19){return _0x2a3axa[_0xba00[35]](200)[_0xba00[34]](_0x2a3ax19)});})[_0xba00[36]](function(_0x2a3ax14){return handleError(_0x2a3axa,_0x2a3ax14)});};exports[_0xba00[58]]=function(_0x2a3ax9,_0x2a3axa){ChatWebsite[_0xba00[59]]({where:{id:_0x2a3ax9[_0xba00[51]][_0xba00[50]]}})[_0xba00[46]](function(_0x2a3ax19){if(!_0x2a3ax19){return _0x2a3axa[_0xba00[49]](404)};_0x2a3ax19[_0xba00[58]]()[_0xba00[46]](function(){return _0x2a3axa[_0xba00[49]](204)})[_0xba00[36]](function(_0x2a3ax14){return handleError(_0x2a3axa,_0x2a3ax14)});})[_0xba00[36]](function(_0x2a3ax14){return handleError(_0x2a3axa,_0x2a3ax14)})};exports[_0xba00[60]]=function(_0x2a3ax9,_0x2a3axa,_0x2a3axb){ChatApplication[_0xba00[66]]({where:{id:_0x2a3ax9[_0xba00[56]][_0xba00[61]]}})[_0xba00[46]](function(_0x2a3ax1c){var _0x2a3ax1d=_0x2a3ax1c;async[_0xba00[67]]([function(_0x2a3ax1e){ChatApplication[_0xba00[58]]({where:{id:_0x2a3ax9[_0xba00[56]][_0xba00[61]]}})[_0xba00[46]](function(){_0x2a3ax1e()})[_0xba00[36]](function(_0x2a3ax14){_0x2a3ax1e(_0x2a3ax14)})},function(_0x2a3ax1e){var _0x2a3ax1f=[];for(var _0x2a3ax20=0;_0x2a3ax20<_0x2a3ax9[_0xba00[56]][_0xba00[61]][_0xba00[62]];_0x2a3ax20++){var _0x2a3ax21=_[_0xba00[59]](_0x2a3ax1d,{"\x69\x64":_0x2a3ax9[_0xba00[56]][_0xba00[61]][_0x2a3ax20]});if(_0x2a3ax21){_0x2a3ax21[_0xba00[63]]=_0x2a3ax20+1;_0x2a3ax1f[_0xba00[28]](_0x2a3ax21[_0xba00[64]]);};};ChatApplication[_0xba00[65]](_0x2a3ax1f)[_0xba00[46]](function(){_0x2a3ax1e()})[_0xba00[36]](function(_0x2a3ax14){_0x2a3ax1e(_0x2a3ax14)});},function(_0x2a3ax1e){ChatApplication[_0xba00[66]]({where:{id:_0x2a3ax9[_0xba00[56]][_0xba00[61]]},order:_0xba00[63],include:[{all:true}]})[_0xba00[46]](function(_0x2a3ax1c){_0x2a3ax1e(null,_0x2a3ax1c)})[_0xba00[36]](function(_0x2a3ax14){_0x2a3ax1e(_0x2a3ax14)})}],function(_0x2a3ax14,_0x2a3ax15){if(_0x2a3ax14){return handleError(_0x2a3axa,_0x2a3ax14)}else {return _0x2a3axa[_0xba00[35]](201)[_0xba00[34]](_0x2a3ax15)}});})[_0xba00[36]](function(_0x2a3ax14){return handleError(_0x2a3axa,_0x2a3ax14)})};exports[_0xba00[68]]=function(_0x2a3ax9,_0x2a3axa){ChatWebsite[_0xba00[58]]({where:{id:_0x2a3ax9[_0xba00[17]][_0xba00[50]]},individualHooks:true})[_0xba00[46]](function(){return _0x2a3axa[_0xba00[49]](204)})[_0xba00[36]](function(_0x2a3ax14){return handleError(_0x2a3axa,_0x2a3ax14)})};function handleError(_0x2a3axa,_0x2a3ax14){return _0x2a3axa[_0xba00[35]](500)[_0xba00[34]](_0x2a3ax14)}
\ No newline at end of file
+var _0x1340=["\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","\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\x41\x70\x70\x6C\x69\x63\x61\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","\x6E\x61\x6D\x65","\x61\x64\x64\x72\x65\x73\x73","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x72\x65\x6D\x6F\x74\x65","\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","\x67\x65\x74\x53\x6E\x69\x70\x70\x65\x74\x43\x6F\x64\x65","\x72\x65\x6E\x64\x65\x72","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x66\x69\x6E\x64","\x73\x6F\x72\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6C\x65\x6E\x67\x74\x68","\x70\x72\x69\x6F\x72\x69\x74\x79","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x77\x61\x74\x65\x72\x66\x61\x6C\x6C","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0x1340[0];var _=require(_0x1340[1]);var util=require(_0x1340[2]);var async=require(_0x1340[3]);var Mustache=require(_0x1340[4]);var sequelize=require(_0x1340[6])[_0x1340[5]];var ChatWebsite=require(_0x1340[6])[_0x1340[7]];var ChatApplication=require(_0x1340[6])[_0x1340[8]];var snippet=require(_0x1340[10])[_0x1340[9]];exports[_0x1340[11]]=function(_0x7dc3x9,_0x7dc3xa,_0x7dc3xb){var _0x7dc3xc=[_0x1340[12],_0x1340[13],_0x1340[14],_0x1340[15]];var _0x7dc3xd=_0x7dc3x9[_0x1340[17]][_0x1340[16]]?parseInt(_0x7dc3x9[_0x1340[17]][_0x1340[16]],10):100;var _0x7dc3xe=_0x7dc3x9[_0x1340[17]][_0x1340[18]]?parseInt(_0x7dc3x9[_0x1340[17]][_0x1340[18]],10):0;var _0x7dc3xf={where:{},limit:_0x7dc3xd,offset:_0x7dc3xe*_0x7dc3xd};_[_0x1340[32]](_0x7dc3x9[_0x1340[17]],function(_0x7dc3x10,_0x7dc3x11){switch(_0x7dc3x11){case _0x1340[16]:;case _0x1340[18]:break ;;case _0x1340[21]:_0x7dc3xf[_0x1340[19]]=util[_0x1340[24]](_0x1340[20],_0x7dc3x9[_0x1340[17]][_0x1340[21]],_0x7dc3x9[_0x1340[17]][_0x1340[22]]||_0x1340[23])||null;break ;;case _0x1340[22]:break ;;case _0x1340[30]:_0x7dc3xf[_0x1340[26]][_0x1340[25]]=[];_0x7dc3xc[_0x1340[29]](function(_0x7dc3x12){var _0x7dc3x13={};_0x7dc3x13[_0x7dc3x12]={$like:_0x1340[27]+_0x7dc3x10+_0x1340[27]};_0x7dc3xf[_0x1340[26]][_0x1340[25]][_0x1340[28]](_0x7dc3x13);});break ;;default:_0x7dc3xf[_0x1340[26]][_0x7dc3x11]={$like:{}};_0x7dc3xf[_0x1340[26]][_0x7dc3x11][_0x1340[31]]=_0x1340[27]+_0x7dc3x10+_0x1340[27];;}});ChatWebsite[_0x1340[47]](_0x7dc3xf)[_0x1340[46]](function(_0x7dc3x15){var _0x7dc3x16=Math[_0x1340[38]](_0x7dc3x15[_0x1340[37]]/_0x7dc3xd);var _0x7dc3x17=_0x7dc3x16>(_0x7dc3xf[_0x1340[39]]+1)?util[_0x1340[24]](_0x1340[40],_0x7dc3x9[_0x1340[41]],_0x7dc3x9[_0x1340[43]][_0x1340[42]],_0x7dc3x9[_0x1340[44]],_0x7dc3xe+1):null;var _0x7dc3x18=_0x7dc3xe>0?util[_0x1340[24]](_0x1340[40],_0x7dc3x9[_0x1340[41]],_0x7dc3x9[_0x1340[43]][_0x1340[42]],_0x7dc3x9[_0x1340[44]],_0x7dc3xe-1):null;_0x7dc3xa[_0x1340[35]](200)[_0x1340[34]]({count:_0x7dc3x15[_0x1340[37]],rows:_0x7dc3x15[_0x1340[45]],next_page:_0x7dc3x17,previous_page:_0x7dc3x18,total_pages:_0x7dc3x16});})[_0x1340[36]](function(_0x7dc3x14){_0x7dc3xa[_0x1340[35]](500)[_0x1340[34]]({error:_0x1340[33]})});};exports[_0x1340[48]]=function(_0x7dc3x9,_0x7dc3xa){ChatWebsite[_0x1340[52]](_0x7dc3x9[_0x1340[51]][_0x1340[50]])[_0x1340[46]](function(_0x7dc3x19){if(!_0x7dc3x19){return _0x7dc3xa[_0x1340[49]](404)};return _0x7dc3xa[_0x1340[34]](_0x7dc3x19);})[_0x1340[36]](function(_0x7dc3x14){return handleError(_0x7dc3xa,_0x7dc3x14)})};exports[_0x1340[53]]=function(_0x7dc3x9,_0x7dc3xa){ChatWebsite[_0x1340[52]](_0x7dc3x9[_0x1340[51]][_0x1340[50]])[_0x1340[46]](function(_0x7dc3x19){var _0x7dc3x1a={remote:_0x7dc3x19[_0x1340[15]],websiteId:_0x7dc3x9[_0x1340[51]][_0x1340[50]]};var _0x7dc3x1b=Mustache[_0x1340[54]](snippet,_0x7dc3x1a);return _0x7dc3xa[_0x1340[34]](_0x7dc3x1b);})[_0x1340[36]](function(_0x7dc3x14){return handleError(_0x7dc3xa,_0x7dc3x14)})};exports[_0x1340[55]]=function(_0x7dc3x9,_0x7dc3xa){ChatWebsite[_0x1340[55]](_0x7dc3x9[_0x1340[56]])[_0x1340[46]](function(_0x7dc3x19){return _0x7dc3xa[_0x1340[35]](201)[_0x1340[34]](_0x7dc3x19)})[_0x1340[36]](function(_0x7dc3x14){return handleError(_0x7dc3xa,_0x7dc3x14)})};exports[_0x1340[57]]=function(_0x7dc3x9,_0x7dc3xa){if(_0x7dc3x9[_0x1340[56]][_0x1340[50]]){delete _0x7dc3x9[_0x1340[56]][_0x1340[50]]};return ChatWebsite[_0x1340[52]](_0x7dc3x9[_0x1340[51]][_0x1340[50]])[_0x1340[46]](function(_0x7dc3x19){if(!_0x7dc3x19){return _0x7dc3xa[_0x1340[49]](404)};return _0x7dc3x19[_0x1340[57]](_0x7dc3x9[_0x1340[56]])[_0x1340[46]](function(_0x7dc3x19){return _0x7dc3xa[_0x1340[35]](200)[_0x1340[34]](_0x7dc3x19)});})[_0x1340[36]](function(_0x7dc3x14){return handleError(_0x7dc3xa,_0x7dc3x14)});};exports[_0x1340[58]]=function(_0x7dc3x9,_0x7dc3xa){ChatWebsite[_0x1340[59]]({where:{id:_0x7dc3x9[_0x1340[51]][_0x1340[50]]}})[_0x1340[46]](function(_0x7dc3x19){if(!_0x7dc3x19){return _0x7dc3xa[_0x1340[49]](404)};_0x7dc3x19[_0x1340[58]]()[_0x1340[46]](function(){return _0x7dc3xa[_0x1340[49]](204)})[_0x1340[36]](function(_0x7dc3x14){return handleError(_0x7dc3xa,_0x7dc3x14)});})[_0x1340[36]](function(_0x7dc3x14){return handleError(_0x7dc3xa,_0x7dc3x14)})};exports[_0x1340[60]]=function(_0x7dc3x9,_0x7dc3xa,_0x7dc3xb){ChatApplication[_0x1340[66]]({where:{id:_0x7dc3x9[_0x1340[56]][_0x1340[61]]}})[_0x1340[46]](function(_0x7dc3x1c){var _0x7dc3x1d=_0x7dc3x1c;async[_0x1340[67]]([function(_0x7dc3x1e){ChatApplication[_0x1340[58]]({where:{id:_0x7dc3x9[_0x1340[56]][_0x1340[61]]}})[_0x1340[46]](function(){_0x7dc3x1e()})[_0x1340[36]](function(_0x7dc3x14){_0x7dc3x1e(_0x7dc3x14)})},function(_0x7dc3x1e){var _0x7dc3x1f=[];for(var _0x7dc3x20=0;_0x7dc3x20<_0x7dc3x9[_0x1340[56]][_0x1340[61]][_0x1340[62]];_0x7dc3x20++){var _0x7dc3x21=_[_0x1340[59]](_0x7dc3x1d,{"\x69\x64":_0x7dc3x9[_0x1340[56]][_0x1340[61]][_0x7dc3x20]});if(_0x7dc3x21){_0x7dc3x21[_0x1340[63]]=_0x7dc3x20+1;_0x7dc3x1f[_0x1340[28]](_0x7dc3x21[_0x1340[64]]);};};ChatApplication[_0x1340[65]](_0x7dc3x1f)[_0x1340[46]](function(){_0x7dc3x1e()})[_0x1340[36]](function(_0x7dc3x14){_0x7dc3x1e(_0x7dc3x14)});},function(_0x7dc3x1e){ChatApplication[_0x1340[66]]({where:{id:_0x7dc3x9[_0x1340[56]][_0x1340[61]]},order:_0x1340[63],include:[{all:true}]})[_0x1340[46]](function(_0x7dc3x1c){_0x7dc3x1e(null,_0x7dc3x1c)})[_0x1340[36]](function(_0x7dc3x14){_0x7dc3x1e(_0x7dc3x14)})}],function(_0x7dc3x14,_0x7dc3x15){if(_0x7dc3x14){return handleError(_0x7dc3xa,_0x7dc3x14)}else {return _0x7dc3xa[_0x1340[35]](201)[_0x1340[34]](_0x7dc3x15)}});})[_0x1340[36]](function(_0x7dc3x14){return handleError(_0x7dc3xa,_0x7dc3x14)})};exports[_0x1340[68]]=function(_0x7dc3x9,_0x7dc3xa){ChatWebsite[_0x1340[58]]({where:{id:_0x7dc3x9[_0x1340[17]][_0x1340[50]]},individualHooks:true})[_0x1340[46]](function(){return _0x7dc3xa[_0x1340[49]](204)})[_0x1340[36]](function(_0x7dc3x14){return handleError(_0x7dc3xa,_0x7dc3x14)})};function handleError(_0x7dc3xa,_0x7dc3x14){return _0x7dc3xa[_0x1340[35]](500)[_0x1340[34]](_0x7dc3x14)}
\ No newline at end of file
index d819790..701ac53 100644 (file)
@@ -1 +1 @@
-var _0xb78f=["\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"];_0xb78f[0];var chat_website=require(_0xb78f[2])[_0xb78f[1]];exports[_0xb78f[3]]=function(_0xbdbcx2){chat_website[_0xb78f[4]](function(_0xbdbcx3){onSave(_0xbdbcx2,_0xbdbcx3)});chat_website[_0xb78f[5]](function(_0xbdbcx3){onRemove(_0xbdbcx2,_0xbdbcx3)});};function onSave(_0xbdbcx2,_0xbdbcx3,_0xbdbcx5){_0xbdbcx2[_0xb78f[7]](_0xb78f[6],_0xbdbcx3)}function onRemove(_0xbdbcx2,_0xbdbcx3,_0xbdbcx5){_0xbdbcx2[_0xb78f[7]](_0xb78f[8],_0xbdbcx3)}
\ No newline at end of file
+var _0x910a=["\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"];_0x910a[0];var chat_website=require(_0x910a[2])[_0x910a[1]];exports[_0x910a[3]]=function(_0xce29x2){chat_website[_0x910a[4]](function(_0xce29x3){onSave(_0xce29x2,_0xce29x3)});chat_website[_0x910a[5]](function(_0xce29x3){onRemove(_0xce29x2,_0xce29x3)});};function onSave(_0xce29x2,_0xce29x3,_0xce29x5){_0xce29x2[_0x910a[7]](_0x910a[6],_0xce29x3)}function onRemove(_0xce29x2,_0xce29x3,_0xce29x5){_0xce29x2[_0x910a[7]](_0x910a[8],_0xce29x3)}
\ No newline at end of file
index d96023d..5ec1471 100644 (file)
@@ -1 +1 @@
-var _0x25fe=["\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\x63\x68\x61\x74\x2F\x77\x65\x62\x73\x69\x74\x65\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\x63\x68\x61\x74\x2F\x77\x65\x62\x73\x69\x74\x65\x73","\x67\x65\x74"];_0x25fe[0];var should=require(_0x25fe[1]);var app=require(_0x25fe[2]);var request=require(_0x25fe[3]);describe(_0x25fe[4],function(){it(_0x25fe[5],function(_0x13cax4){request(app)[_0x25fe[13]](_0x25fe[12])[_0x25fe[11]](200)[_0x25fe[11]](_0x25fe[10],/json/)[_0x25fe[9]](function(_0x13cax5,_0x13cax6){if(_0x13cax5){return _0x13cax4(_0x13cax5)};_0x13cax6[_0x25fe[8]][_0x25fe[1]][_0x25fe[7]][_0x25fe[6]](Array);_0x13cax4();})})});
\ No newline at end of file
+var _0x47a6=["\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\x63\x68\x61\x74\x2F\x77\x65\x62\x73\x69\x74\x65\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\x63\x68\x61\x74\x2F\x77\x65\x62\x73\x69\x74\x65\x73","\x67\x65\x74"];_0x47a6[0];var should=require(_0x47a6[1]);var app=require(_0x47a6[2]);var request=require(_0x47a6[3]);describe(_0x47a6[4],function(){it(_0x47a6[5],function(_0xd5bbx4){request(app)[_0x47a6[13]](_0x47a6[12])[_0x47a6[11]](200)[_0x47a6[11]](_0x47a6[10],/json/)[_0x47a6[9]](function(_0xd5bbx5,_0xd5bbx6){if(_0xd5bbx5){return _0xd5bbx4(_0xd5bbx5)};_0xd5bbx6[_0x47a6[8]][_0x47a6[1]][_0x47a6[7]][_0x47a6[6]](Array);_0xd5bbx4();})})});
\ No newline at end of file
index bf4de41..67c6a3e 100644 (file)
@@ -1 +1 @@
-var _0x6f0b=["\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","\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\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","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x6F\x72\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\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","\x65\x78\x70\x6F\x72\x74\x73"];_0x6f0b[0];var express=require(_0x6f0b[1]);var controller=require(_0x6f0b[2]);var auth=require(_0x6f0b[3]);var router=express.Router();router[_0x6f0b[7]](_0x6f0b[4],auth[_0x6f0b[5]](),controller[_0x6f0b[6]]);router[_0x6f0b[7]](_0x6f0b[8],auth[_0x6f0b[5]](),controller[_0x6f0b[9]]);router[_0x6f0b[7]](_0x6f0b[10],auth[_0x6f0b[5]](),controller[_0x6f0b[11]]);router[_0x6f0b[13]](_0x6f0b[4],auth[_0x6f0b[5]](),controller[_0x6f0b[12]]);router[_0x6f0b[13]](_0x6f0b[14],auth[_0x6f0b[5]](),controller[_0x6f0b[15]]);router[_0x6f0b[17]](_0x6f0b[8],auth[_0x6f0b[5]](),controller[_0x6f0b[16]]);router[_0x6f0b[18]](_0x6f0b[8],auth[_0x6f0b[5]](),controller[_0x6f0b[16]]);router[_0x6f0b[20]](_0x6f0b[4],auth[_0x6f0b[5]](),controller[_0x6f0b[19]]);router[_0x6f0b[20]](_0x6f0b[8],auth[_0x6f0b[5]](),controller[_0x6f0b[21]]);module[_0x6f0b[22]]=router;
\ No newline at end of file
+var _0x8ee6=["\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\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\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","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x6F\x72\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\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","\x65\x78\x70\x6F\x72\x74\x73"];_0x8ee6[0];var express=require(_0x8ee6[1]);var controller=require(_0x8ee6[2]);var auth=require(_0x8ee6[3]);var license=require(_0x8ee6[4]);var router=express.Router();router[_0x8ee6[8]](_0x8ee6[5],auth[_0x8ee6[6]](),controller[_0x8ee6[7]]);router[_0x8ee6[8]](_0x8ee6[9],auth[_0x8ee6[6]](),controller[_0x8ee6[10]]);router[_0x8ee6[8]](_0x8ee6[11],auth[_0x8ee6[6]](),controller[_0x8ee6[12]]);router[_0x8ee6[14]](_0x8ee6[5],auth[_0x8ee6[6]](),controller[_0x8ee6[13]]);router[_0x8ee6[14]](_0x8ee6[15],auth[_0x8ee6[6]](),controller[_0x8ee6[16]]);router[_0x8ee6[18]](_0x8ee6[9],auth[_0x8ee6[6]](),controller[_0x8ee6[17]]);router[_0x8ee6[19]](_0x8ee6[9],auth[_0x8ee6[6]](),controller[_0x8ee6[17]]);router[_0x8ee6[21]](_0x8ee6[5],auth[_0x8ee6[6]](),controller[_0x8ee6[20]]);router[_0x8ee6[21]](_0x8ee6[9],auth[_0x8ee6[6]](),controller[_0x8ee6[22]]);module[_0x8ee6[23]]=router;
\ No newline at end of file
index c0f2d3e..52adea2 100644 (file)
@@ -1 +1 @@
-var _0xa2e5=["\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","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x63\x6F\x6D\x70\x61\x6E\x79\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x6C\x6F\x67","\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","\x75\x70\x64\x61\x74\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","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0xa2e5[0];var _=require(_0xa2e5[1]);var Company=require(_0xa2e5[3])[_0xa2e5[2]];var util=require(_0xa2e5[4]);exports[_0xa2e5[5]]=function(_0xfaf6x4,_0xfaf6x5){var _0xfaf6x6=[_0xa2e5[6],_0xa2e5[7]];var _0xfaf6x7=_0xfaf6x4[_0xa2e5[9]][_0xa2e5[8]]?parseInt(_0xfaf6x4[_0xa2e5[9]][_0xa2e5[8]],10):100;var _0xfaf6x8=_0xfaf6x4[_0xa2e5[9]][_0xa2e5[10]]?parseInt(_0xfaf6x4[_0xa2e5[9]][_0xa2e5[10]],10):0;var _0xfaf6x9={where:{},limit:_0xfaf6x7,offset:_0xfaf6x8*_0xfaf6x7};_[_0xa2e5[24]](_0xfaf6x4[_0xa2e5[9]],function(_0xfaf6xa,_0xfaf6xb){switch(_0xfaf6xb){case _0xa2e5[8]:;case _0xa2e5[10]:break ;;case _0xa2e5[13]:_0xfaf6x9[_0xa2e5[11]]=util[_0xa2e5[16]](_0xa2e5[12],_0xfaf6x4[_0xa2e5[9]][_0xa2e5[13]],_0xfaf6x4[_0xa2e5[9]][_0xa2e5[14]]||_0xa2e5[15])||null;break ;;case _0xa2e5[14]:break ;;case _0xa2e5[22]:_0xfaf6x9[_0xa2e5[18]][_0xa2e5[17]]=[];_0xfaf6x6[_0xa2e5[21]](function(_0xfaf6xc){var _0xfaf6xd={};_0xfaf6xd[_0xfaf6xc]={$like:_0xa2e5[19]+_0xfaf6xa+_0xa2e5[19]};_0xfaf6x9[_0xa2e5[18]][_0xa2e5[17]][_0xa2e5[20]](_0xfaf6xd);});break ;;default:_0xfaf6x9[_0xa2e5[18]][_0xfaf6xb]={$like:{}};_0xfaf6x9[_0xa2e5[18]][_0xfaf6xb][_0xa2e5[23]]=_0xa2e5[19]+_0xfaf6xa+_0xa2e5[19];;}});Company[_0xa2e5[39]](_0xfaf6x9)[_0xa2e5[38]](function(_0xfaf6xf){var _0xfaf6x10=Math[_0xa2e5[30]](_0xfaf6xf[_0xa2e5[29]]/_0xfaf6x7);var _0xfaf6x11=_0xfaf6x10>(_0xfaf6x9[_0xa2e5[31]]+1)?util[_0xa2e5[16]](_0xa2e5[32],_0xfaf6x4[_0xa2e5[33]],_0xfaf6x4[_0xa2e5[35]][_0xa2e5[34]],_0xfaf6x4[_0xa2e5[36]],_0xfaf6x8+1):null;var _0xfaf6x12=_0xfaf6x8>0?util[_0xa2e5[16]](_0xa2e5[32],_0xfaf6x4[_0xa2e5[33]],_0xfaf6x4[_0xa2e5[35]][_0xa2e5[34]],_0xfaf6x4[_0xa2e5[36]],_0xfaf6x8-1):null;_0xfaf6x5[_0xa2e5[27]](200)[_0xa2e5[26]]({count:_0xfaf6xf[_0xa2e5[29]],rows:_0xfaf6xf[_0xa2e5[37]],next_page:_0xfaf6x11,previous_page:_0xfaf6x12,total_pages:_0xfaf6x10});})[_0xa2e5[28]](function(_0xfaf6xe){_0xfaf6x5[_0xa2e5[27]](500)[_0xa2e5[26]]({error:_0xa2e5[25]})});};exports[_0xa2e5[40]]=function(_0xfaf6x4,_0xfaf6x5){console[_0xa2e5[42]](_0xfaf6x4[_0xa2e5[41]]);Company[_0xa2e5[44]]({where:{name:_0xfaf6x4[_0xa2e5[41]][_0xa2e5[6]]}})[_0xa2e5[38]](function(_0xfaf6x13){if(!_0xfaf6x13){return _0xfaf6x5[_0xa2e5[43]](404)};return _0xfaf6x5[_0xa2e5[26]](_0xfaf6x13);})[_0xa2e5[28]](function(_0xfaf6xe){return handleError(_0xfaf6x5,_0xfaf6xe)});};exports[_0xa2e5[45]]=function(_0xfaf6x4,_0xfaf6x5){Company[_0xa2e5[48]](_0xfaf6x4[_0xa2e5[47]][_0xa2e5[46]])[_0xa2e5[38]](function(_0xfaf6x14){if(!_0xfaf6x14){return _0xfaf6x5[_0xa2e5[43]](404)};return _0xfaf6x5[_0xa2e5[26]](_0xfaf6x14);})[_0xa2e5[28]](function(_0xfaf6xe){return handleError(_0xfaf6x5,_0xfaf6xe)})};exports[_0xa2e5[49]]=function(_0xfaf6x4,_0xfaf6x5){Company[_0xa2e5[49]](_0xfaf6x4[_0xa2e5[41]])[_0xa2e5[38]](function(_0xfaf6x14){return _0xfaf6x5[_0xa2e5[27]](201)[_0xa2e5[26]](_0xfaf6x14)})[_0xa2e5[28]](function(_0xfaf6xe){return handleError(_0xfaf6x5,_0xfaf6xe)})};exports[_0xa2e5[50]]=function(_0xfaf6x4,_0xfaf6x5){Company[_0xa2e5[44]]({where:{name:_0xfaf6x4[_0xa2e5[41]][_0xa2e5[6]],id:{$ne:_0xfaf6x4[_0xa2e5[41]][_0xa2e5[46]]}}})[_0xa2e5[38]](function(_0xfaf6x13){if(!_0xfaf6x13){return _0xfaf6x5[_0xa2e5[43]](404)};if(_0xfaf6x13[_0xa2e5[51]]>0){return _0xfaf6x5[_0xa2e5[27]](500)[_0xa2e5[26]]({message:_0xa2e5[52]})};if(_0xfaf6x4[_0xa2e5[41]][_0xa2e5[46]]){delete _0xfaf6x4[_0xa2e5[41]][_0xa2e5[46]]};Company[_0xa2e5[55]]({where:{id:_0xfaf6x4[_0xa2e5[47]][_0xa2e5[46]]}})[_0xa2e5[38]](function(_0xfaf6x14){if(!_0xfaf6x14){return _0xfaf6x5[_0xa2e5[43]](404)};var _0xfaf6x15=_[_0xa2e5[53]](_0xfaf6x14,_0xfaf6x4[_0xa2e5[41]]);_0xfaf6x15[_0xa2e5[54]]()[_0xa2e5[38]](function(){return _0xfaf6x5[_0xa2e5[27]](200)[_0xa2e5[26]](_0xfaf6x14)})[_0xa2e5[28]](function(_0xfaf6xe){return handleError(_0xfaf6x5,_0xfaf6xe)});})[_0xa2e5[28]](function(_0xfaf6xe){return handleError(_0xfaf6x5,_0xfaf6xe)});})[_0xa2e5[28]](function(_0xfaf6xe){return handleError(_0xfaf6x5,_0xfaf6xe)})};exports[_0xa2e5[56]]=function(_0xfaf6x4,_0xfaf6x5){Company[_0xa2e5[48]](_0xfaf6x4[_0xa2e5[47]][_0xa2e5[46]])[_0xa2e5[38]](function(_0xfaf6x14){if(!_0xfaf6x14){return _0xfaf6x5[_0xa2e5[43]](404)};_0xfaf6x14[_0xa2e5[56]]()[_0xa2e5[38]](function(){return _0xfaf6x5[_0xa2e5[43]](204)})[_0xa2e5[28]](function(_0xfaf6xe){return handleError(_0xfaf6x5,_0xfaf6xe)});})[_0xa2e5[28]](function(_0xfaf6xe){return handleError(_0xfaf6x5,_0xfaf6xe)})};exports[_0xa2e5[57]]=function(_0xfaf6x4,_0xfaf6x5){Company[_0xa2e5[56]]({where:{id:_0xfaf6x4[_0xa2e5[9]][_0xa2e5[46]]},individualHooks:true})[_0xa2e5[38]](function(){return _0xfaf6x5[_0xa2e5[43]](204)})[_0xa2e5[28]](function(_0xfaf6xe){return handleError(_0xfaf6x5,_0xfaf6xe)})};function handleError(_0xfaf6x5,_0xfaf6xe){return _0xfaf6x5[_0xa2e5[27]](500)[_0xa2e5[26]](_0xfaf6xe)}
\ No newline at end of file
+var _0xd3ff=["\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","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x63\x6F\x6D\x70\x61\x6E\x79\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x6C\x6F\x67","\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","\x75\x70\x64\x61\x74\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","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0xd3ff[0];var _=require(_0xd3ff[1]);var Company=require(_0xd3ff[3])[_0xd3ff[2]];var util=require(_0xd3ff[4]);exports[_0xd3ff[5]]=function(_0xbeaex4,_0xbeaex5){var _0xbeaex6=[_0xd3ff[6],_0xd3ff[7]];var _0xbeaex7=_0xbeaex4[_0xd3ff[9]][_0xd3ff[8]]?parseInt(_0xbeaex4[_0xd3ff[9]][_0xd3ff[8]],10):100;var _0xbeaex8=_0xbeaex4[_0xd3ff[9]][_0xd3ff[10]]?parseInt(_0xbeaex4[_0xd3ff[9]][_0xd3ff[10]],10):0;var _0xbeaex9={where:{},limit:_0xbeaex7,offset:_0xbeaex8*_0xbeaex7};_[_0xd3ff[24]](_0xbeaex4[_0xd3ff[9]],function(_0xbeaexa,_0xbeaexb){switch(_0xbeaexb){case _0xd3ff[8]:;case _0xd3ff[10]:break ;;case _0xd3ff[13]:_0xbeaex9[_0xd3ff[11]]=util[_0xd3ff[16]](_0xd3ff[12],_0xbeaex4[_0xd3ff[9]][_0xd3ff[13]],_0xbeaex4[_0xd3ff[9]][_0xd3ff[14]]||_0xd3ff[15])||null;break ;;case _0xd3ff[14]:break ;;case _0xd3ff[22]:_0xbeaex9[_0xd3ff[18]][_0xd3ff[17]]=[];_0xbeaex6[_0xd3ff[21]](function(_0xbeaexc){var _0xbeaexd={};_0xbeaexd[_0xbeaexc]={$like:_0xd3ff[19]+_0xbeaexa+_0xd3ff[19]};_0xbeaex9[_0xd3ff[18]][_0xd3ff[17]][_0xd3ff[20]](_0xbeaexd);});break ;;default:_0xbeaex9[_0xd3ff[18]][_0xbeaexb]={$like:{}};_0xbeaex9[_0xd3ff[18]][_0xbeaexb][_0xd3ff[23]]=_0xd3ff[19]+_0xbeaexa+_0xd3ff[19];;}});Company[_0xd3ff[39]](_0xbeaex9)[_0xd3ff[38]](function(_0xbeaexf){var _0xbeaex10=Math[_0xd3ff[30]](_0xbeaexf[_0xd3ff[29]]/_0xbeaex7);var _0xbeaex11=_0xbeaex10>(_0xbeaex9[_0xd3ff[31]]+1)?util[_0xd3ff[16]](_0xd3ff[32],_0xbeaex4[_0xd3ff[33]],_0xbeaex4[_0xd3ff[35]][_0xd3ff[34]],_0xbeaex4[_0xd3ff[36]],_0xbeaex8+1):null;var _0xbeaex12=_0xbeaex8>0?util[_0xd3ff[16]](_0xd3ff[32],_0xbeaex4[_0xd3ff[33]],_0xbeaex4[_0xd3ff[35]][_0xd3ff[34]],_0xbeaex4[_0xd3ff[36]],_0xbeaex8-1):null;_0xbeaex5[_0xd3ff[27]](200)[_0xd3ff[26]]({count:_0xbeaexf[_0xd3ff[29]],rows:_0xbeaexf[_0xd3ff[37]],next_page:_0xbeaex11,previous_page:_0xbeaex12,total_pages:_0xbeaex10});})[_0xd3ff[28]](function(_0xbeaexe){_0xbeaex5[_0xd3ff[27]](500)[_0xd3ff[26]]({error:_0xd3ff[25]})});};exports[_0xd3ff[40]]=function(_0xbeaex4,_0xbeaex5){console[_0xd3ff[42]](_0xbeaex4[_0xd3ff[41]]);Company[_0xd3ff[44]]({where:{name:_0xbeaex4[_0xd3ff[41]][_0xd3ff[6]]}})[_0xd3ff[38]](function(_0xbeaex13){if(!_0xbeaex13){return _0xbeaex5[_0xd3ff[43]](404)};return _0xbeaex5[_0xd3ff[26]](_0xbeaex13);})[_0xd3ff[28]](function(_0xbeaexe){return handleError(_0xbeaex5,_0xbeaexe)});};exports[_0xd3ff[45]]=function(_0xbeaex4,_0xbeaex5){Company[_0xd3ff[48]](_0xbeaex4[_0xd3ff[47]][_0xd3ff[46]])[_0xd3ff[38]](function(_0xbeaex14){if(!_0xbeaex14){return _0xbeaex5[_0xd3ff[43]](404)};return _0xbeaex5[_0xd3ff[26]](_0xbeaex14);})[_0xd3ff[28]](function(_0xbeaexe){return handleError(_0xbeaex5,_0xbeaexe)})};exports[_0xd3ff[49]]=function(_0xbeaex4,_0xbeaex5){Company[_0xd3ff[49]](_0xbeaex4[_0xd3ff[41]])[_0xd3ff[38]](function(_0xbeaex14){return _0xbeaex5[_0xd3ff[27]](201)[_0xd3ff[26]](_0xbeaex14)})[_0xd3ff[28]](function(_0xbeaexe){return handleError(_0xbeaex5,_0xbeaexe)})};exports[_0xd3ff[50]]=function(_0xbeaex4,_0xbeaex5){Company[_0xd3ff[44]]({where:{name:_0xbeaex4[_0xd3ff[41]][_0xd3ff[6]],id:{$ne:_0xbeaex4[_0xd3ff[41]][_0xd3ff[46]]}}})[_0xd3ff[38]](function(_0xbeaex13){if(!_0xbeaex13){return _0xbeaex5[_0xd3ff[43]](404)};if(_0xbeaex13[_0xd3ff[51]]>0){return _0xbeaex5[_0xd3ff[27]](500)[_0xd3ff[26]]({message:_0xd3ff[52]})};if(_0xbeaex4[_0xd3ff[41]][_0xd3ff[46]]){delete _0xbeaex4[_0xd3ff[41]][_0xd3ff[46]]};Company[_0xd3ff[55]]({where:{id:_0xbeaex4[_0xd3ff[47]][_0xd3ff[46]]}})[_0xd3ff[38]](function(_0xbeaex14){if(!_0xbeaex14){return _0xbeaex5[_0xd3ff[43]](404)};var _0xbeaex15=_[_0xd3ff[53]](_0xbeaex14,_0xbeaex4[_0xd3ff[41]]);_0xbeaex15[_0xd3ff[54]]()[_0xd3ff[38]](function(){return _0xbeaex5[_0xd3ff[27]](200)[_0xd3ff[26]](_0xbeaex14)})[_0xd3ff[28]](function(_0xbeaexe){return handleError(_0xbeaex5,_0xbeaexe)});})[_0xd3ff[28]](function(_0xbeaexe){return handleError(_0xbeaex5,_0xbeaexe)});})[_0xd3ff[28]](function(_0xbeaexe){return handleError(_0xbeaex5,_0xbeaexe)})};exports[_0xd3ff[56]]=function(_0xbeaex4,_0xbeaex5){Company[_0xd3ff[48]](_0xbeaex4[_0xd3ff[47]][_0xd3ff[46]])[_0xd3ff[38]](function(_0xbeaex14){if(!_0xbeaex14){return _0xbeaex5[_0xd3ff[43]](404)};_0xbeaex14[_0xd3ff[56]]()[_0xd3ff[38]](function(){return _0xbeaex5[_0xd3ff[43]](204)})[_0xd3ff[28]](function(_0xbeaexe){return handleError(_0xbeaex5,_0xbeaexe)});})[_0xd3ff[28]](function(_0xbeaexe){return handleError(_0xbeaex5,_0xbeaexe)})};exports[_0xd3ff[57]]=function(_0xbeaex4,_0xbeaex5){Company[_0xd3ff[56]]({where:{id:_0xbeaex4[_0xd3ff[9]][_0xd3ff[46]]},individualHooks:true})[_0xd3ff[38]](function(){return _0xbeaex5[_0xd3ff[43]](204)})[_0xd3ff[28]](function(_0xbeaexe){return handleError(_0xbeaex5,_0xbeaexe)})};function handleError(_0xbeaex5,_0xbeaexe){return _0xbeaex5[_0xd3ff[27]](500)[_0xd3ff[26]](_0xbeaexe)}
\ No newline at end of file
index 938fb73..7fb8567 100644 (file)
@@ -1 +1 @@
-var _0xd97b=["\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"];_0xd97b[0];var Company=require(_0xd97b[2])[_0xd97b[1]];exports[_0xd97b[3]]=function(_0x7b2fx2){Company[_0xd97b[4]](function(_0x7b2fx3){onSave(_0x7b2fx2,_0x7b2fx3)});Company[_0xd97b[5]](function(_0x7b2fx3){onRemove(_0x7b2fx2,_0x7b2fx3)});};function onSave(_0x7b2fx2,_0x7b2fx3,_0x7b2fx5){_0x7b2fx2[_0xd97b[7]](_0xd97b[6],_0x7b2fx3)}function onRemove(_0x7b2fx2,_0x7b2fx3,_0x7b2fx5){_0x7b2fx2[_0xd97b[7]](_0xd97b[8],_0x7b2fx3)}
\ No newline at end of file
+var _0xa7ab=["\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"];_0xa7ab[0];var Company=require(_0xa7ab[2])[_0xa7ab[1]];exports[_0xa7ab[3]]=function(_0xbc37x2){Company[_0xa7ab[4]](function(_0xbc37x3){onSave(_0xbc37x2,_0xbc37x3)});Company[_0xa7ab[5]](function(_0xbc37x3){onRemove(_0xbc37x2,_0xbc37x3)});};function onSave(_0xbc37x2,_0xbc37x3,_0xbc37x5){_0xbc37x2[_0xa7ab[7]](_0xa7ab[6],_0xbc37x3)}function onRemove(_0xbc37x2,_0xbc37x3,_0xbc37x5){_0xbc37x2[_0xa7ab[7]](_0xa7ab[8],_0xbc37x3)}
\ No newline at end of file
index 597588f..6a17a20 100644 (file)
@@ -1 +1 @@
-var _0x520f=["\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\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72\x2F\x63\x6F\x6D\x70\x61\x6E\x69\x65\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\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72\x2F\x63\x6F\x6D\x70\x61\x6E\x69\x65\x73","\x67\x65\x74"];_0x520f[0];var should=require(_0x520f[1]);var app=require(_0x520f[2]);var request=require(_0x520f[3]);describe(_0x520f[4],function(){it(_0x520f[5],function(_0x1a75x4){request(app)[_0x520f[13]](_0x520f[12])[_0x520f[11]](200)[_0x520f[11]](_0x520f[10],/json/)[_0x520f[9]](function(_0x1a75x5,_0x1a75x6){if(_0x1a75x5){return _0x1a75x4(_0x1a75x5)};_0x1a75x6[_0x520f[8]][_0x520f[1]][_0x520f[7]][_0x520f[6]](Array);_0x1a75x4();})})});
\ No newline at end of file
+var _0xe98c=["\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\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72\x2F\x63\x6F\x6D\x70\x61\x6E\x69\x65\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\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72\x2F\x63\x6F\x6D\x70\x61\x6E\x69\x65\x73","\x67\x65\x74"];_0xe98c[0];var should=require(_0xe98c[1]);var app=require(_0xe98c[2]);var request=require(_0xe98c[3]);describe(_0xe98c[4],function(){it(_0xe98c[5],function(_0x7955x4){request(app)[_0xe98c[13]](_0xe98c[12])[_0xe98c[11]](200)[_0xe98c[11]](_0xe98c[10],/json/)[_0xe98c[9]](function(_0x7955x5,_0x7955x6){if(_0x7955x5){return _0x7955x4(_0x7955x5)};_0x7955x6[_0xe98c[8]][_0xe98c[1]][_0xe98c[7]][_0xe98c[6]](Array);_0x7955x4();})})});
\ No newline at end of file
index afb7740..44b2c26 100644 (file)
@@ -1 +1 @@
-var _0xb115=["\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","\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","\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","\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"];_0xb115[0];var express=require(_0xb115[1]);var controller=require(_0xb115[2]);var auth=require(_0xb115[3]);var router=express.Router();router[_0xb115[7]](_0xb115[4],auth[_0xb115[5]](),controller[_0xb115[6]]);router[_0xb115[7]](_0xb115[8],auth[_0xb115[5]](),controller[_0xb115[9]]);router[_0xb115[11]](_0xb115[4],auth[_0xb115[5]](),controller[_0xb115[10]]);router[_0xb115[11]](_0xb115[12],auth[_0xb115[5]](),controller[_0xb115[13]]);router[_0xb115[15]](_0xb115[8],auth[_0xb115[5]](),controller[_0xb115[14]]);router[_0xb115[16]](_0xb115[8],auth[_0xb115[5]](),controller[_0xb115[14]]);router[_0xb115[18]](_0xb115[4],auth[_0xb115[5]](),controller[_0xb115[17]]);router[_0xb115[18]](_0xb115[8],auth[_0xb115[5]](),controller[_0xb115[19]]);module[_0xb115[20]]=router;
\ No newline at end of file
+var _0x68da=["\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","\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","\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","\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"];_0x68da[0];var express=require(_0x68da[1]);var controller=require(_0x68da[2]);var auth=require(_0x68da[3]);var router=express.Router();router[_0x68da[7]](_0x68da[4],auth[_0x68da[5]](),controller[_0x68da[6]]);router[_0x68da[7]](_0x68da[8],auth[_0x68da[5]](),controller[_0x68da[9]]);router[_0x68da[11]](_0x68da[4],auth[_0x68da[5]](),controller[_0x68da[10]]);router[_0x68da[11]](_0x68da[12],auth[_0x68da[5]](),controller[_0x68da[13]]);router[_0x68da[15]](_0x68da[8],auth[_0x68da[5]](),controller[_0x68da[14]]);router[_0x68da[16]](_0x68da[8],auth[_0x68da[5]](),controller[_0x68da[14]]);router[_0x68da[18]](_0x68da[4],auth[_0x68da[5]](),controller[_0x68da[17]]);router[_0x68da[18]](_0x68da[8],auth[_0x68da[5]](),controller[_0x68da[19]]);module[_0x68da[20]]=router;
\ No newline at end of file
index 80e7100..2d988bb 100644 (file)
@@ -1 +1 @@
-var _0x200b=["\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","\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"];_0x200b[0];var _=require(_0x200b[1]);var Contact=require(_0x200b[3])[_0x200b[2]];exports[_0x200b[4]]=function(_0x2875x3,_0x2875x4){Contact[_0x200b[9]]()[_0x200b[8]](function(_0x2875x6){return _0x2875x4[_0x200b[7]](200)[_0x200b[6]](_0x2875x6)})[_0x200b[5]](function(_0x2875x5){return handleError(_0x2875x4,_0x2875x5)})};exports[_0x200b[10]]=function(_0x2875x3,_0x2875x4){Contact[_0x200b[14]](_0x2875x3[_0x200b[13]][_0x200b[12]])[_0x200b[8]](function(_0x2875x7){if(!_0x2875x7){return _0x2875x4[_0x200b[11]](404)};return _0x2875x4[_0x200b[6]](_0x2875x7);})[_0x200b[5]](function(_0x2875x5){return handleError(_0x2875x4,_0x2875x5)})};exports[_0x200b[15]]=function(_0x2875x3,_0x2875x4){Contact[_0x200b[15]](_0x2875x3[_0x200b[16]])[_0x200b[8]](function(_0x2875x7){return _0x2875x4[_0x200b[7]](201)[_0x200b[6]](_0x2875x7)})[_0x200b[5]](function(_0x2875x5){return handleError(_0x2875x4,_0x2875x5)})};exports[_0x200b[17]]=function(_0x2875x3,_0x2875x4){if(_0x2875x3[_0x200b[16]][_0x200b[12]]){delete _0x2875x3[_0x200b[16]][_0x200b[12]]};Contact[_0x200b[14]](_0x2875x3[_0x200b[13]][_0x200b[12]])[_0x200b[8]](function(_0x2875x7){if(!_0x2875x7){return _0x2875x4[_0x200b[11]](404)};var _0x2875x8=_[_0x200b[18]](_0x2875x7,_0x2875x3[_0x200b[16]]);_0x2875x8[_0x200b[19]]()[_0x200b[8]](function(){return _0x2875x4[_0x200b[7]](200)[_0x200b[6]](_0x2875x7)})[_0x200b[5]](function(_0x2875x5){return handleError(_0x2875x4,_0x2875x5)});})[_0x200b[5]](function(_0x2875x5){return handleError(_0x2875x4,_0x2875x5)});};exports[_0x200b[20]]=function(_0x2875x3,_0x2875x4){Contact[_0x200b[14]](_0x2875x3[_0x200b[13]][_0x200b[12]])[_0x200b[8]](function(_0x2875x7){if(!_0x2875x7){return _0x2875x4[_0x200b[11]](404)};_0x2875x7[_0x200b[20]]()[_0x200b[8]](function(){return _0x2875x4[_0x200b[11]](204)})[_0x200b[5]](function(_0x2875x5){return handleError(_0x2875x4,_0x2875x5)});})[_0x200b[5]](function(_0x2875x5){return handleError(_0x2875x4,_0x2875x5)})};function handleError(_0x2875x4,_0x2875x5){return _0x2875x4[_0x200b[7]](500)[_0x200b[6]](_0x2875x5)}
\ No newline at end of file
+var _0x8a6b=["\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","\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"];_0x8a6b[0];var _=require(_0x8a6b[1]);var Contact=require(_0x8a6b[3])[_0x8a6b[2]];exports[_0x8a6b[4]]=function(_0xdbfbx3,_0xdbfbx4){Contact[_0x8a6b[9]]()[_0x8a6b[8]](function(_0xdbfbx6){return _0xdbfbx4[_0x8a6b[7]](200)[_0x8a6b[6]](_0xdbfbx6)})[_0x8a6b[5]](function(_0xdbfbx5){return handleError(_0xdbfbx4,_0xdbfbx5)})};exports[_0x8a6b[10]]=function(_0xdbfbx3,_0xdbfbx4){Contact[_0x8a6b[14]](_0xdbfbx3[_0x8a6b[13]][_0x8a6b[12]])[_0x8a6b[8]](function(_0xdbfbx7){if(!_0xdbfbx7){return _0xdbfbx4[_0x8a6b[11]](404)};return _0xdbfbx4[_0x8a6b[6]](_0xdbfbx7);})[_0x8a6b[5]](function(_0xdbfbx5){return handleError(_0xdbfbx4,_0xdbfbx5)})};exports[_0x8a6b[15]]=function(_0xdbfbx3,_0xdbfbx4){Contact[_0x8a6b[15]](_0xdbfbx3[_0x8a6b[16]])[_0x8a6b[8]](function(_0xdbfbx7){return _0xdbfbx4[_0x8a6b[7]](201)[_0x8a6b[6]](_0xdbfbx7)})[_0x8a6b[5]](function(_0xdbfbx5){return handleError(_0xdbfbx4,_0xdbfbx5)})};exports[_0x8a6b[17]]=function(_0xdbfbx3,_0xdbfbx4){if(_0xdbfbx3[_0x8a6b[16]][_0x8a6b[12]]){delete _0xdbfbx3[_0x8a6b[16]][_0x8a6b[12]]};Contact[_0x8a6b[14]](_0xdbfbx3[_0x8a6b[13]][_0x8a6b[12]])[_0x8a6b[8]](function(_0xdbfbx7){if(!_0xdbfbx7){return _0xdbfbx4[_0x8a6b[11]](404)};var _0xdbfbx8=_[_0x8a6b[18]](_0xdbfbx7,_0xdbfbx3[_0x8a6b[16]]);_0xdbfbx8[_0x8a6b[19]]()[_0x8a6b[8]](function(){return _0xdbfbx4[_0x8a6b[7]](200)[_0x8a6b[6]](_0xdbfbx7)})[_0x8a6b[5]](function(_0xdbfbx5){return handleError(_0xdbfbx4,_0xdbfbx5)});})[_0x8a6b[5]](function(_0xdbfbx5){return handleError(_0xdbfbx4,_0xdbfbx5)});};exports[_0x8a6b[20]]=function(_0xdbfbx3,_0xdbfbx4){Contact[_0x8a6b[14]](_0xdbfbx3[_0x8a6b[13]][_0x8a6b[12]])[_0x8a6b[8]](function(_0xdbfbx7){if(!_0xdbfbx7){return _0xdbfbx4[_0x8a6b[11]](404)};_0xdbfbx7[_0x8a6b[20]]()[_0x8a6b[8]](function(){return _0xdbfbx4[_0x8a6b[11]](204)})[_0x8a6b[5]](function(_0xdbfbx5){return handleError(_0xdbfbx4,_0xdbfbx5)});})[_0x8a6b[5]](function(_0xdbfbx5){return handleError(_0xdbfbx4,_0xdbfbx5)})};function handleError(_0xdbfbx4,_0xdbfbx5){return _0xdbfbx4[_0x8a6b[7]](500)[_0x8a6b[6]](_0xdbfbx5)}
\ No newline at end of file
index 7a2e603..48b7990 100644 (file)
@@ -1 +1 @@
-var _0x3d5c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74","\x43\x6F\x6E\x74\x61\x63\x74","\x64\x65\x66\x69\x6E\x65"];_0x3d5c[0];module[_0x3d5c[1]]=function(_0x3517x1,_0x3517x2){var _0x3517x3=_0x3517x1[_0x3d5c[3]](_0x3d5c[2],{name:String,info:String,active:Boolean});return _0x3517x3;};
\ No newline at end of file
+var _0x2e01=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74","\x43\x6F\x6E\x74\x61\x63\x74","\x64\x65\x66\x69\x6E\x65"];_0x2e01[0];module[_0x2e01[1]]=function(_0xdbeax1,_0xdbeax2){var _0xdbeax3=_0xdbeax1[_0x2e01[3]](_0x2e01[2],{name:String,info:String,active:Boolean});return _0xdbeax3;};
\ No newline at end of file
index 5f9569a..ad3e9d5 100644 (file)
@@ -1 +1 @@
-var _0x8beb=["\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\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x6F\x6E\x74\x61\x63\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8beb[0];var contact=require(_0x8beb[2])[_0x8beb[1]];exports[_0x8beb[3]]=function(_0xcaa2x2){contact[_0x8beb[4]](function(_0xcaa2x3){onSave(_0xcaa2x2,_0xcaa2x3)});contact[_0x8beb[5]](function(_0xcaa2x3){onRemove(_0xcaa2x2,_0xcaa2x3)});};function onSave(_0xcaa2x2,_0xcaa2x3,_0xcaa2x5){_0xcaa2x2[_0x8beb[7]](_0x8beb[6],_0xcaa2x3)}function onRemove(_0xcaa2x2,_0xcaa2x3,_0xcaa2x5){_0xcaa2x2[_0x8beb[7]](_0x8beb[8],_0xcaa2x3)}
\ No newline at end of file
+var _0xf96d=["\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\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x6F\x6E\x74\x61\x63\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xf96d[0];var contact=require(_0xf96d[2])[_0xf96d[1]];exports[_0xf96d[3]]=function(_0x10dbx2){contact[_0xf96d[4]](function(_0x10dbx3){onSave(_0x10dbx2,_0x10dbx3)});contact[_0xf96d[5]](function(_0x10dbx3){onRemove(_0x10dbx2,_0x10dbx3)});};function onSave(_0x10dbx2,_0x10dbx3,_0x10dbx5){_0x10dbx2[_0xf96d[7]](_0xf96d[6],_0x10dbx3)}function onRemove(_0x10dbx2,_0x10dbx3,_0x10dbx5){_0x10dbx2[_0xf96d[7]](_0xf96d[8],_0x10dbx3)}
\ No newline at end of file
index f38daa8..d0540e1 100644 (file)
@@ -1 +1 @@
-var _0xb871=["\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\x63\x6F\x6E\x74\x61\x63\x74\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\x63\x6F\x6E\x74\x61\x63\x74\x73","\x67\x65\x74"];_0xb871[0];var should=require(_0xb871[1]);var app=require(_0xb871[2]);var request=require(_0xb871[3]);describe(_0xb871[4],function(){it(_0xb871[5],function(_0xd9b6x4){request(app)[_0xb871[13]](_0xb871[12])[_0xb871[11]](200)[_0xb871[11]](_0xb871[10],/json/)[_0xb871[9]](function(_0xd9b6x5,_0xd9b6x6){if(_0xd9b6x5){return _0xd9b6x4(_0xd9b6x5)};_0xd9b6x6[_0xb871[8]][_0xb871[1]][_0xb871[7]][_0xb871[6]](Array);_0xd9b6x4();})})});
\ No newline at end of file
+var _0xf5f2=["\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\x63\x6F\x6E\x74\x61\x63\x74\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\x63\x6F\x6E\x74\x61\x63\x74\x73","\x67\x65\x74"];_0xf5f2[0];var should=require(_0xf5f2[1]);var app=require(_0xf5f2[2]);var request=require(_0xf5f2[3]);describe(_0xf5f2[4],function(){it(_0xf5f2[5],function(_0xe262x4){request(app)[_0xf5f2[13]](_0xf5f2[12])[_0xf5f2[11]](200)[_0xf5f2[11]](_0xf5f2[10],/json/)[_0xf5f2[9]](function(_0xe262x5,_0xe262x6){if(_0xe262x5){return _0xe262x4(_0xe262x5)};_0xe262x6[_0xf5f2[8]][_0xf5f2[1]][_0xf5f2[7]][_0xf5f2[6]](Array);_0xe262x4();})})});
\ No newline at end of file
index a5876c5..aeeaa08 100644 (file)
@@ -1 +1 @@
-var _0x291a=["\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\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"];_0x291a[0];var express=require(_0x291a[1]);var controller=require(_0x291a[2]);var router=express.Router();router[_0x291a[5]](_0x291a[3],controller[_0x291a[4]]);router[_0x291a[5]](_0x291a[6],controller[_0x291a[7]]);router[_0x291a[9]](_0x291a[3],controller[_0x291a[8]]);router[_0x291a[11]](_0x291a[6],controller[_0x291a[10]]);router[_0x291a[12]](_0x291a[6],controller[_0x291a[10]]);router[_0x291a[14]](_0x291a[6],controller[_0x291a[13]]);module[_0x291a[15]]=router;
\ No newline at end of file
+var _0xc300=["\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\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"];_0xc300[0];var express=require(_0xc300[1]);var controller=require(_0xc300[2]);var router=express.Router();router[_0xc300[5]](_0xc300[3],controller[_0xc300[4]]);router[_0xc300[5]](_0xc300[6],controller[_0xc300[7]]);router[_0xc300[9]](_0xc300[3],controller[_0xc300[8]]);router[_0xc300[11]](_0xc300[6],controller[_0xc300[10]]);router[_0xc300[12]](_0xc300[6],controller[_0xc300[10]]);router[_0xc300[14]](_0xc300[6],controller[_0xc300[13]]);module[_0xc300[15]]=router;
\ No newline at end of file
index 3bf1393..94e0b4d 100644 (file)
@@ -1 +1 @@
-var _0xc007=["\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","\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\x43\x61\x6C\x6C\x48\x69\x73\x74\x6F\x72\x79","\x68\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\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","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x73\x75\x72\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x6C\x6F\x67","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x50\x68\x6F\x6E\x65\x73","\x49\x6E\x62\x6F\x75\x6E\x64\x73","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x73","\x48\x69\x73\x74\x6F\x72\x79\x49\x6E\x62\x6F\x75\x6E\x64\x73","\x48\x69\x73\x74\x6F\x72\x79\x4F\x75\x74\x62\x6F\x75\x6E\x64\x73","\x45\x6D\x61\x69\x6C\x73","\x49\x6E\x62\x6F\x75\x6E\x64\x4D\x65\x73\x73\x61\x67\x65\x73","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x4D\x65\x73\x73\x61\x67\x65\x73","\x48\x69\x73\x74\x6F\x72\x79\x49\x6E\x62\x6F\x75\x6E\x64\x4D\x65\x73\x73\x61\x67\x65\x73","\x48\x69\x73\x74\x6F\x72\x79\x4F\x75\x74\x62\x6F\x75\x6E\x64\x4D\x65\x73\x73\x61\x67\x65\x73","\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x48\x69\x73\x74\x6F\x72\x79","\x63\x6F\x6E\x74\x61\x63\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x70\x68\x6F\x6E\x65\x73","\x62\x6F\x64\x79","\x65\x6D\x61\x69\x6C\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x73\x70\x72\x65\x61\x64","\x43\x6F\x6E\x74\x61\x63\x74\x48\x61\x73\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x73\x65\x74\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x6B\x65\x79\x73","\x73\x65\x74\x45\x6D\x61\x69\x6C\x73","\x73\x65\x74\x50\x68\x6F\x6E\x65\x73","\x6D\x61\x70","\x63\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x63\x6C\x6F\x6E\x65","\x61\x6C\x6C","\x65\x6D\x61\x69\x6C","\x70\x6C\x75\x63\x6B","\x75\x6E\x69\x71","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x74\x61\x67\x73","\x2C","\x73\x70\x6C\x69\x74","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x6C\x65\x6E\x67\x74\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x55\x73\x65\x72\x49\x64","\x75\x73\x65\x72","\x70\x68\x6F\x6E\x65","\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"];_0xc007[0];var _=require(_0xc007[1]);var Contact=require(_0xc007[3])[_0xc007[2]];var ContactPhone=require(_0xc007[3])[_0xc007[4]];var ContactEmail=require(_0xc007[3])[_0xc007[5]];var CustomField=require(_0xc007[3])[_0xc007[6]];var ReportCall=require(_0xc007[3])[_0xc007[7]];var ReportCallHistory=require(_0xc007[3])[_0xc007[9]][_0xc007[8]];var ReportMailSession=require(_0xc007[3])[_0xc007[10]];var ReportMailSessionHistory=require(_0xc007[3])[_0xc007[9]][_0xc007[11]];var Tag=require(_0xc007[3])[_0xc007[12]];var stream=require(_0xc007[13]);var sequelize=require(_0xc007[3])[_0xc007[14]];var util=require(_0xc007[15]);exports[_0xc007[16]]=function(_0xc865xe,_0xc865xf){var _0xc865x10=[_0xc007[17],_0xc007[18],_0xc007[19]];var _0xc865x11=_0xc865xe[_0xc007[21]][_0xc007[20]]?parseInt(_0xc865xe[_0xc007[21]][_0xc007[20]],10):100;var _0xc865x12=_0xc865xe[_0xc007[21]][_0xc007[22]]?parseInt(_0xc865xe[_0xc007[21]][_0xc007[22]],10):0;var _0xc865x13={where:{},limit:_0xc865x11,offset:_0xc865x12*_0xc865x11};_[_0xc007[36]](_0xc865xe[_0xc007[21]],function(_0xc865x14,_0xc865x15){switch(_0xc865x15){case _0xc007[20]:;case _0xc007[22]:break ;;case _0xc007[25]:_0xc865x13[_0xc007[23]]=util[_0xc007[28]](_0xc007[24],_0xc865xe[_0xc007[21]][_0xc007[25]],_0xc865xe[_0xc007[21]][_0xc007[26]]||_0xc007[27])||null;break ;;case _0xc007[26]:break ;;case _0xc007[34]:_0xc865x13[_0xc007[30]][_0xc007[29]]=[];_0xc865x10[_0xc007[33]](function(_0xc865x16){var _0xc865x17={};_0xc865x17[_0xc865x16]={$like:_0xc007[31]+_0xc865x14+_0xc007[31]};_0xc865x13[_0xc007[30]][_0xc007[29]][_0xc007[32]](_0xc865x17);});break ;;default:_0xc865x13[_0xc007[30]][_0xc865x15]={$like:{}};_0xc865x13[_0xc007[30]][_0xc865x15][_0xc007[35]]=_0xc007[31]+_0xc865x14+_0xc007[31];;}});Contact[_0xc007[51]](_0xc865x13)[_0xc007[50]](function(_0xc865x19){var _0xc865x1a=Math[_0xc007[42]](_0xc865x19[_0xc007[41]]/_0xc865x11);var _0xc865x1b=_0xc865x1a>(_0xc865x13[_0xc007[43]]+1)?util[_0xc007[28]](_0xc007[44],_0xc865xe[_0xc007[45]],_0xc865xe[_0xc007[47]][_0xc007[46]],_0xc865xe[_0xc007[48]],_0xc865x12+1):null;var _0xc865x1c=_0xc865x12>0?util[_0xc007[28]](_0xc007[44],_0xc865xe[_0xc007[45]],_0xc865xe[_0xc007[47]][_0xc007[46]],_0xc865xe[_0xc007[48]],_0xc865x12-1):null;_0xc865xf[_0xc007[39]](200)[_0xc007[38]]({count:_0xc865x19[_0xc007[41]],rows:_0xc865x19[_0xc007[49]],next_page:_0xc865x1b,previous_page:_0xc865x1c,total_pages:_0xc865x1a});})[_0xc007[40]](function(_0xc865x18){_0xc865xf[_0xc007[39]](500)[_0xc007[38]]({error:_0xc007[37]})});};exports[_0xc007[52]]=function(_0xc865xe,_0xc865xf){Contact[_0xc007[68]](_0xc865xe[_0xc007[56]][_0xc007[55]],{include:[{model:ContactPhone,as:_0xc007[57],include:[{model:ReportCall,as:_0xc007[58],include:[{all:true}]},{model:ReportCall,as:_0xc007[59],include:[{all:true}]},{model:ReportCallHistory,as:_0xc007[60],include:[{all:true}]},{model:ReportCallHistory,as:_0xc007[61],include:[{all:true}]}]},{model:ContactEmail,as:_0xc007[62],include:[{model:ReportMailSession,as:_0xc007[63],include:[{all:true}]},{model:ReportMailSession,as:_0xc007[64],include:[{all:true}]},{model:ReportMailSessionHistory,as:_0xc007[65],include:[{all:true}]},{model:ReportMailSessionHistory,as:_0xc007[66],include:[{all:true}]}]},{model:CustomField,as:_0xc007[67]}]})[_0xc007[50]](function(_0xc865x1d){if(!_0xc865x1d){return _0xc865xf[_0xc007[54]](404)};return _0xc865xf[_0xc007[38]](_0xc865x1d);})[_0xc007[40]](function(_0xc865x18){console[_0xc007[53]](_0xc865x18);return handleError(_0xc865xf,_0xc865x18);})};exports[_0xc007[69]]=function(_0xc865xe,_0xc865xf){};exports[_0xc007[70]]=function(_0xc865xe,_0xc865xf){Contact[_0xc007[74]]({where:{$or:{"\x24\x50\x68\x6F\x6E\x65\x73\x2E\x70\x68\x6F\x6E\x65\x24":_0xc865xe[_0xc007[72]][_0xc007[71]],"\x24\x45\x6D\x61\x69\x6C\x73\x2E\x65\x6D\x61\x69\x6C\x24":_0xc865xe[_0xc007[72]][_0xc007[73]]}},include:[{all:true}]})[_0xc007[50]](function(_0xc865x1e){console[_0xc007[53]](_0xc865x1e);return _0xc865xf[_0xc007[39]](200)[_0xc007[38]](_0xc865x1e);})[_0xc007[40]](function(_0xc865x18){console[_0xc007[53]](_0xc865x18);return handleError(_0xc865xf,_0xc865x18);})};exports[_0xc007[75]]=function(_0xc865xe,_0xc865xf,_0xc865x1f){var _0xc865x20=[],_0xc865x21=[],_0xc865x22={};Tag[_0xc007[74]]()[_0xc007[50]](function(_0xc865x29){var _0xc865x2a=[];var _0xc865x2b=_[_0xc007[87]](_[_0xc007[87]](_0xc865x29,_0xc007[90]),_0xc007[17]);if(_0xc865xe[_0xc007[72]][_0xc007[91]]){var _0xc865x2c=_0xc865xe[_0xc007[72]][_0xc007[91]][_0xc007[93]](_0xc007[92]);_0xc865x2c[_0xc007[33]](function(_0xc865x25){if(!_[_0xc007[94]](_0xc865x29,_0xc865x25)){_0xc865x2a[_0xc007[32]]({name:_0xc865x25})}});if(_0xc865x2a[_0xc007[95]]){Tag[_0xc007[96]](_0xc865x2a,{individualHooks:true})};};_0xc865xe[_0xc007[72]][_0xc007[97]]=_0xc865xe[_0xc007[98]][_0xc007[55]];var _0xc865x2d=_[_0xc007[88]](_[_0xc007[87]](_0xc865xe[_0xc007[72]].Phones,_0xc007[99]));var _0xc865x2e=[];_0xc865x2d[_0xc007[33]](function(_0xc865x25){_0xc865x2e[_0xc007[32]](ContactPhone[_0xc007[89]]({where:{phone:_0xc865x25},defaults:{phone:_0xc865x25}}))});return _0xc865x2e;})[_0xc007[85]]()[_0xc007[50]](function(_0xc865xf){_0xc865x20=_[_0xc007[82]](_0xc865xf,function(_0xc865x25){return _0xc865x25[0]});var _0xc865x27=[];var _0xc865x28=_[_0xc007[88]](_[_0xc007[87]](_0xc865xe[_0xc007[72]].Emails,_0xc007[86]));_0xc865x28[_0xc007[33]](function(_0xc865x25){_0xc865x27[_0xc007[32]](ContactEmail[_0xc007[89]]({where:{email:_0xc865x25},defaults:{email:_0xc865x25}}))});return _0xc865x27;})[_0xc007[85]]()[_0xc007[50]](function(_0xc865xf){_0xc865x21=_[_0xc007[82]](_0xc865xf,function(_0xc865x25){return _0xc865x25[0]});delete _0xc865xe[_0xc007[72]][_0xc007[57]];delete _0xc865xe[_0xc007[72]][_0xc007[62]];_0xc865x22=_[_0xc007[84]](_0xc865xe[_0xc007[72]][_0xc007[83]]);delete _0xc865xe[_0xc007[72]][_0xc007[83]];return Contact[_0xc007[75]](_0xc865xe[_0xc007[72]]);})[_0xc007[50]](function(_0xc865x23){return [_0xc865x23,_0xc865x23[_0xc007[81]](_0xc865x20)]})[_0xc007[76]](function(_0xc865x23){return [_0xc865x23,_0xc865x23[_0xc007[80]](_0xc865x21)]})[_0xc007[76]](function(_0xc865x23){var _0xc865x26=_[_0xc007[79]](_0xc865x22);return [_0xc865x23,CustomField[_0xc007[74]]({where:{id:_0xc865x26}})];})[_0xc007[76]](function(_0xc865x23,_0xc865x24){_0xc865x24[_0xc007[33]](function(_0xc865x25){_0xc865x25[_0xc007[77]]={value:_0xc865x22[String(_0xc865x25[_0xc007[55]])]}});return [_0xc865x23,_0xc865x23[_0xc007[78]](_0xc865x24)];})[_0xc007[76]](function(_0xc865x23){return _0xc865xf[_0xc007[39]](201)[_0xc007[38]](_0xc865x23)})[_0xc007[40]](function(_0xc865x18){console[_0xc007[53]](_0xc865x18);return _0xc865x1f(_0xc865x18);});};exports[_0xc007[100]]=function(_0xc865xe,_0xc865xf,_0xc865x1f){var _0xc865x20=[],_0xc865x21=[],_0xc865x22={};Tag[_0xc007[74]]()[_0xc007[50]](function(_0xc865x29){var _0xc865x2a=[];var _0xc865x2b=_[_0xc007[87]](_[_0xc007[87]](_0xc865x29,_0xc007[90]),_0xc007[17]);if(_0xc865xe[_0xc007[72]][_0xc007[91]]){var _0xc865x2c=_0xc865xe[_0xc007[72]][_0xc007[91]][_0xc007[93]](_0xc007[92]);_0xc865x2c[_0xc007[33]](function(_0xc865x25){if(!_[_0xc007[94]](_0xc865x29,_0xc865x25)){_0xc865x2a[_0xc007[32]]({name:_0xc865x25})}});if(_0xc865x2a[_0xc007[95]]){Tag[_0xc007[96]](_0xc865x2a,{individualHooks:true})};};var _0xc865x2e=[];var _0xc865x2d=_[_0xc007[88]](_[_0xc007[87]](_0xc865xe[_0xc007[72]].Phones,_0xc007[99]));_0xc865x2d[_0xc007[33]](function(_0xc865x25){_0xc865x2e[_0xc007[32]](ContactPhone[_0xc007[89]]({where:{phone:_0xc865x25},defaults:{phone:_0xc865x25}}))});return _0xc865x2e;})[_0xc007[85]]()[_0xc007[50]](function(_0xc865xf){_0xc865x20=_[_0xc007[82]](_0xc865xf,function(_0xc865x25){return _0xc865x25[0]});var _0xc865x27=[];var _0xc865x28=_[_0xc007[88]](_[_0xc007[87]](_0xc865xe[_0xc007[72]].Emails,_0xc007[86]));_0xc865x28[_0xc007[33]](function(_0xc865x25){_0xc865x27[_0xc007[32]](ContactEmail[_0xc007[89]]({where:{email:_0xc865x25},defaults:{email:_0xc865x25}}))});return _0xc865x27;})[_0xc007[85]]()[_0xc007[50]](function(_0xc865xf){_0xc865x21=_[_0xc007[82]](_0xc865xf,function(_0xc865x25){return _0xc865x25[0]});delete _0xc865xe[_0xc007[72]][_0xc007[57]];delete _0xc865xe[_0xc007[72]][_0xc007[62]];_0xc865x22=_[_0xc007[84]](_0xc865xe[_0xc007[72]][_0xc007[83]]);delete _0xc865xe[_0xc007[72]][_0xc007[83]];delete _0xc865xe[_0xc007[72]][_0xc007[67]];var _0xc865x2f=_0xc865xe[_0xc007[72]][_0xc007[55]];delete _0xc865xe[_0xc007[72]][_0xc007[55]];return Contact[_0xc007[68]](_0xc865x2f);})[_0xc007[50]](function(_0xc865x23){return [_0xc865x23,_0xc865x23[_0xc007[81]](_0xc865x20)]})[_0xc007[76]](function(_0xc865x23){return [_0xc865x23,_0xc865x23[_0xc007[80]](_0xc865x21)]})[_0xc007[76]](function(_0xc865x23){var _0xc865x26=_[_0xc007[79]](_0xc865x22);return [_0xc865x23,CustomField[_0xc007[74]]({where:{id:_0xc865x26}})];})[_0xc007[76]](function(_0xc865x23,_0xc865x24){_0xc865x24[_0xc007[33]](function(_0xc865x25){_0xc865x25[_0xc007[77]]={value:_0xc865x22[String(_0xc865x25[_0xc007[55]])]}});return [_0xc865x23,_0xc865x23[_0xc007[78]](_0xc865x24)];})[_0xc007[76]](function(_0xc865x23){return _0xc865x23[_0xc007[101]](_0xc865xe[_0xc007[72]])})[_0xc007[50]](function(_0xc865x23){return _0xc865xf[_0xc007[39]](200)[_0xc007[38]](_0xc865x23)})[_0xc007[40]](function(_0xc865x18){console[_0xc007[53]](_0xc865x18);return handleError(_0xc865xf,_0xc865x18);});};exports[_0xc007[102]]=function(_0xc865xe,_0xc865xf){Contact[_0xc007[68]](_0xc865xe[_0xc007[56]][_0xc007[55]])[_0xc007[50]](function(_0xc865x1d){if(!_0xc865x1d){return _0xc865xf[_0xc007[54]](404)};_0xc865x1d[_0xc007[102]]()[_0xc007[50]](function(){return _0xc865xf[_0xc007[54]](204)})[_0xc007[40]](function(_0xc865x18){return handleError(_0xc865xf,_0xc865x18)});})[_0xc007[40]](function(_0xc865x18){return handleError(_0xc865xf,_0xc865x18)})};exports[_0xc007[103]]=function(_0xc865xe,_0xc865xf){Contact[_0xc007[102]]({where:{id:_0xc865xe[_0xc007[21]][_0xc007[55]]},individualHooks:true})[_0xc007[50]](function(){return _0xc865xf[_0xc007[54]](204)})[_0xc007[40]](function(_0xc865x18){return handleError(_0xc865xf,_0xc865x18)})};function handleError(_0xc865xf,_0xc865x18){return _0xc865xf[_0xc007[39]](500)[_0xc007[38]](_0xc865x18)}
\ No newline at end of file
+var _0xb037=["\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","\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\x43\x61\x6C\x6C\x48\x69\x73\x74\x6F\x72\x79","\x68\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\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","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x73\x75\x72\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x6C\x6F\x67","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x50\x68\x6F\x6E\x65\x73","\x49\x6E\x62\x6F\x75\x6E\x64\x73","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x73","\x48\x69\x73\x74\x6F\x72\x79\x49\x6E\x62\x6F\x75\x6E\x64\x73","\x48\x69\x73\x74\x6F\x72\x79\x4F\x75\x74\x62\x6F\x75\x6E\x64\x73","\x45\x6D\x61\x69\x6C\x73","\x49\x6E\x62\x6F\x75\x6E\x64\x4D\x65\x73\x73\x61\x67\x65\x73","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x4D\x65\x73\x73\x61\x67\x65\x73","\x48\x69\x73\x74\x6F\x72\x79\x49\x6E\x62\x6F\x75\x6E\x64\x4D\x65\x73\x73\x61\x67\x65\x73","\x48\x69\x73\x74\x6F\x72\x79\x4F\x75\x74\x62\x6F\x75\x6E\x64\x4D\x65\x73\x73\x61\x67\x65\x73","\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x48\x69\x73\x74\x6F\x72\x79","\x63\x6F\x6E\x74\x61\x63\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x70\x68\x6F\x6E\x65\x73","\x62\x6F\x64\x79","\x65\x6D\x61\x69\x6C\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x73\x70\x72\x65\x61\x64","\x43\x6F\x6E\x74\x61\x63\x74\x48\x61\x73\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x73\x65\x74\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x6B\x65\x79\x73","\x73\x65\x74\x45\x6D\x61\x69\x6C\x73","\x73\x65\x74\x50\x68\x6F\x6E\x65\x73","\x6D\x61\x70","\x63\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x63\x6C\x6F\x6E\x65","\x61\x6C\x6C","\x65\x6D\x61\x69\x6C","\x70\x6C\x75\x63\x6B","\x75\x6E\x69\x71","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x74\x61\x67\x73","\x2C","\x73\x70\x6C\x69\x74","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x6C\x65\x6E\x67\x74\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x55\x73\x65\x72\x49\x64","\x75\x73\x65\x72","\x70\x68\x6F\x6E\x65","\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"];_0xb037[0];var _=require(_0xb037[1]);var Contact=require(_0xb037[3])[_0xb037[2]];var ContactPhone=require(_0xb037[3])[_0xb037[4]];var ContactEmail=require(_0xb037[3])[_0xb037[5]];var CustomField=require(_0xb037[3])[_0xb037[6]];var ReportCall=require(_0xb037[3])[_0xb037[7]];var ReportCallHistory=require(_0xb037[3])[_0xb037[9]][_0xb037[8]];var ReportMailSession=require(_0xb037[3])[_0xb037[10]];var ReportMailSessionHistory=require(_0xb037[3])[_0xb037[9]][_0xb037[11]];var Tag=require(_0xb037[3])[_0xb037[12]];var stream=require(_0xb037[13]);var sequelize=require(_0xb037[3])[_0xb037[14]];var util=require(_0xb037[15]);exports[_0xb037[16]]=function(_0xf46axe,_0xf46axf){var _0xf46ax10=[_0xb037[17],_0xb037[18],_0xb037[19]];var _0xf46ax11=_0xf46axe[_0xb037[21]][_0xb037[20]]?parseInt(_0xf46axe[_0xb037[21]][_0xb037[20]],10):100;var _0xf46ax12=_0xf46axe[_0xb037[21]][_0xb037[22]]?parseInt(_0xf46axe[_0xb037[21]][_0xb037[22]],10):0;var _0xf46ax13={where:{},limit:_0xf46ax11,offset:_0xf46ax12*_0xf46ax11};_[_0xb037[36]](_0xf46axe[_0xb037[21]],function(_0xf46ax14,_0xf46ax15){switch(_0xf46ax15){case _0xb037[20]:;case _0xb037[22]:break ;;case _0xb037[25]:_0xf46ax13[_0xb037[23]]=util[_0xb037[28]](_0xb037[24],_0xf46axe[_0xb037[21]][_0xb037[25]],_0xf46axe[_0xb037[21]][_0xb037[26]]||_0xb037[27])||null;break ;;case _0xb037[26]:break ;;case _0xb037[34]:_0xf46ax13[_0xb037[30]][_0xb037[29]]=[];_0xf46ax10[_0xb037[33]](function(_0xf46ax16){var _0xf46ax17={};_0xf46ax17[_0xf46ax16]={$like:_0xb037[31]+_0xf46ax14+_0xb037[31]};_0xf46ax13[_0xb037[30]][_0xb037[29]][_0xb037[32]](_0xf46ax17);});break ;;default:_0xf46ax13[_0xb037[30]][_0xf46ax15]={$like:{}};_0xf46ax13[_0xb037[30]][_0xf46ax15][_0xb037[35]]=_0xb037[31]+_0xf46ax14+_0xb037[31];;}});Contact[_0xb037[51]](_0xf46ax13)[_0xb037[50]](function(_0xf46ax19){var _0xf46ax1a=Math[_0xb037[42]](_0xf46ax19[_0xb037[41]]/_0xf46ax11);var _0xf46ax1b=_0xf46ax1a>(_0xf46ax13[_0xb037[43]]+1)?util[_0xb037[28]](_0xb037[44],_0xf46axe[_0xb037[45]],_0xf46axe[_0xb037[47]][_0xb037[46]],_0xf46axe[_0xb037[48]],_0xf46ax12+1):null;var _0xf46ax1c=_0xf46ax12>0?util[_0xb037[28]](_0xb037[44],_0xf46axe[_0xb037[45]],_0xf46axe[_0xb037[47]][_0xb037[46]],_0xf46axe[_0xb037[48]],_0xf46ax12-1):null;_0xf46axf[_0xb037[39]](200)[_0xb037[38]]({count:_0xf46ax19[_0xb037[41]],rows:_0xf46ax19[_0xb037[49]],next_page:_0xf46ax1b,previous_page:_0xf46ax1c,total_pages:_0xf46ax1a});})[_0xb037[40]](function(_0xf46ax18){_0xf46axf[_0xb037[39]](500)[_0xb037[38]]({error:_0xb037[37]})});};exports[_0xb037[52]]=function(_0xf46axe,_0xf46axf){Contact[_0xb037[68]](_0xf46axe[_0xb037[56]][_0xb037[55]],{include:[{model:ContactPhone,as:_0xb037[57],include:[{model:ReportCall,as:_0xb037[58],include:[{all:true}]},{model:ReportCall,as:_0xb037[59],include:[{all:true}]},{model:ReportCallHistory,as:_0xb037[60],include:[{all:true}]},{model:ReportCallHistory,as:_0xb037[61],include:[{all:true}]}]},{model:ContactEmail,as:_0xb037[62],include:[{model:ReportMailSession,as:_0xb037[63],include:[{all:true}]},{model:ReportMailSession,as:_0xb037[64],include:[{all:true}]},{model:ReportMailSessionHistory,as:_0xb037[65],include:[{all:true}]},{model:ReportMailSessionHistory,as:_0xb037[66],include:[{all:true}]}]},{model:CustomField,as:_0xb037[67]}]})[_0xb037[50]](function(_0xf46ax1d){if(!_0xf46ax1d){return _0xf46axf[_0xb037[54]](404)};return _0xf46axf[_0xb037[38]](_0xf46ax1d);})[_0xb037[40]](function(_0xf46ax18){console[_0xb037[53]](_0xf46ax18);return handleError(_0xf46axf,_0xf46ax18);})};exports[_0xb037[69]]=function(_0xf46axe,_0xf46axf){};exports[_0xb037[70]]=function(_0xf46axe,_0xf46axf){Contact[_0xb037[74]]({where:{$or:{"\x24\x50\x68\x6F\x6E\x65\x73\x2E\x70\x68\x6F\x6E\x65\x24":_0xf46axe[_0xb037[72]][_0xb037[71]],"\x24\x45\x6D\x61\x69\x6C\x73\x2E\x65\x6D\x61\x69\x6C\x24":_0xf46axe[_0xb037[72]][_0xb037[73]]}},include:[{all:true}]})[_0xb037[50]](function(_0xf46ax1e){console[_0xb037[53]](_0xf46ax1e);return _0xf46axf[_0xb037[39]](200)[_0xb037[38]](_0xf46ax1e);})[_0xb037[40]](function(_0xf46ax18){console[_0xb037[53]](_0xf46ax18);return handleError(_0xf46axf,_0xf46ax18);})};exports[_0xb037[75]]=function(_0xf46axe,_0xf46axf,_0xf46ax1f){var _0xf46ax20=[],_0xf46ax21=[],_0xf46ax22={};Tag[_0xb037[74]]()[_0xb037[50]](function(_0xf46ax29){var _0xf46ax2a=[];var _0xf46ax2b=_[_0xb037[87]](_[_0xb037[87]](_0xf46ax29,_0xb037[90]),_0xb037[17]);if(_0xf46axe[_0xb037[72]][_0xb037[91]]){var _0xf46ax2c=_0xf46axe[_0xb037[72]][_0xb037[91]][_0xb037[93]](_0xb037[92]);_0xf46ax2c[_0xb037[33]](function(_0xf46ax25){if(!_[_0xb037[94]](_0xf46ax29,_0xf46ax25)){_0xf46ax2a[_0xb037[32]]({name:_0xf46ax25})}});if(_0xf46ax2a[_0xb037[95]]){Tag[_0xb037[96]](_0xf46ax2a,{individualHooks:true})};};_0xf46axe[_0xb037[72]][_0xb037[97]]=_0xf46axe[_0xb037[98]][_0xb037[55]];var _0xf46ax2d=_[_0xb037[88]](_[_0xb037[87]](_0xf46axe[_0xb037[72]].Phones,_0xb037[99]));var _0xf46ax2e=[];_0xf46ax2d[_0xb037[33]](function(_0xf46ax25){_0xf46ax2e[_0xb037[32]](ContactPhone[_0xb037[89]]({where:{phone:_0xf46ax25},defaults:{phone:_0xf46ax25}}))});return _0xf46ax2e;})[_0xb037[85]]()[_0xb037[50]](function(_0xf46axf){_0xf46ax20=_[_0xb037[82]](_0xf46axf,function(_0xf46ax25){return _0xf46ax25[0]});var _0xf46ax27=[];var _0xf46ax28=_[_0xb037[88]](_[_0xb037[87]](_0xf46axe[_0xb037[72]].Emails,_0xb037[86]));_0xf46ax28[_0xb037[33]](function(_0xf46ax25){_0xf46ax27[_0xb037[32]](ContactEmail[_0xb037[89]]({where:{email:_0xf46ax25},defaults:{email:_0xf46ax25}}))});return _0xf46ax27;})[_0xb037[85]]()[_0xb037[50]](function(_0xf46axf){_0xf46ax21=_[_0xb037[82]](_0xf46axf,function(_0xf46ax25){return _0xf46ax25[0]});delete _0xf46axe[_0xb037[72]][_0xb037[57]];delete _0xf46axe[_0xb037[72]][_0xb037[62]];_0xf46ax22=_[_0xb037[84]](_0xf46axe[_0xb037[72]][_0xb037[83]]);delete _0xf46axe[_0xb037[72]][_0xb037[83]];return Contact[_0xb037[75]](_0xf46axe[_0xb037[72]]);})[_0xb037[50]](function(_0xf46ax23){return [_0xf46ax23,_0xf46ax23[_0xb037[81]](_0xf46ax20)]})[_0xb037[76]](function(_0xf46ax23){return [_0xf46ax23,_0xf46ax23[_0xb037[80]](_0xf46ax21)]})[_0xb037[76]](function(_0xf46ax23){var _0xf46ax26=_[_0xb037[79]](_0xf46ax22);return [_0xf46ax23,CustomField[_0xb037[74]]({where:{id:_0xf46ax26}})];})[_0xb037[76]](function(_0xf46ax23,_0xf46ax24){_0xf46ax24[_0xb037[33]](function(_0xf46ax25){_0xf46ax25[_0xb037[77]]={value:_0xf46ax22[String(_0xf46ax25[_0xb037[55]])]}});return [_0xf46ax23,_0xf46ax23[_0xb037[78]](_0xf46ax24)];})[_0xb037[76]](function(_0xf46ax23){return _0xf46axf[_0xb037[39]](201)[_0xb037[38]](_0xf46ax23)})[_0xb037[40]](function(_0xf46ax18){console[_0xb037[53]](_0xf46ax18);return _0xf46ax1f(_0xf46ax18);});};exports[_0xb037[100]]=function(_0xf46axe,_0xf46axf,_0xf46ax1f){var _0xf46ax20=[],_0xf46ax21=[],_0xf46ax22={};Tag[_0xb037[74]]()[_0xb037[50]](function(_0xf46ax29){var _0xf46ax2a=[];var _0xf46ax2b=_[_0xb037[87]](_[_0xb037[87]](_0xf46ax29,_0xb037[90]),_0xb037[17]);if(_0xf46axe[_0xb037[72]][_0xb037[91]]){var _0xf46ax2c=_0xf46axe[_0xb037[72]][_0xb037[91]][_0xb037[93]](_0xb037[92]);_0xf46ax2c[_0xb037[33]](function(_0xf46ax25){if(!_[_0xb037[94]](_0xf46ax29,_0xf46ax25)){_0xf46ax2a[_0xb037[32]]({name:_0xf46ax25})}});if(_0xf46ax2a[_0xb037[95]]){Tag[_0xb037[96]](_0xf46ax2a,{individualHooks:true})};};var _0xf46ax2e=[];var _0xf46ax2d=_[_0xb037[88]](_[_0xb037[87]](_0xf46axe[_0xb037[72]].Phones,_0xb037[99]));_0xf46ax2d[_0xb037[33]](function(_0xf46ax25){_0xf46ax2e[_0xb037[32]](ContactPhone[_0xb037[89]]({where:{phone:_0xf46ax25},defaults:{phone:_0xf46ax25}}))});return _0xf46ax2e;})[_0xb037[85]]()[_0xb037[50]](function(_0xf46axf){_0xf46ax20=_[_0xb037[82]](_0xf46axf,function(_0xf46ax25){return _0xf46ax25[0]});var _0xf46ax27=[];var _0xf46ax28=_[_0xb037[88]](_[_0xb037[87]](_0xf46axe[_0xb037[72]].Emails,_0xb037[86]));_0xf46ax28[_0xb037[33]](function(_0xf46ax25){_0xf46ax27[_0xb037[32]](ContactEmail[_0xb037[89]]({where:{email:_0xf46ax25},defaults:{email:_0xf46ax25}}))});return _0xf46ax27;})[_0xb037[85]]()[_0xb037[50]](function(_0xf46axf){_0xf46ax21=_[_0xb037[82]](_0xf46axf,function(_0xf46ax25){return _0xf46ax25[0]});delete _0xf46axe[_0xb037[72]][_0xb037[57]];delete _0xf46axe[_0xb037[72]][_0xb037[62]];_0xf46ax22=_[_0xb037[84]](_0xf46axe[_0xb037[72]][_0xb037[83]]);delete _0xf46axe[_0xb037[72]][_0xb037[83]];delete _0xf46axe[_0xb037[72]][_0xb037[67]];var _0xf46ax2f=_0xf46axe[_0xb037[72]][_0xb037[55]];delete _0xf46axe[_0xb037[72]][_0xb037[55]];return Contact[_0xb037[68]](_0xf46ax2f);})[_0xb037[50]](function(_0xf46ax23){return [_0xf46ax23,_0xf46ax23[_0xb037[81]](_0xf46ax20)]})[_0xb037[76]](function(_0xf46ax23){return [_0xf46ax23,_0xf46ax23[_0xb037[80]](_0xf46ax21)]})[_0xb037[76]](function(_0xf46ax23){var _0xf46ax26=_[_0xb037[79]](_0xf46ax22);return [_0xf46ax23,CustomField[_0xb037[74]]({where:{id:_0xf46ax26}})];})[_0xb037[76]](function(_0xf46ax23,_0xf46ax24){_0xf46ax24[_0xb037[33]](function(_0xf46ax25){_0xf46ax25[_0xb037[77]]={value:_0xf46ax22[String(_0xf46ax25[_0xb037[55]])]}});return [_0xf46ax23,_0xf46ax23[_0xb037[78]](_0xf46ax24)];})[_0xb037[76]](function(_0xf46ax23){return _0xf46ax23[_0xb037[101]](_0xf46axe[_0xb037[72]])})[_0xb037[50]](function(_0xf46ax23){return _0xf46axf[_0xb037[39]](200)[_0xb037[38]](_0xf46ax23)})[_0xb037[40]](function(_0xf46ax18){console[_0xb037[53]](_0xf46ax18);return handleError(_0xf46axf,_0xf46ax18);});};exports[_0xb037[102]]=function(_0xf46axe,_0xf46axf){Contact[_0xb037[68]](_0xf46axe[_0xb037[56]][_0xb037[55]])[_0xb037[50]](function(_0xf46ax1d){if(!_0xf46ax1d){return _0xf46axf[_0xb037[54]](404)};_0xf46ax1d[_0xb037[102]]()[_0xb037[50]](function(){return _0xf46axf[_0xb037[54]](204)})[_0xb037[40]](function(_0xf46ax18){return handleError(_0xf46axf,_0xf46ax18)});})[_0xb037[40]](function(_0xf46ax18){return handleError(_0xf46axf,_0xf46ax18)})};exports[_0xb037[103]]=function(_0xf46axe,_0xf46axf){Contact[_0xb037[102]]({where:{id:_0xf46axe[_0xb037[21]][_0xb037[55]]},individualHooks:true})[_0xb037[50]](function(){return _0xf46axf[_0xb037[54]](204)})[_0xb037[40]](function(_0xf46ax18){return handleError(_0xf46axf,_0xf46ax18)})};function handleError(_0xf46axf,_0xf46ax18){return _0xf46axf[_0xb037[39]](500)[_0xb037[38]](_0xf46ax18)}
\ No newline at end of file
index 302dd02..194c621 100644 (file)
@@ -1 +1 @@
-var _0x8446=["\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"];_0x8446[0];var Contact=require(_0x8446[2])[_0x8446[1]];exports[_0x8446[3]]=function(_0x83c7x2){Contact[_0x8446[4]](function(_0x83c7x3){onSave(_0x83c7x2,_0x83c7x3)});Contact[_0x8446[5]](function(_0x83c7x3){onRemove(_0x83c7x2,_0x83c7x3)});};function onSave(_0x83c7x2,_0x83c7x3,_0x83c7x5){_0x83c7x2[_0x8446[7]](_0x8446[6],_0x83c7x3)}function onRemove(_0x83c7x2,_0x83c7x3,_0x83c7x5){_0x83c7x2[_0x8446[7]](_0x8446[8],_0x83c7x3)}
\ No newline at end of file
+var _0x2429=["\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"];_0x2429[0];var Contact=require(_0x2429[2])[_0x2429[1]];exports[_0x2429[3]]=function(_0xd12fx2){Contact[_0x2429[4]](function(_0xd12fx3){onSave(_0xd12fx2,_0xd12fx3)});Contact[_0x2429[5]](function(_0xd12fx3){onRemove(_0xd12fx2,_0xd12fx3)});};function onSave(_0xd12fx2,_0xd12fx3,_0xd12fx5){_0xd12fx2[_0x2429[7]](_0x2429[6],_0xd12fx3)}function onRemove(_0xd12fx2,_0xd12fx3,_0xd12fx5){_0xd12fx2[_0x2429[7]](_0x2429[8],_0xd12fx3)}
\ No newline at end of file
index a732b4f..3568010 100644 (file)
@@ -1 +1 @@
-var _0x1ef6=["\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\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72","\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\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72","\x67\x65\x74"];_0x1ef6[0];var should=require(_0x1ef6[1]);var app=require(_0x1ef6[2]);var request=require(_0x1ef6[3]);describe(_0x1ef6[4],function(){it(_0x1ef6[5],function(_0xf931x4){request(app)[_0x1ef6[13]](_0x1ef6[12])[_0x1ef6[11]](200)[_0x1ef6[11]](_0x1ef6[10],/json/)[_0x1ef6[9]](function(_0xf931x5,_0xf931x6){if(_0xf931x5){return _0xf931x4(_0xf931x5)};_0xf931x6[_0x1ef6[8]][_0x1ef6[1]][_0x1ef6[7]][_0x1ef6[6]](Array);_0xf931x4();})})});
\ No newline at end of file
+var _0x4e4d=["\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\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72","\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\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72","\x67\x65\x74"];_0x4e4d[0];var should=require(_0x4e4d[1]);var app=require(_0x4e4d[2]);var request=require(_0x4e4d[3]);describe(_0x4e4d[4],function(){it(_0x4e4d[5],function(_0x9cc2x4){request(app)[_0x4e4d[13]](_0x4e4d[12])[_0x4e4d[11]](200)[_0x4e4d[11]](_0x4e4d[10],/json/)[_0x4e4d[9]](function(_0x9cc2x5,_0x9cc2x6){if(_0x9cc2x5){return _0x9cc2x4(_0x9cc2x5)};_0x9cc2x6[_0x4e4d[8]][_0x4e4d[1]][_0x4e4d[7]][_0x4e4d[6]](Array);_0x9cc2x4();})})});
\ No newline at end of file
index 2ac753e..6a38840 100644 (file)
@@ -1 +1 @@
-var _0xa916=["\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","\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\x68\x69\x73\x74\x6F\x72\x79","\x67\x65\x74\x48\x69\x73\x74\x6F\x72\x79","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65","\x63\x6F\x6E\x74\x61\x63\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\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"];_0xa916[0];var express=require(_0xa916[1]);var controller=require(_0xa916[2]);var auth=require(_0xa916[3]);var router=express.Router();router[_0xa916[7]](_0xa916[4],auth[_0xa916[5]](),controller[_0xa916[6]]);router[_0xa916[7]](_0xa916[8],auth[_0xa916[5]](),controller[_0xa916[9]]);router[_0xa916[7]](_0xa916[10],auth[_0xa916[5]](),controller[_0xa916[11]]);router[_0xa916[13]](_0xa916[4],auth[_0xa916[5]](),controller[_0xa916[12]]);router[_0xa916[13]](_0xa916[14],auth[_0xa916[5]](),controller[_0xa916[15]]);router[_0xa916[17]](_0xa916[8],auth[_0xa916[5]](),controller[_0xa916[16]]);router[_0xa916[18]](_0xa916[8],auth[_0xa916[5]](),controller[_0xa916[16]]);router[_0xa916[20]](_0xa916[4],auth[_0xa916[5]](),controller[_0xa916[19]]);router[_0xa916[20]](_0xa916[8],auth[_0xa916[5]](),controller[_0xa916[21]]);module[_0xa916[22]]=router;
\ No newline at end of file
+var _0x3789=["\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","\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\x68\x69\x73\x74\x6F\x72\x79","\x67\x65\x74\x48\x69\x73\x74\x6F\x72\x79","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65","\x63\x6F\x6E\x74\x61\x63\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\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"];_0x3789[0];var express=require(_0x3789[1]);var controller=require(_0x3789[2]);var auth=require(_0x3789[3]);var router=express.Router();router[_0x3789[7]](_0x3789[4],auth[_0x3789[5]](),controller[_0x3789[6]]);router[_0x3789[7]](_0x3789[8],auth[_0x3789[5]](),controller[_0x3789[9]]);router[_0x3789[7]](_0x3789[10],auth[_0x3789[5]](),controller[_0x3789[11]]);router[_0x3789[13]](_0x3789[4],auth[_0x3789[5]](),controller[_0x3789[12]]);router[_0x3789[13]](_0x3789[14],auth[_0x3789[5]](),controller[_0x3789[15]]);router[_0x3789[17]](_0x3789[8],auth[_0x3789[5]](),controller[_0x3789[16]]);router[_0x3789[18]](_0x3789[8],auth[_0x3789[5]](),controller[_0x3789[16]]);router[_0x3789[20]](_0x3789[4],auth[_0x3789[5]](),controller[_0x3789[19]]);router[_0x3789[20]](_0x3789[8],auth[_0x3789[5]](),controller[_0x3789[21]]);module[_0x3789[22]]=router;
\ No newline at end of file
index 35c1f5e..20e86f3 100644 (file)
@@ -1 +1 @@
-var _0x9b4a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x67\x65\x74\x41\x6C\x6C","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x6C\x6F\x67","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\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","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x43\x55\x53\x54\x4F\x4D\x5F\x46\x49\x45\x4C\x44","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x61\x63\x74\x69\x76\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x61\x63\x74\x69\x76\x61\x74\x65"];_0x9b4a[0];var _=require(_0x9b4a[1]);var CustomField=require(_0x9b4a[3])[_0x9b4a[2]];var util=require(_0x9b4a[4]);exports[_0x9b4a[5]]=function(_0x2b11x4,_0x2b11x5){var _0x2b11x6=[_0x9b4a[6],_0x9b4a[7]];var _0x2b11x7=_0x2b11x4[_0x9b4a[9]][_0x9b4a[8]]?parseInt(_0x2b11x4[_0x9b4a[9]][_0x9b4a[8]],10):100;var _0x2b11x8=_0x2b11x4[_0x9b4a[9]][_0x9b4a[10]]?parseInt(_0x2b11x4[_0x9b4a[9]][_0x9b4a[10]],10):0;var _0x2b11x9={where:{active:true},limit:_0x2b11x7,offset:_0x2b11x8*_0x2b11x7};_[_0x9b4a[24]](_0x2b11x4[_0x9b4a[9]],function(_0x2b11xa,_0x2b11xb){switch(_0x2b11xb){case _0x9b4a[8]:;case _0x9b4a[10]:break ;;case _0x9b4a[13]:_0x2b11x9[_0x9b4a[11]]=util[_0x9b4a[16]](_0x9b4a[12],_0x2b11x4[_0x9b4a[9]][_0x9b4a[13]],_0x2b11x4[_0x9b4a[9]][_0x9b4a[14]]||_0x9b4a[15])||null;break ;;case _0x9b4a[14]:break ;;case _0x9b4a[22]:_0x2b11x9[_0x9b4a[18]][_0x9b4a[17]]=[];_0x2b11x6[_0x9b4a[21]](function(_0x2b11xc){var _0x2b11xd={};_0x2b11xd[_0x2b11xc]={$like:_0x9b4a[19]+_0x2b11xa+_0x9b4a[19]};_0x2b11x9[_0x9b4a[18]][_0x9b4a[17]][_0x9b4a[20]](_0x2b11xd);});break ;;default:_0x2b11x9[_0x9b4a[18]][_0x2b11xb]={$like:{}};_0x2b11x9[_0x9b4a[18]][_0x2b11xb][_0x9b4a[23]]=_0x9b4a[19]+_0x2b11xa+_0x9b4a[19];;}});CustomField[_0x9b4a[39]](_0x2b11x9)[_0x9b4a[38]](function(_0x2b11xf){var _0x2b11x10=Math[_0x9b4a[30]](_0x2b11xf[_0x9b4a[29]]/_0x2b11x7);var _0x2b11x11=_0x2b11x10>(_0x2b11x9[_0x9b4a[31]]+1)?util[_0x9b4a[16]](_0x9b4a[32],_0x2b11x4[_0x9b4a[33]],_0x2b11x4[_0x9b4a[35]][_0x9b4a[34]],_0x2b11x4[_0x9b4a[36]],_0x2b11x8+1):null;var _0x2b11x12=_0x2b11x8>0?util[_0x9b4a[16]](_0x9b4a[32],_0x2b11x4[_0x9b4a[33]],_0x2b11x4[_0x9b4a[35]][_0x9b4a[34]],_0x2b11x4[_0x9b4a[36]],_0x2b11x8-1):null;_0x2b11x5[_0x9b4a[27]](200)[_0x9b4a[26]]({count:_0x2b11xf[_0x9b4a[29]],rows:_0x2b11xf[_0x9b4a[37]],next_page:_0x2b11x11,previous_page:_0x2b11x12,total_pages:_0x2b11x10});})[_0x9b4a[28]](function(_0x2b11xe){_0x2b11x5[_0x9b4a[27]](500)[_0x9b4a[26]]({error:_0x9b4a[25]})});};exports[_0x9b4a[40]]=function(_0x2b11x4,_0x2b11x5){CustomField[_0x9b4a[41]]()[_0x9b4a[38]](function(_0x2b11x13){return _0x2b11x5[_0x9b4a[27]](200)[_0x9b4a[26]](_0x2b11x13)})[_0x9b4a[28]](function(_0x2b11xe){return handleError(_0x2b11x5,_0x2b11xe)})};exports[_0x9b4a[42]]=function(_0x2b11x4,_0x2b11x5){console[_0x9b4a[44]](_0x2b11x4[_0x9b4a[43]]);CustomField[_0x9b4a[41]]({where:{name:_0x2b11x4[_0x9b4a[43]][_0x9b4a[6]]}})[_0x9b4a[38]](function(_0x2b11x13){if(!_0x2b11x13){return _0x2b11x5[_0x9b4a[45]](404)};return _0x2b11x5[_0x9b4a[26]](_0x2b11x13);})[_0x9b4a[28]](function(_0x2b11xe){return handleError(_0x2b11x5,_0x2b11xe)});};exports[_0x9b4a[46]]=function(_0x2b11x4,_0x2b11x5){CustomField[_0x9b4a[49]](_0x2b11x4[_0x9b4a[48]][_0x9b4a[47]])[_0x9b4a[38]](function(_0x2b11x14){if(!_0x2b11x14){return _0x2b11x5[_0x9b4a[45]](404)};return _0x2b11x5[_0x9b4a[26]](_0x2b11x14);})[_0x9b4a[28]](function(_0x2b11xe){return handleError(_0x2b11x5,_0x2b11xe)})};exports[_0x9b4a[50]]=function(_0x2b11x4,_0x2b11x5){CustomField[_0x9b4a[50]](_0x2b11x4[_0x9b4a[43]])[_0x9b4a[38]](function(_0x2b11x14){return _0x2b11x5[_0x9b4a[27]](201)[_0x9b4a[26]](_0x2b11x14)})[_0x9b4a[28]](function(_0x2b11xe){return handleError(_0x2b11x5,_0x2b11xe)})};exports[_0x9b4a[51]]=function(_0x2b11x4,_0x2b11x5){CustomField[_0x9b4a[41]]({where:{name:_0x2b11x4[_0x9b4a[43]][_0x9b4a[6]],id:{$ne:_0x2b11x4[_0x9b4a[43]][_0x9b4a[47]]}}})[_0x9b4a[38]](function(_0x2b11x13){if(!_0x2b11x13){return _0x2b11x5[_0x9b4a[45]](404)};if(_0x2b11x13[_0x9b4a[52]]>0){return _0x2b11x5[_0x9b4a[27]](500)[_0x9b4a[26]]({message:_0x9b4a[53]})};if(_0x2b11x4[_0x9b4a[43]][_0x9b4a[47]]){delete _0x2b11x4[_0x9b4a[43]][_0x9b4a[47]]};CustomField[_0x9b4a[49]](_0x2b11x4[_0x9b4a[48]][_0x9b4a[47]])[_0x9b4a[38]](function(_0x2b11x14){if(!_0x2b11x14){return _0x2b11x5[_0x9b4a[45]](404)};var _0x2b11x15=_[_0x9b4a[54]](_0x2b11x14,_0x2b11x4[_0x9b4a[43]]);_0x2b11x15[_0x9b4a[55]]()[_0x9b4a[38]](function(){return _0x2b11x5[_0x9b4a[27]](200)[_0x9b4a[26]](_0x2b11x14)})[_0x9b4a[28]](function(_0x2b11xe){return handleError(_0x2b11x5,_0x2b11xe)});})[_0x9b4a[28]](function(_0x2b11xe){return handleError(_0x2b11x5,_0x2b11xe)});})[_0x9b4a[28]](function(_0x2b11xe){return handleError(_0x2b11x5,_0x2b11xe)})};exports[_0x9b4a[56]]=function(_0x2b11x4,_0x2b11x5){CustomField[_0x9b4a[49]](_0x2b11x4[_0x9b4a[48]][_0x9b4a[47]])[_0x9b4a[38]](function(_0x2b11x14){if(!_0x2b11x14){return _0x2b11x5[_0x9b4a[45]](404)};_0x2b11x14[_0x9b4a[51]]({active:false})[_0x9b4a[38]](function(){return _0x2b11x5[_0x9b4a[45]](204)})[_0x9b4a[28]](function(_0x2b11xe){return handleError(_0x2b11x5,_0x2b11xe)});})[_0x9b4a[28]](function(_0x2b11xe){return handleError(_0x2b11x5,_0x2b11xe)})};exports[_0x9b4a[57]]=function(_0x2b11x4,_0x2b11x5){CustomField[_0x9b4a[51]]({active:false},{where:{id:_0x2b11x4[_0x9b4a[9]][_0x9b4a[47]]},individualHooks:true})[_0x9b4a[38]](function(){return _0x2b11x5[_0x9b4a[45]](204)})[_0x9b4a[28]](function(_0x2b11xe){return handleError(_0x2b11x5,_0x2b11xe)})};function handleError(_0x2b11x5,_0x2b11xe){return _0x2b11x5[_0x9b4a[27]](500)[_0x9b4a[26]](_0x2b11xe)}
\ No newline at end of file
+var _0xd3b0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x67\x65\x74\x41\x6C\x6C","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x6C\x6F\x67","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\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","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x43\x55\x53\x54\x4F\x4D\x5F\x46\x49\x45\x4C\x44","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x61\x63\x74\x69\x76\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x61\x63\x74\x69\x76\x61\x74\x65"];_0xd3b0[0];var _=require(_0xd3b0[1]);var CustomField=require(_0xd3b0[3])[_0xd3b0[2]];var util=require(_0xd3b0[4]);exports[_0xd3b0[5]]=function(_0xd1dbx4,_0xd1dbx5){var _0xd1dbx6=[_0xd3b0[6],_0xd3b0[7]];var _0xd1dbx7=_0xd1dbx4[_0xd3b0[9]][_0xd3b0[8]]?parseInt(_0xd1dbx4[_0xd3b0[9]][_0xd3b0[8]],10):100;var _0xd1dbx8=_0xd1dbx4[_0xd3b0[9]][_0xd3b0[10]]?parseInt(_0xd1dbx4[_0xd3b0[9]][_0xd3b0[10]],10):0;var _0xd1dbx9={where:{active:true},limit:_0xd1dbx7,offset:_0xd1dbx8*_0xd1dbx7};_[_0xd3b0[24]](_0xd1dbx4[_0xd3b0[9]],function(_0xd1dbxa,_0xd1dbxb){switch(_0xd1dbxb){case _0xd3b0[8]:;case _0xd3b0[10]:break ;;case _0xd3b0[13]:_0xd1dbx9[_0xd3b0[11]]=util[_0xd3b0[16]](_0xd3b0[12],_0xd1dbx4[_0xd3b0[9]][_0xd3b0[13]],_0xd1dbx4[_0xd3b0[9]][_0xd3b0[14]]||_0xd3b0[15])||null;break ;;case _0xd3b0[14]:break ;;case _0xd3b0[22]:_0xd1dbx9[_0xd3b0[18]][_0xd3b0[17]]=[];_0xd1dbx6[_0xd3b0[21]](function(_0xd1dbxc){var _0xd1dbxd={};_0xd1dbxd[_0xd1dbxc]={$like:_0xd3b0[19]+_0xd1dbxa+_0xd3b0[19]};_0xd1dbx9[_0xd3b0[18]][_0xd3b0[17]][_0xd3b0[20]](_0xd1dbxd);});break ;;default:_0xd1dbx9[_0xd3b0[18]][_0xd1dbxb]={$like:{}};_0xd1dbx9[_0xd3b0[18]][_0xd1dbxb][_0xd3b0[23]]=_0xd3b0[19]+_0xd1dbxa+_0xd3b0[19];;}});CustomField[_0xd3b0[39]](_0xd1dbx9)[_0xd3b0[38]](function(_0xd1dbxf){var _0xd1dbx10=Math[_0xd3b0[30]](_0xd1dbxf[_0xd3b0[29]]/_0xd1dbx7);var _0xd1dbx11=_0xd1dbx10>(_0xd1dbx9[_0xd3b0[31]]+1)?util[_0xd3b0[16]](_0xd3b0[32],_0xd1dbx4[_0xd3b0[33]],_0xd1dbx4[_0xd3b0[35]][_0xd3b0[34]],_0xd1dbx4[_0xd3b0[36]],_0xd1dbx8+1):null;var _0xd1dbx12=_0xd1dbx8>0?util[_0xd3b0[16]](_0xd3b0[32],_0xd1dbx4[_0xd3b0[33]],_0xd1dbx4[_0xd3b0[35]][_0xd3b0[34]],_0xd1dbx4[_0xd3b0[36]],_0xd1dbx8-1):null;_0xd1dbx5[_0xd3b0[27]](200)[_0xd3b0[26]]({count:_0xd1dbxf[_0xd3b0[29]],rows:_0xd1dbxf[_0xd3b0[37]],next_page:_0xd1dbx11,previous_page:_0xd1dbx12,total_pages:_0xd1dbx10});})[_0xd3b0[28]](function(_0xd1dbxe){_0xd1dbx5[_0xd3b0[27]](500)[_0xd3b0[26]]({error:_0xd3b0[25]})});};exports[_0xd3b0[40]]=function(_0xd1dbx4,_0xd1dbx5){CustomField[_0xd3b0[41]]()[_0xd3b0[38]](function(_0xd1dbx13){return _0xd1dbx5[_0xd3b0[27]](200)[_0xd3b0[26]](_0xd1dbx13)})[_0xd3b0[28]](function(_0xd1dbxe){return handleError(_0xd1dbx5,_0xd1dbxe)})};exports[_0xd3b0[42]]=function(_0xd1dbx4,_0xd1dbx5){console[_0xd3b0[44]](_0xd1dbx4[_0xd3b0[43]]);CustomField[_0xd3b0[41]]({where:{name:_0xd1dbx4[_0xd3b0[43]][_0xd3b0[6]]}})[_0xd3b0[38]](function(_0xd1dbx13){if(!_0xd1dbx13){return _0xd1dbx5[_0xd3b0[45]](404)};return _0xd1dbx5[_0xd3b0[26]](_0xd1dbx13);})[_0xd3b0[28]](function(_0xd1dbxe){return handleError(_0xd1dbx5,_0xd1dbxe)});};exports[_0xd3b0[46]]=function(_0xd1dbx4,_0xd1dbx5){CustomField[_0xd3b0[49]](_0xd1dbx4[_0xd3b0[48]][_0xd3b0[47]])[_0xd3b0[38]](function(_0xd1dbx14){if(!_0xd1dbx14){return _0xd1dbx5[_0xd3b0[45]](404)};return _0xd1dbx5[_0xd3b0[26]](_0xd1dbx14);})[_0xd3b0[28]](function(_0xd1dbxe){return handleError(_0xd1dbx5,_0xd1dbxe)})};exports[_0xd3b0[50]]=function(_0xd1dbx4,_0xd1dbx5){CustomField[_0xd3b0[50]](_0xd1dbx4[_0xd3b0[43]])[_0xd3b0[38]](function(_0xd1dbx14){return _0xd1dbx5[_0xd3b0[27]](201)[_0xd3b0[26]](_0xd1dbx14)})[_0xd3b0[28]](function(_0xd1dbxe){return handleError(_0xd1dbx5,_0xd1dbxe)})};exports[_0xd3b0[51]]=function(_0xd1dbx4,_0xd1dbx5){CustomField[_0xd3b0[41]]({where:{name:_0xd1dbx4[_0xd3b0[43]][_0xd3b0[6]],id:{$ne:_0xd1dbx4[_0xd3b0[43]][_0xd3b0[47]]}}})[_0xd3b0[38]](function(_0xd1dbx13){if(!_0xd1dbx13){return _0xd1dbx5[_0xd3b0[45]](404)};if(_0xd1dbx13[_0xd3b0[52]]>0){return _0xd1dbx5[_0xd3b0[27]](500)[_0xd3b0[26]]({message:_0xd3b0[53]})};if(_0xd1dbx4[_0xd3b0[43]][_0xd3b0[47]]){delete _0xd1dbx4[_0xd3b0[43]][_0xd3b0[47]]};CustomField[_0xd3b0[49]](_0xd1dbx4[_0xd3b0[48]][_0xd3b0[47]])[_0xd3b0[38]](function(_0xd1dbx14){if(!_0xd1dbx14){return _0xd1dbx5[_0xd3b0[45]](404)};var _0xd1dbx15=_[_0xd3b0[54]](_0xd1dbx14,_0xd1dbx4[_0xd3b0[43]]);_0xd1dbx15[_0xd3b0[55]]()[_0xd3b0[38]](function(){return _0xd1dbx5[_0xd3b0[27]](200)[_0xd3b0[26]](_0xd1dbx14)})[_0xd3b0[28]](function(_0xd1dbxe){return handleError(_0xd1dbx5,_0xd1dbxe)});})[_0xd3b0[28]](function(_0xd1dbxe){return handleError(_0xd1dbx5,_0xd1dbxe)});})[_0xd3b0[28]](function(_0xd1dbxe){return handleError(_0xd1dbx5,_0xd1dbxe)})};exports[_0xd3b0[56]]=function(_0xd1dbx4,_0xd1dbx5){CustomField[_0xd3b0[49]](_0xd1dbx4[_0xd3b0[48]][_0xd3b0[47]])[_0xd3b0[38]](function(_0xd1dbx14){if(!_0xd1dbx14){return _0xd1dbx5[_0xd3b0[45]](404)};_0xd1dbx14[_0xd3b0[51]]({active:false})[_0xd3b0[38]](function(){return _0xd1dbx5[_0xd3b0[45]](204)})[_0xd3b0[28]](function(_0xd1dbxe){return handleError(_0xd1dbx5,_0xd1dbxe)});})[_0xd3b0[28]](function(_0xd1dbxe){return handleError(_0xd1dbx5,_0xd1dbxe)})};exports[_0xd3b0[57]]=function(_0xd1dbx4,_0xd1dbx5){CustomField[_0xd3b0[51]]({active:false},{where:{id:_0xd1dbx4[_0xd3b0[9]][_0xd3b0[47]]},individualHooks:true})[_0xd3b0[38]](function(){return _0xd1dbx5[_0xd3b0[45]](204)})[_0xd3b0[28]](function(_0xd1dbxe){return handleError(_0xd1dbx5,_0xd1dbxe)})};function handleError(_0xd1dbx5,_0xd1dbxe){return _0xd1dbx5[_0xd3b0[27]](500)[_0xd3b0[26]](_0xd1dbxe)}
\ No newline at end of file
index 41ed4e7..6429a29 100644 (file)
@@ -1 +1 @@
-var _0xf494=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x75\x73\x74\x6F\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\x63\x74\x69\x76\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\x75\x73\x74\x6F\x6D\x5F\x66\x69\x65\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x75\x73\x74\x6F\x6D\x5F\x66\x69\x65\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0xf494[0];var CustomField=require(_0xf494[2])[_0xf494[1]];exports[_0xf494[3]]=function(_0x21d4x2){CustomField[_0xf494[4]](function(_0x21d4x3){onSave(_0x21d4x2,_0x21d4x3)});CustomField[_0xf494[6]](function(_0x21d4x3){if(!_0x21d4x3[_0xf494[5]]){onRemove(_0x21d4x2,_0x21d4x3)}});CustomField[_0xf494[7]](function(_0x21d4x3){onRemove(_0x21d4x2,_0x21d4x3)});};function onSave(_0x21d4x2,_0x21d4x3,_0x21d4x5){_0x21d4x2[_0xf494[9]](_0xf494[8],_0x21d4x3)}function onRemove(_0x21d4x2,_0x21d4x3,_0x21d4x5){_0x21d4x2[_0xf494[9]](_0xf494[10],_0x21d4x3)}
\ No newline at end of file
+var _0x6a4b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x75\x73\x74\x6F\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\x63\x74\x69\x76\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\x75\x73\x74\x6F\x6D\x5F\x66\x69\x65\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x75\x73\x74\x6F\x6D\x5F\x66\x69\x65\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0x6a4b[0];var CustomField=require(_0x6a4b[2])[_0x6a4b[1]];exports[_0x6a4b[3]]=function(_0x37c1x2){CustomField[_0x6a4b[4]](function(_0x37c1x3){onSave(_0x37c1x2,_0x37c1x3)});CustomField[_0x6a4b[6]](function(_0x37c1x3){if(!_0x37c1x3[_0x6a4b[5]]){onRemove(_0x37c1x2,_0x37c1x3)}});CustomField[_0x6a4b[7]](function(_0x37c1x3){onRemove(_0x37c1x2,_0x37c1x3)});};function onSave(_0x37c1x2,_0x37c1x3,_0x37c1x5){_0x37c1x2[_0x6a4b[9]](_0x6a4b[8],_0x37c1x3)}function onRemove(_0x37c1x2,_0x37c1x3,_0x37c1x5){_0x37c1x2[_0x6a4b[9]](_0x6a4b[10],_0x37c1x3)}
\ No newline at end of file
index 93083d5..0ef90fd 100644 (file)
@@ -1 +1 @@
-var _0xa5a3=["\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\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72\x2F\x63\x75\x73\x74\x6F\x6D\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\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72\x2F\x63\x75\x73\x74\x6F\x6D\x66\x69\x65\x6C\x64\x73","\x67\x65\x74"];_0xa5a3[0];var should=require(_0xa5a3[1]);var app=require(_0xa5a3[2]);var request=require(_0xa5a3[3]);describe(_0xa5a3[4],function(){it(_0xa5a3[5],function(_0x9e7ax4){request(app)[_0xa5a3[13]](_0xa5a3[12])[_0xa5a3[11]](200)[_0xa5a3[11]](_0xa5a3[10],/json/)[_0xa5a3[9]](function(_0x9e7ax5,_0x9e7ax6){if(_0x9e7ax5){return _0x9e7ax4(_0x9e7ax5)};_0x9e7ax6[_0xa5a3[8]][_0xa5a3[1]][_0xa5a3[7]][_0xa5a3[6]](Array);_0x9e7ax4();})})});
\ No newline at end of file
+var _0x20ce=["\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\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72\x2F\x63\x75\x73\x74\x6F\x6D\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\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72\x2F\x63\x75\x73\x74\x6F\x6D\x66\x69\x65\x6C\x64\x73","\x67\x65\x74"];_0x20ce[0];var should=require(_0x20ce[1]);var app=require(_0x20ce[2]);var request=require(_0x20ce[3]);describe(_0x20ce[4],function(){it(_0x20ce[5],function(_0xfb63x4){request(app)[_0x20ce[13]](_0x20ce[12])[_0x20ce[11]](200)[_0x20ce[11]](_0x20ce[10],/json/)[_0x20ce[9]](function(_0xfb63x5,_0xfb63x6){if(_0xfb63x5){return _0xfb63x4(_0xfb63x5)};_0xfb63x6[_0x20ce[8]][_0x20ce[1]][_0x20ce[7]][_0x20ce[6]](Array);_0xfb63x4();})})});
\ No newline at end of file
index 4798c15..5784b1f 100644 (file)
@@ -1 +1 @@
-var _0x54b5=["\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\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","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x61\x6C\x6C","\x67\x65\x74\x41\x6C\x6C","\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\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x62\x75\x6C\x6B\x44\x65\x61\x63\x74\x69\x76\x61\x74\x65","\x64\x65\x6C\x65\x74\x65","\x64\x65\x61\x63\x74\x69\x76\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x54b5[0];var express=require(_0x54b5[1]);var controller=require(_0x54b5[2]);var auth=require(_0x54b5[3]);var router=express.Router();router[_0x54b5[7]](_0x54b5[4],auth[_0x54b5[5]](),controller[_0x54b5[6]]);router[_0x54b5[7]](_0x54b5[8],auth[_0x54b5[5]](),controller[_0x54b5[9]]);router[_0x54b5[7]](_0x54b5[10],auth[_0x54b5[5]](),controller[_0x54b5[11]]);router[_0x54b5[13]](_0x54b5[4],auth[_0x54b5[5]](),controller[_0x54b5[12]]);router[_0x54b5[13]](_0x54b5[14],auth[_0x54b5[5]](),controller[_0x54b5[15]]);router[_0x54b5[17]](_0x54b5[10],auth[_0x54b5[5]](),controller[_0x54b5[16]]);router[_0x54b5[18]](_0x54b5[10],auth[_0x54b5[5]](),controller[_0x54b5[16]]);router[_0x54b5[20]](_0x54b5[4],auth[_0x54b5[5]](),controller[_0x54b5[19]]);router[_0x54b5[20]](_0x54b5[10],auth[_0x54b5[5]](),controller[_0x54b5[21]]);module[_0x54b5[22]]=router;
\ No newline at end of file
+var _0x5af4=["\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\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","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x61\x6C\x6C","\x67\x65\x74\x41\x6C\x6C","\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\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x62\x75\x6C\x6B\x44\x65\x61\x63\x74\x69\x76\x61\x74\x65","\x64\x65\x6C\x65\x74\x65","\x64\x65\x61\x63\x74\x69\x76\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x5af4[0];var express=require(_0x5af4[1]);var controller=require(_0x5af4[2]);var auth=require(_0x5af4[3]);var router=express.Router();router[_0x5af4[7]](_0x5af4[4],auth[_0x5af4[5]](),controller[_0x5af4[6]]);router[_0x5af4[7]](_0x5af4[8],auth[_0x5af4[5]](),controller[_0x5af4[9]]);router[_0x5af4[7]](_0x5af4[10],auth[_0x5af4[5]](),controller[_0x5af4[11]]);router[_0x5af4[13]](_0x5af4[4],auth[_0x5af4[5]](),controller[_0x5af4[12]]);router[_0x5af4[13]](_0x5af4[14],auth[_0x5af4[5]](),controller[_0x5af4[15]]);router[_0x5af4[17]](_0x5af4[10],auth[_0x5af4[5]](),controller[_0x5af4[16]]);router[_0x5af4[18]](_0x5af4[10],auth[_0x5af4[5]](),controller[_0x5af4[16]]);router[_0x5af4[20]](_0x5af4[4],auth[_0x5af4[5]](),controller[_0x5af4[19]]);router[_0x5af4[20]](_0x5af4[10],auth[_0x5af4[5]](),controller[_0x5af4[21]]);module[_0x5af4[22]]=router;
\ No newline at end of file
index 489fcfc..caf9c23 100644 (file)
@@ -1 +1 @@
-var _0x8b57=["\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","\x52\x65\x70\x6F\x72\x74\x54\x72\x65\x65","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x70\x61\x72\x65\x6E\x74","\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","\x72\x6F\x6C\x65","\x73\x70\x6C\x69\x74","\x70\x61\x72\x73\x65","\x66\x6F\x72\x4F\x77\x6E","\x63\x6C\x69\x65\x6E\x74\x51\x75\x65\x72\x79","\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","\x70\x72\x65\x76\x69\x65\x77","\x6C\x6F\x67","\x6C\x65\x6E\x67\x74\x68","\x73\x70\x72\x65\x61\x64","\x61\x6C\x6C","\x66\x6F\x75\x6E\x64\x20\x72\x65\x70\x6F\x72\x74","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x75\x69\x50\x61\x67\x69\x6E\x61\x74\x69\x6F\x6E","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x65\x78\x74\x72\x61\x63\x74\x50\x64\x66","\x70\x64\x66","\x2E\x2F\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\x74\x2E\x71\x75\x65\x72\x79\x50\x72\x6F\x63\x65\x73\x73\x6F\x72","\x65\x78\x74\x72\x61\x63\x74\x43\x73\x76","\x63\x73\x76","\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","\x62\x6F\x64\x79","\x46\x69\x65\x6C\x64\x73","\x70\x6C\x75\x63\x6B","\x43\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74\x49\x64","\x63\x72\x65\x61\x74\x65","\x69\x6D\x70\x6F\x72\x74","\x67\x65\x74\x50\x72\x65\x76\x69\x65\x77","\x4D\x45\x53\x53\x41\x47\x45\x5F\x53\x45\x4C\x45\x43\x54\x5F\x41\x5F\x46\x49\x45\x4C\x44","","\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","\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","\x25\x73\x20\x41\x53\x20\x27\x25\x73\x27","\x61\x6C\x69\x61\x73","\x67\x72\x6F\x75\x70\x42\x79","\x6F\x72\x64\x65\x72\x42\x79","\x67\x72\x6F\x75\x70","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x20","\x2C","\x6A\x6F\x69\x6E","\x2C\x43\x4F\x55\x4E\x54\x28\x2A\x29","\x20\x46\x52\x4F\x4D\x20","\x74\x61\x62\x6C\x65","\x28\x29","\x20\x57\x48\x45\x52\x45\x20","\x70\x65\x72\x50\x61\x67\x65","\x20\x41\x4E\x44\x20\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x3E\x3D\x20\x27","\x27","\x73\x74\x61\x72\x74\x44\x61\x74\x65","\x20\x41\x4E\x44\x20\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x3C\x3D\x20\x27","\x65\x6E\x64\x44\x61\x74\x65","\x66\x69\x6E\x64","\x20\x41\x4E\x44\x20","\x20\x4C\x49\x4B\x45\x20\x27\x25","\x25\x27","\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20","\x20\x4F\x52\x44\x45\x52\x20\x42\x59\x20","\x20\x4C\x49\x4D\x49\x54\x20","\x20\x4F\x46\x46\x53\x45\x54\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","\x76\x61\x6C\x75\x65","\x29","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0x8b57[0];var _=require(_0x8b57[1]);var util=require(_0x8b57[2]);var sequelize=require(_0x8b57[4])[_0x8b57[3]];var CustomReport=require(_0x8b57[4])[_0x8b57[5]];var ReportField=require(_0x8b57[4])[_0x8b57[6]];var ReportTree=require(_0x8b57[4])[_0x8b57[7]];exports[_0x8b57[8]]=function(_0x409ex7,_0x409ex8,_0x409ex9){var _0x409exa=[_0x8b57[9],_0x8b57[10],_0x8b57[11]];var _0x409exb=_0x409ex7[_0x8b57[13]][_0x8b57[12]]?parseInt(_0x409ex7[_0x8b57[13]][_0x8b57[12]],10):100;var _0x409exc=_0x409ex7[_0x8b57[13]][_0x8b57[14]]?parseInt(_0x409ex7[_0x8b57[13]][_0x8b57[14]],10):0;var _0x409exd={where:{},limit:_0x409exb,offset:_0x409exc*_0x409exb};_[_0x8b57[33]](_0x409ex7[_0x8b57[13]],function(_0x409exe,_0x409exf){switch(_0x409exf){case _0x8b57[12]:;case _0x8b57[14]:break ;;case _0x8b57[17]:_0x409exd[_0x8b57[15]]=util[_0x8b57[20]](_0x8b57[16],_0x409ex7[_0x8b57[13]][_0x8b57[17]],_0x409ex7[_0x8b57[13]][_0x8b57[18]]||_0x8b57[19])||null;break ;;case _0x8b57[18]:break ;;case _0x8b57[26]:_0x409exd[_0x8b57[22]][_0x8b57[21]]=[];_0x409exa[_0x8b57[25]](function(_0x409ex10){var _0x409ex11={};_0x409ex11[_0x409ex10]={$like:_0x8b57[23]+_0x409exe+_0x8b57[23]};_0x409exd[_0x8b57[22]][_0x8b57[21]][_0x8b57[24]](_0x409ex11);});break ;;case _0x8b57[27]:_0x409exd[_0x8b57[22]][_0x8b57[27]]={$or:_0x409exe[_0x8b57[28]](/[\s,]+/)};break ;;case _0x8b57[31]:var _0x409ex12=JSON[_0x8b57[29]](_0x409exe);_[_0x8b57[30]](_0x409ex12,function(_0x409ex13,_0x409ex14){_0x409exd[_0x8b57[22]][_0x409ex14]=_0x409ex13});break ;;default:_0x409exd[_0x8b57[22]][_0x409exf]={$like:{}};_0x409exd[_0x8b57[22]][_0x409exf][_0x8b57[32]]=_0x8b57[23]+_0x409exe+_0x8b57[23];;}});CustomReport[_0x8b57[48]](_0x409exd)[_0x8b57[47]](function(_0x409ex16){var _0x409ex17=Math[_0x8b57[39]](_0x409ex16[_0x8b57[38]]/_0x409exb);var _0x409ex18=_0x409ex17>(_0x409exd[_0x8b57[40]]+1)?util[_0x8b57[20]](_0x8b57[41],_0x409ex7[_0x8b57[42]],_0x409ex7[_0x8b57[44]][_0x8b57[43]],_0x409ex7[_0x8b57[45]],_0x409exc+1):null;var _0x409ex19=_0x409exc>0?util[_0x8b57[20]](_0x8b57[41],_0x409ex7[_0x8b57[42]],_0x409ex7[_0x8b57[44]][_0x8b57[43]],_0x409ex7[_0x8b57[45]],_0x409exc-1):null;_0x409ex8[_0x8b57[36]](200)[_0x8b57[35]]({count:_0x409ex16[_0x8b57[38]],rows:_0x409ex16[_0x8b57[46]],next_page:_0x409ex18,previous_page:_0x409ex19,total_pages:_0x409ex17});})[_0x8b57[37]](function(_0x409ex15){_0x409ex8[_0x8b57[36]](500)[_0x8b57[35]]({error:_0x8b57[34]})});};exports[_0x8b57[49]]=function(_0x409ex7,_0x409ex8){CustomReport[_0x8b57[62]](_0x409ex7[_0x8b57[61]][_0x8b57[60]],{include:[{all:true}]})[_0x8b57[47]](function(_0x409ex1c){console[_0x8b57[50]](_0x8b57[54]);if(!_0x409ex1c){return _0x409ex8[_0x8b57[55]](404)};var _0x409exd=buildReport(_0x409ex1c[_0x8b57[56]],_0x409ex7[_0x8b57[13]]);var _0x409ex1d=[sequelize[_0x8b57[13]](_0x409exd,{type:sequelize[_0x8b57[58]][_0x8b57[57]]})];if(_0x409ex7[_0x8b57[13]][_0x8b57[59]]){var _0x409ex1e=buildReport(_0x409ex1c[_0x8b57[56]],_0x409ex7[_0x8b57[13]],true);_0x409ex1d[_0x8b57[24]](sequelize[_0x8b57[13]](_0x409ex1e,{type:sequelize[_0x8b57[58]][_0x8b57[57]]}));};return _0x409ex1d;})[_0x8b57[53]]()[_0x8b57[52]](function(_0x409ex1a,_0x409ex1b){console[_0x8b57[50]](_0x409ex1a[_0x8b57[51]]);console[_0x8b57[50]](_0x409ex1b);_0x409ex8[_0x8b57[36]](200)[_0x8b57[35]]({rows:_0x409ex1a,count:_0x409ex1b?_0x409ex1b[0]:null});})[_0x8b57[37]](function(_0x409ex15){console[_0x8b57[50]](_0x409ex15);return handleError(_0x409ex8,_0x409ex15);})};exports[_0x8b57[63]]=function(_0x409ex7,_0x409ex8){CustomReport[_0x8b57[62]](_0x409ex7[_0x8b57[61]][_0x8b57[60]],{include:[{all:true}]})[_0x8b57[47]](function(_0x409ex1c){if(!_0x409ex1c){return _0x409ex8[_0x8b57[55]](404)};require(_0x8b57[65])[_0x8b57[64]](_0x409ex1c,_0x409ex7[_0x8b57[13]]);})[_0x8b57[47]](function(_0x409ex1a){})[_0x8b57[47]](function(){return _0x409ex8[_0x8b57[55]](200)})[_0x8b57[37]](function(_0x409ex15){console[_0x8b57[50]](_0x409ex15);return handleError(_0x409ex8,_0x409ex15);})};exports[_0x8b57[66]]=function(_0x409ex7,_0x409ex8){CustomReport[_0x8b57[62]](_0x409ex7[_0x8b57[61]][_0x8b57[60]],{include:[{all:true}]})[_0x8b57[47]](function(_0x409ex1c){if(!_0x409ex1c){return _0x409ex8[_0x8b57[55]](404)};require(_0x8b57[65])[_0x8b57[67]](_0x409ex1c,_0x409ex7[_0x8b57[13]]);return _0x409ex1c;})[_0x8b57[47]](function(_0x409ex1c){})[_0x8b57[47]](function(){return _0x409ex8[_0x8b57[55]](200)})[_0x8b57[37]](function(_0x409ex15){console[_0x8b57[50]](_0x409ex15);return handleError(_0x409ex8,_0x409ex15);})};exports[_0x8b57[68]]=function(_0x409ex7,_0x409ex8){CustomReport[_0x8b57[62]](_0x409ex7[_0x8b57[61]][_0x8b57[60]],{include:[{all:true}]})[_0x8b57[47]](function(_0x409ex1c){if(!_0x409ex1c){return _0x409ex8[_0x8b57[55]](404)};return _0x409ex8[_0x8b57[35]](_0x409ex1c);})[_0x8b57[37]](function(_0x409ex15){return handleError(_0x409ex8,_0x409ex15)})};exports[_0x8b57[69]]=function(_0x409ex7,_0x409ex8){CustomReport[_0x8b57[62]](_0x409ex7[_0x8b57[61]][_0x8b57[60]],{include:[{all:true}]})[_0x8b57[47]](function(_0x409ex1c){if(!_0x409ex1c){return _0x409ex8[_0x8b57[55]](404)};var _0x409ex1f=_0x409ex1c[_0x8b57[56]];delete _0x409ex1f[_0x8b57[60]];delete _0x409ex1f[_0x8b57[70]];delete _0x409ex1f[_0x8b57[71]];_0x409ex1f[_0x8b57[11]]=_0x409ex7[_0x8b57[72]][_0x8b57[11]];_0x409ex1f[_0x8b57[73]]=_[_0x8b57[74]](_0x409ex1f.Fields,_0x8b57[56]);_[_0x8b57[25]](_0x409ex1f.Fields,function(_0x409ex20){delete _0x409ex20[_0x8b57[60]];delete _0x409ex20[_0x8b57[75]];delete _0x409ex20[_0x8b57[70]];delete _0x409ex20[_0x8b57[71]];});return CustomReport[_0x8b57[76]](_0x409ex1f,{include:[{all:true}]});})[_0x8b57[47]](function(){return _0x409ex8[_0x8b57[55]](201)})[_0x8b57[37]](function(_0x409ex15){console[_0x8b57[50]](_0x409ex15);return handleError(_0x409ex8,_0x409ex15);})};exports[_0x8b57[77]]=function(_0x409ex7,_0x409ex8){CustomReport[_0x8b57[76]](_0x409ex7[_0x8b57[72]],{include:[{all:true}]})[_0x8b57[47]](function(_0x409ex1c){return _0x409ex8[_0x8b57[36]](201)[_0x8b57[35]](_0x409ex1c)})[_0x8b57[37]](function(_0x409ex15){return handleError(_0x409ex8,_0x409ex15)})};exports[_0x8b57[78]]=function(_0x409ex7,_0x409ex8){CustomReport[_0x8b57[62]](_0x409ex7[_0x8b57[61]][_0x8b57[60]],{include:[{all:true}]})[_0x8b57[47]](function(_0x409ex1c){if(!_0x409ex1c){return _0x409ex8[_0x8b57[55]](404)};if(!_0x409ex1c[_0x8b57[73]][_0x8b57[51]]){return _0x409ex8[_0x8b57[36]](500)[_0x8b57[35]]({message:_0x8b57[79]})};var _0x409exd=buildReport(_0x409ex1c[_0x8b57[56]],{perPage:20});return sequelize[_0x8b57[13]](_0x409exd,{type:sequelize[_0x8b57[58]][_0x8b57[57]]});})[_0x8b57[47]](function(_0x409ex1a){return _0x409ex8[_0x8b57[36]](200)[_0x8b57[35]](_0x409ex1a)})[_0x8b57[37]](function(_0x409ex15){return handleError(_0x409ex8,_0x409ex15)})};function buildReport(_0x409ex1c,_0x409exd,_0x409ex22){var _0x409ex23=[],_0x409ex24=[],_0x409ex25=[];_[_0x8b57[25]](_0x409ex1c.Fields,function(_0x409ex20){var _0x409ex26=_0x8b57[80];if(_0x409ex20[_0x8b57[81]]){switch(_0x409ex20[_0x8b57[81]]){case _0x8b57[84]:_0x409ex26=util[_0x8b57[20]](_0x8b57[82],_0x409ex20[_0x8b57[83]]);break ;;case _0x8b57[86]:_0x409ex26=util[_0x8b57[20]](_0x8b57[85],_0x409ex20[_0x8b57[83]],_0x409ex20[_0x8b57[83]]);break ;;case _0x8b57[88]:_0x409ex26=util[_0x8b57[20]](_0x8b57[87],_0x409ex20[_0x8b57[83]],_0x409ex20[_0x8b57[83]]);break ;;default:_0x409ex26=util[_0x8b57[20]](_0x8b57[89],_0x409ex20[_0x8b57[81]],_0x409ex20[_0x8b57[83]]);;}}else {_0x409ex26=_0x409ex20[_0x8b57[83]]};_0x409ex23[_0x8b57[24]](util[_0x8b57[20]](_0x8b57[90],_0x409ex26,_0x409ex20[_0x8b57[91]]));if(_0x409ex20[_0x8b57[92]]){_0x409ex24[_0x8b57[24]](_0x409ex20[_0x8b57[83]])};if(_0x409ex20[_0x8b57[93]]){_0x409ex25[_0x8b57[24]](util[_0x8b57[20]](_0x8b57[16],_0x409ex20[_0x8b57[83]],_0x409ex20[_0x8b57[93]]))};});var _0x409ex27=getConditions(JSON[_0x8b57[29]](_0x409ex1c[_0x8b57[95]])[_0x8b57[94]]);var _0x409ex28=_0x8b57[57];_0x409ex28+=_0x8b57[96]+_0x409ex23[_0x8b57[98]](_0x8b57[97]);if(_0x409ex22){_0x409ex28+=_0x8b57[99]};_0x409ex28+=_0x8b57[100]+_0x409ex1c[_0x8b57[101]];_0x409ex28+=_0x409ex27!==_0x8b57[102]?_0x8b57[103]+_0x409ex27:_0x8b57[80];var _0x409ex29=false;var _0x409ex2a=false;if(_0x409exd){_[_0x8b57[30]](_0x409exd,function(_0x409exe,_0x409exf){switch(_0x409exf){case _0x8b57[14]:if(_0x409exd[_0x8b57[104]]){_0x409ex29=parseInt(_0x409exd[_0x8b57[104]],10);_0x409ex2a=parseInt(_0x409exe,10)*_0x409ex29;};break ;;case _0x8b57[104]:_0x409ex29=parseInt(_0x409exe,10);break ;;case _0x8b57[107]:_0x409ex28+=_0x8b57[105]+_0x409exe+_0x8b57[106];break ;;case _0x8b57[109]:_0x409ex28+=_0x8b57[108]+_0x409exe+_0x8b57[106];break ;;case _0x8b57[59]:break ;;default:var _0x409ex2b=_[_0x8b57[110]](_0x409ex1c.Fields,{alias:_0x409exf})[_0x8b57[83]];if(_0x409ex2b){_0x409ex28+=_0x8b57[111]+_0x409ex2b+_0x8b57[112]+_0x409exe+_0x8b57[113]}else {_0x409ex28+=_0x8b57[111]+_0x409exf+_0x8b57[112]+_0x409exe+_0x8b57[113]};;}})};_0x409ex28+=_0x409ex24[_0x8b57[51]]?_0x8b57[114]+_0x409ex24[_0x8b57[98]](_0x8b57[97]):_0x8b57[80];_0x409ex28+=_0x409ex25[_0x8b57[51]]?_0x8b57[115]+_0x409ex25[_0x8b57[98]](_0x8b57[97]):_0x8b57[80];_0x409ex28+=_0x409ex29&&!_0x409ex22?_0x8b57[116]+_0x409ex29:_0x8b57[80];_0x409ex28+=_0x409ex2a&&!_0x409ex22?_0x8b57[117]+_0x409ex2a:_0x8b57[80];return _0x409ex28;}function getConditions(_0x409ex2d){if(!_0x409ex2d){return _0x8b57[80]};for(var _0x409ex2e=_0x8b57[118],_0x409ex2f=0;_0x409ex2f<_0x409ex2d[_0x8b57[119]][_0x8b57[51]];_0x409ex2f++){_0x409ex2f>0&&(_0x409ex2e+=_0x8b57[96]+_0x409ex2d[_0x8b57[120]]+_0x8b57[96]);_0x409ex2e+=_0x409ex2d[_0x8b57[119]][_0x409ex2f][_0x8b57[94]]?getConditions(_0x409ex2d[_0x8b57[119]][_0x409ex2f][_0x8b57[94]]):_0x409ex2d[_0x8b57[119]][_0x409ex2f][_0x8b57[83]]+_0x8b57[96]+_0x409ex2d[_0x8b57[119]][_0x409ex2f][_0x8b57[121]]+_0x8b57[122]+(_0x409ex2d[_0x8b57[119]][_0x409ex2f][_0x8b57[121]]===_0x8b57[123]?_0x8b57[23]+_0x409ex2d[_0x8b57[119]][_0x409ex2f][_0x8b57[124]]+_0x8b57[23]:_0x409ex2d[_0x8b57[119]][_0x409ex2f][_0x8b57[124]])+_0x8b57[106];};return _0x409ex2e+_0x8b57[125];}exports[_0x8b57[76]]=function(_0x409ex7,_0x409ex8){CustomReport[_0x8b57[76]](_0x409ex7[_0x8b57[72]])[_0x8b57[47]](function(_0x409ex1c){return _0x409ex8[_0x8b57[36]](201)[_0x8b57[35]](_0x409ex1c)})[_0x8b57[37]](function(_0x409ex15){return handleError(_0x409ex8,_0x409ex15)})};exports[_0x8b57[126]]=function(_0x409ex7,_0x409ex8){if(_0x409ex7[_0x8b57[72]][_0x8b57[60]]){delete _0x409ex7[_0x8b57[72]][_0x8b57[60]]};ReportField[_0x8b57[128]]({where:{CustomReportId:_0x409ex7[_0x8b57[61]][_0x8b57[60]]}})[_0x8b57[47]](function(){return ReportField[_0x8b57[127]](_0x409ex7[_0x8b57[72]].Fields)})[_0x8b57[47]](function(){delete _0x409ex7[_0x8b57[72]][_0x8b57[73]];return CustomReport[_0x8b57[126]](_0x409ex7[_0x8b57[72]],{where:{id:_0x409ex7[_0x8b57[61]][_0x8b57[60]]}});})[_0x8b57[47]](function(){return _0x409ex8[_0x8b57[55]](200)})[_0x8b57[37]](function(_0x409ex15){console[_0x8b57[50]](_0x409ex15);return handleError(_0x409ex8,_0x409ex15);});};exports[_0x8b57[128]]=function(_0x409ex7,_0x409ex8){CustomReport[_0x8b57[62]](_0x409ex7[_0x8b57[61]][_0x8b57[60]])[_0x8b57[47]](function(_0x409ex1c){if(!_0x409ex1c){return _0x409ex8[_0x8b57[55]](404)};_0x409ex1c[_0x8b57[128]]()[_0x8b57[47]](function(){return _0x409ex8[_0x8b57[55]](204)})[_0x8b57[37]](function(_0x409ex15){return handleError(_0x409ex8,_0x409ex15)});})[_0x8b57[37]](function(_0x409ex15){return handleError(_0x409ex8,_0x409ex15)})};exports[_0x8b57[129]]=function(_0x409ex7,_0x409ex8){CustomReport[_0x8b57[128]]({where:{id:_0x409ex7[_0x8b57[13]][_0x8b57[60]]},individualHooks:true})[_0x8b57[47]](function(){return _0x409ex8[_0x8b57[55]](204)})[_0x8b57[37]](function(_0x409ex15){return handleError(_0x409ex8,_0x409ex15)})};function handleError(_0x409ex8,_0x409ex15){return _0x409ex8[_0x8b57[36]](500)[_0x8b57[35]](_0x409ex15)}
\ No newline at end of file
+var _0xc113=["\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","\x52\x65\x70\x6F\x72\x74\x54\x72\x65\x65","\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","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x70\x61\x72\x65\x6E\x74","\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","\x72\x6F\x6C\x65","\x73\x70\x6C\x69\x74","\x70\x61\x72\x73\x65","\x66\x6F\x72\x4F\x77\x6E","\x63\x6C\x69\x65\x6E\x74\x51\x75\x65\x72\x79","\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","\x70\x72\x65\x76\x69\x65\x77","\x6C\x6F\x67","\x6C\x65\x6E\x67\x74\x68","\x73\x70\x72\x65\x61\x64","\x61\x6C\x6C","\x66\x6F\x75\x6E\x64\x20\x72\x65\x70\x6F\x72\x74","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x75\x69\x50\x61\x67\x69\x6E\x61\x74\x69\x6F\x6E","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x65\x78\x74\x72\x61\x63\x74\x50\x64\x66","\x73\x74\x61\x72\x74\x44\x61\x74\x65","\x65\x6E\x64\x44\x61\x74\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x53\x54\x41\x52\x54\x5F\x4F\x52\x5F\x45\x4E\x44\x5F\x44\x41\x54\x45\x5F\x4D\x49\x53\x53\x49\x4E\x47","\x65\x78\x74\x72\x61\x63\x74\x50\x44\x46","\x63\x72\x65\x61\x74\x65","\x65\x78\x74\x72\x61\x63\x74\x43\x73\x76","\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","\x62\x6F\x64\x79","\x46\x69\x65\x6C\x64\x73","\x70\x6C\x75\x63\x6B","\x43\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74\x49\x64","\x69\x6D\x70\x6F\x72\x74","\x67\x65\x74\x50\x72\x65\x76\x69\x65\x77","\x4D\x45\x53\x53\x41\x47\x45\x5F\x53\x45\x4C\x45\x43\x54\x5F\x41\x5F\x46\x49\x45\x4C\x44","","\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","\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","\x25\x73\x20\x41\x53\x20\x27\x25\x73\x27","\x61\x6C\x69\x61\x73","\x67\x72\x6F\x75\x70\x42\x79","\x6F\x72\x64\x65\x72\x42\x79","\x67\x72\x6F\x75\x70","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x20","\x2C","\x6A\x6F\x69\x6E","\x2C\x43\x4F\x55\x4E\x54\x28\x2A\x29","\x20\x46\x52\x4F\x4D\x20","\x74\x61\x62\x6C\x65","\x28\x29","\x20\x57\x48\x45\x52\x45\x20","\x70\x65\x72\x50\x61\x67\x65","\x20\x41\x4E\x44\x20\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x3E\x3D\x20\x27","\x27","\x20\x41\x4E\x44\x20\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x3C\x3D\x20\x27","\x66\x69\x6E\x64","\x20\x41\x4E\x44\x20","\x20\x4C\x49\x4B\x45\x20\x27\x25","\x25\x27","\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20","\x20\x4F\x52\x44\x45\x52\x20\x42\x59\x20","\x20\x4C\x49\x4D\x49\x54\x20","\x20\x4F\x46\x46\x53\x45\x54\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","\x76\x61\x6C\x75\x65","\x29","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0xc113[0];var _=require(_0xc113[1]);var util=require(_0xc113[2]);var sequelize=require(_0xc113[4])[_0xc113[3]];var CustomReport=require(_0xc113[4])[_0xc113[5]];var ReportField=require(_0xc113[4])[_0xc113[6]];var ReportTree=require(_0xc113[4])[_0xc113[7]];var ExtractedReport=require(_0xc113[4])[_0xc113[8]];var extractUtils=require(_0xc113[9]);exports[_0xc113[10]]=function(_0x64c5x9,_0x64c5xa,_0x64c5xb){var _0x64c5xc=[_0xc113[11],_0xc113[12],_0xc113[13]];var _0x64c5xd=_0x64c5x9[_0xc113[15]][_0xc113[14]]?parseInt(_0x64c5x9[_0xc113[15]][_0xc113[14]],10):100;var _0x64c5xe=_0x64c5x9[_0xc113[15]][_0xc113[16]]?parseInt(_0x64c5x9[_0xc113[15]][_0xc113[16]],10):0;var _0x64c5xf={where:{},limit:_0x64c5xd,offset:_0x64c5xe*_0x64c5xd};_[_0xc113[35]](_0x64c5x9[_0xc113[15]],function(_0x64c5x10,_0x64c5x11){switch(_0x64c5x11){case _0xc113[14]:;case _0xc113[16]:break ;;case _0xc113[19]:_0x64c5xf[_0xc113[17]]=util[_0xc113[22]](_0xc113[18],_0x64c5x9[_0xc113[15]][_0xc113[19]],_0x64c5x9[_0xc113[15]][_0xc113[20]]||_0xc113[21])||null;break ;;case _0xc113[20]:break ;;case _0xc113[28]:_0x64c5xf[_0xc113[24]][_0xc113[23]]=[];_0x64c5xc[_0xc113[27]](function(_0x64c5x12){var _0x64c5x13={};_0x64c5x13[_0x64c5x12]={$like:_0xc113[25]+_0x64c5x10+_0xc113[25]};_0x64c5xf[_0xc113[24]][_0xc113[23]][_0xc113[26]](_0x64c5x13);});break ;;case _0xc113[29]:_0x64c5xf[_0xc113[24]][_0xc113[29]]={$or:_0x64c5x10[_0xc113[30]](/[\s,]+/)};break ;;case _0xc113[33]:var _0x64c5x14=JSON[_0xc113[31]](_0x64c5x10);_[_0xc113[32]](_0x64c5x14,function(_0x64c5x15,_0x64c5x16){_0x64c5xf[_0xc113[24]][_0x64c5x16]=_0x64c5x15});break ;;default:_0x64c5xf[_0xc113[24]][_0x64c5x11]={$like:{}};_0x64c5xf[_0xc113[24]][_0x64c5x11][_0xc113[34]]=_0xc113[25]+_0x64c5x10+_0xc113[25];;}});CustomReport[_0xc113[50]](_0x64c5xf)[_0xc113[49]](function(_0x64c5x18){var _0x64c5x19=Math[_0xc113[41]](_0x64c5x18[_0xc113[40]]/_0x64c5xd);var _0x64c5x1a=_0x64c5x19>(_0x64c5xf[_0xc113[42]]+1)?util[_0xc113[22]](_0xc113[43],_0x64c5x9[_0xc113[44]],_0x64c5x9[_0xc113[46]][_0xc113[45]],_0x64c5x9[_0xc113[47]],_0x64c5xe+1):null;var _0x64c5x1b=_0x64c5xe>0?util[_0xc113[22]](_0xc113[43],_0x64c5x9[_0xc113[44]],_0x64c5x9[_0xc113[46]][_0xc113[45]],_0x64c5x9[_0xc113[47]],_0x64c5xe-1):null;_0x64c5xa[_0xc113[38]](200)[_0xc113[37]]({count:_0x64c5x18[_0xc113[40]],rows:_0x64c5x18[_0xc113[48]],next_page:_0x64c5x1a,previous_page:_0x64c5x1b,total_pages:_0x64c5x19});})[_0xc113[39]](function(_0x64c5x17){_0x64c5xa[_0xc113[38]](500)[_0xc113[37]]({error:_0xc113[36]})});};exports[_0xc113[51]]=function(_0x64c5x9,_0x64c5xa){CustomReport[_0xc113[64]](_0x64c5x9[_0xc113[63]][_0xc113[62]],{include:[{all:true}]})[_0xc113[49]](function(_0x64c5x1e){console[_0xc113[52]](_0xc113[56]);if(!_0x64c5x1e){return _0x64c5xa[_0xc113[57]](404)};var _0x64c5xf=buildReport(_0x64c5x1e[_0xc113[58]],_0x64c5x9[_0xc113[15]]);var _0x64c5x1f=[sequelize[_0xc113[15]](_0x64c5xf,{type:sequelize[_0xc113[60]][_0xc113[59]]})];if(_0x64c5x9[_0xc113[15]][_0xc113[61]]){var _0x64c5x20=buildReport(_0x64c5x1e[_0xc113[58]],_0x64c5x9[_0xc113[15]],true);_0x64c5x1f[_0xc113[26]](sequelize[_0xc113[15]](_0x64c5x20,{type:sequelize[_0xc113[60]][_0xc113[59]]}));};return _0x64c5x1f;})[_0xc113[55]]()[_0xc113[54]](function(_0x64c5x1c,_0x64c5x1d){console[_0xc113[52]](_0x64c5x1c[_0xc113[53]]);console[_0xc113[52]](_0x64c5x1d);_0x64c5xa[_0xc113[38]](200)[_0xc113[37]]({rows:_0x64c5x1c,count:_0x64c5x1d?_0x64c5x1d[0]:null});})[_0xc113[39]](function(_0x64c5x17){console[_0xc113[52]](_0x64c5x17);return handleError(_0x64c5xa,_0x64c5x17);})};exports[_0xc113[65]]=function(_0x64c5x9,_0x64c5xa){if(!_0x64c5x9[_0xc113[15]][_0xc113[66]]||!_0x64c5x9[_0xc113[15]][_0xc113[67]]){return _0x64c5xa[_0xc113[38]](500)[_0xc113[37]]({message:_0xc113[68]})};CustomReport[_0xc113[64]](_0x64c5x9[_0xc113[63]][_0xc113[62]],{include:[{all:true}]})[_0xc113[49]](function(_0x64c5x1e){if(!_0x64c5x1e){return _0x64c5xa[_0xc113[57]](404)};return [_0x64c5x1e,ExtractedReport[_0xc113[70]]({name:_0x64c5x1e[_0xc113[11]],startDate:_0x64c5x9[_0xc113[15]][_0xc113[66]],endDate:_0x64c5x9[_0xc113[15]][_0xc113[67]]})];})[_0xc113[54]](function(_0x64c5x1e,_0x64c5x21){extractUtils[_0xc113[69]](_0x64c5x1e,_0x64c5x9[_0xc113[15]][_0xc113[66]],_0x64c5x9[_0xc113[15]][_0xc113[67]],_0x64c5x21[_0xc113[62]])})[_0xc113[49]](function(){return _0x64c5xa[_0xc113[57]](200)})[_0xc113[39]](function(_0x64c5x17){console[_0xc113[52]](_0x64c5x17);return handleError(_0x64c5xa,_0x64c5x17);});};exports[_0xc113[71]]=function(_0x64c5x9,_0x64c5xa){if(!_0x64c5x9[_0xc113[15]][_0xc113[66]]||!_0x64c5x9[_0xc113[15]][_0xc113[67]]){return _0x64c5xa[_0xc113[38]](500)[_0xc113[37]]({message:_0xc113[68]})};CustomReport[_0xc113[64]](_0x64c5x9[_0xc113[63]][_0xc113[62]],{include:[{all:true}]})[_0xc113[49]](function(_0x64c5x1e){if(!_0x64c5x1e){return _0x64c5xa[_0xc113[57]](404)};return [_0x64c5x1e,ExtractedReport[_0xc113[70]]({name:_0x64c5x1e[_0xc113[11]],startDate:_0x64c5x9[_0xc113[15]][_0xc113[66]],endDate:_0x64c5x9[_0xc113[15]][_0xc113[67]]})];})[_0xc113[54]](function(_0x64c5x1e,_0x64c5x21){extractUtils[_0xc113[69]](_0x64c5x1e,_0x64c5x9[_0xc113[15]][_0xc113[66]],_0x64c5x9[_0xc113[15]][_0xc113[67]],_0x64c5x21[_0xc113[62]])})[_0xc113[49]](function(){return _0x64c5xa[_0xc113[57]](200)})[_0xc113[39]](function(_0x64c5x17){console[_0xc113[52]](_0x64c5x17);return handleError(_0x64c5xa,_0x64c5x17);});};exports[_0xc113[72]]=function(_0x64c5x9,_0x64c5xa){CustomReport[_0xc113[64]](_0x64c5x9[_0xc113[63]][_0xc113[62]],{include:[{all:true}]})[_0xc113[49]](function(_0x64c5x1e){if(!_0x64c5x1e){return _0x64c5xa[_0xc113[57]](404)};return _0x64c5xa[_0xc113[37]](_0x64c5x1e);})[_0xc113[39]](function(_0x64c5x17){return handleError(_0x64c5xa,_0x64c5x17)})};exports[_0xc113[73]]=function(_0x64c5x9,_0x64c5xa){CustomReport[_0xc113[64]](_0x64c5x9[_0xc113[63]][_0xc113[62]],{include:[{all:true}]})[_0xc113[49]](function(_0x64c5x1e){if(!_0x64c5x1e){return _0x64c5xa[_0xc113[57]](404)};var _0x64c5x22=_0x64c5x1e[_0xc113[58]];delete _0x64c5x22[_0xc113[62]];delete _0x64c5x22[_0xc113[74]];delete _0x64c5x22[_0xc113[75]];_0x64c5x22[_0xc113[13]]=_0x64c5x9[_0xc113[76]][_0xc113[13]];_0x64c5x22[_0xc113[77]]=_[_0xc113[78]](_0x64c5x22.Fields,_0xc113[58]);_[_0xc113[27]](_0x64c5x22.Fields,function(_0x64c5x23){delete _0x64c5x23[_0xc113[62]];delete _0x64c5x23[_0xc113[79]];delete _0x64c5x23[_0xc113[74]];delete _0x64c5x23[_0xc113[75]];});return CustomReport[_0xc113[70]](_0x64c5x22,{include:[{all:true}]});})[_0xc113[49]](function(){return _0x64c5xa[_0xc113[57]](201)})[_0xc113[39]](function(_0x64c5x17){console[_0xc113[52]](_0x64c5x17);return handleError(_0x64c5xa,_0x64c5x17);})};exports[_0xc113[80]]=function(_0x64c5x9,_0x64c5xa){CustomReport[_0xc113[70]](_0x64c5x9[_0xc113[76]],{include:[{all:true}]})[_0xc113[49]](function(_0x64c5x1e){return _0x64c5xa[_0xc113[38]](201)[_0xc113[37]](_0x64c5x1e)})[_0xc113[39]](function(_0x64c5x17){return handleError(_0x64c5xa,_0x64c5x17)})};exports[_0xc113[81]]=function(_0x64c5x9,_0x64c5xa){CustomReport[_0xc113[64]](_0x64c5x9[_0xc113[63]][_0xc113[62]],{include:[{all:true}]})[_0xc113[49]](function(_0x64c5x1e){if(!_0x64c5x1e){return _0x64c5xa[_0xc113[57]](404)};if(!_0x64c5x1e[_0xc113[77]][_0xc113[53]]){return _0x64c5xa[_0xc113[38]](500)[_0xc113[37]]({message:_0xc113[82]})};var _0x64c5xf=buildReport(_0x64c5x1e[_0xc113[58]],{perPage:20});return sequelize[_0xc113[15]](_0x64c5xf,{type:sequelize[_0xc113[60]][_0xc113[59]]});})[_0xc113[49]](function(_0x64c5x1c){return _0x64c5xa[_0xc113[38]](200)[_0xc113[37]](_0x64c5x1c)})[_0xc113[39]](function(_0x64c5x17){return handleError(_0x64c5xa,_0x64c5x17)})};function buildReport(_0x64c5x1e,_0x64c5xf,_0x64c5x25){var _0x64c5x26=[],_0x64c5x27=[],_0x64c5x28=[];_[_0xc113[27]](_0x64c5x1e.Fields,function(_0x64c5x23){var _0x64c5x29=_0xc113[83];if(_0x64c5x23[_0xc113[84]]){switch(_0x64c5x23[_0xc113[84]]){case _0xc113[87]:_0x64c5x29=util[_0xc113[22]](_0xc113[85],_0x64c5x23[_0xc113[86]]);break ;;case _0xc113[89]:_0x64c5x29=util[_0xc113[22]](_0xc113[88],_0x64c5x23[_0xc113[86]],_0x64c5x23[_0xc113[86]]);break ;;case _0xc113[91]:_0x64c5x29=util[_0xc113[22]](_0xc113[90],_0x64c5x23[_0xc113[86]],_0x64c5x23[_0xc113[86]]);break ;;default:_0x64c5x29=util[_0xc113[22]](_0xc113[92],_0x64c5x23[_0xc113[84]],_0x64c5x23[_0xc113[86]]);;}}else {_0x64c5x29=_0x64c5x23[_0xc113[86]]};_0x64c5x26[_0xc113[26]](util[_0xc113[22]](_0xc113[93],_0x64c5x29,_0x64c5x23[_0xc113[94]]));if(_0x64c5x23[_0xc113[95]]){_0x64c5x27[_0xc113[26]](_0x64c5x23[_0xc113[86]])};if(_0x64c5x23[_0xc113[96]]){_0x64c5x28[_0xc113[26]](util[_0xc113[22]](_0xc113[18],_0x64c5x23[_0xc113[86]],_0x64c5x23[_0xc113[96]]))};});var _0x64c5x2a=getConditions(JSON[_0xc113[31]](_0x64c5x1e[_0xc113[98]])[_0xc113[97]]);var _0x64c5x2b=_0xc113[59];_0x64c5x2b+=_0xc113[99]+_0x64c5x26[_0xc113[101]](_0xc113[100]);if(_0x64c5x25){_0x64c5x2b+=_0xc113[102]};_0x64c5x2b+=_0xc113[103]+_0x64c5x1e[_0xc113[104]];_0x64c5x2b+=_0x64c5x2a!==_0xc113[105]?_0xc113[106]+_0x64c5x2a:_0xc113[83];var _0x64c5x2c=false;var _0x64c5x2d=false;if(_0x64c5xf){_[_0xc113[32]](_0x64c5xf,function(_0x64c5x10,_0x64c5x11){switch(_0x64c5x11){case _0xc113[16]:if(_0x64c5xf[_0xc113[107]]){_0x64c5x2c=parseInt(_0x64c5xf[_0xc113[107]],10);_0x64c5x2d=parseInt(_0x64c5x10,10)*_0x64c5x2c;};break ;;case _0xc113[107]:_0x64c5x2c=parseInt(_0x64c5x10,10);break ;;case _0xc113[66]:_0x64c5x2b+=_0xc113[108]+_0x64c5x10+_0xc113[109];break ;;case _0xc113[67]:_0x64c5x2b+=_0xc113[110]+_0x64c5x10+_0xc113[109];break ;;case _0xc113[61]:break ;;default:var _0x64c5x2e=_[_0xc113[111]](_0x64c5x1e.Fields,{alias:_0x64c5x11})[_0xc113[86]];if(_0x64c5x2e){_0x64c5x2b+=_0xc113[112]+_0x64c5x2e+_0xc113[113]+_0x64c5x10+_0xc113[114]}else {_0x64c5x2b+=_0xc113[112]+_0x64c5x11+_0xc113[113]+_0x64c5x10+_0xc113[114]};;}})};_0x64c5x2b+=_0x64c5x27[_0xc113[53]]?_0xc113[115]+_0x64c5x27[_0xc113[101]](_0xc113[100]):_0xc113[83];_0x64c5x2b+=_0x64c5x28[_0xc113[53]]?_0xc113[116]+_0x64c5x28[_0xc113[101]](_0xc113[100]):_0xc113[83];_0x64c5x2b+=_0x64c5x2c&&!_0x64c5x25?_0xc113[117]+_0x64c5x2c:_0xc113[83];_0x64c5x2b+=_0x64c5x2d&&!_0x64c5x25?_0xc113[118]+_0x64c5x2d:_0xc113[83];return _0x64c5x2b;}function getConditions(_0x64c5x30){if(!_0x64c5x30){return _0xc113[83]};for(var _0x64c5x31=_0xc113[119],_0x64c5x32=0;_0x64c5x32<_0x64c5x30[_0xc113[120]][_0xc113[53]];_0x64c5x32++){_0x64c5x32>0&&(_0x64c5x31+=_0xc113[99]+_0x64c5x30[_0xc113[121]]+_0xc113[99]);_0x64c5x31+=_0x64c5x30[_0xc113[120]][_0x64c5x32][_0xc113[97]]?getConditions(_0x64c5x30[_0xc113[120]][_0x64c5x32][_0xc113[97]]):_0x64c5x30[_0xc113[120]][_0x64c5x32][_0xc113[86]]+_0xc113[99]+_0x64c5x30[_0xc113[120]][_0x64c5x32][_0xc113[122]]+_0xc113[123]+(_0x64c5x30[_0xc113[120]][_0x64c5x32][_0xc113[122]]===_0xc113[124]?_0xc113[25]+_0x64c5x30[_0xc113[120]][_0x64c5x32][_0xc113[125]]+_0xc113[25]:_0x64c5x30[_0xc113[120]][_0x64c5x32][_0xc113[125]])+_0xc113[109];};return _0x64c5x31+_0xc113[126];}exports[_0xc113[70]]=function(_0x64c5x9,_0x64c5xa){CustomReport[_0xc113[70]](_0x64c5x9[_0xc113[76]])[_0xc113[49]](function(_0x64c5x1e){return _0x64c5xa[_0xc113[38]](201)[_0xc113[37]](_0x64c5x1e)})[_0xc113[39]](function(_0x64c5x17){return handleError(_0x64c5xa,_0x64c5x17)})};exports[_0xc113[127]]=function(_0x64c5x9,_0x64c5xa){if(_0x64c5x9[_0xc113[76]][_0xc113[62]]){delete _0x64c5x9[_0xc113[76]][_0xc113[62]]};ReportField[_0xc113[129]]({where:{CustomReportId:_0x64c5x9[_0xc113[63]][_0xc113[62]]}})[_0xc113[49]](function(){return ReportField[_0xc113[128]](_0x64c5x9[_0xc113[76]].Fields)})[_0xc113[49]](function(){delete _0x64c5x9[_0xc113[76]][_0xc113[77]];return CustomReport[_0xc113[127]](_0x64c5x9[_0xc113[76]],{where:{id:_0x64c5x9[_0xc113[63]][_0xc113[62]]}});})[_0xc113[49]](function(){return _0x64c5xa[_0xc113[57]](200)})[_0xc113[39]](function(_0x64c5x17){console[_0xc113[52]](_0x64c5x17);return handleError(_0x64c5xa,_0x64c5x17);});};exports[_0xc113[129]]=function(_0x64c5x9,_0x64c5xa){CustomReport[_0xc113[64]](_0x64c5x9[_0xc113[63]][_0xc113[62]])[_0xc113[49]](function(_0x64c5x1e){if(!_0x64c5x1e){return _0x64c5xa[_0xc113[57]](404)};_0x64c5x1e[_0xc113[129]]()[_0xc113[49]](function(){return _0x64c5xa[_0xc113[57]](204)})[_0xc113[39]](function(_0x64c5x17){return handleError(_0x64c5xa,_0x64c5x17)});})[_0xc113[39]](function(_0x64c5x17){return handleError(_0x64c5xa,_0x64c5x17)})};exports[_0xc113[130]]=function(_0x64c5x9,_0x64c5xa){CustomReport[_0xc113[129]]({where:{id:_0x64c5x9[_0xc113[15]][_0xc113[62]]},individualHooks:true})[_0xc113[49]](function(){return _0x64c5xa[_0xc113[57]](204)})[_0xc113[39]](function(_0x64c5x17){return handleError(_0x64c5xa,_0x64c5x17)})};function handleError(_0x64c5xa,_0x64c5x17){return _0x64c5xa[_0xc113[38]](500)[_0xc113[37]](_0x64c5x17)}
\ No newline at end of file
index 390cde2..e0da582 100644 (file)
@@ -1 +1 @@
-var _0xafc6=["\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"];_0xafc6[0];var CustomReport=require(_0xafc6[2])[_0xafc6[1]];exports[_0xafc6[3]]=function(_0x2e2bx2){CustomReport[_0xafc6[4]](function(_0x2e2bx3){onSave(_0x2e2bx2,_0x2e2bx3)});CustomReport[_0xafc6[5]](function(_0x2e2bx3){onRemove(_0x2e2bx2,_0x2e2bx3)});};function onSave(_0x2e2bx2,_0x2e2bx3,_0x2e2bx5){_0x2e2bx2[_0xafc6[7]](_0xafc6[6],_0x2e2bx3)}function onRemove(_0x2e2bx2,_0x2e2bx3,_0x2e2bx5){_0x2e2bx2[_0xafc6[7]](_0xafc6[8],_0x2e2bx3)}
\ No newline at end of file
+var _0x525f=["\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"];_0x525f[0];var CustomReport=require(_0x525f[2])[_0x525f[1]];exports[_0x525f[3]]=function(_0x1fb4x2){CustomReport[_0x525f[4]](function(_0x1fb4x3){onSave(_0x1fb4x2,_0x1fb4x3)});CustomReport[_0x525f[5]](function(_0x1fb4x3){onRemove(_0x1fb4x2,_0x1fb4x3)});};function onSave(_0x1fb4x2,_0x1fb4x3,_0x1fb4x5){_0x1fb4x2[_0x525f[7]](_0x525f[6],_0x1fb4x3)}function onRemove(_0x1fb4x2,_0x1fb4x3,_0x1fb4x5){_0x1fb4x2[_0x525f[7]](_0x525f[8],_0x1fb4x3)}
\ No newline at end of file
index 2c057e8..afc99ea 100644 (file)
@@ -1 +1 @@
-var _0xabe1=["\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\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F\x63\x75\x73\x74\x6F\x6D","\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\x61\x6E\x61\x6C\x79\x74\x69\x63\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F\x63\x75\x73\x74\x6F\x6D","\x67\x65\x74"];_0xabe1[0];var should=require(_0xabe1[1]);var app=require(_0xabe1[2]);var request=require(_0xabe1[3]);describe(_0xabe1[4],function(){it(_0xabe1[5],function(_0x680bx4){request(app)[_0xabe1[13]](_0xabe1[12])[_0xabe1[11]](200)[_0xabe1[11]](_0xabe1[10],/json/)[_0xabe1[9]](function(_0x680bx5,_0x680bx6){if(_0x680bx5){return _0x680bx4(_0x680bx5)};_0x680bx6[_0xabe1[8]][_0xabe1[1]][_0xabe1[7]][_0xabe1[6]](Array);_0x680bx4();})})});
\ No newline at end of file
+var _0xc66a=["\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\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F\x63\x75\x73\x74\x6F\x6D","\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\x61\x6E\x61\x6C\x79\x74\x69\x63\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F\x63\x75\x73\x74\x6F\x6D","\x67\x65\x74"];_0xc66a[0];var should=require(_0xc66a[1]);var app=require(_0xc66a[2]);var request=require(_0xc66a[3]);describe(_0xc66a[4],function(){it(_0xc66a[5],function(_0x4fd7x4){request(app)[_0xc66a[13]](_0xc66a[12])[_0xc66a[11]](200)[_0xc66a[11]](_0xc66a[10],/json/)[_0xc66a[9]](function(_0x4fd7x5,_0x4fd7x6){if(_0x4fd7x5){return _0x4fd7x4(_0x4fd7x5)};_0x4fd7x6[_0xc66a[8]][_0xc66a[1]][_0xc66a[7]][_0xc66a[6]](Array);_0x4fd7x4();})})});
\ No newline at end of file
index 6703fde..91c23de 100644 (file)
@@ -1 +1 @@
-var _0xacfe=["\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","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x70\x72\x65\x76\x69\x65\x77\x2F\x3A\x69\x64","\x70\x72\x65\x76\x69\x65\x77","\x2F\x65\x78\x74\x72\x61\x63\x74\x2F\x70\x64\x66\x2F\x3A\x69\x64","\x65\x78\x74\x72\x61\x63\x74\x50\x64\x66","\x2F\x65\x78\x74\x72\x61\x63\x74\x2F\x63\x73\x76\x2F\x3A\x69\x64","\x65\x78\x74\x72\x61\x63\x74\x43\x73\x76","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x69\x6D\x70\x6F\x72\x74","\x69\x6D\x70\x6F\x72\x74","\x2F\x63\x6F\x70\x79\x2F\x3A\x69\x64","\x63\x6F\x70\x79","\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"];_0xacfe[0];var express=require(_0xacfe[1]);var controller=require(_0xacfe[2]);var router=express.Router();router[_0xacfe[5]](_0xacfe[3],controller[_0xacfe[4]]);router[_0xacfe[5]](_0xacfe[6],controller[_0xacfe[7]]);router[_0xacfe[5]](_0xacfe[8],controller[_0xacfe[9]]);router[_0xacfe[5]](_0xacfe[10],controller[_0xacfe[11]]);router[_0xacfe[5]](_0xacfe[12],controller[_0xacfe[13]]);router[_0xacfe[15]](_0xacfe[3],controller[_0xacfe[14]]);router[_0xacfe[15]](_0xacfe[16],controller[_0xacfe[17]]);router[_0xacfe[15]](_0xacfe[18],controller[_0xacfe[19]]);router[_0xacfe[21]](_0xacfe[12],controller[_0xacfe[20]]);router[_0xacfe[22]](_0xacfe[12],controller[_0xacfe[20]]);router[_0xacfe[24]](_0xacfe[3],controller[_0xacfe[23]]);router[_0xacfe[24]](_0xacfe[12],controller[_0xacfe[25]]);module[_0xacfe[26]]=router;
\ No newline at end of file
+var _0x9605=["\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","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x70\x72\x65\x76\x69\x65\x77\x2F\x3A\x69\x64","\x70\x72\x65\x76\x69\x65\x77","\x2F\x65\x78\x74\x72\x61\x63\x74\x2F\x70\x64\x66\x2F\x3A\x69\x64","\x65\x78\x74\x72\x61\x63\x74\x50\x64\x66","\x2F\x65\x78\x74\x72\x61\x63\x74\x2F\x63\x73\x76\x2F\x3A\x69\x64","\x65\x78\x74\x72\x61\x63\x74\x43\x73\x76","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x69\x6D\x70\x6F\x72\x74","\x69\x6D\x70\x6F\x72\x74","\x2F\x63\x6F\x70\x79\x2F\x3A\x69\x64","\x63\x6F\x70\x79","\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"];_0x9605[0];var express=require(_0x9605[1]);var controller=require(_0x9605[2]);var router=express.Router();router[_0x9605[5]](_0x9605[3],controller[_0x9605[4]]);router[_0x9605[5]](_0x9605[6],controller[_0x9605[7]]);router[_0x9605[5]](_0x9605[8],controller[_0x9605[9]]);router[_0x9605[5]](_0x9605[10],controller[_0x9605[11]]);router[_0x9605[5]](_0x9605[12],controller[_0x9605[13]]);router[_0x9605[15]](_0x9605[3],controller[_0x9605[14]]);router[_0x9605[15]](_0x9605[16],controller[_0x9605[17]]);router[_0x9605[15]](_0x9605[18],controller[_0x9605[19]]);router[_0x9605[21]](_0x9605[12],controller[_0x9605[20]]);router[_0x9605[22]](_0x9605[12],controller[_0x9605[20]]);router[_0x9605[24]](_0x9605[3],controller[_0x9605[23]]);router[_0x9605[24]](_0x9605[12],controller[_0x9605[25]]);module[_0x9605[26]]=router;
\ No newline at end of file
index b7f37b8..4c5b0cc 100644 (file)
@@ -1 +1 @@
-var _0x5952=["\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","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\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","\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"];_0x5952[0];var _=require(_0x5952[1]);var util=require(_0x5952[2]);var Dashboard=require(_0x5952[4])[_0x5952[3]];exports[_0x5952[5]]=function(_0x85bfx4,_0x85bfx5){var _0x85bfx6=[_0x5952[6],_0x5952[7]];var _0x85bfx7=_0x85bfx4[_0x5952[9]][_0x5952[8]]?parseInt(_0x85bfx4[_0x5952[9]][_0x5952[8]],10):100;var _0x85bfx8=_0x85bfx4[_0x5952[9]][_0x5952[10]]?parseInt(_0x85bfx4[_0x5952[9]][_0x5952[10]],10):0;var _0x85bfx9={where:{},limit:_0x85bfx7,offset:_0x85bfx8*_0x85bfx7};_[_0x5952[24]](_0x85bfx4[_0x5952[9]],function(_0x85bfxa,_0x85bfxb){switch(_0x85bfxb){case _0x5952[8]:;case _0x5952[10]:break ;;case _0x5952[13]:_0x85bfx9[_0x5952[11]]=util[_0x5952[16]](_0x5952[12],_0x85bfx4[_0x5952[9]][_0x5952[13]],_0x85bfx4[_0x5952[9]][_0x5952[14]]||_0x5952[15])||null;break ;;case _0x5952[14]:break ;;case _0x5952[22]:_0x85bfx9[_0x5952[18]][_0x5952[17]]=[];_0x85bfx6[_0x5952[21]](function(_0x85bfxc){var _0x85bfxd={};_0x85bfxd[_0x85bfxc]={$like:_0x5952[19]+_0x85bfxa+_0x5952[19]};_0x85bfx9[_0x5952[18]][_0x5952[17]][_0x5952[20]](_0x85bfxd);});break ;;default:_0x85bfx9[_0x5952[18]][_0x85bfxb]={$like:{}};_0x85bfx9[_0x5952[18]][_0x85bfxb][_0x5952[23]]=_0x5952[19]+_0x85bfxa+_0x5952[19];;}});Dashboard[_0x5952[39]](_0x85bfx9)[_0x5952[38]](function(_0x85bfxf){var _0x85bfx10=Math[_0x5952[30]](_0x85bfxf[_0x5952[29]]/_0x85bfx7);var _0x85bfx11=_0x85bfx10>(_0x85bfx9[_0x5952[31]]+1)?util[_0x5952[16]](_0x5952[32],_0x85bfx4[_0x5952[33]],_0x85bfx4[_0x5952[35]][_0x5952[34]],_0x85bfx4[_0x5952[36]],_0x85bfx8+1):null;var _0x85bfx12=_0x85bfx8>0?util[_0x5952[16]](_0x5952[32],_0x85bfx4[_0x5952[33]],_0x85bfx4[_0x5952[35]][_0x5952[34]],_0x85bfx4[_0x5952[36]],_0x85bfx8-1):null;return _0x85bfx5[_0x5952[27]](200)[_0x5952[26]]({count:_0x85bfxf[_0x5952[29]],rows:_0x85bfxf[_0x5952[37]],next_page:_0x85bfx11,previous_page:_0x85bfx12,total_pages:_0x85bfx10});})[_0x5952[28]](function(_0x85bfxe){return _0x85bfx5[_0x5952[27]](500)[_0x5952[26]]({error:_0x5952[25]})});};exports[_0x5952[40]]=function(_0x85bfx4,_0x85bfx5){Dashboard[_0x5952[42]]()[_0x5952[38]](function(_0x85bfx13){if(!_0x85bfx13){return _0x85bfx5[_0x5952[41]](404)};return _0x85bfx5[_0x5952[27]](200)[_0x5952[26]](_0x85bfx13);})[_0x5952[28]](function(_0x85bfxe){return handleError(_0x85bfx5,_0x85bfxe)})};exports[_0x5952[43]]=function(_0x85bfx4,_0x85bfx5){Dashboard[_0x5952[46]](_0x85bfx4[_0x5952[45]][_0x5952[44]])[_0x5952[38]](function(_0x85bfx14){if(!_0x85bfx14){return _0x85bfx5[_0x5952[41]](404)};return _0x85bfx5[_0x5952[26]](_0x85bfx14);})[_0x5952[28]](function(_0x85bfxe){return handleError(_0x85bfx5,_0x85bfxe)})};exports[_0x5952[47]]=function(_0x85bfx4,_0x85bfx5){Dashboard[_0x5952[47]](_0x85bfx4[_0x5952[48]])[_0x5952[38]](function(_0x85bfx14){return _0x85bfx5[_0x5952[27]](201)[_0x5952[26]](_0x85bfx14)})[_0x5952[28]](function(_0x85bfxe){return handleError(_0x85bfx5,_0x85bfxe)})};exports[_0x5952[49]]=function(_0x85bfx4,_0x85bfx5){if(_0x85bfx4[_0x5952[48]][_0x5952[44]]){delete _0x85bfx4[_0x5952[48]][_0x5952[44]]};Dashboard[_0x5952[46]](_0x85bfx4[_0x5952[45]][_0x5952[44]])[_0x5952[38]](function(_0x85bfx14){if(!_0x85bfx14){return _0x85bfx5[_0x5952[41]](404)};var _0x85bfx15=_[_0x5952[50]](_0x85bfx14,_0x85bfx4[_0x5952[48]]);_0x85bfx15[_0x5952[51]]()[_0x5952[38]](function(){return _0x85bfx5[_0x5952[27]](200)[_0x5952[26]](_0x85bfx14)})[_0x5952[28]](function(_0x85bfxe){return handleError(_0x85bfx5,_0x85bfxe)});})[_0x5952[28]](function(_0x85bfxe){return handleError(_0x85bfx5,_0x85bfxe)});};exports[_0x5952[52]]=function(_0x85bfx4,_0x85bfx5){Dashboard[_0x5952[46]](_0x85bfx4[_0x5952[45]][_0x5952[44]])[_0x5952[38]](function(_0x85bfx14){if(!_0x85bfx14){return _0x85bfx5[_0x5952[41]](404)};_0x85bfx14[_0x5952[52]]()[_0x5952[38]](function(){return _0x85bfx5[_0x5952[41]](204)})[_0x5952[28]](function(_0x85bfxe){return handleError(_0x85bfx5,_0x85bfxe)});})[_0x5952[28]](function(_0x85bfxe){return handleError(_0x85bfx5,_0x85bfxe)})};exports[_0x5952[53]]=function(_0x85bfx4,_0x85bfx5){Dashboard[_0x5952[52]]({where:{id:_0x85bfx4[_0x5952[9]][_0x5952[44]]},individualHooks:true})[_0x5952[38]](function(){return _0x85bfx5[_0x5952[41]](204)})[_0x5952[28]](function(_0x85bfxe){return handleError(_0x85bfx5,_0x85bfxe)})};function handleError(_0x85bfx5,_0x85bfxe){return _0x85bfx5[_0x5952[27]](500)[_0x5952[26]](_0x85bfxe)}
\ No newline at end of file
+var _0xfee3=["\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","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\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","\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"];_0xfee3[0];var _=require(_0xfee3[1]);var util=require(_0xfee3[2]);var Dashboard=require(_0xfee3[4])[_0xfee3[3]];exports[_0xfee3[5]]=function(_0xd6bdx4,_0xd6bdx5){var _0xd6bdx6=[_0xfee3[6],_0xfee3[7]];var _0xd6bdx7=_0xd6bdx4[_0xfee3[9]][_0xfee3[8]]?parseInt(_0xd6bdx4[_0xfee3[9]][_0xfee3[8]],10):100;var _0xd6bdx8=_0xd6bdx4[_0xfee3[9]][_0xfee3[10]]?parseInt(_0xd6bdx4[_0xfee3[9]][_0xfee3[10]],10):0;var _0xd6bdx9={where:{},limit:_0xd6bdx7,offset:_0xd6bdx8*_0xd6bdx7};_[_0xfee3[24]](_0xd6bdx4[_0xfee3[9]],function(_0xd6bdxa,_0xd6bdxb){switch(_0xd6bdxb){case _0xfee3[8]:;case _0xfee3[10]:break ;;case _0xfee3[13]:_0xd6bdx9[_0xfee3[11]]=util[_0xfee3[16]](_0xfee3[12],_0xd6bdx4[_0xfee3[9]][_0xfee3[13]],_0xd6bdx4[_0xfee3[9]][_0xfee3[14]]||_0xfee3[15])||null;break ;;case _0xfee3[14]:break ;;case _0xfee3[22]:_0xd6bdx9[_0xfee3[18]][_0xfee3[17]]=[];_0xd6bdx6[_0xfee3[21]](function(_0xd6bdxc){var _0xd6bdxd={};_0xd6bdxd[_0xd6bdxc]={$like:_0xfee3[19]+_0xd6bdxa+_0xfee3[19]};_0xd6bdx9[_0xfee3[18]][_0xfee3[17]][_0xfee3[20]](_0xd6bdxd);});break ;;default:_0xd6bdx9[_0xfee3[18]][_0xd6bdxb]={$like:{}};_0xd6bdx9[_0xfee3[18]][_0xd6bdxb][_0xfee3[23]]=_0xfee3[19]+_0xd6bdxa+_0xfee3[19];;}});Dashboard[_0xfee3[39]](_0xd6bdx9)[_0xfee3[38]](function(_0xd6bdxf){var _0xd6bdx10=Math[_0xfee3[30]](_0xd6bdxf[_0xfee3[29]]/_0xd6bdx7);var _0xd6bdx11=_0xd6bdx10>(_0xd6bdx9[_0xfee3[31]]+1)?util[_0xfee3[16]](_0xfee3[32],_0xd6bdx4[_0xfee3[33]],_0xd6bdx4[_0xfee3[35]][_0xfee3[34]],_0xd6bdx4[_0xfee3[36]],_0xd6bdx8+1):null;var _0xd6bdx12=_0xd6bdx8>0?util[_0xfee3[16]](_0xfee3[32],_0xd6bdx4[_0xfee3[33]],_0xd6bdx4[_0xfee3[35]][_0xfee3[34]],_0xd6bdx4[_0xfee3[36]],_0xd6bdx8-1):null;return _0xd6bdx5[_0xfee3[27]](200)[_0xfee3[26]]({count:_0xd6bdxf[_0xfee3[29]],rows:_0xd6bdxf[_0xfee3[37]],next_page:_0xd6bdx11,previous_page:_0xd6bdx12,total_pages:_0xd6bdx10});})[_0xfee3[28]](function(_0xd6bdxe){return _0xd6bdx5[_0xfee3[27]](500)[_0xfee3[26]]({error:_0xfee3[25]})});};exports[_0xfee3[40]]=function(_0xd6bdx4,_0xd6bdx5){Dashboard[_0xfee3[42]]()[_0xfee3[38]](function(_0xd6bdx13){if(!_0xd6bdx13){return _0xd6bdx5[_0xfee3[41]](404)};return _0xd6bdx5[_0xfee3[27]](200)[_0xfee3[26]](_0xd6bdx13);})[_0xfee3[28]](function(_0xd6bdxe){return handleError(_0xd6bdx5,_0xd6bdxe)})};exports[_0xfee3[43]]=function(_0xd6bdx4,_0xd6bdx5){Dashboard[_0xfee3[46]](_0xd6bdx4[_0xfee3[45]][_0xfee3[44]])[_0xfee3[38]](function(_0xd6bdx14){if(!_0xd6bdx14){return _0xd6bdx5[_0xfee3[41]](404)};return _0xd6bdx5[_0xfee3[26]](_0xd6bdx14);})[_0xfee3[28]](function(_0xd6bdxe){return handleError(_0xd6bdx5,_0xd6bdxe)})};exports[_0xfee3[47]]=function(_0xd6bdx4,_0xd6bdx5){Dashboard[_0xfee3[47]](_0xd6bdx4[_0xfee3[48]])[_0xfee3[38]](function(_0xd6bdx14){return _0xd6bdx5[_0xfee3[27]](201)[_0xfee3[26]](_0xd6bdx14)})[_0xfee3[28]](function(_0xd6bdxe){return handleError(_0xd6bdx5,_0xd6bdxe)})};exports[_0xfee3[49]]=function(_0xd6bdx4,_0xd6bdx5){if(_0xd6bdx4[_0xfee3[48]][_0xfee3[44]]){delete _0xd6bdx4[_0xfee3[48]][_0xfee3[44]]};Dashboard[_0xfee3[46]](_0xd6bdx4[_0xfee3[45]][_0xfee3[44]])[_0xfee3[38]](function(_0xd6bdx14){if(!_0xd6bdx14){return _0xd6bdx5[_0xfee3[41]](404)};var _0xd6bdx15=_[_0xfee3[50]](_0xd6bdx14,_0xd6bdx4[_0xfee3[48]]);_0xd6bdx15[_0xfee3[51]]()[_0xfee3[38]](function(){return _0xd6bdx5[_0xfee3[27]](200)[_0xfee3[26]](_0xd6bdx14)})[_0xfee3[28]](function(_0xd6bdxe){return handleError(_0xd6bdx5,_0xd6bdxe)});})[_0xfee3[28]](function(_0xd6bdxe){return handleError(_0xd6bdx5,_0xd6bdxe)});};exports[_0xfee3[52]]=function(_0xd6bdx4,_0xd6bdx5){Dashboard[_0xfee3[46]](_0xd6bdx4[_0xfee3[45]][_0xfee3[44]])[_0xfee3[38]](function(_0xd6bdx14){if(!_0xd6bdx14){return _0xd6bdx5[_0xfee3[41]](404)};_0xd6bdx14[_0xfee3[52]]()[_0xfee3[38]](function(){return _0xd6bdx5[_0xfee3[41]](204)})[_0xfee3[28]](function(_0xd6bdxe){return handleError(_0xd6bdx5,_0xd6bdxe)});})[_0xfee3[28]](function(_0xd6bdxe){return handleError(_0xd6bdx5,_0xd6bdxe)})};exports[_0xfee3[53]]=function(_0xd6bdx4,_0xd6bdx5){Dashboard[_0xfee3[52]]({where:{id:_0xd6bdx4[_0xfee3[9]][_0xfee3[44]]},individualHooks:true})[_0xfee3[38]](function(){return _0xd6bdx5[_0xfee3[41]](204)})[_0xfee3[28]](function(_0xd6bdxe){return handleError(_0xd6bdx5,_0xd6bdxe)})};function handleError(_0xd6bdx5,_0xd6bdxe){return _0xd6bdx5[_0xfee3[27]](500)[_0xfee3[26]](_0xd6bdxe)}
\ No newline at end of file
index 5035f3d..cd96ec7 100644 (file)
@@ -1 +1 @@
-var _0xc66b=["\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"];_0xc66b[0];var Dashboard=require(_0xc66b[2])[_0xc66b[1]];exports[_0xc66b[3]]=function(_0x2354x2){Dashboard[_0xc66b[4]](function(_0x2354x3){onSave(_0x2354x2,_0x2354x3)});Dashboard[_0xc66b[5]](function(_0x2354x3){onSave(_0x2354x2,_0x2354x3)});Dashboard[_0xc66b[6]](function(_0x2354x3){onRemove(_0x2354x2,_0x2354x3)});};function onSave(_0x2354x2,_0x2354x3,_0x2354x5){_0x2354x2[_0xc66b[8]](_0xc66b[7],_0x2354x3)}function onRemove(_0x2354x2,_0x2354x3,_0x2354x5){_0x2354x2[_0xc66b[8]](_0xc66b[9],_0x2354x3)}
\ No newline at end of file
+var _0x50f7=["\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"];_0x50f7[0];var Dashboard=require(_0x50f7[2])[_0x50f7[1]];exports[_0x50f7[3]]=function(_0x16eex2){Dashboard[_0x50f7[4]](function(_0x16eex3){onSave(_0x16eex2,_0x16eex3)});Dashboard[_0x50f7[5]](function(_0x16eex3){onSave(_0x16eex2,_0x16eex3)});Dashboard[_0x50f7[6]](function(_0x16eex3){onRemove(_0x16eex2,_0x16eex3)});};function onSave(_0x16eex2,_0x16eex3,_0x16eex5){_0x16eex2[_0x50f7[8]](_0x50f7[7],_0x16eex3)}function onRemove(_0x16eex2,_0x16eex3,_0x16eex5){_0x16eex2[_0x50f7[8]](_0x50f7[9],_0x16eex3)}
\ No newline at end of file
index e91df51..a1ce20f 100644 (file)
@@ -1 +1 @@
-var _0x5c71=["\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\x64\x61\x73\x68\x62\x6F\x61\x72\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\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x73","\x67\x65\x74"];_0x5c71[0];var should=require(_0x5c71[1]);var app=require(_0x5c71[2]);var request=require(_0x5c71[3]);describe(_0x5c71[4],function(){it(_0x5c71[5],function(_0xff38x4){request(app)[_0x5c71[13]](_0x5c71[12])[_0x5c71[11]](200)[_0x5c71[11]](_0x5c71[10],/json/)[_0x5c71[9]](function(_0xff38x5,_0xff38x6){if(_0xff38x5){return _0xff38x4(_0xff38x5)};_0xff38x6[_0x5c71[8]][_0x5c71[1]][_0x5c71[7]][_0x5c71[6]](Array);_0xff38x4();})})});
\ No newline at end of file
+var _0xd57e=["\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\x64\x61\x73\x68\x62\x6F\x61\x72\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\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x73","\x67\x65\x74"];_0xd57e[0];var should=require(_0xd57e[1]);var app=require(_0xd57e[2]);var request=require(_0xd57e[3]);describe(_0xd57e[4],function(){it(_0xd57e[5],function(_0xea64x4){request(app)[_0xd57e[13]](_0xd57e[12])[_0xd57e[11]](200)[_0xd57e[11]](_0xd57e[10],/json/)[_0xd57e[9]](function(_0xea64x5,_0xea64x6){if(_0xea64x5){return _0xea64x4(_0xea64x5)};_0xea64x6[_0xd57e[8]][_0xd57e[1]][_0xd57e[7]][_0xd57e[6]](Array);_0xea64x4();})})});
\ No newline at end of file
index 7a9206d..4c51ffe 100644 (file)
@@ -1 +1 @@
-var _0xdf29=["\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","\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","\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"];_0xdf29[0];var express=require(_0xdf29[1]);var controller=require(_0xdf29[2]);var auth=require(_0xdf29[3]);var router=express.Router();router[_0xdf29[7]](_0xdf29[4],auth[_0xdf29[5]](),controller[_0xdf29[6]]);router[_0xdf29[7]](_0xdf29[8],auth[_0xdf29[5]](),controller[_0xdf29[9]]);router[_0xdf29[7]](_0xdf29[10],auth[_0xdf29[5]](),controller[_0xdf29[11]]);router[_0xdf29[13]](_0xdf29[4],auth[_0xdf29[5]](),controller[_0xdf29[12]]);router[_0xdf29[15]](_0xdf29[10],auth[_0xdf29[5]](),controller[_0xdf29[14]]);router[_0xdf29[16]](_0xdf29[10],auth[_0xdf29[5]](),controller[_0xdf29[14]]);router[_0xdf29[18]](_0xdf29[4],auth[_0xdf29[5]](),controller[_0xdf29[17]]);router[_0xdf29[18]](_0xdf29[10],auth[_0xdf29[5]](),controller[_0xdf29[19]]);module[_0xdf29[20]]=router;
\ No newline at end of file
+var _0x7dae=["\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","\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","\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"];_0x7dae[0];var express=require(_0x7dae[1]);var controller=require(_0x7dae[2]);var auth=require(_0x7dae[3]);var router=express.Router();router[_0x7dae[7]](_0x7dae[4],auth[_0x7dae[5]](),controller[_0x7dae[6]]);router[_0x7dae[7]](_0x7dae[8],auth[_0x7dae[5]](),controller[_0x7dae[9]]);router[_0x7dae[7]](_0x7dae[10],auth[_0x7dae[5]](),controller[_0x7dae[11]]);router[_0x7dae[13]](_0x7dae[4],auth[_0x7dae[5]](),controller[_0x7dae[12]]);router[_0x7dae[15]](_0x7dae[10],auth[_0x7dae[5]](),controller[_0x7dae[14]]);router[_0x7dae[16]](_0x7dae[10],auth[_0x7dae[5]](),controller[_0x7dae[14]]);router[_0x7dae[18]](_0x7dae[4],auth[_0x7dae[5]](),controller[_0x7dae[17]]);router[_0x7dae[18]](_0x7dae[10],auth[_0x7dae[5]](),controller[_0x7dae[19]]);module[_0x7dae[20]]=router;
\ No newline at end of file
index 638c0fa..b6b68b1 100644 (file)
@@ -1 +1 @@
-var _0xee2d=["\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","\x43\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x70\x61\x72\x65\x6E\x74","\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","\x72\x6F\x6C\x65","\x73\x70\x6C\x69\x74","\x70\x61\x72\x73\x65","\x66\x6F\x72\x4F\x77\x6E","\x63\x6C\x69\x65\x6E\x74\x51\x75\x65\x72\x79","\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\x6F\x70\x79","\x6C\x6F\x67","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x62\x6F\x64\x79","\x46\x69\x65\x6C\x64\x73","\x70\x6C\x75\x63\x6B","\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64","\x63\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xee2d[0];var _=require(_0xee2d[1]);var util=require(_0xee2d[2]);var DefaultReport=require(_0xee2d[4])[_0xee2d[3]];var CustomReport=require(_0xee2d[4])[_0xee2d[5]];exports[_0xee2d[6]]=function(_0x7e39x5,_0x7e39x6,_0x7e39x7){var _0x7e39x8=[_0xee2d[7],_0xee2d[8],_0xee2d[9]];var _0x7e39x9=_0x7e39x5[_0xee2d[11]][_0xee2d[10]]?parseInt(_0x7e39x5[_0xee2d[11]][_0xee2d[10]],10):100;var _0x7e39xa=_0x7e39x5[_0xee2d[11]][_0xee2d[12]]?parseInt(_0x7e39x5[_0xee2d[11]][_0xee2d[12]],10):0;var _0x7e39xb={where:{},limit:_0x7e39x9,offset:_0x7e39xa*_0x7e39x9};_[_0xee2d[31]](_0x7e39x5[_0xee2d[11]],function(_0x7e39xc,_0x7e39xd){switch(_0x7e39xd){case _0xee2d[10]:;case _0xee2d[12]:break ;;case _0xee2d[15]:_0x7e39xb[_0xee2d[13]]=util[_0xee2d[18]](_0xee2d[14],_0x7e39x5[_0xee2d[11]][_0xee2d[15]],_0x7e39x5[_0xee2d[11]][_0xee2d[16]]||_0xee2d[17])||null;break ;;case _0xee2d[16]:break ;;case _0xee2d[24]:_0x7e39xb[_0xee2d[20]][_0xee2d[19]]=[];_0x7e39x8[_0xee2d[23]](function(_0x7e39xe){var _0x7e39xf={};_0x7e39xf[_0x7e39xe]={$like:_0xee2d[21]+_0x7e39xc+_0xee2d[21]};_0x7e39xb[_0xee2d[20]][_0xee2d[19]][_0xee2d[22]](_0x7e39xf);});break ;;case _0xee2d[25]:_0x7e39xb[_0xee2d[20]][_0xee2d[25]]={$or:_0x7e39xc[_0xee2d[26]](/[\s,]+/)};break ;;case _0xee2d[29]:var _0x7e39x10=JSON[_0xee2d[27]](_0x7e39xc);_[_0xee2d[28]](_0x7e39x10,function(_0x7e39x11,_0x7e39x12){_0x7e39xb[_0xee2d[20]][_0x7e39x12]=_0x7e39x11});break ;;default:_0x7e39xb[_0xee2d[20]][_0x7e39xd]={$like:{}};_0x7e39xb[_0xee2d[20]][_0x7e39xd][_0xee2d[30]]=_0xee2d[21]+_0x7e39xc+_0xee2d[21];;}});DefaultReport[_0xee2d[46]](_0x7e39xb)[_0xee2d[45]](function(_0x7e39x14){var _0x7e39x15=Math[_0xee2d[37]](_0x7e39x14[_0xee2d[36]]/_0x7e39x9);var _0x7e39x16=_0x7e39x15>(_0x7e39xb[_0xee2d[38]]+1)?util[_0xee2d[18]](_0xee2d[39],_0x7e39x5[_0xee2d[40]],_0x7e39x5[_0xee2d[42]][_0xee2d[41]],_0x7e39x5[_0xee2d[43]],_0x7e39xa+1):null;var _0x7e39x17=_0x7e39xa>0?util[_0xee2d[18]](_0xee2d[39],_0x7e39x5[_0xee2d[40]],_0x7e39x5[_0xee2d[42]][_0xee2d[41]],_0x7e39x5[_0xee2d[43]],_0x7e39xa-1):null;_0x7e39x6[_0xee2d[34]](200)[_0xee2d[33]]({count:_0x7e39x14[_0xee2d[36]],rows:_0x7e39x14[_0xee2d[44]],next_page:_0x7e39x16,previous_page:_0x7e39x17,total_pages:_0x7e39x15});})[_0xee2d[35]](function(_0x7e39x13){_0x7e39x6[_0xee2d[34]](500)[_0xee2d[33]]({error:_0xee2d[32]})});};exports[_0xee2d[47]]=function(_0x7e39x5,_0x7e39x6){DefaultReport[_0xee2d[51]](_0x7e39x5[_0xee2d[50]][_0xee2d[49]],{include:[{all:true}]})[_0xee2d[45]](function(_0x7e39x18){if(!_0x7e39x18){return _0x7e39x6[_0xee2d[48]](404)};return _0x7e39x6[_0xee2d[33]](_0x7e39x18);})[_0xee2d[35]](function(_0x7e39x13){return handleError(_0x7e39x6,_0x7e39x13)})};exports[_0xee2d[52]]=function(_0x7e39x5,_0x7e39x6){DefaultReport[_0xee2d[51]](_0x7e39x5[_0xee2d[50]][_0xee2d[49]],{include:[{all:true}]})[_0xee2d[45]](function(_0x7e39x18){if(!_0x7e39x18){return _0x7e39x6[_0xee2d[48]](404)};var _0x7e39x19=_0x7e39x18[_0xee2d[54]];delete _0x7e39x19[_0xee2d[49]];delete _0x7e39x19[_0xee2d[55]];delete _0x7e39x19[_0xee2d[56]];_0x7e39x19[_0xee2d[9]]=_0x7e39x5[_0xee2d[57]][_0xee2d[9]];_0x7e39x19[_0xee2d[58]]=_[_0xee2d[59]](_0x7e39x19.Fields,_0xee2d[54]);_[_0xee2d[23]](_0x7e39x19.Fields,function(_0x7e39x1a){delete _0x7e39x1a[_0xee2d[49]];delete _0x7e39x1a[_0xee2d[60]];delete _0x7e39x1a[_0xee2d[55]];delete _0x7e39x1a[_0xee2d[56]];});return CustomReport[_0xee2d[61]](_0x7e39x19,{include:[{all:true}]});})[_0xee2d[45]](function(){return _0x7e39x6[_0xee2d[48]](201)})[_0xee2d[35]](function(_0x7e39x13){console[_0xee2d[53]](_0x7e39x13);return handleError(_0x7e39x6,_0x7e39x13);})};exports[_0xee2d[61]]=function(_0x7e39x5,_0x7e39x6){DefaultReport[_0xee2d[61]](_0x7e39x5[_0xee2d[57]])[_0xee2d[45]](function(_0x7e39x18){return _0x7e39x6[_0xee2d[34]](201)[_0xee2d[33]](_0x7e39x18)})[_0xee2d[35]](function(_0x7e39x13){return handleError(_0x7e39x6,_0x7e39x13)})};exports[_0xee2d[62]]=function(_0x7e39x5,_0x7e39x6){if(_0x7e39x5[_0xee2d[57]][_0xee2d[49]]){delete _0x7e39x5[_0xee2d[57]][_0xee2d[49]]};DefaultReport[_0xee2d[51]](_0x7e39x5[_0xee2d[50]][_0xee2d[49]])[_0xee2d[45]](function(_0x7e39x18){if(!_0x7e39x18){return _0x7e39x6[_0xee2d[48]](404)};var _0x7e39x1b=_[_0xee2d[63]](_0x7e39x18,_0x7e39x5[_0xee2d[57]]);_0x7e39x1b[_0xee2d[64]]()[_0xee2d[45]](function(){return _0x7e39x6[_0xee2d[34]](200)[_0xee2d[33]](_0x7e39x18)})[_0xee2d[35]](function(_0x7e39x13){return handleError(_0x7e39x6,_0x7e39x13)});})[_0xee2d[35]](function(_0x7e39x13){return handleError(_0x7e39x6,_0x7e39x13)});};exports[_0xee2d[65]]=function(_0x7e39x5,_0x7e39x6){DefaultReport[_0xee2d[51]](_0x7e39x5[_0xee2d[50]][_0xee2d[49]])[_0xee2d[45]](function(_0x7e39x18){if(!_0x7e39x18){return _0x7e39x6[_0xee2d[48]](404)};_0x7e39x18[_0xee2d[65]]()[_0xee2d[45]](function(){return _0x7e39x6[_0xee2d[48]](204)})[_0xee2d[35]](function(_0x7e39x13){return handleError(_0x7e39x6,_0x7e39x13)});})[_0xee2d[35]](function(_0x7e39x13){return handleError(_0x7e39x6,_0x7e39x13)})};function handleError(_0x7e39x6,_0x7e39x13){return _0x7e39x6[_0xee2d[34]](500)[_0xee2d[33]](_0x7e39x13)}
\ No newline at end of file
+var _0x4a2d=["\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","\x43\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x70\x61\x72\x65\x6E\x74","\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","\x72\x6F\x6C\x65","\x73\x70\x6C\x69\x74","\x70\x61\x72\x73\x65","\x66\x6F\x72\x4F\x77\x6E","\x63\x6C\x69\x65\x6E\x74\x51\x75\x65\x72\x79","\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\x6F\x70\x79","\x6C\x6F\x67","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x62\x6F\x64\x79","\x46\x69\x65\x6C\x64\x73","\x70\x6C\x75\x63\x6B","\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64","\x63\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x4a2d[0];var _=require(_0x4a2d[1]);var util=require(_0x4a2d[2]);var DefaultReport=require(_0x4a2d[4])[_0x4a2d[3]];var CustomReport=require(_0x4a2d[4])[_0x4a2d[5]];exports[_0x4a2d[6]]=function(_0xddc4x5,_0xddc4x6,_0xddc4x7){var _0xddc4x8=[_0x4a2d[7],_0x4a2d[8],_0x4a2d[9]];var _0xddc4x9=_0xddc4x5[_0x4a2d[11]][_0x4a2d[10]]?parseInt(_0xddc4x5[_0x4a2d[11]][_0x4a2d[10]],10):100;var _0xddc4xa=_0xddc4x5[_0x4a2d[11]][_0x4a2d[12]]?parseInt(_0xddc4x5[_0x4a2d[11]][_0x4a2d[12]],10):0;var _0xddc4xb={where:{},limit:_0xddc4x9,offset:_0xddc4xa*_0xddc4x9};_[_0x4a2d[31]](_0xddc4x5[_0x4a2d[11]],function(_0xddc4xc,_0xddc4xd){switch(_0xddc4xd){case _0x4a2d[10]:;case _0x4a2d[12]:break ;;case _0x4a2d[15]:_0xddc4xb[_0x4a2d[13]]=util[_0x4a2d[18]](_0x4a2d[14],_0xddc4x5[_0x4a2d[11]][_0x4a2d[15]],_0xddc4x5[_0x4a2d[11]][_0x4a2d[16]]||_0x4a2d[17])||null;break ;;case _0x4a2d[16]:break ;;case _0x4a2d[24]:_0xddc4xb[_0x4a2d[20]][_0x4a2d[19]]=[];_0xddc4x8[_0x4a2d[23]](function(_0xddc4xe){var _0xddc4xf={};_0xddc4xf[_0xddc4xe]={$like:_0x4a2d[21]+_0xddc4xc+_0x4a2d[21]};_0xddc4xb[_0x4a2d[20]][_0x4a2d[19]][_0x4a2d[22]](_0xddc4xf);});break ;;case _0x4a2d[25]:_0xddc4xb[_0x4a2d[20]][_0x4a2d[25]]={$or:_0xddc4xc[_0x4a2d[26]](/[\s,]+/)};break ;;case _0x4a2d[29]:var _0xddc4x10=JSON[_0x4a2d[27]](_0xddc4xc);_[_0x4a2d[28]](_0xddc4x10,function(_0xddc4x11,_0xddc4x12){_0xddc4xb[_0x4a2d[20]][_0xddc4x12]=_0xddc4x11});break ;;default:_0xddc4xb[_0x4a2d[20]][_0xddc4xd]={$like:{}};_0xddc4xb[_0x4a2d[20]][_0xddc4xd][_0x4a2d[30]]=_0x4a2d[21]+_0xddc4xc+_0x4a2d[21];;}});DefaultReport[_0x4a2d[46]](_0xddc4xb)[_0x4a2d[45]](function(_0xddc4x14){var _0xddc4x15=Math[_0x4a2d[37]](_0xddc4x14[_0x4a2d[36]]/_0xddc4x9);var _0xddc4x16=_0xddc4x15>(_0xddc4xb[_0x4a2d[38]]+1)?util[_0x4a2d[18]](_0x4a2d[39],_0xddc4x5[_0x4a2d[40]],_0xddc4x5[_0x4a2d[42]][_0x4a2d[41]],_0xddc4x5[_0x4a2d[43]],_0xddc4xa+1):null;var _0xddc4x17=_0xddc4xa>0?util[_0x4a2d[18]](_0x4a2d[39],_0xddc4x5[_0x4a2d[40]],_0xddc4x5[_0x4a2d[42]][_0x4a2d[41]],_0xddc4x5[_0x4a2d[43]],_0xddc4xa-1):null;_0xddc4x6[_0x4a2d[34]](200)[_0x4a2d[33]]({count:_0xddc4x14[_0x4a2d[36]],rows:_0xddc4x14[_0x4a2d[44]],next_page:_0xddc4x16,previous_page:_0xddc4x17,total_pages:_0xddc4x15});})[_0x4a2d[35]](function(_0xddc4x13){_0xddc4x6[_0x4a2d[34]](500)[_0x4a2d[33]]({error:_0x4a2d[32]})});};exports[_0x4a2d[47]]=function(_0xddc4x5,_0xddc4x6){DefaultReport[_0x4a2d[51]](_0xddc4x5[_0x4a2d[50]][_0x4a2d[49]],{include:[{all:true}]})[_0x4a2d[45]](function(_0xddc4x18){if(!_0xddc4x18){return _0xddc4x6[_0x4a2d[48]](404)};return _0xddc4x6[_0x4a2d[33]](_0xddc4x18);})[_0x4a2d[35]](function(_0xddc4x13){return handleError(_0xddc4x6,_0xddc4x13)})};exports[_0x4a2d[52]]=function(_0xddc4x5,_0xddc4x6){DefaultReport[_0x4a2d[51]](_0xddc4x5[_0x4a2d[50]][_0x4a2d[49]],{include:[{all:true}]})[_0x4a2d[45]](function(_0xddc4x18){if(!_0xddc4x18){return _0xddc4x6[_0x4a2d[48]](404)};var _0xddc4x19=_0xddc4x18[_0x4a2d[54]];delete _0xddc4x19[_0x4a2d[49]];delete _0xddc4x19[_0x4a2d[55]];delete _0xddc4x19[_0x4a2d[56]];_0xddc4x19[_0x4a2d[9]]=_0xddc4x5[_0x4a2d[57]][_0x4a2d[9]];_0xddc4x19[_0x4a2d[58]]=_[_0x4a2d[59]](_0xddc4x19.Fields,_0x4a2d[54]);_[_0x4a2d[23]](_0xddc4x19.Fields,function(_0xddc4x1a){delete _0xddc4x1a[_0x4a2d[49]];delete _0xddc4x1a[_0x4a2d[60]];delete _0xddc4x1a[_0x4a2d[55]];delete _0xddc4x1a[_0x4a2d[56]];});return CustomReport[_0x4a2d[61]](_0xddc4x19,{include:[{all:true}]});})[_0x4a2d[45]](function(){return _0xddc4x6[_0x4a2d[48]](201)})[_0x4a2d[35]](function(_0xddc4x13){console[_0x4a2d[53]](_0xddc4x13);return handleError(_0xddc4x6,_0xddc4x13);})};exports[_0x4a2d[61]]=function(_0xddc4x5,_0xddc4x6){DefaultReport[_0x4a2d[61]](_0xddc4x5[_0x4a2d[57]])[_0x4a2d[45]](function(_0xddc4x18){return _0xddc4x6[_0x4a2d[34]](201)[_0x4a2d[33]](_0xddc4x18)})[_0x4a2d[35]](function(_0xddc4x13){return handleError(_0xddc4x6,_0xddc4x13)})};exports[_0x4a2d[62]]=function(_0xddc4x5,_0xddc4x6){if(_0xddc4x5[_0x4a2d[57]][_0x4a2d[49]]){delete _0xddc4x5[_0x4a2d[57]][_0x4a2d[49]]};DefaultReport[_0x4a2d[51]](_0xddc4x5[_0x4a2d[50]][_0x4a2d[49]])[_0x4a2d[45]](function(_0xddc4x18){if(!_0xddc4x18){return _0xddc4x6[_0x4a2d[48]](404)};var _0xddc4x1b=_[_0x4a2d[63]](_0xddc4x18,_0xddc4x5[_0x4a2d[57]]);_0xddc4x1b[_0x4a2d[64]]()[_0x4a2d[45]](function(){return _0xddc4x6[_0x4a2d[34]](200)[_0x4a2d[33]](_0xddc4x18)})[_0x4a2d[35]](function(_0xddc4x13){return handleError(_0xddc4x6,_0xddc4x13)});})[_0x4a2d[35]](function(_0xddc4x13){return handleError(_0xddc4x6,_0xddc4x13)});};exports[_0x4a2d[65]]=function(_0xddc4x5,_0xddc4x6){DefaultReport[_0x4a2d[51]](_0xddc4x5[_0x4a2d[50]][_0x4a2d[49]])[_0x4a2d[45]](function(_0xddc4x18){if(!_0xddc4x18){return _0xddc4x6[_0x4a2d[48]](404)};_0xddc4x18[_0x4a2d[65]]()[_0x4a2d[45]](function(){return _0xddc4x6[_0x4a2d[48]](204)})[_0x4a2d[35]](function(_0xddc4x13){return handleError(_0xddc4x6,_0xddc4x13)});})[_0x4a2d[35]](function(_0xddc4x13){return handleError(_0xddc4x6,_0xddc4x13)})};function handleError(_0xddc4x6,_0xddc4x13){return _0xddc4x6[_0x4a2d[34]](500)[_0x4a2d[33]](_0xddc4x13)}
\ No newline at end of file
index 6a43675..e2d8cd7 100644 (file)
@@ -1 +1 @@
-var _0xbf32=["\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"];_0xbf32[0];var DefaultReport=require(_0xbf32[2])[_0xbf32[1]];exports[_0xbf32[3]]=function(_0xa7d1x2){DefaultReport[_0xbf32[4]](function(_0xa7d1x3){onSave(_0xa7d1x2,_0xa7d1x3)});DefaultReport[_0xbf32[5]](function(_0xa7d1x3){onRemove(_0xa7d1x2,_0xa7d1x3)});};function onSave(_0xa7d1x2,_0xa7d1x3,_0xa7d1x5){_0xa7d1x2[_0xbf32[7]](_0xbf32[6],_0xa7d1x3)}function onRemove(_0xa7d1x2,_0xa7d1x3,_0xa7d1x5){_0xa7d1x2[_0xbf32[7]](_0xbf32[8],_0xa7d1x3)}
\ No newline at end of file
+var _0xa297=["\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"];_0xa297[0];var DefaultReport=require(_0xa297[2])[_0xa297[1]];exports[_0xa297[3]]=function(_0x94a3x2){DefaultReport[_0xa297[4]](function(_0x94a3x3){onSave(_0x94a3x2,_0x94a3x3)});DefaultReport[_0xa297[5]](function(_0x94a3x3){onRemove(_0x94a3x2,_0x94a3x3)});};function onSave(_0x94a3x2,_0x94a3x3,_0x94a3x5){_0x94a3x2[_0xa297[7]](_0xa297[6],_0x94a3x3)}function onRemove(_0x94a3x2,_0x94a3x3,_0x94a3x5){_0x94a3x2[_0xa297[7]](_0xa297[8],_0x94a3x3)}
\ No newline at end of file
index ecff8a3..e0843b2 100644 (file)
@@ -1 +1 @@
-var _0x3823=["\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\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","\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\x61\x6E\x61\x6C\x79\x74\x69\x63\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F\x64\x65\x66\x61\x75\x6C\x74","\x67\x65\x74"];_0x3823[0];var should=require(_0x3823[1]);var app=require(_0x3823[2]);var request=require(_0x3823[3]);describe(_0x3823[4],function(){it(_0x3823[5],function(_0x6efcx4){request(app)[_0x3823[13]](_0x3823[12])[_0x3823[11]](200)[_0x3823[11]](_0x3823[10],/json/)[_0x3823[9]](function(_0x6efcx5,_0x6efcx6){if(_0x6efcx5){return _0x6efcx4(_0x6efcx5)};_0x6efcx6[_0x3823[8]][_0x3823[1]][_0x3823[7]][_0x3823[6]](Array);_0x6efcx4();})})});
\ No newline at end of file
+var _0x50d7=["\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\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","\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\x61\x6E\x61\x6C\x79\x74\x69\x63\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F\x64\x65\x66\x61\x75\x6C\x74","\x67\x65\x74"];_0x50d7[0];var should=require(_0x50d7[1]);var app=require(_0x50d7[2]);var request=require(_0x50d7[3]);describe(_0x50d7[4],function(){it(_0x50d7[5],function(_0xb4b2x4){request(app)[_0x50d7[13]](_0x50d7[12])[_0x50d7[11]](200)[_0x50d7[11]](_0x50d7[10],/json/)[_0x50d7[9]](function(_0xb4b2x5,_0xb4b2x6){if(_0xb4b2x5){return _0xb4b2x4(_0xb4b2x5)};_0xb4b2x6[_0x50d7[8]][_0x50d7[1]][_0x50d7[7]][_0x50d7[6]](Array);_0xb4b2x4();})})});
\ No newline at end of file
index 1cd6912..1fff569 100644 (file)
@@ -1 +1 @@
-var _0x3e6e=["\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","\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","\x2F\x63\x6F\x70\x79\x2F\x3A\x69\x64","\x63\x6F\x70\x79","\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"];_0x3e6e[0];var express=require(_0x3e6e[1]);var controller=require(_0x3e6e[2]);var router=express.Router();router[_0x3e6e[5]](_0x3e6e[3],controller[_0x3e6e[4]]);router[_0x3e6e[5]](_0x3e6e[6],controller[_0x3e6e[7]]);router[_0x3e6e[9]](_0x3e6e[3],controller[_0x3e6e[8]]);router[_0x3e6e[9]](_0x3e6e[10],controller[_0x3e6e[11]]);router[_0x3e6e[13]](_0x3e6e[6],controller[_0x3e6e[12]]);router[_0x3e6e[14]](_0x3e6e[6],controller[_0x3e6e[12]]);router[_0x3e6e[16]](_0x3e6e[6],controller[_0x3e6e[15]]);module[_0x3e6e[17]]=router;
\ No newline at end of file
+var _0x320e=["\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","\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","\x2F\x63\x6F\x70\x79\x2F\x3A\x69\x64","\x63\x6F\x70\x79","\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"];_0x320e[0];var express=require(_0x320e[1]);var controller=require(_0x320e[2]);var router=express.Router();router[_0x320e[5]](_0x320e[3],controller[_0x320e[4]]);router[_0x320e[5]](_0x320e[6],controller[_0x320e[7]]);router[_0x320e[9]](_0x320e[3],controller[_0x320e[8]]);router[_0x320e[9]](_0x320e[10],controller[_0x320e[11]]);router[_0x320e[13]](_0x320e[6],controller[_0x320e[12]]);router[_0x320e[14]](_0x320e[6],controller[_0x320e[12]]);router[_0x320e[16]](_0x320e[6],controller[_0x320e[15]]);module[_0x320e[17]]=router;
\ No newline at end of file
index a9e39f0..e9f49ce 100644 (file)
@@ -1 +1 @@
-var _0xa61c=["\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"];_0xa61c[0];var _=require(_0xa61c[1]);var util=require(_0xa61c[2]);var desk=require(_0xa61c[3]);var DeskAccount=require(_0xa61c[5])[_0xa61c[4]];exports[_0xa61c[6]]=function(_0xfc65x5,_0xfc65x6){var _0xfc65x7=[_0xa61c[7],_0xa61c[8],_0xa61c[9],_0xa61c[10]];var _0xfc65x8=_0xfc65x5[_0xa61c[12]][_0xa61c[11]]?parseInt(_0xfc65x5[_0xa61c[12]][_0xa61c[11]],10):100;var _0xfc65x9=_0xfc65x5[_0xa61c[12]][_0xa61c[13]]?parseInt(_0xfc65x5[_0xa61c[12]][_0xa61c[13]],10):0;var _0xfc65xa={where:{},limit:_0xfc65x8,offset:_0xfc65x9*_0xfc65x8};_[_0xa61c[27]](_0xfc65x5[_0xa61c[12]],function(_0xfc65xb,_0xfc65xc){switch(_0xfc65xc){case _0xa61c[11]:;case _0xa61c[13]:break ;;case _0xa61c[16]:_0xfc65xa[_0xa61c[14]]=util[_0xa61c[19]](_0xa61c[15],_0xfc65x5[_0xa61c[12]][_0xa61c[16]],_0xfc65x5[_0xa61c[12]][_0xa61c[17]]||_0xa61c[18])||null;break ;;case _0xa61c[17]:break ;;case _0xa61c[25]:_0xfc65xa[_0xa61c[21]][_0xa61c[20]]=[];_0xfc65x7[_0xa61c[24]](function(_0xfc65xd){var _0xfc65xe={};_0xfc65xe[_0xfc65xd]={$like:_0xa61c[22]+_0xfc65xb+_0xa61c[22]};_0xfc65xa[_0xa61c[21]][_0xa61c[20]][_0xa61c[23]](_0xfc65xe);});break ;;default:_0xfc65xa[_0xa61c[21]][_0xfc65xc]={$like:{}};_0xfc65xa[_0xa61c[21]][_0xfc65xc][_0xa61c[26]]=_0xa61c[22]+_0xfc65xb+_0xa61c[22];;}});DeskAccount[_0xa61c[42]](_0xfc65xa)[_0xa61c[41]](function(_0xfc65x10){var _0xfc65x11=Math[_0xa61c[33]](_0xfc65x10[_0xa61c[32]]/_0xfc65x8);var _0xfc65x12=_0xfc65x11>(_0xfc65xa[_0xa61c[34]]+1)?util[_0xa61c[19]](_0xa61c[35],_0xfc65x5[_0xa61c[36]],_0xfc65x5[_0xa61c[38]][_0xa61c[37]],_0xfc65x5[_0xa61c[39]],_0xfc65x9+1):null;var _0xfc65x13=_0xfc65x9>0?util[_0xa61c[19]](_0xa61c[35],_0xfc65x5[_0xa61c[36]],_0xfc65x5[_0xa61c[38]][_0xa61c[37]],_0xfc65x5[_0xa61c[39]],_0xfc65x9-1):null;return _0xfc65x6[_0xa61c[30]](200)[_0xa61c[29]]({count:_0xfc65x10[_0xa61c[32]],rows:_0xfc65x10[_0xa61c[40]],next_page:_0xfc65x12,previous_page:_0xfc65x13,total_pages:_0xfc65x11});})[_0xa61c[31]](function(_0xfc65xf){return _0xfc65x6[_0xa61c[30]](500)[_0xa61c[29]]({error:_0xa61c[28]})});};exports[_0xa61c[43]]=function(_0xfc65x5,_0xfc65x6){DeskAccount[_0xa61c[47]](_0xfc65x5[_0xa61c[46]][_0xa61c[45]])[_0xa61c[41]](function(_0xfc65x14){if(!_0xfc65x14){return _0xfc65x6[_0xa61c[44]](404)};return _0xfc65x6[_0xa61c[29]](_0xfc65x14);})[_0xa61c[31]](function(_0xfc65xf){return handleError(_0xfc65x6,_0xfc65xf)})};exports[_0xa61c[48]]=function(_0xfc65x5,_0xfc65x6,_0xfc65x15){DeskAccount[_0xa61c[48]](_0xfc65x5[_0xa61c[49]])[_0xa61c[41]](function(_0xfc65x14){return _0xfc65x6[_0xa61c[30]](201)[_0xa61c[29]](_0xfc65x14)})[_0xa61c[31]](function(_0xfc65xf){return handleError(_0xfc65x6,_0xfc65xf)})};exports[_0xa61c[50]]=function(_0xfc65x5,_0xfc65x6){if(_0xfc65x5[_0xa61c[49]][_0xa61c[45]]){delete _0xfc65x5[_0xa61c[49]][_0xa61c[45]]};DeskAccount[_0xa61c[47]](_0xfc65x5[_0xa61c[46]][_0xa61c[45]])[_0xa61c[41]](function(_0xfc65x14){if(!_0xfc65x14){return _0xfc65x6[_0xa61c[44]](404)};var _0xfc65x16=_[_0xa61c[51]](_0xfc65x14,_0xfc65x5[_0xa61c[49]]);_0xfc65x16[_0xa61c[52]]()[_0xa61c[41]](function(){return _0xfc65x6[_0xa61c[30]](200)[_0xa61c[29]](_0xfc65x14)})[_0xa61c[31]](function(_0xfc65xf){return handleError(_0xfc65x6,_0xfc65xf)});})[_0xa61c[31]](function(_0xfc65xf){return handleError(_0xfc65x6,_0xfc65xf)});};exports[_0xa61c[53]]=function(_0xfc65x5,_0xfc65x6){DeskAccount[_0xa61c[47]](_0xfc65x5[_0xa61c[46]][_0xa61c[45]])[_0xa61c[41]](function(_0xfc65x14){if(!_0xfc65x14){return _0xfc65x6[_0xa61c[44]](404)};_0xfc65x14[_0xa61c[53]]()[_0xa61c[41]](function(){return _0xfc65x6[_0xa61c[44]](204)})[_0xa61c[31]](function(_0xfc65xf){return handleError(_0xfc65x6,_0xfc65xf)});})[_0xa61c[31]](function(_0xfc65xf){return handleError(_0xfc65x6,_0xfc65xf)})};exports[_0xa61c[54]]=function(_0xfc65x5,_0xfc65x6){DeskAccount[_0xa61c[47]](_0xfc65x5[_0xa61c[46]][_0xa61c[45]])[_0xa61c[41]](function(_0xfc65x17){var _0xfc65x14={endpoint:stripTrailingSlash(_0xfc65x17[_0xa61c[10]]),retry:false};if(_0xfc65x17[_0xa61c[55]]===_0xa61c[56]){_0xfc65x14[_0xa61c[9]]=_0xfc65x17[_0xa61c[9]];_0xfc65x14[_0xa61c[57]]=_0xfc65x17[_0xa61c[57]];}else {if(_0xfc65x17[_0xa61c[55]]===_0xa61c[58]){_0xfc65x14[_0xa61c[59]]=_0xfc65x17[_0xa61c[59]];_0xfc65x14[_0xa61c[60]]=_0xfc65x17[_0xa61c[60]];_0xfc65x14[_0xa61c[61]]=_0xfc65x17[_0xa61c[61]];_0xfc65x14[_0xa61c[62]]=_0xfc65x17[_0xa61c[62]];}};var _0xfc65x18=desk[_0xa61c[63]](_0xfc65x14);_0xfc65x18[_0xa61c[65]](_0xa61c[64],function(_0xfc65xf,_0xfc65x19,_0xfc65x1a){if(_0xfc65xf){return handleError(_0xfc65x6,_0xfc65xf)};return _0xfc65x6[_0xa61c[44]](200);});})[_0xa61c[31]](function(_0xfc65xf){return handleError(_0xfc65x6,_0xfc65xf)})};exports[_0xa61c[66]]=function(_0xfc65x5,_0xfc65x6){var _0xfc65x1b={};_0xfc65x1b[_0xfc65x5[_0xa61c[46]][_0xa61c[67]]]=_0xfc65x5[_0xa61c[49]][_0xa61c[68]];DeskAccount[_0xa61c[42]]({where:_0xfc65x1b})[_0xa61c[41]](function(_0xfc65x10){if(_0xfc65x10[_0xa61c[32]]){return _0xfc65x6[_0xa61c[30]](200)[_0xa61c[29]]({isValid:false,value:_0xfc65x5[_0xa61c[49]][_0xa61c[68]]})};return _0xfc65x6[_0xa61c[30]](200)[_0xa61c[29]]({isValid:true,value:_0xfc65x5[_0xa61c[49]][_0xa61c[68]]});})[_0xa61c[31]](function(_0xfc65xf){return handleError(_0xfc65x6,_0xfc65xf)});};exports[_0xa61c[69]]=function(_0xfc65x5,_0xfc65x6){DeskAccount[_0xa61c[47]](_0xfc65x5[_0xa61c[46]][_0xa61c[45]])[_0xa61c[41]](function(_0xfc65x17){var _0xfc65x14={endpoint:stripTrailingSlash(_0xfc65x17[_0xa61c[10]]),retry:false};if(_0xfc65x17[_0xa61c[55]]===_0xa61c[56]){_0xfc65x14[_0xa61c[9]]=_0xfc65x17[_0xa61c[9]];_0xfc65x14[_0xa61c[57]]=_0xfc65x17[_0xa61c[57]];}else {if(_0xfc65x17[_0xa61c[55]]===_0xa61c[58]){_0xfc65x14[_0xa61c[59]]=_0xfc65x17[_0xa61c[59]];_0xfc65x14[_0xa61c[60]]=_0xfc65x17[_0xa61c[60]];_0xfc65x14[_0xa61c[61]]=_0xfc65x17[_0xa61c[61]];_0xfc65x14[_0xa61c[62]]=_0xfc65x17[_0xa61c[62]];}};var _0xfc65x18=desk[_0xa61c[63]](_0xfc65x14);_0xfc65x18[_0xa61c[65]](_0xa61c[70],function(_0xfc65xf,_0xfc65x19,_0xfc65x1a){if(_0xfc65xf){return handleError(_0xfc65x6,_0xfc65xf)};return _0xfc65x6[_0xa61c[30]](200)[_0xa61c[73]](_0xfc65x19[_0xa61c[72]][_0xa61c[71]]);});})[_0xa61c[31]](function(_0xfc65xf){return handleError(_0xfc65x6,_0xfc65xf)})};exports[_0xa61c[74]]=function(_0xfc65x5,_0xfc65x6){DeskAccount[_0xa61c[53]]({where:{id:_0xfc65x5[_0xa61c[12]][_0xa61c[45]]},individualHooks:true})[_0xa61c[41]](function(){return _0xfc65x6[_0xa61c[44]](204)})[_0xa61c[31]](function(_0xfc65xf){return handleError(_0xfc65x6,_0xfc65xf)})};function stripTrailingSlash(_0xfc65x1d){if(_0xfc65x1d[_0xa61c[75]](-1)===_0xa61c[76]){return _0xfc65x1d[_0xa61c[75]](0,_0xfc65x1d[_0xa61c[77]]-1)};return _0xfc65x1d;}function handleError(_0xfc65x6,_0xfc65xf){return _0xfc65x6[_0xa61c[30]](500)[_0xa61c[29]](_0xfc65xf)}
\ No newline at end of file
+var _0x6288=["\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"];_0x6288[0];var _=require(_0x6288[1]);var util=require(_0x6288[2]);var desk=require(_0x6288[3]);var DeskAccount=require(_0x6288[5])[_0x6288[4]];exports[_0x6288[6]]=function(_0x4c77x5,_0x4c77x6){var _0x4c77x7=[_0x6288[7],_0x6288[8],_0x6288[9],_0x6288[10]];var _0x4c77x8=_0x4c77x5[_0x6288[12]][_0x6288[11]]?parseInt(_0x4c77x5[_0x6288[12]][_0x6288[11]],10):100;var _0x4c77x9=_0x4c77x5[_0x6288[12]][_0x6288[13]]?parseInt(_0x4c77x5[_0x6288[12]][_0x6288[13]],10):0;var _0x4c77xa={where:{},limit:_0x4c77x8,offset:_0x4c77x9*_0x4c77x8};_[_0x6288[27]](_0x4c77x5[_0x6288[12]],function(_0x4c77xb,_0x4c77xc){switch(_0x4c77xc){case _0x6288[11]:;case _0x6288[13]:break ;;case _0x6288[16]:_0x4c77xa[_0x6288[14]]=util[_0x6288[19]](_0x6288[15],_0x4c77x5[_0x6288[12]][_0x6288[16]],_0x4c77x5[_0x6288[12]][_0x6288[17]]||_0x6288[18])||null;break ;;case _0x6288[17]:break ;;case _0x6288[25]:_0x4c77xa[_0x6288[21]][_0x6288[20]]=[];_0x4c77x7[_0x6288[24]](function(_0x4c77xd){var _0x4c77xe={};_0x4c77xe[_0x4c77xd]={$like:_0x6288[22]+_0x4c77xb+_0x6288[22]};_0x4c77xa[_0x6288[21]][_0x6288[20]][_0x6288[23]](_0x4c77xe);});break ;;default:_0x4c77xa[_0x6288[21]][_0x4c77xc]={$like:{}};_0x4c77xa[_0x6288[21]][_0x4c77xc][_0x6288[26]]=_0x6288[22]+_0x4c77xb+_0x6288[22];;}});DeskAccount[_0x6288[42]](_0x4c77xa)[_0x6288[41]](function(_0x4c77x10){var _0x4c77x11=Math[_0x6288[33]](_0x4c77x10[_0x6288[32]]/_0x4c77x8);var _0x4c77x12=_0x4c77x11>(_0x4c77xa[_0x6288[34]]+1)?util[_0x6288[19]](_0x6288[35],_0x4c77x5[_0x6288[36]],_0x4c77x5[_0x6288[38]][_0x6288[37]],_0x4c77x5[_0x6288[39]],_0x4c77x9+1):null;var _0x4c77x13=_0x4c77x9>0?util[_0x6288[19]](_0x6288[35],_0x4c77x5[_0x6288[36]],_0x4c77x5[_0x6288[38]][_0x6288[37]],_0x4c77x5[_0x6288[39]],_0x4c77x9-1):null;return _0x4c77x6[_0x6288[30]](200)[_0x6288[29]]({count:_0x4c77x10[_0x6288[32]],rows:_0x4c77x10[_0x6288[40]],next_page:_0x4c77x12,previous_page:_0x4c77x13,total_pages:_0x4c77x11});})[_0x6288[31]](function(_0x4c77xf){return _0x4c77x6[_0x6288[30]](500)[_0x6288[29]]({error:_0x6288[28]})});};exports[_0x6288[43]]=function(_0x4c77x5,_0x4c77x6){DeskAccount[_0x6288[47]](_0x4c77x5[_0x6288[46]][_0x6288[45]])[_0x6288[41]](function(_0x4c77x14){if(!_0x4c77x14){return _0x4c77x6[_0x6288[44]](404)};return _0x4c77x6[_0x6288[29]](_0x4c77x14);})[_0x6288[31]](function(_0x4c77xf){return handleError(_0x4c77x6,_0x4c77xf)})};exports[_0x6288[48]]=function(_0x4c77x5,_0x4c77x6,_0x4c77x15){DeskAccount[_0x6288[48]](_0x4c77x5[_0x6288[49]])[_0x6288[41]](function(_0x4c77x14){return _0x4c77x6[_0x6288[30]](201)[_0x6288[29]](_0x4c77x14)})[_0x6288[31]](function(_0x4c77xf){return handleError(_0x4c77x6,_0x4c77xf)})};exports[_0x6288[50]]=function(_0x4c77x5,_0x4c77x6){if(_0x4c77x5[_0x6288[49]][_0x6288[45]]){delete _0x4c77x5[_0x6288[49]][_0x6288[45]]};DeskAccount[_0x6288[47]](_0x4c77x5[_0x6288[46]][_0x6288[45]])[_0x6288[41]](function(_0x4c77x14){if(!_0x4c77x14){return _0x4c77x6[_0x6288[44]](404)};var _0x4c77x16=_[_0x6288[51]](_0x4c77x14,_0x4c77x5[_0x6288[49]]);_0x4c77x16[_0x6288[52]]()[_0x6288[41]](function(){return _0x4c77x6[_0x6288[30]](200)[_0x6288[29]](_0x4c77x14)})[_0x6288[31]](function(_0x4c77xf){return handleError(_0x4c77x6,_0x4c77xf)});})[_0x6288[31]](function(_0x4c77xf){return handleError(_0x4c77x6,_0x4c77xf)});};exports[_0x6288[53]]=function(_0x4c77x5,_0x4c77x6){DeskAccount[_0x6288[47]](_0x4c77x5[_0x6288[46]][_0x6288[45]])[_0x6288[41]](function(_0x4c77x14){if(!_0x4c77x14){return _0x4c77x6[_0x6288[44]](404)};_0x4c77x14[_0x6288[53]]()[_0x6288[41]](function(){return _0x4c77x6[_0x6288[44]](204)})[_0x6288[31]](function(_0x4c77xf){return handleError(_0x4c77x6,_0x4c77xf)});})[_0x6288[31]](function(_0x4c77xf){return handleError(_0x4c77x6,_0x4c77xf)})};exports[_0x6288[54]]=function(_0x4c77x5,_0x4c77x6){DeskAccount[_0x6288[47]](_0x4c77x5[_0x6288[46]][_0x6288[45]])[_0x6288[41]](function(_0x4c77x17){var _0x4c77x14={endpoint:stripTrailingSlash(_0x4c77x17[_0x6288[10]]),retry:false};if(_0x4c77x17[_0x6288[55]]===_0x6288[56]){_0x4c77x14[_0x6288[9]]=_0x4c77x17[_0x6288[9]];_0x4c77x14[_0x6288[57]]=_0x4c77x17[_0x6288[57]];}else {if(_0x4c77x17[_0x6288[55]]===_0x6288[58]){_0x4c77x14[_0x6288[59]]=_0x4c77x17[_0x6288[59]];_0x4c77x14[_0x6288[60]]=_0x4c77x17[_0x6288[60]];_0x4c77x14[_0x6288[61]]=_0x4c77x17[_0x6288[61]];_0x4c77x14[_0x6288[62]]=_0x4c77x17[_0x6288[62]];}};var _0x4c77x18=desk[_0x6288[63]](_0x4c77x14);_0x4c77x18[_0x6288[65]](_0x6288[64],function(_0x4c77xf,_0x4c77x19,_0x4c77x1a){if(_0x4c77xf){return handleError(_0x4c77x6,_0x4c77xf)};return _0x4c77x6[_0x6288[44]](200);});})[_0x6288[31]](function(_0x4c77xf){return handleError(_0x4c77x6,_0x4c77xf)})};exports[_0x6288[66]]=function(_0x4c77x5,_0x4c77x6){var _0x4c77x1b={};_0x4c77x1b[_0x4c77x5[_0x6288[46]][_0x6288[67]]]=_0x4c77x5[_0x6288[49]][_0x6288[68]];DeskAccount[_0x6288[42]]({where:_0x4c77x1b})[_0x6288[41]](function(_0x4c77x10){if(_0x4c77x10[_0x6288[32]]){return _0x4c77x6[_0x6288[30]](200)[_0x6288[29]]({isValid:false,value:_0x4c77x5[_0x6288[49]][_0x6288[68]]})};return _0x4c77x6[_0x6288[30]](200)[_0x6288[29]]({isValid:true,value:_0x4c77x5[_0x6288[49]][_0x6288[68]]});})[_0x6288[31]](function(_0x4c77xf){return handleError(_0x4c77x6,_0x4c77xf)});};exports[_0x6288[69]]=function(_0x4c77x5,_0x4c77x6){DeskAccount[_0x6288[47]](_0x4c77x5[_0x6288[46]][_0x6288[45]])[_0x6288[41]](function(_0x4c77x17){var _0x4c77x14={endpoint:stripTrailingSlash(_0x4c77x17[_0x6288[10]]),retry:false};if(_0x4c77x17[_0x6288[55]]===_0x6288[56]){_0x4c77x14[_0x6288[9]]=_0x4c77x17[_0x6288[9]];_0x4c77x14[_0x6288[57]]=_0x4c77x17[_0x6288[57]];}else {if(_0x4c77x17[_0x6288[55]]===_0x6288[58]){_0x4c77x14[_0x6288[59]]=_0x4c77x17[_0x6288[59]];_0x4c77x14[_0x6288[60]]=_0x4c77x17[_0x6288[60]];_0x4c77x14[_0x6288[61]]=_0x4c77x17[_0x6288[61]];_0x4c77x14[_0x6288[62]]=_0x4c77x17[_0x6288[62]];}};var _0x4c77x18=desk[_0x6288[63]](_0x4c77x14);_0x4c77x18[_0x6288[65]](_0x6288[70],function(_0x4c77xf,_0x4c77x19,_0x4c77x1a){if(_0x4c77xf){return handleError(_0x4c77x6,_0x4c77xf)};return _0x4c77x6[_0x6288[30]](200)[_0x6288[73]](_0x4c77x19[_0x6288[72]][_0x6288[71]]);});})[_0x6288[31]](function(_0x4c77xf){return handleError(_0x4c77x6,_0x4c77xf)})};exports[_0x6288[74]]=function(_0x4c77x5,_0x4c77x6){DeskAccount[_0x6288[53]]({where:{id:_0x4c77x5[_0x6288[12]][_0x6288[45]]},individualHooks:true})[_0x6288[41]](function(){return _0x4c77x6[_0x6288[44]](204)})[_0x6288[31]](function(_0x4c77xf){return handleError(_0x4c77x6,_0x4c77xf)})};function stripTrailingSlash(_0x4c77x1d){if(_0x4c77x1d[_0x6288[75]](-1)===_0x6288[76]){return _0x4c77x1d[_0x6288[75]](0,_0x4c77x1d[_0x6288[77]]-1)};return _0x4c77x1d;}function handleError(_0x4c77x6,_0x4c77xf){return _0x4c77x6[_0x6288[30]](500)[_0x6288[29]](_0x4c77xf)}
\ No newline at end of file
index af74fcb..b2300c1 100644 (file)
@@ -1 +1 @@
-var _0xac67=["\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"];_0xac67[0];var DeskAccount=require(_0xac67[2])[_0xac67[1]];exports[_0xac67[3]]=function(_0xc7dex2){DeskAccount[_0xac67[4]](function(_0xc7dex3){onSave(_0xc7dex2,_0xc7dex3)});DeskAccount[_0xac67[5]](function(_0xc7dex3){onRemove(_0xc7dex2,_0xc7dex3)});};function onSave(_0xc7dex2,_0xc7dex3,_0xc7dex5){_0xc7dex2[_0xac67[7]](_0xac67[6],_0xc7dex3)}function onRemove(_0xc7dex2,_0xc7dex3,_0xc7dex5){_0xc7dex2[_0xac67[7]](_0xac67[8],_0xc7dex3)}
\ No newline at end of file
+var _0x5089=["\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"];_0x5089[0];var DeskAccount=require(_0x5089[2])[_0x5089[1]];exports[_0x5089[3]]=function(_0x7085x2){DeskAccount[_0x5089[4]](function(_0x7085x3){onSave(_0x7085x2,_0x7085x3)});DeskAccount[_0x5089[5]](function(_0x7085x3){onRemove(_0x7085x2,_0x7085x3)});};function onSave(_0x7085x2,_0x7085x3,_0x7085x5){_0x7085x2[_0x5089[7]](_0x5089[6],_0x7085x3)}function onRemove(_0x7085x2,_0x7085x3,_0x7085x5){_0x7085x2[_0x5089[7]](_0x5089[8],_0x7085x3)}
\ No newline at end of file
index 0482b5c..ed963eb 100644 (file)
@@ -1 +1 @@
-var _0xfd6d=["\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\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\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\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x67\x65\x74"];_0xfd6d[0];var should=require(_0xfd6d[1]);var app=require(_0xfd6d[2]);var request=require(_0xfd6d[3]);describe(_0xfd6d[4],function(){it(_0xfd6d[5],function(_0x9ccex4){request(app)[_0xfd6d[13]](_0xfd6d[12])[_0xfd6d[11]](200)[_0xfd6d[11]](_0xfd6d[10],/json/)[_0xfd6d[9]](function(_0x9ccex5,_0x9ccex6){if(_0x9ccex5){return _0x9ccex4(_0x9ccex5)};_0x9ccex6[_0xfd6d[8]][_0xfd6d[1]][_0xfd6d[7]][_0xfd6d[6]](Array);_0x9ccex4();})})});
\ No newline at end of file
+var _0x937d=["\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\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\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\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x67\x65\x74"];_0x937d[0];var should=require(_0x937d[1]);var app=require(_0x937d[2]);var request=require(_0x937d[3]);describe(_0x937d[4],function(){it(_0x937d[5],function(_0xec0ex4){request(app)[_0x937d[13]](_0x937d[12])[_0x937d[11]](200)[_0x937d[11]](_0x937d[10],/json/)[_0x937d[9]](function(_0xec0ex5,_0xec0ex6){if(_0xec0ex5){return _0xec0ex4(_0xec0ex5)};_0xec0ex6[_0x937d[8]][_0x937d[1]][_0x937d[7]][_0x937d[6]](Array);_0xec0ex4();})})});
\ No newline at end of file
index af8f2d7..75581fe 100644 (file)
@@ -1 +1 @@
-var _0x2163=["\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","\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","\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"];_0x2163[0];var express=require(_0x2163[1]);var controller=require(_0x2163[2]);var auth=require(_0x2163[3]);var router=express.Router();router[_0x2163[7]](_0x2163[4],auth[_0x2163[5]](),controller[_0x2163[6]]);router[_0x2163[7]](_0x2163[8],auth[_0x2163[5]](),controller[_0x2163[9]]);router[_0x2163[7]](_0x2163[10],auth[_0x2163[5]](),controller[_0x2163[11]]);router[_0x2163[7]](_0x2163[12],auth[_0x2163[5]](),controller[_0x2163[13]]);router[_0x2163[16]](_0x2163[14],auth[_0x2163[5]](),controller[_0x2163[15]]);router[_0x2163[16]](_0x2163[4],auth[_0x2163[5]](),controller[_0x2163[17]]);router[_0x2163[19]](_0x2163[8],auth[_0x2163[5]](),controller[_0x2163[18]]);router[_0x2163[20]](_0x2163[8],auth[_0x2163[5]](),controller[_0x2163[18]]);router[_0x2163[22]](_0x2163[4],auth[_0x2163[5]](),controller[_0x2163[21]]);router[_0x2163[22]](_0x2163[8],auth[_0x2163[5]](),controller[_0x2163[23]]);module[_0x2163[24]]=router;
\ No newline at end of file
+var _0xf896=["\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","\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","\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"];_0xf896[0];var express=require(_0xf896[1]);var controller=require(_0xf896[2]);var auth=require(_0xf896[3]);var router=express.Router();router[_0xf896[7]](_0xf896[4],auth[_0xf896[5]](),controller[_0xf896[6]]);router[_0xf896[7]](_0xf896[8],auth[_0xf896[5]](),controller[_0xf896[9]]);router[_0xf896[7]](_0xf896[10],auth[_0xf896[5]](),controller[_0xf896[11]]);router[_0xf896[7]](_0xf896[12],auth[_0xf896[5]](),controller[_0xf896[13]]);router[_0xf896[16]](_0xf896[14],auth[_0xf896[5]](),controller[_0xf896[15]]);router[_0xf896[16]](_0xf896[4],auth[_0xf896[5]](),controller[_0xf896[17]]);router[_0xf896[19]](_0xf896[8],auth[_0xf896[5]](),controller[_0xf896[18]]);router[_0xf896[20]](_0xf896[8],auth[_0xf896[5]](),controller[_0xf896[18]]);router[_0xf896[22]](_0xf896[4],auth[_0xf896[5]](),controller[_0xf896[21]]);router[_0xf896[22]](_0xf896[8],auth[_0xf896[5]](),controller[_0xf896[23]]);module[_0xf896[24]]=router;
\ No newline at end of file
index a300bd8..71a555f 100644 (file)
@@ -1 +1 @@
-var _0xaf52=["\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"];_0xaf52[0];var _=require(_0xaf52[1]);var DeskConfiguration=require(_0xaf52[3])[_0xaf52[2]];var DeskField=require(_0xaf52[3])[_0xaf52[4]];function handleError(_0xf239x5,_0xf239x6){_0xf239x6=_0xf239x6||500;return function(_0xf239x7){_0xf239x5[_0xaf52[6]](_0xf239x6)[_0xaf52[5]](_0xf239x7)};}function responseWithResult(_0xf239x5,_0xf239x6){_0xf239x6=_0xf239x6||200;return function(_0xf239x9){if(_0xf239x9){_0xf239x5[_0xaf52[6]](_0xf239x6)[_0xaf52[7]](_0xf239x9)}};}function handleEntityNotFound(_0xf239x5){return function(_0xf239x9){if(!_0xf239x9){_0xf239x5[_0xaf52[6]](404)[_0xaf52[8]]();return null;};return _0xf239x9;}}function saveUpdates(_0xf239xc){return function(_0xf239x9){return _0xf239x9[_0xaf52[10]](_0xf239xc)[_0xaf52[9]](function(_0xf239xd){return _0xf239xd})}}function removeEntity(_0xf239x5){return function(_0xf239x9){if(_0xf239x9){return _0xf239x9[_0xaf52[11]]()[_0xaf52[9]](function(){_0xf239x5[_0xaf52[6]](204)[_0xaf52[8]]()})}}}exports[_0xaf52[12]]=function(_0xf239xf,_0xf239x5){DeskConfiguration[_0xaf52[15]]({where:_0xf239xf[_0xaf52[14]]})[_0xaf52[9]](responseWithResult(_0xf239x5))[_0xaf52[13]](handleError(_0xf239x5))};exports[_0xaf52[16]]=function(_0xf239xf,_0xf239x5){DeskConfiguration[_0xaf52[22]]({where:{id:_0xf239xf[_0xaf52[18]][_0xaf52[17]]},include:[{model:DeskField,as:_0xaf52[19]},{model:DeskField,as:_0xaf52[20]},{model:DeskField,as:_0xaf52[21]}]})[_0xaf52[9]](handleEntityNotFound(_0xf239x5))[_0xaf52[9]](responseWithResult(_0xf239x5))[_0xaf52[13]](handleError(_0xf239x5))};exports[_0xaf52[23]]=function(_0xf239xf,_0xf239x5){DeskConfiguration[_0xaf52[23]](_0xf239xf[_0xaf52[24]])[_0xaf52[9]](responseWithResult(_0xf239x5,201))[_0xaf52[13]](handleError(_0xf239x5))};exports[_0xaf52[25]]=function(_0xf239xf,_0xf239x5){if(_0xf239xf[_0xaf52[24]][_0xaf52[17]]){delete _0xf239xf[_0xaf52[24]][_0xaf52[17]]};DeskConfiguration[_0xaf52[26]](_0xf239xf[_0xaf52[18]][_0xaf52[17]])[_0xaf52[9]](handleEntityNotFound(_0xf239x5))[_0xaf52[9]](saveUpdates(_0xf239xf[_0xaf52[24]]))[_0xaf52[9]](responseWithResult(_0xf239x5))[_0xaf52[13]](handleError(_0xf239x5));};exports[_0xaf52[11]]=function(_0xf239xf,_0xf239x5){DeskConfiguration[_0xaf52[26]](_0xf239xf[_0xaf52[18]][_0xaf52[17]])[_0xaf52[9]](handleEntityNotFound(_0xf239x5))[_0xaf52[9]](removeEntity(_0xf239x5))[_0xaf52[13]](handleError(_0xf239x5))};exports[_0xaf52[27]]=function(_0xf239xf,_0xf239x5,_0xf239x10){var _0xf239x11;DeskConfiguration[_0xaf52[26]](_0xf239xf[_0xaf52[18]][_0xaf52[17]])[_0xaf52[9]](handleEntityNotFound(_0xf239x5))[_0xaf52[9]](function(_0xf239x14){_0xf239x11=_0xf239x14;return DeskField[_0xaf52[23]](_0xf239xf[_0xaf52[24]]);})[_0xaf52[9]](function(_0xf239x13){switch(_0xf239xf[_0xaf52[18]][_0xaf52[35]]){case _0xaf52[30]:return [_0xf239x11[_0xaf52[29]](_0xf239x13),_0xf239x13];;case _0xaf52[32]:return [_0xf239x11[_0xaf52[31]](_0xf239x13),_0xf239x13];;case _0xaf52[34]:return [_0xf239x11[_0xaf52[33]](_0xf239x13),_0xf239x13];;}})[_0xaf52[28]](function(_0xf239x12,_0xf239x13){return _0xf239x5[_0xaf52[6]](201)[_0xaf52[7]](_0xf239x13)})[_0xaf52[13]](handleError(_0xf239x5));};
\ No newline at end of file
+var _0x807e=["\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"];_0x807e[0];var _=require(_0x807e[1]);var DeskConfiguration=require(_0x807e[3])[_0x807e[2]];var DeskField=require(_0x807e[3])[_0x807e[4]];function handleError(_0xcefdx5,_0xcefdx6){_0xcefdx6=_0xcefdx6||500;return function(_0xcefdx7){_0xcefdx5[_0x807e[6]](_0xcefdx6)[_0x807e[5]](_0xcefdx7)};}function responseWithResult(_0xcefdx5,_0xcefdx6){_0xcefdx6=_0xcefdx6||200;return function(_0xcefdx9){if(_0xcefdx9){_0xcefdx5[_0x807e[6]](_0xcefdx6)[_0x807e[7]](_0xcefdx9)}};}function handleEntityNotFound(_0xcefdx5){return function(_0xcefdx9){if(!_0xcefdx9){_0xcefdx5[_0x807e[6]](404)[_0x807e[8]]();return null;};return _0xcefdx9;}}function saveUpdates(_0xcefdxc){return function(_0xcefdx9){return _0xcefdx9[_0x807e[10]](_0xcefdxc)[_0x807e[9]](function(_0xcefdxd){return _0xcefdxd})}}function removeEntity(_0xcefdx5){return function(_0xcefdx9){if(_0xcefdx9){return _0xcefdx9[_0x807e[11]]()[_0x807e[9]](function(){_0xcefdx5[_0x807e[6]](204)[_0x807e[8]]()})}}}exports[_0x807e[12]]=function(_0xcefdxf,_0xcefdx5){DeskConfiguration[_0x807e[15]]({where:_0xcefdxf[_0x807e[14]]})[_0x807e[9]](responseWithResult(_0xcefdx5))[_0x807e[13]](handleError(_0xcefdx5))};exports[_0x807e[16]]=function(_0xcefdxf,_0xcefdx5){DeskConfiguration[_0x807e[22]]({where:{id:_0xcefdxf[_0x807e[18]][_0x807e[17]]},include:[{model:DeskField,as:_0x807e[19]},{model:DeskField,as:_0x807e[20]},{model:DeskField,as:_0x807e[21]}]})[_0x807e[9]](handleEntityNotFound(_0xcefdx5))[_0x807e[9]](responseWithResult(_0xcefdx5))[_0x807e[13]](handleError(_0xcefdx5))};exports[_0x807e[23]]=function(_0xcefdxf,_0xcefdx5){DeskConfiguration[_0x807e[23]](_0xcefdxf[_0x807e[24]])[_0x807e[9]](responseWithResult(_0xcefdx5,201))[_0x807e[13]](handleError(_0xcefdx5))};exports[_0x807e[25]]=function(_0xcefdxf,_0xcefdx5){if(_0xcefdxf[_0x807e[24]][_0x807e[17]]){delete _0xcefdxf[_0x807e[24]][_0x807e[17]]};DeskConfiguration[_0x807e[26]](_0xcefdxf[_0x807e[18]][_0x807e[17]])[_0x807e[9]](handleEntityNotFound(_0xcefdx5))[_0x807e[9]](saveUpdates(_0xcefdxf[_0x807e[24]]))[_0x807e[9]](responseWithResult(_0xcefdx5))[_0x807e[13]](handleError(_0xcefdx5));};exports[_0x807e[11]]=function(_0xcefdxf,_0xcefdx5){DeskConfiguration[_0x807e[26]](_0xcefdxf[_0x807e[18]][_0x807e[17]])[_0x807e[9]](handleEntityNotFound(_0xcefdx5))[_0x807e[9]](removeEntity(_0xcefdx5))[_0x807e[13]](handleError(_0xcefdx5))};exports[_0x807e[27]]=function(_0xcefdxf,_0xcefdx5,_0xcefdx10){var _0xcefdx11;DeskConfiguration[_0x807e[26]](_0xcefdxf[_0x807e[18]][_0x807e[17]])[_0x807e[9]](handleEntityNotFound(_0xcefdx5))[_0x807e[9]](function(_0xcefdx14){_0xcefdx11=_0xcefdx14;return DeskField[_0x807e[23]](_0xcefdxf[_0x807e[24]]);})[_0x807e[9]](function(_0xcefdx13){switch(_0xcefdxf[_0x807e[18]][_0x807e[35]]){case _0x807e[30]:return [_0xcefdx11[_0x807e[29]](_0xcefdx13),_0xcefdx13];;case _0x807e[32]:return [_0xcefdx11[_0x807e[31]](_0xcefdx13),_0xcefdx13];;case _0x807e[34]:return [_0xcefdx11[_0x807e[33]](_0xcefdx13),_0xcefdx13];;}})[_0x807e[28]](function(_0xcefdx12,_0xcefdx13){return _0xcefdx5[_0x807e[6]](201)[_0x807e[7]](_0xcefdx13)})[_0x807e[13]](handleError(_0xcefdx5));};
\ No newline at end of file
index abcd37f..32a8625 100644 (file)
@@ -1 +1 @@
-var _0x9867=["\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"];_0x9867[0];var DeskConfiguration=require(_0x9867[2])[_0x9867[1]];exports[_0x9867[3]]=function(_0x9046x2){DeskConfiguration[_0x9867[4]](function(_0x9046x3){onSave(_0x9046x2,_0x9046x3)});DeskConfiguration[_0x9867[5]](function(_0x9046x3){onRemove(_0x9046x2,_0x9046x3)});};function onSave(_0x9046x2,_0x9046x3,_0x9046x5){_0x9046x2[_0x9867[7]](_0x9867[6],_0x9046x3)}function onRemove(_0x9046x2,_0x9046x3,_0x9046x5){_0x9046x2[_0x9867[7]](_0x9867[8],_0x9046x3)}
\ No newline at end of file
+var _0x30da=["\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"];_0x30da[0];var DeskConfiguration=require(_0x30da[2])[_0x30da[1]];exports[_0x30da[3]]=function(_0xea3ex2){DeskConfiguration[_0x30da[4]](function(_0xea3ex3){onSave(_0xea3ex2,_0xea3ex3)});DeskConfiguration[_0x30da[5]](function(_0xea3ex3){onRemove(_0xea3ex2,_0xea3ex3)});};function onSave(_0xea3ex2,_0xea3ex3,_0xea3ex5){_0xea3ex2[_0x30da[7]](_0x30da[6],_0xea3ex3)}function onRemove(_0xea3ex2,_0xea3ex3,_0xea3ex5){_0xea3ex2[_0x30da[7]](_0x30da[8],_0xea3ex3)}
\ No newline at end of file
index 55ab44b..f6ed4bb 100644 (file)
@@ -1 +1 @@
-var _0x6390=["\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","\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"];_0x6390[0];var express=require(_0x6390[1]);var auth=require(_0x6390[2]);var controller=require(_0x6390[3]);var router=express.Router();router[_0x6390[7]](_0x6390[4],auth[_0x6390[5]](),controller[_0x6390[6]]);router[_0x6390[7]](_0x6390[8],auth[_0x6390[5]](),controller[_0x6390[9]]);router[_0x6390[11]](_0x6390[4],auth[_0x6390[5]](),controller[_0x6390[10]]);router[_0x6390[13]](_0x6390[8],auth[_0x6390[5]](),controller[_0x6390[12]]);router[_0x6390[11]](_0x6390[14],auth[_0x6390[5]](),controller[_0x6390[15]]);router[_0x6390[16]](_0x6390[8],auth[_0x6390[5]](),controller[_0x6390[12]]);router[_0x6390[18]](_0x6390[8],auth[_0x6390[5]](),controller[_0x6390[17]]);module[_0x6390[19]]=router;
\ No newline at end of file
+var _0x183a=["\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","\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"];_0x183a[0];var express=require(_0x183a[1]);var auth=require(_0x183a[2]);var controller=require(_0x183a[3]);var router=express.Router();router[_0x183a[7]](_0x183a[4],auth[_0x183a[5]](),controller[_0x183a[6]]);router[_0x183a[7]](_0x183a[8],auth[_0x183a[5]](),controller[_0x183a[9]]);router[_0x183a[11]](_0x183a[4],auth[_0x183a[5]](),controller[_0x183a[10]]);router[_0x183a[13]](_0x183a[8],auth[_0x183a[5]](),controller[_0x183a[12]]);router[_0x183a[11]](_0x183a[14],auth[_0x183a[5]](),controller[_0x183a[15]]);router[_0x183a[16]](_0x183a[8],auth[_0x183a[5]](),controller[_0x183a[12]]);router[_0x183a[18]](_0x183a[8],auth[_0x183a[5]](),controller[_0x183a[17]]);module[_0x183a[19]]=router;
\ No newline at end of file
index 8c16cae..ac46188 100644 (file)
@@ -1 +1 @@
-var _0x8b49=["\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","\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","\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","\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","\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","\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","\x44\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\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\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\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\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\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\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\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\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\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\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\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"];_0x8b49[0];var proxyquire=require(_0x8b49[2])[_0x8b49[1]]();var deskConfigurationCtrlStub={index:_0x8b49[3],show:_0x8b49[4],create:_0x8b49[5],update:_0x8b49[6],destroy:_0x8b49[7]};var routerStub={get:sinon[_0x8b49[8]](),put:sinon[_0x8b49[8]](),patch:sinon[_0x8b49[8]](),post:sinon[_0x8b49[8]](),delete:sinon[_0x8b49[8]]()};var deskConfigurationIndex=proxyquire(_0x8b49[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\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":deskConfigurationCtrlStub});describe(_0x8b49[10],function(){it(_0x8b49[11],function(){expect(deskConfigurationIndex)[_0x8b49[13]][_0x8b49[12]](routerStub)});describe(_0x8b49[14],function(){it(_0x8b49[15],function(){expect(routerStub[_0x8b49[21]][_0x8b49[20]](_0x8b49[19],_0x8b49[3]))[_0x8b49[13]][_0x8b49[18]][_0x8b49[17]][_0x8b49[16]]})});describe(_0x8b49[22],function(){it(_0x8b49[23],function(){expect(routerStub[_0x8b49[21]][_0x8b49[20]](_0x8b49[24],_0x8b49[4]))[_0x8b49[13]][_0x8b49[18]][_0x8b49[17]][_0x8b49[16]]})});describe(_0x8b49[25],function(){it(_0x8b49[26],function(){expect(routerStub[_0x8b49[27]][_0x8b49[20]](_0x8b49[19],_0x8b49[5]))[_0x8b49[13]][_0x8b49[18]][_0x8b49[17]][_0x8b49[16]]})});describe(_0x8b49[28],function(){it(_0x8b49[29],function(){expect(routerStub[_0x8b49[30]][_0x8b49[20]](_0x8b49[24],_0x8b49[6]))[_0x8b49[13]][_0x8b49[18]][_0x8b49[17]][_0x8b49[16]]})});describe(_0x8b49[31],function(){it(_0x8b49[29],function(){expect(routerStub[_0x8b49[32]][_0x8b49[20]](_0x8b49[24],_0x8b49[6]))[_0x8b49[13]][_0x8b49[18]][_0x8b49[17]][_0x8b49[16]]})});describe(_0x8b49[33],function(){it(_0x8b49[34],function(){expect(routerStub[_0x8b49[35]][_0x8b49[20]](_0x8b49[24],_0x8b49[7]))[_0x8b49[13]][_0x8b49[18]][_0x8b49[17]][_0x8b49[16]]})});});
\ No newline at end of file
+var _0x6525=["\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","\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","\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","\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","\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","\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","\x44\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\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\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\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\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\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\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\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\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\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\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\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"];_0x6525[0];var proxyquire=require(_0x6525[2])[_0x6525[1]]();var deskConfigurationCtrlStub={index:_0x6525[3],show:_0x6525[4],create:_0x6525[5],update:_0x6525[6],destroy:_0x6525[7]};var routerStub={get:sinon[_0x6525[8]](),put:sinon[_0x6525[8]](),patch:sinon[_0x6525[8]](),post:sinon[_0x6525[8]](),delete:sinon[_0x6525[8]]()};var deskConfigurationIndex=proxyquire(_0x6525[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\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":deskConfigurationCtrlStub});describe(_0x6525[10],function(){it(_0x6525[11],function(){expect(deskConfigurationIndex)[_0x6525[13]][_0x6525[12]](routerStub)});describe(_0x6525[14],function(){it(_0x6525[15],function(){expect(routerStub[_0x6525[21]][_0x6525[20]](_0x6525[19],_0x6525[3]))[_0x6525[13]][_0x6525[18]][_0x6525[17]][_0x6525[16]]})});describe(_0x6525[22],function(){it(_0x6525[23],function(){expect(routerStub[_0x6525[21]][_0x6525[20]](_0x6525[24],_0x6525[4]))[_0x6525[13]][_0x6525[18]][_0x6525[17]][_0x6525[16]]})});describe(_0x6525[25],function(){it(_0x6525[26],function(){expect(routerStub[_0x6525[27]][_0x6525[20]](_0x6525[19],_0x6525[5]))[_0x6525[13]][_0x6525[18]][_0x6525[17]][_0x6525[16]]})});describe(_0x6525[28],function(){it(_0x6525[29],function(){expect(routerStub[_0x6525[30]][_0x6525[20]](_0x6525[24],_0x6525[6]))[_0x6525[13]][_0x6525[18]][_0x6525[17]][_0x6525[16]]})});describe(_0x6525[31],function(){it(_0x6525[29],function(){expect(routerStub[_0x6525[32]][_0x6525[20]](_0x6525[24],_0x6525[6]))[_0x6525[13]][_0x6525[18]][_0x6525[17]][_0x6525[16]]})});describe(_0x6525[33],function(){it(_0x6525[34],function(){expect(routerStub[_0x6525[35]][_0x6525[20]](_0x6525[24],_0x6525[7]))[_0x6525[13]][_0x6525[18]][_0x6525[17]][_0x6525[16]]})});});
\ No newline at end of file
index c11284c..1808bee 100644 (file)
@@ -1 +1 @@
-var _0x624e=["\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"];_0x624e[0];var _=require(_0x624e[1]);var DeskField=require(_0x624e[3])[_0x624e[2]];function handleError(_0x994cx4,_0x994cx5){_0x994cx5=_0x994cx5||500;return function(_0x994cx6){_0x994cx4[_0x624e[5]](_0x994cx5)[_0x624e[4]](_0x994cx6)};}function responseWithResult(_0x994cx4,_0x994cx5){_0x994cx5=_0x994cx5||200;return function(_0x994cx8){if(_0x994cx8){_0x994cx4[_0x624e[5]](_0x994cx5)[_0x624e[6]](_0x994cx8)}};}function handleEntityNotFound(_0x994cx4){return function(_0x994cx8){if(!_0x994cx8){_0x994cx4[_0x624e[5]](404)[_0x624e[7]]();return null;};return _0x994cx8;}}function saveUpdates(_0x994cxb){return function(_0x994cx8){return _0x994cx8[_0x624e[9]](_0x994cxb)[_0x624e[8]](function(_0x994cxc){return _0x994cxc})}}function removeEntity(_0x994cx4){return function(_0x994cx8){if(_0x994cx8){return _0x994cx8[_0x624e[10]]()[_0x624e[8]](function(){_0x994cx4[_0x624e[5]](204)[_0x624e[7]]()})}}}exports[_0x624e[11]]=function(_0x994cxe,_0x994cx4){DeskField[_0x624e[13]]()[_0x624e[8]](responseWithResult(_0x994cx4))[_0x624e[12]](handleError(_0x994cx4))};exports[_0x624e[14]]=function(_0x994cxe,_0x994cx4){DeskField[_0x624e[17]](_0x994cxe[_0x624e[16]][_0x624e[15]])[_0x624e[8]](handleEntityNotFound(_0x994cx4))[_0x624e[8]](responseWithResult(_0x994cx4))[_0x624e[12]](handleError(_0x994cx4))};exports[_0x624e[18]]=function(_0x994cxe,_0x994cx4){DeskField[_0x624e[18]](_0x994cxe[_0x624e[19]])[_0x624e[8]](responseWithResult(_0x994cx4,201))[_0x624e[12]](handleError(_0x994cx4))};exports[_0x624e[20]]=function(_0x994cxe,_0x994cx4){if(_0x994cxe[_0x624e[19]][_0x624e[15]]){delete _0x994cxe[_0x624e[19]][_0x624e[15]]};DeskField[_0x624e[17]](_0x994cxe[_0x624e[16]][_0x624e[15]])[_0x624e[8]](handleEntityNotFound(_0x994cx4))[_0x624e[8]](saveUpdates(_0x994cxe[_0x624e[19]]))[_0x624e[8]](responseWithResult(_0x994cx4))[_0x624e[12]](handleError(_0x994cx4));};exports[_0x624e[10]]=function(_0x994cxe,_0x994cx4){DeskField[_0x624e[17]](_0x994cxe[_0x624e[16]][_0x624e[15]])[_0x624e[8]](handleEntityNotFound(_0x994cx4))[_0x624e[8]](removeEntity(_0x994cx4))[_0x624e[12]](handleError(_0x994cx4))};
\ No newline at end of file
+var _0xc67e=["\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"];_0xc67e[0];var _=require(_0xc67e[1]);var DeskField=require(_0xc67e[3])[_0xc67e[2]];function handleError(_0x20f8x4,_0x20f8x5){_0x20f8x5=_0x20f8x5||500;return function(_0x20f8x6){_0x20f8x4[_0xc67e[5]](_0x20f8x5)[_0xc67e[4]](_0x20f8x6)};}function responseWithResult(_0x20f8x4,_0x20f8x5){_0x20f8x5=_0x20f8x5||200;return function(_0x20f8x8){if(_0x20f8x8){_0x20f8x4[_0xc67e[5]](_0x20f8x5)[_0xc67e[6]](_0x20f8x8)}};}function handleEntityNotFound(_0x20f8x4){return function(_0x20f8x8){if(!_0x20f8x8){_0x20f8x4[_0xc67e[5]](404)[_0xc67e[7]]();return null;};return _0x20f8x8;}}function saveUpdates(_0x20f8xb){return function(_0x20f8x8){return _0x20f8x8[_0xc67e[9]](_0x20f8xb)[_0xc67e[8]](function(_0x20f8xc){return _0x20f8xc})}}function removeEntity(_0x20f8x4){return function(_0x20f8x8){if(_0x20f8x8){return _0x20f8x8[_0xc67e[10]]()[_0xc67e[8]](function(){_0x20f8x4[_0xc67e[5]](204)[_0xc67e[7]]()})}}}exports[_0xc67e[11]]=function(_0x20f8xe,_0x20f8x4){DeskField[_0xc67e[13]]()[_0xc67e[8]](responseWithResult(_0x20f8x4))[_0xc67e[12]](handleError(_0x20f8x4))};exports[_0xc67e[14]]=function(_0x20f8xe,_0x20f8x4){DeskField[_0xc67e[17]](_0x20f8xe[_0xc67e[16]][_0xc67e[15]])[_0xc67e[8]](handleEntityNotFound(_0x20f8x4))[_0xc67e[8]](responseWithResult(_0x20f8x4))[_0xc67e[12]](handleError(_0x20f8x4))};exports[_0xc67e[18]]=function(_0x20f8xe,_0x20f8x4){DeskField[_0xc67e[18]](_0x20f8xe[_0xc67e[19]])[_0xc67e[8]](responseWithResult(_0x20f8x4,201))[_0xc67e[12]](handleError(_0x20f8x4))};exports[_0xc67e[20]]=function(_0x20f8xe,_0x20f8x4){if(_0x20f8xe[_0xc67e[19]][_0xc67e[15]]){delete _0x20f8xe[_0xc67e[19]][_0xc67e[15]]};DeskField[_0xc67e[17]](_0x20f8xe[_0xc67e[16]][_0xc67e[15]])[_0xc67e[8]](handleEntityNotFound(_0x20f8x4))[_0xc67e[8]](saveUpdates(_0x20f8xe[_0xc67e[19]]))[_0xc67e[8]](responseWithResult(_0x20f8x4))[_0xc67e[12]](handleError(_0x20f8x4));};exports[_0xc67e[10]]=function(_0x20f8xe,_0x20f8x4){DeskField[_0xc67e[17]](_0x20f8xe[_0xc67e[16]][_0xc67e[15]])[_0xc67e[8]](handleEntityNotFound(_0x20f8x4))[_0xc67e[8]](removeEntity(_0x20f8x4))[_0xc67e[12]](handleError(_0x20f8x4))};
\ No newline at end of file
index 3c554f0..471526a 100644 (file)
@@ -1 +1 @@
-var _0x489d=["\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"];_0x489d[0];var DeskField=require(_0x489d[2])[_0x489d[1]];exports[_0x489d[3]]=function(_0x4ffex2){DeskField[_0x489d[4]](function(_0x4ffex3){onSave(_0x4ffex2,_0x4ffex3)});DeskField[_0x489d[5]](function(_0x4ffex3){onRemove(_0x4ffex2,_0x4ffex3)});};function onSave(_0x4ffex2,_0x4ffex3,_0x4ffex5){_0x4ffex2[_0x489d[7]](_0x489d[6],_0x4ffex3)}function onRemove(_0x4ffex2,_0x4ffex3,_0x4ffex5){_0x4ffex2[_0x489d[7]](_0x489d[8],_0x4ffex3)}
\ No newline at end of file
+var _0xd47d=["\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"];_0xd47d[0];var DeskField=require(_0xd47d[2])[_0xd47d[1]];exports[_0xd47d[3]]=function(_0x9464x2){DeskField[_0xd47d[4]](function(_0x9464x3){onSave(_0x9464x2,_0x9464x3)});DeskField[_0xd47d[5]](function(_0x9464x3){onRemove(_0x9464x2,_0x9464x3)});};function onSave(_0x9464x2,_0x9464x3,_0x9464x5){_0x9464x2[_0xd47d[7]](_0xd47d[6],_0x9464x3)}function onRemove(_0x9464x2,_0x9464x3,_0x9464x5){_0x9464x2[_0xd47d[7]](_0xd47d[8],_0x9464x3)}
\ No newline at end of file
index 7cd7fdc..9054022 100644 (file)
@@ -1 +1 @@
-var _0x47c8=["\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","\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"];_0x47c8[0];var express=require(_0x47c8[1]);var auth=require(_0x47c8[2]);var controller=require(_0x47c8[3]);var router=express.Router();router[_0x47c8[7]](_0x47c8[4],auth[_0x47c8[5]](),controller[_0x47c8[6]]);router[_0x47c8[7]](_0x47c8[8],auth[_0x47c8[5]](),controller[_0x47c8[9]]);router[_0x47c8[11]](_0x47c8[4],auth[_0x47c8[5]](),controller[_0x47c8[10]]);router[_0x47c8[13]](_0x47c8[8],auth[_0x47c8[5]](),controller[_0x47c8[12]]);router[_0x47c8[14]](_0x47c8[8],auth[_0x47c8[5]](),controller[_0x47c8[12]]);router[_0x47c8[16]](_0x47c8[8],auth[_0x47c8[5]](),controller[_0x47c8[15]]);module[_0x47c8[17]]=router;
\ No newline at end of file
+var _0xd95c=["\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","\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"];_0xd95c[0];var express=require(_0xd95c[1]);var auth=require(_0xd95c[2]);var controller=require(_0xd95c[3]);var router=express.Router();router[_0xd95c[7]](_0xd95c[4],auth[_0xd95c[5]](),controller[_0xd95c[6]]);router[_0xd95c[7]](_0xd95c[8],auth[_0xd95c[5]](),controller[_0xd95c[9]]);router[_0xd95c[11]](_0xd95c[4],auth[_0xd95c[5]](),controller[_0xd95c[10]]);router[_0xd95c[13]](_0xd95c[8],auth[_0xd95c[5]](),controller[_0xd95c[12]]);router[_0xd95c[14]](_0xd95c[8],auth[_0xd95c[5]](),controller[_0xd95c[12]]);router[_0xd95c[16]](_0xd95c[8],auth[_0xd95c[5]](),controller[_0xd95c[15]]);module[_0xd95c[17]]=router;
\ No newline at end of file
index f1f7682..e91bbe6 100644 (file)
@@ -1 +1 @@
-var _0x2ca5=["\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","\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\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","\x44\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\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\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\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\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\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\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\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\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\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\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\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"];_0x2ca5[0];var proxyquire=require(_0x2ca5[2])[_0x2ca5[1]]();var deskFieldCtrlStub={index:_0x2ca5[3],show:_0x2ca5[4],create:_0x2ca5[5],update:_0x2ca5[6],destroy:_0x2ca5[7]};var routerStub={get:sinon[_0x2ca5[8]](),put:sinon[_0x2ca5[8]](),patch:sinon[_0x2ca5[8]](),post:sinon[_0x2ca5[8]](),delete:sinon[_0x2ca5[8]]()};var deskFieldIndex=proxyquire(_0x2ca5[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\x2E\x2F\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72":deskFieldCtrlStub});describe(_0x2ca5[10],function(){it(_0x2ca5[11],function(){expect(deskFieldIndex)[_0x2ca5[13]][_0x2ca5[12]](routerStub)});describe(_0x2ca5[14],function(){it(_0x2ca5[15],function(){expect(routerStub[_0x2ca5[21]][_0x2ca5[20]](_0x2ca5[19],_0x2ca5[3]))[_0x2ca5[13]][_0x2ca5[18]][_0x2ca5[17]][_0x2ca5[16]]})});describe(_0x2ca5[22],function(){it(_0x2ca5[23],function(){expect(routerStub[_0x2ca5[21]][_0x2ca5[20]](_0x2ca5[24],_0x2ca5[4]))[_0x2ca5[13]][_0x2ca5[18]][_0x2ca5[17]][_0x2ca5[16]]})});describe(_0x2ca5[25],function(){it(_0x2ca5[26],function(){expect(routerStub[_0x2ca5[27]][_0x2ca5[20]](_0x2ca5[19],_0x2ca5[5]))[_0x2ca5[13]][_0x2ca5[18]][_0x2ca5[17]][_0x2ca5[16]]})});describe(_0x2ca5[28],function(){it(_0x2ca5[29],function(){expect(routerStub[_0x2ca5[30]][_0x2ca5[20]](_0x2ca5[24],_0x2ca5[6]))[_0x2ca5[13]][_0x2ca5[18]][_0x2ca5[17]][_0x2ca5[16]]})});describe(_0x2ca5[31],function(){it(_0x2ca5[29],function(){expect(routerStub[_0x2ca5[32]][_0x2ca5[20]](_0x2ca5[24],_0x2ca5[6]))[_0x2ca5[13]][_0x2ca5[18]][_0x2ca5[17]][_0x2ca5[16]]})});describe(_0x2ca5[33],function(){it(_0x2ca5[34],function(){expect(routerStub[_0x2ca5[35]][_0x2ca5[20]](_0x2ca5[24],_0x2ca5[7]))[_0x2ca5[13]][_0x2ca5[18]][_0x2ca5[17]][_0x2ca5[16]]})});});
\ No newline at end of file
+var _0xf6b7=["\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","\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\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","\x44\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\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\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\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\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\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\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\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\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\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\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\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"];_0xf6b7[0];var proxyquire=require(_0xf6b7[2])[_0xf6b7[1]]();var deskFieldCtrlStub={index:_0xf6b7[3],show:_0xf6b7[4],create:_0xf6b7[5],update:_0xf6b7[6],destroy:_0xf6b7[7]};var routerStub={get:sinon[_0xf6b7[8]](),put:sinon[_0xf6b7[8]](),patch:sinon[_0xf6b7[8]](),post:sinon[_0xf6b7[8]](),delete:sinon[_0xf6b7[8]]()};var deskFieldIndex=proxyquire(_0xf6b7[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\x2E\x2F\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72":deskFieldCtrlStub});describe(_0xf6b7[10],function(){it(_0xf6b7[11],function(){expect(deskFieldIndex)[_0xf6b7[13]][_0xf6b7[12]](routerStub)});describe(_0xf6b7[14],function(){it(_0xf6b7[15],function(){expect(routerStub[_0xf6b7[21]][_0xf6b7[20]](_0xf6b7[19],_0xf6b7[3]))[_0xf6b7[13]][_0xf6b7[18]][_0xf6b7[17]][_0xf6b7[16]]})});describe(_0xf6b7[22],function(){it(_0xf6b7[23],function(){expect(routerStub[_0xf6b7[21]][_0xf6b7[20]](_0xf6b7[24],_0xf6b7[4]))[_0xf6b7[13]][_0xf6b7[18]][_0xf6b7[17]][_0xf6b7[16]]})});describe(_0xf6b7[25],function(){it(_0xf6b7[26],function(){expect(routerStub[_0xf6b7[27]][_0xf6b7[20]](_0xf6b7[19],_0xf6b7[5]))[_0xf6b7[13]][_0xf6b7[18]][_0xf6b7[17]][_0xf6b7[16]]})});describe(_0xf6b7[28],function(){it(_0xf6b7[29],function(){expect(routerStub[_0xf6b7[30]][_0xf6b7[20]](_0xf6b7[24],_0xf6b7[6]))[_0xf6b7[13]][_0xf6b7[18]][_0xf6b7[17]][_0xf6b7[16]]})});describe(_0xf6b7[31],function(){it(_0xf6b7[29],function(){expect(routerStub[_0xf6b7[32]][_0xf6b7[20]](_0xf6b7[24],_0xf6b7[6]))[_0xf6b7[13]][_0xf6b7[18]][_0xf6b7[17]][_0xf6b7[16]]})});describe(_0xf6b7[33],function(){it(_0xf6b7[34],function(){expect(routerStub[_0xf6b7[35]][_0xf6b7[20]](_0xf6b7[24],_0xf6b7[7]))[_0xf6b7[13]][_0xf6b7[18]][_0xf6b7[17]][_0xf6b7[16]]})});});
\ No newline at end of file
index cb7f5db..f5d025f 100644 (file)
@@ -1 +1 @@
-var _0xfbd2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x45\x76\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\x42\x79\x43\x68\x61\x6E\x6E\x65\x6C","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x74\x6F\x55\x70\x70\x65\x72\x43\x61\x73\x65","\x63\x68\x61\x6E\x6E\x65\x6C","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77","\x69\x64","\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"];_0xfbd2[0];var _=require(_0xfbd2[1]);var Event=require(_0xfbd2[3])[_0xfbd2[2]];exports[_0xfbd2[4]]=function(_0xc9a7x3,_0xc9a7x4){Event[_0xfbd2[9]]({include:[{all:true}]})[_0xfbd2[8]](function(_0xc9a7x6){return _0xc9a7x4[_0xfbd2[7]](200)[_0xfbd2[6]](_0xc9a7x6)})[_0xfbd2[5]](function(_0xc9a7x5){return handleError(_0xc9a7x4,_0xc9a7x5)})};exports[_0xfbd2[10]]=function(_0xc9a7x3,_0xc9a7x4){Event[_0xfbd2[9]]({where:{channel:_0xc9a7x3[_0xfbd2[14]][_0xfbd2[13]][_0xfbd2[12]]()},include:[{all:true}]})[_0xfbd2[8]](function(_0xc9a7x7){if(!_0xc9a7x7){return _0xc9a7x4[_0xfbd2[11]](404)};return _0xc9a7x4[_0xfbd2[6]](_0xc9a7x7);})[_0xfbd2[5]](function(_0xc9a7x5){return handleError(_0xc9a7x4,_0xc9a7x5)})};exports[_0xfbd2[15]]=function(_0xc9a7x3,_0xc9a7x4){Event[_0xfbd2[17]](_0xc9a7x3[_0xfbd2[14]][_0xfbd2[16]])[_0xfbd2[8]](function(_0xc9a7x7){if(!_0xc9a7x7){return _0xc9a7x4[_0xfbd2[11]](404)};return _0xc9a7x4[_0xfbd2[6]](_0xc9a7x7);})[_0xfbd2[5]](function(_0xc9a7x5){return handleError(_0xc9a7x4,_0xc9a7x5)})};exports[_0xfbd2[18]]=function(_0xc9a7x3,_0xc9a7x4){Event[_0xfbd2[18]](_0xc9a7x3[_0xfbd2[19]])[_0xfbd2[8]](function(_0xc9a7x7){return _0xc9a7x4[_0xfbd2[7]](201)[_0xfbd2[6]](_0xc9a7x7)})[_0xfbd2[5]](function(_0xc9a7x5){return handleError(_0xc9a7x4,_0xc9a7x5)})};exports[_0xfbd2[20]]=function(_0xc9a7x3,_0xc9a7x4){if(_0xc9a7x3[_0xfbd2[19]][_0xfbd2[16]]){delete _0xc9a7x3[_0xfbd2[19]][_0xfbd2[16]]};Event[_0xfbd2[17]](_0xc9a7x3[_0xfbd2[14]][_0xfbd2[16]])[_0xfbd2[8]](function(_0xc9a7x7){if(!_0xc9a7x7){return _0xc9a7x4[_0xfbd2[11]](404)};var _0xc9a7x8=_[_0xfbd2[21]](_0xc9a7x7,_0xc9a7x3[_0xfbd2[19]]);_0xc9a7x8[_0xfbd2[22]]()[_0xfbd2[8]](function(){return _0xc9a7x4[_0xfbd2[7]](200)[_0xfbd2[6]](_0xc9a7x7)})[_0xfbd2[5]](function(_0xc9a7x5){return handleError(_0xc9a7x4,_0xc9a7x5)});})[_0xfbd2[5]](function(_0xc9a7x5){return handleError(_0xc9a7x4,_0xc9a7x5)});};exports[_0xfbd2[23]]=function(_0xc9a7x3,_0xc9a7x4){Event[_0xfbd2[17]](_0xc9a7x3[_0xfbd2[14]][_0xfbd2[16]])[_0xfbd2[8]](function(_0xc9a7x7){if(!_0xc9a7x7){return _0xc9a7x4[_0xfbd2[11]](404)};_0xc9a7x7[_0xfbd2[23]]()[_0xfbd2[8]](function(){return _0xc9a7x4[_0xfbd2[11]](204)})[_0xfbd2[5]](function(_0xc9a7x5){return handleError(_0xc9a7x4,_0xc9a7x5)});})[_0xfbd2[5]](function(_0xc9a7x5){return handleError(_0xc9a7x4,_0xc9a7x5)})};function handleError(_0xc9a7x4,_0xc9a7x5){return _0xc9a7x4[_0xfbd2[7]](500)[_0xfbd2[6]](_0xc9a7x5)}
\ No newline at end of file
+var _0x1b54=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x45\x76\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\x42\x79\x43\x68\x61\x6E\x6E\x65\x6C","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x74\x6F\x55\x70\x70\x65\x72\x43\x61\x73\x65","\x63\x68\x61\x6E\x6E\x65\x6C","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77","\x69\x64","\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"];_0x1b54[0];var _=require(_0x1b54[1]);var Event=require(_0x1b54[3])[_0x1b54[2]];exports[_0x1b54[4]]=function(_0x63d0x3,_0x63d0x4){Event[_0x1b54[9]]({include:[{all:true}]})[_0x1b54[8]](function(_0x63d0x6){return _0x63d0x4[_0x1b54[7]](200)[_0x1b54[6]](_0x63d0x6)})[_0x1b54[5]](function(_0x63d0x5){return handleError(_0x63d0x4,_0x63d0x5)})};exports[_0x1b54[10]]=function(_0x63d0x3,_0x63d0x4){Event[_0x1b54[9]]({where:{channel:_0x63d0x3[_0x1b54[14]][_0x1b54[13]][_0x1b54[12]]()},include:[{all:true}]})[_0x1b54[8]](function(_0x63d0x7){if(!_0x63d0x7){return _0x63d0x4[_0x1b54[11]](404)};return _0x63d0x4[_0x1b54[6]](_0x63d0x7);})[_0x1b54[5]](function(_0x63d0x5){return handleError(_0x63d0x4,_0x63d0x5)})};exports[_0x1b54[15]]=function(_0x63d0x3,_0x63d0x4){Event[_0x1b54[17]](_0x63d0x3[_0x1b54[14]][_0x1b54[16]])[_0x1b54[8]](function(_0x63d0x7){if(!_0x63d0x7){return _0x63d0x4[_0x1b54[11]](404)};return _0x63d0x4[_0x1b54[6]](_0x63d0x7);})[_0x1b54[5]](function(_0x63d0x5){return handleError(_0x63d0x4,_0x63d0x5)})};exports[_0x1b54[18]]=function(_0x63d0x3,_0x63d0x4){Event[_0x1b54[18]](_0x63d0x3[_0x1b54[19]])[_0x1b54[8]](function(_0x63d0x7){return _0x63d0x4[_0x1b54[7]](201)[_0x1b54[6]](_0x63d0x7)})[_0x1b54[5]](function(_0x63d0x5){return handleError(_0x63d0x4,_0x63d0x5)})};exports[_0x1b54[20]]=function(_0x63d0x3,_0x63d0x4){if(_0x63d0x3[_0x1b54[19]][_0x1b54[16]]){delete _0x63d0x3[_0x1b54[19]][_0x1b54[16]]};Event[_0x1b54[17]](_0x63d0x3[_0x1b54[14]][_0x1b54[16]])[_0x1b54[8]](function(_0x63d0x7){if(!_0x63d0x7){return _0x63d0x4[_0x1b54[11]](404)};var _0x63d0x8=_[_0x1b54[21]](_0x63d0x7,_0x63d0x3[_0x1b54[19]]);_0x63d0x8[_0x1b54[22]]()[_0x1b54[8]](function(){return _0x63d0x4[_0x1b54[7]](200)[_0x1b54[6]](_0x63d0x7)})[_0x1b54[5]](function(_0x63d0x5){return handleError(_0x63d0x4,_0x63d0x5)});})[_0x1b54[5]](function(_0x63d0x5){return handleError(_0x63d0x4,_0x63d0x5)});};exports[_0x1b54[23]]=function(_0x63d0x3,_0x63d0x4){Event[_0x1b54[17]](_0x63d0x3[_0x1b54[14]][_0x1b54[16]])[_0x1b54[8]](function(_0x63d0x7){if(!_0x63d0x7){return _0x63d0x4[_0x1b54[11]](404)};_0x63d0x7[_0x1b54[23]]()[_0x1b54[8]](function(){return _0x63d0x4[_0x1b54[11]](204)})[_0x1b54[5]](function(_0x63d0x5){return handleError(_0x63d0x4,_0x63d0x5)});})[_0x1b54[5]](function(_0x63d0x5){return handleError(_0x63d0x4,_0x63d0x5)})};function handleError(_0x63d0x4,_0x63d0x5){return _0x63d0x4[_0x1b54[7]](500)[_0x1b54[6]](_0x63d0x5)}
\ No newline at end of file
index cbd4b75..273e8e1 100644 (file)
@@ -1 +1 @@
-var _0x9616=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x45\x76\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x74\x68\x65\x6E","\x69\x64","\x66\x69\x6E\x64\x4F\x6E\x65","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x65\x76\x65\x6E\x74\x3A","\x63\x68\x61\x6E\x6E\x65\x6C","\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x65\x76\x65\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x9616[0];var Event=require(_0x9616[2])[_0x9616[1]];exports[_0x9616[3]]=function(_0xf432x2){Event[_0x9616[7]](function(_0xf432x3){Event[_0x9616[6]]({where:{id:_0xf432x3[_0x9616[5]]},include:[{all:true}]})[_0x9616[4]](function(_0xf432x4){onSave(_0xf432x2,_0xf432x4)})});Event[_0x9616[8]](function(_0xf432x3){onRemove(_0xf432x2,_0xf432x3)});};function onSave(_0xf432x2,_0xf432x3,_0xf432x6){_0xf432x2[_0x9616[13]]((_0x9616[10]+_0xf432x3[_0x9616[11]]+_0x9616[12])[_0x9616[9]](),_0xf432x3)}function onRemove(_0xf432x2,_0xf432x3,_0xf432x6){_0xf432x2[_0x9616[13]](_0x9616[14],_0xf432x3)}
\ No newline at end of file
+var _0x50d2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x45\x76\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x74\x68\x65\x6E","\x69\x64","\x66\x69\x6E\x64\x4F\x6E\x65","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x65\x76\x65\x6E\x74\x3A","\x63\x68\x61\x6E\x6E\x65\x6C","\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x65\x76\x65\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x50d2[0];var Event=require(_0x50d2[2])[_0x50d2[1]];exports[_0x50d2[3]]=function(_0xb0a6x2){Event[_0x50d2[7]](function(_0xb0a6x3){Event[_0x50d2[6]]({where:{id:_0xb0a6x3[_0x50d2[5]]},include:[{all:true}]})[_0x50d2[4]](function(_0xb0a6x4){onSave(_0xb0a6x2,_0xb0a6x4)})});Event[_0x50d2[8]](function(_0xb0a6x3){onRemove(_0xb0a6x2,_0xb0a6x3)});};function onSave(_0xb0a6x2,_0xb0a6x3,_0xb0a6x6){_0xb0a6x2[_0x50d2[13]]((_0x50d2[10]+_0xb0a6x3[_0x50d2[11]]+_0x50d2[12])[_0x50d2[9]](),_0xb0a6x3)}function onRemove(_0xb0a6x2,_0xb0a6x3,_0xb0a6x6){_0xb0a6x2[_0x50d2[13]](_0x50d2[14],_0xb0a6x3)}
\ No newline at end of file
index 50d2cf5..e259f15 100644 (file)
@@ -1 +1 @@
-var _0x6986=["\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\x65\x76\x65\x6E\x74\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\x65\x76\x65\x6E\x74\x73","\x67\x65\x74"];_0x6986[0];var should=require(_0x6986[1]);var app=require(_0x6986[2]);var request=require(_0x6986[3]);describe(_0x6986[4],function(){it(_0x6986[5],function(_0xc0ddx4){request(app)[_0x6986[13]](_0x6986[12])[_0x6986[11]](200)[_0x6986[11]](_0x6986[10],/json/)[_0x6986[9]](function(_0xc0ddx5,_0xc0ddx6){if(_0xc0ddx5){return _0xc0ddx4(_0xc0ddx5)};_0xc0ddx6[_0x6986[8]][_0x6986[1]][_0x6986[7]][_0x6986[6]](Array);_0xc0ddx4();})})});
\ No newline at end of file
+var _0x2537=["\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\x65\x76\x65\x6E\x74\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\x65\x76\x65\x6E\x74\x73","\x67\x65\x74"];_0x2537[0];var should=require(_0x2537[1]);var app=require(_0x2537[2]);var request=require(_0x2537[3]);describe(_0x2537[4],function(){it(_0x2537[5],function(_0x5a78x4){request(app)[_0x2537[13]](_0x2537[12])[_0x2537[11]](200)[_0x2537[11]](_0x2537[10],/json/)[_0x2537[9]](function(_0x5a78x5,_0x5a78x6){if(_0x5a78x5){return _0x5a78x4(_0x5a78x5)};_0x5a78x6[_0x2537[8]][_0x2537[1]][_0x2537[7]][_0x2537[6]](Array);_0x5a78x4();})})});
\ No newline at end of file
index 5bb2cab..492186a 100644 (file)
@@ -1 +1 @@
-var _0xacff=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x65\x76\x65\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x2F\x3A\x63\x68\x61\x6E\x6E\x65\x6C","\x73\x68\x6F\x77\x42\x79\x43\x68\x61\x6E\x6E\x65\x6C","\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"];_0xacff[0];var express=require(_0xacff[1]);var controller=require(_0xacff[2]);var router=express.Router();router[_0xacff[5]](_0xacff[3],controller[_0xacff[4]]);router[_0xacff[5]](_0xacff[6],controller[_0xacff[7]]);router[_0xacff[5]](_0xacff[8],controller[_0xacff[9]]);router[_0xacff[11]](_0xacff[3],controller[_0xacff[10]]);router[_0xacff[13]](_0xacff[8],controller[_0xacff[12]]);router[_0xacff[14]](_0xacff[8],controller[_0xacff[12]]);router[_0xacff[16]](_0xacff[8],controller[_0xacff[15]]);module[_0xacff[17]]=router;
\ No newline at end of file
+var _0xcb36=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x65\x76\x65\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x2F\x3A\x63\x68\x61\x6E\x6E\x65\x6C","\x73\x68\x6F\x77\x42\x79\x43\x68\x61\x6E\x6E\x65\x6C","\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"];_0xcb36[0];var express=require(_0xcb36[1]);var controller=require(_0xcb36[2]);var router=express.Router();router[_0xcb36[5]](_0xcb36[3],controller[_0xcb36[4]]);router[_0xcb36[5]](_0xcb36[6],controller[_0xcb36[7]]);router[_0xcb36[5]](_0xcb36[8],controller[_0xcb36[9]]);router[_0xcb36[11]](_0xcb36[3],controller[_0xcb36[10]]);router[_0xcb36[13]](_0xcb36[8],controller[_0xcb36[12]]);router[_0xcb36[14]](_0xcb36[8],controller[_0xcb36[12]]);router[_0xcb36[16]](_0xcb36[8],controller[_0xcb36[15]]);module[_0xcb36[17]]=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
new file mode 100644 (file)
index 0000000..32da8fb
--- /dev/null
@@ -0,0 +1 @@
+var _0x32f6=["\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","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x73\x74\x61\x72\x74\x44\x61\x74\x65","\x65\x6E\x64\x44\x61\x74\x65","\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","\x6C\x6F\x67","\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","\x66\x69\x6E\x64\x41\x6C\x6C","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0x32f6[0];var _=require(_0x32f6[1]);var ExtractedReport=require(_0x32f6[3])[_0x32f6[2]];var util=require(_0x32f6[4]);exports[_0x32f6[5]]=function(_0x458bx4,_0x458bx5){var _0x458bx6=[_0x32f6[6],_0x32f6[7],_0x32f6[8]];var _0x458bx7=_0x458bx4[_0x32f6[10]][_0x32f6[9]]?parseInt(_0x458bx4[_0x32f6[10]][_0x32f6[9]],10):100;var _0x458bx8=_0x458bx4[_0x32f6[10]][_0x32f6[11]]?parseInt(_0x458bx4[_0x32f6[10]][_0x32f6[11]],10):0;var _0x458bx9={where:{},limit:_0x458bx7,offset:_0x458bx8*_0x458bx7};_[_0x32f6[25]](_0x458bx4[_0x32f6[10]],function(_0x458bxa,_0x458bxb){switch(_0x458bxb){case _0x32f6[9]:;case _0x32f6[11]:break ;;case _0x32f6[14]:_0x458bx9[_0x32f6[12]]=util[_0x32f6[17]](_0x32f6[13],_0x458bx4[_0x32f6[10]][_0x32f6[14]],_0x458bx4[_0x32f6[10]][_0x32f6[15]]||_0x32f6[16])||null;break ;;case _0x32f6[15]:break ;;case _0x32f6[23]:_0x458bx9[_0x32f6[19]][_0x32f6[18]]=[];_0x458bx6[_0x32f6[22]](function(_0x458bxc){var _0x458bxd={};_0x458bxd[_0x458bxc]={$like:_0x32f6[20]+_0x458bxa+_0x32f6[20]};_0x458bx9[_0x32f6[19]][_0x32f6[18]][_0x32f6[21]](_0x458bxd);});break ;;default:_0x458bx9[_0x32f6[19]][_0x458bxb]={$like:{}};_0x458bx9[_0x32f6[19]][_0x458bxb][_0x32f6[24]]=_0x32f6[20]+_0x458bxa+_0x32f6[20];;}});console[_0x32f6[26]](_0x458bx9);ExtractedReport[_0x32f6[41]](_0x458bx9)[_0x32f6[40]](function(_0x458bxf){var _0x458bx10=Math[_0x32f6[32]](_0x458bxf[_0x32f6[31]]/_0x458bx7);var _0x458bx11=_0x458bx10>(_0x458bx9[_0x32f6[33]]+1)?util[_0x32f6[17]](_0x32f6[34],_0x458bx4[_0x32f6[35]],_0x458bx4[_0x32f6[37]][_0x32f6[36]],_0x458bx4[_0x32f6[38]],_0x458bx8+1):null;var _0x458bx12=_0x458bx8>0?util[_0x32f6[17]](_0x32f6[34],_0x458bx4[_0x32f6[35]],_0x458bx4[_0x32f6[37]][_0x32f6[36]],_0x458bx4[_0x32f6[38]],_0x458bx8-1):null;_0x458bx5[_0x32f6[29]](200)[_0x32f6[28]]({count:_0x458bxf[_0x32f6[31]],rows:_0x458bxf[_0x32f6[39]],next_page:_0x458bx11,previous_page:_0x458bx12,total_pages:_0x458bx10});})[_0x32f6[30]](function(_0x458bxe){_0x458bx5[_0x32f6[29]](500)[_0x32f6[28]]({error:_0x32f6[27]})});};exports[_0x32f6[42]]=function(_0x458bx4,_0x458bx5){ExtractedReport[_0x32f6[46]](_0x458bx4[_0x32f6[45]][_0x32f6[44]])[_0x32f6[40]](function(_0x458bx13){if(!_0x458bx13){return _0x458bx5[_0x32f6[43]](404)};return _0x458bx5[_0x32f6[28]](_0x458bx13);})[_0x32f6[30]](function(_0x458bxe){return handleError(_0x458bx5,_0x458bxe)})};exports[_0x32f6[47]]=function(_0x458bx4,_0x458bx5){ExtractedReport[_0x32f6[47]](_0x458bx4[_0x32f6[48]])[_0x32f6[40]](function(_0x458bx13){return _0x458bx5[_0x32f6[29]](201)[_0x32f6[28]](_0x458bx13)})[_0x32f6[30]](function(_0x458bxe){return handleError(_0x458bx5,_0x458bxe)})};exports[_0x32f6[49]]=function(_0x458bx4,_0x458bx5){ExtractedReport[_0x32f6[52]]({where:{name:_0x458bx4[_0x32f6[48]][_0x32f6[6]],id:{$ne:_0x458bx4[_0x32f6[48]][_0x32f6[44]]}}})[_0x32f6[40]](function(_0x458bx14){if(!_0x458bx14){return _0x458bx5[_0x32f6[43]](404)};if(_0x458bx4[_0x32f6[48]][_0x32f6[44]]){delete _0x458bx4[_0x32f6[48]][_0x32f6[44]]};ExtractedReport[_0x32f6[46]](_0x458bx4[_0x32f6[45]][_0x32f6[44]])[_0x32f6[40]](function(_0x458bx13){if(!_0x458bx13){return _0x458bx5[_0x32f6[43]](404)};var _0x458bx15=_[_0x32f6[50]](_0x458bx13,_0x458bx4[_0x32f6[48]]);_0x458bx15[_0x32f6[51]]()[_0x32f6[40]](function(){return _0x458bx5[_0x32f6[29]](200)[_0x32f6[28]](_0x458bx13)})[_0x32f6[30]](function(_0x458bxe){return handleError(_0x458bx5,_0x458bxe)});})[_0x32f6[30]](function(_0x458bxe){return handleError(_0x458bx5,_0x458bxe)});})[_0x32f6[30]](function(_0x458bxe){return handleError(_0x458bx5,_0x458bxe)})};exports[_0x32f6[53]]=function(_0x458bx4,_0x458bx5){ExtractedReport[_0x32f6[46]](_0x458bx4[_0x32f6[45]][_0x32f6[44]])[_0x32f6[40]](function(_0x458bx13){if(!_0x458bx13){return _0x458bx5[_0x32f6[43]](404)};_0x458bx13[_0x32f6[53]]()[_0x32f6[40]](function(){return _0x458bx5[_0x32f6[43]](204)})[_0x32f6[30]](function(_0x458bxe){return handleError(_0x458bx5,_0x458bxe)});})[_0x32f6[30]](function(_0x458bxe){return handleError(_0x458bx5,_0x458bxe)})};exports[_0x32f6[54]]=function(_0x458bx4,_0x458bx5){ExtractedReport[_0x32f6[53]]({where:{id:_0x458bx4[_0x32f6[10]][_0x32f6[44]]},individualHooks:true})[_0x32f6[40]](function(){return _0x458bx5[_0x32f6[43]](204)})[_0x32f6[30]](function(_0x458bxe){return handleError(_0x458bx5,_0x458bxe)})};function handleError(_0x458bx5,_0x458bxe){return _0x458bx5[_0x32f6[29]](500)[_0x32f6[28]](_0x458bxe)}
\ 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
new file mode 100644 (file)
index 0000000..69f9ab0
--- /dev/null
@@ -0,0 +1 @@
+var _0x80ba=["\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"];_0x80ba[0];var ExtractedReport=require(_0x80ba[2])[_0x80ba[1]];exports[_0x80ba[3]]=function(_0xfc23x2){ExtractedReport[_0x80ba[4]](function(_0xfc23x3){onSave(_0xfc23x2,_0xfc23x3)});ExtractedReport[_0x80ba[5]](function(_0xfc23x3){onRemove(_0xfc23x2,_0xfc23x3)});};function onSave(_0xfc23x2,_0xfc23x3,_0xfc23x5){_0xfc23x2[_0x80ba[7]](_0x80ba[6],_0xfc23x3)}function onRemove(_0xfc23x2,_0xfc23x3,_0xfc23x5){_0xfc23x2[_0x80ba[7]](_0x80ba[8],_0xfc23x3)}
\ No newline at end of file
diff --git a/server/api/extracted_report/extracted_report.spec.js b/server/api/extracted_report/extracted_report.spec.js
new file mode 100644 (file)
index 0000000..452708e
--- /dev/null
@@ -0,0 +1 @@
+var _0xd9d1=["\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\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x65\x78\x74\x72\x61\x63\x74\x65\x64","\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\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x65\x78\x74\x72\x61\x63\x74\x65\x64","\x67\x65\x74"];_0xd9d1[0];var should=require(_0xd9d1[1]);var app=require(_0xd9d1[2]);var request=require(_0xd9d1[3]);describe(_0xd9d1[4],function(){it(_0xd9d1[5],function(_0x8a0ax4){request(app)[_0xd9d1[13]](_0xd9d1[12])[_0xd9d1[11]](200)[_0xd9d1[11]](_0xd9d1[10],/json/)[_0xd9d1[9]](function(_0x8a0ax5,_0x8a0ax6){if(_0x8a0ax5){return _0x8a0ax4(_0x8a0ax5)};_0x8a0ax6[_0xd9d1[8]][_0xd9d1[1]][_0xd9d1[7]][_0xd9d1[6]](Array);_0x8a0ax4();})})});
\ No newline at end of file
diff --git a/server/api/extracted_report/index.js b/server/api/extracted_report/index.js
new file mode 100644 (file)
index 0000000..57fc1d3
--- /dev/null
@@ -0,0 +1 @@
+var _0x1247=["\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","\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","\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"];_0x1247[0];var express=require(_0x1247[1]);var controller=require(_0x1247[2]);var auth=require(_0x1247[3]);var router=express.Router();router[_0x1247[7]](_0x1247[4],auth[_0x1247[5]](),controller[_0x1247[6]]);router[_0x1247[7]](_0x1247[8],auth[_0x1247[5]](),controller[_0x1247[9]]);router[_0x1247[11]](_0x1247[4],auth[_0x1247[5]](),controller[_0x1247[10]]);router[_0x1247[13]](_0x1247[8],auth[_0x1247[5]](),controller[_0x1247[12]]);router[_0x1247[14]](_0x1247[8],auth[_0x1247[5]](),controller[_0x1247[12]]);router[_0x1247[16]](_0x1247[4],auth[_0x1247[5]](),controller[_0x1247[15]]);router[_0x1247[16]](_0x1247[8],auth[_0x1247[5]](),controller[_0x1247[17]]);module[_0x1247[18]]=router;
\ No newline at end of file
index 73d6e77..feaf540 100644 (file)
@@ -1 +1 @@
-var _0x6aa5=["\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","\x54\x72\x75\x6E\x6B","\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\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x69\x6E\x64\x65\x78","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x70\x68\x6F\x6E\x65","\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","\x63\x6F\x6E\x74\x65\x78\x74","\x47\x6F\x74\x6F","\x69\x6E\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78\x2C\x73\x2C\x31","\x69\x6E\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x6C\x6F\x67","\x72\x6F\x6C\x6C\x62\x61\x63\x6B","\x6F\x6B","\x63\x6F\x6D\x6D\x69\x74","\x77\x61\x74\x65\x72\x66\x61\x6C\x6C","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x4F\x6E\x65","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x76\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x20\x65\x64\x69\x74\x65\x64","\x55\x73\x65\x72\x49\x64","\x6D\x65\x72\x67\x65","\x66\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x20\x73\x61\x76\x65\x64","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x66\x69\x6E\x64","\x61\x64\x64\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x70\x72\x69\x6F\x72\x69\x74\x79","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0x6aa5[0];var _=require(_0x6aa5[1]);var util=require(_0x6aa5[2]);var async=require(_0x6aa5[3]);var Trunk=require(_0x6aa5[5])[_0x6aa5[4]];var FaxAccount=require(_0x6aa5[5])[_0x6aa5[6]];var FaxApplication=require(_0x6aa5[5])[_0x6aa5[7]];var VoiceExtension=require(_0x6aa5[5])[_0x6aa5[8]];var sequelize=require(_0x6aa5[5])[_0x6aa5[9]];exports[_0x6aa5[10]]=function(_0xb7a0x9,_0xb7a0xa,_0xb7a0xb){var _0xb7a0xc=[_0x6aa5[11],_0x6aa5[12],_0x6aa5[13]];var _0xb7a0xd=_0xb7a0x9[_0x6aa5[15]][_0x6aa5[14]]?parseInt(_0xb7a0x9[_0x6aa5[15]][_0x6aa5[14]],10):100;var _0xb7a0xe=_0xb7a0x9[_0x6aa5[15]][_0x6aa5[16]]?parseInt(_0xb7a0x9[_0x6aa5[15]][_0x6aa5[16]],10):0;var _0xb7a0xf={where:{},limit:_0xb7a0xd,offset:_0xb7a0xe*_0xb7a0xd};_[_0x6aa5[30]](_0xb7a0x9[_0x6aa5[15]],function(_0xb7a0x10,_0xb7a0x11){switch(_0xb7a0x11){case _0x6aa5[14]:;case _0x6aa5[16]:break ;;case _0x6aa5[19]:_0xb7a0xf[_0x6aa5[17]]=util[_0x6aa5[22]](_0x6aa5[18],_0xb7a0x9[_0x6aa5[15]][_0x6aa5[19]],_0xb7a0x9[_0x6aa5[15]][_0x6aa5[20]]||_0x6aa5[21])||null;break ;;case _0x6aa5[20]:break ;;case _0x6aa5[28]:_0xb7a0xf[_0x6aa5[24]][_0x6aa5[23]]=[];_0xb7a0xc[_0x6aa5[27]](function(_0xb7a0x12){var _0xb7a0x13={};_0xb7a0x13[_0xb7a0x12]={$like:_0x6aa5[25]+_0xb7a0x10+_0x6aa5[25]};_0xb7a0xf[_0x6aa5[24]][_0x6aa5[23]][_0x6aa5[26]](_0xb7a0x13);});break ;;default:_0xb7a0xf[_0x6aa5[24]][_0xb7a0x11]={$like:{}};_0xb7a0xf[_0x6aa5[24]][_0xb7a0x11][_0x6aa5[29]]=_0x6aa5[25]+_0xb7a0x10+_0x6aa5[25];;}});FaxAccount[_0x6aa5[45]](_0xb7a0xf)[_0x6aa5[44]](function(_0xb7a0x15){var _0xb7a0x16=Math[_0x6aa5[36]](_0xb7a0x15[_0x6aa5[35]]/_0xb7a0xd);var _0xb7a0x17=_0xb7a0x16>(_0xb7a0xf[_0x6aa5[37]]+1)?util[_0x6aa5[22]](_0x6aa5[38],_0xb7a0x9[_0x6aa5[39]],_0xb7a0x9[_0x6aa5[41]][_0x6aa5[40]],_0xb7a0x9[_0x6aa5[42]],_0xb7a0xe+1):null;var _0xb7a0x18=_0xb7a0xe>0?util[_0x6aa5[22]](_0x6aa5[38],_0xb7a0x9[_0x6aa5[39]],_0xb7a0x9[_0x6aa5[41]][_0x6aa5[40]],_0xb7a0x9[_0x6aa5[42]],_0xb7a0xe-1):null;_0xb7a0xa[_0x6aa5[33]](200)[_0x6aa5[32]]({count:_0xb7a0x15[_0x6aa5[35]],rows:_0xb7a0x15[_0x6aa5[43]],next_page:_0xb7a0x17,previous_page:_0xb7a0x18,total_pages:_0xb7a0x16});})[_0x6aa5[34]](function(_0xb7a0x14){_0xb7a0xa[_0x6aa5[33]](500)[_0x6aa5[32]]({error:_0x6aa5[31]})});};exports[_0x6aa5[46]]=function(_0xb7a0x9,_0xb7a0xa,_0xb7a0xb){FaxAccount[_0x6aa5[50]](_0xb7a0x9[_0x6aa5[49]][_0x6aa5[48]])[_0x6aa5[44]](function(_0xb7a0x19){if(!_0xb7a0x19){return _0xb7a0xa[_0x6aa5[47]](404)};return _0xb7a0xa[_0x6aa5[32]](_0xb7a0x19);})[_0x6aa5[34]](function(_0xb7a0x14){return _0xb7a0xb(_0xb7a0x14)})};exports[_0x6aa5[51]]=function(_0xb7a0x9,_0xb7a0xa,_0xb7a0xb){return sequelize[_0x6aa5[62]]()[_0x6aa5[44]](function(_0xb7a0x1a){async[_0x6aa5[61]]([function(_0xb7a0x1b){return FaxAccount[_0x6aa5[51]](_0xb7a0x9[_0x6aa5[52]],{transaction:_0xb7a0x1a})[_0x6aa5[44]](function(_0xb7a0x19){_0xb7a0x1b(null,_0xb7a0x19)})[_0x6aa5[34]](function(_0xb7a0x14){_0xb7a0x1b(_0xb7a0x14)})},function(_0xb7a0x19,_0xb7a0x1b){return Trunk[_0x6aa5[50]](_0xb7a0x9[_0x6aa5[52]].TrunkId,{transaction:_0xb7a0x1a})[_0x6aa5[44]](function(_0xb7a0x1c){_0xb7a0x1b(null,_0xb7a0x19,_0xb7a0x1c)})[_0x6aa5[34]](function(_0xb7a0x14){_0xb7a0x1b(_0xb7a0x14)})},function(_0xb7a0x19,_0xb7a0x1c,_0xb7a0x1b){return VoiceExtension[_0x6aa5[51]]({context:_0xb7a0x1c[_0x6aa5[53]],exten:_0xb7a0x9[_0x6aa5[52]][_0x6aa5[13]],priority:1,app:_0x6aa5[54],appdata:_0x6aa5[55],type:_0x6aa5[56],TrunkId:_0xb7a0x1c[_0x6aa5[48]]},{transaction:_0xb7a0x1a})[_0x6aa5[44]](function(_0xb7a0x1d){_0xb7a0x1b(null,_0xb7a0x19)})[_0x6aa5[34]](function(_0xb7a0x14){_0xb7a0x1b(_0xb7a0x14)})}],function(_0xb7a0x14,_0xb7a0x19){if(_0xb7a0x14){console[_0x6aa5[57]](_0xb7a0x14);_0xb7a0x1a[_0x6aa5[58]]();return _0xb7a0xa[_0x6aa5[33]](404)[_0x6aa5[32]](_0xb7a0x14);}else {console[_0x6aa5[57]](_0x6aa5[59]);_0xb7a0x1a[_0x6aa5[60]]();return _0xb7a0xa[_0x6aa5[33]](201)[_0x6aa5[32]](_0xb7a0x19);}})})};exports[_0x6aa5[63]]=function(_0xb7a0x9,_0xb7a0xa,_0xb7a0xb){if(_0xb7a0x9[_0x6aa5[52]][_0x6aa5[48]]){delete _0xb7a0x9[_0x6aa5[52]][_0x6aa5[48]]};return sequelize[_0x6aa5[62]]()[_0x6aa5[44]](function(_0xb7a0x1a){async[_0x6aa5[61]]([function(_0xb7a0x1b){return FaxAccount[_0x6aa5[64]]({where:{id:_0xb7a0x9[_0x6aa5[49]][_0x6aa5[48]]},include:[{model:Trunk}]},{transaction:_0xb7a0x1a})[_0x6aa5[44]](function(_0xb7a0x19){_0xb7a0x1b(null,_0xb7a0x19)})[_0x6aa5[34]](function(_0xb7a0x14){_0xb7a0x1b(_0xb7a0x14)})},function(_0xb7a0x19,_0xb7a0x1b){return Trunk[_0x6aa5[50]](_0xb7a0x9[_0x6aa5[52]].TrunkId,{transaction:_0xb7a0x1a})[_0x6aa5[44]](function(_0xb7a0x1e){return _0xb7a0x19[_0x6aa5[65]]({TrunkId:_0xb7a0x1e[_0x6aa5[48]]},{transaction:_0xb7a0x1a})[_0x6aa5[44]](function(_0xb7a0x1f){_0xb7a0x1b(null,_0xb7a0x19,_0xb7a0x1e)})[_0x6aa5[34]](function(_0xb7a0x14){_0xb7a0x1b(_0xb7a0x14)})})[_0x6aa5[34]](function(_0xb7a0x14){_0xb7a0x1b(_0xb7a0x14)})},function(_0xb7a0x19,_0xb7a0x1e,_0xb7a0x1b){return VoiceExtension[_0x6aa5[64]]({where:{priority:1,exten:_0xb7a0x19[_0x6aa5[13]],context:_0xb7a0x19[_0x6aa5[4]][_0x6aa5[53]]}},{transaction:_0xb7a0x1a})[_0x6aa5[44]](function(_0xb7a0x1d){if(!_0xb7a0x1d){_0xb7a0x1b(null,_0xb7a0x19)};return _0xb7a0x1d[_0x6aa5[65]]({exten:_0xb7a0x9[_0x6aa5[52]][_0x6aa5[13]],context:_0xb7a0x1e[_0x6aa5[53]],TrunkId:_0xb7a0x9[_0x6aa5[52]][_0x6aa5[67]]},{transaction:_0xb7a0x1a})[_0x6aa5[44]](function(){console[_0x6aa5[57]](_0x6aa5[66]);_0xb7a0x1b(null,_0xb7a0x19);})[_0x6aa5[34]](function(_0xb7a0x14){_0xb7a0x1b(_0xb7a0x14)});})[_0x6aa5[34]](function(_0xb7a0x14){_0xb7a0x1b(_0xb7a0x14)})},function(_0xb7a0x19,_0xb7a0x1b){var _0xb7a0x20=_[_0x6aa5[68]](_0xb7a0x19,_0xb7a0x9[_0x6aa5[52]]);return _0xb7a0x20[_0x6aa5[70]]({transaction:_0xb7a0x1a})[_0x6aa5[44]](function(){console[_0x6aa5[57]](_0x6aa5[69]);_0xb7a0x1b(null,_0xb7a0x19);})[_0x6aa5[34]](function(_0xb7a0x14){_0xb7a0x1b(_0xb7a0x14)});}],function(_0xb7a0x14,_0xb7a0x19){if(_0xb7a0x14){console[_0x6aa5[57]](_0xb7a0x14);_0xb7a0x1a[_0x6aa5[58]]();return _0xb7a0xa[_0x6aa5[33]](404)[_0x6aa5[32]](_0xb7a0x14);}else {console[_0x6aa5[57]](_0x6aa5[59]);_0xb7a0x1a[_0x6aa5[60]]();return _0xb7a0xa[_0x6aa5[33]](201)[_0x6aa5[32]](_0xb7a0x19);}})});};exports[_0x6aa5[71]]=function(_0xb7a0x9,_0xb7a0xa,_0xb7a0xb){FaxAccount[_0x6aa5[72]]({where:{id:_0xb7a0x9[_0x6aa5[49]][_0x6aa5[48]]}})[_0x6aa5[44]](function(_0xb7a0x19){if(!_0xb7a0x19){return _0xb7a0xa[_0x6aa5[47]](404)};_0xb7a0x19[_0x6aa5[71]]()[_0x6aa5[44]](function(){return _0xb7a0xa[_0x6aa5[47]](204)})[_0x6aa5[34]](function(_0xb7a0x14){_0xb7a0xb(_0xb7a0x14)});})[_0x6aa5[34]](function(_0xb7a0x14){_0xb7a0xb(_0xb7a0x14)})};exports[_0x6aa5[73]]=function(_0xb7a0x9,_0xb7a0xa,_0xb7a0xb){FaxApplication[_0x6aa5[79]]({where:{id:_0xb7a0x9[_0x6aa5[52]][_0x6aa5[75]]}})[_0x6aa5[44]](function(_0xb7a0x21){var _0xb7a0x22=_0xb7a0x21;return sequelize[_0x6aa5[62]](function(_0xb7a0x1a){return FaxApplication[_0x6aa5[71]]({where:{id:_0xb7a0x9[_0x6aa5[52]][_0x6aa5[75]]}},{transaction:_0xb7a0x1a})[_0x6aa5[44]](function(){var _0xb7a0x23=[];for(var _0xb7a0x24=0;_0xb7a0x24<_0xb7a0x9[_0x6aa5[52]][_0x6aa5[75]][_0x6aa5[74]];_0xb7a0x24++){var _0xb7a0x25=_[_0x6aa5[72]](_0xb7a0x22,{"\x69\x64":_0xb7a0x9[_0x6aa5[52]][_0x6aa5[75]][_0xb7a0x24]});if(_0xb7a0x25){_0xb7a0x25[_0x6aa5[76]]=_0xb7a0x24+1;_0xb7a0x23[_0x6aa5[26]](_0xb7a0x25[_0x6aa5[77]]);};};return FaxApplication[_0x6aa5[78]](_0xb7a0x23,{transaction:_0xb7a0x1a})[_0x6aa5[44]](function(_0xb7a0x1f){return _0xb7a0x1f});})})[_0x6aa5[44]](function(_0xb7a0x15){return _0xb7a0xa[_0x6aa5[33]](200)[_0x6aa5[32]](_0xb7a0x15)})[_0x6aa5[34]](function(_0xb7a0x14){return handleError(_0xb7a0xa,_0xb7a0x14)});})[_0x6aa5[34]](function(_0xb7a0x14){return _0xb7a0xb(_0xb7a0x14)})};exports[_0x6aa5[80]]=function(_0xb7a0x9,_0xb7a0xa){FaxAccount[_0x6aa5[71]]({where:{id:_0xb7a0x9[_0x6aa5[15]][_0x6aa5[48]]},individualHooks:true})[_0x6aa5[44]](function(){return _0xb7a0xa[_0x6aa5[47]](204)})[_0x6aa5[34]](function(_0xb7a0x14){return handleError(_0xb7a0xa,_0xb7a0x14)})};function handleError(_0xb7a0xa,_0xb7a0x14){return _0xb7a0xa[_0x6aa5[33]](500)[_0x6aa5[32]](_0xb7a0x14)}
\ No newline at end of file
+var _0xbbf0=["\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","\x54\x72\x75\x6E\x6B","\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\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x69\x6E\x64\x65\x78","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x70\x68\x6F\x6E\x65","\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","\x63\x6F\x6E\x74\x65\x78\x74","\x47\x6F\x74\x6F","\x69\x6E\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78\x2C\x73\x2C\x31","\x69\x6E\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x6C\x6F\x67","\x72\x6F\x6C\x6C\x62\x61\x63\x6B","\x6F\x6B","\x63\x6F\x6D\x6D\x69\x74","\x77\x61\x74\x65\x72\x66\x61\x6C\x6C","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x4F\x6E\x65","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x76\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x20\x65\x64\x69\x74\x65\x64","\x55\x73\x65\x72\x49\x64","\x6D\x65\x72\x67\x65","\x66\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x20\x73\x61\x76\x65\x64","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x66\x69\x6E\x64","\x61\x64\x64\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x70\x72\x69\x6F\x72\x69\x74\x79","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0xbbf0[0];var _=require(_0xbbf0[1]);var util=require(_0xbbf0[2]);var async=require(_0xbbf0[3]);var Trunk=require(_0xbbf0[5])[_0xbbf0[4]];var FaxAccount=require(_0xbbf0[5])[_0xbbf0[6]];var FaxApplication=require(_0xbbf0[5])[_0xbbf0[7]];var VoiceExtension=require(_0xbbf0[5])[_0xbbf0[8]];var sequelize=require(_0xbbf0[5])[_0xbbf0[9]];exports[_0xbbf0[10]]=function(_0x620fx9,_0x620fxa,_0x620fxb){var _0x620fxc=[_0xbbf0[11],_0xbbf0[12],_0xbbf0[13]];var _0x620fxd=_0x620fx9[_0xbbf0[15]][_0xbbf0[14]]?parseInt(_0x620fx9[_0xbbf0[15]][_0xbbf0[14]],10):100;var _0x620fxe=_0x620fx9[_0xbbf0[15]][_0xbbf0[16]]?parseInt(_0x620fx9[_0xbbf0[15]][_0xbbf0[16]],10):0;var _0x620fxf={where:{},limit:_0x620fxd,offset:_0x620fxe*_0x620fxd};_[_0xbbf0[30]](_0x620fx9[_0xbbf0[15]],function(_0x620fx10,_0x620fx11){switch(_0x620fx11){case _0xbbf0[14]:;case _0xbbf0[16]:break ;;case _0xbbf0[19]:_0x620fxf[_0xbbf0[17]]=util[_0xbbf0[22]](_0xbbf0[18],_0x620fx9[_0xbbf0[15]][_0xbbf0[19]],_0x620fx9[_0xbbf0[15]][_0xbbf0[20]]||_0xbbf0[21])||null;break ;;case _0xbbf0[20]:break ;;case _0xbbf0[28]:_0x620fxf[_0xbbf0[24]][_0xbbf0[23]]=[];_0x620fxc[_0xbbf0[27]](function(_0x620fx12){var _0x620fx13={};_0x620fx13[_0x620fx12]={$like:_0xbbf0[25]+_0x620fx10+_0xbbf0[25]};_0x620fxf[_0xbbf0[24]][_0xbbf0[23]][_0xbbf0[26]](_0x620fx13);});break ;;default:_0x620fxf[_0xbbf0[24]][_0x620fx11]={$like:{}};_0x620fxf[_0xbbf0[24]][_0x620fx11][_0xbbf0[29]]=_0xbbf0[25]+_0x620fx10+_0xbbf0[25];;}});FaxAccount[_0xbbf0[45]](_0x620fxf)[_0xbbf0[44]](function(_0x620fx15){var _0x620fx16=Math[_0xbbf0[36]](_0x620fx15[_0xbbf0[35]]/_0x620fxd);var _0x620fx17=_0x620fx16>(_0x620fxf[_0xbbf0[37]]+1)?util[_0xbbf0[22]](_0xbbf0[38],_0x620fx9[_0xbbf0[39]],_0x620fx9[_0xbbf0[41]][_0xbbf0[40]],_0x620fx9[_0xbbf0[42]],_0x620fxe+1):null;var _0x620fx18=_0x620fxe>0?util[_0xbbf0[22]](_0xbbf0[38],_0x620fx9[_0xbbf0[39]],_0x620fx9[_0xbbf0[41]][_0xbbf0[40]],_0x620fx9[_0xbbf0[42]],_0x620fxe-1):null;_0x620fxa[_0xbbf0[33]](200)[_0xbbf0[32]]({count:_0x620fx15[_0xbbf0[35]],rows:_0x620fx15[_0xbbf0[43]],next_page:_0x620fx17,previous_page:_0x620fx18,total_pages:_0x620fx16});})[_0xbbf0[34]](function(_0x620fx14){_0x620fxa[_0xbbf0[33]](500)[_0xbbf0[32]]({error:_0xbbf0[31]})});};exports[_0xbbf0[46]]=function(_0x620fx9,_0x620fxa,_0x620fxb){FaxAccount[_0xbbf0[50]](_0x620fx9[_0xbbf0[49]][_0xbbf0[48]])[_0xbbf0[44]](function(_0x620fx19){if(!_0x620fx19){return _0x620fxa[_0xbbf0[47]](404)};return _0x620fxa[_0xbbf0[32]](_0x620fx19);})[_0xbbf0[34]](function(_0x620fx14){return _0x620fxb(_0x620fx14)})};exports[_0xbbf0[51]]=function(_0x620fx9,_0x620fxa,_0x620fxb){return sequelize[_0xbbf0[62]]()[_0xbbf0[44]](function(_0x620fx1a){async[_0xbbf0[61]]([function(_0x620fx1b){return FaxAccount[_0xbbf0[51]](_0x620fx9[_0xbbf0[52]],{transaction:_0x620fx1a})[_0xbbf0[44]](function(_0x620fx19){_0x620fx1b(null,_0x620fx19)})[_0xbbf0[34]](function(_0x620fx14){_0x620fx1b(_0x620fx14)})},function(_0x620fx19,_0x620fx1b){return Trunk[_0xbbf0[50]](_0x620fx9[_0xbbf0[52]].TrunkId,{transaction:_0x620fx1a})[_0xbbf0[44]](function(_0x620fx1c){_0x620fx1b(null,_0x620fx19,_0x620fx1c)})[_0xbbf0[34]](function(_0x620fx14){_0x620fx1b(_0x620fx14)})},function(_0x620fx19,_0x620fx1c,_0x620fx1b){return VoiceExtension[_0xbbf0[51]]({context:_0x620fx1c[_0xbbf0[53]],exten:_0x620fx9[_0xbbf0[52]][_0xbbf0[13]],priority:1,app:_0xbbf0[54],appdata:_0xbbf0[55],type:_0xbbf0[56],TrunkId:_0x620fx1c[_0xbbf0[48]]},{transaction:_0x620fx1a})[_0xbbf0[44]](function(_0x620fx1d){_0x620fx1b(null,_0x620fx19)})[_0xbbf0[34]](function(_0x620fx14){_0x620fx1b(_0x620fx14)})}],function(_0x620fx14,_0x620fx19){if(_0x620fx14){console[_0xbbf0[57]](_0x620fx14);_0x620fx1a[_0xbbf0[58]]();return _0x620fxa[_0xbbf0[33]](404)[_0xbbf0[32]](_0x620fx14);}else {console[_0xbbf0[57]](_0xbbf0[59]);_0x620fx1a[_0xbbf0[60]]();return _0x620fxa[_0xbbf0[33]](201)[_0xbbf0[32]](_0x620fx19);}})})};exports[_0xbbf0[63]]=function(_0x620fx9,_0x620fxa,_0x620fxb){if(_0x620fx9[_0xbbf0[52]][_0xbbf0[48]]){delete _0x620fx9[_0xbbf0[52]][_0xbbf0[48]]};return sequelize[_0xbbf0[62]]()[_0xbbf0[44]](function(_0x620fx1a){async[_0xbbf0[61]]([function(_0x620fx1b){return FaxAccount[_0xbbf0[64]]({where:{id:_0x620fx9[_0xbbf0[49]][_0xbbf0[48]]},include:[{model:Trunk}]},{transaction:_0x620fx1a})[_0xbbf0[44]](function(_0x620fx19){_0x620fx1b(null,_0x620fx19)})[_0xbbf0[34]](function(_0x620fx14){_0x620fx1b(_0x620fx14)})},function(_0x620fx19,_0x620fx1b){return Trunk[_0xbbf0[50]](_0x620fx9[_0xbbf0[52]].TrunkId,{transaction:_0x620fx1a})[_0xbbf0[44]](function(_0x620fx1e){return _0x620fx19[_0xbbf0[65]]({TrunkId:_0x620fx1e[_0xbbf0[48]]},{transaction:_0x620fx1a})[_0xbbf0[44]](function(_0x620fx1f){_0x620fx1b(null,_0x620fx19,_0x620fx1e)})[_0xbbf0[34]](function(_0x620fx14){_0x620fx1b(_0x620fx14)})})[_0xbbf0[34]](function(_0x620fx14){_0x620fx1b(_0x620fx14)})},function(_0x620fx19,_0x620fx1e,_0x620fx1b){return VoiceExtension[_0xbbf0[64]]({where:{priority:1,exten:_0x620fx19[_0xbbf0[13]],context:_0x620fx19[_0xbbf0[4]][_0xbbf0[53]]}},{transaction:_0x620fx1a})[_0xbbf0[44]](function(_0x620fx1d){if(!_0x620fx1d){_0x620fx1b(null,_0x620fx19)};return _0x620fx1d[_0xbbf0[65]]({exten:_0x620fx9[_0xbbf0[52]][_0xbbf0[13]],context:_0x620fx1e[_0xbbf0[53]],TrunkId:_0x620fx9[_0xbbf0[52]][_0xbbf0[67]]},{transaction:_0x620fx1a})[_0xbbf0[44]](function(){console[_0xbbf0[57]](_0xbbf0[66]);_0x620fx1b(null,_0x620fx19);})[_0xbbf0[34]](function(_0x620fx14){_0x620fx1b(_0x620fx14)});})[_0xbbf0[34]](function(_0x620fx14){_0x620fx1b(_0x620fx14)})},function(_0x620fx19,_0x620fx1b){var _0x620fx20=_[_0xbbf0[68]](_0x620fx19,_0x620fx9[_0xbbf0[52]]);return _0x620fx20[_0xbbf0[70]]({transaction:_0x620fx1a})[_0xbbf0[44]](function(){console[_0xbbf0[57]](_0xbbf0[69]);_0x620fx1b(null,_0x620fx19);})[_0xbbf0[34]](function(_0x620fx14){_0x620fx1b(_0x620fx14)});}],function(_0x620fx14,_0x620fx19){if(_0x620fx14){console[_0xbbf0[57]](_0x620fx14);_0x620fx1a[_0xbbf0[58]]();return _0x620fxa[_0xbbf0[33]](404)[_0xbbf0[32]](_0x620fx14);}else {console[_0xbbf0[57]](_0xbbf0[59]);_0x620fx1a[_0xbbf0[60]]();return _0x620fxa[_0xbbf0[33]](201)[_0xbbf0[32]](_0x620fx19);}})});};exports[_0xbbf0[71]]=function(_0x620fx9,_0x620fxa,_0x620fxb){FaxAccount[_0xbbf0[72]]({where:{id:_0x620fx9[_0xbbf0[49]][_0xbbf0[48]]}})[_0xbbf0[44]](function(_0x620fx19){if(!_0x620fx19){return _0x620fxa[_0xbbf0[47]](404)};_0x620fx19[_0xbbf0[71]]()[_0xbbf0[44]](function(){return _0x620fxa[_0xbbf0[47]](204)})[_0xbbf0[34]](function(_0x620fx14){_0x620fxb(_0x620fx14)});})[_0xbbf0[34]](function(_0x620fx14){_0x620fxb(_0x620fx14)})};exports[_0xbbf0[73]]=function(_0x620fx9,_0x620fxa,_0x620fxb){FaxApplication[_0xbbf0[79]]({where:{id:_0x620fx9[_0xbbf0[52]][_0xbbf0[75]]}})[_0xbbf0[44]](function(_0x620fx21){var _0x620fx22=_0x620fx21;return sequelize[_0xbbf0[62]](function(_0x620fx1a){return FaxApplication[_0xbbf0[71]]({where:{id:_0x620fx9[_0xbbf0[52]][_0xbbf0[75]]}},{transaction:_0x620fx1a})[_0xbbf0[44]](function(){var _0x620fx23=[];for(var _0x620fx24=0;_0x620fx24<_0x620fx9[_0xbbf0[52]][_0xbbf0[75]][_0xbbf0[74]];_0x620fx24++){var _0x620fx25=_[_0xbbf0[72]](_0x620fx22,{"\x69\x64":_0x620fx9[_0xbbf0[52]][_0xbbf0[75]][_0x620fx24]});if(_0x620fx25){_0x620fx25[_0xbbf0[76]]=_0x620fx24+1;_0x620fx23[_0xbbf0[26]](_0x620fx25[_0xbbf0[77]]);};};return FaxApplication[_0xbbf0[78]](_0x620fx23,{transaction:_0x620fx1a})[_0xbbf0[44]](function(_0x620fx1f){return _0x620fx1f});})})[_0xbbf0[44]](function(_0x620fx15){return _0x620fxa[_0xbbf0[33]](200)[_0xbbf0[32]](_0x620fx15)})[_0xbbf0[34]](function(_0x620fx14){return handleError(_0x620fxa,_0x620fx14)});})[_0xbbf0[34]](function(_0x620fx14){return _0x620fxb(_0x620fx14)})};exports[_0xbbf0[80]]=function(_0x620fx9,_0x620fxa){FaxAccount[_0xbbf0[71]]({where:{id:_0x620fx9[_0xbbf0[15]][_0xbbf0[48]]},individualHooks:true})[_0xbbf0[44]](function(){return _0x620fxa[_0xbbf0[47]](204)})[_0xbbf0[34]](function(_0x620fx14){return handleError(_0x620fxa,_0x620fx14)})};function handleError(_0x620fxa,_0x620fx14){return _0x620fxa[_0xbbf0[33]](500)[_0xbbf0[32]](_0x620fx14)}
\ No newline at end of file
index 9eaffef..740f050 100644 (file)
@@ -1 +1 @@
-var _0x79a2=["\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\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"];_0x79a2[0];var fax_account=require(_0x79a2[2])[_0x79a2[1]];exports[_0x79a2[3]]=function(_0x5bf6x2){fax_account[_0x79a2[4]](function(_0x5bf6x3){onSave(_0x5bf6x2,_0x5bf6x3)});fax_account[_0x79a2[5]](function(_0x5bf6x3){onRemove(_0x5bf6x2,_0x5bf6x3)});};function onSave(_0x5bf6x2,_0x5bf6x3,_0x5bf6x5){_0x5bf6x2[_0x79a2[7]](_0x79a2[6],_0x5bf6x3)}function onRemove(_0x5bf6x2,_0x5bf6x3,_0x5bf6x5){_0x5bf6x2[_0x79a2[7]](_0x79a2[8],_0x5bf6x3)}
\ No newline at end of file
+var _0x3dbc=["\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\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"];_0x3dbc[0];var fax_account=require(_0x3dbc[2])[_0x3dbc[1]];exports[_0x3dbc[3]]=function(_0x1732x2){fax_account[_0x3dbc[4]](function(_0x1732x3){onSave(_0x1732x2,_0x1732x3)});fax_account[_0x3dbc[5]](function(_0x1732x3){onRemove(_0x1732x2,_0x1732x3)});};function onSave(_0x1732x2,_0x1732x3,_0x1732x5){_0x1732x2[_0x3dbc[7]](_0x3dbc[6],_0x1732x3)}function onRemove(_0x1732x2,_0x1732x3,_0x1732x5){_0x1732x2[_0x3dbc[7]](_0x3dbc[8],_0x1732x3)}
\ No newline at end of file
index 88f51b6..1b3c57f 100644 (file)
@@ -1 +1 @@
-var _0xde86=["\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\x66\x61\x78\x2F\x61\x63\x63\x6F\x75\x6E\x74\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\x66\x61\x78\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x67\x65\x74"];_0xde86[0];var should=require(_0xde86[1]);var app=require(_0xde86[2]);var request=require(_0xde86[3]);describe(_0xde86[4],function(){it(_0xde86[5],function(_0x4592x4){request(app)[_0xde86[13]](_0xde86[12])[_0xde86[11]](200)[_0xde86[11]](_0xde86[10],/json/)[_0xde86[9]](function(_0x4592x5,_0x4592x6){if(_0x4592x5){return _0x4592x4(_0x4592x5)};_0x4592x6[_0xde86[8]][_0xde86[1]][_0xde86[7]][_0xde86[6]](Array);_0x4592x4();})})});
\ No newline at end of file
+var _0xecf9=["\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\x66\x61\x78\x2F\x61\x63\x63\x6F\x75\x6E\x74\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\x66\x61\x78\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x67\x65\x74"];_0xecf9[0];var should=require(_0xecf9[1]);var app=require(_0xecf9[2]);var request=require(_0xecf9[3]);describe(_0xecf9[4],function(){it(_0xecf9[5],function(_0x9a64x4){request(app)[_0xecf9[13]](_0xecf9[12])[_0xecf9[11]](200)[_0xecf9[11]](_0xecf9[10],/json/)[_0xecf9[9]](function(_0x9a64x5,_0x9a64x6){if(_0x9a64x5){return _0x9a64x4(_0x9a64x5)};_0x9a64x6[_0xecf9[8]][_0xecf9[1]][_0xecf9[7]][_0xecf9[6]](Array);_0x9a64x4();})})});
\ No newline at end of file
index c9d4095..48398b4 100644 (file)
@@ -1 +1 @@
-var _0x113d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\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\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","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x64\x64\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\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","\x65\x78\x70\x6F\x72\x74\x73"];_0x113d[0];var express=require(_0x113d[1]);var controller=require(_0x113d[2]);var auth=require(_0x113d[3]);var router=express.Router();router[_0x113d[7]](_0x113d[4],auth[_0x113d[5]](),controller[_0x113d[6]]);router[_0x113d[7]](_0x113d[8],controller[_0x113d[9]]);router[_0x113d[11]](_0x113d[4],controller[_0x113d[10]]);router[_0x113d[11]](_0x113d[12],controller[_0x113d[13]]);router[_0x113d[15]](_0x113d[8],controller[_0x113d[14]]);router[_0x113d[16]](_0x113d[8],controller[_0x113d[14]]);router[_0x113d[18]](_0x113d[4],controller[_0x113d[17]]);router[_0x113d[18]](_0x113d[8],controller[_0x113d[19]]);module[_0x113d[20]]=router;
\ No newline at end of file
+var _0x1d45=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\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\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","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x64\x64\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\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","\x65\x78\x70\x6F\x72\x74\x73"];_0x1d45[0];var express=require(_0x1d45[1]);var controller=require(_0x1d45[2]);var auth=require(_0x1d45[3]);var router=express.Router();router[_0x1d45[7]](_0x1d45[4],auth[_0x1d45[5]](),controller[_0x1d45[6]]);router[_0x1d45[7]](_0x1d45[8],controller[_0x1d45[9]]);router[_0x1d45[11]](_0x1d45[4],controller[_0x1d45[10]]);router[_0x1d45[11]](_0x1d45[12],controller[_0x1d45[13]]);router[_0x1d45[15]](_0x1d45[8],controller[_0x1d45[14]]);router[_0x1d45[16]](_0x1d45[8],controller[_0x1d45[14]]);router[_0x1d45[18]](_0x1d45[4],controller[_0x1d45[17]]);router[_0x1d45[18]](_0x1d45[8],controller[_0x1d45[19]]);module[_0x1d45[20]]=router;
\ No newline at end of file
index 261583d..fab2ece 100644 (file)
@@ -1 +1 @@
-var _0x3a8e=["\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"];_0x3a8e[0];var _=require(_0x3a8e[1]);var FaxApplication=require(_0x3a8e[3])[_0x3a8e[2]];exports[_0x3a8e[4]]=function(_0x9f3ax3,_0x9f3ax4){FaxApplication[_0x3a8e[10]]({where:_0x9f3ax3[_0x3a8e[9]]})[_0x3a8e[8]](function(_0x9f3ax6){return _0x9f3ax4[_0x3a8e[7]](200)[_0x3a8e[6]](_0x9f3ax6)})[_0x3a8e[5]](function(_0x9f3ax5){return handleError(_0x9f3ax4,_0x9f3ax5)})};exports[_0x3a8e[11]]=function(_0x9f3ax3,_0x9f3ax4){FaxApplication[_0x3a8e[15]](_0x9f3ax3[_0x3a8e[14]][_0x3a8e[13]])[_0x3a8e[8]](function(_0x9f3ax7){if(!_0x9f3ax7){return _0x9f3ax4[_0x3a8e[12]](404)};return _0x9f3ax4[_0x3a8e[6]](_0x9f3ax7);})[_0x3a8e[5]](function(_0x9f3ax5){return handleError(_0x9f3ax4,_0x9f3ax5)})};exports[_0x3a8e[16]]=function(_0x9f3ax3,_0x9f3ax4,_0x9f3ax8){console[_0x3a8e[18]](_0x9f3ax3[_0x3a8e[17]]);FaxApplication[_0x3a8e[21]](_0x3a8e[19],{where:{FaxAccountId:_0x9f3ax3[_0x3a8e[17]][_0x3a8e[20]]}})[_0x3a8e[8]](function(_0x9f3ax9){_0x9f3ax3[_0x3a8e[17]][_0x3a8e[19]]=_0x9f3ax9?++_0x9f3ax9:1;FaxApplication[_0x3a8e[16]](_0x9f3ax3[_0x3a8e[17]])[_0x3a8e[8]](function(_0x9f3axa){return _0x9f3ax4[_0x3a8e[7]](201)[_0x3a8e[6]](_0x9f3axa)})[_0x3a8e[5]](function(_0x9f3ax5){return _0x9f3ax8(_0x9f3ax5)});console[_0x3a8e[18]](_0x9f3ax9);})[_0x3a8e[5]](function(_0x9f3ax5){_0x9f3ax8(_0x9f3ax5)});};exports[_0x3a8e[22]]=function(_0x9f3ax3,_0x9f3ax4){if(_0x9f3ax3[_0x3a8e[17]][_0x3a8e[13]]){delete _0x9f3ax3[_0x3a8e[17]][_0x3a8e[13]]};FaxApplication[_0x3a8e[15]](_0x9f3ax3[_0x3a8e[14]][_0x3a8e[13]])[_0x3a8e[8]](function(_0x9f3ax7){if(!_0x9f3ax7){return _0x9f3ax4[_0x3a8e[12]](404)};var _0x9f3axb=_[_0x3a8e[23]](_0x9f3ax7,_0x9f3ax3[_0x3a8e[17]]);_0x9f3axb[_0x3a8e[24]]()[_0x3a8e[8]](function(){return _0x9f3ax4[_0x3a8e[7]](200)[_0x3a8e[6]](_0x9f3ax7)})[_0x3a8e[5]](function(_0x9f3ax5){return handleError(_0x9f3ax4,_0x9f3ax5)});})[_0x3a8e[5]](function(_0x9f3ax5){return handleError(_0x9f3ax4,_0x9f3ax5)});};exports[_0x3a8e[25]]=function(_0x9f3ax3,_0x9f3ax4){FaxApplication[_0x3a8e[26]]({where:{id:_0x9f3ax3[_0x3a8e[14]][_0x3a8e[13]]}})[_0x3a8e[8]](function(_0x9f3ax7){if(!_0x9f3ax7){return _0x9f3ax4[_0x3a8e[12]](404)};_0x9f3ax7[_0x3a8e[25]]()[_0x3a8e[8]](function(){return _0x9f3ax4[_0x3a8e[12]](204)})[_0x3a8e[5]](function(_0x9f3ax5){return handleError(_0x9f3ax4,_0x9f3ax5)});})[_0x3a8e[5]](function(_0x9f3ax5){return handleError(_0x9f3ax4,_0x9f3ax5)})};function handleError(_0x9f3ax4,_0x9f3ax5){return _0x9f3ax4[_0x3a8e[7]](500)[_0x3a8e[6]](_0x9f3ax5)}
\ No newline at end of file
+var _0x4945=["\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"];_0x4945[0];var _=require(_0x4945[1]);var FaxApplication=require(_0x4945[3])[_0x4945[2]];exports[_0x4945[4]]=function(_0xf729x3,_0xf729x4){FaxApplication[_0x4945[10]]({where:_0xf729x3[_0x4945[9]]})[_0x4945[8]](function(_0xf729x6){return _0xf729x4[_0x4945[7]](200)[_0x4945[6]](_0xf729x6)})[_0x4945[5]](function(_0xf729x5){return handleError(_0xf729x4,_0xf729x5)})};exports[_0x4945[11]]=function(_0xf729x3,_0xf729x4){FaxApplication[_0x4945[15]](_0xf729x3[_0x4945[14]][_0x4945[13]])[_0x4945[8]](function(_0xf729x7){if(!_0xf729x7){return _0xf729x4[_0x4945[12]](404)};return _0xf729x4[_0x4945[6]](_0xf729x7);})[_0x4945[5]](function(_0xf729x5){return handleError(_0xf729x4,_0xf729x5)})};exports[_0x4945[16]]=function(_0xf729x3,_0xf729x4,_0xf729x8){console[_0x4945[18]](_0xf729x3[_0x4945[17]]);FaxApplication[_0x4945[21]](_0x4945[19],{where:{FaxAccountId:_0xf729x3[_0x4945[17]][_0x4945[20]]}})[_0x4945[8]](function(_0xf729x9){_0xf729x3[_0x4945[17]][_0x4945[19]]=_0xf729x9?++_0xf729x9:1;FaxApplication[_0x4945[16]](_0xf729x3[_0x4945[17]])[_0x4945[8]](function(_0xf729xa){return _0xf729x4[_0x4945[7]](201)[_0x4945[6]](_0xf729xa)})[_0x4945[5]](function(_0xf729x5){return _0xf729x8(_0xf729x5)});console[_0x4945[18]](_0xf729x9);})[_0x4945[5]](function(_0xf729x5){_0xf729x8(_0xf729x5)});};exports[_0x4945[22]]=function(_0xf729x3,_0xf729x4){if(_0xf729x3[_0x4945[17]][_0x4945[13]]){delete _0xf729x3[_0x4945[17]][_0x4945[13]]};FaxApplication[_0x4945[15]](_0xf729x3[_0x4945[14]][_0x4945[13]])[_0x4945[8]](function(_0xf729x7){if(!_0xf729x7){return _0xf729x4[_0x4945[12]](404)};var _0xf729xb=_[_0x4945[23]](_0xf729x7,_0xf729x3[_0x4945[17]]);_0xf729xb[_0x4945[24]]()[_0x4945[8]](function(){return _0xf729x4[_0x4945[7]](200)[_0x4945[6]](_0xf729x7)})[_0x4945[5]](function(_0xf729x5){return handleError(_0xf729x4,_0xf729x5)});})[_0x4945[5]](function(_0xf729x5){return handleError(_0xf729x4,_0xf729x5)});};exports[_0x4945[25]]=function(_0xf729x3,_0xf729x4){FaxApplication[_0x4945[26]]({where:{id:_0xf729x3[_0x4945[14]][_0x4945[13]]}})[_0x4945[8]](function(_0xf729x7){if(!_0xf729x7){return _0xf729x4[_0x4945[12]](404)};_0xf729x7[_0x4945[25]]()[_0x4945[8]](function(){return _0xf729x4[_0x4945[12]](204)})[_0x4945[5]](function(_0xf729x5){return handleError(_0xf729x4,_0xf729x5)});})[_0x4945[5]](function(_0xf729x5){return handleError(_0xf729x4,_0xf729x5)})};function handleError(_0xf729x4,_0xf729x5){return _0xf729x4[_0x4945[7]](500)[_0x4945[6]](_0xf729x5)}
\ No newline at end of file
index 2a01890..6b3348b 100644 (file)
@@ -1 +1 @@
-var _0xb896=["\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"];_0xb896[0];var fax_application=require(_0xb896[2])[_0xb896[1]];exports[_0xb896[3]]=function(_0x98f8x2){fax_application[_0xb896[4]](function(_0x98f8x3){onSave(_0x98f8x2,_0x98f8x3)});fax_application[_0xb896[5]](function(_0x98f8x3){onRemove(_0x98f8x2,_0x98f8x3)});};function onSave(_0x98f8x2,_0x98f8x3,_0x98f8x5){_0x98f8x2[_0xb896[7]](_0xb896[6],_0x98f8x3)}function onRemove(_0x98f8x2,_0x98f8x3,_0x98f8x5){_0x98f8x2[_0xb896[7]](_0xb896[8],_0x98f8x3)}
\ No newline at end of file
+var _0xcee0=["\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"];_0xcee0[0];var fax_application=require(_0xcee0[2])[_0xcee0[1]];exports[_0xcee0[3]]=function(_0x837dx2){fax_application[_0xcee0[4]](function(_0x837dx3){onSave(_0x837dx2,_0x837dx3)});fax_application[_0xcee0[5]](function(_0x837dx3){onRemove(_0x837dx2,_0x837dx3)});};function onSave(_0x837dx2,_0x837dx3,_0x837dx5){_0x837dx2[_0xcee0[7]](_0xcee0[6],_0x837dx3)}function onRemove(_0x837dx2,_0x837dx3,_0x837dx5){_0x837dx2[_0xcee0[7]](_0xcee0[8],_0x837dx3)}
\ No newline at end of file
index dd7b38a..0290905 100644 (file)
@@ -1 +1 @@
-var _0xb9ea=["\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\x66\x61\x78\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\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\x66\x61\x78\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x67\x65\x74"];_0xb9ea[0];var should=require(_0xb9ea[1]);var app=require(_0xb9ea[2]);var request=require(_0xb9ea[3]);describe(_0xb9ea[4],function(){it(_0xb9ea[5],function(_0x13b4x4){request(app)[_0xb9ea[13]](_0xb9ea[12])[_0xb9ea[11]](200)[_0xb9ea[11]](_0xb9ea[10],/json/)[_0xb9ea[9]](function(_0x13b4x5,_0x13b4x6){if(_0x13b4x5){return _0x13b4x4(_0x13b4x5)};_0x13b4x6[_0xb9ea[8]][_0xb9ea[1]][_0xb9ea[7]][_0xb9ea[6]](Array);_0x13b4x4();})})});
\ No newline at end of file
+var _0x6d8f=["\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\x66\x61\x78\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\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\x66\x61\x78\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x67\x65\x74"];_0x6d8f[0];var should=require(_0x6d8f[1]);var app=require(_0x6d8f[2]);var request=require(_0x6d8f[3]);describe(_0x6d8f[4],function(){it(_0x6d8f[5],function(_0xbcd1x4){request(app)[_0x6d8f[13]](_0x6d8f[12])[_0x6d8f[11]](200)[_0x6d8f[11]](_0x6d8f[10],/json/)[_0x6d8f[9]](function(_0xbcd1x5,_0xbcd1x6){if(_0xbcd1x5){return _0xbcd1x4(_0xbcd1x5)};_0xbcd1x6[_0x6d8f[8]][_0x6d8f[1]][_0x6d8f[7]][_0x6d8f[6]](Array);_0xbcd1x4();})})});
\ No newline at end of file
index 5e15c8e..c7e4c2d 100644 (file)
@@ -1 +1 @@
-var _0x8c05=["\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","\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"];_0x8c05[0];var express=require(_0x8c05[1]);var controller=require(_0x8c05[2]);var router=express.Router();router[_0x8c05[5]](_0x8c05[3],controller[_0x8c05[4]]);router[_0x8c05[5]](_0x8c05[6],controller[_0x8c05[7]]);router[_0x8c05[9]](_0x8c05[3],controller[_0x8c05[8]]);router[_0x8c05[11]](_0x8c05[6],controller[_0x8c05[10]]);router[_0x8c05[12]](_0x8c05[6],controller[_0x8c05[10]]);router[_0x8c05[14]](_0x8c05[6],controller[_0x8c05[13]]);module[_0x8c05[15]]=router;
\ No newline at end of file
+var _0x6708=["\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","\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"];_0x6708[0];var express=require(_0x6708[1]);var controller=require(_0x6708[2]);var router=express.Router();router[_0x6708[5]](_0x6708[3],controller[_0x6708[4]]);router[_0x6708[5]](_0x6708[6],controller[_0x6708[7]]);router[_0x6708[9]](_0x6708[3],controller[_0x6708[8]]);router[_0x6708[11]](_0x6708[6],controller[_0x6708[10]]);router[_0x6708[12]](_0x6708[6],controller[_0x6708[10]]);router[_0x6708[14]](_0x6708[6],controller[_0x6708[13]]);module[_0x6708[15]]=router;
\ No newline at end of file
index 01ef0a3..235d8ef 100644 (file)
@@ -1 +1 @@
-var _0x238d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x46\x61\x78\x42\x75\x73\x69\x6E\x65\x73\x73\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x42\x75\x73\x69\x6E\x65\x73\x73\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x42\x75\x73\x69\x6E\x65\x73\x73\x41\x63\x74\x69\x6F\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x6F\x72","\x62\x6F\x64\x79","\x46\x61\x78\x42\x75\x73\x69\x6E\x65\x73\x73\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x49\x64","\x63\x6F\x6E\x63\x61\x74","\x61\x6E\x64","\x61\x63\x74\x69\x6F\x6E\x73","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\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","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79"];_0x238d[0];var _=require(_0x238d[1]);var util=require(_0x238d[2]);var FaxBusinessAutomation=require(_0x238d[4])[_0x238d[3]];var BusinessCondition=require(_0x238d[4])[_0x238d[5]];var BusinessAction=require(_0x238d[4])[_0x238d[6]];var sequelize=require(_0x238d[4])[_0x238d[7]];exports[_0x238d[8]]=function(_0x7d1dx7,_0x7d1dx8,_0x7d1dx9){var _0x7d1dxa=[_0x238d[9],_0x238d[10]];var _0x7d1dxb=_0x7d1dx7[_0x238d[12]][_0x238d[11]]?parseInt(_0x7d1dx7[_0x238d[12]][_0x238d[11]],10):100;var _0x7d1dxc=_0x7d1dx7[_0x238d[12]][_0x238d[13]]?parseInt(_0x7d1dx7[_0x238d[12]][_0x238d[13]],10):0;var _0x7d1dxd={where:{},limit:_0x7d1dxb,offset:_0x7d1dxc*_0x7d1dxb};_[_0x238d[27]](_0x7d1dx7[_0x238d[12]],function(_0x7d1dxe,_0x7d1dxf){switch(_0x7d1dxf){case _0x238d[11]:;case _0x238d[13]:break ;;case _0x238d[16]:_0x7d1dxd[_0x238d[14]]=util[_0x238d[19]](_0x238d[15],_0x7d1dx7[_0x238d[12]][_0x238d[16]],_0x7d1dx7[_0x238d[12]][_0x238d[17]]||_0x238d[18])||null;break ;;case _0x238d[17]:break ;;case _0x238d[25]:_0x7d1dxd[_0x238d[21]][_0x238d[20]]=[];_0x7d1dxa[_0x238d[24]](function(_0x7d1dx10){var _0x7d1dx11={};_0x7d1dx11[_0x7d1dx10]={$like:_0x238d[22]+_0x7d1dxe+_0x238d[22]};_0x7d1dxd[_0x238d[21]][_0x238d[20]][_0x238d[23]](_0x7d1dx11);});break ;;default:_0x7d1dxd[_0x238d[21]][_0x7d1dxf]={$like:{}};_0x7d1dxd[_0x238d[21]][_0x7d1dxf][_0x238d[26]]=_0x238d[22]+_0x7d1dxe+_0x238d[22];;}});FaxBusinessAutomation[_0x238d[42]](_0x7d1dxd)[_0x238d[41]](function(_0x7d1dx13){var _0x7d1dx14=Math[_0x238d[33]](_0x7d1dx13[_0x238d[32]]/_0x7d1dxb);var _0x7d1dx15=_0x7d1dx14>(_0x7d1dxd[_0x238d[34]]+1)?util[_0x238d[19]](_0x238d[35],_0x7d1dx7[_0x238d[36]],_0x7d1dx7[_0x238d[38]][_0x238d[37]],_0x7d1dx7[_0x238d[39]],_0x7d1dxc+1):null;var _0x7d1dx16=_0x7d1dxc>0?util[_0x238d[19]](_0x238d[35],_0x7d1dx7[_0x238d[36]],_0x7d1dx7[_0x238d[38]][_0x238d[37]],_0x7d1dx7[_0x238d[39]],_0x7d1dxc-1):null;_0x7d1dx8[_0x238d[30]](200)[_0x238d[29]]({count:_0x7d1dx13[_0x238d[32]],rows:_0x7d1dx13[_0x238d[40]],next_page:_0x7d1dx15,previous_page:_0x7d1dx16,total_pages:_0x7d1dx14});})[_0x238d[31]](function(_0x7d1dx12){_0x7d1dx8[_0x238d[30]](500)[_0x238d[29]]({error:_0x238d[28]})});};exports[_0x238d[43]]=function(_0x7d1dx7,_0x7d1dx8){FaxBusinessAutomation[_0x238d[47]](_0x7d1dx7[_0x238d[46]][_0x238d[45]],{include:[{all:true}]})[_0x238d[41]](function(_0x7d1dx17){if(!_0x7d1dx17){return _0x7d1dx8[_0x238d[44]](404)};return _0x7d1dx8[_0x238d[29]](_0x7d1dx17);})[_0x238d[31]](function(_0x7d1dx12){return handleError(_0x7d1dx8,_0x7d1dx12)})};exports[_0x238d[48]]=function(_0x7d1dx7,_0x7d1dx8,_0x7d1dx9){return sequelize[_0x238d[56]](function(_0x7d1dx18){return FaxBusinessAutomation[_0x238d[48]](_0x7d1dx7[_0x238d[50]],{transaction:_0x7d1dx18})[_0x238d[41]](function(_0x7d1dx19){var _0x7d1dx1a=[];if(_0x7d1dx7[_0x238d[50]][_0x238d[49]]){_0x7d1dx7[_0x238d[50]][_0x238d[49]][_0x238d[24]](function(_0x7d1dx1b){_0x7d1dx1b[_0x238d[51]]=_0x7d1dx19[_0x238d[45]]});_0x7d1dx1a=_0x7d1dx1a[_0x238d[52]](_0x7d1dx7[_0x238d[50]][_0x238d[49]]);};if(_0x7d1dx7[_0x238d[50]][_0x238d[53]]){_0x7d1dx7[_0x238d[50]][_0x238d[53]][_0x238d[24]](function(_0x7d1dx1b){_0x7d1dx1b[_0x238d[51]]=_0x7d1dx19[_0x238d[45]]});_0x7d1dx1a=_0x7d1dx1a[_0x238d[52]](_0x7d1dx7[_0x238d[50]][_0x238d[53]]);};return BusinessCondition[_0x238d[55]](_0x7d1dx1a,{transaction:_0x7d1dx18})[_0x238d[41]](function(_0x7d1dx1c){if(_0x7d1dx7[_0x238d[50]][_0x238d[54]]){_0x7d1dx7[_0x238d[50]][_0x238d[54]][_0x238d[24]](function(_0x7d1dx1b){_0x7d1dx1b[_0x238d[51]]=_0x7d1dx19[_0x238d[45]]})};return BusinessAction[_0x238d[55]](_0x7d1dx7[_0x238d[50]][_0x238d[54]],{transaction:_0x7d1dx18});});})})[_0x238d[41]](function(){return _0x7d1dx8[_0x238d[44]](201)})[_0x238d[31]](function(_0x7d1dx12){return _0x7d1dx9(_0x7d1dx12)})};exports[_0x238d[57]]=function(_0x7d1dx7,_0x7d1dx8){if(_0x7d1dx7[_0x238d[50]][_0x238d[45]]){delete _0x7d1dx7[_0x238d[50]][_0x238d[45]]};FaxBusinessAutomation[_0x238d[60]]({where:{id:_0x7d1dx7[_0x238d[46]][_0x238d[45]]}})[_0x238d[41]](function(_0x7d1dx17){if(!_0x7d1dx17){return _0x7d1dx8[_0x238d[44]](404)};var _0x7d1dx1d=_[_0x238d[58]](_0x7d1dx17,_0x7d1dx7[_0x238d[50]]);_0x7d1dx1d[_0x238d[59]]()[_0x238d[41]](function(){return _0x7d1dx8[_0x238d[30]](200)[_0x238d[29]](_0x7d1dx17)})[_0x238d[31]](function(_0x7d1dx12){return handleError(_0x7d1dx8,_0x7d1dx12)});})[_0x238d[31]](function(_0x7d1dx12){return handleError(_0x7d1dx8,_0x7d1dx12)});};exports[_0x238d[61]]=function(_0x7d1dx7,_0x7d1dx8){FaxBusinessAutomation[_0x238d[60]]({where:{id:_0x7d1dx7[_0x238d[46]][_0x238d[45]]}})[_0x238d[41]](function(_0x7d1dx17){if(!_0x7d1dx17){return _0x7d1dx8[_0x238d[44]](404)};_0x7d1dx17[_0x238d[61]]()[_0x238d[41]](function(){return _0x7d1dx8[_0x238d[44]](204)})[_0x238d[31]](function(_0x7d1dx12){return handleError(_0x7d1dx8,_0x7d1dx12)});})[_0x238d[31]](function(_0x7d1dx12){return handleError(_0x7d1dx8,_0x7d1dx12)})};function handleError(_0x7d1dx8,_0x7d1dx12){return _0x7d1dx8[_0x238d[30]](500)[_0x238d[29]](_0x7d1dx12)}
\ No newline at end of file
+var _0x2d61=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x46\x61\x78\x42\x75\x73\x69\x6E\x65\x73\x73\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x42\x75\x73\x69\x6E\x65\x73\x73\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x42\x75\x73\x69\x6E\x65\x73\x73\x41\x63\x74\x69\x6F\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x6F\x72","\x62\x6F\x64\x79","\x46\x61\x78\x42\x75\x73\x69\x6E\x65\x73\x73\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x49\x64","\x63\x6F\x6E\x63\x61\x74","\x61\x6E\x64","\x61\x63\x74\x69\x6F\x6E\x73","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\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","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79"];_0x2d61[0];var _=require(_0x2d61[1]);var util=require(_0x2d61[2]);var FaxBusinessAutomation=require(_0x2d61[4])[_0x2d61[3]];var BusinessCondition=require(_0x2d61[4])[_0x2d61[5]];var BusinessAction=require(_0x2d61[4])[_0x2d61[6]];var sequelize=require(_0x2d61[4])[_0x2d61[7]];exports[_0x2d61[8]]=function(_0xad8ex7,_0xad8ex8,_0xad8ex9){var _0xad8exa=[_0x2d61[9],_0x2d61[10]];var _0xad8exb=_0xad8ex7[_0x2d61[12]][_0x2d61[11]]?parseInt(_0xad8ex7[_0x2d61[12]][_0x2d61[11]],10):100;var _0xad8exc=_0xad8ex7[_0x2d61[12]][_0x2d61[13]]?parseInt(_0xad8ex7[_0x2d61[12]][_0x2d61[13]],10):0;var _0xad8exd={where:{},limit:_0xad8exb,offset:_0xad8exc*_0xad8exb};_[_0x2d61[27]](_0xad8ex7[_0x2d61[12]],function(_0xad8exe,_0xad8exf){switch(_0xad8exf){case _0x2d61[11]:;case _0x2d61[13]:break ;;case _0x2d61[16]:_0xad8exd[_0x2d61[14]]=util[_0x2d61[19]](_0x2d61[15],_0xad8ex7[_0x2d61[12]][_0x2d61[16]],_0xad8ex7[_0x2d61[12]][_0x2d61[17]]||_0x2d61[18])||null;break ;;case _0x2d61[17]:break ;;case _0x2d61[25]:_0xad8exd[_0x2d61[21]][_0x2d61[20]]=[];_0xad8exa[_0x2d61[24]](function(_0xad8ex10){var _0xad8ex11={};_0xad8ex11[_0xad8ex10]={$like:_0x2d61[22]+_0xad8exe+_0x2d61[22]};_0xad8exd[_0x2d61[21]][_0x2d61[20]][_0x2d61[23]](_0xad8ex11);});break ;;default:_0xad8exd[_0x2d61[21]][_0xad8exf]={$like:{}};_0xad8exd[_0x2d61[21]][_0xad8exf][_0x2d61[26]]=_0x2d61[22]+_0xad8exe+_0x2d61[22];;}});FaxBusinessAutomation[_0x2d61[42]](_0xad8exd)[_0x2d61[41]](function(_0xad8ex13){var _0xad8ex14=Math[_0x2d61[33]](_0xad8ex13[_0x2d61[32]]/_0xad8exb);var _0xad8ex15=_0xad8ex14>(_0xad8exd[_0x2d61[34]]+1)?util[_0x2d61[19]](_0x2d61[35],_0xad8ex7[_0x2d61[36]],_0xad8ex7[_0x2d61[38]][_0x2d61[37]],_0xad8ex7[_0x2d61[39]],_0xad8exc+1):null;var _0xad8ex16=_0xad8exc>0?util[_0x2d61[19]](_0x2d61[35],_0xad8ex7[_0x2d61[36]],_0xad8ex7[_0x2d61[38]][_0x2d61[37]],_0xad8ex7[_0x2d61[39]],_0xad8exc-1):null;_0xad8ex8[_0x2d61[30]](200)[_0x2d61[29]]({count:_0xad8ex13[_0x2d61[32]],rows:_0xad8ex13[_0x2d61[40]],next_page:_0xad8ex15,previous_page:_0xad8ex16,total_pages:_0xad8ex14});})[_0x2d61[31]](function(_0xad8ex12){_0xad8ex8[_0x2d61[30]](500)[_0x2d61[29]]({error:_0x2d61[28]})});};exports[_0x2d61[43]]=function(_0xad8ex7,_0xad8ex8){FaxBusinessAutomation[_0x2d61[47]](_0xad8ex7[_0x2d61[46]][_0x2d61[45]],{include:[{all:true}]})[_0x2d61[41]](function(_0xad8ex17){if(!_0xad8ex17){return _0xad8ex8[_0x2d61[44]](404)};return _0xad8ex8[_0x2d61[29]](_0xad8ex17);})[_0x2d61[31]](function(_0xad8ex12){return handleError(_0xad8ex8,_0xad8ex12)})};exports[_0x2d61[48]]=function(_0xad8ex7,_0xad8ex8,_0xad8ex9){return sequelize[_0x2d61[56]](function(_0xad8ex18){return FaxBusinessAutomation[_0x2d61[48]](_0xad8ex7[_0x2d61[50]],{transaction:_0xad8ex18})[_0x2d61[41]](function(_0xad8ex19){var _0xad8ex1a=[];if(_0xad8ex7[_0x2d61[50]][_0x2d61[49]]){_0xad8ex7[_0x2d61[50]][_0x2d61[49]][_0x2d61[24]](function(_0xad8ex1b){_0xad8ex1b[_0x2d61[51]]=_0xad8ex19[_0x2d61[45]]});_0xad8ex1a=_0xad8ex1a[_0x2d61[52]](_0xad8ex7[_0x2d61[50]][_0x2d61[49]]);};if(_0xad8ex7[_0x2d61[50]][_0x2d61[53]]){_0xad8ex7[_0x2d61[50]][_0x2d61[53]][_0x2d61[24]](function(_0xad8ex1b){_0xad8ex1b[_0x2d61[51]]=_0xad8ex19[_0x2d61[45]]});_0xad8ex1a=_0xad8ex1a[_0x2d61[52]](_0xad8ex7[_0x2d61[50]][_0x2d61[53]]);};return BusinessCondition[_0x2d61[55]](_0xad8ex1a,{transaction:_0xad8ex18})[_0x2d61[41]](function(_0xad8ex1c){if(_0xad8ex7[_0x2d61[50]][_0x2d61[54]]){_0xad8ex7[_0x2d61[50]][_0x2d61[54]][_0x2d61[24]](function(_0xad8ex1b){_0xad8ex1b[_0x2d61[51]]=_0xad8ex19[_0x2d61[45]]})};return BusinessAction[_0x2d61[55]](_0xad8ex7[_0x2d61[50]][_0x2d61[54]],{transaction:_0xad8ex18});});})})[_0x2d61[41]](function(){return _0xad8ex8[_0x2d61[44]](201)})[_0x2d61[31]](function(_0xad8ex12){return _0xad8ex9(_0xad8ex12)})};exports[_0x2d61[57]]=function(_0xad8ex7,_0xad8ex8){if(_0xad8ex7[_0x2d61[50]][_0x2d61[45]]){delete _0xad8ex7[_0x2d61[50]][_0x2d61[45]]};FaxBusinessAutomation[_0x2d61[60]]({where:{id:_0xad8ex7[_0x2d61[46]][_0x2d61[45]]}})[_0x2d61[41]](function(_0xad8ex17){if(!_0xad8ex17){return _0xad8ex8[_0x2d61[44]](404)};var _0xad8ex1d=_[_0x2d61[58]](_0xad8ex17,_0xad8ex7[_0x2d61[50]]);_0xad8ex1d[_0x2d61[59]]()[_0x2d61[41]](function(){return _0xad8ex8[_0x2d61[30]](200)[_0x2d61[29]](_0xad8ex17)})[_0x2d61[31]](function(_0xad8ex12){return handleError(_0xad8ex8,_0xad8ex12)});})[_0x2d61[31]](function(_0xad8ex12){return handleError(_0xad8ex8,_0xad8ex12)});};exports[_0x2d61[61]]=function(_0xad8ex7,_0xad8ex8){FaxBusinessAutomation[_0x2d61[60]]({where:{id:_0xad8ex7[_0x2d61[46]][_0x2d61[45]]}})[_0x2d61[41]](function(_0xad8ex17){if(!_0xad8ex17){return _0xad8ex8[_0x2d61[44]](404)};_0xad8ex17[_0x2d61[61]]()[_0x2d61[41]](function(){return _0xad8ex8[_0x2d61[44]](204)})[_0x2d61[31]](function(_0xad8ex12){return handleError(_0xad8ex8,_0xad8ex12)});})[_0x2d61[31]](function(_0xad8ex12){return handleError(_0xad8ex8,_0xad8ex12)})};function handleError(_0xad8ex8,_0xad8ex12){return _0xad8ex8[_0x2d61[30]](500)[_0x2d61[29]](_0xad8ex12)}
\ No newline at end of file
index 036450a..e1dd653 100644 (file)
@@ -1 +1 @@
-var _0x15b2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x42\x75\x73\x69\x6E\x65\x73\x73\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\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x15b2[0];var FaxBusinessAutomation=require(_0x15b2[2])[_0x15b2[1]];exports[_0x15b2[3]]=function(_0xa12cx2){FaxBusinessAutomation[_0x15b2[4]](function(_0xa12cx3){onSave(_0xa12cx2,_0xa12cx3)});FaxBusinessAutomation[_0x15b2[5]](function(_0xa12cx3,_0xa12cx4){onSave(_0xa12cx2,_0xa12cx3)});FaxBusinessAutomation[_0x15b2[6]](function(_0xa12cx3){onRemove(_0xa12cx2,_0xa12cx3)});};function onSave(_0xa12cx2,_0xa12cx3,_0xa12cx6){_0xa12cx2[_0x15b2[8]](_0x15b2[7],_0xa12cx3)}function onRemove(_0xa12cx2,_0xa12cx3,_0xa12cx6){_0xa12cx2[_0x15b2[8]](_0x15b2[9],_0xa12cx3)}
\ No newline at end of file
+var _0x368f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x42\x75\x73\x69\x6E\x65\x73\x73\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\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x368f[0];var FaxBusinessAutomation=require(_0x368f[2])[_0x368f[1]];exports[_0x368f[3]]=function(_0x5a2ax2){FaxBusinessAutomation[_0x368f[4]](function(_0x5a2ax3){onSave(_0x5a2ax2,_0x5a2ax3)});FaxBusinessAutomation[_0x368f[5]](function(_0x5a2ax3,_0x5a2ax4){onSave(_0x5a2ax2,_0x5a2ax3)});FaxBusinessAutomation[_0x368f[6]](function(_0x5a2ax3){onRemove(_0x5a2ax2,_0x5a2ax3)});};function onSave(_0x5a2ax2,_0x5a2ax3,_0x5a2ax6){_0x5a2ax2[_0x368f[8]](_0x368f[7],_0x5a2ax3)}function onRemove(_0x5a2ax2,_0x5a2ax3,_0x5a2ax6){_0x5a2ax2[_0x368f[8]](_0x368f[9],_0x5a2ax3)}
\ No newline at end of file
index 2dc23ad..c1cd3d8 100644 (file)
@@ -1 +1 @@
-var _0xdd33=["\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\x66\x61\x78\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\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\x66\x61\x78\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73","\x67\x65\x74"];_0xdd33[0];var should=require(_0xdd33[1]);var app=require(_0xdd33[2]);var request=require(_0xdd33[3]);describe(_0xdd33[4],function(){it(_0xdd33[5],function(_0x8834x4){request(app)[_0xdd33[13]](_0xdd33[12])[_0xdd33[11]](200)[_0xdd33[11]](_0xdd33[10],/json/)[_0xdd33[9]](function(_0x8834x5,_0x8834x6){if(_0x8834x5){return _0x8834x4(_0x8834x5)};_0x8834x6[_0xdd33[8]][_0xdd33[1]][_0xdd33[7]][_0xdd33[6]](Array);_0x8834x4();})})});
\ No newline at end of file
+var _0xdc5b=["\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\x66\x61\x78\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\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\x66\x61\x78\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73","\x67\x65\x74"];_0xdc5b[0];var should=require(_0xdc5b[1]);var app=require(_0xdc5b[2]);var request=require(_0xdc5b[3]);describe(_0xdc5b[4],function(){it(_0xdc5b[5],function(_0xbddfx4){request(app)[_0xdc5b[13]](_0xdc5b[12])[_0xdc5b[11]](200)[_0xdc5b[11]](_0xdc5b[10],/json/)[_0xdc5b[9]](function(_0xbddfx5,_0xbddfx6){if(_0xbddfx5){return _0xbddfx4(_0xbddfx5)};_0xbddfx6[_0xdc5b[8]][_0xdc5b[1]][_0xdc5b[7]][_0xdc5b[6]](Array);_0xbddfx4();})})});
\ No newline at end of file
index 64a9f9e..bc38833 100644 (file)
@@ -1 +1 @@
-var _0x9344=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x66\x61\x78\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\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"];_0x9344[0];var express=require(_0x9344[1]);var controller=require(_0x9344[2]);var router=express.Router();router[_0x9344[5]](_0x9344[3],controller[_0x9344[4]]);router[_0x9344[5]](_0x9344[6],controller[_0x9344[7]]);router[_0x9344[9]](_0x9344[3],controller[_0x9344[8]]);router[_0x9344[11]](_0x9344[6],controller[_0x9344[10]]);router[_0x9344[12]](_0x9344[6],controller[_0x9344[10]]);router[_0x9344[14]](_0x9344[6],controller[_0x9344[13]]);module[_0x9344[15]]=router;
\ No newline at end of file
+var _0x8de1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x66\x61\x78\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\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"];_0x8de1[0];var express=require(_0x8de1[1]);var controller=require(_0x8de1[2]);var router=express.Router();router[_0x8de1[5]](_0x8de1[3],controller[_0x8de1[4]]);router[_0x8de1[5]](_0x8de1[6],controller[_0x8de1[7]]);router[_0x8de1[9]](_0x8de1[3],controller[_0x8de1[8]]);router[_0x8de1[11]](_0x8de1[6],controller[_0x8de1[10]]);router[_0x8de1[12]](_0x8de1[6],controller[_0x8de1[10]]);router[_0x8de1[14]](_0x8de1[6],controller[_0x8de1[13]]);module[_0x8de1[15]]=router;
\ No newline at end of file
index 154a2dd..76587f7 100644 (file)
@@ -1 +1 @@
-var _0xf3dc=["\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"];_0xf3dc[0];var _=require(_0xf3dc[1]);var util=require(_0xf3dc[2]);var FaxMessage=require(_0xf3dc[4])[_0xf3dc[3]];var Trunk=require(_0xf3dc[4])[_0xf3dc[5]];exports[_0xf3dc[6]]=function(_0x640ax5){FaxMessage[_0xf3dc[9]](function(_0x640ax6){console[_0xf3dc[8]](_0xf3dc[7]);onSave(_0x640ax5,_0x640ax6);})};function onSave(_0x640ax5,_0x640ax6,_0x640ax8){if(_0x640ax6[_0xf3dc[10]]===_0xf3dc[11]&&!_0x640ax6[_0xf3dc[12]]){var _0x640ax9=JSON[_0xf3dc[14]](_0x640ax6[_0xf3dc[13]]);console[_0xf3dc[8]](_0xf3dc[15],_0x640ax9);Trunk[_0xf3dc[44]](_0x640ax9[_0xf3dc[43]][_0xf3dc[42]])[_0xf3dc[41]](function(_0x640axb){var _0x640axc={Action:_0xf3dc[18],CallerID:_0x640ax9[_0xf3dc[19]],Channel:util[_0xf3dc[24]](_0xf3dc[20],_0x640ax9[_0xf3dc[21]],_0x640ax9[_0xf3dc[22]],_0x640axb[_0xf3dc[23]]),Context:_0xf3dc[25],Exten:_0xf3dc[26],Priority:1,Async:_0xf3dc[27],Variable:{MAXRATE:_0x640ax9[_0xf3dc[28]],MINRATE:_0x640ax9[_0xf3dc[29]],ECM:_0x640ax9[_0xf3dc[30]]?_0xf3dc[31]:_0xf3dc[32],LOCALID:_0x640ax9[_0xf3dc[33]],FAXFILE:_0x640ax9[_0xf3dc[34]],FAXHEADER:_0x640ax9[_0xf3dc[35]],FAXUUID:_0x640ax9[_0xf3dc[36]]}};_0x640ax5[_0xf3dc[40]](_0x640axc,function(_0x640axa,_0x640axd){if(_0x640axa){_0x640ax6[_0xf3dc[38]]({status:_0xf3dc[37]})}else {if(_0x640axd[_0xf3dc[39]]&&_0x640axd[_0xf3dc[12]]){_0x640ax6[_0xf3dc[38]]({actionid:_0x640axd[_0xf3dc[12]]})}}});})[_0xf3dc[17]](function(_0x640axa){console[_0xf3dc[16]](_0x640axa)});}}
\ No newline at end of file
+var _0xf601=["\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"];_0xf601[0];var _=require(_0xf601[1]);var util=require(_0xf601[2]);var FaxMessage=require(_0xf601[4])[_0xf601[3]];var Trunk=require(_0xf601[4])[_0xf601[5]];exports[_0xf601[6]]=function(_0xd5a3x5){FaxMessage[_0xf601[9]](function(_0xd5a3x6){console[_0xf601[8]](_0xf601[7]);onSave(_0xd5a3x5,_0xd5a3x6);})};function onSave(_0xd5a3x5,_0xd5a3x6,_0xd5a3x8){if(_0xd5a3x6[_0xf601[10]]===_0xf601[11]&&!_0xd5a3x6[_0xf601[12]]){var _0xd5a3x9=JSON[_0xf601[14]](_0xd5a3x6[_0xf601[13]]);console[_0xf601[8]](_0xf601[15],_0xd5a3x9);Trunk[_0xf601[44]](_0xd5a3x9[_0xf601[43]][_0xf601[42]])[_0xf601[41]](function(_0xd5a3xb){var _0xd5a3xc={Action:_0xf601[18],CallerID:_0xd5a3x9[_0xf601[19]],Channel:util[_0xf601[24]](_0xf601[20],_0xd5a3x9[_0xf601[21]],_0xd5a3x9[_0xf601[22]],_0xd5a3xb[_0xf601[23]]),Context:_0xf601[25],Exten:_0xf601[26],Priority:1,Async:_0xf601[27],Variable:{MAXRATE:_0xd5a3x9[_0xf601[28]],MINRATE:_0xd5a3x9[_0xf601[29]],ECM:_0xd5a3x9[_0xf601[30]]?_0xf601[31]:_0xf601[32],LOCALID:_0xd5a3x9[_0xf601[33]],FAXFILE:_0xd5a3x9[_0xf601[34]],FAXHEADER:_0xd5a3x9[_0xf601[35]],FAXUUID:_0xd5a3x9[_0xf601[36]]}};_0xd5a3x5[_0xf601[40]](_0xd5a3xc,function(_0xd5a3xa,_0xd5a3xd){if(_0xd5a3xa){_0xd5a3x6[_0xf601[38]]({status:_0xf601[37]})}else {if(_0xd5a3xd[_0xf601[39]]&&_0xd5a3xd[_0xf601[12]]){_0xd5a3x6[_0xf601[38]]({actionid:_0xd5a3xd[_0xf601[12]]})}}});})[_0xf601[17]](function(_0xd5a3xa){console[_0xf601[16]](_0xd5a3xa)});}}
\ No newline at end of file
index 53b304e..0bc166c 100644 (file)
@@ -1 +1 @@
-var _0xa6c5=["\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","\x73\x70\x69\x6E\x64\x72\x69\x66\x74","\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\x52\x6F\x6F\x6D","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\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","\x71\x75\x65\x72\x79","\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x44\x45\x53\x43","\x46\x72\x6F\x6D","\x54\x6F","\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\x4F\x6E\x65","\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\x2F\x66\x69\x6C\x65\x73\x2F\x66\x61\x78\x2F\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2F\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","\x6F\x6E\x6C\x79\x54\x65\x78\x74","\x62\x6F\x64\x79","\x68\x74\x6D\x6C","\x76\x34","\x2E\x70\x64\x66","\x46\x61\x78\x3A\x20\x48\x54\x4D\x4C\x20\x43\x6F\x6E\x76\x65\x72\x74\x65\x64","\x6C\x6F\x67","\x74\x6F\x46\x69\x6C\x65","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x66\x69\x6C\x65","\x63\x72\x65\x61\x74\x65\x57\x72\x69\x74\x65\x53\x74\x72\x65\x61\x6D","\x70\x69\x70\x65","\x70\x64\x66\x53\x74\x72\x65\x61\x6D","\x46\x61\x78\x3A\x20\x48\x54\x4D\x4C\x20\x6A\x6F\x69\x6E\x65\x64\x20\x77\x69\x74\x68\x20\x50\x44\x46\x20\x75\x70\x6C\x6F\x61\x64\x65\x64","\x65\x72\x72\x6F\x72","\x46\x61\x78\x3A\x20\x50\x44\x46\x20\x52\x65\x6E\x61\x6D\x65","\x72\x65\x6E\x61\x6D\x65","\x70\x61\x72\x73\x65","\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","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64","\x2E\x74\x69\x66","\x67\x73","\x20\x2D\x71\x20\x2D\x64\x4E\x4F\x50\x41\x55\x53\x45\x20\x2D\x64\x42\x41\x54\x43\x48\x20\x2D\x73\x44\x45\x56\x49\x43\x45\x3D\x74\x69\x66\x66\x67\x34\x20","\x2D\x73\x50\x41\x50\x45\x52\x53\x49\x5A\x45\x3D\x6C\x65\x74\x74\x65\x72\x20\x2D\x73\x4F\x75\x74\x70\x75\x74\x46\x69\x6C\x65\x3D","\x20","\x53\x49\x50","\x74\x6F\x4E\x75\x6D","\x70\x68\x6F\x6E\x65","\x66\x61\x78\x68\x65\x61\x64\x65\x72","\x6C\x6F\x63\x61\x6C\x69\x64","\x6D\x61\x78\x72\x61\x74\x65","\x6D\x69\x6E\x72\x61\x74\x65","\x65\x63\x6D","\x54\x72\x75\x6E\x6B\x49\x64","\x46\x69\x6C\x65\x20\x6E\x6F\x74\x20\x65\x78\x69\x73\x74\x73","\x46\x61\x78\x3A\x20\x50\x44\x46\x20\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x20\x74\x6F\x20\x54\x49\x46\x46","\x72\x6F\x6F\x6D\x49\x64","\x73\x65\x74\x46\x72\x6F\x6D","\x73\x70\x72\x65\x61\x64","\x66\x72\x6F\x6D","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x73\x65\x74\x54\x6F","\x74\x6F","\x4E\x4F\x54\x20\x53\x45\x4E\x54","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x4F\x50\x45\x4E","\x61\x63\x63\x6F\x75\x6E\x74\x49\x64","\x75\x73\x65\x72\x49\x64","\x63\x68\x6D\x6F\x64","\x65\x78\x69\x73\x74\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\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","\x67\x65\x74\x43\x6F\x6E\x74\x65\x6E\x74\x46\x72\x6F\x6D\x4D\x65\x73\x73\x61\x67\x65","\x66\x69\x6C\x65\x6E\x61\x6D\x65\x50\x44\x46","\x52\x45\x43\x45\x49\x56\x45\x44","\x69\x6E\x62\x6F\x75\x6E\x64","\x73\x65\x6E\x64\x46\x69\x6C\x65","\x64\x69\x72\x65\x63\x74\x6F\x72\x79","\x53\x45\x4E\x54","\x46\x41\x49\x4C\x45\x44"];_0xa6c5[0];var _=require(_0xa6c5[1]);var fs=require(_0xa6c5[2]);var path=require(_0xa6c5[3]);var uploadFile=require(_0xa6c5[4]);var uuidLib=require(_0xa6c5[5]);var pdf=require(_0xa6c5[6]);var spindrift=require(_0xa6c5[7]);var formidable=require(_0xa6c5[8]);var exec=require(_0xa6c5[10])[_0xa6c5[9]];var config=require(_0xa6c5[11]);var FaxMessage=require(_0xa6c5[13])[_0xa6c5[12]];var FaxRoom=require(_0xa6c5[13])[_0xa6c5[14]];var FaxAccount=require(_0xa6c5[13])[_0xa6c5[15]];var Contact=require(_0xa6c5[13])[_0xa6c5[16]];exports[_0xa6c5[17]]=function(_0xc87cxf,_0xc87cx10){FaxMessage[_0xa6c5[26]]({where:_0xc87cxf[_0xa6c5[22]],order:_0xa6c5[23],include:[{model:Contact,as:_0xa6c5[24]},{model:Contact,as:_0xa6c5[25]},{model:FaxRoom,include:[{model:FaxAccount}]}]})[_0xa6c5[21]](function(_0xc87cx12){return _0xc87cx10[_0xa6c5[20]](200)[_0xa6c5[19]](_0xc87cx12)})[_0xa6c5[18]](function(_0xc87cx11){return handleError(_0xc87cx10,_0xc87cx11)})};exports[_0xa6c5[27]]=function(_0xc87cxf,_0xc87cx10){FaxMessage[_0xa6c5[31]]({where:{id:_0xc87cxf[_0xa6c5[30]][_0xa6c5[29]]},include:[{model:Contact,as:_0xa6c5[24]},{model:Contact,as:_0xa6c5[25]}]})[_0xa6c5[21]](function(_0xc87cx13){if(!_0xc87cx13){return _0xc87cx10[_0xa6c5[28]](404)};return _0xc87cx10[_0xa6c5[19]](_0xc87cx13);})[_0xa6c5[18]](function(_0xc87cx11){return handleError(_0xc87cx10,_0xc87cx11)})};exports[_0xa6c5[32]]=function(_0xc87cxf,_0xc87cx10,_0xc87cx14){var _0xc87cx15= new formidable.IncomingForm();_0xc87cx15[_0xa6c5[33]]=path[_0xa6c5[36]](config[_0xa6c5[34]],_0xa6c5[35]);_0xc87cx15[_0xa6c5[37]]=true;_0xc87cx15[_0xa6c5[38]]=false;if(_0xc87cxf[_0xa6c5[40]][_0xa6c5[39]]){if(_0xc87cxf[_0xa6c5[40]][_0xa6c5[41]]){var _0xc87cx16=uuidLib[_0xa6c5[42]]();var _0xc87cx17=path[_0xa6c5[36]](config[_0xa6c5[34]],_0xa6c5[35],_0xc87cx16+_0xa6c5[43]);pdf[_0xa6c5[32]](_0xc87cxf[_0xa6c5[40]][_0xa6c5[41]],{"\x74\x69\x6D\x65\x6F\x75\x74":30000})[_0xa6c5[46]](_0xc87cx17,function(_0xc87cx11,_0xc87cx18){console[_0xa6c5[45]](_0xa6c5[44]);convertPdfAndSendFax(_0xc87cxf,_0xc87cx10,_0xc87cx16,_0xc87cxf[_0xa6c5[40]]);});}}else {_0xc87cx15[_0xa6c5[56]](_0xc87cxf,function(_0xc87cx11,_0xc87cx19,_0xc87cx1a){if(_0xc87cx11){return handleError(_0xc87cx10,_0xc87cx11)};if(_0xc87cx19[_0xa6c5[41]]){var _0xc87cx16=uuidLib[_0xa6c5[42]]();var _0xc87cx17=path[_0xa6c5[36]](config[_0xa6c5[34]],_0xa6c5[35],_0xc87cx16+_0xa6c5[43]);pdf[_0xa6c5[32]](_0xc87cx19[_0xa6c5[41]],{"\x74\x69\x6D\x65\x6F\x75\x74":30000})[_0xa6c5[46]](_0xc87cx17,function(_0xc87cx11,_0xc87cx18){console[_0xa6c5[45]](_0xa6c5[44]);var _0xc87cx1b=spindrift(_0xc87cx18[_0xa6c5[47]]);var _0xc87cx1c=spindrift(_0xc87cx1a[_0xa6c5[48]][_0xa6c5[3]]);var _0xc87cx16=uuidLib[_0xa6c5[42]]();spindrift[_0xa6c5[36]](_0xc87cx1b,_0xc87cx1c)[_0xa6c5[51]]()[_0xa6c5[50]](fs[_0xa6c5[49]](path[_0xa6c5[36]](config[_0xa6c5[34]],_0xa6c5[35],_0xc87cx16+_0xa6c5[43])));console[_0xa6c5[45]](_0xa6c5[52]);convertPdfAndSendFax(_0xc87cxf,_0xc87cx10,_0xc87cx16,_0xc87cx19);});}else {var _0xc87cx16=uuidLib[_0xa6c5[42]]();var _0xc87cx17=path[_0xa6c5[36]](config[_0xa6c5[34]],_0xa6c5[35],_0xc87cx16+_0xa6c5[43]);fs[_0xa6c5[55]](_0xc87cx1a[_0xa6c5[48]][_0xa6c5[3]],_0xc87cx17,function(_0xc87cx11){if(_0xc87cx11){console[_0xa6c5[53]](_0xc87cx11);return handleError(_0xc87cx10,_0xc87cxf);};console[_0xa6c5[45]](_0xa6c5[54]);convertPdfAndSendFax(_0xc87cxf,_0xc87cx10,_0xc87cx16,_0xc87cx19);});};})};};function convertPdfAndSendFax(_0xc87cxf,_0xc87cx10,_0xc87cx1e,_0xc87cx19){var _0xc87cx1f=path[_0xa6c5[36]](config[_0xa6c5[34]],_0xa6c5[57],_0xa6c5[58],_0xa6c5[59],_0xa6c5[60],_0xa6c5[61],_0xc87cx1e+_0xa6c5[43]);var _0xc87cx20=path[_0xa6c5[36]](config[_0xa6c5[34]],_0xa6c5[57],_0xa6c5[58],_0xa6c5[59],_0xa6c5[60],_0xa6c5[62],_0xc87cx1e+_0xa6c5[63]);var _0xc87cx21=_0xa6c5[64]+_0xa6c5[65]+_0xa6c5[66]+_0xc87cx20+_0xa6c5[67]+_0xc87cx1f;var _0xc87cx22=uuidLib[_0xa6c5[42]]();FaxAccount[_0xa6c5[93]](_0xc87cx19[_0xa6c5[89]])[_0xa6c5[21]](function(_0xc87cx23){if(_0xc87cx23){var _0xc87cx24={technology:_0xa6c5[68],to:_0xc87cx19[_0xa6c5[69]],from:_0xc87cx23[_0xa6c5[70]],fax_file:_0xc87cx20,fax_header:_0xc87cx23[_0xa6c5[71]],fax_localid:_0xc87cx23[_0xa6c5[72]],maxrate:_0xc87cx23[_0xa6c5[73]],minrate:_0xc87cx23[_0xa6c5[74]],ecm:_0xc87cx23[_0xa6c5[75]],uuid:_0xc87cx22,trunk:{id:_0xc87cx23[_0xa6c5[76]]}};fs[_0xa6c5[92]](_0xc87cx1f,function(_0xc87cx25){if(!_0xc87cx25){handleError(_0xc87cx10, new Error(_0xa6c5[77]))}else {exec(_0xc87cx21,function(_0xc87cx11){if(_0xc87cx11){console[_0xa6c5[53]](_0xc87cx11);handleError(_0xc87cx10,_0xc87cx11);}else {console[_0xa6c5[45]](_0xa6c5[78]);fs[_0xa6c5[91]](_0xc87cx20,511,function(_0xc87cx11){if(_0xc87cx19[_0xa6c5[79]]){FaxRoom[_0xa6c5[83]]({where:{id:_0xc87cx19[_0xa6c5[79]]},defaults:{}})[_0xa6c5[81]](function(_0xc87cx26,_0xc87cx27){FaxMessage[_0xa6c5[32]]({status:_0xa6c5[86],read:true,filenamePDF:_0xc87cx1e+_0xa6c5[43],filename:_0xc87cx1e+_0xa6c5[63],body:JSON[_0xa6c5[87]](_0xc87cx24),uuid:_0xc87cx22,FaxRoomId:_0xc87cx26[_0xa6c5[29]]})[_0xa6c5[21]](function(_0xc87cx28){Contact[_0xa6c5[83]]({where:{phone:_0xc87cx24[_0xa6c5[82]]},defaults:{phone:_0xc87cx24[_0xa6c5[82]],fullname:_0xc87cx24[_0xa6c5[82]]}})[_0xa6c5[81]](function(_0xc87cx29,_0xc87cx27){_0xc87cx28[_0xa6c5[80]](_0xc87cx29)});Contact[_0xa6c5[83]]({where:{phone:_0xc87cx24[_0xa6c5[85]]},defaults:{phone:_0xc87cx24[_0xa6c5[85]],fullname:_0xc87cx24[_0xa6c5[85]]}})[_0xa6c5[81]](function(_0xc87cx29,_0xc87cx27){_0xc87cx28[_0xa6c5[84]](_0xc87cx29)});return _0xc87cx10[_0xa6c5[20]](200)[_0xa6c5[19]](_0xc87cx28);})[_0xa6c5[18]](function(_0xc87cx11){handleError(_0xc87cx10,_0xc87cx11)})})}else {FaxRoom[_0xa6c5[32]]({status:_0xa6c5[88],from:_0xc87cx19[_0xa6c5[69]],FaxAccountId:_0xc87cx19[_0xa6c5[89]],UserId:_0xc87cx19[_0xa6c5[90]]})[_0xa6c5[21]](function(_0xc87cx26){FaxMessage[_0xa6c5[32]]({status:_0xa6c5[86],read:true,filenamePDF:_0xc87cx1e+_0xa6c5[43],filename:_0xc87cx1e+_0xa6c5[63],body:JSON[_0xa6c5[87]](_0xc87cx24),uuid:_0xc87cx22,FaxRoomId:_0xc87cx26[_0xa6c5[29]]})[_0xa6c5[21]](function(_0xc87cx28){Contact[_0xa6c5[83]]({where:{phone:_0xc87cx24[_0xa6c5[82]]},defaults:{phone:_0xc87cx24[_0xa6c5[82]],fullname:_0xc87cx24[_0xa6c5[82]]}})[_0xa6c5[81]](function(_0xc87cx29,_0xc87cx27){_0xc87cx28[_0xa6c5[80]](_0xc87cx29)});Contact[_0xa6c5[83]]({where:{phone:_0xc87cx24[_0xa6c5[85]]},defaults:{phone:_0xc87cx24[_0xa6c5[85]],fullname:_0xc87cx24[_0xa6c5[85]]}})[_0xa6c5[81]](function(_0xc87cx29,_0xc87cx27){_0xc87cx28[_0xa6c5[84]](_0xc87cx29)});return _0xc87cx10[_0xa6c5[20]](200)[_0xa6c5[19]](_0xc87cx28);})[_0xa6c5[18]](function(_0xc87cx11){handleError(_0xc87cx10,_0xc87cx11)})})[_0xa6c5[18]](function(_0xc87cx11){handleError(_0xc87cx10,_0xc87cx11)})}});}})}});}});}exports[_0xa6c5[94]]=function(_0xc87cxf,_0xc87cx10){if(_0xc87cxf[_0xa6c5[40]][_0xa6c5[29]]){delete _0xc87cxf[_0xa6c5[40]][_0xa6c5[29]]};FaxMessage[_0xa6c5[31]]({where:{id:_0xc87cxf[_0xa6c5[30]][_0xa6c5[29]]},include:[{model:Contact,as:_0xa6c5[24]},{model:Contact,as:_0xa6c5[25]}]})[_0xa6c5[21]](function(_0xc87cx13){if(!_0xc87cx13){return _0xc87cx10[_0xa6c5[28]](404)};var _0xc87cx2a=_[_0xa6c5[95]](_0xc87cx13,_0xc87cxf[_0xa6c5[40]]);_0xc87cx2a[_0xa6c5[96]]()[_0xa6c5[21]](function(){return _0xc87cx10[_0xa6c5[20]](200)[_0xa6c5[19]](_0xc87cx13)})[_0xa6c5[18]](function(_0xc87cx11){return handleError(_0xc87cx10,_0xc87cx11)});})[_0xa6c5[18]](function(_0xc87cx11){return handleError(_0xc87cx10,_0xc87cx11)});};exports[_0xa6c5[97]]=function(_0xc87cxf,_0xc87cx10){FaxMessage[_0xa6c5[98]]({where:{id:_0xc87cxf[_0xa6c5[30]][_0xa6c5[29]]}})[_0xa6c5[21]](function(_0xc87cx13){if(!_0xc87cx13){return _0xc87cx10[_0xa6c5[28]](404)};_0xc87cx13[_0xa6c5[97]]()[_0xa6c5[21]](function(){return _0xc87cx10[_0xa6c5[28]](204)})[_0xa6c5[18]](function(_0xc87cx11){return handleError(_0xc87cx10,_0xc87cx11)});})[_0xa6c5[18]](function(_0xc87cx11){return handleError(_0xc87cx10,_0xc87cx11)})};exports[_0xa6c5[99]]=function(_0xc87cxf,_0xc87cx10){FaxMessage[_0xa6c5[93]](_0xc87cxf[_0xa6c5[30]][_0xa6c5[29]])[_0xa6c5[21]](function(_0xc87cx13){if(!_0xc87cx13){return _0xc87cx10[_0xa6c5[28]](404)};if(_0xc87cx13[_0xa6c5[100]]){if(_0xc87cx13[_0xa6c5[20]]===_0xa6c5[101]){var _0xc87cx2b=path[_0xa6c5[36]](config[_0xa6c5[34]],_0xa6c5[57],_0xa6c5[58],_0xa6c5[59],_0xa6c5[102],_0xc87cx13[_0xa6c5[100]]);fs[_0xa6c5[92]](_0xc87cx2b,function(_0xc87cx25){if(_0xc87cx25){return _0xc87cx10[_0xa6c5[103]](_0xc87cx2b)}else {return _0xc87cx10[_0xa6c5[28]](404)}});}else {if(_0xc87cx13[_0xa6c5[20]]===_0xa6c5[86]||_0xc87cx13[_0xa6c5[104]]===_0xa6c5[105]||_0xc87cx13[_0xa6c5[20]]===_0xa6c5[106]){var _0xc87cx2b=path[_0xa6c5[36]](config[_0xa6c5[34]],_0xa6c5[57],_0xa6c5[58],_0xa6c5[59],_0xa6c5[60],_0xa6c5[61],_0xc87cx13[_0xa6c5[100]]);fs[_0xa6c5[92]](_0xc87cx2b,function(_0xc87cx25){if(_0xc87cx25){return _0xc87cx10[_0xa6c5[103]](_0xc87cx2b)}else {return _0xc87cx10[_0xa6c5[28]](404)}});}}}else {_0xc87cx10[_0xa6c5[28]](404)};})[_0xa6c5[18]](function(_0xc87cx11){return handleError(_0xc87cx10,_0xc87cx11)})};function handleError(_0xc87cx10,_0xc87cx11){return _0xc87cx10[_0xa6c5[20]](500)[_0xa6c5[19]](_0xc87cx11)}
\ No newline at end of file
+var _0x7252=["\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","\x73\x70\x69\x6E\x64\x72\x69\x66\x74","\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\x52\x6F\x6F\x6D","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\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","\x71\x75\x65\x72\x79","\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x44\x45\x53\x43","\x46\x72\x6F\x6D","\x54\x6F","\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\x4F\x6E\x65","\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\x2F\x66\x69\x6C\x65\x73\x2F\x66\x61\x78\x2F\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2F\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","\x6F\x6E\x6C\x79\x54\x65\x78\x74","\x62\x6F\x64\x79","\x68\x74\x6D\x6C","\x76\x34","\x2E\x70\x64\x66","\x46\x61\x78\x3A\x20\x48\x54\x4D\x4C\x20\x43\x6F\x6E\x76\x65\x72\x74\x65\x64","\x6C\x6F\x67","\x74\x6F\x46\x69\x6C\x65","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x66\x69\x6C\x65","\x63\x72\x65\x61\x74\x65\x57\x72\x69\x74\x65\x53\x74\x72\x65\x61\x6D","\x70\x69\x70\x65","\x70\x64\x66\x53\x74\x72\x65\x61\x6D","\x46\x61\x78\x3A\x20\x48\x54\x4D\x4C\x20\x6A\x6F\x69\x6E\x65\x64\x20\x77\x69\x74\x68\x20\x50\x44\x46\x20\x75\x70\x6C\x6F\x61\x64\x65\x64","\x65\x72\x72\x6F\x72","\x46\x61\x78\x3A\x20\x50\x44\x46\x20\x52\x65\x6E\x61\x6D\x65","\x72\x65\x6E\x61\x6D\x65","\x70\x61\x72\x73\x65","\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","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64","\x2E\x74\x69\x66","\x67\x73","\x20\x2D\x71\x20\x2D\x64\x4E\x4F\x50\x41\x55\x53\x45\x20\x2D\x64\x42\x41\x54\x43\x48\x20\x2D\x73\x44\x45\x56\x49\x43\x45\x3D\x74\x69\x66\x66\x67\x34\x20","\x2D\x73\x50\x41\x50\x45\x52\x53\x49\x5A\x45\x3D\x6C\x65\x74\x74\x65\x72\x20\x2D\x73\x4F\x75\x74\x70\x75\x74\x46\x69\x6C\x65\x3D","\x20","\x53\x49\x50","\x74\x6F\x4E\x75\x6D","\x70\x68\x6F\x6E\x65","\x66\x61\x78\x68\x65\x61\x64\x65\x72","\x6C\x6F\x63\x61\x6C\x69\x64","\x6D\x61\x78\x72\x61\x74\x65","\x6D\x69\x6E\x72\x61\x74\x65","\x65\x63\x6D","\x54\x72\x75\x6E\x6B\x49\x64","\x46\x69\x6C\x65\x20\x6E\x6F\x74\x20\x65\x78\x69\x73\x74\x73","\x46\x61\x78\x3A\x20\x50\x44\x46\x20\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x20\x74\x6F\x20\x54\x49\x46\x46","\x72\x6F\x6F\x6D\x49\x64","\x73\x65\x74\x46\x72\x6F\x6D","\x73\x70\x72\x65\x61\x64","\x66\x72\x6F\x6D","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x73\x65\x74\x54\x6F","\x74\x6F","\x4E\x4F\x54\x20\x53\x45\x4E\x54","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x4F\x50\x45\x4E","\x61\x63\x63\x6F\x75\x6E\x74\x49\x64","\x75\x73\x65\x72\x49\x64","\x63\x68\x6D\x6F\x64","\x65\x78\x69\x73\x74\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\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","\x67\x65\x74\x43\x6F\x6E\x74\x65\x6E\x74\x46\x72\x6F\x6D\x4D\x65\x73\x73\x61\x67\x65","\x66\x69\x6C\x65\x6E\x61\x6D\x65\x50\x44\x46","\x52\x45\x43\x45\x49\x56\x45\x44","\x69\x6E\x62\x6F\x75\x6E\x64","\x73\x65\x6E\x64\x46\x69\x6C\x65","\x64\x69\x72\x65\x63\x74\x6F\x72\x79","\x53\x45\x4E\x54","\x46\x41\x49\x4C\x45\x44"];_0x7252[0];var _=require(_0x7252[1]);var fs=require(_0x7252[2]);var path=require(_0x7252[3]);var uploadFile=require(_0x7252[4]);var uuidLib=require(_0x7252[5]);var pdf=require(_0x7252[6]);var spindrift=require(_0x7252[7]);var formidable=require(_0x7252[8]);var exec=require(_0x7252[10])[_0x7252[9]];var config=require(_0x7252[11]);var FaxMessage=require(_0x7252[13])[_0x7252[12]];var FaxRoom=require(_0x7252[13])[_0x7252[14]];var FaxAccount=require(_0x7252[13])[_0x7252[15]];var Contact=require(_0x7252[13])[_0x7252[16]];exports[_0x7252[17]]=function(_0x7b57xf,_0x7b57x10){FaxMessage[_0x7252[26]]({where:_0x7b57xf[_0x7252[22]],order:_0x7252[23],include:[{model:Contact,as:_0x7252[24]},{model:Contact,as:_0x7252[25]},{model:FaxRoom,include:[{model:FaxAccount}]}]})[_0x7252[21]](function(_0x7b57x12){return _0x7b57x10[_0x7252[20]](200)[_0x7252[19]](_0x7b57x12)})[_0x7252[18]](function(_0x7b57x11){return handleError(_0x7b57x10,_0x7b57x11)})};exports[_0x7252[27]]=function(_0x7b57xf,_0x7b57x10){FaxMessage[_0x7252[31]]({where:{id:_0x7b57xf[_0x7252[30]][_0x7252[29]]},include:[{model:Contact,as:_0x7252[24]},{model:Contact,as:_0x7252[25]}]})[_0x7252[21]](function(_0x7b57x13){if(!_0x7b57x13){return _0x7b57x10[_0x7252[28]](404)};return _0x7b57x10[_0x7252[19]](_0x7b57x13);})[_0x7252[18]](function(_0x7b57x11){return handleError(_0x7b57x10,_0x7b57x11)})};exports[_0x7252[32]]=function(_0x7b57xf,_0x7b57x10,_0x7b57x14){var _0x7b57x15= new formidable.IncomingForm();_0x7b57x15[_0x7252[33]]=path[_0x7252[36]](config[_0x7252[34]],_0x7252[35]);_0x7b57x15[_0x7252[37]]=true;_0x7b57x15[_0x7252[38]]=false;if(_0x7b57xf[_0x7252[40]][_0x7252[39]]){if(_0x7b57xf[_0x7252[40]][_0x7252[41]]){var _0x7b57x16=uuidLib[_0x7252[42]]();var _0x7b57x17=path[_0x7252[36]](config[_0x7252[34]],_0x7252[35],_0x7b57x16+_0x7252[43]);pdf[_0x7252[32]](_0x7b57xf[_0x7252[40]][_0x7252[41]],{"\x74\x69\x6D\x65\x6F\x75\x74":30000})[_0x7252[46]](_0x7b57x17,function(_0x7b57x11,_0x7b57x18){console[_0x7252[45]](_0x7252[44]);convertPdfAndSendFax(_0x7b57xf,_0x7b57x10,_0x7b57x16,_0x7b57xf[_0x7252[40]]);});}}else {_0x7b57x15[_0x7252[56]](_0x7b57xf,function(_0x7b57x11,_0x7b57x19,_0x7b57x1a){if(_0x7b57x11){return handleError(_0x7b57x10,_0x7b57x11)};if(_0x7b57x19[_0x7252[41]]){var _0x7b57x16=uuidLib[_0x7252[42]]();var _0x7b57x17=path[_0x7252[36]](config[_0x7252[34]],_0x7252[35],_0x7b57x16+_0x7252[43]);pdf[_0x7252[32]](_0x7b57x19[_0x7252[41]],{"\x74\x69\x6D\x65\x6F\x75\x74":30000})[_0x7252[46]](_0x7b57x17,function(_0x7b57x11,_0x7b57x18){console[_0x7252[45]](_0x7252[44]);var _0x7b57x1b=spindrift(_0x7b57x18[_0x7252[47]]);var _0x7b57x1c=spindrift(_0x7b57x1a[_0x7252[48]][_0x7252[3]]);var _0x7b57x16=uuidLib[_0x7252[42]]();spindrift[_0x7252[36]](_0x7b57x1b,_0x7b57x1c)[_0x7252[51]]()[_0x7252[50]](fs[_0x7252[49]](path[_0x7252[36]](config[_0x7252[34]],_0x7252[35],_0x7b57x16+_0x7252[43])));console[_0x7252[45]](_0x7252[52]);convertPdfAndSendFax(_0x7b57xf,_0x7b57x10,_0x7b57x16,_0x7b57x19);});}else {var _0x7b57x16=uuidLib[_0x7252[42]]();var _0x7b57x17=path[_0x7252[36]](config[_0x7252[34]],_0x7252[35],_0x7b57x16+_0x7252[43]);fs[_0x7252[55]](_0x7b57x1a[_0x7252[48]][_0x7252[3]],_0x7b57x17,function(_0x7b57x11){if(_0x7b57x11){console[_0x7252[53]](_0x7b57x11);return handleError(_0x7b57x10,_0x7b57xf);};console[_0x7252[45]](_0x7252[54]);convertPdfAndSendFax(_0x7b57xf,_0x7b57x10,_0x7b57x16,_0x7b57x19);});};})};};function convertPdfAndSendFax(_0x7b57xf,_0x7b57x10,_0x7b57x1e,_0x7b57x19){var _0x7b57x1f=path[_0x7252[36]](config[_0x7252[34]],_0x7252[57],_0x7252[58],_0x7252[59],_0x7252[60],_0x7252[61],_0x7b57x1e+_0x7252[43]);var _0x7b57x20=path[_0x7252[36]](config[_0x7252[34]],_0x7252[57],_0x7252[58],_0x7252[59],_0x7252[60],_0x7252[62],_0x7b57x1e+_0x7252[63]);var _0x7b57x21=_0x7252[64]+_0x7252[65]+_0x7252[66]+_0x7b57x20+_0x7252[67]+_0x7b57x1f;var _0x7b57x22=uuidLib[_0x7252[42]]();FaxAccount[_0x7252[93]](_0x7b57x19[_0x7252[89]])[_0x7252[21]](function(_0x7b57x23){if(_0x7b57x23){var _0x7b57x24={technology:_0x7252[68],to:_0x7b57x19[_0x7252[69]],from:_0x7b57x23[_0x7252[70]],fax_file:_0x7b57x20,fax_header:_0x7b57x23[_0x7252[71]],fax_localid:_0x7b57x23[_0x7252[72]],maxrate:_0x7b57x23[_0x7252[73]],minrate:_0x7b57x23[_0x7252[74]],ecm:_0x7b57x23[_0x7252[75]],uuid:_0x7b57x22,trunk:{id:_0x7b57x23[_0x7252[76]]}};fs[_0x7252[92]](_0x7b57x1f,function(_0x7b57x25){if(!_0x7b57x25){handleError(_0x7b57x10, new Error(_0x7252[77]))}else {exec(_0x7b57x21,function(_0x7b57x11){if(_0x7b57x11){console[_0x7252[53]](_0x7b57x11);handleError(_0x7b57x10,_0x7b57x11);}else {console[_0x7252[45]](_0x7252[78]);fs[_0x7252[91]](_0x7b57x20,511,function(_0x7b57x11){if(_0x7b57x19[_0x7252[79]]){FaxRoom[_0x7252[83]]({where:{id:_0x7b57x19[_0x7252[79]]},defaults:{}})[_0x7252[81]](function(_0x7b57x26,_0x7b57x27){FaxMessage[_0x7252[32]]({status:_0x7252[86],read:true,filenamePDF:_0x7b57x1e+_0x7252[43],filename:_0x7b57x1e+_0x7252[63],body:JSON[_0x7252[87]](_0x7b57x24),uuid:_0x7b57x22,FaxRoomId:_0x7b57x26[_0x7252[29]]})[_0x7252[21]](function(_0x7b57x28){Contact[_0x7252[83]]({where:{phone:_0x7b57x24[_0x7252[82]]},defaults:{phone:_0x7b57x24[_0x7252[82]],fullname:_0x7b57x24[_0x7252[82]]}})[_0x7252[81]](function(_0x7b57x29,_0x7b57x27){_0x7b57x28[_0x7252[80]](_0x7b57x29)});Contact[_0x7252[83]]({where:{phone:_0x7b57x24[_0x7252[85]]},defaults:{phone:_0x7b57x24[_0x7252[85]],fullname:_0x7b57x24[_0x7252[85]]}})[_0x7252[81]](function(_0x7b57x29,_0x7b57x27){_0x7b57x28[_0x7252[84]](_0x7b57x29)});return _0x7b57x10[_0x7252[20]](200)[_0x7252[19]](_0x7b57x28);})[_0x7252[18]](function(_0x7b57x11){handleError(_0x7b57x10,_0x7b57x11)})})}else {FaxRoom[_0x7252[32]]({status:_0x7252[88],from:_0x7b57x19[_0x7252[69]],FaxAccountId:_0x7b57x19[_0x7252[89]],UserId:_0x7b57x19[_0x7252[90]]})[_0x7252[21]](function(_0x7b57x26){FaxMessage[_0x7252[32]]({status:_0x7252[86],read:true,filenamePDF:_0x7b57x1e+_0x7252[43],filename:_0x7b57x1e+_0x7252[63],body:JSON[_0x7252[87]](_0x7b57x24),uuid:_0x7b57x22,FaxRoomId:_0x7b57x26[_0x7252[29]]})[_0x7252[21]](function(_0x7b57x28){Contact[_0x7252[83]]({where:{phone:_0x7b57x24[_0x7252[82]]},defaults:{phone:_0x7b57x24[_0x7252[82]],fullname:_0x7b57x24[_0x7252[82]]}})[_0x7252[81]](function(_0x7b57x29,_0x7b57x27){_0x7b57x28[_0x7252[80]](_0x7b57x29)});Contact[_0x7252[83]]({where:{phone:_0x7b57x24[_0x7252[85]]},defaults:{phone:_0x7b57x24[_0x7252[85]],fullname:_0x7b57x24[_0x7252[85]]}})[_0x7252[81]](function(_0x7b57x29,_0x7b57x27){_0x7b57x28[_0x7252[84]](_0x7b57x29)});return _0x7b57x10[_0x7252[20]](200)[_0x7252[19]](_0x7b57x28);})[_0x7252[18]](function(_0x7b57x11){handleError(_0x7b57x10,_0x7b57x11)})})[_0x7252[18]](function(_0x7b57x11){handleError(_0x7b57x10,_0x7b57x11)})}});}})}});}});}exports[_0x7252[94]]=function(_0x7b57xf,_0x7b57x10){if(_0x7b57xf[_0x7252[40]][_0x7252[29]]){delete _0x7b57xf[_0x7252[40]][_0x7252[29]]};FaxMessage[_0x7252[31]]({where:{id:_0x7b57xf[_0x7252[30]][_0x7252[29]]},include:[{model:Contact,as:_0x7252[24]},{model:Contact,as:_0x7252[25]}]})[_0x7252[21]](function(_0x7b57x13){if(!_0x7b57x13){return _0x7b57x10[_0x7252[28]](404)};var _0x7b57x2a=_[_0x7252[95]](_0x7b57x13,_0x7b57xf[_0x7252[40]]);_0x7b57x2a[_0x7252[96]]()[_0x7252[21]](function(){return _0x7b57x10[_0x7252[20]](200)[_0x7252[19]](_0x7b57x13)})[_0x7252[18]](function(_0x7b57x11){return handleError(_0x7b57x10,_0x7b57x11)});})[_0x7252[18]](function(_0x7b57x11){return handleError(_0x7b57x10,_0x7b57x11)});};exports[_0x7252[97]]=function(_0x7b57xf,_0x7b57x10){FaxMessage[_0x7252[98]]({where:{id:_0x7b57xf[_0x7252[30]][_0x7252[29]]}})[_0x7252[21]](function(_0x7b57x13){if(!_0x7b57x13){return _0x7b57x10[_0x7252[28]](404)};_0x7b57x13[_0x7252[97]]()[_0x7252[21]](function(){return _0x7b57x10[_0x7252[28]](204)})[_0x7252[18]](function(_0x7b57x11){return handleError(_0x7b57x10,_0x7b57x11)});})[_0x7252[18]](function(_0x7b57x11){return handleError(_0x7b57x10,_0x7b57x11)})};exports[_0x7252[99]]=function(_0x7b57xf,_0x7b57x10){FaxMessage[_0x7252[93]](_0x7b57xf[_0x7252[30]][_0x7252[29]])[_0x7252[21]](function(_0x7b57x13){if(!_0x7b57x13){return _0x7b57x10[_0x7252[28]](404)};if(_0x7b57x13[_0x7252[100]]){if(_0x7b57x13[_0x7252[20]]===_0x7252[101]){var _0x7b57x2b=path[_0x7252[36]](config[_0x7252[34]],_0x7252[57],_0x7252[58],_0x7252[59],_0x7252[102],_0x7b57x13[_0x7252[100]]);fs[_0x7252[92]](_0x7b57x2b,function(_0x7b57x25){if(_0x7b57x25){return _0x7b57x10[_0x7252[103]](_0x7b57x2b)}else {return _0x7b57x10[_0x7252[28]](404)}});}else {if(_0x7b57x13[_0x7252[20]]===_0x7252[86]||_0x7b57x13[_0x7252[104]]===_0x7252[105]||_0x7b57x13[_0x7252[20]]===_0x7252[106]){var _0x7b57x2b=path[_0x7252[36]](config[_0x7252[34]],_0x7252[57],_0x7252[58],_0x7252[59],_0x7252[60],_0x7252[61],_0x7b57x13[_0x7252[100]]);fs[_0x7252[92]](_0x7b57x2b,function(_0x7b57x25){if(_0x7b57x25){return _0x7b57x10[_0x7252[103]](_0x7b57x2b)}else {return _0x7b57x10[_0x7252[28]](404)}});}}}else {_0x7b57x10[_0x7252[28]](404)};})[_0x7252[18]](function(_0x7b57x11){return handleError(_0x7b57x10,_0x7b57x11)})};function handleError(_0x7b57x10,_0x7b57x11){return _0x7b57x10[_0x7252[20]](500)[_0x7252[19]](_0x7b57x11)}
\ No newline at end of file
index 5c48042..d514a5d 100644 (file)
@@ -1 +1 @@
-var _0xe77d=["\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","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x69\x64","\x46\x72\x6F\x6D","\x54\x6F","\x66\x69\x6E\x64\x4F\x6E\x65","\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"];_0xe77d[0];var FaxMessage=require(_0xe77d[2])[_0xe77d[1]];var Contact=require(_0xe77d[2])[_0xe77d[3]];var FaxRoom=require(_0xe77d[2])[_0xe77d[4]];var FaxAccount=require(_0xe77d[2])[_0xe77d[5]];exports[_0xe77d[6]]=function(_0xf272x5){FaxMessage[_0xe77d[14]](function(_0xf272x6){FaxMessage[_0xe77d[13]]({where:{id:_0xf272x6[_0xe77d[10]]},include:[{model:Contact,as:_0xe77d[11]},{model:Contact,as:_0xe77d[12]},{model:FaxRoom,include:[{model:FaxAccount}]}]})[_0xe77d[9]](function(_0xf272x8){onSave(_0xf272x5,_0xf272x8)})[_0xe77d[8]](function(_0xf272x7){console[_0xe77d[7]](_0xf272x7)})});FaxMessage[_0xe77d[15]](function(_0xf272x6){FaxMessage[_0xe77d[13]]({where:{id:_0xf272x6[_0xe77d[10]]},include:[{model:Contact,as:_0xe77d[11]},{model:Contact,as:_0xe77d[12]},{model:FaxRoom,include:[{model:FaxAccount}]}]})[_0xe77d[9]](function(_0xf272x8){onSave(_0xf272x5,_0xf272x8);onUpdate(_0xf272x5,_0xf272x8);})[_0xe77d[8]](function(_0xf272x7){console[_0xe77d[7]](_0xf272x7)})});FaxMessage[_0xe77d[16]](function(_0xf272x6){onRemove(_0xf272x5,_0xf272x6)});};function onSave(_0xf272x5,_0xf272x6,_0xf272xa){_0xf272x5[_0xe77d[18]](_0xe77d[17],_0xf272x6)}function onUpdate(_0xf272x5,_0xf272x6,_0xf272xa){_0xf272x5[_0xe77d[18]](_0xe77d[19],_0xf272x6)}function onRemove(_0xf272x5,_0xf272x6,_0xf272xa){_0xf272x5[_0xe77d[18]](_0xe77d[20],_0xf272x6)}
\ No newline at end of file
+var _0xa3e7=["\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","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x69\x64","\x46\x72\x6F\x6D","\x54\x6F","\x66\x69\x6E\x64\x4F\x6E\x65","\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"];_0xa3e7[0];var FaxMessage=require(_0xa3e7[2])[_0xa3e7[1]];var Contact=require(_0xa3e7[2])[_0xa3e7[3]];var FaxRoom=require(_0xa3e7[2])[_0xa3e7[4]];var FaxAccount=require(_0xa3e7[2])[_0xa3e7[5]];exports[_0xa3e7[6]]=function(_0xb50cx5){FaxMessage[_0xa3e7[14]](function(_0xb50cx6){FaxMessage[_0xa3e7[13]]({where:{id:_0xb50cx6[_0xa3e7[10]]},include:[{model:Contact,as:_0xa3e7[11]},{model:Contact,as:_0xa3e7[12]},{model:FaxRoom,include:[{model:FaxAccount}]}]})[_0xa3e7[9]](function(_0xb50cx8){onSave(_0xb50cx5,_0xb50cx8)})[_0xa3e7[8]](function(_0xb50cx7){console[_0xa3e7[7]](_0xb50cx7)})});FaxMessage[_0xa3e7[15]](function(_0xb50cx6){FaxMessage[_0xa3e7[13]]({where:{id:_0xb50cx6[_0xa3e7[10]]},include:[{model:Contact,as:_0xa3e7[11]},{model:Contact,as:_0xa3e7[12]},{model:FaxRoom,include:[{model:FaxAccount}]}]})[_0xa3e7[9]](function(_0xb50cx8){onSave(_0xb50cx5,_0xb50cx8);onUpdate(_0xb50cx5,_0xb50cx8);})[_0xa3e7[8]](function(_0xb50cx7){console[_0xa3e7[7]](_0xb50cx7)})});FaxMessage[_0xa3e7[16]](function(_0xb50cx6){onRemove(_0xb50cx5,_0xb50cx6)});};function onSave(_0xb50cx5,_0xb50cx6,_0xb50cxa){_0xb50cx5[_0xa3e7[18]](_0xa3e7[17],_0xb50cx6)}function onUpdate(_0xb50cx5,_0xb50cx6,_0xb50cxa){_0xb50cx5[_0xa3e7[18]](_0xa3e7[19],_0xb50cx6)}function onRemove(_0xb50cx5,_0xb50cx6,_0xb50cxa){_0xb50cx5[_0xa3e7[18]](_0xa3e7[20],_0xb50cx6)}
\ No newline at end of file
index e599a30..82f60a6 100644 (file)
@@ -1 +1 @@
-var _0xd833=["\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\x66\x61\x78\x2F\x6D\x65\x73\x73\x61\x67\x65\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\x66\x61\x78\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x67\x65\x74"];_0xd833[0];var should=require(_0xd833[1]);var app=require(_0xd833[2]);var request=require(_0xd833[3]);describe(_0xd833[4],function(){it(_0xd833[5],function(_0xce2ex4){request(app)[_0xd833[13]](_0xd833[12])[_0xd833[11]](200)[_0xd833[11]](_0xd833[10],/json/)[_0xd833[9]](function(_0xce2ex5,_0xce2ex6){if(_0xce2ex5){return _0xce2ex4(_0xce2ex5)};_0xce2ex6[_0xd833[8]][_0xd833[1]][_0xd833[7]][_0xd833[6]](Array);_0xce2ex4();})})});
\ No newline at end of file
+var _0x743b=["\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\x66\x61\x78\x2F\x6D\x65\x73\x73\x61\x67\x65\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\x66\x61\x78\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x67\x65\x74"];_0x743b[0];var should=require(_0x743b[1]);var app=require(_0x743b[2]);var request=require(_0x743b[3]);describe(_0x743b[4],function(){it(_0x743b[5],function(_0x2efax4){request(app)[_0x743b[13]](_0x743b[12])[_0x743b[11]](200)[_0x743b[11]](_0x743b[10],/json/)[_0x743b[9]](function(_0x2efax5,_0x2efax6){if(_0x2efax5){return _0x2efax4(_0x2efax5)};_0x2efax6[_0x743b[8]][_0x743b[1]][_0x743b[7]][_0x743b[6]](Array);_0x2efax4();})})});
\ No newline at end of file
index b4b3c08..3cc57a3 100644 (file)
@@ -1 +1 @@
-var _0x4da7=["\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","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x74\x65\x6E\x74","\x67\x65\x74\x43\x6F\x6E\x74\x65\x6E\x74\x46\x72\x6F\x6D\x4D\x65\x73\x73\x61\x67\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","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x4da7[0];var express=require(_0x4da7[1]);var controller=require(_0x4da7[2]);var router=express.Router();router[_0x4da7[5]](_0x4da7[3],controller[_0x4da7[4]]);router[_0x4da7[5]](_0x4da7[6],controller[_0x4da7[7]]);router[_0x4da7[5]](_0x4da7[8],controller[_0x4da7[9]]);router[_0x4da7[11]](_0x4da7[3],controller[_0x4da7[10]]);router[_0x4da7[13]](_0x4da7[8],controller[_0x4da7[12]]);router[_0x4da7[14]](_0x4da7[8],controller[_0x4da7[12]]);router[_0x4da7[16]](_0x4da7[8],controller[_0x4da7[15]]);module[_0x4da7[17]]=router;
\ No newline at end of file
+var _0xb64b=["\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","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x74\x65\x6E\x74","\x67\x65\x74\x43\x6F\x6E\x74\x65\x6E\x74\x46\x72\x6F\x6D\x4D\x65\x73\x73\x61\x67\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","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xb64b[0];var express=require(_0xb64b[1]);var controller=require(_0xb64b[2]);var router=express.Router();router[_0xb64b[5]](_0xb64b[3],controller[_0xb64b[4]]);router[_0xb64b[5]](_0xb64b[6],controller[_0xb64b[7]]);router[_0xb64b[5]](_0xb64b[8],controller[_0xb64b[9]]);router[_0xb64b[11]](_0xb64b[3],controller[_0xb64b[10]]);router[_0xb64b[13]](_0xb64b[8],controller[_0xb64b[12]]);router[_0xb64b[14]](_0xb64b[8],controller[_0xb64b[12]]);router[_0xb64b[16]](_0xb64b[8],controller[_0xb64b[15]]);module[_0xb64b[17]]=router;
\ No newline at end of file
index 62809ad..6142424 100644 (file)
@@ -1 +1 @@
-var _0x53a2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\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","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x74\x69\x6D\x65\x6F\x75\x74","\x73\x74\x72\x61\x74\x65\x67\x79","\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","\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","\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","\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","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x61\x64\x64\x55\x73\x65\x72\x73","\x6E\x6F\x20\x66\x61\x78\x20\x71\x75\x65\x75\x65\x20\x66\x6F\x75\x6E\x64","\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"];_0x53a2[0];var _=require(_0x53a2[1]);var util=require(_0x53a2[2]);var FaxQueue=require(_0x53a2[4])[_0x53a2[3]];exports[_0x53a2[5]]=function(_0x8cadx4,_0x8cadx5){var _0x8cadx6=[_0x53a2[6],_0x53a2[7],_0x53a2[8],_0x53a2[9]];var _0x8cadx7=_0x8cadx4[_0x53a2[11]][_0x53a2[10]]?parseInt(_0x8cadx4[_0x53a2[11]][_0x53a2[10]],10):100;var _0x8cadx8=_0x8cadx4[_0x53a2[11]][_0x53a2[12]]?parseInt(_0x8cadx4[_0x53a2[11]][_0x53a2[12]],10):0;var _0x8cadx9={where:{},limit:_0x8cadx7,offset:_0x8cadx8*_0x8cadx7,include:[{all:true}]};_[_0x53a2[26]](_0x8cadx4[_0x53a2[11]],function(_0x8cadxa,_0x8cadxb){switch(_0x8cadxb){case _0x53a2[10]:;case _0x53a2[12]:break ;;case _0x53a2[15]:_0x8cadx9[_0x53a2[13]]=util[_0x53a2[18]](_0x53a2[14],_0x8cadx4[_0x53a2[11]][_0x53a2[15]],_0x8cadx4[_0x53a2[11]][_0x53a2[16]]||_0x53a2[17])||null;break ;;case _0x53a2[16]:break ;;case _0x53a2[24]:_0x8cadx9[_0x53a2[20]][_0x53a2[19]]=[];_0x8cadx6[_0x53a2[23]](function(_0x8cadxc){var _0x8cadxd={};_0x8cadxd[_0x8cadxc]={$like:_0x53a2[21]+_0x8cadxa+_0x53a2[21]};_0x8cadx9[_0x53a2[20]][_0x53a2[19]][_0x53a2[22]](_0x8cadxd);});break ;;default:_0x8cadx9[_0x53a2[20]][_0x8cadxb]={$like:{}};_0x8cadx9[_0x53a2[20]][_0x8cadxb][_0x53a2[25]]=_0x53a2[21]+_0x8cadxa+_0x53a2[21];;}});FaxQueue[_0x53a2[40]](_0x8cadx9)[_0x53a2[39]](function(_0x8cadxf){var _0x8cadx10=Math[_0x53a2[29]](_0x8cadxf[_0x53a2[28]]/_0x8cadx7);var _0x8cadx11=_0x8cadx10>(_0x8cadx9[_0x53a2[30]]+1)?util[_0x53a2[18]](_0x53a2[31],_0x8cadx4[_0x53a2[32]],_0x8cadx4[_0x53a2[34]][_0x53a2[33]],_0x8cadx4[_0x53a2[35]],_0x8cadx8+1):null;var _0x8cadx12=_0x8cadx8>0?util[_0x53a2[18]](_0x53a2[31],_0x8cadx4[_0x53a2[32]],_0x8cadx4[_0x53a2[34]][_0x53a2[33]],_0x8cadx4[_0x53a2[35]],_0x8cadx8-1):null;_0x8cadx5[_0x53a2[38]](200)[_0x53a2[37]]({count:_0x8cadxf[_0x53a2[28]],rows:_0x8cadxf[_0x53a2[36]],next_page:_0x8cadx11,previous_page:_0x8cadx12,total_pages:_0x8cadx10});})[_0x53a2[27]](function(_0x8cadxe){return handleError(_0x8cadx5,_0x8cadxe)});};exports[_0x53a2[41]]=function(_0x8cadx4,_0x8cadx5){FaxQueue[_0x53a2[45]](_0x8cadx4[_0x53a2[44]][_0x53a2[43]])[_0x53a2[39]](function(_0x8cadx13){if(!_0x8cadx13){return _0x8cadx5[_0x53a2[42]](404)};return _0x8cadx5[_0x53a2[37]](_0x8cadx13);})[_0x53a2[27]](function(_0x8cadxe){return handleError(_0x8cadx5,_0x8cadxe)})};exports[_0x53a2[46]]=function(_0x8cadx4,_0x8cadx5){FaxQueue[_0x53a2[46]](_0x8cadx4[_0x53a2[47]])[_0x53a2[39]](function(_0x8cadx13){return _0x8cadx5[_0x53a2[38]](201)[_0x53a2[37]](_0x8cadx13)})[_0x53a2[27]](function(_0x8cadxe){return handleError(_0x8cadx5,_0x8cadxe)})};exports[_0x53a2[48]]=function(_0x8cadx4,_0x8cadx5){if(_0x8cadx4[_0x53a2[47]][_0x53a2[43]]){delete _0x8cadx4[_0x53a2[47]][_0x53a2[43]]};FaxQueue[_0x53a2[51]]({where:{id:_0x8cadx4[_0x53a2[44]][_0x53a2[43]]}})[_0x53a2[39]](function(_0x8cadx13){if(!_0x8cadx13){return _0x8cadx5[_0x53a2[42]](404)};var _0x8cadx14=_[_0x53a2[49]](_0x8cadx13,_0x8cadx4[_0x53a2[47]]);_0x8cadx14[_0x53a2[50]]()[_0x53a2[39]](function(){return _0x8cadx5[_0x53a2[38]](200)[_0x53a2[37]](_0x8cadx13)})[_0x53a2[27]](function(_0x8cadxe){return handleError(_0x8cadx5,_0x8cadxe)});})[_0x53a2[27]](function(_0x8cadxe){return handleError(_0x8cadx5,_0x8cadxe)});};exports[_0x53a2[52]]=function(_0x8cadx4,_0x8cadx5){FaxQueue[_0x53a2[51]]({where:{id:_0x8cadx4[_0x53a2[44]][_0x53a2[43]]}})[_0x53a2[39]](function(_0x8cadx13){if(!_0x8cadx13){return _0x8cadx5[_0x53a2[42]](404)};_0x8cadx13[_0x53a2[52]]()[_0x53a2[39]](function(){return _0x8cadx5[_0x53a2[42]](204)})[_0x53a2[27]](function(_0x8cadxe){return handleError(_0x8cadx5,_0x8cadxe)});})[_0x53a2[27]](function(_0x8cadxe){return handleError(_0x8cadx5,_0x8cadxe)})};exports[_0x53a2[53]]=function(_0x8cadx4,_0x8cadx5,_0x8cadx15){FaxQueue[_0x53a2[45]](_0x8cadx4[_0x53a2[44]][_0x53a2[43]])[_0x53a2[39]](function(_0x8cadx16){if(_0x8cadx16){_0x8cadx16[_0x53a2[55]](_0x8cadx4[_0x53a2[47]][_0x53a2[54]])[_0x53a2[39]](function(){return _0x8cadx5[_0x53a2[42]](200)})[_0x53a2[27]](function(_0x8cadxe){return _0x8cadx15(_0x8cadxe)})}else {return _0x8cadx15( new Error(_0x53a2[56]))}})[_0x53a2[27]](function(_0x8cadxe){return _0x8cadx15(_0x8cadxe)})};exports[_0x53a2[57]]=function(_0x8cadx4,_0x8cadx5,_0x8cadx15){FaxQueue[_0x53a2[45]](_0x8cadx4[_0x53a2[44]][_0x53a2[43]])[_0x53a2[39]](function(_0x8cadx16){if(_0x8cadx16){_0x8cadx16[_0x53a2[58]](_0x8cadx4[_0x53a2[47]][_0x53a2[54]])[_0x53a2[39]](function(){return _0x8cadx5[_0x53a2[42]](200)})[_0x53a2[27]](function(_0x8cadxe){return _0x8cadx15(_0x8cadxe)})}else {return _0x8cadx15( new Error(_0x53a2[56]))}})[_0x53a2[27]](function(_0x8cadxe){return _0x8cadx15(_0x8cadxe)})};exports[_0x53a2[59]]=function(_0x8cadx4,_0x8cadx5){FaxQueue[_0x53a2[52]]({where:{id:_0x8cadx4[_0x53a2[11]][_0x53a2[43]]},individualHooks:true})[_0x53a2[39]](function(){return _0x8cadx5[_0x53a2[42]](204)})[_0x53a2[27]](function(_0x8cadxe){return handleError(_0x8cadx5,_0x8cadxe)})};function handleError(_0x8cadx5,_0x8cadxe){return _0x8cadx5[_0x53a2[38]](500)[_0x53a2[37]](_0x8cadxe)}
\ No newline at end of file
+var _0x6ec1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\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","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x74\x69\x6D\x65\x6F\x75\x74","\x73\x74\x72\x61\x74\x65\x67\x79","\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","\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","\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","\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","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x61\x64\x64\x55\x73\x65\x72\x73","\x6E\x6F\x20\x66\x61\x78\x20\x71\x75\x65\x75\x65\x20\x66\x6F\x75\x6E\x64","\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"];_0x6ec1[0];var _=require(_0x6ec1[1]);var util=require(_0x6ec1[2]);var FaxQueue=require(_0x6ec1[4])[_0x6ec1[3]];exports[_0x6ec1[5]]=function(_0x3877x4,_0x3877x5){var _0x3877x6=[_0x6ec1[6],_0x6ec1[7],_0x6ec1[8],_0x6ec1[9]];var _0x3877x7=_0x3877x4[_0x6ec1[11]][_0x6ec1[10]]?parseInt(_0x3877x4[_0x6ec1[11]][_0x6ec1[10]],10):100;var _0x3877x8=_0x3877x4[_0x6ec1[11]][_0x6ec1[12]]?parseInt(_0x3877x4[_0x6ec1[11]][_0x6ec1[12]],10):0;var _0x3877x9={where:{},limit:_0x3877x7,offset:_0x3877x8*_0x3877x7,include:[{all:true}]};_[_0x6ec1[26]](_0x3877x4[_0x6ec1[11]],function(_0x3877xa,_0x3877xb){switch(_0x3877xb){case _0x6ec1[10]:;case _0x6ec1[12]:break ;;case _0x6ec1[15]:_0x3877x9[_0x6ec1[13]]=util[_0x6ec1[18]](_0x6ec1[14],_0x3877x4[_0x6ec1[11]][_0x6ec1[15]],_0x3877x4[_0x6ec1[11]][_0x6ec1[16]]||_0x6ec1[17])||null;break ;;case _0x6ec1[16]:break ;;case _0x6ec1[24]:_0x3877x9[_0x6ec1[20]][_0x6ec1[19]]=[];_0x3877x6[_0x6ec1[23]](function(_0x3877xc){var _0x3877xd={};_0x3877xd[_0x3877xc]={$like:_0x6ec1[21]+_0x3877xa+_0x6ec1[21]};_0x3877x9[_0x6ec1[20]][_0x6ec1[19]][_0x6ec1[22]](_0x3877xd);});break ;;default:_0x3877x9[_0x6ec1[20]][_0x3877xb]={$like:{}};_0x3877x9[_0x6ec1[20]][_0x3877xb][_0x6ec1[25]]=_0x6ec1[21]+_0x3877xa+_0x6ec1[21];;}});FaxQueue[_0x6ec1[40]](_0x3877x9)[_0x6ec1[39]](function(_0x3877xf){var _0x3877x10=Math[_0x6ec1[29]](_0x3877xf[_0x6ec1[28]]/_0x3877x7);var _0x3877x11=_0x3877x10>(_0x3877x9[_0x6ec1[30]]+1)?util[_0x6ec1[18]](_0x6ec1[31],_0x3877x4[_0x6ec1[32]],_0x3877x4[_0x6ec1[34]][_0x6ec1[33]],_0x3877x4[_0x6ec1[35]],_0x3877x8+1):null;var _0x3877x12=_0x3877x8>0?util[_0x6ec1[18]](_0x6ec1[31],_0x3877x4[_0x6ec1[32]],_0x3877x4[_0x6ec1[34]][_0x6ec1[33]],_0x3877x4[_0x6ec1[35]],_0x3877x8-1):null;_0x3877x5[_0x6ec1[38]](200)[_0x6ec1[37]]({count:_0x3877xf[_0x6ec1[28]],rows:_0x3877xf[_0x6ec1[36]],next_page:_0x3877x11,previous_page:_0x3877x12,total_pages:_0x3877x10});})[_0x6ec1[27]](function(_0x3877xe){return handleError(_0x3877x5,_0x3877xe)});};exports[_0x6ec1[41]]=function(_0x3877x4,_0x3877x5){FaxQueue[_0x6ec1[45]](_0x3877x4[_0x6ec1[44]][_0x6ec1[43]])[_0x6ec1[39]](function(_0x3877x13){if(!_0x3877x13){return _0x3877x5[_0x6ec1[42]](404)};return _0x3877x5[_0x6ec1[37]](_0x3877x13);})[_0x6ec1[27]](function(_0x3877xe){return handleError(_0x3877x5,_0x3877xe)})};exports[_0x6ec1[46]]=function(_0x3877x4,_0x3877x5){FaxQueue[_0x6ec1[46]](_0x3877x4[_0x6ec1[47]])[_0x6ec1[39]](function(_0x3877x13){return _0x3877x5[_0x6ec1[38]](201)[_0x6ec1[37]](_0x3877x13)})[_0x6ec1[27]](function(_0x3877xe){return handleError(_0x3877x5,_0x3877xe)})};exports[_0x6ec1[48]]=function(_0x3877x4,_0x3877x5){if(_0x3877x4[_0x6ec1[47]][_0x6ec1[43]]){delete _0x3877x4[_0x6ec1[47]][_0x6ec1[43]]};FaxQueue[_0x6ec1[51]]({where:{id:_0x3877x4[_0x6ec1[44]][_0x6ec1[43]]}})[_0x6ec1[39]](function(_0x3877x13){if(!_0x3877x13){return _0x3877x5[_0x6ec1[42]](404)};var _0x3877x14=_[_0x6ec1[49]](_0x3877x13,_0x3877x4[_0x6ec1[47]]);_0x3877x14[_0x6ec1[50]]()[_0x6ec1[39]](function(){return _0x3877x5[_0x6ec1[38]](200)[_0x6ec1[37]](_0x3877x13)})[_0x6ec1[27]](function(_0x3877xe){return handleError(_0x3877x5,_0x3877xe)});})[_0x6ec1[27]](function(_0x3877xe){return handleError(_0x3877x5,_0x3877xe)});};exports[_0x6ec1[52]]=function(_0x3877x4,_0x3877x5){FaxQueue[_0x6ec1[51]]({where:{id:_0x3877x4[_0x6ec1[44]][_0x6ec1[43]]}})[_0x6ec1[39]](function(_0x3877x13){if(!_0x3877x13){return _0x3877x5[_0x6ec1[42]](404)};_0x3877x13[_0x6ec1[52]]()[_0x6ec1[39]](function(){return _0x3877x5[_0x6ec1[42]](204)})[_0x6ec1[27]](function(_0x3877xe){return handleError(_0x3877x5,_0x3877xe)});})[_0x6ec1[27]](function(_0x3877xe){return handleError(_0x3877x5,_0x3877xe)})};exports[_0x6ec1[53]]=function(_0x3877x4,_0x3877x5,_0x3877x15){FaxQueue[_0x6ec1[45]](_0x3877x4[_0x6ec1[44]][_0x6ec1[43]])[_0x6ec1[39]](function(_0x3877x16){if(_0x3877x16){_0x3877x16[_0x6ec1[55]](_0x3877x4[_0x6ec1[47]][_0x6ec1[54]])[_0x6ec1[39]](function(){return _0x3877x5[_0x6ec1[42]](200)})[_0x6ec1[27]](function(_0x3877xe){return _0x3877x15(_0x3877xe)})}else {return _0x3877x15( new Error(_0x6ec1[56]))}})[_0x6ec1[27]](function(_0x3877xe){return _0x3877x15(_0x3877xe)})};exports[_0x6ec1[57]]=function(_0x3877x4,_0x3877x5,_0x3877x15){FaxQueue[_0x6ec1[45]](_0x3877x4[_0x6ec1[44]][_0x6ec1[43]])[_0x6ec1[39]](function(_0x3877x16){if(_0x3877x16){_0x3877x16[_0x6ec1[58]](_0x3877x4[_0x6ec1[47]][_0x6ec1[54]])[_0x6ec1[39]](function(){return _0x3877x5[_0x6ec1[42]](200)})[_0x6ec1[27]](function(_0x3877xe){return _0x3877x15(_0x3877xe)})}else {return _0x3877x15( new Error(_0x6ec1[56]))}})[_0x6ec1[27]](function(_0x3877xe){return _0x3877x15(_0x3877xe)})};exports[_0x6ec1[59]]=function(_0x3877x4,_0x3877x5){FaxQueue[_0x6ec1[52]]({where:{id:_0x3877x4[_0x6ec1[11]][_0x6ec1[43]]},individualHooks:true})[_0x6ec1[39]](function(){return _0x3877x5[_0x6ec1[42]](204)})[_0x6ec1[27]](function(_0x3877xe){return handleError(_0x3877x5,_0x3877xe)})};function handleError(_0x3877x5,_0x3877xe){return _0x3877x5[_0x6ec1[38]](500)[_0x6ec1[37]](_0x3877xe)}
\ No newline at end of file
index fc9f507..d72f960 100644 (file)
@@ -1 +1 @@
-var _0xf3e8=["\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"];_0xf3e8[0];var fax_queue=require(_0xf3e8[2])[_0xf3e8[1]];exports[_0xf3e8[3]]=function(_0x5fe2x2){fax_queue[_0xf3e8[4]](function(_0x5fe2x3){onSave(_0x5fe2x2,_0x5fe2x3)});fax_queue[_0xf3e8[5]](function(_0x5fe2x3){onRemove(_0x5fe2x2,_0x5fe2x3)});};function onSave(_0x5fe2x2,_0x5fe2x3,_0x5fe2x5){_0x5fe2x2[_0xf3e8[7]](_0xf3e8[6],_0x5fe2x3)}function onRemove(_0x5fe2x2,_0x5fe2x3,_0x5fe2x5){_0x5fe2x2[_0xf3e8[7]](_0xf3e8[8],_0x5fe2x3)}
\ No newline at end of file
+var _0x4ce1=["\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"];_0x4ce1[0];var fax_queue=require(_0x4ce1[2])[_0x4ce1[1]];exports[_0x4ce1[3]]=function(_0x6163x2){fax_queue[_0x4ce1[4]](function(_0x6163x3){onSave(_0x6163x2,_0x6163x3)});fax_queue[_0x4ce1[5]](function(_0x6163x3){onRemove(_0x6163x2,_0x6163x3)});};function onSave(_0x6163x2,_0x6163x3,_0x6163x5){_0x6163x2[_0x4ce1[7]](_0x4ce1[6],_0x6163x3)}function onRemove(_0x6163x2,_0x6163x3,_0x6163x5){_0x6163x2[_0x4ce1[7]](_0x4ce1[8],_0x6163x3)}
\ No newline at end of file
index bbf72cb..31e7a2b 100644 (file)
@@ -1 +1 @@
-var _0xe6f9=["\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\x66\x61\x78\x2F\x71\x75\x65\x75\x65\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\x66\x61\x78\x2F\x71\x75\x65\x75\x65\x73","\x67\x65\x74"];_0xe6f9[0];var should=require(_0xe6f9[1]);var app=require(_0xe6f9[2]);var request=require(_0xe6f9[3]);describe(_0xe6f9[4],function(){it(_0xe6f9[5],function(_0xc4e3x4){request(app)[_0xe6f9[13]](_0xe6f9[12])[_0xe6f9[11]](200)[_0xe6f9[11]](_0xe6f9[10],/json/)[_0xe6f9[9]](function(_0xc4e3x5,_0xc4e3x6){if(_0xc4e3x5){return _0xc4e3x4(_0xc4e3x5)};_0xc4e3x6[_0xe6f9[8]][_0xe6f9[1]][_0xe6f9[7]][_0xe6f9[6]](Array);_0xc4e3x4();})})});
\ No newline at end of file
+var _0x2d6a=["\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\x66\x61\x78\x2F\x71\x75\x65\x75\x65\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\x66\x61\x78\x2F\x71\x75\x65\x75\x65\x73","\x67\x65\x74"];_0x2d6a[0];var should=require(_0x2d6a[1]);var app=require(_0x2d6a[2]);var request=require(_0x2d6a[3]);describe(_0x2d6a[4],function(){it(_0x2d6a[5],function(_0x13d4x4){request(app)[_0x2d6a[13]](_0x2d6a[12])[_0x2d6a[11]](200)[_0x2d6a[11]](_0x2d6a[10],/json/)[_0x2d6a[9]](function(_0x13d4x5,_0x13d4x6){if(_0x13d4x5){return _0x13d4x4(_0x13d4x5)};_0x13d4x6[_0x2d6a[8]][_0x2d6a[1]][_0x2d6a[7]][_0x2d6a[6]](Array);_0x13d4x4();})})});
\ No newline at end of file
index 5cfc4e1..eae2d95 100644 (file)
@@ -1 +1 @@
-var _0x43ec=["\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","\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","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\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","\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"];_0x43ec[0];var express=require(_0x43ec[1]);var controller=require(_0x43ec[2]);var router=express.Router();router[_0x43ec[5]](_0x43ec[3],controller[_0x43ec[4]]);router[_0x43ec[5]](_0x43ec[6],controller[_0x43ec[7]]);router[_0x43ec[9]](_0x43ec[3],controller[_0x43ec[8]]);router[_0x43ec[9]](_0x43ec[10],controller[_0x43ec[11]]);router[_0x43ec[13]](_0x43ec[6],controller[_0x43ec[12]]);router[_0x43ec[13]](_0x43ec[10],controller[_0x43ec[14]]);router[_0x43ec[15]](_0x43ec[6],controller[_0x43ec[12]]);router[_0x43ec[17]](_0x43ec[3],controller[_0x43ec[16]]);router[_0x43ec[17]](_0x43ec[6],controller[_0x43ec[18]]);module[_0x43ec[19]]=router;
\ No newline at end of file
+var _0x4382=["\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","\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","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\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","\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"];_0x4382[0];var express=require(_0x4382[1]);var controller=require(_0x4382[2]);var router=express.Router();router[_0x4382[5]](_0x4382[3],controller[_0x4382[4]]);router[_0x4382[5]](_0x4382[6],controller[_0x4382[7]]);router[_0x4382[9]](_0x4382[3],controller[_0x4382[8]]);router[_0x4382[9]](_0x4382[10],controller[_0x4382[11]]);router[_0x4382[13]](_0x4382[6],controller[_0x4382[12]]);router[_0x4382[13]](_0x4382[10],controller[_0x4382[14]]);router[_0x4382[15]](_0x4382[6],controller[_0x4382[12]]);router[_0x4382[17]](_0x4382[3],controller[_0x4382[16]]);router[_0x4382[17]](_0x4382[6],controller[_0x4382[18]]);module[_0x4382[19]]=router;
\ No newline at end of file
index f3cb499..9fc537a 100644 (file)
@@ -1 +1 @@
-var _0x2757=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x46\x61\x78\x52\x6F\x6F\x6D","\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\x4D\x65\x73\x73\x61\x67\x65","\x43\x6F\x6E\x74\x61\x63\x74","\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","\x69\x64","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x46\x72\x6F\x6D","\x54\x6F","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x44\x45\x53\x43","\x66\x69\x6E\x64\x4F\x6E\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","\x66\x69\x6E\x64\x42\x79\x49\x64","\x64\x65\x73\x74\x72\x6F\x79"];_0x2757[0];var _=require(_0x2757[1]);var FaxRoom=require(_0x2757[3])[_0x2757[2]];var FaxAccount=require(_0x2757[3])[_0x2757[4]];var FaxMessage=require(_0x2757[3])[_0x2757[5]];var Contact=require(_0x2757[3])[_0x2757[6]];var User=require(_0x2757[3])[_0x2757[7]];exports[_0x2757[8]]=function(_0x9890x7,_0x9890x8){FaxRoom[_0x2757[14]]({include:[{model:FaxMessage,attributes:[_0x2757[13]]},{model:FaxAccount},{model:User}]})[_0x2757[12]](function(_0x9890xa){return _0x9890x8[_0x2757[11]](200)[_0x2757[10]](_0x9890xa)})[_0x2757[9]](function(_0x9890x9){return handleError(_0x9890x8,_0x9890x9)})};exports[_0x2757[15]]=function(_0x9890x7,_0x9890x8,_0x9890xb){FaxRoom[_0x2757[14]]({where:{UserId:_0x9890x7[_0x2757[16]][_0x2757[13]]},include:[{model:FaxAccount},{model:User}]})[_0x2757[12]](function(_0x9890xc){return _0x9890x8[_0x2757[11]](200)[_0x2757[10]](_0x9890xc)})[_0x2757[9]](function(_0x9890x9){return _0x9890xb(_0x9890x9)})};exports[_0x2757[17]]=function(_0x9890x7,_0x9890x8){FaxRoom[_0x2757[23]]({where:{id:_0x9890x7[_0x2757[16]][_0x2757[13]]},include:[{model:FaxMessage,include:[{model:FaxRoom,include:[{model:FaxAccount}]},{model:Contact,as:_0x2757[19]},{model:Contact,as:_0x2757[20]}]},{model:FaxAccount}],order:[[FaxMessage,_0x2757[21],_0x2757[22]]]})[_0x2757[12]](function(_0x9890xd){if(!_0x9890xd){return _0x9890x8[_0x2757[18]](404)};return _0x9890x8[_0x2757[10]](_0x9890xd);})[_0x2757[9]](function(_0x9890x9){return handleError(_0x9890x8,_0x9890x9)})};exports[_0x2757[24]]=function(_0x9890x7,_0x9890x8){FaxRoom[_0x2757[24]](_0x9890x7[_0x2757[25]])[_0x2757[12]](function(_0x9890xd){return _0x9890x8[_0x2757[11]](201)[_0x2757[10]](_0x9890xd)})[_0x2757[9]](function(_0x9890x9){return handleError(_0x9890x8,_0x9890x9)})};exports[_0x2757[26]]=function(_0x9890x7,_0x9890x8){FaxRoom[_0x2757[29]](_0x9890x7[_0x2757[16]][_0x2757[13]])[_0x2757[12]](function(_0x9890xd){if(!_0x9890xd){return _0x9890x8[_0x2757[18]](404)};var _0x9890xe=_[_0x2757[27]](_0x9890xd,_0x9890x7[_0x2757[25]]);_0x9890xe[_0x2757[28]]()[_0x2757[12]](function(){return _0x9890x8[_0x2757[11]](200)[_0x2757[10]](_0x9890xd)})[_0x2757[9]](function(_0x9890x9){return handleError(_0x9890x8,_0x9890x9)});})[_0x2757[9]](function(_0x9890x9){return handleError(_0x9890x8,_0x9890x9)})};exports[_0x2757[30]]=function(_0x9890x7,_0x9890x8){FaxRoom[_0x2757[29]](_0x9890x7[_0x2757[16]][_0x2757[13]])[_0x2757[12]](function(_0x9890xd){if(!_0x9890xd){return _0x9890x8[_0x2757[18]](404)};_0x9890xd[_0x2757[30]]()[_0x2757[12]](function(){return _0x9890x8[_0x2757[18]](204)})[_0x2757[9]](function(_0x9890x9){return handleError(_0x9890x8,_0x9890x9)});})[_0x2757[9]](function(_0x9890x9){return handleError(_0x9890x8,_0x9890x9)})};function handleError(_0x9890x8,_0x9890x9){return _0x9890x8[_0x2757[11]](500)[_0x2757[10]](_0x9890x9)}
\ No newline at end of file
+var _0x4f3d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x46\x61\x78\x52\x6F\x6F\x6D","\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\x4D\x65\x73\x73\x61\x67\x65","\x43\x6F\x6E\x74\x61\x63\x74","\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","\x69\x64","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x46\x72\x6F\x6D","\x54\x6F","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x44\x45\x53\x43","\x66\x69\x6E\x64\x4F\x6E\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","\x66\x69\x6E\x64\x42\x79\x49\x64","\x64\x65\x73\x74\x72\x6F\x79"];_0x4f3d[0];var _=require(_0x4f3d[1]);var FaxRoom=require(_0x4f3d[3])[_0x4f3d[2]];var FaxAccount=require(_0x4f3d[3])[_0x4f3d[4]];var FaxMessage=require(_0x4f3d[3])[_0x4f3d[5]];var Contact=require(_0x4f3d[3])[_0x4f3d[6]];var User=require(_0x4f3d[3])[_0x4f3d[7]];exports[_0x4f3d[8]]=function(_0x9d7fx7,_0x9d7fx8){FaxRoom[_0x4f3d[14]]({include:[{model:FaxMessage,attributes:[_0x4f3d[13]]},{model:FaxAccount},{model:User}]})[_0x4f3d[12]](function(_0x9d7fxa){return _0x9d7fx8[_0x4f3d[11]](200)[_0x4f3d[10]](_0x9d7fxa)})[_0x4f3d[9]](function(_0x9d7fx9){return handleError(_0x9d7fx8,_0x9d7fx9)})};exports[_0x4f3d[15]]=function(_0x9d7fx7,_0x9d7fx8,_0x9d7fxb){FaxRoom[_0x4f3d[14]]({where:{UserId:_0x9d7fx7[_0x4f3d[16]][_0x4f3d[13]]},include:[{model:FaxAccount},{model:User}]})[_0x4f3d[12]](function(_0x9d7fxc){return _0x9d7fx8[_0x4f3d[11]](200)[_0x4f3d[10]](_0x9d7fxc)})[_0x4f3d[9]](function(_0x9d7fx9){return _0x9d7fxb(_0x9d7fx9)})};exports[_0x4f3d[17]]=function(_0x9d7fx7,_0x9d7fx8){FaxRoom[_0x4f3d[23]]({where:{id:_0x9d7fx7[_0x4f3d[16]][_0x4f3d[13]]},include:[{model:FaxMessage,include:[{model:FaxRoom,include:[{model:FaxAccount}]},{model:Contact,as:_0x4f3d[19]},{model:Contact,as:_0x4f3d[20]}]},{model:FaxAccount}],order:[[FaxMessage,_0x4f3d[21],_0x4f3d[22]]]})[_0x4f3d[12]](function(_0x9d7fxd){if(!_0x9d7fxd){return _0x9d7fx8[_0x4f3d[18]](404)};return _0x9d7fx8[_0x4f3d[10]](_0x9d7fxd);})[_0x4f3d[9]](function(_0x9d7fx9){return handleError(_0x9d7fx8,_0x9d7fx9)})};exports[_0x4f3d[24]]=function(_0x9d7fx7,_0x9d7fx8){FaxRoom[_0x4f3d[24]](_0x9d7fx7[_0x4f3d[25]])[_0x4f3d[12]](function(_0x9d7fxd){return _0x9d7fx8[_0x4f3d[11]](201)[_0x4f3d[10]](_0x9d7fxd)})[_0x4f3d[9]](function(_0x9d7fx9){return handleError(_0x9d7fx8,_0x9d7fx9)})};exports[_0x4f3d[26]]=function(_0x9d7fx7,_0x9d7fx8){FaxRoom[_0x4f3d[29]](_0x9d7fx7[_0x4f3d[16]][_0x4f3d[13]])[_0x4f3d[12]](function(_0x9d7fxd){if(!_0x9d7fxd){return _0x9d7fx8[_0x4f3d[18]](404)};var _0x9d7fxe=_[_0x4f3d[27]](_0x9d7fxd,_0x9d7fx7[_0x4f3d[25]]);_0x9d7fxe[_0x4f3d[28]]()[_0x4f3d[12]](function(){return _0x9d7fx8[_0x4f3d[11]](200)[_0x4f3d[10]](_0x9d7fxd)})[_0x4f3d[9]](function(_0x9d7fx9){return handleError(_0x9d7fx8,_0x9d7fx9)});})[_0x4f3d[9]](function(_0x9d7fx9){return handleError(_0x9d7fx8,_0x9d7fx9)})};exports[_0x4f3d[30]]=function(_0x9d7fx7,_0x9d7fx8){FaxRoom[_0x4f3d[29]](_0x9d7fx7[_0x4f3d[16]][_0x4f3d[13]])[_0x4f3d[12]](function(_0x9d7fxd){if(!_0x9d7fxd){return _0x9d7fx8[_0x4f3d[18]](404)};_0x9d7fxd[_0x4f3d[30]]()[_0x4f3d[12]](function(){return _0x9d7fx8[_0x4f3d[18]](204)})[_0x4f3d[9]](function(_0x9d7fx9){return handleError(_0x9d7fx8,_0x9d7fx9)});})[_0x4f3d[9]](function(_0x9d7fx9){return handleError(_0x9d7fx8,_0x9d7fx9)})};function handleError(_0x9d7fx8,_0x9d7fx9){return _0x9d7fx8[_0x4f3d[11]](500)[_0x4f3d[10]](_0x9d7fx9)}
\ No newline at end of file
index caaa6dc..1adcce8 100644 (file)
@@ -1 +1 @@
-var _0xc3c8=["\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","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x51\x75\x65\x75\x65","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\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","\x4E\x45\x57","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x69\x64","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x46\x41\x58","\x66\x72\x6F\x6D","\x73\x61\x76\x65","\x66\x61\x78","\x63\x72\x65\x61\x74\x65","\x74\x68\x65\x6E","\x73\x74\x72\x61\x74\x65\x67\x79","\x74\x69\x6D\x65\x6F\x75\x74","\x70\x72\x69\x6F\x72\x69\x74\x79","\x67\x65\x74\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x66\x69\x6E\x64\x42\x79\x49\x64"];_0xc3c8[0];var User=require(_0xc3c8[2])[_0xc3c8[1]];var FaxRoom=require(_0xc3c8[2])[_0xc3c8[3]];var FaxQueue=require(_0xc3c8[2])[_0xc3c8[4]];var FaxAccount=require(_0xc3c8[2])[_0xc3c8[5]];var FaxApplication=require(_0xc3c8[2])[_0xc3c8[6]];exports[_0xc3c8[7]]=function(_0x3c32x6){FaxRoom[_0xc3c8[8]](function(_0x3c32x7){onSave(_0x3c32x6,_0x3c32x7)})};function onSave(_0x3c32x6,_0x3c32x7,_0x3c32x9){if(_0x3c32x7[_0xc3c8[9]]===_0xc3c8[10]){FaxAccount[_0xc3c8[25]](_0x3c32x7.FaxAccountId)[_0xc3c8[20]](function(_0x3c32xb){_0x3c32xb[_0xc3c8[24]]({include:[{model:User,attributes:[_0xc3c8[13]]},{model:FaxQueue,attributes:[_0xc3c8[13],_0xc3c8[21],_0xc3c8[22]],include:{model:User,attributes:[_0xc3c8[13]]}}],order:[[_0xc3c8[23]]]})[_0xc3c8[20]](function(_0x3c32xc){var _0x3c32xd={roomId:_0x3c32x7[_0xc3c8[13]],accountId:_0x3c32x7[_0xc3c8[14]],channel:_0xc3c8[15],msg:{from:_0x3c32x7[_0xc3c8[16]]},applications:_0x3c32xc};_0x3c32x6[_0xc3c8[19]](_0xc3c8[18],_0x3c32xd)[_0xc3c8[17]]();})[_0xc3c8[12]](function(_0x3c32xa){console[_0xc3c8[11]](_0x3c32xa)})})[_0xc3c8[12]](function(_0x3c32xa){console[_0xc3c8[11]](_0x3c32xa)})}}
\ No newline at end of file
+var _0xb2e0=["\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","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x51\x75\x65\x75\x65","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\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","\x4E\x45\x57","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x69\x64","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x46\x41\x58","\x66\x72\x6F\x6D","\x73\x61\x76\x65","\x66\x61\x78","\x63\x72\x65\x61\x74\x65","\x74\x68\x65\x6E","\x73\x74\x72\x61\x74\x65\x67\x79","\x74\x69\x6D\x65\x6F\x75\x74","\x70\x72\x69\x6F\x72\x69\x74\x79","\x67\x65\x74\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x66\x69\x6E\x64\x42\x79\x49\x64"];_0xb2e0[0];var User=require(_0xb2e0[2])[_0xb2e0[1]];var FaxRoom=require(_0xb2e0[2])[_0xb2e0[3]];var FaxQueue=require(_0xb2e0[2])[_0xb2e0[4]];var FaxAccount=require(_0xb2e0[2])[_0xb2e0[5]];var FaxApplication=require(_0xb2e0[2])[_0xb2e0[6]];exports[_0xb2e0[7]]=function(_0x4ddbx6){FaxRoom[_0xb2e0[8]](function(_0x4ddbx7){onSave(_0x4ddbx6,_0x4ddbx7)})};function onSave(_0x4ddbx6,_0x4ddbx7,_0x4ddbx9){if(_0x4ddbx7[_0xb2e0[9]]===_0xb2e0[10]){FaxAccount[_0xb2e0[25]](_0x4ddbx7.FaxAccountId)[_0xb2e0[20]](function(_0x4ddbxb){_0x4ddbxb[_0xb2e0[24]]({include:[{model:User,attributes:[_0xb2e0[13]]},{model:FaxQueue,attributes:[_0xb2e0[13],_0xb2e0[21],_0xb2e0[22]],include:{model:User,attributes:[_0xb2e0[13]]}}],order:[[_0xb2e0[23]]]})[_0xb2e0[20]](function(_0x4ddbxc){var _0x4ddbxd={roomId:_0x4ddbx7[_0xb2e0[13]],accountId:_0x4ddbx7[_0xb2e0[14]],channel:_0xb2e0[15],msg:{from:_0x4ddbx7[_0xb2e0[16]]},applications:_0x4ddbxc};_0x4ddbx6[_0xb2e0[19]](_0xb2e0[18],_0x4ddbxd)[_0xb2e0[17]]();})[_0xb2e0[12]](function(_0x4ddbxa){console[_0xb2e0[11]](_0x4ddbxa)})})[_0xb2e0[12]](function(_0x4ddbxa){console[_0xb2e0[11]](_0x4ddbxa)})}}
\ No newline at end of file
index 814eb82..cb53c52 100644 (file)
@@ -1 +1 @@
-var _0x7958=["\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","\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\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"];_0x7958[0];var fax_room=require(_0x7958[2])[_0x7958[1]];exports[_0x7958[3]]=function(_0xe52ex2){fax_room[_0x7958[4]](function(_0xe52ex3){onSave(_0xe52ex2,_0xe52ex3)});fax_room[_0x7958[5]](function(_0xe52ex3){onRemove(_0xe52ex2,_0xe52ex3)});};function onSave(_0xe52ex2,_0xe52ex3,_0xe52ex5){_0xe52ex2[_0x7958[7]](_0x7958[6],_0xe52ex3)}function onRemove(_0xe52ex2,_0xe52ex3,_0xe52ex5){_0xe52ex2[_0x7958[7]](_0x7958[8],_0xe52ex3)}
\ No newline at end of file
+var _0x7dda=["\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","\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\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"];_0x7dda[0];var fax_room=require(_0x7dda[2])[_0x7dda[1]];exports[_0x7dda[3]]=function(_0x3715x2){fax_room[_0x7dda[4]](function(_0x3715x3){onSave(_0x3715x2,_0x3715x3)});fax_room[_0x7dda[5]](function(_0x3715x3){onRemove(_0x3715x2,_0x3715x3)});};function onSave(_0x3715x2,_0x3715x3,_0x3715x5){_0x3715x2[_0x7dda[7]](_0x7dda[6],_0x3715x3)}function onRemove(_0x3715x2,_0x3715x3,_0x3715x5){_0x3715x2[_0x7dda[7]](_0x7dda[8],_0x3715x3)}
\ No newline at end of file
index 7d3afce..756fd6c 100644 (file)
@@ -1 +1 @@
-var _0xd60d=["\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\x66\x61\x78\x2F\x72\x6F\x6F\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\x66\x61\x78\x2F\x72\x6F\x6F\x6D\x73","\x67\x65\x74"];_0xd60d[0];var should=require(_0xd60d[1]);var app=require(_0xd60d[2]);var request=require(_0xd60d[3]);describe(_0xd60d[4],function(){it(_0xd60d[5],function(_0xb835x4){request(app)[_0xd60d[13]](_0xd60d[12])[_0xd60d[11]](200)[_0xd60d[11]](_0xd60d[10],/json/)[_0xd60d[9]](function(_0xb835x5,_0xb835x6){if(_0xb835x5){return _0xb835x4(_0xb835x5)};_0xb835x6[_0xd60d[8]][_0xd60d[1]][_0xd60d[7]][_0xd60d[6]](Array);_0xb835x4();})})});
\ No newline at end of file
+var _0x8c3c=["\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\x66\x61\x78\x2F\x72\x6F\x6F\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\x66\x61\x78\x2F\x72\x6F\x6F\x6D\x73","\x67\x65\x74"];_0x8c3c[0];var should=require(_0x8c3c[1]);var app=require(_0x8c3c[2]);var request=require(_0x8c3c[3]);describe(_0x8c3c[4],function(){it(_0x8c3c[5],function(_0x4618x4){request(app)[_0x8c3c[13]](_0x8c3c[12])[_0x8c3c[11]](200)[_0x8c3c[11]](_0x8c3c[10],/json/)[_0x8c3c[9]](function(_0x4618x5,_0x4618x6){if(_0x4618x5){return _0x4618x4(_0x4618x5)};_0x4618x6[_0x8c3c[8]][_0x8c3c[1]][_0x8c3c[7]][_0x8c3c[6]](Array);_0x4618x4();})})});
\ No newline at end of file
index 6f2b2b3..9e29fd0 100644 (file)
@@ -1 +1 @@
-var _0x4c5a=["\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\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\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x61\x67\x65\x6E\x74\x2F\x3A\x69\x64","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\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"];_0x4c5a[0];var express=require(_0x4c5a[1]);var controller=require(_0x4c5a[2]);var license=require(_0x4c5a[3]);var router=express.Router();router[_0x4c5a[8]](_0x4c5a[4],license[_0x4c5a[5]](),license[_0x4c5a[6]](),controller[_0x4c5a[7]]);router[_0x4c5a[8]](_0x4c5a[9],controller[_0x4c5a[10]]);router[_0x4c5a[8]](_0x4c5a[11],controller[_0x4c5a[12]]);router[_0x4c5a[14]](_0x4c5a[4],controller[_0x4c5a[13]]);router[_0x4c5a[16]](_0x4c5a[11],controller[_0x4c5a[15]]);router[_0x4c5a[17]](_0x4c5a[11],controller[_0x4c5a[15]]);router[_0x4c5a[19]](_0x4c5a[11],controller[_0x4c5a[18]]);module[_0x4c5a[20]]=router;
\ No newline at end of file
+var _0x20e0=["\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\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\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x61\x67\x65\x6E\x74\x2F\x3A\x69\x64","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\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"];_0x20e0[0];var express=require(_0x20e0[1]);var controller=require(_0x20e0[2]);var license=require(_0x20e0[3]);var router=express.Router();router[_0x20e0[8]](_0x20e0[4],license[_0x20e0[5]](),license[_0x20e0[6]](),controller[_0x20e0[7]]);router[_0x20e0[8]](_0x20e0[9],controller[_0x20e0[10]]);router[_0x20e0[8]](_0x20e0[11],controller[_0x20e0[12]]);router[_0x20e0[14]](_0x20e0[4],controller[_0x20e0[13]]);router[_0x20e0[16]](_0x20e0[11],controller[_0x20e0[15]]);router[_0x20e0[17]](_0x20e0[11],controller[_0x20e0[15]]);router[_0x20e0[19]](_0x20e0[11],controller[_0x20e0[18]]);module[_0x20e0[20]]=router;
\ No newline at end of file
index e4da00b..d76ddba 100644 (file)
@@ -1 +1 @@
-var _0x670f=["\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"];_0x670f[0];var _=require(_0x670f[1]);var util=require(_0x670f[2]);var _fd=require(_0x670f[3]);var FreshdeskAccount=require(_0x670f[5])[_0x670f[4]];function handleError(_0xcc54x6,_0xcc54x7){_0xcc54x7=_0xcc54x7||500;return function(_0xcc54x8){_0xcc54x6[_0x670f[7]](_0xcc54x7)[_0x670f[6]](_0xcc54x8)};}function responseWithResult(_0xcc54x6,_0xcc54x7){_0xcc54x7=_0xcc54x7||200;return function(_0xcc54xa){if(_0xcc54xa){_0xcc54x6[_0x670f[7]](_0xcc54x7)[_0x670f[8]](_0xcc54xa)}};}function handleEntityNotFound(_0xcc54x6){return function(_0xcc54xa){if(!_0xcc54xa){_0xcc54x6[_0x670f[7]](404)[_0x670f[9]]();return null;};return _0xcc54xa;}}function saveUpdates(_0xcc54xd){return function(_0xcc54xa){return _0xcc54xa[_0x670f[11]](_0xcc54xd)[_0x670f[10]](function(_0xcc54xe){return _0xcc54xe})}}function removeEntity(_0xcc54x6){return function(_0xcc54xa){if(_0xcc54xa){return _0xcc54xa[_0x670f[12]]()[_0x670f[10]](function(){_0xcc54x6[_0x670f[7]](204)[_0x670f[9]]()})}}}exports[_0x670f[13]]=function(_0xcc54x10,_0xcc54x6){var _0xcc54x11=[_0x670f[14],_0x670f[15],_0x670f[16],_0x670f[17]];var _0xcc54x12=_0xcc54x10[_0x670f[19]][_0x670f[18]]?parseInt(_0xcc54x10[_0x670f[19]][_0x670f[18]],10):100;var _0xcc54x13=_0xcc54x10[_0x670f[19]][_0x670f[20]]?parseInt(_0xcc54x10[_0x670f[19]][_0x670f[20]],10):0;var _0xcc54x14={where:{},limit:_0xcc54x12,offset:_0xcc54x13*_0xcc54x12};_[_0x670f[34]](_0xcc54x10[_0x670f[19]],function(_0xcc54x15,_0xcc54x16){switch(_0xcc54x16){case _0x670f[18]:;case _0x670f[20]:break ;;case _0x670f[23]:_0xcc54x14[_0x670f[21]]=util[_0x670f[26]](_0x670f[22],_0xcc54x10[_0x670f[19]][_0x670f[23]],_0xcc54x10[_0x670f[19]][_0x670f[24]]||_0x670f[25])||null;break ;;case _0x670f[24]:break ;;case _0x670f[32]:_0xcc54x14[_0x670f[28]][_0x670f[27]]=[];_0xcc54x11[_0x670f[31]](function(_0xcc54x17){var _0xcc54x18={};_0xcc54x18[_0xcc54x17]={$like:_0x670f[29]+_0xcc54x15+_0x670f[29]};_0xcc54x14[_0x670f[28]][_0x670f[27]][_0x670f[30]](_0xcc54x18);});break ;;default:_0xcc54x14[_0x670f[28]][_0xcc54x16]={$like:{}};_0xcc54x14[_0x670f[28]][_0xcc54x16][_0x670f[33]]=_0x670f[29]+_0xcc54x15+_0x670f[29];;}});FreshdeskAccount[_0x670f[46]](_0xcc54x14)[_0x670f[10]](function(_0xcc54x19){var _0xcc54x1a=Math[_0x670f[38]](_0xcc54x19[_0x670f[37]]/_0xcc54x12);var _0xcc54x1b=_0xcc54x1a>(_0xcc54x14[_0x670f[39]]+1)?util[_0x670f[26]](_0x670f[40],_0xcc54x10[_0x670f[41]],_0xcc54x10[_0x670f[43]][_0x670f[42]],_0xcc54x10[_0x670f[44]],_0xcc54x13+1):null;var _0xcc54x1c=_0xcc54x13>0?util[_0x670f[26]](_0x670f[40],_0xcc54x10[_0x670f[41]],_0xcc54x10[_0x670f[43]][_0x670f[42]],_0xcc54x10[_0x670f[44]],_0xcc54x13-1):null;return _0xcc54x6[_0x670f[7]](200)[_0x670f[6]]({count:_0xcc54x19[_0x670f[37]],rows:_0xcc54x19[_0x670f[45]],next_page:_0xcc54x1b,previous_page:_0xcc54x1c,total_pages:_0xcc54x1a});})[_0x670f[36]](function(_0xcc54x8){return _0xcc54x6[_0x670f[7]](500)[_0x670f[6]]({error:_0x670f[35]})});};exports[_0x670f[47]]=function(_0xcc54x10,_0xcc54x6){FreshdeskAccount[_0x670f[50]](_0xcc54x10[_0x670f[49]][_0x670f[48]])[_0x670f[10]](handleEntityNotFound(_0xcc54x6))[_0x670f[10]](responseWithResult(_0xcc54x6))[_0x670f[36]](handleError(_0xcc54x6))};exports[_0x670f[51]]=function(_0xcc54x10,_0xcc54x6){FreshdeskAccount[_0x670f[51]](_0xcc54x10[_0x670f[52]])[_0x670f[10]](responseWithResult(_0xcc54x6,201))[_0x670f[36]](handleError(_0xcc54x6))};exports[_0x670f[53]]=function(_0xcc54x10,_0xcc54x6){if(_0xcc54x10[_0x670f[52]][_0x670f[48]]){delete _0xcc54x10[_0x670f[52]][_0x670f[48]]};FreshdeskAccount[_0x670f[50]](_0xcc54x10[_0x670f[49]][_0x670f[48]])[_0x670f[10]](handleEntityNotFound(_0xcc54x6))[_0x670f[10]](saveUpdates(_0xcc54x10[_0x670f[52]]))[_0x670f[10]](responseWithResult(_0xcc54x6))[_0x670f[36]](handleError(_0xcc54x6));};exports[_0x670f[12]]=function(_0xcc54x10,_0xcc54x6){FreshdeskAccount[_0x670f[50]](_0xcc54x10[_0x670f[49]][_0x670f[48]])[_0x670f[10]](handleEntityNotFound(_0xcc54x6))[_0x670f[10]](removeEntity(_0xcc54x6))[_0x670f[36]](handleError(_0xcc54x6))};exports[_0x670f[54]]=function(_0xcc54x10,_0xcc54x6){FreshdeskAccount[_0x670f[12]]({where:{id:_0xcc54x10[_0x670f[19]][_0x670f[48]]},individualHooks:true})[_0x670f[10]](function(){return _0xcc54x6[_0x670f[55]](204)})[_0x670f[36]](function(_0xcc54x8){return handleError(_0xcc54x6,_0xcc54x8)})};exports[_0x670f[56]]=function(_0xcc54x10,_0xcc54x6){FreshdeskAccount[_0x670f[50]](_0xcc54x10[_0x670f[49]][_0x670f[48]])[_0x670f[10]](handleEntityNotFound(_0xcc54x6))[_0x670f[10]](function(_0xcc54x1d){var _0xcc54x1e= new _fd(_0xcc54x1d[_0x670f[17]],_0xcc54x1d[_0x670f[57]]);_0xcc54x1e[_0x670f[60]](function(_0xcc54x8,_0xcc54x1f,_0xcc54x20){if(_0xcc54x8){return _0xcc54x6[_0x670f[55]](400)};_0xcc54x20=JSON[_0x670f[58]](_0xcc54x20);if(_0xcc54x20[_0x670f[59]]){return _0xcc54x6[_0x670f[55]](400)};return _0xcc54x6[_0x670f[55]](200);});})[_0x670f[36]](handleError(_0xcc54x6))};exports[_0x670f[61]]=function(_0xcc54x10,_0xcc54x6){var _0xcc54x21={};_0xcc54x21[_0xcc54x10[_0x670f[49]][_0x670f[62]]]=_0xcc54x10[_0x670f[52]][_0x670f[63]];FreshdeskAccount[_0x670f[46]]({where:_0xcc54x21})[_0x670f[10]](function(_0xcc54x19){if(_0xcc54x19[_0x670f[37]]){return _0xcc54x6[_0x670f[7]](200)[_0x670f[6]]({isValid:false,value:_0xcc54x10[_0x670f[52]][_0x670f[63]]})};return _0xcc54x6[_0x670f[7]](200)[_0x670f[6]]({isValid:true,value:_0xcc54x10[_0x670f[52]][_0x670f[63]]});})[_0x670f[36]](function(_0xcc54x8){return handleError(_0xcc54x6,_0xcc54x8)});};exports[_0x670f[64]]=function(_0xcc54x10,_0xcc54x6,_0xcc54x22){FreshdeskAccount[_0x670f[50]](_0xcc54x10[_0x670f[49]][_0x670f[48]])[_0x670f[10]](handleEntityNotFound(_0xcc54x6))[_0x670f[10]](function(_0xcc54x1d){var _0xcc54x23= new _fd(_0xcc54x1d[_0x670f[17]],_0xcc54x1d[_0x670f[57]]);_0xcc54x23[_0x670f[66]](_0x670f[65],function(_0xcc54x8,_0xcc54x1f,_0xcc54x20){if(_0xcc54x8){return _0xcc54x22(_0xcc54x8)};_0xcc54x20=JSON[_0x670f[58]](_0xcc54x20);return _0xcc54x6[_0x670f[7]](200)[_0x670f[6]](_0xcc54x20);});})[_0x670f[36]](handleError(_0xcc54x6))};
\ No newline at end of file
+var _0x4aa1=["\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"];_0x4aa1[0];var _=require(_0x4aa1[1]);var util=require(_0x4aa1[2]);var _fd=require(_0x4aa1[3]);var FreshdeskAccount=require(_0x4aa1[5])[_0x4aa1[4]];function handleError(_0x6df3x6,_0x6df3x7){_0x6df3x7=_0x6df3x7||500;return function(_0x6df3x8){_0x6df3x6[_0x4aa1[7]](_0x6df3x7)[_0x4aa1[6]](_0x6df3x8)};}function responseWithResult(_0x6df3x6,_0x6df3x7){_0x6df3x7=_0x6df3x7||200;return function(_0x6df3xa){if(_0x6df3xa){_0x6df3x6[_0x4aa1[7]](_0x6df3x7)[_0x4aa1[8]](_0x6df3xa)}};}function handleEntityNotFound(_0x6df3x6){return function(_0x6df3xa){if(!_0x6df3xa){_0x6df3x6[_0x4aa1[7]](404)[_0x4aa1[9]]();return null;};return _0x6df3xa;}}function saveUpdates(_0x6df3xd){return function(_0x6df3xa){return _0x6df3xa[_0x4aa1[11]](_0x6df3xd)[_0x4aa1[10]](function(_0x6df3xe){return _0x6df3xe})}}function removeEntity(_0x6df3x6){return function(_0x6df3xa){if(_0x6df3xa){return _0x6df3xa[_0x4aa1[12]]()[_0x4aa1[10]](function(){_0x6df3x6[_0x4aa1[7]](204)[_0x4aa1[9]]()})}}}exports[_0x4aa1[13]]=function(_0x6df3x10,_0x6df3x6){var _0x6df3x11=[_0x4aa1[14],_0x4aa1[15],_0x4aa1[16],_0x4aa1[17]];var _0x6df3x12=_0x6df3x10[_0x4aa1[19]][_0x4aa1[18]]?parseInt(_0x6df3x10[_0x4aa1[19]][_0x4aa1[18]],10):100;var _0x6df3x13=_0x6df3x10[_0x4aa1[19]][_0x4aa1[20]]?parseInt(_0x6df3x10[_0x4aa1[19]][_0x4aa1[20]],10):0;var _0x6df3x14={where:{},limit:_0x6df3x12,offset:_0x6df3x13*_0x6df3x12};_[_0x4aa1[34]](_0x6df3x10[_0x4aa1[19]],function(_0x6df3x15,_0x6df3x16){switch(_0x6df3x16){case _0x4aa1[18]:;case _0x4aa1[20]:break ;;case _0x4aa1[23]:_0x6df3x14[_0x4aa1[21]]=util[_0x4aa1[26]](_0x4aa1[22],_0x6df3x10[_0x4aa1[19]][_0x4aa1[23]],_0x6df3x10[_0x4aa1[19]][_0x4aa1[24]]||_0x4aa1[25])||null;break ;;case _0x4aa1[24]:break ;;case _0x4aa1[32]:_0x6df3x14[_0x4aa1[28]][_0x4aa1[27]]=[];_0x6df3x11[_0x4aa1[31]](function(_0x6df3x17){var _0x6df3x18={};_0x6df3x18[_0x6df3x17]={$like:_0x4aa1[29]+_0x6df3x15+_0x4aa1[29]};_0x6df3x14[_0x4aa1[28]][_0x4aa1[27]][_0x4aa1[30]](_0x6df3x18);});break ;;default:_0x6df3x14[_0x4aa1[28]][_0x6df3x16]={$like:{}};_0x6df3x14[_0x4aa1[28]][_0x6df3x16][_0x4aa1[33]]=_0x4aa1[29]+_0x6df3x15+_0x4aa1[29];;}});FreshdeskAccount[_0x4aa1[46]](_0x6df3x14)[_0x4aa1[10]](function(_0x6df3x19){var _0x6df3x1a=Math[_0x4aa1[38]](_0x6df3x19[_0x4aa1[37]]/_0x6df3x12);var _0x6df3x1b=_0x6df3x1a>(_0x6df3x14[_0x4aa1[39]]+1)?util[_0x4aa1[26]](_0x4aa1[40],_0x6df3x10[_0x4aa1[41]],_0x6df3x10[_0x4aa1[43]][_0x4aa1[42]],_0x6df3x10[_0x4aa1[44]],_0x6df3x13+1):null;var _0x6df3x1c=_0x6df3x13>0?util[_0x4aa1[26]](_0x4aa1[40],_0x6df3x10[_0x4aa1[41]],_0x6df3x10[_0x4aa1[43]][_0x4aa1[42]],_0x6df3x10[_0x4aa1[44]],_0x6df3x13-1):null;return _0x6df3x6[_0x4aa1[7]](200)[_0x4aa1[6]]({count:_0x6df3x19[_0x4aa1[37]],rows:_0x6df3x19[_0x4aa1[45]],next_page:_0x6df3x1b,previous_page:_0x6df3x1c,total_pages:_0x6df3x1a});})[_0x4aa1[36]](function(_0x6df3x8){return _0x6df3x6[_0x4aa1[7]](500)[_0x4aa1[6]]({error:_0x4aa1[35]})});};exports[_0x4aa1[47]]=function(_0x6df3x10,_0x6df3x6){FreshdeskAccount[_0x4aa1[50]](_0x6df3x10[_0x4aa1[49]][_0x4aa1[48]])[_0x4aa1[10]](handleEntityNotFound(_0x6df3x6))[_0x4aa1[10]](responseWithResult(_0x6df3x6))[_0x4aa1[36]](handleError(_0x6df3x6))};exports[_0x4aa1[51]]=function(_0x6df3x10,_0x6df3x6){FreshdeskAccount[_0x4aa1[51]](_0x6df3x10[_0x4aa1[52]])[_0x4aa1[10]](responseWithResult(_0x6df3x6,201))[_0x4aa1[36]](handleError(_0x6df3x6))};exports[_0x4aa1[53]]=function(_0x6df3x10,_0x6df3x6){if(_0x6df3x10[_0x4aa1[52]][_0x4aa1[48]]){delete _0x6df3x10[_0x4aa1[52]][_0x4aa1[48]]};FreshdeskAccount[_0x4aa1[50]](_0x6df3x10[_0x4aa1[49]][_0x4aa1[48]])[_0x4aa1[10]](handleEntityNotFound(_0x6df3x6))[_0x4aa1[10]](saveUpdates(_0x6df3x10[_0x4aa1[52]]))[_0x4aa1[10]](responseWithResult(_0x6df3x6))[_0x4aa1[36]](handleError(_0x6df3x6));};exports[_0x4aa1[12]]=function(_0x6df3x10,_0x6df3x6){FreshdeskAccount[_0x4aa1[50]](_0x6df3x10[_0x4aa1[49]][_0x4aa1[48]])[_0x4aa1[10]](handleEntityNotFound(_0x6df3x6))[_0x4aa1[10]](removeEntity(_0x6df3x6))[_0x4aa1[36]](handleError(_0x6df3x6))};exports[_0x4aa1[54]]=function(_0x6df3x10,_0x6df3x6){FreshdeskAccount[_0x4aa1[12]]({where:{id:_0x6df3x10[_0x4aa1[19]][_0x4aa1[48]]},individualHooks:true})[_0x4aa1[10]](function(){return _0x6df3x6[_0x4aa1[55]](204)})[_0x4aa1[36]](function(_0x6df3x8){return handleError(_0x6df3x6,_0x6df3x8)})};exports[_0x4aa1[56]]=function(_0x6df3x10,_0x6df3x6){FreshdeskAccount[_0x4aa1[50]](_0x6df3x10[_0x4aa1[49]][_0x4aa1[48]])[_0x4aa1[10]](handleEntityNotFound(_0x6df3x6))[_0x4aa1[10]](function(_0x6df3x1d){var _0x6df3x1e= new _fd(_0x6df3x1d[_0x4aa1[17]],_0x6df3x1d[_0x4aa1[57]]);_0x6df3x1e[_0x4aa1[60]](function(_0x6df3x8,_0x6df3x1f,_0x6df3x20){if(_0x6df3x8){return _0x6df3x6[_0x4aa1[55]](400)};_0x6df3x20=JSON[_0x4aa1[58]](_0x6df3x20);if(_0x6df3x20[_0x4aa1[59]]){return _0x6df3x6[_0x4aa1[55]](400)};return _0x6df3x6[_0x4aa1[55]](200);});})[_0x4aa1[36]](handleError(_0x6df3x6))};exports[_0x4aa1[61]]=function(_0x6df3x10,_0x6df3x6){var _0x6df3x21={};_0x6df3x21[_0x6df3x10[_0x4aa1[49]][_0x4aa1[62]]]=_0x6df3x10[_0x4aa1[52]][_0x4aa1[63]];FreshdeskAccount[_0x4aa1[46]]({where:_0x6df3x21})[_0x4aa1[10]](function(_0x6df3x19){if(_0x6df3x19[_0x4aa1[37]]){return _0x6df3x6[_0x4aa1[7]](200)[_0x4aa1[6]]({isValid:false,value:_0x6df3x10[_0x4aa1[52]][_0x4aa1[63]]})};return _0x6df3x6[_0x4aa1[7]](200)[_0x4aa1[6]]({isValid:true,value:_0x6df3x10[_0x4aa1[52]][_0x4aa1[63]]});})[_0x4aa1[36]](function(_0x6df3x8){return handleError(_0x6df3x6,_0x6df3x8)});};exports[_0x4aa1[64]]=function(_0x6df3x10,_0x6df3x6,_0x6df3x22){FreshdeskAccount[_0x4aa1[50]](_0x6df3x10[_0x4aa1[49]][_0x4aa1[48]])[_0x4aa1[10]](handleEntityNotFound(_0x6df3x6))[_0x4aa1[10]](function(_0x6df3x1d){var _0x6df3x23= new _fd(_0x6df3x1d[_0x4aa1[17]],_0x6df3x1d[_0x4aa1[57]]);_0x6df3x23[_0x4aa1[66]](_0x4aa1[65],function(_0x6df3x8,_0x6df3x1f,_0x6df3x20){if(_0x6df3x8){return _0x6df3x22(_0x6df3x8)};_0x6df3x20=JSON[_0x4aa1[58]](_0x6df3x20);return _0x6df3x6[_0x4aa1[7]](200)[_0x4aa1[6]](_0x6df3x20);});})[_0x4aa1[36]](handleError(_0x6df3x6))};
\ No newline at end of file
index 9d0ee92..4b8b9c0 100644 (file)
@@ -1 +1 @@
-var _0x55f4=["\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"];_0x55f4[0];var FreshdeskAccount=require(_0x55f4[2])[_0x55f4[1]];exports[_0x55f4[3]]=function(_0x6e60x2){FreshdeskAccount[_0x55f4[4]](function(_0x6e60x3){onSave(_0x6e60x2,_0x6e60x3)});FreshdeskAccount[_0x55f4[5]](function(_0x6e60x3){onRemove(_0x6e60x2,_0x6e60x3)});};function onSave(_0x6e60x2,_0x6e60x3,_0x6e60x5){_0x6e60x2[_0x55f4[7]](_0x55f4[6],_0x6e60x3)}function onRemove(_0x6e60x2,_0x6e60x3,_0x6e60x5){_0x6e60x2[_0x55f4[7]](_0x55f4[8],_0x6e60x3)}
\ No newline at end of file
+var _0x691b=["\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"];_0x691b[0];var FreshdeskAccount=require(_0x691b[2])[_0x691b[1]];exports[_0x691b[3]]=function(_0x33fex2){FreshdeskAccount[_0x691b[4]](function(_0x33fex3){onSave(_0x33fex2,_0x33fex3)});FreshdeskAccount[_0x691b[5]](function(_0x33fex3){onRemove(_0x33fex2,_0x33fex3)});};function onSave(_0x33fex2,_0x33fex3,_0x33fex5){_0x33fex2[_0x691b[7]](_0x691b[6],_0x33fex3)}function onRemove(_0x33fex2,_0x33fex3,_0x33fex5){_0x33fex2[_0x691b[7]](_0x691b[8],_0x33fex3)}
\ No newline at end of file
index fa6a3f7..9665dd1 100644 (file)
@@ -1 +1 @@
-var _0xa0c9=["\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"];_0xa0c9[0];var express=require(_0xa0c9[1]);var auth=require(_0xa0c9[2]);var controller=require(_0xa0c9[3]);var router=express.Router();router[_0xa0c9[7]](_0xa0c9[4],auth[_0xa0c9[5]](),controller[_0xa0c9[6]]);router[_0xa0c9[7]](_0xa0c9[8],auth[_0xa0c9[5]](),controller[_0xa0c9[9]]);router[_0xa0c9[7]](_0xa0c9[10],auth[_0xa0c9[5]](),controller[_0xa0c9[11]]);router[_0xa0c9[7]](_0xa0c9[12],auth[_0xa0c9[5]](),controller[_0xa0c9[13]]);router[_0xa0c9[16]](_0xa0c9[14],auth[_0xa0c9[5]](),controller[_0xa0c9[15]]);router[_0xa0c9[16]](_0xa0c9[4],auth[_0xa0c9[5]](),controller[_0xa0c9[17]]);router[_0xa0c9[19]](_0xa0c9[8],auth[_0xa0c9[5]](),controller[_0xa0c9[18]]);router[_0xa0c9[20]](_0xa0c9[8],auth[_0xa0c9[5]](),controller[_0xa0c9[18]]);router[_0xa0c9[22]](_0xa0c9[4],auth[_0xa0c9[5]](),controller[_0xa0c9[21]]);router[_0xa0c9[22]](_0xa0c9[8],auth[_0xa0c9[5]](),controller[_0xa0c9[23]]);module[_0xa0c9[24]]=router;
\ No newline at end of file
+var _0xf13f=["\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"];_0xf13f[0];var express=require(_0xf13f[1]);var auth=require(_0xf13f[2]);var controller=require(_0xf13f[3]);var router=express.Router();router[_0xf13f[7]](_0xf13f[4],auth[_0xf13f[5]](),controller[_0xf13f[6]]);router[_0xf13f[7]](_0xf13f[8],auth[_0xf13f[5]](),controller[_0xf13f[9]]);router[_0xf13f[7]](_0xf13f[10],auth[_0xf13f[5]](),controller[_0xf13f[11]]);router[_0xf13f[7]](_0xf13f[12],auth[_0xf13f[5]](),controller[_0xf13f[13]]);router[_0xf13f[16]](_0xf13f[14],auth[_0xf13f[5]](),controller[_0xf13f[15]]);router[_0xf13f[16]](_0xf13f[4],auth[_0xf13f[5]](),controller[_0xf13f[17]]);router[_0xf13f[19]](_0xf13f[8],auth[_0xf13f[5]](),controller[_0xf13f[18]]);router[_0xf13f[20]](_0xf13f[8],auth[_0xf13f[5]](),controller[_0xf13f[18]]);router[_0xf13f[22]](_0xf13f[4],auth[_0xf13f[5]](),controller[_0xf13f[21]]);router[_0xf13f[22]](_0xf13f[8],auth[_0xf13f[5]](),controller[_0xf13f[23]]);module[_0xf13f[24]]=router;
\ No newline at end of file
index ec55bf3..26d0f3c 100644 (file)
@@ -1 +1 @@
-var _0x28ff=["\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"];_0x28ff[0];var proxyquire=require(_0x28ff[2])[_0x28ff[1]]();var freshdeskAccountCtrlStub={index:_0x28ff[3],show:_0x28ff[4],create:_0x28ff[5],update:_0x28ff[6],destroy:_0x28ff[7]};var routerStub={get:sinon[_0x28ff[8]](),put:sinon[_0x28ff[8]](),patch:sinon[_0x28ff[8]](),post:sinon[_0x28ff[8]](),delete:sinon[_0x28ff[8]]()};var freshdeskAccountIndex=proxyquire(_0x28ff[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(_0x28ff[10],function(){it(_0x28ff[11],function(){expect(freshdeskAccountIndex)[_0x28ff[13]][_0x28ff[12]](routerStub)});describe(_0x28ff[14],function(){it(_0x28ff[15],function(){expect(routerStub[_0x28ff[21]][_0x28ff[20]](_0x28ff[19],_0x28ff[3]))[_0x28ff[13]][_0x28ff[18]][_0x28ff[17]][_0x28ff[16]]})});describe(_0x28ff[22],function(){it(_0x28ff[23],function(){expect(routerStub[_0x28ff[21]][_0x28ff[20]](_0x28ff[24],_0x28ff[4]))[_0x28ff[13]][_0x28ff[18]][_0x28ff[17]][_0x28ff[16]]})});describe(_0x28ff[25],function(){it(_0x28ff[26],function(){expect(routerStub[_0x28ff[27]][_0x28ff[20]](_0x28ff[19],_0x28ff[5]))[_0x28ff[13]][_0x28ff[18]][_0x28ff[17]][_0x28ff[16]]})});describe(_0x28ff[28],function(){it(_0x28ff[29],function(){expect(routerStub[_0x28ff[30]][_0x28ff[20]](_0x28ff[24],_0x28ff[6]))[_0x28ff[13]][_0x28ff[18]][_0x28ff[17]][_0x28ff[16]]})});describe(_0x28ff[31],function(){it(_0x28ff[29],function(){expect(routerStub[_0x28ff[32]][_0x28ff[20]](_0x28ff[24],_0x28ff[6]))[_0x28ff[13]][_0x28ff[18]][_0x28ff[17]][_0x28ff[16]]})});describe(_0x28ff[33],function(){it(_0x28ff[34],function(){expect(routerStub[_0x28ff[35]][_0x28ff[20]](_0x28ff[24],_0x28ff[7]))[_0x28ff[13]][_0x28ff[18]][_0x28ff[17]][_0x28ff[16]]})});});
\ No newline at end of file
+var _0x6f74=["\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"];_0x6f74[0];var proxyquire=require(_0x6f74[2])[_0x6f74[1]]();var freshdeskAccountCtrlStub={index:_0x6f74[3],show:_0x6f74[4],create:_0x6f74[5],update:_0x6f74[6],destroy:_0x6f74[7]};var routerStub={get:sinon[_0x6f74[8]](),put:sinon[_0x6f74[8]](),patch:sinon[_0x6f74[8]](),post:sinon[_0x6f74[8]](),delete:sinon[_0x6f74[8]]()};var freshdeskAccountIndex=proxyquire(_0x6f74[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(_0x6f74[10],function(){it(_0x6f74[11],function(){expect(freshdeskAccountIndex)[_0x6f74[13]][_0x6f74[12]](routerStub)});describe(_0x6f74[14],function(){it(_0x6f74[15],function(){expect(routerStub[_0x6f74[21]][_0x6f74[20]](_0x6f74[19],_0x6f74[3]))[_0x6f74[13]][_0x6f74[18]][_0x6f74[17]][_0x6f74[16]]})});describe(_0x6f74[22],function(){it(_0x6f74[23],function(){expect(routerStub[_0x6f74[21]][_0x6f74[20]](_0x6f74[24],_0x6f74[4]))[_0x6f74[13]][_0x6f74[18]][_0x6f74[17]][_0x6f74[16]]})});describe(_0x6f74[25],function(){it(_0x6f74[26],function(){expect(routerStub[_0x6f74[27]][_0x6f74[20]](_0x6f74[19],_0x6f74[5]))[_0x6f74[13]][_0x6f74[18]][_0x6f74[17]][_0x6f74[16]]})});describe(_0x6f74[28],function(){it(_0x6f74[29],function(){expect(routerStub[_0x6f74[30]][_0x6f74[20]](_0x6f74[24],_0x6f74[6]))[_0x6f74[13]][_0x6f74[18]][_0x6f74[17]][_0x6f74[16]]})});describe(_0x6f74[31],function(){it(_0x6f74[29],function(){expect(routerStub[_0x6f74[32]][_0x6f74[20]](_0x6f74[24],_0x6f74[6]))[_0x6f74[13]][_0x6f74[18]][_0x6f74[17]][_0x6f74[16]]})});describe(_0x6f74[33],function(){it(_0x6f74[34],function(){expect(routerStub[_0x6f74[35]][_0x6f74[20]](_0x6f74[24],_0x6f74[7]))[_0x6f74[13]][_0x6f74[18]][_0x6f74[17]][_0x6f74[16]]})});});
\ No newline at end of file
index 27a67ee..b22cd50 100644 (file)
@@ -1 +1 @@
-var _0xdc08=["\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"];_0xdc08[0];var _=require(_0xdc08[1]);var FreshdeskConfiguration=require(_0xdc08[3])[_0xdc08[2]];var FreshdeskField=require(_0xdc08[3])[_0xdc08[4]];function handleError(_0xf1d7x5,_0xf1d7x6){_0xf1d7x6=_0xf1d7x6||500;return function(_0xf1d7x7){_0xf1d7x5[_0xdc08[6]](_0xf1d7x6)[_0xdc08[5]](_0xf1d7x7)};}function responseWithResult(_0xf1d7x5,_0xf1d7x6){_0xf1d7x6=_0xf1d7x6||200;return function(_0xf1d7x9){if(_0xf1d7x9){_0xf1d7x5[_0xdc08[6]](_0xf1d7x6)[_0xdc08[7]](_0xf1d7x9)}};}function handleEntityNotFound(_0xf1d7x5){return function(_0xf1d7x9){if(!_0xf1d7x9){_0xf1d7x5[_0xdc08[6]](404)[_0xdc08[8]]();return null;};return _0xf1d7x9;}}function saveUpdates(_0xf1d7xc){return function(_0xf1d7x9){return _0xf1d7x9[_0xdc08[10]](_0xf1d7xc)[_0xdc08[9]](function(_0xf1d7xd){return _0xf1d7xd})}}function removeEntity(_0xf1d7x5){return function(_0xf1d7x9){if(_0xf1d7x9){return _0xf1d7x9[_0xdc08[11]]()[_0xdc08[9]](function(){_0xf1d7x5[_0xdc08[6]](204)[_0xdc08[8]]()})}}}exports[_0xdc08[12]]=function(_0xf1d7xf,_0xf1d7x5){FreshdeskConfiguration[_0xdc08[15]]({where:_0xf1d7xf[_0xdc08[14]]})[_0xdc08[9]](responseWithResult(_0xf1d7x5))[_0xdc08[13]](handleError(_0xf1d7x5))};exports[_0xdc08[16]]=function(_0xf1d7xf,_0xf1d7x5){FreshdeskConfiguration[_0xdc08[22]]({where:{id:_0xf1d7xf[_0xdc08[18]][_0xdc08[17]]},include:[{model:FreshdeskField,as:_0xdc08[19]},{model:FreshdeskField,as:_0xdc08[20]},{model:FreshdeskField,as:_0xdc08[21]}]})[_0xdc08[9]](handleEntityNotFound(_0xf1d7x5))[_0xdc08[9]](responseWithResult(_0xf1d7x5))[_0xdc08[13]](handleError(_0xf1d7x5))};exports[_0xdc08[23]]=function(_0xf1d7xf,_0xf1d7x5){FreshdeskConfiguration[_0xdc08[23]](_0xf1d7xf[_0xdc08[24]])[_0xdc08[9]](responseWithResult(_0xf1d7x5,201))[_0xdc08[13]](handleError(_0xf1d7x5))};exports[_0xdc08[25]]=function(_0xf1d7xf,_0xf1d7x5){if(_0xf1d7xf[_0xdc08[24]][_0xdc08[17]]){delete _0xf1d7xf[_0xdc08[24]][_0xdc08[17]]};FreshdeskConfiguration[_0xdc08[26]](_0xf1d7xf[_0xdc08[18]][_0xdc08[17]])[_0xdc08[9]](handleEntityNotFound(_0xf1d7x5))[_0xdc08[9]](saveUpdates(_0xf1d7xf[_0xdc08[24]]))[_0xdc08[9]](responseWithResult(_0xf1d7x5))[_0xdc08[13]](handleError(_0xf1d7x5));};exports[_0xdc08[11]]=function(_0xf1d7xf,_0xf1d7x5){FreshdeskConfiguration[_0xdc08[26]](_0xf1d7xf[_0xdc08[18]][_0xdc08[17]])[_0xdc08[9]](handleEntityNotFound(_0xf1d7x5))[_0xdc08[9]](removeEntity(_0xf1d7x5))[_0xdc08[13]](handleError(_0xf1d7x5))};exports[_0xdc08[27]]=function(_0xf1d7xf,_0xf1d7x5,_0xf1d7x10){var _0xf1d7x11;FreshdeskConfiguration[_0xdc08[26]](_0xf1d7xf[_0xdc08[18]][_0xdc08[17]])[_0xdc08[9]](handleEntityNotFound(_0xf1d7x5))[_0xdc08[9]](function(_0xf1d7x14){_0xf1d7x11=_0xf1d7x14;return FreshdeskField[_0xdc08[23]](_0xf1d7xf[_0xdc08[24]]);})[_0xdc08[9]](function(_0xf1d7x13){switch(_0xf1d7xf[_0xdc08[18]][_0xdc08[35]]){case _0xdc08[30]:return [_0xf1d7x11[_0xdc08[29]](_0xf1d7x13),_0xf1d7x13];;case _0xdc08[32]:return [_0xf1d7x11[_0xdc08[31]](_0xf1d7x13),_0xf1d7x13];;case _0xdc08[34]:return [_0xf1d7x11[_0xdc08[33]](_0xf1d7x13),_0xf1d7x13];;}})[_0xdc08[28]](function(_0xf1d7x12,_0xf1d7x13){return _0xf1d7x5[_0xdc08[6]](201)[_0xdc08[7]](_0xf1d7x13)})[_0xdc08[13]](handleError(_0xf1d7x5));};
\ No newline at end of file
+var _0xe3eb=["\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"];_0xe3eb[0];var _=require(_0xe3eb[1]);var FreshdeskConfiguration=require(_0xe3eb[3])[_0xe3eb[2]];var FreshdeskField=require(_0xe3eb[3])[_0xe3eb[4]];function handleError(_0xf560x5,_0xf560x6){_0xf560x6=_0xf560x6||500;return function(_0xf560x7){_0xf560x5[_0xe3eb[6]](_0xf560x6)[_0xe3eb[5]](_0xf560x7)};}function responseWithResult(_0xf560x5,_0xf560x6){_0xf560x6=_0xf560x6||200;return function(_0xf560x9){if(_0xf560x9){_0xf560x5[_0xe3eb[6]](_0xf560x6)[_0xe3eb[7]](_0xf560x9)}};}function handleEntityNotFound(_0xf560x5){return function(_0xf560x9){if(!_0xf560x9){_0xf560x5[_0xe3eb[6]](404)[_0xe3eb[8]]();return null;};return _0xf560x9;}}function saveUpdates(_0xf560xc){return function(_0xf560x9){return _0xf560x9[_0xe3eb[10]](_0xf560xc)[_0xe3eb[9]](function(_0xf560xd){return _0xf560xd})}}function removeEntity(_0xf560x5){return function(_0xf560x9){if(_0xf560x9){return _0xf560x9[_0xe3eb[11]]()[_0xe3eb[9]](function(){_0xf560x5[_0xe3eb[6]](204)[_0xe3eb[8]]()})}}}exports[_0xe3eb[12]]=function(_0xf560xf,_0xf560x5){FreshdeskConfiguration[_0xe3eb[15]]({where:_0xf560xf[_0xe3eb[14]]})[_0xe3eb[9]](responseWithResult(_0xf560x5))[_0xe3eb[13]](handleError(_0xf560x5))};exports[_0xe3eb[16]]=function(_0xf560xf,_0xf560x5){FreshdeskConfiguration[_0xe3eb[22]]({where:{id:_0xf560xf[_0xe3eb[18]][_0xe3eb[17]]},include:[{model:FreshdeskField,as:_0xe3eb[19]},{model:FreshdeskField,as:_0xe3eb[20]},{model:FreshdeskField,as:_0xe3eb[21]}]})[_0xe3eb[9]](handleEntityNotFound(_0xf560x5))[_0xe3eb[9]](responseWithResult(_0xf560x5))[_0xe3eb[13]](handleError(_0xf560x5))};exports[_0xe3eb[23]]=function(_0xf560xf,_0xf560x5){FreshdeskConfiguration[_0xe3eb[23]](_0xf560xf[_0xe3eb[24]])[_0xe3eb[9]](responseWithResult(_0xf560x5,201))[_0xe3eb[13]](handleError(_0xf560x5))};exports[_0xe3eb[25]]=function(_0xf560xf,_0xf560x5){if(_0xf560xf[_0xe3eb[24]][_0xe3eb[17]]){delete _0xf560xf[_0xe3eb[24]][_0xe3eb[17]]};FreshdeskConfiguration[_0xe3eb[26]](_0xf560xf[_0xe3eb[18]][_0xe3eb[17]])[_0xe3eb[9]](handleEntityNotFound(_0xf560x5))[_0xe3eb[9]](saveUpdates(_0xf560xf[_0xe3eb[24]]))[_0xe3eb[9]](responseWithResult(_0xf560x5))[_0xe3eb[13]](handleError(_0xf560x5));};exports[_0xe3eb[11]]=function(_0xf560xf,_0xf560x5){FreshdeskConfiguration[_0xe3eb[26]](_0xf560xf[_0xe3eb[18]][_0xe3eb[17]])[_0xe3eb[9]](handleEntityNotFound(_0xf560x5))[_0xe3eb[9]](removeEntity(_0xf560x5))[_0xe3eb[13]](handleError(_0xf560x5))};exports[_0xe3eb[27]]=function(_0xf560xf,_0xf560x5,_0xf560x10){var _0xf560x11;FreshdeskConfiguration[_0xe3eb[26]](_0xf560xf[_0xe3eb[18]][_0xe3eb[17]])[_0xe3eb[9]](handleEntityNotFound(_0xf560x5))[_0xe3eb[9]](function(_0xf560x14){_0xf560x11=_0xf560x14;return FreshdeskField[_0xe3eb[23]](_0xf560xf[_0xe3eb[24]]);})[_0xe3eb[9]](function(_0xf560x13){switch(_0xf560xf[_0xe3eb[18]][_0xe3eb[35]]){case _0xe3eb[30]:return [_0xf560x11[_0xe3eb[29]](_0xf560x13),_0xf560x13];;case _0xe3eb[32]:return [_0xf560x11[_0xe3eb[31]](_0xf560x13),_0xf560x13];;case _0xe3eb[34]:return [_0xf560x11[_0xe3eb[33]](_0xf560x13),_0xf560x13];;}})[_0xe3eb[28]](function(_0xf560x12,_0xf560x13){return _0xf560x5[_0xe3eb[6]](201)[_0xe3eb[7]](_0xf560x13)})[_0xe3eb[13]](handleError(_0xf560x5));};
\ No newline at end of file
index e8c866a..d68ad29 100644 (file)
@@ -1 +1 @@
-var _0x86fc=["\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"];_0x86fc[0];var FreshdeskConfiguration=require(_0x86fc[2])[_0x86fc[1]];exports[_0x86fc[3]]=function(_0x2698x2){FreshdeskConfiguration[_0x86fc[4]](function(_0x2698x3){onSave(_0x2698x2,_0x2698x3)});FreshdeskConfiguration[_0x86fc[5]](function(_0x2698x3){onRemove(_0x2698x2,_0x2698x3)});};function onSave(_0x2698x2,_0x2698x3,_0x2698x5){_0x2698x2[_0x86fc[7]](_0x86fc[6],_0x2698x3)}function onRemove(_0x2698x2,_0x2698x3,_0x2698x5){_0x2698x2[_0x86fc[7]](_0x86fc[8],_0x2698x3)}
\ No newline at end of file
+var _0x6f88=["\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"];_0x6f88[0];var FreshdeskConfiguration=require(_0x6f88[2])[_0x6f88[1]];exports[_0x6f88[3]]=function(_0x292dx2){FreshdeskConfiguration[_0x6f88[4]](function(_0x292dx3){onSave(_0x292dx2,_0x292dx3)});FreshdeskConfiguration[_0x6f88[5]](function(_0x292dx3){onRemove(_0x292dx2,_0x292dx3)});};function onSave(_0x292dx2,_0x292dx3,_0x292dx5){_0x292dx2[_0x6f88[7]](_0x6f88[6],_0x292dx3)}function onRemove(_0x292dx2,_0x292dx3,_0x292dx5){_0x292dx2[_0x6f88[7]](_0x6f88[8],_0x292dx3)}
\ No newline at end of file
index b9899d4..9fcc5d6 100644 (file)
@@ -1 +1 @@
-var _0x7508=["\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"];_0x7508[0];var express=require(_0x7508[1]);var auth=require(_0x7508[2]);var controller=require(_0x7508[3]);var router=express.Router();router[_0x7508[7]](_0x7508[4],auth[_0x7508[5]](),controller[_0x7508[6]]);router[_0x7508[7]](_0x7508[8],auth[_0x7508[5]](),controller[_0x7508[9]]);router[_0x7508[11]](_0x7508[4],auth[_0x7508[5]](),controller[_0x7508[10]]);router[_0x7508[13]](_0x7508[8],auth[_0x7508[5]](),controller[_0x7508[12]]);router[_0x7508[11]](_0x7508[14],auth[_0x7508[5]](),controller[_0x7508[15]]);router[_0x7508[16]](_0x7508[8],auth[_0x7508[5]](),controller[_0x7508[12]]);router[_0x7508[18]](_0x7508[8],auth[_0x7508[5]](),controller[_0x7508[17]]);module[_0x7508[19]]=router;
\ No newline at end of file
+var _0x9413=["\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"];_0x9413[0];var express=require(_0x9413[1]);var auth=require(_0x9413[2]);var controller=require(_0x9413[3]);var router=express.Router();router[_0x9413[7]](_0x9413[4],auth[_0x9413[5]](),controller[_0x9413[6]]);router[_0x9413[7]](_0x9413[8],auth[_0x9413[5]](),controller[_0x9413[9]]);router[_0x9413[11]](_0x9413[4],auth[_0x9413[5]](),controller[_0x9413[10]]);router[_0x9413[13]](_0x9413[8],auth[_0x9413[5]](),controller[_0x9413[12]]);router[_0x9413[11]](_0x9413[14],auth[_0x9413[5]](),controller[_0x9413[15]]);router[_0x9413[16]](_0x9413[8],auth[_0x9413[5]](),controller[_0x9413[12]]);router[_0x9413[18]](_0x9413[8],auth[_0x9413[5]](),controller[_0x9413[17]]);module[_0x9413[19]]=router;
\ No newline at end of file
index 8c86b97..bb5ee23 100644 (file)
@@ -1 +1 @@
-var _0xb52f=["\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"];_0xb52f[0];var proxyquire=require(_0xb52f[2])[_0xb52f[1]]();var freshdeskConfigurationCtrlStub={index:_0xb52f[3],show:_0xb52f[4],create:_0xb52f[5],update:_0xb52f[6],destroy:_0xb52f[7]};var routerStub={get:sinon[_0xb52f[8]](),put:sinon[_0xb52f[8]](),patch:sinon[_0xb52f[8]](),post:sinon[_0xb52f[8]](),delete:sinon[_0xb52f[8]]()};var freshdeskConfigurationIndex=proxyquire(_0xb52f[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(_0xb52f[10],function(){it(_0xb52f[11],function(){expect(freshdeskConfigurationIndex)[_0xb52f[13]][_0xb52f[12]](routerStub)});describe(_0xb52f[14],function(){it(_0xb52f[15],function(){expect(routerStub[_0xb52f[21]][_0xb52f[20]](_0xb52f[19],_0xb52f[3]))[_0xb52f[13]][_0xb52f[18]][_0xb52f[17]][_0xb52f[16]]})});describe(_0xb52f[22],function(){it(_0xb52f[23],function(){expect(routerStub[_0xb52f[21]][_0xb52f[20]](_0xb52f[24],_0xb52f[4]))[_0xb52f[13]][_0xb52f[18]][_0xb52f[17]][_0xb52f[16]]})});describe(_0xb52f[25],function(){it(_0xb52f[26],function(){expect(routerStub[_0xb52f[27]][_0xb52f[20]](_0xb52f[19],_0xb52f[5]))[_0xb52f[13]][_0xb52f[18]][_0xb52f[17]][_0xb52f[16]]})});describe(_0xb52f[28],function(){it(_0xb52f[29],function(){expect(routerStub[_0xb52f[30]][_0xb52f[20]](_0xb52f[24],_0xb52f[6]))[_0xb52f[13]][_0xb52f[18]][_0xb52f[17]][_0xb52f[16]]})});describe(_0xb52f[31],function(){it(_0xb52f[29],function(){expect(routerStub[_0xb52f[32]][_0xb52f[20]](_0xb52f[24],_0xb52f[6]))[_0xb52f[13]][_0xb52f[18]][_0xb52f[17]][_0xb52f[16]]})});describe(_0xb52f[33],function(){it(_0xb52f[34],function(){expect(routerStub[_0xb52f[35]][_0xb52f[20]](_0xb52f[24],_0xb52f[7]))[_0xb52f[13]][_0xb52f[18]][_0xb52f[17]][_0xb52f[16]]})});});
\ No newline at end of file
+var _0x522e=["\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"];_0x522e[0];var proxyquire=require(_0x522e[2])[_0x522e[1]]();var freshdeskConfigurationCtrlStub={index:_0x522e[3],show:_0x522e[4],create:_0x522e[5],update:_0x522e[6],destroy:_0x522e[7]};var routerStub={get:sinon[_0x522e[8]](),put:sinon[_0x522e[8]](),patch:sinon[_0x522e[8]](),post:sinon[_0x522e[8]](),delete:sinon[_0x522e[8]]()};var freshdeskConfigurationIndex=proxyquire(_0x522e[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(_0x522e[10],function(){it(_0x522e[11],function(){expect(freshdeskConfigurationIndex)[_0x522e[13]][_0x522e[12]](routerStub)});describe(_0x522e[14],function(){it(_0x522e[15],function(){expect(routerStub[_0x522e[21]][_0x522e[20]](_0x522e[19],_0x522e[3]))[_0x522e[13]][_0x522e[18]][_0x522e[17]][_0x522e[16]]})});describe(_0x522e[22],function(){it(_0x522e[23],function(){expect(routerStub[_0x522e[21]][_0x522e[20]](_0x522e[24],_0x522e[4]))[_0x522e[13]][_0x522e[18]][_0x522e[17]][_0x522e[16]]})});describe(_0x522e[25],function(){it(_0x522e[26],function(){expect(routerStub[_0x522e[27]][_0x522e[20]](_0x522e[19],_0x522e[5]))[_0x522e[13]][_0x522e[18]][_0x522e[17]][_0x522e[16]]})});describe(_0x522e[28],function(){it(_0x522e[29],function(){expect(routerStub[_0x522e[30]][_0x522e[20]](_0x522e[24],_0x522e[6]))[_0x522e[13]][_0x522e[18]][_0x522e[17]][_0x522e[16]]})});describe(_0x522e[31],function(){it(_0x522e[29],function(){expect(routerStub[_0x522e[32]][_0x522e[20]](_0x522e[24],_0x522e[6]))[_0x522e[13]][_0x522e[18]][_0x522e[17]][_0x522e[16]]})});describe(_0x522e[33],function(){it(_0x522e[34],function(){expect(routerStub[_0x522e[35]][_0x522e[20]](_0x522e[24],_0x522e[7]))[_0x522e[13]][_0x522e[18]][_0x522e[17]][_0x522e[16]]})});});
\ No newline at end of file
index 3dcdeb6..41f9bbd 100644 (file)
@@ -1 +1 @@
-var _0x4d45=["\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"];_0x4d45[0];var _=require(_0x4d45[1]);var FreshdeskField=require(_0x4d45[3])[_0x4d45[2]];function handleError(_0x68bbx4,_0x68bbx5){_0x68bbx5=_0x68bbx5||500;return function(_0x68bbx6){_0x68bbx4[_0x4d45[5]](_0x68bbx5)[_0x4d45[4]](_0x68bbx6)};}function responseWithResult(_0x68bbx4,_0x68bbx5){_0x68bbx5=_0x68bbx5||200;return function(_0x68bbx8){if(_0x68bbx8){_0x68bbx4[_0x4d45[5]](_0x68bbx5)[_0x4d45[6]](_0x68bbx8)}};}function handleEntityNotFound(_0x68bbx4){return function(_0x68bbx8){if(!_0x68bbx8){_0x68bbx4[_0x4d45[5]](404)[_0x4d45[7]]();return null;};return _0x68bbx8;}}function saveUpdates(_0x68bbxb){return function(_0x68bbx8){return _0x68bbx8[_0x4d45[9]](_0x68bbxb)[_0x4d45[8]](function(_0x68bbxc){return _0x68bbxc})}}function removeEntity(_0x68bbx4){return function(_0x68bbx8){if(_0x68bbx8){return _0x68bbx8[_0x4d45[10]]()[_0x4d45[8]](function(){_0x68bbx4[_0x4d45[5]](204)[_0x4d45[7]]()})}}}exports[_0x4d45[11]]=function(_0x68bbxe,_0x68bbx4){FreshdeskField[_0x4d45[13]]()[_0x4d45[8]](responseWithResult(_0x68bbx4))[_0x4d45[12]](handleError(_0x68bbx4))};exports[_0x4d45[14]]=function(_0x68bbxe,_0x68bbx4){FreshdeskField[_0x4d45[17]](_0x68bbxe[_0x4d45[16]][_0x4d45[15]])[_0x4d45[8]](handleEntityNotFound(_0x68bbx4))[_0x4d45[8]](responseWithResult(_0x68bbx4))[_0x4d45[12]](handleError(_0x68bbx4))};exports[_0x4d45[18]]=function(_0x68bbxe,_0x68bbx4){FreshdeskField[_0x4d45[18]](_0x68bbxe[_0x4d45[19]])[_0x4d45[8]](responseWithResult(_0x68bbx4,201))[_0x4d45[12]](handleError(_0x68bbx4))};exports[_0x4d45[20]]=function(_0x68bbxe,_0x68bbx4){if(_0x68bbxe[_0x4d45[19]][_0x4d45[15]]){delete _0x68bbxe[_0x4d45[19]][_0x4d45[15]]};FreshdeskField[_0x4d45[17]](_0x68bbxe[_0x4d45[16]][_0x4d45[15]])[_0x4d45[8]](handleEntityNotFound(_0x68bbx4))[_0x4d45[8]](saveUpdates(_0x68bbxe[_0x4d45[19]]))[_0x4d45[8]](responseWithResult(_0x68bbx4))[_0x4d45[12]](handleError(_0x68bbx4));};exports[_0x4d45[10]]=function(_0x68bbxe,_0x68bbx4){FreshdeskField[_0x4d45[17]](_0x68bbxe[_0x4d45[16]][_0x4d45[15]])[_0x4d45[8]](handleEntityNotFound(_0x68bbx4))[_0x4d45[8]](removeEntity(_0x68bbx4))[_0x4d45[12]](handleError(_0x68bbx4))};
\ No newline at end of file
+var _0x81b7=["\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"];_0x81b7[0];var _=require(_0x81b7[1]);var FreshdeskField=require(_0x81b7[3])[_0x81b7[2]];function handleError(_0x2564x4,_0x2564x5){_0x2564x5=_0x2564x5||500;return function(_0x2564x6){_0x2564x4[_0x81b7[5]](_0x2564x5)[_0x81b7[4]](_0x2564x6)};}function responseWithResult(_0x2564x4,_0x2564x5){_0x2564x5=_0x2564x5||200;return function(_0x2564x8){if(_0x2564x8){_0x2564x4[_0x81b7[5]](_0x2564x5)[_0x81b7[6]](_0x2564x8)}};}function handleEntityNotFound(_0x2564x4){return function(_0x2564x8){if(!_0x2564x8){_0x2564x4[_0x81b7[5]](404)[_0x81b7[7]]();return null;};return _0x2564x8;}}function saveUpdates(_0x2564xb){return function(_0x2564x8){return _0x2564x8[_0x81b7[9]](_0x2564xb)[_0x81b7[8]](function(_0x2564xc){return _0x2564xc})}}function removeEntity(_0x2564x4){return function(_0x2564x8){if(_0x2564x8){return _0x2564x8[_0x81b7[10]]()[_0x81b7[8]](function(){_0x2564x4[_0x81b7[5]](204)[_0x81b7[7]]()})}}}exports[_0x81b7[11]]=function(_0x2564xe,_0x2564x4){FreshdeskField[_0x81b7[13]]()[_0x81b7[8]](responseWithResult(_0x2564x4))[_0x81b7[12]](handleError(_0x2564x4))};exports[_0x81b7[14]]=function(_0x2564xe,_0x2564x4){FreshdeskField[_0x81b7[17]](_0x2564xe[_0x81b7[16]][_0x81b7[15]])[_0x81b7[8]](handleEntityNotFound(_0x2564x4))[_0x81b7[8]](responseWithResult(_0x2564x4))[_0x81b7[12]](handleError(_0x2564x4))};exports[_0x81b7[18]]=function(_0x2564xe,_0x2564x4){FreshdeskField[_0x81b7[18]](_0x2564xe[_0x81b7[19]])[_0x81b7[8]](responseWithResult(_0x2564x4,201))[_0x81b7[12]](handleError(_0x2564x4))};exports[_0x81b7[20]]=function(_0x2564xe,_0x2564x4){if(_0x2564xe[_0x81b7[19]][_0x81b7[15]]){delete _0x2564xe[_0x81b7[19]][_0x81b7[15]]};FreshdeskField[_0x81b7[17]](_0x2564xe[_0x81b7[16]][_0x81b7[15]])[_0x81b7[8]](handleEntityNotFound(_0x2564x4))[_0x81b7[8]](saveUpdates(_0x2564xe[_0x81b7[19]]))[_0x81b7[8]](responseWithResult(_0x2564x4))[_0x81b7[12]](handleError(_0x2564x4));};exports[_0x81b7[10]]=function(_0x2564xe,_0x2564x4){FreshdeskField[_0x81b7[17]](_0x2564xe[_0x81b7[16]][_0x81b7[15]])[_0x81b7[8]](handleEntityNotFound(_0x2564x4))[_0x81b7[8]](removeEntity(_0x2564x4))[_0x81b7[12]](handleError(_0x2564x4))};
\ No newline at end of file
index d773b6f..92f8f3b 100644 (file)
@@ -1 +1 @@
-var _0x623d=["\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"];_0x623d[0];var FreshdeskField=require(_0x623d[2])[_0x623d[1]];exports[_0x623d[3]]=function(_0x2695x2){FreshdeskField[_0x623d[4]](function(_0x2695x3){onSave(_0x2695x2,_0x2695x3)});FreshdeskField[_0x623d[5]](function(_0x2695x3){onRemove(_0x2695x2,_0x2695x3)});};function onSave(_0x2695x2,_0x2695x3,_0x2695x5){_0x2695x2[_0x623d[7]](_0x623d[6],_0x2695x3)}function onRemove(_0x2695x2,_0x2695x3,_0x2695x5){_0x2695x2[_0x623d[7]](_0x623d[8],_0x2695x3)}
\ No newline at end of file
+var _0xdf58=["\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"];_0xdf58[0];var FreshdeskField=require(_0xdf58[2])[_0xdf58[1]];exports[_0xdf58[3]]=function(_0xa376x2){FreshdeskField[_0xdf58[4]](function(_0xa376x3){onSave(_0xa376x2,_0xa376x3)});FreshdeskField[_0xdf58[5]](function(_0xa376x3){onRemove(_0xa376x2,_0xa376x3)});};function onSave(_0xa376x2,_0xa376x3,_0xa376x5){_0xa376x2[_0xdf58[7]](_0xdf58[6],_0xa376x3)}function onRemove(_0xa376x2,_0xa376x3,_0xa376x5){_0xa376x2[_0xdf58[7]](_0xdf58[8],_0xa376x3)}
\ No newline at end of file
index 9d16962..385e59b 100644 (file)
@@ -1 +1 @@
-var _0x5fdd=["\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"];_0x5fdd[0];var express=require(_0x5fdd[1]);var auth=require(_0x5fdd[2]);var controller=require(_0x5fdd[3]);var router=express.Router();router[_0x5fdd[7]](_0x5fdd[4],auth[_0x5fdd[5]](),controller[_0x5fdd[6]]);router[_0x5fdd[7]](_0x5fdd[8],auth[_0x5fdd[5]](),controller[_0x5fdd[9]]);router[_0x5fdd[11]](_0x5fdd[4],auth[_0x5fdd[5]](),controller[_0x5fdd[10]]);router[_0x5fdd[13]](_0x5fdd[8],auth[_0x5fdd[5]](),controller[_0x5fdd[12]]);router[_0x5fdd[14]](_0x5fdd[8],auth[_0x5fdd[5]](),controller[_0x5fdd[12]]);router[_0x5fdd[16]](_0x5fdd[8],auth[_0x5fdd[5]](),controller[_0x5fdd[15]]);module[_0x5fdd[17]]=router;
\ No newline at end of file
+var _0xf101=["\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"];_0xf101[0];var express=require(_0xf101[1]);var auth=require(_0xf101[2]);var controller=require(_0xf101[3]);var router=express.Router();router[_0xf101[7]](_0xf101[4],auth[_0xf101[5]](),controller[_0xf101[6]]);router[_0xf101[7]](_0xf101[8],auth[_0xf101[5]](),controller[_0xf101[9]]);router[_0xf101[11]](_0xf101[4],auth[_0xf101[5]](),controller[_0xf101[10]]);router[_0xf101[13]](_0xf101[8],auth[_0xf101[5]](),controller[_0xf101[12]]);router[_0xf101[14]](_0xf101[8],auth[_0xf101[5]](),controller[_0xf101[12]]);router[_0xf101[16]](_0xf101[8],auth[_0xf101[5]](),controller[_0xf101[15]]);module[_0xf101[17]]=router;
\ No newline at end of file
index 2321d5b..7065932 100644 (file)
@@ -1 +1 @@
-var _0xf55b=["\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"];_0xf55b[0];var proxyquire=require(_0xf55b[2])[_0xf55b[1]]();var freshdeskFieldCtrlStub={index:_0xf55b[3],show:_0xf55b[4],create:_0xf55b[5],update:_0xf55b[6],destroy:_0xf55b[7]};var routerStub={get:sinon[_0xf55b[8]](),put:sinon[_0xf55b[8]](),patch:sinon[_0xf55b[8]](),post:sinon[_0xf55b[8]](),delete:sinon[_0xf55b[8]]()};var freshdeskFieldIndex=proxyquire(_0xf55b[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(_0xf55b[10],function(){it(_0xf55b[11],function(){expect(freshdeskFieldIndex)[_0xf55b[13]][_0xf55b[12]](routerStub)});describe(_0xf55b[14],function(){it(_0xf55b[15],function(){expect(routerStub[_0xf55b[21]][_0xf55b[20]](_0xf55b[19],_0xf55b[3]))[_0xf55b[13]][_0xf55b[18]][_0xf55b[17]][_0xf55b[16]]})});describe(_0xf55b[22],function(){it(_0xf55b[23],function(){expect(routerStub[_0xf55b[21]][_0xf55b[20]](_0xf55b[24],_0xf55b[4]))[_0xf55b[13]][_0xf55b[18]][_0xf55b[17]][_0xf55b[16]]})});describe(_0xf55b[25],function(){it(_0xf55b[26],function(){expect(routerStub[_0xf55b[27]][_0xf55b[20]](_0xf55b[19],_0xf55b[5]))[_0xf55b[13]][_0xf55b[18]][_0xf55b[17]][_0xf55b[16]]})});describe(_0xf55b[28],function(){it(_0xf55b[29],function(){expect(routerStub[_0xf55b[30]][_0xf55b[20]](_0xf55b[24],_0xf55b[6]))[_0xf55b[13]][_0xf55b[18]][_0xf55b[17]][_0xf55b[16]]})});describe(_0xf55b[31],function(){it(_0xf55b[29],function(){expect(routerStub[_0xf55b[32]][_0xf55b[20]](_0xf55b[24],_0xf55b[6]))[_0xf55b[13]][_0xf55b[18]][_0xf55b[17]][_0xf55b[16]]})});describe(_0xf55b[33],function(){it(_0xf55b[34],function(){expect(routerStub[_0xf55b[35]][_0xf55b[20]](_0xf55b[24],_0xf55b[7]))[_0xf55b[13]][_0xf55b[18]][_0xf55b[17]][_0xf55b[16]]})});});
\ No newline at end of file
+var _0xd40d=["\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"];_0xd40d[0];var proxyquire=require(_0xd40d[2])[_0xd40d[1]]();var freshdeskFieldCtrlStub={index:_0xd40d[3],show:_0xd40d[4],create:_0xd40d[5],update:_0xd40d[6],destroy:_0xd40d[7]};var routerStub={get:sinon[_0xd40d[8]](),put:sinon[_0xd40d[8]](),patch:sinon[_0xd40d[8]](),post:sinon[_0xd40d[8]](),delete:sinon[_0xd40d[8]]()};var freshdeskFieldIndex=proxyquire(_0xd40d[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(_0xd40d[10],function(){it(_0xd40d[11],function(){expect(freshdeskFieldIndex)[_0xd40d[13]][_0xd40d[12]](routerStub)});describe(_0xd40d[14],function(){it(_0xd40d[15],function(){expect(routerStub[_0xd40d[21]][_0xd40d[20]](_0xd40d[19],_0xd40d[3]))[_0xd40d[13]][_0xd40d[18]][_0xd40d[17]][_0xd40d[16]]})});describe(_0xd40d[22],function(){it(_0xd40d[23],function(){expect(routerStub[_0xd40d[21]][_0xd40d[20]](_0xd40d[24],_0xd40d[4]))[_0xd40d[13]][_0xd40d[18]][_0xd40d[17]][_0xd40d[16]]})});describe(_0xd40d[25],function(){it(_0xd40d[26],function(){expect(routerStub[_0xd40d[27]][_0xd40d[20]](_0xd40d[19],_0xd40d[5]))[_0xd40d[13]][_0xd40d[18]][_0xd40d[17]][_0xd40d[16]]})});describe(_0xd40d[28],function(){it(_0xd40d[29],function(){expect(routerStub[_0xd40d[30]][_0xd40d[20]](_0xd40d[24],_0xd40d[6]))[_0xd40d[13]][_0xd40d[18]][_0xd40d[17]][_0xd40d[16]]})});describe(_0xd40d[31],function(){it(_0xd40d[29],function(){expect(routerStub[_0xd40d[32]][_0xd40d[20]](_0xd40d[24],_0xd40d[6]))[_0xd40d[13]][_0xd40d[18]][_0xd40d[17]][_0xd40d[16]]})});describe(_0xd40d[33],function(){it(_0xd40d[34],function(){expect(routerStub[_0xd40d[35]][_0xd40d[20]](_0xd40d[24],_0xd40d[7]))[_0xd40d[13]][_0xd40d[18]][_0xd40d[17]][_0xd40d[16]]})});});
\ No newline at end of file
index 6bf05f0..69f47e6 100644 (file)
@@ -1 +1 @@
-var _0x6b87=["\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","\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"];_0x6b87[0];var express=require(_0x6b87[1]);var controller=require(_0x6b87[2]);var router=express.Router();router[_0x6b87[5]](_0x6b87[3],controller[_0x6b87[4]]);router[_0x6b87[5]](_0x6b87[6],controller[_0x6b87[7]]);router[_0x6b87[9]](_0x6b87[3],controller[_0x6b87[8]]);router[_0x6b87[11]](_0x6b87[6],controller[_0x6b87[10]]);router[_0x6b87[12]](_0x6b87[6],controller[_0x6b87[10]]);router[_0x6b87[14]](_0x6b87[6],controller[_0x6b87[13]]);module[_0x6b87[15]]=router;
\ No newline at end of file
+var _0x12d3=["\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","\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"];_0x12d3[0];var express=require(_0x12d3[1]);var controller=require(_0x12d3[2]);var router=express.Router();router[_0x12d3[5]](_0x12d3[3],controller[_0x12d3[4]]);router[_0x12d3[5]](_0x12d3[6],controller[_0x12d3[7]]);router[_0x12d3[9]](_0x12d3[3],controller[_0x12d3[8]]);router[_0x12d3[11]](_0x12d3[6],controller[_0x12d3[10]]);router[_0x12d3[12]](_0x12d3[6],controller[_0x12d3[10]]);router[_0x12d3[14]](_0x12d3[6],controller[_0x12d3[13]]);module[_0x12d3[15]]=router;
\ No newline at end of file
index 987d060..eb533ae 100644 (file)
@@ -1 +1 @@
-var _0x280b=["\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","\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","\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","\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","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79"];_0x280b[0];var _=require(_0x280b[1]);var uploadFile=require(_0x280b[2]);var config=require(_0x280b[3]);var path=require(_0x280b[4]);var sr=require(_0x280b[5]);var admZip=require(_0x280b[6]);var str2json=require(_0x280b[7]);var fs=require(_0x280b[8]);var Integration=require(_0x280b[10])[_0x280b[9]];exports[_0x280b[11]]=function(_0xc582xa,_0xc582xb){Integration[_0x280b[17]]({where:_0xc582xa[_0x280b[16]]})[_0x280b[15]](function(_0xc582xd){return _0xc582xb[_0x280b[14]](200)[_0x280b[13]](_0xc582xd)})[_0x280b[12]](function(_0xc582xc){return handleError(_0xc582xb,_0xc582xc)})};exports[_0x280b[18]]=function(_0xc582xa,_0xc582xb){Integration[_0x280b[22]](_0xc582xa[_0x280b[21]][_0x280b[20]])[_0x280b[15]](function(_0xc582xe){if(!_0xc582xe){return _0xc582xb[_0x280b[19]](404)};return _0xc582xb[_0x280b[13]](_0xc582xe);})[_0x280b[12]](function(_0xc582xc){return handleError(_0xc582xb,_0xc582xc)})};exports[_0x280b[23]]=function(_0xc582xa,_0xc582xb){var _0xc582xf= new uploadFile({dest:path[_0x280b[26]](config[_0x280b[24]],_0x280b[25]),maxFileSize:5*1000000,maxNumberOfFiles:1,minNumberOfFiles:1,acceptFileTypes:/(\.|\/)(zip)$/i,messages:{maxNumberOfFiles:_0x280b[27],acceptFileTypes:_0x280b[28],maxFileSize:_0x280b[29],invalidRequest:_0x280b[30]}});_0xc582xf[_0x280b[48]](_0x280b[31],function(_0xc582x10,_0xc582x11){var _0xc582x12= new admZip(_0xc582x11[_0x280b[32]][_0x280b[4]]);var _0xc582x13=false;var _0xc582x14=_0xc582x12[_0x280b[33]]();_0xc582x14[_0x280b[44]](function(_0xc582x15){if(_0xc582x15[_0x280b[34]]===_0x280b[35]){var _0xc582x16=_0xc582x15[_0x280b[37]]().toString(_0x280b[36]);console[_0x280b[39]](_0x280b[38],_0xc582x16);try{_0xc582x13=JSON[_0x280b[40]](_0xc582x16);console[_0x280b[39]](_0x280b[38],_0xc582x13);Integration[_0x280b[23]](_[_0x280b[42]](_0xc582x11[_0x280b[32]],_0xc582x13))[_0x280b[15]](function(_0xc582xe){_0xc582x12[_0x280b[41]](path[_0x280b[26]](config[_0x280b[24]],_0x280b[25]),true);return _0xc582xb[_0x280b[14]](201)[_0x280b[13]](_0xc582xe);})[_0x280b[12]](function(_0xc582xc){return handleError(_0xc582xb,_0xc582xc)});}catch(e){console[_0x280b[39]](e);var _0xc582xc={errors:[{type:_0x280b[43],message:e}]};return handleError(_0xc582xb,_0xc582xc);};}});fs[_0x280b[45]](_0xc582x11[_0x280b[32]][_0x280b[4]]);if(!_0xc582x13){var _0xc582xc={errors:[{type:_0x280b[46],message:_0x280b[47]}]};return handleError(_0xc582xb,_0xc582xc);};});_0xc582xf[_0x280b[48]](_0x280b[49],function(_0xc582x17){var _0xc582xc={errors:[{type:_0x280b[50],message:_0xc582x17}]};return handleError(_0xc582xb,_0xc582xc);});_0xc582xf[_0x280b[40]](_0xc582xa);};exports[_0x280b[51]]=function(_0xc582xa,_0xc582xb){if(_0xc582xa[_0x280b[52]][_0x280b[20]]){delete _0xc582xa[_0x280b[52]][_0x280b[20]]};Integration[_0x280b[54]]({where:{id:_0xc582xa[_0x280b[21]][_0x280b[20]]}})[_0x280b[15]](function(_0xc582xe){if(!_0xc582xe){return _0xc582xb[_0x280b[19]](404)};var _0xc582x18=_[_0x280b[42]](_0xc582xe,_0xc582xa[_0x280b[52]]);_0xc582x18[_0x280b[53]]()[_0x280b[15]](function(){return _0xc582xb[_0x280b[14]](200)[_0x280b[13]](_0xc582xe)})[_0x280b[12]](function(_0xc582xc){return handleError(_0xc582xb,_0xc582xc)});})[_0x280b[12]](function(_0xc582xc){return handleError(_0xc582xb,_0xc582xc)});};exports[_0x280b[55]]=function(_0xc582xa,_0xc582xb){Integration[_0x280b[54]]({where:{id:_0xc582xa[_0x280b[21]][_0x280b[20]]}})[_0x280b[15]](function(_0xc582xe){if(!_0xc582xe){return _0xc582xb[_0x280b[19]](404)};_0xc582xe[_0x280b[55]]()[_0x280b[15]](function(){return _0xc582xb[_0x280b[19]](204)})[_0x280b[12]](function(_0xc582xc){return handleError(_0xc582xb,_0xc582xc)});})[_0x280b[12]](function(_0xc582xc){return handleError(_0xc582xb,_0xc582xc)})};function handleError(_0xc582xb,_0xc582xc){return _0xc582xb[_0x280b[14]](500)[_0x280b[13]](_0xc582xc)}
\ No newline at end of file
+var _0x9671=["\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","\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","\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","\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","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79"];_0x9671[0];var _=require(_0x9671[1]);var uploadFile=require(_0x9671[2]);var config=require(_0x9671[3]);var path=require(_0x9671[4]);var sr=require(_0x9671[5]);var admZip=require(_0x9671[6]);var str2json=require(_0x9671[7]);var fs=require(_0x9671[8]);var Integration=require(_0x9671[10])[_0x9671[9]];exports[_0x9671[11]]=function(_0xe2e2xa,_0xe2e2xb){Integration[_0x9671[17]]({where:_0xe2e2xa[_0x9671[16]]})[_0x9671[15]](function(_0xe2e2xd){return _0xe2e2xb[_0x9671[14]](200)[_0x9671[13]](_0xe2e2xd)})[_0x9671[12]](function(_0xe2e2xc){return handleError(_0xe2e2xb,_0xe2e2xc)})};exports[_0x9671[18]]=function(_0xe2e2xa,_0xe2e2xb){Integration[_0x9671[22]](_0xe2e2xa[_0x9671[21]][_0x9671[20]])[_0x9671[15]](function(_0xe2e2xe){if(!_0xe2e2xe){return _0xe2e2xb[_0x9671[19]](404)};return _0xe2e2xb[_0x9671[13]](_0xe2e2xe);})[_0x9671[12]](function(_0xe2e2xc){return handleError(_0xe2e2xb,_0xe2e2xc)})};exports[_0x9671[23]]=function(_0xe2e2xa,_0xe2e2xb){var _0xe2e2xf= new uploadFile({dest:path[_0x9671[26]](config[_0x9671[24]],_0x9671[25]),maxFileSize:5*1000000,maxNumberOfFiles:1,minNumberOfFiles:1,acceptFileTypes:/(\.|\/)(zip)$/i,messages:{maxNumberOfFiles:_0x9671[27],acceptFileTypes:_0x9671[28],maxFileSize:_0x9671[29],invalidRequest:_0x9671[30]}});_0xe2e2xf[_0x9671[48]](_0x9671[31],function(_0xe2e2x10,_0xe2e2x11){var _0xe2e2x12= new admZip(_0xe2e2x11[_0x9671[32]][_0x9671[4]]);var _0xe2e2x13=false;var _0xe2e2x14=_0xe2e2x12[_0x9671[33]]();_0xe2e2x14[_0x9671[44]](function(_0xe2e2x15){if(_0xe2e2x15[_0x9671[34]]===_0x9671[35]){var _0xe2e2x16=_0xe2e2x15[_0x9671[37]]().toString(_0x9671[36]);console[_0x9671[39]](_0x9671[38],_0xe2e2x16);try{_0xe2e2x13=JSON[_0x9671[40]](_0xe2e2x16);console[_0x9671[39]](_0x9671[38],_0xe2e2x13);Integration[_0x9671[23]](_[_0x9671[42]](_0xe2e2x11[_0x9671[32]],_0xe2e2x13))[_0x9671[15]](function(_0xe2e2xe){_0xe2e2x12[_0x9671[41]](path[_0x9671[26]](config[_0x9671[24]],_0x9671[25]),true);return _0xe2e2xb[_0x9671[14]](201)[_0x9671[13]](_0xe2e2xe);})[_0x9671[12]](function(_0xe2e2xc){return handleError(_0xe2e2xb,_0xe2e2xc)});}catch(e){console[_0x9671[39]](e);var _0xe2e2xc={errors:[{type:_0x9671[43],message:e}]};return handleError(_0xe2e2xb,_0xe2e2xc);};}});fs[_0x9671[45]](_0xe2e2x11[_0x9671[32]][_0x9671[4]]);if(!_0xe2e2x13){var _0xe2e2xc={errors:[{type:_0x9671[46],message:_0x9671[47]}]};return handleError(_0xe2e2xb,_0xe2e2xc);};});_0xe2e2xf[_0x9671[48]](_0x9671[49],function(_0xe2e2x17){var _0xe2e2xc={errors:[{type:_0x9671[50],message:_0xe2e2x17}]};return handleError(_0xe2e2xb,_0xe2e2xc);});_0xe2e2xf[_0x9671[40]](_0xe2e2xa);};exports[_0x9671[51]]=function(_0xe2e2xa,_0xe2e2xb){if(_0xe2e2xa[_0x9671[52]][_0x9671[20]]){delete _0xe2e2xa[_0x9671[52]][_0x9671[20]]};Integration[_0x9671[54]]({where:{id:_0xe2e2xa[_0x9671[21]][_0x9671[20]]}})[_0x9671[15]](function(_0xe2e2xe){if(!_0xe2e2xe){return _0xe2e2xb[_0x9671[19]](404)};var _0xe2e2x18=_[_0x9671[42]](_0xe2e2xe,_0xe2e2xa[_0x9671[52]]);_0xe2e2x18[_0x9671[53]]()[_0x9671[15]](function(){return _0xe2e2xb[_0x9671[14]](200)[_0x9671[13]](_0xe2e2xe)})[_0x9671[12]](function(_0xe2e2xc){return handleError(_0xe2e2xb,_0xe2e2xc)});})[_0x9671[12]](function(_0xe2e2xc){return handleError(_0xe2e2xb,_0xe2e2xc)});};exports[_0x9671[55]]=function(_0xe2e2xa,_0xe2e2xb){Integration[_0x9671[54]]({where:{id:_0xe2e2xa[_0x9671[21]][_0x9671[20]]}})[_0x9671[15]](function(_0xe2e2xe){if(!_0xe2e2xe){return _0xe2e2xb[_0x9671[19]](404)};_0xe2e2xe[_0x9671[55]]()[_0x9671[15]](function(){return _0xe2e2xb[_0x9671[19]](204)})[_0x9671[12]](function(_0xe2e2xc){return handleError(_0xe2e2xb,_0xe2e2xc)});})[_0x9671[12]](function(_0xe2e2xc){return handleError(_0xe2e2xb,_0xe2e2xc)})};function handleError(_0xe2e2xb,_0xe2e2xc){return _0xe2e2xb[_0x9671[14]](500)[_0x9671[13]](_0xe2e2xc)}
\ No newline at end of file
index 972cf7d..d30141a 100644 (file)
@@ -1 +1 @@
-var _0xb70f=["\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"];_0xb70f[0];var Integration=require(_0xb70f[2])[_0xb70f[1]];exports[_0xb70f[3]]=function(_0x9033x2){Integration[_0xb70f[4]](function(_0x9033x3){onSave(_0x9033x2,_0x9033x3)});Integration[_0xb70f[5]](function(_0x9033x3){onSave(_0x9033x2,_0x9033x3)});Integration[_0xb70f[6]](function(_0x9033x3){onRemove(_0x9033x2,_0x9033x3)});};function onSave(_0x9033x2,_0x9033x3,_0x9033x5){_0x9033x2[_0xb70f[8]](_0xb70f[7],_0x9033x3)}function onRemove(_0x9033x2,_0x9033x3,_0x9033x5){_0x9033x2[_0xb70f[8]](_0xb70f[9],_0x9033x3)}
\ No newline at end of file
+var _0x4fee=["\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"];_0x4fee[0];var Integration=require(_0x4fee[2])[_0x4fee[1]];exports[_0x4fee[3]]=function(_0x1b15x2){Integration[_0x4fee[4]](function(_0x1b15x3){onSave(_0x1b15x2,_0x1b15x3)});Integration[_0x4fee[5]](function(_0x1b15x3){onSave(_0x1b15x2,_0x1b15x3)});Integration[_0x4fee[6]](function(_0x1b15x3){onRemove(_0x1b15x2,_0x1b15x3)});};function onSave(_0x1b15x2,_0x1b15x3,_0x1b15x5){_0x1b15x2[_0x4fee[8]](_0x4fee[7],_0x1b15x3)}function onRemove(_0x1b15x2,_0x1b15x3,_0x1b15x5){_0x1b15x2[_0x4fee[8]](_0x4fee[9],_0x1b15x3)}
\ No newline at end of file
index d2fbaf5..f3edf61 100644 (file)
@@ -1 +1 @@
-var _0x8912=["\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\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\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\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73","\x67\x65\x74"];_0x8912[0];var should=require(_0x8912[1]);var app=require(_0x8912[2]);var request=require(_0x8912[3]);describe(_0x8912[4],function(){it(_0x8912[5],function(_0xaf28x4){request(app)[_0x8912[13]](_0x8912[12])[_0x8912[11]](200)[_0x8912[11]](_0x8912[10],/json/)[_0x8912[9]](function(_0xaf28x5,_0xaf28x6){if(_0xaf28x5){return _0xaf28x4(_0xaf28x5)};_0xaf28x6[_0x8912[8]][_0x8912[1]][_0x8912[7]][_0x8912[6]](Array);_0xaf28x4();})})});
\ No newline at end of file
+var _0x3ae3=["\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\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\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\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73","\x67\x65\x74"];_0x3ae3[0];var should=require(_0x3ae3[1]);var app=require(_0x3ae3[2]);var request=require(_0x3ae3[3]);describe(_0x3ae3[4],function(){it(_0x3ae3[5],function(_0x584dx4){request(app)[_0x3ae3[13]](_0x3ae3[12])[_0x3ae3[11]](200)[_0x3ae3[11]](_0x3ae3[10],/json/)[_0x3ae3[9]](function(_0x584dx5,_0x584dx6){if(_0x584dx5){return _0x584dx4(_0x584dx5)};_0x584dx6[_0x3ae3[8]][_0x3ae3[1]][_0x3ae3[7]][_0x3ae3[6]](Array);_0x584dx4();})})});
\ No newline at end of file
index 792a557..5b5cff0 100644 (file)
@@ -1 +1 @@
-var _0xc029=["\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","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x61\x6C\x6C","\x67\x65\x74\x41\x6C\x6C","\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","\x69\x6E\x74\x65\x72\x76\x61\x6C\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"];_0xc029[0];var express=require(_0xc029[1]);var controller=require(_0xc029[2]);var auth=require(_0xc029[3]);var router=express.Router();router[_0xc029[7]](_0xc029[4],auth[_0xc029[5]](),controller[_0xc029[6]]);router[_0xc029[7]](_0xc029[8],auth[_0xc029[5]](),controller[_0xc029[9]]);router[_0xc029[7]](_0xc029[10],auth[_0xc029[5]](),controller[_0xc029[11]]);router[_0xc029[13]](_0xc029[4],auth[_0xc029[5]](),controller[_0xc029[12]]);router[_0xc029[13]](_0xc029[14],auth[_0xc029[5]](),controller[_0xc029[15]]);router[_0xc029[17]](_0xc029[10],auth[_0xc029[5]](),controller[_0xc029[16]]);router[_0xc029[19]](_0xc029[4],auth[_0xc029[5]](),controller[_0xc029[18]]);router[_0xc029[19]](_0xc029[10],auth[_0xc029[5]](),controller[_0xc029[20]]);module[_0xc029[21]]=router;
\ No newline at end of file
+var _0xa373=["\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","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x61\x6C\x6C","\x67\x65\x74\x41\x6C\x6C","\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","\x69\x6E\x74\x65\x72\x76\x61\x6C\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"];_0xa373[0];var express=require(_0xa373[1]);var controller=require(_0xa373[2]);var auth=require(_0xa373[3]);var router=express.Router();router[_0xa373[7]](_0xa373[4],auth[_0xa373[5]](),controller[_0xa373[6]]);router[_0xa373[7]](_0xa373[8],auth[_0xa373[5]](),controller[_0xa373[9]]);router[_0xa373[7]](_0xa373[10],auth[_0xa373[5]](),controller[_0xa373[11]]);router[_0xa373[13]](_0xa373[4],auth[_0xa373[5]](),controller[_0xa373[12]]);router[_0xa373[13]](_0xa373[14],auth[_0xa373[5]](),controller[_0xa373[15]]);router[_0xa373[17]](_0xa373[10],auth[_0xa373[5]](),controller[_0xa373[16]]);router[_0xa373[19]](_0xa373[4],auth[_0xa373[5]](),controller[_0xa373[18]]);router[_0xa373[19]](_0xa373[10],auth[_0xa373[5]](),controller[_0xa373[20]]);module[_0xa373[21]]=router;
\ No newline at end of file
index dbde108..4eacd86 100644 (file)
@@ -1 +1 @@
-var _0xcd1d=["\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","\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\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","\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","\x67\x65\x74\x41\x6C\x6C","\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","\x69\x6E\x74\x65\x72\x76\x61\x6C\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64","\x6C\x6F\x67","\x63\x72\x65\x61\x74\x65","\x46\x69\x6E\x64\x69\x6E\x67\x20\x61\x70\x70\x20\x72\x6F\x77\x2E\x2E\x2E\x2E\x2E","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x53\x55\x42\x49\x4E\x54\x45\x52\x56\x41\x4C","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x49\x4E\x54\x45\x52\x56\x41\x4C","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\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","\x67\x65\x74\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73"];_0xcd1d[0];var _=require(_0xcd1d[1]);var Interval=require(_0xcd1d[3])[_0xcd1d[2]];var VoiceExtension=require(_0xcd1d[3])[_0xcd1d[4]];var sequelize=require(_0xcd1d[3])[_0xcd1d[5]];var util=require(_0xcd1d[6]);exports[_0xcd1d[7]]=function(_0x3e44x6,_0x3e44x7){var _0x3e44x8=[_0xcd1d[8]];var _0x3e44x9=_0x3e44x6[_0xcd1d[10]][_0xcd1d[9]]?parseInt(_0x3e44x6[_0xcd1d[10]][_0xcd1d[9]],10):100;var _0x3e44xa=_0x3e44x6[_0xcd1d[10]][_0xcd1d[11]]?parseInt(_0x3e44x6[_0xcd1d[10]][_0xcd1d[11]],10):0;var _0x3e44xb={where:{IntervalId:null},limit:_0x3e44x9,offset:_0x3e44xa*_0x3e44x9};_[_0xcd1d[25]](_0x3e44x6[_0xcd1d[10]],function(_0x3e44xc,_0x3e44xd){switch(_0x3e44xd){case _0xcd1d[9]:;case _0xcd1d[11]:break ;;case _0xcd1d[14]:_0x3e44xb[_0xcd1d[12]]=util[_0xcd1d[17]](_0xcd1d[13],_0x3e44x6[_0xcd1d[10]][_0xcd1d[14]],_0x3e44x6[_0xcd1d[10]][_0xcd1d[15]]||_0xcd1d[16])||null;break ;;case _0xcd1d[15]:break ;;case _0xcd1d[23]:_0x3e44xb[_0xcd1d[19]][_0xcd1d[18]]=[];_0x3e44x8[_0xcd1d[22]](function(_0x3e44xe){var _0x3e44xf={};_0x3e44xf[_0x3e44xe]={$like:_0xcd1d[20]+_0x3e44xc+_0xcd1d[20]};_0x3e44xb[_0xcd1d[19]][_0xcd1d[18]][_0xcd1d[21]](_0x3e44xf);});break ;;default:_0x3e44xb[_0xcd1d[19]][_0x3e44xd]={$like:{}};_0x3e44xb[_0xcd1d[19]][_0x3e44xd][_0xcd1d[24]]=_0xcd1d[20]+_0x3e44xc+_0xcd1d[20];;}});Interval[_0xcd1d[30]](_0x3e44xb)[_0xcd1d[29]](function(_0x3e44x11){return _0x3e44x7[_0xcd1d[28]](200)[_0xcd1d[27]](_0x3e44x11)})[_0xcd1d[26]](function(_0x3e44x10){return handleError(_0x3e44x7,_0x3e44x10)});};exports[_0xcd1d[31]]=function(_0x3e44x6,_0x3e44x7){Interval[_0xcd1d[32]]()[_0xcd1d[29]](function(_0x3e44x11){return _0x3e44x7[_0xcd1d[28]](200)[_0xcd1d[27]](_0x3e44x11)})[_0xcd1d[26]](function(_0x3e44x10){return handleError(_0x3e44x7,_0x3e44x10)})};exports[_0xcd1d[33]]=function(_0x3e44x6,_0x3e44x7){Interval[_0xcd1d[37]](_0x3e44x6[_0xcd1d[36]][_0xcd1d[35]],{include:[{all:true}]})[_0xcd1d[29]](function(_0x3e44x12){if(!_0x3e44x12){return _0x3e44x7[_0xcd1d[34]](404)};return _0x3e44x7[_0xcd1d[27]](_0x3e44x12);})[_0xcd1d[26]](function(_0x3e44x10){return handleError(_0x3e44x7,_0x3e44x10)})};exports[_0xcd1d[38]]=function(_0x3e44x6,_0x3e44x7){var _0x3e44x13={name:_0x3e44x6[_0xcd1d[39]][_0xcd1d[8]],IntervalId:_0x3e44x6[_0xcd1d[39]][_0xcd1d[40]]?_0x3e44x6[_0xcd1d[39]][_0xcd1d[40]]:null};if(_0x3e44x6[_0xcd1d[39]][_0xcd1d[35]]){_0x3e44x13[_0xcd1d[35]]={$ne:_0x3e44x6[_0xcd1d[39]][_0xcd1d[35]]}};console[_0xcd1d[41]](_0x3e44x6[_0xcd1d[39]]);Interval[_0xcd1d[32]]({where:_0x3e44x13})[_0xcd1d[29]](function(_0x3e44x11){if(!_0x3e44x11){return _0x3e44x7[_0xcd1d[34]](404)};return _0x3e44x7[_0xcd1d[27]](_0x3e44x11);})[_0xcd1d[26]](function(_0x3e44x10){return handleError(_0x3e44x7,_0x3e44x10)});};exports[_0xcd1d[42]]=function(_0x3e44x6,_0x3e44x7){Interval[_0xcd1d[32]]({where:{name:_0x3e44x6[_0xcd1d[39]][_0xcd1d[8]],IntervalId:_0x3e44x6[_0xcd1d[39]][_0xcd1d[40]]?_0x3e44x6[_0xcd1d[39]][_0xcd1d[40]]:null}})[_0xcd1d[29]](function(_0x3e44x14){console[_0xcd1d[41]](_0x3e44x14);console[_0xcd1d[41]](_0xcd1d[43]);if(!_0x3e44x14){return _0x3e44x7[_0xcd1d[34]](404)};if(_0x3e44x14[_0xcd1d[44]]>0){return _0x3e44x7[_0xcd1d[28]](500)[_0xcd1d[27]]({message:_0x3e44x6[_0xcd1d[39]][_0xcd1d[40]]?_0xcd1d[45]:_0xcd1d[46]})};Interval[_0xcd1d[42]](_0x3e44x6[_0xcd1d[39]])[_0xcd1d[29]](function(_0x3e44x12){return _0x3e44x7[_0xcd1d[28]](201)[_0xcd1d[27]](_0x3e44x12)})[_0xcd1d[26]](function(_0x3e44x10){return handleError(_0x3e44x7,_0x3e44x10)});})[_0xcd1d[26]](function(_0x3e44x10){return handleError(_0x3e44x7,_0x3e44x10)})};exports[_0xcd1d[47]]=function(_0x3e44x6,_0x3e44x7){Interval[_0xcd1d[32]]({where:{name:_0x3e44x6[_0xcd1d[39]][_0xcd1d[8]],IntervalId:_0x3e44x6[_0xcd1d[39]][_0xcd1d[40]]?_0x3e44x6[_0xcd1d[39]][_0xcd1d[40]]:null,id:{$ne:_0x3e44x6[_0xcd1d[39]][_0xcd1d[35]]}}})[_0xcd1d[29]](function(_0x3e44x14){console[_0xcd1d[41]](_0x3e44x14);console[_0xcd1d[41]](_0xcd1d[43]);if(!_0x3e44x14){return _0x3e44x7[_0xcd1d[34]](404)};if(_0x3e44x14[_0xcd1d[44]]>0){return _0x3e44x7[_0xcd1d[28]](500)[_0xcd1d[27]]({message:_0x3e44x6[_0xcd1d[39]][_0xcd1d[40]]?_0xcd1d[45]:_0xcd1d[46]})};if(_0x3e44x6[_0xcd1d[39]][_0xcd1d[35]]){delete _0x3e44x6[_0xcd1d[39]][_0xcd1d[35]]};Interval[_0xcd1d[51]]({where:{id:_0x3e44x6[_0xcd1d[36]][_0xcd1d[35]]}})[_0xcd1d[29]](function(_0x3e44x12){if(!_0x3e44x12){return _0x3e44x7[_0xcd1d[34]](404)};var _0x3e44x15=_[_0xcd1d[48]](_0x3e44x12,_0x3e44x6[_0xcd1d[39]]);return sequelize[_0xcd1d[50]](function(_0x3e44x16){return _0x3e44x15[_0xcd1d[49]]({transaction:_0x3e44x16})[_0xcd1d[29]](function(_0x3e44x12){VoiceExtension[_0xcd1d[47]]({interval:_0x3e44x12[_0xcd1d[8]]},{where:{IntervalId:_0x3e44x12[_0xcd1d[35]]}},{transaction:_0x3e44x16})})})[_0xcd1d[29]](function(){return _0x3e44x7[_0xcd1d[28]](200)[_0xcd1d[27]](_0x3e44x12)})[_0xcd1d[26]](function(_0x3e44x10){return handleError(_0x3e44x7,_0x3e44x10)});})[_0xcd1d[26]](function(_0x3e44x10){return handleError(_0x3e44x7,_0x3e44x10)});})[_0xcd1d[26]](function(_0x3e44x10){return handleError(_0x3e44x7,_0x3e44x10)})};exports[_0xcd1d[52]]=function(_0x3e44x6,_0x3e44x7){Interval[_0xcd1d[37]](_0x3e44x6[_0xcd1d[36]][_0xcd1d[35]])[_0xcd1d[29]](function(_0x3e44x12){if(!_0x3e44x12){return _0x3e44x7[_0xcd1d[34]](404)};_0x3e44x12[_0xcd1d[54]]({where:{isApp:true}})[_0xcd1d[29]](function(_0x3e44x17){console[_0xcd1d[41]](_0x3e44x17[_0xcd1d[44]]);if(_0x3e44x17[_0xcd1d[44]]>0){return _0x3e44x7[_0xcd1d[28]](500)[_0xcd1d[27]]({message:_0xcd1d[53]})};_0x3e44x12[_0xcd1d[52]]()[_0xcd1d[29]](function(){return _0x3e44x7[_0xcd1d[34]](204)})[_0xcd1d[26]](function(_0x3e44x10){return handleError(_0x3e44x7,_0x3e44x10)});})[_0xcd1d[26]](function(_0x3e44x10){return handleError(_0x3e44x7,_0x3e44x10)});})[_0xcd1d[26]](function(_0x3e44x10){return handleError(_0x3e44x7,_0x3e44x10)})};exports[_0xcd1d[55]]=function(_0x3e44x6,_0x3e44x7){var _0x3e44x18=false;Interval[_0xcd1d[32]]({where:{id:_0x3e44x6[_0xcd1d[10]][_0xcd1d[35]]},include:[{all:true}]})[_0xcd1d[29]](function(_0x3e44x11){if(!_0x3e44x11){return _0x3e44x7[_0xcd1d[34]](404)};_0x3e44x11[_0xcd1d[22]](function(_0x3e44x19){if(_0x3e44x19[_0xcd1d[56]][_0xcd1d[44]]>0){_0x3e44x18=true}});if(_0x3e44x18){return _0x3e44x7[_0xcd1d[28]](500)[_0xcd1d[27]]({message:_0xcd1d[53]})};Interval[_0xcd1d[52]]({where:{id:_0x3e44x6[_0xcd1d[10]][_0xcd1d[35]]},individualHooks:true})[_0xcd1d[29]](function(){return _0x3e44x7[_0xcd1d[34]](204)})[_0xcd1d[26]](function(_0x3e44x10){return handleError(_0x3e44x7,_0x3e44x10)});})[_0xcd1d[26]](function(_0x3e44x10){return handleError(_0x3e44x7,_0x3e44x10)});};function handleError(_0x3e44x7,_0x3e44x10){return _0x3e44x7[_0xcd1d[28]](500)[_0xcd1d[27]](_0x3e44x10)}
\ No newline at end of file
+var _0xb72b=["\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","\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\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","\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","\x67\x65\x74\x41\x6C\x6C","\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","\x69\x6E\x74\x65\x72\x76\x61\x6C\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64","\x6C\x6F\x67","\x63\x72\x65\x61\x74\x65","\x46\x69\x6E\x64\x69\x6E\x67\x20\x61\x70\x70\x20\x72\x6F\x77\x2E\x2E\x2E\x2E\x2E","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x53\x55\x42\x49\x4E\x54\x45\x52\x56\x41\x4C","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x49\x4E\x54\x45\x52\x56\x41\x4C","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\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","\x67\x65\x74\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73"];_0xb72b[0];var _=require(_0xb72b[1]);var Interval=require(_0xb72b[3])[_0xb72b[2]];var VoiceExtension=require(_0xb72b[3])[_0xb72b[4]];var sequelize=require(_0xb72b[3])[_0xb72b[5]];var util=require(_0xb72b[6]);exports[_0xb72b[7]]=function(_0x3321x6,_0x3321x7){var _0x3321x8=[_0xb72b[8]];var _0x3321x9=_0x3321x6[_0xb72b[10]][_0xb72b[9]]?parseInt(_0x3321x6[_0xb72b[10]][_0xb72b[9]],10):100;var _0x3321xa=_0x3321x6[_0xb72b[10]][_0xb72b[11]]?parseInt(_0x3321x6[_0xb72b[10]][_0xb72b[11]],10):0;var _0x3321xb={where:{IntervalId:null},limit:_0x3321x9,offset:_0x3321xa*_0x3321x9};_[_0xb72b[25]](_0x3321x6[_0xb72b[10]],function(_0x3321xc,_0x3321xd){switch(_0x3321xd){case _0xb72b[9]:;case _0xb72b[11]:break ;;case _0xb72b[14]:_0x3321xb[_0xb72b[12]]=util[_0xb72b[17]](_0xb72b[13],_0x3321x6[_0xb72b[10]][_0xb72b[14]],_0x3321x6[_0xb72b[10]][_0xb72b[15]]||_0xb72b[16])||null;break ;;case _0xb72b[15]:break ;;case _0xb72b[23]:_0x3321xb[_0xb72b[19]][_0xb72b[18]]=[];_0x3321x8[_0xb72b[22]](function(_0x3321xe){var _0x3321xf={};_0x3321xf[_0x3321xe]={$like:_0xb72b[20]+_0x3321xc+_0xb72b[20]};_0x3321xb[_0xb72b[19]][_0xb72b[18]][_0xb72b[21]](_0x3321xf);});break ;;default:_0x3321xb[_0xb72b[19]][_0x3321xd]={$like:{}};_0x3321xb[_0xb72b[19]][_0x3321xd][_0xb72b[24]]=_0xb72b[20]+_0x3321xc+_0xb72b[20];;}});Interval[_0xb72b[30]](_0x3321xb)[_0xb72b[29]](function(_0x3321x11){return _0x3321x7[_0xb72b[28]](200)[_0xb72b[27]](_0x3321x11)})[_0xb72b[26]](function(_0x3321x10){return handleError(_0x3321x7,_0x3321x10)});};exports[_0xb72b[31]]=function(_0x3321x6,_0x3321x7){Interval[_0xb72b[32]]()[_0xb72b[29]](function(_0x3321x11){return _0x3321x7[_0xb72b[28]](200)[_0xb72b[27]](_0x3321x11)})[_0xb72b[26]](function(_0x3321x10){return handleError(_0x3321x7,_0x3321x10)})};exports[_0xb72b[33]]=function(_0x3321x6,_0x3321x7){Interval[_0xb72b[37]](_0x3321x6[_0xb72b[36]][_0xb72b[35]],{include:[{all:true}]})[_0xb72b[29]](function(_0x3321x12){if(!_0x3321x12){return _0x3321x7[_0xb72b[34]](404)};return _0x3321x7[_0xb72b[27]](_0x3321x12);})[_0xb72b[26]](function(_0x3321x10){return handleError(_0x3321x7,_0x3321x10)})};exports[_0xb72b[38]]=function(_0x3321x6,_0x3321x7){var _0x3321x13={name:_0x3321x6[_0xb72b[39]][_0xb72b[8]],IntervalId:_0x3321x6[_0xb72b[39]][_0xb72b[40]]?_0x3321x6[_0xb72b[39]][_0xb72b[40]]:null};if(_0x3321x6[_0xb72b[39]][_0xb72b[35]]){_0x3321x13[_0xb72b[35]]={$ne:_0x3321x6[_0xb72b[39]][_0xb72b[35]]}};console[_0xb72b[41]](_0x3321x6[_0xb72b[39]]);Interval[_0xb72b[32]]({where:_0x3321x13})[_0xb72b[29]](function(_0x3321x11){if(!_0x3321x11){return _0x3321x7[_0xb72b[34]](404)};return _0x3321x7[_0xb72b[27]](_0x3321x11);})[_0xb72b[26]](function(_0x3321x10){return handleError(_0x3321x7,_0x3321x10)});};exports[_0xb72b[42]]=function(_0x3321x6,_0x3321x7){Interval[_0xb72b[32]]({where:{name:_0x3321x6[_0xb72b[39]][_0xb72b[8]],IntervalId:_0x3321x6[_0xb72b[39]][_0xb72b[40]]?_0x3321x6[_0xb72b[39]][_0xb72b[40]]:null}})[_0xb72b[29]](function(_0x3321x14){console[_0xb72b[41]](_0x3321x14);console[_0xb72b[41]](_0xb72b[43]);if(!_0x3321x14){return _0x3321x7[_0xb72b[34]](404)};if(_0x3321x14[_0xb72b[44]]>0){return _0x3321x7[_0xb72b[28]](500)[_0xb72b[27]]({message:_0x3321x6[_0xb72b[39]][_0xb72b[40]]?_0xb72b[45]:_0xb72b[46]})};Interval[_0xb72b[42]](_0x3321x6[_0xb72b[39]])[_0xb72b[29]](function(_0x3321x12){return _0x3321x7[_0xb72b[28]](201)[_0xb72b[27]](_0x3321x12)})[_0xb72b[26]](function(_0x3321x10){return handleError(_0x3321x7,_0x3321x10)});})[_0xb72b[26]](function(_0x3321x10){return handleError(_0x3321x7,_0x3321x10)})};exports[_0xb72b[47]]=function(_0x3321x6,_0x3321x7){Interval[_0xb72b[32]]({where:{name:_0x3321x6[_0xb72b[39]][_0xb72b[8]],IntervalId:_0x3321x6[_0xb72b[39]][_0xb72b[40]]?_0x3321x6[_0xb72b[39]][_0xb72b[40]]:null,id:{$ne:_0x3321x6[_0xb72b[39]][_0xb72b[35]]}}})[_0xb72b[29]](function(_0x3321x14){console[_0xb72b[41]](_0x3321x14);console[_0xb72b[41]](_0xb72b[43]);if(!_0x3321x14){return _0x3321x7[_0xb72b[34]](404)};if(_0x3321x14[_0xb72b[44]]>0){return _0x3321x7[_0xb72b[28]](500)[_0xb72b[27]]({message:_0x3321x6[_0xb72b[39]][_0xb72b[40]]?_0xb72b[45]:_0xb72b[46]})};if(_0x3321x6[_0xb72b[39]][_0xb72b[35]]){delete _0x3321x6[_0xb72b[39]][_0xb72b[35]]};Interval[_0xb72b[51]]({where:{id:_0x3321x6[_0xb72b[36]][_0xb72b[35]]}})[_0xb72b[29]](function(_0x3321x12){if(!_0x3321x12){return _0x3321x7[_0xb72b[34]](404)};var _0x3321x15=_[_0xb72b[48]](_0x3321x12,_0x3321x6[_0xb72b[39]]);return sequelize[_0xb72b[50]](function(_0x3321x16){return _0x3321x15[_0xb72b[49]]({transaction:_0x3321x16})[_0xb72b[29]](function(_0x3321x12){VoiceExtension[_0xb72b[47]]({interval:_0x3321x12[_0xb72b[8]]},{where:{IntervalId:_0x3321x12[_0xb72b[35]]}},{transaction:_0x3321x16})})})[_0xb72b[29]](function(){return _0x3321x7[_0xb72b[28]](200)[_0xb72b[27]](_0x3321x12)})[_0xb72b[26]](function(_0x3321x10){return handleError(_0x3321x7,_0x3321x10)});})[_0xb72b[26]](function(_0x3321x10){return handleError(_0x3321x7,_0x3321x10)});})[_0xb72b[26]](function(_0x3321x10){return handleError(_0x3321x7,_0x3321x10)})};exports[_0xb72b[52]]=function(_0x3321x6,_0x3321x7){Interval[_0xb72b[37]](_0x3321x6[_0xb72b[36]][_0xb72b[35]])[_0xb72b[29]](function(_0x3321x12){if(!_0x3321x12){return _0x3321x7[_0xb72b[34]](404)};_0x3321x12[_0xb72b[54]]({where:{isApp:true}})[_0xb72b[29]](function(_0x3321x17){console[_0xb72b[41]](_0x3321x17[_0xb72b[44]]);if(_0x3321x17[_0xb72b[44]]>0){return _0x3321x7[_0xb72b[28]](500)[_0xb72b[27]]({message:_0xb72b[53]})};_0x3321x12[_0xb72b[52]]()[_0xb72b[29]](function(){return _0x3321x7[_0xb72b[34]](204)})[_0xb72b[26]](function(_0x3321x10){return handleError(_0x3321x7,_0x3321x10)});})[_0xb72b[26]](function(_0x3321x10){return handleError(_0x3321x7,_0x3321x10)});})[_0xb72b[26]](function(_0x3321x10){return handleError(_0x3321x7,_0x3321x10)})};exports[_0xb72b[55]]=function(_0x3321x6,_0x3321x7){var _0x3321x18=false;Interval[_0xb72b[32]]({where:{id:_0x3321x6[_0xb72b[10]][_0xb72b[35]]},include:[{all:true}]})[_0xb72b[29]](function(_0x3321x11){if(!_0x3321x11){return _0x3321x7[_0xb72b[34]](404)};_0x3321x11[_0xb72b[22]](function(_0x3321x19){if(_0x3321x19[_0xb72b[56]][_0xb72b[44]]>0){_0x3321x18=true}});if(_0x3321x18){return _0x3321x7[_0xb72b[28]](500)[_0xb72b[27]]({message:_0xb72b[53]})};Interval[_0xb72b[52]]({where:{id:_0x3321x6[_0xb72b[10]][_0xb72b[35]]},individualHooks:true})[_0xb72b[29]](function(){return _0x3321x7[_0xb72b[34]](204)})[_0xb72b[26]](function(_0x3321x10){return handleError(_0x3321x7,_0x3321x10)});})[_0xb72b[26]](function(_0x3321x10){return handleError(_0x3321x7,_0x3321x10)});};function handleError(_0x3321x7,_0x3321x10){return _0x3321x7[_0xb72b[28]](500)[_0xb72b[27]](_0x3321x10)}
\ No newline at end of file
index 3933751..02021ba 100644 (file)
@@ -1 +1 @@
-var _0x921a=["\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"];_0x921a[0];var Interval=require(_0x921a[2])[_0x921a[1]];exports[_0x921a[3]]=function(_0xdea4x2){Interval[_0x921a[4]](function(_0xdea4x3){onSave(_0xdea4x2,_0xdea4x3)});Interval[_0x921a[5]](function(_0xdea4x3){onRemove(_0xdea4x2,_0xdea4x3)});Interval[_0x921a[6]](function(_0xdea4x3){onUpdate(_0xdea4x2,_0xdea4x3)});};function onSave(_0xdea4x2,_0xdea4x3,_0xdea4x5){_0xdea4x2[_0x921a[8]](_0x921a[7],_0xdea4x3)}function onRemove(_0xdea4x2,_0xdea4x3,_0xdea4x5){_0xdea4x2[_0x921a[8]](_0x921a[9],_0xdea4x3)}function onUpdate(_0xdea4x2,_0xdea4x3,_0xdea4x5){_0xdea4x2[_0x921a[8]](_0x921a[10],_0xdea4x3)}
\ No newline at end of file
+var _0x8fac=["\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"];_0x8fac[0];var Interval=require(_0x8fac[2])[_0x8fac[1]];exports[_0x8fac[3]]=function(_0xdfa0x2){Interval[_0x8fac[4]](function(_0xdfa0x3){onSave(_0xdfa0x2,_0xdfa0x3)});Interval[_0x8fac[5]](function(_0xdfa0x3){onRemove(_0xdfa0x2,_0xdfa0x3)});Interval[_0x8fac[6]](function(_0xdfa0x3){onUpdate(_0xdfa0x2,_0xdfa0x3)});};function onSave(_0xdfa0x2,_0xdfa0x3,_0xdfa0x5){_0xdfa0x2[_0x8fac[8]](_0x8fac[7],_0xdfa0x3)}function onRemove(_0xdfa0x2,_0xdfa0x3,_0xdfa0x5){_0xdfa0x2[_0x8fac[8]](_0x8fac[9],_0xdfa0x3)}function onUpdate(_0xdfa0x2,_0xdfa0x3,_0xdfa0x5){_0xdfa0x2[_0x8fac[8]](_0x8fac[10],_0xdfa0x3)}
\ No newline at end of file
index ddab4db..4a8d459 100644 (file)
@@ -1 +1 @@
-var _0x2899=["\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\x69\x6E\x74\x65\x72\x76\x61\x6C\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\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x67\x65\x74"];_0x2899[0];var should=require(_0x2899[1]);var app=require(_0x2899[2]);var request=require(_0x2899[3]);describe(_0x2899[4],function(){it(_0x2899[5],function(_0x4c82x4){request(app)[_0x2899[13]](_0x2899[12])[_0x2899[11]](200)[_0x2899[11]](_0x2899[10],/json/)[_0x2899[9]](function(_0x4c82x5,_0x4c82x6){if(_0x4c82x5){return _0x4c82x4(_0x4c82x5)};_0x4c82x6[_0x2899[8]][_0x2899[1]][_0x2899[7]][_0x2899[6]](Array);_0x4c82x4();})})});
\ No newline at end of file
+var _0xbc0a=["\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\x69\x6E\x74\x65\x72\x76\x61\x6C\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\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x67\x65\x74"];_0xbc0a[0];var should=require(_0xbc0a[1]);var app=require(_0xbc0a[2]);var request=require(_0xbc0a[3]);describe(_0xbc0a[4],function(){it(_0xbc0a[5],function(_0xe64dx4){request(app)[_0xbc0a[13]](_0xbc0a[12])[_0xbc0a[11]](200)[_0xbc0a[11]](_0xbc0a[10],/json/)[_0xbc0a[9]](function(_0xe64dx5,_0xe64dx6){if(_0xe64dx5){return _0xe64dx4(_0xe64dx5)};_0xe64dx6[_0xbc0a[8]][_0xbc0a[1]][_0xbc0a[7]][_0xbc0a[6]](Array);_0xe64dx4();})})});
\ No newline at end of file
diff --git a/server/api/jscripty_project/index.js b/server/api/jscripty_project/index.js
new file mode 100644 (file)
index 0000000..94d1a9e
--- /dev/null
@@ -0,0 +1 @@
+var _0x26a5=["\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","\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\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x2F\x3A\x69\x64\x2F\x70\x72\x6F\x6A\x65\x63\x74","\x70\x72\x6F\x6A\x65\x63\x74\x4A\x73\x6F\x6E","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65","\x70\x72\x6F\x6A\x65\x63\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\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"];_0x26a5[0];var express=require(_0x26a5[1]);var auth=require(_0x26a5[2]);var controller=require(_0x26a5[3]);var router=express.Router();router[_0x26a5[7]](_0x26a5[4],auth[_0x26a5[5]](),controller[_0x26a5[6]]);router[_0x26a5[7]](_0x26a5[8],auth[_0x26a5[5]](),controller[_0x26a5[9]]);router[_0x26a5[7]](_0x26a5[10],controller[_0x26a5[11]]);router[_0x26a5[7]](_0x26a5[12],controller[_0x26a5[13]]);router[_0x26a5[15]](_0x26a5[4],auth[_0x26a5[5]](),controller[_0x26a5[14]]);router[_0x26a5[15]](_0x26a5[16],auth[_0x26a5[5]](),controller[_0x26a5[17]]);router[_0x26a5[19]](_0x26a5[8],auth[_0x26a5[5]](),controller[_0x26a5[18]]);router[_0x26a5[20]](_0x26a5[8],auth[_0x26a5[5]](),controller[_0x26a5[18]]);router[_0x26a5[22]](_0x26a5[4],auth[_0x26a5[5]](),controller[_0x26a5[21]]);router[_0x26a5[22]](_0x26a5[8],auth[_0x26a5[5]](),controller[_0x26a5[23]]);module[_0x26a5[24]]=router;
\ No newline at end of file
diff --git a/server/api/jscripty_project/index.spec.js b/server/api/jscripty_project/index.spec.js
new file mode 100644 (file)
index 0000000..4ea7be4
--- /dev/null
@@ -0,0 +1 @@
+var _0xe4b8=["\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","\x6A\x73\x63\x72\x69\x70\x74\x79\x50\x72\x6F\x6A\x65\x63\x74\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x6A\x73\x63\x72\x69\x70\x74\x79\x50\x72\x6F\x6A\x65\x63\x74\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x6A\x73\x63\x72\x69\x70\x74\x79\x50\x72\x6F\x6A\x65\x63\x74\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x6A\x73\x63\x72\x69\x70\x74\x79\x50\x72\x6F\x6A\x65\x63\x74\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x6A\x73\x63\x72\x69\x70\x74\x79\x50\x72\x6F\x6A\x65\x63\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","\x4A\x73\x63\x72\x69\x70\x74\x79\x50\x72\x6F\x6A\x65\x63\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\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x6A\x73\x63\x72\x69\x70\x74\x79\x50\x72\x6F\x6A\x65\x63\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\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x6A\x73\x63\x72\x69\x70\x74\x79\x50\x72\x6F\x6A\x65\x63\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\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x6A\x73\x63\x72\x69\x70\x74\x79\x50\x72\x6F\x6A\x65\x63\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\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x6A\x73\x63\x72\x69\x70\x74\x79\x50\x72\x6F\x6A\x65\x63\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\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x3A\x69\x64","\x70\x61\x74\x63\x68","\x44\x45\x4C\x45\x54\x45\x20\x2F\x61\x70\x69\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x6A\x73\x63\x72\x69\x70\x74\x79\x50\x72\x6F\x6A\x65\x63\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"];_0xe4b8[0];var proxyquire=require(_0xe4b8[2])[_0xe4b8[1]]();var jscriptyProjectCtrlStub={index:_0xe4b8[3],show:_0xe4b8[4],create:_0xe4b8[5],update:_0xe4b8[6],destroy:_0xe4b8[7]};var routerStub={get:sinon[_0xe4b8[8]](),put:sinon[_0xe4b8[8]](),patch:sinon[_0xe4b8[8]](),post:sinon[_0xe4b8[8]](),delete:sinon[_0xe4b8[8]]()};var jscriptyProjectIndex=proxyquire(_0xe4b8[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\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":jscriptyProjectCtrlStub});describe(_0xe4b8[10],function(){it(_0xe4b8[11],function(){expect(jscriptyProjectIndex)[_0xe4b8[13]][_0xe4b8[12]](routerStub)});describe(_0xe4b8[14],function(){it(_0xe4b8[15],function(){expect(routerStub[_0xe4b8[21]][_0xe4b8[20]](_0xe4b8[19],_0xe4b8[3]))[_0xe4b8[13]][_0xe4b8[18]][_0xe4b8[17]][_0xe4b8[16]]})});describe(_0xe4b8[22],function(){it(_0xe4b8[23],function(){expect(routerStub[_0xe4b8[21]][_0xe4b8[20]](_0xe4b8[24],_0xe4b8[4]))[_0xe4b8[13]][_0xe4b8[18]][_0xe4b8[17]][_0xe4b8[16]]})});describe(_0xe4b8[25],function(){it(_0xe4b8[26],function(){expect(routerStub[_0xe4b8[27]][_0xe4b8[20]](_0xe4b8[19],_0xe4b8[5]))[_0xe4b8[13]][_0xe4b8[18]][_0xe4b8[17]][_0xe4b8[16]]})});describe(_0xe4b8[28],function(){it(_0xe4b8[29],function(){expect(routerStub[_0xe4b8[30]][_0xe4b8[20]](_0xe4b8[24],_0xe4b8[6]))[_0xe4b8[13]][_0xe4b8[18]][_0xe4b8[17]][_0xe4b8[16]]})});describe(_0xe4b8[31],function(){it(_0xe4b8[29],function(){expect(routerStub[_0xe4b8[32]][_0xe4b8[20]](_0xe4b8[24],_0xe4b8[6]))[_0xe4b8[13]][_0xe4b8[18]][_0xe4b8[17]][_0xe4b8[16]]})});describe(_0xe4b8[33],function(){it(_0xe4b8[34],function(){expect(routerStub[_0xe4b8[35]][_0xe4b8[20]](_0xe4b8[24],_0xe4b8[7]))[_0xe4b8[13]][_0xe4b8[18]][_0xe4b8[17]][_0xe4b8[16]]})});});
\ 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
new file mode 100644 (file)
index 0000000..3a2820f
--- /dev/null
@@ -0,0 +1 @@
+var _0x1210=["\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","\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","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x70\x72\x6F\x6A\x65\x63\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x6C\x6F\x67","\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","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\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","\x64\x72\x61\x66\x74","\x70\x72\x6F\x6A\x65\x63\x74\x4A\x73\x6F\x6E","\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E","\x70\x61\x72\x73\x65\x53\x74\x72\x69\x6E\x67"];_0x1210[0];var xml=require(_0x1210[1]);var _=require(_0x1210[2]);var JscriptyProject=require(_0x1210[4])[_0x1210[3]];function handleError(_0xe6edx5,_0xe6edx6){_0xe6edx6=_0xe6edx6||500;return function(_0xe6edx7){_0xe6edx5[_0x1210[6]](_0xe6edx6)[_0x1210[5]](_0xe6edx7)};}function responseWithResult(_0xe6edx5,_0xe6edx6){_0xe6edx6=_0xe6edx6||200;return function(_0xe6edx9){if(_0xe6edx9){_0xe6edx5[_0x1210[6]](_0xe6edx6)[_0x1210[7]](_0xe6edx9)}};}function handleEntityNotFound(_0xe6edx5){return function(_0xe6edx9){if(!_0xe6edx9){_0xe6edx5[_0x1210[6]](404)[_0x1210[8]]();return null;};return _0xe6edx9;}}function saveUpdates(_0xe6edxc){return function(_0xe6edx9){return _0xe6edx9[_0x1210[10]](_0xe6edxc)[_0x1210[9]](function(_0xe6edxd){return _0xe6edxd})}}function removeEntity(_0xe6edx5){return function(_0xe6edx9){if(_0xe6edx9){return _0xe6edx9[_0x1210[11]]()[_0x1210[9]](function(){_0xe6edx5[_0x1210[6]](204)[_0x1210[8]]()})}}}exports[_0x1210[12]]=function(_0xe6edxf,_0xe6edx5){var _0xe6edx10=[_0x1210[13],_0x1210[14]];var _0xe6edx11=_0xe6edxf[_0x1210[16]][_0x1210[15]]?parseInt(_0xe6edxf[_0x1210[16]][_0x1210[15]],10):100;var _0xe6edx12=_0xe6edxf[_0x1210[16]][_0x1210[17]]?parseInt(_0xe6edxf[_0x1210[16]][_0x1210[17]],10):0;var _0xe6edx13={where:{},limit:_0xe6edx11,offset:_0xe6edx12*_0xe6edx11};_[_0x1210[31]](_0xe6edxf[_0x1210[16]],function(_0xe6edx14,_0xe6edx15){switch(_0xe6edx15){case _0x1210[15]:;case _0x1210[17]:break ;;case _0x1210[20]:_0xe6edx13[_0x1210[18]]=util[_0x1210[23]](_0x1210[19],_0xe6edxf[_0x1210[16]][_0x1210[20]],_0xe6edxf[_0x1210[16]][_0x1210[21]]||_0x1210[22])||null;break ;;case _0x1210[21]:break ;;case _0x1210[29]:_0xe6edx13[_0x1210[25]][_0x1210[24]]=[];_0xe6edx10[_0x1210[28]](function(_0xe6edx16){var _0xe6edx17={};_0xe6edx17[_0xe6edx16]={$like:_0x1210[26]+_0xe6edx14+_0x1210[26]};_0xe6edx13[_0x1210[25]][_0x1210[24]][_0x1210[27]](_0xe6edx17);});break ;;default:_0xe6edx13[_0x1210[25]][_0xe6edx15]={$like:{}};_0xe6edx13[_0x1210[25]][_0xe6edx15][_0x1210[30]]=_0x1210[26]+_0xe6edx14+_0x1210[26];;}});JscriptyProject[_0x1210[43]](_0xe6edx13)[_0x1210[9]](function(_0xe6edx18){var _0xe6edx19=Math[_0x1210[35]](_0xe6edx18[_0x1210[34]]/_0xe6edx11);var _0xe6edx1a=_0xe6edx19>(_0xe6edx13[_0x1210[36]]+1)?util[_0x1210[23]](_0x1210[37],_0xe6edxf[_0x1210[38]],_0xe6edxf[_0x1210[40]][_0x1210[39]],_0xe6edxf[_0x1210[41]],_0xe6edx12+1):null;var _0xe6edx1b=_0xe6edx12>0?util[_0x1210[23]](_0x1210[37],_0xe6edxf[_0x1210[38]],_0xe6edxf[_0x1210[40]][_0x1210[39]],_0xe6edxf[_0x1210[41]],_0xe6edx12-1):null;_0xe6edx5[_0x1210[6]](200)[_0x1210[5]]({count:_0xe6edx18[_0x1210[34]],rows:_0xe6edx18[_0x1210[42]],next_page:_0xe6edx1a,previous_page:_0xe6edx1b,total_pages:_0xe6edx19});})[_0x1210[33]](function(_0xe6edx7){_0xe6edx5[_0x1210[6]](500)[_0x1210[5]]({error:_0x1210[32]})});};exports[_0x1210[44]]=function(_0xe6edxf,_0xe6edx5){console[_0x1210[46]](_0xe6edxf[_0x1210[45]]);JscriptyProject[_0x1210[48]]({where:{name:_0xe6edxf[_0x1210[45]][_0x1210[13]]}})[_0x1210[9]](function(_0xe6edx1c){if(!_0xe6edx1c){return _0xe6edx5[_0x1210[47]](404)};return _0xe6edx5[_0x1210[5]](_0xe6edx1c);})[_0x1210[33]](function(_0xe6edx7){return handleError(_0xe6edx5,_0xe6edx7)});};exports[_0x1210[49]]=function(_0xe6edxf,_0xe6edx5){JscriptyProject[_0x1210[52]](_0xe6edxf[_0x1210[51]][_0x1210[50]])[_0x1210[9]](function(_0xe6edx1d){if(!_0xe6edx1d){return _0xe6edx5[_0x1210[47]](404)};return _0xe6edx5[_0x1210[5]](_0xe6edx1d);})[_0x1210[33]](function(_0xe6edx7){return handleError(_0xe6edx5,_0xe6edx7)})};exports[_0x1210[53]]=function(_0xe6edxf,_0xe6edx5){JscriptyProject[_0x1210[53]](_0xe6edxf[_0x1210[45]])[_0x1210[9]](function(_0xe6edx1d){return _0xe6edx5[_0x1210[6]](201)[_0x1210[5]](_0xe6edx1d)})[_0x1210[33]](function(_0xe6edx7){return handleError(_0xe6edx5,_0xe6edx7)})};exports[_0x1210[54]]=function(_0xe6edxf,_0xe6edx5){if(_0xe6edxf[_0x1210[45]][_0x1210[50]]){delete _0xe6edxf[_0x1210[45]][_0x1210[50]]};JscriptyProject[_0x1210[52]](_0xe6edxf[_0x1210[51]][_0x1210[50]])[_0x1210[9]](function(_0xe6edx1d){if(!_0xe6edx1d){return _0xe6edx5[_0x1210[47]](404)};var _0xe6edxd=_[_0x1210[55]](_0xe6edx1d,_0xe6edxf[_0x1210[45]]);_0xe6edxd[_0x1210[56]]()[_0x1210[9]](function(){return _0xe6edx5[_0x1210[6]](200)[_0x1210[5]](_0xe6edx1d)})[_0x1210[33]](function(_0xe6edx7){return handleError(_0xe6edx5,_0xe6edx7)});})[_0x1210[33]](function(_0xe6edx7){return handleError(_0xe6edx5,_0xe6edx7)});};exports[_0x1210[11]]=function(_0xe6edxf,_0xe6edx5){JscriptyProject[_0x1210[57]]({where:{id:_0xe6edxf[_0x1210[51]][_0x1210[50]]}})[_0x1210[9]](function(_0xe6edx1d){if(!_0xe6edx1d){return _0xe6edx5[_0x1210[47]](404)};_0xe6edx1d[_0x1210[11]]()[_0x1210[9]](function(){return _0xe6edx5[_0x1210[47]](204)})[_0x1210[33]](function(_0xe6edx7){return handleError(_0xe6edx5,_0xe6edx7)});})[_0x1210[33]](function(_0xe6edx7){return handleError(_0xe6edx5,_0xe6edx7)})};exports[_0x1210[58]]=function(_0xe6edxf,_0xe6edx5){JscriptyProject[_0x1210[11]]({where:{id:_0xe6edxf[_0x1210[16]][_0x1210[50]]},individualHooks:true})[_0x1210[9]](function(){return _0xe6edx5[_0x1210[47]](204)})[_0x1210[33]](function(_0xe6edx7){return handleError(_0xe6edx5,_0xe6edx7)})};exports[_0x1210[59]]=function(_0xe6edxf,_0xe6edx5,_0xe6edx1e){JscriptyProject[_0x1210[52]](_0xe6edxf[_0x1210[51]][_0x1210[50]])[_0x1210[9]](function(_0xe6edx1d){if(!_0xe6edx1d){return _0xe6edx5[_0x1210[47]](404)};console[_0x1210[46]](_0xe6edxf[_0x1210[16]][_0x1210[60]]);_0xe6edx5[_0x1210[64]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E":_0x1210[61]+_0xe6edxf[_0x1210[16]][_0x1210[60]]+_0x1210[62],"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0x1210[63]});return _0xe6edx5[_0x1210[5]](_0xe6edx1d[_0x1210[65]]);})[_0x1210[33]](function(_0xe6edx7){return handleError(_0xe6edx5,_0xe6edx7)})};exports[_0x1210[66]]=function(_0xe6edxf,_0xe6edx5,_0xe6edx1e){JscriptyProject[_0x1210[52]](_0xe6edxf[_0x1210[51]][_0x1210[50]])[_0x1210[9]](function(_0xe6edx1d){if(!_0xe6edx1d){return _0xe6edx5[_0x1210[47]](404)};xml[_0x1210[68]](_0xe6edx1d[_0x1210[67]],{normalizeTags:true,explicitArray:false},function(_0xe6edx7,_0xe6edx18){console[_0x1210[46]](_0xe6edx18);return _0xe6edx5[_0x1210[6]](200)[_0x1210[5]](_0xe6edx18);});})[_0x1210[33]](function(_0xe6edx7){return handleError(_0xe6edx5,_0xe6edx7)})};
\ No newline at end of file
diff --git a/server/api/jscripty_project/jscripty_project.js b/server/api/jscripty_project/jscripty_project.js
new file mode 100644 (file)
index 0000000..4ebd481
--- /dev/null
@@ -0,0 +1 @@
+var _0xcde0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x4A\x73\x63\x72\x69\x70\x74\x79\x50\x72\x6F\x6A\x65\x63\x74","\x53\x54\x52\x49\x4E\x47","\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74\x73","\x64\x65\x66\x69\x6E\x65"];_0xcde0[0];module[_0xcde0[1]]=function(_0x95fdx1,_0x95fdx2){return _0x95fdx1[_0xcde0[5]](_0xcde0[2],{name:_0x95fdx2[_0xcde0[3]],description:_0x95fdx2[_0xcde0[3]]},{tableName:_0xcde0[4]})};
\ 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
new file mode 100644 (file)
index 0000000..415fb3d
--- /dev/null
@@ -0,0 +1 @@
+var _0x46a5=["\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"];_0x46a5[0];var JscriptyProject=require(_0x46a5[2])[_0x46a5[1]];exports[_0x46a5[3]]=function(_0xd66ax2){JscriptyProject[_0x46a5[4]](function(_0xd66ax3){onSave(_0xd66ax2,_0xd66ax3)});JscriptyProject[_0x46a5[5]](function(_0xd66ax3){onRemove(_0xd66ax2,_0xd66ax3)});};function onSave(_0xd66ax2,_0xd66ax3,_0xd66ax5){_0xd66ax2[_0x46a5[7]](_0x46a5[6],_0xd66ax3)}function onRemove(_0xd66ax2,_0xd66ax3,_0xd66ax5){_0xd66ax2[_0x46a5[7]](_0x46a5[8],_0xd66ax3)}
\ No newline at end of file
index 6134640..be25edf 100644 (file)
@@ -1 +1 @@
-var _0x7e22=["\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\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x72\x65\x71\x75\x65\x73\x74","\x72\x65\x71\x75\x65\x73\x74","\x70\x6F\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x7e22[0];var express=require(_0x7e22[1]);var auth=require(_0x7e22[2]);var controller=require(_0x7e22[3]);var router=express.Router();router[_0x7e22[7]](_0x7e22[4],auth[_0x7e22[5]](),controller[_0x7e22[6]]);router[_0x7e22[10]](_0x7e22[8],auth[_0x7e22[5]](),controller[_0x7e22[9]]);module[_0x7e22[11]]=router;
\ No newline at end of file
+var _0x5209=["\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\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x72\x65\x71\x75\x65\x73\x74","\x72\x65\x71\x75\x65\x73\x74","\x70\x6F\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x5209[0];var express=require(_0x5209[1]);var auth=require(_0x5209[2]);var controller=require(_0x5209[3]);var router=express.Router();router[_0x5209[7]](_0x5209[4],auth[_0x5209[5]](),controller[_0x5209[6]]);router[_0x5209[10]](_0x5209[8],auth[_0x5209[5]](),controller[_0x5209[9]]);module[_0x5209[11]]=router;
\ No newline at end of file
index 6ced8f5..1a38a7c 100644 (file)
@@ -1 +1 @@
-var _0x48c1=["\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","\x74\x6F\x6B\x65\x6E","\x75\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","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x72\x65\x71\x75\x65\x73\x74","\x6C\x6F\x67","\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","\x75\x70\x64\x61\x74\x65"];_0x48c1[0];var _=require(_0x48c1[1]);var rp=require(_0x48c1[2]);var config=require(_0x48c1[3]);var license=require(_0x48c1[4]);var Settings=require(_0x48c1[6])[_0x48c1[5]];var demoLicense={users:1,agents:1,telephones:0,chat:false,mail:false,fax:false,description:_0x48c1[7]};function handleError(_0x5030x8,_0x5030x9){_0x5030x9=_0x5030x9||500;return function(_0x5030xa){_0x5030x8[_0x48c1[9]](_0x5030x9)[_0x48c1[8]](_0x5030xa)};}function responseWithResult(_0x5030x8,_0x5030x9){_0x5030x9=_0x5030x9||200;return function(_0x5030xc){if(_0x5030xc){if(_0x5030xc[_0x48c1[10]]){_0x5030xc[_0x48c1[11]][_0x48c1[10]]=license[_0x48c1[12]](_0x5030xc[_0x48c1[11]][_0x48c1[10]]);_0x5030xc[_0x48c1[11]][_0x48c1[10]]=JSON[_0x48c1[13]](_0x5030xc[_0x48c1[11]][_0x48c1[10]]);}else {_0x5030xc[_0x48c1[11]][_0x48c1[10]]=demoLicense};_0x5030xc[_0x48c1[11]][_0x48c1[10]][_0x48c1[14]]=config[_0x48c1[15]];_0x5030x8[_0x48c1[9]](_0x5030x9)[_0x48c1[16]](_0x5030xc);}};}function handleEntityNotFound(_0x5030x8){return function(_0x5030xc){if(!_0x5030xc){_0x5030xc={dataValues:{license:demoLicense}};_0x5030xc[_0x48c1[11]][_0x48c1[10]][_0x48c1[14]]=config[_0x48c1[15]];_0x5030x8[_0x48c1[9]](201)[_0x48c1[16]](_0x5030xc);return null;};return _0x5030xc;}}function saveUpdates(_0x5030xf){return function(_0x5030xc){return _0x5030xc[_0x48c1[18]](_0x5030xf)[_0x48c1[17]](function(_0x5030x10){return _0x5030x10})}}function removeEntity(_0x5030x8){return function(_0x5030xc){if(_0x5030xc){return _0x5030xc[_0x48c1[20]]()[_0x48c1[17]](function(){_0x5030x8[_0x48c1[9]](204)[_0x48c1[19]]()})}}}exports[_0x48c1[21]]=function(_0x5030x12,_0x5030x8){Settings[_0x48c1[23]](1)[_0x48c1[17]](handleEntityNotFound(_0x5030x8))[_0x48c1[17]](responseWithResult(_0x5030x8))[_0x48c1[22]](handleError(_0x5030x8))};exports[_0x48c1[24]]=function(_0x5030x12,_0x5030x8){};exports[_0x48c1[25]]=function(_0x5030x12,_0x5030x8){};exports[_0x48c1[26]]=function(_0x5030x12,_0x5030x8){return rp({method:_0x48c1[29],uri:config[_0x48c1[30]]+_0x48c1[31]+config[_0x48c1[15]]+_0x48c1[32],body:_0x5030x12[_0x48c1[33]],json:true})[_0x48c1[17]](function(_0x5030x13){console[_0x48c1[27]](_0x5030x13);_0x5030x8[_0x48c1[9]](201)[_0x48c1[8]](_0x5030x13);})[_0x48c1[22]](function(_0x5030xa){console[_0x48c1[27]](_0x5030xa);return _0x5030x8[_0x48c1[9]](_0x5030xa[_0x48c1[28]]||500)[_0x48c1[8]](_0x5030xa);})};exports[_0x48c1[34]]=function(_0x5030x12,_0x5030x8){};exports[_0x48c1[20]]=function(_0x5030x12,_0x5030x8){};
\ No newline at end of file
+var _0x5cb5=["\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","\x74\x6F\x6B\x65\x6E","\x75\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","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x72\x65\x71\x75\x65\x73\x74","\x6C\x6F\x67","\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","\x75\x70\x64\x61\x74\x65"];_0x5cb5[0];var _=require(_0x5cb5[1]);var rp=require(_0x5cb5[2]);var config=require(_0x5cb5[3]);var license=require(_0x5cb5[4]);var Settings=require(_0x5cb5[6])[_0x5cb5[5]];var demoLicense={users:1,agents:1,telephones:0,chat:false,mail:false,fax:false,description:_0x5cb5[7]};function handleError(_0xfc7fx8,_0xfc7fx9){_0xfc7fx9=_0xfc7fx9||500;return function(_0xfc7fxa){_0xfc7fx8[_0x5cb5[9]](_0xfc7fx9)[_0x5cb5[8]](_0xfc7fxa)};}function responseWithResult(_0xfc7fx8,_0xfc7fx9){_0xfc7fx9=_0xfc7fx9||200;return function(_0xfc7fxc){if(_0xfc7fxc){if(_0xfc7fxc[_0x5cb5[10]]){_0xfc7fxc[_0x5cb5[11]][_0x5cb5[10]]=license[_0x5cb5[12]](_0xfc7fxc[_0x5cb5[11]][_0x5cb5[10]]);_0xfc7fxc[_0x5cb5[11]][_0x5cb5[10]]=JSON[_0x5cb5[13]](_0xfc7fxc[_0x5cb5[11]][_0x5cb5[10]]);}else {_0xfc7fxc[_0x5cb5[11]][_0x5cb5[10]]=demoLicense};_0xfc7fxc[_0x5cb5[11]][_0x5cb5[10]][_0x5cb5[14]]=config[_0x5cb5[15]];_0xfc7fx8[_0x5cb5[9]](_0xfc7fx9)[_0x5cb5[16]](_0xfc7fxc);}};}function handleEntityNotFound(_0xfc7fx8){return function(_0xfc7fxc){if(!_0xfc7fxc){_0xfc7fxc={dataValues:{license:demoLicense}};_0xfc7fxc[_0x5cb5[11]][_0x5cb5[10]][_0x5cb5[14]]=config[_0x5cb5[15]];_0xfc7fx8[_0x5cb5[9]](201)[_0x5cb5[16]](_0xfc7fxc);return null;};return _0xfc7fxc;}}function saveUpdates(_0xfc7fxf){return function(_0xfc7fxc){return _0xfc7fxc[_0x5cb5[18]](_0xfc7fxf)[_0x5cb5[17]](function(_0xfc7fx10){return _0xfc7fx10})}}function removeEntity(_0xfc7fx8){return function(_0xfc7fxc){if(_0xfc7fxc){return _0xfc7fxc[_0x5cb5[20]]()[_0x5cb5[17]](function(){_0xfc7fx8[_0x5cb5[9]](204)[_0x5cb5[19]]()})}}}exports[_0x5cb5[21]]=function(_0xfc7fx12,_0xfc7fx8){Settings[_0x5cb5[23]](1)[_0x5cb5[17]](handleEntityNotFound(_0xfc7fx8))[_0x5cb5[17]](responseWithResult(_0xfc7fx8))[_0x5cb5[22]](handleError(_0xfc7fx8))};exports[_0x5cb5[24]]=function(_0xfc7fx12,_0xfc7fx8){};exports[_0x5cb5[25]]=function(_0xfc7fx12,_0xfc7fx8){};exports[_0x5cb5[26]]=function(_0xfc7fx12,_0xfc7fx8){return rp({method:_0x5cb5[29],uri:config[_0x5cb5[30]]+_0x5cb5[31]+config[_0x5cb5[15]]+_0x5cb5[32],body:_0xfc7fx12[_0x5cb5[33]],json:true})[_0x5cb5[17]](function(_0xfc7fx13){console[_0x5cb5[27]](_0xfc7fx13);_0xfc7fx8[_0x5cb5[9]](201)[_0x5cb5[8]](_0xfc7fx13);})[_0x5cb5[22]](function(_0xfc7fxa){console[_0x5cb5[27]](_0xfc7fxa);return _0xfc7fx8[_0x5cb5[9]](_0xfc7fxa[_0x5cb5[28]]||500)[_0x5cb5[8]](_0xfc7fxa);})};exports[_0x5cb5[34]]=function(_0xfc7fx12,_0xfc7fx8){};exports[_0x5cb5[20]]=function(_0xfc7fx12,_0xfc7fx8){};
\ No newline at end of file
index 228e704..8f1abba 100644 (file)
@@ -1 +1 @@
-var _0xa2ef=["\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"];_0xa2ef[0];exports[_0xa2ef[1]]=function(_0xb945x1){};function onSave(_0xb945x1,_0xb945x3,_0xb945x4){_0xb945x1[_0xa2ef[3]](_0xa2ef[2],_0xb945x3)}function onRemove(_0xb945x1,_0xb945x3,_0xb945x4){_0xb945x1[_0xa2ef[3]](_0xa2ef[4],_0xb945x3)}
\ No newline at end of file
+var _0x3a9e=["\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"];_0x3a9e[0];exports[_0x3a9e[1]]=function(_0x3f50x1){};function onSave(_0x3f50x1,_0x3f50x3,_0x3f50x4){_0x3f50x1[_0x3a9e[3]](_0x3a9e[2],_0x3f50x3)}function onRemove(_0x3f50x1,_0x3f50x3,_0x3f50x4){_0x3f50x1[_0x3a9e[3]](_0x3a9e[4],_0x3f50x3)}
\ No newline at end of file
index 7a05f47..47c4331 100644 (file)
@@ -1 +1 @@
-var _0x68c9=["\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","\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","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x6F\x72\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\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","\x65\x78\x70\x6F\x72\x74\x73"];_0x68c9[0];var express=require(_0x68c9[1]);var controller=require(_0x68c9[2]);var router=express.Router();router[_0x68c9[5]](_0x68c9[3],controller[_0x68c9[4]]);router[_0x68c9[5]](_0x68c9[6],controller[_0x68c9[7]]);router[_0x68c9[9]](_0x68c9[3],controller[_0x68c9[8]]);router[_0x68c9[9]](_0x68c9[10],controller[_0x68c9[11]]);router[_0x68c9[13]](_0x68c9[6],controller[_0x68c9[12]]);router[_0x68c9[14]](_0x68c9[6],controller[_0x68c9[12]]);router[_0x68c9[16]](_0x68c9[3],controller[_0x68c9[15]]);router[_0x68c9[16]](_0x68c9[6],controller[_0x68c9[17]]);module[_0x68c9[18]]=router;
\ No newline at end of file
+var _0xcca2=["\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","\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","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x6F\x72\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\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","\x65\x78\x70\x6F\x72\x74\x73"];_0xcca2[0];var express=require(_0xcca2[1]);var controller=require(_0xcca2[2]);var router=express.Router();router[_0xcca2[5]](_0xcca2[3],controller[_0xcca2[4]]);router[_0xcca2[5]](_0xcca2[6],controller[_0xcca2[7]]);router[_0xcca2[9]](_0xcca2[3],controller[_0xcca2[8]]);router[_0xcca2[9]](_0xcca2[10],controller[_0xcca2[11]]);router[_0xcca2[13]](_0xcca2[6],controller[_0xcca2[12]]);router[_0xcca2[14]](_0xcca2[6],controller[_0xcca2[12]]);router[_0xcca2[16]](_0xcca2[3],controller[_0xcca2[15]]);router[_0xcca2[16]](_0xcca2[6],controller[_0xcca2[17]]);module[_0xcca2[18]]=router;
\ No newline at end of file
index 4fc691a..eb0076e 100644 (file)
@@ -1 +1 @@
-var _0xc11c=["\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","\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\x41\x63\x63\x6F\x75\x6E\x74","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\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","\x69\x6E\x64\x65\x78","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x61\x64\x64\x72\x65\x73\x73","\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","\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","\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","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x69\x6E\x63\x6F\x6D\x69\x6E\x67","\x62\x6F\x64\x79","\x6F\x75\x74\x67\x6F\x69\x6E\x67","\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","\x73\x6F\x72\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79","\x6C\x6F\x67","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6C\x65\x6E\x67\x74\x68","\x66\x69\x6E\x64","\x70\x72\x69\x6F\x72\x69\x74\x79","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x77\x61\x74\x65\x72\x66\x61\x6C\x6C","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0xc11c[0];var _=require(_0xc11c[1]);var util=require(_0xc11c[2]);var async=require(_0xc11c[3]);var sequelize=require(_0xc11c[5])[_0xc11c[4]];var MailAccount=require(_0xc11c[5])[_0xc11c[6]];var MailApplication=require(_0xc11c[5])[_0xc11c[7]];var MailServerIn=require(_0xc11c[5])[_0xc11c[8]];var MailServerOut=require(_0xc11c[5])[_0xc11c[9]];exports[_0xc11c[10]]=function(_0xef7ax9,_0xef7axa){var _0xef7axb=[_0xc11c[11],_0xc11c[12],_0xc11c[13]];var _0xef7axc=_0xef7ax9[_0xc11c[15]][_0xc11c[14]]?parseInt(_0xef7ax9[_0xc11c[15]][_0xc11c[14]],10):100;var _0xef7axd=_0xef7ax9[_0xc11c[15]][_0xc11c[16]]?parseInt(_0xef7ax9[_0xc11c[15]][_0xc11c[16]],10):0;var _0xef7axe={where:{},limit:_0xef7axc,offset:_0xef7axd*_0xef7axc,include:[{all:true}]};_[_0xc11c[30]](_0xef7ax9[_0xc11c[15]],function(_0xef7axf,_0xef7ax10){switch(_0xef7ax10){case _0xc11c[14]:;case _0xc11c[16]:break ;;case _0xc11c[19]:_0xef7axe[_0xc11c[17]]=util[_0xc11c[22]](_0xc11c[18],_0xef7ax9[_0xc11c[15]][_0xc11c[19]],_0xef7ax9[_0xc11c[15]][_0xc11c[20]]||_0xc11c[21])||null;break ;;case _0xc11c[20]:break ;;case _0xc11c[28]:_0xef7axe[_0xc11c[24]][_0xc11c[23]]=[];_0xef7axb[_0xc11c[27]](function(_0xef7ax11){var _0xef7ax12={};_0xef7ax12[_0xef7ax11]={$like:_0xc11c[25]+_0xef7axf+_0xc11c[25]};_0xef7axe[_0xc11c[24]][_0xc11c[23]][_0xc11c[26]](_0xef7ax12);});break ;;default:_0xef7axe[_0xc11c[24]][_0xef7ax10]={$like:{}};_0xef7axe[_0xc11c[24]][_0xef7ax10][_0xc11c[29]]=_0xc11c[25]+_0xef7axf+_0xc11c[25];;}});MailAccount[_0xc11c[44]](_0xef7axe)[_0xc11c[43]](function(_0xef7ax14){var _0xef7ax15=Math[_0xc11c[33]](_0xef7ax14[_0xc11c[32]]/_0xef7axc);var _0xef7ax16=_0xef7ax15>(_0xef7axe[_0xc11c[34]]+1)?util[_0xc11c[22]](_0xc11c[35],_0xef7ax9[_0xc11c[36]],_0xef7ax9[_0xc11c[38]][_0xc11c[37]],_0xef7ax9[_0xc11c[39]],_0xef7axd+1):null;var _0xef7ax17=_0xef7axd>0?util[_0xc11c[22]](_0xc11c[35],_0xef7ax9[_0xc11c[36]],_0xef7ax9[_0xc11c[38]][_0xc11c[37]],_0xef7ax9[_0xc11c[39]],_0xef7axd-1):null;_0xef7axa[_0xc11c[42]](200)[_0xc11c[41]]({count:_0xef7ax14[_0xc11c[32]],rows:_0xef7ax14[_0xc11c[40]],next_page:_0xef7ax16,previous_page:_0xef7ax17,total_pages:_0xef7ax15});})[_0xc11c[31]](function(_0xef7ax13){return handleError(_0xef7axa,_0xef7ax13)});};exports[_0xc11c[45]]=function(_0xef7ax9,_0xef7axa,_0xef7ax18){MailAccount[_0xc11c[49]](_0xef7ax9[_0xc11c[48]][_0xc11c[47]],{include:[{all:true}]})[_0xc11c[43]](function(_0xef7ax19){if(!_0xef7ax19){return _0xef7axa[_0xc11c[46]](404)};return _0xef7axa[_0xc11c[41]](_0xef7ax19);})[_0xc11c[31]](function(_0xef7ax13){return _0xef7ax18(_0xef7ax13)})};exports[_0xc11c[50]]=function(_0xef7ax9,_0xef7axa,_0xef7ax18){return sequelize[_0xc11c[55]](function(_0xef7ax1a){return MailAccount[_0xc11c[50]]({name:_0xef7ax9[_0xc11c[53]][_0xc11c[12]],address:_0xef7ax9[_0xc11c[53]][_0xc11c[13]],description:_0xef7ax9[_0xc11c[53]][_0xc11c[11]]},{transaction:_0xef7ax1a})[_0xc11c[43]](function(_0xef7ax19){_0xef7ax9[_0xc11c[53]][_0xc11c[52]][_0xc11c[51]]=_0xef7ax19[_0xc11c[47]];return MailServerIn[_0xc11c[50]](_0xef7ax9[_0xc11c[53]][_0xc11c[52]],{transaction:_0xef7ax1a})[_0xc11c[43]](function(_0xef7ax1b){_0xef7ax9[_0xc11c[53]][_0xc11c[54]][_0xc11c[51]]=_0xef7ax19[_0xc11c[47]];return MailServerOut[_0xc11c[50]](_0xef7ax9[_0xc11c[53]][_0xc11c[54]],{transaction:_0xef7ax1a});});})})[_0xc11c[43]](function(_0xef7ax14){return _0xef7axa[_0xc11c[42]](201)[_0xc11c[41]](_0xef7ax14)})[_0xc11c[31]](function(_0xef7ax13){return _0xef7ax18(_0xef7ax13)})};exports[_0xc11c[56]]=function(_0xef7ax9,_0xef7axa){if(_0xef7ax9[_0xc11c[53]][_0xc11c[47]]){delete _0xef7ax9[_0xc11c[53]][_0xc11c[47]]};MailAccount[_0xc11c[49]](_0xef7ax9[_0xc11c[48]][_0xc11c[47]])[_0xc11c[43]](function(_0xef7ax19){if(!_0xef7ax19){return _0xef7axa[_0xc11c[46]](404)};var _0xef7ax1c=_[_0xc11c[57]](_0xef7ax19,_0xef7ax9[_0xc11c[53]]);_0xef7ax1c[_0xc11c[58]]()[_0xc11c[43]](function(){return _0xef7axa[_0xc11c[42]](200)[_0xc11c[41]](_0xef7ax19)})[_0xc11c[31]](function(_0xef7ax13){return handleError(_0xef7axa,_0xef7ax13)});})[_0xc11c[31]](function(_0xef7ax13){return handleError(_0xef7axa,_0xef7ax13)});};exports[_0xc11c[59]]=function(_0xef7ax9,_0xef7axa,_0xef7ax18){MailApplication[_0xc11c[68]]({where:{id:_0xef7ax9[_0xc11c[53]][_0xc11c[62]]}})[_0xc11c[43]](function(_0xef7ax1d){var _0xef7ax1e=_0xef7ax1d;async[_0xc11c[69]]([function(_0xef7ax1f){MailApplication[_0xc11c[60]]({where:{id:_0xef7ax9[_0xc11c[53]][_0xc11c[62]]}})[_0xc11c[43]](function(){console[_0xc11c[61]](_0xc11c[60]);_0xef7ax1f();})[_0xc11c[31]](function(_0xef7ax13){_0xef7ax1f(_0xef7ax13)})},function(_0xef7ax1f){var _0xef7ax20=[];for(var _0xef7ax21=0;_0xef7ax21<_0xef7ax9[_0xc11c[53]][_0xc11c[62]][_0xc11c[63]];_0xef7ax21++){var _0xef7ax22=_[_0xc11c[64]](_0xef7ax1e,{"\x69\x64":_0xef7ax9[_0xc11c[53]][_0xc11c[62]][_0xef7ax21]});if(_0xef7ax22){_0xef7ax22[_0xc11c[65]]=_0xef7ax21+1;_0xef7ax20[_0xc11c[26]](_0xef7ax22[_0xc11c[66]]);};};MailApplication[_0xc11c[67]](_0xef7ax20)[_0xc11c[43]](function(){console[_0xc11c[61]](_0xc11c[67]);_0xef7ax1f();})[_0xc11c[31]](function(_0xef7ax13){_0xef7ax1f(_0xef7ax13)});},function(_0xef7ax1f){MailApplication[_0xc11c[68]]({where:{id:_0xef7ax9[_0xc11c[53]][_0xc11c[62]]},order:_0xc11c[65],include:[{all:true}]})[_0xc11c[43]](function(_0xef7ax1d){console[_0xc11c[61]](_0xef7ax1d);_0xef7ax1f(null,_0xef7ax1d);})[_0xc11c[31]](function(_0xef7ax13){_0xef7ax1f(_0xef7ax13)})}],function(_0xef7ax13,_0xef7ax14){if(_0xef7ax13){return handleError(_0xef7axa,_0xef7ax13)}else {return _0xef7axa[_0xc11c[42]](201)[_0xc11c[41]](_0xef7ax14)}});})[_0xc11c[31]](function(_0xef7ax13){return handleError(_0xef7axa,_0xef7ax13)})};exports[_0xc11c[60]]=function(_0xef7ax9,_0xef7axa,_0xef7ax18){MailAccount[_0xc11c[49]](_0xef7ax9[_0xc11c[48]][_0xc11c[47]])[_0xc11c[43]](function(_0xef7ax19){if(!_0xef7ax19){return _0xef7axa[_0xc11c[46]](404)};_0xef7ax19[_0xc11c[60]]()[_0xc11c[43]](function(){return _0xef7axa[_0xc11c[46]](204)})[_0xc11c[31]](function(_0xef7ax13){return _0xef7ax18(_0xef7ax13)});})[_0xc11c[31]](function(_0xef7ax13){return _0xef7ax18(_0xef7ax13)})};exports[_0xc11c[70]]=function(_0xef7ax9,_0xef7axa){MailAccount[_0xc11c[60]]({where:{id:_0xef7ax9[_0xc11c[15]][_0xc11c[47]]},individualHooks:true})[_0xc11c[43]](function(){return _0xef7axa[_0xc11c[46]](204)})[_0xc11c[31]](function(_0xef7ax13){return handleError(_0xef7axa,_0xef7ax13)})};function handleError(_0xef7axa,_0xef7ax13){return _0xef7axa[_0xc11c[42]](500)[_0xc11c[41]](_0xef7ax13)}
\ No newline at end of file
+var _0xf929=["\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","\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\x41\x63\x63\x6F\x75\x6E\x74","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\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","\x69\x6E\x64\x65\x78","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x61\x64\x64\x72\x65\x73\x73","\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","\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","\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","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x69\x6E\x63\x6F\x6D\x69\x6E\x67","\x62\x6F\x64\x79","\x6F\x75\x74\x67\x6F\x69\x6E\x67","\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","\x73\x6F\x72\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79","\x6C\x6F\x67","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6C\x65\x6E\x67\x74\x68","\x66\x69\x6E\x64","\x70\x72\x69\x6F\x72\x69\x74\x79","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x77\x61\x74\x65\x72\x66\x61\x6C\x6C","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0xf929[0];var _=require(_0xf929[1]);var util=require(_0xf929[2]);var async=require(_0xf929[3]);var sequelize=require(_0xf929[5])[_0xf929[4]];var MailAccount=require(_0xf929[5])[_0xf929[6]];var MailApplication=require(_0xf929[5])[_0xf929[7]];var MailServerIn=require(_0xf929[5])[_0xf929[8]];var MailServerOut=require(_0xf929[5])[_0xf929[9]];exports[_0xf929[10]]=function(_0x3763x9,_0x3763xa){var _0x3763xb=[_0xf929[11],_0xf929[12],_0xf929[13]];var _0x3763xc=_0x3763x9[_0xf929[15]][_0xf929[14]]?parseInt(_0x3763x9[_0xf929[15]][_0xf929[14]],10):100;var _0x3763xd=_0x3763x9[_0xf929[15]][_0xf929[16]]?parseInt(_0x3763x9[_0xf929[15]][_0xf929[16]],10):0;var _0x3763xe={where:{},limit:_0x3763xc,offset:_0x3763xd*_0x3763xc,include:[{all:true}]};_[_0xf929[30]](_0x3763x9[_0xf929[15]],function(_0x3763xf,_0x3763x10){switch(_0x3763x10){case _0xf929[14]:;case _0xf929[16]:break ;;case _0xf929[19]:_0x3763xe[_0xf929[17]]=util[_0xf929[22]](_0xf929[18],_0x3763x9[_0xf929[15]][_0xf929[19]],_0x3763x9[_0xf929[15]][_0xf929[20]]||_0xf929[21])||null;break ;;case _0xf929[20]:break ;;case _0xf929[28]:_0x3763xe[_0xf929[24]][_0xf929[23]]=[];_0x3763xb[_0xf929[27]](function(_0x3763x11){var _0x3763x12={};_0x3763x12[_0x3763x11]={$like:_0xf929[25]+_0x3763xf+_0xf929[25]};_0x3763xe[_0xf929[24]][_0xf929[23]][_0xf929[26]](_0x3763x12);});break ;;default:_0x3763xe[_0xf929[24]][_0x3763x10]={$like:{}};_0x3763xe[_0xf929[24]][_0x3763x10][_0xf929[29]]=_0xf929[25]+_0x3763xf+_0xf929[25];;}});MailAccount[_0xf929[44]](_0x3763xe)[_0xf929[43]](function(_0x3763x14){var _0x3763x15=Math[_0xf929[33]](_0x3763x14[_0xf929[32]]/_0x3763xc);var _0x3763x16=_0x3763x15>(_0x3763xe[_0xf929[34]]+1)?util[_0xf929[22]](_0xf929[35],_0x3763x9[_0xf929[36]],_0x3763x9[_0xf929[38]][_0xf929[37]],_0x3763x9[_0xf929[39]],_0x3763xd+1):null;var _0x3763x17=_0x3763xd>0?util[_0xf929[22]](_0xf929[35],_0x3763x9[_0xf929[36]],_0x3763x9[_0xf929[38]][_0xf929[37]],_0x3763x9[_0xf929[39]],_0x3763xd-1):null;_0x3763xa[_0xf929[42]](200)[_0xf929[41]]({count:_0x3763x14[_0xf929[32]],rows:_0x3763x14[_0xf929[40]],next_page:_0x3763x16,previous_page:_0x3763x17,total_pages:_0x3763x15});})[_0xf929[31]](function(_0x3763x13){return handleError(_0x3763xa,_0x3763x13)});};exports[_0xf929[45]]=function(_0x3763x9,_0x3763xa,_0x3763x18){MailAccount[_0xf929[49]](_0x3763x9[_0xf929[48]][_0xf929[47]],{include:[{all:true}]})[_0xf929[43]](function(_0x3763x19){if(!_0x3763x19){return _0x3763xa[_0xf929[46]](404)};return _0x3763xa[_0xf929[41]](_0x3763x19);})[_0xf929[31]](function(_0x3763x13){return _0x3763x18(_0x3763x13)})};exports[_0xf929[50]]=function(_0x3763x9,_0x3763xa,_0x3763x18){return sequelize[_0xf929[55]](function(_0x3763x1a){return MailAccount[_0xf929[50]]({name:_0x3763x9[_0xf929[53]][_0xf929[12]],address:_0x3763x9[_0xf929[53]][_0xf929[13]],description:_0x3763x9[_0xf929[53]][_0xf929[11]]},{transaction:_0x3763x1a})[_0xf929[43]](function(_0x3763x19){_0x3763x9[_0xf929[53]][_0xf929[52]][_0xf929[51]]=_0x3763x19[_0xf929[47]];return MailServerIn[_0xf929[50]](_0x3763x9[_0xf929[53]][_0xf929[52]],{transaction:_0x3763x1a})[_0xf929[43]](function(_0x3763x1b){_0x3763x9[_0xf929[53]][_0xf929[54]][_0xf929[51]]=_0x3763x19[_0xf929[47]];return MailServerOut[_0xf929[50]](_0x3763x9[_0xf929[53]][_0xf929[54]],{transaction:_0x3763x1a});});})})[_0xf929[43]](function(_0x3763x14){return _0x3763xa[_0xf929[42]](201)[_0xf929[41]](_0x3763x14)})[_0xf929[31]](function(_0x3763x13){return _0x3763x18(_0x3763x13)})};exports[_0xf929[56]]=function(_0x3763x9,_0x3763xa){if(_0x3763x9[_0xf929[53]][_0xf929[47]]){delete _0x3763x9[_0xf929[53]][_0xf929[47]]};MailAccount[_0xf929[49]](_0x3763x9[_0xf929[48]][_0xf929[47]])[_0xf929[43]](function(_0x3763x19){if(!_0x3763x19){return _0x3763xa[_0xf929[46]](404)};var _0x3763x1c=_[_0xf929[57]](_0x3763x19,_0x3763x9[_0xf929[53]]);_0x3763x1c[_0xf929[58]]()[_0xf929[43]](function(){return _0x3763xa[_0xf929[42]](200)[_0xf929[41]](_0x3763x19)})[_0xf929[31]](function(_0x3763x13){return handleError(_0x3763xa,_0x3763x13)});})[_0xf929[31]](function(_0x3763x13){return handleError(_0x3763xa,_0x3763x13)});};exports[_0xf929[59]]=function(_0x3763x9,_0x3763xa,_0x3763x18){MailApplication[_0xf929[68]]({where:{id:_0x3763x9[_0xf929[53]][_0xf929[62]]}})[_0xf929[43]](function(_0x3763x1d){var _0x3763x1e=_0x3763x1d;async[_0xf929[69]]([function(_0x3763x1f){MailApplication[_0xf929[60]]({where:{id:_0x3763x9[_0xf929[53]][_0xf929[62]]}})[_0xf929[43]](function(){console[_0xf929[61]](_0xf929[60]);_0x3763x1f();})[_0xf929[31]](function(_0x3763x13){_0x3763x1f(_0x3763x13)})},function(_0x3763x1f){var _0x3763x20=[];for(var _0x3763x21=0;_0x3763x21<_0x3763x9[_0xf929[53]][_0xf929[62]][_0xf929[63]];_0x3763x21++){var _0x3763x22=_[_0xf929[64]](_0x3763x1e,{"\x69\x64":_0x3763x9[_0xf929[53]][_0xf929[62]][_0x3763x21]});if(_0x3763x22){_0x3763x22[_0xf929[65]]=_0x3763x21+1;_0x3763x20[_0xf929[26]](_0x3763x22[_0xf929[66]]);};};MailApplication[_0xf929[67]](_0x3763x20)[_0xf929[43]](function(){console[_0xf929[61]](_0xf929[67]);_0x3763x1f();})[_0xf929[31]](function(_0x3763x13){_0x3763x1f(_0x3763x13)});},function(_0x3763x1f){MailApplication[_0xf929[68]]({where:{id:_0x3763x9[_0xf929[53]][_0xf929[62]]},order:_0xf929[65],include:[{all:true}]})[_0xf929[43]](function(_0x3763x1d){console[_0xf929[61]](_0x3763x1d);_0x3763x1f(null,_0x3763x1d);})[_0xf929[31]](function(_0x3763x13){_0x3763x1f(_0x3763x13)})}],function(_0x3763x13,_0x3763x14){if(_0x3763x13){return handleError(_0x3763xa,_0x3763x13)}else {return _0x3763xa[_0xf929[42]](201)[_0xf929[41]](_0x3763x14)}});})[_0xf929[31]](function(_0x3763x13){return handleError(_0x3763xa,_0x3763x13)})};exports[_0xf929[60]]=function(_0x3763x9,_0x3763xa,_0x3763x18){MailAccount[_0xf929[49]](_0x3763x9[_0xf929[48]][_0xf929[47]])[_0xf929[43]](function(_0x3763x19){if(!_0x3763x19){return _0x3763xa[_0xf929[46]](404)};_0x3763x19[_0xf929[60]]()[_0xf929[43]](function(){return _0x3763xa[_0xf929[46]](204)})[_0xf929[31]](function(_0x3763x13){return _0x3763x18(_0x3763x13)});})[_0xf929[31]](function(_0x3763x13){return _0x3763x18(_0x3763x13)})};exports[_0xf929[70]]=function(_0x3763x9,_0x3763xa){MailAccount[_0xf929[60]]({where:{id:_0x3763x9[_0xf929[15]][_0xf929[47]]},individualHooks:true})[_0xf929[43]](function(){return _0x3763xa[_0xf929[46]](204)})[_0xf929[31]](function(_0x3763x13){return handleError(_0x3763xa,_0x3763x13)})};function handleError(_0x3763xa,_0x3763x13){return _0x3763xa[_0xf929[42]](500)[_0xf929[41]](_0x3763x13)}
\ No newline at end of file
index c1a99f2..f38cf67 100644 (file)
@@ -1 +1 @@
-var _0x6764=["\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"];_0x6764[0];var MailAccount=require(_0x6764[2])[_0x6764[1]];exports[_0x6764[3]]=function(_0x57c0x2){MailAccount[_0x6764[4]](function(_0x57c0x3){onSave(_0x57c0x2,_0x57c0x3)});MailAccount[_0x6764[5]](function(_0x57c0x3){onSave(_0x57c0x2,_0x57c0x3)});MailAccount[_0x6764[6]](function(_0x57c0x3){onRemove(_0x57c0x2,_0x57c0x3)});};function onSave(_0x57c0x2,_0x57c0x3,_0x57c0x5){_0x57c0x2[_0x6764[8]](_0x6764[7],_0x57c0x3)}function onRemove(_0x57c0x2,_0x57c0x3,_0x57c0x5){_0x57c0x2[_0x6764[8]](_0x6764[9],_0x57c0x3)}
\ No newline at end of file
+var _0xe4de=["\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"];_0xe4de[0];var MailAccount=require(_0xe4de[2])[_0xe4de[1]];exports[_0xe4de[3]]=function(_0x30ecx2){MailAccount[_0xe4de[4]](function(_0x30ecx3){onSave(_0x30ecx2,_0x30ecx3)});MailAccount[_0xe4de[5]](function(_0x30ecx3){onSave(_0x30ecx2,_0x30ecx3)});MailAccount[_0xe4de[6]](function(_0x30ecx3){onRemove(_0x30ecx2,_0x30ecx3)});};function onSave(_0x30ecx2,_0x30ecx3,_0x30ecx5){_0x30ecx2[_0xe4de[8]](_0xe4de[7],_0x30ecx3)}function onRemove(_0x30ecx2,_0x30ecx3,_0x30ecx5){_0x30ecx2[_0xe4de[8]](_0xe4de[9],_0x30ecx3)}
\ No newline at end of file
index 1aa7de2..f575a37 100644 (file)
@@ -1 +1 @@
-var _0x4098=["\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\x6D\x61\x69\x6C\x2F\x61\x63\x63\x6F\x75\x6E\x74\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\x6D\x61\x69\x6C\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x67\x65\x74"];_0x4098[0];var should=require(_0x4098[1]);var app=require(_0x4098[2]);var request=require(_0x4098[3]);describe(_0x4098[4],function(){it(_0x4098[5],function(_0x21ecx4){request(app)[_0x4098[13]](_0x4098[12])[_0x4098[11]](200)[_0x4098[11]](_0x4098[10],/json/)[_0x4098[9]](function(_0x21ecx5,_0x21ecx6){if(_0x21ecx5){return _0x21ecx4(_0x21ecx5)};_0x21ecx6[_0x4098[8]][_0x4098[1]][_0x4098[7]][_0x4098[6]](Array);_0x21ecx4();})})});
\ No newline at end of file
+var _0x9266=["\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\x6D\x61\x69\x6C\x2F\x61\x63\x63\x6F\x75\x6E\x74\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\x6D\x61\x69\x6C\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x67\x65\x74"];_0x9266[0];var should=require(_0x9266[1]);var app=require(_0x9266[2]);var request=require(_0x9266[3]);describe(_0x9266[4],function(){it(_0x9266[5],function(_0x5578x4){request(app)[_0x9266[13]](_0x9266[12])[_0x9266[11]](200)[_0x9266[11]](_0x9266[10],/json/)[_0x9266[9]](function(_0x5578x5,_0x5578x6){if(_0x5578x5){return _0x5578x4(_0x5578x5)};_0x5578x6[_0x9266[8]][_0x9266[1]][_0x9266[7]][_0x9266[6]](Array);_0x5578x4();})})});
\ No newline at end of file
index 85134bb..7aac32f 100644 (file)
@@ -1 +1 @@
-var _0x6a25=["\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","\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"];_0x6a25[0];var express=require(_0x6a25[1]);var controller=require(_0x6a25[2]);var router=express.Router();router[_0x6a25[5]](_0x6a25[3],controller[_0x6a25[4]]);router[_0x6a25[5]](_0x6a25[6],controller[_0x6a25[7]]);router[_0x6a25[9]](_0x6a25[3],controller[_0x6a25[8]]);router[_0x6a25[11]](_0x6a25[6],controller[_0x6a25[10]]);router[_0x6a25[12]](_0x6a25[6],controller[_0x6a25[10]]);router[_0x6a25[14]](_0x6a25[6],controller[_0x6a25[13]]);module[_0x6a25[15]]=router;
\ No newline at end of file
+var _0xf1a4=["\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","\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"];_0xf1a4[0];var express=require(_0xf1a4[1]);var controller=require(_0xf1a4[2]);var router=express.Router();router[_0xf1a4[5]](_0xf1a4[3],controller[_0xf1a4[4]]);router[_0xf1a4[5]](_0xf1a4[6],controller[_0xf1a4[7]]);router[_0xf1a4[9]](_0xf1a4[3],controller[_0xf1a4[8]]);router[_0xf1a4[11]](_0xf1a4[6],controller[_0xf1a4[10]]);router[_0xf1a4[12]](_0xf1a4[6],controller[_0xf1a4[10]]);router[_0xf1a4[14]](_0xf1a4[6],controller[_0xf1a4[13]]);module[_0xf1a4[15]]=router;
\ No newline at end of file
index f58b18f..7b16a2b 100644 (file)
@@ -1 +1 @@
-var _0xc27d=["\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"];_0xc27d[0];var _=require(_0xc27d[1]);var MailApplication=require(_0xc27d[3])[_0xc27d[2]];exports[_0xc27d[4]]=function(_0xacb7x3,_0xacb7x4,_0xacb7x5){MailApplication[_0xc27d[11]]({where:_0xacb7x3[_0xc27d[9]],order:_0xc27d[10],include:[{all:true}]})[_0xc27d[8]](function(_0xacb7x7){return _0xacb7x4[_0xc27d[7]](200)[_0xc27d[6]](_0xacb7x7)})[_0xc27d[5]](function(_0xacb7x6){return handleError(_0xacb7x4,_0xacb7x6)})};exports[_0xc27d[12]]=function(_0xacb7x3,_0xacb7x4,_0xacb7x5){MailApplication[_0xc27d[16]](_0xacb7x3[_0xc27d[15]][_0xc27d[14]],{include:[{all:true}]})[_0xc27d[8]](function(_0xacb7x8){if(!_0xacb7x8){return _0xacb7x4[_0xc27d[13]](404)};return _0xacb7x4[_0xc27d[6]](_0xacb7x8);})[_0xc27d[5]](function(_0xacb7x6){return handleError(_0xacb7x4,_0xacb7x6)})};exports[_0xc27d[17]]=function(_0xacb7x3,_0xacb7x4,_0xacb7x5){MailApplication[_0xc27d[20]](_0xc27d[10],{where:{MailAccountId:_0xacb7x3[_0xc27d[18]][_0xc27d[19]]}})[_0xc27d[8]](function(_0xacb7x9){_0xacb7x3[_0xc27d[18]][_0xc27d[10]]=_0xacb7x9?++_0xacb7x9:1;MailApplication[_0xc27d[17]](_0xacb7x3[_0xc27d[18]])[_0xc27d[8]](function(_0xacb7x8){return _0xacb7x4[_0xc27d[7]](201)[_0xc27d[6]](_0xacb7x8)})[_0xc27d[5]](function(_0xacb7x6){return handleError(_0xacb7x4,_0xacb7x6)});})[_0xc27d[5]](function(_0xacb7x6){return handleError(_0xacb7x4,_0xacb7x6)})};exports[_0xc27d[21]]=function(_0xacb7x3,_0xacb7x4,_0xacb7x5){if(_0xacb7x3[_0xc27d[18]][_0xc27d[14]]){delete _0xacb7x3[_0xc27d[18]][_0xc27d[14]]};MailApplication[_0xc27d[16]](_0xacb7x3[_0xc27d[15]][_0xc27d[14]])[_0xc27d[8]](function(_0xacb7x8){if(!_0xacb7x8){return _0xacb7x4[_0xc27d[13]](404)};var _0xacb7xa=_[_0xc27d[22]](_0xacb7x8,_0xacb7x3[_0xc27d[18]]);_0xacb7xa[_0xc27d[23]]()[_0xc27d[8]](function(){return _0xacb7x4[_0xc27d[7]](200)[_0xc27d[6]](_0xacb7x8)})[_0xc27d[5]](function(_0xacb7x6){return handleError(_0xacb7x4,_0xacb7x6)});})[_0xc27d[5]](function(_0xacb7x6){return handleError(_0xacb7x4,_0xacb7x6)});};exports[_0xc27d[24]]=function(_0xacb7x3,_0xacb7x4,_0xacb7x5){MailApplication[_0xc27d[16]](_0xacb7x3[_0xc27d[15]][_0xc27d[14]])[_0xc27d[8]](function(_0xacb7x8){if(!_0xacb7x8){return _0xacb7x4[_0xc27d[13]](404)};_0xacb7x8[_0xc27d[24]]()[_0xc27d[8]](function(){return _0xacb7x4[_0xc27d[13]](204)})[_0xc27d[5]](function(_0xacb7x6){return handleError(_0xacb7x4,_0xacb7x6)});})[_0xc27d[5]](function(_0xacb7x6){return handleError(_0xacb7x4,_0xacb7x6)})};function handleError(_0xacb7x4,_0xacb7x6){return _0xacb7x4[_0xc27d[7]](500)[_0xc27d[6]](_0xacb7x6)}
\ No newline at end of file
+var _0x9a5f=["\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"];_0x9a5f[0];var _=require(_0x9a5f[1]);var MailApplication=require(_0x9a5f[3])[_0x9a5f[2]];exports[_0x9a5f[4]]=function(_0x2136x3,_0x2136x4,_0x2136x5){MailApplication[_0x9a5f[11]]({where:_0x2136x3[_0x9a5f[9]],order:_0x9a5f[10],include:[{all:true}]})[_0x9a5f[8]](function(_0x2136x7){return _0x2136x4[_0x9a5f[7]](200)[_0x9a5f[6]](_0x2136x7)})[_0x9a5f[5]](function(_0x2136x6){return handleError(_0x2136x4,_0x2136x6)})};exports[_0x9a5f[12]]=function(_0x2136x3,_0x2136x4,_0x2136x5){MailApplication[_0x9a5f[16]](_0x2136x3[_0x9a5f[15]][_0x9a5f[14]],{include:[{all:true}]})[_0x9a5f[8]](function(_0x2136x8){if(!_0x2136x8){return _0x2136x4[_0x9a5f[13]](404)};return _0x2136x4[_0x9a5f[6]](_0x2136x8);})[_0x9a5f[5]](function(_0x2136x6){return handleError(_0x2136x4,_0x2136x6)})};exports[_0x9a5f[17]]=function(_0x2136x3,_0x2136x4,_0x2136x5){MailApplication[_0x9a5f[20]](_0x9a5f[10],{where:{MailAccountId:_0x2136x3[_0x9a5f[18]][_0x9a5f[19]]}})[_0x9a5f[8]](function(_0x2136x9){_0x2136x3[_0x9a5f[18]][_0x9a5f[10]]=_0x2136x9?++_0x2136x9:1;MailApplication[_0x9a5f[17]](_0x2136x3[_0x9a5f[18]])[_0x9a5f[8]](function(_0x2136x8){return _0x2136x4[_0x9a5f[7]](201)[_0x9a5f[6]](_0x2136x8)})[_0x9a5f[5]](function(_0x2136x6){return handleError(_0x2136x4,_0x2136x6)});})[_0x9a5f[5]](function(_0x2136x6){return handleError(_0x2136x4,_0x2136x6)})};exports[_0x9a5f[21]]=function(_0x2136x3,_0x2136x4,_0x2136x5){if(_0x2136x3[_0x9a5f[18]][_0x9a5f[14]]){delete _0x2136x3[_0x9a5f[18]][_0x9a5f[14]]};MailApplication[_0x9a5f[16]](_0x2136x3[_0x9a5f[15]][_0x9a5f[14]])[_0x9a5f[8]](function(_0x2136x8){if(!_0x2136x8){return _0x2136x4[_0x9a5f[13]](404)};var _0x2136xa=_[_0x9a5f[22]](_0x2136x8,_0x2136x3[_0x9a5f[18]]);_0x2136xa[_0x9a5f[23]]()[_0x9a5f[8]](function(){return _0x2136x4[_0x9a5f[7]](200)[_0x9a5f[6]](_0x2136x8)})[_0x9a5f[5]](function(_0x2136x6){return handleError(_0x2136x4,_0x2136x6)});})[_0x9a5f[5]](function(_0x2136x6){return handleError(_0x2136x4,_0x2136x6)});};exports[_0x9a5f[24]]=function(_0x2136x3,_0x2136x4,_0x2136x5){MailApplication[_0x9a5f[16]](_0x2136x3[_0x9a5f[15]][_0x9a5f[14]])[_0x9a5f[8]](function(_0x2136x8){if(!_0x2136x8){return _0x2136x4[_0x9a5f[13]](404)};_0x2136x8[_0x9a5f[24]]()[_0x9a5f[8]](function(){return _0x2136x4[_0x9a5f[13]](204)})[_0x9a5f[5]](function(_0x2136x6){return handleError(_0x2136x4,_0x2136x6)});})[_0x9a5f[5]](function(_0x2136x6){return handleError(_0x2136x4,_0x2136x6)})};function handleError(_0x2136x4,_0x2136x6){return _0x2136x4[_0x9a5f[7]](500)[_0x9a5f[6]](_0x2136x6)}
\ No newline at end of file
index a6fb134..34eff0b 100644 (file)
@@ -1 +1 @@
-var _0x1402=["\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"];_0x1402[0];var mailApplication=require(_0x1402[2])[_0x1402[1]];exports[_0x1402[3]]=function(_0xa375x2){mailApplication[_0x1402[4]](function(_0xa375x3){onSave(_0xa375x2,_0xa375x3)});mailApplication[_0x1402[5]](function(_0xa375x3){onRemove(_0xa375x2,_0xa375x3)});};function onSave(_0xa375x2,_0xa375x3,_0xa375x5){_0xa375x2[_0x1402[7]](_0x1402[6],_0xa375x3)}function onRemove(_0xa375x2,_0xa375x3,_0xa375x5){_0xa375x2[_0x1402[7]](_0x1402[8],_0xa375x3)}
\ No newline at end of file
+var _0xdc63=["\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"];_0xdc63[0];var mailApplication=require(_0xdc63[2])[_0xdc63[1]];exports[_0xdc63[3]]=function(_0x9446x2){mailApplication[_0xdc63[4]](function(_0x9446x3){onSave(_0x9446x2,_0x9446x3)});mailApplication[_0xdc63[5]](function(_0x9446x3){onRemove(_0x9446x2,_0x9446x3)});};function onSave(_0x9446x2,_0x9446x3,_0x9446x5){_0x9446x2[_0xdc63[7]](_0xdc63[6],_0x9446x3)}function onRemove(_0x9446x2,_0x9446x3,_0x9446x5){_0x9446x2[_0xdc63[7]](_0xdc63[8],_0x9446x3)}
\ No newline at end of file
index 3c41b8f..91237c2 100644 (file)
@@ -1 +1 @@
-var _0x5fbb=["\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\x6D\x61\x69\x6C\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\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\x6D\x61\x69\x6C\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x67\x65\x74"];_0x5fbb[0];var should=require(_0x5fbb[1]);var app=require(_0x5fbb[2]);var request=require(_0x5fbb[3]);describe(_0x5fbb[4],function(){it(_0x5fbb[5],function(_0xa23cx4){request(app)[_0x5fbb[13]](_0x5fbb[12])[_0x5fbb[11]](200)[_0x5fbb[11]](_0x5fbb[10],/json/)[_0x5fbb[9]](function(_0xa23cx5,_0xa23cx6){if(_0xa23cx5){return _0xa23cx4(_0xa23cx5)};_0xa23cx6[_0x5fbb[8]][_0x5fbb[1]][_0x5fbb[7]][_0x5fbb[6]](Array);_0xa23cx4();})})});
\ No newline at end of file
+var _0x6e29=["\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\x6D\x61\x69\x6C\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\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\x6D\x61\x69\x6C\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x67\x65\x74"];_0x6e29[0];var should=require(_0x6e29[1]);var app=require(_0x6e29[2]);var request=require(_0x6e29[3]);describe(_0x6e29[4],function(){it(_0x6e29[5],function(_0xeb8bx4){request(app)[_0x6e29[13]](_0x6e29[12])[_0x6e29[11]](200)[_0x6e29[11]](_0x6e29[10],/json/)[_0x6e29[9]](function(_0xeb8bx5,_0xeb8bx6){if(_0xeb8bx5){return _0xeb8bx4(_0xeb8bx5)};_0xeb8bx6[_0x6e29[8]][_0x6e29[1]][_0x6e29[7]][_0x6e29[6]](Array);_0xeb8bx4();})})});
\ No newline at end of file
index 32fc189..9bbc521 100644 (file)
@@ -1 +1 @@
-var _0xc125=["\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","\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"];_0xc125[0];var express=require(_0xc125[1]);var controller=require(_0xc125[2]);var router=express.Router();router[_0xc125[5]](_0xc125[3],controller[_0xc125[4]]);router[_0xc125[5]](_0xc125[6],controller[_0xc125[7]]);router[_0xc125[9]](_0xc125[3],controller[_0xc125[8]]);router[_0xc125[11]](_0xc125[6],controller[_0xc125[10]]);router[_0xc125[12]](_0xc125[6],controller[_0xc125[10]]);router[_0xc125[14]](_0xc125[6],controller[_0xc125[13]]);module[_0xc125[15]]=router;
\ No newline at end of file
+var _0xe21b=["\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","\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"];_0xe21b[0];var express=require(_0xe21b[1]);var controller=require(_0xe21b[2]);var router=express.Router();router[_0xe21b[5]](_0xe21b[3],controller[_0xe21b[4]]);router[_0xe21b[5]](_0xe21b[6],controller[_0xe21b[7]]);router[_0xe21b[9]](_0xe21b[3],controller[_0xe21b[8]]);router[_0xe21b[11]](_0xe21b[6],controller[_0xe21b[10]]);router[_0xe21b[12]](_0xe21b[6],controller[_0xe21b[10]]);router[_0xe21b[14]](_0xe21b[6],controller[_0xe21b[13]]);module[_0xe21b[15]]=router;
\ No newline at end of file
index ef7a500..e04ae2a 100644 (file)
@@ -1 +1 @@
-var _0x466a=["\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","\x66\x69\x6C\x65\x4E\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","\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"];_0x466a[0];var _=require(_0x466a[1]);var path=require(_0x466a[2]);var fs=require(_0x466a[3]);var formidable=require(_0x466a[4]);var Promise=require(_0x466a[5]);var config=require(_0x466a[6]);var MailAttachment=require(_0x466a[8])[_0x466a[7]];exports[_0x466a[9]]=function(_0x314ex8,_0x314ex9,_0x314exa){MailAttachment[_0x466a[14]]()[_0x466a[13]](function(_0x314exc){return _0x314ex9[_0x466a[12]](200)[_0x466a[11]](_0x314exc)})[_0x466a[10]](function(_0x314exb){return _0x314exa(_0x314exb)})};exports[_0x466a[15]]=function(_0x314ex8,_0x314ex9,_0x314exa){MailAttachment[_0x466a[20]](_0x314ex8[_0x466a[19]][_0x466a[18]])[_0x466a[13]](function(_0x314exd){_0x314ex9[_0x466a[17]](_0x314exd[_0x466a[2]],_0x314exd[_0x466a[16]])})[_0x466a[10]](function(_0x314exb){return _0x314exa(_0x314exb)})};exports[_0x466a[21]]=function(_0x314ex8,_0x314ex9,_0x314exa){var _0x314exe= new formidable.IncomingForm();_0x314exe[_0x466a[22]]=path[_0x466a[27]](config[_0x466a[23]],_0x466a[24],_0x466a[25],_0x466a[26]);_0x314exe[_0x466a[28]]=true;_0x314exe[_0x466a[29]]=true;_0x314exe[_0x466a[30]]=true;_0x314exe[_0x466a[36]](_0x314ex8,function(_0x314exb,_0x314exe,_0x314exf){if(_0x314exb){return _0x314ex9[_0x466a[12]](500)[_0x466a[11]](_0x314exb)};return _0x314ex9[_0x466a[12]](201)[_0x466a[11]]({size:_0x314exf[_0x466a[32]][_0x466a[31]],path:_0x314exf[_0x466a[32]][_0x466a[2]],name:_0x314exf[_0x466a[32]][_0x466a[33]],type:_0x314exf[_0x466a[32]][_0x466a[34]],basename:path[_0x466a[35]](_0x314exf[_0x466a[32]][_0x466a[2]])});});};exports[_0x466a[37]]=function(_0x314ex8,_0x314ex9,_0x314exa){if(_0x314ex8[_0x466a[38]][_0x466a[18]]){delete _0x314ex8[_0x466a[38]][_0x466a[18]]};MailAttachment[_0x466a[20]](_0x314ex8[_0x466a[19]][_0x466a[18]])[_0x466a[13]](function(_0x314exd){if(!_0x314exd){return _0x314ex9[_0x466a[39]](404)};var _0x314ex10=_[_0x466a[40]](_0x314exd,_0x314ex8[_0x466a[38]]);_0x314ex10[_0x466a[41]]()[_0x466a[13]](function(){return _0x314ex9[_0x466a[12]](200)[_0x466a[11]](_0x314exd)})[_0x466a[10]](function(_0x314exb){return _0x314exa(_0x314exb)});})[_0x466a[10]](function(_0x314exb){return _0x314exa(_0x314exb)});};exports[_0x466a[42]]=function(_0x314ex8,_0x314ex9,_0x314exa){var _0x314ex11=Promise[_0x466a[44]](require(_0x466a[3])[_0x466a[43]]);var _0x314ex12=path[_0x466a[27]](config[_0x466a[23]],_0x466a[24],_0x466a[25],_0x466a[26],_0x314ex8[_0x466a[19]][_0x466a[18]]);return _0x314ex11(_0x314ex12)[_0x466a[13]](function(){return _0x314ex9[_0x466a[39]](204)})[_0x466a[10]](function(_0x314exb){return handleError(_0x314ex9,_0x314exb)});};function handleError(_0x314ex9,_0x314exb){return _0x314ex9[_0x466a[12]](500)[_0x466a[11]](_0x314exb)}
\ No newline at end of file
+var _0xa58a=["\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","\x66\x69\x6C\x65\x4E\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","\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"];_0xa58a[0];var _=require(_0xa58a[1]);var path=require(_0xa58a[2]);var fs=require(_0xa58a[3]);var formidable=require(_0xa58a[4]);var Promise=require(_0xa58a[5]);var config=require(_0xa58a[6]);var MailAttachment=require(_0xa58a[8])[_0xa58a[7]];exports[_0xa58a[9]]=function(_0x9304x8,_0x9304x9,_0x9304xa){MailAttachment[_0xa58a[14]]()[_0xa58a[13]](function(_0x9304xc){return _0x9304x9[_0xa58a[12]](200)[_0xa58a[11]](_0x9304xc)})[_0xa58a[10]](function(_0x9304xb){return _0x9304xa(_0x9304xb)})};exports[_0xa58a[15]]=function(_0x9304x8,_0x9304x9,_0x9304xa){MailAttachment[_0xa58a[20]](_0x9304x8[_0xa58a[19]][_0xa58a[18]])[_0xa58a[13]](function(_0x9304xd){_0x9304x9[_0xa58a[17]](_0x9304xd[_0xa58a[2]],_0x9304xd[_0xa58a[16]])})[_0xa58a[10]](function(_0x9304xb){return _0x9304xa(_0x9304xb)})};exports[_0xa58a[21]]=function(_0x9304x8,_0x9304x9,_0x9304xa){var _0x9304xe= new formidable.IncomingForm();_0x9304xe[_0xa58a[22]]=path[_0xa58a[27]](config[_0xa58a[23]],_0xa58a[24],_0xa58a[25],_0xa58a[26]);_0x9304xe[_0xa58a[28]]=true;_0x9304xe[_0xa58a[29]]=true;_0x9304xe[_0xa58a[30]]=true;_0x9304xe[_0xa58a[36]](_0x9304x8,function(_0x9304xb,_0x9304xe,_0x9304xf){if(_0x9304xb){return _0x9304x9[_0xa58a[12]](500)[_0xa58a[11]](_0x9304xb)};return _0x9304x9[_0xa58a[12]](201)[_0xa58a[11]]({size:_0x9304xf[_0xa58a[32]][_0xa58a[31]],path:_0x9304xf[_0xa58a[32]][_0xa58a[2]],name:_0x9304xf[_0xa58a[32]][_0xa58a[33]],type:_0x9304xf[_0xa58a[32]][_0xa58a[34]],basename:path[_0xa58a[35]](_0x9304xf[_0xa58a[32]][_0xa58a[2]])});});};exports[_0xa58a[37]]=function(_0x9304x8,_0x9304x9,_0x9304xa){if(_0x9304x8[_0xa58a[38]][_0xa58a[18]]){delete _0x9304x8[_0xa58a[38]][_0xa58a[18]]};MailAttachment[_0xa58a[20]](_0x9304x8[_0xa58a[19]][_0xa58a[18]])[_0xa58a[13]](function(_0x9304xd){if(!_0x9304xd){return _0x9304x9[_0xa58a[39]](404)};var _0x9304x10=_[_0xa58a[40]](_0x9304xd,_0x9304x8[_0xa58a[38]]);_0x9304x10[_0xa58a[41]]()[_0xa58a[13]](function(){return _0x9304x9[_0xa58a[12]](200)[_0xa58a[11]](_0x9304xd)})[_0xa58a[10]](function(_0x9304xb){return _0x9304xa(_0x9304xb)});})[_0xa58a[10]](function(_0x9304xb){return _0x9304xa(_0x9304xb)});};exports[_0xa58a[42]]=function(_0x9304x8,_0x9304x9,_0x9304xa){var _0x9304x11=Promise[_0xa58a[44]](require(_0xa58a[3])[_0xa58a[43]]);var _0x9304x12=path[_0xa58a[27]](config[_0xa58a[23]],_0xa58a[24],_0xa58a[25],_0xa58a[26],_0x9304x8[_0xa58a[19]][_0xa58a[18]]);return _0x9304x11(_0x9304x12)[_0xa58a[13]](function(){return _0x9304x9[_0xa58a[39]](204)})[_0xa58a[10]](function(_0x9304xb){return handleError(_0x9304x9,_0x9304xb)});};function handleError(_0x9304x9,_0x9304xb){return _0x9304x9[_0xa58a[12]](500)[_0xa58a[11]](_0x9304xb)}
\ No newline at end of file
index f24b9ee..071716d 100644 (file)
@@ -1 +1 @@
-var _0xddbb=["\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"];_0xddbb[0];var mail_attachment=require(_0xddbb[2])[_0xddbb[1]];exports[_0xddbb[3]]=function(_0x1ad0x2){mail_attachment[_0xddbb[4]](function(_0x1ad0x3){onSave(_0x1ad0x2,_0x1ad0x3)});mail_attachment[_0xddbb[5]](function(_0x1ad0x3){onRemove(_0x1ad0x2,_0x1ad0x3)});};function onSave(_0x1ad0x2,_0x1ad0x3,_0x1ad0x5){_0x1ad0x2[_0xddbb[7]](_0xddbb[6],_0x1ad0x3)}function onRemove(_0x1ad0x2,_0x1ad0x3,_0x1ad0x5){_0x1ad0x2[_0xddbb[7]](_0xddbb[8],_0x1ad0x3)}
\ No newline at end of file
+var _0xb0d0=["\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"];_0xb0d0[0];var mail_attachment=require(_0xb0d0[2])[_0xb0d0[1]];exports[_0xb0d0[3]]=function(_0x9cf4x2){mail_attachment[_0xb0d0[4]](function(_0x9cf4x3){onSave(_0x9cf4x2,_0x9cf4x3)});mail_attachment[_0xb0d0[5]](function(_0x9cf4x3){onRemove(_0x9cf4x2,_0x9cf4x3)});};function onSave(_0x9cf4x2,_0x9cf4x3,_0x9cf4x5){_0x9cf4x2[_0xb0d0[7]](_0xb0d0[6],_0x9cf4x3)}function onRemove(_0x9cf4x2,_0x9cf4x3,_0x9cf4x5){_0x9cf4x2[_0xb0d0[7]](_0xb0d0[8],_0x9cf4x3)}
\ No newline at end of file
index 2fc6c47..091eb05 100644 (file)
@@ -1 +1 @@
-var _0xadbd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\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","\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"];_0xadbd[0];var express=require(_0xadbd[1]);var controller=require(_0xadbd[2]);var router=express.Router();router[_0xadbd[5]](_0xadbd[3],controller[_0xadbd[4]]);router[_0xadbd[5]](_0xadbd[6],controller[_0xadbd[7]]);router[_0xadbd[9]](_0xadbd[3],controller[_0xadbd[8]]);router[_0xadbd[11]](_0xadbd[6],controller[_0xadbd[10]]);router[_0xadbd[12]](_0xadbd[6],controller[_0xadbd[10]]);router[_0xadbd[14]](_0xadbd[3],controller[_0xadbd[13]]);router[_0xadbd[14]](_0xadbd[6],controller[_0xadbd[15]]);module[_0xadbd[16]]=router;
\ No newline at end of file
+var _0xcb4c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\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","\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"];_0xcb4c[0];var express=require(_0xcb4c[1]);var controller=require(_0xcb4c[2]);var router=express.Router();router[_0xcb4c[5]](_0xcb4c[3],controller[_0xcb4c[4]]);router[_0xcb4c[5]](_0xcb4c[6],controller[_0xcb4c[7]]);router[_0xcb4c[9]](_0xcb4c[3],controller[_0xcb4c[8]]);router[_0xcb4c[11]](_0xcb4c[6],controller[_0xcb4c[10]]);router[_0xcb4c[12]](_0xcb4c[6],controller[_0xcb4c[10]]);router[_0xcb4c[14]](_0xcb4c[3],controller[_0xcb4c[13]]);router[_0xcb4c[14]](_0xcb4c[6],controller[_0xcb4c[15]]);module[_0xcb4c[16]]=router;
\ No newline at end of file
index 626decb..a5ba118 100644 (file)
@@ -1 +1 @@
-var _0xf608=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x4D\x61\x69\x6C\x42\x75\x73\x69\x6E\x65\x73\x73\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x42\x75\x73\x69\x6E\x65\x73\x73\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x42\x75\x73\x69\x6E\x65\x73\x73\x41\x63\x74\x69\x6F\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x6F\x72","\x62\x6F\x64\x79","\x4D\x61\x69\x6C\x42\x75\x73\x69\x6E\x65\x73\x73\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x49\x64","\x63\x6F\x6E\x63\x61\x74","\x61\x6E\x64","\x61\x63\x74\x69\x6F\x6E\x73","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\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","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0xf608[0];var _=require(_0xf608[1]);var util=require(_0xf608[2]);var MailBusinessAutomation=require(_0xf608[4])[_0xf608[3]];var BusinessCondition=require(_0xf608[4])[_0xf608[5]];var BusinessAction=require(_0xf608[4])[_0xf608[6]];var sequelize=require(_0xf608[4])[_0xf608[7]];exports[_0xf608[8]]=function(_0xabb0x7,_0xabb0x8,_0xabb0x9){var _0xabb0xa=[_0xf608[9],_0xf608[10]];var _0xabb0xb=_0xabb0x7[_0xf608[12]][_0xf608[11]]?parseInt(_0xabb0x7[_0xf608[12]][_0xf608[11]],10):100;var _0xabb0xc=_0xabb0x7[_0xf608[12]][_0xf608[13]]?parseInt(_0xabb0x7[_0xf608[12]][_0xf608[13]],10):0;var _0xabb0xd={where:{},limit:_0xabb0xb,offset:_0xabb0xc*_0xabb0xb};_[_0xf608[27]](_0xabb0x7[_0xf608[12]],function(_0xabb0xe,_0xabb0xf){switch(_0xabb0xf){case _0xf608[11]:;case _0xf608[13]:break ;;case _0xf608[16]:_0xabb0xd[_0xf608[14]]=util[_0xf608[19]](_0xf608[15],_0xabb0x7[_0xf608[12]][_0xf608[16]],_0xabb0x7[_0xf608[12]][_0xf608[17]]||_0xf608[18])||null;break ;;case _0xf608[17]:break ;;case _0xf608[25]:_0xabb0xd[_0xf608[21]][_0xf608[20]]=[];_0xabb0xa[_0xf608[24]](function(_0xabb0x10){var _0xabb0x11={};_0xabb0x11[_0xabb0x10]={$like:_0xf608[22]+_0xabb0xe+_0xf608[22]};_0xabb0xd[_0xf608[21]][_0xf608[20]][_0xf608[23]](_0xabb0x11);});break ;;default:_0xabb0xd[_0xf608[21]][_0xabb0xf]={$like:{}};_0xabb0xd[_0xf608[21]][_0xabb0xf][_0xf608[26]]=_0xf608[22]+_0xabb0xe+_0xf608[22];;}});MailBusinessAutomation[_0xf608[42]](_0xabb0xd)[_0xf608[41]](function(_0xabb0x13){var _0xabb0x14=Math[_0xf608[33]](_0xabb0x13[_0xf608[32]]/_0xabb0xb);var _0xabb0x15=_0xabb0x14>(_0xabb0xd[_0xf608[34]]+1)?util[_0xf608[19]](_0xf608[35],_0xabb0x7[_0xf608[36]],_0xabb0x7[_0xf608[38]][_0xf608[37]],_0xabb0x7[_0xf608[39]],_0xabb0xc+1):null;var _0xabb0x16=_0xabb0xc>0?util[_0xf608[19]](_0xf608[35],_0xabb0x7[_0xf608[36]],_0xabb0x7[_0xf608[38]][_0xf608[37]],_0xabb0x7[_0xf608[39]],_0xabb0xc-1):null;_0xabb0x8[_0xf608[30]](200)[_0xf608[29]]({count:_0xabb0x13[_0xf608[32]],mailAutomations:_0xabb0x13[_0xf608[40]],next_page:_0xabb0x15,previous_page:_0xabb0x16,total_pages:_0xabb0x14});})[_0xf608[31]](function(_0xabb0x12){_0xabb0x8[_0xf608[30]](500)[_0xf608[29]]({error:_0xf608[28]})});};exports[_0xf608[43]]=function(_0xabb0x7,_0xabb0x8){MailBusinessAutomation[_0xf608[47]](_0xabb0x7[_0xf608[46]][_0xf608[45]],{include:[{all:true}]})[_0xf608[41]](function(_0xabb0x17){if(!_0xabb0x17){return _0xabb0x8[_0xf608[44]](404)};return _0xabb0x8[_0xf608[29]](_0xabb0x17);})[_0xf608[31]](function(_0xabb0x12){return handleError(_0xabb0x8,_0xabb0x12)})};exports[_0xf608[48]]=function(_0xabb0x7,_0xabb0x8,_0xabb0x9){return sequelize[_0xf608[56]](function(_0xabb0x18){return MailBusinessAutomation[_0xf608[48]](_0xabb0x7[_0xf608[50]],{transaction:_0xabb0x18})[_0xf608[41]](function(_0xabb0x17){var _0xabb0x19=[];if(_0xabb0x7[_0xf608[50]][_0xf608[49]]){_0xabb0x7[_0xf608[50]][_0xf608[49]][_0xf608[24]](function(_0xabb0x1a){_0xabb0x1a[_0xf608[51]]=_0xabb0x17[_0xf608[45]]});_0xabb0x19=_0xabb0x19[_0xf608[52]](_0xabb0x7[_0xf608[50]][_0xf608[49]]);};if(_0xabb0x7[_0xf608[50]][_0xf608[53]]){_0xabb0x7[_0xf608[50]][_0xf608[53]][_0xf608[24]](function(_0xabb0x1a){_0xabb0x1a[_0xf608[51]]=_0xabb0x17[_0xf608[45]]});_0xabb0x19=_0xabb0x19[_0xf608[52]](_0xabb0x7[_0xf608[50]][_0xf608[53]]);};return BusinessCondition[_0xf608[55]](_0xabb0x19,{transaction:_0xabb0x18})[_0xf608[41]](function(_0xabb0x1b){if(_0xabb0x7[_0xf608[50]][_0xf608[54]]){_0xabb0x7[_0xf608[50]][_0xf608[54]][_0xf608[24]](function(_0xabb0x1a){_0xabb0x1a[_0xf608[51]]=_0xabb0x17[_0xf608[45]]})};return BusinessAction[_0xf608[55]](_0xabb0x7[_0xf608[50]][_0xf608[54]],{transaction:_0xabb0x18});});})})[_0xf608[41]](function(){return _0xabb0x8[_0xf608[44]](201)})[_0xf608[31]](function(_0xabb0x12){return _0xabb0x9(_0xabb0x12)})};exports[_0xf608[57]]=function(_0xabb0x7,_0xabb0x8){if(_0xabb0x7[_0xf608[50]][_0xf608[45]]){delete _0xabb0x7[_0xf608[50]][_0xf608[45]]};MailBusinessAutomation[_0xf608[60]]({where:{id:_0xabb0x7[_0xf608[46]][_0xf608[45]]}})[_0xf608[41]](function(_0xabb0x17){if(!_0xabb0x17){return _0xabb0x8[_0xf608[44]](404)};var _0xabb0x1c=_[_0xf608[58]](_0xabb0x17,_0xabb0x7[_0xf608[50]]);_0xabb0x1c[_0xf608[59]]()[_0xf608[41]](function(){return _0xabb0x8[_0xf608[30]](200)[_0xf608[29]](_0xabb0x17)})[_0xf608[31]](function(_0xabb0x12){return handleError(_0xabb0x8,_0xabb0x12)});})[_0xf608[31]](function(_0xabb0x12){return handleError(_0xabb0x8,_0xabb0x12)});};exports[_0xf608[61]]=function(_0xabb0x7,_0xabb0x8){MailBusinessAutomation[_0xf608[47]](_0xabb0x7[_0xf608[46]][_0xf608[45]])[_0xf608[41]](function(_0xabb0x17){if(!_0xabb0x17){return _0xabb0x8[_0xf608[44]](404)};_0xabb0x17[_0xf608[61]]()[_0xf608[41]](function(){return _0xabb0x8[_0xf608[44]](204)})[_0xf608[31]](function(_0xabb0x12){return handleError(_0xabb0x8,_0xabb0x12)});})[_0xf608[31]](function(_0xabb0x12){return handleError(_0xabb0x8,_0xabb0x12)})};exports[_0xf608[62]]=function(_0xabb0x7,_0xabb0x8){MailBusinessAutomation[_0xf608[61]]({where:{id:_0xabb0x7[_0xf608[12]][_0xf608[45]]},individualHooks:true})[_0xf608[41]](function(){return _0xabb0x8[_0xf608[44]](204)})[_0xf608[31]](function(_0xabb0x12){return handleError(_0xabb0x8,_0xabb0x12)})};function handleError(_0xabb0x8,_0xabb0x12){return _0xabb0x8[_0xf608[30]](500)[_0xf608[29]](_0xabb0x12)}
\ No newline at end of file
+var _0x74da=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x4D\x61\x69\x6C\x42\x75\x73\x69\x6E\x65\x73\x73\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x42\x75\x73\x69\x6E\x65\x73\x73\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x42\x75\x73\x69\x6E\x65\x73\x73\x41\x63\x74\x69\x6F\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x6F\x72","\x62\x6F\x64\x79","\x4D\x61\x69\x6C\x42\x75\x73\x69\x6E\x65\x73\x73\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x49\x64","\x63\x6F\x6E\x63\x61\x74","\x61\x6E\x64","\x61\x63\x74\x69\x6F\x6E\x73","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\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","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0x74da[0];var _=require(_0x74da[1]);var util=require(_0x74da[2]);var MailBusinessAutomation=require(_0x74da[4])[_0x74da[3]];var BusinessCondition=require(_0x74da[4])[_0x74da[5]];var BusinessAction=require(_0x74da[4])[_0x74da[6]];var sequelize=require(_0x74da[4])[_0x74da[7]];exports[_0x74da[8]]=function(_0xbb06x7,_0xbb06x8,_0xbb06x9){var _0xbb06xa=[_0x74da[9],_0x74da[10]];var _0xbb06xb=_0xbb06x7[_0x74da[12]][_0x74da[11]]?parseInt(_0xbb06x7[_0x74da[12]][_0x74da[11]],10):100;var _0xbb06xc=_0xbb06x7[_0x74da[12]][_0x74da[13]]?parseInt(_0xbb06x7[_0x74da[12]][_0x74da[13]],10):0;var _0xbb06xd={where:{},limit:_0xbb06xb,offset:_0xbb06xc*_0xbb06xb};_[_0x74da[27]](_0xbb06x7[_0x74da[12]],function(_0xbb06xe,_0xbb06xf){switch(_0xbb06xf){case _0x74da[11]:;case _0x74da[13]:break ;;case _0x74da[16]:_0xbb06xd[_0x74da[14]]=util[_0x74da[19]](_0x74da[15],_0xbb06x7[_0x74da[12]][_0x74da[16]],_0xbb06x7[_0x74da[12]][_0x74da[17]]||_0x74da[18])||null;break ;;case _0x74da[17]:break ;;case _0x74da[25]:_0xbb06xd[_0x74da[21]][_0x74da[20]]=[];_0xbb06xa[_0x74da[24]](function(_0xbb06x10){var _0xbb06x11={};_0xbb06x11[_0xbb06x10]={$like:_0x74da[22]+_0xbb06xe+_0x74da[22]};_0xbb06xd[_0x74da[21]][_0x74da[20]][_0x74da[23]](_0xbb06x11);});break ;;default:_0xbb06xd[_0x74da[21]][_0xbb06xf]={$like:{}};_0xbb06xd[_0x74da[21]][_0xbb06xf][_0x74da[26]]=_0x74da[22]+_0xbb06xe+_0x74da[22];;}});MailBusinessAutomation[_0x74da[42]](_0xbb06xd)[_0x74da[41]](function(_0xbb06x13){var _0xbb06x14=Math[_0x74da[33]](_0xbb06x13[_0x74da[32]]/_0xbb06xb);var _0xbb06x15=_0xbb06x14>(_0xbb06xd[_0x74da[34]]+1)?util[_0x74da[19]](_0x74da[35],_0xbb06x7[_0x74da[36]],_0xbb06x7[_0x74da[38]][_0x74da[37]],_0xbb06x7[_0x74da[39]],_0xbb06xc+1):null;var _0xbb06x16=_0xbb06xc>0?util[_0x74da[19]](_0x74da[35],_0xbb06x7[_0x74da[36]],_0xbb06x7[_0x74da[38]][_0x74da[37]],_0xbb06x7[_0x74da[39]],_0xbb06xc-1):null;_0xbb06x8[_0x74da[30]](200)[_0x74da[29]]({count:_0xbb06x13[_0x74da[32]],mailAutomations:_0xbb06x13[_0x74da[40]],next_page:_0xbb06x15,previous_page:_0xbb06x16,total_pages:_0xbb06x14});})[_0x74da[31]](function(_0xbb06x12){_0xbb06x8[_0x74da[30]](500)[_0x74da[29]]({error:_0x74da[28]})});};exports[_0x74da[43]]=function(_0xbb06x7,_0xbb06x8){MailBusinessAutomation[_0x74da[47]](_0xbb06x7[_0x74da[46]][_0x74da[45]],{include:[{all:true}]})[_0x74da[41]](function(_0xbb06x17){if(!_0xbb06x17){return _0xbb06x8[_0x74da[44]](404)};return _0xbb06x8[_0x74da[29]](_0xbb06x17);})[_0x74da[31]](function(_0xbb06x12){return handleError(_0xbb06x8,_0xbb06x12)})};exports[_0x74da[48]]=function(_0xbb06x7,_0xbb06x8,_0xbb06x9){return sequelize[_0x74da[56]](function(_0xbb06x18){return MailBusinessAutomation[_0x74da[48]](_0xbb06x7[_0x74da[50]],{transaction:_0xbb06x18})[_0x74da[41]](function(_0xbb06x17){var _0xbb06x19=[];if(_0xbb06x7[_0x74da[50]][_0x74da[49]]){_0xbb06x7[_0x74da[50]][_0x74da[49]][_0x74da[24]](function(_0xbb06x1a){_0xbb06x1a[_0x74da[51]]=_0xbb06x17[_0x74da[45]]});_0xbb06x19=_0xbb06x19[_0x74da[52]](_0xbb06x7[_0x74da[50]][_0x74da[49]]);};if(_0xbb06x7[_0x74da[50]][_0x74da[53]]){_0xbb06x7[_0x74da[50]][_0x74da[53]][_0x74da[24]](function(_0xbb06x1a){_0xbb06x1a[_0x74da[51]]=_0xbb06x17[_0x74da[45]]});_0xbb06x19=_0xbb06x19[_0x74da[52]](_0xbb06x7[_0x74da[50]][_0x74da[53]]);};return BusinessCondition[_0x74da[55]](_0xbb06x19,{transaction:_0xbb06x18})[_0x74da[41]](function(_0xbb06x1b){if(_0xbb06x7[_0x74da[50]][_0x74da[54]]){_0xbb06x7[_0x74da[50]][_0x74da[54]][_0x74da[24]](function(_0xbb06x1a){_0xbb06x1a[_0x74da[51]]=_0xbb06x17[_0x74da[45]]})};return BusinessAction[_0x74da[55]](_0xbb06x7[_0x74da[50]][_0x74da[54]],{transaction:_0xbb06x18});});})})[_0x74da[41]](function(){return _0xbb06x8[_0x74da[44]](201)})[_0x74da[31]](function(_0xbb06x12){return _0xbb06x9(_0xbb06x12)})};exports[_0x74da[57]]=function(_0xbb06x7,_0xbb06x8){if(_0xbb06x7[_0x74da[50]][_0x74da[45]]){delete _0xbb06x7[_0x74da[50]][_0x74da[45]]};MailBusinessAutomation[_0x74da[60]]({where:{id:_0xbb06x7[_0x74da[46]][_0x74da[45]]}})[_0x74da[41]](function(_0xbb06x17){if(!_0xbb06x17){return _0xbb06x8[_0x74da[44]](404)};var _0xbb06x1c=_[_0x74da[58]](_0xbb06x17,_0xbb06x7[_0x74da[50]]);_0xbb06x1c[_0x74da[59]]()[_0x74da[41]](function(){return _0xbb06x8[_0x74da[30]](200)[_0x74da[29]](_0xbb06x17)})[_0x74da[31]](function(_0xbb06x12){return handleError(_0xbb06x8,_0xbb06x12)});})[_0x74da[31]](function(_0xbb06x12){return handleError(_0xbb06x8,_0xbb06x12)});};exports[_0x74da[61]]=function(_0xbb06x7,_0xbb06x8){MailBusinessAutomation[_0x74da[47]](_0xbb06x7[_0x74da[46]][_0x74da[45]])[_0x74da[41]](function(_0xbb06x17){if(!_0xbb06x17){return _0xbb06x8[_0x74da[44]](404)};_0xbb06x17[_0x74da[61]]()[_0x74da[41]](function(){return _0xbb06x8[_0x74da[44]](204)})[_0x74da[31]](function(_0xbb06x12){return handleError(_0xbb06x8,_0xbb06x12)});})[_0x74da[31]](function(_0xbb06x12){return handleError(_0xbb06x8,_0xbb06x12)})};exports[_0x74da[62]]=function(_0xbb06x7,_0xbb06x8){MailBusinessAutomation[_0x74da[61]]({where:{id:_0xbb06x7[_0x74da[12]][_0x74da[45]]},individualHooks:true})[_0x74da[41]](function(){return _0xbb06x8[_0x74da[44]](204)})[_0x74da[31]](function(_0xbb06x12){return handleError(_0xbb06x8,_0xbb06x12)})};function handleError(_0xbb06x8,_0xbb06x12){return _0xbb06x8[_0x74da[30]](500)[_0x74da[29]](_0xbb06x12)}
\ No newline at end of file
index f491bcc..aa239f6 100644 (file)
@@ -1 +1 @@
-var _0x349a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x42\x75\x73\x69\x6E\x65\x73\x73\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\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x349a[0];var MailBusinessAutomation=require(_0x349a[2])[_0x349a[1]];exports[_0x349a[3]]=function(_0xb0e0x2){MailBusinessAutomation[_0x349a[4]](function(_0xb0e0x3,_0xb0e0x4){onSave(_0xb0e0x2,_0xb0e0x3)});MailBusinessAutomation[_0x349a[5]](function(_0xb0e0x3,_0xb0e0x4){onSave(_0xb0e0x2,_0xb0e0x3)});MailBusinessAutomation[_0x349a[6]](function(_0xb0e0x3){onRemove(_0xb0e0x2,_0xb0e0x3)});};function onSave(_0xb0e0x2,_0xb0e0x3,_0xb0e0x6){_0xb0e0x2[_0x349a[8]](_0x349a[7],_0xb0e0x3)}function onRemove(_0xb0e0x2,_0xb0e0x3,_0xb0e0x6){_0xb0e0x2[_0x349a[8]](_0x349a[9],_0xb0e0x3)}
\ No newline at end of file
+var _0x9788=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x42\x75\x73\x69\x6E\x65\x73\x73\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\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x9788[0];var MailBusinessAutomation=require(_0x9788[2])[_0x9788[1]];exports[_0x9788[3]]=function(_0x35aax2){MailBusinessAutomation[_0x9788[4]](function(_0x35aax3,_0x35aax4){onSave(_0x35aax2,_0x35aax3)});MailBusinessAutomation[_0x9788[5]](function(_0x35aax3,_0x35aax4){onSave(_0x35aax2,_0x35aax3)});MailBusinessAutomation[_0x9788[6]](function(_0x35aax3){onRemove(_0x35aax2,_0x35aax3)});};function onSave(_0x35aax2,_0x35aax3,_0x35aax6){_0x35aax2[_0x9788[8]](_0x9788[7],_0x35aax3)}function onRemove(_0x35aax2,_0x35aax3,_0x35aax6){_0x35aax2[_0x9788[8]](_0x9788[9],_0x35aax3)}
\ No newline at end of file
index f491f99..0b1645a 100644 (file)
@@ -1 +1 @@
-var _0x840a=["\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\x6D\x61\x69\x6C\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\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\x6D\x61\x69\x6C\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73","\x67\x65\x74"];_0x840a[0];var should=require(_0x840a[1]);var app=require(_0x840a[2]);var request=require(_0x840a[3]);describe(_0x840a[4],function(){it(_0x840a[5],function(_0x9e6fx4){request(app)[_0x840a[13]](_0x840a[12])[_0x840a[11]](200)[_0x840a[11]](_0x840a[10],/json/)[_0x840a[9]](function(_0x9e6fx5,_0x9e6fx6){if(_0x9e6fx5){return _0x9e6fx4(_0x9e6fx5)};_0x9e6fx6[_0x840a[8]][_0x840a[1]][_0x840a[7]][_0x840a[6]](Array);_0x9e6fx4();})})});
\ No newline at end of file
+var _0xfa03=["\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\x6D\x61\x69\x6C\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\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\x6D\x61\x69\x6C\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73","\x67\x65\x74"];_0xfa03[0];var should=require(_0xfa03[1]);var app=require(_0xfa03[2]);var request=require(_0xfa03[3]);describe(_0xfa03[4],function(){it(_0xfa03[5],function(_0xe5b3x4){request(app)[_0xfa03[13]](_0xfa03[12])[_0xfa03[11]](200)[_0xfa03[11]](_0xfa03[10],/json/)[_0xfa03[9]](function(_0xe5b3x5,_0xe5b3x6){if(_0xe5b3x5){return _0xe5b3x4(_0xe5b3x5)};_0xe5b3x6[_0xfa03[8]][_0xfa03[1]][_0xfa03[7]][_0xfa03[6]](Array);_0xe5b3x4();})})});
\ No newline at end of file
index cd288d9..709c0e0 100644 (file)
@@ -1 +1 @@
-var _0xa7a9=["\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","\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\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","\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"];_0xa7a9[0];var express=require(_0xa7a9[1]);var controller=require(_0xa7a9[2]);var auth=require(_0xa7a9[3]);var router=express.Router();router[_0xa7a9[7]](_0xa7a9[4],auth[_0xa7a9[5]](),controller[_0xa7a9[6]]);router[_0xa7a9[7]](_0xa7a9[8],auth[_0xa7a9[5]](),controller[_0xa7a9[9]]);router[_0xa7a9[11]](_0xa7a9[4],auth[_0xa7a9[5]](),controller[_0xa7a9[10]]);router[_0xa7a9[13]](_0xa7a9[4],auth[_0xa7a9[5]](),controller[_0xa7a9[12]]);router[_0xa7a9[13]](_0xa7a9[14],controller[_0xa7a9[15]]);router[_0xa7a9[13]](_0xa7a9[16],controller[_0xa7a9[12]]);router[_0xa7a9[13]](_0xa7a9[8],controller[_0xa7a9[12]]);router[_0xa7a9[17]](_0xa7a9[8],controller[_0xa7a9[12]]);router[_0xa7a9[19]](_0xa7a9[8],controller[_0xa7a9[18]]);module[_0xa7a9[20]]=router;
\ No newline at end of file
+var _0xb9c4=["\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","\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\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","\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"];_0xb9c4[0];var express=require(_0xb9c4[1]);var controller=require(_0xb9c4[2]);var auth=require(_0xb9c4[3]);var router=express.Router();router[_0xb9c4[7]](_0xb9c4[4],auth[_0xb9c4[5]](),controller[_0xb9c4[6]]);router[_0xb9c4[7]](_0xb9c4[8],auth[_0xb9c4[5]](),controller[_0xb9c4[9]]);router[_0xb9c4[11]](_0xb9c4[4],auth[_0xb9c4[5]](),controller[_0xb9c4[10]]);router[_0xb9c4[13]](_0xb9c4[4],auth[_0xb9c4[5]](),controller[_0xb9c4[12]]);router[_0xb9c4[13]](_0xb9c4[14],controller[_0xb9c4[15]]);router[_0xb9c4[13]](_0xb9c4[16],controller[_0xb9c4[12]]);router[_0xb9c4[13]](_0xb9c4[8],controller[_0xb9c4[12]]);router[_0xb9c4[17]](_0xb9c4[8],controller[_0xb9c4[12]]);router[_0xb9c4[19]](_0xb9c4[8],controller[_0xb9c4[18]]);module[_0xb9c4[20]]=router;
\ No newline at end of file
index 18eec2e..a7bf61b 100644 (file)
@@ -1 +1 @@
-var _0x5988=["\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","\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","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x65\x72\x72\x6F\x72","\x72\x6F\x6C\x6C\x62\x61\x63\x6B","\x63\x6F\x6D\x6D\x69\x74","\x62\x6F\x64\x79","\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\x6C\x65\x74\x65","\x54\x52\x41\x53\x48","\x62\x75\x6C\x6B\x55\x70\x64\x61\x74\x65"];_0x5988[0];var _=require(_0x5988[1]);var async=require(_0x5988[2]);var htmlToText=require(_0x5988[3]);var formidable=require(_0x5988[4]);var path=require(_0x5988[5]);var config=require(_0x5988[6]);var sequelize=require(_0x5988[8])[_0x5988[7]];var MailMessage=require(_0x5988[8])[_0x5988[9]];var MailAttachment=require(_0x5988[8])[_0x5988[10]];var MailRoom=require(_0x5988[8])[_0x5988[11]];var MailAccount=require(_0x5988[8])[_0x5988[12]];var Contact=require(_0x5988[8])[_0x5988[13]];exports[_0x5988[14]]=function(_0xdaaexd,_0xdaaexe,_0xdaaexf){var _0xdaaex10={order:_0x5988[15],include:[{all:true,include:[{all:true}]}]};switch(_0xdaaexd[_0x5988[21]][_0x5988[20]]){case _0x5988[18]:_0xdaaex10[_0x5988[16]]=_0xdaaexd[_0x5988[17]];break ;;case _0x5988[19]:break ;;default:;};MailMessage[_0x5988[26]](_0xdaaex10)[_0x5988[25]](function(_0xdaaex12){return _0xdaaexe[_0x5988[24]](200)[_0x5988[23]](_0xdaaex12)})[_0x5988[22]](function(_0xdaaex11){return handleError(_0xdaaexe,_0xdaaex11,_0xdaaexf)});};exports[_0x5988[27]]=function(_0xdaaexd,_0xdaaexe,_0xdaaexf){MailMessage[_0x5988[31]](_0xdaaexd[_0x5988[30]][_0x5988[29]],{include:[{all:true,include:[{all:true}]}]})[_0x5988[25]](function(_0xdaaex13){if(!_0xdaaex13){return _0xdaaexe[_0x5988[28]](404)};return _0xdaaexe[_0x5988[23]](_0xdaaex13);})[_0x5988[22]](function(_0xdaaex11){return handleError(_0xdaaexe,_0xdaaex11,_0xdaaexf)})};exports[_0x5988[32]]=function(_0xdaaexd,_0xdaaexe,_0xdaaexf){return sequelize[_0x5988[37]]()[_0x5988[25]](function(_0xdaaex14){return MailMessage[_0x5988[32]](_0xdaaexd[_0x5988[36]],{include:[{model:MailAttachment}],transaction:_0xdaaex14})[_0x5988[25]](function(_0xdaaex13){_0xdaaex14[_0x5988[35]]();return _0xdaaexe[_0x5988[24]](201)[_0x5988[23]](_0xdaaex13);})[_0x5988[22]](function(_0xdaaex11){console[_0x5988[33]](_0xdaaex11);_0xdaaex14[_0x5988[34]]();return handleError(_0xdaaexe,_0xdaaex11);})})};exports[_0x5988[38]]=function(_0xdaaexd,_0xdaaexe,_0xdaaexf){MailMessage[_0x5988[31]](_0xdaaexd[_0x5988[30]][_0x5988[29]],{include:[{all:true}]})[_0x5988[25]](function(_0xdaaex13){if(!_0xdaaex13){return _0xdaaexe[_0x5988[28]](404)};var _0xdaaex15=_[_0x5988[39]](_0xdaaex13,_0xdaaexd[_0x5988[36]]);_0xdaaex15[_0x5988[40]]()[_0x5988[25]](function(){return _0xdaaexe[_0x5988[24]](200)[_0x5988[23]](_0xdaaex15)})[_0x5988[22]](function(_0xdaaex11){return handleError(_0xdaaexe,_0xdaaex11,_0xdaaexf)});})[_0x5988[22]](function(_0xdaaex11){return handleError(_0xdaaexe,_0xdaaex11,_0xdaaexf)})};exports[_0x5988[41]]=function(_0xdaaexd,_0xdaaexe,_0xdaaexf){MailMessage[_0x5988[31]](_0xdaaexd[_0x5988[30]][_0x5988[29]])[_0x5988[25]](function(_0xdaaex13){if(!_0xdaaex13){return _0xdaaexe[_0x5988[28]](404)};_0xdaaex13[_0x5988[41]]()[_0x5988[25]](function(){return _0xdaaexe[_0x5988[28]](204)})[_0x5988[22]](function(_0xdaaex11){return handleError(_0xdaaexe,_0xdaaex11,_0xdaaexf)});})[_0x5988[22]](function(_0xdaaex11){return handleError(_0xdaaexe,_0xdaaex11,_0xdaaexf)})};exports[_0x5988[42]]=function(_0xdaaexd,_0xdaaexe,_0xdaaexf){MailMessage[_0x5988[44]]({where:{id:{$in:_0xdaaexd[_0x5988[36]][_0x5988[29]]}},attributes:{directory:_0x5988[43]}})[_0x5988[25]](function(_0xdaaex13){if(!_0xdaaex13){return _0xdaaexe[_0x5988[28]](404)};_0xdaaex13[_0x5988[41]]()[_0x5988[25]](function(){return _0xdaaexe[_0x5988[28]](204)})[_0x5988[22]](function(_0xdaaex11){return handleError(_0xdaaexe,_0xdaaex11,_0xdaaexf)});})[_0x5988[22]](function(_0xdaaex11){return handleError(_0xdaaexe,_0xdaaex11,_0xdaaexf)})};function handleError(_0xdaaexe,_0xdaaex11,_0xdaaexf){return _0xdaaexe[_0x5988[24]](500)[_0x5988[23]](_0xdaaex11)}
\ No newline at end of file
+var _0xa904=["\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","\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","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x65\x72\x72\x6F\x72","\x72\x6F\x6C\x6C\x62\x61\x63\x6B","\x63\x6F\x6D\x6D\x69\x74","\x62\x6F\x64\x79","\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\x6C\x65\x74\x65","\x54\x52\x41\x53\x48","\x62\x75\x6C\x6B\x55\x70\x64\x61\x74\x65"];_0xa904[0];var _=require(_0xa904[1]);var async=require(_0xa904[2]);var htmlToText=require(_0xa904[3]);var formidable=require(_0xa904[4]);var path=require(_0xa904[5]);var config=require(_0xa904[6]);var sequelize=require(_0xa904[8])[_0xa904[7]];var MailMessage=require(_0xa904[8])[_0xa904[9]];var MailAttachment=require(_0xa904[8])[_0xa904[10]];var MailRoom=require(_0xa904[8])[_0xa904[11]];var MailAccount=require(_0xa904[8])[_0xa904[12]];var Contact=require(_0xa904[8])[_0xa904[13]];exports[_0xa904[14]]=function(_0x771exd,_0x771exe,_0x771exf){var _0x771ex10={order:_0xa904[15],include:[{all:true,include:[{all:true}]}]};switch(_0x771exd[_0xa904[21]][_0xa904[20]]){case _0xa904[18]:_0x771ex10[_0xa904[16]]=_0x771exd[_0xa904[17]];break ;;case _0xa904[19]:break ;;default:;};MailMessage[_0xa904[26]](_0x771ex10)[_0xa904[25]](function(_0x771ex12){return _0x771exe[_0xa904[24]](200)[_0xa904[23]](_0x771ex12)})[_0xa904[22]](function(_0x771ex11){return handleError(_0x771exe,_0x771ex11,_0x771exf)});};exports[_0xa904[27]]=function(_0x771exd,_0x771exe,_0x771exf){MailMessage[_0xa904[31]](_0x771exd[_0xa904[30]][_0xa904[29]],{include:[{all:true,include:[{all:true}]}]})[_0xa904[25]](function(_0x771ex13){if(!_0x771ex13){return _0x771exe[_0xa904[28]](404)};return _0x771exe[_0xa904[23]](_0x771ex13);})[_0xa904[22]](function(_0x771ex11){return handleError(_0x771exe,_0x771ex11,_0x771exf)})};exports[_0xa904[32]]=function(_0x771exd,_0x771exe,_0x771exf){return sequelize[_0xa904[37]]()[_0xa904[25]](function(_0x771ex14){return MailMessage[_0xa904[32]](_0x771exd[_0xa904[36]],{include:[{model:MailAttachment}],transaction:_0x771ex14})[_0xa904[25]](function(_0x771ex13){_0x771ex14[_0xa904[35]]();return _0x771exe[_0xa904[24]](201)[_0xa904[23]](_0x771ex13);})[_0xa904[22]](function(_0x771ex11){console[_0xa904[33]](_0x771ex11);_0x771ex14[_0xa904[34]]();return handleError(_0x771exe,_0x771ex11);})})};exports[_0xa904[38]]=function(_0x771exd,_0x771exe,_0x771exf){MailMessage[_0xa904[31]](_0x771exd[_0xa904[30]][_0xa904[29]],{include:[{all:true}]})[_0xa904[25]](function(_0x771ex13){if(!_0x771ex13){return _0x771exe[_0xa904[28]](404)};var _0x771ex15=_[_0xa904[39]](_0x771ex13,_0x771exd[_0xa904[36]]);_0x771ex15[_0xa904[40]]()[_0xa904[25]](function(){return _0x771exe[_0xa904[24]](200)[_0xa904[23]](_0x771ex15)})[_0xa904[22]](function(_0x771ex11){return handleError(_0x771exe,_0x771ex11,_0x771exf)});})[_0xa904[22]](function(_0x771ex11){return handleError(_0x771exe,_0x771ex11,_0x771exf)})};exports[_0xa904[41]]=function(_0x771exd,_0x771exe,_0x771exf){MailMessage[_0xa904[31]](_0x771exd[_0xa904[30]][_0xa904[29]])[_0xa904[25]](function(_0x771ex13){if(!_0x771ex13){return _0x771exe[_0xa904[28]](404)};_0x771ex13[_0xa904[41]]()[_0xa904[25]](function(){return _0x771exe[_0xa904[28]](204)})[_0xa904[22]](function(_0x771ex11){return handleError(_0x771exe,_0x771ex11,_0x771exf)});})[_0xa904[22]](function(_0x771ex11){return handleError(_0x771exe,_0x771ex11,_0x771exf)})};exports[_0xa904[42]]=function(_0x771exd,_0x771exe,_0x771exf){MailMessage[_0xa904[44]]({where:{id:{$in:_0x771exd[_0xa904[36]][_0xa904[29]]}},attributes:{directory:_0xa904[43]}})[_0xa904[25]](function(_0x771ex13){if(!_0x771ex13){return _0x771exe[_0xa904[28]](404)};_0x771ex13[_0xa904[41]]()[_0xa904[25]](function(){return _0x771exe[_0xa904[28]](204)})[_0xa904[22]](function(_0x771ex11){return handleError(_0x771exe,_0x771ex11,_0x771exf)});})[_0xa904[22]](function(_0x771ex11){return handleError(_0x771exe,_0x771ex11,_0x771exf)})};function handleError(_0x771exe,_0x771ex11,_0x771exf){return _0x771exe[_0xa904[24]](500)[_0xa904[23]](_0x771ex11)}
\ No newline at end of file
index 67fa1a0..0f3859d 100644 (file)
@@ -1 +1 @@
-var _0xfd0e=["\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"];_0xfd0e[0];var MailMessage=require(_0xfd0e[2])[_0xfd0e[1]];exports[_0xfd0e[3]]=function(_0xea3ax2){MailMessage[_0xfd0e[4]](function(_0xea3ax3){onSave(_0xea3ax2,_0xea3ax3)});MailMessage[_0xfd0e[5]](function(_0xea3ax3){onSave(_0xea3ax2,_0xea3ax3)});MailMessage[_0xfd0e[6]](function(_0xea3ax3){onRemove(_0xea3ax2,_0xea3ax3)});};function onSave(_0xea3ax2,_0xea3ax3,_0xea3ax5){_0xea3ax2[_0xfd0e[8]](_0xfd0e[7],_0xea3ax3)}function onRemove(_0xea3ax2,_0xea3ax3,_0xea3ax5){_0xea3ax2[_0xfd0e[8]](_0xfd0e[9],_0xea3ax3)}
\ No newline at end of file
+var _0xce34=["\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"];_0xce34[0];var MailMessage=require(_0xce34[2])[_0xce34[1]];exports[_0xce34[3]]=function(_0x3a12x2){MailMessage[_0xce34[4]](function(_0x3a12x3){onSave(_0x3a12x2,_0x3a12x3)});MailMessage[_0xce34[5]](function(_0x3a12x3){onSave(_0x3a12x2,_0x3a12x3)});MailMessage[_0xce34[6]](function(_0x3a12x3){onRemove(_0x3a12x2,_0x3a12x3)});};function onSave(_0x3a12x2,_0x3a12x3,_0x3a12x5){_0x3a12x2[_0xce34[8]](_0xce34[7],_0x3a12x3)}function onRemove(_0x3a12x2,_0x3a12x3,_0x3a12x5){_0x3a12x2[_0xce34[8]](_0xce34[9],_0x3a12x3)}
\ No newline at end of file
index 5ab45d4..d01e813 100644 (file)
@@ -1 +1 @@
-var _0xf3e5=["\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","\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","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\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","\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"];_0xf3e5[0];var express=require(_0xf3e5[1]);var controller=require(_0xf3e5[2]);var router=express.Router();router[_0xf3e5[5]](_0xf3e5[3],controller[_0xf3e5[4]]);router[_0xf3e5[5]](_0xf3e5[6],controller[_0xf3e5[7]]);router[_0xf3e5[9]](_0xf3e5[3],controller[_0xf3e5[8]]);router[_0xf3e5[9]](_0xf3e5[10],controller[_0xf3e5[11]]);router[_0xf3e5[13]](_0xf3e5[6],controller[_0xf3e5[12]]);router[_0xf3e5[13]](_0xf3e5[10],controller[_0xf3e5[14]]);router[_0xf3e5[15]](_0xf3e5[6],controller[_0xf3e5[12]]);router[_0xf3e5[17]](_0xf3e5[3],controller[_0xf3e5[16]]);router[_0xf3e5[17]](_0xf3e5[6],controller[_0xf3e5[18]]);module[_0xf3e5[19]]=router;
\ No newline at end of file
+var _0xc024=["\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","\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","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\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","\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"];_0xc024[0];var express=require(_0xc024[1]);var controller=require(_0xc024[2]);var router=express.Router();router[_0xc024[5]](_0xc024[3],controller[_0xc024[4]]);router[_0xc024[5]](_0xc024[6],controller[_0xc024[7]]);router[_0xc024[9]](_0xc024[3],controller[_0xc024[8]]);router[_0xc024[9]](_0xc024[10],controller[_0xc024[11]]);router[_0xc024[13]](_0xc024[6],controller[_0xc024[12]]);router[_0xc024[13]](_0xc024[10],controller[_0xc024[14]]);router[_0xc024[15]](_0xc024[6],controller[_0xc024[12]]);router[_0xc024[17]](_0xc024[3],controller[_0xc024[16]]);router[_0xc024[17]](_0xc024[6],controller[_0xc024[18]]);module[_0xc024[19]]=router;
\ No newline at end of file
index f47cb6c..f2702fa 100644 (file)
@@ -1 +1 @@
-var _0x8f6d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\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","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x74\x69\x6D\x65\x6F\x75\x74","\x73\x74\x72\x61\x74\x65\x67\x79","\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","\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","\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","\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","\x61\x64\x64\x55\x73\x65\x72\x73","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\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"];_0x8f6d[0];var _=require(_0x8f6d[1]);var util=require(_0x8f6d[2]);var MailQueue=require(_0x8f6d[4])[_0x8f6d[3]];exports[_0x8f6d[5]]=function(_0x4d7cx4,_0x4d7cx5){var _0x4d7cx6=[_0x8f6d[6],_0x8f6d[7],_0x8f6d[8],_0x8f6d[9]];var _0x4d7cx7=_0x4d7cx4[_0x8f6d[11]][_0x8f6d[10]]?parseInt(_0x4d7cx4[_0x8f6d[11]][_0x8f6d[10]],10):100;var _0x4d7cx8=_0x4d7cx4[_0x8f6d[11]][_0x8f6d[12]]?parseInt(_0x4d7cx4[_0x8f6d[11]][_0x8f6d[12]],10):0;var _0x4d7cx9={where:{},limit:_0x4d7cx7,offset:_0x4d7cx8*_0x4d7cx7,include:[{all:true}]};_[_0x8f6d[26]](_0x4d7cx4[_0x8f6d[11]],function(_0x4d7cxa,_0x4d7cxb){switch(_0x4d7cxb){case _0x8f6d[10]:;case _0x8f6d[12]:break ;;case _0x8f6d[15]:_0x4d7cx9[_0x8f6d[13]]=util[_0x8f6d[18]](_0x8f6d[14],_0x4d7cx4[_0x8f6d[11]][_0x8f6d[15]],_0x4d7cx4[_0x8f6d[11]][_0x8f6d[16]]||_0x8f6d[17])||null;break ;;case _0x8f6d[16]:break ;;case _0x8f6d[24]:_0x4d7cx9[_0x8f6d[20]][_0x8f6d[19]]=[];_0x4d7cx6[_0x8f6d[23]](function(_0x4d7cxc){var _0x4d7cxd={};_0x4d7cxd[_0x4d7cxc]={$like:_0x8f6d[21]+_0x4d7cxa+_0x8f6d[21]};_0x4d7cx9[_0x8f6d[20]][_0x8f6d[19]][_0x8f6d[22]](_0x4d7cxd);});break ;;default:_0x4d7cx9[_0x8f6d[20]][_0x4d7cxb]={$like:{}};_0x4d7cx9[_0x8f6d[20]][_0x4d7cxb][_0x8f6d[25]]=_0x8f6d[21]+_0x4d7cxa+_0x8f6d[21];;}});MailQueue[_0x8f6d[40]](_0x4d7cx9)[_0x8f6d[39]](function(_0x4d7cxf){var _0x4d7cx10=Math[_0x8f6d[29]](_0x4d7cxf[_0x8f6d[28]]/_0x4d7cx7);var _0x4d7cx11=_0x4d7cx10>(_0x4d7cx9[_0x8f6d[30]]+1)?util[_0x8f6d[18]](_0x8f6d[31],_0x4d7cx4[_0x8f6d[32]],_0x4d7cx4[_0x8f6d[34]][_0x8f6d[33]],_0x4d7cx4[_0x8f6d[35]],_0x4d7cx8+1):null;var _0x4d7cx12=_0x4d7cx8>0?util[_0x8f6d[18]](_0x8f6d[31],_0x4d7cx4[_0x8f6d[32]],_0x4d7cx4[_0x8f6d[34]][_0x8f6d[33]],_0x4d7cx4[_0x8f6d[35]],_0x4d7cx8-1):null;_0x4d7cx5[_0x8f6d[38]](200)[_0x8f6d[37]]({count:_0x4d7cxf[_0x8f6d[28]],rows:_0x4d7cxf[_0x8f6d[36]],next_page:_0x4d7cx11,previous_page:_0x4d7cx12,total_pages:_0x4d7cx10});})[_0x8f6d[27]](function(_0x4d7cxe){return handleError(_0x4d7cx5,_0x4d7cxe)});};exports[_0x8f6d[41]]=function(_0x4d7cx4,_0x4d7cx5){MailQueue[_0x8f6d[45]](_0x4d7cx4[_0x8f6d[44]][_0x8f6d[43]])[_0x8f6d[39]](function(_0x4d7cx13){if(!_0x4d7cx13){return _0x4d7cx5[_0x8f6d[42]](404)};return _0x4d7cx5[_0x8f6d[37]](_0x4d7cx13);})[_0x8f6d[27]](function(_0x4d7cxe){return handleError(_0x4d7cx5,_0x4d7cxe)})};exports[_0x8f6d[46]]=function(_0x4d7cx4,_0x4d7cx5){MailQueue[_0x8f6d[46]](_0x4d7cx4[_0x8f6d[47]])[_0x8f6d[39]](function(_0x4d7cx13){return _0x4d7cx5[_0x8f6d[38]](201)[_0x8f6d[37]](_0x4d7cx13)})[_0x8f6d[27]](function(_0x4d7cxe){return handleError(_0x4d7cx5,_0x4d7cxe)})};exports[_0x8f6d[48]]=function(_0x4d7cx4,_0x4d7cx5){if(_0x4d7cx4[_0x8f6d[47]][_0x8f6d[43]]){delete _0x4d7cx4[_0x8f6d[47]][_0x8f6d[43]]};MailQueue[_0x8f6d[45]](_0x4d7cx4[_0x8f6d[44]][_0x8f6d[43]])[_0x8f6d[39]](function(_0x4d7cx13){if(!_0x4d7cx13){return _0x4d7cx5[_0x8f6d[42]](404)};var _0x4d7cx14=_[_0x8f6d[49]](_0x4d7cx13,_0x4d7cx4[_0x8f6d[47]]);_0x4d7cx14[_0x8f6d[50]]()[_0x8f6d[39]](function(){return _0x4d7cx5[_0x8f6d[38]](200)[_0x8f6d[37]](_0x4d7cx13)})[_0x8f6d[27]](function(_0x4d7cxe){return handleError(_0x4d7cx5,_0x4d7cxe)});})[_0x8f6d[27]](function(_0x4d7cxe){return handleError(_0x4d7cx5,_0x4d7cxe)});};exports[_0x8f6d[51]]=function(_0x4d7cx4,_0x4d7cx5,_0x4d7cx15){return MailQueue[_0x8f6d[45]](_0x4d7cx4[_0x8f6d[44]][_0x8f6d[43]])[_0x8f6d[39]](function(_0x4d7cx13){if(_0x4d7cx13){return _0x4d7cx13[_0x8f6d[53]](_0x4d7cx4[_0x8f6d[47]][_0x8f6d[52]],{individualHooks:true})}else {throw  new Error(_0x8f6d[54])}})[_0x8f6d[39]](function(){return _0x4d7cx5[_0x8f6d[42]](200)})[_0x8f6d[27]](function(_0x4d7cxe){return handleError(_0x4d7cx5,_0x4d7cxe)})};exports[_0x8f6d[55]]=function(_0x4d7cx4,_0x4d7cx5){return MailQueue[_0x8f6d[45]](_0x4d7cx4[_0x8f6d[44]][_0x8f6d[43]])[_0x8f6d[39]](function(_0x4d7cx13){if(_0x4d7cx13){return _0x4d7cx13[_0x8f6d[56]](_0x4d7cx4[_0x8f6d[47]][_0x8f6d[52]],{individualHooks:true})}else {throw  new Error(_0x8f6d[54])}})[_0x8f6d[39]](function(){return _0x4d7cx5[_0x8f6d[42]](200)})[_0x8f6d[27]](function(_0x4d7cxe){return handleError(_0x4d7cx5,_0x4d7cxe)})};exports[_0x8f6d[57]]=function(_0x4d7cx4,_0x4d7cx5){MailQueue[_0x8f6d[45]](_0x4d7cx4[_0x8f6d[44]][_0x8f6d[43]])[_0x8f6d[39]](function(_0x4d7cx13){if(!_0x4d7cx13){return _0x4d7cx5[_0x8f6d[42]](404)};_0x4d7cx13[_0x8f6d[57]]()[_0x8f6d[39]](function(){return _0x4d7cx5[_0x8f6d[42]](204)})[_0x8f6d[27]](function(_0x4d7cxe){return handleError(_0x4d7cx5,_0x4d7cxe)});})[_0x8f6d[27]](function(_0x4d7cxe){return handleError(_0x4d7cx5,_0x4d7cxe)})};exports[_0x8f6d[58]]=function(_0x4d7cx4,_0x4d7cx5){MailQueue[_0x8f6d[57]]({where:{id:_0x4d7cx4[_0x8f6d[11]][_0x8f6d[43]]},individualHooks:true})[_0x8f6d[39]](function(){return _0x4d7cx5[_0x8f6d[42]](204)})[_0x8f6d[27]](function(_0x4d7cxe){return handleError(_0x4d7cx5,_0x4d7cxe)})};function handleError(_0x4d7cx5,_0x4d7cxe){return _0x4d7cx5[_0x8f6d[38]](500)[_0x8f6d[37]](_0x4d7cxe)}
\ No newline at end of file
+var _0xfbf7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\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","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x74\x69\x6D\x65\x6F\x75\x74","\x73\x74\x72\x61\x74\x65\x67\x79","\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","\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","\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","\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","\x61\x64\x64\x55\x73\x65\x72\x73","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\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"];_0xfbf7[0];var _=require(_0xfbf7[1]);var util=require(_0xfbf7[2]);var MailQueue=require(_0xfbf7[4])[_0xfbf7[3]];exports[_0xfbf7[5]]=function(_0xdbe3x4,_0xdbe3x5){var _0xdbe3x6=[_0xfbf7[6],_0xfbf7[7],_0xfbf7[8],_0xfbf7[9]];var _0xdbe3x7=_0xdbe3x4[_0xfbf7[11]][_0xfbf7[10]]?parseInt(_0xdbe3x4[_0xfbf7[11]][_0xfbf7[10]],10):100;var _0xdbe3x8=_0xdbe3x4[_0xfbf7[11]][_0xfbf7[12]]?parseInt(_0xdbe3x4[_0xfbf7[11]][_0xfbf7[12]],10):0;var _0xdbe3x9={where:{},limit:_0xdbe3x7,offset:_0xdbe3x8*_0xdbe3x7,include:[{all:true}]};_[_0xfbf7[26]](_0xdbe3x4[_0xfbf7[11]],function(_0xdbe3xa,_0xdbe3xb){switch(_0xdbe3xb){case _0xfbf7[10]:;case _0xfbf7[12]:break ;;case _0xfbf7[15]:_0xdbe3x9[_0xfbf7[13]]=util[_0xfbf7[18]](_0xfbf7[14],_0xdbe3x4[_0xfbf7[11]][_0xfbf7[15]],_0xdbe3x4[_0xfbf7[11]][_0xfbf7[16]]||_0xfbf7[17])||null;break ;;case _0xfbf7[16]:break ;;case _0xfbf7[24]:_0xdbe3x9[_0xfbf7[20]][_0xfbf7[19]]=[];_0xdbe3x6[_0xfbf7[23]](function(_0xdbe3xc){var _0xdbe3xd={};_0xdbe3xd[_0xdbe3xc]={$like:_0xfbf7[21]+_0xdbe3xa+_0xfbf7[21]};_0xdbe3x9[_0xfbf7[20]][_0xfbf7[19]][_0xfbf7[22]](_0xdbe3xd);});break ;;default:_0xdbe3x9[_0xfbf7[20]][_0xdbe3xb]={$like:{}};_0xdbe3x9[_0xfbf7[20]][_0xdbe3xb][_0xfbf7[25]]=_0xfbf7[21]+_0xdbe3xa+_0xfbf7[21];;}});MailQueue[_0xfbf7[40]](_0xdbe3x9)[_0xfbf7[39]](function(_0xdbe3xf){var _0xdbe3x10=Math[_0xfbf7[29]](_0xdbe3xf[_0xfbf7[28]]/_0xdbe3x7);var _0xdbe3x11=_0xdbe3x10>(_0xdbe3x9[_0xfbf7[30]]+1)?util[_0xfbf7[18]](_0xfbf7[31],_0xdbe3x4[_0xfbf7[32]],_0xdbe3x4[_0xfbf7[34]][_0xfbf7[33]],_0xdbe3x4[_0xfbf7[35]],_0xdbe3x8+1):null;var _0xdbe3x12=_0xdbe3x8>0?util[_0xfbf7[18]](_0xfbf7[31],_0xdbe3x4[_0xfbf7[32]],_0xdbe3x4[_0xfbf7[34]][_0xfbf7[33]],_0xdbe3x4[_0xfbf7[35]],_0xdbe3x8-1):null;_0xdbe3x5[_0xfbf7[38]](200)[_0xfbf7[37]]({count:_0xdbe3xf[_0xfbf7[28]],rows:_0xdbe3xf[_0xfbf7[36]],next_page:_0xdbe3x11,previous_page:_0xdbe3x12,total_pages:_0xdbe3x10});})[_0xfbf7[27]](function(_0xdbe3xe){return handleError(_0xdbe3x5,_0xdbe3xe)});};exports[_0xfbf7[41]]=function(_0xdbe3x4,_0xdbe3x5){MailQueue[_0xfbf7[45]](_0xdbe3x4[_0xfbf7[44]][_0xfbf7[43]])[_0xfbf7[39]](function(_0xdbe3x13){if(!_0xdbe3x13){return _0xdbe3x5[_0xfbf7[42]](404)};return _0xdbe3x5[_0xfbf7[37]](_0xdbe3x13);})[_0xfbf7[27]](function(_0xdbe3xe){return handleError(_0xdbe3x5,_0xdbe3xe)})};exports[_0xfbf7[46]]=function(_0xdbe3x4,_0xdbe3x5){MailQueue[_0xfbf7[46]](_0xdbe3x4[_0xfbf7[47]])[_0xfbf7[39]](function(_0xdbe3x13){return _0xdbe3x5[_0xfbf7[38]](201)[_0xfbf7[37]](_0xdbe3x13)})[_0xfbf7[27]](function(_0xdbe3xe){return handleError(_0xdbe3x5,_0xdbe3xe)})};exports[_0xfbf7[48]]=function(_0xdbe3x4,_0xdbe3x5){if(_0xdbe3x4[_0xfbf7[47]][_0xfbf7[43]]){delete _0xdbe3x4[_0xfbf7[47]][_0xfbf7[43]]};MailQueue[_0xfbf7[45]](_0xdbe3x4[_0xfbf7[44]][_0xfbf7[43]])[_0xfbf7[39]](function(_0xdbe3x13){if(!_0xdbe3x13){return _0xdbe3x5[_0xfbf7[42]](404)};var _0xdbe3x14=_[_0xfbf7[49]](_0xdbe3x13,_0xdbe3x4[_0xfbf7[47]]);_0xdbe3x14[_0xfbf7[50]]()[_0xfbf7[39]](function(){return _0xdbe3x5[_0xfbf7[38]](200)[_0xfbf7[37]](_0xdbe3x13)})[_0xfbf7[27]](function(_0xdbe3xe){return handleError(_0xdbe3x5,_0xdbe3xe)});})[_0xfbf7[27]](function(_0xdbe3xe){return handleError(_0xdbe3x5,_0xdbe3xe)});};exports[_0xfbf7[51]]=function(_0xdbe3x4,_0xdbe3x5,_0xdbe3x15){return MailQueue[_0xfbf7[45]](_0xdbe3x4[_0xfbf7[44]][_0xfbf7[43]])[_0xfbf7[39]](function(_0xdbe3x13){if(_0xdbe3x13){return _0xdbe3x13[_0xfbf7[53]](_0xdbe3x4[_0xfbf7[47]][_0xfbf7[52]],{individualHooks:true})}else {throw  new Error(_0xfbf7[54])}})[_0xfbf7[39]](function(){return _0xdbe3x5[_0xfbf7[42]](200)})[_0xfbf7[27]](function(_0xdbe3xe){return handleError(_0xdbe3x5,_0xdbe3xe)})};exports[_0xfbf7[55]]=function(_0xdbe3x4,_0xdbe3x5){return MailQueue[_0xfbf7[45]](_0xdbe3x4[_0xfbf7[44]][_0xfbf7[43]])[_0xfbf7[39]](function(_0xdbe3x13){if(_0xdbe3x13){return _0xdbe3x13[_0xfbf7[56]](_0xdbe3x4[_0xfbf7[47]][_0xfbf7[52]],{individualHooks:true})}else {throw  new Error(_0xfbf7[54])}})[_0xfbf7[39]](function(){return _0xdbe3x5[_0xfbf7[42]](200)})[_0xfbf7[27]](function(_0xdbe3xe){return handleError(_0xdbe3x5,_0xdbe3xe)})};exports[_0xfbf7[57]]=function(_0xdbe3x4,_0xdbe3x5){MailQueue[_0xfbf7[45]](_0xdbe3x4[_0xfbf7[44]][_0xfbf7[43]])[_0xfbf7[39]](function(_0xdbe3x13){if(!_0xdbe3x13){return _0xdbe3x5[_0xfbf7[42]](404)};_0xdbe3x13[_0xfbf7[57]]()[_0xfbf7[39]](function(){return _0xdbe3x5[_0xfbf7[42]](204)})[_0xfbf7[27]](function(_0xdbe3xe){return handleError(_0xdbe3x5,_0xdbe3xe)});})[_0xfbf7[27]](function(_0xdbe3xe){return handleError(_0xdbe3x5,_0xdbe3xe)})};exports[_0xfbf7[58]]=function(_0xdbe3x4,_0xdbe3x5){MailQueue[_0xfbf7[57]]({where:{id:_0xdbe3x4[_0xfbf7[11]][_0xfbf7[43]]},individualHooks:true})[_0xfbf7[39]](function(){return _0xdbe3x5[_0xfbf7[42]](204)})[_0xfbf7[27]](function(_0xdbe3xe){return handleError(_0xdbe3x5,_0xdbe3xe)})};function handleError(_0xdbe3x5,_0xdbe3xe){return _0xdbe3x5[_0xfbf7[38]](500)[_0xfbf7[37]](_0xdbe3xe)}
\ No newline at end of file
index f12213f..464962d 100644 (file)
@@ -1 +1 @@
-var _0x371c=["\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"];_0x371c[0];var MailQueue=require(_0x371c[2])[_0x371c[1]];exports[_0x371c[3]]=function(_0x33cdx2){MailQueue[_0x371c[4]](function(_0x33cdx3){onSave(_0x33cdx2,_0x33cdx3)});MailQueue[_0x371c[5]](function(_0x33cdx3){onRemove(_0x33cdx2,_0x33cdx3)});};function onSave(_0x33cdx2,_0x33cdx3,_0x33cdx5){_0x33cdx2[_0x371c[7]](_0x371c[6],_0x33cdx3)}function onRemove(_0x33cdx2,_0x33cdx3,_0x33cdx5){_0x33cdx2[_0x371c[7]](_0x371c[8],_0x33cdx3)}
\ No newline at end of file
+var _0x72df=["\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"];_0x72df[0];var MailQueue=require(_0x72df[2])[_0x72df[1]];exports[_0x72df[3]]=function(_0x3c64x2){MailQueue[_0x72df[4]](function(_0x3c64x3){onSave(_0x3c64x2,_0x3c64x3)});MailQueue[_0x72df[5]](function(_0x3c64x3){onRemove(_0x3c64x2,_0x3c64x3)});};function onSave(_0x3c64x2,_0x3c64x3,_0x3c64x5){_0x3c64x2[_0x72df[7]](_0x72df[6],_0x3c64x3)}function onRemove(_0x3c64x2,_0x3c64x3,_0x3c64x5){_0x3c64x2[_0x72df[7]](_0x72df[8],_0x3c64x3)}
\ No newline at end of file
index 4cc7665..8006750 100644 (file)
@@ -1 +1 @@
-var _0xd9d8=["\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\x6D\x61\x69\x6C\x2F\x71\x75\x65\x75\x65\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\x6D\x61\x69\x6C\x2F\x71\x75\x65\x75\x65\x73","\x67\x65\x74"];_0xd9d8[0];var should=require(_0xd9d8[1]);var app=require(_0xd9d8[2]);var request=require(_0xd9d8[3]);describe(_0xd9d8[4],function(){it(_0xd9d8[5],function(_0xfec7x4){request(app)[_0xd9d8[13]](_0xd9d8[12])[_0xd9d8[11]](200)[_0xd9d8[11]](_0xd9d8[10],/json/)[_0xd9d8[9]](function(_0xfec7x5,_0xfec7x6){if(_0xfec7x5){return _0xfec7x4(_0xfec7x5)};_0xfec7x6[_0xd9d8[8]][_0xd9d8[1]][_0xd9d8[7]][_0xd9d8[6]](Array);_0xfec7x4();})})});
\ No newline at end of file
+var _0x1ccc=["\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\x6D\x61\x69\x6C\x2F\x71\x75\x65\x75\x65\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\x6D\x61\x69\x6C\x2F\x71\x75\x65\x75\x65\x73","\x67\x65\x74"];_0x1ccc[0];var should=require(_0x1ccc[1]);var app=require(_0x1ccc[2]);var request=require(_0x1ccc[3]);describe(_0x1ccc[4],function(){it(_0x1ccc[5],function(_0x448dx4){request(app)[_0x1ccc[13]](_0x1ccc[12])[_0x1ccc[11]](200)[_0x1ccc[11]](_0x1ccc[10],/json/)[_0x1ccc[9]](function(_0x448dx5,_0x448dx6){if(_0x448dx5){return _0x448dx4(_0x448dx5)};_0x448dx6[_0x1ccc[8]][_0x1ccc[1]][_0x1ccc[7]][_0x1ccc[6]](Array);_0x448dx4();})})});
\ No newline at end of file
index 6f5fa07..15b503a 100644 (file)
@@ -1 +1 @@
-var _0xc1ae=["\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","\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\x61\x67\x65\x6E\x74\x2F\x3A\x69\x64","\x61\x67\x65\x6E\x74\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","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\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","\x65\x78\x70\x6F\x72\x74\x73"];_0xc1ae[0];var express=require(_0xc1ae[1]);var controller=require(_0xc1ae[2]);var auth=require(_0xc1ae[3]);var router=express.Router();router[_0xc1ae[7]](_0xc1ae[4],auth[_0xc1ae[5]](),controller[_0xc1ae[6]]);router[_0xc1ae[7]](_0xc1ae[8],controller[_0xc1ae[9]]);router[_0xc1ae[7]](_0xc1ae[10],controller[_0xc1ae[11]]);router[_0xc1ae[7]](_0xc1ae[12],controller[_0xc1ae[13]]);router[_0xc1ae[15]](_0xc1ae[4],controller[_0xc1ae[14]]);router[_0xc1ae[17]](_0xc1ae[10],controller[_0xc1ae[16]]);router[_0xc1ae[17]](_0xc1ae[12],controller[_0xc1ae[18]]);router[_0xc1ae[19]](_0xc1ae[10],controller[_0xc1ae[16]]);router[_0xc1ae[21]](_0xc1ae[4],controller[_0xc1ae[20]]);router[_0xc1ae[21]](_0xc1ae[10],controller[_0xc1ae[22]]);module[_0xc1ae[23]]=router;
\ No newline at end of file
+var _0xce7e=["\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","\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\x61\x67\x65\x6E\x74\x2F\x3A\x69\x64","\x61\x67\x65\x6E\x74\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","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\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","\x65\x78\x70\x6F\x72\x74\x73"];_0xce7e[0];var express=require(_0xce7e[1]);var controller=require(_0xce7e[2]);var auth=require(_0xce7e[3]);var router=express.Router();router[_0xce7e[7]](_0xce7e[4],auth[_0xce7e[5]](),controller[_0xce7e[6]]);router[_0xce7e[7]](_0xce7e[8],controller[_0xce7e[9]]);router[_0xce7e[7]](_0xce7e[10],controller[_0xce7e[11]]);router[_0xce7e[7]](_0xce7e[12],controller[_0xce7e[13]]);router[_0xce7e[15]](_0xce7e[4],controller[_0xce7e[14]]);router[_0xce7e[17]](_0xce7e[10],controller[_0xce7e[16]]);router[_0xce7e[17]](_0xce7e[12],controller[_0xce7e[18]]);router[_0xce7e[19]](_0xce7e[10],controller[_0xce7e[16]]);router[_0xce7e[21]](_0xce7e[4],controller[_0xce7e[20]]);router[_0xce7e[21]](_0xce7e[10],controller[_0xce7e[22]]);module[_0xce7e[23]]=router;
\ No newline at end of file
index bfedd87..1de4cb6 100644 (file)
@@ -1 +1 @@
-var _0xc3aa=["\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","\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","\x69\x6E\x64\x65\x78","\x73\x75\x62\x6A\x65\x63\x74","\x66\x72\x6F\x6D","\x73\x74\x61\x74\x75\x73","\x70\x65\x72\x5F\x70\x61\x67\x65","\x71\x75\x65\x72\x79","\x70\x61\x67\x65","\x4E\x45\x57","\x4F\x50\x45\x4E","\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","\x75\x73\x65\x72","\x61\x67\x65\x6E\x74","\x77\x68\x65\x72\x65","\x69\x6E\x63\x6C\x75\x64\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","\x25","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x24","\x24\x6C\x69\x6B\x65","\x66\x6F\x72\x49\x6E","\x6C\x6F\x67","\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","\x73\x65\x6E\x64","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6A\x6F\x62\x49\x64","\x4D\x61\x69\x6C\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"];_0xc3aa[0];var _=require(_0xc3aa[1]);var util=require(_0xc3aa[2]);var User=require(_0xc3aa[4])[_0xc3aa[3]];var Contact=require(_0xc3aa[4])[_0xc3aa[5]];var MailRoom=require(_0xc3aa[4])[_0xc3aa[6]];var MailMessage=require(_0xc3aa[4])[_0xc3aa[7]];var MailAccount=require(_0xc3aa[4])[_0xc3aa[8]];var MailAttachment=require(_0xc3aa[4])[_0xc3aa[9]];exports[_0xc3aa[10]]=function(_0xbb33x9,_0xbb33xa,_0xbb33xb){var _0xbb33xc=[_0xc3aa[11],_0xc3aa[12],_0xc3aa[13]];var _0xbb33xd=_0xbb33x9[_0xc3aa[15]][_0xc3aa[14]]?parseInt(_0xbb33x9[_0xc3aa[15]][_0xc3aa[14]],10):100;var _0xbb33xe=_0xbb33x9[_0xc3aa[15]][_0xc3aa[16]]?parseInt(_0xbb33x9[_0xc3aa[15]][_0xc3aa[16]],10):0;var _0xbb33xf={where:{$or:[{status:_0xc3aa[17]},{status:_0xc3aa[18]}]},include:[{model:User,attributes:[_0xc3aa[19],_0xc3aa[20],_0xc3aa[21],_0xc3aa[22],_0xc3aa[23],_0xc3aa[24]]},{model:MailAccount}],limit:_0xbb33xd,offset:_0xbb33xe*_0xbb33xd};if(_0xbb33x9[_0xc3aa[25]][_0xc3aa[23]]===_0xc3aa[26]){_0xbb33xf[_0xc3aa[28]][0][_0xc3aa[27]]={id:_0xbb33x9[_0xc3aa[25]][_0xc3aa[19]]}};_[_0xc3aa[41]](_0xbb33x9[_0xc3aa[15]],function(_0xbb33x10,_0xbb33x11){switch(_0xbb33x11){case _0xc3aa[14]:;case _0xc3aa[16]:break ;;case _0xc3aa[31]:_0xbb33xf[_0xc3aa[29]]=util[_0xc3aa[34]](_0xc3aa[30],_0xbb33x9[_0xc3aa[15]][_0xc3aa[31]],_0xbb33x9[_0xc3aa[15]][_0xc3aa[32]]||_0xc3aa[33])||null;break ;;case _0xc3aa[32]:break ;;case _0xc3aa[39]:_0xbb33xf[_0xc3aa[27]][_0xc3aa[35]]=[];_0xbb33xc[_0xc3aa[38]](function(_0xbb33x12){var _0xbb33x13={};_0xbb33x13[_0xbb33x12]={$like:_0xc3aa[36]+_0xbb33x10+_0xc3aa[36]};_0xbb33xf[_0xc3aa[27]][_0xc3aa[35]][_0xc3aa[37]](_0xbb33x13);});break ;;default:_0xbb33xf[_0xc3aa[27]][_0xbb33x11]={$like:{}};_0xbb33xf[_0xc3aa[27]][_0xbb33x11][_0xc3aa[40]]=_0xc3aa[36]+_0xbb33x10+_0xc3aa[36];;}});console[_0xc3aa[42]](_0xc3aa[15],_0xbb33xf);return MailRoom[_0xc3aa[55]](_0xbb33xf)[_0xc3aa[54]](function(_0xbb33x15){console[_0xc3aa[42]](_0xbb33x15);var _0xbb33x16=Math[_0xc3aa[45]](_0xbb33x15[_0xc3aa[44]]/_0xbb33xd);var _0xbb33x17=_0xbb33x16>(_0xbb33xf[_0xc3aa[46]]+1)?util[_0xc3aa[34]](_0xc3aa[47],_0xbb33x9[_0xc3aa[48]],_0xbb33x9[_0xc3aa[50]][_0xc3aa[49]],_0xbb33x9[_0xc3aa[51]],_0xbb33xe+1):null;var _0xbb33x18=_0xbb33xe>0?util[_0xc3aa[34]](_0xc3aa[47],_0xbb33x9[_0xc3aa[48]],_0xbb33x9[_0xc3aa[50]][_0xc3aa[49]],_0xbb33x9[_0xc3aa[51]],_0xbb33xe-1):null;_0xbb33xa[_0xc3aa[13]](200)[_0xc3aa[53]]({count:_0xbb33x15[_0xc3aa[44]],mailRooms:_0xbb33x15[_0xc3aa[52]],next_page:_0xbb33x17,previous_page:_0xbb33x18,total_pages:_0xbb33x16});})[_0xc3aa[43]](function(_0xbb33x14){return handleError(_0xbb33xa,_0xbb33x14)});};exports[_0xc3aa[56]]=function(_0xbb33x9,_0xbb33xa,_0xbb33xb){return MailRoom[_0xc3aa[58]]({where:{UserId:_0xbb33x9[_0xc3aa[57]][_0xc3aa[19]]},include:[{all:true}]})[_0xc3aa[54]](function(_0xbb33x19){return _0xbb33xa[_0xc3aa[13]](200)[_0xc3aa[53]](_0xbb33x19)})[_0xc3aa[43]](function(_0xbb33x14){return handleError(_0xbb33xa,_0xbb33x14)})};exports[_0xc3aa[59]]=function(_0xbb33x9,_0xbb33xa,_0xbb33xb){return MailRoom[_0xc3aa[61]](_0xbb33x9[_0xc3aa[57]][_0xc3aa[19]],{include:[{model:MailMessage,include:[{model:MailAttachment}]},{model:MailAccount}]})[_0xc3aa[54]](function(_0xbb33x1a){if(!_0xbb33x1a){return _0xbb33xa[_0xc3aa[60]](404)};return _0xbb33xa[_0xc3aa[53]](_0xbb33x1a);})[_0xc3aa[43]](function(_0xbb33x14){return handleError(_0xbb33xa,_0xbb33x14)})};exports[_0xc3aa[62]]=function(_0xbb33x9,_0xbb33xa,_0xbb33xb){return MailRoom[_0xc3aa[61]](_0xbb33x9[_0xc3aa[57]][_0xc3aa[19]])[_0xc3aa[54]](function(_0xbb33x1a){if(!_0xbb33x1a){return _0xbb33xa[_0xc3aa[60]](404)};return _0xbb33x1a[_0xc3aa[63]]({attributes:[_0xc3aa[19],_0xc3aa[20],_0xc3aa[21],_0xc3aa[22],_0xc3aa[23],_0xc3aa[24]]});})[_0xc3aa[54]](function(_0xbb33x1b){return _0xbb33xa[_0xc3aa[53]](_0xbb33x1b)})[_0xc3aa[43]](function(_0xbb33x14){return handleError(_0xbb33xa,_0xbb33x14)})};exports[_0xc3aa[64]]=function(_0xbb33x9,_0xbb33xa,_0xbb33xb){return MailRoom[_0xc3aa[64]](_0xbb33x9[_0xc3aa[65]])[_0xc3aa[54]](function(_0xbb33x1a){return _0xbb33xa[_0xc3aa[13]](201)[_0xc3aa[53]](_0xbb33x1a)})[_0xc3aa[43]](function(_0xbb33x14){return handleError(_0xbb33xa,_0xbb33x14)})};exports[_0xc3aa[66]]=function(_0xbb33x9,_0xbb33xa,_0xbb33xb){return MailRoom[_0xc3aa[61]](_0xbb33x9[_0xc3aa[57]][_0xc3aa[19]])[_0xc3aa[54]](function(_0xbb33x1a){if(!_0xbb33x1a){return _0xbb33xa[_0xc3aa[60]](404)};if(_0xbb33x1a[_0xc3aa[67]]){throw  new Error(_0xc3aa[68])};var _0xbb33x1c=_[_0xc3aa[69]](_0xbb33x1a,_0xbb33x9[_0xc3aa[65]]);return _0xbb33x1c[_0xc3aa[70]]();})[_0xc3aa[54]](function(_0xbb33x1a){return _0xbb33xa[_0xc3aa[13]](200)[_0xc3aa[53]](_0xbb33x1a)})[_0xc3aa[43]](function(_0xbb33x14){return handleError(_0xbb33xa,_0xbb33x14)})};exports[_0xc3aa[71]]=function(_0xbb33x9,_0xbb33xa,_0xbb33xb){return MailRoom[_0xc3aa[61]](_0xbb33x9[_0xc3aa[57]][_0xc3aa[19]])[_0xc3aa[54]](function(_0xbb33x1a){if(!_0xbb33x1a){return _0xbb33xa[_0xc3aa[60]](404)};return _0xbb33x1a[_0xc3aa[73]](_0xbb33x9[_0xc3aa[65]][_0xc3aa[72]]);})[_0xc3aa[54]](function(){return _0xbb33xa[_0xc3aa[60]](200)})[_0xc3aa[43]](function(_0xbb33x14){return handleError(_0xbb33xa,_0xbb33x14)})};exports[_0xc3aa[74]]=function(_0xbb33x9,_0xbb33xa,_0xbb33xb){return MailRoom[_0xc3aa[61]](_0xbb33x9[_0xc3aa[57]][_0xc3aa[19]])[_0xc3aa[54]](function(_0xbb33x1a){if(!_0xbb33x1a){return _0xbb33xa[_0xc3aa[60]](404)};return _0xbb33x1a[_0xc3aa[74]]();})[_0xc3aa[54]](function(){return _0xbb33xa[_0xc3aa[60]](204)})[_0xc3aa[43]](function(_0xbb33x14){return handleError(_0xbb33xa,_0xbb33x14)})};exports[_0xc3aa[75]]=function(_0xbb33x9,_0xbb33xa){return MailRoom[_0xc3aa[74]]({where:{id:_0xbb33x9[_0xc3aa[15]][_0xc3aa[19]]},individualHooks:true})[_0xc3aa[54]](function(){return _0xbb33xa[_0xc3aa[60]](200)})[_0xc3aa[43]](function(_0xbb33x14){return handleError(_0xbb33xa,_0xbb33x14)})};function handleError(_0xbb33xa,_0xbb33x14){return _0xbb33xa[_0xc3aa[13]](500)[_0xc3aa[53]](_0xbb33x14)}
\ No newline at end of file
+var _0xada7=["\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","\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","\x69\x6E\x64\x65\x78","\x73\x75\x62\x6A\x65\x63\x74","\x66\x72\x6F\x6D","\x73\x74\x61\x74\x75\x73","\x70\x65\x72\x5F\x70\x61\x67\x65","\x71\x75\x65\x72\x79","\x70\x61\x67\x65","\x4E\x45\x57","\x4F\x50\x45\x4E","\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","\x75\x73\x65\x72","\x61\x67\x65\x6E\x74","\x77\x68\x65\x72\x65","\x69\x6E\x63\x6C\x75\x64\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","\x25","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x24","\x24\x6C\x69\x6B\x65","\x66\x6F\x72\x49\x6E","\x6C\x6F\x67","\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","\x73\x65\x6E\x64","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6A\x6F\x62\x49\x64","\x4D\x61\x69\x6C\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"];_0xada7[0];var _=require(_0xada7[1]);var util=require(_0xada7[2]);var User=require(_0xada7[4])[_0xada7[3]];var Contact=require(_0xada7[4])[_0xada7[5]];var MailRoom=require(_0xada7[4])[_0xada7[6]];var MailMessage=require(_0xada7[4])[_0xada7[7]];var MailAccount=require(_0xada7[4])[_0xada7[8]];var MailAttachment=require(_0xada7[4])[_0xada7[9]];exports[_0xada7[10]]=function(_0x44d1x9,_0x44d1xa,_0x44d1xb){var _0x44d1xc=[_0xada7[11],_0xada7[12],_0xada7[13]];var _0x44d1xd=_0x44d1x9[_0xada7[15]][_0xada7[14]]?parseInt(_0x44d1x9[_0xada7[15]][_0xada7[14]],10):100;var _0x44d1xe=_0x44d1x9[_0xada7[15]][_0xada7[16]]?parseInt(_0x44d1x9[_0xada7[15]][_0xada7[16]],10):0;var _0x44d1xf={where:{$or:[{status:_0xada7[17]},{status:_0xada7[18]}]},include:[{model:User,attributes:[_0xada7[19],_0xada7[20],_0xada7[21],_0xada7[22],_0xada7[23],_0xada7[24]]},{model:MailAccount}],limit:_0x44d1xd,offset:_0x44d1xe*_0x44d1xd};if(_0x44d1x9[_0xada7[25]][_0xada7[23]]===_0xada7[26]){_0x44d1xf[_0xada7[28]][0][_0xada7[27]]={id:_0x44d1x9[_0xada7[25]][_0xada7[19]]}};_[_0xada7[41]](_0x44d1x9[_0xada7[15]],function(_0x44d1x10,_0x44d1x11){switch(_0x44d1x11){case _0xada7[14]:;case _0xada7[16]:break ;;case _0xada7[31]:_0x44d1xf[_0xada7[29]]=util[_0xada7[34]](_0xada7[30],_0x44d1x9[_0xada7[15]][_0xada7[31]],_0x44d1x9[_0xada7[15]][_0xada7[32]]||_0xada7[33])||null;break ;;case _0xada7[32]:break ;;case _0xada7[39]:_0x44d1xf[_0xada7[27]][_0xada7[35]]=[];_0x44d1xc[_0xada7[38]](function(_0x44d1x12){var _0x44d1x13={};_0x44d1x13[_0x44d1x12]={$like:_0xada7[36]+_0x44d1x10+_0xada7[36]};_0x44d1xf[_0xada7[27]][_0xada7[35]][_0xada7[37]](_0x44d1x13);});break ;;default:_0x44d1xf[_0xada7[27]][_0x44d1x11]={$like:{}};_0x44d1xf[_0xada7[27]][_0x44d1x11][_0xada7[40]]=_0xada7[36]+_0x44d1x10+_0xada7[36];;}});console[_0xada7[42]](_0xada7[15],_0x44d1xf);return MailRoom[_0xada7[55]](_0x44d1xf)[_0xada7[54]](function(_0x44d1x15){console[_0xada7[42]](_0x44d1x15);var _0x44d1x16=Math[_0xada7[45]](_0x44d1x15[_0xada7[44]]/_0x44d1xd);var _0x44d1x17=_0x44d1x16>(_0x44d1xf[_0xada7[46]]+1)?util[_0xada7[34]](_0xada7[47],_0x44d1x9[_0xada7[48]],_0x44d1x9[_0xada7[50]][_0xada7[49]],_0x44d1x9[_0xada7[51]],_0x44d1xe+1):null;var _0x44d1x18=_0x44d1xe>0?util[_0xada7[34]](_0xada7[47],_0x44d1x9[_0xada7[48]],_0x44d1x9[_0xada7[50]][_0xada7[49]],_0x44d1x9[_0xada7[51]],_0x44d1xe-1):null;_0x44d1xa[_0xada7[13]](200)[_0xada7[53]]({count:_0x44d1x15[_0xada7[44]],mailRooms:_0x44d1x15[_0xada7[52]],next_page:_0x44d1x17,previous_page:_0x44d1x18,total_pages:_0x44d1x16});})[_0xada7[43]](function(_0x44d1x14){return handleError(_0x44d1xa,_0x44d1x14)});};exports[_0xada7[56]]=function(_0x44d1x9,_0x44d1xa,_0x44d1xb){return MailRoom[_0xada7[58]]({where:{UserId:_0x44d1x9[_0xada7[57]][_0xada7[19]]},include:[{all:true}]})[_0xada7[54]](function(_0x44d1x19){return _0x44d1xa[_0xada7[13]](200)[_0xada7[53]](_0x44d1x19)})[_0xada7[43]](function(_0x44d1x14){return handleError(_0x44d1xa,_0x44d1x14)})};exports[_0xada7[59]]=function(_0x44d1x9,_0x44d1xa,_0x44d1xb){return MailRoom[_0xada7[61]](_0x44d1x9[_0xada7[57]][_0xada7[19]],{include:[{model:MailMessage,include:[{model:MailAttachment}]},{model:MailAccount}]})[_0xada7[54]](function(_0x44d1x1a){if(!_0x44d1x1a){return _0x44d1xa[_0xada7[60]](404)};return _0x44d1xa[_0xada7[53]](_0x44d1x1a);})[_0xada7[43]](function(_0x44d1x14){return handleError(_0x44d1xa,_0x44d1x14)})};exports[_0xada7[62]]=function(_0x44d1x9,_0x44d1xa,_0x44d1xb){return MailRoom[_0xada7[61]](_0x44d1x9[_0xada7[57]][_0xada7[19]])[_0xada7[54]](function(_0x44d1x1a){if(!_0x44d1x1a){return _0x44d1xa[_0xada7[60]](404)};return _0x44d1x1a[_0xada7[63]]({attributes:[_0xada7[19],_0xada7[20],_0xada7[21],_0xada7[22],_0xada7[23],_0xada7[24]]});})[_0xada7[54]](function(_0x44d1x1b){return _0x44d1xa[_0xada7[53]](_0x44d1x1b)})[_0xada7[43]](function(_0x44d1x14){return handleError(_0x44d1xa,_0x44d1x14)})};exports[_0xada7[64]]=function(_0x44d1x9,_0x44d1xa,_0x44d1xb){return MailRoom[_0xada7[64]](_0x44d1x9[_0xada7[65]])[_0xada7[54]](function(_0x44d1x1a){return _0x44d1xa[_0xada7[13]](201)[_0xada7[53]](_0x44d1x1a)})[_0xada7[43]](function(_0x44d1x14){return handleError(_0x44d1xa,_0x44d1x14)})};exports[_0xada7[66]]=function(_0x44d1x9,_0x44d1xa,_0x44d1xb){return MailRoom[_0xada7[61]](_0x44d1x9[_0xada7[57]][_0xada7[19]])[_0xada7[54]](function(_0x44d1x1a){if(!_0x44d1x1a){return _0x44d1xa[_0xada7[60]](404)};if(_0x44d1x1a[_0xada7[67]]){throw  new Error(_0xada7[68])};var _0x44d1x1c=_[_0xada7[69]](_0x44d1x1a,_0x44d1x9[_0xada7[65]]);return _0x44d1x1c[_0xada7[70]]();})[_0xada7[54]](function(_0x44d1x1a){return _0x44d1xa[_0xada7[13]](200)[_0xada7[53]](_0x44d1x1a)})[_0xada7[43]](function(_0x44d1x14){return handleError(_0x44d1xa,_0x44d1x14)})};exports[_0xada7[71]]=function(_0x44d1x9,_0x44d1xa,_0x44d1xb){return MailRoom[_0xada7[61]](_0x44d1x9[_0xada7[57]][_0xada7[19]])[_0xada7[54]](function(_0x44d1x1a){if(!_0x44d1x1a){return _0x44d1xa[_0xada7[60]](404)};return _0x44d1x1a[_0xada7[73]](_0x44d1x9[_0xada7[65]][_0xada7[72]]);})[_0xada7[54]](function(){return _0x44d1xa[_0xada7[60]](200)})[_0xada7[43]](function(_0x44d1x14){return handleError(_0x44d1xa,_0x44d1x14)})};exports[_0xada7[74]]=function(_0x44d1x9,_0x44d1xa,_0x44d1xb){return MailRoom[_0xada7[61]](_0x44d1x9[_0xada7[57]][_0xada7[19]])[_0xada7[54]](function(_0x44d1x1a){if(!_0x44d1x1a){return _0x44d1xa[_0xada7[60]](404)};return _0x44d1x1a[_0xada7[74]]();})[_0xada7[54]](function(){return _0x44d1xa[_0xada7[60]](204)})[_0xada7[43]](function(_0x44d1x14){return handleError(_0x44d1xa,_0x44d1x14)})};exports[_0xada7[75]]=function(_0x44d1x9,_0x44d1xa){return MailRoom[_0xada7[74]]({where:{id:_0x44d1x9[_0xada7[15]][_0xada7[19]]},individualHooks:true})[_0xada7[54]](function(){return _0x44d1xa[_0xada7[60]](200)})[_0xada7[43]](function(_0x44d1x14){return handleError(_0x44d1xa,_0x44d1x14)})};function handleError(_0x44d1xa,_0x44d1x14){return _0x44d1xa[_0xada7[13]](500)[_0xada7[53]](_0x44d1x14)}
\ No newline at end of file
index b807ae7..202b9d4 100644 (file)
@@ -1 +1 @@
-var _0x44a8=["\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","\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","\x74\x68\x65\x6E","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\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"];_0x44a8[0];var MailMessage=require(_0x44a8[2])[_0x44a8[1]];var MailRoom=require(_0x44a8[2])[_0x44a8[3]];var User=require(_0x44a8[2])[_0x44a8[4]];exports[_0x44a8[5]]=function(_0x9fa3x4){MailRoom[_0x44a8[6]](function(_0x9fa3x5){onSave(_0x9fa3x4,_0x9fa3x5)});MailRoom[_0x44a8[7]](function(_0x9fa3x5){onRemove(_0x9fa3x4,_0x9fa3x5)});MailRoom[_0x44a8[13]](function(_0x9fa3x5){MailRoom[_0x44a8[12]](_0x9fa3x5[_0x44a8[11]],{include:[{all:true}]})[_0x44a8[10]](function(_0x9fa3x7){onSave(_0x9fa3x4,_0x9fa3x7)})[_0x44a8[9]](function(_0x9fa3x6){console[_0x44a8[8]](_0x9fa3x6)})});MailRoom[_0x44a8[7]](function(_0x9fa3x5){onRemove(_0x9fa3x4,_0x9fa3x5)});};function onSave(_0x9fa3x4,_0x9fa3x5,_0x9fa3x9){_0x9fa3x4[_0x44a8[15]](_0x44a8[14],_0x9fa3x5)}function onRemove(_0x9fa3x4,_0x9fa3x5,_0x9fa3x9){_0x9fa3x4[_0x44a8[15]](_0x44a8[16],_0x9fa3x5)}
\ No newline at end of file
+var _0x93dc=["\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","\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","\x74\x68\x65\x6E","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\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"];_0x93dc[0];var MailMessage=require(_0x93dc[2])[_0x93dc[1]];var MailRoom=require(_0x93dc[2])[_0x93dc[3]];var User=require(_0x93dc[2])[_0x93dc[4]];exports[_0x93dc[5]]=function(_0x4d18x4){MailRoom[_0x93dc[6]](function(_0x4d18x5){onSave(_0x4d18x4,_0x4d18x5)});MailRoom[_0x93dc[7]](function(_0x4d18x5){onRemove(_0x4d18x4,_0x4d18x5)});MailRoom[_0x93dc[13]](function(_0x4d18x5){MailRoom[_0x93dc[12]](_0x4d18x5[_0x93dc[11]],{include:[{all:true}]})[_0x93dc[10]](function(_0x4d18x7){onSave(_0x4d18x4,_0x4d18x7)})[_0x93dc[9]](function(_0x4d18x6){console[_0x93dc[8]](_0x4d18x6)})});MailRoom[_0x93dc[7]](function(_0x4d18x5){onRemove(_0x4d18x4,_0x4d18x5)});};function onSave(_0x4d18x4,_0x4d18x5,_0x4d18x9){_0x4d18x4[_0x93dc[15]](_0x93dc[14],_0x4d18x5)}function onRemove(_0x4d18x4,_0x4d18x5,_0x4d18x9){_0x4d18x4[_0x93dc[15]](_0x93dc[16],_0x4d18x5)}
\ No newline at end of file
index 8bdbb3e..14320c6 100644 (file)
@@ -1 +1 @@
-var _0xaa8e=["\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","\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"];_0xaa8e[0];var express=require(_0xaa8e[1]);var controller=require(_0xaa8e[2]);var router=express.Router();router[_0xaa8e[5]](_0xaa8e[3],controller[_0xaa8e[4]]);router[_0xaa8e[5]](_0xaa8e[6],controller[_0xaa8e[7]]);router[_0xaa8e[9]](_0xaa8e[3],controller[_0xaa8e[8]]);router[_0xaa8e[11]](_0xaa8e[6],controller[_0xaa8e[10]]);router[_0xaa8e[12]](_0xaa8e[6],controller[_0xaa8e[10]]);router[_0xaa8e[14]](_0xaa8e[6],controller[_0xaa8e[13]]);module[_0xaa8e[15]]=router;
\ No newline at end of file
+var _0x988e=["\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","\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"];_0x988e[0];var express=require(_0x988e[1]);var controller=require(_0x988e[2]);var router=express.Router();router[_0x988e[5]](_0x988e[3],controller[_0x988e[4]]);router[_0x988e[5]](_0x988e[6],controller[_0x988e[7]]);router[_0x988e[9]](_0x988e[3],controller[_0x988e[8]]);router[_0x988e[11]](_0x988e[6],controller[_0x988e[10]]);router[_0x988e[12]](_0x988e[6],controller[_0x988e[10]]);router[_0x988e[14]](_0x988e[6],controller[_0x988e[13]]);module[_0x988e[15]]=router;
\ No newline at end of file
index be4ce36..e069342 100644 (file)
@@ -1 +1 @@
-var _0x6627=["\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\x49\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","\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","\x65\x72\x72\x6F\x72","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x6627[0];var _=require(_0x6627[1]);var MailServerIn=require(_0x6627[3])[_0x6627[2]];exports[_0x6627[4]]=function(_0xb4a5x3,_0xb4a5x4){MailServerIn[_0x6627[9]]()[_0x6627[8]](function(_0xb4a5x6){return _0xb4a5x4[_0x6627[7]](200)[_0x6627[6]](_0xb4a5x6)})[_0x6627[5]](function(_0xb4a5x5){return handleError(_0xb4a5x4,_0xb4a5x5)})};exports[_0x6627[10]]=function(_0xb4a5x3,_0xb4a5x4){MailServerIn[_0x6627[14]](_0xb4a5x3[_0x6627[13]][_0x6627[12]])[_0x6627[8]](function(_0xb4a5x7){if(!_0xb4a5x7){return _0xb4a5x4[_0x6627[11]](404)};return _0xb4a5x4[_0x6627[6]](_0xb4a5x7);})[_0x6627[5]](function(_0xb4a5x5){return handleError(_0xb4a5x4,_0xb4a5x5)})};exports[_0x6627[15]]=function(_0xb4a5x3,_0xb4a5x4){MailServerIn[_0x6627[15]](_0xb4a5x3[_0x6627[16]])[_0x6627[8]](function(_0xb4a5x7){return _0xb4a5x4[_0x6627[7]](201)[_0x6627[6]](_0xb4a5x7)})[_0x6627[5]](function(_0xb4a5x5){return handleError(_0xb4a5x4,_0xb4a5x5)})};exports[_0x6627[17]]=function(_0xb4a5x3,_0xb4a5x4){if(_0xb4a5x3[_0x6627[16]][_0x6627[12]]){delete _0xb4a5x3[_0x6627[16]][_0x6627[12]]};return MailServerIn[_0x6627[14]](_0xb4a5x3[_0x6627[13]][_0x6627[12]])[_0x6627[8]](function(_0xb4a5x7){if(!_0xb4a5x7){return _0xb4a5x4[_0x6627[11]](404)};var _0xb4a5x8=_[_0x6627[19]](_0xb4a5x7,_0xb4a5x3[_0x6627[16]]);_0xb4a5x8[_0x6627[20]]()[_0x6627[8]](function(){return _0xb4a5x4[_0x6627[7]](200)[_0x6627[6]](_0xb4a5x7)})[_0x6627[5]](function(_0xb4a5x5){console[_0x6627[18]](_0xb4a5x5);return handleError(_0xb4a5x4,_0xb4a5x5);});})[_0x6627[5]](function(_0xb4a5x5){console[_0x6627[18]](_0xb4a5x5);return handleError(_0xb4a5x4,_0xb4a5x5);});};exports[_0x6627[21]]=function(_0xb4a5x3,_0xb4a5x4){MailServerIn[_0x6627[14]](_0xb4a5x3[_0x6627[13]][_0x6627[12]])[_0x6627[8]](function(_0xb4a5x7){if(!_0xb4a5x7){return _0xb4a5x4[_0x6627[11]](404)};_0xb4a5x7[_0x6627[21]]()[_0x6627[8]](function(){return _0xb4a5x4[_0x6627[11]](204)})[_0x6627[5]](function(_0xb4a5x5){return handleError(_0xb4a5x4,_0xb4a5x5)});})[_0x6627[5]](function(_0xb4a5x5){return handleError(_0xb4a5x4,_0xb4a5x5)})};function handleError(_0xb4a5x4,_0xb4a5x5){return _0xb4a5x4[_0x6627[7]](500)[_0x6627[6]](_0xb4a5x5)}
\ No newline at end of file
+var _0x49bf=["\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\x49\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","\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","\x65\x72\x72\x6F\x72","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x49bf[0];var _=require(_0x49bf[1]);var MailServerIn=require(_0x49bf[3])[_0x49bf[2]];exports[_0x49bf[4]]=function(_0x7a8fx3,_0x7a8fx4){MailServerIn[_0x49bf[9]]()[_0x49bf[8]](function(_0x7a8fx6){return _0x7a8fx4[_0x49bf[7]](200)[_0x49bf[6]](_0x7a8fx6)})[_0x49bf[5]](function(_0x7a8fx5){return handleError(_0x7a8fx4,_0x7a8fx5)})};exports[_0x49bf[10]]=function(_0x7a8fx3,_0x7a8fx4){MailServerIn[_0x49bf[14]](_0x7a8fx3[_0x49bf[13]][_0x49bf[12]])[_0x49bf[8]](function(_0x7a8fx7){if(!_0x7a8fx7){return _0x7a8fx4[_0x49bf[11]](404)};return _0x7a8fx4[_0x49bf[6]](_0x7a8fx7);})[_0x49bf[5]](function(_0x7a8fx5){return handleError(_0x7a8fx4,_0x7a8fx5)})};exports[_0x49bf[15]]=function(_0x7a8fx3,_0x7a8fx4){MailServerIn[_0x49bf[15]](_0x7a8fx3[_0x49bf[16]])[_0x49bf[8]](function(_0x7a8fx7){return _0x7a8fx4[_0x49bf[7]](201)[_0x49bf[6]](_0x7a8fx7)})[_0x49bf[5]](function(_0x7a8fx5){return handleError(_0x7a8fx4,_0x7a8fx5)})};exports[_0x49bf[17]]=function(_0x7a8fx3,_0x7a8fx4){if(_0x7a8fx3[_0x49bf[16]][_0x49bf[12]]){delete _0x7a8fx3[_0x49bf[16]][_0x49bf[12]]};return MailServerIn[_0x49bf[14]](_0x7a8fx3[_0x49bf[13]][_0x49bf[12]])[_0x49bf[8]](function(_0x7a8fx7){if(!_0x7a8fx7){return _0x7a8fx4[_0x49bf[11]](404)};var _0x7a8fx8=_[_0x49bf[19]](_0x7a8fx7,_0x7a8fx3[_0x49bf[16]]);_0x7a8fx8[_0x49bf[20]]()[_0x49bf[8]](function(){return _0x7a8fx4[_0x49bf[7]](200)[_0x49bf[6]](_0x7a8fx7)})[_0x49bf[5]](function(_0x7a8fx5){console[_0x49bf[18]](_0x7a8fx5);return handleError(_0x7a8fx4,_0x7a8fx5);});})[_0x49bf[5]](function(_0x7a8fx5){console[_0x49bf[18]](_0x7a8fx5);return handleError(_0x7a8fx4,_0x7a8fx5);});};exports[_0x49bf[21]]=function(_0x7a8fx3,_0x7a8fx4){MailServerIn[_0x49bf[14]](_0x7a8fx3[_0x49bf[13]][_0x49bf[12]])[_0x49bf[8]](function(_0x7a8fx7){if(!_0x7a8fx7){return _0x7a8fx4[_0x49bf[11]](404)};_0x7a8fx7[_0x49bf[21]]()[_0x49bf[8]](function(){return _0x7a8fx4[_0x49bf[11]](204)})[_0x49bf[5]](function(_0x7a8fx5){return handleError(_0x7a8fx4,_0x7a8fx5)});})[_0x49bf[5]](function(_0x7a8fx5){return handleError(_0x7a8fx4,_0x7a8fx5)})};function handleError(_0x7a8fx4,_0x7a8fx5){return _0x7a8fx4[_0x49bf[7]](500)[_0x49bf[6]](_0x7a8fx5)}
\ No newline at end of file
index a77b79c..c3bc883 100644 (file)
@@ -1 +1 @@
-var _0x9f55=["\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","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x9f55[0];var MailServerIn=require(_0x9f55[2])[_0x9f55[1]];exports[_0x9f55[3]]=function(_0xbd35x2){MailServerIn[_0x9f55[4]](function(_0xbd35x3){onSave(_0xbd35x2,_0xbd35x3)});MailServerIn[_0x9f55[5]](function(_0xbd35x3){onSave(_0xbd35x2,_0xbd35x3)});MailServerIn[_0x9f55[6]](function(_0xbd35x3){onRemove(_0xbd35x2,_0xbd35x3)});};function onSave(_0xbd35x2,_0xbd35x3,_0xbd35x5){_0xbd35x2[_0x9f55[8]](_0x9f55[7],_0xbd35x3)}function onRemove(_0xbd35x2,_0xbd35x3,_0xbd35x5){_0xbd35x2[_0x9f55[8]](_0x9f55[9],_0xbd35x3)}
\ No newline at end of file
+var _0xfb24=["\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","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xfb24[0];var MailServerIn=require(_0xfb24[2])[_0xfb24[1]];exports[_0xfb24[3]]=function(_0x860ex2){MailServerIn[_0xfb24[4]](function(_0x860ex3){onSave(_0x860ex2,_0x860ex3)});MailServerIn[_0xfb24[5]](function(_0x860ex3){onSave(_0x860ex2,_0x860ex3)});MailServerIn[_0xfb24[6]](function(_0x860ex3){onRemove(_0x860ex2,_0x860ex3)});};function onSave(_0x860ex2,_0x860ex3,_0x860ex5){_0x860ex2[_0xfb24[8]](_0xfb24[7],_0x860ex3)}function onRemove(_0x860ex2,_0x860ex3,_0x860ex5){_0x860ex2[_0xfb24[8]](_0xfb24[9],_0x860ex3)}
\ No newline at end of file
index 6801aba..4d2f20c 100644 (file)
@@ -1 +1 @@
-var _0xcbef=["\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","\x2F","\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","\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"];_0xcbef[0];var express=require(_0xcbef[1]);var controller=require(_0xcbef[2]);var router=express.Router();router[_0xcbef[5]](_0xcbef[3],controller[_0xcbef[4]]);router[_0xcbef[5]](_0xcbef[6],controller[_0xcbef[7]]);router[_0xcbef[5]](_0xcbef[8],controller[_0xcbef[9]]);router[_0xcbef[5]](_0xcbef[10],controller[_0xcbef[11]]);router[_0xcbef[13]](_0xcbef[3],controller[_0xcbef[12]]);router[_0xcbef[13]](_0xcbef[14],controller[_0xcbef[11]]);router[_0xcbef[16]](_0xcbef[8],controller[_0xcbef[15]]);router[_0xcbef[17]](_0xcbef[8],controller[_0xcbef[15]]);router[_0xcbef[19]](_0xcbef[8],controller[_0xcbef[18]]);module[_0xcbef[20]]=router;
\ No newline at end of file
+var _0x6ee5=["\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","\x2F","\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","\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"];_0x6ee5[0];var express=require(_0x6ee5[1]);var controller=require(_0x6ee5[2]);var router=express.Router();router[_0x6ee5[5]](_0x6ee5[3],controller[_0x6ee5[4]]);router[_0x6ee5[5]](_0x6ee5[6],controller[_0x6ee5[7]]);router[_0x6ee5[5]](_0x6ee5[8],controller[_0x6ee5[9]]);router[_0x6ee5[5]](_0x6ee5[10],controller[_0x6ee5[11]]);router[_0x6ee5[13]](_0x6ee5[3],controller[_0x6ee5[12]]);router[_0x6ee5[13]](_0x6ee5[14],controller[_0x6ee5[11]]);router[_0x6ee5[16]](_0x6ee5[8],controller[_0x6ee5[15]]);router[_0x6ee5[17]](_0x6ee5[8],controller[_0x6ee5[15]]);router[_0x6ee5[19]](_0x6ee5[8],controller[_0x6ee5[18]]);module[_0x6ee5[20]]=router;
\ No newline at end of file
index 650f408..658bcba 100644 (file)
@@ -1 +1 @@
-var _0x2ff5=["\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","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x74\x65\x73\x74","\x65\x72\x72\x6F\x72","\x72\x6F\x6C\x6C\x62\x61\x63\x6B","\x45\x52\x52\x4F\x52","\x63\x6F\x6D\x6D\x69\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","\x53\x45\x4E\x44\x49\x4E\x47","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E"];_0x2ff5[0];var _=require(_0x2ff5[1]);var MailServerOut=require(_0x2ff5[3])[_0x2ff5[2]];var MailMessage=require(_0x2ff5[3])[_0x2ff5[4]];var sequelize=require(_0x2ff5[3])[_0x2ff5[5]];exports[_0x2ff5[6]]=function(_0xde4fx5,_0xde4fx6){MailServerOut[_0x2ff5[11]]()[_0x2ff5[10]](function(_0xde4fx8){return _0xde4fx6[_0x2ff5[9]](200)[_0x2ff5[8]](_0xde4fx8)})[_0x2ff5[7]](function(_0xde4fx7){return handleError(_0xde4fx6,_0xde4fx7)})};exports[_0x2ff5[12]]=function(_0xde4fx5,_0xde4fx6){MailServerOut[_0x2ff5[13]]({where:{service:true}})[_0x2ff5[10]](function(_0xde4fx9){return _0xde4fx6[_0x2ff5[9]](200)[_0x2ff5[8]](_0xde4fx9)})[_0x2ff5[7]](function(_0xde4fx7){return handleError(_0xde4fx6,_0xde4fx7)})};exports[_0x2ff5[14]]=function(_0xde4fx5,_0xde4fx6){MailServerOut[_0x2ff5[18]](_0xde4fx5[_0x2ff5[17]][_0x2ff5[16]])[_0x2ff5[10]](function(_0xde4fx9){if(!_0xde4fx9){return _0xde4fx6[_0x2ff5[15]](404)};return _0xde4fx6[_0x2ff5[8]](_0xde4fx9);})[_0x2ff5[7]](function(_0xde4fx7){return handleError(_0xde4fx6,_0xde4fx7)})};exports[_0x2ff5[19]]=function(_0xde4fx5,_0xde4fx6){MailServerOut[_0x2ff5[19]](_0xde4fx5[_0x2ff5[20]])[_0x2ff5[10]](function(_0xde4fx9){return _0xde4fx6[_0x2ff5[9]](201)[_0x2ff5[8]](_0xde4fx9)})[_0x2ff5[7]](function(_0xde4fx7){return handleError(_0xde4fx6,_0xde4fx7)})};exports[_0x2ff5[21]]=function(_0xde4fx5,_0xde4fx6){if(_0xde4fx5[_0x2ff5[20]][_0x2ff5[16]]){delete _0xde4fx5[_0x2ff5[20]][_0x2ff5[16]]};MailServerOut[_0x2ff5[18]](_0xde4fx5[_0x2ff5[17]][_0x2ff5[16]])[_0x2ff5[10]](function(_0xde4fx9){if(!_0xde4fx9){return _0xde4fx6[_0x2ff5[15]](404)};var _0xde4fxa=_[_0x2ff5[22]](_0xde4fx9,_0xde4fx5[_0x2ff5[20]]);_0xde4fxa[_0x2ff5[23]]()[_0x2ff5[10]](function(){return _0xde4fx6[_0x2ff5[9]](200)[_0x2ff5[8]](_0xde4fx9)})[_0x2ff5[7]](function(_0xde4fx7){return handleError(_0xde4fx6,_0xde4fx7)});})[_0x2ff5[7]](function(_0xde4fx7){return handleError(_0xde4fx6,_0xde4fx7)});};exports[_0x2ff5[24]]=function(_0xde4fx5,_0xde4fx6){MailServerOut[_0x2ff5[18]](_0xde4fx5[_0x2ff5[17]][_0x2ff5[16]])[_0x2ff5[10]](function(_0xde4fx9){if(!_0xde4fx9){return _0xde4fx6[_0x2ff5[15]](404)};_0xde4fx9[_0x2ff5[24]]()[_0x2ff5[10]](function(){return _0xde4fx6[_0x2ff5[15]](204)})[_0x2ff5[7]](function(_0xde4fx7){return handleError(_0xde4fx6,_0xde4fx7)});})[_0x2ff5[7]](function(_0xde4fx7){return handleError(_0xde4fx6,_0xde4fx7)})};exports[_0x2ff5[25]]=function(_0xde4fx5,_0xde4fx6){return sequelize[_0x2ff5[35]]()[_0x2ff5[10]](function(_0xde4fxb){var _0xde4fxc;var _0xde4fxd;return MailServerOut[_0x2ff5[18]](_0xde4fx5[_0x2ff5[17]][_0x2ff5[16]])[_0x2ff5[10]](function(_0xde4fx9){if(!_0xde4fx9){_0xde4fxb[_0x2ff5[27]]();return _0xde4fx6[_0x2ff5[15]](404);}else {return _0xde4fx9}})[_0x2ff5[10]](function(_0xde4fx9){_0xde4fxc=_0xde4fx9;return MailMessage[_0x2ff5[19]]({subject:_0x2ff5[31]+_0xde4fx9[_0x2ff5[32]]+_0x2ff5[33],text:_0x2ff5[31]+_0xde4fx9[_0x2ff5[32]]+_0x2ff5[33],from:_0xde4fx9[_0x2ff5[32]],to:_0xde4fx9[_0x2ff5[32]],status:_0x2ff5[34]},{transaction:_0xde4fxb});})[_0x2ff5[10]](function(_0xde4fxe){_0xde4fxd=_0xde4fxe;return _0xde4fxc[_0x2ff5[21]]({state:_0x2ff5[30]});})[_0x2ff5[10]](function(){_0xde4fxb[_0x2ff5[29]]();return _0xde4fx6[_0x2ff5[9]](201)[_0x2ff5[8]](_0xde4fxd);})[_0x2ff5[7]](function(_0xde4fx7){console[_0x2ff5[26]](_0xde4fx7);_0xde4fxc[_0x2ff5[21]]({state:_0x2ff5[28]})[_0x2ff5[10]](function(){_0xde4fxb[_0x2ff5[27]]();return handleError(_0xde4fx6,_0xde4fx7);});});})};function handleError(_0xde4fx6,_0xde4fx7){return _0xde4fx6[_0x2ff5[9]](500)[_0x2ff5[8]](_0xde4fx7)}
\ No newline at end of file
+var _0x17e6=["\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","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x74\x65\x73\x74","\x65\x72\x72\x6F\x72","\x72\x6F\x6C\x6C\x62\x61\x63\x6B","\x45\x52\x52\x4F\x52","\x63\x6F\x6D\x6D\x69\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","\x53\x45\x4E\x44\x49\x4E\x47","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E"];_0x17e6[0];var _=require(_0x17e6[1]);var MailServerOut=require(_0x17e6[3])[_0x17e6[2]];var MailMessage=require(_0x17e6[3])[_0x17e6[4]];var sequelize=require(_0x17e6[3])[_0x17e6[5]];exports[_0x17e6[6]]=function(_0x8dabx5,_0x8dabx6){MailServerOut[_0x17e6[11]]()[_0x17e6[10]](function(_0x8dabx8){return _0x8dabx6[_0x17e6[9]](200)[_0x17e6[8]](_0x8dabx8)})[_0x17e6[7]](function(_0x8dabx7){return handleError(_0x8dabx6,_0x8dabx7)})};exports[_0x17e6[12]]=function(_0x8dabx5,_0x8dabx6){MailServerOut[_0x17e6[13]]({where:{service:true}})[_0x17e6[10]](function(_0x8dabx9){return _0x8dabx6[_0x17e6[9]](200)[_0x17e6[8]](_0x8dabx9)})[_0x17e6[7]](function(_0x8dabx7){return handleError(_0x8dabx6,_0x8dabx7)})};exports[_0x17e6[14]]=function(_0x8dabx5,_0x8dabx6){MailServerOut[_0x17e6[18]](_0x8dabx5[_0x17e6[17]][_0x17e6[16]])[_0x17e6[10]](function(_0x8dabx9){if(!_0x8dabx9){return _0x8dabx6[_0x17e6[15]](404)};return _0x8dabx6[_0x17e6[8]](_0x8dabx9);})[_0x17e6[7]](function(_0x8dabx7){return handleError(_0x8dabx6,_0x8dabx7)})};exports[_0x17e6[19]]=function(_0x8dabx5,_0x8dabx6){MailServerOut[_0x17e6[19]](_0x8dabx5[_0x17e6[20]])[_0x17e6[10]](function(_0x8dabx9){return _0x8dabx6[_0x17e6[9]](201)[_0x17e6[8]](_0x8dabx9)})[_0x17e6[7]](function(_0x8dabx7){return handleError(_0x8dabx6,_0x8dabx7)})};exports[_0x17e6[21]]=function(_0x8dabx5,_0x8dabx6){if(_0x8dabx5[_0x17e6[20]][_0x17e6[16]]){delete _0x8dabx5[_0x17e6[20]][_0x17e6[16]]};MailServerOut[_0x17e6[18]](_0x8dabx5[_0x17e6[17]][_0x17e6[16]])[_0x17e6[10]](function(_0x8dabx9){if(!_0x8dabx9){return _0x8dabx6[_0x17e6[15]](404)};var _0x8dabxa=_[_0x17e6[22]](_0x8dabx9,_0x8dabx5[_0x17e6[20]]);_0x8dabxa[_0x17e6[23]]()[_0x17e6[10]](function(){return _0x8dabx6[_0x17e6[9]](200)[_0x17e6[8]](_0x8dabx9)})[_0x17e6[7]](function(_0x8dabx7){return handleError(_0x8dabx6,_0x8dabx7)});})[_0x17e6[7]](function(_0x8dabx7){return handleError(_0x8dabx6,_0x8dabx7)});};exports[_0x17e6[24]]=function(_0x8dabx5,_0x8dabx6){MailServerOut[_0x17e6[18]](_0x8dabx5[_0x17e6[17]][_0x17e6[16]])[_0x17e6[10]](function(_0x8dabx9){if(!_0x8dabx9){return _0x8dabx6[_0x17e6[15]](404)};_0x8dabx9[_0x17e6[24]]()[_0x17e6[10]](function(){return _0x8dabx6[_0x17e6[15]](204)})[_0x17e6[7]](function(_0x8dabx7){return handleError(_0x8dabx6,_0x8dabx7)});})[_0x17e6[7]](function(_0x8dabx7){return handleError(_0x8dabx6,_0x8dabx7)})};exports[_0x17e6[25]]=function(_0x8dabx5,_0x8dabx6){return sequelize[_0x17e6[35]]()[_0x17e6[10]](function(_0x8dabxb){var _0x8dabxc;var _0x8dabxd;return MailServerOut[_0x17e6[18]](_0x8dabx5[_0x17e6[17]][_0x17e6[16]])[_0x17e6[10]](function(_0x8dabx9){if(!_0x8dabx9){_0x8dabxb[_0x17e6[27]]();return _0x8dabx6[_0x17e6[15]](404);}else {return _0x8dabx9}})[_0x17e6[10]](function(_0x8dabx9){_0x8dabxc=_0x8dabx9;return MailMessage[_0x17e6[19]]({subject:_0x17e6[31]+_0x8dabx9[_0x17e6[32]]+_0x17e6[33],text:_0x17e6[31]+_0x8dabx9[_0x17e6[32]]+_0x17e6[33],from:_0x8dabx9[_0x17e6[32]],to:_0x8dabx9[_0x17e6[32]],status:_0x17e6[34]},{transaction:_0x8dabxb});})[_0x17e6[10]](function(_0x8dabxe){_0x8dabxd=_0x8dabxe;return _0x8dabxc[_0x17e6[21]]({state:_0x17e6[30]});})[_0x17e6[10]](function(){_0x8dabxb[_0x17e6[29]]();return _0x8dabx6[_0x17e6[9]](201)[_0x17e6[8]](_0x8dabxd);})[_0x17e6[7]](function(_0x8dabx7){console[_0x17e6[26]](_0x8dabx7);_0x8dabxc[_0x17e6[21]]({state:_0x17e6[28]})[_0x17e6[10]](function(){_0x8dabxb[_0x17e6[27]]();return handleError(_0x8dabx6,_0x8dabx7);});});})};function handleError(_0x8dabx6,_0x8dabx7){return _0x8dabx6[_0x17e6[9]](500)[_0x17e6[8]](_0x8dabx7)}
\ No newline at end of file
index 00be4b6..ae3956b 100644 (file)
@@ -1 +1 @@
-var _0x81ff=["\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","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74\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","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74\x20\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x81ff[0];var MailServerOut=require(_0x81ff[2])[_0x81ff[1]];exports[_0x81ff[3]]=function(_0x4d70x2){MailServerOut[_0x81ff[6]](function(_0x4d70x3){console[_0x81ff[5]](_0x81ff[4]);onSave(_0x4d70x2,_0x4d70x3);});MailServerOut[_0x81ff[8]](function(_0x4d70x3){console[_0x81ff[5]](_0x81ff[7]);onRemove(_0x4d70x2,_0x4d70x3);});};function onSave(_0x4d70x2,_0x4d70x3,_0x4d70x5){_0x4d70x2[_0x81ff[10]](_0x81ff[9],_0x4d70x3)}function onRemove(_0x4d70x2,_0x4d70x3,_0x4d70x5){_0x4d70x2[_0x81ff[10]](_0x81ff[11],_0x4d70x3)}
\ No newline at end of file
+var _0x1b38=["\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","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74\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","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74\x20\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x1b38[0];var MailServerOut=require(_0x1b38[2])[_0x1b38[1]];exports[_0x1b38[3]]=function(_0x45c7x2){MailServerOut[_0x1b38[6]](function(_0x45c7x3){console[_0x1b38[5]](_0x1b38[4]);onSave(_0x45c7x2,_0x45c7x3);});MailServerOut[_0x1b38[8]](function(_0x45c7x3){console[_0x1b38[5]](_0x1b38[7]);onRemove(_0x45c7x2,_0x45c7x3);});};function onSave(_0x45c7x2,_0x45c7x3,_0x45c7x5){_0x45c7x2[_0x1b38[10]](_0x1b38[9],_0x45c7x3)}function onRemove(_0x45c7x2,_0x45c7x3,_0x45c7x5){_0x45c7x2[_0x1b38[10]](_0x1b38[11],_0x45c7x3)}
\ No newline at end of file
index d2160a7..265483b 100644 (file)
@@ -1 +1 @@
-var _0x1bab=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x74\x65\x6D\x70\x6C\x61\x74\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"];_0x1bab[0];var express=require(_0x1bab[1]);var controller=require(_0x1bab[2]);var router=express.Router();router[_0x1bab[5]](_0x1bab[3],controller[_0x1bab[4]]);router[_0x1bab[5]](_0x1bab[6],controller[_0x1bab[7]]);router[_0x1bab[9]](_0x1bab[3],controller[_0x1bab[8]]);router[_0x1bab[11]](_0x1bab[6],controller[_0x1bab[10]]);router[_0x1bab[12]](_0x1bab[6],controller[_0x1bab[10]]);router[_0x1bab[14]](_0x1bab[6],controller[_0x1bab[13]]);module[_0x1bab[15]]=router;
\ No newline at end of file
+var _0xf6cf=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x74\x65\x6D\x70\x6C\x61\x74\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"];_0xf6cf[0];var express=require(_0xf6cf[1]);var controller=require(_0xf6cf[2]);var router=express.Router();router[_0xf6cf[5]](_0xf6cf[3],controller[_0xf6cf[4]]);router[_0xf6cf[5]](_0xf6cf[6],controller[_0xf6cf[7]]);router[_0xf6cf[9]](_0xf6cf[3],controller[_0xf6cf[8]]);router[_0xf6cf[11]](_0xf6cf[6],controller[_0xf6cf[10]]);router[_0xf6cf[12]](_0xf6cf[6],controller[_0xf6cf[10]]);router[_0xf6cf[14]](_0xf6cf[6],controller[_0xf6cf[13]]);module[_0xf6cf[15]]=router;
\ No newline at end of file
index f15c993..4da81d5 100644 (file)
@@ -1 +1 @@
-var _0x5172=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x4D\x61\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","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x74\x69\x6D\x65\x6F\x75\x74","\x73\x74\x72\x61\x74\x65\x67\x79","\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","\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","\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","\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"];_0x5172[0];var _=require(_0x5172[1]);var util=require(_0x5172[2]);var MailTemplate=require(_0x5172[4])[_0x5172[3]];exports[_0x5172[5]]=function(_0xd307x4,_0xd307x5){var _0xd307x6=[_0x5172[6],_0x5172[7],_0x5172[8],_0x5172[9]];var _0xd307x7=_0xd307x4[_0x5172[11]][_0x5172[10]]?parseInt(_0xd307x4[_0x5172[11]][_0x5172[10]],10):100;var _0xd307x8=_0xd307x4[_0x5172[11]][_0x5172[12]]?parseInt(_0xd307x4[_0x5172[11]][_0x5172[12]],10):0;var _0xd307x9={where:{},limit:_0xd307x7,offset:_0xd307x8*_0xd307x7,include:[{all:true}]};_[_0x5172[26]](_0xd307x4[_0x5172[11]],function(_0xd307xa,_0xd307xb){switch(_0xd307xb){case _0x5172[10]:;case _0x5172[12]:break ;;case _0x5172[15]:_0xd307x9[_0x5172[13]]=util[_0x5172[18]](_0x5172[14],_0xd307x4[_0x5172[11]][_0x5172[15]],_0xd307x4[_0x5172[11]][_0x5172[16]]||_0x5172[17])||null;break ;;case _0x5172[16]:break ;;case _0x5172[24]:_0xd307x9[_0x5172[20]][_0x5172[19]]=[];_0xd307x6[_0x5172[23]](function(_0xd307xc){var _0xd307xd={};_0xd307xd[_0xd307xc]={$like:_0x5172[21]+_0xd307xa+_0x5172[21]};_0xd307x9[_0x5172[20]][_0x5172[19]][_0x5172[22]](_0xd307xd);});break ;;default:_0xd307x9[_0x5172[20]][_0xd307xb]={$like:{}};_0xd307x9[_0x5172[20]][_0xd307xb][_0x5172[25]]=_0x5172[21]+_0xd307xa+_0x5172[21];;}});MailTemplate[_0x5172[40]](_0xd307x9)[_0x5172[39]](function(_0xd307xf){var _0xd307x10=Math[_0x5172[29]](_0xd307xf[_0x5172[28]]/_0xd307x7);var _0xd307x11=_0xd307x10>(_0xd307x9[_0x5172[30]]+1)?util[_0x5172[18]](_0x5172[31],_0xd307x4[_0x5172[32]],_0xd307x4[_0x5172[34]][_0x5172[33]],_0xd307x4[_0x5172[35]],_0xd307x8+1):null;var _0xd307x12=_0xd307x8>0?util[_0x5172[18]](_0x5172[31],_0xd307x4[_0x5172[32]],_0xd307x4[_0x5172[34]][_0x5172[33]],_0xd307x4[_0x5172[35]],_0xd307x8-1):null;_0xd307x5[_0x5172[38]](200)[_0x5172[37]]({count:_0xd307xf[_0x5172[28]],rows:_0xd307xf[_0x5172[36]],next_page:_0xd307x11,previous_page:_0xd307x12,total_pages:_0xd307x10});})[_0x5172[27]](function(_0xd307xe){return handleError(_0xd307x5,_0xd307xe)});};exports[_0x5172[41]]=function(_0xd307x4,_0xd307x5){MailTemplate[_0x5172[45]](_0xd307x4[_0x5172[44]][_0x5172[43]])[_0x5172[39]](function(_0xd307x13){if(!_0xd307x13){return _0xd307x5[_0x5172[42]](404)};return _0xd307x5[_0x5172[37]](_0xd307x13);})[_0x5172[27]](function(_0xd307xe){return handleError(_0xd307x5,_0xd307xe)})};exports[_0x5172[46]]=function(_0xd307x4,_0xd307x5){MailTemplate[_0x5172[46]](_0xd307x4[_0x5172[47]])[_0x5172[39]](function(_0xd307x13){return _0xd307x5[_0x5172[38]](201)[_0x5172[37]](_0xd307x13)})[_0x5172[27]](function(_0xd307xe){return handleError(_0xd307x5,_0xd307xe)})};exports[_0x5172[48]]=function(_0xd307x4,_0xd307x5){if(_0xd307x4[_0x5172[47]][_0x5172[43]]){delete _0xd307x4[_0x5172[47]][_0x5172[43]]};MailTemplate[_0x5172[45]](_0xd307x4[_0x5172[44]][_0x5172[43]])[_0x5172[39]](function(_0xd307x13){if(!_0xd307x13){return _0xd307x5[_0x5172[42]](404)};var _0xd307x14=_[_0x5172[49]](_0xd307x13,_0xd307x4[_0x5172[47]]);_0xd307x14[_0x5172[50]]()[_0x5172[39]](function(){return _0xd307x5[_0x5172[38]](200)[_0x5172[37]](_0xd307x13)})[_0x5172[27]](function(_0xd307xe){return handleError(_0xd307x5,_0xd307xe)});})[_0x5172[27]](function(_0xd307xe){return handleError(_0xd307x5,_0xd307xe)});};exports[_0x5172[51]]=function(_0xd307x4,_0xd307x5){MailTemplate[_0x5172[45]](_0xd307x4[_0x5172[44]][_0x5172[43]])[_0x5172[39]](function(_0xd307x13){if(!_0xd307x13){return _0xd307x5[_0x5172[42]](404)};_0xd307x13[_0x5172[51]]()[_0x5172[39]](function(){return _0xd307x5[_0x5172[42]](204)})[_0x5172[27]](function(_0xd307xe){return handleError(_0xd307x5,_0xd307xe)});})[_0x5172[27]](function(_0xd307xe){return handleError(_0xd307x5,_0xd307xe)})};function handleError(_0xd307x5,_0xd307xe){return _0xd307x5[_0x5172[38]](500)[_0x5172[37]](_0xd307xe)}
\ No newline at end of file
+var _0xfc97=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x4D\x61\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","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x74\x69\x6D\x65\x6F\x75\x74","\x73\x74\x72\x61\x74\x65\x67\x79","\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","\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","\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","\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"];_0xfc97[0];var _=require(_0xfc97[1]);var util=require(_0xfc97[2]);var MailTemplate=require(_0xfc97[4])[_0xfc97[3]];exports[_0xfc97[5]]=function(_0xf40cx4,_0xf40cx5){var _0xf40cx6=[_0xfc97[6],_0xfc97[7],_0xfc97[8],_0xfc97[9]];var _0xf40cx7=_0xf40cx4[_0xfc97[11]][_0xfc97[10]]?parseInt(_0xf40cx4[_0xfc97[11]][_0xfc97[10]],10):100;var _0xf40cx8=_0xf40cx4[_0xfc97[11]][_0xfc97[12]]?parseInt(_0xf40cx4[_0xfc97[11]][_0xfc97[12]],10):0;var _0xf40cx9={where:{},limit:_0xf40cx7,offset:_0xf40cx8*_0xf40cx7,include:[{all:true}]};_[_0xfc97[26]](_0xf40cx4[_0xfc97[11]],function(_0xf40cxa,_0xf40cxb){switch(_0xf40cxb){case _0xfc97[10]:;case _0xfc97[12]:break ;;case _0xfc97[15]:_0xf40cx9[_0xfc97[13]]=util[_0xfc97[18]](_0xfc97[14],_0xf40cx4[_0xfc97[11]][_0xfc97[15]],_0xf40cx4[_0xfc97[11]][_0xfc97[16]]||_0xfc97[17])||null;break ;;case _0xfc97[16]:break ;;case _0xfc97[24]:_0xf40cx9[_0xfc97[20]][_0xfc97[19]]=[];_0xf40cx6[_0xfc97[23]](function(_0xf40cxc){var _0xf40cxd={};_0xf40cxd[_0xf40cxc]={$like:_0xfc97[21]+_0xf40cxa+_0xfc97[21]};_0xf40cx9[_0xfc97[20]][_0xfc97[19]][_0xfc97[22]](_0xf40cxd);});break ;;default:_0xf40cx9[_0xfc97[20]][_0xf40cxb]={$like:{}};_0xf40cx9[_0xfc97[20]][_0xf40cxb][_0xfc97[25]]=_0xfc97[21]+_0xf40cxa+_0xfc97[21];;}});MailTemplate[_0xfc97[40]](_0xf40cx9)[_0xfc97[39]](function(_0xf40cxf){var _0xf40cx10=Math[_0xfc97[29]](_0xf40cxf[_0xfc97[28]]/_0xf40cx7);var _0xf40cx11=_0xf40cx10>(_0xf40cx9[_0xfc97[30]]+1)?util[_0xfc97[18]](_0xfc97[31],_0xf40cx4[_0xfc97[32]],_0xf40cx4[_0xfc97[34]][_0xfc97[33]],_0xf40cx4[_0xfc97[35]],_0xf40cx8+1):null;var _0xf40cx12=_0xf40cx8>0?util[_0xfc97[18]](_0xfc97[31],_0xf40cx4[_0xfc97[32]],_0xf40cx4[_0xfc97[34]][_0xfc97[33]],_0xf40cx4[_0xfc97[35]],_0xf40cx8-1):null;_0xf40cx5[_0xfc97[38]](200)[_0xfc97[37]]({count:_0xf40cxf[_0xfc97[28]],rows:_0xf40cxf[_0xfc97[36]],next_page:_0xf40cx11,previous_page:_0xf40cx12,total_pages:_0xf40cx10});})[_0xfc97[27]](function(_0xf40cxe){return handleError(_0xf40cx5,_0xf40cxe)});};exports[_0xfc97[41]]=function(_0xf40cx4,_0xf40cx5){MailTemplate[_0xfc97[45]](_0xf40cx4[_0xfc97[44]][_0xfc97[43]])[_0xfc97[39]](function(_0xf40cx13){if(!_0xf40cx13){return _0xf40cx5[_0xfc97[42]](404)};return _0xf40cx5[_0xfc97[37]](_0xf40cx13);})[_0xfc97[27]](function(_0xf40cxe){return handleError(_0xf40cx5,_0xf40cxe)})};exports[_0xfc97[46]]=function(_0xf40cx4,_0xf40cx5){MailTemplate[_0xfc97[46]](_0xf40cx4[_0xfc97[47]])[_0xfc97[39]](function(_0xf40cx13){return _0xf40cx5[_0xfc97[38]](201)[_0xfc97[37]](_0xf40cx13)})[_0xfc97[27]](function(_0xf40cxe){return handleError(_0xf40cx5,_0xf40cxe)})};exports[_0xfc97[48]]=function(_0xf40cx4,_0xf40cx5){if(_0xf40cx4[_0xfc97[47]][_0xfc97[43]]){delete _0xf40cx4[_0xfc97[47]][_0xfc97[43]]};MailTemplate[_0xfc97[45]](_0xf40cx4[_0xfc97[44]][_0xfc97[43]])[_0xfc97[39]](function(_0xf40cx13){if(!_0xf40cx13){return _0xf40cx5[_0xfc97[42]](404)};var _0xf40cx14=_[_0xfc97[49]](_0xf40cx13,_0xf40cx4[_0xfc97[47]]);_0xf40cx14[_0xfc97[50]]()[_0xfc97[39]](function(){return _0xf40cx5[_0xfc97[38]](200)[_0xfc97[37]](_0xf40cx13)})[_0xfc97[27]](function(_0xf40cxe){return handleError(_0xf40cx5,_0xf40cxe)});})[_0xfc97[27]](function(_0xf40cxe){return handleError(_0xf40cx5,_0xf40cxe)});};exports[_0xfc97[51]]=function(_0xf40cx4,_0xf40cx5){MailTemplate[_0xfc97[45]](_0xf40cx4[_0xfc97[44]][_0xfc97[43]])[_0xfc97[39]](function(_0xf40cx13){if(!_0xf40cx13){return _0xf40cx5[_0xfc97[42]](404)};_0xf40cx13[_0xfc97[51]]()[_0xfc97[39]](function(){return _0xf40cx5[_0xfc97[42]](204)})[_0xfc97[27]](function(_0xf40cxe){return handleError(_0xf40cx5,_0xf40cxe)});})[_0xfc97[27]](function(_0xf40cxe){return handleError(_0xf40cx5,_0xf40cxe)})};function handleError(_0xf40cx5,_0xf40cxe){return _0xf40cx5[_0xfc97[38]](500)[_0xfc97[37]](_0xf40cxe)}
\ No newline at end of file
index 7655aa0..9f59c6c 100644 (file)
@@ -1 +1 @@
-var _0x320f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\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","\x6D\x61\x69\x6C\x5F\x74\x65\x6D\x70\x6C\x61\x74\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x74\x65\x6D\x70\x6C\x61\x74\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x320f[0];var MailTemplate=require(_0x320f[2])[_0x320f[1]];exports[_0x320f[3]]=function(_0xc69fx2){MailTemplate[_0x320f[4]](function(_0xc69fx3){onSave(_0xc69fx2,_0xc69fx3)});MailTemplate[_0x320f[5]](function(_0xc69fx3){onRemove(_0xc69fx2,_0xc69fx3)});};function onSave(_0xc69fx2,_0xc69fx3,_0xc69fx5){_0xc69fx2[_0x320f[7]](_0x320f[6],_0xc69fx3)}function onRemove(_0xc69fx2,_0xc69fx3,_0xc69fx5){_0xc69fx2[_0x320f[7]](_0x320f[8],_0xc69fx3)}
\ No newline at end of file
+var _0x9bfa=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\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","\x6D\x61\x69\x6C\x5F\x74\x65\x6D\x70\x6C\x61\x74\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x74\x65\x6D\x70\x6C\x61\x74\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x9bfa[0];var MailTemplate=require(_0x9bfa[2])[_0x9bfa[1]];exports[_0x9bfa[3]]=function(_0xbe1ax2){MailTemplate[_0x9bfa[4]](function(_0xbe1ax3){onSave(_0xbe1ax2,_0xbe1ax3)});MailTemplate[_0x9bfa[5]](function(_0xbe1ax3){onRemove(_0xbe1ax2,_0xbe1ax3)});};function onSave(_0xbe1ax2,_0xbe1ax3,_0xbe1ax5){_0xbe1ax2[_0x9bfa[7]](_0x9bfa[6],_0xbe1ax3)}function onRemove(_0xbe1ax2,_0xbe1ax3,_0xbe1ax5){_0xbe1ax2[_0x9bfa[7]](_0x9bfa[8],_0xbe1ax3)}
\ No newline at end of file
index c6d2707..7260d56 100644 (file)
@@ -1 +1 @@
-var _0x34b8=["\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","\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","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65","\x6D\x65\x74\x72\x69\x63\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\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"];_0x34b8[0];var express=require(_0x34b8[1]);var controller=require(_0x34b8[2]);var auth=require(_0x34b8[3]);var router=express.Router();router[_0x34b8[7]](_0x34b8[4],auth[_0x34b8[5]](),controller[_0x34b8[6]]);router[_0x34b8[7]](_0x34b8[8],auth[_0x34b8[5]](),controller[_0x34b8[9]]);router[_0x34b8[7]](_0x34b8[10],auth[_0x34b8[5]](),controller[_0x34b8[11]]);router[_0x34b8[13]](_0x34b8[4],auth[_0x34b8[5]](),controller[_0x34b8[12]]);router[_0x34b8[13]](_0x34b8[14],auth[_0x34b8[5]](),controller[_0x34b8[15]]);router[_0x34b8[17]](_0x34b8[10],auth[_0x34b8[5]](),controller[_0x34b8[16]]);router[_0x34b8[18]](_0x34b8[10],auth[_0x34b8[5]](),controller[_0x34b8[16]]);router[_0x34b8[20]](_0x34b8[4],auth[_0x34b8[5]](),controller[_0x34b8[19]]);router[_0x34b8[20]](_0x34b8[10],auth[_0x34b8[5]](),controller[_0x34b8[21]]);module[_0x34b8[22]]=router;
\ No newline at end of file
+var _0x135e=["\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","\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","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65","\x6D\x65\x74\x72\x69\x63\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\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"];_0x135e[0];var express=require(_0x135e[1]);var controller=require(_0x135e[2]);var auth=require(_0x135e[3]);var router=express.Router();router[_0x135e[7]](_0x135e[4],auth[_0x135e[5]](),controller[_0x135e[6]]);router[_0x135e[7]](_0x135e[8],auth[_0x135e[5]](),controller[_0x135e[9]]);router[_0x135e[7]](_0x135e[10],auth[_0x135e[5]](),controller[_0x135e[11]]);router[_0x135e[13]](_0x135e[4],auth[_0x135e[5]](),controller[_0x135e[12]]);router[_0x135e[13]](_0x135e[14],auth[_0x135e[5]](),controller[_0x135e[15]]);router[_0x135e[17]](_0x135e[10],auth[_0x135e[5]](),controller[_0x135e[16]]);router[_0x135e[18]](_0x135e[10],auth[_0x135e[5]](),controller[_0x135e[16]]);router[_0x135e[20]](_0x135e[4],auth[_0x135e[5]](),controller[_0x135e[19]]);router[_0x135e[20]](_0x135e[10],auth[_0x135e[5]](),controller[_0x135e[21]]);module[_0x135e[22]]=router;
\ No newline at end of file
index 7a537ba..5d8d8b8 100644 (file)
@@ -1 +1 @@
-var _0x2f9d=["\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","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x6D\x65\x74\x72\x69\x63\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x6C\x6F\x67","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x4D\x65\x74\x72\x69\x63\x73\x42\x79\x54\x61\x62\x6C\x65","\x74\x61\x62\x6C\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","\x75\x70\x64\x61\x74\x65","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x4D\x45\x54\x52\x49\x43","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x4D\x45\x53\x53\x41\x47\x45\x5F\x4D\x45\x54\x52\x49\x43\x5F\x43\x4F\x4E\x46\x49\x47\x55\x52\x41\x54\x49\x4F\x4E\x5F\x41\x53\x53\x4F\x43\x49\x41\x54\x45\x44","\x67\x65\x74\x5A\x65\x6E\x64\x65\x73\x6B\x54\x65\x78\x74\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0x2f9d[0];var _=require(_0x2f9d[1]);var Metric=require(_0x2f9d[3])[_0x2f9d[2]];var util=require(_0x2f9d[4]);exports[_0x2f9d[5]]=function(_0x66fdx4,_0x66fdx5){var _0x66fdx6=[_0x2f9d[6],_0x2f9d[7]];var _0x66fdx7=_0x66fdx4[_0x2f9d[9]][_0x2f9d[8]]?parseInt(_0x66fdx4[_0x2f9d[9]][_0x2f9d[8]],10):100;var _0x66fdx8=_0x66fdx4[_0x2f9d[9]][_0x2f9d[10]]?parseInt(_0x66fdx4[_0x2f9d[9]][_0x2f9d[10]],10):0;var _0x66fdx9={where:{},limit:_0x66fdx7,offset:_0x66fdx8*_0x66fdx7};_[_0x2f9d[24]](_0x66fdx4[_0x2f9d[9]],function(_0x66fdxa,_0x66fdxb){switch(_0x66fdxb){case _0x2f9d[8]:;case _0x2f9d[10]:break ;;case _0x2f9d[13]:_0x66fdx9[_0x2f9d[11]]=util[_0x2f9d[16]](_0x2f9d[12],_0x66fdx4[_0x2f9d[9]][_0x2f9d[13]],_0x66fdx4[_0x2f9d[9]][_0x2f9d[14]]||_0x2f9d[15])||null;break ;;case _0x2f9d[14]:break ;;case _0x2f9d[22]:_0x66fdx9[_0x2f9d[18]][_0x2f9d[17]]=[];_0x66fdx6[_0x2f9d[21]](function(_0x66fdxc){var _0x66fdxd={};_0x66fdxd[_0x66fdxc]={$like:_0x2f9d[19]+_0x66fdxa+_0x2f9d[19]};_0x66fdx9[_0x2f9d[18]][_0x2f9d[17]][_0x2f9d[20]](_0x66fdxd);});break ;;default:_0x66fdx9[_0x2f9d[18]][_0x66fdxb]={$like:{}};_0x66fdx9[_0x2f9d[18]][_0x66fdxb][_0x2f9d[23]]=_0x2f9d[19]+_0x66fdxa+_0x2f9d[19];;}});Metric[_0x2f9d[39]](_0x66fdx9)[_0x2f9d[38]](function(_0x66fdxf){var _0x66fdx10=Math[_0x2f9d[30]](_0x66fdxf[_0x2f9d[29]]/_0x66fdx7);var _0x66fdx11=_0x66fdx10>(_0x66fdx9[_0x2f9d[31]]+1)?util[_0x2f9d[16]](_0x2f9d[32],_0x66fdx4[_0x2f9d[33]],_0x66fdx4[_0x2f9d[35]][_0x2f9d[34]],_0x66fdx4[_0x2f9d[36]],_0x66fdx8+1):null;var _0x66fdx12=_0x66fdx8>0?util[_0x2f9d[16]](_0x2f9d[32],_0x66fdx4[_0x2f9d[33]],_0x66fdx4[_0x2f9d[35]][_0x2f9d[34]],_0x66fdx4[_0x2f9d[36]],_0x66fdx8-1):null;_0x66fdx5[_0x2f9d[27]](200)[_0x2f9d[26]]({count:_0x66fdxf[_0x2f9d[29]],rows:_0x66fdxf[_0x2f9d[37]],next_page:_0x66fdx11,previous_page:_0x66fdx12,total_pages:_0x66fdx10});})[_0x2f9d[28]](function(_0x66fdxe){_0x66fdx5[_0x2f9d[27]](500)[_0x2f9d[26]]({error:_0x2f9d[25]})});};exports[_0x2f9d[40]]=function(_0x66fdx4,_0x66fdx5){console[_0x2f9d[42]](_0x66fdx4[_0x2f9d[41]]);Metric[_0x2f9d[44]]({where:{name:_0x66fdx4[_0x2f9d[41]][_0x2f9d[6]]}})[_0x2f9d[38]](function(_0x66fdx13){if(!_0x66fdx13){return _0x66fdx5[_0x2f9d[43]](404)};return _0x66fdx5[_0x2f9d[26]](_0x66fdx13);})[_0x2f9d[28]](function(_0x66fdxe){return handleError(_0x66fdx5,_0x66fdxe)});};exports[_0x2f9d[45]]=function(_0x66fdx4,_0x66fdx5){console[_0x2f9d[42]](_0x66fdx4[_0x2f9d[9]]);Metric[_0x2f9d[44]]({where:{table:_0x66fdx4[_0x2f9d[9]][_0x2f9d[46]]}})[_0x2f9d[38]](function(_0x66fdx13){console[_0x2f9d[42]](_0x66fdx13);if(!_0x66fdx13){return _0x66fdx5[_0x2f9d[43]](404)};return _0x66fdx5[_0x2f9d[27]](200)[_0x2f9d[26]](_0x66fdx13);})[_0x2f9d[28]](function(_0x66fdxe){return handleError(_0x66fdx5,_0x66fdxe)});};exports[_0x2f9d[47]]=function(_0x66fdx4,_0x66fdx5){Metric[_0x2f9d[50]](_0x66fdx4[_0x2f9d[49]][_0x2f9d[48]])[_0x2f9d[38]](function(_0x66fdx14){if(!_0x66fdx14){return _0x66fdx5[_0x2f9d[43]](404)};return _0x66fdx5[_0x2f9d[26]](_0x66fdx14);})[_0x2f9d[28]](function(_0x66fdxe){return handleError(_0x66fdx5,_0x66fdxe)})};exports[_0x2f9d[51]]=function(_0x66fdx4,_0x66fdx5){Metric[_0x2f9d[51]](_0x66fdx4[_0x2f9d[41]])[_0x2f9d[38]](function(_0x66fdx14){return _0x66fdx5[_0x2f9d[27]](201)[_0x2f9d[26]](_0x66fdx14)})[_0x2f9d[28]](function(_0x66fdxe){return handleError(_0x66fdx5,_0x66fdxe)})};exports[_0x2f9d[52]]=function(_0x66fdx4,_0x66fdx5){Metric[_0x2f9d[44]]({where:{name:_0x66fdx4[_0x2f9d[41]][_0x2f9d[6]],id:{$ne:_0x66fdx4[_0x2f9d[41]][_0x2f9d[48]]}}})[_0x2f9d[38]](function(_0x66fdx13){if(!_0x66fdx13){return _0x66fdx5[_0x2f9d[43]](404)};if(_0x66fdx13[_0x2f9d[53]]>0){return _0x66fdx5[_0x2f9d[27]](500)[_0x2f9d[26]]({message:_0x2f9d[54]})};if(_0x66fdx4[_0x2f9d[41]][_0x2f9d[48]]){delete _0x66fdx4[_0x2f9d[41]][_0x2f9d[48]]};Metric[_0x2f9d[57]]({where:{id:_0x66fdx4[_0x2f9d[49]][_0x2f9d[48]]}})[_0x2f9d[38]](function(_0x66fdx14){if(!_0x66fdx14){return _0x66fdx5[_0x2f9d[43]](404)};var _0x66fdx15=_[_0x2f9d[55]](_0x66fdx14,_0x66fdx4[_0x2f9d[41]]);_0x66fdx15[_0x2f9d[56]]()[_0x2f9d[38]](function(){return _0x66fdx5[_0x2f9d[27]](200)[_0x2f9d[26]](_0x66fdx14)})[_0x2f9d[28]](function(_0x66fdxe){return handleError(_0x66fdx5,_0x66fdxe)});})[_0x2f9d[28]](function(_0x66fdxe){return handleError(_0x66fdx5,_0x66fdxe)});})[_0x2f9d[28]](function(_0x66fdxe){return handleError(_0x66fdx5,_0x66fdxe)})};exports[_0x2f9d[58]]=function(_0x66fdx4,_0x66fdx5){Metric[_0x2f9d[50]](_0x66fdx4[_0x2f9d[49]][_0x2f9d[48]])[_0x2f9d[38]](function(_0x66fdx14){if(!_0x66fdx14){return _0x66fdx5[_0x2f9d[43]](404)};_0x66fdx14[_0x2f9d[60]]()[_0x2f9d[38]](function(_0x66fdx16){if(_0x66fdx16[_0x2f9d[53]]>0){return _0x66fdx5[_0x2f9d[27]](500)[_0x2f9d[26]]({message:_0x2f9d[59]})};_0x66fdx14[_0x2f9d[58]]()[_0x2f9d[38]](function(){return _0x66fdx5[_0x2f9d[43]](204)})[_0x2f9d[28]](function(_0x66fdxe){return handleError(_0x66fdx5,_0x66fdxe)});})[_0x2f9d[28]](function(_0x66fdxe){return handleError(_0x66fdx5,_0x66fdxe)});})[_0x2f9d[28]](function(_0x66fdxe){return handleError(_0x66fdx5,_0x66fdxe)})};exports[_0x2f9d[61]]=function(_0x66fdx4,_0x66fdx5){Metric[_0x2f9d[58]]({where:{id:_0x66fdx4[_0x2f9d[9]][_0x2f9d[48]]},individualHooks:true})[_0x2f9d[38]](function(){return _0x66fdx5[_0x2f9d[43]](204)})[_0x2f9d[28]](function(_0x66fdxe){return handleError(_0x66fdx5,_0x66fdxe)})};function handleError(_0x66fdx5,_0x66fdxe){return _0x66fdx5[_0x2f9d[27]](500)[_0x2f9d[26]](_0x66fdxe)}
\ No newline at end of file
+var _0x19f8=["\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","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x6D\x65\x74\x72\x69\x63\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x6C\x6F\x67","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x4D\x65\x74\x72\x69\x63\x73\x42\x79\x54\x61\x62\x6C\x65","\x74\x61\x62\x6C\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","\x75\x70\x64\x61\x74\x65","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x4D\x45\x54\x52\x49\x43","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x4D\x45\x53\x53\x41\x47\x45\x5F\x4D\x45\x54\x52\x49\x43\x5F\x43\x4F\x4E\x46\x49\x47\x55\x52\x41\x54\x49\x4F\x4E\x5F\x41\x53\x53\x4F\x43\x49\x41\x54\x45\x44","\x67\x65\x74\x5A\x65\x6E\x64\x65\x73\x6B\x54\x65\x78\x74\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0x19f8[0];var _=require(_0x19f8[1]);var Metric=require(_0x19f8[3])[_0x19f8[2]];var util=require(_0x19f8[4]);exports[_0x19f8[5]]=function(_0x32a6x4,_0x32a6x5){var _0x32a6x6=[_0x19f8[6],_0x19f8[7]];var _0x32a6x7=_0x32a6x4[_0x19f8[9]][_0x19f8[8]]?parseInt(_0x32a6x4[_0x19f8[9]][_0x19f8[8]],10):100;var _0x32a6x8=_0x32a6x4[_0x19f8[9]][_0x19f8[10]]?parseInt(_0x32a6x4[_0x19f8[9]][_0x19f8[10]],10):0;var _0x32a6x9={where:{},limit:_0x32a6x7,offset:_0x32a6x8*_0x32a6x7};_[_0x19f8[24]](_0x32a6x4[_0x19f8[9]],function(_0x32a6xa,_0x32a6xb){switch(_0x32a6xb){case _0x19f8[8]:;case _0x19f8[10]:break ;;case _0x19f8[13]:_0x32a6x9[_0x19f8[11]]=util[_0x19f8[16]](_0x19f8[12],_0x32a6x4[_0x19f8[9]][_0x19f8[13]],_0x32a6x4[_0x19f8[9]][_0x19f8[14]]||_0x19f8[15])||null;break ;;case _0x19f8[14]:break ;;case _0x19f8[22]:_0x32a6x9[_0x19f8[18]][_0x19f8[17]]=[];_0x32a6x6[_0x19f8[21]](function(_0x32a6xc){var _0x32a6xd={};_0x32a6xd[_0x32a6xc]={$like:_0x19f8[19]+_0x32a6xa+_0x19f8[19]};_0x32a6x9[_0x19f8[18]][_0x19f8[17]][_0x19f8[20]](_0x32a6xd);});break ;;default:_0x32a6x9[_0x19f8[18]][_0x32a6xb]={$like:{}};_0x32a6x9[_0x19f8[18]][_0x32a6xb][_0x19f8[23]]=_0x19f8[19]+_0x32a6xa+_0x19f8[19];;}});Metric[_0x19f8[39]](_0x32a6x9)[_0x19f8[38]](function(_0x32a6xf){var _0x32a6x10=Math[_0x19f8[30]](_0x32a6xf[_0x19f8[29]]/_0x32a6x7);var _0x32a6x11=_0x32a6x10>(_0x32a6x9[_0x19f8[31]]+1)?util[_0x19f8[16]](_0x19f8[32],_0x32a6x4[_0x19f8[33]],_0x32a6x4[_0x19f8[35]][_0x19f8[34]],_0x32a6x4[_0x19f8[36]],_0x32a6x8+1):null;var _0x32a6x12=_0x32a6x8>0?util[_0x19f8[16]](_0x19f8[32],_0x32a6x4[_0x19f8[33]],_0x32a6x4[_0x19f8[35]][_0x19f8[34]],_0x32a6x4[_0x19f8[36]],_0x32a6x8-1):null;_0x32a6x5[_0x19f8[27]](200)[_0x19f8[26]]({count:_0x32a6xf[_0x19f8[29]],rows:_0x32a6xf[_0x19f8[37]],next_page:_0x32a6x11,previous_page:_0x32a6x12,total_pages:_0x32a6x10});})[_0x19f8[28]](function(_0x32a6xe){_0x32a6x5[_0x19f8[27]](500)[_0x19f8[26]]({error:_0x19f8[25]})});};exports[_0x19f8[40]]=function(_0x32a6x4,_0x32a6x5){console[_0x19f8[42]](_0x32a6x4[_0x19f8[41]]);Metric[_0x19f8[44]]({where:{name:_0x32a6x4[_0x19f8[41]][_0x19f8[6]]}})[_0x19f8[38]](function(_0x32a6x13){if(!_0x32a6x13){return _0x32a6x5[_0x19f8[43]](404)};return _0x32a6x5[_0x19f8[26]](_0x32a6x13);})[_0x19f8[28]](function(_0x32a6xe){return handleError(_0x32a6x5,_0x32a6xe)});};exports[_0x19f8[45]]=function(_0x32a6x4,_0x32a6x5){console[_0x19f8[42]](_0x32a6x4[_0x19f8[9]]);Metric[_0x19f8[44]]({where:{table:_0x32a6x4[_0x19f8[9]][_0x19f8[46]]}})[_0x19f8[38]](function(_0x32a6x13){console[_0x19f8[42]](_0x32a6x13);if(!_0x32a6x13){return _0x32a6x5[_0x19f8[43]](404)};return _0x32a6x5[_0x19f8[27]](200)[_0x19f8[26]](_0x32a6x13);})[_0x19f8[28]](function(_0x32a6xe){return handleError(_0x32a6x5,_0x32a6xe)});};exports[_0x19f8[47]]=function(_0x32a6x4,_0x32a6x5){Metric[_0x19f8[50]](_0x32a6x4[_0x19f8[49]][_0x19f8[48]])[_0x19f8[38]](function(_0x32a6x14){if(!_0x32a6x14){return _0x32a6x5[_0x19f8[43]](404)};return _0x32a6x5[_0x19f8[26]](_0x32a6x14);})[_0x19f8[28]](function(_0x32a6xe){return handleError(_0x32a6x5,_0x32a6xe)})};exports[_0x19f8[51]]=function(_0x32a6x4,_0x32a6x5){Metric[_0x19f8[51]](_0x32a6x4[_0x19f8[41]])[_0x19f8[38]](function(_0x32a6x14){return _0x32a6x5[_0x19f8[27]](201)[_0x19f8[26]](_0x32a6x14)})[_0x19f8[28]](function(_0x32a6xe){return handleError(_0x32a6x5,_0x32a6xe)})};exports[_0x19f8[52]]=function(_0x32a6x4,_0x32a6x5){Metric[_0x19f8[44]]({where:{name:_0x32a6x4[_0x19f8[41]][_0x19f8[6]],id:{$ne:_0x32a6x4[_0x19f8[41]][_0x19f8[48]]}}})[_0x19f8[38]](function(_0x32a6x13){if(!_0x32a6x13){return _0x32a6x5[_0x19f8[43]](404)};if(_0x32a6x13[_0x19f8[53]]>0){return _0x32a6x5[_0x19f8[27]](500)[_0x19f8[26]]({message:_0x19f8[54]})};if(_0x32a6x4[_0x19f8[41]][_0x19f8[48]]){delete _0x32a6x4[_0x19f8[41]][_0x19f8[48]]};Metric[_0x19f8[57]]({where:{id:_0x32a6x4[_0x19f8[49]][_0x19f8[48]]}})[_0x19f8[38]](function(_0x32a6x14){if(!_0x32a6x14){return _0x32a6x5[_0x19f8[43]](404)};var _0x32a6x15=_[_0x19f8[55]](_0x32a6x14,_0x32a6x4[_0x19f8[41]]);_0x32a6x15[_0x19f8[56]]()[_0x19f8[38]](function(){return _0x32a6x5[_0x19f8[27]](200)[_0x19f8[26]](_0x32a6x14)})[_0x19f8[28]](function(_0x32a6xe){return handleError(_0x32a6x5,_0x32a6xe)});})[_0x19f8[28]](function(_0x32a6xe){return handleError(_0x32a6x5,_0x32a6xe)});})[_0x19f8[28]](function(_0x32a6xe){return handleError(_0x32a6x5,_0x32a6xe)})};exports[_0x19f8[58]]=function(_0x32a6x4,_0x32a6x5){Metric[_0x19f8[50]](_0x32a6x4[_0x19f8[49]][_0x19f8[48]])[_0x19f8[38]](function(_0x32a6x14){if(!_0x32a6x14){return _0x32a6x5[_0x19f8[43]](404)};_0x32a6x14[_0x19f8[60]]()[_0x19f8[38]](function(_0x32a6x16){if(_0x32a6x16[_0x19f8[53]]>0){return _0x32a6x5[_0x19f8[27]](500)[_0x19f8[26]]({message:_0x19f8[59]})};_0x32a6x14[_0x19f8[58]]()[_0x19f8[38]](function(){return _0x32a6x5[_0x19f8[43]](204)})[_0x19f8[28]](function(_0x32a6xe){return handleError(_0x32a6x5,_0x32a6xe)});})[_0x19f8[28]](function(_0x32a6xe){return handleError(_0x32a6x5,_0x32a6xe)});})[_0x19f8[28]](function(_0x32a6xe){return handleError(_0x32a6x5,_0x32a6xe)})};exports[_0x19f8[61]]=function(_0x32a6x4,_0x32a6x5){Metric[_0x19f8[58]]({where:{id:_0x32a6x4[_0x19f8[9]][_0x19f8[48]]},individualHooks:true})[_0x19f8[38]](function(){return _0x32a6x5[_0x19f8[43]](204)})[_0x19f8[28]](function(_0x32a6xe){return handleError(_0x32a6x5,_0x32a6xe)})};function handleError(_0x32a6x5,_0x32a6xe){return _0x32a6x5[_0x19f8[27]](500)[_0x19f8[26]](_0x32a6xe)}
\ No newline at end of file
index 450d0fb..49a1242 100644 (file)
@@ -1 +1 @@
-var _0xc167=["\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","\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\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"];_0xc167[0];var Metric=require(_0xc167[2])[_0xc167[1]];exports[_0xc167[3]]=function(_0x5c87x2){Metric[_0xc167[4]](function(_0x5c87x3){onSave(_0x5c87x2,_0x5c87x3)});Metric[_0xc167[5]](function(_0x5c87x3){onRemove(_0x5c87x2,_0x5c87x3)});};function onSave(_0x5c87x2,_0x5c87x3,_0x5c87x5){_0x5c87x2[_0xc167[7]](_0xc167[6],_0x5c87x3)}function onRemove(_0x5c87x2,_0x5c87x3,_0x5c87x5){_0x5c87x2[_0xc167[7]](_0xc167[8],_0x5c87x3)}
\ No newline at end of file
+var _0xd392=["\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","\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\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"];_0xd392[0];var Metric=require(_0xd392[2])[_0xd392[1]];exports[_0xd392[3]]=function(_0x8438x2){Metric[_0xd392[4]](function(_0x8438x3){onSave(_0x8438x2,_0x8438x3)});Metric[_0xd392[5]](function(_0x8438x3){onRemove(_0x8438x2,_0x8438x3)});};function onSave(_0x8438x2,_0x8438x3,_0x8438x5){_0x8438x2[_0xd392[7]](_0xd392[6],_0x8438x3)}function onRemove(_0x8438x2,_0x8438x3,_0x8438x5){_0x8438x2[_0xd392[7]](_0xd392[8],_0x8438x3)}
\ No newline at end of file
index 765fe6b..cbe43e9 100644 (file)
@@ -1 +1 @@
-var _0xf6b0=["\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\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x6D\x65\x74\x72\x69\x63\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\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x6D\x65\x74\x72\x69\x63\x73","\x67\x65\x74"];_0xf6b0[0];var should=require(_0xf6b0[1]);var app=require(_0xf6b0[2]);var request=require(_0xf6b0[3]);describe(_0xf6b0[4],function(){it(_0xf6b0[5],function(_0x62c8x4){request(app)[_0xf6b0[13]](_0xf6b0[12])[_0xf6b0[11]](200)[_0xf6b0[11]](_0xf6b0[10],/json/)[_0xf6b0[9]](function(_0x62c8x5,_0x62c8x6){if(_0x62c8x5){return _0x62c8x4(_0x62c8x5)};_0x62c8x6[_0xf6b0[8]][_0xf6b0[1]][_0xf6b0[7]][_0xf6b0[6]](Array);_0x62c8x4();})})});
\ No newline at end of file
+var _0x2dd1=["\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\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x6D\x65\x74\x72\x69\x63\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\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x6D\x65\x74\x72\x69\x63\x73","\x67\x65\x74"];_0x2dd1[0];var should=require(_0x2dd1[1]);var app=require(_0x2dd1[2]);var request=require(_0x2dd1[3]);describe(_0x2dd1[4],function(){it(_0x2dd1[5],function(_0xecbdx4){request(app)[_0x2dd1[13]](_0x2dd1[12])[_0x2dd1[11]](200)[_0x2dd1[11]](_0x2dd1[10],/json/)[_0x2dd1[9]](function(_0xecbdx5,_0xecbdx6){if(_0xecbdx5){return _0xecbdx4(_0xecbdx5)};_0xecbdx6[_0x2dd1[8]][_0x2dd1[1]][_0x2dd1[7]][_0x2dd1[6]](Array);_0xecbdx4();})})});
\ No newline at end of file
index 18c5722..43a2251 100644 (file)
@@ -1 +1 @@
-var _0x9a82=["\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","\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"];_0x9a82[0];var express=require(_0x9a82[1]);var controller=require(_0x9a82[2]);var router=express.Router();router[_0x9a82[5]](_0x9a82[3],controller[_0x9a82[4]]);router[_0x9a82[5]](_0x9a82[6],controller[_0x9a82[7]]);router[_0x9a82[9]](_0x9a82[3],controller[_0x9a82[8]]);router[_0x9a82[11]](_0x9a82[6],controller[_0x9a82[10]]);router[_0x9a82[12]](_0x9a82[6],controller[_0x9a82[10]]);router[_0x9a82[14]](_0x9a82[6],controller[_0x9a82[13]]);module[_0x9a82[15]]=router;
\ No newline at end of file
+var _0xce29=["\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","\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"];_0xce29[0];var express=require(_0xce29[1]);var controller=require(_0xce29[2]);var router=express.Router();router[_0xce29[5]](_0xce29[3],controller[_0xce29[4]]);router[_0xce29[5]](_0xce29[6],controller[_0xce29[7]]);router[_0xce29[9]](_0xce29[3],controller[_0xce29[8]]);router[_0xce29[11]](_0xce29[6],controller[_0xce29[10]]);router[_0xce29[12]](_0xce29[6],controller[_0xce29[10]]);router[_0xce29[14]](_0xce29[6],controller[_0xce29[13]]);module[_0xce29[15]]=router;
\ No newline at end of file
index a575422..eb9d36a 100644 (file)
@@ -1 +1 @@
-var _0x76d5=["\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","\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","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\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"];_0x76d5[0];var _=require(_0x76d5[1]);var Module=require(_0x76d5[3])[_0x76d5[2]];exports[_0x76d5[4]]=function(_0xd40bx3,_0xd40bx4){Module[_0x76d5[9]]()[_0x76d5[8]](function(_0xd40bx6){return _0xd40bx4[_0x76d5[7]](200)[_0x76d5[6]](_0xd40bx6)})[_0x76d5[5]](function(_0xd40bx5){return handleError(_0xd40bx4,_0xd40bx5)})};exports[_0x76d5[10]]=function(_0xd40bx3,_0xd40bx4){var _0xd40bx7=_0xd40bx3[_0x76d5[12]][_0x76d5[11]];Module[_0x76d5[14]](_0xd40bx7)[_0x76d5[8]](function(_0xd40bx8){if(!_0xd40bx8){return _0xd40bx4[_0x76d5[13]](404)};return _0xd40bx4[_0x76d5[6]](_0xd40bx8);})[_0x76d5[5]](function(_0xd40bx5){return handleError(_0xd40bx4,_0xd40bx5)});};exports[_0x76d5[15]]=function(_0xd40bx3,_0xd40bx4){Module[_0x76d5[15]](_0xd40bx3[_0x76d5[16]])[_0x76d5[8]](function(_0xd40bx8){return _0xd40bx4[_0x76d5[7]](201)[_0x76d5[6]](_0xd40bx8)})[_0x76d5[5]](function(_0xd40bx5){return handleError(_0xd40bx4,_0xd40bx5)})};exports[_0x76d5[17]]=function(_0xd40bx3,_0xd40bx4){var _0xd40bx7=_0xd40bx3[_0x76d5[16]][_0x76d5[11]];if(_0xd40bx3[_0x76d5[16]][_0x76d5[11]]){delete _0xd40bx3[_0x76d5[16]][_0x76d5[11]]};Module[_0x76d5[14]](_0xd40bx7)[_0x76d5[8]](function(_0xd40bx8){if(!_0xd40bx8){return _0xd40bx4[_0x76d5[13]](404)};var _0xd40bx9=_[_0x76d5[18]](_0xd40bx8,_0xd40bx3[_0x76d5[16]]);_0xd40bx9[_0x76d5[19]]()[_0x76d5[8]](function(){return _0xd40bx4[_0x76d5[7]](200)[_0x76d5[6]](_0xd40bx8)})[_0x76d5[5]](function(_0xd40bx5){return handleError(_0xd40bx4,_0xd40bx5)});})[_0x76d5[5]](function(_0xd40bx5){return handleError(_0xd40bx4,_0xd40bx5)});};exports[_0x76d5[20]]=function(_0xd40bx3,_0xd40bx4){var _0xd40bx7=_0xd40bx3[_0x76d5[12]][_0x76d5[11]];Module[_0x76d5[14]](_0xd40bx7)[_0x76d5[8]](function(_0xd40bx8){if(!_0xd40bx8){return _0xd40bx4[_0x76d5[13]](404)};_0xd40bx8[_0x76d5[20]]()[_0x76d5[8]](function(){return _0xd40bx4[_0x76d5[13]](204)})[_0x76d5[5]](function(_0xd40bx5){return handleError(_0xd40bx4,_0xd40bx5)});})[_0x76d5[5]](function(_0xd40bx5){return handleError(_0xd40bx4,_0xd40bx5)});};function handleError(_0xd40bx4,_0xd40bx5){return _0xd40bx4[_0x76d5[7]](500)[_0x76d5[6]](_0xd40bx5)}
\ No newline at end of file
+var _0x7917=["\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","\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","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\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"];_0x7917[0];var _=require(_0x7917[1]);var Module=require(_0x7917[3])[_0x7917[2]];exports[_0x7917[4]]=function(_0xebd4x3,_0xebd4x4){Module[_0x7917[9]]()[_0x7917[8]](function(_0xebd4x6){return _0xebd4x4[_0x7917[7]](200)[_0x7917[6]](_0xebd4x6)})[_0x7917[5]](function(_0xebd4x5){return handleError(_0xebd4x4,_0xebd4x5)})};exports[_0x7917[10]]=function(_0xebd4x3,_0xebd4x4){var _0xebd4x7=_0xebd4x3[_0x7917[12]][_0x7917[11]];Module[_0x7917[14]](_0xebd4x7)[_0x7917[8]](function(_0xebd4x8){if(!_0xebd4x8){return _0xebd4x4[_0x7917[13]](404)};return _0xebd4x4[_0x7917[6]](_0xebd4x8);})[_0x7917[5]](function(_0xebd4x5){return handleError(_0xebd4x4,_0xebd4x5)});};exports[_0x7917[15]]=function(_0xebd4x3,_0xebd4x4){Module[_0x7917[15]](_0xebd4x3[_0x7917[16]])[_0x7917[8]](function(_0xebd4x8){return _0xebd4x4[_0x7917[7]](201)[_0x7917[6]](_0xebd4x8)})[_0x7917[5]](function(_0xebd4x5){return handleError(_0xebd4x4,_0xebd4x5)})};exports[_0x7917[17]]=function(_0xebd4x3,_0xebd4x4){var _0xebd4x7=_0xebd4x3[_0x7917[16]][_0x7917[11]];if(_0xebd4x3[_0x7917[16]][_0x7917[11]]){delete _0xebd4x3[_0x7917[16]][_0x7917[11]]};Module[_0x7917[14]](_0xebd4x7)[_0x7917[8]](function(_0xebd4x8){if(!_0xebd4x8){return _0xebd4x4[_0x7917[13]](404)};var _0xebd4x9=_[_0x7917[18]](_0xebd4x8,_0xebd4x3[_0x7917[16]]);_0xebd4x9[_0x7917[19]]()[_0x7917[8]](function(){return _0xebd4x4[_0x7917[7]](200)[_0x7917[6]](_0xebd4x8)})[_0x7917[5]](function(_0xebd4x5){return handleError(_0xebd4x4,_0xebd4x5)});})[_0x7917[5]](function(_0xebd4x5){return handleError(_0xebd4x4,_0xebd4x5)});};exports[_0x7917[20]]=function(_0xebd4x3,_0xebd4x4){var _0xebd4x7=_0xebd4x3[_0x7917[12]][_0x7917[11]];Module[_0x7917[14]](_0xebd4x7)[_0x7917[8]](function(_0xebd4x8){if(!_0xebd4x8){return _0xebd4x4[_0x7917[13]](404)};_0xebd4x8[_0x7917[20]]()[_0x7917[8]](function(){return _0xebd4x4[_0x7917[13]](204)})[_0x7917[5]](function(_0xebd4x5){return handleError(_0xebd4x4,_0xebd4x5)});})[_0x7917[5]](function(_0xebd4x5){return handleError(_0xebd4x4,_0xebd4x5)});};function handleError(_0xebd4x4,_0xebd4x5){return _0xebd4x4[_0x7917[7]](500)[_0x7917[6]](_0xebd4x5)}
\ No newline at end of file
index 9a5e1ad..6887eff 100644 (file)
@@ -1 +1 @@
-var _0xe4df=["\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","\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\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"];_0xe4df[0];var module=require(_0xe4df[2])[_0xe4df[1]];exports[_0xe4df[3]]=function(_0x33fax2){module[_0xe4df[4]](function(_0x33fax3){onSave(_0x33fax2,_0x33fax3)});module[_0xe4df[5]](function(_0x33fax3){onRemove(_0x33fax2,_0x33fax3)});};function onSave(_0x33fax2,_0x33fax3,_0x33fax5){_0x33fax2[_0xe4df[7]](_0xe4df[6],_0x33fax3)}function onRemove(_0x33fax2,_0x33fax3,_0x33fax5){_0x33fax2[_0xe4df[7]](_0xe4df[8],_0x33fax3)}
\ No newline at end of file
+var _0x7683=["\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","\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\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"];_0x7683[0];var module=require(_0x7683[2])[_0x7683[1]];exports[_0x7683[3]]=function(_0xc32bx2){module[_0x7683[4]](function(_0xc32bx3){onSave(_0xc32bx2,_0xc32bx3)});module[_0x7683[5]](function(_0xc32bx3){onRemove(_0xc32bx2,_0xc32bx3)});};function onSave(_0xc32bx2,_0xc32bx3,_0xc32bx5){_0xc32bx2[_0x7683[7]](_0x7683[6],_0xc32bx3)}function onRemove(_0xc32bx2,_0xc32bx3,_0xc32bx5){_0xc32bx2[_0x7683[7]](_0x7683[8],_0xc32bx3)}
\ No newline at end of file
index 299a094..354e2b9 100644 (file)
@@ -1 +1 @@
-var _0x4bf9=["\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\x6D\x6F\x64\x75\x6C\x65\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\x6D\x6F\x64\x75\x6C\x65\x73","\x67\x65\x74"];_0x4bf9[0];var should=require(_0x4bf9[1]);var app=require(_0x4bf9[2]);var request=require(_0x4bf9[3]);describe(_0x4bf9[4],function(){it(_0x4bf9[5],function(_0x8193x4){request(app)[_0x4bf9[13]](_0x4bf9[12])[_0x4bf9[11]](200)[_0x4bf9[11]](_0x4bf9[10],/json/)[_0x4bf9[9]](function(_0x8193x5,_0x8193x6){if(_0x8193x5){return _0x8193x4(_0x8193x5)};_0x8193x6[_0x4bf9[8]][_0x4bf9[1]][_0x4bf9[7]][_0x4bf9[6]](Array);_0x8193x4();})})});
\ No newline at end of file
+var _0xbb78=["\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\x6D\x6F\x64\x75\x6C\x65\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\x6D\x6F\x64\x75\x6C\x65\x73","\x67\x65\x74"];_0xbb78[0];var should=require(_0xbb78[1]);var app=require(_0xbb78[2]);var request=require(_0xbb78[3]);describe(_0xbb78[4],function(){it(_0xbb78[5],function(_0xef73x4){request(app)[_0xbb78[13]](_0xbb78[12])[_0xbb78[11]](200)[_0xbb78[11]](_0xbb78[10],/json/)[_0xbb78[9]](function(_0xef73x5,_0xef73x6){if(_0xef73x5){return _0xef73x4(_0xef73x5)};_0xef73x6[_0xbb78[8]][_0xbb78[1]][_0xbb78[7]][_0xbb78[6]](Array);_0xef73x4();})})});
\ No newline at end of file
index c8c87e9..d15b39f 100644 (file)
@@ -1 +1 @@
-var _0x4d35=["\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","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x67\x65\x74","\x2F","\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"];_0x4d35[0];var express=require(_0x4d35[1]);var controller=require(_0x4d35[2]);var router=express.Router();router[_0x4d35[5]](_0x4d35[3],controller[_0x4d35[4]]);router[_0x4d35[8]](_0x4d35[6],controller[_0x4d35[7]]);router[_0x4d35[10]](_0x4d35[3],controller[_0x4d35[9]]);router[_0x4d35[11]](_0x4d35[3],controller[_0x4d35[9]]);router[_0x4d35[13]](_0x4d35[3],controller[_0x4d35[12]]);module[_0x4d35[14]]=router;
\ No newline at end of file
+var _0x6fa2=["\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","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x67\x65\x74","\x2F","\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"];_0x6fa2[0];var express=require(_0x6fa2[1]);var controller=require(_0x6fa2[2]);var router=express.Router();router[_0x6fa2[5]](_0x6fa2[3],controller[_0x6fa2[4]]);router[_0x6fa2[8]](_0x6fa2[6],controller[_0x6fa2[7]]);router[_0x6fa2[10]](_0x6fa2[3],controller[_0x6fa2[9]]);router[_0x6fa2[11]](_0x6fa2[3],controller[_0x6fa2[9]]);router[_0x6fa2[13]](_0x6fa2[3],controller[_0x6fa2[12]]);module[_0x6fa2[14]]=router;
\ No newline at end of file
index 0617b15..61fa191 100644 (file)
@@ -1 +1 @@
-var _0x5ca3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x63\x72\x79\x70\x74\x6F","\x53\x65\x74\x74\x69\x6E\x67","\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","\x6C\x69\x63\x65\x6E\x73\x65","\x61\x65\x73\x2D\x32\x35\x36\x2D\x63\x74\x72","\x25\x73\x3A\x25\x73\x3A\x25\x73","\x61\x64\x64\x72\x65\x73\x73","\x6E\x65\x74\x6D\x61\x73\x6B","\x6D\x61\x63","\x66\x6F\x72\x6D\x61\x74","\x70\x61\x72\x73\x65","\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\x72\x65\x61\x74\x65\x44\x65\x63\x69\x70\x68\x65\x72","\x68\x65\x78","\x75\x74\x66\x38","\x66\x69\x6E\x61\x6C"];_0x5ca3[0];var _=require(_0x5ca3[1]);var util=require(_0x5ca3[2]);var crypto=require(_0x5ca3[3]);var Setting=require(_0x5ca3[5])[_0x5ca3[4]];exports[_0x5ca3[6]]=function(_0x2db3x5,_0x2db3x6){Setting[_0x5ca3[11]]()[_0x5ca3[10]](function(_0x2db3x8){return _0x2db3x6[_0x5ca3[9]](200)[_0x5ca3[8]](_0x2db3x8)})[_0x5ca3[7]](function(_0x2db3x7){return handleError(_0x2db3x6,_0x2db3x7)})};exports[_0x5ca3[12]]=function(_0x2db3x5,_0x2db3x6){Setting[_0x5ca3[24]](_0x2db3x5[_0x5ca3[23]][_0x5ca3[22]])[_0x5ca3[10]](function(_0x2db3x9){if(!_0x2db3x9){return _0x2db3x6[_0x5ca3[13]](404)};if(_0x2db3x9[_0x5ca3[14]]){_0x2db3x9[_0x5ca3[14]]=decrypt(_0x5ca3[15],util[_0x5ca3[20]](_0x5ca3[16],_0x2db3x9[_0x5ca3[17]],_0x2db3x9[_0x5ca3[18]],_0x2db3x9[_0x5ca3[19]]),_0x2db3x9[_0x5ca3[14]]);_0x2db3x9[_0x5ca3[14]]=JSON[_0x5ca3[21]](_0x2db3x9[_0x5ca3[14]]);};return _0x2db3x6[_0x5ca3[8]](_0x2db3x9);})[_0x5ca3[7]](function(_0x2db3x7){return handleError(_0x2db3x6,_0x2db3x7)})};exports[_0x5ca3[25]]=function(_0x2db3x5,_0x2db3x6){Setting[_0x5ca3[25]](_0x2db3x5[_0x5ca3[26]])[_0x5ca3[10]](function(_0x2db3x9){return _0x2db3x6[_0x5ca3[9]](201)[_0x5ca3[8]](_0x2db3x9)})[_0x5ca3[7]](function(_0x2db3x7){return handleError(_0x2db3x6,_0x2db3x7)})};exports[_0x5ca3[27]]=function(_0x2db3x5,_0x2db3x6){if(_0x2db3x5[_0x5ca3[26]][_0x5ca3[22]]){delete _0x2db3x5[_0x5ca3[26]][_0x5ca3[22]]};Setting[_0x5ca3[24]](_0x2db3x5[_0x5ca3[23]][_0x5ca3[22]])[_0x5ca3[10]](function(_0x2db3x9){if(!_0x2db3x9){return _0x2db3x6[_0x5ca3[13]](404)};var _0x2db3xa=_[_0x5ca3[28]](_0x2db3x9,_0x2db3x5[_0x5ca3[26]]);_0x2db3xa[_0x5ca3[29]]()[_0x5ca3[10]](function(){return _0x2db3x6[_0x5ca3[9]](200)[_0x5ca3[8]](_0x2db3x9)})[_0x5ca3[7]](function(_0x2db3x7){return handleError(_0x2db3x6,_0x2db3x7)});})[_0x5ca3[7]](function(_0x2db3x7){return handleError(_0x2db3x6,_0x2db3x7)});};exports[_0x5ca3[30]]=function(_0x2db3x5,_0x2db3x6){Setting[_0x5ca3[24]](_0x2db3x5[_0x5ca3[23]][_0x5ca3[22]])[_0x5ca3[10]](function(_0x2db3x9){if(!_0x2db3x9){return _0x2db3x6[_0x5ca3[13]](404)};_0x2db3x9[_0x5ca3[30]]()[_0x5ca3[10]](function(){return _0x2db3x6[_0x5ca3[13]](204)})[_0x5ca3[7]](function(_0x2db3x7){return handleError(_0x2db3x6,_0x2db3x7)});})[_0x5ca3[7]](function(_0x2db3x7){return handleError(_0x2db3x6,_0x2db3x7)})};function handleError(_0x2db3x6,_0x2db3x7){return _0x2db3x6[_0x5ca3[9]](500)[_0x5ca3[8]](_0x2db3x7)}function decrypt(_0x2db3xd,_0x2db3xe,_0x2db3xf){var _0x2db3x10=crypto[_0x5ca3[31]](_0x2db3xd,_0x2db3xe);var _0x2db3x11=_0x2db3x10[_0x5ca3[27]](_0x2db3xf,_0x5ca3[32],_0x5ca3[33]);_0x2db3x11+=_0x2db3x10[_0x5ca3[34]](_0x5ca3[33]);return _0x2db3x11;}
\ No newline at end of file
+var _0x9de7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x63\x72\x79\x70\x74\x6F","\x53\x65\x74\x74\x69\x6E\x67","\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","\x6C\x69\x63\x65\x6E\x73\x65","\x61\x65\x73\x2D\x32\x35\x36\x2D\x63\x74\x72","\x25\x73\x3A\x25\x73\x3A\x25\x73","\x61\x64\x64\x72\x65\x73\x73","\x6E\x65\x74\x6D\x61\x73\x6B","\x6D\x61\x63","\x66\x6F\x72\x6D\x61\x74","\x70\x61\x72\x73\x65","\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\x72\x65\x61\x74\x65\x44\x65\x63\x69\x70\x68\x65\x72","\x68\x65\x78","\x75\x74\x66\x38","\x66\x69\x6E\x61\x6C"];_0x9de7[0];var _=require(_0x9de7[1]);var util=require(_0x9de7[2]);var crypto=require(_0x9de7[3]);var Setting=require(_0x9de7[5])[_0x9de7[4]];exports[_0x9de7[6]]=function(_0x33ecx5,_0x33ecx6){Setting[_0x9de7[11]]()[_0x9de7[10]](function(_0x33ecx8){return _0x33ecx6[_0x9de7[9]](200)[_0x9de7[8]](_0x33ecx8)})[_0x9de7[7]](function(_0x33ecx7){return handleError(_0x33ecx6,_0x33ecx7)})};exports[_0x9de7[12]]=function(_0x33ecx5,_0x33ecx6){Setting[_0x9de7[24]](_0x33ecx5[_0x9de7[23]][_0x9de7[22]])[_0x9de7[10]](function(_0x33ecx9){if(!_0x33ecx9){return _0x33ecx6[_0x9de7[13]](404)};if(_0x33ecx9[_0x9de7[14]]){_0x33ecx9[_0x9de7[14]]=decrypt(_0x9de7[15],util[_0x9de7[20]](_0x9de7[16],_0x33ecx9[_0x9de7[17]],_0x33ecx9[_0x9de7[18]],_0x33ecx9[_0x9de7[19]]),_0x33ecx9[_0x9de7[14]]);_0x33ecx9[_0x9de7[14]]=JSON[_0x9de7[21]](_0x33ecx9[_0x9de7[14]]);};return _0x33ecx6[_0x9de7[8]](_0x33ecx9);})[_0x9de7[7]](function(_0x33ecx7){return handleError(_0x33ecx6,_0x33ecx7)})};exports[_0x9de7[25]]=function(_0x33ecx5,_0x33ecx6){Setting[_0x9de7[25]](_0x33ecx5[_0x9de7[26]])[_0x9de7[10]](function(_0x33ecx9){return _0x33ecx6[_0x9de7[9]](201)[_0x9de7[8]](_0x33ecx9)})[_0x9de7[7]](function(_0x33ecx7){return handleError(_0x33ecx6,_0x33ecx7)})};exports[_0x9de7[27]]=function(_0x33ecx5,_0x33ecx6){if(_0x33ecx5[_0x9de7[26]][_0x9de7[22]]){delete _0x33ecx5[_0x9de7[26]][_0x9de7[22]]};Setting[_0x9de7[24]](_0x33ecx5[_0x9de7[23]][_0x9de7[22]])[_0x9de7[10]](function(_0x33ecx9){if(!_0x33ecx9){return _0x33ecx6[_0x9de7[13]](404)};var _0x33ecxa=_[_0x9de7[28]](_0x33ecx9,_0x33ecx5[_0x9de7[26]]);_0x33ecxa[_0x9de7[29]]()[_0x9de7[10]](function(){return _0x33ecx6[_0x9de7[9]](200)[_0x9de7[8]](_0x33ecx9)})[_0x9de7[7]](function(_0x33ecx7){return handleError(_0x33ecx6,_0x33ecx7)});})[_0x9de7[7]](function(_0x33ecx7){return handleError(_0x33ecx6,_0x33ecx7)});};exports[_0x9de7[30]]=function(_0x33ecx5,_0x33ecx6){Setting[_0x9de7[24]](_0x33ecx5[_0x9de7[23]][_0x9de7[22]])[_0x9de7[10]](function(_0x33ecx9){if(!_0x33ecx9){return _0x33ecx6[_0x9de7[13]](404)};_0x33ecx9[_0x9de7[30]]()[_0x9de7[10]](function(){return _0x33ecx6[_0x9de7[13]](204)})[_0x9de7[7]](function(_0x33ecx7){return handleError(_0x33ecx6,_0x33ecx7)});})[_0x9de7[7]](function(_0x33ecx7){return handleError(_0x33ecx6,_0x33ecx7)})};function handleError(_0x33ecx6,_0x33ecx7){return _0x33ecx6[_0x9de7[9]](500)[_0x9de7[8]](_0x33ecx7)}function decrypt(_0x33ecxd,_0x33ecxe,_0x33ecxf){var _0x33ecx10=crypto[_0x9de7[31]](_0x33ecxd,_0x33ecxe);var _0x33ecx11=_0x33ecx10[_0x9de7[27]](_0x33ecxf,_0x9de7[32],_0x9de7[33]);_0x33ecx11+=_0x33ecx10[_0x9de7[34]](_0x9de7[33]);return _0x33ecx11;}
\ No newline at end of file
index 8c0c69e..d0096ae 100644 (file)
@@ -1 +1 @@
-var _0x4cca=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x65\x74\x74\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\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"];_0x4cca[0];var Setting=require(_0x4cca[2])[_0x4cca[1]];exports[_0x4cca[3]]=function(_0xe9d8x2){Setting[_0x4cca[4]](function(_0xe9d8x3){onSave(_0xe9d8x2,_0xe9d8x3)});Setting[_0x4cca[5]](function(_0xe9d8x3){onRemove(_0xe9d8x2,_0xe9d8x3)});};function onSave(_0xe9d8x2,_0xe9d8x3,_0xe9d8x5){_0xe9d8x2[_0x4cca[7]](_0x4cca[6],_0xe9d8x3)}function onRemove(_0xe9d8x2,_0xe9d8x3,_0xe9d8x5){_0xe9d8x2[_0x4cca[7]](_0x4cca[8],_0xe9d8x3)}
\ No newline at end of file
+var _0x38fc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x65\x74\x74\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\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"];_0x38fc[0];var Setting=require(_0x38fc[2])[_0x38fc[1]];exports[_0x38fc[3]]=function(_0x7934x2){Setting[_0x38fc[4]](function(_0x7934x3){onSave(_0x7934x2,_0x7934x3)});Setting[_0x38fc[5]](function(_0x7934x3){onRemove(_0x7934x2,_0x7934x3)});};function onSave(_0x7934x2,_0x7934x3,_0x7934x5){_0x7934x2[_0x38fc[7]](_0x38fc[6],_0x7934x3)}function onRemove(_0x7934x2,_0x7934x3,_0x7934x5){_0x7934x2[_0x38fc[7]](_0x38fc[8],_0x7934x3)}
\ No newline at end of file
index b6f66dd..4d5fc64 100644 (file)
@@ -1 +1 @@
-var _0x22de=["\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\x73\x65\x74\x74\x69\x6E\x67\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\x73\x65\x74\x74\x69\x6E\x67\x73","\x67\x65\x74"];_0x22de[0];var should=require(_0x22de[1]);var app=require(_0x22de[2]);var request=require(_0x22de[3]);describe(_0x22de[4],function(){it(_0x22de[5],function(_0xf871x4){request(app)[_0x22de[13]](_0x22de[12])[_0x22de[11]](200)[_0x22de[11]](_0x22de[10],/json/)[_0x22de[9]](function(_0xf871x5,_0xf871x6){if(_0xf871x5){return _0xf871x4(_0xf871x5)};_0xf871x6[_0x22de[8]][_0x22de[1]][_0x22de[7]][_0x22de[6]](Array);_0xf871x4();})})});
\ No newline at end of file
+var _0x2e14=["\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\x73\x65\x74\x74\x69\x6E\x67\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\x73\x65\x74\x74\x69\x6E\x67\x73","\x67\x65\x74"];_0x2e14[0];var should=require(_0x2e14[1]);var app=require(_0x2e14[2]);var request=require(_0x2e14[3]);describe(_0x2e14[4],function(){it(_0x2e14[5],function(_0x5d3ex4){request(app)[_0x2e14[13]](_0x2e14[12])[_0x2e14[11]](200)[_0x2e14[11]](_0x2e14[10],/json/)[_0x2e14[9]](function(_0x5d3ex5,_0x5d3ex6){if(_0x5d3ex5){return _0x5d3ex4(_0x5d3ex5)};_0x5d3ex6[_0x2e14[8]][_0x2e14[1]][_0x2e14[7]][_0x2e14[6]](Array);_0x5d3ex4();})})});
\ No newline at end of file
index aa7dac8..e40f835 100644 (file)
@@ -1 +1 @@
-var _0xc364=["\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"];_0xc364[0];var express=require(_0xc364[1]);var controller=require(_0xc364[2]);var auth=require(_0xc364[3]);var router=express.Router();router[_0xc364[7]](_0xc364[4],auth[_0xc364[5]](),controller[_0xc364[6]]);module[_0xc364[8]]=router;
\ No newline at end of file
+var _0xcca4=["\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"];_0xcca4[0];var express=require(_0xcca4[1]);var controller=require(_0xcca4[2]);var auth=require(_0xcca4[3]);var router=express.Router();router[_0xcca4[7]](_0xcca4[4],auth[_0xcca4[5]](),controller[_0xcca4[6]]);module[_0xcca4[8]]=router;
\ No newline at end of file
index b60471d..25e960b 100644 (file)
@@ -1 +1 @@
-var _0x76f7=["\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"];_0x76f7[0];var _=require(_0x76f7[1]);var Motionbar=require(_0x76f7[3])[_0x76f7[2]];exports[_0x76f7[4]]=function(_0xb128x3,_0xb128x4){if(!_0xb128x3[_0x76f7[6]][_0x76f7[5]]){return handleError(_0xb128x4,{message:_0x76f7[7]})};_0xb128x3[_0x76f7[9]][_0x76f7[8]]=parseInt(_0xb128x3[_0x76f7[6]][_0x76f7[5]],10);_0xb128x3[_0x76f7[9]][_0x76f7[4]]=_0xb128x3[_0x76f7[10]][_0x76f7[4]];_0xb128x3[_0x76f7[9]][_0x76f7[11]]=_0xb128x3[_0x76f7[10]][_0x76f7[11]];_0xb128x3[_0x76f7[9]][_0x76f7[12]]=_0xb128x3[_0x76f7[14]][_0x76f7[13]];Motionbar[_0x76f7[19]](_0xb128x3[_0x76f7[9]])[_0x76f7[18]](function(_0xb128x6){return _0xb128x4[_0x76f7[17]](201)[_0x76f7[16]](_0xb128x6)})[_0x76f7[15]](function(_0xb128x5){return handleError(_0xb128x4,_0xb128x5)});};function handleError(_0xb128x4,_0xb128x5){return _0xb128x4[_0x76f7[17]](500)[_0x76f7[16]](_0xb128x5)}
\ No newline at end of file
+var _0xcdb6=["\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"];_0xcdb6[0];var _=require(_0xcdb6[1]);var Motionbar=require(_0xcdb6[3])[_0xcdb6[2]];exports[_0xcdb6[4]]=function(_0x323fx3,_0x323fx4){if(!_0x323fx3[_0xcdb6[6]][_0xcdb6[5]]){return handleError(_0x323fx4,{message:_0xcdb6[7]})};_0x323fx3[_0xcdb6[9]][_0xcdb6[8]]=parseInt(_0x323fx3[_0xcdb6[6]][_0xcdb6[5]],10);_0x323fx3[_0xcdb6[9]][_0xcdb6[4]]=_0x323fx3[_0xcdb6[10]][_0xcdb6[4]];_0x323fx3[_0xcdb6[9]][_0xcdb6[11]]=_0x323fx3[_0xcdb6[10]][_0xcdb6[11]];_0x323fx3[_0xcdb6[9]][_0xcdb6[12]]=_0x323fx3[_0xcdb6[14]][_0xcdb6[13]];Motionbar[_0xcdb6[19]](_0x323fx3[_0xcdb6[9]])[_0xcdb6[18]](function(_0x323fx6){return _0x323fx4[_0xcdb6[17]](201)[_0xcdb6[16]](_0x323fx6)})[_0xcdb6[15]](function(_0x323fx5){return handleError(_0x323fx4,_0x323fx5)});};function handleError(_0x323fx4,_0x323fx5){return _0x323fx4[_0xcdb6[17]](500)[_0xcdb6[16]](_0x323fx5)}
\ No newline at end of file
index b1feaf2..ad05d1b 100644 (file)
@@ -1 +1 @@
-var _0x805c=["\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"];_0x805c[0];var Motionbar=require(_0x805c[2])[_0x805c[1]];exports[_0x805c[3]]=function(_0x4219x2){Motionbar[_0x805c[4]](function(_0x4219x3){onSave(_0x4219x2,_0x4219x3)});Motionbar[_0x805c[5]](function(_0x4219x3){onRemove(_0x4219x2,_0x4219x3)});};function onSave(_0x4219x2,_0x4219x3,_0x4219x5){if(_0x4219x2[_0x805c[6]]==_0x4219x3[_0x805c[7]]){_0x4219x2[_0x805c[9]](_0x805c[8],_0x4219x3)}}function onRemove(_0x4219x2,_0x4219x3,_0x4219x5){_0x4219x2[_0x805c[9]](_0x805c[10],_0x4219x3)}
\ No newline at end of file
+var _0x8194=["\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"];_0x8194[0];var Motionbar=require(_0x8194[2])[_0x8194[1]];exports[_0x8194[3]]=function(_0x8420x2){Motionbar[_0x8194[4]](function(_0x8420x3){onSave(_0x8420x2,_0x8420x3)});Motionbar[_0x8194[5]](function(_0x8420x3){onRemove(_0x8420x2,_0x8420x3)});};function onSave(_0x8420x2,_0x8420x3,_0x8420x5){if(_0x8420x2[_0x8194[6]]==_0x8420x3[_0x8194[7]]){_0x8420x2[_0x8194[9]](_0x8194[8],_0x8420x3)}}function onRemove(_0x8420x2,_0x8420x3,_0x8420x5){_0x8420x2[_0x8194[9]](_0x8194[10],_0x8420x3)}
\ No newline at end of file
index 578d279..0fc33ed 100644 (file)
@@ -1 +1 @@
-var _0x9cec=["\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\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\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\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x67\x65\x74"];_0x9cec[0];var should=require(_0x9cec[1]);var app=require(_0x9cec[2]);var request=require(_0x9cec[3]);describe(_0x9cec[4],function(){it(_0x9cec[5],function(_0x6ce3x4){request(app)[_0x9cec[13]](_0x9cec[12])[_0x9cec[11]](200)[_0x9cec[11]](_0x9cec[10],/json/)[_0x9cec[9]](function(_0x6ce3x5,_0x6ce3x6){if(_0x6ce3x5){return _0x6ce3x4(_0x6ce3x5)};_0x6ce3x6[_0x9cec[8]][_0x9cec[1]][_0x9cec[7]][_0x9cec[6]](Array);_0x6ce3x4();})})});
\ No newline at end of file
+var _0x36f0=["\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\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\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\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x67\x65\x74"];_0x36f0[0];var should=require(_0x36f0[1]);var app=require(_0x36f0[2]);var request=require(_0x36f0[3]);describe(_0x36f0[4],function(){it(_0x36f0[5],function(_0xb2c7x4){request(app)[_0x36f0[13]](_0x36f0[12])[_0x36f0[11]](200)[_0x36f0[11]](_0x36f0[10],/json/)[_0x36f0[9]](function(_0xb2c7x5,_0xb2c7x6){if(_0xb2c7x5){return _0xb2c7x4(_0xb2c7x5)};_0xb2c7x6[_0x36f0[8]][_0x36f0[1]][_0x36f0[7]][_0x36f0[6]](Array);_0xb2c7x4();})})});
\ No newline at end of file
index e960c10..a86b118 100644 (file)
@@ -1 +1 @@
-var _0x5e9c=["\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","\x2F","\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","\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"];_0x5e9c[0];var express=require(_0x5e9c[1]);var controller=require(_0x5e9c[2]);var router=express.Router();router[_0x5e9c[5]](_0x5e9c[3],controller[_0x5e9c[4]]);router[_0x5e9c[5]](_0x5e9c[6],controller[_0x5e9c[7]]);router[_0x5e9c[5]](_0x5e9c[8],controller[_0x5e9c[9]]);router[_0x5e9c[11]](_0x5e9c[3],controller[_0x5e9c[10]]);router[_0x5e9c[13]](_0x5e9c[8],controller[_0x5e9c[12]]);router[_0x5e9c[14]](_0x5e9c[8],controller[_0x5e9c[12]]);router[_0x5e9c[16]](_0x5e9c[8],controller[_0x5e9c[15]]);module[_0x5e9c[17]]=router;
\ No newline at end of file
+var _0xb422=["\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","\x2F","\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","\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"];_0xb422[0];var express=require(_0xb422[1]);var controller=require(_0xb422[2]);var router=express.Router();router[_0xb422[5]](_0xb422[3],controller[_0xb422[4]]);router[_0xb422[5]](_0xb422[6],controller[_0xb422[7]]);router[_0xb422[5]](_0xb422[8],controller[_0xb422[9]]);router[_0xb422[11]](_0xb422[3],controller[_0xb422[10]]);router[_0xb422[13]](_0xb422[8],controller[_0xb422[12]]);router[_0xb422[14]](_0xb422[8],controller[_0xb422[12]]);router[_0xb422[16]](_0xb422[8],controller[_0xb422[15]]);module[_0xb422[17]]=router;
\ No newline at end of file
index 6821af3..f6d2011 100644 (file)
@@ -1 +1 @@
-var _0x38c2=["\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","\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","\x64\x65\x73\x63\x72\x69\x62\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","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x38c2[0];var _=require(_0x38c2[1]);var ReportAgent=require(_0x38c2[3])[_0x38c2[2]];exports[_0x38c2[4]]=function(_0xc30ax3,_0xc30ax4){ReportAgent[_0x38c2[9]]()[_0x38c2[8]](function(_0xc30ax6){return _0xc30ax4[_0x38c2[7]](200)[_0x38c2[6]](_0xc30ax6)})[_0x38c2[5]](function(_0xc30ax5){return handleError(_0xc30ax4,_0xc30ax5)})};exports[_0x38c2[10]]=function(_0xc30ax3,_0xc30ax4){ReportAgent[_0x38c2[10]]()[_0x38c2[8]](function(_0xc30ax7){return _0xc30ax4[_0x38c2[7]](200)[_0x38c2[6]](_0xc30ax7)})[_0x38c2[5]](function(_0xc30ax5){return handleError(_0xc30ax4,_0xc30ax5)})};exports[_0x38c2[11]]=function(_0xc30ax3,_0xc30ax4){ReportAgent[_0x38c2[15]](_0xc30ax3[_0x38c2[14]][_0x38c2[13]])[_0x38c2[8]](function(_0xc30ax8){if(!_0xc30ax8){return _0xc30ax4[_0x38c2[12]](404)};return _0xc30ax4[_0x38c2[6]](_0xc30ax8);})[_0x38c2[5]](function(_0xc30ax5){return handleError(_0xc30ax4,_0xc30ax5)})};exports[_0x38c2[16]]=function(_0xc30ax3,_0xc30ax4){ReportAgent[_0x38c2[16]](_0xc30ax3[_0x38c2[17]])[_0x38c2[8]](function(_0xc30ax8){return _0xc30ax4[_0x38c2[7]](201)[_0x38c2[6]](_0xc30ax8)})[_0x38c2[5]](function(_0xc30ax5){return handleError(_0xc30ax4,_0xc30ax5)})};exports[_0x38c2[18]]=function(_0xc30ax3,_0xc30ax4){if(_0xc30ax3[_0x38c2[17]][_0x38c2[13]]){delete _0xc30ax3[_0x38c2[17]][_0x38c2[13]]};ReportAgent[_0x38c2[15]](_0xc30ax3[_0x38c2[14]][_0x38c2[13]])[_0x38c2[8]](function(_0xc30ax8){if(!_0xc30ax8){return _0xc30ax4[_0x38c2[12]](404)};var _0xc30ax9=_[_0x38c2[19]](_0xc30ax8,_0xc30ax3[_0x38c2[17]]);_0xc30ax9[_0x38c2[20]]()[_0x38c2[8]](function(){return _0xc30ax4[_0x38c2[7]](200)[_0x38c2[6]](_0xc30ax8)})[_0x38c2[5]](function(_0xc30ax5){return handleError(_0xc30ax4,_0xc30ax5)});})[_0x38c2[5]](function(_0xc30ax5){return handleError(_0xc30ax4,_0xc30ax5)});};exports[_0x38c2[21]]=function(_0xc30ax3,_0xc30ax4){ReportAgent[_0x38c2[15]](_0xc30ax3[_0x38c2[14]][_0x38c2[13]])[_0x38c2[8]](function(_0xc30ax8){if(!_0xc30ax8){return _0xc30ax4[_0x38c2[12]](404)};_0xc30ax8[_0x38c2[21]]()[_0x38c2[8]](function(){return _0xc30ax4[_0x38c2[12]](204)})[_0x38c2[5]](function(_0xc30ax5){return handleError(_0xc30ax4,_0xc30ax5)});})[_0x38c2[5]](function(_0xc30ax5){return handleError(_0xc30ax4,_0xc30ax5)})};function handleError(_0xc30ax4,_0xc30ax5){return _0xc30ax4[_0x38c2[7]](500)[_0x38c2[6]](_0xc30ax5)}
\ No newline at end of file
+var _0x3875=["\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","\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","\x64\x65\x73\x63\x72\x69\x62\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","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x3875[0];var _=require(_0x3875[1]);var ReportAgent=require(_0x3875[3])[_0x3875[2]];exports[_0x3875[4]]=function(_0x3a51x3,_0x3a51x4){ReportAgent[_0x3875[9]]()[_0x3875[8]](function(_0x3a51x6){return _0x3a51x4[_0x3875[7]](200)[_0x3875[6]](_0x3a51x6)})[_0x3875[5]](function(_0x3a51x5){return handleError(_0x3a51x4,_0x3a51x5)})};exports[_0x3875[10]]=function(_0x3a51x3,_0x3a51x4){ReportAgent[_0x3875[10]]()[_0x3875[8]](function(_0x3a51x7){return _0x3a51x4[_0x3875[7]](200)[_0x3875[6]](_0x3a51x7)})[_0x3875[5]](function(_0x3a51x5){return handleError(_0x3a51x4,_0x3a51x5)})};exports[_0x3875[11]]=function(_0x3a51x3,_0x3a51x4){ReportAgent[_0x3875[15]](_0x3a51x3[_0x3875[14]][_0x3875[13]])[_0x3875[8]](function(_0x3a51x8){if(!_0x3a51x8){return _0x3a51x4[_0x3875[12]](404)};return _0x3a51x4[_0x3875[6]](_0x3a51x8);})[_0x3875[5]](function(_0x3a51x5){return handleError(_0x3a51x4,_0x3a51x5)})};exports[_0x3875[16]]=function(_0x3a51x3,_0x3a51x4){ReportAgent[_0x3875[16]](_0x3a51x3[_0x3875[17]])[_0x3875[8]](function(_0x3a51x8){return _0x3a51x4[_0x3875[7]](201)[_0x3875[6]](_0x3a51x8)})[_0x3875[5]](function(_0x3a51x5){return handleError(_0x3a51x4,_0x3a51x5)})};exports[_0x3875[18]]=function(_0x3a51x3,_0x3a51x4){if(_0x3a51x3[_0x3875[17]][_0x3875[13]]){delete _0x3a51x3[_0x3875[17]][_0x3875[13]]};ReportAgent[_0x3875[15]](_0x3a51x3[_0x3875[14]][_0x3875[13]])[_0x3875[8]](function(_0x3a51x8){if(!_0x3a51x8){return _0x3a51x4[_0x3875[12]](404)};var _0x3a51x9=_[_0x3875[19]](_0x3a51x8,_0x3a51x3[_0x3875[17]]);_0x3a51x9[_0x3875[20]]()[_0x3875[8]](function(){return _0x3a51x4[_0x3875[7]](200)[_0x3875[6]](_0x3a51x8)})[_0x3875[5]](function(_0x3a51x5){return handleError(_0x3a51x4,_0x3a51x5)});})[_0x3875[5]](function(_0x3a51x5){return handleError(_0x3a51x4,_0x3a51x5)});};exports[_0x3875[21]]=function(_0x3a51x3,_0x3a51x4){ReportAgent[_0x3875[15]](_0x3a51x3[_0x3875[14]][_0x3875[13]])[_0x3875[8]](function(_0x3a51x8){if(!_0x3a51x8){return _0x3a51x4[_0x3875[12]](404)};_0x3a51x8[_0x3875[21]]()[_0x3875[8]](function(){return _0x3a51x4[_0x3875[12]](204)})[_0x3875[5]](function(_0x3a51x5){return handleError(_0x3a51x4,_0x3a51x5)});})[_0x3875[5]](function(_0x3a51x5){return handleError(_0x3a51x4,_0x3a51x5)})};function handleError(_0x3a51x4,_0x3a51x5){return _0x3a51x4[_0x3875[7]](500)[_0x3875[6]](_0x3a51x5)}
\ No newline at end of file
index 8493b24..9846964 100644 (file)
@@ -1 +1 @@
-var _0x9ffd=["\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"];_0x9ffd[0];var ReportAgent=require(_0x9ffd[2])[_0x9ffd[1]];exports[_0x9ffd[3]]=function(_0x4a72x2){ReportAgent[_0x9ffd[4]](function(_0x4a72x3){onSave(_0x4a72x2,_0x4a72x3)});ReportAgent[_0x9ffd[5]](function(_0x4a72x3){onSave(_0x4a72x2,_0x4a72x3)});ReportAgent[_0x9ffd[6]](function(_0x4a72x3){onRemove(_0x4a72x2,_0x4a72x3)});};function onSave(_0x4a72x2,_0x4a72x3,_0x4a72x5){if(_0x4a72x2[_0x9ffd[7]]===_0x4a72x3[_0x9ffd[8]]||_0x4a72x2[_0x9ffd[9]]===_0x9ffd[10]){_0x4a72x2[_0x9ffd[12]](_0x9ffd[11],_0x4a72x3)}}function onRemove(_0x4a72x2,_0x4a72x3,_0x4a72x5){_0x4a72x2[_0x9ffd[12]](_0x9ffd[13],_0x4a72x3)}
\ No newline at end of file
+var _0xc6fa=["\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"];_0xc6fa[0];var ReportAgent=require(_0xc6fa[2])[_0xc6fa[1]];exports[_0xc6fa[3]]=function(_0x812ex2){ReportAgent[_0xc6fa[4]](function(_0x812ex3){onSave(_0x812ex2,_0x812ex3)});ReportAgent[_0xc6fa[5]](function(_0x812ex3){onSave(_0x812ex2,_0x812ex3)});ReportAgent[_0xc6fa[6]](function(_0x812ex3){onRemove(_0x812ex2,_0x812ex3)});};function onSave(_0x812ex2,_0x812ex3,_0x812ex5){if(_0x812ex2[_0xc6fa[7]]===_0x812ex3[_0xc6fa[8]]||_0x812ex2[_0xc6fa[9]]===_0xc6fa[10]){_0x812ex2[_0xc6fa[12]](_0xc6fa[11],_0x812ex3)}}function onRemove(_0x812ex2,_0x812ex3,_0x812ex5){_0x812ex2[_0xc6fa[12]](_0xc6fa[13],_0x812ex3)}
\ No newline at end of file
index 0ddf128..0474fb5 100644 (file)
@@ -1 +1 @@
-var _0x469c=["\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","\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"];_0x469c[0];var express=require(_0x469c[1]);var controller=require(_0x469c[2]);var router=express.Router();router[_0x469c[5]](_0x469c[3],controller[_0x469c[4]]);router[_0x469c[5]](_0x469c[6],controller[_0x469c[7]]);router[_0x469c[9]](_0x469c[3],controller[_0x469c[8]]);router[_0x469c[11]](_0x469c[6],controller[_0x469c[10]]);router[_0x469c[12]](_0x469c[6],controller[_0x469c[10]]);router[_0x469c[14]](_0x469c[6],controller[_0x469c[13]]);module[_0x469c[15]]=router;
\ No newline at end of file
+var _0xcbac=["\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","\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"];_0xcbac[0];var express=require(_0xcbac[1]);var controller=require(_0xcbac[2]);var router=express.Router();router[_0xcbac[5]](_0xcbac[3],controller[_0xcbac[4]]);router[_0xcbac[5]](_0xcbac[6],controller[_0xcbac[7]]);router[_0xcbac[9]](_0xcbac[3],controller[_0xcbac[8]]);router[_0xcbac[11]](_0xcbac[6],controller[_0xcbac[10]]);router[_0xcbac[12]](_0xcbac[6],controller[_0xcbac[10]]);router[_0xcbac[14]](_0xcbac[6],controller[_0xcbac[13]]);module[_0xcbac[15]]=router;
\ No newline at end of file
index 01f2028..fb31f0b 100644 (file)
@@ -1 +1 @@
-var _0x5158=["\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","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\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","\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"];_0x5158[0];var _=require(_0x5158[1]);var ReportChat=require(_0x5158[3])[_0x5158[2]];var sequelize=require(_0x5158[3])[_0x5158[4]];exports[_0x5158[5]]=function(_0xbf67x4,_0xbf67x5){ReportChat[_0x5158[10]]()[_0x5158[9]](function(_0xbf67x7){return _0xbf67x5[_0x5158[8]](200)[_0x5158[7]](_0xbf67x7)})[_0x5158[6]](function(_0xbf67x6){return handleError(_0xbf67x5,_0xbf67x6)})};exports[_0x5158[11]]=function(_0xbf67x4,_0xbf67x5){ReportChat[_0x5158[15]](_0xbf67x4[_0x5158[14]][_0x5158[13]])[_0x5158[9]](function(_0xbf67x8){if(!_0xbf67x8){return _0xbf67x5[_0x5158[12]](404)};return _0xbf67x5[_0x5158[7]](_0xbf67x8);})[_0x5158[6]](function(_0xbf67x6){return handleError(_0xbf67x5,_0xbf67x6)})};exports[_0x5158[16]]=function(_0xbf67x4,_0xbf67x5){ReportChat[_0x5158[16]](_0xbf67x4[_0x5158[17]])[_0x5158[9]](function(_0xbf67x8){return _0xbf67x5[_0x5158[8]](201)[_0x5158[7]](_0xbf67x8)})[_0x5158[6]](function(_0xbf67x6){return handleError(_0xbf67x5,_0xbf67x6)})};exports[_0x5158[18]]=function(_0xbf67x4,_0xbf67x5,_0xbf67x9){if(_0xbf67x4[_0x5158[17]][_0x5158[13]]){delete _0xbf67x4[_0x5158[17]][_0x5158[13]]};return ReportChat[_0x5158[15]](_0xbf67x4[_0x5158[14]][_0x5158[13]])[_0x5158[9]](function(_0xbf67x8){if(!_0xbf67x8){return _0xbf67x5[_0x5158[12]](404)};var _0xbf67xa=_[_0x5158[19]](_0xbf67x8,_0xbf67x4[_0x5158[17]]);return _0xbf67xa[_0x5158[20]]()[_0x5158[9]](function(){return _0xbf67x5[_0x5158[8]](200)[_0x5158[7]](_0xbf67x8)});})[_0x5158[6]](sequelize.ValidationError,function(_0xbf67x6){return handleError(_0xbf67x5,_0xbf67x6)})[_0x5158[6]](function(_0xbf67x6){return handleError(_0xbf67x5,_0xbf67x6)});};exports[_0x5158[21]]=function(_0xbf67x4,_0xbf67x5){ReportChat[_0x5158[15]](_0xbf67x4[_0x5158[14]][_0x5158[13]])[_0x5158[9]](function(_0xbf67x8){if(!_0xbf67x8){return _0xbf67x5[_0x5158[12]](404)};_0xbf67x8[_0x5158[21]]()[_0x5158[9]](function(){return _0xbf67x5[_0x5158[12]](204)})[_0x5158[6]](function(_0xbf67x6){return handleError(_0xbf67x5,_0xbf67x6)});})[_0x5158[6]](function(_0xbf67x6){return handleError(_0xbf67x5,_0xbf67x6)})};function handleError(_0xbf67x5,_0xbf67x6){return _0xbf67x5[_0x5158[8]](500)[_0x5158[7]](_0xbf67x6)}
\ No newline at end of file
+var _0x8a9d=["\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","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\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","\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"];_0x8a9d[0];var _=require(_0x8a9d[1]);var ReportChat=require(_0x8a9d[3])[_0x8a9d[2]];var sequelize=require(_0x8a9d[3])[_0x8a9d[4]];exports[_0x8a9d[5]]=function(_0x1828x4,_0x1828x5){ReportChat[_0x8a9d[10]]()[_0x8a9d[9]](function(_0x1828x7){return _0x1828x5[_0x8a9d[8]](200)[_0x8a9d[7]](_0x1828x7)})[_0x8a9d[6]](function(_0x1828x6){return handleError(_0x1828x5,_0x1828x6)})};exports[_0x8a9d[11]]=function(_0x1828x4,_0x1828x5){ReportChat[_0x8a9d[15]](_0x1828x4[_0x8a9d[14]][_0x8a9d[13]])[_0x8a9d[9]](function(_0x1828x8){if(!_0x1828x8){return _0x1828x5[_0x8a9d[12]](404)};return _0x1828x5[_0x8a9d[7]](_0x1828x8);})[_0x8a9d[6]](function(_0x1828x6){return handleError(_0x1828x5,_0x1828x6)})};exports[_0x8a9d[16]]=function(_0x1828x4,_0x1828x5){ReportChat[_0x8a9d[16]](_0x1828x4[_0x8a9d[17]])[_0x8a9d[9]](function(_0x1828x8){return _0x1828x5[_0x8a9d[8]](201)[_0x8a9d[7]](_0x1828x8)})[_0x8a9d[6]](function(_0x1828x6){return handleError(_0x1828x5,_0x1828x6)})};exports[_0x8a9d[18]]=function(_0x1828x4,_0x1828x5,_0x1828x9){if(_0x1828x4[_0x8a9d[17]][_0x8a9d[13]]){delete _0x1828x4[_0x8a9d[17]][_0x8a9d[13]]};return ReportChat[_0x8a9d[15]](_0x1828x4[_0x8a9d[14]][_0x8a9d[13]])[_0x8a9d[9]](function(_0x1828x8){if(!_0x1828x8){return _0x1828x5[_0x8a9d[12]](404)};var _0x1828xa=_[_0x8a9d[19]](_0x1828x8,_0x1828x4[_0x8a9d[17]]);return _0x1828xa[_0x8a9d[20]]()[_0x8a9d[9]](function(){return _0x1828x5[_0x8a9d[8]](200)[_0x8a9d[7]](_0x1828x8)});})[_0x8a9d[6]](sequelize.ValidationError,function(_0x1828x6){return handleError(_0x1828x5,_0x1828x6)})[_0x8a9d[6]](function(_0x1828x6){return handleError(_0x1828x5,_0x1828x6)});};exports[_0x8a9d[21]]=function(_0x1828x4,_0x1828x5){ReportChat[_0x8a9d[15]](_0x1828x4[_0x8a9d[14]][_0x8a9d[13]])[_0x8a9d[9]](function(_0x1828x8){if(!_0x1828x8){return _0x1828x5[_0x8a9d[12]](404)};_0x1828x8[_0x8a9d[21]]()[_0x8a9d[9]](function(){return _0x1828x5[_0x8a9d[12]](204)})[_0x8a9d[6]](function(_0x1828x6){return handleError(_0x1828x5,_0x1828x6)});})[_0x8a9d[6]](function(_0x1828x6){return handleError(_0x1828x5,_0x1828x6)})};function handleError(_0x1828x5,_0x1828x6){return _0x1828x5[_0x8a9d[8]](500)[_0x8a9d[7]](_0x1828x6)}
\ No newline at end of file
index 48c3f3d..134a153 100644 (file)
@@ -1 +1 @@
-var _0x62fd=["\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\x64\x6D\x69\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x67\x65\x6E\x74\x69\x64","\x63\x68\x61\x6E\x67\x65\x64","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A\x61\x73\x73\x69\x67\x6E\x6D\x65\x6E\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"];_0x62fd[0];var ReportChat=require(_0x62fd[2])[_0x62fd[1]];exports[_0x62fd[3]]=function(_0xa11fx2){ReportChat[_0x62fd[4]](function(_0xa11fx3){onSave(_0xa11fx2,_0xa11fx3)});ReportChat[_0x62fd[5]](function(_0xa11fx3){onUpdate(_0xa11fx2,_0xa11fx3)});ReportChat[_0x62fd[6]](function(_0xa11fx3){onRemove(_0xa11fx2,_0xa11fx3)});};function onSave(_0xa11fx2,_0xa11fx3,_0xa11fx5){if(_0xa11fx2[_0x62fd[7]]===_0xa11fx3[_0x62fd[8]]||_0xa11fx2[_0x62fd[9]]===_0x62fd[10]){_0xa11fx2[_0x62fd[12]](_0x62fd[11],_0xa11fx3)}}function onUpdate(_0xa11fx2,_0xa11fx3,_0xa11fx5){if(_0xa11fx2[_0x62fd[7]]===_0xa11fx3[_0x62fd[8]]||_0xa11fx2[_0x62fd[9]]===_0x62fd[10]){if(_0xa11fx3[_0x62fd[14]](_0x62fd[13])){_0xa11fx2[_0x62fd[12]](_0x62fd[15],_0xa11fx3)}else {_0xa11fx2[_0x62fd[12]](_0x62fd[16],_0xa11fx3)}}}function onRemove(_0xa11fx2,_0xa11fx3,_0xa11fx5){_0xa11fx2[_0x62fd[12]](_0x62fd[17],_0xa11fx3)}
\ No newline at end of file
+var _0x4cdb=["\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\x64\x6D\x69\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x67\x65\x6E\x74\x69\x64","\x63\x68\x61\x6E\x67\x65\x64","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A\x61\x73\x73\x69\x67\x6E\x6D\x65\x6E\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"];_0x4cdb[0];var ReportChat=require(_0x4cdb[2])[_0x4cdb[1]];exports[_0x4cdb[3]]=function(_0x9e7dx2){ReportChat[_0x4cdb[4]](function(_0x9e7dx3){onSave(_0x9e7dx2,_0x9e7dx3)});ReportChat[_0x4cdb[5]](function(_0x9e7dx3){onUpdate(_0x9e7dx2,_0x9e7dx3)});ReportChat[_0x4cdb[6]](function(_0x9e7dx3){onRemove(_0x9e7dx2,_0x9e7dx3)});};function onSave(_0x9e7dx2,_0x9e7dx3,_0x9e7dx5){if(_0x9e7dx2[_0x4cdb[7]]===_0x9e7dx3[_0x4cdb[8]]||_0x9e7dx2[_0x4cdb[9]]===_0x4cdb[10]){_0x9e7dx2[_0x4cdb[12]](_0x4cdb[11],_0x9e7dx3)}}function onUpdate(_0x9e7dx2,_0x9e7dx3,_0x9e7dx5){if(_0x9e7dx2[_0x4cdb[7]]===_0x9e7dx3[_0x4cdb[8]]||_0x9e7dx2[_0x4cdb[9]]===_0x4cdb[10]){if(_0x9e7dx3[_0x4cdb[14]](_0x4cdb[13])){_0x9e7dx2[_0x4cdb[12]](_0x4cdb[15],_0x9e7dx3)}else {_0x9e7dx2[_0x4cdb[12]](_0x4cdb[16],_0x9e7dx3)}}}function onRemove(_0x9e7dx2,_0x9e7dx3,_0x9e7dx5){_0x9e7dx2[_0x4cdb[12]](_0x4cdb[17],_0x9e7dx3)}
\ No newline at end of file
index b919241..fab7e90 100644 (file)
@@ -1 +1 @@
-var _0x6efd=["\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\x72\x65\x70\x6F\x72\x74\x2F\x63\x68\x61\x74\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\x72\x65\x70\x6F\x72\x74\x2F\x63\x68\x61\x74\x73","\x67\x65\x74"];_0x6efd[0];var should=require(_0x6efd[1]);var app=require(_0x6efd[2]);var request=require(_0x6efd[3]);describe(_0x6efd[4],function(){it(_0x6efd[5],function(_0xe4d6x4){request(app)[_0x6efd[13]](_0x6efd[12])[_0x6efd[11]](200)[_0x6efd[11]](_0x6efd[10],/json/)[_0x6efd[9]](function(_0xe4d6x5,_0xe4d6x6){if(_0xe4d6x5){return _0xe4d6x4(_0xe4d6x5)};_0xe4d6x6[_0x6efd[8]][_0x6efd[1]][_0x6efd[7]][_0x6efd[6]](Array);_0xe4d6x4();})})});
\ No newline at end of file
+var _0xf0ae=["\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\x72\x65\x70\x6F\x72\x74\x2F\x63\x68\x61\x74\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\x72\x65\x70\x6F\x72\x74\x2F\x63\x68\x61\x74\x73","\x67\x65\x74"];_0xf0ae[0];var should=require(_0xf0ae[1]);var app=require(_0xf0ae[2]);var request=require(_0xf0ae[3]);describe(_0xf0ae[4],function(){it(_0xf0ae[5],function(_0x6862x4){request(app)[_0xf0ae[13]](_0xf0ae[12])[_0xf0ae[11]](200)[_0xf0ae[11]](_0xf0ae[10],/json/)[_0xf0ae[9]](function(_0x6862x5,_0x6862x6){if(_0x6862x5){return _0x6862x4(_0x6862x5)};_0x6862x6[_0xf0ae[8]][_0xf0ae[1]][_0xf0ae[7]][_0xf0ae[6]](Array);_0x6862x4();})})});
\ No newline at end of file
index a1340f3..7339b48 100644 (file)
@@ -1 +1 @@
-var _0xac4c=["\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","\x2F","\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","\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"];_0xac4c[0];var express=require(_0xac4c[1]);var controller=require(_0xac4c[2]);var router=express.Router();router[_0xac4c[5]](_0xac4c[3],controller[_0xac4c[4]]);router[_0xac4c[5]](_0xac4c[6],controller[_0xac4c[7]]);router[_0xac4c[5]](_0xac4c[8],controller[_0xac4c[9]]);router[_0xac4c[11]](_0xac4c[3],controller[_0xac4c[10]]);router[_0xac4c[13]](_0xac4c[8],controller[_0xac4c[12]]);router[_0xac4c[14]](_0xac4c[8],controller[_0xac4c[12]]);router[_0xac4c[16]](_0xac4c[8],controller[_0xac4c[15]]);module[_0xac4c[17]]=router;
\ No newline at end of file
+var _0xe262=["\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","\x2F","\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","\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"];_0xe262[0];var express=require(_0xe262[1]);var controller=require(_0xe262[2]);var router=express.Router();router[_0xe262[5]](_0xe262[3],controller[_0xe262[4]]);router[_0xe262[5]](_0xe262[6],controller[_0xe262[7]]);router[_0xe262[5]](_0xe262[8],controller[_0xe262[9]]);router[_0xe262[11]](_0xe262[3],controller[_0xe262[10]]);router[_0xe262[13]](_0xe262[8],controller[_0xe262[12]]);router[_0xe262[14]](_0xe262[8],controller[_0xe262[12]]);router[_0xe262[16]](_0xe262[8],controller[_0xe262[15]]);module[_0xe262[17]]=router;
\ No newline at end of file
index 0fb0101..b410b46 100644 (file)
@@ -1 +1 @@
-var _0xcc06=["\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","\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","\x64\x65\x73\x63\x72\x69\x62\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","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79"];_0xcc06[0];var _=require(_0xcc06[1]);var ReportChatSession=require(_0xcc06[3])[_0xcc06[2]];exports[_0xcc06[4]]=function(_0x2e05x3,_0x2e05x4){ReportChatSession[_0xcc06[9]]()[_0xcc06[8]](function(_0x2e05x6){return _0x2e05x4[_0xcc06[7]](200)[_0xcc06[6]](_0x2e05x6)})[_0xcc06[5]](function(_0x2e05x5){return handleError(_0x2e05x4,_0x2e05x5)})};exports[_0xcc06[10]]=function(_0x2e05x3,_0x2e05x4){ReportChatSession[_0xcc06[10]]()[_0xcc06[8]](function(_0x2e05x7){return _0x2e05x4[_0xcc06[7]](200)[_0xcc06[6]](_0x2e05x7)})[_0xcc06[5]](function(_0x2e05x5){return handleError(_0x2e05x4,_0x2e05x5)})};exports[_0xcc06[11]]=function(_0x2e05x3,_0x2e05x4){ReportChatSession[_0xcc06[15]](_0x2e05x3[_0xcc06[14]][_0xcc06[13]])[_0xcc06[8]](function(_0x2e05x8){if(!_0x2e05x8){return _0x2e05x4[_0xcc06[12]](404)};return _0x2e05x4[_0xcc06[6]](_0x2e05x8);})[_0xcc06[5]](function(_0x2e05x5){return handleError(_0x2e05x4,_0x2e05x5)})};exports[_0xcc06[16]]=function(_0x2e05x3,_0x2e05x4){ReportChatSession[_0xcc06[16]](_0x2e05x3[_0xcc06[17]])[_0xcc06[8]](function(_0x2e05x8){return _0x2e05x4[_0xcc06[7]](201)[_0xcc06[6]](_0x2e05x8)})[_0xcc06[5]](function(_0x2e05x5){return handleError(_0x2e05x4,_0x2e05x5)})};exports[_0xcc06[18]]=function(_0x2e05x3,_0x2e05x4){if(_0x2e05x3[_0xcc06[17]][_0xcc06[13]]){delete _0x2e05x3[_0xcc06[17]][_0xcc06[13]]};ReportChatSession[_0xcc06[21]]({where:{id:_0x2e05x3[_0xcc06[14]][_0xcc06[13]]}})[_0xcc06[8]](function(_0x2e05x8){if(!_0x2e05x8){return _0x2e05x4[_0xcc06[12]](404)};var _0x2e05x9=_[_0xcc06[19]](_0x2e05x8,_0x2e05x3[_0xcc06[17]]);_0x2e05x9[_0xcc06[20]]()[_0xcc06[8]](function(){return _0x2e05x4[_0xcc06[7]](200)[_0xcc06[6]](_0x2e05x8)})[_0xcc06[5]](function(_0x2e05x5){return handleError(_0x2e05x4,_0x2e05x5)});})[_0xcc06[5]](function(_0x2e05x5){return handleError(_0x2e05x4,_0x2e05x5)});};exports[_0xcc06[22]]=function(_0x2e05x3,_0x2e05x4){ReportChatSession[_0xcc06[21]]({where:{id:_0x2e05x3[_0xcc06[14]][_0xcc06[13]]}})[_0xcc06[8]](function(_0x2e05x8){if(!_0x2e05x8){return _0x2e05x4[_0xcc06[12]](404)};_0x2e05x8[_0xcc06[22]]()[_0xcc06[8]](function(){return _0x2e05x4[_0xcc06[12]](204)})[_0xcc06[5]](function(_0x2e05x5){return handleError(_0x2e05x4,_0x2e05x5)});})[_0xcc06[5]](function(_0x2e05x5){return handleError(_0x2e05x4,_0x2e05x5)})};function handleError(_0x2e05x4,_0x2e05x5){return _0x2e05x4[_0xcc06[7]](500)[_0xcc06[6]](_0x2e05x5)}
\ No newline at end of file
+var _0x2562=["\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","\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","\x64\x65\x73\x63\x72\x69\x62\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","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79"];_0x2562[0];var _=require(_0x2562[1]);var ReportChatSession=require(_0x2562[3])[_0x2562[2]];exports[_0x2562[4]]=function(_0x5d4ex3,_0x5d4ex4){ReportChatSession[_0x2562[9]]()[_0x2562[8]](function(_0x5d4ex6){return _0x5d4ex4[_0x2562[7]](200)[_0x2562[6]](_0x5d4ex6)})[_0x2562[5]](function(_0x5d4ex5){return handleError(_0x5d4ex4,_0x5d4ex5)})};exports[_0x2562[10]]=function(_0x5d4ex3,_0x5d4ex4){ReportChatSession[_0x2562[10]]()[_0x2562[8]](function(_0x5d4ex7){return _0x5d4ex4[_0x2562[7]](200)[_0x2562[6]](_0x5d4ex7)})[_0x2562[5]](function(_0x5d4ex5){return handleError(_0x5d4ex4,_0x5d4ex5)})};exports[_0x2562[11]]=function(_0x5d4ex3,_0x5d4ex4){ReportChatSession[_0x2562[15]](_0x5d4ex3[_0x2562[14]][_0x2562[13]])[_0x2562[8]](function(_0x5d4ex8){if(!_0x5d4ex8){return _0x5d4ex4[_0x2562[12]](404)};return _0x5d4ex4[_0x2562[6]](_0x5d4ex8);})[_0x2562[5]](function(_0x5d4ex5){return handleError(_0x5d4ex4,_0x5d4ex5)})};exports[_0x2562[16]]=function(_0x5d4ex3,_0x5d4ex4){ReportChatSession[_0x2562[16]](_0x5d4ex3[_0x2562[17]])[_0x2562[8]](function(_0x5d4ex8){return _0x5d4ex4[_0x2562[7]](201)[_0x2562[6]](_0x5d4ex8)})[_0x2562[5]](function(_0x5d4ex5){return handleError(_0x5d4ex4,_0x5d4ex5)})};exports[_0x2562[18]]=function(_0x5d4ex3,_0x5d4ex4){if(_0x5d4ex3[_0x2562[17]][_0x2562[13]]){delete _0x5d4ex3[_0x2562[17]][_0x2562[13]]};ReportChatSession[_0x2562[21]]({where:{id:_0x5d4ex3[_0x2562[14]][_0x2562[13]]}})[_0x2562[8]](function(_0x5d4ex8){if(!_0x5d4ex8){return _0x5d4ex4[_0x2562[12]](404)};var _0x5d4ex9=_[_0x2562[19]](_0x5d4ex8,_0x5d4ex3[_0x2562[17]]);_0x5d4ex9[_0x2562[20]]()[_0x2562[8]](function(){return _0x5d4ex4[_0x2562[7]](200)[_0x2562[6]](_0x5d4ex8)})[_0x2562[5]](function(_0x5d4ex5){return handleError(_0x5d4ex4,_0x5d4ex5)});})[_0x2562[5]](function(_0x5d4ex5){return handleError(_0x5d4ex4,_0x5d4ex5)});};exports[_0x2562[22]]=function(_0x5d4ex3,_0x5d4ex4){ReportChatSession[_0x2562[21]]({where:{id:_0x5d4ex3[_0x2562[14]][_0x2562[13]]}})[_0x2562[8]](function(_0x5d4ex8){if(!_0x5d4ex8){return _0x5d4ex4[_0x2562[12]](404)};_0x5d4ex8[_0x2562[22]]()[_0x2562[8]](function(){return _0x5d4ex4[_0x2562[12]](204)})[_0x2562[5]](function(_0x5d4ex5){return handleError(_0x5d4ex4,_0x5d4ex5)});})[_0x2562[5]](function(_0x5d4ex5){return handleError(_0x5d4ex4,_0x5d4ex5)})};function handleError(_0x5d4ex4,_0x5d4ex5){return _0x5d4ex4[_0x2562[7]](500)[_0x2562[6]](_0x5d4ex5)}
\ No newline at end of file
index 6ba0a8b..469ebd0 100644 (file)
@@ -1 +1 @@
-var _0xd442=["\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","\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\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\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"];_0xd442[0];var ReportChatSession=require(_0xd442[2])[_0xd442[1]];exports[_0xd442[3]]=function(_0x5bacx2){ReportChatSession[_0xd442[4]](function(_0x5bacx3){onSave(_0x5bacx2,_0x5bacx3)});ReportChatSession[_0xd442[5]](function(_0x5bacx3){onSave(_0x5bacx2,_0x5bacx3)});ReportChatSession[_0xd442[6]](function(_0x5bacx3){onRemove(_0x5bacx2,_0x5bacx3)});};function onSave(_0x5bacx2,_0x5bacx3,_0x5bacx5){_0x5bacx2[_0xd442[8]](_0xd442[7],_0x5bacx3)}function onRemove(_0x5bacx2,_0x5bacx3,_0x5bacx5){_0x5bacx2[_0xd442[8]](_0xd442[9],_0x5bacx3)}
\ No newline at end of file
+var _0xdd2f=["\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","\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\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\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"];_0xdd2f[0];var ReportChatSession=require(_0xdd2f[2])[_0xdd2f[1]];exports[_0xdd2f[3]]=function(_0xc65fx2){ReportChatSession[_0xdd2f[4]](function(_0xc65fx3){onSave(_0xc65fx2,_0xc65fx3)});ReportChatSession[_0xdd2f[5]](function(_0xc65fx3){onSave(_0xc65fx2,_0xc65fx3)});ReportChatSession[_0xdd2f[6]](function(_0xc65fx3){onRemove(_0xc65fx2,_0xc65fx3)});};function onSave(_0xc65fx2,_0xc65fx3,_0xc65fx5){_0xc65fx2[_0xdd2f[8]](_0xdd2f[7],_0xc65fx3)}function onRemove(_0xc65fx2,_0xc65fx3,_0xc65fx5){_0xc65fx2[_0xdd2f[8]](_0xdd2f[9],_0xc65fx3)}
\ No newline at end of file
index 54046f3..9ad94c9 100644 (file)
@@ -1 +1 @@
-var _0x6a57=["\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\x72\x65\x70\x6F\x72\x74\x2F\x63\x68\x61\x74\x2F\x73\x65\x73\x73\x69\x6F\x6E\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\x72\x65\x70\x6F\x72\x74\x2F\x63\x68\x61\x74\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73","\x67\x65\x74"];_0x6a57[0];var should=require(_0x6a57[1]);var app=require(_0x6a57[2]);var request=require(_0x6a57[3]);describe(_0x6a57[4],function(){it(_0x6a57[5],function(_0xd8c5x4){request(app)[_0x6a57[13]](_0x6a57[12])[_0x6a57[11]](200)[_0x6a57[11]](_0x6a57[10],/json/)[_0x6a57[9]](function(_0xd8c5x5,_0xd8c5x6){if(_0xd8c5x5){return _0xd8c5x4(_0xd8c5x5)};_0xd8c5x6[_0x6a57[8]][_0x6a57[1]][_0x6a57[7]][_0x6a57[6]](Array);_0xd8c5x4();})})});
\ No newline at end of file
+var _0xf2e6=["\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\x72\x65\x70\x6F\x72\x74\x2F\x63\x68\x61\x74\x2F\x73\x65\x73\x73\x69\x6F\x6E\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\x72\x65\x70\x6F\x72\x74\x2F\x63\x68\x61\x74\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73","\x67\x65\x74"];_0xf2e6[0];var should=require(_0xf2e6[1]);var app=require(_0xf2e6[2]);var request=require(_0xf2e6[3]);describe(_0xf2e6[4],function(){it(_0xf2e6[5],function(_0x69e5x4){request(app)[_0xf2e6[13]](_0xf2e6[12])[_0xf2e6[11]](200)[_0xf2e6[11]](_0xf2e6[10],/json/)[_0xf2e6[9]](function(_0x69e5x5,_0x69e5x6){if(_0x69e5x5){return _0x69e5x4(_0x69e5x5)};_0x69e5x6[_0xf2e6[8]][_0xf2e6[1]][_0xf2e6[7]][_0xf2e6[6]](Array);_0x69e5x4();})})});
\ No newline at end of file
index f44581d..bd87934 100644 (file)
@@ -1 +1 @@
-var _0xedc3=["\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","\x2F","\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","\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"];_0xedc3[0];var express=require(_0xedc3[1]);var controller=require(_0xedc3[2]);var router=express.Router();router[_0xedc3[5]](_0xedc3[3],controller[_0xedc3[4]]);router[_0xedc3[5]](_0xedc3[6],controller[_0xedc3[7]]);router[_0xedc3[5]](_0xedc3[8],controller[_0xedc3[9]]);router[_0xedc3[11]](_0xedc3[3],controller[_0xedc3[10]]);router[_0xedc3[13]](_0xedc3[8],controller[_0xedc3[12]]);router[_0xedc3[14]](_0xedc3[8],controller[_0xedc3[12]]);router[_0xedc3[16]](_0xedc3[8],controller[_0xedc3[15]]);module[_0xedc3[17]]=router;
\ No newline at end of file
+var _0x58a7=["\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","\x2F","\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","\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"];_0x58a7[0];var express=require(_0x58a7[1]);var controller=require(_0x58a7[2]);var router=express.Router();router[_0x58a7[5]](_0x58a7[3],controller[_0x58a7[4]]);router[_0x58a7[5]](_0x58a7[6],controller[_0x58a7[7]]);router[_0x58a7[5]](_0x58a7[8],controller[_0x58a7[9]]);router[_0x58a7[11]](_0x58a7[3],controller[_0x58a7[10]]);router[_0x58a7[13]](_0x58a7[8],controller[_0x58a7[12]]);router[_0x58a7[14]](_0x58a7[8],controller[_0x58a7[12]]);router[_0x58a7[16]](_0x58a7[8],controller[_0x58a7[15]]);module[_0x58a7[17]]=router;
\ No newline at end of file
index 4febe06..8112b44 100644 (file)
@@ -1 +1 @@
-var _0x4388=["\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","\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","\x64\x65\x73\x63\x72\x69\x62\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","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x4388[0];var _=require(_0x4388[1]);var ReportIntegration=require(_0x4388[3])[_0x4388[2]];exports[_0x4388[4]]=function(_0xcd36x3,_0xcd36x4){ReportIntegration[_0x4388[9]]()[_0x4388[8]](function(_0xcd36x6){return _0xcd36x4[_0x4388[7]](200)[_0x4388[6]](_0xcd36x6)})[_0x4388[5]](function(_0xcd36x5){return handleError(_0xcd36x4,_0xcd36x5)})};exports[_0x4388[10]]=function(_0xcd36x3,_0xcd36x4){ReportIntegration[_0x4388[10]]()[_0x4388[8]](function(_0xcd36x7){return _0xcd36x4[_0x4388[7]](200)[_0x4388[6]](_0xcd36x7)})[_0x4388[5]](function(_0xcd36x5){return handleError(_0xcd36x4,_0xcd36x5)})};exports[_0x4388[11]]=function(_0xcd36x3,_0xcd36x4){ReportIntegration[_0x4388[15]](_0xcd36x3[_0x4388[14]][_0x4388[13]])[_0x4388[8]](function(_0xcd36x8){if(!_0xcd36x8){return _0xcd36x4[_0x4388[12]](404)};return _0xcd36x4[_0x4388[6]](_0xcd36x8);})[_0x4388[5]](function(_0xcd36x5){return handleError(_0xcd36x4,_0xcd36x5)})};exports[_0x4388[16]]=function(_0xcd36x3,_0xcd36x4){ReportIntegration[_0x4388[16]](_0xcd36x3[_0x4388[17]])[_0x4388[8]](function(_0xcd36x8){return _0xcd36x4[_0x4388[7]](201)[_0x4388[6]](_0xcd36x8)})[_0x4388[5]](function(_0xcd36x5){return handleError(_0xcd36x4,_0xcd36x5)})};exports[_0x4388[18]]=function(_0xcd36x3,_0xcd36x4){if(_0xcd36x3[_0x4388[17]][_0x4388[13]]){delete _0xcd36x3[_0x4388[17]][_0x4388[13]]};ReportIntegration[_0x4388[15]](_0xcd36x3[_0x4388[14]][_0x4388[13]])[_0x4388[8]](function(_0xcd36x8){if(!_0xcd36x8){return _0xcd36x4[_0x4388[12]](404)};var _0xcd36x9=_[_0x4388[19]](_0xcd36x8,_0xcd36x3[_0x4388[17]]);_0xcd36x9[_0x4388[20]]()[_0x4388[8]](function(){return _0xcd36x4[_0x4388[7]](200)[_0x4388[6]](_0xcd36x8)})[_0x4388[5]](function(_0xcd36x5){return handleError(_0xcd36x4,_0xcd36x5)});})[_0x4388[5]](function(_0xcd36x5){return handleError(_0xcd36x4,_0xcd36x5)});};exports[_0x4388[21]]=function(_0xcd36x3,_0xcd36x4){ReportIntegration[_0x4388[15]](_0xcd36x3[_0x4388[14]][_0x4388[13]])[_0x4388[8]](function(_0xcd36x8){if(!_0xcd36x8){return _0xcd36x4[_0x4388[12]](404)};_0xcd36x8[_0x4388[21]]()[_0x4388[8]](function(){return _0xcd36x4[_0x4388[12]](204)})[_0x4388[5]](function(_0xcd36x5){return handleError(_0xcd36x4,_0xcd36x5)});})[_0x4388[5]](function(_0xcd36x5){return handleError(_0xcd36x4,_0xcd36x5)})};function handleError(_0xcd36x4,_0xcd36x5){return _0xcd36x4[_0x4388[7]](500)[_0x4388[6]](_0xcd36x5)}
\ No newline at end of file
+var _0x73f4=["\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","\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","\x64\x65\x73\x63\x72\x69\x62\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","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x73f4[0];var _=require(_0x73f4[1]);var ReportIntegration=require(_0x73f4[3])[_0x73f4[2]];exports[_0x73f4[4]]=function(_0x836ex3,_0x836ex4){ReportIntegration[_0x73f4[9]]()[_0x73f4[8]](function(_0x836ex6){return _0x836ex4[_0x73f4[7]](200)[_0x73f4[6]](_0x836ex6)})[_0x73f4[5]](function(_0x836ex5){return handleError(_0x836ex4,_0x836ex5)})};exports[_0x73f4[10]]=function(_0x836ex3,_0x836ex4){ReportIntegration[_0x73f4[10]]()[_0x73f4[8]](function(_0x836ex7){return _0x836ex4[_0x73f4[7]](200)[_0x73f4[6]](_0x836ex7)})[_0x73f4[5]](function(_0x836ex5){return handleError(_0x836ex4,_0x836ex5)})};exports[_0x73f4[11]]=function(_0x836ex3,_0x836ex4){ReportIntegration[_0x73f4[15]](_0x836ex3[_0x73f4[14]][_0x73f4[13]])[_0x73f4[8]](function(_0x836ex8){if(!_0x836ex8){return _0x836ex4[_0x73f4[12]](404)};return _0x836ex4[_0x73f4[6]](_0x836ex8);})[_0x73f4[5]](function(_0x836ex5){return handleError(_0x836ex4,_0x836ex5)})};exports[_0x73f4[16]]=function(_0x836ex3,_0x836ex4){ReportIntegration[_0x73f4[16]](_0x836ex3[_0x73f4[17]])[_0x73f4[8]](function(_0x836ex8){return _0x836ex4[_0x73f4[7]](201)[_0x73f4[6]](_0x836ex8)})[_0x73f4[5]](function(_0x836ex5){return handleError(_0x836ex4,_0x836ex5)})};exports[_0x73f4[18]]=function(_0x836ex3,_0x836ex4){if(_0x836ex3[_0x73f4[17]][_0x73f4[13]]){delete _0x836ex3[_0x73f4[17]][_0x73f4[13]]};ReportIntegration[_0x73f4[15]](_0x836ex3[_0x73f4[14]][_0x73f4[13]])[_0x73f4[8]](function(_0x836ex8){if(!_0x836ex8){return _0x836ex4[_0x73f4[12]](404)};var _0x836ex9=_[_0x73f4[19]](_0x836ex8,_0x836ex3[_0x73f4[17]]);_0x836ex9[_0x73f4[20]]()[_0x73f4[8]](function(){return _0x836ex4[_0x73f4[7]](200)[_0x73f4[6]](_0x836ex8)})[_0x73f4[5]](function(_0x836ex5){return handleError(_0x836ex4,_0x836ex5)});})[_0x73f4[5]](function(_0x836ex5){return handleError(_0x836ex4,_0x836ex5)});};exports[_0x73f4[21]]=function(_0x836ex3,_0x836ex4){ReportIntegration[_0x73f4[15]](_0x836ex3[_0x73f4[14]][_0x73f4[13]])[_0x73f4[8]](function(_0x836ex8){if(!_0x836ex8){return _0x836ex4[_0x73f4[12]](404)};_0x836ex8[_0x73f4[21]]()[_0x73f4[8]](function(){return _0x836ex4[_0x73f4[12]](204)})[_0x73f4[5]](function(_0x836ex5){return handleError(_0x836ex4,_0x836ex5)});})[_0x73f4[5]](function(_0x836ex5){return handleError(_0x836ex4,_0x836ex5)})};function handleError(_0x836ex4,_0x836ex5){return _0x836ex4[_0x73f4[7]](500)[_0x73f4[6]](_0x836ex5)}
\ No newline at end of file
index d9b2283..b52d922 100644 (file)
@@ -1 +1 @@
-var _0x835d=["\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","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\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"];_0x835d[0];var util=require(_0x835d[1]);var ReportIntegration=require(_0x835d[3])[_0x835d[2]];exports[_0x835d[4]]=function(_0x689ex3){ReportIntegration[_0x835d[5]](function(_0x689ex4){onSave(_0x689ex3,_0x689ex4)})};function onSave(_0x689ex3,_0x689ex4,_0x689ex6){if(_0x689ex3[_0x835d[6]]===_0x689ex4[_0x835d[7]]){_0x689ex3[_0x835d[11]](util[_0x835d[10]](_0x835d[8],_0x689ex4[_0x835d[9]]),_0x689ex4)}}
\ No newline at end of file
+var _0x4f85=["\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","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\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"];_0x4f85[0];var util=require(_0x4f85[1]);var ReportIntegration=require(_0x4f85[3])[_0x4f85[2]];exports[_0x4f85[4]]=function(_0xcd02x3){ReportIntegration[_0x4f85[5]](function(_0xcd02x4){onSave(_0xcd02x3,_0xcd02x4)})};function onSave(_0xcd02x3,_0xcd02x4,_0xcd02x6){if(_0xcd02x3[_0x4f85[6]]===_0xcd02x4[_0x4f85[7]]){_0xcd02x3[_0x4f85[11]](util[_0x4f85[10]](_0x4f85[8],_0xcd02x4[_0x4f85[9]]),_0xcd02x4)}}
\ No newline at end of file
index 7ddaf58..c0895b8 100644 (file)
@@ -1 +1 @@
-var _0x3e1c=["\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","\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"];_0x3e1c[0];var express=require(_0x3e1c[1]);var controller=require(_0x3e1c[2]);var router=express.Router();router[_0x3e1c[5]](_0x3e1c[3],controller[_0x3e1c[4]]);router[_0x3e1c[5]](_0x3e1c[6],controller[_0x3e1c[7]]);router[_0x3e1c[9]](_0x3e1c[3],controller[_0x3e1c[8]]);router[_0x3e1c[11]](_0x3e1c[6],controller[_0x3e1c[10]]);router[_0x3e1c[12]](_0x3e1c[6],controller[_0x3e1c[10]]);router[_0x3e1c[14]](_0x3e1c[6],controller[_0x3e1c[13]]);module[_0x3e1c[15]]=router;
\ No newline at end of file
+var _0x540d=["\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","\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"];_0x540d[0];var express=require(_0x540d[1]);var controller=require(_0x540d[2]);var router=express.Router();router[_0x540d[5]](_0x540d[3],controller[_0x540d[4]]);router[_0x540d[5]](_0x540d[6],controller[_0x540d[7]]);router[_0x540d[9]](_0x540d[3],controller[_0x540d[8]]);router[_0x540d[11]](_0x540d[6],controller[_0x540d[10]]);router[_0x540d[12]](_0x540d[6],controller[_0x540d[10]]);router[_0x540d[14]](_0x540d[6],controller[_0x540d[13]]);module[_0x540d[15]]=router;
\ No newline at end of file
index babf965..025d73b 100644 (file)
@@ -1 +1 @@
-var _0xa97c=["\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","\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"];_0xa97c[0];var _=require(_0xa97c[1]);var ReportMail=require(_0xa97c[3])[_0xa97c[2]];exports[_0xa97c[4]]=function(_0x5350x3,_0x5350x4){ReportMail[_0xa97c[9]]()[_0xa97c[8]](function(_0x5350x6){return _0x5350x4[_0xa97c[7]](200)[_0xa97c[6]](_0x5350x6)})[_0xa97c[5]](function(_0x5350x5){return handleError(_0x5350x4,_0x5350x5)})};exports[_0xa97c[10]]=function(_0x5350x3,_0x5350x4){ReportMail[_0xa97c[14]](_0x5350x3[_0xa97c[13]][_0xa97c[12]])[_0xa97c[8]](function(_0x5350x7){if(!_0x5350x7){return _0x5350x4[_0xa97c[11]](404)};return _0x5350x4[_0xa97c[6]](_0x5350x7);})[_0xa97c[5]](function(_0x5350x5){return handleError(_0x5350x4,_0x5350x5)})};exports[_0xa97c[15]]=function(_0x5350x3,_0x5350x4){ReportMail[_0xa97c[15]](_0x5350x3[_0xa97c[16]])[_0xa97c[8]](function(_0x5350x7){return _0x5350x4[_0xa97c[7]](201)[_0xa97c[6]](_0x5350x7)})[_0xa97c[5]](function(_0x5350x5){return handleError(_0x5350x4,_0x5350x5)})};exports[_0xa97c[17]]=function(_0x5350x3,_0x5350x4){if(_0x5350x3[_0xa97c[16]][_0xa97c[12]]){delete _0x5350x3[_0xa97c[16]][_0xa97c[12]]};ReportMail[_0xa97c[14]](_0x5350x3[_0xa97c[13]][_0xa97c[12]])[_0xa97c[8]](function(_0x5350x7){if(!_0x5350x7){return _0x5350x4[_0xa97c[11]](404)};var _0x5350x8=_[_0xa97c[18]](_0x5350x7,_0x5350x3[_0xa97c[16]]);_0x5350x8[_0xa97c[19]]()[_0xa97c[8]](function(){return _0x5350x4[_0xa97c[7]](200)[_0xa97c[6]](_0x5350x7)})[_0xa97c[5]](function(_0x5350x5){return handleError(_0x5350x4,_0x5350x5)});})[_0xa97c[5]](function(_0x5350x5){return handleError(_0x5350x4,_0x5350x5)});};exports[_0xa97c[20]]=function(_0x5350x3,_0x5350x4){ReportMail[_0xa97c[14]](_0x5350x3[_0xa97c[13]][_0xa97c[12]])[_0xa97c[8]](function(_0x5350x7){if(!_0x5350x7){return _0x5350x4[_0xa97c[11]](404)};_0x5350x7[_0xa97c[20]]()[_0xa97c[8]](function(){return _0x5350x4[_0xa97c[11]](204)})[_0xa97c[5]](function(_0x5350x5){return handleError(_0x5350x4,_0x5350x5)});})[_0xa97c[5]](function(_0x5350x5){return handleError(_0x5350x4,_0x5350x5)})};function handleError(_0x5350x4,_0x5350x5){return _0x5350x4[_0xa97c[7]](500)[_0xa97c[6]](_0x5350x5)}
\ No newline at end of file
+var _0xdba0=["\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","\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"];_0xdba0[0];var _=require(_0xdba0[1]);var ReportMail=require(_0xdba0[3])[_0xdba0[2]];exports[_0xdba0[4]]=function(_0x6904x3,_0x6904x4){ReportMail[_0xdba0[9]]()[_0xdba0[8]](function(_0x6904x6){return _0x6904x4[_0xdba0[7]](200)[_0xdba0[6]](_0x6904x6)})[_0xdba0[5]](function(_0x6904x5){return handleError(_0x6904x4,_0x6904x5)})};exports[_0xdba0[10]]=function(_0x6904x3,_0x6904x4){ReportMail[_0xdba0[14]](_0x6904x3[_0xdba0[13]][_0xdba0[12]])[_0xdba0[8]](function(_0x6904x7){if(!_0x6904x7){return _0x6904x4[_0xdba0[11]](404)};return _0x6904x4[_0xdba0[6]](_0x6904x7);})[_0xdba0[5]](function(_0x6904x5){return handleError(_0x6904x4,_0x6904x5)})};exports[_0xdba0[15]]=function(_0x6904x3,_0x6904x4){ReportMail[_0xdba0[15]](_0x6904x3[_0xdba0[16]])[_0xdba0[8]](function(_0x6904x7){return _0x6904x4[_0xdba0[7]](201)[_0xdba0[6]](_0x6904x7)})[_0xdba0[5]](function(_0x6904x5){return handleError(_0x6904x4,_0x6904x5)})};exports[_0xdba0[17]]=function(_0x6904x3,_0x6904x4){if(_0x6904x3[_0xdba0[16]][_0xdba0[12]]){delete _0x6904x3[_0xdba0[16]][_0xdba0[12]]};ReportMail[_0xdba0[14]](_0x6904x3[_0xdba0[13]][_0xdba0[12]])[_0xdba0[8]](function(_0x6904x7){if(!_0x6904x7){return _0x6904x4[_0xdba0[11]](404)};var _0x6904x8=_[_0xdba0[18]](_0x6904x7,_0x6904x3[_0xdba0[16]]);_0x6904x8[_0xdba0[19]]()[_0xdba0[8]](function(){return _0x6904x4[_0xdba0[7]](200)[_0xdba0[6]](_0x6904x7)})[_0xdba0[5]](function(_0x6904x5){return handleError(_0x6904x4,_0x6904x5)});})[_0xdba0[5]](function(_0x6904x5){return handleError(_0x6904x4,_0x6904x5)});};exports[_0xdba0[20]]=function(_0x6904x3,_0x6904x4){ReportMail[_0xdba0[14]](_0x6904x3[_0xdba0[13]][_0xdba0[12]])[_0xdba0[8]](function(_0x6904x7){if(!_0x6904x7){return _0x6904x4[_0xdba0[11]](404)};_0x6904x7[_0xdba0[20]]()[_0xdba0[8]](function(){return _0x6904x4[_0xdba0[11]](204)})[_0xdba0[5]](function(_0x6904x5){return handleError(_0x6904x4,_0x6904x5)});})[_0xdba0[5]](function(_0x6904x5){return handleError(_0x6904x4,_0x6904x5)})};function handleError(_0x6904x4,_0x6904x5){return _0x6904x4[_0xdba0[7]](500)[_0xdba0[6]](_0x6904x5)}
\ No newline at end of file
index 9914a1f..23f8c31 100644 (file)
@@ -1 +1 @@
-var _0x9d49=["\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"];_0x9d49[0];var ReportMail=require(_0x9d49[2])[_0x9d49[1]];exports[_0x9d49[3]]=function(_0x9492x2){ReportMail[_0x9d49[4]](function(_0x9492x3){onSave(_0x9492x2,_0x9492x3)});ReportMail[_0x9d49[5]](function(_0x9492x3){onUpdate(_0x9492x2,_0x9492x3)});ReportMail[_0x9d49[6]](function(_0x9492x3){onRemove(_0x9492x2,_0x9492x3)});};function onSave(_0x9492x2,_0x9492x3,_0x9492x5){if(_0x9492x2[_0x9d49[7]]===_0x9492x3[_0x9d49[8]]||_0x9492x2[_0x9d49[9]]===_0x9d49[10]){_0x9492x2[_0x9d49[12]](_0x9d49[11],_0x9492x3)}}function onUpdate(_0x9492x2,_0x9492x3,_0x9492x5){if(_0x9492x2[_0x9d49[7]]===_0x9492x3[_0x9d49[8]]||_0x9492x2[_0x9d49[9]]===_0x9d49[10]){_0x9492x2[_0x9d49[12]](_0x9d49[13],_0x9492x3)}}function onRemove(_0x9492x2,_0x9492x3,_0x9492x5){_0x9492x2[_0x9d49[12]](_0x9d49[14],_0x9492x3)}
\ No newline at end of file
+var _0xf56b=["\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"];_0xf56b[0];var ReportMail=require(_0xf56b[2])[_0xf56b[1]];exports[_0xf56b[3]]=function(_0x4ce3x2){ReportMail[_0xf56b[4]](function(_0x4ce3x3){onSave(_0x4ce3x2,_0x4ce3x3)});ReportMail[_0xf56b[5]](function(_0x4ce3x3){onUpdate(_0x4ce3x2,_0x4ce3x3)});ReportMail[_0xf56b[6]](function(_0x4ce3x3){onRemove(_0x4ce3x2,_0x4ce3x3)});};function onSave(_0x4ce3x2,_0x4ce3x3,_0x4ce3x5){if(_0x4ce3x2[_0xf56b[7]]===_0x4ce3x3[_0xf56b[8]]||_0x4ce3x2[_0xf56b[9]]===_0xf56b[10]){_0x4ce3x2[_0xf56b[12]](_0xf56b[11],_0x4ce3x3)}}function onUpdate(_0x4ce3x2,_0x4ce3x3,_0x4ce3x5){if(_0x4ce3x2[_0xf56b[7]]===_0x4ce3x3[_0xf56b[8]]||_0x4ce3x2[_0xf56b[9]]===_0xf56b[10]){_0x4ce3x2[_0xf56b[12]](_0xf56b[13],_0x4ce3x3)}}function onRemove(_0x4ce3x2,_0x4ce3x3,_0x4ce3x5){_0x4ce3x2[_0xf56b[12]](_0xf56b[14],_0x4ce3x3)}
\ No newline at end of file
index bc74a20..f139465 100644 (file)
@@ -1 +1 @@
-var _0x4b91=["\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\x72\x65\x70\x6F\x72\x74\x2F\x6D\x61\x69\x6C\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\x72\x65\x70\x6F\x72\x74\x2F\x6D\x61\x69\x6C\x73","\x67\x65\x74"];_0x4b91[0];var should=require(_0x4b91[1]);var app=require(_0x4b91[2]);var request=require(_0x4b91[3]);describe(_0x4b91[4],function(){it(_0x4b91[5],function(_0x22fdx4){request(app)[_0x4b91[13]](_0x4b91[12])[_0x4b91[11]](200)[_0x4b91[11]](_0x4b91[10],/json/)[_0x4b91[9]](function(_0x22fdx5,_0x22fdx6){if(_0x22fdx5){return _0x22fdx4(_0x22fdx5)};_0x22fdx6[_0x4b91[8]][_0x4b91[1]][_0x4b91[7]][_0x4b91[6]](Array);_0x22fdx4();})})});
\ No newline at end of file
+var _0x40d9=["\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\x72\x65\x70\x6F\x72\x74\x2F\x6D\x61\x69\x6C\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\x72\x65\x70\x6F\x72\x74\x2F\x6D\x61\x69\x6C\x73","\x67\x65\x74"];_0x40d9[0];var should=require(_0x40d9[1]);var app=require(_0x40d9[2]);var request=require(_0x40d9[3]);describe(_0x40d9[4],function(){it(_0x40d9[5],function(_0x8bb7x4){request(app)[_0x40d9[13]](_0x40d9[12])[_0x40d9[11]](200)[_0x40d9[11]](_0x40d9[10],/json/)[_0x40d9[9]](function(_0x8bb7x5,_0x8bb7x6){if(_0x8bb7x5){return _0x8bb7x4(_0x8bb7x5)};_0x8bb7x6[_0x40d9[8]][_0x40d9[1]][_0x40d9[7]][_0x40d9[6]](Array);_0x8bb7x4();})})});
\ No newline at end of file
index b793261..408bfa8 100644 (file)
@@ -1 +1 @@
-var _0x128e=["\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","\x2F","\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","\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"];_0x128e[0];var express=require(_0x128e[1]);var controller=require(_0x128e[2]);var router=express.Router();router[_0x128e[5]](_0x128e[3],controller[_0x128e[4]]);router[_0x128e[5]](_0x128e[6],controller[_0x128e[7]]);router[_0x128e[5]](_0x128e[8],controller[_0x128e[9]]);router[_0x128e[11]](_0x128e[3],controller[_0x128e[10]]);router[_0x128e[13]](_0x128e[8],controller[_0x128e[12]]);router[_0x128e[14]](_0x128e[8],controller[_0x128e[12]]);router[_0x128e[16]](_0x128e[8],controller[_0x128e[15]]);module[_0x128e[17]]=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\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","\x2F","\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","\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"];_0x7105[0];var express=require(_0x7105[1]);var controller=require(_0x7105[2]);var router=express.Router();router[_0x7105[5]](_0x7105[3],controller[_0x7105[4]]);router[_0x7105[5]](_0x7105[6],controller[_0x7105[7]]);router[_0x7105[5]](_0x7105[8],controller[_0x7105[9]]);router[_0x7105[11]](_0x7105[3],controller[_0x7105[10]]);router[_0x7105[13]](_0x7105[8],controller[_0x7105[12]]);router[_0x7105[14]](_0x7105[8],controller[_0x7105[12]]);router[_0x7105[16]](_0x7105[8],controller[_0x7105[15]]);module[_0x7105[17]]=router;
\ No newline at end of file
index b47f4c1..ce32c8c 100644 (file)
@@ -1 +1 @@
-var _0x87a5=["\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","\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","\x64\x65\x73\x63\x72\x69\x62\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","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79"];_0x87a5[0];var _=require(_0x87a5[1]);var ReportMailSession=require(_0x87a5[3])[_0x87a5[2]];exports[_0x87a5[4]]=function(_0xe670x3,_0xe670x4){ReportMailSession[_0x87a5[9]]()[_0x87a5[8]](function(_0xe670x6){return _0xe670x4[_0x87a5[7]](200)[_0x87a5[6]](_0xe670x6)})[_0x87a5[5]](function(_0xe670x5){return handleError(_0xe670x4,_0xe670x5)})};exports[_0x87a5[10]]=function(_0xe670x3,_0xe670x4){ReportMailSession[_0x87a5[10]]()[_0x87a5[8]](function(_0xe670x7){return _0xe670x4[_0x87a5[7]](200)[_0x87a5[6]](_0xe670x7)})[_0x87a5[5]](function(_0xe670x5){return handleError(_0xe670x4,_0xe670x5)})};exports[_0x87a5[11]]=function(_0xe670x3,_0xe670x4){ReportMailSession[_0x87a5[15]](_0xe670x3[_0x87a5[14]][_0x87a5[13]])[_0x87a5[8]](function(_0xe670x8){if(!_0xe670x8){return _0xe670x4[_0x87a5[12]](404)};return _0xe670x4[_0x87a5[6]](_0xe670x8);})[_0x87a5[5]](function(_0xe670x5){return handleError(_0xe670x4,_0xe670x5)})};exports[_0x87a5[16]]=function(_0xe670x3,_0xe670x4){ReportMailSession[_0x87a5[16]](_0xe670x3[_0x87a5[17]])[_0x87a5[8]](function(_0xe670x8){return _0xe670x4[_0x87a5[7]](201)[_0x87a5[6]](_0xe670x8)})[_0x87a5[5]](function(_0xe670x5){return handleError(_0xe670x4,_0xe670x5)})};exports[_0x87a5[18]]=function(_0xe670x3,_0xe670x4){if(_0xe670x3[_0x87a5[17]][_0x87a5[13]]){delete _0xe670x3[_0x87a5[17]][_0x87a5[13]]};ReportMailSession[_0x87a5[21]]({where:{id:_0xe670x3[_0x87a5[14]][_0x87a5[13]]}})[_0x87a5[8]](function(_0xe670x8){if(!_0xe670x8){return _0xe670x4[_0x87a5[12]](404)};var _0xe670x9=_[_0x87a5[19]](_0xe670x8,_0xe670x3[_0x87a5[17]]);_0xe670x9[_0x87a5[20]]()[_0x87a5[8]](function(){return _0xe670x4[_0x87a5[7]](200)[_0x87a5[6]](_0xe670x8)})[_0x87a5[5]](function(_0xe670x5){return handleError(_0xe670x4,_0xe670x5)});})[_0x87a5[5]](function(_0xe670x5){return handleError(_0xe670x4,_0xe670x5)});};exports[_0x87a5[22]]=function(_0xe670x3,_0xe670x4){ReportMailSession[_0x87a5[21]]({where:{id:_0xe670x3[_0x87a5[14]][_0x87a5[13]]}})[_0x87a5[8]](function(_0xe670x8){if(!_0xe670x8){return _0xe670x4[_0x87a5[12]](404)};_0xe670x8[_0x87a5[22]]()[_0x87a5[8]](function(){return _0xe670x4[_0x87a5[12]](204)})[_0x87a5[5]](function(_0xe670x5){return handleError(_0xe670x4,_0xe670x5)});})[_0x87a5[5]](function(_0xe670x5){return handleError(_0xe670x4,_0xe670x5)})};function handleError(_0xe670x4,_0xe670x5){return _0xe670x4[_0x87a5[7]](500)[_0x87a5[6]](_0xe670x5)}
\ No newline at end of file
+var _0x9654=["\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","\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","\x64\x65\x73\x63\x72\x69\x62\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","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79"];_0x9654[0];var _=require(_0x9654[1]);var ReportMailSession=require(_0x9654[3])[_0x9654[2]];exports[_0x9654[4]]=function(_0xebcdx3,_0xebcdx4){ReportMailSession[_0x9654[9]]()[_0x9654[8]](function(_0xebcdx6){return _0xebcdx4[_0x9654[7]](200)[_0x9654[6]](_0xebcdx6)})[_0x9654[5]](function(_0xebcdx5){return handleError(_0xebcdx4,_0xebcdx5)})};exports[_0x9654[10]]=function(_0xebcdx3,_0xebcdx4){ReportMailSession[_0x9654[10]]()[_0x9654[8]](function(_0xebcdx7){return _0xebcdx4[_0x9654[7]](200)[_0x9654[6]](_0xebcdx7)})[_0x9654[5]](function(_0xebcdx5){return handleError(_0xebcdx4,_0xebcdx5)})};exports[_0x9654[11]]=function(_0xebcdx3,_0xebcdx4){ReportMailSession[_0x9654[15]](_0xebcdx3[_0x9654[14]][_0x9654[13]])[_0x9654[8]](function(_0xebcdx8){if(!_0xebcdx8){return _0xebcdx4[_0x9654[12]](404)};return _0xebcdx4[_0x9654[6]](_0xebcdx8);})[_0x9654[5]](function(_0xebcdx5){return handleError(_0xebcdx4,_0xebcdx5)})};exports[_0x9654[16]]=function(_0xebcdx3,_0xebcdx4){ReportMailSession[_0x9654[16]](_0xebcdx3[_0x9654[17]])[_0x9654[8]](function(_0xebcdx8){return _0xebcdx4[_0x9654[7]](201)[_0x9654[6]](_0xebcdx8)})[_0x9654[5]](function(_0xebcdx5){return handleError(_0xebcdx4,_0xebcdx5)})};exports[_0x9654[18]]=function(_0xebcdx3,_0xebcdx4){if(_0xebcdx3[_0x9654[17]][_0x9654[13]]){delete _0xebcdx3[_0x9654[17]][_0x9654[13]]};ReportMailSession[_0x9654[21]]({where:{id:_0xebcdx3[_0x9654[14]][_0x9654[13]]}})[_0x9654[8]](function(_0xebcdx8){if(!_0xebcdx8){return _0xebcdx4[_0x9654[12]](404)};var _0xebcdx9=_[_0x9654[19]](_0xebcdx8,_0xebcdx3[_0x9654[17]]);_0xebcdx9[_0x9654[20]]()[_0x9654[8]](function(){return _0xebcdx4[_0x9654[7]](200)[_0x9654[6]](_0xebcdx8)})[_0x9654[5]](function(_0xebcdx5){return handleError(_0xebcdx4,_0xebcdx5)});})[_0x9654[5]](function(_0xebcdx5){return handleError(_0xebcdx4,_0xebcdx5)});};exports[_0x9654[22]]=function(_0xebcdx3,_0xebcdx4){ReportMailSession[_0x9654[21]]({where:{id:_0xebcdx3[_0x9654[14]][_0x9654[13]]}})[_0x9654[8]](function(_0xebcdx8){if(!_0xebcdx8){return _0xebcdx4[_0x9654[12]](404)};_0xebcdx8[_0x9654[22]]()[_0x9654[8]](function(){return _0xebcdx4[_0x9654[12]](204)})[_0x9654[5]](function(_0xebcdx5){return handleError(_0xebcdx4,_0xebcdx5)});})[_0x9654[5]](function(_0xebcdx5){return handleError(_0xebcdx4,_0xebcdx5)})};function handleError(_0xebcdx4,_0xebcdx5){return _0xebcdx4[_0x9654[7]](500)[_0x9654[6]](_0xebcdx5)}
\ No newline at end of file
index f9028c3..e5b047e 100644 (file)
@@ -1 +1 @@
-var _0xcdaa=["\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","\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\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\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"];_0xcdaa[0];var ReportMailSession=require(_0xcdaa[2])[_0xcdaa[1]];exports[_0xcdaa[3]]=function(_0xe415x2){ReportMailSession[_0xcdaa[4]](function(_0xe415x3){onSave(_0xe415x2,_0xe415x3)});ReportMailSession[_0xcdaa[5]](function(_0xe415x3){onSave(_0xe415x2,_0xe415x3)});ReportMailSession[_0xcdaa[6]](function(_0xe415x3){onRemove(_0xe415x2,_0xe415x3)});};function onSave(_0xe415x2,_0xe415x3,_0xe415x5){_0xe415x2[_0xcdaa[8]](_0xcdaa[7],_0xe415x3)}function onRemove(_0xe415x2,_0xe415x3,_0xe415x5){_0xe415x2[_0xcdaa[8]](_0xcdaa[9],_0xe415x3)}
\ No newline at end of file
+var _0xa092=["\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","\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\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\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"];_0xa092[0];var ReportMailSession=require(_0xa092[2])[_0xa092[1]];exports[_0xa092[3]]=function(_0x71e7x2){ReportMailSession[_0xa092[4]](function(_0x71e7x3){onSave(_0x71e7x2,_0x71e7x3)});ReportMailSession[_0xa092[5]](function(_0x71e7x3){onSave(_0x71e7x2,_0x71e7x3)});ReportMailSession[_0xa092[6]](function(_0x71e7x3){onRemove(_0x71e7x2,_0x71e7x3)});};function onSave(_0x71e7x2,_0x71e7x3,_0x71e7x5){_0x71e7x2[_0xa092[8]](_0xa092[7],_0x71e7x3)}function onRemove(_0x71e7x2,_0x71e7x3,_0x71e7x5){_0x71e7x2[_0xa092[8]](_0xa092[9],_0x71e7x3)}
\ No newline at end of file
index 553d1d7..1b080b9 100644 (file)
@@ -1 +1 @@
-var _0x3347=["\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\x72\x65\x70\x6F\x72\x74\x2F\x6D\x61\x69\x6C\x2F\x73\x65\x73\x73\x69\x6F\x6E\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\x72\x65\x70\x6F\x72\x74\x2F\x6D\x61\x69\x6C\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73","\x67\x65\x74"];_0x3347[0];var should=require(_0x3347[1]);var app=require(_0x3347[2]);var request=require(_0x3347[3]);describe(_0x3347[4],function(){it(_0x3347[5],function(_0xabd5x4){request(app)[_0x3347[13]](_0x3347[12])[_0x3347[11]](200)[_0x3347[11]](_0x3347[10],/json/)[_0x3347[9]](function(_0xabd5x5,_0xabd5x6){if(_0xabd5x5){return _0xabd5x4(_0xabd5x5)};_0xabd5x6[_0x3347[8]][_0x3347[1]][_0x3347[7]][_0x3347[6]](Array);_0xabd5x4();})})});
\ No newline at end of file
+var _0xa12b=["\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\x72\x65\x70\x6F\x72\x74\x2F\x6D\x61\x69\x6C\x2F\x73\x65\x73\x73\x69\x6F\x6E\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\x72\x65\x70\x6F\x72\x74\x2F\x6D\x61\x69\x6C\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73","\x67\x65\x74"];_0xa12b[0];var should=require(_0xa12b[1]);var app=require(_0xa12b[2]);var request=require(_0xa12b[3]);describe(_0xa12b[4],function(){it(_0xa12b[5],function(_0x7b0dx4){request(app)[_0xa12b[13]](_0xa12b[12])[_0xa12b[11]](200)[_0xa12b[11]](_0xa12b[10],/json/)[_0xa12b[9]](function(_0x7b0dx5,_0x7b0dx6){if(_0x7b0dx5){return _0x7b0dx4(_0x7b0dx5)};_0x7b0dx6[_0xa12b[8]][_0xa12b[1]][_0xa12b[7]][_0xa12b[6]](Array);_0x7b0dx4();})})});
\ No newline at end of file
index 44a0462..fc2aad3 100644 (file)
@@ -1 +1 @@
-var _0x4802=["\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","\x2F","\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","\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"];_0x4802[0];var express=require(_0x4802[1]);var controller=require(_0x4802[2]);var router=express.Router();router[_0x4802[5]](_0x4802[3],controller[_0x4802[4]]);router[_0x4802[5]](_0x4802[6],controller[_0x4802[7]]);router[_0x4802[5]](_0x4802[8],controller[_0x4802[9]]);router[_0x4802[11]](_0x4802[3],controller[_0x4802[10]]);router[_0x4802[13]](_0x4802[8],controller[_0x4802[12]]);router[_0x4802[14]](_0x4802[8],controller[_0x4802[12]]);router[_0x4802[16]](_0x4802[8],controller[_0x4802[15]]);module[_0x4802[17]]=router;
\ No newline at end of file
+var _0xbd1b=["\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","\x2F","\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","\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"];_0xbd1b[0];var express=require(_0xbd1b[1]);var controller=require(_0xbd1b[2]);var router=express.Router();router[_0xbd1b[5]](_0xbd1b[3],controller[_0xbd1b[4]]);router[_0xbd1b[5]](_0xbd1b[6],controller[_0xbd1b[7]]);router[_0xbd1b[5]](_0xbd1b[8],controller[_0xbd1b[9]]);router[_0xbd1b[11]](_0xbd1b[3],controller[_0xbd1b[10]]);router[_0xbd1b[13]](_0xbd1b[8],controller[_0xbd1b[12]]);router[_0xbd1b[14]](_0xbd1b[8],controller[_0xbd1b[12]]);router[_0xbd1b[16]](_0xbd1b[8],controller[_0xbd1b[15]]);module[_0xbd1b[17]]=router;
\ No newline at end of file
index df31d27..7f6b465 100644 (file)
@@ -1 +1 @@
-var _0xa8dd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\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","\x66\x69\x6E\x64\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\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","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xa8dd[0];var _=require(_0xa8dd[1]);var ReportQueue=require(_0xa8dd[3])[_0xa8dd[2]];exports[_0xa8dd[4]]=function(_0x1e75x3,_0x1e75x4){ReportQueue[_0xa8dd[9]]()[_0xa8dd[8]](function(_0x1e75x6){return _0x1e75x4[_0xa8dd[7]](200)[_0xa8dd[6]](_0x1e75x6)})[_0xa8dd[5]](function(_0x1e75x5){return handleError(_0x1e75x4,_0x1e75x5)})};exports[_0xa8dd[10]]=function(_0x1e75x3,_0x1e75x4){ReportQueue[_0xa8dd[10]]()[_0xa8dd[8]](function(_0x1e75x7){return _0x1e75x4[_0xa8dd[7]](200)[_0xa8dd[6]](_0x1e75x7)})[_0xa8dd[5]](function(_0x1e75x5){return handleError(_0x1e75x4,_0x1e75x5)})};exports[_0xa8dd[11]]=function(_0x1e75x3,_0x1e75x4){ReportQueue[_0xa8dd[15]](_0x1e75x3[_0xa8dd[14]][_0xa8dd[13]])[_0xa8dd[8]](function(_0x1e75x8){if(!_0x1e75x8){return _0x1e75x4[_0xa8dd[12]](404)};return _0x1e75x4[_0xa8dd[6]](_0x1e75x8);})[_0xa8dd[5]](function(_0x1e75x5){return handleError(_0x1e75x4,_0x1e75x5)})};exports[_0xa8dd[16]]=function(_0x1e75x3,_0x1e75x4){ReportQueue[_0xa8dd[16]](_0x1e75x3[_0xa8dd[17]])[_0xa8dd[8]](function(_0x1e75x8){return _0x1e75x4[_0xa8dd[7]](201)[_0xa8dd[6]](_0x1e75x8)})[_0xa8dd[5]](function(_0x1e75x5){return handleError(_0x1e75x4,_0x1e75x5)})};exports[_0xa8dd[18]]=function(_0x1e75x3,_0x1e75x4){if(_0x1e75x3[_0xa8dd[17]][_0xa8dd[13]]){delete _0x1e75x3[_0xa8dd[17]][_0xa8dd[13]]};ReportQueue[_0xa8dd[15]](_0x1e75x3[_0xa8dd[14]][_0xa8dd[13]])[_0xa8dd[8]](function(_0x1e75x8){if(!_0x1e75x8){return _0x1e75x4[_0xa8dd[12]](404)};var _0x1e75x9=_[_0xa8dd[19]](_0x1e75x8,_0x1e75x3[_0xa8dd[17]]);_0x1e75x9[_0xa8dd[20]]()[_0xa8dd[8]](function(){return _0x1e75x4[_0xa8dd[7]](200)[_0xa8dd[6]](_0x1e75x8)})[_0xa8dd[5]](function(_0x1e75x5){return handleError(_0x1e75x4,_0x1e75x5)});})[_0xa8dd[5]](function(_0x1e75x5){return handleError(_0x1e75x4,_0x1e75x5)});};exports[_0xa8dd[21]]=function(_0x1e75x3,_0x1e75x4){ReportQueue[_0xa8dd[15]](_0x1e75x3[_0xa8dd[14]][_0xa8dd[13]])[_0xa8dd[8]](function(_0x1e75x8){if(!_0x1e75x8){return _0x1e75x4[_0xa8dd[12]](404)};_0x1e75x8[_0xa8dd[21]]()[_0xa8dd[8]](function(){return _0x1e75x4[_0xa8dd[12]](204)})[_0xa8dd[5]](function(_0x1e75x5){return handleError(_0x1e75x4,_0x1e75x5)});})[_0xa8dd[5]](function(_0x1e75x5){return handleError(_0x1e75x4,_0x1e75x5)})};function handleError(_0x1e75x4,_0x1e75x5){return _0x1e75x4[_0xa8dd[7]](500)[_0xa8dd[6]](_0x1e75x5)}
\ No newline at end of file
+var _0xacdb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\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","\x66\x69\x6E\x64\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\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","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xacdb[0];var _=require(_0xacdb[1]);var ReportQueue=require(_0xacdb[3])[_0xacdb[2]];exports[_0xacdb[4]]=function(_0xdb29x3,_0xdb29x4){ReportQueue[_0xacdb[9]]()[_0xacdb[8]](function(_0xdb29x6){return _0xdb29x4[_0xacdb[7]](200)[_0xacdb[6]](_0xdb29x6)})[_0xacdb[5]](function(_0xdb29x5){return handleError(_0xdb29x4,_0xdb29x5)})};exports[_0xacdb[10]]=function(_0xdb29x3,_0xdb29x4){ReportQueue[_0xacdb[10]]()[_0xacdb[8]](function(_0xdb29x7){return _0xdb29x4[_0xacdb[7]](200)[_0xacdb[6]](_0xdb29x7)})[_0xacdb[5]](function(_0xdb29x5){return handleError(_0xdb29x4,_0xdb29x5)})};exports[_0xacdb[11]]=function(_0xdb29x3,_0xdb29x4){ReportQueue[_0xacdb[15]](_0xdb29x3[_0xacdb[14]][_0xacdb[13]])[_0xacdb[8]](function(_0xdb29x8){if(!_0xdb29x8){return _0xdb29x4[_0xacdb[12]](404)};return _0xdb29x4[_0xacdb[6]](_0xdb29x8);})[_0xacdb[5]](function(_0xdb29x5){return handleError(_0xdb29x4,_0xdb29x5)})};exports[_0xacdb[16]]=function(_0xdb29x3,_0xdb29x4){ReportQueue[_0xacdb[16]](_0xdb29x3[_0xacdb[17]])[_0xacdb[8]](function(_0xdb29x8){return _0xdb29x4[_0xacdb[7]](201)[_0xacdb[6]](_0xdb29x8)})[_0xacdb[5]](function(_0xdb29x5){return handleError(_0xdb29x4,_0xdb29x5)})};exports[_0xacdb[18]]=function(_0xdb29x3,_0xdb29x4){if(_0xdb29x3[_0xacdb[17]][_0xacdb[13]]){delete _0xdb29x3[_0xacdb[17]][_0xacdb[13]]};ReportQueue[_0xacdb[15]](_0xdb29x3[_0xacdb[14]][_0xacdb[13]])[_0xacdb[8]](function(_0xdb29x8){if(!_0xdb29x8){return _0xdb29x4[_0xacdb[12]](404)};var _0xdb29x9=_[_0xacdb[19]](_0xdb29x8,_0xdb29x3[_0xacdb[17]]);_0xdb29x9[_0xacdb[20]]()[_0xacdb[8]](function(){return _0xdb29x4[_0xacdb[7]](200)[_0xacdb[6]](_0xdb29x8)})[_0xacdb[5]](function(_0xdb29x5){return handleError(_0xdb29x4,_0xdb29x5)});})[_0xacdb[5]](function(_0xdb29x5){return handleError(_0xdb29x4,_0xdb29x5)});};exports[_0xacdb[21]]=function(_0xdb29x3,_0xdb29x4){ReportQueue[_0xacdb[15]](_0xdb29x3[_0xacdb[14]][_0xacdb[13]])[_0xacdb[8]](function(_0xdb29x8){if(!_0xdb29x8){return _0xdb29x4[_0xacdb[12]](404)};_0xdb29x8[_0xacdb[21]]()[_0xacdb[8]](function(){return _0xdb29x4[_0xacdb[12]](204)})[_0xacdb[5]](function(_0xdb29x5){return handleError(_0xdb29x4,_0xdb29x5)});})[_0xacdb[5]](function(_0xdb29x5){return handleError(_0xdb29x4,_0xdb29x5)})};function handleError(_0xdb29x4,_0xdb29x5){return _0xdb29x4[_0xacdb[7]](500)[_0xacdb[6]](_0xdb29x5)}
\ No newline at end of file
index 9f9f4ed..511511c 100644 (file)
@@ -1 +1 @@
-var _0x53a2=["\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","\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\x64\x6D\x69\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x53a2[0];var ReportQueue=require(_0x53a2[2])[_0x53a2[1]];exports[_0x53a2[3]]=function(_0x785bx2){ReportQueue[_0x53a2[4]](function(_0x785bx3){onSave(_0x785bx2,_0x785bx3)});ReportQueue[_0x53a2[5]](function(_0x785bx3){onSave(_0x785bx2,_0x785bx3)});ReportQueue[_0x53a2[6]](function(_0x785bx3){onRemove(_0x785bx2,_0x785bx3)});};function onSave(_0x785bx2,_0x785bx3,_0x785bx5){if(_0x785bx2[_0x53a2[7]]===_0x53a2[8]){_0x785bx2[_0x53a2[10]](_0x53a2[9],_0x785bx3)}}function onRemove(_0x785bx2,_0x785bx3,_0x785bx5){_0x785bx2[_0x53a2[10]](_0x53a2[11],_0x785bx3)}
\ No newline at end of file
+var _0x12da=["\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","\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\x64\x6D\x69\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x12da[0];var ReportQueue=require(_0x12da[2])[_0x12da[1]];exports[_0x12da[3]]=function(_0x7ad1x2){ReportQueue[_0x12da[4]](function(_0x7ad1x3){onSave(_0x7ad1x2,_0x7ad1x3)});ReportQueue[_0x12da[5]](function(_0x7ad1x3){onSave(_0x7ad1x2,_0x7ad1x3)});ReportQueue[_0x12da[6]](function(_0x7ad1x3){onRemove(_0x7ad1x2,_0x7ad1x3)});};function onSave(_0x7ad1x2,_0x7ad1x3,_0x7ad1x5){if(_0x7ad1x2[_0x12da[7]]===_0x12da[8]){_0x7ad1x2[_0x12da[10]](_0x12da[9],_0x7ad1x3)}}function onRemove(_0x7ad1x2,_0x7ad1x3,_0x7ad1x5){_0x7ad1x2[_0x12da[10]](_0x12da[11],_0x7ad1x3)}
\ No newline at end of file
index fbe462f..0b90b57 100644 (file)
@@ -1 +1 @@
-var _0x4e84=["\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","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x65\x78\x70\x6F\x72\x74\x73"];_0x4e84[0];var express=require(_0x4e84[1]);var controller=require(_0x4e84[2]);var router=express.Router();router[_0x4e84[5]](_0x4e84[3],controller[_0x4e84[4]]);router[_0x4e84[8]](_0x4e84[6],controller[_0x4e84[7]]);router[_0x4e84[9]](_0x4e84[6],controller[_0x4e84[7]]);module[_0x4e84[10]]=router;
\ No newline at end of file
+var _0x1d1e=["\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","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x65\x78\x70\x6F\x72\x74\x73"];_0x1d1e[0];var express=require(_0x1d1e[1]);var controller=require(_0x1d1e[2]);var router=express.Router();router[_0x1d1e[5]](_0x1d1e[3],controller[_0x1d1e[4]]);router[_0x1d1e[8]](_0x1d1e[6],controller[_0x1d1e[7]]);router[_0x1d1e[9]](_0x1d1e[6],controller[_0x1d1e[7]]);module[_0x1d1e[10]]=router;
\ No newline at end of file
index 10d6769..f8ad861 100644 (file)
@@ -1 +1 @@
-var _0x8030=["\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"];_0x8030[0];var _=require(_0x8030[1]);var util=require(_0x8030[2]);var ReportTree=require(_0x8030[4])[_0x8030[3]];exports[_0x8030[5]]=function(_0xea65x4,_0xea65x5){ReportTree[_0x8030[11]]()[_0x8030[10]](function(_0xea65x7){if(!_0xea65x7){return _0xea65x5[_0x8030[7]](404)};return _0xea65x5[_0x8030[9]](200)[_0x8030[8]](_0xea65x7);})[_0x8030[6]](function(_0xea65x6){return handleError(_0xea65x5,_0xea65x6)})};exports[_0x8030[12]]=function(_0xea65x4,_0xea65x5){ReportTree[_0x8030[18]](_0xea65x4[_0x8030[17]][_0x8030[16]])[_0x8030[10]](function(_0xea65x8){if(!_0xea65x8){return _0xea65x5[_0x8030[7]](404)};var _0xea65x9=_[_0x8030[14]](_0xea65x8,_0xea65x4[_0x8030[13]]);_0xea65x9[_0x8030[15]]()[_0x8030[10]](function(){return _0xea65x5[_0x8030[9]](200)[_0x8030[8]](_0xea65x8)})[_0x8030[6]](function(_0xea65x6){return handleError(_0xea65x5,_0xea65x6)});})[_0x8030[6]](function(_0xea65x6){return handleError(_0xea65x5,_0xea65x6)})};function handleError(_0xea65x5,_0xea65x6){return _0xea65x5[_0x8030[9]](500)[_0x8030[8]](_0xea65x6)}
\ No newline at end of file
+var _0x1ad1=["\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"];_0x1ad1[0];var _=require(_0x1ad1[1]);var util=require(_0x1ad1[2]);var ReportTree=require(_0x1ad1[4])[_0x1ad1[3]];exports[_0x1ad1[5]]=function(_0xf848x4,_0xf848x5){ReportTree[_0x1ad1[11]]()[_0x1ad1[10]](function(_0xf848x7){if(!_0xf848x7){return _0xf848x5[_0x1ad1[7]](404)};return _0xf848x5[_0x1ad1[9]](200)[_0x1ad1[8]](_0xf848x7);})[_0x1ad1[6]](function(_0xf848x6){return handleError(_0xf848x5,_0xf848x6)})};exports[_0x1ad1[12]]=function(_0xf848x4,_0xf848x5){ReportTree[_0x1ad1[18]](_0xf848x4[_0x1ad1[17]][_0x1ad1[16]])[_0x1ad1[10]](function(_0xf848x8){if(!_0xf848x8){return _0xf848x5[_0x1ad1[7]](404)};var _0xf848x9=_[_0x1ad1[14]](_0xf848x8,_0xf848x4[_0x1ad1[13]]);_0xf848x9[_0x1ad1[15]]()[_0x1ad1[10]](function(){return _0xf848x5[_0x1ad1[9]](200)[_0x1ad1[8]](_0xf848x8)})[_0x1ad1[6]](function(_0xf848x6){return handleError(_0xf848x5,_0xf848x6)});})[_0x1ad1[6]](function(_0xf848x6){return handleError(_0xf848x5,_0xf848x6)})};function handleError(_0xf848x5,_0xf848x6){return _0xf848x5[_0x1ad1[9]](500)[_0x1ad1[8]](_0xf848x6)}
\ No newline at end of file
index f6d9828..16c391a 100644 (file)
@@ -1 +1 @@
-var _0xb003=["\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"];_0xb003[0];var ReportTree=require(_0xb003[2])[_0xb003[1]];exports[_0xb003[3]]=function(_0x8cfcx2){ReportTree[_0xb003[4]](function(_0x8cfcx3){onSave(_0x8cfcx2,_0x8cfcx3)});ReportTree[_0xb003[5]](function(_0x8cfcx3){onSave(_0x8cfcx2,_0x8cfcx3)});ReportTree[_0xb003[6]](function(_0x8cfcx3){onRemove(_0x8cfcx2,_0x8cfcx3)});};function onSave(_0x8cfcx2,_0x8cfcx3,_0x8cfcx5){_0x8cfcx2[_0xb003[8]](_0xb003[7],_0x8cfcx3)}function onRemove(_0x8cfcx2,_0x8cfcx3,_0x8cfcx5){_0x8cfcx2[_0xb003[8]](_0xb003[9],_0x8cfcx3)}
\ No newline at end of file
+var _0x2055=["\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"];_0x2055[0];var ReportTree=require(_0x2055[2])[_0x2055[1]];exports[_0x2055[3]]=function(_0x2ea4x2){ReportTree[_0x2055[4]](function(_0x2ea4x3){onSave(_0x2ea4x2,_0x2ea4x3)});ReportTree[_0x2055[5]](function(_0x2ea4x3){onSave(_0x2ea4x2,_0x2ea4x3)});ReportTree[_0x2055[6]](function(_0x2ea4x3){onRemove(_0x2ea4x2,_0x2ea4x3)});};function onSave(_0x2ea4x2,_0x2ea4x3,_0x2ea4x5){_0x2ea4x2[_0x2055[8]](_0x2055[7],_0x2ea4x3)}function onRemove(_0x2ea4x2,_0x2ea4x3,_0x2ea4x5){_0x2ea4x2[_0x2055[8]](_0x2055[9],_0x2ea4x3)}
\ No newline at end of file
index e9a0ad2..e061859 100644 (file)
@@ -1 +1 @@
-var _0x7bec=["\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\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F\x74\x72\x65\x65\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\x61\x6E\x61\x6C\x79\x74\x69\x63\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F\x74\x72\x65\x65\x73","\x67\x65\x74"];_0x7bec[0];var should=require(_0x7bec[1]);var app=require(_0x7bec[2]);var request=require(_0x7bec[3]);describe(_0x7bec[4],function(){it(_0x7bec[5],function(_0xedcfx4){request(app)[_0x7bec[13]](_0x7bec[12])[_0x7bec[11]](200)[_0x7bec[11]](_0x7bec[10],/json/)[_0x7bec[9]](function(_0xedcfx5,_0xedcfx6){if(_0xedcfx5){return _0xedcfx4(_0xedcfx5)};_0xedcfx6[_0x7bec[8]][_0x7bec[1]][_0x7bec[7]][_0x7bec[6]](Array);_0xedcfx4();})})});
\ No newline at end of file
+var _0xa3a8=["\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\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F\x74\x72\x65\x65\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\x61\x6E\x61\x6C\x79\x74\x69\x63\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F\x74\x72\x65\x65\x73","\x67\x65\x74"];_0xa3a8[0];var should=require(_0xa3a8[1]);var app=require(_0xa3a8[2]);var request=require(_0xa3a8[3]);describe(_0xa3a8[4],function(){it(_0xa3a8[5],function(_0xfbfax4){request(app)[_0xa3a8[13]](_0xa3a8[12])[_0xa3a8[11]](200)[_0xa3a8[11]](_0xa3a8[10],/json/)[_0xa3a8[9]](function(_0xfbfax5,_0xfbfax6){if(_0xfbfax5){return _0xfbfax4(_0xfbfax5)};_0xfbfax6[_0xa3a8[8]][_0xa3a8[1]][_0xa3a8[7]][_0xa3a8[6]](Array);_0xfbfax4();})})});
\ No newline at end of file
index 0cfeb6d..f18e2b4 100644 (file)
@@ -1 +1 @@
-var _0x8682=["\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","\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","\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"];_0x8682[0];var express=require(_0x8682[1]);var auth=require(_0x8682[2]);var controller=require(_0x8682[3]);var router=express.Router();router[_0x8682[7]](_0x8682[4],auth[_0x8682[5]](),controller[_0x8682[6]]);router[_0x8682[7]](_0x8682[8],auth[_0x8682[5]](),controller[_0x8682[9]]);router[_0x8682[7]](_0x8682[10],auth[_0x8682[5]](),controller[_0x8682[11]]);router[_0x8682[7]](_0x8682[12],auth[_0x8682[5]](),controller[_0x8682[13]]);router[_0x8682[16]](_0x8682[14],auth[_0x8682[5]](),controller[_0x8682[15]]);router[_0x8682[16]](_0x8682[4],auth[_0x8682[5]](),controller[_0x8682[17]]);router[_0x8682[19]](_0x8682[8],auth[_0x8682[5]](),controller[_0x8682[18]]);router[_0x8682[20]](_0x8682[8],auth[_0x8682[5]](),controller[_0x8682[18]]);router[_0x8682[22]](_0x8682[4],auth[_0x8682[5]](),controller[_0x8682[21]]);router[_0x8682[22]](_0x8682[8],auth[_0x8682[5]](),controller[_0x8682[23]]);module[_0x8682[24]]=router;
\ No newline at end of file
+var _0xa9f2=["\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","\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","\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"];_0xa9f2[0];var express=require(_0xa9f2[1]);var auth=require(_0xa9f2[2]);var controller=require(_0xa9f2[3]);var router=express.Router();router[_0xa9f2[7]](_0xa9f2[4],auth[_0xa9f2[5]](),controller[_0xa9f2[6]]);router[_0xa9f2[7]](_0xa9f2[8],auth[_0xa9f2[5]](),controller[_0xa9f2[9]]);router[_0xa9f2[7]](_0xa9f2[10],auth[_0xa9f2[5]](),controller[_0xa9f2[11]]);router[_0xa9f2[7]](_0xa9f2[12],auth[_0xa9f2[5]](),controller[_0xa9f2[13]]);router[_0xa9f2[16]](_0xa9f2[14],auth[_0xa9f2[5]](),controller[_0xa9f2[15]]);router[_0xa9f2[16]](_0xa9f2[4],auth[_0xa9f2[5]](),controller[_0xa9f2[17]]);router[_0xa9f2[19]](_0xa9f2[8],auth[_0xa9f2[5]](),controller[_0xa9f2[18]]);router[_0xa9f2[20]](_0xa9f2[8],auth[_0xa9f2[5]](),controller[_0xa9f2[18]]);router[_0xa9f2[22]](_0xa9f2[4],auth[_0xa9f2[5]](),controller[_0xa9f2[21]]);router[_0xa9f2[22]](_0xa9f2[8],auth[_0xa9f2[5]](),controller[_0xa9f2[23]]);module[_0xa9f2[24]]=router;
\ No newline at end of file
index ae8b1ee..8e50517 100644 (file)
@@ -1 +1 @@
-var _0x586e=["\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\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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"];_0x586e[0];var proxyquire=require(_0x586e[2])[_0x586e[1]]();var salesforceAccountCtrlStub={index:_0x586e[3],show:_0x586e[4],create:_0x586e[5],update:_0x586e[6],destroy:_0x586e[7]};var routerStub={get:sinon[_0x586e[8]](),put:sinon[_0x586e[8]](),patch:sinon[_0x586e[8]](),post:sinon[_0x586e[8]](),delete:sinon[_0x586e[8]]()};var salesforceAccountIndex=proxyquire(_0x586e[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\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72":salesforceAccountCtrlStub});describe(_0x586e[10],function(){it(_0x586e[11],function(){expect(salesforceAccountIndex)[_0x586e[13]][_0x586e[12]](routerStub)});describe(_0x586e[14],function(){it(_0x586e[15],function(){expect(routerStub[_0x586e[21]][_0x586e[20]](_0x586e[19],_0x586e[3]))[_0x586e[13]][_0x586e[18]][_0x586e[17]][_0x586e[16]]})});describe(_0x586e[22],function(){it(_0x586e[23],function(){expect(routerStub[_0x586e[21]][_0x586e[20]](_0x586e[24],_0x586e[4]))[_0x586e[13]][_0x586e[18]][_0x586e[17]][_0x586e[16]]})});describe(_0x586e[25],function(){it(_0x586e[26],function(){expect(routerStub[_0x586e[27]][_0x586e[20]](_0x586e[19],_0x586e[5]))[_0x586e[13]][_0x586e[18]][_0x586e[17]][_0x586e[16]]})});describe(_0x586e[28],function(){it(_0x586e[29],function(){expect(routerStub[_0x586e[30]][_0x586e[20]](_0x586e[24],_0x586e[6]))[_0x586e[13]][_0x586e[18]][_0x586e[17]][_0x586e[16]]})});describe(_0x586e[31],function(){it(_0x586e[29],function(){expect(routerStub[_0x586e[32]][_0x586e[20]](_0x586e[24],_0x586e[6]))[_0x586e[13]][_0x586e[18]][_0x586e[17]][_0x586e[16]]})});describe(_0x586e[33],function(){it(_0x586e[34],function(){expect(routerStub[_0x586e[35]][_0x586e[20]](_0x586e[24],_0x586e[7]))[_0x586e[13]][_0x586e[18]][_0x586e[17]][_0x586e[16]]})});});
\ No newline at end of file
+var _0x1bf4=["\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\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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"];_0x1bf4[0];var proxyquire=require(_0x1bf4[2])[_0x1bf4[1]]();var salesforceAccountCtrlStub={index:_0x1bf4[3],show:_0x1bf4[4],create:_0x1bf4[5],update:_0x1bf4[6],destroy:_0x1bf4[7]};var routerStub={get:sinon[_0x1bf4[8]](),put:sinon[_0x1bf4[8]](),patch:sinon[_0x1bf4[8]](),post:sinon[_0x1bf4[8]](),delete:sinon[_0x1bf4[8]]()};var salesforceAccountIndex=proxyquire(_0x1bf4[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\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72":salesforceAccountCtrlStub});describe(_0x1bf4[10],function(){it(_0x1bf4[11],function(){expect(salesforceAccountIndex)[_0x1bf4[13]][_0x1bf4[12]](routerStub)});describe(_0x1bf4[14],function(){it(_0x1bf4[15],function(){expect(routerStub[_0x1bf4[21]][_0x1bf4[20]](_0x1bf4[19],_0x1bf4[3]))[_0x1bf4[13]][_0x1bf4[18]][_0x1bf4[17]][_0x1bf4[16]]})});describe(_0x1bf4[22],function(){it(_0x1bf4[23],function(){expect(routerStub[_0x1bf4[21]][_0x1bf4[20]](_0x1bf4[24],_0x1bf4[4]))[_0x1bf4[13]][_0x1bf4[18]][_0x1bf4[17]][_0x1bf4[16]]})});describe(_0x1bf4[25],function(){it(_0x1bf4[26],function(){expect(routerStub[_0x1bf4[27]][_0x1bf4[20]](_0x1bf4[19],_0x1bf4[5]))[_0x1bf4[13]][_0x1bf4[18]][_0x1bf4[17]][_0x1bf4[16]]})});describe(_0x1bf4[28],function(){it(_0x1bf4[29],function(){expect(routerStub[_0x1bf4[30]][_0x1bf4[20]](_0x1bf4[24],_0x1bf4[6]))[_0x1bf4[13]][_0x1bf4[18]][_0x1bf4[17]][_0x1bf4[16]]})});describe(_0x1bf4[31],function(){it(_0x1bf4[29],function(){expect(routerStub[_0x1bf4[32]][_0x1bf4[20]](_0x1bf4[24],_0x1bf4[6]))[_0x1bf4[13]][_0x1bf4[18]][_0x1bf4[17]][_0x1bf4[16]]})});describe(_0x1bf4[33],function(){it(_0x1bf4[34],function(){expect(routerStub[_0x1bf4[35]][_0x1bf4[20]](_0x1bf4[24],_0x1bf4[7]))[_0x1bf4[13]][_0x1bf4[18]][_0x1bf4[17]][_0x1bf4[16]]})});});
\ No newline at end of file
index f45ca3a..6d0ef16 100644 (file)
@@ -1 +1 @@
-var _0xef67=["\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","\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","\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","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\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","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\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","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0xef67[0];var _=require(_0xef67[1]);var util=require(_0xef67[2]);var jsforce=require(_0xef67[3]);var SalesforceAccount=require(_0xef67[5])[_0xef67[4]];function handleError(_0x84e4x6,_0x84e4x7){_0x84e4x7=_0x84e4x7||500;return function(_0x84e4x8){_0x84e4x6[_0xef67[7]](_0x84e4x7)[_0xef67[6]](_0x84e4x8)};}function responseWithResult(_0x84e4x6,_0x84e4x7){_0x84e4x7=_0x84e4x7||200;return function(_0x84e4xa){if(_0x84e4xa){_0x84e4x6[_0xef67[7]](_0x84e4x7)[_0xef67[8]](_0x84e4xa)}};}function handleEntityNotFound(_0x84e4x6){return function(_0x84e4xa){if(!_0x84e4xa){_0x84e4x6[_0xef67[7]](404)[_0xef67[9]]();return null;};return _0x84e4xa;}}function saveUpdates(_0x84e4xd){return function(_0x84e4xa){return _0x84e4xa[_0xef67[11]](_0x84e4xd)[_0xef67[10]](function(_0x84e4xe){return _0x84e4xe})}}function removeEntity(_0x84e4x6){return function(_0x84e4xa){if(_0x84e4xa){return _0x84e4xa[_0xef67[12]]()[_0xef67[10]](function(){_0x84e4x6[_0xef67[7]](204)[_0xef67[9]]()})}}}exports[_0xef67[13]]=function(_0x84e4x10,_0x84e4x6){var _0x84e4x11=[_0xef67[14],_0xef67[15],_0xef67[16],_0xef67[17]];var _0x84e4x12=_0x84e4x10[_0xef67[19]][_0xef67[18]]?parseInt(_0x84e4x10[_0xef67[19]][_0xef67[18]],10):100;var _0x84e4x13=_0x84e4x10[_0xef67[19]][_0xef67[20]]?parseInt(_0x84e4x10[_0xef67[19]][_0xef67[20]],10):0;var _0x84e4x14={where:{},limit:_0x84e4x12,offset:_0x84e4x13*_0x84e4x12};_[_0xef67[34]](_0x84e4x10[_0xef67[19]],function(_0x84e4x15,_0x84e4x16){switch(_0x84e4x16){case _0xef67[18]:;case _0xef67[20]:break ;;case _0xef67[23]:_0x84e4x14[_0xef67[21]]=util[_0xef67[26]](_0xef67[22],_0x84e4x10[_0xef67[19]][_0xef67[23]],_0x84e4x10[_0xef67[19]][_0xef67[24]]||_0xef67[25])||null;break ;;case _0xef67[24]:break ;;case _0xef67[32]:_0x84e4x14[_0xef67[28]][_0xef67[27]]=[];_0x84e4x11[_0xef67[31]](function(_0x84e4x17){var _0x84e4x18={};_0x84e4x18[_0x84e4x17]={$like:_0xef67[29]+_0x84e4x15+_0xef67[29]};_0x84e4x14[_0xef67[28]][_0xef67[27]][_0xef67[30]](_0x84e4x18);});break ;;default:_0x84e4x14[_0xef67[28]][_0x84e4x16]={$like:{}};_0x84e4x14[_0xef67[28]][_0x84e4x16][_0xef67[33]]=_0xef67[29]+_0x84e4x15+_0xef67[29];;}});SalesforceAccount[_0xef67[46]](_0x84e4x14)[_0xef67[10]](function(_0x84e4x19){var _0x84e4x1a=Math[_0xef67[38]](_0x84e4x19[_0xef67[37]]/_0x84e4x12);var _0x84e4x1b=_0x84e4x1a>(_0x84e4x14[_0xef67[39]]+1)?util[_0xef67[26]](_0xef67[40],_0x84e4x10[_0xef67[41]],_0x84e4x10[_0xef67[43]][_0xef67[42]],_0x84e4x10[_0xef67[44]],_0x84e4x13+1):null;var _0x84e4x1c=_0x84e4x13>0?util[_0xef67[26]](_0xef67[40],_0x84e4x10[_0xef67[41]],_0x84e4x10[_0xef67[43]][_0xef67[42]],_0x84e4x10[_0xef67[44]],_0x84e4x13-1):null;return _0x84e4x6[_0xef67[7]](200)[_0xef67[6]]({count:_0x84e4x19[_0xef67[37]],rows:_0x84e4x19[_0xef67[45]],next_page:_0x84e4x1b,previous_page:_0x84e4x1c,total_pages:_0x84e4x1a});})[_0xef67[36]](function(_0x84e4x8){return _0x84e4x6[_0xef67[7]](500)[_0xef67[6]]({error:_0xef67[35]})});};exports[_0xef67[47]]=function(_0x84e4x10,_0x84e4x6){SalesforceAccount[_0xef67[50]](_0x84e4x10[_0xef67[49]][_0xef67[48]])[_0xef67[10]](handleEntityNotFound(_0x84e4x6))[_0xef67[10]](responseWithResult(_0x84e4x6))[_0xef67[36]](handleError(_0x84e4x6))};exports[_0xef67[51]]=function(_0x84e4x10,_0x84e4x6){SalesforceAccount[_0xef67[51]](_0x84e4x10[_0xef67[52]])[_0xef67[10]](responseWithResult(_0x84e4x6,201))[_0xef67[36]](handleError(_0x84e4x6))};exports[_0xef67[53]]=function(_0x84e4x10,_0x84e4x6){if(_0x84e4x10[_0xef67[52]][_0xef67[48]]){delete _0x84e4x10[_0xef67[52]][_0xef67[48]]};SalesforceAccount[_0xef67[50]](_0x84e4x10[_0xef67[49]][_0xef67[48]])[_0xef67[10]](handleEntityNotFound(_0x84e4x6))[_0xef67[10]](saveUpdates(_0x84e4x10[_0xef67[52]]))[_0xef67[10]](responseWithResult(_0x84e4x6))[_0xef67[36]](handleError(_0x84e4x6));};exports[_0xef67[12]]=function(_0x84e4x10,_0x84e4x6){SalesforceAccount[_0xef67[50]](_0x84e4x10[_0xef67[49]][_0xef67[48]])[_0xef67[10]](handleEntityNotFound(_0x84e4x6))[_0xef67[10]](removeEntity(_0x84e4x6))[_0xef67[36]](handleError(_0x84e4x6))};exports[_0xef67[54]]=function(_0x84e4x10,_0x84e4x6){SalesforceAccount[_0xef67[50]](_0x84e4x10[_0xef67[49]][_0xef67[48]])[_0xef67[10]](handleEntityNotFound(_0x84e4x6))[_0xef67[10]](function(_0x84e4x1d){var _0x84e4x1e= new jsforce.Connection({oauth2:{loginUrl:_0x84e4x1d[_0xef67[17]],clientId:_0x84e4x1d[_0xef67[55]],clientSecret:_0x84e4x1d[_0xef67[56]]}});var _0x84e4x1f=_0x84e4x1d[_0xef67[59]][_0xef67[58]](_0x84e4x1d[_0xef67[57]]);_0x84e4x1e[_0xef67[61]](_0x84e4x1d[_0xef67[16]],_0x84e4x1f,function(_0x84e4x8,_0x84e4x20){if(_0x84e4x8){return _0x84e4x6[_0xef67[7]](400)[_0xef67[6]](_0x84e4x8)};return _0x84e4x6[_0xef67[60]](200);});})[_0xef67[36]](handleError(_0x84e4x6))};exports[_0xef67[62]]=function(_0x84e4x10,_0x84e4x6){var _0x84e4x21={};_0x84e4x21[_0x84e4x10[_0xef67[49]][_0xef67[63]]]=_0x84e4x10[_0xef67[52]][_0xef67[64]];SalesforceAccount[_0xef67[46]]({where:_0x84e4x21})[_0xef67[10]](function(_0x84e4x19){if(_0x84e4x19[_0xef67[37]]){return _0x84e4x6[_0xef67[7]](200)[_0xef67[6]]({isValid:false,value:_0x84e4x10[_0xef67[52]][_0xef67[64]]})};return _0x84e4x6[_0xef67[7]](200)[_0xef67[6]]({isValid:true,value:_0x84e4x10[_0xef67[52]][_0xef67[64]]});})[_0xef67[36]](function(_0x84e4x8){return handleError(_0x84e4x6,_0x84e4x8)});};exports[_0xef67[65]]=function(_0x84e4x10,_0x84e4x6){SalesforceAccount[_0xef67[50]](_0x84e4x10[_0xef67[49]][_0xef67[48]])[_0xef67[10]](handleEntityNotFound(_0x84e4x6))[_0xef67[10]](function(_0x84e4x1d){var _0x84e4x1e= new jsforce.Connection({oauth2:{loginUrl:_0x84e4x1d[_0xef67[17]],clientId:_0x84e4x1d[_0xef67[55]],clientSecret:_0x84e4x1d[_0xef67[56]]}});var _0x84e4x1f=_0x84e4x1d[_0xef67[59]][_0xef67[58]](_0x84e4x1d[_0xef67[57]]);_0x84e4x1e[_0xef67[61]](_0x84e4x1d[_0xef67[16]],_0x84e4x1f,function(_0x84e4x8,_0x84e4x20){if(_0x84e4x8){return _0x84e4x6[_0xef67[7]](400)[_0xef67[6]](_0x84e4x8)};_0x84e4x1e[_0xef67[69]](_0xef67[68])[_0xef67[67]](function(_0x84e4x8,_0x84e4x22){if(_0x84e4x8){return _0x84e4x6[_0xef67[7]](400)[_0xef67[6]](_0x84e4x8)};return _0x84e4x6[_0xef67[7]](200)[_0xef67[6]](_0x84e4x22[_0xef67[66]]);});});})[_0xef67[36]](handleError(_0x84e4x6))};exports[_0xef67[70]]=function(_0x84e4x10,_0x84e4x6){SalesforceAccount[_0xef67[12]]({where:{id:_0x84e4x10[_0xef67[19]][_0xef67[48]]},individualHooks:true})[_0xef67[10]](function(){return _0x84e4x6[_0xef67[60]](204)})[_0xef67[36]](function(_0x84e4x8){return handleError(_0x84e4x6,_0x84e4x8)})};
\ No newline at end of file
+var _0xedbb=["\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","\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","\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","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\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","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\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","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0xedbb[0];var _=require(_0xedbb[1]);var util=require(_0xedbb[2]);var jsforce=require(_0xedbb[3]);var SalesforceAccount=require(_0xedbb[5])[_0xedbb[4]];function handleError(_0x631ex6,_0x631ex7){_0x631ex7=_0x631ex7||500;return function(_0x631ex8){_0x631ex6[_0xedbb[7]](_0x631ex7)[_0xedbb[6]](_0x631ex8)};}function responseWithResult(_0x631ex6,_0x631ex7){_0x631ex7=_0x631ex7||200;return function(_0x631exa){if(_0x631exa){_0x631ex6[_0xedbb[7]](_0x631ex7)[_0xedbb[8]](_0x631exa)}};}function handleEntityNotFound(_0x631ex6){return function(_0x631exa){if(!_0x631exa){_0x631ex6[_0xedbb[7]](404)[_0xedbb[9]]();return null;};return _0x631exa;}}function saveUpdates(_0x631exd){return function(_0x631exa){return _0x631exa[_0xedbb[11]](_0x631exd)[_0xedbb[10]](function(_0x631exe){return _0x631exe})}}function removeEntity(_0x631ex6){return function(_0x631exa){if(_0x631exa){return _0x631exa[_0xedbb[12]]()[_0xedbb[10]](function(){_0x631ex6[_0xedbb[7]](204)[_0xedbb[9]]()})}}}exports[_0xedbb[13]]=function(_0x631ex10,_0x631ex6){var _0x631ex11=[_0xedbb[14],_0xedbb[15],_0xedbb[16],_0xedbb[17]];var _0x631ex12=_0x631ex10[_0xedbb[19]][_0xedbb[18]]?parseInt(_0x631ex10[_0xedbb[19]][_0xedbb[18]],10):100;var _0x631ex13=_0x631ex10[_0xedbb[19]][_0xedbb[20]]?parseInt(_0x631ex10[_0xedbb[19]][_0xedbb[20]],10):0;var _0x631ex14={where:{},limit:_0x631ex12,offset:_0x631ex13*_0x631ex12};_[_0xedbb[34]](_0x631ex10[_0xedbb[19]],function(_0x631ex15,_0x631ex16){switch(_0x631ex16){case _0xedbb[18]:;case _0xedbb[20]:break ;;case _0xedbb[23]:_0x631ex14[_0xedbb[21]]=util[_0xedbb[26]](_0xedbb[22],_0x631ex10[_0xedbb[19]][_0xedbb[23]],_0x631ex10[_0xedbb[19]][_0xedbb[24]]||_0xedbb[25])||null;break ;;case _0xedbb[24]:break ;;case _0xedbb[32]:_0x631ex14[_0xedbb[28]][_0xedbb[27]]=[];_0x631ex11[_0xedbb[31]](function(_0x631ex17){var _0x631ex18={};_0x631ex18[_0x631ex17]={$like:_0xedbb[29]+_0x631ex15+_0xedbb[29]};_0x631ex14[_0xedbb[28]][_0xedbb[27]][_0xedbb[30]](_0x631ex18);});break ;;default:_0x631ex14[_0xedbb[28]][_0x631ex16]={$like:{}};_0x631ex14[_0xedbb[28]][_0x631ex16][_0xedbb[33]]=_0xedbb[29]+_0x631ex15+_0xedbb[29];;}});SalesforceAccount[_0xedbb[46]](_0x631ex14)[_0xedbb[10]](function(_0x631ex19){var _0x631ex1a=Math[_0xedbb[38]](_0x631ex19[_0xedbb[37]]/_0x631ex12);var _0x631ex1b=_0x631ex1a>(_0x631ex14[_0xedbb[39]]+1)?util[_0xedbb[26]](_0xedbb[40],_0x631ex10[_0xedbb[41]],_0x631ex10[_0xedbb[43]][_0xedbb[42]],_0x631ex10[_0xedbb[44]],_0x631ex13+1):null;var _0x631ex1c=_0x631ex13>0?util[_0xedbb[26]](_0xedbb[40],_0x631ex10[_0xedbb[41]],_0x631ex10[_0xedbb[43]][_0xedbb[42]],_0x631ex10[_0xedbb[44]],_0x631ex13-1):null;return _0x631ex6[_0xedbb[7]](200)[_0xedbb[6]]({count:_0x631ex19[_0xedbb[37]],rows:_0x631ex19[_0xedbb[45]],next_page:_0x631ex1b,previous_page:_0x631ex1c,total_pages:_0x631ex1a});})[_0xedbb[36]](function(_0x631ex8){return _0x631ex6[_0xedbb[7]](500)[_0xedbb[6]]({error:_0xedbb[35]})});};exports[_0xedbb[47]]=function(_0x631ex10,_0x631ex6){SalesforceAccount[_0xedbb[50]](_0x631ex10[_0xedbb[49]][_0xedbb[48]])[_0xedbb[10]](handleEntityNotFound(_0x631ex6))[_0xedbb[10]](responseWithResult(_0x631ex6))[_0xedbb[36]](handleError(_0x631ex6))};exports[_0xedbb[51]]=function(_0x631ex10,_0x631ex6){SalesforceAccount[_0xedbb[51]](_0x631ex10[_0xedbb[52]])[_0xedbb[10]](responseWithResult(_0x631ex6,201))[_0xedbb[36]](handleError(_0x631ex6))};exports[_0xedbb[53]]=function(_0x631ex10,_0x631ex6){if(_0x631ex10[_0xedbb[52]][_0xedbb[48]]){delete _0x631ex10[_0xedbb[52]][_0xedbb[48]]};SalesforceAccount[_0xedbb[50]](_0x631ex10[_0xedbb[49]][_0xedbb[48]])[_0xedbb[10]](handleEntityNotFound(_0x631ex6))[_0xedbb[10]](saveUpdates(_0x631ex10[_0xedbb[52]]))[_0xedbb[10]](responseWithResult(_0x631ex6))[_0xedbb[36]](handleError(_0x631ex6));};exports[_0xedbb[12]]=function(_0x631ex10,_0x631ex6){SalesforceAccount[_0xedbb[50]](_0x631ex10[_0xedbb[49]][_0xedbb[48]])[_0xedbb[10]](handleEntityNotFound(_0x631ex6))[_0xedbb[10]](removeEntity(_0x631ex6))[_0xedbb[36]](handleError(_0x631ex6))};exports[_0xedbb[54]]=function(_0x631ex10,_0x631ex6){SalesforceAccount[_0xedbb[50]](_0x631ex10[_0xedbb[49]][_0xedbb[48]])[_0xedbb[10]](handleEntityNotFound(_0x631ex6))[_0xedbb[10]](function(_0x631ex1d){var _0x631ex1e= new jsforce.Connection({oauth2:{loginUrl:_0x631ex1d[_0xedbb[17]],clientId:_0x631ex1d[_0xedbb[55]],clientSecret:_0x631ex1d[_0xedbb[56]]}});var _0x631ex1f=_0x631ex1d[_0xedbb[59]][_0xedbb[58]](_0x631ex1d[_0xedbb[57]]);_0x631ex1e[_0xedbb[61]](_0x631ex1d[_0xedbb[16]],_0x631ex1f,function(_0x631ex8,_0x631ex20){if(_0x631ex8){return _0x631ex6[_0xedbb[7]](400)[_0xedbb[6]](_0x631ex8)};return _0x631ex6[_0xedbb[60]](200);});})[_0xedbb[36]](handleError(_0x631ex6))};exports[_0xedbb[62]]=function(_0x631ex10,_0x631ex6){var _0x631ex21={};_0x631ex21[_0x631ex10[_0xedbb[49]][_0xedbb[63]]]=_0x631ex10[_0xedbb[52]][_0xedbb[64]];SalesforceAccount[_0xedbb[46]]({where:_0x631ex21})[_0xedbb[10]](function(_0x631ex19){if(_0x631ex19[_0xedbb[37]]){return _0x631ex6[_0xedbb[7]](200)[_0xedbb[6]]({isValid:false,value:_0x631ex10[_0xedbb[52]][_0xedbb[64]]})};return _0x631ex6[_0xedbb[7]](200)[_0xedbb[6]]({isValid:true,value:_0x631ex10[_0xedbb[52]][_0xedbb[64]]});})[_0xedbb[36]](function(_0x631ex8){return handleError(_0x631ex6,_0x631ex8)});};exports[_0xedbb[65]]=function(_0x631ex10,_0x631ex6){SalesforceAccount[_0xedbb[50]](_0x631ex10[_0xedbb[49]][_0xedbb[48]])[_0xedbb[10]](handleEntityNotFound(_0x631ex6))[_0xedbb[10]](function(_0x631ex1d){var _0x631ex1e= new jsforce.Connection({oauth2:{loginUrl:_0x631ex1d[_0xedbb[17]],clientId:_0x631ex1d[_0xedbb[55]],clientSecret:_0x631ex1d[_0xedbb[56]]}});var _0x631ex1f=_0x631ex1d[_0xedbb[59]][_0xedbb[58]](_0x631ex1d[_0xedbb[57]]);_0x631ex1e[_0xedbb[61]](_0x631ex1d[_0xedbb[16]],_0x631ex1f,function(_0x631ex8,_0x631ex20){if(_0x631ex8){return _0x631ex6[_0xedbb[7]](400)[_0xedbb[6]](_0x631ex8)};_0x631ex1e[_0xedbb[69]](_0xedbb[68])[_0xedbb[67]](function(_0x631ex8,_0x631ex22){if(_0x631ex8){return _0x631ex6[_0xedbb[7]](400)[_0xedbb[6]](_0x631ex8)};return _0x631ex6[_0xedbb[7]](200)[_0xedbb[6]](_0x631ex22[_0xedbb[66]]);});});})[_0xedbb[36]](handleError(_0x631ex6))};exports[_0xedbb[70]]=function(_0x631ex10,_0x631ex6){SalesforceAccount[_0xedbb[12]]({where:{id:_0x631ex10[_0xedbb[19]][_0xedbb[48]]},individualHooks:true})[_0xedbb[10]](function(){return _0x631ex6[_0xedbb[60]](204)})[_0xedbb[36]](function(_0x631ex8){return handleError(_0x631ex6,_0x631ex8)})};
\ No newline at end of file
index 5605e8c..c677c31 100644 (file)
@@ -1 +1 @@
-var _0x7618=["\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"];_0x7618[0];var SalesforceAccount=require(_0x7618[2])[_0x7618[1]];exports[_0x7618[3]]=function(_0xe718x2){SalesforceAccount[_0x7618[4]](function(_0xe718x3){onSave(_0xe718x2,_0xe718x3)});SalesforceAccount[_0x7618[5]](function(_0xe718x3){onRemove(_0xe718x2,_0xe718x3)});};function onSave(_0xe718x2,_0xe718x3,_0xe718x5){_0xe718x2[_0x7618[7]](_0x7618[6],_0xe718x3)}function onRemove(_0xe718x2,_0xe718x3,_0xe718x5){_0xe718x2[_0x7618[7]](_0x7618[8],_0xe718x3)}
\ No newline at end of file
+var _0xfc46=["\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"];_0xfc46[0];var SalesforceAccount=require(_0xfc46[2])[_0xfc46[1]];exports[_0xfc46[3]]=function(_0x6a2fx2){SalesforceAccount[_0xfc46[4]](function(_0x6a2fx3){onSave(_0x6a2fx2,_0x6a2fx3)});SalesforceAccount[_0xfc46[5]](function(_0x6a2fx3){onRemove(_0x6a2fx2,_0x6a2fx3)});};function onSave(_0x6a2fx2,_0x6a2fx3,_0x6a2fx5){_0x6a2fx2[_0xfc46[7]](_0xfc46[6],_0x6a2fx3)}function onRemove(_0x6a2fx2,_0x6a2fx3,_0x6a2fx5){_0x6a2fx2[_0xfc46[7]](_0xfc46[8],_0x6a2fx3)}
\ No newline at end of file
index cf430d6..8dd9cf6 100644 (file)
@@ -1 +1 @@
-var _0xd4c7=["\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","\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"];_0xd4c7[0];var express=require(_0xd4c7[1]);var auth=require(_0xd4c7[2]);var controller=require(_0xd4c7[3]);var router=express.Router();router[_0xd4c7[7]](_0xd4c7[4],auth[_0xd4c7[5]](),controller[_0xd4c7[6]]);router[_0xd4c7[7]](_0xd4c7[8],auth[_0xd4c7[5]](),controller[_0xd4c7[9]]);router[_0xd4c7[11]](_0xd4c7[4],auth[_0xd4c7[5]](),controller[_0xd4c7[10]]);router[_0xd4c7[13]](_0xd4c7[8],auth[_0xd4c7[5]](),controller[_0xd4c7[12]]);router[_0xd4c7[11]](_0xd4c7[14],auth[_0xd4c7[5]](),controller[_0xd4c7[15]]);router[_0xd4c7[16]](_0xd4c7[8],auth[_0xd4c7[5]](),controller[_0xd4c7[12]]);router[_0xd4c7[18]](_0xd4c7[8],auth[_0xd4c7[5]](),controller[_0xd4c7[17]]);module[_0xd4c7[19]]=router;
\ No newline at end of file
+var _0x8e1b=["\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","\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"];_0x8e1b[0];var express=require(_0x8e1b[1]);var auth=require(_0x8e1b[2]);var controller=require(_0x8e1b[3]);var router=express.Router();router[_0x8e1b[7]](_0x8e1b[4],auth[_0x8e1b[5]](),controller[_0x8e1b[6]]);router[_0x8e1b[7]](_0x8e1b[8],auth[_0x8e1b[5]](),controller[_0x8e1b[9]]);router[_0x8e1b[11]](_0x8e1b[4],auth[_0x8e1b[5]](),controller[_0x8e1b[10]]);router[_0x8e1b[13]](_0x8e1b[8],auth[_0x8e1b[5]](),controller[_0x8e1b[12]]);router[_0x8e1b[11]](_0x8e1b[14],auth[_0x8e1b[5]](),controller[_0x8e1b[15]]);router[_0x8e1b[16]](_0x8e1b[8],auth[_0x8e1b[5]](),controller[_0x8e1b[12]]);router[_0x8e1b[18]](_0x8e1b[8],auth[_0x8e1b[5]](),controller[_0x8e1b[17]]);module[_0x8e1b[19]]=router;
\ No newline at end of file
index f0b5bed..3b429a2 100644 (file)
@@ -1 +1 @@
-var _0x2b11=["\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\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\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","\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\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\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\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\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\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","\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\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\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\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\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\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\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\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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"];_0x2b11[0];var proxyquire=require(_0x2b11[2])[_0x2b11[1]]();var salesforceConfigurationCtrlStub={index:_0x2b11[3],show:_0x2b11[4],create:_0x2b11[5],update:_0x2b11[6],destroy:_0x2b11[7]};var routerStub={get:sinon[_0x2b11[8]](),put:sinon[_0x2b11[8]](),patch:sinon[_0x2b11[8]](),post:sinon[_0x2b11[8]](),delete:sinon[_0x2b11[8]]()};var salesforceConfigurationIndex=proxyquire(_0x2b11[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\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72":salesforceConfigurationCtrlStub});describe(_0x2b11[10],function(){it(_0x2b11[11],function(){expect(salesforceConfigurationIndex)[_0x2b11[13]][_0x2b11[12]](routerStub)});describe(_0x2b11[14],function(){it(_0x2b11[15],function(){expect(routerStub[_0x2b11[21]][_0x2b11[20]](_0x2b11[19],_0x2b11[3]))[_0x2b11[13]][_0x2b11[18]][_0x2b11[17]][_0x2b11[16]]})});describe(_0x2b11[22],function(){it(_0x2b11[23],function(){expect(routerStub[_0x2b11[21]][_0x2b11[20]](_0x2b11[24],_0x2b11[4]))[_0x2b11[13]][_0x2b11[18]][_0x2b11[17]][_0x2b11[16]]})});describe(_0x2b11[25],function(){it(_0x2b11[26],function(){expect(routerStub[_0x2b11[27]][_0x2b11[20]](_0x2b11[19],_0x2b11[5]))[_0x2b11[13]][_0x2b11[18]][_0x2b11[17]][_0x2b11[16]]})});describe(_0x2b11[28],function(){it(_0x2b11[29],function(){expect(routerStub[_0x2b11[30]][_0x2b11[20]](_0x2b11[24],_0x2b11[6]))[_0x2b11[13]][_0x2b11[18]][_0x2b11[17]][_0x2b11[16]]})});describe(_0x2b11[31],function(){it(_0x2b11[29],function(){expect(routerStub[_0x2b11[32]][_0x2b11[20]](_0x2b11[24],_0x2b11[6]))[_0x2b11[13]][_0x2b11[18]][_0x2b11[17]][_0x2b11[16]]})});describe(_0x2b11[33],function(){it(_0x2b11[34],function(){expect(routerStub[_0x2b11[35]][_0x2b11[20]](_0x2b11[24],_0x2b11[7]))[_0x2b11[13]][_0x2b11[18]][_0x2b11[17]][_0x2b11[16]]})});});
\ No newline at end of file
+var _0xfa52=["\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\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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\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","\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\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\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\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\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\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","\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\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\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\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\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\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\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\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\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\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"];_0xfa52[0];var proxyquire=require(_0xfa52[2])[_0xfa52[1]]();var salesforceConfigurationCtrlStub={index:_0xfa52[3],show:_0xfa52[4],create:_0xfa52[5],update:_0xfa52[6],destroy:_0xfa52[7]};var routerStub={get:sinon[_0xfa52[8]](),put:sinon[_0xfa52[8]](),patch:sinon[_0xfa52[8]](),post:sinon[_0xfa52[8]](),delete:sinon[_0xfa52[8]]()};var salesforceConfigurationIndex=proxyquire(_0xfa52[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\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72":salesforceConfigurationCtrlStub});describe(_0xfa52[10],function(){it(_0xfa52[11],function(){expect(salesforceConfigurationIndex)[_0xfa52[13]][_0xfa52[12]](routerStub)});describe(_0xfa52[14],function(){it(_0xfa52[15],function(){expect(routerStub[_0xfa52[21]][_0xfa52[20]](_0xfa52[19],_0xfa52[3]))[_0xfa52[13]][_0xfa52[18]][_0xfa52[17]][_0xfa52[16]]})});describe(_0xfa52[22],function(){it(_0xfa52[23],function(){expect(routerStub[_0xfa52[21]][_0xfa52[20]](_0xfa52[24],_0xfa52[4]))[_0xfa52[13]][_0xfa52[18]][_0xfa52[17]][_0xfa52[16]]})});describe(_0xfa52[25],function(){it(_0xfa52[26],function(){expect(routerStub[_0xfa52[27]][_0xfa52[20]](_0xfa52[19],_0xfa52[5]))[_0xfa52[13]][_0xfa52[18]][_0xfa52[17]][_0xfa52[16]]})});describe(_0xfa52[28],function(){it(_0xfa52[29],function(){expect(routerStub[_0xfa52[30]][_0xfa52[20]](_0xfa52[24],_0xfa52[6]))[_0xfa52[13]][_0xfa52[18]][_0xfa52[17]][_0xfa52[16]]})});describe(_0xfa52[31],function(){it(_0xfa52[29],function(){expect(routerStub[_0xfa52[32]][_0xfa52[20]](_0xfa52[24],_0xfa52[6]))[_0xfa52[13]][_0xfa52[18]][_0xfa52[17]][_0xfa52[16]]})});describe(_0xfa52[33],function(){it(_0xfa52[34],function(){expect(routerStub[_0xfa52[35]][_0xfa52[20]](_0xfa52[24],_0xfa52[7]))[_0xfa52[13]][_0xfa52[18]][_0xfa52[17]][_0xfa52[16]]})});});
\ No newline at end of file
index cf92aab..9a0ad3d 100644 (file)
@@ -1 +1 @@
-var _0xb58d=["\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"];_0xb58d[0];var _=require(_0xb58d[1]);var SalesforceConfiguration=require(_0xb58d[3])[_0xb58d[2]];var SalesforceField=require(_0xb58d[3])[_0xb58d[4]];function handleError(_0x8c0bx5,_0x8c0bx6){_0x8c0bx6=_0x8c0bx6||500;return function(_0x8c0bx7){_0x8c0bx5[_0xb58d[6]](_0x8c0bx6)[_0xb58d[5]](_0x8c0bx7)};}function responseWithResult(_0x8c0bx5,_0x8c0bx6){_0x8c0bx6=_0x8c0bx6||200;return function(_0x8c0bx9){if(_0x8c0bx9){_0x8c0bx5[_0xb58d[6]](_0x8c0bx6)[_0xb58d[7]](_0x8c0bx9)}};}function handleEntityNotFound(_0x8c0bx5){return function(_0x8c0bx9){if(!_0x8c0bx9){_0x8c0bx5[_0xb58d[6]](404)[_0xb58d[8]]();return null;};return _0x8c0bx9;}}function saveUpdates(_0x8c0bxc){return function(_0x8c0bx9){return _0x8c0bx9[_0xb58d[10]](_0x8c0bxc)[_0xb58d[9]](function(_0x8c0bxd){return _0x8c0bxd})}}function removeEntity(_0x8c0bx5){return function(_0x8c0bx9){if(_0x8c0bx9){return _0x8c0bx9[_0xb58d[11]]()[_0xb58d[9]](function(){_0x8c0bx5[_0xb58d[6]](204)[_0xb58d[8]]()})}}}exports[_0xb58d[12]]=function(_0x8c0bxf,_0x8c0bx5){SalesforceConfiguration[_0xb58d[15]]({where:_0x8c0bxf[_0xb58d[14]]})[_0xb58d[9]](responseWithResult(_0x8c0bx5))[_0xb58d[13]](handleError(_0x8c0bx5))};exports[_0xb58d[16]]=function(_0x8c0bxf,_0x8c0bx5){SalesforceConfiguration[_0xb58d[22]]({where:{id:_0x8c0bxf[_0xb58d[18]][_0xb58d[17]]},include:[{model:SalesforceField,as:_0xb58d[19]},{model:SalesforceField,as:_0xb58d[20]},{model:SalesforceField,as:_0xb58d[21]}]})[_0xb58d[9]](handleEntityNotFound(_0x8c0bx5))[_0xb58d[9]](responseWithResult(_0x8c0bx5))[_0xb58d[13]](handleError(_0x8c0bx5))};exports[_0xb58d[23]]=function(_0x8c0bxf,_0x8c0bx5){SalesforceConfiguration[_0xb58d[23]](_0x8c0bxf[_0xb58d[24]])[_0xb58d[9]](responseWithResult(_0x8c0bx5,201))[_0xb58d[13]](handleError(_0x8c0bx5))};exports[_0xb58d[25]]=function(_0x8c0bxf,_0x8c0bx5){if(_0x8c0bxf[_0xb58d[24]][_0xb58d[17]]){delete _0x8c0bxf[_0xb58d[24]][_0xb58d[17]]};SalesforceConfiguration[_0xb58d[26]](_0x8c0bxf[_0xb58d[18]][_0xb58d[17]])[_0xb58d[9]](handleEntityNotFound(_0x8c0bx5))[_0xb58d[9]](saveUpdates(_0x8c0bxf[_0xb58d[24]]))[_0xb58d[9]](responseWithResult(_0x8c0bx5))[_0xb58d[13]](handleError(_0x8c0bx5));};exports[_0xb58d[11]]=function(_0x8c0bxf,_0x8c0bx5){SalesforceConfiguration[_0xb58d[26]](_0x8c0bxf[_0xb58d[18]][_0xb58d[17]])[_0xb58d[9]](handleEntityNotFound(_0x8c0bx5))[_0xb58d[9]](removeEntity(_0x8c0bx5))[_0xb58d[13]](handleError(_0x8c0bx5))};exports[_0xb58d[27]]=function(_0x8c0bxf,_0x8c0bx5,_0x8c0bx10){var _0x8c0bx11;SalesforceConfiguration[_0xb58d[26]](_0x8c0bxf[_0xb58d[18]][_0xb58d[17]])[_0xb58d[9]](handleEntityNotFound(_0x8c0bx5))[_0xb58d[9]](function(_0x8c0bx14){_0x8c0bx11=_0x8c0bx14;return SalesforceField[_0xb58d[23]](_0x8c0bxf[_0xb58d[24]]);})[_0xb58d[9]](function(_0x8c0bx13){switch(_0x8c0bxf[_0xb58d[18]][_0xb58d[35]]){case _0xb58d[30]:return [_0x8c0bx11[_0xb58d[29]](_0x8c0bx13),_0x8c0bx13];;case _0xb58d[32]:return [_0x8c0bx11[_0xb58d[31]](_0x8c0bx13),_0x8c0bx13];;case _0xb58d[34]:return [_0x8c0bx11[_0xb58d[33]](_0x8c0bx13),_0x8c0bx13];;}})[_0xb58d[28]](function(_0x8c0bx12,_0x8c0bx13){return _0x8c0bx5[_0xb58d[6]](201)[_0xb58d[7]](_0x8c0bx13)})[_0xb58d[13]](handleError(_0x8c0bx5));};
\ No newline at end of file
+var _0x8216=["\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"];_0x8216[0];var _=require(_0x8216[1]);var SalesforceConfiguration=require(_0x8216[3])[_0x8216[2]];var SalesforceField=require(_0x8216[3])[_0x8216[4]];function handleError(_0x4097x5,_0x4097x6){_0x4097x6=_0x4097x6||500;return function(_0x4097x7){_0x4097x5[_0x8216[6]](_0x4097x6)[_0x8216[5]](_0x4097x7)};}function responseWithResult(_0x4097x5,_0x4097x6){_0x4097x6=_0x4097x6||200;return function(_0x4097x9){if(_0x4097x9){_0x4097x5[_0x8216[6]](_0x4097x6)[_0x8216[7]](_0x4097x9)}};}function handleEntityNotFound(_0x4097x5){return function(_0x4097x9){if(!_0x4097x9){_0x4097x5[_0x8216[6]](404)[_0x8216[8]]();return null;};return _0x4097x9;}}function saveUpdates(_0x4097xc){return function(_0x4097x9){return _0x4097x9[_0x8216[10]](_0x4097xc)[_0x8216[9]](function(_0x4097xd){return _0x4097xd})}}function removeEntity(_0x4097x5){return function(_0x4097x9){if(_0x4097x9){return _0x4097x9[_0x8216[11]]()[_0x8216[9]](function(){_0x4097x5[_0x8216[6]](204)[_0x8216[8]]()})}}}exports[_0x8216[12]]=function(_0x4097xf,_0x4097x5){SalesforceConfiguration[_0x8216[15]]({where:_0x4097xf[_0x8216[14]]})[_0x8216[9]](responseWithResult(_0x4097x5))[_0x8216[13]](handleError(_0x4097x5))};exports[_0x8216[16]]=function(_0x4097xf,_0x4097x5){SalesforceConfiguration[_0x8216[22]]({where:{id:_0x4097xf[_0x8216[18]][_0x8216[17]]},include:[{model:SalesforceField,as:_0x8216[19]},{model:SalesforceField,as:_0x8216[20]},{model:SalesforceField,as:_0x8216[21]}]})[_0x8216[9]](handleEntityNotFound(_0x4097x5))[_0x8216[9]](responseWithResult(_0x4097x5))[_0x8216[13]](handleError(_0x4097x5))};exports[_0x8216[23]]=function(_0x4097xf,_0x4097x5){SalesforceConfiguration[_0x8216[23]](_0x4097xf[_0x8216[24]])[_0x8216[9]](responseWithResult(_0x4097x5,201))[_0x8216[13]](handleError(_0x4097x5))};exports[_0x8216[25]]=function(_0x4097xf,_0x4097x5){if(_0x4097xf[_0x8216[24]][_0x8216[17]]){delete _0x4097xf[_0x8216[24]][_0x8216[17]]};SalesforceConfiguration[_0x8216[26]](_0x4097xf[_0x8216[18]][_0x8216[17]])[_0x8216[9]](handleEntityNotFound(_0x4097x5))[_0x8216[9]](saveUpdates(_0x4097xf[_0x8216[24]]))[_0x8216[9]](responseWithResult(_0x4097x5))[_0x8216[13]](handleError(_0x4097x5));};exports[_0x8216[11]]=function(_0x4097xf,_0x4097x5){SalesforceConfiguration[_0x8216[26]](_0x4097xf[_0x8216[18]][_0x8216[17]])[_0x8216[9]](handleEntityNotFound(_0x4097x5))[_0x8216[9]](removeEntity(_0x4097x5))[_0x8216[13]](handleError(_0x4097x5))};exports[_0x8216[27]]=function(_0x4097xf,_0x4097x5,_0x4097x10){var _0x4097x11;SalesforceConfiguration[_0x8216[26]](_0x4097xf[_0x8216[18]][_0x8216[17]])[_0x8216[9]](handleEntityNotFound(_0x4097x5))[_0x8216[9]](function(_0x4097x14){_0x4097x11=_0x4097x14;return SalesforceField[_0x8216[23]](_0x4097xf[_0x8216[24]]);})[_0x8216[9]](function(_0x4097x13){switch(_0x4097xf[_0x8216[18]][_0x8216[35]]){case _0x8216[30]:return [_0x4097x11[_0x8216[29]](_0x4097x13),_0x4097x13];;case _0x8216[32]:return [_0x4097x11[_0x8216[31]](_0x4097x13),_0x4097x13];;case _0x8216[34]:return [_0x4097x11[_0x8216[33]](_0x4097x13),_0x4097x13];;}})[_0x8216[28]](function(_0x4097x12,_0x4097x13){return _0x4097x5[_0x8216[6]](201)[_0x8216[7]](_0x4097x13)})[_0x8216[13]](handleError(_0x4097x5));};
\ No newline at end of file
index f6bd10b..0a2225b 100644 (file)
@@ -1 +1 @@
-var _0xfbdf=["\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"];_0xfbdf[0];var SalesforceConfiguration=require(_0xfbdf[2])[_0xfbdf[1]];exports[_0xfbdf[3]]=function(_0xe3cax2){SalesforceConfiguration[_0xfbdf[4]](function(_0xe3cax3){onSave(_0xe3cax2,_0xe3cax3)});SalesforceConfiguration[_0xfbdf[5]](function(_0xe3cax3){onRemove(_0xe3cax2,_0xe3cax3)});};function onSave(_0xe3cax2,_0xe3cax3,_0xe3cax5){_0xe3cax2[_0xfbdf[7]](_0xfbdf[6],_0xe3cax3)}function onRemove(_0xe3cax2,_0xe3cax3,_0xe3cax5){_0xe3cax2[_0xfbdf[7]](_0xfbdf[8],_0xe3cax3)}
\ No newline at end of file
+var _0x276d=["\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"];_0x276d[0];var SalesforceConfiguration=require(_0x276d[2])[_0x276d[1]];exports[_0x276d[3]]=function(_0x1a27x2){SalesforceConfiguration[_0x276d[4]](function(_0x1a27x3){onSave(_0x1a27x2,_0x1a27x3)});SalesforceConfiguration[_0x276d[5]](function(_0x1a27x3){onRemove(_0x1a27x2,_0x1a27x3)});};function onSave(_0x1a27x2,_0x1a27x3,_0x1a27x5){_0x1a27x2[_0x276d[7]](_0x276d[6],_0x1a27x3)}function onRemove(_0x1a27x2,_0x1a27x3,_0x1a27x5){_0x1a27x2[_0x276d[7]](_0x276d[8],_0x1a27x3)}
\ No newline at end of file
index 48b856c..286b8c4 100644 (file)
@@ -1 +1 @@
-var _0xc29a=["\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","\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"];_0xc29a[0];var express=require(_0xc29a[1]);var auth=require(_0xc29a[2]);var controller=require(_0xc29a[3]);var router=express.Router();router[_0xc29a[7]](_0xc29a[4],auth[_0xc29a[5]](),controller[_0xc29a[6]]);router[_0xc29a[7]](_0xc29a[8],auth[_0xc29a[5]](),controller[_0xc29a[9]]);router[_0xc29a[11]](_0xc29a[4],auth[_0xc29a[5]](),controller[_0xc29a[10]]);router[_0xc29a[13]](_0xc29a[8],auth[_0xc29a[5]](),controller[_0xc29a[12]]);router[_0xc29a[14]](_0xc29a[8],auth[_0xc29a[5]](),controller[_0xc29a[12]]);router[_0xc29a[16]](_0xc29a[8],auth[_0xc29a[5]](),controller[_0xc29a[15]]);module[_0xc29a[17]]=router;
\ No newline at end of file
+var _0xbff5=["\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","\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"];_0xbff5[0];var express=require(_0xbff5[1]);var auth=require(_0xbff5[2]);var controller=require(_0xbff5[3]);var router=express.Router();router[_0xbff5[7]](_0xbff5[4],auth[_0xbff5[5]](),controller[_0xbff5[6]]);router[_0xbff5[7]](_0xbff5[8],auth[_0xbff5[5]](),controller[_0xbff5[9]]);router[_0xbff5[11]](_0xbff5[4],auth[_0xbff5[5]](),controller[_0xbff5[10]]);router[_0xbff5[13]](_0xbff5[8],auth[_0xbff5[5]](),controller[_0xbff5[12]]);router[_0xbff5[14]](_0xbff5[8],auth[_0xbff5[5]](),controller[_0xbff5[12]]);router[_0xbff5[16]](_0xbff5[8],auth[_0xbff5[5]](),controller[_0xbff5[15]]);module[_0xbff5[17]]=router;
\ No newline at end of file
index 0e6dc69..b7c916a 100644 (file)
@@ -1 +1 @@
-var _0x3469=["\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"];_0x3469[0];var proxyquire=require(_0x3469[2])[_0x3469[1]]();var salesforceFieldCtrlStub={index:_0x3469[3],show:_0x3469[4],create:_0x3469[5],update:_0x3469[6],destroy:_0x3469[7]};var routerStub={get:sinon[_0x3469[8]](),put:sinon[_0x3469[8]](),patch:sinon[_0x3469[8]](),post:sinon[_0x3469[8]](),delete:sinon[_0x3469[8]]()};var salesforceFieldIndex=proxyquire(_0x3469[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(_0x3469[10],function(){it(_0x3469[11],function(){expect(salesforceFieldIndex)[_0x3469[13]][_0x3469[12]](routerStub)});describe(_0x3469[14],function(){it(_0x3469[15],function(){expect(routerStub[_0x3469[21]][_0x3469[20]](_0x3469[19],_0x3469[3]))[_0x3469[13]][_0x3469[18]][_0x3469[17]][_0x3469[16]]})});describe(_0x3469[22],function(){it(_0x3469[23],function(){expect(routerStub[_0x3469[21]][_0x3469[20]](_0x3469[24],_0x3469[4]))[_0x3469[13]][_0x3469[18]][_0x3469[17]][_0x3469[16]]})});describe(_0x3469[25],function(){it(_0x3469[26],function(){expect(routerStub[_0x3469[27]][_0x3469[20]](_0x3469[19],_0x3469[5]))[_0x3469[13]][_0x3469[18]][_0x3469[17]][_0x3469[16]]})});describe(_0x3469[28],function(){it(_0x3469[29],function(){expect(routerStub[_0x3469[30]][_0x3469[20]](_0x3469[24],_0x3469[6]))[_0x3469[13]][_0x3469[18]][_0x3469[17]][_0x3469[16]]})});describe(_0x3469[31],function(){it(_0x3469[29],function(){expect(routerStub[_0x3469[32]][_0x3469[20]](_0x3469[24],_0x3469[6]))[_0x3469[13]][_0x3469[18]][_0x3469[17]][_0x3469[16]]})});describe(_0x3469[33],function(){it(_0x3469[34],function(){expect(routerStub[_0x3469[35]][_0x3469[20]](_0x3469[24],_0x3469[7]))[_0x3469[13]][_0x3469[18]][_0x3469[17]][_0x3469[16]]})});});
\ No newline at end of file
+var _0xc0a8=["\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"];_0xc0a8[0];var proxyquire=require(_0xc0a8[2])[_0xc0a8[1]]();var salesforceFieldCtrlStub={index:_0xc0a8[3],show:_0xc0a8[4],create:_0xc0a8[5],update:_0xc0a8[6],destroy:_0xc0a8[7]};var routerStub={get:sinon[_0xc0a8[8]](),put:sinon[_0xc0a8[8]](),patch:sinon[_0xc0a8[8]](),post:sinon[_0xc0a8[8]](),delete:sinon[_0xc0a8[8]]()};var salesforceFieldIndex=proxyquire(_0xc0a8[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(_0xc0a8[10],function(){it(_0xc0a8[11],function(){expect(salesforceFieldIndex)[_0xc0a8[13]][_0xc0a8[12]](routerStub)});describe(_0xc0a8[14],function(){it(_0xc0a8[15],function(){expect(routerStub[_0xc0a8[21]][_0xc0a8[20]](_0xc0a8[19],_0xc0a8[3]))[_0xc0a8[13]][_0xc0a8[18]][_0xc0a8[17]][_0xc0a8[16]]})});describe(_0xc0a8[22],function(){it(_0xc0a8[23],function(){expect(routerStub[_0xc0a8[21]][_0xc0a8[20]](_0xc0a8[24],_0xc0a8[4]))[_0xc0a8[13]][_0xc0a8[18]][_0xc0a8[17]][_0xc0a8[16]]})});describe(_0xc0a8[25],function(){it(_0xc0a8[26],function(){expect(routerStub[_0xc0a8[27]][_0xc0a8[20]](_0xc0a8[19],_0xc0a8[5]))[_0xc0a8[13]][_0xc0a8[18]][_0xc0a8[17]][_0xc0a8[16]]})});describe(_0xc0a8[28],function(){it(_0xc0a8[29],function(){expect(routerStub[_0xc0a8[30]][_0xc0a8[20]](_0xc0a8[24],_0xc0a8[6]))[_0xc0a8[13]][_0xc0a8[18]][_0xc0a8[17]][_0xc0a8[16]]})});describe(_0xc0a8[31],function(){it(_0xc0a8[29],function(){expect(routerStub[_0xc0a8[32]][_0xc0a8[20]](_0xc0a8[24],_0xc0a8[6]))[_0xc0a8[13]][_0xc0a8[18]][_0xc0a8[17]][_0xc0a8[16]]})});describe(_0xc0a8[33],function(){it(_0xc0a8[34],function(){expect(routerStub[_0xc0a8[35]][_0xc0a8[20]](_0xc0a8[24],_0xc0a8[7]))[_0xc0a8[13]][_0xc0a8[18]][_0xc0a8[17]][_0xc0a8[16]]})});});
\ No newline at end of file
index 1fc14f9..1828b06 100644 (file)
@@ -1 +1 @@
-var _0xab86=["\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"];_0xab86[0];var _=require(_0xab86[1]);var SalesforceField=require(_0xab86[3])[_0xab86[2]];function handleError(_0x808dx4,_0x808dx5){_0x808dx5=_0x808dx5||500;return function(_0x808dx6){_0x808dx4[_0xab86[5]](_0x808dx5)[_0xab86[4]](_0x808dx6)};}function responseWithResult(_0x808dx4,_0x808dx5){_0x808dx5=_0x808dx5||200;return function(_0x808dx8){if(_0x808dx8){_0x808dx4[_0xab86[5]](_0x808dx5)[_0xab86[6]](_0x808dx8)}};}function handleEntityNotFound(_0x808dx4){return function(_0x808dx8){if(!_0x808dx8){_0x808dx4[_0xab86[5]](404)[_0xab86[7]]();return null;};return _0x808dx8;}}function saveUpdates(_0x808dxb){return function(_0x808dx8){return _0x808dx8[_0xab86[9]](_0x808dxb)[_0xab86[8]](function(_0x808dxc){return _0x808dxc})}}function removeEntity(_0x808dx4){return function(_0x808dx8){if(_0x808dx8){return _0x808dx8[_0xab86[10]]()[_0xab86[8]](function(){_0x808dx4[_0xab86[5]](204)[_0xab86[7]]()})}}}exports[_0xab86[11]]=function(_0x808dxe,_0x808dx4){SalesforceField[_0xab86[13]]()[_0xab86[8]](responseWithResult(_0x808dx4))[_0xab86[12]](handleError(_0x808dx4))};exports[_0xab86[14]]=function(_0x808dxe,_0x808dx4){SalesforceField[_0xab86[17]](_0x808dxe[_0xab86[16]][_0xab86[15]])[_0xab86[8]](handleEntityNotFound(_0x808dx4))[_0xab86[8]](responseWithResult(_0x808dx4))[_0xab86[12]](handleError(_0x808dx4))};exports[_0xab86[18]]=function(_0x808dxe,_0x808dx4){SalesforceField[_0xab86[18]](_0x808dxe[_0xab86[19]])[_0xab86[8]](responseWithResult(_0x808dx4,201))[_0xab86[12]](handleError(_0x808dx4))};exports[_0xab86[20]]=function(_0x808dxe,_0x808dx4){if(_0x808dxe[_0xab86[19]][_0xab86[15]]){delete _0x808dxe[_0xab86[19]][_0xab86[15]]};SalesforceField[_0xab86[17]](_0x808dxe[_0xab86[16]][_0xab86[15]])[_0xab86[8]](handleEntityNotFound(_0x808dx4))[_0xab86[8]](saveUpdates(_0x808dxe[_0xab86[19]]))[_0xab86[8]](responseWithResult(_0x808dx4))[_0xab86[12]](handleError(_0x808dx4));};exports[_0xab86[10]]=function(_0x808dxe,_0x808dx4){SalesforceField[_0xab86[17]](_0x808dxe[_0xab86[16]][_0xab86[15]])[_0xab86[8]](handleEntityNotFound(_0x808dx4))[_0xab86[8]](removeEntity(_0x808dx4))[_0xab86[12]](handleError(_0x808dx4))};
\ No newline at end of file
+var _0x459f=["\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"];_0x459f[0];var _=require(_0x459f[1]);var SalesforceField=require(_0x459f[3])[_0x459f[2]];function handleError(_0xb933x4,_0xb933x5){_0xb933x5=_0xb933x5||500;return function(_0xb933x6){_0xb933x4[_0x459f[5]](_0xb933x5)[_0x459f[4]](_0xb933x6)};}function responseWithResult(_0xb933x4,_0xb933x5){_0xb933x5=_0xb933x5||200;return function(_0xb933x8){if(_0xb933x8){_0xb933x4[_0x459f[5]](_0xb933x5)[_0x459f[6]](_0xb933x8)}};}function handleEntityNotFound(_0xb933x4){return function(_0xb933x8){if(!_0xb933x8){_0xb933x4[_0x459f[5]](404)[_0x459f[7]]();return null;};return _0xb933x8;}}function saveUpdates(_0xb933xb){return function(_0xb933x8){return _0xb933x8[_0x459f[9]](_0xb933xb)[_0x459f[8]](function(_0xb933xc){return _0xb933xc})}}function removeEntity(_0xb933x4){return function(_0xb933x8){if(_0xb933x8){return _0xb933x8[_0x459f[10]]()[_0x459f[8]](function(){_0xb933x4[_0x459f[5]](204)[_0x459f[7]]()})}}}exports[_0x459f[11]]=function(_0xb933xe,_0xb933x4){SalesforceField[_0x459f[13]]()[_0x459f[8]](responseWithResult(_0xb933x4))[_0x459f[12]](handleError(_0xb933x4))};exports[_0x459f[14]]=function(_0xb933xe,_0xb933x4){SalesforceField[_0x459f[17]](_0xb933xe[_0x459f[16]][_0x459f[15]])[_0x459f[8]](handleEntityNotFound(_0xb933x4))[_0x459f[8]](responseWithResult(_0xb933x4))[_0x459f[12]](handleError(_0xb933x4))};exports[_0x459f[18]]=function(_0xb933xe,_0xb933x4){SalesforceField[_0x459f[18]](_0xb933xe[_0x459f[19]])[_0x459f[8]](responseWithResult(_0xb933x4,201))[_0x459f[12]](handleError(_0xb933x4))};exports[_0x459f[20]]=function(_0xb933xe,_0xb933x4){if(_0xb933xe[_0x459f[19]][_0x459f[15]]){delete _0xb933xe[_0x459f[19]][_0x459f[15]]};SalesforceField[_0x459f[17]](_0xb933xe[_0x459f[16]][_0x459f[15]])[_0x459f[8]](handleEntityNotFound(_0xb933x4))[_0x459f[8]](saveUpdates(_0xb933xe[_0x459f[19]]))[_0x459f[8]](responseWithResult(_0xb933x4))[_0x459f[12]](handleError(_0xb933x4));};exports[_0x459f[10]]=function(_0xb933xe,_0xb933x4){SalesforceField[_0x459f[17]](_0xb933xe[_0x459f[16]][_0x459f[15]])[_0x459f[8]](handleEntityNotFound(_0xb933x4))[_0x459f[8]](removeEntity(_0xb933x4))[_0x459f[12]](handleError(_0xb933x4))};
\ No newline at end of file
index 0a9ad6f..bd7b898 100644 (file)
@@ -1 +1 @@
-var _0xd569=["\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"];_0xd569[0];var SalesforceField=require(_0xd569[2])[_0xd569[1]];exports[_0xd569[3]]=function(_0x97f9x2){SalesforceField[_0xd569[4]](function(_0x97f9x3){onSave(_0x97f9x2,_0x97f9x3)});SalesforceField[_0xd569[5]](function(_0x97f9x3){onRemove(_0x97f9x2,_0x97f9x3)});};function onSave(_0x97f9x2,_0x97f9x3,_0x97f9x5){_0x97f9x2[_0xd569[7]](_0xd569[6],_0x97f9x3)}function onRemove(_0x97f9x2,_0x97f9x3,_0x97f9x5){_0x97f9x2[_0xd569[7]](_0xd569[8],_0x97f9x3)}
\ No newline at end of file
+var _0x5249=["\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"];_0x5249[0];var SalesforceField=require(_0x5249[2])[_0x5249[1]];exports[_0x5249[3]]=function(_0xce89x2){SalesforceField[_0x5249[4]](function(_0xce89x3){onSave(_0xce89x2,_0xce89x3)});SalesforceField[_0x5249[5]](function(_0xce89x3){onRemove(_0xce89x2,_0xce89x3)});};function onSave(_0xce89x2,_0xce89x3,_0xce89x5){_0xce89x2[_0x5249[7]](_0x5249[6],_0xce89x3)}function onRemove(_0xce89x2,_0xce89x3,_0xce89x5){_0xce89x2[_0x5249[7]](_0x5249[8],_0xce89x3)}
\ No newline at end of file
index ed1760c..a62790a 100644 (file)
@@ -1 +1 @@
-var _0x4003=["\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","\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\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","\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"];_0x4003[0];var express=require(_0x4003[1]);var controller=require(_0x4003[2]);var auth=require(_0x4003[3]);var router=express.Router();router[_0x4003[7]](_0x4003[4],auth[_0x4003[5]](),controller[_0x4003[6]]);router[_0x4003[7]](_0x4003[8],auth[_0x4003[5]](),controller[_0x4003[9]]);router[_0x4003[7]](_0x4003[10],controller[_0x4003[11]]);router[_0x4003[7]](_0x4003[12],auth[_0x4003[5]](),controller[_0x4003[13]]);router[_0x4003[15]](_0x4003[4],auth[_0x4003[5]](),controller[_0x4003[14]]);router[_0x4003[17]](_0x4003[12],auth[_0x4003[5]](),controller[_0x4003[16]]);router[_0x4003[18]](_0x4003[12],auth[_0x4003[5]](),controller[_0x4003[16]]);router[_0x4003[20]](_0x4003[12],auth[_0x4003[5]](),controller[_0x4003[19]]);module[_0x4003[21]]=router;
\ No newline at end of file
+var _0xfccd=["\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","\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\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","\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"];_0xfccd[0];var express=require(_0xfccd[1]);var controller=require(_0xfccd[2]);var auth=require(_0xfccd[3]);var router=express.Router();router[_0xfccd[7]](_0xfccd[4],auth[_0xfccd[5]](),controller[_0xfccd[6]]);router[_0xfccd[7]](_0xfccd[8],auth[_0xfccd[5]](),controller[_0xfccd[9]]);router[_0xfccd[7]](_0xfccd[10],controller[_0xfccd[11]]);router[_0xfccd[7]](_0xfccd[12],auth[_0xfccd[5]](),controller[_0xfccd[13]]);router[_0xfccd[15]](_0xfccd[4],auth[_0xfccd[5]](),controller[_0xfccd[14]]);router[_0xfccd[17]](_0xfccd[12],auth[_0xfccd[5]](),controller[_0xfccd[16]]);router[_0xfccd[18]](_0xfccd[12],auth[_0xfccd[5]](),controller[_0xfccd[16]]);router[_0xfccd[20]](_0xfccd[12],auth[_0xfccd[5]](),controller[_0xfccd[19]]);module[_0xfccd[21]]=router;
\ No newline at end of file
index 64e8c6d..6b918b7 100644 (file)
@@ -1 +1 @@
-var _0x75b4=["\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","\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","\x6C\x6F\x67","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x70\x6C\x75\x63\x6B","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x6D\x69\x6E\x5F\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x69\x6E\x64\x65\x78\x4F\x66","\x76\x61\x6C\x75\x65","\x66\x69\x6E\x64\x4F\x6E\x65","\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","\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"];_0x75b4[0];var _=require(_0x75b4[1]);var Settings=require(_0x75b4[3])[_0x75b4[2]];var Agent=require(_0x75b4[3])[_0x75b4[4]];exports[_0x75b4[5]]=function(_0x4aa0x4,_0x4aa0x5){Settings[_0x75b4[10]]()[_0x75b4[9]](function(_0x4aa0x7){return _0x4aa0x5[_0x75b4[8]](200)[_0x75b4[7]](_0x4aa0x7)})[_0x75b4[6]](function(_0x4aa0x6){return handleError(_0x4aa0x5,_0x4aa0x6)})};exports[_0x75b4[11]]=function(_0x4aa0x4,_0x4aa0x5){Settings[_0x75b4[19]]()[_0x75b4[9]](function(_0x4aa0x8){Agent[_0x75b4[10]]({where:{internal:{$gte:_0x4aa0x8[_0x75b4[16]]}}})[_0x75b4[9]](function(_0x4aa0x9){var _0x4aa0xa=_[_0x75b4[14]](_[_0x75b4[14]](_0x4aa0x9,_0x75b4[13]),_0x75b4[15]);var _0x4aa0xb=_0x4aa0x8[_0x75b4[16]];var _0x4aa0xc={value:null};do{if(_0x4aa0xa[_0x75b4[17]](_0x4aa0xb)=== -1){_0x4aa0xc[_0x75b4[18]]=_0x4aa0xb}else {_0x4aa0xb++}}while(!_0x4aa0xc[_0x75b4[18]]);;return _0x4aa0x5[_0x75b4[8]](200)[_0x75b4[7]](_0x4aa0xc);})[_0x75b4[6]](function(_0x4aa0x6){console[_0x75b4[12]](_0x4aa0x6);return handleError(_0x4aa0x5,_0x4aa0x6);})})[_0x75b4[6]](function(_0x4aa0x6){return handleError(_0x4aa0x5,_0x4aa0x6)})};exports[_0x75b4[20]]=function(_0x4aa0x4,_0x4aa0x5){var _0x4aa0xd=require(_0x75b4[21]);return _0x4aa0x5[_0x75b4[8]](200)[_0x75b4[7]]({name:_0x4aa0xd[_0x75b4[22]],version:_0x4aa0xd[_0x75b4[23]],engines:_0x4aa0xd[_0x75b4[24]]});};exports[_0x75b4[25]]=function(_0x4aa0x4,_0x4aa0x5){Settings[_0x75b4[29]](_0x4aa0x4[_0x75b4[28]][_0x75b4[27]])[_0x75b4[9]](function(_0x4aa0xe){if(!_0x4aa0xe){return _0x4aa0x5[_0x75b4[26]](404)};return _0x4aa0x5[_0x75b4[7]](_0x4aa0xe);})[_0x75b4[6]](function(_0x4aa0x6){return handleError(_0x4aa0x5,_0x4aa0x6)})};exports[_0x75b4[30]]=function(_0x4aa0x4,_0x4aa0x5){Settings[_0x75b4[30]](_0x4aa0x4[_0x75b4[31]])[_0x75b4[9]](function(_0x4aa0xe){return _0x4aa0x5[_0x75b4[8]](201)[_0x75b4[7]](_0x4aa0xe)})[_0x75b4[6]](function(_0x4aa0x6){return handleError(_0x4aa0x5,_0x4aa0x6)})};exports[_0x75b4[32]]=function(_0x4aa0x4,_0x4aa0x5){if(_0x4aa0x4[_0x75b4[31]][_0x75b4[27]]){delete _0x4aa0x4[_0x75b4[31]][_0x75b4[27]]};Settings[_0x75b4[35]]({where:{id:_0x4aa0x4[_0x75b4[28]][_0x75b4[27]]}})[_0x75b4[9]](function(_0x4aa0xe){if(!_0x4aa0xe){return _0x4aa0x5[_0x75b4[26]](404)};var _0x4aa0xf=_[_0x75b4[33]](_0x4aa0xe,_0x4aa0x4[_0x75b4[31]]);_0x4aa0xf[_0x75b4[34]]()[_0x75b4[9]](function(){return _0x4aa0x5[_0x75b4[8]](200)[_0x75b4[7]](_0x4aa0xe)})[_0x75b4[6]](function(_0x4aa0x6){return handleError(_0x4aa0x5,_0x4aa0x6)});})[_0x75b4[6]](function(_0x4aa0x6){return handleError(_0x4aa0x5,_0x4aa0x6)});};exports[_0x75b4[36]]=function(_0x4aa0x4,_0x4aa0x5){Settings[_0x75b4[35]]({where:{id:_0x4aa0x4[_0x75b4[28]][_0x75b4[27]]}})[_0x75b4[9]](function(_0x4aa0xe){if(!_0x4aa0xe){return _0x4aa0x5[_0x75b4[26]](404)};_0x4aa0xe[_0x75b4[36]]()[_0x75b4[9]](function(){return _0x4aa0x5[_0x75b4[26]](204)})[_0x75b4[6]](function(_0x4aa0x6){return handleError(_0x4aa0x5,_0x4aa0x6)});})[_0x75b4[6]](function(_0x4aa0x6){return handleError(_0x4aa0x5,_0x4aa0x6)})};function handleError(_0x4aa0x5,_0x4aa0x6){return _0x4aa0x5[_0x75b4[8]](500)[_0x75b4[7]](_0x4aa0x6)}
\ No newline at end of file
+var _0xd1a6=["\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","\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","\x6C\x6F\x67","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x70\x6C\x75\x63\x6B","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x6D\x69\x6E\x5F\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x69\x6E\x64\x65\x78\x4F\x66","\x76\x61\x6C\x75\x65","\x66\x69\x6E\x64\x4F\x6E\x65","\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","\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"];_0xd1a6[0];var _=require(_0xd1a6[1]);var Settings=require(_0xd1a6[3])[_0xd1a6[2]];var Agent=require(_0xd1a6[3])[_0xd1a6[4]];exports[_0xd1a6[5]]=function(_0x8c93x4,_0x8c93x5){Settings[_0xd1a6[10]]()[_0xd1a6[9]](function(_0x8c93x7){return _0x8c93x5[_0xd1a6[8]](200)[_0xd1a6[7]](_0x8c93x7)})[_0xd1a6[6]](function(_0x8c93x6){return handleError(_0x8c93x5,_0x8c93x6)})};exports[_0xd1a6[11]]=function(_0x8c93x4,_0x8c93x5){Settings[_0xd1a6[19]]()[_0xd1a6[9]](function(_0x8c93x8){Agent[_0xd1a6[10]]({where:{internal:{$gte:_0x8c93x8[_0xd1a6[16]]}}})[_0xd1a6[9]](function(_0x8c93x9){var _0x8c93xa=_[_0xd1a6[14]](_[_0xd1a6[14]](_0x8c93x9,_0xd1a6[13]),_0xd1a6[15]);var _0x8c93xb=_0x8c93x8[_0xd1a6[16]];var _0x8c93xc={value:null};do{if(_0x8c93xa[_0xd1a6[17]](_0x8c93xb)=== -1){_0x8c93xc[_0xd1a6[18]]=_0x8c93xb}else {_0x8c93xb++}}while(!_0x8c93xc[_0xd1a6[18]]);;return _0x8c93x5[_0xd1a6[8]](200)[_0xd1a6[7]](_0x8c93xc);})[_0xd1a6[6]](function(_0x8c93x6){console[_0xd1a6[12]](_0x8c93x6);return handleError(_0x8c93x5,_0x8c93x6);})})[_0xd1a6[6]](function(_0x8c93x6){return handleError(_0x8c93x5,_0x8c93x6)})};exports[_0xd1a6[20]]=function(_0x8c93x4,_0x8c93x5){var _0x8c93xd=require(_0xd1a6[21]);return _0x8c93x5[_0xd1a6[8]](200)[_0xd1a6[7]]({name:_0x8c93xd[_0xd1a6[22]],version:_0x8c93xd[_0xd1a6[23]],engines:_0x8c93xd[_0xd1a6[24]]});};exports[_0xd1a6[25]]=function(_0x8c93x4,_0x8c93x5){Settings[_0xd1a6[29]](_0x8c93x4[_0xd1a6[28]][_0xd1a6[27]])[_0xd1a6[9]](function(_0x8c93xe){if(!_0x8c93xe){return _0x8c93x5[_0xd1a6[26]](404)};return _0x8c93x5[_0xd1a6[7]](_0x8c93xe);})[_0xd1a6[6]](function(_0x8c93x6){return handleError(_0x8c93x5,_0x8c93x6)})};exports[_0xd1a6[30]]=function(_0x8c93x4,_0x8c93x5){Settings[_0xd1a6[30]](_0x8c93x4[_0xd1a6[31]])[_0xd1a6[9]](function(_0x8c93xe){return _0x8c93x5[_0xd1a6[8]](201)[_0xd1a6[7]](_0x8c93xe)})[_0xd1a6[6]](function(_0x8c93x6){return handleError(_0x8c93x5,_0x8c93x6)})};exports[_0xd1a6[32]]=function(_0x8c93x4,_0x8c93x5){if(_0x8c93x4[_0xd1a6[31]][_0xd1a6[27]]){delete _0x8c93x4[_0xd1a6[31]][_0xd1a6[27]]};Settings[_0xd1a6[35]]({where:{id:_0x8c93x4[_0xd1a6[28]][_0xd1a6[27]]}})[_0xd1a6[9]](function(_0x8c93xe){if(!_0x8c93xe){return _0x8c93x5[_0xd1a6[26]](404)};var _0x8c93xf=_[_0xd1a6[33]](_0x8c93xe,_0x8c93x4[_0xd1a6[31]]);_0x8c93xf[_0xd1a6[34]]()[_0xd1a6[9]](function(){return _0x8c93x5[_0xd1a6[8]](200)[_0xd1a6[7]](_0x8c93xe)})[_0xd1a6[6]](function(_0x8c93x6){return handleError(_0x8c93x5,_0x8c93x6)});})[_0xd1a6[6]](function(_0x8c93x6){return handleError(_0x8c93x5,_0x8c93x6)});};exports[_0xd1a6[36]]=function(_0x8c93x4,_0x8c93x5){Settings[_0xd1a6[35]]({where:{id:_0x8c93x4[_0xd1a6[28]][_0xd1a6[27]]}})[_0xd1a6[9]](function(_0x8c93xe){if(!_0x8c93xe){return _0x8c93x5[_0xd1a6[26]](404)};_0x8c93xe[_0xd1a6[36]]()[_0xd1a6[9]](function(){return _0x8c93x5[_0xd1a6[26]](204)})[_0xd1a6[6]](function(_0x8c93x6){return handleError(_0x8c93x5,_0x8c93x6)});})[_0xd1a6[6]](function(_0x8c93x6){return handleError(_0x8c93x5,_0x8c93x6)})};function handleError(_0x8c93x5,_0x8c93x6){return _0x8c93x5[_0xd1a6[8]](500)[_0xd1a6[7]](_0x8c93x6)}
\ No newline at end of file
index c7ff252..a153f08 100644 (file)
@@ -1 +1 @@
-var _0xedb0=["\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"];_0xedb0[0];var Settings=require(_0xedb0[2])[_0xedb0[1]];exports[_0xedb0[3]]=function(_0x5274x2){Settings[_0xedb0[4]](function(_0x5274x3){onSave(_0x5274x2,_0x5274x3)});Settings[_0xedb0[5]](function(_0x5274x3){onRemove(_0x5274x2,_0x5274x3)});};function onSave(_0x5274x2,_0x5274x3,_0x5274x5){_0x5274x2[_0xedb0[7]](_0xedb0[6],_0x5274x3)}function onRemove(_0x5274x2,_0x5274x3,_0x5274x5){_0x5274x2[_0xedb0[7]](_0xedb0[8],_0x5274x3)}
\ No newline at end of file
+var _0x4508=["\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"];_0x4508[0];var Settings=require(_0x4508[2])[_0x4508[1]];exports[_0x4508[3]]=function(_0x1f1fx2){Settings[_0x4508[4]](function(_0x1f1fx3){onSave(_0x1f1fx2,_0x1f1fx3)});Settings[_0x4508[5]](function(_0x1f1fx3){onRemove(_0x1f1fx2,_0x1f1fx3)});};function onSave(_0x1f1fx2,_0x1f1fx3,_0x1f1fx5){_0x1f1fx2[_0x4508[7]](_0x4508[6],_0x1f1fx3)}function onRemove(_0x1f1fx2,_0x1f1fx3,_0x1f1fx5){_0x1f1fx2[_0x4508[7]](_0x4508[8],_0x1f1fx3)}
\ No newline at end of file
index d9ebed8..4c82b95 100644 (file)
@@ -1 +1 @@
-var _0xa00d=["\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\x73\x65\x74\x74\x69\x6E\x67\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\x73\x65\x74\x74\x69\x6E\x67\x73","\x67\x65\x74"];_0xa00d[0];var should=require(_0xa00d[1]);var app=require(_0xa00d[2]);var request=require(_0xa00d[3]);describe(_0xa00d[4],function(){it(_0xa00d[5],function(_0x7f53x4){request(app)[_0xa00d[13]](_0xa00d[12])[_0xa00d[11]](200)[_0xa00d[11]](_0xa00d[10],/json/)[_0xa00d[9]](function(_0x7f53x5,_0x7f53x6){if(_0x7f53x5){return _0x7f53x4(_0x7f53x5)};_0x7f53x6[_0xa00d[8]][_0xa00d[1]][_0xa00d[7]][_0xa00d[6]](Array);_0x7f53x4();})})});
\ No newline at end of file
+var _0x2291=["\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\x73\x65\x74\x74\x69\x6E\x67\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\x73\x65\x74\x74\x69\x6E\x67\x73","\x67\x65\x74"];_0x2291[0];var should=require(_0x2291[1]);var app=require(_0x2291[2]);var request=require(_0x2291[3]);describe(_0x2291[4],function(){it(_0x2291[5],function(_0xda8cx4){request(app)[_0x2291[13]](_0x2291[12])[_0x2291[11]](200)[_0x2291[11]](_0x2291[10],/json/)[_0x2291[9]](function(_0xda8cx5,_0xda8cx6){if(_0xda8cx5){return _0xda8cx4(_0xda8cx5)};_0xda8cx6[_0x2291[8]][_0x2291[1]][_0x2291[7]][_0x2291[6]](Array);_0xda8cx4();})})});
\ No newline at end of file
index 5e6da4a..c20aac0 100644 (file)
@@ -1 +1 @@
-var _0x3944=["\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","\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","\x6F\x64\x62\x63\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\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"];_0x3944[0];var express=require(_0x3944[1]);var controller=require(_0x3944[2]);var auth=require(_0x3944[3]);var router=express.Router();router[_0x3944[7]](_0x3944[4],auth[_0x3944[5]](),controller[_0x3944[6]]);router[_0x3944[7]](_0x3944[8],auth[_0x3944[5]](),controller[_0x3944[9]]);router[_0x3944[11]](_0x3944[4],auth[_0x3944[5]](),controller[_0x3944[10]]);router[_0x3944[11]](_0x3944[12],auth[_0x3944[5]](),controller[_0x3944[13]]);router[_0x3944[15]](_0x3944[8],auth[_0x3944[5]](),controller[_0x3944[14]]);router[_0x3944[16]](_0x3944[8],auth[_0x3944[5]](),controller[_0x3944[14]]);router[_0x3944[18]](_0x3944[8],auth[_0x3944[5]](),controller[_0x3944[17]]);module[_0x3944[19]]=router;
\ No newline at end of file
+var _0x275f=["\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","\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","\x6F\x64\x62\x63\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\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"];_0x275f[0];var express=require(_0x275f[1]);var controller=require(_0x275f[2]);var auth=require(_0x275f[3]);var router=express.Router();router[_0x275f[7]](_0x275f[4],auth[_0x275f[5]](),controller[_0x275f[6]]);router[_0x275f[7]](_0x275f[8],auth[_0x275f[5]](),controller[_0x275f[9]]);router[_0x275f[11]](_0x275f[4],auth[_0x275f[5]](),controller[_0x275f[10]]);router[_0x275f[11]](_0x275f[12],auth[_0x275f[5]](),controller[_0x275f[13]]);router[_0x275f[15]](_0x275f[8],auth[_0x275f[5]](),controller[_0x275f[14]]);router[_0x275f[16]](_0x275f[8],auth[_0x275f[5]](),controller[_0x275f[14]]);router[_0x275f[18]](_0x275f[8],auth[_0x275f[5]](),controller[_0x275f[17]]);module[_0x275f[19]]=router;
\ No newline at end of file
index f27fd2f..351afbd 100644 (file)
@@ -1 +1 @@
-var _0xe4e6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x53\x71\x75\x61\x72\x65\x4F\x64\x62\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x6F\x64\x62\x63\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x6C\x6F\x67","\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","\x75\x70\x64\x61\x74\x65","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x4F\x44\x42\x43","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x66\x69\x6E\x64","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0xe4e6[0];var _=require(_0xe4e6[1]);var SquareOdbc=require(_0xe4e6[3])[_0xe4e6[2]];var util=require(_0xe4e6[4]);exports[_0xe4e6[5]]=function(_0xa96fx4,_0xa96fx5){var _0xa96fx6=[_0xe4e6[6],_0xe4e6[7]];var _0xa96fx7=_0xa96fx4[_0xe4e6[9]][_0xe4e6[8]]?parseInt(_0xa96fx4[_0xe4e6[9]][_0xe4e6[8]],10):100;var _0xa96fx8=_0xa96fx4[_0xe4e6[9]][_0xe4e6[10]]?parseInt(_0xa96fx4[_0xe4e6[9]][_0xe4e6[10]],10):0;var _0xa96fx9={where:{},limit:_0xa96fx7,offset:_0xa96fx8*_0xa96fx7};_[_0xe4e6[24]](_0xa96fx4[_0xe4e6[9]],function(_0xa96fxa,_0xa96fxb){switch(_0xa96fxb){case _0xe4e6[8]:;case _0xe4e6[10]:break ;;case _0xe4e6[13]:_0xa96fx9[_0xe4e6[11]]=util[_0xe4e6[16]](_0xe4e6[12],_0xa96fx4[_0xe4e6[9]][_0xe4e6[13]],_0xa96fx4[_0xe4e6[9]][_0xe4e6[14]]||_0xe4e6[15])||null;break ;;case _0xe4e6[14]:break ;;case _0xe4e6[22]:_0xa96fx9[_0xe4e6[18]][_0xe4e6[17]]=[];_0xa96fx6[_0xe4e6[21]](function(_0xa96fxc){var _0xa96fxd={};_0xa96fxd[_0xa96fxc]={$like:_0xe4e6[19]+_0xa96fxa+_0xe4e6[19]};_0xa96fx9[_0xe4e6[18]][_0xe4e6[17]][_0xe4e6[20]](_0xa96fxd);});break ;;default:_0xa96fx9[_0xe4e6[18]][_0xa96fxb]={$like:{}};_0xa96fx9[_0xe4e6[18]][_0xa96fxb][_0xe4e6[23]]=_0xe4e6[19]+_0xa96fxa+_0xe4e6[19];;}});SquareOdbc[_0xe4e6[39]](_0xa96fx9)[_0xe4e6[38]](function(_0xa96fxf){var _0xa96fx10=Math[_0xe4e6[30]](_0xa96fxf[_0xe4e6[29]]/_0xa96fx7);var _0xa96fx11=_0xa96fx10>(_0xa96fx9[_0xe4e6[31]]+1)?util[_0xe4e6[16]](_0xe4e6[32],_0xa96fx4[_0xe4e6[33]],_0xa96fx4[_0xe4e6[35]][_0xe4e6[34]],_0xa96fx4[_0xe4e6[36]],_0xa96fx8+1):null;var _0xa96fx12=_0xa96fx8>0?util[_0xe4e6[16]](_0xe4e6[32],_0xa96fx4[_0xe4e6[33]],_0xa96fx4[_0xe4e6[35]][_0xe4e6[34]],_0xa96fx4[_0xe4e6[36]],_0xa96fx8-1):null;_0xa96fx5[_0xe4e6[27]](200)[_0xe4e6[26]]({count:_0xa96fxf[_0xe4e6[29]],rows:_0xa96fxf[_0xe4e6[37]],next_page:_0xa96fx11,previous_page:_0xa96fx12,total_pages:_0xa96fx10});})[_0xe4e6[28]](function(_0xa96fxe){_0xa96fx5[_0xe4e6[27]](500)[_0xe4e6[26]]({error:_0xe4e6[25]})});};exports[_0xe4e6[40]]=function(_0xa96fx4,_0xa96fx5){console[_0xe4e6[42]](_0xa96fx4[_0xe4e6[41]]);SquareOdbc[_0xe4e6[44]]({where:{name:_0xa96fx4[_0xe4e6[41]][_0xe4e6[6]]}})[_0xe4e6[38]](function(_0xa96fx13){if(!_0xa96fx13){return _0xa96fx5[_0xe4e6[43]](404)};return _0xa96fx5[_0xe4e6[26]](_0xa96fx13);})[_0xe4e6[28]](function(_0xa96fxe){return handleError(_0xa96fx5,_0xa96fxe)});};exports[_0xe4e6[45]]=function(_0xa96fx4,_0xa96fx5){SquareOdbc[_0xe4e6[48]](_0xa96fx4[_0xe4e6[47]][_0xe4e6[46]])[_0xe4e6[38]](function(_0xa96fx14){if(!_0xa96fx14){return _0xa96fx5[_0xe4e6[43]](404)};return _0xa96fx5[_0xe4e6[26]](_0xa96fx14);})[_0xe4e6[28]](function(_0xa96fxe){return handleError(_0xa96fx5,_0xa96fxe)})};exports[_0xe4e6[49]]=function(_0xa96fx4,_0xa96fx5){SquareOdbc[_0xe4e6[49]](_0xa96fx4[_0xe4e6[41]])[_0xe4e6[38]](function(_0xa96fx14){return _0xa96fx5[_0xe4e6[27]](201)[_0xe4e6[26]](_0xa96fx14)})[_0xe4e6[28]](function(_0xa96fxe){return handleError(_0xa96fx5,_0xa96fxe)})};exports[_0xe4e6[50]]=function(_0xa96fx4,_0xa96fx5){SquareOdbc[_0xe4e6[44]]({where:{name:_0xa96fx4[_0xe4e6[41]][_0xe4e6[6]],id:{$ne:_0xa96fx4[_0xe4e6[41]][_0xe4e6[46]]}}})[_0xe4e6[38]](function(_0xa96fx13){if(!_0xa96fx13){return _0xa96fx5[_0xe4e6[43]](404)};if(_0xa96fx13[_0xe4e6[51]]>0){return _0xa96fx5[_0xe4e6[27]](500)[_0xe4e6[26]]({message:_0xe4e6[52]})};if(_0xa96fx4[_0xe4e6[41]][_0xe4e6[46]]){delete _0xa96fx4[_0xe4e6[41]][_0xe4e6[46]]};SquareOdbc[_0xe4e6[48]](_0xa96fx4[_0xe4e6[47]][_0xe4e6[46]])[_0xe4e6[38]](function(_0xa96fx14){if(!_0xa96fx14){return _0xa96fx5[_0xe4e6[43]](404)};var _0xa96fx15=_[_0xe4e6[53]](_0xa96fx14,_0xa96fx4[_0xe4e6[41]]);_0xa96fx15[_0xe4e6[54]]()[_0xe4e6[38]](function(){return _0xa96fx5[_0xe4e6[27]](200)[_0xe4e6[26]](_0xa96fx14)})[_0xe4e6[28]](function(_0xa96fxe){return handleError(_0xa96fx5,_0xa96fxe)});})[_0xe4e6[28]](function(_0xa96fxe){return handleError(_0xa96fx5,_0xa96fxe)});})[_0xe4e6[28]](function(_0xa96fxe){return handleError(_0xa96fx5,_0xa96fxe)})};exports[_0xe4e6[55]]=function(_0xa96fx4,_0xa96fx5){SquareOdbc[_0xe4e6[56]]({where:{id:_0xa96fx4[_0xe4e6[47]][_0xe4e6[46]]}})[_0xe4e6[38]](function(_0xa96fx14){if(!_0xa96fx14){return _0xa96fx5[_0xe4e6[43]](404)};_0xa96fx14[_0xe4e6[55]]()[_0xe4e6[38]](function(){return _0xa96fx5[_0xe4e6[43]](204)})[_0xe4e6[28]](function(_0xa96fxe){return handleError(_0xa96fx5,_0xa96fxe)});})[_0xe4e6[28]](function(_0xa96fxe){return handleError(_0xa96fx5,_0xa96fxe)})};exports[_0xe4e6[57]]=function(_0xa96fx4,_0xa96fx5){SquareOdbc[_0xe4e6[55]]({where:{id:_0xa96fx4[_0xe4e6[9]][_0xe4e6[46]]},individualHooks:true})[_0xe4e6[38]](function(){return _0xa96fx5[_0xe4e6[43]](204)})[_0xe4e6[28]](function(_0xa96fxe){return handleError(_0xa96fx5,_0xa96fxe)})};function handleError(_0xa96fx5,_0xa96fxe){return _0xa96fx5[_0xe4e6[27]](500)[_0xe4e6[26]](_0xa96fxe)}
\ No newline at end of file
+var _0x8f57=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x53\x71\x75\x61\x72\x65\x4F\x64\x62\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x6F\x64\x62\x63\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x6C\x6F\x67","\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","\x75\x70\x64\x61\x74\x65","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x4F\x44\x42\x43","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x66\x69\x6E\x64","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0x8f57[0];var _=require(_0x8f57[1]);var SquareOdbc=require(_0x8f57[3])[_0x8f57[2]];var util=require(_0x8f57[4]);exports[_0x8f57[5]]=function(_0xe2d3x4,_0xe2d3x5){var _0xe2d3x6=[_0x8f57[6],_0x8f57[7]];var _0xe2d3x7=_0xe2d3x4[_0x8f57[9]][_0x8f57[8]]?parseInt(_0xe2d3x4[_0x8f57[9]][_0x8f57[8]],10):100;var _0xe2d3x8=_0xe2d3x4[_0x8f57[9]][_0x8f57[10]]?parseInt(_0xe2d3x4[_0x8f57[9]][_0x8f57[10]],10):0;var _0xe2d3x9={where:{},limit:_0xe2d3x7,offset:_0xe2d3x8*_0xe2d3x7};_[_0x8f57[24]](_0xe2d3x4[_0x8f57[9]],function(_0xe2d3xa,_0xe2d3xb){switch(_0xe2d3xb){case _0x8f57[8]:;case _0x8f57[10]:break ;;case _0x8f57[13]:_0xe2d3x9[_0x8f57[11]]=util[_0x8f57[16]](_0x8f57[12],_0xe2d3x4[_0x8f57[9]][_0x8f57[13]],_0xe2d3x4[_0x8f57[9]][_0x8f57[14]]||_0x8f57[15])||null;break ;;case _0x8f57[14]:break ;;case _0x8f57[22]:_0xe2d3x9[_0x8f57[18]][_0x8f57[17]]=[];_0xe2d3x6[_0x8f57[21]](function(_0xe2d3xc){var _0xe2d3xd={};_0xe2d3xd[_0xe2d3xc]={$like:_0x8f57[19]+_0xe2d3xa+_0x8f57[19]};_0xe2d3x9[_0x8f57[18]][_0x8f57[17]][_0x8f57[20]](_0xe2d3xd);});break ;;default:_0xe2d3x9[_0x8f57[18]][_0xe2d3xb]={$like:{}};_0xe2d3x9[_0x8f57[18]][_0xe2d3xb][_0x8f57[23]]=_0x8f57[19]+_0xe2d3xa+_0x8f57[19];;}});SquareOdbc[_0x8f57[39]](_0xe2d3x9)[_0x8f57[38]](function(_0xe2d3xf){var _0xe2d3x10=Math[_0x8f57[30]](_0xe2d3xf[_0x8f57[29]]/_0xe2d3x7);var _0xe2d3x11=_0xe2d3x10>(_0xe2d3x9[_0x8f57[31]]+1)?util[_0x8f57[16]](_0x8f57[32],_0xe2d3x4[_0x8f57[33]],_0xe2d3x4[_0x8f57[35]][_0x8f57[34]],_0xe2d3x4[_0x8f57[36]],_0xe2d3x8+1):null;var _0xe2d3x12=_0xe2d3x8>0?util[_0x8f57[16]](_0x8f57[32],_0xe2d3x4[_0x8f57[33]],_0xe2d3x4[_0x8f57[35]][_0x8f57[34]],_0xe2d3x4[_0x8f57[36]],_0xe2d3x8-1):null;_0xe2d3x5[_0x8f57[27]](200)[_0x8f57[26]]({count:_0xe2d3xf[_0x8f57[29]],rows:_0xe2d3xf[_0x8f57[37]],next_page:_0xe2d3x11,previous_page:_0xe2d3x12,total_pages:_0xe2d3x10});})[_0x8f57[28]](function(_0xe2d3xe){_0xe2d3x5[_0x8f57[27]](500)[_0x8f57[26]]({error:_0x8f57[25]})});};exports[_0x8f57[40]]=function(_0xe2d3x4,_0xe2d3x5){console[_0x8f57[42]](_0xe2d3x4[_0x8f57[41]]);SquareOdbc[_0x8f57[44]]({where:{name:_0xe2d3x4[_0x8f57[41]][_0x8f57[6]]}})[_0x8f57[38]](function(_0xe2d3x13){if(!_0xe2d3x13){return _0xe2d3x5[_0x8f57[43]](404)};return _0xe2d3x5[_0x8f57[26]](_0xe2d3x13);})[_0x8f57[28]](function(_0xe2d3xe){return handleError(_0xe2d3x5,_0xe2d3xe)});};exports[_0x8f57[45]]=function(_0xe2d3x4,_0xe2d3x5){SquareOdbc[_0x8f57[48]](_0xe2d3x4[_0x8f57[47]][_0x8f57[46]])[_0x8f57[38]](function(_0xe2d3x14){if(!_0xe2d3x14){return _0xe2d3x5[_0x8f57[43]](404)};return _0xe2d3x5[_0x8f57[26]](_0xe2d3x14);})[_0x8f57[28]](function(_0xe2d3xe){return handleError(_0xe2d3x5,_0xe2d3xe)})};exports[_0x8f57[49]]=function(_0xe2d3x4,_0xe2d3x5){SquareOdbc[_0x8f57[49]](_0xe2d3x4[_0x8f57[41]])[_0x8f57[38]](function(_0xe2d3x14){return _0xe2d3x5[_0x8f57[27]](201)[_0x8f57[26]](_0xe2d3x14)})[_0x8f57[28]](function(_0xe2d3xe){return handleError(_0xe2d3x5,_0xe2d3xe)})};exports[_0x8f57[50]]=function(_0xe2d3x4,_0xe2d3x5){SquareOdbc[_0x8f57[44]]({where:{name:_0xe2d3x4[_0x8f57[41]][_0x8f57[6]],id:{$ne:_0xe2d3x4[_0x8f57[41]][_0x8f57[46]]}}})[_0x8f57[38]](function(_0xe2d3x13){if(!_0xe2d3x13){return _0xe2d3x5[_0x8f57[43]](404)};if(_0xe2d3x13[_0x8f57[51]]>0){return _0xe2d3x5[_0x8f57[27]](500)[_0x8f57[26]]({message:_0x8f57[52]})};if(_0xe2d3x4[_0x8f57[41]][_0x8f57[46]]){delete _0xe2d3x4[_0x8f57[41]][_0x8f57[46]]};SquareOdbc[_0x8f57[48]](_0xe2d3x4[_0x8f57[47]][_0x8f57[46]])[_0x8f57[38]](function(_0xe2d3x14){if(!_0xe2d3x14){return _0xe2d3x5[_0x8f57[43]](404)};var _0xe2d3x15=_[_0x8f57[53]](_0xe2d3x14,_0xe2d3x4[_0x8f57[41]]);_0xe2d3x15[_0x8f57[54]]()[_0x8f57[38]](function(){return _0xe2d3x5[_0x8f57[27]](200)[_0x8f57[26]](_0xe2d3x14)})[_0x8f57[28]](function(_0xe2d3xe){return handleError(_0xe2d3x5,_0xe2d3xe)});})[_0x8f57[28]](function(_0xe2d3xe){return handleError(_0xe2d3x5,_0xe2d3xe)});})[_0x8f57[28]](function(_0xe2d3xe){return handleError(_0xe2d3x5,_0xe2d3xe)})};exports[_0x8f57[55]]=function(_0xe2d3x4,_0xe2d3x5){SquareOdbc[_0x8f57[56]]({where:{id:_0xe2d3x4[_0x8f57[47]][_0x8f57[46]]}})[_0x8f57[38]](function(_0xe2d3x14){if(!_0xe2d3x14){return _0xe2d3x5[_0x8f57[43]](404)};_0xe2d3x14[_0x8f57[55]]()[_0x8f57[38]](function(){return _0xe2d3x5[_0x8f57[43]](204)})[_0x8f57[28]](function(_0xe2d3xe){return handleError(_0xe2d3x5,_0xe2d3xe)});})[_0x8f57[28]](function(_0xe2d3xe){return handleError(_0xe2d3x5,_0xe2d3xe)})};exports[_0x8f57[57]]=function(_0xe2d3x4,_0xe2d3x5){SquareOdbc[_0x8f57[55]]({where:{id:_0xe2d3x4[_0x8f57[9]][_0x8f57[46]]},individualHooks:true})[_0x8f57[38]](function(){return _0xe2d3x5[_0x8f57[43]](204)})[_0x8f57[28]](function(_0xe2d3xe){return handleError(_0xe2d3x5,_0xe2d3xe)})};function handleError(_0xe2d3x5,_0xe2d3xe){return _0xe2d3x5[_0x8f57[27]](500)[_0x8f57[26]](_0xe2d3xe)}
\ No newline at end of file
index 19bd0e2..a0dc8e9 100644 (file)
@@ -1 +1 @@
-var _0x32ef=["\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"];_0x32ef[0];var SquareOdbc=require(_0x32ef[2])[_0x32ef[1]];exports[_0x32ef[3]]=function(_0xdf09x2){SquareOdbc[_0x32ef[4]](function(_0xdf09x3){onSave(_0xdf09x2,_0xdf09x3)});SquareOdbc[_0x32ef[5]](function(_0xdf09x3){onRemove(_0xdf09x2,_0xdf09x3)});};function onSave(_0xdf09x2,_0xdf09x3,_0xdf09x5){_0xdf09x2[_0x32ef[7]](_0x32ef[6],_0xdf09x3)}function onRemove(_0xdf09x2,_0xdf09x3,_0xdf09x5){_0xdf09x2[_0x32ef[7]](_0x32ef[8],_0xdf09x3)}
\ No newline at end of file
+var _0xc1b1=["\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"];_0xc1b1[0];var SquareOdbc=require(_0xc1b1[2])[_0xc1b1[1]];exports[_0xc1b1[3]]=function(_0xf8d9x2){SquareOdbc[_0xc1b1[4]](function(_0xf8d9x3){onSave(_0xf8d9x2,_0xf8d9x3)});SquareOdbc[_0xc1b1[5]](function(_0xf8d9x3){onRemove(_0xf8d9x2,_0xf8d9x3)});};function onSave(_0xf8d9x2,_0xf8d9x3,_0xf8d9x5){_0xf8d9x2[_0xc1b1[7]](_0xc1b1[6],_0xf8d9x3)}function onRemove(_0xf8d9x2,_0xf8d9x3,_0xf8d9x5){_0xf8d9x2[_0xc1b1[7]](_0xc1b1[8],_0xf8d9x3)}
\ No newline at end of file
index 7e844f5..6f636bd 100644 (file)
@@ -1 +1 @@
-var _0x4c76=["\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\x73\x71\x75\x61\x72\x65\x2F\x6F\x64\x62\x63","\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\x73\x71\x75\x61\x72\x65\x2F\x6F\x64\x62\x63","\x67\x65\x74"];_0x4c76[0];var should=require(_0x4c76[1]);var app=require(_0x4c76[2]);var request=require(_0x4c76[3]);describe(_0x4c76[4],function(){it(_0x4c76[5],function(_0x4649x4){request(app)[_0x4c76[13]](_0x4c76[12])[_0x4c76[11]](200)[_0x4c76[11]](_0x4c76[10],/json/)[_0x4c76[9]](function(_0x4649x5,_0x4649x6){if(_0x4649x5){return _0x4649x4(_0x4649x5)};_0x4649x6[_0x4c76[8]][_0x4c76[1]][_0x4c76[7]][_0x4c76[6]](Array);_0x4649x4();})})});
\ No newline at end of file
+var _0x36b1=["\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\x73\x71\x75\x61\x72\x65\x2F\x6F\x64\x62\x63","\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\x73\x71\x75\x61\x72\x65\x2F\x6F\x64\x62\x63","\x67\x65\x74"];_0x36b1[0];var should=require(_0x36b1[1]);var app=require(_0x36b1[2]);var request=require(_0x36b1[3]);describe(_0x36b1[4],function(){it(_0x36b1[5],function(_0xc848x4){request(app)[_0x36b1[13]](_0x36b1[12])[_0x36b1[11]](200)[_0x36b1[11]](_0x36b1[10],/json/)[_0x36b1[9]](function(_0xc848x5,_0xc848x6){if(_0xc848x5){return _0xc848x4(_0xc848x5)};_0xc848x6[_0x36b1[8]][_0x36b1[1]][_0x36b1[7]][_0x36b1[6]](Array);_0xc848x4();})})});
\ No newline at end of file
index 4d65144..4bbd067 100644 (file)
@@ -1 +1 @@
-var _0xfe21=["\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","\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","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65","\x70\x72\x6F\x6A\x65\x63\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\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"];_0xfe21[0];var express=require(_0xfe21[1]);var controller=require(_0xfe21[2]);var auth=require(_0xfe21[3]);var router=express.Router();router[_0xfe21[7]](_0xfe21[4],auth[_0xfe21[5]](),controller[_0xfe21[6]]);router[_0xfe21[7]](_0xfe21[8],auth[_0xfe21[5]](),controller[_0xfe21[9]]);router[_0xfe21[7]](_0xfe21[10],controller[_0xfe21[11]]);router[_0xfe21[13]](_0xfe21[4],auth[_0xfe21[5]](),controller[_0xfe21[12]]);router[_0xfe21[13]](_0xfe21[14],auth[_0xfe21[5]](),controller[_0xfe21[15]]);router[_0xfe21[17]](_0xfe21[8],auth[_0xfe21[5]](),controller[_0xfe21[16]]);router[_0xfe21[18]](_0xfe21[8],auth[_0xfe21[5]](),controller[_0xfe21[16]]);router[_0xfe21[20]](_0xfe21[4],auth[_0xfe21[5]](),controller[_0xfe21[19]]);router[_0xfe21[20]](_0xfe21[8],auth[_0xfe21[5]](),controller[_0xfe21[21]]);module[_0xfe21[22]]=router;
\ No newline at end of file
+var _0x3573=["\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","\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","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65","\x70\x72\x6F\x6A\x65\x63\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\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"];_0x3573[0];var express=require(_0x3573[1]);var controller=require(_0x3573[2]);var auth=require(_0x3573[3]);var router=express.Router();router[_0x3573[7]](_0x3573[4],auth[_0x3573[5]](),controller[_0x3573[6]]);router[_0x3573[7]](_0x3573[8],auth[_0x3573[5]](),controller[_0x3573[9]]);router[_0x3573[7]](_0x3573[10],controller[_0x3573[11]]);router[_0x3573[13]](_0x3573[4],auth[_0x3573[5]](),controller[_0x3573[12]]);router[_0x3573[13]](_0x3573[14],auth[_0x3573[5]](),controller[_0x3573[15]]);router[_0x3573[17]](_0x3573[8],auth[_0x3573[5]](),controller[_0x3573[16]]);router[_0x3573[18]](_0x3573[8],auth[_0x3573[5]](),controller[_0x3573[16]]);router[_0x3573[20]](_0x3573[4],auth[_0x3573[5]](),controller[_0x3573[19]]);router[_0x3573[20]](_0x3573[8],auth[_0x3573[5]](),controller[_0x3573[21]]);module[_0x3573[22]]=router;
\ No newline at end of file
index f360762..cb22984 100644 (file)
@@ -1 +1 @@
-var _0xbffd=["\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","\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","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x70\x72\x6F\x6A\x65\x63\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x6C\x6F\x67","\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","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\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"];_0xbffd[0];var _=require(_0xbffd[1]);var path=require(_0xbffd[2]);var config=require(_0xbffd[3]);var util=require(_0xbffd[4]);var SquareProject=require(_0xbffd[6])[_0xbffd[5]];exports[_0xbffd[7]]=function(_0xfc82x6,_0xfc82x7){var _0xfc82x8=[_0xbffd[8],_0xbffd[9]];var _0xfc82x9=_0xfc82x6[_0xbffd[11]][_0xbffd[10]]?parseInt(_0xfc82x6[_0xbffd[11]][_0xbffd[10]],10):100;var _0xfc82xa=_0xfc82x6[_0xbffd[11]][_0xbffd[12]]?parseInt(_0xfc82x6[_0xbffd[11]][_0xbffd[12]],10):0;var _0xfc82xb={where:{},limit:_0xfc82x9,offset:_0xfc82xa*_0xfc82x9};_[_0xbffd[26]](_0xfc82x6[_0xbffd[11]],function(_0xfc82xc,_0xfc82xd){switch(_0xfc82xd){case _0xbffd[10]:;case _0xbffd[12]:break ;;case _0xbffd[15]:_0xfc82xb[_0xbffd[13]]=util[_0xbffd[18]](_0xbffd[14],_0xfc82x6[_0xbffd[11]][_0xbffd[15]],_0xfc82x6[_0xbffd[11]][_0xbffd[16]]||_0xbffd[17])||null;break ;;case _0xbffd[16]:break ;;case _0xbffd[24]:_0xfc82xb[_0xbffd[20]][_0xbffd[19]]=[];_0xfc82x8[_0xbffd[23]](function(_0xfc82xe){var _0xfc82xf={};_0xfc82xf[_0xfc82xe]={$like:_0xbffd[21]+_0xfc82xc+_0xbffd[21]};_0xfc82xb[_0xbffd[20]][_0xbffd[19]][_0xbffd[22]](_0xfc82xf);});break ;;default:_0xfc82xb[_0xbffd[20]][_0xfc82xd]={$like:{}};_0xfc82xb[_0xbffd[20]][_0xfc82xd][_0xbffd[25]]=_0xbffd[21]+_0xfc82xc+_0xbffd[21];;}});SquareProject[_0xbffd[41]](_0xfc82xb)[_0xbffd[40]](function(_0xfc82x11){var _0xfc82x12=Math[_0xbffd[32]](_0xfc82x11[_0xbffd[31]]/_0xfc82x9);var _0xfc82x13=_0xfc82x12>(_0xfc82xb[_0xbffd[33]]+1)?util[_0xbffd[18]](_0xbffd[34],_0xfc82x6[_0xbffd[35]],_0xfc82x6[_0xbffd[37]][_0xbffd[36]],_0xfc82x6[_0xbffd[38]],_0xfc82xa+1):null;var _0xfc82x14=_0xfc82xa>0?util[_0xbffd[18]](_0xbffd[34],_0xfc82x6[_0xbffd[35]],_0xfc82x6[_0xbffd[37]][_0xbffd[36]],_0xfc82x6[_0xbffd[38]],_0xfc82xa-1):null;_0xfc82x7[_0xbffd[29]](200)[_0xbffd[28]]({count:_0xfc82x11[_0xbffd[31]],rows:_0xfc82x11[_0xbffd[39]],next_page:_0xfc82x13,previous_page:_0xfc82x14,total_pages:_0xfc82x12});})[_0xbffd[30]](function(_0xfc82x10){_0xfc82x7[_0xbffd[29]](500)[_0xbffd[28]]({error:_0xbffd[27]})});};exports[_0xbffd[42]]=function(_0xfc82x6,_0xfc82x7){console[_0xbffd[44]](_0xfc82x6[_0xbffd[43]]);SquareProject[_0xbffd[46]]({where:{name:_0xfc82x6[_0xbffd[43]][_0xbffd[8]]}})[_0xbffd[40]](function(_0xfc82x15){if(!_0xfc82x15){return _0xfc82x7[_0xbffd[45]](404)};return _0xfc82x7[_0xbffd[28]](_0xfc82x15);})[_0xbffd[30]](function(_0xfc82x10){return handleError(_0xfc82x7,_0xfc82x10)});};exports[_0xbffd[47]]=function(_0xfc82x6,_0xfc82x7){SquareProject[_0xbffd[50]](_0xfc82x6[_0xbffd[49]][_0xbffd[48]])[_0xbffd[40]](function(_0xfc82x16){if(!_0xfc82x16){return _0xfc82x7[_0xbffd[45]](404)};return _0xfc82x7[_0xbffd[28]](_0xfc82x16);})[_0xbffd[30]](function(_0xfc82x10){return handleError(_0xfc82x7,_0xfc82x10)})};exports[_0xbffd[51]]=function(_0xfc82x6,_0xfc82x7){SquareProject[_0xbffd[51]](_0xfc82x6[_0xbffd[43]])[_0xbffd[40]](function(_0xfc82x16){return _0xfc82x7[_0xbffd[29]](201)[_0xbffd[28]](_0xfc82x16)})[_0xbffd[30]](function(_0xfc82x10){return handleError(_0xfc82x7,_0xfc82x10)})};exports[_0xbffd[52]]=function(_0xfc82x6,_0xfc82x7){if(_0xfc82x6[_0xbffd[43]][_0xbffd[48]]){delete _0xfc82x6[_0xbffd[43]][_0xbffd[48]]};SquareProject[_0xbffd[50]](_0xfc82x6[_0xbffd[49]][_0xbffd[48]])[_0xbffd[40]](function(_0xfc82x16){if(!_0xfc82x16){return _0xfc82x7[_0xbffd[45]](404)};var _0xfc82x17=_[_0xbffd[53]](_0xfc82x16,_0xfc82x6[_0xbffd[43]]);_0xfc82x17[_0xbffd[54]]()[_0xbffd[40]](function(){return _0xfc82x7[_0xbffd[29]](200)[_0xbffd[28]](_0xfc82x16)})[_0xbffd[30]](function(_0xfc82x10){return handleError(_0xfc82x7,_0xfc82x10)});})[_0xbffd[30]](function(_0xfc82x10){return handleError(_0xfc82x7,_0xfc82x10)});};exports[_0xbffd[55]]=function(_0xfc82x6,_0xfc82x7){SquareProject[_0xbffd[56]]({where:{id:_0xfc82x6[_0xbffd[49]][_0xbffd[48]]}})[_0xbffd[40]](function(_0xfc82x16){if(!_0xfc82x16){return _0xfc82x7[_0xbffd[45]](404)};_0xfc82x16[_0xbffd[55]]()[_0xbffd[40]](function(){return _0xfc82x7[_0xbffd[45]](204)})[_0xbffd[30]](function(_0xfc82x10){return handleError(_0xfc82x7,_0xfc82x10)});})[_0xbffd[30]](function(_0xfc82x10){return handleError(_0xfc82x7,_0xfc82x10)})};exports[_0xbffd[57]]=function(_0xfc82x6,_0xfc82x7){SquareProject[_0xbffd[55]]({where:{id:_0xfc82x6[_0xbffd[11]][_0xbffd[48]]},individualHooks:true})[_0xbffd[40]](function(){return _0xfc82x7[_0xbffd[45]](204)})[_0xbffd[30]](function(_0xfc82x10){return handleError(_0xfc82x7,_0xfc82x10)})};exports[_0xbffd[58]]=function(_0xfc82x6,_0xfc82x7,_0xfc82x18){SquareProject[_0xbffd[50]](_0xfc82x6[_0xbffd[49]][_0xbffd[48]])[_0xbffd[40]](function(_0xfc82x16){if(!_0xfc82x16){return _0xfc82x7[_0xbffd[45]](404)};console[_0xbffd[44]](_0xfc82x6[_0xbffd[11]][_0xbffd[59]]);_0xfc82x7[_0xbffd[63]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E":_0xbffd[60]+_0xfc82x6[_0xbffd[11]][_0xbffd[59]]+_0xbffd[61],"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0xbffd[62]});return _0xfc82x7[_0xbffd[28]](_0xfc82x16[_0xbffd[64]]);})[_0xbffd[30]](function(_0xfc82x10){return handleError(_0xfc82x7,_0xfc82x10)})};function handleError(_0xfc82x7,_0xfc82x10){return _0xfc82x7[_0xbffd[29]](500)[_0xbffd[28]](_0xfc82x10)}
\ No newline at end of file
+var _0x949a=["\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","\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","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x70\x72\x6F\x6A\x65\x63\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x6C\x6F\x67","\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","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\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"];_0x949a[0];var _=require(_0x949a[1]);var path=require(_0x949a[2]);var config=require(_0x949a[3]);var util=require(_0x949a[4]);var SquareProject=require(_0x949a[6])[_0x949a[5]];exports[_0x949a[7]]=function(_0xa805x6,_0xa805x7){var _0xa805x8=[_0x949a[8],_0x949a[9]];var _0xa805x9=_0xa805x6[_0x949a[11]][_0x949a[10]]?parseInt(_0xa805x6[_0x949a[11]][_0x949a[10]],10):100;var _0xa805xa=_0xa805x6[_0x949a[11]][_0x949a[12]]?parseInt(_0xa805x6[_0x949a[11]][_0x949a[12]],10):0;var _0xa805xb={where:{},limit:_0xa805x9,offset:_0xa805xa*_0xa805x9};_[_0x949a[26]](_0xa805x6[_0x949a[11]],function(_0xa805xc,_0xa805xd){switch(_0xa805xd){case _0x949a[10]:;case _0x949a[12]:break ;;case _0x949a[15]:_0xa805xb[_0x949a[13]]=util[_0x949a[18]](_0x949a[14],_0xa805x6[_0x949a[11]][_0x949a[15]],_0xa805x6[_0x949a[11]][_0x949a[16]]||_0x949a[17])||null;break ;;case _0x949a[16]:break ;;case _0x949a[24]:_0xa805xb[_0x949a[20]][_0x949a[19]]=[];_0xa805x8[_0x949a[23]](function(_0xa805xe){var _0xa805xf={};_0xa805xf[_0xa805xe]={$like:_0x949a[21]+_0xa805xc+_0x949a[21]};_0xa805xb[_0x949a[20]][_0x949a[19]][_0x949a[22]](_0xa805xf);});break ;;default:_0xa805xb[_0x949a[20]][_0xa805xd]={$like:{}};_0xa805xb[_0x949a[20]][_0xa805xd][_0x949a[25]]=_0x949a[21]+_0xa805xc+_0x949a[21];;}});SquareProject[_0x949a[41]](_0xa805xb)[_0x949a[40]](function(_0xa805x11){var _0xa805x12=Math[_0x949a[32]](_0xa805x11[_0x949a[31]]/_0xa805x9);var _0xa805x13=_0xa805x12>(_0xa805xb[_0x949a[33]]+1)?util[_0x949a[18]](_0x949a[34],_0xa805x6[_0x949a[35]],_0xa805x6[_0x949a[37]][_0x949a[36]],_0xa805x6[_0x949a[38]],_0xa805xa+1):null;var _0xa805x14=_0xa805xa>0?util[_0x949a[18]](_0x949a[34],_0xa805x6[_0x949a[35]],_0xa805x6[_0x949a[37]][_0x949a[36]],_0xa805x6[_0x949a[38]],_0xa805xa-1):null;_0xa805x7[_0x949a[29]](200)[_0x949a[28]]({count:_0xa805x11[_0x949a[31]],rows:_0xa805x11[_0x949a[39]],next_page:_0xa805x13,previous_page:_0xa805x14,total_pages:_0xa805x12});})[_0x949a[30]](function(_0xa805x10){_0xa805x7[_0x949a[29]](500)[_0x949a[28]]({error:_0x949a[27]})});};exports[_0x949a[42]]=function(_0xa805x6,_0xa805x7){console[_0x949a[44]](_0xa805x6[_0x949a[43]]);SquareProject[_0x949a[46]]({where:{name:_0xa805x6[_0x949a[43]][_0x949a[8]]}})[_0x949a[40]](function(_0xa805x15){if(!_0xa805x15){return _0xa805x7[_0x949a[45]](404)};return _0xa805x7[_0x949a[28]](_0xa805x15);})[_0x949a[30]](function(_0xa805x10){return handleError(_0xa805x7,_0xa805x10)});};exports[_0x949a[47]]=function(_0xa805x6,_0xa805x7){SquareProject[_0x949a[50]](_0xa805x6[_0x949a[49]][_0x949a[48]])[_0x949a[40]](function(_0xa805x16){if(!_0xa805x16){return _0xa805x7[_0x949a[45]](404)};return _0xa805x7[_0x949a[28]](_0xa805x16);})[_0x949a[30]](function(_0xa805x10){return handleError(_0xa805x7,_0xa805x10)})};exports[_0x949a[51]]=function(_0xa805x6,_0xa805x7){SquareProject[_0x949a[51]](_0xa805x6[_0x949a[43]])[_0x949a[40]](function(_0xa805x16){return _0xa805x7[_0x949a[29]](201)[_0x949a[28]](_0xa805x16)})[_0x949a[30]](function(_0xa805x10){return handleError(_0xa805x7,_0xa805x10)})};exports[_0x949a[52]]=function(_0xa805x6,_0xa805x7){if(_0xa805x6[_0x949a[43]][_0x949a[48]]){delete _0xa805x6[_0x949a[43]][_0x949a[48]]};SquareProject[_0x949a[50]](_0xa805x6[_0x949a[49]][_0x949a[48]])[_0x949a[40]](function(_0xa805x16){if(!_0xa805x16){return _0xa805x7[_0x949a[45]](404)};var _0xa805x17=_[_0x949a[53]](_0xa805x16,_0xa805x6[_0x949a[43]]);_0xa805x17[_0x949a[54]]()[_0x949a[40]](function(){return _0xa805x7[_0x949a[29]](200)[_0x949a[28]](_0xa805x16)})[_0x949a[30]](function(_0xa805x10){return handleError(_0xa805x7,_0xa805x10)});})[_0x949a[30]](function(_0xa805x10){return handleError(_0xa805x7,_0xa805x10)});};exports[_0x949a[55]]=function(_0xa805x6,_0xa805x7){SquareProject[_0x949a[56]]({where:{id:_0xa805x6[_0x949a[49]][_0x949a[48]]}})[_0x949a[40]](function(_0xa805x16){if(!_0xa805x16){return _0xa805x7[_0x949a[45]](404)};_0xa805x16[_0x949a[55]]()[_0x949a[40]](function(){return _0xa805x7[_0x949a[45]](204)})[_0x949a[30]](function(_0xa805x10){return handleError(_0xa805x7,_0xa805x10)});})[_0x949a[30]](function(_0xa805x10){return handleError(_0xa805x7,_0xa805x10)})};exports[_0x949a[57]]=function(_0xa805x6,_0xa805x7){SquareProject[_0x949a[55]]({where:{id:_0xa805x6[_0x949a[11]][_0x949a[48]]},individualHooks:true})[_0x949a[40]](function(){return _0xa805x7[_0x949a[45]](204)})[_0x949a[30]](function(_0xa805x10){return handleError(_0xa805x7,_0xa805x10)})};exports[_0x949a[58]]=function(_0xa805x6,_0xa805x7,_0xa805x18){SquareProject[_0x949a[50]](_0xa805x6[_0x949a[49]][_0x949a[48]])[_0x949a[40]](function(_0xa805x16){if(!_0xa805x16){return _0xa805x7[_0x949a[45]](404)};console[_0x949a[44]](_0xa805x6[_0x949a[11]][_0x949a[59]]);_0xa805x7[_0x949a[63]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E":_0x949a[60]+_0xa805x6[_0x949a[11]][_0x949a[59]]+_0x949a[61],"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0x949a[62]});return _0xa805x7[_0x949a[28]](_0xa805x16[_0x949a[64]]);})[_0x949a[30]](function(_0xa805x10){return handleError(_0xa805x7,_0xa805x10)})};function handleError(_0xa805x7,_0xa805x10){return _0xa805x7[_0x949a[29]](500)[_0x949a[28]](_0xa805x10)}
\ No newline at end of file
index c7ce2a1..1956029 100644 (file)
@@ -1 +1 @@
-var _0xad7e=["\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"];_0xad7e[0];var SquareProject=require(_0xad7e[2])[_0xad7e[1]];exports[_0xad7e[3]]=function(_0x6117x2){SquareProject[_0xad7e[4]](function(_0x6117x3){onSave(_0x6117x2,_0x6117x3)});SquareProject[_0xad7e[5]](function(_0x6117x3){onSave(_0x6117x2,_0x6117x3)});SquareProject[_0xad7e[6]](function(_0x6117x3){onRemove(_0x6117x2,_0x6117x3)});};function onSave(_0x6117x2,_0x6117x3,_0x6117x5){_0x6117x2[_0xad7e[8]](_0xad7e[7],_0x6117x3)}function onRemove(_0x6117x2,_0x6117x3,_0x6117x5){_0x6117x2[_0xad7e[8]](_0xad7e[9],_0x6117x3)}
\ No newline at end of file
+var _0x5b00=["\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"];_0x5b00[0];var SquareProject=require(_0x5b00[2])[_0x5b00[1]];exports[_0x5b00[3]]=function(_0xa778x2){SquareProject[_0x5b00[4]](function(_0xa778x3){onSave(_0xa778x2,_0xa778x3)});SquareProject[_0x5b00[5]](function(_0xa778x3){onSave(_0xa778x2,_0xa778x3)});SquareProject[_0x5b00[6]](function(_0xa778x3){onRemove(_0xa778x2,_0xa778x3)});};function onSave(_0xa778x2,_0xa778x3,_0xa778x5){_0xa778x2[_0x5b00[8]](_0x5b00[7],_0xa778x3)}function onRemove(_0xa778x2,_0xa778x3,_0xa778x5){_0xa778x2[_0x5b00[8]](_0x5b00[9],_0xa778x3)}
\ No newline at end of file
index 3db50e3..a1b7fd0 100644 (file)
@@ -1 +1 @@
-var _0x934a=["\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\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\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\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73","\x67\x65\x74"];_0x934a[0];var should=require(_0x934a[1]);var app=require(_0x934a[2]);var request=require(_0x934a[3]);describe(_0x934a[4],function(){it(_0x934a[5],function(_0xe29bx4){request(app)[_0x934a[13]](_0x934a[12])[_0x934a[11]](200)[_0x934a[11]](_0x934a[10],/json/)[_0x934a[9]](function(_0xe29bx5,_0xe29bx6){if(_0xe29bx5){return _0xe29bx4(_0xe29bx5)};_0xe29bx6[_0x934a[8]][_0x934a[1]][_0x934a[7]][_0x934a[6]](Array);_0xe29bx4();})})});
\ No newline at end of file
+var _0x5e13=["\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\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\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\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73","\x67\x65\x74"];_0x5e13[0];var should=require(_0x5e13[1]);var app=require(_0x5e13[2]);var request=require(_0x5e13[3]);describe(_0x5e13[4],function(){it(_0x5e13[5],function(_0xa8c6x4){request(app)[_0x5e13[13]](_0x5e13[12])[_0x5e13[11]](200)[_0x5e13[11]](_0x5e13[10],/json/)[_0x5e13[9]](function(_0xa8c6x5,_0xa8c6x6){if(_0xa8c6x5){return _0xa8c6x4(_0xa8c6x5)};_0xa8c6x6[_0x5e13[8]][_0x5e13[1]][_0x5e13[7]][_0x5e13[6]](Array);_0xa8c6x4();})})});
\ No newline at end of file
index 0df0448..806bec8 100644 (file)
@@ -1 +1 @@
-var _0xe3ba=["\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","\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","\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"];_0xe3ba[0];var express=require(_0xe3ba[1]);var auth=require(_0xe3ba[2]);var controller=require(_0xe3ba[3]);var router=express.Router();router[_0xe3ba[7]](_0xe3ba[4],auth[_0xe3ba[5]](),controller[_0xe3ba[6]]);router[_0xe3ba[7]](_0xe3ba[8],auth[_0xe3ba[5]](),controller[_0xe3ba[9]]);router[_0xe3ba[7]](_0xe3ba[10],auth[_0xe3ba[5]](),controller[_0xe3ba[11]]);router[_0xe3ba[7]](_0xe3ba[12],auth[_0xe3ba[5]](),controller[_0xe3ba[13]]);router[_0xe3ba[16]](_0xe3ba[14],auth[_0xe3ba[5]](),controller[_0xe3ba[15]]);router[_0xe3ba[16]](_0xe3ba[4],auth[_0xe3ba[5]](),controller[_0xe3ba[17]]);router[_0xe3ba[19]](_0xe3ba[12],auth[_0xe3ba[5]](),controller[_0xe3ba[18]]);router[_0xe3ba[20]](_0xe3ba[12],auth[_0xe3ba[5]](),controller[_0xe3ba[18]]);router[_0xe3ba[22]](_0xe3ba[4],auth[_0xe3ba[5]](),controller[_0xe3ba[21]]);router[_0xe3ba[22]](_0xe3ba[12],auth[_0xe3ba[5]](),controller[_0xe3ba[23]]);module[_0xe3ba[24]]=router;
\ No newline at end of file
+var _0xc095=["\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","\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","\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"];_0xc095[0];var express=require(_0xc095[1]);var auth=require(_0xc095[2]);var controller=require(_0xc095[3]);var router=express.Router();router[_0xc095[7]](_0xc095[4],auth[_0xc095[5]](),controller[_0xc095[6]]);router[_0xc095[7]](_0xc095[8],auth[_0xc095[5]](),controller[_0xc095[9]]);router[_0xc095[7]](_0xc095[10],auth[_0xc095[5]](),controller[_0xc095[11]]);router[_0xc095[7]](_0xc095[12],auth[_0xc095[5]](),controller[_0xc095[13]]);router[_0xc095[16]](_0xc095[14],auth[_0xc095[5]](),controller[_0xc095[15]]);router[_0xc095[16]](_0xc095[4],auth[_0xc095[5]](),controller[_0xc095[17]]);router[_0xc095[19]](_0xc095[12],auth[_0xc095[5]](),controller[_0xc095[18]]);router[_0xc095[20]](_0xc095[12],auth[_0xc095[5]](),controller[_0xc095[18]]);router[_0xc095[22]](_0xc095[4],auth[_0xc095[5]](),controller[_0xc095[21]]);router[_0xc095[22]](_0xc095[12],auth[_0xc095[5]](),controller[_0xc095[23]]);module[_0xc095[24]]=router;
\ No newline at end of file
index b381724..f189838 100644 (file)
@@ -1 +1 @@
-var _0x8233=["\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\x75\x67\x61\x72\x63\x72\x6D\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x73\x75\x67\x61\x72\x63\x72\x6D\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x73\x75\x67\x61\x72\x63\x72\x6D\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x73\x75\x67\x61\x72\x63\x72\x6D\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x73\x75\x67\x61\x72\x63\x72\x6D\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","\x53\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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"];_0x8233[0];var proxyquire=require(_0x8233[2])[_0x8233[1]]();var sugarcrmAccountCtrlStub={index:_0x8233[3],show:_0x8233[4],create:_0x8233[5],update:_0x8233[6],destroy:_0x8233[7]};var routerStub={get:sinon[_0x8233[8]](),put:sinon[_0x8233[8]](),patch:sinon[_0x8233[8]](),post:sinon[_0x8233[8]](),delete:sinon[_0x8233[8]]()};var sugarcrmAccountIndex=proxyquire(_0x8233[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\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":sugarcrmAccountCtrlStub});describe(_0x8233[10],function(){it(_0x8233[11],function(){expect(sugarcrmAccountIndex)[_0x8233[13]][_0x8233[12]](routerStub)});describe(_0x8233[14],function(){it(_0x8233[15],function(){expect(routerStub[_0x8233[21]][_0x8233[20]](_0x8233[19],_0x8233[3]))[_0x8233[13]][_0x8233[18]][_0x8233[17]][_0x8233[16]]})});describe(_0x8233[22],function(){it(_0x8233[23],function(){expect(routerStub[_0x8233[21]][_0x8233[20]](_0x8233[24],_0x8233[4]))[_0x8233[13]][_0x8233[18]][_0x8233[17]][_0x8233[16]]})});describe(_0x8233[25],function(){it(_0x8233[26],function(){expect(routerStub[_0x8233[27]][_0x8233[20]](_0x8233[19],_0x8233[5]))[_0x8233[13]][_0x8233[18]][_0x8233[17]][_0x8233[16]]})});describe(_0x8233[28],function(){it(_0x8233[29],function(){expect(routerStub[_0x8233[30]][_0x8233[20]](_0x8233[24],_0x8233[6]))[_0x8233[13]][_0x8233[18]][_0x8233[17]][_0x8233[16]]})});describe(_0x8233[31],function(){it(_0x8233[29],function(){expect(routerStub[_0x8233[32]][_0x8233[20]](_0x8233[24],_0x8233[6]))[_0x8233[13]][_0x8233[18]][_0x8233[17]][_0x8233[16]]})});describe(_0x8233[33],function(){it(_0x8233[34],function(){expect(routerStub[_0x8233[35]][_0x8233[20]](_0x8233[24],_0x8233[7]))[_0x8233[13]][_0x8233[18]][_0x8233[17]][_0x8233[16]]})});});
\ No newline at end of file
+var _0x17be=["\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\x75\x67\x61\x72\x63\x72\x6D\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x73\x75\x67\x61\x72\x63\x72\x6D\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x73\x75\x67\x61\x72\x63\x72\x6D\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x73\x75\x67\x61\x72\x63\x72\x6D\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x73\x75\x67\x61\x72\x63\x72\x6D\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","\x53\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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"];_0x17be[0];var proxyquire=require(_0x17be[2])[_0x17be[1]]();var sugarcrmAccountCtrlStub={index:_0x17be[3],show:_0x17be[4],create:_0x17be[5],update:_0x17be[6],destroy:_0x17be[7]};var routerStub={get:sinon[_0x17be[8]](),put:sinon[_0x17be[8]](),patch:sinon[_0x17be[8]](),post:sinon[_0x17be[8]](),delete:sinon[_0x17be[8]]()};var sugarcrmAccountIndex=proxyquire(_0x17be[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\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":sugarcrmAccountCtrlStub});describe(_0x17be[10],function(){it(_0x17be[11],function(){expect(sugarcrmAccountIndex)[_0x17be[13]][_0x17be[12]](routerStub)});describe(_0x17be[14],function(){it(_0x17be[15],function(){expect(routerStub[_0x17be[21]][_0x17be[20]](_0x17be[19],_0x17be[3]))[_0x17be[13]][_0x17be[18]][_0x17be[17]][_0x17be[16]]})});describe(_0x17be[22],function(){it(_0x17be[23],function(){expect(routerStub[_0x17be[21]][_0x17be[20]](_0x17be[24],_0x17be[4]))[_0x17be[13]][_0x17be[18]][_0x17be[17]][_0x17be[16]]})});describe(_0x17be[25],function(){it(_0x17be[26],function(){expect(routerStub[_0x17be[27]][_0x17be[20]](_0x17be[19],_0x17be[5]))[_0x17be[13]][_0x17be[18]][_0x17be[17]][_0x17be[16]]})});describe(_0x17be[28],function(){it(_0x17be[29],function(){expect(routerStub[_0x17be[30]][_0x17be[20]](_0x17be[24],_0x17be[6]))[_0x17be[13]][_0x17be[18]][_0x17be[17]][_0x17be[16]]})});describe(_0x17be[31],function(){it(_0x17be[29],function(){expect(routerStub[_0x17be[32]][_0x17be[20]](_0x17be[24],_0x17be[6]))[_0x17be[13]][_0x17be[18]][_0x17be[17]][_0x17be[16]]})});describe(_0x17be[33],function(){it(_0x17be[34],function(){expect(routerStub[_0x17be[35]][_0x17be[20]](_0x17be[24],_0x17be[7]))[_0x17be[13]][_0x17be[18]][_0x17be[17]][_0x17be[16]]})});});
\ No newline at end of file
index e838539..3230ac4 100644 (file)
@@ -1 +1 @@
-var _0x5929=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\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","\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","\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","\x2F\x73\x65\x72\x76\x69\x63\x65\x2F\x76\x34\x5F\x31\x2F\x72\x65\x73\x74\x2E\x70\x68\x70","\x70\x61\x73\x73\x77\x6F\x72\x64","\x69\x6E\x69\x74","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6C\x6F\x67\x69\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\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","\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","\x73\x75\x62\x73\x74\x72","\x2F","\x6C\x65\x6E\x67\x74\x68"];_0x5929[0];var _=require(_0x5929[1]);var util=require(_0x5929[2]);var SugarcrmAccount=require(_0x5929[4])[_0x5929[3]];function handleError(_0x8e12x5,_0x8e12x6){_0x8e12x6=_0x8e12x6||500;return function(_0x8e12x7){_0x8e12x5[_0x5929[6]](_0x8e12x6)[_0x5929[5]](_0x8e12x7)};}function responseWithResult(_0x8e12x5,_0x8e12x6){_0x8e12x6=_0x8e12x6||200;return function(_0x8e12x9){if(_0x8e12x9){_0x8e12x5[_0x5929[6]](_0x8e12x6)[_0x5929[7]](_0x8e12x9)}};}function handleEntityNotFound(_0x8e12x5){return function(_0x8e12x9){if(!_0x8e12x9){_0x8e12x5[_0x5929[6]](404)[_0x5929[8]]();return null;};return _0x8e12x9;}}function saveUpdates(_0x8e12xc){return function(_0x8e12x9){return _0x8e12x9[_0x5929[10]](_0x8e12xc)[_0x5929[9]](function(_0x8e12xd){return _0x8e12xd})}}function removeEntity(_0x8e12x5){return function(_0x8e12x9){if(_0x8e12x9){return _0x8e12x9[_0x5929[11]]()[_0x5929[9]](function(){_0x8e12x5[_0x5929[6]](204)[_0x5929[8]]()})}}}exports[_0x5929[12]]=function(_0x8e12xf,_0x8e12x5){var _0x8e12x10=[_0x5929[13],_0x5929[14],_0x5929[15],_0x5929[16]];var _0x8e12x11=_0x8e12xf[_0x5929[18]][_0x5929[17]]?parseInt(_0x8e12xf[_0x5929[18]][_0x5929[17]],10):100;var _0x8e12x12=_0x8e12xf[_0x5929[18]][_0x5929[19]]?parseInt(_0x8e12xf[_0x5929[18]][_0x5929[19]],10):0;var _0x8e12x13={where:{},limit:_0x8e12x11,offset:_0x8e12x12*_0x8e12x11};_[_0x5929[33]](_0x8e12xf[_0x5929[18]],function(_0x8e12x14,_0x8e12x15){switch(_0x8e12x15){case _0x5929[17]:;case _0x5929[19]:break ;;case _0x5929[22]:_0x8e12x13[_0x5929[20]]=util[_0x5929[25]](_0x5929[21],_0x8e12xf[_0x5929[18]][_0x5929[22]],_0x8e12xf[_0x5929[18]][_0x5929[23]]||_0x5929[24])||null;break ;;case _0x5929[23]:break ;;case _0x5929[31]:_0x8e12x13[_0x5929[27]][_0x5929[26]]=[];_0x8e12x10[_0x5929[30]](function(_0x8e12x16){var _0x8e12x17={};_0x8e12x17[_0x8e12x16]={$like:_0x5929[28]+_0x8e12x14+_0x5929[28]};_0x8e12x13[_0x5929[27]][_0x5929[26]][_0x5929[29]](_0x8e12x17);});break ;;default:_0x8e12x13[_0x5929[27]][_0x8e12x15]={$like:{}};_0x8e12x13[_0x5929[27]][_0x8e12x15][_0x5929[32]]=_0x5929[28]+_0x8e12x14+_0x5929[28];;}});SugarcrmAccount[_0x5929[45]](_0x8e12x13)[_0x5929[9]](function(_0x8e12x18){var _0x8e12x19=Math[_0x5929[37]](_0x8e12x18[_0x5929[36]]/_0x8e12x11);var _0x8e12x1a=_0x8e12x19>(_0x8e12x13[_0x5929[38]]+1)?util[_0x5929[25]](_0x5929[39],_0x8e12xf[_0x5929[40]],_0x8e12xf[_0x5929[42]][_0x5929[41]],_0x8e12xf[_0x5929[43]],_0x8e12x12+1):null;var _0x8e12x1b=_0x8e12x12>0?util[_0x5929[25]](_0x5929[39],_0x8e12xf[_0x5929[40]],_0x8e12xf[_0x5929[42]][_0x5929[41]],_0x8e12xf[_0x5929[43]],_0x8e12x12-1):null;return _0x8e12x5[_0x5929[6]](200)[_0x5929[5]]({count:_0x8e12x18[_0x5929[36]],rows:_0x8e12x18[_0x5929[44]],next_page:_0x8e12x1a,previous_page:_0x8e12x1b,total_pages:_0x8e12x19});})[_0x5929[35]](function(_0x8e12x7){return _0x8e12x5[_0x5929[6]](500)[_0x5929[5]]({error:_0x5929[34]})});};exports[_0x5929[46]]=function(_0x8e12xf,_0x8e12x5){SugarcrmAccount[_0x5929[49]](_0x8e12xf[_0x5929[48]][_0x5929[47]])[_0x5929[9]](handleEntityNotFound(_0x8e12x5))[_0x5929[9]](responseWithResult(_0x8e12x5))[_0x5929[35]](handleError(_0x8e12x5))};exports[_0x5929[50]]=function(_0x8e12xf,_0x8e12x5){SugarcrmAccount[_0x5929[50]](_0x8e12xf[_0x5929[51]])[_0x5929[9]](responseWithResult(_0x8e12x5,201))[_0x5929[35]](handleError(_0x8e12x5))};exports[_0x5929[52]]=function(_0x8e12xf,_0x8e12x5){if(_0x8e12xf[_0x5929[51]][_0x5929[47]]){delete _0x8e12xf[_0x5929[51]][_0x5929[47]]};SugarcrmAccount[_0x5929[49]](_0x8e12xf[_0x5929[48]][_0x5929[47]])[_0x5929[9]](handleEntityNotFound(_0x8e12x5))[_0x5929[9]](saveUpdates(_0x8e12xf[_0x5929[51]]))[_0x5929[9]](responseWithResult(_0x8e12x5))[_0x5929[35]](handleError(_0x8e12x5));};exports[_0x5929[11]]=function(_0x8e12xf,_0x8e12x5){SugarcrmAccount[_0x5929[49]](_0x8e12xf[_0x5929[48]][_0x5929[47]])[_0x5929[9]](handleEntityNotFound(_0x8e12x5))[_0x5929[9]](removeEntity(_0x8e12x5))[_0x5929[35]](handleError(_0x8e12x5))};exports[_0x5929[53]]=function(_0x8e12xf,_0x8e12x5){SugarcrmAccount[_0x5929[49]](_0x8e12xf[_0x5929[48]][_0x5929[47]])[_0x5929[9]](handleEntityNotFound(_0x8e12x5))[_0x5929[9]](function(_0x8e12x1c){var _0x8e12x1d=require(_0x5929[54]);_0x8e12x1d[_0x5929[57]]({apiURL:stripTrailingSlash(_0x8e12x1c[_0x5929[16]])+_0x5929[55],login:_0x8e12x1c[_0x5929[15]],passwd:_0x8e12x1c[_0x5929[56]]});_0x8e12x1d[_0x5929[59]](function(_0x8e12x1e){if(!_0x8e12x1e){return _0x8e12x5[_0x5929[58]](400)};return _0x8e12x5[_0x5929[58]](200);});})[_0x5929[35]](handleError(_0x8e12x5))};exports[_0x5929[60]]=function(_0x8e12xf,_0x8e12x5){SugarcrmAccount[_0x5929[11]]({where:{id:_0x8e12xf[_0x5929[18]][_0x5929[47]]},individualHooks:true})[_0x5929[9]](function(){return _0x8e12x5[_0x5929[58]](204)})[_0x5929[35]](function(_0x8e12x7){return handleError(_0x8e12x5,_0x8e12x7)})};exports[_0x5929[61]]=function(_0x8e12xf,_0x8e12x5){var _0x8e12x1f={};_0x8e12x1f[_0x8e12xf[_0x5929[48]][_0x5929[62]]]=_0x8e12xf[_0x5929[51]][_0x5929[63]];SugarcrmAccount[_0x5929[45]]({where:_0x8e12x1f})[_0x5929[9]](function(_0x8e12x18){if(_0x8e12x18[_0x5929[36]]){return _0x8e12x5[_0x5929[6]](200)[_0x5929[5]]({isValid:false,value:_0x8e12xf[_0x5929[51]][_0x5929[63]]})};return _0x8e12x5[_0x5929[6]](200)[_0x5929[5]]({isValid:true,value:_0x8e12xf[_0x5929[51]][_0x5929[63]]});})[_0x5929[35]](function(_0x8e12x7){return handleError(_0x8e12x5,_0x8e12x7)});};exports[_0x5929[64]]=function(_0x8e12xf,_0x8e12x5){var _0x8e12x1d=require(_0x5929[54]);SugarcrmAccount[_0x5929[49]](_0x8e12xf[_0x5929[48]][_0x5929[47]])[_0x5929[9]](handleEntityNotFound(_0x8e12x5))[_0x5929[9]](function(_0x8e12x1c){_0x8e12x1d[_0x5929[57]]({apiURL:stripTrailingSlash(_0x8e12x1c[_0x5929[16]])+_0x5929[55],login:_0x8e12x1c[_0x5929[15]],passwd:_0x8e12x1c[_0x5929[56]]});_0x8e12x1d[_0x5929[59]](function(_0x8e12x1e){if(!_0x8e12x1e){return _0x8e12x5[_0x5929[58]](400)};var _0x8e12x20={session:_0x8e12x1e,module_name:_0x5929[65]};_0x8e12x1d[_0x5929[68]](_0x5929[66],_0x8e12x20,function(_0x8e12x18,_0x8e12x7){if(_0x8e12x7){return _0x8e12x5[_0x5929[58]](400)};return _0x8e12x5[_0x5929[6]](200)[_0x5929[5]](_0x8e12x18[_0x5929[67]]);});});})[_0x5929[35]](handleError(_0x8e12x5));};function stripTrailingSlash(_0x8e12x22){if(_0x8e12x22[_0x5929[69]](-1)===_0x5929[70]){return _0x8e12x22[_0x5929[69]](0,_0x8e12x22[_0x5929[71]]-1)};return _0x8e12x22;}
\ No newline at end of file
+var _0xf980=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\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","\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","\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","\x2F\x73\x65\x72\x76\x69\x63\x65\x2F\x76\x34\x5F\x31\x2F\x72\x65\x73\x74\x2E\x70\x68\x70","\x70\x61\x73\x73\x77\x6F\x72\x64","\x69\x6E\x69\x74","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6C\x6F\x67\x69\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\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","\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","\x73\x75\x62\x73\x74\x72","\x2F","\x6C\x65\x6E\x67\x74\x68"];_0xf980[0];var _=require(_0xf980[1]);var util=require(_0xf980[2]);var SugarcrmAccount=require(_0xf980[4])[_0xf980[3]];function handleError(_0x8737x5,_0x8737x6){_0x8737x6=_0x8737x6||500;return function(_0x8737x7){_0x8737x5[_0xf980[6]](_0x8737x6)[_0xf980[5]](_0x8737x7)};}function responseWithResult(_0x8737x5,_0x8737x6){_0x8737x6=_0x8737x6||200;return function(_0x8737x9){if(_0x8737x9){_0x8737x5[_0xf980[6]](_0x8737x6)[_0xf980[7]](_0x8737x9)}};}function handleEntityNotFound(_0x8737x5){return function(_0x8737x9){if(!_0x8737x9){_0x8737x5[_0xf980[6]](404)[_0xf980[8]]();return null;};return _0x8737x9;}}function saveUpdates(_0x8737xc){return function(_0x8737x9){return _0x8737x9[_0xf980[10]](_0x8737xc)[_0xf980[9]](function(_0x8737xd){return _0x8737xd})}}function removeEntity(_0x8737x5){return function(_0x8737x9){if(_0x8737x9){return _0x8737x9[_0xf980[11]]()[_0xf980[9]](function(){_0x8737x5[_0xf980[6]](204)[_0xf980[8]]()})}}}exports[_0xf980[12]]=function(_0x8737xf,_0x8737x5){var _0x8737x10=[_0xf980[13],_0xf980[14],_0xf980[15],_0xf980[16]];var _0x8737x11=_0x8737xf[_0xf980[18]][_0xf980[17]]?parseInt(_0x8737xf[_0xf980[18]][_0xf980[17]],10):100;var _0x8737x12=_0x8737xf[_0xf980[18]][_0xf980[19]]?parseInt(_0x8737xf[_0xf980[18]][_0xf980[19]],10):0;var _0x8737x13={where:{},limit:_0x8737x11,offset:_0x8737x12*_0x8737x11};_[_0xf980[33]](_0x8737xf[_0xf980[18]],function(_0x8737x14,_0x8737x15){switch(_0x8737x15){case _0xf980[17]:;case _0xf980[19]:break ;;case _0xf980[22]:_0x8737x13[_0xf980[20]]=util[_0xf980[25]](_0xf980[21],_0x8737xf[_0xf980[18]][_0xf980[22]],_0x8737xf[_0xf980[18]][_0xf980[23]]||_0xf980[24])||null;break ;;case _0xf980[23]:break ;;case _0xf980[31]:_0x8737x13[_0xf980[27]][_0xf980[26]]=[];_0x8737x10[_0xf980[30]](function(_0x8737x16){var _0x8737x17={};_0x8737x17[_0x8737x16]={$like:_0xf980[28]+_0x8737x14+_0xf980[28]};_0x8737x13[_0xf980[27]][_0xf980[26]][_0xf980[29]](_0x8737x17);});break ;;default:_0x8737x13[_0xf980[27]][_0x8737x15]={$like:{}};_0x8737x13[_0xf980[27]][_0x8737x15][_0xf980[32]]=_0xf980[28]+_0x8737x14+_0xf980[28];;}});SugarcrmAccount[_0xf980[45]](_0x8737x13)[_0xf980[9]](function(_0x8737x18){var _0x8737x19=Math[_0xf980[37]](_0x8737x18[_0xf980[36]]/_0x8737x11);var _0x8737x1a=_0x8737x19>(_0x8737x13[_0xf980[38]]+1)?util[_0xf980[25]](_0xf980[39],_0x8737xf[_0xf980[40]],_0x8737xf[_0xf980[42]][_0xf980[41]],_0x8737xf[_0xf980[43]],_0x8737x12+1):null;var _0x8737x1b=_0x8737x12>0?util[_0xf980[25]](_0xf980[39],_0x8737xf[_0xf980[40]],_0x8737xf[_0xf980[42]][_0xf980[41]],_0x8737xf[_0xf980[43]],_0x8737x12-1):null;return _0x8737x5[_0xf980[6]](200)[_0xf980[5]]({count:_0x8737x18[_0xf980[36]],rows:_0x8737x18[_0xf980[44]],next_page:_0x8737x1a,previous_page:_0x8737x1b,total_pages:_0x8737x19});})[_0xf980[35]](function(_0x8737x7){return _0x8737x5[_0xf980[6]](500)[_0xf980[5]]({error:_0xf980[34]})});};exports[_0xf980[46]]=function(_0x8737xf,_0x8737x5){SugarcrmAccount[_0xf980[49]](_0x8737xf[_0xf980[48]][_0xf980[47]])[_0xf980[9]](handleEntityNotFound(_0x8737x5))[_0xf980[9]](responseWithResult(_0x8737x5))[_0xf980[35]](handleError(_0x8737x5))};exports[_0xf980[50]]=function(_0x8737xf,_0x8737x5){SugarcrmAccount[_0xf980[50]](_0x8737xf[_0xf980[51]])[_0xf980[9]](responseWithResult(_0x8737x5,201))[_0xf980[35]](handleError(_0x8737x5))};exports[_0xf980[52]]=function(_0x8737xf,_0x8737x5){if(_0x8737xf[_0xf980[51]][_0xf980[47]]){delete _0x8737xf[_0xf980[51]][_0xf980[47]]};SugarcrmAccount[_0xf980[49]](_0x8737xf[_0xf980[48]][_0xf980[47]])[_0xf980[9]](handleEntityNotFound(_0x8737x5))[_0xf980[9]](saveUpdates(_0x8737xf[_0xf980[51]]))[_0xf980[9]](responseWithResult(_0x8737x5))[_0xf980[35]](handleError(_0x8737x5));};exports[_0xf980[11]]=function(_0x8737xf,_0x8737x5){SugarcrmAccount[_0xf980[49]](_0x8737xf[_0xf980[48]][_0xf980[47]])[_0xf980[9]](handleEntityNotFound(_0x8737x5))[_0xf980[9]](removeEntity(_0x8737x5))[_0xf980[35]](handleError(_0x8737x5))};exports[_0xf980[53]]=function(_0x8737xf,_0x8737x5){SugarcrmAccount[_0xf980[49]](_0x8737xf[_0xf980[48]][_0xf980[47]])[_0xf980[9]](handleEntityNotFound(_0x8737x5))[_0xf980[9]](function(_0x8737x1c){var _0x8737x1d=require(_0xf980[54]);_0x8737x1d[_0xf980[57]]({apiURL:stripTrailingSlash(_0x8737x1c[_0xf980[16]])+_0xf980[55],login:_0x8737x1c[_0xf980[15]],passwd:_0x8737x1c[_0xf980[56]]});_0x8737x1d[_0xf980[59]](function(_0x8737x1e){if(!_0x8737x1e){return _0x8737x5[_0xf980[58]](400)};return _0x8737x5[_0xf980[58]](200);});})[_0xf980[35]](handleError(_0x8737x5))};exports[_0xf980[60]]=function(_0x8737xf,_0x8737x5){SugarcrmAccount[_0xf980[11]]({where:{id:_0x8737xf[_0xf980[18]][_0xf980[47]]},individualHooks:true})[_0xf980[9]](function(){return _0x8737x5[_0xf980[58]](204)})[_0xf980[35]](function(_0x8737x7){return handleError(_0x8737x5,_0x8737x7)})};exports[_0xf980[61]]=function(_0x8737xf,_0x8737x5){var _0x8737x1f={};_0x8737x1f[_0x8737xf[_0xf980[48]][_0xf980[62]]]=_0x8737xf[_0xf980[51]][_0xf980[63]];SugarcrmAccount[_0xf980[45]]({where:_0x8737x1f})[_0xf980[9]](function(_0x8737x18){if(_0x8737x18[_0xf980[36]]){return _0x8737x5[_0xf980[6]](200)[_0xf980[5]]({isValid:false,value:_0x8737xf[_0xf980[51]][_0xf980[63]]})};return _0x8737x5[_0xf980[6]](200)[_0xf980[5]]({isValid:true,value:_0x8737xf[_0xf980[51]][_0xf980[63]]});})[_0xf980[35]](function(_0x8737x7){return handleError(_0x8737x5,_0x8737x7)});};exports[_0xf980[64]]=function(_0x8737xf,_0x8737x5){var _0x8737x1d=require(_0xf980[54]);SugarcrmAccount[_0xf980[49]](_0x8737xf[_0xf980[48]][_0xf980[47]])[_0xf980[9]](handleEntityNotFound(_0x8737x5))[_0xf980[9]](function(_0x8737x1c){_0x8737x1d[_0xf980[57]]({apiURL:stripTrailingSlash(_0x8737x1c[_0xf980[16]])+_0xf980[55],login:_0x8737x1c[_0xf980[15]],passwd:_0x8737x1c[_0xf980[56]]});_0x8737x1d[_0xf980[59]](function(_0x8737x1e){if(!_0x8737x1e){return _0x8737x5[_0xf980[58]](400)};var _0x8737x20={session:_0x8737x1e,module_name:_0xf980[65]};_0x8737x1d[_0xf980[68]](_0xf980[66],_0x8737x20,function(_0x8737x18,_0x8737x7){if(_0x8737x7){return _0x8737x5[_0xf980[58]](400)};return _0x8737x5[_0xf980[6]](200)[_0xf980[5]](_0x8737x18[_0xf980[67]]);});});})[_0xf980[35]](handleError(_0x8737x5));};function stripTrailingSlash(_0x8737x22){if(_0x8737x22[_0xf980[69]](-1)===_0xf980[70]){return _0x8737x22[_0xf980[69]](0,_0x8737x22[_0xf980[71]]-1)};return _0x8737x22;}
\ No newline at end of file
index 89bedc1..07adc1e 100644 (file)
@@ -1 +1 @@
-var _0x4084=["\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"];_0x4084[0];var SugarcrmAccount=require(_0x4084[2])[_0x4084[1]];exports[_0x4084[3]]=function(_0x11e3x2){SugarcrmAccount[_0x4084[4]](function(_0x11e3x3){onSave(_0x11e3x2,_0x11e3x3)});SugarcrmAccount[_0x4084[5]](function(_0x11e3x3){onRemove(_0x11e3x2,_0x11e3x3)});};function onSave(_0x11e3x2,_0x11e3x3,_0x11e3x5){_0x11e3x2[_0x4084[7]](_0x4084[6],_0x11e3x3)}function onRemove(_0x11e3x2,_0x11e3x3,_0x11e3x5){_0x11e3x2[_0x4084[7]](_0x4084[8],_0x11e3x3)}
\ No newline at end of file
+var _0x5e99=["\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"];_0x5e99[0];var SugarcrmAccount=require(_0x5e99[2])[_0x5e99[1]];exports[_0x5e99[3]]=function(_0xdd70x2){SugarcrmAccount[_0x5e99[4]](function(_0xdd70x3){onSave(_0xdd70x2,_0xdd70x3)});SugarcrmAccount[_0x5e99[5]](function(_0xdd70x3){onRemove(_0xdd70x2,_0xdd70x3)});};function onSave(_0xdd70x2,_0xdd70x3,_0xdd70x5){_0xdd70x2[_0x5e99[7]](_0x5e99[6],_0xdd70x3)}function onRemove(_0xdd70x2,_0xdd70x3,_0xdd70x5){_0xdd70x2[_0x5e99[7]](_0x5e99[8],_0xdd70x3)}
\ No newline at end of file
index 2b892aa..790b549 100644 (file)
@@ -1 +1 @@
-var _0x702d=["\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","\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"];_0x702d[0];var express=require(_0x702d[1]);var auth=require(_0x702d[2]);var controller=require(_0x702d[3]);var router=express.Router();router[_0x702d[7]](_0x702d[4],auth[_0x702d[5]](),controller[_0x702d[6]]);router[_0x702d[7]](_0x702d[8],auth[_0x702d[5]](),controller[_0x702d[9]]);router[_0x702d[11]](_0x702d[4],auth[_0x702d[5]](),controller[_0x702d[10]]);router[_0x702d[13]](_0x702d[8],auth[_0x702d[5]](),controller[_0x702d[12]]);router[_0x702d[11]](_0x702d[14],auth[_0x702d[5]](),controller[_0x702d[15]]);router[_0x702d[16]](_0x702d[8],auth[_0x702d[5]](),controller[_0x702d[12]]);router[_0x702d[18]](_0x702d[8],auth[_0x702d[5]](),controller[_0x702d[17]]);module[_0x702d[19]]=router;
\ No newline at end of file
+var _0x5b1d=["\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","\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"];_0x5b1d[0];var express=require(_0x5b1d[1]);var auth=require(_0x5b1d[2]);var controller=require(_0x5b1d[3]);var router=express.Router();router[_0x5b1d[7]](_0x5b1d[4],auth[_0x5b1d[5]](),controller[_0x5b1d[6]]);router[_0x5b1d[7]](_0x5b1d[8],auth[_0x5b1d[5]](),controller[_0x5b1d[9]]);router[_0x5b1d[11]](_0x5b1d[4],auth[_0x5b1d[5]](),controller[_0x5b1d[10]]);router[_0x5b1d[13]](_0x5b1d[8],auth[_0x5b1d[5]](),controller[_0x5b1d[12]]);router[_0x5b1d[11]](_0x5b1d[14],auth[_0x5b1d[5]](),controller[_0x5b1d[15]]);router[_0x5b1d[16]](_0x5b1d[8],auth[_0x5b1d[5]](),controller[_0x5b1d[12]]);router[_0x5b1d[18]](_0x5b1d[8],auth[_0x5b1d[5]](),controller[_0x5b1d[17]]);module[_0x5b1d[19]]=router;
\ No newline at end of file
index 6a36675..7903f26 100644 (file)
@@ -1 +1 @@
-var _0xd2e8=["\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\x75\x67\x61\x72\x63\x72\x6D\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x73\x75\x67\x61\x72\x63\x72\x6D\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x73\x75\x67\x61\x72\x63\x72\x6D\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x73\x75\x67\x61\x72\x63\x72\x6D\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x73\x75\x67\x61\x72\x63\x72\x6D\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","\x53\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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"];_0xd2e8[0];var proxyquire=require(_0xd2e8[2])[_0xd2e8[1]]();var sugarcrmConfigurationCtrlStub={index:_0xd2e8[3],show:_0xd2e8[4],create:_0xd2e8[5],update:_0xd2e8[6],destroy:_0xd2e8[7]};var routerStub={get:sinon[_0xd2e8[8]](),put:sinon[_0xd2e8[8]](),patch:sinon[_0xd2e8[8]](),post:sinon[_0xd2e8[8]](),delete:sinon[_0xd2e8[8]]()};var sugarcrmConfigurationIndex=proxyquire(_0xd2e8[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\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":sugarcrmConfigurationCtrlStub});describe(_0xd2e8[10],function(){it(_0xd2e8[11],function(){expect(sugarcrmConfigurationIndex)[_0xd2e8[13]][_0xd2e8[12]](routerStub)});describe(_0xd2e8[14],function(){it(_0xd2e8[15],function(){expect(routerStub[_0xd2e8[21]][_0xd2e8[20]](_0xd2e8[19],_0xd2e8[3]))[_0xd2e8[13]][_0xd2e8[18]][_0xd2e8[17]][_0xd2e8[16]]})});describe(_0xd2e8[22],function(){it(_0xd2e8[23],function(){expect(routerStub[_0xd2e8[21]][_0xd2e8[20]](_0xd2e8[24],_0xd2e8[4]))[_0xd2e8[13]][_0xd2e8[18]][_0xd2e8[17]][_0xd2e8[16]]})});describe(_0xd2e8[25],function(){it(_0xd2e8[26],function(){expect(routerStub[_0xd2e8[27]][_0xd2e8[20]](_0xd2e8[19],_0xd2e8[5]))[_0xd2e8[13]][_0xd2e8[18]][_0xd2e8[17]][_0xd2e8[16]]})});describe(_0xd2e8[28],function(){it(_0xd2e8[29],function(){expect(routerStub[_0xd2e8[30]][_0xd2e8[20]](_0xd2e8[24],_0xd2e8[6]))[_0xd2e8[13]][_0xd2e8[18]][_0xd2e8[17]][_0xd2e8[16]]})});describe(_0xd2e8[31],function(){it(_0xd2e8[29],function(){expect(routerStub[_0xd2e8[32]][_0xd2e8[20]](_0xd2e8[24],_0xd2e8[6]))[_0xd2e8[13]][_0xd2e8[18]][_0xd2e8[17]][_0xd2e8[16]]})});describe(_0xd2e8[33],function(){it(_0xd2e8[34],function(){expect(routerStub[_0xd2e8[35]][_0xd2e8[20]](_0xd2e8[24],_0xd2e8[7]))[_0xd2e8[13]][_0xd2e8[18]][_0xd2e8[17]][_0xd2e8[16]]})});});
\ No newline at end of file
+var _0x8433=["\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\x75\x67\x61\x72\x63\x72\x6D\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x73\x75\x67\x61\x72\x63\x72\x6D\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x73\x75\x67\x61\x72\x63\x72\x6D\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x73\x75\x67\x61\x72\x63\x72\x6D\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x73\x75\x67\x61\x72\x63\x72\x6D\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","\x53\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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\x73\x75\x67\x61\x72\x63\x72\x6D\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"];_0x8433[0];var proxyquire=require(_0x8433[2])[_0x8433[1]]();var sugarcrmConfigurationCtrlStub={index:_0x8433[3],show:_0x8433[4],create:_0x8433[5],update:_0x8433[6],destroy:_0x8433[7]};var routerStub={get:sinon[_0x8433[8]](),put:sinon[_0x8433[8]](),patch:sinon[_0x8433[8]](),post:sinon[_0x8433[8]](),delete:sinon[_0x8433[8]]()};var sugarcrmConfigurationIndex=proxyquire(_0x8433[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\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":sugarcrmConfigurationCtrlStub});describe(_0x8433[10],function(){it(_0x8433[11],function(){expect(sugarcrmConfigurationIndex)[_0x8433[13]][_0x8433[12]](routerStub)});describe(_0x8433[14],function(){it(_0x8433[15],function(){expect(routerStub[_0x8433[21]][_0x8433[20]](_0x8433[19],_0x8433[3]))[_0x8433[13]][_0x8433[18]][_0x8433[17]][_0x8433[16]]})});describe(_0x8433[22],function(){it(_0x8433[23],function(){expect(routerStub[_0x8433[21]][_0x8433[20]](_0x8433[24],_0x8433[4]))[_0x8433[13]][_0x8433[18]][_0x8433[17]][_0x8433[16]]})});describe(_0x8433[25],function(){it(_0x8433[26],function(){expect(routerStub[_0x8433[27]][_0x8433[20]](_0x8433[19],_0x8433[5]))[_0x8433[13]][_0x8433[18]][_0x8433[17]][_0x8433[16]]})});describe(_0x8433[28],function(){it(_0x8433[29],function(){expect(routerStub[_0x8433[30]][_0x8433[20]](_0x8433[24],_0x8433[6]))[_0x8433[13]][_0x8433[18]][_0x8433[17]][_0x8433[16]]})});describe(_0x8433[31],function(){it(_0x8433[29],function(){expect(routerStub[_0x8433[32]][_0x8433[20]](_0x8433[24],_0x8433[6]))[_0x8433[13]][_0x8433[18]][_0x8433[17]][_0x8433[16]]})});describe(_0x8433[33],function(){it(_0x8433[34],function(){expect(routerStub[_0x8433[35]][_0x8433[20]](_0x8433[24],_0x8433[7]))[_0x8433[13]][_0x8433[18]][_0x8433[17]][_0x8433[16]]})});});
\ No newline at end of file
index dc60db9..6df7fe3 100644 (file)
@@ -1 +1 @@
-var _0xb6d6=["\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"];_0xb6d6[0];var _=require(_0xb6d6[1]);var SugarcrmConfiguration=require(_0xb6d6[3])[_0xb6d6[2]];var SugarcrmField=require(_0xb6d6[3])[_0xb6d6[4]];function handleError(_0xb5a1x5,_0xb5a1x6){_0xb5a1x6=_0xb5a1x6||500;return function(_0xb5a1x7){_0xb5a1x5[_0xb6d6[6]](_0xb5a1x6)[_0xb6d6[5]](_0xb5a1x7)};}function responseWithResult(_0xb5a1x5,_0xb5a1x6){_0xb5a1x6=_0xb5a1x6||200;return function(_0xb5a1x9){if(_0xb5a1x9){_0xb5a1x5[_0xb6d6[6]](_0xb5a1x6)[_0xb6d6[7]](_0xb5a1x9)}};}function handleEntityNotFound(_0xb5a1x5){return function(_0xb5a1x9){if(!_0xb5a1x9){_0xb5a1x5[_0xb6d6[6]](404)[_0xb6d6[8]]();return null;};return _0xb5a1x9;}}function saveUpdates(_0xb5a1xc){return function(_0xb5a1x9){return _0xb5a1x9[_0xb6d6[10]](_0xb5a1xc)[_0xb6d6[9]](function(_0xb5a1xd){return _0xb5a1xd})}}function removeEntity(_0xb5a1x5){return function(_0xb5a1x9){if(_0xb5a1x9){return _0xb5a1x9[_0xb6d6[11]]()[_0xb6d6[9]](function(){_0xb5a1x5[_0xb6d6[6]](204)[_0xb6d6[8]]()})}}}exports[_0xb6d6[12]]=function(_0xb5a1xf,_0xb5a1x5){SugarcrmConfiguration[_0xb6d6[15]]({where:_0xb5a1xf[_0xb6d6[14]]})[_0xb6d6[9]](responseWithResult(_0xb5a1x5))[_0xb6d6[13]](handleError(_0xb5a1x5))};exports[_0xb6d6[16]]=function(_0xb5a1xf,_0xb5a1x5){SugarcrmConfiguration[_0xb6d6[22]]({where:{id:_0xb5a1xf[_0xb6d6[18]][_0xb6d6[17]]},include:[{model:SugarcrmField,as:_0xb6d6[19]},{model:SugarcrmField,as:_0xb6d6[20]},{model:SugarcrmField,as:_0xb6d6[21]}]})[_0xb6d6[9]](handleEntityNotFound(_0xb5a1x5))[_0xb6d6[9]](responseWithResult(_0xb5a1x5))[_0xb6d6[13]](handleError(_0xb5a1x5))};exports[_0xb6d6[23]]=function(_0xb5a1xf,_0xb5a1x5){SugarcrmConfiguration[_0xb6d6[23]](_0xb5a1xf[_0xb6d6[24]])[_0xb6d6[9]](responseWithResult(_0xb5a1x5,201))[_0xb6d6[13]](handleError(_0xb5a1x5))};exports[_0xb6d6[25]]=function(_0xb5a1xf,_0xb5a1x5){if(_0xb5a1xf[_0xb6d6[24]][_0xb6d6[17]]){delete _0xb5a1xf[_0xb6d6[24]][_0xb6d6[17]]};SugarcrmConfiguration[_0xb6d6[26]](_0xb5a1xf[_0xb6d6[18]][_0xb6d6[17]])[_0xb6d6[9]](handleEntityNotFound(_0xb5a1x5))[_0xb6d6[9]](saveUpdates(_0xb5a1xf[_0xb6d6[24]]))[_0xb6d6[9]](responseWithResult(_0xb5a1x5))[_0xb6d6[13]](handleError(_0xb5a1x5));};exports[_0xb6d6[11]]=function(_0xb5a1xf,_0xb5a1x5){SugarcrmConfiguration[_0xb6d6[26]](_0xb5a1xf[_0xb6d6[18]][_0xb6d6[17]])[_0xb6d6[9]](handleEntityNotFound(_0xb5a1x5))[_0xb6d6[9]](removeEntity(_0xb5a1x5))[_0xb6d6[13]](handleError(_0xb5a1x5))};exports[_0xb6d6[27]]=function(_0xb5a1xf,_0xb5a1x5,_0xb5a1x10){var _0xb5a1x11;SugarcrmConfiguration[_0xb6d6[26]](_0xb5a1xf[_0xb6d6[18]][_0xb6d6[17]])[_0xb6d6[9]](handleEntityNotFound(_0xb5a1x5))[_0xb6d6[9]](function(_0xb5a1x14){_0xb5a1x11=_0xb5a1x14;return SugarcrmField[_0xb6d6[23]](_0xb5a1xf[_0xb6d6[24]]);})[_0xb6d6[9]](function(_0xb5a1x13){switch(_0xb5a1xf[_0xb6d6[18]][_0xb6d6[35]]){case _0xb6d6[30]:return [_0xb5a1x11[_0xb6d6[29]](_0xb5a1x13),_0xb5a1x13];;case _0xb6d6[32]:return [_0xb5a1x11[_0xb6d6[31]](_0xb5a1x13),_0xb5a1x13];;case _0xb6d6[34]:return [_0xb5a1x11[_0xb6d6[33]](_0xb5a1x13),_0xb5a1x13];;}})[_0xb6d6[28]](function(_0xb5a1x12,_0xb5a1x13){return _0xb5a1x5[_0xb6d6[6]](201)[_0xb6d6[7]](_0xb5a1x13)})[_0xb6d6[13]](handleError(_0xb5a1x5));};
\ No newline at end of file
+var _0x3ea6=["\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"];_0x3ea6[0];var _=require(_0x3ea6[1]);var SugarcrmConfiguration=require(_0x3ea6[3])[_0x3ea6[2]];var SugarcrmField=require(_0x3ea6[3])[_0x3ea6[4]];function handleError(_0xa316x5,_0xa316x6){_0xa316x6=_0xa316x6||500;return function(_0xa316x7){_0xa316x5[_0x3ea6[6]](_0xa316x6)[_0x3ea6[5]](_0xa316x7)};}function responseWithResult(_0xa316x5,_0xa316x6){_0xa316x6=_0xa316x6||200;return function(_0xa316x9){if(_0xa316x9){_0xa316x5[_0x3ea6[6]](_0xa316x6)[_0x3ea6[7]](_0xa316x9)}};}function handleEntityNotFound(_0xa316x5){return function(_0xa316x9){if(!_0xa316x9){_0xa316x5[_0x3ea6[6]](404)[_0x3ea6[8]]();return null;};return _0xa316x9;}}function saveUpdates(_0xa316xc){return function(_0xa316x9){return _0xa316x9[_0x3ea6[10]](_0xa316xc)[_0x3ea6[9]](function(_0xa316xd){return _0xa316xd})}}function removeEntity(_0xa316x5){return function(_0xa316x9){if(_0xa316x9){return _0xa316x9[_0x3ea6[11]]()[_0x3ea6[9]](function(){_0xa316x5[_0x3ea6[6]](204)[_0x3ea6[8]]()})}}}exports[_0x3ea6[12]]=function(_0xa316xf,_0xa316x5){SugarcrmConfiguration[_0x3ea6[15]]({where:_0xa316xf[_0x3ea6[14]]})[_0x3ea6[9]](responseWithResult(_0xa316x5))[_0x3ea6[13]](handleError(_0xa316x5))};exports[_0x3ea6[16]]=function(_0xa316xf,_0xa316x5){SugarcrmConfiguration[_0x3ea6[22]]({where:{id:_0xa316xf[_0x3ea6[18]][_0x3ea6[17]]},include:[{model:SugarcrmField,as:_0x3ea6[19]},{model:SugarcrmField,as:_0x3ea6[20]},{model:SugarcrmField,as:_0x3ea6[21]}]})[_0x3ea6[9]](handleEntityNotFound(_0xa316x5))[_0x3ea6[9]](responseWithResult(_0xa316x5))[_0x3ea6[13]](handleError(_0xa316x5))};exports[_0x3ea6[23]]=function(_0xa316xf,_0xa316x5){SugarcrmConfiguration[_0x3ea6[23]](_0xa316xf[_0x3ea6[24]])[_0x3ea6[9]](responseWithResult(_0xa316x5,201))[_0x3ea6[13]](handleError(_0xa316x5))};exports[_0x3ea6[25]]=function(_0xa316xf,_0xa316x5){if(_0xa316xf[_0x3ea6[24]][_0x3ea6[17]]){delete _0xa316xf[_0x3ea6[24]][_0x3ea6[17]]};SugarcrmConfiguration[_0x3ea6[26]](_0xa316xf[_0x3ea6[18]][_0x3ea6[17]])[_0x3ea6[9]](handleEntityNotFound(_0xa316x5))[_0x3ea6[9]](saveUpdates(_0xa316xf[_0x3ea6[24]]))[_0x3ea6[9]](responseWithResult(_0xa316x5))[_0x3ea6[13]](handleError(_0xa316x5));};exports[_0x3ea6[11]]=function(_0xa316xf,_0xa316x5){SugarcrmConfiguration[_0x3ea6[26]](_0xa316xf[_0x3ea6[18]][_0x3ea6[17]])[_0x3ea6[9]](handleEntityNotFound(_0xa316x5))[_0x3ea6[9]](removeEntity(_0xa316x5))[_0x3ea6[13]](handleError(_0xa316x5))};exports[_0x3ea6[27]]=function(_0xa316xf,_0xa316x5,_0xa316x10){var _0xa316x11;SugarcrmConfiguration[_0x3ea6[26]](_0xa316xf[_0x3ea6[18]][_0x3ea6[17]])[_0x3ea6[9]](handleEntityNotFound(_0xa316x5))[_0x3ea6[9]](function(_0xa316x14){_0xa316x11=_0xa316x14;return SugarcrmField[_0x3ea6[23]](_0xa316xf[_0x3ea6[24]]);})[_0x3ea6[9]](function(_0xa316x13){switch(_0xa316xf[_0x3ea6[18]][_0x3ea6[35]]){case _0x3ea6[30]:return [_0xa316x11[_0x3ea6[29]](_0xa316x13),_0xa316x13];;case _0x3ea6[32]:return [_0xa316x11[_0x3ea6[31]](_0xa316x13),_0xa316x13];;case _0x3ea6[34]:return [_0xa316x11[_0x3ea6[33]](_0xa316x13),_0xa316x13];;}})[_0x3ea6[28]](function(_0xa316x12,_0xa316x13){return _0xa316x5[_0x3ea6[6]](201)[_0x3ea6[7]](_0xa316x13)})[_0x3ea6[13]](handleError(_0xa316x5));};
\ No newline at end of file
index 33654ec..15b3aee 100644 (file)
@@ -1 +1 @@
-var _0x30eb=["\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"];_0x30eb[0];var SugarcrmConfiguration=require(_0x30eb[2])[_0x30eb[1]];exports[_0x30eb[3]]=function(_0x5fd9x2){SugarcrmConfiguration[_0x30eb[4]](function(_0x5fd9x3){onSave(_0x5fd9x2,_0x5fd9x3)});SugarcrmConfiguration[_0x30eb[5]](function(_0x5fd9x3){onRemove(_0x5fd9x2,_0x5fd9x3)});};function onSave(_0x5fd9x2,_0x5fd9x3,_0x5fd9x5){_0x5fd9x2[_0x30eb[7]](_0x30eb[6],_0x5fd9x3)}function onRemove(_0x5fd9x2,_0x5fd9x3,_0x5fd9x5){_0x5fd9x2[_0x30eb[7]](_0x30eb[8],_0x5fd9x3)}
\ No newline at end of file
+var _0x14ca=["\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"];_0x14ca[0];var SugarcrmConfiguration=require(_0x14ca[2])[_0x14ca[1]];exports[_0x14ca[3]]=function(_0xf920x2){SugarcrmConfiguration[_0x14ca[4]](function(_0xf920x3){onSave(_0xf920x2,_0xf920x3)});SugarcrmConfiguration[_0x14ca[5]](function(_0xf920x3){onRemove(_0xf920x2,_0xf920x3)});};function onSave(_0xf920x2,_0xf920x3,_0xf920x5){_0xf920x2[_0x14ca[7]](_0x14ca[6],_0xf920x3)}function onRemove(_0xf920x2,_0xf920x3,_0xf920x5){_0xf920x2[_0x14ca[7]](_0x14ca[8],_0xf920x3)}
\ No newline at end of file
index e60b964..76c738a 100644 (file)
@@ -1 +1 @@
-var _0x5996=["\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","\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"];_0x5996[0];var express=require(_0x5996[1]);var auth=require(_0x5996[2]);var controller=require(_0x5996[3]);var router=express.Router();router[_0x5996[7]](_0x5996[4],auth[_0x5996[5]](),controller[_0x5996[6]]);router[_0x5996[7]](_0x5996[8],auth[_0x5996[5]](),controller[_0x5996[9]]);router[_0x5996[11]](_0x5996[4],auth[_0x5996[5]](),controller[_0x5996[10]]);router[_0x5996[13]](_0x5996[8],auth[_0x5996[5]](),controller[_0x5996[12]]);router[_0x5996[14]](_0x5996[8],auth[_0x5996[5]](),controller[_0x5996[12]]);router[_0x5996[16]](_0x5996[8],auth[_0x5996[5]](),controller[_0x5996[15]]);module[_0x5996[17]]=router;
\ No newline at end of file
+var _0x51a0=["\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","\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"];_0x51a0[0];var express=require(_0x51a0[1]);var auth=require(_0x51a0[2]);var controller=require(_0x51a0[3]);var router=express.Router();router[_0x51a0[7]](_0x51a0[4],auth[_0x51a0[5]](),controller[_0x51a0[6]]);router[_0x51a0[7]](_0x51a0[8],auth[_0x51a0[5]](),controller[_0x51a0[9]]);router[_0x51a0[11]](_0x51a0[4],auth[_0x51a0[5]](),controller[_0x51a0[10]]);router[_0x51a0[13]](_0x51a0[8],auth[_0x51a0[5]](),controller[_0x51a0[12]]);router[_0x51a0[14]](_0x51a0[8],auth[_0x51a0[5]](),controller[_0x51a0[12]]);router[_0x51a0[16]](_0x51a0[8],auth[_0x51a0[5]](),controller[_0x51a0[15]]);module[_0x51a0[17]]=router;
\ No newline at end of file
index d4c74ae..418414e 100644 (file)
@@ -1 +1 @@
-var _0x589f=["\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\x75\x67\x61\x72\x63\x72\x6D\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x73\x75\x67\x61\x72\x63\x72\x6D\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x73\x75\x67\x61\x72\x63\x72\x6D\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x73\x75\x67\x61\x72\x63\x72\x6D\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x73\x75\x67\x61\x72\x63\x72\x6D\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\x75\x67\x61\x72\x63\x72\x6D\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\x75\x67\x61\x72\x63\x72\x6D\x2F\x66\x69\x65\x6C\x64\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x73\x75\x67\x61\x72\x63\x72\x6D\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\x75\x67\x61\x72\x63\x72\x6D\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\x75\x67\x61\x72\x63\x72\x6D\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\x75\x67\x61\x72\x63\x72\x6D\x2F\x66\x69\x65\x6C\x64\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x73\x75\x67\x61\x72\x63\x72\x6D\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\x75\x67\x61\x72\x63\x72\x6D\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\x75\x67\x61\x72\x63\x72\x6D\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\x75\x67\x61\x72\x63\x72\x6D\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\x75\x67\x61\x72\x63\x72\x6D\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\x75\x67\x61\x72\x63\x72\x6D\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"];_0x589f[0];var proxyquire=require(_0x589f[2])[_0x589f[1]]();var sugarcrmFieldCtrlStub={index:_0x589f[3],show:_0x589f[4],create:_0x589f[5],update:_0x589f[6],destroy:_0x589f[7]};var routerStub={get:sinon[_0x589f[8]](),put:sinon[_0x589f[8]](),patch:sinon[_0x589f[8]](),post:sinon[_0x589f[8]](),delete:sinon[_0x589f[8]]()};var sugarcrmFieldIndex=proxyquire(_0x589f[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\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":sugarcrmFieldCtrlStub});describe(_0x589f[10],function(){it(_0x589f[11],function(){expect(sugarcrmFieldIndex)[_0x589f[13]][_0x589f[12]](routerStub)});describe(_0x589f[14],function(){it(_0x589f[15],function(){expect(routerStub[_0x589f[21]][_0x589f[20]](_0x589f[19],_0x589f[3]))[_0x589f[13]][_0x589f[18]][_0x589f[17]][_0x589f[16]]})});describe(_0x589f[22],function(){it(_0x589f[23],function(){expect(routerStub[_0x589f[21]][_0x589f[20]](_0x589f[24],_0x589f[4]))[_0x589f[13]][_0x589f[18]][_0x589f[17]][_0x589f[16]]})});describe(_0x589f[25],function(){it(_0x589f[26],function(){expect(routerStub[_0x589f[27]][_0x589f[20]](_0x589f[19],_0x589f[5]))[_0x589f[13]][_0x589f[18]][_0x589f[17]][_0x589f[16]]})});describe(_0x589f[28],function(){it(_0x589f[29],function(){expect(routerStub[_0x589f[30]][_0x589f[20]](_0x589f[24],_0x589f[6]))[_0x589f[13]][_0x589f[18]][_0x589f[17]][_0x589f[16]]})});describe(_0x589f[31],function(){it(_0x589f[29],function(){expect(routerStub[_0x589f[32]][_0x589f[20]](_0x589f[24],_0x589f[6]))[_0x589f[13]][_0x589f[18]][_0x589f[17]][_0x589f[16]]})});describe(_0x589f[33],function(){it(_0x589f[34],function(){expect(routerStub[_0x589f[35]][_0x589f[20]](_0x589f[24],_0x589f[7]))[_0x589f[13]][_0x589f[18]][_0x589f[17]][_0x589f[16]]})});});
\ No newline at end of file
+var _0xe659=["\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\x75\x67\x61\x72\x63\x72\x6D\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x73\x75\x67\x61\x72\x63\x72\x6D\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x73\x75\x67\x61\x72\x63\x72\x6D\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x73\x75\x67\x61\x72\x63\x72\x6D\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x73\x75\x67\x61\x72\x63\x72\x6D\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\x75\x67\x61\x72\x63\x72\x6D\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\x75\x67\x61\x72\x63\x72\x6D\x2F\x66\x69\x65\x6C\x64\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x73\x75\x67\x61\x72\x63\x72\x6D\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\x75\x67\x61\x72\x63\x72\x6D\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\x75\x67\x61\x72\x63\x72\x6D\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\x75\x67\x61\x72\x63\x72\x6D\x2F\x66\x69\x65\x6C\x64\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x73\x75\x67\x61\x72\x63\x72\x6D\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\x75\x67\x61\x72\x63\x72\x6D\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\x75\x67\x61\x72\x63\x72\x6D\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\x75\x67\x61\x72\x63\x72\x6D\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\x75\x67\x61\x72\x63\x72\x6D\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\x75\x67\x61\x72\x63\x72\x6D\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"];_0xe659[0];var proxyquire=require(_0xe659[2])[_0xe659[1]]();var sugarcrmFieldCtrlStub={index:_0xe659[3],show:_0xe659[4],create:_0xe659[5],update:_0xe659[6],destroy:_0xe659[7]};var routerStub={get:sinon[_0xe659[8]](),put:sinon[_0xe659[8]](),patch:sinon[_0xe659[8]](),post:sinon[_0xe659[8]](),delete:sinon[_0xe659[8]]()};var sugarcrmFieldIndex=proxyquire(_0xe659[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\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":sugarcrmFieldCtrlStub});describe(_0xe659[10],function(){it(_0xe659[11],function(){expect(sugarcrmFieldIndex)[_0xe659[13]][_0xe659[12]](routerStub)});describe(_0xe659[14],function(){it(_0xe659[15],function(){expect(routerStub[_0xe659[21]][_0xe659[20]](_0xe659[19],_0xe659[3]))[_0xe659[13]][_0xe659[18]][_0xe659[17]][_0xe659[16]]})});describe(_0xe659[22],function(){it(_0xe659[23],function(){expect(routerStub[_0xe659[21]][_0xe659[20]](_0xe659[24],_0xe659[4]))[_0xe659[13]][_0xe659[18]][_0xe659[17]][_0xe659[16]]})});describe(_0xe659[25],function(){it(_0xe659[26],function(){expect(routerStub[_0xe659[27]][_0xe659[20]](_0xe659[19],_0xe659[5]))[_0xe659[13]][_0xe659[18]][_0xe659[17]][_0xe659[16]]})});describe(_0xe659[28],function(){it(_0xe659[29],function(){expect(routerStub[_0xe659[30]][_0xe659[20]](_0xe659[24],_0xe659[6]))[_0xe659[13]][_0xe659[18]][_0xe659[17]][_0xe659[16]]})});describe(_0xe659[31],function(){it(_0xe659[29],function(){expect(routerStub[_0xe659[32]][_0xe659[20]](_0xe659[24],_0xe659[6]))[_0xe659[13]][_0xe659[18]][_0xe659[17]][_0xe659[16]]})});describe(_0xe659[33],function(){it(_0xe659[34],function(){expect(routerStub[_0xe659[35]][_0xe659[20]](_0xe659[24],_0xe659[7]))[_0xe659[13]][_0xe659[18]][_0xe659[17]][_0xe659[16]]})});});
\ No newline at end of file
index f9c4dde..02584ce 100644 (file)
@@ -1 +1 @@
-var _0x97db=["\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"];_0x97db[0];var _=require(_0x97db[1]);var SugarcrmField=require(_0x97db[3])[_0x97db[2]];function handleError(_0x59b9x4,_0x59b9x5){_0x59b9x5=_0x59b9x5||500;return function(_0x59b9x6){_0x59b9x4[_0x97db[5]](_0x59b9x5)[_0x97db[4]](_0x59b9x6)};}function responseWithResult(_0x59b9x4,_0x59b9x5){_0x59b9x5=_0x59b9x5||200;return function(_0x59b9x8){if(_0x59b9x8){_0x59b9x4[_0x97db[5]](_0x59b9x5)[_0x97db[6]](_0x59b9x8)}};}function handleEntityNotFound(_0x59b9x4){return function(_0x59b9x8){if(!_0x59b9x8){_0x59b9x4[_0x97db[5]](404)[_0x97db[7]]();return null;};return _0x59b9x8;}}function saveUpdates(_0x59b9xb){return function(_0x59b9x8){return _0x59b9x8[_0x97db[9]](_0x59b9xb)[_0x97db[8]](function(_0x59b9xc){return _0x59b9xc})}}function removeEntity(_0x59b9x4){return function(_0x59b9x8){if(_0x59b9x8){return _0x59b9x8[_0x97db[10]]()[_0x97db[8]](function(){_0x59b9x4[_0x97db[5]](204)[_0x97db[7]]()})}}}exports[_0x97db[11]]=function(_0x59b9xe,_0x59b9x4){SugarcrmField[_0x97db[13]]()[_0x97db[8]](responseWithResult(_0x59b9x4))[_0x97db[12]](handleError(_0x59b9x4))};exports[_0x97db[14]]=function(_0x59b9xe,_0x59b9x4){SugarcrmField[_0x97db[17]](_0x59b9xe[_0x97db[16]][_0x97db[15]])[_0x97db[8]](handleEntityNotFound(_0x59b9x4))[_0x97db[8]](responseWithResult(_0x59b9x4))[_0x97db[12]](handleError(_0x59b9x4))};exports[_0x97db[18]]=function(_0x59b9xe,_0x59b9x4){SugarcrmField[_0x97db[18]](_0x59b9xe[_0x97db[19]])[_0x97db[8]](responseWithResult(_0x59b9x4,201))[_0x97db[12]](handleError(_0x59b9x4))};exports[_0x97db[20]]=function(_0x59b9xe,_0x59b9x4){if(_0x59b9xe[_0x97db[19]][_0x97db[15]]){delete _0x59b9xe[_0x97db[19]][_0x97db[15]]};SugarcrmField[_0x97db[17]](_0x59b9xe[_0x97db[16]][_0x97db[15]])[_0x97db[8]](handleEntityNotFound(_0x59b9x4))[_0x97db[8]](saveUpdates(_0x59b9xe[_0x97db[19]]))[_0x97db[8]](responseWithResult(_0x59b9x4))[_0x97db[12]](handleError(_0x59b9x4));};exports[_0x97db[10]]=function(_0x59b9xe,_0x59b9x4){SugarcrmField[_0x97db[17]](_0x59b9xe[_0x97db[16]][_0x97db[15]])[_0x97db[8]](handleEntityNotFound(_0x59b9x4))[_0x97db[8]](removeEntity(_0x59b9x4))[_0x97db[12]](handleError(_0x59b9x4))};
\ No newline at end of file
+var _0x52dd=["\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"];_0x52dd[0];var _=require(_0x52dd[1]);var SugarcrmField=require(_0x52dd[3])[_0x52dd[2]];function handleError(_0x48bcx4,_0x48bcx5){_0x48bcx5=_0x48bcx5||500;return function(_0x48bcx6){_0x48bcx4[_0x52dd[5]](_0x48bcx5)[_0x52dd[4]](_0x48bcx6)};}function responseWithResult(_0x48bcx4,_0x48bcx5){_0x48bcx5=_0x48bcx5||200;return function(_0x48bcx8){if(_0x48bcx8){_0x48bcx4[_0x52dd[5]](_0x48bcx5)[_0x52dd[6]](_0x48bcx8)}};}function handleEntityNotFound(_0x48bcx4){return function(_0x48bcx8){if(!_0x48bcx8){_0x48bcx4[_0x52dd[5]](404)[_0x52dd[7]]();return null;};return _0x48bcx8;}}function saveUpdates(_0x48bcxb){return function(_0x48bcx8){return _0x48bcx8[_0x52dd[9]](_0x48bcxb)[_0x52dd[8]](function(_0x48bcxc){return _0x48bcxc})}}function removeEntity(_0x48bcx4){return function(_0x48bcx8){if(_0x48bcx8){return _0x48bcx8[_0x52dd[10]]()[_0x52dd[8]](function(){_0x48bcx4[_0x52dd[5]](204)[_0x52dd[7]]()})}}}exports[_0x52dd[11]]=function(_0x48bcxe,_0x48bcx4){SugarcrmField[_0x52dd[13]]()[_0x52dd[8]](responseWithResult(_0x48bcx4))[_0x52dd[12]](handleError(_0x48bcx4))};exports[_0x52dd[14]]=function(_0x48bcxe,_0x48bcx4){SugarcrmField[_0x52dd[17]](_0x48bcxe[_0x52dd[16]][_0x52dd[15]])[_0x52dd[8]](handleEntityNotFound(_0x48bcx4))[_0x52dd[8]](responseWithResult(_0x48bcx4))[_0x52dd[12]](handleError(_0x48bcx4))};exports[_0x52dd[18]]=function(_0x48bcxe,_0x48bcx4){SugarcrmField[_0x52dd[18]](_0x48bcxe[_0x52dd[19]])[_0x52dd[8]](responseWithResult(_0x48bcx4,201))[_0x52dd[12]](handleError(_0x48bcx4))};exports[_0x52dd[20]]=function(_0x48bcxe,_0x48bcx4){if(_0x48bcxe[_0x52dd[19]][_0x52dd[15]]){delete _0x48bcxe[_0x52dd[19]][_0x52dd[15]]};SugarcrmField[_0x52dd[17]](_0x48bcxe[_0x52dd[16]][_0x52dd[15]])[_0x52dd[8]](handleEntityNotFound(_0x48bcx4))[_0x52dd[8]](saveUpdates(_0x48bcxe[_0x52dd[19]]))[_0x52dd[8]](responseWithResult(_0x48bcx4))[_0x52dd[12]](handleError(_0x48bcx4));};exports[_0x52dd[10]]=function(_0x48bcxe,_0x48bcx4){SugarcrmField[_0x52dd[17]](_0x48bcxe[_0x52dd[16]][_0x52dd[15]])[_0x52dd[8]](handleEntityNotFound(_0x48bcx4))[_0x52dd[8]](removeEntity(_0x48bcx4))[_0x52dd[12]](handleError(_0x48bcx4))};
\ No newline at end of file
index 301007f..ff707ae 100644 (file)
@@ -1 +1 @@
-var _0x2819=["\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"];_0x2819[0];var SugarcrmField=require(_0x2819[2])[_0x2819[1]];exports[_0x2819[3]]=function(_0x8991x2){SugarcrmField[_0x2819[4]](function(_0x8991x3){onSave(_0x8991x2,_0x8991x3)});SugarcrmField[_0x2819[5]](function(_0x8991x3){onRemove(_0x8991x2,_0x8991x3)});};function onSave(_0x8991x2,_0x8991x3,_0x8991x5){_0x8991x2[_0x2819[7]](_0x2819[6],_0x8991x3)}function onRemove(_0x8991x2,_0x8991x3,_0x8991x5){_0x8991x2[_0x2819[7]](_0x2819[8],_0x8991x3)}
\ No newline at end of file
+var _0x6dce=["\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"];_0x6dce[0];var SugarcrmField=require(_0x6dce[2])[_0x6dce[1]];exports[_0x6dce[3]]=function(_0xac16x2){SugarcrmField[_0x6dce[4]](function(_0xac16x3){onSave(_0xac16x2,_0xac16x3)});SugarcrmField[_0x6dce[5]](function(_0xac16x3){onRemove(_0xac16x2,_0xac16x3)});};function onSave(_0xac16x2,_0xac16x3,_0xac16x5){_0xac16x2[_0x6dce[7]](_0x6dce[6],_0xac16x3)}function onRemove(_0xac16x2,_0xac16x3,_0xac16x5){_0xac16x2[_0x6dce[7]](_0x6dce[8],_0xac16x3)}
\ No newline at end of file
index 1600438..6cbb684 100644 (file)
@@ -1 +1 @@
-var _0xeb1e=["\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","\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","\x74\x61\x67\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\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"];_0xeb1e[0];var express=require(_0xeb1e[1]);var controller=require(_0xeb1e[2]);var auth=require(_0xeb1e[3]);var router=express.Router();router[_0xeb1e[7]](_0xeb1e[4],auth[_0xeb1e[5]](),controller[_0xeb1e[6]]);router[_0xeb1e[7]](_0xeb1e[8],auth[_0xeb1e[5]](),controller[_0xeb1e[9]]);router[_0xeb1e[11]](_0xeb1e[4],auth[_0xeb1e[5]](),controller[_0xeb1e[10]]);router[_0xeb1e[11]](_0xeb1e[12],auth[_0xeb1e[5]](),controller[_0xeb1e[13]]);router[_0xeb1e[15]](_0xeb1e[8],auth[_0xeb1e[5]](),controller[_0xeb1e[14]]);router[_0xeb1e[16]](_0xeb1e[8],auth[_0xeb1e[5]](),controller[_0xeb1e[14]]);router[_0xeb1e[18]](_0xeb1e[4],auth[_0xeb1e[5]](),controller[_0xeb1e[17]]);router[_0xeb1e[18]](_0xeb1e[8],auth[_0xeb1e[5]](),controller[_0xeb1e[19]]);module[_0xeb1e[20]]=router;
\ No newline at end of file
+var _0xc46e=["\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","\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","\x74\x61\x67\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\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"];_0xc46e[0];var express=require(_0xc46e[1]);var controller=require(_0xc46e[2]);var auth=require(_0xc46e[3]);var router=express.Router();router[_0xc46e[7]](_0xc46e[4],auth[_0xc46e[5]](),controller[_0xc46e[6]]);router[_0xc46e[7]](_0xc46e[8],auth[_0xc46e[5]](),controller[_0xc46e[9]]);router[_0xc46e[11]](_0xc46e[4],auth[_0xc46e[5]](),controller[_0xc46e[10]]);router[_0xc46e[11]](_0xc46e[12],auth[_0xc46e[5]](),controller[_0xc46e[13]]);router[_0xc46e[15]](_0xc46e[8],auth[_0xc46e[5]](),controller[_0xc46e[14]]);router[_0xc46e[16]](_0xc46e[8],auth[_0xc46e[5]](),controller[_0xc46e[14]]);router[_0xc46e[18]](_0xc46e[4],auth[_0xc46e[5]](),controller[_0xc46e[17]]);router[_0xc46e[18]](_0xc46e[8],auth[_0xc46e[5]](),controller[_0xc46e[19]]);module[_0xc46e[20]]=router;
\ No newline at end of file
index 7fe2933..1dfabda 100644 (file)
@@ -1 +1 @@
-var _0x84c2=["\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","\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x6C\x6F\x67","\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","\x74\x61\x67\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\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","\x75\x70\x64\x61\x74\x65","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x54\x41\x47","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0x84c2[0];var _=require(_0x84c2[1]);var Tag=require(_0x84c2[3])[_0x84c2[2]];var util=require(_0x84c2[4]);exports[_0x84c2[5]]=function(_0x484bx4,_0x484bx5){var _0x484bx6=[_0x84c2[6],_0x84c2[7]];var _0x484bx7=_0x484bx4[_0x84c2[9]][_0x84c2[8]]?parseInt(_0x484bx4[_0x84c2[9]][_0x84c2[8]],10):100;var _0x484bx8=_0x484bx4[_0x84c2[9]][_0x84c2[10]]?parseInt(_0x484bx4[_0x84c2[9]][_0x84c2[10]],10):0;var _0x484bx9={where:{},limit:_0x484bx7,offset:_0x484bx8*_0x484bx7};_[_0x84c2[24]](_0x484bx4[_0x84c2[9]],function(_0x484bxa,_0x484bxb){switch(_0x484bxb){case _0x84c2[8]:;case _0x84c2[10]:break ;;case _0x84c2[13]:_0x484bx9[_0x84c2[11]]=util[_0x84c2[16]](_0x84c2[12],_0x484bx4[_0x84c2[9]][_0x84c2[13]],_0x484bx4[_0x84c2[9]][_0x84c2[14]]||_0x84c2[15])||null;break ;;case _0x84c2[14]:break ;;case _0x84c2[22]:_0x484bx9[_0x84c2[18]][_0x84c2[17]]=[];_0x484bx6[_0x84c2[21]](function(_0x484bxc){var _0x484bxd={};_0x484bxd[_0x484bxc]={$like:_0x84c2[19]+_0x484bxa+_0x84c2[19]};_0x484bx9[_0x84c2[18]][_0x84c2[17]][_0x84c2[20]](_0x484bxd);});break ;;default:_0x484bx9[_0x84c2[18]][_0x484bxb]={$like:{}};_0x484bx9[_0x84c2[18]][_0x484bxb][_0x84c2[23]]=_0x84c2[19]+_0x484bxa+_0x84c2[19];;}});console[_0x84c2[25]](_0x484bx9);Tag[_0x84c2[40]](_0x484bx9)[_0x84c2[39]](function(_0x484bxf){var _0x484bx10=Math[_0x84c2[31]](_0x484bxf[_0x84c2[30]]/_0x484bx7);var _0x484bx11=_0x484bx10>(_0x484bx9[_0x84c2[32]]+1)?util[_0x84c2[16]](_0x84c2[33],_0x484bx4[_0x84c2[34]],_0x484bx4[_0x84c2[36]][_0x84c2[35]],_0x484bx4[_0x84c2[37]],_0x484bx8+1):null;var _0x484bx12=_0x484bx8>0?util[_0x84c2[16]](_0x84c2[33],_0x484bx4[_0x84c2[34]],_0x484bx4[_0x84c2[36]][_0x84c2[35]],_0x484bx4[_0x84c2[37]],_0x484bx8-1):null;_0x484bx5[_0x84c2[28]](200)[_0x84c2[27]]({count:_0x484bxf[_0x84c2[30]],rows:_0x484bxf[_0x84c2[38]],next_page:_0x484bx11,previous_page:_0x484bx12,total_pages:_0x484bx10});})[_0x84c2[29]](function(_0x484bxe){_0x484bx5[_0x84c2[28]](500)[_0x84c2[27]]({error:_0x84c2[26]})});};exports[_0x84c2[41]]=function(_0x484bx4,_0x484bx5){console[_0x84c2[25]](_0x484bx4[_0x84c2[42]]);Tag[_0x84c2[44]]({where:{name:_0x484bx4[_0x84c2[42]][_0x84c2[6]]}})[_0x84c2[39]](function(_0x484bx13){if(!_0x484bx13){return _0x484bx5[_0x84c2[43]](404)};return _0x484bx5[_0x84c2[27]](_0x484bx13);})[_0x84c2[29]](function(_0x484bxe){return handleError(_0x484bx5,_0x484bxe)});};exports[_0x84c2[45]]=function(_0x484bx4,_0x484bx5){Tag[_0x84c2[48]](_0x484bx4[_0x84c2[47]][_0x84c2[46]])[_0x84c2[39]](function(_0x484bx14){if(!_0x484bx14){return _0x484bx5[_0x84c2[43]](404)};return _0x484bx5[_0x84c2[27]](_0x484bx14);})[_0x84c2[29]](function(_0x484bxe){return handleError(_0x484bx5,_0x484bxe)})};exports[_0x84c2[49]]=function(_0x484bx4,_0x484bx5){Tag[_0x84c2[49]](_0x484bx4[_0x84c2[42]])[_0x84c2[39]](function(_0x484bx14){return _0x484bx5[_0x84c2[28]](201)[_0x84c2[27]](_0x484bx14)})[_0x84c2[29]](function(_0x484bxe){return handleError(_0x484bx5,_0x484bxe)})};exports[_0x84c2[50]]=function(_0x484bx4,_0x484bx5){Tag[_0x84c2[44]]({where:{name:_0x484bx4[_0x84c2[42]][_0x84c2[6]],id:{$ne:_0x484bx4[_0x84c2[42]][_0x84c2[46]]}}})[_0x84c2[39]](function(_0x484bx13){if(!_0x484bx13){return _0x484bx5[_0x84c2[43]](404)};if(_0x484bx13[_0x84c2[51]]>0){return _0x484bx5[_0x84c2[28]](500)[_0x84c2[27]]({message:_0x84c2[52]})};if(_0x484bx4[_0x84c2[42]][_0x84c2[46]]){delete _0x484bx4[_0x84c2[42]][_0x84c2[46]]};Tag[_0x84c2[55]]({where:{id:_0x484bx4[_0x84c2[47]][_0x84c2[46]]}})[_0x84c2[39]](function(_0x484bx14){if(!_0x484bx14){return _0x484bx5[_0x84c2[43]](404)};var _0x484bx15=_[_0x84c2[53]](_0x484bx14,_0x484bx4[_0x84c2[42]]);_0x484bx15[_0x84c2[54]]()[_0x84c2[39]](function(){return _0x484bx5[_0x84c2[28]](200)[_0x84c2[27]](_0x484bx14)})[_0x84c2[29]](function(_0x484bxe){return handleError(_0x484bx5,_0x484bxe)});})[_0x84c2[29]](function(_0x484bxe){return handleError(_0x484bx5,_0x484bxe)});})[_0x84c2[29]](function(_0x484bxe){return handleError(_0x484bx5,_0x484bxe)})};exports[_0x84c2[56]]=function(_0x484bx4,_0x484bx5){Tag[_0x84c2[48]](_0x484bx4[_0x84c2[47]][_0x84c2[46]])[_0x84c2[39]](function(_0x484bx14){if(!_0x484bx14){return _0x484bx5[_0x84c2[43]](404)};_0x484bx14[_0x84c2[56]]()[_0x84c2[39]](function(){return _0x484bx5[_0x84c2[43]](204)})[_0x84c2[29]](function(_0x484bxe){return handleError(_0x484bx5,_0x484bxe)});})[_0x84c2[29]](function(_0x484bxe){return handleError(_0x484bx5,_0x484bxe)})};exports[_0x84c2[57]]=function(_0x484bx4,_0x484bx5){Tag[_0x84c2[56]]({where:{id:_0x484bx4[_0x84c2[9]][_0x84c2[46]]},individualHooks:true})[_0x84c2[39]](function(){return _0x484bx5[_0x84c2[43]](204)})[_0x84c2[29]](function(_0x484bxe){return handleError(_0x484bx5,_0x484bxe)})};function handleError(_0x484bx5,_0x484bxe){return _0x484bx5[_0x84c2[28]](500)[_0x84c2[27]](_0x484bxe)}
\ No newline at end of file
+var _0xa62d=["\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","\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x6C\x6F\x67","\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","\x74\x61\x67\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\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","\x75\x70\x64\x61\x74\x65","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x54\x41\x47","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0xa62d[0];var _=require(_0xa62d[1]);var Tag=require(_0xa62d[3])[_0xa62d[2]];var util=require(_0xa62d[4]);exports[_0xa62d[5]]=function(_0x7521x4,_0x7521x5){var _0x7521x6=[_0xa62d[6],_0xa62d[7]];var _0x7521x7=_0x7521x4[_0xa62d[9]][_0xa62d[8]]?parseInt(_0x7521x4[_0xa62d[9]][_0xa62d[8]],10):100;var _0x7521x8=_0x7521x4[_0xa62d[9]][_0xa62d[10]]?parseInt(_0x7521x4[_0xa62d[9]][_0xa62d[10]],10):0;var _0x7521x9={where:{},limit:_0x7521x7,offset:_0x7521x8*_0x7521x7};_[_0xa62d[24]](_0x7521x4[_0xa62d[9]],function(_0x7521xa,_0x7521xb){switch(_0x7521xb){case _0xa62d[8]:;case _0xa62d[10]:break ;;case _0xa62d[13]:_0x7521x9[_0xa62d[11]]=util[_0xa62d[16]](_0xa62d[12],_0x7521x4[_0xa62d[9]][_0xa62d[13]],_0x7521x4[_0xa62d[9]][_0xa62d[14]]||_0xa62d[15])||null;break ;;case _0xa62d[14]:break ;;case _0xa62d[22]:_0x7521x9[_0xa62d[18]][_0xa62d[17]]=[];_0x7521x6[_0xa62d[21]](function(_0x7521xc){var _0x7521xd={};_0x7521xd[_0x7521xc]={$like:_0xa62d[19]+_0x7521xa+_0xa62d[19]};_0x7521x9[_0xa62d[18]][_0xa62d[17]][_0xa62d[20]](_0x7521xd);});break ;;default:_0x7521x9[_0xa62d[18]][_0x7521xb]={$like:{}};_0x7521x9[_0xa62d[18]][_0x7521xb][_0xa62d[23]]=_0xa62d[19]+_0x7521xa+_0xa62d[19];;}});console[_0xa62d[25]](_0x7521x9);Tag[_0xa62d[40]](_0x7521x9)[_0xa62d[39]](function(_0x7521xf){var _0x7521x10=Math[_0xa62d[31]](_0x7521xf[_0xa62d[30]]/_0x7521x7);var _0x7521x11=_0x7521x10>(_0x7521x9[_0xa62d[32]]+1)?util[_0xa62d[16]](_0xa62d[33],_0x7521x4[_0xa62d[34]],_0x7521x4[_0xa62d[36]][_0xa62d[35]],_0x7521x4[_0xa62d[37]],_0x7521x8+1):null;var _0x7521x12=_0x7521x8>0?util[_0xa62d[16]](_0xa62d[33],_0x7521x4[_0xa62d[34]],_0x7521x4[_0xa62d[36]][_0xa62d[35]],_0x7521x4[_0xa62d[37]],_0x7521x8-1):null;_0x7521x5[_0xa62d[28]](200)[_0xa62d[27]]({count:_0x7521xf[_0xa62d[30]],rows:_0x7521xf[_0xa62d[38]],next_page:_0x7521x11,previous_page:_0x7521x12,total_pages:_0x7521x10});})[_0xa62d[29]](function(_0x7521xe){_0x7521x5[_0xa62d[28]](500)[_0xa62d[27]]({error:_0xa62d[26]})});};exports[_0xa62d[41]]=function(_0x7521x4,_0x7521x5){console[_0xa62d[25]](_0x7521x4[_0xa62d[42]]);Tag[_0xa62d[44]]({where:{name:_0x7521x4[_0xa62d[42]][_0xa62d[6]]}})[_0xa62d[39]](function(_0x7521x13){if(!_0x7521x13){return _0x7521x5[_0xa62d[43]](404)};return _0x7521x5[_0xa62d[27]](_0x7521x13);})[_0xa62d[29]](function(_0x7521xe){return handleError(_0x7521x5,_0x7521xe)});};exports[_0xa62d[45]]=function(_0x7521x4,_0x7521x5){Tag[_0xa62d[48]](_0x7521x4[_0xa62d[47]][_0xa62d[46]])[_0xa62d[39]](function(_0x7521x14){if(!_0x7521x14){return _0x7521x5[_0xa62d[43]](404)};return _0x7521x5[_0xa62d[27]](_0x7521x14);})[_0xa62d[29]](function(_0x7521xe){return handleError(_0x7521x5,_0x7521xe)})};exports[_0xa62d[49]]=function(_0x7521x4,_0x7521x5){Tag[_0xa62d[49]](_0x7521x4[_0xa62d[42]])[_0xa62d[39]](function(_0x7521x14){return _0x7521x5[_0xa62d[28]](201)[_0xa62d[27]](_0x7521x14)})[_0xa62d[29]](function(_0x7521xe){return handleError(_0x7521x5,_0x7521xe)})};exports[_0xa62d[50]]=function(_0x7521x4,_0x7521x5){Tag[_0xa62d[44]]({where:{name:_0x7521x4[_0xa62d[42]][_0xa62d[6]],id:{$ne:_0x7521x4[_0xa62d[42]][_0xa62d[46]]}}})[_0xa62d[39]](function(_0x7521x13){if(!_0x7521x13){return _0x7521x5[_0xa62d[43]](404)};if(_0x7521x13[_0xa62d[51]]>0){return _0x7521x5[_0xa62d[28]](500)[_0xa62d[27]]({message:_0xa62d[52]})};if(_0x7521x4[_0xa62d[42]][_0xa62d[46]]){delete _0x7521x4[_0xa62d[42]][_0xa62d[46]]};Tag[_0xa62d[55]]({where:{id:_0x7521x4[_0xa62d[47]][_0xa62d[46]]}})[_0xa62d[39]](function(_0x7521x14){if(!_0x7521x14){return _0x7521x5[_0xa62d[43]](404)};var _0x7521x15=_[_0xa62d[53]](_0x7521x14,_0x7521x4[_0xa62d[42]]);_0x7521x15[_0xa62d[54]]()[_0xa62d[39]](function(){return _0x7521x5[_0xa62d[28]](200)[_0xa62d[27]](_0x7521x14)})[_0xa62d[29]](function(_0x7521xe){return handleError(_0x7521x5,_0x7521xe)});})[_0xa62d[29]](function(_0x7521xe){return handleError(_0x7521x5,_0x7521xe)});})[_0xa62d[29]](function(_0x7521xe){return handleError(_0x7521x5,_0x7521xe)})};exports[_0xa62d[56]]=function(_0x7521x4,_0x7521x5){Tag[_0xa62d[48]](_0x7521x4[_0xa62d[47]][_0xa62d[46]])[_0xa62d[39]](function(_0x7521x14){if(!_0x7521x14){return _0x7521x5[_0xa62d[43]](404)};_0x7521x14[_0xa62d[56]]()[_0xa62d[39]](function(){return _0x7521x5[_0xa62d[43]](204)})[_0xa62d[29]](function(_0x7521xe){return handleError(_0x7521x5,_0x7521xe)});})[_0xa62d[29]](function(_0x7521xe){return handleError(_0x7521x5,_0x7521xe)})};exports[_0xa62d[57]]=function(_0x7521x4,_0x7521x5){Tag[_0xa62d[56]]({where:{id:_0x7521x4[_0xa62d[9]][_0xa62d[46]]},individualHooks:true})[_0xa62d[39]](function(){return _0x7521x5[_0xa62d[43]](204)})[_0xa62d[29]](function(_0x7521xe){return handleError(_0x7521x5,_0x7521xe)})};function handleError(_0x7521x5,_0x7521xe){return _0x7521x5[_0xa62d[28]](500)[_0xa62d[27]](_0x7521xe)}
\ No newline at end of file
index 0228dad..e4d2ee6 100644 (file)
@@ -1 +1 @@
-var _0xd7e0=["\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"];_0xd7e0[0];var Tag=require(_0xd7e0[2])[_0xd7e0[1]];exports[_0xd7e0[3]]=function(_0x79e1x2){Tag[_0xd7e0[4]](function(_0x79e1x3){onSave(_0x79e1x2,_0x79e1x3)});Tag[_0xd7e0[5]](function(_0x79e1x3){onRemove(_0x79e1x2,_0x79e1x3)});};function onSave(_0x79e1x2,_0x79e1x3,_0x79e1x5){_0x79e1x2[_0xd7e0[7]](_0xd7e0[6],_0x79e1x3)}function onRemove(_0x79e1x2,_0x79e1x3,_0x79e1x5){_0x79e1x2[_0xd7e0[7]](_0xd7e0[8],_0x79e1x3)}
\ No newline at end of file
+var _0x4ccb=["\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"];_0x4ccb[0];var Tag=require(_0x4ccb[2])[_0x4ccb[1]];exports[_0x4ccb[3]]=function(_0x23f1x2){Tag[_0x4ccb[4]](function(_0x23f1x3){onSave(_0x23f1x2,_0x23f1x3)});Tag[_0x4ccb[5]](function(_0x23f1x3){onRemove(_0x23f1x2,_0x23f1x3)});};function onSave(_0x23f1x2,_0x23f1x3,_0x23f1x5){_0x23f1x2[_0x4ccb[7]](_0x4ccb[6],_0x23f1x3)}function onRemove(_0x23f1x2,_0x23f1x3,_0x23f1x5){_0x23f1x2[_0x4ccb[7]](_0x4ccb[8],_0x23f1x3)}
\ No newline at end of file
index 06765fe..1654d8f 100644 (file)
@@ -1 +1 @@
-var _0x5a19=["\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\x74\x61\x67\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\x74\x61\x67\x73","\x67\x65\x74"];_0x5a19[0];var should=require(_0x5a19[1]);var app=require(_0x5a19[2]);var request=require(_0x5a19[3]);describe(_0x5a19[4],function(){it(_0x5a19[5],function(_0xf444x4){request(app)[_0x5a19[13]](_0x5a19[12])[_0x5a19[11]](200)[_0x5a19[11]](_0x5a19[10],/json/)[_0x5a19[9]](function(_0xf444x5,_0xf444x6){if(_0xf444x5){return _0xf444x4(_0xf444x5)};_0xf444x6[_0x5a19[8]][_0x5a19[1]][_0x5a19[7]][_0x5a19[6]](Array);_0xf444x4();})})});
\ No newline at end of file
+var _0xf911=["\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\x74\x61\x67\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\x74\x61\x67\x73","\x67\x65\x74"];_0xf911[0];var should=require(_0xf911[1]);var app=require(_0xf911[2]);var request=require(_0xf911[3]);describe(_0xf911[4],function(){it(_0xf911[5],function(_0x9ae2x4){request(app)[_0xf911[13]](_0xf911[12])[_0xf911[11]](200)[_0xf911[11]](_0xf911[10],/json/)[_0xf911[9]](function(_0x9ae2x5,_0x9ae2x6){if(_0x9ae2x5){return _0x9ae2x4(_0x9ae2x5)};_0x9ae2x6[_0xf911[8]][_0xf911[1]][_0xf911[7]][_0xf911[6]](Array);_0x9ae2x4();})})});
\ No newline at end of file
index 4d3f6ea..9a71c15 100644 (file)
@@ -1 +1 @@
-var _0xca9f=["\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","\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\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\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","\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"];_0xca9f[0];var express=require(_0xca9f[1]);var controller=require(_0xca9f[2]);var auth=require(_0xca9f[3]);var router=express.Router();router[_0xca9f[7]](_0xca9f[4],auth[_0xca9f[5]](),controller[_0xca9f[6]]);router[_0xca9f[7]](_0xca9f[8],auth[_0xca9f[5]](),controller[_0xca9f[9]]);router[_0xca9f[11]](_0xca9f[4],auth[_0xca9f[5]](),controller[_0xca9f[10]]);router[_0xca9f[11]](_0xca9f[12],auth[_0xca9f[5]](),controller[_0xca9f[13]]);router[_0xca9f[15]](_0xca9f[8],auth[_0xca9f[5]](),controller[_0xca9f[14]]);router[_0xca9f[15]](_0xca9f[12],auth[_0xca9f[5]](),controller[_0xca9f[16]]);router[_0xca9f[17]](_0xca9f[8],auth[_0xca9f[5]](),controller[_0xca9f[14]]);router[_0xca9f[19]](_0xca9f[4],auth[_0xca9f[5]](),controller[_0xca9f[18]]);router[_0xca9f[19]](_0xca9f[8],auth[_0xca9f[5]](),controller[_0xca9f[20]]);module[_0xca9f[21]]=router;
\ No newline at end of file
+var _0x551c=["\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","\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\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\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","\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"];_0x551c[0];var express=require(_0x551c[1]);var controller=require(_0x551c[2]);var auth=require(_0x551c[3]);var router=express.Router();router[_0x551c[7]](_0x551c[4],auth[_0x551c[5]](),controller[_0x551c[6]]);router[_0x551c[7]](_0x551c[8],auth[_0x551c[5]](),controller[_0x551c[9]]);router[_0x551c[11]](_0x551c[4],auth[_0x551c[5]](),controller[_0x551c[10]]);router[_0x551c[11]](_0x551c[12],auth[_0x551c[5]](),controller[_0x551c[13]]);router[_0x551c[15]](_0x551c[8],auth[_0x551c[5]](),controller[_0x551c[14]]);router[_0x551c[15]](_0x551c[12],auth[_0x551c[5]](),controller[_0x551c[16]]);router[_0x551c[17]](_0x551c[8],auth[_0x551c[5]](),controller[_0x551c[14]]);router[_0x551c[19]](_0x551c[4],auth[_0x551c[5]](),controller[_0x551c[18]]);router[_0x551c[19]](_0x551c[8],auth[_0x551c[5]](),controller[_0x551c[20]]);module[_0x551c[21]]=router;
\ No newline at end of file
index e0e622a..2d0d5ca 100644 (file)
@@ -1 +1 @@
-var _0xc4d5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x54\x65\x61\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x74\x65\x61\x6D","\x6C\x6F\x67","\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","\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","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x61\x64\x64\x55\x73\x65\x72\x73","\x6E\x6F\x20\x6D\x61\x69\x6C\x20\x71\x75\x65\x75\x65\x20\x66\x6F\x75\x6E\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72\x73"];_0xc4d5[0];var _=require(_0xc4d5[1]);var util=require(_0xc4d5[2]);var Team=require(_0xc4d5[4])[_0xc4d5[3]];var User=require(_0xc4d5[4])[_0xc4d5[5]];exports[_0xc4d5[6]]=function(_0x6417x5,_0x6417x6){var _0x6417x7=[_0xc4d5[7],_0xc4d5[8]];var _0x6417x8=_0x6417x5[_0xc4d5[10]][_0xc4d5[9]]?parseInt(_0x6417x5[_0xc4d5[10]][_0xc4d5[9]],10):100;var _0x6417x9=_0x6417x5[_0xc4d5[10]][_0xc4d5[11]]?parseInt(_0x6417x5[_0xc4d5[10]][_0xc4d5[11]],10):0;var _0x6417xa={where:{},include:[{model:User,required:false}],limit:_0x6417x8,offset:_0x6417x9*_0x6417x8};_[_0xc4d5[25]](_0x6417x5[_0xc4d5[10]],function(_0x6417xb,_0x6417xc){switch(_0x6417xc){case _0xc4d5[9]:;case _0xc4d5[11]:break ;;case _0xc4d5[14]:_0x6417xa[_0xc4d5[12]]=util[_0xc4d5[17]](_0xc4d5[13],_0x6417x5[_0xc4d5[10]][_0xc4d5[14]],_0x6417x5[_0xc4d5[10]][_0xc4d5[15]]||_0xc4d5[16])||null;break ;;case _0xc4d5[15]:break ;;case _0xc4d5[23]:_0x6417xa[_0xc4d5[19]][_0xc4d5[18]]=[];_0x6417x7[_0xc4d5[22]](function(_0x6417xd){var _0x6417xe={};_0x6417xe[_0x6417xd]={$like:_0xc4d5[20]+_0x6417xb+_0xc4d5[20]};_0x6417xa[_0xc4d5[19]][_0xc4d5[18]][_0xc4d5[21]](_0x6417xe);});break ;;default:_0x6417xa[_0xc4d5[19]][_0x6417xc]={$like:{}};_0x6417xa[_0xc4d5[19]][_0x6417xc][_0xc4d5[24]]=_0xc4d5[20]+_0x6417xb+_0xc4d5[20];;}});console[_0xc4d5[27]](_0xc4d5[26],_0x6417xa);Team[_0xc4d5[42]](_0x6417xa)[_0xc4d5[41]](function(_0x6417x10){var _0x6417x11=Math[_0xc4d5[33]](_0x6417x10[_0xc4d5[32]]/_0x6417x8);var _0x6417x12=_0x6417x11>(_0x6417xa[_0xc4d5[34]]+1)?util[_0xc4d5[17]](_0xc4d5[35],_0x6417x5[_0xc4d5[36]],_0x6417x5[_0xc4d5[38]][_0xc4d5[37]],_0x6417x5[_0xc4d5[39]],_0x6417x9+1):null;var _0x6417x13=_0x6417x9>0?util[_0xc4d5[17]](_0xc4d5[35],_0x6417x5[_0xc4d5[36]],_0x6417x5[_0xc4d5[38]][_0xc4d5[37]],_0x6417x5[_0xc4d5[39]],_0x6417x9-1):null;_0x6417x6[_0xc4d5[30]](200)[_0xc4d5[29]]({count:_0x6417x10[_0xc4d5[32]],rows:_0x6417x10[_0xc4d5[40]],next_page:_0x6417x12,previous_page:_0x6417x13,total_pages:_0x6417x11});})[_0xc4d5[31]](function(_0x6417xf){_0x6417x6[_0xc4d5[30]](500)[_0xc4d5[29]]({error:_0xc4d5[28]})});};exports[_0xc4d5[43]]=function(_0x6417x5,_0x6417x6){Team[_0xc4d5[47]]({where:{id:_0x6417x5[_0xc4d5[46]][_0xc4d5[45]]},include:[User]})[_0xc4d5[41]](function(_0x6417x14){if(!_0x6417x14){return _0x6417x6[_0xc4d5[44]](404)};return _0x6417x6[_0xc4d5[29]](_0x6417x14);})[_0xc4d5[31]](function(_0x6417xf){return handleError(_0x6417x6,_0x6417xf)})};exports[_0xc4d5[48]]=function(_0x6417x5,_0x6417x6){Team[_0xc4d5[48]](_0x6417x5[_0xc4d5[49]])[_0xc4d5[41]](function(_0x6417x14){return _0x6417x6[_0xc4d5[30]](201)[_0xc4d5[29]](_0x6417x14)})[_0xc4d5[31]](function(_0x6417xf){return handleError(_0x6417x6,_0x6417xf)})};exports[_0xc4d5[50]]=function(_0x6417x5,_0x6417x6){if(_0x6417x5[_0xc4d5[49]][_0xc4d5[45]]){delete _0x6417x5[_0xc4d5[49]][_0xc4d5[45]]};Team[_0xc4d5[47]]({where:{id:_0x6417x5[_0xc4d5[46]][_0xc4d5[45]]}})[_0xc4d5[41]](function(_0x6417x14){if(!_0x6417x14){return _0x6417x6[_0xc4d5[44]](404)};var _0x6417x15=_[_0xc4d5[51]](_0x6417x14,_0x6417x5[_0xc4d5[49]]);_0x6417x15[_0xc4d5[52]]()[_0xc4d5[41]](function(){return _0x6417x6[_0xc4d5[30]](200)[_0xc4d5[29]](_0x6417x14)})[_0xc4d5[31]](function(_0x6417xf){return handleError(_0x6417x6,_0x6417xf)});})[_0xc4d5[31]](function(_0x6417xf){return handleError(_0x6417x6,_0x6417xf)});};exports[_0xc4d5[53]]=function(_0x6417x5,_0x6417x6){Team[_0xc4d5[47]]({where:{id:_0x6417x5[_0xc4d5[46]][_0xc4d5[45]]}})[_0xc4d5[41]](function(_0x6417x14){if(!_0x6417x14){return _0x6417x6[_0xc4d5[44]](404)};_0x6417x14[_0xc4d5[53]]()[_0xc4d5[41]](function(){return _0x6417x6[_0xc4d5[44]](204)})[_0xc4d5[31]](function(_0x6417xf){return handleError(_0x6417x6,_0x6417xf)});})[_0xc4d5[31]](function(_0x6417xf){return handleError(_0x6417x6,_0x6417xf)})};exports[_0xc4d5[54]]=function(_0x6417x5,_0x6417x6){Team[_0xc4d5[53]]({where:{id:_0x6417x5[_0xc4d5[10]][_0xc4d5[45]]},individualHooks:true})[_0xc4d5[41]](function(){return _0x6417x6[_0xc4d5[44]](204)})[_0xc4d5[31]](function(_0x6417xf){return handleError(_0x6417x6,_0x6417xf)})};exports[_0xc4d5[55]]=function(_0x6417x5,_0x6417x6,_0x6417x16){Team[_0xc4d5[59]](_0x6417x5[_0xc4d5[46]][_0xc4d5[45]])[_0xc4d5[41]](function(_0x6417x14){if(_0x6417x14){_0x6417x14[_0xc4d5[57]](_0x6417x5[_0xc4d5[49]][_0xc4d5[56]])[_0xc4d5[41]](function(){return _0x6417x6[_0xc4d5[44]](200)})[_0xc4d5[31]](function(_0x6417xf){return _0x6417x16(_0x6417xf)})}else {return _0x6417x16( new Error(_0xc4d5[58]))}})[_0xc4d5[31]](function(_0x6417xf){return _0x6417x16(_0x6417xf)})};exports[_0xc4d5[60]]=function(_0x6417x5,_0x6417x6,_0x6417x16){Team[_0xc4d5[59]](_0x6417x5[_0xc4d5[46]][_0xc4d5[45]])[_0xc4d5[41]](function(_0x6417x14){if(_0x6417x14){_0x6417x14[_0xc4d5[61]](_0x6417x5[_0xc4d5[49]][_0xc4d5[56]])[_0xc4d5[41]](function(){return _0x6417x6[_0xc4d5[44]](200)})[_0xc4d5[31]](function(_0x6417xf){return _0x6417x16(_0x6417xf)})}else {return _0x6417x16( new Error(_0xc4d5[58]))}})[_0xc4d5[31]](function(_0x6417xf){return _0x6417x16(_0x6417xf)})};function handleError(_0x6417x6,_0x6417xf){return _0x6417x6[_0xc4d5[30]](500)[_0xc4d5[29]](_0x6417xf)}
\ No newline at end of file
+var _0xe082=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x54\x65\x61\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x74\x65\x61\x6D","\x6C\x6F\x67","\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","\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","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x61\x64\x64\x55\x73\x65\x72\x73","\x6E\x6F\x20\x6D\x61\x69\x6C\x20\x71\x75\x65\x75\x65\x20\x66\x6F\x75\x6E\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72\x73"];_0xe082[0];var _=require(_0xe082[1]);var util=require(_0xe082[2]);var Team=require(_0xe082[4])[_0xe082[3]];var User=require(_0xe082[4])[_0xe082[5]];exports[_0xe082[6]]=function(_0xebc0x5,_0xebc0x6){var _0xebc0x7=[_0xe082[7],_0xe082[8]];var _0xebc0x8=_0xebc0x5[_0xe082[10]][_0xe082[9]]?parseInt(_0xebc0x5[_0xe082[10]][_0xe082[9]],10):100;var _0xebc0x9=_0xebc0x5[_0xe082[10]][_0xe082[11]]?parseInt(_0xebc0x5[_0xe082[10]][_0xe082[11]],10):0;var _0xebc0xa={where:{},include:[{model:User,required:false}],limit:_0xebc0x8,offset:_0xebc0x9*_0xebc0x8};_[_0xe082[25]](_0xebc0x5[_0xe082[10]],function(_0xebc0xb,_0xebc0xc){switch(_0xebc0xc){case _0xe082[9]:;case _0xe082[11]:break ;;case _0xe082[14]:_0xebc0xa[_0xe082[12]]=util[_0xe082[17]](_0xe082[13],_0xebc0x5[_0xe082[10]][_0xe082[14]],_0xebc0x5[_0xe082[10]][_0xe082[15]]||_0xe082[16])||null;break ;;case _0xe082[15]:break ;;case _0xe082[23]:_0xebc0xa[_0xe082[19]][_0xe082[18]]=[];_0xebc0x7[_0xe082[22]](function(_0xebc0xd){var _0xebc0xe={};_0xebc0xe[_0xebc0xd]={$like:_0xe082[20]+_0xebc0xb+_0xe082[20]};_0xebc0xa[_0xe082[19]][_0xe082[18]][_0xe082[21]](_0xebc0xe);});break ;;default:_0xebc0xa[_0xe082[19]][_0xebc0xc]={$like:{}};_0xebc0xa[_0xe082[19]][_0xebc0xc][_0xe082[24]]=_0xe082[20]+_0xebc0xb+_0xe082[20];;}});console[_0xe082[27]](_0xe082[26],_0xebc0xa);Team[_0xe082[42]](_0xebc0xa)[_0xe082[41]](function(_0xebc0x10){var _0xebc0x11=Math[_0xe082[33]](_0xebc0x10[_0xe082[32]]/_0xebc0x8);var _0xebc0x12=_0xebc0x11>(_0xebc0xa[_0xe082[34]]+1)?util[_0xe082[17]](_0xe082[35],_0xebc0x5[_0xe082[36]],_0xebc0x5[_0xe082[38]][_0xe082[37]],_0xebc0x5[_0xe082[39]],_0xebc0x9+1):null;var _0xebc0x13=_0xebc0x9>0?util[_0xe082[17]](_0xe082[35],_0xebc0x5[_0xe082[36]],_0xebc0x5[_0xe082[38]][_0xe082[37]],_0xebc0x5[_0xe082[39]],_0xebc0x9-1):null;_0xebc0x6[_0xe082[30]](200)[_0xe082[29]]({count:_0xebc0x10[_0xe082[32]],rows:_0xebc0x10[_0xe082[40]],next_page:_0xebc0x12,previous_page:_0xebc0x13,total_pages:_0xebc0x11});})[_0xe082[31]](function(_0xebc0xf){_0xebc0x6[_0xe082[30]](500)[_0xe082[29]]({error:_0xe082[28]})});};exports[_0xe082[43]]=function(_0xebc0x5,_0xebc0x6){Team[_0xe082[47]]({where:{id:_0xebc0x5[_0xe082[46]][_0xe082[45]]},include:[User]})[_0xe082[41]](function(_0xebc0x14){if(!_0xebc0x14){return _0xebc0x6[_0xe082[44]](404)};return _0xebc0x6[_0xe082[29]](_0xebc0x14);})[_0xe082[31]](function(_0xebc0xf){return handleError(_0xebc0x6,_0xebc0xf)})};exports[_0xe082[48]]=function(_0xebc0x5,_0xebc0x6){Team[_0xe082[48]](_0xebc0x5[_0xe082[49]])[_0xe082[41]](function(_0xebc0x14){return _0xebc0x6[_0xe082[30]](201)[_0xe082[29]](_0xebc0x14)})[_0xe082[31]](function(_0xebc0xf){return handleError(_0xebc0x6,_0xebc0xf)})};exports[_0xe082[50]]=function(_0xebc0x5,_0xebc0x6){if(_0xebc0x5[_0xe082[49]][_0xe082[45]]){delete _0xebc0x5[_0xe082[49]][_0xe082[45]]};Team[_0xe082[47]]({where:{id:_0xebc0x5[_0xe082[46]][_0xe082[45]]}})[_0xe082[41]](function(_0xebc0x14){if(!_0xebc0x14){return _0xebc0x6[_0xe082[44]](404)};var _0xebc0x15=_[_0xe082[51]](_0xebc0x14,_0xebc0x5[_0xe082[49]]);_0xebc0x15[_0xe082[52]]()[_0xe082[41]](function(){return _0xebc0x6[_0xe082[30]](200)[_0xe082[29]](_0xebc0x14)})[_0xe082[31]](function(_0xebc0xf){return handleError(_0xebc0x6,_0xebc0xf)});})[_0xe082[31]](function(_0xebc0xf){return handleError(_0xebc0x6,_0xebc0xf)});};exports[_0xe082[53]]=function(_0xebc0x5,_0xebc0x6){Team[_0xe082[47]]({where:{id:_0xebc0x5[_0xe082[46]][_0xe082[45]]}})[_0xe082[41]](function(_0xebc0x14){if(!_0xebc0x14){return _0xebc0x6[_0xe082[44]](404)};_0xebc0x14[_0xe082[53]]()[_0xe082[41]](function(){return _0xebc0x6[_0xe082[44]](204)})[_0xe082[31]](function(_0xebc0xf){return handleError(_0xebc0x6,_0xebc0xf)});})[_0xe082[31]](function(_0xebc0xf){return handleError(_0xebc0x6,_0xebc0xf)})};exports[_0xe082[54]]=function(_0xebc0x5,_0xebc0x6){Team[_0xe082[53]]({where:{id:_0xebc0x5[_0xe082[10]][_0xe082[45]]},individualHooks:true})[_0xe082[41]](function(){return _0xebc0x6[_0xe082[44]](204)})[_0xe082[31]](function(_0xebc0xf){return handleError(_0xebc0x6,_0xebc0xf)})};exports[_0xe082[55]]=function(_0xebc0x5,_0xebc0x6,_0xebc0x16){Team[_0xe082[59]](_0xebc0x5[_0xe082[46]][_0xe082[45]])[_0xe082[41]](function(_0xebc0x14){if(_0xebc0x14){_0xebc0x14[_0xe082[57]](_0xebc0x5[_0xe082[49]][_0xe082[56]])[_0xe082[41]](function(){return _0xebc0x6[_0xe082[44]](200)})[_0xe082[31]](function(_0xebc0xf){return _0xebc0x16(_0xebc0xf)})}else {return _0xebc0x16( new Error(_0xe082[58]))}})[_0xe082[31]](function(_0xebc0xf){return _0xebc0x16(_0xebc0xf)})};exports[_0xe082[60]]=function(_0xebc0x5,_0xebc0x6,_0xebc0x16){Team[_0xe082[59]](_0xebc0x5[_0xe082[46]][_0xe082[45]])[_0xe082[41]](function(_0xebc0x14){if(_0xebc0x14){_0xebc0x14[_0xe082[61]](_0xebc0x5[_0xe082[49]][_0xe082[56]])[_0xe082[41]](function(){return _0xebc0x6[_0xe082[44]](200)})[_0xe082[31]](function(_0xebc0xf){return _0xebc0x16(_0xebc0xf)})}else {return _0xebc0x16( new Error(_0xe082[58]))}})[_0xe082[31]](function(_0xebc0xf){return _0xebc0x16(_0xebc0xf)})};function handleError(_0xebc0x6,_0xebc0xf){return _0xebc0x6[_0xe082[30]](500)[_0xe082[29]](_0xebc0xf)}
\ No newline at end of file
index c4f65bf..2de0ac3 100644 (file)
@@ -1 +1 @@
-var _0x978d=["\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"];_0x978d[0];var team=require(_0x978d[2])[_0x978d[1]];exports[_0x978d[3]]=function(_0xcfebx2){team[_0x978d[4]](function(_0xcfebx3){onSave(_0xcfebx2,_0xcfebx3)});team[_0x978d[5]](function(_0xcfebx3){onSave(_0xcfebx2,_0xcfebx3)});team[_0x978d[6]](function(_0xcfebx3){onRemove(_0xcfebx2,_0xcfebx3)});};function onSave(_0xcfebx2,_0xcfebx3,_0xcfebx5){_0xcfebx2[_0x978d[8]](_0x978d[7],_0xcfebx3)}function onRemove(_0xcfebx2,_0xcfebx3,_0xcfebx5){_0xcfebx2[_0x978d[8]](_0x978d[9],_0xcfebx3)}
\ No newline at end of file
+var _0x74fd=["\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"];_0x74fd[0];var team=require(_0x74fd[2])[_0x74fd[1]];exports[_0x74fd[3]]=function(_0x4040x2){team[_0x74fd[4]](function(_0x4040x3){onSave(_0x4040x2,_0x4040x3)});team[_0x74fd[5]](function(_0x4040x3){onSave(_0x4040x2,_0x4040x3)});team[_0x74fd[6]](function(_0x4040x3){onRemove(_0x4040x2,_0x4040x3)});};function onSave(_0x4040x2,_0x4040x3,_0x4040x5){_0x4040x2[_0x74fd[8]](_0x74fd[7],_0x4040x3)}function onRemove(_0x4040x2,_0x4040x3,_0x4040x5){_0x4040x2[_0x74fd[8]](_0x74fd[9],_0x4040x3)}
\ No newline at end of file
index f85ee02..de85cd7 100644 (file)
@@ -1 +1 @@
-var _0xdbe3=["\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\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\x74\x65\x61\x6D\x73","\x67\x65\x74"];_0xdbe3[0];var should=require(_0xdbe3[1]);var app=require(_0xdbe3[2]);var request=require(_0xdbe3[3]);describe(_0xdbe3[4],function(){it(_0xdbe3[5],function(_0x2aa4x4){request(app)[_0xdbe3[13]](_0xdbe3[12])[_0xdbe3[11]](200)[_0xdbe3[11]](_0xdbe3[10],/json/)[_0xdbe3[9]](function(_0x2aa4x5,_0x2aa4x6){if(_0x2aa4x5){return _0x2aa4x4(_0x2aa4x5)};_0x2aa4x6[_0xdbe3[8]][_0xdbe3[1]][_0xdbe3[7]][_0xdbe3[6]](Array);_0x2aa4x4();})})});
\ No newline at end of file
+var _0x1279=["\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\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\x74\x65\x61\x6D\x73","\x67\x65\x74"];_0x1279[0];var should=require(_0x1279[1]);var app=require(_0x1279[2]);var request=require(_0x1279[3]);describe(_0x1279[4],function(){it(_0x1279[5],function(_0x69dfx4){request(app)[_0x1279[13]](_0x1279[12])[_0x1279[11]](200)[_0x1279[11]](_0x1279[10],/json/)[_0x1279[9]](function(_0x69dfx5,_0x69dfx6){if(_0x69dfx5){return _0x69dfx4(_0x69dfx5)};_0x69dfx6[_0x1279[8]][_0x1279[1]][_0x1279[7]][_0x1279[6]](Array);_0x69dfx4();})})});
\ No newline at end of file
index 132bc79..318a9fb 100644 (file)
@@ -1 +1 @@
-var _0x2b7a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x74\x68\x69\x6E\x67\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"];_0x2b7a[0];var express=require(_0x2b7a[1]);var controller=require(_0x2b7a[2]);var router=express.Router();router[_0x2b7a[5]](_0x2b7a[3],controller[_0x2b7a[4]]);router[_0x2b7a[5]](_0x2b7a[6],controller[_0x2b7a[7]]);router[_0x2b7a[9]](_0x2b7a[3],controller[_0x2b7a[8]]);router[_0x2b7a[11]](_0x2b7a[6],controller[_0x2b7a[10]]);router[_0x2b7a[12]](_0x2b7a[6],controller[_0x2b7a[10]]);router[_0x2b7a[14]](_0x2b7a[6],controller[_0x2b7a[13]]);module[_0x2b7a[15]]=router;
\ No newline at end of file
+var _0xf551=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x74\x68\x69\x6E\x67\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"];_0xf551[0];var express=require(_0xf551[1]);var controller=require(_0xf551[2]);var router=express.Router();router[_0xf551[5]](_0xf551[3],controller[_0xf551[4]]);router[_0xf551[5]](_0xf551[6],controller[_0xf551[7]]);router[_0xf551[9]](_0xf551[3],controller[_0xf551[8]]);router[_0xf551[11]](_0xf551[6],controller[_0xf551[10]]);router[_0xf551[12]](_0xf551[6],controller[_0xf551[10]]);router[_0xf551[14]](_0xf551[6],controller[_0xf551[13]]);module[_0xf551[15]]=router;
\ No newline at end of file
index 0b5ce8c..a034d17 100644 (file)
@@ -1 +1 @@
-var _0x1ce5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x54\x68\x69\x6E\x67","\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"];_0x1ce5[0];var _=require(_0x1ce5[1]);var Thing=require(_0x1ce5[3])[_0x1ce5[2]];exports[_0x1ce5[4]]=function(_0xbfacx3,_0xbfacx4,_0xbfacx5){Thing[_0x1ce5[9]]()[_0x1ce5[8]](function(_0xbfacx7){return _0xbfacx4[_0x1ce5[7]](200)[_0x1ce5[6]](_0xbfacx7)})[_0x1ce5[5]](function(_0xbfacx6){return _0xbfacx5(_0xbfacx6)})};exports[_0x1ce5[10]]=function(_0xbfacx3,_0xbfacx4,_0xbfacx5){Thing[_0x1ce5[14]](_0xbfacx3[_0x1ce5[13]][_0x1ce5[12]])[_0x1ce5[8]](function(_0xbfacx8){if(!_0xbfacx8){return _0xbfacx4[_0x1ce5[11]](404)};return _0xbfacx4[_0x1ce5[6]](_0xbfacx8);})[_0x1ce5[5]](function(_0xbfacx6){return _0xbfacx5(_0xbfacx6)})};exports[_0x1ce5[15]]=function(_0xbfacx3,_0xbfacx4,_0xbfacx5){Thing[_0x1ce5[15]](_0xbfacx3[_0x1ce5[16]])[_0x1ce5[8]](function(_0xbfacx8){return _0xbfacx4[_0x1ce5[7]](201)[_0x1ce5[6]](_0xbfacx8)})[_0x1ce5[5]](function(_0xbfacx6){return _0xbfacx5(_0xbfacx6)})};exports[_0x1ce5[17]]=function(_0xbfacx3,_0xbfacx4,_0xbfacx5){if(_0xbfacx3[_0x1ce5[16]][_0x1ce5[12]]){delete _0xbfacx3[_0x1ce5[16]][_0x1ce5[12]]};Thing[_0x1ce5[14]](_0xbfacx3[_0x1ce5[13]][_0x1ce5[12]])[_0x1ce5[8]](function(_0xbfacx8){if(!_0xbfacx8){return _0xbfacx4[_0x1ce5[11]](404)};var _0xbfacx9=_[_0x1ce5[18]](_0xbfacx8,_0xbfacx3[_0x1ce5[16]]);_0xbfacx9[_0x1ce5[19]]()[_0x1ce5[8]](function(){return _0xbfacx4[_0x1ce5[7]](200)[_0x1ce5[6]](_0xbfacx8)})[_0x1ce5[5]](function(_0xbfacx6){return _0xbfacx5(_0xbfacx6)});})[_0x1ce5[5]](function(_0xbfacx6){return _0xbfacx5(_0xbfacx6)});};exports[_0x1ce5[20]]=function(_0xbfacx3,_0xbfacx4,_0xbfacx5){Thing[_0x1ce5[14]](_0xbfacx3[_0x1ce5[13]][_0x1ce5[12]])[_0x1ce5[8]](function(_0xbfacx8){if(!_0xbfacx8){return _0xbfacx4[_0x1ce5[11]](404)};_0xbfacx8[_0x1ce5[20]]()[_0x1ce5[8]](function(){return _0xbfacx4[_0x1ce5[11]](204)})[_0x1ce5[5]](function(_0xbfacx6){return _0xbfacx5(_0xbfacx6)});})[_0x1ce5[5]](function(_0xbfacx6){return _0xbfacx5(_0xbfacx6)})};
\ No newline at end of file
+var _0xc0a1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x54\x68\x69\x6E\x67","\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"];_0xc0a1[0];var _=require(_0xc0a1[1]);var Thing=require(_0xc0a1[3])[_0xc0a1[2]];exports[_0xc0a1[4]]=function(_0x51b5x3,_0x51b5x4,_0x51b5x5){Thing[_0xc0a1[9]]()[_0xc0a1[8]](function(_0x51b5x7){return _0x51b5x4[_0xc0a1[7]](200)[_0xc0a1[6]](_0x51b5x7)})[_0xc0a1[5]](function(_0x51b5x6){return _0x51b5x5(_0x51b5x6)})};exports[_0xc0a1[10]]=function(_0x51b5x3,_0x51b5x4,_0x51b5x5){Thing[_0xc0a1[14]](_0x51b5x3[_0xc0a1[13]][_0xc0a1[12]])[_0xc0a1[8]](function(_0x51b5x8){if(!_0x51b5x8){return _0x51b5x4[_0xc0a1[11]](404)};return _0x51b5x4[_0xc0a1[6]](_0x51b5x8);})[_0xc0a1[5]](function(_0x51b5x6){return _0x51b5x5(_0x51b5x6)})};exports[_0xc0a1[15]]=function(_0x51b5x3,_0x51b5x4,_0x51b5x5){Thing[_0xc0a1[15]](_0x51b5x3[_0xc0a1[16]])[_0xc0a1[8]](function(_0x51b5x8){return _0x51b5x4[_0xc0a1[7]](201)[_0xc0a1[6]](_0x51b5x8)})[_0xc0a1[5]](function(_0x51b5x6){return _0x51b5x5(_0x51b5x6)})};exports[_0xc0a1[17]]=function(_0x51b5x3,_0x51b5x4,_0x51b5x5){if(_0x51b5x3[_0xc0a1[16]][_0xc0a1[12]]){delete _0x51b5x3[_0xc0a1[16]][_0xc0a1[12]]};Thing[_0xc0a1[14]](_0x51b5x3[_0xc0a1[13]][_0xc0a1[12]])[_0xc0a1[8]](function(_0x51b5x8){if(!_0x51b5x8){return _0x51b5x4[_0xc0a1[11]](404)};var _0x51b5x9=_[_0xc0a1[18]](_0x51b5x8,_0x51b5x3[_0xc0a1[16]]);_0x51b5x9[_0xc0a1[19]]()[_0xc0a1[8]](function(){return _0x51b5x4[_0xc0a1[7]](200)[_0xc0a1[6]](_0x51b5x8)})[_0xc0a1[5]](function(_0x51b5x6){return _0x51b5x5(_0x51b5x6)});})[_0xc0a1[5]](function(_0x51b5x6){return _0x51b5x5(_0x51b5x6)});};exports[_0xc0a1[20]]=function(_0x51b5x3,_0x51b5x4,_0x51b5x5){Thing[_0xc0a1[14]](_0x51b5x3[_0xc0a1[13]][_0xc0a1[12]])[_0xc0a1[8]](function(_0x51b5x8){if(!_0x51b5x8){return _0x51b5x4[_0xc0a1[11]](404)};_0x51b5x8[_0xc0a1[20]]()[_0xc0a1[8]](function(){return _0x51b5x4[_0xc0a1[11]](204)})[_0xc0a1[5]](function(_0x51b5x6){return _0x51b5x5(_0x51b5x6)});})[_0xc0a1[5]](function(_0x51b5x6){return _0x51b5x5(_0x51b5x6)})};
\ No newline at end of file
index 281e4a4..29003cf 100644 (file)
@@ -1 +1 @@
-var _0x922a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x54\x68\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","\x74\x68\x69\x6E\x67\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x74\x68\x69\x6E\x67\x3A\x72\x65\x6D\x6F\x76\x65"];_0x922a[0];var thing=require(_0x922a[2])[_0x922a[1]];exports[_0x922a[3]]=function(_0x585fx2){thing[_0x922a[4]](function(_0x585fx3){onSave(_0x585fx2,_0x585fx3)});thing[_0x922a[5]](function(_0x585fx3){onRemove(_0x585fx2,_0x585fx3)});};function onSave(_0x585fx2,_0x585fx3,_0x585fx5){_0x585fx2[_0x922a[7]](_0x922a[6],_0x585fx3)}function onRemove(_0x585fx2,_0x585fx3,_0x585fx5){_0x585fx2[_0x922a[7]](_0x922a[8],_0x585fx3)}
\ No newline at end of file
+var _0xcedc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x54\x68\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","\x74\x68\x69\x6E\x67\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x74\x68\x69\x6E\x67\x3A\x72\x65\x6D\x6F\x76\x65"];_0xcedc[0];var thing=require(_0xcedc[2])[_0xcedc[1]];exports[_0xcedc[3]]=function(_0x1f7ex2){thing[_0xcedc[4]](function(_0x1f7ex3){onSave(_0x1f7ex2,_0x1f7ex3)});thing[_0xcedc[5]](function(_0x1f7ex3){onRemove(_0x1f7ex2,_0x1f7ex3)});};function onSave(_0x1f7ex2,_0x1f7ex3,_0x1f7ex5){_0x1f7ex2[_0xcedc[7]](_0xcedc[6],_0x1f7ex3)}function onRemove(_0x1f7ex2,_0x1f7ex3,_0x1f7ex5){_0x1f7ex2[_0xcedc[7]](_0xcedc[8],_0x1f7ex3)}
\ No newline at end of file
index f3259e1..7151fda 100644 (file)
@@ -1 +1 @@
-var _0x6532=["\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\x74\x68\x69\x6E\x67\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\x74\x68\x69\x6E\x67\x73","\x67\x65\x74"];_0x6532[0];var should=require(_0x6532[1]);var app=require(_0x6532[2]);var request=require(_0x6532[3]);describe(_0x6532[4],function(){it(_0x6532[5],function(_0xdd64x4){request(app)[_0x6532[13]](_0x6532[12])[_0x6532[11]](200)[_0x6532[11]](_0x6532[10],/json/)[_0x6532[9]](function(_0xdd64x5,_0xdd64x6){if(_0xdd64x5){return _0xdd64x4(_0xdd64x5)};_0xdd64x6[_0x6532[8]][_0x6532[1]][_0x6532[7]][_0x6532[6]](Array);_0xdd64x4();})})});
\ No newline at end of file
+var _0x5512=["\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\x74\x68\x69\x6E\x67\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\x74\x68\x69\x6E\x67\x73","\x67\x65\x74"];_0x5512[0];var should=require(_0x5512[1]);var app=require(_0x5512[2]);var request=require(_0x5512[3]);describe(_0x5512[4],function(){it(_0x5512[5],function(_0x2a1ex4){request(app)[_0x5512[13]](_0x5512[12])[_0x5512[11]](200)[_0x5512[11]](_0x5512[10],/json/)[_0x5512[9]](function(_0x2a1ex5,_0x2a1ex6){if(_0x2a1ex5){return _0x2a1ex4(_0x2a1ex5)};_0x2a1ex6[_0x5512[8]][_0x5512[1]][_0x5512[7]][_0x5512[6]](Array);_0x2a1ex4();})})});
\ No newline at end of file
index 90c67aa..52e206e 100644 (file)
@@ -1 +1 @@
-var _0x7c0d=["\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","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x7c0d[0];var express=require(_0x7c0d[1]);var controller=require(_0x7c0d[2]);var auth=require(_0x7c0d[3]);var router=express.Router();router[_0x7c0d[7]](_0x7c0d[4],auth[_0x7c0d[5]](),controller[_0x7c0d[6]]);router[_0x7c0d[7]](_0x7c0d[8],auth[_0x7c0d[5]](),controller[_0x7c0d[9]]);router[_0x7c0d[11]](_0x7c0d[4],auth[_0x7c0d[5]](),controller[_0x7c0d[10]]);router[_0x7c0d[13]](_0x7c0d[8],auth[_0x7c0d[5]](),controller[_0x7c0d[12]]);router[_0x7c0d[14]](_0x7c0d[8],auth[_0x7c0d[5]](),controller[_0x7c0d[12]]);router[_0x7c0d[16]](_0x7c0d[8],auth[_0x7c0d[5]](),controller[_0x7c0d[15]]);router[_0x7c0d[16]](_0x7c0d[4],auth[_0x7c0d[5]](),controller[_0x7c0d[17]]);module[_0x7c0d[18]]=router;
\ No newline at end of file
+var _0x86bf=["\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","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x86bf[0];var express=require(_0x86bf[1]);var controller=require(_0x86bf[2]);var auth=require(_0x86bf[3]);var router=express.Router();router[_0x86bf[7]](_0x86bf[4],auth[_0x86bf[5]](),controller[_0x86bf[6]]);router[_0x86bf[7]](_0x86bf[8],auth[_0x86bf[5]](),controller[_0x86bf[9]]);router[_0x86bf[11]](_0x86bf[4],auth[_0x86bf[5]](),controller[_0x86bf[10]]);router[_0x86bf[13]](_0x86bf[8],auth[_0x86bf[5]](),controller[_0x86bf[12]]);router[_0x86bf[14]](_0x86bf[8],auth[_0x86bf[5]](),controller[_0x86bf[12]]);router[_0x86bf[16]](_0x86bf[8],auth[_0x86bf[5]](),controller[_0x86bf[15]]);router[_0x86bf[16]](_0x86bf[4],auth[_0x86bf[5]](),controller[_0x86bf[17]]);module[_0x86bf[18]]=router;
\ No newline at end of file
index d58e13f..642d9ab 100644 (file)
@@ -1 +1 @@
-var _0x3553=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x54\x72\x69\x67\x67\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0x3553[0];var _=require(_0x3553[1]);var util=require(_0x3553[2]);var Trigger=require(_0x3553[4])[_0x3553[3]];exports[_0x3553[5]]=function(_0xd8cfx4,_0xd8cfx5,_0xd8cfx6){var _0xd8cfx7=[_0x3553[6],_0x3553[7],_0x3553[8]];var _0xd8cfx8=_0xd8cfx4[_0x3553[10]][_0x3553[9]]?parseInt(_0xd8cfx4[_0x3553[10]][_0x3553[9]],10):100;var _0xd8cfx9=_0xd8cfx4[_0x3553[10]][_0x3553[11]]?parseInt(_0xd8cfx4[_0x3553[10]][_0x3553[11]],10):0;var _0xd8cfxa={where:{},limit:_0xd8cfx8,offset:_0xd8cfx9*_0xd8cfx8};_[_0x3553[25]](_0xd8cfx4[_0x3553[10]],function(_0xd8cfxb,_0xd8cfxc){switch(_0xd8cfxc){case _0x3553[9]:;case _0x3553[11]:break ;;case _0x3553[14]:_0xd8cfxa[_0x3553[12]]=util[_0x3553[17]](_0x3553[13],_0xd8cfx4[_0x3553[10]][_0x3553[14]],_0xd8cfx4[_0x3553[10]][_0x3553[15]]||_0x3553[16])||null;break ;;case _0x3553[15]:break ;;case _0x3553[23]:_0xd8cfxa[_0x3553[19]][_0x3553[18]]=[];_0xd8cfx7[_0x3553[22]](function(_0xd8cfxd){var _0xd8cfxe={};_0xd8cfxe[_0xd8cfxd]={$like:_0x3553[20]+_0xd8cfxb+_0x3553[20]};_0xd8cfxa[_0x3553[19]][_0x3553[18]][_0x3553[21]](_0xd8cfxe);});break ;;default:_0xd8cfxa[_0x3553[19]][_0xd8cfxc]={$like:{}};_0xd8cfxa[_0x3553[19]][_0xd8cfxc][_0x3553[24]]=_0x3553[20]+_0xd8cfxb+_0x3553[20];;}});Trigger[_0x3553[40]](_0xd8cfxa)[_0x3553[39]](function(_0xd8cfx10){var _0xd8cfx11=Math[_0x3553[31]](_0xd8cfx10[_0x3553[30]]/_0xd8cfx8);var _0xd8cfx12=_0xd8cfx11>(_0xd8cfxa[_0x3553[32]]+1)?util[_0x3553[17]](_0x3553[33],_0xd8cfx4[_0x3553[34]],_0xd8cfx4[_0x3553[36]][_0x3553[35]],_0xd8cfx4[_0x3553[37]],_0xd8cfx9+1):null;var _0xd8cfx13=_0xd8cfx9>0?util[_0x3553[17]](_0x3553[33],_0xd8cfx4[_0x3553[34]],_0xd8cfx4[_0x3553[36]][_0x3553[35]],_0xd8cfx4[_0x3553[37]],_0xd8cfx9-1):null;_0xd8cfx5[_0x3553[28]](200)[_0x3553[27]]({count:_0xd8cfx10[_0x3553[30]],rows:_0xd8cfx10[_0x3553[38]],next_page:_0xd8cfx12,previous_page:_0xd8cfx13,total_pages:_0xd8cfx11});})[_0x3553[29]](function(_0xd8cfxf){_0xd8cfx5[_0x3553[28]](500)[_0x3553[27]]({error:_0x3553[26]})});};exports[_0x3553[41]]=function(_0xd8cfx4,_0xd8cfx5){Trigger[_0x3553[45]](_0xd8cfx4[_0x3553[44]][_0x3553[43]])[_0x3553[39]](function(Trigger){if(!Trigger){return _0xd8cfx5[_0x3553[42]](404)};return _0xd8cfx5[_0x3553[27]](Trigger);})[_0x3553[29]](function(_0xd8cfxf){return handleError(_0xd8cfx5,_0xd8cfxf)})};exports[_0x3553[46]]=function(_0xd8cfx4,_0xd8cfx5){Trigger[_0x3553[46]](_0xd8cfx4[_0x3553[47]])[_0x3553[39]](function(){return _0xd8cfx5[_0x3553[42]](201)})[_0x3553[29]](function(_0xd8cfxf){return handleError(_0xd8cfx5,_0xd8cfxf)})};exports[_0x3553[48]]=function(_0xd8cfx4,_0xd8cfx5,_0xd8cfx6){if(_0xd8cfx4[_0x3553[47]][_0x3553[43]]){delete _0xd8cfx4[_0x3553[47]][_0x3553[43]]};Trigger[_0x3553[45]](_0xd8cfx4[_0x3553[44]][_0x3553[43]])[_0x3553[39]](function(Trigger){if(!Trigger){return _0xd8cfx5[_0x3553[42]](404)};var _0xd8cfx14=_[_0x3553[49]](Trigger,_0xd8cfx4[_0x3553[47]]);_0xd8cfx14[_0x3553[50]]()[_0x3553[39]](function(){return _0xd8cfx5[_0x3553[28]](200)[_0x3553[27]](Trigger)})[_0x3553[29]](function(_0xd8cfxf){return _0xd8cfx6(_0xd8cfxf)});})[_0x3553[29]](function(_0xd8cfxf){return _0xd8cfx6(_0xd8cfxf)});};exports[_0x3553[51]]=function(_0xd8cfx4,_0xd8cfx5){Trigger[_0x3553[45]](_0xd8cfx4[_0x3553[44]][_0x3553[43]])[_0x3553[39]](function(Trigger){if(!Trigger){return _0xd8cfx5[_0x3553[42]](404)};Trigger[_0x3553[51]]()[_0x3553[39]](function(){return _0xd8cfx5[_0x3553[42]](204)})[_0x3553[29]](function(_0xd8cfxf){return handleError(_0xd8cfx5,_0xd8cfxf)});})[_0x3553[29]](function(_0xd8cfxf){return handleError(_0xd8cfx5,_0xd8cfxf)})};exports[_0x3553[52]]=function(_0xd8cfx4,_0xd8cfx5){Trigger[_0x3553[51]]({where:{id:_0xd8cfx4[_0x3553[10]][_0x3553[43]]},individualHooks:true})[_0x3553[39]](function(){return _0xd8cfx5[_0x3553[42]](204)})[_0x3553[29]](function(_0xd8cfxf){return handleError(_0xd8cfx5,_0xd8cfxf)})};function handleError(_0xd8cfx5,_0xd8cfxf){return _0xd8cfx5[_0x3553[28]](500)[_0x3553[27]](_0xd8cfxf)}
\ No newline at end of file
+var _0xbd38=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x54\x72\x69\x67\x67\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0xbd38[0];var _=require(_0xbd38[1]);var util=require(_0xbd38[2]);var Trigger=require(_0xbd38[4])[_0xbd38[3]];exports[_0xbd38[5]]=function(_0x6489x4,_0x6489x5,_0x6489x6){var _0x6489x7=[_0xbd38[6],_0xbd38[7],_0xbd38[8]];var _0x6489x8=_0x6489x4[_0xbd38[10]][_0xbd38[9]]?parseInt(_0x6489x4[_0xbd38[10]][_0xbd38[9]],10):100;var _0x6489x9=_0x6489x4[_0xbd38[10]][_0xbd38[11]]?parseInt(_0x6489x4[_0xbd38[10]][_0xbd38[11]],10):0;var _0x6489xa={where:{},limit:_0x6489x8,offset:_0x6489x9*_0x6489x8};_[_0xbd38[25]](_0x6489x4[_0xbd38[10]],function(_0x6489xb,_0x6489xc){switch(_0x6489xc){case _0xbd38[9]:;case _0xbd38[11]:break ;;case _0xbd38[14]:_0x6489xa[_0xbd38[12]]=util[_0xbd38[17]](_0xbd38[13],_0x6489x4[_0xbd38[10]][_0xbd38[14]],_0x6489x4[_0xbd38[10]][_0xbd38[15]]||_0xbd38[16])||null;break ;;case _0xbd38[15]:break ;;case _0xbd38[23]:_0x6489xa[_0xbd38[19]][_0xbd38[18]]=[];_0x6489x7[_0xbd38[22]](function(_0x6489xd){var _0x6489xe={};_0x6489xe[_0x6489xd]={$like:_0xbd38[20]+_0x6489xb+_0xbd38[20]};_0x6489xa[_0xbd38[19]][_0xbd38[18]][_0xbd38[21]](_0x6489xe);});break ;;default:_0x6489xa[_0xbd38[19]][_0x6489xc]={$like:{}};_0x6489xa[_0xbd38[19]][_0x6489xc][_0xbd38[24]]=_0xbd38[20]+_0x6489xb+_0xbd38[20];;}});Trigger[_0xbd38[40]](_0x6489xa)[_0xbd38[39]](function(_0x6489x10){var _0x6489x11=Math[_0xbd38[31]](_0x6489x10[_0xbd38[30]]/_0x6489x8);var _0x6489x12=_0x6489x11>(_0x6489xa[_0xbd38[32]]+1)?util[_0xbd38[17]](_0xbd38[33],_0x6489x4[_0xbd38[34]],_0x6489x4[_0xbd38[36]][_0xbd38[35]],_0x6489x4[_0xbd38[37]],_0x6489x9+1):null;var _0x6489x13=_0x6489x9>0?util[_0xbd38[17]](_0xbd38[33],_0x6489x4[_0xbd38[34]],_0x6489x4[_0xbd38[36]][_0xbd38[35]],_0x6489x4[_0xbd38[37]],_0x6489x9-1):null;_0x6489x5[_0xbd38[28]](200)[_0xbd38[27]]({count:_0x6489x10[_0xbd38[30]],rows:_0x6489x10[_0xbd38[38]],next_page:_0x6489x12,previous_page:_0x6489x13,total_pages:_0x6489x11});})[_0xbd38[29]](function(_0x6489xf){_0x6489x5[_0xbd38[28]](500)[_0xbd38[27]]({error:_0xbd38[26]})});};exports[_0xbd38[41]]=function(_0x6489x4,_0x6489x5){Trigger[_0xbd38[45]](_0x6489x4[_0xbd38[44]][_0xbd38[43]])[_0xbd38[39]](function(Trigger){if(!Trigger){return _0x6489x5[_0xbd38[42]](404)};return _0x6489x5[_0xbd38[27]](Trigger);})[_0xbd38[29]](function(_0x6489xf){return handleError(_0x6489x5,_0x6489xf)})};exports[_0xbd38[46]]=function(_0x6489x4,_0x6489x5){Trigger[_0xbd38[46]](_0x6489x4[_0xbd38[47]])[_0xbd38[39]](function(){return _0x6489x5[_0xbd38[42]](201)})[_0xbd38[29]](function(_0x6489xf){return handleError(_0x6489x5,_0x6489xf)})};exports[_0xbd38[48]]=function(_0x6489x4,_0x6489x5,_0x6489x6){if(_0x6489x4[_0xbd38[47]][_0xbd38[43]]){delete _0x6489x4[_0xbd38[47]][_0xbd38[43]]};Trigger[_0xbd38[45]](_0x6489x4[_0xbd38[44]][_0xbd38[43]])[_0xbd38[39]](function(Trigger){if(!Trigger){return _0x6489x5[_0xbd38[42]](404)};var _0x6489x14=_[_0xbd38[49]](Trigger,_0x6489x4[_0xbd38[47]]);_0x6489x14[_0xbd38[50]]()[_0xbd38[39]](function(){return _0x6489x5[_0xbd38[28]](200)[_0xbd38[27]](Trigger)})[_0xbd38[29]](function(_0x6489xf){return _0x6489x6(_0x6489xf)});})[_0xbd38[29]](function(_0x6489xf){return _0x6489x6(_0x6489xf)});};exports[_0xbd38[51]]=function(_0x6489x4,_0x6489x5){Trigger[_0xbd38[45]](_0x6489x4[_0xbd38[44]][_0xbd38[43]])[_0xbd38[39]](function(Trigger){if(!Trigger){return _0x6489x5[_0xbd38[42]](404)};Trigger[_0xbd38[51]]()[_0xbd38[39]](function(){return _0x6489x5[_0xbd38[42]](204)})[_0xbd38[29]](function(_0x6489xf){return handleError(_0x6489x5,_0x6489xf)});})[_0xbd38[29]](function(_0x6489xf){return handleError(_0x6489x5,_0x6489xf)})};exports[_0xbd38[52]]=function(_0x6489x4,_0x6489x5){Trigger[_0xbd38[51]]({where:{id:_0x6489x4[_0xbd38[10]][_0xbd38[43]]},individualHooks:true})[_0xbd38[39]](function(){return _0x6489x5[_0xbd38[42]](204)})[_0xbd38[29]](function(_0x6489xf){return handleError(_0x6489x5,_0x6489xf)})};function handleError(_0x6489x5,_0x6489xf){return _0x6489x5[_0xbd38[28]](500)[_0xbd38[27]](_0x6489xf)}
\ No newline at end of file
index 62d0469..5dee5f0 100644 (file)
@@ -1 +1 @@
-var _0xc80f=["\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"];_0xc80f[0];var Trigger=require(_0xc80f[2])[_0xc80f[1]];exports[_0xc80f[3]]=function(_0xbb08x2){Trigger[_0xc80f[4]](function(_0xbb08x3){onSave(_0xbb08x2,_0xbb08x3)});Trigger[_0xc80f[5]](function(_0xbb08x3){onRemove(_0xbb08x2,_0xbb08x3)});};function onSave(_0xbb08x2,_0xbb08x3,_0xbb08x5){_0xbb08x2[_0xc80f[7]](_0xc80f[6],_0xbb08x3)}function onRemove(_0xbb08x2,_0xbb08x3,_0xbb08x5){_0xbb08x2[_0xc80f[7]](_0xc80f[8],_0xbb08x3)}
\ No newline at end of file
+var _0xd611=["\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"];_0xd611[0];var Trigger=require(_0xd611[2])[_0xd611[1]];exports[_0xd611[3]]=function(_0xf09cx2){Trigger[_0xd611[4]](function(_0xf09cx3){onSave(_0xf09cx2,_0xf09cx3)});Trigger[_0xd611[5]](function(_0xf09cx3){onRemove(_0xf09cx2,_0xf09cx3)});};function onSave(_0xf09cx2,_0xf09cx3,_0xf09cx5){_0xf09cx2[_0xd611[7]](_0xd611[6],_0xf09cx3)}function onRemove(_0xf09cx2,_0xf09cx3,_0xf09cx5){_0xf09cx2[_0xd611[7]](_0xd611[8],_0xf09cx3)}
\ No newline at end of file
index 967acef..4355de8 100644 (file)
@@ -1 +1 @@
-var _0x6674=["\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\x74\x72\x69\x67\x67\x65\x72\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\x74\x72\x69\x67\x67\x65\x72\x73","\x67\x65\x74"];_0x6674[0];var should=require(_0x6674[1]);var app=require(_0x6674[2]);var request=require(_0x6674[3]);describe(_0x6674[4],function(){it(_0x6674[5],function(_0xfe8dx4){request(app)[_0x6674[13]](_0x6674[12])[_0x6674[11]](200)[_0x6674[11]](_0x6674[10],/json/)[_0x6674[9]](function(_0xfe8dx5,_0xfe8dx6){if(_0xfe8dx5){return _0xfe8dx4(_0xfe8dx5)};_0xfe8dx6[_0x6674[8]][_0x6674[1]][_0x6674[7]][_0x6674[6]](Array);_0xfe8dx4();})})});
\ No newline at end of file
+var _0xb02f=["\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\x74\x72\x69\x67\x67\x65\x72\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\x74\x72\x69\x67\x67\x65\x72\x73","\x67\x65\x74"];_0xb02f[0];var should=require(_0xb02f[1]);var app=require(_0xb02f[2]);var request=require(_0xb02f[3]);describe(_0xb02f[4],function(){it(_0xb02f[5],function(_0x4d0cx4){request(app)[_0xb02f[13]](_0xb02f[12])[_0xb02f[11]](200)[_0xb02f[11]](_0xb02f[10],/json/)[_0xb02f[9]](function(_0x4d0cx5,_0x4d0cx6){if(_0x4d0cx5){return _0x4d0cx4(_0x4d0cx5)};_0x4d0cx6[_0xb02f[8]][_0xb02f[1]][_0xb02f[7]][_0xb02f[6]](Array);_0x4d0cx4();})})});
\ No newline at end of file
index 18d82a2..767356f 100644 (file)
@@ -1 +1 @@
-var _0xd050=["\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","\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","\x74\x72\x75\x6E\x6B\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"];_0xd050[0];var express=require(_0xd050[1]);var controller=require(_0xd050[2]);var config=require(_0xd050[3]);var auth=require(_0xd050[4]);var router=express.Router();router[_0xd050[8]](_0xd050[5],auth[_0xd050[6]](),controller[_0xd050[7]]);router[_0xd050[8]](_0xd050[9],auth[_0xd050[6]](),controller[_0xd050[10]]);router[_0xd050[12]](_0xd050[5],auth[_0xd050[6]](),controller[_0xd050[11]]);router[_0xd050[12]](_0xd050[13],auth[_0xd050[6]](),controller[_0xd050[14]]);router[_0xd050[16]](_0xd050[9],auth[_0xd050[6]](),controller[_0xd050[15]]);router[_0xd050[18]](_0xd050[5],auth[_0xd050[6]](),controller[_0xd050[17]]);router[_0xd050[18]](_0xd050[9],auth[_0xd050[6]](),controller[_0xd050[19]]);module[_0xd050[20]]=router;
\ No newline at end of file
+var _0xe570=["\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","\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","\x74\x72\x75\x6E\x6B\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"];_0xe570[0];var express=require(_0xe570[1]);var controller=require(_0xe570[2]);var config=require(_0xe570[3]);var auth=require(_0xe570[4]);var router=express.Router();router[_0xe570[8]](_0xe570[5],auth[_0xe570[6]](),controller[_0xe570[7]]);router[_0xe570[8]](_0xe570[9],auth[_0xe570[6]](),controller[_0xe570[10]]);router[_0xe570[12]](_0xe570[5],auth[_0xe570[6]](),controller[_0xe570[11]]);router[_0xe570[12]](_0xe570[13],auth[_0xe570[6]](),controller[_0xe570[14]]);router[_0xe570[16]](_0xe570[9],auth[_0xe570[6]](),controller[_0xe570[15]]);router[_0xe570[18]](_0xe570[5],auth[_0xe570[6]](),controller[_0xe570[17]]);router[_0xe570[18]](_0xe570[9],auth[_0xe570[6]](),controller[_0xe570[19]]);module[_0xe570[20]]=router;
\ No newline at end of file
index 9d85aca..cdb5f8f 100644 (file)
@@ -1 +1 @@
-var _0x8aea=["\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","\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","\x6C\x6F\x64\x61\x73\x68","\x72\x65\x67\x69\x73\x74\x65\x72","\x63\x72\x65\x61\x74\x65\x20\x74\x72\x75\x6E\x6B\x20\x68\x6F\x6F\x6B","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x20\x74\x72\x75\x6E\x6B\x20\x68\x6F\x6F\x6B","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x64\x65\x6C\x65\x74\x65\x20\x74\x72\x75\x6E\x6B\x20\x68\x6F\x6F\x6B","\x61\x66\x74\x65\x72\x44\x65\x6C\x65\x74\x65","","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x63\x6C\x6F\x6E\x65","\x69\x64","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x75\x70\x64\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","\x25\x73\x3D\x25\x73\x0A","\x63\x61\x74\x63\x68","\x70\x6C\x75\x63\x6B","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x61\x73\x74\x65\x72\x69\x73\x6B\x2F\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","\x52\x65\x6C\x6F\x61\x64","\x63\x68\x61\x6E\x5F\x73\x69\x70","\x65\x72\x72\x6F\x72","\x61\x63\x74\x69\x6F\x6E","\x77\x72\x69\x74\x65\x46\x69\x6C\x65","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C"];_0x8aea[0];var fs=require(_0x8aea[1]);var util=require(_0x8aea[2]);var path=require(_0x8aea[3]);var config=require(_0x8aea[4]);var Trunk=require(_0x8aea[6])[_0x8aea[5]];var VoiceExtension=require(_0x8aea[6])[_0x8aea[7]];var _=require(_0x8aea[8]);exports[_0x8aea[9]]=function(_0xa5eex8){Trunk[_0x8aea[12]](function(_0xa5eex9){console[_0x8aea[11]](_0x8aea[10]);trunksRewrite(_0xa5eex9,_0xa5eex8,false);});Trunk[_0x8aea[14]](function(_0xa5eex9){console[_0x8aea[11]](_0x8aea[13]);trunksRewrite(_0xa5eex9,_0xa5eex8,false);});Trunk[_0x8aea[16]](function(_0xa5eex9){console[_0x8aea[11]](_0x8aea[15]);trunksRewrite(_0xa5eex9,_0xa5eex8,true);});};function trunksRewrite(_0xa5eex9,_0xa5eex8,_0xa5eexb){var _0xa5eexc=_0x8aea[17];if(!_0xa5eexb){var _0xa5eexd=_[_0x8aea[19]](_0xa5eex9[_0x8aea[18]]);delete _0xa5eexd[_0x8aea[20]];delete _0xa5eexd[_0x8aea[21]];delete _0xa5eexd[_0x8aea[22]];_0xa5eexc+=util[_0x8aea[25]](_0x8aea[23],_0xa5eexd[_0x8aea[24]]);if(_0xa5eexd[_0x8aea[26]]){_0xa5eexc+=util[_0x8aea[25]](_0x8aea[27],_0xa5eexd[_0x8aea[26]]);delete _0xa5eexd[_0x8aea[26]];};for(var _0xa5eexe in _0xa5eexd){if(_0xa5eexd[_0xa5eexe]){_0xa5eexc+=util[_0x8aea[25]](_0x8aea[28],_0xa5eexe,_0xa5eexd[_0xa5eexe])}};};Trunk[_0x8aea[44]]({where:{id:{$ne:_0xa5eex9[_0x8aea[20]]}}})[_0x8aea[43]](function(_0xa5eex10){var _0xa5eex11=_[_0x8aea[30]](_0xa5eex10,_0x8aea[18]);_0xa5eex11[_0x8aea[31]](function(_0xa5eex12){delete _0xa5eex12[_0x8aea[20]];delete _0xa5eex12[_0x8aea[21]];delete _0xa5eex12[_0x8aea[22]];_0xa5eexc+=util[_0x8aea[25]](_0x8aea[23],_0xa5eex12[_0x8aea[24]]);if(_0xa5eex12[_0x8aea[26]]){_0xa5eexc+=util[_0x8aea[25]](_0x8aea[27],_0xa5eex12[_0x8aea[26]]);delete _0xa5eex12[_0x8aea[26]];};for(var _0xa5eexe in _0xa5eex12){if(_0xa5eex12[_0xa5eexe]){_0xa5eexc+=util[_0x8aea[25]](_0x8aea[28],_0xa5eexe,_0xa5eex12[_0xa5eexe])}};});fs[_0x8aea[42]](path[_0x8aea[34]](config[_0x8aea[32]],_0x8aea[33]),_0xa5eexc,{flags:_0x8aea[35],mode:parseInt(_0x8aea[36],8)},function(_0xa5eexf){if(_0xa5eexf){throw _0xa5eexf};console[_0x8aea[11]](_0x8aea[37]);_0xa5eex8[_0x8aea[41]]({Action:_0x8aea[38],Module:_0x8aea[39]},function(_0xa5eexf,_0xa5eex13){if(_0xa5eexf){console[_0x8aea[40]](_0xa5eexf)}else {console[_0x8aea[11]](_0xa5eex13)}});});})[_0x8aea[29]](function(_0xa5eexf){console[_0x8aea[11]](_0xa5eexf)});}
\ No newline at end of file
+var _0xdee1=["\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","\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","\x6C\x6F\x64\x61\x73\x68","\x72\x65\x67\x69\x73\x74\x65\x72","\x63\x72\x65\x61\x74\x65\x20\x74\x72\x75\x6E\x6B\x20\x68\x6F\x6F\x6B","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x20\x74\x72\x75\x6E\x6B\x20\x68\x6F\x6F\x6B","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x64\x65\x6C\x65\x74\x65\x20\x74\x72\x75\x6E\x6B\x20\x68\x6F\x6F\x6B","\x61\x66\x74\x65\x72\x44\x65\x6C\x65\x74\x65","","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x63\x6C\x6F\x6E\x65","\x69\x64","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x75\x70\x64\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","\x25\x73\x3D\x25\x73\x0A","\x63\x61\x74\x63\x68","\x70\x6C\x75\x63\x6B","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x61\x73\x74\x65\x72\x69\x73\x6B\x2F\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","\x52\x65\x6C\x6F\x61\x64","\x63\x68\x61\x6E\x5F\x73\x69\x70","\x65\x72\x72\x6F\x72","\x61\x63\x74\x69\x6F\x6E","\x77\x72\x69\x74\x65\x46\x69\x6C\x65","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C"];_0xdee1[0];var fs=require(_0xdee1[1]);var util=require(_0xdee1[2]);var path=require(_0xdee1[3]);var config=require(_0xdee1[4]);var Trunk=require(_0xdee1[6])[_0xdee1[5]];var VoiceExtension=require(_0xdee1[6])[_0xdee1[7]];var _=require(_0xdee1[8]);exports[_0xdee1[9]]=function(_0x9b0ex8){Trunk[_0xdee1[12]](function(_0x9b0ex9){console[_0xdee1[11]](_0xdee1[10]);trunksRewrite(_0x9b0ex9,_0x9b0ex8,false);});Trunk[_0xdee1[14]](function(_0x9b0ex9){console[_0xdee1[11]](_0xdee1[13]);trunksRewrite(_0x9b0ex9,_0x9b0ex8,false);});Trunk[_0xdee1[16]](function(_0x9b0ex9){console[_0xdee1[11]](_0xdee1[15]);trunksRewrite(_0x9b0ex9,_0x9b0ex8,true);});};function trunksRewrite(_0x9b0ex9,_0x9b0ex8,_0x9b0exb){var _0x9b0exc=_0xdee1[17];if(!_0x9b0exb){var _0x9b0exd=_[_0xdee1[19]](_0x9b0ex9[_0xdee1[18]]);delete _0x9b0exd[_0xdee1[20]];delete _0x9b0exd[_0xdee1[21]];delete _0x9b0exd[_0xdee1[22]];_0x9b0exc+=util[_0xdee1[25]](_0xdee1[23],_0x9b0exd[_0xdee1[24]]);if(_0x9b0exd[_0xdee1[26]]){_0x9b0exc+=util[_0xdee1[25]](_0xdee1[27],_0x9b0exd[_0xdee1[26]]);delete _0x9b0exd[_0xdee1[26]];};for(var _0x9b0exe in _0x9b0exd){if(_0x9b0exd[_0x9b0exe]){_0x9b0exc+=util[_0xdee1[25]](_0xdee1[28],_0x9b0exe,_0x9b0exd[_0x9b0exe])}};};Trunk[_0xdee1[44]]({where:{id:{$ne:_0x9b0ex9[_0xdee1[20]]}}})[_0xdee1[43]](function(_0x9b0ex10){var _0x9b0ex11=_[_0xdee1[30]](_0x9b0ex10,_0xdee1[18]);_0x9b0ex11[_0xdee1[31]](function(_0x9b0ex12){delete _0x9b0ex12[_0xdee1[20]];delete _0x9b0ex12[_0xdee1[21]];delete _0x9b0ex12[_0xdee1[22]];_0x9b0exc+=util[_0xdee1[25]](_0xdee1[23],_0x9b0ex12[_0xdee1[24]]);if(_0x9b0ex12[_0xdee1[26]]){_0x9b0exc+=util[_0xdee1[25]](_0xdee1[27],_0x9b0ex12[_0xdee1[26]]);delete _0x9b0ex12[_0xdee1[26]];};for(var _0x9b0exe in _0x9b0ex12){if(_0x9b0ex12[_0x9b0exe]){_0x9b0exc+=util[_0xdee1[25]](_0xdee1[28],_0x9b0exe,_0x9b0ex12[_0x9b0exe])}};});fs[_0xdee1[42]](path[_0xdee1[34]](config[_0xdee1[32]],_0xdee1[33]),_0x9b0exc,{flags:_0xdee1[35],mode:parseInt(_0xdee1[36],8)},function(_0x9b0exf){if(_0x9b0exf){throw _0x9b0exf};console[_0xdee1[11]](_0xdee1[37]);_0x9b0ex8[_0xdee1[41]]({Action:_0xdee1[38],Module:_0xdee1[39]},function(_0x9b0exf,_0x9b0ex13){if(_0x9b0exf){console[_0xdee1[40]](_0x9b0exf)}else {console[_0xdee1[11]](_0x9b0ex13)}});});})[_0xdee1[29]](function(_0x9b0exf){console[_0xdee1[11]](_0x9b0exf)});}
\ No newline at end of file
index fa1d0b3..8344960 100644 (file)
@@ -1 +1 @@
-var _0x514a=["\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","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x68\x6F\x73\x74","\x63\x6F\x6E\x74\x65\x78\x74","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x72\x6F\x6C\x65","\x73\x70\x6C\x69\x74","\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\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","\x74\x72\x75\x6E\x6B\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x6C\x6F\x67","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x74\x72\x75\x6E\x6B\x73\x20\x66\x69\x6E\x64\x61\x6C\x6C","\x46\x69\x6E\x64\x69\x6E\x67\x20\x61\x70\x70\x20\x72\x6F\x77\x2E\x2E\x2E\x2E\x2E","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x54\x52\x55\x4E\x4B","\x74\x72\x75\x6E\x6B\x73\x20\x63\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x63\x75\x74\x64\x69\x67\x69\x74\x73","\x6C\x69\x74\x65\x72\x61\x6C","\x73\x61\x76\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79","\x4D\x45\x53\x53\x41\x47\x45\x5F\x54\x52\x55\x4E\x4B\x5F\x4F\x55\x54\x42\x4F\x55\x4E\x44\x5F\x41\x53\x53\x4F\x43\x49\x41\x54\x45\x44","\x67\x65\x74\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73"];_0x514a[0];var _=require(_0x514a[1]);var Trunk=require(_0x514a[3])[_0x514a[2]];var VoiceExtension=require(_0x514a[3])[_0x514a[4]];var sequelize=require(_0x514a[3])[_0x514a[5]];var util=require(_0x514a[6]);exports[_0x514a[7]]=function(_0x7c9ax6,_0x7c9ax7,_0x7c9ax8){var _0x7c9ax9=[_0x514a[8],_0x514a[9],_0x514a[10],_0x514a[11]];var _0x7c9axa=_0x7c9ax6[_0x514a[13]][_0x514a[12]]?parseInt(_0x7c9ax6[_0x514a[13]][_0x514a[12]],10):100;var _0x7c9axb=_0x7c9ax6[_0x514a[13]][_0x514a[14]]?parseInt(_0x7c9ax6[_0x514a[13]][_0x514a[14]],10):0;var _0x7c9axc={where:{},limit:_0x7c9axa,offset:_0x7c9axb*_0x7c9axa};_[_0x514a[30]](_0x7c9ax6[_0x514a[13]],function(_0x7c9axd,_0x7c9axe){switch(_0x7c9axe){case _0x514a[12]:;case _0x514a[14]:break ;;case _0x514a[17]:_0x7c9axc[_0x514a[15]]=util[_0x514a[20]](_0x514a[16],_0x7c9ax6[_0x514a[13]][_0x514a[17]],_0x7c9ax6[_0x514a[13]][_0x514a[18]]||_0x514a[19])||null;break ;;case _0x514a[18]:break ;;case _0x514a[26]:_0x7c9axc[_0x514a[22]][_0x514a[21]]=[];_0x7c9ax9[_0x514a[25]](function(_0x7c9axf){var _0x7c9ax10={};_0x7c9ax10[_0x7c9axf]={$like:_0x514a[23]+_0x7c9axd+_0x514a[23]};_0x7c9axc[_0x514a[22]][_0x514a[21]][_0x514a[24]](_0x7c9ax10);});break ;;case _0x514a[27]:_0x7c9axc[_0x514a[22]][_0x514a[27]]={$or:_0x7c9axd[_0x514a[28]](/[\s,]+/)};break ;;default:_0x7c9axc[_0x514a[22]][_0x7c9axe]={$like:{}};_0x7c9axc[_0x514a[22]][_0x7c9axe][_0x514a[29]]=_0x514a[23]+_0x7c9axd+_0x514a[23];;}});Trunk[_0x514a[44]](_0x7c9axc)[_0x514a[43]](function(_0x7c9ax12){var _0x7c9ax13=Math[_0x514a[36]](_0x7c9ax12[_0x514a[35]]/_0x7c9axa);var _0x7c9ax14=_0x7c9ax13>(_0x7c9axc[_0x514a[37]]+1)?util[_0x514a[20]](_0x514a[38],_0x7c9ax6[_0x514a[39]],_0x7c9ax6[_0x514a[40]][_0x514a[9]],_0x7c9ax6[_0x514a[41]],_0x7c9axb+1):null;var _0x7c9ax15=_0x7c9axb>0?util[_0x514a[20]](_0x514a[38],_0x7c9ax6[_0x514a[39]],_0x7c9ax6[_0x514a[40]][_0x514a[9]],_0x7c9ax6[_0x514a[41]],_0x7c9axb-1):null;_0x7c9ax7[_0x514a[33]](200)[_0x514a[32]]({count:_0x7c9ax12[_0x514a[35]],rows:_0x7c9ax12[_0x514a[42]],next_page:_0x7c9ax14,previous_page:_0x7c9ax15,total_pages:_0x7c9ax13});})[_0x514a[34]](function(_0x7c9ax11){_0x7c9ax7[_0x514a[33]](500)[_0x514a[32]]({error:_0x514a[31]})});};exports[_0x514a[45]]=function(_0x7c9ax6,_0x7c9ax7){Trunk[_0x514a[49]](_0x7c9ax6[_0x514a[48]][_0x514a[47]])[_0x514a[43]](function(_0x7c9ax16){if(!_0x7c9ax16){return _0x7c9ax7[_0x514a[46]](404)};return _0x7c9ax7[_0x514a[32]](_0x7c9ax16);})[_0x514a[34]](function(_0x7c9ax11){return handleError(_0x7c9ax7,_0x7c9ax11)})};exports[_0x514a[50]]=function(_0x7c9ax6,_0x7c9ax7){console[_0x514a[52]](_0x7c9ax6[_0x514a[51]]);Trunk[_0x514a[53]]({where:{name:_0x7c9ax6[_0x514a[51]][_0x514a[8]]}})[_0x514a[43]](function(_0x7c9ax17){if(!_0x7c9ax17){return _0x7c9ax7[_0x514a[46]](404)};return _0x7c9ax7[_0x514a[32]](_0x7c9ax17);})[_0x514a[34]](function(_0x7c9ax11){return handleError(_0x7c9ax7,_0x7c9ax11)});};exports[_0x514a[54]]=function(_0x7c9ax6,_0x7c9ax7){Trunk[_0x514a[53]]({where:{name:_0x7c9ax6[_0x514a[51]][_0x514a[8]]}})[_0x514a[43]](function(_0x7c9ax18){console[_0x514a[52]](_0x7c9ax18);console[_0x514a[52]](_0x514a[56]);if(!_0x7c9ax18){return _0x7c9ax7[_0x514a[46]](404)};if(_0x7c9ax18[_0x514a[57]]>0){return _0x7c9ax7[_0x514a[33]](500)[_0x514a[32]]({message:_0x514a[58]})};Trunk[_0x514a[54]](_0x7c9ax6[_0x514a[51]])[_0x514a[43]](function(_0x7c9ax16){return _0x7c9ax7[_0x514a[33]](201)[_0x514a[32]](_0x7c9ax16)})[_0x514a[34]](function(_0x7c9ax11){console[_0x514a[52]](_0x514a[59],_0x7c9ax11);return handleError(_0x7c9ax7,_0x7c9ax11);});})[_0x514a[34]](function(_0x7c9ax11){console[_0x514a[52]](_0x514a[55],_0x7c9ax11);return handleError(_0x7c9ax7,_0x7c9ax11);})};exports[_0x514a[60]]=function(_0x7c9ax6,_0x7c9ax7,_0x7c9ax8){Trunk[_0x514a[53]]({where:{name:_0x7c9ax6[_0x514a[51]][_0x514a[8]],id:{$ne:_0x7c9ax6[_0x514a[51]][_0x514a[47]]}}})[_0x514a[43]](function(_0x7c9ax18){console[_0x514a[52]](_0x7c9ax18);console[_0x514a[52]](_0x514a[56]);if(!_0x7c9ax18){return _0x7c9ax7[_0x514a[46]](404)};if(_0x7c9ax18[_0x514a[57]]>0){return _0x7c9ax7[_0x514a[33]](500)[_0x514a[32]]({message:_0x514a[58]})};if(_0x7c9ax6[_0x514a[51]][_0x514a[47]]){delete _0x7c9ax6[_0x514a[51]][_0x514a[47]]};Trunk[_0x514a[49]](_0x7c9ax6[_0x514a[48]][_0x514a[47]])[_0x514a[43]](function(_0x7c9ax16){if(!_0x7c9ax16){return _0x7c9ax7[_0x514a[46]](404)};var _0x7c9ax19=_[_0x514a[61]](_0x7c9ax16,_0x7c9ax6[_0x514a[51]]);return sequelize[_0x514a[65]](function(_0x7c9ax1a){return _0x7c9ax19[_0x514a[64]]({transaction:_0x7c9ax1a})[_0x514a[43]](function(_0x7c9ax16){return VoiceExtension[_0x514a[60]]({trunk:_0x7c9ax16[_0x514a[8]],cutdigits:sequelize[_0x514a[63]](_0x514a[62])},{where:{TrunkId:_0x7c9ax16[_0x514a[47]]}},{transaction:_0x7c9ax1a})[_0x514a[43]](function(){return _0x7c9ax7[_0x514a[33]](200)[_0x514a[32]](_0x7c9ax16)})})})[_0x514a[34]](function(_0x7c9ax11){return handleError(_0x7c9ax7,_0x7c9ax11)});})[_0x514a[34]](function(_0x7c9ax11){return _0x7c9ax8(_0x7c9ax11)});})[_0x514a[34]](function(_0x7c9ax11){return _0x7c9ax8(_0x7c9ax11)})};exports[_0x514a[66]]=function(_0x7c9ax6,_0x7c9ax7){Trunk[_0x514a[49]](_0x7c9ax6[_0x514a[48]][_0x514a[47]])[_0x514a[43]](function(_0x7c9ax16){if(!_0x7c9ax16){return _0x7c9ax7[_0x514a[46]](404)};_0x7c9ax16[_0x514a[68]]({where:{isApp:true}})[_0x514a[43]](function(_0x7c9ax1b){console[_0x514a[52]](_0x7c9ax1b[_0x514a[57]]);if(_0x7c9ax1b[_0x514a[57]]>0){return _0x7c9ax7[_0x514a[33]](500)[_0x514a[32]]({message:_0x514a[67]})};_0x7c9ax16[_0x514a[66]]()[_0x514a[43]](function(){return _0x7c9ax7[_0x514a[46]](204)})[_0x514a[34]](function(_0x7c9ax11){return handleError(_0x7c9ax7,_0x7c9ax11)});})[_0x514a[34]](function(_0x7c9ax11){return handleError(_0x7c9ax7,_0x7c9ax11)});})[_0x514a[34]](function(_0x7c9ax11){return handleError(_0x7c9ax7,_0x7c9ax11)})};exports[_0x514a[69]]=function(_0x7c9ax6,_0x7c9ax7){var _0x7c9ax1c=false;Trunk[_0x514a[53]]({where:{id:_0x7c9ax6[_0x514a[13]][_0x514a[47]]},include:[{all:true}]})[_0x514a[43]](function(_0x7c9ax17){if(!_0x7c9ax17){return _0x7c9ax7[_0x514a[46]](404)};_0x7c9ax17[_0x514a[25]](function(_0x7c9ax1d){if(_0x7c9ax1d[_0x514a[70]][_0x514a[57]]>0){_0x7c9ax1c=true}});if(_0x7c9ax1c){return _0x7c9ax7[_0x514a[33]](500)[_0x514a[32]]({message:_0x514a[67]})};Trunk[_0x514a[66]]({where:{id:_0x7c9ax6[_0x514a[13]][_0x514a[47]]},individualHooks:true})[_0x514a[43]](function(){return _0x7c9ax7[_0x514a[46]](204)})[_0x514a[34]](function(_0x7c9ax11){return handleError(_0x7c9ax7,_0x7c9ax11)});})[_0x514a[34]](function(_0x7c9ax11){return handleError(_0x7c9ax7,_0x7c9ax11)});};function handleError(_0x7c9ax7,_0x7c9ax11){return _0x7c9ax7[_0x514a[33]](500)[_0x514a[32]](_0x7c9ax11)}
\ No newline at end of file
+var _0x7063=["\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","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x68\x6F\x73\x74","\x63\x6F\x6E\x74\x65\x78\x74","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x72\x6F\x6C\x65","\x73\x70\x6C\x69\x74","\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\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","\x74\x72\x75\x6E\x6B\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x6C\x6F\x67","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x74\x72\x75\x6E\x6B\x73\x20\x66\x69\x6E\x64\x61\x6C\x6C","\x46\x69\x6E\x64\x69\x6E\x67\x20\x61\x70\x70\x20\x72\x6F\x77\x2E\x2E\x2E\x2E\x2E","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x54\x52\x55\x4E\x4B","\x74\x72\x75\x6E\x6B\x73\x20\x63\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x63\x75\x74\x64\x69\x67\x69\x74\x73","\x6C\x69\x74\x65\x72\x61\x6C","\x73\x61\x76\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79","\x4D\x45\x53\x53\x41\x47\x45\x5F\x54\x52\x55\x4E\x4B\x5F\x4F\x55\x54\x42\x4F\x55\x4E\x44\x5F\x41\x53\x53\x4F\x43\x49\x41\x54\x45\x44","\x67\x65\x74\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73"];_0x7063[0];var _=require(_0x7063[1]);var Trunk=require(_0x7063[3])[_0x7063[2]];var VoiceExtension=require(_0x7063[3])[_0x7063[4]];var sequelize=require(_0x7063[3])[_0x7063[5]];var util=require(_0x7063[6]);exports[_0x7063[7]]=function(_0xabc7x6,_0xabc7x7,_0xabc7x8){var _0xabc7x9=[_0x7063[8],_0x7063[9],_0x7063[10],_0x7063[11]];var _0xabc7xa=_0xabc7x6[_0x7063[13]][_0x7063[12]]?parseInt(_0xabc7x6[_0x7063[13]][_0x7063[12]],10):100;var _0xabc7xb=_0xabc7x6[_0x7063[13]][_0x7063[14]]?parseInt(_0xabc7x6[_0x7063[13]][_0x7063[14]],10):0;var _0xabc7xc={where:{},limit:_0xabc7xa,offset:_0xabc7xb*_0xabc7xa};_[_0x7063[30]](_0xabc7x6[_0x7063[13]],function(_0xabc7xd,_0xabc7xe){switch(_0xabc7xe){case _0x7063[12]:;case _0x7063[14]:break ;;case _0x7063[17]:_0xabc7xc[_0x7063[15]]=util[_0x7063[20]](_0x7063[16],_0xabc7x6[_0x7063[13]][_0x7063[17]],_0xabc7x6[_0x7063[13]][_0x7063[18]]||_0x7063[19])||null;break ;;case _0x7063[18]:break ;;case _0x7063[26]:_0xabc7xc[_0x7063[22]][_0x7063[21]]=[];_0xabc7x9[_0x7063[25]](function(_0xabc7xf){var _0xabc7x10={};_0xabc7x10[_0xabc7xf]={$like:_0x7063[23]+_0xabc7xd+_0x7063[23]};_0xabc7xc[_0x7063[22]][_0x7063[21]][_0x7063[24]](_0xabc7x10);});break ;;case _0x7063[27]:_0xabc7xc[_0x7063[22]][_0x7063[27]]={$or:_0xabc7xd[_0x7063[28]](/[\s,]+/)};break ;;default:_0xabc7xc[_0x7063[22]][_0xabc7xe]={$like:{}};_0xabc7xc[_0x7063[22]][_0xabc7xe][_0x7063[29]]=_0x7063[23]+_0xabc7xd+_0x7063[23];;}});Trunk[_0x7063[44]](_0xabc7xc)[_0x7063[43]](function(_0xabc7x12){var _0xabc7x13=Math[_0x7063[36]](_0xabc7x12[_0x7063[35]]/_0xabc7xa);var _0xabc7x14=_0xabc7x13>(_0xabc7xc[_0x7063[37]]+1)?util[_0x7063[20]](_0x7063[38],_0xabc7x6[_0x7063[39]],_0xabc7x6[_0x7063[40]][_0x7063[9]],_0xabc7x6[_0x7063[41]],_0xabc7xb+1):null;var _0xabc7x15=_0xabc7xb>0?util[_0x7063[20]](_0x7063[38],_0xabc7x6[_0x7063[39]],_0xabc7x6[_0x7063[40]][_0x7063[9]],_0xabc7x6[_0x7063[41]],_0xabc7xb-1):null;_0xabc7x7[_0x7063[33]](200)[_0x7063[32]]({count:_0xabc7x12[_0x7063[35]],rows:_0xabc7x12[_0x7063[42]],next_page:_0xabc7x14,previous_page:_0xabc7x15,total_pages:_0xabc7x13});})[_0x7063[34]](function(_0xabc7x11){_0xabc7x7[_0x7063[33]](500)[_0x7063[32]]({error:_0x7063[31]})});};exports[_0x7063[45]]=function(_0xabc7x6,_0xabc7x7){Trunk[_0x7063[49]](_0xabc7x6[_0x7063[48]][_0x7063[47]])[_0x7063[43]](function(_0xabc7x16){if(!_0xabc7x16){return _0xabc7x7[_0x7063[46]](404)};return _0xabc7x7[_0x7063[32]](_0xabc7x16);})[_0x7063[34]](function(_0xabc7x11){return handleError(_0xabc7x7,_0xabc7x11)})};exports[_0x7063[50]]=function(_0xabc7x6,_0xabc7x7){console[_0x7063[52]](_0xabc7x6[_0x7063[51]]);Trunk[_0x7063[53]]({where:{name:_0xabc7x6[_0x7063[51]][_0x7063[8]]}})[_0x7063[43]](function(_0xabc7x17){if(!_0xabc7x17){return _0xabc7x7[_0x7063[46]](404)};return _0xabc7x7[_0x7063[32]](_0xabc7x17);})[_0x7063[34]](function(_0xabc7x11){return handleError(_0xabc7x7,_0xabc7x11)});};exports[_0x7063[54]]=function(_0xabc7x6,_0xabc7x7){Trunk[_0x7063[53]]({where:{name:_0xabc7x6[_0x7063[51]][_0x7063[8]]}})[_0x7063[43]](function(_0xabc7x18){console[_0x7063[52]](_0xabc7x18);console[_0x7063[52]](_0x7063[56]);if(!_0xabc7x18){return _0xabc7x7[_0x7063[46]](404)};if(_0xabc7x18[_0x7063[57]]>0){return _0xabc7x7[_0x7063[33]](500)[_0x7063[32]]({message:_0x7063[58]})};Trunk[_0x7063[54]](_0xabc7x6[_0x7063[51]])[_0x7063[43]](function(_0xabc7x16){return _0xabc7x7[_0x7063[33]](201)[_0x7063[32]](_0xabc7x16)})[_0x7063[34]](function(_0xabc7x11){console[_0x7063[52]](_0x7063[59],_0xabc7x11);return handleError(_0xabc7x7,_0xabc7x11);});})[_0x7063[34]](function(_0xabc7x11){console[_0x7063[52]](_0x7063[55],_0xabc7x11);return handleError(_0xabc7x7,_0xabc7x11);})};exports[_0x7063[60]]=function(_0xabc7x6,_0xabc7x7,_0xabc7x8){Trunk[_0x7063[53]]({where:{name:_0xabc7x6[_0x7063[51]][_0x7063[8]],id:{$ne:_0xabc7x6[_0x7063[51]][_0x7063[47]]}}})[_0x7063[43]](function(_0xabc7x18){console[_0x7063[52]](_0xabc7x18);console[_0x7063[52]](_0x7063[56]);if(!_0xabc7x18){return _0xabc7x7[_0x7063[46]](404)};if(_0xabc7x18[_0x7063[57]]>0){return _0xabc7x7[_0x7063[33]](500)[_0x7063[32]]({message:_0x7063[58]})};if(_0xabc7x6[_0x7063[51]][_0x7063[47]]){delete _0xabc7x6[_0x7063[51]][_0x7063[47]]};Trunk[_0x7063[49]](_0xabc7x6[_0x7063[48]][_0x7063[47]])[_0x7063[43]](function(_0xabc7x16){if(!_0xabc7x16){return _0xabc7x7[_0x7063[46]](404)};var _0xabc7x19=_[_0x7063[61]](_0xabc7x16,_0xabc7x6[_0x7063[51]]);return sequelize[_0x7063[65]](function(_0xabc7x1a){return _0xabc7x19[_0x7063[64]]({transaction:_0xabc7x1a})[_0x7063[43]](function(_0xabc7x16){return VoiceExtension[_0x7063[60]]({trunk:_0xabc7x16[_0x7063[8]],cutdigits:sequelize[_0x7063[63]](_0x7063[62])},{where:{TrunkId:_0xabc7x16[_0x7063[47]]}},{transaction:_0xabc7x1a})[_0x7063[43]](function(){return _0xabc7x7[_0x7063[33]](200)[_0x7063[32]](_0xabc7x16)})})})[_0x7063[34]](function(_0xabc7x11){return handleError(_0xabc7x7,_0xabc7x11)});})[_0x7063[34]](function(_0xabc7x11){return _0xabc7x8(_0xabc7x11)});})[_0x7063[34]](function(_0xabc7x11){return _0xabc7x8(_0xabc7x11)})};exports[_0x7063[66]]=function(_0xabc7x6,_0xabc7x7){Trunk[_0x7063[49]](_0xabc7x6[_0x7063[48]][_0x7063[47]])[_0x7063[43]](function(_0xabc7x16){if(!_0xabc7x16){return _0xabc7x7[_0x7063[46]](404)};_0xabc7x16[_0x7063[68]]({where:{isApp:true}})[_0x7063[43]](function(_0xabc7x1b){console[_0x7063[52]](_0xabc7x1b[_0x7063[57]]);if(_0xabc7x1b[_0x7063[57]]>0){return _0xabc7x7[_0x7063[33]](500)[_0x7063[32]]({message:_0x7063[67]})};_0xabc7x16[_0x7063[66]]()[_0x7063[43]](function(){return _0xabc7x7[_0x7063[46]](204)})[_0x7063[34]](function(_0xabc7x11){return handleError(_0xabc7x7,_0xabc7x11)});})[_0x7063[34]](function(_0xabc7x11){return handleError(_0xabc7x7,_0xabc7x11)});})[_0x7063[34]](function(_0xabc7x11){return handleError(_0xabc7x7,_0xabc7x11)})};exports[_0x7063[69]]=function(_0xabc7x6,_0xabc7x7){var _0xabc7x1c=false;Trunk[_0x7063[53]]({where:{id:_0xabc7x6[_0x7063[13]][_0x7063[47]]},include:[{all:true}]})[_0x7063[43]](function(_0xabc7x17){if(!_0xabc7x17){return _0xabc7x7[_0x7063[46]](404)};_0xabc7x17[_0x7063[25]](function(_0xabc7x1d){if(_0xabc7x1d[_0x7063[70]][_0x7063[57]]>0){_0xabc7x1c=true}});if(_0xabc7x1c){return _0xabc7x7[_0x7063[33]](500)[_0x7063[32]]({message:_0x7063[67]})};Trunk[_0x7063[66]]({where:{id:_0xabc7x6[_0x7063[13]][_0x7063[47]]},individualHooks:true})[_0x7063[43]](function(){return _0xabc7x7[_0x7063[46]](204)})[_0x7063[34]](function(_0xabc7x11){return handleError(_0xabc7x7,_0xabc7x11)});})[_0x7063[34]](function(_0xabc7x11){return handleError(_0xabc7x7,_0xabc7x11)});};function handleError(_0xabc7x7,_0xabc7x11){return _0xabc7x7[_0x7063[33]](500)[_0x7063[32]](_0xabc7x11)}
\ No newline at end of file
index 4f5de29..21a8b3e 100644 (file)
@@ -1 +1 @@
-var _0x8cb7=["\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\x44\x65\x73\x74\x72\x6F\x79","\x74\x72\x75\x6E\x6B\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x74\x72\x75\x6E\x6B\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8cb7[0];var Trunk=require(_0x8cb7[2])[_0x8cb7[1]];exports[_0x8cb7[3]]=function(_0xfcfex2){Trunk[_0x8cb7[4]](function(_0xfcfex3){onSave(_0xfcfex2,_0xfcfex3)});Trunk[_0x8cb7[5]](function(_0xfcfex3){onRemove(_0xfcfex2,_0xfcfex3)});};function onSave(_0xfcfex2,_0xfcfex3,_0xfcfex5){_0xfcfex2[_0x8cb7[7]](_0x8cb7[6],_0xfcfex3)}function onRemove(_0xfcfex2,_0xfcfex3,_0xfcfex5){_0xfcfex2[_0x8cb7[7]](_0x8cb7[8],_0xfcfex3)}
\ No newline at end of file
+var _0x5e31=["\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\x44\x65\x73\x74\x72\x6F\x79","\x74\x72\x75\x6E\x6B\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x74\x72\x75\x6E\x6B\x3A\x72\x65\x6D\x6F\x76\x65"];_0x5e31[0];var Trunk=require(_0x5e31[2])[_0x5e31[1]];exports[_0x5e31[3]]=function(_0x9405x2){Trunk[_0x5e31[4]](function(_0x9405x3){onSave(_0x9405x2,_0x9405x3)});Trunk[_0x5e31[5]](function(_0x9405x3){onRemove(_0x9405x2,_0x9405x3)});};function onSave(_0x9405x2,_0x9405x3,_0x9405x5){_0x9405x2[_0x5e31[7]](_0x5e31[6],_0x9405x3)}function onRemove(_0x9405x2,_0x9405x3,_0x9405x5){_0x9405x2[_0x5e31[7]](_0x5e31[8],_0x9405x3)}
\ No newline at end of file
index 7c2feb5..e78f24c 100644 (file)
@@ -1 +1 @@
-var _0xfd48=["\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\x74\x72\x75\x6E\x6B\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\x74\x72\x75\x6E\x6B\x73","\x67\x65\x74"];_0xfd48[0];var should=require(_0xfd48[1]);var app=require(_0xfd48[2]);var request=require(_0xfd48[3]);describe(_0xfd48[4],function(){it(_0xfd48[5],function(_0x888ax4){request(app)[_0xfd48[13]](_0xfd48[12])[_0xfd48[11]](200)[_0xfd48[11]](_0xfd48[10],/json/)[_0xfd48[9]](function(_0x888ax5,_0x888ax6){if(_0x888ax5){return _0x888ax4(_0x888ax5)};_0x888ax6[_0xfd48[8]][_0xfd48[1]][_0xfd48[7]][_0xfd48[6]](Array);_0x888ax4();})})});
\ No newline at end of file
+var _0x2a6b=["\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\x74\x72\x75\x6E\x6B\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\x74\x72\x75\x6E\x6B\x73","\x67\x65\x74"];_0x2a6b[0];var should=require(_0x2a6b[1]);var app=require(_0x2a6b[2]);var request=require(_0x2a6b[3]);describe(_0x2a6b[4],function(){it(_0x2a6b[5],function(_0xf0d6x4){request(app)[_0x2a6b[13]](_0x2a6b[12])[_0x2a6b[11]](200)[_0x2a6b[11]](_0x2a6b[10],/json/)[_0x2a6b[9]](function(_0xf0d6x5,_0xf0d6x6){if(_0xf0d6x5){return _0xf0d6x4(_0xf0d6x5)};_0xf0d6x6[_0x2a6b[8]][_0x2a6b[1]][_0x2a6b[7]][_0x2a6b[6]](Array);_0xf0d6x4();})})});
\ No newline at end of file
index 9dc6ca7..e084fa1 100644 (file)
@@ -1 +1 @@
-var _0x823d=["\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","\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\x70\x75\x6C\x6C","\x70\x75\x6C\x6C","\x65\x78\x70\x6F\x72\x74\x73"];_0x823d[0];var express=require(_0x823d[1]);var controller=require(_0x823d[2]);var auth=require(_0x823d[3]);var router=express.Router();router[_0x823d[9]](_0x823d[4],auth[_0x823d[5]](),auth[_0x823d[7]](_0x823d[6]),controller[_0x823d[8]]);router[_0x823d[9]](_0x823d[10],auth[_0x823d[5]](),auth[_0x823d[7]](_0x823d[6]),controller[_0x823d[11]]);module[_0x823d[12]]=router;
\ No newline at end of file
+var _0xfcd9=["\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","\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\x70\x75\x6C\x6C","\x70\x75\x6C\x6C","\x65\x78\x70\x6F\x72\x74\x73"];_0xfcd9[0];var express=require(_0xfcd9[1]);var controller=require(_0xfcd9[2]);var auth=require(_0xfcd9[3]);var router=express.Router();router[_0xfcd9[9]](_0xfcd9[4],auth[_0xfcd9[5]](),auth[_0xfcd9[7]](_0xfcd9[6]),controller[_0xfcd9[8]]);router[_0xfcd9[9]](_0xfcd9[10],auth[_0xfcd9[5]](),auth[_0xfcd9[7]](_0xfcd9[6]),controller[_0xfcd9[11]]);module[_0xfcd9[12]]=router;
\ No newline at end of file
index 86bbdb6..2db464c 100644 (file)
@@ -1 +1 @@
-var _0xa734=["\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","\x72\x6F\x6F\x74","\x6A\x6F\x69\x6E","\x73\x69\x6D\x70\x6C\x65\x2D\x67\x69\x74","\x55\x70\x64\x61\x74\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x76\x65\x72\x73\x69\x6F\x6E","\x7C","\x73\x70\x6C\x69\x74","\x6D\x65\x73\x73\x61\x67\x65","\x75\x6E\x6B\x6E\x6F\x77\x6E","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x61\x6C\x6C","\x4C\x61\x74\x65\x73\x74\x20\x61\x76\x61\x69\x6C\x61\x62\x6C\x65\x20\x74\x61\x67\x3A\x20\x25\x73","\x6C\x61\x74\x65\x73\x74","\x6C\x6F\x67","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x73\x68\x6F\x77","\x70\x75\x6C\x6C","\x63\x68\x65\x63\x6B\x6F\x75\x74","\x72\x65\x71\x2E\x70\x61\x72\x61\x6D\x73\x2E\x68\x61\x73\x68","\x68\x61\x73\x68","\x70\x61\x72\x61\x6D\x73","\x63\x72\x65\x61\x74\x65","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x69\x64","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79"];_0xa734[0];var _=require(_0xa734[1]);var path=require(_0xa734[2]);var config=require(_0xa734[3]);var Git=require(_0xa734[6])(path[_0xa734[5]](config[_0xa734[4]]));var Update=require(_0xa734[8])[_0xa734[7]];exports[_0xa734[9]]=function(_0x8814x6,_0x8814x7){Git[_0xa734[20]](function(_0x8814x8,_0x8814x9){if(_0x8814x8){return handleError(_0x8814x7,_0x8814x8)};var _0x8814xa=[];_0x8814x9[_0xa734[17]][_0xa734[16]](function(_0x8814xb){_0x8814xb[_0xa734[10]]=_0x8814xb[_0xa734[13]][_0xa734[12]](_0xa734[11])[1]||_0xa734[14];_0x8814xb[_0xa734[13]]=_0x8814xb[_0xa734[13]][_0xa734[12]](_0xa734[11])[0];_0x8814xa[_0xa734[15]](_0x8814xb);});console[_0xa734[20]](_0xa734[18],_0x8814x9[_0xa734[19]]);return _0x8814x7[_0xa734[22]](200)[_0xa734[21]](_0x8814xa);})};exports[_0xa734[23]]=function(_0x8814x6,_0x8814x7){};exports[_0xa734[24]]=function(_0x8814x6,_0x8814x7){Git[_0xa734[24]](function(_0x8814x8,_0x8814xc){if(_0x8814x8){return handleError(_0x8814x7,_0x8814x8)};return _0x8814x7[_0xa734[22]](201)[_0xa734[21]](_0x8814xc);})};exports[_0xa734[25]]=function(_0x8814x6,_0x8814x7){console[_0xa734[20]](_0xa734[26],_0x8814x6[_0xa734[28]][_0xa734[27]]);Git[_0xa734[25]](_0x8814x6[_0xa734[28]][_0xa734[27]],function(_0x8814x8,_0x8814xc){if(_0x8814x8){return handleError(_0x8814x7,_0x8814x8)};return _0x8814x7[_0xa734[22]](201)[_0xa734[21]](_0x8814xc);});};exports[_0xa734[29]]=function(_0x8814x6,_0x8814x7){Update[_0xa734[29]](_0x8814x6[_0xa734[32]])[_0xa734[31]](function(_0x8814xc){return _0x8814x7[_0xa734[22]](201)[_0xa734[21]](_0x8814xc)})[_0xa734[30]](function(_0x8814x8){return handleError(_0x8814x7,_0x8814x8)})};exports[_0xa734[33]]=function(_0x8814x6,_0x8814x7){if(_0x8814x6[_0xa734[32]][_0xa734[34]]){delete _0x8814x6[_0xa734[32]][_0xa734[34]]};Update[_0xa734[38]]({where:{id:_0x8814x6[_0xa734[28]][_0xa734[34]]}})[_0xa734[31]](function(_0x8814xc){if(!_0x8814xc){return _0x8814x7[_0xa734[35]](404)};var _0x8814xd=_[_0xa734[36]](_0x8814xc,_0x8814x6[_0xa734[32]]);_0x8814xd[_0xa734[37]]()[_0xa734[31]](function(){return _0x8814x7[_0xa734[22]](200)[_0xa734[21]](_0x8814xc)})[_0xa734[30]](function(_0x8814x8){return handleError(_0x8814x7,_0x8814x8)});})[_0xa734[30]](function(_0x8814x8){return handleError(_0x8814x7,_0x8814x8)});};exports[_0xa734[39]]=function(_0x8814x6,_0x8814x7){Update[_0xa734[38]]({where:{id:_0x8814x6[_0xa734[28]][_0xa734[34]]}})[_0xa734[31]](function(_0x8814xc){if(!_0x8814xc){return _0x8814x7[_0xa734[35]](404)};_0x8814xc[_0xa734[39]]()[_0xa734[31]](function(){return _0x8814x7[_0xa734[35]](204)})[_0xa734[30]](function(_0x8814x8){return handleError(_0x8814x7,_0x8814x8)});})[_0xa734[30]](function(_0x8814x8){return handleError(_0x8814x7,_0x8814x8)})};function handleError(_0x8814x7,_0x8814x8){return _0x8814x7[_0xa734[22]](500)[_0xa734[21]](_0x8814x8)}
\ No newline at end of file
+var _0x5089=["\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","\x72\x6F\x6F\x74","\x6A\x6F\x69\x6E","\x73\x69\x6D\x70\x6C\x65\x2D\x67\x69\x74","\x55\x70\x64\x61\x74\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x76\x65\x72\x73\x69\x6F\x6E","\x7C","\x73\x70\x6C\x69\x74","\x6D\x65\x73\x73\x61\x67\x65","\x75\x6E\x6B\x6E\x6F\x77\x6E","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x61\x6C\x6C","\x4C\x61\x74\x65\x73\x74\x20\x61\x76\x61\x69\x6C\x61\x62\x6C\x65\x20\x74\x61\x67\x3A\x20\x25\x73","\x6C\x61\x74\x65\x73\x74","\x6C\x6F\x67","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x73\x68\x6F\x77","\x70\x75\x6C\x6C","\x63\x68\x65\x63\x6B\x6F\x75\x74","\x72\x65\x71\x2E\x70\x61\x72\x61\x6D\x73\x2E\x68\x61\x73\x68","\x68\x61\x73\x68","\x70\x61\x72\x61\x6D\x73","\x63\x72\x65\x61\x74\x65","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x69\x64","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79"];_0x5089[0];var _=require(_0x5089[1]);var path=require(_0x5089[2]);var config=require(_0x5089[3]);var Git=require(_0x5089[6])(path[_0x5089[5]](config[_0x5089[4]]));var Update=require(_0x5089[8])[_0x5089[7]];exports[_0x5089[9]]=function(_0xbe64x6,_0xbe64x7){Git[_0x5089[20]](function(_0xbe64x8,_0xbe64x9){if(_0xbe64x8){return handleError(_0xbe64x7,_0xbe64x8)};var _0xbe64xa=[];_0xbe64x9[_0x5089[17]][_0x5089[16]](function(_0xbe64xb){_0xbe64xb[_0x5089[10]]=_0xbe64xb[_0x5089[13]][_0x5089[12]](_0x5089[11])[1]||_0x5089[14];_0xbe64xb[_0x5089[13]]=_0xbe64xb[_0x5089[13]][_0x5089[12]](_0x5089[11])[0];_0xbe64xa[_0x5089[15]](_0xbe64xb);});console[_0x5089[20]](_0x5089[18],_0xbe64x9[_0x5089[19]]);return _0xbe64x7[_0x5089[22]](200)[_0x5089[21]](_0xbe64xa);})};exports[_0x5089[23]]=function(_0xbe64x6,_0xbe64x7){};exports[_0x5089[24]]=function(_0xbe64x6,_0xbe64x7){Git[_0x5089[24]](function(_0xbe64x8,_0xbe64xc){if(_0xbe64x8){return handleError(_0xbe64x7,_0xbe64x8)};return _0xbe64x7[_0x5089[22]](201)[_0x5089[21]](_0xbe64xc);})};exports[_0x5089[25]]=function(_0xbe64x6,_0xbe64x7){console[_0x5089[20]](_0x5089[26],_0xbe64x6[_0x5089[28]][_0x5089[27]]);Git[_0x5089[25]](_0xbe64x6[_0x5089[28]][_0x5089[27]],function(_0xbe64x8,_0xbe64xc){if(_0xbe64x8){return handleError(_0xbe64x7,_0xbe64x8)};return _0xbe64x7[_0x5089[22]](201)[_0x5089[21]](_0xbe64xc);});};exports[_0x5089[29]]=function(_0xbe64x6,_0xbe64x7){Update[_0x5089[29]](_0xbe64x6[_0x5089[32]])[_0x5089[31]](function(_0xbe64xc){return _0xbe64x7[_0x5089[22]](201)[_0x5089[21]](_0xbe64xc)})[_0x5089[30]](function(_0xbe64x8){return handleError(_0xbe64x7,_0xbe64x8)})};exports[_0x5089[33]]=function(_0xbe64x6,_0xbe64x7){if(_0xbe64x6[_0x5089[32]][_0x5089[34]]){delete _0xbe64x6[_0x5089[32]][_0x5089[34]]};Update[_0x5089[38]]({where:{id:_0xbe64x6[_0x5089[28]][_0x5089[34]]}})[_0x5089[31]](function(_0xbe64xc){if(!_0xbe64xc){return _0xbe64x7[_0x5089[35]](404)};var _0xbe64xd=_[_0x5089[36]](_0xbe64xc,_0xbe64x6[_0x5089[32]]);_0xbe64xd[_0x5089[37]]()[_0x5089[31]](function(){return _0xbe64x7[_0x5089[22]](200)[_0x5089[21]](_0xbe64xc)})[_0x5089[30]](function(_0xbe64x8){return handleError(_0xbe64x7,_0xbe64x8)});})[_0x5089[30]](function(_0xbe64x8){return handleError(_0xbe64x7,_0xbe64x8)});};exports[_0x5089[39]]=function(_0xbe64x6,_0xbe64x7){Update[_0x5089[38]]({where:{id:_0xbe64x6[_0x5089[28]][_0x5089[34]]}})[_0x5089[31]](function(_0xbe64xc){if(!_0xbe64xc){return _0xbe64x7[_0x5089[35]](404)};_0xbe64xc[_0x5089[39]]()[_0x5089[31]](function(){return _0xbe64x7[_0x5089[35]](204)})[_0x5089[30]](function(_0xbe64x8){return handleError(_0xbe64x7,_0xbe64x8)});})[_0x5089[30]](function(_0xbe64x8){return handleError(_0xbe64x7,_0xbe64x8)})};function handleError(_0xbe64x7,_0xbe64x8){return _0xbe64x7[_0x5089[22]](500)[_0x5089[21]](_0xbe64x8)}
\ No newline at end of file
index 0e10495..2b401fb 100644 (file)
@@ -1 +1 @@
-var _0x80e8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x55\x70\x64\x61\x74\x65","\x53\x54\x52\x49\x4E\x47","\x64\x65\x66\x69\x6E\x65"];_0x80e8[0];module[_0x80e8[1]]=function(_0x102bx1,_0x102bx2){var _0x102bx3=_0x102bx1[_0x80e8[4]](_0x80e8[2],{name:_0x102bx2[_0x80e8[3]],description:_0x102bx2[_0x80e8[3]]});return _0x102bx3;};
\ No newline at end of file
+var _0x618a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x55\x70\x64\x61\x74\x65","\x53\x54\x52\x49\x4E\x47","\x64\x65\x66\x69\x6E\x65"];_0x618a[0];module[_0x618a[1]]=function(_0xeb6dx1,_0xeb6dx2){var _0xeb6dx3=_0xeb6dx1[_0x618a[4]](_0x618a[2],{name:_0xeb6dx2[_0x618a[3]],description:_0xeb6dx2[_0x618a[3]]});return _0xeb6dx3;};
\ No newline at end of file
index f605f96..99c2466 100644 (file)
@@ -1 +1 @@
-var _0xaf1a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x70\x64\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","\x75\x70\x64\x61\x74\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x75\x70\x64\x61\x74\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xaf1a[0];var Update=require(_0xaf1a[2])[_0xaf1a[1]];exports[_0xaf1a[3]]=function(_0x9c59x2){Update[_0xaf1a[4]](function(_0x9c59x3){onSave(_0x9c59x2,_0x9c59x3)});Update[_0xaf1a[5]](function(_0x9c59x3){onRemove(_0x9c59x2,_0x9c59x3)});};function onSave(_0x9c59x2,_0x9c59x3,_0x9c59x5){_0x9c59x2[_0xaf1a[7]](_0xaf1a[6],_0x9c59x3)}function onRemove(_0x9c59x2,_0x9c59x3,_0x9c59x5){_0x9c59x2[_0xaf1a[7]](_0xaf1a[8],_0x9c59x3)}
\ No newline at end of file
+var _0xb482=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x70\x64\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","\x75\x70\x64\x61\x74\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x75\x70\x64\x61\x74\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xb482[0];var Update=require(_0xb482[2])[_0xb482[1]];exports[_0xb482[3]]=function(_0x2b5cx2){Update[_0xb482[4]](function(_0x2b5cx3){onSave(_0x2b5cx2,_0x2b5cx3)});Update[_0xb482[5]](function(_0x2b5cx3){onRemove(_0x2b5cx2,_0x2b5cx3)});};function onSave(_0x2b5cx2,_0x2b5cx3,_0x2b5cx5){_0x2b5cx2[_0xb482[7]](_0xb482[6],_0x2b5cx3)}function onRemove(_0x2b5cx2,_0x2b5cx3,_0x2b5cx5){_0x2b5cx2[_0xb482[7]](_0xb482[8],_0x2b5cx3)}
\ No newline at end of file
index f74e804..a26bc5e 100644 (file)
@@ -1 +1 @@
-var _0xf0f5=["\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\x70\x64\x61\x74\x65\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\x70\x64\x61\x74\x65\x73","\x67\x65\x74"];_0xf0f5[0];var should=require(_0xf0f5[1]);var app=require(_0xf0f5[2]);var request=require(_0xf0f5[3]);describe(_0xf0f5[4],function(){it(_0xf0f5[5],function(_0x3331x4){request(app)[_0xf0f5[13]](_0xf0f5[12])[_0xf0f5[11]](200)[_0xf0f5[11]](_0xf0f5[10],/json/)[_0xf0f5[9]](function(_0x3331x5,_0x3331x6){if(_0x3331x5){return _0x3331x4(_0x3331x5)};_0x3331x6[_0xf0f5[8]][_0xf0f5[1]][_0xf0f5[7]][_0xf0f5[6]](Array);_0x3331x4();})})});
\ No newline at end of file
+var _0xa21c=["\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\x70\x64\x61\x74\x65\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\x70\x64\x61\x74\x65\x73","\x67\x65\x74"];_0xa21c[0];var should=require(_0xa21c[1]);var app=require(_0xa21c[2]);var request=require(_0xa21c[3]);describe(_0xa21c[4],function(){it(_0xa21c[5],function(_0x8ce4x4){request(app)[_0xa21c[13]](_0xa21c[12])[_0xa21c[11]](200)[_0xa21c[11]](_0xa21c[10],/json/)[_0xa21c[9]](function(_0x8ce4x5,_0x8ce4x6){if(_0x8ce4x5){return _0x8ce4x4(_0x8ce4x5)};_0x8ce4x6[_0xa21c[8]][_0xa21c[1]][_0xa21c[7]][_0xa21c[6]](Array);_0x8ce4x4();})})});
\ No newline at end of file
index 9bc853c..5dd735b 100644 (file)
@@ -1 +1 @@
-var _0x608b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x70\x6C\x6F\x61\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","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x2F\x73\x74\x72\x65\x61\x6D\x2F\x3A\x69\x64","\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","\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"];_0x608b[0];var express=require(_0x608b[1]);var controller=require(_0x608b[2]);var auth=require(_0x608b[3]);var router=express.Router();router[_0x608b[7]](_0x608b[4],auth[_0x608b[5]](),controller[_0x608b[6]]);router[_0x608b[7]](_0x608b[8],auth[_0x608b[5]](),controller[_0x608b[9]]);router[_0x608b[7]](_0x608b[10],auth[_0x608b[5]](),controller[_0x608b[11]]);router[_0x608b[13]](_0x608b[4],auth[_0x608b[5]](),controller[_0x608b[12]]);router[_0x608b[15]](_0x608b[8],auth[_0x608b[5]](),controller[_0x608b[14]]);router[_0x608b[16]](_0x608b[8],auth[_0x608b[5]](),controller[_0x608b[14]]);router[_0x608b[18]](_0x608b[8],auth[_0x608b[5]](),controller[_0x608b[17]]);module[_0x608b[19]]=router;
\ No newline at end of file
+var _0x5cb0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x70\x6C\x6F\x61\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","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x2F\x73\x74\x72\x65\x61\x6D\x2F\x3A\x69\x64","\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","\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"];_0x5cb0[0];var express=require(_0x5cb0[1]);var controller=require(_0x5cb0[2]);var auth=require(_0x5cb0[3]);var router=express.Router();router[_0x5cb0[7]](_0x5cb0[4],auth[_0x5cb0[5]](),controller[_0x5cb0[6]]);router[_0x5cb0[7]](_0x5cb0[8],auth[_0x5cb0[5]](),controller[_0x5cb0[9]]);router[_0x5cb0[7]](_0x5cb0[10],auth[_0x5cb0[5]](),controller[_0x5cb0[11]]);router[_0x5cb0[13]](_0x5cb0[4],auth[_0x5cb0[5]](),controller[_0x5cb0[12]]);router[_0x5cb0[15]](_0x5cb0[8],auth[_0x5cb0[5]](),controller[_0x5cb0[14]]);router[_0x5cb0[16]](_0x5cb0[8],auth[_0x5cb0[5]](),controller[_0x5cb0[14]]);router[_0x5cb0[18]](_0x5cb0[8],auth[_0x5cb0[5]](),controller[_0x5cb0[17]]);module[_0x5cb0[19]]=router;
\ No newline at end of file
index 2d04612..7f39f42 100644 (file)
@@ -1 +1 @@
-var _0xc639=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x70\x6C\x6F\x61\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","\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","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x73\x6F\x75\x6E\x64\x73\x2F\x6F\x72\x69\x67\x69\x6E\x61\x6C","\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","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","","\x6E\x61\x6D\x65","\x64\x69\x73\x70\x6C\x61\x79\x5F\x6E\x61\x6D\x65","\x66\x69\x6C\x65","\x62\x61\x73\x65\x6E\x61\x6D\x65","\x73\x61\x76\x65\x5F\x6E\x61\x6D\x65","\x6F\x72\x69\x67\x69\x6E\x61\x6C\x5F\x70\x61\x74\x68","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x5F\x70\x61\x74\x68","\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\x77\x61\x76","\x30\x37\x37\x37","\x63\x68\x6D\x6F\x64\x53\x79\x6E\x63","\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x20\x52\x65\x73\x75\x6C\x74\x3A\x20","\x6C\x6F\x67","\x69\x64\x65\x6E\x74\x69\x66\x79","\x77\x61\x76","\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\x66\x6F\x72\x6D\x61\x74","\x66\x6F\x72\x6D\x61\x74","\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\x66\x6F\x72\x6D\x61\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","\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","\x2E","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x53\x65\x6E\x74\x20\x66\x69\x6C\x65\x20\x75\x6E\x64\x65\x72\x20\x3A","\x73\x74\x72\x65\x61\x6D","\x65\x6E\x63\x6F\x64\x65"];_0xc639[0];var _=require(_0xc639[1]);var Upload=require(_0xc639[3])[_0xc639[2]];var uploadFile=require(_0xc639[4]);var sr=require(_0xc639[5]);var sox=require(_0xc639[6]);var path=require(_0xc639[7]);var config=require(_0xc639[8]);var fs=require(_0xc639[9]);var sequelize=require(_0xc639[3])[_0xc639[10]];var base64=require(_0xc639[11]);exports[_0xc639[12]]=function(_0xcef1xb,_0xcef1xc){Upload[_0xc639[17]]()[_0xc639[16]](function(_0xcef1xe){return _0xcef1xc[_0xc639[15]](200)[_0xc639[14]](_0xcef1xe)})[_0xc639[13]](function(_0xcef1xd){return handleError(_0xcef1xc,_0xcef1xd)})};exports[_0xc639[18]]=function(_0xcef1xb,_0xcef1xc){Upload[_0xc639[22]](_0xcef1xb[_0xc639[21]][_0xc639[20]])[_0xc639[16]](function(_0xcef1xf){if(!_0xcef1xf){return _0xcef1xc[_0xc639[19]](404)};return _0xcef1xc[_0xc639[14]](_0xcef1xf);})[_0xc639[13]](function(_0xcef1xd){return handleError(_0xcef1xc,_0xcef1xd)})};exports[_0xc639[23]]=function(_0xcef1xb,_0xcef1xc){var _0xcef1xf= new uploadFile({dest:path[_0xc639[26]](config[_0xc639[24]],_0xc639[25]),maxFileSize:15*1000000,maxNumberOfFiles:10,minNumberOfFiles:0,acceptFileTypes:/(\.|\/)(wav|mp3|gsm|ogg)$/i,rename:function(_0xcef1x10,_0xcef1x11){return sr()+path[_0xc639[28]](_0xcef1x11[_0xc639[27]])},messages:{maxNumberOfFiles:_0xc639[29],acceptFileTypes:_0xc639[30],maxFileSize:_0xc639[31],invalidRequest:_0xc639[32]}});_0xcef1xf[_0xc639[55]](_0xc639[33],function(_0xcef1x12,_0xcef1x13){var _0xcef1x14={};_0xcef1x14[_0xc639[34]]=_0xc639[35];_0xcef1x14[_0xc639[36]]=_0xcef1x14[_0xc639[37]]=path[_0xc639[39]](_0xcef1x13[_0xc639[38]][_0xc639[7]],path[_0xc639[28]](_0xcef1x13[_0xc639[38]][_0xc639[27]]));_0xcef1x14[_0xc639[40]]=path[_0xc639[39]](_0xcef1x13[_0xc639[38]][_0xc639[27]],path[_0xc639[28]](_0xcef1x13[_0xc639[38]][_0xc639[27]]));_0xcef1x14[_0xc639[41]]=path[_0xc639[26]](config[_0xc639[24]],_0xc639[25]);_0xcef1x14[_0xc639[42]]=path[_0xc639[26]](config[_0xc639[24]],_0xc639[43]);if(!_0xcef1x13[_0xc639[38]][_0xc639[27]]){return _0xcef1xc[_0xc639[15]](500)[_0xc639[14]](_0xcef1xf)};var _0xcef1x15=path[_0xc639[26]](_0xcef1x14[_0xc639[41]],_0xcef1x14[_0xc639[40]]+path[_0xc639[28]](_0xcef1x13[_0xc639[38]][_0xc639[27]]));var _0xcef1x16=path[_0xc639[26]](_0xcef1x14[_0xc639[42]],_0xcef1x14[_0xc639[40]]+_0xc639[44]);fs[_0xc639[46]](_0xcef1x15,parseInt(_0xc639[45],8));sox[_0xc639[49]](_0xcef1x15,function(_0xcef1xd,_0xcef1x17){console[_0xc639[48]](_0xc639[47],_0xcef1x17)});var _0xcef1x18=sox[_0xc639[51]](_0xcef1x15,_0xcef1x16,{sampleRate:8000,format:_0xc639[50],channelCount:1,bitRate:192*1024,compressionQuality:5});_0xcef1x18[_0xc639[55]](_0xc639[52],function(_0xcef1xd){console[_0xc639[52]](_0xc639[53],_0xcef1xd);fs[_0xc639[54]](_0xcef1x15,function(_0xcef1xd){if(_0xcef1xd){return handleError(_0xcef1xc,_0xcef1xd)}});return handleError(_0xcef1xc,_0xcef1xd);});_0xcef1x18[_0xc639[55]](_0xc639[56],function(_0xcef1x19,_0xcef1x1a){});_0xcef1x18[_0xc639[55]](_0xc639[57],function(_0xcef1x1b){_0xcef1x14[_0xc639[58]]=_0xcef1x1b[_0xc639[59]];_0xcef1x14[_0xc639[60]]=_0xcef1x1b[_0xc639[61]]*1000;_0xcef1x14[_0xc639[62]]=_0xcef1x1b[_0xc639[63]];_0xcef1x14[_0xc639[64]]=_0xcef1x1b[_0xc639[65]];_0xcef1x14[_0xc639[66]]=_0xcef1x1b[_0xc639[67]];_0xcef1x14[_0xc639[68]]=_0xcef1x1b[_0xc639[69]];});_0xcef1x18[_0xc639[55]](_0xc639[70],function(_0xcef1x1b){_0xcef1x14[_0xc639[71]]=_0xcef1x1b[_0xc639[59]];_0xcef1x14[_0xc639[72]]=_0xcef1x1b[_0xc639[61]]*1000;_0xcef1x14[_0xc639[73]]=_0xcef1x1b[_0xc639[63]];_0xcef1x14[_0xc639[74]]=_0xcef1x1b[_0xc639[65]];_0xcef1x14[_0xc639[75]]=_0xcef1x1b[_0xc639[67]];_0xcef1x14[_0xc639[76]]=_0xcef1x1b[_0xc639[69]];});_0xcef1x18[_0xc639[55]](_0xc639[33],function(){console[_0xc639[48]](_0xc639[77]);fs[_0xc639[46]](_0xcef1x16,parseInt(_0xc639[45],8));Upload[_0xc639[23]](_0xcef1x14)[_0xc639[16]](function(_0xcef1xf){return _0xcef1xc[_0xc639[15]](201)[_0xc639[14]](_0xcef1xf)})[_0xc639[13]](function(_0xcef1xd){return handleError(_0xcef1xc,_0xcef1xd)});});_0xcef1x18[_0xc639[78]]();});_0xcef1xf[_0xc639[55]](_0xc639[52],function(_0xcef1xd){console[_0xc639[48]](_0xc639[79],_0xcef1xd);return handleError(_0xcef1xc,_0xcef1xd);});_0xcef1xf[_0xc639[80]](_0xcef1xb);};exports[_0xc639[81]]=function(_0xcef1xb,_0xcef1xc){if(_0xcef1xb[_0xc639[82]][_0xc639[20]]){delete _0xcef1xb[_0xc639[82]][_0xc639[20]]};Upload[_0xc639[22]](_0xcef1xb[_0xc639[21]][_0xc639[20]])[_0xc639[16]](function(_0xcef1xf){if(!_0xcef1xf){return _0xcef1xc[_0xc639[19]](404)};var _0xcef1x1c=_[_0xc639[83]](_0xcef1xf,_0xcef1xb[_0xc639[82]]);_0xcef1x1c[_0xc639[84]]()[_0xc639[16]](function(){return _0xcef1xc[_0xc639[15]](200)[_0xc639[14]](_0xcef1xf)})[_0xc639[13]](function(_0xcef1xd){return handleError(_0xcef1xc,_0xcef1xd)});})[_0xc639[13]](function(_0xcef1xd){return handleError(_0xcef1xc,_0xcef1xd)});};exports[_0xc639[85]]=function(_0xcef1xb,_0xcef1xc){Upload[_0xc639[22]](_0xcef1xb[_0xc639[21]][_0xc639[20]])[_0xc639[16]](function(_0xcef1xf){if(!_0xcef1xf){return _0xcef1xc[_0xc639[15]](404)[_0xc639[14]](_0xcef1xf)};var _0xcef1x1d=path[_0xc639[26]](_0xcef1xf[_0xc639[41]],_0xcef1xf[_0xc639[40]]+_0xc639[86]+_0xcef1xf[_0xc639[58]]);var _0xcef1x1e=path[_0xc639[26]](_0xcef1xf[_0xc639[42]],_0xcef1xf[_0xc639[40]]+_0xc639[86]+_0xcef1xf[_0xc639[71]]);return sequelize[_0xc639[87]](function(_0xcef1x1f){return _0xcef1xf[_0xc639[85]]({transaction:_0xcef1x1f})[_0xc639[16]](function(){fs[_0xc639[54]](_0xcef1x1d,function(_0xcef1xd){if(_0xcef1xd){return handleError(_0xcef1xc,_0xcef1xd)}});fs[_0xc639[54]](_0xcef1x1e,function(_0xcef1xd){if(_0xcef1xd){return handleError(_0xcef1xc,_0xcef1xd)}});return _0xcef1xc[_0xc639[15]](200)[_0xc639[14]](_0xcef1xf);})})[_0xc639[13]](function(_0xcef1xd){return handleError(_0xcef1xc,_0xcef1xd)});})[_0xc639[13]](function(_0xcef1xd){return handleError(_0xcef1xc,_0xcef1xd)})};exports[_0xc639[88]]=function(_0xcef1xb,_0xcef1xc){Upload[_0xc639[22]](_0xcef1xb[_0xc639[21]][_0xc639[20]])[_0xc639[16]](function(_0xcef1xf){if(!_0xcef1xf){return _0xcef1xc[_0xc639[15]](404)[_0xc639[14]](_0xcef1xf)};var _0xcef1x1d=path[_0xc639[26]](_0xcef1xf[_0xc639[41]],_0xcef1xf[_0xc639[40]]+_0xc639[86]+_0xcef1xf[_0xc639[58]]);_0xcef1xc[_0xc639[15]](200)[_0xc639[88]](_0xcef1x1d,_0xcef1xf[_0xc639[37]]+_0xc639[86]+_0xcef1xf[_0xc639[58]],function(_0xcef1xd){if(_0xcef1xd){return handleError(_0xcef1xc,_0xcef1xd)}else {console[_0xc639[48]](_0xc639[89],_0xcef1x1d)}});})};exports[_0xc639[90]]=function(_0xcef1xb,_0xcef1xc){Upload[_0xc639[22]](_0xcef1xb[_0xc639[21]][_0xc639[20]])[_0xc639[16]](function(_0xcef1xf){if(!_0xcef1xf){return _0xcef1xc[_0xc639[15]](404)[_0xc639[14]](_0xcef1xf)};var _0xcef1x1d=path[_0xc639[26]](_0xcef1xf[_0xc639[42]],_0xcef1xf[_0xc639[40]]+_0xc639[86]+_0xcef1xf[_0xc639[58]]);base64[_0xc639[91]](_0xcef1x1d,function(_0xcef1xd,_0xcef1x20){if(_0xcef1xd){console[_0xc639[48]](_0xcef1xd);return handleError(_0xcef1xc,_0xcef1xd);}else {return _0xcef1xc[_0xc639[15]](200)[_0xc639[14]](_0xcef1x20)}});})};function handleError(_0xcef1xc,_0xcef1xd){return _0xcef1xc[_0xc639[15]](500)[_0xc639[14]](_0xcef1xd)}
\ No newline at end of file
+var _0x33f5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x70\x6C\x6F\x61\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","\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","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x73\x6F\x75\x6E\x64\x73\x2F\x6F\x72\x69\x67\x69\x6E\x61\x6C","\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","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","","\x6E\x61\x6D\x65","\x64\x69\x73\x70\x6C\x61\x79\x5F\x6E\x61\x6D\x65","\x66\x69\x6C\x65","\x62\x61\x73\x65\x6E\x61\x6D\x65","\x73\x61\x76\x65\x5F\x6E\x61\x6D\x65","\x6F\x72\x69\x67\x69\x6E\x61\x6C\x5F\x70\x61\x74\x68","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x5F\x70\x61\x74\x68","\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\x77\x61\x76","\x30\x37\x37\x37","\x63\x68\x6D\x6F\x64\x53\x79\x6E\x63","\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x20\x52\x65\x73\x75\x6C\x74\x3A\x20","\x6C\x6F\x67","\x69\x64\x65\x6E\x74\x69\x66\x79","\x77\x61\x76","\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\x66\x6F\x72\x6D\x61\x74","\x66\x6F\x72\x6D\x61\x74","\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\x66\x6F\x72\x6D\x61\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","\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","\x2E","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x53\x65\x6E\x74\x20\x66\x69\x6C\x65\x20\x75\x6E\x64\x65\x72\x20\x3A","\x73\x74\x72\x65\x61\x6D","\x65\x6E\x63\x6F\x64\x65"];_0x33f5[0];var _=require(_0x33f5[1]);var Upload=require(_0x33f5[3])[_0x33f5[2]];var uploadFile=require(_0x33f5[4]);var sr=require(_0x33f5[5]);var sox=require(_0x33f5[6]);var path=require(_0x33f5[7]);var config=require(_0x33f5[8]);var fs=require(_0x33f5[9]);var sequelize=require(_0x33f5[3])[_0x33f5[10]];var base64=require(_0x33f5[11]);exports[_0x33f5[12]]=function(_0xbaffxb,_0xbaffxc){Upload[_0x33f5[17]]()[_0x33f5[16]](function(_0xbaffxe){return _0xbaffxc[_0x33f5[15]](200)[_0x33f5[14]](_0xbaffxe)})[_0x33f5[13]](function(_0xbaffxd){return handleError(_0xbaffxc,_0xbaffxd)})};exports[_0x33f5[18]]=function(_0xbaffxb,_0xbaffxc){Upload[_0x33f5[22]](_0xbaffxb[_0x33f5[21]][_0x33f5[20]])[_0x33f5[16]](function(_0xbaffxf){if(!_0xbaffxf){return _0xbaffxc[_0x33f5[19]](404)};return _0xbaffxc[_0x33f5[14]](_0xbaffxf);})[_0x33f5[13]](function(_0xbaffxd){return handleError(_0xbaffxc,_0xbaffxd)})};exports[_0x33f5[23]]=function(_0xbaffxb,_0xbaffxc){var _0xbaffxf= new uploadFile({dest:path[_0x33f5[26]](config[_0x33f5[24]],_0x33f5[25]),maxFileSize:15*1000000,maxNumberOfFiles:10,minNumberOfFiles:0,acceptFileTypes:/(\.|\/)(wav|mp3|gsm|ogg)$/i,rename:function(_0xbaffx10,_0xbaffx11){return sr()+path[_0x33f5[28]](_0xbaffx11[_0x33f5[27]])},messages:{maxNumberOfFiles:_0x33f5[29],acceptFileTypes:_0x33f5[30],maxFileSize:_0x33f5[31],invalidRequest:_0x33f5[32]}});_0xbaffxf[_0x33f5[55]](_0x33f5[33],function(_0xbaffx12,_0xbaffx13){var _0xbaffx14={};_0xbaffx14[_0x33f5[34]]=_0x33f5[35];_0xbaffx14[_0x33f5[36]]=_0xbaffx14[_0x33f5[37]]=path[_0x33f5[39]](_0xbaffx13[_0x33f5[38]][_0x33f5[7]],path[_0x33f5[28]](_0xbaffx13[_0x33f5[38]][_0x33f5[27]]));_0xbaffx14[_0x33f5[40]]=path[_0x33f5[39]](_0xbaffx13[_0x33f5[38]][_0x33f5[27]],path[_0x33f5[28]](_0xbaffx13[_0x33f5[38]][_0x33f5[27]]));_0xbaffx14[_0x33f5[41]]=path[_0x33f5[26]](config[_0x33f5[24]],_0x33f5[25]);_0xbaffx14[_0x33f5[42]]=path[_0x33f5[26]](config[_0x33f5[24]],_0x33f5[43]);if(!_0xbaffx13[_0x33f5[38]][_0x33f5[27]]){return _0xbaffxc[_0x33f5[15]](500)[_0x33f5[14]](_0xbaffxf)};var _0xbaffx15=path[_0x33f5[26]](_0xbaffx14[_0x33f5[41]],_0xbaffx14[_0x33f5[40]]+path[_0x33f5[28]](_0xbaffx13[_0x33f5[38]][_0x33f5[27]]));var _0xbaffx16=path[_0x33f5[26]](_0xbaffx14[_0x33f5[42]],_0xbaffx14[_0x33f5[40]]+_0x33f5[44]);fs[_0x33f5[46]](_0xbaffx15,parseInt(_0x33f5[45],8));sox[_0x33f5[49]](_0xbaffx15,function(_0xbaffxd,_0xbaffx17){console[_0x33f5[48]](_0x33f5[47],_0xbaffx17)});var _0xbaffx18=sox[_0x33f5[51]](_0xbaffx15,_0xbaffx16,{sampleRate:8000,format:_0x33f5[50],channelCount:1,bitRate:192*1024,compressionQuality:5});_0xbaffx18[_0x33f5[55]](_0x33f5[52],function(_0xbaffxd){console[_0x33f5[52]](_0x33f5[53],_0xbaffxd);fs[_0x33f5[54]](_0xbaffx15,function(_0xbaffxd){if(_0xbaffxd){return handleError(_0xbaffxc,_0xbaffxd)}});return handleError(_0xbaffxc,_0xbaffxd);});_0xbaffx18[_0x33f5[55]](_0x33f5[56],function(_0xbaffx19,_0xbaffx1a){});_0xbaffx18[_0x33f5[55]](_0x33f5[57],function(_0xbaffx1b){_0xbaffx14[_0x33f5[58]]=_0xbaffx1b[_0x33f5[59]];_0xbaffx14[_0x33f5[60]]=_0xbaffx1b[_0x33f5[61]]*1000;_0xbaffx14[_0x33f5[62]]=_0xbaffx1b[_0x33f5[63]];_0xbaffx14[_0x33f5[64]]=_0xbaffx1b[_0x33f5[65]];_0xbaffx14[_0x33f5[66]]=_0xbaffx1b[_0x33f5[67]];_0xbaffx14[_0x33f5[68]]=_0xbaffx1b[_0x33f5[69]];});_0xbaffx18[_0x33f5[55]](_0x33f5[70],function(_0xbaffx1b){_0xbaffx14[_0x33f5[71]]=_0xbaffx1b[_0x33f5[59]];_0xbaffx14[_0x33f5[72]]=_0xbaffx1b[_0x33f5[61]]*1000;_0xbaffx14[_0x33f5[73]]=_0xbaffx1b[_0x33f5[63]];_0xbaffx14[_0x33f5[74]]=_0xbaffx1b[_0x33f5[65]];_0xbaffx14[_0x33f5[75]]=_0xbaffx1b[_0x33f5[67]];_0xbaffx14[_0x33f5[76]]=_0xbaffx1b[_0x33f5[69]];});_0xbaffx18[_0x33f5[55]](_0x33f5[33],function(){console[_0x33f5[48]](_0x33f5[77]);fs[_0x33f5[46]](_0xbaffx16,parseInt(_0x33f5[45],8));Upload[_0x33f5[23]](_0xbaffx14)[_0x33f5[16]](function(_0xbaffxf){return _0xbaffxc[_0x33f5[15]](201)[_0x33f5[14]](_0xbaffxf)})[_0x33f5[13]](function(_0xbaffxd){console[_0x33f5[48]](_0xbaffxd);return handleError(_0xbaffxc,_0xbaffxd);});});_0xbaffx18[_0x33f5[78]]();});_0xbaffxf[_0x33f5[55]](_0x33f5[52],function(_0xbaffxd){console[_0x33f5[48]](_0x33f5[79],_0xbaffxd);return handleError(_0xbaffxc,_0xbaffxd);});_0xbaffxf[_0x33f5[80]](_0xbaffxb);};exports[_0x33f5[81]]=function(_0xbaffxb,_0xbaffxc){if(_0xbaffxb[_0x33f5[82]][_0x33f5[20]]){delete _0xbaffxb[_0x33f5[82]][_0x33f5[20]]};Upload[_0x33f5[22]](_0xbaffxb[_0x33f5[21]][_0x33f5[20]])[_0x33f5[16]](function(_0xbaffxf){if(!_0xbaffxf){return _0xbaffxc[_0x33f5[19]](404)};var _0xbaffx1c=_[_0x33f5[83]](_0xbaffxf,_0xbaffxb[_0x33f5[82]]);_0xbaffx1c[_0x33f5[84]]()[_0x33f5[16]](function(){return _0xbaffxc[_0x33f5[15]](200)[_0x33f5[14]](_0xbaffxf)})[_0x33f5[13]](function(_0xbaffxd){return handleError(_0xbaffxc,_0xbaffxd)});})[_0x33f5[13]](function(_0xbaffxd){return handleError(_0xbaffxc,_0xbaffxd)});};exports[_0x33f5[85]]=function(_0xbaffxb,_0xbaffxc){Upload[_0x33f5[22]](_0xbaffxb[_0x33f5[21]][_0x33f5[20]])[_0x33f5[16]](function(_0xbaffxf){if(!_0xbaffxf){return _0xbaffxc[_0x33f5[15]](404)[_0x33f5[14]](_0xbaffxf)};var _0xbaffx1d=path[_0x33f5[26]](_0xbaffxf[_0x33f5[41]],_0xbaffxf[_0x33f5[40]]+_0x33f5[86]+_0xbaffxf[_0x33f5[58]]);var _0xbaffx1e=path[_0x33f5[26]](_0xbaffxf[_0x33f5[42]],_0xbaffxf[_0x33f5[40]]+_0x33f5[86]+_0xbaffxf[_0x33f5[71]]);return sequelize[_0x33f5[87]](function(_0xbaffx1f){return _0xbaffxf[_0x33f5[85]]({transaction:_0xbaffx1f})[_0x33f5[16]](function(){fs[_0x33f5[54]](_0xbaffx1d,function(_0xbaffxd){if(_0xbaffxd){return handleError(_0xbaffxc,_0xbaffxd)}});fs[_0x33f5[54]](_0xbaffx1e,function(_0xbaffxd){if(_0xbaffxd){return handleError(_0xbaffxc,_0xbaffxd)}});return _0xbaffxc[_0x33f5[15]](200)[_0x33f5[14]](_0xbaffxf);})})[_0x33f5[13]](function(_0xbaffxd){return handleError(_0xbaffxc,_0xbaffxd)});})[_0x33f5[13]](function(_0xbaffxd){return handleError(_0xbaffxc,_0xbaffxd)})};exports[_0x33f5[88]]=function(_0xbaffxb,_0xbaffxc){Upload[_0x33f5[22]](_0xbaffxb[_0x33f5[21]][_0x33f5[20]])[_0x33f5[16]](function(_0xbaffxf){if(!_0xbaffxf){return _0xbaffxc[_0x33f5[15]](404)[_0x33f5[14]](_0xbaffxf)};var _0xbaffx1d=path[_0x33f5[26]](_0xbaffxf[_0x33f5[41]],_0xbaffxf[_0x33f5[40]]+_0x33f5[86]+_0xbaffxf[_0x33f5[58]]);_0xbaffxc[_0x33f5[15]](200)[_0x33f5[88]](_0xbaffx1d,_0xbaffxf[_0x33f5[37]]+_0x33f5[86]+_0xbaffxf[_0x33f5[58]],function(_0xbaffxd){if(_0xbaffxd){return handleError(_0xbaffxc,_0xbaffxd)}else {console[_0x33f5[48]](_0x33f5[89],_0xbaffx1d)}});})};exports[_0x33f5[90]]=function(_0xbaffxb,_0xbaffxc){Upload[_0x33f5[22]](_0xbaffxb[_0x33f5[21]][_0x33f5[20]])[_0x33f5[16]](function(_0xbaffxf){if(!_0xbaffxf){return _0xbaffxc[_0x33f5[15]](404)[_0x33f5[14]](_0xbaffxf)};var _0xbaffx1d=path[_0x33f5[26]](_0xbaffxf[_0x33f5[42]],_0xbaffxf[_0x33f5[40]]+_0x33f5[86]+_0xbaffxf[_0x33f5[58]]);base64[_0x33f5[91]](_0xbaffx1d,function(_0xbaffxd,_0xbaffx20){if(_0xbaffxd){console[_0x33f5[48]](_0xbaffxd);return handleError(_0xbaffxc,_0xbaffxd);}else {return _0xbaffxc[_0x33f5[15]](200)[_0x33f5[14]](_0xbaffx20)}});})};function handleError(_0xbaffxc,_0xbaffxd){return _0xbaffxc[_0x33f5[15]](500)[_0x33f5[14]](_0xbaffxd)}
\ No newline at end of file
index 4573582..2b89652 100644 (file)
@@ -1 +1 @@
-var _0x23e0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x70\x6C\x6F\x61\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","\x75\x70\x6C\x6F\x61\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x75\x70\x6C\x6F\x61\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0x23e0[0];var upload=require(_0x23e0[2])[_0x23e0[1]];exports[_0x23e0[3]]=function(_0xca06x2){upload[_0x23e0[4]](function(_0xca06x3){onSave(_0xca06x2,_0xca06x3)});upload[_0x23e0[5]](function(_0xca06x3){onRemove(_0xca06x2,_0xca06x3)});};function onSave(_0xca06x2,_0xca06x3,_0xca06x5){_0xca06x2[_0x23e0[7]](_0x23e0[6],_0xca06x3)}function onRemove(_0xca06x2,_0xca06x3,_0xca06x5){_0xca06x2[_0x23e0[7]](_0x23e0[8],_0xca06x3)}
\ No newline at end of file
+var _0xf8ff=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x70\x6C\x6F\x61\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","\x75\x70\x6C\x6F\x61\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x75\x70\x6C\x6F\x61\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0xf8ff[0];var upload=require(_0xf8ff[2])[_0xf8ff[1]];exports[_0xf8ff[3]]=function(_0x2a55x2){upload[_0xf8ff[4]](function(_0x2a55x3){onSave(_0x2a55x2,_0x2a55x3)});upload[_0xf8ff[5]](function(_0x2a55x3){onRemove(_0x2a55x2,_0x2a55x3)});};function onSave(_0x2a55x2,_0x2a55x3,_0x2a55x5){_0x2a55x2[_0xf8ff[7]](_0xf8ff[6],_0x2a55x3)}function onRemove(_0x2a55x2,_0x2a55x3,_0x2a55x5){_0x2a55x2[_0xf8ff[7]](_0xf8ff[8],_0x2a55x3)}
\ No newline at end of file
index 17f7750..edf0406 100644 (file)
@@ -1 +1 @@
-var _0x7896=["\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\x70\x6C\x6F\x61\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\x75\x70\x6C\x6F\x61\x64\x73","\x67\x65\x74"];_0x7896[0];var should=require(_0x7896[1]);var app=require(_0x7896[2]);var request=require(_0x7896[3]);describe(_0x7896[4],function(){it(_0x7896[5],function(_0xb952x4){request(app)[_0x7896[13]](_0x7896[12])[_0x7896[11]](200)[_0x7896[11]](_0x7896[10],/json/)[_0x7896[9]](function(_0xb952x5,_0xb952x6){if(_0xb952x5){return _0xb952x4(_0xb952x5)};_0xb952x6[_0x7896[8]][_0x7896[1]][_0x7896[7]][_0x7896[6]](Array);_0xb952x4();})})});
\ No newline at end of file
+var _0x30a1=["\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\x70\x6C\x6F\x61\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\x75\x70\x6C\x6F\x61\x64\x73","\x67\x65\x74"];_0x30a1[0];var should=require(_0x30a1[1]);var app=require(_0x30a1[2]);var request=require(_0x30a1[3]);describe(_0x30a1[4],function(){it(_0x30a1[5],function(_0x7e97x4){request(app)[_0x30a1[13]](_0x30a1[12])[_0x30a1[11]](200)[_0x30a1[11]](_0x30a1[10],/json/)[_0x30a1[9]](function(_0x7e97x5,_0x7e97x6){if(_0x7e97x5){return _0x7e97x4(_0x7e97x5)};_0x7e97x6[_0x30a1[8]][_0x30a1[1]][_0x30a1[7]][_0x30a1[6]](Array);_0x7e97x4();})})});
\ No newline at end of file
index 0b5b01c..88a92a6 100644 (file)
@@ -1 +1 @@
-var _0x264c=["\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","\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\x2F\x61\x76\x61\x74\x61\x72","\x67\x65\x74\x41\x76\x61\x74\x61\x72\x42\x79\x49\x64","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\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","\x70\x6F\x73\x74","\x2F\x70\x61\x73\x73\x77\x6F\x72\x64","\x63\x68\x61\x6E\x67\x65\x50\x61\x73\x73\x77\x6F\x72\x64","\x70\x75\x74","\x2F\x70\x61\x73\x73\x77\x6F\x72\x64\x2F\x3A\x69\x64\x2F\x72\x65\x73\x65\x74","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x52\x6F\x6C\x65","\x72\x65\x73\x65\x74\x50\x61\x73\x73\x77\x6F\x72\x64","\x75\x70\x64\x61\x74\x65","\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","\x63\x68\x61\x6E\x67\x65\x41\x76\x61\x74\x61\x72","\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"];_0x264c[0];var express=require(_0x264c[1]);var controller=require(_0x264c[2]);var config=require(_0x264c[3]);var auth=require(_0x264c[4]);var license=require(_0x264c[5]);var router=express.Router();router[_0x264c[9]](_0x264c[6],auth[_0x264c[7]](),controller[_0x264c[8]]);router[_0x264c[9]](_0x264c[10],auth[_0x264c[7]](),controller[_0x264c[11]]);router[_0x264c[9]](_0x264c[12],auth[_0x264c[7]](),controller[_0x264c[13]]);router[_0x264c[9]](_0x264c[14],controller[_0x264c[15]]);router[_0x264c[9]](_0x264c[16],controller[_0x264c[17]]);router[_0x264c[9]](_0x264c[18],auth[_0x264c[7]](),controller[_0x264c[19]]);router[_0x264c[22]](_0x264c[20],auth[_0x264c[7]](),controller[_0x264c[21]]);router[_0x264c[25]](_0x264c[23],auth[_0x264c[7]](),controller[_0x264c[24]]);router[_0x264c[25]](_0x264c[26],auth[_0x264c[7]](),auth[_0x264c[28]](_0x264c[27]),controller[_0x264c[29]]);router[_0x264c[25]](_0x264c[18],auth[_0x264c[7]](),controller[_0x264c[30]]);router[_0x264c[22]](_0x264c[6],auth[_0x264c[7]](),license[_0x264c[31]](),license[_0x264c[32]](),controller[_0x264c[33]]);router[_0x264c[22]](_0x264c[16],auth[_0x264c[7]](),controller[_0x264c[34]]);router[_0x264c[36]](_0x264c[6],auth[_0x264c[7]](),controller[_0x264c[35]]);router[_0x264c[36]](_0x264c[18],auth[_0x264c[7]](),controller[_0x264c[37]]);module[_0x264c[38]]=router;
\ No newline at end of file
+var _0x2dbb=["\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","\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\x2F\x61\x76\x61\x74\x61\x72","\x67\x65\x74\x41\x76\x61\x74\x61\x72\x42\x79\x49\x64","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\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","\x70\x6F\x73\x74","\x2F\x70\x61\x73\x73\x77\x6F\x72\x64","\x63\x68\x61\x6E\x67\x65\x50\x61\x73\x73\x77\x6F\x72\x64","\x70\x75\x74","\x2F\x70\x61\x73\x73\x77\x6F\x72\x64\x2F\x3A\x69\x64\x2F\x72\x65\x73\x65\x74","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x52\x6F\x6C\x65","\x72\x65\x73\x65\x74\x50\x61\x73\x73\x77\x6F\x72\x64","\x75\x70\x64\x61\x74\x65","\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","\x63\x68\x61\x6E\x67\x65\x41\x76\x61\x74\x61\x72","\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"];_0x2dbb[0];var express=require(_0x2dbb[1]);var controller=require(_0x2dbb[2]);var config=require(_0x2dbb[3]);var auth=require(_0x2dbb[4]);var license=require(_0x2dbb[5]);var router=express.Router();router[_0x2dbb[9]](_0x2dbb[6],auth[_0x2dbb[7]](),controller[_0x2dbb[8]]);router[_0x2dbb[9]](_0x2dbb[10],auth[_0x2dbb[7]](),controller[_0x2dbb[11]]);router[_0x2dbb[9]](_0x2dbb[12],auth[_0x2dbb[7]](),controller[_0x2dbb[13]]);router[_0x2dbb[9]](_0x2dbb[14],controller[_0x2dbb[15]]);router[_0x2dbb[9]](_0x2dbb[16],controller[_0x2dbb[17]]);router[_0x2dbb[9]](_0x2dbb[18],auth[_0x2dbb[7]](),controller[_0x2dbb[19]]);router[_0x2dbb[22]](_0x2dbb[20],auth[_0x2dbb[7]](),controller[_0x2dbb[21]]);router[_0x2dbb[25]](_0x2dbb[23],auth[_0x2dbb[7]](),controller[_0x2dbb[24]]);router[_0x2dbb[25]](_0x2dbb[26],auth[_0x2dbb[7]](),auth[_0x2dbb[28]](_0x2dbb[27]),controller[_0x2dbb[29]]);router[_0x2dbb[25]](_0x2dbb[18],auth[_0x2dbb[7]](),controller[_0x2dbb[30]]);router[_0x2dbb[22]](_0x2dbb[6],auth[_0x2dbb[7]](),license[_0x2dbb[31]](),license[_0x2dbb[32]](),controller[_0x2dbb[33]]);router[_0x2dbb[22]](_0x2dbb[16],auth[_0x2dbb[7]](),controller[_0x2dbb[34]]);router[_0x2dbb[36]](_0x2dbb[6],auth[_0x2dbb[7]](),controller[_0x2dbb[35]]);router[_0x2dbb[36]](_0x2dbb[18],auth[_0x2dbb[7]](),controller[_0x2dbb[37]]);module[_0x2dbb[38]]=router;
\ No newline at end of file
index 2997d83..7270a48 100644 (file)
@@ -1 +1 @@
-var _0x3768=["\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","\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","\x6E\x61\x6D\x65","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x63\x61\x6C\x6C\x65\x72\x69\x64","\x22\x25\x73\x22\x20\x3C\x25\x73\x3E","\x66\x6F\x72\x6D\x61\x74","\x73\x61\x76\x65","\x63\x68\x61\x6E\x67\x65\x64","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x65\x78\x74\x65\x6E","\x5F\x70\x72\x65\x76\x69\x6F\x75\x73\x44\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x61\x70\x70\x64\x61\x74\x61","\x53\x49\x50\x2F","\x66\x6F\x72\x45\x61\x63\x68","\x74\x68\x65\x6E","\x67\x65\x74\x55\x73\x65\x72\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x44\x69\x61\x6C","\x69\x64","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65"];_0x3768[0];var fs=require(_0x3768[1]);var util=require(_0x3768[2]);var path=require(_0x3768[3]);var config=require(_0x3768[4]);var User=require(_0x3768[6])[_0x3768[5]];var VoiceExtension=require(_0x3768[6])[_0x3768[7]];exports[_0x3768[8]]=function(_0xfebbx7){User[_0x3768[9]](function(_0xfebbx8){createCallerID(_0xfebbx8);createExtension(_0xfebbx8);});User[_0x3768[10]](function(_0xfebbx8){updateExtension(_0xfebbx8);createCallerID(_0xfebbx8);});};function createCallerID(_0xfebbx8){if(_0xfebbx8[_0x3768[11]]&&_0xfebbx8[_0x3768[12]]){_0xfebbx8[_0x3768[13]]=util[_0x3768[15]](_0x3768[14],_0xfebbx8[_0x3768[11]],_0xfebbx8[_0x3768[12]]);_0xfebbx8[_0x3768[16]]();};return ;}function updateExtension(_0xfebbx8){if(_0xfebbx8[_0x3768[17]](_0x3768[11])){_0xfebbx8[_0x3768[26]]()[_0x3768[25]](function(_0xfebbxc){_0xfebbxc[_0x3768[24]](function(_0xfebbxd){_0xfebbxd[_0x3768[20]]=(_0xfebbxd[_0x3768[20]]===_0xfebbx8[_0x3768[21]][_0x3768[12]])?_0xfebbx8[_0x3768[12]]:_0xfebbx8[_0x3768[11]];_0xfebbxd[_0x3768[22]]=_0x3768[23]+_0xfebbx8[_0x3768[11]];_0xfebbxd[_0x3768[16]]();})})[_0x3768[19]](function(_0xfebbxb){console[_0x3768[18]](_0xfebbxb)})}}function createExtension(_0xfebbx8){if(_0xfebbx8[_0x3768[12]]){var _0xfebbxf=[{context:_0x3768[27],exten:_0xfebbx8[_0x3768[12]],priority:1,app:_0x3768[28],appdata:_0x3768[23]+_0xfebbx8[_0x3768[11]],UserId:_0xfebbx8[_0x3768[29]],type:_0x3768[12]},{context:_0x3768[27],exten:_0xfebbx8[_0x3768[11]],priority:1,app:_0x3768[28],appdata:_0x3768[23]+_0xfebbx8[_0x3768[11]],UserId:_0xfebbx8[_0x3768[29]],type:_0x3768[12]}];return VoiceExtension[_0x3768[30]](_0xfebbxf)[_0x3768[19]](function(_0xfebbxb){console[_0x3768[18]](_0xfebbxb)});}}
\ No newline at end of file
+var _0x5416=["\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","\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","\x6E\x61\x6D\x65","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x63\x61\x6C\x6C\x65\x72\x69\x64","\x22\x25\x73\x22\x20\x3C\x25\x73\x3E","\x66\x6F\x72\x6D\x61\x74","\x73\x61\x76\x65","\x63\x68\x61\x6E\x67\x65\x64","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x65\x78\x74\x65\x6E","\x5F\x70\x72\x65\x76\x69\x6F\x75\x73\x44\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x61\x70\x70\x64\x61\x74\x61","\x53\x49\x50\x2F","\x66\x6F\x72\x45\x61\x63\x68","\x74\x68\x65\x6E","\x67\x65\x74\x55\x73\x65\x72\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x44\x69\x61\x6C","\x69\x64","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65"];_0x5416[0];var fs=require(_0x5416[1]);var util=require(_0x5416[2]);var path=require(_0x5416[3]);var config=require(_0x5416[4]);var User=require(_0x5416[6])[_0x5416[5]];var VoiceExtension=require(_0x5416[6])[_0x5416[7]];exports[_0x5416[8]]=function(_0xe760x7){User[_0x5416[9]](function(_0xe760x8){createCallerID(_0xe760x8);createExtension(_0xe760x8);});User[_0x5416[10]](function(_0xe760x8){updateExtension(_0xe760x8);createCallerID(_0xe760x8);});};function createCallerID(_0xe760x8){if(_0xe760x8[_0x5416[11]]&&_0xe760x8[_0x5416[12]]){_0xe760x8[_0x5416[13]]=util[_0x5416[15]](_0x5416[14],_0xe760x8[_0x5416[11]],_0xe760x8[_0x5416[12]]);_0xe760x8[_0x5416[16]]();};return ;}function updateExtension(_0xe760x8){if(_0xe760x8[_0x5416[17]](_0x5416[11])){_0xe760x8[_0x5416[26]]()[_0x5416[25]](function(_0xe760xc){_0xe760xc[_0x5416[24]](function(_0xe760xd){_0xe760xd[_0x5416[20]]=(_0xe760xd[_0x5416[20]]===_0xe760x8[_0x5416[21]][_0x5416[12]])?_0xe760x8[_0x5416[12]]:_0xe760x8[_0x5416[11]];_0xe760xd[_0x5416[22]]=_0x5416[23]+_0xe760x8[_0x5416[11]];_0xe760xd[_0x5416[16]]();})})[_0x5416[19]](function(_0xe760xb){console[_0x5416[18]](_0xe760xb)})}}function createExtension(_0xe760x8){if(_0xe760x8[_0x5416[12]]){var _0xe760xf=[{context:_0x5416[27],exten:_0xe760x8[_0x5416[12]],priority:1,app:_0x5416[28],appdata:_0x5416[23]+_0xe760x8[_0x5416[11]],UserId:_0xe760x8[_0x5416[29]],type:_0x5416[12]},{context:_0x5416[27],exten:_0xe760x8[_0x5416[11]],priority:1,app:_0x5416[28],appdata:_0x5416[23]+_0xe760x8[_0x5416[11]],UserId:_0xe760x8[_0x5416[29]],type:_0x5416[12]}];return VoiceExtension[_0x5416[30]](_0xe760xf)[_0x5416[19]](function(_0xe760xb){console[_0x5416[18]](_0xe760xb)});}}
\ No newline at end of file
index 3b35d84..04322a8 100644 (file)
@@ -1 +1 @@
-var _0x17ad=["\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","\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\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","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x72\x6F\x6C\x65","\x70\x65\x72\x5F\x70\x61\x67\x65","\x71\x75\x65\x72\x79","\x70\x61\x67\x65","\x61\x64\x6D\x69\x6E","\x75\x73\x65\x72","\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","\x67\x65\x74\x55\x73\x65\x72\x73","\x61\x67\x65\x6E\x74","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x65\x61\x63\x68","\x73\x6F\x72\x74","\x6B\x65\x79\x73","\x62\x75\x69\x6C\x64","\x70\x72\x6F\x76\x69\x64\x65\x72","\x6C\x6F\x63\x61\x6C","\x69\x64","\x73\x65\x63\x72\x65\x74","\x73\x65\x73\x73\x69\x6F\x6E","\x35\x68","\x73\x69\x67\x6E","\x73\x61\x76\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\x65\x73\x74\x72\x6F\x79","\x6C\x6F\x67","\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","\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\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\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","\x75\x73\x65\x72\x70\x69\x63","\x66\x69\x6E\x64\x4F\x6E\x65","\x75\x70\x64\x61\x74\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x75\x73\x65\x72\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x61\x75\x74\x68\x43\x61\x6C\x6C\x62\x61\x63\x6B","\x2F","\x72\x65\x64\x69\x72\x65\x63\x74"];_0x17ad[0];var User=require(_0x17ad[2])[_0x17ad[1]];var Module=require(_0x17ad[2])[_0x17ad[3]];var config=require(_0x17ad[4]);var passport=require(_0x17ad[5]);var moment=require(_0x17ad[6]);var jwt=require(_0x17ad[7]);var uploadFile=require(_0x17ad[8]);var path=require(_0x17ad[9]);var fs=require(_0x17ad[10]);var _=require(_0x17ad[11]);var util=require(_0x17ad[12]);var sr=require(_0x17ad[13]);exports[_0x17ad[14]]=function(_0xbe1bxd,_0xbe1bxe,_0xbe1bxf){var _0xbe1bx10=[_0x17ad[15],_0x17ad[16],_0x17ad[17],_0x17ad[18]];var _0xbe1bx11=_0xbe1bxd[_0x17ad[20]][_0x17ad[19]]?parseInt(_0xbe1bxd[_0x17ad[20]][_0x17ad[19]],10):100;var _0xbe1bx12=_0xbe1bxd[_0x17ad[20]][_0x17ad[21]]?parseInt(_0xbe1bxd[_0x17ad[20]][_0x17ad[21]],10):0;var _0xbe1bx13={where:{role:[_0x17ad[22],_0x17ad[23]]},limit:_0xbe1bx11,offset:_0xbe1bx12*_0xbe1bx11};_[_0x17ad[37]](_0xbe1bxd[_0x17ad[20]],function(_0xbe1bx14,_0xbe1bx15){switch(_0xbe1bx15){case _0x17ad[19]:;case _0x17ad[21]:break ;;case _0x17ad[26]:_0xbe1bx13[_0x17ad[24]]=util[_0x17ad[29]](_0x17ad[25],_0xbe1bxd[_0x17ad[20]][_0x17ad[26]],_0xbe1bxd[_0x17ad[20]][_0x17ad[27]]||_0x17ad[28])||null;break ;;case _0x17ad[27]:break ;;case _0x17ad[35]:_0xbe1bx13[_0x17ad[31]][_0x17ad[30]]=[];_0xbe1bx10[_0x17ad[34]](function(_0xbe1bx16){var _0xbe1bx17={};_0xbe1bx17[_0xbe1bx16]={$like:_0x17ad[32]+_0xbe1bx14+_0x17ad[32]};_0xbe1bx13[_0x17ad[31]][_0x17ad[30]][_0x17ad[33]](_0xbe1bx17);});break ;;default:_0xbe1bx13[_0x17ad[31]][_0xbe1bx15]={$like:{}};_0xbe1bx13[_0x17ad[31]][_0xbe1bx15][_0x17ad[36]]=_0x17ad[32]+_0xbe1bx14+_0x17ad[32];;}});User[_0x17ad[52]](_0xbe1bx13)[_0x17ad[51]](function(_0xbe1bx19){var _0xbe1bx1a=Math[_0x17ad[43]](_0xbe1bx19[_0x17ad[42]]/_0xbe1bx11);var _0xbe1bx1b=_0xbe1bx1a>(_0xbe1bx13[_0x17ad[44]]+1)?util[_0x17ad[29]](_0x17ad[45],_0xbe1bxd[_0x17ad[46]],_0xbe1bxd[_0x17ad[48]][_0x17ad[47]],_0xbe1bxd[_0x17ad[49]],_0xbe1bx12+1):null;var _0xbe1bx1c=_0xbe1bx12>0?util[_0x17ad[29]](_0x17ad[45],_0xbe1bxd[_0x17ad[46]],_0xbe1bxd[_0x17ad[48]][_0x17ad[47]],_0xbe1bxd[_0x17ad[49]],_0xbe1bx12-1):null;return _0xbe1bxe[_0x17ad[40]](200)[_0x17ad[39]]({count:_0xbe1bx19[_0x17ad[42]],rows:_0xbe1bx19[_0x17ad[50]],next_page:_0xbe1bx1b,previous_page:_0xbe1bx1c,total_pages:_0xbe1bx1a});})[_0x17ad[41]](function(_0xbe1bx18){return _0xbe1bxe[_0x17ad[40]](500)[_0x17ad[39]]({error:_0x17ad[38]})});};exports[_0x17ad[53]]=function(_0xbe1bxd,_0xbe1bxe,_0xbe1bxf){User[_0x17ad[55]]({where:{role:{$in:[_0x17ad[22],_0x17ad[23],_0x17ad[54]]}}})[_0x17ad[51]](function(_0xbe1bx1d){return _0xbe1bxe[_0x17ad[40]](200)[_0x17ad[39]](_0xbe1bx1d)})[_0x17ad[41]](function(_0xbe1bx18){return handleError(_0xbe1bxe,_0xbe1bx18)})};exports[_0x17ad[56]]=function(_0xbe1bxd,_0xbe1bxe,_0xbe1bxf){var _0xbe1bx1e=_0xbe1bxd[_0x17ad[57]];_(_0xbe1bx1e)[_0x17ad[60]]()[_0x17ad[59]]()[_0x17ad[58]](function(_0xbe1bx15){var _0xbe1bx14=_0xbe1bx1e[_0xbe1bx15]});var _0xbe1bx1f=User[_0x17ad[61]](_0xbe1bxd[_0x17ad[57]]);_0xbe1bx1f[_0x17ad[62]]=_0x17ad[63];_0xbe1bx1f[_0x17ad[69]]()[_0x17ad[51]](function(_0xbe1bx20){var _0xbe1bx21=jwt[_0x17ad[68]]({id:_0xbe1bx20[_0x17ad[64]]},config[_0x17ad[66]][_0x17ad[65]],{expiresIn:_0x17ad[67]});return _0xbe1bxe[_0x17ad[40]](201)[_0x17ad[39]]({token:_0xbe1bx21});})[_0x17ad[41]](function(_0xbe1bx18){return handleError(_0xbe1bxe,_0xbe1bx18)});};exports[_0x17ad[70]]=function(_0xbe1bxd,_0xbe1bxe,_0xbe1bxf){User[_0x17ad[73]](_0xbe1bxd[_0x17ad[72]][_0x17ad[64]])[_0x17ad[51]](function(_0xbe1bx20){if(_0xbe1bx20){return _0xbe1bxe[_0x17ad[40]](200)[_0x17ad[39]](_0xbe1bx20)}else {return _0xbe1bxe[_0x17ad[71]](404)}})[_0x17ad[41]](function(_0xbe1bx18){return handleError(_0xbe1bxe,_0xbe1bx18)})};exports[_0x17ad[74]]=function(_0xbe1bxd,_0xbe1bxe,_0xbe1bxf){var _0xbe1bx22=_0xbe1bxd[_0x17ad[72]][_0x17ad[64]];User[_0x17ad[73]](_0xbe1bx22)[_0x17ad[51]](function(_0xbe1bx20){if(_0xbe1bx20){_0xbe1bx20[_0x17ad[74]]()[_0x17ad[51]](function(_0xbe1bx20){console[_0x17ad[75]](_0xbe1bx20);return _0xbe1bxe[_0x17ad[40]](200)[_0x17ad[39]](_0xbe1bx20);})[_0x17ad[41]](function(_0xbe1bx18){return handleError(_0xbe1bxe,_0xbe1bx18)})}else {return _0xbe1bxe[_0x17ad[71]](404)}})[_0x17ad[41]](function(_0xbe1bx18){return handleError(_0xbe1bxe,_0xbe1bx18)});};exports[_0x17ad[76]]=function(_0xbe1bxd,_0xbe1bxe,_0xbe1bxf){var _0xbe1bx22=_0xbe1bxd[_0x17ad[23]][_0x17ad[64]];var _0xbe1bx23=String(_0xbe1bxd[_0x17ad[57]][_0x17ad[77]]);var _0xbe1bx24=String(_0xbe1bxd[_0x17ad[57]][_0x17ad[78]]);User[_0x17ad[73]](_0xbe1bx22)[_0x17ad[51]](function(_0xbe1bx20){if(_0xbe1bx20[_0x17ad[79]](_0xbe1bx23)){_0xbe1bx20[_0x17ad[80]]=_0xbe1bx24;_0xbe1bx20[_0x17ad[69]]()[_0x17ad[51]](function(){return _0xbe1bxe[_0x17ad[40]](200)[_0x17ad[39]](_0xbe1bx20)})[_0x17ad[41]](function(_0xbe1bx18){return handleError(_0xbe1bxe,_0xbe1bx18)});}else {return _0xbe1bxe[_0x17ad[71]](403)}});};exports[_0x17ad[81]]=function(_0xbe1bxd,_0xbe1bxe,_0xbe1bxf){var _0xbe1bx24=String(_0xbe1bxd[_0x17ad[57]][_0x17ad[78]]);User[_0x17ad[73]](_0xbe1bxd[_0x17ad[72]][_0x17ad[64]])[_0x17ad[51]](function(_0xbe1bx20){_0xbe1bx20[_0x17ad[80]]=_0xbe1bx24;_0xbe1bx20[_0x17ad[69]]()[_0x17ad[51]](function(){return _0xbe1bxe[_0x17ad[40]](200)[_0x17ad[39]](_0xbe1bx20)})[_0x17ad[41]](function(_0xbe1bx18){return handleError(_0xbe1bxe,_0xbe1bx18)});});};exports[_0x17ad[82]]=function(_0xbe1bxd,_0xbe1bxe,_0xbe1bxf){var _0xbe1bx25= new uploadFile({dest:path[_0x17ad[87]](config[_0x17ad[83]],_0x17ad[84],_0x17ad[85],_0x17ad[86]),maxNumberOfFiles:1,minNumberOfFiles:0,acceptFileTypes:/(\.|\/)(jpeg|png)$/i,rename:function(_0xbe1bx26,_0xbe1bx27){return sr()+path[_0x17ad[89]](_0xbe1bx27[_0x17ad[88]])},messages:{maxNumberOfFiles:_0x17ad[90],acceptFileTypes:_0x17ad[91],invalidRequest:_0x17ad[92]}});_0xbe1bx25[_0x17ad[96]](_0x17ad[93],function(_0xbe1bx28,_0xbe1bx29){if(!_0xbe1bx29[_0x17ad[94]][_0x17ad[88]]){return _0xbe1bxe[_0x17ad[40]](500)[_0x17ad[39]](_0xbe1bx25)}else {User[_0x17ad[73]](_0xbe1bxd[_0x17ad[72]][_0x17ad[64]])[_0x17ad[51]](function(_0xbe1bx20){if(_0xbe1bx20){_0xbe1bx20[_0x17ad[95]]({userpic:_0xbe1bx29[_0x17ad[94]][_0x17ad[88]]})[_0x17ad[51]](function(){return _0xbe1bxe[_0x17ad[40]](200)[_0x17ad[39]](_0xbe1bx20)})[_0x17ad[41]](function(_0xbe1bx18){return handleError(_0xbe1bxe,_0xbe1bx18)})}else {return _0xbe1bxe[_0x17ad[71]](404)}})[_0x17ad[41]](function(_0xbe1bx18){return handleError(_0xbe1bxe,_0xbe1bx18)})}});_0xbe1bx25[_0x17ad[96]](_0x17ad[97],function(_0xbe1bx18){console[_0x17ad[75]](_0x17ad[98],_0xbe1bx18);return handleError(_0xbe1bxe,_0xbe1bx18);});_0xbe1bx25[_0x17ad[99]](_0xbe1bxd);};exports[_0x17ad[100]]=function(_0xbe1bxd,_0xbe1bxe,_0xbe1bxf){var _0xbe1bx22=_0xbe1bxd[_0x17ad[23]][_0x17ad[64]];User[_0x17ad[102]]({where:{id:_0xbe1bx22},attributes:[_0x17ad[64],_0x17ad[15],_0x17ad[16],_0x17ad[17],_0x17ad[18],_0x17ad[101]],include:[Module]})[_0x17ad[51]](function(_0xbe1bx20){if(!_0xbe1bx20){return _0xbe1bxe[_0x17ad[71]](401)};return _0xbe1bxe[_0x17ad[40]](200)[_0x17ad[39]](_0xbe1bx20);})[_0x17ad[41]](function(_0xbe1bx18){return handleError(_0xbe1bxe,_0xbe1bx18)});};exports[_0x17ad[103]]=function(_0xbe1bxd,_0xbe1bxe,_0xbe1bxf){var _0xbe1bx22=_0xbe1bxd[_0x17ad[23]][_0x17ad[64]];User[_0x17ad[73]](_0xbe1bxd[_0x17ad[72]][_0x17ad[64]])[_0x17ad[51]](function(_0xbe1bx20){if(_0xbe1bx20){_0xbe1bx20[_0x17ad[95]](_0xbe1bxd[_0x17ad[57]])[_0x17ad[51]](function(_0xbe1bx20){return _0xbe1bxe[_0x17ad[40]](200)[_0x17ad[39]](_0xbe1bx20)})[_0x17ad[41]](function(_0xbe1bx18){return handleError(_0xbe1bxe,_0xbe1bx18)})}else {return _0xbe1bxe[_0x17ad[71]](500)}})[_0x17ad[41]](function(_0xbe1bx18){return handleError(_0xbe1bxe,_0xbe1bx18)});};exports[_0x17ad[104]]=function(_0xbe1bxd,_0xbe1bxe,_0xbe1bxf){var _0xbe1bx2a=path[_0x17ad[87]](config[_0x17ad[83]],_0x17ad[84],_0x17ad[85],_0x17ad[86],_0xbe1bxd[_0x17ad[72]][_0x17ad[88]]);fs[_0x17ad[107]](_0xbe1bx2a,function(_0xbe1bx2b){if(!_0xbe1bx2b){_0xbe1bx2a=path[_0x17ad[87]](config[_0x17ad[83]],_0x17ad[84],_0x17ad[85],_0x17ad[86],_0x17ad[105])};return _0xbe1bxe[_0x17ad[106]](_0xbe1bx2a);});};exports[_0x17ad[108]]=function(_0xbe1bxd,_0xbe1bxe,_0xbe1bxf){if(_0xbe1bxd[_0x17ad[72]][_0x17ad[64]]===_0x17ad[109]){var _0xbe1bx2a=path[_0x17ad[87]](config[_0x17ad[83]],_0x17ad[84],_0x17ad[85],_0x17ad[86],_0x17ad[110]);fs[_0x17ad[107]](_0xbe1bx2a,function(_0xbe1bx2b){return _0xbe1bxe[_0x17ad[106]](_0xbe1bx2a)});}else {User[_0x17ad[73]](_0xbe1bxd[_0x17ad[72]][_0x17ad[64]])[_0x17ad[51]](function(_0xbe1bx20){if(_0xbe1bx20){var _0xbe1bx2a=path[_0x17ad[87]](config[_0x17ad[83]],_0x17ad[84],_0x17ad[85],_0x17ad[86],_0xbe1bx20[_0x17ad[101]]?_0xbe1bx20[_0x17ad[101]]:_0x17ad[105]);fs[_0x17ad[107]](_0xbe1bx2a,function(_0xbe1bx2b){if(!_0xbe1bx2b){_0xbe1bx2a=path[_0x17ad[87]](config[_0x17ad[83]],_0x17ad[84],_0x17ad[85],_0x17ad[86],_0x17ad[105])};return _0xbe1bxe[_0x17ad[106]](_0xbe1bx2a);});}else {return _0xbe1bxe[_0x17ad[71]](500)}})[_0x17ad[41]](function(_0xbe1bx18){return handleError(_0xbe1bxe,_0xbe1bx18)})}};exports[_0x17ad[111]]=function(_0xbe1bxd,_0xbe1bxe){User[_0x17ad[74]]({where:{id:_0xbe1bxd[_0x17ad[20]][_0x17ad[64]]},individualHooks:true})[_0x17ad[51]](function(){return _0xbe1bxe[_0x17ad[71]](204)})[_0x17ad[41]](function(_0xbe1bx18){return handleError(_0xbe1bxe,_0xbe1bx18)})};exports[_0x17ad[112]]=function(_0xbe1bxd,_0xbe1bxe){var _0xbe1bx2c={};_0xbe1bx2c[_0xbe1bxd[_0x17ad[72]][_0x17ad[113]]]=_0xbe1bxd[_0x17ad[57]][_0x17ad[114]];User[_0x17ad[52]]({where:_0xbe1bx2c})[_0x17ad[51]](function(_0xbe1bx19){if(_0xbe1bx19[_0x17ad[42]]){return _0xbe1bxe[_0x17ad[40]](200)[_0x17ad[39]]({isValid:false,value:_0xbe1bxd[_0x17ad[57]][_0x17ad[114]]})};return _0xbe1bxe[_0x17ad[40]](200)[_0x17ad[39]]({isValid:true,value:_0xbe1bxd[_0x17ad[57]][_0x17ad[114]]});})[_0x17ad[41]](function(_0xbe1bx18){return handleError(_0xbe1bxe,_0xbe1bx18)});};exports[_0x17ad[115]]=function(_0xbe1bxd,_0xbe1bxe,_0xbe1bxf){_0xbe1bxe[_0x17ad[117]](_0x17ad[116])};function handleError(_0xbe1bxe,_0xbe1bx18){return _0xbe1bxe[_0x17ad[40]](500)[_0x17ad[39]](_0xbe1bx18)}
\ No newline at end of file
+var _0x7d86=["\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","\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\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","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x72\x6F\x6C\x65","\x70\x65\x72\x5F\x70\x61\x67\x65","\x71\x75\x65\x72\x79","\x70\x61\x67\x65","\x61\x64\x6D\x69\x6E","\x75\x73\x65\x72","\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","\x67\x65\x74\x55\x73\x65\x72\x73","\x61\x67\x65\x6E\x74","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x65\x61\x63\x68","\x73\x6F\x72\x74","\x6B\x65\x79\x73","\x62\x75\x69\x6C\x64","\x70\x72\x6F\x76\x69\x64\x65\x72","\x6C\x6F\x63\x61\x6C","\x69\x64","\x73\x65\x63\x72\x65\x74","\x73\x65\x73\x73\x69\x6F\x6E","\x35\x68","\x73\x69\x67\x6E","\x73\x61\x76\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\x65\x73\x74\x72\x6F\x79","\x6C\x6F\x67","\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","\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\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\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","\x75\x73\x65\x72\x70\x69\x63","\x66\x69\x6E\x64\x4F\x6E\x65","\x75\x70\x64\x61\x74\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x75\x73\x65\x72\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x61\x75\x74\x68\x43\x61\x6C\x6C\x62\x61\x63\x6B","\x2F","\x72\x65\x64\x69\x72\x65\x63\x74"];_0x7d86[0];var User=require(_0x7d86[2])[_0x7d86[1]];var Module=require(_0x7d86[2])[_0x7d86[3]];var config=require(_0x7d86[4]);var passport=require(_0x7d86[5]);var moment=require(_0x7d86[6]);var jwt=require(_0x7d86[7]);var uploadFile=require(_0x7d86[8]);var path=require(_0x7d86[9]);var fs=require(_0x7d86[10]);var _=require(_0x7d86[11]);var util=require(_0x7d86[12]);var sr=require(_0x7d86[13]);exports[_0x7d86[14]]=function(_0x921cxd,_0x921cxe,_0x921cxf){var _0x921cx10=[_0x7d86[15],_0x7d86[16],_0x7d86[17],_0x7d86[18]];var _0x921cx11=_0x921cxd[_0x7d86[20]][_0x7d86[19]]?parseInt(_0x921cxd[_0x7d86[20]][_0x7d86[19]],10):100;var _0x921cx12=_0x921cxd[_0x7d86[20]][_0x7d86[21]]?parseInt(_0x921cxd[_0x7d86[20]][_0x7d86[21]],10):0;var _0x921cx13={where:{role:[_0x7d86[22],_0x7d86[23]]},limit:_0x921cx11,offset:_0x921cx12*_0x921cx11};_[_0x7d86[37]](_0x921cxd[_0x7d86[20]],function(_0x921cx14,_0x921cx15){switch(_0x921cx15){case _0x7d86[19]:;case _0x7d86[21]:break ;;case _0x7d86[26]:_0x921cx13[_0x7d86[24]]=util[_0x7d86[29]](_0x7d86[25],_0x921cxd[_0x7d86[20]][_0x7d86[26]],_0x921cxd[_0x7d86[20]][_0x7d86[27]]||_0x7d86[28])||null;break ;;case _0x7d86[27]:break ;;case _0x7d86[35]:_0x921cx13[_0x7d86[31]][_0x7d86[30]]=[];_0x921cx10[_0x7d86[34]](function(_0x921cx16){var _0x921cx17={};_0x921cx17[_0x921cx16]={$like:_0x7d86[32]+_0x921cx14+_0x7d86[32]};_0x921cx13[_0x7d86[31]][_0x7d86[30]][_0x7d86[33]](_0x921cx17);});break ;;default:_0x921cx13[_0x7d86[31]][_0x921cx15]={$like:{}};_0x921cx13[_0x7d86[31]][_0x921cx15][_0x7d86[36]]=_0x7d86[32]+_0x921cx14+_0x7d86[32];;}});User[_0x7d86[52]](_0x921cx13)[_0x7d86[51]](function(_0x921cx19){var _0x921cx1a=Math[_0x7d86[43]](_0x921cx19[_0x7d86[42]]/_0x921cx11);var _0x921cx1b=_0x921cx1a>(_0x921cx13[_0x7d86[44]]+1)?util[_0x7d86[29]](_0x7d86[45],_0x921cxd[_0x7d86[46]],_0x921cxd[_0x7d86[48]][_0x7d86[47]],_0x921cxd[_0x7d86[49]],_0x921cx12+1):null;var _0x921cx1c=_0x921cx12>0?util[_0x7d86[29]](_0x7d86[45],_0x921cxd[_0x7d86[46]],_0x921cxd[_0x7d86[48]][_0x7d86[47]],_0x921cxd[_0x7d86[49]],_0x921cx12-1):null;return _0x921cxe[_0x7d86[40]](200)[_0x7d86[39]]({count:_0x921cx19[_0x7d86[42]],rows:_0x921cx19[_0x7d86[50]],next_page:_0x921cx1b,previous_page:_0x921cx1c,total_pages:_0x921cx1a});})[_0x7d86[41]](function(_0x921cx18){return _0x921cxe[_0x7d86[40]](500)[_0x7d86[39]]({error:_0x7d86[38]})});};exports[_0x7d86[53]]=function(_0x921cxd,_0x921cxe,_0x921cxf){User[_0x7d86[55]]({where:{role:{$in:[_0x7d86[22],_0x7d86[23],_0x7d86[54]]}}})[_0x7d86[51]](function(_0x921cx1d){return _0x921cxe[_0x7d86[40]](200)[_0x7d86[39]](_0x921cx1d)})[_0x7d86[41]](function(_0x921cx18){return handleError(_0x921cxe,_0x921cx18)})};exports[_0x7d86[56]]=function(_0x921cxd,_0x921cxe,_0x921cxf){var _0x921cx1e=_0x921cxd[_0x7d86[57]];_(_0x921cx1e)[_0x7d86[60]]()[_0x7d86[59]]()[_0x7d86[58]](function(_0x921cx15){var _0x921cx14=_0x921cx1e[_0x921cx15]});var _0x921cx1f=User[_0x7d86[61]](_0x921cxd[_0x7d86[57]]);_0x921cx1f[_0x7d86[62]]=_0x7d86[63];_0x921cx1f[_0x7d86[69]]()[_0x7d86[51]](function(_0x921cx20){var _0x921cx21=jwt[_0x7d86[68]]({id:_0x921cx20[_0x7d86[64]]},config[_0x7d86[66]][_0x7d86[65]],{expiresIn:_0x7d86[67]});return _0x921cxe[_0x7d86[40]](201)[_0x7d86[39]]({token:_0x921cx21});})[_0x7d86[41]](function(_0x921cx18){return handleError(_0x921cxe,_0x921cx18)});};exports[_0x7d86[70]]=function(_0x921cxd,_0x921cxe,_0x921cxf){User[_0x7d86[73]](_0x921cxd[_0x7d86[72]][_0x7d86[64]])[_0x7d86[51]](function(_0x921cx20){if(_0x921cx20){return _0x921cxe[_0x7d86[40]](200)[_0x7d86[39]](_0x921cx20)}else {return _0x921cxe[_0x7d86[71]](404)}})[_0x7d86[41]](function(_0x921cx18){return handleError(_0x921cxe,_0x921cx18)})};exports[_0x7d86[74]]=function(_0x921cxd,_0x921cxe,_0x921cxf){var _0x921cx22=_0x921cxd[_0x7d86[72]][_0x7d86[64]];User[_0x7d86[73]](_0x921cx22)[_0x7d86[51]](function(_0x921cx20){if(_0x921cx20){_0x921cx20[_0x7d86[74]]()[_0x7d86[51]](function(_0x921cx20){console[_0x7d86[75]](_0x921cx20);return _0x921cxe[_0x7d86[40]](200)[_0x7d86[39]](_0x921cx20);})[_0x7d86[41]](function(_0x921cx18){return handleError(_0x921cxe,_0x921cx18)})}else {return _0x921cxe[_0x7d86[71]](404)}})[_0x7d86[41]](function(_0x921cx18){return handleError(_0x921cxe,_0x921cx18)});};exports[_0x7d86[76]]=function(_0x921cxd,_0x921cxe,_0x921cxf){var _0x921cx22=_0x921cxd[_0x7d86[23]][_0x7d86[64]];var _0x921cx23=String(_0x921cxd[_0x7d86[57]][_0x7d86[77]]);var _0x921cx24=String(_0x921cxd[_0x7d86[57]][_0x7d86[78]]);User[_0x7d86[73]](_0x921cx22)[_0x7d86[51]](function(_0x921cx20){if(_0x921cx20[_0x7d86[79]](_0x921cx23)){_0x921cx20[_0x7d86[80]]=_0x921cx24;_0x921cx20[_0x7d86[69]]()[_0x7d86[51]](function(){return _0x921cxe[_0x7d86[40]](200)[_0x7d86[39]](_0x921cx20)})[_0x7d86[41]](function(_0x921cx18){return handleError(_0x921cxe,_0x921cx18)});}else {return _0x921cxe[_0x7d86[71]](403)}});};exports[_0x7d86[81]]=function(_0x921cxd,_0x921cxe,_0x921cxf){var _0x921cx24=String(_0x921cxd[_0x7d86[57]][_0x7d86[78]]);User[_0x7d86[73]](_0x921cxd[_0x7d86[72]][_0x7d86[64]])[_0x7d86[51]](function(_0x921cx20){_0x921cx20[_0x7d86[80]]=_0x921cx24;_0x921cx20[_0x7d86[69]]()[_0x7d86[51]](function(){return _0x921cxe[_0x7d86[40]](200)[_0x7d86[39]](_0x921cx20)})[_0x7d86[41]](function(_0x921cx18){return handleError(_0x921cxe,_0x921cx18)});});};exports[_0x7d86[82]]=function(_0x921cxd,_0x921cxe,_0x921cxf){var _0x921cx25= new uploadFile({dest:path[_0x7d86[87]](config[_0x7d86[83]],_0x7d86[84],_0x7d86[85],_0x7d86[86]),maxNumberOfFiles:1,minNumberOfFiles:0,acceptFileTypes:/(\.|\/)(jpeg|png)$/i,rename:function(_0x921cx26,_0x921cx27){return sr()+path[_0x7d86[89]](_0x921cx27[_0x7d86[88]])},messages:{maxNumberOfFiles:_0x7d86[90],acceptFileTypes:_0x7d86[91],invalidRequest:_0x7d86[92]}});_0x921cx25[_0x7d86[96]](_0x7d86[93],function(_0x921cx28,_0x921cx29){if(!_0x921cx29[_0x7d86[94]][_0x7d86[88]]){return _0x921cxe[_0x7d86[40]](500)[_0x7d86[39]](_0x921cx25)}else {User[_0x7d86[73]](_0x921cxd[_0x7d86[72]][_0x7d86[64]])[_0x7d86[51]](function(_0x921cx20){if(_0x921cx20){_0x921cx20[_0x7d86[95]]({userpic:_0x921cx29[_0x7d86[94]][_0x7d86[88]]})[_0x7d86[51]](function(){return _0x921cxe[_0x7d86[40]](200)[_0x7d86[39]](_0x921cx20)})[_0x7d86[41]](function(_0x921cx18){return handleError(_0x921cxe,_0x921cx18)})}else {return _0x921cxe[_0x7d86[71]](404)}})[_0x7d86[41]](function(_0x921cx18){return handleError(_0x921cxe,_0x921cx18)})}});_0x921cx25[_0x7d86[96]](_0x7d86[97],function(_0x921cx18){console[_0x7d86[75]](_0x7d86[98],_0x921cx18);return handleError(_0x921cxe,_0x921cx18);});_0x921cx25[_0x7d86[99]](_0x921cxd);};exports[_0x7d86[100]]=function(_0x921cxd,_0x921cxe,_0x921cxf){var _0x921cx22=_0x921cxd[_0x7d86[23]][_0x7d86[64]];User[_0x7d86[102]]({where:{id:_0x921cx22},attributes:[_0x7d86[64],_0x7d86[15],_0x7d86[16],_0x7d86[17],_0x7d86[18],_0x7d86[101]],include:[Module]})[_0x7d86[51]](function(_0x921cx20){if(!_0x921cx20){return _0x921cxe[_0x7d86[71]](401)};return _0x921cxe[_0x7d86[40]](200)[_0x7d86[39]](_0x921cx20);})[_0x7d86[41]](function(_0x921cx18){return handleError(_0x921cxe,_0x921cx18)});};exports[_0x7d86[103]]=function(_0x921cxd,_0x921cxe,_0x921cxf){var _0x921cx22=_0x921cxd[_0x7d86[23]][_0x7d86[64]];User[_0x7d86[73]](_0x921cxd[_0x7d86[72]][_0x7d86[64]])[_0x7d86[51]](function(_0x921cx20){if(_0x921cx20){_0x921cx20[_0x7d86[95]](_0x921cxd[_0x7d86[57]])[_0x7d86[51]](function(_0x921cx20){return _0x921cxe[_0x7d86[40]](200)[_0x7d86[39]](_0x921cx20)})[_0x7d86[41]](function(_0x921cx18){return handleError(_0x921cxe,_0x921cx18)})}else {return _0x921cxe[_0x7d86[71]](500)}})[_0x7d86[41]](function(_0x921cx18){return handleError(_0x921cxe,_0x921cx18)});};exports[_0x7d86[104]]=function(_0x921cxd,_0x921cxe,_0x921cxf){var _0x921cx2a=path[_0x7d86[87]](config[_0x7d86[83]],_0x7d86[84],_0x7d86[85],_0x7d86[86],_0x921cxd[_0x7d86[72]][_0x7d86[88]]);fs[_0x7d86[107]](_0x921cx2a,function(_0x921cx2b){if(!_0x921cx2b){_0x921cx2a=path[_0x7d86[87]](config[_0x7d86[83]],_0x7d86[84],_0x7d86[85],_0x7d86[86],_0x7d86[105])};return _0x921cxe[_0x7d86[106]](_0x921cx2a);});};exports[_0x7d86[108]]=function(_0x921cxd,_0x921cxe,_0x921cxf){if(_0x921cxd[_0x7d86[72]][_0x7d86[64]]===_0x7d86[109]){var _0x921cx2a=path[_0x7d86[87]](config[_0x7d86[83]],_0x7d86[84],_0x7d86[85],_0x7d86[86],_0x7d86[110]);fs[_0x7d86[107]](_0x921cx2a,function(_0x921cx2b){return _0x921cxe[_0x7d86[106]](_0x921cx2a)});}else {User[_0x7d86[73]](_0x921cxd[_0x7d86[72]][_0x7d86[64]])[_0x7d86[51]](function(_0x921cx20){if(_0x921cx20){var _0x921cx2a=path[_0x7d86[87]](config[_0x7d86[83]],_0x7d86[84],_0x7d86[85],_0x7d86[86],_0x921cx20[_0x7d86[101]]?_0x921cx20[_0x7d86[101]]:_0x7d86[105]);fs[_0x7d86[107]](_0x921cx2a,function(_0x921cx2b){if(!_0x921cx2b){_0x921cx2a=path[_0x7d86[87]](config[_0x7d86[83]],_0x7d86[84],_0x7d86[85],_0x7d86[86],_0x7d86[105])};return _0x921cxe[_0x7d86[106]](_0x921cx2a);});}else {return _0x921cxe[_0x7d86[71]](500)}})[_0x7d86[41]](function(_0x921cx18){return handleError(_0x921cxe,_0x921cx18)})}};exports[_0x7d86[111]]=function(_0x921cxd,_0x921cxe){User[_0x7d86[74]]({where:{id:_0x921cxd[_0x7d86[20]][_0x7d86[64]]},individualHooks:true})[_0x7d86[51]](function(){return _0x921cxe[_0x7d86[71]](204)})[_0x7d86[41]](function(_0x921cx18){return handleError(_0x921cxe,_0x921cx18)})};exports[_0x7d86[112]]=function(_0x921cxd,_0x921cxe){var _0x921cx2c={};_0x921cx2c[_0x921cxd[_0x7d86[72]][_0x7d86[113]]]=_0x921cxd[_0x7d86[57]][_0x7d86[114]];User[_0x7d86[52]]({where:_0x921cx2c})[_0x7d86[51]](function(_0x921cx19){if(_0x921cx19[_0x7d86[42]]){return _0x921cxe[_0x7d86[40]](200)[_0x7d86[39]]({isValid:false,value:_0x921cxd[_0x7d86[57]][_0x7d86[114]]})};return _0x921cxe[_0x7d86[40]](200)[_0x7d86[39]]({isValid:true,value:_0x921cxd[_0x7d86[57]][_0x7d86[114]]});})[_0x7d86[41]](function(_0x921cx18){return handleError(_0x921cxe,_0x921cx18)});};exports[_0x7d86[115]]=function(_0x921cxd,_0x921cxe,_0x921cxf){_0x921cxe[_0x7d86[117]](_0x7d86[116])};function handleError(_0x921cxe,_0x921cx18){return _0x921cxe[_0x7d86[40]](500)[_0x7d86[39]](_0x921cx18)}
\ No newline at end of file
index 89da6c8..2eec0a8 100644 (file)
@@ -1 +1 @@
-var _0xc13a=["\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\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"];_0xc13a[0];var user=require(_0xc13a[2])[_0xc13a[1]];exports[_0xc13a[3]]=function(_0x8e23x2){user[_0xc13a[4]](function(_0x8e23x3){onSave(_0x8e23x2,_0x8e23x3)});user[_0xc13a[5]](function(_0x8e23x3){onSave(_0x8e23x2,_0x8e23x3)});user[_0xc13a[6]](function(_0x8e23x3){onRemove(_0x8e23x2,_0x8e23x3)});};function onSave(_0x8e23x2,_0x8e23x3,_0x8e23x5){if(_0x8e23x3[_0xc13a[7]]===_0xc13a[8]){_0x8e23x2[_0xc13a[10]](_0xc13a[9],_0x8e23x3)}}function onRemove(_0x8e23x2,_0x8e23x3,_0x8e23x5){if(_0x8e23x3[_0xc13a[7]]===_0xc13a[8]){_0x8e23x2[_0xc13a[10]](_0xc13a[11],_0x8e23x3)}}
\ No newline at end of file
+var _0xc772=["\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\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"];_0xc772[0];var user=require(_0xc772[2])[_0xc772[1]];exports[_0xc772[3]]=function(_0x8988x2){user[_0xc772[4]](function(_0x8988x3){onSave(_0x8988x2,_0x8988x3)});user[_0xc772[5]](function(_0x8988x3){onSave(_0x8988x2,_0x8988x3)});user[_0xc772[6]](function(_0x8988x3){onRemove(_0x8988x2,_0x8988x3)});};function onSave(_0x8988x2,_0x8988x3,_0x8988x5){if(_0x8988x3[_0xc772[7]]===_0xc772[8]){_0x8988x2[_0xc772[10]](_0xc772[9],_0x8988x3)}}function onRemove(_0x8988x2,_0x8988x3,_0x8988x5){if(_0x8988x3[_0xc772[7]]===_0xc772[8]){_0x8988x2[_0xc772[10]](_0xc772[11],_0x8988x3)}}
\ No newline at end of file
index 69a3c17..dd47674 100644 (file)
@@ -1 +1 @@
-var _0x5938=["\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"];_0x5938[0];var express=require(_0x5938[1]);var controller=require(_0x5938[2]);var router=express.Router();router[_0x5938[5]](_0x5938[3],controller[_0x5938[4]]);router[_0x5938[5]](_0x5938[6],controller[_0x5938[7]]);router[_0x5938[9]](_0x5938[3],controller[_0x5938[8]]);router[_0x5938[11]](_0x5938[6],controller[_0x5938[10]]);router[_0x5938[12]](_0x5938[6],controller[_0x5938[10]]);router[_0x5938[14]](_0x5938[6],controller[_0x5938[13]]);module[_0x5938[15]]=router;
\ No newline at end of file
+var _0xceea=["\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"];_0xceea[0];var express=require(_0xceea[1]);var controller=require(_0xceea[2]);var router=express.Router();router[_0xceea[5]](_0xceea[3],controller[_0xceea[4]]);router[_0xceea[5]](_0xceea[6],controller[_0xceea[7]]);router[_0xceea[9]](_0xceea[3],controller[_0xceea[8]]);router[_0xceea[11]](_0xceea[6],controller[_0xceea[10]]);router[_0xceea[12]](_0xceea[6],controller[_0xceea[10]]);router[_0xceea[14]](_0xceea[6],controller[_0xceea[13]]);module[_0xceea[15]]=router;
\ No newline at end of file
index 9c7d08a..71ae241 100644 (file)
@@ -1 +1 @@
-var _0x9468=["\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"];_0x9468[0];var _=require(_0x9468[1]);var UserHasChatQueue=require(_0x9468[3])[_0x9468[2]];exports[_0x9468[4]]=function(_0xde99x3,_0xde99x4){UserHasChatQueue[_0x9468[10]](_0xde99x3[_0x9468[9]]?{where:_0xde99x3[_0x9468[9]]}:{})[_0x9468[8]](function(_0xde99x6){return _0xde99x4[_0x9468[7]](200)[_0x9468[6]](_0xde99x6)})[_0x9468[5]](function(_0xde99x5){return handleError(_0xde99x4,_0xde99x5)})};exports[_0x9468[11]]=function(_0xde99x3,_0xde99x4){UserHasChatQueue[_0x9468[15]](_0xde99x3[_0x9468[14]][_0x9468[13]])[_0x9468[8]](function(_0xde99x7){if(!_0xde99x7){return _0xde99x4[_0x9468[12]](404)};return _0xde99x4[_0x9468[6]](_0xde99x7);})[_0x9468[5]](function(_0xde99x5){return handleError(_0xde99x4,_0xde99x5)})};exports[_0x9468[16]]=function(_0xde99x3,_0xde99x4){UserHasChatQueue[_0x9468[16]](_0xde99x3[_0x9468[17]])[_0x9468[8]](function(_0xde99x7){return _0xde99x4[_0x9468[7]](201)[_0x9468[6]](_0xde99x7)})[_0x9468[5]](function(_0xde99x5){return handleError(_0xde99x4,_0xde99x5)})};exports[_0x9468[18]]=function(_0xde99x3,_0xde99x4){if(_0xde99x3[_0x9468[17]][_0x9468[13]]){delete _0xde99x3[_0x9468[17]][_0x9468[13]]};UserHasChatQueue[_0x9468[21]]({where:{id:_0xde99x3[_0x9468[14]][_0x9468[13]]}})[_0x9468[8]](function(_0xde99x7){if(!_0xde99x7){return _0xde99x4[_0x9468[12]](404)};var _0xde99x8=_[_0x9468[19]](_0xde99x7,_0xde99x3[_0x9468[17]]);_0xde99x8[_0x9468[20]]()[_0x9468[8]](function(){return _0xde99x4[_0x9468[7]](200)[_0x9468[6]](_0xde99x7)})[_0x9468[5]](function(_0xde99x5){return handleError(_0xde99x4,_0xde99x5)});})[_0x9468[5]](function(_0xde99x5){return handleError(_0xde99x4,_0xde99x5)});};exports[_0x9468[22]]=function(_0xde99x3,_0xde99x4){UserHasChatQueue[_0x9468[21]]({where:{id:_0xde99x3[_0x9468[14]][_0x9468[13]]}})[_0x9468[8]](function(_0xde99x7){if(!_0xde99x7){return _0xde99x4[_0x9468[12]](404)};_0xde99x7[_0x9468[22]]()[_0x9468[8]](function(){return _0xde99x4[_0x9468[12]](204)})[_0x9468[5]](function(_0xde99x5){return handleError(_0xde99x4,_0xde99x5)});})[_0x9468[5]](function(_0xde99x5){return handleError(_0xde99x4,_0xde99x5)})};function handleError(_0xde99x4,_0xde99x5){return _0xde99x4[_0x9468[7]](500)[_0x9468[6]](_0xde99x5)}
\ No newline at end of file
+var _0x59fa=["\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"];_0x59fa[0];var _=require(_0x59fa[1]);var UserHasChatQueue=require(_0x59fa[3])[_0x59fa[2]];exports[_0x59fa[4]]=function(_0xfcddx3,_0xfcddx4){UserHasChatQueue[_0x59fa[10]](_0xfcddx3[_0x59fa[9]]?{where:_0xfcddx3[_0x59fa[9]]}:{})[_0x59fa[8]](function(_0xfcddx6){return _0xfcddx4[_0x59fa[7]](200)[_0x59fa[6]](_0xfcddx6)})[_0x59fa[5]](function(_0xfcddx5){return handleError(_0xfcddx4,_0xfcddx5)})};exports[_0x59fa[11]]=function(_0xfcddx3,_0xfcddx4){UserHasChatQueue[_0x59fa[15]](_0xfcddx3[_0x59fa[14]][_0x59fa[13]])[_0x59fa[8]](function(_0xfcddx7){if(!_0xfcddx7){return _0xfcddx4[_0x59fa[12]](404)};return _0xfcddx4[_0x59fa[6]](_0xfcddx7);})[_0x59fa[5]](function(_0xfcddx5){return handleError(_0xfcddx4,_0xfcddx5)})};exports[_0x59fa[16]]=function(_0xfcddx3,_0xfcddx4){UserHasChatQueue[_0x59fa[16]](_0xfcddx3[_0x59fa[17]])[_0x59fa[8]](function(_0xfcddx7){return _0xfcddx4[_0x59fa[7]](201)[_0x59fa[6]](_0xfcddx7)})[_0x59fa[5]](function(_0xfcddx5){return handleError(_0xfcddx4,_0xfcddx5)})};exports[_0x59fa[18]]=function(_0xfcddx3,_0xfcddx4){if(_0xfcddx3[_0x59fa[17]][_0x59fa[13]]){delete _0xfcddx3[_0x59fa[17]][_0x59fa[13]]};UserHasChatQueue[_0x59fa[21]]({where:{id:_0xfcddx3[_0x59fa[14]][_0x59fa[13]]}})[_0x59fa[8]](function(_0xfcddx7){if(!_0xfcddx7){return _0xfcddx4[_0x59fa[12]](404)};var _0xfcddx8=_[_0x59fa[19]](_0xfcddx7,_0xfcddx3[_0x59fa[17]]);_0xfcddx8[_0x59fa[20]]()[_0x59fa[8]](function(){return _0xfcddx4[_0x59fa[7]](200)[_0x59fa[6]](_0xfcddx7)})[_0x59fa[5]](function(_0xfcddx5){return handleError(_0xfcddx4,_0xfcddx5)});})[_0x59fa[5]](function(_0xfcddx5){return handleError(_0xfcddx4,_0xfcddx5)});};exports[_0x59fa[22]]=function(_0xfcddx3,_0xfcddx4){UserHasChatQueue[_0x59fa[21]]({where:{id:_0xfcddx3[_0x59fa[14]][_0x59fa[13]]}})[_0x59fa[8]](function(_0xfcddx7){if(!_0xfcddx7){return _0xfcddx4[_0x59fa[12]](404)};_0xfcddx7[_0x59fa[22]]()[_0x59fa[8]](function(){return _0xfcddx4[_0x59fa[12]](204)})[_0x59fa[5]](function(_0xfcddx5){return handleError(_0xfcddx4,_0xfcddx5)});})[_0x59fa[5]](function(_0xfcddx5){return handleError(_0xfcddx4,_0xfcddx5)})};function handleError(_0xfcddx4,_0xfcddx5){return _0xfcddx4[_0x59fa[7]](500)[_0x59fa[6]](_0xfcddx5)}
\ No newline at end of file
index 64c6cb7..da7a9af 100644 (file)
@@ -1 +1 @@
-var _0xe373=["\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","\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\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\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\x72\x65\x6D\x6F\x76\x65"];_0xe373[0];var UserHasChatQueue=require(_0xe373[2])[_0xe373[1]];exports[_0xe373[3]]=function(_0xfad3x2){UserHasChatQueue[_0xe373[4]](function(_0xfad3x3){onSave(_0xfad3x2,_0xfad3x3)});UserHasChatQueue[_0xe373[5]](function(_0xfad3x3){onRemove(_0xfad3x2,_0xfad3x3)});};function onSave(_0xfad3x2,_0xfad3x3,_0xfad3x5){_0xfad3x2[_0xe373[7]](_0xe373[6],_0xfad3x3)}function onRemove(_0xfad3x2,_0xfad3x3,_0xfad3x5){_0xfad3x2[_0xe373[7]](_0xe373[8],_0xfad3x3)}
\ No newline at end of file
+var _0xadc1=["\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","\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\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\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\x72\x65\x6D\x6F\x76\x65"];_0xadc1[0];var UserHasChatQueue=require(_0xadc1[2])[_0xadc1[1]];exports[_0xadc1[3]]=function(_0x9e45x2){UserHasChatQueue[_0xadc1[4]](function(_0x9e45x3){onSave(_0x9e45x2,_0x9e45x3)});UserHasChatQueue[_0xadc1[5]](function(_0x9e45x3){onRemove(_0x9e45x2,_0x9e45x3)});};function onSave(_0x9e45x2,_0x9e45x3,_0x9e45x5){_0x9e45x2[_0xadc1[7]](_0xadc1[6],_0x9e45x3)}function onRemove(_0x9e45x2,_0x9e45x3,_0x9e45x5){_0x9e45x2[_0xadc1[7]](_0xadc1[8],_0x9e45x3)}
\ No newline at end of file
index 418ecd0..8582299 100644 (file)
@@ -1 +1 @@
-var _0xfc11=["\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\x63\x68\x61\x74\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\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\x63\x68\x61\x74\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\x73","\x67\x65\x74"];_0xfc11[0];var should=require(_0xfc11[1]);var app=require(_0xfc11[2]);var request=require(_0xfc11[3]);describe(_0xfc11[4],function(){it(_0xfc11[5],function(_0x105dx4){request(app)[_0xfc11[13]](_0xfc11[12])[_0xfc11[11]](200)[_0xfc11[11]](_0xfc11[10],/json/)[_0xfc11[9]](function(_0x105dx5,_0x105dx6){if(_0x105dx5){return _0x105dx4(_0x105dx5)};_0x105dx6[_0xfc11[8]][_0xfc11[1]][_0xfc11[7]][_0xfc11[6]](Array);_0x105dx4();})})});
\ No newline at end of file
+var _0xddbc=["\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\x63\x68\x61\x74\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\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\x63\x68\x61\x74\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\x73","\x67\x65\x74"];_0xddbc[0];var should=require(_0xddbc[1]);var app=require(_0xddbc[2]);var request=require(_0xddbc[3]);describe(_0xddbc[4],function(){it(_0xddbc[5],function(_0xad7dx4){request(app)[_0xddbc[13]](_0xddbc[12])[_0xddbc[11]](200)[_0xddbc[11]](_0xddbc[10],/json/)[_0xddbc[9]](function(_0xad7dx5,_0xad7dx6){if(_0xad7dx5){return _0xad7dx4(_0xad7dx5)};_0xad7dx6[_0xddbc[8]][_0xddbc[1]][_0xddbc[7]][_0xddbc[6]](Array);_0xad7dx4();})})});
\ No newline at end of file
index de6ff97..c7aca49 100644 (file)
@@ -1 +1 @@
-var _0x2178=["\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"];_0x2178[0];var express=require(_0x2178[1]);var controller=require(_0x2178[2]);var auth=require(_0x2178[3]);var router=express.Router();router[_0x2178[6]](_0x2178[4],controller[_0x2178[5]]);module[_0x2178[7]]=router;
\ No newline at end of file
+var _0xd6ca=["\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"];_0xd6ca[0];var express=require(_0xd6ca[1]);var controller=require(_0xd6ca[2]);var auth=require(_0xd6ca[3]);var router=express.Router();router[_0xd6ca[6]](_0xd6ca[4],controller[_0xd6ca[5]]);module[_0xd6ca[7]]=router;
\ No newline at end of file
index 2c68b54..0d275c0 100644 (file)
@@ -1 +1 @@
-var _0x4f6c=["\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"];_0x4f6c[0];var _=require(_0x4f6c[1]);var UserHasChatRoom=require(_0x4f6c[3])[_0x4f6c[2]];exports[_0x4f6c[4]]=function(_0xf5bdx3,_0xf5bdx4){UserHasChatRoom[_0x4f6c[9]]()[_0x4f6c[8]](function(_0xf5bdx6){return _0xf5bdx4[_0x4f6c[7]](200)[_0x4f6c[6]](_0xf5bdx6)})[_0x4f6c[5]](function(_0xf5bdx5){return handleError(_0xf5bdx4,_0xf5bdx5)})};exports[_0x4f6c[10]]=function(_0xf5bdx3,_0xf5bdx4){UserHasChatRoom[_0x4f6c[14]](_0xf5bdx3[_0x4f6c[13]][_0x4f6c[12]])[_0x4f6c[8]](function(_0xf5bdx7){if(!_0xf5bdx7){return _0xf5bdx4[_0x4f6c[11]](404)};return _0xf5bdx4[_0x4f6c[6]](_0xf5bdx7);})[_0x4f6c[5]](function(_0xf5bdx5){return handleError(_0xf5bdx4,_0xf5bdx5)})};exports[_0x4f6c[15]]=function(_0xf5bdx3,_0xf5bdx4){UserHasChatRoom[_0x4f6c[15]](_0xf5bdx3[_0x4f6c[16]])[_0x4f6c[8]](function(_0xf5bdx7){return _0xf5bdx4[_0x4f6c[7]](201)[_0x4f6c[6]](_0xf5bdx7)})[_0x4f6c[5]](function(_0xf5bdx5){return handleError(_0xf5bdx4,_0xf5bdx5)})};exports[_0x4f6c[17]]=function(_0xf5bdx3,_0xf5bdx4){UserHasChatRoom[_0x4f6c[21]]({where:{UserId:_0xf5bdx3[_0x4f6c[13]][_0x4f6c[19]],ChatRoomId:_0xf5bdx3[_0x4f6c[13]][_0x4f6c[20]]},limit:1})[_0x4f6c[8]](function(_0xf5bdx7){if(!_0xf5bdx7){return _0xf5bdx4[_0x4f6c[11]](404)};_0xf5bdx7[_0x4f6c[18]](_0xf5bdx3[_0x4f6c[16]])[_0x4f6c[8]](function(){return _0xf5bdx4[_0x4f6c[7]](200)[_0x4f6c[6]](_0xf5bdx7)})[_0x4f6c[5]](function(_0xf5bdx5){return handleError(_0xf5bdx4,_0xf5bdx5)});})[_0x4f6c[5]](function(_0xf5bdx5){return handleError(_0xf5bdx4,_0xf5bdx5)})};exports[_0x4f6c[22]]=function(_0xf5bdx3,_0xf5bdx4){UserHasChatRoom[_0x4f6c[14]](_0xf5bdx3[_0x4f6c[13]][_0x4f6c[12]])[_0x4f6c[8]](function(_0xf5bdx7){if(!_0xf5bdx7){return _0xf5bdx4[_0x4f6c[11]](404)};_0xf5bdx7[_0x4f6c[22]]()[_0x4f6c[8]](function(){return _0xf5bdx4[_0x4f6c[11]](204)})[_0x4f6c[5]](function(_0xf5bdx5){return handleError(_0xf5bdx4,_0xf5bdx5)});})[_0x4f6c[5]](function(_0xf5bdx5){return handleError(_0xf5bdx4,_0xf5bdx5)})};function handleError(_0xf5bdx4,_0xf5bdx5){return _0xf5bdx4[_0x4f6c[7]](500)[_0x4f6c[6]](_0xf5bdx5)}
\ No newline at end of file
+var _0xc3bd=["\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"];_0xc3bd[0];var _=require(_0xc3bd[1]);var UserHasChatRoom=require(_0xc3bd[3])[_0xc3bd[2]];exports[_0xc3bd[4]]=function(_0xa2afx3,_0xa2afx4){UserHasChatRoom[_0xc3bd[9]]()[_0xc3bd[8]](function(_0xa2afx6){return _0xa2afx4[_0xc3bd[7]](200)[_0xc3bd[6]](_0xa2afx6)})[_0xc3bd[5]](function(_0xa2afx5){return handleError(_0xa2afx4,_0xa2afx5)})};exports[_0xc3bd[10]]=function(_0xa2afx3,_0xa2afx4){UserHasChatRoom[_0xc3bd[14]](_0xa2afx3[_0xc3bd[13]][_0xc3bd[12]])[_0xc3bd[8]](function(_0xa2afx7){if(!_0xa2afx7){return _0xa2afx4[_0xc3bd[11]](404)};return _0xa2afx4[_0xc3bd[6]](_0xa2afx7);})[_0xc3bd[5]](function(_0xa2afx5){return handleError(_0xa2afx4,_0xa2afx5)})};exports[_0xc3bd[15]]=function(_0xa2afx3,_0xa2afx4){UserHasChatRoom[_0xc3bd[15]](_0xa2afx3[_0xc3bd[16]])[_0xc3bd[8]](function(_0xa2afx7){return _0xa2afx4[_0xc3bd[7]](201)[_0xc3bd[6]](_0xa2afx7)})[_0xc3bd[5]](function(_0xa2afx5){return handleError(_0xa2afx4,_0xa2afx5)})};exports[_0xc3bd[17]]=function(_0xa2afx3,_0xa2afx4){UserHasChatRoom[_0xc3bd[21]]({where:{UserId:_0xa2afx3[_0xc3bd[13]][_0xc3bd[19]],ChatRoomId:_0xa2afx3[_0xc3bd[13]][_0xc3bd[20]]},limit:1})[_0xc3bd[8]](function(_0xa2afx7){if(!_0xa2afx7){return _0xa2afx4[_0xc3bd[11]](404)};_0xa2afx7[_0xc3bd[18]](_0xa2afx3[_0xc3bd[16]])[_0xc3bd[8]](function(){return _0xa2afx4[_0xc3bd[7]](200)[_0xc3bd[6]](_0xa2afx7)})[_0xc3bd[5]](function(_0xa2afx5){return handleError(_0xa2afx4,_0xa2afx5)});})[_0xc3bd[5]](function(_0xa2afx5){return handleError(_0xa2afx4,_0xa2afx5)})};exports[_0xc3bd[22]]=function(_0xa2afx3,_0xa2afx4){UserHasChatRoom[_0xc3bd[14]](_0xa2afx3[_0xc3bd[13]][_0xc3bd[12]])[_0xc3bd[8]](function(_0xa2afx7){if(!_0xa2afx7){return _0xa2afx4[_0xc3bd[11]](404)};_0xa2afx7[_0xc3bd[22]]()[_0xc3bd[8]](function(){return _0xa2afx4[_0xc3bd[11]](204)})[_0xc3bd[5]](function(_0xa2afx5){return handleError(_0xa2afx4,_0xa2afx5)});})[_0xc3bd[5]](function(_0xa2afx5){return handleError(_0xa2afx4,_0xa2afx5)})};function handleError(_0xa2afx4,_0xa2afx5){return _0xa2afx4[_0xc3bd[7]](500)[_0xc3bd[6]](_0xa2afx5)}
\ No newline at end of file
index 3cc5f8e..d9ce01a 100644 (file)
@@ -1 +1 @@
-var _0x9c54=["\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","\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","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65\x73","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x5F\x63\x68\x61\x74\x52\x6F\x6F\x6D","\x6C\x6F\x67","\x69\x64","\x70\x6C\x75\x63\x6B","\x75\x73\x65\x72\x49\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","\x74\x68\x65\x6E","\x65\x6D\x61\x69\x6C","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x6E\x61\x6D\x65","\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"];_0x9c54[0];var _=require(_0x9c54[1]);var User=require(_0x9c54[3])[_0x9c54[2]];var ChatRoom=require(_0x9c54[3])[_0x9c54[4]];var ChatVisitor=require(_0x9c54[3])[_0x9c54[5]];var UserHasChatRoom=require(_0x9c54[3])[_0x9c54[6]];exports[_0x9c54[7]]=function(_0x9700x6){UserHasChatRoom[_0x9c54[8]](function(_0x9700x7){onSave(_0x9700x6,_0x9700x7)});UserHasChatRoom[_0x9c54[9]](function(_0x9700x7){onRemove(_0x9700x6,_0x9700x7)});};function onSave(_0x9700x6,_0x9700x7){var _0x9700x9;return ChatRoom[_0x9c54[26]](_0x9700x7.ChatRoomId,{include:[{model:ChatVisitor,attributes:[_0x9c54[16],_0x9c54[23],_0x9c54[24]]},{model:User,attributes:[_0x9c54[16],_0x9c54[23],_0x9c54[25],_0x9c54[24]]}]})[_0x9c54[22]](function(_0x9700xb){_0x9700x9=_0x9700xb;_0x9700x9[_0x9c54[13]][_0x9c54[12]]=[];console[_0x9c54[15]](_0x9c54[14],_0x9700x9);var _0x9700xc=_[_0x9c54[17]](_0x9700x9.Users,_0x9c54[16]);_0x9700xc[_0x9c54[21]](function(_0x9700xd){if(_0x9700x6[_0x9c54[18]]==_0x9700xd){_0x9700x6[_0x9c54[20]](_0x9c54[19],_0x9700x9[_0x9c54[13]])}});return ;})[_0x9c54[11]](function(_0x9700xa){console[_0x9c54[10]](_0x9700xa)});}function onRemove(_0x9700x6,_0x9700x7){_0x9700x6[_0x9c54[20]](_0x9c54[27],_0x9700x7)}
\ No newline at end of file
+var _0xaf3a=["\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","\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","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65\x73","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x5F\x63\x68\x61\x74\x52\x6F\x6F\x6D","\x6C\x6F\x67","\x69\x64","\x70\x6C\x75\x63\x6B","\x75\x73\x65\x72\x49\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","\x74\x68\x65\x6E","\x65\x6D\x61\x69\x6C","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x6E\x61\x6D\x65","\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"];_0xaf3a[0];var _=require(_0xaf3a[1]);var User=require(_0xaf3a[3])[_0xaf3a[2]];var ChatRoom=require(_0xaf3a[3])[_0xaf3a[4]];var ChatVisitor=require(_0xaf3a[3])[_0xaf3a[5]];var UserHasChatRoom=require(_0xaf3a[3])[_0xaf3a[6]];exports[_0xaf3a[7]]=function(_0x7f51x6){UserHasChatRoom[_0xaf3a[8]](function(_0x7f51x7){onSave(_0x7f51x6,_0x7f51x7)});UserHasChatRoom[_0xaf3a[9]](function(_0x7f51x7){onRemove(_0x7f51x6,_0x7f51x7)});};function onSave(_0x7f51x6,_0x7f51x7){var _0x7f51x9;return ChatRoom[_0xaf3a[26]](_0x7f51x7.ChatRoomId,{include:[{model:ChatVisitor,attributes:[_0xaf3a[16],_0xaf3a[23],_0xaf3a[24]]},{model:User,attributes:[_0xaf3a[16],_0xaf3a[23],_0xaf3a[25],_0xaf3a[24]]}]})[_0xaf3a[22]](function(_0x7f51xb){_0x7f51x9=_0x7f51xb;_0x7f51x9[_0xaf3a[13]][_0xaf3a[12]]=[];console[_0xaf3a[15]](_0xaf3a[14],_0x7f51x9);var _0x7f51xc=_[_0xaf3a[17]](_0x7f51x9.Users,_0xaf3a[16]);_0x7f51xc[_0xaf3a[21]](function(_0x7f51xd){if(_0x7f51x6[_0xaf3a[18]]==_0x7f51xd){_0x7f51x6[_0xaf3a[20]](_0xaf3a[19],_0x7f51x9[_0xaf3a[13]])}});return ;})[_0xaf3a[11]](function(_0x7f51xa){console[_0xaf3a[10]](_0x7f51xa)});}function onRemove(_0x7f51x6,_0x7f51x7){_0x7f51x6[_0xaf3a[20]](_0xaf3a[27],_0x7f51x7)}
\ No newline at end of file
index b9feb98..5879e8f 100644 (file)
@@ -1 +1 @@
-var _0xdef6=["\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\x63\x68\x61\x74\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x72\x6F\x6F\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\x63\x68\x61\x74\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x72\x6F\x6F\x6D\x73","\x67\x65\x74"];_0xdef6[0];var should=require(_0xdef6[1]);var app=require(_0xdef6[2]);var request=require(_0xdef6[3]);describe(_0xdef6[4],function(){it(_0xdef6[5],function(_0xc775x4){request(app)[_0xdef6[13]](_0xdef6[12])[_0xdef6[11]](200)[_0xdef6[11]](_0xdef6[10],/json/)[_0xdef6[9]](function(_0xc775x5,_0xc775x6){if(_0xc775x5){return _0xc775x4(_0xc775x5)};_0xc775x6[_0xdef6[8]][_0xdef6[1]][_0xdef6[7]][_0xdef6[6]](Array);_0xc775x4();})})});
\ No newline at end of file
+var _0x254b=["\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\x63\x68\x61\x74\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x72\x6F\x6F\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\x63\x68\x61\x74\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x72\x6F\x6F\x6D\x73","\x67\x65\x74"];_0x254b[0];var should=require(_0x254b[1]);var app=require(_0x254b[2]);var request=require(_0x254b[3]);describe(_0x254b[4],function(){it(_0x254b[5],function(_0x11dcx4){request(app)[_0x254b[13]](_0x254b[12])[_0x254b[11]](200)[_0x254b[11]](_0x254b[10],/json/)[_0x254b[9]](function(_0x11dcx5,_0x11dcx6){if(_0x11dcx5){return _0x11dcx4(_0x11dcx5)};_0x11dcx6[_0x254b[8]][_0x254b[1]][_0x254b[7]][_0x254b[6]](Array);_0x11dcx4();})})});
\ No newline at end of file
index e68cdec..513dc79 100644 (file)
@@ -1 +1 @@
-var _0xffda=["\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"];_0xffda[0];var express=require(_0xffda[1]);var controller=require(_0xffda[2]);var router=express.Router();router[_0xffda[5]](_0xffda[3],controller[_0xffda[4]]);router[_0xffda[5]](_0xffda[6],controller[_0xffda[7]]);router[_0xffda[9]](_0xffda[3],controller[_0xffda[8]]);router[_0xffda[11]](_0xffda[6],controller[_0xffda[10]]);router[_0xffda[12]](_0xffda[6],controller[_0xffda[10]]);router[_0xffda[14]](_0xffda[6],controller[_0xffda[13]]);module[_0xffda[15]]=router;
\ No newline at end of file
+var _0x5e42=["\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"];_0x5e42[0];var express=require(_0x5e42[1]);var controller=require(_0x5e42[2]);var router=express.Router();router[_0x5e42[5]](_0x5e42[3],controller[_0x5e42[4]]);router[_0x5e42[5]](_0x5e42[6],controller[_0x5e42[7]]);router[_0x5e42[9]](_0x5e42[3],controller[_0x5e42[8]]);router[_0x5e42[11]](_0x5e42[6],controller[_0x5e42[10]]);router[_0x5e42[12]](_0x5e42[6],controller[_0x5e42[10]]);router[_0x5e42[14]](_0x5e42[6],controller[_0x5e42[13]]);module[_0x5e42[15]]=router;
\ No newline at end of file
index f0a792a..10eb24f 100644 (file)
@@ -1 +1 @@
-var _0x30fd=["\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"];_0x30fd[0];var _=require(_0x30fd[1]);var UserHasFaxQueue=require(_0x30fd[3])[_0x30fd[2]];exports[_0x30fd[4]]=function(_0x9c46x3,_0x9c46x4){UserHasFaxQueue[_0x30fd[10]](_0x9c46x3[_0x30fd[9]]?{where:_0x9c46x3[_0x30fd[9]]}:{})[_0x30fd[8]](function(_0x9c46x6){return _0x9c46x4[_0x30fd[7]](200)[_0x30fd[6]](_0x9c46x6)})[_0x30fd[5]](function(_0x9c46x5){return handleError(_0x9c46x4,_0x9c46x5)})};exports[_0x30fd[11]]=function(_0x9c46x3,_0x9c46x4){UserHasFaxQueue[_0x30fd[15]](_0x9c46x3[_0x30fd[14]][_0x30fd[13]])[_0x30fd[8]](function(_0x9c46x7){if(!_0x9c46x7){return _0x9c46x4[_0x30fd[12]](404)};return _0x9c46x4[_0x30fd[6]](_0x9c46x7);})[_0x30fd[5]](function(_0x9c46x5){return handleError(_0x9c46x4,_0x9c46x5)})};exports[_0x30fd[16]]=function(_0x9c46x3,_0x9c46x4){UserHasFaxQueue[_0x30fd[16]](_0x9c46x3[_0x30fd[17]])[_0x30fd[8]](function(_0x9c46x7){return _0x9c46x4[_0x30fd[7]](201)[_0x30fd[6]](_0x9c46x7)})[_0x30fd[5]](function(_0x9c46x5){return handleError(_0x9c46x4,_0x9c46x5)})};exports[_0x30fd[18]]=function(_0x9c46x3,_0x9c46x4){if(_0x9c46x3[_0x30fd[17]][_0x30fd[13]]){delete _0x9c46x3[_0x30fd[17]][_0x30fd[13]]};UserHasFaxQueue[_0x30fd[21]]({where:{id:_0x9c46x3[_0x30fd[14]][_0x30fd[13]]}})[_0x30fd[8]](function(_0x9c46x7){if(!_0x9c46x7){return _0x9c46x4[_0x30fd[12]](404)};var _0x9c46x8=_[_0x30fd[19]](_0x9c46x7,_0x9c46x3[_0x30fd[17]]);_0x9c46x8[_0x30fd[20]]()[_0x30fd[8]](function(){return _0x9c46x4[_0x30fd[7]](200)[_0x30fd[6]](_0x9c46x7)})[_0x30fd[5]](function(_0x9c46x5){return handleError(_0x9c46x4,_0x9c46x5)});})[_0x30fd[5]](function(_0x9c46x5){return handleError(_0x9c46x4,_0x9c46x5)});};exports[_0x30fd[22]]=function(_0x9c46x3,_0x9c46x4){UserHasFaxQueue[_0x30fd[21]]({where:{id:_0x9c46x3[_0x30fd[14]][_0x30fd[13]]}})[_0x30fd[8]](function(_0x9c46x7){if(!_0x9c46x7){return _0x9c46x4[_0x30fd[12]](404)};_0x9c46x7[_0x30fd[22]]()[_0x30fd[8]](function(){return _0x9c46x4[_0x30fd[12]](204)})[_0x30fd[5]](function(_0x9c46x5){return handleError(_0x9c46x4,_0x9c46x5)});})[_0x30fd[5]](function(_0x9c46x5){return handleError(_0x9c46x4,_0x9c46x5)})};function handleError(_0x9c46x4,_0x9c46x5){return _0x9c46x4[_0x30fd[7]](500)[_0x30fd[6]](_0x9c46x5)}
\ No newline at end of file
+var _0x3508=["\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"];_0x3508[0];var _=require(_0x3508[1]);var UserHasFaxQueue=require(_0x3508[3])[_0x3508[2]];exports[_0x3508[4]]=function(_0x26cax3,_0x26cax4){UserHasFaxQueue[_0x3508[10]](_0x26cax3[_0x3508[9]]?{where:_0x26cax3[_0x3508[9]]}:{})[_0x3508[8]](function(_0x26cax6){return _0x26cax4[_0x3508[7]](200)[_0x3508[6]](_0x26cax6)})[_0x3508[5]](function(_0x26cax5){return handleError(_0x26cax4,_0x26cax5)})};exports[_0x3508[11]]=function(_0x26cax3,_0x26cax4){UserHasFaxQueue[_0x3508[15]](_0x26cax3[_0x3508[14]][_0x3508[13]])[_0x3508[8]](function(_0x26cax7){if(!_0x26cax7){return _0x26cax4[_0x3508[12]](404)};return _0x26cax4[_0x3508[6]](_0x26cax7);})[_0x3508[5]](function(_0x26cax5){return handleError(_0x26cax4,_0x26cax5)})};exports[_0x3508[16]]=function(_0x26cax3,_0x26cax4){UserHasFaxQueue[_0x3508[16]](_0x26cax3[_0x3508[17]])[_0x3508[8]](function(_0x26cax7){return _0x26cax4[_0x3508[7]](201)[_0x3508[6]](_0x26cax7)})[_0x3508[5]](function(_0x26cax5){return handleError(_0x26cax4,_0x26cax5)})};exports[_0x3508[18]]=function(_0x26cax3,_0x26cax4){if(_0x26cax3[_0x3508[17]][_0x3508[13]]){delete _0x26cax3[_0x3508[17]][_0x3508[13]]};UserHasFaxQueue[_0x3508[21]]({where:{id:_0x26cax3[_0x3508[14]][_0x3508[13]]}})[_0x3508[8]](function(_0x26cax7){if(!_0x26cax7){return _0x26cax4[_0x3508[12]](404)};var _0x26cax8=_[_0x3508[19]](_0x26cax7,_0x26cax3[_0x3508[17]]);_0x26cax8[_0x3508[20]]()[_0x3508[8]](function(){return _0x26cax4[_0x3508[7]](200)[_0x3508[6]](_0x26cax7)})[_0x3508[5]](function(_0x26cax5){return handleError(_0x26cax4,_0x26cax5)});})[_0x3508[5]](function(_0x26cax5){return handleError(_0x26cax4,_0x26cax5)});};exports[_0x3508[22]]=function(_0x26cax3,_0x26cax4){UserHasFaxQueue[_0x3508[21]]({where:{id:_0x26cax3[_0x3508[14]][_0x3508[13]]}})[_0x3508[8]](function(_0x26cax7){if(!_0x26cax7){return _0x26cax4[_0x3508[12]](404)};_0x26cax7[_0x3508[22]]()[_0x3508[8]](function(){return _0x26cax4[_0x3508[12]](204)})[_0x3508[5]](function(_0x26cax5){return handleError(_0x26cax4,_0x26cax5)});})[_0x3508[5]](function(_0x26cax5){return handleError(_0x26cax4,_0x26cax5)})};function handleError(_0x26cax4,_0x26cax5){return _0x26cax4[_0x3508[7]](500)[_0x3508[6]](_0x26cax5)}
\ No newline at end of file
index 3545f7f..0616588 100644 (file)
@@ -1 +1 @@
-var _0xc0ee=["\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","\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\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\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"];_0xc0ee[0];var UserHasFaxQueue=require(_0xc0ee[2])[_0xc0ee[1]];exports[_0xc0ee[3]]=function(_0x87aex2){UserHasFaxQueue[_0xc0ee[4]](function(_0x87aex3){onSave(_0x87aex2,_0x87aex3)});UserHasFaxQueue[_0xc0ee[5]](function(_0x87aex3){onRemove(_0x87aex2,_0x87aex3)});UserHasFaxQueue[_0xc0ee[6]](function(_0x87aex3){onSave(_0x87aex2,_0x87aex3)});UserHasFaxQueue[_0xc0ee[7]](function(_0x87aex3){onRemove(_0x87aex2,_0x87aex3)});};function onSave(_0x87aex2,_0x87aex3,_0x87aex5){_0x87aex2[_0xc0ee[9]](_0xc0ee[8],_0x87aex3)}function onRemove(_0x87aex2,_0x87aex3,_0x87aex5){_0x87aex2[_0xc0ee[9]](_0xc0ee[10],_0x87aex3)}
\ No newline at end of file
+var _0x3890=["\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","\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\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\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"];_0x3890[0];var UserHasFaxQueue=require(_0x3890[2])[_0x3890[1]];exports[_0x3890[3]]=function(_0xafbfx2){UserHasFaxQueue[_0x3890[4]](function(_0xafbfx3){onSave(_0xafbfx2,_0xafbfx3)});UserHasFaxQueue[_0x3890[5]](function(_0xafbfx3){onRemove(_0xafbfx2,_0xafbfx3)});UserHasFaxQueue[_0x3890[6]](function(_0xafbfx3){onSave(_0xafbfx2,_0xafbfx3)});UserHasFaxQueue[_0x3890[7]](function(_0xafbfx3){onRemove(_0xafbfx2,_0xafbfx3)});};function onSave(_0xafbfx2,_0xafbfx3,_0xafbfx5){_0xafbfx2[_0x3890[9]](_0x3890[8],_0xafbfx3)}function onRemove(_0xafbfx2,_0xafbfx3,_0xafbfx5){_0xafbfx2[_0x3890[9]](_0x3890[10],_0xafbfx3)}
\ No newline at end of file
index 557fe34..468a917 100644 (file)
@@ -1 +1 @@
-var _0x8d5b=["\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\x66\x61\x78\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\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\x66\x61\x78\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\x73","\x67\x65\x74"];_0x8d5b[0];var should=require(_0x8d5b[1]);var app=require(_0x8d5b[2]);var request=require(_0x8d5b[3]);describe(_0x8d5b[4],function(){it(_0x8d5b[5],function(_0x4215x4){request(app)[_0x8d5b[13]](_0x8d5b[12])[_0x8d5b[11]](200)[_0x8d5b[11]](_0x8d5b[10],/json/)[_0x8d5b[9]](function(_0x4215x5,_0x4215x6){if(_0x4215x5){return _0x4215x4(_0x4215x5)};_0x4215x6[_0x8d5b[8]][_0x8d5b[1]][_0x8d5b[7]][_0x8d5b[6]](Array);_0x4215x4();})})});
\ No newline at end of file
+var _0xb322=["\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\x66\x61\x78\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\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\x66\x61\x78\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\x73","\x67\x65\x74"];_0xb322[0];var should=require(_0xb322[1]);var app=require(_0xb322[2]);var request=require(_0xb322[3]);describe(_0xb322[4],function(){it(_0xb322[5],function(_0x71d1x4){request(app)[_0xb322[13]](_0xb322[12])[_0xb322[11]](200)[_0xb322[11]](_0xb322[10],/json/)[_0xb322[9]](function(_0x71d1x5,_0x71d1x6){if(_0x71d1x5){return _0x71d1x4(_0x71d1x5)};_0x71d1x6[_0xb322[8]][_0xb322[1]][_0xb322[7]][_0xb322[6]](Array);_0x71d1x4();})})});
\ No newline at end of file
index 162629f..689d1fa 100644 (file)
@@ -1 +1 @@
-var _0x4c42=["\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"];_0x4c42[0];var express=require(_0x4c42[1]);var controller=require(_0x4c42[2]);var router=express.Router();router[_0x4c42[5]](_0x4c42[3],controller[_0x4c42[4]]);router[_0x4c42[5]](_0x4c42[6],controller[_0x4c42[7]]);router[_0x4c42[9]](_0x4c42[3],controller[_0x4c42[8]]);router[_0x4c42[11]](_0x4c42[6],controller[_0x4c42[10]]);router[_0x4c42[12]](_0x4c42[6],controller[_0x4c42[10]]);router[_0x4c42[14]](_0x4c42[6],controller[_0x4c42[13]]);module[_0x4c42[15]]=router;
\ No newline at end of file
+var _0xeae8=["\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"];_0xeae8[0];var express=require(_0xeae8[1]);var controller=require(_0xeae8[2]);var router=express.Router();router[_0xeae8[5]](_0xeae8[3],controller[_0xeae8[4]]);router[_0xeae8[5]](_0xeae8[6],controller[_0xeae8[7]]);router[_0xeae8[9]](_0xeae8[3],controller[_0xeae8[8]]);router[_0xeae8[11]](_0xeae8[6],controller[_0xeae8[10]]);router[_0xeae8[12]](_0xeae8[6],controller[_0xeae8[10]]);router[_0xeae8[14]](_0xeae8[6],controller[_0xeae8[13]]);module[_0xeae8[15]]=router;
\ No newline at end of file
index ac30dde..95ba22c 100644 (file)
@@ -1 +1 @@
-var _0x148b=["\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"];_0x148b[0];var _=require(_0x148b[1]);var UserHasMailQueue=require(_0x148b[3])[_0x148b[2]];exports[_0x148b[4]]=function(_0x6dffx3,_0x6dffx4){UserHasMailQueue[_0x148b[10]](_0x6dffx3[_0x148b[9]]?{where:_0x6dffx3[_0x148b[9]]}:{})[_0x148b[8]](function(_0x6dffx6){return _0x6dffx4[_0x148b[7]](200)[_0x148b[6]](_0x6dffx6)})[_0x148b[5]](function(_0x6dffx5){return handleError(_0x6dffx4,_0x6dffx5)})};exports[_0x148b[11]]=function(_0x6dffx3,_0x6dffx4){UserHasMailQueue[_0x148b[15]](_0x6dffx3[_0x148b[14]][_0x148b[13]])[_0x148b[8]](function(_0x6dffx7){if(!_0x6dffx7){return _0x6dffx4[_0x148b[12]](404)};return _0x6dffx4[_0x148b[6]](_0x6dffx7);})[_0x148b[5]](function(_0x6dffx5){return handleError(_0x6dffx4,_0x6dffx5)})};exports[_0x148b[16]]=function(_0x6dffx3,_0x6dffx4){UserHasMailQueue[_0x148b[16]](_0x6dffx3[_0x148b[17]])[_0x148b[8]](function(_0x6dffx7){return _0x6dffx4[_0x148b[7]](201)[_0x148b[6]](_0x6dffx7)})[_0x148b[5]](function(_0x6dffx5){return handleError(_0x6dffx4,_0x6dffx5)})};exports[_0x148b[18]]=function(_0x6dffx3,_0x6dffx4){if(_0x6dffx3[_0x148b[17]][_0x148b[13]]){delete _0x6dffx3[_0x148b[17]][_0x148b[13]]};UserHasMailQueue[_0x148b[15]](_0x6dffx3[_0x148b[14]][_0x148b[13]])[_0x148b[8]](function(_0x6dffx7){if(!_0x6dffx7){return _0x6dffx4[_0x148b[12]](404)};var _0x6dffx8=_[_0x148b[19]](_0x6dffx7,_0x6dffx3[_0x148b[17]]);_0x6dffx8[_0x148b[20]]()[_0x148b[8]](function(){return _0x6dffx4[_0x148b[7]](200)[_0x148b[6]](_0x6dffx7)})[_0x148b[5]](function(_0x6dffx5){return handleError(_0x6dffx4,_0x6dffx5)});})[_0x148b[5]](function(_0x6dffx5){return handleError(_0x6dffx4,_0x6dffx5)});};exports[_0x148b[21]]=function(_0x6dffx3,_0x6dffx4){UserHasMailQueue[_0x148b[15]](_0x6dffx3[_0x148b[14]][_0x148b[13]])[_0x148b[8]](function(_0x6dffx7){if(!_0x6dffx7){return _0x6dffx4[_0x148b[12]](404)};_0x6dffx7[_0x148b[21]]()[_0x148b[8]](function(){return _0x6dffx4[_0x148b[12]](204)})[_0x148b[5]](function(_0x6dffx5){return handleError(_0x6dffx4,_0x6dffx5)});})[_0x148b[5]](function(_0x6dffx5){return handleError(_0x6dffx4,_0x6dffx5)})};function handleError(_0x6dffx4,_0x6dffx5){return _0x6dffx4[_0x148b[7]](500)[_0x148b[6]](_0x6dffx5)}
\ No newline at end of file
+var _0x8fb0=["\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"];_0x8fb0[0];var _=require(_0x8fb0[1]);var UserHasMailQueue=require(_0x8fb0[3])[_0x8fb0[2]];exports[_0x8fb0[4]]=function(_0xa8e6x3,_0xa8e6x4){UserHasMailQueue[_0x8fb0[10]](_0xa8e6x3[_0x8fb0[9]]?{where:_0xa8e6x3[_0x8fb0[9]]}:{})[_0x8fb0[8]](function(_0xa8e6x6){return _0xa8e6x4[_0x8fb0[7]](200)[_0x8fb0[6]](_0xa8e6x6)})[_0x8fb0[5]](function(_0xa8e6x5){return handleError(_0xa8e6x4,_0xa8e6x5)})};exports[_0x8fb0[11]]=function(_0xa8e6x3,_0xa8e6x4){UserHasMailQueue[_0x8fb0[15]](_0xa8e6x3[_0x8fb0[14]][_0x8fb0[13]])[_0x8fb0[8]](function(_0xa8e6x7){if(!_0xa8e6x7){return _0xa8e6x4[_0x8fb0[12]](404)};return _0xa8e6x4[_0x8fb0[6]](_0xa8e6x7);})[_0x8fb0[5]](function(_0xa8e6x5){return handleError(_0xa8e6x4,_0xa8e6x5)})};exports[_0x8fb0[16]]=function(_0xa8e6x3,_0xa8e6x4){UserHasMailQueue[_0x8fb0[16]](_0xa8e6x3[_0x8fb0[17]])[_0x8fb0[8]](function(_0xa8e6x7){return _0xa8e6x4[_0x8fb0[7]](201)[_0x8fb0[6]](_0xa8e6x7)})[_0x8fb0[5]](function(_0xa8e6x5){return handleError(_0xa8e6x4,_0xa8e6x5)})};exports[_0x8fb0[18]]=function(_0xa8e6x3,_0xa8e6x4){if(_0xa8e6x3[_0x8fb0[17]][_0x8fb0[13]]){delete _0xa8e6x3[_0x8fb0[17]][_0x8fb0[13]]};UserHasMailQueue[_0x8fb0[15]](_0xa8e6x3[_0x8fb0[14]][_0x8fb0[13]])[_0x8fb0[8]](function(_0xa8e6x7){if(!_0xa8e6x7){return _0xa8e6x4[_0x8fb0[12]](404)};var _0xa8e6x8=_[_0x8fb0[19]](_0xa8e6x7,_0xa8e6x3[_0x8fb0[17]]);_0xa8e6x8[_0x8fb0[20]]()[_0x8fb0[8]](function(){return _0xa8e6x4[_0x8fb0[7]](200)[_0x8fb0[6]](_0xa8e6x7)})[_0x8fb0[5]](function(_0xa8e6x5){return handleError(_0xa8e6x4,_0xa8e6x5)});})[_0x8fb0[5]](function(_0xa8e6x5){return handleError(_0xa8e6x4,_0xa8e6x5)});};exports[_0x8fb0[21]]=function(_0xa8e6x3,_0xa8e6x4){UserHasMailQueue[_0x8fb0[15]](_0xa8e6x3[_0x8fb0[14]][_0x8fb0[13]])[_0x8fb0[8]](function(_0xa8e6x7){if(!_0xa8e6x7){return _0xa8e6x4[_0x8fb0[12]](404)};_0xa8e6x7[_0x8fb0[21]]()[_0x8fb0[8]](function(){return _0xa8e6x4[_0x8fb0[12]](204)})[_0x8fb0[5]](function(_0xa8e6x5){return handleError(_0xa8e6x4,_0xa8e6x5)});})[_0x8fb0[5]](function(_0xa8e6x5){return handleError(_0xa8e6x4,_0xa8e6x5)})};function handleError(_0xa8e6x4,_0xa8e6x5){return _0xa8e6x4[_0x8fb0[7]](500)[_0x8fb0[6]](_0xa8e6x5)}
\ No newline at end of file
index 51efa02..a29a52b 100644 (file)
@@ -1 +1 @@
-var _0x5ec0=["\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","\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\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\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\x72\x65\x6D\x6F\x76\x65"];_0x5ec0[0];var UserHasMailQueue=require(_0x5ec0[2])[_0x5ec0[1]];exports[_0x5ec0[3]]=function(_0x9ff0x2){UserHasMailQueue[_0x5ec0[4]](function(_0x9ff0x3){onSave(_0x9ff0x2,_0x9ff0x3)});UserHasMailQueue[_0x5ec0[5]](function(_0x9ff0x3){onRemove(_0x9ff0x2,_0x9ff0x3)});};function onSave(_0x9ff0x2,_0x9ff0x3,_0x9ff0x5){_0x9ff0x2[_0x5ec0[7]](_0x5ec0[6],_0x9ff0x3)}function onRemove(_0x9ff0x2,_0x9ff0x3,_0x9ff0x5){_0x9ff0x2[_0x5ec0[7]](_0x5ec0[8],_0x9ff0x3)}
\ No newline at end of file
+var _0xd5d1=["\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","\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\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\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\x72\x65\x6D\x6F\x76\x65"];_0xd5d1[0];var UserHasMailQueue=require(_0xd5d1[2])[_0xd5d1[1]];exports[_0xd5d1[3]]=function(_0x3509x2){UserHasMailQueue[_0xd5d1[4]](function(_0x3509x3){onSave(_0x3509x2,_0x3509x3)});UserHasMailQueue[_0xd5d1[5]](function(_0x3509x3){onRemove(_0x3509x2,_0x3509x3)});};function onSave(_0x3509x2,_0x3509x3,_0x3509x5){_0x3509x2[_0xd5d1[7]](_0xd5d1[6],_0x3509x3)}function onRemove(_0x3509x2,_0x3509x3,_0x3509x5){_0x3509x2[_0xd5d1[7]](_0xd5d1[8],_0x3509x3)}
\ No newline at end of file
index 29d5bba..698948d 100644 (file)
@@ -1 +1 @@
-var _0xe264=["\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\x6D\x61\x69\x6C\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\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\x6D\x61\x69\x6C\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\x73","\x67\x65\x74"];_0xe264[0];var should=require(_0xe264[1]);var app=require(_0xe264[2]);var request=require(_0xe264[3]);describe(_0xe264[4],function(){it(_0xe264[5],function(_0xfbf5x4){request(app)[_0xe264[13]](_0xe264[12])[_0xe264[11]](200)[_0xe264[11]](_0xe264[10],/json/)[_0xe264[9]](function(_0xfbf5x5,_0xfbf5x6){if(_0xfbf5x5){return _0xfbf5x4(_0xfbf5x5)};_0xfbf5x6[_0xe264[8]][_0xe264[1]][_0xe264[7]][_0xe264[6]](Array);_0xfbf5x4();})})});
\ No newline at end of file
+var _0x92b8=["\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\x6D\x61\x69\x6C\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\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\x6D\x61\x69\x6C\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\x73","\x67\x65\x74"];_0x92b8[0];var should=require(_0x92b8[1]);var app=require(_0x92b8[2]);var request=require(_0x92b8[3]);describe(_0x92b8[4],function(){it(_0x92b8[5],function(_0x7a7ex4){request(app)[_0x92b8[13]](_0x92b8[12])[_0x92b8[11]](200)[_0x92b8[11]](_0x92b8[10],/json/)[_0x92b8[9]](function(_0x7a7ex5,_0x7a7ex6){if(_0x7a7ex5){return _0x7a7ex4(_0x7a7ex5)};_0x7a7ex6[_0x92b8[8]][_0x92b8[1]][_0x92b8[7]][_0x92b8[6]](Array);_0x7a7ex4();})})});
\ No newline at end of file
index 7a57489..2b91606 100644 (file)
@@ -1 +1 @@
-var _0xb458=["\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"];_0xb458[0];var express=require(_0xb458[1]);var controller=require(_0xb458[2]);var router=express.Router();router[_0xb458[5]](_0xb458[3],controller[_0xb458[4]]);router[_0xb458[5]](_0xb458[6],controller[_0xb458[7]]);router[_0xb458[9]](_0xb458[3],controller[_0xb458[8]]);router[_0xb458[11]](_0xb458[6],controller[_0xb458[10]]);router[_0xb458[12]](_0xb458[6],controller[_0xb458[10]]);router[_0xb458[14]](_0xb458[6],controller[_0xb458[13]]);module[_0xb458[15]]=router;
\ No newline at end of file
+var _0x117f=["\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"];_0x117f[0];var express=require(_0x117f[1]);var controller=require(_0x117f[2]);var router=express.Router();router[_0x117f[5]](_0x117f[3],controller[_0x117f[4]]);router[_0x117f[5]](_0x117f[6],controller[_0x117f[7]]);router[_0x117f[9]](_0x117f[3],controller[_0x117f[8]]);router[_0x117f[11]](_0x117f[6],controller[_0x117f[10]]);router[_0x117f[12]](_0x117f[6],controller[_0x117f[10]]);router[_0x117f[14]](_0x117f[6],controller[_0x117f[13]]);module[_0x117f[15]]=router;
\ No newline at end of file
index afd51b5..bc79c26 100644 (file)
@@ -1 +1 @@
-var _0xdfab=["\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"];_0xdfab[0];var _=require(_0xdfab[1]);var UserHasTeam=require(_0xdfab[3])[_0xdfab[2]];exports[_0xdfab[4]]=function(_0x3b4fx3,_0x3b4fx4){console[_0xdfab[6]](_0x3b4fx3[_0xdfab[5]]);UserHasTeam[_0xdfab[11]]({where:_0x3b4fx3[_0xdfab[5]]})[_0xdfab[10]](function(_0x3b4fx6){return _0x3b4fx4[_0xdfab[9]](200)[_0xdfab[8]](_0x3b4fx6)})[_0xdfab[7]](function(_0x3b4fx5){return handleError(_0x3b4fx4,_0x3b4fx5)});};exports[_0xdfab[12]]=function(_0x3b4fx3,_0x3b4fx4){UserHasTeam[_0xdfab[16]](_0x3b4fx3[_0xdfab[15]][_0xdfab[14]])[_0xdfab[10]](function(_0x3b4fx7){if(!_0x3b4fx7){return _0x3b4fx4[_0xdfab[13]](404)};return _0x3b4fx4[_0xdfab[8]](_0x3b4fx7);})[_0xdfab[7]](function(_0x3b4fx5){return handleError(_0x3b4fx4,_0x3b4fx5)})};exports[_0xdfab[17]]=function(_0x3b4fx3,_0x3b4fx4){UserHasTeam[_0xdfab[17]](_0x3b4fx3[_0xdfab[18]])[_0xdfab[10]](function(_0x3b4fx7){return _0x3b4fx4[_0xdfab[9]](201)[_0xdfab[8]](_0x3b4fx7)})[_0xdfab[7]](function(_0x3b4fx5){return handleError(_0x3b4fx4,_0x3b4fx5)})};exports[_0xdfab[19]]=function(_0x3b4fx3,_0x3b4fx4){if(_0x3b4fx3[_0xdfab[18]][_0xdfab[14]]){delete _0x3b4fx3[_0xdfab[18]][_0xdfab[14]]};UserHasTeam[_0xdfab[16]](_0x3b4fx3[_0xdfab[15]][_0xdfab[14]])[_0xdfab[10]](function(_0x3b4fx7){if(!_0x3b4fx7){return _0x3b4fx4[_0xdfab[13]](404)};var _0x3b4fx8=_[_0xdfab[20]](_0x3b4fx7,_0x3b4fx3[_0xdfab[18]]);_0x3b4fx8[_0xdfab[21]]()[_0xdfab[10]](function(){return _0x3b4fx4[_0xdfab[9]](200)[_0xdfab[8]](_0x3b4fx7)})[_0xdfab[7]](function(_0x3b4fx5){return handleError(_0x3b4fx4,_0x3b4fx5)});})[_0xdfab[7]](function(_0x3b4fx5){return handleError(_0x3b4fx4,_0x3b4fx5)});};exports[_0xdfab[22]]=function(_0x3b4fx3,_0x3b4fx4){UserHasTeam[_0xdfab[16]](_0x3b4fx3[_0xdfab[15]][_0xdfab[14]])[_0xdfab[10]](function(_0x3b4fx7){if(!_0x3b4fx7){return _0x3b4fx4[_0xdfab[13]](404)};_0x3b4fx7[_0xdfab[22]]()[_0xdfab[10]](function(){return _0x3b4fx4[_0xdfab[13]](204)})[_0xdfab[7]](function(_0x3b4fx5){return handleError(_0x3b4fx4,_0x3b4fx5)});})[_0xdfab[7]](function(_0x3b4fx5){return handleError(_0x3b4fx4,_0x3b4fx5)})};function handleError(_0x3b4fx4,_0x3b4fx5){return _0x3b4fx4[_0xdfab[9]](500)[_0xdfab[8]](_0x3b4fx5)}
\ No newline at end of file
+var _0xf9e0=["\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"];_0xf9e0[0];var _=require(_0xf9e0[1]);var UserHasTeam=require(_0xf9e0[3])[_0xf9e0[2]];exports[_0xf9e0[4]]=function(_0xa52bx3,_0xa52bx4){console[_0xf9e0[6]](_0xa52bx3[_0xf9e0[5]]);UserHasTeam[_0xf9e0[11]]({where:_0xa52bx3[_0xf9e0[5]]})[_0xf9e0[10]](function(_0xa52bx6){return _0xa52bx4[_0xf9e0[9]](200)[_0xf9e0[8]](_0xa52bx6)})[_0xf9e0[7]](function(_0xa52bx5){return handleError(_0xa52bx4,_0xa52bx5)});};exports[_0xf9e0[12]]=function(_0xa52bx3,_0xa52bx4){UserHasTeam[_0xf9e0[16]](_0xa52bx3[_0xf9e0[15]][_0xf9e0[14]])[_0xf9e0[10]](function(_0xa52bx7){if(!_0xa52bx7){return _0xa52bx4[_0xf9e0[13]](404)};return _0xa52bx4[_0xf9e0[8]](_0xa52bx7);})[_0xf9e0[7]](function(_0xa52bx5){return handleError(_0xa52bx4,_0xa52bx5)})};exports[_0xf9e0[17]]=function(_0xa52bx3,_0xa52bx4){UserHasTeam[_0xf9e0[17]](_0xa52bx3[_0xf9e0[18]])[_0xf9e0[10]](function(_0xa52bx7){return _0xa52bx4[_0xf9e0[9]](201)[_0xf9e0[8]](_0xa52bx7)})[_0xf9e0[7]](function(_0xa52bx5){return handleError(_0xa52bx4,_0xa52bx5)})};exports[_0xf9e0[19]]=function(_0xa52bx3,_0xa52bx4){if(_0xa52bx3[_0xf9e0[18]][_0xf9e0[14]]){delete _0xa52bx3[_0xf9e0[18]][_0xf9e0[14]]};UserHasTeam[_0xf9e0[16]](_0xa52bx3[_0xf9e0[15]][_0xf9e0[14]])[_0xf9e0[10]](function(_0xa52bx7){if(!_0xa52bx7){return _0xa52bx4[_0xf9e0[13]](404)};var _0xa52bx8=_[_0xf9e0[20]](_0xa52bx7,_0xa52bx3[_0xf9e0[18]]);_0xa52bx8[_0xf9e0[21]]()[_0xf9e0[10]](function(){return _0xa52bx4[_0xf9e0[9]](200)[_0xf9e0[8]](_0xa52bx7)})[_0xf9e0[7]](function(_0xa52bx5){return handleError(_0xa52bx4,_0xa52bx5)});})[_0xf9e0[7]](function(_0xa52bx5){return handleError(_0xa52bx4,_0xa52bx5)});};exports[_0xf9e0[22]]=function(_0xa52bx3,_0xa52bx4){UserHasTeam[_0xf9e0[16]](_0xa52bx3[_0xf9e0[15]][_0xf9e0[14]])[_0xf9e0[10]](function(_0xa52bx7){if(!_0xa52bx7){return _0xa52bx4[_0xf9e0[13]](404)};_0xa52bx7[_0xf9e0[22]]()[_0xf9e0[10]](function(){return _0xa52bx4[_0xf9e0[13]](204)})[_0xf9e0[7]](function(_0xa52bx5){return handleError(_0xa52bx4,_0xa52bx5)});})[_0xf9e0[7]](function(_0xa52bx5){return handleError(_0xa52bx4,_0xa52bx5)})};function handleError(_0xa52bx4,_0xa52bx5){return _0xa52bx4[_0xf9e0[9]](500)[_0xf9e0[8]](_0xa52bx5)}
\ No newline at end of file
index c87fbb0..d3c5ad0 100644 (file)
@@ -1 +1 @@
-var _0xe825=["\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"];_0xe825[0];module[_0xe825[1]]=function(_0xadf7x1,_0xadf7x2){var _0xadf7x3=_0xadf7x1[_0xe825[3]](_0xe825[2],{name:String,info:String,active:Boolean});return _0xadf7x3;};
\ No newline at end of file
+var _0xcb9a=["\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"];_0xcb9a[0];module[_0xcb9a[1]]=function(_0x1d7dx1,_0x1d7dx2){var _0x1d7dx3=_0x1d7dx1[_0xcb9a[3]](_0xcb9a[2],{name:String,info:String,active:Boolean});return _0x1d7dx3;};
\ No newline at end of file
index 0954c06..bcfd2bd 100644 (file)
@@ -1 +1 @@
-var _0x76b9=["\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"];_0x76b9[0];var user_has_team=require(_0x76b9[2])[_0x76b9[1]];exports[_0x76b9[3]]=function(_0x7e43x2){user_has_team[_0x76b9[4]](function(_0x7e43x3){onSave(_0x7e43x2,_0x7e43x3)});user_has_team[_0x76b9[5]](function(_0x7e43x3){onRemove(_0x7e43x2,_0x7e43x3)});};function onSave(_0x7e43x2,_0x7e43x3,_0x7e43x5){_0x7e43x2[_0x76b9[7]](_0x76b9[6],_0x7e43x3)}function onRemove(_0x7e43x2,_0x7e43x3,_0x7e43x5){_0x7e43x2[_0x76b9[7]](_0x76b9[8],_0x7e43x3)}
\ No newline at end of file
+var _0x58f0=["\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"];_0x58f0[0];var user_has_team=require(_0x58f0[2])[_0x58f0[1]];exports[_0x58f0[3]]=function(_0x1dedx2){user_has_team[_0x58f0[4]](function(_0x1dedx3){onSave(_0x1dedx2,_0x1dedx3)});user_has_team[_0x58f0[5]](function(_0x1dedx3){onRemove(_0x1dedx2,_0x1dedx3)});};function onSave(_0x1dedx2,_0x1dedx3,_0x1dedx5){_0x1dedx2[_0x58f0[7]](_0x58f0[6],_0x1dedx3)}function onRemove(_0x1dedx2,_0x1dedx3,_0x1dedx5){_0x1dedx2[_0x58f0[7]](_0x58f0[8],_0x1dedx3)}
\ No newline at end of file
index 109cc01..2b5aca8 100644 (file)
@@ -1 +1 @@
-var _0xb881=["\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"];_0xb881[0];var should=require(_0xb881[1]);var app=require(_0xb881[2]);var request=require(_0xb881[3]);describe(_0xb881[4],function(){it(_0xb881[5],function(_0xae9bx4){request(app)[_0xb881[13]](_0xb881[12])[_0xb881[11]](200)[_0xb881[11]](_0xb881[10],/json/)[_0xb881[9]](function(_0xae9bx5,_0xae9bx6){if(_0xae9bx5){return _0xae9bx4(_0xae9bx5)};_0xae9bx6[_0xb881[8]][_0xb881[1]][_0xb881[7]][_0xb881[6]](Array);_0xae9bx4();})})});
\ No newline at end of file
+var _0xeb39=["\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"];_0xeb39[0];var should=require(_0xeb39[1]);var app=require(_0xeb39[2]);var request=require(_0xeb39[3]);describe(_0xeb39[4],function(){it(_0xeb39[5],function(_0xd6e2x4){request(app)[_0xeb39[13]](_0xeb39[12])[_0xeb39[11]](200)[_0xeb39[11]](_0xeb39[10],/json/)[_0xeb39[9]](function(_0xd6e2x5,_0xd6e2x6){if(_0xd6e2x5){return _0xd6e2x4(_0xd6e2x5)};_0xd6e2x6[_0xeb39[8]][_0xeb39[1]][_0xeb39[7]][_0xeb39[6]](Array);_0xd6e2x4();})})});
\ No newline at end of file
index 8180c58..64876d6 100644 (file)
@@ -1 +1 @@
-var _0x82d1=["\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"];_0x82d1[0];var express=require(_0x82d1[1]);var controller=require(_0x82d1[2]);var router=express.Router();router[_0x82d1[5]](_0x82d1[3],controller[_0x82d1[4]]);router[_0x82d1[5]](_0x82d1[6],controller[_0x82d1[7]]);router[_0x82d1[9]](_0x82d1[3],controller[_0x82d1[8]]);router[_0x82d1[11]](_0x82d1[6],controller[_0x82d1[10]]);router[_0x82d1[12]](_0x82d1[6],controller[_0x82d1[10]]);router[_0x82d1[14]](_0x82d1[6],controller[_0x82d1[13]]);module[_0x82d1[15]]=router;
\ No newline at end of file
+var _0x47dd=["\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"];_0x47dd[0];var express=require(_0x47dd[1]);var controller=require(_0x47dd[2]);var router=express.Router();router[_0x47dd[5]](_0x47dd[3],controller[_0x47dd[4]]);router[_0x47dd[5]](_0x47dd[6],controller[_0x47dd[7]]);router[_0x47dd[9]](_0x47dd[3],controller[_0x47dd[8]]);router[_0x47dd[11]](_0x47dd[6],controller[_0x47dd[10]]);router[_0x47dd[12]](_0x47dd[6],controller[_0x47dd[10]]);router[_0x47dd[14]](_0x47dd[6],controller[_0x47dd[13]]);module[_0x47dd[15]]=router;
\ No newline at end of file
index b648f2c..0bea669 100644 (file)
@@ -1 +1 @@
-var _0xa316=["\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"];_0xa316[0];var _=require(_0xa316[1]);var UserHasVoiceQueue=require(_0xa316[3])[_0xa316[2]];exports[_0xa316[4]]=function(_0xb0abx3,_0xb0abx4){UserHasVoiceQueue[_0xa316[10]](_0xb0abx3[_0xa316[9]]?{where:_0xb0abx3[_0xa316[9]]}:{})[_0xa316[8]](function(_0xb0abx6){return _0xb0abx4[_0xa316[7]](200)[_0xa316[6]](_0xb0abx6)})[_0xa316[5]](function(_0xb0abx5){return handleError(_0xb0abx4,_0xb0abx5)})};exports[_0xa316[11]]=function(_0xb0abx3,_0xb0abx4){UserHasVoiceQueue[_0xa316[15]](_0xb0abx3[_0xa316[14]][_0xa316[13]])[_0xa316[8]](function(_0xb0abx7){if(!_0xb0abx7){return _0xb0abx4[_0xa316[12]](404)};return _0xb0abx4[_0xa316[6]](_0xb0abx7);})[_0xa316[5]](function(_0xb0abx5){return handleError(_0xb0abx4,_0xb0abx5)})};exports[_0xa316[16]]=function(_0xb0abx3,_0xb0abx4,_0xb0abx8){console[_0xa316[18]](_0xb0abx3[_0xa316[17]]);UserHasVoiceQueue[_0xa316[16]](_0xb0abx3[_0xa316[17]])[_0xa316[8]](function(_0xb0abx7){return _0xb0abx4[_0xa316[7]](201)[_0xa316[6]](_0xb0abx7)})[_0xa316[5]](function(_0xb0abx5){console[_0xa316[19]](_0xb0abx5);return _0xb0abx8(_0xb0abx5);});};exports[_0xa316[20]]=function(_0xb0abx3,_0xb0abx4){if(_0xb0abx3[_0xa316[17]][_0xa316[13]]){delete _0xb0abx3[_0xa316[17]][_0xa316[13]]};UserHasVoiceQueue[_0xa316[15]](_0xb0abx3[_0xa316[14]][_0xa316[13]])[_0xa316[8]](function(_0xb0abx7){if(!_0xb0abx7){return _0xb0abx4[_0xa316[12]](404)};var _0xb0abx9=_[_0xa316[21]](_0xb0abx7,_0xb0abx3[_0xa316[17]]);_0xb0abx9[_0xa316[22]]()[_0xa316[8]](function(){return _0xb0abx4[_0xa316[7]](200)[_0xa316[6]](_0xb0abx7)})[_0xa316[5]](function(_0xb0abx5){return handleError(_0xb0abx4,_0xb0abx5)});})[_0xa316[5]](function(_0xb0abx5){return handleError(_0xb0abx4,_0xb0abx5)});};exports[_0xa316[23]]=function(_0xb0abx3,_0xb0abx4){UserHasVoiceQueue[_0xa316[15]](_0xb0abx3[_0xa316[14]][_0xa316[13]])[_0xa316[8]](function(_0xb0abx7){if(!_0xb0abx7){return _0xb0abx4[_0xa316[12]](404)};_0xb0abx7[_0xa316[23]]()[_0xa316[8]](function(){return _0xb0abx4[_0xa316[12]](204)})[_0xa316[5]](function(_0xb0abx5){return handleError(_0xb0abx4,_0xb0abx5)});})[_0xa316[5]](function(_0xb0abx5){return handleError(_0xb0abx4,_0xb0abx5)})};function handleError(_0xb0abx4,_0xb0abx5){return _0xb0abx4[_0xa316[7]](500)[_0xa316[6]](_0xb0abx5)}
\ No newline at end of file
+var _0xfddf=["\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"];_0xfddf[0];var _=require(_0xfddf[1]);var UserHasVoiceQueue=require(_0xfddf[3])[_0xfddf[2]];exports[_0xfddf[4]]=function(_0xfb52x3,_0xfb52x4){UserHasVoiceQueue[_0xfddf[10]](_0xfb52x3[_0xfddf[9]]?{where:_0xfb52x3[_0xfddf[9]]}:{})[_0xfddf[8]](function(_0xfb52x6){return _0xfb52x4[_0xfddf[7]](200)[_0xfddf[6]](_0xfb52x6)})[_0xfddf[5]](function(_0xfb52x5){return handleError(_0xfb52x4,_0xfb52x5)})};exports[_0xfddf[11]]=function(_0xfb52x3,_0xfb52x4){UserHasVoiceQueue[_0xfddf[15]](_0xfb52x3[_0xfddf[14]][_0xfddf[13]])[_0xfddf[8]](function(_0xfb52x7){if(!_0xfb52x7){return _0xfb52x4[_0xfddf[12]](404)};return _0xfb52x4[_0xfddf[6]](_0xfb52x7);})[_0xfddf[5]](function(_0xfb52x5){return handleError(_0xfb52x4,_0xfb52x5)})};exports[_0xfddf[16]]=function(_0xfb52x3,_0xfb52x4,_0xfb52x8){console[_0xfddf[18]](_0xfb52x3[_0xfddf[17]]);UserHasVoiceQueue[_0xfddf[16]](_0xfb52x3[_0xfddf[17]])[_0xfddf[8]](function(_0xfb52x7){return _0xfb52x4[_0xfddf[7]](201)[_0xfddf[6]](_0xfb52x7)})[_0xfddf[5]](function(_0xfb52x5){console[_0xfddf[19]](_0xfb52x5);return _0xfb52x8(_0xfb52x5);});};exports[_0xfddf[20]]=function(_0xfb52x3,_0xfb52x4){if(_0xfb52x3[_0xfddf[17]][_0xfddf[13]]){delete _0xfb52x3[_0xfddf[17]][_0xfddf[13]]};UserHasVoiceQueue[_0xfddf[15]](_0xfb52x3[_0xfddf[14]][_0xfddf[13]])[_0xfddf[8]](function(_0xfb52x7){if(!_0xfb52x7){return _0xfb52x4[_0xfddf[12]](404)};var _0xfb52x9=_[_0xfddf[21]](_0xfb52x7,_0xfb52x3[_0xfddf[17]]);_0xfb52x9[_0xfddf[22]]()[_0xfddf[8]](function(){return _0xfb52x4[_0xfddf[7]](200)[_0xfddf[6]](_0xfb52x7)})[_0xfddf[5]](function(_0xfb52x5){return handleError(_0xfb52x4,_0xfb52x5)});})[_0xfddf[5]](function(_0xfb52x5){return handleError(_0xfb52x4,_0xfb52x5)});};exports[_0xfddf[23]]=function(_0xfb52x3,_0xfb52x4){UserHasVoiceQueue[_0xfddf[15]](_0xfb52x3[_0xfddf[14]][_0xfddf[13]])[_0xfddf[8]](function(_0xfb52x7){if(!_0xfb52x7){return _0xfb52x4[_0xfddf[12]](404)};_0xfb52x7[_0xfddf[23]]()[_0xfddf[8]](function(){return _0xfb52x4[_0xfddf[12]](204)})[_0xfddf[5]](function(_0xfb52x5){return handleError(_0xfb52x4,_0xfb52x5)});})[_0xfddf[5]](function(_0xfb52x5){return handleError(_0xfb52x4,_0xfb52x5)})};function handleError(_0xfb52x4,_0xfb52x5){return _0xfb52x4[_0xfddf[7]](500)[_0xfddf[6]](_0xfb52x5)}
\ No newline at end of file
index 342c7d5..6dbb3a3 100644 (file)
@@ -1 +1 @@
-var _0x24b7=["\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","\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\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","\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\x72\x65\x6D\x6F\x76\x65"];_0x24b7[0];var UserHasVoiceQueue=require(_0x24b7[2])[_0x24b7[1]];exports[_0x24b7[3]]=function(_0xd884x2){UserHasVoiceQueue[_0x24b7[4]](function(_0xd884x3){onSave(_0xd884x2,_0xd884x3)});UserHasVoiceQueue[_0x24b7[5]](function(_0xd884x3){onSave(_0xd884x2,_0xd884x3)});UserHasVoiceQueue[_0x24b7[6]](function(_0xd884x3){onRemove(_0xd884x2,_0xd884x3)});};function onSave(_0xd884x2,_0xd884x3,_0xd884x5){_0xd884x2[_0x24b7[21]](_0x24b7[7],{logged:_0xd884x3[_0x24b7[8]],loggedAt:_0xd884x3[_0x24b7[9]],queue:_0xd884x3[_0x24b7[10]],membername:_0xd884x3[_0x24b7[11]],interface:_0xd884x3[_0x24b7[12]],callstaken:_0xd884x3[_0x24b7[13]],lastcall:_0xd884x3[_0x24b7[14]],status:_0xd884x3[_0x24b7[15]],statusdesc:_0xd884x3[_0x24b7[16]],statusAt:_0xd884x3[_0x24b7[17]],paused:_0xd884x3[_0x24b7[18]],pausedAt:_0xd884x3[_0x24b7[19]],reason:_0xd884x3[_0x24b7[20]]})}function onRemove(_0xd884x2,_0xd884x3,_0xd884x5){_0xd884x2[_0x24b7[21]](_0x24b7[22],_0xd884x3)}
\ No newline at end of file
+var _0x6e1d=["\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","\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\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","\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\x72\x65\x6D\x6F\x76\x65"];_0x6e1d[0];var UserHasVoiceQueue=require(_0x6e1d[2])[_0x6e1d[1]];exports[_0x6e1d[3]]=function(_0x9ecex2){UserHasVoiceQueue[_0x6e1d[4]](function(_0x9ecex3){onSave(_0x9ecex2,_0x9ecex3)});UserHasVoiceQueue[_0x6e1d[5]](function(_0x9ecex3){onSave(_0x9ecex2,_0x9ecex3)});UserHasVoiceQueue[_0x6e1d[6]](function(_0x9ecex3){onRemove(_0x9ecex2,_0x9ecex3)});};function onSave(_0x9ecex2,_0x9ecex3,_0x9ecex5){_0x9ecex2[_0x6e1d[21]](_0x6e1d[7],{logged:_0x9ecex3[_0x6e1d[8]],loggedAt:_0x9ecex3[_0x6e1d[9]],queue:_0x9ecex3[_0x6e1d[10]],membername:_0x9ecex3[_0x6e1d[11]],interface:_0x9ecex3[_0x6e1d[12]],callstaken:_0x9ecex3[_0x6e1d[13]],lastcall:_0x9ecex3[_0x6e1d[14]],status:_0x9ecex3[_0x6e1d[15]],statusdesc:_0x9ecex3[_0x6e1d[16]],statusAt:_0x9ecex3[_0x6e1d[17]],paused:_0x9ecex3[_0x6e1d[18]],pausedAt:_0x9ecex3[_0x6e1d[19]],reason:_0x9ecex3[_0x6e1d[20]]})}function onRemove(_0x9ecex2,_0x9ecex3,_0x9ecex5){_0x9ecex2[_0x6e1d[21]](_0x6e1d[22],_0x9ecex3)}
\ No newline at end of file
index 9f304b2..6905f4d 100644 (file)
@@ -1 +1 @@
-var _0x4667=["\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\x76\x6F\x69\x63\x65\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\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\x76\x6F\x69\x63\x65\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\x73","\x67\x65\x74"];_0x4667[0];var should=require(_0x4667[1]);var app=require(_0x4667[2]);var request=require(_0x4667[3]);describe(_0x4667[4],function(){it(_0x4667[5],function(_0x4768x4){request(app)[_0x4667[13]](_0x4667[12])[_0x4667[11]](200)[_0x4667[11]](_0x4667[10],/json/)[_0x4667[9]](function(_0x4768x5,_0x4768x6){if(_0x4768x5){return _0x4768x4(_0x4768x5)};_0x4768x6[_0x4667[8]][_0x4667[1]][_0x4667[7]][_0x4667[6]](Array);_0x4768x4();})})});
\ No newline at end of file
+var _0x549e=["\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\x76\x6F\x69\x63\x65\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\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\x76\x6F\x69\x63\x65\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\x73","\x67\x65\x74"];_0x549e[0];var should=require(_0x549e[1]);var app=require(_0x549e[2]);var request=require(_0x549e[3]);describe(_0x549e[4],function(){it(_0x549e[5],function(_0xf3bdx4){request(app)[_0x549e[13]](_0x549e[12])[_0x549e[11]](200)[_0x549e[11]](_0x549e[10],/json/)[_0x549e[9]](function(_0xf3bdx5,_0xf3bdx6){if(_0xf3bdx5){return _0xf3bdx4(_0xf3bdx5)};_0xf3bdx6[_0x549e[8]][_0x549e[1]][_0x549e[7]][_0x549e[6]](Array);_0xf3bdx4();})})});
\ No newline at end of file
index f21715e..cdd542a 100644 (file)
@@ -1 +1 @@
-var _0xcfc1=["\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","\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","\x76\x61\x72\x69\x61\x62\x6C\x65\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\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"];_0xcfc1[0];var express=require(_0xcfc1[1]);var controller=require(_0xcfc1[2]);var auth=require(_0xcfc1[3]);var router=express.Router();router[_0xcfc1[7]](_0xcfc1[4],auth[_0xcfc1[5]](),controller[_0xcfc1[6]]);router[_0xcfc1[7]](_0xcfc1[8],auth[_0xcfc1[5]](),controller[_0xcfc1[9]]);router[_0xcfc1[11]](_0xcfc1[4],auth[_0xcfc1[5]](),controller[_0xcfc1[10]]);router[_0xcfc1[11]](_0xcfc1[12],auth[_0xcfc1[5]](),controller[_0xcfc1[13]]);router[_0xcfc1[15]](_0xcfc1[8],auth[_0xcfc1[5]](),controller[_0xcfc1[14]]);router[_0xcfc1[16]](_0xcfc1[8],auth[_0xcfc1[5]](),controller[_0xcfc1[14]]);router[_0xcfc1[18]](_0xcfc1[4],auth[_0xcfc1[5]](),controller[_0xcfc1[17]]);router[_0xcfc1[18]](_0xcfc1[8],auth[_0xcfc1[5]](),controller[_0xcfc1[19]]);module[_0xcfc1[20]]=router;
\ No newline at end of file
+var _0xc835=["\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","\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","\x76\x61\x72\x69\x61\x62\x6C\x65\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\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"];_0xc835[0];var express=require(_0xc835[1]);var controller=require(_0xc835[2]);var auth=require(_0xc835[3]);var router=express.Router();router[_0xc835[7]](_0xc835[4],auth[_0xc835[5]](),controller[_0xc835[6]]);router[_0xc835[7]](_0xc835[8],auth[_0xc835[5]](),controller[_0xc835[9]]);router[_0xc835[11]](_0xc835[4],auth[_0xc835[5]](),controller[_0xc835[10]]);router[_0xc835[11]](_0xc835[12],auth[_0xc835[5]](),controller[_0xc835[13]]);router[_0xc835[15]](_0xc835[8],auth[_0xc835[5]](),controller[_0xc835[14]]);router[_0xc835[16]](_0xc835[8],auth[_0xc835[5]](),controller[_0xc835[14]]);router[_0xc835[18]](_0xc835[4],auth[_0xc835[5]](),controller[_0xc835[17]]);router[_0xc835[18]](_0xc835[8],auth[_0xc835[5]](),controller[_0xc835[19]]);module[_0xc835[20]]=router;
\ No newline at end of file
index 428a5fa..e1579b7 100644 (file)
@@ -1 +1 @@
-var _0x21a7=["\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","\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x76\x61\x72\x69\x61\x62\x6C\x65\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x6C\x6F\x67","\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","\x75\x70\x64\x61\x74\x65","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x56\x41\x52\x49\x41\x42\x4C\x45","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x4D\x45\x53\x53\x41\x47\x45\x5F\x56\x41\x52\x49\x41\x42\x4C\x45\x5F\x43\x4F\x4E\x46\x49\x47\x55\x52\x41\x54\x49\x4F\x4E\x5F\x41\x53\x53\x4F\x43\x49\x41\x54\x45\x44","\x67\x65\x74\x5A\x65\x6E\x64\x65\x73\x6B\x54\x65\x78\x74\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0x21a7[0];var _=require(_0x21a7[1]);var Variable=require(_0x21a7[3])[_0x21a7[2]];var util=require(_0x21a7[4]);exports[_0x21a7[5]]=function(_0xbef0x4,_0xbef0x5){var _0xbef0x6=[_0x21a7[6],_0x21a7[7]];var _0xbef0x7=_0xbef0x4[_0x21a7[9]][_0x21a7[8]]?parseInt(_0xbef0x4[_0x21a7[9]][_0x21a7[8]],10):100;var _0xbef0x8=_0xbef0x4[_0x21a7[9]][_0x21a7[10]]?parseInt(_0xbef0x4[_0x21a7[9]][_0x21a7[10]],10):0;var _0xbef0x9={where:{},limit:_0xbef0x7,offset:_0xbef0x8*_0xbef0x7};_[_0x21a7[24]](_0xbef0x4[_0x21a7[9]],function(_0xbef0xa,_0xbef0xb){switch(_0xbef0xb){case _0x21a7[8]:;case _0x21a7[10]:break ;;case _0x21a7[13]:_0xbef0x9[_0x21a7[11]]=util[_0x21a7[16]](_0x21a7[12],_0xbef0x4[_0x21a7[9]][_0x21a7[13]],_0xbef0x4[_0x21a7[9]][_0x21a7[14]]||_0x21a7[15])||null;break ;;case _0x21a7[14]:break ;;case _0x21a7[22]:_0xbef0x9[_0x21a7[18]][_0x21a7[17]]=[];_0xbef0x6[_0x21a7[21]](function(_0xbef0xc){var _0xbef0xd={};_0xbef0xd[_0xbef0xc]={$like:_0x21a7[19]+_0xbef0xa+_0x21a7[19]};_0xbef0x9[_0x21a7[18]][_0x21a7[17]][_0x21a7[20]](_0xbef0xd);});break ;;default:_0xbef0x9[_0x21a7[18]][_0xbef0xb]={$like:{}};_0xbef0x9[_0x21a7[18]][_0xbef0xb][_0x21a7[23]]=_0x21a7[19]+_0xbef0xa+_0x21a7[19];;}});Variable[_0x21a7[39]](_0xbef0x9)[_0x21a7[38]](function(_0xbef0xf){var _0xbef0x10=Math[_0x21a7[30]](_0xbef0xf[_0x21a7[29]]/_0xbef0x7);var _0xbef0x11=_0xbef0x10>(_0xbef0x9[_0x21a7[31]]+1)?util[_0x21a7[16]](_0x21a7[32],_0xbef0x4[_0x21a7[33]],_0xbef0x4[_0x21a7[35]][_0x21a7[34]],_0xbef0x4[_0x21a7[36]],_0xbef0x8+1):null;var _0xbef0x12=_0xbef0x8>0?util[_0x21a7[16]](_0x21a7[32],_0xbef0x4[_0x21a7[33]],_0xbef0x4[_0x21a7[35]][_0x21a7[34]],_0xbef0x4[_0x21a7[36]],_0xbef0x8-1):null;_0xbef0x5[_0x21a7[27]](200)[_0x21a7[26]]({count:_0xbef0xf[_0x21a7[29]],rows:_0xbef0xf[_0x21a7[37]],next_page:_0xbef0x11,previous_page:_0xbef0x12,total_pages:_0xbef0x10});})[_0x21a7[28]](function(_0xbef0xe){_0xbef0x5[_0x21a7[27]](500)[_0x21a7[26]]({error:_0x21a7[25]})});};exports[_0x21a7[40]]=function(_0xbef0x4,_0xbef0x5){console[_0x21a7[42]](_0xbef0x4[_0x21a7[41]]);Variable[_0x21a7[44]]({where:{name:_0xbef0x4[_0x21a7[41]][_0x21a7[6]]}})[_0x21a7[38]](function(_0xbef0x13){if(!_0xbef0x13){return _0xbef0x5[_0x21a7[43]](404)};return _0xbef0x5[_0x21a7[26]](_0xbef0x13);})[_0x21a7[28]](function(_0xbef0xe){return handleError(_0xbef0x5,_0xbef0xe)});};exports[_0x21a7[45]]=function(_0xbef0x4,_0xbef0x5){Variable[_0x21a7[48]](_0xbef0x4[_0x21a7[47]][_0x21a7[46]])[_0x21a7[38]](function(_0xbef0x14){if(!_0xbef0x14){return _0xbef0x5[_0x21a7[43]](404)};return _0xbef0x5[_0x21a7[26]](_0xbef0x14);})[_0x21a7[28]](function(_0xbef0xe){return handleError(_0xbef0x5,_0xbef0xe)})};exports[_0x21a7[49]]=function(_0xbef0x4,_0xbef0x5){Variable[_0x21a7[49]](_0xbef0x4[_0x21a7[41]])[_0x21a7[38]](function(_0xbef0x14){return _0xbef0x5[_0x21a7[27]](201)[_0x21a7[26]](_0xbef0x14)})[_0x21a7[28]](function(_0xbef0xe){return handleError(_0xbef0x5,_0xbef0xe)})};exports[_0x21a7[50]]=function(_0xbef0x4,_0xbef0x5){Variable[_0x21a7[44]]({where:{name:_0xbef0x4[_0x21a7[41]][_0x21a7[6]],id:{$ne:_0xbef0x4[_0x21a7[41]][_0x21a7[46]]}}})[_0x21a7[38]](function(_0xbef0x13){if(!_0xbef0x13){return _0xbef0x5[_0x21a7[43]](404)};if(_0xbef0x13[_0x21a7[51]]>0){return _0xbef0x5[_0x21a7[27]](500)[_0x21a7[26]]({message:_0x21a7[52]})};if(_0xbef0x4[_0x21a7[41]][_0x21a7[46]]){delete _0xbef0x4[_0x21a7[41]][_0x21a7[46]]};Variable[_0x21a7[55]]({where:{id:_0xbef0x4[_0x21a7[47]][_0x21a7[46]]}})[_0x21a7[38]](function(_0xbef0x14){if(!_0xbef0x14){return _0xbef0x5[_0x21a7[43]](404)};var _0xbef0x15=_[_0x21a7[53]](_0xbef0x14,_0xbef0x4[_0x21a7[41]]);_0xbef0x15[_0x21a7[54]]()[_0x21a7[38]](function(){return _0xbef0x5[_0x21a7[27]](200)[_0x21a7[26]](_0xbef0x14)})[_0x21a7[28]](function(_0xbef0xe){return handleError(_0xbef0x5,_0xbef0xe)});})[_0x21a7[28]](function(_0xbef0xe){return handleError(_0xbef0x5,_0xbef0xe)});})[_0x21a7[28]](function(_0xbef0xe){return handleError(_0xbef0x5,_0xbef0xe)})};exports[_0x21a7[56]]=function(_0xbef0x4,_0xbef0x5){Variable[_0x21a7[48]](_0xbef0x4[_0x21a7[47]][_0x21a7[46]])[_0x21a7[38]](function(_0xbef0x14){if(!_0xbef0x14){return _0xbef0x5[_0x21a7[43]](404)};_0xbef0x14[_0x21a7[58]]()[_0x21a7[38]](function(_0xbef0x16){if(_0xbef0x16[_0x21a7[51]]>0){return _0xbef0x5[_0x21a7[27]](500)[_0x21a7[26]]({message:_0x21a7[57]})};_0xbef0x14[_0x21a7[56]]()[_0x21a7[38]](function(){return _0xbef0x5[_0x21a7[43]](204)})[_0x21a7[28]](function(_0xbef0xe){return handleError(_0xbef0x5,_0xbef0xe)});})[_0x21a7[28]](function(_0xbef0xe){return handleError(_0xbef0x5,_0xbef0xe)});})[_0x21a7[28]](function(_0xbef0xe){return handleError(_0xbef0x5,_0xbef0xe)})};exports[_0x21a7[59]]=function(_0xbef0x4,_0xbef0x5){Variable[_0x21a7[56]]({where:{id:_0xbef0x4[_0x21a7[9]][_0x21a7[46]]},individualHooks:true})[_0x21a7[38]](function(){return _0xbef0x5[_0x21a7[43]](204)})[_0x21a7[28]](function(_0xbef0xe){return handleError(_0xbef0x5,_0xbef0xe)})};function handleError(_0xbef0x5,_0xbef0xe){return _0xbef0x5[_0x21a7[27]](500)[_0x21a7[26]](_0xbef0xe)}
\ No newline at end of file
+var _0x357d=["\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","\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\x76\x61\x72\x69\x61\x62\x6C\x65\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x6C\x6F\x67","\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","\x75\x70\x64\x61\x74\x65","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x56\x41\x52\x49\x41\x42\x4C\x45","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x4D\x45\x53\x53\x41\x47\x45\x5F\x56\x41\x52\x49\x41\x42\x4C\x45\x5F\x43\x4F\x4E\x46\x49\x47\x55\x52\x41\x54\x49\x4F\x4E\x5F\x41\x53\x53\x4F\x43\x49\x41\x54\x45\x44","\x67\x65\x74\x5A\x65\x6E\x64\x65\x73\x6B\x54\x65\x78\x74\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0x357d[0];var _=require(_0x357d[1]);var Variable=require(_0x357d[3])[_0x357d[2]];var util=require(_0x357d[4]);exports[_0x357d[5]]=function(_0xffaax4,_0xffaax5){var _0xffaax6=[_0x357d[6],_0x357d[7]];var _0xffaax7=_0xffaax4[_0x357d[9]][_0x357d[8]]?parseInt(_0xffaax4[_0x357d[9]][_0x357d[8]],10):100;var _0xffaax8=_0xffaax4[_0x357d[9]][_0x357d[10]]?parseInt(_0xffaax4[_0x357d[9]][_0x357d[10]],10):0;var _0xffaax9={where:{},limit:_0xffaax7,offset:_0xffaax8*_0xffaax7};_[_0x357d[24]](_0xffaax4[_0x357d[9]],function(_0xffaaxa,_0xffaaxb){switch(_0xffaaxb){case _0x357d[8]:;case _0x357d[10]:break ;;case _0x357d[13]:_0xffaax9[_0x357d[11]]=util[_0x357d[16]](_0x357d[12],_0xffaax4[_0x357d[9]][_0x357d[13]],_0xffaax4[_0x357d[9]][_0x357d[14]]||_0x357d[15])||null;break ;;case _0x357d[14]:break ;;case _0x357d[22]:_0xffaax9[_0x357d[18]][_0x357d[17]]=[];_0xffaax6[_0x357d[21]](function(_0xffaaxc){var _0xffaaxd={};_0xffaaxd[_0xffaaxc]={$like:_0x357d[19]+_0xffaaxa+_0x357d[19]};_0xffaax9[_0x357d[18]][_0x357d[17]][_0x357d[20]](_0xffaaxd);});break ;;default:_0xffaax9[_0x357d[18]][_0xffaaxb]={$like:{}};_0xffaax9[_0x357d[18]][_0xffaaxb][_0x357d[23]]=_0x357d[19]+_0xffaaxa+_0x357d[19];;}});Variable[_0x357d[39]](_0xffaax9)[_0x357d[38]](function(_0xffaaxf){var _0xffaax10=Math[_0x357d[30]](_0xffaaxf[_0x357d[29]]/_0xffaax7);var _0xffaax11=_0xffaax10>(_0xffaax9[_0x357d[31]]+1)?util[_0x357d[16]](_0x357d[32],_0xffaax4[_0x357d[33]],_0xffaax4[_0x357d[35]][_0x357d[34]],_0xffaax4[_0x357d[36]],_0xffaax8+1):null;var _0xffaax12=_0xffaax8>0?util[_0x357d[16]](_0x357d[32],_0xffaax4[_0x357d[33]],_0xffaax4[_0x357d[35]][_0x357d[34]],_0xffaax4[_0x357d[36]],_0xffaax8-1):null;_0xffaax5[_0x357d[27]](200)[_0x357d[26]]({count:_0xffaaxf[_0x357d[29]],rows:_0xffaaxf[_0x357d[37]],next_page:_0xffaax11,previous_page:_0xffaax12,total_pages:_0xffaax10});})[_0x357d[28]](function(_0xffaaxe){_0xffaax5[_0x357d[27]](500)[_0x357d[26]]({error:_0x357d[25]})});};exports[_0x357d[40]]=function(_0xffaax4,_0xffaax5){console[_0x357d[42]](_0xffaax4[_0x357d[41]]);Variable[_0x357d[44]]({where:{name:_0xffaax4[_0x357d[41]][_0x357d[6]]}})[_0x357d[38]](function(_0xffaax13){if(!_0xffaax13){return _0xffaax5[_0x357d[43]](404)};return _0xffaax5[_0x357d[26]](_0xffaax13);})[_0x357d[28]](function(_0xffaaxe){return handleError(_0xffaax5,_0xffaaxe)});};exports[_0x357d[45]]=function(_0xffaax4,_0xffaax5){Variable[_0x357d[48]](_0xffaax4[_0x357d[47]][_0x357d[46]])[_0x357d[38]](function(_0xffaax14){if(!_0xffaax14){return _0xffaax5[_0x357d[43]](404)};return _0xffaax5[_0x357d[26]](_0xffaax14);})[_0x357d[28]](function(_0xffaaxe){return handleError(_0xffaax5,_0xffaaxe)})};exports[_0x357d[49]]=function(_0xffaax4,_0xffaax5){Variable[_0x357d[49]](_0xffaax4[_0x357d[41]])[_0x357d[38]](function(_0xffaax14){return _0xffaax5[_0x357d[27]](201)[_0x357d[26]](_0xffaax14)})[_0x357d[28]](function(_0xffaaxe){return handleError(_0xffaax5,_0xffaaxe)})};exports[_0x357d[50]]=function(_0xffaax4,_0xffaax5){Variable[_0x357d[44]]({where:{name:_0xffaax4[_0x357d[41]][_0x357d[6]],id:{$ne:_0xffaax4[_0x357d[41]][_0x357d[46]]}}})[_0x357d[38]](function(_0xffaax13){if(!_0xffaax13){return _0xffaax5[_0x357d[43]](404)};if(_0xffaax13[_0x357d[51]]>0){return _0xffaax5[_0x357d[27]](500)[_0x357d[26]]({message:_0x357d[52]})};if(_0xffaax4[_0x357d[41]][_0x357d[46]]){delete _0xffaax4[_0x357d[41]][_0x357d[46]]};Variable[_0x357d[55]]({where:{id:_0xffaax4[_0x357d[47]][_0x357d[46]]}})[_0x357d[38]](function(_0xffaax14){if(!_0xffaax14){return _0xffaax5[_0x357d[43]](404)};var _0xffaax15=_[_0x357d[53]](_0xffaax14,_0xffaax4[_0x357d[41]]);_0xffaax15[_0x357d[54]]()[_0x357d[38]](function(){return _0xffaax5[_0x357d[27]](200)[_0x357d[26]](_0xffaax14)})[_0x357d[28]](function(_0xffaaxe){return handleError(_0xffaax5,_0xffaaxe)});})[_0x357d[28]](function(_0xffaaxe){return handleError(_0xffaax5,_0xffaaxe)});})[_0x357d[28]](function(_0xffaaxe){return handleError(_0xffaax5,_0xffaaxe)})};exports[_0x357d[56]]=function(_0xffaax4,_0xffaax5){Variable[_0x357d[48]](_0xffaax4[_0x357d[47]][_0x357d[46]])[_0x357d[38]](function(_0xffaax14){if(!_0xffaax14){return _0xffaax5[_0x357d[43]](404)};_0xffaax14[_0x357d[58]]()[_0x357d[38]](function(_0xffaax16){if(_0xffaax16[_0x357d[51]]>0){return _0xffaax5[_0x357d[27]](500)[_0x357d[26]]({message:_0x357d[57]})};_0xffaax14[_0x357d[56]]()[_0x357d[38]](function(){return _0xffaax5[_0x357d[43]](204)})[_0x357d[28]](function(_0xffaaxe){return handleError(_0xffaax5,_0xffaaxe)});})[_0x357d[28]](function(_0xffaaxe){return handleError(_0xffaax5,_0xffaaxe)});})[_0x357d[28]](function(_0xffaaxe){return handleError(_0xffaax5,_0xffaaxe)})};exports[_0x357d[59]]=function(_0xffaax4,_0xffaax5){Variable[_0x357d[56]]({where:{id:_0xffaax4[_0x357d[9]][_0x357d[46]]},individualHooks:true})[_0x357d[38]](function(){return _0xffaax5[_0x357d[43]](204)})[_0x357d[28]](function(_0xffaaxe){return handleError(_0xffaax5,_0xffaaxe)})};function handleError(_0xffaax5,_0xffaaxe){return _0xffaax5[_0x357d[27]](500)[_0x357d[26]](_0xffaaxe)}
\ No newline at end of file
index c412942..c2fac6f 100644 (file)
@@ -1 +1 @@
-var _0x69c4=["\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"];_0x69c4[0];var Variable=require(_0x69c4[2])[_0x69c4[1]];exports[_0x69c4[3]]=function(_0xfb04x2){Variable[_0x69c4[4]](function(_0xfb04x3){onSave(_0xfb04x2,_0xfb04x3)});Variable[_0x69c4[5]](function(_0xfb04x3){onRemove(_0xfb04x2,_0xfb04x3)});};function onSave(_0xfb04x2,_0xfb04x3,_0xfb04x5){_0xfb04x2[_0x69c4[7]](_0x69c4[6],_0xfb04x3)}function onRemove(_0xfb04x2,_0xfb04x3,_0xfb04x5){_0xfb04x2[_0x69c4[7]](_0x69c4[8],_0xfb04x3)}
\ No newline at end of file
+var _0xa8da=["\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"];_0xa8da[0];var Variable=require(_0xa8da[2])[_0xa8da[1]];exports[_0xa8da[3]]=function(_0xbf8cx2){Variable[_0xa8da[4]](function(_0xbf8cx3){onSave(_0xbf8cx2,_0xbf8cx3)});Variable[_0xa8da[5]](function(_0xbf8cx3){onRemove(_0xbf8cx2,_0xbf8cx3)});};function onSave(_0xbf8cx2,_0xbf8cx3,_0xbf8cx5){_0xbf8cx2[_0xa8da[7]](_0xa8da[6],_0xbf8cx3)}function onRemove(_0xbf8cx2,_0xbf8cx3,_0xbf8cx5){_0xbf8cx2[_0xa8da[7]](_0xa8da[8],_0xbf8cx3)}
\ No newline at end of file
index 95b6852..358ae25 100644 (file)
@@ -1 +1 @@
-var _0x8acc=["\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\x76\x61\x72\x69\x61\x62\x6C\x65\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\x76\x61\x72\x69\x61\x62\x6C\x65\x73","\x67\x65\x74"];_0x8acc[0];var should=require(_0x8acc[1]);var app=require(_0x8acc[2]);var request=require(_0x8acc[3]);describe(_0x8acc[4],function(){it(_0x8acc[5],function(_0x6eb9x4){request(app)[_0x8acc[13]](_0x8acc[12])[_0x8acc[11]](200)[_0x8acc[11]](_0x8acc[10],/json/)[_0x8acc[9]](function(_0x6eb9x5,_0x6eb9x6){if(_0x6eb9x5){return _0x6eb9x4(_0x6eb9x5)};_0x6eb9x6[_0x8acc[8]][_0x8acc[1]][_0x8acc[7]][_0x8acc[6]](Array);_0x6eb9x4();})})});
\ No newline at end of file
+var _0xfa95=["\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\x76\x61\x72\x69\x61\x62\x6C\x65\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\x76\x61\x72\x69\x61\x62\x6C\x65\x73","\x67\x65\x74"];_0xfa95[0];var should=require(_0xfa95[1]);var app=require(_0xfa95[2]);var request=require(_0xfa95[3]);describe(_0xfa95[4],function(){it(_0xfa95[5],function(_0x54a8x4){request(app)[_0xfa95[13]](_0xfa95[12])[_0xfa95[11]](200)[_0xfa95[11]](_0xfa95[10],/json/)[_0xfa95[9]](function(_0x54a8x5,_0x54a8x6){if(_0x54a8x5){return _0x54a8x4(_0x54a8x5)};_0x54a8x6[_0xfa95[8]][_0xfa95[1]][_0xfa95[7]][_0xfa95[6]](Array);_0x54a8x4();})})});
\ No newline at end of file
index ea21e4f..e72b20e 100644 (file)
@@ -1 +1 @@
-var _0x18ca=["\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","\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"];_0x18ca[0];var express=require(_0x18ca[1]);var controller=require(_0x18ca[2]);var auth=require(_0x18ca[3]);var router=express.Router();router[_0x18ca[7]](_0x18ca[4],auth[_0x18ca[5]](),controller[_0x18ca[6]]);router[_0x18ca[7]](_0x18ca[8],auth[_0x18ca[5]](),controller[_0x18ca[9]]);router[_0x18ca[11]](_0x18ca[4],auth[_0x18ca[5]](),controller[_0x18ca[10]]);router[_0x18ca[11]](_0x18ca[12],auth[_0x18ca[5]](),controller[_0x18ca[13]]);router[_0x18ca[15]](_0x18ca[8],auth[_0x18ca[5]](),controller[_0x18ca[14]]);router[_0x18ca[17]](_0x18ca[4],auth[_0x18ca[5]](),controller[_0x18ca[16]]);router[_0x18ca[17]](_0x18ca[8],auth[_0x18ca[5]](),controller[_0x18ca[18]]);module[_0x18ca[19]]=router;
\ No newline at end of file
+var _0xe552=["\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","\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"];_0xe552[0];var express=require(_0xe552[1]);var controller=require(_0xe552[2]);var auth=require(_0xe552[3]);var router=express.Router();router[_0xe552[7]](_0xe552[4],auth[_0xe552[5]](),controller[_0xe552[6]]);router[_0xe552[7]](_0xe552[8],auth[_0xe552[5]](),controller[_0xe552[9]]);router[_0xe552[11]](_0xe552[4],auth[_0xe552[5]](),controller[_0xe552[10]]);router[_0xe552[11]](_0xe552[12],auth[_0xe552[5]](),controller[_0xe552[13]]);router[_0xe552[15]](_0xe552[8],auth[_0xe552[5]](),controller[_0xe552[14]]);router[_0xe552[17]](_0xe552[4],auth[_0xe552[5]](),controller[_0xe552[16]]);router[_0xe552[17]](_0xe552[8],auth[_0xe552[5]](),controller[_0xe552[18]]);module[_0xe552[19]]=router;
\ No newline at end of file
index a1ae8b8..eedb5bc 100644 (file)
@@ -1 +1 @@
-var _0xe041=["\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","\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","\x72\x65\x67\x69\x73\x74\x65\x72","\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\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","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x61\x73\x74\x65\x72\x69\x73\x6B\x2F\x73\x69\x70\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"];_0xe041[0];var VoiceContext=require(_0xe041[2])[_0xe041[1]];var fs=require(_0xe041[3]);var util=require(_0xe041[4]);var path=require(_0xe041[5]);var config=require(_0xe041[6]);exports[_0xe041[7]]=function(_0x47d3x6){VoiceContext[_0xe041[13]](function(_0x47d3x7){if(_0x47d3x7[_0xe041[9]](_0xe041[8])){throw  new Error(_0xe041[10])};if(_0x47d3x7[_0xe041[11]]){throw  new Error(_0xe041[12])};});VoiceContext[_0xe041[15]](function(_0x47d3x8){if(_0x47d3x8[_0xe041[11]]){throw  new Error(_0xe041[14])}});VoiceContext[_0xe041[16]](function(_0x47d3x9){rewriteContexts(_0x47d3x9,_0x47d3x6,false)});VoiceContext[_0xe041[17]](function(_0x47d3x9){rewriteContexts(_0x47d3x9,_0x47d3x6,true)});};function rewriteContexts(_0x47d3x9,_0x47d3x6,_0x47d3xb){var _0x47d3xc=_0xe041[18];if(!_0x47d3xb){_0x47d3xc=util[_0xe041[20]](_0xe041[19],_0x47d3x9[_0xe041[8]])};VoiceContext[_0xe041[36]]({where:{id:{$ne:_0x47d3x9[_0xe041[35]]}}})[_0xe041[34]](function(_0x47d3xe){_0x47d3xe[_0xe041[23]](function(_0x47d3xf){_0x47d3xc+=util[_0xe041[20]](_0xe041[19],_0x47d3xf[_0xe041[8]])});fs[_0xe041[33]](path[_0xe041[26]](config[_0xe041[24]],_0xe041[25]),_0x47d3xc,{flags:_0xe041[27],mode:parseInt(_0xe041[28],8)},function(_0x47d3xd){if(_0x47d3xd){throw _0x47d3xd};console[_0xe041[21]](_0xe041[29]);_0x47d3x6[_0xe041[32]]({Action:_0xe041[30]},function(_0x47d3xd,_0x47d3x10){if(_0x47d3xd){console[_0xe041[31]](_0x47d3xd)}else {console[_0xe041[21]](_0x47d3x10)}});});})[_0xe041[22]](function(_0x47d3xd){console[_0xe041[21]](_0x47d3xd)});}
\ No newline at end of file
+var _0x8f07=["\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","\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","\x72\x65\x67\x69\x73\x74\x65\x72","\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\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","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x61\x73\x74\x65\x72\x69\x73\x6B\x2F\x73\x69\x70\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"];_0x8f07[0];var VoiceContext=require(_0x8f07[2])[_0x8f07[1]];var fs=require(_0x8f07[3]);var util=require(_0x8f07[4]);var path=require(_0x8f07[5]);var config=require(_0x8f07[6]);exports[_0x8f07[7]]=function(_0x820ax6){VoiceContext[_0x8f07[13]](function(_0x820ax7){if(_0x820ax7[_0x8f07[9]](_0x8f07[8])){throw  new Error(_0x8f07[10])};if(_0x820ax7[_0x8f07[11]]){throw  new Error(_0x8f07[12])};});VoiceContext[_0x8f07[15]](function(_0x820ax8){if(_0x820ax8[_0x8f07[11]]){throw  new Error(_0x8f07[14])}});VoiceContext[_0x8f07[16]](function(_0x820ax9){rewriteContexts(_0x820ax9,_0x820ax6,false)});VoiceContext[_0x8f07[17]](function(_0x820ax9){rewriteContexts(_0x820ax9,_0x820ax6,true)});};function rewriteContexts(_0x820ax9,_0x820ax6,_0x820axb){var _0x820axc=_0x8f07[18];if(!_0x820axb){_0x820axc=util[_0x8f07[20]](_0x8f07[19],_0x820ax9[_0x8f07[8]])};VoiceContext[_0x8f07[36]]({where:{id:{$ne:_0x820ax9[_0x8f07[35]]}}})[_0x8f07[34]](function(_0x820axe){_0x820axe[_0x8f07[23]](function(_0x820axf){_0x820axc+=util[_0x8f07[20]](_0x8f07[19],_0x820axf[_0x8f07[8]])});fs[_0x8f07[33]](path[_0x8f07[26]](config[_0x8f07[24]],_0x8f07[25]),_0x820axc,{flags:_0x8f07[27],mode:parseInt(_0x8f07[28],8)},function(_0x820axd){if(_0x820axd){throw _0x820axd};console[_0x8f07[21]](_0x8f07[29]);_0x820ax6[_0x8f07[32]]({Action:_0x8f07[30]},function(_0x820axd,_0x820ax10){if(_0x820axd){console[_0x8f07[31]](_0x820axd)}else {console[_0x8f07[21]](_0x820ax10)}});});})[_0x8f07[22]](function(_0x820axd){console[_0x8f07[21]](_0x820axd)});}
\ No newline at end of file
index c407e09..239ac12 100644 (file)
@@ -1 +1 @@
-var _0xe87f=["\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","\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","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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\x6F\x6E\x74\x65\x78\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x6C\x6F\x67","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x46\x69\x6E\x64\x69\x6E\x67\x20\x61\x70\x70\x20\x72\x6F\x77\x2E\x2E\x2E\x2E\x2E","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x52\x4F\x55\x54\x45","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x70\x6C\x75\x63\x6B"];_0xe87f[0];var _=require(_0xe87f[1]);var util=require(_0xe87f[2]);var sequelize=require(_0xe87f[4])[_0xe87f[3]];var VoiceContext=require(_0xe87f[4])[_0xe87f[5]];var VoiceExtension=require(_0xe87f[4])[_0xe87f[6]];exports[_0xe87f[7]]=function(_0x7d50x6,_0x7d50x7,_0x7d50x8){var _0x7d50x9=[_0xe87f[8],_0xe87f[9]];var _0x7d50xa=_0x7d50x6[_0xe87f[11]][_0xe87f[10]]?parseInt(_0x7d50x6[_0xe87f[11]][_0xe87f[10]],10):100;var _0x7d50xb=_0x7d50x6[_0xe87f[11]][_0xe87f[12]]?parseInt(_0x7d50x6[_0xe87f[11]][_0xe87f[12]],10):0;var _0x7d50xc={where:{},limit:_0x7d50xa,offset:_0x7d50xb*_0x7d50xa};_[_0xe87f[26]](_0x7d50x6[_0xe87f[11]],function(_0x7d50xd,_0x7d50xe){switch(_0x7d50xe){case _0xe87f[10]:;case _0xe87f[12]:break ;;case _0xe87f[15]:_0x7d50xc[_0xe87f[13]]=util[_0xe87f[18]](_0xe87f[14],_0x7d50x6[_0xe87f[11]][_0xe87f[15]],_0x7d50x6[_0xe87f[11]][_0xe87f[16]]||_0xe87f[17])||null;break ;;case _0xe87f[16]:break ;;case _0xe87f[24]:_0x7d50xc[_0xe87f[20]][_0xe87f[19]]=[];_0x7d50x9[_0xe87f[23]](function(_0x7d50xf){var _0x7d50x10={};_0x7d50x10[_0x7d50xf]={$like:_0xe87f[21]+_0x7d50xd+_0xe87f[21]};_0x7d50xc[_0xe87f[20]][_0xe87f[19]][_0xe87f[22]](_0x7d50x10);});break ;;default:_0x7d50xc[_0xe87f[20]][_0x7d50xe]={$like:{}};_0x7d50xc[_0xe87f[20]][_0x7d50xe][_0xe87f[25]]=_0xe87f[21]+_0x7d50xd+_0xe87f[21];;}});VoiceContext[_0xe87f[41]](_0x7d50xc)[_0xe87f[40]](function(_0x7d50x12){var _0x7d50x13=Math[_0xe87f[32]](_0x7d50x12[_0xe87f[31]]/_0x7d50xa);var _0x7d50x14=_0x7d50x13>(_0x7d50xc[_0xe87f[33]]+1)?util[_0xe87f[18]](_0xe87f[34],_0x7d50x6[_0xe87f[35]],_0x7d50x6[_0xe87f[37]][_0xe87f[36]],_0x7d50x6[_0xe87f[38]],_0x7d50xb+1):null;var _0x7d50x15=_0x7d50xb>0?util[_0xe87f[18]](_0xe87f[34],_0x7d50x6[_0xe87f[35]],_0x7d50x6[_0xe87f[37]][_0xe87f[36]],_0x7d50x6[_0xe87f[38]],_0x7d50xb-1):null;_0x7d50x7[_0xe87f[29]](200)[_0xe87f[28]]({count:_0x7d50x12[_0xe87f[31]],rows:_0x7d50x12[_0xe87f[39]],next_page:_0x7d50x14,previous_page:_0x7d50x15,total_pages:_0x7d50x13});})[_0xe87f[30]](function(_0x7d50x11){_0x7d50x7[_0xe87f[29]](500)[_0xe87f[28]]({error:_0xe87f[27]})});};exports[_0xe87f[42]]=function(_0x7d50x6,_0x7d50x7){VoiceContext[_0xe87f[46]](_0x7d50x6[_0xe87f[45]][_0xe87f[44]])[_0xe87f[40]](function(_0x7d50x16){if(!_0x7d50x16){return _0x7d50x7[_0xe87f[43]](404)};return _0x7d50x7[_0xe87f[28]](_0x7d50x16);})[_0xe87f[30]](function(_0x7d50x11){return handleError(_0x7d50x7,_0x7d50x11)})};exports[_0xe87f[47]]=function(_0x7d50x6,_0x7d50x7){console[_0xe87f[49]](_0x7d50x6[_0xe87f[48]]);VoiceContext[_0xe87f[50]]({where:{name:_0x7d50x6[_0xe87f[48]][_0xe87f[8]]}})[_0xe87f[40]](function(_0x7d50x17){if(!_0x7d50x17){return _0x7d50x7[_0xe87f[43]](404)};return _0x7d50x7[_0xe87f[28]](_0x7d50x17);})[_0xe87f[30]](function(_0x7d50x11){return handleError(_0x7d50x7,_0x7d50x11)});};exports[_0xe87f[51]]=function(_0x7d50x6,_0x7d50x7){VoiceContext[_0xe87f[50]]({where:{name:_0x7d50x6[_0xe87f[48]][_0xe87f[8]]}})[_0xe87f[40]](function(_0x7d50x18){console[_0xe87f[49]](_0x7d50x18);console[_0xe87f[49]](_0xe87f[52]);if(!_0x7d50x18){return _0x7d50x7[_0xe87f[43]](404)};if(_0x7d50x18[_0xe87f[53]]>0){return _0x7d50x7[_0xe87f[29]](500)[_0xe87f[28]]({message:_0xe87f[54]})};VoiceContext[_0xe87f[51]](_0x7d50x6[_0xe87f[48]])[_0xe87f[40]](function(_0x7d50x16){return _0x7d50x7[_0xe87f[29]](201)[_0xe87f[28]](_0x7d50x16)})[_0xe87f[30]](function(_0x7d50x11){return handleError(_0x7d50x7,_0x7d50x11)});})[_0xe87f[30]](function(_0x7d50x11){return handleError(_0x7d50x7,_0x7d50x11)})};exports[_0xe87f[55]]=function(_0x7d50x6,_0x7d50x7){VoiceContext[_0xe87f[50]]({where:{name:_0x7d50x6[_0xe87f[48]][_0xe87f[8]],id:{$ne:_0x7d50x6[_0xe87f[48]][_0xe87f[44]]}}})[_0xe87f[40]](function(_0x7d50x18){console[_0xe87f[49]](_0x7d50x18);console[_0xe87f[49]](_0xe87f[52]);if(!_0x7d50x18){return _0x7d50x7[_0xe87f[43]](404)};if(_0x7d50x18[_0xe87f[53]]>0){return _0x7d50x7[_0xe87f[29]](500)[_0xe87f[28]]({message:_0xe87f[54]})};if(_0x7d50x6[_0xe87f[48]][_0xe87f[44]]){delete _0x7d50x6[_0xe87f[48]][_0xe87f[44]]};VoiceContext[_0xe87f[46]](_0x7d50x6[_0xe87f[45]][_0xe87f[44]])[_0xe87f[40]](function(_0x7d50x16){if(!_0x7d50x16){return _0x7d50x7[_0xe87f[43]](404)};var _0x7d50x19=_[_0xe87f[56]](_0x7d50x16,_0x7d50x6[_0xe87f[48]]);_0x7d50x19[_0xe87f[57]]()[_0xe87f[40]](function(){return _0x7d50x7[_0xe87f[29]](200)[_0xe87f[28]](_0x7d50x16)})[_0xe87f[30]](function(_0x7d50x11){return handleError(_0x7d50x7,_0x7d50x11)});})[_0xe87f[30]](function(_0x7d50x11){return handleError(_0x7d50x7,_0x7d50x11)});})[_0xe87f[30]](function(_0x7d50x11){return handleError(_0x7d50x7,_0x7d50x11)})};exports[_0xe87f[58]]=function(_0x7d50x6,_0x7d50x7){VoiceContext[_0xe87f[46]](_0x7d50x6[_0xe87f[45]][_0xe87f[44]])[_0xe87f[40]](function(_0x7d50x16){if(!_0x7d50x16){return _0x7d50x7[_0xe87f[43]](404)};VoiceExtension[_0xe87f[50]]({where:{context:_0x7d50x16[_0xe87f[8]]}})[_0xe87f[40]](function(_0x7d50x1a){if(_0x7d50x1a[_0xe87f[53]]>0){return _0x7d50x7[_0xe87f[29]](500)[_0xe87f[28]]({message:_0xe87f[59]})};_0x7d50x16[_0xe87f[58]]()[_0xe87f[40]](function(){return _0x7d50x7[_0xe87f[43]](204)})[_0xe87f[30]](function(_0x7d50x11){return handleError(_0x7d50x7,_0x7d50x11)});})[_0xe87f[30]](function(_0x7d50x11){return handleError(_0x7d50x7,_0x7d50x11)});})[_0xe87f[30]](function(_0x7d50x11){return handleError(_0x7d50x7,_0x7d50x11)})};exports[_0xe87f[60]]=function(_0x7d50x6,_0x7d50x7){VoiceContext[_0xe87f[50]]({where:{id:_0x7d50x6[_0xe87f[11]][_0xe87f[44]]}})[_0xe87f[40]](function(_0x7d50x17){if(!_0x7d50x17){return _0x7d50x7[_0xe87f[43]](404)};var _0x7d50x1b=_[_0xe87f[62]](_[_0xe87f[62]](_0x7d50x17,_0xe87f[61]),_0xe87f[8]);VoiceExtension[_0xe87f[50]]({where:{context:_0x7d50x1b}})[_0xe87f[40]](function(_0x7d50x1a){if(_0x7d50x1a[_0xe87f[53]]>0){return _0x7d50x7[_0xe87f[29]](500)[_0xe87f[28]]({message:_0xe87f[59]})};VoiceContext[_0xe87f[58]]({where:{id:_0x7d50x6[_0xe87f[11]][_0xe87f[44]]},individualHooks:true})[_0xe87f[40]](function(){return _0x7d50x7[_0xe87f[43]](204)})[_0xe87f[30]](function(_0x7d50x11){return handleError(_0x7d50x7,_0x7d50x11)});})[_0xe87f[30]](function(_0x7d50x11){return handleError(_0x7d50x7,_0x7d50x11)});})[_0xe87f[30]](function(_0x7d50x11){return handleError(_0x7d50x7,_0x7d50x11)})};function handleError(_0x7d50x7,_0x7d50x11){return _0x7d50x7[_0xe87f[29]](500)[_0xe87f[28]](_0x7d50x11)}
\ No newline at end of file
+var _0x9ee1=["\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","\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","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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\x6F\x6E\x74\x65\x78\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x6C\x6F\x67","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x46\x69\x6E\x64\x69\x6E\x67\x20\x61\x70\x70\x20\x72\x6F\x77\x2E\x2E\x2E\x2E\x2E","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x52\x4F\x55\x54\x45","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x70\x6C\x75\x63\x6B"];_0x9ee1[0];var _=require(_0x9ee1[1]);var util=require(_0x9ee1[2]);var sequelize=require(_0x9ee1[4])[_0x9ee1[3]];var VoiceContext=require(_0x9ee1[4])[_0x9ee1[5]];var VoiceExtension=require(_0x9ee1[4])[_0x9ee1[6]];exports[_0x9ee1[7]]=function(_0x1ecbx6,_0x1ecbx7,_0x1ecbx8){var _0x1ecbx9=[_0x9ee1[8],_0x9ee1[9]];var _0x1ecbxa=_0x1ecbx6[_0x9ee1[11]][_0x9ee1[10]]?parseInt(_0x1ecbx6[_0x9ee1[11]][_0x9ee1[10]],10):100;var _0x1ecbxb=_0x1ecbx6[_0x9ee1[11]][_0x9ee1[12]]?parseInt(_0x1ecbx6[_0x9ee1[11]][_0x9ee1[12]],10):0;var _0x1ecbxc={where:{},limit:_0x1ecbxa,offset:_0x1ecbxb*_0x1ecbxa};_[_0x9ee1[26]](_0x1ecbx6[_0x9ee1[11]],function(_0x1ecbxd,_0x1ecbxe){switch(_0x1ecbxe){case _0x9ee1[10]:;case _0x9ee1[12]:break ;;case _0x9ee1[15]:_0x1ecbxc[_0x9ee1[13]]=util[_0x9ee1[18]](_0x9ee1[14],_0x1ecbx6[_0x9ee1[11]][_0x9ee1[15]],_0x1ecbx6[_0x9ee1[11]][_0x9ee1[16]]||_0x9ee1[17])||null;break ;;case _0x9ee1[16]:break ;;case _0x9ee1[24]:_0x1ecbxc[_0x9ee1[20]][_0x9ee1[19]]=[];_0x1ecbx9[_0x9ee1[23]](function(_0x1ecbxf){var _0x1ecbx10={};_0x1ecbx10[_0x1ecbxf]={$like:_0x9ee1[21]+_0x1ecbxd+_0x9ee1[21]};_0x1ecbxc[_0x9ee1[20]][_0x9ee1[19]][_0x9ee1[22]](_0x1ecbx10);});break ;;default:_0x1ecbxc[_0x9ee1[20]][_0x1ecbxe]={$like:{}};_0x1ecbxc[_0x9ee1[20]][_0x1ecbxe][_0x9ee1[25]]=_0x9ee1[21]+_0x1ecbxd+_0x9ee1[21];;}});VoiceContext[_0x9ee1[41]](_0x1ecbxc)[_0x9ee1[40]](function(_0x1ecbx12){var _0x1ecbx13=Math[_0x9ee1[32]](_0x1ecbx12[_0x9ee1[31]]/_0x1ecbxa);var _0x1ecbx14=_0x1ecbx13>(_0x1ecbxc[_0x9ee1[33]]+1)?util[_0x9ee1[18]](_0x9ee1[34],_0x1ecbx6[_0x9ee1[35]],_0x1ecbx6[_0x9ee1[37]][_0x9ee1[36]],_0x1ecbx6[_0x9ee1[38]],_0x1ecbxb+1):null;var _0x1ecbx15=_0x1ecbxb>0?util[_0x9ee1[18]](_0x9ee1[34],_0x1ecbx6[_0x9ee1[35]],_0x1ecbx6[_0x9ee1[37]][_0x9ee1[36]],_0x1ecbx6[_0x9ee1[38]],_0x1ecbxb-1):null;_0x1ecbx7[_0x9ee1[29]](200)[_0x9ee1[28]]({count:_0x1ecbx12[_0x9ee1[31]],rows:_0x1ecbx12[_0x9ee1[39]],next_page:_0x1ecbx14,previous_page:_0x1ecbx15,total_pages:_0x1ecbx13});})[_0x9ee1[30]](function(_0x1ecbx11){_0x1ecbx7[_0x9ee1[29]](500)[_0x9ee1[28]]({error:_0x9ee1[27]})});};exports[_0x9ee1[42]]=function(_0x1ecbx6,_0x1ecbx7){VoiceContext[_0x9ee1[46]](_0x1ecbx6[_0x9ee1[45]][_0x9ee1[44]])[_0x9ee1[40]](function(_0x1ecbx16){if(!_0x1ecbx16){return _0x1ecbx7[_0x9ee1[43]](404)};return _0x1ecbx7[_0x9ee1[28]](_0x1ecbx16);})[_0x9ee1[30]](function(_0x1ecbx11){return handleError(_0x1ecbx7,_0x1ecbx11)})};exports[_0x9ee1[47]]=function(_0x1ecbx6,_0x1ecbx7){console[_0x9ee1[49]](_0x1ecbx6[_0x9ee1[48]]);VoiceContext[_0x9ee1[50]]({where:{name:_0x1ecbx6[_0x9ee1[48]][_0x9ee1[8]]}})[_0x9ee1[40]](function(_0x1ecbx17){if(!_0x1ecbx17){return _0x1ecbx7[_0x9ee1[43]](404)};return _0x1ecbx7[_0x9ee1[28]](_0x1ecbx17);})[_0x9ee1[30]](function(_0x1ecbx11){return handleError(_0x1ecbx7,_0x1ecbx11)});};exports[_0x9ee1[51]]=function(_0x1ecbx6,_0x1ecbx7){VoiceContext[_0x9ee1[50]]({where:{name:_0x1ecbx6[_0x9ee1[48]][_0x9ee1[8]]}})[_0x9ee1[40]](function(_0x1ecbx18){console[_0x9ee1[49]](_0x1ecbx18);console[_0x9ee1[49]](_0x9ee1[52]);if(!_0x1ecbx18){return _0x1ecbx7[_0x9ee1[43]](404)};if(_0x1ecbx18[_0x9ee1[53]]>0){return _0x1ecbx7[_0x9ee1[29]](500)[_0x9ee1[28]]({message:_0x9ee1[54]})};VoiceContext[_0x9ee1[51]](_0x1ecbx6[_0x9ee1[48]])[_0x9ee1[40]](function(_0x1ecbx16){return _0x1ecbx7[_0x9ee1[29]](201)[_0x9ee1[28]](_0x1ecbx16)})[_0x9ee1[30]](function(_0x1ecbx11){return handleError(_0x1ecbx7,_0x1ecbx11)});})[_0x9ee1[30]](function(_0x1ecbx11){return handleError(_0x1ecbx7,_0x1ecbx11)})};exports[_0x9ee1[55]]=function(_0x1ecbx6,_0x1ecbx7){VoiceContext[_0x9ee1[50]]({where:{name:_0x1ecbx6[_0x9ee1[48]][_0x9ee1[8]],id:{$ne:_0x1ecbx6[_0x9ee1[48]][_0x9ee1[44]]}}})[_0x9ee1[40]](function(_0x1ecbx18){console[_0x9ee1[49]](_0x1ecbx18);console[_0x9ee1[49]](_0x9ee1[52]);if(!_0x1ecbx18){return _0x1ecbx7[_0x9ee1[43]](404)};if(_0x1ecbx18[_0x9ee1[53]]>0){return _0x1ecbx7[_0x9ee1[29]](500)[_0x9ee1[28]]({message:_0x9ee1[54]})};if(_0x1ecbx6[_0x9ee1[48]][_0x9ee1[44]]){delete _0x1ecbx6[_0x9ee1[48]][_0x9ee1[44]]};VoiceContext[_0x9ee1[46]](_0x1ecbx6[_0x9ee1[45]][_0x9ee1[44]])[_0x9ee1[40]](function(_0x1ecbx16){if(!_0x1ecbx16){return _0x1ecbx7[_0x9ee1[43]](404)};var _0x1ecbx19=_[_0x9ee1[56]](_0x1ecbx16,_0x1ecbx6[_0x9ee1[48]]);_0x1ecbx19[_0x9ee1[57]]()[_0x9ee1[40]](function(){return _0x1ecbx7[_0x9ee1[29]](200)[_0x9ee1[28]](_0x1ecbx16)})[_0x9ee1[30]](function(_0x1ecbx11){return handleError(_0x1ecbx7,_0x1ecbx11)});})[_0x9ee1[30]](function(_0x1ecbx11){return handleError(_0x1ecbx7,_0x1ecbx11)});})[_0x9ee1[30]](function(_0x1ecbx11){return handleError(_0x1ecbx7,_0x1ecbx11)})};exports[_0x9ee1[58]]=function(_0x1ecbx6,_0x1ecbx7){VoiceContext[_0x9ee1[46]](_0x1ecbx6[_0x9ee1[45]][_0x9ee1[44]])[_0x9ee1[40]](function(_0x1ecbx16){if(!_0x1ecbx16){return _0x1ecbx7[_0x9ee1[43]](404)};VoiceExtension[_0x9ee1[50]]({where:{context:_0x1ecbx16[_0x9ee1[8]]}})[_0x9ee1[40]](function(_0x1ecbx1a){if(_0x1ecbx1a[_0x9ee1[53]]>0){return _0x1ecbx7[_0x9ee1[29]](500)[_0x9ee1[28]]({message:_0x9ee1[59]})};_0x1ecbx16[_0x9ee1[58]]()[_0x9ee1[40]](function(){return _0x1ecbx7[_0x9ee1[43]](204)})[_0x9ee1[30]](function(_0x1ecbx11){return handleError(_0x1ecbx7,_0x1ecbx11)});})[_0x9ee1[30]](function(_0x1ecbx11){return handleError(_0x1ecbx7,_0x1ecbx11)});})[_0x9ee1[30]](function(_0x1ecbx11){return handleError(_0x1ecbx7,_0x1ecbx11)})};exports[_0x9ee1[60]]=function(_0x1ecbx6,_0x1ecbx7){VoiceContext[_0x9ee1[50]]({where:{id:_0x1ecbx6[_0x9ee1[11]][_0x9ee1[44]]}})[_0x9ee1[40]](function(_0x1ecbx17){if(!_0x1ecbx17){return _0x1ecbx7[_0x9ee1[43]](404)};var _0x1ecbx1b=_[_0x9ee1[62]](_[_0x9ee1[62]](_0x1ecbx17,_0x9ee1[61]),_0x9ee1[8]);VoiceExtension[_0x9ee1[50]]({where:{context:_0x1ecbx1b}})[_0x9ee1[40]](function(_0x1ecbx1a){if(_0x1ecbx1a[_0x9ee1[53]]>0){return _0x1ecbx7[_0x9ee1[29]](500)[_0x9ee1[28]]({message:_0x9ee1[59]})};VoiceContext[_0x9ee1[58]]({where:{id:_0x1ecbx6[_0x9ee1[11]][_0x9ee1[44]]},individualHooks:true})[_0x9ee1[40]](function(){return _0x1ecbx7[_0x9ee1[43]](204)})[_0x9ee1[30]](function(_0x1ecbx11){return handleError(_0x1ecbx7,_0x1ecbx11)});})[_0x9ee1[30]](function(_0x1ecbx11){return handleError(_0x1ecbx7,_0x1ecbx11)});})[_0x9ee1[30]](function(_0x1ecbx11){return handleError(_0x1ecbx7,_0x1ecbx11)})};function handleError(_0x1ecbx7,_0x1ecbx11){return _0x1ecbx7[_0x9ee1[29]](500)[_0x9ee1[28]](_0x1ecbx11)}
\ No newline at end of file
index 91d7ece..3d246bc 100644 (file)
@@ -1 +1 @@
-var _0x9410=["\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"];_0x9410[0];var VoiceContext=require(_0x9410[2])[_0x9410[1]];exports[_0x9410[3]]=function(_0xe32fx2){VoiceContext[_0x9410[4]](function(_0xe32fx3){onSave(_0xe32fx2,_0xe32fx3)});VoiceContext[_0x9410[5]](function(_0xe32fx3){onRemove(_0xe32fx2,_0xe32fx3)});};function onSave(_0xe32fx2,_0xe32fx3,_0xe32fx5){_0xe32fx2[_0x9410[7]](_0x9410[6],_0xe32fx3)}function onRemove(_0xe32fx2,_0xe32fx3,_0xe32fx5){_0xe32fx2[_0x9410[7]](_0x9410[8],_0xe32fx3)}
\ No newline at end of file
+var _0x42e4=["\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"];_0x42e4[0];var VoiceContext=require(_0x42e4[2])[_0x42e4[1]];exports[_0x42e4[3]]=function(_0xba97x2){VoiceContext[_0x42e4[4]](function(_0xba97x3){onSave(_0xba97x2,_0xba97x3)});VoiceContext[_0x42e4[5]](function(_0xba97x3){onRemove(_0xba97x2,_0xba97x3)});};function onSave(_0xba97x2,_0xba97x3,_0xba97x5){_0xba97x2[_0x42e4[7]](_0x42e4[6],_0xba97x3)}function onRemove(_0xba97x2,_0xba97x3,_0xba97x5){_0xba97x2[_0x42e4[7]](_0x42e4[8],_0xba97x3)}
\ No newline at end of file
index 8665cd7..ab314f7 100644 (file)
@@ -1 +1 @@
-var _0x43f6=["\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\x76\x6F\x69\x63\x65\x2F\x63\x6F\x6E\x74\x65\x78\x74\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\x76\x6F\x69\x63\x65\x2F\x63\x6F\x6E\x74\x65\x78\x74\x73","\x67\x65\x74"];_0x43f6[0];var should=require(_0x43f6[1]);var app=require(_0x43f6[2]);var request=require(_0x43f6[3]);describe(_0x43f6[4],function(){it(_0x43f6[5],function(_0x45b5x4){request(app)[_0x43f6[13]](_0x43f6[12])[_0x43f6[11]](200)[_0x43f6[11]](_0x43f6[10],/json/)[_0x43f6[9]](function(_0x45b5x5,_0x45b5x6){if(_0x45b5x5){return _0x45b5x4(_0x45b5x5)};_0x45b5x6[_0x43f6[8]][_0x43f6[1]][_0x43f6[7]][_0x43f6[6]](Array);_0x45b5x4();})})});
\ No newline at end of file
+var _0xdd37=["\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\x76\x6F\x69\x63\x65\x2F\x63\x6F\x6E\x74\x65\x78\x74\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\x76\x6F\x69\x63\x65\x2F\x63\x6F\x6E\x74\x65\x78\x74\x73","\x67\x65\x74"];_0xdd37[0];var should=require(_0xdd37[1]);var app=require(_0xdd37[2]);var request=require(_0xdd37[3]);describe(_0xdd37[4],function(){it(_0xdd37[5],function(_0x49a6x4){request(app)[_0xdd37[13]](_0xdd37[12])[_0xdd37[11]](200)[_0xdd37[11]](_0xdd37[10],/json/)[_0xdd37[9]](function(_0x49a6x5,_0x49a6x6){if(_0x49a6x5){return _0x49a6x4(_0x49a6x5)};_0x49a6x6[_0xdd37[8]][_0xdd37[1]][_0xdd37[7]][_0xdd37[6]](Array);_0x49a6x4();})})});
\ No newline at end of file
index 1ac30de..6c87ec1 100644 (file)
@@ -1 +1 @@
-var _0x7851=["\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","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x72\x6F\x75\x74\x65\x2F\x3A\x72\x6F\x75\x74\x65","\x73\x68\x6F\x77\x42\x79\x52\x6F\x75\x74\x65","\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x41\x70\x70\x73\x42\x79\x52\x6F\x75\x74\x65","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65","\x72\x6F\x75\x74\x65\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x70\x6F\x73\x74","\x73\x6F\x72\x74\x41\x70\x70\x73\x42\x79\x52\x6F\x75\x74\x65","\x63\x72\x65\x61\x74\x65","\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","\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"];_0x7851[0];var express=require(_0x7851[1]);var controller=require(_0x7851[2]);var auth=require(_0x7851[3]);var router=express.Router();router[_0x7851[7]](_0x7851[4],auth[_0x7851[5]](),controller[_0x7851[6]]);router[_0x7851[7]](_0x7851[8],auth[_0x7851[5]](),controller[_0x7851[9]]);router[_0x7851[7]](_0x7851[10],auth[_0x7851[5]](),controller[_0x7851[11]]);router[_0x7851[7]](_0x7851[12],auth[_0x7851[5]](),controller[_0x7851[11]]);router[_0x7851[7]](_0x7851[13],auth[_0x7851[5]](),controller[_0x7851[14]]);router[_0x7851[17]](_0x7851[15],auth[_0x7851[5]](),controller[_0x7851[16]]);router[_0x7851[17]](_0x7851[13],auth[_0x7851[5]](),controller[_0x7851[18]]);router[_0x7851[17]](_0x7851[4],auth[_0x7851[5]](),controller[_0x7851[19]]);router[_0x7851[21]](_0x7851[12],auth[_0x7851[5]](),controller[_0x7851[20]]);router[_0x7851[21]](_0x7851[10],auth[_0x7851[5]](),controller[_0x7851[22]]);router[_0x7851[24]](_0x7851[4],auth[_0x7851[5]](),controller[_0x7851[23]]);router[_0x7851[24]](_0x7851[12],auth[_0x7851[5]](),controller[_0x7851[25]]);module[_0x7851[26]]=router;
\ No newline at end of file
+var _0x52e9=["\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","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x72\x6F\x75\x74\x65\x2F\x3A\x72\x6F\x75\x74\x65","\x73\x68\x6F\x77\x42\x79\x52\x6F\x75\x74\x65","\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x41\x70\x70\x73\x42\x79\x52\x6F\x75\x74\x65","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65","\x72\x6F\x75\x74\x65\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x70\x6F\x73\x74","\x73\x6F\x72\x74\x41\x70\x70\x73\x42\x79\x52\x6F\x75\x74\x65","\x63\x72\x65\x61\x74\x65","\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","\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"];_0x52e9[0];var express=require(_0x52e9[1]);var controller=require(_0x52e9[2]);var auth=require(_0x52e9[3]);var router=express.Router();router[_0x52e9[7]](_0x52e9[4],auth[_0x52e9[5]](),controller[_0x52e9[6]]);router[_0x52e9[7]](_0x52e9[8],auth[_0x52e9[5]](),controller[_0x52e9[9]]);router[_0x52e9[7]](_0x52e9[10],auth[_0x52e9[5]](),controller[_0x52e9[11]]);router[_0x52e9[7]](_0x52e9[12],auth[_0x52e9[5]](),controller[_0x52e9[11]]);router[_0x52e9[7]](_0x52e9[13],auth[_0x52e9[5]](),controller[_0x52e9[14]]);router[_0x52e9[17]](_0x52e9[15],auth[_0x52e9[5]](),controller[_0x52e9[16]]);router[_0x52e9[17]](_0x52e9[13],auth[_0x52e9[5]](),controller[_0x52e9[18]]);router[_0x52e9[17]](_0x52e9[4],auth[_0x52e9[5]](),controller[_0x52e9[19]]);router[_0x52e9[21]](_0x52e9[12],auth[_0x52e9[5]](),controller[_0x52e9[20]]);router[_0x52e9[21]](_0x52e9[10],auth[_0x52e9[5]](),controller[_0x52e9[22]]);router[_0x52e9[24]](_0x52e9[4],auth[_0x52e9[5]](),controller[_0x52e9[23]]);router[_0x52e9[24]](_0x52e9[12],auth[_0x52e9[5]](),controller[_0x52e9[25]]);module[_0x52e9[26]]=router;
\ No newline at end of file
index 928a28f..a38c752 100644 (file)
@@ -1 +1 @@
-var _0xc899=["\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","\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","\x53\x65\x74","\x43\x41\x4C\x4C\x45\x52\x49\x44\x28\x61\x6C\x6C\x29\x3D\x25\x73","\x44\x69\x61\x6C","\x25\x73\x2C\x25\x73\x2C\x25\x73\x2C\x25\x73","\x4E\x6F\x4F\x70","\x44\x69\x61\x6C\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x41\x6E\x73\x77\x65\x72","","\x51\x75\x65\x75\x65","\x25\x73\x2C\x25\x73\x2C\x25\x73\x2C\x25\x73\x2C\x25\x73","\x51\x75\x65\x75\x65\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x50\x6C\x61\x79\x62\x61\x63\x6B","\x25\x73\x2C\x25\x73","\x50\x6C\x61\x79\x62\x61\x63\x6B\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\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\x25\x73","\x41\x47\x49\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x47\x6F\x74\x6F","\x25\x73\x2C\x25\x73\x2C\x25\x64","\x47\x6F\x74\x6F\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x48\x61\x6E\x67\x75\x70","\x25\x73","\x48\x61\x6E\x67\x75\x70\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x25\x73\x3D\x25\x73","\x53\x65\x74\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x63\x75\x73\x74\x6F\x6D","\x43\x75\x73\x74\x6F\x6D\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\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","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77\x42\x79\x52\x6F\x75\x74\x65","\x63\x6F\x6E\x74\x65\x78\x74","\x65\x78\x74\x65\x6E","\x61\x70\x70","\x61\x70\x70\x64\x61\x74\x61","\x70\x65\x72\x5F\x70\x61\x67\x65","\x71\x75\x65\x72\x79","\x70\x61\x67\x65","\x72\x6F\x75\x74\x65","\x70\x61\x72\x61\x6D\x73","\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\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\x41\x70\x70\x73\x42\x79\x52\x6F\x75\x74\x65","\x69\x64","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x6F\x75\x74\x65\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x74\x79\x70\x65","\x73\x6F\x72\x74\x41\x70\x70\x73\x42\x79\x52\x6F\x75\x74\x65","\x61\x70\x70\x47\x72\x6F\x75\x70","\x69\x73\x41\x70\x70","\x66\x69\x6E\x64","\x63\x6C\x6F\x6E\x65\x44\x65\x65\x70","\x63\x75\x73\x74\x6F\x6D\x41\x70\x70","\x25\x73\x25\x73\x25\x73","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x2A\x2C\x2A\x2C\x2A\x2C\x2A","\x69\x73\x49\x6E\x74\x65\x72\x76\x61\x6C","\x66\x69\x6C\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x73\x70\x6C\x69\x63\x65","\x47\x6F\x74\x6F\x49\x66\x54\x69\x6D\x65\x46\x72\x6F\x6D\x41\x72\x72\x61\x79","\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","\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64","\x75\x6E\x73\x68\x69\x66\x74","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x49\x64","\x70\x72\x69\x6F\x72\x69\x74\x79","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x70\x6C\x75\x63\x6B","\x68\x61\x6E\x64\x6C\x65\x45\x72\x72\x6F\x72","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x52\x4F\x55\x54\x45","\x6D\x61\x78","\x63\x61\x6C\x6C\x65\x72\x49\x44","\x72\x65\x6D\x6F\x76\x65","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x74\x72\x75\x6E\x6B","\x54\x72\x75\x6E\x6B\x49\x64","\x63\x75\x74\x64\x69\x67\x69\x74\x73","\x69\x6E\x74\x65\x72\x66\x61\x63\x65","\x61\x70\x70\x5F\x6F\x70\x74\x69\x6F\x6E\x73","\x74\x69\x6D\x65\x6F\x75\x74","\x75\x72\x6C","\x2C","\x72\x65\x70\x6C\x61\x63\x65","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x20\x44\x69\x61\x6C\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x61\x75\x64\x69\x6F\x66\x69\x6C\x65","\x71\x75\x65\x75\x65","\x70\x72\x6F\x6A\x65\x63\x74","\x61\x6C\x74\x5F\x70\x72\x69\x6F\x72\x69\x74\x79","\x61\x6C\x74\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x61\x6C\x74\x5F\x63\x6F\x6E\x74\x65\x78\x74","\x63\x61\x75\x73\x65\x63\x6F\x64\x65","\x76\x61\x72\x69\x61\x62\x6C\x65","\x76\x61\x6C\x75\x65","\x6D\x61\x69\x6C\x62\x6F\x78","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\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"];_0xc899[0];var _=require(_0xc899[1]);var VoiceExtension=require(_0xc899[3])[_0xc899[2]];var Interval=require(_0xc899[3])[_0xc899[4]];var sequelize=require(_0xc899[3])[_0xc899[5]];var Sequelize=require(_0xc899[3])[_0xc899[6]];var util=require(_0xc899[7]);var async=require(_0xc899[8]);var Applications={Dial:[{app:_0xc899[9],appdata:_0xc899[10]},{app:_0xc899[11],appdata:_0xc899[12]},{app:_0xc899[13],appdata:_0xc899[14],isApp:true},{app:_0xc899[15],appdata:_0xc899[16]}],Queue:[{app:_0xc899[9],appdata:_0xc899[10]},{app:_0xc899[17],appdata:_0xc899[18]},{app:_0xc899[19],appdata:_0xc899[20],isApp:true},{app:_0xc899[15],appdata:_0xc899[21]}],Playback:[{app:_0xc899[9],appdata:_0xc899[10]},{app:_0xc899[22],appdata:_0xc899[23],isApp:true},{app:_0xc899[15],appdata:_0xc899[24]}],AGI:[{app:_0xc899[9],appdata:_0xc899[10]},{app:_0xc899[25],appdata:_0xc899[26],isApp:true},{app:_0xc899[15],appdata:_0xc899[27]}],Goto:[{app:_0xc899[9],appdata:_0xc899[10]},{app:_0xc899[28],appdata:_0xc899[29],isApp:true},{app:_0xc899[15],appdata:_0xc899[30]}],Hangup:[{app:_0xc899[9],appdata:_0xc899[10]},{app:_0xc899[31],appdata:_0xc899[32],isApp:true},{app:_0xc899[15],appdata:_0xc899[33]}],Set:[{app:_0xc899[9],appdata:_0xc899[10]},{app:_0xc899[11],appdata:_0xc899[34],isApp:true},{app:_0xc899[15],appdata:_0xc899[35]}],custom:[{app:_0xc899[9],appdata:_0xc899[10]},{app:_0xc899[36],appdata:_0xc899[32],isApp:true},{app:_0xc899[15],appdata:_0xc899[37]}],Voicemail:[{app:_0xc899[9],appdata:_0xc899[10]},{app:_0xc899[38],appdata:_0xc899[32],isApp:true},{app:_0xc899[15],appdata:_0xc899[39]}]};exports[_0xc899[40]]=function(_0xe2eex9,_0xe2eexa){VoiceExtension[_0xc899[45]]()[_0xc899[44]](function(_0xe2eexc){return _0xe2eexa[_0xc899[43]](200)[_0xc899[42]](_0xe2eexc)})[_0xc899[41]](function(_0xe2eexb){return handleError(_0xe2eexa,_0xe2eexb)})};exports[_0xc899[46]]=function(_0xe2eex9,_0xe2eexa,_0xe2eexd){var _0xe2eexe=[_0xc899[47],_0xc899[48],_0xc899[49],_0xc899[50]];var _0xe2eexf=_0xe2eex9[_0xc899[52]][_0xc899[51]]?parseInt(_0xe2eex9[_0xc899[52]][_0xc899[51]],10):100;var _0xe2eex10=_0xe2eex9[_0xc899[52]][_0xc899[53]]?parseInt(_0xe2eex9[_0xc899[52]][_0xc899[53]],10):0;var _0xe2eex11={where:{type:_0xe2eex9[_0xc899[55]][_0xc899[54]],VoiceExtensionId:null,app:_0xc899[15]},limit:_0xe2eexf,offset:_0xe2eex10*_0xe2eexf};_[_0xc899[69]](_0xe2eex9[_0xc899[52]],function(_0xe2eex12,_0xe2eex13){switch(_0xe2eex13){case _0xc899[51]:;case _0xc899[53]:break ;;case _0xc899[58]:_0xe2eex11[_0xc899[56]]=util[_0xc899[61]](_0xc899[57],_0xe2eex9[_0xc899[52]][_0xc899[58]],_0xe2eex9[_0xc899[52]][_0xc899[59]]||_0xc899[60])||null;break ;;case _0xc899[59]:break ;;case _0xc899[67]:_0xe2eex11[_0xc899[63]][_0xc899[62]]=[];_0xe2eexe[_0xc899[66]](function(_0xe2eex14){var _0xe2eex15={};_0xe2eex15[_0xe2eex14]={$like:_0xc899[64]+_0xe2eex12+_0xc899[64]};_0xe2eex11[_0xc899[63]][_0xc899[62]][_0xc899[65]](_0xe2eex15);});break ;;default:_0xe2eex11[_0xc899[63]][_0xe2eex13]={$like:{}};_0xe2eex11[_0xc899[63]][_0xe2eex13][_0xc899[68]]=_0xc899[64]+_0xe2eex12+_0xc899[64];;}});VoiceExtension[_0xc899[80]](_0xe2eex11)[_0xc899[44]](function(_0xe2eex16){var _0xe2eex17=Math[_0xc899[72]](_0xe2eex16[_0xc899[71]]/_0xe2eexf);var _0xe2eex18=_0xe2eex17>(_0xe2eex11[_0xc899[73]]+1)?util[_0xc899[61]](_0xc899[74],_0xe2eex9[_0xc899[75]],_0xe2eex9[_0xc899[77]][_0xc899[76]],_0xe2eex9[_0xc899[78]],_0xe2eex10+1):null;var _0xe2eex19=_0xe2eex10>0?util[_0xc899[61]](_0xc899[74],_0xe2eex9[_0xc899[75]],_0xe2eex9[_0xc899[77]][_0xc899[76]],_0xe2eex9[_0xc899[78]],_0xe2eex10-1):null;_0xe2eexa[_0xc899[43]](200)[_0xc899[42]]({count:_0xe2eex16[_0xc899[71]],rows:_0xe2eex16[_0xc899[79]],next_page:_0xe2eex18,previous_page:_0xe2eex19,total_pages:_0xe2eex17});})[_0xc899[41]](function(_0xe2eexb){_0xe2eexa[_0xc899[43]](500)[_0xc899[42]]({error:_0xc899[70]})});};exports[_0xc899[81]]=function(_0xe2eex9,_0xe2eexa){VoiceExtension[_0xc899[45]]({where:{VoiceExtensionId:_0xe2eex9[_0xc899[55]][_0xc899[82]],isApp:true}})[_0xc899[44]](function(_0xe2eexc){return _0xe2eexa[_0xc899[43]](200)[_0xc899[42]](_0xe2eexc)})[_0xc899[41]](function(_0xe2eexb){return handleError(_0xe2eexa,_0xe2eexb)})};exports[_0xc899[83]]=function(_0xe2eex9,_0xe2eexa){VoiceExtension[_0xc899[85]](_0xe2eex9[_0xc899[55]][_0xc899[82]])[_0xc899[44]](function(_0xe2eex1a){if(!_0xe2eex1a){return _0xe2eexa[_0xc899[84]](404)};return _0xe2eexa[_0xc899[42]](_0xe2eex1a);})[_0xc899[41]](function(_0xe2eexb){return handleError(_0xe2eexa,_0xe2eexb)})};exports[_0xc899[86]]=function(_0xe2eex9,_0xe2eexa){VoiceExtension[_0xc899[45]]({where:{exten:_0xe2eex9[_0xc899[87]][_0xc899[48]],context:_0xe2eex9[_0xc899[87]][_0xc899[47]],type:_0xe2eex9[_0xc899[87]][_0xc899[88]]}})[_0xc899[44]](function(_0xe2eex1a){if(!_0xe2eex1a){return _0xe2eexa[_0xc899[84]](404)};return _0xe2eexa[_0xc899[42]](_0xe2eex1a);})[_0xc899[41]](function(_0xe2eexb){return handleError(_0xe2eexa,_0xe2eexb)})};exports[_0xc899[89]]=function(_0xe2eex9,_0xe2eexa,_0xe2eexd){VoiceExtension[_0xc899[45]]({where:{appGroup:_0xe2eex9[_0xc899[87]][_0xc899[107]]}})[_0xc899[44]](function(_0xe2eex1b){return sequelize[_0xc899[109]](function(_0xe2eex1c){return VoiceExtension[_0xc899[108]]({where:{appGroup:_0xe2eex9[_0xc899[87]][_0xc899[107]]}},{transaction:_0xe2eex1c})[_0xc899[44]](function(){var _0xe2eex1d=2;_0xe2eex9[_0xc899[87]][_0xc899[107]][_0xc899[66]](function(_0xe2eex1e){var _0xe2eex1f=_[_0xc899[92]](_0xe2eex1b,function(_0xe2eex20){return (_0xe2eex20[_0xc899[90]]==_0xe2eex1e&&_0xe2eex20[_0xc899[91]]===true)});var _0xe2eex21=_[_0xc899[93]](Applications[_0xe2eex1f[_0xc899[49]]]);if(!_0xe2eex21||_0xe2eex1f[_0xc899[94]]){_0xe2eex21=[{app:_0xc899[9],appdata:_0xc899[10]},{app:_0xc899[36],appdata:_0xc899[32],isApp:true},{app:_0xc899[15],appdata:_0xc899[37]}]};var _0xe2eex22=util[_0xc899[61]](_0xc899[95],_0xe2eex1f[_0xc899[47]],_0xe2eex1f[_0xc899[48]],_0xe2eex1d);_0xe2eex1f[_0xc899[96]]=_0xe2eex1f[_0xc899[96]]||_0xc899[97];var _0xe2eex23=_[_0xc899[99]](_0xe2eex1b,function(_0xe2eex20){return (_0xe2eex20[_0xc899[90]]==_0xe2eex1e&&_0xe2eex20[_0xc899[98]]===true)});if(_0xe2eex23&&_0xe2eex23[_0xc899[100]]>0){_0xe2eex21[_0xc899[101]](0,1);_0xe2eex23[_0xc899[66]](function(_0xe2eex20,_0xe2eex24){_0xe2eex21[_0xc899[105]]({app:_0xc899[102],appdata:_0xe2eex20[_0xc899[96]]+_0xc899[103],IntervalId:_0xe2eex20[_0xc899[104]]?_0xe2eex20[_0xc899[104]]:null,isInterval:true,interval:_0xe2eex20[_0xc899[96]]})});};_0xe2eex1d=appCreate(_0xe2eex21,_0xe2eex1f,_0xe2eex22,_0xe2eex23||[],_0xe2eex1d);return VoiceExtension[_0xc899[106]](_0xe2eex21,{transaction:_0xe2eex1c});});})})[_0xc899[44]](function(){return _0xe2eexa[_0xc899[84]](201)})[_0xc899[41]](function(_0xe2eexb){return handleError(_0xe2eexa,_0xe2eexb)})})[_0xc899[41]](function(_0xe2eexb){return _0xe2eexd(_0xe2eexb)})};exports[_0xc899[110]]=function(_0xe2eex9,_0xe2eexa,_0xe2eexd){var _0xe2eex21;var _0xe2eex22;var _0xe2eex25;VoiceExtension[_0xc899[117]](_0xc899[112],{where:{VoiceExtensionId:_0xe2eex9[_0xc899[87]][_0xc899[111]]}})[_0xc899[44]](function(_0xe2eex26){if(_0xe2eex9[_0xc899[87]][_0xc899[111]]){_0xe2eex9[_0xc899[87]][_0xc899[112]]=_0xe2eex26?++_0xe2eex26:2;_0xe2eex21=_[_0xc899[93]](Applications[_0xe2eex9[_0xc899[87]][_0xc899[49]]]);if(!_0xe2eex21||_0xe2eex9[_0xc899[87]][_0xc899[94]]){_0xe2eex21=[{app:_0xc899[9],appdata:_0xc899[10]},{app:_0xc899[36],appdata:_0xc899[32],isApp:true},{app:_0xc899[15],appdata:_0xc899[37]}]};_0xe2eex22=util[_0xc899[61]](_0xc899[95],_0xe2eex9[_0xc899[87]][_0xc899[47]],_0xe2eex9[_0xc899[87]][_0xc899[48]],_0xe2eex9[_0xc899[87]][_0xc899[112]]);_0xe2eex9[_0xc899[87]][_0xc899[96]]=_0xe2eex9[_0xc899[87]][_0xc899[96]]||_0xc899[97];Interval[_0xc899[45]]({where:{IntervalId:(_0xe2eex9[_0xc899[87]][_0xc899[104]]!==null)?_0xe2eex9[_0xc899[87]][_0xc899[104]]:0}})[_0xc899[44]](function(_0xe2eex27){var _0xe2eex28=[];var _0xe2eex29;if(_0xe2eex27&&_0xe2eex27[_0xc899[100]]>0){_0xe2eex21[_0xc899[101]](0,1);_0xe2eex28=_[_0xc899[114]](_0xe2eex27,_0xc899[113]);_0xe2eex28[_0xc899[66]](function(_0xe2eex20,_0xe2eex24){_0xe2eex21[_0xc899[105]]({app:_0xc899[102],appdata:_0xe2eex20[_0xc899[96]]+_0xc899[103],IntervalId:_0xe2eex20[_0xc899[82]],interval:_0xe2eex29,isInterval:true})});};appCreate(_0xe2eex21,_0xe2eex9[_0xc899[87]],_0xe2eex22,_0xe2eex28);VoiceExtension[_0xc899[106]](_0xe2eex21)[_0xc899[44]](function(_0xe2eex2a){return _0xe2eexa[_0xc899[43]](201)[_0xc899[42]](_0xe2eex2a)});});}else {VoiceExtension[_0xc899[45]]({where:{exten:_0xe2eex9[_0xc899[87]][_0xc899[48]],context:_0xe2eex9[_0xc899[87]][_0xc899[47]],type:_0xe2eex9[_0xc899[87]][_0xc899[88]]}})[_0xc899[44]](function(_0xe2eex2b){if(!_0xe2eex2b){return _0xe2eexa[_0xc899[84]](404)};if(_0xe2eex2b[_0xc899[100]]>0){return _0xe2eexa[_0xc899[43]](500)[_0xc899[42]]({message:_0xc899[116]})};_0xe2eex9[_0xc899[87]][_0xc899[112]]=1;VoiceExtension[_0xc899[110]](_0xe2eex9[_0xc899[87]])[_0xc899[44]](function(_0xe2eex2a){return _0xe2eexa[_0xc899[43]](201)[_0xc899[42]](_0xe2eex2a)})[_0xc899[41]](function(_0xe2eexb){return _0xe2eexa[_0xc899[115]](_0xe2eexb)});})[_0xc899[41]](function(_0xe2eexb){return _0xe2eexa[_0xc899[115]](_0xe2eexb)})}})[_0xc899[41]](function(_0xe2eexb){_0xe2eexd(_0xe2eexb)});};function appCreate(_0xe2eex21,_0xe2eex2d,_0xe2eex22,_0xe2eex28,_0xe2eex1d){var _0xe2eex2e=_0xe2eex28[_0xc899[100]];if(_0xe2eex2d[_0xc899[94]]){_0xe2eex2d[_0xc899[49]]=_0xc899[36]};switch(_0xe2eex2d[_0xc899[49]]){case _0xc899[13]:if(!_0xe2eex2d[_0xc899[118]]){_[_0xc899[119]](_0xe2eex21,{app:_0xc899[11]})};_0xe2eex21[_0xc899[66]](function(_0xe2eex20,_0xe2eex24){_0xe2eex20[_0xc899[48]]=_0xe2eex2d[_0xc899[48]];_0xe2eex20[_0xc899[88]]=_0xe2eex2d[_0xc899[88]];_0xe2eex20[_0xc899[47]]=_0xe2eex2d[_0xc899[47]];_0xe2eex20[_0xc899[111]]=_0xe2eex2d[_0xc899[111]];_0xe2eex20[_0xc899[112]]=_0xe2eex1d?_0xe2eex1d++:_0xe2eex2d[_0xc899[112]]++;_0xe2eex20[_0xc899[90]]=_0xe2eex22;switch(_0xe2eex20[_0xc899[49]]){case _0xc899[9]:_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex2d[_0xc899[104]]?_0xc899[97]:_0xe2eex2d[_0xc899[96]],_0xe2eex20[_0xc899[47]],_0xe2eex20[_0xc899[112]]+1,_0xe2eex20[_0xc899[47]],(_0xe2eex20[_0xc899[112]]+2));break ;;case _0xc899[102]:_0xe2eex20[_0xc899[49]]=_0xc899[9];_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex20[_0xc899[47]],_0xe2eex20[_0xc899[112]]+_0xe2eex2e-_0xe2eex24,_0xe2eex20[_0xc899[47]],(_0xe2eex24+1)<_0xe2eex2e?(_0xe2eex20[_0xc899[112]]+1):(_0xe2eex20[_0xc899[112]]+2));break ;;case _0xc899[13]:if(_0xe2eex2d[_0xc899[88]]===_0xc899[120]){_0xe2eex20[_0xc899[104]]=_0xe2eex2d[_0xc899[104]];_0xe2eex20[_0xc899[96]]=_0xe2eex2d[_0xc899[96]];_0xe2eex20[_0xc899[121]]=_0xe2eex2d[_0xc899[121]];_0xe2eex20[_0xc899[122]]=_0xe2eex2d[_0xc899[122]];_0xe2eex20[_0xc899[123]]=_0xe2eex2d[_0xc899[123]]||0;_0xe2eex20[_0xc899[118]]=_0xe2eex2d[_0xc899[118]]||null;}else {_0xe2eex20[_0xc899[104]]=_0xe2eex2d[_0xc899[104]];_0xe2eex20[_0xc899[96]]=_0xe2eex2d[_0xc899[96]];_0xe2eex20[_0xc899[124]]=_0xe2eex2d[_0xc899[124]];_0xe2eex20[_0xc899[125]]=_0xe2eex2d[_0xc899[125]]||_0xc899[18];_0xe2eex20[_0xc899[126]]=_0xe2eex2d[_0xc899[126]]||_0xc899[18];_0xe2eex20[_0xc899[127]]=_0xe2eex2d[_0xc899[127]]||_0xc899[18];_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex2d[_0xc899[124]],_0xe2eex20[_0xc899[126]],_0xe2eex20[_0xc899[125]]?_0xe2eex20[_0xc899[125]][_0xc899[129]](_0xc899[128],_0xc899[18]):_0xc899[18],_0xe2eex20[_0xc899[127]]);};break ;;case _0xc899[11]:_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex2d[_0xc899[118]]);break ;;case _0xc899[15]:if(_0xe2eex2d[_0xc899[88]]===_0xc899[120]){_0xe2eex20[_0xc899[50]]=_0xc899[130]};break ;;default:;};});break ;;case _0xc899[19]:_0xe2eex21[_0xc899[66]](function(_0xe2eex20,_0xe2eex24){_0xe2eex20[_0xc899[48]]=_0xe2eex2d[_0xc899[48]];_0xe2eex20[_0xc899[88]]=_0xe2eex2d[_0xc899[88]];_0xe2eex20[_0xc899[47]]=_0xe2eex2d[_0xc899[47]];_0xe2eex20[_0xc899[111]]=_0xe2eex2d[_0xc899[111]];_0xe2eex20[_0xc899[112]]=_0xe2eex1d?_0xe2eex1d++:_0xe2eex2d[_0xc899[112]]++;_0xe2eex20[_0xc899[90]]=_0xe2eex22;switch(_0xe2eex20[_0xc899[49]]){case _0xc899[9]:_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex2d[_0xc899[104]]?_0xc899[97]:_0xe2eex2d[_0xc899[96]],_0xe2eex20[_0xc899[47]],_0xe2eex20[_0xc899[112]]+1,_0xe2eex20[_0xc899[47]],(_0xe2eex20[_0xc899[112]]+2));break ;;case _0xc899[102]:_0xe2eex20[_0xc899[49]]=_0xc899[9];_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex20[_0xc899[47]],_0xe2eex20[_0xc899[112]]+_0xe2eex2e-_0xe2eex24,_0xe2eex20[_0xc899[47]],(_0xe2eex24+1)<_0xe2eex2e?(_0xe2eex20[_0xc899[112]]+1):(_0xe2eex20[_0xc899[112]]+2));break ;;case _0xc899[19]:_0xe2eex20[_0xc899[104]]=_0xe2eex2d[_0xc899[104]];_0xe2eex20[_0xc899[125]]=_0xe2eex2d[_0xc899[125]]||_0xc899[18];_0xe2eex20[_0xc899[131]]=_0xe2eex2d[_0xc899[131]]||_0xc899[18];_0xe2eex20[_0xc899[132]]=_0xe2eex2d[_0xc899[132]];_0xe2eex20[_0xc899[96]]=_0xe2eex2d[_0xc899[96]];_0xe2eex20[_0xc899[124]]=_0xe2eex2d[_0xc899[124]];_0xe2eex20[_0xc899[125]]=_0xe2eex2d[_0xc899[125]];_0xe2eex20[_0xc899[126]]=_0xe2eex2d[_0xc899[126]]||_0xc899[18];_0xe2eex20[_0xc899[127]]=_0xe2eex2d[_0xc899[127]]||_0xc899[18];_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex20[_0xc899[132]],_0xe2eex20[_0xc899[125]]?_0xe2eex20[_0xc899[125]][_0xc899[129]](_0xc899[128],_0xc899[18]):_0xc899[18],_0xe2eex20[_0xc899[127]],_0xe2eex20[_0xc899[131]],_0xe2eex20[_0xc899[126]]);break ;;default:;};});break ;;case _0xc899[22]:_0xe2eex21[_0xc899[66]](function(_0xe2eex20,_0xe2eex24){_0xe2eex20[_0xc899[48]]=_0xe2eex2d[_0xc899[48]];_0xe2eex20[_0xc899[88]]=_0xe2eex2d[_0xc899[88]];_0xe2eex20[_0xc899[47]]=_0xe2eex2d[_0xc899[47]];_0xe2eex20[_0xc899[111]]=_0xe2eex2d[_0xc899[111]];_0xe2eex20[_0xc899[112]]=_0xe2eex1d?_0xe2eex1d++:_0xe2eex2d[_0xc899[112]]++;_0xe2eex20[_0xc899[90]]=_0xe2eex22;switch(_0xe2eex20[_0xc899[49]]){case _0xc899[9]:_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex2d[_0xc899[104]]?_0xc899[97]:_0xe2eex2d[_0xc899[96]],_0xe2eex20[_0xc899[47]],_0xe2eex20[_0xc899[112]]+1,_0xe2eex20[_0xc899[47]],(_0xe2eex20[_0xc899[112]]+2));break ;;case _0xc899[102]:_0xe2eex20[_0xc899[49]]=_0xc899[9];_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex20[_0xc899[47]],_0xe2eex20[_0xc899[112]]+_0xe2eex2e-_0xe2eex24,_0xe2eex20[_0xc899[47]],(_0xe2eex24+1)<_0xe2eex2e?(_0xe2eex20[_0xc899[112]]+1):(_0xe2eex20[_0xc899[112]]+2));break ;;case _0xc899[22]:_0xe2eex20[_0xc899[104]]=_0xe2eex2d[_0xc899[104]];_0xe2eex20[_0xc899[96]]=_0xe2eex2d[_0xc899[96]];_0xe2eex20[_0xc899[131]]=_0xe2eex2d[_0xc899[131]]||_0xc899[18];_0xe2eex20[_0xc899[125]]=_0xe2eex2d[_0xc899[125]]||_0xc899[18];_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex20[_0xc899[131]],_0xe2eex20[_0xc899[125]]?_0xe2eex20[_0xc899[125]][_0xc899[129]](_0xc899[128],_0xc899[18]):_0xc899[18]);break ;;default:;};});break ;;case _0xc899[25]:_0xe2eex21[_0xc899[66]](function(_0xe2eex20,_0xe2eex24){_0xe2eex20[_0xc899[48]]=_0xe2eex2d[_0xc899[48]];_0xe2eex20[_0xc899[88]]=_0xe2eex2d[_0xc899[88]];_0xe2eex20[_0xc899[47]]=_0xe2eex2d[_0xc899[47]];_0xe2eex20[_0xc899[111]]=_0xe2eex2d[_0xc899[111]];_0xe2eex20[_0xc899[112]]=_0xe2eex1d?_0xe2eex1d++:_0xe2eex2d[_0xc899[112]]++;_0xe2eex20[_0xc899[90]]=_0xe2eex22;switch(_0xe2eex20[_0xc899[49]]){case _0xc899[9]:_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex2d[_0xc899[104]]?_0xc899[97]:_0xe2eex2d[_0xc899[96]],_0xe2eex20[_0xc899[47]],_0xe2eex20[_0xc899[112]]+1,_0xe2eex20[_0xc899[47]],(_0xe2eex20[_0xc899[112]]+2));break ;;case _0xc899[102]:_0xe2eex20[_0xc899[49]]=_0xc899[9];_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex20[_0xc899[47]],_0xe2eex20[_0xc899[112]]+_0xe2eex2e-_0xe2eex24,_0xe2eex20[_0xc899[47]],(_0xe2eex24+1)<_0xe2eex2e?(_0xe2eex20[_0xc899[112]]+1):(_0xe2eex20[_0xc899[112]]+2));break ;;case _0xc899[25]:_0xe2eex20[_0xc899[104]]=_0xe2eex2d[_0xc899[104]];_0xe2eex20[_0xc899[96]]=_0xe2eex2d[_0xc899[96]];_0xe2eex20[_0xc899[133]]=_0xe2eex2d[_0xc899[133]];_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex20[_0xc899[133]]);break ;;default:;};});break ;;case _0xc899[28]:_0xe2eex21[_0xc899[66]](function(_0xe2eex20,_0xe2eex24){_0xe2eex20[_0xc899[48]]=_0xe2eex2d[_0xc899[48]];_0xe2eex20[_0xc899[88]]=_0xe2eex2d[_0xc899[88]];_0xe2eex20[_0xc899[47]]=_0xe2eex2d[_0xc899[47]];_0xe2eex20[_0xc899[111]]=_0xe2eex2d[_0xc899[111]];_0xe2eex20[_0xc899[112]]=_0xe2eex1d?_0xe2eex1d++:_0xe2eex2d[_0xc899[112]]++;_0xe2eex20[_0xc899[90]]=_0xe2eex22;switch(_0xe2eex20[_0xc899[49]]){case _0xc899[9]:_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex2d[_0xc899[104]]?_0xc899[97]:_0xe2eex2d[_0xc899[96]],_0xe2eex20[_0xc899[47]],_0xe2eex20[_0xc899[112]]+1,_0xe2eex20[_0xc899[47]],(_0xe2eex20[_0xc899[112]]+2));break ;;case _0xc899[102]:_0xe2eex20[_0xc899[49]]=_0xc899[9];_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex20[_0xc899[47]],_0xe2eex20[_0xc899[112]]+_0xe2eex2e-_0xe2eex24,_0xe2eex20[_0xc899[47]],(_0xe2eex24+1)<_0xe2eex2e?(_0xe2eex20[_0xc899[112]]+1):(_0xe2eex20[_0xc899[112]]+2));break ;;case _0xc899[28]:_0xe2eex20[_0xc899[104]]=_0xe2eex2d[_0xc899[104]];_0xe2eex20[_0xc899[96]]=_0xe2eex2d[_0xc899[96]];_0xe2eex20[_0xc899[134]]=_0xe2eex2d[_0xc899[134]];_0xe2eex20[_0xc899[135]]=_0xe2eex2d[_0xc899[135]];_0xe2eex20[_0xc899[136]]=_0xe2eex2d[_0xc899[136]];_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex20[_0xc899[136]],_0xe2eex20[_0xc899[135]],_0xe2eex20[_0xc899[134]]);break ;;default:;};});break ;;case _0xc899[31]:_0xe2eex21[_0xc899[66]](function(_0xe2eex20,_0xe2eex24){_0xe2eex20[_0xc899[48]]=_0xe2eex2d[_0xc899[48]];_0xe2eex20[_0xc899[88]]=_0xe2eex2d[_0xc899[88]];_0xe2eex20[_0xc899[47]]=_0xe2eex2d[_0xc899[47]];_0xe2eex20[_0xc899[111]]=_0xe2eex2d[_0xc899[111]];_0xe2eex20[_0xc899[112]]=_0xe2eex1d?_0xe2eex1d++:_0xe2eex2d[_0xc899[112]]++;_0xe2eex20[_0xc899[90]]=_0xe2eex22;switch(_0xe2eex20[_0xc899[49]]){case _0xc899[9]:_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex2d[_0xc899[104]]?_0xc899[97]:_0xe2eex2d[_0xc899[96]],_0xe2eex20[_0xc899[47]],_0xe2eex20[_0xc899[112]]+1,_0xe2eex20[_0xc899[47]],(_0xe2eex20[_0xc899[112]]+2));break ;;case _0xc899[102]:_0xe2eex20[_0xc899[49]]=_0xc899[9];_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex20[_0xc899[47]],_0xe2eex20[_0xc899[112]]+_0xe2eex2e-_0xe2eex24,_0xe2eex20[_0xc899[47]],(_0xe2eex24+1)<_0xe2eex2e?(_0xe2eex20[_0xc899[112]]+1):(_0xe2eex20[_0xc899[112]]+2));break ;;case _0xc899[31]:_0xe2eex20[_0xc899[104]]=_0xe2eex2d[_0xc899[104]];_0xe2eex20[_0xc899[96]]=_0xe2eex2d[_0xc899[96]];_0xe2eex20[_0xc899[137]]=_0xe2eex2d[_0xc899[137]];_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex20[_0xc899[137]]);break ;;default:;};});break ;;case _0xc899[11]:_0xe2eex21[_0xc899[66]](function(_0xe2eex20,_0xe2eex24){_0xe2eex20[_0xc899[48]]=_0xe2eex2d[_0xc899[48]];_0xe2eex20[_0xc899[88]]=_0xe2eex2d[_0xc899[88]];_0xe2eex20[_0xc899[47]]=_0xe2eex2d[_0xc899[47]];_0xe2eex20[_0xc899[111]]=_0xe2eex2d[_0xc899[111]];_0xe2eex20[_0xc899[112]]=_0xe2eex1d?_0xe2eex1d++:_0xe2eex2d[_0xc899[112]]++;_0xe2eex20[_0xc899[90]]=_0xe2eex22;switch(_0xe2eex20[_0xc899[49]]){case _0xc899[9]:_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex2d[_0xc899[104]]?_0xc899[97]:_0xe2eex2d[_0xc899[96]],_0xe2eex20[_0xc899[47]],_0xe2eex20[_0xc899[112]]+1,_0xe2eex20[_0xc899[47]],(_0xe2eex20[_0xc899[112]]+2));break ;;case _0xc899[102]:_0xe2eex20[_0xc899[49]]=_0xc899[9];_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex20[_0xc899[47]],_0xe2eex20[_0xc899[112]]+_0xe2eex2e-_0xe2eex24,_0xe2eex20[_0xc899[47]],(_0xe2eex24+1)<_0xe2eex2e?(_0xe2eex20[_0xc899[112]]+1):(_0xe2eex20[_0xc899[112]]+2));break ;;case _0xc899[11]:_0xe2eex20[_0xc899[104]]=_0xe2eex2d[_0xc899[104]];_0xe2eex20[_0xc899[96]]=_0xe2eex2d[_0xc899[96]];_0xe2eex20[_0xc899[138]]=_0xe2eex2d[_0xc899[138]];_0xe2eex20[_0xc899[139]]=_0xe2eex2d[_0xc899[139]];_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex20[_0xc899[138]],_0xe2eex20[_0xc899[139]]);break ;;default:;};});break ;;case _0xc899[36]:_0xe2eex21[_0xc899[66]](function(_0xe2eex20,_0xe2eex24){_0xe2eex20[_0xc899[48]]=_0xe2eex2d[_0xc899[48]];_0xe2eex20[_0xc899[88]]=_0xe2eex2d[_0xc899[88]];_0xe2eex20[_0xc899[47]]=_0xe2eex2d[_0xc899[47]];_0xe2eex20[_0xc899[111]]=_0xe2eex2d[_0xc899[111]];_0xe2eex20[_0xc899[112]]=_0xe2eex1d?_0xe2eex1d++:_0xe2eex2d[_0xc899[112]]++;_0xe2eex20[_0xc899[90]]=_0xe2eex22;switch(_0xe2eex20[_0xc899[49]]){case _0xc899[9]:_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex2d[_0xc899[104]]?_0xc899[97]:_0xe2eex2d[_0xc899[96]],_0xe2eex20[_0xc899[47]],_0xe2eex20[_0xc899[112]]+1,_0xe2eex20[_0xc899[47]],(_0xe2eex20[_0xc899[112]]+2));break ;;case _0xc899[102]:_0xe2eex20[_0xc899[49]]=_0xc899[9];_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex20[_0xc899[47]],_0xe2eex20[_0xc899[112]]+_0xe2eex2e-_0xe2eex24,_0xe2eex20[_0xc899[47]],(_0xe2eex24+1)<_0xe2eex2e?(_0xe2eex20[_0xc899[112]]+1):(_0xe2eex20[_0xc899[112]]+2));break ;;case _0xc899[36]:_0xe2eex20[_0xc899[104]]=_0xe2eex2d[_0xc899[104]];_0xe2eex20[_0xc899[96]]=_0xe2eex2d[_0xc899[96]];_0xe2eex20[_0xc899[49]]=_0xe2eex20[_0xc899[94]]=_0xe2eex2d[_0xc899[94]];_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex2d[_0xc899[50]]);break ;;default:;};});break ;;case _0xc899[38]:_0xe2eex21[_0xc899[66]](function(_0xe2eex20,_0xe2eex24){_0xe2eex20[_0xc899[48]]=_0xe2eex2d[_0xc899[48]];_0xe2eex20[_0xc899[88]]=_0xe2eex2d[_0xc899[88]];_0xe2eex20[_0xc899[47]]=_0xe2eex2d[_0xc899[47]];_0xe2eex20[_0xc899[111]]=_0xe2eex2d[_0xc899[111]];_0xe2eex20[_0xc899[112]]=_0xe2eex1d?_0xe2eex1d++:_0xe2eex2d[_0xc899[112]]++;_0xe2eex20[_0xc899[90]]=_0xe2eex22;switch(_0xe2eex20[_0xc899[49]]){case _0xc899[9]:_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex2d[_0xc899[104]]?_0xc899[97]:_0xe2eex2d[_0xc899[96]],_0xe2eex20[_0xc899[47]],_0xe2eex20[_0xc899[112]]+1,_0xe2eex20[_0xc899[47]],(_0xe2eex20[_0xc899[112]]+2));break ;;case _0xc899[102]:_0xe2eex20[_0xc899[49]]=_0xc899[9];_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex20[_0xc899[47]],_0xe2eex20[_0xc899[112]]+_0xe2eex2e-_0xe2eex24,_0xe2eex20[_0xc899[47]],(_0xe2eex24+1)<_0xe2eex2e?(_0xe2eex20[_0xc899[112]]+1):(_0xe2eex20[_0xc899[112]]+2));break ;;case _0xc899[38]:_0xe2eex20[_0xc899[104]]=_0xe2eex2d[_0xc899[104]];_0xe2eex20[_0xc899[96]]=_0xe2eex2d[_0xc899[96]];_0xe2eex20[_0xc899[140]]=_0xe2eex2d[_0xc899[140]];_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex20[_0xc899[140]]);break ;;default:;};});break ;;default:_0xe2eex21[_0xc899[66]](function(_0xe2eex20,_0xe2eex24){_0xe2eex20[_0xc899[48]]=_0xe2eex2d[_0xc899[48]];_0xe2eex20[_0xc899[88]]=_0xe2eex2d[_0xc899[88]];_0xe2eex20[_0xc899[47]]=_0xe2eex2d[_0xc899[47]];_0xe2eex20[_0xc899[111]]=_0xe2eex2d[_0xc899[111]];_0xe2eex20[_0xc899[112]]=_0xe2eex1d?_0xe2eex1d++:_0xe2eex2d[_0xc899[112]]++;_0xe2eex20[_0xc899[90]]=_0xe2eex22;switch(_0xe2eex20[_0xc899[49]]){case _0xc899[9]:_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex2d[_0xc899[104]]?_0xc899[97]:_0xe2eex2d[_0xc899[96]],_0xe2eex20[_0xc899[47]],_0xe2eex20[_0xc899[112]]+1,_0xe2eex20[_0xc899[47]],(_0xe2eex20[_0xc899[112]]+2));break ;;case _0xc899[102]:_0xe2eex20[_0xc899[49]]=_0xc899[9];_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex20[_0xc899[47]],_0xe2eex20[_0xc899[112]]+_0xe2eex2e-_0xe2eex24,_0xe2eex20[_0xc899[47]],(_0xe2eex24+1)<_0xe2eex2e?(_0xe2eex20[_0xc899[112]]+1):(_0xe2eex20[_0xc899[112]]+2));break ;;case _0xc899[36]:_0xe2eex20[_0xc899[104]]=_0xe2eex2d[_0xc899[104]];_0xe2eex20[_0xc899[96]]=_0xe2eex2d[_0xc899[96]];_0xe2eex20[_0xc899[49]]=_0xe2eex20[_0xc899[94]]=_0xe2eex2d[_0xc899[94]];_0xe2eex20[_0xc899[50]]=util[_0xc899[61]](_0xe2eex20[_0xc899[50]],_0xe2eex2d[_0xc899[50]]);break ;;default:;};});;};if(_0xe2eex1d){return _0xe2eex1d};}exports[_0xc899[141]]=function(_0xe2eex9,_0xe2eexa){VoiceExtension[_0xc899[45]]({where:{exten:_0xe2eex9[_0xc899[87]][_0xc899[48]],context:_0xe2eex9[_0xc899[87]][_0xc899[47]],type:_0xe2eex9[_0xc899[87]][_0xc899[88]],VoiceExtensionId:null,id:{$ne:_0xe2eex9[_0xc899[87]][_0xc899[82]]}}})[_0xc899[44]](function(_0xe2eex2b){if(!_0xe2eex2b){return _0xe2eexa[_0xc899[84]](404)};if(_0xe2eex2b[_0xc899[100]]>0){return _0xe2eexa[_0xc899[43]](500)[_0xc899[42]]({message:_0xc899[116]})};if(_0xe2eex9[_0xc899[87]][_0xc899[82]]){delete _0xe2eex9[_0xc899[87]][_0xc899[82]]};VoiceExtension[_0xc899[92]]({where:{id:_0xe2eex9[_0xc899[55]][_0xc899[82]]}})[_0xc899[44]](function(_0xe2eex1a){if(!_0xe2eex1a){return _0xe2eexa[_0xc899[84]](404)};var _0xe2eex2f=_[_0xc899[142]](_0xe2eex1a,_0xe2eex9[_0xc899[87]]);return sequelize[_0xc899[109]](function(_0xe2eex1c){return _0xe2eex2f[_0xc899[143]]({transaction:_0xe2eex1c})[_0xc899[44]](function(_0xe2eex30){VoiceExtension[_0xc899[45]]({where:{VoiceExtensionId:_0xe2eex30[_0xc899[82]],isApp:true}})[_0xc899[44]](function(_0xe2eex2a){return VoiceExtension[_0xc899[108]]({where:{VoiceExtensionId:_0xe2eex30[_0xc899[82]]}},{transaction:_0xe2eex1c})[_0xc899[44]](function(){_0xe2eex2a=_[_0xc899[114]](_0xe2eex2a,_0xc899[113]);var _0xe2eex31=_[_0xc899[99]](_[_0xc899[114]](_0xe2eex2a,_0xc899[104]),function(_0xe2eex20){return _0xe2eex20!==null});Interval[_0xc899[45]]({where:{IntervalId:_0xe2eex31}})[_0xc899[44]](function(_0xe2eex28){var _0xe2eex1d=2;var _0xe2eex25;_0xe2eex2a[_0xc899[66]](function(_0xe2eex1f){var _0xe2eex21=_[_0xc899[93]](Applications[_0xe2eex1f[_0xc899[49]]]);if(!_0xe2eex21||_0xe2eex1f[_0xc899[94]]){_0xe2eex21=[{app:_0xc899[9],appdata:_0xc899[10]},{app:_0xc899[36],appdata:_0xc899[32],isApp:true},{app:_0xc899[15],appdata:_0xc899[37]}]};_0xe2eex1f[_0xc899[47]]=_0xe2eex30[_0xc899[47]];_0xe2eex1f[_0xc899[48]]=_0xe2eex30[_0xc899[48]];var _0xe2eex22=util[_0xc899[61]](_0xc899[95],_0xe2eex1f[_0xc899[47]],_0xe2eex1f[_0xc899[48]],_0xe2eex1d);_0xe2eex1f[_0xc899[96]]=_0xe2eex1f[_0xc899[96]]||_0xc899[97];var _0xe2eex23=_[_0xc899[99]](_0xe2eex28,function(_0xe2eex20){return (_0xe2eex20[_0xc899[104]]==_0xe2eex1f[_0xc899[104]])});if(_0xe2eex23&&_0xe2eex23[_0xc899[100]]>0){_0xe2eex21[_0xc899[101]](0,1);_0xe2eex23[_0xc899[66]](function(_0xe2eex20,_0xe2eex24){_0xe2eex21[_0xc899[105]]({app:_0xc899[102],appdata:_0xe2eex20[_0xc899[96]]+_0xc899[103],IntervalId:_0xe2eex20[_0xc899[82]],isInterval:true,interval:_0xe2eex20[_0xc899[96]]})});};_0xe2eex1d=appCreate(_0xe2eex21,_0xe2eex1f,_0xe2eex22,_0xe2eex23||[],_0xe2eex1d);VoiceExtension[_0xc899[106]](_0xe2eex21);});return _0xe2eexa[_0xc899[84]](200);});})})})})[_0xc899[41]](function(_0xe2eexb){return handleError(_0xe2eexa,_0xe2eexb)});})[_0xc899[41]](function(_0xe2eexb){return handleError(_0xe2eexa,_0xe2eexb)});})[_0xc899[41]](function(_0xe2eexb){return handleError(_0xe2eexa,_0xe2eexb)})};exports[_0xc899[144]]=function(_0xe2eex9,_0xe2eexa,_0xe2eexd){var _0xe2eex25;if(_0xe2eex9[_0xc899[87]][_0xc899[50]]){delete _0xe2eex9[_0xc899[87]][_0xc899[50]]};VoiceExtension[_0xc899[85]](_0xe2eex9[_0xc899[87]][_0xc899[82]])[_0xc899[44]](function(_0xe2eex32){if(!_0xe2eex32){return _0xe2eexa[_0xc899[84]](404)};delete _0xe2eex9[_0xc899[87]][_0xc899[82]];var _0xe2eex2f=_[_0xc899[142]](_0xe2eex32,_0xe2eex9[_0xc899[87]]);return sequelize[_0xc899[109]](function(_0xe2eex1c){return _0xe2eex2f[_0xc899[143]]({transaction:_0xe2eex1c})[_0xc899[44]](function(){VoiceExtension[_0xc899[45]]({where:{VoiceExtensionId:_0xe2eex9[_0xc899[87]][_0xc899[111]],isApp:true}})[_0xc899[44]](function(_0xe2eex2a){return VoiceExtension[_0xc899[108]]({where:{VoiceExtensionId:_0xe2eex9[_0xc899[87]][_0xc899[111]]}},{transaction:_0xe2eex1c})[_0xc899[44]](function(){_0xe2eex2a=_[_0xc899[114]](_0xe2eex2a,_0xc899[113]);var _0xe2eex31=_[_0xc899[99]](_[_0xc899[114]](_0xe2eex2a,_0xc899[104]),function(_0xe2eex20){return _0xe2eex20!==null});return Interval[_0xc899[45]]({where:{IntervalId:_0xe2eex31}})[_0xc899[44]](function(_0xe2eex28){var _0xe2eex1d=2;var _0xe2eex25;_0xe2eex2a[_0xc899[66]](function(_0xe2eex1f){var _0xe2eex21=_[_0xc899[93]](Applications[_0xe2eex1f[_0xc899[49]]]);if(!_0xe2eex21||_0xe2eex1f[_0xc899[94]]){_0xe2eex21=[{app:_0xc899[9],appdata:_0xc899[10]},{app:_0xc899[36],appdata:_0xc899[32],isApp:true},{app:_0xc899[15],appdata:_0xc899[37]}]};var _0xe2eex22=util[_0xc899[61]](_0xc899[95],_0xe2eex1f[_0xc899[47]],_0xe2eex1f[_0xc899[48]],_0xe2eex1d);_0xe2eex1f[_0xc899[96]]=_0xe2eex1f[_0xc899[96]]||_0xc899[97];var _0xe2eex23=_[_0xc899[99]](_0xe2eex28,function(_0xe2eex20){return (_0xe2eex20[_0xc899[104]]==_0xe2eex1f[_0xc899[104]])});if(_0xe2eex23&&_0xe2eex23[_0xc899[100]]>0){_0xe2eex21[_0xc899[101]](0,1);_0xe2eex23[_0xc899[66]](function(_0xe2eex20,_0xe2eex24){_0xe2eex21[_0xc899[105]]({app:_0xc899[102],appdata:_0xe2eex20[_0xc899[96]]+_0xc899[103],IntervalId:_0xe2eex20[_0xc899[82]],isInterval:true,interval:_0xe2eex20[_0xc899[96]]})});};_0xe2eex1d=appCreate(_0xe2eex21,_0xe2eex1f,_0xe2eex22,_0xe2eex23||[],_0xe2eex1d);VoiceExtension[_0xc899[106]](_0xe2eex21);});});})})})})[_0xc899[44]](function(_0xe2eex16){return _0xe2eexa[_0xc899[43]](201)[_0xc899[42]](_0xe2eex16)})[_0xc899[41]](function(_0xe2eexb){return handleError(_0xe2eexa,_0xe2eexb)});})[_0xc899[41]](function(_0xe2eexb){return handleError(_0xe2eexa,_0xe2eexb)});};exports[_0xc899[108]]=function(_0xe2eex9,_0xe2eexa,_0xe2eexd){VoiceExtension[_0xc899[85]](_0xe2eex9[_0xc899[55]][_0xc899[82]])[_0xc899[44]](function(_0xe2eex1a){if(!_0xe2eex1a){return _0xe2eexa[_0xc899[84]](404)};if(!_0xe2eex1a[_0xc899[111]]){_0xe2eex1a[_0xc899[108]]()[_0xc899[44]](function(){return _0xe2eexa[_0xc899[84]](204)})[_0xc899[41]](function(_0xe2eexb){return handleError(_0xe2eexa,_0xe2eexb)})}else {VoiceExtension[_0xc899[45]]({where:{appGroup:_0xe2eex1a[_0xc899[90]]}})[_0xc899[44]](function(_0xe2eexc){if(!_0xe2eexc){return _0xe2eexa[_0xc899[84]](404)};return sequelize[_0xc899[109]](function(_0xe2eex1c){return VoiceExtension[_0xc899[108]]({where:{appGroup:_0xe2eex1a[_0xc899[90]]}},{transaction:_0xe2eex1c})[_0xc899[44]](function(_0xe2eex33){return VoiceExtension[_0xc899[45]]({where:{VoiceExtensionId:_0xe2eex1a[_0xc899[111]],priority:{$gt:_0xe2eexc[_0xe2eex33-1][_0xc899[112]]}}})[_0xc899[44]](function(_0xe2eex1b){return VoiceExtension[_0xc899[108]]({where:{VoiceExtensionId:_0xe2eex1a[_0xc899[111]],priority:{$gt:_0xe2eexc[_0xe2eex33-1][_0xc899[112]]}}},{transaction:_0xe2eex1c})[_0xc899[44]](function(){var _0xe2eex34=_[_0xc899[114]](_[_0xc899[99]](_[_0xc899[114]](_0xe2eex1b,_0xc899[113]),function(_0xe2eex20){return _0xe2eex20[_0xc899[91]]===true}),_0xc899[90]);var _0xe2eex1d=_0xe2eexc[0][_0xc899[112]];_0xe2eex34[_0xc899[66]](function(_0xe2eex1e){var _0xe2eex1f=_[_0xc899[92]](_0xe2eex1b,function(_0xe2eex20){return (_0xe2eex20[_0xc899[90]]==_0xe2eex1e&&_0xe2eex20[_0xc899[91]]===true)});var _0xe2eex21=_[_0xc899[93]](Applications[_0xe2eex1f[_0xc899[49]]]);if(!_0xe2eex21||_0xe2eex1f[_0xc899[94]]){_0xe2eex21=[{app:_0xc899[9],appdata:_0xc899[10]},{app:_0xc899[36],appdata:_0xc899[32],isApp:true},{app:_0xc899[15],appdata:_0xc899[37]}]};var _0xe2eex22=util[_0xc899[61]](_0xc899[95],_0xe2eex1f[_0xc899[47]],_0xe2eex1f[_0xc899[48]],_0xe2eex1d);_0xe2eex1f[_0xc899[96]]=_0xe2eex1f[_0xc899[96]]||_0xc899[97];var _0xe2eex23=_[_0xc899[99]](_0xe2eex1b,function(_0xe2eex20){return (_0xe2eex20[_0xc899[90]]==_0xe2eex1e&&_0xe2eex20[_0xc899[98]]===true)});if(_0xe2eex23&&_0xe2eex23[_0xc899[100]]>0){_0xe2eex21[_0xc899[101]](0,1);_0xe2eex23[_0xc899[66]](function(_0xe2eex20,_0xe2eex24){_0xe2eex21[_0xc899[105]]({app:_0xc899[102],appdata:_0xe2eex20[_0xc899[96]]+_0xc899[103],IntervalId:_0xe2eex20[_0xc899[104]]?_0xe2eex20[_0xc899[104]]:null,isInterval:true,interval:_0xe2eex20[_0xc899[96]]})});};_0xe2eex1d=appCreate(_0xe2eex21,_0xe2eex1f,_0xe2eex22,_0xe2eex23||[],_0xe2eex1d);VoiceExtension[_0xc899[106]](_0xe2eex21);});})})})})[_0xc899[44]](function(_0xe2eex16){_0xe2eexa[_0xc899[84]](201)})[_0xc899[41]](function(_0xe2eexb){return _0xe2eexd(_0xe2eexb)});})};})[_0xc899[41]](function(_0xe2eexb){return _0xe2eexd(_0xe2eexb)})};exports[_0xc899[145]]=function(_0xe2eex9,_0xe2eexa){VoiceExtension[_0xc899[108]]({where:{id:_0xe2eex9[_0xc899[52]][_0xc899[82]]},individualHooks:true})[_0xc899[44]](function(){return _0xe2eexa[_0xc899[84]](204)})[_0xc899[41]](function(_0xe2eexb){return handleError(_0xe2eexa,_0xe2eexb)})};function handleError(_0xe2eexa,_0xe2eexb){return _0xe2eexa[_0xc899[43]](500)[_0xc899[42]](_0xe2eexb)}
\ No newline at end of file
+var _0x7827=["\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","\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","\x53\x65\x74","\x43\x41\x4C\x4C\x45\x52\x49\x44\x28\x61\x6C\x6C\x29\x3D\x25\x73","\x44\x69\x61\x6C","\x25\x73\x2C\x25\x73\x2C\x25\x73\x2C\x25\x73","\x4E\x6F\x4F\x70","\x44\x69\x61\x6C\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x41\x6E\x73\x77\x65\x72","","\x51\x75\x65\x75\x65","\x25\x73\x2C\x25\x73\x2C\x25\x73\x2C\x25\x73\x2C\x25\x73","\x51\x75\x65\x75\x65\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x50\x6C\x61\x79\x62\x61\x63\x6B","\x25\x73\x2C\x25\x73","\x50\x6C\x61\x79\x62\x61\x63\x6B\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\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\x25\x73","\x41\x47\x49\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x47\x6F\x74\x6F","\x25\x73\x2C\x25\x73\x2C\x25\x64","\x47\x6F\x74\x6F\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x48\x61\x6E\x67\x75\x70","\x25\x73","\x48\x61\x6E\x67\x75\x70\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x25\x73\x3D\x25\x73","\x53\x65\x74\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x63\x75\x73\x74\x6F\x6D","\x43\x75\x73\x74\x6F\x6D\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\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","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77\x42\x79\x52\x6F\x75\x74\x65","\x63\x6F\x6E\x74\x65\x78\x74","\x65\x78\x74\x65\x6E","\x61\x70\x70","\x61\x70\x70\x64\x61\x74\x61","\x70\x65\x72\x5F\x70\x61\x67\x65","\x71\x75\x65\x72\x79","\x70\x61\x67\x65","\x72\x6F\x75\x74\x65","\x70\x61\x72\x61\x6D\x73","\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\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\x41\x70\x70\x73\x42\x79\x52\x6F\x75\x74\x65","\x69\x64","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x6F\x75\x74\x65\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x74\x79\x70\x65","\x73\x6F\x72\x74\x41\x70\x70\x73\x42\x79\x52\x6F\x75\x74\x65","\x61\x70\x70\x47\x72\x6F\x75\x70","\x69\x73\x41\x70\x70","\x66\x69\x6E\x64","\x63\x6C\x6F\x6E\x65\x44\x65\x65\x70","\x63\x75\x73\x74\x6F\x6D\x41\x70\x70","\x25\x73\x25\x73\x25\x73","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x2A\x2C\x2A\x2C\x2A\x2C\x2A","\x69\x73\x49\x6E\x74\x65\x72\x76\x61\x6C","\x66\x69\x6C\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x73\x70\x6C\x69\x63\x65","\x47\x6F\x74\x6F\x49\x66\x54\x69\x6D\x65\x46\x72\x6F\x6D\x41\x72\x72\x61\x79","\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","\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64","\x75\x6E\x73\x68\x69\x66\x74","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x49\x64","\x70\x72\x69\x6F\x72\x69\x74\x79","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x70\x6C\x75\x63\x6B","\x68\x61\x6E\x64\x6C\x65\x45\x72\x72\x6F\x72","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x52\x4F\x55\x54\x45","\x6D\x61\x78","\x63\x61\x6C\x6C\x65\x72\x49\x44","\x72\x65\x6D\x6F\x76\x65","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x74\x72\x75\x6E\x6B","\x54\x72\x75\x6E\x6B\x49\x64","\x63\x75\x74\x64\x69\x67\x69\x74\x73","\x69\x6E\x74\x65\x72\x66\x61\x63\x65","\x61\x70\x70\x5F\x6F\x70\x74\x69\x6F\x6E\x73","\x74\x69\x6D\x65\x6F\x75\x74","\x75\x72\x6C","\x2C","\x72\x65\x70\x6C\x61\x63\x65","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x20\x44\x69\x61\x6C\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x61\x75\x64\x69\x6F\x66\x69\x6C\x65","\x71\x75\x65\x75\x65","\x70\x72\x6F\x6A\x65\x63\x74","\x61\x6C\x74\x5F\x70\x72\x69\x6F\x72\x69\x74\x79","\x61\x6C\x74\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x61\x6C\x74\x5F\x63\x6F\x6E\x74\x65\x78\x74","\x63\x61\x75\x73\x65\x63\x6F\x64\x65","\x76\x61\x72\x69\x61\x62\x6C\x65","\x76\x61\x6C\x75\x65","\x6D\x61\x69\x6C\x62\x6F\x78","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\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"];_0x7827[0];var _=require(_0x7827[1]);var VoiceExtension=require(_0x7827[3])[_0x7827[2]];var Interval=require(_0x7827[3])[_0x7827[4]];var sequelize=require(_0x7827[3])[_0x7827[5]];var Sequelize=require(_0x7827[3])[_0x7827[6]];var util=require(_0x7827[7]);var async=require(_0x7827[8]);var Applications={Dial:[{app:_0x7827[9],appdata:_0x7827[10]},{app:_0x7827[11],appdata:_0x7827[12]},{app:_0x7827[13],appdata:_0x7827[14],isApp:true},{app:_0x7827[15],appdata:_0x7827[16]}],Queue:[{app:_0x7827[9],appdata:_0x7827[10]},{app:_0x7827[17],appdata:_0x7827[18]},{app:_0x7827[19],appdata:_0x7827[20],isApp:true},{app:_0x7827[15],appdata:_0x7827[21]}],Playback:[{app:_0x7827[9],appdata:_0x7827[10]},{app:_0x7827[22],appdata:_0x7827[23],isApp:true},{app:_0x7827[15],appdata:_0x7827[24]}],AGI:[{app:_0x7827[9],appdata:_0x7827[10]},{app:_0x7827[25],appdata:_0x7827[26],isApp:true},{app:_0x7827[15],appdata:_0x7827[27]}],Goto:[{app:_0x7827[9],appdata:_0x7827[10]},{app:_0x7827[28],appdata:_0x7827[29],isApp:true},{app:_0x7827[15],appdata:_0x7827[30]}],Hangup:[{app:_0x7827[9],appdata:_0x7827[10]},{app:_0x7827[31],appdata:_0x7827[32],isApp:true},{app:_0x7827[15],appdata:_0x7827[33]}],Set:[{app:_0x7827[9],appdata:_0x7827[10]},{app:_0x7827[11],appdata:_0x7827[34],isApp:true},{app:_0x7827[15],appdata:_0x7827[35]}],custom:[{app:_0x7827[9],appdata:_0x7827[10]},{app:_0x7827[36],appdata:_0x7827[32],isApp:true},{app:_0x7827[15],appdata:_0x7827[37]}],Voicemail:[{app:_0x7827[9],appdata:_0x7827[10]},{app:_0x7827[38],appdata:_0x7827[32],isApp:true},{app:_0x7827[15],appdata:_0x7827[39]}]};exports[_0x7827[40]]=function(_0xf877x9,_0xf877xa){VoiceExtension[_0x7827[45]]()[_0x7827[44]](function(_0xf877xc){return _0xf877xa[_0x7827[43]](200)[_0x7827[42]](_0xf877xc)})[_0x7827[41]](function(_0xf877xb){return handleError(_0xf877xa,_0xf877xb)})};exports[_0x7827[46]]=function(_0xf877x9,_0xf877xa,_0xf877xd){var _0xf877xe=[_0x7827[47],_0x7827[48],_0x7827[49],_0x7827[50]];var _0xf877xf=_0xf877x9[_0x7827[52]][_0x7827[51]]?parseInt(_0xf877x9[_0x7827[52]][_0x7827[51]],10):100;var _0xf877x10=_0xf877x9[_0x7827[52]][_0x7827[53]]?parseInt(_0xf877x9[_0x7827[52]][_0x7827[53]],10):0;var _0xf877x11={where:{type:_0xf877x9[_0x7827[55]][_0x7827[54]],VoiceExtensionId:null,app:_0x7827[15]},limit:_0xf877xf,offset:_0xf877x10*_0xf877xf};_[_0x7827[69]](_0xf877x9[_0x7827[52]],function(_0xf877x12,_0xf877x13){switch(_0xf877x13){case _0x7827[51]:;case _0x7827[53]:break ;;case _0x7827[58]:_0xf877x11[_0x7827[56]]=util[_0x7827[61]](_0x7827[57],_0xf877x9[_0x7827[52]][_0x7827[58]],_0xf877x9[_0x7827[52]][_0x7827[59]]||_0x7827[60])||null;break ;;case _0x7827[59]:break ;;case _0x7827[67]:_0xf877x11[_0x7827[63]][_0x7827[62]]=[];_0xf877xe[_0x7827[66]](function(_0xf877x14){var _0xf877x15={};_0xf877x15[_0xf877x14]={$like:_0x7827[64]+_0xf877x12+_0x7827[64]};_0xf877x11[_0x7827[63]][_0x7827[62]][_0x7827[65]](_0xf877x15);});break ;;default:_0xf877x11[_0x7827[63]][_0xf877x13]={$like:{}};_0xf877x11[_0x7827[63]][_0xf877x13][_0x7827[68]]=_0x7827[64]+_0xf877x12+_0x7827[64];;}});VoiceExtension[_0x7827[80]](_0xf877x11)[_0x7827[44]](function(_0xf877x16){var _0xf877x17=Math[_0x7827[72]](_0xf877x16[_0x7827[71]]/_0xf877xf);var _0xf877x18=_0xf877x17>(_0xf877x11[_0x7827[73]]+1)?util[_0x7827[61]](_0x7827[74],_0xf877x9[_0x7827[75]],_0xf877x9[_0x7827[77]][_0x7827[76]],_0xf877x9[_0x7827[78]],_0xf877x10+1):null;var _0xf877x19=_0xf877x10>0?util[_0x7827[61]](_0x7827[74],_0xf877x9[_0x7827[75]],_0xf877x9[_0x7827[77]][_0x7827[76]],_0xf877x9[_0x7827[78]],_0xf877x10-1):null;_0xf877xa[_0x7827[43]](200)[_0x7827[42]]({count:_0xf877x16[_0x7827[71]],rows:_0xf877x16[_0x7827[79]],next_page:_0xf877x18,previous_page:_0xf877x19,total_pages:_0xf877x17});})[_0x7827[41]](function(_0xf877xb){_0xf877xa[_0x7827[43]](500)[_0x7827[42]]({error:_0x7827[70]})});};exports[_0x7827[81]]=function(_0xf877x9,_0xf877xa){VoiceExtension[_0x7827[45]]({where:{VoiceExtensionId:_0xf877x9[_0x7827[55]][_0x7827[82]],isApp:true}})[_0x7827[44]](function(_0xf877xc){return _0xf877xa[_0x7827[43]](200)[_0x7827[42]](_0xf877xc)})[_0x7827[41]](function(_0xf877xb){return handleError(_0xf877xa,_0xf877xb)})};exports[_0x7827[83]]=function(_0xf877x9,_0xf877xa){VoiceExtension[_0x7827[85]](_0xf877x9[_0x7827[55]][_0x7827[82]])[_0x7827[44]](function(_0xf877x1a){if(!_0xf877x1a){return _0xf877xa[_0x7827[84]](404)};return _0xf877xa[_0x7827[42]](_0xf877x1a);})[_0x7827[41]](function(_0xf877xb){return handleError(_0xf877xa,_0xf877xb)})};exports[_0x7827[86]]=function(_0xf877x9,_0xf877xa){VoiceExtension[_0x7827[45]]({where:{exten:_0xf877x9[_0x7827[87]][_0x7827[48]],context:_0xf877x9[_0x7827[87]][_0x7827[47]],type:_0xf877x9[_0x7827[87]][_0x7827[88]]}})[_0x7827[44]](function(_0xf877x1a){if(!_0xf877x1a){return _0xf877xa[_0x7827[84]](404)};return _0xf877xa[_0x7827[42]](_0xf877x1a);})[_0x7827[41]](function(_0xf877xb){return handleError(_0xf877xa,_0xf877xb)})};exports[_0x7827[89]]=function(_0xf877x9,_0xf877xa,_0xf877xd){VoiceExtension[_0x7827[45]]({where:{appGroup:_0xf877x9[_0x7827[87]][_0x7827[107]]}})[_0x7827[44]](function(_0xf877x1b){return sequelize[_0x7827[109]](function(_0xf877x1c){return VoiceExtension[_0x7827[108]]({where:{appGroup:_0xf877x9[_0x7827[87]][_0x7827[107]]}},{transaction:_0xf877x1c})[_0x7827[44]](function(){var _0xf877x1d=2;_0xf877x9[_0x7827[87]][_0x7827[107]][_0x7827[66]](function(_0xf877x1e){var _0xf877x1f=_[_0x7827[92]](_0xf877x1b,function(_0xf877x20){return (_0xf877x20[_0x7827[90]]==_0xf877x1e&&_0xf877x20[_0x7827[91]]===true)});var _0xf877x21=_[_0x7827[93]](Applications[_0xf877x1f[_0x7827[49]]]);if(!_0xf877x21||_0xf877x1f[_0x7827[94]]){_0xf877x21=[{app:_0x7827[9],appdata:_0x7827[10]},{app:_0x7827[36],appdata:_0x7827[32],isApp:true},{app:_0x7827[15],appdata:_0x7827[37]}]};var _0xf877x22=util[_0x7827[61]](_0x7827[95],_0xf877x1f[_0x7827[47]],_0xf877x1f[_0x7827[48]],_0xf877x1d);_0xf877x1f[_0x7827[96]]=_0xf877x1f[_0x7827[96]]||_0x7827[97];var _0xf877x23=_[_0x7827[99]](_0xf877x1b,function(_0xf877x20){return (_0xf877x20[_0x7827[90]]==_0xf877x1e&&_0xf877x20[_0x7827[98]]===true)});if(_0xf877x23&&_0xf877x23[_0x7827[100]]>0){_0xf877x21[_0x7827[101]](0,1);_0xf877x23[_0x7827[66]](function(_0xf877x20,_0xf877x24){_0xf877x21[_0x7827[105]]({app:_0x7827[102],appdata:_0xf877x20[_0x7827[96]]+_0x7827[103],IntervalId:_0xf877x20[_0x7827[104]]?_0xf877x20[_0x7827[104]]:null,isInterval:true,interval:_0xf877x20[_0x7827[96]]})});};_0xf877x1d=appCreate(_0xf877x21,_0xf877x1f,_0xf877x22,_0xf877x23||[],_0xf877x1d);return VoiceExtension[_0x7827[106]](_0xf877x21,{transaction:_0xf877x1c});});})})[_0x7827[44]](function(){return _0xf877xa[_0x7827[84]](201)})[_0x7827[41]](function(_0xf877xb){return handleError(_0xf877xa,_0xf877xb)})})[_0x7827[41]](function(_0xf877xb){return _0xf877xd(_0xf877xb)})};exports[_0x7827[110]]=function(_0xf877x9,_0xf877xa,_0xf877xd){var _0xf877x21;var _0xf877x22;var _0xf877x25;VoiceExtension[_0x7827[117]](_0x7827[112],{where:{VoiceExtensionId:_0xf877x9[_0x7827[87]][_0x7827[111]]}})[_0x7827[44]](function(_0xf877x26){if(_0xf877x9[_0x7827[87]][_0x7827[111]]){_0xf877x9[_0x7827[87]][_0x7827[112]]=_0xf877x26?++_0xf877x26:2;_0xf877x21=_[_0x7827[93]](Applications[_0xf877x9[_0x7827[87]][_0x7827[49]]]);if(!_0xf877x21||_0xf877x9[_0x7827[87]][_0x7827[94]]){_0xf877x21=[{app:_0x7827[9],appdata:_0x7827[10]},{app:_0x7827[36],appdata:_0x7827[32],isApp:true},{app:_0x7827[15],appdata:_0x7827[37]}]};_0xf877x22=util[_0x7827[61]](_0x7827[95],_0xf877x9[_0x7827[87]][_0x7827[47]],_0xf877x9[_0x7827[87]][_0x7827[48]],_0xf877x9[_0x7827[87]][_0x7827[112]]);_0xf877x9[_0x7827[87]][_0x7827[96]]=_0xf877x9[_0x7827[87]][_0x7827[96]]||_0x7827[97];Interval[_0x7827[45]]({where:{IntervalId:(_0xf877x9[_0x7827[87]][_0x7827[104]]!==null)?_0xf877x9[_0x7827[87]][_0x7827[104]]:0}})[_0x7827[44]](function(_0xf877x27){var _0xf877x28=[];var _0xf877x29;if(_0xf877x27&&_0xf877x27[_0x7827[100]]>0){_0xf877x21[_0x7827[101]](0,1);_0xf877x28=_[_0x7827[114]](_0xf877x27,_0x7827[113]);_0xf877x28[_0x7827[66]](function(_0xf877x20,_0xf877x24){_0xf877x21[_0x7827[105]]({app:_0x7827[102],appdata:_0xf877x20[_0x7827[96]]+_0x7827[103],IntervalId:_0xf877x20[_0x7827[82]],interval:_0xf877x29,isInterval:true})});};appCreate(_0xf877x21,_0xf877x9[_0x7827[87]],_0xf877x22,_0xf877x28);VoiceExtension[_0x7827[106]](_0xf877x21)[_0x7827[44]](function(_0xf877x2a){return _0xf877xa[_0x7827[43]](201)[_0x7827[42]](_0xf877x2a)});});}else {VoiceExtension[_0x7827[45]]({where:{exten:_0xf877x9[_0x7827[87]][_0x7827[48]],context:_0xf877x9[_0x7827[87]][_0x7827[47]],type:_0xf877x9[_0x7827[87]][_0x7827[88]]}})[_0x7827[44]](function(_0xf877x2b){if(!_0xf877x2b){return _0xf877xa[_0x7827[84]](404)};if(_0xf877x2b[_0x7827[100]]>0){return _0xf877xa[_0x7827[43]](500)[_0x7827[42]]({message:_0x7827[116]})};_0xf877x9[_0x7827[87]][_0x7827[112]]=1;VoiceExtension[_0x7827[110]](_0xf877x9[_0x7827[87]])[_0x7827[44]](function(_0xf877x2a){return _0xf877xa[_0x7827[43]](201)[_0x7827[42]](_0xf877x2a)})[_0x7827[41]](function(_0xf877xb){return _0xf877xa[_0x7827[115]](_0xf877xb)});})[_0x7827[41]](function(_0xf877xb){return _0xf877xa[_0x7827[115]](_0xf877xb)})}})[_0x7827[41]](function(_0xf877xb){_0xf877xd(_0xf877xb)});};function appCreate(_0xf877x21,_0xf877x2d,_0xf877x22,_0xf877x28,_0xf877x1d){var _0xf877x2e=_0xf877x28[_0x7827[100]];if(_0xf877x2d[_0x7827[94]]){_0xf877x2d[_0x7827[49]]=_0x7827[36]};switch(_0xf877x2d[_0x7827[49]]){case _0x7827[13]:if(!_0xf877x2d[_0x7827[118]]){_[_0x7827[119]](_0xf877x21,{app:_0x7827[11]})};_0xf877x21[_0x7827[66]](function(_0xf877x20,_0xf877x24){_0xf877x20[_0x7827[48]]=_0xf877x2d[_0x7827[48]];_0xf877x20[_0x7827[88]]=_0xf877x2d[_0x7827[88]];_0xf877x20[_0x7827[47]]=_0xf877x2d[_0x7827[47]];_0xf877x20[_0x7827[111]]=_0xf877x2d[_0x7827[111]];_0xf877x20[_0x7827[112]]=_0xf877x1d?_0xf877x1d++:_0xf877x2d[_0x7827[112]]++;_0xf877x20[_0x7827[90]]=_0xf877x22;switch(_0xf877x20[_0x7827[49]]){case _0x7827[9]:_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x2d[_0x7827[104]]?_0x7827[97]:_0xf877x2d[_0x7827[96]],_0xf877x20[_0x7827[47]],_0xf877x20[_0x7827[112]]+1,_0xf877x20[_0x7827[47]],(_0xf877x20[_0x7827[112]]+2));break ;;case _0x7827[102]:_0xf877x20[_0x7827[49]]=_0x7827[9];_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x20[_0x7827[47]],_0xf877x20[_0x7827[112]]+_0xf877x2e-_0xf877x24,_0xf877x20[_0x7827[47]],(_0xf877x24+1)<_0xf877x2e?(_0xf877x20[_0x7827[112]]+1):(_0xf877x20[_0x7827[112]]+2));break ;;case _0x7827[13]:if(_0xf877x2d[_0x7827[88]]===_0x7827[120]){_0xf877x20[_0x7827[104]]=_0xf877x2d[_0x7827[104]];_0xf877x20[_0x7827[96]]=_0xf877x2d[_0x7827[96]];_0xf877x20[_0x7827[121]]=_0xf877x2d[_0x7827[121]];_0xf877x20[_0x7827[122]]=_0xf877x2d[_0x7827[122]];_0xf877x20[_0x7827[123]]=_0xf877x2d[_0x7827[123]]||0;_0xf877x20[_0x7827[118]]=_0xf877x2d[_0x7827[118]]||null;}else {_0xf877x20[_0x7827[104]]=_0xf877x2d[_0x7827[104]];_0xf877x20[_0x7827[96]]=_0xf877x2d[_0x7827[96]];_0xf877x20[_0x7827[124]]=_0xf877x2d[_0x7827[124]];_0xf877x20[_0x7827[125]]=_0xf877x2d[_0x7827[125]]||_0x7827[18];_0xf877x20[_0x7827[126]]=_0xf877x2d[_0x7827[126]]||_0x7827[18];_0xf877x20[_0x7827[127]]=_0xf877x2d[_0x7827[127]]||_0x7827[18];_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x2d[_0x7827[124]],_0xf877x20[_0x7827[126]],_0xf877x20[_0x7827[125]]?_0xf877x20[_0x7827[125]][_0x7827[129]](_0x7827[128],_0x7827[18]):_0x7827[18],_0xf877x20[_0x7827[127]]);};break ;;case _0x7827[11]:_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x2d[_0x7827[118]]);break ;;case _0x7827[15]:if(_0xf877x2d[_0x7827[88]]===_0x7827[120]){_0xf877x20[_0x7827[50]]=_0x7827[130]};break ;;default:;};});break ;;case _0x7827[19]:_0xf877x21[_0x7827[66]](function(_0xf877x20,_0xf877x24){_0xf877x20[_0x7827[48]]=_0xf877x2d[_0x7827[48]];_0xf877x20[_0x7827[88]]=_0xf877x2d[_0x7827[88]];_0xf877x20[_0x7827[47]]=_0xf877x2d[_0x7827[47]];_0xf877x20[_0x7827[111]]=_0xf877x2d[_0x7827[111]];_0xf877x20[_0x7827[112]]=_0xf877x1d?_0xf877x1d++:_0xf877x2d[_0x7827[112]]++;_0xf877x20[_0x7827[90]]=_0xf877x22;switch(_0xf877x20[_0x7827[49]]){case _0x7827[9]:_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x2d[_0x7827[104]]?_0x7827[97]:_0xf877x2d[_0x7827[96]],_0xf877x20[_0x7827[47]],_0xf877x20[_0x7827[112]]+1,_0xf877x20[_0x7827[47]],(_0xf877x20[_0x7827[112]]+2));break ;;case _0x7827[102]:_0xf877x20[_0x7827[49]]=_0x7827[9];_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x20[_0x7827[47]],_0xf877x20[_0x7827[112]]+_0xf877x2e-_0xf877x24,_0xf877x20[_0x7827[47]],(_0xf877x24+1)<_0xf877x2e?(_0xf877x20[_0x7827[112]]+1):(_0xf877x20[_0x7827[112]]+2));break ;;case _0x7827[19]:_0xf877x20[_0x7827[104]]=_0xf877x2d[_0x7827[104]];_0xf877x20[_0x7827[125]]=_0xf877x2d[_0x7827[125]]||_0x7827[18];_0xf877x20[_0x7827[131]]=_0xf877x2d[_0x7827[131]]||_0x7827[18];_0xf877x20[_0x7827[132]]=_0xf877x2d[_0x7827[132]];_0xf877x20[_0x7827[96]]=_0xf877x2d[_0x7827[96]];_0xf877x20[_0x7827[124]]=_0xf877x2d[_0x7827[124]];_0xf877x20[_0x7827[125]]=_0xf877x2d[_0x7827[125]];_0xf877x20[_0x7827[126]]=_0xf877x2d[_0x7827[126]]||_0x7827[18];_0xf877x20[_0x7827[127]]=_0xf877x2d[_0x7827[127]]||_0x7827[18];_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x20[_0x7827[132]],_0xf877x20[_0x7827[125]]?_0xf877x20[_0x7827[125]][_0x7827[129]](_0x7827[128],_0x7827[18]):_0x7827[18],_0xf877x20[_0x7827[127]],_0xf877x20[_0x7827[131]],_0xf877x20[_0x7827[126]]);break ;;default:;};});break ;;case _0x7827[22]:_0xf877x21[_0x7827[66]](function(_0xf877x20,_0xf877x24){_0xf877x20[_0x7827[48]]=_0xf877x2d[_0x7827[48]];_0xf877x20[_0x7827[88]]=_0xf877x2d[_0x7827[88]];_0xf877x20[_0x7827[47]]=_0xf877x2d[_0x7827[47]];_0xf877x20[_0x7827[111]]=_0xf877x2d[_0x7827[111]];_0xf877x20[_0x7827[112]]=_0xf877x1d?_0xf877x1d++:_0xf877x2d[_0x7827[112]]++;_0xf877x20[_0x7827[90]]=_0xf877x22;switch(_0xf877x20[_0x7827[49]]){case _0x7827[9]:_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x2d[_0x7827[104]]?_0x7827[97]:_0xf877x2d[_0x7827[96]],_0xf877x20[_0x7827[47]],_0xf877x20[_0x7827[112]]+1,_0xf877x20[_0x7827[47]],(_0xf877x20[_0x7827[112]]+2));break ;;case _0x7827[102]:_0xf877x20[_0x7827[49]]=_0x7827[9];_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x20[_0x7827[47]],_0xf877x20[_0x7827[112]]+_0xf877x2e-_0xf877x24,_0xf877x20[_0x7827[47]],(_0xf877x24+1)<_0xf877x2e?(_0xf877x20[_0x7827[112]]+1):(_0xf877x20[_0x7827[112]]+2));break ;;case _0x7827[22]:_0xf877x20[_0x7827[104]]=_0xf877x2d[_0x7827[104]];_0xf877x20[_0x7827[96]]=_0xf877x2d[_0x7827[96]];_0xf877x20[_0x7827[131]]=_0xf877x2d[_0x7827[131]]||_0x7827[18];_0xf877x20[_0x7827[125]]=_0xf877x2d[_0x7827[125]]||_0x7827[18];_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x20[_0x7827[131]],_0xf877x20[_0x7827[125]]?_0xf877x20[_0x7827[125]][_0x7827[129]](_0x7827[128],_0x7827[18]):_0x7827[18]);break ;;default:;};});break ;;case _0x7827[25]:_0xf877x21[_0x7827[66]](function(_0xf877x20,_0xf877x24){_0xf877x20[_0x7827[48]]=_0xf877x2d[_0x7827[48]];_0xf877x20[_0x7827[88]]=_0xf877x2d[_0x7827[88]];_0xf877x20[_0x7827[47]]=_0xf877x2d[_0x7827[47]];_0xf877x20[_0x7827[111]]=_0xf877x2d[_0x7827[111]];_0xf877x20[_0x7827[112]]=_0xf877x1d?_0xf877x1d++:_0xf877x2d[_0x7827[112]]++;_0xf877x20[_0x7827[90]]=_0xf877x22;switch(_0xf877x20[_0x7827[49]]){case _0x7827[9]:_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x2d[_0x7827[104]]?_0x7827[97]:_0xf877x2d[_0x7827[96]],_0xf877x20[_0x7827[47]],_0xf877x20[_0x7827[112]]+1,_0xf877x20[_0x7827[47]],(_0xf877x20[_0x7827[112]]+2));break ;;case _0x7827[102]:_0xf877x20[_0x7827[49]]=_0x7827[9];_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x20[_0x7827[47]],_0xf877x20[_0x7827[112]]+_0xf877x2e-_0xf877x24,_0xf877x20[_0x7827[47]],(_0xf877x24+1)<_0xf877x2e?(_0xf877x20[_0x7827[112]]+1):(_0xf877x20[_0x7827[112]]+2));break ;;case _0x7827[25]:_0xf877x20[_0x7827[104]]=_0xf877x2d[_0x7827[104]];_0xf877x20[_0x7827[96]]=_0xf877x2d[_0x7827[96]];_0xf877x20[_0x7827[133]]=_0xf877x2d[_0x7827[133]];_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x20[_0x7827[133]]);break ;;default:;};});break ;;case _0x7827[28]:_0xf877x21[_0x7827[66]](function(_0xf877x20,_0xf877x24){_0xf877x20[_0x7827[48]]=_0xf877x2d[_0x7827[48]];_0xf877x20[_0x7827[88]]=_0xf877x2d[_0x7827[88]];_0xf877x20[_0x7827[47]]=_0xf877x2d[_0x7827[47]];_0xf877x20[_0x7827[111]]=_0xf877x2d[_0x7827[111]];_0xf877x20[_0x7827[112]]=_0xf877x1d?_0xf877x1d++:_0xf877x2d[_0x7827[112]]++;_0xf877x20[_0x7827[90]]=_0xf877x22;switch(_0xf877x20[_0x7827[49]]){case _0x7827[9]:_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x2d[_0x7827[104]]?_0x7827[97]:_0xf877x2d[_0x7827[96]],_0xf877x20[_0x7827[47]],_0xf877x20[_0x7827[112]]+1,_0xf877x20[_0x7827[47]],(_0xf877x20[_0x7827[112]]+2));break ;;case _0x7827[102]:_0xf877x20[_0x7827[49]]=_0x7827[9];_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x20[_0x7827[47]],_0xf877x20[_0x7827[112]]+_0xf877x2e-_0xf877x24,_0xf877x20[_0x7827[47]],(_0xf877x24+1)<_0xf877x2e?(_0xf877x20[_0x7827[112]]+1):(_0xf877x20[_0x7827[112]]+2));break ;;case _0x7827[28]:_0xf877x20[_0x7827[104]]=_0xf877x2d[_0x7827[104]];_0xf877x20[_0x7827[96]]=_0xf877x2d[_0x7827[96]];_0xf877x20[_0x7827[134]]=_0xf877x2d[_0x7827[134]];_0xf877x20[_0x7827[135]]=_0xf877x2d[_0x7827[135]];_0xf877x20[_0x7827[136]]=_0xf877x2d[_0x7827[136]];_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x20[_0x7827[136]],_0xf877x20[_0x7827[135]],_0xf877x20[_0x7827[134]]);break ;;default:;};});break ;;case _0x7827[31]:_0xf877x21[_0x7827[66]](function(_0xf877x20,_0xf877x24){_0xf877x20[_0x7827[48]]=_0xf877x2d[_0x7827[48]];_0xf877x20[_0x7827[88]]=_0xf877x2d[_0x7827[88]];_0xf877x20[_0x7827[47]]=_0xf877x2d[_0x7827[47]];_0xf877x20[_0x7827[111]]=_0xf877x2d[_0x7827[111]];_0xf877x20[_0x7827[112]]=_0xf877x1d?_0xf877x1d++:_0xf877x2d[_0x7827[112]]++;_0xf877x20[_0x7827[90]]=_0xf877x22;switch(_0xf877x20[_0x7827[49]]){case _0x7827[9]:_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x2d[_0x7827[104]]?_0x7827[97]:_0xf877x2d[_0x7827[96]],_0xf877x20[_0x7827[47]],_0xf877x20[_0x7827[112]]+1,_0xf877x20[_0x7827[47]],(_0xf877x20[_0x7827[112]]+2));break ;;case _0x7827[102]:_0xf877x20[_0x7827[49]]=_0x7827[9];_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x20[_0x7827[47]],_0xf877x20[_0x7827[112]]+_0xf877x2e-_0xf877x24,_0xf877x20[_0x7827[47]],(_0xf877x24+1)<_0xf877x2e?(_0xf877x20[_0x7827[112]]+1):(_0xf877x20[_0x7827[112]]+2));break ;;case _0x7827[31]:_0xf877x20[_0x7827[104]]=_0xf877x2d[_0x7827[104]];_0xf877x20[_0x7827[96]]=_0xf877x2d[_0x7827[96]];_0xf877x20[_0x7827[137]]=_0xf877x2d[_0x7827[137]];_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x20[_0x7827[137]]);break ;;default:;};});break ;;case _0x7827[11]:_0xf877x21[_0x7827[66]](function(_0xf877x20,_0xf877x24){_0xf877x20[_0x7827[48]]=_0xf877x2d[_0x7827[48]];_0xf877x20[_0x7827[88]]=_0xf877x2d[_0x7827[88]];_0xf877x20[_0x7827[47]]=_0xf877x2d[_0x7827[47]];_0xf877x20[_0x7827[111]]=_0xf877x2d[_0x7827[111]];_0xf877x20[_0x7827[112]]=_0xf877x1d?_0xf877x1d++:_0xf877x2d[_0x7827[112]]++;_0xf877x20[_0x7827[90]]=_0xf877x22;switch(_0xf877x20[_0x7827[49]]){case _0x7827[9]:_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x2d[_0x7827[104]]?_0x7827[97]:_0xf877x2d[_0x7827[96]],_0xf877x20[_0x7827[47]],_0xf877x20[_0x7827[112]]+1,_0xf877x20[_0x7827[47]],(_0xf877x20[_0x7827[112]]+2));break ;;case _0x7827[102]:_0xf877x20[_0x7827[49]]=_0x7827[9];_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x20[_0x7827[47]],_0xf877x20[_0x7827[112]]+_0xf877x2e-_0xf877x24,_0xf877x20[_0x7827[47]],(_0xf877x24+1)<_0xf877x2e?(_0xf877x20[_0x7827[112]]+1):(_0xf877x20[_0x7827[112]]+2));break ;;case _0x7827[11]:_0xf877x20[_0x7827[104]]=_0xf877x2d[_0x7827[104]];_0xf877x20[_0x7827[96]]=_0xf877x2d[_0x7827[96]];_0xf877x20[_0x7827[138]]=_0xf877x2d[_0x7827[138]];_0xf877x20[_0x7827[139]]=_0xf877x2d[_0x7827[139]];_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x20[_0x7827[138]],_0xf877x20[_0x7827[139]]);break ;;default:;};});break ;;case _0x7827[36]:_0xf877x21[_0x7827[66]](function(_0xf877x20,_0xf877x24){_0xf877x20[_0x7827[48]]=_0xf877x2d[_0x7827[48]];_0xf877x20[_0x7827[88]]=_0xf877x2d[_0x7827[88]];_0xf877x20[_0x7827[47]]=_0xf877x2d[_0x7827[47]];_0xf877x20[_0x7827[111]]=_0xf877x2d[_0x7827[111]];_0xf877x20[_0x7827[112]]=_0xf877x1d?_0xf877x1d++:_0xf877x2d[_0x7827[112]]++;_0xf877x20[_0x7827[90]]=_0xf877x22;switch(_0xf877x20[_0x7827[49]]){case _0x7827[9]:_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x2d[_0x7827[104]]?_0x7827[97]:_0xf877x2d[_0x7827[96]],_0xf877x20[_0x7827[47]],_0xf877x20[_0x7827[112]]+1,_0xf877x20[_0x7827[47]],(_0xf877x20[_0x7827[112]]+2));break ;;case _0x7827[102]:_0xf877x20[_0x7827[49]]=_0x7827[9];_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x20[_0x7827[47]],_0xf877x20[_0x7827[112]]+_0xf877x2e-_0xf877x24,_0xf877x20[_0x7827[47]],(_0xf877x24+1)<_0xf877x2e?(_0xf877x20[_0x7827[112]]+1):(_0xf877x20[_0x7827[112]]+2));break ;;case _0x7827[36]:_0xf877x20[_0x7827[104]]=_0xf877x2d[_0x7827[104]];_0xf877x20[_0x7827[96]]=_0xf877x2d[_0x7827[96]];_0xf877x20[_0x7827[49]]=_0xf877x20[_0x7827[94]]=_0xf877x2d[_0x7827[94]];_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x2d[_0x7827[50]]);break ;;default:;};});break ;;case _0x7827[38]:_0xf877x21[_0x7827[66]](function(_0xf877x20,_0xf877x24){_0xf877x20[_0x7827[48]]=_0xf877x2d[_0x7827[48]];_0xf877x20[_0x7827[88]]=_0xf877x2d[_0x7827[88]];_0xf877x20[_0x7827[47]]=_0xf877x2d[_0x7827[47]];_0xf877x20[_0x7827[111]]=_0xf877x2d[_0x7827[111]];_0xf877x20[_0x7827[112]]=_0xf877x1d?_0xf877x1d++:_0xf877x2d[_0x7827[112]]++;_0xf877x20[_0x7827[90]]=_0xf877x22;switch(_0xf877x20[_0x7827[49]]){case _0x7827[9]:_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x2d[_0x7827[104]]?_0x7827[97]:_0xf877x2d[_0x7827[96]],_0xf877x20[_0x7827[47]],_0xf877x20[_0x7827[112]]+1,_0xf877x20[_0x7827[47]],(_0xf877x20[_0x7827[112]]+2));break ;;case _0x7827[102]:_0xf877x20[_0x7827[49]]=_0x7827[9];_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x20[_0x7827[47]],_0xf877x20[_0x7827[112]]+_0xf877x2e-_0xf877x24,_0xf877x20[_0x7827[47]],(_0xf877x24+1)<_0xf877x2e?(_0xf877x20[_0x7827[112]]+1):(_0xf877x20[_0x7827[112]]+2));break ;;case _0x7827[38]:_0xf877x20[_0x7827[104]]=_0xf877x2d[_0x7827[104]];_0xf877x20[_0x7827[96]]=_0xf877x2d[_0x7827[96]];_0xf877x20[_0x7827[140]]=_0xf877x2d[_0x7827[140]];_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x20[_0x7827[140]]);break ;;default:;};});break ;;default:_0xf877x21[_0x7827[66]](function(_0xf877x20,_0xf877x24){_0xf877x20[_0x7827[48]]=_0xf877x2d[_0x7827[48]];_0xf877x20[_0x7827[88]]=_0xf877x2d[_0x7827[88]];_0xf877x20[_0x7827[47]]=_0xf877x2d[_0x7827[47]];_0xf877x20[_0x7827[111]]=_0xf877x2d[_0x7827[111]];_0xf877x20[_0x7827[112]]=_0xf877x1d?_0xf877x1d++:_0xf877x2d[_0x7827[112]]++;_0xf877x20[_0x7827[90]]=_0xf877x22;switch(_0xf877x20[_0x7827[49]]){case _0x7827[9]:_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x2d[_0x7827[104]]?_0x7827[97]:_0xf877x2d[_0x7827[96]],_0xf877x20[_0x7827[47]],_0xf877x20[_0x7827[112]]+1,_0xf877x20[_0x7827[47]],(_0xf877x20[_0x7827[112]]+2));break ;;case _0x7827[102]:_0xf877x20[_0x7827[49]]=_0x7827[9];_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x20[_0x7827[47]],_0xf877x20[_0x7827[112]]+_0xf877x2e-_0xf877x24,_0xf877x20[_0x7827[47]],(_0xf877x24+1)<_0xf877x2e?(_0xf877x20[_0x7827[112]]+1):(_0xf877x20[_0x7827[112]]+2));break ;;case _0x7827[36]:_0xf877x20[_0x7827[104]]=_0xf877x2d[_0x7827[104]];_0xf877x20[_0x7827[96]]=_0xf877x2d[_0x7827[96]];_0xf877x20[_0x7827[49]]=_0xf877x20[_0x7827[94]]=_0xf877x2d[_0x7827[94]];_0xf877x20[_0x7827[50]]=util[_0x7827[61]](_0xf877x20[_0x7827[50]],_0xf877x2d[_0x7827[50]]);break ;;default:;};});;};if(_0xf877x1d){return _0xf877x1d};}exports[_0x7827[141]]=function(_0xf877x9,_0xf877xa){VoiceExtension[_0x7827[45]]({where:{exten:_0xf877x9[_0x7827[87]][_0x7827[48]],context:_0xf877x9[_0x7827[87]][_0x7827[47]],type:_0xf877x9[_0x7827[87]][_0x7827[88]],VoiceExtensionId:null,id:{$ne:_0xf877x9[_0x7827[87]][_0x7827[82]]}}})[_0x7827[44]](function(_0xf877x2b){if(!_0xf877x2b){return _0xf877xa[_0x7827[84]](404)};if(_0xf877x2b[_0x7827[100]]>0){return _0xf877xa[_0x7827[43]](500)[_0x7827[42]]({message:_0x7827[116]})};if(_0xf877x9[_0x7827[87]][_0x7827[82]]){delete _0xf877x9[_0x7827[87]][_0x7827[82]]};VoiceExtension[_0x7827[92]]({where:{id:_0xf877x9[_0x7827[55]][_0x7827[82]]}})[_0x7827[44]](function(_0xf877x1a){if(!_0xf877x1a){return _0xf877xa[_0x7827[84]](404)};var _0xf877x2f=_[_0x7827[142]](_0xf877x1a,_0xf877x9[_0x7827[87]]);return sequelize[_0x7827[109]](function(_0xf877x1c){return _0xf877x2f[_0x7827[143]]({transaction:_0xf877x1c})[_0x7827[44]](function(_0xf877x30){VoiceExtension[_0x7827[45]]({where:{VoiceExtensionId:_0xf877x30[_0x7827[82]],isApp:true}})[_0x7827[44]](function(_0xf877x2a){return VoiceExtension[_0x7827[108]]({where:{VoiceExtensionId:_0xf877x30[_0x7827[82]]}},{transaction:_0xf877x1c})[_0x7827[44]](function(){_0xf877x2a=_[_0x7827[114]](_0xf877x2a,_0x7827[113]);var _0xf877x31=_[_0x7827[99]](_[_0x7827[114]](_0xf877x2a,_0x7827[104]),function(_0xf877x20){return _0xf877x20!==null});Interval[_0x7827[45]]({where:{IntervalId:_0xf877x31}})[_0x7827[44]](function(_0xf877x28){var _0xf877x1d=2;var _0xf877x25;_0xf877x2a[_0x7827[66]](function(_0xf877x1f){var _0xf877x21=_[_0x7827[93]](Applications[_0xf877x1f[_0x7827[49]]]);if(!_0xf877x21||_0xf877x1f[_0x7827[94]]){_0xf877x21=[{app:_0x7827[9],appdata:_0x7827[10]},{app:_0x7827[36],appdata:_0x7827[32],isApp:true},{app:_0x7827[15],appdata:_0x7827[37]}]};_0xf877x1f[_0x7827[47]]=_0xf877x30[_0x7827[47]];_0xf877x1f[_0x7827[48]]=_0xf877x30[_0x7827[48]];var _0xf877x22=util[_0x7827[61]](_0x7827[95],_0xf877x1f[_0x7827[47]],_0xf877x1f[_0x7827[48]],_0xf877x1d);_0xf877x1f[_0x7827[96]]=_0xf877x1f[_0x7827[96]]||_0x7827[97];var _0xf877x23=_[_0x7827[99]](_0xf877x28,function(_0xf877x20){return (_0xf877x20[_0x7827[104]]==_0xf877x1f[_0x7827[104]])});if(_0xf877x23&&_0xf877x23[_0x7827[100]]>0){_0xf877x21[_0x7827[101]](0,1);_0xf877x23[_0x7827[66]](function(_0xf877x20,_0xf877x24){_0xf877x21[_0x7827[105]]({app:_0x7827[102],appdata:_0xf877x20[_0x7827[96]]+_0x7827[103],IntervalId:_0xf877x20[_0x7827[82]],isInterval:true,interval:_0xf877x20[_0x7827[96]]})});};_0xf877x1d=appCreate(_0xf877x21,_0xf877x1f,_0xf877x22,_0xf877x23||[],_0xf877x1d);VoiceExtension[_0x7827[106]](_0xf877x21);});return _0xf877xa[_0x7827[84]](200);});})})})})[_0x7827[41]](function(_0xf877xb){return handleError(_0xf877xa,_0xf877xb)});})[_0x7827[41]](function(_0xf877xb){return handleError(_0xf877xa,_0xf877xb)});})[_0x7827[41]](function(_0xf877xb){return handleError(_0xf877xa,_0xf877xb)})};exports[_0x7827[144]]=function(_0xf877x9,_0xf877xa,_0xf877xd){var _0xf877x25;if(_0xf877x9[_0x7827[87]][_0x7827[50]]){delete _0xf877x9[_0x7827[87]][_0x7827[50]]};VoiceExtension[_0x7827[85]](_0xf877x9[_0x7827[87]][_0x7827[82]])[_0x7827[44]](function(_0xf877x32){if(!_0xf877x32){return _0xf877xa[_0x7827[84]](404)};delete _0xf877x9[_0x7827[87]][_0x7827[82]];var _0xf877x2f=_[_0x7827[142]](_0xf877x32,_0xf877x9[_0x7827[87]]);return sequelize[_0x7827[109]](function(_0xf877x1c){return _0xf877x2f[_0x7827[143]]({transaction:_0xf877x1c})[_0x7827[44]](function(){VoiceExtension[_0x7827[45]]({where:{VoiceExtensionId:_0xf877x9[_0x7827[87]][_0x7827[111]],isApp:true}})[_0x7827[44]](function(_0xf877x2a){return VoiceExtension[_0x7827[108]]({where:{VoiceExtensionId:_0xf877x9[_0x7827[87]][_0x7827[111]]}},{transaction:_0xf877x1c})[_0x7827[44]](function(){_0xf877x2a=_[_0x7827[114]](_0xf877x2a,_0x7827[113]);var _0xf877x31=_[_0x7827[99]](_[_0x7827[114]](_0xf877x2a,_0x7827[104]),function(_0xf877x20){return _0xf877x20!==null});return Interval[_0x7827[45]]({where:{IntervalId:_0xf877x31}})[_0x7827[44]](function(_0xf877x28){var _0xf877x1d=2;var _0xf877x25;_0xf877x2a[_0x7827[66]](function(_0xf877x1f){var _0xf877x21=_[_0x7827[93]](Applications[_0xf877x1f[_0x7827[49]]]);if(!_0xf877x21||_0xf877x1f[_0x7827[94]]){_0xf877x21=[{app:_0x7827[9],appdata:_0x7827[10]},{app:_0x7827[36],appdata:_0x7827[32],isApp:true},{app:_0x7827[15],appdata:_0x7827[37]}]};var _0xf877x22=util[_0x7827[61]](_0x7827[95],_0xf877x1f[_0x7827[47]],_0xf877x1f[_0x7827[48]],_0xf877x1d);_0xf877x1f[_0x7827[96]]=_0xf877x1f[_0x7827[96]]||_0x7827[97];var _0xf877x23=_[_0x7827[99]](_0xf877x28,function(_0xf877x20){return (_0xf877x20[_0x7827[104]]==_0xf877x1f[_0x7827[104]])});if(_0xf877x23&&_0xf877x23[_0x7827[100]]>0){_0xf877x21[_0x7827[101]](0,1);_0xf877x23[_0x7827[66]](function(_0xf877x20,_0xf877x24){_0xf877x21[_0x7827[105]]({app:_0x7827[102],appdata:_0xf877x20[_0x7827[96]]+_0x7827[103],IntervalId:_0xf877x20[_0x7827[82]],isInterval:true,interval:_0xf877x20[_0x7827[96]]})});};_0xf877x1d=appCreate(_0xf877x21,_0xf877x1f,_0xf877x22,_0xf877x23||[],_0xf877x1d);VoiceExtension[_0x7827[106]](_0xf877x21);});});})})})})[_0x7827[44]](function(_0xf877x16){return _0xf877xa[_0x7827[43]](201)[_0x7827[42]](_0xf877x16)})[_0x7827[41]](function(_0xf877xb){return handleError(_0xf877xa,_0xf877xb)});})[_0x7827[41]](function(_0xf877xb){return handleError(_0xf877xa,_0xf877xb)});};exports[_0x7827[108]]=function(_0xf877x9,_0xf877xa,_0xf877xd){VoiceExtension[_0x7827[85]](_0xf877x9[_0x7827[55]][_0x7827[82]])[_0x7827[44]](function(_0xf877x1a){if(!_0xf877x1a){return _0xf877xa[_0x7827[84]](404)};if(!_0xf877x1a[_0x7827[111]]){_0xf877x1a[_0x7827[108]]()[_0x7827[44]](function(){return _0xf877xa[_0x7827[84]](204)})[_0x7827[41]](function(_0xf877xb){return handleError(_0xf877xa,_0xf877xb)})}else {VoiceExtension[_0x7827[45]]({where:{appGroup:_0xf877x1a[_0x7827[90]]}})[_0x7827[44]](function(_0xf877xc){if(!_0xf877xc){return _0xf877xa[_0x7827[84]](404)};return sequelize[_0x7827[109]](function(_0xf877x1c){return VoiceExtension[_0x7827[108]]({where:{appGroup:_0xf877x1a[_0x7827[90]]}},{transaction:_0xf877x1c})[_0x7827[44]](function(_0xf877x33){return VoiceExtension[_0x7827[45]]({where:{VoiceExtensionId:_0xf877x1a[_0x7827[111]],priority:{$gt:_0xf877xc[_0xf877x33-1][_0x7827[112]]}}})[_0x7827[44]](function(_0xf877x1b){return VoiceExtension[_0x7827[108]]({where:{VoiceExtensionId:_0xf877x1a[_0x7827[111]],priority:{$gt:_0xf877xc[_0xf877x33-1][_0x7827[112]]}}},{transaction:_0xf877x1c})[_0x7827[44]](function(){var _0xf877x34=_[_0x7827[114]](_[_0x7827[99]](_[_0x7827[114]](_0xf877x1b,_0x7827[113]),function(_0xf877x20){return _0xf877x20[_0x7827[91]]===true}),_0x7827[90]);var _0xf877x1d=_0xf877xc[0][_0x7827[112]];_0xf877x34[_0x7827[66]](function(_0xf877x1e){var _0xf877x1f=_[_0x7827[92]](_0xf877x1b,function(_0xf877x20){return (_0xf877x20[_0x7827[90]]==_0xf877x1e&&_0xf877x20[_0x7827[91]]===true)});var _0xf877x21=_[_0x7827[93]](Applications[_0xf877x1f[_0x7827[49]]]);if(!_0xf877x21||_0xf877x1f[_0x7827[94]]){_0xf877x21=[{app:_0x7827[9],appdata:_0x7827[10]},{app:_0x7827[36],appdata:_0x7827[32],isApp:true},{app:_0x7827[15],appdata:_0x7827[37]}]};var _0xf877x22=util[_0x7827[61]](_0x7827[95],_0xf877x1f[_0x7827[47]],_0xf877x1f[_0x7827[48]],_0xf877x1d);_0xf877x1f[_0x7827[96]]=_0xf877x1f[_0x7827[96]]||_0x7827[97];var _0xf877x23=_[_0x7827[99]](_0xf877x1b,function(_0xf877x20){return (_0xf877x20[_0x7827[90]]==_0xf877x1e&&_0xf877x20[_0x7827[98]]===true)});if(_0xf877x23&&_0xf877x23[_0x7827[100]]>0){_0xf877x21[_0x7827[101]](0,1);_0xf877x23[_0x7827[66]](function(_0xf877x20,_0xf877x24){_0xf877x21[_0x7827[105]]({app:_0x7827[102],appdata:_0xf877x20[_0x7827[96]]+_0x7827[103],IntervalId:_0xf877x20[_0x7827[104]]?_0xf877x20[_0x7827[104]]:null,isInterval:true,interval:_0xf877x20[_0x7827[96]]})});};_0xf877x1d=appCreate(_0xf877x21,_0xf877x1f,_0xf877x22,_0xf877x23||[],_0xf877x1d);VoiceExtension[_0x7827[106]](_0xf877x21);});})})})})[_0x7827[44]](function(_0xf877x16){_0xf877xa[_0x7827[84]](201)})[_0x7827[41]](function(_0xf877xb){return _0xf877xd(_0xf877xb)});})};})[_0x7827[41]](function(_0xf877xb){return _0xf877xd(_0xf877xb)})};exports[_0x7827[145]]=function(_0xf877x9,_0xf877xa){VoiceExtension[_0x7827[108]]({where:{id:_0xf877x9[_0x7827[52]][_0x7827[82]]},individualHooks:true})[_0x7827[44]](function(){return _0xf877xa[_0x7827[84]](204)})[_0x7827[41]](function(_0xf877xb){return handleError(_0xf877xa,_0xf877xb)})};function handleError(_0xf877xa,_0xf877xb){return _0xf877xa[_0x7827[43]](500)[_0x7827[42]](_0xf877xb)}
\ No newline at end of file
index e58743e..a49edd8 100644 (file)
@@ -1 +1 @@
-var _0xff47=["\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\x42\x75\x6C\x6B\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"];_0xff47[0];var VoiceExtension=require(_0xff47[2])[_0xff47[1]];exports[_0xff47[3]]=function(_0x333bx2){VoiceExtension[_0xff47[4]](function(_0x333bx3){onSave(_0x333bx2,_0x333bx3)});VoiceExtension[_0xff47[5]](function(_0x333bx3){onRemove(_0x333bx2,_0x333bx3)});VoiceExtension[_0xff47[6]](function(_0x333bx3){onRemove(_0x333bx2,_0x333bx3)});VoiceExtension[_0xff47[7]](function(_0x333bx3){onUpdate(_0x333bx2,_0x333bx3)});};function onSave(_0x333bx2,_0x333bx3,_0x333bx5){_0x333bx2[_0xff47[9]](_0xff47[8],_0x333bx3)}function onRemove(_0x333bx2,_0x333bx3,_0x333bx5){_0x333bx2[_0xff47[9]](_0xff47[10],_0x333bx3)}function onUpdate(_0x333bx2,_0x333bx3,_0x333bx5){_0x333bx2[_0xff47[9]](_0xff47[11],_0x333bx3)}
\ No newline at end of file
+var _0x8f24=["\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\x42\x75\x6C\x6B\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"];_0x8f24[0];var VoiceExtension=require(_0x8f24[2])[_0x8f24[1]];exports[_0x8f24[3]]=function(_0xaa14x2){VoiceExtension[_0x8f24[4]](function(_0xaa14x3){onSave(_0xaa14x2,_0xaa14x3)});VoiceExtension[_0x8f24[5]](function(_0xaa14x3){onRemove(_0xaa14x2,_0xaa14x3)});VoiceExtension[_0x8f24[6]](function(_0xaa14x3){onRemove(_0xaa14x2,_0xaa14x3)});VoiceExtension[_0x8f24[7]](function(_0xaa14x3){onUpdate(_0xaa14x2,_0xaa14x3)});};function onSave(_0xaa14x2,_0xaa14x3,_0xaa14x5){_0xaa14x2[_0x8f24[9]](_0x8f24[8],_0xaa14x3)}function onRemove(_0xaa14x2,_0xaa14x3,_0xaa14x5){_0xaa14x2[_0x8f24[9]](_0x8f24[10],_0xaa14x3)}function onUpdate(_0xaa14x2,_0xaa14x3,_0xaa14x5){_0xaa14x2[_0x8f24[9]](_0x8f24[11],_0xaa14x3)}
\ No newline at end of file
index 6b9ea65..5c6ba50 100644 (file)
@@ -1 +1 @@
-var _0x2861=["\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\x76\x6F\x69\x63\x65\x2F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\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\x76\x6F\x69\x63\x65\x2F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x67\x65\x74"];_0x2861[0];var should=require(_0x2861[1]);var app=require(_0x2861[2]);var request=require(_0x2861[3]);describe(_0x2861[4],function(){it(_0x2861[5],function(_0x26dax4){request(app)[_0x2861[13]](_0x2861[12])[_0x2861[11]](200)[_0x2861[11]](_0x2861[10],/json/)[_0x2861[9]](function(_0x26dax5,_0x26dax6){if(_0x26dax5){return _0x26dax4(_0x26dax5)};_0x26dax6[_0x2861[8]][_0x2861[1]][_0x2861[7]][_0x2861[6]](Array);_0x26dax4();})})});
\ No newline at end of file
+var _0x7201=["\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\x76\x6F\x69\x63\x65\x2F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\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\x76\x6F\x69\x63\x65\x2F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x67\x65\x74"];_0x7201[0];var should=require(_0x7201[1]);var app=require(_0x7201[2]);var request=require(_0x7201[3]);describe(_0x7201[4],function(){it(_0x7201[5],function(_0xe1dex4){request(app)[_0x7201[13]](_0x7201[12])[_0x7201[11]](200)[_0x7201[11]](_0x7201[10],/json/)[_0x7201[9]](function(_0xe1dex5,_0xe1dex6){if(_0xe1dex5){return _0xe1dex4(_0xe1dex5)};_0xe1dex6[_0x7201[8]][_0x7201[1]][_0x7201[7]][_0x7201[6]](Array);_0xe1dex4();})})});
\ No newline at end of file
index 3eafd6c..d74eae8 100644 (file)
@@ -1 +1 @@
-var _0x4985=["\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","\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"];_0x4985[0];var express=require(_0x4985[1]);var controller=require(_0x4985[2]);var auth=require(_0x4985[3]);var router=express.Router();router[_0x4985[7]](_0x4985[4],auth[_0x4985[5]](),controller[_0x4985[6]]);router[_0x4985[7]](_0x4985[8],auth[_0x4985[5]](),controller[_0x4985[9]]);router[_0x4985[7]](_0x4985[10],auth[_0x4985[5]](),controller[_0x4985[11]]);router[_0x4985[7]](_0x4985[12],auth[_0x4985[5]](),controller[_0x4985[13]]);router[_0x4985[15]](_0x4985[4],auth[_0x4985[5]](),controller[_0x4985[14]]);router[_0x4985[15]](_0x4985[16],auth[_0x4985[5]](),controller[_0x4985[17]]);router[_0x4985[15]](_0x4985[12],auth[_0x4985[5]](),controller[_0x4985[18]]);router[_0x4985[20]](_0x4985[10],auth[_0x4985[5]](),controller[_0x4985[19]]);router[_0x4985[22]](_0x4985[4],auth[_0x4985[5]](),controller[_0x4985[21]]);router[_0x4985[22]](_0x4985[10],auth[_0x4985[5]](),controller[_0x4985[23]]);router[_0x4985[22]](_0x4985[12],auth[_0x4985[5]](),controller[_0x4985[24]]);module[_0x4985[25]]=router;
\ No newline at end of file
+var _0xe2d8=["\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","\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"];_0xe2d8[0];var express=require(_0xe2d8[1]);var controller=require(_0xe2d8[2]);var auth=require(_0xe2d8[3]);var router=express.Router();router[_0xe2d8[7]](_0xe2d8[4],auth[_0xe2d8[5]](),controller[_0xe2d8[6]]);router[_0xe2d8[7]](_0xe2d8[8],auth[_0xe2d8[5]](),controller[_0xe2d8[9]]);router[_0xe2d8[7]](_0xe2d8[10],auth[_0xe2d8[5]](),controller[_0xe2d8[11]]);router[_0xe2d8[7]](_0xe2d8[12],auth[_0xe2d8[5]](),controller[_0xe2d8[13]]);router[_0xe2d8[15]](_0xe2d8[4],auth[_0xe2d8[5]](),controller[_0xe2d8[14]]);router[_0xe2d8[15]](_0xe2d8[16],auth[_0xe2d8[5]](),controller[_0xe2d8[17]]);router[_0xe2d8[15]](_0xe2d8[12],auth[_0xe2d8[5]](),controller[_0xe2d8[18]]);router[_0xe2d8[20]](_0xe2d8[10],auth[_0xe2d8[5]](),controller[_0xe2d8[19]]);router[_0xe2d8[22]](_0xe2d8[4],auth[_0xe2d8[5]](),controller[_0xe2d8[21]]);router[_0xe2d8[22]](_0xe2d8[10],auth[_0xe2d8[5]](),controller[_0xe2d8[23]]);router[_0xe2d8[22]](_0xe2d8[12],auth[_0xe2d8[5]](),controller[_0xe2d8[24]]);module[_0xe2d8[25]]=router;
\ No newline at end of file
index c21acdc..a8173e4 100644 (file)
@@ -1 +1 @@
-var _0x99e3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\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","\x66\x73","\x72\x65\x6D\x6F\x76\x65","\x55\x70\x6C\x6F\x61\x64","\x66\x73\x2D\x65\x78\x74\x72\x61","\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","\x75\x74\x69\x6C","\x66\x69\x6C\x65\x2D\x62\x61\x73\x65\x36\x34","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x69\x72\x65\x63\x74\x6F\x72\x79","\x73\x6F\x72\x74","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\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","\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","\x61\x64\x64\x46\x69\x6C\x65\x73","\x6C\x6F\x67","\x72\x6F\x6F\x74","\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","\x6A\x6F\x69\x6E","\x64\x69\x73\x70\x6C\x61\x79\x5F\x6E\x61\x6D\x65","\x2E\x77\x61\x76","\x73\x61\x76\x65\x5F\x6E\x61\x6D\x65","\x63\x6F\x70\x79\x53\x79\x6E\x63","\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","\x63\x72\x65\x61\x74\x65","\x74\x68\x61\x74\x65\x72\x72\x6F\x72","\x46\x69\x6E\x64\x69\x6E\x67\x20\x61\x70\x70\x20\x72\x6F\x77\x2E\x2E\x2E\x2E\x2E","\x65\x72\x72\x6F\x72\x31","\x6C\x65\x6E\x67\x74\x68","\x65\x72\x72\x6F\x72\x32","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x4D\x4F\x48","\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","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x73\x74\x72\x65\x61\x6D","\x65\x6E\x63\x6F\x64\x65"];_0x99e3[0];var _=require(_0x99e3[1]);var VoiceMusicOnHold=require(_0x99e3[3])[_0x99e3[2]];var fs=require(_0x99e3[4]);var remove=require(_0x99e3[5]);var Upload=require(_0x99e3[3])[_0x99e3[6]];var fse=require(_0x99e3[7]);var path=require(_0x99e3[8]);var config=require(_0x99e3[9]);var sequelize=require(_0x99e3[3])[_0x99e3[10]];var util=require(_0x99e3[11]);var base64=require(_0x99e3[12]);exports[_0x99e3[13]]=function(_0x6be3xc,_0x6be3xd){var _0x6be3xe=[_0x99e3[14],_0x99e3[15],_0x99e3[16],_0x99e3[17]];var _0x6be3xf=_0x6be3xc[_0x99e3[19]][_0x99e3[18]]?parseInt(_0x6be3xc[_0x99e3[19]][_0x99e3[18]],10):100;var _0x6be3x10=_0x6be3xc[_0x99e3[19]][_0x99e3[20]]?parseInt(_0x6be3xc[_0x99e3[19]][_0x99e3[20]],10):0;var _0x6be3x11={where:{},limit:_0x6be3xf,offset:_0x6be3x10*_0x6be3xf};_[_0x99e3[34]](_0x6be3xc[_0x99e3[19]],function(_0x6be3x12,_0x6be3x13){switch(_0x6be3x13){case _0x99e3[18]:;case _0x99e3[20]:break ;;case _0x99e3[23]:_0x6be3x11[_0x99e3[21]]=util[_0x99e3[26]](_0x99e3[22],_0x6be3xc[_0x99e3[19]][_0x99e3[23]],_0x6be3xc[_0x99e3[19]][_0x99e3[24]]||_0x99e3[25])||null;break ;;case _0x99e3[24]:break ;;case _0x99e3[32]:_0x6be3x11[_0x99e3[28]][_0x99e3[27]]=[];_0x6be3xe[_0x99e3[31]](function(_0x6be3x14){var _0x6be3x15={};_0x6be3x15[_0x6be3x14]={$like:_0x99e3[29]+_0x6be3x12+_0x99e3[29]};_0x6be3x11[_0x99e3[28]][_0x99e3[27]][_0x99e3[30]](_0x6be3x15);});break ;;default:_0x6be3x11[_0x99e3[28]][_0x6be3x13]={$like:{}};_0x6be3x11[_0x99e3[28]][_0x6be3x13][_0x99e3[33]]=_0x99e3[29]+_0x6be3x12+_0x99e3[29];;}});VoiceMusicOnHold[_0x99e3[48]](_0x6be3x11)[_0x99e3[47]](function(_0x6be3x17){var _0x6be3x18=Math[_0x99e3[37]](_0x6be3x17[_0x99e3[36]]/_0x6be3xf);var _0x6be3x19=_0x6be3x18>(_0x6be3x11[_0x99e3[38]]+1)?util[_0x99e3[26]](_0x99e3[39],_0x6be3xc[_0x99e3[40]],_0x6be3xc[_0x99e3[42]][_0x99e3[41]],_0x6be3xc[_0x99e3[43]],_0x6be3x10+1):null;var _0x6be3x1a=_0x6be3x10>0?util[_0x99e3[26]](_0x99e3[39],_0x6be3xc[_0x99e3[40]],_0x6be3xc[_0x99e3[42]][_0x99e3[41]],_0x6be3xc[_0x99e3[43]],_0x6be3x10-1):null;_0x6be3xd[_0x99e3[46]](200)[_0x99e3[45]]({count:_0x6be3x17[_0x99e3[36]],rows:_0x6be3x17[_0x99e3[44]],next_page:_0x6be3x19,previous_page:_0x6be3x1a,total_pages:_0x6be3x18});})[_0x99e3[35]](function(_0x6be3x16){return handleError(_0x6be3xd,_0x6be3x16)});};exports[_0x99e3[49]]=function(_0x6be3xc,_0x6be3xd){VoiceMusicOnHold[_0x99e3[53]](_0x6be3xc[_0x99e3[52]][_0x99e3[51]])[_0x99e3[47]](function(_0x6be3x1b){if(!_0x6be3x1b){return _0x6be3xd[_0x99e3[50]](404)};return _0x6be3xd[_0x99e3[45]](_0x6be3x1b);})[_0x99e3[35]](function(_0x6be3x16){return handleError(_0x6be3xd,_0x6be3x16)})};exports[_0x99e3[54]]=function(_0x6be3xc,_0x6be3xd){VoiceMusicOnHold[_0x99e3[53]](_0x6be3xc[_0x99e3[52]][_0x99e3[51]])[_0x99e3[47]](function(_0x6be3x1b){if(!_0x6be3x1b){return _0x6be3xd[_0x99e3[50]](404)};Upload[_0x99e3[67]]({where:{id:_0x6be3xc[_0x99e3[66]][_0x99e3[65]]}})[_0x99e3[47]](function(_0x6be3x1c){var _0x6be3x1d=path[_0x99e3[58]](config[_0x99e3[56]],_0x99e3[57]);var _0x6be3x1e;_0x6be3x1c[_0x99e3[31]](function(_0x6be3x1f){_0x6be3x1e=path[_0x99e3[58]](_0x6be3x1b[_0x99e3[15]],_0x6be3x1f[_0x99e3[59]]+_0x99e3[60]);fse[_0x99e3[62]](path[_0x99e3[58]](_0x6be3x1d,_0x6be3x1f[_0x99e3[61]]+_0x99e3[60]),_0x6be3x1e);});fs[_0x99e3[64]](_0x6be3x1e,parseInt(_0x99e3[63],8));_0x6be3xd[_0x99e3[50]](200);})[_0x99e3[35]](function(_0x6be3x16){console[_0x99e3[55]](_0x6be3x16);return handleError(_0x6be3xd,_0x6be3x16);});})[_0x99e3[35]](function(_0x6be3x16){return handleError(_0x6be3xd,_0x6be3x16)})};exports[_0x99e3[68]]=function(_0x6be3xc,_0x6be3xd){var _0x6be3x20={};VoiceMusicOnHold[_0x99e3[53]](_0x6be3xc[_0x99e3[52]][_0x99e3[51]])[_0x99e3[47]](function(_0x6be3x1b){if(!_0x6be3x1b){return _0x6be3xd[_0x99e3[50]](404)};_0x6be3x20[_0x99e3[8]]=_0x6be3x1b[_0x99e3[15]];fs[_0x99e3[70]](_0x6be3x1b[_0x99e3[15]],function(_0x6be3x16,_0x6be3x21){if(!_0x6be3x16){_0x6be3x20[_0x99e3[69]]=_0x6be3x21;return _0x6be3xd[_0x99e3[45]](_0x6be3x20);}else {throw _0x6be3x16}});})[_0x99e3[35]](function(_0x6be3x16){return handleError(_0x6be3xd,_0x6be3x16)});};exports[_0x99e3[71]]=function(_0x6be3xc,_0x6be3xd){VoiceMusicOnHold[_0x99e3[53]](_0x6be3xc[_0x99e3[52]][_0x99e3[51]])[_0x99e3[47]](function(_0x6be3x1b){if(!_0x6be3x1b){return _0x6be3xd[_0x99e3[50]](404)};var _0x6be3x22=_0x6be3x1b[_0x99e3[15]]+_0x99e3[72]+_0x6be3xc[_0x99e3[19]][_0x99e3[73]];fs[_0x99e3[74]](_0x6be3x22,function(_0x6be3x16){if(_0x6be3x16){return handleError(_0x6be3xd,_0x6be3x16)}else {return _0x6be3xd[_0x99e3[50]](204)}});})[_0x99e3[35]](function(_0x6be3x16){return handleError(_0x6be3xd,_0x6be3x16)})};exports[_0x99e3[75]]=function(_0x6be3xc,_0x6be3xd){console[_0x99e3[55]](_0x6be3xc[_0x99e3[66]]);VoiceMusicOnHold[_0x99e3[67]]({where:{name:_0x6be3xc[_0x99e3[66]][_0x99e3[14]]}})[_0x99e3[47]](function(_0x6be3x23){if(!_0x6be3x23){return _0x6be3xd[_0x99e3[50]](404)};return _0x6be3xd[_0x99e3[45]](_0x6be3x23);})[_0x99e3[35]](function(_0x6be3x16){return handleError(_0x6be3xd,_0x6be3x16)});};exports[_0x99e3[76]]=function(_0x6be3xc,_0x6be3xd){VoiceMusicOnHold[_0x99e3[67]]({where:{name:_0x6be3xc[_0x99e3[66]][_0x99e3[14]]}})[_0x99e3[47]](function(_0x6be3x24){console[_0x99e3[55]](_0x6be3x24);console[_0x99e3[55]](_0x99e3[78]);if(!_0x6be3x24){console[_0x99e3[55]](_0x99e3[79]);return _0x6be3xd[_0x99e3[50]](404);};if(_0x6be3x24[_0x99e3[80]]>0){console[_0x99e3[55]](_0x99e3[81]);return _0x6be3xd[_0x99e3[46]](500)[_0x99e3[45]]({message:_0x99e3[82]});};return sequelize[_0x99e3[90]]()[_0x99e3[47]](function(_0x6be3x25){_0x6be3xc[_0x99e3[66]][_0x99e3[15]]=path[_0x99e3[58]](config[_0x99e3[56]],_0x99e3[83],_0x6be3xc[_0x99e3[66]][_0x99e3[14]]);return VoiceMusicOnHold[_0x99e3[76]](_0x6be3xc[_0x99e3[66]],{transaction:_0x6be3x25})[_0x99e3[47]](function(_0x6be3x1b){fs[_0x99e3[89]](_0x6be3x1b[_0x99e3[15]],parseInt(_0x99e3[63],8),function(_0x6be3x16){if(_0x6be3x16){console[_0x99e3[55]](_0x99e3[85]);_0x6be3x25[_0x99e3[84]]();return _0x6be3xd[_0x99e3[46]](500)[_0x99e3[45]]({message:_0x99e3[86]});};_0x6be3x25[_0x99e3[87]]();console[_0x99e3[55]](_0x99e3[88]);return _0x6be3xd[_0x99e3[46]](201)[_0x99e3[45]](_0x6be3x1b);})})[_0x99e3[35]](function(_0x6be3x16){_0x6be3x25[_0x99e3[84]]()});});})[_0x99e3[35]](function(_0x6be3x16){console[_0x99e3[55]](_0x99e3[77]);return handleError(_0x6be3xd,_0x6be3x16);})};exports[_0x99e3[91]]=function(_0x6be3xc,_0x6be3xd){if(_0x6be3xc[_0x99e3[66]][_0x99e3[51]]){delete _0x6be3xc[_0x99e3[66]][_0x99e3[51]]};VoiceMusicOnHold[_0x99e3[94]]({where:{id:_0x6be3xc[_0x99e3[52]][_0x99e3[51]]}})[_0x99e3[47]](function(_0x6be3x1b){if(!_0x6be3x1b){return _0x6be3xd[_0x99e3[50]](404)};var _0x6be3x26=_[_0x99e3[92]](_0x6be3x1b,_0x6be3xc[_0x99e3[66]]);_0x6be3x26[_0x99e3[93]]()[_0x99e3[47]](function(){return _0x6be3xd[_0x99e3[46]](200)[_0x99e3[45]](_0x6be3x1b)})[_0x99e3[35]](function(_0x6be3x16){return handleError(_0x6be3xd,_0x6be3x16)});})[_0x99e3[35]](function(_0x6be3x16){return handleError(_0x6be3xd,_0x6be3x16)});};exports[_0x99e3[95]]=function(_0x6be3xc,_0x6be3xd){VoiceMusicOnHold[_0x99e3[53]](_0x6be3xc[_0x99e3[52]][_0x99e3[51]])[_0x99e3[47]](function(_0x6be3x1b){if(!_0x6be3x1b){return _0x6be3xd[_0x99e3[50]](404)};return sequelize[_0x99e3[90]](function(_0x6be3x25){return _0x6be3x1b[_0x99e3[95]]({transaction:_0x6be3x25})[_0x99e3[47]](function(){remove(_0x6be3x1b[_0x99e3[15]],function(_0x6be3x16){if(_0x6be3x16){console[_0x99e3[55]](_0x6be3x16)};return _0x6be3xd[_0x99e3[50]](204);})})})[_0x99e3[35]](function(_0x6be3x16){return handleError(_0x6be3xd,_0x6be3x16)});})[_0x99e3[35]](function(_0x6be3x16){return handleError(_0x6be3xd,_0x6be3x16)})};exports[_0x99e3[96]]=function(_0x6be3xc,_0x6be3xd){VoiceMusicOnHold[_0x99e3[67]]({where:{id:_0x6be3xc[_0x99e3[19]][_0x99e3[51]]}})[_0x99e3[47]](function(_0x6be3x27){if(!_0x6be3x27){return _0x6be3xd[_0x99e3[50]](404)};return sequelize[_0x99e3[90]](function(_0x6be3x25){_0x6be3x27[_0x99e3[31]](function(_0x6be3x28){return _0x6be3x28[_0x99e3[95]]({transaction:_0x6be3x25})[_0x99e3[47]](function(){remove(_0x6be3x28[_0x99e3[15]],function(_0x6be3x16){if(_0x6be3x16){console[_0x99e3[55]](_0x6be3x16);throw _0x6be3x16;}})})})})[_0x99e3[47]](function(){return _0x6be3xd[_0x99e3[50]](204)})[_0x99e3[35]](function(_0x6be3x16){console[_0x99e3[55]](_0x6be3x16);return handleError(_0x6be3xd,_0x6be3x16);});})[_0x99e3[35]](function(_0x6be3x16){return handleError(_0x6be3xd,_0x6be3x16)})};exports[_0x99e3[97]]=function(_0x6be3xc,_0x6be3xd){var _0x6be3x29=decodeURI(_0x6be3xc[_0x99e3[19]][_0x99e3[8]]);base64[_0x99e3[98]](_0x6be3x29,function(_0x6be3x16,_0x6be3x2a){if(_0x6be3x16){return handleError(_0x6be3xd,_0x6be3x16)}else {return _0x6be3xd[_0x99e3[46]](200)[_0x99e3[45]](_0x6be3x2a)}});};function handleError(_0x6be3xd,_0x6be3x16){return _0x6be3xd[_0x99e3[46]](500)[_0x99e3[45]](_0x6be3x16)}
\ No newline at end of file
+var _0xe870=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\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","\x66\x73","\x72\x65\x6D\x6F\x76\x65","\x55\x70\x6C\x6F\x61\x64","\x66\x73\x2D\x65\x78\x74\x72\x61","\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","\x75\x74\x69\x6C","\x66\x69\x6C\x65\x2D\x62\x61\x73\x65\x36\x34","\x69\x6E\x64\x65\x78","\x6E\x61\x6D\x65","\x64\x69\x72\x65\x63\x74\x6F\x72\x79","\x73\x6F\x72\x74","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\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","\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","\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","\x61\x64\x64\x46\x69\x6C\x65\x73","\x6C\x6F\x67","\x72\x6F\x6F\x74","\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","\x6A\x6F\x69\x6E","\x64\x69\x73\x70\x6C\x61\x79\x5F\x6E\x61\x6D\x65","\x2E\x77\x61\x76","\x73\x61\x76\x65\x5F\x6E\x61\x6D\x65","\x63\x6F\x70\x79\x53\x79\x6E\x63","\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","\x63\x72\x65\x61\x74\x65","\x74\x68\x61\x74\x65\x72\x72\x6F\x72","\x46\x69\x6E\x64\x69\x6E\x67\x20\x61\x70\x70\x20\x72\x6F\x77\x2E\x2E\x2E\x2E\x2E","\x65\x72\x72\x6F\x72\x31","\x6C\x65\x6E\x67\x74\x68","\x65\x72\x72\x6F\x72\x32","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x4D\x4F\x48","\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","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x73\x74\x72\x65\x61\x6D","\x65\x6E\x63\x6F\x64\x65"];_0xe870[0];var _=require(_0xe870[1]);var VoiceMusicOnHold=require(_0xe870[3])[_0xe870[2]];var fs=require(_0xe870[4]);var remove=require(_0xe870[5]);var Upload=require(_0xe870[3])[_0xe870[6]];var fse=require(_0xe870[7]);var path=require(_0xe870[8]);var config=require(_0xe870[9]);var sequelize=require(_0xe870[3])[_0xe870[10]];var util=require(_0xe870[11]);var base64=require(_0xe870[12]);exports[_0xe870[13]]=function(_0x84bexc,_0x84bexd){var _0x84bexe=[_0xe870[14],_0xe870[15],_0xe870[16],_0xe870[17]];var _0x84bexf=_0x84bexc[_0xe870[19]][_0xe870[18]]?parseInt(_0x84bexc[_0xe870[19]][_0xe870[18]],10):100;var _0x84bex10=_0x84bexc[_0xe870[19]][_0xe870[20]]?parseInt(_0x84bexc[_0xe870[19]][_0xe870[20]],10):0;var _0x84bex11={where:{},limit:_0x84bexf,offset:_0x84bex10*_0x84bexf};_[_0xe870[34]](_0x84bexc[_0xe870[19]],function(_0x84bex12,_0x84bex13){switch(_0x84bex13){case _0xe870[18]:;case _0xe870[20]:break ;;case _0xe870[23]:_0x84bex11[_0xe870[21]]=util[_0xe870[26]](_0xe870[22],_0x84bexc[_0xe870[19]][_0xe870[23]],_0x84bexc[_0xe870[19]][_0xe870[24]]||_0xe870[25])||null;break ;;case _0xe870[24]:break ;;case _0xe870[32]:_0x84bex11[_0xe870[28]][_0xe870[27]]=[];_0x84bexe[_0xe870[31]](function(_0x84bex14){var _0x84bex15={};_0x84bex15[_0x84bex14]={$like:_0xe870[29]+_0x84bex12+_0xe870[29]};_0x84bex11[_0xe870[28]][_0xe870[27]][_0xe870[30]](_0x84bex15);});break ;;default:_0x84bex11[_0xe870[28]][_0x84bex13]={$like:{}};_0x84bex11[_0xe870[28]][_0x84bex13][_0xe870[33]]=_0xe870[29]+_0x84bex12+_0xe870[29];;}});VoiceMusicOnHold[_0xe870[48]](_0x84bex11)[_0xe870[47]](function(_0x84bex17){var _0x84bex18=Math[_0xe870[37]](_0x84bex17[_0xe870[36]]/_0x84bexf);var _0x84bex19=_0x84bex18>(_0x84bex11[_0xe870[38]]+1)?util[_0xe870[26]](_0xe870[39],_0x84bexc[_0xe870[40]],_0x84bexc[_0xe870[42]][_0xe870[41]],_0x84bexc[_0xe870[43]],_0x84bex10+1):null;var _0x84bex1a=_0x84bex10>0?util[_0xe870[26]](_0xe870[39],_0x84bexc[_0xe870[40]],_0x84bexc[_0xe870[42]][_0xe870[41]],_0x84bexc[_0xe870[43]],_0x84bex10-1):null;_0x84bexd[_0xe870[46]](200)[_0xe870[45]]({count:_0x84bex17[_0xe870[36]],rows:_0x84bex17[_0xe870[44]],next_page:_0x84bex19,previous_page:_0x84bex1a,total_pages:_0x84bex18});})[_0xe870[35]](function(_0x84bex16){return handleError(_0x84bexd,_0x84bex16)});};exports[_0xe870[49]]=function(_0x84bexc,_0x84bexd){VoiceMusicOnHold[_0xe870[53]](_0x84bexc[_0xe870[52]][_0xe870[51]])[_0xe870[47]](function(_0x84bex1b){if(!_0x84bex1b){return _0x84bexd[_0xe870[50]](404)};return _0x84bexd[_0xe870[45]](_0x84bex1b);})[_0xe870[35]](function(_0x84bex16){return handleError(_0x84bexd,_0x84bex16)})};exports[_0xe870[54]]=function(_0x84bexc,_0x84bexd){VoiceMusicOnHold[_0xe870[53]](_0x84bexc[_0xe870[52]][_0xe870[51]])[_0xe870[47]](function(_0x84bex1b){if(!_0x84bex1b){return _0x84bexd[_0xe870[50]](404)};Upload[_0xe870[67]]({where:{id:_0x84bexc[_0xe870[66]][_0xe870[65]]}})[_0xe870[47]](function(_0x84bex1c){var _0x84bex1d=path[_0xe870[58]](config[_0xe870[56]],_0xe870[57]);var _0x84bex1e;_0x84bex1c[_0xe870[31]](function(_0x84bex1f){_0x84bex1e=path[_0xe870[58]](_0x84bex1b[_0xe870[15]],_0x84bex1f[_0xe870[59]]+_0xe870[60]);fse[_0xe870[62]](path[_0xe870[58]](_0x84bex1d,_0x84bex1f[_0xe870[61]]+_0xe870[60]),_0x84bex1e);});fs[_0xe870[64]](_0x84bex1e,parseInt(_0xe870[63],8));_0x84bexd[_0xe870[50]](200);})[_0xe870[35]](function(_0x84bex16){console[_0xe870[55]](_0x84bex16);return handleError(_0x84bexd,_0x84bex16);});})[_0xe870[35]](function(_0x84bex16){return handleError(_0x84bexd,_0x84bex16)})};exports[_0xe870[68]]=function(_0x84bexc,_0x84bexd){var _0x84bex20={};VoiceMusicOnHold[_0xe870[53]](_0x84bexc[_0xe870[52]][_0xe870[51]])[_0xe870[47]](function(_0x84bex1b){if(!_0x84bex1b){return _0x84bexd[_0xe870[50]](404)};_0x84bex20[_0xe870[8]]=_0x84bex1b[_0xe870[15]];fs[_0xe870[70]](_0x84bex1b[_0xe870[15]],function(_0x84bex16,_0x84bex21){if(!_0x84bex16){_0x84bex20[_0xe870[69]]=_0x84bex21;return _0x84bexd[_0xe870[45]](_0x84bex20);}else {throw _0x84bex16}});})[_0xe870[35]](function(_0x84bex16){return handleError(_0x84bexd,_0x84bex16)});};exports[_0xe870[71]]=function(_0x84bexc,_0x84bexd){VoiceMusicOnHold[_0xe870[53]](_0x84bexc[_0xe870[52]][_0xe870[51]])[_0xe870[47]](function(_0x84bex1b){if(!_0x84bex1b){return _0x84bexd[_0xe870[50]](404)};var _0x84bex22=_0x84bex1b[_0xe870[15]]+_0xe870[72]+_0x84bexc[_0xe870[19]][_0xe870[73]];fs[_0xe870[74]](_0x84bex22,function(_0x84bex16){if(_0x84bex16){return handleError(_0x84bexd,_0x84bex16)}else {return _0x84bexd[_0xe870[50]](204)}});})[_0xe870[35]](function(_0x84bex16){return handleError(_0x84bexd,_0x84bex16)})};exports[_0xe870[75]]=function(_0x84bexc,_0x84bexd){console[_0xe870[55]](_0x84bexc[_0xe870[66]]);VoiceMusicOnHold[_0xe870[67]]({where:{name:_0x84bexc[_0xe870[66]][_0xe870[14]]}})[_0xe870[47]](function(_0x84bex23){if(!_0x84bex23){return _0x84bexd[_0xe870[50]](404)};return _0x84bexd[_0xe870[45]](_0x84bex23);})[_0xe870[35]](function(_0x84bex16){return handleError(_0x84bexd,_0x84bex16)});};exports[_0xe870[76]]=function(_0x84bexc,_0x84bexd){VoiceMusicOnHold[_0xe870[67]]({where:{name:_0x84bexc[_0xe870[66]][_0xe870[14]]}})[_0xe870[47]](function(_0x84bex24){console[_0xe870[55]](_0x84bex24);console[_0xe870[55]](_0xe870[78]);if(!_0x84bex24){console[_0xe870[55]](_0xe870[79]);return _0x84bexd[_0xe870[50]](404);};if(_0x84bex24[_0xe870[80]]>0){console[_0xe870[55]](_0xe870[81]);return _0x84bexd[_0xe870[46]](500)[_0xe870[45]]({message:_0xe870[82]});};return sequelize[_0xe870[90]]()[_0xe870[47]](function(_0x84bex25){_0x84bexc[_0xe870[66]][_0xe870[15]]=path[_0xe870[58]](config[_0xe870[56]],_0xe870[83],_0x84bexc[_0xe870[66]][_0xe870[14]]);return VoiceMusicOnHold[_0xe870[76]](_0x84bexc[_0xe870[66]],{transaction:_0x84bex25})[_0xe870[47]](function(_0x84bex1b){fs[_0xe870[89]](_0x84bex1b[_0xe870[15]],parseInt(_0xe870[63],8),function(_0x84bex16){if(_0x84bex16){console[_0xe870[55]](_0xe870[85]);_0x84bex25[_0xe870[84]]();return _0x84bexd[_0xe870[46]](500)[_0xe870[45]]({message:_0xe870[86]});};_0x84bex25[_0xe870[87]]();console[_0xe870[55]](_0xe870[88]);return _0x84bexd[_0xe870[46]](201)[_0xe870[45]](_0x84bex1b);})})[_0xe870[35]](function(_0x84bex16){_0x84bex25[_0xe870[84]]()});});})[_0xe870[35]](function(_0x84bex16){console[_0xe870[55]](_0xe870[77]);return handleError(_0x84bexd,_0x84bex16);})};exports[_0xe870[91]]=function(_0x84bexc,_0x84bexd){if(_0x84bexc[_0xe870[66]][_0xe870[51]]){delete _0x84bexc[_0xe870[66]][_0xe870[51]]};VoiceMusicOnHold[_0xe870[94]]({where:{id:_0x84bexc[_0xe870[52]][_0xe870[51]]}})[_0xe870[47]](function(_0x84bex1b){if(!_0x84bex1b){return _0x84bexd[_0xe870[50]](404)};var _0x84bex26=_[_0xe870[92]](_0x84bex1b,_0x84bexc[_0xe870[66]]);_0x84bex26[_0xe870[93]]()[_0xe870[47]](function(){return _0x84bexd[_0xe870[46]](200)[_0xe870[45]](_0x84bex1b)})[_0xe870[35]](function(_0x84bex16){return handleError(_0x84bexd,_0x84bex16)});})[_0xe870[35]](function(_0x84bex16){return handleError(_0x84bexd,_0x84bex16)});};exports[_0xe870[95]]=function(_0x84bexc,_0x84bexd){VoiceMusicOnHold[_0xe870[53]](_0x84bexc[_0xe870[52]][_0xe870[51]])[_0xe870[47]](function(_0x84bex1b){if(!_0x84bex1b){return _0x84bexd[_0xe870[50]](404)};return sequelize[_0xe870[90]](function(_0x84bex25){return _0x84bex1b[_0xe870[95]]({transaction:_0x84bex25})[_0xe870[47]](function(){remove(_0x84bex1b[_0xe870[15]],function(_0x84bex16){if(_0x84bex16){console[_0xe870[55]](_0x84bex16)};return _0x84bexd[_0xe870[50]](204);})})})[_0xe870[35]](function(_0x84bex16){return handleError(_0x84bexd,_0x84bex16)});})[_0xe870[35]](function(_0x84bex16){return handleError(_0x84bexd,_0x84bex16)})};exports[_0xe870[96]]=function(_0x84bexc,_0x84bexd){VoiceMusicOnHold[_0xe870[67]]({where:{id:_0x84bexc[_0xe870[19]][_0xe870[51]]}})[_0xe870[47]](function(_0x84bex27){if(!_0x84bex27){return _0x84bexd[_0xe870[50]](404)};return sequelize[_0xe870[90]](function(_0x84bex25){_0x84bex27[_0xe870[31]](function(_0x84bex28){return _0x84bex28[_0xe870[95]]({transaction:_0x84bex25})[_0xe870[47]](function(){remove(_0x84bex28[_0xe870[15]],function(_0x84bex16){if(_0x84bex16){console[_0xe870[55]](_0x84bex16);throw _0x84bex16;}})})})})[_0xe870[47]](function(){return _0x84bexd[_0xe870[50]](204)})[_0xe870[35]](function(_0x84bex16){console[_0xe870[55]](_0x84bex16);return handleError(_0x84bexd,_0x84bex16);});})[_0xe870[35]](function(_0x84bex16){return handleError(_0x84bexd,_0x84bex16)})};exports[_0xe870[97]]=function(_0x84bexc,_0x84bexd){var _0x84bex29=decodeURI(_0x84bexc[_0xe870[19]][_0xe870[8]]);base64[_0xe870[98]](_0x84bex29,function(_0x84bex16,_0x84bex2a){if(_0x84bex16){return handleError(_0x84bexd,_0x84bex16)}else {return _0x84bexd[_0xe870[46]](200)[_0xe870[45]](_0x84bex2a)}});};function handleError(_0x84bexd,_0x84bex16){return _0x84bexd[_0xe870[46]](500)[_0xe870[45]](_0x84bex16)}
\ No newline at end of file
index f89b405..dfae1e7 100644 (file)
@@ -1 +1 @@
-var _0xc4ca=["\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"];_0xc4ca[0];var VoiceMusicOnHold=require(_0xc4ca[2])[_0xc4ca[1]];exports[_0xc4ca[3]]=function(_0x1a09x2){VoiceMusicOnHold[_0xc4ca[4]](function(_0x1a09x3){onSave(_0x1a09x2,_0x1a09x3)});VoiceMusicOnHold[_0xc4ca[5]](function(_0x1a09x3){onRemove(_0x1a09x2,_0x1a09x3)});};function onSave(_0x1a09x2,_0x1a09x3,_0x1a09x5){_0x1a09x2[_0xc4ca[7]](_0xc4ca[6],_0x1a09x3)}function onRemove(_0x1a09x2,_0x1a09x3,_0x1a09x5){_0x1a09x2[_0xc4ca[7]](_0xc4ca[8],_0x1a09x3)}
\ No newline at end of file
+var _0xb4a6=["\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"];_0xb4a6[0];var VoiceMusicOnHold=require(_0xb4a6[2])[_0xb4a6[1]];exports[_0xb4a6[3]]=function(_0x3649x2){VoiceMusicOnHold[_0xb4a6[4]](function(_0x3649x3){onSave(_0x3649x2,_0x3649x3)});VoiceMusicOnHold[_0xb4a6[5]](function(_0x3649x3){onRemove(_0x3649x2,_0x3649x3)});};function onSave(_0x3649x2,_0x3649x3,_0x3649x5){_0x3649x2[_0xb4a6[7]](_0xb4a6[6],_0x3649x3)}function onRemove(_0x3649x2,_0x3649x3,_0x3649x5){_0x3649x2[_0xb4a6[7]](_0xb4a6[8],_0x3649x3)}
\ No newline at end of file
index 5c0d93e..66fb285 100644 (file)
@@ -1 +1 @@
-var _0xa1fa=["\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\x76\x6F\x69\x63\x65\x2F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64","\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\x76\x6F\x69\x63\x65\x2F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64","\x67\x65\x74"];_0xa1fa[0];var should=require(_0xa1fa[1]);var app=require(_0xa1fa[2]);var request=require(_0xa1fa[3]);describe(_0xa1fa[4],function(){it(_0xa1fa[5],function(_0xc5e1x4){request(app)[_0xa1fa[13]](_0xa1fa[12])[_0xa1fa[11]](200)[_0xa1fa[11]](_0xa1fa[10],/json/)[_0xa1fa[9]](function(_0xc5e1x5,_0xc5e1x6){if(_0xc5e1x5){return _0xc5e1x4(_0xc5e1x5)};_0xc5e1x6[_0xa1fa[8]][_0xa1fa[1]][_0xa1fa[7]][_0xa1fa[6]](Array);_0xc5e1x4();})})});
\ No newline at end of file
+var _0x1fb4=["\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\x76\x6F\x69\x63\x65\x2F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64","\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\x76\x6F\x69\x63\x65\x2F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64","\x67\x65\x74"];_0x1fb4[0];var should=require(_0x1fb4[1]);var app=require(_0x1fb4[2]);var request=require(_0x1fb4[3]);describe(_0x1fb4[4],function(){it(_0x1fb4[5],function(_0x7adfx4){request(app)[_0x1fb4[13]](_0x1fb4[12])[_0x1fb4[11]](200)[_0x1fb4[11]](_0x1fb4[10],/json/)[_0x1fb4[9]](function(_0x7adfx5,_0x7adfx6){if(_0x7adfx5){return _0x7adfx4(_0x7adfx5)};_0x7adfx6[_0x1fb4[8]][_0x1fb4[1]][_0x1fb4[7]][_0x1fb4[6]](Array);_0x7adfx4();})})});
\ No newline at end of file
index 1c0f003..b37d484 100644 (file)
@@ -1 +1 @@
-var _0x2e65=["\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","\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","\x71\x75\x65\x75\x65\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x2F\x3A\x6E\x61\x6D\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x2e65[0];var express=require(_0x2e65[1]);var controller=require(_0x2e65[2]);var auth=require(_0x2e65[3]);var router=express.Router();router[_0x2e65[7]](_0x2e65[4],auth[_0x2e65[5]](),controller[_0x2e65[6]]);router[_0x2e65[7]](_0x2e65[8],auth[_0x2e65[5]](),controller[_0x2e65[9]]);router[_0x2e65[11]](_0x2e65[4],auth[_0x2e65[5]](),controller[_0x2e65[10]]);router[_0x2e65[11]](_0x2e65[12],auth[_0x2e65[5]](),controller[_0x2e65[13]]);router[_0x2e65[11]](_0x2e65[14],auth[_0x2e65[5]](),controller[_0x2e65[15]]);router[_0x2e65[17]](_0x2e65[8],auth[_0x2e65[5]](),controller[_0x2e65[16]]);router[_0x2e65[17]](_0x2e65[14],auth[_0x2e65[5]](),controller[_0x2e65[18]]);router[_0x2e65[20]](_0x2e65[4],auth[_0x2e65[5]](),controller[_0x2e65[19]]);router[_0x2e65[20]](_0x2e65[21],auth[_0x2e65[5]](),controller[_0x2e65[22]]);module[_0x2e65[23]]=router;
\ No newline at end of file
+var _0x976b=["\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","\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","\x71\x75\x65\x75\x65\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x2F\x3A\x6E\x61\x6D\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x976b[0];var express=require(_0x976b[1]);var controller=require(_0x976b[2]);var auth=require(_0x976b[3]);var router=express.Router();router[_0x976b[7]](_0x976b[4],auth[_0x976b[5]](),controller[_0x976b[6]]);router[_0x976b[7]](_0x976b[8],auth[_0x976b[5]](),controller[_0x976b[9]]);router[_0x976b[11]](_0x976b[4],auth[_0x976b[5]](),controller[_0x976b[10]]);router[_0x976b[11]](_0x976b[12],auth[_0x976b[5]](),controller[_0x976b[13]]);router[_0x976b[11]](_0x976b[14],auth[_0x976b[5]](),controller[_0x976b[15]]);router[_0x976b[17]](_0x976b[8],auth[_0x976b[5]](),controller[_0x976b[16]]);router[_0x976b[17]](_0x976b[14],auth[_0x976b[5]](),controller[_0x976b[18]]);router[_0x976b[20]](_0x976b[4],auth[_0x976b[5]](),controller[_0x976b[19]]);router[_0x976b[20]](_0x976b[21],auth[_0x976b[5]](),controller[_0x976b[22]]);module[_0x976b[23]]=router;
\ No newline at end of file
index c69042d..5f86911 100644 (file)
@@ -1 +1 @@
-var _0x57b8=["\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","\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","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x73\x74\x72\x61\x74\x65\x67\x79","\x63\x6F\x6E\x74\x65\x78\x74","\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","\x63\x61\x74\x63\x68","\x63\x6F\x75\x6E\x74","\x6C\x6F\x67","\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","\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","\x71\x75\x65\x75\x65\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x46\x69\x6E\x64\x69\x6E\x67\x20\x61\x70\x70\x20\x72\x6F\x77\x2E\x2E\x2E\x2E\x2E","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x51\x55\x45\x55\x45","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x53\x49\x50\x2F\x25\x73","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72\x73","\x6E\x6F\x20\x6D\x61\x69\x6C\x20\x71\x75\x65\x75\x65\x20\x66\x6F\x75\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x4D\x45\x53\x53\x41\x47\x45\x5F\x51\x55\x45\x55\x45\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","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x70\x6C\x75\x63\x6B"];_0x57b8[0];var _=require(_0x57b8[1]);var util=require(_0x57b8[2]);var User=require(_0x57b8[4])[_0x57b8[3]];var VoiceQueue=require(_0x57b8[4])[_0x57b8[5]];var UserHasVoiceQueue=require(_0x57b8[4])[_0x57b8[6]];var VoiceExtension=require(_0x57b8[4])[_0x57b8[7]];exports[_0x57b8[8]]=function(_0x2550x7,_0x2550x8){var _0x2550x9=[_0x57b8[9],_0x57b8[10],_0x57b8[11],_0x57b8[12]];var _0x2550xa=_0x2550x7[_0x57b8[14]][_0x57b8[13]]?parseInt(_0x2550x7[_0x57b8[14]][_0x57b8[13]],10):100;var _0x2550xb=_0x2550x7[_0x57b8[14]][_0x57b8[15]]?parseInt(_0x2550x7[_0x57b8[14]][_0x57b8[15]],10):0;var _0x2550xc={where:{},limit:_0x2550xa,offset:_0x2550xb*_0x2550xa};_[_0x57b8[29]](_0x2550x7[_0x57b8[14]],function(_0x2550xd,_0x2550xe){switch(_0x2550xe){case _0x57b8[13]:;case _0x57b8[15]:break ;;case _0x57b8[18]:_0x2550xc[_0x57b8[16]]=util[_0x57b8[21]](_0x57b8[17],_0x2550x7[_0x57b8[14]][_0x57b8[18]],_0x2550x7[_0x57b8[14]][_0x57b8[19]]||_0x57b8[20])||null;break ;;case _0x57b8[19]:break ;;case _0x57b8[27]:_0x2550xc[_0x57b8[23]][_0x57b8[22]]=[];_0x2550x9[_0x57b8[26]](function(_0x2550xf){var _0x2550x10={};_0x2550x10[_0x2550xf]={$like:_0x57b8[24]+_0x2550xd+_0x57b8[24]};_0x2550xc[_0x57b8[23]][_0x57b8[22]][_0x57b8[25]](_0x2550x10);});break ;;default:_0x2550xc[_0x57b8[23]][_0x2550xe]={$like:{}};_0x2550xc[_0x57b8[23]][_0x2550xe][_0x57b8[28]]=_0x57b8[24]+_0x2550xd+_0x57b8[24];;}});VoiceQueue[_0x57b8[44]](_0x2550xc)[_0x57b8[43]](function(_0x2550x12){console[_0x57b8[32]](_0x2550x12[_0x57b8[31]]);var _0x2550x13=Math[_0x57b8[33]](_0x2550x12[_0x57b8[31]]/_0x2550xa);console[_0x57b8[32]](_0x2550x13);var _0x2550x14=_0x2550x13>(_0x2550xc[_0x57b8[34]]+1)?util[_0x57b8[21]](_0x57b8[35],_0x2550x7[_0x57b8[36]],_0x2550x7[_0x57b8[38]][_0x57b8[37]],_0x2550x7[_0x57b8[39]],_0x2550xb+1):null;var _0x2550x15=_0x2550xb>0?util[_0x57b8[21]](_0x57b8[35],_0x2550x7[_0x57b8[36]],_0x2550x7[_0x57b8[38]][_0x57b8[37]],_0x2550x7[_0x57b8[39]],_0x2550xb-1):null;_0x2550x8[_0x57b8[42]](200)[_0x57b8[41]]({count:_0x2550x12[_0x57b8[31]],rows:_0x2550x12[_0x57b8[40]],next_page:_0x2550x14,previous_page:_0x2550x15,total_pages:_0x2550x13});})[_0x57b8[30]](function(_0x2550x11){return handleError(_0x2550x8,_0x2550x11)});};exports[_0x57b8[45]]=function(_0x2550x7,_0x2550x8){VoiceQueue[_0x57b8[49]](_0x2550x7[_0x57b8[48]][_0x57b8[47]])[_0x57b8[43]](function(_0x2550x16){if(!_0x2550x16){return _0x2550x8[_0x57b8[46]](404)};return _0x2550x8[_0x57b8[41]](_0x2550x16);})[_0x57b8[30]](function(_0x2550x11){return handleError(_0x2550x8,_0x2550x11)})};exports[_0x57b8[50]]=function(_0x2550x7,_0x2550x8){console[_0x57b8[32]](_0x2550x7[_0x57b8[51]]);VoiceQueue[_0x57b8[52]]({where:{name:_0x2550x7[_0x57b8[51]][_0x57b8[9]]}})[_0x57b8[43]](function(_0x2550x16){if(!_0x2550x16){return _0x2550x8[_0x57b8[46]](404)};return _0x2550x8[_0x57b8[41]](_0x2550x16);})[_0x57b8[30]](function(_0x2550x11){return handleError(_0x2550x8,_0x2550x11)});};exports[_0x57b8[53]]=function(_0x2550x7,_0x2550x8){VoiceQueue[_0x57b8[52]]({where:{name:_0x2550x7[_0x57b8[51]][_0x57b8[9]]}})[_0x57b8[43]](function(_0x2550x17){console[_0x57b8[32]](_0x2550x17);console[_0x57b8[32]](_0x57b8[54]);if(!_0x2550x17){return _0x2550x8[_0x57b8[46]](404)};if(_0x2550x17[_0x57b8[55]]>0){return _0x2550x8[_0x57b8[42]](500)[_0x57b8[41]]({message:_0x57b8[56]})};VoiceQueue[_0x57b8[53]](_0x2550x7[_0x57b8[51]])[_0x57b8[43]](function(_0x2550x16){return _0x2550x8[_0x57b8[42]](201)[_0x57b8[41]](_0x2550x16)})[_0x57b8[30]](function(_0x2550x11){return handleError(_0x2550x8,_0x2550x11)});})[_0x57b8[30]](function(_0x2550x11){return handleError(_0x2550x8,_0x2550x11)})};exports[_0x57b8[57]]=function(_0x2550x7,_0x2550x8){VoiceQueue[_0x57b8[60]]({where:{name:_0x2550x7[_0x57b8[48]][_0x57b8[47]]}})[_0x57b8[43]](function(_0x2550x18){if(!_0x2550x18){return _0x2550x8[_0x57b8[46]](404)};if(_0x2550x7[_0x57b8[51]][_0x57b8[47]]){delete _0x2550x7[_0x57b8[51]][_0x57b8[47]]};var _0x2550x19=_[_0x57b8[58]](_0x2550x18,_0x2550x7[_0x57b8[51]]);_0x2550x19[_0x57b8[59]]()[_0x57b8[43]](function(){return _0x2550x8[_0x57b8[42]](200)[_0x57b8[41]](_0x2550x18)})[_0x57b8[30]](function(_0x2550x11){return handleError(_0x2550x8,_0x2550x11)});})[_0x57b8[30]](function(_0x2550x11){return handleError(_0x2550x8,_0x2550x11)})};exports[_0x57b8[61]]=function(_0x2550x7,_0x2550x8,_0x2550x1a){console[_0x57b8[32]](_0x57b8[61]);console[_0x57b8[32]](_0x2550x7[_0x57b8[48]]);console[_0x57b8[32]](_0x2550x7[_0x57b8[51]]);User[_0x57b8[52]]({where:{id:{$in:_0x2550x7[_0x57b8[51]][_0x57b8[65]]}}})[_0x57b8[43]](function(_0x2550x1b){var _0x2550x1c=_[_0x57b8[63]](_0x2550x1b,function(_0x2550x1d){return {queue:_0x2550x7[_0x57b8[48]][_0x57b8[47]],location:util[_0x57b8[21]](_0x57b8[62],_0x2550x1d[_0x57b8[9]]),membername:_0x2550x1d[_0x57b8[9]],VoiceQueueName:_0x2550x7[_0x57b8[48]][_0x57b8[47]],UserId:_0x2550x1d[_0x57b8[47]]}});UserHasVoiceQueue[_0x57b8[64]](_0x2550x1c,{individualHooks:true})[_0x57b8[43]](function(){return _0x2550x8[_0x57b8[46]](200)})[_0x57b8[30]](function(_0x2550x11){return _0x2550x1a(_0x2550x11)});})[_0x57b8[30]](function(_0x2550x11){return _0x2550x1a(_0x2550x11)});};exports[_0x57b8[66]]=function(_0x2550x7,_0x2550x8,_0x2550x1a){VoiceQueue[_0x57b8[60]]({where:{name:_0x2550x7[_0x57b8[48]][_0x57b8[47]]}})[_0x57b8[43]](function(_0x2550x18){if(_0x2550x18){_0x2550x18[_0x57b8[67]](_0x2550x7[_0x57b8[51]][_0x57b8[65]],{individualHooks:true})[_0x57b8[43]](function(){return _0x2550x8[_0x57b8[46]](200)})[_0x57b8[30]](function(_0x2550x11){return _0x2550x1a(_0x2550x11)})}else {return _0x2550x1a( new Error(_0x57b8[68]))}})[_0x57b8[30]](function(_0x2550x11){return _0x2550x1a(_0x2550x11)})};exports[_0x57b8[69]]=function(_0x2550x7,_0x2550x8){VoiceQueue[_0x57b8[60]]({where:{name:_0x2550x7[_0x57b8[48]][_0x57b8[9]]}})[_0x57b8[43]](function(_0x2550x16){if(!_0x2550x16){return _0x2550x8[_0x57b8[46]](404)};VoiceExtension[_0x57b8[52]]({where:{queue:_0x2550x16[_0x57b8[9]]}})[_0x57b8[43]](function(_0x2550x1e){if(_0x2550x1e[_0x57b8[55]]>0){return _0x2550x8[_0x57b8[42]](500)[_0x57b8[41]]({message:_0x57b8[70]})};_0x2550x16[_0x57b8[69]]()[_0x57b8[43]](function(){return _0x2550x8[_0x57b8[46]](204)})[_0x57b8[30]](function(_0x2550x11){return handleError(_0x2550x8,_0x2550x11)});})[_0x57b8[30]](function(_0x2550x11){return handleError(_0x2550x8,_0x2550x11)});})[_0x57b8[30]](function(_0x2550x11){return handleError(_0x2550x8,_0x2550x11)})};exports[_0x57b8[71]]=function(_0x2550x7,_0x2550x8){VoiceQueue[_0x57b8[52]]({where:{name:_0x2550x7[_0x57b8[14]][_0x57b8[9]]}})[_0x57b8[43]](function(_0x2550x1f){if(!_0x2550x1f){return _0x2550x8[_0x57b8[46]](404)};var _0x2550x20=_[_0x57b8[73]](_[_0x57b8[73]](_0x2550x1f,_0x57b8[72]),_0x57b8[9]);console[_0x57b8[32]](_0x2550x20);VoiceExtension[_0x57b8[52]]({where:{queue:_0x2550x20}})[_0x57b8[43]](function(_0x2550x1e){if(_0x2550x1e[_0x57b8[55]]>0){return _0x2550x8[_0x57b8[42]](500)[_0x57b8[41]]({message:_0x57b8[70]})};VoiceQueue[_0x57b8[69]]({where:{name:_0x2550x7[_0x57b8[14]][_0x57b8[9]]},individualHooks:true})[_0x57b8[43]](function(){return _0x2550x8[_0x57b8[46]](204)})[_0x57b8[30]](function(_0x2550x11){return handleError(_0x2550x8,_0x2550x11)});})[_0x57b8[30]](function(_0x2550x11){return handleError(_0x2550x8,_0x2550x11)});})[_0x57b8[30]](function(_0x2550x11){return handleError(_0x2550x8,_0x2550x11)})};function handleError(_0x2550x8,_0x2550x11){return _0x2550x8[_0x57b8[42]](500)[_0x57b8[41]](_0x2550x11)}
\ No newline at end of file
+var _0x1b4f=["\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","\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","\x6E\x61\x6D\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x73\x74\x72\x61\x74\x65\x67\x79","\x63\x6F\x6E\x74\x65\x78\x74","\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","\x63\x61\x74\x63\x68","\x63\x6F\x75\x6E\x74","\x6C\x6F\x67","\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","\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","\x71\x75\x65\x75\x65\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x46\x69\x6E\x64\x69\x6E\x67\x20\x61\x70\x70\x20\x72\x6F\x77\x2E\x2E\x2E\x2E\x2E","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x51\x55\x45\x55\x45","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x53\x49\x50\x2F\x25\x73","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72\x73","\x6E\x6F\x20\x6D\x61\x69\x6C\x20\x71\x75\x65\x75\x65\x20\x66\x6F\x75\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x4D\x45\x53\x53\x41\x47\x45\x5F\x51\x55\x45\x55\x45\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","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x70\x6C\x75\x63\x6B"];_0x1b4f[0];var _=require(_0x1b4f[1]);var util=require(_0x1b4f[2]);var User=require(_0x1b4f[4])[_0x1b4f[3]];var VoiceQueue=require(_0x1b4f[4])[_0x1b4f[5]];var UserHasVoiceQueue=require(_0x1b4f[4])[_0x1b4f[6]];var VoiceExtension=require(_0x1b4f[4])[_0x1b4f[7]];exports[_0x1b4f[8]]=function(_0x4e8ax7,_0x4e8ax8){var _0x4e8ax9=[_0x1b4f[9],_0x1b4f[10],_0x1b4f[11],_0x1b4f[12]];var _0x4e8axa=_0x4e8ax7[_0x1b4f[14]][_0x1b4f[13]]?parseInt(_0x4e8ax7[_0x1b4f[14]][_0x1b4f[13]],10):100;var _0x4e8axb=_0x4e8ax7[_0x1b4f[14]][_0x1b4f[15]]?parseInt(_0x4e8ax7[_0x1b4f[14]][_0x1b4f[15]],10):0;var _0x4e8axc={where:{},limit:_0x4e8axa,offset:_0x4e8axb*_0x4e8axa};_[_0x1b4f[29]](_0x4e8ax7[_0x1b4f[14]],function(_0x4e8axd,_0x4e8axe){switch(_0x4e8axe){case _0x1b4f[13]:;case _0x1b4f[15]:break ;;case _0x1b4f[18]:_0x4e8axc[_0x1b4f[16]]=util[_0x1b4f[21]](_0x1b4f[17],_0x4e8ax7[_0x1b4f[14]][_0x1b4f[18]],_0x4e8ax7[_0x1b4f[14]][_0x1b4f[19]]||_0x1b4f[20])||null;break ;;case _0x1b4f[19]:break ;;case _0x1b4f[27]:_0x4e8axc[_0x1b4f[23]][_0x1b4f[22]]=[];_0x4e8ax9[_0x1b4f[26]](function(_0x4e8axf){var _0x4e8ax10={};_0x4e8ax10[_0x4e8axf]={$like:_0x1b4f[24]+_0x4e8axd+_0x1b4f[24]};_0x4e8axc[_0x1b4f[23]][_0x1b4f[22]][_0x1b4f[25]](_0x4e8ax10);});break ;;default:_0x4e8axc[_0x1b4f[23]][_0x4e8axe]={$like:{}};_0x4e8axc[_0x1b4f[23]][_0x4e8axe][_0x1b4f[28]]=_0x1b4f[24]+_0x4e8axd+_0x1b4f[24];;}});VoiceQueue[_0x1b4f[44]](_0x4e8axc)[_0x1b4f[43]](function(_0x4e8ax12){console[_0x1b4f[32]](_0x4e8ax12[_0x1b4f[31]]);var _0x4e8ax13=Math[_0x1b4f[33]](_0x4e8ax12[_0x1b4f[31]]/_0x4e8axa);console[_0x1b4f[32]](_0x4e8ax13);var _0x4e8ax14=_0x4e8ax13>(_0x4e8axc[_0x1b4f[34]]+1)?util[_0x1b4f[21]](_0x1b4f[35],_0x4e8ax7[_0x1b4f[36]],_0x4e8ax7[_0x1b4f[38]][_0x1b4f[37]],_0x4e8ax7[_0x1b4f[39]],_0x4e8axb+1):null;var _0x4e8ax15=_0x4e8axb>0?util[_0x1b4f[21]](_0x1b4f[35],_0x4e8ax7[_0x1b4f[36]],_0x4e8ax7[_0x1b4f[38]][_0x1b4f[37]],_0x4e8ax7[_0x1b4f[39]],_0x4e8axb-1):null;_0x4e8ax8[_0x1b4f[42]](200)[_0x1b4f[41]]({count:_0x4e8ax12[_0x1b4f[31]],rows:_0x4e8ax12[_0x1b4f[40]],next_page:_0x4e8ax14,previous_page:_0x4e8ax15,total_pages:_0x4e8ax13});})[_0x1b4f[30]](function(_0x4e8ax11){return handleError(_0x4e8ax8,_0x4e8ax11)});};exports[_0x1b4f[45]]=function(_0x4e8ax7,_0x4e8ax8){VoiceQueue[_0x1b4f[49]](_0x4e8ax7[_0x1b4f[48]][_0x1b4f[47]])[_0x1b4f[43]](function(_0x4e8ax16){if(!_0x4e8ax16){return _0x4e8ax8[_0x1b4f[46]](404)};return _0x4e8ax8[_0x1b4f[41]](_0x4e8ax16);})[_0x1b4f[30]](function(_0x4e8ax11){return handleError(_0x4e8ax8,_0x4e8ax11)})};exports[_0x1b4f[50]]=function(_0x4e8ax7,_0x4e8ax8){console[_0x1b4f[32]](_0x4e8ax7[_0x1b4f[51]]);VoiceQueue[_0x1b4f[52]]({where:{name:_0x4e8ax7[_0x1b4f[51]][_0x1b4f[9]]}})[_0x1b4f[43]](function(_0x4e8ax16){if(!_0x4e8ax16){return _0x4e8ax8[_0x1b4f[46]](404)};return _0x4e8ax8[_0x1b4f[41]](_0x4e8ax16);})[_0x1b4f[30]](function(_0x4e8ax11){return handleError(_0x4e8ax8,_0x4e8ax11)});};exports[_0x1b4f[53]]=function(_0x4e8ax7,_0x4e8ax8){VoiceQueue[_0x1b4f[52]]({where:{name:_0x4e8ax7[_0x1b4f[51]][_0x1b4f[9]]}})[_0x1b4f[43]](function(_0x4e8ax17){console[_0x1b4f[32]](_0x4e8ax17);console[_0x1b4f[32]](_0x1b4f[54]);if(!_0x4e8ax17){return _0x4e8ax8[_0x1b4f[46]](404)};if(_0x4e8ax17[_0x1b4f[55]]>0){return _0x4e8ax8[_0x1b4f[42]](500)[_0x1b4f[41]]({message:_0x1b4f[56]})};VoiceQueue[_0x1b4f[53]](_0x4e8ax7[_0x1b4f[51]])[_0x1b4f[43]](function(_0x4e8ax16){return _0x4e8ax8[_0x1b4f[42]](201)[_0x1b4f[41]](_0x4e8ax16)})[_0x1b4f[30]](function(_0x4e8ax11){return handleError(_0x4e8ax8,_0x4e8ax11)});})[_0x1b4f[30]](function(_0x4e8ax11){return handleError(_0x4e8ax8,_0x4e8ax11)})};exports[_0x1b4f[57]]=function(_0x4e8ax7,_0x4e8ax8){VoiceQueue[_0x1b4f[60]]({where:{name:_0x4e8ax7[_0x1b4f[48]][_0x1b4f[47]]}})[_0x1b4f[43]](function(_0x4e8ax18){if(!_0x4e8ax18){return _0x4e8ax8[_0x1b4f[46]](404)};if(_0x4e8ax7[_0x1b4f[51]][_0x1b4f[47]]){delete _0x4e8ax7[_0x1b4f[51]][_0x1b4f[47]]};var _0x4e8ax19=_[_0x1b4f[58]](_0x4e8ax18,_0x4e8ax7[_0x1b4f[51]]);_0x4e8ax19[_0x1b4f[59]]()[_0x1b4f[43]](function(){return _0x4e8ax8[_0x1b4f[42]](200)[_0x1b4f[41]](_0x4e8ax18)})[_0x1b4f[30]](function(_0x4e8ax11){return handleError(_0x4e8ax8,_0x4e8ax11)});})[_0x1b4f[30]](function(_0x4e8ax11){return handleError(_0x4e8ax8,_0x4e8ax11)})};exports[_0x1b4f[61]]=function(_0x4e8ax7,_0x4e8ax8,_0x4e8ax1a){console[_0x1b4f[32]](_0x1b4f[61]);console[_0x1b4f[32]](_0x4e8ax7[_0x1b4f[48]]);console[_0x1b4f[32]](_0x4e8ax7[_0x1b4f[51]]);User[_0x1b4f[52]]({where:{id:{$in:_0x4e8ax7[_0x1b4f[51]][_0x1b4f[65]]}}})[_0x1b4f[43]](function(_0x4e8ax1b){var _0x4e8ax1c=_[_0x1b4f[63]](_0x4e8ax1b,function(_0x4e8ax1d){return {queue:_0x4e8ax7[_0x1b4f[48]][_0x1b4f[47]],location:util[_0x1b4f[21]](_0x1b4f[62],_0x4e8ax1d[_0x1b4f[9]]),membername:_0x4e8ax1d[_0x1b4f[9]],VoiceQueueName:_0x4e8ax7[_0x1b4f[48]][_0x1b4f[47]],UserId:_0x4e8ax1d[_0x1b4f[47]]}});UserHasVoiceQueue[_0x1b4f[64]](_0x4e8ax1c,{individualHooks:true})[_0x1b4f[43]](function(){return _0x4e8ax8[_0x1b4f[46]](200)})[_0x1b4f[30]](function(_0x4e8ax11){return _0x4e8ax1a(_0x4e8ax11)});})[_0x1b4f[30]](function(_0x4e8ax11){return _0x4e8ax1a(_0x4e8ax11)});};exports[_0x1b4f[66]]=function(_0x4e8ax7,_0x4e8ax8,_0x4e8ax1a){VoiceQueue[_0x1b4f[60]]({where:{name:_0x4e8ax7[_0x1b4f[48]][_0x1b4f[47]]}})[_0x1b4f[43]](function(_0x4e8ax18){if(_0x4e8ax18){_0x4e8ax18[_0x1b4f[67]](_0x4e8ax7[_0x1b4f[51]][_0x1b4f[65]],{individualHooks:true})[_0x1b4f[43]](function(){return _0x4e8ax8[_0x1b4f[46]](200)})[_0x1b4f[30]](function(_0x4e8ax11){return _0x4e8ax1a(_0x4e8ax11)})}else {return _0x4e8ax1a( new Error(_0x1b4f[68]))}})[_0x1b4f[30]](function(_0x4e8ax11){return _0x4e8ax1a(_0x4e8ax11)})};exports[_0x1b4f[69]]=function(_0x4e8ax7,_0x4e8ax8){VoiceQueue[_0x1b4f[60]]({where:{name:_0x4e8ax7[_0x1b4f[48]][_0x1b4f[9]]}})[_0x1b4f[43]](function(_0x4e8ax16){if(!_0x4e8ax16){return _0x4e8ax8[_0x1b4f[46]](404)};VoiceExtension[_0x1b4f[52]]({where:{queue:_0x4e8ax16[_0x1b4f[9]]}})[_0x1b4f[43]](function(_0x4e8ax1e){if(_0x4e8ax1e[_0x1b4f[55]]>0){return _0x4e8ax8[_0x1b4f[42]](500)[_0x1b4f[41]]({message:_0x1b4f[70]})};_0x4e8ax16[_0x1b4f[69]]()[_0x1b4f[43]](function(){return _0x4e8ax8[_0x1b4f[46]](204)})[_0x1b4f[30]](function(_0x4e8ax11){return handleError(_0x4e8ax8,_0x4e8ax11)});})[_0x1b4f[30]](function(_0x4e8ax11){return handleError(_0x4e8ax8,_0x4e8ax11)});})[_0x1b4f[30]](function(_0x4e8ax11){return handleError(_0x4e8ax8,_0x4e8ax11)})};exports[_0x1b4f[71]]=function(_0x4e8ax7,_0x4e8ax8){VoiceQueue[_0x1b4f[52]]({where:{name:_0x4e8ax7[_0x1b4f[14]][_0x1b4f[9]]}})[_0x1b4f[43]](function(_0x4e8ax1f){if(!_0x4e8ax1f){return _0x4e8ax8[_0x1b4f[46]](404)};var _0x4e8ax20=_[_0x1b4f[73]](_[_0x1b4f[73]](_0x4e8ax1f,_0x1b4f[72]),_0x1b4f[9]);console[_0x1b4f[32]](_0x4e8ax20);VoiceExtension[_0x1b4f[52]]({where:{queue:_0x4e8ax20}})[_0x1b4f[43]](function(_0x4e8ax1e){if(_0x4e8ax1e[_0x1b4f[55]]>0){return _0x4e8ax8[_0x1b4f[42]](500)[_0x1b4f[41]]({message:_0x1b4f[70]})};VoiceQueue[_0x1b4f[69]]({where:{name:_0x4e8ax7[_0x1b4f[14]][_0x1b4f[9]]},individualHooks:true})[_0x1b4f[43]](function(){return _0x4e8ax8[_0x1b4f[46]](204)})[_0x1b4f[30]](function(_0x4e8ax11){return handleError(_0x4e8ax8,_0x4e8ax11)});})[_0x1b4f[30]](function(_0x4e8ax11){return handleError(_0x4e8ax8,_0x4e8ax11)});})[_0x1b4f[30]](function(_0x4e8ax11){return handleError(_0x4e8ax8,_0x4e8ax11)})};function handleError(_0x4e8ax8,_0x4e8ax11){return _0x4e8ax8[_0x1b4f[42]](500)[_0x1b4f[41]](_0x4e8ax11)}
\ No newline at end of file
index 91f68b1..e700586 100644 (file)
@@ -1 +1 @@
-var _0xe44a=["\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","\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\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xe44a[0];var VoiceQueue=require(_0xe44a[2])[_0xe44a[1]];exports[_0xe44a[3]]=function(_0x7360x2){VoiceQueue[_0xe44a[4]](function(_0x7360x3){onSave(_0x7360x2,_0x7360x3)});VoiceQueue[_0xe44a[5]](function(_0x7360x3){onRemove(_0x7360x2,_0x7360x3)});};function onSave(_0x7360x2,_0x7360x3,_0x7360x5){_0x7360x2[_0xe44a[7]](_0xe44a[6],_0x7360x3)}function onRemove(_0x7360x2,_0x7360x3,_0x7360x5){_0x7360x2[_0xe44a[7]](_0xe44a[8],_0x7360x3)}
\ No newline at end of file
+var _0x8008=["\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","\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\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8008[0];var VoiceQueue=require(_0x8008[2])[_0x8008[1]];exports[_0x8008[3]]=function(_0xdd2cx2){VoiceQueue[_0x8008[4]](function(_0xdd2cx3){onSave(_0xdd2cx2,_0xdd2cx3)});VoiceQueue[_0x8008[5]](function(_0xdd2cx3){onRemove(_0xdd2cx2,_0xdd2cx3)});};function onSave(_0xdd2cx2,_0xdd2cx3,_0xdd2cx5){_0xdd2cx2[_0x8008[7]](_0x8008[6],_0xdd2cx3)}function onRemove(_0xdd2cx2,_0xdd2cx3,_0xdd2cx5){_0xdd2cx2[_0x8008[7]](_0x8008[8],_0xdd2cx3)}
\ No newline at end of file
index fcd1746..a3a5aca 100644 (file)
@@ -1 +1 @@
-var _0x1e26=["\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\x76\x6F\x69\x63\x65\x2F\x71\x75\x65\x75\x65\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\x76\x6F\x69\x63\x65\x2F\x71\x75\x65\x75\x65\x73","\x67\x65\x74"];_0x1e26[0];var should=require(_0x1e26[1]);var app=require(_0x1e26[2]);var request=require(_0x1e26[3]);describe(_0x1e26[4],function(){it(_0x1e26[5],function(_0xb572x4){request(app)[_0x1e26[13]](_0x1e26[12])[_0x1e26[11]](200)[_0x1e26[11]](_0x1e26[10],/json/)[_0x1e26[9]](function(_0xb572x5,_0xb572x6){if(_0xb572x5){return _0xb572x4(_0xb572x5)};_0xb572x6[_0x1e26[8]][_0x1e26[1]][_0x1e26[7]][_0x1e26[6]](Array);_0xb572x4();})})});
\ No newline at end of file
+var _0xe85e=["\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\x76\x6F\x69\x63\x65\x2F\x71\x75\x65\x75\x65\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\x76\x6F\x69\x63\x65\x2F\x71\x75\x65\x75\x65\x73","\x67\x65\x74"];_0xe85e[0];var should=require(_0xe85e[1]);var app=require(_0xe85e[2]);var request=require(_0xe85e[3]);describe(_0xe85e[4],function(){it(_0xe85e[5],function(_0x156bx4){request(app)[_0xe85e[13]](_0xe85e[12])[_0xe85e[11]](200)[_0xe85e[11]](_0xe85e[10],/json/)[_0xe85e[9]](function(_0x156bx5,_0x156bx6){if(_0x156bx5){return _0x156bx4(_0x156bx5)};_0x156bx6[_0xe85e[8]][_0xe85e[1]][_0xe85e[7]][_0xe85e[6]](Array);_0x156bx4();})})});
\ No newline at end of file
index e42bbe2..e5a8980 100644 (file)
@@ -1 +1 @@
-var _0xac38=["\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","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x75\x6E\x69\x71\x75\x65\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x75\x6E\x69\x71\x75\x65\x69\x64\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x67\x65\x74\x4D\x65\x73\x73\x61\x67\x65\x73","\x2F\x6D\x65\x73\x73\x61\x67\x65\x73\x2F\x3A\x69\x64\x2F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64\x4D\x65\x73\x73\x61\x67\x65","\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","\x2F\x3A\x69\x64","\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","\x2F\x6D\x65\x73\x73\x61\x67\x65\x73\x2F\x3A\x69\x64\x2F\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79\x4D\x65\x73\x73\x61\x67\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xac38[0];var express=require(_0xac38[1]);var controller=require(_0xac38[2]);var auth=require(_0xac38[3]);var router=express.Router();router[_0xac38[7]](_0xac38[4],auth[_0xac38[5]](),controller[_0xac38[6]]);router[_0xac38[7]](_0xac38[8],auth[_0xac38[5]](),controller[_0xac38[9]]);router[_0xac38[7]](_0xac38[10],auth[_0xac38[5]](),controller[_0xac38[11]]);router[_0xac38[7]](_0xac38[12],auth[_0xac38[5]](),controller[_0xac38[13]]);router[_0xac38[15]](_0xac38[4],auth[_0xac38[5]](),controller[_0xac38[14]]);router[_0xac38[15]](_0xac38[16],auth[_0xac38[5]](),controller[_0xac38[17]]);router[_0xac38[19]](_0xac38[8],auth[_0xac38[5]](),controller[_0xac38[18]]);router[_0xac38[21]](_0xac38[20],auth[_0xac38[5]](),controller[_0xac38[18]]);router[_0xac38[23]](_0xac38[4],auth[_0xac38[5]](),controller[_0xac38[22]]);router[_0xac38[23]](_0xac38[8],auth[_0xac38[5]](),controller[_0xac38[24]]);router[_0xac38[23]](_0xac38[25],auth[_0xac38[5]](),controller[_0xac38[26]]);module[_0xac38[27]]=router;
\ No newline at end of file
+var _0x84ff=["\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","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x75\x6E\x69\x71\x75\x65\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x75\x6E\x69\x71\x75\x65\x69\x64\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x67\x65\x74\x4D\x65\x73\x73\x61\x67\x65\x73","\x2F\x6D\x65\x73\x73\x61\x67\x65\x73\x2F\x3A\x69\x64\x2F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64\x4D\x65\x73\x73\x61\x67\x65","\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","\x2F\x3A\x69\x64","\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","\x2F\x6D\x65\x73\x73\x61\x67\x65\x73\x2F\x3A\x69\x64\x2F\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79\x4D\x65\x73\x73\x61\x67\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x84ff[0];var express=require(_0x84ff[1]);var controller=require(_0x84ff[2]);var auth=require(_0x84ff[3]);var router=express.Router();router[_0x84ff[7]](_0x84ff[4],auth[_0x84ff[5]](),controller[_0x84ff[6]]);router[_0x84ff[7]](_0x84ff[8],auth[_0x84ff[5]](),controller[_0x84ff[9]]);router[_0x84ff[7]](_0x84ff[10],auth[_0x84ff[5]](),controller[_0x84ff[11]]);router[_0x84ff[7]](_0x84ff[12],auth[_0x84ff[5]](),controller[_0x84ff[13]]);router[_0x84ff[15]](_0x84ff[4],auth[_0x84ff[5]](),controller[_0x84ff[14]]);router[_0x84ff[15]](_0x84ff[16],auth[_0x84ff[5]](),controller[_0x84ff[17]]);router[_0x84ff[19]](_0x84ff[8],auth[_0x84ff[5]](),controller[_0x84ff[18]]);router[_0x84ff[21]](_0x84ff[20],auth[_0x84ff[5]](),controller[_0x84ff[18]]);router[_0x84ff[23]](_0x84ff[4],auth[_0x84ff[5]](),controller[_0x84ff[22]]);router[_0x84ff[23]](_0x84ff[8],auth[_0x84ff[5]](),controller[_0x84ff[24]]);router[_0x84ff[23]](_0x84ff[25],auth[_0x84ff[5]](),controller[_0x84ff[26]]);module[_0x84ff[27]]=router;
\ No newline at end of file
index e52723d..619e727 100644 (file)
@@ -1 +1 @@
-var _0x335d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\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","\x73\x74\x72\x65\x61\x6D","\x69\x6E\x64\x65\x78","\x6D\x61\x69\x6C\x62\x6F\x78","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\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","\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","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64","\x67\x65\x74\x4D\x65\x73\x73\x61\x67\x65\x73","\x63\x6F\x6E\x74\x65\x78\x74","\x66\x69\x6E\x64\x41\x6C\x6C","\x6D\x61\x69\x6C\x62\x6F\x78\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x6C\x6F\x67","\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","\x64\x65\x73\x74\x72\x6F\x79\x4D\x65\x73\x73\x61\x67\x65","\x72\x65\x63\x6F\x72\x64\x69\x6E\x67","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64\x4D\x65\x73\x73\x61\x67\x65","\x6D\x73\x67\x5F\x69\x64","\x2E\x77\x61\x76","\x4F\x4B","\x61\x75\x64\x69\x6F\x2F\x77\x61\x76","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3B\x20\x66\x69\x6C\x65\x6E\x61\x6D\x65\x3D","\x77\x72\x69\x74\x65\x48\x65\x61\x64","\x65\x6E\x64","\x70\x69\x70\x65"];_0x335d[0];var _=require(_0x335d[1]);var VoiceVoicemail=require(_0x335d[3])[_0x335d[2]];var VoiceVoicemailMessages=require(_0x335d[3])[_0x335d[4]];var stream=require(_0x335d[5]);exports[_0x335d[6]]=function(_0x80e9x5,_0x80e9x6){var _0x80e9x7=[_0x335d[7],_0x335d[8],_0x335d[9]];var _0x80e9x8=_0x80e9x5[_0x335d[11]][_0x335d[10]]?parseInt(_0x80e9x5[_0x335d[11]][_0x335d[10]],10):100;var _0x80e9x9=_0x80e9x5[_0x335d[11]][_0x335d[12]]?parseInt(_0x80e9x5[_0x335d[11]][_0x335d[12]],10):0;var _0x80e9xa={where:{},limit:_0x80e9x8,offset:_0x80e9x9*_0x80e9x8};_[_0x335d[26]](_0x80e9x5[_0x335d[11]],function(_0x80e9xb,_0x80e9xc){switch(_0x80e9xc){case _0x335d[10]:;case _0x335d[12]:break ;;case _0x335d[15]:_0x80e9xa[_0x335d[13]]=util[_0x335d[18]](_0x335d[14],_0x80e9x5[_0x335d[11]][_0x335d[15]],_0x80e9x5[_0x335d[11]][_0x335d[16]]||_0x335d[17])||null;break ;;case _0x335d[16]:break ;;case _0x335d[24]:_0x80e9xa[_0x335d[20]][_0x335d[19]]=[];_0x80e9x7[_0x335d[23]](function(_0x80e9xd){var _0x80e9xe={};_0x80e9xe[_0x80e9xd]={$like:_0x335d[21]+_0x80e9xb+_0x335d[21]};_0x80e9xa[_0x335d[20]][_0x335d[19]][_0x335d[22]](_0x80e9xe);});break ;;default:_0x80e9xa[_0x335d[20]][_0x80e9xc]={$like:{}};_0x80e9xa[_0x335d[20]][_0x80e9xc][_0x335d[25]]=_0x335d[21]+_0x80e9xb+_0x335d[21];;}});VoiceVoicemail[_0x335d[31]](_0x80e9xa)[_0x335d[30]](function(_0x80e9x10){return _0x80e9x6[_0x335d[29]](200)[_0x335d[28]](_0x80e9x10)})[_0x335d[27]](function(_0x80e9xf){return handleError(_0x80e9x6,_0x80e9xf)});};exports[_0x335d[32]]=function(_0x80e9x5,_0x80e9x6){VoiceVoicemail[_0x335d[36]]({where:{uniqueid:_0x80e9x5[_0x335d[35]][_0x335d[34]]}})[_0x335d[30]](function(_0x80e9x11){if(!_0x80e9x11){return _0x80e9x6[_0x335d[33]](404)};return _0x80e9x6[_0x335d[28]](_0x80e9x11);})[_0x335d[27]](function(_0x80e9xf){return handleError(_0x80e9x6,_0x80e9xf)})};exports[_0x335d[37]]=function(_0x80e9x5,_0x80e9x6){VoiceVoicemail[_0x335d[36]]({where:{uniqueid:_0x80e9x5[_0x335d[35]][_0x335d[34]]}})[_0x335d[30]](function(_0x80e9x11){VoiceVoicemailMessages[_0x335d[39]]({where:{mailboxcontext:_0x80e9x11[_0x335d[38]],mailboxuser:_0x80e9x11[_0x335d[7]]}})[_0x335d[30]](function(_0x80e9x12){return _0x80e9x6[_0x335d[29]](200)[_0x335d[28]](_0x80e9x12)})[_0x335d[27]](function(_0x80e9xf){return handleError(_0x80e9x6,_0x80e9xf)})})[_0x335d[27]](function(_0x80e9xf){return handleError(_0x80e9x6,_0x80e9xf)})};exports[_0x335d[40]]=function(_0x80e9x5,_0x80e9x6){console[_0x335d[42]](_0x80e9x5[_0x335d[41]]);VoiceVoicemail[_0x335d[39]]({where:{mailbox:_0x80e9x5[_0x335d[41]][_0x335d[7]],context:_0x80e9x5[_0x335d[41]][_0x335d[38]]}})[_0x335d[30]](function(_0x80e9x13){if(!_0x80e9x13){return _0x80e9x6[_0x335d[33]](404)};return _0x80e9x6[_0x335d[28]](_0x80e9x13);})[_0x335d[27]](function(_0x80e9xf){return handleError(_0x80e9x6,_0x80e9xf)});};exports[_0x335d[43]]=function(_0x80e9x5,_0x80e9x6){VoiceVoicemail[_0x335d[39]]({where:{mailbox:_0x80e9x5[_0x335d[41]][_0x335d[7]],context:_0x80e9x5[_0x335d[41]][_0x335d[38]]}})[_0x335d[30]](function(_0x80e9x13){if(!_0x80e9x13){return _0x80e9x6[_0x335d[33]](404)};if(_0x80e9x13[_0x335d[44]]>0){return _0x80e9x6[_0x335d[29]](500)[_0x335d[28]]({message:_0x335d[45]})};VoiceVoicemail[_0x335d[43]](_0x80e9x5[_0x335d[41]])[_0x335d[30]](function(_0x80e9x11){return _0x80e9x6[_0x335d[29]](201)[_0x335d[28]](_0x80e9x11)})[_0x335d[27]](function(_0x80e9xf){return handleError(_0x80e9x6,_0x80e9xf)})[_0x335d[27]](function(_0x80e9xf){return handleError(_0x80e9x6,_0x80e9xf)});})};exports[_0x335d[46]]=function(_0x80e9x5,_0x80e9x6){VoiceVoicemail[_0x335d[39]]({where:{mailbox:_0x80e9x5[_0x335d[41]][_0x335d[7]],context:_0x80e9x5[_0x335d[41]][_0x335d[38]],uniqueid:{$ne:_0x80e9x5[_0x335d[41]][_0x335d[34]]}}})[_0x335d[30]](function(_0x80e9x13){if(!_0x80e9x13){return _0x80e9x6[_0x335d[33]](404)};if(_0x80e9x13[_0x335d[44]]>0){return _0x80e9x6[_0x335d[29]](500)[_0x335d[28]]({message:_0x335d[45]})};if(_0x80e9x5[_0x335d[41]][_0x335d[34]]){delete _0x80e9x5[_0x335d[41]][_0x335d[34]]};VoiceVoicemail[_0x335d[36]]({where:{uniqueid:_0x80e9x5[_0x335d[35]][_0x335d[34]]}})[_0x335d[30]](function(_0x80e9x11){if(!_0x80e9x11){return _0x80e9x6[_0x335d[33]](404)};var _0x80e9x14=_[_0x335d[47]](_0x80e9x11,_0x80e9x5[_0x335d[41]]);_0x80e9x14[_0x335d[48]]()[_0x335d[30]](function(){return _0x80e9x6[_0x335d[29]](200)[_0x335d[28]](_0x80e9x11)})[_0x335d[27]](function(_0x80e9xf){return handleError(_0x80e9x6,_0x80e9xf)});})[_0x335d[27]](function(_0x80e9xf){return handleError(_0x80e9x6,_0x80e9xf)});})[_0x335d[27]](function(_0x80e9xf){return handleError(_0x80e9x6,_0x80e9xf)})};exports[_0x335d[49]]=function(_0x80e9x5,_0x80e9x6){VoiceVoicemail[_0x335d[36]]({where:{uniqueid:_0x80e9x5[_0x335d[35]][_0x335d[34]]}})[_0x335d[30]](function(_0x80e9x11){if(!_0x80e9x11){return _0x80e9x6[_0x335d[33]](404)};_0x80e9x11[_0x335d[49]]()[_0x335d[30]](function(){return _0x80e9x6[_0x335d[33]](204)})[_0x335d[27]](function(_0x80e9xf){return handleError(_0x80e9x6,_0x80e9xf)});})[_0x335d[27]](function(_0x80e9xf){return handleError(_0x80e9x6,_0x80e9xf)})};exports[_0x335d[50]]=function(_0x80e9x5,_0x80e9x6){VoiceVoicemail[_0x335d[49]]({where:{uniqueid:_0x80e9x5[_0x335d[11]][_0x335d[34]]},individualHooks:true})[_0x335d[30]](function(){return _0x80e9x6[_0x335d[33]](204)})[_0x335d[27]](function(_0x80e9xf){return handleError(_0x80e9x6,_0x80e9xf)})};exports[_0x335d[51]]=function(_0x80e9x5,_0x80e9x6){VoiceVoicemailMessages[_0x335d[54]](_0x80e9x5[_0x335d[35]][_0x335d[53]])[_0x335d[30]](function(_0x80e9x15){if(!_0x80e9x15){return _0x80e9x6[_0x335d[33]](404)};_0x80e9x15[_0x335d[52]]=null;_0x80e9x15[_0x335d[49]]()[_0x335d[30]](function(){return _0x80e9x6[_0x335d[33]](204)})[_0x335d[27]](function(_0x80e9xf){return handleError(_0x80e9x6,_0x80e9xf)});})[_0x335d[27]](function(_0x80e9xf){return handleError(_0x80e9x6,_0x80e9xf)})};exports[_0x335d[55]]=function(_0x80e9x5,_0x80e9x6){VoiceVoicemailMessages[_0x335d[54]](_0x80e9x5[_0x335d[35]][_0x335d[53]])[_0x335d[30]](function(_0x80e9x16){if(!_0x80e9x16){return _0x80e9x6[_0x335d[33]](404)};var _0x80e9x17=_0x80e9x16[_0x335d[56]]+_0x335d[57];_0x80e9x6[_0x335d[61]](200,_0x335d[58],{"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0x335d[59],"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E":_0x335d[60]+_0x80e9x17,"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x4C\x65\x6E\x67\x74\x68":_0x80e9x16[_0x335d[52]][_0x335d[44]]});var _0x80e9x18= new stream.PassThrough();_0x80e9x18[_0x335d[62]]( new Buffer(_0x80e9x16[_0x335d[52]]));_0x80e9x18[_0x335d[63]](_0x80e9x6);})};function handleError(_0x80e9x6,_0x80e9xf){return _0x80e9x6[_0x335d[29]](500)[_0x335d[28]](_0x80e9xf)}
\ No newline at end of file
+var _0xb3a3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\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","\x73\x74\x72\x65\x61\x6D","\x69\x6E\x64\x65\x78","\x6D\x61\x69\x6C\x62\x6F\x78","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\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","\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","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64","\x67\x65\x74\x4D\x65\x73\x73\x61\x67\x65\x73","\x63\x6F\x6E\x74\x65\x78\x74","\x66\x69\x6E\x64\x41\x6C\x6C","\x6D\x61\x69\x6C\x62\x6F\x78\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x6C\x6F\x67","\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","\x64\x65\x73\x74\x72\x6F\x79\x4D\x65\x73\x73\x61\x67\x65","\x72\x65\x63\x6F\x72\x64\x69\x6E\x67","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64\x4D\x65\x73\x73\x61\x67\x65","\x6D\x73\x67\x5F\x69\x64","\x2E\x77\x61\x76","\x4F\x4B","\x61\x75\x64\x69\x6F\x2F\x77\x61\x76","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3B\x20\x66\x69\x6C\x65\x6E\x61\x6D\x65\x3D","\x77\x72\x69\x74\x65\x48\x65\x61\x64","\x65\x6E\x64","\x70\x69\x70\x65"];_0xb3a3[0];var _=require(_0xb3a3[1]);var VoiceVoicemail=require(_0xb3a3[3])[_0xb3a3[2]];var VoiceVoicemailMessages=require(_0xb3a3[3])[_0xb3a3[4]];var stream=require(_0xb3a3[5]);exports[_0xb3a3[6]]=function(_0xe79ex5,_0xe79ex6){var _0xe79ex7=[_0xb3a3[7],_0xb3a3[8],_0xb3a3[9]];var _0xe79ex8=_0xe79ex5[_0xb3a3[11]][_0xb3a3[10]]?parseInt(_0xe79ex5[_0xb3a3[11]][_0xb3a3[10]],10):100;var _0xe79ex9=_0xe79ex5[_0xb3a3[11]][_0xb3a3[12]]?parseInt(_0xe79ex5[_0xb3a3[11]][_0xb3a3[12]],10):0;var _0xe79exa={where:{},limit:_0xe79ex8,offset:_0xe79ex9*_0xe79ex8};_[_0xb3a3[26]](_0xe79ex5[_0xb3a3[11]],function(_0xe79exb,_0xe79exc){switch(_0xe79exc){case _0xb3a3[10]:;case _0xb3a3[12]:break ;;case _0xb3a3[15]:_0xe79exa[_0xb3a3[13]]=util[_0xb3a3[18]](_0xb3a3[14],_0xe79ex5[_0xb3a3[11]][_0xb3a3[15]],_0xe79ex5[_0xb3a3[11]][_0xb3a3[16]]||_0xb3a3[17])||null;break ;;case _0xb3a3[16]:break ;;case _0xb3a3[24]:_0xe79exa[_0xb3a3[20]][_0xb3a3[19]]=[];_0xe79ex7[_0xb3a3[23]](function(_0xe79exd){var _0xe79exe={};_0xe79exe[_0xe79exd]={$like:_0xb3a3[21]+_0xe79exb+_0xb3a3[21]};_0xe79exa[_0xb3a3[20]][_0xb3a3[19]][_0xb3a3[22]](_0xe79exe);});break ;;default:_0xe79exa[_0xb3a3[20]][_0xe79exc]={$like:{}};_0xe79exa[_0xb3a3[20]][_0xe79exc][_0xb3a3[25]]=_0xb3a3[21]+_0xe79exb+_0xb3a3[21];;}});VoiceVoicemail[_0xb3a3[31]](_0xe79exa)[_0xb3a3[30]](function(_0xe79ex10){return _0xe79ex6[_0xb3a3[29]](200)[_0xb3a3[28]](_0xe79ex10)})[_0xb3a3[27]](function(_0xe79exf){return handleError(_0xe79ex6,_0xe79exf)});};exports[_0xb3a3[32]]=function(_0xe79ex5,_0xe79ex6){VoiceVoicemail[_0xb3a3[36]]({where:{uniqueid:_0xe79ex5[_0xb3a3[35]][_0xb3a3[34]]}})[_0xb3a3[30]](function(_0xe79ex11){if(!_0xe79ex11){return _0xe79ex6[_0xb3a3[33]](404)};return _0xe79ex6[_0xb3a3[28]](_0xe79ex11);})[_0xb3a3[27]](function(_0xe79exf){return handleError(_0xe79ex6,_0xe79exf)})};exports[_0xb3a3[37]]=function(_0xe79ex5,_0xe79ex6){VoiceVoicemail[_0xb3a3[36]]({where:{uniqueid:_0xe79ex5[_0xb3a3[35]][_0xb3a3[34]]}})[_0xb3a3[30]](function(_0xe79ex11){VoiceVoicemailMessages[_0xb3a3[39]]({where:{mailboxcontext:_0xe79ex11[_0xb3a3[38]],mailboxuser:_0xe79ex11[_0xb3a3[7]]}})[_0xb3a3[30]](function(_0xe79ex12){return _0xe79ex6[_0xb3a3[29]](200)[_0xb3a3[28]](_0xe79ex12)})[_0xb3a3[27]](function(_0xe79exf){return handleError(_0xe79ex6,_0xe79exf)})})[_0xb3a3[27]](function(_0xe79exf){return handleError(_0xe79ex6,_0xe79exf)})};exports[_0xb3a3[40]]=function(_0xe79ex5,_0xe79ex6){console[_0xb3a3[42]](_0xe79ex5[_0xb3a3[41]]);VoiceVoicemail[_0xb3a3[39]]({where:{mailbox:_0xe79ex5[_0xb3a3[41]][_0xb3a3[7]],context:_0xe79ex5[_0xb3a3[41]][_0xb3a3[38]]}})[_0xb3a3[30]](function(_0xe79ex13){if(!_0xe79ex13){return _0xe79ex6[_0xb3a3[33]](404)};return _0xe79ex6[_0xb3a3[28]](_0xe79ex13);})[_0xb3a3[27]](function(_0xe79exf){return handleError(_0xe79ex6,_0xe79exf)});};exports[_0xb3a3[43]]=function(_0xe79ex5,_0xe79ex6){VoiceVoicemail[_0xb3a3[39]]({where:{mailbox:_0xe79ex5[_0xb3a3[41]][_0xb3a3[7]],context:_0xe79ex5[_0xb3a3[41]][_0xb3a3[38]]}})[_0xb3a3[30]](function(_0xe79ex13){if(!_0xe79ex13){return _0xe79ex6[_0xb3a3[33]](404)};if(_0xe79ex13[_0xb3a3[44]]>0){return _0xe79ex6[_0xb3a3[29]](500)[_0xb3a3[28]]({message:_0xb3a3[45]})};VoiceVoicemail[_0xb3a3[43]](_0xe79ex5[_0xb3a3[41]])[_0xb3a3[30]](function(_0xe79ex11){return _0xe79ex6[_0xb3a3[29]](201)[_0xb3a3[28]](_0xe79ex11)})[_0xb3a3[27]](function(_0xe79exf){return handleError(_0xe79ex6,_0xe79exf)})[_0xb3a3[27]](function(_0xe79exf){return handleError(_0xe79ex6,_0xe79exf)});})};exports[_0xb3a3[46]]=function(_0xe79ex5,_0xe79ex6){VoiceVoicemail[_0xb3a3[39]]({where:{mailbox:_0xe79ex5[_0xb3a3[41]][_0xb3a3[7]],context:_0xe79ex5[_0xb3a3[41]][_0xb3a3[38]],uniqueid:{$ne:_0xe79ex5[_0xb3a3[41]][_0xb3a3[34]]}}})[_0xb3a3[30]](function(_0xe79ex13){if(!_0xe79ex13){return _0xe79ex6[_0xb3a3[33]](404)};if(_0xe79ex13[_0xb3a3[44]]>0){return _0xe79ex6[_0xb3a3[29]](500)[_0xb3a3[28]]({message:_0xb3a3[45]})};if(_0xe79ex5[_0xb3a3[41]][_0xb3a3[34]]){delete _0xe79ex5[_0xb3a3[41]][_0xb3a3[34]]};VoiceVoicemail[_0xb3a3[36]]({where:{uniqueid:_0xe79ex5[_0xb3a3[35]][_0xb3a3[34]]}})[_0xb3a3[30]](function(_0xe79ex11){if(!_0xe79ex11){return _0xe79ex6[_0xb3a3[33]](404)};var _0xe79ex14=_[_0xb3a3[47]](_0xe79ex11,_0xe79ex5[_0xb3a3[41]]);_0xe79ex14[_0xb3a3[48]]()[_0xb3a3[30]](function(){return _0xe79ex6[_0xb3a3[29]](200)[_0xb3a3[28]](_0xe79ex11)})[_0xb3a3[27]](function(_0xe79exf){return handleError(_0xe79ex6,_0xe79exf)});})[_0xb3a3[27]](function(_0xe79exf){return handleError(_0xe79ex6,_0xe79exf)});})[_0xb3a3[27]](function(_0xe79exf){return handleError(_0xe79ex6,_0xe79exf)})};exports[_0xb3a3[49]]=function(_0xe79ex5,_0xe79ex6){VoiceVoicemail[_0xb3a3[36]]({where:{uniqueid:_0xe79ex5[_0xb3a3[35]][_0xb3a3[34]]}})[_0xb3a3[30]](function(_0xe79ex11){if(!_0xe79ex11){return _0xe79ex6[_0xb3a3[33]](404)};_0xe79ex11[_0xb3a3[49]]()[_0xb3a3[30]](function(){return _0xe79ex6[_0xb3a3[33]](204)})[_0xb3a3[27]](function(_0xe79exf){return handleError(_0xe79ex6,_0xe79exf)});})[_0xb3a3[27]](function(_0xe79exf){return handleError(_0xe79ex6,_0xe79exf)})};exports[_0xb3a3[50]]=function(_0xe79ex5,_0xe79ex6){VoiceVoicemail[_0xb3a3[49]]({where:{uniqueid:_0xe79ex5[_0xb3a3[11]][_0xb3a3[34]]},individualHooks:true})[_0xb3a3[30]](function(){return _0xe79ex6[_0xb3a3[33]](204)})[_0xb3a3[27]](function(_0xe79exf){return handleError(_0xe79ex6,_0xe79exf)})};exports[_0xb3a3[51]]=function(_0xe79ex5,_0xe79ex6){VoiceVoicemailMessages[_0xb3a3[54]](_0xe79ex5[_0xb3a3[35]][_0xb3a3[53]])[_0xb3a3[30]](function(_0xe79ex15){if(!_0xe79ex15){return _0xe79ex6[_0xb3a3[33]](404)};_0xe79ex15[_0xb3a3[52]]=null;_0xe79ex15[_0xb3a3[49]]()[_0xb3a3[30]](function(){return _0xe79ex6[_0xb3a3[33]](204)})[_0xb3a3[27]](function(_0xe79exf){return handleError(_0xe79ex6,_0xe79exf)});})[_0xb3a3[27]](function(_0xe79exf){return handleError(_0xe79ex6,_0xe79exf)})};exports[_0xb3a3[55]]=function(_0xe79ex5,_0xe79ex6){VoiceVoicemailMessages[_0xb3a3[54]](_0xe79ex5[_0xb3a3[35]][_0xb3a3[53]])[_0xb3a3[30]](function(_0xe79ex16){if(!_0xe79ex16){return _0xe79ex6[_0xb3a3[33]](404)};var _0xe79ex17=_0xe79ex16[_0xb3a3[56]]+_0xb3a3[57];_0xe79ex6[_0xb3a3[61]](200,_0xb3a3[58],{"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0xb3a3[59],"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E":_0xb3a3[60]+_0xe79ex17,"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x4C\x65\x6E\x67\x74\x68":_0xe79ex16[_0xb3a3[52]][_0xb3a3[44]]});var _0xe79ex18= new stream.PassThrough();_0xe79ex18[_0xb3a3[62]]( new Buffer(_0xe79ex16[_0xb3a3[52]]));_0xe79ex18[_0xb3a3[63]](_0xe79ex6);})};function handleError(_0xe79ex6,_0xe79exf){return _0xe79ex6[_0xb3a3[29]](500)[_0xb3a3[28]](_0xe79exf)}
\ No newline at end of file
index 66319bb..7e4c399 100644 (file)
@@ -1 +1 @@
-var _0xe72c=["\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"];_0xe72c[0];var VoiceVoicemail=require(_0xe72c[2])[_0xe72c[1]];var VoiceVoicemailMessages=require(_0xe72c[2])[_0xe72c[3]];exports[_0xe72c[4]]=function(_0xcda1x3){VoiceVoicemail[_0xe72c[5]](function(_0xcda1x4){onSave(_0xcda1x3,_0xcda1x4)});VoiceVoicemail[_0xe72c[6]](function(_0xcda1x4){onRemove(_0xcda1x3,_0xcda1x4)});VoiceVoicemailMessages[_0xe72c[5]](function(_0xcda1x4){onMessageSave(_0xcda1x3,_0xcda1x4)});VoiceVoicemailMessages[_0xe72c[6]](function(_0xcda1x4){onMessageRemove(_0xcda1x3,_0xcda1x4)});};function onSave(_0xcda1x3,_0xcda1x4,_0xcda1x6){_0xcda1x3[_0xe72c[8]](_0xe72c[7],_0xcda1x4)}function onRemove(_0xcda1x3,_0xcda1x4,_0xcda1x6){_0xcda1x3[_0xe72c[8]](_0xe72c[9],_0xcda1x4)}function onMessageSave(_0xcda1x3,_0xcda1x4,_0xcda1x6){_0xcda1x3[_0xe72c[8]](_0xe72c[10],_0xcda1x4)}function onMessageRemove(_0xcda1x3,_0xcda1x4,_0xcda1x6){_0xcda1x3[_0xe72c[8]](_0xe72c[11],_0xcda1x4)}
\ No newline at end of file
+var _0x86a7=["\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"];_0x86a7[0];var VoiceVoicemail=require(_0x86a7[2])[_0x86a7[1]];var VoiceVoicemailMessages=require(_0x86a7[2])[_0x86a7[3]];exports[_0x86a7[4]]=function(_0x6ec1x3){VoiceVoicemail[_0x86a7[5]](function(_0x6ec1x4){onSave(_0x6ec1x3,_0x6ec1x4)});VoiceVoicemail[_0x86a7[6]](function(_0x6ec1x4){onRemove(_0x6ec1x3,_0x6ec1x4)});VoiceVoicemailMessages[_0x86a7[5]](function(_0x6ec1x4){onMessageSave(_0x6ec1x3,_0x6ec1x4)});VoiceVoicemailMessages[_0x86a7[6]](function(_0x6ec1x4){onMessageRemove(_0x6ec1x3,_0x6ec1x4)});};function onSave(_0x6ec1x3,_0x6ec1x4,_0x6ec1x6){_0x6ec1x3[_0x86a7[8]](_0x86a7[7],_0x6ec1x4)}function onRemove(_0x6ec1x3,_0x6ec1x4,_0x6ec1x6){_0x6ec1x3[_0x86a7[8]](_0x86a7[9],_0x6ec1x4)}function onMessageSave(_0x6ec1x3,_0x6ec1x4,_0x6ec1x6){_0x6ec1x3[_0x86a7[8]](_0x86a7[10],_0x6ec1x4)}function onMessageRemove(_0x6ec1x3,_0x6ec1x4,_0x6ec1x6){_0x6ec1x3[_0x86a7[8]](_0x86a7[11],_0x6ec1x4)}
\ No newline at end of file
index 2bba467..14d07e5 100644 (file)
@@ -1 +1 @@
-var _0xdb5a=["\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\x76\x6F\x69\x63\x65\x2F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\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\x76\x6F\x69\x63\x65\x2F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x73","\x67\x65\x74"];_0xdb5a[0];var should=require(_0xdb5a[1]);var app=require(_0xdb5a[2]);var request=require(_0xdb5a[3]);describe(_0xdb5a[4],function(){it(_0xdb5a[5],function(_0xdb17x4){request(app)[_0xdb5a[13]](_0xdb5a[12])[_0xdb5a[11]](200)[_0xdb5a[11]](_0xdb5a[10],/json/)[_0xdb5a[9]](function(_0xdb17x5,_0xdb17x6){if(_0xdb17x5){return _0xdb17x4(_0xdb17x5)};_0xdb17x6[_0xdb5a[8]][_0xdb5a[1]][_0xdb5a[7]][_0xdb5a[6]](Array);_0xdb17x4();})})});
\ No newline at end of file
+var _0x53c7=["\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\x76\x6F\x69\x63\x65\x2F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\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\x76\x6F\x69\x63\x65\x2F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x73","\x67\x65\x74"];_0x53c7[0];var should=require(_0x53c7[1]);var app=require(_0x53c7[2]);var request=require(_0x53c7[3]);describe(_0x53c7[4],function(){it(_0x53c7[5],function(_0x2e4cx4){request(app)[_0x53c7[13]](_0x53c7[12])[_0x53c7[11]](200)[_0x53c7[11]](_0x53c7[10],/json/)[_0x53c7[9]](function(_0x2e4cx5,_0x2e4cx6){if(_0x2e4cx5){return _0x2e4cx4(_0x2e4cx5)};_0x2e4cx6[_0x53c7[8]][_0x53c7[1]][_0x53c7[7]][_0x53c7[6]](Array);_0x2e4cx4();})})});
\ No newline at end of file
index ab1c173..b056052 100644 (file)
@@ -1 +1 @@
-var _0x4cc5=["\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","\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"];_0x4cc5[0];var express=require(_0x4cc5[1]);var controller=require(_0x4cc5[2]);var auth=require(_0x4cc5[3]);var router=express.Router();router[_0x4cc5[7]](_0x4cc5[4],auth[_0x4cc5[5]](),controller[_0x4cc5[6]]);router[_0x4cc5[7]](_0x4cc5[8],auth[_0x4cc5[5]](),controller[_0x4cc5[9]]);router[_0x4cc5[7]](_0x4cc5[10],auth[_0x4cc5[5]](),controller[_0x4cc5[11]]);module[_0x4cc5[12]]=router;
\ No newline at end of file
+var _0xd4f9=["\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","\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"];_0xd4f9[0];var express=require(_0xd4f9[1]);var controller=require(_0xd4f9[2]);var auth=require(_0xd4f9[3]);var router=express.Router();router[_0xd4f9[7]](_0xd4f9[4],auth[_0xd4f9[5]](),controller[_0xd4f9[6]]);router[_0xd4f9[7]](_0xd4f9[8],auth[_0xd4f9[5]](),controller[_0xd4f9[9]]);router[_0xd4f9[7]](_0xd4f9[10],auth[_0xd4f9[5]](),controller[_0xd4f9[11]]);module[_0xd4f9[12]]=router;
\ No newline at end of file
index 24215e9..5c80410 100644 (file)
@@ -1 +1 @@
-var _0x8921=["\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","\x63\x6F\x75\x6E\x74\x65\x72","\x72\x65\x70\x6F\x72\x74\x5F\x25\x73","\x74\x61\x62\x6C\x65","\x71\x75\x65\x72\x79","\x66\x6F\x72\x6D\x61\x74","\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\x43\x4F\x55\x4E\x54\x28\x2A\x29\x20\x61\x73\x20\x63\x6F\x75\x6E\x74\x20\x46\x52\x4F\x4D\x20\x25\x73\x20\x57\x48\x45\x52\x45\x20\x25\x73","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\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","\x70\x69\x65\x63\x68\x61\x72\x74","","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x20\x57\x48\x45\x52\x45\x20\x25\x73","\x53\x45\x4C\x45\x43\x54\x20\x25\x73\x20\x46\x52\x4F\x4D\x20\x25\x73\x25\x73"];_0x8921[0];var _=require(_0x8921[1]);var util=require(_0x8921[2]);var sequelize=require(_0x8921[4])[_0x8921[3]];exports[_0x8921[5]]=function(_0xcbddx4,_0xcbddx5){var _0xcbddx6=util[_0x8921[9]](_0x8921[6],_0xcbddx4[_0x8921[8]][_0x8921[7]]);sequelize[_0x8921[8]](util[_0x8921[9]](_0x8921[14],_0xcbddx6,decodeURIComponent(_0xcbddx4[_0x8921[8]][_0x8921[15]])),{type:sequelize[_0x8921[17]][_0x8921[16]]})[_0x8921[13]](function(_0xcbddx8){return _0xcbddx5[_0x8921[12]](200)[_0x8921[11]](_0xcbddx8)})[_0x8921[10]](function(_0xcbddx7){return handleError(_0xcbddx5,_0xcbddx7)});};exports[_0x8921[7]]=function(_0xcbddx4,_0xcbddx5){var _0xcbddx9=[];var _0xcbddxa;if(_0xcbddx4[_0x8921[8]][_0x8921[18]]){if(_[_0x8921[19]](_0xcbddx4[_0x8921[8]][_0x8921[18]])){_0xcbddx4[_0x8921[8]][_0x8921[18]][_0x8921[26]](function(_0xcbddxb){_0xcbddxa=JSON[_0x8921[20]](_0xcbddxb);if(_0xcbddxa[_0x8921[21]]&&_0xcbddxa[_0x8921[22]]){_0xcbddx9[_0x8921[25]](_0xcbddxa[_0x8921[21]]+_0x8921[23]+_0xcbddxa[_0x8921[22]]+_0x8921[24])};})}else {if(_[_0x8921[27]](_0xcbddx4[_0x8921[8]][_0x8921[18]])){_0xcbddxa=JSON[_0x8921[20]](_0xcbddx4[_0x8921[8]][_0x8921[18]]);if(_0xcbddxa[_0x8921[21]]&&_0xcbddxa[_0x8921[22]]){_0xcbddx9[_0x8921[25]](_0xcbddxa[_0x8921[21]]+_0x8921[23]+_0xcbddxa[_0x8921[22]]+_0x8921[24])};}}};var _0xcbddxc=_0xcbddx9[_0x8921[28]]?_0xcbddx9[_0x8921[30]](_0x8921[29]):_0x8921[31];var _0xcbddx6=util[_0x8921[9]](_0x8921[6],_0xcbddx4[_0x8921[8]][_0x8921[7]]);sequelize[_0x8921[8]](util[_0x8921[9]](_0x8921[32],_0xcbddxc,_0xcbddx6,decodeURIComponent(_0xcbddx4[_0x8921[8]][_0x8921[15]])),{type:sequelize[_0x8921[17]][_0x8921[16]]})[_0x8921[13]](function(_0xcbddx8){return _0xcbddx5[_0x8921[12]](200)[_0x8921[11]](_0xcbddx8)})[_0x8921[10]](function(_0xcbddx7){return handleError(_0xcbddx5,_0xcbddx7)});};exports[_0x8921[33]]=function(_0xcbddx4,_0xcbddx5){var _0xcbddx9=[];var _0xcbddxa;if(_0xcbddx4[_0x8921[8]][_0x8921[18]]){if(_[_0x8921[19]](_0xcbddx4[_0x8921[8]][_0x8921[18]])){_0xcbddx4[_0x8921[8]][_0x8921[18]][_0x8921[26]](function(_0xcbddxb){_0xcbddxa=JSON[_0x8921[20]](_0xcbddxb);if(_0xcbddxa[_0x8921[21]]&&_0xcbddxa[_0x8921[22]]){_0xcbddx9[_0x8921[25]](_0xcbddxa[_0x8921[21]]+_0x8921[23]+_0xcbddxa[_0x8921[22]]+_0x8921[24])};})}else {if(_[_0x8921[27]](_0xcbddx4[_0x8921[8]][_0x8921[18]])){_0xcbddxa=JSON[_0x8921[20]](_0xcbddx4[_0x8921[8]][_0x8921[18]]);if(_0xcbddxa[_0x8921[21]]&&_0xcbddxa[_0x8921[22]]){_0xcbddx9[_0x8921[25]](_0xcbddxa[_0x8921[21]]+_0x8921[23]+_0xcbddxa[_0x8921[22]]+_0x8921[24])};}}};var _0xcbddxc=_0xcbddx9[_0x8921[28]]?_0xcbddx9[_0x8921[30]](_0x8921[29]):_0x8921[31];var _0xcbddx6=util[_0x8921[9]](_0x8921[6],_0xcbddx4[_0x8921[8]][_0x8921[7]]);var _0xcbddxd=_0x8921[34];if(_0xcbddx4[_0x8921[8]][_0x8921[15]]!==_0x8921[35]){_0xcbddxd=util[_0x8921[9]](_0x8921[36],decodeURIComponent(_0xcbddx4[_0x8921[8]][_0x8921[15]]))};sequelize[_0x8921[8]](util[_0x8921[9]](_0x8921[37],_0xcbddxc,_0xcbddx6,_0xcbddxd),{type:sequelize[_0x8921[17]][_0x8921[16]]})[_0x8921[13]](function(_0xcbddx8){return _0xcbddx5[_0x8921[12]](200)[_0x8921[11]](_0xcbddx8)})[_0x8921[10]](function(_0xcbddx7){return handleError(_0xcbddx5,_0xcbddx7)});};function handleError(_0xcbddx5,_0xcbddx7){return _0xcbddx5[_0x8921[12]](500)[_0x8921[11]](_0xcbddx7)}
\ No newline at end of file
+var _0x71fe=["\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","\x63\x6F\x75\x6E\x74\x65\x72","\x72\x65\x70\x6F\x72\x74\x5F\x25\x73","\x74\x61\x62\x6C\x65","\x71\x75\x65\x72\x79","\x66\x6F\x72\x6D\x61\x74","\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\x43\x4F\x55\x4E\x54\x28\x2A\x29\x20\x61\x73\x20\x63\x6F\x75\x6E\x74\x20\x46\x52\x4F\x4D\x20\x25\x73\x20\x57\x48\x45\x52\x45\x20\x25\x73","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\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","\x70\x69\x65\x63\x68\x61\x72\x74","","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x20\x57\x48\x45\x52\x45\x20\x25\x73","\x53\x45\x4C\x45\x43\x54\x20\x25\x73\x20\x46\x52\x4F\x4D\x20\x25\x73\x25\x73"];_0x71fe[0];var _=require(_0x71fe[1]);var util=require(_0x71fe[2]);var sequelize=require(_0x71fe[4])[_0x71fe[3]];exports[_0x71fe[5]]=function(_0xec62x4,_0xec62x5){var _0xec62x6=util[_0x71fe[9]](_0x71fe[6],_0xec62x4[_0x71fe[8]][_0x71fe[7]]);sequelize[_0x71fe[8]](util[_0x71fe[9]](_0x71fe[14],_0xec62x6,decodeURIComponent(_0xec62x4[_0x71fe[8]][_0x71fe[15]])),{type:sequelize[_0x71fe[17]][_0x71fe[16]]})[_0x71fe[13]](function(_0xec62x8){return _0xec62x5[_0x71fe[12]](200)[_0x71fe[11]](_0xec62x8)})[_0x71fe[10]](function(_0xec62x7){return handleError(_0xec62x5,_0xec62x7)});};exports[_0x71fe[7]]=function(_0xec62x4,_0xec62x5){var _0xec62x9=[];var _0xec62xa;if(_0xec62x4[_0x71fe[8]][_0x71fe[18]]){if(_[_0x71fe[19]](_0xec62x4[_0x71fe[8]][_0x71fe[18]])){_0xec62x4[_0x71fe[8]][_0x71fe[18]][_0x71fe[26]](function(_0xec62xb){_0xec62xa=JSON[_0x71fe[20]](_0xec62xb);if(_0xec62xa[_0x71fe[21]]&&_0xec62xa[_0x71fe[22]]){_0xec62x9[_0x71fe[25]](_0xec62xa[_0x71fe[21]]+_0x71fe[23]+_0xec62xa[_0x71fe[22]]+_0x71fe[24])};})}else {if(_[_0x71fe[27]](_0xec62x4[_0x71fe[8]][_0x71fe[18]])){_0xec62xa=JSON[_0x71fe[20]](_0xec62x4[_0x71fe[8]][_0x71fe[18]]);if(_0xec62xa[_0x71fe[21]]&&_0xec62xa[_0x71fe[22]]){_0xec62x9[_0x71fe[25]](_0xec62xa[_0x71fe[21]]+_0x71fe[23]+_0xec62xa[_0x71fe[22]]+_0x71fe[24])};}}};var _0xec62xc=_0xec62x9[_0x71fe[28]]?_0xec62x9[_0x71fe[30]](_0x71fe[29]):_0x71fe[31];var _0xec62x6=util[_0x71fe[9]](_0x71fe[6],_0xec62x4[_0x71fe[8]][_0x71fe[7]]);sequelize[_0x71fe[8]](util[_0x71fe[9]](_0x71fe[32],_0xec62xc,_0xec62x6,decodeURIComponent(_0xec62x4[_0x71fe[8]][_0x71fe[15]])),{type:sequelize[_0x71fe[17]][_0x71fe[16]]})[_0x71fe[13]](function(_0xec62x8){return _0xec62x5[_0x71fe[12]](200)[_0x71fe[11]](_0xec62x8)})[_0x71fe[10]](function(_0xec62x7){return handleError(_0xec62x5,_0xec62x7)});};exports[_0x71fe[33]]=function(_0xec62x4,_0xec62x5){var _0xec62x9=[];var _0xec62xa;if(_0xec62x4[_0x71fe[8]][_0x71fe[18]]){if(_[_0x71fe[19]](_0xec62x4[_0x71fe[8]][_0x71fe[18]])){_0xec62x4[_0x71fe[8]][_0x71fe[18]][_0x71fe[26]](function(_0xec62xb){_0xec62xa=JSON[_0x71fe[20]](_0xec62xb);if(_0xec62xa[_0x71fe[21]]&&_0xec62xa[_0x71fe[22]]){_0xec62x9[_0x71fe[25]](_0xec62xa[_0x71fe[21]]+_0x71fe[23]+_0xec62xa[_0x71fe[22]]+_0x71fe[24])};})}else {if(_[_0x71fe[27]](_0xec62x4[_0x71fe[8]][_0x71fe[18]])){_0xec62xa=JSON[_0x71fe[20]](_0xec62x4[_0x71fe[8]][_0x71fe[18]]);if(_0xec62xa[_0x71fe[21]]&&_0xec62xa[_0x71fe[22]]){_0xec62x9[_0x71fe[25]](_0xec62xa[_0x71fe[21]]+_0x71fe[23]+_0xec62xa[_0x71fe[22]]+_0x71fe[24])};}}};var _0xec62xc=_0xec62x9[_0x71fe[28]]?_0xec62x9[_0x71fe[30]](_0x71fe[29]):_0x71fe[31];var _0xec62x6=util[_0x71fe[9]](_0x71fe[6],_0xec62x4[_0x71fe[8]][_0x71fe[7]]);var _0xec62xd=_0x71fe[34];if(_0xec62x4[_0x71fe[8]][_0x71fe[15]]!==_0x71fe[35]){_0xec62xd=util[_0x71fe[9]](_0x71fe[36],decodeURIComponent(_0xec62x4[_0x71fe[8]][_0x71fe[15]]))};sequelize[_0x71fe[8]](util[_0x71fe[9]](_0x71fe[37],_0xec62xc,_0xec62x6,_0xec62xd),{type:sequelize[_0x71fe[17]][_0x71fe[16]]})[_0x71fe[13]](function(_0xec62x8){return _0xec62x5[_0x71fe[12]](200)[_0x71fe[11]](_0xec62x8)})[_0x71fe[10]](function(_0xec62x7){return handleError(_0xec62x5,_0xec62x7)});};function handleError(_0xec62x5,_0xec62x7){return _0xec62x5[_0x71fe[12]](500)[_0x71fe[11]](_0xec62x7)}
\ No newline at end of file
index 62a30ab..0541d5c 100644 (file)
@@ -1 +1 @@
-var _0x306f=["\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\x77\x69\x64\x67\x65\x74\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\x77\x69\x64\x67\x65\x74\x73","\x67\x65\x74"];_0x306f[0];var should=require(_0x306f[1]);var app=require(_0x306f[2]);var request=require(_0x306f[3]);describe(_0x306f[4],function(){it(_0x306f[5],function(_0xd08fx4){request(app)[_0x306f[13]](_0x306f[12])[_0x306f[11]](200)[_0x306f[11]](_0x306f[10],/json/)[_0x306f[9]](function(_0xd08fx5,_0xd08fx6){if(_0xd08fx5){return _0xd08fx4(_0xd08fx5)};_0xd08fx6[_0x306f[8]][_0x306f[1]][_0x306f[7]][_0x306f[6]](Array);_0xd08fx4();})})});
\ No newline at end of file
+var _0xeca7=["\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\x77\x69\x64\x67\x65\x74\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\x77\x69\x64\x67\x65\x74\x73","\x67\x65\x74"];_0xeca7[0];var should=require(_0xeca7[1]);var app=require(_0xeca7[2]);var request=require(_0xeca7[3]);describe(_0xeca7[4],function(){it(_0xeca7[5],function(_0xed97x4){request(app)[_0xeca7[13]](_0xeca7[12])[_0xeca7[11]](200)[_0xeca7[11]](_0xeca7[10],/json/)[_0xeca7[9]](function(_0xed97x5,_0xed97x6){if(_0xed97x5){return _0xed97x4(_0xed97x5)};_0xed97x6[_0xeca7[8]][_0xeca7[1]][_0xeca7[7]][_0xeca7[6]](Array);_0xed97x4();})})});
\ No newline at end of file
index a840475..1071bcb 100644 (file)
@@ -1 +1 @@
-var _0xf525=["\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\x74\x61\x74\x75\x73","\x67\x65\x74\x53\x74\x61\x74\x75\x73","\x2F\x73\x69\x67\x6E\x75\x70","\x73\x69\x67\x6E\x75\x70\x43\x75\x73\x74\x6F\x6D\x65\x72","\x2F\x72\x65\x61\x64","\x67\x65\x74\x4D\x65\x73\x73\x61\x67\x65\x73","\x2F\x73\x65\x6E\x64","\x73\x65\x6E\x64\x4D\x65\x73\x73\x61\x67\x65","\x2F\x73\x69\x67\x6E\x6F\x75\x74","\x73\x69\x67\x6E\x6F\x75\x74\x43\x75\x73\x74\x6F\x6D\x65\x72","\x2F\x73\x75\x62\x6D\x69\x74","\x73\x75\x62\x6D\x69\x74\x45\x6E\x71\x75\x69\x72\x79","\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","\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","\x67\x65\x74\x4A\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","\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"];_0xf525[0];var express=require(_0xf525[1]);var controller=require(_0xf525[2]);var router=express.Router();router[_0xf525[5]](_0xf525[3],controller[_0xf525[4]]);router[_0xf525[5]](_0xf525[6],controller[_0xf525[7]]);router[_0xf525[5]](_0xf525[8],controller[_0xf525[9]]);router[_0xf525[5]](_0xf525[10],controller[_0xf525[11]]);router[_0xf525[5]](_0xf525[12],controller[_0xf525[13]]);router[_0xf525[5]](_0xf525[14],controller[_0xf525[15]]);router[_0xf525[5]](_0xf525[16],controller[_0xf525[17]]);router[_0xf525[5]](_0xf525[18],controller[_0xf525[19]]);router[_0xf525[5]](_0xf525[20],controller[_0xf525[21]]);router[_0xf525[5]](_0xf525[22],controller[_0xf525[23]]);router[_0xf525[5]](_0xf525[24],controller[_0xf525[25]]);router[_0xf525[5]](_0xf525[26],controller[_0xf525[27]]);router[_0xf525[30]](_0xf525[28],controller[_0xf525[29]]);router[_0xf525[32]](_0xf525[24],controller[_0xf525[31]]);router[_0xf525[33]](_0xf525[24],controller[_0xf525[31]]);router[_0xf525[35]](_0xf525[24],controller[_0xf525[34]]);module[_0xf525[36]]=router;
\ No newline at end of file
+var _0xcf45=["\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\x74\x61\x74\x75\x73","\x67\x65\x74\x53\x74\x61\x74\x75\x73","\x2F\x73\x69\x67\x6E\x75\x70","\x73\x69\x67\x6E\x75\x70\x43\x75\x73\x74\x6F\x6D\x65\x72","\x2F\x72\x65\x61\x64","\x67\x65\x74\x4D\x65\x73\x73\x61\x67\x65\x73","\x2F\x73\x65\x6E\x64","\x73\x65\x6E\x64\x4D\x65\x73\x73\x61\x67\x65","\x2F\x73\x69\x67\x6E\x6F\x75\x74","\x73\x69\x67\x6E\x6F\x75\x74\x43\x75\x73\x74\x6F\x6D\x65\x72","\x2F\x73\x75\x62\x6D\x69\x74","\x73\x75\x62\x6D\x69\x74\x45\x6E\x71\x75\x69\x72\x79","\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","\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","\x67\x65\x74\x4A\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","\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"];_0xcf45[0];var express=require(_0xcf45[1]);var controller=require(_0xcf45[2]);var router=express.Router();router[_0xcf45[5]](_0xcf45[3],controller[_0xcf45[4]]);router[_0xcf45[5]](_0xcf45[6],controller[_0xcf45[7]]);router[_0xcf45[5]](_0xcf45[8],controller[_0xcf45[9]]);router[_0xcf45[5]](_0xcf45[10],controller[_0xcf45[11]]);router[_0xcf45[5]](_0xcf45[12],controller[_0xcf45[13]]);router[_0xcf45[5]](_0xcf45[14],controller[_0xcf45[15]]);router[_0xcf45[5]](_0xcf45[16],controller[_0xcf45[17]]);router[_0xcf45[5]](_0xcf45[18],controller[_0xcf45[19]]);router[_0xcf45[5]](_0xcf45[20],controller[_0xcf45[21]]);router[_0xcf45[5]](_0xcf45[22],controller[_0xcf45[23]]);router[_0xcf45[5]](_0xcf45[24],controller[_0xcf45[25]]);router[_0xcf45[5]](_0xcf45[26],controller[_0xcf45[27]]);router[_0xcf45[30]](_0xcf45[28],controller[_0xcf45[29]]);router[_0xcf45[32]](_0xcf45[24],controller[_0xcf45[31]]);router[_0xcf45[33]](_0xcf45[24],controller[_0xcf45[31]]);router[_0xcf45[35]](_0xcf45[24],controller[_0xcf45[34]]);module[_0xcf45[36]]=router;
\ No newline at end of file
index 5fd0dee..258504a 100644 (file)
@@ -1 +1 @@
-var _0xe939=["\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","\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","\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","\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","\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\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","\x6F\x70\x65\x6E\x5F\x73\x74\x61\x74\x65","\x64\x61\x74\x61","\x72\x6F\x6F\x6D\x5F\x69\x64","\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","\x76\x69\x73\x69\x74\x6F\x72\x5F\x69\x64","\x73\x69\x67\x6E\x65\x64\x5F\x75\x70","\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x28","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x29","\x6F\x70\x65\x6E","\x66\x69\x6E\x64\x4F\x6E\x65","\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","\x63\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x6C\x6F\x67","\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","\x63\x6C\x6F\x73\x65","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\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","\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E","\x72\x65\x6D\x6F\x74\x65\x41\x64\x64\x72\x65\x73\x73","\x63\x6F\x6E\x6E\x65\x63\x74\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","\x62\x61\x73\x65\x36\x34","\x75\x6E\x73\x65\x72\x76\x65\x64\x43\x75\x73\x74\x6F\x6D\x65\x72","\x75\x6E\x73\x65\x72\x76\x65\x64","\x73\x75\x62\x6D\x69\x74\x45\x6E\x71\x75\x69\x72\x79","\x72\x6F\x6C\x6C\x62\x61\x63\x6B","\x63\x6F\x6D\x6D\x69\x74","\x45\x6E\x71\x75\x69\x72\x79","\x77\x65\x62\x73\x69\x74\x65\x49\x64","\x65\x6E\x71\x75\x69\x72\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x67\x65\x74\x54\x72\x61\x6E\x73\x63\x72\x69\x70\x74","\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","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xe939[0];var _=require(_0xe939[1]);var jsmin=require(_0xe939[2])[_0xe939[2]];var Mustache=require(_0xe939[3]);var querystring=require(_0xe939[4]);var path=require(_0xe939[5]);var md5=require(_0xe939[6]);var fs=require(_0xe939[7]);var UAParser=require(_0xe939[8]);var uaParser= new UAParser();var languageParser=require(_0xe939[9]);var ipaddr=require(_0xe939[10]);var geoip=require(_0xe939[11]);var csv=require(_0xe939[12]);var config=require(_0xe939[13]);var Xchatty=require(_0xe939[15])[_0xe939[14]];var xchatty_components=require(_0xe939[16]);var sequelize=require(_0xe939[15])[_0xe939[17]];var User=require(_0xe939[15])[_0xe939[18]];var Agent=require(_0xe939[15])[_0xe939[18]];var ChatRoom=require(_0xe939[15])[_0xe939[19]];var ChatEnquiry=require(_0xe939[15])[_0xe939[20]];var ChatVisitor=require(_0xe939[15])[_0xe939[21]];var ChatMessage=require(_0xe939[15])[_0xe939[22]];var ChatWebsite=require(_0xe939[15])[_0xe939[23]];var id=1;exports[_0xe939[24]]=function(_0x7482x1a,_0x7482x1b,_0x7482x1c){Xchatty[_0xe939[29]]()[_0xe939[28]](function(_0x7482x1e){return _0x7482x1b[_0xe939[27]](200)[_0xe939[26]](_0x7482x1e)})[_0xe939[25]](function(_0x7482x1d){return _0x7482x1c(_0x7482x1d)})};exports[_0xe939[30]]=function(_0x7482x1a,_0x7482x1b,_0x7482x1c){ChatWebsite[_0xe939[57]](_0x7482x1a[_0xe939[36]][_0xe939[35]])[_0xe939[28]](function(_0x7482x1f){_0x7482x1b[_0xe939[33]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0xe939[31],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0xe939[32]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0x7482x20=xchatty_components[_0xe939[34]];var _0x7482x21={websiteId:_0x7482x1a[_0xe939[36]][_0xe939[35]],rootPath:_0x7482x1f[_0xe939[37]]+_0xe939[38],signedUp:_0xe939[39],windowFocused:_0xe939[39],isNewPage:_0xe939[40],processingSignUp:_0xe939[39],processingEnquiry:_0xe939[39],processingSend:_0xe939[39],visitorFullname:_0xe939[41],visitorAvatar:_0xe939[41],timerReadMessages:_0xe939[42],timerCheckStatus:_0xe939[42],isOnline:_0xe939[39],decayHistory:0,defaultTimeout:2000,isInitialStatusCheck:_0xe939[40],muteNotificationSoundOnce:_0xe939[39],assetBase:_0x7482x1f[_0xe939[37]]+_0xe939[43],hasSessionSaf:_0xe939[39],restoreOpenState:_0xe939[39],animateHover:_0x7482x1f[_0xe939[44]],hideEmail:_0xe939[39],hideOffline:_0xe939[39],headerShape:_0x7482x1f[_0xe939[45]],HeaderOnline:_0x7482x1f[_0xe939[46]],OnlineMessage:_0x7482x1f[_0xe939[47]],UsernamePlaceholder:_0x7482x1f[_0xe939[48]],EmailPlaceholder:_0x7482x1f[_0xe939[49]],StartChatButtonText:_0x7482x1f[_0xe939[50]],OfflineMessage:_0x7482x1f[_0xe939[51]],HeaderOffline:_0x7482x1f[_0xe939[52]],EnquiryMessagePlaceholder:_0x7482x1f[_0xe939[53]],EnquiryButtonText:_0x7482x1f[_0xe939[54]],downloadTranscript:_0x7482x1f[_0xe939[55]]};_0x7482x20=Mustache[_0xe939[56]](_0x7482x20,_0x7482x21);_0x7482x1b[_0xe939[26]](_0x7482x20);})[_0xe939[25]](function(_0x7482x1d){_0x7482x1c(_0x7482x1d)})};exports[_0xe939[58]]=function(_0x7482x1a,_0x7482x1b,_0x7482x1c){ChatWebsite[_0xe939[57]](_0x7482x1a[_0xe939[36]][_0xe939[35]])[_0xe939[28]](function(_0x7482x1f){_0x7482x1b[_0xe939[33]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0xe939[59],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0xe939[32]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0x7482x22=xchatty_components[_0xe939[60]];var _0x7482x23={assetBase:_0x7482x1f[_0xe939[37]]+_0xe939[43],color:_0x7482x1f[_0xe939[61]],colorFocus:_0x7482x1f[_0xe939[62]],colorButton:_0x7482x1f[_0xe939[63]]};_0x7482x22=Mustache[_0xe939[56]](_0x7482x22,_0x7482x23);_0x7482x1b[_0xe939[26]](_0x7482x22);})[_0xe939[25]](function(_0x7482x1d){_0x7482x1c(_0x7482x1d)})};exports[_0xe939[64]]=function(_0x7482x1a,_0x7482x1b,_0x7482x1c){_0x7482x1b[_0xe939[73]](path[_0xe939[72]](config[_0xe939[65]],_0xe939[66],_0xe939[67],_0xe939[68],_0xe939[69],_0x7482x1a[_0xe939[71]][_0xe939[70]]))};exports[_0xe939[74]]=function(_0x7482x1a,_0x7482x1b,_0x7482x1c){_0x7482x1b[_0xe939[33]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0xe939[31],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0xe939[32]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0x7482x24=xchatty_components[_0xe939[75]];_0x7482x1b[_0xe939[26]](_0x7482x24);};exports[_0xe939[76]]=function(_0x7482x1a,_0x7482x1b,_0x7482x1c){if(!_0x7482x1a[_0xe939[77]][_0xe939[68]]){_0x7482x1a[_0xe939[77]][_0xe939[68]]={}};Agent[_0xe939[29]]({where:{online:true,role:_0xe939[94]}})[_0xe939[28]](function(_0x7482x25){if(_0x7482x1a[_0xe939[71]][_0xe939[79]][_0xe939[78]]){_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[78]]=_0x7482x1a[_0xe939[71]][_0xe939[79]][_0xe939[78]]===_0xe939[40]?true:false};var _0x7482x26={success:true,has_session_saf:null,signed_up:_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[80]]?true:false,fullname:_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[81]]?_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[81]]:_0xe939[82],email:_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[83]]?_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[83]]:_0xe939[82],avatar:_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[84]]?_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[84]]:_0xe939[82],open_state:_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[78]]||_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[80]]?true:false,online:_0x7482x25[_0xe939[85]]?true:false};if(_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[86]]){ChatRoom[_0xe939[93]]({where:{ChatVisitorId:_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[86]],status:_0xe939[92]}})[_0xe939[28]](function(_0x7482x27){if(_0x7482x27){_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[80]]=_0x7482x27[_0xe939[35]];_0x7482x26[_0xe939[87]]=true;}else {_0x7482x26[_0xe939[87]]=false};_0x7482x1b[_0xe939[26]](_0x7482x1a[_0xe939[71]][_0xe939[88]]+_0xe939[89]+JSON[_0xe939[90]](_0x7482x26)+_0xe939[91]);})[_0xe939[25]](function(_0x7482x1d){_0x7482x1c(_0x7482x1d)})}else {_0x7482x1b[_0xe939[26]](_0x7482x1a[_0xe939[71]][_0xe939[88]]+_0xe939[89]+JSON[_0xe939[90]](_0x7482x26)+_0xe939[91])};})[_0xe939[25]](function(_0x7482x1d){return _0x7482x1c(_0x7482x1d)});};exports[_0xe939[95]]=function(_0x7482x1a,_0x7482x1b,_0x7482x1c){var _0x7482x28={where:{ChatRoomId:_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[80]]},include:[{model:User,attributes:[_0xe939[35],_0xe939[96],_0xe939[81],_0xe939[83]]},{model:ChatVisitor,attributes:[_0xe939[35],_0xe939[81],_0xe939[83]]}]};if(_0x7482x1a[_0xe939[71]][_0xe939[79]][_0xe939[97]]===_0xe939[39]){_0x7482x28[_0xe939[98]][_0xe939[35]]={$gt:_0x7482x1a[_0xe939[71]][_0xe939[79]][_0xe939[99]]}};ChatMessage[_0xe939[29]](_0x7482x28)[_0xe939[28]](function(_0x7482x29){var _0x7482x2a={success:true,messages:_0x7482x29,composing:false,composing_fullname:null};_0x7482x1b[_0xe939[26]](_0x7482x1a[_0xe939[71]][_0xe939[88]]+_0xe939[89]+JSON[_0xe939[90]](_0x7482x2a)+_0xe939[91]);})[_0xe939[25]](function(_0x7482x1d){_0x7482x1c(_0x7482x1d)});};exports[_0xe939[100]]=function(_0x7482x1a,_0x7482x1b,_0x7482x1c){var _0x7482x28={where:{ChatRoomId:_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[80]]},include:[{model:User,attributes:[_0xe939[35],_0xe939[96],_0xe939[81],_0xe939[83]]},{model:ChatVisitor,attributes:[_0xe939[35],_0xe939[81],_0xe939[83]]}]};if(_0x7482x1a[_0xe939[71]][_0xe939[79]][_0xe939[97]]===_0xe939[39]){_0x7482x28[_0xe939[98]][_0xe939[35]]={$gt:_0x7482x1a[_0xe939[71]][_0xe939[79]][_0xe939[99]]}};ChatMessage[_0xe939[105]]({body:_0x7482x1a[_0xe939[71]][_0xe939[79]][_0xe939[104]][_0xe939[103]],ChatRoomId:_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[80]],ChatVisitorId:_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[86]]})[_0xe939[28]](function(_0x7482x2b){console[_0xe939[102]](_0xe939[101],_0x7482x2b);ChatMessage[_0xe939[29]](_0x7482x28)[_0xe939[28]](function(_0x7482x29){var _0x7482x2a={errors:[],success:true,data:_0x7482x2b,messages:_0x7482x29};_0x7482x1b[_0xe939[26]](_0x7482x1a[_0xe939[71]][_0xe939[88]]+_0xe939[89]+JSON[_0xe939[90]](_0x7482x2a)+_0xe939[91]);})[_0xe939[25]](function(_0x7482x1d){_0x7482x1c(_0x7482x1d)});})[_0xe939[25]](function(_0x7482x1d){_0x7482x1c(_0x7482x1d)});};exports[_0xe939[106]]=function(_0x7482x1a,_0x7482x1b,_0x7482x1c){ChatRoom[_0xe939[57]](_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[80]])[_0xe939[28]](function(_0x7482x27){_0x7482x27[_0xe939[108]]({status:_0xe939[107]})[_0xe939[28]](function(_0x7482x27){var _0x7482x2a={success:true,errors:[]};_0x7482x1a[_0xe939[77]][_0xe939[68]]={};_0x7482x1b[_0xe939[26]](_0x7482x1a[_0xe939[71]][_0xe939[88]]+_0xe939[89]+JSON[_0xe939[90]](_0x7482x2a)+_0xe939[91]);})[_0xe939[25]](function(_0x7482x1d){_0x7482x1c(_0x7482x1d)})})[_0xe939[25]](function(_0x7482x1d){_0x7482x1c(_0x7482x1d)})};exports[_0xe939[109]]=function(_0x7482x1a,_0x7482x1b,_0x7482x1c){var _0x7482x2c=uaParser[_0xe939[113]](_0x7482x1a[_0xe939[112]][_0xe939[111]])[_0xe939[110]]();var _0x7482x2d=languageParser[_0xe939[115]](_0x7482x1a[_0xe939[112]][_0xe939[114]]);var _0x7482x2e={fullname:_0x7482x1a[_0xe939[71]][_0xe939[79]][_0xe939[116]][_0xe939[81]],email:_0x7482x1a[_0xe939[71]][_0xe939[79]][_0xe939[116]][_0xe939[83]],remote_address:_0x7482x1a[_0xe939[118]][_0xe939[117]],user_agent:_0x7482x1a[_0xe939[112]][_0xe939[111]],visitor_language:_0x7482x1a[_0xe939[112]][_0xe939[114]],referer:_0x7482x1a[_0xe939[112]][_0xe939[119]],origin:_0xe939[120],browser:_0x7482x2c[_0xe939[121]][_0xe939[96]]+_0xe939[122]+_0x7482x2c[_0xe939[121]][_0xe939[123]],engine:_0x7482x2c[_0xe939[124]][_0xe939[96]]+_0xe939[122]+_0x7482x2c[_0xe939[124]][_0xe939[123]],os:_0x7482x2c[_0xe939[125]][_0xe939[96]]+_0xe939[122]+_0x7482x2c[_0xe939[125]][_0xe939[123]],device:_0x7482x2c[_0xe939[127]][_0xe939[126]]?_0x7482x2c[_0xe939[127]][_0xe939[126]]+_0xe939[122]+_0x7482x2c[_0xe939[127]][_0xe939[128]]+_0xe939[122]+_0x7482x2c[_0xe939[127]][_0xe939[129]]:null,ChatWebsiteId:_0x7482x1a[_0xe939[71]][_0xe939[130]]};return ChatVisitor[_0xe939[105]](_0x7482x2e)[_0xe939[28]](function(_0x7482x2f){_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[81]]=_0x7482x2f[_0xe939[81]];_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[83]]=_0x7482x2f[_0xe939[83]];_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[84]]=md5(_0x7482x2f[_0xe939[83]]).toString(_0xe939[131]);_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[86]]=_0x7482x2f[_0xe939[35]];var _0x7482x2a={success:true,errors:[],chatVisitor:{id:_0x7482x2f[_0xe939[35]]}};_0x7482x1b[_0xe939[26]](_0x7482x1a[_0xe939[71]][_0xe939[88]]+_0xe939[89]+JSON[_0xe939[90]](_0x7482x2a)+_0xe939[91]);})[_0xe939[25]](function(_0x7482x1d){_0x7482x1c(_0x7482x1d)});};exports[_0xe939[132]]=function(_0x7482x1a,_0x7482x1b,_0x7482x1c){ChatVisitor[_0xe939[57]](_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[86]])[_0xe939[28]](function(_0x7482x2f){_0x7482x2f[_0xe939[108]]({status:_0xe939[133]})[_0xe939[28]](function(){var _0x7482x2a={success:true,errors:[]};_0x7482x1a[_0xe939[77]][_0xe939[68]]={};_0x7482x1b[_0xe939[26]](_0x7482x1a[_0xe939[71]][_0xe939[88]]+_0xe939[89]+JSON[_0xe939[90]](_0x7482x2a)+_0xe939[91]);})[_0xe939[25]](function(_0x7482x1d){_0x7482x1c(_0x7482x1d)})})[_0xe939[25]](function(_0x7482x1d){_0x7482x1c(_0x7482x1d)})};exports[_0xe939[134]]=function(_0x7482x1a,_0x7482x1b,_0x7482x1c){var _0x7482x30;var _0x7482x31;return sequelize[_0xe939[140]]()[_0xe939[28]](function(_0x7482x32){return ChatVisitor[_0xe939[105]]({fullname:_0x7482x1a[_0xe939[71]][_0xe939[79]][_0xe939[137]][_0xe939[81]],email:_0x7482x1a[_0xe939[71]][_0xe939[79]][_0xe939[137]][_0xe939[83]],remote_address:_0x7482x1a[_0xe939[118]][_0xe939[117]],user_agent:_0x7482x1a[_0xe939[112]][_0xe939[111]],visitor_language:_0x7482x1a[_0xe939[112]][_0xe939[114]],referer:_0x7482x1a[_0xe939[112]][_0xe939[119]],origin:_0xe939[139],status:_0xe939[133]},{transaction:_0x7482x32})[_0xe939[28]](function(_0x7482x2f){_0x7482x30=_0x7482x2f;return ChatEnquiry[_0xe939[105]]({username:_0x7482x1a[_0xe939[71]][_0xe939[79]][_0xe939[137]][_0xe939[81]],email:_0x7482x2f[_0xe939[83]],text:_0x7482x1a[_0xe939[71]][_0xe939[79]][_0xe939[137]][_0xe939[103]],ChatWebsiteId:parseInt(_0x7482x1a[_0xe939[71]][_0xe939[79]][_0xe939[137]][_0xe939[138]],10),ChatVisitorId:_0x7482x30[_0xe939[35]]},{include:[{all:true,include:[{all:true}]}],transaction:_0x7482x32});})[_0xe939[28]](function(){_0x7482x32[_0xe939[136]]();_0x7482x1b[_0xe939[26]](_0x7482x1a[_0xe939[71]][_0xe939[88]]+_0xe939[89]+JSON[_0xe939[90]]({success:true,errors:[]})+_0xe939[91]);})[_0xe939[25]](function(_0x7482x1d){_0x7482x32[_0xe939[135]]();_0x7482x1c(_0x7482x1d);})});};exports[_0xe939[141]]=function(_0x7482x1a,_0x7482x1b,_0x7482x1c){if(_0x7482x1a[_0xe939[77]][_0xe939[68]]&&_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[86]]&&_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[80]]){ChatMessage[_0xe939[29]]({where:{ChatRoomId:_0x7482x1a[_0xe939[77]][_0xe939[68]][_0xe939[80]]}})[_0xe939[28]](function(_0x7482x29){var _0x7482x33=[];_0x7482x29[_0xe939[146]](function(_0x7482x2b){var _0x7482x34={name:_0x7482x2b[_0xe939[81]],text:_0x7482x2b[_0xe939[143]][_0xe939[142]](/(\r\n|\n|\r)/gm,_0xe939[122]),date:_0x7482x2b[_0xe939[144]]};_0x7482x33[_0xe939[145]](_0x7482x34);});var _0x7482x35=csv(_0x7482x33);_0x7482x1b[_0xe939[129]](_0xe939[147])[_0xe939[27]](200)[_0xe939[26]](_0x7482x35);})[_0xe939[25]](function(_0x7482x1d){_0x7482x1c(_0x7482x1d)})}};exports[_0xe939[148]]=function(_0x7482x1a,_0x7482x1b,_0x7482x1c){Xchatty[_0xe939[57]](_0x7482x1a[_0xe939[36]][_0xe939[35]])[_0xe939[28]](function(_0x7482x36){if(!_0x7482x36){return _0x7482x1b[_0xe939[149]](404)};return _0x7482x1b[_0xe939[26]](_0x7482x36);})[_0xe939[25]](function(_0x7482x1d){return _0x7482x1c(_0x7482x1d)})};exports[_0xe939[105]]=function(_0x7482x1a,_0x7482x1b,_0x7482x1c){Xchatty[_0xe939[105]](_0x7482x1a[_0xe939[143]])[_0xe939[28]](function(_0x7482x36){return _0x7482x1b[_0xe939[27]](201)[_0xe939[26]](_0x7482x36)})[_0xe939[25]](function(_0x7482x1d){return _0x7482x1c(_0x7482x1d)})};exports[_0xe939[150]]=function(_0x7482x1a,_0x7482x1b,_0x7482x1c){if(_0x7482x1a[_0xe939[143]][_0xe939[35]]){delete _0x7482x1a[_0xe939[143]][_0xe939[35]]};Xchatty[_0xe939[57]](_0x7482x1a[_0xe939[36]][_0xe939[35]])[_0xe939[28]](function(_0x7482x36){if(!_0x7482x36){return _0x7482x1b[_0xe939[149]](404)};var _0x7482x37=_[_0xe939[151]](_0x7482x36,_0x7482x1a[_0xe939[143]]);_0x7482x37[_0xe939[152]]()[_0xe939[28]](function(){return _0x7482x1b[_0xe939[27]](200)[_0xe939[26]](_0x7482x36)})[_0xe939[25]](function(_0x7482x1d){return _0x7482x1c(_0x7482x1d)});})[_0xe939[25]](function(_0x7482x1d){return _0x7482x1c(_0x7482x1d)});};exports[_0xe939[153]]=function(_0x7482x1a,_0x7482x1b,_0x7482x1c){Xchatty[_0xe939[57]](_0x7482x1a[_0xe939[36]][_0xe939[35]])[_0xe939[28]](function(_0x7482x36){if(!_0x7482x36){return _0x7482x1b[_0xe939[149]](404)};_0x7482x36[_0xe939[153]]()[_0xe939[28]](function(){return _0x7482x1b[_0xe939[149]](204)})[_0xe939[25]](function(_0x7482x1d){return _0x7482x1c(_0x7482x1d)});})[_0xe939[25]](function(_0x7482x1d){return _0x7482x1c(_0x7482x1d)})};
\ No newline at end of file
+var _0xd691=["\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","\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","\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","\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","\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\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","\x6F\x70\x65\x6E\x5F\x73\x74\x61\x74\x65","\x64\x61\x74\x61","\x72\x6F\x6F\x6D\x5F\x69\x64","\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","\x76\x69\x73\x69\x74\x6F\x72\x5F\x69\x64","\x73\x69\x67\x6E\x65\x64\x5F\x75\x70","\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x28","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x29","\x6F\x70\x65\x6E","\x66\x69\x6E\x64\x4F\x6E\x65","\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","\x63\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x6C\x6F\x67","\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","\x63\x6C\x6F\x73\x65","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\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","\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E","\x72\x65\x6D\x6F\x74\x65\x41\x64\x64\x72\x65\x73\x73","\x63\x6F\x6E\x6E\x65\x63\x74\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","\x62\x61\x73\x65\x36\x34","\x75\x6E\x73\x65\x72\x76\x65\x64\x43\x75\x73\x74\x6F\x6D\x65\x72","\x75\x6E\x73\x65\x72\x76\x65\x64","\x73\x75\x62\x6D\x69\x74\x45\x6E\x71\x75\x69\x72\x79","\x72\x6F\x6C\x6C\x62\x61\x63\x6B","\x63\x6F\x6D\x6D\x69\x74","\x45\x6E\x71\x75\x69\x72\x79","\x77\x65\x62\x73\x69\x74\x65\x49\x64","\x65\x6E\x71\x75\x69\x72\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x67\x65\x74\x54\x72\x61\x6E\x73\x63\x72\x69\x70\x74","\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","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xd691[0];var _=require(_0xd691[1]);var jsmin=require(_0xd691[2])[_0xd691[2]];var Mustache=require(_0xd691[3]);var querystring=require(_0xd691[4]);var path=require(_0xd691[5]);var md5=require(_0xd691[6]);var fs=require(_0xd691[7]);var UAParser=require(_0xd691[8]);var uaParser= new UAParser();var languageParser=require(_0xd691[9]);var ipaddr=require(_0xd691[10]);var geoip=require(_0xd691[11]);var csv=require(_0xd691[12]);var config=require(_0xd691[13]);var Xchatty=require(_0xd691[15])[_0xd691[14]];var xchatty_components=require(_0xd691[16]);var sequelize=require(_0xd691[15])[_0xd691[17]];var User=require(_0xd691[15])[_0xd691[18]];var Agent=require(_0xd691[15])[_0xd691[18]];var ChatRoom=require(_0xd691[15])[_0xd691[19]];var ChatEnquiry=require(_0xd691[15])[_0xd691[20]];var ChatVisitor=require(_0xd691[15])[_0xd691[21]];var ChatMessage=require(_0xd691[15])[_0xd691[22]];var ChatWebsite=require(_0xd691[15])[_0xd691[23]];var id=1;exports[_0xd691[24]]=function(_0x84f4x1a,_0x84f4x1b,_0x84f4x1c){Xchatty[_0xd691[29]]()[_0xd691[28]](function(_0x84f4x1e){return _0x84f4x1b[_0xd691[27]](200)[_0xd691[26]](_0x84f4x1e)})[_0xd691[25]](function(_0x84f4x1d){return _0x84f4x1c(_0x84f4x1d)})};exports[_0xd691[30]]=function(_0x84f4x1a,_0x84f4x1b,_0x84f4x1c){ChatWebsite[_0xd691[57]](_0x84f4x1a[_0xd691[36]][_0xd691[35]])[_0xd691[28]](function(_0x84f4x1f){_0x84f4x1b[_0xd691[33]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0xd691[31],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0xd691[32]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0x84f4x20=xchatty_components[_0xd691[34]];var _0x84f4x21={websiteId:_0x84f4x1a[_0xd691[36]][_0xd691[35]],rootPath:_0x84f4x1f[_0xd691[37]]+_0xd691[38],signedUp:_0xd691[39],windowFocused:_0xd691[39],isNewPage:_0xd691[40],processingSignUp:_0xd691[39],processingEnquiry:_0xd691[39],processingSend:_0xd691[39],visitorFullname:_0xd691[41],visitorAvatar:_0xd691[41],timerReadMessages:_0xd691[42],timerCheckStatus:_0xd691[42],isOnline:_0xd691[39],decayHistory:0,defaultTimeout:2000,isInitialStatusCheck:_0xd691[40],muteNotificationSoundOnce:_0xd691[39],assetBase:_0x84f4x1f[_0xd691[37]]+_0xd691[43],hasSessionSaf:_0xd691[39],restoreOpenState:_0xd691[39],animateHover:_0x84f4x1f[_0xd691[44]],hideEmail:_0xd691[39],hideOffline:_0xd691[39],headerShape:_0x84f4x1f[_0xd691[45]],HeaderOnline:_0x84f4x1f[_0xd691[46]],OnlineMessage:_0x84f4x1f[_0xd691[47]],UsernamePlaceholder:_0x84f4x1f[_0xd691[48]],EmailPlaceholder:_0x84f4x1f[_0xd691[49]],StartChatButtonText:_0x84f4x1f[_0xd691[50]],OfflineMessage:_0x84f4x1f[_0xd691[51]],HeaderOffline:_0x84f4x1f[_0xd691[52]],EnquiryMessagePlaceholder:_0x84f4x1f[_0xd691[53]],EnquiryButtonText:_0x84f4x1f[_0xd691[54]],downloadTranscript:_0x84f4x1f[_0xd691[55]]};_0x84f4x20=Mustache[_0xd691[56]](_0x84f4x20,_0x84f4x21);_0x84f4x1b[_0xd691[26]](_0x84f4x20);})[_0xd691[25]](function(_0x84f4x1d){_0x84f4x1c(_0x84f4x1d)})};exports[_0xd691[58]]=function(_0x84f4x1a,_0x84f4x1b,_0x84f4x1c){ChatWebsite[_0xd691[57]](_0x84f4x1a[_0xd691[36]][_0xd691[35]])[_0xd691[28]](function(_0x84f4x1f){_0x84f4x1b[_0xd691[33]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0xd691[59],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0xd691[32]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0x84f4x22=xchatty_components[_0xd691[60]];var _0x84f4x23={assetBase:_0x84f4x1f[_0xd691[37]]+_0xd691[43],color:_0x84f4x1f[_0xd691[61]],colorFocus:_0x84f4x1f[_0xd691[62]],colorButton:_0x84f4x1f[_0xd691[63]]};_0x84f4x22=Mustache[_0xd691[56]](_0x84f4x22,_0x84f4x23);_0x84f4x1b[_0xd691[26]](_0x84f4x22);})[_0xd691[25]](function(_0x84f4x1d){_0x84f4x1c(_0x84f4x1d)})};exports[_0xd691[64]]=function(_0x84f4x1a,_0x84f4x1b,_0x84f4x1c){_0x84f4x1b[_0xd691[73]](path[_0xd691[72]](config[_0xd691[65]],_0xd691[66],_0xd691[67],_0xd691[68],_0xd691[69],_0x84f4x1a[_0xd691[71]][_0xd691[70]]))};exports[_0xd691[74]]=function(_0x84f4x1a,_0x84f4x1b,_0x84f4x1c){_0x84f4x1b[_0xd691[33]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0xd691[31],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0xd691[32]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0x84f4x24=xchatty_components[_0xd691[75]];_0x84f4x1b[_0xd691[26]](_0x84f4x24);};exports[_0xd691[76]]=function(_0x84f4x1a,_0x84f4x1b,_0x84f4x1c){if(!_0x84f4x1a[_0xd691[77]][_0xd691[68]]){_0x84f4x1a[_0xd691[77]][_0xd691[68]]={}};Agent[_0xd691[29]]({where:{online:true,role:_0xd691[94]}})[_0xd691[28]](function(_0x84f4x25){if(_0x84f4x1a[_0xd691[71]][_0xd691[79]][_0xd691[78]]){_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[78]]=_0x84f4x1a[_0xd691[71]][_0xd691[79]][_0xd691[78]]===_0xd691[40]?true:false};var _0x84f4x26={success:true,has_session_saf:null,signed_up:_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[80]]?true:false,fullname:_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[81]]?_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[81]]:_0xd691[82],email:_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[83]]?_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[83]]:_0xd691[82],avatar:_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[84]]?_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[84]]:_0xd691[82],open_state:_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[78]]||_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[80]]?true:false,online:_0x84f4x25[_0xd691[85]]?true:false};if(_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[86]]){ChatRoom[_0xd691[93]]({where:{ChatVisitorId:_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[86]],status:_0xd691[92]}})[_0xd691[28]](function(_0x84f4x27){if(_0x84f4x27){_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[80]]=_0x84f4x27[_0xd691[35]];_0x84f4x26[_0xd691[87]]=true;}else {_0x84f4x26[_0xd691[87]]=false};_0x84f4x1b[_0xd691[26]](_0x84f4x1a[_0xd691[71]][_0xd691[88]]+_0xd691[89]+JSON[_0xd691[90]](_0x84f4x26)+_0xd691[91]);})[_0xd691[25]](function(_0x84f4x1d){_0x84f4x1c(_0x84f4x1d)})}else {_0x84f4x1b[_0xd691[26]](_0x84f4x1a[_0xd691[71]][_0xd691[88]]+_0xd691[89]+JSON[_0xd691[90]](_0x84f4x26)+_0xd691[91])};})[_0xd691[25]](function(_0x84f4x1d){return _0x84f4x1c(_0x84f4x1d)});};exports[_0xd691[95]]=function(_0x84f4x1a,_0x84f4x1b,_0x84f4x1c){var _0x84f4x28={where:{ChatRoomId:_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[80]]},include:[{model:User,attributes:[_0xd691[35],_0xd691[96],_0xd691[81],_0xd691[83]]},{model:ChatVisitor,attributes:[_0xd691[35],_0xd691[81],_0xd691[83]]}]};if(_0x84f4x1a[_0xd691[71]][_0xd691[79]][_0xd691[97]]===_0xd691[39]){_0x84f4x28[_0xd691[98]][_0xd691[35]]={$gt:_0x84f4x1a[_0xd691[71]][_0xd691[79]][_0xd691[99]]}};ChatMessage[_0xd691[29]](_0x84f4x28)[_0xd691[28]](function(_0x84f4x29){var _0x84f4x2a={success:true,messages:_0x84f4x29,composing:false,composing_fullname:null};_0x84f4x1b[_0xd691[26]](_0x84f4x1a[_0xd691[71]][_0xd691[88]]+_0xd691[89]+JSON[_0xd691[90]](_0x84f4x2a)+_0xd691[91]);})[_0xd691[25]](function(_0x84f4x1d){_0x84f4x1c(_0x84f4x1d)});};exports[_0xd691[100]]=function(_0x84f4x1a,_0x84f4x1b,_0x84f4x1c){var _0x84f4x28={where:{ChatRoomId:_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[80]]},include:[{model:User,attributes:[_0xd691[35],_0xd691[96],_0xd691[81],_0xd691[83]]},{model:ChatVisitor,attributes:[_0xd691[35],_0xd691[81],_0xd691[83]]}]};if(_0x84f4x1a[_0xd691[71]][_0xd691[79]][_0xd691[97]]===_0xd691[39]){_0x84f4x28[_0xd691[98]][_0xd691[35]]={$gt:_0x84f4x1a[_0xd691[71]][_0xd691[79]][_0xd691[99]]}};ChatMessage[_0xd691[105]]({body:_0x84f4x1a[_0xd691[71]][_0xd691[79]][_0xd691[104]][_0xd691[103]],ChatRoomId:_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[80]],ChatVisitorId:_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[86]]})[_0xd691[28]](function(_0x84f4x2b){console[_0xd691[102]](_0xd691[101],_0x84f4x2b);ChatMessage[_0xd691[29]](_0x84f4x28)[_0xd691[28]](function(_0x84f4x29){var _0x84f4x2a={errors:[],success:true,data:_0x84f4x2b,messages:_0x84f4x29};_0x84f4x1b[_0xd691[26]](_0x84f4x1a[_0xd691[71]][_0xd691[88]]+_0xd691[89]+JSON[_0xd691[90]](_0x84f4x2a)+_0xd691[91]);})[_0xd691[25]](function(_0x84f4x1d){_0x84f4x1c(_0x84f4x1d)});})[_0xd691[25]](function(_0x84f4x1d){_0x84f4x1c(_0x84f4x1d)});};exports[_0xd691[106]]=function(_0x84f4x1a,_0x84f4x1b,_0x84f4x1c){ChatRoom[_0xd691[57]](_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[80]])[_0xd691[28]](function(_0x84f4x27){_0x84f4x27[_0xd691[108]]({status:_0xd691[107]})[_0xd691[28]](function(_0x84f4x27){var _0x84f4x2a={success:true,errors:[]};_0x84f4x1a[_0xd691[77]][_0xd691[68]]={};_0x84f4x1b[_0xd691[26]](_0x84f4x1a[_0xd691[71]][_0xd691[88]]+_0xd691[89]+JSON[_0xd691[90]](_0x84f4x2a)+_0xd691[91]);})[_0xd691[25]](function(_0x84f4x1d){_0x84f4x1c(_0x84f4x1d)})})[_0xd691[25]](function(_0x84f4x1d){_0x84f4x1c(_0x84f4x1d)})};exports[_0xd691[109]]=function(_0x84f4x1a,_0x84f4x1b,_0x84f4x1c){var _0x84f4x2c=uaParser[_0xd691[113]](_0x84f4x1a[_0xd691[112]][_0xd691[111]])[_0xd691[110]]();var _0x84f4x2d=languageParser[_0xd691[115]](_0x84f4x1a[_0xd691[112]][_0xd691[114]]);var _0x84f4x2e={fullname:_0x84f4x1a[_0xd691[71]][_0xd691[79]][_0xd691[116]][_0xd691[81]],email:_0x84f4x1a[_0xd691[71]][_0xd691[79]][_0xd691[116]][_0xd691[83]],remote_address:_0x84f4x1a[_0xd691[118]][_0xd691[117]],user_agent:_0x84f4x1a[_0xd691[112]][_0xd691[111]],visitor_language:_0x84f4x1a[_0xd691[112]][_0xd691[114]],referer:_0x84f4x1a[_0xd691[112]][_0xd691[119]],origin:_0xd691[120],browser:_0x84f4x2c[_0xd691[121]][_0xd691[96]]+_0xd691[122]+_0x84f4x2c[_0xd691[121]][_0xd691[123]],engine:_0x84f4x2c[_0xd691[124]][_0xd691[96]]+_0xd691[122]+_0x84f4x2c[_0xd691[124]][_0xd691[123]],os:_0x84f4x2c[_0xd691[125]][_0xd691[96]]+_0xd691[122]+_0x84f4x2c[_0xd691[125]][_0xd691[123]],device:_0x84f4x2c[_0xd691[127]][_0xd691[126]]?_0x84f4x2c[_0xd691[127]][_0xd691[126]]+_0xd691[122]+_0x84f4x2c[_0xd691[127]][_0xd691[128]]+_0xd691[122]+_0x84f4x2c[_0xd691[127]][_0xd691[129]]:null,ChatWebsiteId:_0x84f4x1a[_0xd691[71]][_0xd691[130]]};return ChatVisitor[_0xd691[105]](_0x84f4x2e)[_0xd691[28]](function(_0x84f4x2f){_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[81]]=_0x84f4x2f[_0xd691[81]];_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[83]]=_0x84f4x2f[_0xd691[83]];_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[84]]=md5(_0x84f4x2f[_0xd691[83]]).toString(_0xd691[131]);_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[86]]=_0x84f4x2f[_0xd691[35]];var _0x84f4x2a={success:true,errors:[],chatVisitor:{id:_0x84f4x2f[_0xd691[35]]}};_0x84f4x1b[_0xd691[26]](_0x84f4x1a[_0xd691[71]][_0xd691[88]]+_0xd691[89]+JSON[_0xd691[90]](_0x84f4x2a)+_0xd691[91]);})[_0xd691[25]](function(_0x84f4x1d){_0x84f4x1c(_0x84f4x1d)});};exports[_0xd691[132]]=function(_0x84f4x1a,_0x84f4x1b,_0x84f4x1c){ChatVisitor[_0xd691[57]](_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[86]])[_0xd691[28]](function(_0x84f4x2f){_0x84f4x2f[_0xd691[108]]({status:_0xd691[133]})[_0xd691[28]](function(){var _0x84f4x2a={success:true,errors:[]};_0x84f4x1a[_0xd691[77]][_0xd691[68]]={};_0x84f4x1b[_0xd691[26]](_0x84f4x1a[_0xd691[71]][_0xd691[88]]+_0xd691[89]+JSON[_0xd691[90]](_0x84f4x2a)+_0xd691[91]);})[_0xd691[25]](function(_0x84f4x1d){_0x84f4x1c(_0x84f4x1d)})})[_0xd691[25]](function(_0x84f4x1d){_0x84f4x1c(_0x84f4x1d)})};exports[_0xd691[134]]=function(_0x84f4x1a,_0x84f4x1b,_0x84f4x1c){var _0x84f4x30;var _0x84f4x31;return sequelize[_0xd691[140]]()[_0xd691[28]](function(_0x84f4x32){return ChatVisitor[_0xd691[105]]({fullname:_0x84f4x1a[_0xd691[71]][_0xd691[79]][_0xd691[137]][_0xd691[81]],email:_0x84f4x1a[_0xd691[71]][_0xd691[79]][_0xd691[137]][_0xd691[83]],remote_address:_0x84f4x1a[_0xd691[118]][_0xd691[117]],user_agent:_0x84f4x1a[_0xd691[112]][_0xd691[111]],visitor_language:_0x84f4x1a[_0xd691[112]][_0xd691[114]],referer:_0x84f4x1a[_0xd691[112]][_0xd691[119]],origin:_0xd691[139],status:_0xd691[133]},{transaction:_0x84f4x32})[_0xd691[28]](function(_0x84f4x2f){_0x84f4x30=_0x84f4x2f;return ChatEnquiry[_0xd691[105]]({username:_0x84f4x1a[_0xd691[71]][_0xd691[79]][_0xd691[137]][_0xd691[81]],email:_0x84f4x2f[_0xd691[83]],text:_0x84f4x1a[_0xd691[71]][_0xd691[79]][_0xd691[137]][_0xd691[103]],ChatWebsiteId:parseInt(_0x84f4x1a[_0xd691[71]][_0xd691[79]][_0xd691[137]][_0xd691[138]],10),ChatVisitorId:_0x84f4x30[_0xd691[35]]},{include:[{all:true,include:[{all:true}]}],transaction:_0x84f4x32});})[_0xd691[28]](function(){_0x84f4x32[_0xd691[136]]();_0x84f4x1b[_0xd691[26]](_0x84f4x1a[_0xd691[71]][_0xd691[88]]+_0xd691[89]+JSON[_0xd691[90]]({success:true,errors:[]})+_0xd691[91]);})[_0xd691[25]](function(_0x84f4x1d){_0x84f4x32[_0xd691[135]]();_0x84f4x1c(_0x84f4x1d);})});};exports[_0xd691[141]]=function(_0x84f4x1a,_0x84f4x1b,_0x84f4x1c){if(_0x84f4x1a[_0xd691[77]][_0xd691[68]]&&_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[86]]&&_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[80]]){ChatMessage[_0xd691[29]]({where:{ChatRoomId:_0x84f4x1a[_0xd691[77]][_0xd691[68]][_0xd691[80]]}})[_0xd691[28]](function(_0x84f4x29){var _0x84f4x33=[];_0x84f4x29[_0xd691[146]](function(_0x84f4x2b){var _0x84f4x34={name:_0x84f4x2b[_0xd691[81]],text:_0x84f4x2b[_0xd691[143]][_0xd691[142]](/(\r\n|\n|\r)/gm,_0xd691[122]),date:_0x84f4x2b[_0xd691[144]]};_0x84f4x33[_0xd691[145]](_0x84f4x34);});var _0x84f4x35=csv(_0x84f4x33);_0x84f4x1b[_0xd691[129]](_0xd691[147])[_0xd691[27]](200)[_0xd691[26]](_0x84f4x35);})[_0xd691[25]](function(_0x84f4x1d){_0x84f4x1c(_0x84f4x1d)})}};exports[_0xd691[148]]=function(_0x84f4x1a,_0x84f4x1b,_0x84f4x1c){Xchatty[_0xd691[57]](_0x84f4x1a[_0xd691[36]][_0xd691[35]])[_0xd691[28]](function(_0x84f4x36){if(!_0x84f4x36){return _0x84f4x1b[_0xd691[149]](404)};return _0x84f4x1b[_0xd691[26]](_0x84f4x36);})[_0xd691[25]](function(_0x84f4x1d){return _0x84f4x1c(_0x84f4x1d)})};exports[_0xd691[105]]=function(_0x84f4x1a,_0x84f4x1b,_0x84f4x1c){Xchatty[_0xd691[105]](_0x84f4x1a[_0xd691[143]])[_0xd691[28]](function(_0x84f4x36){return _0x84f4x1b[_0xd691[27]](201)[_0xd691[26]](_0x84f4x36)})[_0xd691[25]](function(_0x84f4x1d){return _0x84f4x1c(_0x84f4x1d)})};exports[_0xd691[150]]=function(_0x84f4x1a,_0x84f4x1b,_0x84f4x1c){if(_0x84f4x1a[_0xd691[143]][_0xd691[35]]){delete _0x84f4x1a[_0xd691[143]][_0xd691[35]]};Xchatty[_0xd691[57]](_0x84f4x1a[_0xd691[36]][_0xd691[35]])[_0xd691[28]](function(_0x84f4x36){if(!_0x84f4x36){return _0x84f4x1b[_0xd691[149]](404)};var _0x84f4x37=_[_0xd691[151]](_0x84f4x36,_0x84f4x1a[_0xd691[143]]);_0x84f4x37[_0xd691[152]]()[_0xd691[28]](function(){return _0x84f4x1b[_0xd691[27]](200)[_0xd691[26]](_0x84f4x36)})[_0xd691[25]](function(_0x84f4x1d){return _0x84f4x1c(_0x84f4x1d)});})[_0xd691[25]](function(_0x84f4x1d){return _0x84f4x1c(_0x84f4x1d)});};exports[_0xd691[153]]=function(_0x84f4x1a,_0x84f4x1b,_0x84f4x1c){Xchatty[_0xd691[57]](_0x84f4x1a[_0xd691[36]][_0xd691[35]])[_0xd691[28]](function(_0x84f4x36){if(!_0x84f4x36){return _0x84f4x1b[_0xd691[149]](404)};_0x84f4x36[_0xd691[153]]()[_0xd691[28]](function(){return _0x84f4x1b[_0xd691[149]](204)})[_0xd691[25]](function(_0x84f4x1d){return _0x84f4x1c(_0x84f4x1d)});})[_0xd691[25]](function(_0x84f4x1d){return _0x84f4x1c(_0x84f4x1d)})};
\ No newline at end of file
index c8b321d..b3d9cc5 100644 (file)
@@ -1 +1 @@
-var _0x74bf=["\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"];_0x74bf[0];var xchatty=require(_0x74bf[2])[_0x74bf[1]];exports[_0x74bf[3]]=function(_0x1d03x2){};function onSave(_0x1d03x2,_0x1d03x4,_0x1d03x5){_0x1d03x2[_0x74bf[5]](_0x74bf[4],_0x1d03x4)}function onRemove(_0x1d03x2,_0x1d03x4,_0x1d03x5){_0x1d03x2[_0x74bf[5]](_0x74bf[6],_0x1d03x4)}
\ No newline at end of file
+var _0xf063=["\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"];_0xf063[0];var xchatty=require(_0xf063[2])[_0xf063[1]];exports[_0xf063[3]]=function(_0x1a88x2){};function onSave(_0x1a88x2,_0x1a88x4,_0x1a88x5){_0x1a88x2[_0xf063[5]](_0xf063[4],_0x1a88x4)}function onRemove(_0x1a88x2,_0x1a88x4,_0x1a88x5){_0x1a88x2[_0xf063[5]](_0xf063[6],_0x1a88x4)}
\ No newline at end of file
index eb0d0e0..ff624e4 100644 (file)
@@ -1 +1 @@
-var _0xc720=["\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","\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","\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","\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"];_0xc720[0];var express=require(_0xc720[1]);var auth=require(_0xc720[2]);var controller=require(_0xc720[3]);var router=express.Router();router[_0xc720[7]](_0xc720[4],auth[_0xc720[5]](),controller[_0xc720[6]]);router[_0xc720[7]](_0xc720[8],auth[_0xc720[5]](),controller[_0xc720[9]]);router[_0xc720[7]](_0xc720[10],auth[_0xc720[5]](),controller[_0xc720[11]]);router[_0xc720[7]](_0xc720[12],auth[_0xc720[5]](),controller[_0xc720[13]]);router[_0xc720[16]](_0xc720[14],auth[_0xc720[5]](),controller[_0xc720[15]]);router[_0xc720[16]](_0xc720[4],auth[_0xc720[5]](),controller[_0xc720[17]]);router[_0xc720[19]](_0xc720[8],auth[_0xc720[5]](),controller[_0xc720[18]]);router[_0xc720[20]](_0xc720[8],auth[_0xc720[5]](),controller[_0xc720[18]]);router[_0xc720[22]](_0xc720[4],auth[_0xc720[5]](),controller[_0xc720[21]]);router[_0xc720[22]](_0xc720[8],auth[_0xc720[5]](),controller[_0xc720[23]]);module[_0xc720[24]]=router;
\ No newline at end of file
+var _0x74c9=["\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","\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","\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","\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"];_0x74c9[0];var express=require(_0x74c9[1]);var auth=require(_0x74c9[2]);var controller=require(_0x74c9[3]);var router=express.Router();router[_0x74c9[7]](_0x74c9[4],auth[_0x74c9[5]](),controller[_0x74c9[6]]);router[_0x74c9[7]](_0x74c9[8],auth[_0x74c9[5]](),controller[_0x74c9[9]]);router[_0x74c9[7]](_0x74c9[10],auth[_0x74c9[5]](),controller[_0x74c9[11]]);router[_0x74c9[7]](_0x74c9[12],auth[_0x74c9[5]](),controller[_0x74c9[13]]);router[_0x74c9[16]](_0x74c9[14],auth[_0x74c9[5]](),controller[_0x74c9[15]]);router[_0x74c9[16]](_0x74c9[4],auth[_0x74c9[5]](),controller[_0x74c9[17]]);router[_0x74c9[19]](_0x74c9[8],auth[_0x74c9[5]](),controller[_0x74c9[18]]);router[_0x74c9[20]](_0x74c9[8],auth[_0x74c9[5]](),controller[_0x74c9[18]]);router[_0x74c9[22]](_0x74c9[4],auth[_0x74c9[5]](),controller[_0x74c9[21]]);router[_0x74c9[22]](_0x74c9[8],auth[_0x74c9[5]](),controller[_0x74c9[23]]);module[_0x74c9[24]]=router;
\ No newline at end of file
index 19eb56b..8a4aa18 100644 (file)
@@ -1 +1 @@
-var _0xf7de=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\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","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\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\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\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"];_0xf7de[0];var _=require(_0xf7de[1]);var util=require(_0xf7de[2]);var zendesk=require(_0xf7de[3]);var ZendeskAccount=require(_0xf7de[5])[_0xf7de[4]];exports[_0xf7de[6]]=function(_0x40c3x5,_0x40c3x6,_0x40c3x7){var _0x40c3x8=[_0xf7de[7],_0xf7de[8],_0xf7de[9],_0xf7de[10]];var _0x40c3x9=_0x40c3x5[_0xf7de[12]][_0xf7de[11]]?parseInt(_0x40c3x5[_0xf7de[12]][_0xf7de[11]],10):100;var _0x40c3xa=_0x40c3x5[_0xf7de[12]][_0xf7de[13]]?parseInt(_0x40c3x5[_0xf7de[12]][_0xf7de[13]],10):0;var _0x40c3xb={where:{},limit:_0x40c3x9,offset:_0x40c3xa*_0x40c3x9};_[_0xf7de[27]](_0x40c3x5[_0xf7de[12]],function(_0x40c3xc,_0x40c3xd){switch(_0x40c3xd){case _0xf7de[11]:;case _0xf7de[13]:break ;;case _0xf7de[16]:_0x40c3xb[_0xf7de[14]]=util[_0xf7de[19]](_0xf7de[15],_0x40c3x5[_0xf7de[12]][_0xf7de[16]],_0x40c3x5[_0xf7de[12]][_0xf7de[17]]||_0xf7de[18])||null;break ;;case _0xf7de[17]:break ;;case _0xf7de[25]:_0x40c3xb[_0xf7de[21]][_0xf7de[20]]=[];_0x40c3x8[_0xf7de[24]](function(_0x40c3xe){var _0x40c3xf={};_0x40c3xf[_0x40c3xe]={$like:_0xf7de[22]+_0x40c3xc+_0xf7de[22]};_0x40c3xb[_0xf7de[21]][_0xf7de[20]][_0xf7de[23]](_0x40c3xf);});break ;;default:_0x40c3xb[_0xf7de[21]][_0x40c3xd]={$like:{}};_0x40c3xb[_0xf7de[21]][_0x40c3xd][_0xf7de[26]]=_0xf7de[22]+_0x40c3xc+_0xf7de[22];;}});ZendeskAccount[_0xf7de[42]](_0x40c3xb)[_0xf7de[41]](function(_0x40c3x11){var _0x40c3x12=Math[_0xf7de[33]](_0x40c3x11[_0xf7de[32]]/_0x40c3x9);var _0x40c3x13=_0x40c3x12>(_0x40c3xb[_0xf7de[34]]+1)?util[_0xf7de[19]](_0xf7de[35],_0x40c3x5[_0xf7de[36]],_0x40c3x5[_0xf7de[38]][_0xf7de[37]],_0x40c3x5[_0xf7de[39]],_0x40c3xa+1):null;var _0x40c3x14=_0x40c3xa>0?util[_0xf7de[19]](_0xf7de[35],_0x40c3x5[_0xf7de[36]],_0x40c3x5[_0xf7de[38]][_0xf7de[37]],_0x40c3x5[_0xf7de[39]],_0x40c3xa-1):null;return _0x40c3x6[_0xf7de[30]](200)[_0xf7de[29]]({count:_0x40c3x11[_0xf7de[32]],rows:_0x40c3x11[_0xf7de[40]],next_page:_0x40c3x13,previous_page:_0x40c3x14,total_pages:_0x40c3x12});})[_0xf7de[31]](function(_0x40c3x10){return _0x40c3x6[_0xf7de[30]](500)[_0xf7de[29]]({error:_0xf7de[28]})});};exports[_0xf7de[43]]=function(_0x40c3x5,_0x40c3x6){ZendeskAccount[_0xf7de[47]](_0x40c3x5[_0xf7de[46]][_0xf7de[45]])[_0xf7de[41]](function(_0x40c3x15){if(!_0x40c3x15){return _0x40c3x6[_0xf7de[44]](404)};return _0x40c3x6[_0xf7de[29]](_0x40c3x15);})[_0xf7de[31]](function(_0x40c3x10){return handleError(_0x40c3x6,_0x40c3x10)})};exports[_0xf7de[48]]=function(_0x40c3x5,_0x40c3x6){ZendeskAccount[_0xf7de[48]](_0x40c3x5[_0xf7de[49]])[_0xf7de[41]](function(_0x40c3x15){return _0x40c3x6[_0xf7de[30]](201)[_0xf7de[29]](_0x40c3x15)})[_0xf7de[31]](function(_0x40c3x10){return handleError(_0x40c3x6,_0x40c3x10)})};exports[_0xf7de[50]]=function(_0x40c3x5,_0x40c3x6){if(_0x40c3x5[_0xf7de[49]][_0xf7de[45]]){delete _0x40c3x5[_0xf7de[49]][_0xf7de[45]]};ZendeskAccount[_0xf7de[47]](_0x40c3x5[_0xf7de[46]][_0xf7de[45]])[_0xf7de[41]](function(_0x40c3x15){if(!_0x40c3x15){return _0x40c3x6[_0xf7de[44]](404)};var _0x40c3x16=_[_0xf7de[51]](_0x40c3x15,_0x40c3x5[_0xf7de[49]]);_0x40c3x16[_0xf7de[52]]()[_0xf7de[41]](function(){return _0x40c3x6[_0xf7de[30]](200)[_0xf7de[29]](_0x40c3x15)})[_0xf7de[31]](function(_0x40c3x10){return handleError(_0x40c3x6,_0x40c3x10)});})[_0xf7de[31]](function(_0x40c3x10){return handleError(_0x40c3x6,_0x40c3x10)});};exports[_0xf7de[53]]=function(_0x40c3x5,_0x40c3x6){ZendeskAccount[_0xf7de[47]](_0x40c3x5[_0xf7de[46]][_0xf7de[45]])[_0xf7de[41]](function(_0x40c3x15){if(!_0x40c3x15){return _0x40c3x6[_0xf7de[44]](404)};_0x40c3x15[_0xf7de[53]]()[_0xf7de[41]](function(){return _0x40c3x6[_0xf7de[44]](204)})[_0xf7de[31]](function(_0x40c3x10){return handleError(_0x40c3x6,_0x40c3x10)});})[_0xf7de[31]](function(_0x40c3x10){return handleError(_0x40c3x6,_0x40c3x10)})};exports[_0xf7de[54]]=function(_0x40c3x5,_0x40c3x6){ZendeskAccount[_0xf7de[53]]({where:{id:_0x40c3x5[_0xf7de[12]][_0xf7de[45]]},individualHooks:true})[_0xf7de[41]](function(){return _0x40c3x6[_0xf7de[44]](204)})[_0xf7de[31]](function(_0x40c3x10){return handleError(_0x40c3x6,_0x40c3x10)})};exports[_0xf7de[55]]=function(_0x40c3x5,_0x40c3x6){var _0x40c3x17={};_0x40c3x17[_0x40c3x5[_0xf7de[46]][_0xf7de[56]]]=_0x40c3x5[_0xf7de[49]][_0xf7de[57]];ZendeskAccount[_0xf7de[42]]({where:_0x40c3x17})[_0xf7de[41]](function(_0x40c3x11){if(_0x40c3x11[_0xf7de[32]]){return _0x40c3x6[_0xf7de[30]](200)[_0xf7de[29]]({isValid:false,value:_0x40c3x5[_0xf7de[49]][_0xf7de[57]]})};return _0x40c3x6[_0xf7de[30]](200)[_0xf7de[29]]({isValid:true,value:_0x40c3x5[_0xf7de[49]][_0xf7de[57]]});})[_0xf7de[31]](function(_0x40c3x10){return handleError(_0x40c3x6,_0x40c3x10)});};exports[_0xf7de[58]]=function(_0x40c3x5,_0x40c3x6){ZendeskAccount[_0xf7de[47]](_0x40c3x5[_0xf7de[46]][_0xf7de[45]])[_0xf7de[41]](function(_0x40c3x18){var _0x40c3x19={username:_0x40c3x18[_0xf7de[9]],remoteUri:_0x40c3x18[_0xf7de[10]]};if(_0x40c3x18[_0xf7de[59]]===_0xf7de[60]){_0x40c3x19[_0xf7de[60]]=_0x40c3x18[_0xf7de[60]]}else {if(_0x40c3x18[_0xf7de[59]]===_0xf7de[61]){_0x40c3x19[_0xf7de[61]]=_0x40c3x18[_0xf7de[61]]}};var _0x40c3x1a=zendesk[_0xf7de[62]](_0x40c3x19);_0x40c3x1a[_0xf7de[66]][_0xf7de[65]](function(_0x40c3x10,_0x40c3x1b,_0x40c3x11){if(_0x40c3x10){console[_0xf7de[63]](_0x40c3x10);return handleError(_0x40c3x6,_0x40c3x10);};if(!_0x40c3x11[_0xf7de[64]]){return _0x40c3x6[_0xf7de[44]](500)};return _0x40c3x6[_0xf7de[44]](204);});})[_0xf7de[31]](function(_0x40c3x10){return handleError(_0x40c3x6,_0x40c3x10)})};exports[_0xf7de[67]]=function(_0x40c3x5,_0x40c3x6){ZendeskAccount[_0xf7de[47]](_0x40c3x5[_0xf7de[46]][_0xf7de[45]])[_0xf7de[41]](function(_0x40c3x18){var _0x40c3x19={username:_0x40c3x18[_0xf7de[9]],remoteUri:_0x40c3x18[_0xf7de[10]]};if(_0x40c3x18[_0xf7de[59]]===_0xf7de[60]){_0x40c3x19[_0xf7de[60]]=_0x40c3x18[_0xf7de[60]]}else {if(_0x40c3x18[_0xf7de[59]]===_0xf7de[61]){_0x40c3x19[_0xf7de[61]]=_0x40c3x18[_0xf7de[61]]}};var _0x40c3x1a=zendesk[_0xf7de[62]](_0x40c3x19);_0x40c3x1a[_0xf7de[69]][_0xf7de[68]](function(_0x40c3x10,_0x40c3x1b,_0x40c3x11){if(_0x40c3x10){console[_0xf7de[63]](_0x40c3x10);return handleError(_0x40c3x6,_0x40c3x10);};return _0x40c3x6[_0xf7de[30]](200)[_0xf7de[29]](_0x40c3x11);});})[_0xf7de[31]](function(_0x40c3x10){return handleError(_0x40c3x6,_0x40c3x10)})};function handleError(_0x40c3x6,_0x40c3x10){return _0x40c3x6[_0xf7de[30]](500)[_0xf7de[29]](_0x40c3x10)}
\ No newline at end of file
+var _0xaf5a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\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","\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","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\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\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\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"];_0xaf5a[0];var _=require(_0xaf5a[1]);var util=require(_0xaf5a[2]);var zendesk=require(_0xaf5a[3]);var ZendeskAccount=require(_0xaf5a[5])[_0xaf5a[4]];exports[_0xaf5a[6]]=function(_0xec8ax5,_0xec8ax6,_0xec8ax7){var _0xec8ax8=[_0xaf5a[7],_0xaf5a[8],_0xaf5a[9],_0xaf5a[10]];var _0xec8ax9=_0xec8ax5[_0xaf5a[12]][_0xaf5a[11]]?parseInt(_0xec8ax5[_0xaf5a[12]][_0xaf5a[11]],10):100;var _0xec8axa=_0xec8ax5[_0xaf5a[12]][_0xaf5a[13]]?parseInt(_0xec8ax5[_0xaf5a[12]][_0xaf5a[13]],10):0;var _0xec8axb={where:{},limit:_0xec8ax9,offset:_0xec8axa*_0xec8ax9};_[_0xaf5a[27]](_0xec8ax5[_0xaf5a[12]],function(_0xec8axc,_0xec8axd){switch(_0xec8axd){case _0xaf5a[11]:;case _0xaf5a[13]:break ;;case _0xaf5a[16]:_0xec8axb[_0xaf5a[14]]=util[_0xaf5a[19]](_0xaf5a[15],_0xec8ax5[_0xaf5a[12]][_0xaf5a[16]],_0xec8ax5[_0xaf5a[12]][_0xaf5a[17]]||_0xaf5a[18])||null;break ;;case _0xaf5a[17]:break ;;case _0xaf5a[25]:_0xec8axb[_0xaf5a[21]][_0xaf5a[20]]=[];_0xec8ax8[_0xaf5a[24]](function(_0xec8axe){var _0xec8axf={};_0xec8axf[_0xec8axe]={$like:_0xaf5a[22]+_0xec8axc+_0xaf5a[22]};_0xec8axb[_0xaf5a[21]][_0xaf5a[20]][_0xaf5a[23]](_0xec8axf);});break ;;default:_0xec8axb[_0xaf5a[21]][_0xec8axd]={$like:{}};_0xec8axb[_0xaf5a[21]][_0xec8axd][_0xaf5a[26]]=_0xaf5a[22]+_0xec8axc+_0xaf5a[22];;}});ZendeskAccount[_0xaf5a[42]](_0xec8axb)[_0xaf5a[41]](function(_0xec8ax11){var _0xec8ax12=Math[_0xaf5a[33]](_0xec8ax11[_0xaf5a[32]]/_0xec8ax9);var _0xec8ax13=_0xec8ax12>(_0xec8axb[_0xaf5a[34]]+1)?util[_0xaf5a[19]](_0xaf5a[35],_0xec8ax5[_0xaf5a[36]],_0xec8ax5[_0xaf5a[38]][_0xaf5a[37]],_0xec8ax5[_0xaf5a[39]],_0xec8axa+1):null;var _0xec8ax14=_0xec8axa>0?util[_0xaf5a[19]](_0xaf5a[35],_0xec8ax5[_0xaf5a[36]],_0xec8ax5[_0xaf5a[38]][_0xaf5a[37]],_0xec8ax5[_0xaf5a[39]],_0xec8axa-1):null;return _0xec8ax6[_0xaf5a[30]](200)[_0xaf5a[29]]({count:_0xec8ax11[_0xaf5a[32]],rows:_0xec8ax11[_0xaf5a[40]],next_page:_0xec8ax13,previous_page:_0xec8ax14,total_pages:_0xec8ax12});})[_0xaf5a[31]](function(_0xec8ax10){return _0xec8ax6[_0xaf5a[30]](500)[_0xaf5a[29]]({error:_0xaf5a[28]})});};exports[_0xaf5a[43]]=function(_0xec8ax5,_0xec8ax6){ZendeskAccount[_0xaf5a[47]](_0xec8ax5[_0xaf5a[46]][_0xaf5a[45]])[_0xaf5a[41]](function(_0xec8ax15){if(!_0xec8ax15){return _0xec8ax6[_0xaf5a[44]](404)};return _0xec8ax6[_0xaf5a[29]](_0xec8ax15);})[_0xaf5a[31]](function(_0xec8ax10){return handleError(_0xec8ax6,_0xec8ax10)})};exports[_0xaf5a[48]]=function(_0xec8ax5,_0xec8ax6){ZendeskAccount[_0xaf5a[48]](_0xec8ax5[_0xaf5a[49]])[_0xaf5a[41]](function(_0xec8ax15){return _0xec8ax6[_0xaf5a[30]](201)[_0xaf5a[29]](_0xec8ax15)})[_0xaf5a[31]](function(_0xec8ax10){return handleError(_0xec8ax6,_0xec8ax10)})};exports[_0xaf5a[50]]=function(_0xec8ax5,_0xec8ax6){if(_0xec8ax5[_0xaf5a[49]][_0xaf5a[45]]){delete _0xec8ax5[_0xaf5a[49]][_0xaf5a[45]]};ZendeskAccount[_0xaf5a[47]](_0xec8ax5[_0xaf5a[46]][_0xaf5a[45]])[_0xaf5a[41]](function(_0xec8ax15){if(!_0xec8ax15){return _0xec8ax6[_0xaf5a[44]](404)};var _0xec8ax16=_[_0xaf5a[51]](_0xec8ax15,_0xec8ax5[_0xaf5a[49]]);_0xec8ax16[_0xaf5a[52]]()[_0xaf5a[41]](function(){return _0xec8ax6[_0xaf5a[30]](200)[_0xaf5a[29]](_0xec8ax15)})[_0xaf5a[31]](function(_0xec8ax10){return handleError(_0xec8ax6,_0xec8ax10)});})[_0xaf5a[31]](function(_0xec8ax10){return handleError(_0xec8ax6,_0xec8ax10)});};exports[_0xaf5a[53]]=function(_0xec8ax5,_0xec8ax6){ZendeskAccount[_0xaf5a[47]](_0xec8ax5[_0xaf5a[46]][_0xaf5a[45]])[_0xaf5a[41]](function(_0xec8ax15){if(!_0xec8ax15){return _0xec8ax6[_0xaf5a[44]](404)};_0xec8ax15[_0xaf5a[53]]()[_0xaf5a[41]](function(){return _0xec8ax6[_0xaf5a[44]](204)})[_0xaf5a[31]](function(_0xec8ax10){return handleError(_0xec8ax6,_0xec8ax10)});})[_0xaf5a[31]](function(_0xec8ax10){return handleError(_0xec8ax6,_0xec8ax10)})};exports[_0xaf5a[54]]=function(_0xec8ax5,_0xec8ax6){ZendeskAccount[_0xaf5a[53]]({where:{id:_0xec8ax5[_0xaf5a[12]][_0xaf5a[45]]},individualHooks:true})[_0xaf5a[41]](function(){return _0xec8ax6[_0xaf5a[44]](204)})[_0xaf5a[31]](function(_0xec8ax10){return handleError(_0xec8ax6,_0xec8ax10)})};exports[_0xaf5a[55]]=function(_0xec8ax5,_0xec8ax6){var _0xec8ax17={};_0xec8ax17[_0xec8ax5[_0xaf5a[46]][_0xaf5a[56]]]=_0xec8ax5[_0xaf5a[49]][_0xaf5a[57]];ZendeskAccount[_0xaf5a[42]]({where:_0xec8ax17})[_0xaf5a[41]](function(_0xec8ax11){if(_0xec8ax11[_0xaf5a[32]]){return _0xec8ax6[_0xaf5a[30]](200)[_0xaf5a[29]]({isValid:false,value:_0xec8ax5[_0xaf5a[49]][_0xaf5a[57]]})};return _0xec8ax6[_0xaf5a[30]](200)[_0xaf5a[29]]({isValid:true,value:_0xec8ax5[_0xaf5a[49]][_0xaf5a[57]]});})[_0xaf5a[31]](function(_0xec8ax10){return handleError(_0xec8ax6,_0xec8ax10)});};exports[_0xaf5a[58]]=function(_0xec8ax5,_0xec8ax6){ZendeskAccount[_0xaf5a[47]](_0xec8ax5[_0xaf5a[46]][_0xaf5a[45]])[_0xaf5a[41]](function(_0xec8ax18){var _0xec8ax19={username:_0xec8ax18[_0xaf5a[9]],remoteUri:_0xec8ax18[_0xaf5a[10]]};if(_0xec8ax18[_0xaf5a[59]]===_0xaf5a[60]){_0xec8ax19[_0xaf5a[60]]=_0xec8ax18[_0xaf5a[60]]}else {if(_0xec8ax18[_0xaf5a[59]]===_0xaf5a[61]){_0xec8ax19[_0xaf5a[61]]=_0xec8ax18[_0xaf5a[61]]}};var _0xec8ax1a=zendesk[_0xaf5a[62]](_0xec8ax19);_0xec8ax1a[_0xaf5a[66]][_0xaf5a[65]](function(_0xec8ax10,_0xec8ax1b,_0xec8ax11){if(_0xec8ax10){console[_0xaf5a[63]](_0xec8ax10);return handleError(_0xec8ax6,_0xec8ax10);};if(!_0xec8ax11[_0xaf5a[64]]){return _0xec8ax6[_0xaf5a[44]](500)};return _0xec8ax6[_0xaf5a[44]](204);});})[_0xaf5a[31]](function(_0xec8ax10){return handleError(_0xec8ax6,_0xec8ax10)})};exports[_0xaf5a[67]]=function(_0xec8ax5,_0xec8ax6){ZendeskAccount[_0xaf5a[47]](_0xec8ax5[_0xaf5a[46]][_0xaf5a[45]])[_0xaf5a[41]](function(_0xec8ax18){var _0xec8ax19={username:_0xec8ax18[_0xaf5a[9]],remoteUri:_0xec8ax18[_0xaf5a[10]]};if(_0xec8ax18[_0xaf5a[59]]===_0xaf5a[60]){_0xec8ax19[_0xaf5a[60]]=_0xec8ax18[_0xaf5a[60]]}else {if(_0xec8ax18[_0xaf5a[59]]===_0xaf5a[61]){_0xec8ax19[_0xaf5a[61]]=_0xec8ax18[_0xaf5a[61]]}};var _0xec8ax1a=zendesk[_0xaf5a[62]](_0xec8ax19);_0xec8ax1a[_0xaf5a[69]][_0xaf5a[68]](function(_0xec8ax10,_0xec8ax1b,_0xec8ax11){if(_0xec8ax10){console[_0xaf5a[63]](_0xec8ax10);return handleError(_0xec8ax6,_0xec8ax10);};return _0xec8ax6[_0xaf5a[30]](200)[_0xaf5a[29]](_0xec8ax11);});})[_0xaf5a[31]](function(_0xec8ax10){return handleError(_0xec8ax6,_0xec8ax10)})};function handleError(_0xec8ax6,_0xec8ax10){return _0xec8ax6[_0xaf5a[30]](500)[_0xaf5a[29]](_0xec8ax10)}
\ No newline at end of file
index 7836680..330ad2c 100644 (file)
@@ -1 +1 @@
-var _0xc421=["\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"];_0xc421[0];var ZendeskAccount=require(_0xc421[2])[_0xc421[1]];exports[_0xc421[3]]=function(_0xab90x2){ZendeskAccount[_0xc421[4]](function(_0xab90x3){onSave(_0xab90x2,_0xab90x3)});ZendeskAccount[_0xc421[5]](function(_0xab90x3){onRemove(_0xab90x2,_0xab90x3)});};function onSave(_0xab90x2,_0xab90x3,_0xab90x5){_0xab90x2[_0xc421[7]](_0xc421[6],_0xab90x3)}function onRemove(_0xab90x2,_0xab90x3,_0xab90x5){_0xab90x2[_0xc421[7]](_0xc421[8],_0xab90x3)}
\ No newline at end of file
+var _0xbea6=["\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"];_0xbea6[0];var ZendeskAccount=require(_0xbea6[2])[_0xbea6[1]];exports[_0xbea6[3]]=function(_0xf7c0x2){ZendeskAccount[_0xbea6[4]](function(_0xf7c0x3){onSave(_0xf7c0x2,_0xf7c0x3)});ZendeskAccount[_0xbea6[5]](function(_0xf7c0x3){onRemove(_0xf7c0x2,_0xf7c0x3)});};function onSave(_0xf7c0x2,_0xf7c0x3,_0xf7c0x5){_0xf7c0x2[_0xbea6[7]](_0xbea6[6],_0xf7c0x3)}function onRemove(_0xf7c0x2,_0xf7c0x3,_0xf7c0x5){_0xf7c0x2[_0xbea6[7]](_0xbea6[8],_0xf7c0x3)}
\ No newline at end of file
index e67ecdc..0e05b30 100644 (file)
@@ -1 +1 @@
-var _0x8806=["\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\x61\x63\x63\x6F\x75\x6E\x74\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\x61\x63\x63\x6F\x75\x6E\x74\x73","\x67\x65\x74"];_0x8806[0];var should=require(_0x8806[1]);var app=require(_0x8806[2]);var request=require(_0x8806[3]);describe(_0x8806[4],function(){it(_0x8806[5],function(_0x54f2x4){request(app)[_0x8806[13]](_0x8806[12])[_0x8806[11]](200)[_0x8806[11]](_0x8806[10],/json/)[_0x8806[9]](function(_0x54f2x5,_0x54f2x6){if(_0x54f2x5){return _0x54f2x4(_0x54f2x5)};_0x54f2x6[_0x8806[8]][_0x8806[1]][_0x8806[7]][_0x8806[6]](Array);_0x54f2x4();})})});
\ No newline at end of file
+var _0x2a80=["\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\x61\x63\x63\x6F\x75\x6E\x74\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\x61\x63\x63\x6F\x75\x6E\x74\x73","\x67\x65\x74"];_0x2a80[0];var should=require(_0x2a80[1]);var app=require(_0x2a80[2]);var request=require(_0x2a80[3]);describe(_0x2a80[4],function(){it(_0x2a80[5],function(_0x611cx4){request(app)[_0x2a80[13]](_0x2a80[12])[_0x2a80[11]](200)[_0x2a80[11]](_0x2a80[10],/json/)[_0x2a80[9]](function(_0x611cx5,_0x611cx6){if(_0x611cx5){return _0x611cx4(_0x611cx5)};_0x611cx6[_0x2a80[8]][_0x2a80[1]][_0x2a80[7]][_0x2a80[6]](Array);_0x611cx4();})})});
\ No newline at end of file
index d35daf7..095f31d 100644 (file)
@@ -1 +1 @@
-var _0xf47a=["\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","\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"];_0xf47a[0];var express=require(_0xf47a[1]);var controller=require(_0xf47a[2]);var auth=require(_0xf47a[3]);var router=express.Router();router[_0xf47a[7]](_0xf47a[4],auth[_0xf47a[5]](),controller[_0xf47a[6]]);router[_0xf47a[7]](_0xf47a[8],auth[_0xf47a[5]](),controller[_0xf47a[9]]);router[_0xf47a[11]](_0xf47a[4],auth[_0xf47a[5]](),controller[_0xf47a[10]]);router[_0xf47a[13]](_0xf47a[8],auth[_0xf47a[5]](),controller[_0xf47a[12]]);router[_0xf47a[11]](_0xf47a[14],auth[_0xf47a[5]](),controller[_0xf47a[15]]);router[_0xf47a[16]](_0xf47a[8],auth[_0xf47a[5]](),controller[_0xf47a[12]]);router[_0xf47a[18]](_0xf47a[8],auth[_0xf47a[5]](),controller[_0xf47a[17]]);module[_0xf47a[19]]=router;
\ No newline at end of file
+var _0xba6c=["\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","\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"];_0xba6c[0];var express=require(_0xba6c[1]);var controller=require(_0xba6c[2]);var auth=require(_0xba6c[3]);var router=express.Router();router[_0xba6c[7]](_0xba6c[4],auth[_0xba6c[5]](),controller[_0xba6c[6]]);router[_0xba6c[7]](_0xba6c[8],auth[_0xba6c[5]](),controller[_0xba6c[9]]);router[_0xba6c[11]](_0xba6c[4],auth[_0xba6c[5]](),controller[_0xba6c[10]]);router[_0xba6c[13]](_0xba6c[8],auth[_0xba6c[5]](),controller[_0xba6c[12]]);router[_0xba6c[11]](_0xba6c[14],auth[_0xba6c[5]](),controller[_0xba6c[15]]);router[_0xba6c[16]](_0xba6c[8],auth[_0xba6c[5]](),controller[_0xba6c[12]]);router[_0xba6c[18]](_0xba6c[8],auth[_0xba6c[5]](),controller[_0xba6c[17]]);module[_0xba6c[19]]=router;
\ No newline at end of file
index 95509b7..8f58ebf 100644 (file)
@@ -1 +1 @@
-var _0x951f=["\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","\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","\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"];_0x951f[0];var _=require(_0x951f[1]);var ZendeskConfiguration=require(_0x951f[3])[_0x951f[2]];var ZendeskField=require(_0x951f[3])[_0x951f[4]];exports[_0x951f[5]]=function(_0x5f18x4,_0x5f18x5){ZendeskConfiguration[_0x951f[11]]({where:_0x5f18x4[_0x951f[10]]})[_0x951f[9]](function(_0x5f18x7){return _0x5f18x5[_0x951f[8]](200)[_0x951f[7]](_0x5f18x7)})[_0x951f[6]](function(_0x5f18x6){return handleError(_0x5f18x5,_0x5f18x6)})};exports[_0x951f[12]]=function(_0x5f18x4,_0x5f18x5){ZendeskConfiguration[_0x951f[19]]({where:{id:_0x5f18x4[_0x951f[15]][_0x951f[14]]},include:[{model:ZendeskField,as:_0x951f[16]},{model:ZendeskField,as:_0x951f[17]},{model:ZendeskField,as:_0x951f[18]}]})[_0x951f[9]](function(_0x5f18x8){if(!_0x5f18x8){return _0x5f18x5[_0x951f[13]](404)};return _0x5f18x5[_0x951f[7]](_0x5f18x8);})[_0x951f[6]](function(_0x5f18x6){return handleError(_0x5f18x5,_0x5f18x6)})};exports[_0x951f[20]]=function(_0x5f18x4,_0x5f18x5){ZendeskConfiguration[_0x951f[20]](_0x5f18x4[_0x951f[21]])[_0x951f[9]](function(_0x5f18x8){return _0x5f18x5[_0x951f[8]](201)[_0x951f[7]](_0x5f18x8)})[_0x951f[6]](function(_0x5f18x6){return handleError(_0x5f18x5,_0x5f18x6)})};exports[_0x951f[22]]=function(_0x5f18x4,_0x5f18x5){if(_0x5f18x4[_0x951f[21]][_0x951f[14]]){delete _0x5f18x4[_0x951f[21]][_0x951f[14]]};ZendeskConfiguration[_0x951f[25]](_0x5f18x4[_0x951f[15]][_0x951f[14]])[_0x951f[9]](function(_0x5f18x8){if(!_0x5f18x8){return _0x5f18x5[_0x951f[13]](404)};var _0x5f18x9=_[_0x951f[23]](_0x5f18x8,_0x5f18x4[_0x951f[21]]);_0x5f18x9[_0x951f[24]]()[_0x951f[9]](function(){return _0x5f18x5[_0x951f[8]](200)[_0x951f[7]](_0x5f18x8)})[_0x951f[6]](function(_0x5f18x6){return handleError(_0x5f18x5,_0x5f18x6)});})[_0x951f[6]](function(_0x5f18x6){return handleError(_0x5f18x5,_0x5f18x6)});};exports[_0x951f[26]]=function(_0x5f18x4,_0x5f18x5){ZendeskConfiguration[_0x951f[25]](_0x5f18x4[_0x951f[15]][_0x951f[14]])[_0x951f[9]](function(_0x5f18x8){if(!_0x5f18x8){return _0x5f18x5[_0x951f[13]](404)};_0x5f18x8[_0x951f[26]]()[_0x951f[9]](function(){return _0x5f18x5[_0x951f[13]](204)})[_0x951f[6]](function(_0x5f18x6){return handleError(_0x5f18x5,_0x5f18x6)});})[_0x951f[6]](function(_0x5f18x6){return handleError(_0x5f18x5,_0x5f18x6)})};exports[_0x951f[27]]=function(_0x5f18x4,_0x5f18x5,_0x5f18xa){ZendeskConfiguration[_0x951f[25]](_0x5f18x4[_0x951f[15]][_0x951f[14]])[_0x951f[9]](function(_0x5f18xb){if(!_0x5f18xb){return _0x5f18x5[_0x951f[13]](500)};ZendeskField[_0x951f[20]](_0x5f18x4[_0x951f[21]])[_0x951f[9]](function(_0x5f18xc){switch(_0x5f18x4[_0x951f[15]][_0x951f[34]]){case _0x951f[29]:_0x5f18xb[_0x951f[28]](_0x5f18xc)[_0x951f[9]](function(){return _0x5f18x5[_0x951f[8]](200)[_0x951f[7]](_0x5f18xc)})[_0x951f[6]](function(_0x5f18x6){return handleError(_0x5f18x5,_0x5f18x6)});break ;;case _0x951f[31]:_0x5f18xb[_0x951f[30]](_0x5f18xc)[_0x951f[9]](function(){return _0x5f18x5[_0x951f[8]](200)[_0x951f[7]](_0x5f18xc)})[_0x951f[6]](function(_0x5f18x6){return handleError(_0x5f18x5,_0x5f18x6)});break ;;case _0x951f[33]:_0x5f18xb[_0x951f[32]](_0x5f18xc)[_0x951f[9]](function(){return _0x5f18x5[_0x951f[8]](200)[_0x951f[7]](_0x5f18xc)})[_0x951f[6]](function(_0x5f18x6){return handleError(_0x5f18x5,_0x5f18x6)});break ;;}})[_0x951f[6]](function(_0x5f18x6){return handleError(_0x5f18x5,_0x5f18x6)});})[_0x951f[6]](function(_0x5f18x6){return handleError(_0x5f18x5,_0x5f18x6)})};function handleError(_0x5f18x5,_0x5f18x6){return _0x5f18x5[_0x951f[8]](500)[_0x951f[7]](_0x5f18x6)}
\ No newline at end of file
+var _0x4147=["\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","\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","\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"];_0x4147[0];var _=require(_0x4147[1]);var ZendeskConfiguration=require(_0x4147[3])[_0x4147[2]];var ZendeskField=require(_0x4147[3])[_0x4147[4]];exports[_0x4147[5]]=function(_0x4304x4,_0x4304x5){ZendeskConfiguration[_0x4147[11]]({where:_0x4304x4[_0x4147[10]]})[_0x4147[9]](function(_0x4304x7){return _0x4304x5[_0x4147[8]](200)[_0x4147[7]](_0x4304x7)})[_0x4147[6]](function(_0x4304x6){return handleError(_0x4304x5,_0x4304x6)})};exports[_0x4147[12]]=function(_0x4304x4,_0x4304x5){ZendeskConfiguration[_0x4147[19]]({where:{id:_0x4304x4[_0x4147[15]][_0x4147[14]]},include:[{model:ZendeskField,as:_0x4147[16]},{model:ZendeskField,as:_0x4147[17]},{model:ZendeskField,as:_0x4147[18]}]})[_0x4147[9]](function(_0x4304x8){if(!_0x4304x8){return _0x4304x5[_0x4147[13]](404)};return _0x4304x5[_0x4147[7]](_0x4304x8);})[_0x4147[6]](function(_0x4304x6){return handleError(_0x4304x5,_0x4304x6)})};exports[_0x4147[20]]=function(_0x4304x4,_0x4304x5){ZendeskConfiguration[_0x4147[20]](_0x4304x4[_0x4147[21]])[_0x4147[9]](function(_0x4304x8){return _0x4304x5[_0x4147[8]](201)[_0x4147[7]](_0x4304x8)})[_0x4147[6]](function(_0x4304x6){return handleError(_0x4304x5,_0x4304x6)})};exports[_0x4147[22]]=function(_0x4304x4,_0x4304x5){if(_0x4304x4[_0x4147[21]][_0x4147[14]]){delete _0x4304x4[_0x4147[21]][_0x4147[14]]};ZendeskConfiguration[_0x4147[25]](_0x4304x4[_0x4147[15]][_0x4147[14]])[_0x4147[9]](function(_0x4304x8){if(!_0x4304x8){return _0x4304x5[_0x4147[13]](404)};var _0x4304x9=_[_0x4147[23]](_0x4304x8,_0x4304x4[_0x4147[21]]);_0x4304x9[_0x4147[24]]()[_0x4147[9]](function(){return _0x4304x5[_0x4147[8]](200)[_0x4147[7]](_0x4304x8)})[_0x4147[6]](function(_0x4304x6){return handleError(_0x4304x5,_0x4304x6)});})[_0x4147[6]](function(_0x4304x6){return handleError(_0x4304x5,_0x4304x6)});};exports[_0x4147[26]]=function(_0x4304x4,_0x4304x5){ZendeskConfiguration[_0x4147[25]](_0x4304x4[_0x4147[15]][_0x4147[14]])[_0x4147[9]](function(_0x4304x8){if(!_0x4304x8){return _0x4304x5[_0x4147[13]](404)};_0x4304x8[_0x4147[26]]()[_0x4147[9]](function(){return _0x4304x5[_0x4147[13]](204)})[_0x4147[6]](function(_0x4304x6){return handleError(_0x4304x5,_0x4304x6)});})[_0x4147[6]](function(_0x4304x6){return handleError(_0x4304x5,_0x4304x6)})};exports[_0x4147[27]]=function(_0x4304x4,_0x4304x5,_0x4304xa){ZendeskConfiguration[_0x4147[25]](_0x4304x4[_0x4147[15]][_0x4147[14]])[_0x4147[9]](function(_0x4304xb){if(!_0x4304xb){return _0x4304x5[_0x4147[13]](500)};ZendeskField[_0x4147[20]](_0x4304x4[_0x4147[21]])[_0x4147[9]](function(_0x4304xc){switch(_0x4304x4[_0x4147[15]][_0x4147[34]]){case _0x4147[29]:_0x4304xb[_0x4147[28]](_0x4304xc)[_0x4147[9]](function(){return _0x4304x5[_0x4147[8]](200)[_0x4147[7]](_0x4304xc)})[_0x4147[6]](function(_0x4304x6){return handleError(_0x4304x5,_0x4304x6)});break ;;case _0x4147[31]:_0x4304xb[_0x4147[30]](_0x4304xc)[_0x4147[9]](function(){return _0x4304x5[_0x4147[8]](200)[_0x4147[7]](_0x4304xc)})[_0x4147[6]](function(_0x4304x6){return handleError(_0x4304x5,_0x4304x6)});break ;;case _0x4147[33]:_0x4304xb[_0x4147[32]](_0x4304xc)[_0x4147[9]](function(){return _0x4304x5[_0x4147[8]](200)[_0x4147[7]](_0x4304xc)})[_0x4147[6]](function(_0x4304x6){return handleError(_0x4304x5,_0x4304x6)});break ;;}})[_0x4147[6]](function(_0x4304x6){return handleError(_0x4304x5,_0x4304x6)});})[_0x4147[6]](function(_0x4304x6){return handleError(_0x4304x5,_0x4304x6)})};function handleError(_0x4304x5,_0x4304x6){return _0x4304x5[_0x4147[8]](500)[_0x4147[7]](_0x4304x6)}
\ No newline at end of file
index 9978b65..0e2ae58 100644 (file)
@@ -1 +1 @@
-var _0x5a60=["\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"];_0x5a60[0];var ZendeskConfiguration=require(_0x5a60[2])[_0x5a60[1]];exports[_0x5a60[3]]=function(_0xc924x2){ZendeskConfiguration[_0x5a60[4]](function(_0xc924x3){onSave(_0xc924x2,_0xc924x3)});ZendeskConfiguration[_0x5a60[5]](function(_0xc924x3){onRemove(_0xc924x2,_0xc924x3)});};function onSave(_0xc924x2,_0xc924x3,_0xc924x5){_0xc924x2[_0x5a60[7]](_0x5a60[6],_0xc924x3)}function onRemove(_0xc924x2,_0xc924x3,_0xc924x5){_0xc924x2[_0x5a60[7]](_0x5a60[8],_0xc924x3)}
\ No newline at end of file
+var _0xdbe1=["\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"];_0xdbe1[0];var ZendeskConfiguration=require(_0xdbe1[2])[_0xdbe1[1]];exports[_0xdbe1[3]]=function(_0xfcd8x2){ZendeskConfiguration[_0xdbe1[4]](function(_0xfcd8x3){onSave(_0xfcd8x2,_0xfcd8x3)});ZendeskConfiguration[_0xdbe1[5]](function(_0xfcd8x3){onRemove(_0xfcd8x2,_0xfcd8x3)});};function onSave(_0xfcd8x2,_0xfcd8x3,_0xfcd8x5){_0xfcd8x2[_0xdbe1[7]](_0xdbe1[6],_0xfcd8x3)}function onRemove(_0xfcd8x2,_0xfcd8x3,_0xfcd8x5){_0xfcd8x2[_0xdbe1[7]](_0xdbe1[8],_0xfcd8x3)}
\ No newline at end of file
index 8d0b4c8..336c133 100644 (file)
@@ -1 +1 @@
-var _0xd475=["\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\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\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\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x67\x65\x74"];_0xd475[0];var should=require(_0xd475[1]);var app=require(_0xd475[2]);var request=require(_0xd475[3]);describe(_0xd475[4],function(){it(_0xd475[5],function(_0x99cbx4){request(app)[_0xd475[13]](_0xd475[12])[_0xd475[11]](200)[_0xd475[11]](_0xd475[10],/json/)[_0xd475[9]](function(_0x99cbx5,_0x99cbx6){if(_0x99cbx5){return _0x99cbx4(_0x99cbx5)};_0x99cbx6[_0xd475[8]][_0xd475[1]][_0xd475[7]][_0xd475[6]](Array);_0x99cbx4();})})});
\ No newline at end of file
+var _0x5358=["\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\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\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\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x67\x65\x74"];_0x5358[0];var should=require(_0x5358[1]);var app=require(_0x5358[2]);var request=require(_0x5358[3]);describe(_0x5358[4],function(){it(_0x5358[5],function(_0x749ax4){request(app)[_0x5358[13]](_0x5358[12])[_0x5358[11]](200)[_0x5358[11]](_0x5358[10],/json/)[_0x5358[9]](function(_0x749ax5,_0x749ax6){if(_0x749ax5){return _0x749ax4(_0x749ax5)};_0x749ax6[_0x5358[8]][_0x5358[1]][_0x5358[7]][_0x5358[6]](Array);_0x749ax4();})})});
\ No newline at end of file
index 88c788f..8600e99 100644 (file)
@@ -1 +1 @@
-var _0xd73b=["\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","\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"];_0xd73b[0];var express=require(_0xd73b[1]);var controller=require(_0xd73b[2]);var router=express.Router();router[_0xd73b[5]](_0xd73b[3],controller[_0xd73b[4]]);router[_0xd73b[5]](_0xd73b[6],controller[_0xd73b[7]]);router[_0xd73b[9]](_0xd73b[3],controller[_0xd73b[8]]);router[_0xd73b[11]](_0xd73b[6],controller[_0xd73b[10]]);router[_0xd73b[12]](_0xd73b[6],controller[_0xd73b[10]]);router[_0xd73b[14]](_0xd73b[6],controller[_0xd73b[13]]);module[_0xd73b[15]]=router;
\ No newline at end of file
+var _0x50ab=["\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","\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"];_0x50ab[0];var express=require(_0x50ab[1]);var controller=require(_0x50ab[2]);var router=express.Router();router[_0x50ab[5]](_0x50ab[3],controller[_0x50ab[4]]);router[_0x50ab[5]](_0x50ab[6],controller[_0x50ab[7]]);router[_0x50ab[9]](_0x50ab[3],controller[_0x50ab[8]]);router[_0x50ab[11]](_0x50ab[6],controller[_0x50ab[10]]);router[_0x50ab[12]](_0x50ab[6],controller[_0x50ab[10]]);router[_0x50ab[14]](_0x50ab[6],controller[_0x50ab[13]]);module[_0x50ab[15]]=router;
\ No newline at end of file
index 32a87f5..e2cc9a8 100644 (file)
@@ -1 +1 @@
-var _0xe048=["\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"];_0xe048[0];var _=require(_0xe048[1]);var ZendeskField=require(_0xe048[3])[_0xe048[2]];exports[_0xe048[4]]=function(_0xd4cex3,_0xd4cex4){ZendeskField[_0xe048[9]]()[_0xe048[8]](function(_0xd4cex6){return _0xd4cex4[_0xe048[7]](200)[_0xe048[6]](_0xd4cex6)})[_0xe048[5]](function(_0xd4cex5){return handleError(_0xd4cex4,_0xd4cex5)})};exports[_0xe048[10]]=function(_0xd4cex3,_0xd4cex4){ZendeskField[_0xe048[14]](_0xd4cex3[_0xe048[13]][_0xe048[12]])[_0xe048[8]](function(_0xd4cex7){if(!_0xd4cex7){return _0xd4cex4[_0xe048[11]](404)};return _0xd4cex4[_0xe048[6]](_0xd4cex7);})[_0xe048[5]](function(_0xd4cex5){return handleError(_0xd4cex4,_0xd4cex5)})};exports[_0xe048[15]]=function(_0xd4cex3,_0xd4cex4){ZendeskField[_0xe048[15]](_0xd4cex3[_0xe048[16]])[_0xe048[8]](function(_0xd4cex7){return _0xd4cex4[_0xe048[7]](201)[_0xe048[6]](_0xd4cex7)})[_0xe048[5]](function(_0xd4cex5){return handleError(_0xd4cex4,_0xd4cex5)})};exports[_0xe048[17]]=function(_0xd4cex3,_0xd4cex4){if(_0xd4cex3[_0xe048[16]][_0xe048[12]]){delete _0xd4cex3[_0xe048[16]][_0xe048[12]]};ZendeskField[_0xe048[14]](_0xd4cex3[_0xe048[13]][_0xe048[12]])[_0xe048[8]](function(_0xd4cex7){if(!_0xd4cex7){return _0xd4cex4[_0xe048[11]](404)};var _0xd4cex8=_[_0xe048[18]](_0xd4cex7,_0xd4cex3[_0xe048[16]]);_0xd4cex8[_0xe048[19]]()[_0xe048[8]](function(){return _0xd4cex4[_0xe048[7]](200)[_0xe048[6]](_0xd4cex7)})[_0xe048[5]](function(_0xd4cex5){return handleError(_0xd4cex4,_0xd4cex5)});})[_0xe048[5]](function(_0xd4cex5){return handleError(_0xd4cex4,_0xd4cex5)});};exports[_0xe048[20]]=function(_0xd4cex3,_0xd4cex4){ZendeskField[_0xe048[14]](_0xd4cex3[_0xe048[13]][_0xe048[12]])[_0xe048[8]](function(_0xd4cex7){if(!_0xd4cex7){return _0xd4cex4[_0xe048[11]](404)};_0xd4cex7[_0xe048[20]]()[_0xe048[8]](function(){return _0xd4cex4[_0xe048[11]](204)})[_0xe048[5]](function(_0xd4cex5){return handleError(_0xd4cex4,_0xd4cex5)});})[_0xe048[5]](function(_0xd4cex5){return handleError(_0xd4cex4,_0xd4cex5)})};function handleError(_0xd4cex4,_0xd4cex5){return _0xd4cex4[_0xe048[7]](500)[_0xe048[6]](_0xd4cex5)}
\ No newline at end of file
+var _0x38b2=["\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"];_0x38b2[0];var _=require(_0x38b2[1]);var ZendeskField=require(_0x38b2[3])[_0x38b2[2]];exports[_0x38b2[4]]=function(_0x77e2x3,_0x77e2x4){ZendeskField[_0x38b2[9]]()[_0x38b2[8]](function(_0x77e2x6){return _0x77e2x4[_0x38b2[7]](200)[_0x38b2[6]](_0x77e2x6)})[_0x38b2[5]](function(_0x77e2x5){return handleError(_0x77e2x4,_0x77e2x5)})};exports[_0x38b2[10]]=function(_0x77e2x3,_0x77e2x4){ZendeskField[_0x38b2[14]](_0x77e2x3[_0x38b2[13]][_0x38b2[12]])[_0x38b2[8]](function(_0x77e2x7){if(!_0x77e2x7){return _0x77e2x4[_0x38b2[11]](404)};return _0x77e2x4[_0x38b2[6]](_0x77e2x7);})[_0x38b2[5]](function(_0x77e2x5){return handleError(_0x77e2x4,_0x77e2x5)})};exports[_0x38b2[15]]=function(_0x77e2x3,_0x77e2x4){ZendeskField[_0x38b2[15]](_0x77e2x3[_0x38b2[16]])[_0x38b2[8]](function(_0x77e2x7){return _0x77e2x4[_0x38b2[7]](201)[_0x38b2[6]](_0x77e2x7)})[_0x38b2[5]](function(_0x77e2x5){return handleError(_0x77e2x4,_0x77e2x5)})};exports[_0x38b2[17]]=function(_0x77e2x3,_0x77e2x4){if(_0x77e2x3[_0x38b2[16]][_0x38b2[12]]){delete _0x77e2x3[_0x38b2[16]][_0x38b2[12]]};ZendeskField[_0x38b2[14]](_0x77e2x3[_0x38b2[13]][_0x38b2[12]])[_0x38b2[8]](function(_0x77e2x7){if(!_0x77e2x7){return _0x77e2x4[_0x38b2[11]](404)};var _0x77e2x8=_[_0x38b2[18]](_0x77e2x7,_0x77e2x3[_0x38b2[16]]);_0x77e2x8[_0x38b2[19]]()[_0x38b2[8]](function(){return _0x77e2x4[_0x38b2[7]](200)[_0x38b2[6]](_0x77e2x7)})[_0x38b2[5]](function(_0x77e2x5){return handleError(_0x77e2x4,_0x77e2x5)});})[_0x38b2[5]](function(_0x77e2x5){return handleError(_0x77e2x4,_0x77e2x5)});};exports[_0x38b2[20]]=function(_0x77e2x3,_0x77e2x4){ZendeskField[_0x38b2[14]](_0x77e2x3[_0x38b2[13]][_0x38b2[12]])[_0x38b2[8]](function(_0x77e2x7){if(!_0x77e2x7){return _0x77e2x4[_0x38b2[11]](404)};_0x77e2x7[_0x38b2[20]]()[_0x38b2[8]](function(){return _0x77e2x4[_0x38b2[11]](204)})[_0x38b2[5]](function(_0x77e2x5){return handleError(_0x77e2x4,_0x77e2x5)});})[_0x38b2[5]](function(_0x77e2x5){return handleError(_0x77e2x4,_0x77e2x5)})};function handleError(_0x77e2x4,_0x77e2x5){return _0x77e2x4[_0x38b2[7]](500)[_0x38b2[6]](_0x77e2x5)}
\ No newline at end of file
index dc10c96..43ee022 100644 (file)
@@ -1 +1 @@
-var _0x88de=["\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"];_0x88de[0];var ZendeskField=require(_0x88de[2])[_0x88de[1]];exports[_0x88de[3]]=function(_0xad30x2){ZendeskField[_0x88de[4]](function(_0xad30x3){onSave(_0xad30x2,_0xad30x3)});ZendeskField[_0x88de[5]](function(_0xad30x3){onRemove(_0xad30x2,_0xad30x3)});};function onSave(_0xad30x2,_0xad30x3,_0xad30x5){_0xad30x2[_0x88de[7]](_0x88de[6],_0xad30x3)}function onRemove(_0xad30x2,_0xad30x3,_0xad30x5){_0xad30x2[_0x88de[7]](_0x88de[8],_0xad30x3)}
\ No newline at end of file
+var _0x8485=["\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"];_0x8485[0];var ZendeskField=require(_0x8485[2])[_0x8485[1]];exports[_0x8485[3]]=function(_0x4934x2){ZendeskField[_0x8485[4]](function(_0x4934x3){onSave(_0x4934x2,_0x4934x3)});ZendeskField[_0x8485[5]](function(_0x4934x3){onRemove(_0x4934x2,_0x4934x3)});};function onSave(_0x4934x2,_0x4934x3,_0x4934x5){_0x4934x2[_0x8485[7]](_0x8485[6],_0x4934x3)}function onRemove(_0x4934x2,_0x4934x3,_0x4934x5){_0x4934x2[_0x8485[7]](_0x8485[8],_0x4934x3)}
\ No newline at end of file
index 09951cd..c8e3aab 100644 (file)
@@ -1 +1 @@
-var _0xc346=["\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"];_0xc346[0];var should=require(_0xc346[1]);var app=require(_0xc346[2]);var request=require(_0xc346[3]);describe(_0xc346[4],function(){it(_0xc346[5],function(_0xa313x4){request(app)[_0xc346[13]](_0xc346[12])[_0xc346[11]](200)[_0xc346[11]](_0xc346[10],/json/)[_0xc346[9]](function(_0xa313x5,_0xa313x6){if(_0xa313x5){return _0xa313x4(_0xa313x5)};_0xa313x6[_0xc346[8]][_0xc346[1]][_0xc346[7]][_0xc346[6]](Array);_0xa313x4();})})});
\ No newline at end of file
+var _0xe4c7=["\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"];_0xe4c7[0];var should=require(_0xe4c7[1]);var app=require(_0xe4c7[2]);var request=require(_0xe4c7[3]);describe(_0xe4c7[4],function(){it(_0xe4c7[5],function(_0x4553x4){request(app)[_0xe4c7[13]](_0xe4c7[12])[_0xe4c7[11]](200)[_0xe4c7[11]](_0xe4c7[10],/json/)[_0xe4c7[9]](function(_0x4553x5,_0x4553x6){if(_0x4553x5){return _0x4553x4(_0x4553x5)};_0x4553x6[_0xe4c7[8]][_0xe4c7[1]][_0xe4c7[7]][_0xe4c7[6]](Array);_0x4553x4();})})});
\ No newline at end of file
index 9a4fb11..ed7aeac 100644 (file)
@@ -1 +1 @@
-var _0xf01d=["\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","\x6B\x75\x65","\x6C\x69\x73\x74\x65\x6E","\x61\x70\x70","\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","\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\x6B\x75\x65\x2E\x6D\x61\x69\x6C","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6B\x75\x65\x2E\x63\x68\x61\x74","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6B\x75\x65\x2E\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","\x69\x6E\x69\x74","\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\x61\x6D\x69","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x61\x67\x69","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x61\x75\x74\x6F\x64\x69\x61\x6C\x65\x72","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\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","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xf01d[0];process[_0xf01d[2]][_0xf01d[1]]=process[_0xf01d[2]][_0xf01d[1]]||_0xf01d[3];process[_0xf01d[2]][_0xf01d[4]]=0;process[_0xf01d[14]](_0xf01d[5],function(_0x7fabx1){if( typeof _0x7fabx1===_0xf01d[6]){if(_0x7fabx1[_0xf01d[7]]){console[_0xf01d[9]](_0xf01d[8]+_0x7fabx1[_0xf01d[7]])};if(_0x7fabx1[_0xf01d[10]]){console[_0xf01d[9]](_0xf01d[11]);console[_0xf01d[9]](_0xf01d[12]);console[_0xf01d[9]](_0x7fabx1[_0xf01d[10]]);};}else {console[_0xf01d[9]](_0xf01d[13])}});var os=require(_0xf01d[15]);var http=require(_0xf01d[16]);var util=require(_0xf01d[17]);var crypto=require(_0xf01d[18]);var cronjob=require(_0xf01d[20])[_0xf01d[19]];var shelljs=require(_0xf01d[21]);var express=require(_0xf01d[22]);var models=require(_0xf01d[23]);var config=require(_0xf01d[24]);var Settings=models[_0xf01d[25]];var app=express();var server=require(_0xf01d[16])[_0xf01d[26]](app);var io=require(_0xf01d[29])(server,{serveClient:(config[_0xf01d[2]]===_0xf01d[27])?false:true,path:_0xf01d[28]});var ami=require(_0xf01d[35])(config[_0xf01d[31]][_0xf01d[30]],config[_0xf01d[31]][_0xf01d[32]],config[_0xf01d[31]][_0xf01d[33]],config[_0xf01d[31]][_0xf01d[34]],true);ami[_0xf01d[36]]();var kue=require(_0xf01d[37]);kue[_0xf01d[39]][_0xf01d[38]](3001);var _setting;var _license;require(_0xf01d[40])(app);require(_0xf01d[41])(app);models[_0xf01d[70]][_0xf01d[46]]()[_0xf01d[45]](function(){require(_0xf01d[41])(app);if(config[_0xf01d[48]]){require(_0xf01d[49])};if(config[_0xf01d[50]]){require(_0xf01d[51])};require(_0xf01d[52])(io);require(_0xf01d[53])(kue);require(_0xf01d[54])(kue);require(_0xf01d[55])(io,kue);require(_0xf01d[56])();require(_0xf01d[57])();require(_0xf01d[58])();require(_0xf01d[60])[_0xf01d[59]]();require(_0xf01d[61])[_0xf01d[59]]();require(_0xf01d[62])(ami);require(_0xf01d[63])();require(_0xf01d[64])(ami);require(_0xf01d[65])(io,ami);require(_0xf01d[66])();server[_0xf01d[38]](config[_0xf01d[30]],config[_0xf01d[67]],function(){console[_0xf01d[9]](_0xf01d[68],config[_0xf01d[30]],app[_0xf01d[69]](_0xf01d[2]))});})[_0xf01d[45]](function(){return models[_0xf01d[47]][_0xf01d[46]]()})[_0xf01d[45]](function(){require(_0xf01d[44])(cronjob)})[_0xf01d[43]](function(_0x7fabx1){console[_0xf01d[42]](_0x7fabx1)});exports=module[_0xf01d[71]]=app;
\ No newline at end of file
+var _0x1c03=["\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","\x6B\x75\x65","\x6C\x69\x73\x74\x65\x6E","\x61\x70\x70","\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","\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\x6B\x75\x65\x2E\x6D\x61\x69\x6C","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6B\x75\x65\x2E\x63\x68\x61\x74","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6B\x75\x65\x2E\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","\x69\x6E\x69\x74","\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\x61\x6D\x69","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x61\x67\x69","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x61\x75\x74\x6F\x64\x69\x61\x6C\x65\x72","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\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","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x1c03[0];process[_0x1c03[2]][_0x1c03[1]]=process[_0x1c03[2]][_0x1c03[1]]||_0x1c03[3];process[_0x1c03[2]][_0x1c03[4]]=0;process[_0x1c03[14]](_0x1c03[5],function(_0x41a2x1){if( typeof _0x41a2x1===_0x1c03[6]){if(_0x41a2x1[_0x1c03[7]]){console[_0x1c03[9]](_0x1c03[8]+_0x41a2x1[_0x1c03[7]])};if(_0x41a2x1[_0x1c03[10]]){console[_0x1c03[9]](_0x1c03[11]);console[_0x1c03[9]](_0x1c03[12]);console[_0x1c03[9]](_0x41a2x1[_0x1c03[10]]);};}else {console[_0x1c03[9]](_0x1c03[13])}});var os=require(_0x1c03[15]);var http=require(_0x1c03[16]);var util=require(_0x1c03[17]);var crypto=require(_0x1c03[18]);var cronjob=require(_0x1c03[20])[_0x1c03[19]];var shelljs=require(_0x1c03[21]);var express=require(_0x1c03[22]);var models=require(_0x1c03[23]);var config=require(_0x1c03[24]);var Settings=models[_0x1c03[25]];var app=express();var server=require(_0x1c03[16])[_0x1c03[26]](app);var io=require(_0x1c03[29])(server,{serveClient:(config[_0x1c03[2]]===_0x1c03[27])?false:true,path:_0x1c03[28]});var ami=require(_0x1c03[35])(config[_0x1c03[31]][_0x1c03[30]],config[_0x1c03[31]][_0x1c03[32]],config[_0x1c03[31]][_0x1c03[33]],config[_0x1c03[31]][_0x1c03[34]],true);ami[_0x1c03[36]]();var kue=require(_0x1c03[37]);kue[_0x1c03[39]][_0x1c03[38]](3001);var _setting;var _license;require(_0x1c03[40])(app);require(_0x1c03[41])(app);models[_0x1c03[70]][_0x1c03[46]]()[_0x1c03[45]](function(){require(_0x1c03[41])(app);if(config[_0x1c03[48]]){require(_0x1c03[49])};if(config[_0x1c03[50]]){require(_0x1c03[51])};require(_0x1c03[52])(io);require(_0x1c03[53])(kue);require(_0x1c03[54])(kue);require(_0x1c03[55])(io,kue);require(_0x1c03[56])();require(_0x1c03[57])();require(_0x1c03[58])();require(_0x1c03[60])[_0x1c03[59]]();require(_0x1c03[61])[_0x1c03[59]]();require(_0x1c03[62])(ami);require(_0x1c03[63])();require(_0x1c03[64])(ami);require(_0x1c03[65])(io,ami);require(_0x1c03[66])();server[_0x1c03[38]](config[_0x1c03[30]],config[_0x1c03[67]],function(){console[_0x1c03[9]](_0x1c03[68],config[_0x1c03[30]],app[_0x1c03[69]](_0x1c03[2]))});})[_0x1c03[45]](function(){return models[_0x1c03[47]][_0x1c03[46]]()})[_0x1c03[45]](function(){require(_0x1c03[44])(cronjob)})[_0x1c03[43]](function(_0x41a2x1){console[_0x1c03[42]](_0x41a2x1)});exports=module[_0x1c03[71]]=app;
\ No newline at end of file
index 239ace0..d2e5a4b 100644 (file)
@@ -1 +1 @@
-var _0x8de8=["\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","\x73\x65\x63\x72\x65\x74","\x73\x65\x73\x73\x69\x6F\x6E","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\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","\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","\x72\x6F\x6C\x65","\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"];_0x8de8[0];var passport=require(_0x8de8[1]);var config=require(_0x8de8[2]);var jwt=require(_0x8de8[3]);var expressJwt=require(_0x8de8[4]);var compose=require(_0x8de8[5]);var User=require(_0x8de8[7])[_0x8de8[6]];var validateJwt=expressJwt({secret:config[_0x8de8[9]][_0x8de8[8]]});function isAuthenticated(){return compose()[_0x8de8[16]](function(_0x827ex9,_0x827exa,_0x827exb){if(_0x827ex9[_0x8de8[17]]&&_0x827ex9[_0x8de8[17]][_0x8de8[19]](_0x8de8[18])){_0x827ex9[_0x8de8[21]][_0x8de8[20]]=_0x8de8[22]+_0x827ex9[_0x8de8[17]][_0x8de8[18]]};validateJwt(_0x827ex9,_0x827exa,_0x827exb);})[_0x8de8[16]](function(_0x827ex9,_0x827exa,_0x827exb){User[_0x8de8[15]](_0x827ex9[_0x8de8[12]][_0x8de8[14]])[_0x8de8[13]](function(_0x827exd){if(!_0x827exd){return _0x827exa[_0x8de8[11]](401)};_0x827ex9[_0x8de8[12]]=_0x827exd;return _0x827exb();})[_0x8de8[10]](function(_0x827exc){return _0x827exb(_0x827exc)})})}function hasRole(_0x827exf){if(!_0x827exf){throw  new Error(_0x8de8[23])};return compose()[_0x8de8[16]](isAuthenticated())[_0x8de8[16]](function _0x827ex10(_0x827ex9,_0x827exa,_0x827exb){if(config[_0x8de8[26]][_0x8de8[25]](_0x827ex9[_0x8de8[12]][_0x8de8[24]])>=config[_0x8de8[26]][_0x8de8[25]](_0x827exf)){return _0x827exb()}else {return _0x827exa[_0x8de8[11]](403)}});}function signToken(_0x827ex12,_0x827ex13,_0x827ex14){var _0x827ex15=60*24*365*5;if(!_0x827ex14){_0x827ex15=_0x8de8[27]};return jwt[_0x8de8[28]]({id:_0x827ex12},config[_0x8de8[9]][_0x8de8[8]],{expiresIn:_0x827ex15});}function setTokenCookie(_0x827ex9,_0x827exa){if(!_0x827ex9[_0x8de8[12]]){return _0x827exa[_0x8de8[30]](404,{message:_0x8de8[29]})};var _0x827ex17=signToken(_0x827ex9[_0x8de8[12]][_0x8de8[14]],_0x827ex9[_0x8de8[12]][_0x8de8[24]]);_0x827exa[_0x8de8[33]](_0x8de8[31],JSON[_0x8de8[32]](_0x827ex17));_0x827exa[_0x8de8[35]](_0x8de8[34]);}exports[_0x8de8[36]]=isAuthenticated;exports[_0x8de8[37]]=hasRole;exports[_0x8de8[38]]=signToken;exports[_0x8de8[39]]=setTokenCookie;
\ No newline at end of file
+var _0xdfca=["\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","\x73\x65\x63\x72\x65\x74","\x73\x65\x73\x73\x69\x6F\x6E","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\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","\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","\x72\x6F\x6C\x65","\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"];_0xdfca[0];var passport=require(_0xdfca[1]);var config=require(_0xdfca[2]);var jwt=require(_0xdfca[3]);var expressJwt=require(_0xdfca[4]);var compose=require(_0xdfca[5]);var User=require(_0xdfca[7])[_0xdfca[6]];var validateJwt=expressJwt({secret:config[_0xdfca[9]][_0xdfca[8]]});function isAuthenticated(){return compose()[_0xdfca[16]](function(_0x83fdx9,_0x83fdxa,_0x83fdxb){if(_0x83fdx9[_0xdfca[17]]&&_0x83fdx9[_0xdfca[17]][_0xdfca[19]](_0xdfca[18])){_0x83fdx9[_0xdfca[21]][_0xdfca[20]]=_0xdfca[22]+_0x83fdx9[_0xdfca[17]][_0xdfca[18]]};validateJwt(_0x83fdx9,_0x83fdxa,_0x83fdxb);})[_0xdfca[16]](function(_0x83fdx9,_0x83fdxa,_0x83fdxb){User[_0xdfca[15]](_0x83fdx9[_0xdfca[12]][_0xdfca[14]])[_0xdfca[13]](function(_0x83fdxd){if(!_0x83fdxd){return _0x83fdxa[_0xdfca[11]](401)};_0x83fdx9[_0xdfca[12]]=_0x83fdxd;return _0x83fdxb();})[_0xdfca[10]](function(_0x83fdxc){return _0x83fdxb(_0x83fdxc)})})}function hasRole(_0x83fdxf){if(!_0x83fdxf){throw  new Error(_0xdfca[23])};return compose()[_0xdfca[16]](isAuthenticated())[_0xdfca[16]](function _0x83fdx10(_0x83fdx9,_0x83fdxa,_0x83fdxb){if(config[_0xdfca[26]][_0xdfca[25]](_0x83fdx9[_0xdfca[12]][_0xdfca[24]])>=config[_0xdfca[26]][_0xdfca[25]](_0x83fdxf)){return _0x83fdxb()}else {return _0x83fdxa[_0xdfca[11]](403)}});}function signToken(_0x83fdx12,_0x83fdx13,_0x83fdx14){var _0x83fdx15=60*24*365*5;if(!_0x83fdx14){_0x83fdx15=_0xdfca[27]};return jwt[_0xdfca[28]]({id:_0x83fdx12},config[_0xdfca[9]][_0xdfca[8]],{expiresIn:_0x83fdx15});}function setTokenCookie(_0x83fdx9,_0x83fdxa){if(!_0x83fdx9[_0xdfca[12]]){return _0x83fdxa[_0xdfca[30]](404,{message:_0xdfca[29]})};var _0x83fdx17=signToken(_0x83fdx9[_0xdfca[12]][_0xdfca[14]],_0x83fdx9[_0xdfca[12]][_0xdfca[24]]);_0x83fdxa[_0xdfca[33]](_0xdfca[31],JSON[_0xdfca[32]](_0x83fdx17));_0x83fdxa[_0xdfca[35]](_0xdfca[34]);}exports[_0xdfca[36]]=isAuthenticated;exports[_0xdfca[37]]=hasRole;exports[_0xdfca[38]]=signToken;exports[_0xdfca[39]]=setTokenCookie;
\ No newline at end of file
index 664c477..748c3c1 100644 (file)
@@ -1 +1 @@
-var _0xf71f=["\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"];_0xf71f[0];var express=require(_0xf71f[1]);var passport=require(_0xf71f[2]);var auth=require(_0xf71f[3]);var router=express.Router();router[_0xf71f[9]](_0xf71f[10],passport[_0xf71f[7]](_0xf71f[5],{scope:[_0xf71f[11],_0xf71f[12]],failureRedirect:_0xf71f[6],session:false}))[_0xf71f[9]](_0xf71f[4],passport[_0xf71f[7]](_0xf71f[5],{failureRedirect:_0xf71f[6],session:false}),auth[_0xf71f[8]]);module[_0xf71f[13]]=router;
\ No newline at end of file
+var _0xd598=["\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"];_0xd598[0];var express=require(_0xd598[1]);var passport=require(_0xd598[2]);var auth=require(_0xd598[3]);var router=express.Router();router[_0xd598[9]](_0xd598[10],passport[_0xd598[7]](_0xd598[5],{scope:[_0xd598[11],_0xd598[12]],failureRedirect:_0xd598[6],session:false}))[_0xd598[9]](_0xd598[4],passport[_0xd598[7]](_0xd598[5],{failureRedirect:_0xd598[6],session:false}),auth[_0xd598[8]]);module[_0xd598[13]]=router;
\ No newline at end of file
index b997289..bdca3fe 100644 (file)
@@ -1 +1 @@
-var _0x984d=["\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(_0x984d[0]);var FacebookStrategy=require(_0x984d[2])[_0x984d[1]];exports[_0x984d[3]]=function(_0xd29fx3,_0xd29fx4){passport[_0x984d[17]]( new FacebookStrategy({clientID:_0xd29fx4[_0x984d[5]][_0x984d[4]],clientSecret:_0xd29fx4[_0x984d[5]][_0x984d[6]],callbackURL:_0xd29fx4[_0x984d[5]][_0x984d[7]]},function(_0xd29fx5,_0xd29fx6,_0xd29fx7,_0xd29fx8){_0xd29fx3[_0x984d[16]]({"\x66\x61\x63\x65\x62\x6F\x6F\x6B\x2E\x69\x64":_0xd29fx7[_0x984d[8]]},function(_0xd29fx9,_0xd29fxa){if(_0xd29fx9){return _0xd29fx8(_0xd29fx9)};if(!_0xd29fxa){_0xd29fxa= new _0xd29fx3({name:_0xd29fx7[_0x984d[9]],email:_0xd29fx7[_0x984d[11]][0][_0x984d[10]],role:_0x984d[12],username:_0xd29fx7[_0x984d[13]],provider:_0x984d[5],facebook:_0xd29fx7[_0x984d[14]]});_0xd29fxa[_0x984d[15]](function(_0xd29fx9){if(_0xd29fx9){_0xd29fx8(_0xd29fx9)};return _0xd29fx8(_0xd29fx9,_0xd29fxa);});}else {return _0xd29fx8(_0xd29fx9,_0xd29fxa)};})}))};
\ No newline at end of file
+var _0xde1e=["\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(_0xde1e[0]);var FacebookStrategy=require(_0xde1e[2])[_0xde1e[1]];exports[_0xde1e[3]]=function(_0x71c7x3,_0x71c7x4){passport[_0xde1e[17]]( new FacebookStrategy({clientID:_0x71c7x4[_0xde1e[5]][_0xde1e[4]],clientSecret:_0x71c7x4[_0xde1e[5]][_0xde1e[6]],callbackURL:_0x71c7x4[_0xde1e[5]][_0xde1e[7]]},function(_0x71c7x5,_0x71c7x6,_0x71c7x7,_0x71c7x8){_0x71c7x3[_0xde1e[16]]({"\x66\x61\x63\x65\x62\x6F\x6F\x6B\x2E\x69\x64":_0x71c7x7[_0xde1e[8]]},function(_0x71c7x9,_0x71c7xa){if(_0x71c7x9){return _0x71c7x8(_0x71c7x9)};if(!_0x71c7xa){_0x71c7xa= new _0x71c7x3({name:_0x71c7x7[_0xde1e[9]],email:_0x71c7x7[_0xde1e[11]][0][_0xde1e[10]],role:_0xde1e[12],username:_0x71c7x7[_0xde1e[13]],provider:_0xde1e[5],facebook:_0x71c7x7[_0xde1e[14]]});_0x71c7xa[_0xde1e[15]](function(_0x71c7x9){if(_0x71c7x9){_0x71c7x8(_0x71c7x9)};return _0x71c7x8(_0x71c7x9,_0x71c7xa);});}else {return _0x71c7x8(_0x71c7x9,_0x71c7xa)};})}))};
\ No newline at end of file
index 44eb9e5..1eaec05 100644 (file)
@@ -1 +1 @@
-var _0x803e=["\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"];_0x803e[0];var express=require(_0x803e[1]);var passport=require(_0x803e[2]);var auth=require(_0x803e[3]);var router=express.Router();router[_0x803e[9]](_0x803e[10],passport[_0x803e[7]](_0x803e[5],{failureRedirect:_0x803e[6],scope:[_0x803e[11],_0x803e[12]],session:false}))[_0x803e[9]](_0x803e[4],passport[_0x803e[7]](_0x803e[5],{failureRedirect:_0x803e[6],session:false}),auth[_0x803e[8]]);module[_0x803e[13]]=router;
\ No newline at end of file
+var _0x8766=["\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"];_0x8766[0];var express=require(_0x8766[1]);var passport=require(_0x8766[2]);var auth=require(_0x8766[3]);var router=express.Router();router[_0x8766[9]](_0x8766[10],passport[_0x8766[7]](_0x8766[5],{failureRedirect:_0x8766[6],scope:[_0x8766[11],_0x8766[12]],session:false}))[_0x8766[9]](_0x8766[4],passport[_0x8766[7]](_0x8766[5],{failureRedirect:_0x8766[6],session:false}),auth[_0x8766[8]]);module[_0x8766[13]]=router;
\ No newline at end of file
index 8ba73e1..c864f8f 100644 (file)
@@ -1 +1 @@
-var _0x4249=["\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(_0x4249[0]);var GoogleStrategy=require(_0x4249[2])[_0x4249[1]];exports[_0x4249[3]]=function(_0x2acdx3,_0x2acdx4){passport[_0x4249[17]]( new GoogleStrategy({clientID:_0x2acdx4[_0x4249[5]][_0x4249[4]],clientSecret:_0x2acdx4[_0x4249[5]][_0x4249[6]],callbackURL:_0x2acdx4[_0x4249[5]][_0x4249[7]]},function(_0x2acdx5,_0x2acdx6,_0x2acdx7,_0x2acdx8){_0x2acdx3[_0x4249[16]]({"\x67\x6F\x6F\x67\x6C\x65\x2E\x69\x64":_0x2acdx7[_0x4249[8]]},function(_0x2acdx9,_0x2acdxa){if(!_0x2acdxa){_0x2acdxa= new _0x2acdx3({name:_0x2acdx7[_0x4249[9]],email:_0x2acdx7[_0x4249[11]][0][_0x4249[10]],role:_0x4249[12],username:_0x2acdx7[_0x4249[13]],provider:_0x4249[5],google:_0x2acdx7[_0x4249[14]]});_0x2acdxa[_0x4249[15]](function(_0x2acdx9){if(_0x2acdx9){_0x2acdx8(_0x2acdx9)};return _0x2acdx8(_0x2acdx9,_0x2acdxa);});}else {return _0x2acdx8(_0x2acdx9,_0x2acdxa)}})}))};
\ No newline at end of file
+var _0xc6dc=["\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(_0xc6dc[0]);var GoogleStrategy=require(_0xc6dc[2])[_0xc6dc[1]];exports[_0xc6dc[3]]=function(_0xc4b0x3,_0xc4b0x4){passport[_0xc6dc[17]]( new GoogleStrategy({clientID:_0xc4b0x4[_0xc6dc[5]][_0xc6dc[4]],clientSecret:_0xc4b0x4[_0xc6dc[5]][_0xc6dc[6]],callbackURL:_0xc4b0x4[_0xc6dc[5]][_0xc6dc[7]]},function(_0xc4b0x5,_0xc4b0x6,_0xc4b0x7,_0xc4b0x8){_0xc4b0x3[_0xc6dc[16]]({"\x67\x6F\x6F\x67\x6C\x65\x2E\x69\x64":_0xc4b0x7[_0xc6dc[8]]},function(_0xc4b0x9,_0xc4b0xa){if(!_0xc4b0xa){_0xc4b0xa= new _0xc4b0x3({name:_0xc4b0x7[_0xc6dc[9]],email:_0xc4b0x7[_0xc6dc[11]][0][_0xc6dc[10]],role:_0xc6dc[12],username:_0xc4b0x7[_0xc6dc[13]],provider:_0xc6dc[5],google:_0xc4b0x7[_0xc6dc[14]]});_0xc4b0xa[_0xc6dc[15]](function(_0xc4b0x9){if(_0xc4b0x9){_0xc4b0x8(_0xc4b0x9)};return _0xc4b0x8(_0xc4b0x9,_0xc4b0xa);});}else {return _0xc4b0x8(_0xc4b0x9,_0xc4b0xa)}})}))};
\ No newline at end of file
index a3f79c2..52b7b42 100644 (file)
@@ -1 +1 @@
-var _0x9bbc=["\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"];_0x9bbc[0];var express=require(_0x9bbc[1]);var passport=require(_0x9bbc[2]);var config=require(_0x9bbc[3]);var User=require(_0x9bbc[5])[_0x9bbc[4]];require(_0x9bbc[7])[_0x9bbc[6]](User,config);require(_0x9bbc[8])[_0x9bbc[6]](User,config);require(_0x9bbc[9])[_0x9bbc[6]](User,config);require(_0x9bbc[10])[_0x9bbc[6]](User,config);var router=express.Router();router[_0x9bbc[13]](_0x9bbc[11],require(_0x9bbc[12]));router[_0x9bbc[13]](_0x9bbc[14],require(_0x9bbc[15]));router[_0x9bbc[13]](_0x9bbc[16],require(_0x9bbc[17]));router[_0x9bbc[13]](_0x9bbc[18],require(_0x9bbc[19]));module[_0x9bbc[20]]=router;
\ No newline at end of file
+var _0xa00d=["\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"];_0xa00d[0];var express=require(_0xa00d[1]);var passport=require(_0xa00d[2]);var config=require(_0xa00d[3]);var User=require(_0xa00d[5])[_0xa00d[4]];require(_0xa00d[7])[_0xa00d[6]](User,config);require(_0xa00d[8])[_0xa00d[6]](User,config);require(_0xa00d[9])[_0xa00d[6]](User,config);require(_0xa00d[10])[_0xa00d[6]](User,config);var router=express.Router();router[_0xa00d[13]](_0xa00d[11],require(_0xa00d[12]));router[_0xa00d[13]](_0xa00d[14],require(_0xa00d[15]));router[_0xa00d[13]](_0xa00d[16],require(_0xa00d[17]));router[_0xa00d[13]](_0xa00d[18],require(_0xa00d[19]));module[_0xa00d[20]]=router;
\ No newline at end of file
index bcad7cd..e4873ea 100644 (file)
@@ -1 +1 @@
-var _0x5ee1=["\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","\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","\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","\x69\x64","\x72\x6F\x6C\x65","\x72\x65\x6D\x65\x6D\x62\x65\x72","\x62\x6F\x64\x79","\x73\x69\x67\x6E\x54\x6F\x6B\x65\x6E","\x63\x61\x74\x63\x68","\x6E\x61\x6D\x65","\x6C\x6F\x67\x69\x6E","\x2E\x2F\x6C\x6F\x63\x61\x6C\x2E\x61\x6D\x69","\x65\x61\x63\x68\x53\x65\x72\x69\x65\x73","\x74\x68\x65\x6E","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\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","\x75\x73\x65\x72","\x6C\x6F\x67\x6F\x75\x74","\x72\x65\x64\x69\x72\x65\x63\x74","\x67\x65\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x5ee1[0];var express=require(_0x5ee1[1]);var passport=require(_0x5ee1[2]);var async=require(_0x5ee1[3]);var auth=require(_0x5ee1[4]);var User=require(_0x5ee1[6])[_0x5ee1[5]];var license=require(_0x5ee1[7]);var router=express.Router();router[_0x5ee1[27]](_0x5ee1[8],function(_0xb41bx8,_0xb41bx9,_0xb41bxa){passport[_0x5ee1[26]](_0x5ee1[9],function(_0xb41bxb,_0xb41bxc,_0xb41bxd){var _0xb41bxe=_0xb41bxb||_0xb41bxd;if(_0xb41bxe){return _0xb41bx9[_0x5ee1[11]](401)[_0x5ee1[10]](_0xb41bxe)};if(!_0xb41bxc){return _0xb41bx9[_0x5ee1[11]](404)[_0x5ee1[10]]({message:_0x5ee1[12]})};var _0xb41bxf=auth[_0x5ee1[17]](_0xb41bxc[_0x5ee1[13]],_0xb41bxc[_0x5ee1[14]],_0xb41bx8[_0x5ee1[16]][_0x5ee1[15]]||false);User[_0x5ee1[25]](_0xb41bxc[_0x5ee1[13]])[_0x5ee1[23]](function(_0xb41bxc){_0xb41bxc[_0x5ee1[24]]({attributes:[_0x5ee1[19]]})[_0x5ee1[23]](function(_0xb41bx10){async[_0x5ee1[22]](_0xb41bx10,function _0xb41bx11(_0xb41bx12,_0xb41bx13){require(_0x5ee1[21])[_0x5ee1[20]](_0xb41bxc[_0x5ee1[13]],_0xb41bxc[_0x5ee1[19]],_0xb41bx12[_0x5ee1[19]],_0xb41bx13)},function _0xb41bx14(){return _0xb41bx9[_0x5ee1[10]]({token:_0xb41bxf,userId:_0xb41bxc[_0x5ee1[13]]})})})[_0x5ee1[18]](function(_0xb41bxb){return _0xb41bxa(_0xb41bxb)})})[_0x5ee1[18]](function(_0xb41bxb){return _0xb41bxa(_0xb41bxb)});})(_0xb41bx8,_0xb41bx9,_0xb41bxa)});router[_0x5ee1[33]](_0x5ee1[28],auth[_0x5ee1[29]](),function(_0xb41bx8,_0xb41bx9,_0xb41bxa){User[_0x5ee1[25]](_0xb41bx8[_0x5ee1[30]][_0x5ee1[13]])[_0x5ee1[23]](function(_0xb41bxc){_0xb41bxc[_0x5ee1[24]]({attributes:[_0x5ee1[19]]})[_0x5ee1[23]](function(_0xb41bx10){async[_0x5ee1[22]](_0xb41bx10,function _0xb41bx11(_0xb41bx12,_0xb41bx13){require(_0x5ee1[21])[_0x5ee1[31]](_0xb41bx8[_0x5ee1[30]][_0x5ee1[13]],_0xb41bx8[_0x5ee1[30]][_0x5ee1[19]],_0xb41bx12[_0x5ee1[19]],_0xb41bx13)},function _0xb41bx14(){_0xb41bx8[_0x5ee1[31]]();_0xb41bx9[_0x5ee1[32]](_0x5ee1[8]);})})[_0x5ee1[18]](function(_0xb41bxb){return _0xb41bxa(_0xb41bxb)})})[_0x5ee1[18]](function(_0xb41bxb){return _0xb41bxa(_0xb41bxb)})});module[_0x5ee1[34]]=router;
\ No newline at end of file
+var _0x4890=["\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","\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","\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","\x69\x64","\x72\x6F\x6C\x65","\x72\x65\x6D\x65\x6D\x62\x65\x72","\x62\x6F\x64\x79","\x73\x69\x67\x6E\x54\x6F\x6B\x65\x6E","\x63\x61\x74\x63\x68","\x6E\x61\x6D\x65","\x6C\x6F\x67\x69\x6E","\x2E\x2F\x6C\x6F\x63\x61\x6C\x2E\x61\x6D\x69","\x65\x61\x63\x68\x53\x65\x72\x69\x65\x73","\x74\x68\x65\x6E","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\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","\x75\x73\x65\x72","\x6C\x6F\x67\x6F\x75\x74","\x72\x65\x64\x69\x72\x65\x63\x74","\x67\x65\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x4890[0];var express=require(_0x4890[1]);var passport=require(_0x4890[2]);var async=require(_0x4890[3]);var auth=require(_0x4890[4]);var User=require(_0x4890[6])[_0x4890[5]];var license=require(_0x4890[7]);var router=express.Router();router[_0x4890[27]](_0x4890[8],function(_0xccc8x8,_0xccc8x9,_0xccc8xa){passport[_0x4890[26]](_0x4890[9],function(_0xccc8xb,_0xccc8xc,_0xccc8xd){var _0xccc8xe=_0xccc8xb||_0xccc8xd;if(_0xccc8xe){return _0xccc8x9[_0x4890[11]](401)[_0x4890[10]](_0xccc8xe)};if(!_0xccc8xc){return _0xccc8x9[_0x4890[11]](404)[_0x4890[10]]({message:_0x4890[12]})};var _0xccc8xf=auth[_0x4890[17]](_0xccc8xc[_0x4890[13]],_0xccc8xc[_0x4890[14]],_0xccc8x8[_0x4890[16]][_0x4890[15]]||false);User[_0x4890[25]](_0xccc8xc[_0x4890[13]])[_0x4890[23]](function(_0xccc8xc){_0xccc8xc[_0x4890[24]]({attributes:[_0x4890[19]]})[_0x4890[23]](function(_0xccc8x10){async[_0x4890[22]](_0xccc8x10,function _0xccc8x11(_0xccc8x12,_0xccc8x13){require(_0x4890[21])[_0x4890[20]](_0xccc8xc[_0x4890[13]],_0xccc8xc[_0x4890[19]],_0xccc8x12[_0x4890[19]],_0xccc8x13)},function _0xccc8x14(){return _0xccc8x9[_0x4890[10]]({token:_0xccc8xf,userId:_0xccc8xc[_0x4890[13]]})})})[_0x4890[18]](function(_0xccc8xb){return _0xccc8xa(_0xccc8xb)})})[_0x4890[18]](function(_0xccc8xb){return _0xccc8xa(_0xccc8xb)});})(_0xccc8x8,_0xccc8x9,_0xccc8xa)});router[_0x4890[33]](_0x4890[28],auth[_0x4890[29]](),function(_0xccc8x8,_0xccc8x9,_0xccc8xa){User[_0x4890[25]](_0xccc8x8[_0x4890[30]][_0x4890[13]])[_0x4890[23]](function(_0xccc8xc){_0xccc8xc[_0x4890[24]]({attributes:[_0x4890[19]]})[_0x4890[23]](function(_0xccc8x10){async[_0x4890[22]](_0xccc8x10,function _0xccc8x11(_0xccc8x12,_0xccc8x13){require(_0x4890[21])[_0x4890[31]](_0xccc8x8[_0x4890[30]][_0x4890[13]],_0xccc8x8[_0x4890[30]][_0x4890[19]],_0xccc8x12[_0x4890[19]],_0xccc8x13)},function _0xccc8x14(){_0xccc8x8[_0x4890[31]]();_0xccc8x9[_0x4890[32]](_0x4890[8]);})})[_0x4890[18]](function(_0xccc8xb){return _0xccc8xa(_0xccc8xb)})})[_0x4890[18]](function(_0xccc8xb){return _0xccc8xa(_0xccc8xb)})});module[_0x4890[34]]=router;
\ No newline at end of file
index 36d1386..2c0771d 100644 (file)
@@ -1 +1 @@
-var _0x4198=["\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"];_0x4198[0];var util=require(_0x4198[1]);var amiController=require(_0x4198[2]);exports[_0x4198[3]]=function(_0xa304x3,_0xa304x4,_0xa304x5,_0xa304x6){var _0xa304x7={action:_0x4198[4],queue:_0xa304x5,interface:util[_0x4198[6]](_0x4198[5],_0xa304x4),paused:false};_0xa304x7[_0x4198[7]]=JSON[_0x4198[8]](_0xa304x7);_0xa304x7[_0x4198[9]]=_0xa304x3;amiController[_0x4198[12]](_0xa304x7,function(_0xa304x8,_0xa304x9){if(_0xa304x8){console[_0x4198[10]](_0xa304x8)};var _0xa304x7={action:_0x4198[11],queue:_0xa304x5,interface:util[_0x4198[6]](_0x4198[5],_0xa304x4)};_0xa304x7[_0x4198[7]]=JSON[_0x4198[8]](_0xa304x7);_0xa304x7[_0x4198[9]]=_0xa304x3;amiController[_0x4198[12]](_0xa304x7,_0xa304x6);});};exports[_0x4198[13]]=function(_0xa304x3,_0xa304x4,_0xa304x5,_0xa304x6){var _0xa304x7={action:_0x4198[14],queue:_0xa304x5,interface:util[_0x4198[6]](_0x4198[5],_0xa304x4),penalty:0,paused:false,membername:_0xa304x4};_0xa304x7[_0x4198[7]]=JSON[_0x4198[8]](_0xa304x7);_0xa304x7[_0x4198[9]]=_0xa304x3;amiController[_0x4198[12]](_0xa304x7,_0xa304x6);};
\ No newline at end of file
+var _0x288c=["\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"];_0x288c[0];var util=require(_0x288c[1]);var amiController=require(_0x288c[2]);exports[_0x288c[3]]=function(_0x4e4ex3,_0x4e4ex4,_0x4e4ex5,_0x4e4ex6){var _0x4e4ex7={action:_0x288c[4],queue:_0x4e4ex5,interface:util[_0x288c[6]](_0x288c[5],_0x4e4ex4),paused:false};_0x4e4ex7[_0x288c[7]]=JSON[_0x288c[8]](_0x4e4ex7);_0x4e4ex7[_0x288c[9]]=_0x4e4ex3;amiController[_0x288c[12]](_0x4e4ex7,function(_0x4e4ex8,_0x4e4ex9){if(_0x4e4ex8){console[_0x288c[10]](_0x4e4ex8)};var _0x4e4ex7={action:_0x288c[11],queue:_0x4e4ex5,interface:util[_0x288c[6]](_0x288c[5],_0x4e4ex4)};_0x4e4ex7[_0x288c[7]]=JSON[_0x288c[8]](_0x4e4ex7);_0x4e4ex7[_0x288c[9]]=_0x4e4ex3;amiController[_0x288c[12]](_0x4e4ex7,_0x4e4ex6);});};exports[_0x288c[13]]=function(_0x4e4ex3,_0x4e4ex4,_0x4e4ex5,_0x4e4ex6){var _0x4e4ex7={action:_0x288c[14],queue:_0x4e4ex5,interface:util[_0x288c[6]](_0x288c[5],_0x4e4ex4),penalty:0,paused:false,membername:_0x4e4ex4};_0x4e4ex7[_0x288c[7]]=JSON[_0x288c[8]](_0x4e4ex7);_0x4e4ex7[_0x288c[9]]=_0x4e4ex3;amiController[_0x288c[12]](_0x4e4ex7,_0x4e4ex6);};
\ No newline at end of file
index b67c204..66a45a0 100644 (file)
@@ -1 +1 @@
-var _0x5743=["\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(_0x5743[0]);var LocalStrategy=require(_0x5743[2])[_0x5743[1]];var Settings=require(_0x5743[4])[_0x5743[3]];var license=require(_0x5743[5]);exports[_0x5743[6]]=function(_0x2489x5,_0x2489x6){passport[_0x5743[17]](_0x5743[7], new LocalStrategy({usernameField:_0x5743[8],passwordField:_0x5743[9]},function(_0x2489x7,_0x2489x8,_0x2489x9){var _0x2489xa;var _0x2489xb;var _0x2489xc;return _0x2489x5[_0x5743[16]]({where:{name:_0x2489x7}})[_0x5743[12]](function(_0x2489xf){_0x2489xa=_0x2489xf;if(!_0x2489xa||!_0x2489xf[_0x5743[14]](_0x2489x8)){throw  new Error({message:_0x5743[15]})};return _0x2489xa;})[_0x5743[12]](license[_0x5743[13]]())[_0x5743[12]](function(_0x2489xe){if(_0x2489xe){return _0x2489x9(null,_0x2489xa)}else {return _0x2489x9(null,false,{message:_0x5743[11]})}})[_0x5743[10]](function(_0x2489xd){return _0x2489x9(null,false,_0x2489xd)});}))};
\ No newline at end of file
+var _0xeaae=["\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(_0xeaae[0]);var LocalStrategy=require(_0xeaae[2])[_0xeaae[1]];var Settings=require(_0xeaae[4])[_0xeaae[3]];var license=require(_0xeaae[5]);exports[_0xeaae[6]]=function(_0x493dx5,_0x493dx6){passport[_0xeaae[17]](_0xeaae[7], new LocalStrategy({usernameField:_0xeaae[8],passwordField:_0xeaae[9]},function(_0x493dx7,_0x493dx8,_0x493dx9){var _0x493dxa;var _0x493dxb;var _0x493dxc;return _0x493dx5[_0xeaae[16]]({where:{name:_0x493dx7}})[_0xeaae[12]](function(_0x493dxf){_0x493dxa=_0x493dxf;if(!_0x493dxa||!_0x493dxf[_0xeaae[14]](_0x493dx8)){throw  new Error({message:_0xeaae[15]})};return _0x493dxa;})[_0xeaae[12]](license[_0xeaae[13]]())[_0xeaae[12]](function(_0x493dxe){if(_0x493dxe){return _0x493dx9(null,_0x493dxa)}else {return _0x493dx9(null,false,{message:_0xeaae[11]})}})[_0xeaae[10]](function(_0x493dxd){return _0x493dx9(null,false,_0x493dxd)});}))};
\ No newline at end of file
index bdfad75..52a8047 100644 (file)
@@ -1 +1 @@
-var _0x7736=["\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"];_0x7736[0];var express=require(_0x7736[1]);var passport=require(_0x7736[2]);var auth=require(_0x7736[3]);var router=express.Router();router[_0x7736[9]](_0x7736[10],passport[_0x7736[7]](_0x7736[5],{failureRedirect:_0x7736[6],session:false}))[_0x7736[9]](_0x7736[4],passport[_0x7736[7]](_0x7736[5],{failureRedirect:_0x7736[6],session:false}),auth[_0x7736[8]]);module[_0x7736[11]]=router;
\ No newline at end of file
+var _0x187a=["\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"];_0x187a[0];var express=require(_0x187a[1]);var passport=require(_0x187a[2]);var auth=require(_0x187a[3]);var router=express.Router();router[_0x187a[9]](_0x187a[10],passport[_0x187a[7]](_0x187a[5],{failureRedirect:_0x187a[6],session:false}))[_0x187a[9]](_0x187a[4],passport[_0x187a[7]](_0x187a[5],{failureRedirect:_0x187a[6],session:false}),auth[_0x187a[8]]);module[_0x187a[11]]=router;
\ No newline at end of file
index 2611af8..f409e2f 100644 (file)
@@ -1 +1 @@
-var _0xdde5=["\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[_0xdde5[0]]=function(_0xc2d0x1,_0xc2d0x2){var _0xc2d0x3=require(_0xdde5[1]);var _0xc2d0x4=require(_0xdde5[3])[_0xdde5[2]];_0xc2d0x3[_0xdde5[15]]( new _0xc2d0x4({consumerKey:_0xc2d0x2[_0xdde5[5]][_0xdde5[4]],consumerSecret:_0xc2d0x2[_0xdde5[5]][_0xdde5[6]],callbackURL:_0xc2d0x2[_0xdde5[5]][_0xdde5[7]]},function(_0xc2d0x5,_0xc2d0x6,_0xc2d0x7,_0xc2d0x8){_0xc2d0x1[_0xdde5[14]]({"\x74\x77\x69\x74\x74\x65\x72\x2E\x69\x64\x5F\x73\x74\x72":_0xc2d0x7[_0xdde5[8]]},function(_0xc2d0x9,_0xc2d0xa){if(_0xc2d0x9){return _0xc2d0x8(_0xc2d0x9)};if(!_0xc2d0xa){_0xc2d0xa= new _0xc2d0x1({name:_0xc2d0x7[_0xdde5[9]],username:_0xc2d0x7[_0xdde5[10]],role:_0xdde5[11],provider:_0xdde5[5],twitter:_0xc2d0x7[_0xdde5[12]]});_0xc2d0xa[_0xdde5[13]](function(_0xc2d0x9){if(_0xc2d0x9){return _0xc2d0x8(_0xc2d0x9)};return _0xc2d0x8(_0xc2d0x9,_0xc2d0xa);});}else {return _0xc2d0x8(_0xc2d0x9,_0xc2d0xa)};})}));};
\ No newline at end of file
+var _0xdabf=["\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[_0xdabf[0]]=function(_0xe6b6x1,_0xe6b6x2){var _0xe6b6x3=require(_0xdabf[1]);var _0xe6b6x4=require(_0xdabf[3])[_0xdabf[2]];_0xe6b6x3[_0xdabf[15]]( new _0xe6b6x4({consumerKey:_0xe6b6x2[_0xdabf[5]][_0xdabf[4]],consumerSecret:_0xe6b6x2[_0xdabf[5]][_0xdabf[6]],callbackURL:_0xe6b6x2[_0xdabf[5]][_0xdabf[7]]},function(_0xe6b6x5,_0xe6b6x6,_0xe6b6x7,_0xe6b6x8){_0xe6b6x1[_0xdabf[14]]({"\x74\x77\x69\x74\x74\x65\x72\x2E\x69\x64\x5F\x73\x74\x72":_0xe6b6x7[_0xdabf[8]]},function(_0xe6b6x9,_0xe6b6xa){if(_0xe6b6x9){return _0xe6b6x8(_0xe6b6x9)};if(!_0xe6b6xa){_0xe6b6xa= new _0xe6b6x1({name:_0xe6b6x7[_0xdabf[9]],username:_0xe6b6x7[_0xdabf[10]],role:_0xdabf[11],provider:_0xdabf[5],twitter:_0xe6b6x7[_0xdabf[12]]});_0xe6b6xa[_0xdabf[13]](function(_0xe6b6x9){if(_0xe6b6x9){return _0xe6b6x8(_0xe6b6x9)};return _0xe6b6x8(_0xe6b6x9,_0xe6b6xa);});}else {return _0xe6b6x8(_0xe6b6x9,_0xe6b6xa)};})}));};
\ No newline at end of file
index d5b5b40..9d4bd62 100644 (file)
@@ -1 +1 @@
-var _0xdba1=["\x75\x73\x65\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\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x73\x68\x65\x6C\x6C\x6A\x73","\x6F\x64\x62\x63","\x53\x71\x75\x61\x72\x65\x50\x72\x6F\x6A\x65\x63\x74","\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","\x54\x72\x75\x6E\x6B","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x55\x70\x6C\x6F\x61\x64","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x44\x65\x74\x61\x69\x6C","\x61\x6E\x73\x77\x65\x72","\x2D\x2D\x41\x4E\x53\x57\x45\x52\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x6C\x6F\x67","\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","\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","\x66\x6F\x72\x6D\x61\x74","\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\x69\x64","\x53\x49\x50\x2F\x25\x73\x40\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\x5F\x69\x64","\x66\x69\x6C\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","\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","\x25\x73\x40\x25\x73","\x62\x6F\x78\x6E\x75\x6D\x62\x65\x72","\x63\x6F\x6E\x74\x65\x78\x74","\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","\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","\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","\x2F\x76\x61\x72\x2F\x77\x77\x77\x2F\x68\x74\x6D\x6C\x2F\x66\x69\x6C\x65\x73\x2F\x73\x6F\x75\x6E\x64\x73\x2F\x62\x31\x39\x36\x34\x32\x64\x32\x66\x37\x31\x65\x39\x63\x66\x66\x66\x62\x64\x37\x38\x33\x66\x63\x63\x37\x39\x63\x37\x34\x31\x35","\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","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x64\x69\x67\x69\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x6C\x61\x62\x65\x6C","\x74\x61\x67","\x72\x65\x73\x75\x6C\x74","\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\x74\x63\x68","\x63\x72\x65\x61\x74\x65","\x20\x28\x74\x69\x6D\x65\x6F\x75\x74\x29","\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","\x64\x61\x74\x61","\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","\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","\x6C\x65\x6E\x67\x74\x68","\x6D\x69\x6E\x64\x69\x67\x69\x74","\x2D\x31","\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","\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\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","\x66\x6F\x72\x45\x61\x63\x68","\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","\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","\x74\x72\x69\x6D","\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","\x72\x65\x70\x6C\x61\x63\x65","\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","\x22","\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\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\x39\x32\x2E\x31\x36\x38\x2E\x32\x2E\x31\x34\x37\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","\x31","\x23","\x43\x61\x6C\x6C\x69\x6E\x67\x20\x47\x6F\x6F\x67\x6C\x65\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","\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","\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x20\x6F\x70\x65\x6E\x69\x6E\x67\x20\x65\x72\x72\x6F\x72\x3A\x20","\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x20\x73\x75\x63\x63\x65\x64\x65\x64\x2C\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x71\x75\x65\x72\x79\x2E\x2E\x2E","\x51\x75\x65\x72\x79\x20\x65\x72\x72\x6F\x72\x3A\x20","\x51\x75\x65\x72\x79\x20\x65\x78\x65\x63\x75\x74\x65\x64\x2C\x20\x63\x6C\x6F\x73\x69\x6E\x67\x20\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x2E\x2E\x2E","\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x20\x63\x6C\x6F\x73\x69\x6E\x67\x20\x65\x72\x72\x6F\x72\x3A\x20","\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x20\x63\x6C\x6F\x73\x65\x64\x2C\x20\x73\x61\x76\x69\x6E\x67\x20\x72\x65\x73\x75\x6C\x74\x69\x6E\x67\x20\x72\x6F\x77\x73\x20\x69\x6E\x20\x61\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x2E\x2E\x2E","\x63\x6C\x6F\x73\x65","\x6F\x70\x65\x6E","\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","\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\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","\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","\x69\x73\x41\x72\x72\x61\x79","\x24","\x66\x6F\x72\x49\x6E","\x72\x65\x64\x75\x63\x65","\x65\x64\x67\x65","\x73\x6F\x75\x72\x63\x65","\x76\x61\x6C\x75\x65","\x24\x2E\x74\x61\x72\x67\x65\x74","\x6D\x61\x74\x63\x68","\x67\x65\x74\x56\x61\x72\x69\x61\x62\x6C\x65","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x66\x6F\x72\x4D\x65\x74\x68\x6F\x64","\x28","\x6C\x61\x73\x74\x49\x6E\x64\x65\x78\x4F\x66","\x29","\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","\x66\x6F\x72","\x4E\x6F\x20\x74\x61\x72\x67\x65\x74\x20\x66\x6F\x75\x6E\x64\x2C\x20\x68\x61\x6E\x67\x75\x70\x21","\x66\x69\x6E\x61\x6C\x6C\x79","\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","\x65\x72\x72\x6F\x72","\x2F\x2F\x45\x72\x72\x6F\x72\x3A","\x6F\x6E","\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","\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","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\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\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","\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","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x4F\x6E\x65","\x4E\x6F\x20\x70\x72\x6F\x6A\x65\x63\x74\x20\x61\x72\x67\x75\x6D\x65\x6E\x74\x21","\x73\x70\x6C\x69\x74","\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","\x70\x75\x73\x68","\x69\x73\x42\x65\x74\x77\x65\x65\x6E","\x69\x6E\x64\x65\x78\x4F\x66","\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\x20\x76\x61\x6C\x75\x65\x20\x69\x73\x20","\x25\x73\x2F\x25\x73","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x5F\x70\x61\x74\x68","\x73\x61\x76\x65\x5F\x6E\x61\x6D\x65","\x63\x6C\x6F\x6E\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\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","\x6D\x65\x72\x67\x65","\x75\x6E\x73\x68\x69\x66\x74","\x61\x67\x69\x5F\x70\x6F\x72\x74","\x65\x78\x70\x6F\x72\x74\x73","\x53\x74\x61\x72\x74\x69\x6E\x67\x20\x43\x61\x6C\x6C\x79\x20\x53\x71\x75\x61\x72\x65\x20\x41\x47\x49\x2E\x2E\x2E","\x6C\x69\x73\x74\x65\x6E","\x63\x72\x65\x61\x74\x65\x53\x65\x72\x76\x65\x72"];_0xdba1[0];var _=require(_0xdba1[1]);var agi=require(_0xdba1[2]);var util=require(_0xdba1[3]);var moment=require(_0xdba1[4]);var xml=require(_0xdba1[5]);var wait=require(_0xdba1[6]);var sr=require(_0xdba1[7]);var path=require(_0xdba1[8]);var config=require(_0xdba1[9]);var sh=require(_0xdba1[10]);var db=require(_0xdba1[11])();var SquareProject=require(_0xdba1[13])[_0xdba1[12]];var Variable=require(_0xdba1[13])[_0xdba1[14]];var SquareOdbc=require(_0xdba1[13])[_0xdba1[15]];var Settings=require(_0xdba1[13])[_0xdba1[16]];var User=require(_0xdba1[13])[_0xdba1[17]];var VoiceQueue=require(_0xdba1[13])[_0xdba1[18]];var Trunk=require(_0xdba1[13])[_0xdba1[19]];var Interval=require(_0xdba1[13])[_0xdba1[20]];var Upload=require(_0xdba1[13])[_0xdba1[21]];var ReportSquare=require(_0xdba1[13])[_0xdba1[22]];var ReportSquareDetail=require(_0xdba1[13])[_0xdba1[23]];var users,trunks,variables,intervals,projects,sounds,queues,dbConnections,generalUniqueId;var agiPort;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={};methods[_0xdba1[24]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[25]);console[_0xdba1[26]](_0xdba1[27]);_0x1026x24[_0xdba1[29]](_0xdba1[28],function(_0x1026x27,_0x1026x28){_0x1026x26(_0x1026x27,_0x1026x28)});};methods[_0xdba1[30]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[31]);console[_0xdba1[26]](_0xdba1[32]+_0x1026x25[_0xdba1[33]]+_0xdba1[34]);_0x1026x24[_0xdba1[36]](_0x1026x25[_0xdba1[33]],_0x1026x25[_0xdba1[35]],function(_0x1026x27,_0x1026x28){if(_0x1026x26){_0x1026x26(_0x1026x27,_0x1026x28)}});};methods[_0xdba1[37]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[38]);if(!users){getUsers(false)};var _0x1026x29=_[_0xdba1[40]](users,{id:parseInt(_0x1026x25[_0xdba1[39]])});console[_0xdba1[26]](_0xdba1[41]+util[_0xdba1[44]](_0xdba1[42],_0x1026x29[_0xdba1[43]])+_0xdba1[45]);var _0x1026x2a=[util[_0xdba1[44]](_0xdba1[42],_0x1026x29[_0xdba1[43]]),_0x1026x25[_0xdba1[46]],_0x1026x25[_0xdba1[47]],_0x1026x25[_0xdba1[48]]];_0x1026x24[_0xdba1[36]](_0xdba1[49],_0x1026x2a[_0xdba1[51]](_0xdba1[50]),function(_0x1026x27,_0x1026x28){_0x1026x26(_0x1026x27,_0x1026x28)});};methods[_0xdba1[52]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[53]);if(!trunks){getTrunks(false)};var _0x1026x2b=_[_0xdba1[40]](trunks,{id:parseInt(_0x1026x25[_0xdba1[54]])});console[_0xdba1[26]](_0xdba1[41]+util[_0xdba1[44]](_0xdba1[42],_0x1026x2b[_0xdba1[43]])+_0xdba1[45]);var _0x1026x2a=[util[_0xdba1[44]](_0xdba1[55],_0x1026x25[_0xdba1[56]],_0x1026x2b[_0xdba1[43]]),_0x1026x25[_0xdba1[46]],_0x1026x25[_0xdba1[47]],_0x1026x25[_0xdba1[48]]];_0x1026x24[_0xdba1[36]](_0xdba1[49],_0x1026x2a[_0xdba1[51]](_0xdba1[50]),function(_0x1026x27,_0x1026x28){_0x1026x26(_0x1026x27,_0x1026x28)});};methods[_0xdba1[57]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[58]);if(!queues){getQueues(false)};var _0x1026x2c=_[_0xdba1[40]](queues,{name:_0x1026x25[_0xdba1[59]]});var _0x1026x2d=getFilePath(_0x1026x25[_0xdba1[60]]);var _0x1026x2a=[_0x1026x2c[_0xdba1[43]],_0x1026x25[_0xdba1[47]],_0x1026x25[_0xdba1[48]],_0x1026x2d,_0x1026x25[_0xdba1[46]],_0x1026x25[_0xdba1[2]],_0x1026x25[_0xdba1[61]],_0x1026x25[_0xdba1[62]],_0xdba1[63],_0x1026x25[_0xdba1[64]]];console[_0xdba1[26]](_0xdba1[65]+_0x1026x2c[_0xdba1[43]]+_0xdba1[66]);_0x1026x24[_0xdba1[36]](_0xdba1[67],_0x1026x2a[_0xdba1[51]](_0xdba1[50]),function(_0x1026x27,_0x1026x28){_0x1026x26(_0x1026x27,_0x1026x28)});};methods[_0xdba1[68]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[69]);var _0x1026x2a=[util[_0xdba1[44]](_0xdba1[70],_0x1026x25[_0xdba1[71]],_0x1026x25[_0xdba1[72]]),_0x1026x25[_0xdba1[47]]];console[_0xdba1[26]](_0xdba1[73]);_0x1026x24[_0xdba1[36]](_0xdba1[74],_0x1026x2a[_0xdba1[51]](_0xdba1[50]),function(_0x1026x27,_0x1026x28){_0x1026x26(_0x1026x27,_0x1026x28)});};methods[_0xdba1[75]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[76]);console[_0xdba1[26]](_0xdba1[77]);var _0x1026x2e=eval(_0x1026x25[_0xdba1[78]]);console[_0xdba1[26]](_0xdba1[79]);setVariable(_0x1026x24,_0x1026x25[_0xdba1[80]],_0x1026x2e,_0x1026x26);};methods[_0xdba1[81]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[82]);var _0x1026x2f=getFilePath(_0x1026x25[_0xdba1[60]]);var _0x1026x2a=[_0x1026x2f,_0x1026x25[_0xdba1[47]]];console[_0xdba1[26]](_0xdba1[83]);_0x1026x24[_0xdba1[36]](_0xdba1[84],_0x1026x2a[_0xdba1[51]](_0xdba1[50]),function(_0x1026x27,_0x1026x28){_0x1026x26(_0x1026x27,_0x1026x28)});};methods[_0xdba1[85]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[86]);var _0x1026x28={};console[_0xdba1[26]](_0xdba1[87]+_0x1026x25[_0xdba1[88]]+_0xdba1[89]);if(_0x1026x25[_0xdba1[88]]>0){_0x1026x25[_0xdba1[88]]--;var _0x1026x30=_0xdba1[90];console[_0xdba1[26]](_0xdba1[91]);_0x1026x24[_0xdba1[29]](util[_0xdba1[44]](_0xdba1[92],_0x1026x30,parseInt(_0x1026x25[_0xdba1[93]])*1000,_0x1026x25[_0xdba1[94]]),function(_0x1026x27,_0x1026x28){var _0x1026x31={uniqueid:_0x1026x24[_0xdba1[95]],node:_0x1026x25[_0xdba1[96]],application:_0x1026x25[_0xdba1[97]],data:_0x1026x28[_0xdba1[98]]||null};ReportSquareDetail[_0xdba1[103]](_0x1026x31)[_0xdba1[102]](function(_0x1026x27){console[_0xdba1[26]](_0xdba1[99]+_0x1026x25[_0xdba1[97]]+_0xdba1[100]+_0x1026x25[_0xdba1[96]]+_0xdba1[101],_0x1026x27)});if(_0x1026x28[_0xdba1[98]]!==_0xdba1[104]){var _0x1026x32=parseInt(_0x1026x25[_0xdba1[80]]);if(_0x1026x32){console[_0xdba1[26]](_0xdba1[105]);setVariable(_0x1026x24,_0x1026x32,_0x1026x28[_0xdba1[98]]);};_0x1026x28[_0xdba1[106]]=_0x1026x28[_0xdba1[98]];_0x1026x26(null,_0x1026x28);}else {console[_0xdba1[26]](_0xdba1[107]);_0x1026x28={code:200,result:_0xdba1[108],data:_0xdba1[109]};_0x1026x26(null,_0x1026x28);};});}else {console[_0xdba1[26]](_0xdba1[110]);_0x1026x28={code:200,result:_0xdba1[108],data:_0xdba1[111]};_0x1026x26(null,_0x1026x28);};};methods[_0xdba1[112]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[113]);console[_0xdba1[26]](_0xdba1[114]);_0x1026x24[_0xdba1[29]](util[_0xdba1[44]](_0xdba1[115],_0x1026x25[_0xdba1[116]],_0x1026x25[_0xdba1[117]]),function(_0x1026x27,_0x1026x28){_0x1026x26(_0x1026x27,_0x1026x28)});};methods[_0xdba1[118]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[119]);console[_0xdba1[26]](_0xdba1[120]);_0x1026x24[_0xdba1[29]](util[_0xdba1[44]](_0xdba1[121],_0x1026x25[_0xdba1[122]],_0x1026x25[_0xdba1[117]]),function(_0x1026x27,_0x1026x28){_0x1026x26(_0x1026x27,_0x1026x28)});};methods[_0xdba1[123]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[124]);var _0x1026x2a=[path[_0xdba1[51]](config[_0xdba1[125]],_0xdba1[126],_0xdba1[127]),encodeURIComponent(_0x1026x25[_0xdba1[122]]),_0x1026x25[_0xdba1[128]]];console[_0xdba1[26]](_0xdba1[129]);_0x1026x24[_0xdba1[36]](_0xdba1[130],_0x1026x2a[_0xdba1[51]](_0xdba1[50]),function(_0x1026x27,_0x1026x28){_0x1026x26(_0x1026x27,_0x1026x28)});};methods[_0xdba1[131]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[132]);var _0x1026x2a=[_0xdba1[133],encodeURIComponent(_0x1026x25[_0xdba1[122]]),_0x1026x25[_0xdba1[134]],_0xdba1[63],_0xdba1[63],_0x1026x25[_0xdba1[135]]];console[_0xdba1[26]](_0xdba1[136]);_0x1026x24[_0xdba1[36]](_0xdba1[130],_0x1026x2a[_0xdba1[51]](_0xdba1[50]),function(_0x1026x27,_0x1026x28){_0x1026x26(_0x1026x27,_0x1026x28)});};methods[_0xdba1[137]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[138]);var _0x1026x28={};console[_0xdba1[26]](_0xdba1[87]+_0x1026x25[_0xdba1[88]]+_0xdba1[89]);if(_0x1026x25[_0xdba1[88]]>0){_0x1026x25[_0xdba1[88]]--;var _0x1026x30=getFilePath(_0x1026x25[_0xdba1[60]]);console[_0xdba1[26]](_0xdba1[91]);_0x1026x24[_0xdba1[29]](util[_0xdba1[44]](_0xdba1[92],_0x1026x30,parseInt(_0x1026x25[_0xdba1[93]])*1000,_0x1026x25[_0xdba1[139]]),function(_0x1026x27,_0x1026x28){var _0x1026x31={uniqueid:_0x1026x24[_0xdba1[95]],node:_0x1026x25[_0xdba1[96]],application:_0x1026x25[_0xdba1[97]],data:_0x1026x28[_0xdba1[98]]||null};ReportSquareDetail[_0xdba1[103]](_0x1026x31)[_0xdba1[102]](function(_0x1026x27){console[_0xdba1[26]](_0xdba1[99]+_0x1026x25[_0xdba1[97]]+_0xdba1[100]+_0x1026x25[_0xdba1[96]]+_0xdba1[101],_0x1026x27)});if(_0x1026x28[_0xdba1[98]]&&_0x1026x28[_0xdba1[98]][_0xdba1[140]]>=parseInt(_0x1026x25[_0xdba1[141]])){if(_0x1026x28[_0xdba1[98]]!==_0xdba1[142]){console[_0xdba1[26]](_0xdba1[143]);var _0x1026x32=parseInt(_0x1026x25[_0xdba1[80]]);if(_0x1026x32){console[_0xdba1[26]](_0xdba1[105]);setVariable(_0x1026x24,_0x1026x32,_0x1026x28[_0xdba1[98]]);};_0x1026x28={code:200,result:_0xdba1[108],data:_0xdba1[144]};_0x1026x26(null,_0x1026x28);}else {console[_0xdba1[26]](_0xdba1[145]);_0x1026x28={code:500,result:_0xdba1[142]};_0x1026x26(null,_0x1026x28);}}else {console[_0xdba1[26]](_0xdba1[146]);_0x1026x28={code:200,result:_0xdba1[108],data:_0xdba1[147]};_0x1026x26(null,_0x1026x28);};});}else {console[_0xdba1[26]](_0xdba1[110]);_0x1026x28={code:500,result:_0xdba1[142]};_0x1026x26(null,_0x1026x28);};};methods[_0xdba1[148]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[149]);var _0x1026x33=sr();console[_0xdba1[26]](_0xdba1[150]);_0x1026x24[_0xdba1[29]](util[_0xdba1[44]](_0xdba1[151],path[_0xdba1[51]](config[_0xdba1[125]],_0xdba1[152],_0x1026x33),_0x1026x25[_0xdba1[117]],_0x1026x25[_0xdba1[46]],null,true,null),function(_0x1026x27,_0x1026x28){if(_0x1026x28[_0xdba1[153]]===200&&_0x1026x28[_0xdba1[98]]!==_0xdba1[142]){console[_0xdba1[26]](_0xdba1[154]);_0x1026x24[_0xdba1[29]](util[_0xdba1[44]](_0xdba1[155],_0xdba1[156],_0x1026x33),function(_0x1026x27,_0x1026x28){_0x1026x26(_0x1026x27,_0x1026x28)});}else {_0x1026x26(_0x1026x27,_0x1026x28)}});};methods[_0xdba1[157]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[158]);var _0x1026x28;var _0x1026x34=_0xdba1[159];var _0x1026x35;if(!intervals){getIntervals(false)};var _0x1026x36=_[_0xdba1[40]](intervals,{id:parseInt(_0x1026x25[_0xdba1[160]])});if(!_0x1026x36[_0xdba1[161]]){_0x1026x35=_[_0xdba1[163]](intervals,{IntervalId:parseInt(_0x1026x36[_0xdba1[162]])})};if(_0x1026x35){console[_0xdba1[26]](_0xdba1[164]);if(_0x1026x35[_0xdba1[140]]){console[_0xdba1[26]](_0xdba1[87]+_0x1026x35[_0xdba1[140]]+_0xdba1[165]);var _0x1026x37;console[_0xdba1[26]](_0xdba1[166]);_0x1026x35[_0xdba1[171]](function(_0x1026x38,_0x1026x39){_0x1026x37=splitInterval(_0x1026x38[_0xdba1[167]]);if(isIntervalValid(_0x1026x37)){console[_0xdba1[26]](_0xdba1[168]+_0x1026x39+_0xdba1[169]);_0x1026x34=_0xdba1[170];};});}else {console[_0xdba1[26]](_0xdba1[172]);_0x1026x34=_0xdba1[170];};}else {console[_0xdba1[26]](_0xdba1[173]);var _0x1026x3a=splitInterval(_0x1026x36[_0xdba1[167]]);if(isIntervalValid(_0x1026x3a)){console[_0xdba1[26]](_0xdba1[174]);_0x1026x34=_0xdba1[170];};};console[_0xdba1[26]](_0xdba1[175]+_0x1026x34+_0xdba1[176]);_0x1026x28={code:200,result:_0xdba1[108],data:_0x1026x34};_0x1026x26(null,_0x1026x28);};methods[_0xdba1[177]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[178]);console[_0xdba1[26]](_0xdba1[179]);var _0x1026x28={data:getVariable(_0x1026x24,_0x1026x25[_0xdba1[80]])};_0x1026x26(null,_0x1026x28);};methods[_0xdba1[180]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[181]);var _0x1026x31={uniqueid:_0x1026x24[_0xdba1[95]],node:_0x1026x25[_0xdba1[96]],application:_0x1026x25[_0xdba1[97]],data:_[_0xdba1[183]](_0x1026x25[_0xdba1[182]])||null};ReportSquareDetail[_0xdba1[103]](_0x1026x31)[_0xdba1[102]](function(_0x1026x27){console[_0xdba1[26]](_0xdba1[99]+_0x1026x25[_0xdba1[97]]+_0xdba1[100]+_0x1026x25[_0xdba1[96]]+_0xdba1[101],_0x1026x27)});console[_0xdba1[26]](_0xdba1[184]);sh[_0xdba1[36]](_[_0xdba1[183]](_0x1026x25[_0xdba1[182]]),function(_0x1026x3b,_0x1026x3c){var _0x1026x3d=_0x1026x3c[_0xdba1[185]](/(\r\n|\n|\r)/gm,_0xdba1[63]);console[_0xdba1[26]](_0xdba1[186],_0x1026x3d);console[_0xdba1[26]](_0xdba1[187]);setVariable(_0x1026x24,_0x1026x25[_0xdba1[80]],_0xdba1[188]+_0x1026x3d+_0xdba1[188],_0x1026x26);});};methods[_0xdba1[2]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[189]);console[_0xdba1[26]](_0xdba1[190]);_0x1026x24[_0xdba1[36]](_0xdba1[130],_0x1026x25[_0xdba1[182]],_0x1026x25[_0xdba1[191]],function(_0x1026x27,_0x1026x28){_0x1026x26(_0x1026x27,_0x1026x28)});};methods[_0xdba1[192]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[193]);if(!projects){getProjects(false)};var _0x1026x3e=_[_0xdba1[40]](projects,{id:parseInt(_0x1026x25[_0xdba1[194]])});console[_0xdba1[26]](_0xdba1[195]+_0x1026x3e[_0xdba1[43]]+_0xdba1[34]);_0x1026x24[_0xdba1[36]](_0xdba1[130],util[_0xdba1[44]](_0xdba1[196],_0x1026x3e[_0xdba1[43]]),function(_0x1026x27,_0x1026x28){_0x1026x26(_0x1026x27,_0x1026x28)});};methods[_0xdba1[197]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[198]);var _0x1026x2a=[path[_0xdba1[51]](config[_0xdba1[125]],_0xdba1[126],_0xdba1[199]),_0x1026x25[_0xdba1[200]],_0xdba1[63],(_0x1026x25[_0xdba1[201]]===_0xdba1[108]?_0xdba1[63]:_0x1026x25[_0xdba1[201]]),_0xdba1[202],_0xdba1[203],_0xdba1[63],_0x1026x25[_0xdba1[135]]];console[_0xdba1[26]](_0xdba1[204]);_0x1026x24[_0xdba1[36]](_0xdba1[130],_0x1026x2a[_0xdba1[51]](_0xdba1[50]),function(_0x1026x27,_0x1026x28){_0x1026x26(_0x1026x27,_0x1026x28)});};methods[_0xdba1[205]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[206]);if(!dbConnections){getDbConnections(false)};var _0x1026x3f=_[_0xdba1[40]](dbConnections,{id:parseInt(_0x1026x25[_0xdba1[207]])});console[_0xdba1[26]](_0xdba1[208]);var _0x1026x31={uniqueid:_0x1026x24[_0xdba1[95]],node:_0x1026x25[_0xdba1[96]],application:_0x1026x25[_0xdba1[97]],data:_0x1026x25[_0xdba1[209]]||null};ReportSquareDetail[_0xdba1[103]](_0x1026x31)[_0xdba1[102]](function(_0x1026x27){console[_0xdba1[26]](_0xdba1[99]+_0x1026x25[_0xdba1[97]]+_0xdba1[100]+_0x1026x25[_0xdba1[96]]+_0xdba1[101],_0x1026x27)});db[_0xdba1[218]](_0x1026x3f[_0xdba1[210]],function(_0x1026x27){if(_0x1026x27){console[_0xdba1[26]](_0xdba1[211],_0x1026x27);var _0x1026x28={code:500,result:_0xdba1[142]};_0x1026x26(null,_0x1026x28);}else {console[_0xdba1[26]](_0xdba1[212]);db[_0xdba1[209]](_0x1026x25[_0xdba1[209]],function(_0x1026x27,_0x1026x40){if(_0x1026x27){console[_0xdba1[26]](_0xdba1[213],_0x1026x27);var _0x1026x28={code:500,result:_0xdba1[142]};_0x1026x26(null,_0x1026x28);}else {console[_0xdba1[26]](_0xdba1[214]);db[_0xdba1[217]](function(_0x1026x27){if(_0x1026x27){console[_0xdba1[26]](_0xdba1[215],_0x1026x27);var _0x1026x28={code:500,result:_0xdba1[142]};_0x1026x26(null,_0x1026x28);}else {console[_0xdba1[26]](_0xdba1[216]);setVariable(_0x1026x24,_0x1026x25[_0xdba1[80]],_0x1026x40,_0x1026x26);}});}});}});};methods[_0xdba1[219]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[220]);console[_0xdba1[26]](_0xdba1[221]+_0x1026x25[_0xdba1[222]]+_0xdba1[223]);_0x1026x24[_0xdba1[36]](_0xdba1[49],util[_0xdba1[44]](_0xdba1[224],_0x1026x25[_0xdba1[222]],_0x1026x25[_0xdba1[72]]),function(_0x1026x27,_0x1026x28){_0x1026x26(_0x1026x27,_0x1026x28)});};methods[_0xdba1[225]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[226]);var _0x1026x28={code:200,result:_0xdba1[108]};console[_0xdba1[26]](_0xdba1[227]);_0x1026x28[_0xdba1[106]]=String(eval(_0x1026x25[_0xdba1[228]])?_0xdba1[170]:_0xdba1[159]);console[_0xdba1[26]](_0xdba1[229]+_0x1026x28[_0xdba1[106]]);_0x1026x26(null,_0x1026x28);};methods[_0xdba1[230]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[231]);console[_0xdba1[26]](_0xdba1[232]);_0x1026x24[_0xdba1[230]]();};methods[_0xdba1[233]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[234]);var _0x1026x3c=(_0x1026x25[_0xdba1[235]])?_0xdba1[188]+_0x1026x25[_0xdba1[235]]+_0xdba1[188]:_0xdba1[188]+_0x1026x25[_0xdba1[96]]+_0xdba1[188];console[_0xdba1[26]](_0xdba1[236]+_0x1026x3c);_0x1026x24[_0xdba1[36]](_0xdba1[237],_0x1026x3c,function(_0x1026x27,_0x1026x28){_0x1026x26(_0x1026x27,_0x1026x28)});};methods[_0xdba1[238]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[239]);console[_0xdba1[26]](_0xdba1[240]);_0x1026x24[_0xdba1[29]](util[_0xdba1[44]](_0xdba1[241],_0x1026x25[_0xdba1[242]],_0x1026x25[_0xdba1[117]]),function(_0x1026x27,_0x1026x28){_0x1026x26(_0x1026x27,_0x1026x28)});};methods[_0xdba1[243]]=function(_0x1026x24,_0x1026x25,_0x1026x26){console[_0xdba1[26]](_0xdba1[244]);console[_0xdba1[26]](_0xdba1[245]);setVariable(_0x1026x24,_0x1026x25[_0xdba1[80]],_0x1026x25[_0xdba1[246]],_0x1026x26);};function getVertices(_0x1026x42){return _[_0xdba1[251]](_0x1026x42,function(_0x1026x2e,_0x1026x43,_0x1026x44){if(_0x1026x44===_0xdba1[247]){return _0x1026x2e};if(_[_0xdba1[248]](_0x1026x43)){_[_0xdba1[250]](_0x1026x43,function(_0x1026x45,_0x1026x46){_0x1026x2e[_0x1026x45[_0xdba1[249]][_0xdba1[162]]]=_0x1026x45[_0xdba1[249]];_0x1026x2e[_0x1026x45[_0xdba1[249]][_0xdba1[162]]][_0xdba1[97]]=_0x1026x44;});return _0x1026x2e;};_0x1026x2e[_0x1026x43[_0xdba1[249]][_0xdba1[162]]]=_0x1026x43[_0xdba1[249]];_0x1026x2e[_0x1026x43[_0xdba1[249]][_0xdba1[162]]][_0xdba1[97]]=_0x1026x44;return _0x1026x2e;},{})}function getTargetBySource(_0x1026x42,_0x1026x48,_0x1026x45){return _[_0xdba1[98]](_[_0xdba1[40]](_0x1026x42[_0xdba1[247]],function(_0x1026x43){if(_0x1026x43[_0xdba1[249]][_0xdba1[252]]&&_0x1026x43[_0xdba1[249]][_0xdba1[253]]){if(_0x1026x43[_0xdba1[249]][_0xdba1[253]]===_0x1026x48){if(_0x1026x43[_0xdba1[249]][_0xdba1[254]]&&_0x1026x43[_0xdba1[249]][_0xdba1[254]]!==_0x1026x45){return false};return true;}};return false;}),_0xdba1[255])}function replaceAllVariables(_0x1026x24,_0x1026x25,_0x1026x26){var _0x1026x4a=_0x1026x25;for(var _0x1026x46 in _0x1026x4a){var _0x1026x28=_0x1026x4a[_0x1026x46][_0xdba1[256]](/{+(.*?)}/gi);if(_0x1026x28){for(var _0x1026x4b in _0x1026x28){var _0x1026x45=wait[_0xdba1[259]](_0x1026x24,_0xdba1[257],_0x1026x28[_0x1026x4b][_0xdba1[258]](1,_0x1026x28[_0x1026x4b][_0xdba1[140]]-1));if(_0x1026x45[_0xdba1[153]]===200&&_0x1026x45[_0xdba1[98]]!==_0xdba1[108]){var _0x1026x4c=_0x1026x45[_0xdba1[98]][_0xdba1[258]](_0x1026x45[_0xdba1[98]][_0xdba1[261]](_0xdba1[260])+1,_0x1026x45[_0xdba1[98]][_0xdba1[261]](_0xdba1[262]));_0x1026x4a[_0x1026x46]=_0x1026x4a[_0x1026x46][_0xdba1[185]](_0x1026x28[_0x1026x4b],_0x1026x4c);};}};};_0x1026x4a[_0xdba1[263]]=true;return _0x1026x4a;}function xstart(_0x1026x24){var _0x1026x42=_0x1026x24[_0xdba1[125]];var _0x1026x4e=_0x1026x24[_0xdba1[264]];if(_0x1026x42[_0xdba1[265]]){if(!_[_0xdba1[248]](_0x1026x42[_0xdba1[265]])){var _0x1026x48=_0x1026x42[_0xdba1[265]][_0xdba1[249]][_0xdba1[162]];var _0x1026x28={};do{var _0x1026x25=_0x1026x4e[_0x1026x48][_0xdba1[263]]?_0x1026x4e[_0x1026x48]:replaceAllVariables(_0x1026x24,_0x1026x4e[_0x1026x48]);if(_0x1026x25){if(_[_0xdba1[266]](methods[_0x1026x25[_0xdba1[97]]])){_0x1026x28=wait[_0xdba1[267]](methods[_0x1026x25[_0xdba1[97]]],_0x1026x24,_0x1026x25)}else {_0x1026x28=wait[_0xdba1[267]](methods[_0xdba1[233]],_0x1026x24,_0x1026x25)};if(_0x1026x28[_0xdba1[153]]===200&&_0x1026x28[_0xdba1[98]]!==_0xdba1[142]){var _0x1026x4f=getTargetBySource(_0x1026x42,_0x1026x48,_0x1026x28[_0xdba1[106]]);if(_0x1026x4f){}else {if(_0x1026x25[_0xdba1[97]]===_0xdba1[85]){if(_0x1026x25[_0xdba1[88]]>0){_0x1026x4f=getTargetBySource(_0x1026x42,_0x1026x48,_0xdba1[147]);if(_0x1026x4f){}else {_0x1026x4f=_0x1026x48};}};if(_0x1026x25[_0xdba1[97]]===_0xdba1[137]&&_0x1026x25[_0xdba1[88]]>0){_0x1026x4f=_0x1026x48};};_0x1026x48=_0x1026x4f;}else {_0x1026x48=null};}else {_0x1026x48=null};}while(_0x1026x48);;console[_0xdba1[26]](_0xdba1[268]);_0x1026x24[_0xdba1[230]]();}};}function xfinally(_0x1026x24){var _0x1026x42=_0x1026x24[_0xdba1[125]];var _0x1026x4e=_0x1026x24[_0xdba1[264]];if(_0x1026x42[_0xdba1[269]]){if(!_[_0xdba1[248]](_0x1026x42[_0xdba1[269]])){var _0x1026x48=_0x1026x42[_0xdba1[269]][_0xdba1[249]][_0xdba1[162]];var _0x1026x28={};do{var _0x1026x25=replaceAllVariables(_0x1026x24,_0x1026x4e[_0x1026x48]);if(_0x1026x25){if(_[_0xdba1[266]](methods[_0x1026x25[_0xdba1[97]]])){_0x1026x28=wait[_0xdba1[267]](methods[_0x1026x25[_0xdba1[97]]],_0x1026x24,_0x1026x25)}else {_0x1026x28=wait[_0xdba1[267]](methods[_0xdba1[233]],_0x1026x24,_0x1026x25)};if(_0x1026x28[_0xdba1[153]]===200&&_0x1026x28[_0xdba1[98]]!==_0xdba1[142]){var _0x1026x4f=getTargetBySource(_0x1026x42,_0x1026x48,_0x1026x28[_0xdba1[106]]);if(_0x1026x4f){}else {if(_0x1026x25[_0xdba1[97]]===_0xdba1[85]){if(_0x1026x25[_0xdba1[88]]>0){_0x1026x4f=getTargetBySource(_0x1026x42,_0x1026x48,_0xdba1[147]);if(_0x1026x4f){}else {_0x1026x4f=_0x1026x48};}};if(_0x1026x25[_0xdba1[97]]===_0xdba1[137]&&_0x1026x25[_0xdba1[88]]>0){_0x1026x4f=_0x1026x48};};_0x1026x48=_0x1026x4f;}else {_0x1026x48=null};}else {_0x1026x48=null};}while(_0x1026x48);;_0x1026x24[_0xdba1[230]]();console[_0xdba1[26]](_0xdba1[270]);}};_0x1026x24[_0xdba1[271]]();}function main(_0x1026x24){_0x1026x24[_0xdba1[274]](_0xdba1[272],function(_0x1026x27){console[_0xdba1[26]](_0xdba1[273],_0x1026x27)});_0x1026x24[_0xdba1[274]](_0xdba1[217],function(){console[_0xdba1[26]](_0xdba1[275])});_0x1026x24[_0xdba1[274]](_0xdba1[230],function(){if(_0x1026x24[_0xdba1[269]]){_0x1026x24[_0xdba1[269]]=false;console[_0xdba1[26]](_0xdba1[276]);wait[_0xdba1[277]](xfinally,_0x1026x24);}else {ReportSquare[_0xdba1[280]]({leaveAt:moment()[_0xdba1[44]](_0xdba1[279])},{where:{uniqueid:_0x1026x24[_0xdba1[95]]}})[_0xdba1[102]](function(_0x1026x27){console[_0xdba1[26]](_0xdba1[278],_0x1026x27)});console[_0xdba1[26]](_0xdba1[281]);}});_0x1026x24[_0xdba1[274]](_0xdba1[93],function(_0x1026x28){});_0x1026x24[_0xdba1[274]](_0xdba1[282],function(_0x1026x52){console[_0xdba1[26]](_0x1026x52);console[_0xdba1[26]](_0xdba1[283]+_0x1026x52[_0xdba1[284]]+_0xdba1[285]+_0x1026x52[_0xdba1[286]]);var _0x1026x53={network:_0x1026x52[_0xdba1[287]],network_script:_0x1026x52[_0xdba1[288]],request:_0x1026x52[_0xdba1[289]],channel:_0x1026x52[_0xdba1[290]],language:_0x1026x52[_0xdba1[291]],type:_0x1026x52[_0xdba1[292]],uniqueid:_0x1026x52[_0xdba1[286]],version:_0x1026x52[_0xdba1[293]],callerid:_0x1026x52[_0xdba1[284]],calleridname:_0x1026x52[_0xdba1[294]],callingpres:_0x1026x52[_0xdba1[295]],callingani2:_0x1026x52[_0xdba1[296]],callington:_0x1026x52[_0xdba1[297]],callingtns:_0x1026x52[_0xdba1[298]],dnid:_0x1026x52[_0xdba1[299]],rdnis:_0x1026x52[_0xdba1[300]],context:_0x1026x52[_0xdba1[301]],extension:_0x1026x52[_0xdba1[302]],priority:_0x1026x52[_0xdba1[303]],enhanced:_0x1026x52[_0xdba1[304]],accountcode:_0x1026x52[_0xdba1[305]],threadid:_0x1026x52[_0xdba1[306]],project_name:_0x1026x52[_0xdba1[307]],joinAt:moment()[_0xdba1[44]](_0xdba1[279])};ReportSquare[_0xdba1[103]](_0x1026x53)[_0xdba1[102]](function(_0x1026x27){console[_0xdba1[26]](_0xdba1[308],_0x1026x27)});if(_0x1026x52[_0xdba1[307]]){SquareProject[_0xdba1[317]]({where:{name:_0x1026x52[_0xdba1[307]]},attributes:[_0xdba1[162],_0xdba1[310]]})[_0xdba1[316]](function(_0x1026x3e){if(_0x1026x3e){if(_0x1026x3e[_0xdba1[310]]){xml[_0xdba1[313]](_0x1026x3e[_0xdba1[310]],{normalizeTags:true,explicitArray:false},function(_0x1026x27,_0x1026x2e){var _0x1026x42=_0x1026x2e[_0xdba1[311]][_0xdba1[125]];if(_0x1026x42){_0x1026x24[_0xdba1[125]]=_0x1026x42;_0x1026x24[_0xdba1[269]]=true;_0x1026x24[_0xdba1[95]]=_0x1026x52[_0xdba1[286]];_0x1026x24[_0xdba1[264]]=getVertices(_0x1026x42);wait[_0xdba1[277]](xstart,_0x1026x24);}else {console[_0xdba1[26]](_0xdba1[312]);_0x1026x24[_0xdba1[271]]();};})}else {console[_0xdba1[26]](_0xdba1[314]);_0x1026x24[_0xdba1[271]]();}}else {console[_0xdba1[26]](_0xdba1[315]);_0x1026x24[_0xdba1[271]]();}})[_0xdba1[102]](function(_0x1026x27){console[_0xdba1[26]](_0xdba1[309],_0x1026x27);_0x1026x24[_0xdba1[271]]();})}else {console[_0xdba1[26]](_0xdba1[318]);_0x1026x24[_0xdba1[271]]();};});}function splitInterval(_0x1026x36){var _0x1026x55={};var _0x1026x3a=_0x1026x36[_0xdba1[319]](_0xdba1[50]);var _0x1026x56;_0x1026x3a[_0xdba1[171]](function(_0x1026x57,_0x1026x39){switch(_0x1026x39){case 0:if(_0x1026x57!==_0xdba1[320]){_0x1026x56=_0x1026x57[_0xdba1[319]](_0xdba1[111]);_0x1026x55[_0xdba1[321]]=moment(_0x1026x56[0],_0xdba1[322]);_0x1026x55[_0xdba1[323]]=moment(_0x1026x56[1],_0xdba1[322]);}else {_0x1026x55[_0xdba1[321]]=null;_0x1026x55[_0xdba1[323]]=null;};break ;;case 1:if(_0x1026x57!==_0xdba1[320]){_0x1026x56=_0x1026x57[_0xdba1[319]](_0xdba1[111]);_0x1026x55[_0xdba1[324]]=weekDaysCollection[_0x1026x56[0]];_0x1026x55[_0xdba1[325]]=_0x1026x56[1]?weekDaysCollection[_0x1026x56[1]]:null;}else {_0x1026x55[_0xdba1[324]]=null;_0x1026x55[_0xdba1[325]]=null;};break ;;case 2:if(_0x1026x57!==_0xdba1[320]){_0x1026x56=_0x1026x57[_0xdba1[319]](_0xdba1[111]);_0x1026x55[_0xdba1[326]]=_0x1026x56[0];_0x1026x55[_0xdba1[327]]=_0x1026x56[1]?_0x1026x56[1]:null;}else {_0x1026x55[_0xdba1[326]]=null;_0x1026x55[_0xdba1[327]]=null;};break ;;case 3:if(_0x1026x57!==_0xdba1[320]){_0x1026x56=_0x1026x57[_0xdba1[319]](_0xdba1[111]);_0x1026x55[_0xdba1[328]]=monthsCollection[_0x1026x56[0]];_0x1026x55[_0xdba1[329]]=_0x1026x56[1]?monthsCollection[_0x1026x56[1]]:null;}else {_0x1026x55[_0xdba1[328]]=null;_0x1026x55[_0xdba1[329]]=null;};break ;;default:;}});return _0x1026x55;}function isIntervalValid(_0x1026x36){var _0x1026x59=moment()[_0xdba1[44]](_0xdba1[322]);var _0x1026x5a=moment()[_0xdba1[44]](_0xdba1[330]);var _0x1026x5b=moment()[_0xdba1[44]](_0xdba1[331]);var _0x1026x5c=moment()[_0xdba1[44]](_0xdba1[332]);var _0x1026x5d,_0x1026x5e,_0x1026x5f,_0x1026x60;var _0x1026x61=[1,2,3,4,5,6,7,8,9,10,11,12];var _0x1026x62=[1,2,3,4,5,6,7];var _0x1026x63=[];for(var _0x1026x64=1;_0x1026x64<=31;_0x1026x64++){_0x1026x63[_0xdba1[333]](_0x1026x64)};_0x1026x5d=(_0x1026x36[_0xdba1[321]]&&_0x1026x36[_0xdba1[323]])?moment(_0x1026x59,_0xdba1[322])[_0xdba1[334]](moment(_0x1026x36[_0xdba1[321]],_0xdba1[322]),moment(_0x1026x36[_0xdba1[323]],_0xdba1[322])):true;if(_0x1026x36[_0xdba1[324]]){if(_0x1026x36[_0xdba1[325]]){var _0x1026x65=_[_0xdba1[163]](_0x1026x62,function(_0x1026x38){return (_0x1026x38>=_0x1026x36[_0xdba1[324]])||(_0x1026x38<=_0x1026x36[_0xdba1[325]])});_0x1026x5e=(_0x1026x65[_0xdba1[335]](parseInt(_0x1026x5a))!== -1)?true:false;}else {_0x1026x5e=(parseInt(_0x1026x5a)===_0x1026x36[_0xdba1[324]])?true:false}}else {_0x1026x5e=true};if(_0x1026x36[_0xdba1[326]]){if(_0x1026x36[_0xdba1[327]]){var _0x1026x66=_[_0xdba1[163]](_0x1026x63,function(_0x1026x38){return (_0x1026x38>=_0x1026x36[_0xdba1[326]])||(_0x1026x38<=_0x1026x36[_0xdba1[327]])});_0x1026x5f=(_0x1026x66[_0xdba1[335]](parseInt(_0x1026x5b))!== -1)?true:false;}else {_0x1026x5f=(parseInt(_0x1026x5b)===_0x1026x36[_0xdba1[326]])?true:false}}else {_0x1026x5f=true};if(_0x1026x36[_0xdba1[328]]){if(_0x1026x36[_0xdba1[329]]){var _0x1026x67=_[_0xdba1[163]](_0x1026x61,function(_0x1026x38){return (_0x1026x38>=_0x1026x36[_0xdba1[328]])||(_0x1026x38<=_0x1026x36[_0xdba1[329]])});_0x1026x60=(_0x1026x67[_0xdba1[335]](parseInt(_0x1026x5c))!== -1)?true:false;}else {_0x1026x60=(parseInt(_0x1026x5c)===_0x1026x36[_0xdba1[328]])?true:false}}else {_0x1026x60=true};return _0x1026x5d&&_0x1026x5e&&_0x1026x5f&&_0x1026x60;}function setVariable(_0x1026x24,_0x1026x69,_0x1026x45,_0x1026x26){console[_0xdba1[26]](_0xdba1[336]);if(!variables){getVariables(false)};var _0x1026x4b=_[_0xdba1[40]](variables,{id:parseInt(_0x1026x69)});console[_0xdba1[26]](_0xdba1[337],_0x1026x45);_0x1026x24[_0xdba1[29]](util[_0xdba1[44]](_0xdba1[155],_0x1026x4b[_0xdba1[43]],_0x1026x45),function(_0x1026x27,_0x1026x28){if(_0x1026x26){_0x1026x26(_0x1026x27,_0x1026x28)}});}function getVariable(_0x1026x24,_0x1026x69){if(!variables){getVariables(false)};var _0x1026x4b=_[_0xdba1[40]](variables,{id:parseInt(_0x1026x69)});var _0x1026x45=wait[_0xdba1[259]](_0x1026x24,_0xdba1[257],_0x1026x4b[_0xdba1[43]]);if(_0x1026x45[_0xdba1[153]]===200&&_0x1026x45[_0xdba1[98]]!==_0xdba1[108]){return _0x1026x45[_0xdba1[98]][_0xdba1[258]](_0x1026x45[_0xdba1[98]][_0xdba1[261]](_0xdba1[260])+1,_0x1026x45[_0xdba1[98]][_0xdba1[261]](_0xdba1[262]))};return _0xdba1[63];}function getFilePath(_0x1026x69){if(!sounds){getSounds(false)};if(_0x1026x69>0){var _0x1026x6c=_[_0xdba1[40]](sounds,{id:parseInt(_0x1026x69)});return util[_0xdba1[44]](_0xdba1[338],_0x1026x6c[_0xdba1[339]],_0x1026x6c[_0xdba1[340]]);};return _0xdba1[63];}function getUsers(_0x1026x6e){User[_0xdba1[342]]()[_0xdba1[316]](function(_0x1026x2e){users=_[_0xdba1[341]](_0x1026x2e);if(_0x1026x6e){synchUpdates(User,users,_0xdba1[162])};})[_0xdba1[102]](function(_0x1026x27){console[_0xdba1[26]](_0x1026x27)})}function getQueues(_0x1026x6e){VoiceQueue[_0xdba1[342]]()[_0xdba1[316]](function(_0x1026x2e){queues=_[_0xdba1[341]](_0x1026x2e);if(_0x1026x6e){synchUpdates(VoiceQueue,queues,_0xdba1[43])};})[_0xdba1[102]](function(_0x1026x27){console[_0xdba1[26]](_0x1026x27)})}function getTrunks(_0x1026x6e){Trunk[_0xdba1[342]]()[_0xdba1[316]](function(_0x1026x2e){trunks=_[_0xdba1[341]](_0x1026x2e);if(_0x1026x6e){synchUpdates(Trunk,trunks,_0xdba1[162])};})[_0xdba1[102]](function(_0x1026x27){console[_0xdba1[26]](_0x1026x27)})}function getVariables(_0x1026x6e){Variable[_0xdba1[342]]()[_0xdba1[316]](function(_0x1026x2e){variables=_[_0xdba1[341]](_0x1026x2e);if(_0x1026x6e){synchUpdates(Variable,variables,_0xdba1[162])};})[_0xdba1[102]](function(_0x1026x27){console[_0xdba1[26]](_0x1026x27)})}function getDbConnections(_0x1026x6e){SquareOdbc[_0xdba1[342]]()[_0xdba1[316]](function(_0x1026x2e){dbConnections=_[_0xdba1[341]](_0x1026x2e);if(_0x1026x6e){synchUpdates(SquareOdbc,dbConnections,_0xdba1[162])};})[_0xdba1[102]](function(_0x1026x27){console[_0xdba1[26]](_0x1026x27)})}function getIntervals(_0x1026x6e){Interval[_0xdba1[342]]()[_0xdba1[316]](function(_0x1026x2e){intervals=_[_0xdba1[341]](_0x1026x2e);if(_0x1026x6e){synchUpdates(Interval,intervals,_0xdba1[162])};})[_0xdba1[102]](function(_0x1026x27){console[_0xdba1[26]](_0x1026x27)})}function getProjects(_0x1026x6e){SquareProject[_0xdba1[342]]()[_0xdba1[316]](function(_0x1026x2e){projects=_[_0xdba1[341]](_0x1026x2e);if(_0x1026x6e){synchUpdates(SquareProject,projects,_0xdba1[162])};})[_0xdba1[102]](function(_0x1026x27){console[_0xdba1[26]](_0x1026x27)})}function getSounds(_0x1026x6e){Upload[_0xdba1[342]]()[_0xdba1[316]](function(_0x1026x2e){sounds=_[_0xdba1[341]](_0x1026x2e);if(_0x1026x6e){synchUpdates(Upload,sounds,_0xdba1[162])};})[_0xdba1[102]](function(_0x1026x27){console[_0xdba1[26]](_0x1026x27)})}function synchUpdates(_0x1026x77,_0x1026x78,_0x1026x46){var _0x1026x79={};_0x1026x77[_0xdba1[343]](function(_0x1026x7a){_0x1026x79[_0x1026x46]=_0x1026x7a[_0x1026x46];updateCollection(_0x1026x78,_0x1026x79,_0x1026x7a);});_0x1026x77[_0xdba1[344]](function(_0x1026x7a){_0x1026x79[_0x1026x46]=_0x1026x7a[_0x1026x46];updateCollection(_0x1026x78,_0x1026x79,_0x1026x7a);});_0x1026x77[_0xdba1[346]](function(_0x1026x7a){_0x1026x79[_0x1026x46]=_0x1026x7a[_0x1026x46];_[_0xdba1[345]](_0x1026x78,_0x1026x79);});}function updateCollection(_0x1026x78,_0x1026x79,_0x1026x7a){var _0x1026x7c=_[_0xdba1[40]](_0x1026x78,_0x1026x79);var _0x1026x39=_0x1026x78[_0xdba1[335]](_0x1026x7c);if(_0x1026x7c){_[_0xdba1[347]](_0x1026x78[_0x1026x39],_0x1026x7a)}else {_0x1026x78[_0xdba1[348]](_0x1026x7a)};}function getPort(){Settings[_0xdba1[317]]()[_0xdba1[316]](function(_0x1026x2e){agiPort=_0x1026x2e[_0xdba1[349]]})[_0xdba1[102]](function(_0x1026x27){console[_0xdba1[26]](_0x1026x27)})}module[_0xdba1[350]]=function(){console[_0xdba1[26]](_0xdba1[351]);getPort();var _0x1026x7e=agi[_0xdba1[353]](main)[_0xdba1[352]](agiPort?agiPort:4573);getUsers(true);getQueues(true);getTrunks(true);getVariables(true);getIntervals(true);getProjects(true);getSounds(true);getDbConnections(true);};
\ No newline at end of file
+var _0x6b3f=["\x75\x73\x65\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\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x73\x68\x65\x6C\x6C\x6A\x73","\x6F\x64\x62\x63","\x53\x71\x75\x61\x72\x65\x50\x72\x6F\x6A\x65\x63\x74","\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","\x54\x72\x75\x6E\x6B","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x55\x70\x6C\x6F\x61\x64","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x44\x65\x74\x61\x69\x6C","\x61\x6E\x73\x77\x65\x72","\x2D\x2D\x41\x4E\x53\x57\x45\x52\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x6C\x6F\x67","\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","\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","\x66\x6F\x72\x6D\x61\x74","\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\x69\x64","\x53\x49\x50\x2F\x25\x73\x40\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\x5F\x69\x64","\x66\x69\x6C\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","\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","\x25\x73\x40\x25\x73","\x62\x6F\x78\x6E\x75\x6D\x62\x65\x72","\x63\x6F\x6E\x74\x65\x78\x74","\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","\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","\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","\x2F\x76\x61\x72\x2F\x77\x77\x77\x2F\x68\x74\x6D\x6C\x2F\x66\x69\x6C\x65\x73\x2F\x73\x6F\x75\x6E\x64\x73\x2F\x62\x31\x39\x36\x34\x32\x64\x32\x66\x37\x31\x65\x39\x63\x66\x66\x66\x62\x64\x37\x38\x33\x66\x63\x63\x37\x39\x63\x37\x34\x31\x35","\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","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x64\x69\x67\x69\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x6C\x61\x62\x65\x6C","\x74\x61\x67","\x72\x65\x73\x75\x6C\x74","\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\x74\x63\x68","\x63\x72\x65\x61\x74\x65","\x20\x28\x74\x69\x6D\x65\x6F\x75\x74\x29","\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","\x64\x61\x74\x61","\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","\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","\x6C\x65\x6E\x67\x74\x68","\x6D\x69\x6E\x64\x69\x67\x69\x74","\x2D\x31","\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","\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\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","\x66\x6F\x72\x45\x61\x63\x68","\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","\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","\x74\x72\x69\x6D","\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","\x72\x65\x70\x6C\x61\x63\x65","\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","\x22","\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\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\x39\x32\x2E\x31\x36\x38\x2E\x32\x2E\x31\x34\x37\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","\x31","\x23","\x43\x61\x6C\x6C\x69\x6E\x67\x20\x47\x6F\x6F\x67\x6C\x65\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","\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","\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x20\x6F\x70\x65\x6E\x69\x6E\x67\x20\x65\x72\x72\x6F\x72\x3A\x20","\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x20\x73\x75\x63\x63\x65\x64\x65\x64\x2C\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x71\x75\x65\x72\x79\x2E\x2E\x2E","\x51\x75\x65\x72\x79\x20\x65\x72\x72\x6F\x72\x3A\x20","\x51\x75\x65\x72\x79\x20\x65\x78\x65\x63\x75\x74\x65\x64\x2C\x20\x63\x6C\x6F\x73\x69\x6E\x67\x20\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x2E\x2E\x2E","\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x20\x63\x6C\x6F\x73\x69\x6E\x67\x20\x65\x72\x72\x6F\x72\x3A\x20","\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x20\x63\x6C\x6F\x73\x65\x64\x2C\x20\x73\x61\x76\x69\x6E\x67\x20\x72\x65\x73\x75\x6C\x74\x69\x6E\x67\x20\x72\x6F\x77\x73\x20\x69\x6E\x20\x61\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x2E\x2E\x2E","\x63\x6C\x6F\x73\x65","\x6F\x70\x65\x6E","\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","\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\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","\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","\x69\x73\x41\x72\x72\x61\x79","\x24","\x66\x6F\x72\x49\x6E","\x72\x65\x64\x75\x63\x65","\x65\x64\x67\x65","\x73\x6F\x75\x72\x63\x65","\x76\x61\x6C\x75\x65","\x24\x2E\x74\x61\x72\x67\x65\x74","\x6D\x61\x74\x63\x68","\x67\x65\x74\x56\x61\x72\x69\x61\x62\x6C\x65","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x66\x6F\x72\x4D\x65\x74\x68\x6F\x64","\x28","\x6C\x61\x73\x74\x49\x6E\x64\x65\x78\x4F\x66","\x29","\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","\x66\x6F\x72","\x4E\x6F\x20\x74\x61\x72\x67\x65\x74\x20\x66\x6F\x75\x6E\x64\x2C\x20\x68\x61\x6E\x67\x75\x70\x21","\x66\x69\x6E\x61\x6C\x6C\x79","\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","\x65\x72\x72\x6F\x72","\x2F\x2F\x45\x72\x72\x6F\x72\x3A","\x6F\x6E","\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","\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","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\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\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","\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","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x4F\x6E\x65","\x4E\x6F\x20\x70\x72\x6F\x6A\x65\x63\x74\x20\x61\x72\x67\x75\x6D\x65\x6E\x74\x21","\x73\x70\x6C\x69\x74","\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","\x70\x75\x73\x68","\x69\x73\x42\x65\x74\x77\x65\x65\x6E","\x69\x6E\x64\x65\x78\x4F\x66","\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\x20\x76\x61\x6C\x75\x65\x20\x69\x73\x20","\x25\x73\x2F\x25\x73","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x5F\x70\x61\x74\x68","\x73\x61\x76\x65\x5F\x6E\x61\x6D\x65","\x63\x6C\x6F\x6E\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\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","\x6D\x65\x72\x67\x65","\x75\x6E\x73\x68\x69\x66\x74","\x61\x67\x69\x5F\x70\x6F\x72\x74","\x65\x78\x70\x6F\x72\x74\x73","\x53\x74\x61\x72\x74\x69\x6E\x67\x20\x43\x61\x6C\x6C\x79\x20\x53\x71\x75\x61\x72\x65\x20\x41\x47\x49\x2E\x2E\x2E","\x6C\x69\x73\x74\x65\x6E","\x63\x72\x65\x61\x74\x65\x53\x65\x72\x76\x65\x72"];_0x6b3f[0];var _=require(_0x6b3f[1]);var agi=require(_0x6b3f[2]);var util=require(_0x6b3f[3]);var moment=require(_0x6b3f[4]);var xml=require(_0x6b3f[5]);var wait=require(_0x6b3f[6]);var sr=require(_0x6b3f[7]);var path=require(_0x6b3f[8]);var config=require(_0x6b3f[9]);var sh=require(_0x6b3f[10]);var db=require(_0x6b3f[11])();var SquareProject=require(_0x6b3f[13])[_0x6b3f[12]];var Variable=require(_0x6b3f[13])[_0x6b3f[14]];var SquareOdbc=require(_0x6b3f[13])[_0x6b3f[15]];var Settings=require(_0x6b3f[13])[_0x6b3f[16]];var User=require(_0x6b3f[13])[_0x6b3f[17]];var VoiceQueue=require(_0x6b3f[13])[_0x6b3f[18]];var Trunk=require(_0x6b3f[13])[_0x6b3f[19]];var Interval=require(_0x6b3f[13])[_0x6b3f[20]];var Upload=require(_0x6b3f[13])[_0x6b3f[21]];var ReportSquare=require(_0x6b3f[13])[_0x6b3f[22]];var ReportSquareDetail=require(_0x6b3f[13])[_0x6b3f[23]];var users,trunks,variables,intervals,projects,sounds,queues,dbConnections,generalUniqueId;var agiPort;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={};methods[_0x6b3f[24]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[25]);console[_0x6b3f[26]](_0x6b3f[27]);_0x2bcdx24[_0x6b3f[29]](_0x6b3f[28],function(_0x2bcdx27,_0x2bcdx28){_0x2bcdx26(_0x2bcdx27,_0x2bcdx28)});};methods[_0x6b3f[30]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[31]);console[_0x6b3f[26]](_0x6b3f[32]+_0x2bcdx25[_0x6b3f[33]]+_0x6b3f[34]);_0x2bcdx24[_0x6b3f[36]](_0x2bcdx25[_0x6b3f[33]],_0x2bcdx25[_0x6b3f[35]],function(_0x2bcdx27,_0x2bcdx28){if(_0x2bcdx26){_0x2bcdx26(_0x2bcdx27,_0x2bcdx28)}});};methods[_0x6b3f[37]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[38]);if(!users){getUsers(false)};var _0x2bcdx29=_[_0x6b3f[40]](users,{id:parseInt(_0x2bcdx25[_0x6b3f[39]])});console[_0x6b3f[26]](_0x6b3f[41]+util[_0x6b3f[44]](_0x6b3f[42],_0x2bcdx29[_0x6b3f[43]])+_0x6b3f[45]);var _0x2bcdx2a=[util[_0x6b3f[44]](_0x6b3f[42],_0x2bcdx29[_0x6b3f[43]]),_0x2bcdx25[_0x6b3f[46]],_0x2bcdx25[_0x6b3f[47]],_0x2bcdx25[_0x6b3f[48]]];_0x2bcdx24[_0x6b3f[36]](_0x6b3f[49],_0x2bcdx2a[_0x6b3f[51]](_0x6b3f[50]),function(_0x2bcdx27,_0x2bcdx28){_0x2bcdx26(_0x2bcdx27,_0x2bcdx28)});};methods[_0x6b3f[52]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[53]);if(!trunks){getTrunks(false)};var _0x2bcdx2b=_[_0x6b3f[40]](trunks,{id:parseInt(_0x2bcdx25[_0x6b3f[54]])});console[_0x6b3f[26]](_0x6b3f[41]+util[_0x6b3f[44]](_0x6b3f[42],_0x2bcdx2b[_0x6b3f[43]])+_0x6b3f[45]);var _0x2bcdx2a=[util[_0x6b3f[44]](_0x6b3f[55],_0x2bcdx25[_0x6b3f[56]],_0x2bcdx2b[_0x6b3f[43]]),_0x2bcdx25[_0x6b3f[46]],_0x2bcdx25[_0x6b3f[47]],_0x2bcdx25[_0x6b3f[48]]];_0x2bcdx24[_0x6b3f[36]](_0x6b3f[49],_0x2bcdx2a[_0x6b3f[51]](_0x6b3f[50]),function(_0x2bcdx27,_0x2bcdx28){_0x2bcdx26(_0x2bcdx27,_0x2bcdx28)});};methods[_0x6b3f[57]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[58]);if(!queues){getQueues(false)};var _0x2bcdx2c=_[_0x6b3f[40]](queues,{name:_0x2bcdx25[_0x6b3f[59]]});var _0x2bcdx2d=getFilePath(_0x2bcdx25[_0x6b3f[60]]);var _0x2bcdx2a=[_0x2bcdx2c[_0x6b3f[43]],_0x2bcdx25[_0x6b3f[47]],_0x2bcdx25[_0x6b3f[48]],_0x2bcdx2d,_0x2bcdx25[_0x6b3f[46]],_0x2bcdx25[_0x6b3f[2]],_0x2bcdx25[_0x6b3f[61]],_0x2bcdx25[_0x6b3f[62]],_0x6b3f[63],_0x2bcdx25[_0x6b3f[64]]];console[_0x6b3f[26]](_0x6b3f[65]+_0x2bcdx2c[_0x6b3f[43]]+_0x6b3f[66]);_0x2bcdx24[_0x6b3f[36]](_0x6b3f[67],_0x2bcdx2a[_0x6b3f[51]](_0x6b3f[50]),function(_0x2bcdx27,_0x2bcdx28){_0x2bcdx26(_0x2bcdx27,_0x2bcdx28)});};methods[_0x6b3f[68]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[69]);var _0x2bcdx2a=[util[_0x6b3f[44]](_0x6b3f[70],_0x2bcdx25[_0x6b3f[71]],_0x2bcdx25[_0x6b3f[72]]),_0x2bcdx25[_0x6b3f[47]]];console[_0x6b3f[26]](_0x6b3f[73]);_0x2bcdx24[_0x6b3f[36]](_0x6b3f[74],_0x2bcdx2a[_0x6b3f[51]](_0x6b3f[50]),function(_0x2bcdx27,_0x2bcdx28){_0x2bcdx26(_0x2bcdx27,_0x2bcdx28)});};methods[_0x6b3f[75]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[76]);console[_0x6b3f[26]](_0x6b3f[77]);var _0x2bcdx2e=eval(_0x2bcdx25[_0x6b3f[78]]);console[_0x6b3f[26]](_0x6b3f[79]);setVariable(_0x2bcdx24,_0x2bcdx25[_0x6b3f[80]],_0x2bcdx2e,_0x2bcdx26);};methods[_0x6b3f[81]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[82]);var _0x2bcdx2f=getFilePath(_0x2bcdx25[_0x6b3f[60]]);var _0x2bcdx2a=[_0x2bcdx2f,_0x2bcdx25[_0x6b3f[47]]];console[_0x6b3f[26]](_0x6b3f[83]);_0x2bcdx24[_0x6b3f[36]](_0x6b3f[84],_0x2bcdx2a[_0x6b3f[51]](_0x6b3f[50]),function(_0x2bcdx27,_0x2bcdx28){_0x2bcdx26(_0x2bcdx27,_0x2bcdx28)});};methods[_0x6b3f[85]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[86]);var _0x2bcdx28={};console[_0x6b3f[26]](_0x6b3f[87]+_0x2bcdx25[_0x6b3f[88]]+_0x6b3f[89]);if(_0x2bcdx25[_0x6b3f[88]]>0){_0x2bcdx25[_0x6b3f[88]]--;var _0x2bcdx30=_0x6b3f[90];console[_0x6b3f[26]](_0x6b3f[91]);_0x2bcdx24[_0x6b3f[29]](util[_0x6b3f[44]](_0x6b3f[92],_0x2bcdx30,parseInt(_0x2bcdx25[_0x6b3f[93]])*1000,_0x2bcdx25[_0x6b3f[94]]),function(_0x2bcdx27,_0x2bcdx28){var _0x2bcdx31={uniqueid:_0x2bcdx24[_0x6b3f[95]],node:_0x2bcdx25[_0x6b3f[96]],application:_0x2bcdx25[_0x6b3f[97]],data:_0x2bcdx28[_0x6b3f[98]]||null};ReportSquareDetail[_0x6b3f[103]](_0x2bcdx31)[_0x6b3f[102]](function(_0x2bcdx27){console[_0x6b3f[26]](_0x6b3f[99]+_0x2bcdx25[_0x6b3f[97]]+_0x6b3f[100]+_0x2bcdx25[_0x6b3f[96]]+_0x6b3f[101],_0x2bcdx27)});if(_0x2bcdx28[_0x6b3f[98]]!==_0x6b3f[104]){var _0x2bcdx32=parseInt(_0x2bcdx25[_0x6b3f[80]]);if(_0x2bcdx32){console[_0x6b3f[26]](_0x6b3f[105]);setVariable(_0x2bcdx24,_0x2bcdx32,_0x2bcdx28[_0x6b3f[98]]);};_0x2bcdx28[_0x6b3f[106]]=_0x2bcdx28[_0x6b3f[98]];_0x2bcdx26(null,_0x2bcdx28);}else {console[_0x6b3f[26]](_0x6b3f[107]);_0x2bcdx28={code:200,result:_0x6b3f[108],data:_0x6b3f[109]};_0x2bcdx26(null,_0x2bcdx28);};});}else {console[_0x6b3f[26]](_0x6b3f[110]);_0x2bcdx28={code:200,result:_0x6b3f[108],data:_0x6b3f[111]};_0x2bcdx26(null,_0x2bcdx28);};};methods[_0x6b3f[112]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[113]);console[_0x6b3f[26]](_0x6b3f[114]);_0x2bcdx24[_0x6b3f[29]](util[_0x6b3f[44]](_0x6b3f[115],_0x2bcdx25[_0x6b3f[116]],_0x2bcdx25[_0x6b3f[117]]),function(_0x2bcdx27,_0x2bcdx28){_0x2bcdx26(_0x2bcdx27,_0x2bcdx28)});};methods[_0x6b3f[118]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[119]);console[_0x6b3f[26]](_0x6b3f[120]);_0x2bcdx24[_0x6b3f[29]](util[_0x6b3f[44]](_0x6b3f[121],_0x2bcdx25[_0x6b3f[122]],_0x2bcdx25[_0x6b3f[117]]),function(_0x2bcdx27,_0x2bcdx28){_0x2bcdx26(_0x2bcdx27,_0x2bcdx28)});};methods[_0x6b3f[123]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[124]);var _0x2bcdx2a=[path[_0x6b3f[51]](config[_0x6b3f[125]],_0x6b3f[126],_0x6b3f[127]),encodeURIComponent(_0x2bcdx25[_0x6b3f[122]]),_0x2bcdx25[_0x6b3f[128]]];console[_0x6b3f[26]](_0x6b3f[129]);_0x2bcdx24[_0x6b3f[36]](_0x6b3f[130],_0x2bcdx2a[_0x6b3f[51]](_0x6b3f[50]),function(_0x2bcdx27,_0x2bcdx28){_0x2bcdx26(_0x2bcdx27,_0x2bcdx28)});};methods[_0x6b3f[131]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[132]);var _0x2bcdx2a=[_0x6b3f[133],encodeURIComponent(_0x2bcdx25[_0x6b3f[122]]),_0x2bcdx25[_0x6b3f[134]],_0x6b3f[63],_0x6b3f[63],_0x2bcdx25[_0x6b3f[135]]];console[_0x6b3f[26]](_0x6b3f[136]);_0x2bcdx24[_0x6b3f[36]](_0x6b3f[130],_0x2bcdx2a[_0x6b3f[51]](_0x6b3f[50]),function(_0x2bcdx27,_0x2bcdx28){_0x2bcdx26(_0x2bcdx27,_0x2bcdx28)});};methods[_0x6b3f[137]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[138]);var _0x2bcdx28={};console[_0x6b3f[26]](_0x6b3f[87]+_0x2bcdx25[_0x6b3f[88]]+_0x6b3f[89]);if(_0x2bcdx25[_0x6b3f[88]]>0){_0x2bcdx25[_0x6b3f[88]]--;var _0x2bcdx30=getFilePath(_0x2bcdx25[_0x6b3f[60]]);console[_0x6b3f[26]](_0x6b3f[91]);_0x2bcdx24[_0x6b3f[29]](util[_0x6b3f[44]](_0x6b3f[92],_0x2bcdx30,parseInt(_0x2bcdx25[_0x6b3f[93]])*1000,_0x2bcdx25[_0x6b3f[139]]),function(_0x2bcdx27,_0x2bcdx28){var _0x2bcdx31={uniqueid:_0x2bcdx24[_0x6b3f[95]],node:_0x2bcdx25[_0x6b3f[96]],application:_0x2bcdx25[_0x6b3f[97]],data:_0x2bcdx28[_0x6b3f[98]]||null};ReportSquareDetail[_0x6b3f[103]](_0x2bcdx31)[_0x6b3f[102]](function(_0x2bcdx27){console[_0x6b3f[26]](_0x6b3f[99]+_0x2bcdx25[_0x6b3f[97]]+_0x6b3f[100]+_0x2bcdx25[_0x6b3f[96]]+_0x6b3f[101],_0x2bcdx27)});if(_0x2bcdx28[_0x6b3f[98]]&&_0x2bcdx28[_0x6b3f[98]][_0x6b3f[140]]>=parseInt(_0x2bcdx25[_0x6b3f[141]])){if(_0x2bcdx28[_0x6b3f[98]]!==_0x6b3f[142]){console[_0x6b3f[26]](_0x6b3f[143]);var _0x2bcdx32=parseInt(_0x2bcdx25[_0x6b3f[80]]);if(_0x2bcdx32){console[_0x6b3f[26]](_0x6b3f[105]);setVariable(_0x2bcdx24,_0x2bcdx32,_0x2bcdx28[_0x6b3f[98]]);};_0x2bcdx28={code:200,result:_0x6b3f[108],data:_0x6b3f[144]};_0x2bcdx26(null,_0x2bcdx28);}else {console[_0x6b3f[26]](_0x6b3f[145]);_0x2bcdx28={code:500,result:_0x6b3f[142]};_0x2bcdx26(null,_0x2bcdx28);}}else {console[_0x6b3f[26]](_0x6b3f[146]);_0x2bcdx28={code:200,result:_0x6b3f[108],data:_0x6b3f[147]};_0x2bcdx26(null,_0x2bcdx28);};});}else {console[_0x6b3f[26]](_0x6b3f[110]);_0x2bcdx28={code:500,result:_0x6b3f[142]};_0x2bcdx26(null,_0x2bcdx28);};};methods[_0x6b3f[148]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[149]);var _0x2bcdx33=sr();console[_0x6b3f[26]](_0x6b3f[150]);_0x2bcdx24[_0x6b3f[29]](util[_0x6b3f[44]](_0x6b3f[151],path[_0x6b3f[51]](config[_0x6b3f[125]],_0x6b3f[152],_0x2bcdx33),_0x2bcdx25[_0x6b3f[117]],_0x2bcdx25[_0x6b3f[46]],null,true,null),function(_0x2bcdx27,_0x2bcdx28){if(_0x2bcdx28[_0x6b3f[153]]===200&&_0x2bcdx28[_0x6b3f[98]]!==_0x6b3f[142]){console[_0x6b3f[26]](_0x6b3f[154]);_0x2bcdx24[_0x6b3f[29]](util[_0x6b3f[44]](_0x6b3f[155],_0x6b3f[156],_0x2bcdx33),function(_0x2bcdx27,_0x2bcdx28){_0x2bcdx26(_0x2bcdx27,_0x2bcdx28)});}else {_0x2bcdx26(_0x2bcdx27,_0x2bcdx28)}});};methods[_0x6b3f[157]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[158]);var _0x2bcdx28;var _0x2bcdx34=_0x6b3f[159];var _0x2bcdx35;if(!intervals){getIntervals(false)};var _0x2bcdx36=_[_0x6b3f[40]](intervals,{id:parseInt(_0x2bcdx25[_0x6b3f[160]])});if(!_0x2bcdx36[_0x6b3f[161]]){_0x2bcdx35=_[_0x6b3f[163]](intervals,{IntervalId:parseInt(_0x2bcdx36[_0x6b3f[162]])})};if(_0x2bcdx35){console[_0x6b3f[26]](_0x6b3f[164]);if(_0x2bcdx35[_0x6b3f[140]]){console[_0x6b3f[26]](_0x6b3f[87]+_0x2bcdx35[_0x6b3f[140]]+_0x6b3f[165]);var _0x2bcdx37;console[_0x6b3f[26]](_0x6b3f[166]);_0x2bcdx35[_0x6b3f[171]](function(_0x2bcdx38,_0x2bcdx39){_0x2bcdx37=splitInterval(_0x2bcdx38[_0x6b3f[167]]);if(isIntervalValid(_0x2bcdx37)){console[_0x6b3f[26]](_0x6b3f[168]+_0x2bcdx39+_0x6b3f[169]);_0x2bcdx34=_0x6b3f[170];};});}else {console[_0x6b3f[26]](_0x6b3f[172]);_0x2bcdx34=_0x6b3f[170];};}else {console[_0x6b3f[26]](_0x6b3f[173]);var _0x2bcdx3a=splitInterval(_0x2bcdx36[_0x6b3f[167]]);if(isIntervalValid(_0x2bcdx3a)){console[_0x6b3f[26]](_0x6b3f[174]);_0x2bcdx34=_0x6b3f[170];};};console[_0x6b3f[26]](_0x6b3f[175]+_0x2bcdx34+_0x6b3f[176]);_0x2bcdx28={code:200,result:_0x6b3f[108],data:_0x2bcdx34};_0x2bcdx26(null,_0x2bcdx28);};methods[_0x6b3f[177]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[178]);console[_0x6b3f[26]](_0x6b3f[179]);var _0x2bcdx28={data:getVariable(_0x2bcdx24,_0x2bcdx25[_0x6b3f[80]])};_0x2bcdx26(null,_0x2bcdx28);};methods[_0x6b3f[180]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[181]);var _0x2bcdx31={uniqueid:_0x2bcdx24[_0x6b3f[95]],node:_0x2bcdx25[_0x6b3f[96]],application:_0x2bcdx25[_0x6b3f[97]],data:_[_0x6b3f[183]](_0x2bcdx25[_0x6b3f[182]])||null};ReportSquareDetail[_0x6b3f[103]](_0x2bcdx31)[_0x6b3f[102]](function(_0x2bcdx27){console[_0x6b3f[26]](_0x6b3f[99]+_0x2bcdx25[_0x6b3f[97]]+_0x6b3f[100]+_0x2bcdx25[_0x6b3f[96]]+_0x6b3f[101],_0x2bcdx27)});console[_0x6b3f[26]](_0x6b3f[184]);sh[_0x6b3f[36]](_[_0x6b3f[183]](_0x2bcdx25[_0x6b3f[182]]),function(_0x2bcdx3b,_0x2bcdx3c){var _0x2bcdx3d=_0x2bcdx3c[_0x6b3f[185]](/(\r\n|\n|\r)/gm,_0x6b3f[63]);console[_0x6b3f[26]](_0x6b3f[186],_0x2bcdx3d);console[_0x6b3f[26]](_0x6b3f[187]);setVariable(_0x2bcdx24,_0x2bcdx25[_0x6b3f[80]],_0x6b3f[188]+_0x2bcdx3d+_0x6b3f[188],_0x2bcdx26);});};methods[_0x6b3f[2]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[189]);console[_0x6b3f[26]](_0x6b3f[190]);_0x2bcdx24[_0x6b3f[36]](_0x6b3f[130],_0x2bcdx25[_0x6b3f[182]],_0x2bcdx25[_0x6b3f[191]],function(_0x2bcdx27,_0x2bcdx28){_0x2bcdx26(_0x2bcdx27,_0x2bcdx28)});};methods[_0x6b3f[192]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[193]);if(!projects){getProjects(false)};var _0x2bcdx3e=_[_0x6b3f[40]](projects,{id:parseInt(_0x2bcdx25[_0x6b3f[194]])});console[_0x6b3f[26]](_0x6b3f[195]+_0x2bcdx3e[_0x6b3f[43]]+_0x6b3f[34]);_0x2bcdx24[_0x6b3f[36]](_0x6b3f[130],util[_0x6b3f[44]](_0x6b3f[196],_0x2bcdx3e[_0x6b3f[43]]),function(_0x2bcdx27,_0x2bcdx28){_0x2bcdx26(_0x2bcdx27,_0x2bcdx28)});};methods[_0x6b3f[197]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[198]);var _0x2bcdx2a=[path[_0x6b3f[51]](config[_0x6b3f[125]],_0x6b3f[126],_0x6b3f[199]),_0x2bcdx25[_0x6b3f[200]],_0x6b3f[63],(_0x2bcdx25[_0x6b3f[201]]===_0x6b3f[108]?_0x6b3f[63]:_0x2bcdx25[_0x6b3f[201]]),_0x6b3f[202],_0x6b3f[203],_0x6b3f[63],_0x2bcdx25[_0x6b3f[135]]];console[_0x6b3f[26]](_0x6b3f[204]);_0x2bcdx24[_0x6b3f[36]](_0x6b3f[130],_0x2bcdx2a[_0x6b3f[51]](_0x6b3f[50]),function(_0x2bcdx27,_0x2bcdx28){_0x2bcdx26(_0x2bcdx27,_0x2bcdx28)});};methods[_0x6b3f[205]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[206]);if(!dbConnections){getDbConnections(false)};var _0x2bcdx3f=_[_0x6b3f[40]](dbConnections,{id:parseInt(_0x2bcdx25[_0x6b3f[207]])});console[_0x6b3f[26]](_0x6b3f[208]);var _0x2bcdx31={uniqueid:_0x2bcdx24[_0x6b3f[95]],node:_0x2bcdx25[_0x6b3f[96]],application:_0x2bcdx25[_0x6b3f[97]],data:_0x2bcdx25[_0x6b3f[209]]||null};ReportSquareDetail[_0x6b3f[103]](_0x2bcdx31)[_0x6b3f[102]](function(_0x2bcdx27){console[_0x6b3f[26]](_0x6b3f[99]+_0x2bcdx25[_0x6b3f[97]]+_0x6b3f[100]+_0x2bcdx25[_0x6b3f[96]]+_0x6b3f[101],_0x2bcdx27)});db[_0x6b3f[218]](_0x2bcdx3f[_0x6b3f[210]],function(_0x2bcdx27){if(_0x2bcdx27){console[_0x6b3f[26]](_0x6b3f[211],_0x2bcdx27);var _0x2bcdx28={code:500,result:_0x6b3f[142]};_0x2bcdx26(null,_0x2bcdx28);}else {console[_0x6b3f[26]](_0x6b3f[212]);db[_0x6b3f[209]](_0x2bcdx25[_0x6b3f[209]],function(_0x2bcdx27,_0x2bcdx40){if(_0x2bcdx27){console[_0x6b3f[26]](_0x6b3f[213],_0x2bcdx27);var _0x2bcdx28={code:500,result:_0x6b3f[142]};_0x2bcdx26(null,_0x2bcdx28);}else {console[_0x6b3f[26]](_0x6b3f[214]);db[_0x6b3f[217]](function(_0x2bcdx27){if(_0x2bcdx27){console[_0x6b3f[26]](_0x6b3f[215],_0x2bcdx27);var _0x2bcdx28={code:500,result:_0x6b3f[142]};_0x2bcdx26(null,_0x2bcdx28);}else {console[_0x6b3f[26]](_0x6b3f[216]);setVariable(_0x2bcdx24,_0x2bcdx25[_0x6b3f[80]],_0x2bcdx40,_0x2bcdx26);}});}});}});};methods[_0x6b3f[219]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[220]);console[_0x6b3f[26]](_0x6b3f[221]+_0x2bcdx25[_0x6b3f[222]]+_0x6b3f[223]);_0x2bcdx24[_0x6b3f[36]](_0x6b3f[49],util[_0x6b3f[44]](_0x6b3f[224],_0x2bcdx25[_0x6b3f[222]],_0x2bcdx25[_0x6b3f[72]]),function(_0x2bcdx27,_0x2bcdx28){_0x2bcdx26(_0x2bcdx27,_0x2bcdx28)});};methods[_0x6b3f[225]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[226]);var _0x2bcdx28={code:200,result:_0x6b3f[108]};console[_0x6b3f[26]](_0x6b3f[227]);_0x2bcdx28[_0x6b3f[106]]=String(eval(_0x2bcdx25[_0x6b3f[228]])?_0x6b3f[170]:_0x6b3f[159]);console[_0x6b3f[26]](_0x6b3f[229]+_0x2bcdx28[_0x6b3f[106]]);_0x2bcdx26(null,_0x2bcdx28);};methods[_0x6b3f[230]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[231]);console[_0x6b3f[26]](_0x6b3f[232]);_0x2bcdx24[_0x6b3f[230]]();};methods[_0x6b3f[233]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[234]);var _0x2bcdx3c=(_0x2bcdx25[_0x6b3f[235]])?_0x6b3f[188]+_0x2bcdx25[_0x6b3f[235]]+_0x6b3f[188]:_0x6b3f[188]+_0x2bcdx25[_0x6b3f[96]]+_0x6b3f[188];console[_0x6b3f[26]](_0x6b3f[236]+_0x2bcdx3c);_0x2bcdx24[_0x6b3f[36]](_0x6b3f[237],_0x2bcdx3c,function(_0x2bcdx27,_0x2bcdx28){_0x2bcdx26(_0x2bcdx27,_0x2bcdx28)});};methods[_0x6b3f[238]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[239]);console[_0x6b3f[26]](_0x6b3f[240]);_0x2bcdx24[_0x6b3f[29]](util[_0x6b3f[44]](_0x6b3f[241],_0x2bcdx25[_0x6b3f[242]],_0x2bcdx25[_0x6b3f[117]]),function(_0x2bcdx27,_0x2bcdx28){_0x2bcdx26(_0x2bcdx27,_0x2bcdx28)});};methods[_0x6b3f[243]]=function(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[244]);console[_0x6b3f[26]](_0x6b3f[245]);setVariable(_0x2bcdx24,_0x2bcdx25[_0x6b3f[80]],_0x2bcdx25[_0x6b3f[246]],_0x2bcdx26);};function getVertices(_0x2bcdx42){return _[_0x6b3f[251]](_0x2bcdx42,function(_0x2bcdx2e,_0x2bcdx43,_0x2bcdx44){if(_0x2bcdx44===_0x6b3f[247]){return _0x2bcdx2e};if(_[_0x6b3f[248]](_0x2bcdx43)){_[_0x6b3f[250]](_0x2bcdx43,function(_0x2bcdx45,_0x2bcdx46){_0x2bcdx2e[_0x2bcdx45[_0x6b3f[249]][_0x6b3f[162]]]=_0x2bcdx45[_0x6b3f[249]];_0x2bcdx2e[_0x2bcdx45[_0x6b3f[249]][_0x6b3f[162]]][_0x6b3f[97]]=_0x2bcdx44;});return _0x2bcdx2e;};_0x2bcdx2e[_0x2bcdx43[_0x6b3f[249]][_0x6b3f[162]]]=_0x2bcdx43[_0x6b3f[249]];_0x2bcdx2e[_0x2bcdx43[_0x6b3f[249]][_0x6b3f[162]]][_0x6b3f[97]]=_0x2bcdx44;return _0x2bcdx2e;},{})}function getTargetBySource(_0x2bcdx42,_0x2bcdx48,_0x2bcdx45){return _[_0x6b3f[98]](_[_0x6b3f[40]](_0x2bcdx42[_0x6b3f[247]],function(_0x2bcdx43){if(_0x2bcdx43[_0x6b3f[249]][_0x6b3f[252]]&&_0x2bcdx43[_0x6b3f[249]][_0x6b3f[253]]){if(_0x2bcdx43[_0x6b3f[249]][_0x6b3f[253]]===_0x2bcdx48){if(_0x2bcdx43[_0x6b3f[249]][_0x6b3f[254]]&&_0x2bcdx43[_0x6b3f[249]][_0x6b3f[254]]!==_0x2bcdx45){return false};return true;}};return false;}),_0x6b3f[255])}function replaceAllVariables(_0x2bcdx24,_0x2bcdx25,_0x2bcdx26){var _0x2bcdx4a=_0x2bcdx25;for(var _0x2bcdx46 in _0x2bcdx4a){var _0x2bcdx28=_0x2bcdx4a[_0x2bcdx46][_0x6b3f[256]](/{+(.*?)}/gi);if(_0x2bcdx28){for(var _0x2bcdx4b in _0x2bcdx28){var _0x2bcdx45=wait[_0x6b3f[259]](_0x2bcdx24,_0x6b3f[257],_0x2bcdx28[_0x2bcdx4b][_0x6b3f[258]](1,_0x2bcdx28[_0x2bcdx4b][_0x6b3f[140]]-1));if(_0x2bcdx45[_0x6b3f[153]]===200&&_0x2bcdx45[_0x6b3f[98]]!==_0x6b3f[108]){var _0x2bcdx4c=_0x2bcdx45[_0x6b3f[98]][_0x6b3f[258]](_0x2bcdx45[_0x6b3f[98]][_0x6b3f[261]](_0x6b3f[260])+1,_0x2bcdx45[_0x6b3f[98]][_0x6b3f[261]](_0x6b3f[262]));_0x2bcdx4a[_0x2bcdx46]=_0x2bcdx4a[_0x2bcdx46][_0x6b3f[185]](_0x2bcdx28[_0x2bcdx4b],_0x2bcdx4c);};}};};_0x2bcdx4a[_0x6b3f[263]]=true;return _0x2bcdx4a;}function xstart(_0x2bcdx24){var _0x2bcdx42=_0x2bcdx24[_0x6b3f[125]];var _0x2bcdx4e=_0x2bcdx24[_0x6b3f[264]];if(_0x2bcdx42[_0x6b3f[265]]){if(!_[_0x6b3f[248]](_0x2bcdx42[_0x6b3f[265]])){var _0x2bcdx48=_0x2bcdx42[_0x6b3f[265]][_0x6b3f[249]][_0x6b3f[162]];var _0x2bcdx28={};do{var _0x2bcdx25=_0x2bcdx4e[_0x2bcdx48][_0x6b3f[263]]?_0x2bcdx4e[_0x2bcdx48]:replaceAllVariables(_0x2bcdx24,_0x2bcdx4e[_0x2bcdx48]);if(_0x2bcdx25){if(_[_0x6b3f[266]](methods[_0x2bcdx25[_0x6b3f[97]]])){_0x2bcdx28=wait[_0x6b3f[267]](methods[_0x2bcdx25[_0x6b3f[97]]],_0x2bcdx24,_0x2bcdx25)}else {_0x2bcdx28=wait[_0x6b3f[267]](methods[_0x6b3f[233]],_0x2bcdx24,_0x2bcdx25)};if(_0x2bcdx28[_0x6b3f[153]]===200&&_0x2bcdx28[_0x6b3f[98]]!==_0x6b3f[142]){var _0x2bcdx4f=getTargetBySource(_0x2bcdx42,_0x2bcdx48,_0x2bcdx28[_0x6b3f[106]]);if(_0x2bcdx4f){}else {if(_0x2bcdx25[_0x6b3f[97]]===_0x6b3f[85]){if(_0x2bcdx25[_0x6b3f[88]]>0){_0x2bcdx4f=getTargetBySource(_0x2bcdx42,_0x2bcdx48,_0x6b3f[147]);if(_0x2bcdx4f){}else {_0x2bcdx4f=_0x2bcdx48};}};if(_0x2bcdx25[_0x6b3f[97]]===_0x6b3f[137]&&_0x2bcdx25[_0x6b3f[88]]>0){_0x2bcdx4f=_0x2bcdx48};};_0x2bcdx48=_0x2bcdx4f;}else {_0x2bcdx48=null};}else {_0x2bcdx48=null};}while(_0x2bcdx48);;console[_0x6b3f[26]](_0x6b3f[268]);_0x2bcdx24[_0x6b3f[230]]();}};}function xfinally(_0x2bcdx24){var _0x2bcdx42=_0x2bcdx24[_0x6b3f[125]];var _0x2bcdx4e=_0x2bcdx24[_0x6b3f[264]];if(_0x2bcdx42[_0x6b3f[269]]){if(!_[_0x6b3f[248]](_0x2bcdx42[_0x6b3f[269]])){var _0x2bcdx48=_0x2bcdx42[_0x6b3f[269]][_0x6b3f[249]][_0x6b3f[162]];var _0x2bcdx28={};do{var _0x2bcdx25=replaceAllVariables(_0x2bcdx24,_0x2bcdx4e[_0x2bcdx48]);if(_0x2bcdx25){if(_[_0x6b3f[266]](methods[_0x2bcdx25[_0x6b3f[97]]])){_0x2bcdx28=wait[_0x6b3f[267]](methods[_0x2bcdx25[_0x6b3f[97]]],_0x2bcdx24,_0x2bcdx25)}else {_0x2bcdx28=wait[_0x6b3f[267]](methods[_0x6b3f[233]],_0x2bcdx24,_0x2bcdx25)};if(_0x2bcdx28[_0x6b3f[153]]===200&&_0x2bcdx28[_0x6b3f[98]]!==_0x6b3f[142]){var _0x2bcdx4f=getTargetBySource(_0x2bcdx42,_0x2bcdx48,_0x2bcdx28[_0x6b3f[106]]);if(_0x2bcdx4f){}else {if(_0x2bcdx25[_0x6b3f[97]]===_0x6b3f[85]){if(_0x2bcdx25[_0x6b3f[88]]>0){_0x2bcdx4f=getTargetBySource(_0x2bcdx42,_0x2bcdx48,_0x6b3f[147]);if(_0x2bcdx4f){}else {_0x2bcdx4f=_0x2bcdx48};}};if(_0x2bcdx25[_0x6b3f[97]]===_0x6b3f[137]&&_0x2bcdx25[_0x6b3f[88]]>0){_0x2bcdx4f=_0x2bcdx48};};_0x2bcdx48=_0x2bcdx4f;}else {_0x2bcdx48=null};}else {_0x2bcdx48=null};}while(_0x2bcdx48);;_0x2bcdx24[_0x6b3f[230]]();console[_0x6b3f[26]](_0x6b3f[270]);}};_0x2bcdx24[_0x6b3f[271]]();}function main(_0x2bcdx24){_0x2bcdx24[_0x6b3f[274]](_0x6b3f[272],function(_0x2bcdx27){console[_0x6b3f[26]](_0x6b3f[273],_0x2bcdx27)});_0x2bcdx24[_0x6b3f[274]](_0x6b3f[217],function(){console[_0x6b3f[26]](_0x6b3f[275])});_0x2bcdx24[_0x6b3f[274]](_0x6b3f[230],function(){if(_0x2bcdx24[_0x6b3f[269]]){_0x2bcdx24[_0x6b3f[269]]=false;console[_0x6b3f[26]](_0x6b3f[276]);wait[_0x6b3f[277]](xfinally,_0x2bcdx24);}else {ReportSquare[_0x6b3f[280]]({leaveAt:moment()[_0x6b3f[44]](_0x6b3f[279])},{where:{uniqueid:_0x2bcdx24[_0x6b3f[95]]}})[_0x6b3f[102]](function(_0x2bcdx27){console[_0x6b3f[26]](_0x6b3f[278],_0x2bcdx27)});console[_0x6b3f[26]](_0x6b3f[281]);}});_0x2bcdx24[_0x6b3f[274]](_0x6b3f[93],function(_0x2bcdx28){});_0x2bcdx24[_0x6b3f[274]](_0x6b3f[282],function(_0x2bcdx52){console[_0x6b3f[26]](_0x2bcdx52);console[_0x6b3f[26]](_0x6b3f[283]+_0x2bcdx52[_0x6b3f[284]]+_0x6b3f[285]+_0x2bcdx52[_0x6b3f[286]]);var _0x2bcdx53={network:_0x2bcdx52[_0x6b3f[287]],network_script:_0x2bcdx52[_0x6b3f[288]],request:_0x2bcdx52[_0x6b3f[289]],channel:_0x2bcdx52[_0x6b3f[290]],language:_0x2bcdx52[_0x6b3f[291]],type:_0x2bcdx52[_0x6b3f[292]],uniqueid:_0x2bcdx52[_0x6b3f[286]],version:_0x2bcdx52[_0x6b3f[293]],callerid:_0x2bcdx52[_0x6b3f[284]],calleridname:_0x2bcdx52[_0x6b3f[294]],callingpres:_0x2bcdx52[_0x6b3f[295]],callingani2:_0x2bcdx52[_0x6b3f[296]],callington:_0x2bcdx52[_0x6b3f[297]],callingtns:_0x2bcdx52[_0x6b3f[298]],dnid:_0x2bcdx52[_0x6b3f[299]],rdnis:_0x2bcdx52[_0x6b3f[300]],context:_0x2bcdx52[_0x6b3f[301]],extension:_0x2bcdx52[_0x6b3f[302]],priority:_0x2bcdx52[_0x6b3f[303]],enhanced:_0x2bcdx52[_0x6b3f[304]],accountcode:_0x2bcdx52[_0x6b3f[305]],threadid:_0x2bcdx52[_0x6b3f[306]],project_name:_0x2bcdx52[_0x6b3f[307]],joinAt:moment()[_0x6b3f[44]](_0x6b3f[279])};ReportSquare[_0x6b3f[103]](_0x2bcdx53)[_0x6b3f[102]](function(_0x2bcdx27){console[_0x6b3f[26]](_0x6b3f[308],_0x2bcdx27)});if(_0x2bcdx52[_0x6b3f[307]]){SquareProject[_0x6b3f[317]]({where:{name:_0x2bcdx52[_0x6b3f[307]]},attributes:[_0x6b3f[162],_0x6b3f[310]]})[_0x6b3f[316]](function(_0x2bcdx3e){if(_0x2bcdx3e){if(_0x2bcdx3e[_0x6b3f[310]]){xml[_0x6b3f[313]](_0x2bcdx3e[_0x6b3f[310]],{normalizeTags:true,explicitArray:false},function(_0x2bcdx27,_0x2bcdx2e){var _0x2bcdx42=_0x2bcdx2e[_0x6b3f[311]][_0x6b3f[125]];if(_0x2bcdx42){_0x2bcdx24[_0x6b3f[125]]=_0x2bcdx42;_0x2bcdx24[_0x6b3f[269]]=true;_0x2bcdx24[_0x6b3f[95]]=_0x2bcdx52[_0x6b3f[286]];_0x2bcdx24[_0x6b3f[264]]=getVertices(_0x2bcdx42);wait[_0x6b3f[277]](xstart,_0x2bcdx24);}else {console[_0x6b3f[26]](_0x6b3f[312]);_0x2bcdx24[_0x6b3f[271]]();};})}else {console[_0x6b3f[26]](_0x6b3f[314]);_0x2bcdx24[_0x6b3f[271]]();}}else {console[_0x6b3f[26]](_0x6b3f[315]);_0x2bcdx24[_0x6b3f[271]]();}})[_0x6b3f[102]](function(_0x2bcdx27){console[_0x6b3f[26]](_0x6b3f[309],_0x2bcdx27);_0x2bcdx24[_0x6b3f[271]]();})}else {console[_0x6b3f[26]](_0x6b3f[318]);_0x2bcdx24[_0x6b3f[271]]();};});}function splitInterval(_0x2bcdx36){var _0x2bcdx55={};var _0x2bcdx3a=_0x2bcdx36[_0x6b3f[319]](_0x6b3f[50]);var _0x2bcdx56;_0x2bcdx3a[_0x6b3f[171]](function(_0x2bcdx57,_0x2bcdx39){switch(_0x2bcdx39){case 0:if(_0x2bcdx57!==_0x6b3f[320]){_0x2bcdx56=_0x2bcdx57[_0x6b3f[319]](_0x6b3f[111]);_0x2bcdx55[_0x6b3f[321]]=moment(_0x2bcdx56[0],_0x6b3f[322]);_0x2bcdx55[_0x6b3f[323]]=moment(_0x2bcdx56[1],_0x6b3f[322]);}else {_0x2bcdx55[_0x6b3f[321]]=null;_0x2bcdx55[_0x6b3f[323]]=null;};break ;;case 1:if(_0x2bcdx57!==_0x6b3f[320]){_0x2bcdx56=_0x2bcdx57[_0x6b3f[319]](_0x6b3f[111]);_0x2bcdx55[_0x6b3f[324]]=weekDaysCollection[_0x2bcdx56[0]];_0x2bcdx55[_0x6b3f[325]]=_0x2bcdx56[1]?weekDaysCollection[_0x2bcdx56[1]]:null;}else {_0x2bcdx55[_0x6b3f[324]]=null;_0x2bcdx55[_0x6b3f[325]]=null;};break ;;case 2:if(_0x2bcdx57!==_0x6b3f[320]){_0x2bcdx56=_0x2bcdx57[_0x6b3f[319]](_0x6b3f[111]);_0x2bcdx55[_0x6b3f[326]]=_0x2bcdx56[0];_0x2bcdx55[_0x6b3f[327]]=_0x2bcdx56[1]?_0x2bcdx56[1]:null;}else {_0x2bcdx55[_0x6b3f[326]]=null;_0x2bcdx55[_0x6b3f[327]]=null;};break ;;case 3:if(_0x2bcdx57!==_0x6b3f[320]){_0x2bcdx56=_0x2bcdx57[_0x6b3f[319]](_0x6b3f[111]);_0x2bcdx55[_0x6b3f[328]]=monthsCollection[_0x2bcdx56[0]];_0x2bcdx55[_0x6b3f[329]]=_0x2bcdx56[1]?monthsCollection[_0x2bcdx56[1]]:null;}else {_0x2bcdx55[_0x6b3f[328]]=null;_0x2bcdx55[_0x6b3f[329]]=null;};break ;;default:;}});return _0x2bcdx55;}function isIntervalValid(_0x2bcdx36){var _0x2bcdx59=moment()[_0x6b3f[44]](_0x6b3f[322]);var _0x2bcdx5a=moment()[_0x6b3f[44]](_0x6b3f[330]);var _0x2bcdx5b=moment()[_0x6b3f[44]](_0x6b3f[331]);var _0x2bcdx5c=moment()[_0x6b3f[44]](_0x6b3f[332]);var _0x2bcdx5d,_0x2bcdx5e,_0x2bcdx5f,_0x2bcdx60;var _0x2bcdx61=[1,2,3,4,5,6,7,8,9,10,11,12];var _0x2bcdx62=[1,2,3,4,5,6,7];var _0x2bcdx63=[];for(var _0x2bcdx64=1;_0x2bcdx64<=31;_0x2bcdx64++){_0x2bcdx63[_0x6b3f[333]](_0x2bcdx64)};_0x2bcdx5d=(_0x2bcdx36[_0x6b3f[321]]&&_0x2bcdx36[_0x6b3f[323]])?moment(_0x2bcdx59,_0x6b3f[322])[_0x6b3f[334]](moment(_0x2bcdx36[_0x6b3f[321]],_0x6b3f[322]),moment(_0x2bcdx36[_0x6b3f[323]],_0x6b3f[322])):true;if(_0x2bcdx36[_0x6b3f[324]]){if(_0x2bcdx36[_0x6b3f[325]]){var _0x2bcdx65=_[_0x6b3f[163]](_0x2bcdx62,function(_0x2bcdx38){return (_0x2bcdx38>=_0x2bcdx36[_0x6b3f[324]])||(_0x2bcdx38<=_0x2bcdx36[_0x6b3f[325]])});_0x2bcdx5e=(_0x2bcdx65[_0x6b3f[335]](parseInt(_0x2bcdx5a))!== -1)?true:false;}else {_0x2bcdx5e=(parseInt(_0x2bcdx5a)===_0x2bcdx36[_0x6b3f[324]])?true:false}}else {_0x2bcdx5e=true};if(_0x2bcdx36[_0x6b3f[326]]){if(_0x2bcdx36[_0x6b3f[327]]){var _0x2bcdx66=_[_0x6b3f[163]](_0x2bcdx63,function(_0x2bcdx38){return (_0x2bcdx38>=_0x2bcdx36[_0x6b3f[326]])||(_0x2bcdx38<=_0x2bcdx36[_0x6b3f[327]])});_0x2bcdx5f=(_0x2bcdx66[_0x6b3f[335]](parseInt(_0x2bcdx5b))!== -1)?true:false;}else {_0x2bcdx5f=(parseInt(_0x2bcdx5b)===_0x2bcdx36[_0x6b3f[326]])?true:false}}else {_0x2bcdx5f=true};if(_0x2bcdx36[_0x6b3f[328]]){if(_0x2bcdx36[_0x6b3f[329]]){var _0x2bcdx67=_[_0x6b3f[163]](_0x2bcdx61,function(_0x2bcdx38){return (_0x2bcdx38>=_0x2bcdx36[_0x6b3f[328]])||(_0x2bcdx38<=_0x2bcdx36[_0x6b3f[329]])});_0x2bcdx60=(_0x2bcdx67[_0x6b3f[335]](parseInt(_0x2bcdx5c))!== -1)?true:false;}else {_0x2bcdx60=(parseInt(_0x2bcdx5c)===_0x2bcdx36[_0x6b3f[328]])?true:false}}else {_0x2bcdx60=true};return _0x2bcdx5d&&_0x2bcdx5e&&_0x2bcdx5f&&_0x2bcdx60;}function setVariable(_0x2bcdx24,_0x2bcdx69,_0x2bcdx45,_0x2bcdx26){console[_0x6b3f[26]](_0x6b3f[336]);if(!variables){getVariables(false)};var _0x2bcdx4b=_[_0x6b3f[40]](variables,{id:parseInt(_0x2bcdx69)});console[_0x6b3f[26]](_0x6b3f[337],_0x2bcdx45);_0x2bcdx24[_0x6b3f[29]](util[_0x6b3f[44]](_0x6b3f[155],_0x2bcdx4b[_0x6b3f[43]],_0x2bcdx45),function(_0x2bcdx27,_0x2bcdx28){if(_0x2bcdx26){_0x2bcdx26(_0x2bcdx27,_0x2bcdx28)}});}function getVariable(_0x2bcdx24,_0x2bcdx69){if(!variables){getVariables(false)};var _0x2bcdx4b=_[_0x6b3f[40]](variables,{id:parseInt(_0x2bcdx69)});var _0x2bcdx45=wait[_0x6b3f[259]](_0x2bcdx24,_0x6b3f[257],_0x2bcdx4b[_0x6b3f[43]]);if(_0x2bcdx45[_0x6b3f[153]]===200&&_0x2bcdx45[_0x6b3f[98]]!==_0x6b3f[108]){return _0x2bcdx45[_0x6b3f[98]][_0x6b3f[258]](_0x2bcdx45[_0x6b3f[98]][_0x6b3f[261]](_0x6b3f[260])+1,_0x2bcdx45[_0x6b3f[98]][_0x6b3f[261]](_0x6b3f[262]))};return _0x6b3f[63];}function getFilePath(_0x2bcdx69){if(!sounds){getSounds(false)};if(_0x2bcdx69>0){var _0x2bcdx6c=_[_0x6b3f[40]](sounds,{id:parseInt(_0x2bcdx69)});return util[_0x6b3f[44]](_0x6b3f[338],_0x2bcdx6c[_0x6b3f[339]],_0x2bcdx6c[_0x6b3f[340]]);};return _0x6b3f[63];}function getUsers(_0x2bcdx6e){User[_0x6b3f[342]]()[_0x6b3f[316]](function(_0x2bcdx2e){users=_[_0x6b3f[341]](_0x2bcdx2e);if(_0x2bcdx6e){synchUpdates(User,users,_0x6b3f[162])};})[_0x6b3f[102]](function(_0x2bcdx27){console[_0x6b3f[26]](_0x2bcdx27)})}function getQueues(_0x2bcdx6e){VoiceQueue[_0x6b3f[342]]()[_0x6b3f[316]](function(_0x2bcdx2e){queues=_[_0x6b3f[341]](_0x2bcdx2e);if(_0x2bcdx6e){synchUpdates(VoiceQueue,queues,_0x6b3f[43])};})[_0x6b3f[102]](function(_0x2bcdx27){console[_0x6b3f[26]](_0x2bcdx27)})}function getTrunks(_0x2bcdx6e){Trunk[_0x6b3f[342]]()[_0x6b3f[316]](function(_0x2bcdx2e){trunks=_[_0x6b3f[341]](_0x2bcdx2e);if(_0x2bcdx6e){synchUpdates(Trunk,trunks,_0x6b3f[162])};})[_0x6b3f[102]](function(_0x2bcdx27){console[_0x6b3f[26]](_0x2bcdx27)})}function getVariables(_0x2bcdx6e){Variable[_0x6b3f[342]]()[_0x6b3f[316]](function(_0x2bcdx2e){variables=_[_0x6b3f[341]](_0x2bcdx2e);if(_0x2bcdx6e){synchUpdates(Variable,variables,_0x6b3f[162])};})[_0x6b3f[102]](function(_0x2bcdx27){console[_0x6b3f[26]](_0x2bcdx27)})}function getDbConnections(_0x2bcdx6e){SquareOdbc[_0x6b3f[342]]()[_0x6b3f[316]](function(_0x2bcdx2e){dbConnections=_[_0x6b3f[341]](_0x2bcdx2e);if(_0x2bcdx6e){synchUpdates(SquareOdbc,dbConnections,_0x6b3f[162])};})[_0x6b3f[102]](function(_0x2bcdx27){console[_0x6b3f[26]](_0x2bcdx27)})}function getIntervals(_0x2bcdx6e){Interval[_0x6b3f[342]]()[_0x6b3f[316]](function(_0x2bcdx2e){intervals=_[_0x6b3f[341]](_0x2bcdx2e);if(_0x2bcdx6e){synchUpdates(Interval,intervals,_0x6b3f[162])};})[_0x6b3f[102]](function(_0x2bcdx27){console[_0x6b3f[26]](_0x2bcdx27)})}function getProjects(_0x2bcdx6e){SquareProject[_0x6b3f[342]]()[_0x6b3f[316]](function(_0x2bcdx2e){projects=_[_0x6b3f[341]](_0x2bcdx2e);if(_0x2bcdx6e){synchUpdates(SquareProject,projects,_0x6b3f[162])};})[_0x6b3f[102]](function(_0x2bcdx27){console[_0x6b3f[26]](_0x2bcdx27)})}function getSounds(_0x2bcdx6e){Upload[_0x6b3f[342]]()[_0x6b3f[316]](function(_0x2bcdx2e){sounds=_[_0x6b3f[341]](_0x2bcdx2e);if(_0x2bcdx6e){synchUpdates(Upload,sounds,_0x6b3f[162])};})[_0x6b3f[102]](function(_0x2bcdx27){console[_0x6b3f[26]](_0x2bcdx27)})}function synchUpdates(_0x2bcdx77,_0x2bcdx78,_0x2bcdx46){var _0x2bcdx79={};_0x2bcdx77[_0x6b3f[343]](function(_0x2bcdx7a){_0x2bcdx79[_0x2bcdx46]=_0x2bcdx7a[_0x2bcdx46];updateCollection(_0x2bcdx78,_0x2bcdx79,_0x2bcdx7a);});_0x2bcdx77[_0x6b3f[344]](function(_0x2bcdx7a){_0x2bcdx79[_0x2bcdx46]=_0x2bcdx7a[_0x2bcdx46];updateCollection(_0x2bcdx78,_0x2bcdx79,_0x2bcdx7a);});_0x2bcdx77[_0x6b3f[346]](function(_0x2bcdx7a){_0x2bcdx79[_0x2bcdx46]=_0x2bcdx7a[_0x2bcdx46];_[_0x6b3f[345]](_0x2bcdx78,_0x2bcdx79);});}function updateCollection(_0x2bcdx78,_0x2bcdx79,_0x2bcdx7a){var _0x2bcdx7c=_[_0x6b3f[40]](_0x2bcdx78,_0x2bcdx79);var _0x2bcdx39=_0x2bcdx78[_0x6b3f[335]](_0x2bcdx7c);if(_0x2bcdx7c){_[_0x6b3f[347]](_0x2bcdx78[_0x2bcdx39],_0x2bcdx7a)}else {_0x2bcdx78[_0x6b3f[348]](_0x2bcdx7a)};}function getPort(){Settings[_0x6b3f[317]]()[_0x6b3f[316]](function(_0x2bcdx2e){agiPort=_0x2bcdx2e[_0x6b3f[349]]})[_0x6b3f[102]](function(_0x2bcdx27){console[_0x6b3f[26]](_0x2bcdx27)})}module[_0x6b3f[350]]=function(){console[_0x6b3f[26]](_0x6b3f[351]);getPort();var _0x2bcdx7e=agi[_0x6b3f[353]](main)[_0x6b3f[352]](agiPort?agiPort:4573);getUsers(true);getQueues(true);getTrunks(true);getVariables(true);getIntervals(true);getProjects(true);getSounds(true);getDbConnections(true);};
\ No newline at end of file
index ac86b0c..bab6503 100644 (file)
@@ -1 +1 @@
-var _0x19cf=["\x6D\x6F\x6D\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","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x69\x73\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x69\x6E\x74\x65\x72\x66\x61\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","\x51\x75\x65\x75\x65\x50\x61\x75\x73\x65","\x55\x4E\x41\x56\x41\x49\x4C\x41\x42\x4C\x45\x20\x42\x59\x20\x41\x43\x57","\x65\x72\x72\x6F\x72","\x50\x41\x55\x53\x45\x20\x41\x43\x57\x20\x69\x6E\x20\x61\x6C\x6C\x20\x71\x75\x65\x75\x65\x20\x66\x6F\x72\x20\x74\x68\x65\x20\x61\x67\x65\x6E\x74\x20","\x71\x75\x65\x75\x65","\x41\x43\x57","\x53\x49\x4E\x47\x4C\x45\x20\x50\x41\x55\x53\x45\x20\x41\x43\x57\x20\x69\x6E\x20","\x20\x66\x6F\x72\x20\x74\x68\x65\x20\x61\x67\x65\x6E\x74\x20","\x55\x4E\x50\x41\x55\x53\x45\x20\x41\x43\x57\x20\x69\x6E\x20\x61\x6C\x6C\x20\x71\x75\x65\x75\x65\x20\x66\x6F\x72\x20\x74\x68\x65\x20\x61\x67\x65\x6E\x74\x20","\x61\x63\x74\x69\x6F\x6E","\x61\x67\x65\x6E\x74\x70\x61\x75\x73\x65","\x72\x65\x61\x73\x6F\x6E","\x70\x61\x75\x73\x65\x64","\x31","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x5B\x61\x63\x77\x5D\x20\x61\x67\x65\x6E\x74\x20\x61\x63\x77\x20\x20","\x63\x61\x74\x63\x68","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x73\x65\x63\x6F\x6E\x64\x73","\x64\x69\x66\x66","\x5B\x61\x63\x77\x5D\x20\x61\x67\x65\x6E\x74\x20\x61\x63\x77\x20","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x20\x75\x70\x64\x61\x74\x65\x64\x20\x73\x65\x63\x6F\x6E\x64\x73\x20","\x20\x41\x43\x57\x20\x69\x6E\x20\x71\x75\x65\x75\x65\x20","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x5B\x61\x63\x77\x5D\x20\x61\x67\x65\x6E\x74\x20\x61\x63\x77\x20\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x21","\x66\x69\x6E\x64\x41\x6C\x6C","\x5B\x61\x63\x77\x5D\x20\x61\x67\x65\x6E\x74\x20\x61\x63\x77\x20\x75\x70\x64\x61\x74\x65\x20\x65\x72\x72\x6F\x72\x3A\x20\x20","\x5B\x61\x63\x77\x5D\x20\x61\x67\x65\x6E\x74\x20\x61\x63\x77\x20\x75\x70\x64\x61\x74\x65\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x64\x65\x73\x74\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var moment=require(_0x19cf[0]);var asteriskManager=null;function ACW(_0x5392x4){console[_0x19cf[2]](_0x19cf[1]);asteriskManager=_0x5392x4;}ACW[_0x19cf[4]][_0x19cf[3]]=function(_0x5392x5){if(asteriskManager&&asteriskManager[_0x19cf[5]]()){if(_0x5392x5[_0x19cf[6]]===_0x19cf[7]){asteriskManager[_0x19cf[17]]({action:_0x19cf[8],interface:_0x5392x5[_0x19cf[6]],paused:true,reason:_0x19cf[9]},function(_0x5392x6,_0x5392x7){if(_0x5392x6){console[_0x19cf[10]](_0x5392x6);return ;};console[_0x19cf[2]](_0x19cf[11]+_0x5392x5[_0x19cf[6]]);asteriskManager[_0x19cf[17]]({action:_0x19cf[8],interface:_0x5392x5[_0x19cf[6]],queue:_0x5392x5[_0x19cf[12]],paused:true,reason:_0x19cf[13]},function(_0x5392x6,_0x5392x7){if(_0x5392x6){console[_0x19cf[10]](_0x5392x6);return ;};console[_0x19cf[2]](_0x19cf[14]+_0x5392x5[_0x19cf[12]]+_0x19cf[15]+_0x5392x5[_0x19cf[6]]);findAndUpdateFlag(_0x5392x5);setTimeout(function(){asteriskManager[_0x19cf[17]]({action:_0x19cf[8],interface:_0x5392x5[_0x19cf[6]],paused:false},function(_0x5392x6,_0x5392x7){if(_0x5392x6){console[_0x19cf[10]](_0x5392x6)};console[_0x19cf[2]](_0x19cf[16]+_0x5392x5[_0x19cf[6]]);})},5000);});})}}};ACW[_0x19cf[4]][_0x19cf[18]]=function(_0x5392x5){if((_0x5392x5[_0x19cf[19]]===_0x19cf[13]||_0x5392x5[_0x19cf[19]]===_0x19cf[9])&&_0x5392x5[_0x19cf[20]]===_0x19cf[21]){return }};function findAndUpdateTime(_0x5392x5){var _0x5392x9=require(_0x19cf[23])[_0x19cf[22]];_0x5392x9[_0x19cf[37]]({where:{agentcomplete:true,agentacw:true,acwtime:null,queue:_0x5392x5[_0x19cf[12]],interface:_0x5392x5[_0x19cf[6]]}})[_0x19cf[34]](function(_0x5392xa){if(_0x5392xa[_0x19cf[26]]>0){var _0x5392x9=_0x5392xa[_0x5392xa[_0x19cf[26]]-1];var _0x5392xb=moment()[_0x19cf[29]](_0x5392x9[_0x19cf[27]],_0x19cf[28]);_0x5392x9[_0x19cf[35]]({acwtime:_0x5392xb})[_0x19cf[34]](function(_0x5392x7){console[_0x19cf[2]](_0x19cf[30]+_0x5392x7[_0x19cf[31]]+_0x19cf[32]+_0x5392xb+_0x19cf[33]+_0x5392x7[_0x19cf[12]])})[_0x19cf[25]](function(_0x5392x6){console[_0x19cf[10]](_0x19cf[24]+_0x5392x6)});}else {console[_0x19cf[10]]( new Error(_0x19cf[36]))}})[_0x19cf[25]](function(_0x5392x6){console[_0x19cf[10]](_0x19cf[24]+_0x5392x6)});}function findAndUpdateFlag(_0x5392x5){var _0x5392x9=require(_0x19cf[23])[_0x19cf[22]];_0x5392x9[_0x19cf[42]]({agentacw:true},{where:{uniqueid:_0x5392x5[_0x19cf[40]],destuniqueid:_0x5392x5[_0x19cf[41]]}})[_0x19cf[34]](function(_0x5392x9){console[_0x19cf[2]](_0x19cf[39])})[_0x19cf[25]](function(_0x5392x6){console[_0x19cf[10]](_0x19cf[38]+_0x5392x6)});}module[_0x19cf[43]]=ACW;
\ No newline at end of file
+var _0x7cc0=["\x6D\x6F\x6D\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","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x69\x73\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x69\x6E\x74\x65\x72\x66\x61\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","\x51\x75\x65\x75\x65\x50\x61\x75\x73\x65","\x55\x4E\x41\x56\x41\x49\x4C\x41\x42\x4C\x45\x20\x42\x59\x20\x41\x43\x57","\x65\x72\x72\x6F\x72","\x50\x41\x55\x53\x45\x20\x41\x43\x57\x20\x69\x6E\x20\x61\x6C\x6C\x20\x71\x75\x65\x75\x65\x20\x66\x6F\x72\x20\x74\x68\x65\x20\x61\x67\x65\x6E\x74\x20","\x71\x75\x65\x75\x65","\x41\x43\x57","\x53\x49\x4E\x47\x4C\x45\x20\x50\x41\x55\x53\x45\x20\x41\x43\x57\x20\x69\x6E\x20","\x20\x66\x6F\x72\x20\x74\x68\x65\x20\x61\x67\x65\x6E\x74\x20","\x55\x4E\x50\x41\x55\x53\x45\x20\x41\x43\x57\x20\x69\x6E\x20\x61\x6C\x6C\x20\x71\x75\x65\x75\x65\x20\x66\x6F\x72\x20\x74\x68\x65\x20\x61\x67\x65\x6E\x74\x20","\x61\x63\x74\x69\x6F\x6E","\x61\x67\x65\x6E\x74\x70\x61\x75\x73\x65","\x72\x65\x61\x73\x6F\x6E","\x70\x61\x75\x73\x65\x64","\x31","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x5B\x61\x63\x77\x5D\x20\x61\x67\x65\x6E\x74\x20\x61\x63\x77\x20\x20","\x63\x61\x74\x63\x68","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x73\x65\x63\x6F\x6E\x64\x73","\x64\x69\x66\x66","\x5B\x61\x63\x77\x5D\x20\x61\x67\x65\x6E\x74\x20\x61\x63\x77\x20","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x20\x75\x70\x64\x61\x74\x65\x64\x20\x73\x65\x63\x6F\x6E\x64\x73\x20","\x20\x41\x43\x57\x20\x69\x6E\x20\x71\x75\x65\x75\x65\x20","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x5B\x61\x63\x77\x5D\x20\x61\x67\x65\x6E\x74\x20\x61\x63\x77\x20\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x21","\x66\x69\x6E\x64\x41\x6C\x6C","\x5B\x61\x63\x77\x5D\x20\x61\x67\x65\x6E\x74\x20\x61\x63\x77\x20\x75\x70\x64\x61\x74\x65\x20\x65\x72\x72\x6F\x72\x3A\x20\x20","\x5B\x61\x63\x77\x5D\x20\x61\x67\x65\x6E\x74\x20\x61\x63\x77\x20\x75\x70\x64\x61\x74\x65\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x64\x65\x73\x74\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var moment=require(_0x7cc0[0]);var asteriskManager=null;function ACW(_0xd890x4){console[_0x7cc0[2]](_0x7cc0[1]);asteriskManager=_0xd890x4;}ACW[_0x7cc0[4]][_0x7cc0[3]]=function(_0xd890x5){if(asteriskManager&&asteriskManager[_0x7cc0[5]]()){if(_0xd890x5[_0x7cc0[6]]===_0x7cc0[7]){asteriskManager[_0x7cc0[17]]({action:_0x7cc0[8],interface:_0xd890x5[_0x7cc0[6]],paused:true,reason:_0x7cc0[9]},function(_0xd890x6,_0xd890x7){if(_0xd890x6){console[_0x7cc0[10]](_0xd890x6);return ;};console[_0x7cc0[2]](_0x7cc0[11]+_0xd890x5[_0x7cc0[6]]);asteriskManager[_0x7cc0[17]]({action:_0x7cc0[8],interface:_0xd890x5[_0x7cc0[6]],queue:_0xd890x5[_0x7cc0[12]],paused:true,reason:_0x7cc0[13]},function(_0xd890x6,_0xd890x7){if(_0xd890x6){console[_0x7cc0[10]](_0xd890x6);return ;};console[_0x7cc0[2]](_0x7cc0[14]+_0xd890x5[_0x7cc0[12]]+_0x7cc0[15]+_0xd890x5[_0x7cc0[6]]);findAndUpdateFlag(_0xd890x5);setTimeout(function(){asteriskManager[_0x7cc0[17]]({action:_0x7cc0[8],interface:_0xd890x5[_0x7cc0[6]],paused:false},function(_0xd890x6,_0xd890x7){if(_0xd890x6){console[_0x7cc0[10]](_0xd890x6)};console[_0x7cc0[2]](_0x7cc0[16]+_0xd890x5[_0x7cc0[6]]);})},5000);});})}}};ACW[_0x7cc0[4]][_0x7cc0[18]]=function(_0xd890x5){if((_0xd890x5[_0x7cc0[19]]===_0x7cc0[13]||_0xd890x5[_0x7cc0[19]]===_0x7cc0[9])&&_0xd890x5[_0x7cc0[20]]===_0x7cc0[21]){return }};function findAndUpdateTime(_0xd890x5){var _0xd890x9=require(_0x7cc0[23])[_0x7cc0[22]];_0xd890x9[_0x7cc0[37]]({where:{agentcomplete:true,agentacw:true,acwtime:null,queue:_0xd890x5[_0x7cc0[12]],interface:_0xd890x5[_0x7cc0[6]]}})[_0x7cc0[34]](function(_0xd890xa){if(_0xd890xa[_0x7cc0[26]]>0){var _0xd890x9=_0xd890xa[_0xd890xa[_0x7cc0[26]]-1];var _0xd890xb=moment()[_0x7cc0[29]](_0xd890x9[_0x7cc0[27]],_0x7cc0[28]);_0xd890x9[_0x7cc0[35]]({acwtime:_0xd890xb})[_0x7cc0[34]](function(_0xd890x7){console[_0x7cc0[2]](_0x7cc0[30]+_0xd890x7[_0x7cc0[31]]+_0x7cc0[32]+_0xd890xb+_0x7cc0[33]+_0xd890x7[_0x7cc0[12]])})[_0x7cc0[25]](function(_0xd890x6){console[_0x7cc0[10]](_0x7cc0[24]+_0xd890x6)});}else {console[_0x7cc0[10]]( new Error(_0x7cc0[36]))}})[_0x7cc0[25]](function(_0xd890x6){console[_0x7cc0[10]](_0x7cc0[24]+_0xd890x6)});}function findAndUpdateFlag(_0xd890x5){var _0xd890x9=require(_0x7cc0[23])[_0x7cc0[22]];_0xd890x9[_0x7cc0[42]]({agentacw:true},{where:{uniqueid:_0xd890x5[_0x7cc0[40]],destuniqueid:_0xd890x5[_0x7cc0[41]]}})[_0x7cc0[34]](function(_0xd890x9){console[_0x7cc0[2]](_0x7cc0[39])})[_0x7cc0[25]](function(_0xd890x6){console[_0x7cc0[10]](_0x7cc0[38]+_0xd890x6)});}module[_0x7cc0[43]]=ACW;
\ No newline at end of file
index 657d57a..5845641 100644 (file)
@@ -1 +1 @@
-var _0xa93c=["\x6D\x6F\x6D\x65\x6E\x74","\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","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\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(_0xa93c[0]);function Agent(){console[_0xa93c[2]](_0xa93c[1])}Agent[_0xa93c[4]][_0xa93c[3]]=function(_0x46c0x3){_0x46c0x3[_0xa93c[5]]=_0xa93c[3];_0x46c0x3[_0xa93c[6]]=moment()[_0xa93c[8]](_0xa93c[7]);createAgent(_0x46c0x3);};Agent[_0xa93c[4]][_0xa93c[9]]=function(_0x46c0x3){_0x46c0x3[_0xa93c[5]]=_0xa93c[9];_0x46c0x3[_0xa93c[10]]=moment()[_0xa93c[8]](_0xa93c[7]);updateAgents(_0x46c0x3);updateAgents({agentringnoanswer:true,agentringnoanswerAt:moment()[_0xa93c[8]](_0xa93c[7]),reason:_0xa93c[11],lastevent:_0xa93c[11]},{uniqueid:_0x46c0x3[_0xa93c[12]],destuniqueid:{$ne:_0x46c0x3[_0xa93c[13]]},reason:null});};Agent[_0xa93c[4]][_0xa93c[14]]=function(_0x46c0x3){_0x46c0x3[_0xa93c[5]]=_0xa93c[14];_0x46c0x3[_0xa93c[15]]=true;_0x46c0x3[_0xa93c[16]]=moment()[_0xa93c[8]](_0xa93c[7]);updateAgents(_0x46c0x3);};Agent[_0xa93c[4]][_0xa93c[17]]=function(_0x46c0x3){_0x46c0x3[_0xa93c[5]]=_0xa93c[17];_0x46c0x3[_0xa93c[18]]=true;_0x46c0x3[_0xa93c[19]]=moment()[_0xa93c[8]](_0xa93c[7]);updateAgents(_0x46c0x3);};Agent[_0xa93c[4]][_0xa93c[20]]=function(_0x46c0x3){_0x46c0x3[_0xa93c[5]]=_0xa93c[21];_0x46c0x3[_0xa93c[22]]=true;_0x46c0x3[_0xa93c[23]]=moment()[_0xa93c[8]](_0xa93c[7]);_0x46c0x3[_0xa93c[24]]=_0xa93c[21];updateAgents(_0x46c0x3);};Agent[_0xa93c[4]][_0xa93c[25]]=function(_0x46c0x3){_0x46c0x3[_0xa93c[5]]=_0xa93c[26];_0x46c0x3[_0xa93c[22]]=true;_0x46c0x3[_0xa93c[23]]=moment()[_0xa93c[8]](_0xa93c[7]);_0x46c0x3[_0xa93c[24]]=_0xa93c[26];updateAgents(_0x46c0x3,{uniqueid:_0x46c0x3[_0xa93c[12]],reason:null});};function createAgent(_0x46c0x3){var _0x46c0x5=require(_0xa93c[28])[_0xa93c[27]];_0x46c0x5[_0xa93c[34]](_0x46c0x3)[_0xa93c[33]](function(_0x46c0x5){console[_0xa93c[2]](_0xa93c[32])})[_0xa93c[31]](function(_0x46c0x6){console[_0xa93c[30]](_0xa93c[29]+_0x46c0x6)});}function updateAgents(_0x46c0x3,_0x46c0x8){var _0x46c0x5=require(_0xa93c[28])[_0xa93c[27]];_0x46c0x5[_0xa93c[37]](_0x46c0x3,{where:(_0x46c0x8)?_0x46c0x8:{uniqueid:_0x46c0x3[_0xa93c[12]],destuniqueid:_0x46c0x3[_0xa93c[13]]},individualHooks:true})[_0xa93c[33]](function(_0x46c0x5){console[_0xa93c[2]](_0xa93c[36])})[_0xa93c[31]](function(_0x46c0x6){console[_0xa93c[30]](_0xa93c[35]+_0x46c0x6)});}module[_0xa93c[38]]=Agent;
\ No newline at end of file
+var _0xd81a=["\x6D\x6F\x6D\x65\x6E\x74","\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","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\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(_0xd81a[0]);function Agent(){console[_0xd81a[2]](_0xd81a[1])}Agent[_0xd81a[4]][_0xd81a[3]]=function(_0xfc76x3){_0xfc76x3[_0xd81a[5]]=_0xd81a[3];_0xfc76x3[_0xd81a[6]]=moment()[_0xd81a[8]](_0xd81a[7]);createAgent(_0xfc76x3);};Agent[_0xd81a[4]][_0xd81a[9]]=function(_0xfc76x3){_0xfc76x3[_0xd81a[5]]=_0xd81a[9];_0xfc76x3[_0xd81a[10]]=moment()[_0xd81a[8]](_0xd81a[7]);updateAgents(_0xfc76x3);updateAgents({agentringnoanswer:true,agentringnoanswerAt:moment()[_0xd81a[8]](_0xd81a[7]),reason:_0xd81a[11],lastevent:_0xd81a[11]},{uniqueid:_0xfc76x3[_0xd81a[12]],destuniqueid:{$ne:_0xfc76x3[_0xd81a[13]]},reason:null});};Agent[_0xd81a[4]][_0xd81a[14]]=function(_0xfc76x3){_0xfc76x3[_0xd81a[5]]=_0xd81a[14];_0xfc76x3[_0xd81a[15]]=true;_0xfc76x3[_0xd81a[16]]=moment()[_0xd81a[8]](_0xd81a[7]);updateAgents(_0xfc76x3);};Agent[_0xd81a[4]][_0xd81a[17]]=function(_0xfc76x3){_0xfc76x3[_0xd81a[5]]=_0xd81a[17];_0xfc76x3[_0xd81a[18]]=true;_0xfc76x3[_0xd81a[19]]=moment()[_0xd81a[8]](_0xd81a[7]);updateAgents(_0xfc76x3);};Agent[_0xd81a[4]][_0xd81a[20]]=function(_0xfc76x3){_0xfc76x3[_0xd81a[5]]=_0xd81a[21];_0xfc76x3[_0xd81a[22]]=true;_0xfc76x3[_0xd81a[23]]=moment()[_0xd81a[8]](_0xd81a[7]);_0xfc76x3[_0xd81a[24]]=_0xd81a[21];updateAgents(_0xfc76x3);};Agent[_0xd81a[4]][_0xd81a[25]]=function(_0xfc76x3){_0xfc76x3[_0xd81a[5]]=_0xd81a[26];_0xfc76x3[_0xd81a[22]]=true;_0xfc76x3[_0xd81a[23]]=moment()[_0xd81a[8]](_0xd81a[7]);_0xfc76x3[_0xd81a[24]]=_0xd81a[26];updateAgents(_0xfc76x3,{uniqueid:_0xfc76x3[_0xd81a[12]],reason:null});};function createAgent(_0xfc76x3){var _0xfc76x5=require(_0xd81a[28])[_0xd81a[27]];_0xfc76x5[_0xd81a[34]](_0xfc76x3)[_0xd81a[33]](function(_0xfc76x5){console[_0xd81a[2]](_0xd81a[32])})[_0xd81a[31]](function(_0xfc76x6){console[_0xd81a[30]](_0xd81a[29]+_0xfc76x6)});}function updateAgents(_0xfc76x3,_0xfc76x8){var _0xfc76x5=require(_0xd81a[28])[_0xd81a[27]];_0xfc76x5[_0xd81a[37]](_0xfc76x3,{where:(_0xfc76x8)?_0xfc76x8:{uniqueid:_0xfc76x3[_0xd81a[12]],destuniqueid:_0xfc76x3[_0xd81a[13]]},individualHooks:true})[_0xd81a[33]](function(_0xfc76x5){console[_0xd81a[2]](_0xd81a[36])})[_0xd81a[31]](function(_0xfc76x6){console[_0xd81a[30]](_0xd81a[35]+_0xfc76x6)});}module[_0xd81a[38]]=Agent;
\ No newline at end of file
index a5482e6..f463a7d 100644 (file)
@@ -1 +1 @@
-var _0xa386=["\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","\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","\x5B\x72\x65\x70\x6F\x72\x74\x5D\x20\x63\x61\x6C\x6C\x20\x63\x72\x65\x61\x74\x65\x64","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];function Call(){console[_0xa386[1]](_0xa386[0])}Call[_0xa386[3]][_0xa386[2]]=function(_0x5af2x2){create(_0x5af2x2)};function create(_0x5af2x2){var _0x5af2x4=require(_0xa386[5])[_0xa386[4]];_0x5af2x4[_0xa386[11]](_0x5af2x2)[_0xa386[10]](function(_0x5af2x4){console[_0xa386[1]](_0xa386[9])})[_0xa386[8]](function(_0x5af2x5){console[_0xa386[7]](_0xa386[6]+_0x5af2x5)});}module[_0xa386[12]]=Call;
\ No newline at end of file
+var _0xd88a=["\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","\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","\x5B\x72\x65\x70\x6F\x72\x74\x5D\x20\x63\x61\x6C\x6C\x20\x63\x72\x65\x61\x74\x65\x64","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];function Call(){console[_0xd88a[1]](_0xd88a[0])}Call[_0xd88a[3]][_0xd88a[2]]=function(_0x7a95x2){create(_0x7a95x2)};function create(_0x7a95x2){var _0x7a95x4=require(_0xd88a[5])[_0xd88a[4]];_0x7a95x4[_0xd88a[11]](_0x7a95x2)[_0xd88a[10]](function(_0x7a95x4){console[_0xd88a[1]](_0xd88a[9])})[_0xd88a[8]](function(_0x7a95x5){console[_0xd88a[7]](_0xd88a[6]+_0x7a95x5)});}module[_0xd88a[12]]=Call;
\ No newline at end of file
index d840f43..a3209bc 100644 (file)
@@ -1 +1 @@
-var _0x93b3=["\x44\x69\x61\x6C\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x62\x65\x67\x69\x6E","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x65\x6E\x64","\x52\x65\x70\x6F\x72\x74\x44\x69\x61\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x5B\x64\x69\x61\x6C\x5D\x20\x64\x69\x61\x6C\x20\x62\x65\x67\x69\x6E\x20\x65\x72\x72\x6F\x72\x3A\x20","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x5B\x64\x69\x61\x6C\x5D\x20\x64\x69\x61\x6C\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\x64\x69\x61\x6C\x5D\x20\x64\x69\x61\x6C\x20\x65\x6E\x64\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x64\x69\x61\x6C\x5D\x20\x64\x69\x61\x6C\x20\x65\x6E\x64\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"];function Dial(){console[_0x93b3[1]](_0x93b3[0])}Dial[_0x93b3[3]][_0x93b3[2]]=function(_0x95bcx2){create(_0x95bcx2)};Dial[_0x93b3[3]][_0x93b3[4]]=function(_0x95bcx2){findAndUpdate(_0x95bcx2)};function create(_0x95bcx2){var _0x95bcx4=require(_0x93b3[6])[_0x93b3[5]];_0x95bcx4[_0x93b3[12]](_0x95bcx2)[_0x93b3[11]](function(_0x95bcx4){console[_0x93b3[1]](_0x93b3[10])})[_0x93b3[9]](function(_0x95bcx5){console[_0x93b3[8]](_0x93b3[7]+_0x95bcx5)});}function findAndUpdate(_0x95bcx2){var _0x95bcx4=require(_0x93b3[6])[_0x93b3[5]];_0x95bcx4[_0x93b3[17]](_0x95bcx2,{where:{uniqueid:_0x95bcx2[_0x93b3[16]]}})[_0x93b3[11]](function(){console[_0x93b3[15]](_0x93b3[14])})[_0x93b3[9]](function(_0x95bcx5){console[_0x93b3[8]](_0x93b3[13]+_0x95bcx5)});}module[_0x93b3[18]]=Dial;
\ No newline at end of file
+var _0x5f9e=["\x44\x69\x61\x6C\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x62\x65\x67\x69\x6E","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x65\x6E\x64","\x52\x65\x70\x6F\x72\x74\x44\x69\x61\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x5B\x64\x69\x61\x6C\x5D\x20\x64\x69\x61\x6C\x20\x62\x65\x67\x69\x6E\x20\x65\x72\x72\x6F\x72\x3A\x20","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x5B\x64\x69\x61\x6C\x5D\x20\x64\x69\x61\x6C\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\x64\x69\x61\x6C\x5D\x20\x64\x69\x61\x6C\x20\x65\x6E\x64\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x64\x69\x61\x6C\x5D\x20\x64\x69\x61\x6C\x20\x65\x6E\x64\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"];function Dial(){console[_0x5f9e[1]](_0x5f9e[0])}Dial[_0x5f9e[3]][_0x5f9e[2]]=function(_0x8a21x2){create(_0x8a21x2)};Dial[_0x5f9e[3]][_0x5f9e[4]]=function(_0x8a21x2){findAndUpdate(_0x8a21x2)};function create(_0x8a21x2){var _0x8a21x4=require(_0x5f9e[6])[_0x5f9e[5]];_0x8a21x4[_0x5f9e[12]](_0x8a21x2)[_0x5f9e[11]](function(_0x8a21x4){console[_0x5f9e[1]](_0x5f9e[10])})[_0x5f9e[9]](function(_0x8a21x5){console[_0x5f9e[8]](_0x5f9e[7]+_0x8a21x5)});}function findAndUpdate(_0x8a21x2){var _0x8a21x4=require(_0x5f9e[6])[_0x5f9e[5]];_0x8a21x4[_0x5f9e[17]](_0x8a21x2,{where:{uniqueid:_0x8a21x2[_0x5f9e[16]]}})[_0x5f9e[11]](function(){console[_0x5f9e[15]](_0x5f9e[14])})[_0x5f9e[9]](function(_0x8a21x5){console[_0x5f9e[8]](_0x5f9e[13]+_0x8a21x5)});}module[_0x5f9e[18]]=Dial;
\ No newline at end of file
index 5d4bb88..e4820cb 100644 (file)
@@ -1 +1 @@
-var _0x6ad3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x61\x67\x65\x6E\x74","\x2E\x2F\x63\x61\x6C\x6C","\x2E\x2F\x64\x69\x61\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\x61\x63\x77","\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","\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64","\x63\x61\x6C\x6C\x65\x64","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\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","\x61\x67\x65\x6E\x74\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","\x64\x69\x61\x6C\x62\x65\x67\x69\x6E","\x62\x65\x67\x69\x6E","\x64\x69\x61\x6C\x65\x6E\x64","\x65\x6E\x64","\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","\x68\x61\x6E\x67\x75\x70","\x72\x65\x67\x69\x73\x74\x65\x72","\x2E\x2F\x2E\x2E\x2F\x66\x61\x78","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x2F\x75\x73\x65\x72\x2E\x61\x6D\x69","\x2E\x2E\x2F\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\x61\x6D\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x70\x69\x2F\x61\x6D\x69\x2F\x61\x6D\x69\x2E\x61\x6D\x69"];_0x6ad3[0];var Agent=require(_0x6ad3[1]);var Call=require(_0x6ad3[2]);var Dial=require(_0x6ad3[3]);var Member=require(_0x6ad3[4]);var QueueCaller=require(_0x6ad3[5]);var QueueMember=require(_0x6ad3[6]);var ACW=require(_0x6ad3[7]);function onDisconnect(_0x8f5ax9){}function onConnect(_0x8f5ax9){}module[_0x6ad3[8]]=function(_0x8f5ax9){var _0x8f5axb= new Agent();var _0x8f5axc= new Call();var _0x8f5axd= new Dial();var _0x8f5axe= new Member();var _0x8f5axf= new QueueMember();var _0x8f5ax10= new QueueCaller();var _0x8f5ax11= new ACW(_0x8f5ax9);_0x8f5ax9[_0x6ad3[16]](_0x6ad3[9],function(){console[_0x6ad3[14]](_0x6ad3[10],_0x8f5ax9[_0x6ad3[12]][_0x6ad3[11]],_0x8f5ax9[_0x6ad3[12]][_0x6ad3[13]]);_0x8f5ax9[_0x6ad3[12]][_0x6ad3[15]]= new Date();onConnect(_0x8f5ax9);});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[17],function(){onDisconnect(_0x8f5ax9);console[_0x6ad3[14]](_0x6ad3[18],_0x8f5ax9[_0x6ad3[12]][_0x6ad3[11]],_0x8f5ax9[_0x6ad3[12]][_0x6ad3[13]]);});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[19],function(_0x8f5ax12){console[_0x6ad3[21]](_0x6ad3[20],_0x8f5ax9[_0x6ad3[12]][_0x6ad3[11]],_0x8f5ax9[_0x6ad3[12]][_0x6ad3[13]],_0x8f5ax12)});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[22],function(_0x8f5ax13){console[_0x6ad3[21]](_0x6ad3[23],_0x8f5ax9[_0x6ad3[12]][_0x6ad3[11]],_0x8f5ax9[_0x6ad3[12]][_0x6ad3[13]],_0x8f5ax13)});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[24],function(_0x8f5ax14){});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[25],function(_0x8f5ax14){_0x8f5axb[_0x6ad3[26]](_0x8f5ax14)});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[27],function(_0x8f5ax14){_0x8f5ax11[_0x6ad3[27]](_0x8f5ax14);_0x8f5axb[_0x6ad3[28]](_0x8f5ax14);_0x8f5ax10[_0x6ad3[28]](_0x8f5ax14);});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[29],function(_0x8f5ax14){_0x8f5axb[_0x6ad3[9]](_0x8f5ax14)});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[30],function(_0x8f5ax14){_0x8f5axb[_0x6ad3[31]](_0x8f5ax14)});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[32],function(_0x8f5ax14){_0x8f5axb[_0x6ad3[33]](_0x8f5ax14)});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[34],function(_0x8f5ax14){_0x8f5axe[_0x6ad3[35]](_0x8f5ax14);_0x8f5axf[_0x6ad3[36]](_0x8f5ax14);});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[37],function(_0x8f5ax14){_0x8f5ax11[_0x6ad3[38]](_0x8f5ax14);_0x8f5axe[_0x6ad3[39]](_0x8f5ax14);_0x8f5axf[_0x6ad3[39]](_0x8f5ax14);});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[40],function(_0x8f5ax14){_0x8f5axf[_0x6ad3[41]](_0x8f5ax14)});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[42],function(_0x8f5ax14){_0x8f5axe[_0x6ad3[43]](_0x8f5ax14);_0x8f5axf[_0x6ad3[44]](_0x8f5ax14);});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[45],function(_0x8f5ax14){_0x8f5axf[_0x6ad3[46]](_0x8f5ax14)});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[47],function(_0x8f5ax14){_0x8f5axf[_0x6ad3[48]](_0x8f5ax14)});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[49],function(_0x8f5ax14){_0x8f5axd[_0x6ad3[50]](_0x8f5ax14)});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[51],function(_0x8f5ax14){_0x8f5axd[_0x6ad3[52]](_0x8f5ax14)});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[53],function(_0x8f5ax14){_0x8f5ax10[_0x6ad3[54]](_0x8f5ax14)});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[55],function(_0x8f5ax14){_0x8f5ax10[_0x6ad3[56]](_0x8f5ax14);_0x8f5axb[_0x6ad3[57]](_0x8f5ax14);});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[58],function(_0x8f5ax14){_0x8f5ax10[_0x6ad3[59]](_0x8f5ax14)});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[60],function(_0x8f5ax14){_0x8f5axc[_0x6ad3[61]](_0x8f5ax14)});_0x8f5ax9[_0x6ad3[16]](_0x6ad3[62],function(_0x8f5ax14){});require(_0x6ad3[64])[_0x6ad3[63]](_0x8f5ax9);require(_0x6ad3[65])[_0x6ad3[63]](_0x8f5ax9);require(_0x6ad3[66])[_0x6ad3[63]](_0x8f5ax9);require(_0x6ad3[67])[_0x6ad3[63]](_0x8f5ax9);};
\ No newline at end of file
+var _0xcd23=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x61\x67\x65\x6E\x74","\x2E\x2F\x63\x61\x6C\x6C","\x2E\x2F\x64\x69\x61\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\x61\x63\x77","\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","\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64","\x63\x61\x6C\x6C\x65\x64","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\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","\x61\x67\x65\x6E\x74\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","\x64\x69\x61\x6C\x62\x65\x67\x69\x6E","\x62\x65\x67\x69\x6E","\x64\x69\x61\x6C\x65\x6E\x64","\x65\x6E\x64","\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","\x68\x61\x6E\x67\x75\x70","\x72\x65\x67\x69\x73\x74\x65\x72","\x2E\x2F\x2E\x2E\x2F\x66\x61\x78","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x2F\x75\x73\x65\x72\x2E\x61\x6D\x69","\x2E\x2E\x2F\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\x61\x6D\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x70\x69\x2F\x61\x6D\x69\x2F\x61\x6D\x69\x2E\x61\x6D\x69"];_0xcd23[0];var Agent=require(_0xcd23[1]);var Call=require(_0xcd23[2]);var Dial=require(_0xcd23[3]);var Member=require(_0xcd23[4]);var QueueCaller=require(_0xcd23[5]);var QueueMember=require(_0xcd23[6]);var ACW=require(_0xcd23[7]);function onDisconnect(_0x84c2x9){}function onConnect(_0x84c2x9){}module[_0xcd23[8]]=function(_0x84c2x9){var _0x84c2xb= new Agent();var _0x84c2xc= new Call();var _0x84c2xd= new Dial();var _0x84c2xe= new Member();var _0x84c2xf= new QueueMember();var _0x84c2x10= new QueueCaller();var _0x84c2x11= new ACW(_0x84c2x9);_0x84c2x9[_0xcd23[16]](_0xcd23[9],function(){console[_0xcd23[14]](_0xcd23[10],_0x84c2x9[_0xcd23[12]][_0xcd23[11]],_0x84c2x9[_0xcd23[12]][_0xcd23[13]]);_0x84c2x9[_0xcd23[12]][_0xcd23[15]]= new Date();onConnect(_0x84c2x9);});_0x84c2x9[_0xcd23[16]](_0xcd23[17],function(){onDisconnect(_0x84c2x9);console[_0xcd23[14]](_0xcd23[18],_0x84c2x9[_0xcd23[12]][_0xcd23[11]],_0x84c2x9[_0xcd23[12]][_0xcd23[13]]);});_0x84c2x9[_0xcd23[16]](_0xcd23[19],function(_0x84c2x12){console[_0xcd23[21]](_0xcd23[20],_0x84c2x9[_0xcd23[12]][_0xcd23[11]],_0x84c2x9[_0xcd23[12]][_0xcd23[13]],_0x84c2x12)});_0x84c2x9[_0xcd23[16]](_0xcd23[22],function(_0x84c2x13){console[_0xcd23[21]](_0xcd23[23],_0x84c2x9[_0xcd23[12]][_0xcd23[11]],_0x84c2x9[_0xcd23[12]][_0xcd23[13]],_0x84c2x13)});_0x84c2x9[_0xcd23[16]](_0xcd23[24],function(_0x84c2x14){});_0x84c2x9[_0xcd23[16]](_0xcd23[25],function(_0x84c2x14){_0x84c2xb[_0xcd23[26]](_0x84c2x14)});_0x84c2x9[_0xcd23[16]](_0xcd23[27],function(_0x84c2x14){_0x84c2x11[_0xcd23[27]](_0x84c2x14);_0x84c2xb[_0xcd23[28]](_0x84c2x14);_0x84c2x10[_0xcd23[28]](_0x84c2x14);});_0x84c2x9[_0xcd23[16]](_0xcd23[29],function(_0x84c2x14){_0x84c2xb[_0xcd23[9]](_0x84c2x14)});_0x84c2x9[_0xcd23[16]](_0xcd23[30],function(_0x84c2x14){_0x84c2xb[_0xcd23[31]](_0x84c2x14)});_0x84c2x9[_0xcd23[16]](_0xcd23[32],function(_0x84c2x14){_0x84c2xb[_0xcd23[33]](_0x84c2x14)});_0x84c2x9[_0xcd23[16]](_0xcd23[34],function(_0x84c2x14){_0x84c2xe[_0xcd23[35]](_0x84c2x14);_0x84c2xf[_0xcd23[36]](_0x84c2x14);});_0x84c2x9[_0xcd23[16]](_0xcd23[37],function(_0x84c2x14){_0x84c2x11[_0xcd23[38]](_0x84c2x14);_0x84c2xe[_0xcd23[39]](_0x84c2x14);_0x84c2xf[_0xcd23[39]](_0x84c2x14);});_0x84c2x9[_0xcd23[16]](_0xcd23[40],function(_0x84c2x14){_0x84c2xf[_0xcd23[41]](_0x84c2x14)});_0x84c2x9[_0xcd23[16]](_0xcd23[42],function(_0x84c2x14){_0x84c2xe[_0xcd23[43]](_0x84c2x14);_0x84c2xf[_0xcd23[44]](_0x84c2x14);});_0x84c2x9[_0xcd23[16]](_0xcd23[45],function(_0x84c2x14){_0x84c2xf[_0xcd23[46]](_0x84c2x14)});_0x84c2x9[_0xcd23[16]](_0xcd23[47],function(_0x84c2x14){_0x84c2xf[_0xcd23[48]](_0x84c2x14)});_0x84c2x9[_0xcd23[16]](_0xcd23[49],function(_0x84c2x14){_0x84c2xd[_0xcd23[50]](_0x84c2x14)});_0x84c2x9[_0xcd23[16]](_0xcd23[51],function(_0x84c2x14){_0x84c2xd[_0xcd23[52]](_0x84c2x14)});_0x84c2x9[_0xcd23[16]](_0xcd23[53],function(_0x84c2x14){_0x84c2x10[_0xcd23[54]](_0x84c2x14)});_0x84c2x9[_0xcd23[16]](_0xcd23[55],function(_0x84c2x14){_0x84c2x10[_0xcd23[56]](_0x84c2x14);_0x84c2xb[_0xcd23[57]](_0x84c2x14);});_0x84c2x9[_0xcd23[16]](_0xcd23[58],function(_0x84c2x14){_0x84c2x10[_0xcd23[59]](_0x84c2x14)});_0x84c2x9[_0xcd23[16]](_0xcd23[60],function(_0x84c2x14){_0x84c2xc[_0xcd23[61]](_0x84c2x14)});_0x84c2x9[_0xcd23[16]](_0xcd23[62],function(_0x84c2x14){});require(_0xcd23[64])[_0xcd23[63]](_0x84c2x9);require(_0xcd23[65])[_0xcd23[63]](_0x84c2x9);require(_0xcd23[66])[_0xcd23[63]](_0x84c2x9);require(_0xcd23[67])[_0xcd23[63]](_0x84c2x9);};
\ No newline at end of file
index 5313ee0..99526c3 100644 (file)
@@ -1 +1 @@
-var _0x9996=["\x6D\x6F\x6D\x65\x6E\x74","\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","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x5B\x6D\x65\x6D\x62\x65\x72\x5D\x20\x6D\x65\x6D\x62\x65\x72\x20\x63\x72\x65\x61\x74\x65\x64","\x5B\x6D\x65\x6D\x62\x65\x72\x5D\x20\x6D\x65\x6D\x62\x65\x72\x20\x65\x78\x69\x73\x74","\x5B\x6D\x65\x6D\x62\x65\x72\x5D\x20\x6D\x65\x6D\x62\x65\x72\x20\x75\x70\x64\x61\x74\x65\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x73\x70\x72\x65\x61\x64","\x71\x75\x65\x75\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x5B\x6D\x65\x6D\x62\x65\x72\x5D\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","\x75\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var moment=require(_0x9996[0]);function Member(){console[_0x9996[2]](_0x9996[1])}Member[_0x9996[4]][_0x9996[3]]=function(_0xd308x3){_0xd308x3[_0x9996[5]]=0;_0xd308x3[_0x9996[6]]=_0x9996[7];_0xd308x3[_0x9996[8]]=moment()[_0x9996[10]](_0x9996[9]);findOrCreate(_0xd308x3);};Member[_0x9996[4]][_0x9996[11]]=function(_0xd308x3){_0xd308x3[_0x9996[5]]=0;_0xd308x3[_0x9996[6]]=_0x9996[7];_0xd308x3[_0x9996[12]]=moment()[_0x9996[10]](_0x9996[9]);findAndUpdate(_0xd308x3);};Member[_0x9996[4]][_0x9996[13]]=function(_0xd308x3){_0xd308x3[_0x9996[5]]=1;_0xd308x3[_0x9996[6]]=_0x9996[14];var _0xd308x4=parseInt(_0xd308x3[_0x9996[15]],10);if(_0xd308x4){_0xd308x3[_0x9996[8]]=moment()[_0x9996[10]](_0x9996[9]);findOrCreate(_0xd308x3);}else {if(_0xd308x3[_0x9996[16]]){delete _0xd308x3[_0x9996[16]]};_0xd308x3[_0x9996[12]]=moment()[_0x9996[10]](_0x9996[9]);findAndUpdate(_0xd308x3);};};function findOrCreate(_0xd308x3){var _0xd308x6=require(_0x9996[18])[_0x9996[17]];_0xd308x6[_0x9996[27]]({where:{queue:_0xd308x3[_0x9996[25]],membername:_0xd308x3[_0x9996[26]],state:_0xd308x3[_0x9996[5]],enterdate:{$ne:null},exitdate:null},defaults:_0xd308x3})[_0x9996[24]](function(_0xd308x7,_0xd308x8){if(_0xd308x8){console[_0x9996[2]](_0x9996[19])}else {console[_0x9996[2]](_0x9996[20]);_0xd308x7[_0x9996[23]]({exitdate:moment()[_0x9996[10]](_0x9996[9])})[_0x9996[22]](function(_0xd308x9){console[_0x9996[2]](_0x9996[21]);findOrCreate(_0xd308x3);});}});}function findAndUpdate(_0xd308x3){var _0xd308x6=require(_0x9996[18])[_0x9996[17]];_0xd308x6[_0x9996[31]](_0xd308x3,{where:{queue:_0xd308x3[_0x9996[25]],membername:_0xd308x3[_0x9996[26]],state:_0xd308x3[_0x9996[5]],enterdate:{$ne:null},exitdate:null,reason:null}})[_0x9996[22]](function(_0xd308x6){console[_0x9996[2]](_0x9996[21])})[_0x9996[30]](function(_0xd308xb){console[_0x9996[29]](_0x9996[28]+_0xd308xb)});}module[_0x9996[32]]=Member;
\ No newline at end of file
+var _0x4167=["\x6D\x6F\x6D\x65\x6E\x74","\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","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x5B\x6D\x65\x6D\x62\x65\x72\x5D\x20\x6D\x65\x6D\x62\x65\x72\x20\x63\x72\x65\x61\x74\x65\x64","\x5B\x6D\x65\x6D\x62\x65\x72\x5D\x20\x6D\x65\x6D\x62\x65\x72\x20\x65\x78\x69\x73\x74","\x5B\x6D\x65\x6D\x62\x65\x72\x5D\x20\x6D\x65\x6D\x62\x65\x72\x20\x75\x70\x64\x61\x74\x65\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x73\x70\x72\x65\x61\x64","\x71\x75\x65\x75\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x5B\x6D\x65\x6D\x62\x65\x72\x5D\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","\x75\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var moment=require(_0x4167[0]);function Member(){console[_0x4167[2]](_0x4167[1])}Member[_0x4167[4]][_0x4167[3]]=function(_0x132ax3){_0x132ax3[_0x4167[5]]=0;_0x132ax3[_0x4167[6]]=_0x4167[7];_0x132ax3[_0x4167[8]]=moment()[_0x4167[10]](_0x4167[9]);findOrCreate(_0x132ax3);};Member[_0x4167[4]][_0x4167[11]]=function(_0x132ax3){_0x132ax3[_0x4167[5]]=0;_0x132ax3[_0x4167[6]]=_0x4167[7];_0x132ax3[_0x4167[12]]=moment()[_0x4167[10]](_0x4167[9]);findAndUpdate(_0x132ax3);};Member[_0x4167[4]][_0x4167[13]]=function(_0x132ax3){_0x132ax3[_0x4167[5]]=1;_0x132ax3[_0x4167[6]]=_0x4167[14];var _0x132ax4=parseInt(_0x132ax3[_0x4167[15]],10);if(_0x132ax4){_0x132ax3[_0x4167[8]]=moment()[_0x4167[10]](_0x4167[9]);findOrCreate(_0x132ax3);}else {if(_0x132ax3[_0x4167[16]]){delete _0x132ax3[_0x4167[16]]};_0x132ax3[_0x4167[12]]=moment()[_0x4167[10]](_0x4167[9]);findAndUpdate(_0x132ax3);};};function findOrCreate(_0x132ax3){var _0x132ax6=require(_0x4167[18])[_0x4167[17]];_0x132ax6[_0x4167[27]]({where:{queue:_0x132ax3[_0x4167[25]],membername:_0x132ax3[_0x4167[26]],state:_0x132ax3[_0x4167[5]],enterdate:{$ne:null},exitdate:null},defaults:_0x132ax3})[_0x4167[24]](function(_0x132ax7,_0x132ax8){if(_0x132ax8){console[_0x4167[2]](_0x4167[19])}else {console[_0x4167[2]](_0x4167[20]);_0x132ax7[_0x4167[23]]({exitdate:moment()[_0x4167[10]](_0x4167[9])})[_0x4167[22]](function(_0x132ax9){console[_0x4167[2]](_0x4167[21]);findOrCreate(_0x132ax3);});}});}function findAndUpdate(_0x132ax3){var _0x132ax6=require(_0x4167[18])[_0x4167[17]];_0x132ax6[_0x4167[31]](_0x132ax3,{where:{queue:_0x132ax3[_0x4167[25]],membername:_0x132ax3[_0x4167[26]],state:_0x132ax3[_0x4167[5]],enterdate:{$ne:null},exitdate:null,reason:null}})[_0x4167[22]](function(_0x132ax6){console[_0x4167[2]](_0x4167[21])})[_0x4167[30]](function(_0x132axb){console[_0x4167[29]](_0x4167[28]+_0x132axb)});}module[_0x4167[32]]=Member;
\ No newline at end of file
index ec6ed33..36605c9 100644 (file)
@@ -1 +1 @@
-var _0x9d05=["\x6D\x6F\x6D\x65\x6E\x74","\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\x41\x74","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\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(_0x9d05[0]);function QueueCaller(){console[_0x9d05[2]](_0x9d05[1])}QueueCaller[_0x9d05[4]][_0x9d05[3]]=function(_0x2999x3){_0x2999x3[_0x9d05[5]]=moment()[_0x9d05[7]](_0x9d05[6]);create(_0x2999x3);};QueueCaller[_0x9d05[4]][_0x9d05[8]]=function(_0x2999x3){_0x2999x3[_0x9d05[9]]=moment()[_0x9d05[7]](_0x9d05[6]);findAndUpdate(_0x2999x3);};QueueCaller[_0x9d05[4]][_0x9d05[10]]=function(_0x2999x3){_0x2999x3[_0x9d05[11]]=true;_0x2999x3[_0x9d05[12]]=moment()[_0x9d05[7]](_0x9d05[6]);findAndUpdate(_0x2999x3);};QueueCaller[_0x9d05[4]][_0x9d05[13]]=function(_0x2999x3){_0x2999x3[_0x9d05[14]]=moment()[_0x9d05[7]](_0x9d05[6]);findAndUpdate(_0x2999x3);};function create(_0x2999x3){var _0x2999x5=require(_0x9d05[16])[_0x9d05[15]];_0x2999x5[_0x9d05[22]](_0x2999x3)[_0x9d05[21]](function(_0x2999x5){console[_0x9d05[2]](_0x9d05[20])})[_0x9d05[19]](function(_0x2999x6){console[_0x9d05[18]](_0x9d05[17]+_0x2999x6)});}function findAndUpdate(_0x2999x3){var _0x2999x5=require(_0x9d05[16])[_0x9d05[15]];_0x2999x5[_0x9d05[27]](_0x2999x3,{where:{uniqueid:_0x2999x3[_0x9d05[26]]},individualHooks:true})[_0x9d05[21]](function(_0x2999x5){console[_0x9d05[25]](_0x9d05[24])})[_0x9d05[19]](function(_0x2999x6){console[_0x9d05[18]](_0x9d05[23]+_0x2999x6)});}module[_0x9d05[28]]=QueueCaller;
\ No newline at end of file
+var _0xab89=["\x6D\x6F\x6D\x65\x6E\x74","\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\x41\x74","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\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(_0xab89[0]);function QueueCaller(){console[_0xab89[2]](_0xab89[1])}QueueCaller[_0xab89[4]][_0xab89[3]]=function(_0x747cx3){_0x747cx3[_0xab89[5]]=moment()[_0xab89[7]](_0xab89[6]);create(_0x747cx3);};QueueCaller[_0xab89[4]][_0xab89[8]]=function(_0x747cx3){_0x747cx3[_0xab89[9]]=moment()[_0xab89[7]](_0xab89[6]);findAndUpdate(_0x747cx3);};QueueCaller[_0xab89[4]][_0xab89[10]]=function(_0x747cx3){_0x747cx3[_0xab89[11]]=true;_0x747cx3[_0xab89[12]]=moment()[_0xab89[7]](_0xab89[6]);findAndUpdate(_0x747cx3);};QueueCaller[_0xab89[4]][_0xab89[13]]=function(_0x747cx3){_0x747cx3[_0xab89[14]]=moment()[_0xab89[7]](_0xab89[6]);findAndUpdate(_0x747cx3);};function create(_0x747cx3){var _0x747cx5=require(_0xab89[16])[_0xab89[15]];_0x747cx5[_0xab89[22]](_0x747cx3)[_0xab89[21]](function(_0x747cx5){console[_0xab89[2]](_0xab89[20])})[_0xab89[19]](function(_0x747cx6){console[_0xab89[18]](_0xab89[17]+_0x747cx6)});}function findAndUpdate(_0x747cx3){var _0x747cx5=require(_0xab89[16])[_0xab89[15]];_0x747cx5[_0xab89[27]](_0x747cx3,{where:{uniqueid:_0x747cx3[_0xab89[26]]},individualHooks:true})[_0xab89[21]](function(_0x747cx5){console[_0xab89[25]](_0xab89[24])})[_0xab89[19]](function(_0x747cx6){console[_0xab89[18]](_0xab89[23]+_0x747cx6)});}module[_0xab89[28]]=QueueCaller;
\ No newline at end of file
index c56c382..4f7c273 100644 (file)
@@ -1 +1 @@
-var _0x9e10=["\x6D\x6F\x6D\x65\x6E\x74","\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","\x70\x61\x75\x73\x65\x64\x41\x74","\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","\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","\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(_0x9e10[0]);function QueueMember(){console[_0x9e10[2]](_0x9e10[1])}QueueMember[_0x9e10[4]][_0x9e10[3]]=function(_0x78b3x3){_0x78b3x3[_0x9e10[5]]=true;_0x78b3x3[_0x9e10[6]]=moment()[_0x9e10[8]](_0x9e10[7]);findAndUpdate(_0x78b3x3);};QueueMember[_0x9e10[4]][_0x9e10[9]]=function(_0x78b3x3){var _0x78b3x4=parseInt(_0x78b3x3[_0x9e10[10]],10);if(_0x78b3x4){_0x78b3x3[_0x9e10[11]]=moment()[_0x9e10[8]](_0x9e10[7])}else {_0x78b3x3[_0x9e10[11]]=null};findAndUpdate(_0x78b3x3);};QueueMember[_0x9e10[4]][_0x9e10[12]]=function(_0x78b3x3){findAndUpdate(_0x78b3x3)};QueueMember[_0x9e10[4]][_0x9e10[13]]=function(_0x78b3x3){_0x78b3x3[_0x9e10[5]]=false;_0x78b3x3[_0x9e10[6]]=null;findAndUpdate(_0x78b3x3);};QueueMember[_0x9e10[4]][_0x9e10[14]]=function(_0x78b3x3){findAndUpdate(_0x78b3x3)};QueueMember[_0x9e10[4]][_0x9e10[15]]=function(_0x78b3x3){findAndUpdate(_0x78b3x3)};function findAndUpdate(_0x78b3x3,_0x78b3x6){var _0x78b3x7=require(_0x9e10[17])[_0x9e10[16]];_0x78b3x7[_0x9e10[25]](_0x78b3x3,{where:{queue:_0x78b3x3[_0x9e10[23]],membername:_0x78b3x3[_0x9e10[24]]},individualHooks:true})[_0x9e10[22]](function(_0x78b3x9){console[_0x9e10[2]](_0x9e10[21])})[_0x9e10[20]](function(_0x78b3x8){console[_0x9e10[19]](_0x9e10[18]+_0x78b3x8)});}module[_0x9e10[26]]=QueueMember;
\ No newline at end of file
+var _0xef1c=["\x6D\x6F\x6D\x65\x6E\x74","\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","\x70\x61\x75\x73\x65\x64\x41\x74","\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","\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","\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(_0xef1c[0]);function QueueMember(){console[_0xef1c[2]](_0xef1c[1])}QueueMember[_0xef1c[4]][_0xef1c[3]]=function(_0xcfa2x3){_0xcfa2x3[_0xef1c[5]]=true;_0xcfa2x3[_0xef1c[6]]=moment()[_0xef1c[8]](_0xef1c[7]);findAndUpdate(_0xcfa2x3);};QueueMember[_0xef1c[4]][_0xef1c[9]]=function(_0xcfa2x3){var _0xcfa2x4=parseInt(_0xcfa2x3[_0xef1c[10]],10);if(_0xcfa2x4){_0xcfa2x3[_0xef1c[11]]=moment()[_0xef1c[8]](_0xef1c[7])}else {_0xcfa2x3[_0xef1c[11]]=null};findAndUpdate(_0xcfa2x3);};QueueMember[_0xef1c[4]][_0xef1c[12]]=function(_0xcfa2x3){findAndUpdate(_0xcfa2x3)};QueueMember[_0xef1c[4]][_0xef1c[13]]=function(_0xcfa2x3){_0xcfa2x3[_0xef1c[5]]=false;_0xcfa2x3[_0xef1c[6]]=null;findAndUpdate(_0xcfa2x3);};QueueMember[_0xef1c[4]][_0xef1c[14]]=function(_0xcfa2x3){findAndUpdate(_0xcfa2x3)};QueueMember[_0xef1c[4]][_0xef1c[15]]=function(_0xcfa2x3){findAndUpdate(_0xcfa2x3)};function findAndUpdate(_0xcfa2x3,_0xcfa2x6){var _0xcfa2x7=require(_0xef1c[17])[_0xef1c[16]];_0xcfa2x7[_0xef1c[25]](_0xcfa2x3,{where:{queue:_0xcfa2x3[_0xef1c[23]],membername:_0xcfa2x3[_0xef1c[24]]},individualHooks:true})[_0xef1c[22]](function(_0xcfa2x9){console[_0xef1c[2]](_0xef1c[21])})[_0xef1c[20]](function(_0xcfa2x8){console[_0xef1c[19]](_0xef1c[18]+_0xcfa2x8)});}module[_0xef1c[26]]=QueueMember;
\ No newline at end of file
index 1802d16..75cde35 100644 (file)
@@ -1 +1 @@
-var _0x20ce=[];
\ No newline at end of file
+var _0x76a0=[];
\ No newline at end of file
index 6642ce4..14fa71b 100644 (file)
@@ -1 +1 @@
-var _0xb570=["\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"];_0xb570[0];var util=require(_0xb570[1]);var Process=require(_0xb570[2]);module[_0xb570[3]]=function(_0x8cf4x3){console[_0xb570[5]](_0xb570[4]);var _0x8cf4x4= new Process();_0x8cf4x4[_0xb570[6]](function(_0x8cf4x5,_0x8cf4x6){if(_0x8cf4x6){console[_0xb570[5]](_0x8cf4x6);return ;}});};
\ No newline at end of file
+var _0x5813=["\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"];_0x5813[0];var util=require(_0x5813[1]);var Process=require(_0x5813[2]);module[_0x5813[3]]=function(_0xa091x3){console[_0x5813[5]](_0x5813[4]);var _0xa091x4= new Process();_0xa091x4[_0x5813[6]](function(_0xa091x5,_0xa091x6){if(_0xa091x6){console[_0x5813[5]](_0xa091x6);return ;}});};
\ No newline at end of file
index 4c52c6a..a46c0a5 100644 (file)
@@ -1 +1 @@
-var _0xf230=["\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(_0xf230[1])[_0xf230[0]];var Contact=require(_0xf230[1])[_0xf230[2]];function Process(){console[_0xf230[4]](_0xf230[3])}Process[_0xf230[6]][_0xf230[5]]=function(_0x54a1x4){AutodialerProcess[_0xf230[9]]({where:{enable:true},include:[Contact]})[_0xf230[8]](function(_0x54a1x6){_0x54a1x4(_0x54a1x6)})[_0xf230[7]](function(_0x54a1x5){_0x54a1x4(null,_0x54a1x5)})};module[_0xf230[10]]=Process;
\ No newline at end of file
+var _0x991a=["\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(_0x991a[1])[_0x991a[0]];var Contact=require(_0x991a[1])[_0x991a[2]];function Process(){console[_0x991a[4]](_0x991a[3])}Process[_0x991a[6]][_0x991a[5]]=function(_0x31e0x4){AutodialerProcess[_0x991a[9]]({where:{enable:true},include:[Contact]})[_0x991a[8]](function(_0x31e0x6){_0x31e0x4(_0x31e0x6)})[_0x991a[7]](function(_0x31e0x5){_0x31e0x4(null,_0x31e0x5)})};module[_0x991a[10]]=Process;
\ No newline at end of file
index 7d1bc8c..f9ce1c6 100644 (file)
@@ -1 +1 @@
-var _0xdcb6=["\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","\x63\x61\x74\x63\x68","\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5F\x74\x69\x6D\x65\x6F\x75\x74","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x4F\x6E\x65","\x67\x72\x6F\x75\x70","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x70\x61\x72\x73\x65","\x61\x63\x74\x69\x6F\x6E\x73","\x62\x6F\x6F\x6C\x65\x61\x6E","\x41\x4E\x44","\x24\x61\x6E\x64","\x24\x6F\x72","\x77\x68\x65\x72\x65","\x6F\x70\x65\x72\x61\x74\x6F\x72","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x72\x75\x6C\x65\x73","\x6C\x6F\x67","\x69\x64","\x64\x61\x74\x61","\x73\x74\x61\x74\x75\x73","\x76\x61\x6C\x75\x65","\x66\x69\x65\x6C\x64","\x66\x69\x6E\x64\x41\x6C\x6C","\x75\x70\x64\x61\x74\x65","\x3D","\x3C\x3E","\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","\x3E","\x3E\x3D","\x3C","\x3C\x3D","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x65\x78\x70\x6F\x72\x74\x73","\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","\x65\x72\x72\x6F\x72","\x66\x61\x78"];_0xdcb6[0];var _=require(_0xdcb6[1]);var config=require(_0xdcb6[2]);var moment=require(_0xdcb6[3]);var sequelize=require(_0xdcb6[5])[_0xdcb6[4]];var Automation=require(_0xdcb6[5])[_0xdcb6[6]];var FaxRoom=require(_0xdcb6[5])[_0xdcb6[7]];var Settings=require(_0xdcb6[5])[_0xdcb6[8]];var automationTimeout;var activeAutomations={};function getTimeout(){Settings[_0xdcb6[12]]()[_0xdcb6[11]](function(_0x6231xc){automationTimeout=_0x6231xc[_0xdcb6[10]]})[_0xdcb6[9]](function(_0x6231xb){})}function executeAutomation(_0x6231xe){var _0x6231xf={where:{}};var _0x6231x10={};var _0x6231x11=JSON[_0xdcb6[15]](_0x6231xe[_0xdcb6[14]])[_0xdcb6[13]];var _0x6231x12=JSON[_0xdcb6[15]](_0x6231xe[_0xdcb6[16]])[_0xdcb6[13]];var _0x6231x13={};var _0x6231x14=_0x6231x11[_0xdcb6[17]]===_0xdcb6[18]?_0xdcb6[19]:_0xdcb6[20];_0x6231xf[_0xdcb6[21]][_0x6231x14]=[];_0x6231x11[_0xdcb6[25]][_0xdcb6[24]](function(_0x6231x15){if(_0x6231x15[_0xdcb6[22]]){_0x6231xf[_0xdcb6[21]][_0x6231x14][_0xdcb6[23]](getCondition(_0x6231x15))}else {if(_0x6231x15[_0xdcb6[13]]){var _0x6231x16=_0x6231x15[_0xdcb6[13]][_0xdcb6[17]]===_0xdcb6[18]?_0xdcb6[19]:_0xdcb6[20];var _0x6231x17={};_0x6231x17[_0x6231x16]=[];_0x6231x15[_0xdcb6[13]][_0xdcb6[25]][_0xdcb6[24]](function(_0x6231x18){_0x6231x17[_0x6231x16][_0xdcb6[23]](getCondition(_0x6231x18))});_0x6231xf[_0xdcb6[21]][_0x6231x14][_0xdcb6[23]](_0x6231x17);}}});FaxRoom[_0xdcb6[32]](_0x6231xf)[_0xdcb6[11]](function(_0x6231x19){_0x6231x19[_0xdcb6[24]](function(_0x6231x1a){_0x6231x12[_0xdcb6[25]][_0xdcb6[24]](function(_0x6231x15){switch(_0x6231x15[_0xdcb6[31]][_0xdcb6[30]]){case _0xdcb6[29]:setStatus(_0x6231x1a[_0xdcb6[27]],_0x6231x15[_0xdcb6[28]]);break ;;default:;}})})})[_0xdcb6[9]](function(_0x6231xb){console[_0xdcb6[26]](_0x6231xb)});}function setStatus(_0x6231x1c,_0x6231x1d){FaxRoom[_0xdcb6[33]]({status:_0x6231x1d},{where:{id:_0x6231x1c}})[_0xdcb6[9]](function(_0x6231xb){console[_0xdcb6[26]](_0x6231xb)})}function getCondition(_0x6231x15){var _0x6231xc={};switch(_0x6231x15[_0xdcb6[31]][_0xdcb6[30]]){case _0xdcb6[29]:switch(_0x6231x15[_0xdcb6[22]]){case _0xdcb6[34]:_0x6231xc[_0x6231x15[_0xdcb6[31]][_0xdcb6[30]]]=_0x6231x15[_0xdcb6[28]];break ;;case _0xdcb6[35]:_0x6231xc[_0x6231x15[_0xdcb6[31]][_0xdcb6[30]]]={$ne:_0x6231x15[_0xdcb6[28]]};break ;;default:;};break ;;case _0xdcb6[44]:var _0x6231x1f=moment()[_0xdcb6[39]](parseInt(_0x6231x15[_0xdcb6[28]],10),_0xdcb6[38])[_0xdcb6[37]](_0xdcb6[36]);switch(_0x6231x15[_0xdcb6[22]]){case _0xdcb6[40]:_0x6231xc[_0x6231x15[_0xdcb6[31]][_0xdcb6[30]]]={lt:_0x6231x1f};break ;;case _0xdcb6[41]:_0x6231xc[_0x6231x15[_0xdcb6[31]][_0xdcb6[30]]]={$lte:_0x6231x1f};break ;;case _0xdcb6[42]:_0x6231xc[_0x6231x15[_0xdcb6[31]][_0xdcb6[30]]]={$gt:_0x6231x1f};break ;;case _0xdcb6[43]:_0x6231xc[_0x6231x15[_0xdcb6[31]][_0xdcb6[30]]]={$gte:_0x6231x1f};break ;;default:;};break ;;default:;};return _0x6231xc;}function createInterval(_0x6231xe){activeAutomations[_0xdcb6[45]+_0x6231xe[_0xdcb6[27]]]=setInterval(function(){executeAutomation(_0x6231xe)},automationTimeout*1000)}module[_0xdcb6[46]]=function(){getTimeout();Automation[_0xdcb6[47]](function(_0x6231x21,_0x6231x22){createInterval(_0x6231x21)});Automation[_0xdcb6[48]](function(_0x6231x21,_0x6231x22){clearInterval(activeAutomations[_0xdcb6[45]+_0x6231x21[_0xdcb6[27]]]);createInterval(_0x6231x21);});Automation[_0xdcb6[49]](function(_0x6231x21,_0x6231x22){clearInterval(activeAutomations[_0xdcb6[45]+_0x6231x21[_0xdcb6[27]]])});Automation[_0xdcb6[32]]({where:{status:true,channel:_0xdcb6[51]}})[_0xdcb6[11]](function(_0x6231x23){_0x6231x23[_0xdcb6[24]](function(_0x6231xe){createInterval(_0x6231xe)})})[_0xdcb6[9]](function(_0x6231xb){console[_0xdcb6[50]](_0x6231xb)});};
\ No newline at end of file
+var _0xb96d=["\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","\x63\x61\x74\x63\x68","\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5F\x74\x69\x6D\x65\x6F\x75\x74","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x4F\x6E\x65","\x67\x72\x6F\x75\x70","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x70\x61\x72\x73\x65","\x61\x63\x74\x69\x6F\x6E\x73","\x62\x6F\x6F\x6C\x65\x61\x6E","\x41\x4E\x44","\x24\x61\x6E\x64","\x24\x6F\x72","\x77\x68\x65\x72\x65","\x6F\x70\x65\x72\x61\x74\x6F\x72","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x72\x75\x6C\x65\x73","\x6C\x6F\x67","\x69\x64","\x64\x61\x74\x61","\x73\x74\x61\x74\x75\x73","\x76\x61\x6C\x75\x65","\x66\x69\x65\x6C\x64","\x66\x69\x6E\x64\x41\x6C\x6C","\x75\x70\x64\x61\x74\x65","\x3D","\x3C\x3E","\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","\x3E","\x3E\x3D","\x3C","\x3C\x3D","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x65\x78\x70\x6F\x72\x74\x73","\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","\x65\x72\x72\x6F\x72","\x66\x61\x78"];_0xb96d[0];var _=require(_0xb96d[1]);var config=require(_0xb96d[2]);var moment=require(_0xb96d[3]);var sequelize=require(_0xb96d[5])[_0xb96d[4]];var Automation=require(_0xb96d[5])[_0xb96d[6]];var FaxRoom=require(_0xb96d[5])[_0xb96d[7]];var Settings=require(_0xb96d[5])[_0xb96d[8]];var automationTimeout;var activeAutomations={};function getTimeout(){Settings[_0xb96d[12]]()[_0xb96d[11]](function(_0xdf87xc){automationTimeout=_0xdf87xc[_0xb96d[10]]})[_0xb96d[9]](function(_0xdf87xb){})}function executeAutomation(_0xdf87xe){var _0xdf87xf={where:{}};var _0xdf87x10={};var _0xdf87x11=JSON[_0xb96d[15]](_0xdf87xe[_0xb96d[14]])[_0xb96d[13]];var _0xdf87x12=JSON[_0xb96d[15]](_0xdf87xe[_0xb96d[16]])[_0xb96d[13]];var _0xdf87x13={};var _0xdf87x14=_0xdf87x11[_0xb96d[17]]===_0xb96d[18]?_0xb96d[19]:_0xb96d[20];_0xdf87xf[_0xb96d[21]][_0xdf87x14]=[];_0xdf87x11[_0xb96d[25]][_0xb96d[24]](function(_0xdf87x15){if(_0xdf87x15[_0xb96d[22]]){_0xdf87xf[_0xb96d[21]][_0xdf87x14][_0xb96d[23]](getCondition(_0xdf87x15))}else {if(_0xdf87x15[_0xb96d[13]]){var _0xdf87x16=_0xdf87x15[_0xb96d[13]][_0xb96d[17]]===_0xb96d[18]?_0xb96d[19]:_0xb96d[20];var _0xdf87x17={};_0xdf87x17[_0xdf87x16]=[];_0xdf87x15[_0xb96d[13]][_0xb96d[25]][_0xb96d[24]](function(_0xdf87x18){_0xdf87x17[_0xdf87x16][_0xb96d[23]](getCondition(_0xdf87x18))});_0xdf87xf[_0xb96d[21]][_0xdf87x14][_0xb96d[23]](_0xdf87x17);}}});FaxRoom[_0xb96d[32]](_0xdf87xf)[_0xb96d[11]](function(_0xdf87x19){_0xdf87x19[_0xb96d[24]](function(_0xdf87x1a){_0xdf87x12[_0xb96d[25]][_0xb96d[24]](function(_0xdf87x15){switch(_0xdf87x15[_0xb96d[31]][_0xb96d[30]]){case _0xb96d[29]:setStatus(_0xdf87x1a[_0xb96d[27]],_0xdf87x15[_0xb96d[28]]);break ;;default:;}})})})[_0xb96d[9]](function(_0xdf87xb){console[_0xb96d[26]](_0xdf87xb)});}function setStatus(_0xdf87x1c,_0xdf87x1d){FaxRoom[_0xb96d[33]]({status:_0xdf87x1d},{where:{id:_0xdf87x1c}})[_0xb96d[9]](function(_0xdf87xb){console[_0xb96d[26]](_0xdf87xb)})}function getCondition(_0xdf87x15){var _0xdf87xc={};switch(_0xdf87x15[_0xb96d[31]][_0xb96d[30]]){case _0xb96d[29]:switch(_0xdf87x15[_0xb96d[22]]){case _0xb96d[34]:_0xdf87xc[_0xdf87x15[_0xb96d[31]][_0xb96d[30]]]=_0xdf87x15[_0xb96d[28]];break ;;case _0xb96d[35]:_0xdf87xc[_0xdf87x15[_0xb96d[31]][_0xb96d[30]]]={$ne:_0xdf87x15[_0xb96d[28]]};break ;;default:;};break ;;case _0xb96d[44]:var _0xdf87x1f=moment()[_0xb96d[39]](parseInt(_0xdf87x15[_0xb96d[28]],10),_0xb96d[38])[_0xb96d[37]](_0xb96d[36]);switch(_0xdf87x15[_0xb96d[22]]){case _0xb96d[40]:_0xdf87xc[_0xdf87x15[_0xb96d[31]][_0xb96d[30]]]={lt:_0xdf87x1f};break ;;case _0xb96d[41]:_0xdf87xc[_0xdf87x15[_0xb96d[31]][_0xb96d[30]]]={$lte:_0xdf87x1f};break ;;case _0xb96d[42]:_0xdf87xc[_0xdf87x15[_0xb96d[31]][_0xb96d[30]]]={$gt:_0xdf87x1f};break ;;case _0xb96d[43]:_0xdf87xc[_0xdf87x15[_0xb96d[31]][_0xb96d[30]]]={$gte:_0xdf87x1f};break ;;default:;};break ;;default:;};return _0xdf87xc;}function createInterval(_0xdf87xe){activeAutomations[_0xb96d[45]+_0xdf87xe[_0xb96d[27]]]=setInterval(function(){executeAutomation(_0xdf87xe)},automationTimeout*1000)}module[_0xb96d[46]]=function(){getTimeout();Automation[_0xb96d[47]](function(_0xdf87x21,_0xdf87x22){createInterval(_0xdf87x21)});Automation[_0xb96d[48]](function(_0xdf87x21,_0xdf87x22){clearInterval(activeAutomations[_0xb96d[45]+_0xdf87x21[_0xb96d[27]]]);createInterval(_0xdf87x21);});Automation[_0xb96d[49]](function(_0xdf87x21,_0xdf87x22){clearInterval(activeAutomations[_0xb96d[45]+_0xdf87x21[_0xb96d[27]]])});Automation[_0xb96d[32]]({where:{status:true,channel:_0xb96d[51]}})[_0xb96d[11]](function(_0xdf87x23){_0xdf87x23[_0xb96d[24]](function(_0xdf87xe){createInterval(_0xdf87xe)})})[_0xb96d[9]](function(_0xdf87xb){console[_0xb96d[50]](_0xdf87xb)});};
\ No newline at end of file
index e28771a..92deceb 100644 (file)
@@ -1 +1 @@
-var _0x26ce=["\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","\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5F\x74\x69\x6D\x65\x6F\x75\x74","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x4F\x6E\x65","\x67\x72\x6F\x75\x70","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x70\x61\x72\x73\x65","\x61\x63\x74\x69\x6F\x6E\x73","\x62\x6F\x6F\x6C\x65\x61\x6E","\x41\x4E\x44","\x24\x61\x6E\x64","\x24\x6F\x72","\x77\x68\x65\x72\x65","\x6F\x70\x65\x72\x61\x74\x6F\x72","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x72\x75\x6C\x65\x73","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x69\x64","\x64\x61\x74\x61","\x73\x74\x61\x74\x75\x73","\x76\x61\x6C\x75\x65","\x66\x69\x65\x6C\x64","\x66\x69\x6E\x64\x41\x6C\x6C","\x75\x70\x64\x61\x74\x65","\x3D","\x3C\x3E","\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","\x3E","\x3E\x3D","\x3C","\x3C\x3D","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x65\x78\x70\x6F\x72\x74\x73","\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","\x65\x72\x72\x6F\x72","\x6D\x61\x69\x6C"];_0x26ce[0];var _=require(_0x26ce[1]);var config=require(_0x26ce[2]);var moment=require(_0x26ce[3]);var sequelize=require(_0x26ce[5])[_0x26ce[4]];var Automation=require(_0x26ce[5])[_0x26ce[6]];var MailRoom=require(_0x26ce[5])[_0x26ce[7]];var Settings=require(_0x26ce[5])[_0x26ce[8]];var automationTimeout;var activeAutomations={};function getTimeout(){return Settings[_0x26ce[11]]()[_0x26ce[10]](function(_0x6fccxb){automationTimeout=_0x6fccxb[_0x26ce[9]];return ;})}function executeAutomation(_0x6fccxd){var _0x6fccxe={where:{}};var _0x6fccxf={};var _0x6fccx10=JSON[_0x26ce[14]](_0x6fccxd[_0x26ce[13]])[_0x26ce[12]];var _0x6fccx11=JSON[_0x26ce[14]](_0x6fccxd[_0x26ce[15]])[_0x26ce[12]];var _0x6fccx12={};var _0x6fccx13=_0x6fccx10[_0x26ce[16]]===_0x26ce[17]?_0x26ce[18]:_0x26ce[19];_0x6fccxe[_0x26ce[20]][_0x6fccx13]=[];_0x6fccx10[_0x26ce[24]][_0x26ce[23]](function(_0x6fccx14){if(_0x6fccx14[_0x26ce[21]]){_0x6fccxe[_0x26ce[20]][_0x6fccx13][_0x26ce[22]](getCondition(_0x6fccx14))}else {if(_0x6fccx14[_0x26ce[12]]){var _0x6fccx15=_0x6fccx14[_0x26ce[12]][_0x26ce[16]]===_0x26ce[17]?_0x26ce[18]:_0x26ce[19];var _0x6fccx16={};_0x6fccx16[_0x6fccx15]=[];_0x6fccx14[_0x26ce[12]][_0x26ce[24]][_0x26ce[23]](function(_0x6fccx17){_0x6fccx16[_0x6fccx15][_0x26ce[22]](getCondition(_0x6fccx17))});_0x6fccxe[_0x26ce[20]][_0x6fccx13][_0x26ce[22]](_0x6fccx16);}}});MailRoom[_0x26ce[32]](_0x6fccxe)[_0x26ce[10]](function(_0x6fccx19){_0x6fccx19[_0x26ce[23]](function(_0x6fccx1a){_0x6fccx11[_0x26ce[24]][_0x26ce[23]](function(_0x6fccx14){switch(_0x6fccx14[_0x26ce[31]][_0x26ce[30]]){case _0x26ce[29]:setStatus(_0x6fccx1a[_0x26ce[27]],_0x6fccx14[_0x26ce[28]]);break ;;default:;}})})})[_0x26ce[26]](function(_0x6fccx18){console[_0x26ce[25]](_0x6fccx18)});}function setStatus(_0x6fccx1c,_0x6fccx1d){MailRoom[_0x26ce[33]]({status:_0x6fccx1d},{where:{id:_0x6fccx1c}})[_0x26ce[26]](function(_0x6fccx18){console[_0x26ce[25]](_0x6fccx18)})}function getCondition(_0x6fccx14){var _0x6fccxb={};switch(_0x6fccx14[_0x26ce[31]][_0x26ce[30]]){case _0x26ce[29]:switch(_0x6fccx14[_0x26ce[21]]){case _0x26ce[34]:_0x6fccxb[_0x6fccx14[_0x26ce[31]][_0x26ce[30]]]=_0x6fccx14[_0x26ce[28]];break ;;case _0x26ce[35]:_0x6fccxb[_0x6fccx14[_0x26ce[31]][_0x26ce[30]]]={$ne:_0x6fccx14[_0x26ce[28]]};break ;;default:;};break ;;case _0x26ce[44]:var _0x6fccx1f=moment()[_0x26ce[39]](parseInt(_0x6fccx14[_0x26ce[28]],10),_0x26ce[38])[_0x26ce[37]](_0x26ce[36]);switch(_0x6fccx14[_0x26ce[21]]){case _0x26ce[40]:_0x6fccxb[_0x6fccx14[_0x26ce[31]][_0x26ce[30]]]={lt:_0x6fccx1f};break ;;case _0x26ce[41]:_0x6fccxb[_0x6fccx14[_0x26ce[31]][_0x26ce[30]]]={$lte:_0x6fccx1f};break ;;case _0x26ce[42]:_0x6fccxb[_0x6fccx14[_0x26ce[31]][_0x26ce[30]]]={$gt:_0x6fccx1f};break ;;case _0x26ce[43]:_0x6fccxb[_0x6fccx14[_0x26ce[31]][_0x26ce[30]]]={$gte:_0x6fccx1f};break ;;default:;};break ;;default:;};return _0x6fccxb;}function createInterval(_0x6fccxd){activeAutomations[_0x26ce[45]+_0x6fccxd[_0x26ce[27]]]=setInterval(function(){executeAutomation(_0x6fccxd)},automationTimeout*1000)}module[_0x26ce[46]]=function(){getTimeout();Automation[_0x26ce[47]](function(_0x6fccx21,_0x6fccx22){createInterval(_0x6fccx21)});Automation[_0x26ce[48]](function(_0x6fccx21,_0x6fccx22){clearInterval(activeAutomations[_0x26ce[45]+_0x6fccx21[_0x26ce[27]]]);createInterval(_0x6fccx21);});Automation[_0x26ce[49]](function(_0x6fccx21,_0x6fccx22){clearInterval(activeAutomations[_0x26ce[45]+_0x6fccx21[_0x26ce[27]]])});Automation[_0x26ce[32]]({where:{status:true,channel:_0x26ce[51]}})[_0x26ce[10]](function(_0x6fccx23){_0x6fccx23[_0x26ce[23]](function(_0x6fccxd){createInterval(_0x6fccxd)})})[_0x26ce[26]](function(_0x6fccx18){console[_0x26ce[50]](_0x6fccx18)});};
\ No newline at end of file
+var _0x7e97=["\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","\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x5F\x74\x69\x6D\x65\x6F\x75\x74","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x4F\x6E\x65","\x67\x72\x6F\x75\x70","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x70\x61\x72\x73\x65","\x61\x63\x74\x69\x6F\x6E\x73","\x62\x6F\x6F\x6C\x65\x61\x6E","\x41\x4E\x44","\x24\x61\x6E\x64","\x24\x6F\x72","\x77\x68\x65\x72\x65","\x6F\x70\x65\x72\x61\x74\x6F\x72","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x72\x75\x6C\x65\x73","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x69\x64","\x64\x61\x74\x61","\x73\x74\x61\x74\x75\x73","\x76\x61\x6C\x75\x65","\x66\x69\x65\x6C\x64","\x66\x69\x6E\x64\x41\x6C\x6C","\x75\x70\x64\x61\x74\x65","\x3D","\x3C\x3E","\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","\x3E","\x3E\x3D","\x3C","\x3C\x3D","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x65\x78\x70\x6F\x72\x74\x73","\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","\x65\x72\x72\x6F\x72","\x6D\x61\x69\x6C"];_0x7e97[0];var _=require(_0x7e97[1]);var config=require(_0x7e97[2]);var moment=require(_0x7e97[3]);var sequelize=require(_0x7e97[5])[_0x7e97[4]];var Automation=require(_0x7e97[5])[_0x7e97[6]];var MailRoom=require(_0x7e97[5])[_0x7e97[7]];var Settings=require(_0x7e97[5])[_0x7e97[8]];var automationTimeout;var activeAutomations={};function getTimeout(){return Settings[_0x7e97[11]]()[_0x7e97[10]](function(_0x99b6xb){automationTimeout=_0x99b6xb[_0x7e97[9]];return ;})}function executeAutomation(_0x99b6xd){var _0x99b6xe={where:{}};var _0x99b6xf={};var _0x99b6x10=JSON[_0x7e97[14]](_0x99b6xd[_0x7e97[13]])[_0x7e97[12]];var _0x99b6x11=JSON[_0x7e97[14]](_0x99b6xd[_0x7e97[15]])[_0x7e97[12]];var _0x99b6x12={};var _0x99b6x13=_0x99b6x10[_0x7e97[16]]===_0x7e97[17]?_0x7e97[18]:_0x7e97[19];_0x99b6xe[_0x7e97[20]][_0x99b6x13]=[];_0x99b6x10[_0x7e97[24]][_0x7e97[23]](function(_0x99b6x14){if(_0x99b6x14[_0x7e97[21]]){_0x99b6xe[_0x7e97[20]][_0x99b6x13][_0x7e97[22]](getCondition(_0x99b6x14))}else {if(_0x99b6x14[_0x7e97[12]]){var _0x99b6x15=_0x99b6x14[_0x7e97[12]][_0x7e97[16]]===_0x7e97[17]?_0x7e97[18]:_0x7e97[19];var _0x99b6x16={};_0x99b6x16[_0x99b6x15]=[];_0x99b6x14[_0x7e97[12]][_0x7e97[24]][_0x7e97[23]](function(_0x99b6x17){_0x99b6x16[_0x99b6x15][_0x7e97[22]](getCondition(_0x99b6x17))});_0x99b6xe[_0x7e97[20]][_0x99b6x13][_0x7e97[22]](_0x99b6x16);}}});MailRoom[_0x7e97[32]](_0x99b6xe)[_0x7e97[10]](function(_0x99b6x19){_0x99b6x19[_0x7e97[23]](function(_0x99b6x1a){_0x99b6x11[_0x7e97[24]][_0x7e97[23]](function(_0x99b6x14){switch(_0x99b6x14[_0x7e97[31]][_0x7e97[30]]){case _0x7e97[29]:setStatus(_0x99b6x1a[_0x7e97[27]],_0x99b6x14[_0x7e97[28]]);break ;;default:;}})})})[_0x7e97[26]](function(_0x99b6x18){console[_0x7e97[25]](_0x99b6x18)});}function setStatus(_0x99b6x1c,_0x99b6x1d){MailRoom[_0x7e97[33]]({status:_0x99b6x1d},{where:{id:_0x99b6x1c}})[_0x7e97[26]](function(_0x99b6x18){console[_0x7e97[25]](_0x99b6x18)})}function getCondition(_0x99b6x14){var _0x99b6xb={};switch(_0x99b6x14[_0x7e97[31]][_0x7e97[30]]){case _0x7e97[29]:switch(_0x99b6x14[_0x7e97[21]]){case _0x7e97[34]:_0x99b6xb[_0x99b6x14[_0x7e97[31]][_0x7e97[30]]]=_0x99b6x14[_0x7e97[28]];break ;;case _0x7e97[35]:_0x99b6xb[_0x99b6x14[_0x7e97[31]][_0x7e97[30]]]={$ne:_0x99b6x14[_0x7e97[28]]};break ;;default:;};break ;;case _0x7e97[44]:var _0x99b6x1f=moment()[_0x7e97[39]](parseInt(_0x99b6x14[_0x7e97[28]],10),_0x7e97[38])[_0x7e97[37]](_0x7e97[36]);switch(_0x99b6x14[_0x7e97[21]]){case _0x7e97[40]:_0x99b6xb[_0x99b6x14[_0x7e97[31]][_0x7e97[30]]]={lt:_0x99b6x1f};break ;;case _0x7e97[41]:_0x99b6xb[_0x99b6x14[_0x7e97[31]][_0x7e97[30]]]={$lte:_0x99b6x1f};break ;;case _0x7e97[42]:_0x99b6xb[_0x99b6x14[_0x7e97[31]][_0x7e97[30]]]={$gt:_0x99b6x1f};break ;;case _0x7e97[43]:_0x99b6xb[_0x99b6x14[_0x7e97[31]][_0x7e97[30]]]={$gte:_0x99b6x1f};break ;;default:;};break ;;default:;};return _0x99b6xb;}function createInterval(_0x99b6xd){activeAutomations[_0x7e97[45]+_0x99b6xd[_0x7e97[27]]]=setInterval(function(){executeAutomation(_0x99b6xd)},automationTimeout*1000)}module[_0x7e97[46]]=function(){getTimeout();Automation[_0x7e97[47]](function(_0x99b6x21,_0x99b6x22){createInterval(_0x99b6x21)});Automation[_0x7e97[48]](function(_0x99b6x21,_0x99b6x22){clearInterval(activeAutomations[_0x7e97[45]+_0x99b6x21[_0x7e97[27]]]);createInterval(_0x99b6x21);});Automation[_0x7e97[49]](function(_0x99b6x21,_0x99b6x22){clearInterval(activeAutomations[_0x7e97[45]+_0x99b6x21[_0x7e97[27]]])});Automation[_0x7e97[32]]({where:{status:true,channel:_0x7e97[51]}})[_0x7e97[10]](function(_0x99b6x23){_0x99b6x23[_0x7e97[23]](function(_0x99b6xd){createInterval(_0x99b6xd)})})[_0x7e97[26]](function(_0x99b6x18){console[_0x7e97[50]](_0x99b6x18)});};
\ No newline at end of file
index 97d4a9e..912bb2a 100644 (file)
@@ -1 +1 @@
-var _0x85cd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x64\x65\x76\x65\x6C\x6F\x70\x6D\x65\x6E\x74","\x2E\x2F\x64\x62\x63\x6F\x6E\x66\x2E\x6A\x73\x6F\x6E","\x2E\x2F\x64\x62\x63\x6F\x6E\x66\x68\x69\x73\x74\x6F\x72\x79\x2E\x6A\x73\x6F\x6E","\x2E\x2F\x61\x73\x74\x63\x6F\x6E\x66\x2E\x6A\x73\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x77\x77\x77\x2E\x78\x63\x61\x6C\x6C\x79\x6D\x6F\x74\x69\x6F\x6E\x2E\x63\x6F\x6D\x2F\x61\x70\x69"];_0x85cd[0];var dbconf=require(_0x85cd[2])[_0x85cd[1]];var dbconfhistory=require(_0x85cd[3])[_0x85cd[1]];var astconf=require(_0x85cd[4])[_0x85cd[1]];module[_0x85cd[5]]={db:dbconf,db_history:dbconfhistory,asterisk:astconf,provisioning:_0x85cd[6],seedDB:false,seedPDB:false};
\ No newline at end of file
+var _0x1953=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x64\x65\x76\x65\x6C\x6F\x70\x6D\x65\x6E\x74","\x2E\x2F\x64\x62\x63\x6F\x6E\x66\x2E\x6A\x73\x6F\x6E","\x2E\x2F\x64\x62\x63\x6F\x6E\x66\x68\x69\x73\x74\x6F\x72\x79\x2E\x6A\x73\x6F\x6E","\x2E\x2F\x61\x73\x74\x63\x6F\x6E\x66\x2E\x6A\x73\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x77\x77\x77\x2E\x78\x63\x61\x6C\x6C\x79\x6D\x6F\x74\x69\x6F\x6E\x2E\x63\x6F\x6D\x2F\x61\x70\x69"];_0x1953[0];var dbconf=require(_0x1953[2])[_0x1953[1]];var dbconfhistory=require(_0x1953[3])[_0x1953[1]];var astconf=require(_0x1953[4])[_0x1953[1]];module[_0x1953[5]]={db:dbconf,db_history:dbconfhistory,asterisk:astconf,provisioning:_0x1953[6],seedDB:false,seedPDB:false};
\ No newline at end of file
index 3a55af1..760e6f7 100644 (file)
@@ -1 +1 @@
-var _0xd88d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x70\x61\x74\x68","\x6C\x6F\x64\x61\x73\x68","\x65\x6E\x76","\x59\x6F\x75\x20\x6D\x75\x73\x74\x20\x73\x65\x74\x20\x74\x68\x65\x20","\x20\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74\x20\x76\x61\x72\x69\x61\x62\x6C\x65","\x4E\x4F\x44\x45\x5F\x45\x4E\x56","","\x72\x65\x70\x6C\x61\x63\x65","\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","\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E","\x6E\x6F\x72\x6D\x61\x6C\x69\x7A\x65","\x2F\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x6D\x6F\x68","\x50\x4F\x52\x54","\x49\x50","\x6C\x6F\x63\x61\x6C\x68\x6F\x73\x74","\x78\x63\x61\x6C\x6C\x79\x2D\x6D\x6F\x74\x69\x6F\x6E","\x78\x63\x61\x6C\x6C\x79\x2D\x6D\x6F\x74\x69\x6F\x6E\x2D\x73\x65\x73\x73\x69\x6F\x6E\x2D\x73\x65\x63\x72\x65\x74","\x2F","\x67\x75\x65\x73\x74","\x75\x73\x65\x72","\x61\x64\x6D\x69\x6E","\x46\x41\x43\x45\x42\x4F\x4F\x4B\x5F\x49\x44","\x69\x64","\x46\x41\x43\x45\x42\x4F\x4F\x4B\x5F\x53\x45\x43\x52\x45\x54","\x73\x65\x63\x72\x65\x74","\x44\x4F\x4D\x41\x49\x4E","\x2F\x61\x75\x74\x68\x2F\x66\x61\x63\x65\x62\x6F\x6F\x6B\x2F\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x54\x57\x49\x54\x54\x45\x52\x5F\x49\x44","\x54\x57\x49\x54\x54\x45\x52\x5F\x53\x45\x43\x52\x45\x54","\x2F\x61\x75\x74\x68\x2F\x74\x77\x69\x74\x74\x65\x72\x2F\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x47\x4F\x4F\x47\x4C\x45\x5F\x49\x44","\x47\x4F\x4F\x47\x4C\x45\x5F\x53\x45\x43\x52\x45\x54","\x2F\x61\x75\x74\x68\x2F\x67\x6F\x6F\x67\x6C\x65\x2F\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x65\x78\x70\x6F\x72\x74\x73","\x2E\x2F","\x2E\x6A\x73","\x6D\x65\x72\x67\x65"];_0xd88d[0];var path=require(_0xd88d[1]);var _=require(_0xd88d[2]);function requiredProcessEnv(_0x3498x4){if(!process[_0xd88d[3]][_0x3498x4]){throw  new Error(_0xd88d[4]+_0x3498x4+_0xd88d[5])};return process[_0xd88d[3]][_0x3498x4];}var all={env:process[_0xd88d[3]][_0xd88d[6]],uuid:exec(_0xd88d[10],{silent:true})[_0xd88d[9]][_0xd88d[8]](/\r?\n|\r/g,_0xd88d[7]),root:path[_0xd88d[12]](__dirname+_0xd88d[11]),moh:path[_0xd88d[12]](__dirname+_0xd88d[11]+_0xd88d[13]),port:process[_0xd88d[3]][_0xd88d[14]]||9000,ip:process[_0xd88d[3]][_0xd88d[15]]||_0xd88d[16],seedDB:false,session:{name:_0xd88d[17],secret:_0xd88d[18],cookie:{path:_0xd88d[19],httpOnly:true,secure:false,maxAge:null}},userRoles:[_0xd88d[20],_0xd88d[21],_0xd88d[22]],facebook:{clientID:process[_0xd88d[3]][_0xd88d[23]]||_0xd88d[24],clientSecret:process[_0xd88d[3]][_0xd88d[25]]||_0xd88d[26],callbackURL:(process[_0xd88d[3]][_0xd88d[27]]||_0xd88d[7])+_0xd88d[28]},twitter:{clientID:process[_0xd88d[3]][_0xd88d[29]]||_0xd88d[24],clientSecret:process[_0xd88d[3]][_0xd88d[30]]||_0xd88d[26],callbackURL:(process[_0xd88d[3]][_0xd88d[27]]||_0xd88d[7])+_0xd88d[31]},google:{clientID:process[_0xd88d[3]][_0xd88d[32]]||_0xd88d[24],clientSecret:process[_0xd88d[3]][_0xd88d[33]]||_0xd88d[26],callbackURL:(process[_0xd88d[3]][_0xd88d[27]]||_0xd88d[7])+_0xd88d[34]}};module[_0xd88d[35]]=_[_0xd88d[38]](all,require(_0xd88d[36]+process[_0xd88d[3]][_0xd88d[6]]+_0xd88d[37])||{});
\ No newline at end of file
+var _0x992b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x70\x61\x74\x68","\x6C\x6F\x64\x61\x73\x68","\x65\x6E\x76","\x59\x6F\x75\x20\x6D\x75\x73\x74\x20\x73\x65\x74\x20\x74\x68\x65\x20","\x20\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74\x20\x76\x61\x72\x69\x61\x62\x6C\x65","\x4E\x4F\x44\x45\x5F\x45\x4E\x56","","\x72\x65\x70\x6C\x61\x63\x65","\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","\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E","\x6E\x6F\x72\x6D\x61\x6C\x69\x7A\x65","\x2F\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x6D\x6F\x68","\x50\x4F\x52\x54","\x49\x50","\x6C\x6F\x63\x61\x6C\x68\x6F\x73\x74","\x78\x63\x61\x6C\x6C\x79\x2D\x6D\x6F\x74\x69\x6F\x6E","\x78\x63\x61\x6C\x6C\x79\x2D\x6D\x6F\x74\x69\x6F\x6E\x2D\x73\x65\x73\x73\x69\x6F\x6E\x2D\x73\x65\x63\x72\x65\x74","\x2F","\x67\x75\x65\x73\x74","\x75\x73\x65\x72","\x61\x64\x6D\x69\x6E","\x46\x41\x43\x45\x42\x4F\x4F\x4B\x5F\x49\x44","\x69\x64","\x46\x41\x43\x45\x42\x4F\x4F\x4B\x5F\x53\x45\x43\x52\x45\x54","\x73\x65\x63\x72\x65\x74","\x44\x4F\x4D\x41\x49\x4E","\x2F\x61\x75\x74\x68\x2F\x66\x61\x63\x65\x62\x6F\x6F\x6B\x2F\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x54\x57\x49\x54\x54\x45\x52\x5F\x49\x44","\x54\x57\x49\x54\x54\x45\x52\x5F\x53\x45\x43\x52\x45\x54","\x2F\x61\x75\x74\x68\x2F\x74\x77\x69\x74\x74\x65\x72\x2F\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x47\x4F\x4F\x47\x4C\x45\x5F\x49\x44","\x47\x4F\x4F\x47\x4C\x45\x5F\x53\x45\x43\x52\x45\x54","\x2F\x61\x75\x74\x68\x2F\x67\x6F\x6F\x67\x6C\x65\x2F\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x65\x78\x70\x6F\x72\x74\x73","\x2E\x2F","\x2E\x6A\x73","\x6D\x65\x72\x67\x65"];_0x992b[0];var path=require(_0x992b[1]);var _=require(_0x992b[2]);function requiredProcessEnv(_0x1577x4){if(!process[_0x992b[3]][_0x1577x4]){throw  new Error(_0x992b[4]+_0x1577x4+_0x992b[5])};return process[_0x992b[3]][_0x1577x4];}var all={env:process[_0x992b[3]][_0x992b[6]],uuid:exec(_0x992b[10],{silent:true})[_0x992b[9]][_0x992b[8]](/\r?\n|\r/g,_0x992b[7]),root:path[_0x992b[12]](__dirname+_0x992b[11]),moh:path[_0x992b[12]](__dirname+_0x992b[11]+_0x992b[13]),port:process[_0x992b[3]][_0x992b[14]]||9000,ip:process[_0x992b[3]][_0x992b[15]]||_0x992b[16],seedDB:false,session:{name:_0x992b[17],secret:_0x992b[18],cookie:{path:_0x992b[19],httpOnly:true,secure:false,maxAge:null}},userRoles:[_0x992b[20],_0x992b[21],_0x992b[22]],facebook:{clientID:process[_0x992b[3]][_0x992b[23]]||_0x992b[24],clientSecret:process[_0x992b[3]][_0x992b[25]]||_0x992b[26],callbackURL:(process[_0x992b[3]][_0x992b[27]]||_0x992b[7])+_0x992b[28]},twitter:{clientID:process[_0x992b[3]][_0x992b[29]]||_0x992b[24],clientSecret:process[_0x992b[3]][_0x992b[30]]||_0x992b[26],callbackURL:(process[_0x992b[3]][_0x992b[27]]||_0x992b[7])+_0x992b[31]},google:{clientID:process[_0x992b[3]][_0x992b[32]]||_0x992b[24],clientSecret:process[_0x992b[3]][_0x992b[33]]||_0x992b[26],callbackURL:(process[_0x992b[3]][_0x992b[27]]||_0x992b[7])+_0x992b[34]}};module[_0x992b[35]]=_[_0x992b[38]](all,require(_0x992b[36]+process[_0x992b[3]][_0x992b[6]]+_0x992b[37])||{});
\ No newline at end of file
index c85e643..af5a303 100644 (file)
@@ -1 +1 @@
-var _0x67e0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E","\x2E\x2F\x64\x62\x63\x6F\x6E\x66\x2E\x6A\x73\x6F\x6E","\x2E\x2F\x64\x62\x63\x6F\x6E\x66\x68\x69\x73\x74\x6F\x72\x79\x2E\x6A\x73\x6F\x6E","\x2E\x2F\x61\x73\x74\x63\x6F\x6E\x66\x2E\x6A\x73\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x77\x77\x77\x2E\x78\x63\x61\x6C\x6C\x79\x6D\x6F\x74\x69\x6F\x6E\x2E\x63\x6F\x6D\x2F\x61\x70\x69"];_0x67e0[0];var dbconf=require(_0x67e0[2])[_0x67e0[1]];var dbconfhistory=require(_0x67e0[3])[_0x67e0[1]];var astconf=require(_0x67e0[4])[_0x67e0[1]];module[_0x67e0[5]]={db:dbconf,db_history:dbconfhistory,asterisk:astconf,provisioning:_0x67e0[6],seedDB:false,seedPDB:true};
\ No newline at end of file
+var _0x3cab=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E","\x2E\x2F\x64\x62\x63\x6F\x6E\x66\x2E\x6A\x73\x6F\x6E","\x2E\x2F\x64\x62\x63\x6F\x6E\x66\x68\x69\x73\x74\x6F\x72\x79\x2E\x6A\x73\x6F\x6E","\x2E\x2F\x61\x73\x74\x63\x6F\x6E\x66\x2E\x6A\x73\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x77\x77\x77\x2E\x78\x63\x61\x6C\x6C\x79\x6D\x6F\x74\x69\x6F\x6E\x2E\x63\x6F\x6D\x2F\x61\x70\x69"];_0x3cab[0];var dbconf=require(_0x3cab[2])[_0x3cab[1]];var dbconfhistory=require(_0x3cab[3])[_0x3cab[1]];var astconf=require(_0x3cab[4])[_0x3cab[1]];module[_0x3cab[5]]={db:dbconf,db_history:dbconfhistory,asterisk:astconf,provisioning:_0x3cab[6],seedDB:false,seedPDB:true};
\ No newline at end of file
index 2b3172d..22f671b 100644 (file)
@@ -1 +1 @@
-var _0xac6c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x74\x65\x73\x74","\x2E\x2F\x64\x62\x63\x6F\x6E\x66\x2E\x6A\x73\x6F\x6E","\x2E\x2F\x64\x62\x63\x6F\x6E\x66\x68\x69\x73\x74\x6F\x72\x79\x2E\x6A\x73\x6F\x6E","\x2E\x2F\x61\x73\x74\x63\x6F\x6E\x66\x2E\x6A\x73\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0xac6c[0];var dbconf=require(_0xac6c[2])[_0xac6c[1]];var dbconfhistory=require(_0xac6c[3])[_0xac6c[1]];var astconf=require(_0xac6c[4])[_0xac6c[1]];module[_0xac6c[5]]={db:dbconf,db_history:dbconfhistory,asterisk:astconf,seedDB:true};
\ No newline at end of file
+var _0x86e0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x74\x65\x73\x74","\x2E\x2F\x64\x62\x63\x6F\x6E\x66\x2E\x6A\x73\x6F\x6E","\x2E\x2F\x64\x62\x63\x6F\x6E\x66\x68\x69\x73\x74\x6F\x72\x79\x2E\x6A\x73\x6F\x6E","\x2E\x2F\x61\x73\x74\x63\x6F\x6E\x66\x2E\x6A\x73\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0x86e0[0];var dbconf=require(_0x86e0[2])[_0x86e0[1]];var dbconfhistory=require(_0x86e0[3])[_0x86e0[1]];var astconf=require(_0x86e0[4])[_0x86e0[1]];module[_0x86e0[5]]={db:dbconf,db_history:dbconfhistory,asterisk:astconf,seedDB:true};
\ No newline at end of file
index c0a68cd..24e0b95 100644 (file)
@@ -1 +1 @@
-var _0xa9ed=["\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","\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","\x64\x65\x76","\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"];_0xa9ed[0];var express=require(_0xa9ed[1]);var favicon=require(_0xa9ed[2]);var morgan=require(_0xa9ed[3]);var compression=require(_0xa9ed[4]);var bodyParser=require(_0xa9ed[5]);var methodOverride=require(_0xa9ed[6]);var cookieParser=require(_0xa9ed[7]);var errorHandler=require(_0xa9ed[8]);var path=require(_0xa9ed[9]);var passport=require(_0xa9ed[10]);var session=require(_0xa9ed[11]);var flash=require(_0xa9ed[12]);var SessionStore=require(_0xa9ed[13]);var session=require(_0xa9ed[11]);var config=require(_0xa9ed[14]);module[_0xa9ed[15]]=function(_0xe63cxf){var _0xe63cx10=_0xe63cxf[_0xa9ed[17]](_0xa9ed[16]);_0xe63cxf[_0xa9ed[21]](_0xa9ed[18],config[_0xa9ed[19]]+_0xa9ed[20]);_0xe63cxf[_0xa9ed[25]](_0xa9ed[22],require(_0xa9ed[24])[_0xa9ed[23]]);_0xe63cxf[_0xa9ed[21]](_0xa9ed[26],_0xa9ed[22]);_0xe63cxf[_0xa9ed[27]](compression());_0xe63cxf[_0xa9ed[27]](bodyParser[_0xa9ed[28]]({extended:false}));_0xe63cxf[_0xa9ed[27]](bodyParser[_0xa9ed[29]]());_0xe63cxf[_0xa9ed[27]](methodOverride());_0xe63cxf[_0xa9ed[27]](cookieParser());_0xe63cxf[_0xa9ed[27]](passport[_0xa9ed[30]]());_0xe63cxf[_0xa9ed[27]](session({secret:config[_0xa9ed[32]][_0xa9ed[31]],store: new SessionStore({host:config[_0xa9ed[34]][_0xa9ed[33]],port:config[_0xa9ed[34]][_0xa9ed[35]],user:config[_0xa9ed[34]][_0xa9ed[36]],password:config[_0xa9ed[34]][_0xa9ed[37]],database:config[_0xa9ed[34]][_0xa9ed[38]]}),cookie:config[_0xa9ed[32]][_0xa9ed[39]],name:config[_0xa9ed[32]][_0xa9ed[40]],resave:true,saveUninitialized:true}));if(_0xa9ed[41]===_0xe63cx10){_0xe63cxf[_0xa9ed[27]](favicon(path[_0xa9ed[44]](config[_0xa9ed[19]],_0xa9ed[42],_0xa9ed[43])));_0xe63cxf[_0xa9ed[27]](express[_0xa9ed[45]](path[_0xa9ed[44]](config[_0xa9ed[19]],_0xa9ed[42])));_0xe63cxf[_0xa9ed[21]](_0xa9ed[46],config[_0xa9ed[19]]+_0xa9ed[47]);_0xe63cxf[_0xa9ed[27]](morgan(_0xa9ed[48]));};if(_0xa9ed[49]===_0xe63cx10||_0xa9ed[50]===_0xe63cx10){_0xe63cxf[_0xa9ed[27]](require(_0xa9ed[51])());_0xe63cxf[_0xa9ed[27]](express[_0xa9ed[45]](path[_0xa9ed[44]](config[_0xa9ed[19]],_0xa9ed[52])));_0xe63cxf[_0xa9ed[27]](express[_0xa9ed[45]](path[_0xa9ed[44]](config[_0xa9ed[19]],_0xa9ed[53])));_0xe63cxf[_0xa9ed[21]](_0xa9ed[46],_0xa9ed[53]);_0xe63cxf[_0xa9ed[27]](morgan(_0xa9ed[48]));_0xe63cxf[_0xa9ed[27]](errorHandler());};_0xe63cxf[_0xa9ed[27]](flash());};
\ No newline at end of file
+var _0xd4fc=["\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","\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","\x64\x65\x76","\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"];_0xd4fc[0];var express=require(_0xd4fc[1]);var favicon=require(_0xd4fc[2]);var morgan=require(_0xd4fc[3]);var compression=require(_0xd4fc[4]);var bodyParser=require(_0xd4fc[5]);var methodOverride=require(_0xd4fc[6]);var cookieParser=require(_0xd4fc[7]);var errorHandler=require(_0xd4fc[8]);var path=require(_0xd4fc[9]);var passport=require(_0xd4fc[10]);var session=require(_0xd4fc[11]);var flash=require(_0xd4fc[12]);var SessionStore=require(_0xd4fc[13]);var session=require(_0xd4fc[11]);var config=require(_0xd4fc[14]);module[_0xd4fc[15]]=function(_0x3491xf){var _0x3491x10=_0x3491xf[_0xd4fc[17]](_0xd4fc[16]);_0x3491xf[_0xd4fc[21]](_0xd4fc[18],config[_0xd4fc[19]]+_0xd4fc[20]);_0x3491xf[_0xd4fc[25]](_0xd4fc[22],require(_0xd4fc[24])[_0xd4fc[23]]);_0x3491xf[_0xd4fc[21]](_0xd4fc[26],_0xd4fc[22]);_0x3491xf[_0xd4fc[27]](compression());_0x3491xf[_0xd4fc[27]](bodyParser[_0xd4fc[28]]({extended:false}));_0x3491xf[_0xd4fc[27]](bodyParser[_0xd4fc[29]]());_0x3491xf[_0xd4fc[27]](methodOverride());_0x3491xf[_0xd4fc[27]](cookieParser());_0x3491xf[_0xd4fc[27]](passport[_0xd4fc[30]]());_0x3491xf[_0xd4fc[27]](session({secret:config[_0xd4fc[32]][_0xd4fc[31]],store: new SessionStore({host:config[_0xd4fc[34]][_0xd4fc[33]],port:config[_0xd4fc[34]][_0xd4fc[35]],user:config[_0xd4fc[34]][_0xd4fc[36]],password:config[_0xd4fc[34]][_0xd4fc[37]],database:config[_0xd4fc[34]][_0xd4fc[38]]}),cookie:config[_0xd4fc[32]][_0xd4fc[39]],name:config[_0xd4fc[32]][_0xd4fc[40]],resave:true,saveUninitialized:true}));if(_0xd4fc[41]===_0x3491x10){_0x3491xf[_0xd4fc[27]](favicon(path[_0xd4fc[44]](config[_0xd4fc[19]],_0xd4fc[42],_0xd4fc[43])));_0x3491xf[_0xd4fc[27]](express[_0xd4fc[45]](path[_0xd4fc[44]](config[_0xd4fc[19]],_0xd4fc[42])));_0x3491xf[_0xd4fc[21]](_0xd4fc[46],config[_0xd4fc[19]]+_0xd4fc[47]);_0x3491xf[_0xd4fc[27]](morgan(_0xd4fc[48]));};if(_0xd4fc[49]===_0x3491x10||_0xd4fc[50]===_0x3491x10){_0x3491xf[_0xd4fc[27]](require(_0xd4fc[51])());_0x3491xf[_0xd4fc[27]](express[_0xd4fc[45]](path[_0xd4fc[44]](config[_0xd4fc[19]],_0xd4fc[52])));_0x3491xf[_0xd4fc[27]](express[_0xd4fc[45]](path[_0xd4fc[44]](config[_0xd4fc[19]],_0xd4fc[53])));_0x3491xf[_0xd4fc[21]](_0xd4fc[46],_0xd4fc[53]);_0x3491xf[_0xd4fc[27]](morgan(_0xd4fc[48]));_0x3491xf[_0xd4fc[27]](errorHandler());};_0x3491xf[_0xd4fc[27]](flash());};
\ No newline at end of file
index e5dce8c..5079998 100644 (file)
@@ -1 +1 @@
-var _0x2001=["\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"];_0x2001[0];var _=require(_0x2001[1]);var uuidLib=require(_0x2001[2]);var ConvertTiff=require(_0x2001[3]);var exec=require(_0x2001[5])[_0x2001[4]];var fs=require(_0x2001[6]);var path=require(_0x2001[7]);var FaxMessage=require(_0x2001[9])[_0x2001[8]];var FaxRoom=require(_0x2001[9])[_0x2001[10]];var Contact=require(_0x2001[9])[_0x2001[11]];var Event=require(_0x2001[9])[_0x2001[12]];var config=require(_0x2001[13]);exports[_0x2001[14]]=function(_0x2391xc){_0x2391xc[_0x2001[50]](_0x2001[15],function(_0x2391xd){FaxRoom[_0x2001[24]]({status:_0x2001[49],from:_0x2391xd[_0x2001[27]],FaxAccountId:1})[_0x2001[45]](function(_0x2391xf){_0x2391xd[_0x2001[18]]=_0x2001[19];_0x2391xd[_0x2001[20]]=_0x2391xf[_0x2001[21]];FaxMessage[_0x2001[24]](_0x2391xd)[_0x2001[45]](function(_0x2391x10){Event[_0x2001[24]]({name:_0x2001[22],channel:_0x2001[23],FaxRoomId:_0x2391xf[_0x2001[21]],FaxAccountId:1})[_0x2001[17]](function(_0x2391xe){console[_0x2001[16]](_0x2391xe)});Contact[_0x2001[28]]({where:{phone:_0x2391xd[_0x2001[27]]},defaults:{phone:_0x2391xd[_0x2001[27]],fullname:_0x2391xd[_0x2001[27]]}})[_0x2001[26]](function(_0x2391x11,_0x2391x12){_0x2391x10[_0x2001[25]](_0x2391x11)});Contact[_0x2001[28]]({where:{phone:_0x2391xd[_0x2001[30]]},defaults:{phone:_0x2391xd[_0x2001[30]],fullname:_0x2391xd[_0x2001[30]]}})[_0x2001[26]](function(_0x2391x11,_0x2391x12){_0x2391x10[_0x2001[29]](_0x2391x11)});var _0x2391x13=uuidLib[_0x2001[31]]();var _0x2391x14=_0x2391xd[_0x2001[32]];var _0x2391x15=path[_0x2001[39]](config[_0x2001[33]],_0x2001[34],_0x2001[35],_0x2001[36],_0x2001[37],_0x2391x13+_0x2001[38]);var _0x2391x16=_0x2001[40]+_0x2391x14+_0x2001[41]+_0x2391x15;fs[_0x2001[48]](_0x2391x14,function(_0x2391x17){if(_0x2391x17){console[_0x2001[16]](_0x2001[42]+_0x2391x14+_0x2001[43]);exec(_0x2391x16,function(_0x2391xe){if(_0x2391xe){console[_0x2001[16]](_0x2391xe)}else {_0x2391x10[_0x2001[46]]({filenamePDF:_0x2391x13+_0x2001[38]})[_0x2001[45]](function(){console[_0x2001[16]](_0x2001[42]+_0x2391x14+_0x2001[44])})[_0x2001[17]](function(_0x2391xe){console[_0x2001[16]](_0x2391xe)})}});}else {console[_0x2001[16]](_0x2001[42]+_0x2391x14+_0x2001[47])}});})[_0x2001[17]](function(_0x2391xe){console[_0x2001[16]](_0x2391xe)});})[_0x2001[17]](function(_0x2391xe){console[_0x2001[16]](_0x2391xe)})});_0x2391xc[_0x2001[50]](_0x2001[51],function(_0x2391xd){console[_0x2001[53]](_0x2001[52]);FaxMessage[_0x2001[55]]({where:{uniqueid:_0x2391xd[_0x2001[54]]}})[_0x2001[45]](function(_0x2391x10){if(_0x2391x10){_0x2391x10[_0x2001[46]](_0x2391xd)}})[_0x2001[17]](function(_0x2391xe){console[_0x2001[16]](_0x2391xe)});});_0x2391xc[_0x2001[50]](_0x2001[56],function(_0x2391xd){if(_0x2391xd[_0x2001[59]][_0x2001[58]](_0x2001[57])){FaxMessage[_0x2001[55]]({where:{uniqueid:_0x2391xd[_0x2001[54]]}})[_0x2001[45]](function(_0x2391x10){if(_0x2391x10){console[_0x2001[53]](_0x2001[60],_0x2001[18],_0x2391xd[_0x2001[61]]);_0x2391x10[_0x2001[46]]({status:_0x2391xd[_0x2001[61]]==_0x2001[62]?_0x2001[62]:_0x2001[63]});}})[_0x2001[17]](function(_0x2391xe){console[_0x2001[16]](_0x2391xe)})}else {if(_0x2391xd[_0x2001[59]][_0x2001[58]](_0x2001[64])){FaxMessage[_0x2001[55]]({where:{uniqueid:_0x2391xd[_0x2001[54]]}})[_0x2001[45]](function(_0x2391x10){if(_0x2391x10){console[_0x2001[53]](_0x2001[60],_0x2001[16],_0x2391xd[_0x2001[61]]);_0x2391x10[_0x2001[46]]({error:_0x2391xd[_0x2001[61]]});}})[_0x2001[17]](function(_0x2391xe){console[_0x2001[16]](_0x2391xe)})}else {if(_0x2391xd[_0x2001[59]][_0x2001[58]](_0x2001[65])){FaxMessage[_0x2001[55]]({where:{uniqueid:_0x2391xd[_0x2001[54]]}})[_0x2001[45]](function(_0x2391x10){if(_0x2391x10){console[_0x2001[53]](_0x2001[60],_0x2001[66],_0x2391xd[_0x2001[61]]);_0x2391x10[_0x2001[46]]({laststatus:_0x2391xd[_0x2001[61]]});}})[_0x2001[17]](function(_0x2391xe){console[_0x2001[16]](_0x2391xe)})}}}});_0x2391xc[_0x2001[50]](_0x2001[67],function(_0x2391xd){if(_0x2391xd[_0x2001[67]]===_0x2001[68]){FaxMessage[_0x2001[55]]({where:{uuid:_0x2391xd[_0x2001[70]]}})[_0x2001[45]](function(_0x2391x10){if(_0x2391x10){_0x2391xd[_0x2001[18]]=_0x2001[69];_0x2391x10[_0x2001[46]](_0x2391xd);}})[_0x2001[17]](function(_0x2391xe){console[_0x2001[16]](_0x2391xe)})}});_0x2391xc[_0x2001[50]](_0x2001[57],function(_0x2391xd){FaxMessage[_0x2001[55]]({where:{uniqueid:_0x2391xd[_0x2001[54]]}})[_0x2001[45]](function(_0x2391x10){if(_0x2391x10){console[_0x2001[53]](_0x2001[71],_0x2391xd[_0x2001[54]],_0x2391xd[_0x2001[18]]);_0x2391x10[_0x2001[46]]({operation:_0x2391xd[_0x2001[72]],laststatus:_0x2391xd[_0x2001[18]]});}})[_0x2001[17]](function(_0x2391xe){console[_0x2001[16]](_0x2391xe)})});require(_0x2001[73])[_0x2001[14]](_0x2391xc);};
\ No newline at end of file
+var _0xef4e=["\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"];_0xef4e[0];var _=require(_0xef4e[1]);var uuidLib=require(_0xef4e[2]);var ConvertTiff=require(_0xef4e[3]);var exec=require(_0xef4e[5])[_0xef4e[4]];var fs=require(_0xef4e[6]);var path=require(_0xef4e[7]);var FaxMessage=require(_0xef4e[9])[_0xef4e[8]];var FaxRoom=require(_0xef4e[9])[_0xef4e[10]];var Contact=require(_0xef4e[9])[_0xef4e[11]];var Event=require(_0xef4e[9])[_0xef4e[12]];var config=require(_0xef4e[13]);exports[_0xef4e[14]]=function(_0xbd66xc){_0xbd66xc[_0xef4e[50]](_0xef4e[15],function(_0xbd66xd){FaxRoom[_0xef4e[24]]({status:_0xef4e[49],from:_0xbd66xd[_0xef4e[27]],FaxAccountId:1})[_0xef4e[45]](function(_0xbd66xf){_0xbd66xd[_0xef4e[18]]=_0xef4e[19];_0xbd66xd[_0xef4e[20]]=_0xbd66xf[_0xef4e[21]];FaxMessage[_0xef4e[24]](_0xbd66xd)[_0xef4e[45]](function(_0xbd66x10){Event[_0xef4e[24]]({name:_0xef4e[22],channel:_0xef4e[23],FaxRoomId:_0xbd66xf[_0xef4e[21]],FaxAccountId:1})[_0xef4e[17]](function(_0xbd66xe){console[_0xef4e[16]](_0xbd66xe)});Contact[_0xef4e[28]]({where:{phone:_0xbd66xd[_0xef4e[27]]},defaults:{phone:_0xbd66xd[_0xef4e[27]],fullname:_0xbd66xd[_0xef4e[27]]}})[_0xef4e[26]](function(_0xbd66x11,_0xbd66x12){_0xbd66x10[_0xef4e[25]](_0xbd66x11)});Contact[_0xef4e[28]]({where:{phone:_0xbd66xd[_0xef4e[30]]},defaults:{phone:_0xbd66xd[_0xef4e[30]],fullname:_0xbd66xd[_0xef4e[30]]}})[_0xef4e[26]](function(_0xbd66x11,_0xbd66x12){_0xbd66x10[_0xef4e[29]](_0xbd66x11)});var _0xbd66x13=uuidLib[_0xef4e[31]]();var _0xbd66x14=_0xbd66xd[_0xef4e[32]];var _0xbd66x15=path[_0xef4e[39]](config[_0xef4e[33]],_0xef4e[34],_0xef4e[35],_0xef4e[36],_0xef4e[37],_0xbd66x13+_0xef4e[38]);var _0xbd66x16=_0xef4e[40]+_0xbd66x14+_0xef4e[41]+_0xbd66x15;fs[_0xef4e[48]](_0xbd66x14,function(_0xbd66x17){if(_0xbd66x17){console[_0xef4e[16]](_0xef4e[42]+_0xbd66x14+_0xef4e[43]);exec(_0xbd66x16,function(_0xbd66xe){if(_0xbd66xe){console[_0xef4e[16]](_0xbd66xe)}else {_0xbd66x10[_0xef4e[46]]({filenamePDF:_0xbd66x13+_0xef4e[38]})[_0xef4e[45]](function(){console[_0xef4e[16]](_0xef4e[42]+_0xbd66x14+_0xef4e[44])})[_0xef4e[17]](function(_0xbd66xe){console[_0xef4e[16]](_0xbd66xe)})}});}else {console[_0xef4e[16]](_0xef4e[42]+_0xbd66x14+_0xef4e[47])}});})[_0xef4e[17]](function(_0xbd66xe){console[_0xef4e[16]](_0xbd66xe)});})[_0xef4e[17]](function(_0xbd66xe){console[_0xef4e[16]](_0xbd66xe)})});_0xbd66xc[_0xef4e[50]](_0xef4e[51],function(_0xbd66xd){console[_0xef4e[53]](_0xef4e[52]);FaxMessage[_0xef4e[55]]({where:{uniqueid:_0xbd66xd[_0xef4e[54]]}})[_0xef4e[45]](function(_0xbd66x10){if(_0xbd66x10){_0xbd66x10[_0xef4e[46]](_0xbd66xd)}})[_0xef4e[17]](function(_0xbd66xe){console[_0xef4e[16]](_0xbd66xe)});});_0xbd66xc[_0xef4e[50]](_0xef4e[56],function(_0xbd66xd){if(_0xbd66xd[_0xef4e[59]][_0xef4e[58]](_0xef4e[57])){FaxMessage[_0xef4e[55]]({where:{uniqueid:_0xbd66xd[_0xef4e[54]]}})[_0xef4e[45]](function(_0xbd66x10){if(_0xbd66x10){console[_0xef4e[53]](_0xef4e[60],_0xef4e[18],_0xbd66xd[_0xef4e[61]]);_0xbd66x10[_0xef4e[46]]({status:_0xbd66xd[_0xef4e[61]]==_0xef4e[62]?_0xef4e[62]:_0xef4e[63]});}})[_0xef4e[17]](function(_0xbd66xe){console[_0xef4e[16]](_0xbd66xe)})}else {if(_0xbd66xd[_0xef4e[59]][_0xef4e[58]](_0xef4e[64])){FaxMessage[_0xef4e[55]]({where:{uniqueid:_0xbd66xd[_0xef4e[54]]}})[_0xef4e[45]](function(_0xbd66x10){if(_0xbd66x10){console[_0xef4e[53]](_0xef4e[60],_0xef4e[16],_0xbd66xd[_0xef4e[61]]);_0xbd66x10[_0xef4e[46]]({error:_0xbd66xd[_0xef4e[61]]});}})[_0xef4e[17]](function(_0xbd66xe){console[_0xef4e[16]](_0xbd66xe)})}else {if(_0xbd66xd[_0xef4e[59]][_0xef4e[58]](_0xef4e[65])){FaxMessage[_0xef4e[55]]({where:{uniqueid:_0xbd66xd[_0xef4e[54]]}})[_0xef4e[45]](function(_0xbd66x10){if(_0xbd66x10){console[_0xef4e[53]](_0xef4e[60],_0xef4e[66],_0xbd66xd[_0xef4e[61]]);_0xbd66x10[_0xef4e[46]]({laststatus:_0xbd66xd[_0xef4e[61]]});}})[_0xef4e[17]](function(_0xbd66xe){console[_0xef4e[16]](_0xbd66xe)})}}}});_0xbd66xc[_0xef4e[50]](_0xef4e[67],function(_0xbd66xd){if(_0xbd66xd[_0xef4e[67]]===_0xef4e[68]){FaxMessage[_0xef4e[55]]({where:{uuid:_0xbd66xd[_0xef4e[70]]}})[_0xef4e[45]](function(_0xbd66x10){if(_0xbd66x10){_0xbd66xd[_0xef4e[18]]=_0xef4e[69];_0xbd66x10[_0xef4e[46]](_0xbd66xd);}})[_0xef4e[17]](function(_0xbd66xe){console[_0xef4e[16]](_0xbd66xe)})}});_0xbd66xc[_0xef4e[50]](_0xef4e[57],function(_0xbd66xd){FaxMessage[_0xef4e[55]]({where:{uniqueid:_0xbd66xd[_0xef4e[54]]}})[_0xef4e[45]](function(_0xbd66x10){if(_0xbd66x10){console[_0xef4e[53]](_0xef4e[71],_0xbd66xd[_0xef4e[54]],_0xbd66xd[_0xef4e[18]]);_0xbd66x10[_0xef4e[46]]({operation:_0xbd66xd[_0xef4e[72]],laststatus:_0xbd66xd[_0xef4e[18]]});}})[_0xef4e[17]](function(_0xbd66xe){console[_0xef4e[16]](_0xbd66xe)})});require(_0xef4e[73])[_0xef4e[14]](_0xbd66xc);};
\ No newline at end of file
index 5f1e212..dd7b738 100644 (file)
@@ -1 +1 @@
-var _0x4a0f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\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\x44\x69\x61\x6C","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E","\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","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C\x48\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x44\x69\x61\x6C\x48\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","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65\x48\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","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x5D\x20\x65\x72\x72\x6F\x72\x3A\x20","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x5D\x20\x66\x6F\x75\x6E\x64\x3A\x20","\x6C\x65\x6E\x67\x74\x68","\x6C\x6F\x67","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x5D\x20","\x69\x64","\x20\x72\x6F\x77\x20\x63\x6F\x70\x69\x65\x64","\x20\x72\x6F\x77\x20\x64\x65\x6C\x65\x74\x65\x64","\x74\x68\x65\x6E","\x64\x65\x73\x74\x72\x6F\x79","\x63\x72\x65\x61\x74\x65","\x66\x6F\x72\x45\x61\x63\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\x69\x6E\x64\x41\x6C\x6C","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x5D\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x5D\x20\x66\x6F\x75\x6E\x64\x3A\x20","\x5B\x63\x5D\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x5D\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x64\x69\x61\x6C\x5D\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x64\x69\x61\x6C\x5D\x20\x66\x6F\x75\x6E\x64\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x64\x69\x61\x6C\x5D\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x5D\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x5D\x20\x66\x6F\x75\x6E\x64\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x5D\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x5D\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x5D\x20\x66\x6F\x75\x6E\x64\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x5D\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5D\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5D\x20\x66\x6F\x75\x6E\x64\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5D\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5D\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5D\x20\x66\x6F\x75\x6E\x64\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5D\x20","\x65\x78\x70\x6F\x72\x74\x73","\x30\x20\x2A\x2F\x36\x30\x20\x2A\x20\x2A\x20\x2A\x20\x2A","\x73\x74\x61\x72\x74"];_0x4a0f[0];var moment=require(_0x4a0f[1]);var ReportAgent=require(_0x4a0f[3])[_0x4a0f[2]];var ReportCall=require(_0x4a0f[3])[_0x4a0f[4]];var ReportDial=require(_0x4a0f[3])[_0x4a0f[5]];var ReportMember=require(_0x4a0f[3])[_0x4a0f[6]];var ReportQueue=require(_0x4a0f[3])[_0x4a0f[7]];var ReportIntegration=require(_0x4a0f[3])[_0x4a0f[8]];var ReportMailSession=require(_0x4a0f[3])[_0x4a0f[9]];var ReportAgentHistory=require(_0x4a0f[3])[_0x4a0f[11]][_0x4a0f[10]];var ReportCallHistory=require(_0x4a0f[3])[_0x4a0f[11]][_0x4a0f[12]];var ReportDialHistory=require(_0x4a0f[3])[_0x4a0f[11]][_0x4a0f[13]];var ReportMemberHistory=require(_0x4a0f[3])[_0x4a0f[11]][_0x4a0f[14]];var ReportQueueHistory=require(_0x4a0f[3])[_0x4a0f[11]][_0x4a0f[15]];var ReportIntegrationHistory=require(_0x4a0f[3])[_0x4a0f[11]][_0x4a0f[16]];var ReportMailSessionHistory=require(_0x4a0f[3])[_0x4a0f[11]][_0x4a0f[17]];function ReportAgentInReportAgentHistory(){ReportAgent[_0x4a0f[34]]({where:{createdAt:{$lte:moment()[_0x4a0f[33]](_0x4a0f[32])},reason:{$ne:null}},raw:true})[_0x4a0f[28]](function(_0x4b53x12){console[_0x4a0f[23]](_0x4a0f[21]+_0x4b53x12[_0x4a0f[22]]);_0x4b53x12[_0x4a0f[31]](function(_0x4b53x13,_0x4b53x14){ReportAgentHistory[_0x4a0f[30]](_0x4b53x13)[_0x4a0f[28]](function(){console[_0x4a0f[23]](_0x4a0f[24]+_0x4b53x13[_0x4a0f[25]]+_0x4a0f[26]);ReportAgent[_0x4a0f[29]]({where:{id:_0x4b53x13[_0x4a0f[25]]},individualHooks:true})[_0x4a0f[28]](function(_0x4b53x15){console[_0x4a0f[23]](_0x4a0f[24]+_0x4b53x13[_0x4a0f[25]]+_0x4a0f[27])})[_0x4a0f[20]](function(_0x4b53x11){console[_0x4a0f[23]](_0x4a0f[18]+_0x4b53x11)});})[_0x4a0f[20]](function(_0x4b53x11){console[_0x4a0f[23]](_0x4a0f[18]+_0x4b53x11)})});})[_0x4a0f[20]](function(_0x4b53x11){console[_0x4a0f[19]](_0x4a0f[18]+_0x4b53x11)})}function ReportCallInReportCallHistory(){ReportCall[_0x4a0f[34]]({where:{createdAt:{$lte:moment()[_0x4a0f[33]](_0x4a0f[32])}},raw:true})[_0x4a0f[28]](function(_0x4b53x12){_0x4b53x12[_0x4a0f[31]](function(_0x4b53x13,_0x4b53x14){console[_0x4a0f[23]](_0x4a0f[36]+_0x4b53x12[_0x4a0f[22]]);ReportCallHistory[_0x4a0f[30]](_0x4b53x13)[_0x4a0f[28]](function(){console[_0x4a0f[23]](_0x4a0f[37]+_0x4b53x13[_0x4a0f[25]]+_0x4a0f[26]);ReportCall[_0x4a0f[29]]({where:{id:_0x4b53x13[_0x4a0f[25]]},individualHooks:true})[_0x4a0f[28]](function(_0x4b53x15){console[_0x4a0f[23]](_0x4a0f[38]+_0x4b53x13[_0x4a0f[25]]+_0x4a0f[27])})[_0x4a0f[20]](function(_0x4b53x11){console[_0x4a0f[23]](_0x4a0f[35]+_0x4b53x11)});})[_0x4a0f[20]](function(_0x4b53x11){console[_0x4a0f[23]](_0x4a0f[35]+_0x4b53x11)});})})[_0x4a0f[20]](function(_0x4b53x11){console[_0x4a0f[19]](_0x4a0f[35]+_0x4b53x11)})}function ReportDialInReportDialHistory(){ReportDial[_0x4a0f[34]]({where:{createdAt:{$lte:moment()[_0x4a0f[33]](_0x4a0f[32])},dialstatus:{$ne:null}},raw:true})[_0x4a0f[28]](function(_0x4b53x12){console[_0x4a0f[23]](_0x4a0f[40]+_0x4b53x12[_0x4a0f[22]]);_0x4b53x12[_0x4a0f[31]](function(_0x4b53x13,_0x4b53x14){ReportDialHistory[_0x4a0f[30]](_0x4b53x13)[_0x4a0f[28]](function(){console[_0x4a0f[23]](_0x4a0f[41]+_0x4b53x13[_0x4a0f[25]]+_0x4a0f[26]);ReportDial[_0x4a0f[29]]({where:{id:_0x4b53x13[_0x4a0f[25]]},individualHooks:true})[_0x4a0f[28]](function(_0x4b53x15){console[_0x4a0f[23]](_0x4a0f[41]+_0x4b53x13[_0x4a0f[25]]+_0x4a0f[27])})[_0x4a0f[20]](function(_0x4b53x11){console[_0x4a0f[23]](_0x4a0f[39]+_0x4b53x11)});})[_0x4a0f[20]](function(_0x4b53x11){console[_0x4a0f[23]](_0x4a0f[39]+_0x4b53x11)})});})[_0x4a0f[20]](function(_0x4b53x11){console[_0x4a0f[19]](_0x4a0f[39]+_0x4b53x11)})}function ReportMemberInReportMemberHistory(){ReportMember[_0x4a0f[34]]({where:{createdAt:{$lte:moment()[_0x4a0f[33]](_0x4a0f[32])},exitdate:{$ne:null}},raw:true})[_0x4a0f[28]](function(_0x4b53x12){console[_0x4a0f[23]](_0x4a0f[43]+_0x4b53x12[_0x4a0f[22]]);_0x4b53x12[_0x4a0f[31]](function(_0x4b53x13,_0x4b53x14){ReportMemberHistory[_0x4a0f[30]](_0x4b53x13)[_0x4a0f[28]](function(){console[_0x4a0f[23]](_0x4a0f[44]+_0x4b53x13[_0x4a0f[25]]+_0x4a0f[26]);ReportMember[_0x4a0f[29]]({where:{id:_0x4b53x13[_0x4a0f[25]]},individualHooks:true})[_0x4a0f[28]](function(_0x4b53x15){console[_0x4a0f[23]](_0x4a0f[44]+_0x4b53x13[_0x4a0f[25]]+_0x4a0f[27])})[_0x4a0f[20]](function(_0x4b53x11){console[_0x4a0f[23]](_0x4a0f[42]+_0x4b53x11)});})[_0x4a0f[20]](function(_0x4b53x11){console[_0x4a0f[23]](_0x4a0f[42]+_0x4b53x11)})});})[_0x4a0f[20]](function(_0x4b53x11){console[_0x4a0f[19]](_0x4a0f[42]+_0x4b53x11)})}function ReportQueueInReportQueueHistory(){ReportQueue[_0x4a0f[34]]({where:{createdAt:{$lte:moment()[_0x4a0f[33]](_0x4a0f[32])},queuecallerleaveAt:{$ne:null}},raw:true})[_0x4a0f[28]](function(_0x4b53x12){console[_0x4a0f[23]](_0x4a0f[46]+_0x4b53x12[_0x4a0f[22]]);_0x4b53x12[_0x4a0f[31]](function(_0x4b53x13,_0x4b53x14){ReportQueueHistory[_0x4a0f[30]](_0x4b53x13)[_0x4a0f[28]](function(){console[_0x4a0f[23]](_0x4a0f[47]+_0x4b53x13[_0x4a0f[25]]+_0x4a0f[26]);ReportQueue[_0x4a0f[29]]({where:{id:_0x4b53x13[_0x4a0f[25]]},individualHooks:true})[_0x4a0f[28]](function(_0x4b53x15){console[_0x4a0f[23]](_0x4a0f[47]+_0x4b53x13[_0x4a0f[25]]+_0x4a0f[27])})[_0x4a0f[20]](function(_0x4b53x11){console[_0x4a0f[23]](_0x4a0f[45]+_0x4b53x11)});})[_0x4a0f[20]](function(_0x4b53x11){console[_0x4a0f[23]](_0x4a0f[45]+_0x4b53x11)})});})[_0x4a0f[20]](function(_0x4b53x11){console[_0x4a0f[19]](_0x4a0f[45]+_0x4b53x11)})}function ReportIntegrationInReportIntegrationHistory(){ReportIntegration[_0x4a0f[34]]({where:{createdAt:{$lte:moment()[_0x4a0f[33]](_0x4a0f[32])}},raw:true})[_0x4a0f[28]](function(_0x4b53x12){_0x4b53x12[_0x4a0f[31]](function(_0x4b53x13,_0x4b53x14){console[_0x4a0f[23]](_0x4a0f[49]+_0x4b53x12[_0x4a0f[22]]);ReportIntegrationHistory[_0x4a0f[30]](_0x4b53x13)[_0x4a0f[28]](function(){console[_0x4a0f[23]](_0x4a0f[37]+_0x4b53x13[_0x4a0f[25]]+_0x4a0f[26]);ReportIntegration[_0x4a0f[29]]({where:{id:_0x4b53x13[_0x4a0f[25]]},individualHooks:true})[_0x4a0f[28]](function(_0x4b53x15){console[_0x4a0f[23]](_0x4a0f[50]+_0x4b53x13[_0x4a0f[25]]+_0x4a0f[27])})[_0x4a0f[20]](function(_0x4b53x11){console[_0x4a0f[23]](_0x4a0f[48]+_0x4b53x11)});})[_0x4a0f[20]](function(_0x4b53x11){console[_0x4a0f[23]](_0x4a0f[48]+_0x4b53x11)});})})[_0x4a0f[20]](function(_0x4b53x11){console[_0x4a0f[19]](_0x4a0f[48]+_0x4b53x11)})}function ReportMailSessionInReportMailSessionHistory(){ReportMailSession[_0x4a0f[34]]({where:{createdAt:{$lte:moment()[_0x4a0f[33]](_0x4a0f[32])},mailleaveAt:{$ne:null}},raw:true})[_0x4a0f[28]](function(_0x4b53x12){console[_0x4a0f[23]](_0x4a0f[52]+_0x4b53x12[_0x4a0f[22]]);_0x4b53x12[_0x4a0f[31]](function(_0x4b53x13,_0x4b53x14){ReportMailSessionHistory[_0x4a0f[30]](_0x4b53x13)[_0x4a0f[28]](function(){console[_0x4a0f[23]](_0x4a0f[53]+_0x4b53x13[_0x4a0f[25]]+_0x4a0f[26]);ReportMailSession[_0x4a0f[29]]({where:{id:_0x4b53x13[_0x4a0f[25]]},individualHooks:true})[_0x4a0f[28]](function(_0x4b53x15){console[_0x4a0f[23]](_0x4a0f[53]+_0x4b53x13[_0x4a0f[25]]+_0x4a0f[27])})[_0x4a0f[20]](function(_0x4b53x11){console[_0x4a0f[23]](_0x4a0f[51]+_0x4b53x11)});})[_0x4a0f[20]](function(_0x4b53x11){console[_0x4a0f[23]](_0x4a0f[51]+_0x4b53x11)})});})[_0x4a0f[20]](function(_0x4b53x11){console[_0x4a0f[19]](_0x4a0f[51]+_0x4b53x11)})}module[_0x4a0f[54]]=function(_0x4b53x1c){var _0x4b53x1d= new _0x4b53x1c({cronTime:_0x4a0f[55],onTick:function(){ new ReportAgentInReportAgentHistory(); new ReportCallInReportCallHistory(); new ReportDialInReportDialHistory(); new ReportMemberInReportMemberHistory(); new ReportQueueInReportQueueHistory(); new ReportIntegrationInReportIntegrationHistory(); new ReportMailSessionInReportMailSessionHistory();}});_0x4b53x1d[_0x4a0f[56]]();};
\ No newline at end of file
+var _0xcb1d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\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\x44\x69\x61\x6C","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E","\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","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C\x48\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x44\x69\x61\x6C\x48\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","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65\x48\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","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x5D\x20\x65\x72\x72\x6F\x72\x3A\x20","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x5D\x20\x66\x6F\x75\x6E\x64\x3A\x20","\x6C\x65\x6E\x67\x74\x68","\x6C\x6F\x67","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x5D\x20","\x69\x64","\x20\x72\x6F\x77\x20\x63\x6F\x70\x69\x65\x64","\x20\x72\x6F\x77\x20\x64\x65\x6C\x65\x74\x65\x64","\x74\x68\x65\x6E","\x64\x65\x73\x74\x72\x6F\x79","\x63\x72\x65\x61\x74\x65","\x66\x6F\x72\x45\x61\x63\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\x69\x6E\x64\x41\x6C\x6C","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x5D\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x5D\x20\x66\x6F\x75\x6E\x64\x3A\x20","\x5B\x63\x5D\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x5D\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x64\x69\x61\x6C\x5D\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x64\x69\x61\x6C\x5D\x20\x66\x6F\x75\x6E\x64\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x64\x69\x61\x6C\x5D\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x5D\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x5D\x20\x66\x6F\x75\x6E\x64\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x5D\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x5D\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x5D\x20\x66\x6F\x75\x6E\x64\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x5D\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5D\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5D\x20\x66\x6F\x75\x6E\x64\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5D\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5D\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5D\x20\x66\x6F\x75\x6E\x64\x3A\x20","\x5B\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5D\x20","\x65\x78\x70\x6F\x72\x74\x73","\x30\x20\x2A\x2F\x36\x30\x20\x2A\x20\x2A\x20\x2A\x20\x2A","\x73\x74\x61\x72\x74"];_0xcb1d[0];var moment=require(_0xcb1d[1]);var ReportAgent=require(_0xcb1d[3])[_0xcb1d[2]];var ReportCall=require(_0xcb1d[3])[_0xcb1d[4]];var ReportDial=require(_0xcb1d[3])[_0xcb1d[5]];var ReportMember=require(_0xcb1d[3])[_0xcb1d[6]];var ReportQueue=require(_0xcb1d[3])[_0xcb1d[7]];var ReportIntegration=require(_0xcb1d[3])[_0xcb1d[8]];var ReportMailSession=require(_0xcb1d[3])[_0xcb1d[9]];var ReportAgentHistory=require(_0xcb1d[3])[_0xcb1d[11]][_0xcb1d[10]];var ReportCallHistory=require(_0xcb1d[3])[_0xcb1d[11]][_0xcb1d[12]];var ReportDialHistory=require(_0xcb1d[3])[_0xcb1d[11]][_0xcb1d[13]];var ReportMemberHistory=require(_0xcb1d[3])[_0xcb1d[11]][_0xcb1d[14]];var ReportQueueHistory=require(_0xcb1d[3])[_0xcb1d[11]][_0xcb1d[15]];var ReportIntegrationHistory=require(_0xcb1d[3])[_0xcb1d[11]][_0xcb1d[16]];var ReportMailSessionHistory=require(_0xcb1d[3])[_0xcb1d[11]][_0xcb1d[17]];function ReportAgentInReportAgentHistory(){ReportAgent[_0xcb1d[34]]({where:{createdAt:{$lte:moment()[_0xcb1d[33]](_0xcb1d[32])},reason:{$ne:null}},raw:true})[_0xcb1d[28]](function(_0x5bf9x12){console[_0xcb1d[23]](_0xcb1d[21]+_0x5bf9x12[_0xcb1d[22]]);_0x5bf9x12[_0xcb1d[31]](function(_0x5bf9x13,_0x5bf9x14){ReportAgentHistory[_0xcb1d[30]](_0x5bf9x13)[_0xcb1d[28]](function(){console[_0xcb1d[23]](_0xcb1d[24]+_0x5bf9x13[_0xcb1d[25]]+_0xcb1d[26]);ReportAgent[_0xcb1d[29]]({where:{id:_0x5bf9x13[_0xcb1d[25]]},individualHooks:true})[_0xcb1d[28]](function(_0x5bf9x15){console[_0xcb1d[23]](_0xcb1d[24]+_0x5bf9x13[_0xcb1d[25]]+_0xcb1d[27])})[_0xcb1d[20]](function(_0x5bf9x11){console[_0xcb1d[23]](_0xcb1d[18]+_0x5bf9x11)});})[_0xcb1d[20]](function(_0x5bf9x11){console[_0xcb1d[23]](_0xcb1d[18]+_0x5bf9x11)})});})[_0xcb1d[20]](function(_0x5bf9x11){console[_0xcb1d[19]](_0xcb1d[18]+_0x5bf9x11)})}function ReportCallInReportCallHistory(){ReportCall[_0xcb1d[34]]({where:{createdAt:{$lte:moment()[_0xcb1d[33]](_0xcb1d[32])}},raw:true})[_0xcb1d[28]](function(_0x5bf9x12){_0x5bf9x12[_0xcb1d[31]](function(_0x5bf9x13,_0x5bf9x14){console[_0xcb1d[23]](_0xcb1d[36]+_0x5bf9x12[_0xcb1d[22]]);ReportCallHistory[_0xcb1d[30]](_0x5bf9x13)[_0xcb1d[28]](function(){console[_0xcb1d[23]](_0xcb1d[37]+_0x5bf9x13[_0xcb1d[25]]+_0xcb1d[26]);ReportCall[_0xcb1d[29]]({where:{id:_0x5bf9x13[_0xcb1d[25]]},individualHooks:true})[_0xcb1d[28]](function(_0x5bf9x15){console[_0xcb1d[23]](_0xcb1d[38]+_0x5bf9x13[_0xcb1d[25]]+_0xcb1d[27])})[_0xcb1d[20]](function(_0x5bf9x11){console[_0xcb1d[23]](_0xcb1d[35]+_0x5bf9x11)});})[_0xcb1d[20]](function(_0x5bf9x11){console[_0xcb1d[23]](_0xcb1d[35]+_0x5bf9x11)});})})[_0xcb1d[20]](function(_0x5bf9x11){console[_0xcb1d[19]](_0xcb1d[35]+_0x5bf9x11)})}function ReportDialInReportDialHistory(){ReportDial[_0xcb1d[34]]({where:{createdAt:{$lte:moment()[_0xcb1d[33]](_0xcb1d[32])},dialstatus:{$ne:null}},raw:true})[_0xcb1d[28]](function(_0x5bf9x12){console[_0xcb1d[23]](_0xcb1d[40]+_0x5bf9x12[_0xcb1d[22]]);_0x5bf9x12[_0xcb1d[31]](function(_0x5bf9x13,_0x5bf9x14){ReportDialHistory[_0xcb1d[30]](_0x5bf9x13)[_0xcb1d[28]](function(){console[_0xcb1d[23]](_0xcb1d[41]+_0x5bf9x13[_0xcb1d[25]]+_0xcb1d[26]);ReportDial[_0xcb1d[29]]({where:{id:_0x5bf9x13[_0xcb1d[25]]},individualHooks:true})[_0xcb1d[28]](function(_0x5bf9x15){console[_0xcb1d[23]](_0xcb1d[41]+_0x5bf9x13[_0xcb1d[25]]+_0xcb1d[27])})[_0xcb1d[20]](function(_0x5bf9x11){console[_0xcb1d[23]](_0xcb1d[39]+_0x5bf9x11)});})[_0xcb1d[20]](function(_0x5bf9x11){console[_0xcb1d[23]](_0xcb1d[39]+_0x5bf9x11)})});})[_0xcb1d[20]](function(_0x5bf9x11){console[_0xcb1d[19]](_0xcb1d[39]+_0x5bf9x11)})}function ReportMemberInReportMemberHistory(){ReportMember[_0xcb1d[34]]({where:{createdAt:{$lte:moment()[_0xcb1d[33]](_0xcb1d[32])},exitdate:{$ne:null}},raw:true})[_0xcb1d[28]](function(_0x5bf9x12){console[_0xcb1d[23]](_0xcb1d[43]+_0x5bf9x12[_0xcb1d[22]]);_0x5bf9x12[_0xcb1d[31]](function(_0x5bf9x13,_0x5bf9x14){ReportMemberHistory[_0xcb1d[30]](_0x5bf9x13)[_0xcb1d[28]](function(){console[_0xcb1d[23]](_0xcb1d[44]+_0x5bf9x13[_0xcb1d[25]]+_0xcb1d[26]);ReportMember[_0xcb1d[29]]({where:{id:_0x5bf9x13[_0xcb1d[25]]},individualHooks:true})[_0xcb1d[28]](function(_0x5bf9x15){console[_0xcb1d[23]](_0xcb1d[44]+_0x5bf9x13[_0xcb1d[25]]+_0xcb1d[27])})[_0xcb1d[20]](function(_0x5bf9x11){console[_0xcb1d[23]](_0xcb1d[42]+_0x5bf9x11)});})[_0xcb1d[20]](function(_0x5bf9x11){console[_0xcb1d[23]](_0xcb1d[42]+_0x5bf9x11)})});})[_0xcb1d[20]](function(_0x5bf9x11){console[_0xcb1d[19]](_0xcb1d[42]+_0x5bf9x11)})}function ReportQueueInReportQueueHistory(){ReportQueue[_0xcb1d[34]]({where:{createdAt:{$lte:moment()[_0xcb1d[33]](_0xcb1d[32])},queuecallerleaveAt:{$ne:null}},raw:true})[_0xcb1d[28]](function(_0x5bf9x12){console[_0xcb1d[23]](_0xcb1d[46]+_0x5bf9x12[_0xcb1d[22]]);_0x5bf9x12[_0xcb1d[31]](function(_0x5bf9x13,_0x5bf9x14){ReportQueueHistory[_0xcb1d[30]](_0x5bf9x13)[_0xcb1d[28]](function(){console[_0xcb1d[23]](_0xcb1d[47]+_0x5bf9x13[_0xcb1d[25]]+_0xcb1d[26]);ReportQueue[_0xcb1d[29]]({where:{id:_0x5bf9x13[_0xcb1d[25]]},individualHooks:true})[_0xcb1d[28]](function(_0x5bf9x15){console[_0xcb1d[23]](_0xcb1d[47]+_0x5bf9x13[_0xcb1d[25]]+_0xcb1d[27])})[_0xcb1d[20]](function(_0x5bf9x11){console[_0xcb1d[23]](_0xcb1d[45]+_0x5bf9x11)});})[_0xcb1d[20]](function(_0x5bf9x11){console[_0xcb1d[23]](_0xcb1d[45]+_0x5bf9x11)})});})[_0xcb1d[20]](function(_0x5bf9x11){console[_0xcb1d[19]](_0xcb1d[45]+_0x5bf9x11)})}function ReportIntegrationInReportIntegrationHistory(){ReportIntegration[_0xcb1d[34]]({where:{createdAt:{$lte:moment()[_0xcb1d[33]](_0xcb1d[32])}},raw:true})[_0xcb1d[28]](function(_0x5bf9x12){_0x5bf9x12[_0xcb1d[31]](function(_0x5bf9x13,_0x5bf9x14){console[_0xcb1d[23]](_0xcb1d[49]+_0x5bf9x12[_0xcb1d[22]]);ReportIntegrationHistory[_0xcb1d[30]](_0x5bf9x13)[_0xcb1d[28]](function(){console[_0xcb1d[23]](_0xcb1d[37]+_0x5bf9x13[_0xcb1d[25]]+_0xcb1d[26]);ReportIntegration[_0xcb1d[29]]({where:{id:_0x5bf9x13[_0xcb1d[25]]},individualHooks:true})[_0xcb1d[28]](function(_0x5bf9x15){console[_0xcb1d[23]](_0xcb1d[50]+_0x5bf9x13[_0xcb1d[25]]+_0xcb1d[27])})[_0xcb1d[20]](function(_0x5bf9x11){console[_0xcb1d[23]](_0xcb1d[48]+_0x5bf9x11)});})[_0xcb1d[20]](function(_0x5bf9x11){console[_0xcb1d[23]](_0xcb1d[48]+_0x5bf9x11)});})})[_0xcb1d[20]](function(_0x5bf9x11){console[_0xcb1d[19]](_0xcb1d[48]+_0x5bf9x11)})}function ReportMailSessionInReportMailSessionHistory(){ReportMailSession[_0xcb1d[34]]({where:{createdAt:{$lte:moment()[_0xcb1d[33]](_0xcb1d[32])},mailleaveAt:{$ne:null}},raw:true})[_0xcb1d[28]](function(_0x5bf9x12){console[_0xcb1d[23]](_0xcb1d[52]+_0x5bf9x12[_0xcb1d[22]]);_0x5bf9x12[_0xcb1d[31]](function(_0x5bf9x13,_0x5bf9x14){ReportMailSessionHistory[_0xcb1d[30]](_0x5bf9x13)[_0xcb1d[28]](function(){console[_0xcb1d[23]](_0xcb1d[53]+_0x5bf9x13[_0xcb1d[25]]+_0xcb1d[26]);ReportMailSession[_0xcb1d[29]]({where:{id:_0x5bf9x13[_0xcb1d[25]]},individualHooks:true})[_0xcb1d[28]](function(_0x5bf9x15){console[_0xcb1d[23]](_0xcb1d[53]+_0x5bf9x13[_0xcb1d[25]]+_0xcb1d[27])})[_0xcb1d[20]](function(_0x5bf9x11){console[_0xcb1d[23]](_0xcb1d[51]+_0x5bf9x11)});})[_0xcb1d[20]](function(_0x5bf9x11){console[_0xcb1d[23]](_0xcb1d[51]+_0x5bf9x11)})});})[_0xcb1d[20]](function(_0x5bf9x11){console[_0xcb1d[19]](_0xcb1d[51]+_0x5bf9x11)})}module[_0xcb1d[54]]=function(_0x5bf9x1c){var _0x5bf9x1d= new _0x5bf9x1c({cronTime:_0xcb1d[55],onTick:function(){ new ReportAgentInReportAgentHistory(); new ReportCallInReportCallHistory(); new ReportDialInReportDialHistory(); new ReportMemberInReportMemberHistory(); new ReportQueueInReportQueueHistory(); new ReportIntegrationInReportIntegrationHistory(); new ReportMailSessionInReportMailSessionHistory();}});_0x5bf9x1d[_0xcb1d[56]]();};
\ No newline at end of file
index f47aa84..00ec4cb 100644 (file)
@@ -1 +1 @@
-var _0xebc2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x70\x61\x74\x68","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x6D\x61\x69\x6C\x2D\x6C\x69\x73\x74\x65\x6E\x65\x72\x32","\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\x52\x6F\x6F\x6D","\x43\x6F\x6E\x74\x61\x63\x74","\x43\x6F\x6E\x74\x61\x63\x74\x45\x6D\x61\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x65\x78\x70\x6F\x72\x74\x73","\x73\x74\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x73\x6F\x75\x72\x63\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x75\x73\x65\x72","\x5F\x63\x6F\x6E\x66\x69\x67","\x69\x6D\x61\x70","\x4D\x41\x49\x4C\x20\x2D\x20\x41\x63\x63\x6F\x75\x6E\x74\x20","\x20\x49\x4D\x41\x50\x20\x55\x50\x44\x41\x54\x45\x44","\x6C\x6F\x67","\x73\x74\x6F\x70","\x20\x49\x4D\x41\x50\x20\x44\x45\x53\x54\x52\x4F\x59","\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","\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","\x2F","\x6A\x6F\x69\x6E","\x73\x74\x61\x72\x74","\x73\x65\x72\x76\x65\x72\x3A\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x20\x49\x4D\x41\x50\x20\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x75\x70\x64\x61\x74\x65","\x74\x68\x65\x6E","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x6F\x6E","\x73\x65\x72\x76\x65\x72\x3A\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x20\x49\x4D\x41\x50\x20\x44\x49\x53\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x44\x49\x53\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x20\x49\x4D\x41\x50\x20\x45\x52\x52\x4F\x52","\x45\x52\x52\x4F\x52","\x6D\x61\x69\x6C","\x6D\x65\x73\x73\x61\x67\x65\x49\x64","\x73\x75\x62\x6A\x65\x63\x74","\x3B","\x66\x72\x6F\x6D","\x61\x64\x64\x72\x65\x73\x73","\x70\x6C\x75\x63\x6B","\x74\x6F","\x63\x63","\x62\x63\x63","\x52\x45\x43\x45\x49\x56\x45\x44","\x68\x74\x6D\x6C","\x74\x65\x78\x74","\x63\x72\x65\x61\x74\x65","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x6D\x61\x70","\x69\x6E\x52\x65\x70\x6C\x79\x54\x6F","\x6D\x73\x67","\x73\x65\x74\x42\x63\x63","\x73\x65\x74\x43\x63","\x73\x65\x74\x54\x6F","\x73\x65\x74\x46\x72\x6F\x6D","\x61\x6C\x6C","\x73\x70\x72\x65\x61\x64","\x67\x65\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x66\x69\x6E\x64\x4F\x6E\x65","\x66\x69\x6E\x64\x4F\x72\x43\x72\x72\x65\x64\x69\x65\x61\x74\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\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"];_0xebc2[0];var _=require(_0xebc2[1]);var path=require(_0xebc2[2]);var config=require(_0xebc2[3]);var ImapListener=require(_0xebc2[4]);var MailServerIn=require(_0xebc2[6])[_0xebc2[5]];var MailMessage=require(_0xebc2[6])[_0xebc2[7]];var MailRoom=require(_0xebc2[6])[_0xebc2[8]];var Contact=require(_0xebc2[6])[_0xebc2[9]];var ContactEmail=require(_0xebc2[6])[_0xebc2[10]];var sequelize=require(_0xebc2[6])[_0xebc2[11]];module[_0xebc2[12]]={create:function(_0xe9d9xb){var _0xe9d9xc;function _0xe9d9xd(_0xe9d9xb){if(!_0xe9d9xb[_0xebc2[14]](_0xebc2[13])&&!_0xe9d9xb[_0xebc2[14]](_0xebc2[15])&&_0xe9d9xb[_0xebc2[16]]===_0xe9d9xc[_0xebc2[19]][_0xebc2[18]][_0xebc2[17]]){console[_0xebc2[22]](_0xebc2[20]+_0xe9d9xb[_0xebc2[16]]+_0xebc2[21]);_0xe9d9xc[_0xebc2[23]]();_0xe9d9xf(_0xe9d9xb);}}function _0xe9d9xe(_0xe9d9xb){if(_0xe9d9xb[_0xebc2[16]]===_0xe9d9xc[_0xebc2[19]][_0xebc2[18]][_0xebc2[17]]){console[_0xebc2[22]](_0xebc2[20]+_0xe9d9xb[_0xebc2[16]]+_0xebc2[24]);_0xe9d9xc[_0xebc2[23]]();_0xe9d9xc=null;}}function _0xe9d9xf(_0xe9d9xb){if(_0xe9d9xc){_0xe9d9xc[_0xebc2[23]](_0xe9d9xb);_0xe9d9xc=null;};_0xe9d9xc= new ImapListener({username:_0xe9d9xb[_0xebc2[16]],password:_0xe9d9xb[_0xebc2[25]],host:_0xe9d9xb[_0xebc2[26]],port:_0xe9d9xb[_0xebc2[27]],tls:_0xe9d9xb[_0xebc2[28]],tlsOptions:{rejectUnauthorized:false},mailbox:_0xe9d9xb[_0xebc2[29]],searchFilter:[_0xe9d9xb[_0xebc2[30]]],markSeen:true,fetchUnreadOnStart:true,mailParserOptions:{streamAttachments:false},attachments:true,attachmentOptions:{directory:path[_0xebc2[36]](config[_0xebc2[31]],_0xebc2[32],_0xebc2[33],_0xebc2[34],_0xebc2[35])}});_0xe9d9xc[_0xebc2[37]]();_0xe9d9xc[_0xebc2[47]](_0xebc2[38],function(){console[_0xebc2[22]](_0xebc2[20]+_0xe9d9xb[_0xebc2[16]]+_0xebc2[39]);return MailServerIn[_0xebc2[46]](_0xe9d9xb[_0xebc2[45]])[_0xebc2[44]](function(_0xe9d9x11){return _0xe9d9x11[_0xebc2[43]]({state:_0xebc2[42]})})[_0xebc2[41]](function(_0xe9d9x10){console[_0xebc2[40]](_0xe9d9x10)});});_0xe9d9xc[_0xebc2[47]](_0xebc2[48],function(){console[_0xebc2[22]](_0xebc2[20]+_0xe9d9xb[_0xebc2[49]]+_0xebc2[50]);MailServerIn[_0xebc2[46]](_0xe9d9xb[_0xebc2[45]])[_0xebc2[44]](function(_0xe9d9x11){_0xe9d9x11[_0xebc2[52]]({state:_0xebc2[51]})})[_0xebc2[41]](function(_0xe9d9x10){console[_0xebc2[40]](_0xe9d9x10)});});_0xe9d9xc[_0xebc2[47]](_0xebc2[40],function(_0xe9d9x10){console[_0xebc2[22]](_0xebc2[20]+_0xe9d9xb[_0xebc2[49]]+_0xebc2[53],_0xe9d9x10);MailServerIn[_0xebc2[46]](_0xe9d9xb[_0xebc2[45]])[_0xebc2[44]](function(_0xe9d9x11){_0xe9d9x11[_0xebc2[52]]({state:_0xebc2[54],source:_0xe9d9x10[_0xebc2[15]]})})[_0xebc2[41]](function(_0xe9d9x10){console[_0xebc2[40]](_0xe9d9x10)});});_0xe9d9xc[_0xebc2[47]](_0xebc2[55],function(_0xe9d9x12,_0xe9d9x13,_0xe9d9x14){var _0xe9d9x15;var _0xe9d9x16;var _0xe9d9x17,_0xe9d9x18,_0xe9d9x19,_0xe9d9x1a;function _0xe9d9x1b(_0xe9d9x1c){_0xe9d9x15=_0xe9d9x1c;return MailMessage[_0xebc2[68]]({messageId:_0xe9d9x12[_0xebc2[56]],subject:_0xe9d9x12[_0xebc2[57]],from:_[_0xebc2[61]](_0xe9d9x12[_0xebc2[59]],_0xebc2[60])[_0xebc2[36]](_0xebc2[58]),to:_0xe9d9x12[_0xebc2[62]]?_[_0xebc2[61]](_0xe9d9x12[_0xebc2[62]],_0xebc2[60])[_0xebc2[36]](_0xebc2[58]):null,cc:_0xe9d9x12[_0xebc2[63]]?_[_0xebc2[61]](_0xe9d9x12[_0xebc2[63]],_0xebc2[60])[_0xebc2[36]](_0xebc2[58]):null,bcc:_0xe9d9x12[_0xebc2[63]]?_[_0xebc2[61]](_0xe9d9x12[_0xebc2[64]],_0xebc2[60])[_0xebc2[36]](_0xebc2[58]):null,status:_0xebc2[65],html:_0xe9d9x12[_0xebc2[66]]||null,text:_0xe9d9x12[_0xebc2[67]]||null,MailAttachments:_0xe9d9x12[_0xebc2[34]]||[],MailRoomId:_0xe9d9x1c[_0xebc2[45]]});}function _0xe9d9x1d(_0xe9d9x1e){_0xe9d9x16=_0xe9d9x1e;return ContactEmail[_0xebc2[69]]({where:{email:_0xe9d9x16[_0xebc2[59]]},defaults:{email:_0xe9d9x16[_0xebc2[59]]}});}function _0xe9d9x1f(_0xe9d9x20,_0xe9d9x21){var _0xe9d9x22=[];var _0xe9d9x23=_0xe9d9x16[_0xebc2[62]]?_[_0xebc2[61]](_0xe9d9x12[_0xebc2[62]],_0xebc2[60]):[];_0xe9d9x17=_0xe9d9x20;_0xe9d9x23[_0xebc2[71]](function(_0xe9d9x24){_0xe9d9x22[_0xebc2[70]](ContactEmail[_0xebc2[69]]({where:{email:_0xe9d9x24},defaults:{email:_0xe9d9x24}}))});return _0xe9d9x22;}function _0xe9d9x25(_0xe9d9x26){var _0xe9d9x22=[];var _0xe9d9x27=_0xe9d9x16[_0xebc2[63]]?_[_0xebc2[61]](_0xe9d9x12[_0xebc2[63]],_0xebc2[60]):[];_0xe9d9x18=_[_0xebc2[72]](_0xe9d9x26,function(_0xe9d9x28){return _0xe9d9x28[0]});_0xe9d9x27[_0xebc2[71]](function(_0xe9d9x24){_0xe9d9x22[_0xebc2[70]](ContactEmail[_0xebc2[69]]({where:{email:_0xe9d9x24},defaults:{email:_0xe9d9x24}}))});return _0xe9d9x22;}function _0xe9d9x29(_0xe9d9x2a){var _0xe9d9x22=[];var _0xe9d9x2b=_0xe9d9x16[_0xebc2[64]]?_[_0xebc2[61]](_0xe9d9x12[_0xebc2[64]],_0xebc2[60]):[];_0xe9d9x19=_[_0xebc2[72]](_0xe9d9x2a,function(_0xe9d9x28){return _0xe9d9x28[0]});_0xe9d9x2b[_0xebc2[71]](function(_0xe9d9x24){_0xe9d9x22[_0xebc2[70]](ContactEmail[_0xebc2[69]]({where:{email:_0xe9d9x24},defaults:{email:_0xe9d9x24}}))});return _0xe9d9x22;}function _0xe9d9x2c(_0xe9d9x2d){_0xe9d9x1a=_[_0xebc2[72]](_0xe9d9x2d,function(_0xe9d9x28){return _0xe9d9x28[0]});return ;}return sequelize[_0xebc2[84]](function(_0xe9d9x2f){if(_0xe9d9x12[_0xebc2[73]]){console[_0xebc2[22]](_0xebc2[74],_0xe9d9x12);return MailMessage[_0xebc2[82]]({where:{messageId:_0xe9d9x12[_0xebc2[73]][0]},include:[{all:true}]})[_0xebc2[44]](function(_0xe9d9x30){return _0xe9d9x30[_0xebc2[81]]()})[_0xebc2[44]](function(_0xe9d9x1c){_0xe9d9x15=_0xe9d9x1c;return MailMessage[_0xebc2[68]]({messageId:_0xe9d9x12[_0xebc2[56]],subject:_0xe9d9x12[_0xebc2[57]],from:_[_0xebc2[61]](_0xe9d9x12[_0xebc2[59]],_0xebc2[60])[_0xebc2[36]](_0xebc2[58]),to:_0xe9d9x12[_0xebc2[62]]?_[_0xebc2[61]](_0xe9d9x12[_0xebc2[62]],_0xebc2[60])[_0xebc2[36]](_0xebc2[58]):null,cc:_0xe9d9x12[_0xebc2[63]]?_[_0xebc2[61]](_0xe9d9x12[_0xebc2[63]],_0xebc2[60])[_0xebc2[36]](_0xebc2[58]):null,bcc:_0xe9d9x12[_0xebc2[63]]?_[_0xebc2[61]](_0xe9d9x12[_0xebc2[64]],_0xebc2[60])[_0xebc2[36]](_0xebc2[58]):null,status:_0xebc2[65],html:_0xe9d9x12[_0xebc2[66]]||null,text:_0xe9d9x12[_0xebc2[67]]||null,MailAttachments:_0xe9d9x12[_0xebc2[34]]||[],MailRoomId:_0xe9d9x1c[_0xebc2[45]]},{include:[{all:true}],transaction:_0xe9d9x2f});})[_0xebc2[44]](function(_0xe9d9x1e){_0xe9d9x16=_0xe9d9x1e;return ContactEmail[_0xebc2[69]]({where:{email:_0xe9d9x16[_0xebc2[59]]},defaults:{email:_0xe9d9x16[_0xebc2[59]]},transaction:_0xe9d9x2f});})[_0xebc2[80]](function(_0xe9d9x20,_0xe9d9x21){var _0xe9d9x22=[];var _0xe9d9x23=_0xe9d9x16[_0xebc2[62]]?_[_0xebc2[61]](_0xe9d9x12[_0xebc2[62]],_0xebc2[60]):[];_0xe9d9x17=_0xe9d9x20;_0xe9d9x23[_0xebc2[71]](function(_0xe9d9x24){_0xe9d9x22[_0xebc2[70]](ContactEmail[_0xebc2[69]]({where:{email:_0xe9d9x24},defaults:{email:_0xe9d9x24},transaction:_0xe9d9x2f}))});return _0xe9d9x22;})[_0xebc2[79]]()[_0xebc2[44]](function(_0xe9d9x26){var _0xe9d9x22=[];var _0xe9d9x27=_0xe9d9x16[_0xebc2[63]]?_[_0xebc2[61]](_0xe9d9x12[_0xebc2[63]],_0xebc2[60]):[];_0xe9d9x18=_[_0xebc2[72]](_0xe9d9x26,function(_0xe9d9x28){return _0xe9d9x28[0]});_0xe9d9x27[_0xebc2[71]](function(_0xe9d9x24){_0xe9d9x22[_0xebc2[70]](ContactEmail[_0xebc2[69]]({where:{email:_0xe9d9x24},defaults:{email:_0xe9d9x24},transaction:_0xe9d9x2f}))});return _0xe9d9x22;})[_0xebc2[79]]()[_0xebc2[44]](function(_0xe9d9x2a){var _0xe9d9x22=[];var _0xe9d9x2b=_0xe9d9x16[_0xebc2[64]]?_[_0xebc2[61]](_0xe9d9x12[_0xebc2[64]],_0xebc2[60]):[];_0xe9d9x19=_[_0xebc2[72]](_0xe9d9x2a,function(_0xe9d9x28){return _0xe9d9x28[0]});_0xe9d9x2b[_0xebc2[71]](function(_0xe9d9x24){_0xe9d9x22[_0xebc2[70]](ContactEmail[_0xebc2[69]]({where:{email:_0xe9d9x24},defaults:{email:_0xe9d9x24},transaction:_0xe9d9x2f}))});return _0xe9d9x22;})[_0xebc2[79]]()[_0xebc2[44]](function(_0xe9d9x2d){_0xe9d9x1a=_[_0xebc2[72]](_0xe9d9x2d,function(_0xe9d9x28){return _0xe9d9x28[0]});return ;})[_0xebc2[44]](function(){return _0xe9d9x16[_0xebc2[78]](_0xe9d9x17,{transaction:_0xe9d9x2f})})[_0xebc2[44]](function(){return _0xe9d9x16[_0xebc2[77]](_0xe9d9x18,{transaction:_0xe9d9x2f})})[_0xebc2[44]](function(){return _0xe9d9x16[_0xebc2[76]](_0xe9d9x19,{transaction:_0xe9d9x2f})})[_0xebc2[44]](function(){return _0xe9d9x16[_0xebc2[75]](_0xe9d9x1a,{transaction:_0xe9d9x2f})});}else {return MailRoom[_0xebc2[68]]({roomId:_0xe9d9x12[_0xebc2[56]],subject:_0xe9d9x12[_0xebc2[57]],from:_[_0xebc2[61]](_0xe9d9x12[_0xebc2[59]],_0xebc2[60])[_0xebc2[36]](_0xebc2[58]),MailAccountId:_0xe9d9xb[_0xebc2[49]]},{transaction:_0xe9d9x2f})[_0xebc2[44]](function(_0xe9d9x1c){_0xe9d9x15=_0xe9d9x1c;return MailMessage[_0xebc2[68]]({messageId:_0xe9d9x12[_0xebc2[56]],subject:_0xe9d9x12[_0xebc2[57]],from:_[_0xebc2[61]](_0xe9d9x12[_0xebc2[59]],_0xebc2[60])[_0xebc2[36]](_0xebc2[58]),to:_0xe9d9x12[_0xebc2[62]]?_[_0xebc2[61]](_0xe9d9x12[_0xebc2[62]],_0xebc2[60])[_0xebc2[36]](_0xebc2[58]):null,cc:_0xe9d9x12[_0xebc2[63]]?_[_0xebc2[61]](_0xe9d9x12[_0xebc2[63]],_0xebc2[60])[_0xebc2[36]](_0xebc2[58]):null,bcc:_0xe9d9x12[_0xebc2[63]]?_[_0xebc2[61]](_0xe9d9x12[_0xebc2[64]],_0xebc2[60])[_0xebc2[36]](_0xebc2[58]):null,status:_0xebc2[65],html:_0xe9d9x12[_0xebc2[66]]||null,text:_0xe9d9x12[_0xebc2[67]]||null,MailAttachments:_0xe9d9x12[_0xebc2[34]]||[],MailRoomId:_0xe9d9x1c[_0xebc2[45]]},{include:[{all:true}],transaction:_0xe9d9x2f});})[_0xebc2[44]](function(_0xe9d9x1e){_0xe9d9x16=_0xe9d9x1e;return ContactEmail[_0xebc2[69]]({where:{email:_0xe9d9x16[_0xebc2[59]]},defaults:{email:_0xe9d9x16[_0xebc2[59]]},transaction:_0xe9d9x2f});})[_0xebc2[80]](function(_0xe9d9x20,_0xe9d9x21){var _0xe9d9x22=[];var _0xe9d9x23=_0xe9d9x16[_0xebc2[62]]?_[_0xebc2[61]](_0xe9d9x12[_0xebc2[62]],_0xebc2[60]):[];_0xe9d9x17=_0xe9d9x20;_0xe9d9x23[_0xebc2[71]](function(_0xe9d9x24){_0xe9d9x22[_0xebc2[70]](ContactEmail[_0xebc2[69]]({where:{email:_0xe9d9x24},defaults:{email:_0xe9d9x24},transaction:_0xe9d9x2f}))});return _0xe9d9x22;})[_0xebc2[79]]()[_0xebc2[44]](function(_0xe9d9x26){var _0xe9d9x22=[];var _0xe9d9x27=_0xe9d9x16[_0xebc2[63]]?_[_0xebc2[61]](_0xe9d9x12[_0xebc2[63]],_0xebc2[60]):[];_0xe9d9x18=_[_0xebc2[72]](_0xe9d9x26,function(_0xe9d9x28){return _0xe9d9x28[0]});_0xe9d9x27[_0xebc2[71]](function(_0xe9d9x24){_0xe9d9x22[_0xebc2[70]](ContactEmail[_0xebc2[83]]({where:{email:_0xe9d9x24},defaults:{email:_0xe9d9x24},transaction:_0xe9d9x2f}))});return _0xe9d9x22;})[_0xebc2[79]]()[_0xebc2[44]](function(_0xe9d9x2a){var _0xe9d9x22=[];var _0xe9d9x2b=_0xe9d9x16[_0xebc2[64]]?_[_0xebc2[61]](_0xe9d9x12[_0xebc2[64]],_0xebc2[60]):[];_0xe9d9x19=_[_0xebc2[72]](_0xe9d9x2a,function(_0xe9d9x28){return _0xe9d9x28[0]});_0xe9d9x2b[_0xebc2[71]](function(_0xe9d9x24){_0xe9d9x22[_0xebc2[70]](ContactEmail[_0xebc2[69]]({where:{email:_0xe9d9x24},defaults:{email:_0xe9d9x24},transaction:_0xe9d9x2f}))});return _0xe9d9x22;})[_0xebc2[79]]()[_0xebc2[44]](function(_0xe9d9x2d){_0xe9d9x1a=_[_0xebc2[72]](_0xe9d9x2d,function(_0xe9d9x28){return _0xe9d9x28[0]});return ;})[_0xebc2[44]](function(){return _0xe9d9x16[_0xebc2[78]](_0xe9d9x17,{transaction:_0xe9d9x2f})})[_0xebc2[44]](function(){return _0xe9d9x16[_0xebc2[77]](_0xe9d9x18,{transaction:_0xe9d9x2f})})[_0xebc2[44]](function(){return _0xe9d9x16[_0xebc2[76]](_0xe9d9x19,{transaction:_0xe9d9x2f})})[_0xebc2[44]](function(){return _0xe9d9x16[_0xebc2[75]](_0xe9d9x1a,{transaction:_0xe9d9x2f})})}})[_0xebc2[44]](function(_0xe9d9x2e){console[_0xebc2[22]](_0xe9d9x2e)})[_0xebc2[41]](function(_0xe9d9x10){console[_0xebc2[40]](_0xe9d9x10)});});_0xe9d9xc[_0xebc2[47]](_0xebc2[85],function(_0xe9d9x31){console[_0xebc2[22]](_0xe9d9x31[_0xebc2[2]])});}_0xe9d9xf(_0xe9d9xb);MailServerIn[_0xebc2[86]](function(_0xe9d9xb){_0xe9d9xf(_0xe9d9xb)});MailServerIn[_0xebc2[87]](function(_0xe9d9xb){_0xe9d9xd(_0xe9d9xb)});MailServerIn[_0xebc2[88]](function(_0xe9d9xb){_0xe9d9xe(_0xe9d9xb)});}};
\ No newline at end of file
+var _0x5036=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x70\x61\x74\x68","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x6D\x61\x69\x6C\x2D\x6C\x69\x73\x74\x65\x6E\x65\x72\x32","\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\x52\x6F\x6F\x6D","\x43\x6F\x6E\x74\x61\x63\x74","\x43\x6F\x6E\x74\x61\x63\x74\x45\x6D\x61\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x65\x78\x70\x6F\x72\x74\x73","\x73\x74\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x73\x6F\x75\x72\x63\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x75\x73\x65\x72","\x5F\x63\x6F\x6E\x66\x69\x67","\x69\x6D\x61\x70","\x4D\x41\x49\x4C\x20\x2D\x20\x41\x63\x63\x6F\x75\x6E\x74\x20","\x20\x49\x4D\x41\x50\x20\x55\x50\x44\x41\x54\x45\x44","\x6C\x6F\x67","\x73\x74\x6F\x70","\x20\x49\x4D\x41\x50\x20\x44\x45\x53\x54\x52\x4F\x59","\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","\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","\x2F","\x6A\x6F\x69\x6E","\x73\x74\x61\x72\x74","\x73\x65\x72\x76\x65\x72\x3A\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x20\x49\x4D\x41\x50\x20\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x75\x70\x64\x61\x74\x65","\x74\x68\x65\x6E","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x6F\x6E","\x73\x65\x72\x76\x65\x72\x3A\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x20\x49\x4D\x41\x50\x20\x44\x49\x53\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x44\x49\x53\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x20\x49\x4D\x41\x50\x20\x45\x52\x52\x4F\x52","\x45\x52\x52\x4F\x52","\x6D\x61\x69\x6C","\x6D\x65\x73\x73\x61\x67\x65\x49\x64","\x73\x75\x62\x6A\x65\x63\x74","\x3B","\x66\x72\x6F\x6D","\x61\x64\x64\x72\x65\x73\x73","\x70\x6C\x75\x63\x6B","\x74\x6F","\x63\x63","\x62\x63\x63","\x52\x45\x43\x45\x49\x56\x45\x44","\x68\x74\x6D\x6C","\x74\x65\x78\x74","\x63\x72\x65\x61\x74\x65","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x6D\x61\x70","\x69\x6E\x52\x65\x70\x6C\x79\x54\x6F","\x6D\x73\x67","\x73\x65\x74\x42\x63\x63","\x73\x65\x74\x43\x63","\x73\x65\x74\x54\x6F","\x73\x65\x74\x46\x72\x6F\x6D","\x61\x6C\x6C","\x73\x70\x72\x65\x61\x64","\x67\x65\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x66\x69\x6E\x64\x4F\x6E\x65","\x66\x69\x6E\x64\x4F\x72\x43\x72\x72\x65\x64\x69\x65\x61\x74\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\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"];_0x5036[0];var _=require(_0x5036[1]);var path=require(_0x5036[2]);var config=require(_0x5036[3]);var ImapListener=require(_0x5036[4]);var MailServerIn=require(_0x5036[6])[_0x5036[5]];var MailMessage=require(_0x5036[6])[_0x5036[7]];var MailRoom=require(_0x5036[6])[_0x5036[8]];var Contact=require(_0x5036[6])[_0x5036[9]];var ContactEmail=require(_0x5036[6])[_0x5036[10]];var sequelize=require(_0x5036[6])[_0x5036[11]];module[_0x5036[12]]={create:function(_0x2b56xb){var _0x2b56xc;function _0x2b56xd(_0x2b56xb){if(!_0x2b56xb[_0x5036[14]](_0x5036[13])&&!_0x2b56xb[_0x5036[14]](_0x5036[15])&&_0x2b56xb[_0x5036[16]]===_0x2b56xc[_0x5036[19]][_0x5036[18]][_0x5036[17]]){console[_0x5036[22]](_0x5036[20]+_0x2b56xb[_0x5036[16]]+_0x5036[21]);_0x2b56xc[_0x5036[23]]();_0x2b56xf(_0x2b56xb);}}function _0x2b56xe(_0x2b56xb){if(_0x2b56xb[_0x5036[16]]===_0x2b56xc[_0x5036[19]][_0x5036[18]][_0x5036[17]]){console[_0x5036[22]](_0x5036[20]+_0x2b56xb[_0x5036[16]]+_0x5036[24]);_0x2b56xc[_0x5036[23]]();_0x2b56xc=null;}}function _0x2b56xf(_0x2b56xb){if(_0x2b56xc){_0x2b56xc[_0x5036[23]](_0x2b56xb);_0x2b56xc=null;};_0x2b56xc= new ImapListener({username:_0x2b56xb[_0x5036[16]],password:_0x2b56xb[_0x5036[25]],host:_0x2b56xb[_0x5036[26]],port:_0x2b56xb[_0x5036[27]],tls:_0x2b56xb[_0x5036[28]],tlsOptions:{rejectUnauthorized:false},mailbox:_0x2b56xb[_0x5036[29]],searchFilter:[_0x2b56xb[_0x5036[30]]],markSeen:true,fetchUnreadOnStart:true,mailParserOptions:{streamAttachments:false},attachments:true,attachmentOptions:{directory:path[_0x5036[36]](config[_0x5036[31]],_0x5036[32],_0x5036[33],_0x5036[34],_0x5036[35])}});_0x2b56xc[_0x5036[37]]();_0x2b56xc[_0x5036[47]](_0x5036[38],function(){console[_0x5036[22]](_0x5036[20]+_0x2b56xb[_0x5036[16]]+_0x5036[39]);return MailServerIn[_0x5036[46]](_0x2b56xb[_0x5036[45]])[_0x5036[44]](function(_0x2b56x11){return _0x2b56x11[_0x5036[43]]({state:_0x5036[42]})})[_0x5036[41]](function(_0x2b56x10){console[_0x5036[40]](_0x2b56x10)});});_0x2b56xc[_0x5036[47]](_0x5036[48],function(){console[_0x5036[22]](_0x5036[20]+_0x2b56xb[_0x5036[49]]+_0x5036[50]);MailServerIn[_0x5036[46]](_0x2b56xb[_0x5036[45]])[_0x5036[44]](function(_0x2b56x11){_0x2b56x11[_0x5036[52]]({state:_0x5036[51]})})[_0x5036[41]](function(_0x2b56x10){console[_0x5036[40]](_0x2b56x10)});});_0x2b56xc[_0x5036[47]](_0x5036[40],function(_0x2b56x10){console[_0x5036[22]](_0x5036[20]+_0x2b56xb[_0x5036[49]]+_0x5036[53],_0x2b56x10);MailServerIn[_0x5036[46]](_0x2b56xb[_0x5036[45]])[_0x5036[44]](function(_0x2b56x11){_0x2b56x11[_0x5036[52]]({state:_0x5036[54],source:_0x2b56x10[_0x5036[15]]})})[_0x5036[41]](function(_0x2b56x10){console[_0x5036[40]](_0x2b56x10)});});_0x2b56xc[_0x5036[47]](_0x5036[55],function(_0x2b56x12,_0x2b56x13,_0x2b56x14){var _0x2b56x15;var _0x2b56x16;var _0x2b56x17,_0x2b56x18,_0x2b56x19,_0x2b56x1a;function _0x2b56x1b(_0x2b56x1c){_0x2b56x15=_0x2b56x1c;return MailMessage[_0x5036[68]]({messageId:_0x2b56x12[_0x5036[56]],subject:_0x2b56x12[_0x5036[57]],from:_[_0x5036[61]](_0x2b56x12[_0x5036[59]],_0x5036[60])[_0x5036[36]](_0x5036[58]),to:_0x2b56x12[_0x5036[62]]?_[_0x5036[61]](_0x2b56x12[_0x5036[62]],_0x5036[60])[_0x5036[36]](_0x5036[58]):null,cc:_0x2b56x12[_0x5036[63]]?_[_0x5036[61]](_0x2b56x12[_0x5036[63]],_0x5036[60])[_0x5036[36]](_0x5036[58]):null,bcc:_0x2b56x12[_0x5036[63]]?_[_0x5036[61]](_0x2b56x12[_0x5036[64]],_0x5036[60])[_0x5036[36]](_0x5036[58]):null,status:_0x5036[65],html:_0x2b56x12[_0x5036[66]]||null,text:_0x2b56x12[_0x5036[67]]||null,MailAttachments:_0x2b56x12[_0x5036[34]]||[],MailRoomId:_0x2b56x1c[_0x5036[45]]});}function _0x2b56x1d(_0x2b56x1e){_0x2b56x16=_0x2b56x1e;return ContactEmail[_0x5036[69]]({where:{email:_0x2b56x16[_0x5036[59]]},defaults:{email:_0x2b56x16[_0x5036[59]]}});}function _0x2b56x1f(_0x2b56x20,_0x2b56x21){var _0x2b56x22=[];var _0x2b56x23=_0x2b56x16[_0x5036[62]]?_[_0x5036[61]](_0x2b56x12[_0x5036[62]],_0x5036[60]):[];_0x2b56x17=_0x2b56x20;_0x2b56x23[_0x5036[71]](function(_0x2b56x24){_0x2b56x22[_0x5036[70]](ContactEmail[_0x5036[69]]({where:{email:_0x2b56x24},defaults:{email:_0x2b56x24}}))});return _0x2b56x22;}function _0x2b56x25(_0x2b56x26){var _0x2b56x22=[];var _0x2b56x27=_0x2b56x16[_0x5036[63]]?_[_0x5036[61]](_0x2b56x12[_0x5036[63]],_0x5036[60]):[];_0x2b56x18=_[_0x5036[72]](_0x2b56x26,function(_0x2b56x28){return _0x2b56x28[0]});_0x2b56x27[_0x5036[71]](function(_0x2b56x24){_0x2b56x22[_0x5036[70]](ContactEmail[_0x5036[69]]({where:{email:_0x2b56x24},defaults:{email:_0x2b56x24}}))});return _0x2b56x22;}function _0x2b56x29(_0x2b56x2a){var _0x2b56x22=[];var _0x2b56x2b=_0x2b56x16[_0x5036[64]]?_[_0x5036[61]](_0x2b56x12[_0x5036[64]],_0x5036[60]):[];_0x2b56x19=_[_0x5036[72]](_0x2b56x2a,function(_0x2b56x28){return _0x2b56x28[0]});_0x2b56x2b[_0x5036[71]](function(_0x2b56x24){_0x2b56x22[_0x5036[70]](ContactEmail[_0x5036[69]]({where:{email:_0x2b56x24},defaults:{email:_0x2b56x24}}))});return _0x2b56x22;}function _0x2b56x2c(_0x2b56x2d){_0x2b56x1a=_[_0x5036[72]](_0x2b56x2d,function(_0x2b56x28){return _0x2b56x28[0]});return ;}return sequelize[_0x5036[84]](function(_0x2b56x2f){if(_0x2b56x12[_0x5036[73]]){console[_0x5036[22]](_0x5036[74],_0x2b56x12);return MailMessage[_0x5036[82]]({where:{messageId:_0x2b56x12[_0x5036[73]][0]},include:[{all:true}]})[_0x5036[44]](function(_0x2b56x30){return _0x2b56x30[_0x5036[81]]()})[_0x5036[44]](function(_0x2b56x1c){_0x2b56x15=_0x2b56x1c;return MailMessage[_0x5036[68]]({messageId:_0x2b56x12[_0x5036[56]],subject:_0x2b56x12[_0x5036[57]],from:_[_0x5036[61]](_0x2b56x12[_0x5036[59]],_0x5036[60])[_0x5036[36]](_0x5036[58]),to:_0x2b56x12[_0x5036[62]]?_[_0x5036[61]](_0x2b56x12[_0x5036[62]],_0x5036[60])[_0x5036[36]](_0x5036[58]):null,cc:_0x2b56x12[_0x5036[63]]?_[_0x5036[61]](_0x2b56x12[_0x5036[63]],_0x5036[60])[_0x5036[36]](_0x5036[58]):null,bcc:_0x2b56x12[_0x5036[63]]?_[_0x5036[61]](_0x2b56x12[_0x5036[64]],_0x5036[60])[_0x5036[36]](_0x5036[58]):null,status:_0x5036[65],html:_0x2b56x12[_0x5036[66]]||null,text:_0x2b56x12[_0x5036[67]]||null,MailAttachments:_0x2b56x12[_0x5036[34]]||[],MailRoomId:_0x2b56x1c[_0x5036[45]]},{include:[{all:true}],transaction:_0x2b56x2f});})[_0x5036[44]](function(_0x2b56x1e){_0x2b56x16=_0x2b56x1e;return ContactEmail[_0x5036[69]]({where:{email:_0x2b56x16[_0x5036[59]]},defaults:{email:_0x2b56x16[_0x5036[59]]},transaction:_0x2b56x2f});})[_0x5036[80]](function(_0x2b56x20,_0x2b56x21){var _0x2b56x22=[];var _0x2b56x23=_0x2b56x16[_0x5036[62]]?_[_0x5036[61]](_0x2b56x12[_0x5036[62]],_0x5036[60]):[];_0x2b56x17=_0x2b56x20;_0x2b56x23[_0x5036[71]](function(_0x2b56x24){_0x2b56x22[_0x5036[70]](ContactEmail[_0x5036[69]]({where:{email:_0x2b56x24},defaults:{email:_0x2b56x24},transaction:_0x2b56x2f}))});return _0x2b56x22;})[_0x5036[79]]()[_0x5036[44]](function(_0x2b56x26){var _0x2b56x22=[];var _0x2b56x27=_0x2b56x16[_0x5036[63]]?_[_0x5036[61]](_0x2b56x12[_0x5036[63]],_0x5036[60]):[];_0x2b56x18=_[_0x5036[72]](_0x2b56x26,function(_0x2b56x28){return _0x2b56x28[0]});_0x2b56x27[_0x5036[71]](function(_0x2b56x24){_0x2b56x22[_0x5036[70]](ContactEmail[_0x5036[69]]({where:{email:_0x2b56x24},defaults:{email:_0x2b56x24},transaction:_0x2b56x2f}))});return _0x2b56x22;})[_0x5036[79]]()[_0x5036[44]](function(_0x2b56x2a){var _0x2b56x22=[];var _0x2b56x2b=_0x2b56x16[_0x5036[64]]?_[_0x5036[61]](_0x2b56x12[_0x5036[64]],_0x5036[60]):[];_0x2b56x19=_[_0x5036[72]](_0x2b56x2a,function(_0x2b56x28){return _0x2b56x28[0]});_0x2b56x2b[_0x5036[71]](function(_0x2b56x24){_0x2b56x22[_0x5036[70]](ContactEmail[_0x5036[69]]({where:{email:_0x2b56x24},defaults:{email:_0x2b56x24},transaction:_0x2b56x2f}))});return _0x2b56x22;})[_0x5036[79]]()[_0x5036[44]](function(_0x2b56x2d){_0x2b56x1a=_[_0x5036[72]](_0x2b56x2d,function(_0x2b56x28){return _0x2b56x28[0]});return ;})[_0x5036[44]](function(){return _0x2b56x16[_0x5036[78]](_0x2b56x17,{transaction:_0x2b56x2f})})[_0x5036[44]](function(){return _0x2b56x16[_0x5036[77]](_0x2b56x18,{transaction:_0x2b56x2f})})[_0x5036[44]](function(){return _0x2b56x16[_0x5036[76]](_0x2b56x19,{transaction:_0x2b56x2f})})[_0x5036[44]](function(){return _0x2b56x16[_0x5036[75]](_0x2b56x1a,{transaction:_0x2b56x2f})});}else {return MailRoom[_0x5036[68]]({roomId:_0x2b56x12[_0x5036[56]],subject:_0x2b56x12[_0x5036[57]],from:_[_0x5036[61]](_0x2b56x12[_0x5036[59]],_0x5036[60])[_0x5036[36]](_0x5036[58]),MailAccountId:_0x2b56xb[_0x5036[49]]},{transaction:_0x2b56x2f})[_0x5036[44]](function(_0x2b56x1c){_0x2b56x15=_0x2b56x1c;return MailMessage[_0x5036[68]]({messageId:_0x2b56x12[_0x5036[56]],subject:_0x2b56x12[_0x5036[57]],from:_[_0x5036[61]](_0x2b56x12[_0x5036[59]],_0x5036[60])[_0x5036[36]](_0x5036[58]),to:_0x2b56x12[_0x5036[62]]?_[_0x5036[61]](_0x2b56x12[_0x5036[62]],_0x5036[60])[_0x5036[36]](_0x5036[58]):null,cc:_0x2b56x12[_0x5036[63]]?_[_0x5036[61]](_0x2b56x12[_0x5036[63]],_0x5036[60])[_0x5036[36]](_0x5036[58]):null,bcc:_0x2b56x12[_0x5036[63]]?_[_0x5036[61]](_0x2b56x12[_0x5036[64]],_0x5036[60])[_0x5036[36]](_0x5036[58]):null,status:_0x5036[65],html:_0x2b56x12[_0x5036[66]]||null,text:_0x2b56x12[_0x5036[67]]||null,MailAttachments:_0x2b56x12[_0x5036[34]]||[],MailRoomId:_0x2b56x1c[_0x5036[45]]},{include:[{all:true}],transaction:_0x2b56x2f});})[_0x5036[44]](function(_0x2b56x1e){_0x2b56x16=_0x2b56x1e;return ContactEmail[_0x5036[69]]({where:{email:_0x2b56x16[_0x5036[59]]},defaults:{email:_0x2b56x16[_0x5036[59]]},transaction:_0x2b56x2f});})[_0x5036[80]](function(_0x2b56x20,_0x2b56x21){var _0x2b56x22=[];var _0x2b56x23=_0x2b56x16[_0x5036[62]]?_[_0x5036[61]](_0x2b56x12[_0x5036[62]],_0x5036[60]):[];_0x2b56x17=_0x2b56x20;_0x2b56x23[_0x5036[71]](function(_0x2b56x24){_0x2b56x22[_0x5036[70]](ContactEmail[_0x5036[69]]({where:{email:_0x2b56x24},defaults:{email:_0x2b56x24},transaction:_0x2b56x2f}))});return _0x2b56x22;})[_0x5036[79]]()[_0x5036[44]](function(_0x2b56x26){var _0x2b56x22=[];var _0x2b56x27=_0x2b56x16[_0x5036[63]]?_[_0x5036[61]](_0x2b56x12[_0x5036[63]],_0x5036[60]):[];_0x2b56x18=_[_0x5036[72]](_0x2b56x26,function(_0x2b56x28){return _0x2b56x28[0]});_0x2b56x27[_0x5036[71]](function(_0x2b56x24){_0x2b56x22[_0x5036[70]](ContactEmail[_0x5036[83]]({where:{email:_0x2b56x24},defaults:{email:_0x2b56x24},transaction:_0x2b56x2f}))});return _0x2b56x22;})[_0x5036[79]]()[_0x5036[44]](function(_0x2b56x2a){var _0x2b56x22=[];var _0x2b56x2b=_0x2b56x16[_0x5036[64]]?_[_0x5036[61]](_0x2b56x12[_0x5036[64]],_0x5036[60]):[];_0x2b56x19=_[_0x5036[72]](_0x2b56x2a,function(_0x2b56x28){return _0x2b56x28[0]});_0x2b56x2b[_0x5036[71]](function(_0x2b56x24){_0x2b56x22[_0x5036[70]](ContactEmail[_0x5036[69]]({where:{email:_0x2b56x24},defaults:{email:_0x2b56x24},transaction:_0x2b56x2f}))});return _0x2b56x22;})[_0x5036[79]]()[_0x5036[44]](function(_0x2b56x2d){_0x2b56x1a=_[_0x5036[72]](_0x2b56x2d,function(_0x2b56x28){return _0x2b56x28[0]});return ;})[_0x5036[44]](function(){return _0x2b56x16[_0x5036[78]](_0x2b56x17,{transaction:_0x2b56x2f})})[_0x5036[44]](function(){return _0x2b56x16[_0x5036[77]](_0x2b56x18,{transaction:_0x2b56x2f})})[_0x5036[44]](function(){return _0x2b56x16[_0x5036[76]](_0x2b56x19,{transaction:_0x2b56x2f})})[_0x5036[44]](function(){return _0x2b56x16[_0x5036[75]](_0x2b56x1a,{transaction:_0x2b56x2f})})}})[_0x5036[44]](function(_0x2b56x2e){console[_0x5036[22]](_0x2b56x2e)})[_0x5036[41]](function(_0x2b56x10){console[_0x5036[40]](_0x2b56x10)});});_0x2b56xc[_0x5036[47]](_0x5036[85],function(_0x2b56x31){console[_0x5036[22]](_0x2b56x31[_0x5036[2]])});}_0x2b56xf(_0x2b56xb);MailServerIn[_0x5036[86]](function(_0x2b56xb){_0x2b56xf(_0x2b56xb)});MailServerIn[_0x5036[87]](function(_0x2b56xb){_0x2b56xd(_0x2b56xb)});MailServerIn[_0x5036[88]](function(_0x2b56xb){_0x2b56xe(_0x2b56xb)});}};
\ No newline at end of file
index 7474d53..fa6752e 100644 (file)
@@ -1 +1 @@
-var _0xd3fc=["\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","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E","\x65\x78\x70\x6F\x72\x74\x73","\x63\x72\x65\x61\x74\x65","\x2E\x2F\x69\x6D\x61\x70","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6C\x65\x6E\x67\x74\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C"];_0xd3fc[0];var MailAccount=require(_0xd3fc[2])[_0xd3fc[1]];var MailServerIn=require(_0xd3fc[2])[_0xd3fc[3]];module[_0xd3fc[4]]={init:function(){MailServerIn[_0xd3fc[7]](function(_0x516fx3){require(_0xd3fc[6])[_0xd3fc[5]](_0x516fx3)});MailAccount[_0xd3fc[12]]({include:[{all:true}]})[_0xd3fc[11]](function(_0x516fx5){for(var _0x516fx6=0;_0x516fx6<_0x516fx5[_0xd3fc[10]];_0x516fx6++){if(_0x516fx5[_0x516fx6][_0xd3fc[3]]){require(_0xd3fc[6])[_0xd3fc[5]](_0x516fx5[_0x516fx6].MailServerIn)}}})[_0xd3fc[9]](function(_0x516fx4){console[_0xd3fc[8]](_0x516fx4)});}};
\ No newline at end of file
+var _0xb627=["\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","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E","\x65\x78\x70\x6F\x72\x74\x73","\x63\x72\x65\x61\x74\x65","\x2E\x2F\x69\x6D\x61\x70","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6C\x65\x6E\x67\x74\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C"];_0xb627[0];var MailAccount=require(_0xb627[2])[_0xb627[1]];var MailServerIn=require(_0xb627[2])[_0xb627[3]];module[_0xb627[4]]={init:function(){MailServerIn[_0xb627[7]](function(_0xe1b8x3){require(_0xb627[6])[_0xb627[5]](_0xe1b8x3)});MailAccount[_0xb627[12]]({include:[{all:true}]})[_0xb627[11]](function(_0xe1b8x5){for(var _0xe1b8x6=0;_0xe1b8x6<_0xe1b8x5[_0xb627[10]];_0xe1b8x6++){if(_0xe1b8x5[_0xe1b8x6][_0xb627[3]]){require(_0xb627[6])[_0xb627[5]](_0xe1b8x5[_0xe1b8x6].MailServerIn)}}})[_0xb627[9]](function(_0xe1b8x4){console[_0xb627[8]](_0xe1b8x4)});}};
\ No newline at end of file
index 1376661..1a21cc3 100644 (file)
@@ -1 +1 @@
-var _0xde26=["\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"];_0xde26[0];var path=require(_0xde26[1]);var fs=require(_0xde26[2]);var Integration=require(_0xde26[4])[_0xde26[3]];module[_0xde26[5]]=function(_0xa211x4,_0xa211x5){Integration[_0xde26[16]]()[_0xde26[15]](function(_0xa211x7){_0xa211x7[_0xde26[14]](function(_0xa211x8){var _0xa211x9=path[_0xde26[8]](_0xa211x8[_0xde26[1]]);var _0xa211xa=path[_0xde26[12]](_0xa211x9[_0xde26[9]],_0xa211x9[_0xde26[10]],_0xa211x8[_0xde26[11]]);if(fs[_0xde26[13]](_0xa211xa)){require(_0xa211xa)(_0xa211x4,_0xa211x5)};})})[_0xde26[7]](function(_0xa211x6){console[_0xde26[6]](_0xa211x6)})};
\ No newline at end of file
+var _0x2bf7=["\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"];_0x2bf7[0];var path=require(_0x2bf7[1]);var fs=require(_0x2bf7[2]);var Integration=require(_0x2bf7[4])[_0x2bf7[3]];module[_0x2bf7[5]]=function(_0xdb39x4,_0xdb39x5){Integration[_0x2bf7[16]]()[_0x2bf7[15]](function(_0xdb39x7){_0xdb39x7[_0x2bf7[14]](function(_0xdb39x8){var _0xdb39x9=path[_0x2bf7[8]](_0xdb39x8[_0x2bf7[1]]);var _0xdb39xa=path[_0x2bf7[12]](_0xdb39x9[_0x2bf7[9]],_0xdb39x9[_0x2bf7[10]],_0xdb39x8[_0x2bf7[11]]);if(fs[_0x2bf7[13]](_0xdb39xa)){require(_0xdb39xa)(_0xdb39x4,_0xdb39x5)};})})[_0x2bf7[7]](function(_0xdb39x6){console[_0x2bf7[6]](_0xdb39x6)})};
\ No newline at end of file
diff --git a/server/config/integrations/index.js b/server/config/integrations/index.js
new file mode 100644 (file)
index 0000000..8fdd5e9
--- /dev/null
@@ -0,0 +1 @@
+var _0x5101=["\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","\x2E\x2F\x7A\x65\x6E\x64\x65\x73\x6B","\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","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x6D\x61\x6E\x61\x67\x65\x45\x76\x65\x6E\x74","\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x3A\x20\x6D\x61\x6E\x61\x67\x65\x45\x76\x65\x6E\x74","\x64\x61\x74\x61","\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","\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","\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","\x6C\x65\x6E\x67\x74\x68","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x66\x69\x6E\x64","\x6D\x65\x72\x67\x65","\x75\x6E\x73\x68\x69\x66\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x5101[0];var _=require(_0x5101[1]);var IntegrationModel=require(_0x5101[3])[_0x5101[2]];var Zendesk=require(_0x5101[4]);function Integration(){console[_0x5101[6]](_0x5101[5]);var _0x621cx5= new Zendesk();var _0x621cx6=[];IntegrationModel[_0x5101[8]]({where:{active:1}})[_0x5101[7]](function(_0x621cx7){_0x621cx6=_0x621cx7;synchIntegrations(_0x621cx6);});this[_0x5101[9]]=function(_0x621cx8,_0x621cx9,_0x621cxa){console[_0x5101[6]](_0x5101[10]);if(integrationIsActive(_0x621cx8[_0x5101[11]],_0x621cx6)){switch(_0x621cx8[_0x5101[11]]){case _0x5101[15]:_0x621cx5[_0x5101[14]](_0x621cx8[_0x5101[12]],_0x621cx8[_0x5101[13]],_0x621cxa,_0x621cx9);break ;;default:console[_0x5101[6]](_0x5101[16],_0x621cx8[_0x5101[11]]);;}};};}function integrationIsActive(_0x621cxc,_0x621cxd){var _0x621cxe=_[_0x5101[18]](_0x621cxd,_0x5101[17]);if(_[_0x5101[19]](_0x621cxe,_0x621cxc)>=0){return true};return false;}function synchIntegrations(_0x621cxd){IntegrationModel[_0x5101[25]](function(_0x621cx9){if(_0x621cx9[_0x5101[20]]){updateCollection(_0x621cxd,_0x621cx9)}else {_[_0x5101[22]](_0x621cxd,{id:_0x621cx9[_0x5101[21]]})};console[_0x5101[6]](_0x5101[23],_0x621cxd[_0x5101[24]]);})}function updateCollection(_0x621cx11,_0x621cx9){var _0x621cx12=_[_0x5101[26]](_0x621cx11,{id:_0x621cx9[_0x5101[21]]});var _0x621cx13=_0x621cx11[_0x5101[19]](_0x621cx12);if(_0x621cx12){_[_0x5101[27]](_0x621cx11[_0x621cx13],_0x621cx9)}else {_0x621cx11[_0x5101[28]](_0x621cx9)};}module[_0x5101[29]]=Integration;
\ No newline at end of file
diff --git a/server/config/integrations/zendesk.js b/server/config/integrations/zendesk.js
new file mode 100644 (file)
index 0000000..4edb8f2
--- /dev/null
@@ -0,0 +1 @@
+var _0x18a1=["\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","\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","\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\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","\x2F\x74\x69\x63\x6B\x65\x74\x73\x2E\x6A\x73\x6F\x6E","\x69\x64","\x78\x43\x41\x4C\x4C\x59","\x4D\x4F\x54\x49\x4F\x4E","\x43\x54\x49","\x54\x65\x73\x74\x20\x74\x69\x63\x6B\x65\x74","\x6F\x70\x65\x6E","\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","\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","\x73\x75\x62\x73\x74\x72","\x2F","\x65\x78\x70\x6F\x72\x74\x73"];_0x18a1[0];var _=require(_0x18a1[1]);var util=require(_0x18a1[2]);var rp=require(_0x18a1[3]);var ZendeskIntegration=require(_0x18a1[5])[_0x18a1[4]];var ZendeskConfiguration=require(_0x18a1[5])[_0x18a1[6]];function Zendesk(){console[_0x18a1[8]](_0x18a1[7])}Zendesk[_0x18a1[10]][_0x18a1[9]]=function(_0x711ax7,_0x711ax8,_0x711ax9,_0x711axa){var _0x711axb={uri:undefined,headers:undefined,agent:undefined,enduser:undefined,ticket:undefined,configuration:undefined};if(!_0x711ax7|| !_0x711ax8){console[_0x18a1[12]](_0x18a1[11]);return ;};ZendeskConfiguration[_0x18a1[15]]({where:{id:_0x711ax8,AccountId:_0x711ax7},include:[{all:true}]})[_0x18a1[14]](handleEntityNotFound())[_0x18a1[14]](handleConnection(_0x711axb))[_0x18a1[14]](searchAgent(_0x711axb,_0x711ax9,_0x711axa))[_0x18a1[14]](handleAgent(_0x711axb,_0x711ax9,_0x711axa))[_0x18a1[14]](searchAdmin(_0x711axb))[_0x18a1[14]](handleAdmin(_0x711axb))[_0x18a1[14]](searchEndUser(_0x711axb,_0x711ax9,_0x711axa))[_0x18a1[14]](handleEndUser(_0x711axb,_0x711ax9,_0x711axa))[_0x18a1[14]](endUserCreation(_0x711axb,_0x711ax9,_0x711axa))[_0x18a1[14]](handleEndUserCreation(_0x711axb,_0x711ax9,_0x711axa))[_0x18a1[14]](ticketCreation(_0x711axb))[_0x18a1[14]](handleTicketDisplay(_0x711axb))[_0x18a1[14]](handleEnd(_0x711axb))[_0x18a1[13]](handleError(_0x711axb));};function handleEntityNotFound(){return function(_0x711axd){if(!_0x711axd){return null};return _0x711axd;}}function handleConnection(_0x711axb){return function(_0x711axf){var _0x711ax10=getAccountConfiguration(_0x711axf.ZendeskAccount);_0x711axb[_0x18a1[16]]=_0x711axf;_0x711axb[_0x18a1[17]]=_0x711ax10[_0x18a1[17]];_0x711axb[_0x18a1[18]]=_0x711ax10[_0x18a1[18]];}}function getAccountConfiguration(_0x711ax12){var _0x711ax13={uri:stripTrailingSlash(_0x711ax12[_0x18a1[19]]),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":_0x18a1[20],"\x41\x63\x63\x65\x70\x74":_0x18a1[20]}};var _0x711ax14=_0x711ax12[_0x18a1[21]];if(_0x711ax12[_0x18a1[22]]===_0x18a1[23]){_0x711ax14=_0x711ax14+_0x18a1[24]+_0x711ax12[_0x18a1[23]]}else {if(_0x711ax12[_0x18a1[22]]===_0x18a1[25]){_0x711ax14=_0x711ax14+_0x18a1[26]+_0x711ax12[_0x18a1[25]]}};_0x711ax13[_0x18a1[18]][_0x18a1[27]]=_0x18a1[28]+ new Buffer(_0x711ax14).toString(_0x18a1[29]);return _0x711ax13;}function searchAgent(_0x711axb,_0x711ax9,_0x711axa){return function(){console[_0x18a1[8]](_0x18a1[30],getValueFromPropertyName(_0x711axa,getAgentSearchPropertyFromChannel(_0x711ax9)));return rp({uri:_0x711axb[_0x18a1[17]]+_0x18a1[31],qs:{"\x71\x75\x65\x72\x79":util[_0x18a1[33]](_0x18a1[32],getValueFromPropertyName(_0x711axa,getAgentSearchPropertyFromChannel(_0x711ax9)))},headers:_0x711axb[_0x18a1[18]],json:true});}}function getAgentSearchPropertyFromChannel(_0x711ax9){var _0x711ax17=_0x18a1[34];if(_0x711ax9){switch(_0x711ax9){case _0x18a1[36]:_0x711ax17=_0x18a1[35];break ;;default:_0x711ax17=_0x18a1[35];console[_0x18a1[12]](_0x18a1[37],_0x711ax9);;}};return _0x711ax17;}function getValueFromPropertyName(_0x711axa,_0x711ax17){return _[_0x18a1[38]](_0x711axa,_0x711ax17)}function handleAgent(_0x711axb,_0x711ax9,_0x711ax1a){return function(_0x711axa){if(_0x711axa[_0x18a1[40]][_0x18a1[39]]>0&&_0x711axa[_0x18a1[41]]>0){console[_0x18a1[8]](_0x18a1[42],getValueFromPropertyName(_0x711ax1a,getAgentSearchPropertyFromChannel(_0x711ax9)));_0x711axb[_0x18a1[43]]=getMatchObject(_0x711axa[_0x18a1[40]],_0x18a1[44],getValueFromPropertyName(_0x711ax1a,getAgentSearchPropertyFromChannel(_0x711ax9)));return _0x711axb[_0x18a1[43]];};return ;}}function getMatchObject(_0x711ax1c,_0x711ax17,_0x711ax1d){var _0x711ax1e=_[_0x18a1[15]](_0x711ax1c,{property:_0x711ax1d});if(_0x711ax1e){return _0x711ax1e};return _[_0x18a1[45]](_0x711ax1c);}function searchAdmin(_0x711axb){return function(_0x711axa){if(_0x711axa){return };console[_0x18a1[8]](_0x18a1[46]);return rp({uri:_0x711axb[_0x18a1[17]]+_0x18a1[47],headers:_0x711axb[_0x18a1[18]],json:true});}}function handleAdmin(_0x711axb){return function(_0x711axa){if(!_0x711axa){return };if(_0x711axa[_0x18a1[48]]){console[_0x18a1[8]](_0x18a1[49]);_0x711axb[_0x18a1[43]]=_0x711axa[_0x18a1[48]];};return ;}}function searchEndUser(_0x711axb,_0x711ax9,_0x711axa){return function(){console[_0x18a1[8]](_0x18a1[50],getValueFromPropertyName(_0x711axa,getEndUserSearchPropertyFromChannel(_0x711ax9)));return rp({uri:_0x711axb[_0x18a1[17]]+_0x18a1[31],qs:{"\x71\x75\x65\x72\x79":util[_0x18a1[33]](_0x18a1[51],getEndUserSearchQueryFromChannel(_0x711ax9),getValueFromPropertyName(_0x711axa,getEndUserSearchPropertyFromChannel(_0x711ax9)))},headers:_0x711axb[_0x18a1[18]],json:true});}}function getEndUserSearchQueryFromChannel(_0x711ax9){var _0x711ax17=_0x18a1[34];if(_0x711ax9){switch(_0x711ax9){case _0x18a1[36]:_0x711ax17=_0x18a1[52];break ;;default:_0x711ax17=_0x18a1[52];console[_0x18a1[12]](_0x18a1[37],_0x711ax9);;}};return _0x711ax17;}function getEndUserSearchPropertyFromChannel(_0x711ax9){var _0x711ax17=_0x18a1[34];if(_0x711ax9){switch(_0x711ax9){case _0x18a1[36]:_0x711ax17=_0x18a1[53];break ;;default:_0x711ax17=_0x18a1[53];console[_0x18a1[12]](_0x18a1[37],_0x711ax9);;}};return _0x711ax17;}function getEndUserNamePropertyFromChannel(_0x711ax9){var _0x711ax17=_0x18a1[34];if(_0x711ax9){switch(_0x711ax9){case _0x18a1[36]:_0x711ax17=_0x18a1[54];break ;;default:_0x711ax17=_0x18a1[54];console[_0x18a1[12]](_0x18a1[37],_0x711ax9);;}};return _0x711ax17;}function handleEndUser(_0x711axb,_0x711ax9,_0x711ax1a){return function(_0x711axa){if(_0x711axa[_0x18a1[40]][_0x18a1[39]]>0&&_0x711axa[_0x18a1[41]]>0){console[_0x18a1[8]](_0x18a1[55],getValueFromPropertyName(_0x711ax1a,getEndUserSearchPropertyFromChannel(_0x711ax9)));_0x711axb[_0x18a1[56]]=_0x711axa[_0x18a1[40]][0];return _0x711axb[_0x18a1[56]];};return ;}}function endUserCreation(_0x711axb,_0x711ax9,_0x711ax1a){return function(_0x711axa){if(_0x711axa){return };console[_0x18a1[8]](_0x18a1[57],getValueFromPropertyName(_0x711ax1a,getEndUserSearchPropertyFromChannel(_0x711ax9)));console[_0x18a1[8]](getJsonForEndUserCreation(_0x711ax9,_0x711ax1a));return rp({uri:_0x711axb[_0x18a1[17]]+_0x18a1[58],method:_0x18a1[59],body:{user:getJsonForEndUserCreation(_0x711ax9,_0x711ax1a)},headers:_0x711axb[_0x18a1[18]],json:true});}}function getJsonForEndUserCreation(_0x711ax9,_0x711axa){var _0x711ax28={role:_0x18a1[60]};switch(_0x711ax9){case _0x18a1[36]:if(_0x711axa[_0x18a1[54]]){_0x711ax28[_0x18a1[44]]=getValueFromPropertyName(_0x711axa,getEndUserNamePropertyFromChannel(_0x711ax9))}else {_0x711ax28[_0x18a1[44]]=util[_0x18a1[33]](_0x18a1[61],getValueFromPropertyName(_0x711axa,getAgentSearchPropertyFromChannel(_0x711ax9)))};_0x711ax28[_0x18a1[52]]=getValueFromPropertyName(_0x711axa,getEndUserSearchPropertyFromChannel(_0x711ax9));break ;;default:console[_0x18a1[12]](_0x18a1[37],_0x711ax9);;};return _0x711ax28;}function handleEndUserCreation(_0x711axb,_0x711ax9,_0x711ax1a){return function(_0x711axa){if(!_0x711axa){return };if(_0x711axa[_0x18a1[48]]){console[_0x18a1[8]](_0x18a1[62],getValueFromPropertyName(_0x711ax1a,getEndUserSearchPropertyFromChannel(_0x711ax9)));_0x711axb[_0x18a1[56]]=_0x711axa[_0x18a1[48]];};return ;}}function ticketCreation(_0x711axb){return function(){return rp({uri:_0x711axb[_0x18a1[17]]+_0x18a1[63],method:_0x18a1[59],body:{ticket:{requester_id:_0x711axb[_0x18a1[43]][_0x18a1[64]],submitter_id:_0x711axb[_0x18a1[56]][_0x18a1[64]],assignee_id:_0x711axb[_0x18a1[56]][_0x18a1[64]],tags:[_0x18a1[65],_0x18a1[66],_0x18a1[67]],subject:_0x18a1[68],description:_0x18a1[68],status:_0x18a1[69]}},headers:_0x711axb[_0x18a1[18]],json:true})}}function handleTicketDisplay(_0x711axb){return function(_0x711axa){if(_0x711axa[_0x18a1[70]]){console[_0x18a1[8]](_0x18a1[71]);_0x711axb[_0x18a1[70]]=_0x711axa[_0x18a1[70]];var _0x711ax2c=util[_0x18a1[33]](_0x18a1[72],_0x711axb[_0x18a1[43]][_0x18a1[64]],_0x711axb[_0x18a1[70]][_0x18a1[64]]);return rp({uri:_0x711axb[_0x18a1[17]]+_0x711ax2c,method:_0x18a1[59],headers:_0x711axb[_0x18a1[18]],json:true});};return ;}}function handleEnd(_0x711axb){return function(){console[_0x18a1[8]](util[_0x18a1[33]](_0x18a1[73],_0x711axb[_0x18a1[70]][_0x18a1[64]],_0x711axb[_0x18a1[43]][_0x18a1[64]]));_0x711axb=undefined;return ;}}function handleError(_0x711axb){return function(_0x711ax2f){console[_0x18a1[12]](_0x18a1[74]);console[_0x18a1[12]](_0x18a1[75],_0x711ax2f[_0x18a1[76]]);console[_0x18a1[12]](_0x18a1[77],_0x711ax2f[_0x18a1[78]]);_0x711axb=undefined;return ;}}function stripTrailingSlash(_0x711ax31){if(_0x711ax31[_0x18a1[79]](-1)===_0x18a1[80]){return _0x711ax31[_0x18a1[79]](0,_0x711ax31[_0x18a1[39]]-1)};return _0x711ax31;}module[_0x18a1[81]]=Zendesk;
\ No newline at end of file
index 30ef6cb..46722d5 100644 (file)
@@ -1 +1 @@
-var _0xb326=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x6D\x64\x35","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\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\x51\x75\x65\x75\x65","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x49\x6E\x74\x65\x72\x76\x61\x6C","\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","\x55\x73\x65\x72","\x65\x78\x70\x6F\x72\x74\x73","\x63\x72\x65\x61\x74\x65\x51\x75\x65\x75\x65","\x63\x68\x61\x74","\x70\x72\x6F\x63\x65\x73\x73","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x41\x74","\x63\x68\x61\x6E\x67\x65\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x74\x69\x6D\x65\x6F\x75\x74","\x64\x6F\x6E\x65","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6F\x70\x65\x6E","\x75\x70\x64\x61\x74\x65","\x74\x68\x65\x6E","\x61\x67\x65\x6E\x74\x69\x64","\x61\x64\x64\x55\x73\x65\x72","\x63\x68\x61\x74\x72\x6F\x6F\x6D\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\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","\x61\x6E\x73\x77\x65\x72\x65\x64\x5F\x65\x6C\x73\x65\x77\x68\x65\x72\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x63\x68\x61\x74\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x73\x61\x76\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x63\x72\x65\x61\x74\x65","\x4E\x6F\x20\x41\x76\x61\x69\x6C\x61\x62\x6C\x65\x20\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2E\x2E","\x6C\x65\x6E\x67\x74\x68","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x44\x69\x61\x6C\x50\x6C\x61\x6E\x20\x65\x6E\x64\x65\x64\x2E\x2E","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72\x49\x64","\x64\x61\x74\x61","\x69\x64","\x6D\x65\x72\x67\x65","\x65\x6D\x61\x69\x6C","\x6E\x61\x6D\x65","\x61\x64\x64\x72\x65\x73\x73","\x70\x72\x69\x6F\x72\x69\x74\x79","\x73\x6F\x72\x74\x42\x79","\x65\x78\x74\x65\x72\x6E\x61\x6C","\x69\x6E\x76\x69\x74\x65","\x69","\x6A","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x6C\x6F\x67","\x74\x72\x75\x65","\x63\x6F\x75\x6E\x74\x42\x79","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x55\x73\x65\x72\x73","\x6F\x6E\x6C\x69\x6E\x65","\x61\x70\x70","\x63\x61\x6C\x6C\x65\x64","\x71\x75\x65\x75\x65","\x61\x67\x65\x6E\x74","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x73\x75\x62\x6A\x65\x63\x74","\x66\x72\x6F\x6D","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x63\x6F\x75\x6E\x74","\x62\x65\x65\x70\x61\x6C\x6C","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x73\x74\x72\x61\x74\x65\x67\x79","\x73\x74\x72\x61\x74\x65\x67\x79","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x73\x70\x72\x65\x61\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x69\x73\x4F\x62\x6A\x65\x63\x74","\x53\x75\x62\x49\x6E\x74\x65\x72\x76\x61\x6C\x73","\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","\x2D","\x54\x52\x41\x4E\x47\x45\x20\x4B\x4F","\x64\x61\x79","\x69\x6E\x64\x65\x78\x4F\x66","\x73\x68\x69\x66\x74","\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"];_0xb326[0];var _=require(_0xb326[1]);var moment=require(_0xb326[2]);var md5=require(_0xb326[3]);var ChatApplication=require(_0xb326[5])[_0xb326[4]];var ChatWebsite=require(_0xb326[5])[_0xb326[6]];var ChatVisitor=require(_0xb326[5])[_0xb326[7]];var ChatMessage=require(_0xb326[5])[_0xb326[8]];var ChatQueue=require(_0xb326[5])[_0xb326[9]];var ChatRoom=require(_0xb326[5])[_0xb326[10]];var Interval=require(_0xb326[5])[_0xb326[11]];var ReportChatSession=require(_0xb326[5])[_0xb326[12]];var ReportChat=require(_0xb326[5])[_0xb326[13]];var User=require(_0xb326[5])[_0xb326[14]];var timeouts={};module[_0xb326[15]]=function(_0xb579xf){var _0xb579x10=_0xb579xf[_0xb326[16]]();_0xb579x10[_0xb326[18]](_0xb326[17],20,function(_0xb579x11,_0xb579x12){onProcess(_0xb579x11,_0xb579x12)});ReportChat[_0xb326[39]](function(_0xb579x13){var _0xb579x14;if(_0xb579x13[_0xb326[20]](_0xb326[19])){if(timeouts[_0xb579x13[_0xb326[21]]]){clearTimeout(timeouts[_0xb579x13[_0xb326[21]]][_0xb326[22]]);timeouts[_0xb579x13[_0xb326[21]]][_0xb326[23]]();delete timeouts[_0xb579x13[_0xb326[21]]];};ChatRoom[_0xb326[32]](_0xb579x13[_0xb326[31]])[_0xb326[28]](function(_0xb579x16){_0xb579x14=_0xb579x16;_0xb579x16[_0xb326[30]](_0xb579x13[_0xb326[29]],{individualHooks:true});})[_0xb326[28]](function(){_0xb579x14[_0xb326[27]]({status:_0xb326[26]})})[_0xb326[25]](function(_0xb579x15){console[_0xb326[24]](_0xb579x15)});ReportChat[_0xb326[27]]({agentringnoanswerAt:moment()[_0xb326[34]](_0xb326[33]),reason:_0xb326[35],lastevent:_0xb326[35]},{where:{uniqueid:_0xb579x13[_0xb326[21]],reason:null},individualHooks:true})[_0xb326[25]](function(_0xb579x15){console[_0xb326[24]](_0xb579x15)});ReportChatSession[_0xb326[27]]({chatleaveAt:moment()[_0xb326[34]](_0xb326[33]),agentid:_0xb579x13[_0xb326[29]],fullname:_0xb579x13[_0xb326[36]],membername:_0xb579x13[_0xb326[37]],chatqueuename:_0xb579x13[_0xb326[38]]},{where:{uniqueid:_0xb579x13[_0xb326[21]]},individualHooks:true})[_0xb326[25]](function(_0xb579x15){console[_0xb326[24]](_0xb579x15)});};});ChatVisitor[_0xb326[40]](function(_0xb579x13){onSave(_0xb579x10,_0xb579x13)});};function onSave(_0xb579xf,_0xb579x13,_0xb579x18){_0xb579xf[_0xb326[43]](_0xb326[17],_0xb579x13[_0xb326[42]])[_0xb326[41]]()}function onProcess(_0xb579x11,_0xb579x12){ChatWebsite[_0xb326[32]](_0xb579x11[_0xb326[49]].ChatWebsiteId,{include:[{model:ChatApplication,include:[{model:ChatQueue,include:[{model:User}]},{model:User},{model:Interval,include:[{all:true}]}]}]})[_0xb326[28]](function(ChatWebsite){if(!ChatWebsite){_0xb579x12( new Error(_0xb326[44]));return ;};if(!ChatWebsite[_0xb326[46]][_0xb326[45]]){_0xb579x12( new Error(_0xb326[47]));return ;};_0xb579x11[_0xb326[49]][_0xb326[48]]=_0xb579x11[_0xb326[49]][_0xb326[50]];var _0xb579x1a=_[_0xb326[51]](_0xb579x11[_0xb326[49]],ChatWebsite[_0xb326[42]]);ChatRoom[_0xb326[43]]({type:_0xb326[57],ChatVisitorId:_0xb579x1a[_0xb326[48]],ChatWebsiteId:_0xb579x1a[_0xb326[50]]},{include:[{all:true}]})[_0xb326[28]](function(_0xb579x16){onReportSession({uniqueid:_0xb579x1a[_0xb326[48]],chatroomid:_0xb579x16[_0xb326[50]],visitorname:_0xb579x1a[_0xb326[36]],visitoremail:_0xb579x1a[_0xb326[52]],websitename:_0xb579x1a[_0xb326[53]],websiteid:_0xb579x1a[_0xb326[50]],websiteaddress:_0xb579x1a[_0xb326[54]],chatjoinAt:moment()[_0xb326[34]](_0xb326[33])});_0xb579x1a[_0xb326[46]]=_[_0xb326[56]](_0xb579x1a.ChatApplications,_0xb326[55]);onInvite(_0xb579x1a,0,0,0,0,_0xb579x16,_0xb579x12);})[_0xb326[25]](function(_0xb579x15){console[_0xb326[24]](_0xb579x15)});})[_0xb326[25]](function(_0xb579x15){console[_0xb326[24]](_0xb579x15)})}function onInvite(_0xb579x1c,_0xb579x1d,_0xb579x1e,_0xb579x1f,_0xb579x20,_0xb579x16,_0xb579x12){console[_0xb326[62]](_0xb326[58],_0xb326[59],_0xb579x1d,_0xb326[60],_0xb579x1e,_0xb326[61],_0xb579x1f);var _0xb579x21=0;var _0xb579x22;if(_0xb579x1d===_0xb579x1c[_0xb326[46]][_0xb326[45]]){console[_0xb326[24]](_0xb326[47]);onReportSession({uniqueid:_0xb579x1c[_0xb326[48]],mailunmanagedAt:moment()[_0xb326[34]](_0xb326[33]),mailleaveAt:moment()[_0xb326[34]](_0xb326[33])});_0xb579x12( new Error(_0xb326[47]));return ;};if(_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[9]]){var _0xb579x23=_[_0xb326[64]](_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[9]].Users,{online:true})[_0xb326[63]];if(_0xb579x23&&onInterval(_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[11]]?_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[11]]:_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[65]])){if(_0xb579x1e===_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[9]][_0xb326[66]][_0xb326[45]]){if(_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[22]]>_0xb579x1f){onInvite(_0xb579x1c,_0xb579x1d,0,_0xb579x1f,_0xb579x20,_0xb579x16,_0xb579x12);return ;}else {onInvite(_0xb579x1c,++_0xb579x1d,0,0,_0xb579x20,_0xb579x16,_0xb579x12);return ;}};switch(_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[9]][_0xb326[81]]){case _0xb326[72]:if(_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[9]][_0xb326[66]][_0xb579x1e][_0xb326[67]]&&onInterval(_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[11]]?_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[11]]:_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[65]])){_0xb579x21=(((_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[22]]-_0xb579x1f)>_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[9]][_0xb326[22]])?_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[9]][_0xb326[22]]:(_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[22]]-_0xb579x1f));onReport({uniqueid:_0xb579x1c[_0xb326[48]],chatroomid:_0xb579x16[_0xb326[50]],visitorname:_0xb579x1c[_0xb326[36]],visitoremail:_0xb579x1c[_0xb326[52]],websitename:_0xb579x1c[_0xb326[53]],websiteid:_0xb579x1c[_0xb326[50]],websiteaddress:_0xb579x1c[_0xb326[54]],sorting:_0xb579x20,timeslot:_0xb579x21,application:_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[68]],fullname:_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[9]][_0xb326[66]][_0xb579x1e][_0xb326[36]],membername:_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[9]][_0xb326[66]][_0xb579x1e][_0xb326[53]],agentid:_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[9]][_0xb326[66]][_0xb579x1e][_0xb326[50]],chatqueuename:_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[9]][_0xb326[53]],lastevent:_0xb326[69],holdtime:_0xb579x1f,agentcalledAt:moment()[_0xb326[34]](_0xb326[33])});console[_0xb326[62]](_0xb326[70],_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[9]][_0xb326[53]],_0xb326[71],_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[9]][_0xb326[66]][_0xb579x1e][_0xb326[53]],_0xb326[22],_0xb579x21,_0xb326[61],_0xb579x1f);_0xb579x22=setTimeout(function(){onReportUpdate({uniqueid:_0xb579x1c[_0xb326[48]],count:_0xb579x20,reason:_0xb326[22],lastevent:_0xb326[22],agentringnoanswerAt:moment()[_0xb326[34]](_0xb326[33])});_0xb579x1f+=_0xb579x21;onInvite(_0xb579x1c,_0xb579x1d,++_0xb579x1e,_0xb579x1f,++_0xb579x20,_0xb579x16,_0xb579x12);return ;},_0xb579x21*1000);if(!timeouts[_0xb579x1c[_0xb326[48]]]){timeouts[_0xb579x1c[_0xb326[48]]]={}};timeouts[_0xb579x1c[_0xb326[48]]][_0xb326[22]]=_0xb579x22;timeouts[_0xb579x1c[_0xb326[48]]][_0xb326[23]]=_0xb579x12;}else {onInvite(_0xb579x1c,_0xb579x1d,++_0xb579x1e,_0xb579x1f,_0xb579x20,_0xb579x16,_0xb579x12);return ;};break ;;case _0xb326[79]:_0xb579x21=(((_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[22]]-_0xb579x1f)>_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[9]][_0xb326[22]])?_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[9]][_0xb326[22]]:(_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[22]]-_0xb579x1f));var _0xb579x24=[];_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[9]][_0xb326[66]][_0xb326[77]](function(_0xb579x25){if(_0xb579x25[_0xb326[67]]){_0xb579x24[_0xb326[76]]({uniqueid:_0xb579x1c[_0xb326[48]],chatroomid:_0xb579x16[_0xb326[50]],sorting:_0xb579x20,subject:_0xb579x1c[_0xb326[73]],timeslot:_0xb579x21,from:_0xb579x1c[_0xb326[74]],attachment:_0xb579x1c[_0xb326[75]],accountname:_0xb579x1c[_0xb326[53]],accountaddress:_0xb579x1c[_0xb326[54]],application:_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[68]],fullname:_0xb579x25[_0xb326[36]],membername:_0xb579x25[_0xb326[53]],agentid:_0xb579x25[_0xb326[50]],chatqueuename:_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[9]][_0xb326[53]],lastevent:_0xb326[69],holdtime:_0xb579x1f,agentcalledAt:moment()[_0xb326[34]](_0xb326[33]),visitorname:_0xb579x1c[_0xb326[36]],visitoremail:_0xb579x1c[_0xb326[52]],websitename:_0xb579x1c[_0xb326[53]],websiteid:_0xb579x1c[_0xb326[50]],websiteaddress:_0xb579x1c[_0xb326[54]]})}});if(_0xb579x24[_0xb326[45]]&&onInterval(_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[11]]?_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[11]]:_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[65]])){onReport(_0xb579x24,true);_0xb579x22=setTimeout(function(){console[_0xb326[62]](_0xb326[78],_0xb579x20);onReportUpdate({uniqueid:_0xb579x1c[_0xb326[48]],count:_0xb579x20,reason:_0xb326[22],lastevent:_0xb326[22],agentringnoanswerAt:moment()[_0xb326[34]](_0xb326[33])});_0xb579x1f+=_0xb579x21;_0xb579x1e+=_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[9]][_0xb326[66]][_0xb326[45]];onInvite(_0xb579x1c,_0xb579x1d,_0xb579x1e,_0xb579x1f,++_0xb579x20,_0xb579x16,_0xb579x12);return ;},_0xb579x21*1000);if(!timeouts[_0xb579x1c[_0xb326[48]]]){timeouts[_0xb579x1c[_0xb326[48]]]={}};timeouts[_0xb579x1c[_0xb326[48]]][_0xb326[22]]=_0xb579x22;timeouts[_0xb579x1c[_0xb326[48]]][_0xb326[23]]=_0xb579x12;}else {console[_0xb326[62]](_0xb326[70],_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[9]][_0xb326[53]],_0xb326[22],_0xb579x21,_0xb326[61],_0xb579x1f);onInvite(_0xb579x1c,++_0xb579x1d,0,0,_0xb579x20,_0xb579x16,_0xb579x12);return ;};break ;;default:console[_0xb326[24]](_0xb326[80]);;};}else {onInvite(_0xb579x1c,++_0xb579x1d,0,0,_0xb579x20,_0xb579x16,_0xb579x12);return ;};}else {_0xb579x21=_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[22]];if(_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[14]][_0xb326[67]]&&onInterval(_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[11]]?_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[11]]:_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[65]])){onReport({uniqueid:_0xb579x1c[_0xb326[48]],chatroomid:_0xb579x16[_0xb326[50]],sorting:_0xb579x20,subject:_0xb579x1c[_0xb326[73]],timeslot:_0xb579x21,from:_0xb579x1c[_0xb326[74]],attachment:_0xb579x1c[_0xb326[75]],accountname:_0xb579x1c[_0xb326[53]],accountaddress:_0xb579x1c[_0xb326[54]],application:_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[68]],fullname:_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[14]][_0xb326[36]],membername:_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[14]][_0xb326[53]],agentid:_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[14]][_0xb326[50]],lastevent:_0xb326[69],holdtime:_0xb579x1f,agentcalledAt:moment()[_0xb326[34]](_0xb326[33]),visitorname:_0xb579x1c[_0xb326[36]],visitoremail:_0xb579x1c[_0xb326[52]],websitename:_0xb579x1c[_0xb326[53]],websiteid:_0xb579x1c[_0xb326[50]],websiteaddress:_0xb579x1c[_0xb326[54]]});console[_0xb326[62]](_0xb326[71],_0xb579x1c[_0xb326[46]][_0xb579x1d][_0xb326[14]][_0xb326[53]],_0xb326[22],_0xb579x21,_0xb326[61],_0xb579x1f);_0xb579x22=setTimeout(function(){onReportUpdate({uniqueid:_0xb579x1c[_0xb326[48]],count:_0xb579x20,reason:_0xb326[22],lastevent:_0xb326[22],agentringnoanswerAt:moment()[_0xb326[34]](_0xb326[33])});onInvite(_0xb579x1c,++_0xb579x1d,0,0,_0xb579x20,_0xb579x16,_0xb579x12);return ;},_0xb579x21*1000);if(!timeouts[_0xb579x1c[_0xb326[48]]]){timeouts[_0xb579x1c[_0xb326[48]]]={}};timeouts[_0xb579x1c[_0xb326[48]]][_0xb326[22]]=_0xb579x22;timeouts[_0xb579x1c[_0xb326[48]]][_0xb326[23]]=_0xb579x12;}else {onInvite(_0xb579x1c,++_0xb579x1d,0,0,++_0xb579x20,_0xb579x16,_0xb579x12);return;};};}function onReport(_0xb579x27,_0xb579x28){if(_0xb579x28){ReportChat[_0xb326[82]](_0xb579x27,{individualHooks:true})[_0xb326[25]](function(_0xb579x15){console[_0xb326[24]](_0xb579x15)})}else {ReportChat[_0xb326[43]](_0xb579x27)[_0xb326[25]](function(_0xb579x15){console[_0xb326[24]](_0xb579x15)})}}function onReportSession(_0xb579x27){ReportChatSession[_0xb326[84]]({where:{uniqueid:_0xb579x27[_0xb326[21]]},defaults:_0xb579x27})[_0xb326[83]](function(ReportChatSession,_0xb579x2a){if(!_0xb579x2a){ReportChatSession[_0xb326[27]](_0xb579x27,{individualHooks:true})[_0xb326[25]](function(_0xb579x15){console[_0xb326[24]](_0xb579x15)})}})}function onReportUpdate(_0xb579x27){ReportChat[_0xb326[27]](_0xb579x27,{where:{uniqueid:_0xb579x27[_0xb326[21]],sorting:_0xb579x27[_0xb326[78]]},individualHooks:true})[_0xb326[25]](function(_0xb579x15){console[_0xb326[24]](_0xb579x15)})}function onInterval(_0xb579x2d){if(_[_0xb326[85]](_0xb579x2d)){for(var _0xb579x1d=0;_0xb579x1d<_0xb579x2d[_0xb326[86]][_0xb326[45]];_0xb579x1d++){if(!onCheckInterval(_0xb579x2d[_0xb326[86]][_0xb579x1d][_0xb326[65]])){return false}};return true;}else {return onCheckInterval(_0xb579x2d)}}function onCheckInterval(_0xb579x2d){var _0xb579x2f=[_0xb326[87],_0xb326[88],_0xb326[89],_0xb326[90],_0xb326[91],_0xb326[92],_0xb326[93]];var _0xb579x30=[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 _0xb579x31=[_0xb326[94],_0xb326[95],_0xb326[96],_0xb326[97],_0xb326[98],_0xb326[99],_0xb326[100],_0xb326[101],_0xb326[102],_0xb326[103],_0xb326[104],_0xb326[105]];var _0xb579x1d,_0xb579x32;var _0xb579x33=_0xb579x2d[_0xb326[107]](_0xb326[106])[0];var _0xb579x34=_0xb579x2d[_0xb326[107]](_0xb326[106])[1];var _0xb579x35=_0xb579x2d[_0xb326[107]](_0xb326[106])[2];var _0xb579x36=_0xb579x2d[_0xb326[107]](_0xb326[106])[3];if(_0xb579x33!==_0xb326[108]){var _0xb579x37=moment()[_0xb326[34]](_0xb326[109]);var _0xb579x38=_0xb579x33[_0xb326[107]](_0xb326[110])[0];var _0xb579x39=_0xb579x33[_0xb326[107]](_0xb326[110])[1];if((_0xb579x37<_0xb579x38)||(_0xb579x37>_0xb579x39)){console[_0xb326[62]](_0xb326[111]);return false;};};if(_0xb579x34!==_0xb326[108]){var _0xb579x3a=_0xb579x2f[moment()[_0xb326[112]]()];var _0xb579x3b=_[_0xb326[113]](_0xb579x2f,_0xb579x34[_0xb326[107]](_0xb326[110])[0]);var _0xb579x3c=_[_0xb326[113]](_0xb579x2f,_0xb579x34[_0xb326[107]](_0xb326[110])[1]);for(_0xb579x1d=0;_0xb579x1d<_0xb579x3b;_0xb579x1d++){_0xb579x32=_0xb579x2f[_0xb326[114]]();_0xb579x2f[_0xb326[76]](_0xb579x32);};_0xb579x3b=_[_0xb326[113]](_0xb579x2f,_0xb579x34[_0xb326[107]](_0xb326[110])[0]);_0xb579x3c=_[_0xb326[113]](_0xb579x2f,_0xb579x34[_0xb326[107]](_0xb326[110])[1])+1;_0xb579x2f=_0xb579x2f[_0xb326[115]](_0xb579x3b,_0xb579x3c);if(!_[_0xb326[116]](_0xb579x2f,_0xb579x3a)){console[_0xb326[62]](_0xb326[117]);return false;};};if(_0xb579x35!==_0xb326[108]){var _0xb579x3d=moment()[_0xb326[118]]();var _0xb579x3e=_[_0xb326[113]](_0xb579x30,parseInt(_0xb579x35[_0xb326[107]](_0xb326[110])[0],10));var _0xb579x3f=_[_0xb326[113]](_0xb579x30,parseInt(_0xb579x35[_0xb326[107]](_0xb326[110])[1]));for(_0xb579x1d=0;_0xb579x1d<_0xb579x3e;_0xb579x1d++){_0xb579x32=_0xb579x30[_0xb326[114]]();_0xb579x30[_0xb326[76]](_0xb579x32);};_0xb579x3e=_[_0xb326[113]](_0xb579x30,parseInt(_0xb579x35[_0xb326[107]](_0xb326[110])[0],10));_0xb579x3f=_[_0xb326[113]](_0xb579x30,parseInt(_0xb579x35[_0xb326[107]](_0xb326[110])[1]),10)+1;_0xb579x30=_0xb579x30[_0xb326[115]](_0xb579x3e,_0xb579x3f);if(!_[_0xb326[116]](_0xb579x30,_0xb579x3d)){console[_0xb326[62]](_0xb326[119]);return false;};};if(_0xb579x36!==_0xb326[108]){var _0xb579x40=_0xb579x31[moment()[_0xb326[120]]()];var _0xb579x41=_[_0xb326[113]](_0xb579x31,_0xb579x36[_0xb326[107]](_0xb326[110])[0]);var _0xb579x42=_[_0xb326[113]](_0xb579x31,_0xb579x36[_0xb326[107]](_0xb326[110])[1]);for(_0xb579x1d=0;_0xb579x1d<_0xb579x41;_0xb579x1d++){_0xb579x32=_0xb579x31[_0xb326[114]]();_0xb579x31[_0xb326[76]](_0xb579x32);};_0xb579x41=_[_0xb326[113]](_0xb579x31,_0xb579x36[_0xb326[107]](_0xb326[110])[0]);_0xb579x42=_[_0xb326[113]](_0xb579x31,_0xb579x36[_0xb326[107]](_0xb326[110])[1])+1;_0xb579x31=_0xb579x31[_0xb326[115]](_0xb579x41,_0xb579x42);if(!_[_0xb326[116]](_0xb579x31,_0xb579x40)){console[_0xb326[62]](_0xb326[121]);return false;};};console[_0xb326[62]](_0xb326[122]);return true;}
\ No newline at end of file
+var _0x3d6c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x6D\x64\x35","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\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\x51\x75\x65\x75\x65","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x49\x6E\x74\x65\x72\x76\x61\x6C","\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","\x55\x73\x65\x72","\x65\x78\x70\x6F\x72\x74\x73","\x63\x72\x65\x61\x74\x65\x51\x75\x65\x75\x65","\x63\x68\x61\x74","\x70\x72\x6F\x63\x65\x73\x73","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x41\x74","\x63\x68\x61\x6E\x67\x65\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x74\x69\x6D\x65\x6F\x75\x74","\x64\x6F\x6E\x65","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6F\x70\x65\x6E","\x75\x70\x64\x61\x74\x65","\x74\x68\x65\x6E","\x61\x67\x65\x6E\x74\x69\x64","\x61\x64\x64\x55\x73\x65\x72","\x63\x68\x61\x74\x72\x6F\x6F\x6D\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\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","\x61\x6E\x73\x77\x65\x72\x65\x64\x5F\x65\x6C\x73\x65\x77\x68\x65\x72\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x63\x68\x61\x74\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x73\x61\x76\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x63\x72\x65\x61\x74\x65","\x4E\x6F\x20\x41\x76\x61\x69\x6C\x61\x62\x6C\x65\x20\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2E\x2E","\x6C\x65\x6E\x67\x74\x68","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x44\x69\x61\x6C\x50\x6C\x61\x6E\x20\x65\x6E\x64\x65\x64\x2E\x2E","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72\x49\x64","\x64\x61\x74\x61","\x69\x64","\x6D\x65\x72\x67\x65","\x65\x6D\x61\x69\x6C","\x6E\x61\x6D\x65","\x61\x64\x64\x72\x65\x73\x73","\x70\x72\x69\x6F\x72\x69\x74\x79","\x73\x6F\x72\x74\x42\x79","\x65\x78\x74\x65\x72\x6E\x61\x6C","\x69\x6E\x76\x69\x74\x65","\x69","\x6A","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x6C\x6F\x67","\x74\x72\x75\x65","\x63\x6F\x75\x6E\x74\x42\x79","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x55\x73\x65\x72\x73","\x6F\x6E\x6C\x69\x6E\x65","\x61\x70\x70","\x63\x61\x6C\x6C\x65\x64","\x71\x75\x65\x75\x65","\x61\x67\x65\x6E\x74","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x73\x75\x62\x6A\x65\x63\x74","\x66\x72\x6F\x6D","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x63\x6F\x75\x6E\x74","\x62\x65\x65\x70\x61\x6C\x6C","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x73\x74\x72\x61\x74\x65\x67\x79","\x73\x74\x72\x61\x74\x65\x67\x79","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x73\x70\x72\x65\x61\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x69\x73\x4F\x62\x6A\x65\x63\x74","\x53\x75\x62\x49\x6E\x74\x65\x72\x76\x61\x6C\x73","\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","\x2D","\x54\x52\x41\x4E\x47\x45\x20\x4B\x4F","\x64\x61\x79","\x69\x6E\x64\x65\x78\x4F\x66","\x73\x68\x69\x66\x74","\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"];_0x3d6c[0];var _=require(_0x3d6c[1]);var moment=require(_0x3d6c[2]);var md5=require(_0x3d6c[3]);var ChatApplication=require(_0x3d6c[5])[_0x3d6c[4]];var ChatWebsite=require(_0x3d6c[5])[_0x3d6c[6]];var ChatVisitor=require(_0x3d6c[5])[_0x3d6c[7]];var ChatMessage=require(_0x3d6c[5])[_0x3d6c[8]];var ChatQueue=require(_0x3d6c[5])[_0x3d6c[9]];var ChatRoom=require(_0x3d6c[5])[_0x3d6c[10]];var Interval=require(_0x3d6c[5])[_0x3d6c[11]];var ReportChatSession=require(_0x3d6c[5])[_0x3d6c[12]];var ReportChat=require(_0x3d6c[5])[_0x3d6c[13]];var User=require(_0x3d6c[5])[_0x3d6c[14]];var timeouts={};module[_0x3d6c[15]]=function(_0x7936xf){var _0x7936x10=_0x7936xf[_0x3d6c[16]]();_0x7936x10[_0x3d6c[18]](_0x3d6c[17],20,function(_0x7936x11,_0x7936x12){onProcess(_0x7936x11,_0x7936x12)});ReportChat[_0x3d6c[39]](function(_0x7936x13){var _0x7936x14;if(_0x7936x13[_0x3d6c[20]](_0x3d6c[19])){if(timeouts[_0x7936x13[_0x3d6c[21]]]){clearTimeout(timeouts[_0x7936x13[_0x3d6c[21]]][_0x3d6c[22]]);timeouts[_0x7936x13[_0x3d6c[21]]][_0x3d6c[23]]();delete timeouts[_0x7936x13[_0x3d6c[21]]];};ChatRoom[_0x3d6c[32]](_0x7936x13[_0x3d6c[31]])[_0x3d6c[28]](function(_0x7936x16){_0x7936x14=_0x7936x16;_0x7936x16[_0x3d6c[30]](_0x7936x13[_0x3d6c[29]],{individualHooks:true});})[_0x3d6c[28]](function(){_0x7936x14[_0x3d6c[27]]({status:_0x3d6c[26]})})[_0x3d6c[25]](function(_0x7936x15){console[_0x3d6c[24]](_0x7936x15)});ReportChat[_0x3d6c[27]]({agentringnoanswerAt:moment()[_0x3d6c[34]](_0x3d6c[33]),reason:_0x3d6c[35],lastevent:_0x3d6c[35]},{where:{uniqueid:_0x7936x13[_0x3d6c[21]],reason:null},individualHooks:true})[_0x3d6c[25]](function(_0x7936x15){console[_0x3d6c[24]](_0x7936x15)});ReportChatSession[_0x3d6c[27]]({chatleaveAt:moment()[_0x3d6c[34]](_0x3d6c[33]),agentid:_0x7936x13[_0x3d6c[29]],fullname:_0x7936x13[_0x3d6c[36]],membername:_0x7936x13[_0x3d6c[37]],chatqueuename:_0x7936x13[_0x3d6c[38]]},{where:{uniqueid:_0x7936x13[_0x3d6c[21]]},individualHooks:true})[_0x3d6c[25]](function(_0x7936x15){console[_0x3d6c[24]](_0x7936x15)});};});ChatVisitor[_0x3d6c[40]](function(_0x7936x13){onSave(_0x7936x10,_0x7936x13)});};function onSave(_0x7936xf,_0x7936x13,_0x7936x18){_0x7936xf[_0x3d6c[43]](_0x3d6c[17],_0x7936x13[_0x3d6c[42]])[_0x3d6c[41]]()}function onProcess(_0x7936x11,_0x7936x12){ChatWebsite[_0x3d6c[32]](_0x7936x11[_0x3d6c[49]].ChatWebsiteId,{include:[{model:ChatApplication,include:[{model:ChatQueue,include:[{model:User}]},{model:User},{model:Interval,include:[{all:true}]}]}]})[_0x3d6c[28]](function(ChatWebsite){if(!ChatWebsite){_0x7936x12( new Error(_0x3d6c[44]));return ;};if(!ChatWebsite[_0x3d6c[46]][_0x3d6c[45]]){_0x7936x12( new Error(_0x3d6c[47]));return ;};_0x7936x11[_0x3d6c[49]][_0x3d6c[48]]=_0x7936x11[_0x3d6c[49]][_0x3d6c[50]];var _0x7936x1a=_[_0x3d6c[51]](_0x7936x11[_0x3d6c[49]],ChatWebsite[_0x3d6c[42]]);ChatRoom[_0x3d6c[43]]({type:_0x3d6c[57],ChatVisitorId:_0x7936x1a[_0x3d6c[48]],ChatWebsiteId:_0x7936x1a[_0x3d6c[50]]},{include:[{all:true}]})[_0x3d6c[28]](function(_0x7936x16){onReportSession({uniqueid:_0x7936x1a[_0x3d6c[48]],chatroomid:_0x7936x16[_0x3d6c[50]],visitorname:_0x7936x1a[_0x3d6c[36]],visitoremail:_0x7936x1a[_0x3d6c[52]],websitename:_0x7936x1a[_0x3d6c[53]],websiteid:_0x7936x1a[_0x3d6c[50]],websiteaddress:_0x7936x1a[_0x3d6c[54]],chatjoinAt:moment()[_0x3d6c[34]](_0x3d6c[33])});_0x7936x1a[_0x3d6c[46]]=_[_0x3d6c[56]](_0x7936x1a.ChatApplications,_0x3d6c[55]);onInvite(_0x7936x1a,0,0,0,0,_0x7936x16,_0x7936x12);})[_0x3d6c[25]](function(_0x7936x15){console[_0x3d6c[24]](_0x7936x15)});})[_0x3d6c[25]](function(_0x7936x15){console[_0x3d6c[24]](_0x7936x15)})}function onInvite(_0x7936x1c,_0x7936x1d,_0x7936x1e,_0x7936x1f,_0x7936x20,_0x7936x16,_0x7936x12){console[_0x3d6c[62]](_0x3d6c[58],_0x3d6c[59],_0x7936x1d,_0x3d6c[60],_0x7936x1e,_0x3d6c[61],_0x7936x1f);var _0x7936x21=0;var _0x7936x22;if(_0x7936x1d===_0x7936x1c[_0x3d6c[46]][_0x3d6c[45]]){console[_0x3d6c[24]](_0x3d6c[47]);onReportSession({uniqueid:_0x7936x1c[_0x3d6c[48]],mailunmanagedAt:moment()[_0x3d6c[34]](_0x3d6c[33]),mailleaveAt:moment()[_0x3d6c[34]](_0x3d6c[33])});_0x7936x12( new Error(_0x3d6c[47]));return ;};if(_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[9]]){var _0x7936x23=_[_0x3d6c[64]](_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[9]].Users,{online:true})[_0x3d6c[63]];if(_0x7936x23&&onInterval(_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[11]]?_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[11]]:_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[65]])){if(_0x7936x1e===_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[9]][_0x3d6c[66]][_0x3d6c[45]]){if(_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[22]]>_0x7936x1f){onInvite(_0x7936x1c,_0x7936x1d,0,_0x7936x1f,_0x7936x20,_0x7936x16,_0x7936x12);return ;}else {onInvite(_0x7936x1c,++_0x7936x1d,0,0,_0x7936x20,_0x7936x16,_0x7936x12);return ;}};switch(_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[9]][_0x3d6c[81]]){case _0x3d6c[72]:if(_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[9]][_0x3d6c[66]][_0x7936x1e][_0x3d6c[67]]&&onInterval(_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[11]]?_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[11]]:_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[65]])){_0x7936x21=(((_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[22]]-_0x7936x1f)>_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[9]][_0x3d6c[22]])?_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[9]][_0x3d6c[22]]:(_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[22]]-_0x7936x1f));onReport({uniqueid:_0x7936x1c[_0x3d6c[48]],chatroomid:_0x7936x16[_0x3d6c[50]],visitorname:_0x7936x1c[_0x3d6c[36]],visitoremail:_0x7936x1c[_0x3d6c[52]],websitename:_0x7936x1c[_0x3d6c[53]],websiteid:_0x7936x1c[_0x3d6c[50]],websiteaddress:_0x7936x1c[_0x3d6c[54]],sorting:_0x7936x20,timeslot:_0x7936x21,application:_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[68]],fullname:_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[9]][_0x3d6c[66]][_0x7936x1e][_0x3d6c[36]],membername:_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[9]][_0x3d6c[66]][_0x7936x1e][_0x3d6c[53]],agentid:_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[9]][_0x3d6c[66]][_0x7936x1e][_0x3d6c[50]],chatqueuename:_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[9]][_0x3d6c[53]],lastevent:_0x3d6c[69],holdtime:_0x7936x1f,agentcalledAt:moment()[_0x3d6c[34]](_0x3d6c[33])});console[_0x3d6c[62]](_0x3d6c[70],_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[9]][_0x3d6c[53]],_0x3d6c[71],_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[9]][_0x3d6c[66]][_0x7936x1e][_0x3d6c[53]],_0x3d6c[22],_0x7936x21,_0x3d6c[61],_0x7936x1f);_0x7936x22=setTimeout(function(){onReportUpdate({uniqueid:_0x7936x1c[_0x3d6c[48]],count:_0x7936x20,reason:_0x3d6c[22],lastevent:_0x3d6c[22],agentringnoanswerAt:moment()[_0x3d6c[34]](_0x3d6c[33])});_0x7936x1f+=_0x7936x21;onInvite(_0x7936x1c,_0x7936x1d,++_0x7936x1e,_0x7936x1f,++_0x7936x20,_0x7936x16,_0x7936x12);return ;},_0x7936x21*1000);if(!timeouts[_0x7936x1c[_0x3d6c[48]]]){timeouts[_0x7936x1c[_0x3d6c[48]]]={}};timeouts[_0x7936x1c[_0x3d6c[48]]][_0x3d6c[22]]=_0x7936x22;timeouts[_0x7936x1c[_0x3d6c[48]]][_0x3d6c[23]]=_0x7936x12;}else {onInvite(_0x7936x1c,_0x7936x1d,++_0x7936x1e,_0x7936x1f,_0x7936x20,_0x7936x16,_0x7936x12);return ;};break ;;case _0x3d6c[79]:_0x7936x21=(((_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[22]]-_0x7936x1f)>_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[9]][_0x3d6c[22]])?_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[9]][_0x3d6c[22]]:(_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[22]]-_0x7936x1f));var _0x7936x24=[];_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[9]][_0x3d6c[66]][_0x3d6c[77]](function(_0x7936x25){if(_0x7936x25[_0x3d6c[67]]){_0x7936x24[_0x3d6c[76]]({uniqueid:_0x7936x1c[_0x3d6c[48]],chatroomid:_0x7936x16[_0x3d6c[50]],sorting:_0x7936x20,subject:_0x7936x1c[_0x3d6c[73]],timeslot:_0x7936x21,from:_0x7936x1c[_0x3d6c[74]],attachment:_0x7936x1c[_0x3d6c[75]],accountname:_0x7936x1c[_0x3d6c[53]],accountaddress:_0x7936x1c[_0x3d6c[54]],application:_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[68]],fullname:_0x7936x25[_0x3d6c[36]],membername:_0x7936x25[_0x3d6c[53]],agentid:_0x7936x25[_0x3d6c[50]],chatqueuename:_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[9]][_0x3d6c[53]],lastevent:_0x3d6c[69],holdtime:_0x7936x1f,agentcalledAt:moment()[_0x3d6c[34]](_0x3d6c[33]),visitorname:_0x7936x1c[_0x3d6c[36]],visitoremail:_0x7936x1c[_0x3d6c[52]],websitename:_0x7936x1c[_0x3d6c[53]],websiteid:_0x7936x1c[_0x3d6c[50]],websiteaddress:_0x7936x1c[_0x3d6c[54]]})}});if(_0x7936x24[_0x3d6c[45]]&&onInterval(_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[11]]?_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[11]]:_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[65]])){onReport(_0x7936x24,true);_0x7936x22=setTimeout(function(){console[_0x3d6c[62]](_0x3d6c[78],_0x7936x20);onReportUpdate({uniqueid:_0x7936x1c[_0x3d6c[48]],count:_0x7936x20,reason:_0x3d6c[22],lastevent:_0x3d6c[22],agentringnoanswerAt:moment()[_0x3d6c[34]](_0x3d6c[33])});_0x7936x1f+=_0x7936x21;_0x7936x1e+=_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[9]][_0x3d6c[66]][_0x3d6c[45]];onInvite(_0x7936x1c,_0x7936x1d,_0x7936x1e,_0x7936x1f,++_0x7936x20,_0x7936x16,_0x7936x12);return ;},_0x7936x21*1000);if(!timeouts[_0x7936x1c[_0x3d6c[48]]]){timeouts[_0x7936x1c[_0x3d6c[48]]]={}};timeouts[_0x7936x1c[_0x3d6c[48]]][_0x3d6c[22]]=_0x7936x22;timeouts[_0x7936x1c[_0x3d6c[48]]][_0x3d6c[23]]=_0x7936x12;}else {console[_0x3d6c[62]](_0x3d6c[70],_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[9]][_0x3d6c[53]],_0x3d6c[22],_0x7936x21,_0x3d6c[61],_0x7936x1f);onInvite(_0x7936x1c,++_0x7936x1d,0,0,_0x7936x20,_0x7936x16,_0x7936x12);return ;};break ;;default:console[_0x3d6c[24]](_0x3d6c[80]);;};}else {onInvite(_0x7936x1c,++_0x7936x1d,0,0,_0x7936x20,_0x7936x16,_0x7936x12);return ;};}else {_0x7936x21=_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[22]];if(_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[14]][_0x3d6c[67]]&&onInterval(_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[11]]?_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[11]]:_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[65]])){onReport({uniqueid:_0x7936x1c[_0x3d6c[48]],chatroomid:_0x7936x16[_0x3d6c[50]],sorting:_0x7936x20,subject:_0x7936x1c[_0x3d6c[73]],timeslot:_0x7936x21,from:_0x7936x1c[_0x3d6c[74]],attachment:_0x7936x1c[_0x3d6c[75]],accountname:_0x7936x1c[_0x3d6c[53]],accountaddress:_0x7936x1c[_0x3d6c[54]],application:_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[68]],fullname:_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[14]][_0x3d6c[36]],membername:_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[14]][_0x3d6c[53]],agentid:_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[14]][_0x3d6c[50]],lastevent:_0x3d6c[69],holdtime:_0x7936x1f,agentcalledAt:moment()[_0x3d6c[34]](_0x3d6c[33]),visitorname:_0x7936x1c[_0x3d6c[36]],visitoremail:_0x7936x1c[_0x3d6c[52]],websitename:_0x7936x1c[_0x3d6c[53]],websiteid:_0x7936x1c[_0x3d6c[50]],websiteaddress:_0x7936x1c[_0x3d6c[54]]});console[_0x3d6c[62]](_0x3d6c[71],_0x7936x1c[_0x3d6c[46]][_0x7936x1d][_0x3d6c[14]][_0x3d6c[53]],_0x3d6c[22],_0x7936x21,_0x3d6c[61],_0x7936x1f);_0x7936x22=setTimeout(function(){onReportUpdate({uniqueid:_0x7936x1c[_0x3d6c[48]],count:_0x7936x20,reason:_0x3d6c[22],lastevent:_0x3d6c[22],agentringnoanswerAt:moment()[_0x3d6c[34]](_0x3d6c[33])});onInvite(_0x7936x1c,++_0x7936x1d,0,0,_0x7936x20,_0x7936x16,_0x7936x12);return ;},_0x7936x21*1000);if(!timeouts[_0x7936x1c[_0x3d6c[48]]]){timeouts[_0x7936x1c[_0x3d6c[48]]]={}};timeouts[_0x7936x1c[_0x3d6c[48]]][_0x3d6c[22]]=_0x7936x22;timeouts[_0x7936x1c[_0x3d6c[48]]][_0x3d6c[23]]=_0x7936x12;}else {onInvite(_0x7936x1c,++_0x7936x1d,0,0,++_0x7936x20,_0x7936x16,_0x7936x12);return;};};}function onReport(_0x7936x27,_0x7936x28){if(_0x7936x28){ReportChat[_0x3d6c[82]](_0x7936x27,{individualHooks:true})[_0x3d6c[25]](function(_0x7936x15){console[_0x3d6c[24]](_0x7936x15)})}else {ReportChat[_0x3d6c[43]](_0x7936x27)[_0x3d6c[25]](function(_0x7936x15){console[_0x3d6c[24]](_0x7936x15)})}}function onReportSession(_0x7936x27){ReportChatSession[_0x3d6c[84]]({where:{uniqueid:_0x7936x27[_0x3d6c[21]]},defaults:_0x7936x27})[_0x3d6c[83]](function(ReportChatSession,_0x7936x2a){if(!_0x7936x2a){ReportChatSession[_0x3d6c[27]](_0x7936x27,{individualHooks:true})[_0x3d6c[25]](function(_0x7936x15){console[_0x3d6c[24]](_0x7936x15)})}})}function onReportUpdate(_0x7936x27){ReportChat[_0x3d6c[27]](_0x7936x27,{where:{uniqueid:_0x7936x27[_0x3d6c[21]],sorting:_0x7936x27[_0x3d6c[78]]},individualHooks:true})[_0x3d6c[25]](function(_0x7936x15){console[_0x3d6c[24]](_0x7936x15)})}function onInterval(_0x7936x2d){if(_[_0x3d6c[85]](_0x7936x2d)){for(var _0x7936x1d=0;_0x7936x1d<_0x7936x2d[_0x3d6c[86]][_0x3d6c[45]];_0x7936x1d++){if(!onCheckInterval(_0x7936x2d[_0x3d6c[86]][_0x7936x1d][_0x3d6c[65]])){return false}};return true;}else {return onCheckInterval(_0x7936x2d)}}function onCheckInterval(_0x7936x2d){var _0x7936x2f=[_0x3d6c[87],_0x3d6c[88],_0x3d6c[89],_0x3d6c[90],_0x3d6c[91],_0x3d6c[92],_0x3d6c[93]];var _0x7936x30=[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 _0x7936x31=[_0x3d6c[94],_0x3d6c[95],_0x3d6c[96],_0x3d6c[97],_0x3d6c[98],_0x3d6c[99],_0x3d6c[100],_0x3d6c[101],_0x3d6c[102],_0x3d6c[103],_0x3d6c[104],_0x3d6c[105]];var _0x7936x1d,_0x7936x32;var _0x7936x33=_0x7936x2d[_0x3d6c[107]](_0x3d6c[106])[0];var _0x7936x34=_0x7936x2d[_0x3d6c[107]](_0x3d6c[106])[1];var _0x7936x35=_0x7936x2d[_0x3d6c[107]](_0x3d6c[106])[2];var _0x7936x36=_0x7936x2d[_0x3d6c[107]](_0x3d6c[106])[3];if(_0x7936x33!==_0x3d6c[108]){var _0x7936x37=moment()[_0x3d6c[34]](_0x3d6c[109]);var _0x7936x38=_0x7936x33[_0x3d6c[107]](_0x3d6c[110])[0];var _0x7936x39=_0x7936x33[_0x3d6c[107]](_0x3d6c[110])[1];if((_0x7936x37<_0x7936x38)||(_0x7936x37>_0x7936x39)){console[_0x3d6c[62]](_0x3d6c[111]);return false;};};if(_0x7936x34!==_0x3d6c[108]){var _0x7936x3a=_0x7936x2f[moment()[_0x3d6c[112]]()];var _0x7936x3b=_[_0x3d6c[113]](_0x7936x2f,_0x7936x34[_0x3d6c[107]](_0x3d6c[110])[0]);var _0x7936x3c=_[_0x3d6c[113]](_0x7936x2f,_0x7936x34[_0x3d6c[107]](_0x3d6c[110])[1]);for(_0x7936x1d=0;_0x7936x1d<_0x7936x3b;_0x7936x1d++){_0x7936x32=_0x7936x2f[_0x3d6c[114]]();_0x7936x2f[_0x3d6c[76]](_0x7936x32);};_0x7936x3b=_[_0x3d6c[113]](_0x7936x2f,_0x7936x34[_0x3d6c[107]](_0x3d6c[110])[0]);_0x7936x3c=_[_0x3d6c[113]](_0x7936x2f,_0x7936x34[_0x3d6c[107]](_0x3d6c[110])[1])+1;_0x7936x2f=_0x7936x2f[_0x3d6c[115]](_0x7936x3b,_0x7936x3c);if(!_[_0x3d6c[116]](_0x7936x2f,_0x7936x3a)){console[_0x3d6c[62]](_0x3d6c[117]);return false;};};if(_0x7936x35!==_0x3d6c[108]){var _0x7936x3d=moment()[_0x3d6c[118]]();var _0x7936x3e=_[_0x3d6c[113]](_0x7936x30,parseInt(_0x7936x35[_0x3d6c[107]](_0x3d6c[110])[0],10));var _0x7936x3f=_[_0x3d6c[113]](_0x7936x30,parseInt(_0x7936x35[_0x3d6c[107]](_0x3d6c[110])[1]));for(_0x7936x1d=0;_0x7936x1d<_0x7936x3e;_0x7936x1d++){_0x7936x32=_0x7936x30[_0x3d6c[114]]();_0x7936x30[_0x3d6c[76]](_0x7936x32);};_0x7936x3e=_[_0x3d6c[113]](_0x7936x30,parseInt(_0x7936x35[_0x3d6c[107]](_0x3d6c[110])[0],10));_0x7936x3f=_[_0x3d6c[113]](_0x7936x30,parseInt(_0x7936x35[_0x3d6c[107]](_0x3d6c[110])[1]),10)+1;_0x7936x30=_0x7936x30[_0x3d6c[115]](_0x7936x3e,_0x7936x3f);if(!_[_0x3d6c[116]](_0x7936x30,_0x7936x3d)){console[_0x3d6c[62]](_0x3d6c[119]);return false;};};if(_0x7936x36!==_0x3d6c[108]){var _0x7936x40=_0x7936x31[moment()[_0x3d6c[120]]()];var _0x7936x41=_[_0x3d6c[113]](_0x7936x31,_0x7936x36[_0x3d6c[107]](_0x3d6c[110])[0]);var _0x7936x42=_[_0x3d6c[113]](_0x7936x31,_0x7936x36[_0x3d6c[107]](_0x3d6c[110])[1]);for(_0x7936x1d=0;_0x7936x1d<_0x7936x41;_0x7936x1d++){_0x7936x32=_0x7936x31[_0x3d6c[114]]();_0x7936x31[_0x3d6c[76]](_0x7936x32);};_0x7936x41=_[_0x3d6c[113]](_0x7936x31,_0x7936x36[_0x3d6c[107]](_0x3d6c[110])[0]);_0x7936x42=_[_0x3d6c[113]](_0x7936x31,_0x7936x36[_0x3d6c[107]](_0x3d6c[110])[1])+1;_0x7936x31=_0x7936x31[_0x3d6c[115]](_0x7936x41,_0x7936x42);if(!_[_0x3d6c[116]](_0x7936x31,_0x7936x40)){console[_0x3d6c[62]](_0x3d6c[121]);return false;};};console[_0x3d6c[62]](_0x3d6c[122]);return true;}
\ No newline at end of file
index 73aacbc..562012d 100644 (file)
@@ -1 +1 @@
-var _0x8eb4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x61\x73\x79\x6E\x63","\x55\x73\x65\x72","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x45\x76\x65\x6E\x74","\x46\x61\x78\x51\x75\x65\x75\x65","\x6C\x65\x6E\x67\x74\x68","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x55\x4E\x41\x53\x53\x49\x47\x4E\x45\x44","\x46\x41\x58","\x72\x6F\x6F\x6D\x49\x64","\x61\x63\x63\x6F\x75\x6E\x74\x49\x64","\x70\x75\x73\x68","\x44\x69\x61\x6C\x50\x6C\x61\x6E\x20\x65\x6E\x64\x65\x64\x2E\x2E","\x74\x69\x6D\x65\x6F\x75\x74","\x41\x54\x54\x45\x4D\x50\x54","\x69\x64","\x75\x73\x65\x72\x73","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x66\x6F\x72\x45\x61\x63\x68","\x62\x65\x65\x70\x61\x6C\x6C","\x53\x74\x72\x61\x74\x65\x67\x79\x20\x75\x6E\x6B\x6E\x6F\x77\x6E\x2E\x2E","\x6C\x6F\x67","\x73\x74\x72\x61\x74\x65\x67\x79","\x46\x41\x58\x3A\x51\x55\x45\x55\x45\x3A","\x41\x53\x53\x49\x47\x4E\x45\x44","\x46\x41\x58\x3A\x41\x47\x45\x4E\x54\x3A","\x75\x73\x65\x72\x49\x64","\x64\x61\x74\x61","\x61\x67\x65\x6E\x74","\x55\x73\x65\x72\x73","\x71\x75\x65\x75\x65","\x61\x70\x70","\x77\x61\x74\x65\x72\x66\x61\x6C\x6C","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x72\x65\x61\x74\x65\x51\x75\x65\x75\x65","\x66\x61\x78","\x70\x72\x6F\x63\x65\x73\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\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\x6B\x75\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x71\x75\x65\x72\x79","\x68\x61\x6E\x64\x73\x68\x61\x6B\x65","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x6F\x6E"];_0x8eb4[0];var _=require(_0x8eb4[1]);var config=require(_0x8eb4[2]);var async=require(_0x8eb4[3]);var sockets={};var User=require(_0x8eb4[5])[_0x8eb4[4]];var Event=require(_0x8eb4[5])[_0x8eb4[6]];var FaxQueue=require(_0x8eb4[5])[_0x8eb4[7]];function invite(_0xc96ax9,_0xc96axa,_0xc96axb,_0xc96axc,_0xc96axd){var _0xc96axe=0;var _0xc96axf=0;var _0xc96ax10=[];var _0xc96ax11=[];if(_0xc96axa===_0xc96ax9[_0x8eb4[9]][_0x8eb4[8]]){_0xc96ax10[_0x8eb4[14]]({name:_0x8eb4[10],channel:_0x8eb4[11],FaxRoomId:_0xc96ax9[_0x8eb4[12]],FaxAccountId:_0xc96ax9[_0x8eb4[13]]});traceEvent(_0xc96ax10,function(){});_0xc96axd( new Error(_0x8eb4[15]));return ;};if(_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]]){_0xc96axf=(((_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[16]]-_0xc96axe)>_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]][_0x8eb4[16]])?_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]][_0x8eb4[16]]:(_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[16]]-_0xc96axe));switch(_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]][_0x8eb4[25]]){case _0x8eb4[20]:_0xc96ax10[_0x8eb4[14]]({name:_0x8eb4[17],channel:_0x8eb4[11],timeout:_0xc96axf,UserId:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[19]][_0xc96axb][_0x8eb4[18]],FaxRoomId:_0xc96ax9[_0x8eb4[12]],FaxQueueId:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]]?_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]][_0x8eb4[18]]:null,FaxAccountId:_0xc96ax9[_0x8eb4[13]],FaxApplicationId:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[18]]});_0xc96ax11[_0x8eb4[14]](_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[19]][_0xc96axb][_0x8eb4[18]]);break ;;case _0x8eb4[22]:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[19]][_0x8eb4[21]](function(_0xc96ax12){var _0xc96ax13={name:_0x8eb4[17],channel:_0x8eb4[11],timeout:_0xc96axf,UserId:_0xc96ax12[_0x8eb4[18]],FaxRoomId:_0xc96ax9[_0x8eb4[12]],FaxQueueId:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]]?_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]][_0x8eb4[18]]:null,FaxAccountId:_0xc96ax9[_0x8eb4[13]],FaxApplicationId:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[18]]};_0xc96ax10[_0x8eb4[14]](_0xc96ax13);_0xc96ax11[_0x8eb4[14]](_0xc96ax12[_0x8eb4[18]]);});break ;;default:console[_0x8eb4[24]](_0x8eb4[23]);;};traceEvent(_0xc96ax10,function(){emitEvent(_0xc96ax11,_0x8eb4[26]+_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]][_0x8eb4[18]],{timeout:_0xc96axf,roomId:_0xc96ax9[_0x8eb4[12]]},function(_0xc96ax14){clearInterval(_0xc96ax15);clearTimeout(_0xc96ax16);var _0xc96ax10=[{name:_0x8eb4[27],channel:_0x8eb4[11],timeout:_0xc96axf,UserId:_0xc96ax14,FaxRoomId:_0xc96ax9[_0x8eb4[12]],FaxQueueId:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]]?_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]][_0x8eb4[18]]:null,FaxAccountId:_0xc96ax9[_0x8eb4[13]],FaxApplicationId:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[18]]}];traceEvent(_0xc96ax10,function(){_0xc96axd()});})});}else {_0xc96axf=_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[16]];_0xc96ax11[_0x8eb4[14]](_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[19]][_0xc96axb][_0x8eb4[18]]);_0xc96ax10=[{name:_0x8eb4[17],channel:_0x8eb4[11],timeout:_0xc96axf,UserId:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[19]][_0xc96axb][_0x8eb4[18]],FaxRoomId:_0xc96ax9[_0x8eb4[12]],FaxQueueId:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]]?_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]][_0x8eb4[18]]:null,FaxAccountId:_0xc96ax9[_0x8eb4[13]],FaxApplicationId:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[18]]}];traceEvent(_0xc96ax10,function(){emitEvent(_0xc96ax11,_0x8eb4[28]+_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[19]][_0xc96axb][_0x8eb4[18]],{timeout:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[16]],roomId:_0xc96ax9[_0x8eb4[12]]},function(_0xc96ax14){clearInterval(_0xc96ax15);clearTimeout(_0xc96ax16);var _0xc96ax10=[{name:_0x8eb4[27],channel:_0x8eb4[11],timeout:_0xc96axf,UserId:_0xc96ax14,FaxRoomId:_0xc96ax9[_0x8eb4[12]],FaxQueueId:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]]?_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]][_0x8eb4[18]]:null,FaxAccountId:_0xc96ax9[_0x8eb4[13]],FaxApplicationId:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[18]]}];traceEvent(_0xc96ax10,function(){_0xc96axd()});})});};var _0xc96ax15=setInterval(function(){var _0xc96axf=0;_0xc96axb++;if(_0xc96axb===_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[19]][_0x8eb4[8]]){_0xc96axb=0};if(_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]]){_0xc96axe+=_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]][_0x8eb4[16]];_0xc96axf=(((_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[16]]-_0xc96axe)>_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]][_0x8eb4[16]])?_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]][_0x8eb4[16]]:(_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[16]]-_0xc96axe));var _0xc96ax10=[];var _0xc96ax11=[];switch(_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]][_0x8eb4[25]]){case _0x8eb4[20]:var _0xc96ax13={name:_0x8eb4[17],channel:_0x8eb4[11],timeout:_0xc96axf,UserId:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[19]][_0xc96axb][_0x8eb4[18]],FaxRoomId:_0xc96ax9[_0x8eb4[12]],FaxQueueId:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]]?_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]][_0x8eb4[18]]:null,FaxAccountId:_0xc96ax9[_0x8eb4[13]],FaxApplicationId:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[18]]};_0xc96ax10[_0x8eb4[14]](_0xc96ax13);_0xc96ax11[_0x8eb4[14]](_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[19]][_0xc96axb][_0x8eb4[18]]);break ;;case _0x8eb4[22]:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[19]][_0x8eb4[21]](function(_0xc96ax12){var _0xc96ax13={name:_0x8eb4[17],channel:_0x8eb4[11],timeout:_0xc96axf,UserId:_0xc96ax12[_0x8eb4[18]],FaxRoomId:_0xc96ax9[_0x8eb4[12]],FaxQueueId:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]]?_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]][_0x8eb4[18]]:null,FaxAccountId:_0xc96ax9[_0x8eb4[13]],FaxApplicationId:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[18]]};_0xc96ax10[_0x8eb4[14]](_0xc96ax13);_0xc96ax11[_0x8eb4[14]](_0xc96ax12[_0x8eb4[18]]);});break ;;default:console[_0x8eb4[24]](_0x8eb4[23]);;};traceEvent(_0xc96ax10,function(){emitEvent(_0xc96ax11,_0x8eb4[26]+_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]][_0x8eb4[18]],{timeout:_0xc96axf,roomId:_0xc96ax9[_0x8eb4[12]]},function(_0xc96ax14){console[_0x8eb4[24]](_0x8eb4[29],_0xc96ax14);clearInterval(_0xc96ax15);clearTimeout(_0xc96ax16);var _0xc96ax10=[{name:_0x8eb4[27],channel:_0x8eb4[11],timeout:_0xc96axf,UserId:_0xc96ax14,FaxRoomId:_0xc96ax9[_0x8eb4[12]],FaxQueueId:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]]?_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]][_0x8eb4[18]]:null,FaxAccountId:_0xc96ax9[_0x8eb4[13]],FaxApplicationId:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[18]]}];traceEvent(_0xc96ax10,function(){_0xc96axd()});})});};},_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]]?_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]][_0x8eb4[16]]*1000:_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[16]]*1000);var _0xc96ax16=setTimeout(function(){clearInterval(_0xc96ax15);invite(_0xc96ax9,++_0xc96axa,0,_0xc96axc,_0xc96axd);},_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[16]]*1000);}function processing(_0xc96ax18,_0xc96axd,_0xc96axc){var _0xc96axe=0;var _0xc96ax19=[function(_0xc96ax1a){_0xc96ax1a(null,_0xc96ax18[_0x8eb4[30]],_0xc96axd,_0xc96axc)},function(_0xc96ax9,_0xc96axd,_0xc96axc,_0xc96ax1a){for(var _0xc96axa=0;_0xc96axa<_0xc96ax9[_0x8eb4[9]][_0x8eb4[8]];_0xc96axa++){switch(_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[34]]){case _0x8eb4[31]:if(!_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[19]]){_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[19]]=[]};_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[19]][_0x8eb4[14]](_0xc96ax9[_0x8eb4[9]][_0xc96axa].User);break ;;case _0x8eb4[33]:for(var _0xc96axb=0;_0xc96axb<_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]][_0x8eb4[32]][_0x8eb4[8]];_0xc96axb++){if(!_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[19]]){_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[19]]=[]};_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[19]][_0x8eb4[14]](_0xc96ax9[_0x8eb4[9]][_0xc96axa][_0x8eb4[7]][_0x8eb4[32]][_0xc96axb]);};break ;;default:;}};_0xc96ax1a(null,_0xc96ax9,_0xc96axd,_0xc96axc);}];async[_0x8eb4[35]](_0xc96ax19,function(_0xc96ax1b,_0xc96ax9,_0xc96axd,_0xc96axc){invite(_0xc96ax9,0,0,_0xc96axc,_0xc96axd)});}function traceEvent(_0xc96ax10,_0xc96ax1d){Event[_0x8eb4[39]](_0xc96ax10)[_0x8eb4[38]](function(){if(_0xc96ax1d){_0xc96ax1d()}})[_0x8eb4[37]](function(_0xc96ax1b){console[_0x8eb4[36]](_0xc96ax1b)})}function emitEvent(_0xc96ax11,_0xc96ax1f,_0xc96ax20,_0xc96ax1d){_0xc96ax11[_0x8eb4[21]](function(_0xc96ax12){console[_0x8eb4[24]](_0xc96ax1f,_0xc96ax12);if(sockets[_0xc96ax12]){sockets[_0xc96ax12][_0x8eb4[40]](_0xc96ax1f,_0xc96ax20,_0xc96ax1d)};})}module[_0x8eb4[41]]=function(_0xc96axc,_0xc96ax21){var _0xc96ax22=_0xc96ax21[_0x8eb4[42]]();_0xc96ax22[_0x8eb4[44]](_0x8eb4[43],20,function(_0xc96ax18,_0xc96axd){processing(_0xc96ax18,_0xc96axd,_0xc96axc)});require(_0x8eb4[46])[_0x8eb4[45]](_0xc96ax22);_0xc96axc[_0x8eb4[51]](_0x8eb4[47],function(_0xc96ax23){if(_0xc96ax23[_0x8eb4[49]][_0x8eb4[48]][_0x8eb4[29]]){sockets[_0xc96ax23[_0x8eb4[49]][_0x8eb4[48]][_0x8eb4[29]]]=_0xc96ax23};_0xc96ax23[_0x8eb4[51]](_0x8eb4[50],function(){if(sockets[_0xc96ax23[_0x8eb4[49]][_0x8eb4[48]][_0x8eb4[29]]]){delete sockets[_0xc96ax23[_0x8eb4[49]][_0x8eb4[48]][_0x8eb4[29]]]}});});};
\ No newline at end of file
+var _0xe59c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x61\x73\x79\x6E\x63","\x55\x73\x65\x72","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x45\x76\x65\x6E\x74","\x46\x61\x78\x51\x75\x65\x75\x65","\x6C\x65\x6E\x67\x74\x68","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x55\x4E\x41\x53\x53\x49\x47\x4E\x45\x44","\x46\x41\x58","\x72\x6F\x6F\x6D\x49\x64","\x61\x63\x63\x6F\x75\x6E\x74\x49\x64","\x70\x75\x73\x68","\x44\x69\x61\x6C\x50\x6C\x61\x6E\x20\x65\x6E\x64\x65\x64\x2E\x2E","\x74\x69\x6D\x65\x6F\x75\x74","\x41\x54\x54\x45\x4D\x50\x54","\x69\x64","\x75\x73\x65\x72\x73","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x66\x6F\x72\x45\x61\x63\x68","\x62\x65\x65\x70\x61\x6C\x6C","\x53\x74\x72\x61\x74\x65\x67\x79\x20\x75\x6E\x6B\x6E\x6F\x77\x6E\x2E\x2E","\x6C\x6F\x67","\x73\x74\x72\x61\x74\x65\x67\x79","\x46\x41\x58\x3A\x51\x55\x45\x55\x45\x3A","\x41\x53\x53\x49\x47\x4E\x45\x44","\x46\x41\x58\x3A\x41\x47\x45\x4E\x54\x3A","\x75\x73\x65\x72\x49\x64","\x64\x61\x74\x61","\x61\x67\x65\x6E\x74","\x55\x73\x65\x72\x73","\x71\x75\x65\x75\x65","\x61\x70\x70","\x77\x61\x74\x65\x72\x66\x61\x6C\x6C","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x72\x65\x61\x74\x65\x51\x75\x65\x75\x65","\x66\x61\x78","\x70\x72\x6F\x63\x65\x73\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\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\x6B\x75\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x71\x75\x65\x72\x79","\x68\x61\x6E\x64\x73\x68\x61\x6B\x65","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x6F\x6E"];_0xe59c[0];var _=require(_0xe59c[1]);var config=require(_0xe59c[2]);var async=require(_0xe59c[3]);var sockets={};var User=require(_0xe59c[5])[_0xe59c[4]];var Event=require(_0xe59c[5])[_0xe59c[6]];var FaxQueue=require(_0xe59c[5])[_0xe59c[7]];function invite(_0x4ecbx9,_0x4ecbxa,_0x4ecbxb,_0x4ecbxc,_0x4ecbxd){var _0x4ecbxe=0;var _0x4ecbxf=0;var _0x4ecbx10=[];var _0x4ecbx11=[];if(_0x4ecbxa===_0x4ecbx9[_0xe59c[9]][_0xe59c[8]]){_0x4ecbx10[_0xe59c[14]]({name:_0xe59c[10],channel:_0xe59c[11],FaxRoomId:_0x4ecbx9[_0xe59c[12]],FaxAccountId:_0x4ecbx9[_0xe59c[13]]});traceEvent(_0x4ecbx10,function(){});_0x4ecbxd( new Error(_0xe59c[15]));return ;};if(_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]]){_0x4ecbxf=(((_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[16]]-_0x4ecbxe)>_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]][_0xe59c[16]])?_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]][_0xe59c[16]]:(_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[16]]-_0x4ecbxe));switch(_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]][_0xe59c[25]]){case _0xe59c[20]:_0x4ecbx10[_0xe59c[14]]({name:_0xe59c[17],channel:_0xe59c[11],timeout:_0x4ecbxf,UserId:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[19]][_0x4ecbxb][_0xe59c[18]],FaxRoomId:_0x4ecbx9[_0xe59c[12]],FaxQueueId:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]]?_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]][_0xe59c[18]]:null,FaxAccountId:_0x4ecbx9[_0xe59c[13]],FaxApplicationId:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[18]]});_0x4ecbx11[_0xe59c[14]](_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[19]][_0x4ecbxb][_0xe59c[18]]);break ;;case _0xe59c[22]:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[19]][_0xe59c[21]](function(_0x4ecbx12){var _0x4ecbx13={name:_0xe59c[17],channel:_0xe59c[11],timeout:_0x4ecbxf,UserId:_0x4ecbx12[_0xe59c[18]],FaxRoomId:_0x4ecbx9[_0xe59c[12]],FaxQueueId:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]]?_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]][_0xe59c[18]]:null,FaxAccountId:_0x4ecbx9[_0xe59c[13]],FaxApplicationId:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[18]]};_0x4ecbx10[_0xe59c[14]](_0x4ecbx13);_0x4ecbx11[_0xe59c[14]](_0x4ecbx12[_0xe59c[18]]);});break ;;default:console[_0xe59c[24]](_0xe59c[23]);;};traceEvent(_0x4ecbx10,function(){emitEvent(_0x4ecbx11,_0xe59c[26]+_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]][_0xe59c[18]],{timeout:_0x4ecbxf,roomId:_0x4ecbx9[_0xe59c[12]]},function(_0x4ecbx14){clearInterval(_0x4ecbx15);clearTimeout(_0x4ecbx16);var _0x4ecbx10=[{name:_0xe59c[27],channel:_0xe59c[11],timeout:_0x4ecbxf,UserId:_0x4ecbx14,FaxRoomId:_0x4ecbx9[_0xe59c[12]],FaxQueueId:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]]?_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]][_0xe59c[18]]:null,FaxAccountId:_0x4ecbx9[_0xe59c[13]],FaxApplicationId:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[18]]}];traceEvent(_0x4ecbx10,function(){_0x4ecbxd()});})});}else {_0x4ecbxf=_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[16]];_0x4ecbx11[_0xe59c[14]](_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[19]][_0x4ecbxb][_0xe59c[18]]);_0x4ecbx10=[{name:_0xe59c[17],channel:_0xe59c[11],timeout:_0x4ecbxf,UserId:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[19]][_0x4ecbxb][_0xe59c[18]],FaxRoomId:_0x4ecbx9[_0xe59c[12]],FaxQueueId:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]]?_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]][_0xe59c[18]]:null,FaxAccountId:_0x4ecbx9[_0xe59c[13]],FaxApplicationId:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[18]]}];traceEvent(_0x4ecbx10,function(){emitEvent(_0x4ecbx11,_0xe59c[28]+_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[19]][_0x4ecbxb][_0xe59c[18]],{timeout:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[16]],roomId:_0x4ecbx9[_0xe59c[12]]},function(_0x4ecbx14){clearInterval(_0x4ecbx15);clearTimeout(_0x4ecbx16);var _0x4ecbx10=[{name:_0xe59c[27],channel:_0xe59c[11],timeout:_0x4ecbxf,UserId:_0x4ecbx14,FaxRoomId:_0x4ecbx9[_0xe59c[12]],FaxQueueId:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]]?_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]][_0xe59c[18]]:null,FaxAccountId:_0x4ecbx9[_0xe59c[13]],FaxApplicationId:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[18]]}];traceEvent(_0x4ecbx10,function(){_0x4ecbxd()});})});};var _0x4ecbx15=setInterval(function(){var _0x4ecbxf=0;_0x4ecbxb++;if(_0x4ecbxb===_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[19]][_0xe59c[8]]){_0x4ecbxb=0};if(_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]]){_0x4ecbxe+=_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]][_0xe59c[16]];_0x4ecbxf=(((_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[16]]-_0x4ecbxe)>_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]][_0xe59c[16]])?_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]][_0xe59c[16]]:(_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[16]]-_0x4ecbxe));var _0x4ecbx10=[];var _0x4ecbx11=[];switch(_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]][_0xe59c[25]]){case _0xe59c[20]:var _0x4ecbx13={name:_0xe59c[17],channel:_0xe59c[11],timeout:_0x4ecbxf,UserId:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[19]][_0x4ecbxb][_0xe59c[18]],FaxRoomId:_0x4ecbx9[_0xe59c[12]],FaxQueueId:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]]?_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]][_0xe59c[18]]:null,FaxAccountId:_0x4ecbx9[_0xe59c[13]],FaxApplicationId:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[18]]};_0x4ecbx10[_0xe59c[14]](_0x4ecbx13);_0x4ecbx11[_0xe59c[14]](_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[19]][_0x4ecbxb][_0xe59c[18]]);break ;;case _0xe59c[22]:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[19]][_0xe59c[21]](function(_0x4ecbx12){var _0x4ecbx13={name:_0xe59c[17],channel:_0xe59c[11],timeout:_0x4ecbxf,UserId:_0x4ecbx12[_0xe59c[18]],FaxRoomId:_0x4ecbx9[_0xe59c[12]],FaxQueueId:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]]?_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]][_0xe59c[18]]:null,FaxAccountId:_0x4ecbx9[_0xe59c[13]],FaxApplicationId:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[18]]};_0x4ecbx10[_0xe59c[14]](_0x4ecbx13);_0x4ecbx11[_0xe59c[14]](_0x4ecbx12[_0xe59c[18]]);});break ;;default:console[_0xe59c[24]](_0xe59c[23]);;};traceEvent(_0x4ecbx10,function(){emitEvent(_0x4ecbx11,_0xe59c[26]+_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]][_0xe59c[18]],{timeout:_0x4ecbxf,roomId:_0x4ecbx9[_0xe59c[12]]},function(_0x4ecbx14){console[_0xe59c[24]](_0xe59c[29],_0x4ecbx14);clearInterval(_0x4ecbx15);clearTimeout(_0x4ecbx16);var _0x4ecbx10=[{name:_0xe59c[27],channel:_0xe59c[11],timeout:_0x4ecbxf,UserId:_0x4ecbx14,FaxRoomId:_0x4ecbx9[_0xe59c[12]],FaxQueueId:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]]?_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]][_0xe59c[18]]:null,FaxAccountId:_0x4ecbx9[_0xe59c[13]],FaxApplicationId:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[18]]}];traceEvent(_0x4ecbx10,function(){_0x4ecbxd()});})});};},_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]]?_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]][_0xe59c[16]]*1000:_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[16]]*1000);var _0x4ecbx16=setTimeout(function(){clearInterval(_0x4ecbx15);invite(_0x4ecbx9,++_0x4ecbxa,0,_0x4ecbxc,_0x4ecbxd);},_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[16]]*1000);}function processing(_0x4ecbx18,_0x4ecbxd,_0x4ecbxc){var _0x4ecbxe=0;var _0x4ecbx19=[function(_0x4ecbx1a){_0x4ecbx1a(null,_0x4ecbx18[_0xe59c[30]],_0x4ecbxd,_0x4ecbxc)},function(_0x4ecbx9,_0x4ecbxd,_0x4ecbxc,_0x4ecbx1a){for(var _0x4ecbxa=0;_0x4ecbxa<_0x4ecbx9[_0xe59c[9]][_0xe59c[8]];_0x4ecbxa++){switch(_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[34]]){case _0xe59c[31]:if(!_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[19]]){_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[19]]=[]};_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[19]][_0xe59c[14]](_0x4ecbx9[_0xe59c[9]][_0x4ecbxa].User);break ;;case _0xe59c[33]:for(var _0x4ecbxb=0;_0x4ecbxb<_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]][_0xe59c[32]][_0xe59c[8]];_0x4ecbxb++){if(!_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[19]]){_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[19]]=[]};_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[19]][_0xe59c[14]](_0x4ecbx9[_0xe59c[9]][_0x4ecbxa][_0xe59c[7]][_0xe59c[32]][_0x4ecbxb]);};break ;;default:;}};_0x4ecbx1a(null,_0x4ecbx9,_0x4ecbxd,_0x4ecbxc);}];async[_0xe59c[35]](_0x4ecbx19,function(_0x4ecbx1b,_0x4ecbx9,_0x4ecbxd,_0x4ecbxc){invite(_0x4ecbx9,0,0,_0x4ecbxc,_0x4ecbxd)});}function traceEvent(_0x4ecbx10,_0x4ecbx1d){Event[_0xe59c[39]](_0x4ecbx10)[_0xe59c[38]](function(){if(_0x4ecbx1d){_0x4ecbx1d()}})[_0xe59c[37]](function(_0x4ecbx1b){console[_0xe59c[36]](_0x4ecbx1b)})}function emitEvent(_0x4ecbx11,_0x4ecbx1f,_0x4ecbx20,_0x4ecbx1d){_0x4ecbx11[_0xe59c[21]](function(_0x4ecbx12){console[_0xe59c[24]](_0x4ecbx1f,_0x4ecbx12);if(sockets[_0x4ecbx12]){sockets[_0x4ecbx12][_0xe59c[40]](_0x4ecbx1f,_0x4ecbx20,_0x4ecbx1d)};})}module[_0xe59c[41]]=function(_0x4ecbxc,_0x4ecbx21){var _0x4ecbx22=_0x4ecbx21[_0xe59c[42]]();_0x4ecbx22[_0xe59c[44]](_0xe59c[43],20,function(_0x4ecbx18,_0x4ecbxd){processing(_0x4ecbx18,_0x4ecbxd,_0x4ecbxc)});require(_0xe59c[46])[_0xe59c[45]](_0x4ecbx22);_0x4ecbxc[_0xe59c[51]](_0xe59c[47],function(_0x4ecbx23){if(_0x4ecbx23[_0xe59c[49]][_0xe59c[48]][_0xe59c[29]]){sockets[_0x4ecbx23[_0xe59c[49]][_0xe59c[48]][_0xe59c[29]]]=_0x4ecbx23};_0x4ecbx23[_0xe59c[51]](_0xe59c[50],function(){if(sockets[_0x4ecbx23[_0xe59c[49]][_0xe59c[48]][_0xe59c[29]]]){delete sockets[_0x4ecbx23[_0xe59c[49]][_0xe59c[48]][_0xe59c[29]]]}});});};
\ No newline at end of file
index af5e1ad..5acabc3 100644 (file)
@@ -1 +1 @@
-var _0xe20c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\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","\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","\x55\x73\x65\x72","\x65\x78\x70\x6F\x72\x74\x73","\x63\x72\x65\x61\x74\x65\x51\x75\x65\x75\x65","\x6D\x61\x69\x6C","\x70\x72\x6F\x63\x65\x73\x73","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x41\x74","\x63\x68\x61\x6E\x67\x65\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x74\x69\x6D\x65\x6F\x75\x74","\x64\x6F\x6E\x65","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x61\x67\x65\x6E\x74\x69\x64","\x75\x70\x64\x61\x74\x65","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x42\x79\x49\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","\x61\x6E\x73\x77\x65\x72\x65\x64\x5F\x65\x6C\x73\x65\x77\x68\x65\x72\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x6D\x61\x69\x6C\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x74\x61\x74\x75\x73","\x4E\x45\x57","\x73\x61\x76\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x63\x72\x65\x61\x74\x65","\x4E\x6F\x20\x41\x76\x61\x69\x6C\x61\x62\x6C\x65\x20\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2E\x2E","\x6C\x65\x6E\x67\x74\x68","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x44\x69\x61\x6C\x50\x6C\x61\x6E\x20\x65\x6E\x64\x65\x64\x2E\x2E","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x49\x64","\x64\x61\x74\x61","\x69\x64","\x6D\x65\x72\x67\x65","\x73\x75\x62\x6A\x65\x63\x74","\x66\x72\x6F\x6D","\x63\x63","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x6E\x61\x6D\x65","\x61\x64\x64\x72\x65\x73\x73","\x70\x72\x69\x6F\x72\x69\x74\x79","\x73\x6F\x72\x74\x42\x79","\x69\x6E\x76\x69\x74\x65","\x69","\x6A","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x6C\x6F\x67","\x74\x72\x75\x65","\x63\x6F\x75\x6E\x74\x42\x79","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x55\x73\x65\x72\x73","\x6F\x6E\x6C\x69\x6E\x65","\x61\x70\x70","\x63\x61\x6C\x6C\x65\x64","\x71\x75\x65\x75\x65","\x61\x67\x65\x6E\x74","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x63\x6F\x75\x6E\x74","\x62\x65\x65\x70\x61\x6C\x6C","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x73\x74\x72\x61\x74\x65\x67\x79","\x73\x74\x72\x61\x74\x65\x67\x79","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x73\x70\x72\x65\x61\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x69\x73\x4F\x62\x6A\x65\x63\x74","\x53\x75\x62\x49\x6E\x74\x65\x72\x76\x61\x6C\x73","\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","\x2D","\x54\x52\x41\x4E\x47\x45\x20\x4B\x4F","\x64\x61\x79","\x69\x6E\x64\x65\x78\x4F\x66","\x73\x68\x69\x66\x74","\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"];_0xe20c[0];var _=require(_0xe20c[1]);var moment=require(_0xe20c[2]);var MailApplication=require(_0xe20c[4])[_0xe20c[3]];var MailAccount=require(_0xe20c[4])[_0xe20c[5]];var MailQueue=require(_0xe20c[4])[_0xe20c[6]];var MailRoom=require(_0xe20c[4])[_0xe20c[7]];var Interval=require(_0xe20c[4])[_0xe20c[8]];var ReportMailSession=require(_0xe20c[4])[_0xe20c[9]];var ReportMail=require(_0xe20c[4])[_0xe20c[10]];var User=require(_0xe20c[4])[_0xe20c[11]];var timeouts={};module[_0xe20c[12]]=function(_0xa1ebxc){var _0xa1ebxd=_0xa1ebxc[_0xe20c[13]]();_0xa1ebxd[_0xe20c[15]](_0xe20c[14],20,function(_0xa1ebxe,_0xa1ebxf){onProcess(_0xa1ebxe,_0xa1ebxf)});ReportMail[_0xe20c[33]](function(_0xa1ebx10){if(_0xa1ebx10[_0xe20c[17]](_0xe20c[16])){if(timeouts[_0xa1ebx10[_0xe20c[18]]]){clearTimeout(timeouts[_0xa1ebx10[_0xe20c[18]]][_0xe20c[19]]);timeouts[_0xa1ebx10[_0xe20c[18]]][_0xe20c[20]]();delete timeouts[_0xa1ebx10[_0xe20c[18]]];};MailRoom[_0xe20c[26]](_0xa1ebx10[_0xe20c[18]])[_0xe20c[25]](function(_0xa1ebx12){_0xa1ebx12[_0xe20c[24]]({UserId:_0xa1ebx10[_0xe20c[23]]})})[_0xe20c[22]](function(_0xa1ebx11){console[_0xe20c[21]](_0xa1ebx11)});ReportMail[_0xe20c[24]]({agentringnoanswerAt:moment()[_0xe20c[28]](_0xe20c[27]),reason:_0xe20c[29],lastevent:_0xe20c[29]},{where:{uniqueid:_0xa1ebx10[_0xe20c[18]],reason:null},individualHooks:true})[_0xe20c[22]](function(_0xa1ebx11){console[_0xe20c[21]](_0xa1ebx11)});ReportMailSession[_0xe20c[24]]({mailleaveAt:moment()[_0xe20c[28]](_0xe20c[27]),fullname:_0xa1ebx10[_0xe20c[30]],membername:_0xa1ebx10[_0xe20c[31]],mailqueuename:_0xa1ebx10[_0xe20c[32]]},{where:{uniqueid:_0xa1ebx10[_0xe20c[18]]},individualHooks:true})[_0xe20c[22]](function(_0xa1ebx11){console[_0xe20c[21]](_0xa1ebx11)});}});MailRoom[_0xe20c[34]](function(_0xa1ebx10){onSave(_0xa1ebxd,_0xa1ebx10)});MailRoom[_0xe20c[35]](function(_0xa1ebx10){onSave(_0xa1ebxd,_0xa1ebx10)});};function onSave(_0xa1ebxc,_0xa1ebx10,_0xa1ebx14){if(_0xa1ebx10[_0xe20c[36]]===_0xe20c[37]){_0xa1ebxc[_0xe20c[40]](_0xe20c[14],_0xa1ebx10[_0xe20c[39]])[_0xe20c[38]]()}}function onProcess(_0xa1ebxe,_0xa1ebxf){MailAccount[_0xe20c[26]](_0xa1ebxe[_0xe20c[46]].MailAccountId,{include:[{model:MailApplication,include:[{model:MailQueue,include:[{model:User}]},{model:User},{model:Interval,include:[{all:true}]}]}]})[_0xe20c[25]](function(_0xa1ebx16){if(!_0xa1ebx16){_0xa1ebxf( new Error(_0xe20c[41]));return ;};if(!_0xa1ebx16[_0xe20c[43]][_0xe20c[42]]){_0xa1ebxf( new Error(_0xe20c[44]));return ;};_0xa1ebxe[_0xe20c[46]][_0xe20c[45]]=_0xa1ebxe[_0xe20c[46]][_0xe20c[47]];var _0xa1ebx17=_[_0xe20c[48]](_0xa1ebxe[_0xe20c[46]],_0xa1ebx16[_0xe20c[39]]);onReportSession({uniqueid:_0xa1ebx17[_0xe20c[45]],subject:_0xa1ebx17[_0xe20c[49]],from:_0xa1ebx17[_0xe20c[50]],cc:_0xa1ebx17[_0xe20c[51]],attachment:_0xa1ebx17[_0xe20c[52]],accountname:_0xa1ebx17[_0xe20c[53]],accountaddress:_0xa1ebx17[_0xe20c[54]],mailjoinAt:moment()[_0xe20c[28]](_0xe20c[27])});_0xa1ebx17[_0xe20c[43]]=_[_0xe20c[56]](_0xa1ebx17.MailApplications,_0xe20c[55]);onInvite(_0xa1ebx17,0,0,0,0,_0xa1ebxf);})[_0xe20c[22]](function(_0xa1ebx11){console[_0xe20c[21]](_0xa1ebx11)})}function onInvite(_0xa1ebx19,_0xa1ebx1a,_0xa1ebx1b,_0xa1ebx1c,_0xa1ebx1d,_0xa1ebxf){console[_0xe20c[61]](_0xe20c[57],_0xe20c[58],_0xa1ebx1a,_0xe20c[59],_0xa1ebx1b,_0xe20c[60],_0xa1ebx1c);var _0xa1ebx1e=0;var _0xa1ebx1f;if(_0xa1ebx1a===_0xa1ebx19[_0xe20c[43]][_0xe20c[42]]){console[_0xe20c[21]](_0xe20c[44]);onReportSession({uniqueid:_0xa1ebx19[_0xe20c[45]],mailunmanagedAt:moment()[_0xe20c[28]](_0xe20c[27]),mailleaveAt:moment()[_0xe20c[28]](_0xe20c[27])});_0xa1ebxf( new Error(_0xe20c[44]));return ;};if(_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[6]]){var _0xa1ebx20=_[_0xe20c[63]](_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[6]].Users,{online:true})[_0xe20c[62]];if(_0xa1ebx20&&onInterval(_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[8]]?_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[8]]:_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[64]])){if(_0xa1ebx1b===_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[6]][_0xe20c[65]][_0xe20c[42]]){if(_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[19]]>_0xa1ebx1c){onInvite(_0xa1ebx19,_0xa1ebx1a,0,_0xa1ebx1c,_0xa1ebx1d,_0xa1ebxf);return ;}else {onInvite(_0xa1ebx19,++_0xa1ebx1a,0,0,_0xa1ebx1d,_0xa1ebxf);return ;}};switch(_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[6]][_0xe20c[77]]){case _0xe20c[71]:if(_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[6]][_0xe20c[65]][_0xa1ebx1b][_0xe20c[66]]&&onInterval(_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[8]]?_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[8]]:_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[64]])){_0xa1ebx1e=(((_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[19]]-_0xa1ebx1c)>_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[6]][_0xe20c[19]])?_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[6]][_0xe20c[19]]:(_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[19]]-_0xa1ebx1c));onReport({uniqueid:_0xa1ebx19[_0xe20c[45]],sorting:_0xa1ebx1d,subject:_0xa1ebx19[_0xe20c[49]],timeslot:_0xa1ebx1e,from:_0xa1ebx19[_0xe20c[50]],attachment:_0xa1ebx19[_0xe20c[52]],accountname:_0xa1ebx19[_0xe20c[53]],accountaddress:_0xa1ebx19[_0xe20c[54]],application:_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[67]],fullname:_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[6]][_0xe20c[65]][_0xa1ebx1b][_0xe20c[30]],membername:_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[6]][_0xe20c[65]][_0xa1ebx1b][_0xe20c[53]],agentid:_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[6]][_0xe20c[65]][_0xa1ebx1b][_0xe20c[47]],mailqueuename:_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[6]][_0xe20c[53]],lastevent:_0xe20c[68],holdtime:_0xa1ebx1c,agentcalledAt:moment()[_0xe20c[28]](_0xe20c[27])});console[_0xe20c[61]](_0xe20c[69],_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[6]][_0xe20c[53]],_0xe20c[70],_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[6]][_0xe20c[65]][_0xa1ebx1b][_0xe20c[53]],_0xe20c[19],_0xa1ebx1e,_0xe20c[60],_0xa1ebx1c);_0xa1ebx1f=setTimeout(function(){onReportUpdate({uniqueid:_0xa1ebx19[_0xe20c[45]],count:_0xa1ebx1d,reason:_0xe20c[19],lastevent:_0xe20c[19],agentringnoanswerAt:moment()[_0xe20c[28]](_0xe20c[27])});_0xa1ebx1c+=_0xa1ebx1e;onInvite(_0xa1ebx19,_0xa1ebx1a,++_0xa1ebx1b,_0xa1ebx1c,++_0xa1ebx1d,_0xa1ebxf);return ;},_0xa1ebx1e*1000);if(!timeouts[_0xa1ebx19[_0xe20c[45]]]){timeouts[_0xa1ebx19[_0xe20c[45]]]={}};timeouts[_0xa1ebx19[_0xe20c[45]]][_0xe20c[19]]=_0xa1ebx1f;timeouts[_0xa1ebx19[_0xe20c[45]]][_0xe20c[20]]=_0xa1ebxf;}else {onInvite(_0xa1ebx19,_0xa1ebx1a,++_0xa1ebx1b,_0xa1ebx1c,_0xa1ebx1d,_0xa1ebxf);return ;};break ;;case _0xe20c[75]:_0xa1ebx1e=(((_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[19]]-_0xa1ebx1c)>_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[6]][_0xe20c[19]])?_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[6]][_0xe20c[19]]:(_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[19]]-_0xa1ebx1c));var _0xa1ebx21=[];_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[6]][_0xe20c[65]][_0xe20c[73]](function(_0xa1ebx22){if(_0xa1ebx22[_0xe20c[66]]){_0xa1ebx21[_0xe20c[72]]({uniqueid:_0xa1ebx19[_0xe20c[45]],sorting:_0xa1ebx1d,subject:_0xa1ebx19[_0xe20c[49]],timeslot:_0xa1ebx1e,from:_0xa1ebx19[_0xe20c[50]],attachment:_0xa1ebx19[_0xe20c[52]],accountname:_0xa1ebx19[_0xe20c[53]],accountaddress:_0xa1ebx19[_0xe20c[54]],application:_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[67]],fullname:_0xa1ebx22[_0xe20c[30]],membername:_0xa1ebx22[_0xe20c[53]],agentid:_0xa1ebx22[_0xe20c[47]],mailqueuename:_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[6]][_0xe20c[53]],lastevent:_0xe20c[68],holdtime:_0xa1ebx1c,agentcalledAt:moment()[_0xe20c[28]](_0xe20c[27])})}});if(_0xa1ebx21[_0xe20c[42]]&&onInterval(_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[8]]?_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[8]]:_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[64]])){onReport(_0xa1ebx21,true);_0xa1ebx1f=setTimeout(function(){console[_0xe20c[61]](_0xe20c[74],_0xa1ebx1d);onReportUpdate({uniqueid:_0xa1ebx19[_0xe20c[45]],count:_0xa1ebx1d,reason:_0xe20c[19],lastevent:_0xe20c[19],agentringnoanswerAt:moment()[_0xe20c[28]](_0xe20c[27])});_0xa1ebx1c+=_0xa1ebx1e;_0xa1ebx1b+=_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[6]][_0xe20c[65]][_0xe20c[42]];onInvite(_0xa1ebx19,_0xa1ebx1a,_0xa1ebx1b,_0xa1ebx1c,++_0xa1ebx1d,_0xa1ebxf);return ;},_0xa1ebx1e*1000);if(!timeouts[_0xa1ebx19[_0xe20c[45]]]){timeouts[_0xa1ebx19[_0xe20c[45]]]={}};timeouts[_0xa1ebx19[_0xe20c[45]]][_0xe20c[19]]=_0xa1ebx1f;timeouts[_0xa1ebx19[_0xe20c[45]]][_0xe20c[20]]=_0xa1ebxf;}else {console[_0xe20c[61]](_0xe20c[69],_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[6]][_0xe20c[53]],_0xe20c[19],_0xa1ebx1e,_0xe20c[60],_0xa1ebx1c);onInvite(_0xa1ebx19,++_0xa1ebx1a,0,0,_0xa1ebx1d,_0xa1ebxf);return ;};break ;;default:console[_0xe20c[21]](_0xe20c[76]);;};}else {onInvite(_0xa1ebx19,++_0xa1ebx1a,0,0,_0xa1ebx1d,_0xa1ebxf);return ;};}else {_0xa1ebx1e=_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[19]];if(_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[11]][_0xe20c[66]]&&onInterval(_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[8]]?_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[8]]:_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[64]])){onReport({uniqueid:_0xa1ebx19[_0xe20c[45]],sorting:_0xa1ebx1d,subject:_0xa1ebx19[_0xe20c[49]],timeslot:_0xa1ebx1e,from:_0xa1ebx19[_0xe20c[50]],attachment:_0xa1ebx19[_0xe20c[52]],accountname:_0xa1ebx19[_0xe20c[53]],accountaddress:_0xa1ebx19[_0xe20c[54]],application:_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[67]],fullname:_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[11]][_0xe20c[30]],membername:_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[11]][_0xe20c[53]],agentid:_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[11]][_0xe20c[47]],lastevent:_0xe20c[68],holdtime:_0xa1ebx1c,agentcalledAt:moment()[_0xe20c[28]](_0xe20c[27])});console[_0xe20c[61]](_0xe20c[70],_0xa1ebx19[_0xe20c[43]][_0xa1ebx1a][_0xe20c[11]][_0xe20c[53]],_0xe20c[19],_0xa1ebx1e,_0xe20c[60],_0xa1ebx1c);_0xa1ebx1f=setTimeout(function(){onReportUpdate({uniqueid:_0xa1ebx19[_0xe20c[45]],count:_0xa1ebx1d,reason:_0xe20c[19],lastevent:_0xe20c[19],agentringnoanswerAt:moment()[_0xe20c[28]](_0xe20c[27])});onInvite(_0xa1ebx19,++_0xa1ebx1a,0,0,_0xa1ebx1d,_0xa1ebxf);return ;},_0xa1ebx1e*1000);if(!timeouts[_0xa1ebx19[_0xe20c[45]]]){timeouts[_0xa1ebx19[_0xe20c[45]]]={}};timeouts[_0xa1ebx19[_0xe20c[45]]][_0xe20c[19]]=_0xa1ebx1f;timeouts[_0xa1ebx19[_0xe20c[45]]][_0xe20c[20]]=_0xa1ebxf;}else {onInvite(_0xa1ebx19,++_0xa1ebx1a,0,0,++_0xa1ebx1d,_0xa1ebxf);return;};};}function onReport(_0xa1ebx24,_0xa1ebx25){if(_0xa1ebx25){ReportMail[_0xe20c[78]](_0xa1ebx24,{individualHooks:true})[_0xe20c[22]](function(_0xa1ebx11){console[_0xe20c[21]](_0xa1ebx11)})}else {ReportMail[_0xe20c[40]](_0xa1ebx24)[_0xe20c[22]](function(_0xa1ebx11){console[_0xe20c[21]](_0xa1ebx11)})}}function onReportSession(_0xa1ebx24){ReportMailSession[_0xe20c[80]]({where:{uniqueid:_0xa1ebx24[_0xe20c[18]]},defaults:_0xa1ebx24})[_0xe20c[79]](function(_0xa1ebx27,_0xa1ebx28){if(!_0xa1ebx28){_0xa1ebx27[_0xe20c[24]](_0xa1ebx24,{individualHooks:true})[_0xe20c[22]](function(_0xa1ebx11){console[_0xe20c[21]](_0xa1ebx11)})}})}function onReportUpdate(_0xa1ebx24){ReportMail[_0xe20c[24]](_0xa1ebx24,{where:{uniqueid:_0xa1ebx24[_0xe20c[18]],sorting:_0xa1ebx24[_0xe20c[74]]},individualHooks:true})[_0xe20c[22]](function(_0xa1ebx11){console[_0xe20c[21]](_0xa1ebx11)})}function onInterval(_0xa1ebx2b){if(_[_0xe20c[81]](_0xa1ebx2b)){for(var _0xa1ebx1a=0;_0xa1ebx1a<_0xa1ebx2b[_0xe20c[82]][_0xe20c[42]];_0xa1ebx1a++){if(!onCheckInterval(_0xa1ebx2b[_0xe20c[82]][_0xa1ebx1a][_0xe20c[64]])){return false}};return true;}else {return onCheckInterval(_0xa1ebx2b)}}function onCheckInterval(_0xa1ebx2b){var _0xa1ebx2d=[_0xe20c[83],_0xe20c[84],_0xe20c[85],_0xe20c[86],_0xe20c[87],_0xe20c[88],_0xe20c[89]];var _0xa1ebx2e=[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 _0xa1ebx2f=[_0xe20c[90],_0xe20c[91],_0xe20c[92],_0xe20c[93],_0xe20c[94],_0xe20c[95],_0xe20c[96],_0xe20c[97],_0xe20c[98],_0xe20c[99],_0xe20c[100],_0xe20c[101]];var _0xa1ebx1a,_0xa1ebx30;var _0xa1ebx31=_0xa1ebx2b[_0xe20c[103]](_0xe20c[102])[0];var _0xa1ebx32=_0xa1ebx2b[_0xe20c[103]](_0xe20c[102])[1];var _0xa1ebx33=_0xa1ebx2b[_0xe20c[103]](_0xe20c[102])[2];var _0xa1ebx34=_0xa1ebx2b[_0xe20c[103]](_0xe20c[102])[3];if(_0xa1ebx31!==_0xe20c[104]){var _0xa1ebx35=moment()[_0xe20c[28]](_0xe20c[105]);var _0xa1ebx36=_0xa1ebx31[_0xe20c[103]](_0xe20c[106])[0];var _0xa1ebx37=_0xa1ebx31[_0xe20c[103]](_0xe20c[106])[1];if((_0xa1ebx35<_0xa1ebx36)||(_0xa1ebx35>_0xa1ebx37)){console[_0xe20c[61]](_0xe20c[107]);return false;};};if(_0xa1ebx32!==_0xe20c[104]){var _0xa1ebx38=_0xa1ebx2d[moment()[_0xe20c[108]]()];var _0xa1ebx39=_[_0xe20c[109]](_0xa1ebx2d,_0xa1ebx32[_0xe20c[103]](_0xe20c[106])[0]);var _0xa1ebx3a=_[_0xe20c[109]](_0xa1ebx2d,_0xa1ebx32[_0xe20c[103]](_0xe20c[106])[1]);for(_0xa1ebx1a=0;_0xa1ebx1a<_0xa1ebx39;_0xa1ebx1a++){_0xa1ebx30=_0xa1ebx2d[_0xe20c[110]]();_0xa1ebx2d[_0xe20c[72]](_0xa1ebx30);};_0xa1ebx39=_[_0xe20c[109]](_0xa1ebx2d,_0xa1ebx32[_0xe20c[103]](_0xe20c[106])[0]);_0xa1ebx3a=_[_0xe20c[109]](_0xa1ebx2d,_0xa1ebx32[_0xe20c[103]](_0xe20c[106])[1])+1;_0xa1ebx2d=_0xa1ebx2d[_0xe20c[111]](_0xa1ebx39,_0xa1ebx3a);if(!_[_0xe20c[112]](_0xa1ebx2d,_0xa1ebx38)){console[_0xe20c[61]](_0xe20c[113]);return false;};};if(_0xa1ebx33!==_0xe20c[104]){var _0xa1ebx3b=moment()[_0xe20c[114]]();var _0xa1ebx3c=_[_0xe20c[109]](_0xa1ebx2e,parseInt(_0xa1ebx33[_0xe20c[103]](_0xe20c[106])[0],10));var _0xa1ebx3d=_[_0xe20c[109]](_0xa1ebx2e,parseInt(_0xa1ebx33[_0xe20c[103]](_0xe20c[106])[1]));for(_0xa1ebx1a=0;_0xa1ebx1a<_0xa1ebx3c;_0xa1ebx1a++){_0xa1ebx30=_0xa1ebx2e[_0xe20c[110]]();_0xa1ebx2e[_0xe20c[72]](_0xa1ebx30);};_0xa1ebx3c=_[_0xe20c[109]](_0xa1ebx2e,parseInt(_0xa1ebx33[_0xe20c[103]](_0xe20c[106])[0],10));_0xa1ebx3d=_[_0xe20c[109]](_0xa1ebx2e,parseInt(_0xa1ebx33[_0xe20c[103]](_0xe20c[106])[1]),10)+1;_0xa1ebx2e=_0xa1ebx2e[_0xe20c[111]](_0xa1ebx3c,_0xa1ebx3d);if(!_[_0xe20c[112]](_0xa1ebx2e,_0xa1ebx3b)){console[_0xe20c[61]](_0xe20c[115]);return false;};};if(_0xa1ebx34!==_0xe20c[104]){var _0xa1ebx3e=_0xa1ebx2f[moment()[_0xe20c[116]]()];var _0xa1ebx3f=_[_0xe20c[109]](_0xa1ebx2f,_0xa1ebx34[_0xe20c[103]](_0xe20c[106])[0]);var _0xa1ebx40=_[_0xe20c[109]](_0xa1ebx2f,_0xa1ebx34[_0xe20c[103]](_0xe20c[106])[1]);for(_0xa1ebx1a=0;_0xa1ebx1a<_0xa1ebx3f;_0xa1ebx1a++){_0xa1ebx30=_0xa1ebx2f[_0xe20c[110]]();_0xa1ebx2f[_0xe20c[72]](_0xa1ebx30);};_0xa1ebx3f=_[_0xe20c[109]](_0xa1ebx2f,_0xa1ebx34[_0xe20c[103]](_0xe20c[106])[0]);_0xa1ebx40=_[_0xe20c[109]](_0xa1ebx2f,_0xa1ebx34[_0xe20c[103]](_0xe20c[106])[1])+1;_0xa1ebx2f=_0xa1ebx2f[_0xe20c[111]](_0xa1ebx3f,_0xa1ebx40);if(!_[_0xe20c[112]](_0xa1ebx2f,_0xa1ebx3e)){console[_0xe20c[61]](_0xe20c[117]);return false;};};console[_0xe20c[61]](_0xe20c[118]);return true;}
\ No newline at end of file
+var _0x9a63=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\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","\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","\x55\x73\x65\x72","\x65\x78\x70\x6F\x72\x74\x73","\x63\x72\x65\x61\x74\x65\x51\x75\x65\x75\x65","\x6D\x61\x69\x6C","\x70\x72\x6F\x63\x65\x73\x73","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x41\x74","\x63\x68\x61\x6E\x67\x65\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x74\x69\x6D\x65\x6F\x75\x74","\x64\x6F\x6E\x65","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x61\x67\x65\x6E\x74\x69\x64","\x75\x70\x64\x61\x74\x65","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x42\x79\x49\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","\x61\x6E\x73\x77\x65\x72\x65\x64\x5F\x65\x6C\x73\x65\x77\x68\x65\x72\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x6D\x61\x69\x6C\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x74\x61\x74\x75\x73","\x4E\x45\x57","\x73\x61\x76\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x63\x72\x65\x61\x74\x65","\x4E\x6F\x20\x41\x76\x61\x69\x6C\x61\x62\x6C\x65\x20\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2E\x2E","\x6C\x65\x6E\x67\x74\x68","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x44\x69\x61\x6C\x50\x6C\x61\x6E\x20\x65\x6E\x64\x65\x64\x2E\x2E","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x49\x64","\x64\x61\x74\x61","\x69\x64","\x6D\x65\x72\x67\x65","\x73\x75\x62\x6A\x65\x63\x74","\x66\x72\x6F\x6D","\x63\x63","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x6E\x61\x6D\x65","\x61\x64\x64\x72\x65\x73\x73","\x70\x72\x69\x6F\x72\x69\x74\x79","\x73\x6F\x72\x74\x42\x79","\x69\x6E\x76\x69\x74\x65","\x69","\x6A","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x6C\x6F\x67","\x74\x72\x75\x65","\x63\x6F\x75\x6E\x74\x42\x79","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x55\x73\x65\x72\x73","\x6F\x6E\x6C\x69\x6E\x65","\x61\x70\x70","\x63\x61\x6C\x6C\x65\x64","\x71\x75\x65\x75\x65","\x61\x67\x65\x6E\x74","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x63\x6F\x75\x6E\x74","\x62\x65\x65\x70\x61\x6C\x6C","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x73\x74\x72\x61\x74\x65\x67\x79","\x73\x74\x72\x61\x74\x65\x67\x79","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x73\x70\x72\x65\x61\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x69\x73\x4F\x62\x6A\x65\x63\x74","\x53\x75\x62\x49\x6E\x74\x65\x72\x76\x61\x6C\x73","\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","\x2D","\x54\x52\x41\x4E\x47\x45\x20\x4B\x4F","\x64\x61\x79","\x69\x6E\x64\x65\x78\x4F\x66","\x73\x68\x69\x66\x74","\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"];_0x9a63[0];var _=require(_0x9a63[1]);var moment=require(_0x9a63[2]);var MailApplication=require(_0x9a63[4])[_0x9a63[3]];var MailAccount=require(_0x9a63[4])[_0x9a63[5]];var MailQueue=require(_0x9a63[4])[_0x9a63[6]];var MailRoom=require(_0x9a63[4])[_0x9a63[7]];var Interval=require(_0x9a63[4])[_0x9a63[8]];var ReportMailSession=require(_0x9a63[4])[_0x9a63[9]];var ReportMail=require(_0x9a63[4])[_0x9a63[10]];var User=require(_0x9a63[4])[_0x9a63[11]];var timeouts={};module[_0x9a63[12]]=function(_0xc08axc){var _0xc08axd=_0xc08axc[_0x9a63[13]]();_0xc08axd[_0x9a63[15]](_0x9a63[14],20,function(_0xc08axe,_0xc08axf){onProcess(_0xc08axe,_0xc08axf)});ReportMail[_0x9a63[33]](function(_0xc08ax10){if(_0xc08ax10[_0x9a63[17]](_0x9a63[16])){if(timeouts[_0xc08ax10[_0x9a63[18]]]){clearTimeout(timeouts[_0xc08ax10[_0x9a63[18]]][_0x9a63[19]]);timeouts[_0xc08ax10[_0x9a63[18]]][_0x9a63[20]]();delete timeouts[_0xc08ax10[_0x9a63[18]]];};MailRoom[_0x9a63[26]](_0xc08ax10[_0x9a63[18]])[_0x9a63[25]](function(_0xc08ax12){_0xc08ax12[_0x9a63[24]]({UserId:_0xc08ax10[_0x9a63[23]]})})[_0x9a63[22]](function(_0xc08ax11){console[_0x9a63[21]](_0xc08ax11)});ReportMail[_0x9a63[24]]({agentringnoanswerAt:moment()[_0x9a63[28]](_0x9a63[27]),reason:_0x9a63[29],lastevent:_0x9a63[29]},{where:{uniqueid:_0xc08ax10[_0x9a63[18]],reason:null},individualHooks:true})[_0x9a63[22]](function(_0xc08ax11){console[_0x9a63[21]](_0xc08ax11)});ReportMailSession[_0x9a63[24]]({mailleaveAt:moment()[_0x9a63[28]](_0x9a63[27]),fullname:_0xc08ax10[_0x9a63[30]],membername:_0xc08ax10[_0x9a63[31]],mailqueuename:_0xc08ax10[_0x9a63[32]]},{where:{uniqueid:_0xc08ax10[_0x9a63[18]]},individualHooks:true})[_0x9a63[22]](function(_0xc08ax11){console[_0x9a63[21]](_0xc08ax11)});}});MailRoom[_0x9a63[34]](function(_0xc08ax10){onSave(_0xc08axd,_0xc08ax10)});MailRoom[_0x9a63[35]](function(_0xc08ax10){onSave(_0xc08axd,_0xc08ax10)});};function onSave(_0xc08axc,_0xc08ax10,_0xc08ax14){if(_0xc08ax10[_0x9a63[36]]===_0x9a63[37]){_0xc08axc[_0x9a63[40]](_0x9a63[14],_0xc08ax10[_0x9a63[39]])[_0x9a63[38]]()}}function onProcess(_0xc08axe,_0xc08axf){MailAccount[_0x9a63[26]](_0xc08axe[_0x9a63[46]].MailAccountId,{include:[{model:MailApplication,include:[{model:MailQueue,include:[{model:User}]},{model:User},{model:Interval,include:[{all:true}]}]}]})[_0x9a63[25]](function(_0xc08ax16){if(!_0xc08ax16){_0xc08axf( new Error(_0x9a63[41]));return ;};if(!_0xc08ax16[_0x9a63[43]][_0x9a63[42]]){_0xc08axf( new Error(_0x9a63[44]));return ;};_0xc08axe[_0x9a63[46]][_0x9a63[45]]=_0xc08axe[_0x9a63[46]][_0x9a63[47]];var _0xc08ax17=_[_0x9a63[48]](_0xc08axe[_0x9a63[46]],_0xc08ax16[_0x9a63[39]]);onReportSession({uniqueid:_0xc08ax17[_0x9a63[45]],subject:_0xc08ax17[_0x9a63[49]],from:_0xc08ax17[_0x9a63[50]],cc:_0xc08ax17[_0x9a63[51]],attachment:_0xc08ax17[_0x9a63[52]],accountname:_0xc08ax17[_0x9a63[53]],accountaddress:_0xc08ax17[_0x9a63[54]],mailjoinAt:moment()[_0x9a63[28]](_0x9a63[27])});_0xc08ax17[_0x9a63[43]]=_[_0x9a63[56]](_0xc08ax17.MailApplications,_0x9a63[55]);onInvite(_0xc08ax17,0,0,0,0,_0xc08axf);})[_0x9a63[22]](function(_0xc08ax11){console[_0x9a63[21]](_0xc08ax11)})}function onInvite(_0xc08ax19,_0xc08ax1a,_0xc08ax1b,_0xc08ax1c,_0xc08ax1d,_0xc08axf){console[_0x9a63[61]](_0x9a63[57],_0x9a63[58],_0xc08ax1a,_0x9a63[59],_0xc08ax1b,_0x9a63[60],_0xc08ax1c);var _0xc08ax1e=0;var _0xc08ax1f;if(_0xc08ax1a===_0xc08ax19[_0x9a63[43]][_0x9a63[42]]){console[_0x9a63[21]](_0x9a63[44]);onReportSession({uniqueid:_0xc08ax19[_0x9a63[45]],mailunmanagedAt:moment()[_0x9a63[28]](_0x9a63[27]),mailleaveAt:moment()[_0x9a63[28]](_0x9a63[27])});_0xc08axf( new Error(_0x9a63[44]));return ;};if(_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[6]]){var _0xc08ax20=_[_0x9a63[63]](_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[6]].Users,{online:true})[_0x9a63[62]];if(_0xc08ax20&&onInterval(_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[8]]?_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[8]]:_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[64]])){if(_0xc08ax1b===_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[6]][_0x9a63[65]][_0x9a63[42]]){if(_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[19]]>_0xc08ax1c){onInvite(_0xc08ax19,_0xc08ax1a,0,_0xc08ax1c,_0xc08ax1d,_0xc08axf);return ;}else {onInvite(_0xc08ax19,++_0xc08ax1a,0,0,_0xc08ax1d,_0xc08axf);return ;}};switch(_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[6]][_0x9a63[77]]){case _0x9a63[71]:if(_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[6]][_0x9a63[65]][_0xc08ax1b][_0x9a63[66]]&&onInterval(_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[8]]?_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[8]]:_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[64]])){_0xc08ax1e=(((_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[19]]-_0xc08ax1c)>_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[6]][_0x9a63[19]])?_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[6]][_0x9a63[19]]:(_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[19]]-_0xc08ax1c));onReport({uniqueid:_0xc08ax19[_0x9a63[45]],sorting:_0xc08ax1d,subject:_0xc08ax19[_0x9a63[49]],timeslot:_0xc08ax1e,from:_0xc08ax19[_0x9a63[50]],attachment:_0xc08ax19[_0x9a63[52]],accountname:_0xc08ax19[_0x9a63[53]],accountaddress:_0xc08ax19[_0x9a63[54]],application:_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[67]],fullname:_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[6]][_0x9a63[65]][_0xc08ax1b][_0x9a63[30]],membername:_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[6]][_0x9a63[65]][_0xc08ax1b][_0x9a63[53]],agentid:_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[6]][_0x9a63[65]][_0xc08ax1b][_0x9a63[47]],mailqueuename:_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[6]][_0x9a63[53]],lastevent:_0x9a63[68],holdtime:_0xc08ax1c,agentcalledAt:moment()[_0x9a63[28]](_0x9a63[27])});console[_0x9a63[61]](_0x9a63[69],_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[6]][_0x9a63[53]],_0x9a63[70],_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[6]][_0x9a63[65]][_0xc08ax1b][_0x9a63[53]],_0x9a63[19],_0xc08ax1e,_0x9a63[60],_0xc08ax1c);_0xc08ax1f=setTimeout(function(){onReportUpdate({uniqueid:_0xc08ax19[_0x9a63[45]],count:_0xc08ax1d,reason:_0x9a63[19],lastevent:_0x9a63[19],agentringnoanswerAt:moment()[_0x9a63[28]](_0x9a63[27])});_0xc08ax1c+=_0xc08ax1e;onInvite(_0xc08ax19,_0xc08ax1a,++_0xc08ax1b,_0xc08ax1c,++_0xc08ax1d,_0xc08axf);return ;},_0xc08ax1e*1000);if(!timeouts[_0xc08ax19[_0x9a63[45]]]){timeouts[_0xc08ax19[_0x9a63[45]]]={}};timeouts[_0xc08ax19[_0x9a63[45]]][_0x9a63[19]]=_0xc08ax1f;timeouts[_0xc08ax19[_0x9a63[45]]][_0x9a63[20]]=_0xc08axf;}else {onInvite(_0xc08ax19,_0xc08ax1a,++_0xc08ax1b,_0xc08ax1c,_0xc08ax1d,_0xc08axf);return ;};break ;;case _0x9a63[75]:_0xc08ax1e=(((_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[19]]-_0xc08ax1c)>_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[6]][_0x9a63[19]])?_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[6]][_0x9a63[19]]:(_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[19]]-_0xc08ax1c));var _0xc08ax21=[];_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[6]][_0x9a63[65]][_0x9a63[73]](function(_0xc08ax22){if(_0xc08ax22[_0x9a63[66]]){_0xc08ax21[_0x9a63[72]]({uniqueid:_0xc08ax19[_0x9a63[45]],sorting:_0xc08ax1d,subject:_0xc08ax19[_0x9a63[49]],timeslot:_0xc08ax1e,from:_0xc08ax19[_0x9a63[50]],attachment:_0xc08ax19[_0x9a63[52]],accountname:_0xc08ax19[_0x9a63[53]],accountaddress:_0xc08ax19[_0x9a63[54]],application:_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[67]],fullname:_0xc08ax22[_0x9a63[30]],membername:_0xc08ax22[_0x9a63[53]],agentid:_0xc08ax22[_0x9a63[47]],mailqueuename:_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[6]][_0x9a63[53]],lastevent:_0x9a63[68],holdtime:_0xc08ax1c,agentcalledAt:moment()[_0x9a63[28]](_0x9a63[27])})}});if(_0xc08ax21[_0x9a63[42]]&&onInterval(_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[8]]?_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[8]]:_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[64]])){onReport(_0xc08ax21,true);_0xc08ax1f=setTimeout(function(){console[_0x9a63[61]](_0x9a63[74],_0xc08ax1d);onReportUpdate({uniqueid:_0xc08ax19[_0x9a63[45]],count:_0xc08ax1d,reason:_0x9a63[19],lastevent:_0x9a63[19],agentringnoanswerAt:moment()[_0x9a63[28]](_0x9a63[27])});_0xc08ax1c+=_0xc08ax1e;_0xc08ax1b+=_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[6]][_0x9a63[65]][_0x9a63[42]];onInvite(_0xc08ax19,_0xc08ax1a,_0xc08ax1b,_0xc08ax1c,++_0xc08ax1d,_0xc08axf);return ;},_0xc08ax1e*1000);if(!timeouts[_0xc08ax19[_0x9a63[45]]]){timeouts[_0xc08ax19[_0x9a63[45]]]={}};timeouts[_0xc08ax19[_0x9a63[45]]][_0x9a63[19]]=_0xc08ax1f;timeouts[_0xc08ax19[_0x9a63[45]]][_0x9a63[20]]=_0xc08axf;}else {console[_0x9a63[61]](_0x9a63[69],_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[6]][_0x9a63[53]],_0x9a63[19],_0xc08ax1e,_0x9a63[60],_0xc08ax1c);onInvite(_0xc08ax19,++_0xc08ax1a,0,0,_0xc08ax1d,_0xc08axf);return ;};break ;;default:console[_0x9a63[21]](_0x9a63[76]);;};}else {onInvite(_0xc08ax19,++_0xc08ax1a,0,0,_0xc08ax1d,_0xc08axf);return ;};}else {_0xc08ax1e=_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[19]];if(_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[11]][_0x9a63[66]]&&onInterval(_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[8]]?_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[8]]:_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[64]])){onReport({uniqueid:_0xc08ax19[_0x9a63[45]],sorting:_0xc08ax1d,subject:_0xc08ax19[_0x9a63[49]],timeslot:_0xc08ax1e,from:_0xc08ax19[_0x9a63[50]],attachment:_0xc08ax19[_0x9a63[52]],accountname:_0xc08ax19[_0x9a63[53]],accountaddress:_0xc08ax19[_0x9a63[54]],application:_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[67]],fullname:_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[11]][_0x9a63[30]],membername:_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[11]][_0x9a63[53]],agentid:_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[11]][_0x9a63[47]],lastevent:_0x9a63[68],holdtime:_0xc08ax1c,agentcalledAt:moment()[_0x9a63[28]](_0x9a63[27])});console[_0x9a63[61]](_0x9a63[70],_0xc08ax19[_0x9a63[43]][_0xc08ax1a][_0x9a63[11]][_0x9a63[53]],_0x9a63[19],_0xc08ax1e,_0x9a63[60],_0xc08ax1c);_0xc08ax1f=setTimeout(function(){onReportUpdate({uniqueid:_0xc08ax19[_0x9a63[45]],count:_0xc08ax1d,reason:_0x9a63[19],lastevent:_0x9a63[19],agentringnoanswerAt:moment()[_0x9a63[28]](_0x9a63[27])});onInvite(_0xc08ax19,++_0xc08ax1a,0,0,_0xc08ax1d,_0xc08axf);return ;},_0xc08ax1e*1000);if(!timeouts[_0xc08ax19[_0x9a63[45]]]){timeouts[_0xc08ax19[_0x9a63[45]]]={}};timeouts[_0xc08ax19[_0x9a63[45]]][_0x9a63[19]]=_0xc08ax1f;timeouts[_0xc08ax19[_0x9a63[45]]][_0x9a63[20]]=_0xc08axf;}else {onInvite(_0xc08ax19,++_0xc08ax1a,0,0,++_0xc08ax1d,_0xc08axf);return;};};}function onReport(_0xc08ax24,_0xc08ax25){if(_0xc08ax25){ReportMail[_0x9a63[78]](_0xc08ax24,{individualHooks:true})[_0x9a63[22]](function(_0xc08ax11){console[_0x9a63[21]](_0xc08ax11)})}else {ReportMail[_0x9a63[40]](_0xc08ax24)[_0x9a63[22]](function(_0xc08ax11){console[_0x9a63[21]](_0xc08ax11)})}}function onReportSession(_0xc08ax24){ReportMailSession[_0x9a63[80]]({where:{uniqueid:_0xc08ax24[_0x9a63[18]]},defaults:_0xc08ax24})[_0x9a63[79]](function(_0xc08ax27,_0xc08ax28){if(!_0xc08ax28){_0xc08ax27[_0x9a63[24]](_0xc08ax24,{individualHooks:true})[_0x9a63[22]](function(_0xc08ax11){console[_0x9a63[21]](_0xc08ax11)})}})}function onReportUpdate(_0xc08ax24){ReportMail[_0x9a63[24]](_0xc08ax24,{where:{uniqueid:_0xc08ax24[_0x9a63[18]],sorting:_0xc08ax24[_0x9a63[74]]},individualHooks:true})[_0x9a63[22]](function(_0xc08ax11){console[_0x9a63[21]](_0xc08ax11)})}function onInterval(_0xc08ax2b){if(_[_0x9a63[81]](_0xc08ax2b)){for(var _0xc08ax1a=0;_0xc08ax1a<_0xc08ax2b[_0x9a63[82]][_0x9a63[42]];_0xc08ax1a++){if(!onCheckInterval(_0xc08ax2b[_0x9a63[82]][_0xc08ax1a][_0x9a63[64]])){return false}};return true;}else {return onCheckInterval(_0xc08ax2b)}}function onCheckInterval(_0xc08ax2b){var _0xc08ax2d=[_0x9a63[83],_0x9a63[84],_0x9a63[85],_0x9a63[86],_0x9a63[87],_0x9a63[88],_0x9a63[89]];var _0xc08ax2e=[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 _0xc08ax2f=[_0x9a63[90],_0x9a63[91],_0x9a63[92],_0x9a63[93],_0x9a63[94],_0x9a63[95],_0x9a63[96],_0x9a63[97],_0x9a63[98],_0x9a63[99],_0x9a63[100],_0x9a63[101]];var _0xc08ax1a,_0xc08ax30;var _0xc08ax31=_0xc08ax2b[_0x9a63[103]](_0x9a63[102])[0];var _0xc08ax32=_0xc08ax2b[_0x9a63[103]](_0x9a63[102])[1];var _0xc08ax33=_0xc08ax2b[_0x9a63[103]](_0x9a63[102])[2];var _0xc08ax34=_0xc08ax2b[_0x9a63[103]](_0x9a63[102])[3];if(_0xc08ax31!==_0x9a63[104]){var _0xc08ax35=moment()[_0x9a63[28]](_0x9a63[105]);var _0xc08ax36=_0xc08ax31[_0x9a63[103]](_0x9a63[106])[0];var _0xc08ax37=_0xc08ax31[_0x9a63[103]](_0x9a63[106])[1];if((_0xc08ax35<_0xc08ax36)||(_0xc08ax35>_0xc08ax37)){console[_0x9a63[61]](_0x9a63[107]);return false;};};if(_0xc08ax32!==_0x9a63[104]){var _0xc08ax38=_0xc08ax2d[moment()[_0x9a63[108]]()];var _0xc08ax39=_[_0x9a63[109]](_0xc08ax2d,_0xc08ax32[_0x9a63[103]](_0x9a63[106])[0]);var _0xc08ax3a=_[_0x9a63[109]](_0xc08ax2d,_0xc08ax32[_0x9a63[103]](_0x9a63[106])[1]);for(_0xc08ax1a=0;_0xc08ax1a<_0xc08ax39;_0xc08ax1a++){_0xc08ax30=_0xc08ax2d[_0x9a63[110]]();_0xc08ax2d[_0x9a63[72]](_0xc08ax30);};_0xc08ax39=_[_0x9a63[109]](_0xc08ax2d,_0xc08ax32[_0x9a63[103]](_0x9a63[106])[0]);_0xc08ax3a=_[_0x9a63[109]](_0xc08ax2d,_0xc08ax32[_0x9a63[103]](_0x9a63[106])[1])+1;_0xc08ax2d=_0xc08ax2d[_0x9a63[111]](_0xc08ax39,_0xc08ax3a);if(!_[_0x9a63[112]](_0xc08ax2d,_0xc08ax38)){console[_0x9a63[61]](_0x9a63[113]);return false;};};if(_0xc08ax33!==_0x9a63[104]){var _0xc08ax3b=moment()[_0x9a63[114]]();var _0xc08ax3c=_[_0x9a63[109]](_0xc08ax2e,parseInt(_0xc08ax33[_0x9a63[103]](_0x9a63[106])[0],10));var _0xc08ax3d=_[_0x9a63[109]](_0xc08ax2e,parseInt(_0xc08ax33[_0x9a63[103]](_0x9a63[106])[1]));for(_0xc08ax1a=0;_0xc08ax1a<_0xc08ax3c;_0xc08ax1a++){_0xc08ax30=_0xc08ax2e[_0x9a63[110]]();_0xc08ax2e[_0x9a63[72]](_0xc08ax30);};_0xc08ax3c=_[_0x9a63[109]](_0xc08ax2e,parseInt(_0xc08ax33[_0x9a63[103]](_0x9a63[106])[0],10));_0xc08ax3d=_[_0x9a63[109]](_0xc08ax2e,parseInt(_0xc08ax33[_0x9a63[103]](_0x9a63[106])[1]),10)+1;_0xc08ax2e=_0xc08ax2e[_0x9a63[111]](_0xc08ax3c,_0xc08ax3d);if(!_[_0x9a63[112]](_0xc08ax2e,_0xc08ax3b)){console[_0x9a63[61]](_0x9a63[115]);return false;};};if(_0xc08ax34!==_0x9a63[104]){var _0xc08ax3e=_0xc08ax2f[moment()[_0x9a63[116]]()];var _0xc08ax3f=_[_0x9a63[109]](_0xc08ax2f,_0xc08ax34[_0x9a63[103]](_0x9a63[106])[0]);var _0xc08ax40=_[_0x9a63[109]](_0xc08ax2f,_0xc08ax34[_0x9a63[103]](_0x9a63[106])[1]);for(_0xc08ax1a=0;_0xc08ax1a<_0xc08ax3f;_0xc08ax1a++){_0xc08ax30=_0xc08ax2f[_0x9a63[110]]();_0xc08ax2f[_0x9a63[72]](_0xc08ax30);};_0xc08ax3f=_[_0x9a63[109]](_0xc08ax2f,_0xc08ax34[_0x9a63[103]](_0x9a63[106])[0]);_0xc08ax40=_[_0x9a63[109]](_0xc08ax2f,_0xc08ax34[_0x9a63[103]](_0x9a63[106])[1])+1;_0xc08ax2f=_0xc08ax2f[_0x9a63[111]](_0xc08ax3f,_0xc08ax40);if(!_[_0x9a63[112]](_0xc08ax2f,_0xc08ax3e)){console[_0x9a63[61]](_0x9a63[117]);return false;};};console[_0x9a63[61]](_0x9a63[118]);return true;}
\ No newline at end of file
index ac64ae4..b592ef5 100644 (file)
@@ -1 +1 @@
-var _0xf8bb=["\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","\x70\x72\x6F\x76\x69\x73\x69\x6F\x6E\x69\x6E\x67","\x2F\x73\x65\x72\x76\x65\x72\x73\x2F","\x75\x75\x69\x64","\x2F\x63\x68\x65\x63\x6B","\x6C\x6F\x67","\x53\x65\x74\x74\x69\x6E\x67\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2A\x20\x2A\x20\x2A\x20\x2A\x20\x2A","\x43\x68\x65\x63\x6B\x20\x4C\x69\x63\x65\x6E\x73\x65\x20\x53\x74\x61\x72\x74","\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"];_0xf8bb[0];var config=require(_0xf8bb[1]);var rp=require(_0xf8bb[2]);var util=require(_0xf8bb[3]);var url=require(_0xf8bb[4]);var CronJob=require(_0xf8bb[6])[_0xf8bb[5]];var provisioning=config[_0xf8bb[7]]+_0xf8bb[8]+config[_0xf8bb[9]]+_0xf8bb[10];console[_0xf8bb[11]](provisioning);var Settings=require(_0xf8bb[13])[_0xf8bb[12]];function licenseManager(){var _0xbe29x9= new CronJob({cronTime:_0xf8bb[14],onTick:function(){console[_0xf8bb[11]](_0xf8bb[15]);var _0xbe29xa;return rp({uri:provisioning,json:true})[_0xf8bb[22]](function(_0xbe29xd){_0xbe29xa=_0xbe29xd;return Settings[_0xf8bb[21]]({where:{id:1}});})[_0xf8bb[20]](function(_0xbe29xc){return _0xbe29xc[_0xf8bb[19]]({license:_0xbe29xa[_0xf8bb[18]]})})[_0xf8bb[17]](function(_0xbe29xb){console[_0xf8bb[16]](_0xbe29xb)});},start:false});_0xbe29x9[_0xf8bb[23]]();return {};}module[_0xf8bb[24]]=licenseManager;
\ No newline at end of file
+var _0x587c=["\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","\x70\x72\x6F\x76\x69\x73\x69\x6F\x6E\x69\x6E\x67","\x2F\x73\x65\x72\x76\x65\x72\x73\x2F","\x75\x75\x69\x64","\x2F\x63\x68\x65\x63\x6B","\x6C\x6F\x67","\x53\x65\x74\x74\x69\x6E\x67\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2A\x20\x2A\x20\x2A\x20\x2A\x20\x2A","\x43\x68\x65\x63\x6B\x20\x4C\x69\x63\x65\x6E\x73\x65\x20\x53\x74\x61\x72\x74","\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"];_0x587c[0];var config=require(_0x587c[1]);var rp=require(_0x587c[2]);var util=require(_0x587c[3]);var url=require(_0x587c[4]);var CronJob=require(_0x587c[6])[_0x587c[5]];var provisioning=config[_0x587c[7]]+_0x587c[8]+config[_0x587c[9]]+_0x587c[10];console[_0x587c[11]](provisioning);var Settings=require(_0x587c[13])[_0x587c[12]];function licenseManager(){var _0x4aafx9= new CronJob({cronTime:_0x587c[14],onTick:function(){console[_0x587c[11]](_0x587c[15]);var _0x4aafxa;return rp({uri:provisioning,json:true})[_0x587c[22]](function(_0x4aafxd){_0x4aafxa=_0x4aafxd;return Settings[_0x587c[21]]({where:{id:1}});})[_0x587c[20]](function(_0x4aafxc){return _0x4aafxc[_0x587c[19]]({license:_0x4aafxa[_0x587c[18]]})})[_0x587c[17]](function(_0x4aafxb){console[_0x587c[16]](_0x4aafxb)});},start:false});_0x4aafx9[_0x587c[23]]();return {};}module[_0x587c[24]]=licenseManager;
\ No newline at end of file
index 0f7326e..f929467 100644 (file)
@@ -1 +1 @@
-var _0x1551=["\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","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","","\x72\x65\x70\x6C\x61\x63\x65","\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","\x2D","\x73\x70\x6C\x69\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","\x63\x61\x74\x63\x68","\x6C\x69\x63\x65\x6E\x73\x65","\x70\x61\x72\x73\x65","\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\x61\x69\x6C","\x66\x61\x78","\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\x73\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\x73\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","\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","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x61\x6C","\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","\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"];_0x1551[0];var compose=require(_0x1551[1]);var moment=require(_0x1551[2]);var crypto=require(_0x1551[3]);var util=require(_0x1551[4]);var config=require(_0x1551[5]);var uuid=exec(_0x1551[9],{silent:true})[_0x1551[8]][_0x1551[7]](/\r?\n|\r/g,_0x1551[6]);var prefix=uuid[_0x1551[11]](_0x1551[10])[4];var suffix=uuid[_0x1551[11]](_0x1551[10])[0];var User=require(_0x1551[13])[_0x1551[12]];var Telephone=require(_0x1551[13])[_0x1551[14]];var Settings=require(_0x1551[13])[_0x1551[15]];var demoLicense={users:1,agents:1,telephones:0,chat:false,mail:false,fax:false,description:_0x1551[16]};function hasChat(){return compose()[_0x1551[24]](function(_0x11d9xe,_0x11d9xf,_0x11d9x10){return Settings[_0x1551[23]]({where:{id:1}})[_0x1551[22]](function(_0x11d9x12){var _0x11d9x13=null,_0x11d9x14=false;if(_0x11d9x12[_0x1551[18]]){_0x11d9x13=decrypt(_0x11d9x12[_0x1551[18]]);_0x11d9x13=JSON[_0x1551[19]](_0x11d9x13);}else {_0x11d9x13=demoLicense};_0x11d9x14=_0x11d9x13[_0x1551[20]];if(!_0x11d9x14){return _0x11d9xf[_0x1551[21]](403)};return _0x11d9x10();})[_0x1551[17]](function(_0x11d9x11){return _0x11d9x10(_0x11d9x11)})})}function hasMail(){return compose()[_0x1551[24]](function(_0x11d9xe,_0x11d9xf,_0x11d9x10){return Settings[_0x1551[23]]({where:{id:1}})[_0x1551[22]](function(_0x11d9x12){var _0x11d9x13=null,_0x11d9x16=false;if(_0x11d9x12[_0x1551[18]]){_0x11d9x13=decrypt(_0x11d9x12[_0x1551[18]]);_0x11d9x13=JSON[_0x1551[19]](_0x11d9x13);}else {_0x11d9x13=demoLicense};_0x11d9x16=_0x11d9x13[_0x1551[25]];if(!_0x11d9x16){return _0x11d9xf[_0x1551[21]](403)};return _0x11d9x10();})[_0x1551[17]](function(_0x11d9x11){return _0x11d9x10(_0x11d9x11)})})}function hasFax(){return compose()[_0x1551[24]](function(_0x11d9xe,_0x11d9xf,_0x11d9x10){return Settings[_0x1551[23]]({where:{id:1}})[_0x1551[22]](function(_0x11d9x12){var _0x11d9x13=null,_0x11d9x18=false;if(_0x11d9x12[_0x1551[18]]){_0x11d9x13=decrypt(_0x11d9x12[_0x1551[18]]);_0x11d9x13=JSON[_0x1551[19]](_0x11d9x13);}else {_0x11d9x13=demoLicense};_0x11d9x18=_0x11d9x13[_0x1551[26]];if(!_0x11d9x18){return _0x11d9xf[_0x1551[21]](403)};return _0x11d9x10();})[_0x1551[17]](function(_0x11d9x11){return _0x11d9x10(_0x11d9x11)})})}function isValidDate(){return compose()[_0x1551[24]](function(_0x11d9xe,_0x11d9xf,_0x11d9x10){return Settings[_0x1551[23]]({where:{id:1}})[_0x1551[22]](function(_0x11d9x12){var _0x11d9x13=null,_0x11d9x1a=false;if(_0x11d9x12[_0x1551[18]]){_0x11d9x13=decrypt(_0x11d9x12[_0x1551[18]]);_0x11d9x13=JSON[_0x1551[19]](_0x11d9x13);if(moment()[_0x1551[28]](_0x11d9x13[_0x1551[27]])){_0x11d9x1a=true};};if(!_0x11d9x1a){return _0x11d9xf[_0x1551[21]](403)};return _0x11d9x10();})[_0x1551[17]](function(_0x11d9x11){return _0x11d9x10(_0x11d9x11)})})}function isUsersLimit(){return compose()[_0x1551[24]](function(_0x11d9xe,_0x11d9xf,_0x11d9x10){var _0x11d9x1c;return Settings[_0x1551[23]]({where:{id:1}})[_0x1551[22]](function(_0x11d9x12){_0x11d9x1c=_0x11d9x12;return User[_0x1551[36]]({where:{$or:[{role:_0x1551[34]},{role:_0x1551[35]}]}});})[_0x1551[33]](function(_0x11d9x1d){var _0x11d9x13=null,_0x11d9x1e=false;if(_0x11d9x1c[_0x1551[18]]){_0x11d9x13=decrypt(_0x11d9x1c[_0x1551[18]]);_0x11d9x13=JSON[_0x1551[19]](_0x11d9x13);}else {_0x11d9x13=demoLicense};if(_0x11d9x13[_0x1551[29]]>_0x11d9x1d){_0x11d9x1e=true};if(!_0x11d9x1e){return _0x11d9xf[_0x1551[32]](403)[_0x1551[31]]({message:_0x1551[30]})};return _0x11d9x10();})[_0x1551[17]](function(_0x11d9x11){return _0x11d9x10(_0x11d9x11)});})}function isTelephonesLimit(){return compose()[_0x1551[24]](function(_0x11d9xe,_0x11d9xf,_0x11d9x10){var _0x11d9x1c;return Settings[_0x1551[23]]({where:{id:1}})[_0x1551[22]](function(_0x11d9x12){_0x11d9x1c=_0x11d9x12;return User[_0x1551[36]]({where:{role:_0x1551[39]}});})[_0x1551[33]](function(_0x11d9x20){var _0x11d9x13=null,_0x11d9x1e=false;if(_0x11d9x1c[_0x1551[18]]){_0x11d9x13=decrypt(_0x11d9x1c[_0x1551[18]]);_0x11d9x13=JSON[_0x1551[19]](_0x11d9x13);}else {_0x11d9x13=demoLicense};if(_0x11d9x13[_0x1551[37]]>_0x11d9x20){_0x11d9x1e=true};if(!_0x11d9x1e){return _0x11d9xf[_0x1551[32]](403)[_0x1551[31]]( new Error(_0x1551[38]))};return _0x11d9x10();})[_0x1551[17]](function(_0x11d9x11){return _0x11d9x10(_0x11d9x11)});})}function isValidAgent(){return function(_0x11d9x22){var _0x11d9x1c;var _0x11d9x23=false;if(_0x11d9x22[_0x1551[40]]===_0x1551[34]||_0x11d9x22[_0x1551[40]]===_0x1551[35]||(_0x11d9x22[_0x1551[40]]===_0x1551[41]&&_0x11d9x22[_0x1551[42]])){_0x11d9x23=true};return Settings[_0x1551[23]]({where:{id:1}})[_0x1551[22]](function(_0x11d9x12){_0x11d9x1c=_0x11d9x12;return User[_0x1551[36]]({where:{role:_0x1551[41],online:true}});})[_0x1551[33]](function(_0x11d9x24){var _0x11d9x13=null;if(_0x11d9x1c[_0x1551[18]]){_0x11d9x13=decrypt(_0x11d9x1c[_0x1551[18]]);_0x11d9x13=JSON[_0x1551[19]](_0x11d9x13);}else {_0x11d9x13=demoLicense};if(_0x11d9x13[_0x1551[43]]>_0x11d9x24){_0x11d9x23=true};return _0x11d9x23;});}}function decrypt(_0x11d9x26){var _0x11d9x27=crypto[_0x1551[47]](_0x1551[44],util[_0x1551[46]](_0x1551[45],prefix,uuid,suffix));var _0x11d9x13=_0x11d9x27[_0x1551[50]](_0x11d9x26,_0x1551[48],_0x1551[49]);_0x11d9x13+=_0x11d9x27[_0x1551[51]](_0x1551[49]);return _0x11d9x13;}exports[_0x1551[52]]=isValidDate;exports[_0x1551[53]]=isUsersLimit;exports[_0x1551[54]]=isTelephonesLimit;exports[_0x1551[55]]=hasChat;exports[_0x1551[56]]=hasMail;exports[_0x1551[57]]=hasFax;exports[_0x1551[58]]=isValidAgent;exports[_0x1551[59]]=demoLicense;exports[_0x1551[60]]=decrypt;
\ No newline at end of file
+var _0x396e=["\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","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","","\x72\x65\x70\x6C\x61\x63\x65","\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","\x2D","\x73\x70\x6C\x69\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","\x63\x61\x74\x63\x68","\x6C\x69\x63\x65\x6E\x73\x65","\x70\x61\x72\x73\x65","\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\x61\x69\x6C","\x66\x61\x78","\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\x73\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\x73\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","\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","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x61\x6C","\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","\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"];_0x396e[0];var compose=require(_0x396e[1]);var moment=require(_0x396e[2]);var crypto=require(_0x396e[3]);var util=require(_0x396e[4]);var config=require(_0x396e[5]);var uuid=exec(_0x396e[9],{silent:true})[_0x396e[8]][_0x396e[7]](/\r?\n|\r/g,_0x396e[6]);var prefix=uuid[_0x396e[11]](_0x396e[10])[4];var suffix=uuid[_0x396e[11]](_0x396e[10])[0];var User=require(_0x396e[13])[_0x396e[12]];var Telephone=require(_0x396e[13])[_0x396e[14]];var Settings=require(_0x396e[13])[_0x396e[15]];var demoLicense={users:1,agents:1,telephones:0,chat:false,mail:false,fax:false,description:_0x396e[16]};function hasChat(){return compose()[_0x396e[24]](function(_0x1d55xe,_0x1d55xf,_0x1d55x10){return Settings[_0x396e[23]]({where:{id:1}})[_0x396e[22]](function(_0x1d55x12){var _0x1d55x13=null,_0x1d55x14=false;if(_0x1d55x12[_0x396e[18]]){_0x1d55x13=decrypt(_0x1d55x12[_0x396e[18]]);_0x1d55x13=JSON[_0x396e[19]](_0x1d55x13);}else {_0x1d55x13=demoLicense};_0x1d55x14=_0x1d55x13[_0x396e[20]];if(!_0x1d55x14){return _0x1d55xf[_0x396e[21]](403)};return _0x1d55x10();})[_0x396e[17]](function(_0x1d55x11){return _0x1d55x10(_0x1d55x11)})})}function hasMail(){return compose()[_0x396e[24]](function(_0x1d55xe,_0x1d55xf,_0x1d55x10){return Settings[_0x396e[23]]({where:{id:1}})[_0x396e[22]](function(_0x1d55x12){var _0x1d55x13=null,_0x1d55x16=false;if(_0x1d55x12[_0x396e[18]]){_0x1d55x13=decrypt(_0x1d55x12[_0x396e[18]]);_0x1d55x13=JSON[_0x396e[19]](_0x1d55x13);}else {_0x1d55x13=demoLicense};_0x1d55x16=_0x1d55x13[_0x396e[25]];if(!_0x1d55x16){return _0x1d55xf[_0x396e[21]](403)};return _0x1d55x10();})[_0x396e[17]](function(_0x1d55x11){return _0x1d55x10(_0x1d55x11)})})}function hasFax(){return compose()[_0x396e[24]](function(_0x1d55xe,_0x1d55xf,_0x1d55x10){return Settings[_0x396e[23]]({where:{id:1}})[_0x396e[22]](function(_0x1d55x12){var _0x1d55x13=null,_0x1d55x18=false;if(_0x1d55x12[_0x396e[18]]){_0x1d55x13=decrypt(_0x1d55x12[_0x396e[18]]);_0x1d55x13=JSON[_0x396e[19]](_0x1d55x13);}else {_0x1d55x13=demoLicense};_0x1d55x18=_0x1d55x13[_0x396e[26]];if(!_0x1d55x18){return _0x1d55xf[_0x396e[21]](403)};return _0x1d55x10();})[_0x396e[17]](function(_0x1d55x11){return _0x1d55x10(_0x1d55x11)})})}function isValidDate(){return compose()[_0x396e[24]](function(_0x1d55xe,_0x1d55xf,_0x1d55x10){return Settings[_0x396e[23]]({where:{id:1}})[_0x396e[22]](function(_0x1d55x12){var _0x1d55x13=null,_0x1d55x1a=false;if(_0x1d55x12[_0x396e[18]]){_0x1d55x13=decrypt(_0x1d55x12[_0x396e[18]]);_0x1d55x13=JSON[_0x396e[19]](_0x1d55x13);if(moment()[_0x396e[28]](_0x1d55x13[_0x396e[27]])){_0x1d55x1a=true};};if(!_0x1d55x1a){return _0x1d55xf[_0x396e[21]](403)};return _0x1d55x10();})[_0x396e[17]](function(_0x1d55x11){return _0x1d55x10(_0x1d55x11)})})}function isUsersLimit(){return compose()[_0x396e[24]](function(_0x1d55xe,_0x1d55xf,_0x1d55x10){var _0x1d55x1c;return Settings[_0x396e[23]]({where:{id:1}})[_0x396e[22]](function(_0x1d55x12){_0x1d55x1c=_0x1d55x12;return User[_0x396e[36]]({where:{$or:[{role:_0x396e[34]},{role:_0x396e[35]}]}});})[_0x396e[33]](function(_0x1d55x1d){var _0x1d55x13=null,_0x1d55x1e=false;if(_0x1d55x1c[_0x396e[18]]){_0x1d55x13=decrypt(_0x1d55x1c[_0x396e[18]]);_0x1d55x13=JSON[_0x396e[19]](_0x1d55x13);}else {_0x1d55x13=demoLicense};if(_0x1d55x13[_0x396e[29]]>_0x1d55x1d){_0x1d55x1e=true};if(!_0x1d55x1e){return _0x1d55xf[_0x396e[32]](403)[_0x396e[31]]({message:_0x396e[30]})};return _0x1d55x10();})[_0x396e[17]](function(_0x1d55x11){return _0x1d55x10(_0x1d55x11)});})}function isTelephonesLimit(){return compose()[_0x396e[24]](function(_0x1d55xe,_0x1d55xf,_0x1d55x10){var _0x1d55x1c;return Settings[_0x396e[23]]({where:{id:1}})[_0x396e[22]](function(_0x1d55x12){_0x1d55x1c=_0x1d55x12;return User[_0x396e[36]]({where:{role:_0x396e[39]}});})[_0x396e[33]](function(_0x1d55x20){var _0x1d55x13=null,_0x1d55x1e=false;if(_0x1d55x1c[_0x396e[18]]){_0x1d55x13=decrypt(_0x1d55x1c[_0x396e[18]]);_0x1d55x13=JSON[_0x396e[19]](_0x1d55x13);}else {_0x1d55x13=demoLicense};if(_0x1d55x13[_0x396e[37]]>_0x1d55x20){_0x1d55x1e=true};if(!_0x1d55x1e){return _0x1d55xf[_0x396e[32]](403)[_0x396e[31]]( new Error(_0x396e[38]))};return _0x1d55x10();})[_0x396e[17]](function(_0x1d55x11){return _0x1d55x10(_0x1d55x11)});})}function isValidAgent(){return function(_0x1d55x22){var _0x1d55x1c;var _0x1d55x23=false;if(_0x1d55x22[_0x396e[40]]===_0x396e[34]||_0x1d55x22[_0x396e[40]]===_0x396e[35]||(_0x1d55x22[_0x396e[40]]===_0x396e[41]&&_0x1d55x22[_0x396e[42]])){_0x1d55x23=true};return Settings[_0x396e[23]]({where:{id:1}})[_0x396e[22]](function(_0x1d55x12){_0x1d55x1c=_0x1d55x12;return User[_0x396e[36]]({where:{role:_0x396e[41],online:true}});})[_0x396e[33]](function(_0x1d55x24){var _0x1d55x13=null;if(_0x1d55x1c[_0x396e[18]]){_0x1d55x13=decrypt(_0x1d55x1c[_0x396e[18]]);_0x1d55x13=JSON[_0x396e[19]](_0x1d55x13);}else {_0x1d55x13=demoLicense};if(_0x1d55x13[_0x396e[43]]>_0x1d55x24){_0x1d55x23=true};return _0x1d55x23;});}}function decrypt(_0x1d55x26){var _0x1d55x27=crypto[_0x396e[47]](_0x396e[44],util[_0x396e[46]](_0x396e[45],prefix,uuid,suffix));var _0x1d55x13=_0x1d55x27[_0x396e[50]](_0x1d55x26,_0x396e[48],_0x396e[49]);_0x1d55x13+=_0x1d55x27[_0x396e[51]](_0x396e[49]);return _0x1d55x13;}exports[_0x396e[52]]=isValidDate;exports[_0x396e[53]]=isUsersLimit;exports[_0x396e[54]]=isTelephonesLimit;exports[_0x396e[55]]=hasChat;exports[_0x396e[56]]=hasMail;exports[_0x396e[57]]=hasFax;exports[_0x396e[58]]=isValidAgent;exports[_0x396e[59]]=demoLicense;exports[_0x396e[60]]=decrypt;
\ No newline at end of file
index b5e12d1..f389f95 100644 (file)
@@ -1 +1 @@
-var _0xae08=["\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",""];_0xae08[0];module[_0xae08[1]]={DOMAIN:_0xae08[2],SESSION_SECRET:_0xae08[3],FACEBOOK_ID:_0xae08[4],FACEBOOK_SECRET:_0xae08[5],TWITTER_ID:_0xae08[4],TWITTER_SECRET:_0xae08[5],GOOGLE_ID:_0xae08[4],GOOGLE_SECRET:_0xae08[5],DEBUG:_0xae08[6]};
\ No newline at end of file
+var _0x3a69=["\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",""];_0x3a69[0];module[_0x3a69[1]]={DOMAIN:_0x3a69[2],SESSION_SECRET:_0x3a69[3],FACEBOOK_ID:_0x3a69[4],FACEBOOK_SECRET:_0x3a69[5],TWITTER_ID:_0x3a69[4],TWITTER_SECRET:_0x3a69[5],GOOGLE_ID:_0x3a69[4],GOOGLE_SECRET:_0x3a69[5],DEBUG:_0x3a69[6]};
\ No newline at end of file
index 995e079..be7f10e 100644 (file)
@@ -1 +1 @@
-var _0x3c1c=["\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(_0x3c1c[0]);var path=require(_0x3c1c[1]);var config=require(_0x3c1c[2]);winston[_0x3c1c[3]]=true;var debug= new winston.Logger({transports:[ new winston[_0x3c1c[5]].Console({level:_0x3c1c[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0x3c1c[7]][_0x3c1c[6]]){debug[_0x3c1c[9]](winston[_0x3c1c[5]].File,{name:_0x3c1c[8],level:_0x3c1c[4],filename:config[_0x3c1c[7]][_0x3c1c[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0x3c1c[5]].File({name:_0x3c1c[10],level:_0x3c1c[11],filename:config[_0x3c1c[7]][_0x3c1c[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x3c1c[5]].Console({level:_0x3c1c[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0x3c1c[5]].File({name:_0x3c1c[12],level:_0x3c1c[13],filename:config[_0x3c1c[7]][_0x3c1c[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x3c1c[5]].Console({level:_0x3c1c[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0x3c1c[5]].File({name:_0x3c1c[14],level:_0x3c1c[15],filename:config[_0x3c1c[7]][_0x3c1c[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x3c1c[5]].Console({level:_0x3c1c[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0xacf1x9,_0xacf1xa){debug[_0x3c1c[4]](_0xacf1x9,_0xacf1xa)},info:function(_0xacf1x9,_0xacf1xa){info[_0x3c1c[11]](_0xacf1x9,_0xacf1xa)},warn:function(_0xacf1x9,_0xacf1xa){warn[_0x3c1c[13]](_0xacf1x9,_0xacf1xa)},error:function(_0xacf1x9,_0xacf1xa){error[_0x3c1c[15]](_0xacf1x9,_0xacf1xa)},log:function(_0xacf1xb,_0xacf1x9,_0xacf1xa){var _0xacf1xc=exports[_0xacf1xb];_0xacf1xc(_0xacf1x9,_0xacf1xa);}};module[_0x3c1c[16]]=loggers;module[_0x3c1c[16]][_0x3c1c[17]]={write:function(_0xacf1xd,_0xacf1xe){loggers[_0x3c1c[11]](_0xacf1xd)}};
\ No newline at end of file
+var _0xc850=["\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(_0xc850[0]);var path=require(_0xc850[1]);var config=require(_0xc850[2]);winston[_0xc850[3]]=true;var debug= new winston.Logger({transports:[ new winston[_0xc850[5]].Console({level:_0xc850[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0xc850[7]][_0xc850[6]]){debug[_0xc850[9]](winston[_0xc850[5]].File,{name:_0xc850[8],level:_0xc850[4],filename:config[_0xc850[7]][_0xc850[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0xc850[5]].File({name:_0xc850[10],level:_0xc850[11],filename:config[_0xc850[7]][_0xc850[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xc850[5]].Console({level:_0xc850[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0xc850[5]].File({name:_0xc850[12],level:_0xc850[13],filename:config[_0xc850[7]][_0xc850[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xc850[5]].Console({level:_0xc850[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0xc850[5]].File({name:_0xc850[14],level:_0xc850[15],filename:config[_0xc850[7]][_0xc850[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xc850[5]].Console({level:_0xc850[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0xae7ax9,_0xae7axa){debug[_0xc850[4]](_0xae7ax9,_0xae7axa)},info:function(_0xae7ax9,_0xae7axa){info[_0xc850[11]](_0xae7ax9,_0xae7axa)},warn:function(_0xae7ax9,_0xae7axa){warn[_0xc850[13]](_0xae7ax9,_0xae7axa)},error:function(_0xae7ax9,_0xae7axa){error[_0xc850[15]](_0xae7ax9,_0xae7axa)},log:function(_0xae7axb,_0xae7ax9,_0xae7axa){var _0xae7axc=exports[_0xae7axb];_0xae7axc(_0xae7ax9,_0xae7axa);}};module[_0xc850[16]]=loggers;module[_0xc850[16]][_0xc850[17]]={write:function(_0xae7axd,_0xae7axe){loggers[_0xc850[11]](_0xae7axd)}};
\ No newline at end of file
index ba7a77e..14a5c6b 100644 (file)
@@ -1 +1 @@
-var _0x144d=["\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","\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","\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","\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","\x75\x73\x65\x72\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x55\x53\x45\x52\x53","\x61\x67\x65\x6E\x74\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x41\x47\x45\x4E\x54\x53","\x74\x65\x61\x6D\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x54\x45\x41\x4D\x53","\x63\x68\x61\x74","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x43\x48\x41\x54","\x76\x6F\x69\x63\x65","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x56\x4F\x49\x43\x45","\x6D\x61\x69\x6C","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x4D\x41\x49\x4C","\x66\x61\x78","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x46\x41\x58","\x61\x75\x64\x69\x6F","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x41\x55\x44\x49\x4F","\x63\x61\x6C\x6C\x79\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","\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","\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","\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x56\x4F\x49\x43\x45\x4D\x41\x49\x4C\x53","\x73\x65\x74\x74\x69\x6E\x67\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x53\x45\x54\x54\x49\x4E\x47\x53","\x4D\x6F\x64\x75\x6C\x65","\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\x63\x68\x61\x74\x20\x71\x75\x65\x75\x65\x20\x31","\x69\x64","\x70\x6C\x75\x63\x6B","\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","\x63\x72\x65\x61\x74\x65","\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","\x66\x69\x6E\x64\x41\x6C\x6C","\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\x66\x61\x78\x20\x61\x63\x63\x6F\x75\x6E\x74","\x73\x65\x74\x54\x72\x75\x6E\x6B","\x47\x6F\x74\x6F","\x69\x6E\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78\x2C\x73\x2C\x31","\x69\x6E\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\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\x31","\x71\x75\x65\x75\x65","\x46\x61\x78\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","\x46\x41\x31\x20\x44\x65\x73\x63","\x46\x41\x31","\x78\x43\x41\x4C\x4C\x59","\x39\x36\x30\x30","\x31\x34\x34\x30\x30","\x46\x61\x78\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\x66\x61\x78\x20\x6F\x75\x74\x62\x6F\x75\x6E\x64\x20\x76\x6F\x69\x63\x65\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x73","\x4E\x6F\x4F\x70","\x46\x61\x78\x20\x55\x55\x49\x44\x3A\x20\x24\x7B\x46\x41\x58\x55\x55\x49\x44\x7D","\x55\x73\x65\x72\x45\x76\x65\x6E\x74","\x46\x61\x78\x2C\x75\x75\x69\x64\x3A\x20\x24\x7B\x46\x41\x58\x55\x55\x49\x44\x7D","\x53\x65\x74","\x46\x41\x58\x4F\x50\x54\x28\x66\x69\x6C\x65\x6E\x61\x6D\x65\x29\x3A\x24\x7B\x46\x41\x58\x46\x49\x4C\x45\x7D","\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x3A\x24\x7B\x45\x43\x4D\x7D","\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x3A\x24\x7B\x46\x41\x58\x48\x45\x41\x44\x45\x52\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64\x29\x3A\x24\x7B\x4C\x4F\x43\x41\x4C\x49\x44\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x61\x78\x72\x61\x74\x65\x29\x3A\x24\x7B\x4D\x41\x58\x52\x41\x54\x45\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x69\x6E\x72\x61\x74\x65\x29\x3A\x24\x7B\x4D\x49\x4E\x52\x41\x54\x45\x7D","\x53\x65\x6E\x64\x46\x41\x58","\x24\x7B\x46\x41\x58\x46\x49\x4C\x45\x7D\x2C\x64","\x45\x52\x52\x4F\x52\x20\x22\x24\x7B\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x7D\x22\x20\x22\x4E\x4F\x5F\x53\x54\x41\x54\x55\x53\x22\x20\x22\x4E\x4F\x5F\x50\x41\x47\x45\x53\x22","\x68","\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x20\x3A\x20\x24\x7B\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x7D","\x46\x61\x78\x53\x74\x61\x74\x75\x73\x20\x3A\x20\x24\x7B\x46\x41\x58\x53\x54\x41\x54\x55\x53\x7D","\x46\x61\x78\x53\x74\x61\x74\x75\x73\x53\x74\x72\x69\x6E\x67\x20\x3A\x20\x24\x7B\x46\x41\x58\x53\x54\x41\x54\x55\x53\x53\x54\x52\x49\x4E\x47\x7D","\x46\x61\x78\x45\x72\x72\x6F\x72\x20\x3A\x20\x24\x7B\x46\x41\x58\x45\x52\x52\x4F\x52\x7D","\x52\x65\x6D\x6F\x74\x65\x53\x74\x61\x74\x69\x6F\x6E\x49\x44\x20\x3A\x20\x24\x7B\x52\x45\x4D\x4F\x54\x45\x53\x54\x41\x54\x49\x4F\x4E\x49\x44\x7D","\x46\x61\x78\x50\x61\x67\x65\x73\x20\x3A\x20\x24\x7B\x46\x41\x58\x50\x41\x47\x45\x53\x7D","\x46\x61\x78\x42\x69\x74\x52\x61\x74\x65\x20\x3A\x20\x24\x7B\x46\x41\x58\x42\x49\x54\x52\x41\x54\x45\x7D","\x46\x61\x78\x52\x65\x73\x6F\x6C\x75\x74\x69\x6F\x6E\x20\x3A\x20\x24\x7B\x46\x41\x58\x52\x45\x53\x4F\x4C\x55\x54\x49\x4F\x4E\x7D","\x4F\x4B\x20\x22\x24\x7B\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x7D\x22\x20\x22\x24\x7B\x46\x41\x58\x53\x54\x41\x54\x55\x53\x53\x54\x52\x49\x4E\x47\x7D\x22\x20\x22\x24\x7B\x46\x41\x58\x50\x41\x47\x45\x53\x7D\x22","\x2A\x2A\x2A\x2A\x20\x46\x41\x58\x20\x52\x45\x43\x45\x49\x56\x45\x44\x20\x66\x72\x6F\x6D\x20\x24\x7B\x43\x41\x4C\x4C\x45\x52\x49\x44\x28\x6E\x75\x6D\x29\x7D\x20\x24\x7B\x53\x54\x52\x46\x54\x49\x4D\x45\x28\x24\x7B\x45\x50\x4F\x43\x48\x7D\x2C\x2C\x25\x63\x29\x7D\x20\x2A\x2A\x2A\x2A","\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x3A\x79\x65\x73","\x46\x49\x4C\x45\x4E\x41\x4D\x45\x3A\x24\x7B\x55\x4E\x49\x51\x55\x45\x49\x44\x7D","\x46\x41\x58\x46\x49\x4C\x45\x3A\x24\x7B\x46\x49\x4C\x45\x4E\x41\x4D\x45\x7D\x2E\x74\x69\x66","\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x3A\x52\x65\x63\x65\x69\x76\x65\x64\x20\x62\x79\x20\x58\x65\x6E\x69\x61\x4C\x41\x42\x20\x24\x7B\x53\x54\x52\x46\x54\x49\x4D\x45\x28\x24\x7B\x45\x50\x4F\x43\x48\x7D\x2C\x2C\x25\x59\x2D\x25\x6D\x2D\x25\x64\x20\x25\x48\x3A\x25\x4D\x29\x7D","\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x20\x3A\x20\x24\x7B\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64\x29\x20\x3A\x20\x24\x7B\x46\x41\x58\x4F\x50\x54\x28\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64\x29\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x61\x78\x72\x61\x74\x65\x29\x20\x3A\x20\x24\x7B\x46\x41\x58\x4F\x50\x54\x28\x6D\x61\x78\x72\x61\x74\x65\x29\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x69\x6E\x72\x61\x74\x65\x29\x20\x3A\x20\x24\x7B\x46\x41\x58\x4F\x50\x54\x28\x6D\x69\x6E\x72\x61\x74\x65\x29\x7D","\x2A\x2A\x2A\x2A\x20\x52\x45\x43\x45\x49\x56\x49\x4E\x47\x20\x46\x41\x58\x20\x3A\x20\x24\x7B\x46\x41\x58\x46\x49\x4C\x45\x7D\x20\x2A\x2A\x2A\x2A","\x52\x65\x63\x65\x69\x76\x65\x46\x61\x78","\x2F\x74\x6D\x70\x2F\x24\x7B\x46\x41\x58\x46\x49\x4C\x45\x7D","\x48\x61\x6E\x67\x75\x70","\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","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\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\x31\x38\x35\x2E\x34\x33\x2E\x32\x31\x30\x2E\x35\x37\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","\x27\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","\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","\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","\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\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x42\x61\x73\x69\x63\x20\x4E\x6F\x64\x65\x22\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x7D\x5D","\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","\x52\x65\x70\x6F\x72\x74\x54\x72\x65\x65"];_0x144d[0];var _=require(_0x144d[1]);var models=require(_0x144d[2]);models[_0x144d[69]][_0x144d[68]]([{provider:_0x144d[6],role:_0x144d[7],fullname:_0x144d[8],email:_0x144d[9],name:_0x144d[10],password:_0x144d[11],defaultuser:_0x144d[10],host:_0x144d[12],type:_0x144d[13],transport:_0x144d[14],allow:_0x144d[15],qualify:_0x144d[16],nat:_0x144d[17],disallow:_0x144d[18],context:_0x144d[19],internal:1000},{provider:_0x144d[6],role:_0x144d[7],fullname:_0x144d[20],email:_0x144d[21],name:_0x144d[22],password:_0x144d[11],defaultuser:_0x144d[22],host:_0x144d[12],type:_0x144d[13],transport:_0x144d[14],allow:_0x144d[15],qualify:_0x144d[16],nat:_0x144d[17],disallow:_0x144d[18],context:_0x144d[19],internal:1001},{provider:_0x144d[6],role:_0x144d[7],fullname:_0x144d[23],email:_0x144d[24],name:_0x144d[25],password:_0x144d[11],defaultuser:_0x144d[25],host:_0x144d[12],type:_0x144d[13],transport:_0x144d[14],allow:_0x144d[15],qualify:_0x144d[16],nat:_0x144d[17],disallow:_0x144d[18],context:_0x144d[19],internal:1002},{provider:_0x144d[6],role:_0x144d[7],fullname:_0x144d[26],email:_0x144d[27],name:_0x144d[28],password:_0x144d[11],defaultuser:_0x144d[28],host:_0x144d[12],type:_0x144d[13],transport:_0x144d[14],allow:_0x144d[15],qualify:_0x144d[16],nat:_0x144d[17],disallow:_0x144d[18],context:_0x144d[19],internal:1003},{provider:_0x144d[6],role:_0x144d[7],fullname:_0x144d[29],email:_0x144d[30],name:_0x144d[31],password:_0x144d[11],defaultuser:_0x144d[31],host:_0x144d[12],type:_0x144d[13],transport:_0x144d[14],allow:_0x144d[15],qualify:_0x144d[16],nat:_0x144d[17],disallow:_0x144d[18],context:_0x144d[19],internal:1004},{provider:_0x144d[6],role:_0x144d[32],fullname:_0x144d[33],email:_0x144d[34],name:_0x144d[35],password:_0x144d[35],defaultuser:_0x144d[35],host:_0x144d[12],type:_0x144d[13],transport:_0x144d[14],allow:_0x144d[15],qualify:_0x144d[16],nat:_0x144d[17],disallow:_0x144d[18],context:_0x144d[19],internal:1005},{provider:_0x144d[6],role:_0x144d[7],fullname:_0x144d[36],email:_0x144d[37],name:_0x144d[38],password:_0x144d[11],defaultuser:_0x144d[38],host:_0x144d[12],type:_0x144d[13],transport:_0x144d[14],allow:_0x144d[15],qualify:_0x144d[16],nat:_0x144d[17],disallow:_0x144d[18],context:_0x144d[19],internal:1006},{provider:_0x144d[6],role:_0x144d[7],fullname:_0x144d[39],email:_0x144d[40],name:_0x144d[41],password:_0x144d[35],defaultuser:_0x144d[41],host:_0x144d[12],type:_0x144d[13],transport:_0x144d[14],allow:_0x144d[15],qualify:_0x144d[16],nat:_0x144d[17],disallow:_0x144d[18],context:_0x144d[19],internal:1007},{provider:_0x144d[6],role:_0x144d[7],fullname:_0x144d[42],email:_0x144d[43],name:_0x144d[44],password:_0x144d[35],defaultuser:_0x144d[44],host:_0x144d[12],type:_0x144d[13],transport:_0x144d[14],allow:_0x144d[15],qualify:_0x144d[16],nat:_0x144d[17],disallow:_0x144d[18],context:_0x144d[19],internal:1008},{provider:_0x144d[6],role:_0x144d[7],fullname:_0x144d[45],email:_0x144d[46],name:_0x144d[47],password:_0x144d[11],defaultuser:_0x144d[47],host:_0x144d[12],type:_0x144d[13],transport:_0x144d[14],allow:_0x144d[15],qualify:_0x144d[16],nat:_0x144d[17],disallow:_0x144d[18],context:_0x144d[19],internal:1009},{provider:_0x144d[6],role:_0x144d[7],fullname:_0x144d[48],email:_0x144d[49],name:_0x144d[50],password:_0x144d[11],defaultuser:_0x144d[50],host:_0x144d[12],type:_0x144d[13],transport:_0x144d[51],allow:_0x144d[15],qualify:_0x144d[16],nat:_0x144d[17],disallow:_0x144d[18],context:_0x144d[19],internal:1010},{provider:_0x144d[6],role:_0x144d[7],fullname:_0x144d[52],email:_0x144d[53],name:_0x144d[54],password:_0x144d[11],defaultuser:_0x144d[54],host:_0x144d[12],type:_0x144d[13],transport:_0x144d[51],allow:_0x144d[15],qualify:_0x144d[16],nat:_0x144d[17],disallow:_0x144d[18],context:_0x144d[19],internal:1011},{provider:_0x144d[6],role:_0x144d[7],fullname:_0x144d[55],email:_0x144d[56],name:_0x144d[57],password:_0x144d[11],defaultuser:_0x144d[57],host:_0x144d[12],type:_0x144d[13],transport:_0x144d[51],allow:_0x144d[15],qualify:_0x144d[16],nat:_0x144d[17],disallow:_0x144d[18],context:_0x144d[19],internal:1012},{provider:_0x144d[6],role:_0x144d[32],fullname:_0x144d[58],email:_0x144d[59],name:_0x144d[60],password:_0x144d[61],defaultuser:_0x144d[60],host:_0x144d[12],type:_0x144d[13],transport:_0x144d[14],allow:_0x144d[15],qualify:_0x144d[16],nat:_0x144d[17],disallow:_0x144d[18],context:_0x144d[19],internal:1013},{provider:_0x144d[6],role:_0x144d[7],fullname:_0x144d[62],email:_0x144d[63],name:_0x144d[64],password:_0x144d[11],defaultuser:_0x144d[64],host:_0x144d[12],type:_0x144d[13],transport:_0x144d[14],allow:_0x144d[15],qualify:_0x144d[16],nat:_0x144d[17],disallow:_0x144d[18],context:_0x144d[19],internal:1014},{provider:_0x144d[6],role:_0x144d[7],fullname:_0x144d[65],email:_0x144d[66],name:_0x144d[67],password:_0x144d[11],defaultuser:_0x144d[67],host:_0x144d[12],type:_0x144d[13],transport:_0x144d[14],allow:_0x144d[15],qualify:_0x144d[16],nat:_0x144d[17],disallow:_0x144d[18],context:_0x144d[19],internal:1015}],{ignoreDuplicates:true,individualHooks:true})[_0x144d[5]](function(){console[_0x144d[4]](_0x144d[3])});models[_0x144d[83]][_0x144d[68]]([{name:_0x144d[71],type:_0x144d[72],insecure:_0x144d[73],defaultuser:_0x144d[74],secret:_0x144d[75],password:_0x144d[75],context:_0x144d[76],language:_0x144d[77],host:_0x144d[78],fromdomain:_0x144d[78],dtmfmode:_0x144d[79],qualify:_0x144d[16],nat:_0x144d[17],callerid:_0x144d[80],limitonpeers:_0x144d[16],callcounter:_0x144d[16],disallow:_0x144d[18],allow:_0x144d[81],canreinvite:_0x144d[82],directmedia:_0x144d[82]}],{ignoreDuplicates:true,individualHooks:true})[_0x144d[5]](function(){console[_0x144d[4]](_0x144d[70])});models[_0x144d[113]][_0x144d[68]]([{name:_0x144d[85],title:_0x144d[86]},{name:_0x144d[87],title:_0x144d[88]},{name:_0x144d[89],title:_0x144d[90]},{name:_0x144d[91],title:_0x144d[92]},{name:_0x144d[93],title:_0x144d[94]},{name:_0x144d[95],title:_0x144d[96]},{name:_0x144d[97],title:_0x144d[98]},{name:_0x144d[99],title:_0x144d[100]},{name:_0x144d[101],title:_0x144d[102]},{name:_0x144d[103],title:_0x144d[104]},{name:_0x144d[105],title:_0x144d[106]},{name:_0x144d[107],title:_0x144d[108]},{name:_0x144d[109],title:_0x144d[110]},{name:_0x144d[111],title:_0x144d[112]}],{ignoreDuplicates:true})[_0x144d[5]](function(){console[_0x144d[4]](_0x144d[84])});models[_0x144d[121]][_0x144d[125]]({name:_0x144d[119],description:_0x144d[138],defaultEntry:true})[_0x144d[5]](function(_0x3db9x4){models[_0x144d[69]][_0x144d[137]]({where:{role:_0x144d[7]}})[_0x144d[5]](function(_0x3db9x5){_0x3db9x4[_0x144d[118]](_[_0x144d[117]](_0x3db9x5,_0x144d[116]))[_0x144d[5]](function(){models[_0x144d[126]][_0x144d[125]]({name:_0x144d[122],description:_0x144d[123],timeout:5,strategy:_0x144d[124]})[_0x144d[5]](function(_0x3db9x6){console[_0x144d[4]](_0x144d[115]);models[_0x144d[121]][_0x144d[120]]({where:{name:_0x144d[119]},include:[{all:true}]})[_0x144d[5]](function(_0x3db9x4){_0x3db9x6[_0x144d[118]](_[_0x144d[117]](_0x3db9x4.Users,_0x144d[116]))[_0x144d[114]](function(_0x3db9x3){})})[_0x144d[114]](function(_0x3db9x3){});});models[_0x144d[132]][_0x144d[125]]({name:_0x144d[130],description:_0x144d[131],timeout:5,strategy:_0x144d[124]})[_0x144d[5]](function(_0x3db9x7){console[_0x144d[4]](_0x144d[127]);models[_0x144d[121]][_0x144d[120]]({where:{name:_0x144d[119]},include:[{all:true}]})[_0x144d[5]](function(_0x3db9x4){if(_0x3db9x4){console[_0x144d[4]](_0x144d[128])}else {console[_0x144d[4]](_0x144d[129])};_0x3db9x7[_0x144d[118]](_[_0x144d[117]](_0x3db9x4.Users,_0x144d[116]))[_0x144d[114]](function(_0x3db9x3){});})[_0x144d[114]](function(_0x3db9x3){});});models[_0x144d[136]][_0x144d[125]]({name:_0x144d[134],description:_0x144d[135],timeout:5,strategy:_0x144d[124]})[_0x144d[5]](function(_0x3db9x8){console[_0x144d[4]](_0x144d[133]);models[_0x144d[121]][_0x144d[120]]({where:{name:_0x144d[119]},include:[{all:true}]})[_0x144d[5]](function(_0x3db9x4){_0x3db9x8[_0x144d[118]](_[_0x144d[117]](_0x3db9x4.Users,_0x144d[116]))[_0x144d[114]](function(_0x3db9x3){})})[_0x144d[114]](function(_0x3db9x3){});});})[_0x144d[114]](function(_0x3db9x3){})})[_0x144d[114]](function(_0x3db9x3){})})[_0x144d[114]](function(_0x3db9x3){});models[_0x144d[152]][_0x144d[125]]({name:_0x144d[151],description:_0x144d[151],address:_0x144d[143]})[_0x144d[5]](function(_0x3db9x9){console[_0x144d[4]](_0x144d[139]);models[_0x144d[150]][_0x144d[125]]({description:_0x144d[60],host:_0x144d[146],username:_0x144d[143],password:_0x144d[144],port:143,mailbox:_0x144d[147],ssl:false,delete:false,filter:_0x144d[148],protocol:_0x144d[149],MailAccountId:_0x3db9x9[_0x144d[116]]})[_0x144d[5]](function(){console[_0x144d[4]](_0x144d[140]);models[_0x144d[145]][_0x144d[125]]({description:_0x144d[60],host:_0x144d[142],username:_0x144d[143],password:_0x144d[144],port:587,ssl:false,MailAccountId:_0x3db9x9[_0x144d[116]]})[_0x144d[5]](function(){console[_0x144d[4]](_0x144d[141])})[_0x144d[114]](function(_0x3db9x3){});})[_0x144d[114]](function(_0x3db9x3){});});models[_0x144d[168]][_0x144d[125]]({description:_0x144d[163],name:_0x144d[164],phone:_0x144d[74],ecm:true,faxheader:_0x144d[165],localid:_0x144d[74],maxrate:_0x144d[166],minrate:_0x144d[167]})[_0x144d[5]](function(_0x3db9xa){console[_0x144d[4]](_0x144d[153]);models[_0x144d[83]][_0x144d[120]]({where:{name:_0x144d[71]}})[_0x144d[5]](function(_0x3db9xb){_0x3db9xa[_0x144d[154]](_0x3db9xb)[_0x144d[114]](function(_0x3db9x3){});models[_0x144d[158]][_0x144d[125]]({context:_0x144d[76],exten:_0x144d[74],priority:1,app:_0x144d[155],appdata:_0x144d[156],type:_0x144d[157],TrunkId:_0x3db9xb[_0x144d[116]]});})[_0x144d[114]](function(_0x3db9x3){});models[_0x144d[136]][_0x144d[137]]()[_0x144d[5]](function(_0x3db9xc){models[_0x144d[161]][_0x144d[125]]({app:_0x144d[160],appdata:_0x3db9xc[0][_0x144d[116]],priority:1,timeout:30,FaxAccountId:_0x3db9xa[_0x144d[116]],FaxQueueId:_0x3db9xc[0][_0x144d[116]]})[_0x144d[5]](function(){console[_0x144d[4]](_0x144d[159])})[_0x144d[114]](function(_0x3db9x3){});models[_0x144d[161]][_0x144d[125]]({app:_0x144d[160],appdata:_0x3db9xc[1][_0x144d[116]],priority:2,timeout:30,FaxAccountId:_0x3db9xa[_0x144d[116]],FaxQueueId:_0x3db9xc[1][_0x144d[116]]})[_0x144d[5]](function(){console[_0x144d[4]](_0x144d[162])})[_0x144d[114]](function(_0x3db9x3){});})[_0x144d[114]](function(_0x3db9x3){});})[_0x144d[114]](function(_0x3db9x3){});models[_0x144d[158]][_0x144d[68]]([{context:_0x144d[170],exten:_0x144d[171],priority:1,app:_0x144d[172],appdata:_0x144d[173],type:_0x144d[170]},{context:_0x144d[170],exten:_0x144d[171],priority:2,app:_0x144d[174],appdata:_0x144d[175],type:_0x144d[170]},{context:_0x144d[170],exten:_0x144d[171],priority:3,app:_0x144d[176],appdata:_0x144d[177],type:_0x144d[170]},{context:_0x144d[170],exten:_0x144d[171],priority:4,app:_0x144d[176],appdata:_0x144d[178],type:_0x144d[170]},{context:_0x144d[170],exten:_0x144d[171],priority:5,app:_0x144d[176],appdata:_0x144d[179],type:_0x144d[170]},{context:_0x144d[170],exten:_0x144d[171],priority:6,app:_0x144d[176],appdata:_0x144d[180],type:_0x144d[170]},{context:_0x144d[170],exten:_0x144d[171],priority:7,app:_0x144d[176],appdata:_0x144d[181],type:_0x144d[170]},{context:_0x144d[170],exten:_0x144d[171],priority:8,app:_0x144d[176],appdata:_0x144d[182],type:_0x144d[170]},{context:_0x144d[170],exten:_0x144d[171],priority:9,app:_0x144d[183],appdata:_0x144d[184],type:_0x144d[170]},{context:_0x144d[170],exten:_0x144d[171],priority:10,app:_0x144d[172],appdata:_0x144d[185],type:_0x144d[170]},{context:_0x144d[170],exten:_0x144d[186],priority:1,app:_0x144d[172],appdata:_0x144d[187],type:_0x144d[170]},{context:_0x144d[170],exten:_0x144d[186],priority:2,app:_0x144d[172],appdata:_0x144d[188],type:_0x144d[170]},{context:_0x144d[170],exten:_0x144d[186],priority:3,app:_0x144d[172],appdata:_0x144d[189],type:_0x144d[170]},{context:_0x144d[170],exten:_0x144d[186],priority:4,app:_0x144d[172],appdata:_0x144d[190],type:_0x144d[170]},{context:_0x144d[170],exten:_0x144d[186],priority:5,app:_0x144d[172],appdata:_0x144d[191],type:_0x144d[170]},{context:_0x144d[170],exten:_0x144d[186],priority:6,app:_0x144d[172],appdata:_0x144d[192],type:_0x144d[170]},{context:_0x144d[170],exten:_0x144d[186],priority:7,app:_0x144d[172],appdata:_0x144d[193],type:_0x144d[170]},{context:_0x144d[170],exten:_0x144d[186],priority:8,app:_0x144d[172],appdata:_0x144d[194],type:_0x144d[170]},{context:_0x144d[170],exten:_0x144d[186],priority:9,app:_0x144d[172],appdata:_0x144d[195],type:_0x144d[170]}],{ignoreDuplicates:true})[_0x144d[5]](function(){console[_0x144d[4]](_0x144d[169])});models[_0x144d[158]][_0x144d[68]]([{context:_0x144d[157],exten:_0x144d[171],priority:1,app:_0x144d[172],appdata:_0x144d[196],type:_0x144d[157]},{context:_0x144d[157],exten:_0x144d[171],priority:2,app:_0x144d[176],appdata:_0x144d[197],type:_0x144d[157]},{context:_0x144d[157],exten:_0x144d[171],priority:3,app:_0x144d[176],appdata:_0x144d[198],type:_0x144d[157]},{context:_0x144d[157],exten:_0x144d[171],priority:4,app:_0x144d[176],appdata:_0x144d[199],type:_0x144d[157]},{context:_0x144d[157],exten:_0x144d[171],priority:5,app:_0x144d[176],appdata:_0x144d[200],type:_0x144d[157]},{context:_0x144d[157],exten:_0x144d[171],priority:6,app:_0x144d[176],appdata:_0x144d[180],type:_0x144d[157]},{context:_0x144d[157],exten:_0x144d[171],priority:7,app:_0x144d[176],appdata:_0x144d[181],type:_0x144d[157]},{context:_0x144d[157],exten:_0x144d[171],priority:8,app:_0x144d[176],appdata:_0x144d[182],type:_0x144d[157]},{context:_0x144d[157],exten:_0x144d[171],priority:9,app:_0x144d[172],appdata:_0x144d[187],type:_0x144d[157]},{context:_0x144d[157],exten:_0x144d[171],priority:10,app:_0x144d[172],appdata:_0x144d[201],type:_0x144d[157]},{context:_0x144d[157],exten:_0x144d[171],priority:11,app:_0x144d[172],appdata:_0x144d[202],type:_0x144d[157]},{context:_0x144d[157],exten:_0x144d[171],priority:12,app:_0x144d[172],appdata:_0x144d[203],type:_0x144d[157]},{context:_0x144d[157],exten:_0x144d[171],priority:13,app:_0x144d[172],appdata:_0x144d[204],type:_0x144d[157]},{context:_0x144d[157],exten:_0x144d[171],priority:14,app:_0x144d[172],appdata:_0x144d[205],type:_0x144d[157]},{context:_0x144d[157],exten:_0x144d[171],priority:15,app:_0x144d[206],appdata:_0x144d[207],type:_0x144d[157]},{context:_0x144d[157],exten:_0x144d[171],priority:16,app:_0x144d[208],type:_0x144d[157]},{context:_0x144d[157],exten:_0x144d[186],priority:1,app:_0x144d[172],appdata:_0x144d[187],type:_0x144d[157]}],{ignoreDuplicates:true})[_0x144d[5]](function(){console[_0x144d[4]](_0x144d[169])});models[_0x144d[212]][_0x144d[68]]([{name:_0x144d[210],description:_0x144d[211]}],{ignoreDuplicates:true})[_0x144d[5]](function(){console[_0x144d[4]](_0x144d[209])});models[_0x144d[229]][_0x144d[125]]({name:_0x144d[215],description:_0x144d[215],address:_0x144d[216],color:_0x144d[217],color_focus:_0x144d[217],color_button:_0x144d[217],remote:_0x144d[218],animation:true,header_shape:_0x144d[219],header_online:_0x144d[220],online_message:_0x144d[221],username_placeholder:_0x144d[222],email_placeholder:_0x144d[223],start_chat_button:_0x144d[224],header_offline:_0x144d[225],offline_message:_0x144d[226],enquiry_message_placeholder:_0x144d[227],enquiry_button:_0x144d[228],download_transcript:true})[_0x144d[5]](function(_0x3db9xd){console[_0x144d[4]](_0x144d[213]);models[_0x144d[126]][_0x144d[137]]()[_0x144d[5]](function(_0x3db9xe){models[_0x144d[214]][_0x144d[125]]({app:_0x144d[160],appdata:_0x3db9xe[0][_0x144d[116]],priority:1,timeout:30,ChatWebsiteId:_0x3db9xd[_0x144d[116]],ChatQueueId:_0x3db9xe[0][_0x144d[116]]})[_0x144d[5]](function(){console[_0x144d[4]](_0x144d[159])})[_0x144d[114]](function(_0x3db9x3){});models[_0x144d[214]][_0x144d[125]]({app:_0x144d[160],appdata:_0x3db9xe[1][_0x144d[116]],priority:2,timeout:30,ChatWebsiteId:_0x3db9xd[_0x144d[116]],ChatQueueId:_0x3db9xe[1][_0x144d[116]]})[_0x144d[5]](function(){console[_0x144d[4]](_0x144d[162])})[_0x144d[114]](function(_0x3db9x3){});})[_0x144d[114]](function(_0x3db9x3){});})[_0x144d[114]](function(_0x3db9x3){});models[_0x144d[232]][_0x144d[68]]([{name:_0x144d[231],description:_0x144d[211]}],{ignoreDuplicates:true})[_0x144d[5]](function(){console[_0x144d[4]](_0x144d[230])});models[_0x144d[235]][_0x144d[68]]([{name:_0x144d[19],description:_0x144d[234],defaultEntry:true},{name:_0x144d[76],description:_0x144d[234],defaultEntry:true},{name:_0x144d[157],description:_0x144d[234],defaultEntry:true},{name:_0x144d[170],description:_0x144d[234],defaultEntry:true}],{ignoreDuplicates:true,individualHooks:true})[_0x144d[5]](function(){console[_0x144d[4]](_0x144d[233])});models[_0x144d[242]][_0x144d[68]]([{name:_0x144d[237],mode:_0x144d[238],directory:_0x144d[239],sort:_0x144d[240],format:_0x144d[241],defaultEntry:true}],{ignoreDuplicates:true,individualHooks:true})[_0x144d[5]](function(){console[_0x144d[4]](_0x144d[236])});models[_0x144d[243]][_0x144d[68]]([{id:1,min_internal:1000}],{ignoreDuplicates:true,individualHooks:true})[_0x144d[5]](function(){console[_0x144d[4]](_0x144d[236])});models[_0x144d[255]][_0x144d[68]]([{name:_0x144d[244],model:JSON[_0x144d[254]]({title:_0x144d[244],rows:[{columns:[{styleClass:_0x144d[245],widgets:[{type:_0x144d[246],title:_0x144d[247],config:{timePattern:_0x144d[248],datePattern:_0x144d[249]}}]},{styleClass:_0x144d[250],widgets:[{type:_0x144d[251],title:_0x144d[252],config:{url:_0x144d[253]}}]}]}]}),defaultEntry:true}],{ignoreDuplicates:true,individualHooks:true})[_0x144d[5]](function(){console[_0x144d[4]](_0x144d[236])});models[_0x144d[279]][_0x144d[68]]([{name:_0x144d[257],version:_0x144d[258],active:false,author:_0x144d[259],logo:_0x144d[260],state:_0x144d[261],description:_0x144d[262]},{name:_0x144d[263],version:_0x144d[258],active:false,author:_0x144d[259],logo:_0x144d[264],state:_0x144d[265],description:_0x144d[266]},{name:_0x144d[267],version:_0x144d[258],active:false,author:_0x144d[259],logo:_0x144d[268],state:_0x144d[269],description:_0x144d[270]},{name:_0x144d[271],version:_0x144d[258],active:false,author:_0x144d[259],logo:_0x144d[272],state:_0x144d[273],description:_0x144d[274]},{name:_0x144d[275],version:_0x144d[258],active:false,author:_0x144d[259],logo:_0x144d[276],state:_0x144d[277],description:_0x144d[278]}],{ignoreDuplicates:true,individualHooks:true})[_0x144d[5]](function(){console[_0x144d[4]](_0x144d[256])});models[_0x144d[282]][_0x144d[68]]([{id:1,tree:_0x144d[280]},{id:2,tree:_0x144d[281]}],{ignoreDuplicates:true,individualHooks:true})[_0x144d[5]](function(){console[_0x144d[4]](_0x144d[256])});
\ No newline at end of file
+var _0x3b90=["\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","\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","\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","\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","\x75\x73\x65\x72\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x55\x53\x45\x52\x53","\x61\x67\x65\x6E\x74\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x41\x47\x45\x4E\x54\x53","\x74\x65\x61\x6D\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x54\x45\x41\x4D\x53","\x63\x68\x61\x74","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x43\x48\x41\x54","\x76\x6F\x69\x63\x65","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x56\x4F\x49\x43\x45","\x6D\x61\x69\x6C","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x4D\x41\x49\x4C","\x66\x61\x78","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x46\x41\x58","\x61\x75\x64\x69\x6F","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x41\x55\x44\x49\x4F","\x63\x61\x6C\x6C\x79\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","\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","\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","\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x56\x4F\x49\x43\x45\x4D\x41\x49\x4C\x53","\x73\x65\x74\x74\x69\x6E\x67\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x53\x45\x54\x54\x49\x4E\x47\x53","\x4D\x6F\x64\x75\x6C\x65","\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\x63\x68\x61\x74\x20\x71\x75\x65\x75\x65\x20\x31","\x69\x64","\x70\x6C\x75\x63\x6B","\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","\x63\x72\x65\x61\x74\x65","\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","\x66\x69\x6E\x64\x41\x6C\x6C","\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\x66\x61\x78\x20\x61\x63\x63\x6F\x75\x6E\x74","\x73\x65\x74\x54\x72\x75\x6E\x6B","\x47\x6F\x74\x6F","\x69\x6E\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78\x2C\x73\x2C\x31","\x69\x6E\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\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\x31","\x71\x75\x65\x75\x65","\x46\x61\x78\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","\x46\x41\x31\x20\x44\x65\x73\x63","\x46\x41\x31","\x78\x43\x41\x4C\x4C\x59","\x39\x36\x30\x30","\x31\x34\x34\x30\x30","\x46\x61\x78\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\x66\x61\x78\x20\x6F\x75\x74\x62\x6F\x75\x6E\x64\x20\x76\x6F\x69\x63\x65\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x73","\x4E\x6F\x4F\x70","\x46\x61\x78\x20\x55\x55\x49\x44\x3A\x20\x24\x7B\x46\x41\x58\x55\x55\x49\x44\x7D","\x55\x73\x65\x72\x45\x76\x65\x6E\x74","\x46\x61\x78\x2C\x75\x75\x69\x64\x3A\x20\x24\x7B\x46\x41\x58\x55\x55\x49\x44\x7D","\x53\x65\x74","\x46\x41\x58\x4F\x50\x54\x28\x66\x69\x6C\x65\x6E\x61\x6D\x65\x29\x3A\x24\x7B\x46\x41\x58\x46\x49\x4C\x45\x7D","\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x3A\x24\x7B\x45\x43\x4D\x7D","\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x3A\x24\x7B\x46\x41\x58\x48\x45\x41\x44\x45\x52\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64\x29\x3A\x24\x7B\x4C\x4F\x43\x41\x4C\x49\x44\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x61\x78\x72\x61\x74\x65\x29\x3A\x24\x7B\x4D\x41\x58\x52\x41\x54\x45\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x69\x6E\x72\x61\x74\x65\x29\x3A\x24\x7B\x4D\x49\x4E\x52\x41\x54\x45\x7D","\x53\x65\x6E\x64\x46\x41\x58","\x24\x7B\x46\x41\x58\x46\x49\x4C\x45\x7D\x2C\x64","\x45\x52\x52\x4F\x52\x20\x22\x24\x7B\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x7D\x22\x20\x22\x4E\x4F\x5F\x53\x54\x41\x54\x55\x53\x22\x20\x22\x4E\x4F\x5F\x50\x41\x47\x45\x53\x22","\x68","\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x20\x3A\x20\x24\x7B\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x7D","\x46\x61\x78\x53\x74\x61\x74\x75\x73\x20\x3A\x20\x24\x7B\x46\x41\x58\x53\x54\x41\x54\x55\x53\x7D","\x46\x61\x78\x53\x74\x61\x74\x75\x73\x53\x74\x72\x69\x6E\x67\x20\x3A\x20\x24\x7B\x46\x41\x58\x53\x54\x41\x54\x55\x53\x53\x54\x52\x49\x4E\x47\x7D","\x46\x61\x78\x45\x72\x72\x6F\x72\x20\x3A\x20\x24\x7B\x46\x41\x58\x45\x52\x52\x4F\x52\x7D","\x52\x65\x6D\x6F\x74\x65\x53\x74\x61\x74\x69\x6F\x6E\x49\x44\x20\x3A\x20\x24\x7B\x52\x45\x4D\x4F\x54\x45\x53\x54\x41\x54\x49\x4F\x4E\x49\x44\x7D","\x46\x61\x78\x50\x61\x67\x65\x73\x20\x3A\x20\x24\x7B\x46\x41\x58\x50\x41\x47\x45\x53\x7D","\x46\x61\x78\x42\x69\x74\x52\x61\x74\x65\x20\x3A\x20\x24\x7B\x46\x41\x58\x42\x49\x54\x52\x41\x54\x45\x7D","\x46\x61\x78\x52\x65\x73\x6F\x6C\x75\x74\x69\x6F\x6E\x20\x3A\x20\x24\x7B\x46\x41\x58\x52\x45\x53\x4F\x4C\x55\x54\x49\x4F\x4E\x7D","\x4F\x4B\x20\x22\x24\x7B\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x7D\x22\x20\x22\x24\x7B\x46\x41\x58\x53\x54\x41\x54\x55\x53\x53\x54\x52\x49\x4E\x47\x7D\x22\x20\x22\x24\x7B\x46\x41\x58\x50\x41\x47\x45\x53\x7D\x22","\x2A\x2A\x2A\x2A\x20\x46\x41\x58\x20\x52\x45\x43\x45\x49\x56\x45\x44\x20\x66\x72\x6F\x6D\x20\x24\x7B\x43\x41\x4C\x4C\x45\x52\x49\x44\x28\x6E\x75\x6D\x29\x7D\x20\x24\x7B\x53\x54\x52\x46\x54\x49\x4D\x45\x28\x24\x7B\x45\x50\x4F\x43\x48\x7D\x2C\x2C\x25\x63\x29\x7D\x20\x2A\x2A\x2A\x2A","\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x3A\x79\x65\x73","\x46\x49\x4C\x45\x4E\x41\x4D\x45\x3A\x24\x7B\x55\x4E\x49\x51\x55\x45\x49\x44\x7D","\x46\x41\x58\x46\x49\x4C\x45\x3A\x24\x7B\x46\x49\x4C\x45\x4E\x41\x4D\x45\x7D\x2E\x74\x69\x66","\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x3A\x52\x65\x63\x65\x69\x76\x65\x64\x20\x62\x79\x20\x58\x65\x6E\x69\x61\x4C\x41\x42\x20\x24\x7B\x53\x54\x52\x46\x54\x49\x4D\x45\x28\x24\x7B\x45\x50\x4F\x43\x48\x7D\x2C\x2C\x25\x59\x2D\x25\x6D\x2D\x25\x64\x20\x25\x48\x3A\x25\x4D\x29\x7D","\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x20\x3A\x20\x24\x7B\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64\x29\x20\x3A\x20\x24\x7B\x46\x41\x58\x4F\x50\x54\x28\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64\x29\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x61\x78\x72\x61\x74\x65\x29\x20\x3A\x20\x24\x7B\x46\x41\x58\x4F\x50\x54\x28\x6D\x61\x78\x72\x61\x74\x65\x29\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x69\x6E\x72\x61\x74\x65\x29\x20\x3A\x20\x24\x7B\x46\x41\x58\x4F\x50\x54\x28\x6D\x69\x6E\x72\x61\x74\x65\x29\x7D","\x2A\x2A\x2A\x2A\x20\x52\x45\x43\x45\x49\x56\x49\x4E\x47\x20\x46\x41\x58\x20\x3A\x20\x24\x7B\x46\x41\x58\x46\x49\x4C\x45\x7D\x20\x2A\x2A\x2A\x2A","\x52\x65\x63\x65\x69\x76\x65\x46\x61\x78","\x2F\x74\x6D\x70\x2F\x24\x7B\x46\x41\x58\x46\x49\x4C\x45\x7D","\x48\x61\x6E\x67\x75\x70","\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","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\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\x31\x38\x35\x2E\x34\x33\x2E\x32\x31\x30\x2E\x35\x37\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","\x27\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","\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","\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","\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\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x42\x61\x73\x69\x63\x20\x4E\x6F\x64\x65\x22\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x7D\x5D","\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","\x52\x65\x70\x6F\x72\x74\x54\x72\x65\x65"];_0x3b90[0];var _=require(_0x3b90[1]);var models=require(_0x3b90[2]);models[_0x3b90[69]][_0x3b90[68]]([{provider:_0x3b90[6],role:_0x3b90[7],fullname:_0x3b90[8],email:_0x3b90[9],name:_0x3b90[10],password:_0x3b90[11],defaultuser:_0x3b90[10],host:_0x3b90[12],type:_0x3b90[13],transport:_0x3b90[14],allow:_0x3b90[15],qualify:_0x3b90[16],nat:_0x3b90[17],disallow:_0x3b90[18],context:_0x3b90[19],internal:1000},{provider:_0x3b90[6],role:_0x3b90[7],fullname:_0x3b90[20],email:_0x3b90[21],name:_0x3b90[22],password:_0x3b90[11],defaultuser:_0x3b90[22],host:_0x3b90[12],type:_0x3b90[13],transport:_0x3b90[14],allow:_0x3b90[15],qualify:_0x3b90[16],nat:_0x3b90[17],disallow:_0x3b90[18],context:_0x3b90[19],internal:1001},{provider:_0x3b90[6],role:_0x3b90[7],fullname:_0x3b90[23],email:_0x3b90[24],name:_0x3b90[25],password:_0x3b90[11],defaultuser:_0x3b90[25],host:_0x3b90[12],type:_0x3b90[13],transport:_0x3b90[14],allow:_0x3b90[15],qualify:_0x3b90[16],nat:_0x3b90[17],disallow:_0x3b90[18],context:_0x3b90[19],internal:1002},{provider:_0x3b90[6],role:_0x3b90[7],fullname:_0x3b90[26],email:_0x3b90[27],name:_0x3b90[28],password:_0x3b90[11],defaultuser:_0x3b90[28],host:_0x3b90[12],type:_0x3b90[13],transport:_0x3b90[14],allow:_0x3b90[15],qualify:_0x3b90[16],nat:_0x3b90[17],disallow:_0x3b90[18],context:_0x3b90[19],internal:1003},{provider:_0x3b90[6],role:_0x3b90[7],fullname:_0x3b90[29],email:_0x3b90[30],name:_0x3b90[31],password:_0x3b90[11],defaultuser:_0x3b90[31],host:_0x3b90[12],type:_0x3b90[13],transport:_0x3b90[14],allow:_0x3b90[15],qualify:_0x3b90[16],nat:_0x3b90[17],disallow:_0x3b90[18],context:_0x3b90[19],internal:1004},{provider:_0x3b90[6],role:_0x3b90[32],fullname:_0x3b90[33],email:_0x3b90[34],name:_0x3b90[35],password:_0x3b90[35],defaultuser:_0x3b90[35],host:_0x3b90[12],type:_0x3b90[13],transport:_0x3b90[14],allow:_0x3b90[15],qualify:_0x3b90[16],nat:_0x3b90[17],disallow:_0x3b90[18],context:_0x3b90[19],internal:1005},{provider:_0x3b90[6],role:_0x3b90[7],fullname:_0x3b90[36],email:_0x3b90[37],name:_0x3b90[38],password:_0x3b90[11],defaultuser:_0x3b90[38],host:_0x3b90[12],type:_0x3b90[13],transport:_0x3b90[14],allow:_0x3b90[15],qualify:_0x3b90[16],nat:_0x3b90[17],disallow:_0x3b90[18],context:_0x3b90[19],internal:1006},{provider:_0x3b90[6],role:_0x3b90[7],fullname:_0x3b90[39],email:_0x3b90[40],name:_0x3b90[41],password:_0x3b90[35],defaultuser:_0x3b90[41],host:_0x3b90[12],type:_0x3b90[13],transport:_0x3b90[14],allow:_0x3b90[15],qualify:_0x3b90[16],nat:_0x3b90[17],disallow:_0x3b90[18],context:_0x3b90[19],internal:1007},{provider:_0x3b90[6],role:_0x3b90[7],fullname:_0x3b90[42],email:_0x3b90[43],name:_0x3b90[44],password:_0x3b90[35],defaultuser:_0x3b90[44],host:_0x3b90[12],type:_0x3b90[13],transport:_0x3b90[14],allow:_0x3b90[15],qualify:_0x3b90[16],nat:_0x3b90[17],disallow:_0x3b90[18],context:_0x3b90[19],internal:1008},{provider:_0x3b90[6],role:_0x3b90[7],fullname:_0x3b90[45],email:_0x3b90[46],name:_0x3b90[47],password:_0x3b90[11],defaultuser:_0x3b90[47],host:_0x3b90[12],type:_0x3b90[13],transport:_0x3b90[14],allow:_0x3b90[15],qualify:_0x3b90[16],nat:_0x3b90[17],disallow:_0x3b90[18],context:_0x3b90[19],internal:1009},{provider:_0x3b90[6],role:_0x3b90[7],fullname:_0x3b90[48],email:_0x3b90[49],name:_0x3b90[50],password:_0x3b90[11],defaultuser:_0x3b90[50],host:_0x3b90[12],type:_0x3b90[13],transport:_0x3b90[51],allow:_0x3b90[15],qualify:_0x3b90[16],nat:_0x3b90[17],disallow:_0x3b90[18],context:_0x3b90[19],internal:1010},{provider:_0x3b90[6],role:_0x3b90[7],fullname:_0x3b90[52],email:_0x3b90[53],name:_0x3b90[54],password:_0x3b90[11],defaultuser:_0x3b90[54],host:_0x3b90[12],type:_0x3b90[13],transport:_0x3b90[51],allow:_0x3b90[15],qualify:_0x3b90[16],nat:_0x3b90[17],disallow:_0x3b90[18],context:_0x3b90[19],internal:1011},{provider:_0x3b90[6],role:_0x3b90[7],fullname:_0x3b90[55],email:_0x3b90[56],name:_0x3b90[57],password:_0x3b90[11],defaultuser:_0x3b90[57],host:_0x3b90[12],type:_0x3b90[13],transport:_0x3b90[51],allow:_0x3b90[15],qualify:_0x3b90[16],nat:_0x3b90[17],disallow:_0x3b90[18],context:_0x3b90[19],internal:1012},{provider:_0x3b90[6],role:_0x3b90[32],fullname:_0x3b90[58],email:_0x3b90[59],name:_0x3b90[60],password:_0x3b90[61],defaultuser:_0x3b90[60],host:_0x3b90[12],type:_0x3b90[13],transport:_0x3b90[14],allow:_0x3b90[15],qualify:_0x3b90[16],nat:_0x3b90[17],disallow:_0x3b90[18],context:_0x3b90[19],internal:1013},{provider:_0x3b90[6],role:_0x3b90[7],fullname:_0x3b90[62],email:_0x3b90[63],name:_0x3b90[64],password:_0x3b90[11],defaultuser:_0x3b90[64],host:_0x3b90[12],type:_0x3b90[13],transport:_0x3b90[14],allow:_0x3b90[15],qualify:_0x3b90[16],nat:_0x3b90[17],disallow:_0x3b90[18],context:_0x3b90[19],internal:1014},{provider:_0x3b90[6],role:_0x3b90[7],fullname:_0x3b90[65],email:_0x3b90[66],name:_0x3b90[67],password:_0x3b90[11],defaultuser:_0x3b90[67],host:_0x3b90[12],type:_0x3b90[13],transport:_0x3b90[14],allow:_0x3b90[15],qualify:_0x3b90[16],nat:_0x3b90[17],disallow:_0x3b90[18],context:_0x3b90[19],internal:1015}],{ignoreDuplicates:true,individualHooks:true})[_0x3b90[5]](function(){console[_0x3b90[4]](_0x3b90[3])});models[_0x3b90[83]][_0x3b90[68]]([{name:_0x3b90[71],type:_0x3b90[72],insecure:_0x3b90[73],defaultuser:_0x3b90[74],secret:_0x3b90[75],password:_0x3b90[75],context:_0x3b90[76],language:_0x3b90[77],host:_0x3b90[78],fromdomain:_0x3b90[78],dtmfmode:_0x3b90[79],qualify:_0x3b90[16],nat:_0x3b90[17],callerid:_0x3b90[80],limitonpeers:_0x3b90[16],callcounter:_0x3b90[16],disallow:_0x3b90[18],allow:_0x3b90[81],canreinvite:_0x3b90[82],directmedia:_0x3b90[82]}],{ignoreDuplicates:true,individualHooks:true})[_0x3b90[5]](function(){console[_0x3b90[4]](_0x3b90[70])});models[_0x3b90[113]][_0x3b90[68]]([{name:_0x3b90[85],title:_0x3b90[86]},{name:_0x3b90[87],title:_0x3b90[88]},{name:_0x3b90[89],title:_0x3b90[90]},{name:_0x3b90[91],title:_0x3b90[92]},{name:_0x3b90[93],title:_0x3b90[94]},{name:_0x3b90[95],title:_0x3b90[96]},{name:_0x3b90[97],title:_0x3b90[98]},{name:_0x3b90[99],title:_0x3b90[100]},{name:_0x3b90[101],title:_0x3b90[102]},{name:_0x3b90[103],title:_0x3b90[104]},{name:_0x3b90[105],title:_0x3b90[106]},{name:_0x3b90[107],title:_0x3b90[108]},{name:_0x3b90[109],title:_0x3b90[110]},{name:_0x3b90[111],title:_0x3b90[112]}],{ignoreDuplicates:true})[_0x3b90[5]](function(){console[_0x3b90[4]](_0x3b90[84])});models[_0x3b90[121]][_0x3b90[125]]({name:_0x3b90[119],description:_0x3b90[138],defaultEntry:true})[_0x3b90[5]](function(_0xea3ex4){models[_0x3b90[69]][_0x3b90[137]]({where:{role:_0x3b90[7]}})[_0x3b90[5]](function(_0xea3ex5){_0xea3ex4[_0x3b90[118]](_[_0x3b90[117]](_0xea3ex5,_0x3b90[116]))[_0x3b90[5]](function(){models[_0x3b90[126]][_0x3b90[125]]({name:_0x3b90[122],description:_0x3b90[123],timeout:5,strategy:_0x3b90[124]})[_0x3b90[5]](function(_0xea3ex6){console[_0x3b90[4]](_0x3b90[115]);models[_0x3b90[121]][_0x3b90[120]]({where:{name:_0x3b90[119]},include:[{all:true}]})[_0x3b90[5]](function(_0xea3ex4){_0xea3ex6[_0x3b90[118]](_[_0x3b90[117]](_0xea3ex4.Users,_0x3b90[116]))[_0x3b90[114]](function(_0xea3ex3){})})[_0x3b90[114]](function(_0xea3ex3){});});models[_0x3b90[132]][_0x3b90[125]]({name:_0x3b90[130],description:_0x3b90[131],timeout:5,strategy:_0x3b90[124]})[_0x3b90[5]](function(_0xea3ex7){console[_0x3b90[4]](_0x3b90[127]);models[_0x3b90[121]][_0x3b90[120]]({where:{name:_0x3b90[119]},include:[{all:true}]})[_0x3b90[5]](function(_0xea3ex4){if(_0xea3ex4){console[_0x3b90[4]](_0x3b90[128])}else {console[_0x3b90[4]](_0x3b90[129])};_0xea3ex7[_0x3b90[118]](_[_0x3b90[117]](_0xea3ex4.Users,_0x3b90[116]))[_0x3b90[114]](function(_0xea3ex3){});})[_0x3b90[114]](function(_0xea3ex3){});});models[_0x3b90[136]][_0x3b90[125]]({name:_0x3b90[134],description:_0x3b90[135],timeout:5,strategy:_0x3b90[124]})[_0x3b90[5]](function(_0xea3ex8){console[_0x3b90[4]](_0x3b90[133]);models[_0x3b90[121]][_0x3b90[120]]({where:{name:_0x3b90[119]},include:[{all:true}]})[_0x3b90[5]](function(_0xea3ex4){_0xea3ex8[_0x3b90[118]](_[_0x3b90[117]](_0xea3ex4.Users,_0x3b90[116]))[_0x3b90[114]](function(_0xea3ex3){})})[_0x3b90[114]](function(_0xea3ex3){});});})[_0x3b90[114]](function(_0xea3ex3){})})[_0x3b90[114]](function(_0xea3ex3){})})[_0x3b90[114]](function(_0xea3ex3){});models[_0x3b90[152]][_0x3b90[125]]({name:_0x3b90[151],description:_0x3b90[151],address:_0x3b90[143]})[_0x3b90[5]](function(_0xea3ex9){console[_0x3b90[4]](_0x3b90[139]);models[_0x3b90[150]][_0x3b90[125]]({description:_0x3b90[60],host:_0x3b90[146],username:_0x3b90[143],password:_0x3b90[144],port:143,mailbox:_0x3b90[147],ssl:false,delete:false,filter:_0x3b90[148],protocol:_0x3b90[149],MailAccountId:_0xea3ex9[_0x3b90[116]]})[_0x3b90[5]](function(){console[_0x3b90[4]](_0x3b90[140]);models[_0x3b90[145]][_0x3b90[125]]({description:_0x3b90[60],host:_0x3b90[142],username:_0x3b90[143],password:_0x3b90[144],port:587,ssl:false,MailAccountId:_0xea3ex9[_0x3b90[116]]})[_0x3b90[5]](function(){console[_0x3b90[4]](_0x3b90[141])})[_0x3b90[114]](function(_0xea3ex3){});})[_0x3b90[114]](function(_0xea3ex3){});});models[_0x3b90[168]][_0x3b90[125]]({description:_0x3b90[163],name:_0x3b90[164],phone:_0x3b90[74],ecm:true,faxheader:_0x3b90[165],localid:_0x3b90[74],maxrate:_0x3b90[166],minrate:_0x3b90[167]})[_0x3b90[5]](function(_0xea3exa){console[_0x3b90[4]](_0x3b90[153]);models[_0x3b90[83]][_0x3b90[120]]({where:{name:_0x3b90[71]}})[_0x3b90[5]](function(_0xea3exb){_0xea3exa[_0x3b90[154]](_0xea3exb)[_0x3b90[114]](function(_0xea3ex3){});models[_0x3b90[158]][_0x3b90[125]]({context:_0x3b90[76],exten:_0x3b90[74],priority:1,app:_0x3b90[155],appdata:_0x3b90[156],type:_0x3b90[157],TrunkId:_0xea3exb[_0x3b90[116]]});})[_0x3b90[114]](function(_0xea3ex3){});models[_0x3b90[136]][_0x3b90[137]]()[_0x3b90[5]](function(_0xea3exc){models[_0x3b90[161]][_0x3b90[125]]({app:_0x3b90[160],appdata:_0xea3exc[0][_0x3b90[116]],priority:1,timeout:30,FaxAccountId:_0xea3exa[_0x3b90[116]],FaxQueueId:_0xea3exc[0][_0x3b90[116]]})[_0x3b90[5]](function(){console[_0x3b90[4]](_0x3b90[159])})[_0x3b90[114]](function(_0xea3ex3){});models[_0x3b90[161]][_0x3b90[125]]({app:_0x3b90[160],appdata:_0xea3exc[1][_0x3b90[116]],priority:2,timeout:30,FaxAccountId:_0xea3exa[_0x3b90[116]],FaxQueueId:_0xea3exc[1][_0x3b90[116]]})[_0x3b90[5]](function(){console[_0x3b90[4]](_0x3b90[162])})[_0x3b90[114]](function(_0xea3ex3){});})[_0x3b90[114]](function(_0xea3ex3){});})[_0x3b90[114]](function(_0xea3ex3){});models[_0x3b90[158]][_0x3b90[68]]([{context:_0x3b90[170],exten:_0x3b90[171],priority:1,app:_0x3b90[172],appdata:_0x3b90[173],type:_0x3b90[170]},{context:_0x3b90[170],exten:_0x3b90[171],priority:2,app:_0x3b90[174],appdata:_0x3b90[175],type:_0x3b90[170]},{context:_0x3b90[170],exten:_0x3b90[171],priority:3,app:_0x3b90[176],appdata:_0x3b90[177],type:_0x3b90[170]},{context:_0x3b90[170],exten:_0x3b90[171],priority:4,app:_0x3b90[176],appdata:_0x3b90[178],type:_0x3b90[170]},{context:_0x3b90[170],exten:_0x3b90[171],priority:5,app:_0x3b90[176],appdata:_0x3b90[179],type:_0x3b90[170]},{context:_0x3b90[170],exten:_0x3b90[171],priority:6,app:_0x3b90[176],appdata:_0x3b90[180],type:_0x3b90[170]},{context:_0x3b90[170],exten:_0x3b90[171],priority:7,app:_0x3b90[176],appdata:_0x3b90[181],type:_0x3b90[170]},{context:_0x3b90[170],exten:_0x3b90[171],priority:8,app:_0x3b90[176],appdata:_0x3b90[182],type:_0x3b90[170]},{context:_0x3b90[170],exten:_0x3b90[171],priority:9,app:_0x3b90[183],appdata:_0x3b90[184],type:_0x3b90[170]},{context:_0x3b90[170],exten:_0x3b90[171],priority:10,app:_0x3b90[172],appdata:_0x3b90[185],type:_0x3b90[170]},{context:_0x3b90[170],exten:_0x3b90[186],priority:1,app:_0x3b90[172],appdata:_0x3b90[187],type:_0x3b90[170]},{context:_0x3b90[170],exten:_0x3b90[186],priority:2,app:_0x3b90[172],appdata:_0x3b90[188],type:_0x3b90[170]},{context:_0x3b90[170],exten:_0x3b90[186],priority:3,app:_0x3b90[172],appdata:_0x3b90[189],type:_0x3b90[170]},{context:_0x3b90[170],exten:_0x3b90[186],priority:4,app:_0x3b90[172],appdata:_0x3b90[190],type:_0x3b90[170]},{context:_0x3b90[170],exten:_0x3b90[186],priority:5,app:_0x3b90[172],appdata:_0x3b90[191],type:_0x3b90[170]},{context:_0x3b90[170],exten:_0x3b90[186],priority:6,app:_0x3b90[172],appdata:_0x3b90[192],type:_0x3b90[170]},{context:_0x3b90[170],exten:_0x3b90[186],priority:7,app:_0x3b90[172],appdata:_0x3b90[193],type:_0x3b90[170]},{context:_0x3b90[170],exten:_0x3b90[186],priority:8,app:_0x3b90[172],appdata:_0x3b90[194],type:_0x3b90[170]},{context:_0x3b90[170],exten:_0x3b90[186],priority:9,app:_0x3b90[172],appdata:_0x3b90[195],type:_0x3b90[170]}],{ignoreDuplicates:true})[_0x3b90[5]](function(){console[_0x3b90[4]](_0x3b90[169])});models[_0x3b90[158]][_0x3b90[68]]([{context:_0x3b90[157],exten:_0x3b90[171],priority:1,app:_0x3b90[172],appdata:_0x3b90[196],type:_0x3b90[157]},{context:_0x3b90[157],exten:_0x3b90[171],priority:2,app:_0x3b90[176],appdata:_0x3b90[197],type:_0x3b90[157]},{context:_0x3b90[157],exten:_0x3b90[171],priority:3,app:_0x3b90[176],appdata:_0x3b90[198],type:_0x3b90[157]},{context:_0x3b90[157],exten:_0x3b90[171],priority:4,app:_0x3b90[176],appdata:_0x3b90[199],type:_0x3b90[157]},{context:_0x3b90[157],exten:_0x3b90[171],priority:5,app:_0x3b90[176],appdata:_0x3b90[200],type:_0x3b90[157]},{context:_0x3b90[157],exten:_0x3b90[171],priority:6,app:_0x3b90[176],appdata:_0x3b90[180],type:_0x3b90[157]},{context:_0x3b90[157],exten:_0x3b90[171],priority:7,app:_0x3b90[176],appdata:_0x3b90[181],type:_0x3b90[157]},{context:_0x3b90[157],exten:_0x3b90[171],priority:8,app:_0x3b90[176],appdata:_0x3b90[182],type:_0x3b90[157]},{context:_0x3b90[157],exten:_0x3b90[171],priority:9,app:_0x3b90[172],appdata:_0x3b90[187],type:_0x3b90[157]},{context:_0x3b90[157],exten:_0x3b90[171],priority:10,app:_0x3b90[172],appdata:_0x3b90[201],type:_0x3b90[157]},{context:_0x3b90[157],exten:_0x3b90[171],priority:11,app:_0x3b90[172],appdata:_0x3b90[202],type:_0x3b90[157]},{context:_0x3b90[157],exten:_0x3b90[171],priority:12,app:_0x3b90[172],appdata:_0x3b90[203],type:_0x3b90[157]},{context:_0x3b90[157],exten:_0x3b90[171],priority:13,app:_0x3b90[172],appdata:_0x3b90[204],type:_0x3b90[157]},{context:_0x3b90[157],exten:_0x3b90[171],priority:14,app:_0x3b90[172],appdata:_0x3b90[205],type:_0x3b90[157]},{context:_0x3b90[157],exten:_0x3b90[171],priority:15,app:_0x3b90[206],appdata:_0x3b90[207],type:_0x3b90[157]},{context:_0x3b90[157],exten:_0x3b90[171],priority:16,app:_0x3b90[208],type:_0x3b90[157]},{context:_0x3b90[157],exten:_0x3b90[186],priority:1,app:_0x3b90[172],appdata:_0x3b90[187],type:_0x3b90[157]}],{ignoreDuplicates:true})[_0x3b90[5]](function(){console[_0x3b90[4]](_0x3b90[169])});models[_0x3b90[212]][_0x3b90[68]]([{name:_0x3b90[210],description:_0x3b90[211]}],{ignoreDuplicates:true})[_0x3b90[5]](function(){console[_0x3b90[4]](_0x3b90[209])});models[_0x3b90[229]][_0x3b90[125]]({name:_0x3b90[215],description:_0x3b90[215],address:_0x3b90[216],color:_0x3b90[217],color_focus:_0x3b90[217],color_button:_0x3b90[217],remote:_0x3b90[218],animation:true,header_shape:_0x3b90[219],header_online:_0x3b90[220],online_message:_0x3b90[221],username_placeholder:_0x3b90[222],email_placeholder:_0x3b90[223],start_chat_button:_0x3b90[224],header_offline:_0x3b90[225],offline_message:_0x3b90[226],enquiry_message_placeholder:_0x3b90[227],enquiry_button:_0x3b90[228],download_transcript:true})[_0x3b90[5]](function(_0xea3exd){console[_0x3b90[4]](_0x3b90[213]);models[_0x3b90[126]][_0x3b90[137]]()[_0x3b90[5]](function(_0xea3exe){models[_0x3b90[214]][_0x3b90[125]]({app:_0x3b90[160],appdata:_0xea3exe[0][_0x3b90[116]],priority:1,timeout:30,ChatWebsiteId:_0xea3exd[_0x3b90[116]],ChatQueueId:_0xea3exe[0][_0x3b90[116]]})[_0x3b90[5]](function(){console[_0x3b90[4]](_0x3b90[159])})[_0x3b90[114]](function(_0xea3ex3){});models[_0x3b90[214]][_0x3b90[125]]({app:_0x3b90[160],appdata:_0xea3exe[1][_0x3b90[116]],priority:2,timeout:30,ChatWebsiteId:_0xea3exd[_0x3b90[116]],ChatQueueId:_0xea3exe[1][_0x3b90[116]]})[_0x3b90[5]](function(){console[_0x3b90[4]](_0x3b90[162])})[_0x3b90[114]](function(_0xea3ex3){});})[_0x3b90[114]](function(_0xea3ex3){});})[_0x3b90[114]](function(_0xea3ex3){});models[_0x3b90[232]][_0x3b90[68]]([{name:_0x3b90[231],description:_0x3b90[211]}],{ignoreDuplicates:true})[_0x3b90[5]](function(){console[_0x3b90[4]](_0x3b90[230])});models[_0x3b90[235]][_0x3b90[68]]([{name:_0x3b90[19],description:_0x3b90[234],defaultEntry:true},{name:_0x3b90[76],description:_0x3b90[234],defaultEntry:true},{name:_0x3b90[157],description:_0x3b90[234],defaultEntry:true},{name:_0x3b90[170],description:_0x3b90[234],defaultEntry:true}],{ignoreDuplicates:true,individualHooks:true})[_0x3b90[5]](function(){console[_0x3b90[4]](_0x3b90[233])});models[_0x3b90[242]][_0x3b90[68]]([{name:_0x3b90[237],mode:_0x3b90[238],directory:_0x3b90[239],sort:_0x3b90[240],format:_0x3b90[241],defaultEntry:true}],{ignoreDuplicates:true,individualHooks:true})[_0x3b90[5]](function(){console[_0x3b90[4]](_0x3b90[236])});models[_0x3b90[243]][_0x3b90[68]]([{id:1,min_internal:1000}],{ignoreDuplicates:true,individualHooks:true})[_0x3b90[5]](function(){console[_0x3b90[4]](_0x3b90[236])});models[_0x3b90[255]][_0x3b90[68]]([{name:_0x3b90[244],model:JSON[_0x3b90[254]]({title:_0x3b90[244],rows:[{columns:[{styleClass:_0x3b90[245],widgets:[{type:_0x3b90[246],title:_0x3b90[247],config:{timePattern:_0x3b90[248],datePattern:_0x3b90[249]}}]},{styleClass:_0x3b90[250],widgets:[{type:_0x3b90[251],title:_0x3b90[252],config:{url:_0x3b90[253]}}]}]}]}),defaultEntry:true}],{ignoreDuplicates:true,individualHooks:true})[_0x3b90[5]](function(){console[_0x3b90[4]](_0x3b90[236])});models[_0x3b90[279]][_0x3b90[68]]([{name:_0x3b90[257],version:_0x3b90[258],active:false,author:_0x3b90[259],logo:_0x3b90[260],state:_0x3b90[261],description:_0x3b90[262]},{name:_0x3b90[263],version:_0x3b90[258],active:false,author:_0x3b90[259],logo:_0x3b90[264],state:_0x3b90[265],description:_0x3b90[266]},{name:_0x3b90[267],version:_0x3b90[258],active:false,author:_0x3b90[259],logo:_0x3b90[268],state:_0x3b90[269],description:_0x3b90[270]},{name:_0x3b90[271],version:_0x3b90[258],active:false,author:_0x3b90[259],logo:_0x3b90[272],state:_0x3b90[273],description:_0x3b90[274]},{name:_0x3b90[275],version:_0x3b90[258],active:false,author:_0x3b90[259],logo:_0x3b90[276],state:_0x3b90[277],description:_0x3b90[278]}],{ignoreDuplicates:true,individualHooks:true})[_0x3b90[5]](function(){console[_0x3b90[4]](_0x3b90[256])});models[_0x3b90[282]][_0x3b90[68]]([{id:1,tree:_0x3b90[280]},{id:2,tree:_0x3b90[281]}],{ignoreDuplicates:true,individualHooks:true})[_0x3b90[5]](function(){console[_0x3b90[4]](_0x3b90[256])});
\ No newline at end of file
index 1108597..d8f5664 100644 (file)
@@ -1 +1 @@
-var _0xa26a=["\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","\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\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","\x78\x63\x61\x6C\x6C\x79","\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","\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","\x6A\x6F\x68\x6E\x2E\x64\x6F\x65","\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","\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\x6D\x6F\x64\x75\x6C\x65\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","\x75\x73\x65\x72\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x55\x53\x45\x52\x53","\x61\x67\x65\x6E\x74\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x41\x47\x45\x4E\x54\x53","\x74\x65\x61\x6D\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x54\x45\x41\x4D\x53","\x63\x68\x61\x74","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x43\x48\x41\x54","\x76\x6F\x69\x63\x65","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x56\x4F\x49\x43\x45","\x6D\x61\x69\x6C","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x4D\x41\x49\x4C","\x66\x61\x78","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x46\x41\x58","\x61\x75\x64\x69\x6F","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x41\x55\x44\x49\x4F","\x63\x61\x6C\x6C\x79\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","\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","\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","\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x56\x4F\x49\x43\x45\x4D\x41\x49\x4C\x53","\x73\x65\x74\x74\x69\x6E\x67\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x53\x45\x54\x54\x49\x4E\x47\x53","\x4D\x6F\x64\x75\x6C\x65","\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\x63\x68\x61\x74\x20\x71\x75\x65\x75\x65\x20\x31","\x69\x64","\x70\x6C\x75\x63\x6B","\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","\x63\x72\x65\x61\x74\x65","\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","\x66\x69\x6E\x64\x41\x6C\x6C","\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\x66\x61\x78\x20\x6F\x75\x74\x62\x6F\x75\x6E\x64\x20\x76\x6F\x69\x63\x65\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x73","\x4E\x6F\x4F\x70","\x46\x61\x78\x20\x55\x55\x49\x44\x3A\x20\x24\x7B\x46\x41\x58\x55\x55\x49\x44\x7D","\x55\x73\x65\x72\x45\x76\x65\x6E\x74","\x46\x61\x78\x2C\x75\x75\x69\x64\x3A\x20\x24\x7B\x46\x41\x58\x55\x55\x49\x44\x7D","\x53\x65\x74","\x46\x41\x58\x4F\x50\x54\x28\x66\x69\x6C\x65\x6E\x61\x6D\x65\x29\x3A\x24\x7B\x46\x41\x58\x46\x49\x4C\x45\x7D","\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x3A\x24\x7B\x45\x43\x4D\x7D","\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x3A\x24\x7B\x46\x41\x58\x48\x45\x41\x44\x45\x52\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64\x29\x3A\x24\x7B\x4C\x4F\x43\x41\x4C\x49\x44\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x61\x78\x72\x61\x74\x65\x29\x3A\x24\x7B\x4D\x41\x58\x52\x41\x54\x45\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x69\x6E\x72\x61\x74\x65\x29\x3A\x24\x7B\x4D\x49\x4E\x52\x41\x54\x45\x7D","\x53\x65\x6E\x64\x46\x41\x58","\x24\x7B\x46\x41\x58\x46\x49\x4C\x45\x7D\x2C\x64","\x45\x52\x52\x4F\x52\x20\x22\x24\x7B\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x7D\x22\x20\x22\x4E\x4F\x5F\x53\x54\x41\x54\x55\x53\x22\x20\x22\x4E\x4F\x5F\x50\x41\x47\x45\x53\x22","\x68","\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x20\x3A\x20\x24\x7B\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x7D","\x46\x61\x78\x53\x74\x61\x74\x75\x73\x20\x3A\x20\x24\x7B\x46\x41\x58\x53\x54\x41\x54\x55\x53\x7D","\x46\x61\x78\x53\x74\x61\x74\x75\x73\x53\x74\x72\x69\x6E\x67\x20\x3A\x20\x24\x7B\x46\x41\x58\x53\x54\x41\x54\x55\x53\x53\x54\x52\x49\x4E\x47\x7D","\x46\x61\x78\x45\x72\x72\x6F\x72\x20\x3A\x20\x24\x7B\x46\x41\x58\x45\x52\x52\x4F\x52\x7D","\x52\x65\x6D\x6F\x74\x65\x53\x74\x61\x74\x69\x6F\x6E\x49\x44\x20\x3A\x20\x24\x7B\x52\x45\x4D\x4F\x54\x45\x53\x54\x41\x54\x49\x4F\x4E\x49\x44\x7D","\x46\x61\x78\x50\x61\x67\x65\x73\x20\x3A\x20\x24\x7B\x46\x41\x58\x50\x41\x47\x45\x53\x7D","\x46\x61\x78\x42\x69\x74\x52\x61\x74\x65\x20\x3A\x20\x24\x7B\x46\x41\x58\x42\x49\x54\x52\x41\x54\x45\x7D","\x46\x61\x78\x52\x65\x73\x6F\x6C\x75\x74\x69\x6F\x6E\x20\x3A\x20\x24\x7B\x46\x41\x58\x52\x45\x53\x4F\x4C\x55\x54\x49\x4F\x4E\x7D","\x4F\x4B\x20\x22\x24\x7B\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x7D\x22\x20\x22\x24\x7B\x46\x41\x58\x53\x54\x41\x54\x55\x53\x53\x54\x52\x49\x4E\x47\x7D\x22\x20\x22\x24\x7B\x46\x41\x58\x50\x41\x47\x45\x53\x7D\x22","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x69\x6E\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x2A\x2A\x2A\x2A\x20\x46\x41\x58\x20\x52\x45\x43\x45\x49\x56\x45\x44\x20\x66\x72\x6F\x6D\x20\x24\x7B\x43\x41\x4C\x4C\x45\x52\x49\x44\x28\x6E\x75\x6D\x29\x7D\x20\x24\x7B\x53\x54\x52\x46\x54\x49\x4D\x45\x28\x24\x7B\x45\x50\x4F\x43\x48\x7D\x2C\x2C\x25\x63\x29\x7D\x20\x2A\x2A\x2A\x2A","\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x3A\x79\x65\x73","\x46\x49\x4C\x45\x4E\x41\x4D\x45\x3A\x24\x7B\x55\x4E\x49\x51\x55\x45\x49\x44\x7D","\x46\x41\x58\x46\x49\x4C\x45\x3A\x24\x7B\x46\x49\x4C\x45\x4E\x41\x4D\x45\x7D\x2E\x74\x69\x66","\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x3A\x52\x65\x63\x65\x69\x76\x65\x64\x20\x62\x79\x20\x58\x65\x6E\x69\x61\x4C\x41\x42\x20\x24\x7B\x53\x54\x52\x46\x54\x49\x4D\x45\x28\x24\x7B\x45\x50\x4F\x43\x48\x7D\x2C\x2C\x25\x59\x2D\x25\x6D\x2D\x25\x64\x20\x25\x48\x3A\x25\x4D\x29\x7D","\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x20\x3A\x20\x24\x7B\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64\x29\x20\x3A\x20\x24\x7B\x46\x41\x58\x4F\x50\x54\x28\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64\x29\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x61\x78\x72\x61\x74\x65\x29\x20\x3A\x20\x24\x7B\x46\x41\x58\x4F\x50\x54\x28\x6D\x61\x78\x72\x61\x74\x65\x29\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x69\x6E\x72\x61\x74\x65\x29\x20\x3A\x20\x24\x7B\x46\x41\x58\x4F\x50\x54\x28\x6D\x69\x6E\x72\x61\x74\x65\x29\x7D","\x2A\x2A\x2A\x2A\x20\x52\x45\x43\x45\x49\x56\x49\x4E\x47\x20\x46\x41\x58\x20\x3A\x20\x24\x7B\x46\x41\x58\x46\x49\x4C\x45\x7D\x20\x2A\x2A\x2A\x2A","\x52\x65\x63\x65\x69\x76\x65\x46\x61\x78","\x2F\x74\x6D\x70\x2F\x24\x7B\x46\x41\x58\x46\x49\x4C\x45\x7D","\x48\x61\x6E\x67\x75\x70","\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\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","\x66\x72\x6F\x6D\x2D\x76\x6F\x69\x70\x2D\x70\x72\x6F\x76\x69\x64\x65\x72","\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","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x73\x65\x74\x74\x69\x6E\x67\x73","\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","\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\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x42\x61\x73\x69\x63\x20\x4E\x6F\x64\x65\x22\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x7D\x5D","\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","\x52\x65\x70\x6F\x72\x74\x54\x72\x65\x65"];_0xa26a[0];var _=require(_0xa26a[1]);var models=require(_0xa26a[2]);models[_0xa26a[29]][_0xa26a[28]]([{provider:_0xa26a[6],role:_0xa26a[7],fullname:_0xa26a[8],email:_0xa26a[9],name:_0xa26a[7],password:_0xa26a[10],defaultuser:_0xa26a[11],host:_0xa26a[12],type:_0xa26a[13],transport:_0xa26a[14],allow:_0xa26a[15],qualify:_0xa26a[16],nat:_0xa26a[17],disallow:_0xa26a[18],context:_0xa26a[19],internal:1000},{provider:_0xa26a[6],role:_0xa26a[20],fullname:_0xa26a[21],email:_0xa26a[22],name:_0xa26a[23],password:_0xa26a[24],defaultuser:_0xa26a[23],host:_0xa26a[12],type:_0xa26a[13],transport:_0xa26a[14],allow:_0xa26a[15],qualify:_0xa26a[16],nat:_0xa26a[17],disallow:_0xa26a[18],context:_0xa26a[19],internal:1001},{provider:_0xa26a[6],role:_0xa26a[20],fullname:_0xa26a[25],email:_0xa26a[26],name:_0xa26a[27],password:_0xa26a[24],defaultuser:_0xa26a[27],host:_0xa26a[12],type:_0xa26a[13],transport:_0xa26a[14],allow:_0xa26a[15],qualify:_0xa26a[16],nat:_0xa26a[17],disallow:_0xa26a[18],context:_0xa26a[19],internal:1002}],{ignoreDuplicates:true,individualHooks:true})[_0xa26a[5]](function(){console[_0xa26a[4]](_0xa26a[3])});models[_0xa26a[59]][_0xa26a[28]]([{name:_0xa26a[31],title:_0xa26a[32]},{name:_0xa26a[33],title:_0xa26a[34]},{name:_0xa26a[35],title:_0xa26a[36]},{name:_0xa26a[37],title:_0xa26a[38]},{name:_0xa26a[39],title:_0xa26a[40]},{name:_0xa26a[41],title:_0xa26a[42]},{name:_0xa26a[43],title:_0xa26a[44]},{name:_0xa26a[45],title:_0xa26a[46]},{name:_0xa26a[47],title:_0xa26a[48]},{name:_0xa26a[49],title:_0xa26a[50]},{name:_0xa26a[51],title:_0xa26a[52]},{name:_0xa26a[53],title:_0xa26a[54]},{name:_0xa26a[55],title:_0xa26a[56]},{name:_0xa26a[57],title:_0xa26a[58]}],{ignoreDuplicates:true})[_0xa26a[5]](function(){console[_0xa26a[4]](_0xa26a[30])});models[_0xa26a[67]][_0xa26a[71]]({name:_0xa26a[65],description:_0xa26a[84],defaultEntry:true})[_0xa26a[5]](function(_0xda30x4){models[_0xa26a[29]][_0xa26a[83]]({where:{role:_0xa26a[20]}})[_0xa26a[5]](function(_0xda30x5){_0xda30x4[_0xa26a[64]](_[_0xa26a[63]](_0xda30x5,_0xa26a[62]))[_0xa26a[5]](function(){models[_0xa26a[72]][_0xa26a[71]]({name:_0xa26a[68],description:_0xa26a[69],timeout:5,strategy:_0xa26a[70]})[_0xa26a[5]](function(_0xda30x6){console[_0xa26a[4]](_0xa26a[61]);models[_0xa26a[67]][_0xa26a[66]]({where:{name:_0xa26a[65]},include:[{all:true}]})[_0xa26a[5]](function(_0xda30x4){_0xda30x6[_0xa26a[64]](_[_0xa26a[63]](_0xda30x4.Users,_0xa26a[62]))[_0xa26a[60]](function(_0xda30x3){})})[_0xa26a[60]](function(_0xda30x3){});});models[_0xa26a[78]][_0xa26a[71]]({name:_0xa26a[76],description:_0xa26a[77],timeout:5,strategy:_0xa26a[70]})[_0xa26a[5]](function(_0xda30x7){console[_0xa26a[4]](_0xa26a[73]);models[_0xa26a[67]][_0xa26a[66]]({where:{name:_0xa26a[65]},include:[{all:true}]})[_0xa26a[5]](function(_0xda30x4){if(_0xda30x4){console[_0xa26a[4]](_0xa26a[74])}else {console[_0xa26a[4]](_0xa26a[75])};_0xda30x7[_0xa26a[64]](_[_0xa26a[63]](_0xda30x4.Users,_0xa26a[62]))[_0xa26a[60]](function(_0xda30x3){});})[_0xa26a[60]](function(_0xda30x3){});});models[_0xa26a[82]][_0xa26a[71]]({name:_0xa26a[80],description:_0xa26a[81],timeout:5,strategy:_0xa26a[70]})[_0xa26a[5]](function(_0xda30x8){console[_0xa26a[4]](_0xa26a[79]);models[_0xa26a[67]][_0xa26a[66]]({where:{name:_0xa26a[65]},include:[{all:true}]})[_0xa26a[5]](function(_0xda30x4){_0xda30x8[_0xa26a[64]](_[_0xa26a[63]](_0xda30x4.Users,_0xa26a[62]))[_0xa26a[60]](function(_0xda30x3){})})[_0xa26a[60]](function(_0xda30x3){});});})[_0xa26a[60]](function(_0xda30x3){})})[_0xa26a[60]](function(_0xda30x3){})})[_0xa26a[60]](function(_0xda30x3){});models[_0xa26a[112]][_0xa26a[28]]([{context:_0xa26a[86],exten:_0xa26a[87],priority:1,app:_0xa26a[88],appdata:_0xa26a[89],type:_0xa26a[86]},{context:_0xa26a[86],exten:_0xa26a[87],priority:2,app:_0xa26a[90],appdata:_0xa26a[91],type:_0xa26a[86]},{context:_0xa26a[86],exten:_0xa26a[87],priority:3,app:_0xa26a[92],appdata:_0xa26a[93],type:_0xa26a[86]},{context:_0xa26a[86],exten:_0xa26a[87],priority:4,app:_0xa26a[92],appdata:_0xa26a[94],type:_0xa26a[86]},{context:_0xa26a[86],exten:_0xa26a[87],priority:5,app:_0xa26a[92],appdata:_0xa26a[95],type:_0xa26a[86]},{context:_0xa26a[86],exten:_0xa26a[87],priority:6,app:_0xa26a[92],appdata:_0xa26a[96],type:_0xa26a[86]},{context:_0xa26a[86],exten:_0xa26a[87],priority:7,app:_0xa26a[92],appdata:_0xa26a[97],type:_0xa26a[86]},{context:_0xa26a[86],exten:_0xa26a[87],priority:8,app:_0xa26a[92],appdata:_0xa26a[98],type:_0xa26a[86]},{context:_0xa26a[86],exten:_0xa26a[87],priority:9,app:_0xa26a[99],appdata:_0xa26a[100],type:_0xa26a[86]},{context:_0xa26a[86],exten:_0xa26a[87],priority:10,app:_0xa26a[88],appdata:_0xa26a[101],type:_0xa26a[86]},{context:_0xa26a[86],exten:_0xa26a[102],priority:1,app:_0xa26a[88],appdata:_0xa26a[103],type:_0xa26a[86]},{context:_0xa26a[86],exten:_0xa26a[102],priority:2,app:_0xa26a[88],appdata:_0xa26a[104],type:_0xa26a[86]},{context:_0xa26a[86],exten:_0xa26a[102],priority:3,app:_0xa26a[88],appdata:_0xa26a[105],type:_0xa26a[86]},{context:_0xa26a[86],exten:_0xa26a[102],priority:4,app:_0xa26a[88],appdata:_0xa26a[106],type:_0xa26a[86]},{context:_0xa26a[86],exten:_0xa26a[102],priority:5,app:_0xa26a[88],appdata:_0xa26a[107],type:_0xa26a[86]},{context:_0xa26a[86],exten:_0xa26a[102],priority:6,app:_0xa26a[88],appdata:_0xa26a[108],type:_0xa26a[86]},{context:_0xa26a[86],exten:_0xa26a[102],priority:7,app:_0xa26a[88],appdata:_0xa26a[109],type:_0xa26a[86]},{context:_0xa26a[86],exten:_0xa26a[102],priority:8,app:_0xa26a[88],appdata:_0xa26a[110],type:_0xa26a[86]},{context:_0xa26a[86],exten:_0xa26a[102],priority:9,app:_0xa26a[88],appdata:_0xa26a[111],type:_0xa26a[86]}],{ignoreDuplicates:true})[_0xa26a[5]](function(){console[_0xa26a[4]](_0xa26a[85])});models[_0xa26a[112]][_0xa26a[28]]([{context:_0xa26a[113],exten:_0xa26a[87],priority:1,app:_0xa26a[88],appdata:_0xa26a[114],type:_0xa26a[113]},{context:_0xa26a[113],exten:_0xa26a[87],priority:2,app:_0xa26a[92],appdata:_0xa26a[115],type:_0xa26a[113]},{context:_0xa26a[113],exten:_0xa26a[87],priority:3,app:_0xa26a[92],appdata:_0xa26a[116],type:_0xa26a[113]},{context:_0xa26a[113],exten:_0xa26a[87],priority:4,app:_0xa26a[92],appdata:_0xa26a[117],type:_0xa26a[113]},{context:_0xa26a[113],exten:_0xa26a[87],priority:5,app:_0xa26a[92],appdata:_0xa26a[118],type:_0xa26a[113]},{context:_0xa26a[113],exten:_0xa26a[87],priority:6,app:_0xa26a[92],appdata:_0xa26a[96],type:_0xa26a[113]},{context:_0xa26a[113],exten:_0xa26a[87],priority:7,app:_0xa26a[92],appdata:_0xa26a[97],type:_0xa26a[113]},{context:_0xa26a[113],exten:_0xa26a[87],priority:8,app:_0xa26a[92],appdata:_0xa26a[98],type:_0xa26a[113]},{context:_0xa26a[113],exten:_0xa26a[87],priority:9,app:_0xa26a[88],appdata:_0xa26a[103],type:_0xa26a[113]},{context:_0xa26a[113],exten:_0xa26a[87],priority:10,app:_0xa26a[88],appdata:_0xa26a[119],type:_0xa26a[113]},{context:_0xa26a[113],exten:_0xa26a[87],priority:11,app:_0xa26a[88],appdata:_0xa26a[120],type:_0xa26a[113]},{context:_0xa26a[113],exten:_0xa26a[87],priority:12,app:_0xa26a[88],appdata:_0xa26a[121],type:_0xa26a[113]},{context:_0xa26a[113],exten:_0xa26a[87],priority:13,app:_0xa26a[88],appdata:_0xa26a[122],type:_0xa26a[113]},{context:_0xa26a[113],exten:_0xa26a[87],priority:14,app:_0xa26a[88],appdata:_0xa26a[123],type:_0xa26a[113]},{context:_0xa26a[113],exten:_0xa26a[87],priority:15,app:_0xa26a[124],appdata:_0xa26a[125],type:_0xa26a[113]},{context:_0xa26a[113],exten:_0xa26a[87],priority:16,app:_0xa26a[126],type:_0xa26a[113]},{context:_0xa26a[113],exten:_0xa26a[102],priority:1,app:_0xa26a[88],appdata:_0xa26a[103],type:_0xa26a[113]}],{ignoreDuplicates:true})[_0xa26a[5]](function(){console[_0xa26a[4]](_0xa26a[85])});models[_0xa26a[130]][_0xa26a[28]]([{name:_0xa26a[128],description:_0xa26a[129]}],{ignoreDuplicates:true})[_0xa26a[5]](function(){console[_0xa26a[4]](_0xa26a[127])});models[_0xa26a[133]][_0xa26a[28]]([{name:_0xa26a[132],description:_0xa26a[129]}],{ignoreDuplicates:true})[_0xa26a[5]](function(){console[_0xa26a[4]](_0xa26a[131])});models[_0xa26a[137]][_0xa26a[28]]([{name:_0xa26a[19],description:_0xa26a[135],defaultEntry:true},{name:_0xa26a[136],description:_0xa26a[135],defaultEntry:true},{name:_0xa26a[113],description:_0xa26a[135],defaultEntry:true},{name:_0xa26a[86],description:_0xa26a[135],defaultEntry:true}],{ignoreDuplicates:true,individualHooks:true})[_0xa26a[5]](function(){console[_0xa26a[4]](_0xa26a[134])});models[_0xa26a[144]][_0xa26a[28]]([{name:_0xa26a[139],mode:_0xa26a[140],directory:_0xa26a[141],sort:_0xa26a[142],format:_0xa26a[143],defaultEntry:true}],{ignoreDuplicates:true,individualHooks:true})[_0xa26a[5]](function(){console[_0xa26a[4]](_0xa26a[138])});models[_0xa26a[146]][_0xa26a[71]]({min_internal:1003})[_0xa26a[5]](function(){console[_0xa26a[4]](_0xa26a[145])});models[_0xa26a[158]][_0xa26a[28]]([{name:_0xa26a[147],model:JSON[_0xa26a[157]]({title:_0xa26a[147],rows:[{columns:[{styleClass:_0xa26a[148],widgets:[{type:_0xa26a[149],title:_0xa26a[150],config:{timePattern:_0xa26a[151],datePattern:_0xa26a[152]}}]},{styleClass:_0xa26a[153],widgets:[{type:_0xa26a[154],title:_0xa26a[155],config:{url:_0xa26a[156]}}]}]}]}),defaultEntry:true}],{ignoreDuplicates:true,individualHooks:true})[_0xa26a[5]](function(){console[_0xa26a[4]](_0xa26a[138])});models[_0xa26a[182]][_0xa26a[28]]([{name:_0xa26a[160],version:_0xa26a[161],active:false,author:_0xa26a[162],logo:_0xa26a[163],state:_0xa26a[164],description:_0xa26a[165]},{name:_0xa26a[166],version:_0xa26a[161],active:false,author:_0xa26a[162],logo:_0xa26a[167],state:_0xa26a[168],description:_0xa26a[169]},{name:_0xa26a[170],version:_0xa26a[161],active:false,author:_0xa26a[162],logo:_0xa26a[171],state:_0xa26a[172],description:_0xa26a[173]},{name:_0xa26a[174],version:_0xa26a[161],active:false,author:_0xa26a[162],logo:_0xa26a[175],state:_0xa26a[176],description:_0xa26a[177]},{name:_0xa26a[178],version:_0xa26a[161],active:false,author:_0xa26a[162],logo:_0xa26a[179],state:_0xa26a[180],description:_0xa26a[181]}],{ignoreDuplicates:true,individualHooks:true})[_0xa26a[5]](function(){console[_0xa26a[4]](_0xa26a[159])});models[_0xa26a[185]][_0xa26a[28]]([{id:1,tree:_0xa26a[183]},{id:2,tree:_0xa26a[184]}],{ignoreDuplicates:true,individualHooks:true})[_0xa26a[5]](function(){console[_0xa26a[4]](_0xa26a[159])});
\ No newline at end of file
+var _0xe3f1=["\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","\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\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","\x78\x63\x61\x6C\x6C\x79","\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","\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","\x6A\x6F\x68\x6E\x2E\x64\x6F\x65","\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","\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\x6D\x6F\x64\x75\x6C\x65\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","\x75\x73\x65\x72\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x55\x53\x45\x52\x53","\x61\x67\x65\x6E\x74\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x41\x47\x45\x4E\x54\x53","\x74\x65\x61\x6D\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x54\x45\x41\x4D\x53","\x63\x68\x61\x74","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x43\x48\x41\x54","\x76\x6F\x69\x63\x65","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x56\x4F\x49\x43\x45","\x6D\x61\x69\x6C","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x4D\x41\x49\x4C","\x66\x61\x78","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x46\x41\x58","\x61\x75\x64\x69\x6F","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x41\x55\x44\x49\x4F","\x63\x61\x6C\x6C\x79\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","\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","\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","\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x56\x4F\x49\x43\x45\x4D\x41\x49\x4C\x53","\x73\x65\x74\x74\x69\x6E\x67\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x53\x45\x54\x54\x49\x4E\x47\x53","\x4D\x6F\x64\x75\x6C\x65","\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\x63\x68\x61\x74\x20\x71\x75\x65\x75\x65\x20\x31","\x69\x64","\x70\x6C\x75\x63\x6B","\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","\x63\x72\x65\x61\x74\x65","\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","\x66\x69\x6E\x64\x41\x6C\x6C","\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\x66\x61\x78\x20\x6F\x75\x74\x62\x6F\x75\x6E\x64\x20\x76\x6F\x69\x63\x65\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x73","\x4E\x6F\x4F\x70","\x46\x61\x78\x20\x55\x55\x49\x44\x3A\x20\x24\x7B\x46\x41\x58\x55\x55\x49\x44\x7D","\x55\x73\x65\x72\x45\x76\x65\x6E\x74","\x46\x61\x78\x2C\x75\x75\x69\x64\x3A\x20\x24\x7B\x46\x41\x58\x55\x55\x49\x44\x7D","\x53\x65\x74","\x46\x41\x58\x4F\x50\x54\x28\x66\x69\x6C\x65\x6E\x61\x6D\x65\x29\x3A\x24\x7B\x46\x41\x58\x46\x49\x4C\x45\x7D","\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x3A\x24\x7B\x45\x43\x4D\x7D","\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x3A\x24\x7B\x46\x41\x58\x48\x45\x41\x44\x45\x52\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64\x29\x3A\x24\x7B\x4C\x4F\x43\x41\x4C\x49\x44\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x61\x78\x72\x61\x74\x65\x29\x3A\x24\x7B\x4D\x41\x58\x52\x41\x54\x45\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x69\x6E\x72\x61\x74\x65\x29\x3A\x24\x7B\x4D\x49\x4E\x52\x41\x54\x45\x7D","\x53\x65\x6E\x64\x46\x41\x58","\x24\x7B\x46\x41\x58\x46\x49\x4C\x45\x7D\x2C\x64","\x45\x52\x52\x4F\x52\x20\x22\x24\x7B\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x7D\x22\x20\x22\x4E\x4F\x5F\x53\x54\x41\x54\x55\x53\x22\x20\x22\x4E\x4F\x5F\x50\x41\x47\x45\x53\x22","\x68","\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x20\x3A\x20\x24\x7B\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x7D","\x46\x61\x78\x53\x74\x61\x74\x75\x73\x20\x3A\x20\x24\x7B\x46\x41\x58\x53\x54\x41\x54\x55\x53\x7D","\x46\x61\x78\x53\x74\x61\x74\x75\x73\x53\x74\x72\x69\x6E\x67\x20\x3A\x20\x24\x7B\x46\x41\x58\x53\x54\x41\x54\x55\x53\x53\x54\x52\x49\x4E\x47\x7D","\x46\x61\x78\x45\x72\x72\x6F\x72\x20\x3A\x20\x24\x7B\x46\x41\x58\x45\x52\x52\x4F\x52\x7D","\x52\x65\x6D\x6F\x74\x65\x53\x74\x61\x74\x69\x6F\x6E\x49\x44\x20\x3A\x20\x24\x7B\x52\x45\x4D\x4F\x54\x45\x53\x54\x41\x54\x49\x4F\x4E\x49\x44\x7D","\x46\x61\x78\x50\x61\x67\x65\x73\x20\x3A\x20\x24\x7B\x46\x41\x58\x50\x41\x47\x45\x53\x7D","\x46\x61\x78\x42\x69\x74\x52\x61\x74\x65\x20\x3A\x20\x24\x7B\x46\x41\x58\x42\x49\x54\x52\x41\x54\x45\x7D","\x46\x61\x78\x52\x65\x73\x6F\x6C\x75\x74\x69\x6F\x6E\x20\x3A\x20\x24\x7B\x46\x41\x58\x52\x45\x53\x4F\x4C\x55\x54\x49\x4F\x4E\x7D","\x4F\x4B\x20\x22\x24\x7B\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x7D\x22\x20\x22\x24\x7B\x46\x41\x58\x53\x54\x41\x54\x55\x53\x53\x54\x52\x49\x4E\x47\x7D\x22\x20\x22\x24\x7B\x46\x41\x58\x50\x41\x47\x45\x53\x7D\x22","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x69\x6E\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x2A\x2A\x2A\x2A\x20\x46\x41\x58\x20\x52\x45\x43\x45\x49\x56\x45\x44\x20\x66\x72\x6F\x6D\x20\x24\x7B\x43\x41\x4C\x4C\x45\x52\x49\x44\x28\x6E\x75\x6D\x29\x7D\x20\x24\x7B\x53\x54\x52\x46\x54\x49\x4D\x45\x28\x24\x7B\x45\x50\x4F\x43\x48\x7D\x2C\x2C\x25\x63\x29\x7D\x20\x2A\x2A\x2A\x2A","\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x3A\x79\x65\x73","\x46\x49\x4C\x45\x4E\x41\x4D\x45\x3A\x24\x7B\x55\x4E\x49\x51\x55\x45\x49\x44\x7D","\x46\x41\x58\x46\x49\x4C\x45\x3A\x24\x7B\x46\x49\x4C\x45\x4E\x41\x4D\x45\x7D\x2E\x74\x69\x66","\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x3A\x52\x65\x63\x65\x69\x76\x65\x64\x20\x62\x79\x20\x58\x65\x6E\x69\x61\x4C\x41\x42\x20\x24\x7B\x53\x54\x52\x46\x54\x49\x4D\x45\x28\x24\x7B\x45\x50\x4F\x43\x48\x7D\x2C\x2C\x25\x59\x2D\x25\x6D\x2D\x25\x64\x20\x25\x48\x3A\x25\x4D\x29\x7D","\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x20\x3A\x20\x24\x7B\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64\x29\x20\x3A\x20\x24\x7B\x46\x41\x58\x4F\x50\x54\x28\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64\x29\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x61\x78\x72\x61\x74\x65\x29\x20\x3A\x20\x24\x7B\x46\x41\x58\x4F\x50\x54\x28\x6D\x61\x78\x72\x61\x74\x65\x29\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x69\x6E\x72\x61\x74\x65\x29\x20\x3A\x20\x24\x7B\x46\x41\x58\x4F\x50\x54\x28\x6D\x69\x6E\x72\x61\x74\x65\x29\x7D","\x2A\x2A\x2A\x2A\x20\x52\x45\x43\x45\x49\x56\x49\x4E\x47\x20\x46\x41\x58\x20\x3A\x20\x24\x7B\x46\x41\x58\x46\x49\x4C\x45\x7D\x20\x2A\x2A\x2A\x2A","\x52\x65\x63\x65\x69\x76\x65\x46\x61\x78","\x2F\x74\x6D\x70\x2F\x24\x7B\x46\x41\x58\x46\x49\x4C\x45\x7D","\x48\x61\x6E\x67\x75\x70","\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\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","\x66\x72\x6F\x6D\x2D\x76\x6F\x69\x70\x2D\x70\x72\x6F\x76\x69\x64\x65\x72","\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","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x73\x65\x74\x74\x69\x6E\x67\x73","\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","\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\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x42\x61\x73\x69\x63\x20\x4E\x6F\x64\x65\x22\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x7D\x5D","\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","\x52\x65\x70\x6F\x72\x74\x54\x72\x65\x65"];_0xe3f1[0];var _=require(_0xe3f1[1]);var models=require(_0xe3f1[2]);models[_0xe3f1[29]][_0xe3f1[28]]([{provider:_0xe3f1[6],role:_0xe3f1[7],fullname:_0xe3f1[8],email:_0xe3f1[9],name:_0xe3f1[7],password:_0xe3f1[10],defaultuser:_0xe3f1[11],host:_0xe3f1[12],type:_0xe3f1[13],transport:_0xe3f1[14],allow:_0xe3f1[15],qualify:_0xe3f1[16],nat:_0xe3f1[17],disallow:_0xe3f1[18],context:_0xe3f1[19],internal:1000},{provider:_0xe3f1[6],role:_0xe3f1[20],fullname:_0xe3f1[21],email:_0xe3f1[22],name:_0xe3f1[23],password:_0xe3f1[24],defaultuser:_0xe3f1[23],host:_0xe3f1[12],type:_0xe3f1[13],transport:_0xe3f1[14],allow:_0xe3f1[15],qualify:_0xe3f1[16],nat:_0xe3f1[17],disallow:_0xe3f1[18],context:_0xe3f1[19],internal:1001},{provider:_0xe3f1[6],role:_0xe3f1[20],fullname:_0xe3f1[25],email:_0xe3f1[26],name:_0xe3f1[27],password:_0xe3f1[24],defaultuser:_0xe3f1[27],host:_0xe3f1[12],type:_0xe3f1[13],transport:_0xe3f1[14],allow:_0xe3f1[15],qualify:_0xe3f1[16],nat:_0xe3f1[17],disallow:_0xe3f1[18],context:_0xe3f1[19],internal:1002}],{ignoreDuplicates:true,individualHooks:true})[_0xe3f1[5]](function(){console[_0xe3f1[4]](_0xe3f1[3])});models[_0xe3f1[59]][_0xe3f1[28]]([{name:_0xe3f1[31],title:_0xe3f1[32]},{name:_0xe3f1[33],title:_0xe3f1[34]},{name:_0xe3f1[35],title:_0xe3f1[36]},{name:_0xe3f1[37],title:_0xe3f1[38]},{name:_0xe3f1[39],title:_0xe3f1[40]},{name:_0xe3f1[41],title:_0xe3f1[42]},{name:_0xe3f1[43],title:_0xe3f1[44]},{name:_0xe3f1[45],title:_0xe3f1[46]},{name:_0xe3f1[47],title:_0xe3f1[48]},{name:_0xe3f1[49],title:_0xe3f1[50]},{name:_0xe3f1[51],title:_0xe3f1[52]},{name:_0xe3f1[53],title:_0xe3f1[54]},{name:_0xe3f1[55],title:_0xe3f1[56]},{name:_0xe3f1[57],title:_0xe3f1[58]}],{ignoreDuplicates:true})[_0xe3f1[5]](function(){console[_0xe3f1[4]](_0xe3f1[30])});models[_0xe3f1[67]][_0xe3f1[71]]({name:_0xe3f1[65],description:_0xe3f1[84],defaultEntry:true})[_0xe3f1[5]](function(_0x35cfx4){models[_0xe3f1[29]][_0xe3f1[83]]({where:{role:_0xe3f1[20]}})[_0xe3f1[5]](function(_0x35cfx5){_0x35cfx4[_0xe3f1[64]](_[_0xe3f1[63]](_0x35cfx5,_0xe3f1[62]))[_0xe3f1[5]](function(){models[_0xe3f1[72]][_0xe3f1[71]]({name:_0xe3f1[68],description:_0xe3f1[69],timeout:5,strategy:_0xe3f1[70]})[_0xe3f1[5]](function(_0x35cfx6){console[_0xe3f1[4]](_0xe3f1[61]);models[_0xe3f1[67]][_0xe3f1[66]]({where:{name:_0xe3f1[65]},include:[{all:true}]})[_0xe3f1[5]](function(_0x35cfx4){_0x35cfx6[_0xe3f1[64]](_[_0xe3f1[63]](_0x35cfx4.Users,_0xe3f1[62]))[_0xe3f1[60]](function(_0x35cfx3){})})[_0xe3f1[60]](function(_0x35cfx3){});});models[_0xe3f1[78]][_0xe3f1[71]]({name:_0xe3f1[76],description:_0xe3f1[77],timeout:5,strategy:_0xe3f1[70]})[_0xe3f1[5]](function(_0x35cfx7){console[_0xe3f1[4]](_0xe3f1[73]);models[_0xe3f1[67]][_0xe3f1[66]]({where:{name:_0xe3f1[65]},include:[{all:true}]})[_0xe3f1[5]](function(_0x35cfx4){if(_0x35cfx4){console[_0xe3f1[4]](_0xe3f1[74])}else {console[_0xe3f1[4]](_0xe3f1[75])};_0x35cfx7[_0xe3f1[64]](_[_0xe3f1[63]](_0x35cfx4.Users,_0xe3f1[62]))[_0xe3f1[60]](function(_0x35cfx3){});})[_0xe3f1[60]](function(_0x35cfx3){});});models[_0xe3f1[82]][_0xe3f1[71]]({name:_0xe3f1[80],description:_0xe3f1[81],timeout:5,strategy:_0xe3f1[70]})[_0xe3f1[5]](function(_0x35cfx8){console[_0xe3f1[4]](_0xe3f1[79]);models[_0xe3f1[67]][_0xe3f1[66]]({where:{name:_0xe3f1[65]},include:[{all:true}]})[_0xe3f1[5]](function(_0x35cfx4){_0x35cfx8[_0xe3f1[64]](_[_0xe3f1[63]](_0x35cfx4.Users,_0xe3f1[62]))[_0xe3f1[60]](function(_0x35cfx3){})})[_0xe3f1[60]](function(_0x35cfx3){});});})[_0xe3f1[60]](function(_0x35cfx3){})})[_0xe3f1[60]](function(_0x35cfx3){})})[_0xe3f1[60]](function(_0x35cfx3){});models[_0xe3f1[112]][_0xe3f1[28]]([{context:_0xe3f1[86],exten:_0xe3f1[87],priority:1,app:_0xe3f1[88],appdata:_0xe3f1[89],type:_0xe3f1[86]},{context:_0xe3f1[86],exten:_0xe3f1[87],priority:2,app:_0xe3f1[90],appdata:_0xe3f1[91],type:_0xe3f1[86]},{context:_0xe3f1[86],exten:_0xe3f1[87],priority:3,app:_0xe3f1[92],appdata:_0xe3f1[93],type:_0xe3f1[86]},{context:_0xe3f1[86],exten:_0xe3f1[87],priority:4,app:_0xe3f1[92],appdata:_0xe3f1[94],type:_0xe3f1[86]},{context:_0xe3f1[86],exten:_0xe3f1[87],priority:5,app:_0xe3f1[92],appdata:_0xe3f1[95],type:_0xe3f1[86]},{context:_0xe3f1[86],exten:_0xe3f1[87],priority:6,app:_0xe3f1[92],appdata:_0xe3f1[96],type:_0xe3f1[86]},{context:_0xe3f1[86],exten:_0xe3f1[87],priority:7,app:_0xe3f1[92],appdata:_0xe3f1[97],type:_0xe3f1[86]},{context:_0xe3f1[86],exten:_0xe3f1[87],priority:8,app:_0xe3f1[92],appdata:_0xe3f1[98],type:_0xe3f1[86]},{context:_0xe3f1[86],exten:_0xe3f1[87],priority:9,app:_0xe3f1[99],appdata:_0xe3f1[100],type:_0xe3f1[86]},{context:_0xe3f1[86],exten:_0xe3f1[87],priority:10,app:_0xe3f1[88],appdata:_0xe3f1[101],type:_0xe3f1[86]},{context:_0xe3f1[86],exten:_0xe3f1[102],priority:1,app:_0xe3f1[88],appdata:_0xe3f1[103],type:_0xe3f1[86]},{context:_0xe3f1[86],exten:_0xe3f1[102],priority:2,app:_0xe3f1[88],appdata:_0xe3f1[104],type:_0xe3f1[86]},{context:_0xe3f1[86],exten:_0xe3f1[102],priority:3,app:_0xe3f1[88],appdata:_0xe3f1[105],type:_0xe3f1[86]},{context:_0xe3f1[86],exten:_0xe3f1[102],priority:4,app:_0xe3f1[88],appdata:_0xe3f1[106],type:_0xe3f1[86]},{context:_0xe3f1[86],exten:_0xe3f1[102],priority:5,app:_0xe3f1[88],appdata:_0xe3f1[107],type:_0xe3f1[86]},{context:_0xe3f1[86],exten:_0xe3f1[102],priority:6,app:_0xe3f1[88],appdata:_0xe3f1[108],type:_0xe3f1[86]},{context:_0xe3f1[86],exten:_0xe3f1[102],priority:7,app:_0xe3f1[88],appdata:_0xe3f1[109],type:_0xe3f1[86]},{context:_0xe3f1[86],exten:_0xe3f1[102],priority:8,app:_0xe3f1[88],appdata:_0xe3f1[110],type:_0xe3f1[86]},{context:_0xe3f1[86],exten:_0xe3f1[102],priority:9,app:_0xe3f1[88],appdata:_0xe3f1[111],type:_0xe3f1[86]}],{ignoreDuplicates:true})[_0xe3f1[5]](function(){console[_0xe3f1[4]](_0xe3f1[85])});models[_0xe3f1[112]][_0xe3f1[28]]([{context:_0xe3f1[113],exten:_0xe3f1[87],priority:1,app:_0xe3f1[88],appdata:_0xe3f1[114],type:_0xe3f1[113]},{context:_0xe3f1[113],exten:_0xe3f1[87],priority:2,app:_0xe3f1[92],appdata:_0xe3f1[115],type:_0xe3f1[113]},{context:_0xe3f1[113],exten:_0xe3f1[87],priority:3,app:_0xe3f1[92],appdata:_0xe3f1[116],type:_0xe3f1[113]},{context:_0xe3f1[113],exten:_0xe3f1[87],priority:4,app:_0xe3f1[92],appdata:_0xe3f1[117],type:_0xe3f1[113]},{context:_0xe3f1[113],exten:_0xe3f1[87],priority:5,app:_0xe3f1[92],appdata:_0xe3f1[118],type:_0xe3f1[113]},{context:_0xe3f1[113],exten:_0xe3f1[87],priority:6,app:_0xe3f1[92],appdata:_0xe3f1[96],type:_0xe3f1[113]},{context:_0xe3f1[113],exten:_0xe3f1[87],priority:7,app:_0xe3f1[92],appdata:_0xe3f1[97],type:_0xe3f1[113]},{context:_0xe3f1[113],exten:_0xe3f1[87],priority:8,app:_0xe3f1[92],appdata:_0xe3f1[98],type:_0xe3f1[113]},{context:_0xe3f1[113],exten:_0xe3f1[87],priority:9,app:_0xe3f1[88],appdata:_0xe3f1[103],type:_0xe3f1[113]},{context:_0xe3f1[113],exten:_0xe3f1[87],priority:10,app:_0xe3f1[88],appdata:_0xe3f1[119],type:_0xe3f1[113]},{context:_0xe3f1[113],exten:_0xe3f1[87],priority:11,app:_0xe3f1[88],appdata:_0xe3f1[120],type:_0xe3f1[113]},{context:_0xe3f1[113],exten:_0xe3f1[87],priority:12,app:_0xe3f1[88],appdata:_0xe3f1[121],type:_0xe3f1[113]},{context:_0xe3f1[113],exten:_0xe3f1[87],priority:13,app:_0xe3f1[88],appdata:_0xe3f1[122],type:_0xe3f1[113]},{context:_0xe3f1[113],exten:_0xe3f1[87],priority:14,app:_0xe3f1[88],appdata:_0xe3f1[123],type:_0xe3f1[113]},{context:_0xe3f1[113],exten:_0xe3f1[87],priority:15,app:_0xe3f1[124],appdata:_0xe3f1[125],type:_0xe3f1[113]},{context:_0xe3f1[113],exten:_0xe3f1[87],priority:16,app:_0xe3f1[126],type:_0xe3f1[113]},{context:_0xe3f1[113],exten:_0xe3f1[102],priority:1,app:_0xe3f1[88],appdata:_0xe3f1[103],type:_0xe3f1[113]}],{ignoreDuplicates:true})[_0xe3f1[5]](function(){console[_0xe3f1[4]](_0xe3f1[85])});models[_0xe3f1[130]][_0xe3f1[28]]([{name:_0xe3f1[128],description:_0xe3f1[129]}],{ignoreDuplicates:true})[_0xe3f1[5]](function(){console[_0xe3f1[4]](_0xe3f1[127])});models[_0xe3f1[133]][_0xe3f1[28]]([{name:_0xe3f1[132],description:_0xe3f1[129]}],{ignoreDuplicates:true})[_0xe3f1[5]](function(){console[_0xe3f1[4]](_0xe3f1[131])});models[_0xe3f1[137]][_0xe3f1[28]]([{name:_0xe3f1[19],description:_0xe3f1[135],defaultEntry:true},{name:_0xe3f1[136],description:_0xe3f1[135],defaultEntry:true},{name:_0xe3f1[113],description:_0xe3f1[135],defaultEntry:true},{name:_0xe3f1[86],description:_0xe3f1[135],defaultEntry:true}],{ignoreDuplicates:true,individualHooks:true})[_0xe3f1[5]](function(){console[_0xe3f1[4]](_0xe3f1[134])});models[_0xe3f1[144]][_0xe3f1[28]]([{name:_0xe3f1[139],mode:_0xe3f1[140],directory:_0xe3f1[141],sort:_0xe3f1[142],format:_0xe3f1[143],defaultEntry:true}],{ignoreDuplicates:true,individualHooks:true})[_0xe3f1[5]](function(){console[_0xe3f1[4]](_0xe3f1[138])});models[_0xe3f1[146]][_0xe3f1[71]]({min_internal:1003})[_0xe3f1[5]](function(){console[_0xe3f1[4]](_0xe3f1[145])});models[_0xe3f1[158]][_0xe3f1[28]]([{name:_0xe3f1[147],model:JSON[_0xe3f1[157]]({title:_0xe3f1[147],rows:[{columns:[{styleClass:_0xe3f1[148],widgets:[{type:_0xe3f1[149],title:_0xe3f1[150],config:{timePattern:_0xe3f1[151],datePattern:_0xe3f1[152]}}]},{styleClass:_0xe3f1[153],widgets:[{type:_0xe3f1[154],title:_0xe3f1[155],config:{url:_0xe3f1[156]}}]}]}]}),defaultEntry:true}],{ignoreDuplicates:true,individualHooks:true})[_0xe3f1[5]](function(){console[_0xe3f1[4]](_0xe3f1[138])});models[_0xe3f1[182]][_0xe3f1[28]]([{name:_0xe3f1[160],version:_0xe3f1[161],active:false,author:_0xe3f1[162],logo:_0xe3f1[163],state:_0xe3f1[164],description:_0xe3f1[165]},{name:_0xe3f1[166],version:_0xe3f1[161],active:false,author:_0xe3f1[162],logo:_0xe3f1[167],state:_0xe3f1[168],description:_0xe3f1[169]},{name:_0xe3f1[170],version:_0xe3f1[161],active:false,author:_0xe3f1[162],logo:_0xe3f1[171],state:_0xe3f1[172],description:_0xe3f1[173]},{name:_0xe3f1[174],version:_0xe3f1[161],active:false,author:_0xe3f1[162],logo:_0xe3f1[175],state:_0xe3f1[176],description:_0xe3f1[177]},{name:_0xe3f1[178],version:_0xe3f1[161],active:false,author:_0xe3f1[162],logo:_0xe3f1[179],state:_0xe3f1[180],description:_0xe3f1[181]}],{ignoreDuplicates:true,individualHooks:true})[_0xe3f1[5]](function(){console[_0xe3f1[4]](_0xe3f1[159])});models[_0xe3f1[185]][_0xe3f1[28]]([{id:1,tree:_0xe3f1[183]},{id:2,tree:_0xe3f1[184]}],{ignoreDuplicates:true,individualHooks:true})[_0xe3f1[5]](function(){console[_0xe3f1[4]](_0xe3f1[159])});
\ No newline at end of file
index b8ad77f..dc2b71c 100644 (file)
@@ -1 +1 @@
-var _0xfe5e=["\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","\x65\x78\x70\x6F\x72\x74\x73","\x63\x72\x65\x61\x74\x65","\x2E\x2F\x73\x6D\x74\x70","\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"];_0xfe5e[0];var _=require(_0xfe5e[1]);var MailServerOut=require(_0xfe5e[3])[_0xfe5e[2]];module[_0xfe5e[4]]={init:function(){MailServerOut[_0xfe5e[7]](function(_0xd437x3){require(_0xfe5e[6])[_0xfe5e[5]](_0xd437x3)});return MailServerOut[_0xfe5e[12]]()[_0xfe5e[11]](function(_0xd437x5){_0xd437x5[_0xfe5e[10]](function(_0xd437x6){require(_0xfe5e[6])[_0xfe5e[5]](_0xd437x6)})})[_0xfe5e[9]](function(_0xd437x4){console[_0xfe5e[8]](_0xd437x4)});}};
\ No newline at end of file
+var _0x67dd=["\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","\x65\x78\x70\x6F\x72\x74\x73","\x63\x72\x65\x61\x74\x65","\x2E\x2F\x73\x6D\x74\x70","\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"];_0x67dd[0];var _=require(_0x67dd[1]);var MailServerOut=require(_0x67dd[3])[_0x67dd[2]];module[_0x67dd[4]]={init:function(){MailServerOut[_0x67dd[7]](function(_0xd9b6x3){require(_0x67dd[6])[_0x67dd[5]](_0xd9b6x3)});return MailServerOut[_0x67dd[12]]()[_0x67dd[11]](function(_0xd9b6x5){_0xd9b6x5[_0x67dd[10]](function(_0xd9b6x6){require(_0x67dd[6])[_0x67dd[5]](_0xd9b6x6)})})[_0x67dd[9]](function(_0xd9b6x4){console[_0x67dd[8]](_0xd9b6x4)});}};
\ No newline at end of file
index 6cdbfff..f570cc9 100644 (file)
@@ -1 +1 @@
-var _0x6617=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\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","\x43\x6F\x6E\x74\x61\x63\x74","\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","\x43\x6F\x6E\x74\x61\x63\x74\x45\x6D\x61\x69\x6C","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x41\x49\x4C\x20\x2D\x20\x41\x63\x63\x6F\x75\x6E\x74\x20","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x20\x53\x4D\x54\x50\x20\x43\x52\x45\x41\x54\x45","\x6C\x6F\x67","\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","\x75\x73\x65\x72","\x61\x75\x74\x68","\x6F\x70\x74\x69\x6F\x6E\x73","\x74\x72\x61\x6E\x73\x70\x6F\x72\x74\x65\x72","\x20\x53\x4D\x54\x50\x20\x55\x50\x44\x41\x54\x45","\x5B\x4D\x41\x49\x4C\x20\x2D\x20\x41\x63\x63\x6F\x75\x6E\x74\x20","\x20\x53\x4D\x54\x50\x20\x44\x45\x53\x54\x52\x4F\x59","\x73\x74\x61\x74\x75\x73","\x63\x68\x61\x6E\x67\x65\x64","\x53\x45\x4E\x44\x49\x4E\x47","\x66\x72\x6F\x6D","\x6F\x6E\x53\x65\x6E\x64","\x69\x6E\x52\x65\x70\x6C\x79\x54\x6F","\x6D\x65\x73\x73\x61\x67\x65\x49\x64","\x53\x45\x4E\x54","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x74\x68\x65\x6E","\x74\x6F","\x63\x63","\x73\x75\x62\x6A\x65\x63\x74","\x68\x74\x6D\x6C","\x74\x65\x78\x74","\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","\x73\x65\x74\x42\x63\x63","\x73\x65\x74\x43\x63","\x73\x65\x74\x54\x6F","\x73\x65\x74\x46\x72\x6F\x6D","\x61\x6C\x6C","\x62\x63\x63","\x3B","\x73\x70\x6C\x69\x74","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x73\x70\x72\x65\x61\x64","\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","\x4F\x50\x45\x4E","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65"];_0x6617[0];var _=require(_0x6617[1]);var Promise=require(_0x6617[2]);var nodemailer=require(_0x6617[3]);var smtpTransport=require(_0x6617[4]);var Contact=require(_0x6617[6])[_0x6617[5]];var MailRoom=require(_0x6617[6])[_0x6617[7]];var MailMessage=require(_0x6617[6])[_0x6617[8]];var ContactEmail=require(_0x6617[6])[_0x6617[9]];var MailServerOut=require(_0x6617[6])[_0x6617[10]];module[_0x6617[11]]={create:function(_0x4357xa){var _0x4357xb;var _0x4357xc;function _0x4357xd(_0x4357xa){console[_0x6617[15]](_0x6617[12]+_0x4357xa[_0x6617[13]]+_0x6617[14]);_0x4357xc=_0x4357xa;_0x4357xb=nodemailer[_0x6617[20]](smtpTransport({host:_0x4357xa[_0x6617[16]],port:_0x4357xa[_0x6617[17]],secure:_0x4357xa[_0x6617[18]],debug:true,auth:{user:_0x4357xa[_0x6617[13]],pass:_0x4357xa[_0x6617[19]]}}));}function _0x4357xe(_0x4357xa){if(_0x4357xb[_0x6617[24]][_0x6617[23]][_0x6617[22]][_0x6617[21]]===_0x4357xa[_0x6617[13]]){console[_0x6617[15]](_0x6617[12]+_0x4357xa[_0x6617[13]]+_0x6617[25]);_0x4357xb=null;_0x4357xb=nodemailer[_0x6617[20]](smtpTransport({host:_0x4357xa[_0x6617[16]],port:_0x4357xa[_0x6617[17]],secure:_0x4357xa[_0x6617[18]],debug:true,auth:{user:_0x4357xa[_0x6617[13]],pass:_0x4357xa[_0x6617[19]]}}));}}function _0x4357xf(_0x4357xa){if(_0x4357xb[_0x6617[24]][_0x6617[23]][_0x6617[22]][_0x6617[21]]===_0x4357xa[_0x6617[13]]){console[_0x6617[15]](_0x6617[26]+_0x4357xa[_0x6617[13]]+_0x6617[27]);_0x4357xb=null;}}function _0x4357x10(_0x4357x11,_0x4357x12){if(_0x4357x11[_0x6617[29]](_0x6617[28])&&_0x4357x11[_0x6617[28]]===_0x6617[30]&&_0x4357xb[_0x6617[24]][_0x6617[23]][_0x6617[22]][_0x6617[21]]===_0x4357x11[_0x6617[31]]){console[_0x6617[15]](_0x6617[32],_0x4357x11[_0x6617[31]]);var _0x4357x13;var _0x4357x14=_0x4357x11;var _0x4357x15,_0x4357x16,_0x4357x17,_0x4357x18;if(_0x4357x14[_0x6617[33]]){return MailMessage[_0x6617[64]]({where:{messageId:_0x4357x14[_0x6617[33]]}})[_0x6617[38]](function(_0x4357x27){return _0x4357x27[_0x6617[63]]()})[_0x6617[38]](function(_0x4357x26){_0x4357x13=_0x4357x26;return _0x4357x26[_0x6617[62]](_0x4357x14,{transaction:_0x4357x12?_0x4357x12[_0x6617[36]]:null});})[_0x6617[38]](function(){return ContactEmail[_0x6617[58]]({where:{email:_0x4357x14[_0x6617[31]]},defaults:{email:_0x4357x14[_0x6617[31]]},transaction:_0x4357x12?_0x4357x12[_0x6617[36]]:null})})[_0x6617[61]](function(_0x4357x23,_0x4357x24){var _0x4357x1e=[];var _0x4357x25=_0x4357x14[_0x6617[39]]?_0x4357x14[_0x6617[39]][_0x6617[57]](_0x6617[56]):[];_0x4357x15=_0x4357x23;_0x4357x25[_0x6617[60]](function(_0x4357x20){_0x4357x1e[_0x6617[59]](ContactEmail[_0x6617[58]]({where:{email:_0x4357x20},defaults:{email:_0x4357x20},transaction:_0x4357x12?_0x4357x12[_0x6617[36]]:null}))});return _0x4357x1e;})[_0x6617[54]]()[_0x6617[38]](function(_0x4357x21){var _0x4357x1e=[];var _0x4357x22=_0x4357x14[_0x6617[40]]?_0x4357x14[_0x6617[40]][_0x6617[57]](_0x6617[56]):[];_0x4357x16=_[_0x6617[48]](_0x4357x21,function(_0x4357x1b){return _0x4357x1b[0]});_0x4357x22[_0x6617[60]](function(_0x4357x20){_0x4357x1e[_0x6617[59]](ContactEmail[_0x6617[58]]({where:{email:_0x4357x20},defaults:{email:_0x4357x20},transaction:_0x4357x12?_0x4357x12[_0x6617[36]]:null}))});return _0x4357x1e;})[_0x6617[54]]()[_0x6617[38]](function(_0x4357x1d){var _0x4357x1e=[];var _0x4357x1f=_0x4357x14[_0x6617[55]]?_0x4357x14[_0x6617[55]][_0x6617[57]](_0x6617[56]):[];_0x4357x17=_[_0x6617[48]](_0x4357x1d,function(_0x4357x1b){return _0x4357x1b[0]});_0x4357x1f[_0x6617[60]](function(_0x4357x20){_0x4357x1e[_0x6617[59]](ContactEmail[_0x6617[58]]({where:{email:_0x4357x20},defaults:{email:_0x4357x20},transaction:_0x4357x12?_0x4357x12[_0x6617[36]]:null}))});return _0x4357x1e;})[_0x6617[54]]()[_0x6617[38]](function(_0x4357x1c){_0x4357x18=_[_0x6617[48]](_0x4357x1c,function(_0x4357x1b){return _0x4357x1b[0]});return ;})[_0x6617[38]](function(){return _0x4357x14[_0x6617[53]](_0x4357x15,{transaction:_0x4357x12?_0x4357x12[_0x6617[36]]:null})})[_0x6617[38]](function(){return _0x4357x14[_0x6617[52]](_0x4357x16,{transaction:_0x4357x12?_0x4357x12[_0x6617[36]]:null})})[_0x6617[38]](function(){return _0x4357x14[_0x6617[51]](_0x4357x17,{transaction:_0x4357x12?_0x4357x12[_0x6617[36]]:null})})[_0x6617[38]](function(){return _0x4357x14[_0x6617[50]](_0x4357x18,{transaction:_0x4357x12?_0x4357x12[_0x6617[36]]:null})})[_0x6617[38]](function(){var _0x4357x1a={status:_0x4357x14[_0x6617[28]],from:_0x4357x14[_0x6617[31]],to:_0x4357x14[_0x6617[39]],cc:_0x4357x14[_0x6617[40]],subject:_0x4357x14[_0x6617[41]],html:_0x4357x14[_0x6617[42]],text:_0x4357x14[_0x6617[43]],headers:{"\x58\x2D\x4C\x61\x7A\x69\x6E\x65\x73\x73\x2D\x6C\x65\x76\x65\x6C":1000}};if(_0x4357x14[_0x6617[44]]){_0x4357x1a[_0x6617[45]]=_[_0x6617[48]](_0x4357x14.MailAttachments,function(_0x4357x1b){return {path:_0x4357x1b[_0x6617[46]],filename:_0x4357x1b[_0x6617[47]]}})};return _0x4357xb[_0x6617[49]](_0x4357x1a);})[_0x6617[38]](function(_0x4357x19){return _0x4357x14[_0x6617[37]]({messageId:_0x4357x19[_0x6617[34]],status:_0x6617[35]},{transaction:_0x4357x12?_0x4357x12[_0x6617[36]]:null})})}else {return MailRoom[_0x6617[58]]({where:{id:_0x4357x14[_0x6617[65]]},defaults:{subject:_0x4357x14[_0x6617[41]],from:_0x4357x14[_0x6617[31]],status:_0x6617[66],MailAccountId:_0x4357xc[_0x6617[67]]},transaction:_0x4357x12?_0x4357x12[_0x6617[36]]:null})[_0x6617[61]](function(_0x4357x26){_0x4357x13=_0x4357x26;return _0x4357x26[_0x6617[62]](_0x4357x14,{transaction:_0x4357x12?_0x4357x12[_0x6617[36]]:null});})[_0x6617[38]](function(){return ContactEmail[_0x6617[58]]({where:{email:_0x4357x14[_0x6617[31]]},defaults:{email:_0x4357x14[_0x6617[31]]},transaction:_0x4357x12?_0x4357x12[_0x6617[36]]:null})})[_0x6617[61]](function(_0x4357x23){var _0x4357x1e=[];var _0x4357x25=_0x4357x14[_0x6617[39]]?_0x4357x14[_0x6617[39]][_0x6617[57]](_0x6617[56]):[];_0x4357x15=_0x4357x23;_0x4357x25[_0x6617[60]](function(_0x4357x20){_0x4357x1e[_0x6617[59]](ContactEmail[_0x6617[58]]({where:{email:_0x4357x20},defaults:{email:_0x4357x20},transaction:_0x4357x12?_0x4357x12[_0x6617[36]]:null}))});return _0x4357x1e;})[_0x6617[54]]()[_0x6617[38]](function(_0x4357x21){var _0x4357x1e=[];var _0x4357x22=_0x4357x14[_0x6617[40]]?_0x4357x14[_0x6617[40]][_0x6617[57]](_0x6617[56]):[];_0x4357x16=_[_0x6617[48]](_0x4357x21,function(_0x4357x1b){return _0x4357x1b[0]});_0x4357x22[_0x6617[60]](function(_0x4357x20){_0x4357x1e[_0x6617[59]](ContactEmail[_0x6617[58]]({where:{email:_0x4357x20},defaults:{email:_0x4357x20},transaction:_0x4357x12?_0x4357x12[_0x6617[36]]:null}))});return _0x4357x1e;})[_0x6617[54]]()[_0x6617[38]](function(_0x4357x1d){var _0x4357x1e=[];var _0x4357x1f=_0x4357x14[_0x6617[55]]?_0x4357x14[_0x6617[55]][_0x6617[57]](_0x6617[56]):[];_0x4357x17=_[_0x6617[48]](_0x4357x1d,function(_0x4357x1b){return _0x4357x1b[0]});_0x4357x1f[_0x6617[60]](function(_0x4357x20){_0x4357x1e[_0x6617[59]](ContactEmail[_0x6617[58]]({where:{email:_0x4357x20},defaults:{email:_0x4357x20},transaction:_0x4357x12?_0x4357x12[_0x6617[36]]:null}))});return _0x4357x1e;})[_0x6617[54]]()[_0x6617[38]](function(_0x4357x1c){_0x4357x18=_[_0x6617[48]](_0x4357x1c,function(_0x4357x1b){return _0x4357x1b[0]});return ;})[_0x6617[38]](function(){return _0x4357x14[_0x6617[53]](_0x4357x15,{transaction:_0x4357x12?_0x4357x12[_0x6617[36]]:null})})[_0x6617[38]](function(){return _0x4357x14[_0x6617[52]](_0x4357x16,{transaction:_0x4357x12?_0x4357x12[_0x6617[36]]:null})})[_0x6617[38]](function(){return _0x4357x14[_0x6617[51]](_0x4357x17,{transaction:_0x4357x12?_0x4357x12[_0x6617[36]]:null})})[_0x6617[38]](function(){return _0x4357x14[_0x6617[50]](_0x4357x18,{transaction:_0x4357x12?_0x4357x12[_0x6617[36]]:null})})[_0x6617[38]](function(){var _0x4357x1a={status:_0x4357x14[_0x6617[28]],from:_0x4357x14[_0x6617[31]],to:_0x4357x14[_0x6617[39]],cc:_0x4357x14[_0x6617[40]],subject:_0x4357x14[_0x6617[41]],html:_0x4357x14[_0x6617[42]],text:_0x4357x14[_0x6617[43]],headers:{"\x58\x2D\x4C\x61\x7A\x69\x6E\x65\x73\x73\x2D\x6C\x65\x76\x65\x6C":1000}};if(_0x4357x14[_0x6617[44]]){_0x4357x1a[_0x6617[45]]=_[_0x6617[48]](_0x4357x14.MailAttachments,function(_0x4357x1b){return {path:_0x4357x1b[_0x6617[46]],filename:_0x4357x1b[_0x6617[47]]}})};return _0x4357xb[_0x6617[49]](_0x4357x1a);})[_0x6617[38]](function(_0x4357x19){return _0x4357x14[_0x6617[37]]({messageId:_0x4357x19[_0x6617[34]],status:_0x6617[35]},{transaction:_0x4357x12?_0x4357x12[_0x6617[36]]:null})})};}}_0x4357xd(_0x4357xa);MailServerOut[_0x6617[68]](function(_0x4357xa){_0x4357xe(_0x4357xa)});MailServerOut[_0x6617[69]](function(_0x4357xa){_0x4357xf(_0x4357xa)});MailMessage[_0x6617[70]](function(_0x4357xa,_0x4357x12){return _0x4357x10(_0x4357xa,_0x4357x12)});}};
\ No newline at end of file
+var _0x89a1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\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","\x43\x6F\x6E\x74\x61\x63\x74","\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","\x43\x6F\x6E\x74\x61\x63\x74\x45\x6D\x61\x69\x6C","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x41\x49\x4C\x20\x2D\x20\x41\x63\x63\x6F\x75\x6E\x74\x20","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x20\x53\x4D\x54\x50\x20\x43\x52\x45\x41\x54\x45","\x6C\x6F\x67","\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","\x75\x73\x65\x72","\x61\x75\x74\x68","\x6F\x70\x74\x69\x6F\x6E\x73","\x74\x72\x61\x6E\x73\x70\x6F\x72\x74\x65\x72","\x20\x53\x4D\x54\x50\x20\x55\x50\x44\x41\x54\x45","\x5B\x4D\x41\x49\x4C\x20\x2D\x20\x41\x63\x63\x6F\x75\x6E\x74\x20","\x20\x53\x4D\x54\x50\x20\x44\x45\x53\x54\x52\x4F\x59","\x73\x74\x61\x74\x75\x73","\x63\x68\x61\x6E\x67\x65\x64","\x53\x45\x4E\x44\x49\x4E\x47","\x66\x72\x6F\x6D","\x6F\x6E\x53\x65\x6E\x64","\x69\x6E\x52\x65\x70\x6C\x79\x54\x6F","\x6D\x65\x73\x73\x61\x67\x65\x49\x64","\x53\x45\x4E\x54","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x74\x68\x65\x6E","\x74\x6F","\x63\x63","\x73\x75\x62\x6A\x65\x63\x74","\x68\x74\x6D\x6C","\x74\x65\x78\x74","\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","\x73\x65\x74\x42\x63\x63","\x73\x65\x74\x43\x63","\x73\x65\x74\x54\x6F","\x73\x65\x74\x46\x72\x6F\x6D","\x61\x6C\x6C","\x62\x63\x63","\x3B","\x73\x70\x6C\x69\x74","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x73\x70\x72\x65\x61\x64","\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","\x69\x6E\x66\x6F","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x49\x64","\x4F\x50\x45\x4E","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65"];_0x89a1[0];var _=require(_0x89a1[1]);var Promise=require(_0x89a1[2]);var nodemailer=require(_0x89a1[3]);var smtpTransport=require(_0x89a1[4]);var Contact=require(_0x89a1[6])[_0x89a1[5]];var MailRoom=require(_0x89a1[6])[_0x89a1[7]];var MailMessage=require(_0x89a1[6])[_0x89a1[8]];var ContactEmail=require(_0x89a1[6])[_0x89a1[9]];var MailServerOut=require(_0x89a1[6])[_0x89a1[10]];module[_0x89a1[11]]={create:function(_0x1f9dxa){var _0x1f9dxb;var _0x1f9dxc;function _0x1f9dxd(_0x1f9dxa){console[_0x89a1[15]](_0x89a1[12]+_0x1f9dxa[_0x89a1[13]]+_0x89a1[14]);_0x1f9dxc=_0x1f9dxa;_0x1f9dxb=nodemailer[_0x89a1[20]](smtpTransport({host:_0x1f9dxa[_0x89a1[16]],port:_0x1f9dxa[_0x89a1[17]],secure:_0x1f9dxa[_0x89a1[18]],debug:true,auth:{user:_0x1f9dxa[_0x89a1[13]],pass:_0x1f9dxa[_0x89a1[19]]}}));}function _0x1f9dxe(_0x1f9dxa){if(_0x1f9dxb[_0x89a1[24]][_0x89a1[23]][_0x89a1[22]][_0x89a1[21]]===_0x1f9dxa[_0x89a1[13]]){console[_0x89a1[15]](_0x89a1[12]+_0x1f9dxa[_0x89a1[13]]+_0x89a1[25]);_0x1f9dxb=null;_0x1f9dxb=nodemailer[_0x89a1[20]](smtpTransport({host:_0x1f9dxa[_0x89a1[16]],port:_0x1f9dxa[_0x89a1[17]],secure:_0x1f9dxa[_0x89a1[18]],debug:true,auth:{user:_0x1f9dxa[_0x89a1[13]],pass:_0x1f9dxa[_0x89a1[19]]}}));}}function _0x1f9dxf(_0x1f9dxa){if(_0x1f9dxb[_0x89a1[24]][_0x89a1[23]][_0x89a1[22]][_0x89a1[21]]===_0x1f9dxa[_0x89a1[13]]){console[_0x89a1[15]](_0x89a1[26]+_0x1f9dxa[_0x89a1[13]]+_0x89a1[27]);_0x1f9dxb=null;}}function _0x1f9dx10(_0x1f9dx11,_0x1f9dx12){if(_0x1f9dx11[_0x89a1[29]](_0x89a1[28])&&_0x1f9dx11[_0x89a1[28]]===_0x89a1[30]&&_0x1f9dxb[_0x89a1[24]][_0x89a1[23]][_0x89a1[22]][_0x89a1[21]]===_0x1f9dx11[_0x89a1[31]]){console[_0x89a1[15]](_0x89a1[32],_0x1f9dx11[_0x89a1[31]]);var _0x1f9dx13;var _0x1f9dx14=_0x1f9dx11;var _0x1f9dx15,_0x1f9dx16,_0x1f9dx17,_0x1f9dx18;if(_0x1f9dx14[_0x89a1[33]]){return MailMessage[_0x89a1[64]]({where:{messageId:_0x1f9dx14[_0x89a1[33]]}})[_0x89a1[38]](function(_0x1f9dx27){return _0x1f9dx27[_0x89a1[63]]()})[_0x89a1[38]](function(_0x1f9dx26){_0x1f9dx13=_0x1f9dx26;return _0x1f9dx26[_0x89a1[62]](_0x1f9dx14,{transaction:_0x1f9dx12?_0x1f9dx12[_0x89a1[36]]:null});})[_0x89a1[38]](function(){return ContactEmail[_0x89a1[58]]({where:{email:_0x1f9dx14[_0x89a1[31]]},defaults:{email:_0x1f9dx14[_0x89a1[31]]},transaction:_0x1f9dx12?_0x1f9dx12[_0x89a1[36]]:null})})[_0x89a1[61]](function(_0x1f9dx23,_0x1f9dx24){var _0x1f9dx1e=[];var _0x1f9dx25=_0x1f9dx14[_0x89a1[39]]?_0x1f9dx14[_0x89a1[39]][_0x89a1[57]](_0x89a1[56]):[];_0x1f9dx15=_0x1f9dx23;_0x1f9dx25[_0x89a1[60]](function(_0x1f9dx20){_0x1f9dx1e[_0x89a1[59]](ContactEmail[_0x89a1[58]]({where:{email:_0x1f9dx20},defaults:{email:_0x1f9dx20},transaction:_0x1f9dx12?_0x1f9dx12[_0x89a1[36]]:null}))});return _0x1f9dx1e;})[_0x89a1[54]]()[_0x89a1[38]](function(_0x1f9dx21){var _0x1f9dx1e=[];var _0x1f9dx22=_0x1f9dx14[_0x89a1[40]]?_0x1f9dx14[_0x89a1[40]][_0x89a1[57]](_0x89a1[56]):[];_0x1f9dx16=_[_0x89a1[48]](_0x1f9dx21,function(_0x1f9dx1b){return _0x1f9dx1b[0]});_0x1f9dx22[_0x89a1[60]](function(_0x1f9dx20){_0x1f9dx1e[_0x89a1[59]](ContactEmail[_0x89a1[58]]({where:{email:_0x1f9dx20},defaults:{email:_0x1f9dx20},transaction:_0x1f9dx12?_0x1f9dx12[_0x89a1[36]]:null}))});return _0x1f9dx1e;})[_0x89a1[54]]()[_0x89a1[38]](function(_0x1f9dx1d){var _0x1f9dx1e=[];var _0x1f9dx1f=_0x1f9dx14[_0x89a1[55]]?_0x1f9dx14[_0x89a1[55]][_0x89a1[57]](_0x89a1[56]):[];_0x1f9dx17=_[_0x89a1[48]](_0x1f9dx1d,function(_0x1f9dx1b){return _0x1f9dx1b[0]});_0x1f9dx1f[_0x89a1[60]](function(_0x1f9dx20){_0x1f9dx1e[_0x89a1[59]](ContactEmail[_0x89a1[58]]({where:{email:_0x1f9dx20},defaults:{email:_0x1f9dx20},transaction:_0x1f9dx12?_0x1f9dx12[_0x89a1[36]]:null}))});return _0x1f9dx1e;})[_0x89a1[54]]()[_0x89a1[38]](function(_0x1f9dx1c){_0x1f9dx18=_[_0x89a1[48]](_0x1f9dx1c,function(_0x1f9dx1b){return _0x1f9dx1b[0]});return ;})[_0x89a1[38]](function(){return _0x1f9dx14[_0x89a1[53]](_0x1f9dx15,{transaction:_0x1f9dx12?_0x1f9dx12[_0x89a1[36]]:null})})[_0x89a1[38]](function(){return _0x1f9dx14[_0x89a1[52]](_0x1f9dx16,{transaction:_0x1f9dx12?_0x1f9dx12[_0x89a1[36]]:null})})[_0x89a1[38]](function(){return _0x1f9dx14[_0x89a1[51]](_0x1f9dx17,{transaction:_0x1f9dx12?_0x1f9dx12[_0x89a1[36]]:null})})[_0x89a1[38]](function(){return _0x1f9dx14[_0x89a1[50]](_0x1f9dx18,{transaction:_0x1f9dx12?_0x1f9dx12[_0x89a1[36]]:null})})[_0x89a1[38]](function(){var _0x1f9dx1a={status:_0x1f9dx14[_0x89a1[28]],from:_0x1f9dx14[_0x89a1[31]],to:_0x1f9dx14[_0x89a1[39]],cc:_0x1f9dx14[_0x89a1[40]],subject:_0x1f9dx14[_0x89a1[41]],html:_0x1f9dx14[_0x89a1[42]],text:_0x1f9dx14[_0x89a1[43]],headers:{"\x58\x2D\x4C\x61\x7A\x69\x6E\x65\x73\x73\x2D\x6C\x65\x76\x65\x6C":1000}};if(_0x1f9dx14[_0x89a1[44]]){_0x1f9dx1a[_0x89a1[45]]=_[_0x89a1[48]](_0x1f9dx14.MailAttachments,function(_0x1f9dx1b){return {path:_0x1f9dx1b[_0x89a1[46]],filename:_0x1f9dx1b[_0x89a1[47]]}})};return _0x1f9dxb[_0x89a1[49]](_0x1f9dx1a);})[_0x89a1[38]](function(_0x1f9dx19){return _0x1f9dx14[_0x89a1[37]]({messageId:_0x1f9dx19[_0x89a1[34]],status:_0x89a1[35]},{transaction:_0x1f9dx12?_0x1f9dx12[_0x89a1[36]]:null})})}else {return MailRoom[_0x89a1[58]]({where:{id:_0x1f9dx14[_0x89a1[66]]},defaults:{subject:_0x1f9dx14[_0x89a1[41]],from:_0x1f9dx14[_0x89a1[31]],status:_0x89a1[67],MailAccountId:_0x1f9dxc[_0x89a1[68]]},transaction:_0x1f9dx12?_0x1f9dx12[_0x89a1[36]]:null})[_0x89a1[61]](function(_0x1f9dx26){_0x1f9dx13=_0x1f9dx26;return _0x1f9dx26[_0x89a1[62]](_0x1f9dx14,{transaction:_0x1f9dx12?_0x1f9dx12[_0x89a1[36]]:null});})[_0x89a1[38]](function(){return ContactEmail[_0x89a1[58]]({where:{email:_0x1f9dx14[_0x89a1[31]]},defaults:{email:_0x1f9dx14[_0x89a1[31]]},transaction:_0x1f9dx12?_0x1f9dx12[_0x89a1[36]]:null})})[_0x89a1[61]](function(_0x1f9dx23){var _0x1f9dx1e=[];var _0x1f9dx25=_0x1f9dx14[_0x89a1[39]]?_0x1f9dx14[_0x89a1[39]][_0x89a1[57]](_0x89a1[56]):[];_0x1f9dx15=_0x1f9dx23;_0x1f9dx25[_0x89a1[60]](function(_0x1f9dx20){_0x1f9dx1e[_0x89a1[59]](ContactEmail[_0x89a1[58]]({where:{email:_0x1f9dx20},defaults:{email:_0x1f9dx20},transaction:_0x1f9dx12?_0x1f9dx12[_0x89a1[36]]:null}))});return _0x1f9dx1e;})[_0x89a1[54]]()[_0x89a1[38]](function(_0x1f9dx21){var _0x1f9dx1e=[];var _0x1f9dx22=_0x1f9dx14[_0x89a1[40]]?_0x1f9dx14[_0x89a1[40]][_0x89a1[57]](_0x89a1[56]):[];_0x1f9dx16=_[_0x89a1[48]](_0x1f9dx21,function(_0x1f9dx1b){return _0x1f9dx1b[0]});_0x1f9dx22[_0x89a1[60]](function(_0x1f9dx20){_0x1f9dx1e[_0x89a1[59]](ContactEmail[_0x89a1[58]]({where:{email:_0x1f9dx20},defaults:{email:_0x1f9dx20},transaction:_0x1f9dx12?_0x1f9dx12[_0x89a1[36]]:null}))});return _0x1f9dx1e;})[_0x89a1[54]]()[_0x89a1[38]](function(_0x1f9dx1d){var _0x1f9dx1e=[];var _0x1f9dx1f=_0x1f9dx14[_0x89a1[55]]?_0x1f9dx14[_0x89a1[55]][_0x89a1[57]](_0x89a1[56]):[];_0x1f9dx17=_[_0x89a1[48]](_0x1f9dx1d,function(_0x1f9dx1b){return _0x1f9dx1b[0]});_0x1f9dx1f[_0x89a1[60]](function(_0x1f9dx20){_0x1f9dx1e[_0x89a1[59]](ContactEmail[_0x89a1[58]]({where:{email:_0x1f9dx20},defaults:{email:_0x1f9dx20},transaction:_0x1f9dx12?_0x1f9dx12[_0x89a1[36]]:null}))});return _0x1f9dx1e;})[_0x89a1[54]]()[_0x89a1[38]](function(_0x1f9dx1c){_0x1f9dx18=_[_0x89a1[48]](_0x1f9dx1c,function(_0x1f9dx1b){return _0x1f9dx1b[0]});return ;})[_0x89a1[38]](function(){return _0x1f9dx14[_0x89a1[53]](_0x1f9dx15,{transaction:_0x1f9dx12?_0x1f9dx12[_0x89a1[36]]:null})})[_0x89a1[38]](function(){return _0x1f9dx14[_0x89a1[52]](_0x1f9dx16,{transaction:_0x1f9dx12?_0x1f9dx12[_0x89a1[36]]:null})})[_0x89a1[38]](function(){return _0x1f9dx14[_0x89a1[51]](_0x1f9dx17,{transaction:_0x1f9dx12?_0x1f9dx12[_0x89a1[36]]:null})})[_0x89a1[38]](function(){return _0x1f9dx14[_0x89a1[50]](_0x1f9dx18,{transaction:_0x1f9dx12?_0x1f9dx12[_0x89a1[36]]:null})})[_0x89a1[38]](function(){var _0x1f9dx1a={status:_0x1f9dx14[_0x89a1[28]],from:_0x1f9dx14[_0x89a1[31]],to:_0x1f9dx14[_0x89a1[39]],cc:_0x1f9dx14[_0x89a1[40]],subject:_0x1f9dx14[_0x89a1[41]],html:_0x1f9dx14[_0x89a1[42]],text:_0x1f9dx14[_0x89a1[43]],headers:{"\x58\x2D\x4C\x61\x7A\x69\x6E\x65\x73\x73\x2D\x6C\x65\x76\x65\x6C":1000}};if(_0x1f9dx14[_0x89a1[44]]){_0x1f9dx1a[_0x89a1[45]]=_[_0x89a1[48]](_0x1f9dx14.MailAttachments,function(_0x1f9dx1b){return {path:_0x1f9dx1b[_0x89a1[46]],filename:_0x1f9dx1b[_0x89a1[47]]}})};return _0x1f9dxb[_0x89a1[49]](_0x1f9dx1a);})[_0x89a1[38]](function(_0x1f9dx19){console[_0x89a1[15]](_0x89a1[65],_0x1f9dx19);return _0x1f9dx14[_0x89a1[37]]({messageId:_0x1f9dx19[_0x89a1[34]],status:_0x89a1[35]},{transaction:_0x1f9dx12?_0x1f9dx12[_0x89a1[36]]:null});})};}}_0x1f9dxd(_0x1f9dxa);MailServerOut[_0x89a1[69]](function(_0x1f9dxa){_0x1f9dxe(_0x1f9dxa)});MailServerOut[_0x89a1[70]](function(_0x1f9dxa){_0x1f9dxf(_0x1f9dxa)});MailMessage[_0x89a1[71]](function(_0x1f9dxa,_0x1f9dx12){return _0x1f9dx10(_0x1f9dxa,_0x1f9dx12)});}};
\ No newline at end of file
index ca29918..094b07e 100644 (file)
@@ -1 +1 @@
-var _0xafe0=["\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","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x73\x6F\x63\x6B\x65\x74\x3A\x20\x61\x6E\x79\x6F\x6E\x65\x20\x75\x73\x65\x72\x73\x20\x66\x6F\x75\x6E\x64","\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\x65\x67\x69\x73\x74\x65\x72","\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\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\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x63\x74\x69\x6F\x6E\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x63\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\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\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\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\x2F\x63\x6F\x6E\x74\x61\x63\x74\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\x66\x69\x65\x6C\x64\x2F\x63\x75\x73\x74\x6F\x6D\x5F\x66\x69\x65\x6C\x64\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\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\x76\x65\x6E\x74\x2F\x65\x76\x65\x6E\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\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x2F\x66\x61\x78\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\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\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\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x2F\x6D\x61\x69\x6C\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\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\x74\x65\x6D\x70\x6C\x61\x74\x65\x2F\x6D\x61\x69\x6C\x5F\x74\x65\x6D\x70\x6C\x61\x74\x65\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\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\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\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\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\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\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\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\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\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\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\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\x6A\x73","\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\x75\x70\x64\x61\x74\x65\x2F\x75\x70\x64\x61\x74\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x70\x6C\x6F\x61\x64\x2F\x75\x70\x6C\x6F\x61\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\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\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\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\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\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\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","\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x41\x74","\x71\x75\x65\x72\x79","\x72\x6F\x6C\x65","\x73\x6F\x75\x72\x63\x65","\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"];_0xafe0[0];var moment=require(_0xafe0[1]);var config=require(_0xafe0[2]);var User=require(_0xafe0[4])[_0xafe0[3]];function onDisconnect(_0xa8d0x5){if(_0xa8d0x5[_0xafe0[5]]){return User[_0xafe0[14]](_0xa8d0x5[_0xafe0[5]])[_0xafe0[11]](function(_0xa8d0x7){if(_0xa8d0x7){return _0xa8d0x7[_0xafe0[12]]({online:false})}else {throw  new Error(_0xafe0[13])}})[_0xafe0[11]](function(_0xa8d0x7){console[_0xafe0[10]](_0xafe0[8],_0xa8d0x7[_0xafe0[9]])})[_0xafe0[7]](function(_0xa8d0x6){console[_0xafe0[6]](_0xa8d0x6)})}else {console[_0xafe0[10]](_0xafe0[13])}}function onConnect(_0xa8d0x5){if(_0xa8d0x5[_0xafe0[5]]){return User[_0xafe0[14]](_0xa8d0x5[_0xafe0[5]])[_0xafe0[11]](function(_0xa8d0x7){if(_0xa8d0x7){return _0xa8d0x7[_0xafe0[12]]({online:true,lastLoginAt:moment()[_0xafe0[105]](_0xafe0[104])})}else {throw  new Error(_0xafe0[13])}})[_0xafe0[11]](function(_0xa8d0x7){console[_0xafe0[10]](_0xafe0[15],_0xa8d0x7[_0xafe0[9]]);require(_0xafe0[17])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[18])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[19])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[20])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[21])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[22])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[23])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[24])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[25])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[26])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[27])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[28])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[29])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[30])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[31])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[32])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[33])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[34])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[35])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[36])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[37])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[38])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[39])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[40])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[41])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[42])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[43])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[44])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[45])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[46])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[47])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[48])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[49])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[50])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[51])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[52])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[53])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[54])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[55])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[56])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[57])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[58])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[59])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[60])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[61])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[62])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[63])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[64])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[65])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[66])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[67])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[68])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[69])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[70])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[71])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[72])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[73])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[74])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[75])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[76])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[77])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[78])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[79])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[80])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[81])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[82])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[83])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[84])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[85])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[86])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[87])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[88])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[89])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[90])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[91])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[92])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[93])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[94])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[95])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[96])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[97])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[98])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[99])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[100])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[101])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[102])[_0xafe0[16]](_0xa8d0x5);require(_0xafe0[103])[_0xafe0[16]](_0xa8d0x5);})[_0xafe0[7]](function(_0xa8d0x6){console[_0xafe0[6]](_0xa8d0x6)})}else {console[_0xafe0[10]](_0xafe0[13])};_0xa8d0x5[_0xafe0[110]](_0xafe0[106],function(_0xa8d0x9){console[_0xafe0[106]](_0xafe0[107],_0xa8d0x5[_0xafe0[108]],JSON[_0xafe0[109]](_0xa8d0x9,null,2))});}module[_0xafe0[111]]=function(_0xa8d0xa){_0xa8d0xa[_0xafe0[116]](require(_0xafe0[115])[_0xafe0[114]]({secret:config[_0xafe0[113]][_0xafe0[112]],handshake:true}));_0xa8d0xa[_0xafe0[110]](_0xafe0[117],function(_0xa8d0x5){_0xa8d0x5[_0xafe0[108]]=_0xa8d0x5[_0xafe0[118]][_0xafe0[108]]!==null?_0xa8d0x5[_0xafe0[118]][_0xafe0[108]][_0xafe0[108]]+_0xafe0[119]+_0xa8d0x5[_0xafe0[118]][_0xafe0[108]][_0xafe0[120]]:process[_0xafe0[122]][_0xafe0[121]];_0xa8d0x5[_0xafe0[123]]= new Date();_0xa8d0x5[_0xafe0[5]]=_0xa8d0x5[_0xafe0[118]][_0xafe0[124]][_0xafe0[5]];_0xa8d0x5[_0xafe0[125]]=_0xa8d0x5[_0xafe0[118]][_0xafe0[124]][_0xafe0[125]];_0xa8d0x5[_0xafe0[9]]=_0xa8d0x5[_0xafe0[118]][_0xafe0[124]][_0xafe0[9]];_0xa8d0x5[_0xafe0[126]]=_0xa8d0x5[_0xafe0[118]][_0xafe0[124]][_0xafe0[126]];_0xa8d0x5[_0xafe0[110]](_0xafe0[127],function(){onDisconnect(_0xa8d0x5);console[_0xafe0[106]](_0xafe0[128],_0xa8d0x5[_0xafe0[118]][_0xafe0[108]]);});onConnect(_0xa8d0x5);console[_0xafe0[106]](_0xafe0[129],_0xa8d0x5[_0xafe0[118]][_0xafe0[108]]);});};
\ No newline at end of file
+var _0xc469=["\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","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x73\x6F\x63\x6B\x65\x74\x3A\x20\x61\x6E\x79\x6F\x6E\x65\x20\x75\x73\x65\x72\x73\x20\x66\x6F\x75\x6E\x64","\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\x65\x67\x69\x73\x74\x65\x72","\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\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\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x63\x74\x69\x6F\x6E\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x63\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\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\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\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\x2F\x63\x6F\x6E\x74\x61\x63\x74\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\x66\x69\x65\x6C\x64\x2F\x63\x75\x73\x74\x6F\x6D\x5F\x66\x69\x65\x6C\x64\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\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\x76\x65\x6E\x74\x2F\x65\x76\x65\x6E\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\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x2F\x66\x61\x78\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\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\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\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x2F\x6D\x61\x69\x6C\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\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\x74\x65\x6D\x70\x6C\x61\x74\x65\x2F\x6D\x61\x69\x6C\x5F\x74\x65\x6D\x70\x6C\x61\x74\x65\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\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\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\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\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\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\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\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\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\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\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\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\x6A\x73","\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\x75\x70\x64\x61\x74\x65\x2F\x75\x70\x64\x61\x74\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x70\x6C\x6F\x61\x64\x2F\x75\x70\x6C\x6F\x61\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\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\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\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\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\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\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\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","\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x41\x74","\x71\x75\x65\x72\x79","\x72\x6F\x6C\x65","\x73\x6F\x75\x72\x63\x65","\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"];_0xc469[0];var moment=require(_0xc469[1]);var config=require(_0xc469[2]);var User=require(_0xc469[4])[_0xc469[3]];function onDisconnect(_0xc08bx5){if(_0xc08bx5[_0xc469[5]]){return User[_0xc469[14]](_0xc08bx5[_0xc469[5]])[_0xc469[11]](function(_0xc08bx7){if(_0xc08bx7){return _0xc08bx7[_0xc469[12]]({online:false})}else {throw  new Error(_0xc469[13])}})[_0xc469[11]](function(_0xc08bx7){console[_0xc469[10]](_0xc469[8],_0xc08bx7[_0xc469[9]])})[_0xc469[7]](function(_0xc08bx6){console[_0xc469[6]](_0xc08bx6)})}else {console[_0xc469[10]](_0xc469[13])}}function onConnect(_0xc08bx5){if(_0xc08bx5[_0xc469[5]]){return User[_0xc469[14]](_0xc08bx5[_0xc469[5]])[_0xc469[11]](function(_0xc08bx7){if(_0xc08bx7){return _0xc08bx7[_0xc469[12]]({online:true,lastLoginAt:moment()[_0xc469[106]](_0xc469[105])})}else {throw  new Error(_0xc469[13])}})[_0xc469[11]](function(_0xc08bx7){console[_0xc469[10]](_0xc469[15],_0xc08bx7[_0xc469[9]]);require(_0xc469[17])[_0xc469[16]](_0xc08bx5);require(_0xc469[18])[_0xc469[16]](_0xc08bx5);require(_0xc469[19])[_0xc469[16]](_0xc08bx5);require(_0xc469[20])[_0xc469[16]](_0xc08bx5);require(_0xc469[21])[_0xc469[16]](_0xc08bx5);require(_0xc469[22])[_0xc469[16]](_0xc08bx5);require(_0xc469[23])[_0xc469[16]](_0xc08bx5);require(_0xc469[24])[_0xc469[16]](_0xc08bx5);require(_0xc469[25])[_0xc469[16]](_0xc08bx5);require(_0xc469[26])[_0xc469[16]](_0xc08bx5);require(_0xc469[27])[_0xc469[16]](_0xc08bx5);require(_0xc469[28])[_0xc469[16]](_0xc08bx5);require(_0xc469[29])[_0xc469[16]](_0xc08bx5);require(_0xc469[30])[_0xc469[16]](_0xc08bx5);require(_0xc469[31])[_0xc469[16]](_0xc08bx5);require(_0xc469[32])[_0xc469[16]](_0xc08bx5);require(_0xc469[33])[_0xc469[16]](_0xc08bx5);require(_0xc469[34])[_0xc469[16]](_0xc08bx5);require(_0xc469[35])[_0xc469[16]](_0xc08bx5);require(_0xc469[36])[_0xc469[16]](_0xc08bx5);require(_0xc469[37])[_0xc469[16]](_0xc08bx5);require(_0xc469[38])[_0xc469[16]](_0xc08bx5);require(_0xc469[39])[_0xc469[16]](_0xc08bx5);require(_0xc469[40])[_0xc469[16]](_0xc08bx5);require(_0xc469[41])[_0xc469[16]](_0xc08bx5);require(_0xc469[42])[_0xc469[16]](_0xc08bx5);require(_0xc469[43])[_0xc469[16]](_0xc08bx5);require(_0xc469[44])[_0xc469[16]](_0xc08bx5);require(_0xc469[45])[_0xc469[16]](_0xc08bx5);require(_0xc469[46])[_0xc469[16]](_0xc08bx5);require(_0xc469[47])[_0xc469[16]](_0xc08bx5);require(_0xc469[48])[_0xc469[16]](_0xc08bx5);require(_0xc469[49])[_0xc469[16]](_0xc08bx5);require(_0xc469[50])[_0xc469[16]](_0xc08bx5);require(_0xc469[51])[_0xc469[16]](_0xc08bx5);require(_0xc469[52])[_0xc469[16]](_0xc08bx5);require(_0xc469[53])[_0xc469[16]](_0xc08bx5);require(_0xc469[54])[_0xc469[16]](_0xc08bx5);require(_0xc469[55])[_0xc469[16]](_0xc08bx5);require(_0xc469[56])[_0xc469[16]](_0xc08bx5);require(_0xc469[57])[_0xc469[16]](_0xc08bx5);require(_0xc469[58])[_0xc469[16]](_0xc08bx5);require(_0xc469[59])[_0xc469[16]](_0xc08bx5);require(_0xc469[60])[_0xc469[16]](_0xc08bx5);require(_0xc469[61])[_0xc469[16]](_0xc08bx5);require(_0xc469[62])[_0xc469[16]](_0xc08bx5);require(_0xc469[63])[_0xc469[16]](_0xc08bx5);require(_0xc469[64])[_0xc469[16]](_0xc08bx5);require(_0xc469[65])[_0xc469[16]](_0xc08bx5);require(_0xc469[66])[_0xc469[16]](_0xc08bx5);require(_0xc469[67])[_0xc469[16]](_0xc08bx5);require(_0xc469[68])[_0xc469[16]](_0xc08bx5);require(_0xc469[69])[_0xc469[16]](_0xc08bx5);require(_0xc469[70])[_0xc469[16]](_0xc08bx5);require(_0xc469[71])[_0xc469[16]](_0xc08bx5);require(_0xc469[72])[_0xc469[16]](_0xc08bx5);require(_0xc469[73])[_0xc469[16]](_0xc08bx5);require(_0xc469[74])[_0xc469[16]](_0xc08bx5);require(_0xc469[75])[_0xc469[16]](_0xc08bx5);require(_0xc469[76])[_0xc469[16]](_0xc08bx5);require(_0xc469[77])[_0xc469[16]](_0xc08bx5);require(_0xc469[78])[_0xc469[16]](_0xc08bx5);require(_0xc469[79])[_0xc469[16]](_0xc08bx5);require(_0xc469[80])[_0xc469[16]](_0xc08bx5);require(_0xc469[81])[_0xc469[16]](_0xc08bx5);require(_0xc469[82])[_0xc469[16]](_0xc08bx5);require(_0xc469[83])[_0xc469[16]](_0xc08bx5);require(_0xc469[84])[_0xc469[16]](_0xc08bx5);require(_0xc469[85])[_0xc469[16]](_0xc08bx5);require(_0xc469[86])[_0xc469[16]](_0xc08bx5);require(_0xc469[87])[_0xc469[16]](_0xc08bx5);require(_0xc469[88])[_0xc469[16]](_0xc08bx5);require(_0xc469[89])[_0xc469[16]](_0xc08bx5);require(_0xc469[90])[_0xc469[16]](_0xc08bx5);require(_0xc469[91])[_0xc469[16]](_0xc08bx5);require(_0xc469[92])[_0xc469[16]](_0xc08bx5);require(_0xc469[93])[_0xc469[16]](_0xc08bx5);require(_0xc469[94])[_0xc469[16]](_0xc08bx5);require(_0xc469[95])[_0xc469[16]](_0xc08bx5);require(_0xc469[96])[_0xc469[16]](_0xc08bx5);require(_0xc469[97])[_0xc469[16]](_0xc08bx5);require(_0xc469[98])[_0xc469[16]](_0xc08bx5);require(_0xc469[99])[_0xc469[16]](_0xc08bx5);require(_0xc469[100])[_0xc469[16]](_0xc08bx5);require(_0xc469[101])[_0xc469[16]](_0xc08bx5);require(_0xc469[102])[_0xc469[16]](_0xc08bx5);require(_0xc469[103])[_0xc469[16]](_0xc08bx5);require(_0xc469[104])[_0xc469[16]](_0xc08bx5);})[_0xc469[7]](function(_0xc08bx6){console[_0xc469[6]](_0xc08bx6)})}else {console[_0xc469[10]](_0xc469[13])};_0xc08bx5[_0xc469[111]](_0xc469[107],function(_0xc08bx9){console[_0xc469[107]](_0xc469[108],_0xc08bx5[_0xc469[109]],JSON[_0xc469[110]](_0xc08bx9,null,2))});}module[_0xc469[112]]=function(_0xc08bxa){_0xc08bxa[_0xc469[117]](require(_0xc469[116])[_0xc469[115]]({secret:config[_0xc469[114]][_0xc469[113]],handshake:true}));_0xc08bxa[_0xc469[111]](_0xc469[118],function(_0xc08bx5){_0xc08bx5[_0xc469[109]]=_0xc08bx5[_0xc469[119]][_0xc469[109]]!==null?_0xc08bx5[_0xc469[119]][_0xc469[109]][_0xc469[109]]+_0xc469[120]+_0xc08bx5[_0xc469[119]][_0xc469[109]][_0xc469[121]]:process[_0xc469[123]][_0xc469[122]];_0xc08bx5[_0xc469[124]]= new Date();_0xc08bx5[_0xc469[5]]=_0xc08bx5[_0xc469[119]][_0xc469[125]][_0xc469[5]];_0xc08bx5[_0xc469[126]]=_0xc08bx5[_0xc469[119]][_0xc469[125]][_0xc469[126]];_0xc08bx5[_0xc469[9]]=_0xc08bx5[_0xc469[119]][_0xc469[125]][_0xc469[9]];_0xc08bx5[_0xc469[127]]=_0xc08bx5[_0xc469[119]][_0xc469[125]][_0xc469[127]];_0xc08bx5[_0xc469[111]](_0xc469[128],function(){onDisconnect(_0xc08bx5);console[_0xc469[107]](_0xc469[129],_0xc08bx5[_0xc469[119]][_0xc469[109]]);});onConnect(_0xc08bx5);console[_0xc469[107]](_0xc469[130],_0xc08bx5[_0xc469[119]][_0xc469[109]]);});};
\ No newline at end of file
index cc1c6e8..2703b9e 100644 (file)
@@ -1 +1 @@
-var _0xf515=["\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","\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","\x4D\x6F\x74\x69\x6F\x6E\x20\x53\x65\x72\x76\x69\x63\x65\x20\x53\x4D\x54\x50\x20\x6E\x6F\x74\x20\x63\x6F\x6E\x66\x69\x67\x75\x72\x65\x64\x21","\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","\x53\x45\x4E\x44\x49\x4E\x47","\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","\x6F\x66\x66\x6C\x69\x6E\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x2E\x20\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x3A\x20","\x6E\x61\x6D\x65","\x66\x69\x6E\x64\x4F\x6E\x65","\x63\x68\x61\x74\x57\x65\x62\x73\x69\x74\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","\x63\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x20\x63\x61\x6E\x27\x74\x20\x73\x65\x6E\x64\x20\x6F\x66\x66\x6C\x69\x6E\x65\x20\x6D\x65\x73\x73\x61\x67\x65\x73\x20\x76\x69\x61\x20\x6D\x61\x69\x6C","\x67\x65\x74\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0xf515[0]);var Mustache=require(_0xf515[1]);var sequelize=require(_0xf515[3])[_0xf515[2]];var ChatEnquiry=require(_0xf515[3])[_0xf515[4]];var MailMessage=require(_0xf515[3])[_0xf515[5]];var MailServerOut=require(_0xf515[3])[_0xf515[6]];function Chat(){console[_0xf515[8]](_0xf515[7]);ChatEnquiry[_0xf515[27]](function(_0x2d15x8,_0x2d15x9){var _0x2d15xa=_0x2d15x8;var _0x2d15xb;var _0x2d15xc;var _0x2d15xd;return _0x2d15x8[_0xf515[26]]()[_0xf515[17]](function(_0x2d15x10){_0x2d15xb=_0x2d15x10;_0x2d15xa[_0xf515[22]]=_0x2d15xb[_0xf515[20]];if(_0x2d15xb&&_0x2d15xb[_0xf515[23]]&&_0x2d15xb[_0xf515[11]]){return _0x2d15xb[_0xf515[24]]()}else {throw  new Error({message:_0xf515[25]})};})[_0xf515[17]](function(_0x2d15xf){_0x2d15xd=_0x2d15xf;if(_0x2d15xd){_0x2d15xd[_0xf515[13]]=Mustache[_0xf515[18]](_0x2d15xd[_0xf515[13]],_0x2d15xa);_0x2d15xd[_0xf515[12]]=Mustache[_0xf515[18]](_0x2d15xd[_0xf515[12]],_0x2d15xa);}else {throw  new Error({message:_0xf515[19]+_0x2d15xb[_0xf515[20]]})};return MailServerOut[_0xf515[21]]({where:{service:true}});})[_0xf515[17]](function(_0x2d15xe){_0x2d15xc=_0x2d15xe;if(!_0x2d15xc){throw  new Error(_0xf515[9])};return MailMessage[_0xf515[16]]({from:_0x2d15xc[_0xf515[10]],to:_0x2d15xb[_0xf515[11]],subject:_0x2d15xd[_0xf515[12]],html:_0x2d15xd[_0xf515[13]],status:_0xf515[14]},{transaction:_0x2d15x9?_0x2d15x9[_0xf515[15]]:null});});});}module[_0xf515[28]]=Chat;
\ No newline at end of file
+var _0x570d=["\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","\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","\x4D\x6F\x74\x69\x6F\x6E\x20\x53\x65\x72\x76\x69\x63\x65\x20\x53\x4D\x54\x50\x20\x6E\x6F\x74\x20\x63\x6F\x6E\x66\x69\x67\x75\x72\x65\x64\x21","\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","\x53\x45\x4E\x44\x49\x4E\x47","\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","\x6F\x66\x66\x6C\x69\x6E\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x2E\x20\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x3A\x20","\x6E\x61\x6D\x65","\x66\x69\x6E\x64\x4F\x6E\x65","\x63\x68\x61\x74\x57\x65\x62\x73\x69\x74\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","\x63\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x20\x63\x61\x6E\x27\x74\x20\x73\x65\x6E\x64\x20\x6F\x66\x66\x6C\x69\x6E\x65\x20\x6D\x65\x73\x73\x61\x67\x65\x73\x20\x76\x69\x61\x20\x6D\x61\x69\x6C","\x67\x65\x74\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0x570d[0]);var Mustache=require(_0x570d[1]);var sequelize=require(_0x570d[3])[_0x570d[2]];var ChatEnquiry=require(_0x570d[3])[_0x570d[4]];var MailMessage=require(_0x570d[3])[_0x570d[5]];var MailServerOut=require(_0x570d[3])[_0x570d[6]];function Chat(){console[_0x570d[8]](_0x570d[7]);ChatEnquiry[_0x570d[27]](function(_0x64dbx8,_0x64dbx9){var _0x64dbxa=_0x64dbx8;var _0x64dbxb;var _0x64dbxc;var _0x64dbxd;return _0x64dbx8[_0x570d[26]]()[_0x570d[17]](function(_0x64dbx10){_0x64dbxb=_0x64dbx10;_0x64dbxa[_0x570d[22]]=_0x64dbxb[_0x570d[20]];if(_0x64dbxb&&_0x64dbxb[_0x570d[23]]&&_0x64dbxb[_0x570d[11]]){return _0x64dbxb[_0x570d[24]]()}else {throw  new Error({message:_0x570d[25]})};})[_0x570d[17]](function(_0x64dbxf){_0x64dbxd=_0x64dbxf;if(_0x64dbxd){_0x64dbxd[_0x570d[13]]=Mustache[_0x570d[18]](_0x64dbxd[_0x570d[13]],_0x64dbxa);_0x64dbxd[_0x570d[12]]=Mustache[_0x570d[18]](_0x64dbxd[_0x570d[12]],_0x64dbxa);}else {throw  new Error({message:_0x570d[19]+_0x64dbxb[_0x570d[20]]})};return MailServerOut[_0x570d[21]]({where:{service:true}});})[_0x570d[17]](function(_0x64dbxe){_0x64dbxc=_0x64dbxe;if(!_0x64dbxc){throw  new Error(_0x570d[9])};return MailMessage[_0x570d[16]]({from:_0x64dbxc[_0x570d[10]],to:_0x64dbxb[_0x570d[11]],subject:_0x64dbxd[_0x570d[12]],html:_0x64dbxd[_0x570d[13]],status:_0x570d[14]},{transaction:_0x64dbx9?_0x64dbx9[_0x570d[15]]:null});});});}module[_0x570d[28]]=Chat;
\ No newline at end of file
index f4d1662..f54cb2b 100644 (file)
@@ -1 +1 @@
-var _0x6ed4=["\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","\x50\x68\x6F\x6E\x65\x73","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x76\x6F\x69\x63\x65","\x45\x6D\x61\x69\x6C\x73","\x66\x72\x6F\x6D","\x6D\x61\x69\x6C","\x43\x4D\x20\x74\x72\x69\x67\x67\x65\x72\x65\x64\x20\x62\x79\x20","\x20\x63\x68\x61\x6E\x6E\x65\x6C\x2C\x20\x66\x69\x6E\x64\x69\x6E\x67\x20\x63\x6F\x6E\x74\x61\x63\x74\x2E\x2E\x2E","\x63\x61\x74\x63\x68","\x6C\x65\x6E\x67\x74\x68","\x46\x6F\x75\x6E\x64\x20\x63\x6F\x6E\x74\x61\x63\x74\x2C\x20\x6F\x70\x65\x6E\x5F\x63\x6F\x6E\x74\x61\x63\x74\x20\x72\x6F\x77\x20\x69\x6E\x20\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73\x20\x74\x61\x62\x6C\x65\x2E\x2E\x2E","\x65\x76\x65\x6E\x74","\x6F\x70\x65\x6E\x43\x6F\x6E\x74\x61\x63\x74\x54\x61\x62","\x63\x6F\x6E\x74\x61\x63\x74\x73","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x70\x6C\x75\x63\x6B","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x6D\x61\x70","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x43\x6F\x6E\x74\x61\x63\x74\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x2C\x20\x6E\x65\x77\x5F\x63\x6F\x6E\x74\x61\x63\x74\x20\x74\x61\x62\x20\x72\x6F\x77\x20\x69\x6E\x20\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73\x20\x74\x61\x62\x6C\x65\x2E\x2E\x2E","\x6E\x65\x77\x43\x6F\x6E\x74\x61\x63\x74\x54\x61\x62","\x63\x72\x65\x61\x74\x65","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0x6ed4[0]);function Cm(){console[_0x6ed4[2]](_0x6ed4[1])}Cm[_0x6ed4[4]][_0x6ed4[3]]=function(_0x8c16x3,_0x8c16x4){manageContact(_0x8c16x3,_0x8c16x4)};function manageContact(_0x8c16x3,_0x8c16x4){var _0x8c16x6=require(_0x6ed4[6])[_0x6ed4[5]];var _0x8c16x7=require(_0x6ed4[6])[_0x6ed4[7]];var _0x8c16x8=require(_0x6ed4[6])[_0x6ed4[8]];var _0x8c16x9=require(_0x6ed4[6])[_0x6ed4[9]];delete _0x8c16x3[_0x6ed4[10]];_0x8c16x3[_0x6ed4[11]]=_0x6ed4[12];var _0x8c16xa={};switch(_0x8c16x4){case _0x6ed4[15]:_0x8c16xa={model:_0x8c16x7,as:_0x6ed4[13],where:{phone:_0x8c16x3[_0x6ed4[14]]}};break ;;case _0x6ed4[18]:_0x8c16xa={model:_0x8c16x8,as:_0x6ed4[16],where:{email:_0x8c16x3[_0x6ed4[17]]}};break ;;default:;};console[_0x6ed4[2]](_0x6ed4[19]+_0x8c16x4+_0x6ed4[20]);_0x8c16x6[_0x6ed4[36]]({include:[_0x8c16xa]})[_0x6ed4[35]](function(_0x8c16xc){if(_0x8c16xc[_0x6ed4[22]]){console[_0x6ed4[2]](_0x6ed4[23]);_0x8c16x3[_0x6ed4[24]]=_0x6ed4[25];_0x8c16x3[_0x6ed4[26]]=JSON[_0x6ed4[31]](_[_0x6ed4[30]](_[_0x6ed4[28]](_0x8c16xc,_0x6ed4[27]),function(_0x8c16xd){return {id:_0x8c16xd[_0x6ed4[10]],name:_0x8c16xd[_0x6ed4[29]]}}));}else {console[_0x6ed4[2]](_0x6ed4[32]);_0x8c16x3[_0x6ed4[24]]=_0x6ed4[33];};_0x8c16x9[_0x6ed4[34]](_0x8c16x3)[_0x6ed4[21]](function(_0x8c16xb){console[_0x6ed4[2]](_0x8c16xb)});})[_0x6ed4[21]](function(_0x8c16xb){console[_0x6ed4[2]](_0x8c16xb)});}module[_0x6ed4[37]]=Cm;
\ No newline at end of file
+var _0x819b=["\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","\x50\x68\x6F\x6E\x65\x73","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x76\x6F\x69\x63\x65","\x45\x6D\x61\x69\x6C\x73","\x66\x72\x6F\x6D","\x6D\x61\x69\x6C","\x43\x4D\x20\x74\x72\x69\x67\x67\x65\x72\x65\x64\x20\x62\x79\x20","\x20\x63\x68\x61\x6E\x6E\x65\x6C\x2C\x20\x66\x69\x6E\x64\x69\x6E\x67\x20\x63\x6F\x6E\x74\x61\x63\x74\x2E\x2E\x2E","\x63\x61\x74\x63\x68","\x6C\x65\x6E\x67\x74\x68","\x46\x6F\x75\x6E\x64\x20\x63\x6F\x6E\x74\x61\x63\x74\x2C\x20\x6F\x70\x65\x6E\x5F\x63\x6F\x6E\x74\x61\x63\x74\x20\x72\x6F\x77\x20\x69\x6E\x20\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73\x20\x74\x61\x62\x6C\x65\x2E\x2E\x2E","\x65\x76\x65\x6E\x74","\x6F\x70\x65\x6E\x43\x6F\x6E\x74\x61\x63\x74\x54\x61\x62","\x63\x6F\x6E\x74\x61\x63\x74\x73","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x70\x6C\x75\x63\x6B","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x6D\x61\x70","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x43\x6F\x6E\x74\x61\x63\x74\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x2C\x20\x6E\x65\x77\x5F\x63\x6F\x6E\x74\x61\x63\x74\x20\x74\x61\x62\x20\x72\x6F\x77\x20\x69\x6E\x20\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73\x20\x74\x61\x62\x6C\x65\x2E\x2E\x2E","\x6E\x65\x77\x43\x6F\x6E\x74\x61\x63\x74\x54\x61\x62","\x63\x72\x65\x61\x74\x65","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0x819b[0]);function Cm(){console[_0x819b[2]](_0x819b[1])}Cm[_0x819b[4]][_0x819b[3]]=function(_0x186fx3,_0x186fx4){manageContact(_0x186fx3,_0x186fx4)};function manageContact(_0x186fx3,_0x186fx4){var _0x186fx6=require(_0x819b[6])[_0x819b[5]];var _0x186fx7=require(_0x819b[6])[_0x819b[7]];var _0x186fx8=require(_0x819b[6])[_0x819b[8]];var _0x186fx9=require(_0x819b[6])[_0x819b[9]];delete _0x186fx3[_0x819b[10]];_0x186fx3[_0x819b[11]]=_0x819b[12];var _0x186fxa={};switch(_0x186fx4){case _0x819b[15]:_0x186fxa={model:_0x186fx7,as:_0x819b[13],where:{phone:_0x186fx3[_0x819b[14]]}};break ;;case _0x819b[18]:_0x186fxa={model:_0x186fx8,as:_0x819b[16],where:{email:_0x186fx3[_0x819b[17]]}};break ;;default:;};console[_0x819b[2]](_0x819b[19]+_0x186fx4+_0x819b[20]);_0x186fx6[_0x819b[36]]({include:[_0x186fxa]})[_0x819b[35]](function(_0x186fxc){if(_0x186fxc[_0x819b[22]]){console[_0x819b[2]](_0x819b[23]);_0x186fx3[_0x819b[24]]=_0x819b[25];_0x186fx3[_0x819b[26]]=JSON[_0x819b[31]](_[_0x819b[30]](_[_0x819b[28]](_0x186fxc,_0x819b[27]),function(_0x186fxd){return {id:_0x186fxd[_0x819b[10]],name:_0x186fxd[_0x819b[29]]}}));}else {console[_0x819b[2]](_0x819b[32]);_0x186fx3[_0x819b[24]]=_0x819b[33];};_0x186fx9[_0x819b[34]](_0x186fx3)[_0x819b[21]](function(_0x186fxb){console[_0x819b[2]](_0x186fxb)});})[_0x819b[21]](function(_0x186fxb){console[_0x819b[2]](_0x186fxb)});}module[_0x819b[37]]=Cm;
\ No newline at end of file
index f914438..297a12f 100644 (file)
@@ -1 +1 @@
-var _0xf20f=["\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","\x54\x72\x69\x67\x67\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\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","\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","\x45\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x61\x63\x74\x69\x6F\x6E\x20\x22","\x76\x61\x6C\x75\x65","\x66\x69\x65\x6C\x64","\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","\x64\x61\x74\x61\x32","\x73\x65\x6E\x64\x54\x65\x6D\x70\x6C\x61\x74\x65","\x74\x65\x6D\x70\x6C\x61\x74\x65","\x66\x6F\x72\x45\x61\x63\x68","\x41\x66\x74\x65\x72\x20\x63\x72\x65\x61\x74\x65\x2C\x20\x54\x72\x69\x67\x67\x65\x72\x73\x20\x61\x72\x65\x20","\x41\x66\x74\x65\x72\x20\x75\x70\x64\x61\x74\x65\x2C\x20\x54\x72\x69\x67\x67\x65\x72\x73\x20\x61\x72\x65\x20","\x69\x64","\x72\x65\x6D\x6F\x76\x65","\x41\x66\x74\x65\x72\x20\x64\x65\x73\x74\x72\x6F\x79\x2C\x20\x54\x72\x69\x67\x67\x65\x72\x73\x20\x61\x72\x65\x20","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x69\x6E\x64","\x69\x6E\x64\x65\x78\x4F\x66","\x6D\x65\x72\x67\x65","\x75\x6E\x73\x68\x69\x66\x74"];_0xf20f[0];var _=require(_0xf20f[1]);var Util=require(_0xf20f[2]);var Voice=require(_0xf20f[3]);var Mail=require(_0xf20f[4]);var Chat=require(_0xf20f[5]);var Cm=require(_0xf20f[6]);var Trigger=require(_0xf20f[8])[_0xf20f[7]];var ReportAgent=require(_0xf20f[8])[_0xf20f[9]];var MailMessage=require(_0xf20f[8])[_0xf20f[10]];module[_0xf20f[11]]=function(){var _0x571exa= new Util();var _0x571exb= new Voice();var _0x571exc= new Chat();var _0x571exd= new Mail();var _0x571exe= new Cm();Trigger[_0xf20f[28]]()[_0xf20f[27]](function(_0x571ex10){synchTriggers(_0x571ex10);console[_0xf20f[16]](_0xf20f[14],_0x571ex10[_0xf20f[15]]);ReportAgent[_0xf20f[21]](function(_0x571ex11){var _0x571ex12=_0x571exa[_0xf20f[19]](_0x571ex11,_[_0xf20f[18]](_0x571ex10,{channel:_0xf20f[17]}));console[_0xf20f[16]](_0xf20f[20],_0x571ex12[_0xf20f[15]]);execActions(_0x571ex12,_0x571ex11,_0xf20f[17],_0x571exa,_0x571exb,_0x571exd,_0x571exe);});ReportAgent[_0xf20f[23]](function(_0x571ex11){var _0x571ex12=_0x571exa[_0xf20f[19]](_0x571ex11,_[_0xf20f[18]](_0x571ex10,{channel:_0xf20f[17]}));console[_0xf20f[16]](_0xf20f[22],_0x571ex12[_0xf20f[15]]);execActions(_0x571ex12,_0x571ex11,_0xf20f[17],_0x571exa,_0x571exb,_0x571exd,_0x571exe);});MailMessage[_0xf20f[21]](function(_0x571ex11){if(_0x571ex11[_0xf20f[24]]===_0xf20f[25]){var _0x571ex12=_0x571exa[_0xf20f[19]](_0x571ex11,_[_0xf20f[18]](_0x571ex10,{channel:_0xf20f[26]}));execActions(_0x571ex12,_0x571ex11,_0xf20f[26],_0x571exa,_0x571exb,_0x571exd,_0x571exe);}});})[_0xf20f[13]](function(_0x571exf){console[_0xf20f[12]](_0x571exf)});};function execActions(_0x571ex12,_0x571ex11,_0x571ex14,_0x571exa,_0x571exb,_0x571exd,_0x571exe){_0x571ex12[_0xf20f[40]](function(_0x571ex15){console[_0xf20f[16]](_0xf20f[29]+_0x571ex15[_0xf20f[31]][_0xf20f[30]]+_0xf20f[32]);switch(_0x571ex15[_0xf20f[31]][_0xf20f[30]]){case _0xf20f[35]:_0x571exe[_0xf20f[34]](_0x571ex11[_0xf20f[33]],_0x571ex14);break ;;case _0xf20f[39]:_0x571exd[_0xf20f[38]](_0x571ex15[_0xf20f[36]],_0x571ex15[_0xf20f[37]]);break ;;default:;};})}function synchTriggers(_0x571ex10){Trigger[_0xf20f[21]](function(_0x571ex11){updateCollection(_0x571ex10,_0x571ex11);console[_0xf20f[16]](_0xf20f[41],_0x571ex10[_0xf20f[15]]);});Trigger[_0xf20f[23]](function(_0x571ex11){updateCollection(_0x571ex10,_0x571ex11);console[_0xf20f[16]](_0xf20f[42],_0x571ex10[_0xf20f[15]]);});Trigger[_0xf20f[46]](function(_0x571ex11){_[_0xf20f[44]](_0x571ex10,{id:_0x571ex11[_0xf20f[43]]});console[_0xf20f[16]](_0xf20f[45],_0x571ex10[_0xf20f[15]]);});}function updateCollection(_0x571ex18,_0x571ex11){var _0x571ex19=_[_0xf20f[47]](_0x571ex18,{id:_0x571ex11[_0xf20f[43]]});var _0x571ex1a=_0x571ex18[_0xf20f[48]](_0x571ex19);if(_0x571ex19){_[_0xf20f[49]](_0x571ex18[_0x571ex1a],_0x571ex11)}else {_0x571ex18[_0xf20f[50]](_0x571ex11)};}
\ No newline at end of file
+var _0xa704=["\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\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","\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","\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","\x45\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x61\x63\x74\x69\x6F\x6E\x20\x22","\x76\x61\x6C\x75\x65","\x66\x69\x65\x6C\x64","\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","\x64\x61\x74\x61\x32","\x73\x65\x6E\x64\x54\x65\x6D\x70\x6C\x61\x74\x65","\x74\x65\x6D\x70\x6C\x61\x74\x65","\x6D\x61\x6E\x61\x67\x65\x45\x76\x65\x6E\x74","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x41\x66\x74\x65\x72\x20\x63\x72\x65\x61\x74\x65\x2C\x20\x54\x72\x69\x67\x67\x65\x72\x73\x20\x61\x72\x65\x20","\x41\x66\x74\x65\x72\x20\x75\x70\x64\x61\x74\x65\x2C\x20\x54\x72\x69\x67\x67\x65\x72\x73\x20\x61\x72\x65\x20","\x69\x64","\x72\x65\x6D\x6F\x76\x65","\x41\x66\x74\x65\x72\x20\x64\x65\x73\x74\x72\x6F\x79\x2C\x20\x54\x72\x69\x67\x67\x65\x72\x73\x20\x61\x72\x65\x20","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x69\x6E\x64","\x69\x6E\x64\x65\x78\x4F\x66","\x6D\x65\x72\x67\x65","\x75\x6E\x73\x68\x69\x66\x74"];_0xa704[0];var _=require(_0xa704[1]);var Util=require(_0xa704[2]);var Voice=require(_0xa704[3]);var Mail=require(_0xa704[4]);var Chat=require(_0xa704[5]);var Cm=require(_0xa704[6]);var Integration=require(_0xa704[7]);var Trigger=require(_0xa704[9])[_0xa704[8]];var ReportAgent=require(_0xa704[9])[_0xa704[10]];var MailMessage=require(_0xa704[9])[_0xa704[11]];module[_0xa704[12]]=function(){var _0xddacxb= new Util();var _0xddacxc= new Voice();var _0xddacxd= new Chat();var _0xddacxe= new Mail();var _0xddacxf= new Cm();var _0xddacx10= new Integration();Trigger[_0xa704[29]]()[_0xa704[28]](function(_0xddacx12){synchTriggers(_0xddacx12);console[_0xa704[17]](_0xa704[15],_0xddacx12[_0xa704[16]]);ReportAgent[_0xa704[22]](function(_0xddacx13){var _0xddacx14=_0xddacxb[_0xa704[20]](_0xddacx13,_[_0xa704[19]](_0xddacx12,{channel:_0xa704[18]}));console[_0xa704[17]](_0xa704[21],_0xddacx14[_0xa704[16]]);execActions(_0xddacx14,_0xddacx13,_0xa704[18],_0xddacxb,_0xddacxc,_0xddacxe,_0xddacxf,_0xddacx10);});ReportAgent[_0xa704[24]](function(_0xddacx13){var _0xddacx14=_0xddacxb[_0xa704[20]](_0xddacx13,_[_0xa704[19]](_0xddacx12,{channel:_0xa704[18]}));console[_0xa704[17]](_0xa704[23],_0xddacx14[_0xa704[16]]);execActions(_0xddacx14,_0xddacx13,_0xa704[18],_0xddacxb,_0xddacxc,_0xddacxe,_0xddacxf,_0xddacx10);});MailMessage[_0xa704[22]](function(_0xddacx13){if(_0xddacx13[_0xa704[25]]===_0xa704[26]){var _0xddacx14=_0xddacxb[_0xa704[20]](_0xddacx13,_[_0xa704[19]](_0xddacx12,{channel:_0xa704[27]}));execActions(_0xddacx14,_0xddacx13,_0xa704[27],_0xddacxb,_0xddacxc,_0xddacxe,_0xddacxf,_0xddacx10);}});})[_0xa704[14]](function(_0xddacx11){console[_0xa704[13]](_0xddacx11)});};function execActions(_0xddacx14,_0xddacx13,_0xddacx16,_0xddacxb,_0xddacxc,_0xddacxe,_0xddacxf,_0xddacx10){_0xddacx14[_0xa704[43]](function(_0xddacx17){console[_0xa704[17]](_0xa704[30]+_0xddacx17[_0xa704[32]][_0xa704[31]]+_0xa704[33]);switch(_0xddacx17[_0xa704[32]][_0xa704[31]]){case _0xa704[36]:_0xddacxf[_0xa704[35]](_0xddacx13[_0xa704[34]],_0xddacx16);break ;;case _0xa704[40]:_0xddacxe[_0xa704[39]](_0xddacx17[_0xa704[37]],_0xddacx17[_0xa704[38]]);break ;;case _0xa704[42]:_0xddacx10[_0xa704[41]](_0xddacx17,_0xddacx13,_0xddacx16);break ;;default:;};})}function synchTriggers(_0xddacx12){Trigger[_0xa704[22]](function(_0xddacx13){updateCollection(_0xddacx12,_0xddacx13);console[_0xa704[17]](_0xa704[44],_0xddacx12[_0xa704[16]]);});Trigger[_0xa704[24]](function(_0xddacx13){updateCollection(_0xddacx12,_0xddacx13);console[_0xa704[17]](_0xa704[45],_0xddacx12[_0xa704[16]]);});Trigger[_0xa704[49]](function(_0xddacx13){_[_0xa704[47]](_0xddacx12,{id:_0xddacx13[_0xa704[46]]});console[_0xa704[17]](_0xa704[48],_0xddacx12[_0xa704[16]]);});}function updateCollection(_0xddacx1a,_0xddacx13){var _0xddacx1b=_[_0xa704[50]](_0xddacx1a,{id:_0xddacx13[_0xa704[46]]});var _0xddacx1c=_0xddacx1a[_0xa704[51]](_0xddacx1b);if(_0xddacx1b){_[_0xa704[52]](_0xddacx1a[_0xddacx1c],_0xddacx13)}else {_0xddacx1a[_0xa704[53]](_0xddacx13)};}
\ No newline at end of file
index 8c0bb83..a412f62 100644 (file)
@@ -1 +1 @@
-var _0xa1a8=["\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","\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\x54\x65\x6D\x70\x6C\x61\x74\x65","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x69\x6E\x73\x74\x61\x6E\x63\x65\x73","\x2E\x2E\x2F\x73\x6D\x74\x70","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64","\x73\x65\x6E\x64","\x73\x6D\x74\x70","\x74\x68\x65\x6E","\x53\x45\x4E\x44\x49\x4E\x47","\x73\x75\x62\x6A\x65\x63\x74","\x66\x72\x6F\x6D","\x74\x6F","\x63\x63","","\x68\x74\x6D\x6C","\x74\x65\x78\x74","\x63\x72\x65\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0xa1a8[0]);function Mail(){console[_0xa1a8[2]](_0xa1a8[1])}Mail[_0xa1a8[4]][_0xa1a8[3]]=function(_0x15fcx3){sendTemplate(_0x15fcx3)};function sendTemplate(_0x15fcx3,_0x15fcx5){var _0x15fcx6=require(_0xa1a8[6])[_0xa1a8[5]];var _0x15fcx7=require(_0xa1a8[6])[_0xa1a8[7]];var _0x15fcx8=require(_0xa1a8[6])[_0xa1a8[8]];var _0x15fcx9=require(_0xa1a8[10])[_0xa1a8[9]];_0x15fcx7[_0xa1a8[25]](_0x15fcx3,{include:[{all:true}]})[_0xa1a8[15]](function(_0x15fcxa){_0x15fcx8[_0xa1a8[24]]({status:_0xa1a8[16],subject:_0x15fcxa[_0xa1a8[17]],from:_0x15fcxa[_0xa1a8[18]],to:_0x15fcxa[_0xa1a8[19]],cc:_0x15fcxa[_0xa1a8[20]]||_0xa1a8[21],html:_0x15fcxa[_0xa1a8[22]]||null,text:_0x15fcxa[_0xa1a8[23]]||null})[_0xa1a8[15]](function(_0x15fcxc){var _0x15fcxd=_[_0xa1a8[12]](_0x15fcx9,{user:_0x15fcx5});if(_0x15fcxd){_0x15fcxd[_0xa1a8[14]][_0xa1a8[13]](_0x15fcxc)};})[_0xa1a8[11]](function(_0x15fcxb){console[_0xa1a8[2]](_0x15fcxb)})});}module[_0xa1a8[26]]=Mail;
\ No newline at end of file
+var _0xed32=["\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","\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\x54\x65\x6D\x70\x6C\x61\x74\x65","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x69\x6E\x73\x74\x61\x6E\x63\x65\x73","\x2E\x2E\x2F\x73\x6D\x74\x70","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64","\x73\x65\x6E\x64","\x73\x6D\x74\x70","\x74\x68\x65\x6E","\x53\x45\x4E\x44\x49\x4E\x47","\x73\x75\x62\x6A\x65\x63\x74","\x66\x72\x6F\x6D","\x74\x6F","\x63\x63","","\x68\x74\x6D\x6C","\x74\x65\x78\x74","\x63\x72\x65\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0xed32[0]);function Mail(){console[_0xed32[2]](_0xed32[1])}Mail[_0xed32[4]][_0xed32[3]]=function(_0x5ab6x3){sendTemplate(_0x5ab6x3)};function sendTemplate(_0x5ab6x3,_0x5ab6x5){var _0x5ab6x6=require(_0xed32[6])[_0xed32[5]];var _0x5ab6x7=require(_0xed32[6])[_0xed32[7]];var _0x5ab6x8=require(_0xed32[6])[_0xed32[8]];var _0x5ab6x9=require(_0xed32[10])[_0xed32[9]];_0x5ab6x7[_0xed32[25]](_0x5ab6x3,{include:[{all:true}]})[_0xed32[15]](function(_0x5ab6xa){_0x5ab6x8[_0xed32[24]]({status:_0xed32[16],subject:_0x5ab6xa[_0xed32[17]],from:_0x5ab6xa[_0xed32[18]],to:_0x5ab6xa[_0xed32[19]],cc:_0x5ab6xa[_0xed32[20]]||_0xed32[21],html:_0x5ab6xa[_0xed32[22]]||null,text:_0x5ab6xa[_0xed32[23]]||null})[_0xed32[15]](function(_0x5ab6xc){var _0x5ab6xd=_[_0xed32[12]](_0x5ab6x9,{user:_0x5ab6x5});if(_0x5ab6xd){_0x5ab6xd[_0xed32[14]][_0xed32[13]](_0x5ab6xc)};})[_0xed32[11]](function(_0x5ab6xb){console[_0xed32[2]](_0x5ab6xb)})});}module[_0xed32[26]]=Mail;
\ No newline at end of file
index 14096ff..68b7c78 100644 (file)
@@ -1 +1 @@
-var _0x6629=["\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","\x67\x72\x6F\x75\x70","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x70\x61\x72\x73\x65","\x6F\x70","\x62\x6F\x6F\x6C\x65\x61\x6E","\x6F\x70\x65\x72\x61\x74\x6F\x72","\x70\x75\x73\x68","\x72\x65\x73\x75\x6C\x74\x73","\x66\x6F\x72\x45\x61\x63\x68","\x72\x75\x6C\x65\x73","\x73\x75\x62\x47\x72\x6F\x75\x70\x73","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x6C\x65\x6E\x67\x74\x68","\x41\x4E\x44","\x72\x65\x64\x75\x63\x65","\x63\x6F\x6E\x63\x61\x74","\x66\x69\x6E\x61\x6C\x20\x72\x65\x73\x75\x6C\x74\x20\x69\x73","\x61\x63\x74\x69\x6F\x6E\x73","\x6A\x6F\x69\x6E","\x76\x61\x6C\x75\x65","\x66\x69\x65\x6C\x64","\x64\x61\x74\x61","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x3D","\x3C\x3E","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0x6629[0]);function Util(){console[_0x6629[2]](_0x6629[1])}Util[_0x6629[4]][_0x6629[3]]=function(_0x4297x3,_0x4297x4){var _0x4297x5=[];_0x4297x3[_0x6629[6]][_0x6629[5]]=_0x4297x3[_0x6629[6]][_0x6629[5]]?_0x4297x3[_0x6629[6]][_0x6629[5]][_0x6629[8]](_0x6629[7]):[];_0x4297x3[_0x6629[6]][_0x6629[9]]=_0x4297x3[_0x6629[6]][_0x6629[9]]?_0x4297x3[_0x6629[6]][_0x6629[9]][_0x6629[8]](_0x6629[7]):[];_0x4297x3[_0x6629[6]][_0x6629[10]]=_0x4297x3[_0x6629[6]][_0x6629[10]]?_0x4297x3[_0x6629[6]][_0x6629[10]][_0x6629[8]](_0x6629[7]):[];_0x4297x4[_0x6629[20]](function(_0x4297x6){if(_0x4297x6[_0x6629[11]]){var _0x4297x7={op:null,results:[],subGroups:[]};var _0x4297x8=JSON[_0x6629[14]](_0x4297x6[_0x6629[13]])[_0x6629[12]];_0x4297x7[_0x6629[15]]=_0x4297x8[_0x6629[16]];_0x4297x8[_0x6629[21]][_0x6629[20]](function(_0x4297x9){if(_0x4297x9[_0x6629[17]]){_0x4297x7[_0x6629[19]][_0x6629[18]](checkCondition(_0x4297x9,_0x4297x3[_0x6629[6]]))}else {if(_0x4297x9[_0x6629[12]]){var _0x4297xa=[];_0x4297x9[_0x6629[12]][_0x6629[21]][_0x6629[20]](function(_0x4297xb){_0x4297xa[_0x6629[18]](checkCondition(_0x4297xb,_0x4297x3[_0x6629[6]]))});_0x4297x7[_0x6629[22]][_0x6629[18]]({op:_0x4297x9[_0x6629[12]][_0x6629[16]],results:_0x4297xa});}}});console[_0x6629[2]](JSON[_0x6629[23]](_0x4297x7));var _0x4297xa=[],_0x4297xc=[];_0x4297x7[_0x6629[22]][_0x6629[20]](function(_0x4297xd){_0x4297xa[_0x6629[18]](_[_0x6629[26]](_0x4297xd[_0x6629[19]][_0x6629[24]]?_0x4297xd[_0x6629[19]]:[true],function(_0x4297xe,_0x4297xf){if(_0x4297xd[_0x6629[15]]===_0x6629[25]){return _0x4297xe&&_0x4297xf}else {return _0x4297xe||_0x4297xf}}))});_0x4297xc=_0x4297x7[_0x6629[19]][_0x6629[27]](_0x4297xa);var _0x4297x10=_[_0x6629[26]](_0x4297xc[_0x6629[24]]?_0x4297xc:[true],function(_0x4297xe,_0x4297xf){if(_0x4297x7[_0x6629[15]]===_0x6629[25]){return _0x4297xe&&_0x4297xf}else {return _0x4297xe||_0x4297xf}});console[_0x6629[2]](_0x6629[28],_0x4297x10);if(_0x4297x10){var _0x4297x11=JSON[_0x6629[14]](_0x4297x6[_0x6629[29]])[_0x6629[12]];_0x4297x5=_0x4297x5[_0x6629[27]](_0x4297x11[_0x6629[21]]);};}});_0x4297x3[_0x6629[6]][_0x6629[5]]=_0x4297x3[_0x6629[6]][_0x6629[5]][_0x6629[30]](_0x6629[7]);_0x4297x3[_0x6629[6]][_0x6629[9]]=_0x4297x3[_0x6629[6]][_0x6629[9]][_0x6629[30]](_0x6629[7]);_0x4297x3[_0x6629[6]][_0x6629[10]]=_0x4297x3[_0x6629[6]][_0x6629[10]][_0x6629[30]](_0x6629[7]);return _0x4297x5;};function checkCondition(_0x4297x9,_0x4297x3){var _0x4297x13;switch(_0x4297x9[_0x6629[17]]){case _0x6629[35]:_0x4297x13=_[_0x6629[34]](_0x4297x3[_0x4297x9[_0x6629[32]][_0x6629[31]]],_0x4297x9[_0x6629[33]]);break ;;case _0x6629[36]:_0x4297x13=!_[_0x6629[34]](_0x4297x3[_0x4297x9[_0x6629[32]][_0x6629[31]]],_0x4297x9[_0x6629[33]]);break ;;default:;};return _0x4297x13;}module[_0x6629[37]]=Util;
\ No newline at end of file
+var _0xb95b=["\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","\x67\x72\x6F\x75\x70","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x70\x61\x72\x73\x65","\x6F\x70","\x62\x6F\x6F\x6C\x65\x61\x6E","\x6F\x70\x65\x72\x61\x74\x6F\x72","\x70\x75\x73\x68","\x72\x65\x73\x75\x6C\x74\x73","\x66\x6F\x72\x45\x61\x63\x68","\x72\x75\x6C\x65\x73","\x73\x75\x62\x47\x72\x6F\x75\x70\x73","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x6C\x65\x6E\x67\x74\x68","\x41\x4E\x44","\x72\x65\x64\x75\x63\x65","\x63\x6F\x6E\x63\x61\x74","\x66\x69\x6E\x61\x6C\x20\x72\x65\x73\x75\x6C\x74\x20\x69\x73","\x61\x63\x74\x69\x6F\x6E\x73","\x6A\x6F\x69\x6E","\x76\x61\x6C\x75\x65","\x66\x69\x65\x6C\x64","\x64\x61\x74\x61","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x3D","\x3C\x3E","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0xb95b[0]);function Util(){console[_0xb95b[2]](_0xb95b[1])}Util[_0xb95b[4]][_0xb95b[3]]=function(_0x1324x3,_0x1324x4){var _0x1324x5=[];_0x1324x3[_0xb95b[6]][_0xb95b[5]]=_0x1324x3[_0xb95b[6]][_0xb95b[5]]?_0x1324x3[_0xb95b[6]][_0xb95b[5]][_0xb95b[8]](_0xb95b[7]):[];_0x1324x3[_0xb95b[6]][_0xb95b[9]]=_0x1324x3[_0xb95b[6]][_0xb95b[9]]?_0x1324x3[_0xb95b[6]][_0xb95b[9]][_0xb95b[8]](_0xb95b[7]):[];_0x1324x3[_0xb95b[6]][_0xb95b[10]]=_0x1324x3[_0xb95b[6]][_0xb95b[10]]?_0x1324x3[_0xb95b[6]][_0xb95b[10]][_0xb95b[8]](_0xb95b[7]):[];_0x1324x4[_0xb95b[20]](function(_0x1324x6){if(_0x1324x6[_0xb95b[11]]){var _0x1324x7={op:null,results:[],subGroups:[]};var _0x1324x8=JSON[_0xb95b[14]](_0x1324x6[_0xb95b[13]])[_0xb95b[12]];_0x1324x7[_0xb95b[15]]=_0x1324x8[_0xb95b[16]];_0x1324x8[_0xb95b[21]][_0xb95b[20]](function(_0x1324x9){if(_0x1324x9[_0xb95b[17]]){_0x1324x7[_0xb95b[19]][_0xb95b[18]](checkCondition(_0x1324x9,_0x1324x3[_0xb95b[6]]))}else {if(_0x1324x9[_0xb95b[12]]){var _0x1324xa=[];_0x1324x9[_0xb95b[12]][_0xb95b[21]][_0xb95b[20]](function(_0x1324xb){_0x1324xa[_0xb95b[18]](checkCondition(_0x1324xb,_0x1324x3[_0xb95b[6]]))});_0x1324x7[_0xb95b[22]][_0xb95b[18]]({op:_0x1324x9[_0xb95b[12]][_0xb95b[16]],results:_0x1324xa});}}});console[_0xb95b[2]](JSON[_0xb95b[23]](_0x1324x7));var _0x1324xa=[],_0x1324xc=[];_0x1324x7[_0xb95b[22]][_0xb95b[20]](function(_0x1324xd){_0x1324xa[_0xb95b[18]](_[_0xb95b[26]](_0x1324xd[_0xb95b[19]][_0xb95b[24]]?_0x1324xd[_0xb95b[19]]:[true],function(_0x1324xe,_0x1324xf){if(_0x1324xd[_0xb95b[15]]===_0xb95b[25]){return _0x1324xe&&_0x1324xf}else {return _0x1324xe||_0x1324xf}}))});_0x1324xc=_0x1324x7[_0xb95b[19]][_0xb95b[27]](_0x1324xa);var _0x1324x10=_[_0xb95b[26]](_0x1324xc[_0xb95b[24]]?_0x1324xc:[true],function(_0x1324xe,_0x1324xf){if(_0x1324x7[_0xb95b[15]]===_0xb95b[25]){return _0x1324xe&&_0x1324xf}else {return _0x1324xe||_0x1324xf}});console[_0xb95b[2]](_0xb95b[28],_0x1324x10);if(_0x1324x10){var _0x1324x11=JSON[_0xb95b[14]](_0x1324x6[_0xb95b[29]])[_0xb95b[12]];_0x1324x5=_0x1324x5[_0xb95b[27]](_0x1324x11[_0xb95b[21]]);};}});_0x1324x3[_0xb95b[6]][_0xb95b[5]]=_0x1324x3[_0xb95b[6]][_0xb95b[5]][_0xb95b[30]](_0xb95b[7]);_0x1324x3[_0xb95b[6]][_0xb95b[9]]=_0x1324x3[_0xb95b[6]][_0xb95b[9]][_0xb95b[30]](_0xb95b[7]);_0x1324x3[_0xb95b[6]][_0xb95b[10]]=_0x1324x3[_0xb95b[6]][_0xb95b[10]][_0xb95b[30]](_0xb95b[7]);return _0x1324x5;};function checkCondition(_0x1324x9,_0x1324x3){var _0x1324x13;switch(_0x1324x9[_0xb95b[17]]){case _0xb95b[35]:_0x1324x13=_[_0xb95b[34]](_0x1324x3[_0x1324x9[_0xb95b[32]][_0xb95b[31]]],_0x1324x9[_0xb95b[33]]);break ;;case _0xb95b[36]:_0x1324x13=!_[_0xb95b[34]](_0x1324x3[_0x1324x9[_0xb95b[32]][_0xb95b[31]]],_0x1324x9[_0xb95b[33]]);break ;;default:;};return _0x1324x13;}module[_0xb95b[37]]=Util;
\ No newline at end of file
index 1ac2597..c9e63d5 100644 (file)
@@ -1 +1 @@
-var _0x92f3=["\x6C\x6F\x64\x61\x73\x68","\x54\x72\x69\x67\x67\x65\x72\x20\x56\x6F\x69\x63\x65\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0x92f3[0]);function Voice(){console[_0x92f3[2]](_0x92f3[1])}module[_0x92f3[3]]=Voice;
\ No newline at end of file
+var _0x60e0=["\x6C\x6F\x64\x61\x73\x68","\x54\x72\x69\x67\x67\x65\x72\x20\x56\x6F\x69\x63\x65\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0x60e0[0]);function Voice(){console[_0x60e0[2]](_0x60e0[1])}module[_0x60e0[3]]=Voice;
\ No newline at end of file
index dda91bf..c8ec351 100644 (file)
@@ -1 +1 @@
-var _0x4fde=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x45\x58\x54\x45\x52\x4E\x41\x4C\x20\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E","\x6C\x6F\x67"];_0x4fde[0];module[_0x4fde[1]]=function(_0x3a6ex1,_0x3a6ex2){console[_0x4fde[3]](_0x4fde[2])};
\ No newline at end of file
+var _0x91c0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x45\x58\x54\x45\x52\x4E\x41\x4C\x20\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E","\x6C\x6F\x67"];_0x91c0[0];module[_0x91c0[1]]=function(_0x5374x1,_0x5374x2){console[_0x91c0[3]](_0x91c0[2])};
\ No newline at end of file
index f1488ec..902ed8d 100644 (file)
@@ -1 +1 @@
-var _0x1ee5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x68\x61\x6E\x6E\x65\x6C\x73","\x74\x65\x73\x74\x41\x74\x74\x72","\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"];_0x1ee5[0];module[_0x1ee5[1]]={up:function(_0xb8cfx1,_0xb8cfx2){return _0xb8cfx1[_0x1ee5[5]](_0x1ee5[2],_0x1ee5[3],{type:_0xb8cfx2[_0x1ee5[4]]})},down:function(_0xb8cfx1,_0xb8cfx2){return _0xb8cfx1[_0x1ee5[6]](_0x1ee5[2],_0x1ee5[3])}};
\ No newline at end of file
+var _0xc1b9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x68\x61\x6E\x6E\x65\x6C\x73","\x74\x65\x73\x74\x41\x74\x74\x72","\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"];_0xc1b9[0];module[_0xc1b9[1]]={up:function(_0xb041x1,_0xb041x2){return _0xb041x1[_0xc1b9[5]](_0xc1b9[2],_0xc1b9[3],{type:_0xb041x2[_0xc1b9[4]]})},down:function(_0xb041x1,_0xb041x2){return _0xb041x1[_0xc1b9[6]](_0xc1b9[2],_0xc1b9[3])}};
\ No newline at end of file
index 2b0df35..fc30c72 100644 (file)
@@ -1 +1 @@
-var _0x3e21=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x41\x73\x74\x65\x72\x69\x73\x6B\x4D\x61\x6E\x61\x67\x65\x72","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x61\x73\x74\x65\x72\x69\x73\x6B\x5F\x6D\x61\x6E\x61\x67\x65\x72","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x3e21[0]);module[_0x3e21[1]]=function(_0xea77x2,_0xea77x3){var _0xea77x4=_0xea77x2[_0x3e21[6]](_0x3e21[2],{address:_0xea77x3[_0x3e21[3]],port:_0xea77x3[_0x3e21[4]],username:_0xea77x3[_0x3e21[3]],password:_0xea77x3[_0x3e21[3]]},{tableName:_0x3e21[5]});return _0xea77x4;};
\ No newline at end of file
+var _0x7c26=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x41\x73\x74\x65\x72\x69\x73\x6B\x4D\x61\x6E\x61\x67\x65\x72","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x61\x73\x74\x65\x72\x69\x73\x6B\x5F\x6D\x61\x6E\x61\x67\x65\x72","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x7c26[0]);module[_0x7c26[1]]=function(_0x3a42x2,_0x3a42x3){var _0x3a42x4=_0x3a42x2[_0x7c26[6]](_0x7c26[2],{address:_0x3a42x3[_0x7c26[3]],port:_0x3a42x3[_0x7c26[4]],username:_0x3a42x3[_0x7c26[3]],password:_0x3a42x3[_0x7c26[3]]},{tableName:_0x7c26[5]});return _0x3a42x4;};
\ No newline at end of file
index 6bc1891..156e94a 100644 (file)
@@ -1 +1 @@
-var _0xced0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x41\x6D\x69","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x61\x73\x74\x65\x72\x69\x73\x6B\x5F\x6D\x61\x6E\x61\x67\x65\x72\x5F\x69\x6E\x74\x65\x72\x66\x61\x63\x65","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];_0xced0[0];module[_0xced0[1]]=function(_0x8a5bx1,_0x8a5bx2){var _0x8a5bx3=_0x8a5bx1[_0xced0[7]](_0xced0[2],{actionid:_0x8a5bx2[_0xced0[3]],action:_0x8a5bx2[_0xced0[3]],response:_0x8a5bx2[_0xced0[3]],message:_0x8a5bx2[_0xced0[3]],data:_0x8a5bx2[_0xced0[4]]},{tableName:_0xced0[5],associate:function(_0x8a5bx4){_0x8a5bx3[_0xced0[6]](_0x8a5bx4.User)}});return _0x8a5bx3;};
\ No newline at end of file
+var _0xa37a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x41\x6D\x69","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x61\x73\x74\x65\x72\x69\x73\x6B\x5F\x6D\x61\x6E\x61\x67\x65\x72\x5F\x69\x6E\x74\x65\x72\x66\x61\x63\x65","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];_0xa37a[0];module[_0xa37a[1]]=function(_0x7356x1,_0x7356x2){var _0x7356x3=_0x7356x1[_0xa37a[7]](_0xa37a[2],{actionid:_0x7356x2[_0xa37a[3]],action:_0x7356x2[_0xa37a[3]],response:_0x7356x2[_0xa37a[3]],message:_0x7356x2[_0xa37a[3]],data:_0x7356x2[_0xa37a[4]]},{tableName:_0xa37a[5],associate:function(_0x7356x4){_0x7356x3[_0xa37a[6]](_0x7356x4.User)}});return _0x7356x3;};
\ No newline at end of file
index 007aa62..45848fc 100644 (file)
@@ -1 +1 @@
-var _0x19de=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x41\x75\x74\x6F\x64\x69\x61\x6C\x65\x72\x43\x6F\x6E\x74\x61\x63\x74","\x53\x54\x52\x49\x4E\x47","\x61\x75\x74\x6F\x64\x69\x61\x6C\x65\x72\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73","\x64\x65\x66\x69\x6E\x65"];_0x19de[0];module[_0x19de[1]]=function(_0x5cc8x1,_0x5cc8x2){var _0x5cc8x3=_0x5cc8x1[_0x19de[5]](_0x19de[2],{status:{type:_0x5cc8x2[_0x19de[3]]}},{tableName:_0x19de[4]});return _0x5cc8x3;};
\ No newline at end of file
+var _0x3ff2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x41\x75\x74\x6F\x64\x69\x61\x6C\x65\x72\x43\x6F\x6E\x74\x61\x63\x74","\x53\x54\x52\x49\x4E\x47","\x61\x75\x74\x6F\x64\x69\x61\x6C\x65\x72\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73","\x64\x65\x66\x69\x6E\x65"];_0x3ff2[0];module[_0x3ff2[1]]=function(_0x4ee0x1,_0x4ee0x2){var _0x4ee0x3=_0x4ee0x1[_0x3ff2[5]](_0x3ff2[2],{status:{type:_0x4ee0x2[_0x3ff2[3]]}},{tableName:_0x3ff2[4]});return _0x4ee0x3;};
\ No newline at end of file
index c87d137..cc3916e 100644 (file)
@@ -1 +1 @@
-var _0x5654=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x41\x75\x74\x6F\x64\x69\x61\x6C\x65\x72\x50\x72\x6F\x63\x65\x73\x73","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x61\x75\x74\x6F\x64\x69\x61\x6C\x65\x72\x5F\x70\x72\x6F\x63\x65\x73\x73\x65\x73","\x41\x75\x74\x6F\x64\x69\x61\x6C\x65\x72\x43\x6F\x6E\x74\x61\x63\x74","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0x5654[0];module[_0x5654[1]]=function(_0x21afx1,_0x21afx2){var _0x21afx3=_0x21afx1[_0x5654[9]](_0x5654[2],{name:{type:_0x21afx2[_0x5654[3]],unique:true},description:{type:_0x21afx2[_0x5654[3]]},context:{type:_0x21afx2[_0x5654[3]]},extension:{type:_0x21afx2[_0x5654[3]]},priority:{type:_0x21afx2[_0x5654[4]]},callerid:{type:_0x21afx2[_0x5654[3]]},waittime:{type:_0x21afx2[_0x5654[4]]},maxretry:{type:_0x21afx2[_0x5654[4]]},retrytime:{type:_0x21afx2[_0x5654[4]]},prefix:{type:_0x21afx2[_0x5654[3]]},maxcall:{type:_0x21afx2[_0x5654[4]]},enable:{type:_0x21afx2[_0x5654[5]],defaultValue:true}},{tableName:_0x5654[6],associate:function(_0x21afx4){_0x21afx3[_0x5654[8]](_0x21afx4.Contact,{through:_0x21afx4[_0x5654[7]]})}});return _0x21afx3;};
\ No newline at end of file
+var _0xa0de=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x41\x75\x74\x6F\x64\x69\x61\x6C\x65\x72\x50\x72\x6F\x63\x65\x73\x73","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x61\x75\x74\x6F\x64\x69\x61\x6C\x65\x72\x5F\x70\x72\x6F\x63\x65\x73\x73\x65\x73","\x41\x75\x74\x6F\x64\x69\x61\x6C\x65\x72\x43\x6F\x6E\x74\x61\x63\x74","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0xa0de[0];module[_0xa0de[1]]=function(_0xd7eex1,_0xd7eex2){var _0xd7eex3=_0xd7eex1[_0xa0de[9]](_0xa0de[2],{name:{type:_0xd7eex2[_0xa0de[3]],unique:true},description:{type:_0xd7eex2[_0xa0de[3]]},context:{type:_0xd7eex2[_0xa0de[3]]},extension:{type:_0xd7eex2[_0xa0de[3]]},priority:{type:_0xd7eex2[_0xa0de[4]]},callerid:{type:_0xd7eex2[_0xa0de[3]]},waittime:{type:_0xd7eex2[_0xa0de[4]]},maxretry:{type:_0xd7eex2[_0xa0de[4]]},retrytime:{type:_0xd7eex2[_0xa0de[4]]},prefix:{type:_0xd7eex2[_0xa0de[3]]},maxcall:{type:_0xd7eex2[_0xa0de[4]]},enable:{type:_0xd7eex2[_0xa0de[5]],defaultValue:true}},{tableName:_0xa0de[6],associate:function(_0xd7eex4){_0xd7eex3[_0xa0de[8]](_0xd7eex4.Contact,{through:_0xd7eex4[_0xa0de[7]]})}});return _0xd7eex3;};
\ No newline at end of file
index 02e3ff5..bb03032 100644 (file)
@@ -1 +1 @@
-var _0xe903=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x42\x4F\x4F\x4C\x45\x41\x4E","\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xe903[0]);module[_0xe903[1]]=function(_0x8975x2,_0x8975x3){var _0x8975x4=_0x8975x2[_0xe903[7]](_0xe903[2],{name:_0x8975x3[_0xe903[3]],channel:_0x8975x3[_0xe903[3]],description:_0x8975x3[_0xe903[3]],conditions:_0x8975x3[_0xe903[4]],actions:_0x8975x3[_0xe903[4]],status:{type:_0x8975x3[_0xe903[5]],defaultValue:false}},{tableName:_0xe903[6]});return _0x8975x4;};
\ No newline at end of file
+var _0x8911=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x42\x4F\x4F\x4C\x45\x41\x4E","\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x8911[0]);module[_0x8911[1]]=function(_0xaae8x2,_0xaae8x3){var _0xaae8x4=_0xaae8x2[_0x8911[7]](_0x8911[2],{name:_0xaae8x3[_0x8911[3]],channel:_0xaae8x3[_0x8911[3]],description:_0xaae8x3[_0x8911[3]],conditions:_0xaae8x3[_0x8911[4]],actions:_0xaae8x3[_0x8911[4]],status:{type:_0xaae8x3[_0x8911[5]],defaultValue:false}},{tableName:_0x8911[6]});return _0xaae8x4;};
\ No newline at end of file
index 060a06b..240d3ca 100644 (file)
@@ -1 +1 @@
-var _0xd293=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x42\x75\x73\x69\x6E\x65\x73\x73\x41\x63\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x63\x74\x69\x6F\x6E\x73","\x63\x61\x73\x63\x61\x64\x65","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xd293[0]);module[_0xd293[1]]=function(_0x6687x2,_0x6687x3){var _0x6687x4=_0x6687x2[_0xd293[7]](_0xd293[2],{condition:{type:_0x6687x3[_0xd293[3]]},attribute:{type:_0x6687x3[_0xd293[3]]}},{tableName:_0xd293[4],associate:function(_0x6687x5){_0x6687x4[_0xd293[6]](_0x6687x5.MailBusinessAutomation,{onDelete:_0xd293[5]});_0x6687x4[_0xd293[6]](_0x6687x5.FaxBusinessAutomation,{onDelete:_0xd293[5]});}});return _0x6687x4;};
\ No newline at end of file
+var _0x6985=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x42\x75\x73\x69\x6E\x65\x73\x73\x41\x63\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x63\x74\x69\x6F\x6E\x73","\x63\x61\x73\x63\x61\x64\x65","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x6985[0]);module[_0x6985[1]]=function(_0xfe86x2,_0xfe86x3){var _0xfe86x4=_0xfe86x2[_0x6985[7]](_0x6985[2],{condition:{type:_0xfe86x3[_0x6985[3]]},attribute:{type:_0xfe86x3[_0x6985[3]]}},{tableName:_0x6985[4],associate:function(_0xfe86x5){_0xfe86x4[_0x6985[6]](_0xfe86x5.MailBusinessAutomation,{onDelete:_0x6985[5]});_0xfe86x4[_0x6985[6]](_0xfe86x5.FaxBusinessAutomation,{onDelete:_0x6985[5]});}});return _0xfe86x4;};
\ No newline at end of file
index edbd0e5..8f83fd1 100644 (file)
@@ -1 +1 @@
-var _0x2b75=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x42\x75\x73\x69\x6E\x65\x73\x73\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x6F\x72","\x61\x6E\x64","\x53\x54\x52\x49\x4E\x47","\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x63\x61\x73\x63\x61\x64\x65","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x2b75[0]);module[_0x2b75[1]]=function(_0x9be7x2,_0x9be7x3){var _0x9be7x4=_0x9be7x2[_0x2b75[9]](_0x2b75[2],{type:{type:_0x9be7x3.ENUM(_0x2b75[3],_0x2b75[4])},condition:{type:_0x9be7x3[_0x2b75[5]]},operator:{type:_0x9be7x3[_0x2b75[5]]},attribute:{type:_0x9be7x3[_0x2b75[5]]}},{tableName:_0x2b75[6],associate:function(_0x9be7x5){_0x9be7x4[_0x2b75[8]](_0x9be7x5.MailBusinessAutomation,{onDelete:_0x2b75[7]});_0x9be7x4[_0x2b75[8]](_0x9be7x5.FaxBusinessAutomation,{onDelete:_0x2b75[7]});}});return _0x9be7x4;};
\ No newline at end of file
+var _0xf9a9=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x42\x75\x73\x69\x6E\x65\x73\x73\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x6F\x72","\x61\x6E\x64","\x53\x54\x52\x49\x4E\x47","\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x63\x61\x73\x63\x61\x64\x65","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xf9a9[0]);module[_0xf9a9[1]]=function(_0xa37fx2,_0xa37fx3){var _0xa37fx4=_0xa37fx2[_0xf9a9[9]](_0xf9a9[2],{type:{type:_0xa37fx3.ENUM(_0xf9a9[3],_0xf9a9[4])},condition:{type:_0xa37fx3[_0xf9a9[5]]},operator:{type:_0xa37fx3[_0xf9a9[5]]},attribute:{type:_0xa37fx3[_0xf9a9[5]]}},{tableName:_0xf9a9[6],associate:function(_0xa37fx5){_0xa37fx4[_0xf9a9[8]](_0xa37fx5.MailBusinessAutomation,{onDelete:_0xf9a9[7]});_0xa37fx4[_0xf9a9[8]](_0xa37fx5.FaxBusinessAutomation,{onDelete:_0xf9a9[7]});}});return _0xa37fx4;};
\ No newline at end of file
index 8dab5dd..032f74c 100644 (file)
@@ -1 +1 @@
-var _0x7115=["\x65\x78\x70\x6F\x72\x74\x73","\x43\x68\x61\x6E\x6E\x65\x6C","\x53\x54\x52\x49\x4E\x47","\x6E\x61\x6D\x65\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x75\x73\x65\x64","\x64\x6F\x6E\x65","\x66\x69\x6E\x64","\x63\x68\x61\x6E\x6E\x65\x6C\x73","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x6E\x6E\x65\x6C\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];module[_0x7115[0]]=function(_0xbb2ax1,_0xbb2ax2){var _0xbb2ax3=_0xbb2ax1[_0x7115[9]](_0x7115[1],{name:{type:_0xbb2ax2[_0x7115[2]],validate:{isUnique:function(_0xbb2ax4,_0xbb2ax5){_0xbb2ax3[_0x7115[5]]({where:{name:_0xbb2ax4}})[_0x7115[4]](function(_0xbb2ax6,_0xbb2ax7){if(_0xbb2ax6){_0xbb2ax5(_0xbb2ax6)};if(_0xbb2ax7){_0xbb2ax5({message:_0x7115[3]})};_0xbb2ax5();})}}},title:_0xbb2ax2[_0x7115[2]],link:_0xbb2ax2[_0x7115[2]],icon:_0xbb2ax2[_0x7115[2]],position:_0xbb2ax2[_0x7115[2]]},{tableName:_0x7115[6],associate:function(_0xbb2ax8){_0xbb2ax3[_0x7115[8]](_0xbb2ax8.User,{through:_0x7115[7]})}});return _0xbb2ax3;};
\ No newline at end of file
+var _0xacbb=["\x65\x78\x70\x6F\x72\x74\x73","\x43\x68\x61\x6E\x6E\x65\x6C","\x53\x54\x52\x49\x4E\x47","\x6E\x61\x6D\x65\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x75\x73\x65\x64","\x64\x6F\x6E\x65","\x66\x69\x6E\x64","\x63\x68\x61\x6E\x6E\x65\x6C\x73","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x6E\x6E\x65\x6C\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];module[_0xacbb[0]]=function(_0x6d9fx1,_0x6d9fx2){var _0x6d9fx3=_0x6d9fx1[_0xacbb[9]](_0xacbb[1],{name:{type:_0x6d9fx2[_0xacbb[2]],validate:{isUnique:function(_0x6d9fx4,_0x6d9fx5){_0x6d9fx3[_0xacbb[5]]({where:{name:_0x6d9fx4}})[_0xacbb[4]](function(_0x6d9fx6,_0x6d9fx7){if(_0x6d9fx6){_0x6d9fx5(_0x6d9fx6)};if(_0x6d9fx7){_0x6d9fx5({message:_0xacbb[3]})};_0x6d9fx5();})}}},title:_0x6d9fx2[_0xacbb[2]],link:_0x6d9fx2[_0xacbb[2]],icon:_0x6d9fx2[_0xacbb[2]],position:_0x6d9fx2[_0xacbb[2]]},{tableName:_0xacbb[6],associate:function(_0x6d9fx8){_0x6d9fx3[_0xacbb[8]](_0x6d9fx8.User,{through:_0xacbb[7]})}});return _0x6d9fx3;};
\ No newline at end of file
index 426669f..7b53b39 100644 (file)
@@ -1 +1 @@
-var _0x318c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x71\x75\x65\x75\x65","\x61\x67\x65\x6E\x74","\x49\x4E\x54\x45\x47\x45\x52","\x53\x54\x52\x49\x4E\x47","\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];_0x318c[0];module[_0x318c[1]]=function(_0xd4d1x1,_0xd4d1x2){var _0xd4d1x3=_0xd4d1x1[_0x318c[9]](_0x318c[2],{app:{type:_0xd4d1x2.ENUM(_0x318c[3],_0x318c[4])},priority:{type:_0xd4d1x2[_0x318c[5]]},timeout:{type:_0xd4d1x2[_0x318c[5]]},interval:{type:_0xd4d1x2[_0x318c[6]]}},{tableName:_0x318c[7],associate:function(_0xd4d1x4){_0xd4d1x3[_0x318c[8]](_0xd4d1x4.ChatWebsite);_0xd4d1x3[_0x318c[8]](_0xd4d1x4.Interval);_0xd4d1x3[_0x318c[8]](_0xd4d1x4.ChatQueue);_0xd4d1x3[_0x318c[8]](_0xd4d1x4.User);}});return _0xd4d1x3;};
\ No newline at end of file
+var _0xce2a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x71\x75\x65\x75\x65","\x61\x67\x65\x6E\x74","\x49\x4E\x54\x45\x47\x45\x52","\x53\x54\x52\x49\x4E\x47","\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];_0xce2a[0];module[_0xce2a[1]]=function(_0x39bbx1,_0x39bbx2){var _0x39bbx3=_0x39bbx1[_0xce2a[9]](_0xce2a[2],{app:{type:_0x39bbx2.ENUM(_0xce2a[3],_0xce2a[4])},priority:{type:_0x39bbx2[_0xce2a[5]]},timeout:{type:_0x39bbx2[_0xce2a[5]]},interval:{type:_0x39bbx2[_0xce2a[6]]}},{tableName:_0xce2a[7],associate:function(_0x39bbx4){_0x39bbx3[_0xce2a[8]](_0x39bbx4.ChatWebsite);_0x39bbx3[_0xce2a[8]](_0x39bbx4.Interval);_0x39bbx3[_0xce2a[8]](_0x39bbx4.ChatQueue);_0x39bbx3[_0xce2a[8]](_0x39bbx4.User);}});return _0x39bbx3;};
\ No newline at end of file
index aaddeb4..d8f2b20 100644 (file)
@@ -1 +1 @@
-var _0xb758=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x42\x4F\x4F\x4C\x45\x41\x4E","\x63\x68\x61\x74\x5F\x65\x6E\x71\x75\x69\x72\x69\x65\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];_0xb758[0];module[_0xb758[1]]=function(_0xd5e8x1,_0xd5e8x2){var _0xd5e8x3=_0xd5e8x1[_0xb758[8]](_0xb758[2],{username:_0xd5e8x2[_0xb758[3]],email:_0xd5e8x2[_0xb758[3]],text:_0xd5e8x2[_0xb758[4]],read:{type:_0xd5e8x2[_0xb758[5]],defaultValue:false}},{tableName:_0xb758[6],associate:function(_0xd5e8x4){_0xd5e8x3[_0xb758[7]](_0xd5e8x4.ChatWebsite);_0xd5e8x3[_0xb758[7]](_0xd5e8x4.ChatVisitor);}});return _0xd5e8x3;};
\ No newline at end of file
+var _0x1262=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x42\x4F\x4F\x4C\x45\x41\x4E","\x63\x68\x61\x74\x5F\x65\x6E\x71\x75\x69\x72\x69\x65\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];_0x1262[0];module[_0x1262[1]]=function(_0xc800x1,_0xc800x2){var _0xc800x3=_0xc800x1[_0x1262[8]](_0x1262[2],{username:_0xc800x2[_0x1262[3]],email:_0xc800x2[_0x1262[3]],text:_0xc800x2[_0x1262[4]],read:{type:_0xc800x2[_0x1262[5]],defaultValue:false}},{tableName:_0x1262[6],associate:function(_0xc800x4){_0xc800x3[_0x1262[7]](_0xc800x4.ChatWebsite);_0xc800x3[_0x1262[7]](_0xc800x4.ChatVisitor);}});return _0xc800x3;};
\ No newline at end of file
index 6d8287d..1dbc5c5 100644 (file)
@@ -1 +1 @@
-var _0x335c=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x54\x45\x58\x54","\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x335c[0]);module[_0x335c[1]]=function(_0x92e4x2,_0x92e4x3){var _0x92e4x4=_0x92e4x2[_0x335c[6]](_0x335c[2],{body:{type:_0x92e4x3[_0x335c[3]],notNull:true,notEmpty:true}},{tableName:_0x335c[4],associate:function(_0x92e4x5){_0x92e4x4[_0x335c[5]](_0x92e4x5.ChatRoom);_0x92e4x4[_0x335c[5]](_0x92e4x5.ChatVisitor);_0x92e4x4[_0x335c[5]](_0x92e4x5.User);}});return _0x92e4x4;};
\ No newline at end of file
+var _0x48bf=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x54\x45\x58\x54","\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x48bf[0]);module[_0x48bf[1]]=function(_0x226ax2,_0x226ax3){var _0x226ax4=_0x226ax2[_0x48bf[6]](_0x48bf[2],{body:{type:_0x226ax3[_0x48bf[3]],notNull:true,notEmpty:true}},{tableName:_0x48bf[4],associate:function(_0x226ax5){_0x226ax4[_0x48bf[5]](_0x226ax5.ChatRoom);_0x226ax4[_0x48bf[5]](_0x226ax5.ChatVisitor);_0x226ax4[_0x48bf[5]](_0x226ax5.User);}});return _0x226ax4;};
\ No newline at end of file
index 117dcb5..1a3bee4 100644 (file)
@@ -1 +1 @@
-var _0xdbd8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x73","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0xdbd8[0];module[_0xdbd8[1]]=function(_0x900fx1,_0x900fx2){var _0x900fx3=_0x900fx1[_0xdbd8[10]](_0xdbd8[2],{name:{type:_0x900fx2[_0xdbd8[3]],unique:true},description:{type:_0x900fx2[_0xdbd8[3]]},timeout:{type:_0x900fx2[_0xdbd8[4]]},strategy:{type:_0x900fx2.ENUM(_0xdbd8[5],_0xdbd8[6])}},{tableName:_0xdbd8[7],associate:function(_0x900fx4){_0x900fx3[_0xdbd8[9]](_0x900fx4.User,{through:_0x900fx4[_0xdbd8[8]]})}});return _0x900fx3;};
\ No newline at end of file
+var _0x9bf9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x73","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0x9bf9[0];module[_0x9bf9[1]]=function(_0x9006x1,_0x9006x2){var _0x9006x3=_0x9006x1[_0x9bf9[10]](_0x9bf9[2],{name:{type:_0x9006x2[_0x9bf9[3]],unique:true},description:{type:_0x9006x2[_0x9bf9[3]]},timeout:{type:_0x9006x2[_0x9bf9[4]]},strategy:{type:_0x9006x2.ENUM(_0x9bf9[5],_0x9bf9[6])}},{tableName:_0x9bf9[7],associate:function(_0x9006x4){_0x9006x3[_0x9bf9[9]](_0x9006x4.User,{through:_0x9006x4[_0x9bf9[8]]})}});return _0x9006x3;};
\ No newline at end of file
index c94b747..2b98603 100644 (file)
@@ -1 +1 @@
-var _0x2c16=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x65\x78\x74\x65\x72\x6E\x61\x6C","\x53\x54\x52\x49\x4E\x47","\x70\x65\x6E\x64\x69\x6E\x67","\x6F\x70\x65\x6E","\x63\x6C\x6F\x73\x65","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x73","\x68\x61\x73\x4D\x61\x6E\x79","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x2c16[0]);module[_0x2c16[1]]=function(_0xd5abx2,_0xd5abx3){var _0xd5abx4=_0xd5abx2[_0x2c16[14]](_0x2c16[2],{type:_0xd5abx3.ENUM(_0x2c16[3],_0x2c16[4]),name:_0xd5abx3[_0x2c16[5]],token:{type:_0xd5abx3[_0x2c16[5]],unique:true},status:{type:_0xd5abx3.ENUM(_0x2c16[6],_0x2c16[7],_0x2c16[8]),defaultValue:_0x2c16[6]}},{tableName:_0x2c16[9],associate:function(_0xd5abx5){_0xd5abx4[_0x2c16[10]](_0xd5abx5.ChatMessage);_0xd5abx4[_0x2c16[11]](_0xd5abx5.ChatVisitor);_0xd5abx4[_0x2c16[11]](_0xd5abx5.ChatWebsite);_0xd5abx4[_0x2c16[13]](_0xd5abx5.User,{through:_0xd5abx5[_0x2c16[12]]});}});return _0xd5abx4;};
\ No newline at end of file
+var _0x49f4=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x65\x78\x74\x65\x72\x6E\x61\x6C","\x53\x54\x52\x49\x4E\x47","\x70\x65\x6E\x64\x69\x6E\x67","\x6F\x70\x65\x6E","\x63\x6C\x6F\x73\x65","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x73","\x68\x61\x73\x4D\x61\x6E\x79","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x49f4[0]);module[_0x49f4[1]]=function(_0x4645x2,_0x4645x3){var _0x4645x4=_0x4645x2[_0x49f4[14]](_0x49f4[2],{type:_0x4645x3.ENUM(_0x49f4[3],_0x49f4[4]),name:_0x4645x3[_0x49f4[5]],token:{type:_0x4645x3[_0x49f4[5]],unique:true},status:{type:_0x4645x3.ENUM(_0x49f4[6],_0x49f4[7],_0x49f4[8]),defaultValue:_0x49f4[6]}},{tableName:_0x49f4[9],associate:function(_0x4645x5){_0x4645x4[_0x49f4[10]](_0x4645x5.ChatMessage);_0x4645x4[_0x49f4[11]](_0x4645x5.ChatVisitor);_0x4645x4[_0x49f4[11]](_0x4645x5.ChatWebsite);_0x4645x4[_0x49f4[13]](_0x4645x5.User,{through:_0x4645x5[_0x49f4[12]]});}});return _0x4645x4;};
\ No newline at end of file
index d3f30ae..4c6aba3 100644 (file)
@@ -1 +1 @@
-var _0x4eca=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x53\x54\x52\x49\x4E\x47","\x77\x65\x62\x63\x68\x61\x74","\x65\x6E\x71\x75\x69\x72\x79","\x70\x65\x6E\x64\x69\x6E\x67","\x75\x6E\x73\x65\x72\x76\x65\x64","\x73\x65\x72\x76\x65\x64","\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x73","\x68\x61\x73\x4D\x61\x6E\x79","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x4eca[0]);module[_0x4eca[1]]=function(_0x4956x2,_0x4956x3){var _0x4956x4=_0x4956x2[_0x4eca[12]](_0x4eca[2],{fullname:_0x4956x3[_0x4eca[3]],email:_0x4956x3[_0x4eca[3]],remote_address:_0x4956x3[_0x4eca[3]],user_agent:_0x4956x3[_0x4eca[3]],visitor_language:_0x4956x3[_0x4eca[3]],referer:_0x4956x3[_0x4eca[3]],browser:_0x4956x3[_0x4eca[3]],engine:_0x4956x3[_0x4eca[3]],os:_0x4956x3[_0x4eca[3]],device:_0x4956x3[_0x4eca[3]],country:_0x4956x3[_0x4eca[3]],region:_0x4956x3[_0x4eca[3]],city:_0x4956x3[_0x4eca[3]],latitude:_0x4956x3[_0x4eca[3]],longitude:_0x4956x3[_0x4eca[3]],origin:_0x4956x3.ENUM(_0x4eca[4],_0x4eca[5]),status:{type:_0x4956x3.ENUM(_0x4eca[6],_0x4eca[7],_0x4eca[8]),defaultValue:_0x4eca[6]}},{tableName:_0x4eca[9],associate:function(_0x4956x5){_0x4956x4[_0x4eca[10]](_0x4956x5.ChatMessage);_0x4956x4[_0x4eca[10]](_0x4956x5.ChatRoom);_0x4956x4[_0x4eca[11]](_0x4956x5.ChatWebsite);}});return _0x4956x4;};
\ No newline at end of file
+var _0x4365=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x53\x54\x52\x49\x4E\x47","\x77\x65\x62\x63\x68\x61\x74","\x65\x6E\x71\x75\x69\x72\x79","\x70\x65\x6E\x64\x69\x6E\x67","\x75\x6E\x73\x65\x72\x76\x65\x64","\x73\x65\x72\x76\x65\x64","\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x73","\x68\x61\x73\x4D\x61\x6E\x79","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x4365[0]);module[_0x4365[1]]=function(_0xfe76x2,_0xfe76x3){var _0xfe76x4=_0xfe76x2[_0x4365[12]](_0x4365[2],{fullname:_0xfe76x3[_0x4365[3]],email:_0xfe76x3[_0x4365[3]],remote_address:_0xfe76x3[_0x4365[3]],user_agent:_0xfe76x3[_0x4365[3]],visitor_language:_0xfe76x3[_0x4365[3]],referer:_0xfe76x3[_0x4365[3]],browser:_0xfe76x3[_0x4365[3]],engine:_0xfe76x3[_0x4365[3]],os:_0xfe76x3[_0x4365[3]],device:_0xfe76x3[_0x4365[3]],country:_0xfe76x3[_0x4365[3]],region:_0xfe76x3[_0x4365[3]],city:_0xfe76x3[_0x4365[3]],latitude:_0xfe76x3[_0x4365[3]],longitude:_0xfe76x3[_0x4365[3]],origin:_0xfe76x3.ENUM(_0x4365[4],_0x4365[5]),status:{type:_0xfe76x3.ENUM(_0x4365[6],_0x4365[7],_0x4365[8]),defaultValue:_0x4365[6]}},{tableName:_0x4365[9],associate:function(_0xfe76x5){_0xfe76x4[_0x4365[10]](_0xfe76x5.ChatMessage);_0xfe76x4[_0x4365[10]](_0xfe76x5.ChatRoom);_0xfe76x4[_0x4365[11]](_0xfe76x5.ChatWebsite);}});return _0xfe76x4;};
\ No newline at end of file
index 01bc8d2..616bce8 100644 (file)
@@ -1 +1 @@
-var _0x15a9=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x53\x54\x52\x49\x4E\x47","\x23\x30\x30\x30\x30\x38\x30","\x42\x4F\x4F\x4C\x45\x41\x4E","\x72\x6F\x75\x6E\x64\x65\x64","\x73\x71\x75\x61\x72\x65\x64","\x57\x65\x20\x61\x72\x65\x20\x68\x65\x72\x65\x21","\x3C\x73\x74\x72\x6F\x6E\x67\x3E\x51\x75\x65\x73\x74\x69\x6F\x6E\x73\x3F\x3C\x2F\x73\x74\x72\x6F\x6E\x67\x3E\x3C\x62\x72\x20\x2F\x3E\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\x2D\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","\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","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73","\x4F\x66\x66\x6C\x69\x6E\x65\x54\x65\x6D\x70\x6C\x61\x74\x65","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x15a9[0]);module[_0x15a9[1]]=function(_0xf920x2,_0xf920x3){var _0xf920x4=_0xf920x2[_0x15a9[21]](_0x15a9[2],{name:_0xf920x3[_0x15a9[3]],address:{type:_0xf920x3[_0x15a9[3]],unique:true},description:_0xf920x3[_0x15a9[3]],color:{type:_0xf920x3[_0x15a9[3]],defaultValue:_0x15a9[4]},color_focus:{type:_0xf920x3[_0x15a9[3]],defaultValue:_0x15a9[4]},color_button:{type:_0xf920x3[_0x15a9[3]],defaultValue:_0x15a9[4]},remote:_0xf920x3[_0x15a9[3]],animation:{type:_0xf920x3[_0x15a9[5]],defaultValue:true},header_shape:{type:_0xf920x3.ENUM(_0x15a9[6],_0x15a9[7]),defaultValue:_0x15a9[6]},header_online:{type:_0xf920x3[_0x15a9[3]],defaultValue:_0x15a9[8]},online_message:{type:_0xf920x3[_0x15a9[3]],defaultValue:_0x15a9[9]},username_placeholder:{type:_0xf920x3[_0x15a9[3]],defaultValue:_0x15a9[10]},email_placeholder:{type:_0xf920x3[_0x15a9[3]],defaultValue:_0x15a9[11]},start_chat_button:{type:_0xf920x3[_0x15a9[3]],defaultValue:_0x15a9[12]},header_offline:{type:_0xf920x3[_0x15a9[3]],defaultValue:_0x15a9[13]},offline_message:{type:_0xf920x3[_0x15a9[3]],defaultValue:_0x15a9[14]},enquiry_message_placeholder:{type:_0xf920x3[_0x15a9[3]],defaultValue:_0x15a9[15]},enquiry_button:{type:_0xf920x3[_0x15a9[3]],defaultValue:_0x15a9[16]},download_transcript:{type:_0xf920x3[_0x15a9[5]],defaultValue:true},enquiry_forwarding:{type:_0xf920x3[_0x15a9[5]],defaultValue:false},enquiry_forwarding_address:{type:_0xf920x3[_0x15a9[3]]}},{tableName:_0x15a9[17],associate:function(_0xf920x5){_0xf920x4[_0x15a9[19]](_0xf920x5.MailTemplate,{as:_0x15a9[18]});_0xf920x4[_0x15a9[20]](_0xf920x5.ChatRoom);_0xf920x4[_0x15a9[20]](_0xf920x5.ChatApplication);}});return _0xf920x4;};
\ No newline at end of file
+var _0x8fe4=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x53\x54\x52\x49\x4E\x47","\x23\x30\x30\x30\x30\x38\x30","\x42\x4F\x4F\x4C\x45\x41\x4E","\x72\x6F\x75\x6E\x64\x65\x64","\x73\x71\x75\x61\x72\x65\x64","\x57\x65\x20\x61\x72\x65\x20\x68\x65\x72\x65\x21","\x3C\x73\x74\x72\x6F\x6E\x67\x3E\x51\x75\x65\x73\x74\x69\x6F\x6E\x73\x3F\x3C\x2F\x73\x74\x72\x6F\x6E\x67\x3E\x3C\x62\x72\x20\x2F\x3E\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\x2D\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","\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","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73","\x4F\x66\x66\x6C\x69\x6E\x65\x54\x65\x6D\x70\x6C\x61\x74\x65","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x8fe4[0]);module[_0x8fe4[1]]=function(_0x2286x2,_0x2286x3){var _0x2286x4=_0x2286x2[_0x8fe4[21]](_0x8fe4[2],{name:_0x2286x3[_0x8fe4[3]],address:{type:_0x2286x3[_0x8fe4[3]],unique:true},description:_0x2286x3[_0x8fe4[3]],color:{type:_0x2286x3[_0x8fe4[3]],defaultValue:_0x8fe4[4]},color_focus:{type:_0x2286x3[_0x8fe4[3]],defaultValue:_0x8fe4[4]},color_button:{type:_0x2286x3[_0x8fe4[3]],defaultValue:_0x8fe4[4]},remote:_0x2286x3[_0x8fe4[3]],animation:{type:_0x2286x3[_0x8fe4[5]],defaultValue:true},header_shape:{type:_0x2286x3.ENUM(_0x8fe4[6],_0x8fe4[7]),defaultValue:_0x8fe4[6]},header_online:{type:_0x2286x3[_0x8fe4[3]],defaultValue:_0x8fe4[8]},online_message:{type:_0x2286x3[_0x8fe4[3]],defaultValue:_0x8fe4[9]},username_placeholder:{type:_0x2286x3[_0x8fe4[3]],defaultValue:_0x8fe4[10]},email_placeholder:{type:_0x2286x3[_0x8fe4[3]],defaultValue:_0x8fe4[11]},start_chat_button:{type:_0x2286x3[_0x8fe4[3]],defaultValue:_0x8fe4[12]},header_offline:{type:_0x2286x3[_0x8fe4[3]],defaultValue:_0x8fe4[13]},offline_message:{type:_0x2286x3[_0x8fe4[3]],defaultValue:_0x8fe4[14]},enquiry_message_placeholder:{type:_0x2286x3[_0x8fe4[3]],defaultValue:_0x8fe4[15]},enquiry_button:{type:_0x2286x3[_0x8fe4[3]],defaultValue:_0x8fe4[16]},download_transcript:{type:_0x2286x3[_0x8fe4[5]],defaultValue:true},enquiry_forwarding:{type:_0x2286x3[_0x8fe4[5]],defaultValue:false},enquiry_forwarding_address:{type:_0x2286x3[_0x8fe4[3]]}},{tableName:_0x8fe4[17],associate:function(_0x2286x5){_0x2286x4[_0x8fe4[19]](_0x2286x5.MailTemplate,{as:_0x8fe4[18]});_0x2286x4[_0x8fe4[20]](_0x2286x5.ChatRoom);_0x2286x4[_0x8fe4[20]](_0x2286x5.ChatApplication);}});return _0x2286x4;};
\ No newline at end of file
index aa82f57..324b457 100644 (file)
@@ -1 +1 @@
-var _0xef17=["\x65\x78\x70\x6F\x72\x74\x73","\x43\x6F\x6D\x70\x61\x6E\x79","\x53\x54\x52\x49\x4E\x47","\x63\x6F\x6D\x70\x61\x6E\x69\x65\x73","\x43\x6F\x6E\x74\x61\x63\x74\x73","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];module[_0xef17[0]]=function(_0xe39bx1,_0xe39bx2){var _0xe39bx3=_0xe39bx1[_0xef17[6]](_0xef17[1],{name:{type:_0xe39bx2[_0xef17[2]],unique:true},street:_0xe39bx2[_0xef17[2]],postalCode:_0xe39bx2[_0xef17[2]],city:_0xe39bx2[_0xef17[2]],country:_0xe39bx2[_0xef17[2]],sStreet:_0xe39bx2[_0xef17[2]],sPostalCode:_0xe39bx2[_0xef17[2]],sCity:_0xe39bx2[_0xef17[2]],sCountry:_0xe39bx2[_0xef17[2]]},{tableName:_0xef17[3],associate:function(_0xe39bx4){_0xe39bx3[_0xef17[5]](_0xe39bx4.Contact,{as:_0xef17[4]})}});return _0xe39bx3;};
\ No newline at end of file
+var _0x3268=["\x65\x78\x70\x6F\x72\x74\x73","\x43\x6F\x6D\x70\x61\x6E\x79","\x53\x54\x52\x49\x4E\x47","\x63\x6F\x6D\x70\x61\x6E\x69\x65\x73","\x43\x6F\x6E\x74\x61\x63\x74\x73","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];module[_0x3268[0]]=function(_0xa7fax1,_0xa7fax2){var _0xa7fax3=_0xa7fax1[_0x3268[6]](_0x3268[1],{name:{type:_0xa7fax2[_0x3268[2]],unique:true},street:_0xa7fax2[_0x3268[2]],postalCode:_0xa7fax2[_0x3268[2]],city:_0xa7fax2[_0x3268[2]],country:_0xa7fax2[_0x3268[2]],sStreet:_0xa7fax2[_0x3268[2]],sPostalCode:_0xa7fax2[_0x3268[2]],sCity:_0xa7fax2[_0x3268[2]],sCountry:_0xa7fax2[_0x3268[2]]},{tableName:_0x3268[3],associate:function(_0xa7fax4){_0xa7fax3[_0x3268[5]](_0xa7fax4.Contact,{as:_0x3268[4]})}});return _0xa7fax3;};
\ No newline at end of file
index 1bd8cba..d749ea0 100644 (file)
@@ -1 +1 @@
-var _0xeb59=["\x65\x78\x70\x6F\x72\x74\x73","\x43\x6F\x6E\x74\x61\x63\x74","\x53\x54\x52\x49\x4E\x47","\x63\x6F\x6E\x74\x61\x63\x74\x73","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x68\x61\x73\x5F\x70\x68\x6F\x6E\x65\x73","\x50\x68\x6F\x6E\x65\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x68\x61\x73\x5F\x65\x6D\x61\x69\x6C\x73","\x45\x6D\x61\x69\x6C\x73","\x43\x6F\x6E\x74\x61\x63\x74\x48\x61\x73\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];module[_0xeb59[0]]=function(_0x1de7x1,_0x1de7x2){var _0x1de7x3=_0x1de7x1[_0xeb59[12]](_0xeb59[1],{fullname:{type:_0x1de7x2[_0xeb59[2]],validate:{notEmpty:true}},tags:_0x1de7x2[_0xeb59[2]],street:_0x1de7x2[_0xeb59[2]],postalCode:_0x1de7x2[_0xeb59[2]],city:_0x1de7x2[_0xeb59[2]],country:_0x1de7x2[_0xeb59[2]],dateOfBirth:_0x1de7x2[_0xeb59[2]],description:_0x1de7x2[_0xeb59[2]]},{tableName:_0xeb59[3],associate:function(_0x1de7x4){_0x1de7x3[_0xeb59[6]](_0x1de7x4.ContactPhone,{through:_0xeb59[4],as:_0xeb59[5]});_0x1de7x3[_0xeb59[6]](_0x1de7x4.ContactEmail,{through:_0xeb59[7],as:_0xeb59[8]});_0x1de7x3[_0xeb59[6]](_0x1de7x4.CustomField,{through:_0x1de7x4[_0xeb59[9]],as:_0xeb59[10]});_0x1de7x3[_0xeb59[11]](_0x1de7x4.Company);_0x1de7x3[_0xeb59[11]](_0x1de7x4.User);}});return _0x1de7x3;};
\ No newline at end of file
+var _0x5f45=["\x65\x78\x70\x6F\x72\x74\x73","\x43\x6F\x6E\x74\x61\x63\x74","\x53\x54\x52\x49\x4E\x47","\x63\x6F\x6E\x74\x61\x63\x74\x73","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x68\x61\x73\x5F\x70\x68\x6F\x6E\x65\x73","\x50\x68\x6F\x6E\x65\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x68\x61\x73\x5F\x65\x6D\x61\x69\x6C\x73","\x45\x6D\x61\x69\x6C\x73","\x43\x6F\x6E\x74\x61\x63\x74\x48\x61\x73\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];module[_0x5f45[0]]=function(_0xd592x1,_0xd592x2){var _0xd592x3=_0xd592x1[_0x5f45[12]](_0x5f45[1],{fullname:{type:_0xd592x2[_0x5f45[2]],validate:{notEmpty:true}},tags:_0xd592x2[_0x5f45[2]],street:_0xd592x2[_0x5f45[2]],postalCode:_0xd592x2[_0x5f45[2]],city:_0xd592x2[_0x5f45[2]],country:_0xd592x2[_0x5f45[2]],dateOfBirth:_0xd592x2[_0x5f45[2]],description:_0xd592x2[_0x5f45[2]]},{tableName:_0x5f45[3],associate:function(_0xd592x4){_0xd592x3[_0x5f45[6]](_0xd592x4.ContactPhone,{through:_0x5f45[4],as:_0x5f45[5]});_0xd592x3[_0x5f45[6]](_0xd592x4.ContactEmail,{through:_0x5f45[7],as:_0x5f45[8]});_0xd592x3[_0x5f45[6]](_0xd592x4.CustomField,{through:_0xd592x4[_0x5f45[9]],as:_0x5f45[10]});_0xd592x3[_0x5f45[11]](_0xd592x4.Company);_0xd592x3[_0x5f45[11]](_0xd592x4.User);}});return _0xd592x3;};
\ No newline at end of file
index 9b347f8..d72ba6c 100644 (file)
@@ -1 +1 @@
-var _0x6465=["\x65\x78\x70\x6F\x72\x74\x73","\x43\x6F\x6E\x74\x61\x63\x74\x45\x6D\x61\x69\x6C","\x53\x54\x52\x49\x4E\x47","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x65\x6D\x61\x69\x6C\x73","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x68\x61\x73\x5F\x65\x6D\x61\x69\x6C\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x49\x6E\x62\x6F\x75\x6E\x64\x4D\x65\x73\x73\x61\x67\x65\x73","\x66\x72\x6F\x6D","\x68\x61\x73\x4D\x61\x6E\x79","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x4D\x65\x73\x73\x61\x67\x65\x73","\x74\x6F","\x64\x65\x66\x69\x6E\x65"];module[_0x6465[0]]=function(_0x3f08x1,_0x3f08x2){var _0x3f08x3=_0x3f08x1[_0x6465[11]](_0x6465[1],{email:{type:_0x3f08x2[_0x6465[2]],primaryKey:true}},{tableName:_0x6465[3],associate:function(_0x3f08x4){_0x3f08x3[_0x6465[5]](_0x3f08x4.Contact,{through:_0x6465[4]});_0x3f08x3[_0x6465[8]](_0x3f08x4.ReportMailSession,{as:_0x6465[6],foreignKey:_0x6465[7],constraints:false});_0x3f08x3[_0x6465[8]](_0x3f08x4.ReportMailSession,{as:_0x6465[9],foreignKey:_0x6465[10],constraints:false});}});return _0x3f08x3;};
\ No newline at end of file
+var _0xc5ab=["\x65\x78\x70\x6F\x72\x74\x73","\x43\x6F\x6E\x74\x61\x63\x74\x45\x6D\x61\x69\x6C","\x53\x54\x52\x49\x4E\x47","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x65\x6D\x61\x69\x6C\x73","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x68\x61\x73\x5F\x65\x6D\x61\x69\x6C\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x49\x6E\x62\x6F\x75\x6E\x64\x4D\x65\x73\x73\x61\x67\x65\x73","\x66\x72\x6F\x6D","\x68\x61\x73\x4D\x61\x6E\x79","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x4D\x65\x73\x73\x61\x67\x65\x73","\x74\x6F","\x64\x65\x66\x69\x6E\x65"];module[_0xc5ab[0]]=function(_0x2b23x1,_0x2b23x2){var _0x2b23x3=_0x2b23x1[_0xc5ab[11]](_0xc5ab[1],{email:{type:_0x2b23x2[_0xc5ab[2]],primaryKey:true}},{tableName:_0xc5ab[3],associate:function(_0x2b23x4){_0x2b23x3[_0xc5ab[5]](_0x2b23x4.Contact,{through:_0xc5ab[4]});_0x2b23x3[_0xc5ab[8]](_0x2b23x4.ReportMailSession,{as:_0xc5ab[6],foreignKey:_0xc5ab[7],constraints:false});_0x2b23x3[_0xc5ab[8]](_0x2b23x4.ReportMailSession,{as:_0xc5ab[9],foreignKey:_0xc5ab[10],constraints:false});}});return _0x2b23x3;};
\ No newline at end of file
index 7779d44..e3e9774 100644 (file)
@@ -1 +1 @@
-var _0x8c12=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x43\x6F\x6E\x74\x61\x63\x74\x48\x61\x73\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x53\x54\x52\x49\x4E\x47","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x68\x61\x73\x5F\x63\x75\x73\x74\x6F\x6D\x5F\x66\x69\x65\x6C\x64\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x8c12[0]);module[_0x8c12[1]]=function(_0x52b5x2,_0x52b5x3){var _0x52b5x4=_0x52b5x2[_0x8c12[5]](_0x8c12[2],{value:_0x52b5x3[_0x8c12[3]]},{tableName:_0x8c12[4]});return _0x52b5x4;};
\ No newline at end of file
+var _0x87b4=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x43\x6F\x6E\x74\x61\x63\x74\x48\x61\x73\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x53\x54\x52\x49\x4E\x47","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x68\x61\x73\x5F\x63\x75\x73\x74\x6F\x6D\x5F\x66\x69\x65\x6C\x64\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x87b4[0]);module[_0x87b4[1]]=function(_0xad32x2,_0xad32x3){var _0xad32x4=_0xad32x2[_0x87b4[5]](_0x87b4[2],{value:_0xad32x3[_0x87b4[3]]},{tableName:_0x87b4[4]});return _0xad32x4;};
\ No newline at end of file
index a3a7eea..124ab43 100644 (file)
@@ -1 +1 @@
-var _0x1bbe=["\x65\x78\x70\x6F\x72\x74\x73","\x43\x6F\x6E\x74\x61\x63\x74\x50\x68\x6F\x6E\x65","\x53\x54\x52\x49\x4E\x47","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x70\x68\x6F\x6E\x65\x73","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x68\x61\x73\x5F\x70\x68\x6F\x6E\x65\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x49\x6E\x62\x6F\x75\x6E\x64\x73","\x73\x6F\x75\x72\x63\x65","\x68\x61\x73\x4D\x61\x6E\x79","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x73","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E","\x64\x65\x66\x69\x6E\x65"];module[_0x1bbe[0]]=function(_0x2686x1,_0x2686x2){var _0x2686x3=_0x2686x1[_0x1bbe[11]](_0x1bbe[1],{phone:{type:_0x2686x2[_0x1bbe[2]],primaryKey:true}},{tableName:_0x1bbe[3],associate:function(_0x2686x4){_0x2686x3[_0x1bbe[5]](_0x2686x4.Contact,{through:_0x1bbe[4]});_0x2686x3[_0x1bbe[8]](_0x2686x4.ReportCall,{as:_0x1bbe[6],foreignKey:_0x1bbe[7],constraints:false});_0x2686x3[_0x1bbe[8]](_0x2686x4.ReportCall,{as:_0x1bbe[9],foreignKey:_0x1bbe[10],constraints:false});}});return _0x2686x3;};
\ No newline at end of file
+var _0x45dd=["\x65\x78\x70\x6F\x72\x74\x73","\x43\x6F\x6E\x74\x61\x63\x74\x50\x68\x6F\x6E\x65","\x53\x54\x52\x49\x4E\x47","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x70\x68\x6F\x6E\x65\x73","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x68\x61\x73\x5F\x70\x68\x6F\x6E\x65\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x49\x6E\x62\x6F\x75\x6E\x64\x73","\x73\x6F\x75\x72\x63\x65","\x68\x61\x73\x4D\x61\x6E\x79","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x73","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E","\x64\x65\x66\x69\x6E\x65"];module[_0x45dd[0]]=function(_0x39c6x1,_0x39c6x2){var _0x39c6x3=_0x39c6x1[_0x45dd[11]](_0x45dd[1],{phone:{type:_0x39c6x2[_0x45dd[2]],primaryKey:true}},{tableName:_0x45dd[3],associate:function(_0x39c6x4){_0x39c6x3[_0x45dd[5]](_0x39c6x4.Contact,{through:_0x45dd[4]});_0x39c6x3[_0x45dd[8]](_0x39c6x4.ReportCall,{as:_0x45dd[6],foreignKey:_0x45dd[7],constraints:false});_0x39c6x3[_0x45dd[8]](_0x39c6x4.ReportCall,{as:_0x45dd[9],foreignKey:_0x45dd[10],constraints:false});}});return _0x39c6x3;};
\ No newline at end of file
index c29fdec..941908b 100644 (file)
@@ -1 +1 @@
-var _0xe4db=["\x65\x78\x70\x6F\x72\x74\x73","\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x63\x75\x73\x74\x6F\x6D\x5F\x66\x69\x65\x6C\x64\x73","\x43\x6F\x6E\x74\x61\x63\x74\x48\x61\x73\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];module[_0xe4db[0]]=function(_0x15acx1,_0x15acx2){var _0x15acx3=_0x15acx1[_0xe4db[7]](_0xe4db[1],{name:{type:_0x15acx2[_0xe4db[2]],unique:true},type:_0x15acx2[_0xe4db[2]],active:{type:_0x15acx2[_0xe4db[3]],defaultValue:true},values:_0x15acx2[_0xe4db[2]]},{tableName:_0xe4db[4],associate:function(_0x15acx4){_0x15acx3[_0xe4db[6]](_0x15acx4.Contact,{through:_0x15acx4[_0xe4db[5]]})}});return _0x15acx3;};
\ No newline at end of file
+var _0xc92c=["\x65\x78\x70\x6F\x72\x74\x73","\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x63\x75\x73\x74\x6F\x6D\x5F\x66\x69\x65\x6C\x64\x73","\x43\x6F\x6E\x74\x61\x63\x74\x48\x61\x73\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];module[_0xc92c[0]]=function(_0x6b79x1,_0x6b79x2){var _0x6b79x3=_0x6b79x1[_0xc92c[7]](_0xc92c[1],{name:{type:_0x6b79x2[_0xc92c[2]],unique:true},type:_0x6b79x2[_0xc92c[2]],active:{type:_0x6b79x2[_0xc92c[3]],defaultValue:true},values:_0x6b79x2[_0xc92c[2]]},{tableName:_0xc92c[4],associate:function(_0x6b79x4){_0x6b79x3[_0xc92c[6]](_0x6b79x4.Contact,{through:_0x6b79x4[_0xc92c[5]]})}});return _0x6b79x3;};
\ No newline at end of file
index 71d6e22..2765c32 100644 (file)
@@ -1 +1 @@
-var _0x461b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x43\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\x74\x73","\x46\x69\x65\x6C\x64\x73","\x63\x61\x73\x63\x61\x64\x65","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0x461b[0];module[_0x461b[1]]=function(_0x6eddx1,_0x6eddx2){var _0x6eddx3=_0x6eddx1[_0x461b[9]](_0x461b[2],{name:_0x6eddx2[_0x461b[3]],description:_0x6eddx2[_0x461b[3]],parent:_0x6eddx2[_0x461b[3]],table:_0x6eddx2[_0x461b[3]],conditions:_0x6eddx2[_0x461b[4]]},{tableName:_0x461b[5],associate:function(_0x6eddx4){_0x6eddx3[_0x461b[8]](_0x6eddx4.ReportField,{as:_0x461b[6],onDelete:_0x461b[7]})}});return _0x6eddx3;};
\ No newline at end of file
+var _0xee92=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x43\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\x74\x73","\x46\x69\x65\x6C\x64\x73","\x63\x61\x73\x63\x61\x64\x65","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0xee92[0];module[_0xee92[1]]=function(_0xea76x1,_0xea76x2){var _0xea76x3=_0xea76x1[_0xee92[9]](_0xee92[2],{name:_0xea76x2[_0xee92[3]],description:_0xea76x2[_0xee92[3]],parent:_0xea76x2[_0xee92[3]],table:_0xea76x2[_0xee92[3]],conditions:_0xea76x2[_0xee92[4]]},{tableName:_0xee92[5],associate:function(_0xea76x4){_0xea76x3[_0xee92[8]](_0xea76x4.ReportField,{as:_0xee92[6],onDelete:_0xee92[7]})}});return _0xea76x3;};
\ No newline at end of file
index e259cc8..23053f4 100644 (file)
@@ -1 +1 @@
-var _0xed4e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x44\x61\x73\x68\x62\x6F\x61\x72\x64","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x42\x4F\x4F\x4C\x45\x41\x4E","\x34\x2D\x38","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x73","\x64\x65\x66\x69\x6E\x65"];_0xed4e[0];module[_0xed4e[1]]=function(_0x1a49x1,_0x1a49x2){var _0x1a49x3=_0x1a49x1[_0xed4e[8]](_0xed4e[2],{name:{type:_0x1a49x2[_0xed4e[3]],unique:true},description:{type:_0x1a49x2[_0xed4e[3]]},model:{type:_0x1a49x2[_0xed4e[4]]},collapsible:{type:_0x1a49x2[_0xed4e[5]],defaultValue:true},editable:{type:_0x1a49x2[_0xed4e[5]],defaultValue:true},maximizable:{type:_0x1a49x2[_0xed4e[5]],defaultValue:true},structure:{type:_0x1a49x2.STRING(32),defaultValue:_0xed4e[6]},enableconfirmdelete:{type:_0x1a49x2[_0xed4e[5]],defaultValue:true},defaultEntry:{type:_0x1a49x2[_0xed4e[5]],defaultValue:0},admin:{type:_0x1a49x2[_0xed4e[5]],defaultValue:true},user:{type:_0x1a49x2[_0xed4e[5]],defaultValue:true},agent:{type:_0x1a49x2[_0xed4e[5]],defaultValue:true},visible:{type:_0x1a49x2[_0xed4e[5]],defaultValue:true}},{tableName:_0xed4e[7]});return _0x1a49x3;};
\ No newline at end of file
+var _0x35a9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x44\x61\x73\x68\x62\x6F\x61\x72\x64","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x42\x4F\x4F\x4C\x45\x41\x4E","\x34\x2D\x38","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x73","\x64\x65\x66\x69\x6E\x65"];_0x35a9[0];module[_0x35a9[1]]=function(_0x3627x1,_0x3627x2){var _0x3627x3=_0x3627x1[_0x35a9[8]](_0x35a9[2],{name:{type:_0x3627x2[_0x35a9[3]],unique:true},description:{type:_0x3627x2[_0x35a9[3]]},model:{type:_0x3627x2[_0x35a9[4]]},collapsible:{type:_0x3627x2[_0x35a9[5]],defaultValue:true},editable:{type:_0x3627x2[_0x35a9[5]],defaultValue:true},maximizable:{type:_0x3627x2[_0x35a9[5]],defaultValue:true},structure:{type:_0x3627x2.STRING(32),defaultValue:_0x35a9[6]},enableconfirmdelete:{type:_0x3627x2[_0x35a9[5]],defaultValue:true},defaultEntry:{type:_0x3627x2[_0x35a9[5]],defaultValue:0},admin:{type:_0x3627x2[_0x35a9[5]],defaultValue:true},user:{type:_0x3627x2[_0x35a9[5]],defaultValue:true},agent:{type:_0x3627x2[_0x35a9[5]],defaultValue:true},visible:{type:_0x3627x2[_0x35a9[5]],defaultValue:true}},{tableName:_0x35a9[7]});return _0x3627x3;};
\ No newline at end of file
index 7d77232..19d548f 100644 (file)
@@ -1 +1 @@
-var _0xe693=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x64\x65\x66\x61\x75\x6C\x74\x5F\x72\x65\x70\x6F\x72\x74\x73","\x46\x69\x65\x6C\x64\x73","\x63\x61\x73\x63\x61\x64\x65","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0xe693[0];module[_0xe693[1]]=function(_0xdbbex1,_0xdbbex2){var _0xdbbex3=_0xdbbex1[_0xe693[9]](_0xe693[2],{name:_0xdbbex2[_0xe693[3]],description:_0xdbbex2[_0xe693[3]],parent:_0xdbbex2[_0xe693[3]],table:_0xdbbex2[_0xe693[3]],conditions:_0xdbbex2[_0xe693[4]]},{tableName:_0xe693[5],associate:function(_0xdbbex4){_0xdbbex3[_0xe693[8]](_0xdbbex4.ReportField,{as:_0xe693[6],onDelete:_0xe693[7]})}});return _0xdbbex3;};
\ No newline at end of file
+var _0xaabe=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x64\x65\x66\x61\x75\x6C\x74\x5F\x72\x65\x70\x6F\x72\x74\x73","\x46\x69\x65\x6C\x64\x73","\x63\x61\x73\x63\x61\x64\x65","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0xaabe[0];module[_0xaabe[1]]=function(_0x56edx1,_0x56edx2){var _0x56edx3=_0x56edx1[_0xaabe[9]](_0xaabe[2],{name:_0x56edx2[_0xaabe[3]],description:_0x56edx2[_0xaabe[3]],parent:_0x56edx2[_0xaabe[3]],table:_0x56edx2[_0xaabe[3]],conditions:_0x56edx2[_0xaabe[4]]},{tableName:_0xaabe[5],associate:function(_0x56edx4){_0x56edx3[_0xaabe[8]](_0x56edx4.ReportField,{as:_0xaabe[6],onDelete:_0xaabe[7]})}});return _0x56edx3;};
\ No newline at end of file
index 341942b..2825867 100644 (file)
@@ -1 +1 @@
-var _0x29d7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x44\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x53\x54\x52\x49\x4E\x47","\x62\x61\x73\x69\x63","\x6F\x61\x75\x74\x68","\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0x29d7[0];module[_0x29d7[1]]=function(_0x9e9bx1,_0x9e9bx2){var _0x9e9bx3=_0x9e9bx1[_0x29d7[9]](_0x29d7[2],{name:_0x9e9bx2[_0x29d7[3]],description:_0x9e9bx2[_0x29d7[3]],username:{type:_0x9e9bx2[_0x29d7[3]],unique:true},remoteUri:{type:_0x9e9bx2[_0x29d7[3]],unique:true},authType:{type:_0x9e9bx2.ENUM(_0x29d7[4],_0x29d7[5]),defaultValue:_0x29d7[4]},password:_0x9e9bx2[_0x29d7[3]],consumerKey:_0x9e9bx2[_0x29d7[3]],consumerSecret:_0x9e9bx2[_0x29d7[3]],token:_0x9e9bx2[_0x29d7[3]],tokenSecret:_0x9e9bx2[_0x29d7[3]]},{tableName:_0x29d7[6],associate:function(_0x9e9bx4){_0x9e9bx3[_0x29d7[8]](_0x9e9bx4.DeskConfiguration,{foreignKey:_0x29d7[7]})}});return _0x9e9bx3;};
\ No newline at end of file
+var _0xb00e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x44\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x53\x54\x52\x49\x4E\x47","\x62\x61\x73\x69\x63","\x6F\x61\x75\x74\x68","\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0xb00e[0];module[_0xb00e[1]]=function(_0x63f6x1,_0x63f6x2){var _0x63f6x3=_0x63f6x1[_0xb00e[9]](_0xb00e[2],{name:_0x63f6x2[_0xb00e[3]],description:_0x63f6x2[_0xb00e[3]],username:{type:_0x63f6x2[_0xb00e[3]],unique:true},remoteUri:{type:_0x63f6x2[_0xb00e[3]],unique:true},authType:{type:_0x63f6x2.ENUM(_0xb00e[4],_0xb00e[5]),defaultValue:_0xb00e[4]},password:_0x63f6x2[_0xb00e[3]],consumerKey:_0x63f6x2[_0xb00e[3]],consumerSecret:_0x63f6x2[_0xb00e[3]],token:_0x63f6x2[_0xb00e[3]],tokenSecret:_0x63f6x2[_0xb00e[3]]},{tableName:_0xb00e[6],associate:function(_0x63f6x4){_0x63f6x3[_0xb00e[8]](_0x63f6x4.DeskConfiguration,{foreignKey:_0xb00e[7]})}});return _0x63f6x3;};
\ No newline at end of file
index f3acc94..b653fc8 100644 (file)
@@ -1 +1 @@
-var _0xfb34=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x44\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x53\x75\x62\x6A\x65\x63\x74","\x53\x75\x62\x6A\x65\x63\x74\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x49\x64","\x46\x69\x65\x6C\x64","\x46\x69\x65\x6C\x64\x49\x64","\x64\x65\x66\x69\x6E\x65"];_0xfb34[0];module[_0xfb34[1]]=function(_0xb5afx1,_0xb5afx2){return _0xb5afx1[_0xfb34[14]](_0xfb34[2],{name:_0xb5afx2[_0xfb34[3]],description:_0xb5afx2[_0xfb34[3]]},{tableName:_0xfb34[4],associate:function(_0xb5afx3){_0xb5afx3[_0xfb34[2]][_0xfb34[6]](_0xb5afx3.DeskAccount,{foreignKey:_0xfb34[5]});_0xb5afx3[_0xfb34[2]][_0xfb34[9]](_0xb5afx3.DeskField,{as:_0xfb34[7],foreignKey:_0xfb34[8]});_0xb5afx3[_0xfb34[2]][_0xfb34[9]](_0xb5afx3.DeskField,{as:_0xfb34[10],foreignKey:_0xfb34[11]});_0xb5afx3[_0xfb34[2]][_0xfb34[9]](_0xb5afx3.DeskField,{as:_0xfb34[12],foreignKey:_0xfb34[13]});}})};
\ No newline at end of file
+var _0x7730=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x44\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x53\x75\x62\x6A\x65\x63\x74","\x53\x75\x62\x6A\x65\x63\x74\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x49\x64","\x46\x69\x65\x6C\x64","\x46\x69\x65\x6C\x64\x49\x64","\x64\x65\x66\x69\x6E\x65"];_0x7730[0];module[_0x7730[1]]=function(_0x5355x1,_0x5355x2){return _0x5355x1[_0x7730[14]](_0x7730[2],{name:_0x5355x2[_0x7730[3]],description:_0x5355x2[_0x7730[3]]},{tableName:_0x7730[4],associate:function(_0x5355x3){_0x5355x3[_0x7730[2]][_0x7730[6]](_0x5355x3.DeskAccount,{foreignKey:_0x7730[5]});_0x5355x3[_0x7730[2]][_0x7730[9]](_0x5355x3.DeskField,{as:_0x7730[7],foreignKey:_0x7730[8]});_0x5355x3[_0x7730[2]][_0x7730[9]](_0x5355x3.DeskField,{as:_0x7730[10],foreignKey:_0x7730[11]});_0x5355x3[_0x7730[2]][_0x7730[9]](_0x5355x3.DeskField,{as:_0x7730[12],foreignKey:_0x7730[13]});}})};
\ No newline at end of file
index 7bb7972..eb8b72c 100644 (file)
@@ -1 +1 @@
-var _0x1eea=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x44\x65\x73\x6B\x46\x69\x65\x6C\x64","\x73\x74\x72\x69\x6E\x67","\x76\x61\x72\x69\x61\x62\x6C\x65","\x6B\x65\x79\x5F\x76\x61\x6C\x75\x65","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];_0x1eea[0];module[_0x1eea[1]]=function(_0xd6e3x1,_0xd6e3x2){return _0xd6e3x1[_0x1eea[10]](_0x1eea[2],{type:{type:_0xd6e3x2.ENUM(_0x1eea[3],_0x1eea[4],_0x1eea[5]),defaultValue:_0x1eea[3]},content:_0xd6e3x2[_0x1eea[6]],key:_0xd6e3x2[_0x1eea[6]],keyType:{type:_0xd6e3x2.ENUM(_0x1eea[3],_0x1eea[4])},keyContent:_0xd6e3x2[_0x1eea[6]],idField:_0xd6e3x2[_0x1eea[6]],customField:{type:_0xd6e3x2[_0x1eea[7]],defaultValue:true}},{tableName:_0x1eea[8],associate:function(_0xd6e3x3){_0xd6e3x3[_0x1eea[2]][_0x1eea[9]](_0xd6e3x3.Variable)}})};
\ No newline at end of file
+var _0x5f80=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x44\x65\x73\x6B\x46\x69\x65\x6C\x64","\x73\x74\x72\x69\x6E\x67","\x76\x61\x72\x69\x61\x62\x6C\x65","\x6B\x65\x79\x5F\x76\x61\x6C\x75\x65","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];_0x5f80[0];module[_0x5f80[1]]=function(_0x5a14x1,_0x5a14x2){return _0x5a14x1[_0x5f80[10]](_0x5f80[2],{type:{type:_0x5a14x2.ENUM(_0x5f80[3],_0x5f80[4],_0x5f80[5]),defaultValue:_0x5f80[3]},content:_0x5a14x2[_0x5f80[6]],key:_0x5a14x2[_0x5f80[6]],keyType:{type:_0x5a14x2.ENUM(_0x5f80[3],_0x5f80[4])},keyContent:_0x5a14x2[_0x5f80[6]],idField:_0x5a14x2[_0x5f80[6]],customField:{type:_0x5a14x2[_0x5f80[7]],defaultValue:true}},{tableName:_0x5f80[8],associate:function(_0x5a14x3){_0x5a14x3[_0x5f80[2]][_0x5f80[9]](_0x5a14x3.Variable)}})};
\ No newline at end of file
index 4ee4abc..b8ad1b6 100644 (file)
@@ -1 +1 @@
-var _0x5854=["\x65\x78\x70\x6F\x72\x74\x73","\x45\x76\x65\x6E\x74","\x49\x4E\x43\x4F\x4D\x49\x4E\x47","\x4F\x55\x54\x47\x4F\x49\x4E\x47","\x41\x54\x54\x45\x4D\x50\x54","\x41\x53\x53\x49\x47\x4E\x45\x44","\x55\x4E\x41\x53\x53\x49\x47\x4E\x45\x44","\x4D\x41\x49\x4C","\x43\x48\x41\x54","\x46\x41\x58","\x56\x4F\x49\x43\x45","\x49\x4E\x54\x45\x47\x45\x52","\x65\x76\x65\x6E\x74\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];module[_0x5854[0]]=function(_0xac19x1,_0xac19x2){var _0xac19x3=_0xac19x1[_0x5854[14]](_0x5854[1],{name:{type:_0xac19x2.ENUM(_0x5854[2],_0x5854[3],_0x5854[4],_0x5854[5],_0x5854[6])},channel:{type:_0xac19x2.ENUM(_0x5854[7],_0x5854[8],_0x5854[9],_0x5854[10])},timeout:{type:_0xac19x2[_0x5854[11]]},holdtime:{type:_0xac19x2[_0x5854[11]]}},{tableName:_0x5854[12],associate:function(_0xac19x4){_0xac19x3[_0x5854[13]](_0xac19x4.User);_0xac19x3[_0x5854[13]](_0xac19x4.MailRoom);_0xac19x3[_0x5854[13]](_0xac19x4.MailMessage);_0xac19x3[_0x5854[13]](_0xac19x4.MailQueue);_0xac19x3[_0x5854[13]](_0xac19x4.MailAccount);_0xac19x3[_0x5854[13]](_0xac19x4.MailApplication);_0xac19x3[_0x5854[13]](_0xac19x4.FaxRoom);_0xac19x3[_0x5854[13]](_0xac19x4.FaxQueue);_0xac19x3[_0x5854[13]](_0xac19x4.FaxAccount);_0xac19x3[_0x5854[13]](_0xac19x4.FaxApplication);_0xac19x3[_0x5854[13]](_0xac19x4.ChatRoom);_0xac19x3[_0x5854[13]](_0xac19x4.ChatQueue);_0xac19x3[_0x5854[13]](_0xac19x4.ChatWebsite);_0xac19x3[_0x5854[13]](_0xac19x4.ChatApplication);}});return _0xac19x3;};
\ No newline at end of file
+var _0x7f78=["\x65\x78\x70\x6F\x72\x74\x73","\x45\x76\x65\x6E\x74","\x49\x4E\x43\x4F\x4D\x49\x4E\x47","\x4F\x55\x54\x47\x4F\x49\x4E\x47","\x41\x54\x54\x45\x4D\x50\x54","\x41\x53\x53\x49\x47\x4E\x45\x44","\x55\x4E\x41\x53\x53\x49\x47\x4E\x45\x44","\x4D\x41\x49\x4C","\x43\x48\x41\x54","\x46\x41\x58","\x56\x4F\x49\x43\x45","\x49\x4E\x54\x45\x47\x45\x52","\x65\x76\x65\x6E\x74\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];module[_0x7f78[0]]=function(_0x1423x1,_0x1423x2){var _0x1423x3=_0x1423x1[_0x7f78[14]](_0x7f78[1],{name:{type:_0x1423x2.ENUM(_0x7f78[2],_0x7f78[3],_0x7f78[4],_0x7f78[5],_0x7f78[6])},channel:{type:_0x1423x2.ENUM(_0x7f78[7],_0x7f78[8],_0x7f78[9],_0x7f78[10])},timeout:{type:_0x1423x2[_0x7f78[11]]},holdtime:{type:_0x1423x2[_0x7f78[11]]}},{tableName:_0x7f78[12],associate:function(_0x1423x4){_0x1423x3[_0x7f78[13]](_0x1423x4.User);_0x1423x3[_0x7f78[13]](_0x1423x4.MailRoom);_0x1423x3[_0x7f78[13]](_0x1423x4.MailMessage);_0x1423x3[_0x7f78[13]](_0x1423x4.MailQueue);_0x1423x3[_0x7f78[13]](_0x1423x4.MailAccount);_0x1423x3[_0x7f78[13]](_0x1423x4.MailApplication);_0x1423x3[_0x7f78[13]](_0x1423x4.FaxRoom);_0x1423x3[_0x7f78[13]](_0x1423x4.FaxQueue);_0x1423x3[_0x7f78[13]](_0x1423x4.FaxAccount);_0x1423x3[_0x7f78[13]](_0x1423x4.FaxApplication);_0x1423x3[_0x7f78[13]](_0x1423x4.ChatRoom);_0x1423x3[_0x7f78[13]](_0x1423x4.ChatQueue);_0x1423x3[_0x7f78[13]](_0x1423x4.ChatWebsite);_0x1423x3[_0x7f78[13]](_0x1423x4.ChatApplication);}});return _0x1423x3;};
\ No newline at end of file
diff --git a/server/models/extracted_report.js b/server/models/extracted_report.js
new file mode 100644 (file)
index 0000000..fb31dc0
--- /dev/null
@@ -0,0 +1 @@
+var _0xf86f=["\x65\x78\x70\x6F\x72\x74\x73","\x45\x78\x74\x72\x61\x63\x74\x65\x64\x52\x65\x70\x6F\x72\x74","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x4C\x6F\x61\x64\x69\x6E\x67","\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\x74\x73","\x64\x65\x66\x69\x6E\x65"];module[_0xf86f[0]]=function(_0x2c2dx1,_0x2c2dx2){var _0x2c2dx3=_0x2c2dx1[_0xf86f[6]](_0xf86f[1],{name:_0x2c2dx2[_0xf86f[2]],output:_0x2c2dx2[_0xf86f[2]],savename:_0x2c2dx2[_0xf86f[2]],startDate:_0x2c2dx2[_0xf86f[3]],endDate:_0x2c2dx2[_0xf86f[3]],ready:{type:_0x2c2dx2[_0xf86f[2]],defaultValue:_0xf86f[4]}},{tableName:_0xf86f[5]});return _0x2c2dx3;};
\ No newline at end of file
index d06ca75..ef933f9 100644 (file)
@@ -1 +1 @@
-var _0x101b=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x39\x36\x30\x30","\x31\x34\x34\x30\x30","\x33\x33\x36\x30\x30","\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x101b[0]);module[_0x101b[1]]=function(_0x25cax2,_0x25cax3){var _0x25cax4=_0x25cax2[_0x101b[11]](_0x101b[2],{description:_0x25cax3[_0x101b[3]],name:_0x25cax3[_0x101b[3]],phone:{type:_0x25cax3[_0x101b[3]],unique:true},ecm:{type:_0x25cax3[_0x101b[4]],defaultValue:false},faxheader:_0x25cax3[_0x101b[3]],localid:_0x25cax3[_0x101b[3]],maxrate:{type:_0x25cax3.ENUM(_0x101b[5],_0x101b[6],_0x101b[7]),defaultValue:_0x101b[7]},minrate:{type:_0x25cax3.ENUM(_0x101b[5],_0x101b[6],_0x101b[7]),defaultValue:_0x101b[5]}},{tableName:_0x101b[8],associate:function(_0x25cax5){_0x25cax4[_0x101b[9]](_0x25cax5.Trunk);_0x25cax4[_0x101b[10]](_0x25cax5.FaxRoom);_0x25cax4[_0x101b[10]](_0x25cax5.FaxApplication);}});return _0x25cax4;};
\ No newline at end of file
+var _0xf96c=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x39\x36\x30\x30","\x31\x34\x34\x30\x30","\x33\x33\x36\x30\x30","\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xf96c[0]);module[_0xf96c[1]]=function(_0xe9d2x2,_0xe9d2x3){var _0xe9d2x4=_0xe9d2x2[_0xf96c[11]](_0xf96c[2],{description:_0xe9d2x3[_0xf96c[3]],name:_0xe9d2x3[_0xf96c[3]],phone:{type:_0xe9d2x3[_0xf96c[3]],unique:true},ecm:{type:_0xe9d2x3[_0xf96c[4]],defaultValue:false},faxheader:_0xe9d2x3[_0xf96c[3]],localid:_0xe9d2x3[_0xf96c[3]],maxrate:{type:_0xe9d2x3.ENUM(_0xf96c[5],_0xf96c[6],_0xf96c[7]),defaultValue:_0xf96c[7]},minrate:{type:_0xe9d2x3.ENUM(_0xf96c[5],_0xf96c[6],_0xf96c[7]),defaultValue:_0xf96c[5]}},{tableName:_0xf96c[8],associate:function(_0xe9d2x5){_0xe9d2x4[_0xf96c[9]](_0xe9d2x5.Trunk);_0xe9d2x4[_0xf96c[10]](_0xe9d2x5.FaxRoom);_0xe9d2x4[_0xf96c[10]](_0xe9d2x5.FaxApplication);}});return _0xe9d2x4;};
\ No newline at end of file
index 3e2d8a0..17e3047 100644 (file)
@@ -1 +1 @@
-var _0x636e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x71\x75\x65\x75\x65","\x61\x67\x65\x6E\x74","\x49\x4E\x54\x45\x47\x45\x52","\x53\x54\x52\x49\x4E\x47","\x2A\x7C\x2A\x7C\x2A\x7C\x2A","\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];_0x636e[0];module[_0x636e[1]]=function(_0xcd80x1,_0xcd80x2){var _0xcd80x3=_0xcd80x1[_0x636e[10]](_0x636e[2],{app:{type:_0xcd80x2.ENUM(_0x636e[3],_0x636e[4])},appdata:{type:_0xcd80x2[_0x636e[5]]},priority:{type:_0xcd80x2[_0x636e[5]]},timeout:{type:_0xcd80x2[_0x636e[5]]},interval:{type:_0xcd80x2[_0x636e[6]],defaultValue:_0x636e[7]}},{tableName:_0x636e[8],associate:function(_0xcd80x4){_0xcd80x3[_0x636e[9]](_0xcd80x4.FaxAccount);_0xcd80x3[_0x636e[9]](_0xcd80x4.FaxQueue);_0xcd80x3[_0x636e[9]](_0xcd80x4.User);}});return _0xcd80x3;};
\ No newline at end of file
+var _0x6c1a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x71\x75\x65\x75\x65","\x61\x67\x65\x6E\x74","\x49\x4E\x54\x45\x47\x45\x52","\x53\x54\x52\x49\x4E\x47","\x2A\x7C\x2A\x7C\x2A\x7C\x2A","\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];_0x6c1a[0];module[_0x6c1a[1]]=function(_0x53c6x1,_0x53c6x2){var _0x53c6x3=_0x53c6x1[_0x6c1a[10]](_0x6c1a[2],{app:{type:_0x53c6x2.ENUM(_0x6c1a[3],_0x6c1a[4])},appdata:{type:_0x53c6x2[_0x6c1a[5]]},priority:{type:_0x53c6x2[_0x6c1a[5]]},timeout:{type:_0x53c6x2[_0x6c1a[5]]},interval:{type:_0x53c6x2[_0x6c1a[6]],defaultValue:_0x6c1a[7]}},{tableName:_0x6c1a[8],associate:function(_0x53c6x4){_0x53c6x3[_0x6c1a[9]](_0x53c6x4.FaxAccount);_0x53c6x3[_0x6c1a[9]](_0x53c6x4.FaxQueue);_0x53c6x3[_0x6c1a[9]](_0x53c6x4.User);}});return _0x53c6x3;};
\ No newline at end of file
index eb57a6a..d5c5713 100644 (file)
@@ -1 +1 @@
-var _0x634c=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x46\x61\x78\x42\x75\x73\x69\x6E\x65\x73\x73\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x49\x4E\x54\x45\x47\x45\x52","\x66\x61\x78\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x634c[0]);module[_0x634c[1]]=function(_0x434bx2,_0x434bx3){var _0x434bx4=_0x434bx2[_0x634c[8]](_0x634c[2],{name:{type:_0x434bx3[_0x634c[3]]},description:{type:_0x434bx3[_0x634c[3]]},status:{type:_0x434bx3[_0x634c[4]],defaultValue:false},jobId:{type:_0x434bx3[_0x634c[5]]}},{tableName:_0x634c[6],associate:function(_0x434bx5){_0x434bx4[_0x634c[7]](_0x434bx5.BusinessAction);_0x434bx4[_0x634c[7]](_0x434bx5.BusinessCondition);}});return _0x434bx4;};
\ No newline at end of file
+var _0x5961=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x46\x61\x78\x42\x75\x73\x69\x6E\x65\x73\x73\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x49\x4E\x54\x45\x47\x45\x52","\x66\x61\x78\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x5961[0]);module[_0x5961[1]]=function(_0x42e3x2,_0x42e3x3){var _0x42e3x4=_0x42e3x2[_0x5961[8]](_0x5961[2],{name:{type:_0x42e3x3[_0x5961[3]]},description:{type:_0x42e3x3[_0x5961[3]]},status:{type:_0x42e3x3[_0x5961[4]],defaultValue:false},jobId:{type:_0x42e3x3[_0x5961[5]]}},{tableName:_0x5961[6],associate:function(_0x42e3x5){_0x42e3x4[_0x5961[7]](_0x42e3x5.BusinessAction);_0x42e3x4[_0x5961[7]](_0x42e3x5.BusinessCondition);}});return _0x42e3x4;};
\ No newline at end of file
index 63bf96f..7725a3a 100644 (file)
@@ -1 +1 @@
-var _0xcf6b=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x52\x45\x43\x45\x49\x56\x45\x44","\x4E\x4F\x54\x20\x53\x45\x4E\x54","\x53\x45\x4E\x44\x49\x4E\x47","\x53\x45\x4E\x54","\x46\x41\x49\x4C\x45\x44","\x42\x4F\x4F\x4C\x45\x41\x4E","\x54\x45\x58\x54","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x46\x72\x6F\x6D","\x54\x6F","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xcf6b[0]);module[_0xcf6b[1]]=function(_0x4d70x2,_0x4d70x3){var _0x4d70x4=_0x4d70x2[_0xcf6b[16]](_0xcf6b[2],{actionid:_0x4d70x3[_0xcf6b[3]],channel:_0x4d70x3[_0xcf6b[3]],channelstate:_0x4d70x3[_0xcf6b[4]],channelstatedesc:_0x4d70x3[_0xcf6b[3]],calleridnum:_0x4d70x3[_0xcf6b[3]],calleridname:_0x4d70x3[_0xcf6b[3]],connectedlinenum:_0x4d70x3[_0xcf6b[3]],connectedlinename:_0x4d70x3[_0xcf6b[3]],status:{type:_0x4d70x3.ENUM(_0xcf6b[5],_0xcf6b[6],_0xcf6b[7],_0xcf6b[8],_0xcf6b[9]),allowNull:true},read:{type:_0x4d70x3[_0xcf6b[10]],defaultValue:false},favorite:{type:_0x4d70x3[_0xcf6b[10]],defaultValue:false},language:_0x4d70x3[_0xcf6b[3]],accountcode:_0x4d70x3[_0xcf6b[3]],context:_0x4d70x3[_0xcf6b[3]],exten:_0x4d70x3[_0xcf6b[3]],priority:_0x4d70x3[_0xcf6b[4]],uniqueid:_0x4d70x3[_0xcf6b[3]],localstationid:_0x4d70x3[_0xcf6b[3]],remotestationid:_0x4d70x3[_0xcf6b[3]],pagestransferred:_0x4d70x3[_0xcf6b[4]],resolution:_0x4d70x3[_0xcf6b[3]],transferrate:_0x4d70x3[_0xcf6b[3]],filename:_0x4d70x3[_0xcf6b[3]],filenamePDF:_0x4d70x3[_0xcf6b[3]],operation:_0x4d70x3[_0xcf6b[3]],uuid:_0x4d70x3[_0xcf6b[3]],laststatus:_0x4d70x3[_0xcf6b[3]],error:_0x4d70x3[_0xcf6b[3]],body:_0x4d70x3[_0xcf6b[11]]},{tableName:_0xcf6b[12],associate:function(_0x4d70x5){_0x4d70x4[_0xcf6b[13]](_0x4d70x5.FaxRoom);_0x4d70x4[_0xcf6b[13]](_0x4d70x5.Contact,{as:_0xcf6b[14]});_0x4d70x4[_0xcf6b[13]](_0x4d70x5.Contact,{as:_0xcf6b[15]});}});return _0x4d70x4;};
\ No newline at end of file
+var _0xfa73=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x52\x45\x43\x45\x49\x56\x45\x44","\x4E\x4F\x54\x20\x53\x45\x4E\x54","\x53\x45\x4E\x44\x49\x4E\x47","\x53\x45\x4E\x54","\x46\x41\x49\x4C\x45\x44","\x42\x4F\x4F\x4C\x45\x41\x4E","\x54\x45\x58\x54","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x46\x72\x6F\x6D","\x54\x6F","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xfa73[0]);module[_0xfa73[1]]=function(_0x2196x2,_0x2196x3){var _0x2196x4=_0x2196x2[_0xfa73[16]](_0xfa73[2],{actionid:_0x2196x3[_0xfa73[3]],channel:_0x2196x3[_0xfa73[3]],channelstate:_0x2196x3[_0xfa73[4]],channelstatedesc:_0x2196x3[_0xfa73[3]],calleridnum:_0x2196x3[_0xfa73[3]],calleridname:_0x2196x3[_0xfa73[3]],connectedlinenum:_0x2196x3[_0xfa73[3]],connectedlinename:_0x2196x3[_0xfa73[3]],status:{type:_0x2196x3.ENUM(_0xfa73[5],_0xfa73[6],_0xfa73[7],_0xfa73[8],_0xfa73[9]),allowNull:true},read:{type:_0x2196x3[_0xfa73[10]],defaultValue:false},favorite:{type:_0x2196x3[_0xfa73[10]],defaultValue:false},language:_0x2196x3[_0xfa73[3]],accountcode:_0x2196x3[_0xfa73[3]],context:_0x2196x3[_0xfa73[3]],exten:_0x2196x3[_0xfa73[3]],priority:_0x2196x3[_0xfa73[4]],uniqueid:_0x2196x3[_0xfa73[3]],localstationid:_0x2196x3[_0xfa73[3]],remotestationid:_0x2196x3[_0xfa73[3]],pagestransferred:_0x2196x3[_0xfa73[4]],resolution:_0x2196x3[_0xfa73[3]],transferrate:_0x2196x3[_0xfa73[3]],filename:_0x2196x3[_0xfa73[3]],filenamePDF:_0x2196x3[_0xfa73[3]],operation:_0x2196x3[_0xfa73[3]],uuid:_0x2196x3[_0xfa73[3]],laststatus:_0x2196x3[_0xfa73[3]],error:_0x2196x3[_0xfa73[3]],body:_0x2196x3[_0xfa73[11]]},{tableName:_0xfa73[12],associate:function(_0x2196x5){_0x2196x4[_0xfa73[13]](_0x2196x5.FaxRoom);_0x2196x4[_0xfa73[13]](_0x2196x5.Contact,{as:_0xfa73[14]});_0x2196x4[_0xfa73[13]](_0x2196x5.Contact,{as:_0xfa73[15]});}});return _0x2196x4;};
\ No newline at end of file
index 4fae10a..0608d03 100644 (file)
@@ -1 +1 @@
-var _0xbbec=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x46\x61\x78\x51\x75\x65\x75\x65","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x73","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\x51\x75\x65\x75\x65","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0xbbec[0];module[_0xbbec[1]]=function(_0xaa00x1,_0xaa00x2){var _0xaa00x3=_0xaa00x1[_0xbbec[10]](_0xbbec[2],{name:{type:_0xaa00x2[_0xbbec[3]],unique:true},description:{type:_0xaa00x2[_0xbbec[3]]},timeout:{type:_0xaa00x2[_0xbbec[4]]},strategy:{type:_0xaa00x2.ENUM(_0xbbec[5],_0xbbec[6])}},{tableName:_0xbbec[7],associate:function(_0xaa00x4){_0xaa00x3[_0xbbec[9]](_0xaa00x4.User,{hooks:true,through:_0xaa00x4[_0xbbec[8]]})}});return _0xaa00x3;};
\ No newline at end of file
+var _0xe2d3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x46\x61\x78\x51\x75\x65\x75\x65","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x73","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\x51\x75\x65\x75\x65","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0xe2d3[0];module[_0xe2d3[1]]=function(_0xb4fax1,_0xb4fax2){var _0xb4fax3=_0xb4fax1[_0xe2d3[10]](_0xe2d3[2],{name:{type:_0xb4fax2[_0xe2d3[3]],unique:true},description:{type:_0xb4fax2[_0xe2d3[3]]},timeout:{type:_0xb4fax2[_0xe2d3[4]]},strategy:{type:_0xb4fax2.ENUM(_0xe2d3[5],_0xe2d3[6])}},{tableName:_0xe2d3[7],associate:function(_0xb4fax4){_0xb4fax3[_0xe2d3[9]](_0xb4fax4.User,{hooks:true,through:_0xb4fax4[_0xe2d3[8]]})}});return _0xb4fax3;};
\ No newline at end of file
index b2fea16..1c89e19 100644 (file)
@@ -1 +1 @@
-var _0xc954=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x46\x61\x78\x52\x6F\x6F\x6D","\x53\x54\x52\x49\x4E\x47","\x4E\x45\x57","\x4F\x50\x45\x4E","\x50\x45\x4E\x44\x49\x4E\x47","\x53\x4F\x4C\x56\x45\x44","\x43\x4C\x4F\x53\x45\x44","\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73","\x68\x61\x73\x4D\x61\x6E\x79","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xc954[0]);module[_0xc954[1]]=function(_0x1b6cx2,_0x1b6cx3){var _0x1b6cx4=_0x1b6cx2[_0xc954[12]](_0xc954[2],{roomId:_0x1b6cx3[_0xc954[3]],from:_0x1b6cx3[_0xc954[3]],status:_0x1b6cx3.ENUM(_0xc954[4],_0xc954[5],_0xc954[6],_0xc954[7],_0xc954[8])},{tableName:_0xc954[9],associate:function(_0x1b6cx5){_0x1b6cx4[_0xc954[10]](_0x1b6cx5.FaxMessage);_0x1b6cx4[_0xc954[11]](_0x1b6cx5.FaxAccount);_0x1b6cx4[_0xc954[11]](_0x1b6cx5.User);}});return _0x1b6cx4;};
\ No newline at end of file
+var _0x5333=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x46\x61\x78\x52\x6F\x6F\x6D","\x53\x54\x52\x49\x4E\x47","\x4E\x45\x57","\x4F\x50\x45\x4E","\x50\x45\x4E\x44\x49\x4E\x47","\x53\x4F\x4C\x56\x45\x44","\x43\x4C\x4F\x53\x45\x44","\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73","\x68\x61\x73\x4D\x61\x6E\x79","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x5333[0]);module[_0x5333[1]]=function(_0x176ax2,_0x176ax3){var _0x176ax4=_0x176ax2[_0x5333[12]](_0x5333[2],{roomId:_0x176ax3[_0x5333[3]],from:_0x176ax3[_0x5333[3]],status:_0x176ax3.ENUM(_0x5333[4],_0x5333[5],_0x5333[6],_0x5333[7],_0x5333[8])},{tableName:_0x5333[9],associate:function(_0x176ax5){_0x176ax4[_0x5333[10]](_0x176ax5.FaxMessage);_0x176ax4[_0x5333[11]](_0x176ax5.FaxAccount);_0x176ax4[_0x5333[11]](_0x176ax5.User);}});return _0x176ax4;};
\ No newline at end of file
index a7a4749..c7c6dbe 100644 (file)
@@ -1 +1 @@
-var _0x6a2d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x53\x54\x52\x49\x4E\x47","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0x6a2d[0];module[_0x6a2d[1]]=function(_0x8c1dx1,_0x8c1dx2){return _0x8c1dx1[_0x6a2d[7]](_0x6a2d[2],{name:_0x8c1dx2[_0x6a2d[3]],description:_0x8c1dx2[_0x6a2d[3]],username:{type:_0x8c1dx2[_0x6a2d[3]],unique:true},remoteUri:{type:_0x8c1dx2[_0x6a2d[3]],unique:true},apiKey:_0x8c1dx2[_0x6a2d[3]]},{tableName:_0x6a2d[4],associate:function(_0x8c1dx3){_0x8c1dx3[_0x6a2d[2]][_0x6a2d[6]](_0x8c1dx3.FreshdeskConfiguration,{foreignKey:_0x6a2d[5]})}})};
\ No newline at end of file
+var _0xc190=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x53\x54\x52\x49\x4E\x47","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0xc190[0];module[_0xc190[1]]=function(_0x5f5ax1,_0x5f5ax2){return _0x5f5ax1[_0xc190[7]](_0xc190[2],{name:_0x5f5ax2[_0xc190[3]],description:_0x5f5ax2[_0xc190[3]],username:{type:_0x5f5ax2[_0xc190[3]],unique:true},remoteUri:{type:_0x5f5ax2[_0xc190[3]],unique:true},apiKey:_0x5f5ax2[_0xc190[3]]},{tableName:_0xc190[4],associate:function(_0x5f5ax3){_0x5f5ax3[_0xc190[2]][_0xc190[6]](_0x5f5ax3.FreshdeskConfiguration,{foreignKey:_0xc190[5]})}})};
\ No newline at end of file
index fb89294..719bd6f 100644 (file)
@@ -1 +1 @@
-var _0x19b8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x53\x75\x62\x6A\x65\x63\x74","\x53\x75\x62\x6A\x65\x63\x74\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x49\x64","\x46\x69\x65\x6C\x64","\x46\x69\x65\x6C\x64\x49\x64","\x64\x65\x66\x69\x6E\x65"];_0x19b8[0];module[_0x19b8[1]]=function(_0xfd3cx1,_0xfd3cx2){return _0xfd3cx1[_0x19b8[14]](_0x19b8[2],{name:_0xfd3cx2[_0x19b8[3]],description:_0xfd3cx2[_0x19b8[3]]},{tableName:_0x19b8[4],associate:function(_0xfd3cx3){_0xfd3cx3[_0x19b8[2]][_0x19b8[6]](_0xfd3cx3.FreshdeskAccount,{foreignKey:_0x19b8[5]});_0xfd3cx3[_0x19b8[2]][_0x19b8[9]](_0xfd3cx3.FreshdeskField,{as:_0x19b8[7],foreignKey:_0x19b8[8]});_0xfd3cx3[_0x19b8[2]][_0x19b8[9]](_0xfd3cx3.FreshdeskField,{as:_0x19b8[10],foreignKey:_0x19b8[11]});_0xfd3cx3[_0x19b8[2]][_0x19b8[9]](_0xfd3cx3.FreshdeskField,{as:_0x19b8[12],foreignKey:_0x19b8[13]});}})};
\ No newline at end of file
+var _0x1048=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x53\x75\x62\x6A\x65\x63\x74","\x53\x75\x62\x6A\x65\x63\x74\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x49\x64","\x46\x69\x65\x6C\x64","\x46\x69\x65\x6C\x64\x49\x64","\x64\x65\x66\x69\x6E\x65"];_0x1048[0];module[_0x1048[1]]=function(_0x883cx1,_0x883cx2){return _0x883cx1[_0x1048[14]](_0x1048[2],{name:_0x883cx2[_0x1048[3]],description:_0x883cx2[_0x1048[3]]},{tableName:_0x1048[4],associate:function(_0x883cx3){_0x883cx3[_0x1048[2]][_0x1048[6]](_0x883cx3.FreshdeskAccount,{foreignKey:_0x1048[5]});_0x883cx3[_0x1048[2]][_0x1048[9]](_0x883cx3.FreshdeskField,{as:_0x1048[7],foreignKey:_0x1048[8]});_0x883cx3[_0x1048[2]][_0x1048[9]](_0x883cx3.FreshdeskField,{as:_0x1048[10],foreignKey:_0x1048[11]});_0x883cx3[_0x1048[2]][_0x1048[9]](_0x883cx3.FreshdeskField,{as:_0x1048[12],foreignKey:_0x1048[13]});}})};
\ No newline at end of file
index 03e7750..f9d0143 100644 (file)
@@ -1 +1 @@
-var _0xfd23=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\x73\x74\x72\x69\x6E\x67","\x76\x61\x72\x69\x61\x62\x6C\x65","\x6B\x65\x79\x5F\x76\x61\x6C\x75\x65","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];_0xfd23[0];module[_0xfd23[1]]=function(_0xb890x1,_0xb890x2){return _0xb890x1[_0xfd23[10]](_0xfd23[2],{type:{type:_0xb890x2.ENUM(_0xfd23[3],_0xfd23[4],_0xfd23[5]),defaultValue:_0xfd23[3]},content:_0xb890x2[_0xfd23[6]],key:_0xb890x2[_0xfd23[6]],keyType:{type:_0xb890x2.ENUM(_0xfd23[3],_0xfd23[4])},keyContent:_0xb890x2[_0xfd23[6]],idField:_0xb890x2[_0xfd23[6]],customField:{type:_0xb890x2[_0xfd23[7]],defaultValue:true}},{tableName:_0xfd23[8],associate:function(_0xb890x3){_0xb890x3[_0xfd23[2]][_0xfd23[9]](_0xb890x3.Variable)}})};
\ No newline at end of file
+var _0xd4eb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\x73\x74\x72\x69\x6E\x67","\x76\x61\x72\x69\x61\x62\x6C\x65","\x6B\x65\x79\x5F\x76\x61\x6C\x75\x65","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];_0xd4eb[0];module[_0xd4eb[1]]=function(_0x3f3dx1,_0x3f3dx2){return _0x3f3dx1[_0xd4eb[10]](_0xd4eb[2],{type:{type:_0x3f3dx2.ENUM(_0xd4eb[3],_0xd4eb[4],_0xd4eb[5]),defaultValue:_0xd4eb[3]},content:_0x3f3dx2[_0xd4eb[6]],key:_0x3f3dx2[_0xd4eb[6]],keyType:{type:_0x3f3dx2.ENUM(_0xd4eb[3],_0xd4eb[4])},keyContent:_0x3f3dx2[_0xd4eb[6]],idField:_0x3f3dx2[_0xd4eb[6]],customField:{type:_0x3f3dx2[_0xd4eb[7]],defaultValue:true}},{tableName:_0xd4eb[8],associate:function(_0x3f3dx3){_0x3f3dx3[_0xd4eb[2]][_0xd4eb[9]](_0x3f3dx3.Variable)}})};
\ No newline at end of file
index 1474b73..1905db5 100644 (file)
@@ -1 +1 @@
-var _0xb0f8=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74\x48\x69\x73\x74\x6F\x72\x79","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x5F\x68\x69\x73\x74\x6F\x72\x79","\x64\x65\x66\x69\x6E\x65","\x69\x64","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65"];module[_0xb0f8[0]]=function(_0xee78x1,_0xee78x2){var _0xee78x3=_0xee78x1[_0xb0f8[7]](_0xb0f8[1],{uniqueid:_0xee78x2[_0xb0f8[2]],calleridnum:_0xee78x2[_0xb0f8[2]],calleridname:_0xee78x2[_0xb0f8[2]],queue:_0xee78x2[_0xb0f8[2]],interface:_0xee78x2[_0xb0f8[2]],membername:_0xee78x2[_0xb0f8[2]],agentcalledAt:_0xee78x2[_0xb0f8[3]],agentconnectAt:_0xee78x2[_0xb0f8[3]],holdtime:_0xee78x2[_0xb0f8[4]],agentcomplete:{type:_0xee78x2[_0xb0f8[5]],defaultValue:false},agentcompleteAt:_0xee78x2[_0xb0f8[3]],talktime:_0xee78x2[_0xb0f8[4]],agentacw:{type:_0xee78x2[_0xb0f8[5]],defaultValue:false},acwtime:_0xee78x2[_0xb0f8[4]],reason:_0xee78x2[_0xb0f8[2]],agentringnoanswer:{type:_0xee78x2[_0xb0f8[5]],defaultValue:false},agentringnoanswerAt:_0xee78x2[_0xb0f8[3]],agentdump:{type:_0xee78x2[_0xb0f8[5]],defaultValue:false},agentdumpAt:_0xee78x2[_0xb0f8[3]],channel:_0xee78x2[_0xb0f8[2]],channelstate:_0xee78x2[_0xb0f8[4]],channelstatedesc:_0xee78x2[_0xb0f8[2]],connectedlinenum:_0xee78x2[_0xb0f8[2]],connectedlinename:_0xee78x2[_0xb0f8[2]],language:_0xee78x2[_0xb0f8[2]],accountcode:_0xee78x2[_0xb0f8[2]],context:_0xee78x2[_0xb0f8[2]],exten:_0xee78x2[_0xb0f8[2]],priority:_0xee78x2[_0xb0f8[2]],destchannel:_0xee78x2[_0xb0f8[2]],destchannelstate:_0xee78x2[_0xb0f8[4]],destchannelstatedesc:_0xee78x2[_0xb0f8[2]],destcalleridnum:_0xee78x2[_0xb0f8[2]],destcalleridname:_0xee78x2[_0xb0f8[2]],destconnectedlinenum:_0xee78x2[_0xb0f8[2]],destconnectedlinename:_0xee78x2[_0xb0f8[2]],destlanguage:_0xee78x2[_0xb0f8[2]],destaccountcode:_0xee78x2[_0xb0f8[2]],destcontext:_0xee78x2[_0xb0f8[2]],destexten:_0xee78x2[_0xb0f8[2]],destpriority:_0xee78x2[_0xb0f8[2]],destuniqueid:_0xee78x2[_0xb0f8[2]]},{tableName:_0xb0f8[6]});_0xee78x3[_0xb0f8[9]](_0xb0f8[8]);return _0xee78x3;};
\ No newline at end of file
+var _0xfa96=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74\x48\x69\x73\x74\x6F\x72\x79","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x5F\x68\x69\x73\x74\x6F\x72\x79","\x64\x65\x66\x69\x6E\x65","\x69\x64","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65"];module[_0xfa96[0]]=function(_0x3615x1,_0x3615x2){var _0x3615x3=_0x3615x1[_0xfa96[7]](_0xfa96[1],{uniqueid:_0x3615x2[_0xfa96[2]],calleridnum:_0x3615x2[_0xfa96[2]],calleridname:_0x3615x2[_0xfa96[2]],queue:_0x3615x2[_0xfa96[2]],interface:_0x3615x2[_0xfa96[2]],membername:_0x3615x2[_0xfa96[2]],agentcalledAt:_0x3615x2[_0xfa96[3]],agentconnectAt:_0x3615x2[_0xfa96[3]],holdtime:_0x3615x2[_0xfa96[4]],agentcomplete:{type:_0x3615x2[_0xfa96[5]],defaultValue:false},agentcompleteAt:_0x3615x2[_0xfa96[3]],talktime:_0x3615x2[_0xfa96[4]],agentacw:{type:_0x3615x2[_0xfa96[5]],defaultValue:false},acwtime:_0x3615x2[_0xfa96[4]],reason:_0x3615x2[_0xfa96[2]],agentringnoanswer:{type:_0x3615x2[_0xfa96[5]],defaultValue:false},agentringnoanswerAt:_0x3615x2[_0xfa96[3]],agentdump:{type:_0x3615x2[_0xfa96[5]],defaultValue:false},agentdumpAt:_0x3615x2[_0xfa96[3]],channel:_0x3615x2[_0xfa96[2]],channelstate:_0x3615x2[_0xfa96[4]],channelstatedesc:_0x3615x2[_0xfa96[2]],connectedlinenum:_0x3615x2[_0xfa96[2]],connectedlinename:_0x3615x2[_0xfa96[2]],language:_0x3615x2[_0xfa96[2]],accountcode:_0x3615x2[_0xfa96[2]],context:_0x3615x2[_0xfa96[2]],exten:_0x3615x2[_0xfa96[2]],priority:_0x3615x2[_0xfa96[2]],destchannel:_0x3615x2[_0xfa96[2]],destchannelstate:_0x3615x2[_0xfa96[4]],destchannelstatedesc:_0x3615x2[_0xfa96[2]],destcalleridnum:_0x3615x2[_0xfa96[2]],destcalleridname:_0x3615x2[_0xfa96[2]],destconnectedlinenum:_0x3615x2[_0xfa96[2]],destconnectedlinename:_0x3615x2[_0xfa96[2]],destlanguage:_0x3615x2[_0xfa96[2]],destaccountcode:_0x3615x2[_0xfa96[2]],destcontext:_0x3615x2[_0xfa96[2]],destexten:_0x3615x2[_0xfa96[2]],destpriority:_0x3615x2[_0xfa96[2]],destuniqueid:_0x3615x2[_0xfa96[2]]},{tableName:_0xfa96[6]});_0x3615x3[_0xfa96[9]](_0xfa96[8]);return _0x3615x3;};
\ No newline at end of file
index 6b41c5d..4bc0c73 100644 (file)
@@ -1 +1 @@
-var _0x8664=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C\x48\x69\x73\x74\x6F\x72\x79","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","","\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x73\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x49\x4E\x54\x45\x47\x45\x52","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x5F\x68\x69\x73\x74\x6F\x72\x79","\x48\x69\x73\x74\x6F\x72\x79\x51\x75\x65\x75\x65\x43\x61\x6C\x6C\x73","\x75\x6E\x69\x71\x75\x65\x69\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x48\x69\x73\x74\x6F\x72\x79\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74\x73","\x64\x65\x66\x69\x6E\x65","\x69\x64","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65"];module[_0x8664[0]]=function(_0x1a1bx1,_0x1a1bx2){var _0x1a1bx3=_0x1a1bx1[_0x8664[13]](_0x8664[1],{accountcode:_0x1a1bx2[_0x8664[2]],source:_0x1a1bx2[_0x8664[2]],destination:_0x1a1bx2[_0x8664[2]],destinationcontext:_0x1a1bx2[_0x8664[2]],callerid:_0x1a1bx2[_0x8664[2]],channel:_0x1a1bx2[_0x8664[2]],destinationchannel:_0x1a1bx2[_0x8664[2]],lastapplication:_0x1a1bx2[_0x8664[2]],lastdata:_0x1a1bx2[_0x8664[2]],starttime:_0x1a1bx2[_0x8664[3]],answertime:{type:_0x1a1bx2[_0x8664[3]],set:function(_0x1a1bx4){if(_0x1a1bx4!==_0x8664[4]){this[_0x8664[6]](_0x8664[5],_0x1a1bx4)}else {this[_0x8664[6]](_0x8664[5],null)}}},endtime:_0x1a1bx2[_0x8664[3]],duration:_0x1a1bx2[_0x8664[7]],billableseconds:_0x1a1bx2[_0x8664[7]],disposition:_0x1a1bx2[_0x8664[2]],amaflags:_0x1a1bx2[_0x8664[2]],uniqueid:{type:_0x1a1bx2[_0x8664[2]],primaryKey:true},userfield:_0x1a1bx2[_0x8664[2]]},{tableName:_0x8664[8],associate:function(_0x1a1bx5){_0x1a1bx3[_0x8664[11]](_0x1a1bx5.ReportQueueHistory,{as:_0x8664[9],foreignKey:_0x8664[10],constraints:false});_0x1a1bx3[_0x8664[11]](_0x1a1bx5.ReportAgentHistory,{as:_0x8664[12],foreignKey:_0x8664[10],constraints:false});}});_0x1a1bx3[_0x8664[15]](_0x8664[14]);return _0x1a1bx3;};
\ No newline at end of file
+var _0x7b12=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C\x48\x69\x73\x74\x6F\x72\x79","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","","\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x73\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x49\x4E\x54\x45\x47\x45\x52","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x5F\x68\x69\x73\x74\x6F\x72\x79","\x48\x69\x73\x74\x6F\x72\x79\x51\x75\x65\x75\x65\x43\x61\x6C\x6C\x73","\x75\x6E\x69\x71\x75\x65\x69\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x48\x69\x73\x74\x6F\x72\x79\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74\x73","\x64\x65\x66\x69\x6E\x65","\x69\x64","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65"];module[_0x7b12[0]]=function(_0x6900x1,_0x6900x2){var _0x6900x3=_0x6900x1[_0x7b12[13]](_0x7b12[1],{accountcode:_0x6900x2[_0x7b12[2]],source:_0x6900x2[_0x7b12[2]],destination:_0x6900x2[_0x7b12[2]],destinationcontext:_0x6900x2[_0x7b12[2]],callerid:_0x6900x2[_0x7b12[2]],channel:_0x6900x2[_0x7b12[2]],destinationchannel:_0x6900x2[_0x7b12[2]],lastapplication:_0x6900x2[_0x7b12[2]],lastdata:_0x6900x2[_0x7b12[2]],starttime:_0x6900x2[_0x7b12[3]],answertime:{type:_0x6900x2[_0x7b12[3]],set:function(_0x6900x4){if(_0x6900x4!==_0x7b12[4]){this[_0x7b12[6]](_0x7b12[5],_0x6900x4)}else {this[_0x7b12[6]](_0x7b12[5],null)}}},endtime:_0x6900x2[_0x7b12[3]],duration:_0x6900x2[_0x7b12[7]],billableseconds:_0x6900x2[_0x7b12[7]],disposition:_0x6900x2[_0x7b12[2]],amaflags:_0x6900x2[_0x7b12[2]],uniqueid:{type:_0x6900x2[_0x7b12[2]],primaryKey:true},userfield:_0x6900x2[_0x7b12[2]]},{tableName:_0x7b12[8],associate:function(_0x6900x5){_0x6900x3[_0x7b12[11]](_0x6900x5.ReportQueueHistory,{as:_0x7b12[9],foreignKey:_0x7b12[10],constraints:false});_0x6900x3[_0x7b12[11]](_0x6900x5.ReportAgentHistory,{as:_0x7b12[12],foreignKey:_0x7b12[10],constraints:false});}});_0x6900x3[_0x7b12[15]](_0x7b12[14]);return _0x6900x3;};
\ No newline at end of file
index 123c0a3..0f266c6 100644 (file)
@@ -1 +1 @@
-var _0x83aa=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x44\x69\x61\x6C\x48\x69\x73\x74\x6F\x72\x79","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x72\x65\x70\x6F\x72\x74\x5F\x64\x69\x61\x6C\x5F\x68\x69\x73\x74\x6F\x72\x79","\x64\x65\x66\x69\x6E\x65","\x69\x64","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65"];module[_0x83aa[0]]=function(_0x32c2x1,_0x32c2x2){var _0x32c2x3=_0x32c2x1[_0x83aa[5]](_0x83aa[1],{channel:_0x32c2x2[_0x83aa[2]],channelstate:_0x32c2x2[_0x83aa[3]],channelstatedesc:_0x32c2x2[_0x83aa[2]],calleridnum:_0x32c2x2[_0x83aa[2]],calleridname:_0x32c2x2[_0x83aa[2]],connectedlinenum:_0x32c2x2[_0x83aa[2]],connectedlinename:_0x32c2x2[_0x83aa[2]],language:_0x32c2x2[_0x83aa[2]],accountcode:_0x32c2x2[_0x83aa[2]],context:_0x32c2x2[_0x83aa[2]],exten:_0x32c2x2[_0x83aa[2]],priority:_0x32c2x2[_0x83aa[3]],uniqueid:_0x32c2x2[_0x83aa[2]],destchannel:_0x32c2x2[_0x83aa[2]],destchannelstate:_0x32c2x2[_0x83aa[3]],destchannelstatedesc:_0x32c2x2[_0x83aa[2]],destcalleridnum:_0x32c2x2[_0x83aa[2]],destcalleridname:_0x32c2x2[_0x83aa[2]],destconnectedlinenum:_0x32c2x2[_0x83aa[2]],destconnectedlinename:_0x32c2x2[_0x83aa[2]],destlanguage:_0x32c2x2[_0x83aa[2]],destaccountcode:_0x32c2x2[_0x83aa[2]],destcontext:_0x32c2x2[_0x83aa[2]],destexten:_0x32c2x2[_0x83aa[2]],destpriority:_0x32c2x2[_0x83aa[3]],destuniqueid:_0x32c2x2[_0x83aa[2]],dialstring:_0x32c2x2[_0x83aa[2]],dialstatus:_0x32c2x2[_0x83aa[2]]},{tableName:_0x83aa[4]});_0x32c2x3[_0x83aa[7]](_0x83aa[6]);return _0x32c2x3;};
\ No newline at end of file
+var _0x84f5=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x44\x69\x61\x6C\x48\x69\x73\x74\x6F\x72\x79","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x72\x65\x70\x6F\x72\x74\x5F\x64\x69\x61\x6C\x5F\x68\x69\x73\x74\x6F\x72\x79","\x64\x65\x66\x69\x6E\x65","\x69\x64","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65"];module[_0x84f5[0]]=function(_0x96f9x1,_0x96f9x2){var _0x96f9x3=_0x96f9x1[_0x84f5[5]](_0x84f5[1],{channel:_0x96f9x2[_0x84f5[2]],channelstate:_0x96f9x2[_0x84f5[3]],channelstatedesc:_0x96f9x2[_0x84f5[2]],calleridnum:_0x96f9x2[_0x84f5[2]],calleridname:_0x96f9x2[_0x84f5[2]],connectedlinenum:_0x96f9x2[_0x84f5[2]],connectedlinename:_0x96f9x2[_0x84f5[2]],language:_0x96f9x2[_0x84f5[2]],accountcode:_0x96f9x2[_0x84f5[2]],context:_0x96f9x2[_0x84f5[2]],exten:_0x96f9x2[_0x84f5[2]],priority:_0x96f9x2[_0x84f5[3]],uniqueid:_0x96f9x2[_0x84f5[2]],destchannel:_0x96f9x2[_0x84f5[2]],destchannelstate:_0x96f9x2[_0x84f5[3]],destchannelstatedesc:_0x96f9x2[_0x84f5[2]],destcalleridnum:_0x96f9x2[_0x84f5[2]],destcalleridname:_0x96f9x2[_0x84f5[2]],destconnectedlinenum:_0x96f9x2[_0x84f5[2]],destconnectedlinename:_0x96f9x2[_0x84f5[2]],destlanguage:_0x96f9x2[_0x84f5[2]],destaccountcode:_0x96f9x2[_0x84f5[2]],destcontext:_0x96f9x2[_0x84f5[2]],destexten:_0x96f9x2[_0x84f5[2]],destpriority:_0x96f9x2[_0x84f5[3]],destuniqueid:_0x96f9x2[_0x84f5[2]],dialstring:_0x96f9x2[_0x84f5[2]],dialstatus:_0x96f9x2[_0x84f5[2]]},{tableName:_0x84f5[4]});_0x96f9x3[_0x84f5[7]](_0x84f5[6]);return _0x96f9x3;};
\ No newline at end of file
index b0b11c6..e503c65 100644 (file)
@@ -1 +1 @@
-var _0xe717=["\x65\x78\x70\x6F\x72\x74\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","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x54\x45\x58\x54","\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","\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","\x64\x65\x66\x69\x6E\x65","\x69\x64","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65"];module[_0xe717[0]]=function(_0xff56x1,_0xff56x2){var _0xff56x3=_0xff56x1[_0xe717[12]](_0xe717[1],{integration:_0xff56x2[_0xe717[2]],event:_0xff56x2[_0xe717[2]],contacts:_0xff56x2[_0xe717[2]],uniqueid:_0xff56x2[_0xe717[2]],calleridnum:_0xff56x2[_0xe717[2]],calleridname:_0xff56x2[_0xe717[2]],queue:_0xff56x2[_0xe717[2]],interface:_0xff56x2[_0xe717[2]],membername:_0xff56x2[_0xe717[2]],agentcalledAt:_0xff56x2[_0xe717[3]],agentconnectAt:_0xff56x2[_0xe717[3]],holdtime:_0xff56x2[_0xe717[4]],agentcomplete:{type:_0xff56x2[_0xe717[5]],defaultValue:false},agentcompleteAt:_0xff56x2[_0xe717[3]],talktime:_0xff56x2[_0xe717[4]],agentacw:{type:_0xff56x2[_0xe717[5]],defaultValue:false},acwtime:_0xff56x2[_0xe717[4]],reason:_0xff56x2[_0xe717[2]],agentringnoanswer:{type:_0xff56x2[_0xe717[5]],defaultValue:false},agentringnoanswerAt:_0xff56x2[_0xe717[3]],agentdump:{type:_0xff56x2[_0xe717[5]],defaultValue:false},agentdumpAt:_0xff56x2[_0xe717[3]],lastevent:_0xff56x2[_0xe717[2]],channel:_0xff56x2[_0xe717[2]],channelstate:_0xff56x2[_0xe717[4]],channelstatedesc:_0xff56x2[_0xe717[2]],connectedlinenum:_0xff56x2[_0xe717[2]],connectedlinename:_0xff56x2[_0xe717[2]],language:_0xff56x2[_0xe717[2]],accountcode:_0xff56x2[_0xe717[2]],context:_0xff56x2[_0xe717[2]],exten:_0xff56x2[_0xe717[2]],priority:_0xff56x2[_0xe717[2]],destchannel:_0xff56x2[_0xe717[2]],destchannelstate:_0xff56x2[_0xe717[4]],destchannelstatedesc:_0xff56x2[_0xe717[2]],destcalleridnum:_0xff56x2[_0xe717[2]],destcalleridname:_0xff56x2[_0xe717[2]],destconnectedlinenum:_0xff56x2[_0xe717[2]],destconnectedlinename:_0xff56x2[_0xe717[2]],destlanguage:_0xff56x2[_0xe717[2]],destaccountcode:_0xff56x2[_0xe717[2]],destcontext:_0xff56x2[_0xe717[2]],destexten:_0xff56x2[_0xe717[2]],destpriority:_0xff56x2[_0xe717[2]],destuniqueid:_0xff56x2[_0xe717[2]],messageId:_0xff56x2[_0xe717[2]],inReplyTo:_0xff56x2[_0xe717[2]],subject:_0xff56x2[_0xe717[2]],from:_0xff56x2[_0xe717[2]],to:_0xff56x2[_0xe717[2]],cc:_0xff56x2[_0xe717[2]],attachment:_0xff56x2[_0xe717[6]],html:_0xff56x2[_0xe717[6]],text:_0xff56x2[_0xe717[6]],status:{type:_0xff56x2.ENUM(_0xe717[7],_0xe717[8],_0xe717[9],_0xe717[10])}},{tableName:_0xe717[11]});_0xff56x3[_0xe717[14]](_0xe717[13]);return _0xff56x3;};
\ No newline at end of file
+var _0xfa29=["\x65\x78\x70\x6F\x72\x74\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","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x54\x45\x58\x54","\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","\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","\x64\x65\x66\x69\x6E\x65","\x69\x64","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65"];module[_0xfa29[0]]=function(_0x493ax1,_0x493ax2){var _0x493ax3=_0x493ax1[_0xfa29[12]](_0xfa29[1],{integration:_0x493ax2[_0xfa29[2]],event:_0x493ax2[_0xfa29[2]],contacts:_0x493ax2[_0xfa29[2]],uniqueid:_0x493ax2[_0xfa29[2]],calleridnum:_0x493ax2[_0xfa29[2]],calleridname:_0x493ax2[_0xfa29[2]],queue:_0x493ax2[_0xfa29[2]],interface:_0x493ax2[_0xfa29[2]],membername:_0x493ax2[_0xfa29[2]],agentcalledAt:_0x493ax2[_0xfa29[3]],agentconnectAt:_0x493ax2[_0xfa29[3]],holdtime:_0x493ax2[_0xfa29[4]],agentcomplete:{type:_0x493ax2[_0xfa29[5]],defaultValue:false},agentcompleteAt:_0x493ax2[_0xfa29[3]],talktime:_0x493ax2[_0xfa29[4]],agentacw:{type:_0x493ax2[_0xfa29[5]],defaultValue:false},acwtime:_0x493ax2[_0xfa29[4]],reason:_0x493ax2[_0xfa29[2]],agentringnoanswer:{type:_0x493ax2[_0xfa29[5]],defaultValue:false},agentringnoanswerAt:_0x493ax2[_0xfa29[3]],agentdump:{type:_0x493ax2[_0xfa29[5]],defaultValue:false},agentdumpAt:_0x493ax2[_0xfa29[3]],lastevent:_0x493ax2[_0xfa29[2]],channel:_0x493ax2[_0xfa29[2]],channelstate:_0x493ax2[_0xfa29[4]],channelstatedesc:_0x493ax2[_0xfa29[2]],connectedlinenum:_0x493ax2[_0xfa29[2]],connectedlinename:_0x493ax2[_0xfa29[2]],language:_0x493ax2[_0xfa29[2]],accountcode:_0x493ax2[_0xfa29[2]],context:_0x493ax2[_0xfa29[2]],exten:_0x493ax2[_0xfa29[2]],priority:_0x493ax2[_0xfa29[2]],destchannel:_0x493ax2[_0xfa29[2]],destchannelstate:_0x493ax2[_0xfa29[4]],destchannelstatedesc:_0x493ax2[_0xfa29[2]],destcalleridnum:_0x493ax2[_0xfa29[2]],destcalleridname:_0x493ax2[_0xfa29[2]],destconnectedlinenum:_0x493ax2[_0xfa29[2]],destconnectedlinename:_0x493ax2[_0xfa29[2]],destlanguage:_0x493ax2[_0xfa29[2]],destaccountcode:_0x493ax2[_0xfa29[2]],destcontext:_0x493ax2[_0xfa29[2]],destexten:_0x493ax2[_0xfa29[2]],destpriority:_0x493ax2[_0xfa29[2]],destuniqueid:_0x493ax2[_0xfa29[2]],messageId:_0x493ax2[_0xfa29[2]],inReplyTo:_0x493ax2[_0xfa29[2]],subject:_0x493ax2[_0xfa29[2]],from:_0x493ax2[_0xfa29[2]],to:_0x493ax2[_0xfa29[2]],cc:_0x493ax2[_0xfa29[2]],attachment:_0x493ax2[_0xfa29[6]],html:_0x493ax2[_0xfa29[6]],text:_0x493ax2[_0xfa29[6]],status:{type:_0x493ax2.ENUM(_0xfa29[7],_0xfa29[8],_0xfa29[9],_0xfa29[10])}},{tableName:_0xfa29[11]});_0x493ax3[_0xfa29[14]](_0xfa29[13]);return _0x493ax3;};
\ No newline at end of file
index 51237e8..4e7d702 100644 (file)
@@ -1 +1 @@
-var _0xa751=["\x6D\x6F\x6D\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\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","\x49\x4E\x54\x45\x47\x45\x52","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x44\x41\x54\x45","\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","\x64\x65\x66\x69\x6E\x65","\x69\x64","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65"];var moment=require(_0xa751[0]);module[_0xa751[1]]=function(_0x466cx2,_0x466cx3){var _0x466cx4=_0x466cx2[_0xa751[8]](_0xa751[2],{uniqueid:{type:_0x466cx3[_0xa751[3]]},subject:_0x466cx3[_0xa751[4]],from:_0x466cx3[_0xa751[4]],cc:_0x466cx3[_0xa751[4]],attachment:_0x466cx3[_0xa751[5]],accountname:_0x466cx3[_0xa751[4]],accountaddress:_0x466cx3[_0xa751[4]],fullname:_0x466cx3[_0xa751[4]],membername:_0x466cx3[_0xa751[4]],mailqueuename:_0x466cx3[_0xa751[4]],mailjoinAt:_0x466cx3[_0xa751[6]],mailleaveAt:_0x466cx3[_0xa751[6]],mailunmanagedAt:_0x466cx3[_0xa751[6]]},{tableName:_0xa751[7]});_0x466cx4[_0xa751[10]](_0xa751[9]);return _0x466cx4;};
\ No newline at end of file
+var _0x8919=["\x6D\x6F\x6D\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\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","\x49\x4E\x54\x45\x47\x45\x52","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x44\x41\x54\x45","\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","\x64\x65\x66\x69\x6E\x65","\x69\x64","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65"];var moment=require(_0x8919[0]);module[_0x8919[1]]=function(_0x547ax2,_0x547ax3){var _0x547ax4=_0x547ax2[_0x8919[8]](_0x8919[2],{uniqueid:{type:_0x547ax3[_0x8919[3]]},subject:_0x547ax3[_0x8919[4]],from:_0x547ax3[_0x8919[4]],cc:_0x547ax3[_0x8919[4]],attachment:_0x547ax3[_0x8919[5]],accountname:_0x547ax3[_0x8919[4]],accountaddress:_0x547ax3[_0x8919[4]],fullname:_0x547ax3[_0x8919[4]],membername:_0x547ax3[_0x8919[4]],mailqueuename:_0x547ax3[_0x8919[4]],mailjoinAt:_0x547ax3[_0x8919[6]],mailleaveAt:_0x547ax3[_0x8919[6]],mailunmanagedAt:_0x547ax3[_0x8919[6]]},{tableName:_0x8919[7]});_0x547ax4[_0x8919[10]](_0x8919[9]);return _0x547ax4;};
\ No newline at end of file
index fcc88ee..d018fca 100644 (file)
@@ -1 +1 @@
-var _0x1843=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72\x48\x69\x73\x74\x6F\x72\x79","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x44\x41\x54\x45","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x5F\x68\x69\x73\x74\x6F\x72\x79","\x64\x65\x66\x69\x6E\x65","\x69\x64","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65"];module[_0x1843[0]]=function(_0x1047x1,_0x1047x2){var _0x1047x3=_0x1047x1[_0x1843[6]](_0x1843[1],{stateinterface:_0x1047x2[_0x1843[2]],queue:_0x1047x2[_0x1843[2]],membername:_0x1047x2[_0x1843[2]],interface:_0x1047x2[_0x1843[2]],state:_0x1047x2[_0x1843[3]],statedesc:_0x1047x2[_0x1843[2]],enterdate:_0x1047x2[_0x1843[4]],exitdate:_0x1047x2[_0x1843[4]],reason:_0x1047x2[_0x1843[2]]},{tableName:_0x1843[5]});_0x1047x3[_0x1843[8]](_0x1843[7]);return _0x1047x3;};
\ No newline at end of file
+var _0xe502=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72\x48\x69\x73\x74\x6F\x72\x79","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x44\x41\x54\x45","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x5F\x68\x69\x73\x74\x6F\x72\x79","\x64\x65\x66\x69\x6E\x65","\x69\x64","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65"];module[_0xe502[0]]=function(_0xda47x1,_0xda47x2){var _0xda47x3=_0xda47x1[_0xe502[6]](_0xe502[1],{stateinterface:_0xda47x2[_0xe502[2]],queue:_0xda47x2[_0xe502[2]],membername:_0xda47x2[_0xe502[2]],interface:_0xda47x2[_0xe502[2]],state:_0xda47x2[_0xe502[3]],statedesc:_0xda47x2[_0xe502[2]],enterdate:_0xda47x2[_0xe502[4]],exitdate:_0xda47x2[_0xe502[4]],reason:_0xda47x2[_0xe502[2]]},{tableName:_0xe502[5]});_0xda47x3[_0xe502[8]](_0xe502[7]);return _0xda47x3;};
\ No newline at end of file
index eca80ce..9cea9c9 100644 (file)
@@ -1 +1 @@
-var _0xe077=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65\x48\x69\x73\x74\x6F\x72\x79","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x5F\x68\x69\x73\x74\x6F\x72\x79","\x64\x65\x66\x69\x6E\x65","\x69\x64","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65"];module[_0xe077[0]]=function(_0xd0e6x1,_0xd0e6x2){var _0xd0e6x3=_0xd0e6x1[_0xe077[7]](_0xe077[1],{uniqueid:_0xd0e6x2[_0xe077[2]],calleridnum:_0xd0e6x2[_0xe077[2]],calleridname:_0xd0e6x2[_0xe077[2]],queue:_0xd0e6x2[_0xe077[2]],queuecallerjoinAt:_0xd0e6x2[_0xe077[3]],queuecallerleaveAt:_0xd0e6x2[_0xe077[3]],position:_0xd0e6x2[_0xe077[4]],count:_0xd0e6x2[_0xe077[4]],queuecallerabandon:{type:_0xd0e6x2[_0xe077[5]],defaultValue:false},queuecallerabandonAt:_0xd0e6x2[_0xe077[3]],queuecallercompleteAt:_0xd0e6x2[_0xe077[3]],originalposition:_0xd0e6x2[_0xe077[4]],channel:_0xd0e6x2[_0xe077[2]],channelstate:_0xd0e6x2[_0xe077[4]],channelstatedesc:_0xd0e6x2[_0xe077[2]],connectedlinenum:_0xd0e6x2[_0xe077[2]],connectedlinename:_0xd0e6x2[_0xe077[2]],language:_0xd0e6x2[_0xe077[2]],accountcode:_0xd0e6x2[_0xe077[2]],context:_0xd0e6x2[_0xe077[2]],exten:_0xd0e6x2[_0xe077[2]],priority:_0xd0e6x2[_0xe077[2]]},{tableName:_0xe077[6]});_0xd0e6x3[_0xe077[9]](_0xe077[8]);return _0xd0e6x3;};
\ No newline at end of file
+var _0x3197=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65\x48\x69\x73\x74\x6F\x72\x79","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x5F\x68\x69\x73\x74\x6F\x72\x79","\x64\x65\x66\x69\x6E\x65","\x69\x64","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65"];module[_0x3197[0]]=function(_0x31b0x1,_0x31b0x2){var _0x31b0x3=_0x31b0x1[_0x3197[7]](_0x3197[1],{uniqueid:_0x31b0x2[_0x3197[2]],calleridnum:_0x31b0x2[_0x3197[2]],calleridname:_0x31b0x2[_0x3197[2]],queue:_0x31b0x2[_0x3197[2]],queuecallerjoinAt:_0x31b0x2[_0x3197[3]],queuecallerleaveAt:_0x31b0x2[_0x3197[3]],position:_0x31b0x2[_0x3197[4]],count:_0x31b0x2[_0x3197[4]],queuecallerabandon:{type:_0x31b0x2[_0x3197[5]],defaultValue:false},queuecallerabandonAt:_0x31b0x2[_0x3197[3]],queuecallercompleteAt:_0x31b0x2[_0x3197[3]],originalposition:_0x31b0x2[_0x3197[4]],channel:_0x31b0x2[_0x3197[2]],channelstate:_0x31b0x2[_0x3197[4]],channelstatedesc:_0x31b0x2[_0x3197[2]],connectedlinenum:_0x31b0x2[_0x3197[2]],connectedlinename:_0x31b0x2[_0x3197[2]],language:_0x31b0x2[_0x3197[2]],accountcode:_0x31b0x2[_0x3197[2]],context:_0x31b0x2[_0x3197[2]],exten:_0x31b0x2[_0x3197[2]],priority:_0x31b0x2[_0x3197[2]]},{tableName:_0x3197[6]});_0x31b0x3[_0x3197[9]](_0x3197[8]);return _0x31b0x3;};
\ No newline at end of file
index 21f64fb..1a98da3 100644 (file)
@@ -1 +1 @@
-var _0x1dee=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x66\x73","\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","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x6D\x6F\x6D\x65\x6E\x74","\x63\x6F\x6E\x66\x69\x67","\x50\x72\x6F\x6D\x69\x73\x65","\x64\x61\x74\x61\x62\x61\x73\x65","\x64\x62","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x68\x6F\x73\x74","\x6D\x79\x73\x71\x6C","\x5A","\x66\x6F\x72\x6D\x61\x74","\x6A\x6F\x69\x6E","\x69\x6D\x70\x6F\x72\x74","\x6E\x61\x6D\x65","\x66\x6F\x72\x45\x61\x63\x68","\x69\x73\x46\x69\x6C\x65","\x6C\x73\x74\x61\x74\x53\x79\x6E\x63","\x2E","\x69\x6E\x64\x65\x78\x4F\x66","\x2E\x73\x70\x65\x63\x2E","\x69\x6E\x64\x65\x78\x2E\x6A\x73","\x66\x69\x6C\x74\x65\x72","\x72\x65\x61\x64\x64\x69\x72\x53\x79\x6E\x63","\x61\x73\x73\x6F\x63\x69\x61\x74\x65","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x6F\x70\x74\x69\x6F\x6E\x73","\x6B\x65\x79\x73","\x68\x69\x73\x74\x6F\x72\x79","\x64\x62\x5F\x68\x69\x73\x74\x6F\x72\x79","\x48\x69\x73\x74\x6F\x72\x79\x49\x6E\x62\x6F\x75\x6E\x64\x73","\x73\x6F\x75\x72\x63\x65","\x68\x61\x73\x4D\x61\x6E\x79","\x43\x6F\x6E\x74\x61\x63\x74\x50\x68\x6F\x6E\x65","\x48\x69\x73\x74\x6F\x72\x79\x4F\x75\x74\x62\x6F\x75\x6E\x64\x73","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E","\x48\x69\x73\x74\x6F\x72\x79\x49\x6E\x62\x6F\x75\x6E\x64\x4D\x65\x73\x73\x61\x67\x65\x73","\x66\x72\x6F\x6D","\x43\x6F\x6E\x74\x61\x63\x74\x45\x6D\x61\x69\x6C","\x48\x69\x73\x74\x6F\x72\x79\x4F\x75\x74\x62\x6F\x75\x6E\x64\x4D\x65\x73\x73\x61\x67\x65\x73","\x74\x6F","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65\x5F\x68\x69\x73\x74\x6F\x72\x79","\x53\x65\x71\x75\x65\x6C\x69\x7A\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x1dee[0];var fs=require(_0x1dee[1]);var path=require(_0x1dee[2]);var config=require(_0x1dee[3]);var Sequelize=require(_0x1dee[4]);var moment=require(_0x1dee[5]);Sequelize[_0x1dee[7]][_0x1dee[6]]({warnings:{wForgottenReturn:false}});var sequelize= new Sequelize(config[_0x1dee[9]][_0x1dee[8]],config[_0x1dee[9]][_0x1dee[10]],config[_0x1dee[9]][_0x1dee[11]],{host:config[_0x1dee[9]][_0x1dee[12]],dialect:_0x1dee[13],timezone:moment()[_0x1dee[15]](_0x1dee[14]),logging:false});var db={};fs[_0x1dee[27]](__dirname)[_0x1dee[26]](function(_0x6f85x8){return (fs[_0x1dee[21]](path[_0x1dee[16]](__dirname,_0x6f85x8))[_0x1dee[20]]())&&(_0x6f85x8[_0x1dee[23]](_0x1dee[22])!==0)&&(_0x6f85x8[_0x1dee[23]](_0x1dee[24])=== -1)&&(_0x6f85x8!==_0x1dee[25])})[_0x1dee[19]](function(_0x6f85x8){var _0x6f85x9=sequelize[_0x1dee[17]](path[_0x1dee[16]](__dirname,_0x6f85x8));db[_0x6f85x9[_0x1dee[18]]]=_0x6f85x9;});Object[_0x1dee[31]](db)[_0x1dee[19]](function(_0x6f85xa){if(db[_0x6f85xa][_0x1dee[30]][_0x1dee[29]](_0x1dee[28])){db[_0x6f85xa][_0x1dee[30]][_0x1dee[28]](db)}});db[_0x1dee[32]]={};var sequelize_history= new Sequelize(config[_0x1dee[33]][_0x1dee[8]],config[_0x1dee[33]][_0x1dee[10]],config[_0x1dee[33]][_0x1dee[11]],{host:config[_0x1dee[33]][_0x1dee[12]],dialect:_0x1dee[13],timezone:moment()[_0x1dee[15]](_0x1dee[14]),logging:false});fs[_0x1dee[27]](path[_0x1dee[16]](__dirname,_0x1dee[32]))[_0x1dee[26]](function(_0x6f85x8){return (fs[_0x1dee[21]](path[_0x1dee[16]](__dirname,_0x1dee[32],_0x6f85x8))[_0x1dee[20]]())&&(_0x6f85x8[_0x1dee[23]](_0x1dee[22])!==0)&&(_0x6f85x8[_0x1dee[23]](_0x1dee[24])=== -1)&&(_0x6f85x8!==_0x1dee[25])})[_0x1dee[19]](function(_0x6f85x8){var _0x6f85x9=sequelize_history[_0x1dee[17]](path[_0x1dee[16]](__dirname,_0x1dee[32],_0x6f85x8));db[_0x1dee[32]][_0x6f85x9[_0x1dee[18]]]=_0x6f85x9;});Object[_0x1dee[31]](db[_0x1dee[32]])[_0x1dee[19]](function(_0x6f85xa){if(db[_0x1dee[32]][_0x6f85xa][_0x1dee[30]][_0x1dee[29]](_0x1dee[28])){db[_0x1dee[32]][_0x6f85xa][_0x1dee[30]][_0x1dee[28]](db[_0x1dee[32]])}});db[_0x1dee[37]][_0x1dee[36]](db[_0x1dee[32]].ReportCallHistory,{as:_0x1dee[34],foreignKey:_0x1dee[35],constraints:false});db[_0x1dee[37]][_0x1dee[36]](db[_0x1dee[32]].ReportCallHistory,{as:_0x1dee[38],foreignKey:_0x1dee[39],constraints:false});db[_0x1dee[42]][_0x1dee[36]](db[_0x1dee[32]].ReportMailSessionHistory,{as:_0x1dee[40],foreignKey:_0x1dee[41],constraints:false});db[_0x1dee[42]][_0x1dee[36]](db[_0x1dee[32]].ReportMailSessionHistory,{as:_0x1dee[43],foreignKey:_0x1dee[44],constraints:false});db[_0x1dee[4]]=sequelize;db[_0x1dee[45]]=sequelize_history;db[_0x1dee[46]]=Sequelize;module[_0x1dee[47]]=db;
\ No newline at end of file
+var _0xcb26=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x66\x73","\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","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x6D\x6F\x6D\x65\x6E\x74","\x63\x6F\x6E\x66\x69\x67","\x50\x72\x6F\x6D\x69\x73\x65","\x64\x61\x74\x61\x62\x61\x73\x65","\x64\x62","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x68\x6F\x73\x74","\x6D\x79\x73\x71\x6C","\x5A","\x66\x6F\x72\x6D\x61\x74","\x6A\x6F\x69\x6E","\x69\x6D\x70\x6F\x72\x74","\x6E\x61\x6D\x65","\x66\x6F\x72\x45\x61\x63\x68","\x69\x73\x46\x69\x6C\x65","\x6C\x73\x74\x61\x74\x53\x79\x6E\x63","\x2E","\x69\x6E\x64\x65\x78\x4F\x66","\x2E\x73\x70\x65\x63\x2E","\x69\x6E\x64\x65\x78\x2E\x6A\x73","\x66\x69\x6C\x74\x65\x72","\x72\x65\x61\x64\x64\x69\x72\x53\x79\x6E\x63","\x61\x73\x73\x6F\x63\x69\x61\x74\x65","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x6F\x70\x74\x69\x6F\x6E\x73","\x6B\x65\x79\x73","\x68\x69\x73\x74\x6F\x72\x79","\x64\x62\x5F\x68\x69\x73\x74\x6F\x72\x79","\x48\x69\x73\x74\x6F\x72\x79\x49\x6E\x62\x6F\x75\x6E\x64\x73","\x73\x6F\x75\x72\x63\x65","\x68\x61\x73\x4D\x61\x6E\x79","\x43\x6F\x6E\x74\x61\x63\x74\x50\x68\x6F\x6E\x65","\x48\x69\x73\x74\x6F\x72\x79\x4F\x75\x74\x62\x6F\x75\x6E\x64\x73","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E","\x48\x69\x73\x74\x6F\x72\x79\x49\x6E\x62\x6F\x75\x6E\x64\x4D\x65\x73\x73\x61\x67\x65\x73","\x66\x72\x6F\x6D","\x43\x6F\x6E\x74\x61\x63\x74\x45\x6D\x61\x69\x6C","\x48\x69\x73\x74\x6F\x72\x79\x4F\x75\x74\x62\x6F\x75\x6E\x64\x4D\x65\x73\x73\x61\x67\x65\x73","\x74\x6F","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65\x5F\x68\x69\x73\x74\x6F\x72\x79","\x53\x65\x71\x75\x65\x6C\x69\x7A\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xcb26[0];var fs=require(_0xcb26[1]);var path=require(_0xcb26[2]);var config=require(_0xcb26[3]);var Sequelize=require(_0xcb26[4]);var moment=require(_0xcb26[5]);Sequelize[_0xcb26[7]][_0xcb26[6]]({warnings:{wForgottenReturn:false}});var sequelize= new Sequelize(config[_0xcb26[9]][_0xcb26[8]],config[_0xcb26[9]][_0xcb26[10]],config[_0xcb26[9]][_0xcb26[11]],{host:config[_0xcb26[9]][_0xcb26[12]],dialect:_0xcb26[13],timezone:moment()[_0xcb26[15]](_0xcb26[14]),logging:false});var db={};fs[_0xcb26[27]](__dirname)[_0xcb26[26]](function(_0x7f54x8){return (fs[_0xcb26[21]](path[_0xcb26[16]](__dirname,_0x7f54x8))[_0xcb26[20]]())&&(_0x7f54x8[_0xcb26[23]](_0xcb26[22])!==0)&&(_0x7f54x8[_0xcb26[23]](_0xcb26[24])=== -1)&&(_0x7f54x8!==_0xcb26[25])})[_0xcb26[19]](function(_0x7f54x8){var _0x7f54x9=sequelize[_0xcb26[17]](path[_0xcb26[16]](__dirname,_0x7f54x8));db[_0x7f54x9[_0xcb26[18]]]=_0x7f54x9;});Object[_0xcb26[31]](db)[_0xcb26[19]](function(_0x7f54xa){if(db[_0x7f54xa][_0xcb26[30]][_0xcb26[29]](_0xcb26[28])){db[_0x7f54xa][_0xcb26[30]][_0xcb26[28]](db)}});db[_0xcb26[32]]={};var sequelize_history= new Sequelize(config[_0xcb26[33]][_0xcb26[8]],config[_0xcb26[33]][_0xcb26[10]],config[_0xcb26[33]][_0xcb26[11]],{host:config[_0xcb26[33]][_0xcb26[12]],dialect:_0xcb26[13],timezone:moment()[_0xcb26[15]](_0xcb26[14]),logging:false});fs[_0xcb26[27]](path[_0xcb26[16]](__dirname,_0xcb26[32]))[_0xcb26[26]](function(_0x7f54x8){return (fs[_0xcb26[21]](path[_0xcb26[16]](__dirname,_0xcb26[32],_0x7f54x8))[_0xcb26[20]]())&&(_0x7f54x8[_0xcb26[23]](_0xcb26[22])!==0)&&(_0x7f54x8[_0xcb26[23]](_0xcb26[24])=== -1)&&(_0x7f54x8!==_0xcb26[25])})[_0xcb26[19]](function(_0x7f54x8){var _0x7f54x9=sequelize_history[_0xcb26[17]](path[_0xcb26[16]](__dirname,_0xcb26[32],_0x7f54x8));db[_0xcb26[32]][_0x7f54x9[_0xcb26[18]]]=_0x7f54x9;});Object[_0xcb26[31]](db[_0xcb26[32]])[_0xcb26[19]](function(_0x7f54xa){if(db[_0xcb26[32]][_0x7f54xa][_0xcb26[30]][_0xcb26[29]](_0xcb26[28])){db[_0xcb26[32]][_0x7f54xa][_0xcb26[30]][_0xcb26[28]](db[_0xcb26[32]])}});db[_0xcb26[37]][_0xcb26[36]](db[_0xcb26[32]].ReportCallHistory,{as:_0xcb26[34],foreignKey:_0xcb26[35],constraints:false});db[_0xcb26[37]][_0xcb26[36]](db[_0xcb26[32]].ReportCallHistory,{as:_0xcb26[38],foreignKey:_0xcb26[39],constraints:false});db[_0xcb26[42]][_0xcb26[36]](db[_0xcb26[32]].ReportMailSessionHistory,{as:_0xcb26[40],foreignKey:_0xcb26[41],constraints:false});db[_0xcb26[42]][_0xcb26[36]](db[_0xcb26[32]].ReportMailSessionHistory,{as:_0xcb26[43],foreignKey:_0xcb26[44],constraints:false});db[_0xcb26[4]]=sequelize;db[_0xcb26[45]]=sequelize_history;db[_0xcb26[46]]=Sequelize;module[_0xcb26[47]]=db;
\ No newline at end of file
index ad1674c..acdf8a7 100644 (file)
@@ -1 +1 @@
-var _0x1513=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x75\x6E\x69\x71\x75\x65\x5F\x6E\x61\x6D\x65\x5F\x61\x6E\x64\x5F\x76\x65\x72\x73\x69\x6F\x6E","\x61\x70\x70\x2E\x6A\x73","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73","\x64\x65\x66\x69\x6E\x65"];_0x1513[0];module[_0x1513[1]]=function(_0xd51bx1,_0xd51bx2){var _0xd51bx3=_0xd51bx1[_0x1513[9]](_0x1513[2],{name:{type:_0xd51bx2[_0x1513[3]],allowNull:false,unique:_0x1513[4],validate:{notEmpty:true}},version:{type:_0xd51bx2[_0x1513[3]],allowNull:false,unique:_0x1513[4],validate:{notEmpty:true}},main:{type:_0xd51bx2[_0x1513[3]],defaultValue:_0x1513[5]},filename:{type:_0xd51bx2[_0x1513[3]]},path:{type:_0xd51bx2[_0x1513[3]]},type:{type:_0xd51bx2[_0x1513[3]]},size:{type:_0xd51bx2[_0x1513[6]]},active:{type:_0xd51bx2[_0x1513[7]],defaultValue:false},author:_0xd51bx2[_0x1513[3]],logo:_0xd51bx2[_0x1513[3]],state:_0xd51bx2[_0x1513[3]],description:_0xd51bx2[_0x1513[3]]},{tableName:_0x1513[8]});return _0xd51bx3;};
\ No newline at end of file
+var _0x93de=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x75\x6E\x69\x71\x75\x65\x5F\x6E\x61\x6D\x65\x5F\x61\x6E\x64\x5F\x76\x65\x72\x73\x69\x6F\x6E","\x61\x70\x70\x2E\x6A\x73","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73","\x64\x65\x66\x69\x6E\x65"];_0x93de[0];module[_0x93de[1]]=function(_0x91b0x1,_0x91b0x2){var _0x91b0x3=_0x91b0x1[_0x93de[9]](_0x93de[2],{name:{type:_0x91b0x2[_0x93de[3]],allowNull:false,unique:_0x93de[4],validate:{notEmpty:true}},version:{type:_0x91b0x2[_0x93de[3]],allowNull:false,unique:_0x93de[4],validate:{notEmpty:true}},main:{type:_0x91b0x2[_0x93de[3]],defaultValue:_0x93de[5]},filename:{type:_0x91b0x2[_0x93de[3]]},path:{type:_0x91b0x2[_0x93de[3]]},type:{type:_0x91b0x2[_0x93de[3]]},size:{type:_0x91b0x2[_0x93de[6]]},active:{type:_0x91b0x2[_0x93de[7]],defaultValue:false},author:_0x91b0x2[_0x93de[3]],logo:_0x91b0x2[_0x93de[3]],state:{type:_0x91b0x2[_0x93de[3]],unique:true},description:_0x91b0x2[_0x93de[3]]},{tableName:_0x93de[8]});return _0x91b0x3;};
\ No newline at end of file
index db80578..77d7dc4 100644 (file)
@@ -1 +1 @@
-var _0x52b3=["\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\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","\x53\x65\x74","\x43\x41\x4C\x4C\x45\x52\x49\x44\x28\x61\x6C\x6C\x29\x3D\x25\x73","\x44\x69\x61\x6C","\x25\x73\x2C\x25\x73\x2C\x25\x73\x2C\x25\x73","\x4E\x6F\x4F\x70","\x44\x69\x61\x6C\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x41\x6E\x73\x77\x65\x72","","\x51\x75\x65\x75\x65","\x25\x73\x2C\x25\x73\x2C\x25\x73\x2C\x25\x73\x2C\x25\x73","\x51\x75\x65\x75\x65\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x50\x6C\x61\x79\x62\x61\x63\x6B","\x25\x73\x2C\x25\x73","\x50\x6C\x61\x79\x62\x61\x63\x6B\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\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\x25\x73","\x41\x47\x49\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x47\x6F\x74\x6F","\x25\x73\x2C\x25\x73\x2C\x25\x64","\x47\x6F\x74\x6F\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x48\x61\x6E\x67\x75\x70","\x25\x73","\x48\x61\x6E\x67\x75\x70\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x25\x73\x3D\x25\x73","\x53\x65\x74\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x63\x75\x73\x74\x6F\x6D","\x43\x75\x73\x74\x6F\x6D\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x65\x78\x70\x6F\x72\x74\x73","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x53\x54\x52\x49\x4E\x47","\x6E\x61\x6D\x65\x5F\x69\x6E\x74\x65\x72\x76\x61\x6C\x69\x64","\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x53\x75\x62\x49\x6E\x74\x65\x72\x76\x61\x6C\x73","\x63\x61\x73\x63\x61\x64\x65","\x68\x61\x73\x4D\x61\x6E\x79","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x3F","\x73\x70\x6C\x69\x74","\x61\x70\x70\x64\x61\x74\x61","\x25\x73\x3F\x25\x73","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x66\x6F\x72\x6D\x61\x74","\x73\x61\x76\x65","\x66\x6F\x72\x45\x61\x63\x68","\x74\x68\x65\x6E","\x67\x65\x74\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x69\x6E\x74\x65\x72\x76\x61\x6C\x20\x6E\x6F\x74\x20\x79\x65\x74\x20\x64\x65\x6C\x65\x74\x65\x64","\x62\x65\x66\x6F\x72\x65\x44\x65\x73\x74\x72\x6F\x79","\x69\x6E\x74\x65\x72\x76\x61\x6C\x20\x63\x72\x65\x61\x74\x65\x64","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x64\x65\x66\x69\x6E\x65","\x46\x69\x6E\x64\x69\x6E\x67\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x20\x61\x70\x70\x73\x2E\x2E","\x6C\x65\x6E\x67\x74\x68","\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x20\x66\x6F\x75\x6E\x64","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x70\x6C\x75\x63\x6B","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x49\x64","\x75\x6E\x69\x71","\x53\x74\x61\x72\x74\x69\x6E\x67\x20\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E\x20\x62\x65\x66\x6F\x72\x65\x20\x64\x65\x73\x74\x72\x6F\x79\x2E\x2E","\x44\x65\x73\x74\x72\x6F\x79\x69\x6E\x67\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x20\x72\x6F\x77\x73\x2E\x2E\x2E","\x44\x65\x73\x74\x72\x6F\x79\x65\x64\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x66\x69\x6C\x74\x65\x72","\x46\x69\x6E\x64\x69\x6E\x67\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x46\x6F\x75\x6E\x64\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x73\x2C\x20\x63\x72\x65\x61\x74\x69\x6E\x67\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x20\x72\x6F\x77\x73\x2E\x2E\x2E","\x43\x72\x65\x61\x74\x69\x6E\x67\x20\x61\x70\x70\x2E\x2E","\x61\x70\x70","\x63\x6C\x6F\x6E\x65\x44\x65\x65\x70","\x63\x75\x73\x74\x6F\x6D\x41\x70\x70","\x50\x52\x49\x4F\x52\x49\x54\x59","\x25\x73\x25\x73\x25\x73","\x63\x6F\x6E\x74\x65\x78\x74","\x65\x78\x74\x65\x6E","\x2A\x2C\x2A\x2C\x2A\x2C\x2A","\x73\x70\x6C\x69\x63\x65","\x47\x6F\x74\x6F\x49\x66\x54\x69\x6D\x65\x46\x72\x6F\x6D\x41\x72\x72\x61\x79","\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","\x69\x64","\x75\x6E\x73\x68\x69\x66\x74","\x72\x65\x74\x75\x72\x6E\x65\x64\x20\x70\x72\x69\x6F\x72\x69\x74\x79","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x54\x48\x45\x20\x45\x4E\x44","\x66\x69\x6E\x64\x41\x6C\x6C","\x64\x65\x73\x74\x72\x6F\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x63\x61\x6C\x6C\x65\x72\x49\x44","\x72\x65\x6D\x6F\x76\x65","\x74\x79\x70\x65","\x70\x72\x69\x6F\x72\x69\x74\x79","\x61\x70\x70\x47\x72\x6F\x75\x70","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x74\x72\x75\x6E\x6B","\x54\x72\x75\x6E\x6B\x49\x64","\x63\x75\x74\x64\x69\x67\x69\x74\x73","\x69\x6E\x74\x65\x72\x66\x61\x63\x65","\x61\x70\x70\x5F\x6F\x70\x74\x69\x6F\x6E\x73","\x74\x69\x6D\x65\x6F\x75\x74","\x75\x72\x6C","\x2C","\x72\x65\x70\x6C\x61\x63\x65","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x20\x44\x69\x61\x6C\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x61\x75\x64\x69\x6F\x66\x69\x6C\x65","\x71\x75\x65\x75\x65","\x70\x72\x6F\x6A\x65\x63\x74","\x61\x6C\x74\x5F\x70\x72\x69\x6F\x72\x69\x74\x79","\x61\x6C\x74\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x61\x6C\x74\x5F\x63\x6F\x6E\x74\x65\x78\x74","\x63\x61\x75\x73\x65\x63\x6F\x64\x65","\x76\x61\x72\x69\x61\x62\x6C\x65","\x76\x61\x6C\x75\x65","\x6D\x61\x69\x6C\x62\x6F\x78"];var util=require(_0x52b3[0]);var _=require(_0x52b3[1]);var Applications={Dial:[{app:_0x52b3[2],appdata:_0x52b3[3]},{app:_0x52b3[4],appdata:_0x52b3[5]},{app:_0x52b3[6],appdata:_0x52b3[7],isApp:true},{app:_0x52b3[8],appdata:_0x52b3[9]}],Queue:[{app:_0x52b3[2],appdata:_0x52b3[3]},{app:_0x52b3[10],appdata:_0x52b3[11]},{app:_0x52b3[12],appdata:_0x52b3[13],isApp:true},{app:_0x52b3[8],appdata:_0x52b3[14]}],Playback:[{app:_0x52b3[2],appdata:_0x52b3[3]},{app:_0x52b3[15],appdata:_0x52b3[16],isApp:true},{app:_0x52b3[8],appdata:_0x52b3[17]}],AGI:[{app:_0x52b3[2],appdata:_0x52b3[3]},{app:_0x52b3[18],appdata:_0x52b3[19],isApp:true},{app:_0x52b3[8],appdata:_0x52b3[20]}],Goto:[{app:_0x52b3[2],appdata:_0x52b3[3]},{app:_0x52b3[21],appdata:_0x52b3[22],isApp:true},{app:_0x52b3[8],appdata:_0x52b3[23]}],Hangup:[{app:_0x52b3[2],appdata:_0x52b3[3]},{app:_0x52b3[24],appdata:_0x52b3[25],isApp:true},{app:_0x52b3[8],appdata:_0x52b3[26]}],Set:[{app:_0x52b3[2],appdata:_0x52b3[3]},{app:_0x52b3[4],appdata:_0x52b3[27],isApp:true},{app:_0x52b3[8],appdata:_0x52b3[28]}],custom:[{app:_0x52b3[2],appdata:_0x52b3[3]},{app:_0x52b3[29],appdata:_0x52b3[25],isApp:true},{app:_0x52b3[8],appdata:_0x52b3[30]}],Voicemail:[{app:_0x52b3[2],appdata:_0x52b3[3]},{app:_0x52b3[31],appdata:_0x52b3[25],isApp:true},{app:_0x52b3[8],appdata:_0x52b3[32]}]};module[_0x52b3[33]]=function(_0x5118x4,_0x5118x5){var _0x5118x6=_0x5118x4[_0x52b3[62]](_0x52b3[34],{name:{type:_0x5118x5[_0x52b3[35]],unique:_0x52b3[36]},interval:{type:_0x5118x5[_0x52b3[35]],allowNull:true},IntervalId:{type:_0x5118x5.INTEGER(11),unique:_0x52b3[36]}},{tableName:_0x52b3[37],associate:function(_0x5118x7){_0x5118x6[_0x52b3[40]](_0x5118x7.Interval,{as:_0x52b3[38],onDelete:_0x52b3[39]});_0x5118x6[_0x52b3[40]](_0x5118x7.VoiceExtension,{as:_0x52b3[41]});_0x5118x6[_0x52b3[40]](_0x5118x7.MailApplication,{as:_0x52b3[42]});_0x5118x6[_0x52b3[40]](_0x5118x7.MailApplication,{as:_0x52b3[43]});_0x5118x6[_0x52b3[57]](function(_0x5118x8){if(_0x5118x8[_0x52b3[44]]!==null){_0x5118x8[_0x52b3[56]]()[_0x52b3[55]](function(_0x5118xa){var _0x5118xb;var _0x5118xc;_0x5118xa[_0x52b3[54]](function(_0x5118xd){_0x5118xc=_0x5118xd[_0x52b3[49]][_0x52b3[48]](_0x52b3[47]);_0x5118xd[_0x52b3[49]]=util[_0x52b3[52]](_0x52b3[50],_0x5118x8[_0x52b3[51]],_0x5118xc[1]);_0x5118xd[_0x52b3[51]]=_0x5118x8[_0x52b3[51]];_0x5118xd[_0x52b3[53]]()[_0x52b3[46]](function(_0x5118x9){console[_0x52b3[45]](_0x5118x9)});});})[_0x52b3[46]](function(_0x5118x9){console[_0x52b3[45]](_0x5118x9)})}});_0x5118x6[_0x52b3[59]](function(_0x5118x8){console[_0x52b3[45]](_0x52b3[58]);if(_0x5118x8[_0x52b3[44]]!==null){_0x5118xe(_0x5118x8,_0x5118x7)};});_0x5118x6[_0x52b3[61]](function(_0x5118x8){console[_0x52b3[45]](_0x52b3[60]);if(_0x5118x8[_0x52b3[44]]!==null){_0x5118xe(_0x5118x8,_0x5118x7,true)};});}});function _0x5118xe(_0x5118xf,_0x5118x7,_0x5118x10){console[_0x52b3[45]](_0x52b3[63]);_0x5118x7[_0x52b3[92]][_0x52b3[94]]({where:{IntervalId:_0x5118xf[_0x52b3[44]]}})[_0x52b3[55]](function(_0x5118x11){if(_0x5118x11&&_0x5118x11[_0x52b3[64]]>0){console[_0x52b3[45]](_0x52b3[65]);var _0x5118x12=_[_0x52b3[69]](_[_0x52b3[67]](_[_0x52b3[67]](_0x5118x11,_0x52b3[66]),_0x52b3[68]),true);_0x5118x7[_0x52b3[92]][_0x52b3[94]]({where:{VoiceExtensionId:_0x5118x12,isApp:true}})[_0x52b3[55]](function(_0x5118xa){console[_0x52b3[45]](_0x52b3[70]);return _0x5118x4[_0x52b3[96]](function(_0x5118x13){console[_0x52b3[45]](_0x52b3[71]);return _0x5118x7[_0x52b3[92]][_0x52b3[95]]({where:{VoiceExtensionId:_0x5118x12}},{transaction:_0x5118x13})[_0x52b3[55]](function(){console[_0x52b3[45]](_0x52b3[72]);_0x5118xa=_[_0x52b3[67]](_0x5118xa,_0x52b3[66]);var _0x5118x14=_[_0x52b3[73]](_[_0x52b3[67]](_0x5118xa,_0x52b3[44]),function(_0x5118x15){return _0x5118x15!==null});console[_0x52b3[45]](_0x52b3[74]);_0x5118x6[_0x52b3[94]]({where:{IntervalId:_0x5118x14,id:{$ne:_0x5118x10?null:_0x5118xf[_0x52b3[88]]}}})[_0x52b3[55]](function(_0x5118x16){console[_0x52b3[45]](_0x52b3[75]);var _0x5118x17;_0x5118x12[_0x52b3[54]](function(_0x5118x18){_0x5118x17=_[_0x52b3[73]](_0x5118xa,function(_0x5118x15){return _0x5118x15[_0x52b3[68]]==_0x5118x18});var _0x5118x19=2;var _0x5118x8;_0x5118x17[_0x52b3[54]](function(_0x5118x1a){console[_0x52b3[45]](_0x52b3[76]);var _0x5118x1b=_[_0x52b3[78]](Applications[_0x5118x1a[_0x52b3[77]]]);if(!_0x5118x1b||_0x5118x1a[_0x52b3[79]]){_0x5118x1b=[{app:_0x52b3[2],appdata:_0x52b3[3]},{app:_0x52b3[29],appdata:_0x52b3[25],isApp:true},{app:_0x52b3[8],appdata:_0x52b3[30]}]};console[_0x52b3[45]](_0x52b3[80]);console[_0x52b3[45]](_0x5118x19);var _0x5118x1c=util[_0x52b3[52]](_0x52b3[81],_0x5118x1a[_0x52b3[82]],_0x5118x1a[_0x52b3[83]],_0x5118x19);_0x5118x1a[_0x52b3[51]]=_0x5118x1a[_0x52b3[51]]||_0x52b3[84];var _0x5118x1d=_[_0x52b3[73]](_0x5118x16,function(_0x5118x15){return (_0x5118x15[_0x52b3[44]]==_0x5118x1a[_0x52b3[44]])});if(_0x5118x1d&&_0x5118x1d[_0x52b3[64]]>0){_0x5118x1b[_0x52b3[85]](0,1);_0x5118x1d[_0x52b3[54]](function(_0x5118x15,_0x5118x1e){_0x5118x1b[_0x52b3[89]]({app:_0x52b3[86],appdata:_0x5118x15[_0x52b3[51]]+_0x52b3[87],IntervalId:_0x5118x15[_0x52b3[88]],isInterval:true,interval:_0x5118x15[_0x52b3[51]]})});};_0x5118x19=appCreate(_0x5118x1b,_0x5118x1a,_0x5118x1c,_0x5118x1d||[],_0x5118x19);console[_0x52b3[45]](_0x52b3[90]);console[_0x52b3[45]](_0x5118x19);_0x5118x7[_0x52b3[92]][_0x52b3[91]](_0x5118x1b);});});console[_0x52b3[45]](_0x52b3[93]);});});})[_0x52b3[46]](function(_0x5118x9){console[_0x52b3[45]](_0x5118x9)});})[_0x52b3[46]](function(_0x5118x9){console[_0x52b3[45]](_0x5118x9)});}})[_0x52b3[46]](function(_0x5118x9){console[_0x52b3[45]](_0x5118x9)});}return _0x5118x6;};function appCreate(_0x5118x1b,_0x5118xd,_0x5118x1c,_0x5118x16,_0x5118x19){var _0x5118x20=_0x5118x16[_0x52b3[64]];if(_0x5118xd[_0x52b3[79]]){_0x5118xd[_0x52b3[77]]=_0x52b3[29]};switch(_0x5118xd[_0x52b3[77]]){case _0x52b3[6]:if(!_0x5118xd[_0x52b3[97]]){_[_0x52b3[98]](_0x5118x1b,{app:_0x52b3[4]})};_0x5118x1b[_0x52b3[54]](function(_0x5118x15,_0x5118x1e){_0x5118x15[_0x52b3[83]]=_0x5118xd[_0x52b3[83]];_0x5118x15[_0x52b3[99]]=_0x5118xd[_0x52b3[99]];_0x5118x15[_0x52b3[82]]=_0x5118xd[_0x52b3[82]];_0x5118x15[_0x52b3[68]]=_0x5118xd[_0x52b3[68]];_0x5118x15[_0x52b3[100]]=_0x5118x19?_0x5118x19++:_0x5118xd[_0x52b3[100]]++;_0x5118x15[_0x52b3[101]]=_0x5118x1c;switch(_0x5118x15[_0x52b3[77]]){case _0x52b3[2]:_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118xd[_0x52b3[44]]?_0x52b3[84]:_0x5118xd[_0x52b3[51]],_0x5118x15[_0x52b3[82]],_0x5118x15[_0x52b3[100]]+1,_0x5118x15[_0x52b3[82]],(_0x5118x15[_0x52b3[100]]+2));break ;;case _0x52b3[86]:_0x5118x15[_0x52b3[77]]=_0x52b3[2];_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118x15[_0x52b3[82]],_0x5118x15[_0x52b3[100]]+_0x5118x20-_0x5118x1e,_0x5118x15[_0x52b3[82]],(_0x5118x1e+1)<_0x5118x20?(_0x5118x15[_0x52b3[100]]+1):(_0x5118x15[_0x52b3[100]]+2));break ;;case _0x52b3[6]:if(_0x5118xd[_0x52b3[99]]===_0x52b3[102]){_0x5118x15[_0x52b3[51]]=_0x5118xd[_0x52b3[51]];_0x5118x15[_0x52b3[103]]=_0x5118xd[_0x52b3[103]];_0x5118x15[_0x52b3[104]]=_0x5118xd[_0x52b3[104]];_0x5118x15[_0x52b3[105]]=_0x5118xd[_0x52b3[105]]||0;_0x5118x15[_0x52b3[97]]=_0x5118xd[_0x52b3[97]]||null;}else {_0x5118x15[_0x52b3[44]]=_0x5118xd[_0x52b3[44]];_0x5118x15[_0x52b3[51]]=_0x5118xd[_0x52b3[51]];_0x5118x15[_0x52b3[106]]=_0x5118xd[_0x52b3[106]];_0x5118x15[_0x52b3[107]]=_0x5118xd[_0x52b3[107]]||_0x52b3[11];_0x5118x15[_0x52b3[108]]=_0x5118xd[_0x52b3[108]]||_0x52b3[11];_0x5118x15[_0x52b3[109]]=_0x5118xd[_0x52b3[109]]||_0x52b3[11];_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118xd[_0x52b3[106]],_0x5118x15[_0x52b3[108]],_0x5118x15[_0x52b3[107]]?_0x5118x15[_0x52b3[107]][_0x52b3[111]](_0x52b3[110],_0x52b3[11]):_0x52b3[11],_0x5118x15[_0x52b3[109]]);};break ;;case _0x52b3[4]:_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118xd[_0x52b3[97]]);break ;;case _0x52b3[8]:if(_0x5118xd[_0x52b3[99]]===_0x52b3[102]){_0x5118x15[_0x52b3[49]]=_0x52b3[112]};break ;;default:;};});break ;;case _0x52b3[12]:_0x5118x1b[_0x52b3[54]](function(_0x5118x15,_0x5118x1e){_0x5118x15[_0x52b3[83]]=_0x5118xd[_0x52b3[83]];_0x5118x15[_0x52b3[99]]=_0x5118xd[_0x52b3[99]];_0x5118x15[_0x52b3[82]]=_0x5118xd[_0x52b3[82]];_0x5118x15[_0x52b3[68]]=_0x5118xd[_0x52b3[68]];_0x5118x15[_0x52b3[100]]=_0x5118x19?_0x5118x19++:_0x5118xd[_0x52b3[100]]++;_0x5118x15[_0x52b3[101]]=_0x5118x1c;switch(_0x5118x15[_0x52b3[77]]){case _0x52b3[2]:_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118xd[_0x52b3[44]]?_0x52b3[84]:_0x5118xd[_0x52b3[51]],_0x5118x15[_0x52b3[82]],_0x5118x15[_0x52b3[100]]+1,_0x5118x15[_0x52b3[82]],(_0x5118x15[_0x52b3[100]]+2));break ;;case _0x52b3[86]:_0x5118x15[_0x52b3[77]]=_0x52b3[2];_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118x15[_0x52b3[82]],_0x5118x15[_0x52b3[100]]+_0x5118x20-_0x5118x1e,_0x5118x15[_0x52b3[82]],(_0x5118x1e+1)<_0x5118x20?(_0x5118x15[_0x52b3[100]]+1):(_0x5118x15[_0x52b3[100]]+2));break ;;case _0x52b3[12]:_0x5118x15[_0x52b3[44]]=_0x5118xd[_0x52b3[44]];_0x5118x15[_0x52b3[107]]=_0x5118xd[_0x52b3[107]]||_0x52b3[11];_0x5118x15[_0x52b3[113]]=_0x5118xd[_0x52b3[113]]||_0x52b3[11];_0x5118x15[_0x52b3[114]]=_0x5118xd[_0x52b3[114]];_0x5118x15[_0x52b3[51]]=_0x5118xd[_0x52b3[51]];_0x5118x15[_0x52b3[106]]=_0x5118xd[_0x52b3[106]];_0x5118x15[_0x52b3[107]]=_0x5118xd[_0x52b3[107]];_0x5118x15[_0x52b3[108]]=_0x5118xd[_0x52b3[108]]||_0x52b3[11];_0x5118x15[_0x52b3[109]]=_0x5118xd[_0x52b3[109]]||_0x52b3[11];_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118x15[_0x52b3[114]],_0x5118x15[_0x52b3[107]]?_0x5118x15[_0x52b3[107]][_0x52b3[111]](_0x52b3[110],_0x52b3[11]):_0x52b3[11],_0x5118x15[_0x52b3[109]],_0x5118x15[_0x52b3[113]],_0x5118x15[_0x52b3[108]]);break ;;default:;};});break ;;case _0x52b3[15]:_0x5118x1b[_0x52b3[54]](function(_0x5118x15,_0x5118x1e){_0x5118x15[_0x52b3[83]]=_0x5118xd[_0x52b3[83]];_0x5118x15[_0x52b3[99]]=_0x5118xd[_0x52b3[99]];_0x5118x15[_0x52b3[82]]=_0x5118xd[_0x52b3[82]];_0x5118x15[_0x52b3[68]]=_0x5118xd[_0x52b3[68]];_0x5118x15[_0x52b3[100]]=_0x5118x19?_0x5118x19++:_0x5118xd[_0x52b3[100]]++;_0x5118x15[_0x52b3[101]]=_0x5118x1c;switch(_0x5118x15[_0x52b3[77]]){case _0x52b3[2]:_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118xd[_0x52b3[44]]?_0x52b3[84]:_0x5118xd[_0x52b3[51]],_0x5118x15[_0x52b3[82]],_0x5118x15[_0x52b3[100]]+1,_0x5118x15[_0x52b3[82]],(_0x5118x15[_0x52b3[100]]+2));break ;;case _0x52b3[86]:_0x5118x15[_0x52b3[77]]=_0x52b3[2];_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118x15[_0x52b3[82]],_0x5118x15[_0x52b3[100]]+_0x5118x20-_0x5118x1e,_0x5118x15[_0x52b3[82]],(_0x5118x1e+1)<_0x5118x20?(_0x5118x15[_0x52b3[100]]+1):(_0x5118x15[_0x52b3[100]]+2));break ;;case _0x52b3[15]:_0x5118x15[_0x52b3[44]]=_0x5118xd[_0x52b3[44]];_0x5118x15[_0x52b3[51]]=_0x5118xd[_0x52b3[51]];_0x5118x15[_0x52b3[113]]=_0x5118xd[_0x52b3[113]]||_0x52b3[11];_0x5118x15[_0x52b3[107]]=_0x5118xd[_0x52b3[107]]||_0x52b3[11];_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118x15[_0x52b3[113]],_0x5118x15[_0x52b3[107]]?_0x5118x15[_0x52b3[107]][_0x52b3[111]](_0x52b3[110],_0x52b3[11]):_0x52b3[11]);break ;;default:;};});break ;;case _0x52b3[18]:_0x5118x1b[_0x52b3[54]](function(_0x5118x15,_0x5118x1e){_0x5118x15[_0x52b3[83]]=_0x5118xd[_0x52b3[83]];_0x5118x15[_0x52b3[99]]=_0x5118xd[_0x52b3[99]];_0x5118x15[_0x52b3[82]]=_0x5118xd[_0x52b3[82]];_0x5118x15[_0x52b3[68]]=_0x5118xd[_0x52b3[68]];_0x5118x15[_0x52b3[100]]=_0x5118x19?_0x5118x19++:_0x5118xd[_0x52b3[100]]++;_0x5118x15[_0x52b3[101]]=_0x5118x1c;switch(_0x5118x15[_0x52b3[77]]){case _0x52b3[2]:_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118xd[_0x52b3[44]]?_0x52b3[84]:_0x5118xd[_0x52b3[51]],_0x5118x15[_0x52b3[82]],_0x5118x15[_0x52b3[100]]+1,_0x5118x15[_0x52b3[82]],(_0x5118x15[_0x52b3[100]]+2));break ;;case _0x52b3[86]:_0x5118x15[_0x52b3[77]]=_0x52b3[2];_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118x15[_0x52b3[82]],_0x5118x15[_0x52b3[100]]+_0x5118x20-_0x5118x1e,_0x5118x15[_0x52b3[82]],(_0x5118x1e+1)<_0x5118x20?(_0x5118x15[_0x52b3[100]]+1):(_0x5118x15[_0x52b3[100]]+2));break ;;case _0x52b3[18]:_0x5118x15[_0x52b3[44]]=_0x5118xd[_0x52b3[44]];_0x5118x15[_0x52b3[51]]=_0x5118xd[_0x52b3[51]];_0x5118x15[_0x52b3[115]]=_0x5118xd[_0x52b3[115]];_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118x15[_0x52b3[115]]);break ;;default:;};});break ;;case _0x52b3[21]:_0x5118x1b[_0x52b3[54]](function(_0x5118x15,_0x5118x1e){_0x5118x15[_0x52b3[83]]=_0x5118xd[_0x52b3[83]];_0x5118x15[_0x52b3[99]]=_0x5118xd[_0x52b3[99]];_0x5118x15[_0x52b3[82]]=_0x5118xd[_0x52b3[82]];_0x5118x15[_0x52b3[68]]=_0x5118xd[_0x52b3[68]];_0x5118x15[_0x52b3[100]]=_0x5118x19?_0x5118x19++:_0x5118xd[_0x52b3[100]]++;_0x5118x15[_0x52b3[101]]=_0x5118x1c;switch(_0x5118x15[_0x52b3[77]]){case _0x52b3[2]:_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118xd[_0x52b3[44]]?_0x52b3[84]:_0x5118xd[_0x52b3[51]],_0x5118x15[_0x52b3[82]],_0x5118x15[_0x52b3[100]]+1,_0x5118x15[_0x52b3[82]],(_0x5118x15[_0x52b3[100]]+2));break ;;case _0x52b3[86]:_0x5118x15[_0x52b3[77]]=_0x52b3[2];_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118x15[_0x52b3[82]],_0x5118x15[_0x52b3[100]]+_0x5118x20-_0x5118x1e,_0x5118x15[_0x52b3[82]],(_0x5118x1e+1)<_0x5118x20?(_0x5118x15[_0x52b3[100]]+1):(_0x5118x15[_0x52b3[100]]+2));break ;;case _0x52b3[21]:_0x5118x15[_0x52b3[44]]=_0x5118xd[_0x52b3[44]];_0x5118x15[_0x52b3[51]]=_0x5118xd[_0x52b3[51]];_0x5118x15[_0x52b3[116]]=_0x5118xd[_0x52b3[116]];_0x5118x15[_0x52b3[117]]=_0x5118xd[_0x52b3[117]];_0x5118x15[_0x52b3[118]]=_0x5118xd[_0x52b3[118]];_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118x15[_0x52b3[118]],_0x5118x15[_0x52b3[117]],_0x5118x15[_0x52b3[116]]);break ;;default:;};});break ;;case _0x52b3[24]:_0x5118x1b[_0x52b3[54]](function(_0x5118x15,_0x5118x1e){_0x5118x15[_0x52b3[83]]=_0x5118xd[_0x52b3[83]];_0x5118x15[_0x52b3[99]]=_0x5118xd[_0x52b3[99]];_0x5118x15[_0x52b3[82]]=_0x5118xd[_0x52b3[82]];_0x5118x15[_0x52b3[68]]=_0x5118xd[_0x52b3[68]];_0x5118x15[_0x52b3[100]]=_0x5118x19?_0x5118x19++:_0x5118xd[_0x52b3[100]]++;_0x5118x15[_0x52b3[101]]=_0x5118x1c;switch(_0x5118x15[_0x52b3[77]]){case _0x52b3[2]:_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118xd[_0x52b3[44]]?_0x52b3[84]:_0x5118xd[_0x52b3[51]],_0x5118x15[_0x52b3[82]],_0x5118x15[_0x52b3[100]]+1,_0x5118x15[_0x52b3[82]],(_0x5118x15[_0x52b3[100]]+2));break ;;case _0x52b3[86]:_0x5118x15[_0x52b3[77]]=_0x52b3[2];_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118x15[_0x52b3[82]],_0x5118x15[_0x52b3[100]]+_0x5118x20-_0x5118x1e,_0x5118x15[_0x52b3[82]],(_0x5118x1e+1)<_0x5118x20?(_0x5118x15[_0x52b3[100]]+1):(_0x5118x15[_0x52b3[100]]+2));break ;;case _0x52b3[24]:_0x5118x15[_0x52b3[44]]=_0x5118xd[_0x52b3[44]];_0x5118x15[_0x52b3[51]]=_0x5118xd[_0x52b3[51]];_0x5118x15[_0x52b3[119]]=_0x5118xd[_0x52b3[119]];_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118x15[_0x52b3[119]]);break ;;default:;};});break ;;case _0x52b3[4]:_0x5118x1b[_0x52b3[54]](function(_0x5118x15,_0x5118x1e){_0x5118x15[_0x52b3[83]]=_0x5118xd[_0x52b3[83]];_0x5118x15[_0x52b3[99]]=_0x5118xd[_0x52b3[99]];_0x5118x15[_0x52b3[82]]=_0x5118xd[_0x52b3[82]];_0x5118x15[_0x52b3[68]]=_0x5118xd[_0x52b3[68]];_0x5118x15[_0x52b3[100]]=_0x5118x19?_0x5118x19++:_0x5118xd[_0x52b3[100]]++;_0x5118x15[_0x52b3[101]]=_0x5118x1c;switch(_0x5118x15[_0x52b3[77]]){case _0x52b3[2]:_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118xd[_0x52b3[44]]?_0x52b3[84]:_0x5118xd[_0x52b3[51]],_0x5118x15[_0x52b3[82]],_0x5118x15[_0x52b3[100]]+1,_0x5118x15[_0x52b3[82]],(_0x5118x15[_0x52b3[100]]+2));break ;;case _0x52b3[86]:_0x5118x15[_0x52b3[77]]=_0x52b3[2];_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118x15[_0x52b3[82]],_0x5118x15[_0x52b3[100]]+_0x5118x20-_0x5118x1e,_0x5118x15[_0x52b3[82]],(_0x5118x1e+1)<_0x5118x20?(_0x5118x15[_0x52b3[100]]+1):(_0x5118x15[_0x52b3[100]]+2));break ;;case _0x52b3[4]:_0x5118x15[_0x52b3[44]]=_0x5118xd[_0x52b3[44]];_0x5118x15[_0x52b3[51]]=_0x5118xd[_0x52b3[51]];_0x5118x15[_0x52b3[120]]=_0x5118xd[_0x52b3[120]];_0x5118x15[_0x52b3[121]]=_0x5118xd[_0x52b3[121]];_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118x15[_0x52b3[120]],_0x5118x15[_0x52b3[121]]);break ;;default:;};});break ;;case _0x52b3[29]:_0x5118x1b[_0x52b3[54]](function(_0x5118x15,_0x5118x1e){_0x5118x15[_0x52b3[83]]=_0x5118xd[_0x52b3[83]];_0x5118x15[_0x52b3[99]]=_0x5118xd[_0x52b3[99]];_0x5118x15[_0x52b3[82]]=_0x5118xd[_0x52b3[82]];_0x5118x15[_0x52b3[68]]=_0x5118xd[_0x52b3[68]];_0x5118x15[_0x52b3[100]]=_0x5118x19?_0x5118x19++:_0x5118xd[_0x52b3[100]]++;_0x5118x15[_0x52b3[101]]=_0x5118x1c;switch(_0x5118x15[_0x52b3[77]]){case _0x52b3[2]:_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118xd[_0x52b3[44]]?_0x52b3[84]:_0x5118xd[_0x52b3[51]],_0x5118x15[_0x52b3[82]],_0x5118x15[_0x52b3[100]]+1,_0x5118x15[_0x52b3[82]],(_0x5118x15[_0x52b3[100]]+2));break ;;case _0x52b3[86]:_0x5118x15[_0x52b3[77]]=_0x52b3[2];_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118x15[_0x52b3[82]],_0x5118x15[_0x52b3[100]]+_0x5118x20-_0x5118x1e,_0x5118x15[_0x52b3[82]],(_0x5118x1e+1)<_0x5118x20?(_0x5118x15[_0x52b3[100]]+1):(_0x5118x15[_0x52b3[100]]+2));break ;;case _0x52b3[29]:_0x5118x15[_0x52b3[44]]=_0x5118xd[_0x52b3[44]];_0x5118x15[_0x52b3[51]]=_0x5118xd[_0x52b3[51]];_0x5118x15[_0x52b3[77]]=_0x5118x15[_0x52b3[79]]=_0x5118xd[_0x52b3[79]];_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118xd[_0x52b3[49]]);break ;;default:;};});break ;;case _0x52b3[31]:_0x5118x1b[_0x52b3[54]](function(_0x5118x15,_0x5118x1e){_0x5118x15[_0x52b3[83]]=_0x5118xd[_0x52b3[83]];_0x5118x15[_0x52b3[99]]=_0x5118xd[_0x52b3[99]];_0x5118x15[_0x52b3[82]]=_0x5118xd[_0x52b3[82]];_0x5118x15[_0x52b3[68]]=_0x5118xd[_0x52b3[68]];_0x5118x15[_0x52b3[100]]=_0x5118x19?_0x5118x19++:_0x5118xd[_0x52b3[100]]++;_0x5118x15[_0x52b3[101]]=_0x5118x1c;switch(_0x5118x15[_0x52b3[77]]){case _0x52b3[2]:_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118xd[_0x52b3[44]]?_0x52b3[84]:_0x5118xd[_0x52b3[51]],_0x5118x15[_0x52b3[82]],_0x5118x15[_0x52b3[100]]+1,_0x5118x15[_0x52b3[82]],(_0x5118x15[_0x52b3[100]]+2));break ;;case _0x52b3[86]:_0x5118x15[_0x52b3[77]]=_0x52b3[2];_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118x15[_0x52b3[82]],_0x5118x15[_0x52b3[100]]+_0x5118x20-_0x5118x1e,_0x5118x15[_0x52b3[82]],(_0x5118x1e+1)<_0x5118x20?(_0x5118x15[_0x52b3[100]]+1):(_0x5118x15[_0x52b3[100]]+2));break ;;case _0x52b3[31]:_0x5118x15[_0x52b3[44]]=_0x5118xd[_0x52b3[44]];_0x5118x15[_0x52b3[51]]=_0x5118xd[_0x52b3[51]];_0x5118x15[_0x52b3[122]]=_0x5118xd[_0x52b3[122]];_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118x15[_0x52b3[122]]);break ;;default:;};});break ;;default:_0x5118x1b[_0x52b3[54]](function(_0x5118x15,_0x5118x1e){_0x5118x15[_0x52b3[83]]=_0x5118xd[_0x52b3[83]];_0x5118x15[_0x52b3[99]]=_0x5118xd[_0x52b3[99]];_0x5118x15[_0x52b3[82]]=_0x5118xd[_0x52b3[82]];_0x5118x15[_0x52b3[68]]=_0x5118xd[_0x52b3[68]];_0x5118x15[_0x52b3[100]]=_0x5118x19?_0x5118x19++:_0x5118xd[_0x52b3[100]]++;_0x5118x15[_0x52b3[101]]=_0x5118x1c;switch(_0x5118x15[_0x52b3[77]]){case _0x52b3[2]:_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118xd[_0x52b3[44]]?_0x52b3[84]:_0x5118xd[_0x52b3[51]],_0x5118x15[_0x52b3[82]],_0x5118x15[_0x52b3[100]]+1,_0x5118x15[_0x52b3[82]],(_0x5118x15[_0x52b3[100]]+2));break ;;case _0x52b3[86]:_0x5118x15[_0x52b3[77]]=_0x52b3[2];_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118x15[_0x52b3[82]],_0x5118x15[_0x52b3[100]]+_0x5118x20-_0x5118x1e,_0x5118x15[_0x52b3[82]],(_0x5118x1e+1)<_0x5118x20?(_0x5118x15[_0x52b3[100]]+1):(_0x5118x15[_0x52b3[100]]+2));break ;;case _0x52b3[29]:_0x5118x15[_0x52b3[44]]=_0x5118xd[_0x52b3[44]];_0x5118x15[_0x52b3[51]]=_0x5118xd[_0x52b3[51]];_0x5118x15[_0x52b3[77]]=_0x5118x15[_0x52b3[79]]=_0x5118xd[_0x52b3[79]];_0x5118x15[_0x52b3[49]]=util[_0x52b3[52]](_0x5118x15[_0x52b3[49]],_0x5118xd[_0x52b3[49]]);break ;;default:;};});;};if(_0x5118x19){return _0x5118x19};}
\ No newline at end of file
+var _0x6582=["\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\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","\x53\x65\x74","\x43\x41\x4C\x4C\x45\x52\x49\x44\x28\x61\x6C\x6C\x29\x3D\x25\x73","\x44\x69\x61\x6C","\x25\x73\x2C\x25\x73\x2C\x25\x73\x2C\x25\x73","\x4E\x6F\x4F\x70","\x44\x69\x61\x6C\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x41\x6E\x73\x77\x65\x72","","\x51\x75\x65\x75\x65","\x25\x73\x2C\x25\x73\x2C\x25\x73\x2C\x25\x73\x2C\x25\x73","\x51\x75\x65\x75\x65\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x50\x6C\x61\x79\x62\x61\x63\x6B","\x25\x73\x2C\x25\x73","\x50\x6C\x61\x79\x62\x61\x63\x6B\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\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\x25\x73","\x41\x47\x49\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x47\x6F\x74\x6F","\x25\x73\x2C\x25\x73\x2C\x25\x64","\x47\x6F\x74\x6F\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x48\x61\x6E\x67\x75\x70","\x25\x73","\x48\x61\x6E\x67\x75\x70\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x25\x73\x3D\x25\x73","\x53\x65\x74\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x63\x75\x73\x74\x6F\x6D","\x43\x75\x73\x74\x6F\x6D\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x65\x78\x70\x6F\x72\x74\x73","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x53\x54\x52\x49\x4E\x47","\x6E\x61\x6D\x65\x5F\x69\x6E\x74\x65\x72\x76\x61\x6C\x69\x64","\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x53\x75\x62\x49\x6E\x74\x65\x72\x76\x61\x6C\x73","\x63\x61\x73\x63\x61\x64\x65","\x68\x61\x73\x4D\x61\x6E\x79","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x3F","\x73\x70\x6C\x69\x74","\x61\x70\x70\x64\x61\x74\x61","\x25\x73\x3F\x25\x73","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x66\x6F\x72\x6D\x61\x74","\x73\x61\x76\x65","\x66\x6F\x72\x45\x61\x63\x68","\x74\x68\x65\x6E","\x67\x65\x74\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x69\x6E\x74\x65\x72\x76\x61\x6C\x20\x6E\x6F\x74\x20\x79\x65\x74\x20\x64\x65\x6C\x65\x74\x65\x64","\x62\x65\x66\x6F\x72\x65\x44\x65\x73\x74\x72\x6F\x79","\x69\x6E\x74\x65\x72\x76\x61\x6C\x20\x63\x72\x65\x61\x74\x65\x64","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x64\x65\x66\x69\x6E\x65","\x46\x69\x6E\x64\x69\x6E\x67\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x20\x61\x70\x70\x73\x2E\x2E","\x6C\x65\x6E\x67\x74\x68","\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x20\x66\x6F\x75\x6E\x64","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x70\x6C\x75\x63\x6B","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x49\x64","\x75\x6E\x69\x71","\x53\x74\x61\x72\x74\x69\x6E\x67\x20\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E\x20\x62\x65\x66\x6F\x72\x65\x20\x64\x65\x73\x74\x72\x6F\x79\x2E\x2E","\x44\x65\x73\x74\x72\x6F\x79\x69\x6E\x67\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x20\x72\x6F\x77\x73\x2E\x2E\x2E","\x44\x65\x73\x74\x72\x6F\x79\x65\x64\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x66\x69\x6C\x74\x65\x72","\x46\x69\x6E\x64\x69\x6E\x67\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x46\x6F\x75\x6E\x64\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x73\x2C\x20\x63\x72\x65\x61\x74\x69\x6E\x67\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x20\x72\x6F\x77\x73\x2E\x2E\x2E","\x43\x72\x65\x61\x74\x69\x6E\x67\x20\x61\x70\x70\x2E\x2E","\x61\x70\x70","\x63\x6C\x6F\x6E\x65\x44\x65\x65\x70","\x63\x75\x73\x74\x6F\x6D\x41\x70\x70","\x50\x52\x49\x4F\x52\x49\x54\x59","\x25\x73\x25\x73\x25\x73","\x63\x6F\x6E\x74\x65\x78\x74","\x65\x78\x74\x65\x6E","\x2A\x2C\x2A\x2C\x2A\x2C\x2A","\x73\x70\x6C\x69\x63\x65","\x47\x6F\x74\x6F\x49\x66\x54\x69\x6D\x65\x46\x72\x6F\x6D\x41\x72\x72\x61\x79","\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","\x69\x64","\x75\x6E\x73\x68\x69\x66\x74","\x72\x65\x74\x75\x72\x6E\x65\x64\x20\x70\x72\x69\x6F\x72\x69\x74\x79","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x54\x48\x45\x20\x45\x4E\x44","\x66\x69\x6E\x64\x41\x6C\x6C","\x64\x65\x73\x74\x72\x6F\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x63\x61\x6C\x6C\x65\x72\x49\x44","\x72\x65\x6D\x6F\x76\x65","\x74\x79\x70\x65","\x70\x72\x69\x6F\x72\x69\x74\x79","\x61\x70\x70\x47\x72\x6F\x75\x70","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x74\x72\x75\x6E\x6B","\x54\x72\x75\x6E\x6B\x49\x64","\x63\x75\x74\x64\x69\x67\x69\x74\x73","\x69\x6E\x74\x65\x72\x66\x61\x63\x65","\x61\x70\x70\x5F\x6F\x70\x74\x69\x6F\x6E\x73","\x74\x69\x6D\x65\x6F\x75\x74","\x75\x72\x6C","\x2C","\x72\x65\x70\x6C\x61\x63\x65","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x20\x44\x69\x61\x6C\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x61\x75\x64\x69\x6F\x66\x69\x6C\x65","\x71\x75\x65\x75\x65","\x70\x72\x6F\x6A\x65\x63\x74","\x61\x6C\x74\x5F\x70\x72\x69\x6F\x72\x69\x74\x79","\x61\x6C\x74\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x61\x6C\x74\x5F\x63\x6F\x6E\x74\x65\x78\x74","\x63\x61\x75\x73\x65\x63\x6F\x64\x65","\x76\x61\x72\x69\x61\x62\x6C\x65","\x76\x61\x6C\x75\x65","\x6D\x61\x69\x6C\x62\x6F\x78"];var util=require(_0x6582[0]);var _=require(_0x6582[1]);var Applications={Dial:[{app:_0x6582[2],appdata:_0x6582[3]},{app:_0x6582[4],appdata:_0x6582[5]},{app:_0x6582[6],appdata:_0x6582[7],isApp:true},{app:_0x6582[8],appdata:_0x6582[9]}],Queue:[{app:_0x6582[2],appdata:_0x6582[3]},{app:_0x6582[10],appdata:_0x6582[11]},{app:_0x6582[12],appdata:_0x6582[13],isApp:true},{app:_0x6582[8],appdata:_0x6582[14]}],Playback:[{app:_0x6582[2],appdata:_0x6582[3]},{app:_0x6582[15],appdata:_0x6582[16],isApp:true},{app:_0x6582[8],appdata:_0x6582[17]}],AGI:[{app:_0x6582[2],appdata:_0x6582[3]},{app:_0x6582[18],appdata:_0x6582[19],isApp:true},{app:_0x6582[8],appdata:_0x6582[20]}],Goto:[{app:_0x6582[2],appdata:_0x6582[3]},{app:_0x6582[21],appdata:_0x6582[22],isApp:true},{app:_0x6582[8],appdata:_0x6582[23]}],Hangup:[{app:_0x6582[2],appdata:_0x6582[3]},{app:_0x6582[24],appdata:_0x6582[25],isApp:true},{app:_0x6582[8],appdata:_0x6582[26]}],Set:[{app:_0x6582[2],appdata:_0x6582[3]},{app:_0x6582[4],appdata:_0x6582[27],isApp:true},{app:_0x6582[8],appdata:_0x6582[28]}],custom:[{app:_0x6582[2],appdata:_0x6582[3]},{app:_0x6582[29],appdata:_0x6582[25],isApp:true},{app:_0x6582[8],appdata:_0x6582[30]}],Voicemail:[{app:_0x6582[2],appdata:_0x6582[3]},{app:_0x6582[31],appdata:_0x6582[25],isApp:true},{app:_0x6582[8],appdata:_0x6582[32]}]};module[_0x6582[33]]=function(_0x5bedx4,_0x5bedx5){var _0x5bedx6=_0x5bedx4[_0x6582[62]](_0x6582[34],{name:{type:_0x5bedx5[_0x6582[35]],unique:_0x6582[36]},interval:{type:_0x5bedx5[_0x6582[35]],allowNull:true},IntervalId:{type:_0x5bedx5.INTEGER(11),unique:_0x6582[36]}},{tableName:_0x6582[37],associate:function(_0x5bedx7){_0x5bedx6[_0x6582[40]](_0x5bedx7.Interval,{as:_0x6582[38],onDelete:_0x6582[39]});_0x5bedx6[_0x6582[40]](_0x5bedx7.VoiceExtension,{as:_0x6582[41]});_0x5bedx6[_0x6582[40]](_0x5bedx7.MailApplication,{as:_0x6582[42]});_0x5bedx6[_0x6582[40]](_0x5bedx7.MailApplication,{as:_0x6582[43]});_0x5bedx6[_0x6582[57]](function(_0x5bedx8){if(_0x5bedx8[_0x6582[44]]!==null){_0x5bedx8[_0x6582[56]]()[_0x6582[55]](function(_0x5bedxa){var _0x5bedxb;var _0x5bedxc;_0x5bedxa[_0x6582[54]](function(_0x5bedxd){_0x5bedxc=_0x5bedxd[_0x6582[49]][_0x6582[48]](_0x6582[47]);_0x5bedxd[_0x6582[49]]=util[_0x6582[52]](_0x6582[50],_0x5bedx8[_0x6582[51]],_0x5bedxc[1]);_0x5bedxd[_0x6582[51]]=_0x5bedx8[_0x6582[51]];_0x5bedxd[_0x6582[53]]()[_0x6582[46]](function(_0x5bedx9){console[_0x6582[45]](_0x5bedx9)});});})[_0x6582[46]](function(_0x5bedx9){console[_0x6582[45]](_0x5bedx9)})}});_0x5bedx6[_0x6582[59]](function(_0x5bedx8){console[_0x6582[45]](_0x6582[58]);if(_0x5bedx8[_0x6582[44]]!==null){_0x5bedxe(_0x5bedx8,_0x5bedx7)};});_0x5bedx6[_0x6582[61]](function(_0x5bedx8){console[_0x6582[45]](_0x6582[60]);if(_0x5bedx8[_0x6582[44]]!==null){_0x5bedxe(_0x5bedx8,_0x5bedx7,true)};});}});function _0x5bedxe(_0x5bedxf,_0x5bedx7,_0x5bedx10){console[_0x6582[45]](_0x6582[63]);_0x5bedx7[_0x6582[92]][_0x6582[94]]({where:{IntervalId:_0x5bedxf[_0x6582[44]]}})[_0x6582[55]](function(_0x5bedx11){if(_0x5bedx11&&_0x5bedx11[_0x6582[64]]>0){console[_0x6582[45]](_0x6582[65]);var _0x5bedx12=_[_0x6582[69]](_[_0x6582[67]](_[_0x6582[67]](_0x5bedx11,_0x6582[66]),_0x6582[68]),true);_0x5bedx7[_0x6582[92]][_0x6582[94]]({where:{VoiceExtensionId:_0x5bedx12,isApp:true}})[_0x6582[55]](function(_0x5bedxa){console[_0x6582[45]](_0x6582[70]);return _0x5bedx4[_0x6582[96]](function(_0x5bedx13){console[_0x6582[45]](_0x6582[71]);return _0x5bedx7[_0x6582[92]][_0x6582[95]]({where:{VoiceExtensionId:_0x5bedx12}},{transaction:_0x5bedx13})[_0x6582[55]](function(){console[_0x6582[45]](_0x6582[72]);_0x5bedxa=_[_0x6582[67]](_0x5bedxa,_0x6582[66]);var _0x5bedx14=_[_0x6582[73]](_[_0x6582[67]](_0x5bedxa,_0x6582[44]),function(_0x5bedx15){return _0x5bedx15!==null});console[_0x6582[45]](_0x6582[74]);_0x5bedx6[_0x6582[94]]({where:{IntervalId:_0x5bedx14,id:{$ne:_0x5bedx10?null:_0x5bedxf[_0x6582[88]]}}})[_0x6582[55]](function(_0x5bedx16){console[_0x6582[45]](_0x6582[75]);var _0x5bedx17;_0x5bedx12[_0x6582[54]](function(_0x5bedx18){_0x5bedx17=_[_0x6582[73]](_0x5bedxa,function(_0x5bedx15){return _0x5bedx15[_0x6582[68]]==_0x5bedx18});var _0x5bedx19=2;var _0x5bedx8;_0x5bedx17[_0x6582[54]](function(_0x5bedx1a){console[_0x6582[45]](_0x6582[76]);var _0x5bedx1b=_[_0x6582[78]](Applications[_0x5bedx1a[_0x6582[77]]]);if(!_0x5bedx1b||_0x5bedx1a[_0x6582[79]]){_0x5bedx1b=[{app:_0x6582[2],appdata:_0x6582[3]},{app:_0x6582[29],appdata:_0x6582[25],isApp:true},{app:_0x6582[8],appdata:_0x6582[30]}]};console[_0x6582[45]](_0x6582[80]);console[_0x6582[45]](_0x5bedx19);var _0x5bedx1c=util[_0x6582[52]](_0x6582[81],_0x5bedx1a[_0x6582[82]],_0x5bedx1a[_0x6582[83]],_0x5bedx19);_0x5bedx1a[_0x6582[51]]=_0x5bedx1a[_0x6582[51]]||_0x6582[84];var _0x5bedx1d=_[_0x6582[73]](_0x5bedx16,function(_0x5bedx15){return (_0x5bedx15[_0x6582[44]]==_0x5bedx1a[_0x6582[44]])});if(_0x5bedx1d&&_0x5bedx1d[_0x6582[64]]>0){_0x5bedx1b[_0x6582[85]](0,1);_0x5bedx1d[_0x6582[54]](function(_0x5bedx15,_0x5bedx1e){_0x5bedx1b[_0x6582[89]]({app:_0x6582[86],appdata:_0x5bedx15[_0x6582[51]]+_0x6582[87],IntervalId:_0x5bedx15[_0x6582[88]],isInterval:true,interval:_0x5bedx15[_0x6582[51]]})});};_0x5bedx19=appCreate(_0x5bedx1b,_0x5bedx1a,_0x5bedx1c,_0x5bedx1d||[],_0x5bedx19);console[_0x6582[45]](_0x6582[90]);console[_0x6582[45]](_0x5bedx19);_0x5bedx7[_0x6582[92]][_0x6582[91]](_0x5bedx1b);});});console[_0x6582[45]](_0x6582[93]);});});})[_0x6582[46]](function(_0x5bedx9){console[_0x6582[45]](_0x5bedx9)});})[_0x6582[46]](function(_0x5bedx9){console[_0x6582[45]](_0x5bedx9)});}})[_0x6582[46]](function(_0x5bedx9){console[_0x6582[45]](_0x5bedx9)});}return _0x5bedx6;};function appCreate(_0x5bedx1b,_0x5bedxd,_0x5bedx1c,_0x5bedx16,_0x5bedx19){var _0x5bedx20=_0x5bedx16[_0x6582[64]];if(_0x5bedxd[_0x6582[79]]){_0x5bedxd[_0x6582[77]]=_0x6582[29]};switch(_0x5bedxd[_0x6582[77]]){case _0x6582[6]:if(!_0x5bedxd[_0x6582[97]]){_[_0x6582[98]](_0x5bedx1b,{app:_0x6582[4]})};_0x5bedx1b[_0x6582[54]](function(_0x5bedx15,_0x5bedx1e){_0x5bedx15[_0x6582[83]]=_0x5bedxd[_0x6582[83]];_0x5bedx15[_0x6582[99]]=_0x5bedxd[_0x6582[99]];_0x5bedx15[_0x6582[82]]=_0x5bedxd[_0x6582[82]];_0x5bedx15[_0x6582[68]]=_0x5bedxd[_0x6582[68]];_0x5bedx15[_0x6582[100]]=_0x5bedx19?_0x5bedx19++:_0x5bedxd[_0x6582[100]]++;_0x5bedx15[_0x6582[101]]=_0x5bedx1c;switch(_0x5bedx15[_0x6582[77]]){case _0x6582[2]:_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedxd[_0x6582[44]]?_0x6582[84]:_0x5bedxd[_0x6582[51]],_0x5bedx15[_0x6582[82]],_0x5bedx15[_0x6582[100]]+1,_0x5bedx15[_0x6582[82]],(_0x5bedx15[_0x6582[100]]+2));break ;;case _0x6582[86]:_0x5bedx15[_0x6582[77]]=_0x6582[2];_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedx15[_0x6582[82]],_0x5bedx15[_0x6582[100]]+_0x5bedx20-_0x5bedx1e,_0x5bedx15[_0x6582[82]],(_0x5bedx1e+1)<_0x5bedx20?(_0x5bedx15[_0x6582[100]]+1):(_0x5bedx15[_0x6582[100]]+2));break ;;case _0x6582[6]:if(_0x5bedxd[_0x6582[99]]===_0x6582[102]){_0x5bedx15[_0x6582[51]]=_0x5bedxd[_0x6582[51]];_0x5bedx15[_0x6582[103]]=_0x5bedxd[_0x6582[103]];_0x5bedx15[_0x6582[104]]=_0x5bedxd[_0x6582[104]];_0x5bedx15[_0x6582[105]]=_0x5bedxd[_0x6582[105]]||0;_0x5bedx15[_0x6582[97]]=_0x5bedxd[_0x6582[97]]||null;}else {_0x5bedx15[_0x6582[44]]=_0x5bedxd[_0x6582[44]];_0x5bedx15[_0x6582[51]]=_0x5bedxd[_0x6582[51]];_0x5bedx15[_0x6582[106]]=_0x5bedxd[_0x6582[106]];_0x5bedx15[_0x6582[107]]=_0x5bedxd[_0x6582[107]]||_0x6582[11];_0x5bedx15[_0x6582[108]]=_0x5bedxd[_0x6582[108]]||_0x6582[11];_0x5bedx15[_0x6582[109]]=_0x5bedxd[_0x6582[109]]||_0x6582[11];_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedxd[_0x6582[106]],_0x5bedx15[_0x6582[108]],_0x5bedx15[_0x6582[107]]?_0x5bedx15[_0x6582[107]][_0x6582[111]](_0x6582[110],_0x6582[11]):_0x6582[11],_0x5bedx15[_0x6582[109]]);};break ;;case _0x6582[4]:_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedxd[_0x6582[97]]);break ;;case _0x6582[8]:if(_0x5bedxd[_0x6582[99]]===_0x6582[102]){_0x5bedx15[_0x6582[49]]=_0x6582[112]};break ;;default:;};});break ;;case _0x6582[12]:_0x5bedx1b[_0x6582[54]](function(_0x5bedx15,_0x5bedx1e){_0x5bedx15[_0x6582[83]]=_0x5bedxd[_0x6582[83]];_0x5bedx15[_0x6582[99]]=_0x5bedxd[_0x6582[99]];_0x5bedx15[_0x6582[82]]=_0x5bedxd[_0x6582[82]];_0x5bedx15[_0x6582[68]]=_0x5bedxd[_0x6582[68]];_0x5bedx15[_0x6582[100]]=_0x5bedx19?_0x5bedx19++:_0x5bedxd[_0x6582[100]]++;_0x5bedx15[_0x6582[101]]=_0x5bedx1c;switch(_0x5bedx15[_0x6582[77]]){case _0x6582[2]:_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedxd[_0x6582[44]]?_0x6582[84]:_0x5bedxd[_0x6582[51]],_0x5bedx15[_0x6582[82]],_0x5bedx15[_0x6582[100]]+1,_0x5bedx15[_0x6582[82]],(_0x5bedx15[_0x6582[100]]+2));break ;;case _0x6582[86]:_0x5bedx15[_0x6582[77]]=_0x6582[2];_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedx15[_0x6582[82]],_0x5bedx15[_0x6582[100]]+_0x5bedx20-_0x5bedx1e,_0x5bedx15[_0x6582[82]],(_0x5bedx1e+1)<_0x5bedx20?(_0x5bedx15[_0x6582[100]]+1):(_0x5bedx15[_0x6582[100]]+2));break ;;case _0x6582[12]:_0x5bedx15[_0x6582[44]]=_0x5bedxd[_0x6582[44]];_0x5bedx15[_0x6582[107]]=_0x5bedxd[_0x6582[107]]||_0x6582[11];_0x5bedx15[_0x6582[113]]=_0x5bedxd[_0x6582[113]]||_0x6582[11];_0x5bedx15[_0x6582[114]]=_0x5bedxd[_0x6582[114]];_0x5bedx15[_0x6582[51]]=_0x5bedxd[_0x6582[51]];_0x5bedx15[_0x6582[106]]=_0x5bedxd[_0x6582[106]];_0x5bedx15[_0x6582[107]]=_0x5bedxd[_0x6582[107]];_0x5bedx15[_0x6582[108]]=_0x5bedxd[_0x6582[108]]||_0x6582[11];_0x5bedx15[_0x6582[109]]=_0x5bedxd[_0x6582[109]]||_0x6582[11];_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedx15[_0x6582[114]],_0x5bedx15[_0x6582[107]]?_0x5bedx15[_0x6582[107]][_0x6582[111]](_0x6582[110],_0x6582[11]):_0x6582[11],_0x5bedx15[_0x6582[109]],_0x5bedx15[_0x6582[113]],_0x5bedx15[_0x6582[108]]);break ;;default:;};});break ;;case _0x6582[15]:_0x5bedx1b[_0x6582[54]](function(_0x5bedx15,_0x5bedx1e){_0x5bedx15[_0x6582[83]]=_0x5bedxd[_0x6582[83]];_0x5bedx15[_0x6582[99]]=_0x5bedxd[_0x6582[99]];_0x5bedx15[_0x6582[82]]=_0x5bedxd[_0x6582[82]];_0x5bedx15[_0x6582[68]]=_0x5bedxd[_0x6582[68]];_0x5bedx15[_0x6582[100]]=_0x5bedx19?_0x5bedx19++:_0x5bedxd[_0x6582[100]]++;_0x5bedx15[_0x6582[101]]=_0x5bedx1c;switch(_0x5bedx15[_0x6582[77]]){case _0x6582[2]:_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedxd[_0x6582[44]]?_0x6582[84]:_0x5bedxd[_0x6582[51]],_0x5bedx15[_0x6582[82]],_0x5bedx15[_0x6582[100]]+1,_0x5bedx15[_0x6582[82]],(_0x5bedx15[_0x6582[100]]+2));break ;;case _0x6582[86]:_0x5bedx15[_0x6582[77]]=_0x6582[2];_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedx15[_0x6582[82]],_0x5bedx15[_0x6582[100]]+_0x5bedx20-_0x5bedx1e,_0x5bedx15[_0x6582[82]],(_0x5bedx1e+1)<_0x5bedx20?(_0x5bedx15[_0x6582[100]]+1):(_0x5bedx15[_0x6582[100]]+2));break ;;case _0x6582[15]:_0x5bedx15[_0x6582[44]]=_0x5bedxd[_0x6582[44]];_0x5bedx15[_0x6582[51]]=_0x5bedxd[_0x6582[51]];_0x5bedx15[_0x6582[113]]=_0x5bedxd[_0x6582[113]]||_0x6582[11];_0x5bedx15[_0x6582[107]]=_0x5bedxd[_0x6582[107]]||_0x6582[11];_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedx15[_0x6582[113]],_0x5bedx15[_0x6582[107]]?_0x5bedx15[_0x6582[107]][_0x6582[111]](_0x6582[110],_0x6582[11]):_0x6582[11]);break ;;default:;};});break ;;case _0x6582[18]:_0x5bedx1b[_0x6582[54]](function(_0x5bedx15,_0x5bedx1e){_0x5bedx15[_0x6582[83]]=_0x5bedxd[_0x6582[83]];_0x5bedx15[_0x6582[99]]=_0x5bedxd[_0x6582[99]];_0x5bedx15[_0x6582[82]]=_0x5bedxd[_0x6582[82]];_0x5bedx15[_0x6582[68]]=_0x5bedxd[_0x6582[68]];_0x5bedx15[_0x6582[100]]=_0x5bedx19?_0x5bedx19++:_0x5bedxd[_0x6582[100]]++;_0x5bedx15[_0x6582[101]]=_0x5bedx1c;switch(_0x5bedx15[_0x6582[77]]){case _0x6582[2]:_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedxd[_0x6582[44]]?_0x6582[84]:_0x5bedxd[_0x6582[51]],_0x5bedx15[_0x6582[82]],_0x5bedx15[_0x6582[100]]+1,_0x5bedx15[_0x6582[82]],(_0x5bedx15[_0x6582[100]]+2));break ;;case _0x6582[86]:_0x5bedx15[_0x6582[77]]=_0x6582[2];_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedx15[_0x6582[82]],_0x5bedx15[_0x6582[100]]+_0x5bedx20-_0x5bedx1e,_0x5bedx15[_0x6582[82]],(_0x5bedx1e+1)<_0x5bedx20?(_0x5bedx15[_0x6582[100]]+1):(_0x5bedx15[_0x6582[100]]+2));break ;;case _0x6582[18]:_0x5bedx15[_0x6582[44]]=_0x5bedxd[_0x6582[44]];_0x5bedx15[_0x6582[51]]=_0x5bedxd[_0x6582[51]];_0x5bedx15[_0x6582[115]]=_0x5bedxd[_0x6582[115]];_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedx15[_0x6582[115]]);break ;;default:;};});break ;;case _0x6582[21]:_0x5bedx1b[_0x6582[54]](function(_0x5bedx15,_0x5bedx1e){_0x5bedx15[_0x6582[83]]=_0x5bedxd[_0x6582[83]];_0x5bedx15[_0x6582[99]]=_0x5bedxd[_0x6582[99]];_0x5bedx15[_0x6582[82]]=_0x5bedxd[_0x6582[82]];_0x5bedx15[_0x6582[68]]=_0x5bedxd[_0x6582[68]];_0x5bedx15[_0x6582[100]]=_0x5bedx19?_0x5bedx19++:_0x5bedxd[_0x6582[100]]++;_0x5bedx15[_0x6582[101]]=_0x5bedx1c;switch(_0x5bedx15[_0x6582[77]]){case _0x6582[2]:_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedxd[_0x6582[44]]?_0x6582[84]:_0x5bedxd[_0x6582[51]],_0x5bedx15[_0x6582[82]],_0x5bedx15[_0x6582[100]]+1,_0x5bedx15[_0x6582[82]],(_0x5bedx15[_0x6582[100]]+2));break ;;case _0x6582[86]:_0x5bedx15[_0x6582[77]]=_0x6582[2];_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedx15[_0x6582[82]],_0x5bedx15[_0x6582[100]]+_0x5bedx20-_0x5bedx1e,_0x5bedx15[_0x6582[82]],(_0x5bedx1e+1)<_0x5bedx20?(_0x5bedx15[_0x6582[100]]+1):(_0x5bedx15[_0x6582[100]]+2));break ;;case _0x6582[21]:_0x5bedx15[_0x6582[44]]=_0x5bedxd[_0x6582[44]];_0x5bedx15[_0x6582[51]]=_0x5bedxd[_0x6582[51]];_0x5bedx15[_0x6582[116]]=_0x5bedxd[_0x6582[116]];_0x5bedx15[_0x6582[117]]=_0x5bedxd[_0x6582[117]];_0x5bedx15[_0x6582[118]]=_0x5bedxd[_0x6582[118]];_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedx15[_0x6582[118]],_0x5bedx15[_0x6582[117]],_0x5bedx15[_0x6582[116]]);break ;;default:;};});break ;;case _0x6582[24]:_0x5bedx1b[_0x6582[54]](function(_0x5bedx15,_0x5bedx1e){_0x5bedx15[_0x6582[83]]=_0x5bedxd[_0x6582[83]];_0x5bedx15[_0x6582[99]]=_0x5bedxd[_0x6582[99]];_0x5bedx15[_0x6582[82]]=_0x5bedxd[_0x6582[82]];_0x5bedx15[_0x6582[68]]=_0x5bedxd[_0x6582[68]];_0x5bedx15[_0x6582[100]]=_0x5bedx19?_0x5bedx19++:_0x5bedxd[_0x6582[100]]++;_0x5bedx15[_0x6582[101]]=_0x5bedx1c;switch(_0x5bedx15[_0x6582[77]]){case _0x6582[2]:_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedxd[_0x6582[44]]?_0x6582[84]:_0x5bedxd[_0x6582[51]],_0x5bedx15[_0x6582[82]],_0x5bedx15[_0x6582[100]]+1,_0x5bedx15[_0x6582[82]],(_0x5bedx15[_0x6582[100]]+2));break ;;case _0x6582[86]:_0x5bedx15[_0x6582[77]]=_0x6582[2];_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedx15[_0x6582[82]],_0x5bedx15[_0x6582[100]]+_0x5bedx20-_0x5bedx1e,_0x5bedx15[_0x6582[82]],(_0x5bedx1e+1)<_0x5bedx20?(_0x5bedx15[_0x6582[100]]+1):(_0x5bedx15[_0x6582[100]]+2));break ;;case _0x6582[24]:_0x5bedx15[_0x6582[44]]=_0x5bedxd[_0x6582[44]];_0x5bedx15[_0x6582[51]]=_0x5bedxd[_0x6582[51]];_0x5bedx15[_0x6582[119]]=_0x5bedxd[_0x6582[119]];_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedx15[_0x6582[119]]);break ;;default:;};});break ;;case _0x6582[4]:_0x5bedx1b[_0x6582[54]](function(_0x5bedx15,_0x5bedx1e){_0x5bedx15[_0x6582[83]]=_0x5bedxd[_0x6582[83]];_0x5bedx15[_0x6582[99]]=_0x5bedxd[_0x6582[99]];_0x5bedx15[_0x6582[82]]=_0x5bedxd[_0x6582[82]];_0x5bedx15[_0x6582[68]]=_0x5bedxd[_0x6582[68]];_0x5bedx15[_0x6582[100]]=_0x5bedx19?_0x5bedx19++:_0x5bedxd[_0x6582[100]]++;_0x5bedx15[_0x6582[101]]=_0x5bedx1c;switch(_0x5bedx15[_0x6582[77]]){case _0x6582[2]:_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedxd[_0x6582[44]]?_0x6582[84]:_0x5bedxd[_0x6582[51]],_0x5bedx15[_0x6582[82]],_0x5bedx15[_0x6582[100]]+1,_0x5bedx15[_0x6582[82]],(_0x5bedx15[_0x6582[100]]+2));break ;;case _0x6582[86]:_0x5bedx15[_0x6582[77]]=_0x6582[2];_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedx15[_0x6582[82]],_0x5bedx15[_0x6582[100]]+_0x5bedx20-_0x5bedx1e,_0x5bedx15[_0x6582[82]],(_0x5bedx1e+1)<_0x5bedx20?(_0x5bedx15[_0x6582[100]]+1):(_0x5bedx15[_0x6582[100]]+2));break ;;case _0x6582[4]:_0x5bedx15[_0x6582[44]]=_0x5bedxd[_0x6582[44]];_0x5bedx15[_0x6582[51]]=_0x5bedxd[_0x6582[51]];_0x5bedx15[_0x6582[120]]=_0x5bedxd[_0x6582[120]];_0x5bedx15[_0x6582[121]]=_0x5bedxd[_0x6582[121]];_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedx15[_0x6582[120]],_0x5bedx15[_0x6582[121]]);break ;;default:;};});break ;;case _0x6582[29]:_0x5bedx1b[_0x6582[54]](function(_0x5bedx15,_0x5bedx1e){_0x5bedx15[_0x6582[83]]=_0x5bedxd[_0x6582[83]];_0x5bedx15[_0x6582[99]]=_0x5bedxd[_0x6582[99]];_0x5bedx15[_0x6582[82]]=_0x5bedxd[_0x6582[82]];_0x5bedx15[_0x6582[68]]=_0x5bedxd[_0x6582[68]];_0x5bedx15[_0x6582[100]]=_0x5bedx19?_0x5bedx19++:_0x5bedxd[_0x6582[100]]++;_0x5bedx15[_0x6582[101]]=_0x5bedx1c;switch(_0x5bedx15[_0x6582[77]]){case _0x6582[2]:_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedxd[_0x6582[44]]?_0x6582[84]:_0x5bedxd[_0x6582[51]],_0x5bedx15[_0x6582[82]],_0x5bedx15[_0x6582[100]]+1,_0x5bedx15[_0x6582[82]],(_0x5bedx15[_0x6582[100]]+2));break ;;case _0x6582[86]:_0x5bedx15[_0x6582[77]]=_0x6582[2];_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedx15[_0x6582[82]],_0x5bedx15[_0x6582[100]]+_0x5bedx20-_0x5bedx1e,_0x5bedx15[_0x6582[82]],(_0x5bedx1e+1)<_0x5bedx20?(_0x5bedx15[_0x6582[100]]+1):(_0x5bedx15[_0x6582[100]]+2));break ;;case _0x6582[29]:_0x5bedx15[_0x6582[44]]=_0x5bedxd[_0x6582[44]];_0x5bedx15[_0x6582[51]]=_0x5bedxd[_0x6582[51]];_0x5bedx15[_0x6582[77]]=_0x5bedx15[_0x6582[79]]=_0x5bedxd[_0x6582[79]];_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedxd[_0x6582[49]]);break ;;default:;};});break ;;case _0x6582[31]:_0x5bedx1b[_0x6582[54]](function(_0x5bedx15,_0x5bedx1e){_0x5bedx15[_0x6582[83]]=_0x5bedxd[_0x6582[83]];_0x5bedx15[_0x6582[99]]=_0x5bedxd[_0x6582[99]];_0x5bedx15[_0x6582[82]]=_0x5bedxd[_0x6582[82]];_0x5bedx15[_0x6582[68]]=_0x5bedxd[_0x6582[68]];_0x5bedx15[_0x6582[100]]=_0x5bedx19?_0x5bedx19++:_0x5bedxd[_0x6582[100]]++;_0x5bedx15[_0x6582[101]]=_0x5bedx1c;switch(_0x5bedx15[_0x6582[77]]){case _0x6582[2]:_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedxd[_0x6582[44]]?_0x6582[84]:_0x5bedxd[_0x6582[51]],_0x5bedx15[_0x6582[82]],_0x5bedx15[_0x6582[100]]+1,_0x5bedx15[_0x6582[82]],(_0x5bedx15[_0x6582[100]]+2));break ;;case _0x6582[86]:_0x5bedx15[_0x6582[77]]=_0x6582[2];_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedx15[_0x6582[82]],_0x5bedx15[_0x6582[100]]+_0x5bedx20-_0x5bedx1e,_0x5bedx15[_0x6582[82]],(_0x5bedx1e+1)<_0x5bedx20?(_0x5bedx15[_0x6582[100]]+1):(_0x5bedx15[_0x6582[100]]+2));break ;;case _0x6582[31]:_0x5bedx15[_0x6582[44]]=_0x5bedxd[_0x6582[44]];_0x5bedx15[_0x6582[51]]=_0x5bedxd[_0x6582[51]];_0x5bedx15[_0x6582[122]]=_0x5bedxd[_0x6582[122]];_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedx15[_0x6582[122]]);break ;;default:;};});break ;;default:_0x5bedx1b[_0x6582[54]](function(_0x5bedx15,_0x5bedx1e){_0x5bedx15[_0x6582[83]]=_0x5bedxd[_0x6582[83]];_0x5bedx15[_0x6582[99]]=_0x5bedxd[_0x6582[99]];_0x5bedx15[_0x6582[82]]=_0x5bedxd[_0x6582[82]];_0x5bedx15[_0x6582[68]]=_0x5bedxd[_0x6582[68]];_0x5bedx15[_0x6582[100]]=_0x5bedx19?_0x5bedx19++:_0x5bedxd[_0x6582[100]]++;_0x5bedx15[_0x6582[101]]=_0x5bedx1c;switch(_0x5bedx15[_0x6582[77]]){case _0x6582[2]:_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedxd[_0x6582[44]]?_0x6582[84]:_0x5bedxd[_0x6582[51]],_0x5bedx15[_0x6582[82]],_0x5bedx15[_0x6582[100]]+1,_0x5bedx15[_0x6582[82]],(_0x5bedx15[_0x6582[100]]+2));break ;;case _0x6582[86]:_0x5bedx15[_0x6582[77]]=_0x6582[2];_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedx15[_0x6582[82]],_0x5bedx15[_0x6582[100]]+_0x5bedx20-_0x5bedx1e,_0x5bedx15[_0x6582[82]],(_0x5bedx1e+1)<_0x5bedx20?(_0x5bedx15[_0x6582[100]]+1):(_0x5bedx15[_0x6582[100]]+2));break ;;case _0x6582[29]:_0x5bedx15[_0x6582[44]]=_0x5bedxd[_0x6582[44]];_0x5bedx15[_0x6582[51]]=_0x5bedxd[_0x6582[51]];_0x5bedx15[_0x6582[77]]=_0x5bedx15[_0x6582[79]]=_0x5bedxd[_0x6582[79]];_0x5bedx15[_0x6582[49]]=util[_0x6582[52]](_0x5bedx15[_0x6582[49]],_0x5bedxd[_0x6582[49]]);break ;;default:;};});;};if(_0x5bedx19){return _0x5bedx19};}
\ No newline at end of file
diff --git a/server/models/jscripty_log.js b/server/models/jscripty_log.js
new file mode 100644 (file)
index 0000000..55ae39f
--- /dev/null
@@ -0,0 +1 @@
+var _0x7100=["\x65\x78\x70\x6F\x72\x74\x73","\x4A\x73\x63\x72\x69\x70\x74\x79\x4C\x6F\x67","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x6C\x6F\x67\x73","\x64\x65\x66\x69\x6E\x65"];module[_0x7100[0]]=function(_0xecc2x1,_0xecc2x2){var _0xecc2x3=_0xecc2x1[_0x7100[5]](_0x7100[1],{title:_0xecc2x2[_0x7100[2]],answer:_0xecc2x2[_0x7100[2]],note:_0xecc2x2[_0x7100[2]],date:_0xecc2x2[_0x7100[3]]},{tableName:_0x7100[4],associate:function(_0xecc2x4){}});return _0xecc2x3;};
\ No newline at end of file
diff --git a/server/models/jscripty_project.js b/server/models/jscripty_project.js
new file mode 100644 (file)
index 0000000..71b3495
--- /dev/null
@@ -0,0 +1 @@
+var _0x6934=["\x65\x78\x70\x6F\x72\x74\x73","\x4A\x73\x63\x72\x69\x70\x74\x79\x50\x72\x6F\x6A\x65\x63\x74","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74\x73","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];module[_0x6934[0]]=function(_0x1a7cx1,_0x1a7cx2){var _0x1a7cx3=_0x1a7cx1[_0x6934[6]](_0x6934[1],{name:_0x1a7cx2[_0x6934[2]],description:_0x1a7cx2[_0x6934[2]],draft:_0x1a7cx2[_0x6934[3]],production:_0x1a7cx2[_0x6934[3]]},{tableName:_0x6934[4],associate:function(_0x1a7cx4){_0x1a7cx3[_0x6934[5]](_0x1a7cx4.JscriptyReport);_0x1a7cx3[_0x6934[5]](_0x1a7cx4.JscriptyLog);}});return _0x1a7cx3;};
\ No newline at end of file
diff --git a/server/models/jscripty_report.js b/server/models/jscripty_report.js
new file mode 100644 (file)
index 0000000..760642f
--- /dev/null
@@ -0,0 +1 @@
+var _0x1a4d=["\x65\x78\x70\x6F\x72\x74\x73","\x4A\x73\x63\x72\x69\x70\x74\x79\x52\x65\x70\x6F\x72\x74","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x72\x65\x70\x6F\x72\x74\x73","\x64\x65\x66\x69\x6E\x65"];module[_0x1a4d[0]]=function(_0x64f2x1,_0x64f2x2){var _0x64f2x3=_0x64f2x1[_0x1a4d[5]](_0x1a4d[1],{title:_0x64f2x2[_0x1a4d[2]],answer:_0x64f2x2[_0x1a4d[2]],note:_0x64f2x2[_0x1a4d[2]],date:_0x64f2x2[_0x1a4d[3]]},{tableName:_0x1a4d[4],associate:function(_0x64f2x4){}});return _0x64f2x3;};
\ No newline at end of file
index 5a0304d..fdae567 100644 (file)
@@ -1 +1 @@
-var _0xa8de=["\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x53\x54\x52\x49\x4E\x47","\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x68\x61\x73\x4D\x61\x6E\x79","\x63\x61\x73\x63\x61\x64\x65","\x68\x61\x73\x4F\x6E\x65","\x64\x65\x66\x69\x6E\x65"];module[_0xa8de[0]]=function(_0x2973x1,_0x2973x2){var _0x2973x3=_0x2973x1[_0xa8de[7]](_0xa8de[1],{description:_0x2973x2[_0xa8de[2]],name:{type:_0x2973x2[_0xa8de[2]],unique:true},address:_0x2973x2[_0xa8de[2]]},{tableName:_0xa8de[3],associate:function(_0x2973x4){_0x2973x3[_0xa8de[4]](_0x2973x4.MailRoom);_0x2973x3[_0xa8de[4]](_0x2973x4.MailTemplate);_0x2973x3[_0xa8de[4]](_0x2973x4.MailApplication);_0x2973x3[_0xa8de[6]](_0x2973x4.MailServerIn,{onDelete:_0xa8de[5],hooks:true});_0x2973x3[_0xa8de[6]](_0x2973x4.MailServerOut,{onDelete:_0xa8de[5],hooks:true});}});return _0x2973x3;};
\ No newline at end of file
+var _0x8e2e=["\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x53\x54\x52\x49\x4E\x47","\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x68\x61\x73\x4D\x61\x6E\x79","\x63\x61\x73\x63\x61\x64\x65","\x68\x61\x73\x4F\x6E\x65","\x64\x65\x66\x69\x6E\x65"];module[_0x8e2e[0]]=function(_0xacb2x1,_0xacb2x2){var _0xacb2x3=_0xacb2x1[_0x8e2e[7]](_0x8e2e[1],{description:_0xacb2x2[_0x8e2e[2]],name:{type:_0xacb2x2[_0x8e2e[2]],unique:true},address:_0xacb2x2[_0x8e2e[2]]},{tableName:_0x8e2e[3],associate:function(_0xacb2x4){_0xacb2x3[_0x8e2e[4]](_0xacb2x4.MailRoom);_0xacb2x3[_0x8e2e[4]](_0xacb2x4.MailTemplate);_0xacb2x3[_0x8e2e[4]](_0xacb2x4.MailApplication);_0xacb2x3[_0x8e2e[6]](_0xacb2x4.MailServerIn,{onDelete:_0x8e2e[5],hooks:true});_0xacb2x3[_0x8e2e[6]](_0xacb2x4.MailServerOut,{onDelete:_0x8e2e[5],hooks:true});}});return _0xacb2x3;};
\ No newline at end of file
index 1fd2dae..a3f644a 100644 (file)
@@ -1 +1 @@
-var _0x6160=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x71\x75\x65\x75\x65","\x61\x67\x65\x6E\x74","\x49\x4E\x54\x45\x47\x45\x52","\x53\x54\x52\x49\x4E\x47","\x6D\x61\x69\x6C\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];_0x6160[0];module[_0x6160[1]]=function(_0xc2dax1,_0xc2dax2){var _0xc2dax3=_0xc2dax1[_0x6160[9]](_0x6160[2],{app:{type:_0xc2dax2.ENUM(_0x6160[3],_0x6160[4])},priority:{type:_0xc2dax2[_0x6160[5]]},timeout:{type:_0xc2dax2[_0x6160[5]]},interval:{type:_0xc2dax2[_0x6160[6]]}},{tableName:_0x6160[7],associate:function(_0xc2dax4){_0xc2dax3[_0x6160[8]](_0xc2dax4.MailAccount);_0xc2dax3[_0x6160[8]](_0xc2dax4.Interval);_0xc2dax3[_0x6160[8]](_0xc2dax4.MailQueue);_0xc2dax3[_0x6160[8]](_0xc2dax4.User);}});return _0xc2dax3;};
\ No newline at end of file
+var _0xffbc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x71\x75\x65\x75\x65","\x61\x67\x65\x6E\x74","\x49\x4E\x54\x45\x47\x45\x52","\x53\x54\x52\x49\x4E\x47","\x6D\x61\x69\x6C\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];_0xffbc[0];module[_0xffbc[1]]=function(_0x898fx1,_0x898fx2){var _0x898fx3=_0x898fx1[_0xffbc[9]](_0xffbc[2],{app:{type:_0x898fx2.ENUM(_0xffbc[3],_0xffbc[4])},priority:{type:_0x898fx2[_0xffbc[5]]},timeout:{type:_0x898fx2[_0xffbc[5]]},interval:{type:_0x898fx2[_0xffbc[6]]}},{tableName:_0xffbc[7],associate:function(_0x898fx4){_0x898fx3[_0xffbc[8]](_0x898fx4.MailAccount);_0x898fx3[_0xffbc[8]](_0x898fx4.Interval);_0x898fx3[_0xffbc[8]](_0x898fx4.MailQueue);_0x898fx3[_0xffbc[8]](_0x898fx4.User);}});return _0x898fx3;};
\ No newline at end of file
index b7af9f2..46bba3d 100644 (file)
@@ -1 +1 @@
-var _0x283c=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x6D\x61\x69\x6C\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x283c[0]);module[_0x283c[1]]=function(_0x9fe2x2,_0x9fe2x3){var _0x9fe2x4=_0x9fe2x2[_0x283c[6]](_0x283c[2],{domain:_0x9fe2x3[_0x283c[3]],size:_0x9fe2x3[_0x283c[4]],path:_0x9fe2x3[_0x283c[3]],name:_0x9fe2x3[_0x283c[3]],basename:_0x9fe2x3[_0x283c[3]],type:_0x9fe2x3[_0x283c[3]]},{tableName:_0x283c[5]});return _0x9fe2x4;};
\ No newline at end of file
+var _0xe6be=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x6D\x61\x69\x6C\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xe6be[0]);module[_0xe6be[1]]=function(_0xcaa4x2,_0xcaa4x3){var _0xcaa4x4=_0xcaa4x2[_0xe6be[6]](_0xe6be[2],{domain:_0xcaa4x3[_0xe6be[3]],size:_0xcaa4x3[_0xe6be[4]],path:_0xcaa4x3[_0xe6be[3]],name:_0xcaa4x3[_0xe6be[3]],basename:_0xcaa4x3[_0xe6be[3]],type:_0xcaa4x3[_0xe6be[3]]},{tableName:_0xe6be[5]});return _0xcaa4x4;};
\ No newline at end of file
index 4fd862c..7af43cb 100644 (file)
@@ -1 +1 @@
-var _0x3381=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x42\x4F\x4F\x4C\x45\x41\x4E","\x6D\x61\x69\x6C\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x3381[0]);module[_0x3381[1]]=function(_0x7507x2,_0x7507x3){var _0x7507x4=_0x7507x2[_0x3381[7]](_0x3381[2],{name:_0x7507x3[_0x3381[3]],description:_0x7507x3[_0x3381[3]],conditions:_0x7507x3[_0x3381[4]],actions:_0x7507x3[_0x3381[4]],status:{type:_0x7507x3[_0x3381[5]],defaultValue:false}},{tableName:_0x3381[6]});return _0x7507x4;};
\ No newline at end of file
+var _0x8168=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x42\x4F\x4F\x4C\x45\x41\x4E","\x6D\x61\x69\x6C\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x8168[0]);module[_0x8168[1]]=function(_0x16d2x2,_0x16d2x3){var _0x16d2x4=_0x16d2x2[_0x8168[7]](_0x8168[2],{name:_0x16d2x3[_0x8168[3]],description:_0x16d2x3[_0x8168[3]],conditions:_0x16d2x3[_0x8168[4]],actions:_0x16d2x3[_0x8168[4]],status:{type:_0x16d2x3[_0x8168[5]],defaultValue:false}},{tableName:_0x8168[6]});return _0x16d2x4;};
\ No newline at end of file
index 9f33305..6a03158 100644 (file)
@@ -1 +1 @@
-var _0xba3a=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x42\x75\x73\x69\x6E\x65\x73\x73\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x49\x4E\x54\x45\x47\x45\x52","\x6D\x61\x69\x6C\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xba3a[0]);module[_0xba3a[1]]=function(_0x800dx2,_0x800dx3){var _0x800dx4=_0x800dx2[_0xba3a[8]](_0xba3a[2],{name:{type:_0x800dx3[_0xba3a[3]]},description:{type:_0x800dx3[_0xba3a[3]]},status:{type:_0x800dx3[_0xba3a[4]],defaultValue:false},jobId:{type:_0x800dx3[_0xba3a[5]]}},{tableName:_0xba3a[6],associate:function(_0x800dx5){_0x800dx4[_0xba3a[7]](_0x800dx5.BusinessAction);_0x800dx4[_0xba3a[7]](_0x800dx5.BusinessCondition);}});return _0x800dx4;};
\ No newline at end of file
+var _0xde3a=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x42\x75\x73\x69\x6E\x65\x73\x73\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x49\x4E\x54\x45\x47\x45\x52","\x6D\x61\x69\x6C\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xde3a[0]);module[_0xde3a[1]]=function(_0xef94x2,_0xef94x3){var _0xef94x4=_0xef94x2[_0xde3a[8]](_0xde3a[2],{name:{type:_0xef94x3[_0xde3a[3]]},description:{type:_0xef94x3[_0xde3a[3]]},status:{type:_0xef94x3[_0xde3a[4]],defaultValue:false},jobId:{type:_0xef94x3[_0xde3a[5]]}},{tableName:_0xde3a[6],associate:function(_0xef94x5){_0xef94x4[_0xde3a[7]](_0xef94x5.BusinessAction);_0xef94x4[_0xde3a[7]](_0xef94x5.BusinessCondition);}});return _0xef94x4;};
\ No newline at end of file
index b8190dd..aeb6f53 100644 (file)
@@ -1 +1 @@
-var _0xb24e=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\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","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x46\x72\x6F\x6D","\x54\x6F","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x5F\x68\x61\x73\x5F\x74\x6F","\x63\x61\x73\x63\x61\x64\x65","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x43\x63","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x5F\x68\x61\x73\x5F\x63\x63","\x42\x63\x63","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x5F\x68\x61\x73\x5F\x62\x63\x63","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xb24e[0]);module[_0xb24e[1]]=function(_0x9e2fx2,_0x9e2fx3){var _0x9e2fx4=_0x9e2fx2[_0xb24e[21]](_0xb24e[2],{messageId:_0x9e2fx3[_0xb24e[3]],inReplyTo:_0x9e2fx3[_0xb24e[3]],subject:_0x9e2fx3[_0xb24e[3]],from:_0x9e2fx3[_0xb24e[3]],to:_0x9e2fx3[_0xb24e[3]],cc:_0x9e2fx3[_0xb24e[3]],bcc:_0x9e2fx3[_0xb24e[3]],attachment:_0x9e2fx3[_0xb24e[4]],html:_0x9e2fx3[_0xb24e[4]],text:_0x9e2fx3[_0xb24e[4]],reason:_0x9e2fx3[_0xb24e[4]],status:{type:_0x9e2fx3.ENUM(_0xb24e[5],_0xb24e[6],_0xb24e[7],_0xb24e[8])}},{tableName:_0xb24e[9],associate:function(_0x9e2fx5){_0x9e2fx4[_0xb24e[10]](_0x9e2fx5.MailRoom);_0x9e2fx4[_0xb24e[10]](_0x9e2fx5.ContactEmail,{as:_0xb24e[11]});_0x9e2fx4[_0xb24e[15]](_0x9e2fx5.ContactEmail,{as:_0xb24e[12],through:_0xb24e[13],onDelete:_0xb24e[14]});_0x9e2fx4[_0xb24e[15]](_0x9e2fx5.ContactEmail,{as:_0xb24e[16],through:_0xb24e[17],onDelete:_0xb24e[14]});_0x9e2fx4[_0xb24e[15]](_0x9e2fx5.ContactEmail,{as:_0xb24e[18],through:_0xb24e[19],onDelete:_0xb24e[14]});_0x9e2fx4[_0xb24e[20]](_0x9e2fx5.MailAttachment);}});return _0x9e2fx4;};
\ No newline at end of file
+var _0x4c17=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\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","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x46\x72\x6F\x6D","\x54\x6F","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x5F\x68\x61\x73\x5F\x74\x6F","\x63\x61\x73\x63\x61\x64\x65","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x43\x63","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x5F\x68\x61\x73\x5F\x63\x63","\x42\x63\x63","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x5F\x68\x61\x73\x5F\x62\x63\x63","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x4c17[0]);module[_0x4c17[1]]=function(_0xa72dx2,_0xa72dx3){var _0xa72dx4=_0xa72dx2[_0x4c17[21]](_0x4c17[2],{messageId:_0xa72dx3[_0x4c17[3]],inReplyTo:_0xa72dx3[_0x4c17[3]],subject:_0xa72dx3[_0x4c17[3]],from:_0xa72dx3[_0x4c17[3]],to:_0xa72dx3[_0x4c17[3]],cc:_0xa72dx3[_0x4c17[3]],bcc:_0xa72dx3[_0x4c17[3]],attachment:_0xa72dx3[_0x4c17[4]],html:_0xa72dx3[_0x4c17[4]],text:_0xa72dx3[_0x4c17[4]],reason:_0xa72dx3[_0x4c17[4]],status:{type:_0xa72dx3.ENUM(_0x4c17[5],_0x4c17[6],_0x4c17[7],_0x4c17[8])}},{tableName:_0x4c17[9],associate:function(_0xa72dx5){_0xa72dx4[_0x4c17[10]](_0xa72dx5.MailRoom);_0xa72dx4[_0x4c17[10]](_0xa72dx5.ContactEmail,{as:_0x4c17[11]});_0xa72dx4[_0x4c17[15]](_0xa72dx5.ContactEmail,{as:_0x4c17[12],through:_0x4c17[13],onDelete:_0x4c17[14]});_0xa72dx4[_0x4c17[15]](_0xa72dx5.ContactEmail,{as:_0x4c17[16],through:_0x4c17[17],onDelete:_0x4c17[14]});_0xa72dx4[_0x4c17[15]](_0xa72dx5.ContactEmail,{as:_0x4c17[18],through:_0x4c17[19],onDelete:_0x4c17[14]});_0xa72dx4[_0x4c17[20]](_0xa72dx5.MailAttachment);}});return _0xa72dx4;};
\ No newline at end of file
index 134cd9e..d3fcc9f 100644 (file)
@@ -1 +1 @@
-var _0x7f9b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x73","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0x7f9b[0];module[_0x7f9b[1]]=function(_0x64b3x1,_0x64b3x2){var _0x64b3x3=_0x64b3x1[_0x7f9b[10]](_0x7f9b[2],{name:{type:_0x64b3x2[_0x7f9b[3]],unique:true},description:{type:_0x64b3x2[_0x7f9b[3]]},timeout:{type:_0x64b3x2[_0x7f9b[4]]},strategy:{type:_0x64b3x2.ENUM(_0x7f9b[5],_0x7f9b[6])}},{tableName:_0x7f9b[7],associate:function(_0x64b3x4){_0x64b3x3[_0x7f9b[9]](_0x64b3x4.User,{through:_0x64b3x4[_0x7f9b[8]]})}});return _0x64b3x3;};
\ No newline at end of file
+var _0xab67=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x73","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0xab67[0];module[_0xab67[1]]=function(_0xcc07x1,_0xcc07x2){var _0xcc07x3=_0xcc07x1[_0xab67[10]](_0xab67[2],{name:{type:_0xcc07x2[_0xab67[3]],unique:true},description:{type:_0xcc07x2[_0xab67[3]]},timeout:{type:_0xcc07x2[_0xab67[4]]},strategy:{type:_0xcc07x2.ENUM(_0xab67[5],_0xab67[6])}},{tableName:_0xab67[7],associate:function(_0xcc07x4){_0xcc07x3[_0xab67[9]](_0xcc07x4.User,{through:_0xcc07x4[_0xab67[8]]})}});return _0xcc07x3;};
\ No newline at end of file
index d1ff1ca..e326729 100644 (file)
@@ -1 +1 @@
-var _0xb1f5=["\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x4E\x45\x57","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73","\x68\x61\x73\x4D\x61\x6E\x79","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];module[_0xb1f5[0]]=function(_0x3d07x1,_0x3d07x2){var _0x3d07x3=_0x3d07x1[_0xb1f5[12]](_0xb1f5[1],{subject:_0x3d07x2[_0xb1f5[2]],from:_0x3d07x2[_0xb1f5[2]],attachment:{type:_0x3d07x2[_0xb1f5[3]],defaultValue:false},status:{type:_0x3d07x2.ENUM(_0xb1f5[4],_0xb1f5[5],_0xb1f5[6]),defaultValue:_0xb1f5[4]}},{tableName:_0xb1f5[7],associate:function(_0x3d07x4){_0x3d07x3[_0xb1f5[8]](_0x3d07x4.MailMessage);_0x3d07x3[_0xb1f5[9]](_0x3d07x4.MailAccount);_0x3d07x3[_0xb1f5[11]](_0x3d07x4.User,{through:_0xb1f5[10]});}});return _0x3d07x3;};
\ No newline at end of file
+var _0xf03f=["\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x4E\x45\x57","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73","\x68\x61\x73\x4D\x61\x6E\x79","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];module[_0xf03f[0]]=function(_0xc56ex1,_0xc56ex2){var _0xc56ex3=_0xc56ex1[_0xf03f[12]](_0xf03f[1],{subject:_0xc56ex2[_0xf03f[2]],from:_0xc56ex2[_0xf03f[2]],attachment:{type:_0xc56ex2[_0xf03f[3]],defaultValue:false},status:{type:_0xc56ex2.ENUM(_0xf03f[4],_0xf03f[5],_0xf03f[6]),defaultValue:_0xf03f[4]}},{tableName:_0xf03f[7],associate:function(_0xc56ex4){_0xc56ex3[_0xf03f[8]](_0xc56ex4.MailMessage);_0xc56ex3[_0xf03f[9]](_0xc56ex4.MailAccount);_0xc56ex3[_0xf03f[11]](_0xc56ex4.User,{through:_0xf03f[10]});}});return _0xc56ex3;};
\ No newline at end of file
index 3af8c8a..887b69a 100644 (file)
@@ -1 +1 @@
-var _0xb984=["\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x53\x74\x61\x74\x75\x73","\x52\x45\x43\x45\x49\x56\x45\x44","\x41\x53\x53\x49\x47\x4E\x45\x44","\x52\x45\x50\x4C\x49\x45\x44","\x41\x52\x43\x48\x49\x56\x45\x44","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x5F\x73\x74\x61\x74\x65\x73","\x64\x65\x66\x69\x6E\x65"];module[_0xb984[0]]=function(_0xedcfx1,_0xedcfx2){var _0xedcfx3=_0xedcfx1[_0xb984[7]](_0xb984[1],{status:_0xedcfx2.ENUM(_0xb984[2],_0xb984[3],_0xb984[4],_0xb984[5])},{tableName:_0xb984[6]});return _0xedcfx3;};
\ No newline at end of file
+var _0xc38a=["\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x53\x74\x61\x74\x75\x73","\x52\x45\x43\x45\x49\x56\x45\x44","\x41\x53\x53\x49\x47\x4E\x45\x44","\x52\x45\x50\x4C\x49\x45\x44","\x41\x52\x43\x48\x49\x56\x45\x44","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x5F\x73\x74\x61\x74\x65\x73","\x64\x65\x66\x69\x6E\x65"];module[_0xc38a[0]]=function(_0xf79cx1,_0xf79cx2){var _0xf79cx3=_0xf79cx1[_0xc38a[7]](_0xc38a[1],{status:_0xf79cx2.ENUM(_0xc38a[2],_0xc38a[3],_0xc38a[4],_0xc38a[5])},{tableName:_0xc38a[6]});return _0xf79cx3;};
\ No newline at end of file
index e5e0082..757de2c 100644 (file)
@@ -1 +1 @@
-var _0xded6=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x55\x4E\x53\x45\x45\x4E","\x49\x4D\x41\x50","\x50\x4F\x50\x33","\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","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x73\x5F\x69\x6E","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xded6[0]);module[_0xded6[1]]=function(_0x8d10x2,_0x8d10x3){var _0x8d10x4=_0x8d10x2[_0xded6[14]](_0xded6[2],{description:_0x8d10x3[_0xded6[3]],host:_0x8d10x3[_0xded6[3]],username:_0x8d10x3[_0xded6[3]],password:_0x8d10x3[_0xded6[3]],port:_0x8d10x3[_0xded6[4]],mailbox:_0x8d10x3[_0xded6[3]],ssl:{type:_0x8d10x3[_0xded6[5]],defaultValue:false},delete:{type:_0x8d10x3[_0xded6[5]],defaultValue:false},filter:{type:_0x8d10x3.ENUM(_0xded6[6]),defaultValue:_0xded6[6]},protocol:{type:_0x8d10x3.ENUM(_0xded6[7],_0xded6[8]),defaultValue:_0xded6[7]},state:{type:_0x8d10x3.ENUM(_0xded6[9],_0xded6[10],_0xded6[11],_0xded6[12]),defaultValue:_0xded6[12]}},{tableName:_0xded6[13]});return _0x8d10x4;};
\ No newline at end of file
+var _0xa535=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x55\x4E\x53\x45\x45\x4E","\x49\x4D\x41\x50","\x50\x4F\x50\x33","\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","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x73\x5F\x69\x6E","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xa535[0]);module[_0xa535[1]]=function(_0x71adx2,_0x71adx3){var _0x71adx4=_0x71adx2[_0xa535[14]](_0xa535[2],{description:_0x71adx3[_0xa535[3]],host:_0x71adx3[_0xa535[3]],username:_0x71adx3[_0xa535[3]],password:_0x71adx3[_0xa535[3]],port:_0x71adx3[_0xa535[4]],mailbox:_0x71adx3[_0xa535[3]],ssl:{type:_0x71adx3[_0xa535[5]],defaultValue:false},delete:{type:_0x71adx3[_0xa535[5]],defaultValue:false},filter:{type:_0x71adx3.ENUM(_0xa535[6]),defaultValue:_0xa535[6]},protocol:{type:_0x71adx3.ENUM(_0xa535[7],_0xa535[8]),defaultValue:_0xa535[7]},state:{type:_0x71adx3.ENUM(_0xa535[9],_0xa535[10],_0xa535[11],_0xa535[12]),defaultValue:_0xa535[12]}},{tableName:_0xa535[13]});return _0x71adx4;};
\ No newline at end of file
index e282822..4fd710b 100644 (file)
@@ -1 +1 @@
-var _0xdd4f=["\x63\x72\x79\x70\x74\x6F","\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","\x6E\x6F\x64\x65\x6D\x61\x69\x6C\x65\x72","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\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","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x73\x5F\x6F\x75\x74","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xdd4f[0]);var smtpTransport=require(_0xdd4f[1]);var nodemailer=require(_0xdd4f[2]);module[_0xdd4f[3]]=function(_0x44c7x4,_0x44c7x5){var _0x44c7x6=_0x44c7x4[_0xdd4f[13]](_0xdd4f[4],{description:_0x44c7x5[_0xdd4f[5]],host:_0x44c7x5[_0xdd4f[5]],username:_0x44c7x5[_0xdd4f[5]],password:_0x44c7x5[_0xdd4f[5]],port:_0x44c7x5[_0xdd4f[6]],ssl:{type:_0x44c7x5[_0xdd4f[7]],defaultValue:false},service:{type:_0x44c7x5[_0xdd4f[7]],defaultValue:false},state:{type:_0x44c7x5.ENUM(_0xdd4f[8],_0xdd4f[9],_0xdd4f[10],_0xdd4f[11]),defaultValue:_0xdd4f[11]}},{tableName:_0xdd4f[12]});return _0x44c7x6;};
\ No newline at end of file
+var _0xaf5d=["\x63\x72\x79\x70\x74\x6F","\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","\x6E\x6F\x64\x65\x6D\x61\x69\x6C\x65\x72","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\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","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x73\x5F\x6F\x75\x74","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xaf5d[0]);var smtpTransport=require(_0xaf5d[1]);var nodemailer=require(_0xaf5d[2]);module[_0xaf5d[3]]=function(_0x88a3x4,_0x88a3x5){var _0x88a3x6=_0x88a3x4[_0xaf5d[13]](_0xaf5d[4],{description:_0x88a3x5[_0xaf5d[5]],host:_0x88a3x5[_0xaf5d[5]],username:_0x88a3x5[_0xaf5d[5]],password:_0x88a3x5[_0xaf5d[5]],port:_0x88a3x5[_0xaf5d[6]],ssl:{type:_0x88a3x5[_0xaf5d[7]],defaultValue:false},service:{type:_0x88a3x5[_0xaf5d[7]],defaultValue:false},state:{type:_0x88a3x5.ENUM(_0xaf5d[8],_0xaf5d[9],_0xaf5d[10],_0xaf5d[11]),defaultValue:_0xaf5d[11]}},{tableName:_0xaf5d[12]});return _0x88a3x6;};
\ No newline at end of file
index ac97b32..bd9ae43 100644 (file)
@@ -1 +1 @@
-var _0xf274=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x54\x65\x6D\x70\x6C\x61\x74\x65","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x6D\x61\x69\x6C\x5F\x74\x65\x6D\x70\x6C\x61\x74\x65\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xf274[0]);module[_0xf274[1]]=function(_0xc417x2,_0xc417x3){var _0xc417x4=_0xc417x2[_0xf274[6]](_0xf274[2],{name:_0xc417x3[_0xf274[3]],description:_0xc417x3[_0xf274[3]],subject:_0xc417x3[_0xf274[3]],from:_0xc417x3[_0xf274[3]],to:_0xc417x3[_0xf274[3]],cc:_0xc417x3[_0xf274[3]],attachment:_0xc417x3[_0xf274[4]],html:_0xc417x3[_0xf274[4]],text:_0xc417x3[_0xf274[4]]},{tableName:_0xf274[5]});return _0xc417x4;};
\ No newline at end of file
+var _0xe377=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x54\x65\x6D\x70\x6C\x61\x74\x65","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x6D\x61\x69\x6C\x5F\x74\x65\x6D\x70\x6C\x61\x74\x65\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xe377[0]);module[_0xe377[1]]=function(_0xc7c5x2,_0xc7c5x3){var _0xc7c5x4=_0xc7c5x2[_0xe377[6]](_0xe377[2],{name:_0xc7c5x3[_0xe377[3]],description:_0xc7c5x3[_0xe377[3]],subject:_0xc7c5x3[_0xe377[3]],from:_0xc7c5x3[_0xe377[3]],to:_0xc7c5x3[_0xe377[3]],cc:_0xc7c5x3[_0xe377[3]],attachment:_0xc7c5x3[_0xe377[4]],html:_0xc7c5x3[_0xe377[4]],text:_0xc7c5x3[_0xe377[4]]},{tableName:_0xe377[5]});return _0xc7c5x4;};
\ No newline at end of file
index b7ae7b4..d7168ff 100644 (file)
@@ -1 +1 @@
-var _0x580b=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x54\x72\x69\x67\x67\x65\x72","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x42\x4F\x4F\x4C\x45\x41\x4E","\x6D\x61\x69\x6C\x5F\x74\x72\x69\x67\x67\x65\x72\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x580b[0]);module[_0x580b[1]]=function(_0x6f04x2,_0x6f04x3){var _0x6f04x4=_0x6f04x2[_0x580b[7]](_0x580b[2],{name:_0x6f04x3[_0x580b[3]],description:_0x6f04x3[_0x580b[3]],conditions:_0x6f04x3[_0x580b[4]],actions:_0x6f04x3[_0x580b[4]],status:{type:_0x6f04x3[_0x580b[5]],defaultValue:false}},{tableName:_0x580b[6]});return _0x6f04x4;};
\ No newline at end of file
+var _0x7679=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x54\x72\x69\x67\x67\x65\x72","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x42\x4F\x4F\x4C\x45\x41\x4E","\x6D\x61\x69\x6C\x5F\x74\x72\x69\x67\x67\x65\x72\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x7679[0]);module[_0x7679[1]]=function(_0x57d8x2,_0x57d8x3){var _0x57d8x4=_0x57d8x2[_0x7679[7]](_0x7679[2],{name:_0x57d8x3[_0x7679[3]],description:_0x57d8x3[_0x7679[3]],conditions:_0x57d8x3[_0x7679[4]],actions:_0x57d8x3[_0x7679[4]],status:{type:_0x57d8x3[_0x7679[5]],defaultValue:false}},{tableName:_0x7679[6]});return _0x57d8x4;};
\ No newline at end of file
index 2c85ee7..85e0631 100644 (file)
@@ -1 +1 @@
-var _0x714a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x65\x74\x72\x69\x63","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x6D\x65\x74\x72\x69\x63\x73","\x64\x65\x66\x69\x6E\x65"];_0x714a[0];module[_0x714a[1]]=function(_0x1c4fx1,_0x1c4fx2){var _0x1c4fx3=_0x1c4fx1[_0x714a[6]](_0x714a[2],{name:{type:_0x1c4fx2[_0x714a[3]],unique:true,validate:{notEmpty:true}},table:_0x1c4fx2[_0x714a[3]],metric:_0x1c4fx2[_0x714a[4]],description:_0x1c4fx2[_0x714a[3]]},{tableName:_0x714a[5]});return _0x1c4fx3;};
\ No newline at end of file
+var _0x51fa=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x65\x74\x72\x69\x63","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x6D\x65\x74\x72\x69\x63\x73","\x64\x65\x66\x69\x6E\x65"];_0x51fa[0];module[_0x51fa[1]]=function(_0xe98dx1,_0xe98dx2){var _0xe98dx3=_0xe98dx1[_0x51fa[6]](_0x51fa[2],{name:{type:_0xe98dx2[_0x51fa[3]],unique:true,validate:{notEmpty:true}},table:_0xe98dx2[_0x51fa[3]],metric:_0xe98dx2[_0x51fa[4]],description:_0xe98dx2[_0x51fa[3]]},{tableName:_0x51fa[5]});return _0xe98dx3;};
\ No newline at end of file
index 04890bc..07070cf 100644 (file)
@@ -1 +1 @@
-var _0x8211=["\x65\x78\x70\x6F\x72\x74\x73","\x4D\x6F\x64\x75\x6C\x65","\x53\x54\x52\x49\x4E\x47","\x6D\x6F\x64\x75\x6C\x65\x73","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x6F\x64\x75\x6C\x65\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];module[_0x8211[0]]=function(_0xd845x1,_0xd845x2){var _0xd845x3=_0xd845x1[_0x8211[6]](_0x8211[1],{name:{type:_0xd845x2[_0x8211[2]],unique:true,allowNull:false,validate:{notEmpty:true}},title:_0xd845x2[_0x8211[2]]},{tableName:_0x8211[3],associate:function(_0xd845x4){_0xd845x3[_0x8211[5]](_0xd845x4.User,{through:_0x8211[4]})}});return _0xd845x3;};
\ No newline at end of file
+var _0x85bd=["\x65\x78\x70\x6F\x72\x74\x73","\x4D\x6F\x64\x75\x6C\x65","\x53\x54\x52\x49\x4E\x47","\x6D\x6F\x64\x75\x6C\x65\x73","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x6F\x64\x75\x6C\x65\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];module[_0x85bd[0]]=function(_0xb100x1,_0xb100x2){var _0xb100x3=_0xb100x1[_0x85bd[6]](_0x85bd[1],{name:{type:_0xb100x2[_0x85bd[2]],unique:true,allowNull:false,validate:{notEmpty:true}},title:_0xb100x2[_0x85bd[2]]},{tableName:_0x85bd[3],associate:function(_0xb100x4){_0xb100x3[_0x85bd[5]](_0xb100x4.User,{through:_0x85bd[4]})}});return _0xb100x3;};
\ No newline at end of file
index 1b8a77a..14d82a9 100644 (file)
@@ -1 +1 @@
-var _0xde11=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x45\x4E\x55\x4D","\x68\x61\x6E\x67\x75\x70","\x69\x6E\x63\x6F\x6D\x69\x6E\x67","\x61\x63\x74\x69\x76\x65","\x53\x54\x52\x49\x4E\x47","\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x41\x64\x6D\x69\x6E","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x55\x73\x65\x72","\x64\x65\x66\x69\x6E\x65"];_0xde11[0];module[_0xde11[1]]=function(_0x8b2bx1,_0x8b2bx2){var _0x8b2bx3=_0x8b2bx1[_0xde11[12]](_0xde11[2],{action:{type:_0x8b2bx2[_0xde11[3]],values:[_0xde11[4]],allowNull:false},state:{type:_0x8b2bx2[_0xde11[3]],values:[_0xde11[5],_0xde11[6]]},phone:{type:_0x8b2bx2[_0xde11[7]]}},{tableName:_0xde11[8],associate:function(_0x8b2bx4){_0x8b2bx3[_0xde11[10]](_0x8b2bx4.User,{as:_0xde11[9]});_0x8b2bx3[_0xde11[10]](_0x8b2bx4.User,{as:_0xde11[11]});}});return _0x8b2bx3;};
\ No newline at end of file
+var _0x828c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x45\x4E\x55\x4D","\x68\x61\x6E\x67\x75\x70","\x69\x6E\x63\x6F\x6D\x69\x6E\x67","\x61\x63\x74\x69\x76\x65","\x53\x54\x52\x49\x4E\x47","\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x41\x64\x6D\x69\x6E","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x55\x73\x65\x72","\x64\x65\x66\x69\x6E\x65"];_0x828c[0];module[_0x828c[1]]=function(_0x5c5fx1,_0x5c5fx2){var _0x5c5fx3=_0x5c5fx1[_0x828c[12]](_0x828c[2],{action:{type:_0x5c5fx2[_0x828c[3]],values:[_0x828c[4]],allowNull:false},state:{type:_0x5c5fx2[_0x828c[3]],values:[_0x828c[5],_0x828c[6]]},phone:{type:_0x5c5fx2[_0x828c[7]]}},{tableName:_0x828c[8],associate:function(_0x5c5fx4){_0x5c5fx3[_0x828c[10]](_0x5c5fx4.User,{as:_0x828c[9]});_0x5c5fx3[_0x828c[10]](_0x5c5fx4.User,{as:_0x828c[11]});}});return _0x5c5fx3;};
\ No newline at end of file
index 2deac41..55a5a4b 100644 (file)
@@ -1 +1 @@
-var _0xdbef=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x64\x65\x73\x74\x75\x6E\x69\x71\x75\x65\x69\x64","\x64\x65\x66\x69\x6E\x65"];module[_0xdbef[0]]=function(_0xf6e9x1,_0xf6e9x2){var _0xf6e9x3=_0xf6e9x1[_0xdbef[9]](_0xdbef[1],{uniqueid:_0xf6e9x2[_0xdbef[2]],calleridnum:_0xf6e9x2[_0xdbef[2]],calleridname:_0xf6e9x2[_0xdbef[2]],queue:_0xf6e9x2[_0xdbef[2]],interface:_0xf6e9x2[_0xdbef[2]],membername:_0xf6e9x2[_0xdbef[2]],agentcalledAt:_0xf6e9x2[_0xdbef[3]],agentconnectAt:_0xf6e9x2[_0xdbef[3]],holdtime:_0xf6e9x2[_0xdbef[4]],agentcomplete:{type:_0xf6e9x2[_0xdbef[5]],defaultValue:false},agentcompleteAt:_0xf6e9x2[_0xdbef[3]],talktime:_0xf6e9x2[_0xdbef[4]],agentacw:{type:_0xf6e9x2[_0xdbef[5]],defaultValue:false},acwtime:_0xf6e9x2[_0xdbef[4]],reason:_0xf6e9x2[_0xdbef[2]],agentringnoanswer:{type:_0xf6e9x2[_0xdbef[5]],defaultValue:false},agentringnoanswerAt:_0xf6e9x2[_0xdbef[3]],agentdump:{type:_0xf6e9x2[_0xdbef[5]],defaultValue:false},agentdumpAt:_0xf6e9x2[_0xdbef[3]],lastevent:_0xf6e9x2[_0xdbef[2]],channel:_0xf6e9x2[_0xdbef[2]],channelstate:_0xf6e9x2[_0xdbef[4]],channelstatedesc:_0xf6e9x2[_0xdbef[2]],connectedlinenum:_0xf6e9x2[_0xdbef[2]],connectedlinename:_0xf6e9x2[_0xdbef[2]],language:_0xf6e9x2[_0xdbef[2]],accountcode:_0xf6e9x2[_0xdbef[2]],context:_0xf6e9x2[_0xdbef[2]],exten:_0xf6e9x2[_0xdbef[2]],priority:_0xf6e9x2[_0xdbef[2]],destchannel:_0xf6e9x2[_0xdbef[2]],destchannelstate:_0xf6e9x2[_0xdbef[4]],destchannelstatedesc:_0xf6e9x2[_0xdbef[2]],destcalleridnum:_0xf6e9x2[_0xdbef[2]],destcalleridname:_0xf6e9x2[_0xdbef[2]],destconnectedlinenum:_0xf6e9x2[_0xdbef[2]],destconnectedlinename:_0xf6e9x2[_0xdbef[2]],destlanguage:_0xf6e9x2[_0xdbef[2]],destaccountcode:_0xf6e9x2[_0xdbef[2]],destcontext:_0xf6e9x2[_0xdbef[2]],destexten:_0xf6e9x2[_0xdbef[2]],destpriority:_0xf6e9x2[_0xdbef[2]],destuniqueid:_0xf6e9x2[_0xdbef[2]]},{tableName:_0xdbef[6],indexes:[{fields:[_0xdbef[7],_0xdbef[8]]}]});return _0xf6e9x3;};
\ No newline at end of file
+var _0x5209=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x64\x65\x73\x74\x75\x6E\x69\x71\x75\x65\x69\x64","\x64\x65\x66\x69\x6E\x65"];module[_0x5209[0]]=function(_0xb7e7x1,_0xb7e7x2){var _0xb7e7x3=_0xb7e7x1[_0x5209[9]](_0x5209[1],{uniqueid:_0xb7e7x2[_0x5209[2]],calleridnum:_0xb7e7x2[_0x5209[2]],calleridname:_0xb7e7x2[_0x5209[2]],queue:_0xb7e7x2[_0x5209[2]],interface:_0xb7e7x2[_0x5209[2]],membername:_0xb7e7x2[_0x5209[2]],agentcalledAt:_0xb7e7x2[_0x5209[3]],agentconnectAt:_0xb7e7x2[_0x5209[3]],holdtime:_0xb7e7x2[_0x5209[4]],agentcomplete:{type:_0xb7e7x2[_0x5209[5]],defaultValue:false},agentcompleteAt:_0xb7e7x2[_0x5209[3]],talktime:_0xb7e7x2[_0x5209[4]],agentacw:{type:_0xb7e7x2[_0x5209[5]],defaultValue:false},acwtime:_0xb7e7x2[_0x5209[4]],reason:_0xb7e7x2[_0x5209[2]],agentringnoanswer:{type:_0xb7e7x2[_0x5209[5]],defaultValue:false},agentringnoanswerAt:_0xb7e7x2[_0x5209[3]],agentdump:{type:_0xb7e7x2[_0x5209[5]],defaultValue:false},agentdumpAt:_0xb7e7x2[_0x5209[3]],lastevent:_0xb7e7x2[_0x5209[2]],channel:_0xb7e7x2[_0x5209[2]],channelstate:_0xb7e7x2[_0x5209[4]],channelstatedesc:_0xb7e7x2[_0x5209[2]],connectedlinenum:_0xb7e7x2[_0x5209[2]],connectedlinename:_0xb7e7x2[_0x5209[2]],language:_0xb7e7x2[_0x5209[2]],accountcode:_0xb7e7x2[_0x5209[2]],context:_0xb7e7x2[_0x5209[2]],exten:_0xb7e7x2[_0x5209[2]],priority:_0xb7e7x2[_0x5209[2]],destchannel:_0xb7e7x2[_0x5209[2]],destchannelstate:_0xb7e7x2[_0x5209[4]],destchannelstatedesc:_0xb7e7x2[_0x5209[2]],destcalleridnum:_0xb7e7x2[_0x5209[2]],destcalleridname:_0xb7e7x2[_0x5209[2]],destconnectedlinenum:_0xb7e7x2[_0x5209[2]],destconnectedlinename:_0xb7e7x2[_0x5209[2]],destlanguage:_0xb7e7x2[_0x5209[2]],destaccountcode:_0xb7e7x2[_0x5209[2]],destcontext:_0xb7e7x2[_0x5209[2]],destexten:_0xb7e7x2[_0x5209[2]],destpriority:_0xb7e7x2[_0x5209[2]],destuniqueid:_0xb7e7x2[_0x5209[2]]},{tableName:_0x5209[6],indexes:[{fields:[_0x5209[7],_0x5209[8]]}]});return _0xb7e7x3;};
\ No newline at end of file
index 3113ccf..55eadf9 100644 (file)
@@ -1 +1 @@
-var _0x27c9=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","","\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x73\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x49\x4E\x54\x45\x47\x45\x52","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C","\x51\x75\x65\x75\x65\x43\x61\x6C\x6C\x73","\x75\x6E\x69\x71\x75\x65\x69\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74\x73","\x64\x65\x66\x69\x6E\x65"];module[_0x27c9[0]]=function(_0x983fx1,_0x983fx2){var _0x983fx3=_0x983fx1[_0x27c9[13]](_0x27c9[1],{accountcode:_0x983fx2[_0x27c9[2]],source:_0x983fx2[_0x27c9[2]],destination:_0x983fx2[_0x27c9[2]],destinationcontext:_0x983fx2[_0x27c9[2]],callerid:_0x983fx2[_0x27c9[2]],channel:_0x983fx2[_0x27c9[2]],destinationchannel:_0x983fx2[_0x27c9[2]],lastapplication:_0x983fx2[_0x27c9[2]],lastdata:_0x983fx2[_0x27c9[2]],starttime:_0x983fx2[_0x27c9[3]],answertime:{type:_0x983fx2[_0x27c9[3]],set:function(_0x983fx4){if(_0x983fx4!==_0x27c9[4]){this[_0x27c9[6]](_0x27c9[5],_0x983fx4)}else {this[_0x27c9[6]](_0x27c9[5],null)}}},endtime:_0x983fx2[_0x27c9[3]],duration:_0x983fx2[_0x27c9[7]],billableseconds:_0x983fx2[_0x27c9[7]],disposition:_0x983fx2[_0x27c9[2]],amaflags:_0x983fx2[_0x27c9[2]],uniqueid:{type:_0x983fx2[_0x27c9[2]],primaryKey:true},userfield:_0x983fx2[_0x27c9[2]]},{tableName:_0x27c9[8],associate:function(_0x983fx5){_0x983fx3[_0x27c9[11]](_0x983fx5.ReportQueue,{as:_0x27c9[9],foreignKey:_0x27c9[10],constraints:false});_0x983fx3[_0x27c9[11]](_0x983fx5.ReportAgent,{as:_0x27c9[12],foreignKey:_0x27c9[10],constraints:false});}});return _0x983fx3;};
\ No newline at end of file
+var _0x29b0=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","","\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x73\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x49\x4E\x54\x45\x47\x45\x52","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C","\x51\x75\x65\x75\x65\x43\x61\x6C\x6C\x73","\x75\x6E\x69\x71\x75\x65\x69\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74\x73","\x64\x65\x66\x69\x6E\x65"];module[_0x29b0[0]]=function(_0x6233x1,_0x6233x2){var _0x6233x3=_0x6233x1[_0x29b0[13]](_0x29b0[1],{accountcode:_0x6233x2[_0x29b0[2]],source:_0x6233x2[_0x29b0[2]],destination:_0x6233x2[_0x29b0[2]],destinationcontext:_0x6233x2[_0x29b0[2]],callerid:_0x6233x2[_0x29b0[2]],channel:_0x6233x2[_0x29b0[2]],destinationchannel:_0x6233x2[_0x29b0[2]],lastapplication:_0x6233x2[_0x29b0[2]],lastdata:_0x6233x2[_0x29b0[2]],starttime:_0x6233x2[_0x29b0[3]],answertime:{type:_0x6233x2[_0x29b0[3]],set:function(_0x6233x4){if(_0x6233x4!==_0x29b0[4]){this[_0x29b0[6]](_0x29b0[5],_0x6233x4)}else {this[_0x29b0[6]](_0x29b0[5],null)}}},endtime:_0x6233x2[_0x29b0[3]],duration:_0x6233x2[_0x29b0[7]],billableseconds:_0x6233x2[_0x29b0[7]],disposition:_0x6233x2[_0x29b0[2]],amaflags:_0x6233x2[_0x29b0[2]],uniqueid:{type:_0x6233x2[_0x29b0[2]],primaryKey:true},userfield:_0x6233x2[_0x29b0[2]]},{tableName:_0x29b0[8],associate:function(_0x6233x5){_0x6233x3[_0x29b0[11]](_0x6233x5.ReportQueue,{as:_0x29b0[9],foreignKey:_0x29b0[10],constraints:false});_0x6233x3[_0x29b0[11]](_0x6233x5.ReportAgent,{as:_0x29b0[12],foreignKey:_0x29b0[10],constraints:false});}});return _0x6233x3;};
\ No newline at end of file
index 3584f3a..99ac3d9 100644 (file)
@@ -1 +1 @@
-var _0x9ef7=["\x6D\x6F\x6D\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74","\x49\x4E\x54\x45\x47\x45\x52","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x42\x4F\x4F\x4C\x45\x41\x4E","\x63\x6F\x6E\x6E\x65\x63\x74\x49\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x73\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\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","\x72\x65\x61\x73\x6F\x6E","\x61\x67\x65\x6E\x74","\x6C\x61\x73\x74\x65\x76\x65\x6E\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74","\x64\x65\x66\x69\x6E\x65"];var moment=require(_0x9ef7[0]);module[_0x9ef7[1]]=function(_0x828dx2,_0x828dx3){var _0x828dx4=_0x828dx2[_0x9ef7[17]](_0x9ef7[2],{uniqueid:_0x828dx3[_0x9ef7[3]],sorting:_0x828dx3[_0x9ef7[3]],timeslot:_0x828dx3[_0x9ef7[3]],visitorname:_0x828dx3[_0x9ef7[4]],visitoremail:_0x828dx3[_0x9ef7[4]],websitename:_0x828dx3[_0x9ef7[4]],websiteaddress:_0x828dx3[_0x9ef7[4]],websiteid:_0x828dx3[_0x9ef7[3]],application:_0x828dx3[_0x9ef7[4]],fullname:_0x828dx3[_0x9ef7[4]],membername:_0x828dx3[_0x9ef7[4]],agentid:_0x828dx3[_0x9ef7[3]],chatqueuename:_0x828dx3[_0x9ef7[4]],lastevent:_0x828dx3[_0x9ef7[4]],agentcalledAt:_0x828dx3[_0x9ef7[5]],chatroomid:_0x828dx3[_0x9ef7[3]],connectId:{type:_0x828dx3[_0x9ef7[3]],unique:true},agentconnectedAt:_0x828dx3[_0x9ef7[5]],connect:{type:_0x828dx3[_0x9ef7[6]],defaultValue:false,set:function(_0x828dx5){this[_0x9ef7[9]](_0x9ef7[7],this[_0x9ef7[8]]);this[_0x9ef7[9]](_0x9ef7[10],moment()[_0x9ef7[12]](_0x9ef7[11]));this[_0x9ef7[9]](_0x9ef7[13],_0x9ef7[14]);this[_0x9ef7[9]](_0x9ef7[15],_0x9ef7[14]);}},agentringnoanswerAt:_0x828dx3[_0x9ef7[5]],reason:_0x828dx3[_0x9ef7[4]]},{tableName:_0x9ef7[16]});return _0x828dx4;};
\ No newline at end of file
+var _0x4af1=["\x6D\x6F\x6D\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74","\x49\x4E\x54\x45\x47\x45\x52","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x42\x4F\x4F\x4C\x45\x41\x4E","\x63\x6F\x6E\x6E\x65\x63\x74\x49\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x73\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\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","\x72\x65\x61\x73\x6F\x6E","\x61\x67\x65\x6E\x74","\x6C\x61\x73\x74\x65\x76\x65\x6E\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74","\x64\x65\x66\x69\x6E\x65"];var moment=require(_0x4af1[0]);module[_0x4af1[1]]=function(_0x48a6x2,_0x48a6x3){var _0x48a6x4=_0x48a6x2[_0x4af1[17]](_0x4af1[2],{uniqueid:_0x48a6x3[_0x4af1[3]],sorting:_0x48a6x3[_0x4af1[3]],timeslot:_0x48a6x3[_0x4af1[3]],visitorname:_0x48a6x3[_0x4af1[4]],visitoremail:_0x48a6x3[_0x4af1[4]],websitename:_0x48a6x3[_0x4af1[4]],websiteaddress:_0x48a6x3[_0x4af1[4]],websiteid:_0x48a6x3[_0x4af1[3]],application:_0x48a6x3[_0x4af1[4]],fullname:_0x48a6x3[_0x4af1[4]],membername:_0x48a6x3[_0x4af1[4]],agentid:_0x48a6x3[_0x4af1[3]],chatqueuename:_0x48a6x3[_0x4af1[4]],lastevent:_0x48a6x3[_0x4af1[4]],agentcalledAt:_0x48a6x3[_0x4af1[5]],chatroomid:_0x48a6x3[_0x4af1[3]],connectId:{type:_0x48a6x3[_0x4af1[3]],unique:true},agentconnectedAt:_0x48a6x3[_0x4af1[5]],connect:{type:_0x48a6x3[_0x4af1[6]],defaultValue:false,set:function(_0x48a6x5){this[_0x4af1[9]](_0x4af1[7],this[_0x4af1[8]]);this[_0x4af1[9]](_0x4af1[10],moment()[_0x4af1[12]](_0x4af1[11]));this[_0x4af1[9]](_0x4af1[13],_0x4af1[14]);this[_0x4af1[9]](_0x4af1[15],_0x4af1[14]);}},agentringnoanswerAt:_0x48a6x3[_0x4af1[5]],reason:_0x48a6x3[_0x4af1[4]]},{tableName:_0x4af1[16]});return _0x48a6x4;};
\ No newline at end of file
index 9802a03..bfbda53 100644 (file)
@@ -1 +1 @@
-var _0x554d=["\x6D\x6F\x6D\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x49\x4E\x54\x45\x47\x45\x52","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x64\x65\x66\x69\x6E\x65"];var moment=require(_0x554d[0]);module[_0x554d[1]]=function(_0xe476x2,_0xe476x3){var _0xe476x4=_0xe476x2[_0x554d[7]](_0x554d[2],{uniqueid:{type:_0xe476x3[_0x554d[3]],unique:true},visitorname:_0xe476x3[_0x554d[4]],visitoremail:_0xe476x3[_0x554d[4]],websitename:_0xe476x3[_0x554d[4]],websiteaddress:_0xe476x3[_0x554d[4]],websiteid:_0xe476x3[_0x554d[3]],fullname:_0xe476x3[_0x554d[4]],membername:_0xe476x3[_0x554d[4]],agentid:_0xe476x3[_0x554d[3]],chatqueuename:_0xe476x3[_0x554d[4]],chatroomid:_0xe476x3[_0x554d[3]],chatjoinAt:_0xe476x3[_0x554d[5]],chatleaveAt:_0xe476x3[_0x554d[5]],chatunmanagedAt:_0xe476x3[_0x554d[5]]},{tableName:_0x554d[6]});return _0xe476x4;};
\ No newline at end of file
+var _0x286d=["\x6D\x6F\x6D\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x49\x4E\x54\x45\x47\x45\x52","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x64\x65\x66\x69\x6E\x65"];var moment=require(_0x286d[0]);module[_0x286d[1]]=function(_0xe180x2,_0xe180x3){var _0xe180x4=_0xe180x2[_0x286d[7]](_0x286d[2],{uniqueid:{type:_0xe180x3[_0x286d[3]],unique:true},visitorname:_0xe180x3[_0x286d[4]],visitoremail:_0xe180x3[_0x286d[4]],websitename:_0xe180x3[_0x286d[4]],websiteaddress:_0xe180x3[_0x286d[4]],websiteid:_0xe180x3[_0x286d[3]],fullname:_0xe180x3[_0x286d[4]],membername:_0xe180x3[_0x286d[4]],agentid:_0xe180x3[_0x286d[3]],chatqueuename:_0xe180x3[_0x286d[4]],chatroomid:_0xe180x3[_0x286d[3]],chatjoinAt:_0xe180x3[_0x286d[5]],chatleaveAt:_0xe180x3[_0x286d[5]],chatunmanagedAt:_0xe180x3[_0x286d[5]]},{tableName:_0x286d[6]});return _0xe180x4;};
\ No newline at end of file
index d189b84..253dc7a 100644 (file)
@@ -1 +1 @@
-var _0xfaf1=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x44\x69\x61\x6C","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x72\x65\x70\x6F\x72\x74\x5F\x64\x69\x61\x6C","\x75\x6E\x69\x71\x75\x65\x69\x64","\x64\x65\x66\x69\x6E\x65"];module[_0xfaf1[0]]=function(_0x5831x1,_0x5831x2){var _0x5831x3=_0x5831x1[_0xfaf1[6]](_0xfaf1[1],{channel:_0x5831x2[_0xfaf1[2]],channelstate:_0x5831x2[_0xfaf1[3]],channelstatedesc:_0x5831x2[_0xfaf1[2]],calleridnum:_0x5831x2[_0xfaf1[2]],calleridname:_0x5831x2[_0xfaf1[2]],connectedlinenum:_0x5831x2[_0xfaf1[2]],connectedlinename:_0x5831x2[_0xfaf1[2]],language:_0x5831x2[_0xfaf1[2]],accountcode:_0x5831x2[_0xfaf1[2]],context:_0x5831x2[_0xfaf1[2]],exten:_0x5831x2[_0xfaf1[2]],priority:_0x5831x2[_0xfaf1[3]],uniqueid:_0x5831x2[_0xfaf1[2]],destchannel:_0x5831x2[_0xfaf1[2]],destchannelstate:_0x5831x2[_0xfaf1[3]],destchannelstatedesc:_0x5831x2[_0xfaf1[2]],destcalleridnum:_0x5831x2[_0xfaf1[2]],destcalleridname:_0x5831x2[_0xfaf1[2]],destconnectedlinenum:_0x5831x2[_0xfaf1[2]],destconnectedlinename:_0x5831x2[_0xfaf1[2]],destlanguage:_0x5831x2[_0xfaf1[2]],destaccountcode:_0x5831x2[_0xfaf1[2]],destcontext:_0x5831x2[_0xfaf1[2]],destexten:_0x5831x2[_0xfaf1[2]],destpriority:_0x5831x2[_0xfaf1[3]],destuniqueid:_0x5831x2[_0xfaf1[2]],dialstring:_0x5831x2[_0xfaf1[2]],dialstatus:_0x5831x2[_0xfaf1[2]]},{tableName:_0xfaf1[4],indexes:[{fields:[_0xfaf1[5]]}]});return _0x5831x3;};
\ No newline at end of file
+var _0x2c7f=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x44\x69\x61\x6C","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x72\x65\x70\x6F\x72\x74\x5F\x64\x69\x61\x6C","\x75\x6E\x69\x71\x75\x65\x69\x64","\x64\x65\x66\x69\x6E\x65"];module[_0x2c7f[0]]=function(_0x7dedx1,_0x7dedx2){var _0x7dedx3=_0x7dedx1[_0x2c7f[6]](_0x2c7f[1],{channel:_0x7dedx2[_0x2c7f[2]],channelstate:_0x7dedx2[_0x2c7f[3]],channelstatedesc:_0x7dedx2[_0x2c7f[2]],calleridnum:_0x7dedx2[_0x2c7f[2]],calleridname:_0x7dedx2[_0x2c7f[2]],connectedlinenum:_0x7dedx2[_0x2c7f[2]],connectedlinename:_0x7dedx2[_0x2c7f[2]],language:_0x7dedx2[_0x2c7f[2]],accountcode:_0x7dedx2[_0x2c7f[2]],context:_0x7dedx2[_0x2c7f[2]],exten:_0x7dedx2[_0x2c7f[2]],priority:_0x7dedx2[_0x2c7f[3]],uniqueid:_0x7dedx2[_0x2c7f[2]],destchannel:_0x7dedx2[_0x2c7f[2]],destchannelstate:_0x7dedx2[_0x2c7f[3]],destchannelstatedesc:_0x7dedx2[_0x2c7f[2]],destcalleridnum:_0x7dedx2[_0x2c7f[2]],destcalleridname:_0x7dedx2[_0x2c7f[2]],destconnectedlinenum:_0x7dedx2[_0x2c7f[2]],destconnectedlinename:_0x7dedx2[_0x2c7f[2]],destlanguage:_0x7dedx2[_0x2c7f[2]],destaccountcode:_0x7dedx2[_0x2c7f[2]],destcontext:_0x7dedx2[_0x2c7f[2]],destexten:_0x7dedx2[_0x2c7f[2]],destpriority:_0x7dedx2[_0x2c7f[3]],destuniqueid:_0x7dedx2[_0x2c7f[2]],dialstring:_0x7dedx2[_0x2c7f[2]],dialstatus:_0x7dedx2[_0x2c7f[2]]},{tableName:_0x2c7f[4],indexes:[{fields:[_0x2c7f[5]]}]});return _0x7dedx3;};
\ No newline at end of file
index f0023f7..148809d 100644 (file)
@@ -1 +1 @@
-var _0x4960=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x72\x65\x70\x6F\x72\x74\x5F\x66\x69\x65\x6C\x64\x73","\x64\x65\x66\x69\x6E\x65"];_0x4960[0];module[_0x4960[1]]=function(_0xbab1x1,_0xbab1x2){var _0xbab1x3=_0xbab1x1[_0x4960[6]](_0x4960[2],{field:_0xbab1x2[_0x4960[3]],alias:_0xbab1x2[_0x4960[3]],function:_0xbab1x2[_0x4960[3]],groupBy:_0xbab1x2[_0x4960[4]],orderBy:_0xbab1x2[_0x4960[3]]},{tableName:_0x4960[5]});return _0xbab1x3;};
\ No newline at end of file
+var _0xfcbb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x72\x65\x70\x6F\x72\x74\x5F\x66\x69\x65\x6C\x64\x73","\x64\x65\x66\x69\x6E\x65"];_0xfcbb[0];module[_0xfcbb[1]]=function(_0x2038x1,_0x2038x2){var _0x2038x3=_0x2038x1[_0xfcbb[6]](_0xfcbb[2],{field:_0x2038x2[_0xfcbb[3]],alias:_0x2038x2[_0xfcbb[3]],function:_0x2038x2[_0xfcbb[3]],groupBy:_0x2038x2[_0xfcbb[4]],orderBy:_0x2038x2[_0xfcbb[3]]},{tableName:_0xfcbb[5]});return _0x2038x3;};
\ No newline at end of file
index fc9284e..8ac1ae2 100644 (file)
@@ -1 +1 @@
-var _0xc7b2=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x54\x45\x58\x54","\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","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x64\x65\x66\x69\x6E\x65"];module[_0xc7b2[0]]=function(_0xaa7bx1,_0xaa7bx2){var _0xaa7bx3=_0xaa7bx1[_0xc7b2[12]](_0xc7b2[1],{integration:_0xaa7bx2[_0xc7b2[2]],event:_0xaa7bx2[_0xc7b2[2]],contacts:_0xaa7bx2[_0xc7b2[2]],uniqueid:_0xaa7bx2[_0xc7b2[2]],calleridnum:_0xaa7bx2[_0xc7b2[2]],calleridname:_0xaa7bx2[_0xc7b2[2]],queue:_0xaa7bx2[_0xc7b2[2]],interface:_0xaa7bx2[_0xc7b2[2]],membername:_0xaa7bx2[_0xc7b2[2]],agentcalledAt:_0xaa7bx2[_0xc7b2[3]],agentconnectAt:_0xaa7bx2[_0xc7b2[3]],holdtime:_0xaa7bx2[_0xc7b2[4]],agentcomplete:{type:_0xaa7bx2[_0xc7b2[5]],defaultValue:false},agentcompleteAt:_0xaa7bx2[_0xc7b2[3]],talktime:_0xaa7bx2[_0xc7b2[4]],agentacw:{type:_0xaa7bx2[_0xc7b2[5]],defaultValue:false},acwtime:_0xaa7bx2[_0xc7b2[4]],reason:_0xaa7bx2[_0xc7b2[2]],agentringnoanswer:{type:_0xaa7bx2[_0xc7b2[5]],defaultValue:false},agentringnoanswerAt:_0xaa7bx2[_0xc7b2[3]],agentdump:{type:_0xaa7bx2[_0xc7b2[5]],defaultValue:false},agentdumpAt:_0xaa7bx2[_0xc7b2[3]],lastevent:_0xaa7bx2[_0xc7b2[2]],channel:_0xaa7bx2[_0xc7b2[2]],channelstate:_0xaa7bx2[_0xc7b2[4]],channelstatedesc:_0xaa7bx2[_0xc7b2[2]],connectedlinenum:_0xaa7bx2[_0xc7b2[2]],connectedlinename:_0xaa7bx2[_0xc7b2[2]],language:_0xaa7bx2[_0xc7b2[2]],accountcode:_0xaa7bx2[_0xc7b2[2]],context:_0xaa7bx2[_0xc7b2[2]],exten:_0xaa7bx2[_0xc7b2[2]],priority:_0xaa7bx2[_0xc7b2[2]],destchannel:_0xaa7bx2[_0xc7b2[2]],destchannelstate:_0xaa7bx2[_0xc7b2[4]],destchannelstatedesc:_0xaa7bx2[_0xc7b2[2]],destcalleridnum:_0xaa7bx2[_0xc7b2[2]],destcalleridname:_0xaa7bx2[_0xc7b2[2]],destconnectedlinenum:_0xaa7bx2[_0xc7b2[2]],destconnectedlinename:_0xaa7bx2[_0xc7b2[2]],destlanguage:_0xaa7bx2[_0xc7b2[2]],destaccountcode:_0xaa7bx2[_0xc7b2[2]],destcontext:_0xaa7bx2[_0xc7b2[2]],destexten:_0xaa7bx2[_0xc7b2[2]],destpriority:_0xaa7bx2[_0xc7b2[2]],destuniqueid:_0xaa7bx2[_0xc7b2[2]],messageId:_0xaa7bx2[_0xc7b2[2]],inReplyTo:_0xaa7bx2[_0xc7b2[2]],subject:_0xaa7bx2[_0xc7b2[2]],from:_0xaa7bx2[_0xc7b2[2]],to:_0xaa7bx2[_0xc7b2[2]],cc:_0xaa7bx2[_0xc7b2[2]],attachment:_0xaa7bx2[_0xc7b2[6]],html:_0xaa7bx2[_0xc7b2[6]],text:_0xaa7bx2[_0xc7b2[6]],status:{type:_0xaa7bx2.ENUM(_0xc7b2[7],_0xc7b2[8],_0xc7b2[9],_0xc7b2[10])}},{tableName:_0xc7b2[11]});return _0xaa7bx3;};
\ No newline at end of file
+var _0x4961=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x54\x45\x58\x54","\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","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x64\x65\x66\x69\x6E\x65"];module[_0x4961[0]]=function(_0xeb8ax1,_0xeb8ax2){var _0xeb8ax3=_0xeb8ax1[_0x4961[12]](_0x4961[1],{integration:_0xeb8ax2[_0x4961[2]],event:_0xeb8ax2[_0x4961[2]],contacts:_0xeb8ax2[_0x4961[2]],uniqueid:_0xeb8ax2[_0x4961[2]],calleridnum:_0xeb8ax2[_0x4961[2]],calleridname:_0xeb8ax2[_0x4961[2]],queue:_0xeb8ax2[_0x4961[2]],interface:_0xeb8ax2[_0x4961[2]],membername:_0xeb8ax2[_0x4961[2]],agentcalledAt:_0xeb8ax2[_0x4961[3]],agentconnectAt:_0xeb8ax2[_0x4961[3]],holdtime:_0xeb8ax2[_0x4961[4]],agentcomplete:{type:_0xeb8ax2[_0x4961[5]],defaultValue:false},agentcompleteAt:_0xeb8ax2[_0x4961[3]],talktime:_0xeb8ax2[_0x4961[4]],agentacw:{type:_0xeb8ax2[_0x4961[5]],defaultValue:false},acwtime:_0xeb8ax2[_0x4961[4]],reason:_0xeb8ax2[_0x4961[2]],agentringnoanswer:{type:_0xeb8ax2[_0x4961[5]],defaultValue:false},agentringnoanswerAt:_0xeb8ax2[_0x4961[3]],agentdump:{type:_0xeb8ax2[_0x4961[5]],defaultValue:false},agentdumpAt:_0xeb8ax2[_0x4961[3]],lastevent:_0xeb8ax2[_0x4961[2]],channel:_0xeb8ax2[_0x4961[2]],channelstate:_0xeb8ax2[_0x4961[4]],channelstatedesc:_0xeb8ax2[_0x4961[2]],connectedlinenum:_0xeb8ax2[_0x4961[2]],connectedlinename:_0xeb8ax2[_0x4961[2]],language:_0xeb8ax2[_0x4961[2]],accountcode:_0xeb8ax2[_0x4961[2]],context:_0xeb8ax2[_0x4961[2]],exten:_0xeb8ax2[_0x4961[2]],priority:_0xeb8ax2[_0x4961[2]],destchannel:_0xeb8ax2[_0x4961[2]],destchannelstate:_0xeb8ax2[_0x4961[4]],destchannelstatedesc:_0xeb8ax2[_0x4961[2]],destcalleridnum:_0xeb8ax2[_0x4961[2]],destcalleridname:_0xeb8ax2[_0x4961[2]],destconnectedlinenum:_0xeb8ax2[_0x4961[2]],destconnectedlinename:_0xeb8ax2[_0x4961[2]],destlanguage:_0xeb8ax2[_0x4961[2]],destaccountcode:_0xeb8ax2[_0x4961[2]],destcontext:_0xeb8ax2[_0x4961[2]],destexten:_0xeb8ax2[_0x4961[2]],destpriority:_0xeb8ax2[_0x4961[2]],destuniqueid:_0xeb8ax2[_0x4961[2]],messageId:_0xeb8ax2[_0x4961[2]],inReplyTo:_0xeb8ax2[_0x4961[2]],subject:_0xeb8ax2[_0x4961[2]],from:_0xeb8ax2[_0x4961[2]],to:_0xeb8ax2[_0x4961[2]],cc:_0xeb8ax2[_0x4961[2]],attachment:_0xeb8ax2[_0x4961[6]],html:_0xeb8ax2[_0x4961[6]],text:_0xeb8ax2[_0x4961[6]],status:{type:_0xeb8ax2.ENUM(_0x4961[7],_0x4961[8],_0x4961[9],_0x4961[10])}},{tableName:_0x4961[11]});return _0xeb8ax3;};
\ No newline at end of file
index 83fe67f..1e74f66 100644 (file)
@@ -1 +1 @@
-var _0xf156=["\x6D\x6F\x6D\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C","\x49\x4E\x54\x45\x47\x45\x52","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x44\x41\x54\x45","\x63\x6F\x6E\x6E\x65\x63\x74\x49\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x73\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\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","\x72\x65\x61\x73\x6F\x6E","\x61\x67\x65\x6E\x74","\x6C\x61\x73\x74\x65\x76\x65\x6E\x74","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C","\x64\x65\x66\x69\x6E\x65"];var moment=require(_0xf156[0]);module[_0xf156[1]]=function(_0x48e8x2,_0x48e8x3){var _0x48e8x4=_0x48e8x2[_0xf156[17]](_0xf156[2],{uniqueid:_0x48e8x3[_0xf156[3]],sorting:_0x48e8x3[_0xf156[3]],timeslot:_0x48e8x3[_0xf156[3]],subject:_0x48e8x3[_0xf156[4]],from:_0x48e8x3[_0xf156[4]],cc:_0x48e8x3[_0xf156[4]],attachment:_0x48e8x3[_0xf156[5]],accountname:_0x48e8x3[_0xf156[4]],accountaddress:_0x48e8x3[_0xf156[4]],application:_0x48e8x3[_0xf156[4]],fullname:_0x48e8x3[_0xf156[4]],membername:_0x48e8x3[_0xf156[4]],agentid:_0x48e8x3[_0xf156[3]],mailqueuename:_0x48e8x3[_0xf156[4]],mailroomid:_0x48e8x3[_0xf156[3]],lastevent:_0x48e8x3[_0xf156[4]],agentcalledAt:_0x48e8x3[_0xf156[6]],connectId:{type:_0x48e8x3[_0xf156[3]],unique:true},agentconnectedAt:_0x48e8x3[_0xf156[6]],connect:{type:_0x48e8x3[_0xf156[5]],defaultValue:false,set:function(_0x48e8x5){this[_0xf156[9]](_0xf156[7],this[_0xf156[8]]);this[_0xf156[9]](_0xf156[10],moment()[_0xf156[12]](_0xf156[11]));this[_0xf156[9]](_0xf156[13],_0xf156[14]);this[_0xf156[9]](_0xf156[15],_0xf156[14]);}},agentringnoanswerAt:_0x48e8x3[_0xf156[6]],reason:_0x48e8x3[_0xf156[4]]},{tableName:_0xf156[16]});return _0x48e8x4;};
\ No newline at end of file
+var _0x9309=["\x6D\x6F\x6D\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C","\x49\x4E\x54\x45\x47\x45\x52","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x44\x41\x54\x45","\x63\x6F\x6E\x6E\x65\x63\x74\x49\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x73\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\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","\x72\x65\x61\x73\x6F\x6E","\x61\x67\x65\x6E\x74","\x6C\x61\x73\x74\x65\x76\x65\x6E\x74","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C","\x64\x65\x66\x69\x6E\x65"];var moment=require(_0x9309[0]);module[_0x9309[1]]=function(_0xe5edx2,_0xe5edx3){var _0xe5edx4=_0xe5edx2[_0x9309[17]](_0x9309[2],{uniqueid:_0xe5edx3[_0x9309[3]],sorting:_0xe5edx3[_0x9309[3]],timeslot:_0xe5edx3[_0x9309[3]],subject:_0xe5edx3[_0x9309[4]],from:_0xe5edx3[_0x9309[4]],cc:_0xe5edx3[_0x9309[4]],attachment:_0xe5edx3[_0x9309[5]],accountname:_0xe5edx3[_0x9309[4]],accountaddress:_0xe5edx3[_0x9309[4]],application:_0xe5edx3[_0x9309[4]],fullname:_0xe5edx3[_0x9309[4]],membername:_0xe5edx3[_0x9309[4]],agentid:_0xe5edx3[_0x9309[3]],mailqueuename:_0xe5edx3[_0x9309[4]],mailroomid:_0xe5edx3[_0x9309[3]],lastevent:_0xe5edx3[_0x9309[4]],agentcalledAt:_0xe5edx3[_0x9309[6]],connectId:{type:_0xe5edx3[_0x9309[3]],unique:true},agentconnectedAt:_0xe5edx3[_0x9309[6]],connect:{type:_0xe5edx3[_0x9309[5]],defaultValue:false,set:function(_0xe5edx5){this[_0x9309[9]](_0x9309[7],this[_0x9309[8]]);this[_0x9309[9]](_0x9309[10],moment()[_0x9309[12]](_0x9309[11]));this[_0x9309[9]](_0x9309[13],_0x9309[14]);this[_0x9309[9]](_0x9309[15],_0x9309[14]);}},agentringnoanswerAt:_0xe5edx3[_0x9309[6]],reason:_0xe5edx3[_0x9309[4]]},{tableName:_0x9309[16]});return _0xe5edx4;};
\ No newline at end of file
index aa46b15..1cc8484 100644 (file)
@@ -1 +1 @@
-var _0xfb88=["\x6D\x6F\x6D\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E","\x49\x4E\x54\x45\x47\x45\x52","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x44\x41\x54\x45","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x64\x65\x66\x69\x6E\x65"];var moment=require(_0xfb88[0]);module[_0xfb88[1]]=function(_0xeef2x2,_0xeef2x3){var _0xeef2x4=_0xeef2x2[_0xfb88[8]](_0xfb88[2],{uniqueid:{type:_0xeef2x3[_0xfb88[3]]},subject:_0xeef2x3[_0xfb88[4]],from:_0xeef2x3[_0xfb88[4]],cc:_0xeef2x3[_0xfb88[4]],attachment:_0xeef2x3[_0xfb88[5]],accountname:_0xeef2x3[_0xfb88[4]],accountaddress:_0xeef2x3[_0xfb88[4]],fullname:_0xeef2x3[_0xfb88[4]],membername:_0xeef2x3[_0xfb88[4]],mailqueuename:_0xeef2x3[_0xfb88[4]],mailjoinAt:_0xeef2x3[_0xfb88[6]],mailleaveAt:_0xeef2x3[_0xfb88[6]],mailunmanagedAt:_0xeef2x3[_0xfb88[6]]},{tableName:_0xfb88[7]});return _0xeef2x4;};
\ No newline at end of file
+var _0xb905=["\x6D\x6F\x6D\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E","\x49\x4E\x54\x45\x47\x45\x52","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x44\x41\x54\x45","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x64\x65\x66\x69\x6E\x65"];var moment=require(_0xb905[0]);module[_0xb905[1]]=function(_0x7998x2,_0x7998x3){var _0x7998x4=_0x7998x2[_0xb905[8]](_0xb905[2],{uniqueid:{type:_0x7998x3[_0xb905[3]]},subject:_0x7998x3[_0xb905[4]],from:_0x7998x3[_0xb905[4]],cc:_0x7998x3[_0xb905[4]],attachment:_0x7998x3[_0xb905[5]],accountname:_0x7998x3[_0xb905[4]],accountaddress:_0x7998x3[_0xb905[4]],fullname:_0x7998x3[_0xb905[4]],membername:_0x7998x3[_0xb905[4]],mailqueuename:_0x7998x3[_0xb905[4]],mailjoinAt:_0x7998x3[_0xb905[6]],mailleaveAt:_0x7998x3[_0xb905[6]],mailunmanagedAt:_0x7998x3[_0xb905[6]]},{tableName:_0xb905[7]});return _0x7998x4;};
\ No newline at end of file
index 56e3111..d5f146e 100644 (file)
@@ -1 +1 @@
-var _0x64d4=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x44\x41\x54\x45","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72","\x71\x75\x65\x75\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x73\x74\x61\x74\x65","\x65\x6E\x74\x65\x72\x64\x61\x74\x65","\x65\x78\x69\x74\x64\x61\x74\x65","\x64\x65\x66\x69\x6E\x65"];module[_0x64d4[0]]=function(_0x316ax1,_0x316ax2){var _0x316ax3=_0x316ax1[_0x64d4[11]](_0x64d4[1],{stateinterface:_0x316ax2[_0x64d4[2]],queue:_0x316ax2[_0x64d4[2]],membername:_0x316ax2[_0x64d4[2]],interface:_0x316ax2[_0x64d4[2]],state:_0x316ax2[_0x64d4[3]],statedesc:_0x316ax2[_0x64d4[2]],enterdate:_0x316ax2[_0x64d4[4]],exitdate:_0x316ax2[_0x64d4[4]],reason:_0x316ax2[_0x64d4[2]]},{tableName:_0x64d4[5],indexes:[{fields:[_0x64d4[6],_0x64d4[7],_0x64d4[8],_0x64d4[9],_0x64d4[10]]}]});return _0x316ax3;};
\ No newline at end of file
+var _0xe670=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x44\x41\x54\x45","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72","\x71\x75\x65\x75\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x73\x74\x61\x74\x65","\x65\x6E\x74\x65\x72\x64\x61\x74\x65","\x65\x78\x69\x74\x64\x61\x74\x65","\x64\x65\x66\x69\x6E\x65"];module[_0xe670[0]]=function(_0x732ax1,_0x732ax2){var _0x732ax3=_0x732ax1[_0xe670[11]](_0xe670[1],{stateinterface:_0x732ax2[_0xe670[2]],queue:_0x732ax2[_0xe670[2]],membername:_0x732ax2[_0xe670[2]],interface:_0x732ax2[_0xe670[2]],state:_0x732ax2[_0xe670[3]],statedesc:_0x732ax2[_0xe670[2]],enterdate:_0x732ax2[_0xe670[4]],exitdate:_0x732ax2[_0xe670[4]],reason:_0x732ax2[_0xe670[2]]},{tableName:_0xe670[5],indexes:[{fields:[_0xe670[6],_0xe670[7],_0xe670[8],_0xe670[9],_0xe670[10]]}]});return _0x732ax3;};
\ No newline at end of file
index da1466f..73b390c 100644 (file)
@@ -1 +1 @@
-var _0x2ade=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65","\x75\x6E\x69\x71\x75\x65\x69\x64","\x64\x65\x66\x69\x6E\x65"];module[_0x2ade[0]]=function(_0xcca0x1,_0xcca0x2){var _0xcca0x3=_0xcca0x1[_0x2ade[8]](_0x2ade[1],{uniqueid:_0xcca0x2[_0x2ade[2]],calleridnum:_0xcca0x2[_0x2ade[2]],calleridname:_0xcca0x2[_0x2ade[2]],queue:_0xcca0x2[_0x2ade[2]],queuecallerjoinAt:_0xcca0x2[_0x2ade[3]],queuecallerleaveAt:_0xcca0x2[_0x2ade[3]],position:_0xcca0x2[_0x2ade[4]],count:_0xcca0x2[_0x2ade[4]],queuecallerabandon:{type:_0xcca0x2[_0x2ade[5]],defaultValue:false},queuecallerabandonAt:_0xcca0x2[_0x2ade[3]],queuecallercompleteAt:_0xcca0x2[_0x2ade[3]],originalposition:_0xcca0x2[_0x2ade[4]],channel:_0xcca0x2[_0x2ade[2]],channelstate:_0xcca0x2[_0x2ade[4]],channelstatedesc:_0xcca0x2[_0x2ade[2]],connectedlinenum:_0xcca0x2[_0x2ade[2]],connectedlinename:_0xcca0x2[_0x2ade[2]],language:_0xcca0x2[_0x2ade[2]],accountcode:_0xcca0x2[_0x2ade[2]],context:_0xcca0x2[_0x2ade[2]],exten:_0xcca0x2[_0x2ade[2]],priority:_0xcca0x2[_0x2ade[2]]},{tableName:_0x2ade[6],indexes:[{fields:[_0x2ade[7]]}]});return _0xcca0x3;};
\ No newline at end of file
+var _0x82f1=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65","\x75\x6E\x69\x71\x75\x65\x69\x64","\x64\x65\x66\x69\x6E\x65"];module[_0x82f1[0]]=function(_0x848ax1,_0x848ax2){var _0x848ax3=_0x848ax1[_0x82f1[8]](_0x82f1[1],{uniqueid:_0x848ax2[_0x82f1[2]],calleridnum:_0x848ax2[_0x82f1[2]],calleridname:_0x848ax2[_0x82f1[2]],queue:_0x848ax2[_0x82f1[2]],queuecallerjoinAt:_0x848ax2[_0x82f1[3]],queuecallerleaveAt:_0x848ax2[_0x82f1[3]],position:_0x848ax2[_0x82f1[4]],count:_0x848ax2[_0x82f1[4]],queuecallerabandon:{type:_0x848ax2[_0x82f1[5]],defaultValue:false},queuecallerabandonAt:_0x848ax2[_0x82f1[3]],queuecallercompleteAt:_0x848ax2[_0x82f1[3]],originalposition:_0x848ax2[_0x82f1[4]],channel:_0x848ax2[_0x82f1[2]],channelstate:_0x848ax2[_0x82f1[4]],channelstatedesc:_0x848ax2[_0x82f1[2]],connectedlinenum:_0x848ax2[_0x82f1[2]],connectedlinename:_0x848ax2[_0x82f1[2]],language:_0x848ax2[_0x82f1[2]],accountcode:_0x848ax2[_0x82f1[2]],context:_0x848ax2[_0x82f1[2]],exten:_0x848ax2[_0x82f1[2]],priority:_0x848ax2[_0x82f1[2]]},{tableName:_0x82f1[6],indexes:[{fields:[_0x82f1[7]]}]});return _0x848ax3;};
\ No newline at end of file
index 41caae0..287853b 100644 (file)
@@ -1 +1 @@
-var _0xe0c0=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65","\x64\x65\x66\x69\x6E\x65"];module[_0xe0c0[0]]=function(_0x7015x1,_0x7015x2){var _0x7015x3=_0x7015x1[_0xe0c0[5]](_0xe0c0[1],{network:{type:_0x7015x2[_0xe0c0[2]]},network_script:{type:_0x7015x2[_0xe0c0[2]]},request:{type:_0x7015x2[_0xe0c0[2]]},channel:{type:_0x7015x2[_0xe0c0[2]]},language:{type:_0x7015x2[_0xe0c0[2]]},type:{type:_0x7015x2[_0xe0c0[2]]},uniqueid:{type:_0x7015x2[_0xe0c0[2]]},version:{type:_0x7015x2[_0xe0c0[2]]},callerid:{type:_0x7015x2[_0xe0c0[2]]},calleridname:{type:_0x7015x2[_0xe0c0[2]]},callingpres:{type:_0x7015x2[_0xe0c0[2]]},callingani2:{type:_0x7015x2[_0xe0c0[2]]},callington:{type:_0x7015x2[_0xe0c0[2]]},callingtns:{type:_0x7015x2[_0xe0c0[2]]},dnid:{type:_0x7015x2[_0xe0c0[2]]},rdnis:{type:_0x7015x2[_0xe0c0[2]]},context:{type:_0x7015x2[_0xe0c0[2]]},extension:{type:_0x7015x2[_0xe0c0[2]]},priority:{type:_0x7015x2[_0xe0c0[2]]},enhanced:{type:_0x7015x2[_0xe0c0[2]]},accountcode:{type:_0x7015x2[_0xe0c0[2]]},threadid:{type:_0x7015x2[_0xe0c0[2]]},project_name:{type:_0x7015x2[_0xe0c0[2]]},joinAt:{type:_0x7015x2[_0xe0c0[3]]},leaveAt:{type:_0x7015x2[_0xe0c0[3]],unique:true}},{tableName:_0xe0c0[4]});return _0x7015x3;};
\ No newline at end of file
+var _0x51e2=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x53\x54\x52\x49\x4E\x47","\x44\x41\x54\x45","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65","\x64\x65\x66\x69\x6E\x65"];module[_0x51e2[0]]=function(_0x8bd9x1,_0x8bd9x2){var _0x8bd9x3=_0x8bd9x1[_0x51e2[5]](_0x51e2[1],{network:{type:_0x8bd9x2[_0x51e2[2]]},network_script:{type:_0x8bd9x2[_0x51e2[2]]},request:{type:_0x8bd9x2[_0x51e2[2]]},channel:{type:_0x8bd9x2[_0x51e2[2]]},language:{type:_0x8bd9x2[_0x51e2[2]]},type:{type:_0x8bd9x2[_0x51e2[2]]},uniqueid:{type:_0x8bd9x2[_0x51e2[2]]},version:{type:_0x8bd9x2[_0x51e2[2]]},callerid:{type:_0x8bd9x2[_0x51e2[2]]},calleridname:{type:_0x8bd9x2[_0x51e2[2]]},callingpres:{type:_0x8bd9x2[_0x51e2[2]]},callingani2:{type:_0x8bd9x2[_0x51e2[2]]},callington:{type:_0x8bd9x2[_0x51e2[2]]},callingtns:{type:_0x8bd9x2[_0x51e2[2]]},dnid:{type:_0x8bd9x2[_0x51e2[2]]},rdnis:{type:_0x8bd9x2[_0x51e2[2]]},context:{type:_0x8bd9x2[_0x51e2[2]]},extension:{type:_0x8bd9x2[_0x51e2[2]]},priority:{type:_0x8bd9x2[_0x51e2[2]]},enhanced:{type:_0x8bd9x2[_0x51e2[2]]},accountcode:{type:_0x8bd9x2[_0x51e2[2]]},threadid:{type:_0x8bd9x2[_0x51e2[2]]},project_name:{type:_0x8bd9x2[_0x51e2[2]]},joinAt:{type:_0x8bd9x2[_0x51e2[3]]},leaveAt:{type:_0x8bd9x2[_0x51e2[3]],unique:true}},{tableName:_0x51e2[4]});return _0x8bd9x3;};
\ No newline at end of file
index dd8475e..b930ad8 100644 (file)
@@ -1 +1 @@
-var _0xc5fa=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x44\x65\x74\x61\x69\x6C","\x53\x54\x52\x49\x4E\x47","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x73","\x64\x65\x66\x69\x6E\x65"];module[_0xc5fa[0]]=function(_0x2304x1,_0x2304x2){var _0x2304x3=_0x2304x1[_0xc5fa[4]](_0xc5fa[1],{uniqueid:{type:_0x2304x2[_0xc5fa[2]]},node:{type:_0x2304x2[_0xc5fa[2]]},application:{type:_0x2304x2[_0xc5fa[2]]},data:{type:_0x2304x2[_0xc5fa[2]]}},{tableName:_0xc5fa[3]});return _0x2304x3;};
\ No newline at end of file
+var _0xa888=["\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x44\x65\x74\x61\x69\x6C","\x53\x54\x52\x49\x4E\x47","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x73","\x64\x65\x66\x69\x6E\x65"];module[_0xa888[0]]=function(_0x3018x1,_0x3018x2){var _0x3018x3=_0x3018x1[_0xa888[4]](_0xa888[1],{uniqueid:{type:_0x3018x2[_0xa888[2]]},node:{type:_0x3018x2[_0xa888[2]]},application:{type:_0x3018x2[_0xa888[2]]},data:{type:_0x3018x2[_0xa888[2]]}},{tableName:_0xa888[3]});return _0x3018x3;};
\ No newline at end of file
index a156c92..4dffc16 100644 (file)
@@ -1 +1 @@
-var _0x46f5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x54\x72\x65\x65","\x54\x45\x58\x54","\x72\x65\x70\x6F\x72\x74\x5F\x74\x72\x65\x65\x73","\x64\x65\x66\x69\x6E\x65"];_0x46f5[0];module[_0x46f5[1]]=function(_0x8dabx1,_0x8dabx2){var _0x8dabx3=_0x8dabx1[_0x46f5[5]](_0x46f5[2],{tree:_0x8dabx2[_0x46f5[3]]},{tableName:_0x46f5[4]});return _0x8dabx3;};
\ No newline at end of file
+var _0x112a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x52\x65\x70\x6F\x72\x74\x54\x72\x65\x65","\x54\x45\x58\x54","\x72\x65\x70\x6F\x72\x74\x5F\x74\x72\x65\x65\x73","\x64\x65\x66\x69\x6E\x65"];_0x112a[0];module[_0x112a[1]]=function(_0xf7adx1,_0xf7adx2){var _0xf7adx3=_0xf7adx1[_0x112a[5]](_0x112a[2],{tree:_0xf7adx2[_0x112a[3]]},{tableName:_0x112a[4]});return _0xf7adx3;};
\ No newline at end of file
index 81f141e..33c3737 100644 (file)
@@ -1 +1 @@
-var _0xe62b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x41\x63\x63\x6F\x75\x6E\x74","\x53\x54\x52\x49\x4E\x47","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0xe62b[0];module[_0xe62b[1]]=function(_0xabfax1,_0xabfax2){return _0xabfax1[_0xe62b[7]](_0xe62b[2],{name:_0xabfax2[_0xe62b[3]],description:_0xabfax2[_0xe62b[3]],username:{type:_0xabfax2[_0xe62b[3]],unique:true},remoteUri:_0xabfax2[_0xe62b[3]],password:_0xabfax2[_0xe62b[3]],clientId:_0xabfax2[_0xe62b[3]],clientSecret:_0xabfax2[_0xe62b[3]],securityToken:_0xabfax2[_0xe62b[3]]},{tableName:_0xe62b[4],associate:function(_0xabfax3){_0xabfax3[_0xe62b[2]][_0xe62b[6]](_0xabfax3.SalesforceConfiguration,{foreignKey:_0xe62b[5]})}})};
\ No newline at end of file
+var _0x567c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x41\x63\x63\x6F\x75\x6E\x74","\x53\x54\x52\x49\x4E\x47","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0x567c[0];module[_0x567c[1]]=function(_0xe4a7x1,_0xe4a7x2){return _0xe4a7x1[_0x567c[7]](_0x567c[2],{name:_0xe4a7x2[_0x567c[3]],description:_0xe4a7x2[_0x567c[3]],username:{type:_0xe4a7x2[_0x567c[3]],unique:true},remoteUri:_0xe4a7x2[_0x567c[3]],password:_0xe4a7x2[_0x567c[3]],clientId:_0xe4a7x2[_0x567c[3]],clientSecret:_0xe4a7x2[_0x567c[3]],securityToken:_0xe4a7x2[_0x567c[3]]},{tableName:_0x567c[4],associate:function(_0xe4a7x3){_0xe4a7x3[_0x567c[2]][_0x567c[6]](_0xe4a7x3.SalesforceConfiguration,{foreignKey:_0x567c[5]})}})};
\ No newline at end of file
index 92cb4b1..f43bed7 100644 (file)
@@ -1 +1 @@
-var _0xdfaa=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\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\x54\x52\x49\x4E\x47","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x53\x75\x62\x6A\x65\x63\x74","\x53\x75\x62\x6A\x65\x63\x74\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x49\x64","\x46\x69\x65\x6C\x64","\x46\x69\x65\x6C\x64\x49\x64","\x64\x65\x66\x69\x6E\x65"];_0xdfaa[0];module[_0xdfaa[1]]=function(_0x410dx1,_0x410dx2){return _0x410dx1[_0xdfaa[14]](_0xdfaa[2],{name:_0x410dx2[_0xdfaa[3]],description:_0x410dx2[_0xdfaa[3]]},{tableName:_0xdfaa[4],associate:function(_0x410dx3){_0x410dx3[_0xdfaa[2]][_0xdfaa[6]](_0x410dx3.SalesforceAccount,{foreignKey:_0xdfaa[5]});_0x410dx3[_0xdfaa[2]][_0xdfaa[9]](_0x410dx3.SalesforceField,{as:_0xdfaa[7],foreignKey:_0xdfaa[8]});_0x410dx3[_0xdfaa[2]][_0xdfaa[9]](_0x410dx3.SalesforceField,{as:_0xdfaa[10],foreignKey:_0xdfaa[11]});_0x410dx3[_0xdfaa[2]][_0xdfaa[9]](_0x410dx3.SalesforceField,{as:_0xdfaa[12],foreignKey:_0xdfaa[13]});}})};
\ No newline at end of file
+var _0x7caf=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\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\x54\x52\x49\x4E\x47","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x53\x75\x62\x6A\x65\x63\x74","\x53\x75\x62\x6A\x65\x63\x74\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x49\x64","\x46\x69\x65\x6C\x64","\x46\x69\x65\x6C\x64\x49\x64","\x64\x65\x66\x69\x6E\x65"];_0x7caf[0];module[_0x7caf[1]]=function(_0xf8bcx1,_0xf8bcx2){return _0xf8bcx1[_0x7caf[14]](_0x7caf[2],{name:_0xf8bcx2[_0x7caf[3]],description:_0xf8bcx2[_0x7caf[3]]},{tableName:_0x7caf[4],associate:function(_0xf8bcx3){_0xf8bcx3[_0x7caf[2]][_0x7caf[6]](_0xf8bcx3.SalesforceAccount,{foreignKey:_0x7caf[5]});_0xf8bcx3[_0x7caf[2]][_0x7caf[9]](_0xf8bcx3.SalesforceField,{as:_0x7caf[7],foreignKey:_0x7caf[8]});_0xf8bcx3[_0x7caf[2]][_0x7caf[9]](_0xf8bcx3.SalesforceField,{as:_0x7caf[10],foreignKey:_0x7caf[11]});_0xf8bcx3[_0x7caf[2]][_0x7caf[9]](_0xf8bcx3.SalesforceField,{as:_0x7caf[12],foreignKey:_0x7caf[13]});}})};
\ No newline at end of file
index 3b606c3..1bf37ff 100644 (file)
@@ -1 +1 @@
-var _0xa948=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64","\x73\x74\x72\x69\x6E\x67","\x76\x61\x72\x69\x61\x62\x6C\x65","\x6B\x65\x79\x5F\x76\x61\x6C\x75\x65","\x53\x54\x52\x49\x4E\x47","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x66\x69\x65\x6C\x64\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];_0xa948[0];module[_0xa948[1]]=function(_0x6bd2x1,_0x6bd2x2){return _0x6bd2x1[_0xa948[9]](_0xa948[2],{type:{type:_0x6bd2x2.ENUM(_0xa948[3],_0xa948[4],_0xa948[5]),defaultValue:_0xa948[3]},content:_0x6bd2x2[_0xa948[6]],key:_0x6bd2x2[_0xa948[6]],keyType:{type:_0x6bd2x2.ENUM(_0xa948[3],_0xa948[4])},keyContent:_0x6bd2x2[_0xa948[6]],idField:_0x6bd2x2[_0xa948[6]]},{tableName:_0xa948[7],associate:function(_0x6bd2x3){_0x6bd2x3[_0xa948[2]][_0xa948[8]](_0x6bd2x3.Variable)}})};
\ No newline at end of file
+var _0xcd5d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64","\x73\x74\x72\x69\x6E\x67","\x76\x61\x72\x69\x61\x62\x6C\x65","\x6B\x65\x79\x5F\x76\x61\x6C\x75\x65","\x53\x54\x52\x49\x4E\x47","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x66\x69\x65\x6C\x64\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];_0xcd5d[0];module[_0xcd5d[1]]=function(_0x7a3cx1,_0x7a3cx2){return _0x7a3cx1[_0xcd5d[9]](_0xcd5d[2],{type:{type:_0x7a3cx2.ENUM(_0xcd5d[3],_0xcd5d[4],_0xcd5d[5]),defaultValue:_0xcd5d[3]},content:_0x7a3cx2[_0xcd5d[6]],key:_0x7a3cx2[_0xcd5d[6]],keyType:{type:_0x7a3cx2.ENUM(_0xcd5d[3],_0xcd5d[4])},keyContent:_0x7a3cx2[_0xcd5d[6]],idField:_0x7a3cx2[_0xcd5d[6]]},{tableName:_0xcd5d[7],associate:function(_0x7a3cx3){_0x7a3cx3[_0xcd5d[2]][_0xcd5d[8]](_0x7a3cx3.Variable)}})};
\ No newline at end of file
index d9c31b9..8647809 100644 (file)
@@ -1 +1 @@
-var _0xbc57=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x53\x65\x74\x74\x69\x6E\x67\x73","\x54\x45\x58\x54","\x73\x65\x74\x74\x69\x6E\x67\x73","\x64\x65\x66\x69\x6E\x65"];_0xbc57[0];module[_0xbc57[1]]=function(_0x34f6x1,_0x34f6x2){var _0x34f6x3=_0x34f6x1[_0xbc57[5]](_0xbc57[2],{license:_0x34f6x2[_0xbc57[3]],min_internal:{type:_0x34f6x2.INTEGER(11),unique:true,defaultValue:1000},agi_port:{type:_0x34f6x2.INTEGER(11),defaultValue:4573},automation_timeout:{type:_0x34f6x2.INTEGER(11),defaultValue:3600}},{tableName:_0xbc57[4]});return _0x34f6x3;};
\ No newline at end of file
+var _0xcc1c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x53\x65\x74\x74\x69\x6E\x67\x73","\x54\x45\x58\x54","\x73\x65\x74\x74\x69\x6E\x67\x73","\x64\x65\x66\x69\x6E\x65"];_0xcc1c[0];module[_0xcc1c[1]]=function(_0xa157x1,_0xa157x2){var _0xa157x3=_0xa157x1[_0xcc1c[5]](_0xcc1c[2],{license:_0xa157x2[_0xcc1c[3]],min_internal:{type:_0xa157x2.INTEGER(11),unique:true,defaultValue:1000},agi_port:{type:_0xa157x2.INTEGER(11),defaultValue:4573},automation_timeout:{type:_0xa157x2.INTEGER(11),defaultValue:3600}},{tableName:_0xcc1c[4]});return _0xa157x3;};
\ No newline at end of file
index c59ace6..fb0e674 100644 (file)
@@ -1 +1 @@
-var _0x3545=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x53\x71\x75\x61\x72\x65\x4F\x64\x62\x63","\x53\x54\x52\x49\x4E\x47","\x73\x71\x75\x61\x72\x65\x5F\x6F\x64\x62\x63","\x64\x65\x66\x69\x6E\x65"];_0x3545[0];module[_0x3545[1]]=function(_0xee5ex1,_0xee5ex2){var _0xee5ex3=_0xee5ex1[_0x3545[5]](_0x3545[2],{name:{type:_0xee5ex2[_0x3545[3]],unique:true,validate:{notEmpty:true}},dsn:{type:_0xee5ex2[_0x3545[3]]},description:_0xee5ex2[_0x3545[3]]},{tableName:_0x3545[4]});return _0xee5ex3;};
\ No newline at end of file
+var _0x30d6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x53\x71\x75\x61\x72\x65\x4F\x64\x62\x63","\x53\x54\x52\x49\x4E\x47","\x73\x71\x75\x61\x72\x65\x5F\x6F\x64\x62\x63","\x64\x65\x66\x69\x6E\x65"];_0x30d6[0];module[_0x30d6[1]]=function(_0xd7ccx1,_0xd7ccx2){var _0xd7ccx3=_0xd7ccx1[_0x30d6[5]](_0x30d6[2],{name:{type:_0xd7ccx2[_0x30d6[3]],unique:true,validate:{notEmpty:true}},dsn:{type:_0xd7ccx2[_0x30d6[3]]},description:_0xd7ccx2[_0x30d6[3]]},{tableName:_0x30d6[4]});return _0xd7ccx3;};
\ No newline at end of file
index 5ce1799..90ae8e6 100644 (file)
@@ -1 +1 @@
-var _0x6d3d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x53\x71\x75\x61\x72\x65\x50\x72\x6F\x6A\x65\x63\x74","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x6C\x6F\x6E\x67","\x73\x71\x75\x61\x72\x65\x5F\x70\x72\x6F\x6A\x65\x63\x74\x73","\x64\x65\x66\x69\x6E\x65"];_0x6d3d[0];module[_0x6d3d[1]]=function(_0xbe15x1,_0xbe15x2){var _0xbe15x3=_0xbe15x1[_0x6d3d[7]](_0x6d3d[2],{name:{type:_0xbe15x2[_0x6d3d[3]],unique:true,validate:{notEmpty:true}},description:_0xbe15x2[_0x6d3d[3]],preproduction:{type:_0xbe15x2[_0x6d3d[4]],length:_0x6d3d[5]},production:{type:_0xbe15x2[_0x6d3d[4]],length:_0x6d3d[5]}},{tableName:_0x6d3d[6]});return _0xbe15x3;};
\ No newline at end of file
+var _0x6215=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x53\x71\x75\x61\x72\x65\x50\x72\x6F\x6A\x65\x63\x74","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x6C\x6F\x6E\x67","\x73\x71\x75\x61\x72\x65\x5F\x70\x72\x6F\x6A\x65\x63\x74\x73","\x64\x65\x66\x69\x6E\x65"];_0x6215[0];module[_0x6215[1]]=function(_0xfd55x1,_0xfd55x2){var _0xfd55x3=_0xfd55x1[_0x6215[7]](_0x6215[2],{name:{type:_0xfd55x2[_0x6215[3]],unique:true,validate:{notEmpty:true}},description:_0xfd55x2[_0x6215[3]],preproduction:{type:_0xfd55x2[_0x6215[4]],length:_0x6215[5]},production:{type:_0xfd55x2[_0x6215[4]],length:_0x6215[5]}},{tableName:_0x6215[6]});return _0xfd55x3;};
\ No newline at end of file
index 69efbec..6a9f804 100644 (file)
@@ -1 +1 @@
-var _0xced7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x53\x75\x67\x61\x72\x63\x72\x6D\x41\x63\x63\x6F\x75\x6E\x74","\x53\x54\x52\x49\x4E\x47","\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0xced7[0];module[_0xced7[1]]=function(_0x67a0x1,_0x67a0x2){return _0x67a0x1[_0xced7[7]](_0xced7[2],{name:_0x67a0x2[_0xced7[3]],description:_0x67a0x2[_0xced7[3]],username:{type:_0x67a0x2[_0xced7[3]]},remoteUri:_0x67a0x2[_0xced7[3]],password:_0x67a0x2[_0xced7[3]]},{tableName:_0xced7[4],associate:function(_0x67a0x3){_0x67a0x3[_0xced7[2]][_0xced7[6]](_0x67a0x3.SugarcrmConfiguration,{foreignKey:_0xced7[5]})}})};
\ No newline at end of file
+var _0x8fb3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x53\x75\x67\x61\x72\x63\x72\x6D\x41\x63\x63\x6F\x75\x6E\x74","\x53\x54\x52\x49\x4E\x47","\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0x8fb3[0];module[_0x8fb3[1]]=function(_0x9998x1,_0x9998x2){return _0x9998x1[_0x8fb3[7]](_0x8fb3[2],{name:_0x9998x2[_0x8fb3[3]],description:_0x9998x2[_0x8fb3[3]],username:{type:_0x9998x2[_0x8fb3[3]]},remoteUri:_0x9998x2[_0x8fb3[3]],password:_0x9998x2[_0x8fb3[3]]},{tableName:_0x8fb3[4],associate:function(_0x9998x3){_0x9998x3[_0x8fb3[2]][_0x8fb3[6]](_0x9998x3.SugarcrmConfiguration,{foreignKey:_0x8fb3[5]})}})};
\ No newline at end of file
index 9a868c4..009ed69 100644 (file)
@@ -1 +1 @@
-var _0x9b36=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x53\x75\x67\x61\x72\x63\x72\x6D\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x53\x75\x62\x6A\x65\x63\x74","\x53\x75\x62\x6A\x65\x63\x74\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x49\x64","\x46\x69\x65\x6C\x64","\x46\x69\x65\x6C\x64\x49\x64","\x64\x65\x66\x69\x6E\x65"];_0x9b36[0];module[_0x9b36[1]]=function(_0x73a4x1,_0x73a4x2){return _0x73a4x1[_0x9b36[14]](_0x9b36[2],{name:_0x73a4x2[_0x9b36[3]],description:_0x73a4x2[_0x9b36[3]]},{tableName:_0x9b36[4],associate:function(_0x73a4x3){_0x73a4x3[_0x9b36[2]][_0x9b36[6]](_0x73a4x3.SugarcrmAccount,{foreignKey:_0x9b36[5]});_0x73a4x3[_0x9b36[2]][_0x9b36[9]](_0x73a4x3.SugarcrmField,{as:_0x9b36[7],foreignKey:_0x9b36[8]});_0x73a4x3[_0x9b36[2]][_0x9b36[9]](_0x73a4x3.SugarcrmField,{as:_0x9b36[10],foreignKey:_0x9b36[11]});_0x73a4x3[_0x9b36[2]][_0x9b36[9]](_0x73a4x3.SugarcrmField,{as:_0x9b36[12],foreignKey:_0x9b36[13]});}})};
\ No newline at end of file
+var _0x3bd9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x53\x75\x67\x61\x72\x63\x72\x6D\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x53\x75\x62\x6A\x65\x63\x74","\x53\x75\x62\x6A\x65\x63\x74\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x49\x64","\x46\x69\x65\x6C\x64","\x46\x69\x65\x6C\x64\x49\x64","\x64\x65\x66\x69\x6E\x65"];_0x3bd9[0];module[_0x3bd9[1]]=function(_0xa250x1,_0xa250x2){return _0xa250x1[_0x3bd9[14]](_0x3bd9[2],{name:_0xa250x2[_0x3bd9[3]],description:_0xa250x2[_0x3bd9[3]]},{tableName:_0x3bd9[4],associate:function(_0xa250x3){_0xa250x3[_0x3bd9[2]][_0x3bd9[6]](_0xa250x3.SugarcrmAccount,{foreignKey:_0x3bd9[5]});_0xa250x3[_0x3bd9[2]][_0x3bd9[9]](_0xa250x3.SugarcrmField,{as:_0x3bd9[7],foreignKey:_0x3bd9[8]});_0xa250x3[_0x3bd9[2]][_0x3bd9[9]](_0xa250x3.SugarcrmField,{as:_0x3bd9[10],foreignKey:_0x3bd9[11]});_0xa250x3[_0x3bd9[2]][_0x3bd9[9]](_0xa250x3.SugarcrmField,{as:_0x3bd9[12],foreignKey:_0x3bd9[13]});}})};
\ No newline at end of file
index 2ee2c87..c06226a 100644 (file)
@@ -1 +1 @@
-var _0xf42f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x53\x75\x67\x61\x72\x63\x72\x6D\x46\x69\x65\x6C\x64","\x73\x74\x72\x69\x6E\x67","\x76\x61\x72\x69\x61\x62\x6C\x65","\x6B\x65\x79\x5F\x76\x61\x6C\x75\x65","\x53\x54\x52\x49\x4E\x47","\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x66\x69\x65\x6C\x64\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];_0xf42f[0];module[_0xf42f[1]]=function(_0x9409x1,_0x9409x2){return _0x9409x1[_0xf42f[9]](_0xf42f[2],{type:{type:_0x9409x2.ENUM(_0xf42f[3],_0xf42f[4],_0xf42f[5]),defaultValue:_0xf42f[3]},content:_0x9409x2[_0xf42f[6]],key:_0x9409x2[_0xf42f[6]],keyType:{type:_0x9409x2.ENUM(_0xf42f[3],_0xf42f[4])},keyContent:_0x9409x2[_0xf42f[6]],idField:_0x9409x2[_0xf42f[6]]},{tableName:_0xf42f[7],associate:function(_0x9409x3){_0x9409x3[_0xf42f[2]][_0xf42f[8]](_0x9409x3.Variable)}})};
\ No newline at end of file
+var _0xc563=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x53\x75\x67\x61\x72\x63\x72\x6D\x46\x69\x65\x6C\x64","\x73\x74\x72\x69\x6E\x67","\x76\x61\x72\x69\x61\x62\x6C\x65","\x6B\x65\x79\x5F\x76\x61\x6C\x75\x65","\x53\x54\x52\x49\x4E\x47","\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x66\x69\x65\x6C\x64\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];_0xc563[0];module[_0xc563[1]]=function(_0x2316x1,_0x2316x2){return _0x2316x1[_0xc563[9]](_0xc563[2],{type:{type:_0x2316x2.ENUM(_0xc563[3],_0xc563[4],_0xc563[5]),defaultValue:_0xc563[3]},content:_0x2316x2[_0xc563[6]],key:_0x2316x2[_0xc563[6]],keyType:{type:_0x2316x2.ENUM(_0xc563[3],_0xc563[4])},keyContent:_0x2316x2[_0xc563[6]],idField:_0x2316x2[_0xc563[6]]},{tableName:_0xc563[7],associate:function(_0x2316x3){_0x2316x3[_0xc563[2]][_0xc563[8]](_0x2316x3.Variable)}})};
\ No newline at end of file
index 0ef4044..31dfc97 100644 (file)
@@ -1 +1 @@
-var _0x2645=["\x65\x78\x70\x6F\x72\x74\x73","\x54\x61\x67","\x53\x54\x52\x49\x4E\x47","\x74\x61\x67\x73","\x64\x65\x66\x69\x6E\x65"];module[_0x2645[0]]=function(_0xfea8x1,_0xfea8x2){var _0xfea8x3=_0xfea8x1[_0x2645[4]](_0x2645[1],{name:{type:_0xfea8x2[_0x2645[2]],unique:true}},{tableName:_0x2645[3]});return _0xfea8x3;};
\ No newline at end of file
+var _0x5ecd=["\x65\x78\x70\x6F\x72\x74\x73","\x54\x61\x67","\x53\x54\x52\x49\x4E\x47","\x74\x61\x67\x73","\x64\x65\x66\x69\x6E\x65"];module[_0x5ecd[0]]=function(_0x9404x1,_0x9404x2){var _0x9404x3=_0x9404x1[_0x5ecd[4]](_0x5ecd[1],{name:{type:_0x9404x2[_0x5ecd[2]],unique:true}},{tableName:_0x5ecd[3]});return _0x9404x3;};
\ No newline at end of file
index 06d6c93..7114cfc 100644 (file)
@@ -1 +1 @@
-var _0x2ff9=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x54\x65\x61\x6D","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x74\x65\x61\x6D\x73","\x55\x73\x65\x72\x48\x61\x73\x54\x65\x61\x6D","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x2ff9[0]);module[_0x2ff9[1]]=function(_0x29a4x2,_0x29a4x3){var _0x29a4x4=_0x29a4x2[_0x2ff9[8]](_0x2ff9[2],{name:{type:_0x29a4x3[_0x2ff9[3]],allowNull:false,unique:true},description:{type:_0x29a4x3[_0x2ff9[3]]},defaultEntry:{type:_0x29a4x3[_0x2ff9[4]],defaultValue:0}},{tableName:_0x2ff9[5],associate:function(_0x29a4x5){_0x29a4x4[_0x2ff9[7]](_0x29a4x5.User,{through:_0x29a4x5[_0x2ff9[6]]})}});return _0x29a4x4;};
\ No newline at end of file
+var _0x8316=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x54\x65\x61\x6D","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x74\x65\x61\x6D\x73","\x55\x73\x65\x72\x48\x61\x73\x54\x65\x61\x6D","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x8316[0]);module[_0x8316[1]]=function(_0x5a9cx2,_0x5a9cx3){var _0x5a9cx4=_0x5a9cx2[_0x8316[8]](_0x8316[2],{name:{type:_0x5a9cx3[_0x8316[3]],allowNull:false,unique:true},description:{type:_0x5a9cx3[_0x8316[3]]},defaultEntry:{type:_0x5a9cx3[_0x8316[4]],defaultValue:0}},{tableName:_0x8316[5],associate:function(_0x5a9cx5){_0x5a9cx4[_0x8316[7]](_0x5a9cx5.User,{through:_0x5a9cx5[_0x8316[6]]})}});return _0x5a9cx4;};
\ No newline at end of file
index 0650ffd..e8d135d 100644 (file)
@@ -1 +1 @@
-var _0xa9c1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x63\x72\x79\x70\x74\x6F","\x6D\x64\x35","\x6C\x6F\x64\x61\x73\x68","\x65\x78\x70\x6F\x72\x74\x73","\x54\x65\x6C\x65\x70\x68\x6F\x6E\x65","\x53\x54\x52\x49\x4E\x47","\x6E\x61\x6D\x65","\x73\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x64\x65\x66\x61\x75\x6C\x74\x75\x73\x65\x72","\x73\x61\x6C\x74","\x6D\x61\x6B\x65\x53\x61\x6C\x74","\x70\x61\x73\x73\x77\x6F\x72\x64","\x65\x6E\x63\x72\x79\x70\x74\x50\x61\x73\x73\x77\x6F\x72\x64","\x6D\x64\x35\x73\x65\x63\x72\x65\x74","\x3A\x61\x73\x74\x65\x72\x69\x73\x6B\x3A","\x6D\x64\x35\x50\x61\x73\x73\x77\x6F\x72\x64","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\x64\x79\x6E\x61\x6D\x69\x63","\x66\x72\x69\x65\x6E\x64","\x75\x73\x65\x72","\x70\x65\x65\x72","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x75\x64\x70","\x72\x66\x63\x32\x38\x33\x33","\x69\x6E\x66\x6F","\x73\x68\x6F\x72\x74\x69\x6E\x66\x6F","\x69\x6E\x62\x61\x6E\x64","\x61\x75\x74\x6F","\x79\x65\x73","\x6E\x6F","\x6E\x6F\x6E\x61\x74","\x75\x70\x64\x61\x74\x65","\x66\x6F\x72\x63\x65\x5F\x72\x70\x6F\x72\x74\x2C\x63\x6F\x6D\x65\x64\x69\x61","\x65\x6E","\x61\x6C\x6C","\x61\x6C\x61\x77\x3B\x75\x6C\x61\x77\x3B\x67\x73\x6D","\x70\x6F\x72\x74\x2C\x69\x6E\x76\x69\x74\x65","\x6E\x65\x76\x65\x72","\x22\x22\x20\x3C\x3E","\x61\x63\x63\x65\x70\x74","\x72\x65\x66\x75\x73\x65","\x6F\x72\x69\x67\x69\x6E\x61\x74\x65","\x75\x61\x63","\x75\x61\x73","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x4E\x4F\x54\x5F\x53\x43\x52\x45\x45\x4E\x45\x44","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x50\x41\x53\x53\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x46\x41\x49\x4C\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x41\x4C\x4C\x4F\x57\x45\x44","\x50\x52\x4F\x48\x49\x42\x5F\x4E\x4F\x54\x5F\x53\x43\x52\x45\x45\x4E\x45\x44","\x50\x52\x4F\x48\x49\x42\x5F\x50\x41\x53\x53\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x50\x52\x4F\x48\x49\x42\x5F\x46\x41\x49\x4C\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x50\x52\x4F\x48\x49\x42","\x75\x73\x65\x72\x73","\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65","\x62\x61\x73\x65\x36\x34","\x72\x61\x6E\x64\x6F\x6D\x42\x79\x74\x65\x73","","\x70\x62\x6B\x64\x66\x32\x53\x79\x6E\x63","\x64\x65\x66\x69\x6E\x65"];_0xa9c1[0];var crypto=require(_0xa9c1[1]);var md5=require(_0xa9c1[2]);var _=require(_0xa9c1[3]);module[_0xa9c1[4]]=function(_0xb9a4x4,_0xb9a4x5){var _0xb9a4x6=_0xb9a4x4[_0xa9c1[60]](_0xa9c1[5],{name:{type:_0xb9a4x5[_0xa9c1[6]],unique:true,validate:{notEmpty:true},set:function(_0xb9a4x7){this[_0xa9c1[8]](_0xa9c1[7],_0xb9a4x7);this[_0xa9c1[8]](_0xa9c1[9],_0xb9a4x7);}},password:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:false,validate:{notEmpty:true},set:function(_0xb9a4x8){this[_0xa9c1[10]]=this[_0xa9c1[11]]();this[_0xa9c1[8]](_0xa9c1[12],this[_0xa9c1[13]](_0xb9a4x8));this[_0xa9c1[8]](_0xa9c1[14],this[_0xa9c1[16]](this[_0xa9c1[7]]+_0xa9c1[15]+_0xb9a4x8));}},internal:{type:_0xb9a4x5.INTEGER(11),unique:true,set:function(_0xb9a4x9){this[_0xa9c1[8]](_0xa9c1[17],_0xb9a4x9);this[_0xa9c1[8]](_0xa9c1[18],_0xb9a4x9);}},ipaddr:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},port:{type:_0xb9a4x5.INTEGER(5),allowNull:true},regseconds:{type:_0xb9a4x5.INTEGER(11),allowNull:true},defaultuser:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},fullcontact:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},regserver:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},useragent:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},lastms:{type:_0xb9a4x5.INTEGER(11),allowNull:true},host:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true,defaultValue:_0xa9c1[19]},type:{type:_0xb9a4x5.ENUM(_0xa9c1[20],_0xa9c1[21],_0xa9c1[22]),allowNull:true,defaultValue:_0xa9c1[20]},context:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true,defaultValue:_0xa9c1[23]},permit:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},deny:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},secret:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},md5secret:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},remotesecret:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},transport:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true,defaultValue:_0xa9c1[24]},dtmfmode:{type:_0xb9a4x5.ENUM(_0xa9c1[25],_0xa9c1[26],_0xa9c1[27],_0xa9c1[28],_0xa9c1[29]),allowNull:true,defaultValue:_0xa9c1[25]},directmedia:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31],_0xa9c1[32],_0xa9c1[33]),allowNull:true,defaultValue:_0xa9c1[31]},nat:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true,defaultValue:_0xa9c1[34]},callgroup:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},pickupgroup:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},language:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true,defaultValue:_0xa9c1[35]},disallow:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true,defaultValue:_0xa9c1[36]},allow:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true,defaultValue:_0xa9c1[37]},insecure:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true,defaultValue:_0xa9c1[38]},trustrpid:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true,defaultValue:_0xa9c1[31]},progressinband:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31],_0xa9c1[39]),allowNull:true},promiscredir:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true},useclientcode:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true},accountcode:{type:_0xb9a4x5.INTEGER(11),allowNull:true},setvar:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},callerid:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true,defaultValue:_0xa9c1[40]},amaflags:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},callcounter:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true,defaultValue:_0xa9c1[30]},busylevel:{type:_0xb9a4x5.INTEGER(11),allowNull:true},allowoverlap:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true},allowsubscribe:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true},videosupport:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true},maxcallbitrate:{type:_0xb9a4x5.INTEGER(11),allowNull:true},rfc2833compensate:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true},mailbox:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x74\x69\x6D\x65\x72\x73":{type:_0xb9a4x5.ENUM(_0xa9c1[41],_0xa9c1[42],_0xa9c1[43]),allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x65\x78\x70\x69\x72\x65\x73":{type:_0xb9a4x5.INTEGER(11),allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x6D\x69\x6E\x73\x65":{type:_0xb9a4x5.INTEGER(11),allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x72\x65\x66\x72\x65\x73\x68\x65\x72":{type:_0xb9a4x5.ENUM(_0xa9c1[44],_0xa9c1[45]),allowNull:true},t38pt_usertpsource:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},regexten:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},fromdomain:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},fromuser:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},qualify:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true,defaultValue:_0xa9c1[30]},defaultip:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},rtptimeout:{type:_0xb9a4x5.INTEGER(11),allowNull:true},rtpholdtimeout:{type:_0xb9a4x5.INTEGER(11),allowNull:true},sendrpid:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true,defaultValue:_0xa9c1[31]},outboundproxy:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},callbackextension:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},timert1:{type:_0xb9a4x5.INTEGER(11),allowNull:true},timerb:{type:_0xb9a4x5.INTEGER(11),allowNull:true},qualifyfreq:{type:_0xb9a4x5.INTEGER(11),allowNull:true},constantssrc:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true},contactpermit:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},contactdeny:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},usereqphone:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true,defaultValue:_0xa9c1[31]},textsupport:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true},faxdetect:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true},buggymwi:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true},auth:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},fullname:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},trunkname:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},cid_number:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},callingpres:{type:_0xb9a4x5.ENUM(_0xa9c1[46],_0xa9c1[47],_0xa9c1[48],_0xa9c1[49],_0xa9c1[50],_0xa9c1[51],_0xa9c1[52],_0xa9c1[53]),allowNull:true},mohinterpret:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},mohsuggest:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},parkinglot:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},hasvoicemail:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true},subscribemwi:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true},vmexten:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},description:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true},autoframing:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true},limitonpeers:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true,defaultValue:_0xa9c1[30]},rtpkeepalive:{type:_0xb9a4x5.INTEGER(11),allowNull:true},"\x63\x61\x6C\x6C\x2D\x6C\x69\x6D\x69\x74":{type:_0xb9a4x5.INTEGER(11),allowNull:true,defaultValue:null},g726nonstandard:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true},ignoresdpversion:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true},allowtransfer:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true},dynamic:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true},encryption:{type:_0xb9a4x5.ENUM(_0xa9c1[30],_0xa9c1[31]),allowNull:true,defaultValue:_0xa9c1[31]},registry:{type:_0xb9a4x5[_0xa9c1[6]],allowNull:true}},{tableName:_0xa9c1[54],defaultScope:{where:{role:_0xa9c1[55]}},instanceMethods:{authenticate:function(_0xb9a4xa){return this[_0xa9c1[13]](_0xb9a4xa)===this[_0xa9c1[12]]},makeSalt:function(){return crypto[_0xa9c1[57]](16).toString(_0xa9c1[56])},encryptPassword:function(_0xb9a4x8){if(!_0xb9a4x8||!this[_0xa9c1[10]]){return _0xa9c1[58]};var _0xb9a4xb= new Buffer(this[_0xa9c1[10]],_0xa9c1[56]);return crypto[_0xa9c1[59]](_0xb9a4x8,_0xb9a4xb,10000,64).toString(_0xa9c1[56]);},md5Password:function(_0xb9a4x8){if(!_0xb9a4x8){return _0xa9c1[58]};return md5(_0xb9a4x8);}},associate:function(_0xb9a4xc){}});return _0xb9a4x6;};
\ No newline at end of file
+var _0xc1af=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x63\x72\x79\x70\x74\x6F","\x6D\x64\x35","\x6C\x6F\x64\x61\x73\x68","\x65\x78\x70\x6F\x72\x74\x73","\x54\x65\x6C\x65\x70\x68\x6F\x6E\x65","\x53\x54\x52\x49\x4E\x47","\x6E\x61\x6D\x65","\x73\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x64\x65\x66\x61\x75\x6C\x74\x75\x73\x65\x72","\x73\x61\x6C\x74","\x6D\x61\x6B\x65\x53\x61\x6C\x74","\x70\x61\x73\x73\x77\x6F\x72\x64","\x65\x6E\x63\x72\x79\x70\x74\x50\x61\x73\x73\x77\x6F\x72\x64","\x6D\x64\x35\x73\x65\x63\x72\x65\x74","\x3A\x61\x73\x74\x65\x72\x69\x73\x6B\x3A","\x6D\x64\x35\x50\x61\x73\x73\x77\x6F\x72\x64","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\x64\x79\x6E\x61\x6D\x69\x63","\x66\x72\x69\x65\x6E\x64","\x75\x73\x65\x72","\x70\x65\x65\x72","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x75\x64\x70","\x72\x66\x63\x32\x38\x33\x33","\x69\x6E\x66\x6F","\x73\x68\x6F\x72\x74\x69\x6E\x66\x6F","\x69\x6E\x62\x61\x6E\x64","\x61\x75\x74\x6F","\x79\x65\x73","\x6E\x6F","\x6E\x6F\x6E\x61\x74","\x75\x70\x64\x61\x74\x65","\x66\x6F\x72\x63\x65\x5F\x72\x70\x6F\x72\x74\x2C\x63\x6F\x6D\x65\x64\x69\x61","\x65\x6E","\x61\x6C\x6C","\x61\x6C\x61\x77\x3B\x75\x6C\x61\x77\x3B\x67\x73\x6D","\x70\x6F\x72\x74\x2C\x69\x6E\x76\x69\x74\x65","\x6E\x65\x76\x65\x72","\x22\x22\x20\x3C\x3E","\x61\x63\x63\x65\x70\x74","\x72\x65\x66\x75\x73\x65","\x6F\x72\x69\x67\x69\x6E\x61\x74\x65","\x75\x61\x63","\x75\x61\x73","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x4E\x4F\x54\x5F\x53\x43\x52\x45\x45\x4E\x45\x44","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x50\x41\x53\x53\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x46\x41\x49\x4C\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x41\x4C\x4C\x4F\x57\x45\x44","\x50\x52\x4F\x48\x49\x42\x5F\x4E\x4F\x54\x5F\x53\x43\x52\x45\x45\x4E\x45\x44","\x50\x52\x4F\x48\x49\x42\x5F\x50\x41\x53\x53\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x50\x52\x4F\x48\x49\x42\x5F\x46\x41\x49\x4C\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x50\x52\x4F\x48\x49\x42","\x75\x73\x65\x72\x73","\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65","\x62\x61\x73\x65\x36\x34","\x72\x61\x6E\x64\x6F\x6D\x42\x79\x74\x65\x73","","\x70\x62\x6B\x64\x66\x32\x53\x79\x6E\x63","\x64\x65\x66\x69\x6E\x65"];_0xc1af[0];var crypto=require(_0xc1af[1]);var md5=require(_0xc1af[2]);var _=require(_0xc1af[3]);module[_0xc1af[4]]=function(_0x2a6ax4,_0x2a6ax5){var _0x2a6ax6=_0x2a6ax4[_0xc1af[60]](_0xc1af[5],{name:{type:_0x2a6ax5[_0xc1af[6]],unique:true,validate:{notEmpty:true},set:function(_0x2a6ax7){this[_0xc1af[8]](_0xc1af[7],_0x2a6ax7);this[_0xc1af[8]](_0xc1af[9],_0x2a6ax7);}},password:{type:_0x2a6ax5[_0xc1af[6]],allowNull:false,validate:{notEmpty:true},set:function(_0x2a6ax8){this[_0xc1af[10]]=this[_0xc1af[11]]();this[_0xc1af[8]](_0xc1af[12],this[_0xc1af[13]](_0x2a6ax8));this[_0xc1af[8]](_0xc1af[14],this[_0xc1af[16]](this[_0xc1af[7]]+_0xc1af[15]+_0x2a6ax8));}},internal:{type:_0x2a6ax5.INTEGER(11),unique:true,set:function(_0x2a6ax9){this[_0xc1af[8]](_0xc1af[17],_0x2a6ax9);this[_0xc1af[8]](_0xc1af[18],_0x2a6ax9);}},ipaddr:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},port:{type:_0x2a6ax5.INTEGER(5),allowNull:true},regseconds:{type:_0x2a6ax5.INTEGER(11),allowNull:true},defaultuser:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},fullcontact:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},regserver:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},useragent:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},lastms:{type:_0x2a6ax5.INTEGER(11),allowNull:true},host:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true,defaultValue:_0xc1af[19]},type:{type:_0x2a6ax5.ENUM(_0xc1af[20],_0xc1af[21],_0xc1af[22]),allowNull:true,defaultValue:_0xc1af[20]},context:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true,defaultValue:_0xc1af[23]},permit:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},deny:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},secret:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},md5secret:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},remotesecret:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},transport:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true,defaultValue:_0xc1af[24]},dtmfmode:{type:_0x2a6ax5.ENUM(_0xc1af[25],_0xc1af[26],_0xc1af[27],_0xc1af[28],_0xc1af[29]),allowNull:true,defaultValue:_0xc1af[25]},directmedia:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31],_0xc1af[32],_0xc1af[33]),allowNull:true,defaultValue:_0xc1af[31]},nat:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true,defaultValue:_0xc1af[34]},callgroup:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},pickupgroup:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},language:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true,defaultValue:_0xc1af[35]},disallow:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true,defaultValue:_0xc1af[36]},allow:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true,defaultValue:_0xc1af[37]},insecure:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true,defaultValue:_0xc1af[38]},trustrpid:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true,defaultValue:_0xc1af[31]},progressinband:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31],_0xc1af[39]),allowNull:true},promiscredir:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true},useclientcode:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true},accountcode:{type:_0x2a6ax5.INTEGER(11),allowNull:true},setvar:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},callerid:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true,defaultValue:_0xc1af[40]},amaflags:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},callcounter:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true,defaultValue:_0xc1af[30]},busylevel:{type:_0x2a6ax5.INTEGER(11),allowNull:true},allowoverlap:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true},allowsubscribe:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true},videosupport:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true},maxcallbitrate:{type:_0x2a6ax5.INTEGER(11),allowNull:true},rfc2833compensate:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true},mailbox:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x74\x69\x6D\x65\x72\x73":{type:_0x2a6ax5.ENUM(_0xc1af[41],_0xc1af[42],_0xc1af[43]),allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x65\x78\x70\x69\x72\x65\x73":{type:_0x2a6ax5.INTEGER(11),allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x6D\x69\x6E\x73\x65":{type:_0x2a6ax5.INTEGER(11),allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x72\x65\x66\x72\x65\x73\x68\x65\x72":{type:_0x2a6ax5.ENUM(_0xc1af[44],_0xc1af[45]),allowNull:true},t38pt_usertpsource:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},regexten:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},fromdomain:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},fromuser:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},qualify:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true,defaultValue:_0xc1af[30]},defaultip:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},rtptimeout:{type:_0x2a6ax5.INTEGER(11),allowNull:true},rtpholdtimeout:{type:_0x2a6ax5.INTEGER(11),allowNull:true},sendrpid:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true,defaultValue:_0xc1af[31]},outboundproxy:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},callbackextension:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},timert1:{type:_0x2a6ax5.INTEGER(11),allowNull:true},timerb:{type:_0x2a6ax5.INTEGER(11),allowNull:true},qualifyfreq:{type:_0x2a6ax5.INTEGER(11),allowNull:true},constantssrc:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true},contactpermit:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},contactdeny:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},usereqphone:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true,defaultValue:_0xc1af[31]},textsupport:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true},faxdetect:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true},buggymwi:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true},auth:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},fullname:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},trunkname:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},cid_number:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},callingpres:{type:_0x2a6ax5.ENUM(_0xc1af[46],_0xc1af[47],_0xc1af[48],_0xc1af[49],_0xc1af[50],_0xc1af[51],_0xc1af[52],_0xc1af[53]),allowNull:true},mohinterpret:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},mohsuggest:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},parkinglot:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},hasvoicemail:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true},subscribemwi:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true},vmexten:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},description:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true},autoframing:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true},limitonpeers:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true,defaultValue:_0xc1af[30]},rtpkeepalive:{type:_0x2a6ax5.INTEGER(11),allowNull:true},"\x63\x61\x6C\x6C\x2D\x6C\x69\x6D\x69\x74":{type:_0x2a6ax5.INTEGER(11),allowNull:true,defaultValue:null},g726nonstandard:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true},ignoresdpversion:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true},allowtransfer:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true},dynamic:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true},encryption:{type:_0x2a6ax5.ENUM(_0xc1af[30],_0xc1af[31]),allowNull:true,defaultValue:_0xc1af[31]},registry:{type:_0x2a6ax5[_0xc1af[6]],allowNull:true}},{tableName:_0xc1af[54],defaultScope:{where:{role:_0xc1af[55]}},instanceMethods:{authenticate:function(_0x2a6axa){return this[_0xc1af[13]](_0x2a6axa)===this[_0xc1af[12]]},makeSalt:function(){return crypto[_0xc1af[57]](16).toString(_0xc1af[56])},encryptPassword:function(_0x2a6ax8){if(!_0x2a6ax8||!this[_0xc1af[10]]){return _0xc1af[58]};var _0x2a6axb= new Buffer(this[_0xc1af[10]],_0xc1af[56]);return crypto[_0xc1af[59]](_0x2a6ax8,_0x2a6axb,10000,64).toString(_0xc1af[56]);},md5Password:function(_0x2a6ax8){if(!_0x2a6ax8){return _0xc1af[58]};return md5(_0x2a6ax8);}},associate:function(_0x2a6axc){}});return _0x2a6ax6;};
\ No newline at end of file
index 2caddf2..2cff2a1 100644 (file)
@@ -1 +1 @@
-var _0x105a=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x54\x72\x69\x67\x67\x65\x72","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x42\x4F\x4F\x4C\x45\x41\x4E","\x74\x72\x69\x67\x67\x65\x72\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x105a[0]);module[_0x105a[1]]=function(_0x2190x2,_0x2190x3){var _0x2190x4=_0x2190x2[_0x105a[7]](_0x105a[2],{name:_0x2190x3[_0x105a[3]],channel:_0x2190x3[_0x105a[3]],description:_0x2190x3[_0x105a[3]],conditions:_0x2190x3[_0x105a[4]],actions:_0x2190x3[_0x105a[4]],status:{type:_0x2190x3[_0x105a[5]],defaultValue:false}},{tableName:_0x105a[6]});return _0x2190x4;};
\ No newline at end of file
+var _0xb524=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x54\x72\x69\x67\x67\x65\x72","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x42\x4F\x4F\x4C\x45\x41\x4E","\x74\x72\x69\x67\x67\x65\x72\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xb524[0]);module[_0xb524[1]]=function(_0x3855x2,_0x3855x3){var _0x3855x4=_0x3855x2[_0xb524[7]](_0xb524[2],{name:_0x3855x3[_0xb524[3]],channel:_0x3855x3[_0xb524[3]],description:_0x3855x3[_0xb524[3]],conditions:_0x3855x3[_0xb524[4]],actions:_0x3855x3[_0xb524[4]],status:{type:_0x3855x3[_0xb524[5]],defaultValue:false}},{tableName:_0xb524[6]});return _0x3855x4;};
\ No newline at end of file
index 25127ac..adfe458 100644 (file)
@@ -1 +1 @@
-var _0x7519=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x63\x72\x79\x70\x74\x6F","\x6D\x64\x35","\x6C\x6F\x64\x61\x73\x68","\x65\x78\x70\x6F\x72\x74\x73","\x54\x72\x75\x6E\x6B","\x53\x54\x52\x49\x4E\x47","\x64\x79\x6E\x61\x6D\x69\x63","\x66\x72\x69\x65\x6E\x64","\x75\x73\x65\x72","\x70\x65\x65\x72","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x75\x64\x70","\x72\x66\x63\x32\x38\x33\x33","\x69\x6E\x66\x6F","\x73\x68\x6F\x72\x74\x69\x6E\x66\x6F","\x69\x6E\x62\x61\x6E\x64","\x61\x75\x74\x6F","\x79\x65\x73","\x6E\x6F","\x6E\x6F\x6E\x61\x74","\x75\x70\x64\x61\x74\x65","\x66\x6F\x72\x63\x65\x5F\x72\x70\x6F\x72\x74\x2C\x63\x6F\x6D\x65\x64\x69\x61","\x65\x6E","\x61\x6C\x61\x77\x3B\x75\x6C\x61\x77\x3B\x67\x73\x6D","\x70\x6F\x72\x74\x2C\x69\x6E\x76\x69\x74\x65","\x6E\x65\x76\x65\x72","\x22\x22\x20\x3C\x3E","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x4E\x4F\x54\x5F\x53\x43\x52\x45\x45\x4E\x45\x44","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x50\x41\x53\x53\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x46\x41\x49\x4C\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x41\x4C\x4C\x4F\x57\x45\x44","\x50\x52\x4F\x48\x49\x42\x5F\x4E\x4F\x54\x5F\x53\x43\x52\x45\x45\x4E\x45\x44","\x50\x52\x4F\x48\x49\x42\x5F\x50\x41\x53\x53\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x50\x52\x4F\x48\x49\x42\x5F\x46\x41\x49\x4C\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x50\x52\x4F\x48\x49\x42","\x74\x72\x75\x6E\x6B\x73","\x54\x72\x75\x6E\x6B\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0x7519[0];var crypto=require(_0x7519[1]);var md5=require(_0x7519[2]);var _=require(_0x7519[3]);module[_0x7519[4]]=function(_0xe058x4,_0xe058x5){var _0xe058x6=_0xe058x4[_0x7519[39]](_0x7519[5],{name:{type:_0xe058x5[_0x7519[6]],unique:true,validate:{notEmpty:true}},port:{type:_0xe058x5.INTEGER(5),allowNull:true},defaultuser:{type:_0xe058x5[_0x7519[6]],allowNull:true},host:{type:_0xe058x5[_0x7519[6]],allowNull:true,defaultValue:_0x7519[7]},type:{type:_0xe058x5.ENUM(_0x7519[8],_0x7519[9],_0x7519[10]),allowNull:true,defaultValue:_0x7519[8]},context:{type:_0xe058x5[_0x7519[6]],allowNull:true,defaultValue:_0x7519[11]},permit:{type:_0xe058x5[_0x7519[6]],allowNull:true},deny:{type:_0xe058x5[_0x7519[6]],allowNull:true},secret:{type:_0xe058x5[_0x7519[6]],allowNull:true},transport:{type:_0xe058x5[_0x7519[6]],allowNull:true,defaultValue:_0x7519[12]},dtmfmode:{type:_0xe058x5.ENUM(_0x7519[13],_0x7519[14],_0x7519[15],_0x7519[16],_0x7519[17]),allowNull:true,defaultValue:_0x7519[13]},directmedia:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19],_0x7519[20],_0x7519[21]),allowNull:true,defaultValue:_0x7519[19]},nat:{type:_0xe058x5[_0x7519[6]],allowNull:true,defaultValue:_0x7519[22]},language:{type:_0xe058x5[_0x7519[6]],allowNull:true,defaultValue:_0x7519[23]},disallow:{type:_0xe058x5[_0x7519[6]],allowNull:true},allow:{type:_0xe058x5[_0x7519[6]],allowNull:true,defaultValue:_0x7519[24]},insecure:{type:_0xe058x5[_0x7519[6]],allowNull:true,defaultValue:_0x7519[25]},trustrpid:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true,defaultValue:_0x7519[19]},progressinband:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19],_0x7519[26]),allowNull:true},promiscredir:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true},useclientcode:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true},accountcode:{type:_0xe058x5.INTEGER(11),allowNull:true},setvar:{type:_0xe058x5[_0x7519[6]],allowNull:true},otherFields:{type:_0xe058x5[_0x7519[6]],allowNull:true},callerid:{type:_0xe058x5[_0x7519[6]],allowNull:true,defaultValue:_0x7519[27]},amaflags:{type:_0xe058x5[_0x7519[6]],allowNull:true},callcounter:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true,defaultValue:_0x7519[18]},busylevel:{type:_0xe058x5.INTEGER(11),allowNull:true},allowoverlap:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true},allowsubscribe:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true},maxcallbitrate:{type:_0xe058x5.INTEGER(11),allowNull:true},rfc2833compensate:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true},t38pt_usertpsource:{type:_0xe058x5[_0x7519[6]],allowNull:true},regexten:{type:_0xe058x5[_0x7519[6]],allowNull:true},fromdomain:{type:_0xe058x5[_0x7519[6]],allowNull:true},fromuser:{type:_0xe058x5[_0x7519[6]],allowNull:true},qualify:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true,defaultValue:_0x7519[18]},defaultip:{type:_0xe058x5[_0x7519[6]],allowNull:true},rtptimeout:{type:_0xe058x5.INTEGER(11),allowNull:true},rtpholdtimeout:{type:_0xe058x5.INTEGER(11),allowNull:true},sendrpid:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true,defaultValue:_0x7519[19]},outboundproxy:{type:_0xe058x5[_0x7519[6]],allowNull:true},callbackextension:{type:_0xe058x5[_0x7519[6]],allowNull:true},qualifyfreq:{type:_0xe058x5.INTEGER(11),allowNull:true},constantssrc:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true},contactpermit:{type:_0xe058x5[_0x7519[6]],allowNull:true},contactdeny:{type:_0xe058x5[_0x7519[6]],allowNull:true},usereqphone:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true,defaultValue:_0x7519[19]},textsupport:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true},faxdetect:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true},buggymwi:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true},auth:{type:_0xe058x5[_0x7519[6]],allowNull:true},fullname:{type:_0xe058x5[_0x7519[6]],allowNull:true},trunkname:{type:_0xe058x5[_0x7519[6]],allowNull:true},cid_number:{type:_0xe058x5[_0x7519[6]],allowNull:true},callingpres:{type:_0xe058x5.ENUM(_0x7519[28],_0x7519[29],_0x7519[30],_0x7519[31],_0x7519[32],_0x7519[33],_0x7519[34],_0x7519[35]),allowNull:true},mohinterpret:{type:_0xe058x5[_0x7519[6]],allowNull:true},mohsuggest:{type:_0xe058x5[_0x7519[6]],allowNull:true},subscribemwi:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true},vmexten:{type:_0xe058x5[_0x7519[6]],allowNull:true},description:{type:_0xe058x5[_0x7519[6]],allowNull:true},autoframing:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true},limitonpeers:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true,defaultValue:_0x7519[18]},rtpkeepalive:{type:_0xe058x5.INTEGER(11),allowNull:true},"\x63\x61\x6C\x6C\x2D\x6C\x69\x6D\x69\x74":{type:_0xe058x5.INTEGER(11),allowNull:true,defaultValue:null},g726nonstandard:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true},ignoresdpversion:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true},allowtransfer:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true},dynamic:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true},encryption:{type:_0xe058x5.ENUM(_0x7519[18],_0x7519[19]),allowNull:true,defaultValue:_0x7519[19]},registry:{type:_0xe058x5[_0x7519[6]],allowNull:true}},{tableName:_0x7519[36],getterMethods:{},associate:function(_0xe058x7){_0xe058x6[_0x7519[38]](_0xe058x7.VoiceExtension,{foreignKey:_0x7519[37]})}});return _0xe058x6;};
\ No newline at end of file
+var _0x638a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x63\x72\x79\x70\x74\x6F","\x6D\x64\x35","\x6C\x6F\x64\x61\x73\x68","\x65\x78\x70\x6F\x72\x74\x73","\x54\x72\x75\x6E\x6B","\x53\x54\x52\x49\x4E\x47","\x64\x79\x6E\x61\x6D\x69\x63","\x66\x72\x69\x65\x6E\x64","\x75\x73\x65\x72","\x70\x65\x65\x72","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x75\x64\x70","\x72\x66\x63\x32\x38\x33\x33","\x69\x6E\x66\x6F","\x73\x68\x6F\x72\x74\x69\x6E\x66\x6F","\x69\x6E\x62\x61\x6E\x64","\x61\x75\x74\x6F","\x79\x65\x73","\x6E\x6F","\x6E\x6F\x6E\x61\x74","\x75\x70\x64\x61\x74\x65","\x66\x6F\x72\x63\x65\x5F\x72\x70\x6F\x72\x74\x2C\x63\x6F\x6D\x65\x64\x69\x61","\x65\x6E","\x61\x6C\x61\x77\x3B\x75\x6C\x61\x77\x3B\x67\x73\x6D","\x70\x6F\x72\x74\x2C\x69\x6E\x76\x69\x74\x65","\x6E\x65\x76\x65\x72","\x22\x22\x20\x3C\x3E","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x4E\x4F\x54\x5F\x53\x43\x52\x45\x45\x4E\x45\x44","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x50\x41\x53\x53\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x46\x41\x49\x4C\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x41\x4C\x4C\x4F\x57\x45\x44","\x50\x52\x4F\x48\x49\x42\x5F\x4E\x4F\x54\x5F\x53\x43\x52\x45\x45\x4E\x45\x44","\x50\x52\x4F\x48\x49\x42\x5F\x50\x41\x53\x53\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x50\x52\x4F\x48\x49\x42\x5F\x46\x41\x49\x4C\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x50\x52\x4F\x48\x49\x42","\x74\x72\x75\x6E\x6B\x73","\x54\x72\x75\x6E\x6B\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0x638a[0];var crypto=require(_0x638a[1]);var md5=require(_0x638a[2]);var _=require(_0x638a[3]);module[_0x638a[4]]=function(_0x9641x4,_0x9641x5){var _0x9641x6=_0x9641x4[_0x638a[39]](_0x638a[5],{name:{type:_0x9641x5[_0x638a[6]],unique:true,validate:{notEmpty:true}},port:{type:_0x9641x5.INTEGER(5),allowNull:true},defaultuser:{type:_0x9641x5[_0x638a[6]],allowNull:true},host:{type:_0x9641x5[_0x638a[6]],allowNull:true,defaultValue:_0x638a[7]},type:{type:_0x9641x5.ENUM(_0x638a[8],_0x638a[9],_0x638a[10]),allowNull:true,defaultValue:_0x638a[8]},context:{type:_0x9641x5[_0x638a[6]],allowNull:true,defaultValue:_0x638a[11]},permit:{type:_0x9641x5[_0x638a[6]],allowNull:true},deny:{type:_0x9641x5[_0x638a[6]],allowNull:true},secret:{type:_0x9641x5[_0x638a[6]],allowNull:true},transport:{type:_0x9641x5[_0x638a[6]],allowNull:true,defaultValue:_0x638a[12]},dtmfmode:{type:_0x9641x5.ENUM(_0x638a[13],_0x638a[14],_0x638a[15],_0x638a[16],_0x638a[17]),allowNull:true,defaultValue:_0x638a[13]},directmedia:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19],_0x638a[20],_0x638a[21]),allowNull:true,defaultValue:_0x638a[19]},nat:{type:_0x9641x5[_0x638a[6]],allowNull:true,defaultValue:_0x638a[22]},language:{type:_0x9641x5[_0x638a[6]],allowNull:true,defaultValue:_0x638a[23]},disallow:{type:_0x9641x5[_0x638a[6]],allowNull:true},allow:{type:_0x9641x5[_0x638a[6]],allowNull:true,defaultValue:_0x638a[24]},insecure:{type:_0x9641x5[_0x638a[6]],allowNull:true,defaultValue:_0x638a[25]},trustrpid:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true,defaultValue:_0x638a[19]},progressinband:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19],_0x638a[26]),allowNull:true},promiscredir:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true},useclientcode:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true},accountcode:{type:_0x9641x5.INTEGER(11),allowNull:true},setvar:{type:_0x9641x5[_0x638a[6]],allowNull:true},otherFields:{type:_0x9641x5[_0x638a[6]],allowNull:true},callerid:{type:_0x9641x5[_0x638a[6]],allowNull:true,defaultValue:_0x638a[27]},amaflags:{type:_0x9641x5[_0x638a[6]],allowNull:true},callcounter:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true,defaultValue:_0x638a[18]},busylevel:{type:_0x9641x5.INTEGER(11),allowNull:true},allowoverlap:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true},allowsubscribe:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true},maxcallbitrate:{type:_0x9641x5.INTEGER(11),allowNull:true},rfc2833compensate:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true},t38pt_usertpsource:{type:_0x9641x5[_0x638a[6]],allowNull:true},regexten:{type:_0x9641x5[_0x638a[6]],allowNull:true},fromdomain:{type:_0x9641x5[_0x638a[6]],allowNull:true},fromuser:{type:_0x9641x5[_0x638a[6]],allowNull:true},qualify:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true,defaultValue:_0x638a[18]},defaultip:{type:_0x9641x5[_0x638a[6]],allowNull:true},rtptimeout:{type:_0x9641x5.INTEGER(11),allowNull:true},rtpholdtimeout:{type:_0x9641x5.INTEGER(11),allowNull:true},sendrpid:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true,defaultValue:_0x638a[19]},outboundproxy:{type:_0x9641x5[_0x638a[6]],allowNull:true},callbackextension:{type:_0x9641x5[_0x638a[6]],allowNull:true},qualifyfreq:{type:_0x9641x5.INTEGER(11),allowNull:true},constantssrc:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true},contactpermit:{type:_0x9641x5[_0x638a[6]],allowNull:true},contactdeny:{type:_0x9641x5[_0x638a[6]],allowNull:true},usereqphone:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true,defaultValue:_0x638a[19]},textsupport:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true},faxdetect:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true},buggymwi:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true},auth:{type:_0x9641x5[_0x638a[6]],allowNull:true},fullname:{type:_0x9641x5[_0x638a[6]],allowNull:true},trunkname:{type:_0x9641x5[_0x638a[6]],allowNull:true},cid_number:{type:_0x9641x5[_0x638a[6]],allowNull:true},callingpres:{type:_0x9641x5.ENUM(_0x638a[28],_0x638a[29],_0x638a[30],_0x638a[31],_0x638a[32],_0x638a[33],_0x638a[34],_0x638a[35]),allowNull:true},mohinterpret:{type:_0x9641x5[_0x638a[6]],allowNull:true},mohsuggest:{type:_0x9641x5[_0x638a[6]],allowNull:true},subscribemwi:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true},vmexten:{type:_0x9641x5[_0x638a[6]],allowNull:true},description:{type:_0x9641x5[_0x638a[6]],allowNull:true},autoframing:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true},limitonpeers:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true,defaultValue:_0x638a[18]},rtpkeepalive:{type:_0x9641x5.INTEGER(11),allowNull:true},"\x63\x61\x6C\x6C\x2D\x6C\x69\x6D\x69\x74":{type:_0x9641x5.INTEGER(11),allowNull:true,defaultValue:null},g726nonstandard:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true},ignoresdpversion:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true},allowtransfer:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true},dynamic:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true},encryption:{type:_0x9641x5.ENUM(_0x638a[18],_0x638a[19]),allowNull:true,defaultValue:_0x638a[19]},registry:{type:_0x9641x5[_0x638a[6]],allowNull:true}},{tableName:_0x638a[36],getterMethods:{},associate:function(_0x9641x7){_0x9641x6[_0x638a[38]](_0x9641x7.VoiceExtension,{foreignKey:_0x638a[37]})}});return _0x9641x6;};
\ No newline at end of file
index 7c9c903..c46f3f0 100644 (file)
@@ -1 +1 @@
-var _0xfaba=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x55\x70\x64\x61\x74\x65","\x53\x54\x52\x49\x4E\x47","\x75\x70\x64\x61\x74\x65\x73","\x64\x65\x66\x69\x6E\x65"];_0xfaba[0];module[_0xfaba[1]]=function(_0x517dx1,_0x517dx2){var _0x517dx3=_0x517dx1[_0xfaba[5]](_0xfaba[2],{name:_0x517dx2[_0xfaba[3]],description:_0x517dx2[_0xfaba[3]]},{tableName:_0xfaba[4]});return _0x517dx3;};
\ No newline at end of file
+var _0x7f85=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x55\x70\x64\x61\x74\x65","\x53\x54\x52\x49\x4E\x47","\x75\x70\x64\x61\x74\x65\x73","\x64\x65\x66\x69\x6E\x65"];_0x7f85[0];module[_0x7f85[1]]=function(_0x86c1x1,_0x86c1x2){var _0x86c1x3=_0x86c1x1[_0x7f85[5]](_0x7f85[2],{name:_0x86c1x2[_0x7f85[3]],description:_0x86c1x2[_0x7f85[3]]},{tableName:_0x7f85[4]});return _0x86c1x3;};
\ No newline at end of file
index 4aba9d3..ccce588 100644 (file)
@@ -1 +1 @@
-var _0xca34=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x55\x70\x6C\x6F\x61\x64","\x53\x54\x52\x49\x4E\x47","","\x54\x68\x65\x20\x6E\x61\x6D\x65\x20\x63\x61\x6E\x6E\x6F\x74\x20\x62\x65\x20\x65\x6D\x70\x74\x79\x21","\x46\x4C\x4F\x41\x54","\x42\x49\x47\x49\x4E\x54","\x49\x4E\x54\x45\x47\x45\x52","\x75\x70\x6C\x6F\x61\x64","\x64\x65\x66\x69\x6E\x65"];_0xca34[0];module[_0xca34[1]]=function(_0xdcc5x1,_0xdcc5x2){var _0xdcc5x3=_0xdcc5x1[_0xca34[10]](_0xca34[2],{name:_0xdcc5x2[_0xca34[3]],save_name:_0xdcc5x2[_0xca34[3]],display_name:{type:_0xdcc5x2[_0xca34[3]],allowNull:false,defaultValue:_0xca34[4],validate:{notEmpty:{msg:_0xca34[5]}}},description:_0xdcc5x2[_0xca34[3]],original_path:_0xdcc5x2[_0xca34[3]],original_format:_0xdcc5x2[_0xca34[3]],original_duration:_0xdcc5x2[_0xca34[6]],original_sampleCount:_0xdcc5x2[_0xca34[7]],original_channelCount:_0xdcc5x2[_0xca34[8]],original_bitRate:_0xdcc5x2[_0xca34[7]],original_sampleRate:_0xdcc5x2[_0xca34[8]],converted_path:_0xdcc5x2[_0xca34[3]],converted_format:_0xdcc5x2[_0xca34[3]],converted_duration:_0xdcc5x2[_0xca34[6]],converted_sampleCount:_0xdcc5x2[_0xca34[7]],converted_channelCount:_0xdcc5x2[_0xca34[8]],converted_bitRate:_0xdcc5x2[_0xca34[7]],converted_sampleRate:_0xdcc5x2[_0xca34[8]]},{tableName:_0xca34[9]});return _0xdcc5x3;};
\ No newline at end of file
+var _0xe6c5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x55\x70\x6C\x6F\x61\x64","\x53\x54\x52\x49\x4E\x47","","\x54\x68\x65\x20\x6E\x61\x6D\x65\x20\x63\x61\x6E\x6E\x6F\x74\x20\x62\x65\x20\x65\x6D\x70\x74\x79\x21","\x46\x4C\x4F\x41\x54","\x42\x49\x47\x49\x4E\x54","\x49\x4E\x54\x45\x47\x45\x52","\x75\x70\x6C\x6F\x61\x64","\x64\x65\x66\x69\x6E\x65"];_0xe6c5[0];module[_0xe6c5[1]]=function(_0x28f0x1,_0x28f0x2){var _0x28f0x3=_0x28f0x1[_0xe6c5[10]](_0xe6c5[2],{name:_0x28f0x2[_0xe6c5[3]],save_name:_0x28f0x2[_0xe6c5[3]],display_name:{type:_0x28f0x2[_0xe6c5[3]],allowNull:false,defaultValue:_0xe6c5[4],validate:{notEmpty:{msg:_0xe6c5[5]}}},description:_0x28f0x2[_0xe6c5[3]],original_path:_0x28f0x2[_0xe6c5[3]],original_format:_0x28f0x2[_0xe6c5[3]],original_duration:_0x28f0x2[_0xe6c5[6]],original_sampleCount:_0x28f0x2[_0xe6c5[7]],original_channelCount:_0x28f0x2[_0xe6c5[8]],original_bitRate:_0x28f0x2[_0xe6c5[7]],original_sampleRate:_0x28f0x2[_0xe6c5[8]],converted_path:_0x28f0x2[_0xe6c5[3]],converted_format:_0x28f0x2[_0xe6c5[3]],converted_duration:_0x28f0x2[_0xe6c5[6]],converted_sampleCount:_0x28f0x2[_0xe6c5[7]],converted_channelCount:_0x28f0x2[_0xe6c5[8]],converted_bitRate:_0x28f0x2[_0xe6c5[7]],converted_sampleRate:_0x28f0x2[_0xe6c5[8]]},{tableName:_0xe6c5[9]});return _0x28f0x3;};
\ No newline at end of file
index c6efcf5..3817892 100644 (file)
@@ -1 +1 @@
-var _0x1d80=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x63\x72\x79\x70\x74\x6F","\x6D\x64\x35","\x6C\x6F\x64\x61\x73\x68","\x65\x78\x70\x6F\x72\x74\x73","\x55\x73\x65\x72","\x53\x54\x52\x49\x4E\x47","\x6E\x61\x6D\x65","\x73\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x64\x65\x66\x61\x75\x6C\x74\x75\x73\x65\x72","\x65\x6D\x61\x69\x6C","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x61\x64\x6D\x69\x6E","\x75\x73\x65\x72","\x61\x67\x65\x6E\x74","\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65","\x73\x61\x6C\x74","\x6D\x61\x6B\x65\x53\x61\x6C\x74","\x70\x61\x73\x73\x77\x6F\x72\x64","\x65\x6E\x63\x72\x79\x70\x74\x50\x61\x73\x73\x77\x6F\x72\x64","\x6D\x64\x35\x73\x65\x63\x72\x65\x74","\x3A\x61\x73\x74\x65\x72\x69\x73\x6B\x3A","\x6D\x64\x35\x50\x61\x73\x73\x77\x6F\x72\x64","\x6C\x6F\x63\x61\x6C","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x44\x41\x54\x45","\x64\x79\x6E\x61\x6D\x69\x63","\x66\x72\x69\x65\x6E\x64","\x70\x65\x65\x72","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x75\x64\x70","\x72\x66\x63\x32\x38\x33\x33","\x69\x6E\x66\x6F","\x73\x68\x6F\x72\x74\x69\x6E\x66\x6F","\x69\x6E\x62\x61\x6E\x64","\x61\x75\x74\x6F","\x79\x65\x73","\x6E\x6F","\x6E\x6F\x6E\x61\x74","\x75\x70\x64\x61\x74\x65","\x66\x6F\x72\x63\x65\x5F\x72\x70\x6F\x72\x74\x2C\x63\x6F\x6D\x65\x64\x69\x61","\x65\x6E","\x61\x6C\x6C","\x61\x6C\x61\x77\x3B\x75\x6C\x61\x77\x3B\x67\x73\x6D","\x70\x6F\x72\x74\x2C\x69\x6E\x76\x69\x74\x65","\x6E\x65\x76\x65\x72","\x22\x22\x20\x3C\x3E","\x61\x63\x63\x65\x70\x74","\x72\x65\x66\x75\x73\x65","\x6F\x72\x69\x67\x69\x6E\x61\x74\x65","\x75\x61\x63","\x75\x61\x73","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x4E\x4F\x54\x5F\x53\x43\x52\x45\x45\x4E\x45\x44","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x50\x41\x53\x53\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x46\x41\x49\x4C\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x41\x4C\x4C\x4F\x57\x45\x44","\x50\x52\x4F\x48\x49\x42\x5F\x4E\x4F\x54\x5F\x53\x43\x52\x45\x45\x4E\x45\x44","\x50\x52\x4F\x48\x49\x42\x5F\x50\x41\x53\x53\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x50\x52\x4F\x48\x49\x42\x5F\x46\x41\x49\x4C\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x50\x52\x4F\x48\x49\x42","\x75\x73\x65\x72\x73","\x62\x61\x73\x65\x36\x34","\x72\x61\x6E\x64\x6F\x6D\x42\x79\x74\x65\x73","","\x70\x62\x6B\x64\x66\x32\x53\x79\x6E\x63","\x68\x61\x73\x4D\x61\x6E\x79","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x6F\x64\x75\x6C\x65\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x6E\x6E\x65\x6C\x73","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73","\x55\x73\x65\x72\x48\x61\x73\x54\x65\x61\x6D","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\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\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x63\x61\x73\x63\x61\x64\x65","\x64\x65\x66\x69\x6E\x65"];_0x1d80[0];var crypto=require(_0x1d80[1]);var md5=require(_0x1d80[2]);var _=require(_0x1d80[3]);module[_0x1d80[4]]=function(_0xa6fbx4,_0xa6fbx5){var _0xa6fbx6=_0xa6fbx4[_0x1d80[81]](_0x1d80[5],{name:{type:_0xa6fbx5[_0x1d80[6]],unique:true,validate:{notEmpty:true},set:function(_0xa6fbx7){this[_0x1d80[8]](_0x1d80[7],_0xa6fbx7);this[_0x1d80[8]](_0x1d80[9],_0xa6fbx7);}},email:{type:_0xa6fbx5[_0x1d80[6]],unique:true,set:function(_0xa6fbx8){if(_0xa6fbx8){this[_0x1d80[8]](_0x1d80[10],_0xa6fbx8[_0x1d80[11]]())}},defaultValue:null},role:{type:_0xa6fbx5.ENUM(_0x1d80[12],_0x1d80[13],_0x1d80[14],_0x1d80[15])},password:{type:_0xa6fbx5[_0x1d80[6]],allowNull:false,validate:{notEmpty:true},set:function(_0xa6fbx9){this[_0x1d80[16]]=this[_0x1d80[17]]();this[_0x1d80[8]](_0x1d80[18],this[_0x1d80[19]](_0xa6fbx9));this[_0x1d80[8]](_0x1d80[20],this[_0x1d80[22]](this[_0x1d80[7]]+_0x1d80[21]+_0xa6fbx9));}},provider:{type:_0xa6fbx5[_0x1d80[6]],defaultValue:_0x1d80[23]},internal:{type:_0xa6fbx5.INTEGER(11),unique:true,set:function(_0xa6fbxa){this[_0x1d80[8]](_0x1d80[24],_0xa6fbxa);this[_0x1d80[8]](_0x1d80[25],_0xa6fbxa);}},salt:{type:_0xa6fbx5[_0x1d80[6]]},phone:{type:_0xa6fbx5[_0x1d80[6]]},mobile:{type:_0xa6fbx5[_0x1d80[6]]},address:{type:_0xa6fbx5[_0x1d80[6]]},zipcode:{type:_0xa6fbx5[_0x1d80[6]]},userpic:{type:_0xa6fbx5[_0x1d80[6]]},city:{type:_0xa6fbx5[_0x1d80[6]]},country:{type:_0xa6fbx5[_0x1d80[6]]},facebookUserId:{type:_0xa6fbx5[_0x1d80[26]]},twitterUserId:{type:_0xa6fbx5[_0x1d80[26]]},twitterKey:{type:_0xa6fbx5[_0x1d80[6]]},twitterSecret:{type:_0xa6fbx5[_0x1d80[6]]},github:{type:_0xa6fbx5[_0x1d80[6]]},openId:{type:_0xa6fbx5[_0x1d80[6]]},online:{type:_0xa6fbx5[_0x1d80[27]],defaultValue:false},lastLoginAt:{type:_0xa6fbx5[_0x1d80[28]]},ipaddr:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},port:{type:_0xa6fbx5.INTEGER(5),allowNull:true},regseconds:{type:_0xa6fbx5.INTEGER(11),allowNull:true},defaultuser:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},fullcontact:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},regserver:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},useragent:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},lastms:{type:_0xa6fbx5.INTEGER(11),allowNull:true},host:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true,defaultValue:_0x1d80[29]},type:{type:_0xa6fbx5.ENUM(_0x1d80[30],_0x1d80[13],_0x1d80[31]),allowNull:true,defaultValue:_0x1d80[30]},context:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true,defaultValue:_0x1d80[32]},permit:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},deny:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},secret:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},md5secret:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},remotesecret:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},transport:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true,defaultValue:_0x1d80[33]},dtmfmode:{type:_0xa6fbx5.ENUM(_0x1d80[34],_0x1d80[35],_0x1d80[36],_0x1d80[37],_0x1d80[38]),allowNull:true,defaultValue:_0x1d80[34]},directmedia:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40],_0x1d80[41],_0x1d80[42]),allowNull:true,defaultValue:_0x1d80[40]},nat:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true,defaultValue:_0x1d80[43]},callgroup:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},pickupgroup:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},language:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true,defaultValue:_0x1d80[44]},disallow:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true,defaultValue:_0x1d80[45]},allow:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true,defaultValue:_0x1d80[46]},insecure:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true,defaultValue:_0x1d80[47]},trustrpid:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true,defaultValue:_0x1d80[40]},progressinband:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40],_0x1d80[48]),allowNull:true},promiscredir:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true},useclientcode:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true},accountcode:{type:_0xa6fbx5.INTEGER(11),allowNull:true},setvar:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},callerid:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true,defaultValue:_0x1d80[49]},amaflags:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},callcounter:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true,defaultValue:_0x1d80[39]},busylevel:{type:_0xa6fbx5.INTEGER(11),allowNull:true},allowoverlap:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true},allowsubscribe:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true},videosupport:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true},maxcallbitrate:{type:_0xa6fbx5.INTEGER(11),allowNull:true},rfc2833compensate:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true},mailbox:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x74\x69\x6D\x65\x72\x73":{type:_0xa6fbx5.ENUM(_0x1d80[50],_0x1d80[51],_0x1d80[52]),allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x65\x78\x70\x69\x72\x65\x73":{type:_0xa6fbx5.INTEGER(11),allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x6D\x69\x6E\x73\x65":{type:_0xa6fbx5.INTEGER(11),allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x72\x65\x66\x72\x65\x73\x68\x65\x72":{type:_0xa6fbx5.ENUM(_0x1d80[53],_0x1d80[54]),allowNull:true},t38pt_usertpsource:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},regexten:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},fromdomain:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},fromuser:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},qualify:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true,defaultValue:_0x1d80[39]},defaultip:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},rtptimeout:{type:_0xa6fbx5.INTEGER(11),allowNull:true},rtpholdtimeout:{type:_0xa6fbx5.INTEGER(11),allowNull:true},sendrpid:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true,defaultValue:_0x1d80[40]},outboundproxy:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},callbackextension:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},timert1:{type:_0xa6fbx5.INTEGER(11),allowNull:true},timerb:{type:_0xa6fbx5.INTEGER(11),allowNull:true},qualifyfreq:{type:_0xa6fbx5.INTEGER(11),allowNull:true},constantssrc:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true},contactpermit:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},contactdeny:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},usereqphone:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true,defaultValue:_0x1d80[40]},textsupport:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true},faxdetect:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true},buggymwi:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true},auth:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},fullname:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},trunkname:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},cid_number:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},callingpres:{type:_0xa6fbx5.ENUM(_0x1d80[55],_0x1d80[56],_0x1d80[57],_0x1d80[58],_0x1d80[59],_0x1d80[60],_0x1d80[61],_0x1d80[62]),allowNull:true},mohinterpret:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},mohsuggest:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},parkinglot:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},hasvoicemail:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true},subscribemwi:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true},vmexten:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},description:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true},autoframing:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true},limitonpeers:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true,defaultValue:_0x1d80[39]},rtpkeepalive:{type:_0xa6fbx5.INTEGER(11),allowNull:true},"\x63\x61\x6C\x6C\x2D\x6C\x69\x6D\x69\x74":{type:_0xa6fbx5.INTEGER(11),allowNull:true,defaultValue:null},g726nonstandard:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true},ignoresdpversion:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true},allowtransfer:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true},dynamic:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true},encryption:{type:_0xa6fbx5.ENUM(_0x1d80[39],_0x1d80[40]),allowNull:true,defaultValue:_0x1d80[40]},registry:{type:_0xa6fbx5[_0x1d80[6]],allowNull:true}},{tableName:_0x1d80[63],defaultScope:{where:{$or:[{role:_0x1d80[12]},{role:_0x1d80[13]},{role:_0x1d80[14]}]}},instanceMethods:{authenticate:function(_0xa6fbxb){return this[_0x1d80[19]](_0xa6fbxb)===this[_0x1d80[18]]},makeSalt:function(){return crypto[_0x1d80[65]](16).toString(_0x1d80[64])},encryptPassword:function(_0xa6fbx9){if(!_0xa6fbx9||!this[_0x1d80[16]]){return _0x1d80[66]};var _0xa6fbxc= new Buffer(this[_0x1d80[16]],_0x1d80[64]);return crypto[_0x1d80[67]](_0xa6fbx9,_0xa6fbxc,10000,64).toString(_0x1d80[64]);},md5Password:function(_0xa6fbx9){if(!_0xa6fbx9){return _0x1d80[66]};return md5(_0xa6fbx9);}},associate:function(_0xa6fbxd){_0xa6fbx6[_0x1d80[68]](_0xa6fbxd.ChatMessage);_0xa6fbx6[_0x1d80[68]](_0xa6fbxd.Contact);_0xa6fbx6[_0x1d80[70]](_0xa6fbxd.Module,{through:_0x1d80[69]});_0xa6fbx6[_0x1d80[70]](_0xa6fbxd.Channel,{through:_0x1d80[71]});_0xa6fbx6[_0x1d80[70]](_0xa6fbxd.MailRoom,{through:_0x1d80[72]});_0xa6fbx6[_0x1d80[70]](_0xa6fbxd.Team,{through:_0xa6fbxd[_0x1d80[73]]});_0xa6fbx6[_0x1d80[70]](_0xa6fbxd.ChatRoom,{through:_0xa6fbxd[_0x1d80[74]]});_0xa6fbx6[_0x1d80[70]](_0xa6fbxd.MailQueue,{through:_0xa6fbxd[_0x1d80[75]]});_0xa6fbx6[_0x1d80[70]](_0xa6fbxd.ChatQueue,{through:_0xa6fbxd[_0x1d80[76]]});_0xa6fbx6[_0x1d80[70]](_0xa6fbxd.VoiceQueue,{through:_0xa6fbxd[_0x1d80[77]]});_0xa6fbx6[_0x1d80[68]](_0xa6fbxd.VoiceExtension,{foreignKey:_0x1d80[78],as:_0x1d80[79],onDelete:_0x1d80[80]});}});return _0xa6fbx6;};
\ No newline at end of file
+var _0xa958=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x63\x72\x79\x70\x74\x6F","\x6D\x64\x35","\x6C\x6F\x64\x61\x73\x68","\x65\x78\x70\x6F\x72\x74\x73","\x55\x73\x65\x72","\x53\x54\x52\x49\x4E\x47","\x6E\x61\x6D\x65","\x73\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x64\x65\x66\x61\x75\x6C\x74\x75\x73\x65\x72","\x65\x6D\x61\x69\x6C","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x61\x64\x6D\x69\x6E","\x75\x73\x65\x72","\x61\x67\x65\x6E\x74","\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65","\x73\x61\x6C\x74","\x6D\x61\x6B\x65\x53\x61\x6C\x74","\x70\x61\x73\x73\x77\x6F\x72\x64","\x65\x6E\x63\x72\x79\x70\x74\x50\x61\x73\x73\x77\x6F\x72\x64","\x6D\x64\x35\x73\x65\x63\x72\x65\x74","\x3A\x61\x73\x74\x65\x72\x69\x73\x6B\x3A","\x6D\x64\x35\x50\x61\x73\x73\x77\x6F\x72\x64","\x6C\x6F\x63\x61\x6C","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x44\x41\x54\x45","\x64\x79\x6E\x61\x6D\x69\x63","\x66\x72\x69\x65\x6E\x64","\x70\x65\x65\x72","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x75\x64\x70","\x72\x66\x63\x32\x38\x33\x33","\x69\x6E\x66\x6F","\x73\x68\x6F\x72\x74\x69\x6E\x66\x6F","\x69\x6E\x62\x61\x6E\x64","\x61\x75\x74\x6F","\x79\x65\x73","\x6E\x6F","\x6E\x6F\x6E\x61\x74","\x75\x70\x64\x61\x74\x65","\x66\x6F\x72\x63\x65\x5F\x72\x70\x6F\x72\x74\x2C\x63\x6F\x6D\x65\x64\x69\x61","\x65\x6E","\x61\x6C\x6C","\x61\x6C\x61\x77\x3B\x75\x6C\x61\x77\x3B\x67\x73\x6D","\x70\x6F\x72\x74\x2C\x69\x6E\x76\x69\x74\x65","\x6E\x65\x76\x65\x72","\x22\x22\x20\x3C\x3E","\x61\x63\x63\x65\x70\x74","\x72\x65\x66\x75\x73\x65","\x6F\x72\x69\x67\x69\x6E\x61\x74\x65","\x75\x61\x63","\x75\x61\x73","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x4E\x4F\x54\x5F\x53\x43\x52\x45\x45\x4E\x45\x44","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x50\x41\x53\x53\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x46\x41\x49\x4C\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x41\x4C\x4C\x4F\x57\x45\x44","\x50\x52\x4F\x48\x49\x42\x5F\x4E\x4F\x54\x5F\x53\x43\x52\x45\x45\x4E\x45\x44","\x50\x52\x4F\x48\x49\x42\x5F\x50\x41\x53\x53\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x50\x52\x4F\x48\x49\x42\x5F\x46\x41\x49\x4C\x45\x44\x5F\x53\x43\x52\x45\x45\x4E","\x50\x52\x4F\x48\x49\x42","\x75\x73\x65\x72\x73","\x62\x61\x73\x65\x36\x34","\x72\x61\x6E\x64\x6F\x6D\x42\x79\x74\x65\x73","","\x70\x62\x6B\x64\x66\x32\x53\x79\x6E\x63","\x68\x61\x73\x4D\x61\x6E\x79","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x6F\x64\x75\x6C\x65\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x6E\x6E\x65\x6C\x73","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73","\x55\x73\x65\x72\x48\x61\x73\x54\x65\x61\x6D","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\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\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x63\x61\x73\x63\x61\x64\x65","\x64\x65\x66\x69\x6E\x65"];_0xa958[0];var crypto=require(_0xa958[1]);var md5=require(_0xa958[2]);var _=require(_0xa958[3]);module[_0xa958[4]]=function(_0x7155x4,_0x7155x5){var _0x7155x6=_0x7155x4[_0xa958[81]](_0xa958[5],{name:{type:_0x7155x5[_0xa958[6]],unique:true,validate:{notEmpty:true},set:function(_0x7155x7){this[_0xa958[8]](_0xa958[7],_0x7155x7);this[_0xa958[8]](_0xa958[9],_0x7155x7);}},email:{type:_0x7155x5[_0xa958[6]],unique:true,set:function(_0x7155x8){if(_0x7155x8){this[_0xa958[8]](_0xa958[10],_0x7155x8[_0xa958[11]]())}},defaultValue:null},role:{type:_0x7155x5.ENUM(_0xa958[12],_0xa958[13],_0xa958[14],_0xa958[15])},password:{type:_0x7155x5[_0xa958[6]],allowNull:false,validate:{notEmpty:true},set:function(_0x7155x9){this[_0xa958[16]]=this[_0xa958[17]]();this[_0xa958[8]](_0xa958[18],this[_0xa958[19]](_0x7155x9));this[_0xa958[8]](_0xa958[20],this[_0xa958[22]](this[_0xa958[7]]+_0xa958[21]+_0x7155x9));}},provider:{type:_0x7155x5[_0xa958[6]],defaultValue:_0xa958[23]},internal:{type:_0x7155x5.INTEGER(11),unique:true,set:function(_0x7155xa){this[_0xa958[8]](_0xa958[24],_0x7155xa);this[_0xa958[8]](_0xa958[25],_0x7155xa);}},salt:{type:_0x7155x5[_0xa958[6]]},phone:{type:_0x7155x5[_0xa958[6]]},mobile:{type:_0x7155x5[_0xa958[6]]},address:{type:_0x7155x5[_0xa958[6]]},zipcode:{type:_0x7155x5[_0xa958[6]]},userpic:{type:_0x7155x5[_0xa958[6]]},city:{type:_0x7155x5[_0xa958[6]]},country:{type:_0x7155x5[_0xa958[6]]},facebookUserId:{type:_0x7155x5[_0xa958[26]]},twitterUserId:{type:_0x7155x5[_0xa958[26]]},twitterKey:{type:_0x7155x5[_0xa958[6]]},twitterSecret:{type:_0x7155x5[_0xa958[6]]},github:{type:_0x7155x5[_0xa958[6]]},openId:{type:_0x7155x5[_0xa958[6]]},online:{type:_0x7155x5[_0xa958[27]],defaultValue:false},lastLoginAt:{type:_0x7155x5[_0xa958[28]]},ipaddr:{type:_0x7155x5[_0xa958[6]],allowNull:true},port:{type:_0x7155x5.INTEGER(5),allowNull:true},regseconds:{type:_0x7155x5.INTEGER(11),allowNull:true},defaultuser:{type:_0x7155x5[_0xa958[6]],allowNull:true},fullcontact:{type:_0x7155x5[_0xa958[6]],allowNull:true},regserver:{type:_0x7155x5[_0xa958[6]],allowNull:true},useragent:{type:_0x7155x5[_0xa958[6]],allowNull:true},lastms:{type:_0x7155x5.INTEGER(11),allowNull:true},host:{type:_0x7155x5[_0xa958[6]],allowNull:true,defaultValue:_0xa958[29]},type:{type:_0x7155x5.ENUM(_0xa958[30],_0xa958[13],_0xa958[31]),allowNull:true,defaultValue:_0xa958[30]},context:{type:_0x7155x5[_0xa958[6]],allowNull:true,defaultValue:_0xa958[32]},permit:{type:_0x7155x5[_0xa958[6]],allowNull:true},deny:{type:_0x7155x5[_0xa958[6]],allowNull:true},secret:{type:_0x7155x5[_0xa958[6]],allowNull:true},md5secret:{type:_0x7155x5[_0xa958[6]],allowNull:true},remotesecret:{type:_0x7155x5[_0xa958[6]],allowNull:true},transport:{type:_0x7155x5[_0xa958[6]],allowNull:true,defaultValue:_0xa958[33]},dtmfmode:{type:_0x7155x5.ENUM(_0xa958[34],_0xa958[35],_0xa958[36],_0xa958[37],_0xa958[38]),allowNull:true,defaultValue:_0xa958[34]},directmedia:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40],_0xa958[41],_0xa958[42]),allowNull:true,defaultValue:_0xa958[40]},nat:{type:_0x7155x5[_0xa958[6]],allowNull:true,defaultValue:_0xa958[43]},callgroup:{type:_0x7155x5[_0xa958[6]],allowNull:true},pickupgroup:{type:_0x7155x5[_0xa958[6]],allowNull:true},language:{type:_0x7155x5[_0xa958[6]],allowNull:true,defaultValue:_0xa958[44]},disallow:{type:_0x7155x5[_0xa958[6]],allowNull:true,defaultValue:_0xa958[45]},allow:{type:_0x7155x5[_0xa958[6]],allowNull:true,defaultValue:_0xa958[46]},insecure:{type:_0x7155x5[_0xa958[6]],allowNull:true,defaultValue:_0xa958[47]},trustrpid:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true,defaultValue:_0xa958[40]},progressinband:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40],_0xa958[48]),allowNull:true},promiscredir:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true},useclientcode:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true},accountcode:{type:_0x7155x5.INTEGER(11),allowNull:true},setvar:{type:_0x7155x5[_0xa958[6]],allowNull:true},callerid:{type:_0x7155x5[_0xa958[6]],allowNull:true,defaultValue:_0xa958[49]},amaflags:{type:_0x7155x5[_0xa958[6]],allowNull:true},callcounter:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true,defaultValue:_0xa958[39]},busylevel:{type:_0x7155x5.INTEGER(11),allowNull:true},allowoverlap:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true},allowsubscribe:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true},videosupport:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true},maxcallbitrate:{type:_0x7155x5.INTEGER(11),allowNull:true},rfc2833compensate:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true},mailbox:{type:_0x7155x5[_0xa958[6]],allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x74\x69\x6D\x65\x72\x73":{type:_0x7155x5.ENUM(_0xa958[50],_0xa958[51],_0xa958[52]),allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x65\x78\x70\x69\x72\x65\x73":{type:_0x7155x5.INTEGER(11),allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x6D\x69\x6E\x73\x65":{type:_0x7155x5.INTEGER(11),allowNull:true},"\x73\x65\x73\x73\x69\x6F\x6E\x2D\x72\x65\x66\x72\x65\x73\x68\x65\x72":{type:_0x7155x5.ENUM(_0xa958[53],_0xa958[54]),allowNull:true},t38pt_usertpsource:{type:_0x7155x5[_0xa958[6]],allowNull:true},regexten:{type:_0x7155x5[_0xa958[6]],allowNull:true},fromdomain:{type:_0x7155x5[_0xa958[6]],allowNull:true},fromuser:{type:_0x7155x5[_0xa958[6]],allowNull:true},qualify:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true,defaultValue:_0xa958[39]},defaultip:{type:_0x7155x5[_0xa958[6]],allowNull:true},rtptimeout:{type:_0x7155x5.INTEGER(11),allowNull:true},rtpholdtimeout:{type:_0x7155x5.INTEGER(11),allowNull:true},sendrpid:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true,defaultValue:_0xa958[40]},outboundproxy:{type:_0x7155x5[_0xa958[6]],allowNull:true},callbackextension:{type:_0x7155x5[_0xa958[6]],allowNull:true},timert1:{type:_0x7155x5.INTEGER(11),allowNull:true},timerb:{type:_0x7155x5.INTEGER(11),allowNull:true},qualifyfreq:{type:_0x7155x5.INTEGER(11),allowNull:true},constantssrc:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true},contactpermit:{type:_0x7155x5[_0xa958[6]],allowNull:true},contactdeny:{type:_0x7155x5[_0xa958[6]],allowNull:true},usereqphone:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true,defaultValue:_0xa958[40]},textsupport:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true},faxdetect:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true},buggymwi:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true},auth:{type:_0x7155x5[_0xa958[6]],allowNull:true},fullname:{type:_0x7155x5[_0xa958[6]],allowNull:true},trunkname:{type:_0x7155x5[_0xa958[6]],allowNull:true},cid_number:{type:_0x7155x5[_0xa958[6]],allowNull:true},callingpres:{type:_0x7155x5.ENUM(_0xa958[55],_0xa958[56],_0xa958[57],_0xa958[58],_0xa958[59],_0xa958[60],_0xa958[61],_0xa958[62]),allowNull:true},mohinterpret:{type:_0x7155x5[_0xa958[6]],allowNull:true},mohsuggest:{type:_0x7155x5[_0xa958[6]],allowNull:true},parkinglot:{type:_0x7155x5[_0xa958[6]],allowNull:true},hasvoicemail:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true},subscribemwi:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true},vmexten:{type:_0x7155x5[_0xa958[6]],allowNull:true},description:{type:_0x7155x5[_0xa958[6]],allowNull:true},autoframing:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true},limitonpeers:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true,defaultValue:_0xa958[39]},rtpkeepalive:{type:_0x7155x5.INTEGER(11),allowNull:true},"\x63\x61\x6C\x6C\x2D\x6C\x69\x6D\x69\x74":{type:_0x7155x5.INTEGER(11),allowNull:true,defaultValue:null},g726nonstandard:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true},ignoresdpversion:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true},allowtransfer:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true},dynamic:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true},encryption:{type:_0x7155x5.ENUM(_0xa958[39],_0xa958[40]),allowNull:true,defaultValue:_0xa958[40]},registry:{type:_0x7155x5[_0xa958[6]],allowNull:true}},{tableName:_0xa958[63],defaultScope:{where:{$or:[{role:_0xa958[12]},{role:_0xa958[13]},{role:_0xa958[14]}]}},instanceMethods:{authenticate:function(_0x7155xb){return this[_0xa958[19]](_0x7155xb)===this[_0xa958[18]]},makeSalt:function(){return crypto[_0xa958[65]](16).toString(_0xa958[64])},encryptPassword:function(_0x7155x9){if(!_0x7155x9||!this[_0xa958[16]]){return _0xa958[66]};var _0x7155xc= new Buffer(this[_0xa958[16]],_0xa958[64]);return crypto[_0xa958[67]](_0x7155x9,_0x7155xc,10000,64).toString(_0xa958[64]);},md5Password:function(_0x7155x9){if(!_0x7155x9){return _0xa958[66]};return md5(_0x7155x9);}},associate:function(_0x7155xd){_0x7155x6[_0xa958[68]](_0x7155xd.ChatMessage);_0x7155x6[_0xa958[68]](_0x7155xd.Contact);_0x7155x6[_0xa958[70]](_0x7155xd.Module,{through:_0xa958[69]});_0x7155x6[_0xa958[70]](_0x7155xd.Channel,{through:_0xa958[71]});_0x7155x6[_0xa958[70]](_0x7155xd.MailRoom,{through:_0xa958[72]});_0x7155x6[_0xa958[70]](_0x7155xd.Team,{through:_0x7155xd[_0xa958[73]]});_0x7155x6[_0xa958[70]](_0x7155xd.ChatRoom,{through:_0x7155xd[_0xa958[74]]});_0x7155x6[_0xa958[70]](_0x7155xd.MailQueue,{through:_0x7155xd[_0xa958[75]]});_0x7155x6[_0xa958[70]](_0x7155xd.ChatQueue,{through:_0x7155xd[_0xa958[76]]});_0x7155x6[_0xa958[70]](_0x7155xd.VoiceQueue,{through:_0x7155xd[_0xa958[77]]});_0x7155x6[_0xa958[68]](_0x7155xd.VoiceExtension,{foreignKey:_0xa958[78],as:_0xa958[79],onDelete:_0xa958[80]});}});return _0x7155x6;};
\ No newline at end of file
index 74336f8..34f5500 100644 (file)
@@ -1 +1 @@
-var _0xaadf=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xaadf[0]);module[_0xaadf[1]]=function(_0x9147x2,_0x9147x3){var _0x9147x4=_0x9147x2[_0xaadf[4]](_0xaadf[2],{},{tableName:_0xaadf[3]});return _0x9147x4;};
\ No newline at end of file
+var _0x57cb=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x57cb[0]);module[_0x57cb[1]]=function(_0x2e55x2,_0x2e55x3){var _0x2e55x4=_0x2e55x2[_0x57cb[4]](_0x57cb[2],{},{tableName:_0x57cb[3]});return _0x2e55x4;};
\ No newline at end of file
index 4b6031d..e33c830 100644 (file)
@@ -1 +1 @@
-var _0x28a7=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x28a7[0]);module[_0x28a7[1]]=function(_0x9612x2,_0x9612x3){var _0x9612x4=_0x9612x2[_0x28a7[6]](_0x28a7[2],{LastMessageRead:{type:_0x9612x3[_0x28a7[3]],defaultValue:0},Hide:{type:_0x9612x3[_0x28a7[4]],defaultValue:false}},{tableName:_0x28a7[5]});return _0x9612x4;};
\ No newline at end of file
+var _0xf5b2=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x49\x4E\x54\x45\x47\x45\x52","\x42\x4F\x4F\x4C\x45\x41\x4E","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xf5b2[0]);module[_0xf5b2[1]]=function(_0x4ed1x2,_0x4ed1x3){var _0x4ed1x4=_0x4ed1x2[_0xf5b2[6]](_0xf5b2[2],{LastMessageRead:{type:_0x4ed1x3[_0xf5b2[3]],defaultValue:0},Hide:{type:_0x4ed1x3[_0xf5b2[4]],defaultValue:false}},{tableName:_0xf5b2[5]});return _0x4ed1x4;};
\ No newline at end of file
index 7016a0d..dd25014 100644 (file)
@@ -1 +1 @@
-var _0xe7f1=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\x51\x75\x65\x75\x65","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xe7f1[0]);module[_0xe7f1[1]]=function(_0xae76x2,_0xae76x3){var _0xae76x4=_0xae76x2[_0xe7f1[4]](_0xe7f1[2],{},{tableName:_0xe7f1[3]});return _0xae76x4;};
\ No newline at end of file
+var _0xbd03=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\x51\x75\x65\x75\x65","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xbd03[0]);module[_0xbd03[1]]=function(_0x5ed6x2,_0x5ed6x3){var _0x5ed6x4=_0x5ed6x2[_0xbd03[4]](_0xbd03[2],{},{tableName:_0xbd03[3]});return _0x5ed6x4;};
\ No newline at end of file
index 3d67158..efbe68d 100644 (file)
@@ -1 +1 @@
-var _0x8c24=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x8c24[0]);module[_0x8c24[1]]=function(_0xd6ebx2,_0xd6ebx3){var _0xd6ebx4=_0xd6ebx2[_0x8c24[4]](_0x8c24[2],{},{tableName:_0x8c24[3]});return _0xd6ebx4;};
\ No newline at end of file
+var _0x178f=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x178f[0]);module[_0x178f[1]]=function(_0x295dx2,_0x295dx3){var _0x295dx4=_0x295dx2[_0x178f[4]](_0x178f[2],{},{tableName:_0x178f[3]});return _0x295dx4;};
\ No newline at end of file
index 5b4f3d2..f92681a 100644 (file)
@@ -1 +1 @@
-var _0x6275=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x55\x73\x65\x72\x48\x61\x73\x54\x65\x61\x6D","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0x6275[0]);module[_0x6275[1]]=function(_0xeb69x2,_0xeb69x3){var _0xeb69x4=_0xeb69x2[_0x6275[4]](_0x6275[2],{},{tableName:_0x6275[3]});return _0xeb69x4;};
\ No newline at end of file
+var _0xe45b=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x55\x73\x65\x72\x48\x61\x73\x54\x65\x61\x6D","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\x73","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xe45b[0]);module[_0xe45b[1]]=function(_0x850dx2,_0x850dx3){var _0x850dx4=_0x850dx2[_0xe45b[4]](_0xe45b[2],{},{tableName:_0xe45b[3]});return _0x850dx4;};
\ No newline at end of file
index b271f93..f2efd02 100644 (file)
@@ -1 +1 @@
-var _0xb8f6=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x42\x4F\x4F\x4C\x45\x41\x4E","\x44\x41\x54\x45","\x49\x4E\x54\x45\x47\x45\x52","\x53\x54\x52\x49\x4E\x47","\x30","\x6C\x61\x73\x74\x63\x61\x6C\x6C","\x73\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x46\x52\x4F\x4D\x5F\x55\x4E\x49\x58\x54\x49\x4D\x45","\x25\x59\x2D\x25\x6D\x2D\x25\x64\x20\x25\x48\x3A\x25\x69\x3A\x25\x73","\x66\x6E","\x73\x74\x61\x74\x75\x73","\x55\x4E\x4B\x4E\x4F\x57\x4E","\x4E\x4F\x54\x5F\x49\x4E\x55\x53\x45","\x31","\x49\x4E\x55\x53\x45","\x32","\x42\x55\x53\x59","\x33","\x49\x4E\x56\x41\x4C\x49\x44","\x34","\x55\x4E\x41\x56\x41\x49\x4C\x41\x42\x4C\x45","\x35","\x52\x49\x4E\x47\x49\x4E\x47","\x36","\x52\x49\x4E\x47\x49\x4E\x55\x53\x45","\x37","\x4F\x4E\x48\x4F\x4C\x44","\x38","\x73\x74\x61\x74\x75\x73\x64\x65\x73\x63","\x73\x74\x61\x74\x75\x73\x41\x74","\x4E\x4F\x57","\x70\x61\x75\x73\x65\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x73","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xb8f6[0]);module[_0xb8f6[1]]=function(_0x8e77x2,_0x8e77x3){var _0x8e77x4=_0x8e77x2[_0xb8f6[37]](_0xb8f6[2],{logged:{type:_0x8e77x3[_0xb8f6[3]],defaultValue:false},loggedAt:{type:_0x8e77x3[_0xb8f6[4]]},ringinuse:{type:_0x8e77x3[_0xb8f6[3]]},penalty:{type:_0x8e77x3[_0xb8f6[5]]},stateinterface:{type:_0x8e77x3[_0xb8f6[6]]},queue:{type:_0x8e77x3[_0xb8f6[6]]},membername:{type:_0x8e77x3[_0xb8f6[6]]},interface:{type:_0x8e77x3[_0xb8f6[6]]},membership:{type:_0x8e77x3[_0xb8f6[6]]},callstaken:{type:_0x8e77x3[_0xb8f6[5]]},lastcall:{type:_0x8e77x3[_0xb8f6[4]],set:function(_0x8e77x5){if(_0x8e77x5===_0xb8f6[7]){this[_0xb8f6[9]](_0xb8f6[8],null)}else {this[_0xb8f6[9]](_0xb8f6[8],_0x8e77x2[_0xb8f6[12]](_0xb8f6[10],_0x8e77x5,_0xb8f6[11]))}}},status:{type:_0x8e77x3[_0xb8f6[5]],set:function(_0x8e77x6){this[_0xb8f6[9]](_0xb8f6[13],_0x8e77x6);var _0x8e77x7=_0xb8f6[14];switch(_0x8e77x6){case _0xb8f6[7]:_0x8e77x7=_0xb8f6[14];break ;;case _0xb8f6[16]:_0x8e77x7=_0xb8f6[15];break ;;case _0xb8f6[18]:_0x8e77x7=_0xb8f6[17];break ;;case _0xb8f6[20]:_0x8e77x7=_0xb8f6[19];break ;;case _0xb8f6[22]:_0x8e77x7=_0xb8f6[21];break ;;case _0xb8f6[24]:_0x8e77x7=_0xb8f6[23];break ;;case _0xb8f6[26]:_0x8e77x7=_0xb8f6[25];break ;;case _0xb8f6[28]:_0x8e77x7=_0xb8f6[27];break ;;case _0xb8f6[30]:_0x8e77x7=_0xb8f6[29];break ;;};this[_0xb8f6[9]](_0xb8f6[31],_0x8e77x7);this[_0xb8f6[9]](_0xb8f6[32],_0x8e77x2[_0xb8f6[12]](_0xb8f6[33]));}},statusdesc:{type:_0x8e77x3[_0xb8f6[6]]},statusAt:{type:_0x8e77x3[_0xb8f6[4]]},paused:{type:_0x8e77x3[_0xb8f6[3]],defaultValue:false,set:function(_0x8e77x8){this[_0xb8f6[9]](_0xb8f6[34],parseInt(_0x8e77x8,10)?true:false)}},pausedAt:{type:_0x8e77x3[_0xb8f6[4]]},reason:{type:_0x8e77x3[_0xb8f6[6]]}},{tableName:_0xb8f6[35],indexes:[{name:_0xb8f6[36],fields:[_0xb8f6[36]]}]});return _0x8e77x4;};
\ No newline at end of file
+var _0xe173=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x42\x4F\x4F\x4C\x45\x41\x4E","\x44\x41\x54\x45","\x49\x4E\x54\x45\x47\x45\x52","\x53\x54\x52\x49\x4E\x47","\x30","\x6C\x61\x73\x74\x63\x61\x6C\x6C","\x73\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x46\x52\x4F\x4D\x5F\x55\x4E\x49\x58\x54\x49\x4D\x45","\x25\x59\x2D\x25\x6D\x2D\x25\x64\x20\x25\x48\x3A\x25\x69\x3A\x25\x73","\x66\x6E","\x73\x74\x61\x74\x75\x73","\x55\x4E\x4B\x4E\x4F\x57\x4E","\x4E\x4F\x54\x5F\x49\x4E\x55\x53\x45","\x31","\x49\x4E\x55\x53\x45","\x32","\x42\x55\x53\x59","\x33","\x49\x4E\x56\x41\x4C\x49\x44","\x34","\x55\x4E\x41\x56\x41\x49\x4C\x41\x42\x4C\x45","\x35","\x52\x49\x4E\x47\x49\x4E\x47","\x36","\x52\x49\x4E\x47\x49\x4E\x55\x53\x45","\x37","\x4F\x4E\x48\x4F\x4C\x44","\x38","\x73\x74\x61\x74\x75\x73\x64\x65\x73\x63","\x73\x74\x61\x74\x75\x73\x41\x74","\x4E\x4F\x57","\x70\x61\x75\x73\x65\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x73","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xe173[0]);module[_0xe173[1]]=function(_0x8649x2,_0x8649x3){var _0x8649x4=_0x8649x2[_0xe173[37]](_0xe173[2],{logged:{type:_0x8649x3[_0xe173[3]],defaultValue:false},loggedAt:{type:_0x8649x3[_0xe173[4]]},ringinuse:{type:_0x8649x3[_0xe173[3]]},penalty:{type:_0x8649x3[_0xe173[5]]},stateinterface:{type:_0x8649x3[_0xe173[6]]},queue:{type:_0x8649x3[_0xe173[6]]},membername:{type:_0x8649x3[_0xe173[6]]},interface:{type:_0x8649x3[_0xe173[6]]},membership:{type:_0x8649x3[_0xe173[6]]},callstaken:{type:_0x8649x3[_0xe173[5]]},lastcall:{type:_0x8649x3[_0xe173[4]],set:function(_0x8649x5){if(_0x8649x5===_0xe173[7]){this[_0xe173[9]](_0xe173[8],null)}else {this[_0xe173[9]](_0xe173[8],_0x8649x2[_0xe173[12]](_0xe173[10],_0x8649x5,_0xe173[11]))}}},status:{type:_0x8649x3[_0xe173[5]],set:function(_0x8649x6){this[_0xe173[9]](_0xe173[13],_0x8649x6);var _0x8649x7=_0xe173[14];switch(_0x8649x6){case _0xe173[7]:_0x8649x7=_0xe173[14];break ;;case _0xe173[16]:_0x8649x7=_0xe173[15];break ;;case _0xe173[18]:_0x8649x7=_0xe173[17];break ;;case _0xe173[20]:_0x8649x7=_0xe173[19];break ;;case _0xe173[22]:_0x8649x7=_0xe173[21];break ;;case _0xe173[24]:_0x8649x7=_0xe173[23];break ;;case _0xe173[26]:_0x8649x7=_0xe173[25];break ;;case _0xe173[28]:_0x8649x7=_0xe173[27];break ;;case _0xe173[30]:_0x8649x7=_0xe173[29];break ;;};this[_0xe173[9]](_0xe173[31],_0x8649x7);this[_0xe173[9]](_0xe173[32],_0x8649x2[_0xe173[12]](_0xe173[33]));}},statusdesc:{type:_0x8649x3[_0xe173[6]]},statusAt:{type:_0x8649x3[_0xe173[4]]},paused:{type:_0x8649x3[_0xe173[3]],defaultValue:false,set:function(_0x8649x8){this[_0xe173[9]](_0xe173[34],parseInt(_0x8649x8,10)?true:false)}},pausedAt:{type:_0x8649x3[_0xe173[4]]},reason:{type:_0x8649x3[_0xe173[6]]}},{tableName:_0xe173[35],indexes:[{name:_0xe173[36],fields:[_0xe173[36]]}]});return _0x8649x4;};
\ No newline at end of file
index 533e0fd..1809715 100644 (file)
@@ -1 +1 @@
-var _0x5cf9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x56\x61\x72\x69\x61\x62\x6C\x65","\x53\x54\x52\x49\x4E\x47","\x76\x61\x72\x69\x61\x62\x6C\x65\x73","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0x5cf9[0];module[_0x5cf9[1]]=function(_0xc677x1,_0xc677x2){var _0xc677x3=_0xc677x1[_0x5cf9[6]](_0x5cf9[2],{name:{type:_0xc677x2[_0x5cf9[3]],unique:true,validate:{notEmpty:true}},description:_0xc677x2[_0x5cf9[3]]},{tableName:_0x5cf9[4],associate:function(_0xc677x4){_0xc677x3[_0x5cf9[5]](_0xc677x4.ZendeskField);_0xc677x3[_0x5cf9[5]](_0xc677x4.DeskField);_0xc677x3[_0x5cf9[5]](_0xc677x4.SalesforceField);_0xc677x3[_0x5cf9[5]](_0xc677x4.FreshdeskField);_0xc677x3[_0x5cf9[5]](_0xc677x4.SugarcrmField);}});return _0xc677x3;};
\ No newline at end of file
+var _0x129d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x56\x61\x72\x69\x61\x62\x6C\x65","\x53\x54\x52\x49\x4E\x47","\x76\x61\x72\x69\x61\x62\x6C\x65\x73","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0x129d[0];module[_0x129d[1]]=function(_0xc9a4x1,_0xc9a4x2){var _0xc9a4x3=_0xc9a4x1[_0x129d[6]](_0x129d[2],{name:{type:_0xc9a4x2[_0x129d[3]],unique:true,validate:{notEmpty:true}},description:_0xc9a4x2[_0x129d[3]]},{tableName:_0x129d[4],associate:function(_0xc9a4x4){_0xc9a4x3[_0x129d[5]](_0xc9a4x4.ZendeskField);_0xc9a4x3[_0x129d[5]](_0xc9a4x4.DeskField);_0xc9a4x3[_0x129d[5]](_0xc9a4x4.SalesforceField);_0xc9a4x3[_0x129d[5]](_0xc9a4x4.FreshdeskField);_0xc9a4x3[_0x129d[5]](_0xc9a4x4.SugarcrmField);}});return _0xc9a4x3;};
\ No newline at end of file
index 65cc358..43fac03 100644 (file)
@@ -1 +1 @@
-var _0x175e=["\x65\x78\x70\x6F\x72\x74\x73","\x56\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x76\x6F\x69\x63\x65\x5F\x63\x6F\x6E\x74\x65\x78\x74\x73","\x64\x65\x66\x69\x6E\x65"];module[_0x175e[0]]=function(_0x5619x1,_0x5619x2){var _0x5619x3=_0x5619x1[_0x175e[5]](_0x175e[1],{name:{type:_0x5619x2[_0x175e[2]],unique:true},description:{type:_0x5619x2[_0x175e[2]],allowNull:true},defaultEntry:{type:_0x5619x2[_0x175e[3]],defaultValue:0}},{tableName:_0x175e[4]});return _0x5619x3;};
\ No newline at end of file
+var _0xc017=["\x65\x78\x70\x6F\x72\x74\x73","\x56\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x76\x6F\x69\x63\x65\x5F\x63\x6F\x6E\x74\x65\x78\x74\x73","\x64\x65\x66\x69\x6E\x65"];module[_0xc017[0]]=function(_0x61d8x1,_0x61d8x2){var _0x61d8x3=_0x61d8x1[_0xc017[5]](_0xc017[1],{name:{type:_0x61d8x2[_0xc017[2]],unique:true},description:{type:_0x61d8x2[_0xc017[2]],allowNull:true},defaultEntry:{type:_0x61d8x2[_0xc017[3]],defaultValue:0}},{tableName:_0xc017[4]});return _0x61d8x3;};
\ No newline at end of file
index 3d09ef9..3d7fcb8 100644 (file)
@@ -1 +1 @@
-var _0x6bb1=["\x75\x74\x69\x6C","\x65\x78\x70\x6F\x72\x74\x73","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x63\x6F\x6D\x70\x6F\x73\x69\x74\x65\x49\x6E\x64\x65\x78","\x4E\x6F\x4F\x70","\x69\x6E\x62\x6F\x75\x6E\x64","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x69\x6E\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x42\x4F\x4F\x4C\x45\x41\x4E","","\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x63\x61\x73\x63\x61\x64\x65","\x68\x61\x73\x4D\x61\x6E\x79","\x74\x72\x75\x6E\x6B","\x61\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x61\x70\x70\x64\x61\x74\x61","\x53\x49\x50\x2F\x24\x7B\x45\x58\x54\x45\x4E\x3A\x25\x64\x7D\x40\x25\x73","\x63\x75\x74\x64\x69\x67\x69\x74\x73","\x66\x6F\x72\x6D\x61\x74","\x73\x61\x76\x65","\x66\x6F\x72\x45\x61\x63\x68","\x74\x68\x65\x6E","\x54\x72\x75\x6E\x6B\x49\x64","\x77\x68\x65\x72\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x66\x74\x65\x72\x42\x75\x6C\x6B\x55\x70\x64\x61\x74\x65","\x62\x65\x66\x6F\x72\x65\x42\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x64\x65\x66\x69\x6E\x65"];var util=require(_0x6bb1[0]);module[_0x6bb1[1]]=function(_0xa20cx2,_0xa20cx3){var _0xa20cx4=_0xa20cx2[_0x6bb1[33]](_0x6bb1[2],{context:{type:_0xa20cx3[_0x6bb1[3]],allowNull:false,unique:_0x6bb1[4]},exten:{type:_0xa20cx3[_0x6bb1[3]],allowNull:false,unique:_0x6bb1[4]},priority:{type:_0xa20cx3.INTEGER(11),allowNull:false,defaultValue:1,unique:_0x6bb1[4]},app:{type:_0xa20cx3[_0x6bb1[3]],allowNull:false,defaultValue:_0x6bb1[5]},appdata:{type:_0xa20cx3[_0x6bb1[3]],allowNull:true},type:{type:_0xa20cx3.ENUM(_0x6bb1[6],_0x6bb1[7],_0x6bb1[8],_0x6bb1[9],_0x6bb1[10]),allowNull:false},description:{type:_0xa20cx3[_0x6bb1[3]]},interval:{type:_0xa20cx3[_0x6bb1[3]]},isApp:{type:_0xa20cx3[_0x6bb1[11]],defaultValue:false},appGroup:{type:_0xa20cx3[_0x6bb1[3]]},interface:{type:_0xa20cx3[_0x6bb1[3]]},app_options:{type:_0xa20cx3[_0x6bb1[3]],defaultValue:_0x6bb1[12],allowNull:true},url:{type:_0xa20cx3[_0x6bb1[3]],defaultValue:_0x6bb1[12],allowNull:true},timeout:{type:_0xa20cx3[_0x6bb1[3]],defaultValue:_0x6bb1[12],allowNull:true},queue:{type:_0xa20cx3[_0x6bb1[3]],allowNull:true},audiofile:{type:_0xa20cx3[_0x6bb1[3]],allowNull:true},project:{type:_0xa20cx3[_0x6bb1[3]],allowNull:true},alt_extension:{type:_0xa20cx3[_0x6bb1[3]],allowNull:true},alt_priority:{type:_0xa20cx3.INTEGER(11),allowNull:true},alt_context:{type:_0xa20cx3[_0x6bb1[3]],allowNull:true},causecode:{type:_0xa20cx3[_0x6bb1[3]],allowNull:true},variable:{type:_0xa20cx3[_0x6bb1[3]],allowNull:true},value:{type:_0xa20cx3[_0x6bb1[3]],allowNull:true},customApp:{type:_0xa20cx3[_0x6bb1[3]],allowNull:true},mailbox:{type:_0xa20cx3[_0x6bb1[3]],allowNull:true},trunk:{type:_0xa20cx3[_0x6bb1[3]],allowNull:true},cutdigits:{type:_0xa20cx3.INTEGER(11),allowNull:true},isInterval:{type:_0xa20cx3[_0x6bb1[11]],defaultValue:false},callerID:{type:_0xa20cx3[_0x6bb1[3]],allowNull:true}},{tableName:_0x6bb1[13],associate:function(_0xa20cx5){_0xa20cx4[_0x6bb1[16]](_0xa20cx5.VoiceExtension,{as:_0x6bb1[14],onDelete:_0x6bb1[15]});_0xa20cx4[_0x6bb1[31]](function(_0xa20cx6){if(_0xa20cx6[_0x6bb1[18]][_0x6bb1[17]]){_0xa20cx4[_0x6bb1[30]]({where:{TrunkId:_0xa20cx6[_0x6bb1[29]][_0x6bb1[28]]}})[_0x6bb1[27]](function(_0xa20cx8){_0xa20cx8[_0x6bb1[26]](function(_0xa20cx9){_0xa20cx9[_0x6bb1[21]]=util[_0x6bb1[24]](_0x6bb1[22],_0xa20cx9[_0x6bb1[23]],_0xa20cx9[_0x6bb1[17]]);_0xa20cx9[_0x6bb1[25]]();})})[_0x6bb1[20]](function(_0xa20cx7){console[_0x6bb1[19]](_0xa20cx7)})}});_0xa20cx4[_0x6bb1[32]](function(_0xa20cx8){_0xa20cx8[_0x6bb1[26]](function(_0xa20cx9){if(_0xa20cx9[_0x6bb1[17]]){_0xa20cx9[_0x6bb1[21]]=util[_0x6bb1[24]](_0x6bb1[22],_0xa20cx9[_0x6bb1[23]],_0xa20cx9[_0x6bb1[17]])}})});}});return _0xa20cx4;};
\ No newline at end of file
+var _0x3f7f=["\x75\x74\x69\x6C","\x65\x78\x70\x6F\x72\x74\x73","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x63\x6F\x6D\x70\x6F\x73\x69\x74\x65\x49\x6E\x64\x65\x78","\x4E\x6F\x4F\x70","\x69\x6E\x62\x6F\x75\x6E\x64","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x69\x6E\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x42\x4F\x4F\x4C\x45\x41\x4E","","\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x63\x61\x73\x63\x61\x64\x65","\x68\x61\x73\x4D\x61\x6E\x79","\x74\x72\x75\x6E\x6B","\x61\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x61\x70\x70\x64\x61\x74\x61","\x53\x49\x50\x2F\x24\x7B\x45\x58\x54\x45\x4E\x3A\x25\x64\x7D\x40\x25\x73","\x63\x75\x74\x64\x69\x67\x69\x74\x73","\x66\x6F\x72\x6D\x61\x74","\x73\x61\x76\x65","\x66\x6F\x72\x45\x61\x63\x68","\x74\x68\x65\x6E","\x54\x72\x75\x6E\x6B\x49\x64","\x77\x68\x65\x72\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x66\x74\x65\x72\x42\x75\x6C\x6B\x55\x70\x64\x61\x74\x65","\x62\x65\x66\x6F\x72\x65\x42\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x64\x65\x66\x69\x6E\x65"];var util=require(_0x3f7f[0]);module[_0x3f7f[1]]=function(_0x77edx2,_0x77edx3){var _0x77edx4=_0x77edx2[_0x3f7f[33]](_0x3f7f[2],{context:{type:_0x77edx3[_0x3f7f[3]],allowNull:false,unique:_0x3f7f[4]},exten:{type:_0x77edx3[_0x3f7f[3]],allowNull:false,unique:_0x3f7f[4]},priority:{type:_0x77edx3.INTEGER(11),allowNull:false,defaultValue:1,unique:_0x3f7f[4]},app:{type:_0x77edx3[_0x3f7f[3]],allowNull:false,defaultValue:_0x3f7f[5]},appdata:{type:_0x77edx3[_0x3f7f[3]],allowNull:true},type:{type:_0x77edx3.ENUM(_0x3f7f[6],_0x3f7f[7],_0x3f7f[8],_0x3f7f[9],_0x3f7f[10]),allowNull:false},description:{type:_0x77edx3[_0x3f7f[3]]},interval:{type:_0x77edx3[_0x3f7f[3]]},isApp:{type:_0x77edx3[_0x3f7f[11]],defaultValue:false},appGroup:{type:_0x77edx3[_0x3f7f[3]]},interface:{type:_0x77edx3[_0x3f7f[3]]},app_options:{type:_0x77edx3[_0x3f7f[3]],defaultValue:_0x3f7f[12],allowNull:true},url:{type:_0x77edx3[_0x3f7f[3]],defaultValue:_0x3f7f[12],allowNull:true},timeout:{type:_0x77edx3[_0x3f7f[3]],defaultValue:_0x3f7f[12],allowNull:true},queue:{type:_0x77edx3[_0x3f7f[3]],allowNull:true},audiofile:{type:_0x77edx3[_0x3f7f[3]],allowNull:true},project:{type:_0x77edx3[_0x3f7f[3]],allowNull:true},alt_extension:{type:_0x77edx3[_0x3f7f[3]],allowNull:true},alt_priority:{type:_0x77edx3.INTEGER(11),allowNull:true},alt_context:{type:_0x77edx3[_0x3f7f[3]],allowNull:true},causecode:{type:_0x77edx3[_0x3f7f[3]],allowNull:true},variable:{type:_0x77edx3[_0x3f7f[3]],allowNull:true},value:{type:_0x77edx3[_0x3f7f[3]],allowNull:true},customApp:{type:_0x77edx3[_0x3f7f[3]],allowNull:true},mailbox:{type:_0x77edx3[_0x3f7f[3]],allowNull:true},trunk:{type:_0x77edx3[_0x3f7f[3]],allowNull:true},cutdigits:{type:_0x77edx3.INTEGER(11),allowNull:true},isInterval:{type:_0x77edx3[_0x3f7f[11]],defaultValue:false},callerID:{type:_0x77edx3[_0x3f7f[3]],allowNull:true}},{tableName:_0x3f7f[13],associate:function(_0x77edx5){_0x77edx4[_0x3f7f[16]](_0x77edx5.VoiceExtension,{as:_0x3f7f[14],onDelete:_0x3f7f[15]});_0x77edx4[_0x3f7f[31]](function(_0x77edx6){if(_0x77edx6[_0x3f7f[18]][_0x3f7f[17]]){_0x77edx4[_0x3f7f[30]]({where:{TrunkId:_0x77edx6[_0x3f7f[29]][_0x3f7f[28]]}})[_0x3f7f[27]](function(_0x77edx8){_0x77edx8[_0x3f7f[26]](function(_0x77edx9){_0x77edx9[_0x3f7f[21]]=util[_0x3f7f[24]](_0x3f7f[22],_0x77edx9[_0x3f7f[23]],_0x77edx9[_0x3f7f[17]]);_0x77edx9[_0x3f7f[25]]();})})[_0x3f7f[20]](function(_0x77edx7){console[_0x3f7f[19]](_0x77edx7)})}});_0x77edx4[_0x3f7f[32]](function(_0x77edx8){_0x77edx8[_0x3f7f[26]](function(_0x77edx9){if(_0x77edx9[_0x3f7f[17]]){_0x77edx9[_0x3f7f[21]]=util[_0x3f7f[24]](_0x3f7f[22],_0x77edx9[_0x3f7f[23]],_0x77edx9[_0x3f7f[17]])}})});}});return _0x77edx4;};
\ No newline at end of file
index b4baea0..3d4f25d 100644 (file)
@@ -1 +1 @@
-var _0xdf71=["\x65\x78\x70\x6F\x72\x74\x73","\x56\x6F\x69\x63\x65\x4D\x75\x73\x69\x63\x4F\x6E\x48\x6F\x6C\x64","\x53\x54\x52\x49\x4E\x47","\x63\x75\x73\x74\x6F\x6D","\x66\x69\x6C\x65\x73","\x6D\x70\x33\x6E\x62","\x71\x75\x69\x65\x74\x6D\x70\x33\x6E\x62","\x71\x75\x69\x65\x74\x6D\x70\x33","\x6D\x70\x33","\x77\x61\x76","\x54\x49\x4D\x45\x53\x54\x41\x4D\x50","\x42\x4F\x4F\x4C\x45\x41\x4E","\x76\x6F\x69\x63\x65\x5F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64","\x64\x65\x66\x69\x6E\x65","\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\x6D\x6F\x68\x20\x63\x6C\x61\x73\x73\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\x6D\x6F\x68\x20\x63\x6C\x61\x73\x73","\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\x6D\x6F\x68\x20\x63\x6C\x61\x73\x73","\x62\x65\x66\x6F\x72\x65\x44\x65\x6C\x65\x74\x65"];module[_0xdf71[0]]=function(_0xab05x1,_0xab05x2){var _0xab05x3=_0xab05x1[_0xdf71[13]](_0xdf71[1],{name:{type:_0xab05x2[_0xdf71[2]],allowNull:false,unique:true},mode:{type:_0xab05x2.ENUM(_0xdf71[3],_0xdf71[4],_0xdf71[5],_0xdf71[6],_0xdf71[7],_0xdf71[8]),allowNull:true,defaultValue:_0xdf71[4]},directory:{type:_0xab05x2[_0xdf71[2]],allowNull:true},application:{type:_0xab05x2[_0xdf71[2]],allowNull:true},digit:{type:_0xab05x2[_0xdf71[2]],allowNull:true},sort:{type:_0xab05x2[_0xdf71[2]],allowNull:true},format:{type:_0xab05x2[_0xdf71[2]],allowNull:true,defaultValue:_0xdf71[9]},stamp:{type:_0xdf71[10]},defaultEntry:{type:_0xab05x2[_0xdf71[11]],defaultValue:0}},{tableName:_0xdf71[12]});_0xab05x3[_0xdf71[19]](function(_0xab05x4){if(_0xab05x4[_0xdf71[15]](_0xdf71[14])){throw  new Error(_0xdf71[16])};if(_0xab05x4[_0xdf71[17]]){throw  new Error(_0xdf71[18])};});_0xab05x3[_0xdf71[21]](function(_0xab05x4){if(_0xab05x4[_0xdf71[17]]){throw  new Error(_0xdf71[20])}});return _0xab05x3;};
\ No newline at end of file
+var _0x590d=["\x65\x78\x70\x6F\x72\x74\x73","\x56\x6F\x69\x63\x65\x4D\x75\x73\x69\x63\x4F\x6E\x48\x6F\x6C\x64","\x53\x54\x52\x49\x4E\x47","\x63\x75\x73\x74\x6F\x6D","\x66\x69\x6C\x65\x73","\x6D\x70\x33\x6E\x62","\x71\x75\x69\x65\x74\x6D\x70\x33\x6E\x62","\x71\x75\x69\x65\x74\x6D\x70\x33","\x6D\x70\x33","\x77\x61\x76","\x54\x49\x4D\x45\x53\x54\x41\x4D\x50","\x42\x4F\x4F\x4C\x45\x41\x4E","\x76\x6F\x69\x63\x65\x5F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64","\x64\x65\x66\x69\x6E\x65","\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\x6D\x6F\x68\x20\x63\x6C\x61\x73\x73\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\x6D\x6F\x68\x20\x63\x6C\x61\x73\x73","\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\x6D\x6F\x68\x20\x63\x6C\x61\x73\x73","\x62\x65\x66\x6F\x72\x65\x44\x65\x6C\x65\x74\x65"];module[_0x590d[0]]=function(_0x7c47x1,_0x7c47x2){var _0x7c47x3=_0x7c47x1[_0x590d[13]](_0x590d[1],{name:{type:_0x7c47x2[_0x590d[2]],allowNull:false,unique:true},mode:{type:_0x7c47x2.ENUM(_0x590d[3],_0x590d[4],_0x590d[5],_0x590d[6],_0x590d[7],_0x590d[8]),allowNull:true,defaultValue:_0x590d[4]},directory:{type:_0x7c47x2[_0x590d[2]],allowNull:true},application:{type:_0x7c47x2[_0x590d[2]],allowNull:true},digit:{type:_0x7c47x2[_0x590d[2]],allowNull:true},sort:{type:_0x7c47x2[_0x590d[2]],allowNull:true},format:{type:_0x7c47x2[_0x590d[2]],allowNull:true,defaultValue:_0x590d[9]},stamp:{type:_0x590d[10]},defaultEntry:{type:_0x7c47x2[_0x590d[11]],defaultValue:0}},{tableName:_0x590d[12]});_0x7c47x3[_0x590d[19]](function(_0x7c47x4){if(_0x7c47x4[_0x590d[15]](_0x590d[14])){throw  new Error(_0x590d[16])};if(_0x7c47x4[_0x590d[17]]){throw  new Error(_0x590d[18])};});_0x7c47x3[_0x590d[21]](function(_0x7c47x4){if(_0x7c47x4[_0x590d[17]]){throw  new Error(_0x590d[20])}});return _0x7c47x3;};
\ No newline at end of file
index 42e7ca8..d97b503 100644 (file)
@@ -1 +1 @@
-var _0x9546=["\x65\x78\x70\x6F\x72\x74\x73","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x53\x54\x52\x49\x4E\x47","\x64\x65\x66\x61\x75\x6C\x74","","\x79\x65\x73","\x6E\x6F","\x76\x61\x72\x73","\x61\x6C\x6C","\x72\x69\x6E\x67\x61\x6C\x6C","\x6C\x65\x61\x73\x74\x72\x65\x63\x65\x6E\x74","\x66\x65\x77\x65\x73\x74\x63\x61\x6C\x6C\x73","\x72\x61\x6E\x64\x6F\x6D","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x6C\x69\x6E\x65\x61\x72","\x77\x72\x61\x6E\x64\x6F\x6D","\x72\x72\x6F\x72\x64\x65\x72\x65\x64","\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x73","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x71\x75\x65\x75\x65","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65","\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\x71\x75\x65\x75\x65\x20\x6E\x61\x6D\x65","\x62\x65\x66\x6F\x72\x65\x55\x70\x64\x61\x74\x65"];module[_0x9546[0]]=function(_0xf96dx1,_0xf96dx2){var _0xf96dx3=_0xf96dx1[_0x9546[21]](_0x9546[1],{name:{type:_0xf96dx2[_0x9546[2]],primaryKey:true,unique:true},musiconhold:{type:_0xf96dx2[_0x9546[2]],allowNull:true,defaultValue:_0x9546[3]},announce:{type:_0xf96dx2[_0x9546[2]],allowNull:true,defaultValue:_0x9546[4]},context:{type:_0xf96dx2[_0x9546[2]],allowNull:true,defaultValue:null},timeout:{type:_0xf96dx2.INTEGER(11),allowNull:true,defaultValue:0},ringinuse:{type:_0xf96dx2.ENUM(_0x9546[5],_0x9546[6]),allowNull:true,defaultValue:_0x9546[6]},setinterfacevar:{type:_0xf96dx2.ENUM(_0x9546[5],_0x9546[6]),allowNull:true,defaultValue:_0x9546[5]},setqueuevar:{type:_0xf96dx2.ENUM(_0x9546[5],_0x9546[6]),allowNull:true,defaultValue:_0x9546[5]},setqueueentryvar:{type:_0xf96dx2.ENUM(_0x9546[5],_0x9546[6]),allowNull:true,defautValue:_0x9546[5]},eventwhencalled:{type:_0xf96dx2.ENUM(_0x9546[5],_0x9546[6],_0x9546[7]),allowNull:true,defautValue:_0x9546[5]},eventmemberstatus:{type:_0xf96dx2.ENUM(_0x9546[5],_0x9546[6]),allowNull:true,defautValue:_0x9546[5]},monitor_format:{type:_0xf96dx2[_0x9546[2]],allowNull:true,defaultValue:_0x9546[4]},membermacro:{type:_0xf96dx2[_0x9546[2]],allowNull:true},description:{type:_0xf96dx2[_0x9546[2]],allowNull:true},membergosub:{type:_0xf96dx2[_0x9546[2]],allowNull:true},queue_youarenext:{type:_0xf96dx2[_0x9546[2]],allowNull:true,defaultValue:null},queue_thereare:{type:_0xf96dx2[_0x9546[2]],allowNull:true,defaultValue:null},queue_callswaiting:{type:_0xf96dx2[_0x9546[2]],allowNull:true,defaultValue:null},queue_quantity1:{type:_0xf96dx2[_0x9546[2]],allowNull:true},queue_quantity2:{type:_0xf96dx2[_0x9546[2]],allowNull:true},queue_holdtime:{type:_0xf96dx2[_0x9546[2]],allowNull:true,defaultValue:null},queue_minutes:{type:_0xf96dx2[_0x9546[2]],allowNull:true,defaultValue:null},queue_seconds:{type:_0xf96dx2[_0x9546[2]],allowNull:true,defaultValue:null},queue_minute:{type:_0xf96dx2[_0x9546[2]],allowNull:true,defaultValue:null},queue_thankyou:{type:_0xf96dx2[_0x9546[2]],allowNull:true,defaultValue:null},queue_callerannounce:{type:_0xf96dx2[_0x9546[2]],allowNull:true},queue_reporthold:{type:_0xf96dx2[_0x9546[2]],allowNull:true},announce_frequency:{type:_0xf96dx2.INTEGER(11),allowNull:true,defaultValue:0},announce_to_first_user:{type:_0xf96dx2.ENUM(_0x9546[5],_0x9546[6]),allowNull:true},min_announce_frequency:{type:_0xf96dx2.INTEGER(11),allowNull:true,defaultValue:0},announce_round_seconds:{type:_0xf96dx2.INTEGER(11),allowNull:true,defaultValue:0},announce_holdtime:{type:_0xf96dx2[_0x9546[2]],allowNull:true,defaultValue:_0x9546[6]},announce_position:{type:_0xf96dx2[_0x9546[2]],allowNull:true,defaultValue:_0x9546[6]},announce_position_limit:{type:_0xf96dx2.INTEGER(11),allowNull:true},periodic_announce:{type:_0xf96dx2[_0x9546[2]],allowNull:true,defaultValue:_0x9546[4]},periodic_announce_frequency:{type:_0xf96dx2.INTEGER(11),allowNull:true,defaultValue:0},relative_periodic_announce:{type:_0xf96dx2.ENUM(_0x9546[5],_0x9546[6]),allowNull:true,defaultValue:_0x9546[5]},random_periodic_announce:{type:_0xf96dx2.ENUM(_0x9546[5],_0x9546[6]),allowNull:true,defaultValue:_0x9546[6]},retry:{type:_0xf96dx2.INTEGER(11),allowNull:true,defaultValue:0},wrapuptime:{type:_0xf96dx2.INTEGER(11),allowNull:true,defaultValue:0},penaltymemberslimit:{type:_0xf96dx2.INTEGER(11),allowNull:true},autofill:{type:_0xf96dx2.ENUM(_0x9546[5],_0x9546[6]),allowNull:true},monitor_type:{type:_0xf96dx2[_0x9546[2]],allowNull:true},autopause:{type:_0xf96dx2.ENUM(_0x9546[5],_0x9546[6],_0x9546[8]),allowNull:true,defaultValue:_0x9546[6]},autopausedelay:{type:_0xf96dx2.INTEGER(11),allowNull:true},autopausebusy:{type:_0xf96dx2.ENUM(_0x9546[5],_0x9546[6]),allowNull:true},autopauseunavail:{type:_0xf96dx2.ENUM(_0x9546[5],_0x9546[6]),allowNull:true},maxlen:{type:_0xf96dx2.INTEGER(11),allowNull:true,defaultValue:0},servicelevel:{type:_0xf96dx2.INTEGER(11),allowNull:true,defaultValue:0},strategy:{type:_0xf96dx2.ENUM(_0x9546[9],_0x9546[10],_0x9546[11],_0x9546[12],_0x9546[13],_0x9546[14],_0x9546[15],_0x9546[16]),allowNull:true},joinempty:{type:_0xf96dx2[_0x9546[2]],allowNull:true,defaultValue:_0x9546[5]},leavewhenempty:{type:_0xf96dx2[_0x9546[2]],allowNull:true,defaultValue:_0x9546[6]},reportholdtime:{type:_0xf96dx2.ENUM(_0x9546[5],_0x9546[6]),allowNull:true,defaultValue:_0x9546[6]},memberdelay:{type:_0xf96dx2.INTEGER(11),allowNull:true,defaultValue:0},weight:{type:_0xf96dx2.INTEGER(11),allowNull:true,defaultValue:0},timeoutrestart:{type:_0xf96dx2.ENUM(_0x9546[5],_0x9546[6]),allowNull:true,defaultValue:_0x9546[6]},defaultrule:{type:_0xf96dx2[_0x9546[2]],allowNull:true},timeoutpriority:{type:_0xf96dx2[_0x9546[2]],allowNull:true}},{tableName:_0x9546[17],associate:function(_0xf96dx4){_0xf96dx3[_0x9546[20]](_0xf96dx4.User,{through:_0xf96dx4[_0x9546[18]],foreignKey:_0x9546[19]})}});_0xf96dx3[_0x9546[25]](function(_0xf96dx5){if(_0xf96dx5[_0x9546[23]](_0x9546[22])){throw  new Error(_0x9546[24])}});return _0xf96dx3;};
\ No newline at end of file
+var _0xc80a=["\x65\x78\x70\x6F\x72\x74\x73","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x53\x54\x52\x49\x4E\x47","\x64\x65\x66\x61\x75\x6C\x74","","\x79\x65\x73","\x6E\x6F","\x76\x61\x72\x73","\x61\x6C\x6C","\x72\x69\x6E\x67\x61\x6C\x6C","\x6C\x65\x61\x73\x74\x72\x65\x63\x65\x6E\x74","\x66\x65\x77\x65\x73\x74\x63\x61\x6C\x6C\x73","\x72\x61\x6E\x64\x6F\x6D","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x6C\x69\x6E\x65\x61\x72","\x77\x72\x61\x6E\x64\x6F\x6D","\x72\x72\x6F\x72\x64\x65\x72\x65\x64","\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x73","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x71\x75\x65\x75\x65","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65","\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\x71\x75\x65\x75\x65\x20\x6E\x61\x6D\x65","\x62\x65\x66\x6F\x72\x65\x55\x70\x64\x61\x74\x65"];module[_0xc80a[0]]=function(_0x9441x1,_0x9441x2){var _0x9441x3=_0x9441x1[_0xc80a[21]](_0xc80a[1],{name:{type:_0x9441x2[_0xc80a[2]],primaryKey:true,unique:true},musiconhold:{type:_0x9441x2[_0xc80a[2]],allowNull:true,defaultValue:_0xc80a[3]},announce:{type:_0x9441x2[_0xc80a[2]],allowNull:true,defaultValue:_0xc80a[4]},context:{type:_0x9441x2[_0xc80a[2]],allowNull:true,defaultValue:null},timeout:{type:_0x9441x2.INTEGER(11),allowNull:true,defaultValue:0},ringinuse:{type:_0x9441x2.ENUM(_0xc80a[5],_0xc80a[6]),allowNull:true,defaultValue:_0xc80a[6]},setinterfacevar:{type:_0x9441x2.ENUM(_0xc80a[5],_0xc80a[6]),allowNull:true,defaultValue:_0xc80a[5]},setqueuevar:{type:_0x9441x2.ENUM(_0xc80a[5],_0xc80a[6]),allowNull:true,defaultValue:_0xc80a[5]},setqueueentryvar:{type:_0x9441x2.ENUM(_0xc80a[5],_0xc80a[6]),allowNull:true,defautValue:_0xc80a[5]},eventwhencalled:{type:_0x9441x2.ENUM(_0xc80a[5],_0xc80a[6],_0xc80a[7]),allowNull:true,defautValue:_0xc80a[5]},eventmemberstatus:{type:_0x9441x2.ENUM(_0xc80a[5],_0xc80a[6]),allowNull:true,defautValue:_0xc80a[5]},monitor_format:{type:_0x9441x2[_0xc80a[2]],allowNull:true,defaultValue:_0xc80a[4]},membermacro:{type:_0x9441x2[_0xc80a[2]],allowNull:true},description:{type:_0x9441x2[_0xc80a[2]],allowNull:true},membergosub:{type:_0x9441x2[_0xc80a[2]],allowNull:true},queue_youarenext:{type:_0x9441x2[_0xc80a[2]],allowNull:true,defaultValue:null},queue_thereare:{type:_0x9441x2[_0xc80a[2]],allowNull:true,defaultValue:null},queue_callswaiting:{type:_0x9441x2[_0xc80a[2]],allowNull:true,defaultValue:null},queue_quantity1:{type:_0x9441x2[_0xc80a[2]],allowNull:true},queue_quantity2:{type:_0x9441x2[_0xc80a[2]],allowNull:true},queue_holdtime:{type:_0x9441x2[_0xc80a[2]],allowNull:true,defaultValue:null},queue_minutes:{type:_0x9441x2[_0xc80a[2]],allowNull:true,defaultValue:null},queue_seconds:{type:_0x9441x2[_0xc80a[2]],allowNull:true,defaultValue:null},queue_minute:{type:_0x9441x2[_0xc80a[2]],allowNull:true,defaultValue:null},queue_thankyou:{type:_0x9441x2[_0xc80a[2]],allowNull:true,defaultValue:null},queue_callerannounce:{type:_0x9441x2[_0xc80a[2]],allowNull:true},queue_reporthold:{type:_0x9441x2[_0xc80a[2]],allowNull:true},announce_frequency:{type:_0x9441x2.INTEGER(11),allowNull:true,defaultValue:0},announce_to_first_user:{type:_0x9441x2.ENUM(_0xc80a[5],_0xc80a[6]),allowNull:true},min_announce_frequency:{type:_0x9441x2.INTEGER(11),allowNull:true,defaultValue:0},announce_round_seconds:{type:_0x9441x2.INTEGER(11),allowNull:true,defaultValue:0},announce_holdtime:{type:_0x9441x2[_0xc80a[2]],allowNull:true,defaultValue:_0xc80a[6]},announce_position:{type:_0x9441x2[_0xc80a[2]],allowNull:true,defaultValue:_0xc80a[6]},announce_position_limit:{type:_0x9441x2.INTEGER(11),allowNull:true},periodic_announce:{type:_0x9441x2[_0xc80a[2]],allowNull:true,defaultValue:_0xc80a[4]},periodic_announce_frequency:{type:_0x9441x2.INTEGER(11),allowNull:true,defaultValue:0},relative_periodic_announce:{type:_0x9441x2.ENUM(_0xc80a[5],_0xc80a[6]),allowNull:true,defaultValue:_0xc80a[5]},random_periodic_announce:{type:_0x9441x2.ENUM(_0xc80a[5],_0xc80a[6]),allowNull:true,defaultValue:_0xc80a[6]},retry:{type:_0x9441x2.INTEGER(11),allowNull:true,defaultValue:0},wrapuptime:{type:_0x9441x2.INTEGER(11),allowNull:true,defaultValue:0},penaltymemberslimit:{type:_0x9441x2.INTEGER(11),allowNull:true},autofill:{type:_0x9441x2.ENUM(_0xc80a[5],_0xc80a[6]),allowNull:true},monitor_type:{type:_0x9441x2[_0xc80a[2]],allowNull:true},autopause:{type:_0x9441x2.ENUM(_0xc80a[5],_0xc80a[6],_0xc80a[8]),allowNull:true,defaultValue:_0xc80a[6]},autopausedelay:{type:_0x9441x2.INTEGER(11),allowNull:true},autopausebusy:{type:_0x9441x2.ENUM(_0xc80a[5],_0xc80a[6]),allowNull:true},autopauseunavail:{type:_0x9441x2.ENUM(_0xc80a[5],_0xc80a[6]),allowNull:true},maxlen:{type:_0x9441x2.INTEGER(11),allowNull:true,defaultValue:0},servicelevel:{type:_0x9441x2.INTEGER(11),allowNull:true,defaultValue:0},strategy:{type:_0x9441x2.ENUM(_0xc80a[9],_0xc80a[10],_0xc80a[11],_0xc80a[12],_0xc80a[13],_0xc80a[14],_0xc80a[15],_0xc80a[16]),allowNull:true},joinempty:{type:_0x9441x2[_0xc80a[2]],allowNull:true,defaultValue:_0xc80a[5]},leavewhenempty:{type:_0x9441x2[_0xc80a[2]],allowNull:true,defaultValue:_0xc80a[6]},reportholdtime:{type:_0x9441x2.ENUM(_0xc80a[5],_0xc80a[6]),allowNull:true,defaultValue:_0xc80a[6]},memberdelay:{type:_0x9441x2.INTEGER(11),allowNull:true,defaultValue:0},weight:{type:_0x9441x2.INTEGER(11),allowNull:true,defaultValue:0},timeoutrestart:{type:_0x9441x2.ENUM(_0xc80a[5],_0xc80a[6]),allowNull:true,defaultValue:_0xc80a[6]},defaultrule:{type:_0x9441x2[_0xc80a[2]],allowNull:true},timeoutpriority:{type:_0x9441x2[_0xc80a[2]],allowNull:true}},{tableName:_0xc80a[17],associate:function(_0x9441x4){_0x9441x3[_0xc80a[20]](_0x9441x4.User,{through:_0x9441x4[_0xc80a[18]],foreignKey:_0xc80a[19]})}});_0x9441x3[_0xc80a[25]](function(_0x9441x5){if(_0x9441x5[_0xc80a[23]](_0xc80a[22])){throw  new Error(_0xc80a[24])}});return _0x9441x3;};
\ No newline at end of file
index 37d6c8c..b7d49de 100644 (file)
@@ -1 +1 @@
-var _0x484d=["\x65\x78\x70\x6F\x72\x74\x73","\x56\x6F\x69\x63\x65\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x53\x54\x52\x49\x4E\x47","\x66\x72\x6F\x6D\x2D\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x63\x6F\x6E\x74\x65\x73\x74\x5F\x6D\x61\x69\x6C\x62\x6F\x78","","\x63\x65\x6E\x74\x72\x61\x6C","\x79\x65\x73","\x6E\x6F","\x54\x49\x4E\x59\x49\x4E\x54\x28\x34\x29","\x54\x49\x4D\x45\x53\x54\x41\x4D\x50","\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x6D\x61\x69\x6C\x62\x6F\x78\x5F\x63\x6F\x6E\x74\x65\x78\x74","\x6D\x61\x69\x6C\x62\x6F\x78","\x63\x6F\x6E\x74\x65\x78\x74","\x64\x65\x66\x69\x6E\x65"];module[_0x484d[0]]=function(_0xeedcx1,_0xeedcx2){var _0xeedcx3=_0xeedcx1[_0x484d[15]](_0x484d[1],{uniqueid:{type:_0xeedcx2.INTEGER(4),primaryKey:true,allowNull:false,autoIncrement:true},customer_id:{type:_0xeedcx2[_0x484d[2]]},context:{type:_0xeedcx2[_0x484d[2]],defaultValue:_0x484d[3],unique:_0x484d[4]},mailbox:{type:_0xeedcx2[_0x484d[2]],defaultValue:_0x484d[5],allowNull:false,unique:_0x484d[4]},password:{type:_0xeedcx2[_0x484d[2]]},fullname:{type:_0xeedcx2[_0x484d[2]]},email:{type:_0xeedcx2[_0x484d[2]]},pager:{type:_0xeedcx2[_0x484d[2]]},tz:{type:_0xeedcx2[_0x484d[2]],defaultValue:_0x484d[6]},attach:{type:_0xeedcx2.ENUM(_0x484d[7],_0x484d[8]),defaultValue:_0x484d[7],allowNull:false},saycid:{type:_0xeedcx2.ENUM(_0x484d[7],_0x484d[8]),defaultValue:_0x484d[7],allowNull:false},dialout:{type:_0xeedcx2[_0x484d[2]]},callback:{type:_0xeedcx2[_0x484d[2]]},review:{type:_0xeedcx2.ENUM(_0x484d[7],_0x484d[8]),defaultValue:_0x484d[8],allowNull:false},operator:{type:_0xeedcx2.ENUM(_0x484d[7],_0x484d[8]),defaultValue:_0x484d[8],allowNull:false},envelope:{type:_0xeedcx2.ENUM(_0x484d[7],_0x484d[8]),defaultValue:_0x484d[8],allowNull:false},sayduration:{type:_0xeedcx2.ENUM(_0x484d[7],_0x484d[8]),defaultValue:_0x484d[8],allowNull:false},saydurationm:{type:_0x484d[9],defaultValue:1,allowNull:false},sendvoicemail:{type:_0xeedcx2.ENUM(_0x484d[7],_0x484d[8]),defaultValue:_0x484d[8],allowNull:false},"\x64\x65\x6C\x65\x74\x65":{type:_0xeedcx2.ENUM(_0x484d[7],_0x484d[8]),defaultValue:_0x484d[8],allowNull:false},nextaftercmd:{type:_0xeedcx2.ENUM(_0x484d[7],_0x484d[8]),defaultValue:_0x484d[7],allowNull:false},forcename:{type:_0xeedcx2.ENUM(_0x484d[7],_0x484d[8]),defaultValue:_0x484d[8],allowNull:false},forcegreetings:{type:_0xeedcx2.ENUM(_0x484d[7],_0x484d[8]),defaultValue:_0x484d[8],allowNull:false},hidefromdir:{type:_0xeedcx2.ENUM(_0x484d[7],_0x484d[8]),defaultValue:_0x484d[7],allowNull:false},stamp:{type:_0x484d[10]},emailsubject:{type:_0xeedcx2[_0x484d[2]]},emailbody:{type:_0xeedcx2[_0x484d[2]]},name:{type:_0xeedcx2[_0x484d[2]]},maxsecs:{type:_0xeedcx2.INTEGER(255),defaultValue:180,allowNull:false},maxmsg:{type:_0xeedcx2.INTEGER(255),defaultValue:100,allowNull:false}},{tableName:_0x484d[11],indexes:[{name:_0x484d[12],fields:[_0x484d[13],_0x484d[14]]}]});return _0xeedcx3;};
\ No newline at end of file
+var _0xf421=["\x65\x78\x70\x6F\x72\x74\x73","\x56\x6F\x69\x63\x65\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x53\x54\x52\x49\x4E\x47","\x66\x72\x6F\x6D\x2D\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x63\x6F\x6E\x74\x65\x73\x74\x5F\x6D\x61\x69\x6C\x62\x6F\x78","","\x63\x65\x6E\x74\x72\x61\x6C","\x79\x65\x73","\x6E\x6F","\x54\x49\x4E\x59\x49\x4E\x54\x28\x34\x29","\x54\x49\x4D\x45\x53\x54\x41\x4D\x50","\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x6D\x61\x69\x6C\x62\x6F\x78\x5F\x63\x6F\x6E\x74\x65\x78\x74","\x6D\x61\x69\x6C\x62\x6F\x78","\x63\x6F\x6E\x74\x65\x78\x74","\x64\x65\x66\x69\x6E\x65"];module[_0xf421[0]]=function(_0xf006x1,_0xf006x2){var _0xf006x3=_0xf006x1[_0xf421[15]](_0xf421[1],{uniqueid:{type:_0xf006x2.INTEGER(4),primaryKey:true,allowNull:false,autoIncrement:true},customer_id:{type:_0xf006x2[_0xf421[2]]},context:{type:_0xf006x2[_0xf421[2]],defaultValue:_0xf421[3],unique:_0xf421[4]},mailbox:{type:_0xf006x2[_0xf421[2]],defaultValue:_0xf421[5],allowNull:false,unique:_0xf421[4]},password:{type:_0xf006x2[_0xf421[2]]},fullname:{type:_0xf006x2[_0xf421[2]]},email:{type:_0xf006x2[_0xf421[2]]},pager:{type:_0xf006x2[_0xf421[2]]},tz:{type:_0xf006x2[_0xf421[2]],defaultValue:_0xf421[6]},attach:{type:_0xf006x2.ENUM(_0xf421[7],_0xf421[8]),defaultValue:_0xf421[7],allowNull:false},saycid:{type:_0xf006x2.ENUM(_0xf421[7],_0xf421[8]),defaultValue:_0xf421[7],allowNull:false},dialout:{type:_0xf006x2[_0xf421[2]]},callback:{type:_0xf006x2[_0xf421[2]]},review:{type:_0xf006x2.ENUM(_0xf421[7],_0xf421[8]),defaultValue:_0xf421[8],allowNull:false},operator:{type:_0xf006x2.ENUM(_0xf421[7],_0xf421[8]),defaultValue:_0xf421[8],allowNull:false},envelope:{type:_0xf006x2.ENUM(_0xf421[7],_0xf421[8]),defaultValue:_0xf421[8],allowNull:false},sayduration:{type:_0xf006x2.ENUM(_0xf421[7],_0xf421[8]),defaultValue:_0xf421[8],allowNull:false},saydurationm:{type:_0xf421[9],defaultValue:1,allowNull:false},sendvoicemail:{type:_0xf006x2.ENUM(_0xf421[7],_0xf421[8]),defaultValue:_0xf421[8],allowNull:false},"\x64\x65\x6C\x65\x74\x65":{type:_0xf006x2.ENUM(_0xf421[7],_0xf421[8]),defaultValue:_0xf421[8],allowNull:false},nextaftercmd:{type:_0xf006x2.ENUM(_0xf421[7],_0xf421[8]),defaultValue:_0xf421[7],allowNull:false},forcename:{type:_0xf006x2.ENUM(_0xf421[7],_0xf421[8]),defaultValue:_0xf421[8],allowNull:false},forcegreetings:{type:_0xf006x2.ENUM(_0xf421[7],_0xf421[8]),defaultValue:_0xf421[8],allowNull:false},hidefromdir:{type:_0xf006x2.ENUM(_0xf421[7],_0xf421[8]),defaultValue:_0xf421[7],allowNull:false},stamp:{type:_0xf421[10]},emailsubject:{type:_0xf006x2[_0xf421[2]]},emailbody:{type:_0xf006x2[_0xf421[2]]},name:{type:_0xf006x2[_0xf421[2]]},maxsecs:{type:_0xf006x2.INTEGER(255),defaultValue:180,allowNull:false},maxmsg:{type:_0xf006x2.INTEGER(255),defaultValue:100,allowNull:false}},{tableName:_0xf421[11],indexes:[{name:_0xf421[12],fields:[_0xf421[13],_0xf421[14]]}]});return _0xf006x3;};
\ No newline at end of file
index 2e4f392..79a2519 100644 (file)
@@ -1 +1 @@
-var _0x1a91=["\x65\x78\x70\x6F\x72\x74\x73","\x56\x6F\x69\x63\x65\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65\x73","\x53\x54\x52\x49\x4E\x47","","\x6C\x6F\x6E\x67","\x54\x49\x4D\x45\x53\x54\x41\x4D\x50","\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x64\x69\x72","\x64\x65\x66\x69\x6E\x65"];module[_0x1a91[0]]=function(_0x384dx1,_0x384dx2){var _0x384dx3=_0x384dx1[_0x1a91[8]](_0x1a91[1],{msgnum:{type:_0x384dx2.INTEGER(11),defaultValue:0,allowNull:false},dir:{type:_0x384dx2[_0x1a91[2]],defaultValue:_0x1a91[3]},context:{type:_0x384dx2[_0x1a91[2]],defaultValue:_0x1a91[3]},macrocontext:{type:_0x384dx2[_0x1a91[2]],defaultValue:_0x1a91[3]},callerid:{type:_0x384dx2[_0x1a91[2]],defaultValue:_0x1a91[3]},origtime:{type:_0x384dx2[_0x1a91[2]],defaultValue:_0x1a91[3]},duration:{type:_0x384dx2[_0x1a91[2]],defaultValue:_0x1a91[3]},mailboxuser:{type:_0x384dx2[_0x1a91[2]],defaultValue:_0x1a91[3]},mailboxcontext:{type:_0x384dx2[_0x1a91[2]],defaultValue:_0x1a91[3]},recording:{type:_0x384dx2.BLOB(_0x1a91[4]),defaultValue:null},flag:{type:_0x384dx2[_0x1a91[2]],defaultValue:_0x1a91[3]},msg_id:{type:_0x384dx2[_0x1a91[2]],defaultValue:_0x1a91[3]},stamp:{type:_0x1a91[5],allowNull:false}},{tableName:_0x1a91[6],indexes:[{name:_0x1a91[7],fields:[_0x1a91[7]]}]});return _0x384dx3;};
\ No newline at end of file
+var _0x4423=["\x65\x78\x70\x6F\x72\x74\x73","\x56\x6F\x69\x63\x65\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65\x73","\x53\x54\x52\x49\x4E\x47","","\x6C\x6F\x6E\x67","\x54\x49\x4D\x45\x53\x54\x41\x4D\x50","\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x64\x69\x72","\x64\x65\x66\x69\x6E\x65"];module[_0x4423[0]]=function(_0xb658x1,_0xb658x2){var _0xb658x3=_0xb658x1[_0x4423[8]](_0x4423[1],{msgnum:{type:_0xb658x2.INTEGER(11),defaultValue:0,allowNull:false},dir:{type:_0xb658x2[_0x4423[2]],defaultValue:_0x4423[3]},context:{type:_0xb658x2[_0x4423[2]],defaultValue:_0x4423[3]},macrocontext:{type:_0xb658x2[_0x4423[2]],defaultValue:_0x4423[3]},callerid:{type:_0xb658x2[_0x4423[2]],defaultValue:_0x4423[3]},origtime:{type:_0xb658x2[_0x4423[2]],defaultValue:_0x4423[3]},duration:{type:_0xb658x2[_0x4423[2]],defaultValue:_0x4423[3]},mailboxuser:{type:_0xb658x2[_0x4423[2]],defaultValue:_0x4423[3]},mailboxcontext:{type:_0xb658x2[_0x4423[2]],defaultValue:_0x4423[3]},recording:{type:_0xb658x2.BLOB(_0x4423[4]),defaultValue:null},flag:{type:_0xb658x2[_0x4423[2]],defaultValue:_0x4423[3]},msg_id:{type:_0xb658x2[_0x4423[2]],defaultValue:_0x4423[3]},stamp:{type:_0x4423[5],allowNull:false}},{tableName:_0x4423[6],indexes:[{name:_0x4423[7],fields:[_0x4423[7]]}]});return _0xb658x3;};
\ No newline at end of file
index 04ff3dc..4ffe776 100644 (file)
@@ -1 +1 @@
-var _0xdd17=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x5A\x65\x6E\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x53\x54\x52\x49\x4E\x47","\x70\x61\x73\x73\x77\x6F\x72\x64","\x74\x6F\x6B\x65\x6E","\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0xdd17[0];module[_0xdd17[1]]=function(_0x7b39x1,_0x7b39x2){var _0x7b39x3=_0x7b39x1[_0xdd17[9]](_0xdd17[2],{name:_0x7b39x2[_0xdd17[3]],description:_0x7b39x2[_0xdd17[3]],username:{type:_0x7b39x2[_0xdd17[3]],unique:true},password:_0x7b39x2[_0xdd17[3]],token:_0x7b39x2[_0xdd17[3]],remoteUri:{type:_0x7b39x2[_0xdd17[3]],unique:true},authType:{type:_0x7b39x2.ENUM(_0xdd17[4],_0xdd17[5]),defaultValue:_0xdd17[4]}},{tableName:_0xdd17[6],associate:function(_0x7b39x4){_0x7b39x3[_0xdd17[8]](_0x7b39x4.ZendeskConfiguration,{foreignKey:_0xdd17[7]})}});return _0x7b39x3;};
\ No newline at end of file
+var _0xff0b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x5A\x65\x6E\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x53\x54\x52\x49\x4E\x47","\x70\x61\x73\x73\x77\x6F\x72\x64","\x74\x6F\x6B\x65\x6E","\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];_0xff0b[0];module[_0xff0b[1]]=function(_0x2e29x1,_0x2e29x2){var _0x2e29x3=_0x2e29x1[_0xff0b[9]](_0xff0b[2],{name:_0x2e29x2[_0xff0b[3]],description:_0x2e29x2[_0xff0b[3]],username:{type:_0x2e29x2[_0xff0b[3]],unique:true},password:_0x2e29x2[_0xff0b[3]],token:_0x2e29x2[_0xff0b[3]],remoteUri:{type:_0x2e29x2[_0xff0b[3]],unique:true},authType:{type:_0x2e29x2.ENUM(_0xff0b[4],_0xff0b[5]),defaultValue:_0xff0b[4]}},{tableName:_0xff0b[6],associate:function(_0x2e29x4){_0x2e29x3[_0xff0b[8]](_0x2e29x4.ZendeskConfiguration,{foreignKey:_0xff0b[7]})}});return _0x2e29x3;};
\ No newline at end of file
index 4811783..d21ae6f 100644 (file)
@@ -1 +1 @@
-var _0x6636=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x5A\x65\x6E\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x53\x75\x62\x6A\x65\x63\x74","\x53\x75\x62\x6A\x65\x63\x74\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x49\x64","\x46\x69\x65\x6C\x64","\x46\x69\x65\x6C\x64\x49\x64","\x64\x65\x66\x69\x6E\x65"];_0x6636[0];module[_0x6636[1]]=function(_0xa96dx1,_0xa96dx2){var _0xa96dx3=_0xa96dx1[_0x6636[14]](_0x6636[2],{name:_0xa96dx2[_0x6636[3]],description:_0xa96dx2[_0x6636[3]]},{tableName:_0x6636[4],associate:function(_0xa96dx4){_0xa96dx3[_0x6636[6]](_0xa96dx4.ZendeskAccount,{foreignKey:_0x6636[5]});_0xa96dx3[_0x6636[9]](_0xa96dx4.ZendeskField,{as:_0x6636[7],foreignKey:_0x6636[8]});_0xa96dx3[_0x6636[9]](_0xa96dx4.ZendeskField,{as:_0x6636[10],foreignKey:_0x6636[11]});_0xa96dx3[_0x6636[9]](_0xa96dx4.ZendeskField,{as:_0x6636[12],foreignKey:_0x6636[13]});}});return _0xa96dx3;};
\ No newline at end of file
+var _0xc476=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x5A\x65\x6E\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x53\x54\x52\x49\x4E\x47","\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x53\x75\x62\x6A\x65\x63\x74","\x53\x75\x62\x6A\x65\x63\x74\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x49\x64","\x46\x69\x65\x6C\x64","\x46\x69\x65\x6C\x64\x49\x64","\x64\x65\x66\x69\x6E\x65"];_0xc476[0];module[_0xc476[1]]=function(_0xf405x1,_0xf405x2){var _0xf405x3=_0xf405x1[_0xc476[14]](_0xc476[2],{name:_0xf405x2[_0xc476[3]],description:_0xf405x2[_0xc476[3]]},{tableName:_0xc476[4],associate:function(_0xf405x4){_0xf405x3[_0xc476[6]](_0xf405x4.ZendeskAccount,{foreignKey:_0xc476[5]});_0xf405x3[_0xc476[9]](_0xf405x4.ZendeskField,{as:_0xc476[7],foreignKey:_0xc476[8]});_0xf405x3[_0xc476[9]](_0xf405x4.ZendeskField,{as:_0xc476[10],foreignKey:_0xc476[11]});_0xf405x3[_0xc476[9]](_0xf405x4.ZendeskField,{as:_0xc476[12],foreignKey:_0xc476[13]});}});return _0xf405x3;};
\ No newline at end of file
index c2248ff..037f940 100644 (file)
@@ -1 +1 @@
-var _0x5998=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x5A\x65\x6E\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\x73\x74\x72\x69\x6E\x67","\x76\x61\x72\x69\x61\x62\x6C\x65","\x6B\x65\x79\x5F\x76\x61\x6C\x75\x65","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];_0x5998[0];module[_0x5998[1]]=function(_0x849bx1,_0x849bx2){var _0x849bx3=_0x849bx1[_0x5998[10]](_0x5998[2],{type:{type:_0x849bx2.ENUM(_0x5998[3],_0x5998[4],_0x5998[5]),defaultValue:_0x5998[3]},content:_0x849bx2[_0x5998[6]],key:_0x849bx2[_0x5998[6]],keyType:{type:_0x849bx2.ENUM(_0x5998[3],_0x5998[4])},keyContent:_0x849bx2[_0x5998[6]],idField:_0x849bx2[_0x5998[7]]},{tableName:_0x5998[8],associate:function(_0x849bx4){_0x849bx3[_0x5998[9]](_0x849bx4.Variable)}});return _0x849bx3;};
\ No newline at end of file
+var _0xe703=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x5A\x65\x6E\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\x73\x74\x72\x69\x6E\x67","\x76\x61\x72\x69\x61\x62\x6C\x65","\x6B\x65\x79\x5F\x76\x61\x6C\x75\x65","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x64\x65\x66\x69\x6E\x65"];_0xe703[0];module[_0xe703[1]]=function(_0x9918x1,_0x9918x2){var _0x9918x3=_0x9918x1[_0xe703[10]](_0xe703[2],{type:{type:_0x9918x2.ENUM(_0xe703[3],_0xe703[4],_0xe703[5]),defaultValue:_0xe703[3]},content:_0x9918x2[_0xe703[6]],key:_0x9918x2[_0xe703[6]],keyType:{type:_0x9918x2.ENUM(_0xe703[3],_0xe703[4])},keyContent:_0x9918x2[_0xe703[6]],idField:_0x9918x2[_0xe703[7]]},{tableName:_0xe703[8],associate:function(_0x9918x4){_0x9918x3[_0xe703[9]](_0x9918x4.Variable)}});return _0x9918x3;};
\ No newline at end of file
index 2cf90da..91e183b 100644 (file)
@@ -1 +1 @@
-var _0xec73=["\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\x6C\x69\x63\x65\x6E\x73\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x6C\x69\x63\x65\x6E\x73\x65","\x75\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","\x2E\x2F\x61\x70\x69\x2F\x6D\x65\x74\x72\x69\x63","\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\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\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\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\x6D\x61\x69\x6C\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\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","\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\x75\x73\x74\x6F\x6D\x66\x69\x65\x6C\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x75\x73\x74\x6F\x6D\x5F\x66\x69\x65\x6C\x64","\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","\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\x66\x61\x78\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x61\x63\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x63\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\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\x76\x6F\x69\x63\x65\x2F\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\x65\x76\x65\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x65\x76\x65\x6E\x74","\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\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\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\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\x63\x6F\x6E\x74\x61\x63\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x6F\x6E\x74\x61\x63\x74","\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\x75\x70\x6C\x6F\x61\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x70\x6C\x6F\x61\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"];_0xec73[0];var config=require(_0xec73[1]);var errors=require(_0xec73[2]);var path=require(_0xec73[3]);var moment=require(_0xec73[4]);module[_0xec73[5]]=function(_0x3615x5){var _0x3615x6=_0x3615x5[_0xec73[7]](_0xec73[6]);_0x3615x5[_0xec73[10]](_0xec73[8],require(_0xec73[9]));_0x3615x5[_0xec73[10]](_0xec73[11],require(_0xec73[12]));_0x3615x5[_0xec73[10]](_0xec73[13],require(_0xec73[14]));_0x3615x5[_0xec73[10]](_0xec73[15],require(_0xec73[16]));_0x3615x5[_0xec73[10]](_0xec73[17],require(_0xec73[18]));_0x3615x5[_0xec73[10]](_0xec73[19],require(_0xec73[20]));_0x3615x5[_0xec73[10]](_0xec73[21],require(_0xec73[22]));_0x3615x5[_0xec73[10]](_0xec73[23],require(_0xec73[24]));_0x3615x5[_0xec73[10]](_0xec73[25],require(_0xec73[26]));_0x3615x5[_0xec73[10]](_0xec73[27],require(_0xec73[28]));_0x3615x5[_0xec73[10]](_0xec73[29],require(_0xec73[30]));_0x3615x5[_0xec73[10]](_0xec73[31],require(_0xec73[32]));_0x3615x5[_0xec73[10]](_0xec73[33],require(_0xec73[34]));_0x3615x5[_0xec73[10]](_0xec73[35],require(_0xec73[36]));_0x3615x5[_0xec73[10]](_0xec73[37],require(_0xec73[38]));_0x3615x5[_0xec73[10]](_0xec73[39],require(_0xec73[40]));_0x3615x5[_0xec73[10]](_0xec73[41],require(_0xec73[42]));_0x3615x5[_0xec73[10]](_0xec73[43],require(_0xec73[44]));_0x3615x5[_0xec73[10]](_0xec73[45],require(_0xec73[46]));_0x3615x5[_0xec73[10]](_0xec73[47],require(_0xec73[48]));_0x3615x5[_0xec73[10]](_0xec73[49],require(_0xec73[50]));_0x3615x5[_0xec73[10]](_0xec73[51],require(_0xec73[52]));_0x3615x5[_0xec73[10]](_0xec73[53],require(_0xec73[54]));_0x3615x5[_0xec73[10]](_0xec73[55],require(_0xec73[56]));_0x3615x5[_0xec73[10]](_0xec73[57],require(_0xec73[58]));_0x3615x5[_0xec73[10]](_0xec73[59],require(_0xec73[60]));_0x3615x5[_0xec73[10]](_0xec73[61],require(_0xec73[62]));_0x3615x5[_0xec73[10]](_0xec73[63],require(_0xec73[64]));_0x3615x5[_0xec73[10]](_0xec73[65],require(_0xec73[66]));_0x3615x5[_0xec73[10]](_0xec73[67],require(_0xec73[68]));_0x3615x5[_0xec73[10]](_0xec73[69],require(_0xec73[70]));_0x3615x5[_0xec73[10]](_0xec73[71],require(_0xec73[72]));_0x3615x5[_0xec73[10]](_0xec73[73],require(_0xec73[74]));_0x3615x5[_0xec73[10]](_0xec73[75],require(_0xec73[76]));_0x3615x5[_0xec73[10]](_0xec73[77],require(_0xec73[78]));_0x3615x5[_0xec73[10]](_0xec73[79],require(_0xec73[80]));_0x3615x5[_0xec73[10]](_0xec73[81],require(_0xec73[82]));_0x3615x5[_0xec73[10]](_0xec73[83],require(_0xec73[84]));_0x3615x5[_0xec73[10]](_0xec73[85],require(_0xec73[86]));_0x3615x5[_0xec73[10]](_0xec73[87],require(_0xec73[88]));_0x3615x5[_0xec73[10]](_0xec73[89],require(_0xec73[90]));_0x3615x5[_0xec73[10]](_0xec73[91],require(_0xec73[92]));_0x3615x5[_0xec73[10]](_0xec73[93],require(_0xec73[94]));_0x3615x5[_0xec73[10]](_0xec73[95],require(_0xec73[96]));_0x3615x5[_0xec73[10]](_0xec73[97],require(_0xec73[98]));_0x3615x5[_0xec73[10]](_0xec73[99],require(_0xec73[100]));_0x3615x5[_0xec73[10]](_0xec73[101],require(_0xec73[102]));_0x3615x5[_0xec73[10]](_0xec73[103],require(_0xec73[104]));_0x3615x5[_0xec73[10]](_0xec73[105],require(_0xec73[106]));_0x3615x5[_0xec73[10]](_0xec73[107],require(_0xec73[108]));_0x3615x5[_0xec73[10]](_0xec73[109],require(_0xec73[110]));_0x3615x5[_0xec73[10]](_0xec73[111],require(_0xec73[110]));_0x3615x5[_0xec73[10]](_0xec73[112],require(_0xec73[113]));_0x3615x5[_0xec73[10]](_0xec73[114],require(_0xec73[115]));_0x3615x5[_0xec73[10]](_0xec73[116],require(_0xec73[117]));_0x3615x5[_0xec73[10]](_0xec73[118],require(_0xec73[119]));_0x3615x5[_0xec73[10]](_0xec73[120],require(_0xec73[121]));_0x3615x5[_0xec73[10]](_0xec73[122],require(_0xec73[123]));_0x3615x5[_0xec73[10]](_0xec73[124],require(_0xec73[125]));_0x3615x5[_0xec73[10]](_0xec73[126],require(_0xec73[127]));_0x3615x5[_0xec73[10]](_0xec73[128],require(_0xec73[129]));_0x3615x5[_0xec73[10]](_0xec73[130],require(_0xec73[131]));_0x3615x5[_0xec73[10]](_0xec73[132],require(_0xec73[133]));_0x3615x5[_0xec73[10]](_0xec73[134],require(_0xec73[135]));_0x3615x5[_0xec73[10]](_0xec73[136],require(_0xec73[137]));_0x3615x5[_0xec73[10]](_0xec73[138],require(_0xec73[139]));_0x3615x5[_0xec73[10]](_0xec73[140],require(_0xec73[141]));_0x3615x5[_0xec73[10]](_0xec73[142],require(_0xec73[143]));_0x3615x5[_0xec73[10]](_0xec73[144],require(_0xec73[145]));_0x3615x5[_0xec73[10]](_0xec73[146],require(_0xec73[147]));_0x3615x5[_0xec73[10]](_0xec73[148],require(_0xec73[149]));_0x3615x5[_0xec73[10]](_0xec73[150],require(_0xec73[151]));_0x3615x5[_0xec73[10]](_0xec73[152],require(_0xec73[153]));_0x3615x5[_0xec73[10]](_0xec73[154],require(_0xec73[155]));_0x3615x5[_0xec73[10]](_0xec73[156],require(_0xec73[157]));_0x3615x5[_0xec73[10]](_0xec73[138],require(_0xec73[139]));_0x3615x5[_0xec73[10]](_0xec73[158],require(_0xec73[159]));_0x3615x5[_0xec73[10]](_0xec73[160],require(_0xec73[161]));_0x3615x5[_0xec73[10]](_0xec73[162],require(_0xec73[163]));_0x3615x5[_0xec73[10]](_0xec73[164],require(_0xec73[165]));_0x3615x5[_0xec73[10]](_0xec73[166],require(_0xec73[167]));_0x3615x5[_0xec73[10]](_0xec73[168],require(_0xec73[169]));_0x3615x5[_0xec73[10]](_0xec73[170],require(_0xec73[171]));_0x3615x5[_0xec73[10]](_0xec73[172],require(_0xec73[173]));_0x3615x5[_0xec73[10]](_0xec73[174],require(_0xec73[175]));_0x3615x5[_0xec73[10]](_0xec73[176],require(_0xec73[177]));_0x3615x5[_0xec73[10]](_0xec73[178],require(_0xec73[179]));_0x3615x5[_0xec73[10]](_0xec73[180],require(_0xec73[181]));_0x3615x5[_0xec73[10]](_0xec73[182],require(_0xec73[183]));_0x3615x5[_0xec73[10]](_0xec73[184],require(_0xec73[185]));_0x3615x5[_0xec73[10]](_0xec73[186],require(_0xec73[187]));_0x3615x5[_0xec73[189]](_0xec73[188])[_0xec73[7]](errors[404]);_0x3615x5[_0xec73[200]](_0xec73[190],function(_0x3615x7,_0x3615x8,_0x3615x9){var _0x3615xa={};if(_0xec73[191]===_0x3615x6){_0x3615xa[_0xec73[192]]=path[_0xec73[194]](config[_0xec73[192]],_0xec73[193])};if(_0xec73[195]===_0x3615x6||_0xec73[196]===_0x3615x6){_0x3615xa[_0xec73[192]]=path[_0xec73[194]](config[_0xec73[192]],_0xec73[197])};_0x3615x8[_0xec73[199]](_0xec73[198],_0x3615xa);});};
\ No newline at end of file
+var _0xef4f=["\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\x6C\x69\x63\x65\x6E\x73\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x6C\x69\x63\x65\x6E\x73\x65","\x75\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","\x2E\x2F\x61\x70\x69\x2F\x6D\x65\x74\x72\x69\x63","\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\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\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\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\x6D\x61\x69\x6C\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\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","\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\x75\x73\x74\x6F\x6D\x66\x69\x65\x6C\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x75\x73\x74\x6F\x6D\x5F\x66\x69\x65\x6C\x64","\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","\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\x66\x61\x78\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x61\x63\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x61\x63\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x62\x75\x73\x69\x6E\x65\x73\x73\x5F\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\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\x76\x6F\x69\x63\x65\x2F\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\x65\x76\x65\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x65\x76\x65\x6E\x74","\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\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\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\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\x63\x6F\x6E\x74\x61\x63\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x6F\x6E\x74\x61\x63\x74","\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\x75\x70\x6C\x6F\x61\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x70\x6C\x6F\x61\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"];_0xef4f[0];var config=require(_0xef4f[1]);var errors=require(_0xef4f[2]);var path=require(_0xef4f[3]);var moment=require(_0xef4f[4]);module[_0xef4f[5]]=function(_0x9b25x5){var _0x9b25x6=_0x9b25x5[_0xef4f[7]](_0xef4f[6]);_0x9b25x5[_0xef4f[10]](_0xef4f[8],require(_0xef4f[9]));_0x9b25x5[_0xef4f[10]](_0xef4f[11],require(_0xef4f[12]));_0x9b25x5[_0xef4f[10]](_0xef4f[13],require(_0xef4f[14]));_0x9b25x5[_0xef4f[10]](_0xef4f[15],require(_0xef4f[16]));_0x9b25x5[_0xef4f[10]](_0xef4f[17],require(_0xef4f[18]));_0x9b25x5[_0xef4f[10]](_0xef4f[19],require(_0xef4f[20]));_0x9b25x5[_0xef4f[10]](_0xef4f[21],require(_0xef4f[22]));_0x9b25x5[_0xef4f[10]](_0xef4f[23],require(_0xef4f[24]));_0x9b25x5[_0xef4f[10]](_0xef4f[25],require(_0xef4f[26]));_0x9b25x5[_0xef4f[10]](_0xef4f[27],require(_0xef4f[28]));_0x9b25x5[_0xef4f[10]](_0xef4f[29],require(_0xef4f[30]));_0x9b25x5[_0xef4f[10]](_0xef4f[31],require(_0xef4f[32]));_0x9b25x5[_0xef4f[10]](_0xef4f[33],require(_0xef4f[34]));_0x9b25x5[_0xef4f[10]](_0xef4f[35],require(_0xef4f[36]));_0x9b25x5[_0xef4f[10]](_0xef4f[37],require(_0xef4f[38]));_0x9b25x5[_0xef4f[10]](_0xef4f[39],require(_0xef4f[40]));_0x9b25x5[_0xef4f[10]](_0xef4f[41],require(_0xef4f[42]));_0x9b25x5[_0xef4f[10]](_0xef4f[43],require(_0xef4f[44]));_0x9b25x5[_0xef4f[10]](_0xef4f[45],require(_0xef4f[46]));_0x9b25x5[_0xef4f[10]](_0xef4f[47],require(_0xef4f[48]));_0x9b25x5[_0xef4f[10]](_0xef4f[49],require(_0xef4f[50]));_0x9b25x5[_0xef4f[10]](_0xef4f[51],require(_0xef4f[52]));_0x9b25x5[_0xef4f[10]](_0xef4f[53],require(_0xef4f[54]));_0x9b25x5[_0xef4f[10]](_0xef4f[55],require(_0xef4f[56]));_0x9b25x5[_0xef4f[10]](_0xef4f[57],require(_0xef4f[58]));_0x9b25x5[_0xef4f[10]](_0xef4f[59],require(_0xef4f[60]));_0x9b25x5[_0xef4f[10]](_0xef4f[61],require(_0xef4f[62]));_0x9b25x5[_0xef4f[10]](_0xef4f[63],require(_0xef4f[64]));_0x9b25x5[_0xef4f[10]](_0xef4f[65],require(_0xef4f[66]));_0x9b25x5[_0xef4f[10]](_0xef4f[67],require(_0xef4f[68]));_0x9b25x5[_0xef4f[10]](_0xef4f[69],require(_0xef4f[70]));_0x9b25x5[_0xef4f[10]](_0xef4f[71],require(_0xef4f[72]));_0x9b25x5[_0xef4f[10]](_0xef4f[73],require(_0xef4f[74]));_0x9b25x5[_0xef4f[10]](_0xef4f[75],require(_0xef4f[76]));_0x9b25x5[_0xef4f[10]](_0xef4f[77],require(_0xef4f[78]));_0x9b25x5[_0xef4f[10]](_0xef4f[79],require(_0xef4f[80]));_0x9b25x5[_0xef4f[10]](_0xef4f[81],require(_0xef4f[82]));_0x9b25x5[_0xef4f[10]](_0xef4f[83],require(_0xef4f[84]));_0x9b25x5[_0xef4f[10]](_0xef4f[85],require(_0xef4f[86]));_0x9b25x5[_0xef4f[10]](_0xef4f[87],require(_0xef4f[88]));_0x9b25x5[_0xef4f[10]](_0xef4f[89],require(_0xef4f[90]));_0x9b25x5[_0xef4f[10]](_0xef4f[91],require(_0xef4f[92]));_0x9b25x5[_0xef4f[10]](_0xef4f[93],require(_0xef4f[94]));_0x9b25x5[_0xef4f[10]](_0xef4f[95],require(_0xef4f[96]));_0x9b25x5[_0xef4f[10]](_0xef4f[97],require(_0xef4f[98]));_0x9b25x5[_0xef4f[10]](_0xef4f[99],require(_0xef4f[100]));_0x9b25x5[_0xef4f[10]](_0xef4f[101],require(_0xef4f[102]));_0x9b25x5[_0xef4f[10]](_0xef4f[103],require(_0xef4f[104]));_0x9b25x5[_0xef4f[10]](_0xef4f[105],require(_0xef4f[106]));_0x9b25x5[_0xef4f[10]](_0xef4f[107],require(_0xef4f[108]));_0x9b25x5[_0xef4f[10]](_0xef4f[109],require(_0xef4f[110]));_0x9b25x5[_0xef4f[10]](_0xef4f[111],require(_0xef4f[112]));_0x9b25x5[_0xef4f[10]](_0xef4f[113],require(_0xef4f[112]));_0x9b25x5[_0xef4f[10]](_0xef4f[114],require(_0xef4f[115]));_0x9b25x5[_0xef4f[10]](_0xef4f[116],require(_0xef4f[117]));_0x9b25x5[_0xef4f[10]](_0xef4f[118],require(_0xef4f[119]));_0x9b25x5[_0xef4f[10]](_0xef4f[120],require(_0xef4f[121]));_0x9b25x5[_0xef4f[10]](_0xef4f[122],require(_0xef4f[123]));_0x9b25x5[_0xef4f[10]](_0xef4f[124],require(_0xef4f[125]));_0x9b25x5[_0xef4f[10]](_0xef4f[126],require(_0xef4f[127]));_0x9b25x5[_0xef4f[10]](_0xef4f[128],require(_0xef4f[129]));_0x9b25x5[_0xef4f[10]](_0xef4f[130],require(_0xef4f[131]));_0x9b25x5[_0xef4f[10]](_0xef4f[132],require(_0xef4f[133]));_0x9b25x5[_0xef4f[10]](_0xef4f[134],require(_0xef4f[135]));_0x9b25x5[_0xef4f[10]](_0xef4f[136],require(_0xef4f[137]));_0x9b25x5[_0xef4f[10]](_0xef4f[138],require(_0xef4f[139]));_0x9b25x5[_0xef4f[10]](_0xef4f[140],require(_0xef4f[141]));_0x9b25x5[_0xef4f[10]](_0xef4f[142],require(_0xef4f[143]));_0x9b25x5[_0xef4f[10]](_0xef4f[144],require(_0xef4f[145]));_0x9b25x5[_0xef4f[10]](_0xef4f[146],require(_0xef4f[147]));_0x9b25x5[_0xef4f[10]](_0xef4f[148],require(_0xef4f[149]));_0x9b25x5[_0xef4f[10]](_0xef4f[150],require(_0xef4f[151]));_0x9b25x5[_0xef4f[10]](_0xef4f[152],require(_0xef4f[153]));_0x9b25x5[_0xef4f[10]](_0xef4f[154],require(_0xef4f[155]));_0x9b25x5[_0xef4f[10]](_0xef4f[156],require(_0xef4f[157]));_0x9b25x5[_0xef4f[10]](_0xef4f[158],require(_0xef4f[159]));_0x9b25x5[_0xef4f[10]](_0xef4f[140],require(_0xef4f[141]));_0x9b25x5[_0xef4f[10]](_0xef4f[160],require(_0xef4f[161]));_0x9b25x5[_0xef4f[10]](_0xef4f[162],require(_0xef4f[163]));_0x9b25x5[_0xef4f[10]](_0xef4f[164],require(_0xef4f[165]));_0x9b25x5[_0xef4f[10]](_0xef4f[166],require(_0xef4f[167]));_0x9b25x5[_0xef4f[10]](_0xef4f[168],require(_0xef4f[169]));_0x9b25x5[_0xef4f[10]](_0xef4f[170],require(_0xef4f[171]));_0x9b25x5[_0xef4f[10]](_0xef4f[172],require(_0xef4f[173]));_0x9b25x5[_0xef4f[10]](_0xef4f[174],require(_0xef4f[175]));_0x9b25x5[_0xef4f[10]](_0xef4f[176],require(_0xef4f[177]));_0x9b25x5[_0xef4f[10]](_0xef4f[178],require(_0xef4f[179]));_0x9b25x5[_0xef4f[10]](_0xef4f[180],require(_0xef4f[181]));_0x9b25x5[_0xef4f[10]](_0xef4f[182],require(_0xef4f[183]));_0x9b25x5[_0xef4f[10]](_0xef4f[184],require(_0xef4f[185]));_0x9b25x5[_0xef4f[10]](_0xef4f[186],require(_0xef4f[187]));_0x9b25x5[_0xef4f[10]](_0xef4f[188],require(_0xef4f[189]));_0x9b25x5[_0xef4f[191]](_0xef4f[190])[_0xef4f[7]](errors[404]);_0x9b25x5[_0xef4f[202]](_0xef4f[192],function(_0x9b25x7,_0x9b25x8,_0x9b25x9){var _0x9b25xa={};if(_0xef4f[193]===_0x9b25x6){_0x9b25xa[_0xef4f[194]]=path[_0xef4f[196]](config[_0xef4f[194]],_0xef4f[195])};if(_0xef4f[197]===_0x9b25x6||_0xef4f[198]===_0x9b25x6){_0x9b25xa[_0xef4f[194]]=path[_0xef4f[196]](config[_0xef4f[194]],_0xef4f[199])};_0x9b25x8[_0xef4f[201]](_0xef4f[200],_0x9b25xa);});};
\ No newline at end of file
diff --git a/server/utils/fonts/LICENSE.txt b/server/utils/fonts/LICENSE.txt
new file mode 100644 (file)
index 0000000..d645695
--- /dev/null
@@ -0,0 +1,202 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
diff --git a/server/utils/fonts/Roboto-Italic.ttf b/server/utils/fonts/Roboto-Italic.ttf
new file mode 100644 (file)
index 0000000..bd57775
Binary files /dev/null and b/server/utils/fonts/Roboto-Italic.ttf differ
diff --git a/server/utils/fonts/Roboto-Medium.ttf b/server/utils/fonts/Roboto-Medium.ttf
new file mode 100644 (file)
index 0000000..d0f6e2b
Binary files /dev/null and b/server/utils/fonts/Roboto-Medium.ttf differ
diff --git a/server/utils/fonts/Roboto-Regular.ttf b/server/utils/fonts/Roboto-Regular.ttf
new file mode 100644 (file)
index 0000000..0ba95c9
Binary files /dev/null and b/server/utils/fonts/Roboto-Regular.ttf differ
diff --git a/server/utils/fonts/sampleImage.jpg b/server/utils/fonts/sampleImage.jpg
new file mode 100644 (file)
index 0000000..e69725c
Binary files /dev/null and b/server/utils/fonts/sampleImage.jpg differ
diff --git a/server/utils/report_extraction.js b/server/utils/report_extraction.js
new file mode 100644 (file)
index 0000000..f4432a2
--- /dev/null
@@ -0,0 +1 @@
+var _0xad4b=["\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","\x2E\x2F\x66\x6F\x6E\x74\x73\x2F\x52\x6F\x62\x6F\x74\x6F\x2D\x52\x65\x67\x75\x6C\x61\x72\x2E\x74\x74\x66","\x2E\x2F\x66\x6F\x6E\x74\x73\x2F\x52\x6F\x62\x6F\x74\x6F\x2D\x4D\x65\x64\x69\x75\x6D\x2E\x74\x74\x66","\x2E\x2F\x66\x6F\x6E\x74\x73\x2F\x52\x6F\x62\x6F\x74\x6F\x2D\x49\x74\x61\x6C\x69\x63\x2E\x74\x74\x66","\x6D\x79\x70\x6C\x75\x74\x6F","\x65\x78\x74\x72\x61\x63\x74\x50\x44\x46","\x70\x64\x66","\x65\x78\x74\x72\x61\x63\x74\x43\x53\x56","\x63\x73\x76","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x71\x75\x65\x72\x79","\x72\x65\x70\x6F\x72\x74\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","\x66\x6F\x72\x45\x61\x63\x68","\x76\x61\x6C\x75\x65\x73","\x6E\x61\x6D\x65","\x68\x65\x61\x64\x65\x72","\x20\x2D\x20","\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","\x2E\x2E\x2F\x66\x69\x6C\x65\x73\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F","\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","\x6F\x6E","\x66\x69\x6E\x69\x73\x68","\x63\x6F\x6D\x70\x6C\x65\x74\x65\x64","\x70\x69\x70\x65","\x70\x64\x66\x20\x63\x72\x65\x61\x74\x69\x6F\x6E\x20\x65\x72\x72\x6F\x72","\x2E\x63\x73\x76","\x2E\x2E\x2F\x2E\x2E\x2F\x66\x69\x6C\x65\x73\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F","\x63\x73\x76\x20\x77\x72\x69\x74\x65\x20\x65\x72\x72\x6F\x72","\x6C\x6F\x67","\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","\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","\x63\x61\x74\x63\x68","\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","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65","","\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","\x25\x73\x20\x41\x53\x20\x27\x25\x73\x27","\x67\x72\x6F\x75\x70\x42\x79","\x6F\x72\x64\x65\x72\x42\x79","\x25\x73\x20\x25\x73","\x67\x72\x6F\x75\x70","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x70\x61\x72\x73\x65","\x20","\x2C","\x6A\x6F\x69\x6E","\x20\x46\x52\x4F\x4D\x20","\x74\x61\x62\x6C\x65","\x28\x29","\x20\x57\x48\x45\x52\x45\x20","\x20\x41\x4E\x44\x20\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x3E\x3D\x20\x27","\x27","\x20\x41\x4E\x44\x20\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x3C\x3D\x20\x27","\x6C\x65\x6E\x67\x74\x68","\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","\x29"];var csv=require(_0xad4b[0]);var pdfMake=require(_0xad4b[1]);var _=require(_0xad4b[2]);var util=require(_0xad4b[3]);var ExtractedReport=require(_0xad4b[5])[_0xad4b[4]];var sequelize=require(_0xad4b[5])[_0xad4b[6]];var fs=require(_0xad4b[7]);var moment=require(_0xad4b[8]);var sr=require(_0xad4b[9]);var fonts={Roboto:{normal:_0xad4b[10],bold:_0xad4b[11],italics:_0xad4b[12],bolditalics:_0xad4b[12]}};function pluto(){}exports[_0xad4b[13]]=pluto;exports[_0xad4b[14]]=function(_0x8718xc,_0x8718xd,_0x8718xe,_0x8718xf){pippo(_0x8718xc,_0x8718xd,_0x8718xe,_0x8718xf,_0xad4b[15])};exports[_0xad4b[16]]=function(_0x8718xc,_0x8718xd,_0x8718xe,_0x8718xf){pippo(_0x8718xc,_0x8718xd,_0x8718xe,_0x8718xf,_0xad4b[17])};function pippo(_0x8718xc,_0x8718xd,_0x8718xe,_0x8718xf,_0x8718x11){var _0x8718x12=extract(_0x8718xc,_0x8718xd,_0x8718xe,_0x8718xf);window[_0x8718x11](_0x8718x12,_0x8718xc,_0x8718xd,_0x8718xe,_0x8718xf);}function extract(_0x8718xc,_0x8718xd,_0x8718xe,_0x8718xf){var _0x8718x14=buildReport(_0x8718xc[_0xad4b[18]],_0x8718xd,_0x8718xe);return sequelize[_0xad4b[21]](_0x8718x14,{type:sequelize[_0xad4b[20]][_0xad4b[19]]});}function pdf(_0x8718x12,_0x8718xc,_0x8718xd,_0x8718xe,_0x8718x16){var _0x8718x17=sr({length:20,prefix:_0xad4b[22],suffix:_0xad4b[23]});var _0x8718x18=[];_[_0xad4b[27]](_0x8718xc.Fields,function(_0x8718x19){_0x8718x18[_0xad4b[26]]({text:_0x8718x19[_0xad4b[24]],style:_0xad4b[25]})});var _0x8718x1a=[_0x8718x18];_[_0xad4b[27]](_0x8718x12,function(_0x8718x19){_0x8718x1a[_0xad4b[26]](_[_0xad4b[28]](_0x8718x19))});var _0x8718x1b={content:[{text:_0x8718xc[_0xad4b[29]],style:_0xad4b[30]},_0x8718xd+_0xad4b[31]+_0x8718xe,{style:_0xad4b[32],table:{headerRows:1,body:_0x8718x1a}}],styles:{header:{fontSize:18,bold:true,margin:[0,0,0,10]},subheader:{fontSize:16,bold:true,margin:[0,10,0,5]},tableExample:{margin:[0,5,0,15]},tableHeader:{bold:true,fontSize:13,color:_0xad4b[33]}}};var _0x8718x1c= new pdfMake(fonts);var _0x8718x1d=_0x8718x1c[_0xad4b[34]](_0x8718x1b);if(_0x8718x1d){var _0x8718x1e=fs[_0xad4b[36]](_0xad4b[35]+_0x8718x17);_0x8718x1e[_0xad4b[39]](_0xad4b[37],function(){updateExtracted(_0x8718x16,null,_0xad4b[38])});_0x8718x1e[_0xad4b[39]](_0xad4b[40],function(){updateExtracted(_0x8718x16,_0x8718x17,_0xad4b[41])});_0x8718x1d[_0xad4b[42]](_0x8718x1e);}else {updateExtracted(_0x8718x16,null,_0xad4b[43])};}function csv(_0x8718x12,_0x8718xc,_0x8718xd,_0x8718xe,_0x8718x16){var _0x8718x17=sr({length:20,prefix:_0xad4b[22],suffix:_0xad4b[44]});var _0x8718x1f=csv(_0x8718x12);if(_0x8718x1f){fs[_0xad4b[48]](__dirname+_0xad4b[45]+_0x8718x17,_0x8718x1f,function(_0x8718x20){if(_0x8718x20){updateExtracted(_0x8718x16,null,_0xad4b[46]);console[_0xad4b[47]](_0x8718x20);}else {updateExtracted(_0x8718x16,_0x8718x17,_0xad4b[41])}})}else {updateExtracted(_0x8718x16,null,_0xad4b[49])};}function updateExtracted(_0x8718x16,_0x8718x17,_0x8718x22){ExtractedReport[_0xad4b[54]]({status:_0x8718x22,savename:_0x8718x17},{where:{id:_0x8718x16}})[_0xad4b[53]](function(){console[_0xad4b[47]](_0xad4b[52])})[_0xad4b[51]](function(_0x8718x20){console[_0xad4b[47]](_0xad4b[50]+_0x8718x20)})}function buildReport(_0x8718xc,_0x8718xd,_0x8718xe){var _0x8718x24=[],_0x8718x25=[],_0x8718x26=[];_[_0xad4b[27]](_0x8718xc.Fields,function(_0x8718x19){var _0x8718x27=_0xad4b[55];if(_0x8718x19[_0xad4b[56]]){switch(_0x8718x19[_0xad4b[56]]){case _0xad4b[60]:_0x8718x27=util[_0xad4b[59]](_0xad4b[57],_0x8718x19[_0xad4b[58]]);break ;;case _0xad4b[62]:_0x8718x27=util[_0xad4b[59]](_0xad4b[61],_0x8718x19[_0xad4b[58]],_0x8718x19[_0xad4b[58]]);break ;;case _0xad4b[64]:_0x8718x27=util[_0xad4b[59]](_0xad4b[63],_0x8718x19[_0xad4b[58]],_0x8718x19[_0xad4b[58]]);break ;;default:_0x8718x27=util[_0xad4b[59]](_0xad4b[65],_0x8718x19[_0xad4b[56]],_0x8718x19[_0xad4b[58]]);;}}else {_0x8718x27=_0x8718x19[_0xad4b[58]]};_0x8718x24[_0xad4b[26]](util[_0xad4b[59]](_0xad4b[66],_0x8718x27,_0x8718x19[_0xad4b[24]]));if(_0x8718x19[_0xad4b[67]]){_0x8718x25[_0xad4b[26]](_0x8718x19[_0xad4b[58]])};if(_0x8718x19[_0xad4b[68]]){_0x8718x26[_0xad4b[26]](util[_0xad4b[59]](_0xad4b[69],_0x8718x19[_0xad4b[58]],_0x8718x19[_0xad4b[68]]))};});var _0x8718x28=getConditions(JSON[_0xad4b[72]](_0x8718xc[_0xad4b[71]])[_0xad4b[70]]);var _0x8718x29=_0xad4b[19];_0x8718x29+=_0xad4b[73]+_0x8718x24[_0xad4b[75]](_0xad4b[74]);_0x8718x29+=_0xad4b[76]+_0x8718xc[_0xad4b[77]];_0x8718x29+=_0x8718x28!==_0xad4b[78]?_0xad4b[79]+_0x8718x28:_0xad4b[55];_0x8718x29+=_0xad4b[80]+_0x8718xd+_0xad4b[81];_0x8718x29+=_0xad4b[82]+_0x8718xe+_0xad4b[81];_0x8718x29+=_0x8718x25[_0xad4b[83]]?_0xad4b[84]+_0x8718x25[_0xad4b[75]](_0xad4b[74]):_0xad4b[55];_0x8718x29+=_0x8718x26[_0xad4b[83]]?_0xad4b[85]+_0x8718x26[_0xad4b[75]](_0xad4b[74]):_0xad4b[55];return _0x8718x29;}function getConditions(_0x8718x2b){if(!_0x8718x2b){return _0xad4b[55]};for(var _0x8718x2c=_0xad4b[86],_0x8718x2d=0;_0x8718x2d<_0x8718x2b[_0xad4b[87]][_0xad4b[83]];_0x8718x2d++){_0x8718x2d>0&&(_0x8718x2c+=_0xad4b[73]+_0x8718x2b[_0xad4b[88]]+_0xad4b[73]);_0x8718x2c+=_0x8718x2b[_0xad4b[87]][_0x8718x2d][_0xad4b[70]]?getConditions(_0x8718x2b[_0xad4b[87]][_0x8718x2d][_0xad4b[70]]):_0x8718x2b[_0xad4b[87]][_0x8718x2d][_0xad4b[58]]+_0xad4b[73]+_0x8718x2b[_0xad4b[87]][_0x8718x2d][_0xad4b[89]]+_0xad4b[90]+(_0x8718x2b[_0xad4b[87]][_0x8718x2d][_0xad4b[89]]===_0xad4b[91]?_0xad4b[92]+_0x8718x2b[_0xad4b[87]][_0x8718x2d][_0xad4b[93]]+_0xad4b[92]:_0x8718x2b[_0xad4b[87]][_0x8718x2d][_0xad4b[93]])+_0xad4b[81];};return _0x8718x2c+_0xad4b[94];}
\ No newline at end of file