From 482b509159a3bd9d66336b69ad025983a16c8f57 Mon Sep 17 00:00:00 2001 From: Andrea Bianco Date: Tue, 27 Jun 2017 12:19:40 +0200 Subject: [PATCH] Built motion from commit c76f34f06.|1.0.24 --- public/app/7cc026e6.app.js | 1 + public/app/9bfa3723.app.js | 1 - public/assets/plugins/jscripty/js/Actions.js | 2 +- public/assets/plugins/jscripty/js/Dialogs.js | 2 +- public/assets/plugins/jscripty/js/Editor.js | 2 +- public/assets/plugins/jscripty/js/EditorUi.js | 2 +- public/assets/plugins/jscripty/js/Graph.js | 2 +- public/assets/plugins/jscripty/js/Menus.js | 2 +- public/assets/plugins/jscripty/js/Shapes.js | 2 +- public/assets/plugins/jscripty/js/Sidebar.js | 2 +- public/assets/plugins/jscripty/js/Toolbar.js | 2 +- public/assets/plugins/jscripty/js/custom.js | 2 +- public/assets/plugins/mxgraph/js/mxClient.js | 2 +- public/assets/plugins/square/js/Actions.js | 2 +- public/assets/plugins/square/js/Dialogs.js | 2 +- public/assets/plugins/square/js/Editor.js | 2 +- public/assets/plugins/square/js/EditorUi.js | 2 +- public/assets/plugins/square/js/Graph.js | 2 +- public/assets/plugins/square/js/Menus.js | 2 +- public/assets/plugins/square/js/Shapes.js | 2 +- public/assets/plugins/square/js/Sidebar.js | 2 +- public/assets/plugins/square/js/Toolbar.js | 2 +- public/assets/plugins/square/js/custom.js | 2 +- public/index.html | 2 +- server/api/_apidoc.js | 2 +- server/api/action/action.controller.js | 2 +- server/api/action/action.events.js | 2 +- server/api/action/action.socket.js | 2 +- server/api/action/index.js | 2 +- server/api/agent/agent.controller.js | 2 +- server/api/agent/agent.events.js | 2 +- server/api/agent/agent.socket.js | 2 +- server/api/agent/index.js | 2 +- server/api/automation/automation.controller.js | 2 +- server/api/automation/automation.events.js | 2 +- server/api/automation/automation.socket.js | 2 +- server/api/automation/index.js | 2 +- .../api/canned_answer/canned_answer.controller.js | 2 +- server/api/canned_answer/canned_answer.events.js | 2 +- server/api/canned_answer/canned_answer.socket.js | 2 +- server/api/canned_answer/index.js | 2 +- server/api/chanspy/chanspy.controller.js | 2 +- server/api/chanspy/chanspy.events.js | 2 +- server/api/chanspy/chanspy.socket.js | 2 +- server/api/chanspy/index.js | 2 +- .../chat_application.controller.js | 2 +- .../chat_application/chat_application.events.js | 2 +- .../chat_application/chat_application.socket.js | 2 +- server/api/chat_application/index.js | 2 +- .../chat_disposition.controller.js | 2 +- .../chat_disposition/chat_disposition.events.js | 2 +- .../chat_disposition/chat_disposition.socket.js | 2 +- server/api/chat_disposition/index.js | 2 +- server/api/chat_enquiry/enquiry.controller.js | 2 +- server/api/chat_enquiry/enquiry.events.js | 2 +- server/api/chat_enquiry/enquiry.socket.js | 2 +- server/api/chat_enquiry/index.js | 2 +- server/api/chat_message/chat_message.controller.js | 2 +- server/api/chat_message/chat_message.events.js | 2 +- server/api/chat_message/chat_message.socket.js | 2 +- server/api/chat_message/index.js | 2 +- .../chat_proactive_action.controller.js | 2 +- .../chat_proactive_action.events.js | 2 +- .../chat_proactive_action.socket.js | 2 +- server/api/chat_proactive_action/index.js | 2 +- server/api/chat_queue/chat_queue.controller.js | 2 +- server/api/chat_queue/chat_queue.events.js | 2 +- server/api/chat_queue/chat_queue.socket.js | 2 +- server/api/chat_queue/index.js | 2 +- server/api/chat_room/chat_room.controller.js | 2 +- server/api/chat_room/chat_room.events.js | 2 +- server/api/chat_room/chat_room.socket.js | 2 +- server/api/chat_room/index.js | 2 +- server/api/chat_visitor/chat_visitor.controller.js | 2 +- server/api/chat_visitor/chat_visitor.events.js | 2 +- server/api/chat_visitor/chat_visitor.socket.js | 2 +- server/api/chat_visitor/index.js | 2 +- server/api/chat_website/chat_website.controller.js | 2 +- server/api/chat_website/chat_website.events.js | 2 +- server/api/chat_website/chat_website.socket.js | 2 +- server/api/chat_website/index.js | 2 +- .../chat_websites_field.controller.js | 2 +- .../chat_websites_field.events.js | 2 +- .../chat_websites_field.socket.js | 2 +- server/api/chat_websites_field/index.js | 2 +- server/api/company/company.controller.js | 2 +- server/api/company/company.events.js | 2 +- server/api/company/company.socket.js | 2 +- server/api/company/index.js | 2 +- .../contact_manager/contact_manager.controller.js | 2 +- .../api/contact_manager/contact_manager.events.js | 2 +- .../api/contact_manager/contact_manager.socket.js | 2 +- server/api/contact_manager/index.js | 2 +- server/api/custom_field/custom_field.controller.js | 2 +- server/api/custom_field/custom_field.events.js | 2 +- server/api/custom_field/custom_field.socket.js | 2 +- server/api/custom_field/index.js | 2 +- .../api/custom_report/custom_report.controller.js | 2 +- server/api/custom_report/custom_report.events.js | 2 +- server/api/custom_report/custom_report.socket.js | 2 +- server/api/custom_report/index.js | 2 +- server/api/dashboard/dashboard.controller.js | 2 +- server/api/dashboard/dashboard.events.js | 2 +- server/api/dashboard/dashboard.socket.js | 2 +- server/api/dashboard/index.js | 2 +- .../default_metric/default_metric.controller.js | 2 +- server/api/default_metric/index.js | 2 +- .../default_report/default_report.controller.js | 2 +- server/api/default_report/default_report.events.js | 2 +- server/api/default_report/default_report.socket.js | 2 +- server/api/default_report/index.js | 2 +- server/api/desk_account/desk_account.controller.js | 2 +- server/api/desk_account/desk_account.events.js | 2 +- server/api/desk_account/desk_account.socket.js | 2 +- server/api/desk_account/index.js | 2 +- .../desk_configuration.controller.js | 2 +- .../desk_configuration.events.js | 2 +- .../desk_configuration.socket.js | 2 +- server/api/desk_configuration/index.js | 2 +- server/api/desk_field/desk_field.controller.js | 2 +- server/api/desk_field/desk_field.events.js | 2 +- server/api/desk_field/desk_field.socket.js | 2 +- server/api/desk_field/index.js | 2 +- .../extracted_report.controller.js | 2 +- .../extracted_report/extracted_report.events.js | 2 +- .../extracted_report/extracted_report.socket.js | 2 +- server/api/extracted_report/index.js | 2 +- server/api/fax_account/fax_account.controller.js | 2 +- server/api/fax_account/fax_account.events.js | 2 +- server/api/fax_account/fax_account.socket.js | 2 +- server/api/fax_account/index.js | 2 +- .../fax_application/fax_application.controller.js | 2 +- .../api/fax_application/fax_application.events.js | 2 +- .../api/fax_application/fax_application.socket.js | 2 +- server/api/fax_application/index.js | 2 +- .../fax_attachment/fax_attachment.controller.js | 2 +- server/api/fax_attachment/fax_attachment.events.js | 2 +- server/api/fax_attachment/fax_attachment.socket.js | 2 +- server/api/fax_attachment/index.js | 2 +- .../fax_disposition/fax_disposition.controller.js | 2 +- .../api/fax_disposition/fax_disposition.events.js | 2 +- .../api/fax_disposition/fax_disposition.socket.js | 2 +- server/api/fax_disposition/index.js | 2 +- server/api/fax_message/fax_message.ami.js | 2 +- server/api/fax_message/fax_message.controller.js | 2 +- server/api/fax_message/fax_message.events.js | 2 +- server/api/fax_message/fax_message.socket.js | 2 +- server/api/fax_message/index.js | 2 +- server/api/fax_queue/fax_queue.controller.js | 2 +- server/api/fax_queue/fax_queue.events.js | 2 +- server/api/fax_queue/fax_queue.socket.js | 2 +- server/api/fax_queue/index.js | 2 +- server/api/fax_room/fax_room.controller.js | 2 +- server/api/fax_room/fax_room.events.js | 2 +- server/api/fax_room/fax_room.socket.js | 2 +- server/api/fax_room/index.js | 2 +- .../freshdesk_account.controller.js | 2 +- .../freshdesk_account/freshdesk_account.events.js | 2 +- .../freshdesk_account/freshdesk_account.socket.js | 2 +- server/api/freshdesk_account/index.js | 2 +- .../freshdesk_configuration.controller.js | 2 +- .../freshdesk_configuration.events.js | 2 +- .../freshdesk_configuration.socket.js | 2 +- server/api/freshdesk_configuration/index.js | 2 +- .../freshdesk_field/freshdesk_field.controller.js | 2 +- .../api/freshdesk_field/freshdesk_field.events.js | 2 +- .../api/freshdesk_field/freshdesk_field.socket.js | 2 +- server/api/freshdesk_field/index.js | 2 +- server/api/integration/index.js | 2 +- server/api/integration/integration.controller.js | 2 +- server/api/integration/integration.events.js | 2 +- server/api/integration/integration.socket.js | 2 +- server/api/interval/index.js | 2 +- server/api/interval/interval.controller.js | 2 +- server/api/interval/interval.events.js | 2 +- server/api/interval/interval.socket.js | 2 +- server/api/jscripty_project/index.js | 2 +- .../jscripty_project.controller.js | 2 +- .../jscripty_project/jscripty_project.events.js | 2 +- .../jscripty_project/jscripty_project.socket.js | 2 +- server/api/license/index.js | 2 +- server/api/license/license.controller.js | 2 +- server/api/list/index.js | 2 +- server/api/list/list.controller.js | 2 +- server/api/list/list.events.js | 2 +- server/api/list/list.socket.js | 2 +- server/api/mail_account/index.js | 2 +- server/api/mail_account/mail_account.controller.js | 2 +- server/api/mail_account/mail_account.events.js | 2 +- server/api/mail_account/mail_account.socket.js | 2 +- server/api/mail_application/index.js | 2 +- .../mail_application.controller.js | 2 +- .../mail_application/mail_application.events.js | 2 +- .../mail_application/mail_application.socket.js | 2 +- server/api/mail_attachment/index.js | 2 +- .../mail_attachment/mail_attachment.controller.js | 2 +- .../api/mail_attachment/mail_attachment.events.js | 2 +- .../api/mail_attachment/mail_attachment.socket.js | 2 +- server/api/mail_disposition/index.js | 2 +- .../mail_disposition.controller.js | 2 +- .../mail_disposition/mail_disposition.events.js | 2 +- .../mail_disposition/mail_disposition.socket.js | 2 +- server/api/mail_message/index.js | 2 +- server/api/mail_message/mail_message.controller.js | 2 +- server/api/mail_message/mail_message.events.js | 2 +- server/api/mail_message/mail_message.socket.js | 2 +- server/api/mail_queue/index.js | 2 +- server/api/mail_queue/mail_queue.controller.js | 2 +- server/api/mail_queue/mail_queue.events.js | 2 +- server/api/mail_queue/mail_queue.socket.js | 2 +- server/api/mail_room/index.js | 2 +- server/api/mail_room/mail_room.controller.js | 2 +- server/api/mail_room/mail_room.events.js | 2 +- server/api/mail_room/mail_room.socket.js | 2 +- server/api/mail_server_in/index.js | 2 +- .../mail_server_in/mail_server_in.controller.js | 2 +- server/api/mail_server_in/mail_server_in.events.js | 2 +- server/api/mail_server_in/mail_server_in.socket.js | 2 +- server/api/mail_server_out/index.js | 2 +- .../mail_server_out/mail_server_out.controller.js | 2 +- .../api/mail_server_out/mail_server_out.events.js | 2 +- .../api/mail_server_out/mail_server_out.socket.js | 2 +- server/api/metric/index.js | 2 +- server/api/metric/metric.controller.js | 2 +- server/api/metric/metric.events.js | 2 +- server/api/metric/metric.socket.js | 2 +- server/api/module/index.js | 2 +- server/api/module/module.controller.js | 2 +- server/api/module/module.events.js | 2 +- server/api/module/module.socket.js | 2 +- server/api/motionbar/index.js | 2 +- server/api/motionbar/motionbar.controller.js | 2 +- server/api/motionbar/motionbar.events.js | 2 +- server/api/motionbar/motionbar.socket.js | 2 +- server/api/network_externip/index.js | 2 +- .../network_externip.controller.js | 2 +- .../network_externip/network_externip.events.js | 2 +- .../network_externip/network_externip.socket.js | 2 +- server/api/network_localnet/index.js | 2 +- .../network_localnet.controller.js | 2 +- .../network_localnet/network_localnet.events.js | 2 +- .../network_localnet/network_localnet.socket.js | 2 +- server/api/openchannel_account/index.js | 2 +- .../openchannel_account.controller.js | 2 +- .../openchannel_account.events.js | 2 +- .../openchannel_account.socket.js | 2 +- server/api/openchannel_application/index.js | 2 +- .../openchannel_application.controller.js | 2 +- .../openchannel_application.events.js | 2 +- .../openchannel_application.socket.js | 2 +- server/api/openchannel_disposition/index.js | 2 +- .../openchannel_disposition.controller.js | 2 +- .../openchannel_disposition.events.js | 2 +- .../openchannel_disposition.socket.js | 2 +- server/api/openchannel_message/index.js | 2 +- .../openchannel_message.controller.js | 2 +- .../openchannel_message.events.js | 2 +- .../openchannel_message.socket.js | 2 +- server/api/openchannel_queue/index.js | 2 +- .../openchannel_queue.controller.js | 2 +- .../openchannel_queue/openchannel_queue.events.js | 2 +- .../openchannel_queue/openchannel_queue.socket.js | 2 +- server/api/openchannel_room/index.js | 2 +- .../openchannel_room.controller.js | 2 +- .../openchannel_room/openchannel_room.events.js | 2 +- .../openchannel_room/openchannel_room.socket.js | 2 +- server/api/pause/index.js | 2 +- server/api/pause/pause.controller.js | 2 +- server/api/pause/pause.events.js | 2 +- server/api/pause/pause.socket.js | 2 +- server/api/report_agent/index.js | 2 +- server/api/report_agent/report_agent.controller.js | 2 +- server/api/report_agent/report_agent.events.js | 2 +- server/api/report_agent/report_agent.socket.js | 2 +- server/api/report_call/index.js | 2 +- server/api/report_call/report_call.controller.js | 2 +- server/api/report_call/report_call.events.js | 2 +- server/api/report_call/report_call.socket.js | 2 +- server/api/report_chat/index.js | 2 +- server/api/report_chat/report_chat.controller.js | 2 +- server/api/report_chat/report_chat.events.js | 2 +- server/api/report_chat/report_chat.socket.js | 2 +- server/api/report_chat_session/index.js | 2 +- .../report_chat_session.controller.js | 2 +- .../report_chat_session.events.js | 2 +- .../report_chat_session.socket.js | 2 +- server/api/report_dial/index.js | 2 +- server/api/report_dial/report_dial.controller.js | 2 +- server/api/report_dial/report_dial.events.js | 2 +- server/api/report_dial/report_dial.socket.js | 2 +- server/api/report_fax/index.js | 2 +- server/api/report_fax/report_fax.controller.js | 2 +- server/api/report_fax/report_fax.events.js | 2 +- server/api/report_fax/report_fax.socket.js | 2 +- server/api/report_fax_session/index.js | 2 +- .../report_fax_session.controller.js | 2 +- .../report_fax_session.events.js | 2 +- .../report_fax_session.socket.js | 2 +- server/api/report_integration/index.js | 2 +- .../report_integration.controller.js | 2 +- .../report_integration.events.js | 2 +- .../report_integration.socket.js | 2 +- server/api/report_mail/index.js | 2 +- server/api/report_mail/report_mail.controller.js | 2 +- server/api/report_mail/report_mail.events.js | 2 +- server/api/report_mail/report_mail.socket.js | 2 +- server/api/report_mail_session/index.js | 2 +- .../report_mail_session.controller.js | 2 +- .../report_mail_session.events.js | 2 +- .../report_mail_session.socket.js | 2 +- server/api/report_member/index.js | 2 +- .../api/report_member/report_member.controller.js | 2 +- server/api/report_member/report_member.events.js | 2 +- server/api/report_member/report_member.socket.js | 2 +- server/api/report_openchannel/index.js | 2 +- .../report_openchannel.controller.js | 2 +- .../report_openchannel.events.js | 2 +- .../report_openchannel.socket.js | 2 +- server/api/report_openchannel_session/index.js | 2 +- .../report_openchannel_session.controller.js | 2 +- .../report_openchannel_session.events.js | 2 +- .../report_openchannel_session.socket.js | 2 +- server/api/report_queue/index.js | 2 +- server/api/report_queue/report_queue.controller.js | 2 +- server/api/report_queue/report_queue.events.js | 2 +- server/api/report_queue/report_queue.socket.js | 2 +- server/api/report_sms/index.js | 2 +- server/api/report_sms/report_sms.controller.js | 2 +- server/api/report_sms/report_sms.events.js | 2 +- server/api/report_sms/report_sms.socket.js | 2 +- server/api/report_sms_session/index.js | 2 +- .../report_sms_session.controller.js | 2 +- .../report_sms_session.events.js | 2 +- .../report_sms_session.socket.js | 2 +- server/api/report_square/index.js | 2 +- .../api/report_square/report_square.controller.js | 2 +- server/api/report_square/report_square.events.js | 2 +- server/api/report_square/report_square.socket.js | 2 +- server/api/report_square_detail/index.js | 2 +- .../report_square_detail.controller.js | 2 +- .../report_square_detail.events.js | 2 +- .../report_square_detail.socket.js | 2 +- server/api/report_tiger_dial/index.js | 2 +- .../report_tiger_dial.controller.js | 2 +- .../report_tiger_dial/report_tiger_dial.events.js | 2 +- .../report_tiger_dial/report_tiger_dial.socket.js | 2 +- server/api/report_tree/index.js | 2 +- server/api/report_tree/report_tree.controller.js | 2 +- server/api/report_tree/report_tree.events.js | 2 +- server/api/report_tree/report_tree.socket.js | 2 +- server/api/salesforce_account/index.js | 2 +- .../salesforce_account.controller.js | 2 +- .../salesforce_account.events.js | 2 +- .../salesforce_account.socket.js | 2 +- server/api/salesforce_configuration/index.js | 2 +- .../salesforce_configuration.controller.js | 2 +- .../salesforce_configuration.events.js | 2 +- .../salesforce_configuration.socket.js | 2 +- server/api/salesforce_field/index.js | 2 +- .../salesforce_field.controller.js | 2 +- .../salesforce_field/salesforce_field.events.js | 2 +- .../salesforce_field/salesforce_field.socket.js | 2 +- server/api/scheduler/index.js | 2 +- server/api/scheduler/scheduler.controller.js | 2 +- server/api/scheduler/scheduler.events.js | 2 +- server/api/scheduler/scheduler.socket.js | 2 +- server/api/setting/index.js | 2 +- server/api/setting/setting.controller.js | 2 +- server/api/setting/setting.events.js | 2 +- server/api/setting/setting.socket.js | 2 +- server/api/sms_account/index.js | 2 +- server/api/sms_account/sms_account.controller.js | 2 +- server/api/sms_account/sms_account.events.js | 2 +- server/api/sms_account/sms_account.socket.js | 2 +- server/api/sms_application/index.js | 2 +- .../sms_application/sms_application.controller.js | 2 +- .../api/sms_application/sms_application.events.js | 2 +- .../api/sms_application/sms_application.socket.js | 2 +- server/api/sms_disposition/index.js | 2 +- .../sms_disposition/sms_disposition.controller.js | 2 +- .../api/sms_disposition/sms_disposition.events.js | 2 +- .../api/sms_disposition/sms_disposition.socket.js | 2 +- server/api/sms_message/index.js | 2 +- server/api/sms_message/sms_message.controller.js | 2 +- server/api/sms_message/sms_message.events.js | 2 +- server/api/sms_message/sms_message.socket.js | 2 +- server/api/sms_queue/index.js | 2 +- server/api/sms_queue/sms_queue.controller.js | 2 +- server/api/sms_queue/sms_queue.events.js | 2 +- server/api/sms_queue/sms_queue.socket.js | 2 +- server/api/sms_room/index.js | 2 +- server/api/sms_room/sms_room.controller.js | 2 +- server/api/sms_room/sms_room.events.js | 2 +- server/api/sms_room/sms_room.socket.js | 2 +- server/api/sound/index.js | 2 +- server/api/sound/sound.controller.js | 2 +- server/api/sound/sound.events.js | 2 +- server/api/sound/sound.socket.js | 2 +- server/api/square_odbc/index.js | 2 +- server/api/square_odbc/square_odbc.controller.js | 2 +- server/api/square_odbc/square_odbc.events.js | 2 +- server/api/square_odbc/square_odbc.socket.js | 2 +- server/api/square_project/index.js | 2 +- .../square_project/square_project.controller.js | 2 +- server/api/square_project/square_project.events.js | 2 +- server/api/square_project/square_project.socket.js | 2 +- server/api/square_recording/index.js | 2 +- .../square_recording.controller.js | 2 +- .../square_recording/square_recording.events.js | 2 +- .../square_recording/square_recording.socket.js | 2 +- server/api/sugarcrm_account/index.js | 2 +- .../sugarcrm_account.controller.js | 2 +- .../sugarcrm_account/sugarcrm_account.events.js | 2 +- .../sugarcrm_account/sugarcrm_account.socket.js | 2 +- server/api/sugarcrm_configuration/index.js | 2 +- .../sugarcrm_configuration.controller.js | 2 +- .../sugarcrm_configuration.events.js | 2 +- .../sugarcrm_configuration.socket.js | 2 +- server/api/sugarcrm_field/index.js | 2 +- .../sugarcrm_field/sugarcrm_field.controller.js | 2 +- server/api/sugarcrm_field/sugarcrm_field.events.js | 2 +- server/api/sugarcrm_field/sugarcrm_field.socket.js | 2 +- server/api/tag/index.js | 2 +- server/api/tag/tag.controller.js | 2 +- server/api/tag/tag.events.js | 2 +- server/api/tag/tag.socket.js | 2 +- server/api/team/index.js | 2 +- server/api/team/team.controller.js | 2 +- server/api/team/team.events.js | 2 +- server/api/team/team.socket.js | 2 +- server/api/telephone/index.js | 2 +- server/api/telephone/telephone.controller.js | 2 +- server/api/telephone/telephone.events.js | 2 +- server/api/telephone/telephone.socket.js | 2 +- server/api/template/index.js | 2 +- server/api/template/template.controller.js | 2 +- server/api/template/template.events.js | 2 +- server/api/template/template.socket.js | 2 +- server/api/trigger/index.js | 2 +- server/api/trigger/trigger.controller.js | 2 +- server/api/trigger/trigger.events.js | 2 +- server/api/trigger/trigger.socket.js | 2 +- server/api/trunk/index.js | 2 +- server/api/trunk/trunk.controller.js | 2 +- server/api/trunk/trunk.events.js | 2 +- server/api/trunk/trunk.socket.js | 2 +- server/api/update/index.js | 2 +- server/api/update/update.controller.js | 2 +- server/api/user/index.js | 2 +- server/api/user/user.controller.js | 2 +- server/api/user/user.events.js | 2 +- server/api/user/user.socket.js | 2 +- server/api/user_has_chat_queue/index.js | 2 +- .../user_has_chat_queue.controller.js | 2 +- .../user_has_chat_queue.events.js | 2 +- .../user_has_chat_queue.socket.js | 2 +- .../user_has_chat_queue_permit.events.js | 2 +- .../user_has_chat_queue_permit.socket.js | 2 +- server/api/user_has_chat_room/index.js | 2 +- .../user_has_chat_room.controller.js | 2 +- .../user_has_chat_room.events.js | 2 +- .../user_has_chat_room.socket.js | 2 +- server/api/user_has_fax_queue/index.js | 2 +- .../user_has_fax_queue.controller.js | 2 +- .../user_has_fax_queue.events.js | 2 +- .../user_has_fax_queue.socket.js | 2 +- .../user_has_fax_queue_permit.events.js | 2 +- .../user_has_fax_queue_permit.socket.js | 2 +- server/api/user_has_list/index.js | 2 +- .../api/user_has_list/user_has_list.controller.js | 2 +- server/api/user_has_list/user_has_list.events.js | 2 +- server/api/user_has_list/user_has_list.socket.js | 2 +- server/api/user_has_mail_queue/index.js | 2 +- .../user_has_mail_queue.controller.js | 2 +- .../user_has_mail_queue.events.js | 2 +- .../user_has_mail_queue.socket.js | 2 +- .../user_has_mail_queue_permit.events.js | 2 +- .../user_has_mail_queue_permit.socket.js | 2 +- server/api/user_has_openchannel_queue/index.js | 2 +- .../user_has_openchannel_queue.controller.js | 2 +- .../user_has_openchannel_queue.events.js | 2 +- .../user_has_openchannel_queue.socket.js | 2 +- .../user_has_openchannel_queue_permit.events.js | 2 +- .../user_has_openchannel_queue_permit.socket.js | 2 +- server/api/user_has_sms_queue/index.js | 2 +- .../user_has_sms_queue.controller.js | 2 +- .../user_has_sms_queue.events.js | 2 +- .../user_has_sms_queue.socket.js | 2 +- .../user_has_sms_queue_permit.events.js | 2 +- .../user_has_sms_queue_permit.socket.js | 2 +- server/api/user_has_team/index.js | 2 +- .../api/user_has_team/user_has_team.controller.js | 2 +- server/api/user_has_team/user_has_team.events.js | 2 +- server/api/user_has_team/user_has_team.socket.js | 2 +- server/api/user_has_voice_queue/index.js | 2 +- .../user_has_voice_queue.controller.js | 2 +- .../user_has_voice_queue.events.js | 2 +- .../user_has_voice_queue.socket.js | 2 +- .../user_has_voice_queue_permit.events.js | 2 +- .../user_has_voice_queue_permit.socket.js | 2 +- server/api/variable/index.js | 2 +- server/api/variable/variable.controller.js | 2 +- server/api/variable/variable.events.js | 2 +- server/api/variable/variable.socket.js | 2 +- server/api/version/index.js | 2 +- server/api/version/version.controller.js | 2 +- server/api/voice_context/index.js | 2 +- .../api/voice_context/voice_context.controller.js | 2 +- server/api/voice_context/voice_context.events.js | 2 +- server/api/voice_context/voice_context.socket.js | 2 +- server/api/voice_disposition/index.js | 2 +- .../voice_disposition.controller.js | 2 +- .../voice_disposition/voice_disposition.events.js | 2 +- .../voice_disposition/voice_disposition.socket.js | 2 +- server/api/voice_extension/index.js | 2 +- .../voice_extension/voice_extension.controller.js | 2 +- .../api/voice_extension/voice_extension.events.js | 2 +- .../api/voice_extension/voice_extension.socket.js | 2 +- server/api/voice_musiconhold/index.js | 2 +- .../voice_musiconhold.controller.js | 2 +- .../voice_musiconhold/voice_musiconhold.events.js | 2 +- .../voice_musiconhold/voice_musiconhold.socket.js | 2 +- server/api/voice_queue/index.js | 2 +- server/api/voice_queue/voice_queue.controller.js | 2 +- server/api/voice_queue/voice_queue.events.js | 2 +- server/api/voice_queue/voice_queue.socket.js | 2 +- server/api/voice_recording/index.js | 2 +- .../voice_recording/voice_recording.controller.js | 2 +- .../api/voice_recording/voice_recording.events.js | 2 +- .../api/voice_recording/voice_recording.socket.js | 2 +- server/api/voice_voicemail/index.js | 2 +- .../voice_voicemail/voice_voicemail.controller.js | 2 +- .../api/voice_voicemail/voice_voicemail.events.js | 2 +- .../api/voice_voicemail/voice_voicemail.socket.js | 2 +- server/api/voice_voicemail_messages/index.js | 2 +- .../voice_voicemail_messages.controller.js | 2 +- .../voice_voicemail_messages.events.js | 2 +- .../voice_voicemail_messages.socket.js | 2 +- server/api/widget/index.js | 2 +- server/api/widget/widget.controller.js | 2 +- server/api/xchatty/index.js | 2 +- server/api/xchatty/xchatty.controller.js | 2 +- server/api/zendesk_account/index.js | 2 +- .../zendesk_account/zendesk_account.controller.js | 2 +- .../api/zendesk_account/zendesk_account.events.js | 2 +- .../api/zendesk_account/zendesk_account.socket.js | 2 +- server/api/zendesk_configuration/index.js | 2 +- .../zendesk_configuration.controller.js | 2 +- .../zendesk_configuration.events.js | 2 +- .../zendesk_configuration.socket.js | 2 +- server/api/zendesk_field/index.js | 2 +- .../api/zendesk_field/zendesk_field.controller.js | 2 +- server/api/zendesk_field/zendesk_field.events.js | 2 +- server/api/zendesk_field/zendesk_field.socket.js | 2 +- server/app.js | 2 +- server/auth/auth.service.js | 2 +- server/auth/facebook/index.js | 2 +- server/auth/facebook/passport.js | 2 +- server/auth/google/index.js | 2 +- server/auth/google/passport.js | 2 +- server/auth/index.js | 2 +- server/auth/local/index.js | 2 +- server/auth/local/local.ami.js | 2 +- server/auth/local/passport.js | 2 +- server/auth/twitter/index.js | 2 +- server/auth/twitter/passport.js | 2 +- server/config/agi/agi.js | 2 +- server/config/agi/events.js | 2 +- server/config/agi/index.js | 2 +- server/config/agi/lib/channel.js | 2 +- server/config/agi/lib/connection.js | 2 +- server/config/agi/lib/reply.js | 2 +- server/config/agi/lib/rpc/index.js | 2 +- server/config/agi/lib/scripts/index.js | 2 +- server/config/agi/lib/server.js | 2 +- server/config/agi/lib/square.js | 2 +- server/config/agi/lib/vertices.js | 2 +- server/config/ami/acw.js | 2 +- server/config/ami/ami.js | 2 +- server/config/ami/db/fax.js | 2 +- server/config/ami/db/memberReport.js | 2 +- server/config/ami/db/trunk.js | 2 +- server/config/ami/db/user.js | 2 +- server/config/ami/db/userHasQueue.js | 2 +- server/config/ami/db/voiceAgentReport.js | 2 +- server/config/ami/db/voiceCallReport.js | 2 +- server/config/ami/db/voiceDialReport.js | 2 +- server/config/ami/db/voiceQueueReport.js | 2 +- server/config/ami/db/voiceRecording.js | 2 +- server/config/ami/db/voiceTransferReport.js | 2 +- server/config/ami/events.js | 2 +- server/config/ami/index.js | 2 +- server/config/ami/properties.js | 2 +- server/config/ami/socket.js | 2 +- server/config/ami/utils.js | 2 +- server/config/autodialer/index.js | 2 +- server/config/autodialer/process.js | 2 +- server/config/automations/chat.js | 2 +- server/config/automations/fax.js | 2 +- server/config/automations/mail.js | 2 +- server/config/chat.js | 2 +- server/config/dashboard/dashboard.js | 2 +- server/config/dashboard/index.js | 2 +- server/config/express.js | 2 +- server/config/forked_routing/chat/agent.js | 2 +- server/config/forked_routing/chat/index.js | 2 +- server/config/forked_routing/chat/queue.js | 2 +- server/config/forked_routing/chat/sendmail.js | 2 +- server/config/forked_routing/chat/sendsms.js | 2 +- server/config/forked_routing/fax/agent.js | 2 +- server/config/forked_routing/fax/index.js | 2 +- server/config/forked_routing/fax/queue.js | 2 +- server/config/forked_routing/fax/sendmail.js | 2 +- server/config/forked_routing/fax/sendsms.js | 2 +- server/config/forked_routing/mail/agent.js | 2 +- server/config/forked_routing/mail/index.js | 2 +- server/config/forked_routing/mail/queue.js | 2 +- server/config/forked_routing/mail/replymail.js | 2 +- server/config/forked_routing/mail/sendmail.js | 2 +- server/config/forked_routing/mail/sendsms.js | 2 +- server/config/forked_routing/openchannel/agent.js | 2 +- server/config/forked_routing/openchannel/index.js | 2 +- server/config/forked_routing/openchannel/queue.js | 2 +- .../config/forked_routing/openchannel/sendmail.js | 2 +- .../config/forked_routing/openchannel/sendsms.js | 2 +- server/config/forked_routing/sms/agent.js | 2 +- server/config/forked_routing/sms/index.js | 2 +- server/config/forked_routing/sms/queue.js | 2 +- server/config/forked_routing/sms/sendmail.js | 2 +- server/config/forked_routing/sms/sendsms.js | 2 +- server/config/history/history.js | 2 +- server/config/history/reportMove.js | 2 +- server/config/imap/imap.js | 2 +- server/config/imap/index.js | 2 +- server/config/integrations/freshdesk.js | 2 +- server/config/integrations/index.js | 2 +- server/config/integrations/motionbar.js | 2 +- server/config/integrations/salesforce.js | 2 +- server/config/integrations/sugarcrm.js | 2 +- server/config/integrations/zendesk.js | 2 +- server/config/interval/index.js | 2 +- server/config/license/hardware.js | 2 +- server/config/license/index.js | 2 +- server/config/license/license.service.js | 2 +- server/config/local.env.sample.js | 2 +- server/config/logger.js | 2 +- server/config/logger/index.js | 2 +- server/config/openchannel/custom.js | 2 +- server/config/openchannel/index.js | 2 +- server/config/routing/agent.js | 2 +- server/config/routing/fidelity.js | 2 +- server/config/routing/queue.js | 2 +- server/config/routing/replyMail.js | 2 +- server/config/routing/scheduler.js | 2 +- server/config/routing/sendMail.js | 2 +- server/config/routing/sendSms.js | 2 +- server/config/routing/structure.js | 2 +- server/config/rpc/client.js | 2 +- server/config/rpc/index.js | 2 +- server/config/rpc/rpc.js | 2 +- server/config/scheduler/index.js | 2 +- server/config/scheduler/reports.js | 2 +- server/config/seed.js | 2 +- server/config/seedp.js | 2 +- server/config/sms/index.js | 2 +- server/config/sms/skebby.js | 2 +- server/config/sms/sms.js | 2 +- server/config/sms/twilio.js | 2 +- server/config/smtp/index.js | 2 +- server/config/smtp/smtp.js | 2 +- server/config/socketio.js | 2 +- server/config/tools/channelSpy.js | 2 +- server/config/tools/chatRoom.js | 2 +- server/config/tools/dashboard.js | 2 +- server/config/tools/faxAccount.js | 2 +- server/config/tools/faxRoom.js | 2 +- server/config/tools/index.js | 2 +- server/config/tools/interval.js | 2 +- server/config/tools/mailAccount.js | 2 +- server/config/tools/mailRoom.js | 2 +- server/config/tools/openchannelRoom.js | 2 +- server/config/tools/smsRoom.js | 2 +- server/config/tools/system.js | 2 +- server/config/tools/user.js | 2 +- server/config/triggers/chat.js | 2 +- server/config/triggers/cm.js | 2 +- server/config/triggers/fax.js | 2 +- server/config/triggers/index.js | 2 +- server/config/triggers/jscripty.js | 2 +- server/config/triggers/mail.js | 2 +- server/config/triggers/openchannel.js | 2 +- server/config/triggers/sms.js | 2 +- server/config/triggers/urlForward.js | 2 +- server/config/triggers/util.js | 2 +- server/config/triggers/voice.js | 2 +- server/config/util/error.js | 2 +- server/config/util/index.js | 2 +- .../20160801125118-placeholder.js | 2 +- .../20160916135658-report-session.js | 2 +- .../20160920170835-report_tdial.js | 2 +- .../20161005162141-report_tdial_history.js | 2 +- .../20161102092931-report_member.js | 2 +- .../20161103154020-report_square_history.js | 2 +- .../20161104110653-report_square_history.js | 2 +- .../20161130151446-report_integration_history.js | 2 +- .../20161206170443-report_agent_history.js | 2 +- .../20161209084712-report_sourceid.js | 2 +- .../20161209140411-report_history.js | 2 +- .../20161209171025-report_sourceid_index.js | 2 +- ...20170126094809-report_square_details_history.js | 2 +- .../20170206131527-report_call.js | 2 +- .../20170207170653-report_call.js | 2 +- .../20170217111336-report_call_history.js | 2 +- .../20170217153419-report_square_detail_history.js | 2 +- .../20170315164841-report_queue.js | 2 +- .../migrations-history/20170404155959-indexes.js | 2 +- .../20170601132818-history_latin_to_utf8.js | 2 +- server/models/tools_interval.js | 9 --------- server/routes.js | 2 +- server/utils/report_build.js | 2 +- server/utils/report_extraction.js | 2 +- server/utils/voice_extension.js | 2 +- 722 files changed, 720 insertions(+), 729 deletions(-) create mode 100644 public/app/7cc026e6.app.js delete mode 100644 public/app/9bfa3723.app.js diff --git a/public/app/7cc026e6.app.js b/public/app/7cc026e6.app.js new file mode 100644 index 0000000..445839a --- /dev/null +++ b/public/app/7cc026e6.app.js @@ -0,0 +1 @@ +"use strict";angular.module("xCallyShuttleApp",["adf","adf.structures.base","adf.widget.clock","adf.widget.iframe","adf.widget.counter","adf.widget.pie-chart","angular-md5","angular.filter","angularFileUpload","ngLetterAvatar","vAccordion","btford.socket-io","chart.js","checklist-model","colorpicker.module","frapontillo.bootstrap-switch","LocalStorageModule","mgo-angular-wizard","ng-slide-down","ngAnimate","ngBootstrap","ngCookies","ngCsv","ngFileSaver","ngJsTree","ngMap","ngPapaParse","ngResource","ngSanitize","notification","oc.lazyLoad","pascalprecht.translate","remoteValidation","smart-table","sprintf","timer","toastr","permission","ui-notification","ui.bootstrap.modal","ui.bootstrap.dropdown","ui.bootstrap.popover","ui.bootstrap.timepicker","ui.bootstrap.tooltip","ui.bootstrap.tpls","ui.bootstrap.accordion","ui.bootstrap.progressbar","ui.bootstrap.buttons","ui.bootstrap.typeahead","ui.grid","ui.grid.autoResize","ui.grid.draggable-rows","ui.grid.exporter","ui.grid.grouping","ui.grid.moveColumns","ui.grid.pagination","ui.grid.treeView","ui.grid.selection","ui.grid.exporter","ui.grid.resizeColumns","ui.router","ui.navbar","ui.select","ui.sortable","xeditable","ngAudio","truncate","ngScrollbars","ngEmoticons","angularSpinner","builder","builder.components","validator","angular-clipboard","ng-code-mirror","angularMoment","jsonFormatter","ui.bootstrap-slider","ui.bootstrap.datepicker","prettyBytes","bootstrapLightbox","rzModule","ckeditor","ngTagsInput","ngJoyRide","adf.widget.linklist"]).constant("CKEDITOR_BASEPATH","assets/plugins/ckeditor/").config(["$stateProvider","$urlRouterProvider","$locationProvider","$httpProvider","$translateProvider","localStorageServiceProvider","dashboardProvider","ScrollBarsProvider","tagsInputConfigProvider",function(t,e,n,a,s,i,l,o,r){r.setActiveInterpolation("tagsInput",{placeholder:!0}),e.otherwise(function(t){t.get("$state").go("landing")}),s.useStaticFilesLoader({prefix:"assets/languages/locale-",suffix:".json"}),s.preferredLanguage("en_EN"),s.fallbackLanguage("en_EN"),s.useLocalStorage(),s.useSanitizeValueStrategy(null),n.html5Mode(!0),a.interceptors.push("authInterceptor"),l.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"}]}]}),i.setPrefix("motion"),o.defaults={scrollButtons:{scrollAmount:"auto",enable:!0},axis:"y"}}]).factory("authInterceptor",["$rootScope","$q","$cookieStore","$location",function(t,e,n,a){return{request:function(t){return t.headers=t.headers||{},n.get("token")?t.headers.Authorization="Bearer "+n.get("token"):a.path().match(/\/reset\/.[0-9]*/)||a.path("/login"),t}}}]).run(["$rootScope","$location","$state","$stateParams","$window","$q","Auth","RoleStore","editableThemes","editableOptions","License","User","PermissionStore","localStorageService","xAlert","$http",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h){t.$state=n,t.$stateParams=a,r.bs3.inputClass="input-sm",r.bs3.buttonsClass="btn-xs",c.theme="bs3",t.$on("$stateChangeStart",function(t,n){l.isLoggedInAsync(function(t){!n.authenticate||t||e.path().match(/\/reset\/.[0-9]*/)||e.path("/login")})}),t.updateTableConfig=function(t,e){var n=_.find(t,{name:"All"});n&&(n.value=e)},t.settings={patternName:"[A-Za-z0-9._\\+*!\\-\\[\\]]+",simplePatternName:"[A-Za-z0-9._]+",patternPassword:"^(?=.*\\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[~!@#$%^&\\-_=+\\[\\{\\]\\}.])[0-9a-zA-Z~!@#$%^&\\-_=+\\[\\{\\]\\}.]{8,}$",patternPasswordLight:"^.{6,}$",patternGateway:"^(?:yes|no|[0-9]+)$",patternFaxdetect:"^(?:yes|no|t38|cng|[0-9]+)$",layout:{pageSidebarClosed:m.get("sidebarClosed")||!1,pageQuickSidebarOpened:!1,pageBodySolid:!1,pageAutoScrollOnLoad:1e3}},d.get().$promise.then(function(e){t.license=e.license,t.settings.soundPath=e.soundPath||"/var/opt/motion/server/files/sounds/converted",t.settings.footerWhiteLabel=e.footerWhiteLabel,t.settings.defaultFooterWhiteLabel=e.defaultFooterWhiteLabel,t.settings.logoutOnWindowClose=e.logoutOnWindowClose,p.definePermission("hasCm",function(){return t.license.cm}),p.definePermission("hasChat",function(){return t.license.chat}),p.definePermission("hasMail",function(){return t.license.mail}),p.definePermission("hasFax",function(){return t.license.fax}),p.definePermission("hasSms",function(){return t.license.messaging}),p.definePermission("hasDialer",function(){return t.license.dialer}),p.definePermission("hasJscripty",function(){return t.license.jscripty}),p.definePermission("hasUpdate",function(){return t.license.update}),p.definePermission("hasCustom",function(){return t.license.custom}),p.definePermission("hasOpenChannel",function(){return t.license.openchannel}),p.definePermission("hasPreferred",function(){return t.license.preferred})}).catch(function(t){g.error(t)}),p.definePermission("agent",function(){return l.isAgent()}),p.definePermission("admin",function(){return l.isAdmin()}),p.definePermission("user",function(t,e){var n=i.defer(),a=l.getCurrentUser().$promise;return a?a.then(function(t){_.includes(_.map(t.Modules,"id"),e.toState.data.permissions.id)&&"user"===t.role?n.resolve():n.reject()}).catch(function(){n.reject()}):n.resolve(),n.promise})}]),angular.module("xCallyShuttleApp").controller("AdminResetCtrl",["$scope","Auth","User","xAlert","$translate","$location","Setting","$rootScope",function(t,e,n,a,s,i,l,o){t.getInfo=function(){return l.get({controller:"info"}).$promise.then(function(e){return t.info=e,l.get({id:1}).$promise}).then(function(e){t.setting=e,!e.firstLogin&&i.path("/landing")}).catch(function(t){console.error(t)})},o.bodyLayout="login",t.updatePassword=function(){var o={newPassword:t.user.password,id:e.getCurrentUser().id};return n.changePassword(o).$promise.then(function(){return l.update({id:1,firstLogin:!1}).$promise}).then(function(){a.show(s.instant("MESSAGE_WELL_DONE"),"success"),i.path("/landing")}).catch(function(t){a.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("adminreset",{url:"/adminreset",templateUrl:"app/adminreset/adminreset.html",controller:"AdminResetCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/login.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.analytics",{url:"/analytics",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:17}}})}]),angular.module("xCallyShuttleApp").factory("Extracted",["$resource",function(t){return t("/api/analytics/extracted/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.analytics.extracted",{url:"/extracted",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("AnalyticExtractedListCtrl",["$scope","$translate","gridOptions","Extracted","uiGridConstants",function(t,e,n,a,s){t.moment=moment,t.Extracted=a,t.initView=function(){var e={exporterCsvFilename:"ExtractedReports.csv",columnDefs:[{name:"name"},{name:"createdAt",displayName:"APPLICATION_RUN_DATE",filterHeaderTemplate:'
',filters:[{name:"From",condition:s.filter.GREATER_THAN_OR_EQUAL,hasTime:!0},{name:"To",condition:s.filter.LESS_THAN_OR_EQUAL,hasTime:!0}]},{name:"startDate",displayName:"APPLICATION_START_DATE",filterHeaderTemplate:'
',filters:[{name:"From",condition:s.filter.GREATER_THAN_OR_EQUAL,hasTime:!0},{name:"To",condition:s.filter.LESS_THAN_OR_EQUAL,hasTime:!0}],sort:{direction:s.DESC,priority:0}},{name:"endDate",displayName:"APPLICATION_END_DATE",filterHeaderTemplate:'
',filters:[{name:"From",condition:s.filter.GREATER_THAN_OR_EQUAL,hasTime:!0},{name:"To",condition:s.filter.LESS_THAN_OR_EQUAL,hasTime:!0}]},{name:"output"},{name:"type"},{name:"status"},{name:"action",width:140,buttons:[{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{directive:""}]}]};t.gridOptions=n.gridOptions(a,e,t)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.analytics.extracted.list",{url:"/list",templateUrl:"app/analytic/extracted/list/list.html",controller:"AnalyticExtractedListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("DefaultMetric",["$resource",function(t){return t("/api/analytics/metrics/default/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricListCreateModalCtrl",["$scope","$uibModalInstance","Metric","xAlert","$translate","report",function(t,e,n,a,s,i){t.forms={dashboard:void 0},t.item={},t.tables=i.tables,t.ok=function(){return n.save(t.item).$promise.then(function(){e.close()}).catch(function(t){a.error(t)})},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricListCtrl",["$scope","xAlert","Modal","$uibModal","$log","gridOptions","Metric","DefaultMetric","$translate",function(t,e,n,a,s,i,l,o,r){t.$translate=r,t.initView=function(){var e={exporterCsvFilename:"Metrics.csv",columnDefs:[{name:"name"},{name:"table",cellTemplate:"
{{'APPLICATION_'+row.entity.table.toUpperCase() | translate}}
"},{name:"description"},{name:"action",width:125,buttons:[{class:"blue-hoki",href:"/analytics/metrics/view/{{row.entity.id}}/settings",name:"settings"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=i.gridOptions(l,e,t)},t.showMetric=function(t){a.open({animation:!0,templateUrl:"app/analytic/metric/list/view.modal.html",controller:"AnalyticMetricListViewModalCtrl",resolve:{metric:t}})},t.cloneMetric=function(n){return o.get({id:n,controller:"clone"}).$promise.then(function(){e.show(r.instant("MESSAGE_WELL_DONE"),"success"),t.gridOptions.getPage()}).catch(function(t){e.error(t)})},t.create=function(){a.open({animation:!0,templateUrl:"app/analytic/metric/list/create.modal.html",controller:"AnalyticMetricListCreateModalCtrl"}).result.then(function(){e.show(r.instant("MESSAGE_WELL_DONE")+"!","success"),t.gridOptions.getPage()},function(){s.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.analytics.metrics.list",{url:"/list",templateUrl:"app/analytic/metric/list/list.html",controller:"AnalyticMetricListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricListViewModalCtrl",["$scope","$uibModalInstance","metric","xAlert","$translate","report",function(t,e,n,a,s,i){t.item=n,t.tables=i.tables,t.close=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").factory("Metric",["$resource",function(t){return t("/api/analytics/metrics/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.analytics.metrics",{url:"/metrics",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricViewCtrl",["$scope","xAlert","$translate","$stateParams","$location","Metric","report",function(t,e,n,a,s,i,l){t.tables=l.tables,t.getMetric=function(){return i.get({id:a.id}).$promise.then(function(e){t.metric=e}).catch(function(t){s.path("/analytics/metrics/list")})},t.updateMetric=function(){return i.update({id:a.id},t.metric).$promise.then(function(){e.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){e.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.analytics.metrics.view",{url:"/view/:id",templateUrl:"app/analytic/metric/view/view.html",controller:"AnalyticMetricViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.analytics.metrics.view.settings",{url:"/settings",templateUrl:"app/analytic/metric/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("CustomReport",["$resource",function(t){return t("/api/analytics/reports/custom/:precontroller/:id/:controller/:action",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("DefaultReport",["$resource",function(t){return t("/api/analytics/reports/default/:id/:controller/:action",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("ReportListCopyModalCtrl",["$scope","$uibModalInstance","$log","customTreeData",function(t,e,n,a){t.customTreeData=a,t.forms={dashboard:void 0},t.customTreeConfig={multiple:!1,animation:!0,core:{error:function(t){n.error("treeCtrl: error from js tree - "+angular.toJson(t))},check_callback:!0}},t.ac=function(){return!0},t.initCustomScopeTree=function(){t.customTree=t.customTreeInstance.jstree(!0),t.customTree.deselect_all(),t.customTree.open_all()},t.ok=function(){t.customTree.get_selected(!0).length?e.close({parent:t.customTree.get_selected(!0).pop().id}):t.showAlert=!0},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ReportListCreateModalCtrl",["$scope","$uibModalInstance","path",function(t,e,n){t.path=n,t.forms={dashboard:void 0},t.item={},t.ok=function(){t.item.model=JSON.stringify({title:t.item.name}),e.close(t.item)},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ReportListExtractModalCtrl",["$scope","$uibModalInstance","$translate",function(t,e,n){t.daily=!1,t.dailySwitch={onText:n.instant("APPLICATION_TODAY"),offText:n.instant("APPLICATION_RANGE"),isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"primary"},t.dates={startDate:moment().subtract(1,"days").startOf("day"),endDate:moment().subtract(1,"days").endOf("day")},t.ranges={},t.ranges[n.instant("APPLICATION_YESTERDAY")]=[moment().subtract(1,"days").startOf("day"),moment().subtract(1,"days").endOf("day")],t.ranges[n.instant("APPLICATION_LAST_SEVEN_DAYS")]=[moment().subtract("days",7).startOf("day"),moment().subtract(1,"days").endOf("day")],t.ranges[n.instant("APPLICATION_LAST_THIRTY_DAYS")]=[moment().subtract("days",30),moment()],t.ranges[n.instant("APPLICATION_LAST_MONTH")]=[moment().subtract(1,"months").startOf("month"),moment().subtract(1,"months").endOf("month")],t.timepicker={timePickerIncrement:1,timePicker12Hour:!1},t.dailyTime={start:moment("00:00","HH:mm"),end:moment("23:59","HH:mm")},t.maxdate=moment().subtract(1,"days").endOf("day").format("YYYY-MM-DD HH:mm"),t.extract=function(n){var a={startDate:moment(t.dates.startDate).format("YYYY-MM-DD"),endDate:moment(t.dates.endDate).format("YYYY-MM-DD"),startTime:t.daily?moment(t.dailyTime.start).format("HH:mm"):moment(t.dates.startDate).format("HH:mm"),endTime:t.daily?moment(t.dailyTime.end).format("HH:mm"):moment(t.dates.endDate).format("HH:mm"),daily:t.daily,action:n};e.close(a)},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("AnalyticReportListCtrl",["$scope","xAlert","$translate","$location","$log","Modal","$uibModal","FileSaver","Blob","gridOptions","CustomReport","DefaultReport","ReportTree","localStorageService",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m){function g(){var e=m.get("lastMotionReportNode")||!1,n=m.get("lastMotionReportTree")||!1;return!(!e||!n)&&(t[n+"Tree"].open_node({id:e}),t[n+"Tree"].select_node({id:e}),!0)}function h(e,n){var a={parent:n.id};t.selectedNode=e?t.defaultTree.get_path(n," / "):t.customTree.get_path(n," / "),t.gridOptions?t.gridOptions.getPage({parent:n.id},e?u:d):t.gridOptions=c.gridOptions(e?u:d,f,t,a)}var f={exporterCsvFilename:"reports.csv",columnDefs:[{name:"name"},{name:"description"},{name:"manage",width:120,buttons:[{class:"{{grid.appScope.defaultTreeActive ? 'display-none' : 'blue-hoki'}}",href:"/analytics/reports/view/{{row.entity.id}}/settings",title:n.instant("APPLICATION_SETTINGS"),name:"settings"},{class:"{{grid.appScope.defaultTreeActive ? 'display-none' : 'red-sunglo'}}",title:n.instant("APPLICATION_DELETE"),name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{class:"green",title:n.instant("APPLICATION_COPY"),name:"copy",onClick:"grid.appScope.copy(row.entity.id)"},{class:"purple",title:n.instant("APPLICATION_EXPORT"),name:"export",onClick:"grid.appScope.export(row.entity.id)"}]},{name:"actions",width:60,buttons:[{class:"yellow",name:"preview",title:n.instant("APPLICATION_PREVIEW"),onClick:"grid.appScope.preview(row.entity.id)"},{class:"green-turquoise",name:"run",title:n.instant("APPLICATION_RUN"),onClick:"grid.appScope.extract(row.entity.id)"}]}]};t.searchField="",t.ac=function(){return!0},t.initDefaultScopeTree=function(){t.defaultTree=t.defaultTreeInstance.jstree(!0),t.defaultTree.deselect_all(),t.defaultTree.close_all(),t.defaultTreeReady=!0,t.defaultTreeActive=!0,t.previousDefaultNode=""},t.initCustomScopeTree=function(){t.customTree=t.customTreeInstance.jstree(!0),t.customTree.deselect_all(),t.customTree.close_all(),t.customTreeReady=!0,t.previousCustomNode=""},t.$watchGroup(["defaultTreeReady","customTreeReady"],function(e,n,a){e[0]&&e[1]&&(g()||(t.defaultTree.open_node({id:1}),t.customTree.open_node({id:1}),t.defaultTree.select_node({id:"1"})))}),t.updateCustomTree=function(){var n={tree:angular.toJson(t.customTree.get_json("#",{flat:!0}))};return p.update({id:2},n).$promise.then(function(t){console.log("Custom Tree Updated")}).catch(function(t){e.error(t)})},t.configTrees=function(){t.defaultTreeConfig={multiple:!1,animation:!0,core:{error:function(t){s.error("treeCtrl: error from js tree - "+angular.toJson(t))},check_callback:!0,themes:{name:"default",url:"../../../assets/css/jstree-metronic/style.css"}},plugins:["search"]},t.customTreeConfig={multiple:!1,animation:!0,core:{error:function(t){s.error("treeCtrl: error from js tree - "+angular.toJson(t))},check_callback:function(t,e,n,a,s){return console.log(t),!0},themes:{name:"default",url:"../../../assets/css/jstree-metronic/style.css"}},plugins:["contextmenu","dnd","search"],contextmenu:{items:function(e,a){var s={create:{label:n.instant("APPLICATION_CREATE"),action:function(n){t.customTree.create_node(e),t.customTree.open_node(e)}},rename:{label:n.instant("APPLICATION_RENAME"),action:function(n){t.customTree.edit(e)}},remove:{label:n.instant("APPLICATION_REMOVE"),action:function(n){t.deleteNode(e)}}};return"#"===e.parent&&(delete s.rename,delete s.remove),a(s),s}}}},t.deleteNode=function(a){l.open({animation:!0,templateUrl:"app/analytic/report/list/deleteNode.modal.html",controller:["$scope","$uibModalInstance","node",function(t,e,n){t.node=n,t.ok=function(){e.close()},t.cancel=function(){e.dismiss("cancel")}}],resolve:{node:function(){return a.text}}}).result.then(function(){return d.delete({precontroller:"node",id:a.id}).$promise.then(function(){e.show(n.instant("MESSAGE_WELL_DONE"),"success"),t.customTree.delete_node(a),t.previousCustomNode==a.id&&t.customTree.select_node({id:a.parent})}).catch(function(t){e.error(t)})},function(){s.info("Modal dismissed at: "+new Date)})},t.searchTrees=function(){t.defaultTree.search(t.searchField),t.customTree.search(t.searchField)},t.selectDefaultNode=function(){if(t.customTreeReady){t.previousCustomNode="";var e=t.defaultTree.get_selected(!0),n=e.pop();if(t.defaultTree.deselect_node(e[0],!0),t.customTree.deselect_all(),t.defaultTree.select_node(n,!0),n.id===t.previousDefaultNode)return void console.log("def");t.previousDefaultNode=n.id,m.set("lastMotionReportNode",n.id),m.set("lastMotionReportTree","default"),t.defaultTreeActive=!0,h(!0,n)}},t.selectCustomNode=function(){if(t.defaultTreeReady){t.previousDefaultNode="";var e=t.customTree.get_selected(!0),n=e.pop();if(t.customTree.deselect_node(e[0],!0),t.defaultTree.deselect_all(),t.customTree.select_node(n,!0),n.id===t.previousCustomNode)return void console.log("cus");t.previousCustomNode=n.id,m.set("lastMotionReportNode",n.id),m.set("lastMotionReportTree","custom"),t.defaultTreeActive=!1,h(!1,n)}},t.getTrees=function(){return p.query().$promise.then(function(e){t.defaultTreeData=JSON.parse(e[0].tree),t.customTreeData=JSON.parse(e[1].tree),t.configTrees()}).catch(function(t){e.error(t)})},t.create=function(){l.open({animation:!0,templateUrl:"app/analytic/report/list/create.modal.html",controller:"ReportListCreateModalCtrl",resolve:{path:function(){return t.selectedNode}}}).result.then(function(n){return n.parent=t.previousCustomNode,d.save(n).$promise.then(function(t){a.path("/analytics/reports/view/"+t.id+"/settings")}).catch(function(t){e.error(t)})},function(){s.info("Modal dismissed at: "+new Date)})},t.copy=function(a){var i=t.defaultTreeActive?u:d;l.open({animation:!0,templateUrl:"app/analytic/report/list/copy.modal.html",controller:"ReportListCopyModalCtrl",resolve:{customTreeData:function(){return t.customTree.get_json("#",{flat:!0})}}}).result.then(function(s){return i.save({id:a,controller:"copy"},s).$promise.then(function(){t.gridOptions.getPage(),e.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){e.error(t)})},function(){s.info("Modal dismissed at: "+new Date)})},t.export=function(n){return(t.defaultTreeActive?u:d).get({id:n,controller:"export"}).$promise.then(function(t){var e=new r([angular.toJson(t)],{type:"application/json;charset=utf-8"});o.saveAs(e,t.name+".json")}).catch(function(t){e.error(t)})},t.import=function(a){var s=JSON.parse(a);s.parent=t.previousCustomNode;var i=!(!s.name||!s.parent),l=!0;if(_.forEach(s.Fields,function(t){t.field&&t.alias||(l=!1)}),i&&l)return d.save({controller:"import"},s).$promise.then(function(){t.gridOptions.getPage(),e.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){e.error(t)});e.show(n.instant("MESSAGE_INVALID_JSON"),"danger")},t.preview=function(e){l.open({animation:!0,templateUrl:"app/analytic/report/list/preview.modal.html",controller:"ReportListPreviewModalCtrl",size:"full",resolve:{report:function(){return{id:e,tree:t.defaultTreeActive?"default":"custom"}}}})},t.extract=function(a){l.open({animation:!0,templateUrl:"app/analytic/report/list/extract.modal.html",controller:"ReportListExtractModalCtrl",size:"md",resolve:{report:function(){return{id:a,tree:t.defaultTreeActive?"default":"custom"}}}}).result.then(function(s){return s.daily||delete s.daily,(t.defaultTreeActive?u:d).get(_.merge({id:a,controller:"extract"},s)).$promise.then(function(){e.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){e.error(t)})},function(){s.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.analytics.reports.list",{url:"/list",templateUrl:"app/analytic/report/list/list.html",controller:"AnalyticReportListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ReportListPreviewModalCtrl",["$scope","$uibModalInstance","report","xAlert","$translate","$timeout","CustomReport","DefaultReport",function(t,e,n,a,s,i,l,o){t.daily=!1,t.dailySwitch={onText:s.instant("APPLICATION_TODAY"),offText:s.instant("APPLICATION_RANGE"),isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"primary"},t.dates={startDate:moment().subtract(1,"days").startOf("day"),endDate:moment().subtract(1,"days").endOf("day")},t.ranges={},t.ranges[s.instant("APPLICATION_YESTERDAY")]=[moment().subtract(1,"days").startOf("day"),moment().subtract(1,"days").endOf("day")],t.ranges[s.instant("APPLICATION_LAST_SEVEN_DAYS")]=[moment().subtract("days",7).startOf("day"),moment().subtract(1,"days").endOf("day")],t.ranges[s.instant("APPLICATION_LAST_THIRTY_DAYS")]=[moment().subtract("days",30),moment()],t.ranges[s.instant("APPLICATION_LAST_MONTH")]=[moment().subtract(1,"months").startOf("month"),moment().subtract(1,"months").endOf("month")],t.timepicker={timePickerIncrement:1,timePicker12Hour:!1},t.dailyTime={start:moment("00:00","HH:mm"),end:moment("23:59","HH:mm")},t.maxdate=moment().subtract(1,"days").endOf("day").format("YYYY-MM-DD HH:mm");var r={offset:0,limit:25,sort:null,where:{},order:{}};t.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(e){t.gridApi=e,e.pagination.on.paginationChanged(t,function(e,n){r.offset=(e-1)*n,r.limit=n,t.getPage()}),e.core.on.filterChanged(t,function(){var e={};this.grid.columns.forEach(function(t){t.filters[0].term&&(e[t.field]=t.filters[0].term)}),r.where=e,t.getPage()})}},t.getPage=function(){var e={offset:r.offset,limit:r.limit,startDate:moment(t.dates.startDate).format("YYYY-MM-DD"),endDate:moment(t.dates.endDate).format("YYYY-MM-DD"),startTime:t.daily?moment(t.dailyTime.start).format("HH:mm"):moment(t.dates.startDate).format("HH:mm"),endTime:t.daily?moment(t.dailyTime.end).format("HH:mm"):moment(t.dates.endDate).format("HH:mm"),daily:t.daily};return _.forOwn(r.where,function(t,n){e[n]=t}),("custom"===n.tree?l:o).get(_.merge({id:n.id,controller:"preview"},e)).$promise.then(function(e){t.gridOptions.totalItems=e.count,t.gridOptions.paginationPageSizes[3]=e.count,t.gridOptions.data=e.rows,t.showResult=!0}).catch(function(t){a.error(t)})},t.cancel=function(){e.dismiss("cancel")},i(function(){t.getPage()})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.analytics.reports",{url:"/reports",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").factory("ReportAgent",["$resource",function(t){return t("/api/report/agents/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportIntegration",["$resource",function(t){return t("/api/report/integrations/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportMember",["$resource",function(t){return t("/api/report/members/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportTree",["$resource",function(t){return t("/api/analytics/reports/trees/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("AnalyticReportViewCtrl",["$scope","xAlert","$translate","$stateParams","$location","ReportAgent","ReportCall","ReportMailSession","ReportSmsSession","ReportMember","ReportQueue","ReportIntegration","ReportChatSession","DefaultReport","CustomReport","Metric","report",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h,f){function A(n){_.find(t.tables,{value:n}).resource.get({controller:"describe"}).$promise.then(function(e){t.tableFields=_.map(e,function(t,e){if("$promise"!==e&&"$resolved"!==e)return{name:e,value:e}})}).catch(function(t){e.error(t)}).finally(function(){v(n)})}function v(n){return h.get({controller:"table",table:n}).$promise.then(function(e){_.forEach(e.rows,function(e){t.tableFields.push({name:"Metric."+e.name,alias:e.name,value:e.metric,MetricId:e.id})})}).catch(function(t){e.error(t)})}function I(t){return String(t).replace(//g,">")}function b(t){if(!t)return"";for(var e="(",n=0;n0&&(e+=" "+t.operator+" "),t.rules[n].group)e+=b(t.rules[n].group);else switch(e+=t.rules[n].field,t.rules[n].condition){case"IS NULL":case"IS NOT NULL":e+=" "+I(t.rules[n].condition);break;case"IS EMPTY":e+=" = ''";break;case"IS NOT EMPTY":e+=" != ''";break;default:e+=" "+I(t.rules[n].condition)+" "+t.rules[n].value}return e+")"}t.$translate=n,t.tempReport={},t.tables=f.tables;var E={group:{operator:"AND",rules:[]}};t.getReport=function(){return t.firstLoad=!0,g.get({id:a.id}).$promise.then(function(e){t.report=e,_.forEach(t.report.Fields,function(t){delete t.id}),t.report.conditions=t.report.conditions?JSON.parse(t.report.conditions):_.clone(E,!0),t.report.Fields.length&&t.getPreview()}).catch(function(t){console.error(t),s.path("/analytics/reports/list")})},t.randomName=function(t,e){var n=[];for(t=t||5,e=e||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--t;)n.push(e.charAt(Math.floor(Math.random()*e.length)));return n.join("")},t.$watch("report.table",function(e,n){e&&(A(e),n&&(t.tempReport[n]={conditions:t.report.conditions,fields:t.report.Fields}),t.firstLoad?t.firstLoad=!1:t.tempReport[e]?(t.report.Fields=t.tempReport[e].fields,t.report.conditions=t.tempReport[e].conditions):(t.report.Fields=[],t.report.conditions=_.clone(E,!0)))},!0),t.setMetricId=function(e,n){t.report.Fields[n].MetricId=e.MetricId?e.MetricId:null,t.report.Fields[n].alias=e.MetricId?e.alias:e.name},t.groupByField=[{name:"APPLICATION_YES",value:!0},{name:"APPLICATION_NO",value:!1}],t.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"}],t.formatFunctions=[{name:"Sec To Time",value:"SEC_TO_TIME"},{name:"Date",value:"DATE"},{name:"Hour",value:"HOUR"},{name:"Round",value:"ROUND"},{name:"Unix TimeStamp",value:"UNIX_TIMESTAMP"}],t.addField=function(){t.report.Fields.push({groupBy:!1,custom:!1})},t.removeField=function(e){t.report.Fields.splice(e,1)},t.sortableOptions={"ui-floating":!0,cancel:".unsortable",handle:".report-field-handle",axis:"y"},t.toggleCustom=function(e){e.custom=!e.custom,e.custom||_.find(t.tableFields,{value:e.field})||(e.field=null)},t.updateReport=function(){if(t.report.Fields.length){var s=angular.copy(t.report);return console.log(s.conditions),s.conditions=angular.toJson(s.conditions),_.forEach(s.Fields,function(t){t.custom&&delete t.MetricId}),g.update({id:a.id},s).$promise.then(function(){e.show(n.instant("MESSAGE_WELL_DONE")+"!","success"),t.getPreview()}).catch(function(t){e.error(t)})}e.show(n.instant("MESSAGE_SELECT_A_FIELD"),"danger")},t.$watch("report.conditions",function(e){t.output=e?b(e.group):"()"},!0),t.getPreview=function(){return t.gridOptions=null,g.get({id:a.id,controller:"preview",limit:20}).$promise.then(function(e){t.gridOptions={enableFiltering:!0,treeRowHeaderAlwaysVisible:!1,enableGridMenu:!0,data:e.rows}}).catch(function(t){console.log(t),e.show(n.instant(t.message||"MESSAGE_QUERY_NOT_VALID"),"warning")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.analytics.reports.view",{url:"/view/:id",templateUrl:"app/analytic/report/view/view.html",controller:"AnalyticReportViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.analytics.reports.view.settings",{url:"/settings",templateUrl:"app/analytic/report/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels",{url:"/channels",template:"
",abstract:!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:6}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat",{url:"/chat",template:"
",abstract:!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").factory("ChatEnquiry",["$resource",function(t){return t("/api/chat/enquiries/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatReport",["$resource",function(t){return t("/api/report/chats/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatVisitor",["$resource",function(t){return t("/api/chat/visitors/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatMessage",["$resource",function(t){return t("/api/chat/messages/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatRoom",["$resource",function(t){return t("/api/chat/rooms/:id/:controller",{id:"@id"},{me:{method:"GET",isArray:!0,params:{id:"me"}},users:{method:"GET",params:{id:"users"}},externals:{method:"GET",isArray:!0,params:{id:"type",controller:"external"}},groups:{method:"GET",isArray:!0,params:{id:"groups"}},update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").controller("ChatOfflineListCtrl",["$scope","ChatEnquiry","gridOptions","uiGridConstants",function(t,e,n,a){t.initView=function(){var s={exporterCsvFilename:"chat_offline_messages.csv",columnDefs:[{name:"username",cellClass:"text-center"},{name:"email",cellClass:"text-center"},{name:"ChatWebsite.name",displayName:"Website",cellClass:"text-center"},{name:"createdAt",displayName:"createdAt",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',field:"createdAt",sort:{direction:a.DESC,priority:0}},{name:"action",width:75,buttons:[{class:"blue-hoki",href:"/channels/chat/offline/view/{{row.entity.id}}",name:"detail"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.fullname, row.entity.id)"}]}]};t.gridOptions=n.gridOptions(e,s,t)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.offline.list",{url:"/list",templateUrl:"app/channels/chat/offline/list/list.html",controller:"ChatOfflineListCtrl"})}]),angular.module("xCallyShuttleApp").directive("enquiryMessage",["$rootScope","$translate","MailMessage","List","xAlert",function(t,e,n,a,s){return{restrict:"E",scope:{message:"=",listId:"="},templateUrl:"app/channels/chat/offline/message/message.directive.html",link:function(n){n.openContact=function(i){if(n.listId)return a.save({listId:n.listId,controller:"contacts"},{email:i}).$promise.then(function(e){var n=_.find(t.$root.workspaces,{contactID:e.id});n?n.active=!0:t.$root.workspaces.push({active:!0,class:"icon-user",contactID:e.id,name:e.email,type:"contact"})}).catch(function(t){s.error(t)});s.show(e.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")}}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.offline",{url:"/offline",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:32}}})}]),angular.module("xCallyShuttleApp").controller("ChatOfflineViewCtrl",["$scope","$stateParams","$translate","$rootScope","ChatEnquiry","List","xAlert",function(t,e,n,a,s,i,l){t.initView=function(){return s.get({id:e.id}).$promise.then(function(e){t.enquiry=e}).catch(function(t){l.error(t)})},t.openContact=function(e){if(t.enquiry.ChatWebsite.ListId)return i.save({listId:t.enquiry.ChatWebsite.ListId,controller:"contacts"},{email:e}).$promise.then(function(t){var e=_.find(a.$root.workspaces,{contactID:t.id});e?e.active=!0:a.$root.workspaces.push({active:!0,class:"icon-user",contactID:t.id,name:t.email,type:"contact"})}).catch(function(t){l.error(t)});l.show(n.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.offline.view",{url:"/view/:id",templateUrl:"app/channels/chat/offline/view/view.html",controller:"ChatOfflineViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatOnlineListCtrl",["$scope","ChatRoom","gridOptions",function(t,e,n){t.initView=function(){var a={exporterCsvFilename:"chat_online_messages.csv",columnDefs:[{name:"ChatVisitor.fullname",displayName:"APPLICATION_FULLNAME",cellClass:"text-center"},{name:"ChatVisitor.email",displayName:"APPLICATION_EMAIL",cellClass:"text-center"},{name:"action",width:100,buttons:[{class:"blue-hoki",href:"/channels/chat/online/view/{{row.entity.id}}/detail",name:"detail"}]}]};t.gridOptions=n.gridOptions(e,a,t,{id:"online"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.online.list",{url:"/list",templateUrl:"app/channels/chat/online/list/list.html",controller:"ChatOnlineListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.online",{url:"/online",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").controller("ChatOnlineViewCtrl",["$scope","$stateParams","ChatRoom",function(t,e,n){t.initView=function(){return t.config={autoHideScrollbar:!1,theme:"light",advanced:{updateOnContentResize:!0},setHeight:400,scrollInertia:0},n.get({id:e.id}).$promise.then(function(e){t.chatRoom=e}).catch(function(t){console.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.online.view",{url:"/view/:id",templateUrl:"app/channels/chat/online/view/view.html",controller:"ChatOnlineViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.chat.online.view.detail",{url:"/detail",templateUrl:"app/channels/chat/online/view/view.detail.html",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/news.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("PreviewCtrl",["$scope",function(t){t.message="Hello"}]),angular.module("xCallyShuttleApp").directive("preview",["$rootScope",function(t){return{templateUrl:"app/channels/chat/preview/preview.html",restrict:"EA",link:function(t,e,n){}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("preview",{url:"/preview",templateUrl:"app/channels/chat/preview/preview.html",controller:"PreviewCtrl",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").factory("ChatQueue",["$resource",function(t){return t("/api/chat/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("ChatQueueListCtrl",["$scope","ChatQueue","gridOptions","Auth","$uibModal",function(t,e,n,a,s){t.initView=function(){t.Auth=a;var s={exporterCsvFilename:"chat_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"strategy"},{name:"timeout"},{name:"action",width:100,buttons:[{class:"blue-hoki",href:"/channels/chat/queues/view/{{row.entity.id}}/settings",name:"settings"},{class:"green-meadow",href:"/channels/chat/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===a.getCurrentUser().role},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=n.gridOptions(e,s,t)},t.createItem=function(){s.open({animation:!0,templateUrl:"app/channels/chat/queue/list/list.create.modal.html",controller:"ChatQueueListCreateCtrl",size:"lg"}).result.then(function(){t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ChatQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","ChatQueue","Team","strategies",function(t,e,n,a,s,i,l){t.form={},t.strategies=l,t.item={penalty:0,agents:[]},t.getTeams=function(){return i.get({controller:"associations"}).$promise.then(function(e){t.teams=e.rows}).then(function(){ComponentsDropdowns.bindQueue(t.teams,[],function(){return{select:function(e){t.item.agents=_.union(t.item.agents,e)},deselect:function(e){t.item.agents=_.difference(t.item.agents,e)}}})}).catch(function(t){console.error(t)})},t.save=function(){return s.save(t.item).$promise.then(function(t){a.show(n.instant("MESSAGE_WELL_DONE"),"success"),e.close(t)}).catch(function(t){a.error(t)})},t.cancel=function(){e.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.queues.list",{url:"/list",templateUrl:"app/channels/chat/queue/list/list.html",controller:"ChatQueueListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.queues",{url:"/queues",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:30}}})}]),angular.module("xCallyShuttleApp").controller("ChatQueueViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","ChatQueue","Team","Auth","strategies",function(t,e,n,a,s,i,l,o,r){t.Auth=o,t.strategies=r;var c=function(){return{select:function(e){return i.save({id:t.queue.id,controller:"agents"},{agents:e,penalty:t.queue.penalty}).$promise.then(function(){t.getTeams()}).catch(function(t){console.log(t)})},deselect:function(e){return i.delete({id:t.queue.id,controller:"agents",agents:e}).$promise.then(function(){t.getTeams()}).catch(function(t){console.log(t)})}}};t.getQueue=function(){e.get("/api/chat/queues/"+s.id).success(function(e){e.penalty=0,t.queue=e}).error(function(t){console.error(t)})},t.updateChatQueue=function(){var i=angular.copy(t.queue);e.put("/api/chat/queues/"+s.id,i).success(function(){n.show(a.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(e){t.queue=i,e.errors.forEach(function(t){n.error(err)})})},t.getTeams=function(){return l.get({controller:"associations"}).$promise.then(function(e){return t.teams=e.rows,i.get({id:s.id,controller:"agents"}).$promise}).then(function(e){ComponentsDropdowns.bindChatQueue(t.teams,_.map(e.rows,function(t){return{id:t.id,penalty:t.UserHasChatQueue.penalty}}),c)}).catch(function(t){console.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.queues.view",{url:"/view/:id",templateUrl:"app/channels/chat/queue/view/view.html",controller:"ChatQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.chat.queues.view.settings",{url:"/settings",templateUrl:"app/channels/chat/queue/view/view.settings.html"}).state("main.channels.chat.queues.view.agents",{url:"/agents",templateUrl:"app/channels/chat/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.realtime",{url:"/realtime",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:33}}})}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","ChatQueue","usSpinnerService","$q","uiGridConstants","Auth","$timeout",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g){function h(){return d.spin("grid-spinner"),l.get(b).$promise.then(function(e){t.gridOptions.totalItems=e.count,t.gridOptions.data=[],e.rows.forEach(function(t){A(t)})}).catch(function(t){i.error(t)}).finally(function(){d.stop("grid-spinner")})}function f(){s.socket.on("agent:save",function(e){e=e.newValues||e;var n=_.find(t.gridOptions.data,{agentId:e.id,isAgent:!0});n&&(n.online=_.has(e,"online")?e.online:n.online,n.lastLoginAt=_.has(e,"lastLoginAt")?e.lastLoginAt:n.lastLoginAt,n.pause=_.has(e,"chatPause")?e.chatPause:n.chatPause,n.pauseType=_.has(e,"pauseType")?e.pauseType:n.pauseType,n.lastPauseAt=_.has(e,"lastPauseAt")?e.lastPauseAt:n.lastPauseAt,n.ipaddr=_.has(e,"ipaddr")?e.ipaddr:n.ipaddr,n.port=_.has(e,"port")?e.port:n.port,n.fullcontact=_.has(e,"fullcontact")?e.fullcontact:n.fullcontact,n.useragent=_.has(e,"useragent")?e.useragent:n.useragent,n.lastms=_.has(e,"lastms")?e.lastms:n.lastms,n.internal=_.has(e,"internal")?e.internal:n.internal,_.map(t.gridOptions.data,function(t){t.isAgent||t.agentId!==e.id||(t.online=_.has(e,"online")?e.online:t.online)}))}),s.socket.on("agent:remove",function(e){_.remove(t.gridOptions.data,{agentId:e.id})}),s.socket.on("user_has_chat_queue:save",function(e){if(_.includes(_.map(t.CurrentUser.PChatQueues,"id"),e.ChatQueueId)||m.isAdmin()){var n=_.find(t.gridOptions.data,{agentId:e.UserId,isAgent:!0});if(n){var a=t.gridOptions.data.indexOf(n);t.gridOptions.data.splice(a+1,0,{isAgent:!1,agentId:e.UserId,queue:e.queue,queueId:e.ChatQueueId,agent:e.membername,online:n.online})}}}),s.socket.on("user_has_chat_queue:remove",function(e){_.remove(t.gridOptions.data,{agentId:e.UserId,queueId:e.ChatQueueId})})}function A(e){t.gridOptions.data.push({isAgent:!0,agentId:e.id,agent:e.name,online:e.online,lastLoginAt:e.lastLoginAt,lastPauseAt:e.lastPauseAt,pause:e.chatPause,pauseType:e.pauseType,ipaddr:e.ipaddr,port:e.port,fullcontact:e.fullcontact,useragent:e.useragent,lastms:e.lastms,internal:e.internal,$$treeLevel:0}),e.ChatQueues&&e.ChatQueues.forEach(function(n){t.gridOptions.data.push({isAgent:!1,agentId:e.id,queue:n.name,queueId:n.id,agent:e.name,online:e.online})})}function v(){return o.get().$promise.then(function(e){t.pauses=e.rows,s.syncUpdates("pause",t.pauses)}).catch(function(t){i.error(t)})}function I(){return c.get().$promise.then(function(e){t.chatQueues=e.rows,s.syncUpdates("chat_queue",t.chatQueues)}).catch(function(t){i.error(t)})}t.chatQueues=[];var b={controller:"realtime",controller1:"chat",offset:0,limit:10};t.moment=moment,t.initAgents=function(){t.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.agent}} <{{row.entity.internal}}>
'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:p.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"chatPause",displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{row.entity.pauseType}})
',filter:{type:p.filter.SELECT,selectOptions:[{value:"true",label:"PAUSED"},{value:"false",label:"NOT PAUSED"}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(t){var e=u.defer();return e.resolve(a.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){E(t.gridApi.core.getVisibleRows(t.gridApi.grid).length)}),t.gridApi.treeBase.on.rowExpanded(t,function(e){E(t.gridApi.core.getVisibleRows(t.gridApi.grid).length+e.treeNode.children.length)}),t.gridApi.treeBase.on.rowCollapsed(t,function(e){E(t.gridApi.core.getVisibleRows(t.gridApi.grid).length-e.treeNode.children.length)}),t.gridApi.core.on.sortChanged(t,function(t,e){0===e.length?b.order=null:b.order=e[0].name+" "+e[0].sort.direction.toUpperCase(),h()}),t.gridApi.pagination.on.paginationChanged(t,function(t,e){b.offset=(t-1)*e,b.limit=e,h()}),t.gridApi.core.on.filterChanged(t,function(){this.grid.columns.forEach(function(t){t.filters[0].term?b[t.name]=t.filters[0].term:delete b[t.name]}),h()})}},h(),v(),I(),g(function(){f()})};var E=function(t){var e=t?30*t+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*t+"px")};t.$on("$destroy",function(){s.unsyncUpdates("agent"),s.unsyncUpdates("user_has_chat_queue")}),t.pause=function(e,n,s){return s&&(t.pauseType=null),r.save({name:n,agent:e.agentId,data2:e.agent,type:s||"DEFAULT PAUSE",data4:s||"DEFAULT PAUSE",channel:"chat"}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},t.joinQueue=function(s){n.open({animation:!0,templateUrl:"app/channels/chat/realtime/view/agent/queue.modal.add.html",controller:"ChatRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(t.chatQueues,function(e){return!!_.find(t.gridOptions.data,{queue:e.name,isAgent:!1,agentId:s})})}}}).result.then(function(e){return r.save({name:"QueueAdd",agent:s,queues:_.filter(t.chatQueues,function(t){return _.includes(e.queues,t.id)}),channel:"chat",data1:s,data3:e.queues.join(","),data4:"chat"}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},function(){e.info("Modal dismissed at: "+new Date)})},t.leaveQueue=function(t,e){return r.save({name:"QueueRemove",agent:t,queueId:e,channel:"chat",data1:t,data3:e,data4:"chat"}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},t.showInfo=function(t){n.open({animation:!0,templateUrl:"app/channels/chat/realtime/view/agent/agent.modal.info.html",controller:"ChatRealtimeViewAgentInfoModalCtrl",resolve:{agent:t}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/chat/realtime/view/agent/agent.html",controller:"ChatRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(t,e,n,a){t.agent=a,t.close=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(t,e,n,a){t.queues=a,t.item={},t.save=function(){e.close(t.item)},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewApplicationCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportChatSession","usSpinnerService","$q","uiGridConstants","$timeout",function(t,e,n,a,s,i,l,o,r,c,d){function u(){return o.spin("spinner-grid"),l.get({controller:"waiting",controller2:"applications"}).$promise.then(function(e){t.gridOptions.data=e.rows}).catch(function(t){i.error(t)}).finally(function(){p(),o.stop("spinner-grid")})}function p(){s.socket.on("report_chat_session:save",function(e){var n=_.find(t.gridOptions.data,{id:e.id});n?(_.merge(n,e),e.leaveAt&&d(function(){_.remove(t.gridOptions.data,{id:e.id})},1e4)):e.leaveAt||t.gridOptions.data.push(e)}),s.socket.on("report_chat_session:remove",function(e){_.remove(t.gridOptions.data,{id:e.id})})}t.moment=moment,t.initApplications=function(){t.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"websitename",displayName:"APPLICATION_WEBSITE",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_TIMEOUT\' | translate}}
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.queuename || ''}}
"}],data:[],gridMenuTitleFilter:function(t){var e=r.defer();return e.resolve(a.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){m(t.gridOptions.data.length)})}},u()};var m=function(t){var e=t?30*t+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*t+"px")};t.$on("$destroy",function(){s.unsyncUpdates("report_chat_session")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.realtime.view.applications",{url:"/applications",templateUrl:"app/channels/chat/realtime/view/application/application.html",controller:"ChatRealtimeViewApplicationCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewCtrl",["$scope",function(t){t.agents=[{name:"Queues",link:"main.chat.realtime.view.agent.queues"},{name:"Timeline",link:"main.chat.realtime.view.agent.timeline"}],t.sessions=[{name:"Sessions",link:"main.chat.realtime.view.sessions"}],t.timerSwitch={isActive:!0,size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"primary"},t.showTimers=!1}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.realtime.view",{url:"/view",templateUrl:"app/channels/chat/realtime/view/view.html",controller:"ChatRealtimeViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("ReportChatSession",["$resource",function(t){return t("/api/report/chat/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.room.external",{url:"/external",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("ChatRoomExternalListCtrl",["$scope","$timeout","socket","Auth","ChatRoom","usSpinnerService","Tag","$uibModal","uibButtonConfig","uiGridConstants",function(t,e,n,a,s,i,l,o,r,c){function d(){return l.get().$promise.then(function(e){t.tags=_.map(e.rows,"name")}).catch(function(t){console.error(t)})}t.openChat=function(e){return s.get({id:e.id}).$promise.then(function(e){var n=_.find(t.workspaces,{id:e.id,type:"chatRoom"});n?n.active=!0:t.workspaces.push({id:e.id,name:e.ChatVisitor.fullname,type:"chatRoom",class:"icon-bubble",active:!0})}).catch(function(t){console.error(t)})},t.initView=function(){r.activeClass="green-haze",t.id=[],t.query={status:"OPEN",tags:[]},t.gridOptions={enableGridMenu:!1,enableFiltering:!0,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"tags",displayName:"",headerCellTemplate:'',cellClass:"text-center ui-grid-vcenter",cellTemplate:"
",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"id",displayName:"ID",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
#{{row.entity.id}}
",width:75,enableSorting:!0,enableFiltering:!0,enableColumnMenu:!1},{name:"userpic",displayName:"",width:35,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableColumnMenu:!1,enableSorting:!1,enableFiltering:!1},{name:"agent",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.Users[0].fullname}}
',enableSorting:!0,enableFiltering:!0,enableColumnMenu:!0},{name:"fullname",displayName:"APPLICATION_CUSTOMER_NAME",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.ChatVisitor.fullname}}
',enableSorting:!0,enableFiltering:!0,enableColumnMenu:!0},{name:"contact",displayName:"APPLICATION_CUSTOMER_EMAIL",headerCellFilter:"translate"},{name:"website",displayName:"APPLICATION_WEBSITE",headerCellFilter:"translate",cellClass:"text-center"},{name:"disposition",displayName:"APPLICATION_DISPOSITION",headerCellFilter:"translate"},{name:"createdAt",displayName:"APPLICATION_CREATED_AT",headerCellFilter:"translate",cellFilter:"date:'dd/MM/yyyy HH:mm'",width:120,enableFiltering:!1,sort:{direction:c.DESC}},{name:"action",displayName:"APPLICATION_ACTION",headerCellFilter:"translate",cellTemplate:'
',cellClass:"ui-grid-vcenter",width:75,enableFiltering:!1,enableSorting:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(e){t.gridApi=e,t.gridApi.selection&&(t.gridApi.selection.on.rowSelectionChanged(t,function(e){e.isSelected?t.id.push(t.gridApi.grid.options.primaryKey?e.entity[t.gridApi.grid.options.primaryKey]:e.entity.id):_.pull(t.id,t.gridApi.grid.options.primaryKey?e.entity[t.gridApi.grid.options.primaryKey]:e.entity.id)}),t.gridApi.selection.on.rowSelectionChangedBatch(t,function(e){e[0].isSelected?t.id=_.union(t.id,_.map(e,t.gridApi.grid.options.primaryKey?"entity."+t.gridApi.grid.options.primaryKey:"entity.id")):_.map(e,t.gridApi.grid.options.primaryKey?"entity."+t.gridApi.grid.options.primaryKey:"entity.id").forEach(function(e){_.pull(t.id,e)})}))}},t.getPage(),d()},t.tagItems=function(){o.open({animation:!0,templateUrl:"app/channels/chat/room/view.tags.modal.html",controller:"ChatRoomViewModalTagCtrl",resolve:{id:function(){return t.id}}}).result.then(function(){t.gridApi.selection.clearSelectedRows(),t.id=[]})},t.onChanged=function(){t.getPage()},t.$watch("query.status",function(){t.getPage()},!0),t.getPage=function(){return i.spin("spinner-grid"),s.get(_.merge({id:"externals"},t.query)).$promise.then(function(e){t.gridOptions.data=e.rows}).catch(function(t){console.error(t)}).finally(function(){i.stop("spinner-grid")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.room.external.list",{url:"/list",templateUrl:"app/channels/chat/room/external/list/list.html",controller:"ChatRoomExternalListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.room.group",{url:"/group",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("ChatRoomGroupListCtrl",["$scope","$timeout","Auth","ChatRoom","usSpinnerService","Tag","uibButtonConfig","uiGridConstants","$uibModal",function(t,e,n,a,s,i,l,o,r){function c(){return i.get().$promise.then(function(e){t.tags=_.map(e.rows,"name")}).catch(function(t){console.error(t)})}t.getFullnames=function(t){var e=_.without(_.map(t.Users,"fullname"),n.getCurrentUser().fullname);return t.ChatVisitor&&e.unshift(t.ChatVisitor.fullname),e.join(", ")},t.openChat=function(e){return a.get({id:e.id}).$promise.then(function(n){var a=_.find(t.workspaces,{id:n.id,type:"chatRoom"});a?a.active=!0:t.workspaces.push({id:n.id,data:e,name:t.getFullnames(n),type:"chatRoom",class:"icon-bubble",active:!0})}).catch(function(t){console.error(t)})},t.initView=function(){l.activeClass="green-haze",t.id=[],t.query={status:"OPEN",tags:[]},t.currentUser=n.getCurrentUser(),t.gridOptions={enableGridMenu:!1,enableColumnResizing:!0,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"tags",displayName:"",headerCellTemplate:'',cellClass:"text-center ui-grid-vcenter",cellTemplate:"
",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"id",displayName:"ID",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
#{{row.entity.id}}
",width:75,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"userpic",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableColumnMenu:!1,enableSorting:!1,enableFiltering:!1},{name:"Users",displayName:"APPLICATION_MEMBERS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{grid.appScope.getFullnames(row.entity)}}
",enableSorting:!0,enableFiltering:!0,enableColumnMenu:!0},{name:"contact",displayName:"APPLICATION_CUSTOMER_EMAIL",headerCellFilter:"translate"},{name:"website",displayName:"APPLICATION_WEBSITE",headerCellFilter:"translate",cellClass:"text-center"},{name:"disposition",displayName:"APPLICATION_DISPOSITION",headerCellFilter:"translate"},{name:"createdAt",displayName:"APPLICATION_CREATED_AT",headerCellFilter:"translate",cellFilter:"date:'dd/MM/yyyy HH:mm'",width:120,enableFiltering:!1,sort:{direction:o.DESC}},{name:"action",displayName:"APPLICATION_ACTION",headerCellFilter:"translate",cellTemplate:'
',cellClass:"ui-grid-vcenter",width:75,enableFiltering:!1,enableSorting:!1,enableColumnMenu:!1}],data:[]},t.getPage(),c()},t.tagItems=function(){r.open({animation:!0,templateUrl:"app/channels/chat/room/view.tags.modal.html",controller:"ChatRoomViewModalTagCtrl",resolve:{id:function(){return t.id}}}).result.then(function(){t.gridApi.selection.clearSelectedRows(),t.id=[]})},t.onChanged=function(){t.getPage()},t.$watch("query.status",function(){t.getPage()},!0),t.getPage=function(){return s.spin("spinner-grid"),a.get(_.merge({id:"groups"},t.query)).$promise.then(function(e){t.gridOptions.data=e.rows}).catch(function(t){console.error(t)}).finally(function(){s.stop("spinner-grid")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.room.group.list",{url:"/list",templateUrl:"app/channels/chat/room/group/list/list.html",controller:"ChatRoomGroupListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.room.internal",{url:"/internal",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("ChatRoomInternalListCtrl",["$scope","$timeout","socket","Auth","ChatRoom","usSpinnerService",function(t,e,n,a,s,i){t.openChat=function(e){return s.users({users:[a.getCurrentUser().id,e.id]}).$promise.then(function(n){var a=_.find(t.workspaces,{id:n.id,type:"chatRoom"});a?a.active=!0:t.workspaces.push({id:n.id,name:e.fullname,type:"chatRoom",class:"icon-bubble",active:!0})}).catch(function(t){console.error(t)})},t.initView=function(){t.gridOptions={enableGridMenu:!1,enableFiltering:!0,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"userpic",displayName:"",width:35,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableColumnMenu:!1,enableSorting:!1,enableFiltering:!1},{name:"fullname",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",enableSorting:!0,enableFiltering:!0,enableColumnMenu:!0},{name:"action",cellTemplate:'
',cellClass:"ui-grid-vcenter",width:75,enableFiltering:!1,enableSorting:!1,enableColumnMenu:!1}],data:[]},n.socket.on("user:save",function(e){if(e.online&&a.getCurrentUser().id!==e.id){var n=_.find(t.gridOptions.data,{id:e.id});n?_.merge(n,e):t.gridOptions.data.push(e)}else _.remove(t.gridOptions.data,{id:e.id})}),e(function(){n.socket.on("agent:save",function(e){if(e.online&&a.getCurrentUser().id!==e.id){var n=_.find(t.gridOptions.data,{id:e.id});n?_.merge(n,e):t.gridOptions.data.push(e)}else _.remove(t.gridOptions.data,{id:e.id})})}),s.get({id:"agents"}).$promise.then(function(e){t.gridOptions.data=e.rows}).catch(function(t){console.error(t)}).finally(function(){i.stop("spinner-grid")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.room.internal.list",{url:"/list",templateUrl:"app/channels/chat/room/internal/list/list.html",controller:"ChatRoomInternalListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatRoomAddCtrl",["$scope","$uibModalInstance","Agent","items",function(t,e,n,a){t.items=a,t.agents=n.get(function(e){t.agents=e,t.items.forEach(function(e){_.remove(t.agents.rows,{id:e.id})})}),t.selected={items:[]},t.ok=function(){e.close(_.union(_.map(t.selected.items,"id"),_.map(t.items,"id")))},t.cancel=function(){e.dismiss()}}]),angular.module("xCallyShuttleApp").controller("ChatRoomCloseCtrl",["$scope","$uibModalInstance","closed","ChatWebsite","websiteId",function(t,e,n,a,s){t.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE_THE_CHAT"},t.initDisposition=function(){return a.get({websiteId:s,controller:"dispositions"}).$promise.then(function(e){t.dispositions=e.rows}).catch(function(t){console.error(t)})},t.item={},t.closed=n,t.ok=function(){e.close(t.item)},t.cancel=function(){e.dismiss()}}]),angular.module("xCallyShuttleApp").directive("chatRoom",["$interval","$rootScope","$uibModal","$notification","$window","socket","Auth","ChatRoom","ngAudio","xAlert","Tag","CannedAnswer","List","$translate",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m){return{restrict:"E",scope:{workspace:"="},templateUrl:"app/channels/chat/room/room.directive.html",link:function(t){t.user=l.getCurrentUser(),t.message={body:""},t.openContact=function(n){if(t.chatRoom.ChatWebsite.List)return p.save({listId:t.chatRoom.ChatWebsite.List.id,controller:"contacts"},{email:n}).$promise.then(function(t){var n=_.find(e.$root.workspaces,{contactID:t.id});n?n.active=!0:e.$root.workspaces.push({active:!0,class:"icon-user",contactID:t.id,name:t.email,type:"contact"})}).catch(function(t){console.error(t)});c.show(m.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")},t.modelOptions={debounce:{default:500,blur:250},getterSetter:!0},t.form={},t.panelLeft="col-md-4",t.panelRight="col-md-8",t.onSelect=function(){t.message.body=t.modelOptions.selectedAnswer,delete t.modelOptions.selectedAnswer},t.togglePanelLeft=function(){t.panelLeft?(t.panelLeft=null,t.panelRight="col-md-12"):(t.panelLeft="col-md-4",t.panelRight="col-md-8")},t.options={link:!0,linkTarget:"_blank",pdf:{embed:!0},image:{embed:!0},audio:{embed:!0},code:{highlight:!0,lineNumbers:!1},basicVideo:!0},t.getAnswers=function(t){return u.get({key:t}).$promise.then(function(t){return console.log(t),_.map(t.rows,"value")})},t.isMyRoom=function(e){return!!_.find(e,{id:t.user.id})},o.get({id:t.workspace.id}).$promise.then(function(n){t.chatRoom=n,t.form.tags=n.tags,t.chatRoom.ChatVisitor&&(t.chatRoom.ChatVisitors=[],t.chatRoom.ChatVisitors.push(t.chatRoom.ChatVisitor)),i.socket.on("chat_room:save",function(e){t.chatRoom.id===e.id&&_.merge(t.chatRoom,e)}),i.socket.on("user_has_chat_room:save",function(e){if(e.UserId!=t.user.id&&e.ChatRoomId==t.chatRoom.id)return o.get({id:"agents",controller:e.UserId}).$promise.then(function(e){var n=_.map(t.chatRoom.Users,"fullname");t.chatRoom.ChatVisitor&&n.unshift(t.chatRoom.ChatVisitor.fullname),t.chatRoom.Users.push(e),t.workspace.name=_.without(n,l.getCurrentUser().fullname).join(", ")}).catch(function(t){console.error(t)})}),i.socket.on("chat_message:save",function(n){t.chatRoom.id==n.ChatRoomId&&(t.user.id!=n.UserId&&t.chatRoom.ChatMessages.push(n),n.UserId?n.UserId!==l.getCurrentUser().id&&!e.settings.layout.onFocus&&s.Notification&&a("CHAT CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Chat Message!",delay:5e3}):!e.settings.layout.onFocus&&s.Notification&&a("CHAT CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Chat Message!",delay:5e3}),t.workspace.active||(r.load("api/xchatty/assets?resource=notification/xc_blubb.mp3").play(),t.workspace.unread++))})}).catch(function(t){console.error(t)}),d.get().$promise.then(function(e){t.tags=_.map(e.rows,"name")}).catch(function(t){console.error(t)}),t.closeRoom=function(e){return n.open({animation:!0,templateUrl:"app/channels/chat/room/room.close.html",controller:"ChatRoomCloseCtrl",resolve:{closed:function(){return"CLOSED"===t.chatRoom.status},websiteId:function(){return t.chatRoom.ChatWebsiteId}}}).result.then(function(t){var n={id:e,status:"CLOSED",completeReason:"agent"};return t.disposition&&(n.disposition=t.disposition),o.update(n).$promise.catch(function(t){c.error(t)})})},t.onChanged=function(e){return o.update({id:e},{tags:t.form.tags}).$promise.catch(function(t){console.error(t)})},t.addAgent=function(e){n.open({animation:!0,templateUrl:"app/channels/chat/room/room.add.html",controller:"ChatRoomAddCtrl",resolve:{items:function(){return _.map(t.chatRoom.Users||[],function(t){return{id:t.id,fullname:t.fullname}})}}}).result.then(function(t){return o.update({id:e,controller:"users"},{users:t}).$promise.catch(function(t){c.error(t)})})},t.sendMessage=function(){var e={body:angular.copy(t.message.body),createdAt:moment().format(),UserId:t.user.id,User:{fullname:t.user.fullname}};if(t.message.body.trim().length)return t.chatRoom.ChatMessages.push(e),t.message.body="",o.save({id:t.chatRoom.id,controller:"messages"},{body:e.body}).$promise.catch(function(t){console.error(t)})}}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.room",{url:"/room",templateUrl:"app/channels/chat/room/room.html",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:31}},resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("ChatRoomViewModalTagCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Tag","ChatRoom","xAlert","id",function(t,e,n,a,s,i,l,o){t.initModal=function(){return t.tags=[],t.item={tags:[]},t.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{class:"btn-success",text:"APPLICATION_TAG",click:function(){var a={status:!0};return i.patch({id:o},{tags:t.item.tags}).$promise.catch(function(){a.status=!1,l.show(n.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")}).finally(function(){e.close(a)})}},{class:"default",text:"APPLICATION_CANCEL",click:function(t){e.dismiss(t)}}]},s.get().$promise.then(function(e){t.tags=_.map(e.rows,"name")}).catch(function(t){console.error(t)})}}]),angular.module("xCallyShuttleApp").controller("ChatVisitorListCtrl",["$scope","ChatVisitor","gridOptions","$uibModal",function(t,e,n,a){t.initView=function(){var a={exporterCsvFilename:"chat_visitors.csv",columnDefs:[{name:"fullname",cellClass:"text-center"},{name:"email",cellClass:"text-center"},{name:"origin",cellClass:"text-center"},{name:"createdAt",displayName:"createdAt",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
'},{name:"action",width:100,buttons:[{class:"blue-hoki",href:"/channels/chat/visitors/view/{{row.entity.id}}/profile",name:"profile"}]}]};t.gridOptions=n.gridOptions(e,a,t)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.visitors.list",{url:"/list",templateUrl:"app/channels/chat/visitor/list/list.html",controller:"ChatVisitorListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatVisitorViewCtrl",["$scope","$stateParams","ChatVisitor",function(t,e,n){t.initView=function(){return n.get({id:e.id}).$promise.then(function(e){t.chatVisitor=e}).catch(function(t){console.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.visitors.view",{url:"/view/:id",templateUrl:"app/channels/chat/visitor/view/view.html",controller:"ChatVisitorViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.chat.visitors.view.profile",{url:"/profile",templateUrl:"app/channels/chat/visitor/view/view.profile.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.visitors",{url:"/visitors",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").factory("ChatApplication",["$resource",function(t){return t("/api/chat/applications/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatWebsite",["$resource",function(t){return t("/api/chat/websites/:websiteId/:controller/:id",{id:"@websiteId"},{update:{method:"PUT"},updateFields:{method:"PUT",isArray:!0}})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteListCtrl",["$scope","gridOptions","ChatWebsite",function(t,e,n){t.initView=function(){var a={exporterCsvFilename:"chat_websites.csv",columnDefs:[{name:"name"},{name:"description"},{name:"address"},{name:"action",width:75,buttons:[{class:"blue-hoki",href:"/channels/chat/websites/view/{{row.entity.id}}/embedding/view",name:"embedding"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=e.gridOptions(n,a,t)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.websites.list",{url:"/list",templateUrl:"app/channels/chat/website/list/list.html",controller:"ChatWebsiteListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.websites.view.actions",{url:"/actions",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewActionListCtrl",["$scope","gridOptions","ChatWebsite","$http","$translate","$stateParams","socket","xAlert","Modal",function(t,e,n,a,s,i,l,o,r){t.initActons=function(){var a={draggable:!0,exporterCsvFilename:"chat_applications.csv",enableSorting:!1,enableFiltering:!1,columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.ChatQueue ? row.entity.ChatQueue.name : row.entity.User.name}}
"},{name:"timeout",cellClass:"text-center"},{name:"interval",displayName:"APPLICATION_TIME_INTERVAL",cellClass:"text-center",cellTemplate:"
{{row.entity.Interval ? row.entity.Interval.name : row.entity.interval}}
"},{name:"action",width:125,buttons:[{class:"blue-hoki",href:"/channels/chat/websites/view/{{row.entity.ChatWebsiteId}}/actions/view/{{row.entity.id}}",name:"profile"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};t.gridOptions=e.gridOptions(n,a,t,{websiteId:i.websiteId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.websites.view.actions.list",{url:"/list",templateUrl:"app/channels/chat/website/view/action/list/list.html",controller:"ChatWebsiteViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","ChatWebsite","ChatQueue","Agent","Interval","Template","MailAccount","SmsAccount",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h,f){t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.initAction=function(){return t.$application=r.application,t.$stateParams=n,t.$interval=c.interval,t.forms={},t.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"},{name:"SendSMS",value:"sendSms"}],d.get({websiteId:n.websiteId,controller:"applications",id:n.actionId}).$promise.then(function(e){if(t.application=e,t.application.alwaysTime=!1,t.application.IntervalId)t.application.intType="list";else switch(t.application.interval){case"*,*,*,*":t.application.intType="always";break;default:t.application.intType="custom"}if("always"===t.application.intType||"custom"===t.application.intType){var n=t.application.interval.split(",");"*"===n[0]?t.application.alwaysTime=!0:(t.application.t_from=moment(new Date),t.application.t_to=moment(new Date),t.application.t_from.hour(n[0].split("-")[0].split(":")[0]),t.application.t_from.minute(n[0].split("-")[0].split(":")[1]),t.application.t_to.hour(n[0].split("-")[1].split(":")[0]),t.application.t_to.minute(n[0].split("-")[1].split(":")[1])),"*"===n[1]?(t.application.wd_from="always",t.application.wd_to="always"):(t.application.wd_from=n[1].split("-")[0],t.application.wd_to=n[1].split("-")[1]),"*"===n[2]?(t.application.md_from="always",t.application.md_to="always"):(t.application.md_from=n[2].split("-")[0],t.application.md_to=n[2].split("-")[1]),"*"===n[3]?(t.application.m_from="always",t.application.m_to="always"):(t.application.m_from=n[3].split("-")[0],t.application.m_to=n[3].split("-")[1])}t.$watch("application.t_from",function(e){t.application.t_from_hm=moment(e).format("HH:mm")}),t.$watch("application.t_to",function(e){t.application.t_to_hm=moment(e).format("HH:mm")})}).catch(function(t){i.error(t)})},t.getQueues=function(){return u.get().$promise.then(function(e){t.queues=e.rows}).catch(function(t){i.error(t)})},t.getAgents=function(){return p.get().$promise.then(function(e){t.agents=e.rows}).catch(function(t){i.error(t)})},t.getIntervals=function(){return m.get().$promise.then(function(e){t.intervals=e.rows}).catch(function(t){i.error(t)})},t.getSmsAccounts=function(){return f.get().$promise.then(function(e){t.smsAccounts=e.rows}).catch(function(t){console.error(t)})},t.getTemplates=function(){return g.get().$promise.then(function(e){t.templates=e.rows}).catch(function(t){console.error(t)})},t.getMailAccounts=function(){return h.get({custom:!0}).$promise.then(function(e){t.mailAccounts=e.rows}).catch(function(t){console.error(t)})},t.updateItem=function(){switch(t.application.intType){case"always":t.application.interval="*,*,*,*",t.application.IntervalId=null;break;case"list":var e=_.find(t.intervals,{id:t.application.IntervalId});t.application.interval=e?"":"*,*,*,*",t.application.IntervalId=e?t.application.IntervalId:null;break;case"custom":var l,o,r,c,u;l=t.application.t_from&&t.application.t_to&&!t.application.alwaysTime?moment(t.application.t_from).format("HH:mm")+"-"+moment(t.application.t_to).format("HH:mm"):"*",t.application.wd_from&&"always"!==t.application.wd_from?(o=t.application.wd_from,t.application.wd_to&&"always"!==t.application.wd_to&&(o+="-"+t.application.wd_to)):o="*",t.application.md_from&&"always"!==t.application.md_from?(r=t.application.md_from,t.application.md_to&&"always"!==t.application.md_to&&(r+="-"+t.application.md_to)):r="*",t.application.m_from&&"always"!==t.application.m_from?(c=t.application.m_from,t.application.m_to&&"always"!==t.application.m_to&&(c+="-"+t.application.m_to)):c="*",u=l+","+o+","+r+","+c,t.application.interval=u,t.application.IntervalId=null}return d.update({websiteId:n.websiteId,controller:"applications",id:n.actionId},t.application).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success"),s.path("/channels/chat/websites/view/"+n.websiteId+"/actions/list")}).catch(function(t){i.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.websites.view.actions.view",{url:"/view/:actionId",templateUrl:"app/channels/chat/website/view/action/view/view.html",controller:"ChatWebsiteViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewActionWizardCtrl",["$scope","$http","Agent","Interval","ChatQueue","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","ChatWebsite","Template","MailAccount","SmsAccount",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h,f){t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.initWizard=function(){t.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"},{name:"SendSMS",value:"sendSms"}],t.$application=u.application,t.$stateParams=i,t.$interval=p.interval,t.forms={},t.application={app:"queue",intType:"always",alwaysTime:!0},t.$watch("application.t_from",function(e){t.application.t_from_hm=moment(e).format("HH:mm")}),t.$watch("application.t_to",function(e){t.application.t_to_hm=moment(e).format("HH:mm")})},t.getQueues=function(){return s.get().$promise.then(function(e){t.queues=e.rows}).catch(function(t){console.error(t)})},t.getAgents=function(){return n.get().$promise.then(function(e){t.agents=e.rows}).catch(function(t){r.error(t)})},t.getIntervals=function(){return a.get().$promise.then(function(e){t.intervals=e.rows}).catch(function(t){r.error(t)})},t.getSmsAccounts=function(){return f.get().$promise.then(function(e){t.smsAccounts=e.rows}).catch(function(t){console.error(t)})},t.getTemplates=function(){return g.get().$promise.then(function(e){t.templates=e.rows}).catch(function(t){console.error(t)})},t.getMailAccounts=function(){return h.get().$promise.then(function(e){t.mailAccounts=e.rows}).catch(function(t){console.error(t)})},t.createItem=function(){switch(t.application.intType){case"always":t.application.interval="*,*,*,*",t.application.IntervalId=null;break;case"list":var e=_.find(t.intervals,{id:t.application.IntervalId});t.application.interval=e?"":"*,*,*,*",t.application.IntervalId=e?t.application.IntervalId:null;break;case"custom":var n,a,s,c,d;n=t.application.t_from&&t.application.t_to&&!t.application.alwaysTime?moment(t.application.t_from).format("HH:mm")+"-"+moment(t.application.t_to).format("HH:mm"):"*",t.application.wd_from&&"always"!==t.application.wd_from?(a=t.application.wd_from,t.application.wd_to&&"always"!==t.application.wd_to&&(a+="-"+t.application.wd_to)):a="*",t.application.md_from&&"always"!==t.application.md_from?(s=t.application.md_from,t.application.md_to&&"always"!==t.application.md_to&&(s+="-"+t.application.md_to)):s="*",t.application.m_from&&"always"!==t.application.m_from?(c=t.application.m_from,t.application.m_to&&"always"!==t.application.m_to&&(c+="-"+t.application.m_to)):c="*",d=n+","+a+","+s+","+c,t.application.interval=d,t.application.IntervalId=null}return m.save({websiteId:i.websiteId,controller:"applications"},t.application).$promise.then(function(){r.show(l.instant("MESSAGE_WELL_DONE"),"success"),o.path("/channels/chat/websites/view/"+i.websiteId+"/actions/list")}).catch(function(t){r.error(t)})},t.formValidation=function(t){return t},t.next=function(){c.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.websites.view.actions.wizard",{url:"/wizard",templateUrl:"app/channels/chat/website/view/action/wizard/wizard.html",controller:"ChatWebsiteViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("ChatDisposition",["$resource",function(t){return t("/api/chat/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewModalDispositionAddCtrl",["$scope","$uibModalInstance","ChatWebsite","id","xAlert","$translate",function(t,e,n,a,s,i){t.ok=function(){return n.save({websiteId:a,controller:"dispositions"},{name:t.name}).$promise.then(function(t){e.close(t)}).catch(function(t){s.show(i.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteDispositionViewCtrl",["$scope","$stateParams","$uibModal","$translate","ChatWebsite","xAlert",function(t,e,n,a,s,i){t.initView=function(){return s.get({websiteId:e.websiteId,controller:"dispositions"}).$promise.then(function(e){t.dispositions=e.rows}).catch(function(t){console.error(t),i.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},t.updateDisposition=function(t,n){return s.update({websiteId:e.websiteId,controller:"dispositions",id:t},{name:n}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){console.error(t),i.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},t.deleteDisposition=function(n){return console.log("delete"),s.remove({websiteId:e.websiteId,controller:"dispositions",id:n}).$promise.then(function(){_.remove(t.dispositions,{id:n})}).catch(function(t){console.error(t),i.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},t.addDisposition=function(){return n.open({animation:!0,templateUrl:"app/channels/chat/website/view/disposition/modal/add.modal.html",controller:"ChatWebsiteViewModalDispositionAddCtrl",resolve:{id:function(){return e.websiteId}}}).result.then(function(e){e&&t.dispositions.push(e)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.websites.view.dispositions",{url:"/dispositions",controller:"ChatWebsiteDispositionViewCtrl",templateUrl:"app/channels/chat/website/view/disposition/view/view.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.websites.view.embedding",{url:"/embedding",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewEmbeddingViewCtrl",["$scope","$stateParams","$translate","clipboard","xAlert","ChatWebsite",function(t,e,n,a,s,i){t.initView=function(){return i.get({websiteId:e.websiteId,controller:"snippet"}).$promise.then(function(e){t.snippetCode=e.html}).catch(function(t){s.error(t)})},t.copyToClipboard=function(){a.copyText(t.snippetCode),s.show(n.instant("MESSAGE_TEXT_COPIED_CLIPBOARD")+"!","success")}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.websites.view.embedding.view",{url:"/view",templateUrl:"app/channels/chat/website/view/embedding/view/view.html",controller:"ChatWebsiteViewEmbeddingViewCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.websites.view.form",{url:"/forms",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewFormViewCtrl",["$scope","$builder","$validator","$stateParams","$translate","ChatWebsite","xAlert",function(t,e,n,a,s,i,l){t.saveForm=function(t){var n=angular.copy(e.forms[t]);return n.length>3?l.show("You can insert at least 3 input elements","danger"):(_.forEach(n,function(t){delete t.id}),i.updateFields({websiteId:a.websiteId,controller:"fields",id:t},n).$promise.then(function(){l.show(s.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){l.error(t)}))},t.getChatWebsiteFields=function(t){return i.query({websiteId:a.websiteId,controller:"fields",id:t}).$promise.then(function(n){_.forEach(n,function(n){e.addFormObject(t,n)})}).catch(function(t){l.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.websites.view.form.view",{url:"/view",templateUrl:"app/channels/chat/website/view/form/view/view.html",controller:"ChatWebsiteViewFormViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteHooksViewCtrl",["$scope","ChatWebsite","Pause","$http","$stateParams","$translate","$location","xAlert",function(t,e,n,a,s,i,l,o){t.account={},t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.CONST_TIMEOUT=3e4,t.initView=function(){t.types=[{value:"",name:"-- None --"},{name:"HTTP GET",value:"GET"},{name:"HTTP POST",value:"POST"}],n.get().$promise.then(function(e){t.pauses=e.rows}).catch(function(t){o.error(t)}),e.get({id:s.websiteId}).$promise.then(function(e){console.log(e),t.account=e,t.account.actions.length<1&&t.account.actions.push({action:"pause",enabled:!1,type:null})}).catch(function(t){o.error(t)})},t.resetActionData=function(t){t.type=null},t.updateItem=function(){return console.log(t.account),e.update({id:s.websiteId},t.account).$promise.then(function(){o.show(i.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){o.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.websites.view.hooks",{url:"/hooks",controller:"ChatWebsiteHooksViewCtrl",templateUrl:"app/channels/chat/website/view/hooks/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewProactiveListCtrl",["$scope","gridOptions","ChatWebsite","$http","$translate","$stateParams","$uibModal",function(t,e,n,a,s,i,l){t.initProactiveActions=function(){var a={exporterCsvFilename:"telephones.csv",columnDefs:[{name:"name"},{name:"type"},{name:"action",width:125,buttons:[{class:"blue-hoki",onClick:"grid.appScope.createItem(row.entity)",name:"profile"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=e.gridOptions(n,a,t,{websiteId:i.websiteId,controller:"proactive"})},t.createItem=function(e){l.open({animation:!0,templateUrl:"app/channels/chat/website/view/proactive/list/list.create.modal.html",controller:"ChatWebsiteProactiveListCreateCtrl",resolve:{item:e}}).result.then(function(){t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteProactiveListCreateCtrl",["$scope","$translate","$uibModalInstance","$stateParams","ChatWebsite","xAlert","item",function(t,e,n,a,s,i,l){t.form={},t.item=l||{},t.title=l?e.instant("APPLICATION_EDIT_PROACTIVE_ACTION"):e.instant("APPLICATION_NEW_PROACTIVE_ACTION"),t.possibleType=[{type:"mouseOver",title:"Mouse Over"},{type:"timeout",title:"Timeout"}],t.save=function(){return l?s.update({websiteId:a.websiteId,controller:"proactive",id:t.item.id},t.item).$promise.then(function(t){i.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t)}).catch(function(t){i.error(t)}):s.save({websiteId:a.websiteId,controller:"proactive"},t.item).$promise.then(function(t){i.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t)}).catch(function(t){i.error(t)})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.websites.view.proactive.list",{url:"/list",templateUrl:"app/channels/chat/website/view/proactive/list/list.html",controller:"ChatWebsiteViewProactiveListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.websites.view.proactive",{url:"/proactive",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteSettingViewCtrl",["$scope","$stateParams","$translate","$location","$timeout","socket","xAlert","ChatWebsite","List",function(t,e,n,a,s,i,l,o,r){t.initView=function(){return r.get().$promise.then(function(e){t.lists=e.rows}).catch(function(t){console.error(t)})},t.updateItemChatWebsite=function(){return o.update({id:e.websiteId},{ListId:t.chatWebsite.ListId}).$promise.then(function(){l.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){l.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.websites.view.settings",{url:"/settings",controller:"ChatWebsiteSettingViewCtrl",templateUrl:"app/channels/chat/website/view/setting/view/view.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.websites.view.snippet",{url:"/snippet",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewSnippetViewCtrl",["$scope","$http","$stateParams","$translate","Template","$rootScope","FileUploader","$cookieStore","xAlert","ChatWebsite","MailAccount",function(t,e,n,a,s,i,l,o,r,c,d){t.$translate=a,t.isServiceMailAccount=!1,t.statePreview={state:"online"},t.radioSwitch={isActive:!!i.license.custom,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"};var u=t.uploader=new l({url:"api/chat/websites/"+n.websiteId+"/logo",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+o.get("token")}});u.filters.push({name:"imageFilter",fn:function(t){var e="|"+t.type.slice(t.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(e)}}),u.onSuccessItem=function(e,n){t.chatWebsite.logo=n.logo,r.show(a.instant("MESSAGE_WELL_DONE"),"success")},u.onErrorItem=function(){r.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},u.onCompleteAll=function(){u.clearQueue()},t.enquirySwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.fidelitySwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.lang={HeaderCurrentlyChatting:"Live Chat",HeaderOffline:"Contact us",OperatorOfflineMessage:"It appears as if all operators are currently offline.",OfflineMessage:"We're not online.
It doesn't mean we're not there to help - leave your message below and we'll be in touch as soon as possible.",EnquiryMessagePlaceholder:"Your message...",EnquiryButtonText:"Leave message",EnquirySubmitSuccess:"Your message was sucessfully submitted - we will contact you as soon as possible.",OperatorComposing:"{fullname} is typing...",FirstMessageText:"",ExitChatButtonText:"Exit Chat",ExitChatQuestionText:"Are you sure?",ExitChatButtonConfirmText:"Yes",ExitChatButtonCancelText:"No",MessagePlaceholderText:"Your message...",MessageSendButtonText:"Send",ValidationEmailRequired:"Please enter your email address",ValidationEmailInvalid:"Please enter a valid email address",ValidationEmailMaxLength:"The email address may not exceed 85 characters",ValidationUsernameRequired:"Please enter your name",ValidationUsernameMaxLength:"The name may not exceed 45 characters",ValidationEnquiryRequired:"Please enter your enquiry",ValidationEnquiryMaxLength:"The enquiry may not exceed 1500 characters",ValidationMessageRequired:"Please enter your message",ValidationMessageMaxLength:"The message may not exceed 750 characters"},t.initView=function(){return c.get({id:n.websiteId}).$promise.then(function(e){return t.chatWebsite=e,s.get().$promise}).then(function(e){t.templates=e.rows}).catch(function(t){r.error(t)})},t.getServiceMailAccount=function(){return d.get({accountId:"service"}).$promise.then(function(){t.isServiceMailAccount=!0}).catch(function(){t.isServiceMailAccount=!1})},t.updateItem=function(){return c.update({id:t.chatWebsite.id},t.chatWebsite).$promise.then(function(){r.show(a.instant("MESSAGE_CHAT_WEBSITE_UPDATE_SUCCESS")+"!","success")}).catch(function(t){r.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.websites.view.snippet.view",{url:"/view",templateUrl:"app/channels/chat/website/view/snippet/view/view.html",controller:"ChatWebsiteViewSnippetViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewCtrl",["$scope","xAlert","$http","$location","$stateParams","$translate","WizardHandler","ChatApplication","ChatWebsite",function(t,e,n,a,s,i,l,o,r){t.initView=function(){return r.get({id:s.websiteId}).$promise.then(function(e){t.chatWebsite=e}).catch(function(t){e.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.websites.view",{url:"/view/:websiteId",templateUrl:"app/channels/chat/website/view/view.html",controller:"ChatWebsiteViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.websites",{url:"/websites",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:29}}})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert","ChatWebsite",function(t,e,n,a,s,i,l){t.$translate=a,t.next=function(){s.wizard().next()},t.exitValidation=function(t){return t},t.initWizard=function(){t.forms={formSetting:void 0,formAppearance:void 0,formLabel:void 0,formFunctionality:void 0},t.item={},t.item.remote=n.protocol()+"://"+location.host,t.item.color="#000080",t.item.color_focus="#000080",t.item.color_button="#000080",t.item.header_shape="rounded",t.item.animation=!0,t.item.header_online="We are here!",t.item.online_message="Questions?
Insert your name and email address to start a live-chat with our support team.",t.item.name_title="Name",t.item.username_placeholder="Your name",t.item.email_title="Email Address",t.item.email_placeholder="Your e-mail address",t.item.start_chat_button="Chat",t.item.rating_message="Would you like rate this chat?",t.item.rating_send="Send",t.item.rating_skip="Skip",t.item.header_offline="Contact us",t.item.offline_message="We're not online.
It doesn't mean we're not there to help - leave your message below and we'll be in touch as soon as possible.",t.item.message_title="Message",t.item.enquiry_message_placeholder="Your message...",t.item.enquiry_button="Leave message",t.item.agents_busy="In this moment all agents are busy. Try again!",t.item.download_transcript=!0},t.createItem=function(){return l.save(t.item).$promise.then(function(){i.show(a.instant("MESSAGE_CHAT_WEBSITE_CREATE_SUCCESS"),"success"),n.path("/channels/chat/websites/list")}).catch(function(t){i.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.chat.websites.wizard",{url:"/wizard",templateUrl:"app/channels/chat/website/wizard/wizard.html",controller:"ChatWebsiteWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.accounts",{url:"/accounts",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:38}}})}]),angular.module("xCallyShuttleApp").controller("FaxAccountListCtrl",["$scope","$uibModal","gridOptions","FaxAccount",function(t,e,n,a){t.initView=function(){var e={exporterCsvFilename:"chat_websites.csv",columnDefs:[{name:"name"},{name:"description"},{name:"localstationid"},{name:"TrunkName",displayName:"APPLICATION_TRUNK"},{name:"action",width:75,buttons:[{class:"blue-hoki",href:"/channels/fax/accounts/view/{{row.entity.id}}/settings",name:"settings"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=n.gridOptions(a,e,t)},t.createItem=function(){e.open({animation:!0,templateUrl:"app/channels/fax/account/list/list.create.modal.html",controller:"FaxAccountListCreateCtrl"}).result.then(function(){t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("FaxAccountListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","FaxAccount","Trunk",function(t,e,n,a,s,i){t.initWizard=function(){return t.form={},t.item={},t.trunks=[],i.get().$promise.then(function(e){t.trunks=e.rows}).catch(function(t){a.error(t)})},t.save=function(){return s.save(t.item).$promise.then(function(t){a.show(n.instant("MESSAGE_WELL_DONE"),"success"),e.close(t)}).catch(function(t){a.error(t)})},t.cancel=function(){e.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.accounts.list",{url:"/list",templateUrl:"app/channels/fax/account/list/list.html",controller:"FaxAccountListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.accounts.view.actions",{url:"/actions",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("FaxAccountViewActionListCtrl",["$scope","gridOptions","FaxAccount","$http","$translate","$stateParams",function(t,e,n,a,s,i){t.initActons=function(){var a={draggable:!0,exporterCsvFilename:"fax_applications.csv",enableSorting:!1,enableFiltering:!1,columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.app == "queue" ? row.entity.FaxQueue.name : row.entity.User.name}}
'},{name:"timeout",cellClass:"text-center"},{name:"interval",displayName:"APPLICATION_TIME_INTERVAL",cellClass:"text-center",cellTemplate:"
{{row.entity.Interval ? row.entity.Interval.name : row.entity.interval}}
"},{name:"action",width:125,buttons:[{class:"blue-hoki",href:"/channels/fax/accounts/view/{{row.entity.FaxAccountId}}/actions/view/{{row.entity.id}}",name:"profile"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};t.gridOptions=e.gridOptions(n,a,t,{accountId:i.accountId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.accounts.view.actions.list",{url:"/list",templateUrl:"app/channels/fax/account/view/action/list/list.html",controller:"FaxAccountViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxAccountViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","Agent","Interval","FaxQueue","FaxAccount","Template","MailAccount","SmsAccount",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h,f){t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.initAction=function(){return t.$application=r.application,t.$stateParams=n,t.$interval=c.interval,t.forms={},t.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"},{name:"SendSMS",value:"sendSms"}],m.get({accountId:n.accountId,controller:"applications",id:n.actionId}).$promise.then(function(e){if(t.application=e,t.application.alwaysTime=!1,t.application.IntervalId)t.application.intType="list";else switch(t.application.interval){case"*,*,*,*":t.application.intType="always";break;default:t.application.intType="custom"}if("always"===t.application.intType||"custom"===t.application.intType){var n=t.application.interval.split(",");"*"===n[0]?t.application.alwaysTime=!0:(t.application.t_from=moment(new Date),t.application.t_to=moment(new Date),t.application.t_from.hour(n[0].split("-")[0].split(":")[0]),t.application.t_from.minute(n[0].split("-")[0].split(":")[1]),t.application.t_to.hour(n[0].split("-")[1].split(":")[0]),t.application.t_to.minute(n[0].split("-")[1].split(":")[1])),"*"===n[1]?(t.application.wd_from="always",t.application.wd_to="always"):(t.application.wd_from=n[1].split("-")[0],t.application.wd_to=n[1].split("-")[1]),"*"===n[2]?(t.application.md_from="always",t.application.md_to="always"):(t.application.md_from=n[2].split("-")[0],t.application.md_to=n[2].split("-")[1]),"*"===n[3]?(t.application.m_from="always",t.application.m_to="always"):(t.application.m_from=n[3].split("-")[0],t.application.m_to=n[3].split("-")[1])}t.$watch("application.t_from",function(e){t.application.t_from_hm=moment(e).format("HH:mm")}),t.$watch("application.t_to",function(e){t.application.t_to_hm=moment(e).format("HH:mm")})}).catch(function(t){i.error(t)})},t.getQueues=function(){return p.get().$promise.then(function(e){t.queues=e.rows}).catch(function(t){console.error(t)})},t.getAgents=function(){return d.get().$promise.then(function(e){t.agents=e.rows}).catch(function(t){console.error(t)})},t.getIntervals=function(){return u.get().$promise.then(function(e){t.intervals=e.rows}).catch(function(t){console.error(t)})},t.getSmsAccounts=function(){return f.get().$promise.then(function(e){t.smsAccounts=e.rows}).catch(function(t){console.error(t)})},t.getTemplates=function(){return g.get().$promise.then(function(e){t.templates=e.rows}).catch(function(t){console.error(t)})},t.getMailAccounts=function(){return h.get().$promise.then(function(e){t.mailAccounts=e.rows}).catch(function(t){console.error(t)})},t.updateItem=function(){switch(t.application.intType){case"always":t.application.interval="*,*,*,*",t.application.IntervalId=null;break;case"list":var e=_.find(t.intervals,{id:t.application.IntervalId});t.application.interval=e?"":"*,*,*,*",t.application.IntervalId=e?t.application.IntervalId:null;break;case"custom":var l,o,r,c,d;l=t.application.t_from&&t.application.t_to&&!t.application.alwaysTime?moment(t.application.t_from).format("HH:mm")+"-"+moment(t.application.t_to).format("HH:mm"):"*",t.application.wd_from&&"always"!==t.application.wd_from?(o=t.application.wd_from,t.application.wd_to&&"always"!==t.application.wd_to&&(o+="-"+t.application.wd_to)):o="*",t.application.md_from&&"always"!==t.application.md_from?(r=t.application.md_from,t.application.md_to&&"always"!==t.application.md_to&&(r+="-"+t.application.md_to)):r="*",t.application.m_from&&"always"!==t.application.m_from?(c=t.application.m_from,t.application.m_to&&"always"!==t.application.m_to&&(c+="-"+t.application.m_to)):c="*",d=l+","+o+","+r+","+c,t.application.interval=d,t.application.IntervalId=null}return m.update({accountId:n.accountId,controller:"applications",id:n.actionId},t.application).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success"),s.path("/channels/fax/accounts/view/"+n.accountId+"/actions/list")}).catch(function(t){i.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.accounts.view.actions.view",{url:"/view/:actionId",templateUrl:"app/channels/fax/account/view/action/view/view.html",controller:"FaxAccountViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxAccountViewActionWizardCtrl",["$scope","$http","Agent","FaxQueue","Interval","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","FaxAccount","Template","MailAccount","SmsAccount",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h,f){t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.initWizard=function(){t.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"},{name:"SendSMS",value:"sendSms"}],t.$application=u.application,t.$stateParams=i,t.$interval=p.interval,t.forms={},t.application={alwaysTime:!0},t.$watch("application.t_from",function(e){t.application.t_from_hm=moment(e).format("HH:mm")}),t.$watch("application.t_to",function(e){t.application.t_to_hm=moment(e).format("HH:mm")})},t.getQueues=function(){return a.get().$promise.then(function(e){t.queues=e.rows}).catch(function(t){console.error(t)})},t.getAgents=function(){return n.get().$promise.then(function(e){t.agents=e.rows}).catch(function(t){console.error(t)})},t.getIntervals=function(){return s.get().$promise.then(function(e){t.intervals=e.rows}).catch(function(t){console.error(t)})},t.getSmsAccounts=function(){return f.get().$promise.then(function(e){t.smsAccounts=e.rows}).catch(function(t){console.error(t)})},t.getTemplates=function(){return g.get().$promise.then(function(e){t.templates=e.rows}).catch(function(t){console.error(t)})},t.getMailAccounts=function(){return h.get().$promise.then(function(e){t.mailAccounts=e.rows}).catch(function(t){console.error(t)})},t.createItem=function(){switch(t.application.intType){case"always":t.application.interval="*,*,*,*",t.application.IntervalId=null;break;case"list":var e=_.find(t.intervals,{id:t.application.IntervalId});t.application.interval=e?"":"*,*,*,*",t.application.IntervalId=e?t.application.IntervalId:null;break;case"custom":var n,a,s,c,d;n=t.application.t_from&&t.application.t_to&&!t.application.alwaysTime?moment(t.application.t_from).format("HH:mm")+"-"+moment(t.application.t_to).format("HH:mm"):"*",t.application.wd_from&&"always"!==t.application.wd_from?(a=t.application.wd_from,t.application.wd_to&&"always"!==t.application.wd_to&&(a+="-"+t.application.wd_to)):a="*",t.application.md_from&&"always"!==t.application.md_from?(s=t.application.md_from,t.application.md_to&&"always"!==t.application.md_to&&(s+="-"+t.application.md_to)):s="*",t.application.m_from&&"always"!==t.application.m_from?(c=t.application.m_from,t.application.m_to&&"always"!==t.application.m_to&&(c+="-"+t.application.m_to)):c="*",d=n+","+a+","+s+","+c,t.application.interval=d,t.application.IntervalId=null}return m.save({accountId:i.accountId,controller:"applications"},t.application).$promise.then(function(){r.show(l.instant("MESSAGE_WELL_DONE"),"success"),o.path("/channels/fax/accounts/view/"+i.accountId+"/actions/list")}).catch(function(t){r.error(t)})},t.formValidation=function(t){return t},t.next=function(){c.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.accounts.view.actions.wizard",{url:"/wizard",templateUrl:"app/channels/fax/account/view/action/wizard/wizard.html",controller:"FaxAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("FaxDisposition",["$resource",function(t){return t("/api/fax/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewModaDispositionAddCtrl",["$scope","$uibModalInstance","FaxAccount","id","xAlert",function(t,e,n,a,s){t.ok=function(){return n.save({accountId:a,controller:"dispositions"},{name:t.name}).$promise.then(function(t){e.close(t)}).catch(function(t){s.error(t)})},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("FaxAccountDispositionViewCtrl",["$scope","$stateParams","$uibModal","$translate","FaxAccount","xAlert",function(t,e,n,a,s,i){t.initView=function(){return s.get({accountId:e.accountId,controller:"dispositions"}).$promise.then(function(e){t.dispositions=e.rows}).catch(function(t){i.error(t)})},t.updateDisposition=function(t,n){return s.update({accountId:e.accountId,controller:"dispositions",id:t},{name:n}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){i.error(t)})},t.deleteDisposition=function(n){return s.remove({accountId:e.accountId,controller:"dispositions",id:n}).$promise.then(function(){_.remove(t.dispositions,{id:n})}).catch(function(t){i.error(t)})},t.addDisposition=function(){return n.open({animation:!0,templateUrl:"app/channels/fax/account/view/disposition/modal/add.modal.html",controller:"FaxInboxViewModaDispositionAddCtrl",resolve:{id:function(){return e.accountId}}}).result.then(function(e){e&&t.dispositions.push(e)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.accounts.view.dispositions",{url:"/dispositions",controller:"FaxAccountDispositionViewCtrl",templateUrl:"app/channels/fax/account/view/disposition/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("FaxAccountHooksViewCtrl",["$scope","FaxAccount","Pause","$http","$stateParams","clipboard","$translate","$location","xAlert","List",function(t,e,n,a,s,i,l,o,r,c){t.account={},t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.CONST_TIMEOUT=3e4,t.initView=function(){t.types=[{value:"",name:"-- None --"},{name:"HTTP GET",value:"GET"},{name:"HTTP POST",value:"POST"}],n.get().$promise.then(function(e){t.pauses=e.rows}).catch(function(t){r.error(t)}),e.get({id:s.accountId}).$promise.then(function(e){t.account=e,t.account.actions.length<1&&t.account.actions.push({action:"pause",enabled:!1,type:null})}).catch(function(t){r.error(t)})},t.resetActionData=function(t){t.type=null},t.updateItemFaxAccount=function(){return console.log(t.account),e.update({id:s.accountId},t.account).$promise.then(function(){r.show(l.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){r.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.accounts.view.hooks",{url:"/hooks",controller:"FaxAccountHooksViewCtrl",templateUrl:"app/channels/fax/account/view/hooks/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("FaxAccountSettingViewCtrl",["$scope","$stateParams","$translate","FaxAccount","List","Trunk","xAlert",function(t,e,n,a,s,i,l){t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.initView=function(){return t.rate=["2400","4800","7200","9600","12000","14400"],t.techs=["SIP","IAX","DADHI","KHOMP"],i.get().$promise.then(function(e){t.trunks=e.rows}).catch(function(t){l.error(t)}),s.get().$promise.then(function(e){t.lists=e.rows}).catch(function(t){l.error(t)}),a.get({id:e.accountId}).$promise.then(function(e){t.account=e}).catch(function(t){l.error(t)})},t.updateItemFaxAccount=function(){return a.update({id:e.accountId},t.account).$promise.then(function(){l.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){l.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.accounts.view.settings",{url:"/settings",controller:"FaxAccountSettingViewCtrl",templateUrl:"app/channels/fax/account/view/setting/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("FaxAccountViewCtrl",["$scope","$http","$stateParams","$translate","$location","WizardHandler","socket","xAlert","Modal","FaxAccount",function(t,e,n,a,s,i,l,o,r,c){t.initView=function(){return c.get({id:n.accountId}).$promise.then(function(e){t.account=e}).catch(function(t){o.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.accounts.view",{url:"/view/:accountId",templateUrl:"app/channels/fax/account/view/view.html",controller:"FaxAccountViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}})}]),angular.module("xCallyShuttleApp").controller("FaxAccountWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler","Trunk","FaxAccount",function(t,e,n,a,s,i,l,o){t.translate=a,t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.initWizard=function(){return t.$translate=a,t.forms={},t.item={},t.rate=["2400","4800","7200","9600","12000","14400"],t.techs=["SIP","IAX","DADHI","KHOMP"],t.item.headerinfo="xCALLY Motion Fax",t.item.ecm="yes",t.item.minrate="4800",t.item.maxrate="14400",t.item.modem="v17,v27,v29",t.item.gateway="no",t.item.faxdetect="no",t.item.t38timeout=5e3,t.item.tech="SIP",l.get().$promise.then(function(e){t.trunks=e.rows}).catch(function(t){s.error(t)})},t.next=function(){i.wizard().next()},t.previous=function(){i.wizard().previous()},t.exitValidation=function(t){return t},t.createItem=function(){return o.save(t.item).$promise.then(function(t){s.show(a.instant("MESSAGE_WELL_DONE"),"success"),n.path("/channels/fax/accounts/list")}).catch(function(t){s.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.accounts.wizard",{url:"/wizard",templateUrl:"app/channels/fax/account/wizard/wizard.html",controller:"FaxAccountWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax",{url:"/fax",template:"
",abstract:!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").factory("FaxAccount",["$resource",function(t){return t("/api/fax/accounts/:accountId/:controller/:id",{id:"@accountId"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("FaxAttachment",["$resource",function(t){return t("/api/fax/attachments/:id/:controller",{id:"@id"})}]),angular.module("xCallyShuttleApp").factory("FaxMessage",["$resource",function(t){return t("/api/fax/messages/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("FaxReport",["$resource",function(t){return t("/api/report/faxs/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("FaxRoom",["$resource",function(t){return t("/api/fax/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.inbox",{url:"/inbox",template:"
",abstract:!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:40}}})}]),angular.module("xCallyShuttleApp").controller("FaxInboxInfoModalCtrl",["$scope","$translate","$uibModalInstance","$stateParams","xAlert","messageId","FaxMessage",function(t,e,n,a,s,i,l){t.data=null,t.initInfo=function(){l.get({id:i}).$promise.then(function(e){t.data={channel:e.channel,channelstate:e.channelstate,channelstatedesc:e.channelstatedesc,uniqueid:e.uniqueid,localstationid:e.localstationid,remotestationid:e.remotestationid,pagestransferred:e.pagestransferred,resolution:e.resolution,transferrate:e.transferrate,lastStatus:e.lastStatus,error:e.error,retry:e.retry}}).catch(function(e){switch(e.status){case 404:t.data=null;break;default:s.error(e)}})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").directive("faxMessage",["$rootScope","$translate","$uibModal","FaxMessage","List","xAlert",function(t,e,n,a,s,i){return{restrict:"E",scope:{message:"=",listId:"="},templateUrl:"app/channels/fax/inbox/message/message.directive.html",link:function(l){l.openContact=function(n){if(l.listId)return s.save({listId:l.listId,controller:"contacts"},{fax:n}).$promise.then(function(e){var n=_.find(t.$root.workspaces,{contactID:e.id});n?n.active=!0:t.$root.workspaces.push({active:!0,class:"icon-user",contactID:e.id,name:e.fax,type:"contact"})}).catch(function(t){i.error(t)});i.show(e.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")},l.info=function(t){n.open({animation:!0,templateUrl:"app/channels/fax/inbox/message/info.modal.html",controller:"FaxInboxInfoModalCtrl",resolve:{messageId:function(){return t.id}}})},l.retry=function(t){return a.update({id:t,status:"SENDING"}).$promise.catch(function(t){console.error(t)})}}}}]),angular.module("xCallyShuttleApp").directive("faxNote",["$translate","Modal","Auth","FaxMessage","xAlert",function(t,e,n,a,s){return{restrict:"E",scope:{message:"="},templateUrl:"app/channels/fax/inbox/note/note.directive.html",link:function(i){i.Auth=n,i.deleteNote=e.confirm.delete(function(){return a.remove({id:i.message.id}).$promise.then(function(){s.show(t.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){s.error(t)})})}}}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewModalNoteCtrl",["$scope","$uibModalInstance","$translate","id","FaxRoom","xAlert",function(t,e,n,a,s,i){t.initModal=function(){t.item={}},t.ok=function(){return s.save({id:a,controller:"messages"},{text:t.item.text,status:"NOTE"}).$promise.then(function(){i.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)}).finally(function(){e.close()})},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").directive("faxRoom",["$cookieStore","$translate","$uibModal","$timeout","FaxAccount","FaxRoom","FaxMessage","FileUploader","xAlert","usSpinnerService","socket","Tag","Auth","FaxAttachment","List",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g){return{restrict:"E",scope:{workspace:"="},templateUrl:"app/channels/fax/inbox/room/room.directive.html",link:function(p){function h(t){if(t){var e=_.words(t);return _.map(e,function(t){return t?t[0]:""}).join("").toUpperCase()}return!1}p.$on("$destroy",function(){}),p.initForm=function(){p.forms={compose:{}}},p.getContacts=function(t){return p.listId?g.get({listId:p.listId,controller:"contacts",fax:t}).$promise.then(function(t){return t.rows}).catch(function(t){console.error(t)}):[]},p.setList=function(t){p.listId=t};var f=[];p.expanded=!0,p.modelOptions={debounce:{default:500,blur:250},getterSetter:!0},p.panelLeft=null,p.panelRight="col-md-12",p.form={from:"",to:p.workspace.data&&p.workspace.data.to?p.workspace.data.to:"",disabled:!1},d.socket.on("fax_message:remove",function(t){_.remove(p.faxRoom.FaxMessages,{id:t.id})}),d.socket.on("fax_message:save",function(t){if(p.workspace.id&&t.FaxRoomId==p.workspace.id)return p.workspace.active||p.workspace.unread++,l.get({id:t.id}).$promise.then(function(t){p.faxRoom||(p.faxRoom={FaxMessages:[]});var e=_.findIndex(p.faxRoom.FaxMessages,{id:t.id});e>-1?_.merge(p.faxRoom.FaxMessages[e],t):p.faxRoom.FaxMessages.unshift(t),p.panelLeft="col-md-6",p.panelRight="col-md-6"}).catch(function(t){console.error(t)})});var A=p.uploader=new o({url:"api/fax/attachments",autoUpload:!0,withCredentials:!0,queueLimit:1,headers:{Authorization:"Bearer "+t.get("token")}});if(A.filters.push({name:"uploadFilter",fn:function(t){var e="|"+t.type.slice(t.type.lastIndexOf("/")+1)+"|";return-1!=="|pdf|tiff|tif".indexOf(e)}}),A.onWhenAddingFileFailed=function(t,n){switch(n.name){case"queueLimit":r.show(e.instant("MESSAGE_QUEUE_LIMIT_EXCEEDED"),"danger");break;case"uploadFilter":r.show(e.instant("MESSAGE_WRONG_FILE_FORMAT"),"danger");break;default:r.show(e.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")}},A.removeFromQueue=function(t){var n=this;return m.delete({id:t.basename}).$promise.then(function(){var e=n.getIndexOfItem(t),a=n.queue[e];a.isUploading&&a.cancel(),n.queue.splice(e,1),a._destroy(),n.progress=n._getTotalProgress(),f=_.reject(f,{basename:t.basename})}).catch(function(){r.show(e.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},A.onErrorItem=function(){r.show(e.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},A.onSuccessItem=function(t,e){var n={path:e.path,name:e.name,basename:e.basename,type:e.type};t=_.merge(t,n),f.push(n)},p.getMessageMailId=function(t){var e=t.UserId?"imgFaxUserId"+t.UserId:"imgFaxVisitorId";return e+=p.faxRoom.id.toString()+t.id.toString()},p.togglePanelLeft=function(){p.panelLeft?(p.panelLeft=null,p.panelRight="col-md-12"):(p.panelLeft="col-md-6",p.panelRight="col-md-6")},p.closeRoom=function(){return n.open({animation:!0,templateUrl:"app/channels/fax/inbox/status/status.modal.html",controller:"FaxInboxStatusModalCtrl",resolve:{status:function(){return p.faxRoom.status},accountId:function(){return p.faxRoom.FaxAccount.id}}}).result.then(function(t){return i.update({id:p.workspace.id},t).$promise.catch(function(t){r.error(t)})})},p.loadAgents=function(){n.open({animation:!0,templateUrl:"app/channels/fax/inbox/view/view.agents.modal.html",controller:"FaxInboxViewModalAgentCtrl",resolve:{roomId:function(){return p.workspace.id}}})},p.cancel=function(){p.form.disabled=!1,p.form.from="",p.form.to=""},p.loadNote=function(){n.open({animation:!0,templateUrl:"app/channels/fax/inbox/note/note.modal.html",controller:"FaxInboxViewModalNoteCtrl",resolve:{id:function(){return p.workspace.id}}})},p.getMessageFaxId=function(t){var e=t.UserId?"imgFaxUserId"+t.UserId:"imgFaxVisitorId";return e+=p.faxRoom.id.toString()+t.id.toString()},p.getMessageRoomAvatar=function(t,e,n,s){a(function(){var a=e?"#imgFaxUserId"+e:"#imgFaxVisitorId";a+=p.faxRoom.id.toString()+t.toString(),angular.element(a).avatar({useGravatar:!1,initials:s?[]:h(n),fallbackImage:s?"api/users/avatar/"+s:"api/users/avatar/unknown_avatar"})})},p.onChanged=function(){return i.update({id:p.workspace.id},{tags:p.form.tags}).$promise.catch(function(t){r.error(t)})},p.sendFax=function(){c.spin("spinner-grid");var t={from:p.form.from,to:p.form.to[0].fax||"",status:"SENDING",FaxAttachments:f,FaxRoomId:p.faxRoom?p.faxRoom.id:null},n=_.find(p.faxAccounts,{localstationid:p.form.from});if(n)return s.save({accountId:n.id,controller:"send"},t).$promise.then(function(t){return A.queue=[],f=[],r.show(e.instant("MESSAGE_WELL_DONE"),"success"),p.SmsRoom?p.SmsRoom:i.get({id:"messages",controller:t.id}).$promise}).then(function(t){t&&(p.workspace.id=t.id,p.workspace.name=t.contact,p.faxRoom=t,p.panelLeft="col-md-6",p.panelRight="col-md-6",p.expanded=!1)}).catch(function(t){r.error(t)}).finally(function(){c.stop("spinner-grid")});console.log("Can not find account"),c.stop("spinner-grid")},u.get().$promise.then(function(t){p.tags=_.map(t.rows,"name")}).catch(function(t){console.error(t)}),s.get().$promise.then(function(t){p.faxAccounts=t.rows}).catch(function(t){console.error(t)}),p.workspace.id)return p.panelLeft="col-md-6",p.panelRight="col-md-6",i.get({id:p.workspace.id}).$promise.then(function(t){p.faxRoom=t,p.form.from=t.FaxAccount.localstationid,p.form.tags=t.tags,p.workspace.name=t.contact||"No number",p.expanded=!1;var e=_.findLast(t.FaxMessages,{status:"RECEIVED"});return e&&(p.form.to=[{fax:e.from}]),d.socket.on("fax_room:save",function(t){t.id===p.workspace.id&&_.merge(p.faxRoom,t)}),t}).catch(function(t){r.error(t)}).finally(function(){c.stop("spinner-grid"),p.form.disabled=!1});p.panelLeft=null,p.panelRight="col-md-12",c.stop("spinner-grid")}}}]),angular.module("xCallyShuttleApp").controller("FaxInboxStatusModalCtrl",["$scope","$uibModalInstance","FaxAccount","status","accountId",function(t,e,n,a,s){t.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE_THE_FAX"},t.initDisposition=function(){return t.item={disposition:null,status:"CLOSED"},n.get({accountId:s,controller:"dispositions"}).$promise.then(function(e){t.dispositions=e.rows}).catch(function(t){console.error(t)})},t.ok=function(){e.close(t.item)},t.cancel=function(){e.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.inbox.view.account",{url:"/account/:id",template:"
",abstract:!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewAccountListCtrl",["$scope","$rootScope","$uibModal","$translate","$stateParams","$state","Tag","usSpinnerService","socket","FaxAccount","FaxRoom","gridOptions","uiGridConstants","Auth","Modal","xAlert","localStorageService","uibButtonConfig",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h,f,A){t.openRoom=function(e){var n=_.find(t.workspaces,{id:e,type:"faxRoom"});if(n?n.active=!0:t.workspaces.push({id:e,type:"faxRoom",class:"fa fa-fax",active:!0}),e&&"agent"===m.getCurrentUser().role&&"PENDING"!==t.query.status&&"CLOSED"!==t.query.status)return d.patch({id:e},{status:"OPEN",openReason:"agent"}).$promise.catch(function(t){console.error(t)})},t.getPage=function(){o.spin("spinner-grid");var e={accountId:s.id,controller:"rooms"};return t.query&&_.merge(e,t.query),c.query(e).$promise.then(function(e){f.set("faxAccountId",s.id),t.gridOptions.data=e,r.socket.on("fax_room:save",function(e){if(e.FaxAccountId==s.id){var n=_.find(t.gridOptions.data,{id:e.id});n?n.status!==e.status?_.remove(t.gridOptions.data,{id:e.id}):_.merge(n,e):t.query.status===e.status&&t.gridOptions.data.push(e)}}),r.socket.on("fax_room:remove",function(e){_.remove(t.gridOptions.data,{id:e.id})})}).catch(function(t){h.error(t)}).finally(function(){o.stop("spinner-grid")})},t.initView=function(){A.activeClass="green-haze",t.id=[],t.isAdmin=m.isAdmin(),t.isAgent=m.isAgent(),t.uncheckable=!1,t.query={status:f.get("faxStatus")?f.get("faxStatus"):"NEW",tags:f.get("faxTags")?f.get("faxTags"):[]},t.$watch("query.status",function(e,n){e!==n&&(f.set("faxStatus",t.query.status),t.getPage())},!0),c.get().$promise.then(function(e){t.faxAccounts=e.rows}).catch(function(t){console.error(t)}),l.get().$promise.then(function(e){t.tags=_.map(e.rows,"name")}).catch(function(t){console.error(t)}),t.gridOptions={exporterCsvFilename:"fax_rooms.csv",enableRowHeaderSelection:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!1,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,enableSelectAll:!0,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,columnDefs:[{name:"lastEvent",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"tags",displayName:"",headerCellTemplate:'',cellClass:"text-center ui-grid-vcenter",cellTemplate:"
",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"id",displayName:"Id",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
#{{row.entity.id}}
",width:75,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"contact",cellClass:"text-center"},{name:"disposition",displayName:"APPLICATION_DISPOSITION",headerCellFilter:"translate"},{name:"createdAt",cellFilter:"date:'dd/MM/yyyy HH:mm'",width:120,enableFiltering:!1},{name:"updatedAt",cellFilter:"date:'dd/MM/yyyy HH:mm'",width:120,enableFiltering:!1,sort:{direction:p.DESC}},{name:"action",cellTemplate:'
',enableSorting:!1,cellClass:"ui-grid-vcenter",width:70,enableFiltering:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(e){t.gridApi=e,t.gridApi.selection&&(t.gridApi.selection.on.rowSelectionChanged(t,function(e){e.isSelected?t.id.push(t.gridApi.grid.options.primaryKey?e.entity[t.gridApi.grid.options.primaryKey]:e.entity.id):_.pull(t.id,t.gridApi.grid.options.primaryKey?e.entity[t.gridApi.grid.options.primaryKey]:e.entity.id)}),t.gridApi.selection.on.rowSelectionChangedBatch(t,function(e){e[0].isSelected?t.id=_.union(t.id,_.map(e,t.gridApi.grid.options.primaryKey?"entity."+t.gridApi.grid.options.primaryKey:"entity.id")):_.map(e,t.gridApi.grid.options.primaryKey?"entity."+t.gridApi.grid.options.primaryKey:"entity.id").forEach(function(e){_.pull(t.id,e)})}))}},t.getPage(t.query)},t.onChanged=function(){f.set("faxTags",t.query.tags),t.getPage(t.query)},t.loadAgents=function(t){n.open({animation:!0,templateUrl:"app/channels/fax/inbox/view/view.agents.modal.html",controller:"FaxInboxViewModalAgentCtrl",resolve:{roomId:t}})},t.tagItems=function(){n.open({animation:!0,templateUrl:"app/channels/fax/inbox/view/view.tags.modal.html",controller:"FaxInboxViewModalTagCtrl",resolve:{id:function(){return t.id}}}).result.then(function(){t.gridApi.selection.clearSelectedRows(),t.id=[]})},t.deleteItem=g.confirm.delete(function(e){var n={id:e};return d.remove(n).$promise.then(function(){t.getPage(),h.show(a.instant("MESSAGE_WELL_DONE")+"!","success"),t.gridApi.selection.clearSelectedRows(),t.id=[]}).catch(function(t){h.error(t)})}),t.deleteItems=g.confirm.delete(function(){var e={ids:t.id};return d.delete(e).$promise.then(function(){t.getPage(),h.show(a.instant("MESSAGE_WELL_DONE")+"!","success"),t.gridApi.selection.clearSelectedRows(),t.id=[]}).catch(function(t){h.error(t)})}),t.disposeItems=function(){return n.open({animation:!0,templateUrl:"app/channels/fax/inbox/status/status.modal.html",controller:"FaxInboxStatusModalCtrl",resolve:{status:function(){return null},accountId:function(){return s.id}}}).result.then(function(e){return d.patch({id:t.id},e).$promise.then(function(){t.gridApi.selection.clearSelectedRows(),t.id=[]}).catch(function(t){h.error(t)})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.inbox.view.account.list",{url:"/list",templateUrl:"app/channels/fax/inbox/view/account/list/list.html",controller:"FaxInboxViewAccountListCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewModalAgentCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Agent","FaxRoom","xAlert","roomId",function(t,e,n,a,s,i,l,o){t.initModal=function(){t.agents=[],t.item={agents:[]},s.get().$promise.then(function(e){e.rows.forEach(function(e){t.agents.push(e)})}).catch(function(t){console.error(t)}),i.query({id:o,controller:"agents"}).$promise.then(function(e){e.forEach(function(e){t.agents.push(e),t.item.agents.push(e.id)})}).catch(function(t){console.error(t)}),t.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{classes:"btn btn-success",text:"APPLICATION_RETRY",click:function(t){e.close(t)}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(t){e.dismiss(t)}}]}},t.ok=function(){return i.update({id:o,controller:"agents",agents:t.item.agents}).$promise.then(function(){l.show(n.instant("MESSAGE_WELL_DONE"),"success"),e.close()}).catch(function(t){console.error(t)})},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewCtrl",["$scope","$timeout","$location","localStorageService","FaxAccount","xAlert",function(t,e,n,a,s,i){t.initView=function(){return s.get().$promise.then(function(e){var s=null;if(t.faxAccounts=e.rows,t.faxAccounts.length){var i=a.get("faxAccountId");s="/channels/fax/inbox/view/account/"+(i&&_.find(t.faxAccounts,{id:Number(i)})?i:t.faxAccounts[0].id)+"/list"}s&&n.path(s)}).catch(function(t){i.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.inbox.view",{url:"/view",templateUrl:"app/channels/fax/inbox/view/view.html",controller:"FaxInboxViewCtrl",reload:!0,resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewModalStatusCtrl",["$scope","$uibModalInstance","$translate","$stateParams","$location","FaxRoom","xAlert","id","status",function(t,e,n,a,s,i,l,o,r){t.initModal=function(){t.modal={dismissable:!0,title:"APPLICATION_STATUS",html:"

"+n.instant("MESSAGE_CHANGE_STATUS")+" "+r+"?

",status:r,buttons:[{classes:"btn btn-success",text:"APPLICATION_CONFIRM",click:function(t){return i.update({id:o},{status:r}).$promise.then(function(){l.show(n.instant("MESSAGE_STATUS_UPDATE_SUCCESS"),"success"),e.close(t)}).catch(function(t){l.error(t)})}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(t){e.dismiss(t)}}]}}}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewModalTagCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Tag","FaxRoom","xAlert","id",function(t,e,n,a,s,i,l,o){console.log(o),t.initModal=function(){return t.tags=[],t.item={tags:[]},t.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{class:"btn-success",text:"APPLICATION_TAG",click:function(){var a={status:!0};return i.patch({id:o},{tags:t.item.tags}).$promise.catch(function(){a.status=!1,l.show(n.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")}).finally(function(){e.close(a)})}},{class:"default",text:"APPLICATION_CANCEL",click:function(t){e.dismiss(t)}}]},s.get().$promise.then(function(e){t.tags=_.map(e.rows,"name")}).catch(function(t){console.error(t)})}}]),angular.module("xCallyShuttleApp").factory("FaxQueue",["$resource",function(t){return t("/api/fax/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("FaxQueueListCtrl",["$scope","FaxQueue","gridOptions","Auth","$uibModal",function(t,e,n,a,s){t.initView=function(){t.Auth=a;var s={exporterCsvFilename:"fax_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"strategy"},{name:"timeout"},{name:"action",width:100,buttons:[{class:"blue-hoki",href:"/channels/fax/queues/view/{{row.entity.id}}/settings",name:"settings"},{class:"green-meadow",href:"/channels/fax/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===a.getCurrentUser().role},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=n.gridOptions(e,s,t)},t.createItem=function(){s.open({animation:!0,templateUrl:"app/channels/fax/queue/list/list.create.modal.html",controller:"FaxQueueListCreateCtrl",size:"lg"}).result.then(function(e){console.log(e),t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("FaxQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","FaxQueue","Team","strategies",function(t,e,n,a,s,i,l){t.form={},t.strategies=l,t.item={penalty:0,agents:[]},t.getTeams=function(){return i.get({controller:"associations"}).$promise.then(function(e){t.teams=e.rows}).then(function(){ComponentsDropdowns.bindQueue(t.teams,[],function(){return{select:function(e){t.item.agents=_.union(t.item.agents,e)},deselect:function(e){t.item.agents=_.difference(t.item.agents,e)}}})}).catch(function(t){console.error(t)})},t.save=function(){return s.save(t.item).$promise.then(function(t){a.show(n.instant("MESSAGE_WELL_DONE"),"success"),e.close(t)}).catch(function(t){a.error(t)})},t.cancel=function(){e.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.queues.list",{url:"/list",templateUrl:"app/channels/fax/queue/list/list.html",controller:"FaxQueueListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.queues",{url:"/queues",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:39}}})}]),angular.module("xCallyShuttleApp").controller("FaxQueueViewCtrl",["$scope","$http","$translate","$stateParams","xAlert","FaxQueue","Team","Auth","strategies",function(t,e,n,a,s,i,l,o,r){t.Auth=o,t.strategies=r;var c=function(){return{select:function(e){return i.save({id:t.queue.id,controller:"agents"},{agents:e,penalty:t.queue.penalty}).$promise.then(function(){t.getTeams()}).catch(function(t){console.error(t)})},deselect:function(e){return i.delete({id:t.queue.id,controller:"agents",agents:e}).$promise.then(function(){t.getTeams()}).catch(function(t){console.error(t)})}}};t.getQueue=function(){return i.get({id:a.id}).$promise.then(function(e){e.penalty=0,t.queue=e}).catch(function(t){s.error(t)})},t.updateFaxQueue=function(){return i.update({id:a.id},{name:t.queue.name,description:t.queue.description,timeout:t.queue.timeout,strategy:t.queue.strategy}).$promise.then(function(){s.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){s.error(t)})},t.getTeams=function(){return l.get({controller:"associations"}).$promise.then(function(e){return t.teams=e.rows,i.get({id:a.id,controller:"agents"}).$promise}).then(function(e){ComponentsDropdowns.bindMailQueue(t.teams,_.map(e.rows,function(t){return{id:t.id,penalty:t.UserHasFaxQueue.penalty}}),c)}).catch(function(t){console.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.queues.view",{url:"/view/:id",templateUrl:"app/channels/fax/queue/view/view.html",controller:"FaxQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.fax.queues.view.settings",{url:"/settings",templateUrl:"app/channels/fax/queue/view/view.settings.html"}).state("main.channels.fax.queues.view.agents",{url:"/agents",templateUrl:"app/channels/fax/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.realtime",{url:"/realtime",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:41}}})}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","FaxQueue","usSpinnerService","$q","uiGridConstants","Auth","$timeout",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g){function h(){return d.spin("grid-spinner"),l.get(b).$promise.then(function(e){t.gridOptions.totalItems=e.count,t.gridOptions.data=[],e.rows.forEach(function(t){A(t)})}).catch(function(t){i.error(t)}).finally(function(){d.stop("grid-spinner")})}function f(){s.socket.on("agent:save",function(e){e=e.newValues||e;var n=_.find(t.gridOptions.data,{agentId:e.id,isAgent:!0});n&&(n.online=_.has(e,"online")?e.online:n.online,n.lastLoginAt=_.has(e,"lastLoginAt")?e.lastLoginAt:n.lastLoginAt,n.pause=_.has(e,"faxPause")?e.faxPause:n.faxPause,n.pauseType=_.has(e,"pauseType")?e.pauseType:n.pauseType,n.lastPauseAt=_.has(e,"lastPauseAt")?e.lastPauseAt:n.lastPauseAt,n.ipaddr=_.has(e,"ipaddr")?e.ipaddr:n.ipaddr,n.port=_.has(e,"port")?e.port:n.port,n.fullcontact=_.has(e,"fullcontact")?e.fullcontact:n.fullcontact,n.useragent=_.has(e,"useragent")?e.useragent:n.useragent,n.lastms=_.has(e,"lastms")?e.lastms:n.lastms,n.internal=_.has(e,"internal")?e.internal:n.internal,_.map(t.gridOptions.data,function(t){t.isAgent||t.agentId!==e.id||(t.online=_.has(e,"online")?e.online:t.online)}))}),s.socket.on("agent:remove",function(e){_.remove(t.gridOptions.data,{agentId:e.id})}),s.socket.on("user_has_fax_queue:save",function(e){if(_.includes(_.map(t.CurrentUser.PFaxQueues,"id"),e.FaxQueueId)||m.isAdmin()){var n=_.find(t.gridOptions.data,{agentId:e.UserId,isAgent:!0});if(n){var a=t.gridOptions.data.indexOf(n);t.gridOptions.data.splice(a+1,0,{isAgent:!1,agentId:e.UserId,queue:e.queue,queueId:e.FaxQueueId,agent:e.membername,online:n.online})}}}),s.socket.on("user_has_fax_queue:remove",function(e){_.remove(t.gridOptions.data,{agentId:e.UserId,queueId:e.FaxQueueId})})}function A(e){t.gridOptions.data.push({isAgent:!0,agentId:e.id,agent:e.name,online:e.online,lastLoginAt:e.lastLoginAt,lastPauseAt:e.lastPauseAt,pause:e.faxPause,pauseType:e.pauseType,ipaddr:e.ipaddr,port:e.port,fullcontact:e.fullcontact,useragent:e.useragent,lastms:e.lastms,internal:e.internal,$$treeLevel:0}),e.FaxQueues&&e.FaxQueues.forEach(function(n){t.gridOptions.data.push({isAgent:!1,agentId:e.id,queue:n.name,queueId:n.id,agent:e.name,online:e.online})})}function v(){return o.get().$promise.then(function(e){t.pauses=e.rows,s.syncUpdates("pause",t.pauses)}).catch(function(t){i.error(t)})}function I(){return c.get().$promise.then(function(e){t.faxQueues=e.rows,s.syncUpdates("fax_queue",t.faxQueues)}).catch(function(t){i.error(t)})}t.faxQueues=[];var b={controller:"realtime",controller1:"fax",offset:0,limit:10};t.moment=moment,t.initAgents=function(){t.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.agent}} <{{row.entity.internal}}>
'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:p.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"faxPause",width:300,displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{row.entity.pauseType}})
',filter:{type:p.filter.SELECT,selectOptions:[{value:"true",label:"PAUSED"},{value:"false",label:"NOT PAUSED"}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(t){var e=u.defer();return e.resolve(a.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){E(t.gridApi.core.getVisibleRows(t.gridApi.grid).length)}),t.gridApi.treeBase.on.rowExpanded(t,function(e){E(t.gridApi.core.getVisibleRows(t.gridApi.grid).length+e.treeNode.children.length)}),t.gridApi.treeBase.on.rowCollapsed(t,function(e){E(t.gridApi.core.getVisibleRows(t.gridApi.grid).length-e.treeNode.children.length)}),t.gridApi.core.on.sortChanged(t,function(t,e){0===e.length?b.order=null:b.order=e[0].name+" "+e[0].sort.direction.toUpperCase(),h()}),t.gridApi.pagination.on.paginationChanged(t,function(t,e){b.offset=(t-1)*e,b.limit=e,h()}),t.gridApi.core.on.filterChanged(t,function(){this.grid.columns.forEach(function(t){t.filters[0].term?b[t.name]=t.filters[0].term:delete b[t.name]}),h()})}},h(),v(),I(),g(function(){f()})};var E=function(t){var e=t?30*t+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*t+"px")};t.$on("$destroy",function(){s.unsyncUpdates("agent"),s.unsyncUpdates("user_has_fax_queue")}),t.pause=function(e,n,s){return s&&(t.pauseType=null),r.save({name:n,agent:e.agentId,data2:e.agent,type:s||"DEFAULT PAUSE",data4:s||"DEFAULT PAUSE",channel:"fax"}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},t.joinQueue=function(s){n.open({animation:!0,templateUrl:"app/channels/fax/realtime/view/agent/queue.modal.add.html",controller:"FaxRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(t.faxQueues,function(e){return!!_.find(t.gridOptions.data,{queue:e.name,isAgent:!1,agentId:s})})}}}).result.then(function(e){return r.save({name:"QueueAdd",agent:s,queues:_.filter(t.faxQueues,function(t){return _.includes(e.queues,t.id)}),channel:"fax",data1:s,data3:e.queues.join(","),data4:"fax"}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},function(){e.info("Modal dismissed at: "+new Date)})},t.leaveQueue=function(t,e){return r.save({name:"QueueRemove",agent:t,queueId:e,channel:"fax",data1:t,data3:e,data4:"fax"}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},t.showInfo=function(t){n.open({animation:!0,templateUrl:"app/channels/fax/realtime/view/agent/agent.modal.info.html",controller:"FaxRealtimeViewAgentInfoModalCtrl",resolve:{agent:t}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/fax/realtime/view/agent/agent.html",controller:"FaxRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(t,e,n,a){t.agent=a,t.close=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(t,e,n,a){t.queues=a,t.item={},t.save=function(){e.close(t.item)},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewApplicationCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportFaxSession","usSpinnerService","$q","uiGridConstants","$timeout",function(t,e,n,a,s,i,l,o,r,c,d){function u(){return o.spin("spinner-grid"),l.get({controller:"waiting",controller2:"applications"}).$promise.then(function(e){t.gridOptions.data=e.rows}).catch(function(t){i.error(t)}).finally(function(){p(),o.stop("spinner-grid")})}function p(){s.socket.on("report_fax_session:save",function(e){var n=_.find(t.gridOptions.data,{id:e.id});n?(_.merge(n,e),e.leaveAt&&d(function(){_.remove(t.gridOptions.data,{id:e.id})},1e4)):e.leaveAt||t.gridOptions.data.push(e)}),s.socket.on("report_fax_session:remove",function(e){_.remove(t.gridOptions.data,{id:e.id})})}t.moment=moment,t.initApplications=function(){t.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_TIMEOUT\' | translate}}
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.queuename || ''}}
"}],data:[],gridMenuTitleFilter:function(t){var e=r.defer();return e.resolve(a.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){m(t.gridOptions.data.length)})}},u()};var m=function(t){var e=t?30*t+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*t+"px")};t.$on("$destroy",function(){s.unsyncUpdates("report_fax_session")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.realtime.view.applications",{url:"/applications",templateUrl:"app/channels/fax/realtime/view/application/application.html",controller:"FaxRealtimeViewApplicationCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewCtrl",["$scope",function(t){t.agents=[{name:"Queues",link:"main.channels.fax.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.fax.realtime.view.agents.timeline"}],t.sessions=[{name:"Sessions",link:"main.channels.fax.realtime.view.sessions"}],t.tree={queues:[{name:"Queues",link:"main.channels.fax.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.fax.realtime.view.agents.timeline"}],sessions:[{name:"Sessions",link:"main.channels.fax.realtime.view.sessions"}]},t.timerSwitch={isActive:!0,size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"primary"},t.showTimers=!1}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.fax.realtime.view",{url:"/view",templateUrl:"app/channels/fax/realtime/view/view.html",controller:"FaxRealtimeViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("ReportFaxSession",["$resource",function(t){return t("/api/report/fax/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("MailAccount",["$resource",function(t){return t("/api/mail/accounts/:accountId/:controller/:id",{id:"@accountId"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.accounts",{url:"/accounts",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:34}}})}]),angular.module("xCallyShuttleApp").controller("MailAccountListCtrl",["$scope","$stateParams","gridOptions","MailAccount","socket",function(t,e,n,a,s){t.$on("$destroy",function(){s.unsyncUpdates("mail_server_in")}),t.initView=function(){s.socket.on("mail_server_in:save",function(e){var n=_.find(t.gridOptions.data,{id:e.MailAccountId});n&&(n.MailServerIn.state=e.state,n.MailServerIn.source=JSON.parse(e.source))});var i={exporterCsvFilename:"mail_accounts.csv",columnDefs:[{name:"name"},{name:"description"},{name:"address"},{name:"MailServerIn.state",width:100,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.MailServerIn.state}} {{\'APPLICATION_DISABLED\' | translate | uppercase}}
',displayName:"IMAP",enableSorting:!1,enableFiltering:!1},{name:"MailServerOut.state",width:110,cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.MailServerOut.state}}
",displayName:"SMTP",enableSorting:!1,enableFiltering:!1},{name:"action",width:75,buttons:[{class:"blue-hoki",href:"/channels/mail/accounts/view/{{row.entity.id}}/settings",name:"profile"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=n.gridOptions(a,i,t,{accountId:e.accountId})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.accounts.list",{url:"/list",templateUrl:"app/channels/mail/account/list/list.html",controller:"MailAccountListCtrl"})}]),angular.module("xCallyShuttleApp").factory("MailServerIn",["$resource",function(t){return t("/api/mail/servers/in/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("MailServerOut",["$resource",function(t){return t("/api/mail/servers/out/:id/:controller",{id:"@id"},{update:{method:"PUT"},test:{method:"GET"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.accounts.view.actions",{url:"/actions",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewActionListCtrl",["$scope","gridOptions","MailAccount","$http","$translate","$stateParams",function(t,e,n,a,s,i){t.initActons=function(){var a={draggable:!0,exporterCsvFilename:"mail_applications.csv",enableSorting:!1,enableFiltering:!1,columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.app == "queue" ? row.entity.MailQueue.name : row.entity.User.name}}
'},{name:"timeout",cellClass:"text-center"},{name:"interval",displayName:"APPLICATION_TIME_INTERVAL",cellClass:"text-center",cellTemplate:"
{{row.entity.Interval ? row.entity.Interval.name : row.entity.interval}}
"},{name:"action",width:125,buttons:[{class:"blue-hoki",href:"/channels/mail/accounts/view/{{row.entity.MailAccountId}}/actions/view/{{row.entity.id}}",name:"profile"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};t.gridOptions=e.gridOptions(n,a,t,{accountId:i.accountId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.accounts.view.actions.list",{url:"/list",templateUrl:"app/channels/mail/account/view/action/list/list.html",controller:"MailAccountViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","Agent","Interval","MailQueue","MailAccount","Template","SmsAccount",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h){t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.initAction=function(){return t.$application=r.application,t.$stateParams=n,t.$interval=c.interval,t.forms={},t.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"},{name:"ReplyMail",value:"replyMail"},{name:"SendSMS",value:"sendSms"}],t.types=[{key:"APPLICATION_REPLY",value:"reply"},{key:"APPLICATION_REPLY_TO_ALL",value:"replyAll"}],m.get({accountId:n.accountId,controller:"applications",id:n.actionId}).$promise.then(function(e){if(t.application=e,t.application.alwaysTime=!1,t.application.IntervalId)t.application.intType="list";else switch(t.application.interval){case"*,*,*,*":t.application.intType="always";break;default:t.application.intType="custom"}if("always"===t.application.intType||"custom"===t.application.intType){var n=t.application.interval.split(",");"*"===n[0]?t.application.alwaysTime=!0:(t.application.t_from=moment(new Date),t.application.t_to=moment(new Date),t.application.t_from.hour(n[0].split("-")[0].split(":")[0]),t.application.t_from.minute(n[0].split("-")[0].split(":")[1]),t.application.t_to.hour(n[0].split("-")[1].split(":")[0]),t.application.t_to.minute(n[0].split("-")[1].split(":")[1])),"*"===n[1]?(t.application.wd_from="always",t.application.wd_to="always"):(t.application.wd_from=n[1].split("-")[0],t.application.wd_to=n[1].split("-")[1]),"*"===n[2]?(t.application.md_from="always",t.application.md_to="always"):(t.application.md_from=n[2].split("-")[0],t.application.md_to=n[2].split("-")[1]),"*"===n[3]?(t.application.m_from="always",t.application.m_to="always"):(t.application.m_from=n[3].split("-")[0],t.application.m_to=n[3].split("-")[1])}t.$watch("application.t_from",function(e){t.application.t_from_hm=moment(e).format("HH:mm")}),t.$watch("application.t_to",function(e){t.application.t_to_hm=moment(e).format("HH:mm")})}).catch(function(t){console.error(t),i.error(t)})},t.getQueues=function(){return p.get().$promise.then(function(e){t.queues=e.rows}).catch(function(t){console.error(t)})},t.getAgents=function(){return d.get().$promise.then(function(e){t.agents=e.rows}).catch(function(t){console.error(t)})},t.getIntervals=function(){return u.get().$promise.then(function(e){t.intervals=e.rows}).catch(function(t){console.error(t)})},t.getTemplates=function(){return g.get().$promise.then(function(e){t.templates=e.rows}).catch(function(t){console.error(t)})},t.getMailAccounts=function(){return m.get().$promise.then(function(e){t.mailAccounts=e.rows}).catch(function(t){console.error(t)})},t.getSmsAccounts=function(){return h.get().$promise.then(function(e){t.smsAccounts=e.rows}).catch(function(t){console.error(t)})},t.updateItem=function(){switch(t.application.intType){case"always":t.application.interval="*,*,*,*",t.application.IntervalId=null;break;case"list":var e=_.find(t.intervals,{id:t.application.IntervalId});t.application.interval=e?"":"*,*,*,*",t.application.IntervalId=e?t.application.IntervalId:null;break;case"custom":var l,o,r,c,d;l=t.application.t_from&&t.application.t_to&&!t.application.alwaysTime?moment(t.application.t_from).format("HH:mm")+"-"+moment(t.application.t_to).format("HH:mm"):"*",t.application.wd_from&&"always"!==t.application.wd_from?(o=t.application.wd_from,t.application.wd_to&&"always"!==t.application.wd_to&&(o+="-"+t.application.wd_to)):o="*",t.application.md_from&&"always"!==t.application.md_from?(r=t.application.md_from,t.application.md_to&&"always"!==t.application.md_to&&(r+="-"+t.application.md_to)):r="*",t.application.m_from&&"always"!==t.application.m_from?(c=t.application.m_from,t.application.m_to&&"always"!==t.application.m_to&&(c+="-"+t.application.m_to)):c="*",d=l+","+o+","+r+","+c,t.application.interval=d,t.application.IntervalId=null}return m.update({accountId:n.accountId,controller:"applications",id:n.actionId},t.application).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success"),s.path("/channels/mail/accounts/view/"+n.accountId+"/actions/list")}).catch(function(t){i.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.accounts.view.actions.view",{url:"/view/:actionId",templateUrl:"app/channels/mail/account/view/action/view/view.html",controller:"MailAccountViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewActionWizardCtrl",["$scope","$http","Agent","Template","MailQueue","MailAccount","Interval","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","SmsAccount",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h){t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.initWizard=function(){t.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"},{name:"ReplyMail",value:"replyMail"},{name:"SendSMS",value:"sendSms"}],t.types=[{key:"APPLICATION_REPLY",value:"reply"},{key:"APPLICATION_REPLY_TO_ALL",value:"replyAll"}],t.$application=m.application,t.$stateParams=o,t.$interval=g.interval,t.forms={},t.application={alwaysTime:!0},t.$watch("application.t_from",function(e){t.application.t_from_hm=moment(e).format("HH:mm")}),t.$watch("application.t_to",function(e){t.application.t_to_hm=moment(e).format("HH:mm")})},t.getQueues=function(){return s.get().$promise.then(function(e){t.queues=e.rows}).catch(function(t){console.error(t)})},t.getAgents=function(){return n.get().$promise.then(function(e){t.agents=e.rows}).catch(function(t){console.error(t)})},t.getTemplates=function(){return a.get().$promise.then(function(e){t.templates=e.rows}).catch(function(t){console.error(t)})},t.getSmsAccounts=function(){return h.get().$promise.then(function(e){t.smsAccounts=e.rows}).catch(function(t){console.error(t)})},t.getMailAccounts=function(){return i.get().$promise.then(function(e){t.mailAccounts=e.rows}).catch(function(t){console.error(t)})},t.getIntervals=function(){return l.get().$promise.then(function(e){t.intervals=e.rows}).catch(function(t){console.error(t)})},t.createItem=function(){switch(t.application.intType){case"always":t.application.interval="*,*,*,*",t.application.IntervalId=null;break;case"list":var e=_.find(t.intervals,{id:t.application.IntervalId});t.application.interval=e?"":"*,*,*,*",t.application.IntervalId=e?t.application.IntervalId:null;break;case"custom":var n,a,s,l,r;n=t.application.t_from&&t.application.t_to&&!t.application.alwaysTime?moment(t.application.t_from).format("HH:mm")+"-"+moment(t.application.t_to).format("HH:mm"):"*",t.application.wd_from&&"always"!==t.application.wd_from?(a=t.application.wd_from,t.application.wd_to&&"always"!==t.application.wd_to&&(a+="-"+t.application.wd_to)):a="*",t.application.md_from&&"always"!==t.application.md_from?(s=t.application.md_from,t.application.md_to&&"always"!==t.application.md_to&&(s+="-"+t.application.md_to)):s="*",t.application.m_from&&"always"!==t.application.m_from?(l=t.application.m_from,t.application.m_to&&"always"!==t.application.m_to&&(l+="-"+t.application.m_to)):l="*",r=n+","+a+","+s+","+l,t.application.interval=r,t.application.IntervalId=null}return i.save({accountId:o.accountId,controller:"applications"},t.application).$promise.then(function(){c.path("/channels/mail/accounts/view/"+o.accountId+"/actions/list")}).catch(function(t){console.error(t)})},t.formValidation=function(t){return t},t.next=function(){u.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.accounts.view.actions.wizard",{url:"/wizard",templateUrl:"app/channels/mail/account/view/action/wizard/wizard.html",controller:"MailAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("MailDisposition",["$resource",function(t){return t("/api/mail/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("MailInboxViewModaDispositionAddCtrl",["$scope","$uibModalInstance","MailAccount","id","xAlert","$translate",function(t,e,n,a,s,i){t.ok=function(){return n.save({accountId:a,controller:"dispositions"},{name:t.name}).$promise.then(function(t){e.close(t)}).catch(function(t){s.show(i.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("MailAccountDispositionViewCtrl",["$scope","$stateParams","$uibModal","$translate","MailAccount","xAlert",function(t,e,n,a,s,i){t.initView=function(){return s.get({accountId:e.accountId,controller:"dispositions"}).$promise.then(function(e){t.dispositions=e.rows}).catch(function(t){console.error(t),i.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},t.updateDisposition=function(t,n){return s.update({accountId:e.accountId,controller:"dispositions",id:t},{name:n}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){console.error(t),i.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},t.deleteDisposition=function(n){return console.log("delete"),s.remove({accountId:e.accountId,controller:"dispositions",id:n}).$promise.then(function(){_.remove(t.dispositions,{id:n})}).catch(function(t){console.error(t),i.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},t.addDisposition=function(){return n.open({animation:!0,templateUrl:"app/channels/mail/account/view/disposition/modal/add.modal.html",controller:"MailInboxViewModaDispositionAddCtrl",resolve:{id:function(){return e.accountId}}}).result.then(function(e){e&&t.dispositions.push(e)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.accounts.view.dispositions",{url:"/dispositions",controller:"MailAccountDispositionViewCtrl",templateUrl:"app/channels/mail/account/view/disposition/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("MailAccountHooksViewCtrl",["$scope","MailAccount","Pause","$http","$stateParams","clipboard","$translate","$location","xAlert","List",function(t,e,n,a,s,i,l,o,r,c){t.account={},t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.CONST_TIMEOUT=3e4,t.initView=function(){t.types=[{value:"",name:"-- None --"},{name:"HTTP GET",value:"GET"},{name:"HTTP POST",value:"POST"}],n.get().$promise.then(function(e){t.pauses=e.rows}).catch(function(t){r.error(t)}),e.get({id:s.accountId}).$promise.then(function(e){t.account=e,t.account.actions.length<1&&t.account.actions.push({action:"pause",enabled:!1,type:null})}).catch(function(t){r.error(t)})},t.resetActionData=function(t){t.type=null},t.updateItemMailAccount=function(){return console.log(t.account),e.update({id:s.accountId},t.account).$promise.then(function(){r.show(l.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){r.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.accounts.view.hooks",{url:"/hooks",controller:"MailAccountHooksViewCtrl",templateUrl:"app/channels/mail/account/view/hooks/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("MailAccountOtherViewCtrl",["$scope","$rootScope","$stateParams","$translate","xAlert","MailAccount",function(t,e,n,a,s,i){t.initView=function(){return t.options={language:e.language,allowedContent:!0,entities:!1,skin:"office2013",contentsCss:"/assets/css/global/richparams.css",extraPlugins:"autogrow",autoGrow_minHeight:450,disableNativeSpellChecker:!1,toolbar:[{name:"clipboard",items:["Cut","Copy","Paste","PasteText","PasteFromWord","-","Undo","Redo"]},{name:"links",items:["Link","Unlink","Anchor"]},{name:"insert",items:["Image","Table","HorizontalRule","SpecialChar"]},{name:"tools",items:["Maximize"]},{name:"document",items:["Source"]},"/",{name:"basicstyles",items:["Bold","Italic","Underline","Strike","Subscript","Superscript","-","RemoveFormat"]},{name:"paragraph",items:["NumberedList","BulletedList","-","Outdent","Indent","-","Blockquote"]},{name:"styles",items:["Styles","Format"]},"/",{name:"motion",items:["voice","chat","mail"]}]},i.get({id:n.accountId}).$promise.then(function(e){console.log(e),t.account=e}).catch(function(t){s.error(t)})},t.updateItemMailAccount=function(){return i.update({id:n.accountId},{whiteLabel:t.account.whiteLabel,signature:t.account.signature}).$promise.then(function(){s.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){s.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.accounts.view.other",{url:"/other",controller:"MailAccountOtherViewCtrl",templateUrl:"app/channels/mail/account/view/other/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("MailAccountSettingViewCtrl",["$scope","$http","$stateParams","$translate","$location","$timeout","socket","xAlert","MailAccount","MailMessage","MailServerIn","MailServerOut","usSpinnerService","List","Template",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g){t.imapDisabled=!1,t.smtpDisabled=!1,t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.CONST_TIMEOUT=3e4,t.$on("$destroy",function(){l.socket.removeAllListeners("mail_message:sent"),l.socket.removeAllListeners("mail_message:failed"),l.socket.removeAllListeners("mail_server_in:state"),l.socket.removeAllListeners("mail_server_out:state")}),t.initView=function(){return l.socket.on("mail_message:sent",function(){o.show(a.instant("MESSAGE_WELL_DONE"),"success"),p.stop("spinner-grid")}),l.socket.on("mail_message:failed",function(){o.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger"),p.stop("spinner-grid")}),m.get().$promise.then(function(e){t.lists=e.rows}).catch(function(t){console.error(t)}),g.get().$promise.then(function(e){t.templates=e.rows}).catch(function(t){console.error(t)}),r.get({id:n.accountId}).$promise.then(function(e){t.account=e,t.account.MailServerIn&&(t.account.MailServerIn.source=JSON.parse(t.account.MailServerIn.source),t.account.MailServerOut.source=JSON.parse(t.account.MailServerOut.source),l.socket.on("mail_server_in:state",function(e){if(e.id===t.account.MailServerIn.id)switch(t.account.MailServerIn.state=e.state,t.account.MailServerIn.source=JSON.parse(e.source),e.state){case"CONNECTING":break;default:p.stop("spinner-grid"),t.imapDisabled=!1}})),l.socket.on("mail_server_out:state",function(e){if(e.id===t.account.MailServerOut.id)switch(t.account.MailServerOut.state=e.state,t.account.MailServerOut.source=JSON.parse(e.source),e.state){case"CONNECTING":break;default:p.stop("spinner-grid"),t.smtpDisabled=!1}})}).catch(function(t){o.error(t)})},t.updateItemMailAccount=function(){return r.update({id:n.accountId},{name:t.account.name,description:t.account.description,address:t.account.address,fidelity:t.account.fidelity,timeout:t.account.timeout,service:t.account.service,ListId:t.account.ListId,TemplateId:t.account.TemplateId}).$promise.then(function(){o.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){o.error(t)})},t.updateItemMailServerIn=function(){var e=angular.copy(t.account.MailServerIn);return delete e.source,p.spin("spinner-grid"),t.imapDisabled=!0,d.update({id:e.id},e).$promise.then(function(){o.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){o.error(t)})},t.updateItemMailServerOut=function(){var e=angular.copy(t.account.MailServerOut);return delete e.source,p.spin("spinner-grid"),t.smtpDisabled=!0,u.update({id:e.id},e).$promise.then(function(){o.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){o.error(t)})},t.test=function(){return p.spin("spinner-grid"),t.smtpDisabled=!0,u.update({id:t.account.MailServerOut.id},{state:"CONNECTING"}).$promise.catch(function(t){console.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.accounts.view.settings",{url:"/settings",controller:"MailAccountSettingViewCtrl",templateUrl:"app/channels/mail/account/view/setting/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewCtrl",["$scope","$stateParams","MailAccount",function(t,e,n){t.initView=function(){return n.get({id:e.accountId}).$promise.then(function(e){t.account=e}).catch(function(t){console.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.accounts.view",{url:"/view/:accountId",controller:"MailAccountViewCtrl",templateUrl:"app/channels/mail/account/view/view.html",resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}})}]),angular.module("xCallyShuttleApp").controller("MailAccountWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert","MailAccount",function(t,e,n,a,s,i,l){t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.initWizard=function(){t.forms={},t.item={MailServerIn:{port:993,ssl:!0,delete:!1,protocol:"IMAP",filter:"UNSEEN",mailbox:"INBOX",keepalive:!0,authTimeout:5,connTimeout:10},MailServerOut:{port:465,ssl:!0}}},t.goNext=function(){s.wizard().next()},t.formValidation=function(t){return t},t.createItem=function(){return l.save(t.item).$promise.then(function(){n.path("/channels/mail/accounts/list")}).catch(function(t){i.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.accounts.wizard",{url:"/wizard",templateUrl:"app/channels/mail/account/wizard/wizard.html",controller:"MailAccountWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.inbox",{url:"/inbox",template:"
",abstract:!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:36}}})}]),angular.module("xCallyShuttleApp").controller("MailInboxInfoModalCtrl",["$scope","$translate","$uibModalInstance","$stateParams","xAlert","uniqueId","ReportSquare",function(t,e,n,a,s,i,l){t.data=null,t.initInfo=function(){l.get({controller:"show",uniqueid:i}).$promise.then(function(e){t.data={id:e.id,channel:e.channel,uniqueid:e.uniqueid,callerid:e.callerid,calleridname:e.calleridname,project_name:e.project_name,extension:e.extension}}).catch(function(e){switch(e.status){case 404:t.data=null;break;default:s.error(e)}})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").directive("mailMessage",["$rootScope","$translate","MailMessage","List","xAlert","Lightbox","$uibModal",function(t,e,n,a,s,i,l){return{restrict:"E",scope:{message:"=",listId:"="},templateUrl:"app/channels/mail/inbox/message/message.directive.html",link:function(o){o.openPreview=function(t){i.openModal(["api/mail/attachments/"+t],0)},o.openContact=function(n){if(o.listId)return a.save({listId:o.listId,controller:"contacts"},{email:n}).$promise.then(function(e){var n=_.find(t.$root.workspaces,{contactID:e.id});n?n.active=!0:t.$root.workspaces.push({active:!0,class:"icon-user",contactID:e.id,name:e.email,type:"contact"})}).catch(function(t){console.error(t)});s.show(e.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")},o.info=function(t){l.open({animation:!0,templateUrl:"app/channels/mail/inbox/message/info.modal.html",controller:"MailInboxInfoModalCtrl",resolve:{uniqueId:function(){return t}}})},o.retry=function(t){return n.update({id:t,status:"SENDING"}).$promise.catch(function(t){console.error(t)})}}}}]),angular.module("xCallyShuttleApp").directive("mailNote",["$translate","Modal","Auth","MailMessage","xAlert",function(t,e,n,a,s){return{restrict:"E",scope:{message:"="},templateUrl:"app/channels/mail/inbox/note/note.directive.html",link:function(i){i.Auth=n,i.deleteNote=e.confirm.delete(function(){return a.remove({id:i.message.id}).$promise.then(function(){s.show(t.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){s.error(t)})})}}}]),angular.module("xCallyShuttleApp").controller("MailInboxViewModalNoteCtrl",["$scope","$uibModalInstance","$translate","id","MailRoom","xAlert",function(t,e,n,a,s,i){t.initModal=function(){t.item={}},t.ok=function(){return s.save({id:a,controller:"messages",controller2:"send"},{text:t.item.text,status:"NOTE"}).$promise.then(function(){i.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(){i.show(n.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")}).finally(function(){e.close()})},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").directive("mailRoom",["$rootScope","$cookieStore","$translate","$uibModal","$timeout","Tag","CannedAnswer","MailAttachment","List","MailAccount","MailRoom","MailMessage","FileUploader","xAlert","usSpinnerService","socket","Auth",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h,f){return{restrict:"E",scope:{workspace:"="},templateUrl:"app/channels/mail/inbox/room/room.directive.html",link:function(s){function A(t,e){var n="";return e&&e.signature&&(n+="
"+e.signature),t&&(n+="
"+t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\n/g,"
")+"
"),n}s.onCKReady=function(t){s.ckEditorInstance=t},s.$on("$destroy",function(){});var v=[];s.user=f.getCurrentUser(),s.getContacts=function(t){return s.listId?r.get({listId:s.listId,controller:"contacts",email:t}).$promise.then(function(t){return t.rows}).catch(function(t){console.error(t)}):[]},s.setList=function(t){s.listId=t},s.options={language:t.language,allowedContent:!0,entities:!1,skin:"office2013",extraPlugins:"autogrow",autoGrow_minHeight:600,autoGrow_maxHeight:600,disableNativeSpellChecker:!1,toolbar:[{name:"clipboard",items:["Cut","Copy","Paste","-","Undo","Redo"]},{name:"links",items:["Link","Unlink","Anchor"]},{name:"insert",items:["Image","Table","HorizontalRule","SpecialChar"]},{name:"tools",items:["Maximize"]},"/",{name:"basicstyles",items:["Bold","Italic","Underline","Strike","Subscript","Superscript","-","RemoveFormat"]},{name:"paragraph",items:["NumberedList","BulletedList","-","Outdent","Indent","-","Blockquote"]},{name:"styles",items:["Styles","Format"]}]},s.expanded=!0,s.modelOptions={debounce:{default:500,blur:250},getterSetter:!0},s.panelLeft=null,s.panelRight="col-md-12",s.forms={},s.form={from:[],to:s.workspace.data&&s.workspace.data.to?[s.workspace.data.to]:[],cc:[],bcc:[],tags:[],html:"",disabled:!1},h.socket.on("mail_message:remove",function(t){_.remove(s.mailRoom.MailMessages,{id:t.id})}),h.socket.on("mail_message:save",function(t){if(s.workspace.id&&t.MailRoomId==s.workspace.id)return s.workspace.active||s.workspace.unread++,u.get({id:t.id}).$promise.then(function(t){s.mailRoom||(s.mailRoom={MailMessages:[]});var e=_.findIndex(s.mailRoom.MailMessages,{id:t.id});e>-1?_.merge(s.mailRoom.MailMessages[e],t):s.mailRoom.MailMessages.unshift(t),s.panelLeft="col-md-6",s.panelRight="col-md-6"}).catch(function(t){console.error(t)})});var I=s.uploader=new p({url:"api/mail/attachments",autoUpload:!0,withCredentials:!0,headers:{Authorization:"Bearer "+e.get("token")}});return I.onErrorItem=function(){m.show(n.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},I.removeFromQueue=function(t){var e=this;return o.delete({id:t.basename}).$promise.then(function(){var n=e.getIndexOfItem(t),a=e.queue[n];a.isUploading&&a.cancel(),e.queue.splice(n,1),a._destroy(),e.progress=e._getTotalProgress(),v=_.reject(v,{basename:t.basename})}).catch(function(){m.show(n.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},I.onSuccessItem=function(t,e){var n={size:e.size,path:e.path,name:e.name,basename:e.basename,type:e.type};t=_.merge(t,n),v.push(n)},s.openRoom=function(e){var n=_.find(t.workspaces,{id:e,type:"mailRoom"});n?n.active=!0:t.workspaces.push({id:e,type:"mailRoom",class:"icon-envelope",active:!0})},s.togglePanelLeft=function(){s.panelLeft?(s.panelLeft=null,s.panelRight="col-md-12"):(s.panelLeft="col-md-6",s.panelRight="col-md-6")},s.onSelectAnswer=function(){s.ckEditorInstance.insertHtml(s.modelOptions.selectedAnswer),delete s.modelOptions.selectedAnswer},s.getAnswers=function(t){return l.get({key:t}).$promise.then(function(t){return _.map(t.rows,"value")})},s.closeRoom=function(){return a.open({animation:!0,templateUrl:"app/channels/mail/inbox/status/status.modal.html",controller:"MailInboxStatusModalCtrl",resolve:{accountId:function(){return s.mailRoom.MailAccountId}}}).result.then(function(t){return d.patch({id:s.workspace.id},t).$promise.catch(function(t){m.error(t)})})},s.loadNote=function(){return a.open({animation:!0,templateUrl:"app/channels/mail/inbox/note/note.modal.html",controller:"MailInboxViewModalNoteCtrl",resolve:{id:function(){return s.workspace.id}}})},s.onChanged=function(){return d.update({id:s.workspace.id},{tags:s.form.tags}).$promise.catch(function(t){console.error(t)})},s.sendMail=function(){g.spin("spinner-grid"),s.form.disabled=!0;var t={},e={subject:s.form.subject||(s.mailRoom?s.mailRoom.subject:null),from:s.form.from,to:_.map(s.form.to,"email"),cc:_.map(s.form.cc,"email"),bcc:_.map(s.form.bcc,"email"),html:s.form.html||null,text:s.form.text||null,inReplyTo:t.messageId||null,status:"SENDING",MailAttachments:v};return s.mailRoom?(t=_.last(s.mailRoom.MailMessages,{status:"RECEIVED"}),e.inReplyTo=t.messageId||null,d.save({id:s.workspace.id,controller:"messages",controller2:"send"},e).$promise.then(function(){s.form.html="",I.queue=[],v=[],m.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(){m.show(n.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")}).finally(function(){g.stop("spinner-grid"),s.form.disabled=!1})):u.save(e).$promise.then(function(t){m.show(n.instant("MESSAGE_MAIL_MESSAGE_SEND_SUCCESS"),"success"),s.form.html="",I.queue=[],v=[],s.workspace.id=t.id,s.workspace.name=t.subject,s.mailRoom=t,s.expanded=!1,h.socket.on("mail_room:save",function(t){s.workspace.id&&t.id===s.workspace.id&&_.merge(s.mailRoom,t)})}).catch(function(){m.show(n.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")}).finally(function(){g.stop("spinner-grid"),s.form.disabled=!1})},i.get().$promise.then(function(t){s.tags=_.map(t.rows,"name")}).catch(function(t){console.error(t)}),c.get().$promise.then(function(t){s.mailAccounts=t.rows}).catch(function(t){console.error(t)}),s.workspace.id?(s.panelLeft="col-md-6",s.panelRight="col-md-6",d.get({id:s.workspace.id}).$promise.then(function(t){s.mailRoom=t,s.expanded=!1,s.listId=t.MailAccount.ListId,s.workspace.name=t.subject||"No subject",s.form.from.push(t.MailAccount.address),s.form.tags=t.tags;var e=_.findLast(s.mailRoom.MailMessages,{status:"RECEIVED"});return e?(s.form.to=_.map(_.union(e.from,e.to),function(t){return{email:t}}),s.form.to=_.remove(s.form.to,function(e){return e.email!==t.MailAccount.address}),s.form.cc=_.map(e.cc,function(t){return{email:t}}),s.form.bcc=_.map(e.bcc,function(t){return{email:t}}),s.form.subject="Re: "+(e.subject||"No subject"),s.form.html=A(e.text,t.MailAccount)):s.form.html=A("",t.MailAccount),h.socket.on("mail_room:save",function(t){t.id===s.workspace.id&&_.merge(s.mailRoom,t)}),t}).catch(function(t){console.error(t)}).finally(function(){g.stop("spinner-grid"),s.form.disabled=!1})):(s.panelLeft=null,s.panelRight="col-md-12",s.workspace.mailAccountId?c.get({id:s.workspace.mailAccountId}).$promise.then(function(t){s.form.from.push(t.address),s.form.html=A("",t),s.listId=t.ListId,g.stop("spinner-grid")}).catch(function(t){g.stop("spinner-grid"),console.error(t)}):void g.stop("spinner-grid"))}}}]),angular.module("xCallyShuttleApp").controller("MailInboxStatusModalCtrl",["$scope","$uibModalInstance","MailAccount","accountId",function(t,e,n,a){t.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE_THE_MAIL"},t.initDisposition=function(){return t.item={disposition:null,status:"CLOSED"},n.get({accountId:a,controller:"dispositions"}).$promise.then(function(e){t.dispositions=e.rows}).catch(function(t){console.error(t)})},t.ok=function(){e.close(t.item)},t.cancel=function(){e.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.inbox.view.account",{url:"/account/:id",template:"
",abstract:!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailInboxViewAccountListCtrl",["$scope","$rootScope","$uibModal","$translate","$stateParams","$state","Tag","uibButtonConfig","usSpinnerService","socket","MailAccount","MailRoom","uiGridConstants","Auth","Modal","xAlert","localStorageService",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h,f){t.openRoom=function(e,n,a){if(!a){var i=_.find(t.workspaces,{id:e,type:"mailRoom"});if(i&&e?i.active=!0:t.workspaces.push({id:e,subject:n,type:"mailRoom",class:"icon-envelope",active:!0,mailAccountId:s.id}),e&&"agent"===m.getCurrentUser().role&&"PENDING"!==t.query.status&&"CLOSED"!==t.query.status)return u.patch({id:e},{status:"OPEN",openReason:"agent"}).$promise.catch(function(t){console.error(t)})}},t.getPage=function(){r.spin("spinner-grid");var e={accountId:s.id,controller:"rooms"};return t.query&&_.merge(e,t.query),d.query(e).$promise.then(function(e){f.set("mailAccountId",s.id),t.gridOptions.data=e,c.socket.on("mail_room:save",function(e){if(e.MailAccountId==s.id){var n=_.find(t.gridOptions.data,{id:e.id});n?n.status!==e.status?_.remove(t.gridOptions.data,{id:e.id}):_.merge(n,e):t.query.status!==e.status||t.query.tags.length&&!_.isEqual(t.query.tags,e.tags)||t.gridOptions.data.push(e)}}),c.socket.on("mail_room:remove",function(e){_.remove(t.gridOptions.data,{id:e.id})})}).catch(function(t){h.error(t)}).finally(function(){r.stop("spinner-grid")})},t.initView=function(){o.activeClass="green-haze",t.id=[],t.isAdmin=m.isAdmin(),t.isAgent=m.isAgent(),t.uncheckable=!1,t.query={status:f.get("mailStatus")?f.get("mailStatus"):"NEW",tags:f.get("mailTags")?f.get("mailTags"):[]},t.$watch("query.status",function(e,n){e!==n&&(f.set("mailStatus",t.query.status),t.getPage())},!0),d.get().$promise.then(function(e){t.mailAccounts=e.rows}).catch(function(t){console.error(t)}),l.get().$promise.then(function(e){t.tags=_.map(e.rows,"name")}).catch(function(t){console.error(t)}),t.gridOptions={exporterCsvFilename:"mail_rooms.csv",enableRowHeaderSelection:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!1,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,enableSelectAll:!0,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,columnDefs:[{name:"lastEvent",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"attachment",displayName:"",headerCellTemplate:'',cellClass:"text-center ui-grid-vcenter",cellTemplate:"
",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"tags",displayName:"",headerCellTemplate:'',cellClass:"text-center ui-grid-vcenter",cellTemplate:"
",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"id",displayName:"Id",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
#{{row.entity.id}}
",width:75,enableSorting:!0,enableFiltering:!0,enableColumnMenu:!1},{name:"subject"},{name:"from",cellClass:"text-center"},{name:"disposition",displayName:"APPLICATION_DISPOSITION",headerCellFilter:"translate"},{name:"createdAt",cellFilter:"date:'dd/MM/yyyy HH:mm'",width:120,enableFiltering:!1},{name:"updatedAt",cellFilter:"date:'dd/MM/yyyy HH:mm'",width:120,enableFiltering:!1,sort:{direction:p.DESC}},{name:"action",cellTemplate:'
',enableSorting:!1,cellClass:"ui-grid-vcenter",width:70,enableFiltering:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(e){t.gridApi=e,t.gridApi.selection&&(t.gridApi.selection.on.rowSelectionChanged(t,function(e){e.isSelected?t.id.push(t.gridApi.grid.options.primaryKey?e.entity[t.gridApi.grid.options.primaryKey]:e.entity.id):_.pull(t.id,t.gridApi.grid.options.primaryKey?e.entity[t.gridApi.grid.options.primaryKey]:e.entity.id)}),t.gridApi.selection.on.rowSelectionChangedBatch(t,function(e){e[0].isSelected?t.id=_.union(t.id,_.map(e,t.gridApi.grid.options.primaryKey?"entity."+t.gridApi.grid.options.primaryKey:"entity.id")):_.map(e,t.gridApi.grid.options.primaryKey?"entity."+t.gridApi.grid.options.primaryKey:"entity.id").forEach(function(e){_.pull(t.id,e)})}))}},t.getPage()},t.onChanged=function(){f.set("mailTags",t.query.tags),t.getPage()},t.tagItems=function(){return n.open({animation:!0,templateUrl:"app/channels/mail/inbox/view/view.tags.modal.html",controller:"MailInboxViewModalTagCtrl",resolve:{id:function(){return t.id}}}).result.then(function(){t.gridApi.selection.clearSelectedRows(),t.id=[]})},t.disposeItems=function(){return n.open({animation:!0,templateUrl:"app/channels/mail/inbox/status/status.modal.html",controller:"MailInboxStatusModalCtrl",resolve:{status:function(){return null},accountId:function(){return s.id}}}).result.then(function(e){return u.patch({id:t.id},e).$promise.then(function(){t.gridApi.selection.clearSelectedRows(),t.id=[]}).catch(function(t){h.error(t)})})},t.deleteItem=g.confirm.delete(function(e){var n={id:e};return u.remove(n).$promise.then(function(){t.getPage(),h.show(a.instant("MESSAGE_WELL_DONE")+"!","success"),t.gridApi.selection.clearSelectedRows(),t.id=[]}).catch(function(t){h.error(t)})}),t.deleteItems=g.confirm.delete(function(){var e={ids:t.id};return u.delete(e).$promise.then(function(){t.getPage(),h.show(a.instant("MESSAGE_WELL_DONE")+"!","success"),t.gridApi.selection.clearSelectedRows(),t.id=[]}).catch(function(t){h.error(t)})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.inbox.view.account.list",{url:"/list",templateUrl:"app/channels/mail/inbox/view/account/list/list.html",controller:"MailInboxViewAccountListCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailInboxViewModalAgentCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Agent","Auth","MailRoom","xAlert","roomId",function(t,e,n,a,s,i,l,o,r){var c=[];t.initModal=function(){return t.agents=[],t.item={agents:[]},s.get().$promise.then(function(e){for(var n=0;n
",abstract:!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").factory("MailReport",["$resource",function(t){return t("/api/report/mails/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("MailRoom",["$resource",function(t){return t("/api/mail/rooms/:id/:controller/:controller2",{id:"@id",controller:"@controller"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").factory("MailAttachment",["$resource",function(t){return t("/api/mail/attachments/:id/:controller",{id:"@id"})}]),angular.module("xCallyShuttleApp").factory("MailMessage",["$resource",function(t){return t("/api/mail/messages/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("MailQueueListCtrl",["$scope","MailQueue","gridOptions","$uibModal","Auth",function(t,e,n,a,s){t.initView=function(){t.Auth=s;var a={exporterCsvFilename:"voice_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"timeout"},{name:"strategy"},{name:"action",width:100,buttons:[{class:"blue-hoki",href:"/channels/mail/queues/view/{{row.entity.id}}/settings",name:"settings"},{class:"green-meadow",href:"/channels/mail/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===s.getCurrentUser().role},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=n.gridOptions(e,a,t)},t.createItem=function(){a.open({animation:!0,templateUrl:"app/channels/mail/queue/list/list.create.modal.html",controller:"MailQueueListCreateCtrl",size:"lg"}).result.then(function(){t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("MailQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","MailQueue","Team","strategies",function(t,e,n,a,s,i,l){t.form={},t.strategies=l,t.item={penalty:0,agents:[]},t.getTeams=function(){return i.get({controller:"associations"}).$promise.then(function(e){t.teams=e.rows}).then(function(){ComponentsDropdowns.bindQueue(t.teams,[],function(){return{select:function(e){t.item.agents=_.union(t.item.agents,e)},deselect:function(e){t.item.agents=_.difference(t.item.agents,e)}}})}).catch(function(t){console.error(t)})},t.save=function(){return s.save(t.item).$promise.then(function(t){e.close(t)}).catch(function(t){a.error(t)})},t.cancel=function(){e.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.queues.list",{url:"/list",templateUrl:"app/channels/mail/queue/list/list.html",controller:"MailQueueListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").factory("MailQueue",["$resource",function(t){return t("/api/mail/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.queues",{url:"/queues",template:"
",abstract:!0,resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/scripts/components-dropdowns.js"]})}]},data:{permissions:{only:["admin","user"],redirectTo:"landing",id:35}}})}]),angular.module("xCallyShuttleApp").controller("MailQueueViewCtrl",["$scope","$http","$translate","$stateParams","xAlert","Team","MailQueue","Auth","strategies",function(t,e,n,a,s,i,l,o,r){t.Auth=o,t.strategies=r;var c=function(){return{select:function(e){return l.save({id:t.queue.id,controller:"agents"},{agents:e,penalty:t.queue.penalty}).$promise.then(function(){t.getTeams()}).catch(function(t){console.error(t)})},deselect:function(e){return l.delete({id:t.queue.id,controller:"agents",agents:e}).$promise.then(function(){t.getTeams()}).catch(function(t){console.error(t)})}}};t.getQueue=function(){return l.get({id:a.id}).$promise.then(function(e){e.penalty=0,t.queue=e}).catch(function(t){console.error(t)})},t.updateMailQueue=function(){return l.update({id:a.id},{name:t.queue.name,description:t.queue.description,timeout:t.queue.timeout,strategy:t.queue.strategy}).$promise.then(function(){s.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){s.error(t)})},t.getTeams=function(){return i.get({controller:"associations"}).$promise.then(function(e){return t.teams=e.rows,l.get({id:a.id,controller:"agents"}).$promise}).then(function(e){ComponentsDropdowns.bindMailQueue(t.teams,_.map(e.rows,function(t){return{id:t.id,penalty:t.UserHasMailQueue.penalty}}),c)}).catch(function(t){console.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.queues.view",{url:"/view/:id",templateUrl:"app/channels/mail/queue/view/view.html",controller:"MailQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.mail.queues.view.settings",{url:"/settings",templateUrl:"app/channels/mail/queue/view/view.settings.html"}).state("main.channels.mail.queues.view.agents",{url:"/agents",templateUrl:"app/channels/mail/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.realtime",{url:"/realtime",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:37}}})}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","MailQueue","usSpinnerService","$q","uiGridConstants","Auth","$timeout",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g){function h(){return d.spin("grid-spinner"),l.get(b).$promise.then(function(e){t.gridOptions.totalItems=e.count,t.gridOptions.data=[],e.rows.forEach(function(t){A(t)})}).catch(function(t){i.error(t)}).finally(function(){d.stop("grid-spinner")})}function f(){s.socket.on("agent:save",function(e){e=e.newValues||e;var n=_.find(t.gridOptions.data,{agentId:e.id,isAgent:!0});n&&(n.online=_.has(e,"online")?e.online:n.online,n.lastLoginAt=_.has(e,"lastLoginAt")?e.lastLoginAt:n.lastLoginAt,n.pause=_.has(e,"mailPause")?e.mailPause:n.mailPause,n.pauseType=_.has(e,"pauseType")?e.pauseType:n.pauseType,n.lastPauseAt=_.has(e,"lastPauseAt")?e.lastPauseAt:n.lastPauseAt,n.ipaddr=_.has(e,"ipaddr")?e.ipaddr:n.ipaddr,n.port=_.has(e,"port")?e.port:n.port,n.fullcontact=_.has(e,"fullcontact")?e.fullcontact:n.fullcontact,n.useragent=_.has(e,"useragent")?e.useragent:n.useragent,n.lastms=_.has(e,"lastms")?e.lastms:n.lastms,n.internal=_.has(e,"internal")?e.internal:n.internal,_.map(t.gridOptions.data,function(t){t.isAgent||t.agentId!==e.id||(t.online=_.has(e,"online")?e.online:t.online)}))}),s.socket.on("agent:remove",function(e){_.remove(t.gridOptions.data,{agentId:e.id})}),s.socket.on("user_has_mail_queue:save",function(e){if(_.includes(_.map(t.CurrentUser.PMailQueues,"id"),e.MailQueueId)||m.isAdmin()){var n=_.find(t.gridOptions.data,{agentId:e.UserId,isAgent:!0});if(n){var a=t.gridOptions.data.indexOf(n);t.gridOptions.data.splice(a+1,0,{isAgent:!1,agentId:e.UserId,queue:e.queue,queueId:e.MailQueueId,agent:e.membername,online:n.online})}}}),s.socket.on("user_has_mail_queue:remove",function(e){_.remove(t.gridOptions.data,{agentId:e.UserId,queueId:e.MailQueueId})})}function A(e){t.gridOptions.data.push({isAgent:!0,agentId:e.id,agent:e.name,online:e.online,lastLoginAt:e.lastLoginAt,lastPauseAt:e.lastPauseAt,pause:e.mailPause,pauseType:e.pauseType,ipaddr:e.ipaddr,port:e.port,fullcontact:e.fullcontact,useragent:e.useragent,lastms:e.lastms,internal:e.internal,$$treeLevel:0}),e.MailQueues&&e.MailQueues.forEach(function(n){t.gridOptions.data.push({isAgent:!1,agentId:e.id,queue:n.name,queueId:n.id,agent:e.name,online:e.online})})}function v(){return o.get().$promise.then(function(e){t.pauses=e.rows,s.syncUpdates("pause",t.pauses)}).catch(function(t){i.error(t)})}function I(){return c.get().$promise.then(function(e){t.mailQueues=e.rows,s.syncUpdates("mail_queue",t.mailQueues)}).catch(function(t){i.error(t)})}t.mailQueues=[];var b={controller:"realtime",controller1:"mail",offset:0,limit:10};t.moment=moment,t.initAgents=function(){t.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.agent}} <{{row.entity.internal}}>
'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:p.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"mailPause",displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{row.entity.pauseType}})
',filter:{type:p.filter.SELECT,selectOptions:[{value:"true",label:"PAUSED"},{value:"false",label:"NOT PAUSED"}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(t){var e=u.defer();return e.resolve(a.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){E(t.gridApi.core.getVisibleRows(t.gridApi.grid).length)}),t.gridApi.treeBase.on.rowExpanded(t,function(e){E(t.gridApi.core.getVisibleRows(t.gridApi.grid).length+e.treeNode.children.length)}),t.gridApi.treeBase.on.rowCollapsed(t,function(e){E(t.gridApi.core.getVisibleRows(t.gridApi.grid).length-e.treeNode.children.length)}),t.gridApi.core.on.sortChanged(t,function(t,e){0===e.length?b.order=null:b.order=e[0].name+" "+e[0].sort.direction.toUpperCase(),h()}),t.gridApi.pagination.on.paginationChanged(t,function(t,e){b.offset=(t-1)*e,b.limit=e,h()}),t.gridApi.core.on.filterChanged(t,function(){this.grid.columns.forEach(function(t){t.filters[0].term?b[t.name]=t.filters[0].term:delete b[t.name]}),h()})}},h(),v(),I(),g(function(){f()})};var E=function(t){var e=t?30*t+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*t+"px")};t.$on("$destroy",function(){s.unsyncUpdates("agent"),s.unsyncUpdates("user_has_mail_queue")}),t.pause=function(e,n,s){return s&&(t.pauseType=null),r.save({name:n,agent:e.agentId,data2:e.agent,type:s||"DEFAULT PAUSE",data4:s||"DEFAULT PAUSE",channel:"mail"}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},t.joinQueue=function(s){n.open({animation:!0,templateUrl:"app/channels/mail/realtime/view/agent/queue.modal.add.html",controller:"MailRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(t.mailQueues,function(e){return!!_.find(t.gridOptions.data,{queue:e.name,isAgent:!1,agentId:s})})}}}).result.then(function(e){return r.save({name:"QueueAdd",agent:s,queues:_.filter(t.mailQueues,function(t){return _.includes(e.queues,t.id)}),channel:"mail",data1:s,data3:e.queues.join(","),data4:"mail"}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},function(){e.info("Modal dismissed at: "+new Date)})},t.leaveQueue=function(t,e){return r.save({name:"QueueRemove",agent:t,queueId:e,channel:"mail",data1:t,data3:e,data4:"mail"}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},t.showInfo=function(t){n.open({animation:!0,templateUrl:"app/channels/mail/realtime/view/agent/agent.modal.info.html",controller:"MailRealtimeViewAgentInfoModalCtrl",resolve:{agent:t}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/mail/realtime/view/agent/agent.html",controller:"MailRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(t,e,n,a){t.agent=a,t.close=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(t,e,n,a){t.queues=a,t.item={},t.save=function(){e.close(t.item)},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewApplicationCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportMailSession","usSpinnerService","$q","uiGridConstants","$timeout",function(t,e,n,a,s,i,l,o,r,c,d){function u(){return o.spin("spinner-grid"),l.get({controller:"waiting",controller2:"applications"}).$promise.then(function(e){t.gridOptions.data=e.rows}).catch(function(t){i.error(t)}).finally(function(){p(),o.stop("spinner-grid")})}function p(){s.socket.on("report_mail_session:save",function(e){var n=_.find(t.gridOptions.data,{id:e.id});n?(_.merge(n,e),e.leaveAt&&d(function(){_.remove(t.gridOptions.data,{id:e.id})},1e4)):e.leaveAt||t.gridOptions.data.push(e)}),s.socket.on("report_mail_session:remove",function(e){_.remove(t.gridOptions.data,{id:e.id})})}t.moment=moment,t.initApplications=function(){t.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_TIMEOUT\' | translate}}
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.queuename || ''}}
"}],data:[],gridMenuTitleFilter:function(t){var e=r.defer();return e.resolve(a.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){m(t.gridOptions.data.length)})}},u()};var m=function(t){var e=t?30*t+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*t+"px")};t.$on("$destroy",function(){s.unsyncUpdates("report_mail_session")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.realtime.view.applications",{url:"/applications",templateUrl:"app/channels/mail/realtime/view/application/application.html",controller:"MailRealtimeViewApplicationCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewCtrl",["$scope","$state",function(t,e){t.agents=[{name:"Queues",link:"main.channels.mail.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.mail.realtime.view.agents.timeline"}],t.sessions=[{name:"Sessions",link:"main.channels.mail.realtime.view.sessions"}],t.tree={queues:[{name:"Queues",link:"main.channels.mail.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.mail.realtime.view.agents.timeline"}],sessions:[{name:"Sessions",link:"main.channels.mail.realtime.view.sessions"}]},t.timerSwitch={isActive:!0,size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"primary"},t.showTimers=!1}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.mail.realtime.view",{url:"/view",templateUrl:"app/channels/mail/realtime/view/view.html",controller:"MailRealtimeViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("ReportMailSession",["$resource",function(t){return t("/api/report/mail/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("OpenChannelAccount",["$resource",function(t){return t("/api/openchannel/accounts/:accountId/:controller/:id",{id:"@accountId"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.accounts",{url:"/accounts",template:"
",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:46}}})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountListCtrl",["$scope","OpenChannelAccount","gridOptions","$stateParams","xAlert","$translate",function(t,e,n,a,s,i){t.initView=function(){var s={exporterCsvFilename:"openchannel_accounts.csv",columnDefs:[{name:"id",displayName:"ID",cellClass:"text-center",width:75,enableSorting:!1,enableFiltering:!1},{name:"name"},{name:"description"},{name:"action",width:75,buttons:[{class:"blue-hoki",href:"/channels/openchannel/accounts/view/{{row.entity.id}}/settings",name:"profile"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=n.gridOptions(e,s,t,{accountId:a.accountId})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.accounts.list",{url:"/list",templateUrl:"app/channels/openchannel/account/list/list.html",controller:"OpenChannelAccountListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.accounts.view.actions",{url:"/actions",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").factory("OpenChannelApplication",["$resource",function(t){return t("/api/openchannel/applications/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountViewActionListCtrl",["$scope","gridOptions","OpenChannelAccount","$http","$translate","$stateParams","xAlert",function(t,e,n,a,s,i,l){t.initActions=function(){var a={draggable:!0,exporterCsvFilename:"openchannel_applications.csv",enableSorting:!1,enableFiltering:!1,columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.app == "queue" ? row.entity.OpenchannelQueue.name : row.entity.User.name}}
'},{name:"timeout",cellClass:"text-center"},{name:"interval",displayName:"APPLICATION_TIME_INTERVAL",cellClass:"text-center",cellTemplate:"
{{row.entity.Interval ? row.entity.Interval.name : row.entity.interval}}
"},{name:"action",width:125,buttons:[{class:"blue-hoki",href:"/channels/openchannel/accounts/view/{{row.entity.OpenchannelAccountId}}/actions/view/{{row.entity.id}}",name:"profile"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};t.gridOptions=e.gridOptions(n,a,t,{accountId:i.accountId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.accounts.view.actions.list",{url:"/list",templateUrl:"app/channels/openchannel/account/view/action/list/list.html",controller:"OpenChannelAccountViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","Agent","Interval","OpenChannelQueue","OpenChannelAccount","OpenChannelApplication","Template","MailAccount","SmsAccount",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h,f,A){t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.initAction=function(){return t.$application=r.application,t.$stateParams=n,t.$interval=c.interval,t.forms={},t.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"},{name:"SendSMS",value:"sendSms"}],g.get({id:n.actionId}).$promise.then(function(e){if(t.application=e,t.application.alwaysTime=!1,t.application.IntervalId)t.application.intType="list";else switch(t.application.interval){case"*,*,*,*":t.application.intType="always";break;default:t.application.intType="custom"}if("always"===t.application.intType||"custom"===t.application.intType){var n=t.application.interval.split(",");"*"===n[0]?t.application.alwaysTime=!0:(t.application.t_from=moment(new Date),t.application.t_to=moment(new Date),t.application.t_from.hour(n[0].split("-")[0].split(":")[0]),t.application.t_from.minute(n[0].split("-")[0].split(":")[1]),t.application.t_to.hour(n[0].split("-")[1].split(":")[0]),t.application.t_to.minute(n[0].split("-")[1].split(":")[1])),"*"===n[1]?(t.application.wd_from="always",t.application.wd_to="always"):(t.application.wd_from=n[1].split("-")[0],t.application.wd_to=n[1].split("-")[1]),"*"===n[2]?(t.application.md_from="always",t.application.md_to="always"):(t.application.md_from=n[2].split("-")[0],t.application.md_to=n[2].split("-")[1]),"*"===n[3]?(t.application.m_from="always",t.application.m_to="always"):(t.application.m_from=n[3].split("-")[0],t.application.m_to=n[3].split("-")[1])}t.$watch("application.t_from",function(e){t.application.t_from_hm=moment(e).format("HH:mm")}),t.$watch("application.t_to",function(e){t.application.t_to_hm=moment(e).format("HH:mm")})}).catch(function(t){i.error(t)})},t.getQueues=function(){return p.get().$promise.then(function(e){t.queues=e.rows}).catch(function(t){console.error(t)})},t.getSmsAccounts=function(){return A.get().$promise.then(function(e){t.smsAccounts=e.rows}).catch(function(t){console.error(t)})},t.getAgents=function(){return d.get().$promise.then(function(e){t.agents=e.rows}).catch(function(t){console.error(t)})},t.getIntervals=function(){return u.get().$promise.then(function(e){t.intervals=e.rows}).catch(function(t){console.error(t)})},t.updateItem=function(){switch(t.application.intType){case"always":t.application.interval="*,*,*,*",t.application.IntervalId=null;break;case"list":var e=_.find(t.intervals,{id:t.application.IntervalId});t.application.interval=e?"":"*,*,*,*",t.application.IntervalId=e?t.application.IntervalId:null;break;case"custom":var l,o,r,c,d;l=t.application.t_from&&t.application.t_to&&!t.application.alwaysTime?moment(t.application.t_from).format("HH:mm")+"-"+moment(t.application.t_to).format("HH:mm"):"*",t.application.wd_from&&"always"!==t.application.wd_from?(o=t.application.wd_from,t.application.wd_to&&"always"!==t.application.wd_to&&(o+="-"+t.application.wd_to)):o="*",t.application.md_from&&"always"!==t.application.md_from?(r=t.application.md_from,t.application.md_to&&"always"!==t.application.md_to&&(r+="-"+t.application.md_to)):r="*",t.application.m_from&&"always"!==t.application.m_from?(c=t.application.m_from,t.application.m_to&&"always"!==t.application.m_to&&(c+="-"+t.application.m_to)):c="*",d=l+","+o+","+r+","+c,t.application.interval=d,t.application.IntervalId=null}return m.update({accountId:n.accountId,controller:"applications",id:n.actionId},t.application).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success"),s.path("/channels/openchannel/accounts/view/"+n.accountId+"/actions/list")}).catch(function(t){i.error(t)})},t.getTemplates=function(){return h.get().$promise.then(function(e){t.templates=e.rows}).catch(function(t){console.error(t)})},t.getMailAccounts=function(){return f.get().$promise.then(function(e){t.mailAccounts=e.rows}).catch(function(t){console.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.accounts.view.actions.view",{url:"/view/:actionId",templateUrl:"app/channels/openchannel/account/view/action/view/view.html",controller:"OpenChannelAccountViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountViewActionWizardCtrl",["$scope","$http","Agent","OpenChannelQueue","Interval","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","OpenChannelApplication","OpenChannelAccount","Template","MailAccount","SmsAccount",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h,f,A){t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.initWizard=function(){t.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"},{name:"SendSMS",value:"sendSms"}],t.$application=u.application,t.$stateParams=i,t.$interval=p.interval,t.forms={},t.application={alwaysTime:!0},t.$watch("application.t_from",function(e){t.application.t_from_hm=moment(e).format("HH:mm")}),t.$watch("application.t_to",function(e){t.application.t_to_hm=moment(e).format("HH:mm")})},t.getQueues=function(){return a.get().$promise.then(function(e){t.queues=e.rows}).catch(function(t){console.error(t)})},t.getAgents=function(){return n.get().$promise.then(function(e){t.agents=e.rows}).catch(function(t){console.error(t)})},t.getSmsAccounts=function(){return A.get().$promise.then(function(e){t.smsAccounts=e.rows}).catch(function(t){console.error(t)})},t.getIntervals=function(){return s.get().$promise.then(function(e){t.intervals=e.rows}).catch(function(t){console.error(t)})},t.createItem=function(){switch(t.application.intType){case"always":t.application.interval="*,*,*,*",t.application.IntervalId=null;break;case"list":var e=_.find(t.intervals,{id:t.application.IntervalId});t.application.interval=e?"":"*,*,*,*",t.application.IntervalId=e?t.application.IntervalId:null;break;case"custom":var n,a,s,c,d;n=t.application.t_from&&t.application.t_to&&!t.application.alwaysTime?moment(t.application.t_from).format("HH:mm")+"-"+moment(t.application.t_to).format("HH:mm"):"*",t.application.wd_from&&"always"!==t.application.wd_from?(a=t.application.wd_from,t.application.wd_to&&"always"!==t.application.wd_to&&(a+="-"+t.application.wd_to)):a="*",t.application.md_from&&"always"!==t.application.md_from?(s=t.application.md_from,t.application.md_to&&"always"!==t.application.md_to&&(s+="-"+t.application.md_to)):s="*",t.application.m_from&&"always"!==t.application.m_from?(c=t.application.m_from,t.application.m_to&&"always"!==t.application.m_to&&(c+="-"+t.application.m_to)):c="*",d=n+","+a+","+s+","+c,t.application.interval=d,t.application.IntervalId=null}return g.save({accountId:i.accountId,controller:"applications"},t.application).$promise.then(function(){r.show(l.instant("MESSAGE_WELL_DONE"),"success"),o.path("/channels/openchannel/accounts/view/"+i.accountId+"/actions/list")}).catch(function(t){r.error(t)})},t.formValidation=function(t){return t},t.next=function(){c.wizard().next()},t.getMailAccounts=function(){return f.get().$promise.then(function(e){t.mailAccounts=e.rows}).catch(function(t){console.error(t)})},t.getTemplates=function(){return h.get().$promise.then(function(e){t.templates=e.rows}).catch(function(t){console.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.accounts.view.actions.wizard",{url:"/wizard",templateUrl:"app/channels/openchannel/account/view/action/wizard/wizard.html",controller:"OpenChannelAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountApiViewCtrl",["$scope","OpenChannelAccount","$http","$stateParams","clipboard","$translate","$location","xAlert",function(t,e,n,a,s,i,l,o){t.copyToClipboard=function(t){s.copyText(t),o.show(i.instant("MESSAGE_TEXT_COPIED_CLIPBOARD")+"!","success")},t.initView=function(){e.get({id:a.accountId}).$promise.then(function(e){t.account=e,t.receiveurl=t.account.remote+"/api/openchannel/accounts/"+t.account.id+"/receive"}).catch(function(t){o.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.accounts.view.api",{url:"/api",controller:"OpenChannelAccountApiViewCtrl",templateUrl:"app/channels/openchannel/account/view/api/view/view.html"})}]),angular.module("xCallyShuttleApp").factory("OpenChannelDisposition",["$resource",function(t){return t("/api/openchannel/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("OpenChannelInboxViewModaDispositionAddCtrl",["$scope","$uibModalInstance","OpenChannelAccount","id",function(t,e,n,a){t.ok=function(){return n.save({accountId:a,controller:"dispositions"},{name:t.name}).$promise.then(function(t){e.close(t)})},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountDispositionViewCtrl",["$scope","$stateParams","$uibModal","$translate","OpenChannelAccount","xAlert",function(t,e,n,a,s,i){t.initView=function(){return s.get({accountId:e.accountId,controller:"dispositions"}).$promise.then(function(e){t.dispositions=e.rows}).catch(function(t){console.error(t),i.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},t.updateDisposition=function(t,n){return s.update({accountId:e.accountId,controller:"dispositions",id:t},{name:n}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){console.error(t),i.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},t.deleteDisposition=function(n){return console.log("delete"),s.remove({accountId:e.accountId,controller:"dispositions",id:n}).$promise.then(function(){_.remove(t.dispositions,{id:n})}).catch(function(t){console.error(t),i.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},t.addDisposition=function(){return n.open({animation:!0,templateUrl:"app/channels/openchannel/account/view/disposition/modal/add.modal.html",controller:"OpenChannelInboxViewModaDispositionAddCtrl",resolve:{id:function(){return e.accountId}}}).result.then(function(e){e&&t.dispositions.push(e)}).catch(function(t){console.error(t),i.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.accounts.view.dispositions",{url:"/dispositions",controller:"OpenChannelAccountDispositionViewCtrl",templateUrl:"app/channels/openchannel/account/view/disposition/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountHooksViewCtrl",["$scope","OpenChannelAccount","Pause","$http","$stateParams","$translate","$location","xAlert",function(t,e,n,a,s,i,l,o){t.account={},t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.CONST_TIMEOUT=3e4,t.initView=function(){t.types=[{value:"",name:"-- None --"},{name:"HTTP GET",value:"GET"},{name:"HTTP POST",value:"POST"}],n.get().$promise.then(function(e){t.pauses=e.rows}).catch(function(t){o.error(t)}),e.get({id:s.accountId}).$promise.then(function(e){t.account=e,t.account.actions.length<1&&t.account.actions.push({action:"pause",enabled:!1,type:null})}).catch(function(t){o.error(t)})},t.resetActionData=function(t){t.type=null},t.updateItem=function(){return console.log(t.account),e.update({id:s.accountId},t.account).$promise.then(function(){o.show(i.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){o.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.accounts.view.hooks",{url:"/hooks",controller:"OpenChannelAccountHooksViewCtrl",templateUrl:"app/channels/openchannel/account/view/hooks/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountSettingViewCtrl",["$scope","OpenChannelAccount","$http","$stateParams","clipboard","$translate","$location","xAlert","List",function(t,e,n,a,s,i,l,o,r){t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.CONST_TIMEOUT=3e4,t.types=[{name:"HTTP GET",value:"GET"},{name:"HTTP POST",value:"POST"}],t.account={},t.initView=function(){r.get().$promise.then(function(e){t.lists=e.rows}).catch(function(t){console.error(t)}),e.get({id:a.accountId}).$promise.then(function(e){t.account=e}).catch(function(t){o.error(t)})},t.updateItem=function(){return e.update({id:a.accountId},t.account).$promise.then(function(){o.show(i.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){o.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.accounts.view.settings",{url:"/settings",controller:"OpenChannelAccountSettingViewCtrl",templateUrl:"app/channels/openchannel/account/view/setting/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountViewCtrl",["$scope","OpenChannelAccount","$http","$stateParams","clipboard","$translate","$location","xAlert","List",function(t,e,n,a,s,i,l,o,r){t.initView=function(){return t.account={},e.get({id:a.accountId}).$promise.then(function(e){t.account=e}).catch(function(t){o.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.accounts.view",{url:"/view/:accountId",templateUrl:"app/channels/openchannel/account/view/view.html",controller:"OpenChannelAccountViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert","OpenChannelAccount",function(t,e,n,a,s,i,l){t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.initWizard=function(){t.forms={},t.item={},t.item.remote=n.protocol()+"://"+location.host},t.goNext=function(){s.wizard().next()},t.formValidation=function(t){return t},t.createItem=function(){return l.save(t.item).$promise.then(function(){n.path("/channels/openchannel/accounts/list")}).catch(function(t){i.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.accounts.wizard",{url:"/wizard",templateUrl:"app/channels/openchannel/account/wizard/wizard.html",controller:"OpenChannelAccountWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.inbox",{url:"/inbox",template:"
",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:48}}})}]),angular.module("xCallyShuttleApp").controller("OpenChannelInboxInfoModalCtrl",["$scope","$translate","$uibModalInstance","$stateParams","xAlert","data",function(t,e,n,a,s,i){t.data=null,t.initInfo=function(){i&&(t.data=_.isEmpty(JSON.parse(i))?null:JSON.parse(i))},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").directive("message",["$rootScope","OpenChannelMessage","List","xAlert","$translate","$uibModal",function(t,e,n,a,s,i){return{restrict:"E",scope:{Message:"=message",accounttype:"=accounttype",listId:"="},templateUrl:"app/channels/openchannel/inbox/message/message.html",link:function(e){e.openContact=function(i,l){if(e.listId){if(!l)return;var o;switch(i){case"phone":o={phone:l};break;case"email":o={email:l};break;default:return}return n.save({listId:e.listId,controller:"contacts"},o).$promise.then(function(e){var n=_.find(t.$root.workspaces,{contactID:e.id});n?n.active=!0:t.$root.workspaces.push({active:!0,class:"icon-user",contactID:e.id,name:e.phone,type:"contact"})}).catch(function(t){console.error(t)})}a.show(s.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")},e.info=function(t){i.open({animation:!0,templateUrl:"app/channels/openchannel/inbox/message/info.modal.html",controller:"OpenChannelInboxInfoModalCtrl",resolve:{data:function(){return t}}})}}}}]),angular.module("xCallyShuttleApp").directive("openchannelRoom",["OpenChannelReport","$cookieStore","$translate","$uibModal","$timeout","Tag","CannedAnswer","Auth","OpenChannelAccount","OpenChannelRoom","OpenChannelMessage","xAlert","usSpinnerService","socket","$stateParams","$rootScope",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/channels/openchannel/inbox/room/room.directive.html",link:function(t){t.modelOptions={debounce:{default:500,blur:250},getterSetter:!0},t.panelLeft=null,t.panelRight="col-md-12",t.togglePanelLeft=function(){t.panelLeft?(t.panelLeft=null,t.panelRight="col-md-12"):(t.panelLeft="col-md-6",t.panelRight="col-md-6")},t.form={disabled:!1,from:"",to:t.workspace.data&&t.workspace.data.to?t.workspace.data.to:"",body:""},m.socket.on("openchannel_message:save",function(e){if(t.workspace.id&&e.OpenchannelRoomId==t.workspace.id)return d.get({id:e.id}).$promise.then(function(e){t.Room||(t.Room={OpenchannelMessages:[]});var n=_.findIndex(t.Room.OpenchannelMessages,{id:e.id});n>-1?_.merge(t.Room.OpenchannelMessages[n],e):t.Room.OpenchannelMessages.unshift(e),t.panelLeft="col-md-6",t.panelRight="col-md-6"}).catch(function(t){console.error(t)})}),m.socket.on("openchannel_message:update",function(e){if(t.Room&&e.OpenchannelRoomId==t.workspace.id){var n=_.find(t.Room.OpenchannelMessages,{id:e.id});n&&_.merge(n,e)}}),m.socket.on("openchannel_room:save",function(e){t.Room&&e.id==t.workspace.id&&(t.Room.status=e.status,t.Room.disposition=e.disposition)}),t.closeRoom=function(e){return a.open({animation:!0,templateUrl:"app/channels/openchannel/inbox/view/view.status.modal.html",controller:"OpenChannelInboxViewModalStatusCtrl",resolve:{closed:function(){return"CLOSED"===t.Room.status},accountId:function(){return t.Room.OpenchannelAccountId}}}).result.then(function(t){var n={id:e,status:"CLOSED"};return t.disposition&&(n.disposition=t.disposition),c.update(n).$promise.catch(function(t){u.error(t)})})},t.openRoom=function(t,e){var n=_.find(h.workspaces,{id:t,type:"openchannelRoom"});n?n.active=!0:h.workspaces.push({id:t,name:e,type:"openchannelRoom",class:"icon-globe",active:!0})},i.get().$promise.then(function(e){t.tags=_.map(e.rows,"name")}).catch(function(t){console.error(t)}),r.get().$promise.then(function(e){t.Accounts=e.rows}).catch(function(t){console.error(t)}),t.workspace.id?(t.panelLeft="col-md-6",t.panelRight="col-md-6",c.get({id:t.workspace.id}).$promise.then(function(e){t.Room=e,t.form.from=t.Room.OpenchannelAccount.name,t.form.to=t.Room.contact,t.form.tags=t.Room.tags}).catch(function(t){console.error(t)}).finally(function(){p.stop("spinner-grid"),t.form.disabled=!1})):p.stop("spinner-grid"),t.onSelect=function(){t.form.body+=t.modelOptions.selectedAnswer,delete t.modelOptions.selectedAnswer},t.onSelectAnswer=function(e){t.form.body+=e,t.selectedAnswer=""},t.getAnswers=function(t){return l.get({key:t}).$promise.then(function(t){return _.map(t.rows,"value")})},t.loadAgents=function(){a.open({animation:!0,templateUrl:"app/channels/openchannel/inbox/view/view.agents.modal.html",controller:"OpenChannelInboxViewModalAgentCtrl",resolve:{roomId:function(){return t.workspace.id}}})},t.onChanged=function(){return c.patch({id:t.workspace.id},{tags:t.form.tags}).$promise.catch(function(t){console.error(t)})},t.sendMessage=function(){p.spin("spinner-grid");var e=_.find(t.Accounts,{name:t.form.from}).id;if(e){var a={from:t.form.from,to:t.form.to,body:t.form.body,OpenchannelRoomId:t.Room?t.Room.id:null};return r.save({accountId:e,controller:"send"},a).$promise.then(function(e){return u.show(n.instant("MESSAGE_WELL_DONE"),"success"),t.Room?t.Room:c.get({id:"messages",controller:e.id}).$promise}).then(function(e){e&&(t.form.body="",t.workspace.id=e.id,t.workspace.name=e.contact,t.Room=e,t.panelLeft="col-md-6",t.panelRight="col-md-6")}).catch(function(t){u.error(t)}).finally(function(){p.stop("spinner-grid")})}}}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.inbox.view.account",{url:"/account/:id",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("OpenChannelInboxViewAccountListCtrl",["$scope","$rootScope","$uibModal","$translate","$stateParams","$state","Tag","usSpinnerService","socket","OpenChannelAccount","OpenChannelRoom","gridOptions","uiGridConstants","Auth","Modal","xAlert","uibButtonConfig","localStorageService",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h,f,A){t.loadAgents=function(t){n.open({animation:!0,templateUrl:"app/channels/openchannel/inbox/view/view.agents.modal.html",controller:"OpenChannelInboxViewModalAgentCtrl",resolve:{roomId:t}})},t.initView=function(){f.activeClass="green-haze",t.id=[],t.isAdmin=m.isAdmin(),t.isAgent=m.isAgent(),t.uncheckable=!1,t.query={status:A.get("openchannelStatus")?A.get("openchannelStatus"):"NEW",tags:A.get("openchannelTags")?A.get("openchannelTags"):[]},t.$watch("query.status",function(e,n){e!==n&&(A.set("openchannelStatus",t.query.status),t.getPage())},!0),l.get().$promise.then(function(e){t.tags=_.map(e.rows,"name")}).catch(function(t){console.error(t)}),t.gridOptions={exporterCsvFilename:"openchannel_rooms.csv",enableRowHeaderSelection:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!1,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,enableSelectAll:!0,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,columnDefs:[{name:"lastEvent",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"tags",displayName:"",headerCellTemplate:'',cellClass:"text-center ui-grid-vcenter",cellTemplate:"
",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"id",displayName:"Id",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
#{{row.entity.id}}
",width:75,enableSorting:!1,enableFiltering:!0,enableColumnMenu:!1},{name:"contact",cellClass:"text-center"},{name:"disposition",cellClass:"text-center"},{name:"createdAt",cellFilter:"date:'dd/MM/yyyy HH:mm'",width:120,enableFiltering:!1},{name:"updatedAt",cellFilter:"date:'dd/MM/yyyy HH:mm'",width:120,enableFiltering:!1,sort:{direction:p.DESC}},{name:"action",cellTemplate:'',enableSorting:!1,cellClass:"ui-grid-vcenter",width:90,enableFiltering:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(e){t.gridApi=e,t.gridApi.selection&&(t.gridApi.selection.on.rowSelectionChanged(t,function(e){e.isSelected?t.id.push(t.gridApi.grid.options.primaryKey?e.entity[t.gridApi.grid.options.primaryKey]:e.entity.id):_.pull(t.id,t.gridApi.grid.options.primaryKey?e.entity[t.gridApi.grid.options.primaryKey]:e.entity.id)}),t.gridApi.selection.on.rowSelectionChangedBatch(t,function(e){e[0].isSelected?t.id=_.union(t.id,_.map(e,t.gridApi.grid.options.primaryKey?"entity."+t.gridApi.grid.options.primaryKey:"entity.id")):_.map(e,t.gridApi.grid.options.primaryKey?"entity."+t.gridApi.grid.options.primaryKey:"entity.id").forEach(function(e){_.pull(t.id,e)})}))}},r.socket.on("openchannel_room:remove",function(e){_.remove(t.workspaces,{id:e.id,type:"openchannelRoom"}),_.remove(t.gridOptions.data,{id:e.id})}),t.getPage(t.query)},t.onChanged=function(){t.getPage(t.query)},t.tagItems=function(){return n.open({animation:!0,templateUrl:"app/channels/openchannel/inbox/view/view.tags.modal.html",controller:"OpenChannelInboxViewModalTagCtrl",resolve:{id:function(){return t.id}}}).result.then(function(){t.gridApi.selection.clearSelectedRows(),t.id=[],t.getPage()})},t.openRoom=function(e,n){var a=_.find(t.workspaces,{id:e,type:"openchannelRoom"});if(a?a.active=!0:t.workspaces.push({id:e,name:n,type:"openchannelRoom",class:"icon-globe",active:!0}),e&&"agent"===m.getCurrentUser().role&&"PENDING"!==t.query.status&&"CLOSED"!==t.query.status)return d.patch({id:e},{status:"OPEN",openReason:"agent"}).$promise.catch(function(t){console.error(t)})},t.getPage=function(e){o.spin("spinner-grid");var n={accountId:s.id,controller:"rooms"};return e&&_.merge(n,e),t.query&&_.merge(n,t.query),c.query(n).$promise.then(function(e){A.set("openchannelAccountId",s.id),t.gridOptions.data=e,r.socket.on("openchannel_room:save",function(e){if(e.OpenchannelAccountId==s.id){var n=_.find(t.gridOptions.data,{id:e.id});n?n.status!==e.status?_.remove(t.gridOptions.data,{id:e.id}):_.merge(n,e):t.query.status===e.status&&t.gridOptions.data.push(e)}}),r.socket.on("openchannel_room:remove",function(e){_.remove(t.gridOptions.data,{id:e.id})})}).catch(function(t){h.error(t)}).finally(function(){o.stop("spinner-grid")})},t.deleteItem=g.confirm.delete(function(e){var n={id:e};return console.log(n),d.delete(n).$promise.then(function(){t.getPage(),h.show(a.instant("MESSAGE_WELL_DONE")+"!","success"),t.gridApi.selection.clearSelectedRows(),t.id=[]}).catch(function(t){h.error(t)})}),t.deleteItems=g.confirm.delete(function(){var e={ids:t.id};return d.delete(e).$promise.then(function(){t.getPage(),h.show(a.instant("MESSAGE_WELL_DONE")+"!","success"),t.gridApi.selection.clearSelectedRows(),t.id=[]}).catch(function(t){h.error(t)})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.inbox.view.account.list",{url:"/list",templateUrl:"app/channels/openchannel/inbox/view/account/list/list.html",controller:"OpenChannelInboxViewAccountListCtrl"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelInboxViewModalAgentCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Agent","OpenChannelRoom","xAlert","roomId",function(t,e,n,a,s,i,l,o){t.initModal=function(){t.agents=[],t.item={agents:[]},s.get().$promise.then(function(e){e.rows.forEach(function(e){t.agents.push(e)})}).catch(function(t){console.error(t)}),i.query({id:o,controller:"agents"}).$promise.then(function(e){e.forEach(function(e){t.agents.push(e),t.item.agents.push(e.id)})}).catch(function(t){console.error(t)}),t.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{classes:"btn btn-success",text:"APPLICATION_RETRY",click:function(t){e.close(t)}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(t){e.dismiss(t)}}]}},t.ok=function(){return i.update({id:o,controller:"agents",agents:t.item.agents}).$promise.then(function(){l.show(n.instant("MESSAGE_WELL_DONE"),"success"),e.close()}).catch(function(t){console.error(t)})},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("OpenChannelInboxViewCtrl",["$scope","$location","$stateParams","$translate","$uibModal","socket","Auth","xAlert","OpenChannelRoom","OpenChannelAccount","localStorageService",function(t,e,n,a,s,i,l,o,r,c,d){t.initView=function(){c.get().$promise.then(function(n){var a=null;if(t.openchannelAccounts=n.rows,t.openchannelAccounts.length){var s=d.get("openchannelAccountId");a="/channels/openchannel/inbox/view/account/"+(s&&_.find(t.openchannelAccounts,{id:Number(s)})?s:t.openchannelAccounts[0].id)+"/list"}a&&e.path(a)}).catch(function(t){console.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.inbox.view",{url:"/view",templateUrl:"app/channels/openchannel/inbox/view/view.html",controller:"OpenChannelInboxViewCtrl",reload:!0,resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("OpenChannelInboxViewModalStatusCtrl",["$scope","$uibModalInstance","closed","OpenChannelAccount","accountId",function(t,e,n,a,s){t.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE"},t.initDisposition=function(){return a.get({accountId:s,controller:"dispositions"}).$promise.then(function(e){t.dispositions=e.rows}).catch(function(t){console.error(t)})},t.item={},t.closed=n,t.ok=function(){e.close(t.item)},t.cancel=function(){e.dismiss()}}]),angular.module("xCallyShuttleApp").controller("OpenChannelInboxViewModalTagCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Tag","OpenChannelRoom","xAlert","id",function(t,e,n,a,s,i,l,o){t.initModal=function(){return t.tags=[],t.item={tags:[]},t.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{class:"btn-success",text:"APPLICATION_TAG",click:function(){var a={status:!0};return i.patch({id:o},{tags:t.item.tags}).$promise.then(function(){l.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(){a.status=!1,l.show(n.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")}).finally(function(){e.close(a)})}},{class:"default",text:"APPLICATION_CANCEL",click:function(t){e.dismiss(t)}}]},s.get().$promise.then(function(e){t.tags=_.map(e.rows,"name")}).catch(function(t){console.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel",{url:"/openchannel",template:"
",abstract:!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:20}}})}]),angular.module("xCallyShuttleApp").factory("OpenChannelReport",["$resource",function(t){return t("/api/report/openchannel/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("OpenChannelRoom",["$resource",function(t){return t("/api/openchannel/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").factory("OpenChannelMessage",["$resource",function(t){return t("/api/openchannel/messages/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("OpenChannelQueueListCtrl",["$scope","OpenChannelQueue","gridOptions","$uibModal","xAlert","Auth",function(t,e,n,a,s,i){t.initView=function(){t.Auth=i;var a={exporterCsvFilename:"openchanel_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"timeout"},{name:"strategy"},{name:"action",width:100,buttons:[{class:"blue-hoki",href:"/channels/openchannel/queues/view/{{row.entity.id}}/settings",name:"settings"},{class:"green-meadow",href:"/channels/openchannel/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===i.getCurrentUser().role},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=n.gridOptions(e,a,t)},t.createItem=function(){a.open({animation:!0,templateUrl:"app/channels/openchannel/queue/list/list.create.modal.html",controller:"OpenChannelQueueListCreateCtrl",size:"lg"}).result.then(function(e){console.log(e),t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("OpenChannelQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","OpenChannelQueue","Team","strategies",function(t,e,n,a,s,i,l){t.form={},t.strategies=l,t.item={penalty:0,agents:[]},t.getTeams=function(){return i.get({controller:"associations"}).$promise.then(function(e){t.teams=e.rows}).then(function(){ComponentsDropdowns.bindQueue(t.teams,[],function(){return{select:function(e){t.item.agents=_.union(t.item.agents,e)},deselect:function(e){t.item.agents=_.difference(t.item.agents,e)}}})}).catch(function(t){console.error(t)})},t.save=function(){return console.log(t.item),s.save(t.item).$promise.then(function(t){e.close(t)}).catch(function(t){a.error(t)})},t.cancel=function(){e.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.queues.list",{url:"/list",templateUrl:"app/channels/openchannel/queue/list/list.html",controller:"OpenChannelQueueListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").factory("OpenChannelQueue",["$resource",function(t){return t("/api/openchannel/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.queues",{url:"/queues",template:"
",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:47}}})}]),angular.module("xCallyShuttleApp").controller("OpenChannelQueueViewCtrl",["$scope","$http","Auth","$translate","$stateParams","xAlert","Team","OpenChannelQueue","strategies",function(t,e,n,a,s,i,l,o,r){t.strategies=r,t.Auth=n;var c=function(){return{select:function(e){return o.save({id:t.queue.id,controller:"agents"},{agents:e,penalty:t.queue.penalty}).$promise.then(function(e){console.log("sel",e),t.getTeams()}).catch(function(t){console.error(t)})},deselect:function(e){return o.delete({id:t.queue.id,controller:"agents",agents:e}).$promise.then(function(e){console.log("desel",e),t.getTeams()}).catch(function(t){console.error(t)})}}};t.getQueue=function(){return o.get({id:s.id}).$promise.then(function(e){e.penalty=0,t.queue=e}).catch(function(t){console.error(t)})},t.updateQueue=function(){return o.update({id:s.id},{name:t.queue.name,description:t.queue.description,timeout:t.queue.timeout,strategy:t.queue.strategy}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},t.getTeams=function(){return l.get({controller:"associations"}).$promise.then(function(e){return t.teams=e.rows,console.log(e.rows),o.get({id:s.id,controller:"agents"}).$promise}).then(function(e){console.log(e),ComponentsDropdowns.bindQueue(t.teams,_.map(e.rows,function(t){return{id:t.id,penalty:t.UserHasOpenchannelQueue.penalty}}),c)}).catch(function(t){console.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.queues.view",{url:"/view/:id",templateUrl:"app/channels/openchannel/queue/view/view.html",controller:"OpenChannelQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.openchannel.queues.view.settings",{url:"/settings",templateUrl:"app/channels/openchannel/queue/view/view.settings.html"}).state("main.channels.openchannel.queues.view.agents",{url:"/agents",templateUrl:"app/channels/openchannel/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.realtime",{url:"/realtime",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:49}}})}]),angular.module("xCallyShuttleApp").controller("OpenChannelRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","OpenChannelQueue","usSpinnerService","$q","uiGridConstants","$timeout",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m){function g(){return d.spin("grid-spinner"),l.get(I).$promise.then(function(e){t.gridOptions.totalItems=e.count,t.gridOptions.data=[],e.rows.forEach(function(t){f(t)})}).catch(function(t){i.error(t)}).finally(function(){d.stop("grid-spinner")})}function h(){s.socket.on("agent:save",function(e){e=e.newValues||e;var n=_.find(t.gridOptions.data,{agentId:e.id,isAgent:!0});n&&(n.online=_.has(e,"online")?e.online:n.online,n.lastLoginAt=_.has(e,"lastLoginAt")?e.lastLoginAt:n.lastLoginAt,n.pause=_.has(e,"openchannelPause")?e.openchannelPause:n.openchannelPause,n.pauseType=_.has(e,"pauseType")?e.pauseType:n.pauseType,n.lastPauseAt=_.has(e,"lastPauseAt")?e.lastPauseAt:n.lastPauseAt,n.ipaddr=_.has(e,"ipaddr")?e.ipaddr:n.ipaddr,n.port=_.has(e,"port")?e.port:n.port,n.fullcontact=_.has(e,"fullcontact")?e.fullcontact:n.fullcontact,n.useragent=_.has(e,"useragent")?e.useragent:n.useragent,n.lastms=_.has(e,"lastms")?e.lastms:n.lastms,n.internal=_.has(e,"internal")?e.internal:n.internal,_.map(t.gridOptions.data,function(t){t.isAgent||t.agentId!==e.id||(t.online=_.has(e,"online")?e.online:t.online)}))}),s.socket.on("agent:remove",function(e){_.remove(t.gridOptions.data,{agentId:e.id})}),s.socket.on("user_has_openchannel_queue:save",function(e){console.log("new queue",e);var n=_.find(t.gridOptions.data,{agentId:e.UserId,isAgent:!0}),a=t.gridOptions.data.indexOf(n);t.gridOptions.data.splice(a+1,0,{isAgent:!1,agentId:e.UserId,queue:e.queue,queueId:e.OpenchannelQueueId,agent:e.membername,online:n.online})}),s.socket.on("user_has_openchannel_queue:remove",function(e){_.remove(t.gridOptions.data,{agentId:e.UserId,queueId:e.OpenchannelQueueId})})}function f(e){t.gridOptions.data.push({isAgent:!0,agentId:e.id,agent:e.name,online:e.online,lastLoginAt:e.lastLoginAt,lastPauseAt:e.lastPauseAt,pause:e.openchannelPause,pauseType:e.pauseType,ipaddr:e.ipaddr,port:e.port,fullcontact:e.fullcontact,useragent:e.useragent,lastms:e.lastms,internal:e.internal,$$treeLevel:0}),e.OpenchannelQueues&&e.OpenchannelQueues.forEach(function(n){t.gridOptions.data.push({isAgent:!1,agentId:e.id,queue:n.name,queueId:n.id,agent:e.name,online:e.online})})}function A(){return o.get().$promise.then(function(e){t.pauses=e.rows,s.syncUpdates("pause",t.pauses)}).catch(function(t){i.error(t)})}function v(){return c.get().$promise.then(function(e){t.openchannelQueues=e.rows,s.syncUpdates("openchannel_queue",t.openchannelQueues)}).catch(function(t){i.error(t)})}t.openchannelQueues=[];var I={controller:"realtime",controller1:"openchannel",offset:0,limit:10};t.moment=moment,t.initAgents=function(){t.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.agent}} <{{row.entity.internal}}>
'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:p.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"openchannelPause",displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{row.entity.pauseType}})
',filter:{type:p.filter.SELECT,selectOptions:[{value:"true",label:"PAUSED"},{value:"false",label:"NOT PAUSED"}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(t){var e=u.defer();return e.resolve(a.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){b(t.gridApi.core.getVisibleRows(t.gridApi.grid).length)}),t.gridApi.treeBase.on.rowExpanded(t,function(e){b(t.gridApi.core.getVisibleRows(t.gridApi.grid).length+e.treeNode.children.length)}),t.gridApi.treeBase.on.rowCollapsed(t,function(e){b(t.gridApi.core.getVisibleRows(t.gridApi.grid).length-e.treeNode.children.length)}),t.gridApi.core.on.sortChanged(t,function(t,e){0===e.length?I.order=null:I.order=e[0].name+" "+e[0].sort.direction.toUpperCase(),g()}),t.gridApi.pagination.on.paginationChanged(t,function(t,e){I.offset=(t-1)*e,I.limit=e,g()}),t.gridApi.core.on.filterChanged(t,function(){this.grid.columns.forEach(function(t){t.filters[0].term?I[t.name]=t.filters[0].term:delete I[t.name]}),g()})}},g(),A(),v(),m(function(){h()})};var b=function(t){var e=t?30*t+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*t+"px")};t.$on("$destroy",function(){s.unsyncUpdates("agent"),s.unsyncUpdates("user_has_openchannel_queue")}),t.pause=function(e,n,s){return s&&(t.pauseType=null),r.save({name:n,agent:e.agentId,data2:e.agent,type:s||"DEFAULT PAUSE",data4:s||"DEFAULT PAUSE",channel:"openchannel"}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},t.joinQueue=function(s){n.open({animation:!0,templateUrl:"app/channels/openchannel/realtime/view/agent/queue.modal.add.html",controller:"OpenChannelRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(t.openchannelQueues,function(e){return!!_.find(t.gridOptions.data,{queue:e.name,isAgent:!1,agentId:s})})}}}).result.then(function(e){return r.save({name:"QueueAdd",agent:s,queues:_.filter(t.openchannelQueues,function(t){return _.includes(e.queues,t.id)}),channel:"openchannel",data1:s,data3:e.queues.join(","),data4:"openchannel"}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},function(){e.info("Modal dismissed at: "+new Date)})},t.leaveQueue=function(t,e){return r.save({name:"QueueRemove",agent:t,queueId:e,channel:"openchannel",data1:t,data3:e,data4:"openchannel"}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},t.showInfo=function(t){n.open({animation:!0,templateUrl:"app/channels/openchannel/realtime/view/agent/agent.modal.info.html",controller:"OpenChannelRealtimeViewAgentInfoModalCtrl",resolve:{agent:t}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/openchannel/realtime/view/agent/agent.html",controller:"OpenChannelRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(t,e,n,a){t.agent=a,t.close=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("OpenChannelRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(t,e,n,a){t.queues=a,t.item={},t.save=function(){e.close(t.item)},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("OpenChannelRealtimeViewApplicationCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportOpenChannelSession","usSpinnerService","$q","uiGridConstants","$timeout",function(t,e,n,a,s,i,l,o,r,c,d){function u(){return o.spin("spinner-grid"),l.get({controller:"waiting",controller2:"applications"}).$promise.then(function(e){t.gridOptions.data=e.rows}).catch(function(t){i.error(t)}).finally(function(){p(),o.stop("spinner-grid")})}function p(){s.socket.on("report_openchannel_session:save",function(e){var n=_.find(t.gridOptions.data,{id:e.id});n?(_.merge(n,e),e.leaveAt&&d(function(){_.remove(t.gridOptions.data,{id:e.id})},1e4)):e.leaveAt||t.gridOptions.data.push(e)}),s.socket.on("report_openchannel_session:remove",function(e){_.remove(t.gridOptions.data,{id:e.id})})}t.moment=moment,t.initApplications=function(){t.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_TIMEOUT\' | translate}}
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.queuename || ''}}
"}],data:[],gridMenuTitleFilter:function(t){var e=r.defer();return e.resolve(a.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){m(t.gridOptions.data.length)})}},u()};var m=function(t){var e=t?30*t+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*t+"px")};t.$on("$destroy",function(){s.unsyncUpdates("report_openchannel_session")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.realtime.view.applications",{url:"/applications",templateUrl:"app/channels/openchannel/realtime/view/application/application.html",controller:"OpenChannelRealtimeViewApplicationCtrl"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelRealtimeViewCtrl",["$scope","$state",function(t,e){t.agents=[{name:"Queues",link:"main.channels.openchannel.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.openchannel.realtime.view.agents.timeline"}],t.sessions=[{name:"Sessions",link:"main.channels.openchannel.realtime.view.sessions"}],t.tree={queues:[{name:"Queues",link:"main.channels.openchannel.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.openchannel.realtime.view.agents.timeline"}],sessions:[{name:"Sessions",link:"main.channels.openchannel.realtime.view.sessions"}]},t.timerSwitch={isActive:!0,size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"primary"},t.showTimers=!1}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.openchannel.realtime.view",{url:"/view",templateUrl:"app/channels/openchannel/realtime/view/view.html",controller:"OpenChannelRealtimeViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("ReportOpenChannelSession",["$resource",function(t){return t("/api/report/openchannel/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.realtime",{url:"/realtime",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:12}}})}]),angular.module("xCallyShuttleApp").controller("RealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","usSpinnerService","$q","uiGridConstants","$timeout",function(t,e,n,a,s,i,l,o,r,c,d,u,p){function m(e){return c.spin("grid-spinner"),l.get(f).$promise.then(function(e){t.gridOptions.totalItems=e.count,t.gridOptions.data=e.rows}).catch(function(t){i.error(t)}).finally(function(){e&&p(function(){g()}),c.stop("grid-spinner")})}function g(){s.socket.on("agent:save",function(e){e=e.newValues||e;var n=_.find(t.gridOptions.data,{id:e.id});n&&_.merge(n,e)}),s.socket.on("agent:remove",function(e){_.remove(t.gridOptions.data,{id:e.id})})}function h(){return o.get().$promise.then(function(e){t.pauses=e.rows,s.syncUpdates("pause",t.pauses)}).catch(function(t){i.error(t)})}var f={controller:"realtime",offset:0,limit:10};t.moment=moment,t._=_,t.initAgents=function(){t.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.name}} <{{row.entity.internal}}>
",minWidth:250},{name:"online",displayName:"APPLICATION_ONLINE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:u.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"pauseStatus",displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
[{{row.entity.pauseType}}]
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"voicePause",displayName:"APPLICATION_VOICE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
*
',filter:{type:u.filter.SELECT,selectOptions:[{value:"true",label:a.instant("APPLICATION_PAUSED")},{value:"connect",label:a.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"mailPause",displayName:"APPLICATION_MAIL",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:u.filter.SELECT,selectOptions:[{value:"true",label:a.instant("APPLICATION_PAUSED")},{value:"connect",label:a.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"chatPause",displayName:"APPLICATION_CHAT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:u.filter.SELECT,selectOptions:[{value:"true",label:a.instant("APPLICATION_PAUSED")},{value:"connect",label:a.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"faxPause",displayName:"APPLICATION_FAX",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:u.filter.SELECT,selectOptions:[{value:"true",label:a.instant("APPLICATION_PAUSED")},{value:"connect",label:a.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"smsPause",displayName:"APPLICATION_SMS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:u.filter.SELECT,selectOptions:[{value:"true",label:a.instant("APPLICATION_PAUSED")},{value:"connect",label:a.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"openchannelPause",displayName:"APPLICATION_OPENCHANNEL",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:u.filter.SELECT,selectOptions:[{value:"true",label:a.instant("APPLICATION_PAUSED")},{value:"connect",label:a.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(t){var e=d.defer();return e.resolve(a.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){A(t.gridApi.core.getVisibleRows(t.gridApi.grid).length)}),t.gridApi.core.on.sortChanged(t,function(t,e){0===e.length?f.order=null:f.order=e[0].name+" "+e[0].sort.direction.toUpperCase(),m()}),t.gridApi.pagination.on.paginationChanged(t,function(t,e){f.offset=(t-1)*e,f.limit=e,m()}),t.gridApi.core.on.filterChanged(t,function(){this.grid.columns.forEach(function(t){t.filters[0].term?f[t.name]=t.filters[0].term:delete f[t.name]}),m()})}},m(!0),h()};var A=function(t){var e=t?30*t+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*t+"px")};t.$on("$destroy",function(){s.unsyncUpdates("agent")}),t.pause=function(e,n,s,l){return s&&(t.pauseType=null),r.save({name:n,agent:e.id,data2:e.name,type:s||"DEFAULT PAUSE",data4:s||"DEFAULT PAUSE",channel:l||"all"}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/realtime/view/agent/agent.html",controller:"RealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("RealtimeViewAgentLogoutModalCtrl",["$scope","$uibModalInstance","name",function(t,e,n){t.agent=n,t.logout=function(){e.close()}}]),angular.module("xCallyShuttleApp").controller("RealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(t,e,n,a){t.queues=a,t.item={},t.save=function(){e.close(t.item)},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("RealtimeViewCtrl",["$scope",function(t){t.timerSwitch={isActive:!0,size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"primary"},t.showTimers=!1}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.realtime.view",{url:"/view",templateUrl:"app/channels/realtime/view/view.html",controller:"RealtimeViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("ReportCall",["$resource",function(t){return t("/api/report/calls/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportDial",["$resource",function(t){return t("/api/report/dials/:id/:controller/:controller2",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SmsAccount",["$resource",function(t){return t("/api/sms/accounts/:accountId/:controller/:id",{id:"@accountId"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.accounts",{url:"/accounts",template:"
",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:42}}})}]),angular.module("xCallyShuttleApp").controller("SmsAccountListCtrl",["$scope","SmsAccount","gridOptions","$stateParams","xAlert","$translate",function(t,e,n,a,s,i){t.message="Hello",t.initView=function(){var s={exporterCsvFilename:"sms_accounts.csv",columnDefs:[{name:"id",displayName:"ID",cellClass:"text-center",width:75,enableSorting:!1,enableFiltering:!1},{name:"name"},{name:"description"},{name:"type",displayName:"APPLICATION_ACCOUNT_TYPE"},{name:"action",width:100,buttons:[{class:"blue-hoki",href:"/channels/sms/accounts/view/{{row.entity.id}}/settings",name:"profile"},{class:"green-jungle",name:"check",onClick:"grid.appScope.checkAccount(row.entity.id)"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=n.gridOptions(e,s,t,{accountId:a.accountId})},t.checkAccount=function(t){return e.get({accountId:t,controller:"check"}).$promise.then(function(){s.show(i.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")}).catch(function(t){s.show(i.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.accounts.list",{url:"/list",templateUrl:"app/channels/sms/account/list/list.html",controller:"SmsAccountListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.accounts.view.actions",{url:"/actions",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").factory("SmsApplication",["$resource",function(t){return t("/api/sms/applications/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewActionListCtrl",["$scope","gridOptions","SmsAccount","$http","$translate","$stateParams","xAlert",function(t,e,n,a,s,i,l){t.initActions=function(){var a={draggable:!0,exporterCsvFilename:"sms_applications.csv",enableSorting:!1,enableFiltering:!1,columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.app == "queue" ? row.entity.SmsQueue.name : row.entity.User.name}}
'},{name:"timeout",cellClass:"text-center"},{name:"interval",displayName:"APPLICATION_TIME_INTERVAL",cellClass:"text-center",cellTemplate:"
{{row.entity.Interval ? row.entity.Interval.name : row.entity.interval}}
"},{name:"action",width:125,buttons:[{class:"blue-hoki",href:"/channels/sms/accounts/view/{{row.entity.SmsAccountId}}/actions/view/{{row.entity.id}}",name:"profile"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};t.gridOptions=e.gridOptions(n,a,t,{accountId:i.accountId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.accounts.view.actions.list",{url:"/list",templateUrl:"app/channels/sms/account/view/action/list/list.html",controller:"SmsAccountViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","Agent","Interval","SmsQueue","SmsAccount","Template","MailAccount","SmsApplication",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h,f){t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.initAction=function(){return t.$application=r.application,t.$stateParams=n,t.$interval=c.interval,t.forms={},t.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"},{name:"SendSMS",value:"sendSms"}],f.get({id:n.actionId}).$promise.then(function(e){if(t.application=e,t.application.alwaysTime=!1,t.application.IntervalId)t.application.intType="list";else switch(t.application.interval){case"*,*,*,*":t.application.intType="always";break;default:t.application.intType="custom"}if("always"===t.application.intType||"custom"===t.application.intType){var n=t.application.interval.split(",");"*"===n[0]?t.application.alwaysTime=!0:(t.application.t_from=moment(new Date),t.application.t_to=moment(new Date),t.application.t_from.hour(n[0].split("-")[0].split(":")[0]),t.application.t_from.minute(n[0].split("-")[0].split(":")[1]),t.application.t_to.hour(n[0].split("-")[1].split(":")[0]),t.application.t_to.minute(n[0].split("-")[1].split(":")[1])),"*"===n[1]?(t.application.wd_from="always",t.application.wd_to="always"):(t.application.wd_from=n[1].split("-")[0],t.application.wd_to=n[1].split("-")[1]),"*"===n[2]?(t.application.md_from="always",t.application.md_to="always"):(t.application.md_from=n[2].split("-")[0],t.application.md_to=n[2].split("-")[1]),"*"===n[3]?(t.application.m_from="always",t.application.m_to="always"):(t.application.m_from=n[3].split("-")[0],t.application.m_to=n[3].split("-")[1])}t.$watch("application.t_from",function(e){t.application.t_from_hm=moment(e).format("HH:mm")}),t.$watch("application.t_to",function(e){t.application.t_to_hm=moment(e).format("HH:mm")})}).catch(function(t){i.error(t)})},t.getQueues=function(){return p.get().$promise.then(function(e){t.queues=e.rows}).catch(function(t){console.error(t)})},t.getAgents=function(){return d.get().$promise.then(function(e){t.agents=e.rows}).catch(function(t){console.error(t)})},t.getIntervals=function(){return u.get().$promise.then(function(e){t.intervals=e.rows}).catch(function(t){console.error(t)})},t.getTemplates=function(){return g.get().$promise.then(function(e){t.templates=e.rows}).catch(function(t){console.error(t)})},t.getMailAccounts=function(){return h.get().$promise.then(function(e){t.mailAccounts=e.rows}).catch(function(t){console.error(t)})},t.getSmsAccounts=function(){return m.get().$promise.then(function(e){t.smsAccounts=e.rows}).catch(function(t){console.error(t)})},t.updateItem=function(){switch(t.application.intType){case"always":t.application.interval="*,*,*,*",t.application.IntervalId=null;break;case"list":var e=_.find(t.intervals,{id:t.application.IntervalId});t.application.interval=e?"":"*,*,*,*",t.application.IntervalId=e?t.application.IntervalId:null;break;case"custom":var l,o,r,c,d;l=t.application.t_from&&t.application.t_to&&!t.application.alwaysTime?moment(t.application.t_from).format("HH:mm")+"-"+moment(t.application.t_to).format("HH:mm"):"*",t.application.wd_from&&"always"!==t.application.wd_from?(o=t.application.wd_from,t.application.wd_to&&"always"!==t.application.wd_to&&(o+="-"+t.application.wd_to)):o="*",t.application.md_from&&"always"!==t.application.md_from?(r=t.application.md_from,t.application.md_to&&"always"!==t.application.md_to&&(r+="-"+t.application.md_to)):r="*",t.application.m_from&&"always"!==t.application.m_from?(c=t.application.m_from,t.application.m_to&&"always"!==t.application.m_to&&(c+="-"+t.application.m_to)):c="*",d=l+","+o+","+r+","+c,t.application.interval=d,t.application.IntervalId=null}return m.update({accountId:n.accountId,controller:"applications",id:n.actionId},t.application).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success"),s.path("/channels/sms/accounts/view/"+n.accountId+"/actions/list")}).catch(function(t){i.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.accounts.view.actions.view",{url:"/view/:actionId",templateUrl:"app/channels/sms/account/view/action/view/view.html",controller:"SmsAccountViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewActionWizardCtrl",["$scope","$http","Agent","SmsQueue","Interval","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","SmsAccount","Template","MailAccount",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h){t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.initWizard=function(){t.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"},{name:"SendSMS",value:"sendSms"}],t.$application=u.application,t.$stateParams=i,t.$interval=p.interval,t.forms={},t.application={alwaysTime:!0},t.$watch("application.t_from",function(e){t.application.t_from_hm=moment(e).format("HH:mm")}),t.$watch("application.t_to",function(e){t.application.t_to_hm=moment(e).format("HH:mm")})},t.getQueues=function(){return a.get().$promise.then(function(e){console.log(e),t.queues=e.rows}).catch(function(t){console.error(t)})},t.getAgents=function(){return n.get().$promise.then(function(e){t.agents=e.rows}).catch(function(t){console.error(t)})},t.getIntervals=function(){return s.get().$promise.then(function(e){t.intervals=e.rows}).catch(function(t){console.error(t)})},t.getTemplates=function(){return g.get().$promise.then(function(e){t.templates=e.rows}).catch(function(t){console.error(t)})},t.getMailAccounts=function(){return h.get().$promise.then(function(e){t.mailAccounts=e.rows}).catch(function(t){console.error(t)})},t.getSmsAccounts=function(){return m.get().$promise.then(function(e){t.smsAccounts=e.rows}).catch(function(t){console.error(t)})},t.createItem=function(){switch(t.application.intType){case"always":t.application.interval="*,*,*,*",t.application.IntervalId=null;break;case"list":var e=_.find(t.intervals,{id:t.application.IntervalId});t.application.interval=e?"":"*,*,*,*",t.application.IntervalId=e?t.application.IntervalId:null;break;case"custom":var n,a,s,c,d;n=t.application.t_from&&t.application.t_to&&!t.application.alwaysTime?moment(t.application.t_from).format("HH:mm")+"-"+moment(t.application.t_to).format("HH:mm"):"*",t.application.wd_from&&"always"!==t.application.wd_from?(a=t.application.wd_from,t.application.wd_to&&"always"!==t.application.wd_to&&(a+="-"+t.application.wd_to)):a="*",t.application.md_from&&"always"!==t.application.md_from?(s=t.application.md_from,t.application.md_to&&"always"!==t.application.md_to&&(s+="-"+t.application.md_to)):s="*",t.application.m_from&&"always"!==t.application.m_from?(c=t.application.m_from,t.application.m_to&&"always"!==t.application.m_to&&(c+="-"+t.application.m_to)):c="*",d=n+","+a+","+s+","+c,t.application.interval=d,t.application.IntervalId=null}return m.save({accountId:i.accountId,controller:"applications"},t.application).$promise.then(function(){r.show(l.instant("MESSAGE_WELL_DONE"),"success"),o.path("/channels/sms/accounts/view/"+i.accountId+"/actions/list")}).catch(function(t){r.error(t)})},t.formValidation=function(t){return t},t.next=function(){c.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.accounts.view.actions.wizard",{url:"/wizard",templateUrl:"app/channels/sms/account/view/action/wizard/wizard.html",controller:"SmsAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountApiViewCtrl",["$scope","SmsAccount","$http","$stateParams","clipboard","$translate","$location","xAlert",function(t,e,n,a,s,i,l,o){t.copyToClipboard=function(t){s.copyText(t),o.show(i.instant("MESSAGE_TEXT_COPIED_CLIPBOARD")+"!","success")},t.initView=function(){e.get({id:a.accountId}).$promise.then(function(e){t.account=e,t.deliveryurl=t.account.remote+"/api/sms/accounts/"+t.account.id+"/messageStatus",t.receiveurl=t.account.remote+"/api/sms/accounts/"+t.account.id+"/receive"}).catch(function(t){o.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.accounts.view.api",{url:"/api",controller:"SmsAccountApiViewCtrl",templateUrl:"app/channels/sms/account/view/api/view/view.html"})}]),angular.module("xCallyShuttleApp").factory("SmsDisposition",["$resource",function(t){return t("/api/sms/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModaDispositionAddCtrl",["$scope","$uibModalInstance","SmsAccount","id",function(t,e,n,a){t.ok=function(){return n.save({accountId:a,controller:"dispositions"},{name:t.name}).$promise.then(function(t){e.close(t)})},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsAccountDispositionViewCtrl",["$scope","$stateParams","$uibModal","$translate","SmsAccount","xAlert",function(t,e,n,a,s,i){t.initView=function(){return s.get({accountId:e.accountId,controller:"dispositions"}).$promise.then(function(e){t.dispositions=e.rows}).catch(function(t){console.error(t),i.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},t.updateDisposition=function(t,n){return s.update({accountId:e.accountId,controller:"dispositions",id:t},{name:n}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){console.error(t),i.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},t.deleteDisposition=function(n){return console.log("delete"),s.remove({accountId:e.accountId,controller:"dispositions",id:n}).$promise.then(function(){_.remove(t.dispositions,{id:n})}).catch(function(t){console.error(t),i.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},t.addDisposition=function(){return n.open({animation:!0,templateUrl:"app/channels/sms/account/view/disposition/modal/add.modal.html",controller:"SmsInboxViewModaDispositionAddCtrl",resolve:{id:function(){return e.accountId}}}).result.then(function(e){e&&t.dispositions.push(e)}).catch(function(t){console.error(t),i.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.accounts.view.dispositions",{url:"/dispositions",controller:"SmsAccountDispositionViewCtrl",templateUrl:"app/channels/sms/account/view/disposition/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountHooksViewCtrl",["$scope","SmsAccount","Pause","$http","$stateParams","clipboard","$translate","$location","xAlert",function(t,e,n,a,s,i,l,o,r){t.account={},t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.CONST_TIMEOUT=3e4,t.initView=function(){t.types=[{value:"",name:"-- None --"},{name:"HTTP GET",value:"GET"},{name:"HTTP POST",value:"POST"}],n.get().$promise.then(function(e){t.pauses=e.rows}).catch(function(t){r.error(t)}),e.get({id:s.accountId}).$promise.then(function(e){t.account=e,t.account.actions.length<1&&t.account.actions.push({action:"pause",enabled:!1,type:null})}).catch(function(t){r.error(t)})},t.resetActionData=function(t){t.type=null},t.updateItemSmsAccount=function(){return console.log(t.account),e.update({id:s.accountId},t.account).$promise.then(function(){r.show(l.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){r.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.accounts.view.hooks",{url:"/hooks",controller:"SmsAccountHooksViewCtrl",templateUrl:"app/channels/sms/account/view/hooks/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountSettingViewCtrl",["$scope","SmsAccount","Pause","$http","$stateParams","clipboard","$translate","$location","xAlert","List",function(t,e,n,a,s,i,l,o,r,c){t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.CONST_TIMEOUT=3e4,t.types=[{name:"HTTP GET",value:"GET"},{name:"HTTP POST",value:"POST"}],t.account={},t.initView=function(){c.get().$promise.then(function(e){t.lists=e.rows}).catch(function(t){console.error(t)}),e.get({id:s.accountId}).$promise.then(function(e){t.account=e}).catch(function(t){r.error(t)})},t.updateItemSmsAccount=function(){return e.update({id:s.accountId},t.account).$promise.then(function(){r.show(l.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){r.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.accounts.view.settings",{url:"/settings",controller:"SmsAccountSettingViewCtrl",templateUrl:"app/channels/sms/account/view/setting/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewCtrl",["$scope","SmsAccount","$http","$stateParams","clipboard","$translate","$location","xAlert","List",function(t,e,n,a,s,i,l,o,r){t.initView=function(){return t.account={},e.get({id:a.accountId}).$promise.then(function(e){t.account=e,console.log(e)}).catch(function(t){o.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.accounts.view",{url:"/view/:accountId",templateUrl:"app/channels/sms/account/view/view.html",controller:"SmsAccountViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}})}]),angular.module("xCallyShuttleApp").controller("SmsAccountWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert","SmsAccount",function(t,e,n,a,s,i,l){t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.initWizard=function(){t.forms={},t.item={},t.item.remote=n.protocol()+"://"+location.host},t.goNext=function(){s.wizard().next()},t.formValidation=function(t){return t},t.createItem=function(){return console.log(t.item),l.save(t.item).$promise.then(function(){n.path("/channels/sms/accounts/list")}).catch(function(t){i.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.accounts.wizard",{url:"/wizard",templateUrl:"app/channels/sms/account/wizard/wizard.html",controller:"SmsAccountWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.inbox",{url:"/inbox",template:"
",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:44}}})}]),angular.module("xCallyShuttleApp").directive("smsRoom",["$cookieStore","$translate","$uibModal","$timeout","Tag","CannedAnswer","Auth","SmsAccount","SmsRoom","SmsMessage","xAlert","usSpinnerService","socket","$stateParams","$rootScope",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/channels/sms/inbox/room/room.directive.html",link:function(t){t.modelOptions={debounce:{default:500,blur:250},getterSetter:!0},t.panelLeft=null,t.panelRight="col-md-12",t.togglePanelLeft=function(){t.panelLeft?(t.panelLeft=null,t.panelRight="col-md-12"):(t.panelLeft="col-md-6",t.panelRight="col-md-6")},t.form={disabled:!1,from:"",to:t.workspace.data&&t.workspace.data.to?t.workspace.data.to:"",body:""},p.socket.on("sms_message:save",function(e){if(t.workspace.id&&e.SmsRoomId==t.workspace.id)return c.get({id:e.id}).$promise.then(function(e){t.SmsRoom||(t.SmsRoom={SmsMessages:[]});var n=_.findIndex(t.SmsRoom.SmsMessages,{id:e.id});n>-1?_.merge(t.SmsRoom.SmsMessages[n],e):t.SmsRoom.SmsMessages.unshift(e),t.panelLeft="col-md-6",t.panelRight="col-md-6"}).catch(function(t){console.error(t)})}),p.socket.on("sms_message:update",function(e){if(t.SmsRoom&&e.SmsRoomId==t.workspace.id){var n=_.find(t.SmsRoom.SmsMessages,{id:e.id});n&&_.merge(n,e)}}),p.socket.on("sms_room:save",function(e){t.SmsRoom&&e.id==t.workspace.id&&(t.SmsRoom.status=e.status,t.SmsRoom.disposition=e.disposition)}),t.closeRoom=function(e){return n.open({animation:!0,templateUrl:"app/channels/sms/inbox/view/view.status.modal.html",controller:"SmsInboxViewModalStatusCtrl",resolve:{closed:function(){return"CLOSED"===t.SmsRoom.status},accountId:function(){return t.SmsRoom.SmsAccountId}}}).result.then(function(t){var n={id:e,status:"CLOSED"};return t.disposition&&(n.disposition=t.disposition),r.update(n).$promise.catch(function(t){d.error(t)})})},t.openRoom=function(t,e){var n=_.find(g.workspaces,{id:t,type:"smsRoom"});n?n.active=!0:g.workspaces.push({id:t,name:e,type:"smsRoom",class:"glyphicon glyphicon-comment",active:!0})},s.get().$promise.then(function(e){t.tags=_.map(e.rows,"name")}).catch(function(t){console.error(t)}),o.get().$promise.then(function(e){t.smsAccounts=e.rows}).catch(function(t){console.error(t)}),t.workspace.id?(t.panelLeft="col-md-6",t.panelRight="col-md-6",r.get({id:t.workspace.id}).$promise.then(function(e){t.SmsRoom=e,t.form.from=t.SmsRoom.SmsAccount.phone,t.form.to=t.SmsRoom.contact,t.form.tags=t.SmsRoom.tags}).catch(function(t){console.error(t)}).finally(function(){u.stop("spinner-grid"),t.form.disabled=!1})):u.stop("spinner-grid"),t.onSelect=function(){t.form.body+=t.modelOptions.selectedAnswer,delete t.modelOptions.selectedAnswer},t.onSelectAnswer=function(e){t.form.body+=e,t.selectedAnswer=""},t.getAnswers=function(t){return i.get({key:t}).$promise.then(function(t){return _.map(t.rows,"value")})},t.onChanged=function(){return r.patch({id:t.workspace.id},{tags:t.form.tags}).$promise.catch(function(t){console.error(t)})},t.sendSMS=function(){u.spin("spinner-grid");var n=_.find(t.smsAccounts,{phone:t.form.from}),a={body:t.form.body,SmsRoomId:t.SmsRoom?t.SmsRoom.id:null};if("twilio"===n.type?(a.from=/^[\+][0-9]+$/.test(t.form.from)?t.form.from:"+"+t.form.from,a.to=/^[\+][0-9]+$/.test(t.form.to)?t.form.to:"+"+t.form.to):(a.from=/^[\+][0-9]+$/.test(t.form.from)?t.form.from.replace("+",""):t.form.from,a.to=/^[\+][0-9]+$/.test(t.form.to)?t.form.to.replace("+",""):t.form.to),n)return o.save({accountId:n.id,controller:"send"},a).$promise.then(function(n){return d.show(e.instant("MESSAGE_WELL_DONE"),"success"),t.SmsRoom?t.SmsRoom:r.get({id:"messages",controller:n.id}).$promise}).then(function(e){e&&(t.form.body="",t.workspace.id=e.id,t.workspace.name=e.contact,t.SmsRoom=e,t.panelLeft="col-md-6",t.panelRight="col-md-6")}).catch(function(t){d.error(t)}).finally(function(){u.stop("spinner-grid")});console.log("Can not find account")}}}}]),angular.module("xCallyShuttleApp").controller("SmsInboxInfoModalCtrl",["$scope","$translate","$uibModalInstance","$stateParams","xAlert","data","uniqueId","ReportSquare",function(t,e,n,a,s,i,l,o){t.data=null,t.initInfo=function(){i&&(t.data=_.isEmpty(JSON.parse(i))?null:JSON.parse(i)),l&&o.get({controller:"show",uniqueid:l}).$promise.then(function(e){t.data={id:e.id,channel:e.channel,uniqueid:e.uniqueid,callerid:e.callerid,calleridname:e.calleridname,project_name:e.project_name,extension:e.extension}}).catch(function(e){switch(e.status){case 404:t.data=null;break;default:s.error(e)}})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").directive("sms",["$rootScope","SmsMessage","List","xAlert","$translate","$uibModal",function(t,e,n,a,s,i){return{restrict:"E",scope:{smsMessage:"=message",accounttype:"=accounttype",listId:"="},templateUrl:"app/channels/sms/inbox/sms/sms.html",link:function(e){e.openContact=function(i){if(e.listId)return n.save({listId:e.listId,controller:"contacts"},{mobile:i}).$promise.then(function(e){var n=_.find(t.$root.workspaces,{contactID:e.id});n?n.active=!0:t.$root.workspaces.push({active:!0,class:"icon-user",contactID:e.id,name:e.phone,type:"contact"})}).catch(function(t){console.error(t)});a.show(s.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")},e.info=function(t,e){i.open({animation:!0,templateUrl:"app/channels/sms/inbox/sms/info.modal.html",controller:"SmsInboxInfoModalCtrl",resolve:{data:function(){return e},uniqueId:function(){return t}}})}}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.inbox.view.account",{url:"/account/:id",template:"
",abstract:!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewAccountListCtrl",["$scope","$rootScope","$uibModal","$translate","$stateParams","$state","Tag","usSpinnerService","socket","SmsAccount","SmsRoom","gridOptions","uiGridConstants","Auth","Modal","xAlert","uibButtonConfig","localStorageService",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h,f,A){t.initView=function(){f.activeClass="green-haze",t.id=[],t.isAdmin=m.isAdmin(),t.isAgent=m.isAgent(),t.uncheckable=!1,t.query={status:A.get("smsStatus")?A.get("smsStatus"):"NEW",tags:A.get("smsTags")?A.get("smsTags"):[]},t.$watch("query.status",function(e,n){e!==n&&(A.set("smsStatus",t.query.status),t.getPage())},!0),l.get().$promise.then(function(e){t.tags=_.map(e.rows,"name")}).catch(function(t){console.error(t)}),t.gridOptions={exporterCsvFilename:"sms_rooms.csv",enableRowHeaderSelection:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!1,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,enableSelectAll:!0,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,columnDefs:[{name:"lastEvent",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"tags",displayName:"",headerCellTemplate:'',cellClass:"text-center ui-grid-vcenter",cellTemplate:"
",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"id",displayName:"Id",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
#{{row.entity.id}}
",width:75,enableSorting:!1,enableFiltering:!0,enableColumnMenu:!1},{name:"contact",cellClass:"text-center"},{name:"disposition",cellClass:"text-center"},{name:"createdAt",cellFilter:"date:'dd/MM/yyyy HH:mm'",width:120,enableFiltering:!1},{name:"updatedAt",cellFilter:"date:'dd/MM/yyyy HH:mm'",width:120,enableFiltering:!1,sort:{direction:p.DESC}},{name:"action",cellTemplate:'
',enableSorting:!1,cellClass:"ui-grid-vcenter",width:90,enableFiltering:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(e){t.gridApi=e,t.gridApi.selection&&(t.gridApi.selection.on.rowSelectionChanged(t,function(e){e.isSelected?t.id.push(t.gridApi.grid.options.primaryKey?e.entity[t.gridApi.grid.options.primaryKey]:e.entity.id):_.pull(t.id,t.gridApi.grid.options.primaryKey?e.entity[t.gridApi.grid.options.primaryKey]:e.entity.id)}),t.gridApi.selection.on.rowSelectionChangedBatch(t,function(e){e[0].isSelected?t.id=_.union(t.id,_.map(e,t.gridApi.grid.options.primaryKey?"entity."+t.gridApi.grid.options.primaryKey:"entity.id")):_.map(e,t.gridApi.grid.options.primaryKey?"entity."+t.gridApi.grid.options.primaryKey:"entity.id").forEach(function(e){_.pull(t.id,e)})}))}},r.socket.on("sms_room:remove",function(e){_.remove(t.workspaces,{id:e.id,type:"smsRoom"}),_.remove(t.gridOptions.data,{id:e.id})}),t.getPage(t.query)},t.onChanged=function(){t.getPage(t.query)},t.tagItems=function(){return n.open({animation:!0,templateUrl:"app/channels/sms/inbox/view/view.tags.modal.html",controller:"SmsInboxViewModalTagCtrl",resolve:{id:function(){return t.id}}}).result.then(function(){t.gridApi.selection.clearSelectedRows(),t.id=[],t.getPage()})},t.disposeItems=function(){return n.open({animation:!0,templateUrl:"app/channels/sms/inbox/view/view.status.modal.html",controller:"SmsInboxViewModalStatusCtrl",resolve:{accountId:function(){return s.id}}}).result.then(function(e){return console.log(e,t.id),d.patch({id:t.id},e).$promise.then(function(){t.gridApi.selection.clearSelectedRows(),t.id=[]}).catch(function(t){h.error(t)})})},t.openRoom=function(e,n){var a=_.find(t.workspaces,{id:e,type:"smsRoom"});if(a?a.active=!0:t.workspaces.push({id:e,name:n,type:"smsRoom",class:"glyphicon glyphicon-comment",active:!0}),e&&"agent"===m.getCurrentUser().role&&"PENDING"!==t.query.status&&"CLOSED"!==t.query.status)return d.patch({id:e},{status:"OPEN",openReason:"agent"}).$promise.catch(function(t){console.error(t)})},t.getPage=function(e){o.spin("spinner-grid");var n={accountId:s.id,controller:"rooms"};return e&&_.merge(n,e),t.query&&_.merge(n,t.query),c.query(n).$promise.then(function(e){A.set("smsAccountId",s.id),t.gridOptions.data=e,r.socket.on("sms_room:save",function(e){if(console.log("data",e),console.log(e.SmsAccountId,s.id),e.SmsAccountId==s.id){var n=_.find(t.gridOptions.data,{id:e.id});n?n.status!==e.status?_.remove(t.gridOptions.data,{id:e.id}):_.merge(n,e):t.query.status===e.status&&t.gridOptions.data.push(e)}}),r.socket.on("sms_room:remove",function(e){_.remove(t.gridOptions.data,{id:e.id})})}).catch(function(t){h.error(t)}).finally(function(){o.stop("spinner-grid")})},t.deleteItem=g.confirm.delete(function(e){var n={id:e};return console.log(n),d.delete(n).$promise.then(function(){t.getPage(),h.show(a.instant("MESSAGE_WELL_DONE")+"!","success"),t.gridApi.selection.clearSelectedRows(),t.id=[]}).catch(function(t){h.error(t)})}),t.deleteItems=g.confirm.delete(function(){var e={ids:t.id};return d.delete(e).$promise.then(function(){t.getPage(),h.show(a.instant("MESSAGE_WELL_DONE")+"!","success"),t.gridApi.selection.clearSelectedRows(),t.id=[]}).catch(function(t){h.error(t)})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.inbox.view.account.list",{url:"/list",templateUrl:"app/channels/sms/inbox/view/account/list/list.html",controller:"SmsInboxViewAccountListCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModalAgentCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Agent","SmsRoom","xAlert","roomId",function(t,e,n,a,s,i,l,o){t.initModal=function(){t.agents=[],t.item={agents:[]},s.get().$promise.then(function(e){e.rows.forEach(function(e){t.agents.push(e)})}).catch(function(t){console.error(t)}),i.query({id:o,controller:"agents"}).$promise.then(function(e){e.forEach(function(e){t.agents.push(e),t.item.agents.push(e.id)})}).catch(function(t){console.error(t)}),t.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{classes:"btn btn-success",text:"APPLICATION_RETRY",click:function(t){e.close(t)}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(t){e.dismiss(t)}}]}},t.ok=function(){return i.update({id:o,controller:"agents",agents:t.item.agents}).$promise.then(function(){l.show(n.instant("MESSAGE_WELL_DONE"),"success"),e.close()}).catch(function(t){console.error(t)})},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewCtrl",["$scope","$location","$stateParams","$translate","$uibModal","socket","Auth","xAlert","SmsRoom","SmsAccount","localStorageService",function(t,e,n,a,s,i,l,o,r,c,d){t.initView=function(){return c.get().$promise.then(function(n){var a=null;if(t.smsAccounts=n.rows,t.smsAccounts.length){var s=d.get("smsAccountId");a="/channels/sms/inbox/view/account/"+(s&&_.find(t.smsAccounts,{id:Number(s)})?s:t.smsAccounts[0].id)+"/list"}a&&e.path(a)}).catch(function(t){console.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.inbox.view",{url:"/view",templateUrl:"app/channels/sms/inbox/view/view.html",controller:"SmsInboxViewCtrl",reload:!0,resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModalStatusCtrl",["$scope","$uibModalInstance","SmsAccount","accountId",function(t,e,n,a){t.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE_THE_SMS"},t.initDisposition=function(){return t.item={status:"CLOSED"},n.get({accountId:a,controller:"dispositions"}).$promise.then(function(e){t.dispositions=e.rows}).catch(function(t){console.error(t)})},t.ok=function(){e.close(t.item)},t.cancel=function(){e.dismiss()}}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModalTagCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Tag","SmsRoom","xAlert","id",function(t,e,n,a,s,i,l,o){console.log(o),t.initModal=function(){return t.tags=[],t.item={tags:[]},t.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{class:"btn-success",text:"APPLICATION_TAG",click:function(){var a={status:!0};return i.patch({id:o},{tags:t.item.tags}).$promise.then(function(){l.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(){a.status=!1,l.show(n.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")}).finally(function(){e.close(a)})}},{class:"default",text:"APPLICATION_CANCEL",click:function(t){e.dismiss(t)}}]},s.get().$promise.then(function(e){t.tags=_.map(e.rows,"name")}).catch(function(t){console.error(t)})}}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModalTemplateCtrl",["$scope","$uibModalInstance","Template",function(t,e,n){t.initModal=function(){return t.item={},n.get().$promise.then(function(e){t.templates=e.rows}).catch(function(t){console.error(t)})},t.ok=function(){e.close(t.item)},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsQueueListCtrl",["$scope","SmsQueue","gridOptions","$uibModal","xAlert","Auth",function(t,e,n,a,s,i){t.initView=function(){t.Auth=i;var a={exporterCsvFilename:"voice_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"timeout"},{name:"strategy"},{name:"action",width:100,buttons:[{class:"blue-hoki",href:"/channels/sms/queues/view/{{row.entity.id}}/settings",name:"settings"},{class:"green-meadow",href:"/channels/sms/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===i.getCurrentUser().role},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=n.gridOptions(e,a,t)},t.createItem=function(){a.open({animation:!0,templateUrl:"app/channels/sms/queue/list/list.create.modal.html",controller:"SmsQueueListCreateCtrl",size:"lg"}).result.then(function(e){console.log(e),t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("SmsQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","SmsQueue","Team","strategies",function(t,e,n,a,s,i,l){t.form={},t.strategies=l,t.item={penalty:0,agents:[]},t.getTeams=function(){return i.get({controller:"associations"}).$promise.then(function(e){t.teams=e.rows}).then(function(){ComponentsDropdowns.bindQueue(t.teams,[],function(){return{select:function(e){t.item.agents=_.union(t.item.agents,e)},deselect:function(e){t.item.agents=_.difference(t.item.agents,e)}}})}).catch(function(t){console.error(t)})},t.save=function(){return console.log(t.item),s.save(t.item).$promise.then(function(t){e.close(t)}).catch(function(t){a.error(t)})},t.cancel=function(){e.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.queues.list",{url:"/list",templateUrl:"app/channels/sms/queue/list/list.html",controller:"SmsQueueListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").factory("SmsQueue",["$resource",function(t){return t("/api/sms/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.queues",{url:"/queues",template:"
",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:43}}})}]),angular.module("xCallyShuttleApp").controller("SmsQueueViewCtrl",["$scope","$http","Auth","$translate","$stateParams","xAlert","Team","SmsQueue","strategies",function(t,e,n,a,s,i,l,o,r){t.strategies=r,t.Auth=n;var c=function(){return{select:function(e){return o.save({id:t.queue.id,controller:"agents"},{agents:e,penalty:t.queue.penalty}).$promise.then(function(e){console.log("sel",e),t.getTeams()}).catch(function(t){console.error(t)})},deselect:function(e){return o.delete({id:t.queue.id,controller:"agents",agents:e}).$promise.then(function(e){console.log("desel",e),t.getTeams()}).catch(function(t){console.error(t)})}}};t.getQueue=function(){return o.get({id:s.id}).$promise.then(function(e){e.penalty=0,t.queue=e}).catch(function(t){console.error(t)})},t.updateSmsQueue=function(){return o.update({id:s.id},{name:t.queue.name,description:t.queue.description,timeout:t.queue.timeout,strategy:t.queue.strategy}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},t.getTeams=function(){return l.get({controller:"associations"}).$promise.then(function(e){return t.teams=e.rows,console.log(e.rows),o.get({id:s.id,controller:"agents"}).$promise}).then(function(e){console.log(e),ComponentsDropdowns.bindSmsQueue(t.teams,_.map(e.rows,function(t){return{id:t.id,penalty:t.UserHasSmsQueue.penalty}}),c)}).catch(function(t){console.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.queues.view",{url:"/view/:id",templateUrl:"app/channels/sms/queue/view/view.html",controller:"SmsQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.sms.queues.view.settings",{url:"/settings",templateUrl:"app/channels/sms/queue/view/view.settings.html"}).state("main.channels.sms.queues.view.agents",{url:"/agents",templateUrl:"app/channels/sms/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.realtime",{url:"/realtime",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:45}}})}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","SmsQueue","usSpinnerService","$q","uiGridConstants","$timeout",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m){function g(){return d.spin("grid-spinner"),l.get(I).$promise.then(function(e){t.gridOptions.totalItems=e.count,t.gridOptions.data=[],e.rows.forEach(function(t){f(t)})}).catch(function(t){i.error(t)}).finally(function(){d.stop("grid-spinner")})}function h(){s.socket.on("agent:save",function(e){e=e.newValues||e;var n=_.find(t.gridOptions.data,{agentId:e.id,isAgent:!0});n&&(n.online=_.has(e,"online")?e.online:n.online,n.lastLoginAt=_.has(e,"lastLoginAt")?e.lastLoginAt:n.lastLoginAt,n.pause=_.has(e,"smsPause")?e.smsPause:n.smsPause,n.pauseType=_.has(e,"pauseType")?e.pauseType:n.pauseType,n.lastPauseAt=_.has(e,"lastPauseAt")?e.lastPauseAt:n.lastPauseAt,n.ipaddr=_.has(e,"ipaddr")?e.ipaddr:n.ipaddr,n.port=_.has(e,"port")?e.port:n.port,n.fullcontact=_.has(e,"fullcontact")?e.fullcontact:n.fullcontact,n.useragent=_.has(e,"useragent")?e.useragent:n.useragent,n.lastms=_.has(e,"lastms")?e.lastms:n.lastms,n.internal=_.has(e,"internal")?e.internal:n.internal,_.map(t.gridOptions.data,function(t){t.isAgent||t.agentId!==e.id||(t.online=_.has(e,"online")?e.online:t.online)}))}),s.socket.on("agent:remove",function(e){_.remove(t.gridOptions.data,{agentId:e.id})}),s.socket.on("user_has_sms_queue:save",function(e){console.log("new queue",e);var n=_.find(t.gridOptions.data,{agentId:e.UserId,isAgent:!0}),a=t.gridOptions.data.indexOf(n);t.gridOptions.data.splice(a+1,0,{isAgent:!1,agentId:e.UserId,queue:e.queue,queueId:e.SmsQueueId,agent:e.membername,online:n.online})}),s.socket.on("user_has_sms_queue:remove",function(e){_.remove(t.gridOptions.data,{agentId:e.UserId,queueId:e.SmsQueueId})})}function f(e){t.gridOptions.data.push({isAgent:!0,agentId:e.id,agent:e.name,online:e.online,lastLoginAt:e.lastLoginAt,lastPauseAt:e.lastPauseAt,pause:e.smsPause,pauseType:e.pauseType,ipaddr:e.ipaddr,port:e.port,fullcontact:e.fullcontact,useragent:e.useragent,lastms:e.lastms,internal:e.internal,$$treeLevel:0}),e.SmsQueues&&e.SmsQueues.forEach(function(n){t.gridOptions.data.push({isAgent:!1,agentId:e.id,queue:n.name,queueId:n.id,agent:e.name,online:e.online})})}function A(){return o.get().$promise.then(function(e){t.pauses=e.rows,s.syncUpdates("pause",t.pauses)}).catch(function(t){i.error(t)})}function v(){return c.get().$promise.then(function(e){t.smsQueues=e.rows,s.syncUpdates("sms_queue",t.smsQueues)}).catch(function(t){i.error(t)})}t.smsQueues=[];var I={controller:"realtime",controller1:"sms",offset:0,limit:10};t.moment=moment,t.initAgents=function(){t.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.agent}} <{{row.entity.internal}}>
'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:p.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"smsPause",displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{row.entity.pauseType}})
',filter:{type:p.filter.SELECT,selectOptions:[{value:"true",label:"PAUSED"},{value:"false",label:"NOT PAUSED"}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(t){var e=u.defer();return e.resolve(a.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){b(t.gridApi.core.getVisibleRows(t.gridApi.grid).length)}),t.gridApi.treeBase.on.rowExpanded(t,function(e){b(t.gridApi.core.getVisibleRows(t.gridApi.grid).length+e.treeNode.children.length)}),t.gridApi.treeBase.on.rowCollapsed(t,function(e){b(t.gridApi.core.getVisibleRows(t.gridApi.grid).length-e.treeNode.children.length)}),t.gridApi.core.on.sortChanged(t,function(t,e){0===e.length?I.order=null:I.order=e[0].name+" "+e[0].sort.direction.toUpperCase(),g()}),t.gridApi.pagination.on.paginationChanged(t,function(t,e){I.offset=(t-1)*e,I.limit=e,g()}),t.gridApi.core.on.filterChanged(t,function(){this.grid.columns.forEach(function(t){t.filters[0].term?I[t.name]=t.filters[0].term:delete I[t.name]}),g()})}},g(),A(),v(),m(function(){h()})};var b=function(t){var e=t?30*t+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*t+"px")};t.$on("$destroy",function(){s.unsyncUpdates("agent"),s.unsyncUpdates("user_has_sms_queue")}),t.pause=function(e,n,s){return s&&(t.pauseType=null),r.save({name:n,agent:e.agentId,data2:e.agent,type:s||"DEFAULT PAUSE",data4:s||"DEFAULT PAUSE",channel:"sms"}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},t.joinQueue=function(s){n.open({animation:!0,templateUrl:"app/channels/sms/realtime/view/agent/queue.modal.add.html",controller:"SmsRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(t.smsQueues,function(e){return!!_.find(t.gridOptions.data,{queue:e.name,isAgent:!1,agentId:s})})}}}).result.then(function(e){return r.save({name:"QueueAdd",agent:s,queues:_.filter(t.smsQueues,function(t){return _.includes(e.queues,t.id)}),channel:"sms",data1:s,data3:e.queues.join(","),data4:"sms"}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},function(){e.info("Modal dismissed at: "+new Date)})},t.leaveQueue=function(t,e){return r.save({name:"QueueRemove",agent:t,queueId:e,channel:"sms",data1:t,data3:e,data4:"sms"}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},t.showInfo=function(t){n.open({animation:!0,templateUrl:"app/channels/sms/realtime/view/agent/agent.modal.info.html",controller:"SmsRealtimeViewAgentInfoModalCtrl",resolve:{agent:t}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/sms/realtime/view/agent/agent.html",controller:"SmsRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(t,e,n,a){t.agent=a,t.close=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(t,e,n,a){t.queues=a,t.item={},t.save=function(){e.close(t.item)},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewApplicationCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportSmsSession","usSpinnerService","$q","uiGridConstants","$timeout",function(t,e,n,a,s,i,l,o,r,c,d){function u(){return o.spin("spinner-grid"),l.get({controller:"waiting",controller2:"applications"}).$promise.then(function(e){t.gridOptions.data=e.rows}).catch(function(t){i.error(t)}).finally(function(){p(),o.stop("spinner-grid")})}function p(){s.socket.on("report_sms_session:save",function(e){var n=_.find(t.gridOptions.data,{id:e.id});n?(_.merge(n,e),e.leaveAt&&d(function(){_.remove(t.gridOptions.data,{id:e.id})},1e4)):e.leaveAt||t.gridOptions.data.push(e)}),s.socket.on("report_sms_session:remove",function(e){_.remove(t.gridOptions.data,{id:e.id})})}t.moment=moment,t.initApplications=function(){t.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_TIMEOUT\' | translate}}
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.queuename || ''}}
"}],data:[],gridMenuTitleFilter:function(t){var e=r.defer();return e.resolve(a.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){m(t.gridOptions.data.length)})}},u()};var m=function(t){var e=t?30*t+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*t+"px")};t.$on("$destroy",function(){s.unsyncUpdates("report_sms_session")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.realtime.view.applications",{url:"/applications",templateUrl:"app/channels/sms/realtime/view/application/application.html",controller:"SmsRealtimeViewApplicationCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewCtrl",["$scope","$state",function(t,e){t.agents=[{name:"Queues",link:"main.channels.sms.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.sms.realtime.view.agents.timeline"}],t.sessions=[{name:"Sessions",link:"main.channels.sms.realtime.view.sessions"}],t.tree={queues:[{name:"Queues",link:"main.channels.sms.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.sms.realtime.view.agents.timeline"}],sessions:[{name:"Sessions",link:"main.channels.sms.realtime.view.sessions"}]},t.timerSwitch={isActive:!0,size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"primary"},t.showTimers=!1}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms.realtime.view",{url:"/view",templateUrl:"app/channels/sms/realtime/view/view.html",controller:"SmsRealtimeViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("ReportSmsSession",["$resource",function(t){return t("/api/report/sms/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.sms",{url:"/sms",template:"
",abstract:!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").factory("SmsQueue",["$resource",function(t){return t("/api/sms/queues/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SmsReport",["$resource",function(t){return t("/api/report/sms/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SmsMessage",["$resource",function(t){return t("/api/sms/messages/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").factory("SmsRoom",["$resource",function(t){return t("/api/sms/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").factory("ChanSpy",["$resource",function(t){return t("/api/chanspy/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.chanspy",{url:"/chanspy",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:27}}})}]),angular.module("xCallyShuttleApp").controller("ChanSpyListCtrl",["$scope","$uibModal","ChanSpy","gridOptions",function(t,e,n,a){t.initView=function(){var e={exporterCsvFilename:"chanspy.csv",columnDefs:[{name:"name"},{name:"prefix"},{name:"description"},{name:"action",width:75,buttons:[{class:"blue-hoki",href:"/channels/voice/chanspy/view/{{row.entity.id}}/settings",name:"settings"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=a.gridOptions(n,e,t)},t.createItem=function(){e.open({animation:!0,templateUrl:"app/channels/voice/chanspy/list/list.create.modal.html",controller:"ChanSpyListCreateCtrl"}).result.then(function(e){t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ChanSpyListCreateCtrl",["$scope","$translate","$uibModalInstance","ChanSpy","xAlert",function(t,e,n,a,s){t.form={},t.item={auth:!1,record:!1},t.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.authSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.options=[{name:"APPLICATION_CHANSPY_OPTION_b",value:"b"},{name:"APPLICATION_CHANSPY_OPTION_B",value:"B"},{name:"APPLICATION_CHANSPY_OPTION_E",value:"E"},{name:"APPLICATION_CHANSPY_OPTION_o",value:"o"},{name:"APPLICATION_CHANSPY_OPTION_q",value:"q"},{name:"APPLICATION_CHANSPY_OPTION_s",value:"s"},{name:"APPLICATION_CHANSPY_OPTION_S",value:"S"},{name:"APPLICATION_CHANSPY_OPTION_w",value:"w"},{name:"APPLICATION_CHANSPY_OPTION_W",value:"W"}],t.save=function(){return t.item.options=t.item.options.join(""),a.save(t.item).$promise.then(function(t){s.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t)}).catch(function(t){s.error(t)})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.chanspy.list",{url:"/list",templateUrl:"app/channels/voice/chanspy/list/list.html",controller:"ChanSpyListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChanSpyViewCtrl",["$scope","$translate","$stateParams","xAlert","ChanSpy",function(t,e,n,a,s){t.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.authSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.options=[{name:"APPLICATION_CHANSPY_OPTION_b",value:"b"},{name:"APPLICATION_CHANSPY_OPTION_B",value:"B"},{name:"APPLICATION_CHANSPY_OPTION_E",value:"E"},{name:"APPLICATION_CHANSPY_OPTION_o",value:"o"},{name:"APPLICATION_CHANSPY_OPTION_q",value:"q"},{name:"APPLICATION_CHANSPY_OPTION_s",value:"s"},{name:"APPLICATION_CHANSPY_OPTION_S",value:"S"},{name:"APPLICATION_CHANSPY_OPTION_w",value:"w"},{name:"APPLICATION_CHANSPY_OPTION_W",value:"W"}],t.getChanSpy=function(){return s.get({id:n.id}).$promise.then(function(e){e.options=e.options.split(""),t.chanspy=e}).catch(function(t){a.error(t)})},t.updateChanSpy=function(){var i=angular.copy(t.chanspy);return i.options=i.options.join(""),s.update({id:n.id},i).$promise.then(function(){a.show(e.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){a.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.chanspy.view",{url:"/view/:id",templateUrl:"app/channels/voice/chanspy/view/view.html",controller:"ChanSpyViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.chanspy.view.settings",{url:"/settings",templateUrl:"app/channels/voice/chanspy/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("VoiceContext",["$resource",function(t){return t("/api/voice/contexts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.contexts",{url:"/contexts",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:22}}})}]),angular.module("xCallyShuttleApp").controller("VoiceContextListCtrl",["$scope","VoiceContext","gridOptions","$uibModal","xAlert","$translate",function(t,e,n,a,s,i){t.initView=function(){var a={exporterCsvFilename:"voice_contexts.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:75,buttons:[{class:"{{row.entity.defaultEntry ? 'blue-hoki disabled' : 'blue-hoki'}}",href:"/channels/voice/contexts/view/{{row.entity.id}}/settings",name:"settings"},{class:"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=n.gridOptions(e,a,t)},t.createItem=function(){a.open({animation:!0,templateUrl:"app/channels/voice/context/list/create.modal.html",controller:["$scope","$uibModalInstance",function(t,e){t.form={},t.item={},t.ok=function(){e.close(t.item)},t.cancel=function(){e.dismiss("cancel")}}]}).result.then(function(n){return e.save(n).$promise.then(function(){t.gridOptions.getPage(),s.show(i.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){s.error(t)})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.contexts.list",{url:"/list",templateUrl:"app/channels/voice/context/list/list.html",controller:"VoiceContextListCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceContextViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location",function(t,e,n,a,s,i){t.getContext=function(){e.get("/api/voice/contexts/"+s.id).success(function(e){t.context=e}).error(function(t){console.error(t),i.path("/voice/contexts/list")})},t.updateVoiceContext=function(){var i=angular.copy(t.context);e.put("/api/voice/contexts/"+s.id,i).success(function(){n.show(a.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(e){n.error(e),t.context=i})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.contexts.view",{url:"/view/:id",templateUrl:"app/channels/voice/context/view/view.html",controller:"VoiceContextViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.contexts.view.settings",{url:"/settings",templateUrl:"app/channels/voice/context/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.dispositions",{url:"/dispositions",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:28}}})}]),angular.module("xCallyShuttleApp").controller("VoiceDispositionListCtrl",["$scope","$stateParams","$uibModal","$translate","VoiceDisposition","xAlert",function(t,e,n,a,s,i){t.initView=function(){return s.get().$promise.then(function(e){t.dispositions=e.rows}).catch(function(t){console.error(t),i.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},t.updateDisposition=function(t,e){return s.update({id:t},{name:e}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){console.error(t),i.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},t.deleteDisposition=function(e){return s.remove({id:e}).$promise.then(function(){_.remove(t.dispositions,{id:e}),i.show(a.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){console.error(t),i.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},t.addDisposition=function(){return n.open({animation:!0,templateUrl:"app/channels/voice/disposition/list/modal/add.modal.html",controller:"VoiceDispositionListModalDispositionAddCtrl"}).result.then(function(e){e&&(t.dispositions.push(e),i.show(a.instant("MESSAGE_WELL_DONE")+"!","success"))})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.dispositions.list",{url:"/list",templateUrl:"app/channels/voice/disposition/list/list.html",controller:"VoiceDispositionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceDispositionListModalDispositionAddCtrl",["$scope","$uibModalInstance","VoiceDisposition","xAlert","$translate",function(t,e,n,a,s){t.ok=function(){return n.save({name:t.name}).$promise.then(function(t){e.close(t)}).catch(function(t){a.show(s.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").factory("VoiceDisposition",["$resource",function(t){return t("/api/voice/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("VoiceMohListCtrl",["$scope","gridOptions","VoiceMoh","$uibModal","xAlert","$translate",function(t,e,n,a,s,i){t.initView=function(){var a={exporterCsvFilename:"voice_mohs.csv",columnDefs:[{name:"name"},{name:"mode"},{name:"directory"},{name:"sort"},{name:"description"},{name:"action",width:75,buttons:[{class:"blue-hoki",href:"/channels/voice/mohs/view/{{row.entity.id}}/settings",name:"settings"},{class:"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=e.gridOptions(n,a,t)},t.createItem=function(){a.open({animation:!0,templateUrl:"app/channels/voice/moh/list/create.modal.html",controller:["$scope","$uibModalInstance",function(t,e){t.form={},t.item={},t.ok=function(){e.close(t.item)},t.cancel=function(){e.dismiss("cancel")}}]}).result.then(function(e){return n.save(e).$promise.then(function(){t.gridOptions.getPage(),s.show(i.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){s.error(t)})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.mohs.list",{url:"/list",templateUrl:"app/channels/voice/moh/list/list.html",controller:"VoiceMohListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("VoiceMoh",["$resource",function(t){return t("/api/voice/musiconholds/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.mohs",{url:"/mohs",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:24}}})}]),angular.module("xCallyShuttleApp").controller("VoiceMohViewCtrl",["$scope","$http","xAlert","$translate","VoiceMoh","$stateParams","socket","Modal","$sce","$location","Sound",function(t,e,n,a,s,i,l,o,r,c,d){t.$translate=a,t.audioSources={},t.sortOptions=[{value:"random",name:"APPLICATION_RANDOM"},{value:"alpha",name:"APPLICATION_ALPHABETICAL"}],t.getMoh=function(){return s.get({id:i.id}).$promise.then(function(e){delete e.stamp,t.moh=e}).catch(function(t){n.error(t)})},t.updateVoiceMoh=function(){return s.update({id:i.id},t.moh).$promise.then(function(){n.show(a.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){n.error(t)})},t.addMohs=function(){return s.save({id:i.id,controller:"files"},t.item).$promise.then(function(){c.path("/channels/voice/mohs/view/"+i.id+"/audios")}).catch(function(t){n.error(t)})},t.getAudioFiles=function(){return s.get({id:i.id,controller:"files"}).$promise.then(function(e){t.audioFiles=e.files,t.mohPath=e.path,t.audioFiles.forEach(function(t){u(t)})}).catch(function(t){n.error(t)})},t.getSecureSrc=function(t){return r.trustAsResourceUrl(t)},t.getSounds=function(){return t.item={sounds:[]},d.get().$promise.then(function(e){t.soundList=e.rows}).catch(function(t){n.error(t)})};var u=function(n){e.get("/api/voice/musiconholds/stream",{params:{path:encodeURI(t.mohPath+"/"+n)}}).success(function(e){t.audioSources[n]="data:audio/ogg;base64,"+e}).error(function(t){console.error(t)})};t.deleteItem=o.confirm.delete(function(s){e.delete("/api/voice/musiconholds/"+i.id+"/files",{params:{filename:s}}).success(function(){_.remove(t.audioFiles,function(t){return t===s}),n.show(a.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(t){n.error(t)})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.mohs.view",{url:"/view/:id",templateUrl:"app/channels/voice/moh/view/view.html",controller:"VoiceMohViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.mohs.view.settings",{url:"/settings",templateUrl:"app/channels/voice/moh/view/view.settings.html"}).state("main.channels.voice.mohs.view.audios",{url:"/audios",templateUrl:"app/channels/voice/moh/view/view.audios.html",cache:!1}).state("main.channels.voice.mohs.view.add",{url:"/add",templateUrl:"app/channels/voice/moh/view/view.addFiles.html",cache:!1})}]),angular.module("xCallyShuttleApp").controller("VoiceQueueListCtrl",["$scope","$rootScope","$uibModal","VoiceQueue","gridOptions","Auth",function(t,e,n,a,s,i){t.initView=function(){t.Auth=i;var e={exporterCsvFilename:"voice_queues.csv",primaryKey:"name",columnDefs:[{name:"name"},{name:"strategy"},{name:"description"},{name:"action",width:100,buttons:[{class:"blue-hoki",href:"/channels/voice/queues/view/{{row.entity.name}}/settings",name:"settings"},{class:"green-meadow",href:"/channels/voice/queues/view/{{row.entity.name}}/agents",name:"agents",hide:"user"===i.getCurrentUser().role},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.name)"}]}]};t.gridOptions=s.gridOptions(a,e,t)},t.createItem=function(){n.open({animation:!0,templateUrl:"app/channels/voice/queue/list/list.create.modal.html",controller:"VoiceQueueListCreateCtrl",size:"lg"}).result.then(function(){t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("VoiceQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","VoiceQueue","Team",function(t,e,n,a,s,i){t.form={},t.item={penalty:0,agents:[]},t.getTeams=function(){return i.get({controller:"associations"}).$promise.then(function(e){t.teams=e.rows}).then(function(){ComponentsDropdowns.bindQueue(t.teams,[],function(){return{select:function(e){t.item.agents=_.union(t.item.agents,e),console.log(t.item.agents)},deselect:function(e){t.item.agents=_.difference(t.item.agents,e),console.log(t.item.agents)}}})}).catch(function(t){console.error(t)})},t.save=function(){return s.save(t.item).$promise.then(function(t){a.show(n.instant("MESSAGE_WELL_DONE"),"success"),e.close(t)}).catch(function(t){a.error(t)})},t.cancel=function(){e.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.queues.list",{url:"/list",templateUrl:"app/channels/voice/queue/list/list.html",controller:"VoiceQueueListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.queues",{url:"/queues",template:"
",abstract:!0,data:{permissions:{only:["admin"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").factory("ReportQueue",["$resource",function(t){return t("/api/report/queues/:id/:controller/:controller2",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("UserHasVoiceQueue",["$resource",function(t){return t("/api/voice/user_has_queues/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("VoiceQueueViewCtrl",["$scope","xAlert","$translate","$stateParams","socket","$location","VoiceQueue","Team","Auth","VoiceMoh","Sound","Setting",function(t,e,n,a,s,i,l,o,r,c,d,u){t.Auth=r,t.binaryChoices=[{name:"Yes",value:1},{name:"No",value:0}],t.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.autoPauseValues=[{name:"No",value:"no"},{name:"Yes",value:"all"}],t.monitorFormats=[{name:"wav",value:"wav"},{name:"gsm",value:"gsm"},{name:"Inactive",value:""}],t.queueAnnounces=[{display_name:"Default",path:null},{display_name:"Disabled",path:""}];var p=function(){return{select:function(e){return l.save({id:t.queue.name,controller:"agents"},{agents:e,penalty:t.queue.penalty}).$promise.then(function(){t.getTeams()}).catch(function(t){console.log(t)})},deselect:function(e){return l.delete({id:t.queue.name,controller:"agents",agents:e}).$promise.then(function(){t.getTeams()}).catch(function(t){console.log(t)})}}};t.getQueue=function(){return l.get({id:a.id}).$promise.then(function(e){e.joinempty=""===e.joinempty?[]:e.joinempty.split(","),e.leavewhenempty=""===e.leavewhenempty?[]:e.leavewhenempty.split(","),e.periodic_announce=""===e.periodic_announce?[]:e.periodic_announce.split(","),e.setinterfacevar="yes"===e.setinterfacevar,e.setqueuevar="yes"===e.setqueuevar,e.setqueueentryvar="yes"===e.setqueueentryvar,e.penalty=0,t.queue=e}).catch(function(t){i.path("/channels/voice/queues/list")})},t.updateVoiceQueue=function(){var s=angular.copy(t.queue);return s.joinempty=s.joinempty.join(","),s.leavewhenempty=s.leavewhenempty.join(","),s.periodic_announce=s.periodic_announce.join(","),s.setinterfacevar=s.setinterfacevar?"yes":"no",s.setqueuevar=s.setqueuevar?"yes":"no",s.setqueueentryvar=s.setqueueentryvar?"yes":"no",s.context||(s.context=null),l.update({id:a.id},s).$promise.then(function(){e.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){e.error(t)})},t.getTeams=function(){return o.get({controller:"associations"}).$promise.then(function(e){return t.teams=e.rows,l.get({id:a.id,controller:"agents"}).$promise}).then(function(e){ComponentsDropdowns.bindQueue(t.teams,_.map(e.rows,function(t){return{id:t.id,penalty:t.UserHasVoiceQueue.penalty}}),p)}).catch(function(t){console.error(t)})},t.getMohs=function(){return c.get().$promise.then(function(e){t.voiceMohs=e.rows,s.syncUpdates("voice_musiconhold",t.voiceMohs)}).catch(function(t){e.error(t)})},t.getSounds=function(){var e;return u.get({id:1}).$promise.then(function(t){return e=t,d.get().$promise}).then(function(n){var a=e.soundPath||"/var/opt/motion/server/files/sounds/converted";_.forEach(n.rows,function(t){t.path=(a+"/"+t.save_name).replace(/\/+/g,"/").replace(/\\+/g,"\\")}),t.queueAnnounces=t.queueAnnounces.concat(n.rows),t.periodicAnnounces=angular.copy(n.rows),n.rows.unshift({display_name:"None",path:""}),t.sounds=n.rows,s.syncUpdates("sound",t.sounds)}).catch(function(t){console.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.queues.view",{url:"/view/:id",templateUrl:"app/channels/voice/queue/view/view.html",controller:"VoiceQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.queues.view.settings",{url:"/settings",templateUrl:"app/channels/voice/queue/view/view.settings.html"}).state("main.channels.voice.queues.view.agents",{url:"/agents",templateUrl:"app/channels/voice/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").factory("VoiceQueue",["$resource",function(t){return t("/api/voice/queues/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.realtime",{url:"/realtime",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:26}}})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAbandonedCtrl",["$scope","$translate","socket","xAlert","ReportQueue","usSpinnerService","$q","Auth","uiGridConstants",function(t,e,n,a,s,i,l,o,r){function c(){return i.spin("spinner-grid"),s.get({controller:"abandoned",controller2:"all"}).$promise.then(function(e){t.gridOptions.data=e.rows}).catch(function(t){a.error(t)}).finally(function(){d(),i.stop("spinner-grid")})}function d(){n.socket.on("report_queue:update",function(e){e.queuecallerabandon&&t.gridOptions.data.unshift(e)})}t.radioSwitch={size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"success",onColor:"danger"};t.initAbandoned=function(){t.agent=o.getCurrentUser(),t.gridOptions={exporterCsvFilename:"abandoned_calls.csv",enableRowHeaderSelection:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!1,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,enableSelectAll:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:1,columnDefs:[{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter"},{name:"calleridnum",displayName:"APPLICATION_CALLERIDNUM",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter"},{name:"updatedAt",displayName:"APPLICATION_DATE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.updatedAt | date:'yyyy-MM-dd HH:mm:ss'}}
"},{name:"lastAssignedTo",cellClass:"text-center ui-grid-vcenter",displayName:"APPLICATION_LAST_ASSIGNED_TO",headerCellFilter:"translate"},{name:"assigned",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellTemplate:'
',enableFiltering:!1}],data:[],gridMenuTitleFilter:function(t){var n=l.defer();return n.resolve(e.instant(t)),n.promise},onRegisterApi:function(e){t.gridApi=e}},c()},t.updateItem=function(n){return s.update({id:n.id},{assigned:n.assigned,lastAssignedTo:n.assigned?t.agent.name:void 0}).$promise.then(function(){a.show(e.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){a.error(t)})};t.$on("$destroy",function(){n.unsyncUpdates("report_queue")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.realtime.view.abandoned",{url:"/abandoned",templateUrl:"app/channels/voice/realtime/view/abandoned/abandoned.html",controller:"VoiceRealtimeViewAbandonedCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","VoiceQueue","usSpinnerService","$q","uiGridConstants","Auth","$timeout",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g){function h(){return d.spin("grid-spinner"),l.get(b).$promise.then(function(e){t.gridOptions.totalItems=e.count,t.gridOptions.data=[],e.rows.forEach(function(t){A(t)})}).catch(function(t){i.error(t)}).finally(function(){d.stop("grid-spinner")})}function f(){s.socket.on("agent:save",function(e){e=e.newValues||e;var n=_.find(t.gridOptions.data,{agentId:e.id,isAgent:!0});n&&(n.online=e.hasOwnProperty("online")?e.online:n.online,n.lastLoginAt=e.hasOwnProperty("lastLoginAt")?e.lastLoginAt:n.lastLoginAt,n.pause=e.hasOwnProperty("voicePause")?e.voicePause:n.pause,n.pauseType=e.hasOwnProperty("pauseType")?e.pauseType:n.pauseType,n.lastPauseAt=e.hasOwnProperty("lastPauseAt")?e.lastPauseAt:n.lastPauseAt,n.status=e.hasOwnProperty("status")?e.status:n.status,n.statusAt=e.hasOwnProperty("statusAt")?e.statusAt:n.statusAt,n.queueStatus=e.hasOwnProperty("queueStatus")?e.queueStatus:n.queueStatus,n.queueStatusAt=e.hasOwnProperty("queueStatusAt")?e.queueStatusAt:n.queueStatusAt,n.lastQueue=e.hasOwnProperty("lastQueue")?e.lastQueue:n.lastQueue,n.ipaddr=e.hasOwnProperty("ipaddr")?e.ipaddr:n.ipaddr,n.port=e.hasOwnProperty("port")?e.port:n.port,n.fullcontact=e.hasOwnProperty("fullcontact")?e.fullcontact:n.fullcontact,n.useragent=e.hasOwnProperty("useragent")?e.useragent:n.useragent,n.lastms=e.hasOwnProperty("lastms")?e.lastms:n.lastms,n.internal=e.hasOwnProperty("internal")?e.internal:n.internal,_.map(t.gridOptions.data,function(t){t.isAgent||t.agentId!==e.id||(t.online=e.hasOwnProperty("online")?e.online:t.online)}))}),s.socket.on("agent:remove",function(e){_.remove(t.gridOptions.data,{agentId:e.id})})}function A(e){t.gridOptions.data.push({isAgent:!0,agentId:e.id,agent:e.name,online:e.online,lastLoginAt:e.lastLoginAt,lastPauseAt:e.lastPauseAt,pause:e.voicePause,pauseType:e.pauseType,status:e.status||"UNKNOWN",statusAt:e.statusAt,queueStatus:e.queueStatus||"READY",queueStatusAt:e.queueStatusAt,lastQueue:e.lastQueue,ipaddr:e.ipaddr,port:e.port,fullcontact:e.fullcontact,useragent:e.useragent,lastms:e.lastms,internal:e.internal})}function v(){return o.get().$promise.then(function(e){t.pauses=e.rows,s.syncUpdates("pause",t.pauses)}).catch(function(t){i.error(t)})}function I(){return c.get().$promise.then(function(e){t.voiceQueues=e.rows,s.syncUpdates("voice_queue",t.voiceQueues)}).catch(function(t){i.error(t)})}t.voiceQueues=[];var b={controller:"realtime",controller1:"voice",offset:0,limit:10};t.moment=moment,t._=_,t.initAgents=function(){t.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.agent}} <{{row.entity.internal}}>
'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:p.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"status",displayName:"APPLICATION_PHONE_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{'APPLICATION_'+row.entity.status | translate}}
",filter:{type:p.filter.SELECT,selectOptions:[{value:"UNKNOWN",label:a.instant("APPLICATION_UNKNOWN")},{value:"NOT_INUSE",label:a.instant("APPLICATION_NOT_INUSE")},{value:"INUSE",label:a.instant("APPLICATION_INUSE")},{value:"BUSY",label:a.instant("APPLICATION_BUSY")},{value:"INVALID",label:a.instant("APPLICATION_INVALID")},{value:"UNAVAILABLE",label:a.instant("APPLICATION_UNAVAILABLE")},{value:"RINGING",label:a.instant("APPLICATION_RINGING")},{value:"RINGINUSE",label:a.instant("APPLICATION_RINGINUSE")},{value:"ONHOLD",label:a.instant("APPLICATION_ONHOLD")}]}},{name:"queueStatus",displayName:"APPLICATION_QUEUE_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_\'+row.entity.queueStatus.toUpperCase() | translate}} * {{\'APPLICATION_PAUSED\' | translate}} [{{row.entity.lastQueue}}] [{{row.entity.pauseType}}]
',filter:{type:p.filter.SELECT,selectOptions:[{value:"connect",label:a.instant("APPLICATION_CONNECT")},{value:"complete",label:a.instant("APPLICATION_COMPLETE")},{value:"called",label:a.instant("APPLICATION_CALLED")},{value:"paused",label:a.instant("APPLICATION_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(t){var e=u.defer();return e.resolve(a.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){E(t.gridApi.core.getVisibleRows(t.gridApi.grid).length)}),t.gridApi.core.on.sortChanged(t,function(t,e){0===e.length?b.order=null:b.order=e[0].name+" "+e[0].sort.direction.toUpperCase(),h()}),t.gridApi.pagination.on.paginationChanged(t,function(t,e){b.offset=(t-1)*e,b.limit=e,h()}),t.gridApi.core.on.filterChanged(t,function(){this.grid.columns.forEach(function(t){t.filters[0].term?b[t.name]=t.filters[0].term:delete b[t.name]}),h()})}},h(),v(),I(),g(function(){f()})};var E=function(t){var e=t?30*t+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*t+"px")};t.$on("$destroy",function(){s.unsyncUpdates("agent"),s.unsyncUpdates("user_has_voice_queue")}),t.pause=function(e,n,s){return s&&(t.pauseType=null),r.save({name:n,agent:e.agentId,data2:e.agent,type:s||"DEFAULT PAUSE",data4:s||"DEFAULT PAUSE",channel:"voice"}).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},t.joinQueue=function(t){n.open({animation:!0,templateUrl:"app/channels/voice/realtime/view/agent/queue.modal.add.html",controller:"VoiceRealtimeViewAgentQueueModalCtrl",resolve:{id:t}})},t.showInfo=function(t){n.open({animation:!0,templateUrl:"app/channels/voice/realtime/view/agent/agent.modal.info.html",controller:"VoiceRealtimeViewAgentInfoModalCtrl",resolve:{agent:t}})},t.$on("$destroy",function(){s.unsyncUpdates("agent"),s.unsyncUpdates("user_has_voice_queue")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/voice/realtime/view/agent/agent.html",controller:"VoiceRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","agent",function(t,e,n){t.agent=n,t.close=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","id","Agent","xAlert","usSpinnerService","$translate","Action","socket","VoiceQueue",function(t,e,n,a,s,i,l,o,r,c,d){t.item={},t.params={penalty:0};var u=function(t,e){var n=t?30*t+130:177;angular.element(document.getElementsByName(e)[0]).css("height",n+"px")};t.enableLeave=!0,t.init=function(){t.queueTable={enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,enableSorting:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,columnDefs:[{name:"name",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"},{name:"penalty",headerCellFilter:"translate",displayName:"APPLICATION_PENALTY",cellClass:"text-center ui-grid-vcenter"},{name:"loggedAt",displayName:"logged At",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
'},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){u(t.queueTable.paginationPageSize>t.queueTable.data.length?t.queueTable.data.length:t.queueTable.paginationPageSize,"queueTable")}),t.gridApi.pagination.on.paginationChanged(t,function(e,n){u(n>t.queueTable.data.length?t.queueTable.data.length:n,"queueTable")})}},t.queues=[];var e={};return s.get({id:a,controller:"voice",controller1:"queues"}).$promise.then(function(t){return _.forEach(_.filter(t.rows,function(t){return!0===t.UserHasVoiceQueue.logged}),function(t){e[t.name]=t}),d.get().$promise}).then(function(n){_.forEach(n.rows,function(n){e[n.name]?t.queueTable.data.push({name:n.name,loggedAt:e[n.name].UserHasVoiceQueue.loggedAt,penalty:e[n.name].UserHasVoiceQueue.penalty}):t.queues.push({name:n.name})}),l.stop("agentqueue-spinner")}).catch(function(t){i.error(t)})},t.joinQueue=function(){return l.spin("agentqueue-spinner"),t.enableLeave=!1,r.save({name:"QueueAdd",agent:a,queues:t.item.queues,channel:"voice",data1:a,data2:t.params.penalty,data3:t.item.queues.join(","),data4:"voice"}).$promise.then(function(){t.item.queues=[],i.show(o.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},t.leaveQueue=function(e){return l.spin("agentqueue-spinner"),t.enableLeave=!1,r.save({name:"QueueRemove",agent:a,queue:e,channel:"voice",data1:a,data3:e,data4:"voice"}).$promise.then(function(){i.show(o.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},c.socket.on("user_has_voice_queue:save",function(e){if(e.UserId==a){var n=_.find(t.queueTable.data,function(t){return t.name===e.queue});if(!n&&e.logged)t.queueTable.data.push({name:e.queue,loggedAt:e.loggedAt,penalty:e.penalty}),_.remove(t.queues,{name:e.queue}),l.stop("agentqueue-spinner"),t.enableLeave=!0;else if(n&&!e.logged){var s=_.remove(t.queueTable.data,{name:e.queue});t.queues.push(s[0])}}}),c.socket.on("user_has_voice_queue:remove",function(e){if(e.UserId==a){var n=_.remove(t.queueTable.data,{name:e.queue});t.queues.push(n[0]),l.stop("agentqueue-spinner"),t.enableLeave=!0}}),t.close=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewOutboundCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportDial","Pause","Action","usSpinnerService","$q","uiGridConstants","$timeout","Auth",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m){function g(){return c.spin("spinner-grid"),l.get({controller:"active",controller2:"calls"}).$promise.then(function(e){t.gridOptions.data=e.rows}).catch(function(t){i.error(t)}).finally(function(){h(),c.stop("spinner-grid")})}function h(){s.socket.on("report_dial:save",function(e){t.gridOptions.data.unshift(e)}),s.socket.on("report_dial:update",function(e){var n=_.find(t.gridOptions.data,{uniqueid:e.uniqueid});n&&(_.merge(n,e),!n.endtime||n.answertime&&n.answertime==n.endtime||p(function(){_.remove(t.gridOptions.data,{uniqueid:n.uniqueid})},3e3))})}t.moment=moment,t.initDials=function(){t.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate",cellClass:"text-center"},{name:"agent",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.channel.split('/')[1].split('-')[0]}}
"},{name:"calleridnum",displayName:"APPLICATION_CALLERID",headerCellFilter:"translate",cellClass:"text-center"},{name:"dialstring",cellClass:"text-center"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_RINGING\' | translate}}{{\'APPLICATION_TALKING\' | translate}}{{\'APPLICATION_COMPLETE\' | translate}}{{\'APPLICATION_\'+row.entity.dialstatus | translate}}
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1}],data:[],gridMenuTitleFilter:function(t){var e=d.defer();return e.resolve(a.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){f(t.gridOptions.data.length)})}},g()};var f=function(t){var e=t?30*t+100:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*t+"px")};t.$on("$destroy",function(){s.unsyncUpdates("report_dial")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.realtime.view.outbound",{url:"/outbound",templateUrl:"app/channels/voice/realtime/view/outbound/outbound.html",controller:"VoiceRealtimeViewOutboundCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewParameterCtrl",["$scope","$translate","Dashboard","VoiceQueue","Auth","socket","uiGridConstants",function(t,e,n,a,s,i,l){function o(t){var e=t?30*t+150:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*t+"px")}function r(e){var n=_.find(t.gridOptions.data,{name:e.queue});n&&(n[e.type]+=e.amount)}var c={offset:0,limit:10};t.initParameters=function(){switch(t.user=s.getCurrentUser(),t.$on("$destroy",function(){i.socket.removeAllListeners("voice:inbound")}),t.user.role){case"admin":n.get({id:"voice",controller:"init"}).$promise.then(function(e){for(var n in e.queues)e.queues[n].waiting=e.queues[n].waiting||0,e.queues[n].active=e.queues[n].active||0,e.queues[n].complete=e.queues[n].complete||0,e.queues[n].abandon=e.queues[n].abandon||0,e.queues[n].unmanaged=e.queues[n].unmanaged||0,e.queues[n].holdtime=e.queues[n].holdtime||0,e.queues[n].talktime=e.queues[n].talktime||0,t.gridOptions.data.push(e.queues[n])}).catch(function(t){console.error(t)});break;case"user":n.get({id:"voice",controller:"init"}).$promise.then(function(e){for(var n in e.queues)_.find(t.user.PVoiceQueues,{name:n})&&(e.queues[n].waiting=e.queues[n].waiting||0,e.queues[n].active=e.queues[n].active||0,e.queues[n].complete=e.queues[n].complete||0,e.queues[n].abandon=e.queues[n].abandon||0,e.queues[n].unmanaged=e.queues[n].unmanaged||0,e.queues[n].holdtime=e.queues[n].holdtime||0,e.queues[n].talktime=e.queues[n].talktime||0,t.gridOptions.data.push(e.queues[n]))}).catch(function(t){console.error(t)})}i.socket.on("voice:inbound",function(t){r(t)})},t.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,enableSorting:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,columnDefs:[{name:"name",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter"},{name:"waiting",displayName:"APPLICATION_WAITING",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"active",displayName:"APPLICATION_ACTIVE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"complete",displayName:"APPLICATION_ANSWERED",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableColumnMenu:!1,filters:[{condition:l.filter.GREATER_THAN_OR_EQUAL,placeholder:"from"},{condition:l.filter.LESS_THAN_OR_EQUAL,placeholder:"to"}]},{name:"abandon",displayName:"APPLICATION_ABANDONED",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableColumnMenu:!1,filters:[{condition:l.filter.GREATER_THAN_OR_EQUAL,placeholder:"from"},{condition:l.filter.LESS_THAN_OR_EQUAL,placeholder:"to"}]},{name:"unmanaged",displayName:"APPLICATION_UNMANAGED",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableColumnMenu:!1,filters:[{condition:l.filter.GREATER_THAN_OR_EQUAL,placeholder:"from"},{condition:l.filter.LESS_THAN_OR_EQUAL,placeholder:"to"}]},{name:"holdtime",displayName:"APPLICATION_HOLDTIME",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.holdtime | secToTime | date:'HH:mm:ss'}}
",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"talktime",displayName:"APPLICATION_TALKTIME",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.talktime | secToTime | date:'HH:mm:ss'}}
",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"totalCalls",displayName:"APPLICATION_TOTAL_CALLS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.complete + row.entity.abandon + row.entity.unmanaged}}
",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(e){t.gridApi=e,t.gridApi.core.on.sortChanged(t,function(t,e){0===e.length?c.order=null:c.order=e[0].name+" "+e[0].sort.direction.toUpperCase()}),t.gridApi.pagination.on.paginationChanged(t,function(t,e){o(e),c.offset=(t-1)*e,c.limit=e}),t.gridApi.core.on.filterChanged(t,function(){this.grid.columns.forEach(function(t){t.filters.length>1?t.filters.forEach(function(e){e.term?64===e.condition?c[t.name+"_uiFrom"]=e.term:256===e.condition&&(c[t.name+"_uiTo"]=e.term):64===e.condition?delete c[t.name+"_uiFrom"]:256===e.condition&&delete c[t.name+"_uiTo"]}):t.filters.length&&t.filters[0].term?c[t.name]=t.filters[0].term:delete c[t.name]})})}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.realtime.view.parameters",{url:"/parameters",templateUrl:"app/channels/voice/realtime/view/parameter/parameter.html",controller:"VoiceRealtimeViewParameterCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewQueueCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","VoiceQueue","usSpinnerService","$q",function(t,e,n,a,s,i,l,o,r){function c(){return o.spin("spinner-grid"),l.get().$promise.then(function(e){t.queues=e.rows}).catch(function(t){i.error(t)}).finally(function(){d(),o.stop("spinner-grid")})}function d(){s.socket.on("voice_queue:save",function(e){_.find(t.queues,{name:e.name})||t.queues.push(e)}),s.socket.on("voice_queue:remove",function(e){_.remove(t.queues,{name:e.name})}),s.socket.on("user_has_voice_queue:save",function(e){if(e.queue===t.item.queue){var n=_.find(t.gridOptions.data,{id:e.UserId});n?(n.voicePause=e.paused,n.pauseType=e.reason):t.gridOptions.data.push({id:e.UserId,name:e.membername,voicePause:e.paused,pauseType:e.reason})}}),s.socket.on("user_has_voice_queue:remove",function(e){e.queue===t.item.queue&&_.remove(t.gridOptions.data,{id:e.UserId})})}t.moment=moment,t.item={},t.initQueues=function(){t.gridOptions={enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,enableSorting:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT_NAME",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter"},{name:"paused",displayName:"APPLICATION_PAUSED",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"{{(row.entity.voicePause ? 'APPLICATION_YES' : 'APPLICATION_NO') | translate}}
"},{name:"pauseType",displayName:"APPLICATION_REASON",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.pauseType}}
'}],data:[],gridMenuTitleFilter:function(t){var e=r.defer();return e.resolve(a.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){u(t.gridOptions.paginationPageSize>t.gridOptions.data.length?t.gridOptions.data.length:t.gridOptions.paginationPageSize)}),t.gridApi.pagination.on.paginationChanged(t,function(e,n){u(n>t.gridOptions.data.length?t.gridOptions.data.length:n)})}},c()},t.getAgents=function(e){if(e)return l.get({id:e,controller:"agents"}).$promise.then(function(e){t.gridOptions.data=_.filter(e.rows,function(t){return!0===t.UserHasVoiceQueue.logged})}).catch(function(t){i.error(t)});t.gridOptions.data=[]};var u=function(t){var e=t?30*t+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*t+"px")};t.$on("$destroy",function(){s.unsyncUpdates("voice_queue"),s.unsyncUpdates("user_has_voice_queue")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.realtime.view.queues",{url:"/queues",templateUrl:"app/channels/voice/realtime/view/queue/queue.html",controller:"VoiceRealtimeViewQueueCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewQueueCallsCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportQueue","Pause","Action","usSpinnerService","$q","uiGridConstants","$timeout",function(t,e,n,a,s,i,l,o,r,c,d,u,p){function m(){return c.spin("spinner-grid"),l.get({controller:"waiting",controller2:"calls"}).$promise.then(function(e){t.gridOptions.data=e.rows,h(10)}).catch(function(t){i.error(t)}).finally(function(){g(),c.stop("spinner-grid")})}function g(){s.socket.on("report_queue:save",function(e){t.gridOptions.data.unshift(e)}),s.socket.on("report_queue:update",function(e){var n=_.find(t.gridOptions.data,{id:e.id});if(n){var a={queuecallerabandon:e.queuecallerabandon,queuecallerleave:e.queuecallerleave};delete e.queuecallerabandon,delete e.queuecallerleave,_.merge(n,e),a.queuecallerabandon&&(n.queuecallerabandon=a.queuecallerabandon),a.queuecallerleave&&(n.queuecallerleave=a.queuecallerleave),(n.queuecallerabandon||n.queuecallercomplete||n.queuecallerexitreason)&&p(function(){_.remove(t.gridOptions.data,{id:e.id})},3e3)}})}t.moment=moment,t.initQueues=function(){t.gridOptions={headerCellFilter:"translate",paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_ACTIVE\' | translate}}{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{row.entity.queuecallerexitreason}}
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"caller",displayName:"APPLICATION_CALLER",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.calleridnum || ''}} {{row.entity.calleridname || ''}}
",enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"position",displayName:"APPLICATION_POSITION",headerCellFilter:"translate"},{name:"lastAssignedTo",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1}],data:[],gridMenuTitleFilter:function(t){var e=d.defer();return e.resolve(a.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.pagination.on.paginationChanged(t,function(t,e){h(e)})}},m()};var h=function(t){var e=t?30*t+100:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*t+"px")};t.$on("$destroy",function(){s.unsyncUpdates("report_queue")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.realtime.view.queuecalls",{url:"/queuecalls",templateUrl:"app/channels/voice/realtime/view/queuecalls/queuecalls.html",controller:"VoiceRealtimeViewQueueCallsCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewTelephoneCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Telephone","Pause","Action","usSpinnerService","$q","uiGridConstants","$timeout",function(t,e,n,a,s,i,l,o,r,c,d,u,p){function m(){return c.spin("spinner-grid"),l.get(h).$promise.then(function(e){t.gridOptions.totalItems=e.count,t.gridOptions.data=e.rows}).catch(function(t){i.error(t)}).finally(function(){c.stop("spinner-grid")})}function g(){s.socket.on("agent:save",function(e){var n=_.find(t.gridOptions.data,{id:e.id});n&&(n.status=e.status,n.statusAt=e.statusAt,n.ipaddr=e.ipaddr,n.port=e.port,n.fullcontact=e.fullcontact,n.useragent=e.useragent,n.lastms=e.lastms,n.internal=e.internal)}),s.socket.on("agent:remove",function(e){_.remove(t.gridOptions.data,{id:e.id})})}var h={offset:0,limit:10};t.moment=moment,t.initTelephones=function(){t.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_TELEPHONE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.name}} <{{row.entity.internal}}>
"},{name:"status",displayName:"APPLICATION_PHONE_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{'APPLICATION_'+row.entity.status | translate}}
",filter:{type:u.filter.SELECT,selectOptions:[{value:"UNKNOWN",label:a.instant("APPLICATION_UNKNOWN")},{value:"NOT_INUSE",label:a.instant("APPLICATION_NOT_INUSE")},{value:"INUSE",label:a.instant("APPLICATION_INUSE")},{value:"BUSY",label:a.instant("APPLICATION_BUSY")},{value:"INVALID",label:a.instant("APPLICATION_INVALID")},{value:"UNAVAILABLE",label:a.instant("APPLICATION_UNAVAILABLE")},{value:"RINGING",label:a.instant("APPLICATION_RINGING")},{value:"RINGINUSE",label:a.instant("APPLICATION_RINGINUSE")},{value:"ONHOLD",label:a.instant("APPLICATION_ONHOLD")}]}},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(t){var e=d.defer();return e.resolve(a.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){f(t.gridOptions.data.length)}),t.gridApi.core.on.sortChanged(t,function(t,e){0===e.length?h.order=null:h.order=e[0].name+" "+e[0].sort.direction.toUpperCase(),m()}),t.gridApi.pagination.on.paginationChanged(t,function(t,e){h.offset=(t-1)*e,h.limit=e,m()}),t.gridApi.core.on.filterChanged(t,function(){this.grid.columns.forEach(function(t){t.filters[0].term?h[t.name]=t.filters[0].term:delete h[t.name]}),m()})}},m(),p(function(){g()})};var f=function(t){var e=t?30*t+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*t+"px")};t.$on("$destroy",function(){s.unsyncUpdates("agent")}),t.showInfo=function(t){n.open({animation:!0,templateUrl:"app/channels/voice/realtime/view/telephone/telephone.modal.info.html",controller:"VoiceRealtimeViewTelephoneInfoModalCtrl",resolve:{telephone:t}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.realtime.view.telephones",{url:"/telephones",templateUrl:"app/channels/voice/realtime/view/telephone/telephone.html",controller:"VoiceRealtimeViewTelephoneCtrl",data:{permissions:{only:["admin","user"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewTelephoneInfoModalCtrl",["$scope","$uibModalInstance","$http","telephone",function(t,e,n,a){t.telephone=a,t.close=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewCtrl",["$scope","Auth",function(t,e){t.Auth=e,t.timerSwitch={isActive:!0,size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"primary"},t.showTimers=!1}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.realtime.view",{url:"/view",templateUrl:"app/channels/voice/realtime/view/view.html",controller:"VoiceRealtimeViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceRecordingListCtrl",["$scope","$translate","$sce","Recording","gridOptions","xAlert","uiGridConstants","Auth",function(t,e,n,a,s,i,l,o){t.Recording=a,t.updateRating=function(t,n){return a.update({id:t,rating:n}).$promise.then(function(){i.show(e.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},t.initView=function(){var e={exporterCsvFilename:"recordings.csv",rowHeight:30,primaryKey:"id",columnDefs:[{name:"uniqueid"},{name:"customerPhone",displayName:"APPLICATION_CUSTOMER_PHONE",cellClass:"text-center ui-grid-vcenter"},{name:"membername"},{name:"type",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
",filter:{type:l.filter.SELECT,selectOptions:[{value:"inbound",label:"Inbound"},{value:"internal",label:"Internal"},{value:"outbound",label:"Outbound"},{value:"tigerdial",label:"Motion Dialer"},{value:"chanspy",label:"ChanSpy"},{value:"unknown",label:"Unknown"}]}},{name:"queue"},{name:"createdAt",displayName:"APPLICATION_DATE",headerCellFilter:"translate",filterHeaderTemplate:'
',filters:[{name:"From",condition:l.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:l.filter.LESS_THAN_OR_EQUAL}],sort:{direction:l.DESC,priority:0}},{name:"rating",filter:{type:l.filter.SELECT,selectOptions:[{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"}]},cellClass:"ui-grid-vcenter",width:"100",cellTemplate:'
'},{name:"audio",displayName:"",width:100,enableSorting:!1,enableFiltering:!1,cellClass:"ui-grid-vcenter",cellTemplate:"
{{'MESSAGE_GSM_PREVIEW_NOT_SUPPORTED' | translate}}
"},{name:"action",width:80,buttons:[{directive:""},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.uniqueid, row.entity.id)",hide:!o.isAdmin()}]}]};t.gridOptions=s.gridOptions(a,e,t)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.recordings.list",{url:"/list",templateUrl:"app/channels/voice/recording/list/list.html",controller:"VoiceRecordingListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Recording",["$resource",function(t){return t("/api/voice/recordings/:id/:controller",{id:"@id"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.recordings",{url:"/recordings",template:"
",abstract:!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:25}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.routes.inbound",{url:"/inbound",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInboundListCreateCtrl",["$scope","$uibModalInstance","Route","application","xAlert","$location","$translate","VoiceContext","socket",function(t,e,n,a,s,i,l,o,r){t.$application=a.application,t.forms={route:void 0},t.getContexts=function(){return o.get().$promise.then(function(e){t.voiceContexts=e.rows,r.syncUpdates("voice_context",t.voiceContexts)}).catch(function(t){s.error(t)})},t.item={type:"inbound",appdata:"Inbound Call from ${CALLERID(num)}",context:"from-voip-provider"},t.ok=function(){return t.item.exten=t.$application.checkUnderscore(t.item.exten),n.save(t.item).$promise.then(function(t){e.close(t),i.path("/channels/voice/routes/inbound/view/"+t.id+"/applications")}).catch(function(t){console.log(t),s.error(t)})},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInboundListCtrl",["$scope","$http","socket","$translate","$rootScope","xAlert","Modal","stResource","gridOptions","Route","$uibModal","$location","$log",function(t,e,n,a,s,i,l,o,r,c,d,u,p){t.initView=function(){var e={exporterCsvFilename:"InboundRoutes.csv",columnDefs:[{name:"exten",displayName:"APPLICATION_PHONE_NUMBER"},{name:"description"},{name:"applications",cellClass:"ui-grid-vcenter",cellTemplate:'
{{app.app}}({{app.appdata[0]}}), ...
{{\'MESSAGE_NO_AVAILABLE_APPLICATIONS\' | translate}}
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",width:75,buttons:[{class:"blue-hoki",href:"/channels/voice/routes/inbound/view/{{row.entity.id}}/settings",name:"settings"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.exten, row.entity.id)"}]}]};t.gridOptions=r.gridOptions(c,e,t,{type:"inbound"})},t.create=function(){d.open({animation:!0,templateUrl:"app/channels/voice/route/inbound/list/create.modal.html",controller:"VoiceRouteInboundListCreateCtrl"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.routes.inbound.list",{url:"/list",templateUrl:"app/channels/voice/route/inbound/list/list.html",controller:"VoiceRouteInboundListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInboundViewCtrl",["$scope","$translate","$stateParams","socket","$location","WizardHandler","Modal","xAlert","application","interval","Route","VoiceQueue","Sound","SquareProject","VoiceContext","Interval","VoiceMail","User","Agent","Telephone","Trunk","Team",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h,f,A,v,I,b,E){function T(e){var n,a;if("always"===e.intType)n=null,a="*,*,*,*";else if("list"===e.intType)a=e.IntervalId?_.find(t.Intervals,{id:e.IntervalId}).name:"*,*,*,*",n=e.IntervalId||null;else if("custom"===e.intType){n=null;var s,i,l,o;s=e.t_from&&e.t_to&&!e.alwaysTime?moment(e.t_from).format("HH:mm")+"-"+moment(e.t_to).format("HH:mm"):"*",e.wd_from&&"always"!==e.wd_from?(i=e.wd_from,e.wd_to&&"always"!==e.wd_to&&(i+="-"+e.wd_to)):i="*",e.md_from&&"always"!==e.md_from?(l=e.md_from,e.md_to&&"always"!==e.md_to&&(l+="-"+e.md_to)):l="*",e.m_from&&"always"!==e.m_from?(o=e.m_from,e.m_to&&"always"!==e.m_to&&(o+="-"+e.m_to)):o="*",a=s+","+i+","+l+","+o}void 0===t.selectedApp?(t.application.interval=a,t.application.IntervalId=n):(t.route.Applications[t.selectedApp].interval=a,t.route.Applications[t.selectedApp].IntervalId=n)}function N(){if(t.interval.intType=t.route.Applications[t.selectedApp].IntervalId?"list":"*,*,*,*"===t.route.Applications[t.selectedApp].interval?"always":"custom",t.interval.IntervalId=t.route.Applications[t.selectedApp].IntervalId,!t.route.Applications[t.selectedApp].IntervalId){var e;(t.route.Applications[t.selectedApp].interval?t.route.Applications[t.selectedApp].interval.split(","):["*","*","*","*"]).forEach(function(n,a){switch(a){case 0:"*"!==n?(e=n.split("-"),t.interval.t_from=moment(e[0],"HH:mm"),t.interval.t_to=moment(e[1],"HH:mm"),t.interval.alwaysTime=!1):(t.interval.t_from=moment(new Date),t.interval.t_to=moment(new Date),t.interval.alwaysTime=!0);break;case 1:"*"!==n?(e=n.split("-"),t.interval.wd_from=e[0],t.interval.wd_to=e[1]?e[1]:"always"):(t.interval.wd_from="always",t.interval.wd_to="always");break;case 2:"*"!==n?(e=n.split("-"),t.interval.md_from=e[0],t.interval.md_to=e[1]?e[1]:"always"):(t.interval.md_from="always",t.interval.md_to="always");break;case 3:"*"!==n?(e=n.split("-"),t.interval.m_from=e[0],t.interval.m_to=e[1]?e[1]:"always"):(t.interval.m_from="always",t.interval.m_to="always")}})}}t.alwaysSwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.$translate=e,t.selectedApp=void 0,t.showGrid=!0,t.$application=r.application,t.$interval=c.interval,t.selectedRows=[],t._=_,t.gridOptions={enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableSorting:!1,rowTemplate:'
',columnDefs:[{name:"app",headerCellFilter:"translate",displayName:"APPLICATION_APPLICATION",enableColumnMenu:!1},{name:"appType",headerCellFilter:"translate",displayName:"APPLICATION_INFO",cellClass:"ui-grid-vcenter",cellTemplate:"
{{'APPLICATION_APPS_'+(row.entity.appType || (grid.appScope._.find(grid.appScope.$application.applications,{value:row.entity.app}) ? row.entity.app : 'custom')).toUpperCase() | translate}}
",enableColumnMenu:!1},{name:"appdata",headerCellFilter:"translate",displayName:"APPLICATION_ARGUMENTS",cellClass:"ui-grid-vcenter",cellTemplate:"
{{row.entity.appdata.join(',')}}
",enableColumnMenu:!1},{name:"interval",headerCellFilter:"translate",displayName:"APPLICATION_TIME_INTERVAL",enableColumnMenu:!1},{name:"action",enableColumnMenu:!1,headerCellFilter:"translate",displayName:"APPLICATION_ACTION",width:125,cellClass:"ui-grid-vcenter",cellTemplate:'
'}],onRegisterApi:function(e){e.selection.on.rowSelectionChanged(t,function(e){e.isSelected?t.selectedRows.push(e.entity):_.pull(t.selectedRows,e.entity)}),e.selection.on.rowSelectionChangedBatch(t,function(e){e[0].isSelected?t.selectedRows=_.map(e,"entity"):t.selectedRows=[]}),e.draggableRows.on.rowDropped(t,function(e,n){t.updateRoute()}),e.grid.registerDataChangeCallback(function(){P(t.gridOptions.data.length)})}};var P=function(t){var e=t?30*t+120:177;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px")};t.initApplication=function(e){e&&(t.selectedApp=void 0),t.forms={settings:void 0,interval:void 0},t.application={},t.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},t.main={app:""}},t.$watch("interval",function(t){t&&T(t)},!0),t.updateSetAppdata=function(){t.application.variable&&t.application.value&&"Set"===t.main.app.value?t.application.appdata[0]=t.application.variable+"="+t.application.value:t.application.appdata[0]=null},t.updateSetAppdataSettings=function(){t.application.variable&&t.application.value&&"Set"===t.main.app.value?t.route.Applications[t.selectedApp].appdata[0]=t.application.variable+"="+t.application.value:t.route.Applications[t.selectedApp].appdata[0]=null},t.updateVideoOnAppdata=function(){t.application.domain&&t.application.theme&&"Set"===t.main.app.value&&"videoOn"===t.main.app.type?t.application.appdata[0]="_xcally_motion_video_room_id=https://"+t.application.domain+"/split_agent_popup.php?theme="+t.application.theme+"&room=${SIP_HEADER(X-Split-Id)}":t.application.appdata[0]=null},t.updateVideoOnAppdataSettings=function(){t.application.domain&&t.application.theme&&"Set"===t.main.app.value&&"videoOn"===t.main.app.type?t.route.Applications[t.selectedApp].appdata[0]="_xcally_motion_video_room_id=https://"+t.application.domain+"/split_agent_popup.php?theme="+t.application.theme+"&room=${SIP_HEADER(X-Split-Id)}":t.route.Applications[t.selectedApp].appdata[0]=null},t.$watch("main.app",function(e){if(e){var n,a,s={},i={};switch(void 0===t.selectedApp&&(t.application={appType:e.type,app:e.value,interval:t.application.interval||"*,*,*,*",appdata:[]}),e.value){case"Queue":n=u,a=p;break;case"Playback":n=p;break;case"AGI":n=m;break;case"Goto":n=g;break;case"Voicemail":n=f;break;case"Dial":switch(e.type){case"internalDial":n=A,s={controller:"all"};break;case"externalDial":n=b}}if(n)return n.get(s).$promise.then(function(e){t.items=e.rows}).then(function(){if(a)return a.get(i).$promise}).then(function(e){e&&(t.items2=e.rows)}).catch(function(t){o.error(t)})}},!0),t.deselectAndRedirect=function(e){t.selectedApp=void 0,s.path(e)},t.initRingGroup=function(){var e,n,a;return void 0===t.selectedApp?t.usersArray=[]:t.usersArray=_.map(t.route.Applications[t.selectedApp].appdata[0].split("&"),function(t){return t.split("/")[1]}),A.get().$promise.then(function(t){return e=t,v.get().$promise}).then(function(t){return n=t,I.get().$promise}).then(function(s){a=s,ComponentsDropdowns.bindUserByRole(e,n,a,function(e){t.usersArray=_.union(e,t.usersArray),void 0===t.selectedApp?(t.application.appdata[0]=null,t.application.appdata[0]=_.map(t.usersArray,function(t){return"SIP/"+t}).join("&")):(t.route.Applications[t.selectedApp].appdata[0]=null,t.route.Applications[t.selectedApp].appdata[0]=_.map(t.usersArray,function(t){return"SIP/"+t}).join("&"))},function(e){t.usersArray=_.difference(t.usersArray,e),void 0===t.selectedApp?(t.application.appdata[0]=null,t.application.appdata[0]=_.map(t.usersArray,function(t){return"SIP/"+t}).join("&")):(t.route.Applications[t.selectedApp].appdata[0]=null,t.route.Applications[t.selectedApp].appdata[0]=_.map(t.usersArray,function(t){return"SIP/"+t}).join("&"))},t.route.Applications[t.selectedApp]?t.route.Applications[t.selectedApp].appdata:null)}).catch(function(t){console.error(t)})},t.getIntervals=function(){return h.get().$promise.then(function(e){t.Intervals=e.rows,a.syncUpdates("interval",t.Intervals)}).catch(function(t){o.error(t)})},t.getRoute=function(){return d.get({id:n.id}).$promise.then(function(e){t.route=e,t.gridOptions.data=e.Applications,P(t.gridOptions.data.length)}).catch(function(t){s.path("/channels/voice/routes/inbound/list")})},t.getApplication=function(){if(void 0===t.selectedApp)s.path("/channels/voice/routes/inbound/list");else{if(t.showGrid=!0,t.route.Applications[t.selectedApp].appType)t.main.app=_.find(t.$application.applications,{type:t.route.Applications[t.selectedApp].appType});else{var e=_.find(t.$application.applications,{value:t.route.Applications[t.selectedApp].app});if(e)t.main.app=e;else{t.main.app=_.find(t.$application.applications,{type:"custom"});var n=t.route.Applications[t.selectedApp].appdata.join(",");t.route.Applications[t.selectedApp].appdata=[n],t.route.Applications[t.selectedApp].appType="custom"}}if("Set"===t.main.app.value&&!t.main.app.type){var a=t.route.Applications[t.selectedApp].appdata[0].split("=");t.application.variable=a[0],t.application.value=a[1]}if("Set"===t.main.app.value&&"videoOn"===t.main.app.type){var i=new Url(t.route.Applications[t.selectedApp].appdata[0].split("=").slice(1).join("="));t.application.domain=i.host+(i.port?":"+i.port:""),t.application.theme=i.query.theme}N()}},t.openApplication=function(e){t.selectedApp=e,t.showGrid=!1,s.path("/channels/voice/routes/inbound/view/"+n.id+"/applications/settings")},t.updateRoute=function(a){return t.route.exten=t.$application.checkUnderscore(t.route.exten),_.forEach(t.route.Applications,function(t){if("custom"!==t.appType)switch(t.app){case"Dial":var e;switch(t.appType){case"externalDial":e=3;break;case"internalDial":e=2;break;default:e=2}t.appdata[e]=t.appdata[e]||"",t.appdata[e]+=(_.includes(t.appdata[e],"x")?"":"x")+(_.includes(t.appdata[e],"X")?"":"X");break;case"Queue":t.appdata[1]=t.appdata[1]||"",t.appdata[1]+=(_.includes(t.appdata[1],"x")?"":"x")+(_.includes(t.appdata[1],"X")?"":"X")}}),d.update({id:t.route.id},t.route).$promise.then(function(i){t.selectedApp=void 0,o.show(e.instant("MESSAGE_WELL_DONE")+"!","success"),a&&s.path("/channels/voice/routes/inbound/view/"+n.id+"/"+a)}).catch(function(t){console.log(t),o.error(t)})},t.getContexts=function(){return g.get().$promise.then(function(e){t.voiceContexts=e.rows,a.syncUpdates("voice_context",t.voiceContexts)}).catch(function(t){o.error(t)})},t.deleteApp=l.confirm.delete(function(e){t.route.Applications.splice(e,1),t.updateRoute()}),t.deleteItems=l.confirm.delete(function(){_.remove(t.route.Applications,function(e){return _.includes(t.selectedRows,e)}),t.selectedRows=[],t.updateRoute()}),t.addApplication=function(){t.route.Applications.push(t.application),t.updateRoute("applications")},t.goNext=function(){i.wizard().next()},t.previous=function(){i.wizard().previous()},t.formValidation=function(t){return t},t.$on("destroy",function(){a.unsyncUpdates("voice_extension")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.routes.inbound.view",{url:"/view/:id",templateUrl:"app/channels/voice/route/inbound/view/view.html",controller:"VoiceRouteInboundViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.routes.inbound.view.settings",{url:"/settings",templateUrl:"app/channels/voice/route/inbound/view/view.settings.html"}).state("main.channels.voice.routes.inbound.view.applications",{url:"/applications",templateUrl:"app/channels/voice/route/inbound/view/view.applications.html"}).state("main.channels.voice.routes.inbound.view.application",{url:"/application",templateUrl:"app/channels/voice/route/view.application.html",resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}}).state("main.channels.voice.routes.inbound.view.applications.settings",{url:"/settings",templateUrl:"app/channels/voice/route/view.applicationSettings.html",resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.routes.internal",{url:"/internal",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInternalListCreateCtrl",["$scope","$uibModalInstance","Route","application","$location","$translate","xAlert","VoiceContext","socket",function(t,e,n,a,s,i,l,o,r){t.$application=a.application,t.forms={route:void 0},t.getContexts=function(){return o.get().$promise.then(function(e){t.voiceContexts=e.rows,r.syncUpdates("voice_context",t.voiceContexts)}).catch(function(t){l.error(t)})},t.item={type:"internal",appdata:"Internal Call from ${CALLERID(num)}",context:"from-sip"},t.ok=function(){return t.item.exten=t.$application.checkUnderscore(t.item.exten),n.save(t.item).$promise.then(function(t){e.close(t),s.path("/channels/voice/routes/internal/view/"+t.id+"/applications")}).catch(function(t){l.error(t)})},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInternalListCtrl",["$scope","$http","socket","$translate","$rootScope","xAlert","Modal","stResource","gridOptions","Route","$uibModal","$location","$log",function(t,e,n,a,s,i,l,o,r,c,d,u,p){t.initView=function(){var e={exporterCsvFilename:"InternalRoutes.csv",columnDefs:[{name:"exten",displayName:"APPLICATION_PHONE_NUMBER"},{name:"description"},{name:"applications",cellClass:"ui-grid-vcenter",cellTemplate:'
{{app.app}}({{app.appdata[0]}}),...
{{\'MESSAGE_NO_AVAILABLE_APPLICATIONS\' | translate}}
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",width:75,buttons:[{class:"blue-hoki",href:"/channels/voice/routes/internal/view/{{row.entity.id}}/settings",name:"settings"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.exten, row.entity.id)"}]}]};t.gridOptions=r.gridOptions(c,e,t,{type:"internal"})},t.create=function(){d.open({animation:!0,templateUrl:"app/channels/voice/route/internal/list/create.modal.html",controller:"VoiceRouteInternalListCreateCtrl"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.routes.internal.list",{url:"/list",templateUrl:"app/channels/voice/route/internal/list/list.html",controller:"VoiceRouteInternalListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInternalViewCtrl",["$scope","$translate","$stateParams","socket","$location","WizardHandler","Modal","xAlert","application","interval","Route","VoiceQueue","Sound","SquareProject","VoiceContext","Interval","VoiceMail","User","Agent","Telephone","Trunk",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h,f,A,v,I,b){function E(e){var n,a;if("always"===e.intType)n=null,a="*,*,*,*";else if("list"===e.intType)a=e.IntervalId?_.find(t.Intervals,{id:e.IntervalId}).name:"*,*,*,*",n=e.IntervalId||null;else if("custom"===e.intType){n=null;var s,i,l,o;s=e.t_from&&e.t_to&&!e.alwaysTime?moment(e.t_from).format("HH:mm")+"-"+moment(e.t_to).format("HH:mm"):"*",e.wd_from&&"always"!==e.wd_from?(i=e.wd_from,e.wd_to&&"always"!==e.wd_to&&(i+="-"+e.wd_to)):i="*",e.md_from&&"always"!==e.md_from?(l=e.md_from,e.md_to&&"always"!==e.md_to&&(l+="-"+e.md_to)):l="*",e.m_from&&"always"!==e.m_from?(o=e.m_from,e.m_to&&"always"!==e.m_to&&(o+="-"+e.m_to)):o="*",a=s+","+i+","+l+","+o}void 0===t.selectedApp?(t.application.interval=a,t.application.IntervalId=n):(t.route.Applications[t.selectedApp].interval=a,t.route.Applications[t.selectedApp].IntervalId=n)}function T(){if(t.interval.intType=t.route.Applications[t.selectedApp].IntervalId?"list":"*,*,*,*"===t.route.Applications[t.selectedApp].interval?"always":"custom",t.interval.IntervalId=t.route.Applications[t.selectedApp].IntervalId,!t.route.Applications[t.selectedApp].IntervalId){var e;(t.route.Applications[t.selectedApp].interval?t.route.Applications[t.selectedApp].interval.split(","):["*","*","*","*"]).forEach(function(n,a){switch(a){case 0:"*"!==n?(e=n.split("-"),t.interval.t_from=moment(e[0],"HH:mm"),t.interval.t_to=moment(e[1],"HH:mm"),t.interval.alwaysTime=!1):(t.interval.t_from=moment(new Date),t.interval.t_to=moment(new Date),t.interval.alwaysTime=!0);break;case 1:"*"!==n?(e=n.split("-"),t.interval.wd_from=e[0],t.interval.wd_to=e[1]?e[1]:"always"):(t.interval.wd_from="always",t.interval.wd_to="always");break;case 2:"*"!==n?(e=n.split("-"),t.interval.md_from=e[0],t.interval.md_to=e[1]?e[1]:"always"):(t.interval.md_from="always",t.interval.md_to="always");break;case 3:"*"!==n?(e=n.split("-"),t.interval.m_from=e[0],t.interval.m_to=e[1]?e[1]:"always"):(t.interval.m_from="always",t.interval.m_to="always")}})}}t.alwaysSwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.$translate=e,t.selectedApp=void 0,t.showGrid=!0,t.$application=angular.copy(r.application),_.remove(t.$application.applications,{value:"videoOn"}),t.$interval=c.interval,t._=_,t.selectedRows=[],t.gridOptions={enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableSorting:!1,rowTemplate:'
',columnDefs:[{name:"app",headerCellFilter:"translate",displayName:"APPLICATION_APPLICATION",enableColumnMenu:!1},{name:"appType",headerCellFilter:"translate",displayName:"APPLICATION_INFO",cellClass:"ui-grid-vcenter",cellTemplate:"
{{'APPLICATION_APPS_'+(row.entity.appType || (grid.appScope._.find(grid.appScope.$application.applications,{value:row.entity.app}) ? row.entity.app : 'custom')).toUpperCase() | translate}}
",enableColumnMenu:!1},{name:"appdata",headerCellFilter:"translate",displayName:"APPLICATION_ARGUMENTS",cellClass:"ui-grid-vcenter",cellTemplate:"
{{row.entity.appdata.join(',')}}
",enableColumnMenu:!1},{name:"interval",headerCellFilter:"translate",displayName:"APPLICATION_TIME_INTERVAL",enableColumnMenu:!1},{name:"action",enableColumnMenu:!1,headerCellFilter:"translate",displayName:"APPLICATION_ACTION",width:125,cellClass:"ui-grid-vcenter",cellTemplate:'
'}],onRegisterApi:function(e){e.selection.on.rowSelectionChanged(t,function(e){e.isSelected?t.selectedRows.push(e.entity):_.pull(t.selectedRows,e.entity)}),e.selection.on.rowSelectionChangedBatch(t,function(e){e[0].isSelected?t.selectedRows=_.map(e,"entity"):t.selectedRows=[]}),e.draggableRows.on.rowDropped(t,function(e,n){t.updateRoute()}),e.grid.registerDataChangeCallback(function(){N(t.gridOptions.data.length)})}},t.deleteItems=l.confirm.delete(function(){_.remove(t.route.Applications,function(e){return _.includes(t.selectedRows,e)}),t.selectedRows=[],t.updateRoute()}),t.initRingGroup=function(){var e,n,a;return void 0===t.selectedApp?t.usersArray=[]:t.usersArray=_.map(t.route.Applications[t.selectedApp].appdata[0].split("&"),function(t){return t.split("/")[1]}),A.get().$promise.then(function(t){return e=t,v.get().$promise}).then(function(t){return n=t,I.get().$promise}).then(function(s){a=s,ComponentsDropdowns.bindUserByRole(e,n,a,function(e){t.usersArray=_.union(e,t.usersArray),void 0===t.selectedApp?(t.application.appdata[0]=null,t.application.appdata[0]=_.map(t.usersArray,function(t){return"SIP/"+t}).join("&")):(t.route.Applications[t.selectedApp].appdata[0]=null,t.route.Applications[t.selectedApp].appdata[0]=_.map(t.usersArray,function(t){return"SIP/"+t}).join("&"))},function(e){t.usersArray=_.difference(t.usersArray,e),void 0===t.selectedApp?(t.application.appdata[0]=null,t.application.appdata[0]=_.map(t.usersArray,function(t){return"SIP/"+t}).join("&")):(t.route.Applications[t.selectedApp].appdata[0]=null,t.route.Applications[t.selectedApp].appdata[0]=_.map(t.usersArray,function(t){return"SIP/"+t}).join("&"))},t.route.Applications[t.selectedApp]?t.route.Applications[t.selectedApp].appdata:null)}).catch(function(t){console.error(t)})};var N=function(t){var e=t?30*t+120:177;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px")};t.initApplication=function(e){e&&(t.selectedApp=void 0),t.forms={settings:void 0,interval:void 0},t.application={},t.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},t.main={app:""}},t.$watch("interval",function(t){t&&E(t)},!0),t.updateSetAppdata=function(){t.application.variable&&t.application.value&&"Set"===t.main.app.value?t.application.appdata[0]=t.application.variable+"="+t.application.value:t.application.appdata[0]=null},t.updateSetAppdataSettings=function(){t.application.variable&&t.application.value&&"Set"===t.main.app.value?t.route.Applications[t.selectedApp].appdata[0]=t.application.variable+"="+t.application.value:t.application.appdata[0]=null},t.$watch("main.app",function(e){if(e){var n,a,s={},i={};switch(void 0===t.selectedApp&&(t.application={appType:e.type,app:e.value,interval:t.application.interval||"*,*,*,*",appdata:[]}),e.value){case"Queue":n=u,a=p;break;case"Playback":n=p;break;case"AGI":n=m;break;case"Goto":n=g;break;case"Voicemail":n=f;break;case"Dial":switch(e.type){case"internalDial":n=A,s={controller:"all"};break;case"externalDial":n=b}}if(n)return n.get(s).$promise.then(function(e){t.items=e.rows}).then(function(){if(a)return a.get(i).$promise}).then(function(e){e&&(t.items2=e.rows)}).catch(function(t){o.error(t)})}},!0),t.deselectAndRedirect=function(e){t.selectedApp=void 0,s.path(e)},t.getIntervals=function(){return h.get().$promise.then(function(e){t.Intervals=e.rows,a.syncUpdates("interval",t.Intervals)}).catch(function(t){o.error(t)})},t.getRoute=function(){return d.get({id:n.id}).$promise.then(function(e){t.route=e,t.gridOptions.data=e.Applications,N(t.gridOptions.data.length)}).catch(function(t){s.path("/channels/voice/routes/internal/list")})},t.getApplication=function(){if(void 0===t.selectedApp)s.path("/channels/voice/routes/internal/list");else{if(t.showGrid=!0,t.route.Applications[t.selectedApp].appType)t.main.app=_.find(t.$application.applications,{type:t.route.Applications[t.selectedApp].appType});else{var e=_.find(t.$application.applications,{value:t.route.Applications[t.selectedApp].app});if(e)t.main.app=e;else{t.main.app=_.find(t.$application.applications,{type:"custom"});var n=t.route.Applications[t.selectedApp].appdata.join(",");t.route.Applications[t.selectedApp].appdata=[n],t.route.Applications[t.selectedApp].appType="custom"}}if("Set"===t.main.app.value){var a=t.route.Applications[t.selectedApp].appdata[0].split("=");t.application.variable=a[0],t.application.value=a[1]}T()}},t.openApplication=function(e){t.selectedApp=e,t.showGrid=!1,s.path("/channels/voice/routes/internal/view/"+n.id+"/applications/settings")},t.updateRoute=function(a){return t.route.exten=t.$application.checkUnderscore(t.route.exten),_.forEach(t.route.Applications,function(t){if("custom"!==t.appType)switch(t.app){case"Dial":var e;switch(t.appType){case"externalDial":e=3;break;case"internalDial":e=2;break;default:e=2}t.appdata[e]=t.appdata[e]||"",t.appdata[e]+=(_.includes(t.appdata[e],"x")?"":"x")+(_.includes(t.appdata[e],"X")?"":"X");break;case"Queue":t.appdata[1]=t.appdata[1]||"",t.appdata[1]+=(_.includes(t.appdata[1],"x")?"":"x")+(_.includes(t.appdata[1],"X")?"":"X")}}),d.update({id:t.route.id},t.route).$promise.then(function(i){t.selectedApp=void 0,o.show(e.instant("MESSAGE_WELL_DONE")+"!","success"),a&&s.path("/channels/voice/routes/internal/view/"+n.id+"/"+a)}).catch(function(t){o.error(t)})},t.getContexts=function(){return g.get().$promise.then(function(e){t.voiceContexts=e.rows,a.syncUpdates("voice_context",t.voiceContexts)}).catch(function(t){o.error(t)})},t.deleteApp=l.confirm.delete(function(e){t.route.Applications.splice(e,1),t.updateRoute()}),t.addApplication=function(){t.route.Applications.push(t.application),t.updateRoute("applications")},t.goNext=function(){i.wizard().next()},t.previous=function(){i.wizard().previous()},t.formValidation=function(t){return t},t.$on("destroy",function(){a.unsyncUpdates("voice_extension")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.routes.internal.view",{url:"/view/:id",templateUrl:"app/channels/voice/route/internal/view/view.html",controller:"VoiceRouteInternalViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.routes.internal.view.settings",{url:"/settings",templateUrl:"app/channels/voice/route/internal/view/view.settings.html"}).state("main.channels.voice.routes.internal.view.applications",{url:"/applications",templateUrl:"app/channels/voice/route/internal/view/view.applications.html"}).state("main.channels.voice.routes.internal.view.application",{url:"/application",templateUrl:"app/channels/voice/route/view.application.html",resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}}).state("main.channels.voice.routes.internal.view.applications.settings",{url:"/settings",templateUrl:"app/channels/voice/route/view.applicationSettings.html",resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteOutboundListCreateCtrl",["$scope","$uibModalInstance","Route","application","xAlert","$translate","$location","Tag","VoiceContext","socket",function(t,e,n,a,s,i,l,o,r,c){t.$application=a.application,t.forms={route:void 0},t.getContexts=function(){return r.get().$promise.then(function(e){t.voiceContexts=e.rows,c.syncUpdates("voice_context",t.voiceContexts)}).catch(function(t){s.error(t)})},t.item={type:"outbound",appdata:"Outbound Call to ${CALLERID(dnid)}",context:"from-sip"},t.getTags=function(){return o.get().$promise.then(function(e){e.rows.unshift({name:"--"}),t.tags=e.rows}).catch(function(t){s.error(t)})},t.ok=function(){return t.item.exten=t.$application.checkUnderscore(t.item.exten),n.save(t.item).$promise.then(function(t){e.close(t),l.path("/channels/voice/routes/outbound/view/"+t.id+"/routes")}).catch(function(t){s.error(t)})},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRouteOutboundListCtrl",["$scope","$http","socket","$translate","$rootScope","xAlert","Modal","stResource","gridOptions","Route","$uibModal","$location","$log",function(t,e,n,a,s,i,l,o,r,c,d,u,p){t.initView=function(){var e={exporterCsvFilename:"OutboundRoutes.csv",columnDefs:[{name:"exten",displayName:"APPLICATION_DESTINATION_PATTERN"},{name:"description"},{name:"applications",cellClass:"ui-grid-vcenter",cellTemplate:'
{{app.app}}({{app.appdata[0]}}),...
{{\'MESSAGE_NO_AVAILABLE_APPLICATIONS\' | translate}}
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",width:75,buttons:[{class:"blue-hoki",href:"/channels/voice/routes/outbound/view/{{row.entity.id}}/settings",name:"settings"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.exten, row.entity.id)"}]}]};t.gridOptions=r.gridOptions(c,e,t,{type:"outbound"})},t.create=function(){d.open({animation:!0,templateUrl:"app/channels/voice/route/outbound/list/create.modal.html",controller:"VoiceRouteOutboundListCreateCtrl"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.routes.outbound.list",{url:"/list",templateUrl:"app/channels/voice/route/outbound/list/list.html",controller:"VoiceRouteOutboundListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.routes.outbound",{url:"/outbound",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteOutboundViewCtrl",["$scope","xAlert","$translate","$stateParams","socket","$location","WizardHandler","Modal","application","interval","Route","Trunk","VoiceContext","Interval","Tag",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g){function h(e){var n,a;if("always"===e.intType)n=null,a="*,*,*,*";else if("list"===e.intType)a=e.IntervalId?_.find(t.Intervals,{id:e.IntervalId}).name:"*,*,*,*",n=e.IntervalId||null;else if("custom"===e.intType){n=null;var s,i,l,o;s=e.t_from&&e.t_to&&!e.alwaysTime?moment(e.t_from).format("HH:mm")+"-"+moment(e.t_to).format("HH:mm"):"*",e.wd_from&&"always"!==e.wd_from?(i=e.wd_from,e.wd_to&&"always"!==e.wd_to&&(i+="-"+e.wd_to)):i="*",e.md_from&&"always"!==e.md_from?(l=e.md_from,e.md_to&&"always"!==e.md_to&&(l+="-"+e.md_to)):l="*",e.m_from&&"always"!==e.m_from?(o=e.m_from,e.m_to&&"always"!==e.m_to&&(o+="-"+e.m_to)):o="*",a=s+","+i+","+l+","+o}void 0===t.selectedApp?(t.application.interval=a,t.application.IntervalId=n):(t.route.Applications[t.selectedApp].interval=a,t.route.Applications[t.selectedApp].IntervalId=n)}function f(){if(t.interval.intType=t.route.Applications[t.selectedApp].IntervalId?"list":"*,*,*,*"===t.route.Applications[t.selectedApp].interval?"always":"custom",t.interval.IntervalId=t.route.Applications[t.selectedApp].IntervalId,!t.route.Applications[t.selectedApp].IntervalId){var e;(t.route.Applications[t.selectedApp].interval?t.route.Applications[t.selectedApp].interval.split(","):["*","*","*","*"]).forEach(function(n,a){switch(a){case 0:"*"!==n?(e=n.split("-"),t.interval.t_from=moment(e[0],"HH:mm"),t.interval.t_to=moment(e[1],"HH:mm"),t.interval.alwaysTime=!1):(t.interval.t_from=moment(new Date),t.interval.t_to=moment(new Date),t.interval.alwaysTime=!0);break;case 1:"*"!==n?(e=n.split("-"),t.interval.wd_from=e[0],t.interval.wd_to=e[1]?e[1]:"always"):(t.interval.wd_from="always",t.interval.wd_to="always");break;case 2:"*"!==n?(e=n.split("-"),t.interval.md_from=e[0],t.interval.md_to=e[1]?e[1]:"always"):(t.interval.md_from="always",t.interval.md_to="always");break;case 3:"*"!==n?(e=n.split("-"),t.interval.m_from=e[0],t.interval.m_to=e[1]?e[1]:"always"):(t.interval.m_from="always",t.interval.m_to="always")}})}}t.$translate=n,t.selectedApp=void 0,t.showGrid=!0,t.$application=r.application,t.$interval=c.interval,t._=_,t.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.alwaysSwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.selectedRows=[],t.gridOptions={enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableSorting:!1,rowTemplate:'
',columnDefs:[{name:"app",displayName:"APPLICATION_APPLICATION",cellClass:"ui-grid-vcenter",cellTemplate:"
Default{{row.entity.app}}
",headerCellFilter:"translate",enableColumnMenu:!1},{name:"appType",headerCellFilter:"translate",displayName:"APPLICATION_INFO",cellClass:"ui-grid-vcenter",cellTemplate:"
{{'APPLICATION_APPS_'+(row.entity.appType || (grid.appScope._.find(grid.appScope.$application.applications,{value:row.entity.app}) ? row.entity.app : 'custom')).toUpperCase() | translate}}
",enableColumnMenu:!1},{name:"appdata",displayName:"APPLICATION_ARGUMENTS",headerCellFilter:"translate",cellClass:"ui-grid-vcenter",cellTemplate:"
{{row.entity.appdata.join(',')}}
",enableColumnMenu:!1},{name:"interval",displayName:"APPLICATION_TIME_INTERVAL",headerCellFilter:"translate",enableColumnMenu:!1},{name:"action",displayName:"APPLICATION_ACTION",headerCellFilter:"translate",width:125,enableColumnMenu:!1,cellClass:"ui-grid-vcenter",cellTemplate:'
'}],onRegisterApi:function(e){e.selection.on.rowSelectionChanged(t,function(e){e.isSelected?t.selectedRows.push(e.entity):_.pull(t.selectedRows,e.entity)}),e.selection.on.rowSelectionChangedBatch(t,function(e){e[0].isSelected?t.selectedRows=_.map(e,"entity"):t.selectedRows=[]}),e.draggableRows.on.rowDropped(t,function(e,n){t.updateRoute()}),e.grid.registerDataChangeCallback(function(){A(t.gridOptions.data.length)})}},t.deleteItems=o.confirm.delete(function(){_.remove(t.route.Applications,function(e){return _.includes(t.selectedRows,e)}),t.selectedRows=[],t.updateRoute()});var A=function(t){var e=t?30*t+120:177;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px")};t.initApplication=function(e){e&&(t.selectedApp=void 0),t.forms={info:void 0,interval:void 0},t.application={},t.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},t.main={app:""},t.applications=[{name:"Default",value:"Dial",type:"outboundDial"},{name:"Custom",value:"custom",type:"custom"}]},t.$watch("interval",function(t){t&&h(t)},!0),t.$watch("main.app",function(n){if(n){var a,s;switch(void 0===t.selectedApp&&(t.application={appType:n.type,app:n.value,interval:t.application.interval||"*,*,*,*",appdata:[]}),n.value){case"Dial":a=u;break;default:a=null,s=null}if(a)return a.get().$promise.then(function(e){t.items=e.rows}).then(function(){if(s)return s.get().$promise}).then(function(e){e&&(t.items2=e.rows)}).catch(function(t){e.error(t)})}},!0),t.deselectAndRedirect=function(e){t.selectedApp=void 0,i.path(e)},t.getIntervals=function(){return m.get().$promise.then(function(e){t.Intervals=e.rows,s.syncUpdates("interval",t.Intervals)}).catch(function(t){e.error(t)})},t.getRoute=function(){return d.get({id:a.id}).$promise.then(function(e){t.route=e,t.gridOptions.data=e.Applications,A(t.gridOptions.data.length)}).catch(function(t){i.path("/channels/voice/routes/outbound/list")})},t.getApplication=function(){if(void 0===t.selectedApp)i.path("/channels/voice/routes/outbound/list");else{if(t.showGrid=!0,t.route.Applications[t.selectedApp].appType)t.main.app=_.find(t.applications,{type:t.route.Applications[t.selectedApp].appType});else{t.main.app=_.find(t.applications,{type:"custom"});var e=t.route.Applications[t.selectedApp].appdata.join(",");t.route.Applications[t.selectedApp].appdata=[e],t.route.Applications[t.selectedApp].appType="custom"}f()}},t.openApplication=function(e){t.selectedApp=e,t.showGrid=!1,i.path("/channels/voice/routes/outbound/view/"+a.id+"/routes/settings")},t.updateRoute=function(s){return t.route.exten=t.$application.checkUnderscore(t.route.exten),_.forEach(t.route.Applications,function(t){"outboundDial"===t.appType&&(t.appdata[4]=t.appdata[4]||"",t.appdata[4]+=(_.includes(t.appdata[4],"x")?"":"x")+(_.includes(t.appdata[4],"X")?"":"X"))}),d.update({id:t.route.id},t.route).$promise.then(function(l){t.selectedApp=void 0,e.show(n.instant("MESSAGE_WELL_DONE")+"!","success"),s&&i.path("/channels/voice/routes/outbound/view/"+a.id+"/"+s)}).catch(function(t){e.error(t)})},t.getContexts=function(){return p.get().$promise.then(function(e){t.voiceContexts=e.rows,s.syncUpdates("voice_context",t.voiceContexts)}).catch(function(t){e.error(t)})},t.getTags=function(){return g.get().$promise.then(function(e){e.rows.unshift({name:"--"}),t.tags=e.rows}).catch(function(t){e.error(t)})},t.deleteApp=o.confirm.delete(function(e){t.route.Applications.splice(e,1),t.updateRoute()}),t.addApplication=function(){t.route.Applications.push(t.application),t.updateRoute("routes")},t.goNext=function(){l.wizard().next()},t.previous=function(){l.wizard().previous()},t.formValidation=function(t){return t},t.$on("destroy",function(){s.unsyncUpdates("voice_extension")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.routes.outbound.view",{url:"/view/:id",templateUrl:"app/channels/voice/route/outbound/view/view.html",controller:"VoiceRouteOutboundViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.routes.outbound.view.settings",{url:"/settings",templateUrl:"app/channels/voice/route/outbound/view/view.settings.html"}).state("main.channels.voice.routes.outbound.view.routes",{url:"/routes",templateUrl:"app/channels/voice/route/outbound/view/view.routes.html"}).state("main.channels.voice.routes.outbound.view.route",{url:"/route",templateUrl:"app/channels/voice/route/outbound/view/view.route.html"}).state("main.channels.voice.routes.outbound.view.routes.settings",{url:"/settings",templateUrl:"app/channels/voice/route/outbound/view/view.routeSettings.html"})}]),angular.module("xCallyShuttleApp").factory("Route",["$resource",function(t){return t("/api/voice/extensions/:id",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.routes",{url:"/routes",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:21}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice",{url:"/voice",template:"
",abstract:!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:7}}})}]),angular.module("xCallyShuttleApp").controller("VoiceVoicemailListCtrl",["$scope","VoiceMail","gridOptions",function(t,e,n){t.initView=function(){var a={exporterCsvFilename:"voice_mails.csv",primaryKey:"uniqueid",columnDefs:[{name:"mailbox"},{name:"fullname"},{name:"email"},{name:"action",width:75,buttons:[{class:"blue-hoki",href:"/channels/voice/voicemails/view/{{row.entity.uniqueid}}/settings",name:"profile"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.mailbox, row.entity.uniqueid)"}]}]};t.gridOptions=n.gridOptions(e,a,t)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.voicemails.list",{url:"/list",templateUrl:"app/channels/voice/voicemail/list/list.html",controller:"VoiceVoicemailListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceVoicemailViewCtrl",["$scope","VoiceMail","VoiceMailMessage","VoiceContext","$http","xAlert","$translate","$stateParams","socket","$sce","Modal","$location","gridOptions","uiGridConstants",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m){function g(){var e={exporterCsvFilename:"voice_mail_messages.csv",primaryKey:"id",columnDefs:[{name:"callerid"},{name:"stamp",displayName:"APPLICATION_DATE",cellClass:"ui-grid-vcenter",cellTemplate:"
{{grid.appScope.moment(row.entity.stamp).format('YYYY-MM-DD HH:mm:ss')}}
",sort:{direction:m.DESC,priority:0}},{name:"duration",cellClass:"ui-grid-vcenter",cellTemplate:"
{{row.entity.duration*1000 | date:'mm:ss'}}
"},{name:"audio",displayName:"",width:225,enableSorting:!1,enableFiltering:!1,buttons:[{directive:''}]},{name:"action",width:150,buttons:[{directive:''},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.id, row.entity.id)"}]}]};t.gridOptions=p.gridOptions(n,e,t,{mailbox:t.voicemail.mailbox,context:t.voicemail.context})}t.moment=moment,t.switch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.VoiceMailMessage=n,t.getVoicemail=function(){return e.get({id:o.uniqueid}).$promise.then(function(e){delete e.password,delete e.stamp,t.voicemail=e}).catch(function(t){u.path("/voice/voicemails/list")})},t.updateVoiceVoicemail=function(){return e.update({id:o.uniqueid},t.voicemail).$promise.then(function(){i.show(l.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})},t.getContexts=function(){return a.get().$promise.then(function(e){t.voiceContexts=e.rows}).catch(function(t){i.error(t)})},t.getMessages=function(){if(!t.voicemail)return e.get({id:o.uniqueid}).$promise.then(function(e){delete e.password,delete e.stamp,t.voicemail=e,g()}).catch(function(t){u.path("/voice/voicemails/view/"+o.uniqueid+"/settings")});g()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.voicemails.view",{url:"/view/:uniqueid",templateUrl:"app/channels/voice/voicemail/view/view.html",controller:"VoiceVoicemailViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.voicemails.view.settings",{url:"/settings",templateUrl:"app/channels/voice/voicemail/view/view.settings.html"}).state("main.channels.voice.voicemails.view.messages",{url:"/messages",templateUrl:"app/channels/voice/voicemail/view/view.messages.html"})}]),angular.module("xCallyShuttleApp").factory("VoiceMail",["$resource",function(t){return t("/api/voice/voicemails/:id/:controller",{uniqueid:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.voicemails",{url:"/voicemails",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:23}}})}]),angular.module("xCallyShuttleApp").factory("VoiceMailMessage",["$resource",function(t){return t("/api/voice/voicemails/messages/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("VoiceVoicemailWizardCtrl",["$scope","VoiceMail","xAlert","WizardHandler","$location","Setting",function(t,e,n,a,s,i){t.initWizard=function(){t.form={},t.item={context:"from-voicemail"}},t.next=function(){a.wizard().next()},t.previous=function(){a.wizard().previous()},t.exitValidation=function(t){return t},t.getFirstFreeMailbox=function(){i.get({controller:"mailbox"}).$promise.then(function(e){t.item.mailbox=e.value}).catch(function(t){n.error(t)})},t.createItem=function(){return t.item.customer_id=t.item.mailbox,e.save(t.item).$promise.then(function(){s.path("/channels/voice/voicemails/list")}).catch(function(t){n.error(data)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.channels.voice.voicemails.wizard",{url:"/wizard",templateUrl:"app/channels/voice/voicemail/wizard/wizard.html",controller:"VoiceVoicemailWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("VoiceQueue",["$resource",function(t){return t("/api/voice/queues/:id/:controller/:controller2",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("Company",["$resource",function(t){return t("/api/contactmanager/companies/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.contactmanager.companies",{url:"/companies",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:5}}})}]),angular.module("xCallyShuttleApp").controller("CompanyListCreateModalCtrl",["$scope","$uibModalInstance",function(t,e){t.forms={dashboard:void 0},t.item={},t.ok=function(){t.item.model=JSON.stringify({title:t.item.name}),e.close(t.item)},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ContactManagerCompanyListCtrl",["$scope","$translate","xAlert","Modal","$uibModal","$log","Company","gridOptions","$location","$state",function(t,e,n,a,s,i,l,o,r,c){t.initView=function(){var e={exporterCsvFilename:"Companies.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:100,buttons:[{class:"blue-hoki",name:"profile",href:"/contactmanager/companies/view/{{row.entity.id}}/settings"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{class:"green-turquoise",name:"contacts",onClick:"grid.appScope.goToContacts(row.entity.id)"}]}]};t.gridOptions=o.gridOptions(l,e,t)},t.goToContacts=function(t){c.go("main.contactmanager.contacts.list",{companyId:t})},t.create=function(){s.open({animation:!0,size:"lg",templateUrl:"app/contactmanager/company/list/create.modal.html",controller:"CompanyListCreateModalCtrl"}).result.then(function(t){return l.save(t).$promise.then(function(t){r.path("/contactmanager/companies/view/"+t.id+"/settings")}).catch(function(t){n.error(t)})},function(){i.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.contactmanager.companies.list",{url:"/list",templateUrl:"app/contactmanager/company/list/list.html",controller:"ContactManagerCompanyListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("ContactManagerCompanyViewCtrl",["$scope","xAlert","$translate","$stateParams","$location","Company",function(t,e,n,a,s,i){t.getCompany=function(){return i.get({id:a.id}).$promise.then(function(e){t.company=e}).catch(function(t){s.path("/contactmanager/companies/list")})},t.updateCompany=function(){return i.update({id:a.id},t.company).$promise.then(function(){e.show(n.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){e.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.contactmanager.companies.view",{url:"/view/:id",templateUrl:"app/contactmanager/company/view/view.html",controller:"ContactManagerCompanyViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.contactmanager.companies.view.settings",{url:"/settings",templateUrl:"app/contactmanager/company/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("Contact",["$resource",function(t){return t("/api/contactmanager/contacts/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"},search:{method:"POST"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.contactmanager.contacts",{url:"/contacts",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("ContactManagerListCopyModalCtrl",["$scope","$uibModalInstance","xAlert","List","Contact","$translate",function(t,e,n,a,s,i){t.item={},t.getLists=function(){return a.get().$promise.then(function(e){t.lists=e.rows}).catch(function(t){n.error(t)})},t.ok=function(){e.close(t.item)},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ContactManagerListImportModalCtrl",["$scope","$uibModalInstance","indexes","csv","xAlert","socket","List","Contact","$translate","Company","companyId","listId",function(t,e,n,a,s,i,l,o,r,c,d,u){function p(t){var e,n;if(!t)return 0;for(e=n=(t=t.toString()).length;e--;){var a=t[e].charCodeAt();56320<=a&&a<=57343&&e--,127=t.csvLength||t.stopped)t.importing=!1;else{for(var n,i=[],l="",c=e;c{{row.entity.phone}}
'},{name:"mobile",displayName:"APPLICATION_MOBILE",cellTemplate:'
{{row.entity.mobile}}
'},{name:"email",displayName:"APPLICATION_EMAIL",cellTemplate:'
{{row.entity.email}}{{row.entity.email}}
'},{name:"ListId",displayName:"APPLICATION_LIST",field:"List",filter:{type:d.filter.SELECT,term:m.listId||null,selectOptions:t.lists},cellTemplate:'
{{row.entity.List}}{{row.entity.List}}
'},{name:"CompanyId",displayName:"APPLICATION_COMPANY",field:"Company",filter:{type:d.filter.SELECT,term:m.companyId||null,selectOptions:t.companies},cellTemplate:'
{{row.entity.Company}}{{row.entity.Company}}
'},{name:"tags",filterHeaderTemplate:'
',filters:[{name:"tags"}],cellTemplate:"
{{row.entity.tags.join(',')}}
"}]},_.forEach(t.customFields,function(t){n.columnDefs.push({name:t.alias,displayName:t.alias,visible:!1})}),n.columnDefs.push({name:"action",width:100,buttons:a}),t.gridOptions=r.gridOptions(o,n,t),I()}).catch(function(t){u.error(t)})},t.callPhoneBar=function(n,a){var s;switch(a){case"call":s="http://127.0.0.1:"+t.agent.phoneBarRemoteControlPort+"/api/originate/"+n;break;case"transfer":s="http://127.0.0.1:"+t.agent.phoneBarRemoteControlPort+"/api/transfer?number="+n;break;default:s="http://127.0.0.1:"+t.agent.phoneBarRemoteControlPort+"/api/originate/"+n}return A.get(s).success(function(){u.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(t){u.error(t)})},t.openRoom=function(t,e,n){var a=_.find(v.workspaces,{id:t,type:e});if(a)a.active=!0;else{var s;switch(e){case"mailRoom":s="icon-envelope";break;case"chatRoom":s="fa fa-users";break;case"faxRoom":s="fa fa-fax";break;case"smsRoom":s="glyphicon glyphicon-comment"}v.workspaces.push({id:t,type:e,class:s,active:!0,data:n})}},a.FileSelect.prototype.isEmptyAfterSelection=function(){return!0},(t.uploader=new a({queueLimit:1,clearInputAfterAddedToQueue:!0})).onAfterAddingFile=function(e){s.parse(e._file,{header:!0,complete:function(e){t.uploader.clearQueue(),t.import(e.data)},error:function(t){console.log(t)}})},t.extractAll=function(){f.spin("grid-spinner");var e=_.clone(t.gridOptions.pagOpt);return delete e.limit,delete e.offset,o.get(_.merge({controller:"extract",controller2:"all"},e)).$promise.then(function(t){return f.stop("grid-spinner"),t.rows}).catch(function(t){u.error(t)})},t.import=function(e){p.unsyncUpdates("contact_manager"),i.open({animation:!0,size:"lg",backdrop:"static",keyboard:!1,templateUrl:"app/contactmanager/contact/list/import.modal.html",controller:"ContactManagerListImportModalCtrl",resolve:{indexes:function(){return _.keys(e[0])},csv:function(){return e},companyId:function(){return t.gridOptions.columnDefs[7].filter.term||null},listId:function(){return t.gridOptions.columnDefs[6].filter.term||null}}}).result.then(function(){console.log("result"),I(),t.gridOptions.getPage()},function(){l.info("Modal dismissed at: "+new Date)})},t.copy=function(e){i.open({animation:!0,size:"small",templateUrl:"app/contactmanager/contact/list/copy.modal.html",controller:"ContactManagerListCopyModalCtrl"}).result.then(function(n){return o.save({id:e,controller:"copy"},n).$promise.then(function(e){t.openContactTab({firstName:e.firstName,lastName:e.lastName,id:e.id})}).catch(function(t){u.error(t)})},function(){l.info("Modal dismissed at: "+new Date)})},t.$on("$destroy",function(){p.unsyncUpdates("contact_manager")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.contactmanager.contacts.list",{url:"/list",templateUrl:"app/contactmanager/contact/list/list.html",params:{listId:null,companyId:null},controller:"ContactManagerContactListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.contactmanager",{url:"/contactmanager",template:"
",abstract:!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:5}}})}]),angular.module("xCallyShuttleApp").factory("CustomField",["$resource",function(t){return t("/api/contactmanager/customfields/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.contactmanager.customfields",{url:"/customfields",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:5}}})}]),angular.module("xCallyShuttleApp").controller("CustomFieldListCreateModalCtrl",["$scope","$uibModalInstance","$translate",function(t,e,n){t.$translate=n,t.forms={dashboard:void 0},t.item={},t.choices=[{value:""}],t.bsSwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.addField=function(){t.choices.push({})},t.removeField=function(e){t.choices.splice(e,1)},t.types=[{name:"APPLICATION_TEXT",value:"text"},{name:"APPLICATION_SELECT",value:"select"}],t.ok=function(){"select"===t.item.type&&(t.item.values=angular.toJson(t.choices)),e.close(t.item)},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ContactManagerCustomFieldListCtrl",["$scope","$translate","xAlert","Modal","$uibModal","$log","CustomField","gridOptions",function(t,e,n,a,s,i,l,o){t.initView=function(){var e={exporterCsvFilename:"customfields.csv",primaryKey:"id",columnDefs:[{name:"alias",displayName:"APPLICATION_NAME"},{name:"name",displayName:"APPLICATION_FIELD"},{name:"type"},{name:"action",width:200,buttons:[{class:"blue-hoki",href:"/contactmanager/customfields/view/{{row.entity.id}}/settings",name:"settings"},{class:"red-sunglo",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)",name:"delete"}]}]};t.gridOptions=o.gridOptions(l,e,t)},t.create=function(){s.open({animation:!0,size:"lg",templateUrl:"app/contactmanager/customfield/list/create.modal.html",controller:"CustomFieldListCreateModalCtrl"}).result.then(function(a){return l.save(a).$promise.then(function(){t.gridOptions.getPage(),n.show(e.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){n.error(t)})},function(){i.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.contactmanager.customfields.list",{url:"/list",templateUrl:"app/contactmanager/customfield/list/list.html",controller:"ContactManagerCustomFieldListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("ContactManagerCustomFieldViewCtrl",["$scope","xAlert","$translate","$stateParams","$location","CustomField",function(t,e,n,a,s,i){function l(t){var e=t.split(""),n=0,a=0;return e.shift(),e.forEach(function(t,e){"{"===t?n++:"}"===t&&(--n||(a=e+1))}),a?JSON.parse("["+t.substr(1,a)+"]"):[]}t.bsSwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.getCustomField=function(){return i.get({id:a.id}).$promise.then(function(e){if(t.customField=e,"select"===t.customField.type)try{t.choices=JSON.parse(t.customField.values)}catch(e){t.choices=l(t.customField.values)}}).catch(function(){s.path("/contactmanager/customfields/list")})},t.addField=function(){t.choices.push({})},t.removeField=function(e){t.choices.splice(e,1)},t.updateCustomField=function(){var s=angular.copy(t.customField);return"select"===s.type&&(s.values=angular.toJson(t.choices)),i.update({id:a.id},t.customField).$promise.then(function(){e.show(n.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){e.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.contactmanager.customfields.view",{url:"/view/:id",templateUrl:"app/contactmanager/customfield/view/view.html",controller:"ContactManagerCustomFieldViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.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").factory("List",["$resource",function(t){return t("/api/contactmanager/lists/:listId/:controller/:id",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.contactmanager.lists",{url:"/lists",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:5}}})}]),angular.module("xCallyShuttleApp").controller("ContactManagerListListCreateModalCtrl",["$scope","$uibModalInstance",function(t,e){t.forms={dashboard:void 0},t.item={},t.ok=function(){e.close(t.item)},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ContactManagerListListCtrl",["$scope","$http","$translate","Modal","xAlert","$uibModal","$log","List","gridOptions","$state","MotionDialerList","$rootScope",function(t,e,n,a,s,i,l,o,r,c,d,u){t.initView=function(){var e={exporterCsvFilename:"Lists.csv",columnDefs:[{name:"id"},{name:"name"},{name:"description"},{name:"action",width:100,buttons:[{class:"blue-hoki",name:"settings",href:"/contactmanager/lists/view/{{row.entity.id}}/settings"},{class:"green-turquoise",name:"contacts",onClick:"grid.appScope.goToContacts(row.entity.id)"},{class:"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteList(row.entity.name, row.entity.id)"}]}]};t.gridOptions=r.gridOptions(o,e,t)},t.goToContacts=function(t){c.go("main.contactmanager.contacts.list",{listId:t})},t.deleteList=a.confirm.delete(function(e){return u.license.dialer?d.find({id_source:e}).$promise.then(function(t){if(t&&t.status>0)return t.response.RMI.rows[0]?d.delete({id:t.response.RMI.rows[0].id}).$promise:{status:1};s.show(t?t.message||"Please, check your connection!":"Please, check your connection!","danger")}).then(function(a){if(a&&a.status>0)return o.remove({id:e}).$promise.then(function(){t.gridOptions.getPage(),s.show(n.instant("MESSAGE_WELL_DONE"),"success")});var i="Please, check your connection!";a&&(i=a.response&&a.response.RMI?a.response.RMI.errors||a.message||"Please, check your connection!":a.message||"Please, check your connection!"),s.show(i,"danger")}).catch(function(t){s.error(t)}):o.remove({id:e}).$promise.then(function(){t.gridOptions.getPage(),s.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){s.error(t)})}),t.create=function(){i.open({animation:!0,templateUrl:"app/contactmanager/list/list/create.modal.html",controller:"ContactManagerListListCreateModalCtrl"}).result.then(function(a){e.post("/api/contactmanager/lists/",a).then(function(){t.gridOptions.getPage(),s.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){s.error(t)})},function(){l.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.contactmanager.lists.list",{url:"/list",templateUrl:"app/contactmanager/list/list/list.html",controller:"ContactManagerListListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ContactManagerListCustomFieldViewCreateModalCtrl",["$scope","$uibModalInstance","$translate",function(t,e,n){t.$translate=n,t.forms={dashboard:void 0},t.item={},t.choices=[{value:""}],t.bsSwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.addField=function(){t.choices.push({})},t.removeField=function(e){t.choices.splice(e,1)},t.types=[{name:"APPLICATION_TEXT",value:"text"},{name:"APPLICATION_SELECT",value:"select"}],t.ok=function(){"select"===t.item.type&&(t.item.values=angular.toJson(t.choices)),e.close(t.item)},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ContactManagerListViewCtrl",["$scope","xAlert","$translate","$stateParams","socket","$location","$uibModal","$log","Modal","List","Team","gridOptions",function(t,e,n,a,s,i,l,o,r,c,d,u){function p(t){var e=t.split(""),n=0,a=0;return e.shift(),e.forEach(function(t,e){"{"===t?n++:"}"===t&&(--n||(a=e+1))}),a?JSON.parse("["+t.substr(1,a)+"]"):[]}var m=[{name:"firstName",value:"firstName"},{name:"lastName",value:"lastName"},{name:"CompanyId",value:"CompanyId"},{name:"phone",value:"phone"},{name:"mobile",value:"mobile"},{name:"email",value:"email"},{name:"fax",value:"fax"},{name:"tags",value:"tags"},{name:"ListId",value:"ListId"},{name:"street",value:"street"},{name:"postalCode",value:"postalCode"},{name:"city",value:"city"},{name:"country",value:"country"},{name:"dateOfBirth",value:"dateOfBirth"},{name:"description",value:"description"},{name:"url",value:"url"}];t.bsSwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"};var g=function(){return{select:function(e){return c.save({listId:t.list.id,controller:"agents"},{agents:e}).$promise.then(function(){t.getTeams()}).catch(function(t){console.log(t)})},deselect:function(e){return c.delete({listId:t.list.id,controller:"agents",agents:e}).$promise.then(function(){t.getTeams()}).catch(function(t){console.log(t)})}}};t.initVariables=function(){return c.get({listId:a.id,controller:"customfields",id:"all"}).$promise.then(function(e){if(t.variables=_.clone(m),e.rows.forEach(function(e){try{"select"===e.type&&(e.values=JSON.parse(e.values)),t.variables.push({name:e.alias,value:e.name})}catch(t){console.log("Cf not valid:",e.alias)}}),t.list&&t.list.variables&&t.list.variables.length)for(var n=t.list.variables.length;n--;)_.find(t.variables,{value:t.list.variables[n].value})||t.list.variables.splice(n,1)}).catch(function(t){console.error(t),e.error(t)})},t.getList=function(){return c.get({listId:a.id}).$promise.then(function(e){if(e.variables)try{e.variables=JSON.parse(e.variables)}catch(t){console.log("invalid or outdated variables format"),e.variables=[]}else e.variables=[];t.list=e}).catch(function(){i.path("/contactmanager/lists/list")})},t.updateList=function(){var s=_.clone(t.list);return s.variables=s.variables.length?angular.toJson(s.variables):"",c.update({id:a.id},s).$promise.then(function(){e.show(n.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){e.error(t)})},t.convertList=function(){t.list.isTdList=!0,t.updateList()},t.getTeams=function(){return d.get({controller:"associations"}).$promise.then(function(e){if(t.teams=e.rows,!t.list)return t.getList()}).then(function(){return t.list.defaultEntry&&i.path("/contactmanager/lists/list"),c.get({listId:a.id,controller:"agents"}).$promise}).then(function(e){ComponentsDropdowns.bindQueue(t.teams,_.map(e.rows,function(t){return{id:t.id}}),g)}).catch(function(t){console.error(t)})},t.initCustomFields=function(){var e={exporterCsvFilename:"customfields.csv",primaryKey:"id",columnDefs:[{name:"alias",displayName:"APPLICATION_NAME"},{name:"name",displayName:"APPLICATION_FIELD"},{name:"type"},{name:"action",width:200,buttons:[{class:"blue-hoki",href:"/contactmanager/lists/view/{{grid.appScope.$stateParams.id}}/customfields/settings/{{row.entity.id}}",name:"settings"},{class:"red-sunglo",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)",name:"delete"}]}]};t.gridOptions=u.gridOptions(c,e,t,{listId:a.id,controller:"customfields"})},t.create=function(){l.open({animation:!0,templateUrl:"app/contactmanager/list/view/create.modal.html",controller:"ContactManagerListCustomFieldViewCreateModalCtrl"}).result.then(function(s){return c.save({listId:a.id,controller:"customfields"},s).$promise.then(function(){t.gridOptions.getPage(),e.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){e.error(t)})},function(){o.info("Modal dismissed at: "+new Date)})},t.getCustomField=function(){return c.get({listId:a.id,controller:"customfields",id:a.cfId}).$promise.then(function(e){if(t.customField=e,"select"===t.customField.type)try{t.choices=JSON.parse(t.customField.values)}catch(e){t.choices=p(t.customField.values)}}).catch(function(t){console.error(t)})},t.updateCustomField=function(){var s=angular.copy(t.customField);return"select"===s.type&&(s.values=angular.toJson(t.choices)),c.update({listId:a.id,controller:"customfields",id:a.cfId},s).$promise.then(function(){e.show(n.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){e.error(t)})},t.addField=function(){t.choices.push({})},t.removeField=function(e){t.choices.splice(e,1)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.contactmanager.lists.view",{url:"/view/:id",templateUrl:"app/contactmanager/list/view/view.html",controller:"ContactManagerListViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.contactmanager.lists.view.settings",{url:"/settings",templateUrl:"app/contactmanager/list/view/view.settings.html"}).state("main.contactmanager.lists.view.agents",{url:"/agents",templateUrl:"app/contactmanager/list/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}}).state("main.contactmanager.lists.view.customfields",{url:"/customfields",templateUrl:"app/contactmanager/list/view/view.customFields.html"}).state("main.contactmanager.lists.view.customfields.settings",{url:"/settings/:cfId",templateUrl:"app/contactmanager/list/view/view.customFieldSettings.html",controller:"ContactManagerListViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("DashboardChatCtrl",["$scope","Auth","ChatRoom","socket","Agent","$translate","$q","ReportChatSession","$timeout",function(t,e,n,a,s,i,l,o,r){t.Auth=e,t.moment=moment,t.$on("$destroy",function(){a.socket.removeAllListeners("dashboard:chat")}),t.roomStatus={new:0,open:0,closed:0,abandon:0,unmanaged:0},t.routingStats={waiting:0,timeout:0},t.charts={interactions:{labels:[i.instant("APPLICATION_DASHBOARD_NEW"),i.instant("APPLICATION_DASHBOARD_OPEN"),i.instant("APPLICATION_DASHBOARD_PENDING"),i.instant("APPLICATION_DASHBOARD_CLOSED")],values:[t.roomStatus.new,t.roomStatus.open,t.roomStatus.pending,t.roomStatus.closed],colours:["#44B6AE","#578EBE","#35AA47","#8775A7"]}};var c=function(t){var e=t?30*t+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px")};t.initAgent=function(){t.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,paginationPageSizes:[10,25,50],paginationPageSize:10,columnDefs:[{name:"UserHasChatQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){c(t.table1.paginationPageSize>t.table1.data.length?t.table1.data.length:t.table1.paginationPageSize)}),t.gridApi.pagination.on.paginationChanged(t,function(e,n){c(n>t.table1.data.length?t.table1.data.length:n)})}},t.table2={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"roomid",displayName:"APPLICATION_INTERACTION_ID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT_NAME",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.application}} ({{row.entity.queuename}})
"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_TIMEOUT\' | translate}} []
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"}],data:[],gridMenuTitleFilter:function(t){var e=l.defer();return e.resolve(i.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){})}},s.get({id:e.getCurrentUser().id,controller:"chat",controller1:"queues"}).$promise.then(function(e){t.table1.data=e.rows}).finally(function(){c(t.table1.paginationPageSize>t.table1.data.length?t.table1.data.length:t.table1.paginationPageSize),a.socket.on("user_has_chat_queue:save",function(n){n.UserId!=e.getCurrentUser().id||_.find(t.table1.data,{id:n.ChatQueueId})||t.table1.data.push({id:n.ChatQueueId,UserHasChatQueue:n})}),a.socket.on("user_has_chat_queue:remove",function(n){n.UserId===e.getCurrentUser().id&&_.remove(t.table1.data,{id:n.ChatQueueId})})}).catch(function(t){console.error(t)}),o.get({controller:"waiting",controller2:"applications"}).$promise.then(function(e){t.table2.data=e.rows}).finally(function(){a.socket.on("report_chat_session:save",function(e){var n=_.find(t.table2.data,{id:e.id});n?(_.merge(n,e),e.leaveAt&&r(function(){_.remove(t.table2.data,{id:e.id})},1e4)):e.leaveAt||t.table2.data.push(e)}),a.socket.on("report_chat_session:remove",function(e){_.remove(t.table2.data,{id:e.id})})}).catch(function(t){console.log(t)})},t.initRoomStats=function(){return n.get({id:"dashboard"}).$promise.then(function(e){t.roomStatus=e,t.charts={interactions:{labels:[i.instant("APPLICATION_DASHBOARD_NEW"),i.instant("APPLICATION_DASHBOARD_OPEN"),i.instant("APPLICATION_UNMANAGED"),i.instant("APPLICATION_DASHBOARD_CLOSED"),i.instant("APPLICATION_DASHBOARD_ABANDONED")],values:[t.roomStatus.new,t.roomStatus.open,t.roomStatus.unmanaged,t.roomStatus.closed,t.roomStatus.abandon],colours:["#44B6AE","#578EBE","#35AA47","#8775A7","#F3C200"]}},a.socket.on("dashboard:chat",function(e){t.roomStatus=e.roomStatus,t.charts.interactions.values=[t.roomStatus.new,t.roomStatus.open,t.roomStatus.unmanaged,t.roomStatus.closed,t.roomStatus.abandon]})}).catch(function(t){console.error(t)})},t.initRoutingStats=function(){return o.get({id:"dashboard"}).$promise.then(function(e){t.routingStats=e}).catch(function(t){console.error(t)})},t.initSocketListening=function(){a.socket.on("dashboard:chat",function(e){t.roomStatus=e.roomStatus,t.routingStats=e.routingStats,t.charts.interactions.values=[t.roomStatus.new,t.roomStatus.open,t.roomStatus.unmanaged,t.roomStatus.closed,t.roomStatus.abandon]})}}]),angular.module("xCallyShuttleApp").controller("DashboardCtrl",["$scope","$translate","Auth",function(t,e,n){}]),angular.module("xCallyShuttleApp").factory("Dashboard",["$resource",function(t){return t("/api/dashboards/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.dashboard",{abstract:!0,url:"/dashboard",templateUrl:"app/dashboard/dashboard.html",controller:"DashboardCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:1}}}).state("main.dashboard.voice",{url:"/voice",controller:"DashboardVoiceCtrl",templateUrl:"app/dashboard/voice/voice.html"}).state("main.dashboard.chat",{url:"/chat",controller:"DashboardChatCtrl",templateUrl:"app/dashboard/chat/chat.html",data:{permissions:{redirectTo:"landing",id:8}}}).state("main.dashboard.mail",{url:"/mail",controller:"DashboardMailCtrl",templateUrl:"app/dashboard/mail/mail.html",data:{permissions:{redirectTo:"landing",id:9}}}).state("main.dashboard.fax",{url:"/fax",controller:"DashboardFaxCtrl",templateUrl:"app/dashboard/fax/fax.html",data:{permissions:{redirectTo:"landing",id:10}}}).state("main.dashboard.sms",{url:"/sms",controller:"DashboardSmsCtrl",templateUrl:"app/dashboard/sms/sms.html",data:{permissions:{redirectTo:"landing",id:11}}}).state("main.dashboard.openchannel",{url:"/openchannel",controller:"DashboardOpenChannelCtrl",templateUrl:"app/dashboard/openchannel/openchannel.html",data:{permissions:{redirectTo:"landing",id:20}}})}]),angular.module("xCallyShuttleApp").controller("DashboardFaxCtrl",["$scope","Auth","FaxRoom","socket","Agent","$translate","$q","ReportFaxSession","$timeout",function(t,e,n,a,s,i,l,o,r){t.Auth=e,t.moment=moment,t.$on("$destroy",function(){a.socket.removeAllListeners("dashboard:fax")}),t.roomStatus={new:0,open:0,pending:0,closed:0},t.routingStats={waiting:0,timeout:0},t.charts={interactions:{labels:[i.instant("APPLICATION_DASHBOARD_NEW"),i.instant("APPLICATION_DASHBOARD_OPEN"),i.instant("APPLICATION_DASHBOARD_PENDING"),i.instant("APPLICATION_DASHBOARD_CLOSED")],values:[t.roomStatus.new,t.roomStatus.open,t.roomStatus.pending,t.roomStatus.closed],colours:["#44B6AE","#578EBE","#35AA47","#8775A7"]}};var c=function(t){var e=t?30*t+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px")};t.initAgent=function(){t.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,paginationPageSizes:[10,25,50],paginationPageSize:10,columnDefs:[{name:"UserHasFaxQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){c(t.table1.paginationPageSize>t.table1.data.length?t.table1.data.length:t.table1.paginationPageSize)}),t.gridApi.pagination.on.paginationChanged(t,function(e,n){c(n>t.table1.data.length?t.table1.data.length:n)})}},t.table2={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"roomid",displayName:"APPLICATION_INTERACTION_ID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT_NAME",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.application}} ({{row.entity.queuename}})
"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_TIMEOUT\' | translate}} []
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"}],data:[],gridMenuTitleFilter:function(t){var e=l.defer();return e.resolve(i.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){})}},s.get({id:e.getCurrentUser().id,controller:"fax",controller1:"queues"}).$promise.then(function(e){t.table1.data=e.rows}).finally(function(){c(t.table1.paginationPageSize>t.table1.data.length?t.table1.data.length:t.table1.paginationPageSize),a.socket.on("user_has_fax_queue:save",function(n){n.UserId!=e.getCurrentUser().id||_.find(t.table1.data,{id:n.FaxQueueId})||t.table1.data.push({id:n.FaxQueueId,UserHasFaxQueue:n})}),a.socket.on("user_has_fax_queue:remove",function(n){n.UserId===e.getCurrentUser().id&&_.remove(t.table1.data,{id:n.FaxQueueId})})}).catch(function(t){console.error(t)}),o.get({controller:"waiting",controller2:"applications"}).$promise.then(function(e){t.table2.data=e.rows}).finally(function(){a.socket.on("report_fax_session:save",function(e){var n=_.find(t.table2.data,{id:e.id});n?(_.merge(n,e),e.leaveAt&&r(function(){_.remove(t.table2.data,{id:e.id})},1e4)):e.leaveAt||t.table2.data.push(e)}),a.socket.on("report_fax_session:remove",function(e){_.remove(t.table2.data,{id:e.id})})}).catch(function(t){console.log(t)})},t.initRoomStats=function(){return n.get({id:"dashboard"}).$promise.then(function(e){t.roomStatus=e,t.charts={interactions:{labels:[i.instant("APPLICATION_DASHBOARD_NEW"),i.instant("APPLICATION_DASHBOARD_OPEN"),i.instant("APPLICATION_DASHBOARD_PENDING"),i.instant("APPLICATION_DASHBOARD_CLOSED")],values:[t.roomStatus.new,t.roomStatus.open,t.roomStatus.pending,t.roomStatus.closed],colours:["#44B6AE","#578EBE","#35AA47","#8775A7"]}},a.socket.on("dashboard:fax",function(e){t.roomStatus=e.roomStatus,t.charts.interactions.values=[t.roomStatus.new,t.roomStatus.open,t.roomStatus.pending,t.roomStatus.closed]})}).catch(function(t){console.error(t)})},t.initRoutingStats=function(){return o.get({id:"dashboard"}).$promise.then(function(e){t.routingStats=e}).catch(function(t){console.error(t)})},t.initSocketListening=function(){a.socket.on("dashboard:fax",function(e){t.roomStatus=e.roomStatus,t.routingStats=e.routingStats,t.charts.interactions.values=[t.roomStatus.new,t.roomStatus.open,t.roomStatus.pending,t.roomStatus.closed]})}}]),angular.module("xCallyShuttleApp").controller("DashboardMailCtrl",["$scope","Auth","MailRoom","socket","Agent","$translate","$q","ReportMailSession","$timeout",function(t,e,n,a,s,i,l,o,r){t.Auth=e,t.moment=moment,t.$on("$destroy",function(){a.socket.removeAllListeners("dashboard:mail")}),t.roomStatus={new:0,open:0,pending:0,closed:0},t.routingStats={waiting:0,timeout:0},t.charts={interactions:{labels:[i.instant("APPLICATION_DASHBOARD_NEW"),i.instant("APPLICATION_DASHBOARD_OPEN"),i.instant("APPLICATION_DASHBOARD_PENDING"),i.instant("APPLICATION_DASHBOARD_CLOSED")],values:[t.roomStatus.new,t.roomStatus.open,t.roomStatus.pending,t.roomStatus.closed],colours:["#44B6AE","#578EBE","#35AA47","#8775A7"]}};var c=function(t){var e=t?30*t+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px")};t.initAgent=function(){t.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,paginationPageSizes:[10,25,50],paginationPageSize:10,columnDefs:[{name:"UserHasMailQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){c(t.table1.paginationPageSize>t.table1.data.length?t.table1.data.length:t.table1.paginationPageSize)}),t.gridApi.pagination.on.paginationChanged(t,function(e,n){c(n>t.table1.data.length?t.table1.data.length:n)})}},t.table2={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"roomid",displayName:"APPLICATION_INTERACTION_ID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT_NAME",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.application}} ({{row.entity.queuename}})
"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_TIMEOUT\' | translate}} []
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"}],data:[],gridMenuTitleFilter:function(t){var e=l.defer();return e.resolve(i.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){})}},s.get({id:e.getCurrentUser().id,controller:"mail",controller1:"queues"}).$promise.then(function(e){t.table1.data=e.rows}).finally(function(){c(t.table1.paginationPageSize>t.table1.data.length?t.table1.data.length:t.table1.paginationPageSize),a.socket.on("user_has_mail_queue:save",function(n){n.UserId!=e.getCurrentUser().id||_.find(t.table1.data,{id:n.MailQueueId})||t.table1.data.push({id:n.MailQueueId,UserHasMailQueue:n})}),a.socket.on("user_has_mail_queue:remove",function(n){n.UserId===e.getCurrentUser().id&&_.remove(t.table1.data,{id:n.MailQueueId})})}).catch(function(t){console.error(t)}),o.get({controller:"waiting",controller2:"applications"}).$promise.then(function(e){t.table2.data=e.rows}).finally(function(){a.socket.on("report_mail_session:save",function(e){var n=_.find(t.table2.data,{id:e.id});n?(_.merge(n,e),e.leaveAt&&r(function(){_.remove(t.table2.data,{id:e.id})},1e4)):e.leaveAt||t.table2.data.push(e)}),a.socket.on("report_mail_session:remove",function(e){_.remove(t.table2.data,{id:e.id})})}).catch(function(t){console.log(t)})},t.initRoomStats=function(){return n.get({id:"dashboard"}).$promise.then(function(e){t.roomStatus=e,t.charts={interactions:{labels:[i.instant("APPLICATION_DASHBOARD_NEW"),i.instant("APPLICATION_DASHBOARD_OPEN"),i.instant("APPLICATION_DASHBOARD_PENDING"),i.instant("APPLICATION_DASHBOARD_CLOSED")],values:[t.roomStatus.new,t.roomStatus.open,t.roomStatus.pending,t.roomStatus.closed],colours:["#44B6AE","#578EBE","#35AA47","#8775A7"]}},a.socket.on("dashboard:mail",function(e){t.roomStatus=e.roomStatus,t.charts.interactions.values=[t.roomStatus.new,t.roomStatus.open,t.roomStatus.pending,t.roomStatus.closed]})}).catch(function(t){console.error(t)})},t.initRoutingStats=function(){return o.get({id:"dashboard"}).$promise.then(function(e){t.routingStats=e}).catch(function(t){console.error(t)})},t.initSocketListening=function(){a.socket.on("dashboard:mail",function(e){t.roomStatus=e.roomStatus,t.routingStats=e.routingStats,t.charts.interactions.values=[t.roomStatus.new,t.roomStatus.open,t.roomStatus.pending,t.roomStatus.closed]})}}]),angular.module("xCallyShuttleApp").controller("DashboardOpenChannelCtrl",["$scope","Auth","OpenChannelRoom","socket","Agent","$translate","$q","ReportOpenChannelSession","$timeout",function(t,e,n,a,s,i,l,o,r){t.Auth=e,t.moment=moment,t.$on("$destroy",function(){a.socket.removeAllListeners("dashboard:openchannel")}),t.roomStatus={new:0,open:0,pending:0,closed:0},t.routingStats={waiting:0,timeout:0},t.charts={interactions:{labels:[i.instant("APPLICATION_DASHBOARD_NEW"),i.instant("APPLICATION_DASHBOARD_OPEN"),i.instant("APPLICATION_DASHBOARD_PENDING"),i.instant("APPLICATION_DASHBOARD_CLOSED")],values:[t.roomStatus.new,t.roomStatus.open,t.roomStatus.pending,t.roomStatus.closed],colours:["#44B6AE","#578EBE","#35AA47","#8775A7"]}};var c=function(t){var e=t?30*t+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px")};t.initAgent=function(){t.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,paginationPageSizes:[10,25,50],paginationPageSize:10,columnDefs:[{name:"UserHasOpenchannelQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){c(t.table1.paginationPageSize>t.table1.data.length?t.table1.data.length:t.table1.paginationPageSize)}),t.gridApi.pagination.on.paginationChanged(t,function(e,n){c(n>t.table1.data.length?t.table1.data.length:n)})}},t.table2={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"roomid",displayName:"APPLICATION_INTERACTION_ID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT_NAME",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.application}} ({{row.entity.queuename}})
"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_TIMEOUT\' | translate}} []
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"}],data:[],gridMenuTitleFilter:function(t){var e=l.defer();return e.resolve(i.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){})}},s.get({id:e.getCurrentUser().id,controller:"openchannel",controller1:"queues"}).$promise.then(function(e){t.table1.data=e.rows}).finally(function(){c(t.table1.paginationPageSize>t.table1.data.length?t.table1.data.length:t.table1.paginationPageSize),a.socket.on("user_has_openchannel_queue:save",function(n){n.UserId!=e.getCurrentUser().id||_.find(t.table1.data,{id:n.OpenchannelQueueId})||t.table1.data.push({id:n.OpenchannelQueueId,UserHasOpenchannelQueue:n})}),a.socket.on("user_has_openchannel_queue:remove",function(n){n.UserId===e.getCurrentUser().id&&_.remove(t.table1.data,{id:n.OpenchannelQueueId})})}).catch(function(t){console.error(t)}),o.get({controller:"waiting",controller2:"applications"}).$promise.then(function(e){t.table2.data=e.rows}).finally(function(){a.socket.on("report_openchannel_session:save",function(e){var n=_.find(t.table2.data,{id:e.id});n?(_.merge(n,e),e.leaveAt&&r(function(){_.remove(t.table2.data,{id:e.id})},1e4)):e.leaveAt||t.table2.data.push(e)}),a.socket.on("report_openchannel_session:remove",function(e){_.remove(t.table2.data,{id:e.id})})}).catch(function(t){console.log(t)})},t.initRoomStats=function(){return n.get({id:"dashboard"}).$promise.then(function(e){t.roomStatus=e,t.charts={interactions:{labels:[i.instant("APPLICATION_DASHBOARD_NEW"),i.instant("APPLICATION_DASHBOARD_OPEN"),i.instant("APPLICATION_DASHBOARD_PENDING"),i.instant("APPLICATION_DASHBOARD_CLOSED")],values:[t.roomStatus.new,t.roomStatus.open,t.roomStatus.pending,t.roomStatus.closed],colours:["#44B6AE","#578EBE","#35AA47","#8775A7"]}},a.socket.on("dashboard:openchannel",function(e){t.roomStatus=e.roomStatus,t.charts.interactions.values=[t.roomStatus.new,t.roomStatus.open,t.roomStatus.pending,t.roomStatus.closed]})}).catch(function(t){console.error(t)})},t.initRoutingStats=function(){return o.get({id:"dashboard"}).$promise.then(function(e){t.routingStats=e}).catch(function(t){console.error(t)})},t.initSocketListening=function(){a.socket.on("dashboard:openchannel",function(e){t.roomStatus=e.roomStatus,t.routingStats=e.routingStats,t.charts.interactions.values=[t.roomStatus.new,t.roomStatus.open,t.roomStatus.pending,t.roomStatus.closed]})}}]),angular.module("xCallyShuttleApp").controller("DashboardSmsCtrl",["$scope","Auth","SmsRoom","socket","Agent","$translate","$q","ReportSmsSession","$timeout",function(t,e,n,a,s,i,l,o,r){t.Auth=e,t.moment=moment,t.$on("$destroy",function(){a.socket.removeAllListeners("dashboard:sms")}),t.roomStatus={new:0,open:0,pending:0,closed:0},t.routingStats={waiting:0,timeout:0},t.charts={interactions:{labels:[i.instant("APPLICATION_DASHBOARD_NEW"),i.instant("APPLICATION_DASHBOARD_OPEN"),i.instant("APPLICATION_DASHBOARD_PENDING"),i.instant("APPLICATION_DASHBOARD_CLOSED")],values:[t.roomStatus.new,t.roomStatus.open,t.roomStatus.pending,t.roomStatus.closed],colours:["#44B6AE","#578EBE","#35AA47","#8775A7"]}};var c=function(t){var e=t?30*t+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px")};t.initAgent=function(){t.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,paginationPageSizes:[10,25,50],paginationPageSize:10,columnDefs:[{name:"UserHasSmsQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){c(t.table1.paginationPageSize>t.table1.data.length?t.table1.data.length:t.table1.paginationPageSize)}),t.gridApi.pagination.on.paginationChanged(t,function(e,n){c(n>t.table1.data.length?t.table1.data.length:n)})}},t.table2={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"roomid",displayName:"APPLICATION_INTERACTION_ID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT_NAME",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.application}} ({{row.entity.queuename}})
"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_TIMEOUT\' | translate}} []
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"}],data:[],gridMenuTitleFilter:function(t){var e=l.defer();return e.resolve(i.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){})}},s.get({id:e.getCurrentUser().id,controller:"sms",controller1:"queues"}).$promise.then(function(e){t.table1.data=e.rows}).finally(function(){c(t.table1.paginationPageSize>t.table1.data.length?t.table1.data.length:t.table1.paginationPageSize),a.socket.on("user_has_sms_queue:save",function(n){n.UserId!=e.getCurrentUser().id||_.find(t.table1.data,{id:n.SmsQueueId})||t.table1.data.push({id:n.SmsQueueId,UserHasSmsQueue:n})}),a.socket.on("user_has_sms_queue:remove",function(n){n.UserId===e.getCurrentUser().id&&_.remove(t.table1.data,{id:n.SmsQueueId})})}).catch(function(t){console.error(t)}),o.get({controller:"waiting",controller2:"applications"}).$promise.then(function(e){t.table2.data=e.rows}).finally(function(){a.socket.on("report_sms_session:save",function(e){var n=_.find(t.table2.data,{id:e.id});n?(_.merge(n,e),e.leaveAt&&r(function(){_.remove(t.table2.data,{id:e.id})},1e4)):e.leaveAt||t.table2.data.push(e)}),a.socket.on("report_sms_session:remove",function(e){_.remove(t.table2.data,{id:e.id})})}).catch(function(t){console.log(t)})},t.initRoomStats=function(){return n.get({id:"dashboard"}).$promise.then(function(e){t.roomStatus=e,t.charts={interactions:{labels:[i.instant("APPLICATION_DASHBOARD_NEW"),i.instant("APPLICATION_DASHBOARD_OPEN"),i.instant("APPLICATION_DASHBOARD_PENDING"),i.instant("APPLICATION_DASHBOARD_CLOSED")],values:[t.roomStatus.new,t.roomStatus.open,t.roomStatus.pending,t.roomStatus.closed],colours:["#44B6AE","#578EBE","#35AA47","#8775A7"]}},a.socket.on("dashboard:sms",function(e){t.roomStatus=e.roomStatus,t.charts.interactions.values=[t.roomStatus.new,t.roomStatus.open,t.roomStatus.pending,t.roomStatus.closed]})}).catch(function(t){console.error(t)})},t.initRoutingStats=function(){return o.get({id:"dashboard"}).$promise.then(function(e){t.routingStats=e}).catch(function(t){console.error(t)})},t.initSocketListening=function(){a.socket.on("dashboard:sms",function(e){t.roomStatus=e.roomStatus,t.routingStats=e.routingStats,t.charts.interactions.values=[t.roomStatus.new,t.roomStatus.open,t.roomStatus.pending,t.roomStatus.closed]})}}]),angular.module("xCallyShuttleApp").controller("DashboardVoiceCtrl",["$scope","$rootScope","$timeout","Auth","ReportQueue","ReportCall","Agent","Dashboard","socket",function(t,e,n,a,s,i,l,o,r){t.moment=moment,t.radioSwitch={size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"success",onColor:"danger"};var c=function(t,e){var n=t?30*t+130:177;angular.element(document.getElementsByName(e)[0]).css("height",n+"px")};t.initUser=function(){return t.user=a.getCurrentUser(),t.voice={},t.$on("$destroy",function(){}),s.get({controller:"dashboard"}).$promise.then(function(e){return t.voice.queues=e,i.get({controller:"dashboard"}).$promise}).then(function(e){t.voice.outbound=e}).catch(function(t){console.error(t)}).finally(function(){r.socket.on("voice:inbound",function(e){(t.voice.queues[e.type]>0||e.amount>0)&&(t.voice.queues[e.type]+=e.amount)}),r.socket.on("voice:outbound:global",function(e){_.merge(t.voice.outbound,e)})})},t.initAgent=function(){return a.getCurrentUser().$promise.then(function(e){return t.agent=e,t.timerSwitch={isActive:!0,size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"primary"},t.showTimers=!1,t.table1={enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,enableSorting:!0,showGridFooter:!0,paginationPageSizes:[10,25,50],paginationPageSize:10,columnDefs:[{name:"queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"},{name:"loggedAt",displayName:"logged At",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
'}],data:[],onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){c(t.table1.paginationPageSize>t.table1.data.length?t.table1.data.length:t.table1.paginationPageSize,"table1")}),t.gridApi.pagination.on.paginationChanged(t,function(e,n){c(n>t.table1.data.length?t.table1.data.length:n,"table1")})}},t.table2={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!1,paginationPageSizes:[10,25,50],paginationPageSize:10,columnDefs:[{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_ACTIVE\' | translate}}{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}} {{row.entity.queuecallerexitreason}}
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"caller",displayName:"APPLICATION_CALLER",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.calleridnum || ''}} {{row.entity.calleridname || ''}}
",enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"position",displayName:"APPLICATION_POSITION",headerCellFilter:"translate"},{name:"lastAssignedTo",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(e){t.gridApi1=e,t.gridApi1.grid.registerDataChangeCallback(function(){c(t.gridApi1.core.getVisibleRows(t.gridApi1.grid).length,"table2")})}},t.table3={exporterCsvFilename:"abandoned_calls.csv",enableRowHeaderSelection:!0,paginationPageSizes:[10,25,50],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!1,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,enableSelectAll:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,columnDefs:[{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter"},{name:"caller",displayName:"APPLICATION_CALLER",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.calleridnum || ''}} {{row.entity.calleridname || ''}}
"},{name:"createdAt",displayName:"APPLICATION_DATE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.updatedAt | date:'yyyy-MM-dd HH:mm:ss'}}
"},{name:"lastAssignedTo",cellClass:"text-center ui-grid-vcenter",displayName:"APPLICATION_LAST_ASSIGNED_TO",headerCellFilter:"translate"},{name:"assigned",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellTemplate:'
',enableFiltering:!1}],data:[],onRegisterApi:function(e){t.gridApi2=e,t.gridApi2.grid.registerDataChangeCallback(function(){c(t.gridApi2.core.getVisibleRows(t.gridApi2.grid).length,"table3")})}},l.get({id:t.agent.id,controller:"voice",controller1:"queues"}).$promise}).then(function(e){t.table1.data=_.map(e.rows,function(t){return{queue:t.UserHasVoiceQueue.queue,loggedAt:t.UserHasVoiceQueue.loggedAt,callstaken:t.UserHasVoiceQueue.callstaken,lastcall:t.UserHasVoiceQueue.lastcall}})}).then(function(){return c(t.table1.paginationPageSize>t.table1.data.length?t.table1.data.length:t.table1.paginationPageSize,"table1"),r.socket.on("user_has_voice_queue:remove",function(e){e.UserId===t.agent.id&&_.remove(t.table1.data,{queue:e.queue})}),r.socket.on("user_has_voice_queue:save",function(e){if(e.UserId===t.agent.id||e.membername===t.agent.name){var n=_.find(t.table1.data,{queue:e.queue});n?_.merge(n,e):!n&&e.logged&&t.table1.data.unshift({queue:e.queue,loggedAt:moment(),lastcall:null,callstaken:0})}}),s.get({id:"waiting",controller:"calls"}).$promise}).then(function(e){t.table2.data=e.rows}).then(function(){return r.socket.on("report_queue:save",function(e){t.table2.data.push(e)}),r.socket.on("report_queue:update",function(e){var a=_.find(t.table2.data,{id:e.id});a&&(_.merge(a,e),(a.queuecallerabandon||a.queuecallercomplete||a.queuecallerexitreason||e.queuecallerleaveAt)&&n(function(){_.remove(t.table2.data,{id:e.id})},3e3))}),s.get({controller:"abandoned",controller2:"all"}).$promise}).then(function(e){t.table3.data=e.rows}).catch(function(t){console.error(t)}).finally(function(){r.socket.on("report_queue:update",function(e){e.queuecallerabandon&&t.table3.data.unshift(e)})})},t.updateItem=function(e){return s.update({id:e.id},{assigned:e.assigned,lastAssignedTo:e.assigned?t.agent.name:void 0}).$promise.catch(function(t){console.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.desk",{url:"/desk",template:"
",abstract:!0,data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").factory("DeskAccount",["$resource",function(t){return t("/api/desk/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("DeskListCtrl",["$scope","$http","$rootScope","xAlert","$translate","socket","Modal","stResource",function(t,e,n,a,s,i,l,o){t.conf={accountsByPage:{name:"10",value:10}},t.accountsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],t.accounts={checked:[]},t.check=function(e,n){t.accounts.checked=n?angular.copy(_.map(t.displayedDeskAccounts,"id")):[]},t.getAccounts=function(e){return _.map(t.displayedDeskAccounts,function(t){var n={};return e.forEach(function(e){n[e]=t[e]}),n})},t.initList=function(e){i.unsyncUpdates("desk_account"),e.url="/api/desk/accounts",o.getPage(e).then(function(a){t.displayedDeskAccounts=a.rows,e.pagination.numberOfPages=a.total_pages,n.updateTableConfig(t.accountsByPage,t.displayedDeskAccounts.length),n.updateTableConfig(t.conf.accountsByPage,t.displayedDeskAccounts.length)}),i.socket.on("desk_account:save",function(){t.initList(e)}),i.socket.on("desk_account:remove",function(n){t.accounts.checked=_.without(t.accounts.checked,n.id),t.initList(e)})},t.deleteItem=l.confirm.delete(function(t){e.delete("/api/desk/accounts/"+t).success(function(){a.show(s.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(t){a.error(t)})}),t.deleteItems=l.confirm.delete(function(){e.delete("/api/desk/accounts",{params:{id:t.accounts.checked}}).success(function(){a.show(s.instant("MESSAGE_WELL_DONE"),"success")}).error(function(t){a.error(t)})}),t.checkAccount=function(t){e.get("/api/desk/accounts/"+t+"/check").then(function(){a.show(s.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")}).catch(function(){a.show(s.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.desk.list",{url:"/list",templateUrl:"app/desk/list/list.html",controller:"DeskListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.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(t,e,n,a,s,i,l,o,r,c){t.$stateParams=n,t.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:500,scrollInertia:0},t.initConfiguration=function(){t.formsConfiguration={},t.configuration={}},t.goNext=function(){i.wizard().next()},t.formValidation=function(t){return t},t.$on("$destroy",function(){l.unsyncUpdates("desk_configuration"),l.unsyncUpdates("desk_field")}),t.initView=function(){e.get("/api/desk/accounts/"+n.id).success(function(e){t.account=e}).error(function(t){o.error(t)})},t.updateItem=function(){e.put("/api/desk/accounts/"+n.id,t.account).success(function(){o.show(a.instant("MESSAGE_WELL_DONE")+".","success")}).error(function(){o.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},t.getConfigurations=function(){e.get("/api/desk/configurations",{params:{AccountId:n.id}}).success(function(e){t.configurations=e,l.socket.on("desk_configuration:remove",function(e){_.remove(t.configurations,{id:e.id})})}).error(function(t){o.error(t)})},t.deleteConfiguration=r.confirm.delete(function(t){e.delete("api/desk/configurations/"+t).success(function(){o.show(a.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){o.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),t.createConfiguration=function(){t.configuration.AccountId=n.id,e.post("api/desk/configurations",t.configuration).success(function(t){s.path("desk/view/"+n.id+"/configurations/settings/"+t.id)}).error(function(){o.show("Something went wrong!","danger")})},t.fieldType=["string","variable"],t.descFieldType=["string","key_value"],t.getFields=function(){e.get("/api/desk/accounts/"+n.id+"/fields").success(function(e){t.accountFields=c.fields.concat(e)}).error(function(t){o.error(t)})},t.getConfiguration=function(){e.get("/api/desk/configurations/"+n.configurationId).success(function(e){t.configurationName=e.name,t.subjectConfig=e.Subject,t.descriptionConfig=e.Description,t.fieldConfig=e.Field,l.socket.on("desk_field:remove",function(e){_.remove(t.subjectConfig,{id:e.id}),_.remove(t.descriptionConfig,{id:e.id}),_.remove(t.fieldConfig,{id:e.id})})}).error(function(t){o.error(t)})},t.getVariables=function(){e.get("/api/variables").success(function(e){t.variables=e.rows}).error(function(t){o.error(t)})},t.removeItem=function(t){e.delete("api/desk/fields/"+t.id).success(function(){o.show(a.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){o.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},t.addItemSubject=function(){var a={type:"string",content:""};e.post("/api/desk/configurations/"+n.configurationId+"/subject",a).success(function(e){t.subjectConfig.push(e)}).error(function(){o.show("Something went wrong!","danger")})},t.addItemDescription=function(){var a={type:"string",content:""};e.post("/api/desk/configurations/"+n.configurationId+"/description",a).success(function(e){t.descriptionConfig.push(e)}).error(function(){o.show("Something went wrong!","danger")})},t.addItemField=function(){var a={content:""};e.post("/api/desk/configurations/"+n.configurationId+"/field",a).success(function(e){t.fieldConfig.push(e)}).error(function(){o.show("Something went wrong!","danger")})},t.updateField=function(t){e.put("/api/desk/fields/"+t.id,t).success(function(){}).error(function(){o.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},t.changeType=function(e){"variable"===e.type?e.content="":"string"===e.type&&(e.VariableId=null),t.updateField(e)},t.changeDescType=function(e){"key_value"===e.type?(e.content="","string"===e.keyType?e.VariableId=null:"variable"===e.keyType&&(e.keyContent="")):"string"===e.type&&(e.VariableId=null,e.key="",e.keyContent=""),t.updateField(e)},t.changeFieldType=function(e){if(e.content="",e.idField){var n=_.find(t.accountFields,"id",e.idField);n&&(e.customField=_.result(n,"custom",!0))}t.updateField(e)},t.getSystemFieldOptions=function(e){if(e){var n=_.find(t.accountFields,"id",e);return n?n.data.choices?n.data.choices:null:void 0}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.desk.view",{url:"/view/:id",templateUrl:"app/desk/view/view.html",controller:"DeskViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.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(t,e,n,a,s,i){t.translate=a,t.initWizard=function(){t.$translate=a,t.forms={},t.item={}},t.next=function(){i.wizard().next()},t.exitValidation=function(t){return t},t.createItem=function(){console.log(t.item),e.post("api/desk/accounts",t.item).success(function(){s.show(a.instant("MESSAGE_WELL_DONE")+".","success"),n.path("/desk/list")}).error(function(){s.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.desk.wizard",{url:"/wizard",templateUrl:"app/desk/wizard/wizard.html",controller:"DeskWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("FreshdeskAccount",["$resource",function(t){return t("/api/freshdesk/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"},fields:{params:{controller:"fields"},isArray:!0},check:{params:{controller:"check"}}})}]).factory("FreshdeskConfiguration",["$resource",function(t){return t("/api/freshdesk/accounts/:accountId/configurations/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]).factory("FreshdeskField",["$resource",function(t){return t("/api/freshdesk/accounts/:accountId/configurations/:configurationId/fields/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.freshdesk",{url:"/freshdesk",template:"
",abstract:!0,data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("FreshdeskListCtrl",["$scope","FreshdeskAccount","gridOptions","xAlert","$translate",function(t,e,n,a,s){t.initView=function(){var a={exporterCsvFilename:"freshdesk_account.csv",columnDefs:[{name:"name",displayName:"APPLICATION_NAME"},{name:"username"},{name:"remoteUri",displayName:"APPLICATION_URI"},{name:"action",width:250,buttons:[{class:"blue-hoki",href:"/freshdesk/view/{{row.entity.id}}/account",name:"profile"},{class:"green-jungle",name:"check",onClick:"grid.appScope.checkAccount(row.entity.id)"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=n.gridOptions(e,a,t)},t.checkAccount=function(t){return e.get({id:t,controller:"check"}).$promise.then(function(){a.show(s.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")}).catch(function(){a.show(s.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.freshdesk.list",{url:"/list",templateUrl:"app/freshdesk/list/list.html",controller:"FreshdeskListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.freshdesk.view.configurations",{url:"/configurations",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("FreshdeskViewConfigurationListCtrl",["$scope","$stateParams","$translate","gridOptions","FreshdeskConfiguration","$uibModal",function(t,e,n,a,s,i){t.initView=function(){var n={exporterCsvFilename:"freshdesk_configurations.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:125,buttons:[{class:"blue-hoki",href:"/freshdesk/view/{{row.entity.AccountId}}/configurations/view/{{row.entity.id}}",name:"profile"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=a.gridOptions(s,n,t,{accountId:e.id})},t.createItem=function(){i.open({animation:!0,templateUrl:"app/freshdesk/view/configuration/list/create.modal.html",controller:"FreshdeskCreateConfigurationCtrl"}).result.then(function(){t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("FreshdeskCreateConfigurationCtrl",["$scope","$translate","$uibModalInstance","FreshdeskConfiguration","xAlert","$stateParams","channel",function(t,e,n,a,s,i,l){t.form={},t.item={},t.channels=l,t.item.channel="voice",t.item.type="Queue",t.save=function(){return a.save({accountId:i.id},t.item).$promise.then(function(t){s.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t)}).catch(function(t){s.error(t)})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.freshdesk.view.configurations.list",{url:"/list",templateUrl:"app/freshdesk/view/configuration/list/list.html",controller:"FreshdeskViewConfigurationListCtrl"})}]),angular.module("xCallyShuttleApp").controller("FreshdeskViewConfigurationViewCtrl",["$scope","$filter","$stateParams","$translate","socket","variable","xAlert","FreshdeskAccount","FreshdeskConfiguration","FreshdeskField","Variable","Tag",function(t,e,n,a,s,i,l,o,r,c,d,u){t.$on("$destroy",function(){s.unsyncUpdates("freshdesk_field")}),t.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:300,scrollInertia:0},t.fieldType=[{type:"string",title:"String"},{type:"variable",title:"Variable"},{type:"customVariable",title:"Custom Variable"}],t.descFieldType=[{type:"string",title:"String"},{type:"keyValue",title:"Key Value"}],t.groupVariableByGroup=function(t){switch(t.group){case"voice_queue":return"Voice: Queue";default:return"Other"}},t.initView=function(){t.configurationName="",t.subjectConfig=[],t.descriptionConfig=[],t.fieldConfig=[],t.selectedTags={tags:[]},t.variables=i},t.getConfiguration=function(){return r.get({accountId:n.id,id:n.configurationId}).$promise.then(function(e){t.configurationName=e.name,t.subjectConfig=e.Subject,t.descriptionConfig=e.Description,t.fieldConfig=e.Field,t.selectedTags={tags:_.map(e.Tags,function(t){return t.id})},s.socket.on("freshdesk_field:remove",function(e){_.remove(t.subjectConfig,{id:e.id}),_.remove(t.descriptionConfig,{id:e.id}),_.remove(t.fieldConfig,{id:e.id})})}).catch(function(t){l.error(t)})},t.getCustomVariables=function(){return d.get().$promise.then(function(e){t.customVariables=e.rows}).catch(function(t){l.error(t)})},t.getFields=function(){return o.fields({id:n.id}).$promise.then(function(n){t.accountFields=e("freshdesk")(n)}).catch(function(t){l.error(t)})},t.addItem=function(e){var a={};switch(e){case"subject":case"description":a={type:"string",content:""};break;case"field":a={content:""}}return r.save({accountId:n.id,id:n.configurationId,controller:e},a).$promise.then(function(n){switch(e){case"subject":t.subjectConfig.push(n);break;case"description":t.descriptionConfig.push(n);break;case"field":t.fieldConfig.push(n)}}).catch(function(t){l.error(t)})},t.changeFieldType=function(e){if(e.content="",e.variableName="",e.nameField="",e.VariableId=null,e.idField){var n=_.find(t.accountFields,"name",e.idField);n&&(e.customField=!n.default)}t.updateField(e)},t.changeType=function(e){"variable"===e.type?(e.content="",e.variableName=""):"string"===e.type?(e.VariableId=null,e.variableName=""):"customVariable"===e.type&&(e.VariableId=null,e.content=""),t.updateField(e)},t.updateField=function(t){return c.update({accountId:n.id,configurationId:n.configurationId,id:t.id},t).$promise.then(function(){}).catch(function(t){l.error(t)})},t.removeItem=function(t){return c.delete({accountId:n.id,configurationId:n.configurationId,id:t.id}).$promise.then(function(){l.show(a.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){l.error(t)})},t.changeDescType=function(e){"keyValue"===e.type?(e.content="","string"===e.keyType?(e.VariableId=null,e.variableName=""):"variable"===e.keyType?(e.keyContent="",e.VariableId=null):"customVariable"===e.keyType&&(e.keyContent="",e.variableName="")):"string"===e.type&&(e.VariableId=null,e.variableName="",e.key="",e.keyContent=""),t.updateField(e)},t.getSystemFieldOptions=function(e){if(e){var n=_.find(t.accountFields,"name",e);return!(!n||!n.hasOwnProperty("choices"))&&(_.isArray(n.choices)?n.choices.length?n.choices:[]:_.keys(n.choices).length?_.keys(n.choices):[])}},t.getTags=function(){return u.get().$promise.then(function(e){t.tags=e.rows}).catch(function(t){l.error(t)})},t.updateTags=function(){return r.update({accountId:n.id,id:n.configurationId,controller:"tags"},t.selectedTags.tags).$promise.then(function(){l.show(a.instant("MESSAGE_WELL_DONE")+".","success")}).catch(function(t){l.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.freshdesk.view.configurations.view",{url:"/view/:configurationId",templateUrl:"app/freshdesk/view/configuration/view/view.html",controller:"FreshdeskViewConfigurationViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("FreshdeskViewCtrl",["$scope","$http","$stateParams","$translate","$location","$filter","WizardHandler","socket","xAlert","Modal","FreshdeskAccount",function(t,e,n,a,s,i,l,o,r,c,d){t.initView=function(){return d.get({id:n.id}).$promise.then(function(e){t.account=e}).catch(function(t){r.error(t)})},t.updateItem=function(){return d.update({id:n.id},t.account).$promise.then(function(){r.show(a.instant("MESSAGE_WELL_DONE")+".","success")}).catch(function(t){r.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.freshdesk.view",{url:"/view/:id",templateUrl:"app/freshdesk/view/view.html",controller:"FreshdeskViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.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"})}]),angular.module("xCallyShuttleApp").controller("FreshdeskWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler","FreshdeskAccount",function(t,e,n,a,s,i,l){t.translate=a,t.initWizard=function(){t.$translate=a,t.forms={},t.item={},t.item.serverUrl=n.protocol()+"://"+location.host},t.next=function(){i.wizard().next()},t.exitValidation=function(t){return t},t.createItem=function(){return l.save(t.item).$promise.then(function(){s.show(a.instant("MESSAGE_WELL_DONE")+".","success"),n.path("/freshdesk/list")}).catch(function(t){s.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.freshdesk.wizard",{url:"/wizard",templateUrl:"app/freshdesk/wizard/wizard.html",controller:"FreshdeskWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.iframe",{url:"/iframe",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("IframeViewCtrl",["$scope","Auth","Integration","xAlert","$translate","$sce",function(t,e,n,a,s,i){t.Auth=e,t.initView=function(){return n.get({state:"iframe"}).$promise.then(function(n){t.iframe=_.first(n.rows),t.iframe.remoteUri?t.url=i.trustAsResourceUrl(t.iframe.remoteUri):e.isAgent()&&a.show(s.instant("MESSAGE_NO_IFRAME_CONFIGURED")+".","danger")}).catch(function(t){a.error(t)})},t.updateItem=function(){if(!e.isAgent())return n.update({id:t.iframe.id},t.iframe).$promise.then(function(){a.show(s.instant("MESSAGE_WELL_DONE")+".","success")}).catch(function(t){a.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.iframe.view",{url:"/view",templateUrl:"app/iframe/view/view.html",controller:"IframeViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("Integration",["$resource",function(t){return t("/api/integrations/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.integrations",{url:"/integrations",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:19}}})}]),angular.module("xCallyShuttleApp").controller("IntegrationListCtrl",["$scope","Modal","socket","FileUploader","Integration","xAlert",function(t,e,n,a,s,i){t.integrationsByPage=10;var l=t.uploader=new a({url:"api/integrations",autoUpload:!0,removeAfterUpload:!0});l.filters.push({name:"zipFilter",fn:function(t){var e="|"+t.type.slice(t.type.lastIndexOf("/")+1)+"|";return-1!=="|zip|".indexOf(e)}}),l.onSuccessItem=function(t,e,n,a){console.info("onSuccessItem",t,e,n,a),i.show(e.name,"success")},l.onErrorItem=function(t,e,n,a){console.info("onErrorItem",t,e,n,a),e.errors.forEach(function(t){i.error(err)})},t.deleteItem=e.confirm.delete(function(t){s.delete({id:t},function(){i.show("Integration Removed","success")},function(t){i.error(t)})}),t.initList=function(){t.integrations=s.query({},function(t){n.syncUpdates("integration",t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.integrations.list",{url:"/list",templateUrl:"app/integration/list/list.html",controller:"IntegrationListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.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(t){t.state("main.jscripty",{url:"/jscripty",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").factory("JscriptyProject",["$resource",function(t){return t("/api/jscripty/projects/:id/:controller/:action/:action2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("JscriptyProjectListCtrl",["$scope","$uibModal","JscriptyProject","gridOptions","Auth",function(t,e,n,a,s){t.Auth=s,t.initView=function(){var e={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:300,buttons:[{class:"blue-hoki",icon:"icon-settings",href:"/jscripty/projects/view/{{row.entity.id}}",hide:s.isAgent()},{class:" green-turquoise",icon:"fa fa-play",onClick:"grid.appScope.openJscriptyTab(row.entity)"},{class:"purple",icon:"icon-book-open",href:"/jscripty/projects/report/{{row.entity.id}}/sessions",hide:s.isAgent()},{class:"red-sunglo",icon:"fa fa-trash",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)",hide:s.isAgent()}]}]};t.gridOptions=a.gridOptions(n,e,t)},t.createItem=function(){e.open({animation:!0,templateUrl:"app/jscripty/project/list/list.create.modal.html",controller:"JscriptyProjectListCreateCtrl"}).result.then(function(e){console.log(e),t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("JscriptyProjectListCreateCtrl",["$scope","$translate","$uibModalInstance","JscriptyProject","xAlert",function(t,e,n,a,s){t.form={},t.item={},t.save=function(){return a.save(t.item).$promise.then(function(t){s.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t)}).catch(function(t){console.log(t),s.error(t)})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.jscripty.projects.list",{url:"/list",templateUrl:"app/jscripty/project/list/list.html",controller:"JscriptyProjectListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.jscripty.projects",{url:"/projects",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("JscriptyProjectReportCtrl",["$scope","uiGridConstants","$http","$state","$stateParams","socket","Auth","Modal","xAlert","$translate","$rootScope","gridOptions","JscriptyProject","$location",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m){t.projectStats={started:0,incomplete:0,completed:0},t.projectId=s.id,t.initView=function(){p.get({id:s.id}).$promise.then(function(e){t.project=e}).catch(function(t){r.error(t)}),p.get({id:s.id,controller:"sessions"}).$promise.then(function(e){var n=_.groupBy(e.rows,"status");t.projectStats.started=n.started?n.started.length:0,t.projectStats.completed=n.completed?n.completed.length:0,t.projectStats.incomplete=n.incomplete?n.incomplete.length:0}).catch(function(t){r.error(t)})},t.pdf=function(t,e){var n=[];if(t){var a=html2canvas(document.getElementById(t)),s=a.parse(),i=a.render(s).toDataURL("image/png");n.push({image:i,width:500,style:"img"})}e.length&&_.forEach(e,function(t){var e=html2canvas(document.getElementById(t.question_id)),a=e.parse(),s=e.render(a).toDataURL("image/png");n.push({image:s,width:500,style:"img"})});var l={content:n};pdfMake.createPdf(l).download("Project_summary.pdf")},t.getProjectSessions=function(){var n={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"session_id",displayName:"APPLICATION_SESSIONID"},{name:"queue",displayName:"APPLICATION_QUEUE"},{name:"membername",displayName:"APPLICATION_AGENT"},{name:"calleridnum",displayName:"APPLICATION_CALLERIDNUM"},{name:"createdAt",displayName:"APPLICATION_STARTEDAT",filterHeaderTemplate:'
',filters:[{name:"From",condition:e.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:e.filter.LESS_THAN_OR_EQUAL}]},{name:"completedAt",displayName:"APPLICATION_COMPLETEDAT",filterHeaderTemplate:'
',filters:[{name:"From",condition:e.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:e.filter.LESS_THAN_OR_EQUAL}]},{name:"status",displayName:"APPLICATION_STATUS"},{name:"last_question_id",displayName:"APPLICATION_LASTQUESTIONID"},{name:"action",width:100,buttons:[{class:"blue-hoki",href:"/jscripty/projects/report/{{row.entity.projectId}}/session/{{row.entity.session_id}}",name:"Detail"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteSession(row.entity.session_id)"}]}]};t.gridOptions=u.gridOptions(p,n,t,{id:s.id,controller:"sessions"})},t.deleteSession=function(e){p.delete({id:s.id,controller:"sessions",action:e}).$promise.then(function(e){t.gridOptions.getPage(),t.initView(),r.show(c.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){r.error(t)})},t.getSessionDetails=function(){p.get({id:s.id,controller:"sessions",action:s.sessionId}).$promise.then(function(e){t.session=e,t.sessionQuestions=e.ReportJscriptyQuestions}).catch(function(t){r.error(t)})},t.getQuestionSummary=function(){var e={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"question_id",displayName:"APPLICATION_QUESTIONID"},{name:"question_type",displayName:"APPLICATION_QUESTIONTYPE"},{name:"question_label",displayName:"APPLICATION_QUESTIONLABEL"},{name:"question_text",displayName:"APPLICATION_QUESTION"},{name:"count",displayName:"APPLICATION_COUNT",enableFiltering:!1},{name:"action",width:100,buttons:[{class:"blue-hoki",href:"/jscripty/projects/report/"+s.id+"/detail/{{row.entity.question_id}}",name:"Detail"}]}]};t.gridOptions=u.gridOptions(p,e,t,{id:s.id,controller:"questions",action:"summary"})},t.getQuestionInputs=function(){var e={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"session_id",displayName:"APPLICATION_SESSIONID"},{name:"question_id",displayName:"APPLICATION_QUESTIONID",enableFiltering:!1},{name:"question_label",displayName:"APPLICATION_QUESTIONLABEL",enableFiltering:!1},{name:"question_text",displayName:"APPLICATION_QUESTION",enableFiltering:!1},{name:"input_label",displayName:"APPLICATION_INPUTLABEL",enableFiltering:!1},{name:"input_value",cellTemplate:'
{{row.entity.input_value}}
',displayName:"APPLICATION_INPUTVALUE",enableFiltering:!1}]};t.gridOptions=u.gridOptions(p,e,t,{id:s.id,controller:"inputs"})},t.getProjectDetail=function(){t.projectDetail=[],p.query({id:s.id,controller:"questions",action:"detail"}).$promise.then(function(e){console.log(s.questionId),s.questionId?t.projectDetail.push(_.find(e,function(t){return t.question_id==parseInt(s.questionId)})):t.projectDetail=e,console.log(t.projectDetail)}).catch(function(t){r.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.jscripty.projects.report",{url:"/report/:id",templateUrl:"app/jscripty/project/report/report.html",controller:"JscriptyProjectReportCtrl"}).state("main.jscripty.projects.report.sessions",{url:"/sessions",templateUrl:"app/jscripty/project/report/report.sessions.html"}).state("main.jscripty.projects.report.summary",{url:"/summary",templateUrl:"app/jscripty/project/report/report.summary.html"}).state("main.jscripty.projects.report.inputs",{url:"/inputs",templateUrl:"app/jscripty/project/report/report.inputs.html"}).state("main.jscripty.projects.report.detail",{url:"/detail",templateUrl:"app/jscripty/project/report/report.detail.html"}).state("main.jscripty.projects.report.questionDetail",{url:"/detail/:questionId",controller:"JscriptyProjectReportCtrl",templateUrl:"app/jscripty/project/report/report.detail.html"}).state("main.jscripty.projects.report.sessionDetail",{url:"/session/:sessionId",controller:"JscriptyProjectReportCtrl",templateUrl:"app/jscripty/project/report/report.session.detail.html"})}]),angular.module("xCallyShuttleApp").controller("JscriptyProjectViewCtrl",["$scope","$http","$state","$stateParams","socket","Auth","Modal","xAlert","$translate","$rootScope",function(t,e,n,a,s,i,l,o,r,c){t.jscriptyProject={},t.getProject=function(){e.get("/api/jscripty/projects/"+a.id).success(function(e){t.jscriptyProject=e,angular.element(document).ready(function(){window.onerror=function(t,e,n){try{null!=t&&-1!=t.indexOf("Script error.")||((new Image).src="assets/plugins/mxgraph/images/1x1.png?msg="+encodeURIComponent(t)+"&url="+encodeURIComponent(e)+"&lnum="+encodeURIComponent(n))}catch(t){}},e.token=i.getToken();var t=new EditorUi(new Editor);t.openString(e.draft,e.name,e),t.editor.graphChangeListener=function(t,e){e.properties.rtChange||!1||(this.modified=!0)}}),s.syncUpdates("jscripty_project",[e],function(t,n,a){n.id,e.id})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.jscripty.projects.view",{url:"/view/:id",templateUrl:"app/jscripty/project/view/view.html",controller:"JscriptyProjectViewCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",serie:!0,cache:!1,files:["assets/plugins/mxgraph/css/common.css","assets/plugins/mxgraph/css/explorer.css","assets/plugins/mxgraph/styles/grapheditor.css","assets/plugins/mxgraph/styles/custom.css","assets/plugins/jscripty/js/custom.js","assets/plugins/mxgraph/js/mxClient.js","assets/plugins/jscripty/js/Editor.js","assets/plugins/jscripty/js/Graph.js","assets/plugins/jscripty/js/EditorUi.js","assets/plugins/jscripty/js/Actions.js","assets/plugins/jscripty/js/Menus.js","assets/plugins/jscripty/js/Sidebar.js","assets/plugins/jscripty/js/Toolbar.js","assets/plugins/jscripty/js/Dialogs.js"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("LandingCtrl",["$scope","$location","$window","$timeout","Auth","Setting","YourDashboard",function(t,e,n,a,s,i,l){function o(e,n){var a,i,l=e.length;for(a=0;a1?t.filters.forEach(function(e){e.term?64===e.condition?g[t.name+"_uiFrom"]=e.term:256===e.condition&&(g[t.name+"_uiTo"]=e.term):64===e.condition?delete g[t.name+"_uiFrom"]:256===e.condition&&delete g[t.name+"_uiTo"]}):t.filters.length&&t.filters[0].term?g[t.name]=t.filters[0].term:delete g[t.name])}o.id=[];var m=d?"gridOptions"+d:"gridOptions",g={offset:0,limit:10},h={offset:0,limit:10};l.draggable&&(l.rowTemplate='
',l.useExternalPagination=!1,l.enablePaginationControls=!1,l.showGridFooter=!1);var f=function(t){var e=t&&t>o[m].paginationPageSize?o[m].paginationPageSize:t,n=e?30*e+120:177;(angular.element(document.getElementsByName(m)).length?angular.element(document.getElementsByName(m)[0]):angular.element(document.getElementsByClassName("ui-grid")[0])).css("height",n+"px")},A=function(t,e){return o[m].enablePaginationControls||(delete g.offset,delete g.limit),i.spin("spinner-grid"),r=t||r,(a=e||a).get(r?_.merge(g,r):g).$promise.then(function(t){o[m].totalItems=t.count,o[m].data=t.rows,f(t.rows.length),u&&u()}).catch(function(t){console.error(t)}).finally(function(){i.stop("spinner-grid")})};return o.deleteItem=t.confirm.delete(function(t){var s=r?angular.copy(r):{};return _.merge(s,{id:t}),a.remove(s).$promise.then(function(){A(),e.show(n.instant("MESSAGE_WELL_DONE")+"!","success"),o.gridApi.selection.clearSelectedRows(),o.id=[]}).catch(function(t){e.error(t)})}),o.deleteItems=t.confirm.delete(function(){var t=r?angular.copy(r):{};return _.merge(t,{ids:o.id}),a.delete(t).$promise.then(function(){A(),e.show(n.instant("MESSAGE_WELL_DONE")+"!","success"),o.gridApi.selection.clearSelectedRows(),o.id=[]}).catch(function(t){e.error(t)})}),l.columnDefs.forEach(function(t){p(t,!0),t.hasOwnProperty("displayName")||(t.displayName="APPLICATION_"+t.name.toUpperCase()),t.headerCellFilter="translate",t.hasOwnProperty("buttons")&&(t.displayName="",t.cellClass="ui-grid-vcenter",t.enableSorting=!1,t.enableFiltering=!1,t.enableColumnMenu=!1,t.cellTemplate="
",t.buttons.forEach(function(e){if(e.directive)t.cellTemplate+=e.directive;else{if(t.cellTemplate+="':"",e.name)switch(e.name){case"delete":t.cellTemplate+='';break;case"profile":case"settings":case"detail":case"embedding":t.cellTemplate+='';break;case"view":t.cellTemplate+='';break;case"clone":t.cellTemplate+='';break;case"permits":t.cellTemplate+='';break;case"copy":t.cellTemplate+='';break;case"select":t.cellTemplate+='';break;case"preview":t.cellTemplate+='';break;case"contacts":t.cellTemplate+='';break;case"download":case"export":t.cellTemplate+='';break;case"agents":t.cellTemplate+='';break;case"run":t.cellTemplate+='';break;case"mailRoom":t.cellTemplate+='';break;case"chatRoom":t.cellTemplate+='';break;case"faxRoom":t.cellTemplate+='';break;case"smsRoom":t.cellTemplate+='';break;case"check":t.cellTemplate+='';break;case"queues":t.cellTemplate+='';break;default:t.cellTemplate+="{{'APPLICATION_"+e.name.toUpperCase()+"' | translate}}"}else t.cellTemplate+=e.displayName?"{{'"+e.displayName+"' | translate}}":"";t.cellTemplate+=" "}}),t.cellTemplate+="
",delete t.buttons)}),_.merge({enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableRowSelection:!0,enableSelectAll:!0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,getPage:A,pagOpt:g,gridMenuTitleFilter:function(t){var e=s.defer();return e.resolve(n.instant(t)),e.promise},exporterAllDataFn:function(){return h.offset=g.offset,h.limit=g.limit,g={offset:0,limit:null},A().then(function(){g.offset=h.offset,g.limit=h.limit,A()})},exporterFieldCallback:function(t,e,n,a){if("applications"===n.field&&e.entity.Applications){var s="";return _.forEach(e.entity.Applications,function(t){s+=t.app+"("+t.appdata.join(",")+")"}),s}return a},exporterHeaderFilter:n.instant,onRegisterApi:function(t){o.gridApi=t,o.gridApi.selection&&(o.gridApi.selection.on.rowSelectionChanged(o,function(t){t.isSelected?o.id.push(o.gridApi.grid.options.primaryKey?t.entity[o.gridApi.grid.options.primaryKey]:t.entity.id):_.pull(o.id,o.gridApi.grid.options.primaryKey?t.entity[o.gridApi.grid.options.primaryKey]:t.entity.id)}),o.gridApi.selection.on.rowSelectionChangedBatch(o,function(t){t[0].isSelected?o.id=_.union(o.id,_.map(t,o.gridApi.grid.options.primaryKey?"entity."+o.gridApi.grid.options.primaryKey:"entity.id")):_.map(t,o.gridApi.grid.options.primaryKey?"entity."+o.gridApi.grid.options.primaryKey:"entity.id").forEach(function(t){_.pull(o.id,t)})})),o.gridApi.core.on.sortChanged(o,function(t,e){0===e.length?g.order=null:g.order=e[0].name+" "+e[0].sort.direction.toUpperCase(),A()});for(var s=0;s
'+n.instant("TOUR_MAIN_DISCOVER_MOTION")+"
",curtainClass:"myCurtainClass"}]},(i.isAdmin()||e.userModules[1])&&(e.tourConfig.main=e.tourConfig.main.concat([{type:"location_change",path:"/dashboard/voice"},{type:"title",heading:n.instant("TOUR_MAIN_DASHBOARD"),text:n.instant("TOUR_MAIN_DASHBOARD_MESSAGE"),curtainClass:"myCurtainClass"}])),(i.isAdmin()||e.userModules[2])&&a&&(e.tourConfig.main=e.tourConfig.main.concat([{type:"location_change",path:"/tools/yourdashboards/show/"+a.id},{type:"title",heading:n.instant("TOUR_MAIN_YOURDASHBOARD"),text:n.instant("TOUR_MAIN_YOURDASHBOARD_MESSAGE"),curtainClass:"myCurtainClass"}]),delete t.tempDashboards),(i.isAdmin()||e.userModules[4])&&(e.tourConfig.main=e.tourConfig.main.concat([{type:"location_change",path:"/staff/agents/list"},{type:"title",heading:n.instant("TOUR_MAIN_AGENTS"),text:n.instant("TOUR_MAIN_AGENTS_MESSAGE"),curtainClass:"myCurtainClass"}])),i.isAdmin()&&(e.tourConfig.main=e.tourConfig.main.concat([{type:"location_change",path:"/channels/voice/queues/list"},{type:"title",heading:n.instant("TOUR_MAIN_VOICE_QUEUE"),text:n.instant("TOUR_MAIN_VOICE_QUEUE_ADD_MESSAGE"),curtainClass:"myCurtainClass"}])),e.license.chat&&(i.isAdmin()||e.userModules[30])&&(e.tourConfig.main=e.tourConfig.main.concat([{type:"location_change",path:"/channels/chat/queues/list"},{type:"title",heading:n.instant("TOUR_MAIN_CHAT_QUEUE"),text:n.instant("TOUR_MAIN_CHAT_QUEUE_MESSAGE"),curtainClass:"myCurtainClass"}])),e.license.openchannel&&(i.isAdmin()||e.userModules[46])&&(e.tourConfig.main=e.tourConfig.main.concat([{type:"location_change",path:"/channels/openchannel/accounts/list"},{type:"title",heading:n.instant("TOUR_MAIN_OPENCHANNEL"),text:n.instant("TOUR_MAIN_OPENCHANNEL_MESSAGE"),curtainClass:"myCurtainClass"}])),(i.isAdmin()||e.userModules[14])&&(e.tourConfig.main=e.tourConfig.main.concat([{type:"location_change",path:"/square/projects/list"},{type:"title",heading:n.instant("TOUR_MAIN_SQUARE_PROJECT"),text:n.instant("TOUR_MAIN_SQUARE_PROJECT_MESSAGE"),curtainClass:"myCurtainClass"}])),(i.isAdmin()||e.userModules[52])&&(e.tourConfig.main=e.tourConfig.main.concat([{type:"location_change",path:"/tools/trunks/list"},{type:"title",heading:n.instant("TOUR_MAIN_TRUNKS"),text:n.instant("TOUR_MAIN_TRUNKS_MESSAGE"),curtainClass:"myCurtainClass"}])),(i.isAdmin()||e.userModules[52])&&(e.tourConfig.main=e.tourConfig.main.concat([{type:"location_change",path:"/tools/triggers/list"},{type:"title",heading:n.instant("TOUR_MAIN_TRIGGERS"),text:n.instant("TOUR_MAIN__MESSAGE"),curtainClass:"myCurtainClass"}])),e.license.jscripty&&(i.isAdmin()||e.userModules[50])&&(e.tourConfig.main=e.tourConfig.main.concat([{type:"location_change",path:"/jscripty/projects/list"},{type:"title",heading:n.instant("TOUR_MAIN_JSCRIPTY"),text:n.instant("TOUR_MAIN_JSCRIPTY_MESSAGE"),curtainClass:"myCurtainClass"}])),(i.isAdmin()||e.userModules[17])&&(e.tourConfig.main=e.tourConfig.main.concat([{type:"location_change",path:"/analytics/reports/list"},{type:"title",heading:n.instant("TOUR_MAIN_REPORTS"),text:n.instant("TOUR_MAIN_REPORTS_MESSAGE"),curtainClass:"myCurtainClass"}])),e.tourConfig.main=e.tourConfig.main.concat([{type:"title",heading:n.instant("TOUR_MAIN_END"),text:n.instant("TOUR_MAIN_END_MESSAGE"),curtainClass:"myCurtainClass"}]),m.get("skipTour")||(e.activeTour.main=!0)}t.awesomeThings=[],e.workspaces=[],t.Auth=i,e.userModules={},t.keepMeLoggedModalInstance=void 0,t.agentLogout=function(t,e){o.open({animation:!0,templateUrl:"app/channels/realtime/view/agent/agent.modal.logout.html",controller:"RealtimeViewAgentLogoutModalCtrl",resolve:{name:function(){return t}}}).result.then(function(){return f.get({controller:"logout",controller2:"agent",param:e}).$promise.then(function(){l.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){console.error(t)})},function(){r.info("Modal dismissed at: "+new Date)})},e.initTours=function(){if(i.isAdmin()||e.userModules[2])return g.get().$promise.then(function(t){var e={};e[i.getRole()]=!0,v(_.find(t.rows,e))}).catch(function(t){console.log(t)});v()},e.onTourFinish=function(){m.set("skipTour",!0),e.tempTourPath&&p.path(e.tempTourPath)},e.onTourSkip=function(){m.set("skipTour",!0)},t.select=function(t){switch(t.type){case"chatRoom":case"mailRoom":case"faxRoom":t.unread=0}},s.socket.on("agent:save",function(n){!n.online&&i.isAgent()&&(t.keepMeLoggedModalInstance||(t.keepMeLoggedModalInstance=o.open({animation:!0,backdrop:"static",keyboard:!1,templateUrl:"app/main/keepMeLogged.modal.html",controller:["$scope","$uibModalInstance",function(t,e){t.close=function(){e.close(!0)},t.cancel=function(){e.close(!1)}}]}),t.keepMeLoggedModalInstance.result.then(function(t){t?(e.settings.logoutOnWindowClose=!1,u.location.reload()):(i.logout(),p.path("/login"))})))}),t.openTdTab=function(t){e.workspaces.push({type:"tdDisposal",name:"Motion Dialer Disposition",class:"icon-control-forward",active:!0,spooler:t})},t.deselect=function(){},u.onbeforeunload=function(){if(i.isAgent()&&e.settings.logoutOnWindowClose){var t=new XMLHttpRequest;t.open("GET","/auth/local/logout",!1),t.setRequestHeader("Content-type","application/json"),t.setRequestHeader("Authorization","Bearer "+A.get("token")),t.send(),i.logout()}return null},t.isAdmin=i.isAdmin,t.isLoggedIn=i.isLoggedIn,t.getCurrentUser=i.getCurrentUser,t.CurrentUser=i.getCurrentUser(),s.socket.on("user_has_voice_queue_permit:change",function(){t.CurrentUser=i.getCurrentUser()}),s.socket.on("user_has_chat_queue_permit:change",function(){t.CurrentUser=i.getCurrentUser()}),s.socket.on("user_has_mail_queue_permit:change",function(){t.CurrentUser=i.getCurrentUser()}),s.socket.on("user_has_fax_queue_permit:change",function(){t.CurrentUser=i.getCurrentUser()}),s.socket.on("user_has_sms_queue_permit:change",function(){t.CurrentUser=i.getCurrentUser()}),t.mainTab={active:!0},t.closeJscriptyTab=function(t){e.workspaces[t].edited?o.open({animation:!0,templateUrl:"app/main/closeEditedTab.modal.jscripty.html",controller:"CloseEditedTabModalJscriptyCtrl",resolve:{project:e.workspaces[t]}}).result.then(function(){e.workspaces.splice(t,1)}):e.workspaces.splice(t,1)},e.closeTab=function(t){e.workspaces[t].edited?"jscripty"===e.workspaces[t].type?e.workspaces[t].end():o.open({animation:!0,templateUrl:"app/main/closeEditedTab.modal.html",controller:"CloseEditedTabModalCtrl"}).result.then(function(){e.workspaces.splice(t,1)},function(){r.info("Modal dismissed at: "+new Date)}):e.workspaces.splice(t,1)},t.createContact=function(a,s,i){var o=_.clone(s);return o.CompanyId||delete o.CompanyId,o.dateOfBirth&&(o.dateOfBirth=moment(o.dateOfBirth).format("DD/MM/YYYY")),d.save(o).$promise.then(function(s){e.workspaces.splice(a,1);var o=s.firstName;s.lastName&&(o+=" "+s.lastName),t.openContactTab({firstName:s.firstName,lastName:s.lastName,id:s.id},i),l.show(n.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){l.error(t)})};var I=function(e){o.open({animation:!0,templateUrl:"app/main/chooseContact.modal.html",controller:"ChooseContactModalCtrl",resolve:{data:function(){return e}}}).result.then(function(n){n?t.openContactTab(n,e):t.newContact(e)},function(){r.info("Modal dismissed at: "+new Date)})};t.updateContact=function(t,a){var s=angular.copy(a);return s.CompanyId||(s.CompanyId=null),s.dateOfBirth&&(s.dateOfBirth=moment(s.dateOfBirth).format("DD/MM/YYYY")),d.update({id:s.id},s).$promise.then(function(){e.workspaces[t].edited=!1,l.show(n.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){l.error(t)})},s.socket.on("report_integration:contactmanager",function(t){I(t)}),s.socket.on("report_integration:webPopup",function(t){"motion"===t.type?e.workspaces.push({type:"webPopup",name:"Web Popup",class:"icon-info",active:!0,data:t}):u.open(t.url||"","_blank")}),s.socket.on("report_integration:jscripty",function(e){t.openJscriptyTab({name:"Jscripty",id:e.projectId,calleridnum:e.calleridnum,calleridname:e.calleridname,queue:e.queue,membername:e.membername})}),s.socket.on("report_integration:sugarcrm",function(t){u.open(t.url,"_blank")}),s.socket.on("report_integration:freshdesk",function(t){u.open(t.url,"_blank")}),s.socket.on("report_integration:tdDisposal",function(e){t.openTdTab(e)}),e.openContactTab=function(t,n){var a=_.find(e.workspaces,{contactID:t.id});if(a)a.active=!0,a.data=n,a.synchCall();else{var s=t.firstName;t.lastName&&(s+=" "+t.lastName),e.workspaces.push({name:s,type:"contact",contactID:t.id,class:"icon-user",active:!0,data:n||null})}},t.openJscriptyTab=function(t){e.workspaces.push({name:t.name,type:"jscripty",active:!0,data:t})},t.newContact=function(t){e.workspaces.push({name:"New Contact",type:"newContact",class:"icon-user",active:!0,data:t||null})},t.$on("$viewContentLoaded",function(){Metronic.init()}),e.language=n.use(),t.changeLanguage=function(t){return n.use(t).then(function(t){e.language=t,-1!==["main.jscripty.projects.view","main.square.projects.view"].indexOf(c.current.name)&&u.location.reload()}).catch(function(t){console.error(t)})},a(function(){h.get({id:1}).$promise.then(function(n){"admin"===t.CurrentUser.role&&n.firstLogin?p.path("/adminreset"):i.getCurrentUser().$promise.then(function(t){t.Modules.forEach(function(t){e.userModules[t.id]=!0}),e.initTours()}).catch(function(t){l.error(t)})}).catch(function(t){l.error(t)})}),t.$on("$destroy",function(){s.unsyncUpdates("user_has_voice_queue_permit"),s.unsyncUpdates("user_has_chat_queue_permit"),s.unsyncUpdates("user_has_mail_queue_permit"),s.unsyncUpdates("user_has_fax_queue_permit"),s.unsyncUpdates("user_has_sms_queue_permit")})}]),angular.module("xCallyShuttleApp").directive("ngSpinnerBar",["$rootScope",function(t){return{link:function(e,n){n.addClass("hide"),t.$on("$stateChangeStart",function(){"spinner-page"===n[0].id&&n.removeClass("hide")}),t.$on("$stateChangeSuccess",function(){"spinner-page"===n[0].id&&(n.addClass("hide"),$("body").removeClass("page-on-load"),Layout.setSidebarMenuActiveLink("match"),setTimeout(function(){Metronic.scrollTop()},1e3))}),t.$on("$spinnerStart",function(){"spinner-request"===n[0].id&&n.removeClass("hide")}),t.$on("$spinnerStop",function(){"spinner-request"===n[0].id&&n.addClass("hide")}),t.$on("$stateNotFound",function(){"spinner-page"===n[0].id&&n.addClass("hide")}),t.$on("$stateChangeError",function(){"spinner-page"===n[0].id&&n.addClass("hide")})}}}]).directive("a",function(){return{restrict:"E",link:function(t,e,n){(n.ngClick||""===n.href||"#"===n.href)&&e.on("click",function(t){t.preventDefault()})}}}).directive("nxEqual",function(){return{require:"ngModel",link:function(t,e,n,a){n.nxEqual?(t.$watch(n.nxEqual,function(t){a.$setValidity("nxEqual",t===a.$viewValue)}),a.$parsers.push(function(e){var s=e===t.$eval(n.nxEqual);return a.$setValidity("nxEqual",s),s?e:void 0})):console.error("nxEqual expects a model as an argument!")}}}).directive("ngEnter",function(){return function(t,e,n){e.bind("keydown keypress",function(e){13===e.which&&(t.$apply(function(){t.$eval(n.ngEnter)}),e.preventDefault())})}}).directive("dropdownMenuHover",function(){return{link:function(t,e){e.dropdownHover()}}}).directive("uiSelectRequired",function(){return{require:"ngModel",link:function(t,e,n,a){a.$validators.uiSelectRequired=function(t){return t&&t.length}}}}).directive("rpattern",function(){return{restrict:"A",require:"ngModel",link:function(t,e,n,a){function s(t,e){return null==e||""===e||!o||t.test(e)?(a.$setValidity("pattern",!0),e):void a.$setValidity("pattern",!1)}var i,l=n.rpattern,o=!0;l&&(l.match(/^\/(.*)\/$/)?(l=new RegExp(l.substr(1,l.length-2)),i=function(t){return s(l,t)}):i=function(e){var n=t.$eval(l);if(!n||!n.test)throw new Error("Expected "+l+" to be a RegExp but was "+n);return s(n,e)}),a.$formatters.push(i),a.$parsers.push(i),n.$observe("required",function(t){o=t,i(a.$viewValue)})}}}).directive("newContact",["$compile","xAlert","socket","$translate","$timeout","List","Tag","Company","ReportCall","$uibModal","$rootScope","Auth",function(t,e,n,a,s,i,l,o,r,c,d,u){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/main/template/template.contactTab.html",compile:function(t,p){return function(t,p,m){function g(){t.$watch("contact",function(e,n){angular.equals(e,n)||(t.workspace.edited=!0)},!0)}t.license=d.license,t.Auth=u,t.firstLoad=!0,t.detail={tab:"main"},t.contact={CompanyId:"",disposed:!1},t.submitButtonLabel=a.instant("APPLICATION_CONFIRM"),t.getAgent=function(){return u.getCurrentUser().$promise.then(function(e){t.agent=e}).catch(function(t){e.error(t)})},t.companyInfo=function(e){c.open({animation:!0,size:"lg",templateUrl:"app/main/company.info.modal.html",controller:["$scope","$uibModalInstance","company",function(t,e,n){t.company=n,t.close=function(){e.dismiss("cancel")}}],resolve:{company:_.find(t.companies,{id:e})}})},t.callPhoneBar=function(n,s){var i;switch(s){case"call":i="http://127.0.0.1:"+t.agent.phoneBarRemoteControlPort+"/api/originate/"+n;break;case"transfer":i="http://127.0.0.1:"+t.agent.phoneBarRemoteControlPort+"/api/transfer?number="+n;break;default:i="http://127.0.0.1:"+t.agent.phoneBarRemoteControlPort+"/api/originate/"+n}return $http.get(i).success(function(){e.show(a.instant("MESSAGE_WELL_DONE"),"success")}).error(function(t){e.error(t)})},t.dispose=function(){return c.open({animation:!0,templateUrl:"app/main/cm.disposition.modal.html",controller:"ContactManagerSetDisposition"}).result.then(function(n){return r.update({id:t.workspace.data.uniqueid},n).$promise.then(function(){t.contact.disposed=!0,t.workspace.data.agentDisposition=n.agentDisposition,e.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){e.error(t)})})},t.init=function(){if(t.getTags(),t.getCompanies(),t.getLists(),t.getAgent(),t.workspace.data){if(t.enableDisposal=!1,"queue"===t.workspace.data.subtypeChannel?(t.contact.firstName=t.workspace.data.calleridname?t.workspace.data.calleridname:t.workspace.data.messageId?t.workspace.data.messageId:t.workspace.data.uniqueid?t.workspace.data.uniqueid:"",t.workspace.data.calleridnum&&(t.contact.phone=t.workspace.data.calleridnum)):(t.contact.firstName=t.workspace.data.destcalleridname?t.workspace.data.destcalleridname:t.workspace.data.messageId?t.workspace.data.messageId:t.workspace.data.uniqueid?t.workspace.data.uniqueid:"",t.workspace.data.destcalleridnum&&(t.contact.phone=t.workspace.data.destcalleridnum)),t.workspace.data.from&&(t.contact.email=t.workspace.data.from),t.workspace.data.uniqueid)return r.get({id:t.workspace.data.uniqueid}).$promise.then(function(){t.enableDisposal=!0}).catch(function(){n.socket.on("report_call:save",function(e){e.uniqueid===t.workspace.data.uniqueid&&(t.enableDisposal=!0)})});t.workspace.data.CompanyId&&(t.contact.CompanyId=t.workspace.data.CompanyId)}},t.getLists=function(){return i.get().$promise.then(function(e){if(t.lists=e.rows,n.syncUpdates("list",t.lists),t.workspace.data&&t.workspace.data.ListId&&_.find(t.lists,{id:t.workspace.data.ListId}))t.contact.ListId=t.workspace.data.ListId;else{var a=_.find(t.lists,{defaultEntry:!0});t.contact.ListId=a?a.id:t.lists[0]?t.lists[0].id:null}t.getCustomFields()}).catch(function(t){e.error(t)})},t.getCustomFields=function(){return i.get({listId:t.contact.ListId,controller:"customfields",id:"all"}).$promise.then(function(e){t.customFields=[],e.rows.forEach(function(e){try{"select"===e.type&&(e.values=JSON.parse(e.values)),t.customFields.push(e)}catch(t){console.log("Cf not valid:",e.alias)}}),!t.firstLoad||t.workspace.data?(t.workspace.edited=!0,t.firstLoad=!1):(t.firstLoad=!1,g())}).catch(function(t){console.error(t),e.error(t)})},t.getTags=function(){return l.get().$promise.then(function(e){t.tags=_.map(e.rows,"name")}).catch(function(t){console.error(t),e.error(t)})},t.getCompanies=function(){return o.get().$promise.then(function(e){t.companies=e.rows,t.companies.unshift({id:"",name:"-- None --"}),n.syncUpdates("company",t.companies)}).catch(function(t){console.error(t),e.error(t)})},s(function(){t.init()})}}}}]).directive("contact",["$compile","xAlert","socket","$timeout","List","Tag","Company","Contact","$translate","gridOptions","$uibModal","ReportCall","$rootScope","usSpinnerService","uiGridConstants","$log","Auth","$http",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h,f,A){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/main/template/template.contactTab.html",compile:function(t,c){return function(t,c,v){function I(e){var n=[],a={};_.forEach(t.columns[t.log[e].show][t.log[e].detail].indexes,function(s,i){a={name:s,displayName:t.columns[t.log[e].show][t.log[e].detail].header[i],headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1},"createdAt"===s&&(a.cellTemplate="
{{row.entity.createdAt | date:'dd/MM/yyyy HH:mm:ss'}}
",a.filterHeaderTemplate='
',a.filters=[{name:"From",condition:g.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:g.filter.LESS_THAN_OR_EQUAL}]),n.push(a)}),t.columns[t.log[e].show][t.log[e].detail].actions&&n.push(t.columns[t.log[e].show][t.log[e].detail].actions),n.forEach(function(t){b(t,e,!0),t.hasOwnProperty("displayName")||(t.displayName="APPLICATION_"+t.name.toUpperCase()),t.headerCellFilter="translate",t.hasOwnProperty("buttons")&&(t.displayName="",t.cellClass="ui-grid-vcenter",t.enableSorting=!1,t.enableFiltering=!1,t.enableColumnMenu=!1,t.cellTemplate="
",t.buttons.forEach(function(e){if(e.directive)t.cellTemplate+=e.directive;else{if(t.cellTemplate+="':"",e.name)switch(e.name){case"delete":t.cellTemplate+='';break;case"profile":case"settings":case"detail":case"embedding":t.cellTemplate+='';break;case"agents":t.cellTemplate+='';break;case"run":t.cellTemplate+='';break;case"mailRoom":t.cellTemplate+='';break;case"chatRoom":t.cellTemplate+='';break;case"faxRoom":t.cellTemplate+='';break;case"smsRoom":t.cellTemplate+='';break;default:t.cellTemplate+="{{'APPLICATION_"+e.name.toUpperCase()+"' | translate}}"}else t.cellTemplate+=e.displayName?"{{'"+e.displayName+"' | translate}}":"";t.cellTemplate+=" "}}),t.cellTemplate+="
",delete t.buttons)}),N(e,{enablePaginationControls:!0,exporterCsvFilename:e+".csv",columnDefs:n,enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,showTreeExpandNoChildren:!0,data:[],gridMenuTitleFilter:function(t){var e=$q.defer();return e.resolve(r.instant(t)),e.promise},onRegisterApi:function(n){t.gridApi=n,t.gridApi.grid.registerDataChangeCallback(function(){}),t.gridApi.core.on.sortChanged(t,function(t,n){0===n.length?T.order=null:T.order=n[0].name+" "+n[0].sort.direction.toUpperCase(),N(e)}),t.gridApi.pagination.on.paginationChanged(t,function(t,n){T.offset=(t-1)*n,T.limit=n,N(e)}),t.gridApi.core.on.filterChanged(t,function(){this.grid.columns.forEach(function(t){b(t,e)}),N(e)})}})}function b(t,e,n){t.filter&&t.filter.term&&n&&(T[e][t.name]=t.filter.term),t.filters&&(t.filters.length>1?t.filters.forEach(function(n){n.term?64===n.condition?T[e][t.name+"_uiFrom"]=n.term:256===n.condition&&(T[e][t.name+"_uiTo"]=n.term):64===n.condition?delete T[e][t.name+"_uiFrom"]:256===n.condition&&delete T[e][t.name+"_uiTo"]}):t.filters.length&&t.filters[0].term?T[e][t.name]=t.filters[0].term:delete T[e][t.name])}function E(){t.$watch("contact",function(e,n){e.disposed!==n.disposed||angular.equals(e,n)||(t.workspace.edited=!0)},!0)}t.moment=moment,t.license=p.license,t.detail={tab:"main"},t.log={daily:{show:"phone",type:"inbound",detail:"general"},history:{show:"phone",type:"inbound",detail:"general"}},t.columns={phone:{general:{header:["APPLICATION_SOURCE","APPLICATION_DESTINATION","APPLICATION_CALL_STATUS","APPLICATION_DISPOSITION","APPLICATION_DATE"],indexes:["source","destination","disposition","agentDisposition","createdAt"]},queue:{header:["APPLICATION_CALLERID","APPLICATION_QUEUE","APPLICATION_DATE"],indexes:["calleridnum","queue","createdAt"]}},email:{general:{header:["APPLICATION_FROM","APPLICATION_TO","APPLICATION_SUBJECT","APPLICATION_DISPOSITION","APPLICATION_DATE"],indexes:["from","account","subject","disposition","createdAt"],actions:{name:"action",displayName:"",width:40,buttons:[{class:"green",name:"mailRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'mailRoom')"}]}}},chat:{general:{header:["APPLICATION_WEBSITE","APPLICATION_VISITOR","APPLICATION_DISPOSITION","APPLICATION_DATE"],indexes:["website","contact","disposition","createdAt"],actions:{name:"action",displayName:"",width:40,buttons:[{class:"green",name:"chatRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'chatRoom')"}]}}},fax:{general:{header:["APPLICATION_FROM","APPLICATION_TO","APPLICATION_DISPOSITION","APPLICATION_DATE"],indexes:["contact","account","disposition","createdAt"],actions:{name:"action",displayName:"",width:40,buttons:[{class:"green",name:"faxRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'faxRoom')"}]}}},sms:{general:{header:["APPLICATION_ACCOUNT","APPLICATION_FROM","APPLICATION_DISPOSITION","APPLICATION_DATE"],indexes:["account","contact","disposition","createdAt"],actions:{name:"action",displayName:"",width:40,buttons:[{class:"green",name:"smsRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'smsRoom')"}]}}}},t.Auth=f,t.getAgent=function(){return f.getCurrentUser().$promise.then(function(e){t.agent=e}).catch(function(t){e.error(t)})},t.getLists=function(){return s.get().$promise.then(function(e){t.lists=e.rows,n.syncUpdates("list",t.lists)}).catch(function(t){e.error(t)})},t.callPhoneBar=function(n,a){var s;switch(a){case"call":s="http://127.0.0.1:"+t.agent.phoneBarRemoteControlPort+"/api/originate/"+n;break;case"transfer":s="http://127.0.0.1:"+t.agent.phoneBarRemoteControlPort+"/api/transfer?number="+n;break;default:s="http://127.0.0.1:"+t.agent.phoneBarRemoteControlPort+"/api/originate/"+n}return A.get(s).success(function(){e.show(r.instant("MESSAGE_WELL_DONE"),"success")}).error(function(t){e.error(t)})},t.copy=function(t){d.open({animation:!0,size:"small",templateUrl:"app/contactmanager/contact/list/copy.modal.html",controller:"ContactManagerListCopyModalCtrl"}).result.then(function(n){return o.save({id:t,controller:"copy"},n).$promise.then(function(t){p.openContactTab({firstName:t.firstName,lastName:t.lastName,id:t.id})}).catch(function(t){e.error(t)})},function(){h.info("Modal dismissed at: "+new Date)})},t.merge=function(n){d.open({animation:!0,size:"lg",templateUrl:"app/main/mergeContact.choose.modal.html",controller:"ContactManagerMergeContactChoose",resolve:{listId:n.ListId,mergecontact:n.id}}).result.then(function(a){d.open({animation:!0,size:"lg",templateUrl:"app/main/mergeContact.merge.modal.html",controller:"ContactManagerMergeContactMerge",resolve:{contactId:a,mergeContact:n}}).result.then(function(s){return s.oldContact=n.id,o.save({id:a,controller:"merge"},s).$promise.then(function(e){p.workspaces.splice(t.index,1),_.remove(p.workspaces,{contactID:e.id}),p.openContactTab({firstName:e.firstName,lastName:e.lastName,id:e.id})}).catch(function(t){e.error(t)})},function(){h.info("Modal dismissed at: "+new Date)})},function(){h.info("Modal dismissed at: "+new Date)})},t.dispose=function(){return d.open({animation:!0,templateUrl:"app/main/cm.disposition.modal.html",controller:"ContactManagerSetDisposition"}).result.then(function(n){return n.contactId=t.contact.id,u.update({id:t.workspace.data.uniqueid},n).$promise.then(function(){t.contact.disposed=!0,e.show(r.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){e.error(t)})})},t.companyInfo=function(e){d.open({animation:!0,size:"lg",templateUrl:"app/main/company.info.modal.html",controller:["$scope","$uibModalInstance","company",function(t,e,n){t.company=n,t.close=function(){e.dismiss("cancel")}}],resolve:{company:_.find(t.companies,{id:e})}})},t.updateLog=function(e,n,a,s){n&&(t.log[e].show=n),a&&(t.log[e].detail=a),s&&(t.log[e].type=s),I(e)},t.openRoom=function(t,e,n){var a=_.find(p.workspaces,{id:t,type:e});if(a)a.active=!0;else{var s;switch(e){case"mailRoom":s="icon-envelope";break;case"chatRoom":s="fa fa-users";break;case"faxRoom":s="fa fa-fax";break;case"smsRoom":s="glyphicon glyphicon-comment"}p.workspaces.push({id:t,type:e,class:s,active:!0,data:n})}};var T={daily:{offset:0,limit:10},history:{offset:0,limit:10}},N=function(e,n){return m.spin("spinner-grid"),o.get(_.merge(_.merge({id:t.workspace.contactID,controller:"log",logType:e,order:"createdAt DESC"},t.log[e]),T[e])).$promise.then(function(a){n&&(t["gridOptions"+e]=n),t["gridOptions"+e].totalItems=a.count,t["gridOptions"+e].data=a.rows,P("gridOptions"+e,a.rows.length)}).catch(function(t){console.error(t)}).finally(function(){m.stop("spinner-grid")})},P=function(t,e){var n=e?30*e+120:177;angular.element(document.getElementsByName(t)[0]).css("height",n+"px")};t.getContact=function(){return o.get({id:t.workspace.contactID}).$promise.then(function(e){e.dateOfBirth&&(e.dateOfBirth=moment(e.dateOfBirth,"DD/MM/YYYY").toDate()),e.CompanyId||(e.CompanyId=""),t.contact=e,t.getCustomFields(e.ListId),E(),t.updateLog("daily"),t.updateLog("history")}).then(function(){t.workspace.data&&t.workspace.synchCall()}).catch(function(t){console.error(t),e.error(t)})},t.getTags=function(){return i.get().$promise.then(function(e){t.tags=_.map(e.rows,"name")}).catch(function(t){console.error(t),e.error(t)})},t.getCompanies=function(){return l.get().$promise.then(function(e){t.companies=e.rows,t.companies.unshift({id:"",name:"-- None --"}),n.syncUpdates("company",t.companies)}).catch(function(t){console.error(t),e.error(t)})},t.getCustomFields=function(n){return t.customFields=[],s.get({listId:n,controller:"customfields",id:"all"}).$promise.then(function(e){e.rows.forEach(function(e){try{"select"===e.type&&(e.values=JSON.parse(e.values)),t.customFields.push(e)}catch(t){console.log("Cf not valid:",e.alias)}})}).catch(function(t){console.error(t),e.error(t)})},t.workspace.synchCall=function(){if(t.contact.disposed=!1,t.enableDisposal=!1,t.workspace.data&&t.workspace.data.uniqueid)return t.workspace.data.agentDisposition?(t.contact.disposed=!0,u.update({id:t.workspace.data.uniqueid},{contactId:t.contact.id}).$promise.then(function(){console.log("contactId updated")}).catch(function(t){e.error(t)})):u.get({id:t.workspace.data.uniqueid}).$promise.then(function(){t.enableDisposal=!0}).catch(function(){n.socket.on("report_call:save",function(e){e.uniqueid===t.workspace.data.uniqueid&&(t.enableDisposal=!0)})});t.contact.disposed=!0},a(function(){t.getTags(),t.getCompanies(),t.getLists(),t.getContact(),t.getAgent()})}}}}]).directive("jscripty",["$compile","xAlert","$http","socket","JscriptyProject",function(t,e,n,a,s){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/main/template/template.jscriptyTab.html",compile:function(t,a){return function(t,a,i){t.count=0,t.questions=[];var l,o=t.workspace.data.id;n.get("/api/jscripty/projects/"+o+"/download").success(function(e){e?n.post("/api/jscripty/projects/"+o+"/sessions",{projectId:o,status:"started",queue:t.workspace.data.queue,calleridnum:t.workspace.data.calleridnum,callername:t.workspace.data.callername,membername:t.workspace.data.membername}).success(function(n){l=n.session_id,t.workspace.edited=!0,t.workspace.sessionId=l,t.workspace.projectId=o;var a=mxUtils.parseXml(e),s=new mxCodec(a);t.decObj=s.decode(a.documentElement);var i=_.find(t.decObj.cells,function(t){return t.vertex&&"start"==t.value.nodeName});if("OFF"==i.getAttribute("state")){var c=_.find(i.edges,function(t){return t.source.id==i.id}).target;t.questions[t.count]=t.currentQuestion=r(c)}else t.questions[t.count]=t.currentQuestion=i;t.saveQuestions()}):(console.log("No project published!"),alert("No project published!"),t.submit({index:t.index}))}),t.next=function(e,n){switch(t.currentQuestion.answer&&t.currentQuestion.answer!=n&&(t.questions=_.take(t.questions,t.count+1)),t.currentQuestion.answer=n,e.value.nodeName){case"question":e=r(e)}t.questions[t.count]=t.currentQuestion,t.currentQuestion=e,t.count++,t.questions[t.count]=e,t.saveQuestions()};var r=function(t){var e=[];return t.options=[],_.forEach(t.edges,function(n,a){if(n.source.id==t.id&&n.value){var s=String(n.value).split(",");s.length>1?(_.forEach(s,function(e,a){var s=Object.create(n);s.setValue(e),t.edges.push(s),t.options.push(e)}),e.push(n)):t.options.push(s[0])}}),_.forEach(e,function(e){_.remove(t.edges,function(t){return t.value==e.value&&t.id==e.id})}),t};t.end=function(){t.saveQuestions(),t.workspace.lastQuestionId=t.questions[t.questions.length-1].id,"end"==t.questions[t.questions.length-1].value.nodeName&&(t.workspace.edited=!1,s.update({id:o,controller:"sessions",action:l},{status:"completed",completedAt:Date(),last_question_id:t.questions[t.questions.length-1].id}).$promise.then(function(t){e.show("Project Ended","success")})),t.submit({index:t.index})},t.workspace.end=t.end,t.back=function(){t.count--,t.currentQuestion=t.questions[t.count]},t.setCurrentQuestion=function(e){t.count=e,t.currentQuestion=t.questions[t.count]},t.saveQuestions=function(){for(var n=[],a=[],i=0;i"},{name:">="},{name:"LIKE"},{name:"NOT LIKE"},{name:"IS NULL"},{name:"IS NOT NULL"},{name:"IS EMPTY"},{name:"IS NOT EMPTY"}],e.inputIsRequired=function(t){if(t.condition)switch(t.condition){case"IS NULL":case"IS NOT NULL":case"IS EMPTY":case"IS NOT EMPTY":t.required=!1;break;default:t.required=!0}},e.addCondition=function(){e.group.rules.push({condition:"=",field:"",value:""})},e.removeCondition=function(t){e.group.rules.splice(t,1)},e.addGroup=function(){e.group.rules.push({group:{operator:"AND",rules:[{condition:"=",field:"",value:""}]}})},e.randomName=function(t,e){var n=[];for(t=t||5,e=e||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--t;)n.push(e.charAt(Math.floor(Math.random()*e.length)));return n.join("")},e.removeGroup=function(){e.$parent.group&&e.$parent.group.rules.splice(e.$parent.$index,1)},s||(s=t(a)),n.append(s(e,function(t){return t}))}}}}]).directive("dynamicName",["$compile",function(t){return{restrict:"A",terminal:!0,priority:1e3,link:function(e,n,a){n.attr("name",e.$eval(a.dynamicName)),n.removeAttr("dynamic-name"),t(n)(e)}}}]).directive("onReadFile",["$parse",function(t){return{restrict:"A",scope:!1,link:function(e,n,a){var s=t(a.onReadFile);n.on("change",function(t){var n=new FileReader;n.onload=function(t){e.$apply(function(){s(e,{$fileContent:t.target.result})})},n.readAsText((t.srcElement||t.target).files[0])})}}}]).directive("motionFileDownload",["xAlert","$translate","$timeout","$location","FileSaver","$compile",function(t,e,n,a,s,i){return{restrict:"E",template:'{{btncontent || \'\'}}',scope:{mimetype:"=",filename:"=",resource:"=",params:"=",btnclass:"@",btncontent:"@",tooltiptext:"@"},link:function(e,n,a){var i=n.children()[0];e.$on("download-start",function(){$(i).attr("disabled","disabled")}),e.$on("downloaded",function(t,n){var a=base64ToBlob(n,e.mimetype);s.saveAs(a,e.filename),$(i).attr("disabled",!1)}),e.download=function(){return e.$emit("download-start"),e.resource.get(e.params).$promise.then(function(t){e.$emit("downloaded",t.downloadString)}).catch(function(e){t.error(e),$(i).attr("disabled",!1)})}}}}]).directive("audioFileDownload",["xAlert","$translate","$uibModal",function(t,e,n){return{restrict:"E",template:'',scope:{resource:"=",params:"="},link:function(e,a,s){var i=a.children()[0];e.$on("download-start",function(t,n){e.tempHtml=$(i).html(),$(i).attr("disabled","disabled").html(' Loading...')}),e.$on("downloaded",function(t,a){n.open({animation:!0,size:"small",templateUrl:"app/main/audioFileDownload.play.modal.html",controller:["$scope","$uibModalInstance","$sce","audio",function(t,e,n,a){t.audio=n.trustAsResourceUrl("data:audio/wav;base64,"+a.data),t.close=function(){e.dismiss("cancel")}}],resolve:{audio:function(){return{data:a}}}});$(i).html(e.tempHtml).attr("disabled",!1)}),e.$on("error",function(t,n){$(i).html(e.tempHtml).attr("disabled",!1)}),e.download=function(){return e.$emit("download-start"),e.resource.get(e.params).$promise.then(function(t){e.$emit("downloaded",t.downloadString)}).catch(function(n){t.error(n),e.$emit("error")})}}}}]).directive("uiRequired",function(){return{require:"ngModel",link:function(t,e,n,a){a.$validators.required=function(t,e){return!(e&&0===e.length&&"true"===n.uiRequired)},n.$observe("uiRequired",function(){a.$setValidity("required",!("true"===n.uiRequired&&a.$viewValue&&0===a.$viewValue.length))})}}}).directive("schrollBottom",function(){return{scope:{schrollBottom:"="},link:function(t,e){t.$watchCollection("schrollBottom",function(t){t&&$(e).scrollTop($(e)[0].scrollHeight)})}}}).directive("customGridDateFilterHeader",function(){return{templateUrl:"app/main/customDateFilterHeader.html",controller:"gridDatePickerFilterCtrl"}}).directive("customGridTagsFilterHeader",function(){return{templateUrl:"app/main/customTagsFilterHeader.html",controller:"gridTagsFilterCtrl"}}).directive("infiniteScroll",["$window",function(t){return{link:function(t,e,n){var a=parseInt(n.threshold)||0,s=e[0];e.bind("scroll",function(){t.$eval(n.canLoad)&&s.scrollTop+s.offsetHeight>=s.scrollHeight-a&&t.$apply(n.infiniteScroll)})}}}]).directive("tigerDialDisposal",["$compile","xAlert","socket","$translate","$timeout","$rootScope","MotionDialerSpooler","Auth",function(t,e,n,a,s,i,l,o){return{restrict:"E",scope:{workspace:"=",index:"="},templateUrl:"app/main/template/template.tigerDialDisposal.html",compile:function(t,n){return function(t,n,r){t.moment=moment,t.entitySpooler={},t.forms={td:{}},t.init=function(){return o.getCurrentUser().$promise.then(function(e){t.entitySpooler.planningpeer="SIP/"+e.name}).catch(function(t){e.error(t)})},t.save=function(){var n;switch(t.entitySpooler.retrieve){case"CLOSED":n=l.close({id:parseInt(t.workspace.spooler.ticketId)});break;case"OPEN":n=l.open({id:parseInt(t.workspace.spooler.ticketId)});break;case"BLACK_LIST":n=l.blacklist({id:parseInt(t.workspace.spooler.ticketId)});break;case"PLANNED":n=l.planning({id:parseInt(t.workspace.spooler.ticketId),date:moment(t.entitySpooler.planningtime).format("YYYY-MM-DD HH:mm")});break;case"PLANNED_PEER":n=l.planningpeer({id:parseInt(t.workspace.spooler.ticketId),date:moment(t.entitySpooler.planningtime).format("YYYY-MM-DD HH:mm"),peer:t.entitySpooler.planningpeer})}n?n.$promise.then(function(n){n.status>0?e.show(a.instant("MESSAGE_WELL_DONE"),"success"):n.response?n.response.RMI.errors.forEach(function(n){n?(e.show(n.field+": "+n.error,"danger"),i.workspaces.splice(t.index,1)):e.show("Please, check your connection!","danger")}):e.show("Please, check your connection!","danger")}).catch(function(t){e.error(t)}):e.show("RETRIEVE NOT FOUND","danger")},s(function(){t.init()})}}}}]).directive("cssTimer",["$window","$interval",function(t,e){return{restrict:"EA",template:"{{ millis | formatMilliseconds | date:format }}",scope:{interval:"@",format:"@",startTime:"="},link:function(t,n,a){function s(){t.millis=Math.abs((new Date).getTime()-new Date(t.startTime).getTime())+1e3,t.activeInterval=e(function(){t.millis+=t.interval},t.interval)}t.interval||(t.interval=1e3),t.format||(t.format="HH:mm:ss"),s(),t.$watch("startTime",function(n,a){e.cancel(t.activeInterval),s()},!0)}}}]).directive("webPopup",["$compile","xAlert","socket","$translate","$timeout","List","Tag","Company","ReportCall","$uibModal","$rootScope","Auth","$sce",function(t,e,n,a,s,i,l,o,r,c,d,u,p){return{restrict:"E",scope:{workspace:"=",index:"="},templateUrl:"app/main/template/template.webPopup.html",compile:function(t,e){return function(t,e,n){t.html=p.trustAsHtml(t.workspace.data.html)}}}}]),angular.module("xCallyShuttleApp").filter("propsFilter",function(){return function(t,e){var n=[];return angular.isArray(t)?t.forEach(function(t){for(var a=!1,s=Object.keys(e),i=0;i=0}),e}}).filter("freshdesk",function(){var t=["requester","subject","agent","description","status","priority","group","source","ticket_type","group","company"];return function(e){return _.remove(e,function(e){return t.indexOf(e.name)>=0}),e}}).filter("zendesk",function(){var t=["subject","assignee","description"];return function(e){return _.remove(e,function(e){return t.indexOf(e.type)>=0}),e}}).filter("slice",function(){return function(t,e,n){if(t)return t.slice(e,n)}}).filter("trusted",["$sce",function(t){var e=document.createElement("div");return function(n){return e.innerHTML=n,t.trustAsHtml(e.textContent)}}]).filter("formatMilliseconds",[function(){return function(t){return new Date(1970,0,1).setMilliseconds(t)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main",{abstract:!0,templateUrl:"app/main/main.html",controller:"MainCtrl",resolve:{authorization:["$q","Auth","$state","$timeout","$location","localStorageService",function(t,e,n,a,s,i){return e.getToken()?t.when():(i.remove("loggedIn"),a(function(){s.path("/login")}),t.reject())}],deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/plugins/mxgraph/js/mxClient.js","assets/plugins/ckeditor/ckeditor.js","assets/css/login.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("xAlert",["$translate","Notification","$state",function(t,e,n){return{show:function(n,a){switch(a){case"success":e.success({message:n,title:' '+t.instant("MESSAGE_SUCCESS")+"!",delay:5e3});break;case"info":e.info({message:n,title:' '+t.instant("MESSAGE_INFO")+"!",delay:5e3});break;case"danger":e.error({message:n,title:' '+t.instant("MESSAGE_ERROR")+"!",delay:1e4});break;case"warning":e.warning({message:n,title:' '+t.instant("MESSAGE_WARNING")+"!",delay:1e4});break;default:e.info(n)}},error:function(a){var s,i;a?a.status&&401===a.status?(s="Unauthorized!",i=!0):a.data?(s=a.data.translatedMessage||a.data.message||a.data||"Generic Error",a.data.errors&&a.data.errors.length&&_.forEach(a.data.errors,function(t){t.message&&(s+=", "+t.message)})):s=a.translatedMessage||a.message||"Generic Error":s="Generic Error",e.error({message:t.instant(s),title:' '+t.instant("MESSAGE_ERROR")+"!",delay:1e4}),i&&n.go("login")}}}]).factory("stResource",["$q","$filter","$timeout","$rootScope","$http","$translate","xAlert",function(t,e,n,a,s,i,l){return{getPage:function(e){var n={page:Math.ceil(e.pagination.start/e.pagination.number),per_page:e.pagination.number};e.sort.predicate&&(n.sort_by=e.sort.predicate,n.sort_order=e.sort.reverse?"DESC":"ASC"),_.forIn(e.search.predicateObject,function(t,e){n[e]=t}),e.search.params&&(n.clientQuery={},_.forIn(e.search.params,function(t,e){n.clientQuery[e]=t})),a.$broadcast("$spinnerStart"),s.get(e.url,{params:n}).success(function(t){i.resolve(t),a.$broadcast("$spinnerStop")}).error(function(t){l.error(t),a.$broadcast("$spinnerStop")});var i=t.defer();return i.promise}}}]).factory("xNotification",["$translate","Notification","$rootScope",function(t,e,n){return{show:function(a,s,i,l,o,r){var c=n.$new(),d={message:s,title:a,templateUrl:"app/main/template/template.notification.html",delay:l,scope:c};switch(c.acceptBtn=t.instant("APPLICATION_ACCEPT"),c.rejectBtn=t.instant("APPLICATION_REJECT"),c.nAccept=o,c.nReject=r,i){case"chat":c.class="alert-info",c.icon="icon-bubble";break;case"mail":c.class="alert-success",c.icon="icon-envelope";break;case"fax":c.class="alert-warning",c.icon="fa fa-fax";break;case"sms":c.class="alert-danger",c.icon="glyphicon glyphicon-comment";break;case"openchannel":c.class="alert-danger",c.icon="icon-globe";break;default:c.class="alert-info"}return new e(d)}}}]),angular.module("xCallyShuttleApp").controller("ContactManagerMergeContactChoose",["$scope","$translate","Contact","gridOptions","List","uiGridConstants","xAlert","$stateParams","Company","$uibModalInstance","listId","mergecontact",function(t,e,n,a,s,i,l,o,r,c,d,u){t.initView=function(){var e;return s.get().$promise.then(function(e){return t.lists=[],t.customFields=[],e.rows.forEach(function(e,n){_.forEach(e.CustomFields,function(e){t.customFields.push({name:e.name,alias:e.alias})}),t.lists.push({value:e.id,label:e.name})}),r.get().$promise}).then(function(e){t.companies=[],e.rows.forEach(function(e,n){t.companies.push({value:e.id,label:e.name})})}).then(function(){var s=[{class:"blue-hoki",name:"select",onClick:"grid.appScope.choose(row.entity.id)"}];e={exporterCsvFilename:"Contacts.csv",columnDefs:[{name:"firstName"},{name:"lastName"},{name:"phone"},{name:"email"},{name:"ListId",displayName:"APPLICATION_LIST",field:"List.name",enableFiltering:!1},{name:"CompanyId",displayName:"APPLICATION_COMPANY",field:"Company.name",filter:{type:i.filter.SELECT,term:o.companyId||null,selectOptions:t.companies}}]},_.forEach(t.customFields,function(t){e.columnDefs.push({name:t.name,displayName:t.alias,visible:!1})}),e.columnDefs.push({name:"action",width:30,buttons:s}),t.gridOptions=a.gridOptions(n,e,t,{ListId:d,mergecontact:u})}).catch(function(t){l.error(t)})},t.choose=function(t){c.close(t)},t.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("ContactManagerMergeContactMerge",["$scope","$translate","Contact","xAlert","Company","$uibModalInstance","contactId","List","mergeContact","Tag",function(t,e,n,a,s,i,l,o,r,c){t.initView=function(){return s.get().$promise.then(function(e){return t.companies=e.rows,t.companies.unshift({id:"",name:"-- None --"}),c.get().$promise}).then(function(e){return t.tags=_.map(e.rows,"name"),n.get({id:l}).$promise}).then(function(e){t.fields={},t.contact={};var n=_.merge(_.keys(e),_.keys(r));return _.forEach(n,function(n){switch(n){case"tags":t.contact.tags=_.union(e.tags||[],r.tags||[]);break;case"$promise":case"$resolved":break;default:t.fields[n]=[],e[n]&&t.fields[n].push(e[n]),r[n]&&e[n]!==r[n]&&t.fields[n].push(r[n]),t.contact[n]=t.fields[n][0]||null}}),o.get({listId:e.ListId,controller:"customfields"}).$promise}).then(function(e){t.customFields=e.rows,t.customFields.forEach(function(t){t.values=JSON.parse(t.values)})}).catch(function(t){a.error(t)})},t.merge=function(){t.contact.CompanyId||(t.contact.CompanyId=null),i.close(t.contact)},t.cancel=function(){i.dismiss()}}]),angular.module("xCallyShuttleApp").factory("Widget",["$resource",function(t){return t("/api/widgets/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("MarketCtrl",["$scope","$http","$translate","socket","xAlert","Modal","$timeout","Integration",function(t,e,n,a,s,i,l,o){function r(t,e){return Math.floor(Math.random()*(e-t+1))+t}t.initView=function(){return o.get().$promise.then(function(e){t.integrations=e.rows,t.groupedIntegration=_.chunk(t.integrations,4),a.syncUpdates("integration",t.integrations,function(){t.groupedIntegration=_.chunk(t.integrations,4)})}).catch(function(t){s.error(t,"danger")})},t.isProgressing=!1,t.$on("$destroy",function(){a.unsyncUpdates("integration")}),t.installIntegration=function(e){if(navigator.onLine)return t.status="Downloading",t.percentage=r(1,50),t.isProgressing=!0,e.downloading=!0,o.update({id:e.id},{active:!0}).$promise.then(function(){l(function(){t.percentage=r(51,99),t.status="Installing"},2500),l(function(){t.percentage=100,t.isProgressing=!1,t.status="Completed!",e.downloading=!1,s.show(n.instant("MESSAGE_WELL_DONE")+".","success")},5e3)}).catch(function(){e.downloading=!1,t.percentage=0,t.isProgressing=!1,s.show(n.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")});s.show(n.instant("MESSAGE_NO_INTERNET_CONNECTION")+".","danger")},t.uninstallIntegration=function(e){if(navigator.onLine)return t.status="Uninstalling",t.percentage=r(1,99),t.isProgressing=!0,e.downloading=!0,o.update({id:e.id},{active:!1}).$promise.then(function(){l(function(){t.percentage=100,t.isProgressing=!1,t.status="Completed!",e.downloading=!1,s.show(n.instant("MESSAGE_WELL_DONE")+".","success")},5e3)}).catch(function(){e.downloading=!1,t.percentage=0,t.isProgressing=!1,s.show(n.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")});s.show(n.instant("MESSAGE_NO_INTERNET_CONNECTION")+".","danger")}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.market",{url:"/market",templateUrl:"app/market/market.html",controller:"MarketCtrl",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("MotionbarCtrl",["$scope","$stateParams","$cookieStore","$window","$location","Auth",function(t,e,n,a,s,i){console.log(e),e.token&&e.userId&&e.role&&e.redirectTo?(i.loginWithToken(e.token,e.userId,e.role),a.location.href=decodeURIComponent(e.redirectTo)):s.path("/login")}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("motionbar",{url:"/motionbar?redirectTo&token&userId&role",template:"
",controller:"MotionbarCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.motiondialer.blacklist",{url:"/blacklist",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("MotionDialerBlackListListCtrl",["$scope","$uibModal","$translate","xAlert","Modal","MotionDialerBlackList","uiGridConstants","FileUploader","Papa",function(t,e,n,a,s,i,l,o,r){function c(n){e.open({animation:!0,backdrop:"static",keyboard:!1,templateUrl:"app/motiondialer/blacklist/list/list.import.modal.html",controller:"MotionDialerBlackListImportCtrl",resolve:{indexes:function(){return _.keys(n[0])},csv:function(){return n}}}).result.then(function(e){t.gridOptions.data=t.gridOptions.data.concat(e)})}t.initView=function(){t.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"id",width:60},{name:"phone"},{name:"description",enableSorting:!1},{name:"updatedtime",sort:{direction:l.DESC},enableFiltering:!1},{name:"action",cellTemplate:'
',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},i.list({page:1,size:6e5}).$promise.then(function(e){e.status>0?t.gridOptions.data=e.response.RMI.rows:a.show("Please, check your connection!","danger")}).catch(function(t){a.error(t)})},t.createItem=function(){e.open({animation:!0,templateUrl:"app/motiondialer/blacklist/list/list.create.modal.html",controller:"MotionDialerBlackListListCreateCtrl"}).result.then(function(e){t.gridOptions.data.push(e.response.RMI)})},t.deleteItem=s.confirm.delete(function(e){return i.delete({id:e}).$promise.then(function(s){s.status>0?(_.remove(t.gridOptions.data,{id:e}),a.show(n.instant("MESSAGE_WELL_DONE"),"success")):a.show(s.message||"Please, check your connection!","danger")}).catch(function(t){a.error(t)})}),(t.uploader=new o({queueLimit:1,clearInputAfterAddedToQueue:!0})).onAfterAddingFile=function(e){r.parse(e._file,{header:!0,complete:function(e){t.uploader.clearQueue(),c(e.data)},error:function(t){a.error(t)}})}}]),angular.module("xCallyShuttleApp").controller("MotionDialerBlackListListCreateCtrl",["$scope","$translate","$uibModalInstance","MotionDialerBlackList","xAlert",function(t,e,n,a,s){t.form={},t.item={},t.save=function(){return a.insert(t.item).$promise.then(function(t){t.status>0?(s.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t)):s.show(t.message||"Please, check your connection!","danger")}).catch(function(t){s.error(t)})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").controller("MotionDialerBlackListImportCtrl",["$scope","$uibModalInstance","$stateParams","indexes","csv","MotionDialerBlackList",function(t,e,n,a,s,i){function l(e){if(e>=t.csvLength||t.stopped)t.importing=!1;else{var n={phone:"",description:""};if(_.forOwn(t.item,function(t,a){n[a]=s[e][t]}),n.phone)return i.insert(n).$promise.then(function(n){n.status>0?n.response.RMI.Key&&n.response.RMI.Key.indexOf("Found duplicate")>-1?(t.import.fail+=o,t.import.failed++,t.duplicates.push(e+2)):(t.import.success+=o,t.import.succeeded++,r.push(n.response.RMI)):(console.log(n),t.import.fail+=o,t.import.failed++)}).catch(function(e){console.log(e),t.import.fail+=o,t.import.failed++}).finally(function(){l(e+1)});t.noPhone.push(e+2),t.import.fail+=o,t.import.failed++,l(e+1)}}t.form={},t.item={},t.indexes=a,t.importing=!1,t.submitted=!1,t.stopped=!1,t.import={success:0,fail:0,succeeded:0,failed:0},t.csvLength=s.length;var o=100/t.csvLength,r=[];t.start=function(){t.noPhone=[],t.duplicates=[],t.importing=!0,t.submitted=!0,l(0)},t.close=function(){e.close(r)},t.stop=function(){t.stopped=!0}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.motiondialer.blacklist.list",{url:"/list",templateUrl:"app/motiondialer/blacklist/list/list.html",controller:"MotionDialerBlackListListCtrl",authenticate:!0})}]),angular.module("xCallyShuttleApp").factory("MotionDialerBlackList",["$resource",function(t){return t("/api/rest/blacklist/:controller",null,{list:{method:"POST",params:{controller:"list"}},insert:{method:"POST",params:{controller:"insert"}},delete:{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},update:{method:"POST",params:{controller:"update"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.motiondialer.info",{url:"/info",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").factory("MotionDialerSystem",["$resource",function(t){return t("/api/rest/system/:controller",null,{properties:{method:"POST",params:{controller:"properties"}}})}]),angular.module("xCallyShuttleApp").controller("MotionDialerInfoViewCtrl",["$scope","xAlert","MotionDialerSystem","MotionDialerProcess","$translate","$q","usSpinnerService",function(t,e,n,a,s,i,l){t.getProperties=function(){return n.properties().$promise.then(function(n){n.status>0?t.properties=n.response.RMI:e.show(n.message||"Please, check your connection!","danger")}).catch(function(t){e.error(t)})};var o=function(t,e){var n=t?30*t+130:177;angular.element(document.getElementsByName(e)[0]).css("height",n+"px")};t.getLogs=function(){return t.loading=!0,l.spin("logs-spinner"),a.logs().$promise.then(function(n){t.loading=!1,l.stop("logs-spinner"),n.status>0?t.table1.data=n.response.RMI.rows:e.show(n.message||"Please, check your connection!","danger")}).catch(function(n){t.loading=!1,l.stop("logs-spinner"),e.error(n)})},t.initLogs=function(){t.table1={enableGridMenu:!0,exporterMenuVisibleData:!1,exporterCsvFilename:"Motion Dialer Logs.csv",enableHorizontalScrollbar:0,headerCellFilter:"translate",exporterHeaderFilter:s.instant,enableVerticalScrollbar:0,enableFiltering:!0,enableSorting:!0,showGridFooter:!0,paginationPageSizes:[10,25,50],paginationPageSize:10,gridMenuTitleFilter:function(t){var e=i.defer();return e.resolve(s.instant(t)),e.promise},columnDefs:[{name:"timeStamp",headerCellFilter:"translate",displayName:"APPLICATION_DATE",cellFilter:'date:"yyyy-MM-dd HH:mm:ss"',width:145},{name:"renderedMessage",headerCellFilter:"translate",displayName:"APPLICATION_MESSAGE",cellTooltip:!0}],data:[],onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){o(t.table1.paginationPageSize>t.table1.data.length?t.table1.data.length:t.table1.paginationPageSize,"table1")}),t.gridApi.pagination.on.paginationChanged(t,function(e,n){o(n>t.table1.data.length?t.table1.data.length:n,"table1")})}},t.getLogs()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.motiondialer.info.view",{url:"/view",templateUrl:"app/motiondialer/info/view/view.html",controller:"MotionDialerInfoViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.motiondialer.info.view.about",{url:"/about",templateUrl:"app/motiondialer/info/view/view.about.html"}).state("main.motiondialer.info.view.details",{url:"/details",templateUrl:"app/motiondialer/info/view/view.details.html"}).state("main.motiondialer.info.view.logs",{url:"/logs",templateUrl:"app/motiondialer/info/view/view.logs.html"})}]),angular.module("xCallyShuttleApp").factory("MotionDialerContact",["$resource",function(t){return t("/api/rest/contact/:controller",null,{list:{method:"POST",params:{controller:"list"}},insert:{method:"POST",params:{controller:"insert"}},delete:{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},update:{method:"POST",params:{controller:"update"}}})}]),angular.module("xCallyShuttleApp").factory("MotionDialerList",["$resource",function(t){return t("/api/rest/list/:controller",null,{list:{method:"POST",params:{controller:"list"}},insert:{method:"POST",params:{controller:"insert"}},delete:{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},update:{method:"POST",params:{controller:"update"}}})}]),angular.module("xCallyShuttleApp").factory("MotionDialerTimezone",function(){return{list:function(){return[{group:"US (Common)",zones:[{value:"America/Puerto_Rico",name:"Puerto Rico (Atlantic)"},{value:"America/New_York",name:"New York (Eastern)"},{value:"America/Chicago",name:"Chicago (Central)"},{value:"America/Denver",name:"Denver (Mountain)"},{value:"America/Phoenix",name:"Phoenix (MST)"},{value:"America/Los_Angeles",name:"Los Angeles (Pacific)"},{value:"America/Anchorage",name:"Anchorage (Alaska)"},{value:"Pacific/Honolulu",name:"Honolulu (Hawaii)"}]},{group:"America",zones:[{value:"America/Adak",name:"Adak"},{value:"America/Anchorage",name:"Anchorage"},{value:"America/Anguilla",name:"Anguilla"},{value:"America/Antigua",name:"Antigua"},{value:"America/Araguaina",name:"Araguaina"},{value:"America/Argentina/Buenos_Aires",name:"Argentina - Buenos Aires"},{value:"America/Argentina/Catamarca",name:"Argentina - Catamarca"},{value:"America/Argentina/ComodRivadavia",name:"Argentina - ComodRivadavia"},{value:"America/Argentina/Cordoba",name:"Argentina - Cordoba"},{value:"America/Argentina/Jujuy",name:"Argentina - Jujuy"},{value:"America/Argentina/La_Rioja",name:"Argentina - La Rioja"},{value:"America/Argentina/Mendoza",name:"Argentina - Mendoza"},{value:"America/Argentina/Rio_Gallegos",name:"Argentina - Rio Gallegos"},{value:"America/Argentina/Salta",name:"Argentina - Salta"},{value:"America/Argentina/San_Juan",name:"Argentina - San Juan"},{value:"America/Argentina/San_Luis",name:"Argentina - San Luis"},{value:"America/Argentina/Tucuman",name:"Argentina - Tucuman"},{value:"America/Argentina/Ushuaia",name:"Argentina - Ushuaia"},{value:"America/Aruba",name:"Aruba"},{value:"America/Asuncion",name:"Asuncion"},{value:"America/Atikokan",name:"Atikokan"},{value:"America/Atka",name:"Atka"},{value:"America/Bahia",name:"Bahia"},{value:"America/Barbados",name:"Barbados"},{value:"America/Belem",name:"Belem"},{value:"America/Belize",name:"Belize"},{value:"America/Blanc-Sablon",name:"Blanc-Sablon"},{value:"America/Boa_Vista",name:"Boa Vista"},{value:"America/Bogota",name:"Bogota"},{value:"America/Boise",name:"Boise"},{value:"America/Buenos_Aires",name:"Buenos Aires"},{value:"America/Cambridge_Bay",name:"Cambridge Bay"},{value:"America/Campo_Grande",name:"Campo Grande"},{value:"America/Cancun",name:"Cancun"},{value:"America/Caracas",name:"Caracas"},{value:"America/Catamarca",name:"Catamarca"},{value:"America/Cayenne",name:"Cayenne"},{value:"America/Cayman",name:"Cayman"},{value:"America/Chicago",name:"Chicago"},{value:"America/Chihuahua",name:"Chihuahua"},{value:"America/Coral_Harbour",name:"Coral Harbour"},{value:"America/Cordoba",name:"Cordoba"},{value:"America/Costa_Rica",name:"Costa Rica"},{value:"America/Cuiaba",name:"Cuiaba"},{value:"America/Curacao",name:"Curacao"},{value:"America/Danmarkshavn",name:"Danmarkshavn"},{value:"America/Dawson",name:"Dawson"},{value:"America/Dawson_Creek",name:"Dawson Creek"},{value:"America/Denver",name:"Denver"},{value:"America/Detroit",name:"Detroit"},{value:"America/Dominica",name:"Dominica"},{value:"America/Edmonton",name:"Edmonton"},{value:"America/Eirunepe",name:"Eirunepe"},{value:"America/El_Salvador",name:"El Salvador"},{value:"America/Ensenada",name:"Ensenada"},{value:"America/Fortaleza",name:"Fortaleza"},{value:"America/Fort_Wayne",name:"Fort Wayne"},{value:"America/Glace_Bay",name:"Glace Bay"},{value:"America/Godthab",name:"Godthab"},{value:"America/Goose_Bay",name:"Goose Bay"},{value:"America/Grand_Turk",name:"Grand Turk"},{value:"America/Grenada",name:"Grenada"},{value:"America/Guadeloupe",name:"Guadeloupe"},{value:"America/Guatemala",name:"Guatemala"},{value:"America/Guayaquil",name:"Guayaquil"},{value:"America/Guyana",name:"Guyana"},{value:"America/Halifax",name:"Halifax"},{value:"America/Havana",name:"Havana"},{value:"America/Hermosillo",name:"Hermosillo"},{value:"America/Indiana/Indianapolis",name:"Indiana - Indianapolis"},{value:"America/Indiana/Knox",name:"Indiana - Knox"},{value:"America/Indiana/Marengo",name:"Indiana - Marengo"},{value:"America/Indiana/Petersburg",name:"Indiana - Petersburg"},{value:"America/Indiana/Tell_City",name:"Indiana - Tell City"},{value:"America/Indiana/Vevay",name:"Indiana - Vevay"},{value:"America/Indiana/Vincennes",name:"Indiana - Vincennes"},{value:"America/Indiana/Winamac",name:"Indiana - Winamac"},{value:"America/Indianapolis",name:"Indianapolis"},{value:"America/Inuvik",name:"Inuvik"},{value:"America/Iqaluit",name:"Iqaluit"},{value:"America/Jamaica",name:"Jamaica"},{value:"America/Jujuy",name:"Jujuy"},{value:"America/Juneau",name:"Juneau"},{value:"America/Kentucky/Louisville",name:"Kentucky - Louisville"},{value:"America/Kentucky/Monticello",name:"Kentucky - Monticello"},{value:"America/Knox_IN",name:"Knox IN"},{value:"America/La_Paz",name:"La Paz"},{value:"America/Lima",name:"Lima"},{value:"America/Los_Angeles",name:"Los Angeles"},{value:"America/Louisville",name:"Louisville"},{value:"America/Maceio",name:"Maceio"},{value:"America/Managua",name:"Managua"},{value:"America/Manaus",name:"Manaus"},{value:"America/Marigot",name:"Marigot"},{value:"America/Martinique",name:"Martinique"},{value:"America/Matamoros",name:"Matamoros"},{value:"America/Mazatlan",name:"Mazatlan"},{value:"America/Mendoza",name:"Mendoza"},{value:"America/Menominee",name:"Menominee"},{value:"America/Merida",name:"Merida"},{value:"America/Mexico_City",name:"Mexico City"},{value:"America/Miquelon",name:"Miquelon"},{value:"America/Moncton",name:"Moncton"},{value:"America/Monterrey",name:"Monterrey"},{value:"America/Montevideo",name:"Montevideo"},{value:"America/Montreal",name:"Montreal"},{value:"America/Montserrat",name:"Montserrat"},{value:"America/Nassau",name:"Nassau"},{value:"America/New_York",name:"New York"},{value:"America/Nipigon",name:"Nipigon"},{value:"America/Nome",name:"Nome"},{value:"America/Noronha",name:"Noronha"},{value:"America/North_Dakota/Center",name:"North Dakota - Center"},{value:"America/North_Dakota/New_Salem",name:"North Dakota - New Salem"},{value:"America/Ojinaga",name:"Ojinaga"},{value:"America/Panama",name:"Panama"},{value:"America/Pangnirtung",name:"Pangnirtung"},{value:"America/Paramaribo",name:"Paramaribo"},{value:"America/Phoenix",name:"Phoenix"},{value:"America/Port-au-Prince",name:"Port-au-Prince"},{value:"America/Porto_Acre",name:"Porto Acre"},{value:"America/Port_of_Spain",name:"Port of Spain"},{value:"America/Porto_Velho",name:"Porto Velho"},{value:"America/Puerto_Rico",name:"Puerto Rico"},{value:"America/Rainy_River",name:"Rainy River"},{value:"America/Rankin_Inlet",name:"Rankin Inlet"},{value:"America/Recife",name:"Recife"},{value:"America/Regina",name:"Regina"},{value:"America/Resolute",name:"Resolute"},{value:"America/Rio_Branco",name:"Rio Branco"},{value:"America/Rosario",name:"Rosario"},{value:"America/Santa_Isabel",name:"Santa Isabel"},{value:"America/Santarem",name:"Santarem"},{value:"America/Santiago",name:"Santiago"},{value:"America/Santo_Domingo",name:"Santo Domingo"},{value:"America/Sao_Paulo",name:"Sao Paulo"},{value:"America/Scoresbysund",name:"Scoresbysund"},{value:"America/Shiprock",name:"Shiprock"},{value:"America/St_Barthelemy",name:"St Barthelemy"},{value:"America/St_Johns",name:"St Johns"},{value:"America/St_Kitts",name:"St Kitts"},{value:"America/St_Lucia",name:"St Lucia"},{value:"America/St_Thomas",name:"St Thomas"},{value:"America/St_Vincent",name:"St Vincent"},{value:"America/Swift_Current",name:"Swift Current"},{value:"America/Tegucigalpa",name:"Tegucigalpa"},{value:"America/Thule",name:"Thule"},{value:"America/Thunder_Bay",name:"Thunder Bay"},{value:"America/Tijuana",name:"Tijuana"},{value:"America/Toronto",name:"Toronto"},{value:"America/Tortola",name:"Tortola"},{value:"America/Vancouver",name:"Vancouver"},{value:"America/Virgin",name:"Virgin"},{value:"America/Whitehorse",name:"Whitehorse"},{value:"America/Winnipeg",name:"Winnipeg"},{value:"America/Yakutat",name:"Yakutat"},{value:"America/Yellowknife",name:"Yellowknife"}]},{group:"Europe",zones:[{value:"Europe/Amsterdam",name:"Amsterdam"},{value:"Europe/Andorra",name:"Andorra"},{value:"Europe/Athens",name:"Athens"},{value:"Europe/Belfast",name:"Belfast"},{value:"Europe/Belgrade",name:"Belgrade"},{value:"Europe/Berlin",name:"Berlin"},{value:"Europe/Bratislava",name:"Bratislava"},{value:"Europe/Brussels",name:"Brussels"},{value:"Europe/Bucharest",name:"Bucharest"},{value:"Europe/Budapest",name:"Budapest"},{value:"Europe/Chisinau",name:"Chisinau"},{value:"Europe/Copenhagen",name:"Copenhagen"},{value:"Europe/Dublin",name:"Dublin"},{value:"Europe/Gibraltar",name:"Gibraltar"},{value:"Europe/Guernsey",name:"Guernsey"},{value:"Europe/Helsinki",name:"Helsinki"},{value:"Europe/Isle_of_Man",name:"Isle of Man"},{value:"Europe/Istanbul",name:"Istanbul"},{value:"Europe/Jersey",name:"Jersey"},{value:"Europe/Kaliningrad",name:"Kaliningrad"},{value:"Europe/Kiev",name:"Kiev"},{value:"Europe/Lisbon",name:"Lisbon"},{value:"Europe/Ljubljana",name:"Ljubljana"},{value:"Europe/London",name:"London"},{value:"Europe/Luxembourg",name:"Luxembourg"},{value:"Europe/Madrid",name:"Madrid"},{value:"Europe/Malta",name:"Malta"},{value:"Europe/Mariehamn",name:"Mariehamn"},{value:"Europe/Minsk",name:"Minsk"},{value:"Europe/Monaco",name:"Monaco"},{value:"Europe/Moscow",name:"Moscow"},{value:"Europe/Nicosia",name:"Nicosia"},{value:"Europe/Oslo",name:"Oslo"},{value:"Europe/Paris",name:"Paris"},{value:"Europe/Podgorica",name:"Podgorica"},{value:"Europe/Prague",name:"Prague"},{value:"Europe/Riga",name:"Riga"},{value:"Europe/Rome",name:"Rome"},{value:"Europe/Samara",name:"Samara"},{value:"Europe/San_Marino",name:"San Marino"},{value:"Europe/Sarajevo",name:"Sarajevo"},{value:"Europe/Simferopol",name:"Simferopol"},{value:"Europe/Skopje",name:"Skopje"},{value:"Europe/Sofia",name:"Sofia"},{value:"Europe/Stockholm",name:"Stockholm"},{value:"Europe/Tallinn",name:"Tallinn"},{value:"Europe/Tirane",name:"Tirane"},{value:"Europe/Tiraspol",name:"Tiraspol"},{value:"Europe/Uzhgorod",name:"Uzhgorod"},{value:"Europe/Vaduz",name:"Vaduz"},{value:"Europe/Vatican",name:"Vatican"},{value:"Europe/Vienna",name:"Vienna"},{value:"Europe/Vilnius",name:"Vilnius"},{value:"Europe/Volgograd",name:"Volgograd"},{value:"Europe/Warsaw",name:"Warsaw"},{value:"Europe/Zagreb",name:"Zagreb"},{value:"Europe/Zaporozhye",name:"Zaporozhye"},{value:"Europe/Zurich",name:"Zurich"}]},{group:"Asia",zones:[{value:"Asia/Aden",name:"Aden"},{value:"Asia/Almaty",name:"Almaty"},{value:"Asia/Amman",name:"Amman"},{value:"Asia/Anadyr",name:"Anadyr"},{value:"Asia/Aqtau",name:"Aqtau"},{value:"Asia/Aqtobe",name:"Aqtobe"},{value:"Asia/Ashgabat",name:"Ashgabat"},{value:"Asia/Ashkhabad",name:"Ashkhabad"},{value:"Asia/Baghdad",name:"Baghdad"},{value:"Asia/Bahrain",name:"Bahrain"},{value:"Asia/Baku",name:"Baku"},{value:"Asia/Bangkok",name:"Bangkok"},{value:"Asia/Beirut",name:"Beirut"},{value:"Asia/Bishkek",name:"Bishkek"},{value:"Asia/Brunei",name:"Brunei"},{value:"Asia/Calcutta",name:"Calcutta"},{value:"Asia/Choibalsan",name:"Choibalsan"},{value:"Asia/Chongqing",name:"Chongqing"},{value:"Asia/Chungking",name:"Chungking"},{value:"Asia/Colombo",name:"Colombo"},{value:"Asia/Dacca",name:"Dacca"},{value:"Asia/Damascus",name:"Damascus"},{value:"Asia/Dhaka",name:"Dhaka"},{value:"Asia/Dili",name:"Dili"},{value:"Asia/Dubai",name:"Dubai"},{value:"Asia/Dushanbe",name:"Dushanbe"},{value:"Asia/Gaza",name:"Gaza"},{value:"Asia/Harbin",name:"Harbin"},{value:"Asia/Ho_Chi_Minh",name:"Ho Chi Minh"},{value:"Asia/Hong_Kong",name:"Hong Kong"},{value:"Asia/Hovd",name:"Hovd"},{value:"Asia/Irkutsk",name:"Irkutsk"},{value:"Asia/Istanbul",name:"Istanbul"},{value:"Asia/Jakarta",name:"Jakarta"},{value:"Asia/Jayapura",name:"Jayapura"},{value:"Asia/Jerusalem",name:"Jerusalem"},{value:"Asia/Kabul",name:"Kabul"},{value:"Asia/Kamchatka",name:"Kamchatka"},{value:"Asia/Karachi",name:"Karachi"},{value:"Asia/Kashgar",name:"Kashgar"},{value:"Asia/Kathmandu",name:"Kathmandu"},{value:"Asia/Katmandu",name:"Katmandu"},{value:"Asia/Kolkata",name:"Kolkata"},{value:"Asia/Krasnoyarsk",name:"Krasnoyarsk"},{value:"Asia/Kuala_Lumpur",name:"Kuala Lumpur"},{value:"Asia/Kuching",name:"Kuching"},{value:"Asia/Kuwait",name:"Kuwait"},{value:"Asia/Macao",name:"Macao"},{value:"Asia/Macau",name:"Macau"},{value:"Asia/Magadan",name:"Magadan"},{value:"Asia/Makassar",name:"Makassar"},{value:"Asia/Manila",name:"Manila"},{value:"Asia/Muscat",name:"Muscat"},{value:"Asia/Nicosia",name:"Nicosia"},{value:"Asia/Novokuznetsk",name:"Novokuznetsk"},{value:"Asia/Novosibirsk",name:"Novosibirsk"},{value:"Asia/Omsk",name:"Omsk"},{value:"Asia/Oral",name:"Oral"},{value:"Asia/Phnom_Penh",name:"Phnom Penh"},{value:"Asia/Pontianak",name:"Pontianak"},{value:"Asia/Pyongyang",name:"Pyongyang"},{value:"Asia/Qatar",name:"Qatar"},{value:"Asia/Qyzylorda",name:"Qyzylorda"},{value:"Asia/Rangoon",name:"Rangoon"},{value:"Asia/Riyadh",name:"Riyadh"},{value:"Asia/Saigon",name:"Saigon"},{value:"Asia/Sakhalin",name:"Sakhalin"},{value:"Asia/Samarkand",name:"Samarkand"},{value:"Asia/Seoul",name:"Seoul"},{value:"Asia/Shanghai",name:"Shanghai"},{value:"Asia/Singapore",name:"Singapore"},{value:"Asia/Taipei",name:"Taipei"},{value:"Asia/Tashkent",name:"Tashkent"},{value:"Asia/Tbilisi",name:"Tbilisi"},{value:"Asia/Tehran",name:"Tehran"},{value:"Asia/Tel_Aviv",name:"Tel Aviv"},{value:"Asia/Thimbu",name:"Thimbu"},{value:"Asia/Thimphu",name:"Thimphu"},{value:"Asia/Tokyo",name:"Tokyo"},{value:"Asia/Ujung_Pandang",name:"Ujung Pandang"},{value:"Asia/Ulaanbaatar",name:"Ulaanbaatar"},{value:"Asia/Ulan_Bator",name:"Ulan Bator"},{value:"Asia/Urumqi",name:"Urumqi"},{value:"Asia/Vientiane",name:"Vientiane"},{value:"Asia/Vladivostok",name:"Vladivostok"},{value:"Asia/Yakutsk",name:"Yakutsk"},{value:"Asia/Yekaterinburg",name:"Yekaterinburg"},{value:"Asia/Yerevan",name:"Yerevan"}]},{group:"Africa",zones:[{value:"Africa/Abidjan",name:"Abidjan"},{value:"Africa/Accra",name:"Accra"},{value:"Africa/Addis_Ababa",name:"Addis Ababa"},{value:"Africa/Algiers",name:"Algiers"},{value:"Africa/Asmara",name:"Asmara"},{value:"Africa/Asmera",name:"Asmera"},{value:"Africa/Bamako",name:"Bamako"},{value:"Africa/Bangui",name:"Bangui"},{value:"Africa/Banjul",name:"Banjul"},{value:"Africa/Bissau",name:"Bissau"},{value:"Africa/Blantyre",name:"Blantyre"},{value:"Africa/Brazzaville",name:"Brazzaville"},{value:"Africa/Bujumbura",name:"Bujumbura"},{value:"Africa/Cairo",name:"Cairo"},{value:"Africa/Casablanca",name:"Casablanca"},{value:"Africa/Ceuta",name:"Ceuta"},{value:"Africa/Conakry",name:"Conakry"},{value:"Africa/Dakar",name:"Dakar"},{value:"Africa/Dar_es_Salaam",name:"Dar es Salaam"},{value:"Africa/Djibouti",name:"Djibouti"},{value:"Africa/Douala",name:"Douala"},{value:"Africa/El_Aaiun",name:"El Aaiun"},{value:"Africa/Freetown",name:"Freetown"},{value:"Africa/Gaborone",name:"Gaborone"},{value:"Africa/Harare",name:"Harare"},{value:"Africa/Johannesburg",name:"Johannesburg"},{value:"Africa/Kampala",name:"Kampala"},{value:"Africa/Khartoum",name:"Khartoum"},{value:"Africa/Kigali",name:"Kigali"},{value:"Africa/Kinshasa",name:"Kinshasa"},{value:"Africa/Lagos",name:"Lagos"},{value:"Africa/Libreville",name:"Libreville"},{value:"Africa/Lome",name:"Lome"},{value:"Africa/Luanda",name:"Luanda"},{value:"Africa/Lubumbashi",name:"Lubumbashi"},{value:"Africa/Lusaka",name:"Lusaka"},{value:"Africa/Malabo",name:"Malabo"},{value:"Africa/Maputo",name:"Maputo"},{value:"Africa/Maseru",name:"Maseru"},{value:"Africa/Mbabane",name:"Mbabane"},{value:"Africa/Mogadishu",name:"Mogadishu"},{value:"Africa/Monrovia",name:"Monrovia"},{value:"Africa/Nairobi",name:"Nairobi"},{value:"Africa/Ndjamena",name:"Ndjamena"},{value:"Africa/Niamey",name:"Niamey"},{value:"Africa/Nouakchott",name:"Nouakchott"},{value:"Africa/Ouagadougou",name:"Ouagadougou"},{value:"Africa/Porto-Novo",name:"Porto-Novo"},{value:"Africa/Sao_Tome",name:"Sao Tome"},{value:"Africa/Timbuktu",name:"Timbuktu"},{value:"Africa/Tripoli",name:"Tripoli"},{value:"Africa/Tunis",name:"Tunis"},{value:"Africa/Windhoek",name:"Windhoek"}]},{group:"Australia",zones:[{value:"Australia/ACT",name:"ACT"},{value:"Australia/Adelaide",name:"Adelaide"},{value:"Australia/Brisbane",name:"Brisbane"},{value:"Australia/Broken_Hill",name:"Broken Hill"},{value:"Australia/Canberra",name:"Canberra"},{value:"Australia/Currie",name:"Currie"},{value:"Australia/Darwin",name:"Darwin"},{value:"Australia/Eucla",name:"Eucla"},{value:"Australia/Hobart",name:"Hobart"},{value:"Australia/LHI",name:"LHI"},{value:"Australia/Lindeman",name:"Lindeman"},{value:"Australia/Lord_Howe",name:"Lord Howe"},{value:"Australia/Melbourne",name:"Melbourne"},{value:"Australia/North",name:"North"},{value:"Australia/NSW",name:"NSW"},{value:"Australia/Perth",name:"Perth"},{value:"Australia/Queensland",name:"Queensland"},{value:"Australia/South",name:"South"},{value:"Australia/Sydney",name:"Sydney"},{value:"Australia/Tasmania",name:"Tasmania"},{value:"Australia/Victoria",name:"Victoria"},{value:"Australia/West",name:"West"},{value:"Australia/Yancowinna",name:"Yancowinna"}]},{group:"Indian",zones:[{value:"Indian/Antananarivo",name:"Antananarivo"},{value:"Indian/Chagos",name:"Chagos"},{value:"Indian/Christmas",name:"Christmas"},{value:"Indian/Cocos",name:"Cocos"},{value:"Indian/Comoro",name:"Comoro"},{value:"Indian/Kerguelen",name:"Kerguelen"},{value:"Indian/Mahe",name:"Mahe"},{value:"Indian/Maldives",name:"Maldives"},{value:"Indian/Mauritius",name:"Mauritius"},{value:"Indian/Mayotte",name:"Mayotte"},{value:"Indian/Reunion",name:"Reunion"}]},{group:"Atlantic",zones:[{value:"Atlantic/Azores",name:"Azores"},{value:"Atlantic/Bermuda",name:"Bermuda"},{value:"Atlantic/Canary",name:"Canary"},{value:"Atlantic/Cape_Verde",name:"Cape Verde"},{value:"Atlantic/Faeroe",name:"Faeroe"},{value:"Atlantic/Faroe",name:"Faroe"},{value:"Atlantic/Jan_Mayen",name:"Jan Mayen"},{value:"Atlantic/Madeira",name:"Madeira"},{value:"Atlantic/Reykjavik",name:"Reykjavik"},{value:"Atlantic/South_Georgia",name:"South Georgia"},{value:"Atlantic/Stanley",name:"Stanley"},{value:"Atlantic/St_Helena",name:"St Helena"}]},{group:"Pacific",zones:[{value:"Pacific/Apia",name:"Apia"},{value:"Pacific/Auckland",name:"Auckland"},{value:"Pacific/Chatham",name:"Chatham"},{value:"Pacific/Easter",name:"Easter"},{value:"Pacific/Efate",name:"Efate"},{value:"Pacific/Enderbury",name:"Enderbury"},{value:"Pacific/Fakaofo",name:"Fakaofo"},{value:"Pacific/Fiji",name:"Fiji"},{value:"Pacific/Funafuti",name:"Funafuti"},{value:"Pacific/Galapagos",name:"Galapagos"},{value:"Pacific/Gambier",name:"Gambier"},{value:"Pacific/Guadalcanal",name:"Guadalcanal"},{value:"Pacific/Guam",name:"Guam"},{value:"Pacific/Honolulu",name:"Honolulu"},{value:"Pacific/Johnston",name:"Johnston"},{value:"Pacific/Kiritimati",name:"Kiritimati"},{value:"Pacific/Kosrae",name:"Kosrae"},{value:"Pacific/Kwajalein",name:"Kwajalein"},{value:"Pacific/Majuro",name:"Majuro"},{value:"Pacific/Marquesas",name:"Marquesas"},{value:"Pacific/Midway",name:"Midway"},{value:"Pacific/Nauru",name:"Nauru"},{value:"Pacific/Niue",name:"Niue"},{value:"Pacific/Norfolk",name:"Norfolk"},{value:"Pacific/Noumea",name:"Noumea"},{value:"Pacific/Pago_Pago",name:"Pago Pago"},{value:"Pacific/Palau",name:"Palau"},{value:"Pacific/Pitcairn",name:"Pitcairn"},{value:"Pacific/Ponape",name:"Ponape"},{value:"Pacific/Port_Moresby",name:"Port Moresby"},{value:"Pacific/Rarotonga",name:"Rarotonga"},{value:"Pacific/Saipan",name:"Saipan"},{value:"Pacific/Samoa",name:"Samoa"},{value:"Pacific/Tahiti",name:"Tahiti"},{value:"Pacific/Tarawa",name:"Tarawa"},{value:"Pacific/Tongatapu",name:"Tongatapu"},{value:"Pacific/Truk",name:"Truk"},{value:"Pacific/Wake",name:"Wake"},{value:"Pacific/Wallis",name:"Wallis"},{value:"Pacific/Yap",name:"Yap"}]},{group:"Antarctica",zones:[{value:"Antarctica/Casey",name:"Casey"},{value:"Antarctica/Davis",name:"Davis"},{value:"Antarctica/DumontDUrville",name:"DumontDUrville"},{value:"Antarctica/Macquarie",name:"Macquarie"},{value:"Antarctica/Mawson",name:"Mawson"},{value:"Antarctica/McMurdo",name:"McMurdo"},{value:"Antarctica/Palmer",name:"Palmer"},{value:"Antarctica/Rothera",name:"Rothera"},{value:"Antarctica/South_Pole",name:"South Pole"},{value:"Antarctica/Syowa",name:"Syowa"},{value:"Antarctica/Vostok",name:"Vostok"}]},{group:"Arctic",zones:[{value:"Arctic/Longyearbyen",name:"Longyearbyen"}]},{group:"UTC",zones:[{value:"UTC",name:"UTC"}]},{group:"Manual Offsets",zones:[{value:"UTC-12",name:"UTC-12"},{value:"UTC-11",name:"UTC-11"},{value:"UTC-10",name:"UTC-10"},{value:"UTC-9",name:"UTC-9"},{value:"UTC-8",name:"UTC-8"},{value:"UTC-7",name:"UTC-7"},{value:"UTC-6",name:"UTC-6"},{value:"UTC-5",name:"UTC-5"},{value:"UTC-4",name:"UTC-4"},{value:"UTC-3",name:"UTC-3"},{value:"UTC-2",name:"UTC-2"},{value:"UTC-1",name:"UTC-1"},{value:"UTC+0",name:"UTC+0"},{value:"UTC+1",name:"UTC+1"},{value:"UTC+2",name:"UTC+2"},{value:"UTC+3",name:"UTC+3"},{value:"UTC+4",name:"UTC+4"},{value:"UTC+5",name:"UTC+5"},{value:"UTC+6",name:"UTC+6"},{value:"UTC+7",name:"UTC+7"},{value:"UTC+8",name:"UTC+8"},{value:"UTC+9",name:"UTC+9"},{value:"UTC+10",name:"UTC+10"},{value:"UTC+11",name:"UTC+11"},{value:"UTC+12",name:"UTC+12"},{value:"UTC+13",name:"UTC+13"},{value:"UTC+14",name:"UTC+14"}]}]}}}),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.motiondialer",{url:"/motiondialer",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:16}}})}]),angular.module("xCallyShuttleApp").controller("MotionDialerProcessListCtrl",["$scope","$uibModal","$translate","xAlert","Modal","MotionDialerProcess","uiGridConstants","usSpinnerService",function(t,e,n,a,s,i,l,o){t.initView=function(){return t.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"id",width:60},{name:"name"},{name:"queue",enableSorting:!1},{name:"extension",enableSorting:!1},{name:"list_name",cellClass:"ui-grid-vcenter",cellTemplate:"
{{row.entity.list ? row.entity.list.name : row.entity.list_name}}
",headerCellFilter:"translate",enableSorting:!1},{name:"status",cellTemplate:"",cellClass:"ui-grid-vcenter",filter:{type:l.filter.SELECT,selectOptions:[{value:"RUN",label:"RUNNING"},{value:"STOP",label:"STOPPED"}]}},{name:"updatedtime",sort:{direction:l.DESC},enableFiltering:!1},{name:"action",cellTemplate:'
',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},i.list({page:1,size:6e5}).$promise.then(function(e){e.status>0?t.gridOptions.data=e.response.RMI.rows:a.show("Please, check your connection!","danger")}).catch(function(t){a.error(t)}).finally(function(){o.stop("spinner-grid")})},t.createProcessQueue=function(){e.open({animation:!0,templateUrl:"app/motiondialer/process/list/list.create.queue.modal.html",controller:"MotionDialerProcessListCreateQueueCtrl"}).result.then(function(e){t.gridOptions.data.push(e.response.RMI)})},t.createProcessSquare=function(){e.open({animation:!0,templateUrl:"app/motiondialer/process/list/list.create.square.modal.html",controller:"MotionDialerProcessListCreateSquareCtrl"}).result.then(function(e){t.gridOptions.data.push(e.response.RMI)})},t.deleteItem=s.confirm.delete(function(e){return i.delete({id:e}).$promise.then(function(s){s.status>0?(_.remove(t.gridOptions.data,{id:e}),a.show(n.instant("MESSAGE_WELL_DONE"),"success")):a.show(s.message||"Please, check your connection!","danger")}).catch(function(t){a.error(t)})})}]),angular.module("xCallyShuttleApp").controller("MotionDialerProcessListCreateQueueCtrl",["$scope","$translate","$uibModalInstance","MotionDialerProcess","MotionDialerList","Trunk","VoiceQueue","Route","xAlert","List",function(t,e,n,a,s,i,l,o,r,c){t.form={},t.item={fetch_sort:"ASC",timeout:3},t.initModal=function(){var e;return l.get().$promise.then(function(e){return t.queues={},e&&(t.queues=e.rows),i.get().$promise}).then(function(e){return t.trunks={},e&&(t.trunks=e.rows),t.trunks.push({name:"fake"}),c.get().$promise}).then(function(t){if(t&&t.rows.length)return e=t.rows,console.log(e),s.list({page:1,size:6e5}).$promise}).then(function(n){if(t.lists=[],n&&n.status>0){console.log(n.response.RMI.rows);var a;_.forEach(e,function(e){(a=_.find(n.response.RMI.rows,{name:e.name}))&&t.lists.push(a)})}else r.show("Please, check your connection!","danger")}).catch(function(t){r.error(t)})},t.save=function(){var s="_process_"+t.item.name+Math.round(1e5*Math.random()),i="Generated by Motion Dialer, Process Queue"+(t.item.description?", "+t.item.description:"");return o.save({appdata:"Internal Call (MotionDialer)",context:"from-sip",exten:s.replace(/\s/g,"_"),type:"internal",description:i,Applications:[{appdata:["CDR(type)=tigerdial"],app:"Set",interval:"*,*,*,*",type:"internal"},{appdata:["QUEUE_PRIO=99"],app:"Set",interval:"*,*,*,*",type:"internal"},{appdata:["CALLERID(name)=${AUTODIAL_NAME}"],app:"Set",interval:"*,*,*,*",type:"internal"},{appdata:["CALLERID(num)=${AUTODIAL_PHONE}"],app:"Set",interval:"*,*,*,*",type:"internal"},{appdata:[t.item.queue.name,"","","",t.item.timeout],app:"Queue",interval:"*,*,*,*",type:"internal"}]}).$promise.then(function(e){return a.insert({name:t.item.name,id_list:t.item.list.id,queue:t.item.queue.name,device:t.item.device.name,context:"from-sip",extension:s.replace(/\s/g,"_"),description:t.item.description,auto_closed:!0,fetch_sort:t.item.fetch_sort,context_for_other_calls:"from-sip",extension_for_other_calls:"_TIGER-DIAL-PEER-DO-NOT-DELETE",hooks:[{target:"http://localhost:9000/api/report/integrations/tdDisposal",type:"http",http_method:"POST",json:"true",event:"hangup"}]}).$promise}).then(function(a){a.status>0?(r.show(e.instant("MESSAGE_WELL_DONE"),"success"),a.response.RMI.list=t.item.list,n.close(a)):r.show(a.message||"Please, check your connection!","danger")}).catch(function(t){r.error(t)})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").controller("MotionDialerProcessListCreateSquareCtrl",["$scope","$translate","$uibModalInstance","MotionDialerProcess","MotionDialerList","SquareProject","Trunk","Route","xAlert","List",function(t,e,n,a,s,i,l,o,r,c){t.form={},t.item={fetch_sort:"ASC"},t.initModal=function(){var e;return i.get().$promise.then(function(e){return t.projects={},e&&(t.projects=e.rows),l.get().$promise}).then(function(e){return t.trunks={},e&&(t.trunks=e.rows),t.trunks.push({name:"fake"}),c.get().$promise}).then(function(t){if(t&&t.rows.length)return e=t.rows,s.list({page:1,size:6e5}).$promise}).then(function(n){if(t.lists=[],n&&n.status>0){var a;_.forEach(e,function(e){(a=_.find(n.response.RMI.rows,{name:e.name}))&&t.lists.push(a)})}else r.show("Please, check your connection!","danger")}).catch(function(t){r.error(t)})},t.save=function(){var s="_process_"+t.item.name+Math.round(1e5*Math.random()),i="Generated by Motion Dialer, Process Square"+(t.item.description?", "+t.item.description:"");return o.save({appdata:"Internal Call (MotionDialer)",context:"from-sip",exten:s.replace(/\s/g,"_"),type:"internal",description:i,Applications:[{appdata:["CDR(type)=tigerdial"],app:"Set",interval:"*,*,*,*",type:"internal"},{appdata:["agi://127.0.0.1/square",t.item.project.name],app:"AGI",interval:"*,*,*,*",type:"internal"}]}).$promise.then(function(e){return a.insert({name:t.item.name,id_list:t.item.list.id,queue:"none",device:t.item.device.name,context:"from-sip",extension:s.replace(/\s/g,"_"),description:t.item.description,auto_closed:!0,channel_limit:15,fetch_sort:t.item.fetch_sort}).$promise}).then(function(a){a.status>0?(r.show(e.instant("MESSAGE_WELL_DONE"),"success"),a.response.RMI.list=t.item.list,n.close(a)):r.show(a.message||"Please, check your connection!","danger")}).catch(function(t){r.error(t)})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.motiondialer.processes.list",{url:"/list",templateUrl:"app/motiondialer/process/list/list.html",controller:"MotionDialerProcessListCtrl",authenticate:!0})}]),angular.module("xCallyShuttleApp").factory("MotionDialerProcess",["$resource",function(t){return t("/api/rest/process/:controller",null,{list:{method:"POST",params:{controller:"list"}},insert:{method:"POST",params:{controller:"insert"}},delete:{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},update:{method:"POST",params:{controller:"update"}},logs:{method:"GET",params:{controller:"logs"}}})}]),angular.module("xCallyShuttleApp").factory("MotionDialerSpooler",["$resource",function(t){return t("/api/rest/spooler/:controller/:retrieve/:peer",null,{list:{method:"POST",params:{controller:"list"}},delete:{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},summary:{method:"POST",params:{controller:"summary"}},close:{method:"POST",params:{controller:"retrieve",retrieve:"close"}},open:{method:"POST",params:{controller:"retrieve",retrieve:"open"}},blacklist:{method:"POST",params:{controller:"retrieve",retrieve:"blacklist"}},planning:{method:"POST",params:{controller:"retrieve",retrieve:"planning"}},planningpeer:{method:"POST",params:{controller:"retrieve",retrieve:"planning",peer:"peer"}},fresh:{method:"POST",params:{controller:"fresh"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.motiondialer.processes",{url:"/processes",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("MotionDialerProcessViewCtrl",["$scope","$translate","$stateParams","$uibModal","$state","xAlert","uiGridConstants","usSpinnerService","MotionDialerProcess","MotionDialerSpooler","Modal","VoiceQueue",function(t,e,n,a,s,i,l,o,r,c,d,u){function p(){return c.fresh({id_process:parseInt(n.id)}).$promise.then(function(e){e.status>0?(t.process.runtime||(t.process.runtime={}),t.process.runtime.fresh=e.response.RMI.value):i.show(e.message||"Please, check your connection!","danger")}).catch(function(t){i.error(t)})}t.process={},t.techs=["SIP","IAX","LOCAL","KHOMP"],t.dialFormats=["tech/device/number","tech/number@device"],t.checkDuplicates=["ALWAYS","IFOPEN","NO"],t.codecs=["g729","ilbc","gsm","ulaw","alaw"],t._=_,t.getProcess=function(){return r.find({id:parseInt(n.id)}).$promise.then(function(e){e.status>0?(e.response.RMI.codecs=e.response.RMI.codecs.split(","),t.process=e.response.RMI,t.process.hooks&&t.process.hooks.length?t.process.disposal=!0:t.process.disposal=!1,p()):i.show(e.message||"Please, check your connection!","danger")}).catch(function(t){i.error(t)})},t.getSummary=function(){return c.summary({id_process:parseInt(n.id)}).$promise.then(function(e){if(e.status>0){t.summary=e.response.RMI.totals,t.total=0;for(var n=0;n0?(n.response.RMI.codecs=n.response.RMI.codecs.split(","),t.process=n.response.RMI,t.process.hooks&&t.process.hooks.length?t.process.disposal=!0:t.process.disposal=!1,i.show(e.instant("MESSAGE_WELL_DONE"),"success")):n.response.RMI.errors.forEach(function(t){t?i.show(t.field+": "+t.error,"danger"):i.show("Please, check your connection!","danger")})}).catch(function(t){i.error(t)})},t.getSpooler=function(){return o.spin("spinner-grid"),t.gridOptions||(t.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,headerCellFilter:"translate",columnDefs:[{name:"name"},{name:"phones",cellTemplate:"
{{row.entity.phones.join(',')}}
",cellClass:"ui-grid-vcenter"},{name:"retrieve",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",filter:{type:l.filter.SELECT,selectOptions:[{value:"PLANNED_PEER",label:"PLANNED PEER"},{value:"PLANNED",label:"PLANNED"},{value:"BLACK_LIST",label:"BLACKLIST"},{value:"OPEN",label:"OPEN"},{value:"CLOSED",label:"CLOSED"},{value:"MAX_ATTEMPTS",label:"MAX ATTEMPTS"},{value:"COUNTER_BLOCK",label:"COUNTER BLOCK"},{value:"PLANNED_REQUEST",label:"PLANNED REQUEST"},{value:"DELETE",label:"DELETE"}]}},{name:"counter",cellTemplate:"
{{grid.appScope.getCounter(row.entity)}}
",cellClass:"ui-grid-vcenter",enableFiltering:!1},{name:"planningtime",cellTemplate:"
{{row.entity.planningtime | date:'yyyy-MM-dd HH:mm'}}
",cellClass:"ui-grid-vcenter",enableFiltering:!1},{name:"planningpeer",cellTemplate:"
{{row.entity.planningpeer}}
",cellClass:"ui-grid-vcenter",enableFiltering:!1},{name:"action",cellTemplate:'
',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]}),c.list({id_process:parseInt(n.id),page:1,size:6e5}).$promise.then(function(e){e.status>0?t.gridOptions.data=e.response.RMI.rows:i.show(e.message||"Please, check your connection!","danger")}).catch(function(t){i.error(t)}).finally(function(){o.stop("spinner-grid")})},t.deleteSpooler=d.confirm.delete(function(n){return c.delete({id:n}).$promise.then(function(a){a.status>0?(_.remove(t.gridOptions.data,{id:n}),i.show(e.instant("MESSAGE_WELL_DONE"),"success")):i.show(a.message||"Please, check your connection!","danger")}).catch(function(t){i.error(t)})}),t.historySpooler=function(e){a.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.spooler.history.modal.html",controller:"MotionDialerViewSpoolerHistoryCtrl",resolve:{historySpooler:function(){return e}}}).result.then(function(e){t.gridOptions.data.push(e.response.RMI)})},t.editSpooler=function(t){a.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.spooler.edit.modal.html",controller:"MotionDialerViewSpoolerEditCtrl",resolve:{entitySpooler:function(){return _.clone(t)}}}).result.then(function(e){_.merge(t,e)})},t.initSettings=function(){return t.queues=null,u.get().$promise.then(function(e){e&&(t.queues=e.rows)}).catch(function(t){i.error(t)})},t.createInterval=function(e){a.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.create.interval.modal.html",controller:"MotionDialerViewCreateIntervalCtrl",resolve:{objectProcess:function(){return t.process},intervalType:function(){return e},intervalValue:function(){return null},intervalIndex:function(){return null}}}).result.then(function(e){t.process=e})},t.editInterval=function(e,n,s){a.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.create.interval.modal.html",controller:"MotionDialerViewCreateIntervalCtrl",resolve:{objectProcess:function(){return t.process},intervalType:function(){return e},intervalValue:function(){return n},intervalIndex:function(){return s}}}).result.then(function(e){t.process=e})},t.deleteInterval=d.confirm.delete(function(n,a){var s={id:t.process.id};return a?(s.intervals=[],s.intervals=s.intervals.concat(t.process.intervals),s.intervals.splice(n,1)):(s.not_intervals=[],s.not_intervals=s.not_intervals.concat(t.process.not_intervals),s.not_intervals.splice(n,1)),r.update(s).$promise.then(function(n){n.status>0?(n.response.RMI.codecs=n.response.RMI.codecs.split(","),t.process=n.response.RMI,i.show(e.instant("MESSAGE_WELL_DONE"),"success")):n.response.RMI.errors.forEach(function(t){t?i.show(t.field+": "+t.error,"danger"):i.show("Please, check your connection!","danger")})}).catch(function(t){i.error(t)})}),t.runOrStop=function(){a.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.run.process.modal.html",controller:"MotionDialerViewRunProcessCtrl",resolve:{statusProcess:function(){return t.process.status}}}).result.then(function(e){t.process.status=e.status})},t.goToContacts=function(t){t&&s.go("main.contactmanager.contacts.list",{listId:t})},t.getCounter=function(t){return t.counter+t.counter_amd+t.counter_busy+t.counter_congestion+t.counter_drop+t.counter_failed+t.counter_noanswer+t.counter_nosuchextension+t.counter_ringtimeout}}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewCreateIntervalCtrl",["$scope","$translate","$uibModalInstance","$stateParams","MotionDialerProcess","xAlert","objectProcess","intervalType","intervalValue","intervalIndex","interval",function(t,e,n,a,s,i,l,o,r,c,d){function u(t){var e,n,a,s;return e=t.t_from&&t.t_to&&!t.alwaysTime?moment(t.t_from).format("HH:mm")+"-"+moment(t.t_to).format("HH:mm"):"*",t.wd_from&&"always"!==t.wd_from?(n=t.wd_from.toUpperCase(),t.wd_to&&"always"!==t.wd_to&&(n+="-"+t.wd_to.toUpperCase())):n="*",t.md_from&&"always"!==t.md_from?(a=t.md_from,t.md_to&&"always"!==t.md_to&&(a+="-"+t.md_to)):a="*",t.m_from&&"always"!==t.m_from?(s=t.m_from,t.m_to&&"always"!==t.m_to&&(s+="-"+t.m_to)):s="*",e+"|"+n+"|"+a+"|"+s}t.isNew=!1,t.form={},t.$interval=d.interval,r||(r=o?"8:00-20:00|MON-FRI|*|*":"00:01-07:59|SAT-SUN|*|*",t.isNew=!0),t.splittedInterval=function(t){var e,n={};return t.split("|").forEach(function(t,a){switch(a){case 0:"*"!==t?(e=t.split("-"),n.t_from=moment(e[0],"HH:mm"),n.t_to=moment(e[1],"HH:mm"),n.alwaysTime=!1):(n.t_from=moment(new Date),n.t_to=moment(new Date),n.alwaysTime=!0);break;case 1:"*"!==t?(e=t.split("-"),n.wd_from=e[0].toLowerCase(),n.wd_to=e[1]?e[1].toLowerCase():"always"):(n.wd_from="always",n.wd_to="always");break;case 2:"*"!==t?(e=t.split("-"),n.md_from=e[0],n.md_to=e[1]?e[1]:"always"):(n.md_from="always",n.md_to="always");break;case 3:"*"!==t?(e=t.split("-"),n.m_from=e[0],n.m_to=e[1]?e[1]:"always"):(n.m_from="always",n.m_to="always")}}),n}(r),t.save=function(){var a=u(t.splittedInterval);console.log(a);var r={id:l.id};return o?(r.intervals=[],r.intervals=r.intervals.concat(l.intervals),t.isNew?r.intervals.push(a):r.intervals[c]=a):(r.not_intervals=[],r.not_intervals=r.not_intervals.concat(l.not_intervals),t.isNew?r.not_intervals.push(a):r.not_intervals[c]=a),console.log(r),s.update(r).$promise.then(function(t){t.status>0?(t.response.RMI.codecs=t.response.RMI.codecs.split(","),i.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t.response.RMI)):t.response.RMI.errors.forEach(function(t){t?i.show(t.field+": "+t.error,"danger"):i.show("Please, check your connection!","danger")})}).catch(function(t){i.error(t)})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.motiondialer.processes.view",{url:"/view/:id",templateUrl:"app/motiondialer/process/view/view.html",controller:"MotionDialerProcessViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.motiondialer.processes.view.overview",{url:"/overview",templateUrl:"app/motiondialer/process/view/view.overview.html"}).state("main.motiondialer.processes.view.settings",{url:"/settings",templateUrl:"app/motiondialer/process/view/view.settings.html"}).state("main.motiondialer.processes.view.intervals",{url:"/intervals",templateUrl:"app/motiondialer/process/view/view.intervals.html"}).state("main.motiondialer.processes.view.spooler",{url:"/spooler",templateUrl:"app/motiondialer/process/view/view.spooler.html"})}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewRunProcessCtrl",["$scope","$stateParams","$uibModalInstance","$translate","statusProcess","MotionDialerProcess","xAlert",function(t,e,n,a,s,i,l){t.status="RUN"===s?"STOP":"RUN",t.yes=function(){i.update({id:parseInt(e.id),status:t.status}).$promise.then(function(t){t.status>0?(l.show(a.instant("MESSAGE_WELL_DONE"),"success"),n.close(t.response.RMI)):l.show(t.message||"Please, check your connection!","danger")}).catch(function(t){l.error(t)})},t.no=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewSpoolerEditCtrl",["$scope","$translate","$uibModalInstance","$stateParams","MotionDialerSpooler","xAlert","entitySpooler","Agent",function(t,e,n,a,s,i,l,o){t.moment=moment,t.entitySpooler=l,_.includes(["PLANNED","PLANNED_PEER"],t.entitySpooler.retrieve)||(t.entitySpooler.planningtime=moment()),t.initModal=function(){return o.get().$promise.then(function(e){t.agents=[],e&&e.rows.forEach(function(e){t.agents.push("SIP/"+e.name)})}).catch(function(t){i.error(t)})},t.save=function(){var a;switch(t.entitySpooler.retrieve){case"CLOSED":a=s.close({id:parseInt(t.entitySpooler.id)});break;case"OPEN":a=s.open({id:parseInt(t.entitySpooler.id)});break;case"BLACK_LIST":a=s.blacklist({id:parseInt(t.entitySpooler.id)});break;case"PLANNED":a=s.planning({id:parseInt(t.entitySpooler.id),date:moment(t.entitySpooler.planningtime).format("YYYY-MM-DD HH:mm")});break;case"PLANNED_PEER":a=s.planningpeer({id:parseInt(t.entitySpooler.id),date:moment(t.entitySpooler.planningtime).format("YYYY-MM-DD HH:mm"),peer:t.entitySpooler.planningpeer})}a?a.$promise.then(function(a){console.log(a),a.status>0?(i.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t.entitySpooler)):a.response.RMI.errors.forEach(function(t){t?i.show(t.field+": "+t.error,"danger"):i.show("Please, check your connection!","danger")})}).catch(function(t){i.error(t)}):i.show("RETRIEVE NOT FOUND","danger")},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewSpoolerHistoryCtrl",["$scope","$translate","$uibModalInstance","$stateParams","MotionDialerSpooler","xAlert","historySpooler",function(t,e,n,a,s,i,l){t.historySpooler=l,t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").factory("ReportMotionDialer",["$resource",function(t){return t("/api/report/motiondialer/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("ResetCtrl",["$scope","Auth","$location","$window","$rootScope","Setting","xAlert","$stateParams","$state",function(t,e,n,a,s,i,l,o,r){t.userReset={},t.getInfo=function(){return i.get({controller:"info"}).$promise.then(function(e){return t.info=e,i.get({id:1}).$promise}).then(function(e){t.setting=e}).catch(function(t){console.error(t)})},s.bodyLayout="login",t.$on("$viewContentLoaded",function(){Metronic.init(),Layout.init()}),t.reset=function(){e.reset({token:o.token,password:t.userReset.password}).then(function(){r.go("login",{reset:!0})}).catch(function(t){l.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("reset",{url:"/reset/:token",templateUrl:"app/reset/reset.html",controller:"ResetCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/login.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("SalesforceListCtrl",["$scope","SalesforceAccount","gridOptions","xAlert","$translate",function(t,e,n,a,s){t.initView=function(){var a={exporterCsvFilename:"salesforce_account.csv",columnDefs:[{name:"name",displayName:"APPLICATION_NAME"},{name:"username"},{name:"remoteUri",displayName:"APPLICATION_URI"},{name:"action",buttons:[{class:"blue-hoki",href:"/salesforce/view/{{row.entity.id}}/account",name:"profile"},{class:"green-jungle",name:"check",onClick:"grid.appScope.checkAccount(row.entity.id)"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=n.gridOptions(e,a,t)},t.checkAccount=function(t){return e.check({id:t}).$promise.then(function(){a.show(s.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")}).catch(function(){a.show(s.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.salesforce.list",{url:"/list",templateUrl:"app/salesforce/list/list.html",controller:"SalesforceListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("SalesforceAccount",["$resource",function(t){return t("/api/salesforce/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"},fields:{params:{controller:"fields"},isArray:!0},check:{params:{controller:"check"}}})}]).factory("SalesforceConfiguration",["$resource",function(t){return t("/api/salesforce/accounts/:accountId/configurations/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]).factory("SalesforceField",["$resource",function(t){return t("/api/salesforce/accounts/:accountId/configurations/:configurationId/fields/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.salesforce",{url:"/salesforce",template:"
",abstract:!0,data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.salesforce.view.configurations",{url:"/configurations",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("SalesforceViewConfigurationListCtrl",["$scope","$stateParams","$translate","gridOptions","SalesforceConfiguration","$uibModal",function(t,e,n,a,s,i){t.initView=function(){var n={exporterCsvFilename:"salesforce_configurations.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:125,buttons:[{class:"blue-hoki",href:"/salesforce/view/{{row.entity.AccountId}}/configurations/view/{{row.entity.id}}",name:"profile"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=a.gridOptions(s,n,t,{accountId:e.id})},t.createItem=function(){i.open({animation:!0,templateUrl:"app/salesforce/view/configuration/list/create.modal.html",controller:"SalesforceCreateConfigurationCtrl"}).result.then(function(){t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("SalesforceCreateConfigurationCtrl",["$scope","$translate","$uibModalInstance","SalesforceConfiguration","xAlert","$stateParams","channel",function(t,e,n,a,s,i,l){t.form={},t.item={},t.channels=l,t.item.channel="voice",t.item.type="Queue",t.save=function(){return a.save({accountId:i.id},t.item).$promise.then(function(t){s.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t)}).catch(function(t){s.error(t)})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.salesforce.view.configurations.list",{url:"/list",templateUrl:"app/salesforce/view/configuration/list/list.html",controller:"SalesforceViewConfigurationListCtrl"})}]),angular.module("xCallyShuttleApp").controller("SalesforceViewConfigurationViewCtrl",["$scope","$filter","$stateParams","$translate","socket","variable","xAlert","SalesforceAccount","SalesforceConfiguration","SalesforceField","Variable",function(t,e,n,a,s,i,l,o,r,c,d){t.$on("$destroy",function(){s.unsyncUpdates("salesforce_field")}),t.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:300,scrollInertia:0},t.fieldType=[{type:"string",title:"String"},{type:"variable",title:"Variable"},{type:"customVariable",title:"Custom Variable"}],t.descFieldType=[{type:"string",title:"String"},{type:"keyValue",title:"Key Value"}],t.groupVariableByGroup=function(t){switch(t.group){case"voice_queue":return"Voice: Queue";default:return"Other"}},t.initView=function(){t.configurationName="",t.subjectConfig=[],t.descriptionConfig=[],t.fieldConfig=[],t.variables=i},t.getConfiguration=function(){return r.get({accountId:n.id,id:n.configurationId}).$promise.then(function(e){t.configurationName=e.name,t.subjectConfig=e.Subject,t.descriptionConfig=e.Description,t.fieldConfig=e.Field,s.socket.on("salesforce_field:remove",function(e){_.remove(t.subjectConfig,{id:e.id}),_.remove(t.descriptionConfig,{id:e.id}),_.remove(t.fieldConfig,{id:e.id})})}).catch(function(t){l.error(t)})},t.getCustomVariables=function(){return d.get().$promise.then(function(e){t.customVariables=e.rows}).catch(function(t){l.error(t)})},t.getFields=function(){return o.fields({id:n.id}).$promise.then(function(n){t.accountFields=_.sortByOrder(e("salesforce")(n),"name","asc"),console.log(t.accountFields)}).catch(function(t){l.error(t)})},t.addItem=function(e){var a={};switch(e){case"subject":case"description":a={type:"string",content:""};break;case"field":a={content:""}}return r.save({accountId:n.id,id:n.configurationId,controller:e},a).$promise.then(function(n){switch(e){case"subject":t.subjectConfig.push(n);break;case"description":t.descriptionConfig.push(n);break;case"field":t.fieldConfig.push(n)}}).catch(function(t){l.error(t)})},t.changeType=function(e){"variable"===e.type?(e.content="",e.variableName=""):"string"===e.type?(e.VariableId=null,e.variableName=""):"customVariable"===e.type&&(e.VariableId=null,e.content=""),t.updateField(e)},t.updateField=function(t){return c.update({accountId:n.id,configurationId:n.configurationId,id:t.id},t).$promise.then(function(){}).catch(function(t){l.error(t)})},t.removeItem=function(t){return c.delete({accountId:n.id,configurationId:n.configurationId,id:t.id}).$promise.then(function(){l.show(a.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){l.error(t)})},t.changeDescType=function(e){"keyValue"===e.type?(e.content="","string"===e.keyType?(e.VariableId=null,e.variableName=""):"variable"===e.keyType?(e.keyContent="",e.VariableId=null):"customVariable"===e.keyType&&(e.keyContent="",e.variableName="")):"string"===e.type&&(e.VariableId=null,e.variableName="",e.key="",e.keyContent=""),t.updateField(e)},t.getSystemFieldOptions=function(e){if(e){var n=_.find(t.accountFields,"name",e);if(n)switch(n.type){case"picklist":return n.picklistValues;default:return}}},t.changeFieldType=function(e){e.content="",e.variableName="",e.nameField="",e.VariableId=null,t.updateField(e)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.salesforce.view.configurations.view",{url:"/view/:configurationId",templateUrl:"app/salesforce/view/configuration/view/view.html",controller:"SalesforceViewConfigurationViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("SalesforceViewCtrl",["$scope","$http","$stateParams","$translate","$location","WizardHandler","socket","xAlert","Modal","$filter","SalesforceAccount",function(t,e,n,a,s,i,l,o,r,c,d){t.initView=function(){return d.get({id:n.id}).$promise.then(function(e){t.account=e}).catch(function(t){o.error(t)})},t.updateItem=function(){return d.update({id:n.id},t.account).$promise.then(function(){o.show(a.instant("MESSAGE_WELL_DONE")+".","success")}).catch(function(t){o.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.salesforce.view",{url:"/view/:id",templateUrl:"app/salesforce/view/view.html",controller:"SalesforceViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.salesforce.view.account",{url:"/account",templateUrl:"app/salesforce/view/view.account.html"})}]),angular.module("xCallyShuttleApp").controller("SalesforceWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler","SalesforceAccount",function(t,e,n,a,s,i,l){t.translate=a,t.initWizard=function(){t.$translate=a,t.forms={},t.item={},t.item.serverUrl=n.protocol()+"://"+location.host},t.next=function(){i.wizard().next()},t.exitValidation=function(t){return t},t.createItem=function(){return l.save(t.item).$promise.then(function(){s.show(a.instant("MESSAGE_WELL_DONE")+".","success"),n.path("/salesforce/list")}).catch(function(t){s.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.salesforce.wizard",{url:"/wizard",templateUrl:"app/salesforce/wizard/wizard.html",controller:"SalesforceWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting.customization",{url:"/customization",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("CustomizationGeneralViewCtrl",["$scope","gridOptions","$uibModal","FileUploader","$cookieStore","xAlert","$translate","Setting","$rootScope",function(t,e,n,a,s,i,l,o,r){t.radioSwitch={isActive:!!r.license.custom,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"};var c=t.uploader=new a({url:"api/settings/logo/main",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+s.get("token")}});c.filters.push({name:"imageFilter",fn:function(t){var e="|"+t.type.slice(t.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(e)}}),c.onSuccessItem=function(t,e){r.settings.logo=e.logo,i.show(l.instant("MESSAGE_WELL_DONE"),"success")},c.onErrorItem=function(){i.show(l.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},c.onCompleteAll=function(){c.clearQueue()};var d=t.uploader2=new a({url:"api/settings/logo/login",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+s.get("token")}});d.filters.push({name:"imageFilter",fn:function(t){var e="|"+t.type.slice(t.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(e)}}),d.onSuccessItem=function(t,e){i.show(l.instant("MESSAGE_WELL_DONE"),"success")},d.onErrorItem=function(){i.show(l.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},d.onCompleteAll=function(){d.clearQueue()},t.initView=function(){return o.get({id:1}).$promise.then(function(e){t.settings={defaultLogo:e.defaultLogo,defaultLoginLogo:e.defaultLoginLogo,footerWhiteLabel:e.footerWhiteLabel,defaultFooterWhiteLabel:e.defaultFooterWhiteLabel}}).catch(function(t){i.error(t)})},t.update=function(){return o.update({id:1},t.settings).$promise.then(function(e){_.merge(r.settings,t.settings),i.show(l.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting.customization.view.general",{url:"/general",templateUrl:"app/setting/customization/view/general/general.html",controller:"CustomizationGeneralViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.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("CustomizationMotionBarViewCtrl",["$scope","gridOptions","$uibModal","FileUploader","$cookieStore","xAlert","$translate","Setting","$rootScope","$location",function(t,e,n,a,s,i,l,o,r,c){!r.license.preferred&&c.path("/landing"),t.radioSwitch={isActive:!!r.license.preferred,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"};var d=t.uploader=new a({url:"api/settings/logo/motionbar",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+s.get("token")}});d.filters.push({name:"imageFilter",fn:function(t){var e="|"+t.type.slice(t.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(e)}}),d.onSuccessItem=function(t,e){i.show(l.instant("MESSAGE_WELL_DONE"),"success")},d.onErrorItem=function(){i.show(l.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},d.onCompleteAll=function(){d.clearQueue()},t.initView=function(){return o.get({id:1}).$promise.then(function(e){t.settings={defaultMotionBarLogo:e.defaultMotionBarLogo}}).catch(function(t){i.error(t)})},t.update=function(){return o.update({id:1},t.settings).$promise.then(function(t){i.show(l.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting.customization.view.motionbar",{url:"/motionbar",templateUrl:"app/setting/customization/view/motionbar/motionbar.html",controller:"CustomizationMotionBarViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.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("CustomizationViewCtrl",["$scope",function(t){}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting.customization.view",{url:"/view",templateUrl:"app/setting/customization/view/view.html",controller:"CustomizationViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.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").config(["$stateProvider",function(t){t.state("main.setting.general",{url:"/general",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("GeneralMainViewCtrl",["$scope","xAlert","$translate","Setting",function(t,e,n,a){t.initView=function(){return a.get({id:1}).$promise.then(function(e){t.settings={agi_port:e.agi_port,min_internal:e.min_internal,min_mailbox:e.min_mailbox,securePassword:e.securePassword,mailRoutingCapacity:e.mailRoutingCapacity,chatRoutingCapacity:e.chatRoutingCapacity,logoutOnWindowClose:e.logoutOnWindowClose}}).catch(function(t){e.error(t)})},t.update=function(){return a.update({id:1},t.settings).$promise.then(function(){e.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){e.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting.general.view.main",{url:"/main",templateUrl:"app/setting/general/view/main/main.html",controller:"GeneralMainViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("GeneralViewCtrl",["$scope",function(t){}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting.general.view",{url:"/view",templateUrl:"app/setting/general/view/view.html",controller:"GeneralViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("License",["$resource",function(t){return t("/api/licenses/:id/:controller",{id:"@id"},{request:{method:"POST",params:{id:"request"}},update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting.license",{url:"/license",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("LicenseUpdateCtrl",["$scope","$translate","$uibModalInstance","xAlert","licenseString","License",function(t,e,n,a,s,i){t.form={},t.item={license:s.value},t.update=function(){return i.update(t.item).$promise.then(function(t){a.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t)}).catch(function(t){a.error(t)})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").controller("LicenseViewCtrl",["$scope","$rootScope","$translate","License","xAlert","$window","$uibModal",function(t,e,n,a,s,i,l){t.radioSwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.initView=function(){return a.get(function(e){t.item=e.license,t.licenseString=e.licenseString})},t.submitRequest=function(){return a.request(t.item,function(){s.show(n.instant("MESSAGE_WELL_DONE"),"success")},function(t){switch(t.status){case 304:s.show(t.statusText,"info");break;default:s.error(t)}})},t.updateLicense=function(){l.open({animation:!0,templateUrl:"app/setting/license/view/update.modal.html",controller:"LicenseUpdateCtrl",resolve:{licenseString:{value:t.licenseString}}}).result.then(function(){i.location.reload()})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting.license.view",{url:"/view",templateUrl:"app/setting/license/view/view.html",controller:"LicenseViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/pricing-tables.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("Externip",["$resource",function(t){return t("/api/network/externips/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("Localnet",["$resource",function(t){return t("/api/network/localnets/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting.network",{url:"/network",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("ExternipCtrl",["$scope","$uibModal","gridOptions","Externip",function(t,e,n,a){t.initView=function(){var e={exporterCsvFilename:"network_externip.csv",columnDefs:[{name:"value"},{name:"action",buttons:[{class:"blue-hoki",onClick:"grid.appScope.createItem(row.entity)",name:"profile"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=n.gridOptions(a,e,t)},t.createItem=function(n){e.open({animation:!0,templateUrl:"app/setting/network/view/externip/externip.create.modal.html",controller:"ExternipCreateCtrl",resolve:{item:n}}).result.then(function(){t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ExternipCreateCtrl",["$scope","$translate","$uibModalInstance","$stateParams","Externip","xAlert","item",function(t,e,n,a,s,i,l){t.initModal=function(){t.form={},t.item=l||{},t.title=l?e.instant("APPLICATION_EDIT_EXTERNIP"):e.instant("APPLICATION_NEW_EXTERNIP")},t.save=function(){return l?s.update({id:t.item.id},t.item).$promise.then(function(t){i.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t)}).catch(function(t){i.error(t)}):s.save({},t.item).$promise.then(function(t){i.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t)}).catch(function(t){i.error(t)})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting.network.view.externip",{url:"/externip",templateUrl:"app/setting/network/view/externip/externip.html",controller:"ExternipCtrl"})}]),angular.module("xCallyShuttleApp").controller("LocalnetCtrl",["$scope","gridOptions","Localnet","$uibModal",function(t,e,n,a){t.initView=function(){var a={exporterCsvFilename:"network_localnet.csv",columnDefs:[{name:"value"},{name:"action",buttons:[{class:"blue-hoki",onClick:"grid.appScope.createItem(row.entity)",name:"profile"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=e.gridOptions(n,a,t)},t.createItem=function(e){a.open({animation:!0,templateUrl:"app/setting/network/view/localnet/localnet.create.modal.html",controller:"LocalnetCreateCtrl",resolve:{item:e}}).result.then(function(){t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("LocalnetCreateCtrl",["$scope","$translate","$uibModalInstance","$stateParams","Localnet","xAlert","item",function(t,e,n,a,s,i,l){t.initModal=function(){if(t.form={},t.item=l||{},t.title=l?e.instant("APPLICATION_EDIT_LOCALNET"):e.instant("APPLICATION_NEW_LOCALNET"),l&&l.value){var n=t.item.value.split("/");n.length>1&&(t.item.address=n[0],t.item.mask=n[1])}},t.save=function(){var a=t.item.address+"/"+t.item.mask;return l?s.update({id:t.item.id},{value:a}).$promise.then(function(t){i.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t)}).catch(function(t){i.error(t)}):s.save({},{value:a}).$promise.then(function(t){i.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t)}).catch(function(t){i.error(t)})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting.network.view.localnet",{url:"/localnet",templateUrl:"app/setting/network/view/localnet/localnet.html",controller:"LocalnetCtrl"})}]),angular.module("xCallyShuttleApp").controller("StunaddrCtrl",["$scope","Setting","xAlert","$translate",function(t,e,n,a){t.initView=function(){return e.get({id:1}).$promise.then(function(e){t.item={stunaddr:e.stunaddr}}).catch(function(t){n.error(t)})},t.update=function(){return e.update({id:1},t.item).$promise.then(function(){n.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){n.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting.network.view.stunaddr",{url:"/stunaddr",templateUrl:"app/setting/network/view/stunaddr/stunaddr.html",controller:"StunaddrCtrl"})}]),angular.module("xCallyShuttleApp").controller("NetworkViewCtrl",function(){}),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting.network.view",{url:"/view",templateUrl:"app/setting/network/view/view.html",controller:"NetworkViewCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting",{url:"/setting",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:18}}})}]),angular.module("xCallyShuttleApp").factory("Setting",["$resource",function(t){return t("/api/settings/:id/:controller/:param",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("Smtp",["$resource",function(t){return t("/api/mail/servers/out/:id/:controller/:controller2",{id:"@id"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting.smtp",{url:"/smtp",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("SmtpViewCtrl",["$scope","$stateParams","$translate","socket","MailServerOut","Setting","MailAccount","xAlert","Modal",function(t,e,n,a,s,i,l,o,r){t.initView=function(){return t.smtpDisabled=!1,t.isActive=!0,t.size="small",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.CONST_TIMEOUT=3e4,t.item={account:{service:!0,MailServerOut:{ssl:!1}}},t.$on("$destroy",function(){a.socket.removeAllListeners("mail_server_out:state")}),a.socket.on("mail_server_out:state",function(e){t.item&&Number(e.id)===t.item.account.MailServerOut.id&&(t.item.account.MailServerOut.state=e.state,t.item.account.MailServerOut.source=JSON.parse(e.source))}),i.get({id:"smtp"}).$promise.then(function(e){t.item.account=e}).catch(function(e){switch(e.status){case 404:t.item.account.name=null,t.item.account.address=null,t.item.account.description="Custom account",t.item.account.MailServerOut={port:465,ssl:!0},o.show("Service SMTP server not configured.","info");break;default:o.error(e)}})},t.updateItem=function(){return t.item.account.id?(delete t.item.account.MailServerOut.state,delete t.item.account.MailServerOut.source,i.update({id:"smtp",controller:t.item.account.id},t.item.account).$promise.then(function(){o.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){o.error(t)})):i.save({id:"smtp"},{description:t.item.account.description,name:t.item.account.name,address:t.item.account.address,service:t.item.account.service,custom:!0,MailServerOut:t.item.account.MailServerOut}).$promise.then(function(e){t.item.account=e,o.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){o.error(t)})},t.test=function(){return s.get({id:t.item.account.MailServerOut.id,controller:"test"}).$promise.catch(function(t){console.error(t)})},t.delete=r.confirm.delete(function(){return i.delete({id:"smtp"}).$promise.then(function(){o.show(n.instant("MESSAGE_WELL_DONE")+"!","success"),t.item={account:{service:!0,name:null,address:null,description:"Custom account",MailServerOut:{port:465,ssl:!0}}}}).catch(function(t){o.error(t)})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting.smtp.view",{url:"/view",templateUrl:"app/setting/smtp/view/view.html",controller:"SmtpViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.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").config(["$stateProvider",function(t){t.state("main.setting.system",{url:"/system",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("SystemViewConsoleCtrl",["$scope","Setting","xAlert","usSpinnerService","$timeout","$translate","socket",function(t,e,n,a,s,i,l){function o(e){var n=_.findIndex(t.commandHistory.commands,function(t){return t===e});-1!==n&&t.commandHistory.commands.splice(n,1),t.commandHistory.commands.unshift(e)}t.output=""+i.instant("APPLICATION_CONSOLE_WELCOME")+"
",t.item={command:""},t.commandHistory={commands:[],index:-1},t.busy=!1,t.cmdFocus=function(){s(function(){angular.element("#command").trigger("focus")})},t.sendCmd=function(){if(t.commandHistory.index=-1,t.tmp=t.item.command,t.item.command="",t.output+="motion*CLI> "+t.tmp+"
",t.tmp)return o(t.tmp.trim()),t.busy=!0,a.spin("console-spinner"),e.save({controller:"asterisk"},{command:t.tmp}).$promise.catch(function(t){n.error(t)})},l.socket.on("console:result",function(e){t.output+=e.content.replace(/(?:\r\n|\r|\n)/g,"
").replace("Response: Follows
Privilege: Command
","").replace(/ActionID: .[0-9]*
/,"").replace(/ActionID: .[0-9]*/,"")+"
",a.stop("console-spinner"),t.busy=!1,t.cmdFocus()}),l.socket.on("console:error",function(e){a.stop("console-spinner"),t.output+="command error:"+e.data.message+"
",t.busy=!1,t.cmdFocus()}),t.keyUp=function(e){switch(e.keyCode){case 40:t.commandHistory.commands[t.commandHistory.index-1]?t.item.command=t.commandHistory.commands[--t.commandHistory.index]:(t.item.command="",t.commandHistory.index=-1);break;case 38:t.commandHistory.commands[t.commandHistory.index+1]&&(t.item.command=t.commandHistory.commands[++t.commandHistory.index]);break;case 37:case 39:break;default:t.commandHistory.index=-1}},s(function(){angular.element("#command").trigger("focus"),a.stop("console-spinner")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting.system.view.console",{url:"/console",templateUrl:"app/setting/system/view/console/console.html",controller:"SystemViewConsoleCtrl"})}]),angular.module("xCallyShuttleApp").controller("SystemViewGeneralCtrl",["$scope","$stateParams","$translate","socket","Setting","xAlert","usSpinnerService",function(t,e,n,a,s,i,l){function o(e){t.system.memory={labels:_.keys(e.memory.details),values:_.values(_.map(e.memory.details,function(t){return Math.round(t/1024)})),Total:Math.round(e.memory.Total/1024)},l.stop("memory-spinner"),t.system.disks=[],_.forEach(e.disks,function(e){t.system.disks.push({mount:e.mount,size:Number((e.size/1048576).toFixed(2)),values:_.values(_.map(e.details,function(t){return Number((t/1048576).toFixed(2))})),labels:_.keys(e.details)})}),t.system.mount=t.system.disks[0],l.stop("disk-spinner"),t.system.cpu={motion:Math.round(e.cpu.motion),cores:[]},_.forEach(e.cpu.cores,function(e){delete e.nice,delete e.irq,t.system.cpu.cores.push({labels:_.keys(e),values:_.values(e),colours:["#803690","#DCDCDC","#00ADF9"]})}),l.stop("cpu-spinner"),t.loading=!1}t.system={mount:void 0},t.initView=function(){return l.spin("memory-spinner"),l.spin("disk-spinner"),l.spin("cpu-spinner"),t.loading=!0,s.get({controller:"system"}).$promise.then(function(t){o(t)}).catch(function(e){l.stop("memory-spinner"),l.stop("disk-spinner"),l.stop("cpu-spinner"),t.loading=!1,i.error(e)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting.system.view.general",{url:"/general",templateUrl:"app/setting/system/view/general/general.html",controller:"SystemViewGeneralCtrl"})}]),angular.module("xCallyShuttleApp").controller("SystemViewLogsCtrl",["$scope","$stateParams","$translate","socket","Setting","xAlert","usSpinnerService",function(t,e,n,a,s,i,l){t.logfiles=["access","motion-info","motion-error","dashboard-info","dashboard-error","agi-info","agi-error","ami-info","ami-error","api-info","api-error","chat-info","chat-error","mail-info","mail-error","fax-info","fax-error","sms-info","sms-error","openchannel-info","openchannel-error"],t.item={filename:"access"},t.getLog=function(){return t.log="",t.loading=!0,l.spin("logs-spinner"),s.get({controller:"logs",filename:t.item.filename}).$promise.then(function(e){t.log=e.log,t.loading=!1,l.stop("logs-spinner")}).catch(function(e){l.stop("logs-spinner"),t.loading=!1,i.error(e)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting.system.view.logs",{url:"/logs",templateUrl:"app/setting/system/view/logs/logs.html",controller:"SystemViewLogsCtrl"})}]),angular.module("xCallyShuttleApp").controller("SystemViewCtrl",["$scope",function(t){}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting.system.view",{url:"/view",templateUrl:"app/setting/system/view/view.html",controller:"SystemViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("UpdateListCtrl",["$scope","gridOptions","$uibModal","$location","Update","xAlert","$log","$translate","$state",function(t,e,n,a,s,i,l,o,r){t.initCounter=function(){t.$on("timer-stopped",function(t,e){i.show(o.instant("MESSAGE_UPDATE_COMPLETED"),"success"),r.go("main.setting.updates.list")})},t.initView=function(){return s.get({controller:"current"}).$promise.then(function(e){t.currentVersion=e.currentVersion,t.latestVersion=e.latestVersion}).catch(function(t){console.log(t)})},t.pull=function(){n.open({animation:!0,templateUrl:"app/setting/update/list/list.pull.html",controller:"UpdateListPullCtrl"}).result.then(function(){return a.path("/setting/updates/landing"),s.pull().$promise.then(function(e){var n=!1;e&&(e.summary&&_.forOwn(e.summary,function(t){t&&(n=!0)}),(e.insertions&&!_.isEmpty(e.insertions)||e.deletions&&!_.isEmpty(e.deletions))&&(n=!0)),n?(t.$broadcast("timer-stop"),document.getElementsByTagName("timer")[0].stop()):(i.show(o.instant("MESSAGE_NO_UPDATES"),"success"),a.path("/setting/updates/list"))}).catch(function(t){console.log(t),i.error(t),a.path("/setting/updates/list")})},function(){l.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting.updates.list",{url:"/list",templateUrl:"app/setting/update/list/list.html",controller:"UpdateListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{name:"css",insertBefore:"#ng_load_plugins_before",files:["assets/css/pricing-table.css"]}])}]}}).state("main.setting.updates.landing",{url:"/landing",templateUrl:"app/setting/update/list/landing.html",controller:"UpdateListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{name:"css",insertBefore:"#ng_load_plugins_before",files:["assets/css/error.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("UpdateListPullCtrl",["$scope","$uibModalInstance",function(t,e){t.modal={dismissable:!0,title:"Confirm Update",html:"Are you sure you want to update?",buttons:[{classes:"btn btn-success",text:"Update",click:function(){e.close()}},{classes:"btn default",text:"Cancel",click:function(){e.dismiss("cancel")}}]}}]),angular.module("xCallyShuttleApp").factory("Update",["$resource",function(t){return t("/api/updates/:id/:controller",{id:"@id"},{pull:{method:"GET",params:{id:"pull"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.setting.updates",{url:"/updates",template:"
",abstract:!0,data:{permissions:{only:["hasUpdate"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("SquareOdbcListCtrl",["$scope","$uibModal","$translate","SquareOdbc","gridOptions","xAlert",function(t,e,n,a,s,i){t.initView=function(){var e={exporterCsvFilename:"odbc.csv",columnDefs:[{name:"name"},{name:"dsn",displayName:"APPLICATION_ODBC"},{name:"description"},{name:"action",width:250,buttons:[{class:"blue-hoki",href:"/square/odbc/view/{{row.entity.id}}/settings",name:"settings"},{class:"green-jungle",name:"check",onClick:"grid.appScope.checkConnection(row.entity.id)"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=s.gridOptions(a,e,t)},t.createItem=function(){e.open({animation:!0,templateUrl:"app/square/odbc/list/list.create.modal.html",controller:"SquareOdbcListCreateCtrl"}).result.then(function(){t.gridOptions.getPage()})},t.checkConnection=function(t){return a.get({id:t,controller:"check"}).$promise.then(function(){i.show(n.instant("MESSAGE_CONNECTION_VERIFIED"),"success")}).catch(function(){i.show(n.instant("MESSAGE_CONNECTION_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").controller("SquareOdbcListCreateCtrl",["$scope","$translate","$uibModalInstance","SquareOdbc","xAlert",function(t,e,n,a,s){t.form={},t.item={},t.item.dsn||(t.item.dsn="DRIVER=MySQL;SERVER=127.0.0.1;UID=xcall;PWD=password;DATABASE=motion"),t.save=function(){return a.save(t.item).$promise.then(function(t){s.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t)}).catch(function(t){s.error(t)})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.square.odbc.list",{url:"/list",templateUrl:"app/square/odbc/list/list.html",controller:"SquareOdbcListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.square.odbc",{url:"/odbc",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").factory("SquareOdbc",["$resource",function(t){return t("/api/square/odbc/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SquareOdbcViewCtrl",["$scope","$translate","$stateParams","SquareOdbc","xAlert",function(t,e,n,a,s){t.odbc={},t.getOdbc=function(){return a.get({id:n.id}).$promise.then(function(e){t.odbc=e}).catch(function(t){s.error(t)})},t.updateOdbc=function(){var i=angular.copy(t.odbc);return a.update({id:n.id},i).$promise.then(function(){s.show(e.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){s.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.square.odbc.view",{url:"/view/:id",templateUrl:"app/square/odbc/view/view.html",controller:"SquareOdbcViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.square.odbc.view.settings",{url:"/settings",templateUrl:"app/square/odbc/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("SquareProjectListCtrl",["$scope","$uibModal","SquareProject","gridOptions","uiGridConstants",function(t,e,n,a,s){t.initView=function(){var e={exporterCsvFilename:"projects.csv",columnDefs:[{name:"name"},{name:"description"},{name:"createdAt",displayName:"APPLICATION_CREATED_AT",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.createdAt | date:'yyyy-MM-dd HH:mm:ss'}}
",filterHeaderTemplate:'
',filters:[{name:"From",condition:s.filter.GREATER_THAN_OR_EQUAL,hasTime:!0},{name:"To",condition:s.filter.LESS_THAN_OR_EQUAL,hasTime:!0}]},{name:"updatedAt",displayName:"APPLICATION_UPDATED_AT",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.updatedAt | date:'yyyy-MM-dd HH:mm:ss'}}
",filterHeaderTemplate:'
',filters:[{name:"From",condition:s.filter.GREATER_THAN_OR_EQUAL,hasTime:!0},{name:"To",condition:s.filter.LESS_THAN_OR_EQUAL,hasTime:!0}]},{name:"action",width:160,buttons:[{class:"blue-hoki",href:"/square/projects/view/{{row.entity.id}}",name:"settings"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=a.gridOptions(n,e,t)},t.createItem=function(){e.open({animation:!0,templateUrl:"app/square/project/list/list.create.modal.html",controller:"SquareProjectListCreateCtrl"}).result.then(function(e){console.log(e),t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("SquareProjectListCreateCtrl",["$scope","$translate","$uibModalInstance","$location","SquareProject","xAlert",function(t,e,n,a,s,i){t.form={},t.item={},t.save=function(){return s.save(t.item).$promise.then(function(t){n.close(t),a.path("/square/projects/view/"+t.id)}).catch(function(t){i.error(t)})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.square.projects.list",{url:"/list",templateUrl:"app/square/project/list/list.html",controller:"SquareProjectListCtrl",authenticate:!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.square.projects",{url:"/projects",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").factory("SquareProject",["$resource",function(t){return t("/api/square/projects/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SquareProjectViewCtrl",["$scope","$stateParams","Auth","xAlert","SquareProject","socket","$translate","$log","$uibModal",function(t,e,n,a,s,i,l,o,r){t.squareProject={},t.$on("$destroy",function(){i.unsyncUpdates("square_project")}),t.getProject=function(){return s.get({id:e.id}).$promise.then(function(e){t.squareProject=e,angular.element(document).ready(function(){window.onerror=function(t,e,n){try{null!==t&&-1!==t.indexOf("Script error.")||((new Image).src="assets/plugins/mxgraph/images/1x1.png?msg="+encodeURIComponent(t)+"&url="+encodeURIComponent(e)+"&lnum="+encodeURIComponent(n))}catch(t){a.error(t)}},e.token=n.getToken();var t=new EditorUi(new Editor);t.openString(e.preproduction,e.name,e),t.editor.graphChangeListener=function(t,e){e.properties.rtChange||!1||(this.modified=!0)}}),i.socket.on("square_project:save",function(n){n.id===e.id&&(t.squareProject=_.merge(t.squareProject,n))})}).catch(function(t){a.error(t)})},t.editNotes=function(){r.open({animation:!0,templateUrl:"app/square/project/view/projectNotes.modal.html",controller:["$scope","$uibModalInstance","notes",function(t,e,n){t.notes=n,t.close=function(){e.close(t.notes)},t.cancel=function(){e.dismiss("cancel")}}],resolve:{notes:{value:t.squareProject.notes}}}).result.then(function(t){return s.update({id:e.id},{notes:t.value}).$promise.then(function(){a.show(l.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){a.error(t)})},function(){o.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.square.projects.view",{url:"/view/:id",templateUrl:"app/square/project/view/view.html",controller:"SquareProjectViewCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",serie:!0,cache:!1,files:["assets/plugins/mxgraph/css/common.css","assets/plugins/mxgraph/css/explorer.css","assets/plugins/mxgraph/styles/grapheditor.css","assets/plugins/mxgraph/styles/custom.css","assets/plugins/square/js/custom.js","assets/plugins/mxgraph/js/mxClient.js","assets/plugins/square/js/Editor.js","assets/plugins/square/js/Graph.js","assets/plugins/square/js/EditorUi.js","assets/plugins/square/js/Actions.js","assets/plugins/square/js/Menus.js","assets/plugins/square/js/Sidebar.js","assets/plugins/square/js/Toolbar.js","assets/plugins/square/js/Dialogs.js"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.square.realtime",{url:"/realtime",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:14}}})}]),angular.module("xCallyShuttleApp").factory("ReportSquare",["$resource",function(t){return t("/api/report/square/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportSquareDetail",["$resource",function(t){return t("/api/report/square/details/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SquareRealtimeViewGeneralCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportSquare","usSpinnerService","$q","uiGridConstants",function(t,e,n,a,s,i,l,o,r,c){function d(e){return o.spin("spinner-grid"),l.get(p).$promise.then(function(e){t.gridOptions.totalItems=e.count,t.gridOptions.data=e.rows}).catch(function(t){i.error(t)}).finally(function(){e&&u(),o.stop("spinner-grid")})}function u(){s.socket.on("report_square:save",function(e){if(e.leaveAt)_.remove(t.gridOptions.data,{id:e.id})&&d();else if(!_.find(t.gridOptions.data,{id:e.id})&&t.gridOptions.data.length
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1}],data:[],gridMenuTitleFilter:function(t){var e=r.defer();return e.resolve(a.instant(t)),e.promise},onRegisterApi:function(e){t.gridApi=e,t.gridApi.grid.registerDataChangeCallback(function(){m(t.gridApi.core.getVisibleRows(t.gridApi.grid).length)}),t.gridApi.core.on.sortChanged(t,function(t,e){0===e.length?p.order=null:p.order=e[0].name+" "+e[0].sort.direction.toUpperCase(),d()}),t.gridApi.pagination.on.paginationChanged(t,function(t,e){p.offset=(t-1)*e,p.limit=e,d()}),t.gridApi.core.on.filterChanged(t,function(){this.grid.columns.forEach(function(t){t.filters[0].term?p[t.name]=t.filters[0].term:delete p[t.name]}),d()})}},d(!0)};var m=function(t){var e=t?30*t+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",e+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*t+"px")};t.$on("$destroy",function(){s.unsyncUpdates("report_square")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.square.realtime.view.general",{url:"/general",templateUrl:"app/square/realtime/view/general/general.html",controller:"SquareRealtimeViewGeneralCtrl"})}]),angular.module("xCallyShuttleApp").controller("SquareRealtimeViewCtrl",["$scope",function(t){}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.square.realtime.view",{url:"/view",templateUrl:"app/square/realtime/view/view.html",controller:"SquareRealtimeViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("SquareRecordingListCtrl",["$scope","SquareRecording","gridOptions","uiGridConstants",function(t,e,n,a){t.SquareRecording=e;t.initView=function(){var s={exporterCsvFilename:"recordings.csv",rowHeight:30,columnDefs:[{name:"uniqueid"},{name:"callerid",displayName:"APPLICATION_CALLERIDNUM"},{name:"filename"},{name:"extension"},{name:"projectName",displayName:"APPLICATION_PROJECT"},{name:"createdAt",displayName:"APPLICATION_DATE",cellFilter:"date:'yyyy-MM-dd HH:mm'",filterHeaderTemplate:'
',filters:[{name:"From",condition:a.filter.GREATER_THAN_OR_EQUAL,hasTime:!0},{name:"To",condition:a.filter.LESS_THAN_OR_EQUAL,hasTime:!0}],sort:{direction:a.DESC,priority:0}},{name:"audio",displayName:"",width:100,enableSorting:!1,enableFiltering:!1,cellClass:"ui-grid-vcenter",cellTemplate:"
{{'MESSAGE_GSM_PREVIEW_NOT_SUPPORTED' | translate}}
"},{name:"action",width:80,buttons:[{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.filename || row.entity.uniqueid, row.entity.id)"},{directive:""}]}]};t.gridOptions=n.gridOptions(e,s,t)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.square.recordings.list",{url:"/list",templateUrl:"app/square/recording/list/list.html",controller:"SquareRecordingListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.square.recordings",{url:"/recordings",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").factory("SquareRecording",["$resource",function(t){return t("/api/square/recordings/:id/:controller",{id:"@id"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.square",{url:"/square",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:14}}})}]),angular.module("xCallyShuttleApp").factory("Agent",["$resource",function(t){return t("/api/agents/:id/:controller/:controller1/:controller2/:controller3",{id:"@id"},{changePassword:{method:"PUT",params:{controller:"password"}},update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.staff.agents",{url:"/agents",template:"
",abstract:!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:4}}})}]),angular.module("xCallyShuttleApp").controller("AgentListCtrl",["$scope","$timeout","Agent","Auth","gridOptions",function(t,e,n,a,s){t.initView=function(){t.Auth=a;var e={exporterCsvFilename:"agents.csv",columnDefs:[{name:"fullname"},{name:"name",displayName:"APPLICATION_USERNAME"},{name:"internal"},{name:"email"},{name:"description"},{name:"action",width:100,buttons:[{class:"blue-hoki",href:"/staff/agents/view/{{row.entity.id}}/account",name:"profile"},{class:"green-meadow",href:"/staff/agents/view/{{row.entity.id}}/queues/voice",name:"queues"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.fullname, row.entity.id)"}]}]};t.gridOptions=s.gridOptions(n,e,t)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.staff.agents.list",{url:"/list",templateUrl:"app/staff/agent/list/list.html",controller:"AgentListCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:4}}})}]),angular.module("xCallyShuttleApp").controller("AgentViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$cookieStore","Agent","FileUploader","Auth","MailQueue","User","VoiceQueue","ChatQueue","FaxQueue","SmsQueue","OpenChannelQueue","Setting",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h,f){t.Auth=r,t.forms={},t.params={penalty:0},t.radioSwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"};var A=function(e){return{select:function(n,a){return l.save(n,{values:a,penalty:t.params.penalty}).$promise.then(function(){e()}).catch(function(t){console.log(t)})},deselect:function(t){return l.delete(t).$promise.then(function(){e()}).catch(function(t){console.log(t)})}}};t.initVoiceQueues=function(){var e={},n={};return t.penalty=0,u.get().$promise.then(function(t){return e.queues=_.map(t.rows,function(t){return{name:t.name}}),l.get({id:s.id,controller:"voice",controller2:"queues"}).$promise}).then(function(t){n.queues=_.map(t.rows,function(t){return{name:t.name,penalty:t.UserHasVoiceQueue.penalty}})}).then(function(){ComponentsDropdowns.bindAgent(e,n,"voice",s.id,A,t.initVoiceQueues)}).catch(function(t){console.error(t)})},t.initChatQueues=function(){var e={},n={};return t.penalty=0,p.get().$promise.then(function(t){return e.queues=_.map(t.rows,function(t){return{id:t.id,name:t.name}}),l.get({id:s.id,controller:"chat",controller2:"queues"}).$promise}).then(function(t){n.queues=_.map(t.rows,function(t){return{id:t.id,name:t.name,penalty:t.UserHasChatQueue.penalty}})}).then(function(){ComponentsDropdowns.bindAgent(e,n,"chat",s.id,A,t.initChatQueues)}).catch(function(t){console.error(t)})},t.initMailQueues=function(){var e={},n={};return t.penalty=0,c.get().$promise.then(function(t){return e.queues=_.map(t.rows,function(t){return{id:t.id,name:t.name}}),l.get({id:s.id,controller:"mail",controller2:"queues"}).$promise}).then(function(t){n.queues=_.map(t.rows,function(t){return{id:t.id,name:t.name,penalty:t.UserHasMailQueue.penalty}})}).then(function(){ComponentsDropdowns.bindAgent(e,n,"mail",s.id,A,t.initMailQueues)}).catch(function(t){console.error(t)})},t.initSmsQueues=function(){var e={},n={};return t.penalty=0,g.get().$promise.then(function(t){return e.queues=_.map(t.rows,function(t){return{id:t.id,name:t.name}}),l.get({id:s.id,controller:"sms",controller2:"queues"}).$promise}).then(function(t){n.queues=_.map(t.rows,function(t){return{id:t.id,name:t.name,penalty:t.UserHasSmsQueue.penalty}})}).then(function(){ComponentsDropdowns.bindAgent(e,n,"sms",s.id,A,t.initSmsQueues)}).catch(function(t){console.error(t)})},t.initFaxQueues=function(){var e={},n={};return t.penalty=0,m.get().$promise.then(function(t){return e.queues=_.map(t.rows,function(t){return{id:t.id,name:t.name}}),l.get({id:s.id,controller:"fax",controller2:"queues"}).$promise}).then(function(t){n.queues=_.map(t.rows,function(t){return{id:t.id,name:t.name,penalty:t.UserHasFaxQueue.penalty}})}).then(function(){ComponentsDropdowns.bindAgent(e,n,"fax",s.id,A,t.initFaxQueues)}).catch(function(t){console.error(t)})},t.initOpenchannelQueues=function(){var e={},n={};return t.penalty=0,h.get().$promise.then(function(t){return e.queues=_.map(t.rows,function(t){return{id:t.id,name:t.name}}),l.get({id:s.id,controller:"openchannel",controller2:"queues"}).$promise}).then(function(t){n.queues=_.map(t.rows,function(t){return{id:t.id,name:t.name,penalty:t.UserHasOpenchannelQueue.penalty}})}).then(function(){ComponentsDropdowns.bindAgent(e,n,"openchannel",s.id,A,t.initOpenchannelQueues)}).catch(function(t){console.error(t)})},t.updatePassword=function(){var e={newPassword:t.agent.newPwd};return r.isAgent()?e.oldPassword=t.agent.currentPwd:e.id=s.id,d.changePassword(e).$promise.then(function(){n.show(a.instant("MESSAGE_WELL_DONE"),"success"),t.agent.newPwd="",t.agent.reNewPwd="",t.agent.currentPwd="",t.forms.changePwd.$setPristine(),t.forms.changePwd.$setUntouched()}).catch(function(t){n.error(t)})};var v=t.uploader=new o({url:"api/users/"+s.id+"/avatar",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+i.get("token")}});v.filters.push({name:"imageFilter",fn:function(t){var e="|"+t.type.slice(t.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(e)}}),v.onSuccessItem=function(e,s){t.agent.userpic=s.userpic,t.agent.id===r.getCurrentUser().id&&(r.getCurrentUser().userpic=s.userpic),n.show(a.instant("MESSAGE_WELL_DONE"),"success")},v.onErrorItem=function(){n.show(a.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},v.onCompleteAll=function(){v.clearQueue()},t.initView=function(){return l.get({id:s.id}).$promise.then(function(e){return t.agent=e,t.agent.transport=t.agent.transport?t.agent.transport.split(","):[],t.agent.allow=t.agent.allow?t.agent.allow.split(";"):[],t.agent.nat=t.agent.nat?t.agent.nat.split(","):[],f.get({id:1}).$promise}).then(function(e){t.setting=e}).catch(function(t){n.error(t)})},t.patchItem=function(){return l.update({id:s.id},{chatCapacity:t.agent.chatCapacity,mailCapacity:t.agent.mailCapacity,faxCapacity:t.agent.faxCapacity,smsCapacity:t.agent.smsCapacity,openchannelCapacity:t.agent.openchannelCapacity}).$promise.then(function(){n.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){n.error(t)})},t.updateItem=function(){var e=angular.copy(t.agent);return delete e.password,delete e.md5secret,e.transport=e.transport.join(","),e.allow=e.allow.join(";"),e.nat=e.nat.join(","),l.update({id:s.id},e).$promise.then(function(){n.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){n.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.staff.agents.view",{url:"/view/:id",templateUrl:"app/staff/agent/view/view.html",controller:"AgentViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]},data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.account",{url:"/account",templateUrl:"app/staff/agent/view/view.account.html",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:4}},resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/scripts/jquery.sparkline.min.js","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js","assets/scripts/profile.js"]})}]}}).state("main.staff.agents.view.voice",{url:"/voice",templateUrl:"app/staff/agent/view/view.voice.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.chat",{url:"/chat",templateUrl:"app/staff/agent/view/view.chat.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.mail",{url:"/mail",templateUrl:"app/staff/agent/view/view.mail.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.fax",{url:"/fax",templateUrl:"app/staff/agent/view/view.fax.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.sms",{url:"/sms",templateUrl:"app/staff/agent/view/view.sms.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.openchannel",{url:"/openchannel",templateUrl:"app/staff/agent/view/view.openchannel.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.motionbar",{url:"/motionbar",templateUrl:"app/staff/agent/view/view.motionbar.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.queues",{url:"/queues",templateUrl:"app/staff/agent/view/view.queues.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}},cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}}).state("main.staff.agents.view.queues.voice",{url:"/voice",templateUrl:"app/staff/agent/view/view.queues.voice.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:7}}}).state("main.staff.agents.view.queues.chat",{url:"/chat",templateUrl:"app/staff/agent/view/view.queues.chat.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}}).state("main.staff.agents.view.queues.mail",{url:"/mail",templateUrl:"app/staff/agent/view/view.queues.mail.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:9}}}).state("main.staff.agents.view.queues.fax",{url:"/fax",templateUrl:"app/staff/agent/view/view.queues.fax.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:10}}}).state("main.staff.agents.view.queues.sms",{url:"/sms",templateUrl:"app/staff/agent/view/view.queues.sms.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:11}}}).state("main.staff.agents.view.queues.openchannel",{url:"/openchannel",templateUrl:"app/staff/agent/view/view.queues.openchannel.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:20}}})}]),angular.module("xCallyShuttleApp").controller("AgentWizardCtrl",["$scope","$rootScope","$location","$translate","$http","Agent","VoiceQueue","ChatQueue","MailQueue","SmsQueue","FaxQueue","OpenChannelQueue","Setting","xAlert","WizardHandler",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g){t.maxAmount=1e3,t._data={voice:{queues:[]},chat:{queues:[]},mail:{queues:[]},sms:{queues:[]},fax:{queues:[]},openchannel:{queues:[]}},t._agent=angular.copy(t._data),t.forms={info:void 0,voice:void 0},t.item={role:"agent",allow:["alaw","ulaw","gsm"],transport:["udp"],context:"from-sip"},t.next=function(){g.wizard().next()},t.getAmount=function(){return p.get({controller:"internal",internal:t.item.minInternal}).$promise.then(function(e){t.item.minInternal=Number(e.value),t.maxAmount=e.range||1e3}).catch(function(t){m.error(t)})},t.exitValidation=function(t){return t},t.getFirstFreeInternal=function(){return p.get({controller:"internal"}).$promise.then(function(e){return t.internal=e,t.item.internal=e.value,t.item.minInternal=e.value,t.maxAmount=e.range||1e3,p.get({id:1}).$promise}).then(function(e){t.setting=e}).catch(function(t){m.error(t)})},t.createItem=function(){var e=angular.copy(t.item);return delete e.minInternal,e.transport&&(e.transport=e.transport.join(",")),t.item.allow&&(e.allow=e.allow.join(";")),e.channels=t._agent,i.save(e).$promise.then(function(t){n.path("/staff/agents/view/"+t.id+"/queues/voice")}).catch(function(t){console.log(t),m.error(t)})},t.createItems=function(){var e=angular.copy(t.item);return delete e.internal,e.transport&&(e.transport=e.transport.join(",")),e.allow&&(e.allow=e.allow.join(";")),i.save({id:"bulk"},e).$promise.then(function(){n.path("/staff/agents/list")}).catch(function(t){console.log(t),m.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.staff.agents.wizard",{url:"/wizard",templateUrl:"app/staff/agent/wizard/wizard.html",controller:"AgentWizardCtrl",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}},resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}}).state("main.staff.agents.bulk",{url:"/bulk",templateUrl:"app/staff/agent/wizard/wizard-bulk.html",controller:"AgentWizardCtrl",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.staff",{url:"/staff",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("TeamCreateCtrl",["$scope","$uibModalInstance","Team","xAlert",function(t,e,n,a){t.form={},t.item={},t.ok=function(){return n.save(t.item).$promise.then(function(){e.close(t.item)}).catch(function(t){a.error(t)})},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("TeamListCtrl",["$scope","Team","gridOptions","$uibModal",function(t,e,n,a){t.initView=function(){var a={exporterCsvFilename:"teams.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:100,buttons:[{class:"{{row.entity.defaultEntry ? 'blue-hoki disabled' : 'blue-hoki'}}",href:"/staff/teams/view/{{row.entity.id}}/settings",name:"profile"},{class:"{{row.entity.defaultEntry ? 'green-turquoise disabled' : 'green-turquoise'}}",name:"agents",href:"/staff/teams/view/{{row.entity.id}}/agents"},{class:"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=n.gridOptions(e,a,t)},t.createItem=function(){a.open({animation:!0,templateUrl:"app/staff/team/list/create.modal.html",controller:"TeamCreateCtrl"}).result.then(function(){t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.staff.teams.list",{url:"/list",templateUrl:"app/staff/team/list/list.html",controller:"TeamListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Team",["$resource",function(t){return t("/api/teams/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.staff.teams",{url:"/teams",template:"
",abstract:!0,data:{permissions:{only:["admin"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("TeamViewCtrl",["$scope","$http","$stateParams","$translate","Team","Agent","xAlert",function(t,e,n,a,s,i,l){var o=function(){return{select:function(e){return console.log("agents",e),s.save({id:t.team.id,controller:"agents"},{agents:e})},deselect:function(e){return s.delete({id:t.team.id,controller:"agents",agents:e})}}};t.initView=function(){return s.get({id:n.id}).$promise.then(function(e){t.team=e}).catch(function(t){l.error(t)})},t.initAgents=function(){return i.get().$promise.then(function(e){return t.agents=e.rows,s.get({id:n.id,controller:"agents"}).$promise}).then(function(e){ComponentsDropdowns.bindTeam(_.map(e.rows,"id"),_.map(t.agents,function(t){return{id:t.id,name:t.name,fullname:t.fullname,internal:t.internal}}),o)}).catch(function(t){l.error(t)})},t.updateItem=function(){var e=angular.copy(t.team);return s.update({id:n.id},e).$promise.then(function(){l.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){l.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.staff.teams.view",{url:"/view/:id",templateUrl:"app/staff/team/view/view.html",controller:"TeamViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.staff.teams.view.agents",{url:"/agents",templateUrl:"app/staff/team/view/view.agents.html",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]}])}]}}).state("main.staff.teams.view.settings",{url:"/settings",templateUrl:"app/staff/team/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TelephoneListCtrl",["$scope","Telephone","gridOptions",function(t,e,n){t.initView=function(){var a={exporterCsvFilename:"telephones.csv",columnDefs:[{name:"fullname"},{name:"name"},{name:"internal"},{name:"description"},{name:"action",width:75,buttons:[{class:"blue-hoki",href:"/staff/telephones/view/{{row.entity.id}}/account",name:"profile"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.fullname, row.entity.id)"}]}]};t.gridOptions=n.gridOptions(e,a,t)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.staff.telephones.list",{url:"/list",templateUrl:"app/staff/telephone/list/list.html",controller:"TelephoneListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("Telephone",["$resource",function(t){return t("/api/telephones/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.staff.telephones",{url:"/telephones",template:"
",abstract:!0,data:{permissions:{only:["admin"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("TelephoneViewCtrl",["$scope","$http","$stateParams","$translate","$cookieStore","Auth","xAlert","Telephone","Setting","User",function(t,e,n,a,s,i,l,o,r,c){t.initView=function(){return t.Auth=i,t.forms={},o.get({id:n.id}).$promise.then(function(e){return delete e.password,t.item=e,t.item.transport=t.item.transport?t.item.transport.split(","):[],t.item.allow=t.item.allow?t.item.allow.split(";"):[],r.get({id:1}).$promise}).then(function(e){t.setting=e}).catch(function(t){l.error(t)})},t.updateItem=function(){var e=angular.copy(t.item);return e.transport=e.transport.join(","),e.allow=e.allow.join(";"),o.update(e).$promise.then(function(){l.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){l.error(t)})},t.updatePassword=function(){var e={newPassword:t.item.newPwd,id:n.id};return c.changePassword(e).$promise.then(function(){l.show(a.instant("MESSAGE_WELL_DONE"),"success"),t.item.newPwd="",t.item.reNewPwd="",t.forms.changePwd.$setPristine(),t.forms.changePwd.$setUntouched()}).catch(function(t){l.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.staff.telephones.view",{url:"/view/:id",templateUrl:"app/staff/telephone/view/view.html",controller:"TelephoneViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.staff.telephones.view.account",{url:"/account",templateUrl:"app/staff/telephone/view/view.account.html",resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css","assets/scripts/jquery.sparkline.min.js","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js","assets/scripts/profile.js"]})}]}}).state("main.staff.telephones.view.voice",{url:"/voice",templateUrl:"app/staff/telephone/view/view.voice.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("TelephoneWizardCtrl",["$scope","$http","$location","WizardHandler","xAlert","$translate","Telephone","Setting",function(t,e,n,a,s,i,l,o){t.forms={},t.item={allow:["alaw","ulaw","gsm"],transport:["udp"],context:"from-sip"},t.next=function(){a.wizard().next()},t.exitValidation=function(t){return t},t.getFirstFreeInternal=function(){return o.get({controller:"internal"}).$promise.then(function(e){return t.item.internal=e.value,o.get({id:1}).$promise}).then(function(e){t.setting=e}).catch(function(t){s.error(t)})},t.createItem=function(){var e=angular.copy(t.item);return e.transport&&(e.transport=e.transport.join(",")),t.item.allow&&(e.allow=e.allow.join(";")),l.save(e).$promise.then(function(){n.path("/staff/telephones/list")}).catch(function(t){s.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.staff.telephones.wizard",{url:"/wizard",templateUrl:"app/staff/telephone/wizard/wizard.html",controller:"TelephoneWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("UserListCtrl",["$scope","$timeout","User","Auth","gridOptions",function(t,e,n,a,s){function i(t){if(t){var e=_.words(t);return _.map(e,function(t){return t?t[0]:""}).join("").toUpperCase()}return!1}t.getUserAvatar=function(t,n,a){e(function(){angular.element("#userImg"+t).avatar({useGravatar:!1,initials:a?[]:i(n),fallbackImage:"api/users/avatar/"+a,size:80})})},t.isAdmin=function(t){return"admin"===t},t.initView=function(){var e={exporterCsvFilename:"users.csv",columnDefs:[{name:"fullname"},{name:"name",displayName:"APPLICATION_USERNAME"},{name:"internal"},{name:"email"},{name:"description"},{name:"action",width:100,buttons:[{class:"blue-hoki",href:"/staff/users/view/{{row.entity.id}}/account",name:"profile"},{class:"green-meadow",href:"/staff/users/view/{{row.entity.id}}/permit/voice",name:"permits",hide:"grid.appScope.isAdmin(row.entity.role)"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.fullname, row.entity.id)"}]}]};t.gridOptions=s.gridOptions(n,e,t)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.staff.users.list",{url:"/list",templateUrl:"app/staff/user/list/list.html",controller:"UserListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Module",["$resource",function(t){return t("/api/modules/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("User",["$resource",function(t){return t("/api/users/:id/:controller/:controller2/:controller3",{id:"@id"},{changePassword:{method:"PUT",params:{controller:"password"}},update:{method:"PUT"},me:{method:"GET",params:{id:"me"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.staff.users",{url:"/users",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("UserViewCtrl",["$scope","$stateParams","$cookieStore","$translate","FileUploader","User","Auth","xAlert","MailQueue","VoiceQueue","ChatQueue","FaxQueue","SmsQueue","OpenChannelQueue","Team","Module","Setting","$location",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h,f,A){function v(t,e){var n,a,s=e.length;for(n=0;n
",abstract:!0,data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.sugarcrm.view.configurations",{url:"/configurations",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("SugarcrmViewConfigurationListCtrl",["$scope","$stateParams","$translate","gridOptions","SugarcrmConfiguration","$uibModal",function(t,e,n,a,s,i){t.initView=function(){var n={exporterCsvFilename:"sugarcrm_configurations.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:125,buttons:[{class:"blue-hoki",href:"/sugarcrm/view/{{row.entity.AccountId}}/configurations/view/{{row.entity.id}}",name:"profile"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=a.gridOptions(s,n,t,{accountId:e.id})},t.createItem=function(){i.open({animation:!0,templateUrl:"app/sugarcrm/view/configuration/list/create.modal.html",controller:"SugarcrmCreateConfigurationCtrl"}).result.then(function(){t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("SugarcrmCreateConfigurationCtrl",["$scope","$translate","$uibModalInstance","SugarcrmConfiguration","xAlert","$stateParams","channel",function(t,e,n,a,s,i,l){t.form={},t.item={},t.channels=l,t.item.channel="voice",t.item.type="Queue",t.save=function(){return a.save({accountId:i.id},t.item).$promise.then(function(t){s.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t)}).catch(function(t){s.error(t)})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.sugarcrm.view.configurations.list",{url:"/list",templateUrl:"app/sugarcrm/view/configuration/list/list.html",controller:"SugarcrmViewConfigurationListCtrl"})}]),angular.module("xCallyShuttleApp").controller("SugarcrmViewConfigurationViewCtrl",["$scope","$filter","$stateParams","$translate","socket","variable","xAlert","SugarcrmAccount","SugarcrmConfiguration","SugarcrmField","Variable","usSpinnerService",function(t,e,n,a,s,i,l,o,r,c,d,u){t.$on("$destroy",function(){s.unsyncUpdates("sugarcrm_field")}),t.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:300,scrollInertia:0},t.fieldType=[{type:"string",title:"String"},{type:"variable",title:"Variable"},{type:"customVariable",title:"Custom Variable"}],t.descFieldType=[{type:"string",title:"String"},{type:"keyValue",title:"Key Value"}],t.defaultMappingSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.groupVariableByGroup=function(t){switch(t.group){case"voice_queue":return"Voice: Queue";default:return"Other"}},t.initView=function(){t.configurationName="",t.subjectConfig=[],t.descriptionConfig=[],t.fieldConfig=[],t.variables=i,t.mapping={}},t.getConfiguration=function(){return r.get({accountId:n.id,id:n.configurationId}).$promise.then(function(e){t.configurationName=e.name,t.subjectConfig=e.Subject,t.descriptionConfig=e.Description,t.fieldConfig=e.Field,t.mapping.defaultMapping=e.defaultMapping,t.mapping.mappingModule=e.mappingModule,t.mapping.mappingFields=e.mappingFields,t.getModuleFields(),s.socket.on("sugarcrm_field:remove",function(e){_.remove(t.subjectConfig,{id:e.id}),_.remove(t.descriptionConfig,{id:e.id}),_.remove(t.fieldConfig,{id:e.id})})}).catch(function(t){l.error(t)})},t.getCustomVariables=function(){return d.get().$promise.then(function(e){t.customVariables=e.rows}).catch(function(t){l.error(t)})},t.getFields=function(){return o.fields({id:n.id}).$promise.then(function(n){t.accountFields=_.sortByOrder(e("sugarcrm")(n),"name","asc"),_.forEach(n,function(t){t.options=_.toArray(t.options)})}).catch(function(t){l.error(t)})},t.getModules=function(){return o.modules({id:n.id}).$promise.then(function(e){t.accountModules=e}).catch(function(t){l.error(t)})},t.getModuleFields=function(){if(!t.mapping.defaultMapping&&t.mapping.mappingModule)return o.moduleFields({id:n.id,module:t.mapping.mappingModule}).$promise.then(function(e){t.moduleFields=e}).catch(function(t){l.error(t)}).finally(function(){u.stop("spinner-grid")})},t.addItem=function(e){var a={};switch(e){case"subject":case"description":a={type:"string",content:""};break;case"field":a={content:""}}return r.save({accountId:n.id,id:n.configurationId,controller:e},a).$promise.then(function(n){switch(e){case"subject":t.subjectConfig.push(n);break;case"description":t.descriptionConfig.push(n);break;case"field":t.fieldConfig.push(n)}}).catch(function(t){l.error(t)})},t.changeType=function(e){"variable"===e.type?(e.content="",e.variableName=""):"string"===e.type?(e.VariableId=null,e.variableName=""):"customVariable"===e.type&&(e.VariableId=null,e.content=""),t.updateField(e)},t.updateField=function(t){return c.update({accountId:n.id,configurationId:n.configurationId,id:t.id},t).$promise.then(function(){}).catch(function(t){l.error(t)})},t.removeItem=function(t){return c.delete({accountId:n.id,configurationId:n.configurationId,id:t.id}).$promise.then(function(){l.show(a.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){l.error(t)})},t.changeFieldType=function(e){e.content="",e.variableName="",e.nameField="",e.VariableId=null,t.updateField(e)},t.changeDescType=function(e){"keyValue"===e.type?(e.content="","string"===e.keyType?(e.VariableId=null,e.variableName=""):"variable"===e.keyType?(e.keyContent="",e.VariableId=null):"customVariable"===e.keyType&&(e.keyContent="",e.variableName="")):"string"===e.type&&(e.VariableId=null,e.variableName="",e.key="",e.keyContent=""),t.updateField(e)},t.getSystemFieldOptions=function(e){if(e){var n=_.find(t.accountFields,"name",e);return n?n.options.length>0?n.options:null:void 0}},t.updateMapping=function(){return t.mapping.defaultMapping&&(t.mapping.mappingModule=null,t.mapping.mappingFields=[]),r.update({accountId:n.id,id:n.configurationId},t.mapping).$promise.then(function(){l.show(a.instant("MESSAGE_WELL_DONE")+".","success")}).catch(function(t){l.error(t)})},t.updateMappingModule=function(){u.spin("spinner-grid"),t.mapping.mappingFields=[],t.getModuleFields()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.sugarcrm.view.configurations.view",{url:"/view/:configurationId",templateUrl:"app/sugarcrm/view/configuration/view/view.html",controller:"SugarcrmViewConfigurationViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("SugarcrmViewCtrl",["$scope","$http","$stateParams","$translate","$location","$filter","WizardHandler","socket","xAlert","Modal","SugarcrmAccount",function(t,e,n,a,s,i,l,o,r,c,d){t.initView=function(){return d.get({id:n.id}).$promise.then(function(e){t.account=e}).catch(function(t){r.error(t)})},t.updateItem=function(){return d.update({id:n.id},t.account).$promise.then(function(){r.show(a.instant("MESSAGE_WELL_DONE")+".","success")}).catch(function(t){r.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.sugarcrm.view",{url:"/view/:id",templateUrl:"app/sugarcrm/view/view.html",controller:"SugarcrmViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.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"})}]),angular.module("xCallyShuttleApp").controller("SugarcrmkWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler","SugarcrmAccount",function(t,e,n,a,s,i,l){t.translate=a,t.initWizard=function(){t.$translate=a,t.forms={},t.item={},t.item.serverUrl=n.protocol()+"://"+location.host},t.next=function(){i.wizard().next()},t.exitValidation=function(t){return t},t.createItem=function(){return l.save(t.item).$promise.then(function(){s.show(a.instant("MESSAGE_WELL_DONE")+".","success"),n.path("/sugarcrm/list")}).catch(function(t){s.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.sugarcrm.wizard",{url:"/wizard",templateUrl:"app/sugarcrm/wizard/wizard.html",controller:"SugarcrmkWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("CannedAnswer",["$resource",function(t){return t("/api/answers/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.answers",{url:"/answers",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:58}}})}]),angular.module("xCallyShuttleApp").controller("AnswerListCtrl",["$scope","$uibModal","CannedAnswer","gridOptions",function(t,e,n,a){t.initView=function(){var e={exporterCsvFilename:"answers.csv",columnDefs:[{name:"key",displayName:"APPLICATION_KEY"},{name:"value"},{name:"description"},{name:"action",width:75,buttons:[{class:"blue-hoki",href:"/tools/answers/view/{{row.entity.id}}/settings",name:"settings"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.key, row.entity.id)"}]}]};t.gridOptions=a.gridOptions(n,e,t)},t.createItem=function(){e.open({animation:!0,templateUrl:"app/tools/answer/list/list.create.modal.html",controller:"AnswerListCreateCtrl"}).result.then(function(e){t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("AnswerListCreateCtrl",["$scope","$translate","$uibModalInstance","CannedAnswer","xAlert",function(t,e,n,a,s){t.form={},t.item={},t.save=function(){return a.save(t.item).$promise.then(function(t){s.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t)}).catch(function(t){s.error(t)})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.answers.list",{url:"/list",templateUrl:"app/tools/answer/list/list.html",controller:"AnswerListCtrl"})}]),angular.module("xCallyShuttleApp").controller("AnswerViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location","CannedAnswer",function(t,e,n,a,s,i,l){t.getAnswer=function(){return l.get({id:s.id}).$promise.then(function(e){t.answer=e}).catch(function(t){n.error(t)})},t.updateAnswer=function(){var e=angular.copy(t.answer);return l.update({id:s.id},e).$promise.then(function(){n.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){n.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.answers.view",{url:"/view/:id",templateUrl:"app/tools/answer/view/view.html",controller:"AnswerViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.answers.view.settings",{url:"/settings",templateUrl:"app/tools/answer/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("Automation",["$resource",function(t){return t("/api/automations/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.automations",{url:"/automations",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:51}}})}]),angular.module("xCallyShuttleApp").controller("AutomationListCtrl",["$scope","$http","$translate","xAlert","Automation","gridOptions",function(t,e,n,a,s,i){t.onText="On",t.offText="Off",t.isActive=!0,t.size="mini",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.initView=function(){var e={exporterCsvFilename:"Automations.csv",columnDefs:[{name:"name"},{name:"description"},{name:"channel"},{name:"status",cellTemplate:'
',width:100,enableFiltering:!1},{name:"action",width:75,buttons:[{class:"blue-hoki",href:"/tools/automations/view/{{row.entity.id}}/settings",name:"settings"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=i.gridOptions(s,e,t)},t.updateItem=function(t){return s.update({id:t.id},t).$promise.then(function(){a.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){console.error(t),a.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.automations.list",{url:"/list",templateUrl:"app/tools/automation/list/list.html",controller:"AutomationListCtrl"})}]),angular.module("xCallyShuttleApp").controller("AutomationViewCtrl",["$scope","$stateParams","$http","$translate","xAlert","automations","Automation","$location",function(t,e,n,a,s,i,l,o){t.$automations=i,t.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.forms={general:{}},t.addCondition=function(e){t.automation[e].push({field:"",operator:"",value:""})},t.removeCondition=function(e,n){t.automation[e].splice(n,1)},t.addAction=function(){t.automation.Actions.push({action:"",data1:"",data2:"",data3:"",data4:"",data5:""})},t.resetActionData=function(t){t.data1="",t.data2="",t.data3="",t.data4="",t.data5=""},t.removeAction=function(e){t.automation.Actions.splice(e,1)},t.initView=function(){return l.get({id:e.id}).$promise.then(function(e){t.automation=e}).catch(function(t){s.error(t),o.path("/tools/automations/list")})},t.updateAutomation=function(){return l.update({id:e.id},t.automation).$promise.then(function(){s.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){console.error(t),s.error(t)})},t.exitValidation=function(e){return console.log(e&&(t.automation.All.length||t.automation.Any.length)&&t.automation.Actions.length),!(!e||!t.automation.All.length&&!t.automation.Any.length||!t.automation.Actions.length)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.automations.view",{url:"/view/:id",templateUrl:"app/tools/automation/view/view.html",controller:"AutomationViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.tools.automations.view.settings",{url:"/settings",templateUrl:"app/tools/automation/view/view.settings.html"}).state("main.tools.automations.view.routes",{url:"/routes",templateUrl:"app/tools/automation/view/view.routes.html"}).state("main.tools.automations.view.application",{url:"/application",templateUrl:"app/tools/automation/view/view.application.html"})}]),angular.module("xCallyShuttleApp").controller("AutomationWizardCtrl",["$scope","$http","$location","xAlert","automations","WizardHandler","Automation",function(t,e,n,a,s,i,l){t.$automations=s,t.statusSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.tempData={voice:{},mail:{},chat:{},fax:{}},t.item={All:[],Any:[],Actions:[]},t.forms={general:void 0,settings:void 0},t.addCondition=function(e){t.item[e].push({field:"",operator:"",value:""})},t.removeCondition=function(e,n){t.item[e].splice(n,1)},t.addAction=function(){t.item.Actions.push({action:"",data1:"",data2:"",data3:"",data4:"",data5:""})},t.resetActionData=function(t){t.data1="",t.data2="",t.data3="",t.data4="",t.data5=""},t.removeAction=function(e){t.item.Actions.splice(e,1)},t.$watch("item.channel",function(e,n){n&&(t.tempData[n].All=_.clone(t.item.All,!0),t.tempData[n].Any=_.clone(t.item.Any,!0),t.tempData[n].Actions=_.clone(t.item.Actions,!0)),t.item.All=t.tempData[e].All?t.tempData[e].All:[],t.item.Any=t.tempData[e].Any?t.tempData[e].Any:[],t.item.Actions=t.tempData[e].Actions?t.tempData[e].Actions:[]},!0),t.item.channel="mail",t.createItem=function(){return l.save(t.item).$promise.then(function(){n.path("/tools/automations/list")}).catch(function(t){console.error(t),a.error(t)})},t.next=function(){i.wizard().next()},t.previous=function(){i.wizard().previous()},t.exitValidation=function(t){return t},t.exitSettingsValidation=function(e){return!(!e||!t.item.All.length&&!t.item.Any.length||!t.item.Actions.length)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.automations.wizard",{url:"/wizard",templateUrl:"app/tools/automation/wizard/wizard.html",controller:"AutomationWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("Interval",["$resource",function(t){return t("/api/intervals/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.intervals",{url:"/intervals",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:53}}})}]),angular.module("xCallyShuttleApp").controller("IntervalListCtrl",["$scope","$uibModal","Interval","gridOptions",function(t,e,n,a){t.initView=function(){var e={exporterCsvFilename:"intervals.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:75,buttons:[{class:"blue-hoki",href:"/tools/intervals/view/{{row.entity.id}}/settings",name:"settings"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=a.gridOptions(n,e,t)},t.createItem=function(){e.open({animation:!0,templateUrl:"app/tools/interval/list/list.create.modal.html",controller:"IntervalListCreateCtrl"}).result.then(function(e){console.log(e),t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("IntervalListCreateCtrl",["$scope","$translate","$uibModalInstance","Interval","xAlert",function(t,e,n,a,s){t.form={},t.item={},t.save=function(){return a.save(t.item).$promise.then(function(t){s.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t)}).catch(function(t){s.error(t)})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.intervals.list",{url:"/list",templateUrl:"app/tools/interval/list/list.html",controller:"IntervalListCtrl"})}]),angular.module("xCallyShuttleApp").controller("IntervalViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location","WizardHandler","Modal","interval",function(t,e,n,a,s,i,l,o,r,c){function d(e){var n,a,s,i;n=e.t_from&&e.t_to&&!e.alwaysTime?moment(e.t_from).format("HH:mm")+"-"+moment(e.t_to).format("HH:mm"):"*",e.wd_from&&"always"!==e.wd_from?(a=e.wd_from,e.wd_to&&"always"!==e.wd_to&&(a+="-"+e.wd_to)):a="*",e.md_from&&"always"!==e.md_from?(s=e.md_from,e.md_to&&"always"!==e.md_to&&(s+="-"+e.md_to)):s="*",e.m_from&&"always"!==e.m_from?(i=e.m_from,e.m_to&&"always"!==e.m_to&&(i+="-"+e.m_to)):i="*",void 0!==t.selectedSubInterval?t.interval.SubIntervals[t.selectedSubInterval].interval=n+","+a+","+s+","+i:t.subinterval.interval=n+","+a+","+s+","+i}t.$translate=a,t.$interval=c.interval,t.selectedSubInterval=void 0,t.switch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.gridOptions={columnDefs:[{name:"name",displayName:"APPLICATION_NAME",headerCellFilter:"translate"},{name:"interval",displayName:"APPLICATION_INTERVAL",headerCellFilter:"translate"},{name:"action",displayName:"APPLICATION_ACTION",headerCellFilter:"translate",width:125,cellTemplate:'{{\'APPLICATION_SETTINGS\' | translate}}{{\'APPLICATION_DELETE\' | translate}}'}]},t.forms={subinterval:void 0,general:void 0},t.initSubInterval=function(e){e&&(t.selectedSubInterval=void 0),t.subinterval={},t.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}},t.next=function(){o.wizard().next()},t.previous=function(){o.wizard().previous()},t.exitValidation=function(t){return t},t.deselectAndRedirect=function(e){t.selectedSubInterval=void 0,l.path(e)},t.getInterval=function(){e.get("/api/intervals/"+s.id).success(function(e){t.interval=e,t.gridOptions.data=e.SubIntervals}).error(function(t){console.error(t),l.path("/tools/intervals/list")})},t.openSubInterval=function(e){t.selectedSubInterval=e,l.path("/tools/intervals/view/"+s.id+"/subintervals/settings")},t.updateInterval=function(i){t.selectedSubInterval=void 0,e.put("/api/intervals/"+s.id,t.interval).success(function(){t.getInterval(),n.show(a.instant("MESSAGE_WELL_DONE")+"!","success"),i&&l.path("/tools/intervals/view/"+s.id+"/"+i)}).error(function(t){n.error(t)})},t.getSubInterval=function(){void 0===t.selectedSubInterval&&l.path("/tools/intervals/list"),t.splittedInterval={t_from:moment(new Date),t_to:moment(new Date)};var e;(t.interval.SubIntervals[t.selectedSubInterval]?t.interval.SubIntervals[t.selectedSubInterval].interval.split(","):["*","*","*","*"]).forEach(function(n,a){switch(a){case 0:"*"!==n?(e=n.split("-"),t.splittedInterval.t_from=moment(e[0],"HH:mm"),t.splittedInterval.t_to=moment(e[1],"HH:mm"),t.splittedInterval.alwaysTime=!1):(t.splittedInterval.t_from=moment(new Date),t.splittedInterval.t_to=moment(new Date),t.splittedInterval.alwaysTime=!0);break;case 1:"*"!==n?(e=n.split("-"),t.splittedInterval.wd_from=e[0],t.splittedInterval.wd_to=e[1]?e[1]:"always"):(t.splittedInterval.wd_from="always",t.splittedInterval.wd_to="always");break;case 2:"*"!==n?(e=n.split("-"),t.splittedInterval.md_from=e[0],t.splittedInterval.md_to=e[1]?e[1]:"always"):(t.splittedInterval.md_from="always",t.splittedInterval.md_to="always");break;case 3:"*"!==n?(e=n.split("-"),t.splittedInterval.m_from=e[0],t.splittedInterval.m_to=e[1]?e[1]:"always"):(t.splittedInterval.m_from="always",t.splittedInterval.m_to="always")}})},t.$watch("splittedInterval",function(t){t&&d(t)},!0),t.addSubInterval=function(){t.interval.SubIntervals.push(t.subinterval),t.updateInterval("subintervals")},t.deleteSubInterval=r.confirm.delete(function(e){t.interval.SubIntervals.splice(e,1),t.updateInterval()})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.intervals.view",{url:"/view/:id",templateUrl:"app/tools/interval/view/view.html",controller:"IntervalViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.intervals.view.settings",{url:"/settings",templateUrl:"app/tools/interval/view/view.settings.html"}).state("main.tools.intervals.view.subintervals",{url:"/subintervals",templateUrl:"app/tools/interval/view/view.subintervals.html"}).state("main.tools.intervals.view.subinterval",{url:"/subinterval",templateUrl:"app/tools/interval/view/view.subinterval.html"}).state("main.tools.intervals.view.subintervals.settings",{url:"/settings",templateUrl:"app/tools/interval/view/view.subintervalSettings.html"})}]),angular.module("xCallyShuttleApp").controller("PauseListCtrl",["$scope","$log","$uibModal","$translate","Pause","gridOptions",function(t,e,n,a,s,i){t.initView=function(){var e={exporterCsvFilename:"pauses.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:75,buttons:[{class:"blue-hoki",href:"/tools/pauses/view/{{row.entity.id}}/settings",name:"settings"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=i.gridOptions(s,e,t)},t.createItem=function(){n.open({animation:!0,templateUrl:"app/tools/pause/list/list.create.modal.html",controller:"PauseListCreateCtrl"}).result.then(function(e){console.log(e),t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("PauseListCreateCtrl",["$scope","$translate","$uibModalInstance","Pause","xAlert",function(t,e,n,a,s){t.form={},t.item={},t.save=function(){return a.save(t.item).$promise.then(function(t){s.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t)}).catch(function(t){s.error(t)})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.pauses.list",{url:"/list",templateUrl:"app/tools/pause/list/list.html",controller:"PauseListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Pause",["$resource",function(t){return t("/api/pauses/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.pauses",{url:"/pauses",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:57}}})}]),angular.module("xCallyShuttleApp").controller("PauseViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location","Pause",function(t,e,n,a,s,i,l){t.getPause=function(){return l.get({id:s.id}).$promise.then(function(e){t.pause=e}).catch(function(t){n.error(t)})},t.updatePause=function(){var e=angular.copy(t.pause);return l.update({id:s.id},e).$promise.then(function(){n.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){n.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.pauses.view",{url:"/view/:id",templateUrl:"app/tools/pause/view/view.html",controller:"PauseViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.pauses.view.settings",{url:"/settings",templateUrl:"app/tools/pause/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("SchedulerListCtrl",["$scope","Scheduler","gridOptions","xAlert","$translate","socket",function(t,e,n,a,s,i){t._=_,t.switches={isActive:!0,size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.scheduleTypes=[{name:"APPLICATION_REPORT_EXTRACTION",value:"report"},{name:"APPLICATION_HISTORY_MOVE",value:"history"},{name:"APPLICATION_DB_BACKUP",value:"backup"}],t.initView=function(){var a={exporterCsvFilename:"Schedules.csv",columnDefs:[{name:"name"},{name:"type",cellTemplate:'
{{grid.appScope._.find(grid.appScope.scheduleTypes,{value:row.entity.type}).name | translate}}
'},{name:"description"},{name:"active",cellTemplate:'
',enableFiltering:!1,enableSorting:!1},{name:"sendMail",displayName:"APPLICATION_SEND_MAIL",cellTemplate:'
',enableFiltering:!1,enableSorting:!1},{name:"action",width:100,buttons:[{class:"blue-hoki",href:"/tools/scheduler/view/{{row.entity.id}}/settings",name:"settings"},{class:"green-turquoise",name:"run",onClick:"grid.appScope.runSchedule(row.entity.id)"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=n.gridOptions(e,a,t)},t.updateItem=function(t){return e.update({id:t.id},t).$promise.then(function(){a.show(s.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){console.error(t),a.error(t)})},t.runSchedule=function(t){return e.get({id:t,controller:"run"}).$promise.then(function(){a.show(s.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){console.error(t),a.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.scheduler.list",{url:"/list",templateUrl:"app/tools/scheduler/list/list.html",controller:"SchedulerListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Scheduler",["$resource",function(t){return t("/api/scheduler/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.scheduler",{url:"/scheduler",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:61}}})}]),angular.module("xCallyShuttleApp").controller("SchedulerViewCtrl",["$scope","xAlert","$translate","$stateParams","socket","$location","ReportTree","Scheduler","DefaultReport","CustomReport","$timeout","MailServerOut",function(t,e,n,a,s,i,l,o,r,c,d,u){function p(){switch(t.schedule.cronType=t.rangeExec.type,t.rangeExec.type){case"daily":t.schedule.cron="00 "+t.rangeExec.hour+" * * *";break;case"weekly":t.schedule.cron="00 "+t.rangeExec.hour+" * * "+t.rangeExec.weekDays.join(",");break;case"monthly":t.schedule.cron="00 "+t.rangeExec.hour+" "+t.rangeExec.monthDay+" * *"}}function m(e){var n;switch(e.cronType){case"daily":t.rangeExec.hour=Number(e.cron.split(" ")[1]),t.rangeExec.type=e.cronType;break;case"weekly":n=e.cron.split(" "),t.rangeExec.hour=Number(n[1]),n[4].split(",").forEach(function(e){t.rangeExec.weekDays.push(Number(e))}),t.rangeExec.type=e.cronType;break;case"monthly":n=e.cron.split(" "),t.rangeExec.hour=Number(n[1]),t.rangeExec.monthDay=Number(n[2]),t.rangeExec.type=e.cronType;break;case"currentDay":t.switchValues.today=!0}t.$watch("rangeExec",function(e){t.switchValues.today||p()},!0)}t.forms={},t.rangeExec={weekDays:[],monthDay:null,hour:0,type:null},t.initReports=function(){var n;return t.reports=[],t.tempTodayCron=null,l.query().$promise.then(function(e){return t.defaultTreeData=JSON.parse(e[0].tree),t.customTreeData=JSON.parse(e[1].tree),r.get().$promise}).then(function(e){return t.defRep=e.rows,t.defRep.length&&_.forEach(t.defRep,function(e){(n=_.find(t.defaultTreeData,{id:e.parent}))&&(e.parent="Motion Reports - "+n.text,e.type="default")}),c.get().$promise}).then(function(e){return t.cusRep=e.rows,t.cusRep.length&&_.forEach(t.cusRep,function(e){(n=_.find(t.customTreeData,{id:e.parent}))&&(e.parent="Custom Reports - "+n.text,e.type="custom")}),u.get().$promise}).then(function(e){t.mailServers=e.rows}).catch(function(t){e.error(t)})},t.initView=function(){return o.get({id:a.id}).$promise.then(function(e){t.schedule=e,m(e)}).then(function(){s.socket.on("schedule:update",function(e){t.schedule.id===e.id&&(t.schedule.active=e.active,t.schedule.sendMail=e.sendMail)})}).catch(function(t){console.error(t),i.path("/tools/scheduler/list")})},t.refreshSlider=function(){d(function(){t.$broadcast("rzSliderForceRender"),t.refreshSlider=null})},t.monthDays=function(){for(var t=[],e=1;e<=31;e++)t.push(e);return t}(),t.hours=function(){for(var t=[],e=0;e<=23;e++)t.push(e);return t}(),t.setReportTree=function(e){t.schedule.reportType=e.type},t.validitySlider={ceil:24,floor:0,showTicks:!0},t.switchValues={today:!1},t.switches={isActive:!0,size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.scheduleTypes=[{name:"APPLICATION_REPORT_EXTRACTION",value:"report"}],t.todayCron=[{name:"15 min",value:"*/15 * * * *"},{name:"30 min",value:"*/30 * * * *"},{name:"1 h",value:"0 * * * *"}],t.reportRanges=[{name:"APPLICATION_PREVIOUS_DAY",value:"yesterday"},{name:"APPLICATION_LAST_SEVEN_DAYS",value:"last7"},{name:"APPLICATION_LAST_THIRTY_DAYS",value:"last30"},{name:"APPLICATION_LAST_MONTH",value:"lastMonth"}],t.cronTypes=[{name:"APPLICATION_DAY",value:"daily"},{name:"APPLICATION_WEEK",value:"weekly"},{name:"APPLICATION_MONTH",value:"monthly"}],t.weekDays=[{name:"APPLICATION_MONDAY",value:1},{name:"APPLICATION_TUESDAY",value:2},{name:"APPLICATION_WEDNESDAY",value:3},{name:"APPLICATION_THURSDAY",value:4},{name:"APPLICATION_FRIDAY",value:5},{name:"APPLICATION_SATURDAY",value:6},{name:"APPLICATION_SUNDAY",value:0}],t.checkToday=function(){t.switchValues.today?(t.schedule.cron=angular.copy(t.tempTodayCron),t.schedule.cronType="currentDay"):(t.tempTodayCron=angular.copy(t.schedule.cron),t.schedule.cron=void 0,p())},t.updateSchedule=function(){return o.update({id:t.schedule.id},t.schedule).$promise.then(function(){e.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){console.error(t),e.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.scheduler.view",{url:"/view/:id",templateUrl:"app/tools/scheduler/view/view.html",controller:"SchedulerViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.scheduler.view.settings",{url:"/settings",templateUrl:"app/tools/scheduler/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("SchedulerWizardCtrl",["$scope","WizardHandler","$location","xAlert","Scheduler","ReportTree","$translate","DefaultReport","CustomReport","MailServerOut",function(t,e,n,a,s,i,l,o,r,c){function d(){switch(t.item.cronType=t.rangeExec.type,t.rangeExec.type){case"daily":t.item.cron="00 "+t.rangeExec.hour+" * * *";break;case"weekly":t.item.cron="00 "+t.rangeExec.hour+" * * "+t.rangeExec.weekDays.join(",");break;case"monthly":t.item.cron="00 "+t.rangeExec.hour+" "+t.rangeExec.monthDay+" * *"}}t.forms={},t.item={validityStart:8,validityEnd:16,type:"report",reportType:"default"},t.initReports=function(){t.reports=[];var e;return i.query().$promise.then(function(e){return t.defaultTreeData=JSON.parse(e[0].tree),t.customTreeData=JSON.parse(e[1].tree),o.get().$promise}).then(function(n){return t.defRep=n.rows,t.defRep.length&&_.forEach(t.defRep,function(n){(e=_.find(t.defaultTreeData,{id:n.parent}))&&(n.parent="Motion Reports - "+e.text,n.type="default")}),r.get().$promise}).then(function(n){return t.cusRep=n.rows,t.cusRep.length&&_.forEach(t.cusRep,function(n){(e=_.find(t.customTreeData,{id:n.parent}))&&(n.parent="Custom Reports - "+e.text,n.type="custom")}),c.get().$promise}).then(function(e){t.mailServers=e.rows}).catch(function(t){a.error(t)})},t.setReportTree=function(e){t.item.reportType=e.type},t.validitySlider={ceil:24,floor:0,showTicks:!0},t.switchValues={today:!1},t.switches={isActive:!0,size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.scheduleTypes=[{name:"APPLICATION_REPORT_EXTRACTION",value:"report"}],t.todayCron=[{name:"15 min",value:"*/15 * * * *"},{name:"30 min",value:"*/30 * * * *"},{name:"1 h",value:"0 * * * *"}],t.reportRanges=[{name:"APPLICATION_PREVIOUS_DAY",value:"yesterday"},{name:"APPLICATION_LAST_SEVEN_DAYS",value:"last7"},{name:"APPLICATION_LAST_THIRTY_DAYS",value:"last30"},{name:"APPLICATION_LAST_MONTH",value:"lastMonth"}],t.cronTypes=[{name:"APPLICATION_DAY",value:"daily"},{name:"APPLICATION_WEEK",value:"weekly"},{name:"APPLICATION_MONTH",value:"monthly"}],t.weekDays=[{name:"APPLICATION_MONDAY",value:1},{name:"APPLICATION_TUESDAY",value:2},{name:"APPLICATION_WEDNESDAY",value:3},{name:"APPLICATION_THURSDAY",value:4},{name:"APPLICATION_FRIDAY",value:5},{name:"APPLICATION_SATURDAY",value:6},{name:"APPLICATION_SUNDAY",value:0}],t.tempTodayCron=null,t.checkToday=function(){t.switchValues.today?(t.item.cron=angular.copy(t.tempTodayCron),t.item.cronType="currentDay"):(t.tempTodayCron=angular.copy(t.item.cron),t.item.cron=void 0,d())},t.monthDays=function(){for(var t=[],e=1;e<=31;e++)t.push(e);return t}(),t.hours=function(){for(var t=[],e=0;e<=23;e++)t.push(e);return t}(),t.rangeExec={weekDays:[],monthDay:null,hour:0,type:null},t.$watch("rangeExec",function(e){t.switchValues.today||d()},!0),t.next=function(){e.wizard().next()},t.previous=function(){e.wizard().previous()},t.exitValidation=function(t){return t},t.createItem=function(){return s.save(t.item).$promise.then(function(){n.path("/tools/scheduler/list")}).catch(function(t){a.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.scheduler.wizard",{url:"/wizard",templateUrl:"app/tools/scheduler/wizard/wizard.html",controller:"SchedulerWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("SoundListCtrl",["$scope","$http","socket","Modal","$q","FileUploader","$translate","xAlert","$cookieStore","$sce","Sound",function(t,e,n,a,s,i,l,o,r,c,d){t.Sound=d,t.isCollapsed=!0,t.downloadButtonClass="btn btn-xs blue-hoki",t.delete=a.confirm.delete(function(t){e.delete("/api/sounds/"+t).success(function(t){}).error(function(t){console.log(t)})}),t.updateAudio=function(t,n){var a=s.defer();return e.put("/api/sounds/"+t,n).success(function(t){a.resolve()}).error(function(t){console.log(t.message),a.reject(t.message)}),a.promise},t.$on("$destroy",function(){n.unsyncUpdates("sound")}),t.initList=function(){e.get("/api/sounds").success(function(e){t.sounds=e.rows,e.rows.length||(t.isCollapsed=!1),n.syncUpdates("sound",t.sounds,function(){t.sounds.length||(t.isCollapsed=!1)})})};var u=t.uploader=new i({url:"/api/sounds",withCredentials:!0,headers:{Authorization:"Bearer "+r.get("token")}});u.filters.push({name:"customFilter",fn:function(t,e){return this.queue.length<10}}),u.onWhenAddingFileFailed=function(t,e,n){console.info("onWhenAddingFileFailed",t,e,n)},u.onAfterAddingFile=function(t){console.info("onAfterAddingFile",t)},u.onAfterAddingAll=function(t){console.info("onAfterAddingAll",t)},u.onBeforeUploadItem=function(t){console.info("onBeforeUploadItem",t)},u.onProgressItem=function(t,e){console.info("onProgressItem",t,e),t.isUploading=!0},u.onProgressAll=function(t){console.info("onProgressAll",t)},u.onSuccessItem=function(t,e,n,a){console.info("onSuccessItem",t,e,n,a),t.isUploading=!1},u.onErrorItem=function(t,e,n,a){console.info("onErrorItem",t,e,n,a),t.responseMessage=e,t.isUploading=!1},u.onCancelItem=function(t,e,n,a){console.info("onCancelItem",t,e,n,a),t.isUploading=!1},u.onCompleteItem=function(t,e,n,a){console.info("onCompleteItem",t,e,n,a),t.isUploading=!1},u.onCompleteAll=function(){console.info("onCompleteAll")}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.sounds.list",{url:"/list",templateUrl:"app/tools/sound/list/list.html",controller:"SoundListCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js"]})}]}})}]),angular.module("xCallyShuttleApp").factory("Sound",["$resource",function(t){return t("/api/sounds/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.sounds",{url:"/sounds",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:60}}})}]),angular.module("xCallyShuttleApp").controller("TagListCtrl",["$scope","$uibModal","Tag","gridOptions","$rootScope",function(t,e,n,a,s){t.initView=function(){var e={exporterCsvFilename:"tag.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:75,buttons:[{class:"blue-hoki",href:"/tools/tags/view/{{row.entity.id}}/settings",name:"settings"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=a.gridOptions(n,e,t)},t.createItem=function(){e.open({animation:!0,templateUrl:"app/tools/tag/list/list.create.modal.html",controller:"TagListCreateCtrl"}).result.then(function(){t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("TagListCreateCtrl",["$scope","$translate","$uibModalInstance","Tag","xAlert",function(t,e,n,a,s){t.form={},t.item={},t.save=function(){return a.save(t.item).$promise.then(function(t){s.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t)}).catch(function(t){s.error(t)})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.tags.list",{url:"/list",templateUrl:"app/tools/tag/list/list.html",controller:"TagListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Tag",["$resource",function(t){return t("/api/tags/:id/:controller/:tag",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.tags",{url:"/tags",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:55}}})}]),angular.module("xCallyShuttleApp").controller("TagViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location","Tag","gridOptions","List","Company","Contact","uiGridConstants","usSpinnerService",function(t,e,n,a,s,i,l,o,r,c,d,u,p){function m(){p.stop("spinner-grid"),t.readyGrid=!0}t.getTag=function(){return l.get({id:s.id}).$promise.then(function(e){t.tag=e}).catch(function(t){n.error(t)})},t.updateTag=function(){var e=angular.copy(t.tag);return l.update({id:s.id},e).$promise.then(function(){n.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){n.error(t)})},t.initChat=function(){p.spin("spinner-grid");var e={enableRowSelection:!1,exporterCsvFilename:"tagChat.csv",columnDefs:[{name:"type"},{name:"status"},{name:"ChatWebsite.name",displayName:"APPLICATION_WEBSITE"},{name:"ChatVisitor.email",displayName:"APPLICATION_VISITOR"},{name:"action",width:40,buttons:[{class:"green",name:"chatRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'chatRoom')"}]}]};t.gridOptions=o.gridOptions(l,e,t,{controller:"chat",tag:t.tag.name},null,null,m())},t.initMail=function(){p.spin("spinner-grid");var e={enableRowSelection:!1,exporterCsvFilename:"tagMail.csv",columnDefs:[{name:"subject"},{name:"from"},{name:"account"},{name:"status"},{name:"action",width:40,buttons:[{class:"green",name:"mailRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'mailRoom')"}]}]};t.gridOptions=o.gridOptions(l,e,t,{controller:"mail",tag:t.tag.name},null,null,m())},t.initFax=function(){p.spin("spinner-grid");var e={enableRowSelection:!1,exporterCsvFilename:"tagFax.csv",columnDefs:[{name:"from"},{name:"account"},{name:"status"},{name:"action",width:40,buttons:[{class:"green",name:"faxRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'faxRoom')"}]}]};t.gridOptions=o.gridOptions(l,e,t,{controller:"fax",tag:t.tag.name},null,null,m())},t.initSms=function(){p.spin("spinner-grid");var e={enableRowSelection:!1,exporterCsvFilename:"tagSms.csv",columnDefs:[{name:"from"},{name:"status"},{name:"action",width:40,buttons:[{class:"green",name:"smsRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'smsRoom')"}]}]};t.gridOptions=o.gridOptions(l,e,t,{controller:"sms",tag:t.tag.name},null,null,m())},t.initContacts=function(){t.readyGrid=!1,p.spin("spinner-grid");var e;return r.get().$promise.then(function(e){return t.lists=[],e.rows.forEach(function(e,n){t.lists.push({value:e.id,label:e.name})}),c.get().$promise}).then(function(e){t.companies=[],e.rows.forEach(function(e,n){t.companies.push({value:e.id,label:e.name})})}).then(function(){e={enableRowSelection:!1,exporterCsvFilename:"tagContacts.csv",columnDefs:[{name:"firstName"},{name:"lastName"},{name:"phone"},{name:"email"},{name:"ListId",displayName:"APPLICATION_LIST",field:"List.name",filter:{type:u.filter.SELECT,selectOptions:t.lists}},{name:"CompanyId",displayName:"APPLICATION_COMPANY",field:"Company.name",filter:{type:u.filter.SELECT,term:s.companyId||null,selectOptions:t.companies}},{name:"action",width:40,buttons:[{class:"blue-hoki",name:"profile",onClick:"grid.appScope.openContactTab(row.entity)"}]}]},t.gridOptions=o.gridOptions(l,e,t,{controller:"contacts",tag:t.tag.name},null,null,m())}).catch(function(t){n.error(t)})},t.openRoom=function(e,n){var a=_.find(t.workspaces,{id:e,type:n});if(a)a.active=!0;else{var s;switch(n){case"mailRoom":s="icon-envelope";break;case"chatRoom":s="fa fa-users";break;case"faxRoom":s="fa fa-fax";break;case"smsRoom":s="glyphicon glyphicon-comment"}t.workspaces.push({id:e,type:n,class:s,active:!0})}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.tags.view",{url:"/view/:id",templateUrl:"app/tools/tag/view/view.html",controller:"TagViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.tags.view.settings",{url:"/settings",templateUrl:"app/tools/tag/view/view.settings.html"}).state("main.tools.tags.view.chat",{url:"/chat",templateUrl:"app/tools/tag/view/view.chat.html"}).state("main.tools.tags.view.mail",{url:"/mail",templateUrl:"app/tools/tag/view/view.mail.html"}).state("main.tools.tags.view.fax",{url:"/fax",templateUrl:"app/tools/tag/view/view.fax.html"}).state("main.tools.tags.view.sms",{url:"/sms",templateUrl:"app/tools/tag/view/view.sms.html"}).state("main.tools.tags.view.contacts",{url:"/contacts",templateUrl:"app/tools/tag/view/view.contacts.html"})}]),angular.module("xCallyShuttleApp").controller("TemplateListCtrl",["$scope","Template","gridOptions",function(t,e,n){t.initView=function(){var a={exporterCsvFilename:"templates.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:75,buttons:[{class:"blue-hoki",href:"/tools/templates/view/{{row.entity.id}}/settings",name:"settings"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=n.gridOptions(e,a,t)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.templates.list",{url:"/list",templateUrl:"app/tools/template/list/list.html",controller:"TemplateListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Template",["$resource",function(t){return t("/api/templates/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.templates",{url:"/templates",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:56}}})}]),angular.module("xCallyShuttleApp").controller("TemplateViewCtrl",["$scope","$rootScope","$http","$translate","$stateParams","xAlert","Template","templateVariable",function(t,e,n,a,s,i,l,o){t.initItem=function(){CKEDITOR.plugins.addExternal("richparams","/assets/plugins/ckeditor-richparams/"),t.options={language:e.language,allowedContent:!0,entities:!1,skin:"office2013",contentsCss:"/assets/css/global/richparams.css",extraPlugins:"richparams,autogrow",autoGrow_minHeight:450,richparams:o,disableNativeSpellChecker:!1,toolbar:[{name:"clipboard",items:["Cut","Copy","Paste","PasteText","PasteFromWord","-","Undo","Redo"]},{name:"links",items:["Link","Unlink","Anchor"]},{name:"insert",items:["Image","Table","HorizontalRule","SpecialChar"]},{name:"tools",items:["Maximize"]},{name:"document",items:["Source"]},"/",{name:"basicstyles",items:["Bold","Italic","Underline","Strike","Subscript","Superscript","-","RemoveFormat"]},{name:"paragraph",items:["NumberedList","BulletedList","-","Outdent","Indent","-","Blockquote"]},{name:"styles",items:["Styles","Format"]},"/",{name:"motion",items:["voice","chat","mail","sms","openchannel","fax"]}]},t.form={},t.item={},t.item=l.get({id:s.id})},t.updateItem=function(){return l.update(t.item).$promise.then(function(){i.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){i.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.templates.view",{url:"/view/:id",templateUrl:"app/tools/template/view/view.html",controller:"TemplateViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.templates.view.settings",{url:"/settings",templateUrl:"app/tools/template/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TemplateWizardCtrl",["$scope","$rootScope","$location","$http","WizardHandler","xAlert","Template","templateVariable",function(t,e,n,a,s,i,l,o){t.initWizard=function(){CKEDITOR.plugins.addExternal("richparams","/assets/plugins/ckeditor-richparams/"),t.options={language:e.language,allowedContent:!0,entities:!1,skin:"office2013",contentsCss:"/assets/css/global/richparams.css",extraPlugins:"richparams,autogrow",autoGrow_minHeight:450,disableNativeSpellChecker:!1,richparams:o,toolbar:[{name:"clipboard",items:["Cut","Copy","Paste","PasteText","PasteFromWord","-","Undo","Redo"]},{name:"links",items:["Link","Unlink","Anchor"]},{name:"insert",items:["Image","Table","HorizontalRule","SpecialChar"]},{name:"tools",items:["Maximize"]},{name:"document",items:["Source"]},"/",{name:"basicstyles",items:["Bold","Italic","Underline","Strike","Subscript","Superscript","-","RemoveFormat"]},{name:"paragraph",items:["NumberedList","BulletedList","-","Outdent","Indent","-","Blockquote"]},{name:"styles",items:["Styles","Format"]},"/",{name:"motion",items:["voice","chat","mail","sms","openchannel","fax"]}]},t.item={},t.form={}},t.exitValidation=function(t){return t},t.createItem=function(){return l.save({name:t.item.name,description:t.item.description,subject:t.item.subject||null,html:t.item.html||null,text:t.item.text||null}).$promise.then(function(){n.path("/tools/templates/list")}).catch(function(t){i.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.templates.wizard",{url:"/wizard",templateUrl:"app/tools/template/wizard/wizard.html",controller:"TemplateWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools",{url:"/tools",template:"
",abstract:!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("TriggerListCtrl",["$scope","$http","$translate","Modal","xAlert","Trigger","gridOptions",function(t,e,n,a,s,i,l){t.onText="On",t.offText="Off",t.isActive=!0,t.size="mini",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.initView=function(){var e={exporterCsvFilename:"Triggers.csv",columnDefs:[{name:"name"},{name:"description"},{name:"channel"},{name:"status",cellTemplate:'
',width:100,enableFiltering:!1},{name:"action",width:75,buttons:[{class:"blue-hoki",href:"/tools/triggers/view/{{row.entity.id}}/settings",name:"settings"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=l.gridOptions(i,e,t)},t.updateItem=function(t){return i.update({id:t.id},t).$promise.then(function(){s.show(n.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){s.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.triggers.list",{url:"/list",templateUrl:"app/tools/trigger/list/list.html",controller:"TriggerListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Trigger",["$resource",function(t){return t("/api/triggers/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]);angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.triggers",{url:"/triggers",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:50}}})}]),angular.module("xCallyShuttleApp").controller("TriggerViewCtrl",["$scope","$stateParams","$http","$translate","xAlert","triggers","Trigger","$location",function(t,e,n,a,s,i,l,o){t.$triggers=i,t.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.forms={general:{}},t.addCondition=function(e){t.trigger[e].push({field:"",operator:"",value:""})},t.removeCondition=function(e,n){t.trigger[e].splice(n,1)},t.addAction=function(){t.trigger.Actions.push({action:"",data1:"",data2:"",data3:"",data4:"",data5:""})},t.resetActionData=function(t){t.data1="",t.data2="",t.data3="",t.data4="",t.data5=""},t.removeAction=function(e){t.trigger.Actions.splice(e,1)},t.initView=function(){return l.get({id:e.id}).$promise.then(function(e){t.trigger=e}).catch(function(t){s.error(t),o.path("/tools/triggers/list")})},t.updateTrigger=function(){return l.update({id:e.id},t.trigger).$promise.then(function(){s.show(a.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){console.error(t),s.error(t)})},t.exitValidation=function(e){return!(!e||!t.trigger.Actions.length)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.triggers.view",{url:"/view/:id",templateUrl:"app/tools/trigger/view/view.html",controller:"TriggerViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.tools.triggers.view.settings",{url:"/settings",templateUrl:"app/tools/trigger/view/view.settings.html"}).state("main.tools.triggers.view.routes",{url:"/routes",templateUrl:"app/tools/trigger/view/view.routes.html"}).state("main.tools.triggers.view.application",{url:"/application",templateUrl:"app/tools/trigger/view/view.application.html"})}]),angular.module("xCallyShuttleApp").controller("TriggerWizardCtrl",["$scope","$http","$location","xAlert","triggers","WizardHandler","Trigger",function(t,e,n,a,s,i,l){t.$triggers=s,t.statusSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.tempData={voice:{},mail:{},chat:{},fax:{}},t.item={All:[],Any:[],Actions:[]},t.forms={general:void 0,settings:void 0},t.addCondition=function(e){t.item[e].push({field:"",operator:"",value:""})},t.removeCondition=function(e,n){t.item[e].splice(n,1)},t.addAction=function(){t.item.Actions.push({action:"",data1:"",data2:"",data3:"",data4:"",data5:""})},t.resetActionData=function(t){t.data1="",t.data2="",t.data3="",t.data4="",t.data5=""},t.removeAction=function(e){t.item.Actions.splice(e,1)},t.$watch("item.channel",function(e,n){n&&(t.tempData[n].All=_.clone(t.item.All,!0),t.tempData[n].Any=_.clone(t.item.Any,!0),t.tempData[n].Actions=_.clone(t.item.Actions,!0)),t.item.All=t.tempData[e].All?t.tempData[e].All:[],t.item.Any=t.tempData[e].Any?t.tempData[e].Any:[],t.item.Actions=t.tempData[e].Actions?t.tempData[e].Actions:[]},!0),t.item.channel="voice",t.createItem=function(){return l.save(t.item).$promise.then(function(){n.path("/tools/triggers/list")}).catch(function(t){console.error(t),a.error(t)})},t.next=function(){i.wizard().next()},t.previous=function(){i.wizard().previous()},t.exitValidation=function(t){return t},t.exitSettingsValidation=function(e){return!(!e||!t.item.Actions.length)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.triggers.wizard",{url:"/wizard",templateUrl:"app/tools/trigger/wizard/wizard.html",controller:"TriggerWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("TrunkListCtrl",["$scope","Trunk","gridOptions","xAlert","$translate","socket",function(t,e,n,a,s,i){function l(){i.socket.on("voice:trunks",function(e){var n=_.find(t.gridOptions.data,{name:e.name});n&&(n.status=e.status,n.peerstatus=e.peerstatus)})}t.isActive=!0,t.size="mini",t.animate=!0,t.radioOff=!0,t.handleWidth="auto",t.labelWidth="auto",t.inverse=!0,t.offColor="danger",t.onColor="success",t.initView=function(){var a={exporterCsvFilename:"Trunks.csv",columnDefs:[{name:"name"},{name:"active",cellTemplate:'
'},{name:"host"},{name:"description"},{name:"status",cellTemplate:'
{{row.entity.status}}
'},{name:"peerstatus",cellTemplate:'
{{row.entity.peerstatus}}
'},{name:"action",width:75,buttons:[{class:"blue-hoki",href:"/tools/trunks/view/{{row.entity.name}}/settings",name:"settings"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.name)"}]}]};t.gridOptions=n.gridOptions(e,a,t,null,null,null,l)},t.updateItem=function(t){return e.update({id:t.name},t).$promise.then(function(){a.show(s.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){console.error(t),a.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.trunks.list",{url:"/list",templateUrl:"app/tools/trunk/list/list.html",controller:"TrunkListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Trunk",["$resource",function(t){return t("/api/trunks/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.trunks",{url:"/trunks",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:52}}})}]),angular.module("xCallyShuttleApp").controller("TrunkViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location","Trunk","VoiceContext",function(t,e,n,a,s,i,l,o,r){t.activeSwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},t.initView=function(){return o.get({id:s.id}).$promise.then(function(e){e.nat=e.nat?e.nat.split(","):[],e.allow=e.allow?e.allow.split(";"):[],e.insecure=e.insecure?e.insecure.split(","):[],e.transport=e.transport?e.transport.split(","):[],t.trunk=e}).then(function(){i.socket.on("voice:trunk",function(e){t.trunk.name===e.username&&(t.trunk.status=e.status,t.trunk.peerstatus=e.peerstatus)})}).catch(function(t){console.error(t),l.path("/tools/trunks/list")})},t.updateTrunk=function(){""===t.trunk.password&&delete t.trunk.password;var e=angular.copy(t.trunk);return e.nat=e.nat.join(","),e.allow=e.allow.join(";"),e.insecure=e.insecure.join(","),e.transport=e.transport.join(","),o.update({id:s.id},e).$promise.then(function(){n.show(a.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){n.error(t)})},t.getContexts=function(){return r.get().$promise.then(function(e){t.voiceContexts=e.rows}).catch(function(t){n.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.trunks.view",{url:"/view/:id",templateUrl:"app/tools/trunk/view/view.html",controller:"TrunkViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.trunks.view.settings",{url:"/settings",templateUrl:"app/tools/trunk/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TrunkWizardCtrl",["$scope","WizardHandler","$location","xAlert","Trunk",function(t,e,n,a,s){t.initWizard=function(){t.forms={},t.item={context:"from-voip-provider"}},t.next=function(){e.wizard().next()},t.previous=function(){e.wizard().previous()},t.exitValidation=function(t){return t},t.createItem=function(){return t.item.fromuser=t.item.defaultuser,t.item.fromdomain=t.item.host,s.save(t.item).$promise.then(function(){n.path("/tools/trunks/list")}).catch(function(t){a.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.trunks.wizard",{url:"/wizard",templateUrl:"app/tools/trunk/wizard/wizard.html",controller:"TrunkWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("VariableListCtrl",["$scope","$uibModal","Variable","gridOptions",function(t,e,n,a){t.initView=function(){var e={exporterCsvFilename:"variables.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:75,buttons:[{class:"blue-hoki",href:"/tools/variables/view/{{row.entity.id}}/settings",name:"settings"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=a.gridOptions(n,e,t)},t.createItem=function(){e.open({animation:!0,templateUrl:"app/tools/variable/list/list.create.modal.html",controller:"VariableListCreateCtrl"}).result.then(function(e){console.log(e),t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("VariableListCreateCtrl",["$scope","$translate","$uibModalInstance","Variable","xAlert",function(t,e,n,a,s){t.form={},t.item={},t.save=function(){return a.save(t.item).$promise.then(function(t){s.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t)}).catch(function(t){s.error(t)})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.variables.list",{url:"/list",templateUrl:"app/tools/variable/list/list.html",controller:"VariableListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Variable",["$resource",function(t){return t("/api/variables/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.variables",{url:"/variables",template:"
",abstract:!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:54}}})}]),angular.module("xCallyShuttleApp").controller("VariableViewCtrl",["$scope","$translate","$stateParams","xAlert","Variable",function(t,e,n,a,s){t.getVariable=function(){return s.get({id:n.id}).$promise.then(function(e){t.variable=e}).catch(function(t){a.error(t)})},t.updateVariable=function(){return s.update({id:n.id},t.variable).$promise.then(function(){a.show(e.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){a.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.variables.view",{url:"/view/:id",templateUrl:"app/tools/variable/view/view.html",controller:"VariableViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.variables.view.settings",{url:"/settings",templateUrl:"app/tools/variable/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("YourdashboardListCloneModalCtrl",["$scope","$uibModalInstance","name",function(t,e,n){t.forms={dashboard:{}},t.item={name:n},t.ok=function(){e.close(t.item)},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("YourdashboardListCreateModalCtrl",["$scope","$uibModalInstance",function(t,e){t.forms={dashboard:void 0},t.item={},t.ok=function(){t.item.model=JSON.stringify({title:t.item.name}),e.close(t.item)},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("YourdashboardListCtrl",["$scope","$http","$translate","xAlert","Modal","$uibModal","$log","YourDashboard","gridOptions",function(t,e,n,a,s,i,l,o,r){t.initView=function(){var e={exporterCsvFilename:"voice_contexts.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:125,buttons:[{class:"green",href:"/tools/yourdashboards/show/{{row.entity.id}}",name:"view"},{class:"blue-hoki",href:"/tools/yourdashboards/view/{{row.entity.id}}/settings",name:"settings"},{class:"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{class:"purple",name:"clone",onClick:"grid.appScope.clone(row.entity.id,row.entity.name)"}]}]};t.gridOptions=r.gridOptions(o,e,t)},t.create=function(){i.open({animation:!0,templateUrl:"app/tools/yourdashboard/list/create.modal.html",controller:"YourdashboardListCreateModalCtrl"}).result.then(function(e){return o.save(e).$promise.then(function(){a.show(n.instant("MESSAGE_WELL_DONE"),"success"),t.gridOptions.getPage()}).catch(function(t){console.error(t),a.error(t)})},function(){l.info("Modal dismissed at: "+new Date)})},t.clone=function(e,s){i.open({animation:!0,templateUrl:"app/tools/yourdashboard/list/clone.modal.html",controller:"YourdashboardListCloneModalCtrl",resolve:{name:function(){return s+"_copy"}}}).result.then(function(s){return o.save({id:e,controller:"clone"},s).$promise.then(function(){a.show(n.instant("MESSAGE_WELL_DONE"),"success"),t.gridOptions.getPage()}).catch(function(t){console.error(t),a.error(t)})},function(){l.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.tools.yourdashboards.list",{url:"/list",templateUrl:"app/tools/yourdashboard/list/list.html",controller:"YourdashboardListCtrl",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:59}}})}]),angular.module("xCallyShuttleApp").controller("LeaveEditedDashboardModalCtrl",["$scope","$uibModalInstance",function(t,e){t.close=function(){e.close()},t.cancel=function(){e.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("YourdashboardShowCtrl",["$scope","$rootScope","localStorageService","xAlert","$translate","Auth","$stateParams","$location","$uibModal","$log","YourDashboard","$interval",function(t,e,n,a,s,i,l,o,r,c,d,u){function p(){return d.get({id:l.id,controller:"values"}).$promise.then(function(){}).catch(function(t){console.error("Error retrieving widgets values",t)})}function m(t){var e,n;if(!t)return 0;for(e=n=(t=t.toString()).length;e--;){var a=t[e].charCodeAt();56320<=a&&a<=57343&&e--,127
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("ZendeskListCtrl",["$scope","ZendeskAccount","gridOptions","xAlert","$translate",function(t,e,n,a,s){t.initView=function(){var a={exporterCsvFilename:"zendesk_account.csv",columnDefs:[{name:"name",displayName:"APPLICATION_NAME"},{name:"username"},{name:"remoteUri",displayName:"APPLICATION_URI"},{name:"action",buttons:[{class:"blue-hoki",href:"/zendesk/view/{{row.entity.id}}/account",name:"profile"},{class:"green-jungle",name:"check",onClick:"grid.appScope.checkAccount(row.entity.id)"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=n.gridOptions(e,a,t)},t.checkAccount=function(t){return e.check({id:t}).$promise.then(function(){a.show(s.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")}).catch(function(){a.show(s.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.zendesk.list",{url:"/list",templateUrl:"app/zendesk/list/list.html",controller:"ZendeskListCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.zendesk.view.configurations",{url:"/configurations",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").controller("ZendeskViewConfigurationListCtrl",["$scope","$stateParams","$translate","gridOptions","ZendeskConfiguration","$uibModal",function(t,e,n,a,s,i){t.initView=function(){var n={exporterCsvFilename:"zendesk_configurations.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:125,buttons:[{class:"blue-hoki",href:"/zendesk/view/{{row.entity.AccountId}}/configurations/view/{{row.entity.id}}",name:"profile"},{class:"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};t.gridOptions=a.gridOptions(s,n,t,{accountId:e.id})},t.createItem=function(){i.open({animation:!0,templateUrl:"app/zendesk/view/configuration/list/create.modal.html",controller:"ZendeskCreateConfigurationCtrl"}).result.then(function(){t.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ZendeskCreateConfigurationCtrl",["$scope","$translate","$uibModalInstance","ZendeskConfiguration","xAlert","$stateParams","channel",function(t,e,n,a,s,i,l){t.form={},t.item={},t.channels=l,t.item.channel="voice",t.item.type="Queue",t.save=function(){return a.save({accountId:i.id},t.item).$promise.then(function(t){s.show(e.instant("MESSAGE_WELL_DONE"),"success"),n.close(t)}).catch(function(t){s.error(t)})},t.cancel=function(){n.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.zendesk.view.configurations.list",{url:"/list",templateUrl:"app/zendesk/view/configuration/list/list.html",controller:"ZendeskViewConfigurationListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ZendeskViewConfigurationViewCtrl",["$scope","$stateParams","$filter","$translate","socket","ZendeskConfiguration","xAlert","variable","Variable","ZendeskAccount","Tag","ZendeskField",function(t,e,n,a,s,i,l,o,r,c,d,u){t.$on("$destroy",function(){s.unsyncUpdates("zendesk_field")}),t.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:300,scrollInertia:0},t.fieldType=[{type:"string",title:"String"},{type:"variable",title:"Variable"},{type:"customVariable",title:"Custom Variable"}],t.descFieldType=[{type:"string",title:"String"},{type:"keyValue",title:"Key Value"}],t.groupVariableByGroup=function(t){switch(t.group){case"voice_queue":return"Voice: Queue";case"voice_outbound":return"Voice: Outbound";default:return"Other"}},t.initView=function(){t.configurationName="",t.subjectConfig=[],t.descriptionConfig=[],t.fieldConfig=[],t.selectedTags={tags:[]},t.variables=o},t.getConfiguration=function(){return i.get({accountId:e.id,id:e.configurationId}).$promise.then(function(e){t.configurationName=e.name,t.subjectConfig=e.Subject,t.descriptionConfig=e.Description,t.fieldConfig=e.Field,t.selectedTags={tags:_.map(e.Tags,function(t){return t.id})},s.socket.on("zendesk_field:remove",function(e){_.remove(t.subjectConfig,{id:e.id}),_.remove(t.descriptionConfig,{id:e.id}),_.remove(t.fieldConfig,{id:e.id})})}).catch(function(t){l.error(t)})},t.getCustomVariables=function(){return r.get().$promise.then(function(e){t.customVariables=e.rows}).catch(function(t){l.error(t)})},t.getFields=function(){return c.fields({id:e.id}).$promise.then(function(e){t.accountFields=n("zendesk")(e)}).catch(function(t){l.error(t)})},t.getTags=function(){return d.get().$promise.then(function(e){t.tags=e.rows}).catch(function(t){l.error(t)})},t.addItem=function(n){var a={};switch(n){case"subject":case"description":a={type:"string",content:""};break;case"field":a={content:""}}return i.save({accountId:e.id,id:e.configurationId,controller:n},a).$promise.then(function(e){switch(n){case"subject":t.subjectConfig.push(e);break;case"description":t.descriptionConfig.push(e);break;case"field":t.fieldConfig.push(e)}}).catch(function(t){l.error(t)})},t.changeType=function(e){"variable"===e.type?(e.content="",e.variableName=""):"string"===e.type?(e.VariableId=null,e.variableName=""):"customVariable"===e.type&&(e.VariableId=null,e.content=""),t.updateField(e)},t.updateField=function(t){return u.update({accountId:e.id,configurationId:e.configurationId,id:t.id},t).$promise.then(function(){}).catch(function(t){l.error(t)})},t.removeItem=function(t){return u.delete({accountId:e.id,configurationId:e.configurationId,id:t.id}).$promise.then(function(){l.show(a.instant("MESSAGE_WELL_DONE")+"!","success")}).catch(function(t){l.error(t)})},t.changeDescType=function(e){"keyValue"===e.type?(e.content="","string"===e.keyType?(e.VariableId=null,e.variableName=""):"variable"===e.keyType?(e.keyContent="",e.VariableId=null):"customVariable"===e.keyType&&(e.keyContent="",e.variableName="")):"string"===e.type&&(e.VariableId=null,e.variableName="",e.key="",e.keyContent=""),t.updateField(e)},t.changeFieldType=function(e){if(e.content="",e.variableName="",e.nameField="",e.VariableId=null,e.idField){var n=_.find(t.accountFields,"id",e.idField);n&&(n.system_field_options?(e.customField=!1,e.nameField=n.title.toLowerCase()):e.customField=!0)}t.updateField(e)},t.updateTags=function(){return i.update({accountId:e.id,id:e.configurationId,controller:"tags"},t.selectedTags.tags).$promise.then(function(){l.show(a.instant("MESSAGE_WELL_DONE")+".","success")}).catch(function(t){l.error(t)})},t.getSystemFieldOptions=function(e){if(e){var n=_.find(t.accountFields,"id",e);return n?n.system_field_options?n.system_field_options:null:void 0}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.zendesk.view.configurations.view",{url:"/view/:configurationId",templateUrl:"app/zendesk/view/configuration/view/view.html",controller:"ZendeskViewConfigurationViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ZendeskViewCtrl",["$scope","$stateParams","$translate","xAlert","Modal","ZendeskAccount",function(t,e,n,a,s,i){t.initView=function(){return i.get({id:e.id}).$promise.then(function(e){t.account=e}).catch(function(t){a.error(t)})},t.updateItem=function(){return i.update({id:e.id},t.account).$promise.then(function(){a.show(n.instant("MESSAGE_WELL_DONE")+".","success")}).catch(function(t){a.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.zendesk.view",{url:"/view/:id",templateUrl:"app/zendesk/view/view.html",controller:"ZendeskViewCtrl",resolve:{deps:["$ocLazyLoad",function(t){return t.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.zendesk.view.account",{url:"/account",templateUrl:"app/zendesk/view/view.account.html"})}]),angular.module("xCallyShuttleApp").controller("ZendeskWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler","ZendeskAccount",function(t,e,n,a,s,i,l){t.translate=a,t.initWizard=function(){t.$translate=a,t.forms={},t.item={},t.item.authType="password",t.item.serverUrl=n.protocol()+"://"+location.host},t.next=function(){i.wizard().next()},t.exitValidation=function(t){return t},t.createItem=function(){return l.save(t.item).$promise.then(function(){s.show(a.instant("MESSAGE_WELL_DONE")+".","success"),n.path("/zendesk/list")}).catch(function(t){s.error(t)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.zendesk.wizard",{url:"/wizard",templateUrl:"app/zendesk/wizard/wizard.html",controller:"ZendeskWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("ZendeskAccount",["$resource",function(t){return t("/api/zendesk/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"},fields:{params:{controller:"fields"},isArray:!0},check:{params:{controller:"check"}}})}]).factory("ZendeskConfiguration",["$resource",function(t){return t("/api/zendesk/accounts/:accountId/configurations/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]).factory("ZendeskField",["$resource",function(t){return t("/api/zendesk/accounts/:accountId/configurations/:configurationId/fields/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(t){t.state("main.zendesk",{url:"/zendesk",template:"
",abstract:!0})}]),angular.module("xCallyShuttleApp").factory("AuthResource",["$resource",function(t){return t("/auth/local/:controller/:controller2/:param",{param:"@param"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("Auth",["$location","$rootScope","$http","User","$cookieStore","$q","localStorageService",function(t,e,n,a,s,i,l){var o={};return s.get("token")&&(o=a.me()),{login:function(t,r){var c=r||angular.noop,d=i.defer();return n.post("/auth/local",{name:t.name,password:t.password,remember:t.remember}).success(function(t){return s.put("role",t.role),s.put("token",t.token),s.put("userId",t.userId),l.set("loggedIn",!0),o=a.me({},function(){e.$broadcast("login")}),d.resolve(t),c()}).error(function(t){return this.logout(),d.reject(t),c(t)}.bind(this)),d.promise},recover:function(t,e){var a=e||angular.noop,s=i.defer();return n.post("/auth/local/recover",{email:t.email}).success(function(t){return s.resolve(t),a()}).error(function(t){return s.reject(t),a(t)}.bind(this)),s.promise},reset:function(t,e){var a=e||angular.noop,s=i.defer();return n.post("/auth/local/reset/"+t.token,{password:t.password}).success(function(t){return s.resolve(t),a()}).error(function(t){return s.reject(t),a(t)}.bind(this)),s.promise},loginWithToken:function(t,n,i){s.put("role",i),s.put("token",t),s.put("userId",n),o=a.me({},function(){e.$broadcast("login")})},logout:function(){s.remove("role"),s.remove("token"),s.remove("userId"),l.set("loggedIn"),o={},e.$broadcast("logout")},createUser:function(t,e){var n=e||angular.noop;return a.save(t,function(e){return s.put("token",e.token),o=a.me(),n(t)},function(t){return this.logout(),n(t)}.bind(this)).$promise},changePassword:function(t,e,n){var s=n||angular.noop;return a.changePassword({id:o.id},{oldPassword:t,newPassword:e},function(t){return s(null,t)},function(t){return s(t)}).$promise},getCurrentUser:function(){return o},isLoggedIn:function(){return o.hasOwnProperty("role")},isLoggedInAsync:function(t){o.hasOwnProperty("$promise")?o.$promise.then(function(){t(!0)}).catch(function(){t(!1)}):t(o.hasOwnProperty("role")?!0:!1)},isAdmin:function(){return"admin"===(s.get("role")||o.role)},isUser:function(){return"user"===(s.get("role")||o.role)},isAgent:function(){return"agent"===(s.get("role")||o.role)},getRole:function(){return o.role},getToken:function(){return s.get("token")}}}]),angular.module("xCallyShuttleApp").directive("actionBuilderAccountEmail",["$compile","$timeout","MailAccount","xAlert","Template",function(t,e,n,a,s){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"components/directives/action/accountEmail/actionBuilder.html",compile:function(i){function l(t,e){var n=[];for(t=t||5,e=e||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--t;)n.push(e.charAt(Math.floor(Math.random()*e.length)));return n.join("")}var o,r;return o=i.contents().remove(),function(i,c){i.randomName=l(),e(function(){return n.get().$promise.then(function(t){return _.forEach(t.rows,function(t){t.id=String(t.id)}),i.accounts=t,s.get().$promise}).then(function(t){_.forEach(t.rows,function(t){t.id=String(t.id)}),i.templates=t.rows}).catch(function(t){a.error(t)})}),r||(r=t(o)),c.append(r(i,function(t){return t}))}}}}]),angular.module("xCallyShuttleApp").directive("actionBuilderAccountSms",["$compile","$timeout","SmsAccount","xAlert",function(t,e,n,a){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"components/directives/action/accountSms/actionBuilder.html",compile:function(s){function i(t,e){var n=[];for(t=t||5,e=e||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--t;)n.push(e.charAt(Math.floor(Math.random()*e.length)));return n.join("")}var l,o;return l=s.contents().remove(),function(s,r){s.randomName=i(),e(function(){return n.get().$promise.then(function(t){_.forEach(t.rows,function(t){t.id=String(t.id)}),s.accounts=t}).catch(function(t){a.error(t)})}),o||(o=t(l)),r.append(o(s,function(t){return t}))}}}}]),angular.module("xCallyShuttleApp").directive("actionBuilderAccountTemplate",["$compile","xAlert","$http","$timeout","Template","MailAccount",function(t,e,n,a,s,i){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"components/directives/action/accountTemplate/actionBuilder.html",compile:function(n){function l(t,e){var n=[];for(t=t||5,e=e||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--t;)n.push(e.charAt(Math.floor(Math.random()*e.length)));return n.join("")}var o,r;return o=n.contents().remove(),function(n,c){n.randomName=l(),a(function(){return s.get().$promise.then(function(t){_.forEach(t.rows,function(t){t.id=String(t.id)}),n.templates=t}).then(function(){return i.get().$promise}).then(function(t){_.forEach(t.rows,function(t){t.id=String(t.id)}),n.accounts=t}).catch(function(t){e.error(t)})}),r||(r=t(o)),c.append(r(n,function(t){return t}))}}}}]),angular.module("xCallyShuttleApp").directive("actionBuilderClose",["$compile",function(t){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"components/directives/action/close/actionBuilder.html",compile:function(e){function n(t,e){var n=[];for(t=t||5,e=e||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--t;)n.push(e.charAt(Math.floor(Math.random()*e.length)));return n.join("")}var a,s;return a=e.contents().remove(),function(e,i){e.randomName=n(),s||(s=t(a)),i.append(s(e,function(t){return t}))}}}}]),angular.module("xCallyShuttleApp").directive("actionBuilderCm",["$compile","xAlert","$http","$timeout","$translate","List",function(t,e,n,a,s,i){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"components/directives/action/cm/actionBuilder.html",compile:function(n){var s,l;return s=n.contents().remove(),function(n,o){n.randomName=function(t,e){var n=[];for(t=t||5,e=e||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--t;)n.push(e.charAt(Math.floor(Math.random()*e.length)));return n.join("")}(),n.switch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a(function(){return i.get().$promise.then(function(t){_.forEach(t.rows,function(t){t.id=String(t.id)}),n.lists=t.rows}).catch(function(t){e.error(t)})}),l||(l=t(s)),o.append(l(n,function(t){return t}))}}}}]),angular.module("xCallyShuttleApp").directive("actionBuilderEmail",["$compile","xAlert","$timeout","Template",function(t,e,n,a){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"components/directives/action/email/actionBuilder.html",compile:function(s){function i(t,e){var n=[];for(t=t||5,e=e||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--t;)n.push(e.charAt(Math.floor(Math.random()*e.length)));return n.join("")}var l,o;return l=s.contents().remove(),function(s,r){s.randomName=i(),n(function(){return a.get().$promise.then(function(t){_.forEach(t.rows,function(t){t.id=String(t.id)}),s.templates=t.rows}).catch(function(t){e.error(t)})}),o||(o=t(l)),r.append(o(s,function(t){return t}))}}}}]),angular.module("xCallyShuttleApp").directive("actionBuilderForward",["$compile",function(t){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"components/directives/action/forward/actionBuilder.html",compile:function(e){function n(t,e){var n=[];for(t=t||5,e=e||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--t;)n.push(e.charAt(Math.floor(Math.random()*e.length)));return n.join("")}var a,s;return a=e.contents().remove(),function(e,i){e.randomName=n(),s||(s=t(a)),i.append(s(e,function(t){return t}))}}}}]),angular.module("xCallyShuttleApp").directive("actionBuilderHttp",["$compile",function(t){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"components/directives/action/http/actionBuilder.html",compile:function(e){function n(t,e){var n=[];for(t=t||5,e=e||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--t;)n.push(e.charAt(Math.floor(Math.random()*e.length)));return n.join("")}var a,s;return a=e.contents().remove(),function(e,i){e.randomName=n(),e.methods=["GET","POST"],s||(s=t(a)),i.append(s(e,function(t){return t}))}}}}]),angular.module("xCallyShuttleApp").directive("actionBuilderIntegration",["$compile","xAlert","$http","$timeout","Integration","$translate","ZendeskAccount","DeskAccount","SalesforceAccount","FreshdeskAccount","SugarcrmAccount",function(t,e,n,a,s,i,l,o,r,c,d){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"components/directives/action/integration/actionBuilder.html",compile:function(n){function i(t,e){var n=[];for(t=t||5,e=e||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--t;)n.push(e.charAt(Math.floor(Math.random()*e.length)));return n.join("")}var u,p;return u=n.contents().remove(),function(n,m){n.randomName=i(),a(function(){return s.get({active:1}).$promise.then(function(t){_.remove(t.rows,function(t){return"iframe"===t.state}),n.integrations=t.rows,n.element.data1&&g()}).catch(function(t){e.error(t)})});var g=function(){var t;switch(n.element.data1){case"zendesk":t=l;break;case"desk":t=o;break;case"salesforce":t=r;break;case"freshdesk":t=c;break;case"sugarcrm":t=d}if(t)return t.get().$promise.then(function(t){_.forEach(t.rows,function(t){t.id=String(t.id)}),n.accounts=t.rows,n.element.data2&&h()}).catch(function(t){e.error(t)})},h=function(){var t=_.find(n.accounts,{id:n.element.data2}).Configurations;_.forEach(t,function(t){t.id=String(t.id)}),n.configurations=t};n.changeIntegration=function(){n.element.data2="",g()},n.changeAccount=function(){n.element.data3="",h()},p||(p=t(u)),m.append(p(n,function(t){return t}))}}}}]),angular.module("xCallyShuttleApp").directive("actionBuilderJscripty",["$compile","xAlert","$http","$timeout","Template","$translate","JscriptyProject",function(t,e,n,a,s,i,l){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"components/directives/action/jscripty/actionBuilder.html",compile:function(n){var s,i;return s=n.contents().remove(),function(n,o){n.randomName=function(t,e){var n=[];for(t=t||5,e=e||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--t;)n.push(e.charAt(Math.floor(Math.random()*e.length)));return n.join("")}(),a(function(){return l.get().$promise.then(function(t){_.forEach(t.rows,function(t){t.id=String(t.id)}),n.projects=t.rows}).catch(function(t){e.error(t)})}),i||(i=t(s)),o.append(i(n,function(t){return t}))}}}}]),angular.module("xCallyShuttleApp").directive("actionBuilderMotionBar",["$compile","xAlert","$http","$timeout","Template",function(t,e,n,a,s){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"components/directives/action/motionbar/actionBuilder.html",compile:function(n){var i,l;return i=n.contents().remove(),function(n,o){function r(){return s.get().$promise.then(function(t){_.forEach(t.rows,function(t){t.id=String(t.id)}),n.templates=t.rows}).catch(function(t){e.error(t)})}n.randomName=function(t,e){var n=[];for(t=t||5,e=e||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--t;)n.push(e.charAt(Math.floor(Math.random()*e.length)));return n.join("")}(),n.motionActions=[{name:"Popup",value:"0"},{name:"URL",value:"1"},{name:"Windows App",value:"2"}],n.changeMode=function(){n.element.data2="",n.element.data3="",r()},a(function(){return r()}),l||(l=t(i)),o.append(l(n,function(t){return t}))}}}}]),angular.module("xCallyShuttleApp").directive("actionBuilderStatus",["$compile",function(t){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"components/directives/action/status/actionBuilder.html",compile:function(e){var n,a;return n=e.contents().remove(),function(e,s){e.randomName=function(t,e){var n=[];for(t=t||5,e=e||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--t;)n.push(e.charAt(Math.floor(Math.random()*e.length)));return n.join("")}(),e.states=[{name:"APPLICATION_STATUS_NEW",value:"NEW"},{name:"APPLICATION_STATUS_OPEN",value:"OPEN"},{name:"APPLICATION_STATUS_PENDING",value:"PENDING"},{name:"APPLICATION_STATUS_CLOSED",value:"CLOSED"}],a||(a=t(n)),s.append(a(e,function(t){return t}))}}}}]),angular.module("xCallyShuttleApp").directive("actionBuilderTag",["$compile","xAlert","$http","$timeout","Tag",function(t,e,n,a,s){return{restrict:"E",scope:{myElement:"=element",form:"="},templateUrl:"components/directives/action/tag/actionBuilder.html",compile:function(n){function i(t,e){var n=[];for(t=t||5,e=e||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--t;)n.push(e.charAt(Math.floor(Math.random()*e.length)));return n.join("")}var l,o;return l=n.contents().remove(),function(n,r){console.log("myElement",n.myElement),n.randomName=i(),n.data={tags:n.myElement.data1?n.myElement.data1.split(";"):[]},n.$watch("data.tags",function(t){n.myElement.data1=t.join(";")}),a(function(){return s.get().$promise.then(function(t){n.tags=t.rows}).catch(function(t){e.error(t)})}),o||(o=t(l)),r.append(o(n,function(t){return t}))}}}}]),angular.module("xCallyShuttleApp").directive("actionBuilderTemplate",["$compile","xAlert","$timeout","Template",function(t,e,n,a){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"components/directives/action/template/actionBuilder.html",compile:function(s){function i(t,e){var n=[];for(t=t||5,e=e||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--t;)n.push(e.charAt(Math.floor(Math.random()*e.length)));return n.join("")}var l,o;return l=s.contents().remove(),function(s,r){s.randomName=i(),n(function(){return a.get().$promise.then(function(t){_.forEach(t.rows,function(t){t.id=String(t.id)}),s.templates=t.rows}).catch(function(t){e.error(t)})}),o||(o=t(l)),r.append(o(s,function(t){return t}))}}}}]),angular.module("xCallyShuttleApp").directive("actionBuilderUrlForward",["$compile",function(t){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"components/directives/action/urlforward/actionBuilder.html",compile:function(e){function n(t,e){var n=[];for(t=t||5,e=e||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--t;)n.push(e.charAt(Math.floor(Math.random()*e.length)));return n.join("")}var a,s;return a=e.contents().remove(),function(e,i){e.randomName=n(),e.types=[{name:"HTTP GET",value:"GET"},{name:"HTTP POST",value:"POST"}],s||(s=t(a)),i.append(s(e,function(t){return t}))}}}}]),angular.module("xCallyShuttleApp").directive("actionBuilderWebPopup",["$compile","xAlert","$http","$timeout","Template",function(t,e,n,a,s){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"components/directives/action/webPopup/actionBuilder.html",compile:function(n){var i,l;return i=n.contents().remove(),function(n,o){function r(){return s.get().$promise.then(function(t){_.forEach(t.rows,function(t){t.id=String(t.id)}),n.templates=t.rows}).catch(function(t){e.error(t)})}n.typeChange=function(){n.element.data1=null},n.randomName=function(t,e){var n=[];for(t=t||5,e=e||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--t;)n.push(e.charAt(Math.floor(Math.random()*e.length)));return n.join("")}(),a(function(){r(),n.element.data2=n.element.data2||"motion"}),l||(l=t(i)),o.append(l(n,function(t){return t}))}}}}]),angular.module("xCallyShuttleApp").directive("conditionBuilder",["$compile","$timeout","$translate","xAlert",function(t,e,n,a){return{restrict:"E",scope:{element:"=",serviceindex:"=",service:"=",form:"="},templateUrl:"components/directives/condition/conditionBuilder.html",compile:function(s){var i,l;return i=s.contents().remove(),function(s,o){function r(t){var e=_.find(s.service.services[s.serviceindex].conditions,{value:t});if(e)if(s.elementType=e.type,s.translateName=e.translate,e.arr)s.values=e.arr;else if(e.resource)return e.resource.get(e.params||{}).$promise.then(function(t){s.values=_.map(t.rows,function(t){return{name:t[e.resName||e.resValue],value:String(t[e.resValue])}})}).catch(function(t){a.show(n.instant(t.message),"danger")})}s._=_,s.randomName=function(t,e){var n=[];for(t=t||5,e=e||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--t;)n.push(e.charAt(Math.floor(Math.random()*e.length)));return n.join("")}(),e(function(){s.element.field&&r(s.element.field)}),s.checkCondition=function(t){s.element.value="",s.element.operator="",r(t)},l||(l=t(i)),o.append(l(s,function(t){return t}))}}}}]),angular.module("xCallyShuttleApp").factory("xNotificationLicense",["Notification","$rootScope","$location",function(t,e,n){return{show:function(a){var s=e.$new();return s.class="alert-warning",s.icon="fa fa-exclamation-triangle",s.more=function(){n.path("/setting/license/view")},new t({delay:a,templateUrl:"components/factories/xNotificationLicense/xNotificationLicense.html",scope:s})}}}]),angular.module("xCallyShuttleApp").filter("secToTime",[function(){return function(t){return new Date(1970,0,1).setSeconds(t)}}]),angular.module("xCallyShuttleApp").controller("FooterController",["$scope","Setting",function(t,e){t.year=moment().year(),t.$on("$includeContentLoaded",function(){Layout.initFooter()}),t.initFooter=function(){return e.get({controller:"info"}).$promise.then(function(e){t.info=e}).catch(function(t){console.error(t)})}}]),angular.module("xCallyShuttleApp").controller("HeaderController",["$scope","$rootScope","$location","$state","$http","$interval","$notification","Auth","xAlert","socket","xNotificationLicense","toastr","localStorageService","Agent","SmsReport","MailReport","OpenChannelReport","ChatReport","ChatRoom","xNotification","$timeout","$translate","$window","User","Pause","Action","FaxReport","List","MailAccount","ChatWebsite","FaxAccount","SmsAccount","OpenChannelAccount","ReportAgent","$uibModal","$log","ReportDial",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h,f,A,v,I,b,E,T,N,P,C,O,S,x,w,L,R,y,D,k,M,U){function G(t,e,n){return null===e&&(e=50),null===n&&(n="..."),t&&t.length>e?t.substring(0,e-n.length)+n:t}function q(e){var n,a="reason";switch(e){case"mail":n=h;break;case"chat":n=A;break;case"fax":n=O;break;case"sms":n=g;break;case"agent":n=D,a="lastevent";break;case"dial":n=U,a="dialstatus";break;case"openchannel":n=f;break;default:return}return n.get({limit:10,order:"updatedAt DESC"}).$promise.then(function(n){_.forEach(n.rows,function(t){if(t[a])switch(t[a].toLowerCase()){case"answer":case"connect":case"complete":t.status="taken";break;case"answered_elsewhere":t.status="taken_elsewhere";break;case"called":t.status="lost";break;case"busy":t.status="busy";break;case"rejected":t.status="rejected";break;case"cancel":case"abandoned":t.status="abandoned"}}),t.agentNotifications[e].rows=n.rows,c.socket.on("report_"+e+":save",function(n){n.status="none",t.agentNotifications[e].rows.unshift(n),"agent"!==e&&"dial"!==e&&(t.agentNotifications[e].timeout[n.id]=setTimeout(function(){clearTimeout(t.agentNotifications[e].timeout[n.id]),_.find(t.agentNotifications[e].rows,{id:n.id}).status="lost",angular.element(document.getElementById("header_"+e+"_notification_bar")).hasClass("open")||t.agentNotifications[e].new++,delete t.agentNotifications[e].timeout[n.id]},1e3*n.timeslot))}),c.socket.on("report_"+e+":update",function(n){"agent"===e&&(_.find(t.activeCalls,{id:n.id})&&(n.agentcomplete||n.agentringnoanswer||n.agentdump)?_.remove(t.activeCalls,{id:n.id}):!n.agentconnectAt||n.agentcomplete||n.agentringnoanswer||n.agentdump||t.activeCalls.push(n));var s=_.find(t.agentNotifications[e].rows,{id:n.id});if(s&&("agent"!==e&&"dial"!==e&&t.agentNotifications[e].timeout[n.id]&&(clearTimeout(t.agentNotifications[e].timeout[n.id]),delete t.agentNotifications[e].timeout[n.id]),n[a])){switch(n[a].toLowerCase()){case"answer":case"connect":case"complete":n.status="taken";break;case"answered_elsewhere":n.status="taken_elsewhere",angular.element(document.getElementById("header_"+e+"_notification_bar")).hasClass("open")||t.agentNotifications.chat.new++;break;case"busy":n.status="busy",angular.element(document.getElementById("header_"+e+"_notification_bar")).hasClass("open")||t.agentNotifications[e].new++;break;case"rejected":n.status="rejected";break;case"cancel":case"abandoned":n.status="abandoned",angular.element(document.getElementById("header_"+e+"_notification_bar")).hasClass("open")||t.agentNotifications[e].new++}_.merge(s,n)}})}).catch(function(t){r.error(t)})}t.moment=moment,$(document).on("click",".tabbed-dropdown",function(t){t.stopPropagation()}),t.license.hasOwnProperty("expirationTime")&&(o.isAdmin()||o.isUser())&&!t.license.demo&&i(function(){"main.setting.license.view"!==a.current.name&&d.show(3e4)},3e4),t.openRoom=function(e,n){var a=_.find(t.workspaces,{id:e,type:n});if(a)a.active=!0;else{var s;switch(n){case"mailRoom":s="icon-envelope";break;case"chatRoom":s="fa fa-users";break;case"faxRoom":s="fa fa-fax";break;case"smsRoom":s="glyphicon glyphicon-comment";break;case"openchannelRoom":s="icon-globe"}t.workspaces.push({id:e,type:n,class:s,active:!0})}},t.toggleSidebar=function(){e.settings.layout.pageSidebarClosed=!e.settings.layout.pageSidebarClosed,p.set("sidebarClosed",e.settings.layout.pageSidebarClosed)},t.chooseContact=function(e){k.open({animation:!0,templateUrl:"app/main/chooseContact.modal.html",controller:"ChooseContactModalCtrl",resolve:{data:function(){return{eventChannel:"voice",calleridnum:e}}}}).result.then(function(n){n?t.openContactTab(n):t.newContact({calleridnum:e})},function(){M.info("Modal dismissed at: "+new Date)})},t.loadNotifications=function(e){if(!t.busyLoad[e].end){t.busyLoad[e].busy=!0;var n,a="reason";switch(e){case"mail":n=h;break;case"chat":n=A;break;case"fax":n=O;break;case"sms":n=g;break;case"agent":n=D,a="lastevent";break;case"dial":n=U,a="dialstatus";break;case"openchannel":n=f;break;default:return}return n.get({limit:10,offset:t.agentNotifications[e].rows.length,order:"updatedAt DESC"}).$promise.then(function(n){n.rows.length?(_.forEach(n.rows,function(t){if(t[a])switch(t[a].toLowerCase()){case"answer":case"connect":case"complete":t.status="taken";break;case"answered_elsewhere":t.status="taken_elsewhere";break;case"called":t.status="lost";break;case"busy":t.status="busy";break;case"rejected":t.status="rejected";break;case"abandoned":t.status="abandoned"}}),t.agentNotifications[e].rows=t.agentNotifications[e].rows.concat(n.rows)):t.busyLoad[e].end=!0,t.busyLoad[e].busy=!1}).catch(function(t){r.error(t)})}},t.headerPause=function(e,n,a){return C.save({name:e,agent:t.headerAgent.id,type:n||"DEFAULT PAUSE",data4:n||"DEFAULT PAUSE",channel:a||"all"}).$promise.then(function(){r.show(E.instant("MESSAGE_WELL_DONE"),"success")}).catch(function(t){r.error(t)})},o.isAgent()&&(t.headerAgent=o.getCurrentUser(),t.readyTimer=1e3*moment().unix(),P.get().$promise.then(function(e){t.headerPauses=e.rows,c.syncUpdates("pause",t.headerPauses)}).then(function(){c.socket.on("agent:save",function(e){e=e.newValues||e,t.headerAgent.id===e.id&&(_.merge(t.headerAgent,e),e.voicePause&&e.mailPause&&e.chatPause&&e.faxPause&&e.smsPause&&e.openchannelPause||(t.readyTimer=1e3*moment().unix()))})}).finally(function(){o.getCurrentUser().loginInPause&&!p.get("loggedIn")&&t.headerPause("pause")}).catch(function(t){console.log("Error synchronizing agent status:",t)}),t.agentNotifications={mail:{rows:[],new:0,timeout:{}},chat:{rows:[],new:0,timeout:{}},fax:{rows:[],new:0,timeout:{}},sms:{rows:[],new:0,timeout:{}},agent:{rows:[],new:0},dial:{rows:[],new:0},openchannel:{rows:[],new:0}},t.busyLoad={mail:{busy:!1,end:!1},chat:{busy:!1,end:!1},fax:{busy:!1,end:!1},sms:{busy:!1,end:!1},agent:{busy:!1,end:!1},dial:{busy:!1,end:!1},openchannel:{busy:!1,end:!1}},D.get({id:"active",controller:"calls"}).$promise.then(function(e){t.activeCalls=e.rows}).catch(function(t){r.error(t)}),q("agent"),q("dial"),t.license.mail&&q("mail"),t.license.chat&&q("chat"),t.license.fax&&q("fax"),t.license.messaging&&q("sms"),t.license.openchannel&&q("openchannel")),c.socket.on("user_has_chat_room:save",function(e){var n;return v.get({id:Number(e.ChatRoomId)}).$promise.then(function(e){n=e;var a=_.find(t.workspaces,{id:Number(n.id),type:"chatRoom"});a?a.name=t.getFullnames(n):t.workspaces.push({id:n.id,name:t.getFullnames(n),type:"chatRoom",class:"icon-bubble",unread:1})}).catch(function(t){console.error(t)})}),c.socket.on("chat_message:save",function(e){var n;if(e.UserId!==o.getCurrentUser().id&&!_.find(t.workspaces,{id:Number(e.ChatRoomId),type:"chatRoom"}))return v.get({id:Number(e.ChatRoomId)}).$promise.then(function(e){n=e,t.workspaces.push({id:n.id,name:t.getFullnames(e),type:"chatRoom",class:"icon-bubble",unread:1})}).catch(function(t){console.error(t)})});var F=function(){return T.Notification};T.onfocus=function(){e.settings.layout.onFocus=!0},T.onblur=function(){e.settings.layout.onFocus=!1},t.getFullnames=function(t){var e=_.without(_.map(t.Users,"fullname"),o.getCurrentUser().fullname);return t.ChatVisitor&&e.unshift(t.ChatVisitor.fullname),e.join(", ")},t.openContact=function(e,n,a){if(a&&""!==a){var s,i;switch(e){case"mail":s=x,i={email:a};break;case"chat":s=w,i={email:a};break;case"fax":s=L,i={fax:a};break;case"sms":s=R,i={mobile:a};break;default:return}return s.get({id:n}).$promise.then(function(t){return t.ListId?S.save({listId:t.ListId,controller:"contacts"},i).$promise:null}).then(function(e){if(e){var n=_.find(t.workspaces,{contactID:e.id});n?n.active=!0:t.workspaces.push({active:!0,class:"icon-user",contactID:e.id,name:e.email,type:"contact"})}else r.show(E.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")}).catch(function(t){console.error(t)})}},t.initHeader=function(){if("agent"===o.getCurrentUser().role&&(c.socket.on("report_chat:save",function(t){F&&!e.settings.layout.onFocus&&l("CHAT CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Incoming Chat Visitor!",delay:1e3*t.timeslot});var n=""+E.instant("APPLICATION_FROM")+": "+t.visitorname+"
"+E.instant("APPLICATION_EMAIL")+": "+t.visitoremail;"queue"===t.application&&(n+="
"+E.instant("APPLICATION_QUEUE")+": "+t.queuename),I.show(E.instant("APPLICATION_NEW_CHAT_REQUEST"),n,"chat",1e3*t.timeslot,function(){return A.get({id:t.id,controller1:"accept",controller2:t.uniqueid}).$promise.then(function(){r.show("Chat properly assigned","success")}).catch(function(t){switch(t.status){case 504:r.show(E.instant("MESSAGE_CHAT_ALREADY_MANAGED"),"info");break;default:r.error(t)}})},function(){return A.get({id:t.id,controller1:"reject"}).$promise.then(function(){r.show("Chat properly rejected","success")}).catch(function(t){r.error(t)})})}),c.socket.on("report_mail:save",function(n){if(!_.find(t.workspaces,{id:n.roomid,type:"mailRoom"})){var a=""+E.instant("APPLICATION_ACCOUNT")+": "+n.accountname+"
"+E.instant("APPLICATION_FROM")+": "+n.from+"
"+E.instant("APPLICATION_SUBJECT")+": "+(G(n.subject,30,"...")||"No subject");"queue"===n.application&&(a+="
"+E.instant("APPLICATION_QUEUE")+": "+n.queuename),I.show(E.instant("APPLICATION_NEW_MAIL_REQUEST"),a,"mail",1e3*n.timeslot,function(){return h.get({id:n.id,controller1:"accept",controller2:n.uniqueid}).$promise.then(function(){var e=_.find(t.workspaces,{id:n.roomid,type:"mailRoom"});e?e.active=!0:t.workspaces.push({id:n.roomid,name:n.subject||"No subject",type:"mailRoom",class:"icon-envelope",active:!0,unread:0})}).catch(function(t){switch(t.status){case 504:r.show(E.instant("MESSAGE_MAIL_ALREADY_MANAGED"),"info");break;default:r.error(t)}})},function(){return h.get({id:n.id,controller1:"reject"}).$promise.catch(function(t){r.error(t)})}),F&&!e.settings.layout.onFocus?l("MAIL CHANNEL",{icon:"assets/images/media/channels/mail64.png",body:"NEW Incoming Mail Message!",delay:1e3*n.timeslot}):console.log("Notification API not supported in your browser")}}),c.socket.on("report_sms:save",function(e){var n=""+E.instant("APPLICATION_ACCOUNT")+": "+e.accountname+"
"+E.instant("APPLICATION_FROM")+": "+e.from;"queue"===e.application&&(n+="
"+E.instant("APPLICATION_QUEUE")+": "+e.queuename),I.show(E.instant("APPLICATION_NEW_SMS_REQUEST"),n,"sms",1e3*e.timeslot,function(){return g.get({id:e.id,controller1:"accept",controller2:e.uniqueid}).$promise.then(function(){var n=_.find(t.workspaces,{id:e.roomid,type:"smsRoom"});n?n.active=!0:t.workspaces.push({id:e.roomid,name:e.from,type:"smsRoom",class:"glyphicon glyphicon-comment",active:!0})}).catch(function(t){switch(t.status){case 504:r.show(E.instant("MESSAGE_SMS_ALREADY_MANAGED"),"info");break;default:r.error(t)}})},function(){return g.get({id:e.id,controller1:"reject"}).$promise.then(function(){r.show("SMS properly rejected","success")}).catch(function(t){r.error(t)})}),F?l("SMS CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Incoming SMS Message!",delay:1e3*e.timeslot}):console.log("Notification API not supported in your browser")}),c.socket.on("report_openchannel:save",function(e){var n=""+E.instant("APPLICATION_ACCOUNT")+": "+e.accountname+"
"+E.instant("APPLICATION_FROM")+": "+e.from;"queue"===e.application&&(n+="
"+E.instant("APPLICATION_QUEUE")+": "+e.queuename),I.show(E.instant("APPLICATION_NEW_MESSAGE"),n,"openchannel",1e3*e.timeslot,function(){return f.get({id:e.id,controller1:"accept",controller2:e.uniqueid}).$promise.then(function(){var n=_.find(t.workspaces,{id:e.roomid,type:"openchannelRoom"});n?n.active=!0:t.workspaces.push({id:e.roomid,name:e.from,type:"openchannelRoom",class:"icon-globe",active:!0})}).catch(function(t){switch(t.status){case 504:r.show(E.instant("MESSAGE_ALREADY_MANAGED"),"info");break;default:r.error(t)}})},function(){return f.get({id:e.id,controller1:"reject"}).$promise.then(function(){r.show("Message properly rejected","success")}).catch(function(t){r.error(t)})}),F?l("OPEN CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Incoming Message!",delay:1e3*e.timeslot}):console.log("Notification API not supported in your browser")}),c.socket.on("report_fax:save",function(n){if(!_.find(t.workspaces,{id:n.roomid,type:"faxRoom"})){var a=""+E.instant("APPLICATION_ACCOUNT")+": "+n.accountname+"
"+E.instant("APPLICATION_PHONE")+": "+n.from;"queue"===n.application&&(a+="
"+E.instant("APPLICATION_QUEUE")+": "+n.queuename),I.show(E.instant("APPLICATION_NEW_FAX_REQUEST"),a,"fax",1e3*n.timeslot,function(){return O.get({id:n.id,controller1:"accept",controller2:n.uniqueid}).$promise.then(function(){var e=_.find(t.workspaces,{id:n.roomid,type:"faxRoom"});e?e.active=!0:t.workspaces.push({id:n.roomid,name:n.from,type:"faxRoom",class:"fa fa-fax",active:!0,unread:0})}).catch(function(t){switch(t.status){case 504:r.show(E.instant("MESSAGE_FAX_ALREADY_MANAGED"),"info");break;default:r.error(t)}})},function(){return O.get({id:n.id,controller1:"reject"}).$promise.catch(function(t){r.err(t)})}),F&&!e.settings.layout.onFocus?l("FAX CHANNEL",{icon:"assets/images/media/channels/telephone124.png",body:"NEW Incoming Fax Message!",delay:1e3*n.timeslot}):console.log("Notification API not supported in your browser")}}),o.getCurrentUser().loginInPause))return C.save({name:"pause",agent:o.getCurrentUser().id,type:"LOGININPAUSE",data4:"LOGININPAUSE",channel:"all"}).$promise.catch(function(t){r.error(t)})},t.logout=function(){return s.get("/auth/local/logout").success(function(){o.logout(),n.path("/login")}).error(function(t){r.error(t)})},t.isActive=function(t){return t===n.path()},t.$on("$destroy",function(){console.log("header $destroy"),c.unsyncUpdates("pause"),c.unsyncUpdates("agent"),c.unsyncUpdates("report_chat"),c.unsyncUpdates("report_mail"),c.unsyncUpdates("report_fax"),c.unsyncUpdates("report_sms"),c.unsyncUpdates("report_openchannel"),c.unsyncUpdates("user_has_chat_room"),c.unsyncUpdates("chat_message"),c.unsyncUpdates("report_integration:sugarcrm"),c.unsyncUpdates("report_integration:freshdesk")})}]),angular.module("xCallyShuttleApp").factory("Modal",["$rootScope","$uibModal",function(t,e){function n(n,a){var s=t.$new();return n=n||{},a=a||"modal-default",angular.extend(s,n),e.open({templateUrl:"components/modal/delete.html",windowClass:a,scope:s})}return{confirm:{delete:function(t){return t=t||angular.noop,function(){var e,a=Array.prototype.slice.call(arguments),s=a.shift();(e=n({modal:{dismissable:!0,title:"Confirm Delete",html:"

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

",buttons:[{classes:"btn red",text:"Delete",click:function(t){e.close(t)}},{classes:"btn default",text:"Cancel",click:function(t){e.dismiss(t)}}]}},"over-topbar center")).result.then(function(e){t.apply(e,a)})}}}}}]),angular.module("xCallyShuttleApp").service("application",function(){return{application:{applications:[{type:null,name:"APPLICATION_QUEUE",value:"Queue"},{type:null,name:"APPLICATION_PLAYBACK",value:"Playback"},{type:null,name:"Dial",value:"Dial"},{type:"internalDial",name:"APPLICATION_INTERNAL_DIAL",value:"Dial"},{type:"externalDial",name:"APPLICATION_EXTERNAL_DIAL",value:"Dial"},{type:"RingGroup",name:"Ring Group",value:"Dial"},{type:null,name:"Cally-Square Project",value:"AGI"},{type:null,name:"GoTo",value:"Goto"},{type:null,name:"Hangup",value:"Hangup"},{type:null,name:"Set",value:"Set"},{type:null,name:"APPLICATION_VOICEMAIL",value:"Voicemail"},{type:"videoOn",name:"APPLICATION_VIDEO_ON",value:"Set"},{type:"custom",name:"Custom",value:"custom"}],queueOptions:[{value:"C",name:"APPLICATION_QUEUE_OPTION_C"},{value:"c",name:"APPLICATION_QUEUE_OPTION_c"},{value:"d",name:"APPLICATION_QUEUE_OPTION_d"},{value:"F",name:"APPLICATION_QUEUE_OPTION_F"},{value:"h",name:"APPLICATION_QUEUE_OPTION_h"},{value:"H",name:"APPLICATION_QUEUE_OPTION_H"},{value:"n",name:"APPLICATION_QUEUE_OPTION_n"},{value:"i",name:"APPLICATION_QUEUE_OPTION_i"},{value:"I",name:"APPLICATION_QUEUE_OPTION_I"},{value:"r",name:"APPLICATION_QUEUE_OPTION_r"},{value:"R",name:"APPLICATION_QUEUE_OPTION_R"},{value:"t",name:"APPLICATION_QUEUE_OPTION_t"},{value:"T",name:"APPLICATION_QUEUE_OPTION_T"},{value:"w",name:"APPLICATION_QUEUE_OPTION_w"},{value:"W",name:"APPLICATION_QUEUE_OPTION_W"},{value:"k",name:"APPLICATION_QUEUE_OPTION_k"},{value:"K",name:"APPLICATION_QUEUE_OPTION_K"},{value:"x",name:"APPLICATION_QUEUE_OPTION_x"},{value:"X",name:"APPLICATION_QUEUE_OPTION_X"}],audioOptions:[{value:"skip",name:"APPLICATION_PLAYBACK_OPTION_SKIP"},{value:"noanswer",name:"APPLICATION_PLAYBACK_OPTION_NOANSWER"},{value:"j",name:"APPLICATION_PLAYBACK_OPTION_J"},{value:"say",name:"APPLICATION_PLAYBACK_OPTION_SAY"}],hangupCauses:[{value:"",name:"--"},{value:"1",name:"APPLICATION_HANGUP_CAUSE_1"},{value:"16",name:"APPLICATION_HANGUP_CAUSE_16"},{value:"17",name:"APPLICATION_HANGUP_CAUSE_17"},{value:"18",name:"APPLICATION_HANGUP_CAUSE_18"},{value:"21",name:"APPLICATION_HANGUP_CAUSE_21"},{value:"22",name:"APPLICATION_HANGUP_CAUSE_22"},{value:"27",name:"APPLICATION_HANGUP_CAUSE_27"},{value:"38",name:"APPLICATION_HANGUP_CAUSE_38"},{value:"41",name:"APPLICATION_HANGUP_CAUSE_41"}],intTypes:[{value:"always",name:"APPLICATION_ALWAYS"},{value:"custom",name:"APPLICATION_CUSTOM"},{value:"list",name:"APPLICATION_FROM_LIST"}],checkUnderscore:function(t){return 0===t.indexOf("_")?t:"_"+t}}}}),angular.module("xCallyShuttleApp").service("automations",function(){return{services:{mail:{conditions:[{name:"APPLICATION_STATUS",value:"status",type:"select",arr:[{name:"APPLICATION_STATUS_NEW",value:"NEW"},{name:"APPLICATION_STATUS_OPEN",value:"OPEN"},{name:"APPLICATION_STATUS_CLOSED",value:"CLOSED"},{name:"APPLICATION_STATUS_PENDING",value:"PENDING"}],operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]},{name:"APPLICATION_HOURS_SINCE_CREATED",value:"createdAt",type:"input",operators:[{value:"greater_or_equal",name:"APPLICATION_GTE_TO"},{value:"less_or_equal",name:"APPLICATION_LTE_TO"},{value:"greater",name:"APPLICATION_GREATER_THAN"},{value:"less",name:"APPLICATION_LESS_THAN"}]}],actions:[{name:"APPLICATION_STATUS",value:"status"}]},chat:{conditions:[{name:"APPLICATION_STATUS",value:"status",type:"select",arr:[{name:"APPLICATION_STATUS_NEW",value:"NEW"},{name:"APPLICATION_STATUS_OPEN",value:"OPEN"},{name:"APPLICATION_STATUS_CLOSED",value:"CLOSED"},{name:"APPLICATION_STATUS_PENDING",value:"PENDING"}],operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]},{name:"APPLICATION_HOURS_SINCE_CREATED",value:"createdAt",type:"input",operators:[{value:"greater_or_equal",name:"APPLICATION_GTE_TO"},{value:"less_or_equal",name:"APPLICATION_LTE_TO"},{value:"greater",name:"APPLICATION_GREATER_THAN"},{value:"less",name:"APPLICATION_LESS_THAN"}]}],actions:[{name:"APPLICATION_STATUS",value:"status"}]},fax:{conditions:[{name:"APPLICATION_STATUS",value:"status",type:"select",arr:[{name:"APPLICATION_STATUS_NEW",value:"NEW"},{name:"APPLICATION_STATUS_OPEN",value:"OPEN"},{name:"APPLICATION_STATUS_CLOSED",value:"CLOSED"}],operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]},{name:"APPLICATION_HOURS_SINCE_CREATED",value:"createdAt",type:"input",operators:[{value:"greater_or_equal",name:"APPLICATION_GTE_TO"},{value:"less_or_equal",name:"APPLICATION_LTE_TO"},{value:"greater",name:"APPLICATION_GREATER_THAN"},{value:"less",name:"APPLICATION_LESS_THAN"}]}],actions:[{name:"APPLICATION_STATUS",value:"status"}]}},channels:["mail","fax","chat"]}}),angular.module("xCallyShuttleApp").service("channel",function(){return[{name:"Voice",value:"voice"}]}),angular.module("xCallyShuttleApp").service("desk_com",function(){return{fields:[{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"]}}]}}),angular.module("xCallyShuttleApp").service("interval",function(){return{interval:{months:[{value:"always",name:"APPLICATION_ALWAYS"},{value:"jan",name:"APPLICATION_JANUARY"},{value:"feb",name:"APPLICATION_FEBRUARY"},{value:"mar",name:"APPLICATION_MARCH"},{value:"apr",name:"APPLICATION_APRIL"},{value:"may",name:"APPLICATION_MAY"},{value:"jun",name:"APPLICATION_JUNE"},{value:"jul",name:"APPLICATION_JULY"},{value:"aug",name:"APPLICATION_AUGUST"},{value:"sep",name:"APPLICATION_SEPTEMBER"},{value:"oct",name:"APPLICATION_OCTOBER"},{value:"nov",name:"APPLICATION_NOVEMBER"},{value:"dec",name:"APPLICATION_DECEMBER"}],monthsNumber:[{value:"always",name:"APPLICATION_ALWAYS"},{value:"1",name:"APPLICATION_JANUARY"},{value:"2",name:"APPLICATION_FEBRUARY"},{value:"3",name:"APPLICATION_MARCH"},{value:"4",name:"APPLICATION_APRIL"},{value:"5",name:"APPLICATION_MAY"},{value:"6",name:"APPLICATION_JUNE"},{value:"7",name:"APPLICATION_JULY"},{value:"8",name:"APPLICATION_AUGUST"},{value:"9",name:"APPLICATION_SEPTEMBER"},{value:"10",name:"APPLICATION_OCTOBER"},{value:"11",name:"APPLICATION_NOVEMBER"},{value:"12",name:"APPLICATION_DECEMBER"}],daysOfWeek:[{value:"always",name:"APPLICATION_ALWAYS"},{value:"mon",name:"APPLICATION_MONDAY"},{value:"tue",name:"APPLICATION_TUESDAY"},{value:"wed",name:"APPLICATION_WEDNESDAY"},{value:"thu",name:"APPLICATION_THURSDAY"},{value:"fri",name:"APPLICATION_FRIDAY"},{value:"sat",name:"APPLICATION_SATURDAY"},{value:"sun",name:"APPLICATION_SUNDAY"}],daysOfMonth:["always",1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]}}}),angular.module("xCallyShuttleApp").service("report",["ReportAgent","ReportCall","ReportMailSession","ReportMember","ReportQueue","ReportIntegration","ReportChatSession","ReportSmsSession","Contact","Recording","ReportSquare","ReportSquareDetail","User","ReportFaxSession","MailRoom","MailMessage","FaxRoom","FaxMessage","ChatRoom","ChatMessage","SmsRoom","SmsMessage","OpenChannelRoom","OpenChannelMessage","ReportOpenChannelSession","ReportMotionDialer","UserHasVoiceQueue",function(t,e,n,a,s,i,l,o,r,c,d,u,p,m,g,h,f,A,v,I,b,E,T,N,P,_,C){return{tables:[{value:"users",resource:p,channel:"General"},{value:"cm_contacts",resource:r,channel:"General"},{value:"report_integration_history",resource:i,channel:"General"},{value:"report_agent_history",resource:t,channel:"Voice"},{value:"report_call_history",resource:e,channel:"Voice"},{value:"report_member_history",resource:a,channel:"Voice"},{value:"report_queue_history",resource:s,channel:"Voice"},{value:"voice_recordings",resource:c,channel:"Voice"},{value:"report_square_history",resource:d,channel:"Voice"},{value:"report_square_details_history",resource:u,channel:"Voice"},{value:"report_tdial",resource:_,channel:"Voice"},{value:"report_chat_session_history",resource:l,channel:"Chat"},{value:"chat_rooms",resource:v,channel:"Chat"},{value:"chat_messages",resource:I,channel:"Chat"},{value:"report_mail_session_history",resource:n,channel:"Mail"},{value:"mail_rooms",resource:g,channel:"Mail"},{value:"mail_messages",resource:h,channel:"Mail"},{value:"report_fax_session_history",resource:m,channel:"Fax"},{value:"fax_rooms",resource:f,channel:"Fax"},{value:"fax_messages",resource:A,channel:"Fax"},{value:"report_sms_session_history",resource:o,channel:"Sms"},{value:"sms_rooms",resource:b,channel:"Sms"},{value:"sms_messages",resource:E,channel:"Sms"},{value:"report_openchannel_session_history",resource:P,channel:"Open Channel"},{value:"openchannel_rooms",resource:T,channel:"Open Channel"},{value:"openchannel_messages",resource:N,channel:"Open Channel"},{value:"user_has_voice_queues",resource:C,channel:"Voice"}]}}]),angular.module("xCallyShuttleApp").service("strategies",function(){return["beepall","roundrobin"]}),angular.module("xCallyShuttleApp").service("triggers",["VoiceQueue","ChatQueue","MailQueue","FaxQueue","SmsQueue","OpenChannelQueue","Route",function(t,e,n,a,s,i,l){return{services:{voice:{conditions:[{name:"APPLICATION_QUEUE",value:"queue",type:"select",resource:t,resValue:"name",operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]},{name:"APPLICATION_CALL_STATUS",value:"lastevent",type:"select",translate:!0,arr:[{name:"ringing",value:"called"},{name:"up",value:"connect"},{name:"hangup",value:"complete"},{name:"rejected",value:"rejected"},{name:"ringnoanswer",value:"agentringnoanswer"},{name:"abandoned",value:"abandoned"}],operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]},{name:"APPLICATION_OUTBOUND_ROUTE",value:"routeId",type:"select",resource:l,resValue:"id",resName:"exten",params:{type:"outbound"},operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]}],actions:[{name:"APPLICATION_CONTACT_MANAGER",value:"contactManager"},{name:"APPLICATION_INTEGRATIONS",value:"integration",propertyField:"select"},{name:"APPLICATION_MOTION_BAR",value:"motionbar",propertyField:"select"},{name:"APPLICATION_JSCRIPTY",value:"jscripty",propertyField:"select"},{name:"APPLICATION_URL_FORWARD",value:"urlForward"},{name:"APPLICATION_WEB_POPUP",value:"webPopup"}]},mail:{conditions:[{name:"APPLICATION_FROM",value:"from",type:"input",operators:[{value:"contains",name:"APPLICATION_CONTAINS"},{value:"not_contains",name:"APPLICATION_NOT_CONTAINS"}]},{name:"APPLICATION_TO",value:"to",type:"input",operators:[{value:"contains",name:"APPLICATION_CONTAINS"},{value:"not_contains",name:"APPLICATION_NOT_CONTAINS"}]},{name:"APPLICATION_CC",value:"cc",type:"input",operators:[{value:"contains",name:"APPLICATION_CONTAINS"},{value:"not_contains",name:"APPLICATION_NOT_CONTAINS"}]},{name:"APPLICATION_SUBJECT",value:"subject",type:"input",operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"},{value:"contains",name:"APPLICATION_CONTAINS"},{value:"not_contains",name:"APPLICATION_NOT_CONTAINS"}]},{name:"APPLICATION_BODY",value:"text",type:"input",operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"},{value:"contains",name:"APPLICATION_CONTAINS"},{value:"not_contains",name:"APPLICATION_NOT_CONTAINS"}]}],actions:[{name:"APPLICATION_TEMPLATE",value:"template"},{name:"APPLICATION_EMAIL",value:"email"},{name:"APPLICATION_EMAIL_FROM_ACCOUNT",value:"accountEmail"},{name:"APPLICATION_SMS",value:"accountSms"},{name:"APPLICATION_FORWARD",value:"forward"},{name:"APPLICATION_TAG",value:"tag"},{name:"APPLICATION_URL_FORWARD",value:"http"},{name:"APPLICATION_CLOSE",value:"close"}]},chat:{conditions:[{name:"APPLICATION_NAME",value:"fullname",type:"input",operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]},{name:"APPLICATION_EMAIL",value:"email",type:"input",operators:[{value:"contains",name:"APPLICATION_CONTAINS"},{value:"not_contains",name:"APPLICATION_NOT_CONTAINS"}]}],actions:[{name:"APPLICATION_EMAIL_FROM_ACCOUNT",value:"accountEmail"},{name:"APPLICATION_SMS",value:"accountSms"},{name:"APPLICATION_TEMPLATE",value:"accountTemplate"},{name:"APPLICATION_TAG",value:"tag"},{name:"APPLICATION_URL_FORWARD",value:"http"},{name:"APPLICATION_CLOSE",value:"close"}]},sms:{conditions:[{name:"APPLICATION_FROM",value:"from",type:"input",operators:[{value:"contains",name:"APPLICATION_CONTAINS"},{value:"not_contains",name:"APPLICATION_NOT_CONTAINS"}]},{name:"APPLICATION_TO",value:"to",type:"input",operators:[{value:"contains",name:"APPLICATION_CONTAINS"},{value:"not_contains",name:"APPLICATION_NOT_CONTAINS"}]},{name:"APPLICATION_BODY",value:"body",type:"input",operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"},{value:"contains",name:"APPLICATION_CONTAINS"},{value:"not_contains",name:"APPLICATION_NOT_CONTAINS"}]}],actions:[{name:"APPLICATION_EMAIL_FROM_ACCOUNT",value:"accountEmail"},{name:"APPLICATION_SMS",value:"accountSms"},{name:"APPLICATION_TEMPLATE",value:"accountTemplate"},{name:"APPLICATION_TAG",value:"tag"},{name:"APPLICATION_URL_FORWARD",value:"http"},{name:"APPLICATION_CLOSE",value:"close"}]},fax:{conditions:[{name:"APPLICATION_FROM",value:"from",type:"input",operators:[{value:"contains",name:"APPLICATION_CONTAINS"},{value:"not_contains",name:"APPLICATION_NOT_CONTAINS"}]},{name:"APPLICATION_TO",value:"to",type:"input",operators:[{value:"contains",name:"APPLICATION_CONTAINS"},{value:"not_contains",name:"APPLICATION_NOT_CONTAINS"}]}],actions:[{name:"APPLICATION_EMAIL_FROM_ACCOUNT",value:"accountEmail"},{name:"APPLICATION_SMS",value:"accountSms"},{name:"APPLICATION_TEMPLATE",value:"accountTemplate"},{name:"APPLICATION_TAG",value:"tag"},{name:"APPLICATION_URL_FORWARD",value:"http"},{name:"APPLICATION_CLOSE",value:"close"}]},openchannel:{conditions:[{name:"APPLICATION_FROM",value:"from",type:"input",operators:[{value:"contains",name:"APPLICATION_CONTAINS"},{value:"not_contains",name:"APPLICATION_NOT_CONTAINS"}]},{name:"APPLICATION_TO",value:"to",type:"input",operators:[{value:"contains",name:"APPLICATION_CONTAINS"},{value:"not_contains",name:"APPLICATION_NOT_CONTAINS"}]},{name:"APPLICATION_BODY",value:"body",type:"input",operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"},{value:"contains",name:"APPLICATION_CONTAINS"},{value:"not_contains",name:"APPLICATION_NOT_CONTAINS"}]}],actions:[{name:"APPLICATION_EMAIL_FROM_ACCOUNT",value:"accountEmail"},{name:"APPLICATION_SMS",value:"accountSms"},{name:"APPLICATION_TEMPLATE",value:"accountTemplate"},{name:"APPLICATION_TAG",value:"tag"},{name:"APPLICATION_URL_FORWARD",value:"http"},{name:"APPLICATION_CLOSE",value:"close"}]}},channels:["voice","mail","chat","sms","fax","openchannel"]}}]),angular.module("xCallyShuttleApp").service("variable",function(){return[{title:"Unique ID",name:"uniqueid",group:"voice_queue"},{title:"Caller Number",name:"calleridnum",group:"voice_queue"},{title:"Caller Name",name:"calleridname",group:"voice_queue"},{title:"Queue",name:"queue",group:"voice_queue"},{title:"Called Number",name:"destcalleridnum",group:"voice_queue"},{title:"Called Name",name:"destcalleridname",group:"voice_queue"},{title:"Hold Time",name:"holdtime",group:"voice_queue"},{title:"Talk Time",name:"talktime",group:"voice_queue"},{title:"Connected Time",name:"agentconnectAt",group:"voice_queue"},{title:"Called Time",name:"agentcalledAt",group:"voice_queue"},{title:"DNID",name:"destexten",group:"voice_queue"},{title:"Complete Time",name:"agentcompleteAt",group:"voice_queue"},{title:"No Answer Time",name:"agentringnoanswerAt",group:"voice_queue"},{title:"Recording URL",name:"recordingURL",group:"voice_queue"},{title:"Unique ID",name:"uniqueid",group:"voice_outbound"},{title:"Caller Number",name:"calleridnum",group:"voice_outbound"},{title:"Caller Name",name:"calleridname",group:"voice_outbound"},{title:"Called Number",name:"destcalleridnum",group:"voice_outbound"},{title:"Called Name",name:"destcalleridname",group:"voice_outbound"},{title:"Start Time",name:"starttime",group:"voice_outbound"},{title:"Answer Time",name:"answertime",group:"voice_outbound"},{title:"Complete Time",name:"endtime",group:"voice_outbound"},{title:"Recording URL",name:"recordingURL",group:"voice_outbound"},{title:"Member Name",name:"membername",group:"voice_outbound"}]}),angular.module("xCallyShuttleApp").controller("SidebarController",["$scope","$rootScope","$resource","$location","Auth","Dashboard","Integration","xAlert","$stateParams","socket","$uibModal","Setting",function(t,e,n,a,s,i,l,o,r,c,d,u){t.Auth=s,t.$on("$includeContentLoaded",function(){Metronic.init(),Layout.initSidebar()}),t.getSidebarDashboards=function(){return i.get().$promise.then(function(n){e.dashboards=n.rows,c.syncUpdates("dashboard",e.dashboards),t.$watch("dashboards",function(t){t&&e.initTours()},!0)}).catch(function(){o.show("Error loading your dashboards","danger")})},t.about=function(){d.open({animation:!0,size:"sm",templateUrl:"app/main/about.modal.html",controller:["$scope","$uibModalInstance",function(t,e){t.year=moment().year(),t.getInfo=function(){return u.get({controller:"info"}).$promise.then(function(e){t.info=e}).catch(function(t){console.error(t)})},t.close=function(){e.dismiss("cancel")}}]})},t.getSidebarIntegrations=function(){if(s.isAdmin()||s.isAgent()||e.userModules[19])return l.get().$promise.then(function(e){t.integrations=e.rows,c.syncUpdates("integration",t.integrations)}).catch(function(t){o.error(t)})},t.$on("sidebar $destroy",function(){console.log("destroy"),c.unsyncUpdates("dashboard"),c.unsyncUpdates("integration")})}]),angular.module("xCallyShuttleApp").factory("socket",["$rootScope","$window","socketFactory","Auth",function(t,e,n,a){var s=a.getCurrentUser(),i=n({ioSocket:io("",{query:"token="+a.getToken()+"&userId="+s.id+"&name="+s.name+"&role="+(s.role||"agent")+"&source=browser",path:"/socket.io-client",multiplex:!1})});return t.$on("logout",function(){i&&(i.disconnect(!0),e.location.reload())}),{socket:i,syncUpdates:function(t,e,n){n=n||angular.noop,i.on(t+":save",function(t){var a=_.find(e,{id:t.id}),s=e.indexOf(a),i="created";a?(_.merge(e[s],t),i="updated"):e.unshift(t),n(i,t,e)}),i.on(t+":remove",function(t){_.remove(e,{id:t.id}),n("deleted",t,e)})},unsyncUpdates:function(t){i.removeAllListeners(t+":save"),i.removeAllListeners(t+":update"),i.removeAllListeners(t+":remove")},syncUpdatesByAttributes:function(t,e,n,a){a=a||angular.noop,i.on(t+":save",function(t){var s=!0;if(_.forIn(e,function(e,n){return!(!t[n]||t[n]!==e)||(s=!1)}),s){var i=_.find(n,{id:t.id}),l=n.indexOf(i),o="created";i?(_.merge(n[l],t),o="updated"):n.unshift(t),a(o,t,n)}}),i.on(t+":remove",function(t){_.remove(n,{id:t.id}),a("deleted",t,n)})},syncMailMessageUpdates:function(t,e,n,a){a=a||angular.noop,i.on(t+":"+e+":save",function(t){var e=_.find(n,{id:t.id}),s=n.indexOf(e),i="created";e?(_.merge(n[s],t),i="updated"):n.unshift(t),a(i,t)}),i.on(t+":"+e+":remove",function(t){_.remove(n,{id:t.id}),a("deleted",t,n)})},unsyncMailMessageUpdates:function(t,e){i.removeAllListeners(t+":"+e+":save"),i.removeAllListeners(t+":"+e+":remove")},syncFaxMessageUpdates:function(t,e,n,a){a=a||angular.noop,i.on(t+":"+e+":save",function(t){var e=_.find(n,{id:t.id}),s=n.indexOf(e),i="created";e?(_.merge(n[s],t),i="updated"):n.unshift(t),a(i,t)}),i.on(t+":"+e+":remove",function(t){_.remove(n,{id:t.id}),a("deleted",t,n)})},unsyncFaxMessageUpdates:function(t,e){i.removeAllListeners(t+":"+e+":save"),i.removeAllListeners(t+":"+e+":remove")}}}]),function(t,e){angular.module("adf.widget.counter",["adf.provider"]).config(["dashboardProvider",function(t){t.widget("counter",{title:"Single Value",description:"Single Value for db results",templateUrl:"{widgetsPath}/counter/src/view.html",controller:"apiwidgetCounterViewCtrl",edit:{templateUrl:"{widgetsPath}/counter/src/edit.html",controller:"apiwidgetCounterEditCtrl"}})}]).service("apiServiceCounter",["Widget",function(t){return{get:function(e){return t.get({select:e.select,condition:encodeURIComponent(e.condition),table:e.report.replace("_history",""),controller:"counter"}).$promise.then(function(t){return t}).catch(function(t){console.log(t)})}}}]).controller("apiwidgetCounterEditCtrl",["$scope","report",function(t,e){t.config.reportTables=e.tables,t.config.colors=[{name:"Grey",value:"grey"},{name:"Grey 2",value:"grey-cascade"},{name:"Grey 3",value:"grey-silver"},{name:"Grey 4",value:"grey-steel"},{name:"Grey 5",value:"grey-carrara"},{name:"Grey 6",value:"grey-gallery"},{name:"Blue",value:"blue"},{name:"Blue 2",value:"blue-hoki"},{name:"Blue 3",value:"blue-steel"},{name:"Blue 4",value:"blue-madison"},{name:"Blue 5",value:"blue-chambray"},{name:"Blue 6",value:"blue-ebonyclay"},{name:"Red",value:"red"},{name:"Red 2",value:"red-pink"},{name:"Red 3",value:"red-sunglo"},{name:"Red 4",value:"red-intense"},{name:"Red 5",value:"red-thunderbird"},{name:"Red 6",value:"red-flamingo"},{name:"Green",value:"green"},{name:"Green 2",value:"green-meadow"},{name:"Green 3",value:"green-seagreen"},{name:"Green 4",value:"green-turquoise"},{name:"Green 5",value:"green-haze"},{name:"Green 6",value:"green-jungle"},{name:"Purple",value:"purple"},{name:"Purple 2",value:"purple-plum"},{name:"Purple 3",value:"purple-medium"},{name:"Purple 4",value:"purple-studio"},{name:"Purple 5",value:"purple-wisteria"},{name:"Purple 6",value:"purple-seance"},{name:"Yellow",value:"yellow"},{name:"Yellow 2",value:"yellow-gold"},{name:"Yellow 3",value:"yellow-casablanca"},{name:"Yellow 4",value:"yellow-crusta"},{name:"Yellow 5",value:"yellow-lemon"},{name:"Yellow 6",value:"yellow-saffron"}],t.config.icons=[{name:"Talk bubbles",value:"fa-comments"},{name:"Bar Chart",value:"fa-bar-chart"},{name:"Shopping Cart",value:"fa-shopping-cart"},{name:"Globe",value:"fa-globe"},{name:"Volume Control Phone",value:"fa-volume-control-phone"},{name:"Comments",value:"fa-comments-o"},{name:"Commenting",value:"fa-commenting-o"},{name:"Coffee",value:"fa-coffee"},{name:"Clock",value:"fa-clock-o"},{name:"Envelope",value:"fa-envelope-o"},{name:"Hourglass",value:"fa-hourglass-half"},{name:"Percent",value:"fa-percent"}],t.config.select=t.config.select?t.config.select:"COUNT(*)",t.config.color=t.config.color?t.config.color:"blue-madison",t.config.icon=t.config.icon?t.config.icon:"fa-comments",t.config.link=t.config.link?t.config.link:"#",t.config.linkText=t.config.linkText?t.config.linkText:"VIEW MORE"}]).controller("apiwidgetCounterViewCtrl",["$scope","$interval","apiServiceCounter","socket",function(t,e,n,a){var s=t.$parent.model.wid;a.socket.on("widget_update:"+s,function(e){e&&e.length>1||_.keys(e[0]).length>1?(t.tooManyResults=!0,t.result=null):(t.tooManyResults=!1,null!==_.values(e[0])[0]?t.result=_.values(e[0])[0].toString():t.result="--")}),t.$on("$destroy",function(){a.socket.removeAllListeners("widget_update:"+s)})}]),angular.module("adf.widget.counter").run(["$templateCache",function(t){t.put("{widgetsPath}/counter/src/edit.html","
{{'APPLICATION_'+$select.selected.value.toUpperCase() | translate}}
 
 
"),t.put("{widgetsPath}/counter/src/view.html",'
{{result}}
{{config.details}}
{{config.linkText}}
')}])}(window),function(t,e){angular.module("adf.widget.pie-chart",["adf.provider"]).config(["dashboardProvider",function(t){t.widget("pie-chart",{title:"Pie-Chart",description:"Display a pie-chart starting from DB values",templateUrl:"{widgetsPath}/pie-chart/src/view.html",controller:"apiWidgetPieChartViewCtrl",edit:{templateUrl:"{widgetsPath}/pie-chart/src/edit.html",controller:"apiWidgetPieChartEditCtrl"}})}]).service("apiServicePieChart",["Widget",function(t){return{get:function(e){return t.get({condition:encodeURIComponent(e.condition),table:e.report.replace("_history",""),fields:e.fields,controller:"piechart"}).$promise.then(function(t){return t}).catch(function(t){console.log(t)})}}}]).controller("apiWidgetPieChartEditCtrl",["$scope","report",function(t,e){function n(){return t.config.fields||(t.config.fields=[{column:"",alias:""}]),t.config.fields}t.config.reportTables=e.tables,t.config.fields=t.config.fields?t.config.fields:[{column:"",alias:""}],t.addField=function(){n().push({})},t.removeField=function(t){n().splice(t,1)}}]).controller("apiWidgetPieChartViewCtrl",["$scope","$interval","apiServicePieChart","socket",function(t,e,n,a){var s=t.$parent.model.wid;a.socket.on("widget_update:"+s,function(e){if(e&&1===e.length){t.labels=[],t.data=[];for(var n in e[0])t.labels.push(n),t.data.push(e[0][n])}else t.labels=[],t.data=[]}),t.$on("$destroy",function(){a.socket.removeAllListeners("widget_update:"+s)})}]),angular.module("adf.widget.pie-chart").run(["$templateCache",function(t){t.put("{widgetsPath}/pie-chart/src/edit.html",'
{{\'APPLICATION_\'+$select.selected.value.toUpperCase() | translate}}
as
'),t.put("{widgetsPath}/pie-chart/src/view.html",'
')}])}(window),function(t,e){angular.module("adf.widget.table",["adf.provider"]).value("apiServiceUrlTable","/api/widgets/table").config(["dashboardProvider",function(t){t.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(t,e,n){return{get:function(a){var s=t.defer();return e.get(n,{params:{condition:encodeURIComponent(a.condition),table:a.report,fields:a.fields}}).success(function(t){t?s.resolve(t):s.reject()}).error(function(t){console.log(t),s.reject()}),s.promise}}}]).controller("apiWidgetTableEditCtrl",["$scope",function(t){function e(){return t.config.fields||(t.config.fields=[{column:"",alias:""}]),t.config.fields}t.config.reportTables=[{name:"Agents",value:"agent"},{name:"Calls",value:"call"},{name:"Dials",value:"dial"},{name:"Members",value:"member"},{name:"Queues",value:"queue"}],t.config.timeout=t.config.timeout?t.config.timeout:1,t.config.height=t.config.height?t.config.height:350,t.config.fields=t.config.fields?t.config.fields:[{column:"",alias:""}],t.addField=function(){e().push({})},t.removeField=function(t){e().splice(t,1)}}]).controller("apiWidgetTableViewCtrl",["$scope","$interval","apiServiceTable",function(t,e,n){t.config.timeout=t.config.timeout?t.config.timeout:1,t.config.height=t.config.height?t.config.height:350,t.config.style={"max-height":t.config.height+"px",overflow:"scroll"},t.tableApiCall=function(){t.config.condition&&t.config.report&&t.config.fields.length&&""!==t.config.fields[0].column&&""!==t.config.fields[0].alias&&n.get(t.config).then(function(e){t.results=e})},t.tableApiCall();var a=e(function(){t.tableApiCall()},1e3*parseInt(t.config.timeout));t.$on("$destroy",function(){e.cancel(a)})}]),angular.module("adf.widget.table").run(["$templateCache",function(t){t.put("{widgetsPath}/table/src/edit.html",'
{{$select.selected.name}}
as
'),t.put("{widgetsPath}/table/src/view.html",'
{{field.alias}}
{{result[field.alias]}}
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
')}])}(window);var Metronic=function(){var t,e=!1,n=!1,a=!1,s=!1,i=[],l="assets/",o="img/",r="plugins/",c={blue:"#89C4F4",red:"#F3565D",green:"#1bbc9b",purple:"#9b59b6",grey:"#95a5a6",yellow:"#F8CB00"},d=function(){"rtl"===$("body").css("direction")&&(e=!0),n=!!navigator.userAgent.match(/MSIE 8.0/),a=!!navigator.userAgent.match(/MSIE 9.0/),(s=!!navigator.userAgent.match(/MSIE 10.0/))&&$("html").addClass("ie10"),(s||a||n)&&$("html").addClass("ie")},u=function(){for(var t=0;t .portlet-title > .tools > a.remove",function(t){t.preventDefault();var e=$(this).closest(".portlet");$("body").hasClass("page-portlet-fullscreen")&&$("body").removeClass("page-portlet-fullscreen"),e.find(".portlet-title .fullscreen").tooltip("destroy"),e.find(".portlet-title > .tools > .reload").tooltip("destroy"),e.find(".portlet-title > .tools > .remove").tooltip("destroy"),e.find(".portlet-title > .tools > .config").tooltip("destroy"),e.find(".portlet-title > .tools > .collapse, .portlet > .portlet-title > .tools > .expand").tooltip("destroy"),e.remove()}),$("body").on("click",".portlet > .portlet-title .fullscreen",function(t){t.preventDefault();var e=$(this).closest(".portlet");if(e.hasClass("portlet-fullscreen"))$(this).removeClass("on"),e.removeClass("portlet-fullscreen"),$("body").removeClass("page-portlet-fullscreen"),e.children(".portlet-body").css("height","auto");else{var n=Metronic.getViewPort().height-e.children(".portlet-title").outerHeight()-parseInt(e.children(".portlet-body").css("padding-top"))-parseInt(e.children(".portlet-body").css("padding-bottom"));$(this).addClass("on"),e.addClass("portlet-fullscreen"),$("body").addClass("page-portlet-fullscreen"),e.children(".portlet-body").css("height",n)}}),$("body").on("click",".portlet > .portlet-title > .tools > a.reload",function(t){t.preventDefault();var e=$(this).closest(".portlet").children(".portlet-body"),n=$(this).attr("data-url"),a=$(this).attr("data-error-display");n?(Metronic.blockUI({target:e,animate:!0,overlayColor:"none"}),$.ajax({type:"GET",cache:!1,url:n,dataType:"html",success:function(t){Metronic.unblockUI(e),e.html(t)},error:function(t,n,s){Metronic.unblockUI(e);var i="Error on reloading the content. Please check your connection and try again.";"toastr"==a&&toastr?toastr.error(i):"notific8"==a&&$.notific8?($.notific8("zindex",11500),$.notific8(i,{theme:"ruby",life:3e3})):alert(i)}})):(Metronic.blockUI({target:e,animate:!0,overlayColor:"none"}),window.setTimeout(function(){Metronic.unblockUI(e)},1e3))}),$('.portlet .portlet-title a.reload[data-load="true"]').click(),$("body").on("click",".portlet > .portlet-title > .tools > .collapse, .portlet .portlet-title > .tools > .expand",function(t){t.preventDefault()})},g=function(){if($().uniform){var t=$("input[type=checkbox]:not(.toggle, .make-switch, .icheck), input[type=radio]:not(.toggle, .star, .make-switch, .icheck)");t.size()>0&&t.each(function(){0===$(this).parents(".checker").size()&&$(this).show()})}},h=function(){$().iCheck&&$(".icheck").each(function(){var t=$(this).attr("data-checkbox")?$(this).attr("data-checkbox"):"icheckbox_minimal-grey",e=$(this).attr("data-radio")?$(this).attr("data-radio"):"iradio_minimal-grey";t.indexOf("_line")>-1||e.indexOf("_line")>-1?$(this).iCheck({checkboxClass:t,radioClass:e,insert:'
'+$(this).attr("data-label")}):$(this).iCheck({checkboxClass:t,radioClass:e})})},f=function(){$().bootstrapSwitch&&$(".make-switch").bootstrapSwitch()},A=function(){$().confirmation&&$("[data-toggle=confirmation]").confirmation({container:"body",btnOkClass:"btn-xs btn-success",btnCancelClass:"btn-xs btn-danger"})},v=function(){$("body").on("shown.bs.collapse",".accordion.scrollable",function(t){Metronic.scrollTo($(t.target))})},I=function(){if(location.hash){var t=location.hash.substr(1);$('a[href="#'+t+'"]').parents(".tab-pane:hidden").each(function(){var t=$(this).attr("id");$('a[href="#'+t+'"]').click()}),$('a[href="#'+t+'"]').click()}},b=function(){$("body").on("hide.bs.modal",function(){$(".modal:visible").size()>1&&!1===$("html").hasClass("modal-open")?$("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")})},E=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"})},T=function(){$("body").on("click",".dropdown-menu.hold-on-click",function(t){t.stopPropagation()})},N=function(){$("body").on("click",'[data-close="alert"]',function(t){$(this).parent(".alert").hide(),$(this).closest(".note").hide(),t.preventDefault()}),$("body").on("click",'[data-close="note"]',function(t){$(this).closest(".note").hide(),t.preventDefault()}),$("body").on("click",'[data-remove="note"]',function(t){$(this).closest(".note").remove(),t.preventDefault()})},P=function(){$('[data-hover="dropdown"]').not(".hover-initialized").each(function(){$(this).dropdownHover(),$(this).addClass("hover-initialized")})},_=function(){$(".popovers").popover(),$(document).on("click.bs.popover.data-api",function(e){t&&t.popover("hide")})},C=function(){Metronic.initSlimScroll(".scroller")},O=function(){jQuery.fancybox&&$(".fancybox-button").size()>0&&$(".fancybox-button").fancybox({groupAttr:"data-rel",prevEffect:"none",nextEffect:"none",closeBtn:!0,helpers:{title:{type:"inside"}}})},S=function(){(n||a)&&$("input[placeholder]:not(.placeholder-no-fix), textarea[placeholder]:not(.placeholder-no-fix)").each(function(){var t=$(this);""===t.val()&&""!==t.attr("placeholder")&&t.addClass("placeholder").val(t.attr("placeholder")),t.focus(function(){t.val()==t.attr("placeholder")&&t.val("")}),t.blur(function(){""!==t.val()&&t.val()!=t.attr("placeholder")||t.val(t.attr("placeholder"))})})},x=function(){$().select2&&$(".select2me").select2({placeholder:"Select"})};return{init:function(){d(),p(),g(),h(),f(),C(),O(),x(),m(),N(),T(),I(),E(),_(),v(),b(),A(),S()},initAjax:function(){g(),h(),f(),P(),C(),x(),O(),T(),E(),_(),v(),A()},initComponents:function(){this.initAjax()},setLastPopedPopover:function(e){t=e},addResizeHandler:function(t){i.push(t)},runResizeHandlers:function(){u()},scrollTo:function(t,e){var n=t&&t.size()>0?t.offset().top:0;t&&($("body").hasClass("page-header-fixed")&&(n-=$(".page-header").height()),n+=e||-1*t.height()),$("html,body").animate({scrollTop:n},"slow")},initSlimScroll:function(t){$(t).each(function(){if(!$(this).attr("data-initialized")){var t;t=$(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:e?"left":"right",height:t,alwaysVisible:"1"==$(this).attr("data-always-visible"),railVisible:"1"==$(this).attr("data-rail-visible"),disableFadeOut:!0}),$(this).attr("data-initialized","1")}})},destroySlimScroll:function(t){$(t).each(function(){if("1"===$(this).attr("data-initialized")){$(this).removeAttr("data-initialized"),$(this).removeAttr("style");var t={};$(this).attr("data-handle-color")&&(t["data-handle-color"]=$(this).attr("data-handle-color")),$(this).attr("data-wrapper-class")&&(t["data-wrapper-class"]=$(this).attr("data-wrapper-class")),$(this).attr("data-rail-color")&&(t["data-rail-color"]=$(this).attr("data-rail-color")),$(this).attr("data-always-visible")&&(t["data-always-visible"]=$(this).attr("data-always-visible")),$(this).attr("data-rail-visible")&&(t["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 e=$(this);$.each(t,function(t,n){e.attr(t,n)})}})},scrollTop:function(){Metronic.scrollTo()},blockUI:function(t){var e="";if(e=(t=$.extend(!0,{},t)).animate?'
':t.iconOnly?'
':t.textOnly?'
  '+(t.message?t.message:"LOADING...")+"
":'
  '+(t.message?t.message:"LOADING...")+"
",t.target){var n=$(t.target);n.height()<=$(window).height()&&(t.cenrerY=!0),n.block({message:e,baseZ:t.zIndex?t.zIndex:1e3,centerY:void 0!==t.cenrerY&&t.cenrerY,css:{top:"10%",border:"0",padding:"0",backgroundColor:"none"},overlayCSS:{backgroundColor:t.overlayColor?t.overlayColor:"#555",opacity:t.boxed?.05:.1,cursor:"wait"}})}else $.blockUI({message:e,baseZ:t.zIndex?t.zIndex:1e3,css:{border:"0",padding:"0",backgroundColor:"none"},overlayCSS:{backgroundColor:t.overlayColor?t.overlayColor:"#555",opacity:t.boxed?.05:.1,cursor:"wait"}})},unblockUI:function(t){t?$(t).unblock({onUnblock:function(){$(t).css("position",""),$(t).css("zoom","")}}):$.unblockUI()},startPageLoading:function(t){t&&t.animate?($(".page-spinner-bar").remove(),$("body").append('
')):($(".page-loading").remove(),$("body").append('
  '+(t&&t.message?t.message:"Loading...")+"
"))},stopPageLoading:function(){$(".page-loading, .page-spinner-bar").remove()},alert:function(t){t=$.extend(!0,{container:"",place:"append",type:"success",message:"",close:!0,reset:!0,focus:!0,closeInSeconds:0,icon:""},t);var e=Metronic.getUniqueID("Metronic_alert"),n='
'+(t.close?'':"")+(""!==t.icon?' ':"")+t.message+"
";return t.reset&&$(".Metronic-alerts").remove(),t.container?"append"==t.place?$(t.container).append(n):$(t.container).prepend(n):$("body").hasClass("page-container-bg-solid")?$(".page-title").after(n):$(".page-bar").size()>0?$(".page-bar").after(n):$(".page-breadcrumb").after(n),t.focus&&Metronic.scrollTo($("#"+e)),t.closeInSeconds>0&&setTimeout(function(){$("#"+e).remove()},1e3*t.closeInSeconds),e},initUniform:function(t){t?$(t).each(function(){0===$(this).parents(".checker").size()&&($(this).show(),$(this).uniform())}):g()},updateUniform:function(t){$.uniform.update(t)},initFancybox:function(){O()},getActualVal:function(t){return(t=$(t)).val()===t.attr("placeholder")?"":t.val()},getURLParameter:function(t){var e,n,a=window.location.search.substring(1).split("&");for(e=0;e a").each(function(){var t=$(this).attr("href").toLowerCase();t.length>1&&a.substr(1,t.length-1)==t.substr(1)&&(n=$(this))}),n&&0!=n.size()&&"javascript:;"!==n.attr("href").toLowerCase()&&"#"!==n.attr("href").toLowerCase()){parseInt(s.data("slide-speed")),s.data("keep-expanded");s.find("li.active").removeClass("active"),s.find("li > a > .selected").remove(),!1===s.hasClass("page-sidebar-menu-hover-submenu")?s.find("li.open").each(function(){0===$(this).children(".sub-menu").size()&&($(this).removeClass("open"),$(this).find("> a > .arrow.open").removeClass("open"))}):s.find("li.open").removeClass("open"),n.parents("li").each(function(){$(this).addClass("active"),$(this).find("> a > span.arrow").addClass("open"),1===$(this).parent("ul.page-sidebar-menu").size()&&$(this).find("> a").append(''),1===$(this).children("ul.sub-menu").size()&&$(this).addClass("open")}),"click"===e&&Metronic.getViewPort().width a",function(n){var a=$(this).next().hasClass("sub-menu");if(!(Metronic.getViewPort().width>=t&&1===$(this).parents(".page-sidebar-menu-hover-submenu").size()))if(!1!==a){if(!$(this).next().hasClass("sub-menu always-open")){var s=$(this).parent().parent(),i=$(this),l=$(".page-sidebar-menu"),o=jQuery(this).next(),r=l.data("auto-scroll"),c=parseInt(l.data("slide-speed"));!0!==l.data("keep-expanded")&&(s.children("li.open").children("a").children(".arrow").removeClass("open"),s.children("li.open").children(".sub-menu:not(.always-open)").slideUp(c),s.children("li.open").removeClass("open"));o.is(":visible")?(jQuery(".arrow",jQuery(this)).removeClass("open"),jQuery(this).parent().removeClass("open"),o.slideUp(c,function(){!0===r&&!1===$("body").hasClass("page-sidebar-closed")&&($("body").hasClass("page-sidebar-fixed")?l.slimScroll({scrollTo:i.position().top}):Metronic.scrollTo(i,-200)),e()})):a&&(jQuery(".arrow",jQuery(this)).addClass("open"),jQuery(this).parent().addClass("open"),o.slideDown(c,function(){!0===r&&!1===$("body").hasClass("page-sidebar-closed")&&($("body").hasClass("page-sidebar-fixed")?l.slimScroll({scrollTo:i.position().top}):Metronic.scrollTo(i,-200)),e()})),n.preventDefault()}}else Metronic.getViewPort().width a.ajaxify",function(e){e.preventDefault(),Metronic.scrollTop();var n=$(this).attr("href"),a=jQuery(".page-sidebar ul"),s=($(".page-content"),$(".page-content .page-content-body"));a.children("li.active").removeClass("active"),a.children("arrow.open").removeClass("open"),$(this).parents("li").each(function(){$(this).addClass("active"),$(this).children("a > span.arrow").addClass("open")}),$(this).parents("li").addClass("active"),Metronic.getViewPort().width li.open > a").click(),Metronic.stopPageLoading(),s.html(t),Layout.fixContentHeight(),Metronic.initAjax()},error:function(t,e,n){Metronic.stopPageLoading(),s.html("

Could not load the requested content.

")}})}),jQuery(".page-content").on("click",".ajaxify",function(e){e.preventDefault(),Metronic.scrollTop();var n=$(this).attr("href"),a=($(".page-content"),$(".page-content .page-content-body"));Metronic.startPageLoading(),Metronic.getViewPort().widthCould not load the requested content."),Metronic.stopPageLoading()}})}),l(),$(".page-sidebar").on("click",".sidebar-search .remove",function(t){t.preventDefault(),$(".sidebar-search").removeClass("open")}),$(".page-sidebar .sidebar-search").on("keypress","input.form-control",function(t){if(13==t.which)return $(".sidebar-search").submit(),!1}),0!==$(".sidebar-search").size()&&($(".sidebar-search .input-group").on("click",function(t){t.stopPropagation()}),$("body").on("click",function(){$(".sidebar-search").hasClass("open")&&$(".sidebar-search").removeClass("open")}))},s=function(){var t=Metronic.getViewPort().height-$(".page-header").outerHeight();return $("body").hasClass("page-footer-fixed")&&(t-=$(".page-footer").outerHeight()),t},i=function(){var n=$(".page-sidebar-menu");Metronic.destroySlimScroll(n),0!==$(".page-sidebar-fixed").size()?Metronic.getViewPort().width>=t&&(n.attr("data-height",s()),Metronic.initSlimScroll(n),e()):e()},l=function(){var t=$("body");t.hasClass("page-sidebar-fixed")&&$(".page-sidebar").on("mouseenter",function(){t.hasClass("page-sidebar-closed")&&$(this).find(".page-sidebar-menu").removeClass("page-sidebar-menu-closed")}).on("mouseleave",function(){t.hasClass("page-sidebar-closed")&&$(this).find(".page-sidebar-menu").addClass("page-sidebar-menu-closed")})},o=function(){$("body");$.cookie&&"1"===$.cookie("sidebar_closed")&&Metronic.getViewPort().width>=t?($("body").addClass("page-sidebar-closed"),$(".page-sidebar-menu").addClass("page-sidebar-menu-closed")):$.cookie&&$.cookie("sidebar_closed","0")},r=function(){$(".page-header").on("click",'.hor-menu a[data-toggle="tab"]',function(t){t.preventDefault();var e=$(".hor-menu .nav").find("li.current");$("li.active",e).removeClass("active"),$(".selected",e).remove();var n=$(this).parents("li").last();n.addClass("current"),n.find("a:first").append('')}),$(".page-header").on("click",".search-form",function(t){$(this).addClass("open"),$(this).find(".form-control").focus(),$(".page-header .search-form .form-control").on("blur",function(t){$(this).closest(".search-form").removeClass("open"),$(this).unbind("blur")})}),$(".page-header").on("keypress",".hor-menu .search-form .form-control",function(t){if(13==t.which)return $(this).closest(".search-form").submit(),!1}),$(".page-header").on("mousedown",".search-form.open .submit",function(t){t.preventDefault(),t.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(t){t.stopPropagation()})},c=function(){$("body").on("shown.bs.tab",'a[data-toggle="tab"]',function(){e()})},d=function(){navigator.userAgent.match(/iPhone|iPad|iPod/i)?$(window).bind("touchend touchcancel touchleave",function(t){$(this).scrollTop()>300?$(".scroll-to-top").fadeIn(500):$(".scroll-to-top").fadeOut(500)}):$(window).scroll(function(){$(this).scrollTop()>300?$(".scroll-to-top").fadeIn(500):$(".scroll-to-top").fadeOut(500)}),$(".scroll-to-top").click(function(t){return t.preventDefault(),$("html, body").animate({scrollTop:0},500),!1})},u=function(){var e,n=$(".full-height-content");if(e=Metronic.getViewPort().height-$(".page-header").outerHeight(!0)-$(".page-footer").outerHeight(!0)-$(".page-title").outerHeight(!0)-$(".page-bar").outerHeight(!0),n.hasClass("portlet")){var a=n.find(".portlet-body");if(Metronic.getViewPort().width
\n\x3c!-- END LOGO --\x3e\n\x3c!-- BEGIN RESET --\x3e\n
\n\t\x3c!-- BEGIN RESET FORM --\x3e\n\t
\n\t\t

{{\'APPLICATION_RESET_PASSWORD\' | translate}}

\n\t\t

\n\t\t\t{{\'MESSAGE_FIRST_LOGIN_PASSWORD_RESET\' | translate}}\n\t\t

\n\t\t
\n\t\t\t\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t\t\n\t\t\t\t{{setting.securePassword ? \'MESSAGE_PASSWORD_FORMAT\' : \'MESSAGE_PASSWORD_LIGHT_FORMAT\' | translate}}\n\t\t\t\n\t\t\t{{\'MESSAGE_REQUIRED_FIELD\' | translate}}\n\t\t\t\n\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t\t{{\'MESSAGE_REQUIRED_FIELD\' | translate}}\n\t\t\t\n\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t\n\t\t
\n\t
\n\t\x3c!-- END RESET FORM--\x3e\n\t\t\n
\n\n\x3c!-- END RESET --\x3e\n'),t.put("app/analytic/extracted/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
\n\t
\n\t\t
\n\t\t\t\n\t\t
\n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_EXTRACTED_REPORTS\' | translate }} \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
\n\t\t\t\t\t
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n\t\t\t\t
\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
\n\t\t
\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
\n
\n\n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/analytic/metric/list/create.modal.html",'\n\n\n'),t.put("app/analytic/metric/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
\n\t
\n\t\t
\n\t\t\t\n\t\t
\n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
\n\t\t\t\x3c!--
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_DEFAULT_METRICS\' | translate }} \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t
--\x3e\n\t\t\t\x3c!--
--\x3e\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t\x3c!--
\n\t\t\t\t\t
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n\t\t\t\t
--\x3e\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t\x3c!--
--\x3e\n\t\t\t
\x3c!-- removed margin-top20 class from title when commented the default metrics section--\x3e\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_METRICS\' | translate }} \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
\n\t\t\t\t\t
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n\t\t\t\t
\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
\n\t\t
\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
\n
\n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/analytic/metric/list/view.modal.html",'\n\n\n'),t.put("app/analytic/metric/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
\n\t
\n\t\t
\n\t\t\t\n\t\t
\n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
\n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
\n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{{metric.name}}\n\t\t\t\t\t
\n\t\t\t\t\t\x3c!--
\n\t\t\t\t\t\t{{user.role}}\n\t\t\t\t\t
--\x3e\n\t\t\t\t
\n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
\n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
\n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
\n\t\t
\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
\n
\n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/analytic/metric/view/view.settings.html",'
\n\t
\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_METRIC\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
\n\t\t\t\t\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_\'+$select.selected.value.toUpperCase() | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\x3c!-- END TABLE--\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START METRIC --\x3e\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\x3c!-- END METRIC --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\x3c!-- END ADVANCED TAB --\x3e\n\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t
\n
\n'),t.put("app/analytic/report/list/copy.modal.html",'\n\n\n'),t.put("app/analytic/report/list/create.modal.html",'\n\n\n'),t.put("app/analytic/report/list/deleteNode.modal.html",'\n\n\n'),t.put("app/analytic/report/list/extract.modal.html",'\n\n\n'),t.put("app/analytic/report/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
\n\t
\n\t\t
\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t{{ \'APPLICATION_FOLDERS\' | translate }} \n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t\t
\n\t\t
\n\t\t\t
\n\t\t\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{ \'APPLICATION_REPORTS\' | translate }} - {{selectedNode}}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t {{\'APPLICATION_IMPORT_FROM_JSON\' | translate}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t\t\t
\n\t\t
\n\t
\n
\n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/analytic/report/list/preview.modal.html",'\n\n\n'),t.put("app/analytic/report/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
\n\t
\n\t\t
\n\t\t\t\n\t\t
\n\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
\n\t\t
\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
\n
\n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/analytic/report/view/view.settings.html",'
\n\t
\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t
{{ \'APPLICATION_REPORT\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} - {{report.name}}
\n\t\t\t\t
\n\t\t\t\t\n\t\t\t
\n\n\t\t\t
\n\n\t\t\t\t
\n\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t\t\x3c!-- BUILD TAB --\x3e\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\x3c!-- START TABLE INPUT --\x3e\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_\'+$select.selected.value.toUpperCase() | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\x3c!-- END TABLE INPUT--\x3e\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_FIELDS\' | translate}} \n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
{{ \'APPLICATION_FIELD\' | translate }} / {{ \'APPLICATION_METRIC\' | translate }}{{ \'APPLICATION_ALIAS\' | translate }}{{ \'APPLICATION_FUNCTION\' | translate }}{{ \'APPLICATION_FORMAT\' | translate }}{{ \'APPLICATION_GROUP_BY\' | translate }}{{ \'APPLICATION_ORDER_BY\' | translate }}
\n\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START FIELD --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END FIELD--\x3e\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START ALIAS --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END ALIAS --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START FUNCTION --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END FUNCTION--\x3e\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START FORMAT --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END FORMAT--\x3e\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START GROUP_BY --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$translate.instant(groupBy.name)}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END GROUP_BY--\x3e\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START ORDER_BY --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END TABLE INPUT--\x3e\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t{{ \'MESSAGE_ADD_A_FIELD\' | translate }}\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_CONDITIONS\' | translate}} \n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\tOutput\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\x3c!-- END BUILD TAB --\x3e\n\n\t\t\t\t\t\x3c!-- PREVIEW TAB --\x3e\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\x3c!-- END PREVIEW TAB --\x3e\n\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t
\n
\n'),t.put("app/channels/chat/offline/list/list.html",'
\n\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t
\n
\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
\n\t
\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_OFFLINE_MESSAGES\' | translate }} \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
\n\t\t\t\t\t
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n\t\t\t\t
\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
\n\t\t
\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
\n
\n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/offline/message/message.directive.html",'
\n
\n
\n From: \n [{{message.email}}]\n
\n
\n
\n \n {{message.createdAt | date:\'medium\'}} ()\n \n
\n
\n
{{\'MESSAGE_NO_AVAILABLE_TEXT\' | translate | lowercase}}
\n
\n'),t.put("app/channels/chat/offline/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
\n\t
\n\t\t
\n\t\t\t\n\t\t
\n\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{{enquiry.ChatWebsite.name}}\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\x3c!-- Visitor Information --\x3e\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_NAME\' | translate}}:

{{enquiry.ChatVisitor.fullname}}

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

{{enquiry.ChatVisitor.email}}

\n\t\t\t\t\t\t\t\t\t\t\t{{enquiry.ChatVisitor.labelOfflineData1}}:

{{enquiry.ChatVisitor.offlineData1}}

\n\t\t\t\t\t\t\t\t\t\t\t{{enquiry.ChatVisitor.labelOfflineData2}}:

{{enquiry.ChatVisitor.offlineData2}}

\n\t\t\t\t\t\t\t\t\t\t\t{{enquiry.ChatVisitor.labelOfflineData3}}:

{{enquiry.ChatVisitor.offlineData3}}

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

{{enquiry.ChatVisitor.remote_address}}

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

{{enquiry.ChatVisitor.browser}}

\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_REFERER\' | translate}}:

{{enquiry.ChatVisitor.referer}} - {{enquiry.ChatWebsite.name}}

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

{{enquiry.ChatVisitor.os}}

\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\x3c!-- Offline message --\x3e\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t\t
\n\t
\n
\n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/online/list/list.html",'
\n\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t
\n
\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
\n\t
\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_VISITORS\' | translate }} \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
\n\t\t\t\t\t
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n\t\t\t\t
\n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
\n\t\t
\n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
\n
\n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/online/view/view.detail.html",'
\n\t
\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_DETAIL\' | translate}}\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t

\n\t\t\t\t\t\t\t{{\'APPLICATION_MESSAGES\' | translate}}\n\t\t\t\t\t\t\t\x3c!-- {{\'APPLICATION_EXPORT\' | translate}} CSV --\x3e\n\t\t\t\t\t\t\t {{\'APPLICATION_EXPORT\' | translate}} CSV \n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t{{\'APPLICATION_VISITOR\' | translate}}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t
\n'),t.put("app/channels/chat/online/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
\n\t
\n\t\t
\n\t\t\t\n\t\t
\n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
\n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
\n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- START USER TITLE --\x3e\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{{chatRoom.ChatVisitor.email}}\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{{chatRoom.ChatVisitor.fullname}}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\x3c!-- END USER TITLE --\x3e\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
\n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
\n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
\n\t\t
\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
\n
\n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/preview/preview.html",'\n
\n
\n \n \n \n \n \n \n\t\n {{statePreview.state == \'online\' ? chatWebsite.header_online : chatWebsite.header_offline}}\n
\n
\n
\n \x3c!--
\n
    \n
    --\x3e\n
    \n
    \n

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

    {{chatWebsite.rating_message}}

    \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n \n \n
    \n
    \n \n
    \n
    \n'),t.put("app/channels/chat/queue/list/list.create.modal.html",'\n\n\n'),t.put("app/channels/chat/queue/list/list.html",'
    \n\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_QUEUES\' | translate }} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/queue/view/view.agents.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_AGENTS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- BEGIN FORM--\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END FORM--\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/chat/queue/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{queue.name}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/queue/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\x3c!-- START STRATEGY --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{$select.selected | uppercase}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END STRATEGY --\x3e\n\n\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/chat/realtime/view/agent/agent.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t\n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/realtime/view/agent/agent.modal.info.html",'\n\n\n'),t.put("app/channels/chat/realtime/view/agent/queue.modal.add.html",'\n\n\n'),t.put("app/channels/chat/realtime/view/application/application.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/realtime/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/room/external/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n\t
    \n\t\t
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\t
    \n\t\n
    \n
    \n\t\x3c!-- START TAGS --\x3e\n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t{{$item}}\n\t\t\t\t\t\n\t\t\t\t\t\t{{tag}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t
    \n\t\x3c!-- END TAGS --\x3e\n
    \n
    \n\t\t\x3c!-- BEGIN UI-GRID SPINNER --\x3e\n\t\t\n\t\t\x3c!-- END UI-GRID SPINNER --\x3e\n\n\t\t\x3c!-- START TABLE --\x3e\n\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/room/group/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n\t
    \n\t\t
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\t
    \n\t\n
    \n
    \n\t\x3c!-- START TAGS --\x3e\n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t{{$item}}\n\t\t\t\t\t\n\t\t\t\t\t\t{{tag}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t
    \n\t\x3c!-- END TAGS --\x3e\n
    \n
    \n\t\t\x3c!-- BEGIN UI-GRID SPINNER --\x3e\n\t\t\n\t\t\x3c!-- END UI-GRID SPINNER --\x3e\n\n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/room/internal/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN UI-GRID SPINNER --\x3e\n\t\t\n\t\t\x3c!-- END UI-GRID SPINNER --\x3e\n\n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/room/room.add.html",'\n\n\n\n\n'),t.put("app/channels/chat/room/room.close.html",'\n\n\n'),t.put("app/channels/chat/room/room.directive.html",'
    \n
    \n
    \n {{chatRoom.status}}\n | \n {{chatRoom.ChatWebsite.name | truncate: 25: \'...\': true}}\n
    \n
    \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \x3c!-- START TAGS --\x3e\n
    \n
    \n
    \n \n \n \n
    \n
    \n \n {{$item}}\n \n {{tag}}\n \n \n
    \n
    \n
    \n \x3c!-- END TAGS --\x3e\n
    \n
    \n \n \n \n \n \n \n {{\'APPLICATION_ROOM_ID\' | translate}}:

    {{chatRoom.id}}

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

    {{chatRoom.ChatVisitor.fullname}}

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

    {{chatRoom.ChatVisitor.email}}

    \n {{chatRoom.ChatVisitor.labelData1}}:

    {{chatRoom.ChatVisitor.data1}}

    \n {{chatRoom.ChatVisitor.labelData2}}:

    {{chatRoom.ChatVisitor.data2}}

    \n {{chatRoom.ChatVisitor.labelData3}}:

    {{chatRoom.ChatVisitor.data3}}

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

    {{chatRoom.ChatVisitor.remote_address}}

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

    {{chatRoom.ChatVisitor.browser}}

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

    {{chatRoom.ChatVisitor.referer}} - {{enquiry.ChatWebsite.name}}

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

    {{chatRoom.ChatVisitor.os}}

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

    {{user.fullname}}

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

    {{user.role}}

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

    {{user.internal}}

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

    {{user.email}}

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

    {{\'MESSAGE_CHAT_ROOM_CLOSED\' | translate}}!

    \n

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

    \n
    \n

    \n {{\'APPLICATION_DISPOSITION\' | translate}}: {{chatRoom.disposition}}\n

    \n

    \n {{\'APPLICATION_RATING\' | translate}}: {{chatRoom.rating | ucfirst}}\n

    \n

    \n {{\'APPLICATION_RATING_MESSAGE\' | translate}}: {{chatRoom.ratingMessage}}\n

    \n

    \n {{\'APPLICATION_UPDATED_AT\' | translate}}: {{chatRoom.updatedAt | date:\'medium\'}} ()\n

    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n \n
    \n
    \n \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n \n \n
    \n
    \n \n \n
    \n No Results Found\n
    \n \n'+" {{'APPLICATION_WARNING' | translate}}! {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n"),t.put("app/channels/chat/room/room.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n\n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/room/template.html",'
    \n
    \n
    \n
    \n \n \n
    \n
    \n \n
    \n {{video.description}}\n
    \n
    \n {{video.views}}\n {{video.likes}}\n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n\x3c!--
    \n
    \n
    \n \n
    \n
    \n \n
    \n\n \n \n\n
    \n
    \n
    \n
    \n \n
    \n\n
    \n
    \n \n
    --\x3e\n'),t.put("app/channels/chat/room/view.tags.modal.html",'\n\n\n'),t.put("app/channels/chat/visitor/list/list.html",'
    \n\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_VISITORS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/visitor/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{chatVisitor.fullname}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/visitor/view/view.profile.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_PROFILE\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    {{chatVisitor.email}}

    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/chat/website/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_WEB_SITES\' | translate }} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/website/view/action/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_ACTIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/chat/website/view/action/view/view.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACTION\' | translate }} \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START AGENT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.fullname}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END AGENT --\x3e\n\n\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START SENDMAIL --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END SENDMAIL --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START SENDSms --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- END SENDSms --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{ intType.name | translate }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{ $select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ interval.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t{{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/website/view/action/wizard/wizard.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACTION\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START AGENT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.fullname}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END AGENT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START SENDMAIL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END SENDMAIL --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START SENDSms --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- END SENDSms --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ intType.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ interval.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

    \n\t {{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/website/view/disposition/modal/add.modal.html",'\n\n\n'),t.put("app/channels/chat/website/view/disposition/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_DISPOSITIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/chat/website/view/embedding/view/view.html",'
    \n
    \n
    \n
    \n
    \n \n {{\'APPLICATION_EMBEDDING\' | translate}}\n
    \n \n
    \n
    \n
    \n
    \n

    {{\'APPLICATION_EMBED_SNIPPET\' | translate}}

    \n

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

    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n'),t.put("app/channels/chat/website/view/form/view/view.html",'
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n {{ \'APPLICATION_FIELDS_SELECTED\' | translate }}\n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n {{ \'APPLICATION_FIELDS_AVAILABLE\' | translate }}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n {{ \'APPLICATION_FIELDS_SELECTED\' | translate }}\n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n {{ \'APPLICATION_FIELDS_AVAILABLE\' | translate }}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n'),t.put("app/channels/chat/website/view/hooks/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_HOOKS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- ACCEPT TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START ACCEPT URL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ACCEPT URL--\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START ACTIONS--\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START PAUSE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t \t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ACTION --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ACCEPT TAB --\x3e\n\t\t\t\t\t\x3c!-- START REJECT TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START REJECT URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- END REJECT URL --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END REJECT TAB --\x3e\n\t\t\t\t\t\x3c!-- START CLOSE TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END CLOSE TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/chat/website/view/proactive/list/list.create.modal.html",'\n\n\n'),t.put("app/channels/chat/website/view/proactive/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_PROACTIVE_ACTIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/chat/website/view/setting/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START LIST --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END LIST --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/chat/website/view/snippet/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SNIPPET\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- APPEARANCE TAB --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START MAIN COLOR --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END MAIN COLOR --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START FOCUS COLOR --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END FOCUS COLOR --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START BUTTON COLOR --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END BUTTON COLOR --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START HEADER SHAPE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$translate.instant(\'APPLICATION_\' + $select.selected.toUpperCase())}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END HEADER SHAPE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START ANIMATION TOGGLE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END ANIMATION TOGGLE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WHITE_LABEL\' | translate}}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END DEFAULT --\x3e\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START LABEL --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END LABEL --\x3e\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_LOGO\' | translate}}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END STATUS --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {{ \'APPLICATION_SELECT_IMAGE\' | translate }} \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    {{ \'MESSAGE_SUPPORTED_FORMATS\' | translate }} jpg, png, jpeg.\n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ item.file.name }}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ item.file.size/1024/1024|number:2 }} MB\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END APPEARANCE TAB --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- FORMS TAB --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START DOWNLOAD TRANSCRIPT --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END DOWNLOAD TRANSCRIPT --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END FORMS TAB --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- STRINGS TAB --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t

    {{\'APPLICATION_ONLINE_STATE\' | translate}}

    \n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START HEADER ONLINE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END HEADER ONLINE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START ONLINE MESSAGE--\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END HEADER ONLINE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START USERNAME TITLE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END USERNAME TITLE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START USERNAME PLACEHOLDER --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END USERNAME PLACEHOLDER --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START EMAIL TITLE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END EMAIL TITLE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START EMAIL PLACEHOLDER --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END EMAIL PLACEHOLDER --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START START CHAT BUTTON --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END START CHAT BUTTON --\x3e\n\n\t\t\t\t\t\t\t\t\t\t

    {{\'APPLICATION_RATING_STATE\' | translate}}

    \n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START RATING MESSAGE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END RATING MESSAGE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START RATING SEND BUTTON --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END RATING SEND BUTTON --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START RATING SKIP BUTTON --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END RATING SKIP BUTTON --\x3e\n\n\t\t\t\t\t\t\t\t\t\t

    {{\'APPLICATION_OFFLINE_STATE\' | translate}}

    \n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START HEADER OFFLINE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END HEADER OFFLINE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START OFFLINE MESSAGE--\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END OFFLINE MESSAGE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START ENQUIRY MESSAGE TITLE--\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END ENQUIRY MESSAGE TITLE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START ENQUIRY MESSAGE PLACEHOLDER--\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END ENQUIRY MESSAGE PLACEHOLDER --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START ENQUIRY BUTTON --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END ENQUIRY BUTTON --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START AGENTS BUSY BUTTON --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END AGENTS BUSY BUTTON --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END STRINGS TAB --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- SETTINGS TAB --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START ADDRESS --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END ADDRESS --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START REMOTE IP --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END REMOTE IP --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START FIDELITY --\x3e\n\t\t\t\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\t\t\t\x3c!-- END FIDELITY --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END SETTINGS TAB --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- OFFLINE TAB --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START ENQUIRY ENABLE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END ENQUIRY ENABLE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START ENQUIRY FORWARDING --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END ENQUIRY FORWARDING --\x3e\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t

    Warning!

    \n\t\t

    \n\t\t {{ \'MESSAGE_NO_SERVICE_MAIL_ACCOUNT\' | translate }}\n\t\t

    \n\t\t

    \n\t\t {{\'APPLICATION_GO_TO\' | translate}} SMTP {{\'APPLICATION_OR\' | translate}} {{\'APPLICATION_MAIL_ACCOUNTS\' | translate}}\n\t\t

    \n\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START REMOTE IP --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END REMOTE IP --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START HEADER SHAPE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END HEADER SHAPE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END OFFLINE TAB --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START STATE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END STATE --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/chat/website/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{chatWebsite.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{chatWebsite.address}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t\n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/website/wizard/wizard.html",'\x3c!-- BEGIN PAGE HEADER--\x3e\n
    \n\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n
    \n\x3c!-- END PAGE HEADER--\x3e\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_WEB_SITE\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ADDRESS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ADDRESS --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START REMOTE IP --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END REMOTE IP --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START MAIN COLOR --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MAIN COLOR --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START FOCUS COLOR --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END FOCUS COLOR --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START BUTTON COLOR --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END BUTTON COLOR --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START HEADER SHAPE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$translate.instant(\'APPLICATION_\' + $select.selected.toUpperCase())}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END HEADER SHAPE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ANIMATION TOGGLE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected ? \'On\' : \'Off\'}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ANIMATION TOGGLE --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START HEADER ONLINE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END HEADER ONLINE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ONLINE MESSAGE--\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END HEADER ONLINE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START USERNAME TITLE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME TITLE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START USERNAME PLACEHOLDER --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME PLACEHOLDER --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START EMAIL TITLE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END EMAIL TITLE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START EMAIL PLACEHOLDER --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END EMAIL PLACEHOLDER --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START START CHAT BUTTON --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END START CHAT BUTTON --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START RATING MESSAGE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END RATING MESSAGE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START RATING START TEXT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END RATING START TEXT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START RATING MESSAGE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END RATING MESSAGE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START HEADER OFFLINE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END HEADER OFFLINE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START OFFLINE MESSAGE--\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END OFFLINE MESSAGE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ENQUIRY MESSAGE TITLE--\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ENQUIRY MESSAGE TITLE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ENQUIRY MESSAGE PLACEHOLDER--\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ENQUIRY MESSAGE PLACEHOLDER --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ENQUIRY BUTTON --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ENQUIRY BUTTON --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START AGENTS BUSY BUTTON --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END AGENTS BUSY BUTTON --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START DOWNLOAD TRANSCRIPT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected ? \'On\' : \'Off\'}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DOWNLOAD TRANSCRIPT --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/fax/account/list/list.create.modal.html",'\n\n\n'),t.put("app/channels/fax/account/list/list.html",'
    \n\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACCOUNTS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/fax/account/view/action/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_ACTIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/fax/account/view/action/view/view.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACTION\' | translate }} \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START AGENT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.fullname}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END AGENT --\x3e\n\n\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START SENDMAIL --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{attachment}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END SENDMAIL --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START SENDSms --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- END SENDSms --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{ intType.name | translate }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{ $select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ interval.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/fax/account/view/action/wizard/wizard.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACTION\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START AGENT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.fullname}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END AGENT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START SENDMAIL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{attachment}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END SENDMAIL --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START SENDSms --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- END SENDSms --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ intType.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ interval.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/fax/account/view/disposition/modal/add.modal.html",'\n\n\n'),t.put("app/channels/fax/account/view/disposition/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_DISPOSITIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/fax/account/view/hooks/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_HOOKS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- ACCEPT TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START ACTIONS--\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t \t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ACTION --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ACCEPT TAB --\x3e\n\t\t\t\t\t\x3c!-- START REJECT TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ACCEPT TAB --\x3e\n\t\t\t\t\t\x3c!-- START CLOSE TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END CLOSE TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/fax/account/view/setting/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START HEADERINFO --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_HEADERINFO\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END HEADERINFO --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TRUNKS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START TRUNKS --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START LOCALSTATIONID --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_LOCALSTATIONID\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END LOCALSTATIONID --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START LIST --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END LIST --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START FIDELITY --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- END FIDELITY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t\t\x3c!-- ADVANCED TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- START ECM --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_ECM\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END ECM --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START MINRATE --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t {{$select.selected}}\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_MINRATE\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- START MINRATE --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START MAXRATE --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t {{$select.selected}}\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_MAXRATE\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- START MAXRATE --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START MODEM --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_MODEM\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END MODEM --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- START GATEWAY --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_GATEWAY\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_GATEWAY\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END GATEWAY --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START FAXDETECT --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_FAXDETECT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_FAXDETECT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END FAXDETECT --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START T38TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_T38TIMEOUT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_T38TIMEOUT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END T38TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START TECH --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t {{$select.selected}}\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- START TECH --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ADVANCED TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/fax/account/view/view.html",'\x3c!-- BEGIN PAGE HEADER--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\x3c!-- END PAGE HEADER--\x3e\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{ account.name || account.description }}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{ account.phone }}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/fax/account/wizard/wizard.html",'\x3c!-- BEGIN PAGE HEADER--\x3e\n
    \n\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n
    \n\x3c!-- END PAGE HEADER--\x3e\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START HEADERINFO --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_HEADERINFO\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END HEADERINFO --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TRUNKS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START TRUNKS --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START LOCALSTATIONID --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_LOCALSTATIONID\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END LOCALSTATIONID --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START ECM --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_ECM\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ECM --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MINRATE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t {{$select.selected}}\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_MINRATE\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START MINRATE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MAXRATE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t {{$select.selected}}\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_MAXRATE\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START MAXRATE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MODEM --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_MODEM\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MODEM --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START GATEWAY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_GATEWAY\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_GATEWAY\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END GATEWAY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START FAXDETECT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_FAXDETECT\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_FAXDETECT\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END FAXDETECT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START T38TIMEOUT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_T38TIMEOUT\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_T38TIMEOUT\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END T38TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TECH --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t {{$select.selected}}\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START TECH --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\n\t\t\t\t
    \n\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/fax/inbox/message/info.modal.html",'\n\n\n'),t.put("app/channels/fax/inbox/message/message.directive.html",'
    \n
    \n
    \n From: \n [{{message.from}}]\n
    \n To: \n [{{message.to}}]\n
    \n
    \n \n \n \n {{\'APPLICATION_SENT_BY\' | translate}}: {{message.User.fullname}}\n
    \n
    \n
    \n \n \n {{message.status | uppercase}}\n \n \n {{message.status | uppercase}}\n \n \n {{message.status | uppercase}}\n \n \n \n \n {{message.status | uppercase}}\n \n \n \n \n \n
    \n
    \n {{faxAttachment.name}}\n \n \n \n
    \n
    \n'),t.put("app/channels/fax/inbox/note/note.directive.html",'
    \n
    \n
    \n \n \n \n\n \n
    \n
    \n {{\'APPLICATION_ADD_BY\' | translate}}: {{message.User.fullname}}\n
    \n
    \n
    \n \n
    \n'),t.put("app/channels/fax/inbox/note/note.modal.html",'\n\n\n'),t.put("app/channels/fax/inbox/room/room.directive.html",'\x3c!-- BEGIN TODO CONTENT --\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t | \n\t\t\t\t #{{faxRoom.id}} {{faxRoom.status}}\n\t\t\t\t | \n\t\t\t\t{{faxRoom.contact}}\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\x3c!-- UPDATE SECTION START --\x3e\n\t\t\t\t\n\t\t\t\t\x3c!-- UPDATE SECTION END --\x3e\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START TAGS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$item}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{tag}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TAGS --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- END TAGS --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t

    {{\'MESSAGE_FAX_ROOM_CLOSED\' | translate}}!

    \n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t{{\'MESSAGE_FAX_ROOM_CLOSED_DETAILS\' | translate}}.\n\t\t\t\t\t\t

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t {{\'APPLICATION_DISPOSITION\' | translate}}: {{faxRoom.disposition}}\n\t\t\t\t\t\t

    \n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t {{\'APPLICATION_UPDATED_AT\' | translate}}: {{faxRoom.updatedAt | date:\'medium\'}} ()\n\t\t\t\t\t\t

    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- START HEAD --\x3e\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t From: {{form.from}}, To: {{form.to[0].fax}}\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START FROM --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t {{$select.selected.name}}\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \x3c!-- END FROM --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START TO --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_TO_LIMIT\' | translate}}.\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \x3c!-- END TO --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START ATTACH --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    {{ item.file.name | truncate: 5: \'...\': true}}{{ item.file.size/1024/1024|number:2 }} MB\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ATTACH --\x3e\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n\x3c!-- END TODO CONTENT --\x3e\n'),t.put("app/channels/fax/inbox/status/status.modal.html",'\n\n\n'),t.put("app/channels/fax/inbox/view/account/list/list.html",'\x3c!-- BEGIN Portlet PORTLET--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t\n\t
    \n\t
    \n\t\t\x3c!-- START TAGS --\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t{{$item}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{tag}}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END TAGS --\x3e\n\t
    \n\t
    \n\t\t\x3c!-- BEGIN UI-GRID SPINNER --\x3e\n\t\t\n\t\t\x3c!-- END UI-GRID SPINNER --\x3e\n\n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END Portlet PORTLET--\x3e\n'),t.put("app/channels/fax/inbox/view/view.agents.modal.html",'\n\n\n'),t.put("app/channels/fax/inbox/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\n
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t
    \n\n\t
    \n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

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

    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n'),t.put("app/channels/fax/inbox/view/view.status.modal.html",'\n\n\n'),t.put("app/channels/fax/inbox/view/view.tags.modal.html",'\n\n\n'),t.put("app/channels/fax/queue/list/list.create.modal.html",'\n\n\n'),t.put("app/channels/fax/queue/list/list.html",'
    \n\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_QUEUES\' | translate }} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/fax/queue/view/view.agents.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_AGENTS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- BEGIN FORM--\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END FORM--\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/fax/queue/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{queue.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t{{user.role}}\n\t\t\t\t\t
    --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/fax/queue/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\x3c!-- START STRATEGY --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{$select.selected | uppercase}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END STRATEGY --\x3e\n\n\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/fax/realtime/view/agent/agent.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t\n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/fax/realtime/view/agent/agent.modal.info.html",'\n\n\n'),t.put("app/channels/fax/realtime/view/agent/queue.modal.add.html",'\n\n\n'),t.put("app/channels/fax/realtime/view/application/application.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/fax/realtime/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/mail/account/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACCOUNTS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/mail/account/view/action/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_ACTIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/mail/account/view/action/view/view.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACTION\' | translate }} \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START AGENT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.fullname}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END AGENT --\x3e\n\n\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START SENDMAIL --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END SENDMAIL --\x3e\n\t\t\t\t\t
    \n\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START REPLYMAIL --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.key | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END REPLYMAIL --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START SENDSms --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- END SENDSms --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{ intType.name | translate }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{ $select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ interval.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t{{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/mail/account/view/action/wizard/wizard.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACTION\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START AGENT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.fullname}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

    \n\t {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_AGENTS\' | translate}}\n\t

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END AGENT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START SENDMAIL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END SENDMAIL --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START REPLYMAIL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.key | translate }}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END REPLYMAIL --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START SENDSms --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- END SENDSms --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ intType.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ interval.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

    \n\t {{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/mail/account/view/disposition/modal/add.modal.html",'\n\n\n'),t.put("app/channels/mail/account/view/disposition/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_DISPOSITIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/mail/account/view/hooks/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_HOOKS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- ACCEPT TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ACCEPT TAB --\x3e\n\t\t\t\t\t\x3c!-- START REJECT TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END REJECT TAB --\x3e\n\t\t\t\t\t\x3c!-- START CLOSE TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END CLOSE TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/mail/account/view/other/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_OTHER\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- BEGIN UI-GRID SPINNER --\x3e\n\t\t\t\t\n\t\t\t\t\x3c!-- END UI-GRID SPINNER --\x3e\n\n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START WHITE LABEL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END WHITE LABEL --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START SIGNATURE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END WHITE LABEL --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/mail/account/view/setting/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- BEGIN UI-GRID SPINNER --\x3e\n\t\t\t\t\n\t\t\t\t\x3c!-- END UI-GRID SPINNER --\x3e\n\n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ADDRESS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ADDRESS --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START LIST --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END LIST --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TEMPLATE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TEMPLATE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START FIDELITY --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- END FIDELITY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SERVICE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SERVICE --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t\t\x3c!-- IMAP TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    ERROR

    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    CONNECTED

    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    TRYING...

    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START HOST --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END HOST --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PORT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PORT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MAILBOX --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MAILBOX --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SEARCH FILTER --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START SEARCH FILTER --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START connTimeout --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END connTimeout --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START authTimeout --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END authTimeout --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DELETE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DELETE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SSL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SSL --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START Keepalive --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END Keepalive --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START POLLING --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- END POLLING --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START POLLING_TIMEOUT --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- END POLLING_TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END IMAP TAB --\x3e\n\n\t\t\t\t\t\x3c!-- SMTP TAB --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    ERROR

    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    CONNECTED

    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    TRYING...

    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START HOST --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END HOST --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PORT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PORT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SSL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SSL --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END SMTP TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/mail/account/view/view.html",'\x3c!-- BEGIN PAGE HEADER--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\x3c!-- END PAGE HEADER--\x3e\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{ account.description || account.name }}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{account.email}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n\x3c!-- END PAGE CONTENT--\x3e\n
    \n'),t.put("app/channels/mail/account/wizard/wizard.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PAGE HEADER--\x3e\n\t\t
    \n\t\t\t\n\t\t
    \n\t\t\x3c!-- END PAGE HEADER--\x3e\n\n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ADDRESS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ADDRESS --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START HOST --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END HOST --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PORT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PORT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MAILBOX --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MAILBOX --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SEARCH FILTER --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START SEARCH FILTER --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START connTimeout --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END connTimeout --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START authTimeout --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END authTimeout --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DELETE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DELETE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SSL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SSL --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START Keepalive --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END Keepalive --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START HOST --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END HOST --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PORT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PORT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SSL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SSL --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/mail/inbox/message/info.modal.html",'\n\n\n'),t.put("app/channels/mail/inbox/message/message.directive.html",'
    \n
    \n
    \n From: \n {{message.from[0]}} \n
    \n To: \n {{to}}, \n
    \n Cc: \n {{cc}}, \n
    \n Bcc: \n {{bcc}}, \n
    \n
    \n
    \n {{\'APPLICATION_SENT_BY\' | translate}}: {{message.User.fullname}}\n {{\'APPLICATION_SENT_BY\' | translate}}: System\n {{\'APPLICATION_SENT_BY\' | translate}}: Cally ²\n \n \n \n
    \n
    \n
    \n \n \n {{message.status | uppercase}}\n \n \n {{message.status | uppercase}}\n \n \n {{message.status | uppercase}}\n \n \n \n \n {{message.status | uppercase}}\n \n \n \n \n \n
    \n
    \n
    {{\'MESSAGE_NO_AVAILABLE_TEXT\' | translate | lowercase}}
    \n
    \n
    \n {{mailAttachment.name}}\n \n ({{mailAttachment.size | prettyBytes}})\n \n \n \n \n \n \n \n
    \n
    \n'),t.put("app/channels/mail/inbox/note/note.directive.html",'
    \n
    \n
    \n \n \n \n\n \n
    \n
    \n {{\'APPLICATION_ADD_BY\' | translate}}: {{message.User.fullname}}\n
    \n
    \n
    \n \n
    \n'),t.put("app/channels/mail/inbox/note/note.modal.html",'\n\n\n'),t.put("app/channels/mail/inbox/room/room.directive.html",'\x3c!-- BEGIN TODO CONTENT --\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t | \n\t\t\t\t #{{mailRoom.id}} {{mailRoom.status}}\n\t\t\t\t | \n\t\t\t\t Ref: #{{mailRoom.ParentId}}\n\t\t\t\t | \n\t\t\t\t{{mailRoom.subject || \'No subject\'}}\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\x3c!-- UPDATE SECTION START --\x3e\n\t\t\t\t\n\t\t\t\t\x3c!-- UPDATE SECTION END --\x3e\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START TAGS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$item}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{tag}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TAGS --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- END TAGS --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

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

    \n\t\t\t\t\t

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

    \n\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t\t {{\'APPLICATION_DISPOSITION\' | translate}}: {{mailRoom.disposition}}\n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\t {{\'APPLICATION_UPDATED_AT\' | translate}}: {{mailRoom.updatedAt | date:\'medium\'}} ()\n\t\t\t\t\t

    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START HEAD --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t From: {{form.from[0]}}, To: {{form.to[0].email}} (+{{form.to.length - 1}})\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\x3c!-- START FROM --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END FROM --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- MAIL TO --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END TO --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START CC --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END CC --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START BCC --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END BCC --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START SUBJECT --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END SUJBECT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- START ATTACH --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_ATTACHMENTS\' | translate}}:\n\t\t\t\t\t\t\t\t\t\t\t{{ item.file.name }}{{ item.file.size/1024/1024|number:2 }} MB\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END ATTACH --\x3e\n\n\t\t\t\t\t\t\x3c!-- START CANNED --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t No Results Found\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END CANNED --\x3e\n\n\t\t\t\t\t\t\x3c!-- START HTML --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n'+"\t\t\t\t\t\t\t\t\t{{'APPLICATION_WARNING' | translate}}! {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END HTML --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n
    \n\x3c!-- END TODO CONTENT --\x3e\n"),t.put("app/channels/mail/inbox/status/status.modal.html",'\n\n\n'),t.put("app/channels/mail/inbox/view/account/list/list.html",'\x3c!-- BEGIN Portlet PORTLET--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t\n\t
    \n\t
    \n\t\t\x3c!-- START TAGS --\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t{{$item}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{tag}}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END TAGS --\x3e\n\t
    \n\t
    \n\t\t\x3c!-- BEGIN UI-GRID SPINNER --\x3e\n\t\t\n\t\t\x3c!-- END UI-GRID SPINNER --\x3e\n\n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END Portlet PORTLET--\x3e\n'),t.put("app/channels/mail/inbox/view/view.agents.modal.html",'\n\n\n'),t.put("app/channels/mail/inbox/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\n\t
    \n\n\t
    \n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

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

    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n\n
    \n'),t.put("app/channels/mail/inbox/view/view.tags.modal.html",'\n\n\n'),t.put("app/channels/mail/inbox/view/view.templates.modal.html",'\n\n\n'),t.put("app/channels/mail/queue/list/list.create.modal.html",'\n\n\n'),t.put("app/channels/mail/queue/list/list.html",'
    \n\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_QUEUES\' | translate }} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\t
    {{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/mail/queue/view/view.agents.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_AGENTS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    Warning!

    \n\t\t\t\t

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

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- BEGIN FORM--\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END FORM--\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/mail/queue/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{queue.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t{{user.role}}\n\t\t\t\t
    --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t\t
    \n\t\t\t
    \n\t\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t\t
    \n\t
    \n\t\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/mail/queue/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\x3c!-- START STRATEGY --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{$select.selected | uppercase}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END STRATEGY --\x3e\n\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/mail/realtime/view/agent/agent.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t\n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/mail/realtime/view/agent/agent.modal.info.html",'\n\n\n'),t.put("app/channels/mail/realtime/view/agent/queue.modal.add.html",'\n\n\n'),t.put("app/channels/mail/realtime/view/application/application.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/mail/realtime/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/mail/realtime/view/view.queue.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/account/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACCOUNTS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/account/view/action/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_ACTIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/openchannel/account/view/action/view/view.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACTION\' | translate }} \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START AGENT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.fullname}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END AGENT --\x3e\n\n\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START SENDMAIL --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END SENDMAIL --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START SENDSms --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- END SENDSms --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{ intType.name | translate }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{ $select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ interval.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t{{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/account/view/action/wizard/wizard.html",'
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACTION\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START AGENT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.fullname}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END AGENT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START SENDMAIL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END SENDMAIL --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START SENDSms --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- END SENDSms --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ intType.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ interval.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t{{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/account/view/api/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_API\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START API --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END API --\x3e\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/openchannel/account/view/disposition/modal/add.modal.html",'\n\n\n'),t.put("app/channels/openchannel/account/view/disposition/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_DISPOSITIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/openchannel/account/view/hooks/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_HOOKS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START REPLY TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END REPLY TAB --\x3e\n\n\t\t\t\t\t\x3c!-- START ACCEPT TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START ACTIONS--\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ACTION --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ACCEPT TAB --\x3e\n\t\t\t\t\t\x3c!-- START REJECT TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END REJECT TAB --\x3e\n\t\t\t\t\t\x3c!-- START CLOSE TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END CLOSE TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/openchannel/account/view/setting/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START ID --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ID--\x3e\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\t\t\t\t\t\t\t\x3c!-- START LIST --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END LIST --\x3e\n\t\t\t\t\t\t\t\x3c!-- START FIDELITY --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- END FIDELITY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CUSTOM --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- START REPLY HOOK --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- START REPLY HOOK --\x3e\n\t\t\t\t\t\t\t\x3c!-- END CUSTOM --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START REMOTE IP --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END REMOTE IP --\x3e\n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/openchannel/account/view/view.html",'\x3c!-- BEGIN PAGE HEADER--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\x3c!-- END PAGE HEADER--\x3e\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{ account.name }}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{account.description}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n\x3c!-- END PAGE CONTENT--\x3e\n
    \n'),t.put("app/channels/openchannel/account/wizard/wizard.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PAGE HEADER--\x3e\n\t\t
    \n\t\t\t\n\t\t
    \n\t\t\x3c!-- END PAGE HEADER--\x3e\n\n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START REMOTE IP --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END REMOTE IP --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/inbox/message/info.modal.html",'\n\n\n'),t.put("app/channels/openchannel/inbox/message/message.html",'
    \n
    \n
    \n \x3c!-- From: {{Message.from}} \n
    \n To: {{Message.to}} \n
    --\x3e\n
    \n
    \n From: {{Message.from}} \n
    \n
    \n
    \n
    \n To: {{Message.to}} \n
    \n
    \n
    \n
    \n Name: {{Message.name}}\n
    \n
    \n
    \n
    \n Phone: {{Message.phone}}\n
    \n
    \n
    \n
    \n Email: {{Message.email}}\n
    \n
    \n
    \n
    \n {{\'APPLICATION_SENT_BY\' | translate}}: {{Message.User.fullname}}\n
    \n
    \n
    \n \n \n {{Message.status | uppercase}}\n \n \n {{Message.status | uppercase}}\n \n \n {{Message.status | uppercase}}\n \n \n {{Message.status | uppercase}}\n \n \n {{Message.status | uppercase}}\n \n \n {{Message.status | uppercase}}\n \n
    \n
    \n\n \n
    \n
    \n \n \x3c!-- --\x3e\n
    \n'),t.put("app/channels/openchannel/inbox/room/room.directive.html",'\x3c!-- BEGIN TODO CONTENT --\x3e\n\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t | \n\t\t\t\t#{{Room.id}} {{Room.status}}\n\t\t\t\t | \n\t\t\t\t Ref: #{{Room.ParentId}}\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START TAGS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$item}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{tag}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TAGS --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t{{\'MESSAGE_ROOM_CLOSED_DETAILS\' | translate}}.\n\t\t\t\t\t\t

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t {{\'APPLICATION_DISPOSITION\' | translate}}: {{Room.disposition}}\n\t\t\t\t\t\t

    \n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t {{\'APPLICATION_UPDATED_AT\' | translate}}: {{Room.updatedAt | date:\'medium\'}} ()\n\t\t\t\t\t\t

    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START HEAD --\x3e\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START FROM --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END FROM --\x3e\n\t\t\t\t\t\t\t\x3c!-- START TO --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TO --\x3e\n\t\t\t\t\t\t\t\x3c!-- START CANNED --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t No Results Found\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CANNED --\x3e\n\t\t\t\t\t\t\t\x3c!-- START message --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n'+"\t\t\t\t\t\t\t\t\t\t{{'APPLICATION_WARNING' | translate}}! {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- END message --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n\x3c!-- END TODO CONTENT --\x3e\n"),t.put("app/channels/openchannel/inbox/view/account/list/list.html",'\x3c!-- BEGIN Portlet PORTLET--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t\n\t
    \n\t
    \n\t\t\x3c!-- START TAGS --\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t{{$item}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{tag}}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END TAGS --\x3e\n\t
    \n\t
    \n\t\t\x3c!-- BEGIN UI-GRID SPINNER --\x3e\n\t\t\n\t\t\x3c!-- END UI-GRID SPINNER --\x3e\n\n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END Portlet PORTLET--\x3e\n'),t.put("app/channels/openchannel/inbox/view/view.agents.modal.html",'\n\n\n'),t.put("app/channels/openchannel/inbox/view/view.html",'\n\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\n\t
    \n\n\t
    \n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t

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

    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/inbox/view/view.status.modal.html",'\n\n\n'),t.put("app/channels/openchannel/inbox/view/view.tags.modal.html",'\n\n\n'),t.put("app/channels/openchannel/queue/list/list.create.modal.html",'\n\n\n'),t.put("app/channels/openchannel/queue/list/list.html",'
    \n\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_QUEUES\' | translate }} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\t
    {{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/queue/view/view.agents.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_AGENTS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    Warning!

    \n\t\t\t\t

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

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- BEGIN FORM--\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END FORM--\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/openchannel/queue/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{queue.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t{{user.role}}\n\t\t\t\t
    --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t\t
    \n\t\t\t
    \n\t\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t\t
    \n\t
    \n\t\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/queue/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\x3c!-- START HEADER SHAPE --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{$select.selected.toUpperCase()}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END HEADER SHAPE --\x3e\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/openchannel/realtime/view/agent/agent.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t\n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/realtime/view/agent/agent.modal.info.html",'\n\n\n'),t.put("app/channels/openchannel/realtime/view/agent/queue.modal.add.html",'\n\n\n'),t.put("app/channels/openchannel/realtime/view/application/application.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/realtime/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/realtime/view/view.queue.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/realtime/view/agent/agent.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t\n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/realtime/view/agent/agent.modal.logout.html",'\n\n\n'),t.put("app/channels/realtime/view/agent/queue.modal.add.html",'\n\n\n'),t.put("app/channels/realtime/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t\t \n\t\t
    \n\t\t
    \n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/account/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACCOUNTS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/account/view/action/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_ACTIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/sms/account/view/action/view/view.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACTION\' | translate }} \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START AGENT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.fullname}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END AGENT --\x3e\n\n\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START SENDMAIL --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END SENDMAIL --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START SENDSms --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- END SENDSms --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{ intType.name | translate }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{ $select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ interval.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t{{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/account/view/action/wizard/wizard.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACTION\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START AGENT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.fullname}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

    \n\t {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_AGENTS\' | translate}}\n\t

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END AGENT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START SENDMAIL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END SENDMAIL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START SENDSms --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- END SENDSms --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ intType.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ interval.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

    \n\t {{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/account/view/api/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_API\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- CALLBACK TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START CALLBACK URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tCopy the following url and insert it into your {{account.type}} account settings to receive SMS.\n\t\t\t\t\t\t\t\t\t\t\tDetail\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\x3c!-- END CALLACK URL --\x3e\n\t\t\t\t\t\t\t\x3c!-- START DELIVERY CALLBACK URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\tCopy the following url and insert it into your {{account.type}} account settings to receive delivery report.\n \t\t\t\t\t\t\t\t\t Detail\n\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DELIVERY CALLACK URL --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END CALLBACK TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/sms/account/view/disposition/modal/add.modal.html",'\n\n\n'),t.put("app/channels/sms/account/view/disposition/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_DISPOSITIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/sms/account/view/hooks/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_HOOKS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- ACCEPT TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START ACCEPT URL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ACCEPT URL--\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START ACTIONS--\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START PAUSE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ACTION --\x3e\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ACCEPT TAB --\x3e\n\t\t\t\t\t\x3c!-- START REJECT TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START REJECT URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- END REJECT URL --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END REJECT TAB --\x3e\n\t\t\t\t\t\x3c!-- START CLOSE TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END CLOSE TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/sms/account/view/setting/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START ID --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ID--\x3e\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\t\t\t\t\t\t\t\x3c!-- START LIST --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END LIST --\x3e\n\t\t\t\t\t\t\t\x3c!-- START FIDELITY --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- END FIDELITY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\x3c!-- START TWILIO --\x3e\n\t\t\t\t\t\t\t\x3c!-- START PHONE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PHONE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SID --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SID --\x3e\n\t\t\t\t\t\t\t\x3c!-- START TOKEN --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SID --\x3e\n\t\t\t\t\t\t\t\x3c!-- END TWILIO --\x3e\n\t\t\t\t\t\t\t\x3c!-- START SKEBBY --\x3e\n\t\t\t\t\t\t\t\x3c!-- START SKEBBY SMS TYPE --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected | uppercase}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SKEBBY SMS TYPE --\x3e\n\t\t\t\t\t\t\t\x3c!-- START PHONE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PHONE --\x3e\n\t\t\t\t\t\t\t\x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\t\t\t\t\t\t\t\x3c!-- END SKEBBY --\x3e\n\t\t\t\t\t\t\t\x3c!-- START REMOTE IP --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END REMOTE IP --\x3e\n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/sms/account/view/view.html",'\x3c!-- BEGIN PAGE HEADER--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\x3c!-- END PAGE HEADER--\x3e\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{ account.description || account.name }}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{account.email}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n\x3c!-- END PAGE CONTENT--\x3e\n
    \n'),t.put("app/channels/sms/account/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START ID --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ID--\x3e\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\t\t\t\t\t\t\t\x3c!-- START LIST --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END LIST --\x3e\n\n\n\t\t\t\t\t\t\t\x3c!-- START FIDELITY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END FIDELITY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PHONE FOR TWILLIO ACCOUNT --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\x3c!-- Format with a \'+\' and country code --\x3e\n\t\t\t\t\t\t\t\t\x3c!-- \n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n\t\t\t\t\t\t\t\t --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PHONE FOR TWILLIO ACCOUNT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SID --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SID --\x3e\n\t\t\t\t\t\t\t\x3c!-- START TOKEN --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SID --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SMS TYPE --\x3e\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected | uppercase}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TYPE --\x3e\n\t\t\t\t\t\t\t\x3c!-- START PHONE FOR SKEBBY ACCOUNT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PHONE --\x3e\n\t\t\t\t\t\t\t\x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\t\t\t\t\t\t\t\x3c!-- START REMOTE IP --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END REMOTE IP --\x3e\n\t\t\t\t\t\t\t\x3c!-- START CALLBACK URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!--
    --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tCopy the following url and insert it into your {{account.type}} account settings to receive sms.\n\t\t\t\t\t\t\t\t\t\t\tDetail\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CALLACK URL --\x3e\n\t\t\t\t\t\t\t\x3c!-- START DELIVERY CALLBACK URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t Copy the following url and insert it into your {{account.type}} account settings to receive delivery status.\n\t\t\t\t\t\t\t\t\t Detail\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DELIVERY CALLACK URL --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/sms/account/wizard/wizard.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PAGE HEADER--\x3e\n\t\t
    \n\t\t\t\n\t\t
    \n\t\t\x3c!-- END PAGE HEADER--\x3e\n\n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n \x3c!-- START APPLICATION TYPE --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t {{$select.selected | uppercase}}\n\t\t\t \n\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n \x3c!-- END TYPE --\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START PHONE FOR TWILLIO ACCOUNT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END PHONE FOR TWILLIO ACCOUNT --\x3e\n \x3c!-- START SID --\x3e\n
    \n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
    \n \x3c!-- END SID --\x3e\n \x3c!-- START TOKEN --\x3e\n
    \n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
    \n \x3c!-- END SID --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START SMS TYPE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected | uppercase}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TYPE --\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START PHONE FOR SKEBBY ACCOUNT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END PHONE --\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n \x3c!-- START PASSWORD --\x3e\n
    \n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
    \n \x3c!-- END PASSWORD --\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START REMOTE IP --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END REMOTE IP --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/inbox/room/room.directive.html",'\x3c!-- BEGIN TODO CONTENT --\x3e\n\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t | \n\t\t\t\t#{{SmsRoom.id}} {{SmsRoom.status}}\n\t\t\t\t | \n\t\t\t\t Ref: #{{SmsRoom.ParentId}}\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START TAGS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$item}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{tag}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TAGS --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t{{\'MESSAGE_SMS_ROOM_CLOSED_DETAILS\' | translate}}.\n\t\t\t\t\t\t

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t {{\'APPLICATION_DISPOSITION\' | translate}}: {{SmsRoom.disposition}}\n\t\t\t\t\t\t

    \n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t {{\'APPLICATION_UPDATED_AT\' | translate}}: {{SmsRoom.updatedAt | date:\'medium\'}} ()\n\t\t\t\t\t\t

    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START HEAD --\x3e\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START FROM --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END FROM --\x3e\n\t\t\t\t\t\t\t\x3c!-- START TO --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TO --\x3e\n\t\t\t\t\t\t\t\x3c!-- START CANNED --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t No Results Found\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CANNED --\x3e\n\t\t\t\t\t\t\t\x3c!-- START message --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t Max 160 chars\n\t\t\t\t\t\t\t\t\t\n'+"\t\t\t\t\t\t\t\t\t\t{{'APPLICATION_WARNING' | translate}}! {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- END message --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n\x3c!-- END TODO CONTENT --\x3e\n"),t.put("app/channels/sms/inbox/sms/info.modal.html",'\n\n\n'),t.put("app/channels/sms/inbox/sms/sms.html",'
    \n
    \n
    \n From: \n [{{smsMessage.from}}]\n
    \n To: \n [{{smsMessage.to}}]\n
    \n
    \n
    \n {{\'APPLICATION_SENT_BY\' | translate}}: {{smsMessage.User.fullname}}\n {{\'APPLICATION_SENT_BY\' | translate}}: Cally ²\n \n \n
    \n
    \n\n
    \n \n \n {{smsMessage.status | uppercase}}\n \n \n {{smsMessage.status | uppercase}}\n \n \n {{smsMessage.status | uppercase}}\n \n \n {{smsMessage.status | uppercase}}\n \n \n {{smsMessage.status | uppercase}}\n \n \n {{smsMessage.status | uppercase}}\n \n
    \n \x3c!-- Error Code:{{smsMessage.errorcode}}\n Error Code:{{smsMessage.errorcode}} --\x3e\n
    \n\n \n
    \n
    \n \n\n
    \n'),t.put("app/channels/sms/inbox/view/account/list/list.html",'\x3c!-- BEGIN Portlet PORTLET--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t\n\t
    \n\t
    \n\t\t\x3c!-- START TAGS --\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t{{$item}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{tag}}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END TAGS --\x3e\n\t
    \n\t
    \n\t\t\x3c!-- BEGIN UI-GRID SPINNER --\x3e\n\t\t\n\t\t\x3c!-- END UI-GRID SPINNER --\x3e\n\n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END Portlet PORTLET--\x3e\n'),t.put("app/channels/sms/inbox/view/view.agents.modal.html",'\n\n\n'),t.put("app/channels/sms/inbox/view/view.html",'\n\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\n\t
    \n\n\t
    \n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t

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

    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/inbox/view/view.status.modal.html",'\n\n\n'),t.put("app/channels/sms/inbox/view/view.tags.modal.html",'\n\n\n'),t.put("app/channels/sms/inbox/view/view.templates.modal.html",'\n\n\n'),t.put("app/channels/sms/queue/list/list.create.modal.html",'\n\n\n'),t.put("app/channels/sms/queue/list/list.html",'
    \n\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_QUEUES\' | translate }} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\t
    {{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/queue/view/view.agents.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_AGENTS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    Warning!

    \n\t\t\t\t

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

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- BEGIN FORM--\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END FORM--\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/sms/queue/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{queue.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t{{user.role}}\n\t\t\t\t
    --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t\t
    \n\t\t\t
    \n\t\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t\t
    \n\t
    \n\t\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/queue/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\x3c!-- START STRATEGY --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{$select.selected | uppercase}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END STRATEGY --\x3e\n\n\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/sms/realtime/view/agent/agent.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t\n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/realtime/view/agent/agent.modal.info.html",'\n\n\n'),t.put("app/channels/sms/realtime/view/agent/queue.modal.add.html",'\n\n\n'),t.put("app/channels/sms/realtime/view/application/application.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/realtime/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/realtime/view/view.queue.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/chanspy/list/list.create.modal.html",'\n\n\n'),t.put("app/channels/voice/chanspy/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_CHANSPY\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/chanspy/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{chanspy.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t{{user.role}}\n\t\t\t\t\t
    --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/chanspy/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_CHANSPY\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PREFIX --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PREFIX --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$item.value}}: {{$item.name | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START AUTH --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END AUTH --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START RECORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END RECORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START RECORDINGFORMAT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END RECORDINGFORMAT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ADVANCED TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/voice/context/list/create.modal.html",'\n\n\n'),t.put("app/channels/voice/context/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_CONTEXTS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/context/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{context.name}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t\t
    \n\t\t\t
    \n\t\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t\t
    \n\t
    \n\t\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/context/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_CONTEXT\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_CANT_EDIT_NAME\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ADVANCED TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/voice/disposition/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_DISPOSITIONS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/disposition/list/modal/add.modal.html",'\n\n\n'),t.put("app/channels/voice/moh/list/create.modal.html",'\n\n\n'),t.put("app/channels/voice/moh/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_MOHS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/moh/view/view.addFiles.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_MOH\' | translate }} {{ \'APPLICATION_ADD_FILES\' | translate }} \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t

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

    \n\t\t\t\t\t

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

    \n\t\t\t\t
    \n
    \n\n \x3c!-- START SOUNDS --\x3e\n
    \n \n \n {{$item.display_name}}\n \n {{sound.display_name}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
    \n \x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/moh/view/view.audios.html",'
    \n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_AUDIOS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t

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

    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t
    {{ \'APPLICATION_NAME\' | translate }}{{ \'APPLICATION_PREVIEW\' | translate }}{{ \'APPLICATION_ACTIONS\' | translate }}
    {{audiofile}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t \n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t{{ \'MESSAGE_NO_AUDIOFILES_AVAILABLE\' | translate }}\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n
    \n'),t.put("app/channels/voice/moh/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{moh.name}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET main.channels --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/moh/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_MOH_CLASS\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START MODE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MODE --\x3e\n\n\t \x3c!-- START PATH --\x3e\n\t
    \n\t \n\t \n\t
    \n\t \x3c!-- END PATH --\x3e\n\n\t \x3c!-- START SORT --\x3e\n\t
    \n\t \n\t \n\t {{$translate.instant($select.selected.name)}}\n\t \n\t {{$translate.instant(sort.name)}}\n\t \n\t \n\t \n\t {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t \n\t
    \n\t \x3c!-- END SORT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DIRECTORY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DIRECTORY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START APPLICATION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END APPLICATION --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START FORMAT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END FORMAT --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/voice/queue/list/list.create.modal.html",'\n\n\n'),t.put("app/channels/voice/queue/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_QUEUES\' | translate }}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/queue/view/view.agents.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_AGENTS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    Warning!

    {{ \'MESSAGE_NO_AVAILABLE_TEAMS\' | translate }}

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- BEGIN FORM--\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END FORM--\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/voice/queue/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{queue.name}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET main.channels --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/queue/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_QUEUE_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START STRATEGY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.toUpperCase()}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_STRATEGY\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t \x3c!-- END STRATEGY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MOH --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_VOICE_MOH\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MOH --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_TIMEOUT\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MAXLEN --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_MAXLEN\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MAXLEN --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START RETRY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_RETRY\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END RETRY --\x3e\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START WRAPUPTIME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_WRAPUPTIME\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END WRAPUPTIME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START WEIGHT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_WEIGHT\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END WEIGHT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START JOINEMPTY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$item}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_JOINEMPTY\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END JOINEMPTY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START LEAVEWHENEMPTY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$item}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_LEAVEWHENEMPTY\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END LEAVEWHENEMPTY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ANNOUNCE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_ANNOUNCE\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ANNOUNCE --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START PERIODIC_ANNOUNCE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$item.display_name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_PERIODIC_ANNOUNCE\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PERIODIC_ANNOUNCE --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    {{\'APPLICATION_SETTINGS\' | translate}}

    \n\t\t\t\t\t\t\t\x3c!-- START ANNOUNCE_FREQUENCY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_ANNOUNCE_FREQUENCY\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ANNOUNCE_FREQUENCY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MIN_ANNOUNCE_FREQUENCY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_MIN_ANNOUNCE_FREQUENCY\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MIN_ANNOUNCE_FREQUENCY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PERIODIC_ANNOUNCE_FREQUENCY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_PERIODIC_ANNOUNCE_FREQUENCY\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PERIODIC_ANNOUNCE_FREQUENCY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START RANDOM_PERIODIC_ANNOUNCE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected | capitalize}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_RANDOM_PERIODIC_ANNOUNCE\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END RANDOM_PERIODIC_ANNOUNCE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ANNOUNCE_HOLDTIME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected | capitalize}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_ANNOUNCE_HOLDTIME\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ANNOUNCE_HOLDTIME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ANNOUNCE_POSITION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected | capitalize}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_ANNOUNCE_POSITION\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ANNOUNCE_POSITION --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ANNOUNCE_POSITION_LIMIT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_ANNOUNCE_POSITION_LIMIT\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ANNOUNCE_POSITION_LIMIT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START REPORTHOLDTIME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected | capitalize}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_REPORTHOLDTIME\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END REPORTHOLDTIME --\x3e\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    {{\'APPLICATION_SOUNDS\' | translate}}

    \n\t\t\t\t\t\t\t\t\x3c!-- START QUEUE_REPORTHOLD --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_REPORTHOLD\' | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END QUEUE_REPORTHOLD --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START QUEUE_YOUARENEXT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_YOUARENEXT\' | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END QUEUE_YOUARENEXT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START QUEUE_THEREARE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_THEREARE\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END QUEUE_THEREARE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START QUEUE_CALLSWAITING --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_CALLSWAITING\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END QUEUE_CALLSWAITING --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START QUEUE_HOLDTIME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_HOLDTIME\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END QUEUE_HOLDTIME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START QUEUE_MINUTES --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_MINUTES\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END QUEUE_MINUTES --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START QUEUE_MINUTE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_MINUTE\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END QUEUE_MINUTE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START QUEUE_SECONDS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_SECONDS\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END QUEUE_SECONDS --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START QUEUE_THANKYOU --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_THANKYOU\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END QUEUE_THANKYOU --\x3e\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t\t\x3c!-- ADVANCED TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START AUTOPAUSE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_AUTOPAUSE\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END AUTOPAUSE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START RINGINUSE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected | capitalize}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_RINGINUSE\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END RINGINUSE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MEMBER_DELAY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_MEMBER_DELAY\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MEMBER_DELAY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ACW --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_ACW\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_ACW\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ACW --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SETINTERFACEVAR --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_SETINTERFACEVAR\' | translate }} wiki)\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_SETINTERFACEVAR\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SETINTERFACEVAR --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SETQUEUEVAR --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_SETQUEUEVAR\' | translate }} wiki)\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_SETQUEUEVAR\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SETQUEUEVAR --\x3e\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START TIMEOUTRESTART --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected | capitalize}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_TIMEOUTRESTART\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TIMEOUTRESTART --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MONITOR_FORMAT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_MONITOR_FORMAT\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MONITOR_FORMAT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CONTEXT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_VOICE_CONTEXT\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CONTEXT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ACW_TIMEOUT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_ACW_TIMEOUT\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ACW_TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SETQUEUEENTRYVAR --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_SETQUEUEENTRYVAR\' | translate }} wiki)\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_SETQUEUEENTRYVAR\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SETQUEUEENTRYVAR --\x3e\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ADVANCED TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/voice/realtime/view/abandoned/abandoned.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/realtime/view/agent/agent.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t\n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/realtime/view/agent/agent.modal.info.html",'\n\n\n'),t.put("app/channels/voice/realtime/view/agent/queue.modal.add.html",'\n\n\n'),t.put("app/channels/voice/realtime/view/outbound/outbound.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/realtime/view/parameter/parameter.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/realtime/view/queue/queue.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t\t\t\n\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n
    \n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/realtime/view/queuecalls/queuecalls.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/realtime/view/telephone/telephone.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/realtime/view/telephone/telephone.modal.info.html",'\n\n\n'),t.put("app/channels/voice/realtime/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t\t \n\t\t
    \n\t\t
    \n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/recording/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_RECORDINGS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/route/inbound/list/create.modal.html",'\n\n\n\x3c!--
    \n  {{item | json}}\n
    --\x3e\n'),t.put("app/channels/voice/route/inbound/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_INBOUND\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/route/inbound/view/view.applications.html",'
    \n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_ACTIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n
    \n'),t.put("app/channels/voice/route/inbound/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{route.exten}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t{{user.role}}\n\t\t\t\t\t
    --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n"),t.put("app/channels/voice/route/inbound/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_INBOUND\' | translate}} {{ \'APPLICATION_ROUTE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START EXTEN --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END EXTEN --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CONTEXT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CONTEXT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/voice/route/internal/list/create.modal.html",'\n\n\n\x3c!--
    \n  {{item | json}}\n
    --\x3e\n'),t.put("app/channels/voice/route/internal/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_INTERNAL\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/route/internal/view/view.applications.html",'
    \n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_ACTIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n
    \n'),t.put("app/channels/voice/route/internal/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{route.exten}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t{{user.role}}\n\t\t\t\t\t
    --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!--
    \n\t\t\t{{route | json}}\n\t\t
    --\x3e\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n"),t.put("app/channels/voice/route/internal/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_INTERNAL\' | translate}} {{ \'APPLICATION_ROUTE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START EXTEN --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END EXTEN --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CONTEXT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CONTEXT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/voice/route/outbound/list/create.modal.html",'\n\n\n\x3c!--
    \n  {{item | json}}\n
    --\x3e\n'),t.put("app/channels/voice/route/outbound/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_OUTBOUND\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/route/outbound/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{route.exten}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t{{user.role}}\n\t\t\t\t\t
    --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!--
    \n\t\t\t{{route | json}}\n\t\t
    --\x3e\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n"),t.put("app/channels/voice/route/outbound/view/view.route.html",'
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_NEW_ROUTE\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t{{(main.app.name | translate) || \'Application\'}}\n\t\t\t\t
    \n\t\t\t\t\n\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END APP --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START TRUNK --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TRUNK --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START CALLERID --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\' placeholder=\'"name" \' class="form-control" data-ng-model="application.appdata[1]" data-ng-init="application.appdata[1] = null">\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_OUTBOUND_CALLERID\' | translate }}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END CALLERID --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START PREFIX --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_OUTBOUND_PREFIX\' | translate }}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END PREFIX --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- START CUSTOMAPP --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END CUSTOMAPP --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START APPDATA --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END APPDATA --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$translate.instant(intType.name)}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{month.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{month.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{interval.name | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/route/outbound/view/view.routeSettings.html",'
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_APPLICATION_SETTINGS\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t{{(main.app.name | translate) || \'Application\'}}\n\t\t\t\t\t
    \n\t \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START TRUNK --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TRUNK --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CALLERID --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\' placeholder=\'"name" \' class="form-control" data-ng-model="route.Applications[selectedApp].appdata[1]">\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_OUTBOUND_CALLERID\' | translate }} "name" <number>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CALLERID --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PREFIX --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_OUTBOUND_PREFIX\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END PREFIX --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START CUSTOMAPP --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CUSTOMAPP --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START APPDATA --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END APPDATA --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{intType.name | translate}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{month.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{month.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{interval.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

    \n\t {{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/route/outbound/view/view.routes.html",'
    \n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_ACTIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n
    \n'),t.put("app/channels/voice/route/outbound/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_OUTBOUND\' | translate}} {{ \'APPLICATION_ROUTE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START EXTEN --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END EXTEN --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CUTDIGITS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CUTDIGITS --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TAG --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TAG --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CONTEXT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CONTEXT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START RECORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END RECORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START RECORDINGFORMAT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END RECORDINGFORMAT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/voice/route/view.application.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_NEW_APPLICATION\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t{{(main.app.name | translate) || \'Application\'}}\n\t\t\t\t\t
    \n\t \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t {{$select.selected.name | translate}}\n\t\t\t\t\t \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START APPLICATION_ANNOUNCE_OVERRIDE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END APPLICATION_ANNOUNCE_OVERRIDE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START AGI --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END AGI --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START MACRO --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END MACRO --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START GOSUB --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END GOSUB --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START RULE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END RULE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START POSITION --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END POSITION --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START ANSWER --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END ANSWER --\x3e\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START AUDIOFILE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END AUDIOFILE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START ANSWER --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END ANSWER --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START INTERFACE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END INTERFACE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START INTERNAL DIAL --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END INTERNAL DIAL --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_WARNING\' | translate }}! {{ \'MESSAGE_REQUIRED_FIELD\' | translate }}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_WARNING\' | translate }}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START TRUNK --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_WARNING\' | translate }}! {{ \'MESSAGE_REQUIRED_FIELD\' | translate }}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END TRUNK --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START PHONE --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END PHONE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START ITEMS --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END ITEMS --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START PROJECT --\x3e\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END PROJECT --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START CONTEXT --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END CONTEXT --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START EXTENSION --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END EXTENSION --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START PRIORITY --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END PRIORITY --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START HANGUPCAUSE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END HANGUPCAUSE --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START VARIABLE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END VARIABLE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START VARVALUE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END VARVALUE --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START CUSTOMAPP --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END CUSTOMAPP --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START APPDATA --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END APPDATA --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START VOICEMAIL --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.mailbox}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END VOICEMAIL --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START DOMAIN --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END DOMAIN --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START THEME --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END THEME --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{month.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{month.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{interval.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

    \n\t {{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/route/view.applicationSettings.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_APPLICATION_SETTINGS\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t{{(main.app.name | translate) || \'Application\'}}\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t{{application | json}}\n\t\t\t\t\t\t\t
    --\x3e\n\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START APPLICATION_ANNOUNCE_OVERRIDE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END APPLICATION_ANNOUNCE_OVERRIDE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START AGI --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END AGI --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MACRO --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MACRO --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START GOSUB --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END GOSUB --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START RULE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END RULE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START POSITION --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END POSITION --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START ANSWER --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ANSWER --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START AUDIOFILE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END AUDIOFILE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START ANSWER --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ANSWER --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START INTERFACE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END INTERFACE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START INTERNAL DIAL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END INTERNAL DIAL --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- START TRUNK --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TRUNK --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START PHONE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END PHONE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START ITEMS --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ITEMS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START PROJECT --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END PROJECT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\n\t\t\t
    --\x3e\n\t\t\t\x3c!-- END URL --\x3e\n\n\t\t
    \n\t\t
    \n\t\t\t\x3c!-- START CONTEXT --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END CONTEXT --\x3e\n\n\t\t\t\x3c!-- START EXTENSION --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END EXTENSION --\x3e\n\n\t\t\t\x3c!-- START PRIORITY --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END PRIORITY --\x3e\n\t\t
    \n\t\t
    \n\t\t\t\x3c!-- START HANGUPCAUSE --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\n\t\t\t\t\t\t{{hangupCause.name | translate}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END HANGUPCAUSE --\x3e\n\t\t
    \n\t\t
    \n\t\t\t\x3c!-- START VARIABLE --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END VARIABLE --\x3e\n\n\t\t\t\x3c!-- START VARVALUE --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END VARVALUE --\x3e\n\t\t
    \n\t\t
    \n\n\t\t\t\x3c!-- START CUSTOMAPP --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END CUSTOMAPP --\x3e\n\n\t\t\t\x3c!-- START APPDATA --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END APPDATA --\x3e\n\t\t
    \n\t\t
    \n\t\t\t\x3c!-- START VOICEMAIL --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{$select.selected.mailbox}}\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t

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

    \n\t\t\t\t\t

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

    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END VOICEMAIL --\x3e\n\n\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t
    \n\n\t\t
    \n\t\t\t\x3c!-- START DOMAIN --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END DOMAIN --\x3e\n\n\t\t\t\x3c!-- START THEME --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END THEME --\x3e\n\t\t
    \n\t\t\n\t
    \n
    \n\n\t
    \n\t\t\n\t\t\n\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t
    \n\t\t\t\n\t\t\t\n\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\n\t\t\t\t\t{{intType.name | translate}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\n\t\t
    \n\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\t\t
    \n\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    to
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\x3c!-- --\x3e\n\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{weekDay.name | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tto\n\t\t\t\t\t\n\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{weekDay.name | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t{{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tto\n\t\t\t\t\t\n\t\t\t\t\t\t{{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{month.name | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tto\n\t\t\t\t\t\n\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{month.name | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\x3c!-- END MONTH --\x3e\n\t\t
    \n\n\t\t
    \n\n\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\n\t\t\t\t\t\t{{interval.name | translate}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t

    \n\t\t\t\t\t\t{{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t\t\t\t\t

    \n\t\t\t\t\t

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

    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t
    \n\t\t\n\t\t\n\t
    \n
    \n\n\n\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\n\t\n
    \n
    \n
    \n
    \n\x3c!-- END Portlet PORTLET--\x3e\n
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/voicemail/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_VOICEMAILS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/voicemail/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{voicemail.mailbox}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET main.channels --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/voicemail/view/view.messages.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_MESSAGES\' | translate}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/voice/voicemail/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_VOICEMAIL\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START FULLNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END FULLNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START EMAIL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END EMAIL --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CONFIRM PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CONFIRM PASSWORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MAILBOX --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MAILBOX --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CONTEXT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CONTEXT --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t\t\x3c!-- ADVANCED TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START TIMEZONE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TIMEZONE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ATTACH --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ATTACH --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ENVELOPE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ENVELOPE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DELETE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DELETE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START EMAIL_BODY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END EMAIL_BODY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START EMAIL_SUBJECT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END EMAIL_SUBJECT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MAX_SECONDS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MAX_SECONDS --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MAX_MESSAGES --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MAX_MESSAGES --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ADVANCED TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/voice/voicemail/wizard/wizard.html",'
    \n \x3c!-- BEGIN PAGE HEADER--\x3e\n\t
    \n\t\t\n\t
    \n \x3c!-- END PAGE HEADER--\x3e\n\n \x3c!-- BEGIN PORTLET--\x3e\n
    \n \t
    \n \t\t
    \n \t\t\t\n \t\t\t{{ \'APPLICATION_VOICEMAIL\' | translate }} WIZARD \n \t\t
    \n \t
    \n \t
    \n \t\t\n\t\t\t\t\n\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- START FULLNAME --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END FULLNAME --\x3e\n\n\t\t\t\t\t\t\x3c!-- START EMAIL --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END EMAIL --\x3e\n\n\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n\t\t\t\t\t\t\x3c!-- START CONFIRM PASSWORD --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END CONFIRM PASSWORD --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MAILBOX --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MAILBOX --\x3e\n\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t\n\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n \t\t
    \n \t
    \n
    \n \x3c!-- END PORTLET--\x3e\n
    \n'),t.put("app/contactmanager/company/list/create.modal.html",'\n\n\n'),t.put("app/contactmanager/company/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_COMPANIES\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/contactmanager/company/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{company.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t{{user.role}}\n\t\t\t\t\t
    --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/contactmanager/company/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_COMPANY\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START VAT --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END VAT --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START COMPANYID --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END COMPANYID --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START WEBSITE --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END WEBSITE --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START EMAIL --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END EMAIL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- START PHONE --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END PHONE --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START FAX --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END FAX --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START TYPE --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END TYPE --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START DOMAIN --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END DOMAIN --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ADVANCED TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START STREET --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END STREET --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START POSTALCODE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END POSTALCODE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CITY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CITY --\x3e\n\t\t\t\t\t\t\t\x3c!-- START COUNTRY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END COUNTRY --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START STREET --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END STREET --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START POSTALCODE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END POSTALCODE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CITY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CITY --\x3e\n\t\t\t\t\t\t\t\x3c!-- START COUNTRY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END COUNTRY --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/contactmanager/contact/list/copy.modal.html",'\n\n\n'),t.put("app/contactmanager/contact/list/import.modal.html",'\n\n\n'),t.put("app/contactmanager/contact/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_CONTACTS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t {{\'APPLICATION_IMPORT_FROM_CSV\' | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/contactmanager/customfield/list/create.modal.html",'\n\n\n'),t.put("app/contactmanager/customfield/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_CUSTOM_FIELDS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/contactmanager/customfield/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{customField.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t{{user.role}}\n\t\t\t\t\t
    --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/contactmanager/customfield/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_CUSTOM_FIELD\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START REQUIRED --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END REQUIRED --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/contactmanager/list/list/create.modal.html",'\n\n\n'),t.put("app/contactmanager/list/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_LISTS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/contactmanager/list/view/create.modal.html",'\n\n\n'),t.put("app/contactmanager/list/view/view.agents.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_AGENTS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    Warning!

    \n\t\t\t\t

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

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- BEGIN FORM--\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END FORM--\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/contactmanager/list/view/view.customFieldSettings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_CUSTOM_FIELD\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START REQUIRED --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END REQUIRED --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/contactmanager/list/view/view.customFields.html",'
    \n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_CUSTOM_FIELDS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n
    \n \n
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n
    \n'),t.put("app/contactmanager/list/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{list.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t{{user.role}}\n\t\t\t\t\t
    --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/contactmanager/list/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_LIST\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START VARIABLES --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$item.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{variable.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'MESSAGE_MAX_VARIABLES\' | translate}}\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END VARIABLES --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ADVANCED TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/dashboard/chat/chat.html",'
    \n
    \n
    \n
    \n \x3c!-- START TABLE --\x3e\n
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    \n \x3c!-- END TABLE --\x3e\n
    \n
    \n
    \n
    \n
    \n \n  {{ \'APPLICATION_TODAY_STATS\' | translate }}\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.new || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_WAITING_NEW_CI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_WAITING_NEW_CI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.open || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_OPEN_CI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_OPEN_CI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.unmanaged || 0}}\n
    \n
    \n {{\'APPLICATION_UNMANAGED_CI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_UNMANAGED_CI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.closed || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_CLOSED_CI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_CLOSED_CI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.abandon || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_ABANDONED_CI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_ABANDONED_CI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.new+roomStatus.open+roomStatus.unmanaged+roomStatus.closed+roomStatus.abandon || 0}}\n
    \n
    \n {{\'APPLICATION_TOTAL_CI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TOTAL_CI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n  {{ \'APPLICATION_INTERACTION_STATS\' | translate }}\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{routingStats.timeout || 0}}\n
    \n
    \n {{\'APPLICATION_TIMEOUT_CA\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TIMEOUT_CA_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{routingStats.waiting || 0}}\n
    \n
    \n {{\'APPLICATION_WAITING_CA\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_WAITING_CA_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n'),t.put("app/dashboard/dashboard.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\t\t
    \n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/dashboard/fax/fax.html",'
    \n
    \n
    \n
    \n \x3c!-- START TABLE --\x3e\n
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    \n \x3c!-- END TABLE --\x3e\n
    \n
    \n
    \n
    \n
    \n \n  {{ \'APPLICATION_INTERACTION_STATS\' | translate }}\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.new || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_NEW_FI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_NEW_FI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.open || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_OPEN_FI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_OPEN_FI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.pending || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_PENDING_FI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_PENDING_FI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.closed || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_CLOSED_FI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_CLOSED_FI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.new+roomStatus.open+roomStatus.pending+roomStatus.closed || 0}}\n
    \n
    \n {{\'APPLICATION_TOTAL_FI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TOTAL_FI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \x3c!--
    \n
    --\x3e\n \n \n \x3c!--
    \n
    --\x3e\n
    \n
    \n \n  {{ \'APPLICATION_TODAY_STATS\' | translate }}\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{routingStats.timeout || 0}}\n
    \n
    \n {{\'APPLICATION_TIMEOUT_FA\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TIMEOUT_FA_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{routingStats.waiting || 0}}\n
    \n
    \n {{\'APPLICATION_WAITING_FA\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_WAITING_FA_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n'),t.put("app/dashboard/mail/mail.html",'
    \n
    \n
    \n
    \n \x3c!-- START TABLE --\x3e\n
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    \n \x3c!-- END TABLE --\x3e\n
    \n
    \n\n \x3c!--
    \n
    --\x3e\n \x3c!-- START TABLE --\x3e\n \x3c!--
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    --\x3e\n \x3c!-- END TABLE --\x3e\n \x3c!--
    \n
    --\x3e\n
    \n
    \n
    \n \n  {{ \'APPLICATION_INTERACTION_STATS\' | translate }}\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.new || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_NEW_EI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_NEW_EI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.open || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_OPEN_EI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_OPEN_EI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.pending || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_PENDING_EI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_PENDING_EI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.closed || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_CLOSED_EI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_CLOSED_EI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.new+roomStatus.open+roomStatus.pending+roomStatus.closed || 0}}\n
    \n
    \n {{\'APPLICATION_TOTAL_EI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TOTAL_EI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \x3c!--
    \n
    --\x3e\n \n \n \x3c!--
    \n
    --\x3e\n
    \n
    \n \n  {{ \'APPLICATION_TODAY_STATS\' | translate }}\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{routingStats.timeout || 0}}\n
    \n
    \n {{\'APPLICATION_TIMEOUT_EA\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TIMEOUT_EA_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{routingStats.waiting || 0}}\n
    \n
    \n {{\'APPLICATION_WAITING_EA\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_WAITING_EA_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n'),t.put("app/dashboard/openchannel/openchannel.html",'
    \n
    \n
    \n
    \n \x3c!-- START TABLE --\x3e\n
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    \n \x3c!-- END TABLE --\x3e\n
    \n
    \n\n \x3c!--
    \n
    --\x3e\n \x3c!-- START TABLE --\x3e\n \x3c!--
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    --\x3e\n \x3c!-- END TABLE --\x3e\n \x3c!--
    \n
    --\x3e\n
    \n
    \n
    \n \n  {{ \'APPLICATION_INTERACTION_STATS\' | translate }}\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.new || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_NEW_OI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_NEW_OI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.open || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_OPEN_OI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_OPEN_OI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.pending || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_PENDING_OI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_PENDING_OI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.closed || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_CLOSED_OI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_CLOSED_OI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.new+roomStatus.open+roomStatus.pending+roomStatus.closed || 0}}\n
    \n
    \n {{\'APPLICATION_TOTAL_OI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TOTAL_OI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \x3c!--
    \n
    --\x3e\n \n \n \x3c!--
    \n
    --\x3e\n
    \n
    \n \n  {{ \'APPLICATION_TODAY_STATS\' | translate }}\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{routingStats.timeout || 0}}\n
    \n
    \n {{\'APPLICATION_TIMEOUT_OA\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TIMEOUT_OA_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{routingStats.waiting || 0}}\n
    \n
    \n {{\'APPLICATION_WAITING_OA\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_WAITING_OA_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n'),t.put("app/dashboard/sms/sms.html",'
    \n
    \n
    \n
    \n \x3c!-- START TABLE --\x3e\n
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    \n \x3c!-- END TABLE --\x3e\n
    \n
    \n\n \x3c!--
    \n
    --\x3e\n \x3c!-- START TABLE --\x3e\n \x3c!--
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    --\x3e\n \x3c!-- END TABLE --\x3e\n \x3c!--
    \n
    --\x3e\n
    \n
    \n
    \n \n  {{ \'APPLICATION_INTERACTION_STATS\' | translate }}\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.new || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_NEW_SI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_NEW_SI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.open || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_OPEN_SI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_OPEN_SI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.pending || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_PENDING_SI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_PENDING_SI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.closed || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_CLOSED_SI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_CLOSED_SI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.new+roomStatus.open+roomStatus.pending+roomStatus.closed || 0}}\n
    \n
    \n {{\'APPLICATION_TOTAL_SI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TOTAL_SI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \x3c!--
    \n
    --\x3e\n \n \n \x3c!--
    \n
    --\x3e\n
    \n
    \n \n  {{ \'APPLICATION_TODAY_STATS\' | translate }}\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{routingStats.timeout || 0}}\n
    \n
    \n {{\'APPLICATION_TIMEOUT_SA\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TIMEOUT_SA_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{routingStats.waiting || 0}}\n
    \n
    \n {{\'APPLICATION_WAITING_SA\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_WAITING_SA_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n'),t.put("app/dashboard/voice/voice.html",'
    \n
    \n
    \n
    \n \x3c!-- START TABLE --\x3e\n
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    \n \x3c!-- END TABLE --\x3e\n
    \n
    \n\n
    \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n \x3c!-- START TABLE --\x3e\n
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    \n \x3c!-- END TABLE --\x3e\n
    \n
    \n \x3c!-- START TABLE --\x3e\n
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    \n \x3c!-- END TABLE --\x3e\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n {{ \'APPLICATION_INBOUND\' | translate }}{{ \'APPLICATION_TODAY_STATS\' | translate }}\n \n\n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ voice.queues.waiting || 0 }}\n
    \n
    \n {{\'APPLICATION_WAITING_QC\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_WAITING_QC_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ voice.queues.complete || 0 }}\n
    \n
    \n {{\'APPLICATION_ANSWERED_QC\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_ANSWERED_QC_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ voice.queues.abandon || 0 }}\n
    \n
    \n {{\'APPLICATION_ABANDONED_QC\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_ABANDONED_QC_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ voice.queues.complete ? (voice.queues.holdtime / voice.queues.complete) : 0 | secToTime | date:\'HH:mm:ss\' }}\n
    \n
    \n {{\'APPLICATION_AVG_ANSWER_TIME_QC\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_AVG_ANSWER_TIME_QC_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ voice.queues.complete ? (voice.queues.talktime / voice.queues.complete) : 0 | secToTime | date:\'HH:mm:ss\' }}\n
    \n
    \n {{\'APPLICATION_AVG_TALK_TIME_QC\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_AVG_TALK_TIME_QC_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ (voice.queues.complete / (voice.queues.complete + voice.queues.abandon) * 100) || 0 | number:2}}\n
    \n
    \n {{\'APPLICATION_ANSWER_RATE_QC\' | translate}} (%)\n
    \n
    \n \n {{\'APPLICATION_ANSWER_RATE_QC_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ (voice.queues.abandon / (voice.queues.complete + voice.queues.abandon) * 100) || 0 | number:2}}\n
    \n
    \n {{\'APPLICATION_ABANDON_RATE_QC\' | translate}} (%)\n
    \n
    \n \n {{\'APPLICATION_ABANDON_RATE_QC_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ voice.queues.complete + voice.queues.abandon || 0}}\n
    \n
    \n {{\'APPLICATION_TOTAL_OFFERED_QC\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TOTAL_OFFERED_QC_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ voice.queues.unmanaged || 0 }}\n
    \n
    \n {{\'APPLICATION_UNMANAGED_QC\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_UNMANAGED_QC_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n\n
    \n \n {{ \'APPLICATION_OUTBOUND\' | translate }}{{ \'APPLICATION_TODAY_STATS\' | translate }}\n \n\n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ voice.outbound.total || 0 }}\n
    \n
    \n {{\'APPLICATION_MANUAL_OUTBOUND_OB\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_MANUAL_OUTBOUND_OB_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ voice.outbound.answered || 0 }}\n
    \n
    \n {{\'APPLICATION_ANSWERED_OB\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_ANSWERED_OB_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ (voice.outbound.avgDuration || 0) | secToTime | date:\'HH:mm:ss\' }}\n
    \n
    \n {{\'APPLICATION_AVG_DURATION_OB\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_AVG_DURATION_OB_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ (voice.outbound.answerRate || 0) | number:2 }}\n
    \n
    \n {{\'APPLICATION_ANSWER_RATE_OB\' | translate}} (%)\n
    \n
    \n \n {{\'APPLICATION_ANSWER_RATE_OB_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{(voice.outbound.tigerdial || 0)}}\n
    \n
    \n {{\'APPLICATION_MOTION_DIALER_CALLS_OB\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_MOTION_DIALER_CALLS_OB_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n\n
    \n
    \n
    \n'),t.put("app/desk/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_DESK_COM\' | translate }} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    {{ \'APPLICATION_NAME\' | translate }}{{ \'APPLICATION_EMAIL\' | translate }}{{ \'APPLICATION_REMOTE_ADDRESS\' | translate }}{{ \'APPLICATION_DESCRIPTION\' | translate }}{{ \'APPLICATION_ACTIONS\' | translate }}
    {{account.name}}{{account.username}}{{account.remoteUri}}{{account.description}}\n\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_EDIT\' | translate }}\n\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_CHECK\' | translate }}\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t \n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tNo account available\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/desk/view/view.account.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_ACCOUNT\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n \x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n \x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n \x3c!-- START REMOTE ADDRESS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START AUTH TYPE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected | capitalize}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START AUTH TYPE --\x3e\n\n \x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CONSUMER KEY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CONSUMER KEY --\x3e\n\n \x3c!-- START CONSUMER SECRET --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CONSUMER SECRET --\x3e\n\n \x3c!-- START TOKEN --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TOKEN --\x3e\n\n \x3c!-- START TOKEN SECRET--\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TOKEN SECRET--\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/desk/view/view.configuration.html",'
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_CONFIGURATION\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/desk/view/view.configurationSettings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_CONFIGURATION\' | translate}}: {{configurationName}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- SUBJECT TAB --\x3e\n\t\t\t\t\t
    \n
    \n
    \n All following fields will be join by blank space:\n
    \n
    \n \n
    \n
    \n
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t
    \n\t
    \n\t \n\t {{$select.selected | capitalize}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t {{$select.selected.name}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END SUBJECT TAB --\x3e\n \x3c!-- DESCRIPTION TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n
    \n All following fields will be join by new line:\n
    \n
    \n \n
    \n
    \n
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t\t{{descriptionItem|json}}\n\t\t\t\t\t\t\t\t
    --\x3e\n\t
    \n\t \n\t {{$select.selected | ucfirst}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t
    \n\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t {{$select.selected | capitalize}}\n\t \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t
    \n\t
    \n\t \n\t {{$select.selected.name}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END DESCRIPTION TAB --\x3e\n \x3c!-- FIELDS TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n
    \n Add how to fill the fields present in your account:\n
    \n
    \n \n
    \n
    \n
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t
    \n\t
    \n\t \n\t {{$select.selected.label}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t {{$select.selected}}\n\t\t \n\t\t
    \n\t\t
    \n\t\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t {{$select.selected | ucfirst}}\n\t\t \n\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t
    \n\t
    \n\t\t\t\t\t\t\t\t
    \n\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t {{$select.selected.name}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END FIELDS TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/desk/view/view.configurations.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t{{\'APPLICATION_CONFIGURATIONS\' | translate}}\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t
    {{\'APPLICATION_NAME\' | translate}}{{\'APPLICATION_DESCRIPTION\' | translate}}{{ \'APPLICATION_ACTIONS\' | translate }}
    {{configuration.name}}{{configuration.description}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\tNo configuration available\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/desk/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{account.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{account.remoteUri}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/desk/wizard/wizard.html",'\x3c!-- BEGIN PAGE HEADER--\x3e\n
    \n\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n
    \n\x3c!-- END PAGE HEADER--\x3e\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n \x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\n \x3c!-- START REMOTE ADDRESS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_EXIST_DOMAIN\' | translate}}.\n\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START AUTH TYPE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected | capitalize}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START AUTH TYPE --\x3e\n\n \x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n \x3c!-- START CONSUMER KEY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CONSUMER KEY --\x3e\n\n \x3c!-- START CONSUMER SECRET --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CONSUMER SECRET --\x3e\n\n \x3c!-- START TOKEN --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TOKEN --\x3e\n\n \x3c!-- START TOKEN SECRET--\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TOKEN SECRET--\x3e\n\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\n\t\t\t\t
    \n\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/freshdesk/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_FRESHDESK\' | translate }} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/freshdesk/view/configuration/list/create.modal.html",'\n\n\n'),t.put("app/freshdesk/view/configuration/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t{{\'APPLICATION_CONFIGURATIONS\' | translate}}\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/freshdesk/view/configuration/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_CONFIGURATION\' | translate}}: {{configurationName}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- SUBJECT TAB --\x3e\n\t\t\t\t\t
    \n
    \n
    \n All following fields will be join by blank space:\n
    \n
    \n \n
    \n
    \n
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t
    \n\t
    \n\t \n\t {{$select.selected.title}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t
    \n\t
    \n\t\t\t\t\t\t\t\t
    \n\t
    \n\t \n\t {{$select.selected.title}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t {{$select.selected.name}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END SUBJECT TAB --\x3e\n \x3c!-- DESCRIPTION TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n
    \n All following fields will be join by new line:\n
    \n
    \n \n
    \n
    \n
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t\t\t\t\t\t\t
    \n\t
    \n\t \n\t {{$select.selected.title}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t
    \n\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t {{$select.selected.title}}\n\t \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t
    \n\t \n\t {{$select.selected.title}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t {{$select.selected.name}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END DESCRIPTION TAB --\x3e\n \x3c!-- FIELDS TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n
    \n Add how to fill the fields present in your account:\n
    \n
    \n \n
    \n
    \n
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t
    \n\t
    \n\t \n\t {{$select.selected.label}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t {{$select.selected}}\n\t\t \n\t\t
    \n\t\t
    \n\t\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t {{$select.selected.title}}\n\t\t \n\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t
    \n\t
    \n\t\t\t\t\t\t\t\t
    \n\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t {{$select.selected.title}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\t\t
    \n\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t {{$select.selected.name}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END FIELDS TAB --\x3e\n\t\t\t\t\t\x3c!-- TAG TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n
    \n Select tags that you want add in the ticket:\n
    \n
    \n
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- TAG --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$item.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{tag.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TAG --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END TAG TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/freshdesk/view/view.account.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_ACCOUNT\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n \x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n \x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n \x3c!-- START REMOTE ADDRESS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START API KEY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END API KEY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SERVER URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_SERVER_URL\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SERVER URL --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/freshdesk/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{account.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{account.remoteUri}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/freshdesk/wizard/wizard.html",'\x3c!-- BEGIN PAGE HEADER--\x3e\n
    \n\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n
    \n\x3c!-- END PAGE HEADER--\x3e\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n \x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\n \x3c!-- START REMOTE ADDRESS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n \n\t\t\t\t {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_EXIST_DOMAIN\' | translate}}.\n\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n \x3c!-- START API KEY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END API KEY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SERVER URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_SERVER_URL\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SERVER URL --\x3e\n\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\n\t\t\t\t
    \n\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/iframe/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{iframe.title}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{ \'APPLICATION_IFRAME\' | translate }}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_IFRAME\' | translate}}\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START REMOTE ADDRESS --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n\x3c!--
    \n
    \n
    \n \n
    \n
    \n \n
    \n\n \n \n\n
    \n
    \n
    \n
    \n \n
    \n\n
    \n
    \n \n
    --\x3e\n'),t.put("app/channels/chat/room/view.tags.modal.html",'\n\n\n'),t.put("app/channels/chat/visitor/list/list.html",'
    \n\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_VISITORS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/visitor/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{chatVisitor.fullname}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/visitor/view/view.profile.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_PROFILE\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    {{chatVisitor.email}}

    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/chat/website/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_WEB_SITES\' | translate }} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/website/view/action/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_ACTIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/chat/website/view/action/view/view.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACTION\' | translate }} \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START AGENT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.fullname}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END AGENT --\x3e\n\n\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START SENDMAIL --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END SENDMAIL --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START SENDSms --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- END SENDSms --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{ intType.name | translate }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{ $select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ interval.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t{{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/website/view/action/wizard/wizard.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACTION\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START AGENT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.fullname}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END AGENT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START SENDMAIL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END SENDMAIL --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START SENDSms --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- END SENDSms --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ intType.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ interval.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

    \n\t {{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/website/view/disposition/modal/add.modal.html",'\n\n\n'),t.put("app/channels/chat/website/view/disposition/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_DISPOSITIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/chat/website/view/embedding/view/view.html",'
    \n
    \n
    \n
    \n
    \n \n {{\'APPLICATION_EMBEDDING\' | translate}}\n
    \n \n
    \n
    \n
    \n
    \n

    {{\'APPLICATION_EMBED_SNIPPET\' | translate}}

    \n

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

    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n'),t.put("app/channels/chat/website/view/form/view/view.html",'
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n {{ \'APPLICATION_FIELDS_SELECTED\' | translate }}\n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n {{ \'APPLICATION_FIELDS_AVAILABLE\' | translate }}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n {{ \'APPLICATION_FIELDS_SELECTED\' | translate }}\n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n {{ \'APPLICATION_FIELDS_AVAILABLE\' | translate }}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n'),t.put("app/channels/chat/website/view/hooks/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_HOOKS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- ACCEPT TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START ACCEPT URL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ACCEPT URL--\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START ACTIONS--\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START PAUSE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t \t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ACTION --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ACCEPT TAB --\x3e\n\t\t\t\t\t\x3c!-- START REJECT TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START REJECT URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- END REJECT URL --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END REJECT TAB --\x3e\n\t\t\t\t\t\x3c!-- START CLOSE TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END CLOSE TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/chat/website/view/proactive/list/list.create.modal.html",'\n\n\n'),t.put("app/channels/chat/website/view/proactive/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_PROACTIVE_ACTIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/chat/website/view/setting/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START LIST --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END LIST --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/chat/website/view/snippet/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SNIPPET\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- APPEARANCE TAB --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START MAIN COLOR --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END MAIN COLOR --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START FOCUS COLOR --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END FOCUS COLOR --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START BUTTON COLOR --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END BUTTON COLOR --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START HEADER SHAPE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$translate.instant(\'APPLICATION_\' + $select.selected.toUpperCase())}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END HEADER SHAPE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START ANIMATION TOGGLE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END ANIMATION TOGGLE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WHITE_LABEL\' | translate}}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END DEFAULT --\x3e\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START LABEL --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END LABEL --\x3e\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_LOGO\' | translate}}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END STATUS --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {{ \'APPLICATION_SELECT_IMAGE\' | translate }} \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    {{ \'MESSAGE_SUPPORTED_FORMATS\' | translate }} jpg, png, jpeg.\n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ item.file.name }}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ item.file.size/1024/1024|number:2 }} MB\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END APPEARANCE TAB --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- FORMS TAB --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START DOWNLOAD TRANSCRIPT --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END DOWNLOAD TRANSCRIPT --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END FORMS TAB --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- STRINGS TAB --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t

    {{\'APPLICATION_ONLINE_STATE\' | translate}}

    \n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START HEADER ONLINE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END HEADER ONLINE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START ONLINE MESSAGE--\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END HEADER ONLINE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START USERNAME TITLE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END USERNAME TITLE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START USERNAME PLACEHOLDER --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END USERNAME PLACEHOLDER --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START EMAIL TITLE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END EMAIL TITLE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START EMAIL PLACEHOLDER --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END EMAIL PLACEHOLDER --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START START CHAT BUTTON --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END START CHAT BUTTON --\x3e\n\n\t\t\t\t\t\t\t\t\t\t

    {{\'APPLICATION_RATING_STATE\' | translate}}

    \n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START RATING MESSAGE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END RATING MESSAGE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START RATING SEND BUTTON --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END RATING SEND BUTTON --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START RATING SKIP BUTTON --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END RATING SKIP BUTTON --\x3e\n\n\t\t\t\t\t\t\t\t\t\t

    {{\'APPLICATION_OFFLINE_STATE\' | translate}}

    \n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START HEADER OFFLINE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END HEADER OFFLINE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START OFFLINE MESSAGE--\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END OFFLINE MESSAGE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START ENQUIRY MESSAGE TITLE--\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END ENQUIRY MESSAGE TITLE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START ENQUIRY MESSAGE PLACEHOLDER--\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END ENQUIRY MESSAGE PLACEHOLDER --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START ENQUIRY BUTTON --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END ENQUIRY BUTTON --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START AGENTS BUSY BUTTON --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END AGENTS BUSY BUTTON --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END STRINGS TAB --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- SETTINGS TAB --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START ADDRESS --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END ADDRESS --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START REMOTE IP --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END REMOTE IP --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START FIDELITY --\x3e\n\t\t\t\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\t\t\t\x3c!-- END FIDELITY --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END SETTINGS TAB --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- OFFLINE TAB --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START ENQUIRY ENABLE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END ENQUIRY ENABLE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START ENQUIRY FORWARDING --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END ENQUIRY FORWARDING --\x3e\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t

    Warning!

    \n\t\t

    \n\t\t {{ \'MESSAGE_NO_SERVICE_MAIL_ACCOUNT\' | translate }}\n\t\t

    \n\t\t

    \n\t\t {{\'APPLICATION_GO_TO\' | translate}} SMTP {{\'APPLICATION_OR\' | translate}} {{\'APPLICATION_MAIL_ACCOUNTS\' | translate}}\n\t\t

    \n\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START REMOTE IP --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END REMOTE IP --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START HEADER SHAPE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END HEADER SHAPE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END OFFLINE TAB --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START STATE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END STATE --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/chat/website/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{chatWebsite.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{chatWebsite.address}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t\n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/chat/website/wizard/wizard.html",'\x3c!-- BEGIN PAGE HEADER--\x3e\n
    \n\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n
    \n\x3c!-- END PAGE HEADER--\x3e\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_WEB_SITE\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ADDRESS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ADDRESS --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START REMOTE IP --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END REMOTE IP --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START MAIN COLOR --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MAIN COLOR --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START FOCUS COLOR --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END FOCUS COLOR --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START BUTTON COLOR --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END BUTTON COLOR --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START HEADER SHAPE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$translate.instant(\'APPLICATION_\' + $select.selected.toUpperCase())}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END HEADER SHAPE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ANIMATION TOGGLE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected ? \'On\' : \'Off\'}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ANIMATION TOGGLE --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START HEADER ONLINE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END HEADER ONLINE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ONLINE MESSAGE--\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END HEADER ONLINE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START USERNAME TITLE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME TITLE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START USERNAME PLACEHOLDER --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME PLACEHOLDER --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START EMAIL TITLE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END EMAIL TITLE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START EMAIL PLACEHOLDER --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END EMAIL PLACEHOLDER --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START START CHAT BUTTON --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END START CHAT BUTTON --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START RATING MESSAGE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END RATING MESSAGE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START RATING START TEXT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END RATING START TEXT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START RATING MESSAGE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END RATING MESSAGE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START HEADER OFFLINE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END HEADER OFFLINE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START OFFLINE MESSAGE--\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END OFFLINE MESSAGE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ENQUIRY MESSAGE TITLE--\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ENQUIRY MESSAGE TITLE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ENQUIRY MESSAGE PLACEHOLDER--\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ENQUIRY MESSAGE PLACEHOLDER --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ENQUIRY BUTTON --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ENQUIRY BUTTON --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START AGENTS BUSY BUTTON --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END AGENTS BUSY BUTTON --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START DOWNLOAD TRANSCRIPT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected ? \'On\' : \'Off\'}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DOWNLOAD TRANSCRIPT --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/fax/account/list/list.create.modal.html",'\n\n\n'),t.put("app/channels/fax/account/list/list.html",'
    \n\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACCOUNTS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/fax/account/view/action/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_ACTIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/fax/account/view/action/view/view.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACTION\' | translate }} \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START AGENT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.fullname}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END AGENT --\x3e\n\n\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START SENDMAIL --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{attachment}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END SENDMAIL --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START SENDSms --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- END SENDSms --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{ intType.name | translate }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{ $select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ interval.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/fax/account/view/action/wizard/wizard.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACTION\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START AGENT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.fullname}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END AGENT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START SENDMAIL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{attachment}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END SENDMAIL --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START SENDSms --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- END SENDSms --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ intType.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ interval.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/fax/account/view/disposition/modal/add.modal.html",'\n\n\n'),t.put("app/channels/fax/account/view/disposition/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_DISPOSITIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/fax/account/view/hooks/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_HOOKS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- ACCEPT TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START ACTIONS--\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t \t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ACTION --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ACCEPT TAB --\x3e\n\t\t\t\t\t\x3c!-- START REJECT TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ACCEPT TAB --\x3e\n\t\t\t\t\t\x3c!-- START CLOSE TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END CLOSE TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/fax/account/view/setting/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START HEADERINFO --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_HEADERINFO\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END HEADERINFO --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TRUNKS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START TRUNKS --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START LOCALSTATIONID --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_LOCALSTATIONID\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END LOCALSTATIONID --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START LIST --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END LIST --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START FIDELITY --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- END FIDELITY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t\t\x3c!-- ADVANCED TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- START ECM --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_ECM\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END ECM --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START MINRATE --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t {{$select.selected}}\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_MINRATE\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- START MINRATE --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START MAXRATE --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t {{$select.selected}}\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_MAXRATE\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- START MAXRATE --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START MODEM --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_MODEM\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END MODEM --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- START GATEWAY --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_GATEWAY\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_GATEWAY\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END GATEWAY --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START FAXDETECT --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_FAXDETECT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_FAXDETECT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END FAXDETECT --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START T38TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_T38TIMEOUT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_T38TIMEOUT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END T38TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START TECH --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t {{$select.selected}}\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- START TECH --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ADVANCED TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/fax/account/view/view.html",'\x3c!-- BEGIN PAGE HEADER--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\x3c!-- END PAGE HEADER--\x3e\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{ account.name || account.description }}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{ account.phone }}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/fax/account/wizard/wizard.html",'\x3c!-- BEGIN PAGE HEADER--\x3e\n
    \n\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n
    \n\x3c!-- END PAGE HEADER--\x3e\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START HEADERINFO --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_HEADERINFO\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END HEADERINFO --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TRUNKS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START TRUNKS --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START LOCALSTATIONID --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_LOCALSTATIONID\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END LOCALSTATIONID --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START ECM --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_ECM\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ECM --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MINRATE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t {{$select.selected}}\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_MINRATE\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START MINRATE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MAXRATE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t {{$select.selected}}\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_MAXRATE\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START MAXRATE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MODEM --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_MODEM\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MODEM --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START GATEWAY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_GATEWAY\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_GATEWAY\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END GATEWAY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START FAXDETECT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_FAXDETECT\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_FAXDETECT\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END FAXDETECT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START T38TIMEOUT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_T38TIMEOUT\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_T38TIMEOUT\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END T38TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TECH --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t {{$select.selected}}\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START TECH --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\n\t\t\t\t
    \n\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/fax/inbox/message/info.modal.html",'\n\n\n'),t.put("app/channels/fax/inbox/message/message.directive.html",'
    \n
    \n
    \n From: \n [{{message.from}}]\n
    \n To: \n [{{message.to}}]\n
    \n
    \n \n \n \n {{\'APPLICATION_SENT_BY\' | translate}}: {{message.User.fullname}}\n
    \n
    \n
    \n \n \n {{message.status | uppercase}}\n \n \n {{message.status | uppercase}}\n \n \n {{message.status | uppercase}}\n \n \n \n \n {{message.status | uppercase}}\n \n \n \n \n \n
    \n
    \n {{faxAttachment.name}}\n \n \n \n
    \n
    \n'),t.put("app/channels/fax/inbox/note/note.directive.html",'
    \n
    \n
    \n \n \n \n\n \n
    \n
    \n {{\'APPLICATION_ADD_BY\' | translate}}: {{message.User.fullname}}\n
    \n
    \n
    \n \n
    \n'),t.put("app/channels/fax/inbox/note/note.modal.html",'\n\n\n'),t.put("app/channels/fax/inbox/room/room.directive.html",'\x3c!-- BEGIN TODO CONTENT --\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t | \n\t\t\t\t #{{faxRoom.id}} {{faxRoom.status}}\n\t\t\t\t | \n\t\t\t\t{{faxRoom.contact}}\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\x3c!-- UPDATE SECTION START --\x3e\n\t\t\t\t\n\t\t\t\t\x3c!-- UPDATE SECTION END --\x3e\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START TAGS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$item}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{tag}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TAGS --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- END TAGS --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t

    {{\'MESSAGE_FAX_ROOM_CLOSED\' | translate}}!

    \n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t{{\'MESSAGE_FAX_ROOM_CLOSED_DETAILS\' | translate}}.\n\t\t\t\t\t\t

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t {{\'APPLICATION_DISPOSITION\' | translate}}: {{faxRoom.disposition}}\n\t\t\t\t\t\t

    \n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t {{\'APPLICATION_UPDATED_AT\' | translate}}: {{faxRoom.updatedAt | date:\'medium\'}} ()\n\t\t\t\t\t\t

    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- START HEAD --\x3e\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t From: {{form.from}}, To: {{form.to[0].fax}}\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START FROM --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t {{$select.selected.name}}\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \x3c!-- END FROM --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START TO --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_TO_LIMIT\' | translate}}.\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t \x3c!-- END TO --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START ATTACH --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    {{ item.file.name | truncate: 5: \'...\': true}}{{ item.file.size/1024/1024|number:2 }} MB\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ATTACH --\x3e\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n\x3c!-- END TODO CONTENT --\x3e\n'),t.put("app/channels/fax/inbox/status/status.modal.html",'\n\n\n'),t.put("app/channels/fax/inbox/view/account/list/list.html",'\x3c!-- BEGIN Portlet PORTLET--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t\n\t
    \n\t
    \n\t\t\x3c!-- START TAGS --\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t{{$item}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{tag}}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END TAGS --\x3e\n\t
    \n\t
    \n\t\t\x3c!-- BEGIN UI-GRID SPINNER --\x3e\n\t\t\n\t\t\x3c!-- END UI-GRID SPINNER --\x3e\n\n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END Portlet PORTLET--\x3e\n'),t.put("app/channels/fax/inbox/view/view.agents.modal.html",'\n\n\n'),t.put("app/channels/fax/inbox/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\n
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t
    \n\n\t
    \n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

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

    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n'),t.put("app/channels/fax/inbox/view/view.status.modal.html",'\n\n\n'),t.put("app/channels/fax/inbox/view/view.tags.modal.html",'\n\n\n'),t.put("app/channels/fax/queue/list/list.create.modal.html",'\n\n\n'),t.put("app/channels/fax/queue/list/list.html",'
    \n\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_QUEUES\' | translate }} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/fax/queue/view/view.agents.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_AGENTS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- BEGIN FORM--\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END FORM--\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/fax/queue/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{queue.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t{{user.role}}\n\t\t\t\t\t
    --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/fax/queue/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\x3c!-- START STRATEGY --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{$select.selected | uppercase}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END STRATEGY --\x3e\n\n\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/fax/realtime/view/agent/agent.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t\n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/fax/realtime/view/agent/agent.modal.info.html",'\n\n\n'),t.put("app/channels/fax/realtime/view/agent/queue.modal.add.html",'\n\n\n'),t.put("app/channels/fax/realtime/view/application/application.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/fax/realtime/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/mail/account/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACCOUNTS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/mail/account/view/action/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_ACTIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/mail/account/view/action/view/view.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACTION\' | translate }} \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START AGENT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.fullname}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END AGENT --\x3e\n\n\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START SENDMAIL --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END SENDMAIL --\x3e\n\t\t\t\t\t
    \n\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START REPLYMAIL --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.key | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END REPLYMAIL --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START SENDSms --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- END SENDSms --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{ intType.name | translate }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{ $select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ interval.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t{{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/mail/account/view/action/wizard/wizard.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACTION\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START AGENT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.fullname}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

    \n\t {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_AGENTS\' | translate}}\n\t

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END AGENT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START SENDMAIL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END SENDMAIL --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START REPLYMAIL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.key | translate }}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END REPLYMAIL --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START SENDSms --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- END SENDSms --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ intType.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ interval.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

    \n\t {{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/mail/account/view/disposition/modal/add.modal.html",'\n\n\n'),t.put("app/channels/mail/account/view/disposition/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_DISPOSITIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/mail/account/view/hooks/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_HOOKS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- ACCEPT TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ACCEPT TAB --\x3e\n\t\t\t\t\t\x3c!-- START REJECT TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END REJECT TAB --\x3e\n\t\t\t\t\t\x3c!-- START CLOSE TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END CLOSE TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/mail/account/view/other/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_OTHER\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- BEGIN UI-GRID SPINNER --\x3e\n\t\t\t\t\n\t\t\t\t\x3c!-- END UI-GRID SPINNER --\x3e\n\n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START WHITE LABEL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END WHITE LABEL --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START SIGNATURE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END WHITE LABEL --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/mail/account/view/setting/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- BEGIN UI-GRID SPINNER --\x3e\n\t\t\t\t\n\t\t\t\t\x3c!-- END UI-GRID SPINNER --\x3e\n\n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ADDRESS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ADDRESS --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START LIST --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END LIST --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TEMPLATE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TEMPLATE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START FIDELITY --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- END FIDELITY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SERVICE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SERVICE --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t\t\x3c!-- IMAP TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    ERROR

    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    CONNECTED

    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    TRYING...

    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START HOST --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END HOST --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PORT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PORT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MAILBOX --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MAILBOX --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SEARCH FILTER --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START SEARCH FILTER --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START connTimeout --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END connTimeout --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START authTimeout --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END authTimeout --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DELETE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DELETE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SSL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SSL --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START Keepalive --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END Keepalive --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START POLLING --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- END POLLING --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START POLLING_TIMEOUT --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- END POLLING_TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END IMAP TAB --\x3e\n\n\t\t\t\t\t\x3c!-- SMTP TAB --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    ERROR

    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    CONNECTED

    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    TRYING...

    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START HOST --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END HOST --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PORT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PORT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SSL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SSL --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END SMTP TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/mail/account/view/view.html",'\x3c!-- BEGIN PAGE HEADER--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\x3c!-- END PAGE HEADER--\x3e\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{ account.description || account.name }}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{account.email}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n\x3c!-- END PAGE CONTENT--\x3e\n
    \n'),t.put("app/channels/mail/account/wizard/wizard.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PAGE HEADER--\x3e\n\t\t
    \n\t\t\t\n\t\t
    \n\t\t\x3c!-- END PAGE HEADER--\x3e\n\n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ADDRESS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ADDRESS --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START HOST --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END HOST --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PORT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PORT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MAILBOX --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MAILBOX --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SEARCH FILTER --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START SEARCH FILTER --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START connTimeout --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END connTimeout --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START authTimeout --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END authTimeout --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DELETE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DELETE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SSL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SSL --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START Keepalive --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END Keepalive --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START HOST --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END HOST --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PORT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PORT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SSL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SSL --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/mail/inbox/message/info.modal.html",'\n\n\n'),t.put("app/channels/mail/inbox/message/message.directive.html",'
    \n
    \n
    \n From: \n {{message.from[0]}} \n
    \n To: \n {{to}}, \n
    \n Cc: \n {{cc}}, \n
    \n Bcc: \n {{bcc}}, \n
    \n
    \n
    \n {{\'APPLICATION_SENT_BY\' | translate}}: {{message.User.fullname}}\n {{\'APPLICATION_SENT_BY\' | translate}}: System\n {{\'APPLICATION_SENT_BY\' | translate}}: Cally ²\n \n \n \n
    \n
    \n
    \n \n \n {{message.status | uppercase}}\n \n \n {{message.status | uppercase}}\n \n \n {{message.status | uppercase}}\n \n \n \n \n {{message.status | uppercase}}\n \n \n \n \n \n
    \n
    \n
    {{\'MESSAGE_NO_AVAILABLE_TEXT\' | translate | lowercase}}
    \n
    \n
    \n {{mailAttachment.name}}\n \n ({{mailAttachment.size | prettyBytes}})\n \n \n \n \n \n \n \n
    \n
    \n'),t.put("app/channels/mail/inbox/note/note.directive.html",'
    \n
    \n
    \n \n \n \n\n \n
    \n
    \n {{\'APPLICATION_ADD_BY\' | translate}}: {{message.User.fullname}}\n
    \n
    \n
    \n \n
    \n'),t.put("app/channels/mail/inbox/note/note.modal.html",'\n\n\n'),t.put("app/channels/mail/inbox/room/room.directive.html",'\x3c!-- BEGIN TODO CONTENT --\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t | \n\t\t\t\t #{{mailRoom.id}} {{mailRoom.status}}\n\t\t\t\t | \n\t\t\t\t Ref: #{{mailRoom.ParentId}}\n\t\t\t\t | \n\t\t\t\t{{mailRoom.subject || \'No subject\'}}\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\x3c!-- UPDATE SECTION START --\x3e\n\t\t\t\t\n\t\t\t\t\x3c!-- UPDATE SECTION END --\x3e\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START TAGS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$item}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{tag}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TAGS --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- END TAGS --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

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

    \n\t\t\t\t\t

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

    \n\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t\t {{\'APPLICATION_DISPOSITION\' | translate}}: {{mailRoom.disposition}}\n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\t {{\'APPLICATION_UPDATED_AT\' | translate}}: {{mailRoom.updatedAt | date:\'medium\'}} ()\n\t\t\t\t\t

    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START HEAD --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t From: {{form.from[0]}}, To: {{form.to[0].email}} (+{{form.to.length - 1}})\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\x3c!-- START FROM --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END FROM --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- MAIL TO --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END TO --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START CC --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END CC --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START BCC --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END BCC --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START SUBJECT --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END SUJBECT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- START ATTACH --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_ATTACHMENTS\' | translate}}:\n\t\t\t\t\t\t\t\t\t\t\t{{ item.file.name }}{{ item.file.size/1024/1024|number:2 }} MB\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END ATTACH --\x3e\n\n\t\t\t\t\t\t\x3c!-- START CANNED --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t No Results Found\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END CANNED --\x3e\n\n\t\t\t\t\t\t\x3c!-- START HTML --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n'+"\t\t\t\t\t\t\t\t\t{{'APPLICATION_WARNING' | translate}}! {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END HTML --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n
    \n\x3c!-- END TODO CONTENT --\x3e\n"),t.put("app/channels/mail/inbox/status/status.modal.html",'\n\n\n'),t.put("app/channels/mail/inbox/view/account/list/list.html",'\x3c!-- BEGIN Portlet PORTLET--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t\n\t
    \n\t
    \n\t\t\x3c!-- START TAGS --\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t{{$item}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{tag}}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END TAGS --\x3e\n\t
    \n\t
    \n\t\t\x3c!-- BEGIN UI-GRID SPINNER --\x3e\n\t\t\n\t\t\x3c!-- END UI-GRID SPINNER --\x3e\n\n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END Portlet PORTLET--\x3e\n'),t.put("app/channels/mail/inbox/view/view.agents.modal.html",'\n\n\n'),t.put("app/channels/mail/inbox/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\n\t
    \n\n\t
    \n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

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

    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n\n
    \n'),t.put("app/channels/mail/inbox/view/view.tags.modal.html",'\n\n\n'),t.put("app/channels/mail/inbox/view/view.templates.modal.html",'\n\n\n'),t.put("app/channels/mail/queue/list/list.create.modal.html",'\n\n\n'),t.put("app/channels/mail/queue/list/list.html",'
    \n\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_QUEUES\' | translate }} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\t
    {{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/mail/queue/view/view.agents.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_AGENTS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    Warning!

    \n\t\t\t\t

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

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- BEGIN FORM--\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END FORM--\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/mail/queue/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{queue.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t{{user.role}}\n\t\t\t\t
    --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t\t
    \n\t\t\t
    \n\t\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t\t
    \n\t
    \n\t\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/mail/queue/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\x3c!-- START STRATEGY --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{$select.selected | uppercase}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END STRATEGY --\x3e\n\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/mail/realtime/view/agent/agent.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t\n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/mail/realtime/view/agent/agent.modal.info.html",'\n\n\n'),t.put("app/channels/mail/realtime/view/agent/queue.modal.add.html",'\n\n\n'),t.put("app/channels/mail/realtime/view/application/application.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/mail/realtime/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/mail/realtime/view/view.queue.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/account/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACCOUNTS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/account/view/action/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_ACTIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/openchannel/account/view/action/view/view.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACTION\' | translate }} \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START AGENT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.fullname}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END AGENT --\x3e\n\n\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START SENDMAIL --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END SENDMAIL --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START SENDSms --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- END SENDSms --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{ intType.name | translate }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{ $select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ interval.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t{{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/account/view/action/wizard/wizard.html",'
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACTION\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START AGENT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.fullname}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END AGENT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START SENDMAIL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END SENDMAIL --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START SENDSms --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- END SENDSms --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ intType.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ interval.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t{{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/account/view/api/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_API\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START API --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END API --\x3e\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/openchannel/account/view/disposition/modal/add.modal.html",'\n\n\n'),t.put("app/channels/openchannel/account/view/disposition/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_DISPOSITIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/openchannel/account/view/hooks/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_HOOKS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START REPLY TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END REPLY TAB --\x3e\n\n\t\t\t\t\t\x3c!-- START ACCEPT TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START ACTIONS--\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ACTION --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ACCEPT TAB --\x3e\n\t\t\t\t\t\x3c!-- START REJECT TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END REJECT TAB --\x3e\n\t\t\t\t\t\x3c!-- START CLOSE TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END CLOSE TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/openchannel/account/view/setting/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START ID --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ID--\x3e\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\t\t\t\t\t\t\t\x3c!-- START LIST --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END LIST --\x3e\n\t\t\t\t\t\t\t\x3c!-- START FIDELITY --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- END FIDELITY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CUSTOM --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- START REPLY HOOK --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- START REPLY HOOK --\x3e\n\t\t\t\t\t\t\t\x3c!-- END CUSTOM --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START REMOTE IP --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END REMOTE IP --\x3e\n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/openchannel/account/view/view.html",'\x3c!-- BEGIN PAGE HEADER--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\x3c!-- END PAGE HEADER--\x3e\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{ account.name }}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{account.description}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n\x3c!-- END PAGE CONTENT--\x3e\n
    \n'),t.put("app/channels/openchannel/account/wizard/wizard.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PAGE HEADER--\x3e\n\t\t
    \n\t\t\t\n\t\t
    \n\t\t\x3c!-- END PAGE HEADER--\x3e\n\n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START REMOTE IP --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END REMOTE IP --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/inbox/message/info.modal.html",'\n\n\n'),t.put("app/channels/openchannel/inbox/message/message.html",'
    \n
    \n
    \n \x3c!-- From: {{Message.from}} \n
    \n To: {{Message.to}} \n
    --\x3e\n
    \n
    \n From: {{Message.from}} \n
    \n
    \n
    \n
    \n To: {{Message.to}} \n
    \n
    \n
    \n
    \n Name: {{Message.name}}\n
    \n
    \n
    \n
    \n Phone: {{Message.phone}}\n
    \n
    \n
    \n
    \n Email: {{Message.email}}\n
    \n
    \n
    \n
    \n {{\'APPLICATION_SENT_BY\' | translate}}: {{Message.User.fullname}}\n
    \n
    \n
    \n \n \n {{Message.status | uppercase}}\n \n \n {{Message.status | uppercase}}\n \n \n {{Message.status | uppercase}}\n \n \n {{Message.status | uppercase}}\n \n \n {{Message.status | uppercase}}\n \n \n {{Message.status | uppercase}}\n \n
    \n
    \n\n \n
    \n
    \n \n \x3c!-- --\x3e\n
    \n'),t.put("app/channels/openchannel/inbox/room/room.directive.html",'\x3c!-- BEGIN TODO CONTENT --\x3e\n\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t | \n\t\t\t\t#{{Room.id}} {{Room.status}}\n\t\t\t\t | \n\t\t\t\t Ref: #{{Room.ParentId}}\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START TAGS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$item}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{tag}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TAGS --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t{{\'MESSAGE_ROOM_CLOSED_DETAILS\' | translate}}.\n\t\t\t\t\t\t

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t {{\'APPLICATION_DISPOSITION\' | translate}}: {{Room.disposition}}\n\t\t\t\t\t\t

    \n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t {{\'APPLICATION_UPDATED_AT\' | translate}}: {{Room.updatedAt | date:\'medium\'}} ()\n\t\t\t\t\t\t

    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START HEAD --\x3e\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START FROM --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END FROM --\x3e\n\t\t\t\t\t\t\t\x3c!-- START TO --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TO --\x3e\n\t\t\t\t\t\t\t\x3c!-- START CANNED --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t No Results Found\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CANNED --\x3e\n\t\t\t\t\t\t\t\x3c!-- START message --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n'+"\t\t\t\t\t\t\t\t\t\t{{'APPLICATION_WARNING' | translate}}! {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- END message --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n\x3c!-- END TODO CONTENT --\x3e\n"),t.put("app/channels/openchannel/inbox/view/account/list/list.html",'\x3c!-- BEGIN Portlet PORTLET--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t\n\t
    \n\t
    \n\t\t\x3c!-- START TAGS --\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t{{$item}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{tag}}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END TAGS --\x3e\n\t
    \n\t
    \n\t\t\x3c!-- BEGIN UI-GRID SPINNER --\x3e\n\t\t\n\t\t\x3c!-- END UI-GRID SPINNER --\x3e\n\n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END Portlet PORTLET--\x3e\n'),t.put("app/channels/openchannel/inbox/view/view.agents.modal.html",'\n\n\n'),t.put("app/channels/openchannel/inbox/view/view.html",'\n\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\n\t
    \n\n\t
    \n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t

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

    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/inbox/view/view.status.modal.html",'\n\n\n'),t.put("app/channels/openchannel/inbox/view/view.tags.modal.html",'\n\n\n'),t.put("app/channels/openchannel/queue/list/list.create.modal.html",'\n\n\n'),t.put("app/channels/openchannel/queue/list/list.html",'
    \n\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_QUEUES\' | translate }} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\t
    {{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/queue/view/view.agents.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_AGENTS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    Warning!

    \n\t\t\t\t

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

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- BEGIN FORM--\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END FORM--\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/openchannel/queue/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{queue.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t{{user.role}}\n\t\t\t\t
    --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t\t
    \n\t\t\t
    \n\t\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t\t
    \n\t
    \n\t\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/queue/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\x3c!-- START HEADER SHAPE --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{$select.selected.toUpperCase()}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END HEADER SHAPE --\x3e\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/openchannel/realtime/view/agent/agent.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t\n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/realtime/view/agent/agent.modal.info.html",'\n\n\n'),t.put("app/channels/openchannel/realtime/view/agent/queue.modal.add.html",'\n\n\n'),t.put("app/channels/openchannel/realtime/view/application/application.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/realtime/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/openchannel/realtime/view/view.queue.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/realtime/view/agent/agent.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t\n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/realtime/view/agent/agent.modal.logout.html",'\n\n\n'),t.put("app/channels/realtime/view/agent/queue.modal.add.html",'\n\n\n'),t.put("app/channels/realtime/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t\t \n\t\t
    \n\t\t
    \n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/account/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACCOUNTS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/account/view/action/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_ACTIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/sms/account/view/action/view/view.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACTION\' | translate }} \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START AGENT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.fullname}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n

    Warning!

    \n

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

    \n

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

    \n
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END AGENT --\x3e\n\n\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START SENDMAIL --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END SENDMAIL --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START SENDSms --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- END SENDSms --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{ intType.name | translate }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{ $select.selected.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ interval.name}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t{{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/account/view/action/wizard/wizard.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACTION\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START AGENT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.fullname}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

    \n\t {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_AGENTS\' | translate}}\n\t

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END AGENT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

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

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START SENDMAIL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END SENDMAIL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START SENDSms --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- END SENDSms --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ intType.name | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ weekDay.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ month.name | translate }}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ $select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ interval.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

    \n\t {{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/account/view/api/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_API\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- CALLBACK TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START CALLBACK URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tCopy the following url and insert it into your {{account.type}} account settings to receive SMS.\n\t\t\t\t\t\t\t\t\t\t\tDetail\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\x3c!-- END CALLACK URL --\x3e\n\t\t\t\t\t\t\t\x3c!-- START DELIVERY CALLBACK URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\tCopy the following url and insert it into your {{account.type}} account settings to receive delivery report.\n \t\t\t\t\t\t\t\t\t Detail\n\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DELIVERY CALLACK URL --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END CALLBACK TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/sms/account/view/disposition/modal/add.modal.html",'\n\n\n'),t.put("app/channels/sms/account/view/disposition/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_DISPOSITIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/sms/account/view/hooks/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_HOOKS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- ACCEPT TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START ACCEPT URL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ACCEPT URL--\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START ACTIONS--\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START PAUSE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ACTION --\x3e\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ACCEPT TAB --\x3e\n\t\t\t\t\t\x3c!-- START REJECT TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START REJECT URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- END REJECT URL --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END REJECT TAB --\x3e\n\t\t\t\t\t\x3c!-- START CLOSE TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | uppercase}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END CLOSE TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/sms/account/view/setting/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START ID --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ID--\x3e\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\t\t\t\t\t\t\t\x3c!-- START LIST --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END LIST --\x3e\n\t\t\t\t\t\t\t\x3c!-- START FIDELITY --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- END FIDELITY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    --\x3e\n\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\x3c!-- START TWILIO --\x3e\n\t\t\t\t\t\t\t\x3c!-- START PHONE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PHONE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SID --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SID --\x3e\n\t\t\t\t\t\t\t\x3c!-- START TOKEN --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SID --\x3e\n\t\t\t\t\t\t\t\x3c!-- END TWILIO --\x3e\n\t\t\t\t\t\t\t\x3c!-- START SKEBBY --\x3e\n\t\t\t\t\t\t\t\x3c!-- START SKEBBY SMS TYPE --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected | uppercase}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SKEBBY SMS TYPE --\x3e\n\t\t\t\t\t\t\t\x3c!-- START PHONE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PHONE --\x3e\n\t\t\t\t\t\t\t\x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\t\t\t\t\t\t\t\x3c!-- END SKEBBY --\x3e\n\t\t\t\t\t\t\t\x3c!-- START REMOTE IP --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END REMOTE IP --\x3e\n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/sms/account/view/view.html",'\x3c!-- BEGIN PAGE HEADER--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\x3c!-- END PAGE HEADER--\x3e\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{ account.description || account.name }}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{account.email}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n\x3c!-- END PAGE CONTENT--\x3e\n
    \n'),t.put("app/channels/sms/account/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START ID --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ID--\x3e\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\t\t\t\t\t\t\t\x3c!-- START LIST --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END LIST --\x3e\n\n\n\t\t\t\t\t\t\t\x3c!-- START FIDELITY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END FIDELITY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PHONE FOR TWILLIO ACCOUNT --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\x3c!-- Format with a \'+\' and country code --\x3e\n\t\t\t\t\t\t\t\t\x3c!-- \n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n\t\t\t\t\t\t\t\t --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PHONE FOR TWILLIO ACCOUNT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SID --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SID --\x3e\n\t\t\t\t\t\t\t\x3c!-- START TOKEN --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SID --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SMS TYPE --\x3e\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected | uppercase}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TYPE --\x3e\n\t\t\t\t\t\t\t\x3c!-- START PHONE FOR SKEBBY ACCOUNT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PHONE --\x3e\n\t\t\t\t\t\t\t\x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\t\t\t\t\t\t\t\x3c!-- START REMOTE IP --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END REMOTE IP --\x3e\n\t\t\t\t\t\t\t\x3c!-- START CALLBACK URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!--
    --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tCopy the following url and insert it into your {{account.type}} account settings to receive sms.\n\t\t\t\t\t\t\t\t\t\t\tDetail\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CALLACK URL --\x3e\n\t\t\t\t\t\t\t\x3c!-- START DELIVERY CALLBACK URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t Copy the following url and insert it into your {{account.type}} account settings to receive delivery status.\n\t\t\t\t\t\t\t\t\t Detail\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DELIVERY CALLACK URL --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/sms/account/wizard/wizard.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PAGE HEADER--\x3e\n\t\t
    \n\t\t\t\n\t\t
    \n\t\t\x3c!-- END PAGE HEADER--\x3e\n\n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n \x3c!-- START APPLICATION TYPE --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t {{$select.selected | uppercase}}\n\t\t\t \n\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n \x3c!-- END TYPE --\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START PHONE FOR TWILLIO ACCOUNT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END PHONE FOR TWILLIO ACCOUNT --\x3e\n \x3c!-- START SID --\x3e\n
    \n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
    \n \x3c!-- END SID --\x3e\n \x3c!-- START TOKEN --\x3e\n
    \n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
    \n \x3c!-- END SID --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START SMS TYPE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected | uppercase}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TYPE --\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START PHONE FOR SKEBBY ACCOUNT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END PHONE --\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n \x3c!-- START PASSWORD --\x3e\n
    \n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
    \n \x3c!-- END PASSWORD --\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START REMOTE IP --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END REMOTE IP --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/inbox/room/room.directive.html",'\x3c!-- BEGIN TODO CONTENT --\x3e\n\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t | \n\t\t\t\t#{{SmsRoom.id}} {{SmsRoom.status}}\n\t\t\t\t | \n\t\t\t\t Ref: #{{SmsRoom.ParentId}}\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START TAGS --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$item}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{tag}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END TAGS --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t{{\'MESSAGE_SMS_ROOM_CLOSED_DETAILS\' | translate}}.\n\t\t\t\t\t\t

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t {{\'APPLICATION_DISPOSITION\' | translate}}: {{SmsRoom.disposition}}\n\t\t\t\t\t\t

    \n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t {{\'APPLICATION_UPDATED_AT\' | translate}}: {{SmsRoom.updatedAt | date:\'medium\'}} ()\n\t\t\t\t\t\t

    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- START HEAD --\x3e\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START FROM --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END FROM --\x3e\n\t\t\t\t\t\t\t\x3c!-- START TO --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TO --\x3e\n\t\t\t\t\t\t\t\x3c!-- START CANNED --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t No Results Found\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CANNED --\x3e\n\t\t\t\t\t\t\t\x3c!-- START message --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t Max 160 chars\n\t\t\t\t\t\t\t\t\t\n'+"\t\t\t\t\t\t\t\t\t\t{{'APPLICATION_WARNING' | translate}}! {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- END message --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n\x3c!-- END TODO CONTENT --\x3e\n"),t.put("app/channels/sms/inbox/sms/info.modal.html",'\n\n\n'),t.put("app/channels/sms/inbox/sms/sms.html",'
    \n
    \n
    \n From: \n [{{smsMessage.from}}]\n
    \n To: \n [{{smsMessage.to}}]\n
    \n
    \n
    \n {{\'APPLICATION_SENT_BY\' | translate}}: {{smsMessage.User.fullname}}\n {{\'APPLICATION_SENT_BY\' | translate}}: Cally ²\n \n \n
    \n
    \n\n
    \n \n \n {{smsMessage.status | uppercase}}\n \n \n {{smsMessage.status | uppercase}}\n \n \n {{smsMessage.status | uppercase}}\n \n \n {{smsMessage.status | uppercase}}\n \n \n {{smsMessage.status | uppercase}}\n \n \n {{smsMessage.status | uppercase}}\n \n
    \n \x3c!-- Error Code:{{smsMessage.errorcode}}\n Error Code:{{smsMessage.errorcode}} --\x3e\n
    \n\n \n
    \n
    \n \n\n
    \n'),t.put("app/channels/sms/inbox/view/account/list/list.html",'\x3c!-- BEGIN Portlet PORTLET--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t\n\t
    \n\t
    \n\t\t\x3c!-- START TAGS --\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t{{$item}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{tag}}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END TAGS --\x3e\n\t
    \n\t
    \n\t\t\x3c!-- BEGIN UI-GRID SPINNER --\x3e\n\t\t\n\t\t\x3c!-- END UI-GRID SPINNER --\x3e\n\n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END Portlet PORTLET--\x3e\n'),t.put("app/channels/sms/inbox/view/view.agents.modal.html",'\n\n\n'),t.put("app/channels/sms/inbox/view/view.html",'\n\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\n\t
    \n\n\t
    \n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t

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

    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/inbox/view/view.status.modal.html",'\n\n\n'),t.put("app/channels/sms/inbox/view/view.tags.modal.html",'\n\n\n'),t.put("app/channels/sms/inbox/view/view.templates.modal.html",'\n\n\n'),t.put("app/channels/sms/queue/list/list.create.modal.html",'\n\n\n'),t.put("app/channels/sms/queue/list/list.html",'
    \n\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n
    \n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_QUEUES\' | translate }} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\t
    {{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/queue/view/view.agents.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_AGENTS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    Warning!

    \n\t\t\t\t

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

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- BEGIN FORM--\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END FORM--\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/sms/queue/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{queue.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t{{user.role}}\n\t\t\t\t
    --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t\t
    \n\t\t\t
    \n\t\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t\t
    \n\t
    \n\t\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/queue/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\x3c!-- START STRATEGY --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{$select.selected | uppercase}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END STRATEGY --\x3e\n\n\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/sms/realtime/view/agent/agent.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t\n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/realtime/view/agent/agent.modal.info.html",'\n\n\n'),t.put("app/channels/sms/realtime/view/agent/queue.modal.add.html",'\n\n\n'),t.put("app/channels/sms/realtime/view/application/application.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/realtime/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/sms/realtime/view/view.queue.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/chanspy/list/list.create.modal.html",'\n\n\n'),t.put("app/channels/voice/chanspy/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_CHANSPY\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/chanspy/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{chanspy.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t{{user.role}}\n\t\t\t\t\t
    --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/chanspy/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_CHANSPY\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PREFIX --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PREFIX --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$item.value}}: {{$item.name | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START AUTH --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END AUTH --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START RECORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END RECORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START RECORDINGFORMAT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END RECORDINGFORMAT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ADVANCED TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/voice/context/list/create.modal.html",'\n\n\n'),t.put("app/channels/voice/context/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_CONTEXTS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/context/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{context.name}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t\t
    \n\t\t\t
    \n\t\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t\t
    \n\t
    \n\t\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/context/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_CONTEXT\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_CANT_EDIT_NAME\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ADVANCED TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/voice/disposition/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_DISPOSITIONS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/disposition/list/modal/add.modal.html",'\n\n\n'),t.put("app/channels/voice/moh/list/create.modal.html",'\n\n\n'),t.put("app/channels/voice/moh/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_MOHS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/moh/view/view.addFiles.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_MOH\' | translate }} {{ \'APPLICATION_ADD_FILES\' | translate }} \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t

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

    \n\t\t\t\t\t

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

    \n\t\t\t\t
    \n
    \n\n \x3c!-- START SOUNDS --\x3e\n
    \n \n \n {{$item.display_name}}\n \n {{sound.display_name}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
    \n \x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/moh/view/view.audios.html",'
    \n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_AUDIOS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t

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

    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t
    {{ \'APPLICATION_NAME\' | translate }}{{ \'APPLICATION_PREVIEW\' | translate }}{{ \'APPLICATION_ACTIONS\' | translate }}
    {{audiofile}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t \n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t{{ \'MESSAGE_NO_AUDIOFILES_AVAILABLE\' | translate }}\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n
    \n'),t.put("app/channels/voice/moh/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{moh.name}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET main.channels --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/moh/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_MOH_CLASS\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START MODE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MODE --\x3e\n\n\t \x3c!-- START PATH --\x3e\n\t
    \n\t \n\t \n\t
    \n\t \x3c!-- END PATH --\x3e\n\n\t \x3c!-- START SORT --\x3e\n\t
    \n\t \n\t \n\t {{$translate.instant($select.selected.name)}}\n\t \n\t {{$translate.instant(sort.name)}}\n\t \n\t \n\t \n\t {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t \n\t
    \n\t \x3c!-- END SORT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DIRECTORY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DIRECTORY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START APPLICATION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END APPLICATION --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START FORMAT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END FORMAT --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/voice/queue/list/list.create.modal.html",'\n\n\n'),t.put("app/channels/voice/queue/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_QUEUES\' | translate }}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/queue/view/view.agents.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_AGENTS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    Warning!

    {{ \'MESSAGE_NO_AVAILABLE_TEAMS\' | translate }}

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- BEGIN FORM--\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END FORM--\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/voice/queue/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{queue.name}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET main.channels --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/queue/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_QUEUE_SETTINGS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START STRATEGY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.toUpperCase()}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_STRATEGY\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t \x3c!-- END STRATEGY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MOH --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_VOICE_MOH\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MOH --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_TIMEOUT\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MAXLEN --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_MAXLEN\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MAXLEN --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START RETRY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_RETRY\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END RETRY --\x3e\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START WRAPUPTIME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_WRAPUPTIME\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END WRAPUPTIME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START WEIGHT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_WEIGHT\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END WEIGHT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START JOINEMPTY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$item}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_JOINEMPTY\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END JOINEMPTY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START LEAVEWHENEMPTY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$item}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_LEAVEWHENEMPTY\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END LEAVEWHENEMPTY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ANNOUNCE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_ANNOUNCE\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ANNOUNCE --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START PERIODIC_ANNOUNCE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$item.display_name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_PERIODIC_ANNOUNCE\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PERIODIC_ANNOUNCE --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    {{\'APPLICATION_SETTINGS\' | translate}}

    \n\t\t\t\t\t\t\t\x3c!-- START ANNOUNCE_FREQUENCY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_ANNOUNCE_FREQUENCY\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ANNOUNCE_FREQUENCY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MIN_ANNOUNCE_FREQUENCY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_MIN_ANNOUNCE_FREQUENCY\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MIN_ANNOUNCE_FREQUENCY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PERIODIC_ANNOUNCE_FREQUENCY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_PERIODIC_ANNOUNCE_FREQUENCY\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PERIODIC_ANNOUNCE_FREQUENCY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START RANDOM_PERIODIC_ANNOUNCE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected | capitalize}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_RANDOM_PERIODIC_ANNOUNCE\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END RANDOM_PERIODIC_ANNOUNCE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ANNOUNCE_HOLDTIME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected | capitalize}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_ANNOUNCE_HOLDTIME\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ANNOUNCE_HOLDTIME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ANNOUNCE_POSITION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected | capitalize}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_ANNOUNCE_POSITION\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ANNOUNCE_POSITION --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ANNOUNCE_POSITION_LIMIT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_ANNOUNCE_POSITION_LIMIT\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ANNOUNCE_POSITION_LIMIT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START REPORTHOLDTIME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected | capitalize}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_REPORTHOLDTIME\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END REPORTHOLDTIME --\x3e\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    {{\'APPLICATION_SOUNDS\' | translate}}

    \n\t\t\t\t\t\t\t\t\x3c!-- START QUEUE_REPORTHOLD --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_REPORTHOLD\' | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END QUEUE_REPORTHOLD --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START QUEUE_YOUARENEXT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_YOUARENEXT\' | translate }}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END QUEUE_YOUARENEXT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START QUEUE_THEREARE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_THEREARE\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END QUEUE_THEREARE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START QUEUE_CALLSWAITING --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_CALLSWAITING\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END QUEUE_CALLSWAITING --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START QUEUE_HOLDTIME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_HOLDTIME\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END QUEUE_HOLDTIME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START QUEUE_MINUTES --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_MINUTES\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END QUEUE_MINUTES --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START QUEUE_MINUTE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_MINUTE\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END QUEUE_MINUTE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START QUEUE_SECONDS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_SECONDS\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END QUEUE_SECONDS --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START QUEUE_THANKYOU --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_THANKYOU\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END QUEUE_THANKYOU --\x3e\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t\t\x3c!-- ADVANCED TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START AUTOPAUSE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_AUTOPAUSE\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END AUTOPAUSE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START RINGINUSE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected | capitalize}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_RINGINUSE\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END RINGINUSE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MEMBER_DELAY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_MEMBER_DELAY\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MEMBER_DELAY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ACW --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_ACW\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_ACW\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ACW --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SETINTERFACEVAR --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_SETINTERFACEVAR\' | translate }} wiki)\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_SETINTERFACEVAR\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SETINTERFACEVAR --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SETQUEUEVAR --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_SETQUEUEVAR\' | translate }} wiki)\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_SETQUEUEVAR\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SETQUEUEVAR --\x3e\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START TIMEOUTRESTART --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected | capitalize}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_TIMEOUTRESTART\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TIMEOUTRESTART --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MONITOR_FORMAT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_MONITOR_FORMAT\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MONITOR_FORMAT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CONTEXT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_QUEUE_VOICE_CONTEXT\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CONTEXT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ACW_TIMEOUT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_ACW_TIMEOUT\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ACW_TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SETQUEUEENTRYVAR --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_SETQUEUEENTRYVAR\' | translate }} wiki)\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_SETQUEUEENTRYVAR\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SETQUEUEENTRYVAR --\x3e\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ADVANCED TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/voice/realtime/view/abandoned/abandoned.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/realtime/view/agent/agent.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t\n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/realtime/view/agent/agent.modal.info.html",'\n\n\n'),t.put("app/channels/voice/realtime/view/agent/queue.modal.add.html",'\n\n\n'),t.put("app/channels/voice/realtime/view/outbound/outbound.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/realtime/view/parameter/parameter.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/realtime/view/queue/queue.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t\t\t\n\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n
    \n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/realtime/view/queuecalls/queuecalls.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/realtime/view/telephone/telephone.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- START TABLE --\x3e\n\t\t
    \n\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t
    \n\t\t\x3c!-- END TABLE --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/realtime/view/telephone/telephone.modal.info.html",'\n\n\n'),t.put("app/channels/voice/realtime/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t\t \n\t\t
    \n\t\t
    \n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/recording/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_RECORDINGS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/route/inbound/list/create.modal.html",'\n\n\n\x3c!--
    \n  {{item | json}}\n
    --\x3e\n'),t.put("app/channels/voice/route/inbound/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_INBOUND\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/route/inbound/view/view.applications.html",'
    \n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_ACTIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n
    \n'),t.put("app/channels/voice/route/inbound/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{route.exten}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t{{user.role}}\n\t\t\t\t\t
    --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n"),t.put("app/channels/voice/route/inbound/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_INBOUND\' | translate}} {{ \'APPLICATION_ROUTE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START EXTEN --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END EXTEN --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CONTEXT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CONTEXT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/voice/route/internal/list/create.modal.html",'\n\n\n\x3c!--
    \n  {{item | json}}\n
    --\x3e\n'),t.put("app/channels/voice/route/internal/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_INTERNAL\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/route/internal/view/view.applications.html",'
    \n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_ACTIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n
    \n'),t.put("app/channels/voice/route/internal/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{route.exten}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t{{user.role}}\n\t\t\t\t\t
    --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!--
    \n\t\t\t{{route | json}}\n\t\t
    --\x3e\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n"),t.put("app/channels/voice/route/internal/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_INTERNAL\' | translate}} {{ \'APPLICATION_ROUTE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START EXTEN --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END EXTEN --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CONTEXT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CONTEXT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/voice/route/outbound/list/create.modal.html",'\n\n\n\x3c!--
    \n  {{item | json}}\n
    --\x3e\n'),t.put("app/channels/voice/route/outbound/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_OUTBOUND\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/route/outbound/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{route.exten}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t{{user.role}}\n\t\t\t\t\t
    --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!--
    \n\t\t\t{{route | json}}\n\t\t
    --\x3e\n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n"),t.put("app/channels/voice/route/outbound/view/view.route.html",'
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_NEW_ROUTE\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t{{(main.app.name | translate) || \'Application\'}}\n\t\t\t\t
    \n\t\t\t\t\n\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END APP --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START TRUNK --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TRUNK --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START CALLERID --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\' placeholder=\'"name" \' class="form-control" data-ng-model="application.appdata[1]" data-ng-init="application.appdata[1] = null">\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_OUTBOUND_CALLERID\' | translate }}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END CALLERID --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START PREFIX --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_OUTBOUND_PREFIX\' | translate }}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END PREFIX --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- START CUSTOMAPP --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END CUSTOMAPP --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START APPDATA --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END APPDATA --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$translate.instant(intType.name)}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{month.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{month.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{interval.name | translate}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/route/outbound/view/view.routeSettings.html",'
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_APPLICATION_SETTINGS\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t{{(main.app.name | translate) || \'Application\'}}\n\t\t\t\t\t
    \n\t \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START TRUNK --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TRUNK --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CALLERID --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\' placeholder=\'"name" \' class="form-control" data-ng-model="route.Applications[selectedApp].appdata[1]">\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_OUTBOUND_CALLERID\' | translate }} "name" <number>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CALLERID --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PREFIX --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_OUTBOUND_PREFIX\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END PREFIX --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START CUSTOMAPP --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CUSTOMAPP --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START APPDATA --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END APPDATA --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{intType.name | translate}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{month.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{month.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{interval.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

    \n\t {{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/route/outbound/view/view.routes.html",'
    \n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_ACTIONS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n
    \n'),t.put("app/channels/voice/route/outbound/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_OUTBOUND\' | translate}} {{ \'APPLICATION_ROUTE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START EXTEN --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END EXTEN --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CUTDIGITS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CUTDIGITS --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START TAG --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TAG --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CONTEXT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CONTEXT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START RECORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END RECORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START RECORDINGFORMAT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END RECORDINGFORMAT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/voice/route/view.application.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_NEW_APPLICATION\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t{{(main.app.name | translate) || \'Application\'}}\n\t\t\t\t\t
    \n\t \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\x3c!-- START APP --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t {{$select.selected.name | translate}}\n\t\t\t\t\t \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END APP --\x3e\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START APPLICATION_ANNOUNCE_OVERRIDE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END APPLICATION_ANNOUNCE_OVERRIDE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START AGI --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END AGI --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START MACRO --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END MACRO --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START GOSUB --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END GOSUB --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START RULE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END RULE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START POSITION --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END POSITION --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START ANSWER --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END ANSWER --\x3e\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START AUDIOFILE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END AUDIOFILE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START ANSWER --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END ANSWER --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START INTERFACE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END INTERFACE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START INTERNAL DIAL --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END INTERNAL DIAL --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_WARNING\' | translate }}! {{ \'MESSAGE_REQUIRED_FIELD\' | translate }}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_WARNING\' | translate }}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START TRUNK --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_WARNING\' | translate }}! {{ \'MESSAGE_REQUIRED_FIELD\' | translate }}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END TRUNK --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START PHONE --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END PHONE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START ITEMS --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END ITEMS --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START PROJECT --\x3e\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END PROJECT --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START CONTEXT --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END CONTEXT --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START EXTENSION --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END EXTENSION --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START PRIORITY --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END PRIORITY --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START HANGUPCAUSE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END HANGUPCAUSE --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START VARIABLE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END VARIABLE --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START VARVALUE --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END VARVALUE --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START CUSTOMAPP --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END CUSTOMAPP --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START APPDATA --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END APPDATA --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START VOICEMAIL --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.mailbox}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END VOICEMAIL --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START DOMAIN --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END DOMAIN --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START THEME --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END THEME --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    to
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{weekDay.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{month.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tto\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{month.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- END MONTH --\x3e\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{interval.name | translate}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t

    Warning!

    \n\t

    \n\t {{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t

    \n\t

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

    \n\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/route/view.applicationSettings.html",'\n
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_APPLICATION_SETTINGS\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t{{(main.app.name | translate) || \'Application\'}}\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t{{application | json}}\n\t\t\t\t\t\t\t
    --\x3e\n\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START QUEUE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END QUEUE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START APPLICATION_ANNOUNCE_OVERRIDE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END APPLICATION_ANNOUNCE_OVERRIDE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START AGI --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END AGI --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START MACRO --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END MACRO --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START GOSUB --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END GOSUB --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START RULE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END RULE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START POSITION --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END POSITION --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START ANSWER --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ANSWER --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START AUDIOFILE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.display_name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END AUDIOFILE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START ANSWER --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ANSWER --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START INTERFACE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END INTERFACE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START INTERNAL DIAL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END INTERNAL DIAL --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\x3c!-- START TRUNK --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TRUNK --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START PHONE --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END PHONE --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START ITEMS --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END ITEMS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START TIMEOUT --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END TIMEOUT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START PROJECT --\x3e\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t\t

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

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END PROJECT --\x3e\n\n\t\t\t\t\t\t\t\t\x3c!-- START URL --\x3e\n\t\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n\t\t\t\t\n\t\t\t
    --\x3e\n\t\t\t\x3c!-- END URL --\x3e\n\n\t\t
    \n\t\t
    \n\t\t\t\x3c!-- START CONTEXT --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END CONTEXT --\x3e\n\n\t\t\t\x3c!-- START EXTENSION --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END EXTENSION --\x3e\n\n\t\t\t\x3c!-- START PRIORITY --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END PRIORITY --\x3e\n\t\t
    \n\t\t
    \n\t\t\t\x3c!-- START HANGUPCAUSE --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\n\t\t\t\t\t\t{{hangupCause.name | translate}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END HANGUPCAUSE --\x3e\n\t\t
    \n\t\t
    \n\t\t\t\x3c!-- START VARIABLE --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END VARIABLE --\x3e\n\n\t\t\t\x3c!-- START VARVALUE --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END VARVALUE --\x3e\n\t\t
    \n\t\t
    \n\n\t\t\t\x3c!-- START CUSTOMAPP --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END CUSTOMAPP --\x3e\n\n\t\t\t\x3c!-- START APPDATA --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END APPDATA --\x3e\n\t\t
    \n\t\t
    \n\t\t\t\x3c!-- START VOICEMAIL --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{$select.selected.mailbox}}\n\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t

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

    \n\t\t\t\t\t

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

    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END VOICEMAIL --\x3e\n\n\t\t\t\x3c!-- START OPTIONS --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END OPTIONS --\x3e\n\n\t\t
    \n\n\t\t
    \n\t\t\t\x3c!-- START DOMAIN --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END DOMAIN --\x3e\n\n\t\t\t\x3c!-- START THEME --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END THEME --\x3e\n\t\t
    \n\t\t\n\t
    \n
    \n\n\t
    \n\t\t\n\t\t\n\t\t\x3c!-- START INTERVAL_TYPE --\x3e\n\t\t
    \n\t\t\t\n\t\t\t\n\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\n\t\t\t\t\t{{intType.name | translate}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\n\t\t
    \n\t\t\x3c!-- END INTERVAL_TYPE --\x3e\n\t\t
    \n\t\t\t\x3c!-- START TIME --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    to
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\x3c!-- END TIME --\x3e\n\n\t\t\t\x3c!-- --\x3e\n\t\t\t\x3c!-- START ALWAYS --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\x3c!-- END ALWAYS --\x3e\n\n\t\t\t\x3c!-- START WEEKDAY --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{weekDay.name | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tto\n\t\t\t\t\t\n\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{weekDay.name | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\x3c!-- END WEEKDAY --\x3e\n\n\t\t\t\x3c!-- START MONTHDAY --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t{{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tto\n\t\t\t\t\t\n\t\t\t\t\t\t{{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\x3c!-- END MONTHDAY --\x3e\n\n\t\t\t\x3c!-- START MONTH --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{month.name | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tto\n\t\t\t\t\t\n\t\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{month.name | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\x3c!-- END MONTH --\x3e\n\t\t
    \n\n\t\t
    \n\n\t\t\t\x3c!-- START INTERVALS --\x3e\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{$select.selected.name | translate}}\n\t\t\t\t\t\n\t\t\t\t\t\t{{interval.name | translate}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t

    Warning!

    \n\t\t\t\t\t

    \n\t\t\t\t\t\t{{ \'MESSAGE_NO_INTERVAL_AVAILABLE\' | translate }}\n\t\t\t\t\t

    \n\t\t\t\t\t

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

    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\n\t\t\t
    \n\t\t\t\x3c!-- END INTERVALS --\x3e\n\n\t\t
    \n\t\t\n\t\t\n\t
    \n
    \n\n\n\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\n\t\n
    \n
    \n
    \n
    \n\x3c!-- END Portlet PORTLET--\x3e\n
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/voicemail/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_VOICEMAILS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/voicemail/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET main.channels --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{voicemail.mailbox}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET main.channels --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/channels/voice/voicemail/view/view.messages.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_MESSAGES\' | translate}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/voice/voicemail/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_VOICEMAIL\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START FULLNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END FULLNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START EMAIL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END EMAIL --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CONFIRM PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CONFIRM PASSWORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MAILBOX --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MAILBOX --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CONTEXT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CONTEXT --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\t\t\t\t\t\x3c!-- ADVANCED TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START TIMEZONE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TIMEZONE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ATTACH --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ATTACH --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START ENVELOPE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END ENVELOPE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DELETE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DELETE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START EMAIL_BODY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END EMAIL_BODY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START EMAIL_SUBJECT --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END EMAIL_SUBJECT --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MAX_SECONDS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MAX_SECONDS --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START MAX_MESSAGES --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END MAX_MESSAGES --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ADVANCED TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/channels/voice/voicemail/wizard/wizard.html",'
    \n \x3c!-- BEGIN PAGE HEADER--\x3e\n\t
    \n\t\t\n\t
    \n \x3c!-- END PAGE HEADER--\x3e\n\n \x3c!-- BEGIN PORTLET--\x3e\n
    \n \t
    \n \t\t
    \n \t\t\t\n \t\t\t{{ \'APPLICATION_VOICEMAIL\' | translate }} WIZARD \n \t\t
    \n \t
    \n \t
    \n \t\t\n\t\t\t\t\n\t\t\t
    \n\n\t\t\t\t\t\t\x3c!-- START FULLNAME --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END FULLNAME --\x3e\n\n\t\t\t\t\t\t\x3c!-- START EMAIL --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END EMAIL --\x3e\n\n\t\t\t\t\t\t\x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n\t\t\t\t\t\t\x3c!-- START CONFIRM PASSWORD --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END CONFIRM PASSWORD --\x3e\n\n\t\t\t\t\t\t\x3c!-- START MAILBOX --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- END MAILBOX --\x3e\n\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t\n\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n \t\t
    \n \t
    \n
    \n \x3c!-- END PORTLET--\x3e\n
    \n'),t.put("app/contactmanager/company/list/create.modal.html",'\n\n\n'),t.put("app/contactmanager/company/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_COMPANIES\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/contactmanager/company/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{company.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t{{user.role}}\n\t\t\t\t\t
    --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/contactmanager/company/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_COMPANY\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START VAT --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END VAT --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START COMPANYID --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END COMPANYID --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START WEBSITE --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END WEBSITE --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START EMAIL --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END EMAIL --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- START PHONE --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END PHONE --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START FAX --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END FAX --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START TYPE --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END TYPE --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START DOMAIN --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END DOMAIN --\x3e\n\n\t\t\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ADVANCED TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START STREET --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END STREET --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START POSTALCODE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END POSTALCODE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CITY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CITY --\x3e\n\t\t\t\t\t\t\t\x3c!-- START COUNTRY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END COUNTRY --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START STREET --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END STREET --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START POSTALCODE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END POSTALCODE --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CITY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CITY --\x3e\n\t\t\t\t\t\t\t\x3c!-- START COUNTRY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END COUNTRY --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/contactmanager/contact/list/copy.modal.html",'\n\n\n'),t.put("app/contactmanager/contact/list/import.modal.html",'\n\n\n'),t.put("app/contactmanager/contact/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_CONTACTS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t {{\'APPLICATION_IMPORT_FROM_CSV\' | translate}}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/contactmanager/customfield/list/create.modal.html",'\n\n\n'),t.put("app/contactmanager/customfield/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_CUSTOM_FIELDS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/contactmanager/customfield/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{customField.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t{{user.role}}\n\t\t\t\t\t
    --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/contactmanager/customfield/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_CUSTOM_FIELD\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START REQUIRED --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END REQUIRED --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/contactmanager/list/list/create.modal.html",'\n\n\n'),t.put("app/contactmanager/list/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_LISTS\' | translate }} \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/contactmanager/list/view/create.modal.html",'\n\n\n'),t.put("app/contactmanager/list/view/view.agents.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_AGENTS\' | translate}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    Warning!

    \n\t\t\t\t

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

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- BEGIN FORM--\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END FORM--\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/contactmanager/list/view/view.customFieldSettings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_CUSTOM_FIELD\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START REQUIRED --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END REQUIRED --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/contactmanager/list/view/view.customFields.html",'
    \n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_CUSTOM_FIELDS\' | translate}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n
    \n \n
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n
    \n'),t.put("app/contactmanager/list/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{list.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t{{user.role}}\n\t\t\t\t\t
    --\x3e\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/contactmanager/list/view/view.settings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_LIST\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START VARIABLES --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$item.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{variable.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'MESSAGE_MAX_VARIABLES\' | translate}}\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END VARIABLES --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END ADVANCED TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/dashboard/chat/chat.html",'
    \n
    \n
    \n
    \n \x3c!-- START TABLE --\x3e\n
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    \n \x3c!-- END TABLE --\x3e\n
    \n
    \n
    \n
    \n
    \n \n  {{ \'APPLICATION_TODAY_STATS\' | translate }}\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.new || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_WAITING_NEW_CI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_WAITING_NEW_CI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.open || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_OPEN_CI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_OPEN_CI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.unmanaged || 0}}\n
    \n
    \n {{\'APPLICATION_UNMANAGED_CI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_UNMANAGED_CI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.closed || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_CLOSED_CI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_CLOSED_CI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.abandon || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_ABANDONED_CI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_ABANDONED_CI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.new+roomStatus.open+roomStatus.unmanaged+roomStatus.closed+roomStatus.abandon || 0}}\n
    \n
    \n {{\'APPLICATION_TOTAL_CI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TOTAL_CI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n  {{ \'APPLICATION_INTERACTION_STATS\' | translate }}\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{routingStats.timeout || 0}}\n
    \n
    \n {{\'APPLICATION_TIMEOUT_CA\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TIMEOUT_CA_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{routingStats.waiting || 0}}\n
    \n
    \n {{\'APPLICATION_WAITING_CA\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_WAITING_CA_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n'),t.put("app/dashboard/dashboard.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\t\t
    \n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/dashboard/fax/fax.html",'
    \n
    \n
    \n
    \n \x3c!-- START TABLE --\x3e\n
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    \n \x3c!-- END TABLE --\x3e\n
    \n
    \n
    \n
    \n
    \n \n  {{ \'APPLICATION_INTERACTION_STATS\' | translate }}\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.new || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_NEW_FI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_NEW_FI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.open || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_OPEN_FI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_OPEN_FI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.pending || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_PENDING_FI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_PENDING_FI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.closed || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_CLOSED_FI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_CLOSED_FI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.new+roomStatus.open+roomStatus.pending+roomStatus.closed || 0}}\n
    \n
    \n {{\'APPLICATION_TOTAL_FI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TOTAL_FI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \x3c!--
    \n
    --\x3e\n \n \n \x3c!--
    \n
    --\x3e\n
    \n
    \n \n  {{ \'APPLICATION_TODAY_STATS\' | translate }}\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{routingStats.timeout || 0}}\n
    \n
    \n {{\'APPLICATION_TIMEOUT_FA\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TIMEOUT_FA_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{routingStats.waiting || 0}}\n
    \n
    \n {{\'APPLICATION_WAITING_FA\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_WAITING_FA_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n'),t.put("app/dashboard/mail/mail.html",'
    \n
    \n
    \n
    \n \x3c!-- START TABLE --\x3e\n
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    \n \x3c!-- END TABLE --\x3e\n
    \n
    \n\n \x3c!--
    \n
    --\x3e\n \x3c!-- START TABLE --\x3e\n \x3c!--
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    --\x3e\n \x3c!-- END TABLE --\x3e\n \x3c!--
    \n
    --\x3e\n
    \n
    \n
    \n \n  {{ \'APPLICATION_INTERACTION_STATS\' | translate }}\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.new || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_NEW_EI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_NEW_EI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.open || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_OPEN_EI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_OPEN_EI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.pending || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_PENDING_EI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_PENDING_EI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.closed || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_CLOSED_EI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_CLOSED_EI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.new+roomStatus.open+roomStatus.pending+roomStatus.closed || 0}}\n
    \n
    \n {{\'APPLICATION_TOTAL_EI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TOTAL_EI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \x3c!--
    \n
    --\x3e\n \n \n \x3c!--
    \n
    --\x3e\n
    \n
    \n \n  {{ \'APPLICATION_TODAY_STATS\' | translate }}\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{routingStats.timeout || 0}}\n
    \n
    \n {{\'APPLICATION_TIMEOUT_EA\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TIMEOUT_EA_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{routingStats.waiting || 0}}\n
    \n
    \n {{\'APPLICATION_WAITING_EA\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_WAITING_EA_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n'),t.put("app/dashboard/openchannel/openchannel.html",'
    \n
    \n
    \n
    \n \x3c!-- START TABLE --\x3e\n
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    \n \x3c!-- END TABLE --\x3e\n
    \n
    \n\n \x3c!--
    \n
    --\x3e\n \x3c!-- START TABLE --\x3e\n \x3c!--
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    --\x3e\n \x3c!-- END TABLE --\x3e\n \x3c!--
    \n
    --\x3e\n
    \n
    \n
    \n \n  {{ \'APPLICATION_INTERACTION_STATS\' | translate }}\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.new || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_NEW_OI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_NEW_OI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.open || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_OPEN_OI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_OPEN_OI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.pending || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_PENDING_OI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_PENDING_OI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.closed || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_CLOSED_OI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_CLOSED_OI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.new+roomStatus.open+roomStatus.pending+roomStatus.closed || 0}}\n
    \n
    \n {{\'APPLICATION_TOTAL_OI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TOTAL_OI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \x3c!--
    \n
    --\x3e\n \n \n \x3c!--
    \n
    --\x3e\n
    \n
    \n \n  {{ \'APPLICATION_TODAY_STATS\' | translate }}\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{routingStats.timeout || 0}}\n
    \n
    \n {{\'APPLICATION_TIMEOUT_OA\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TIMEOUT_OA_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{routingStats.waiting || 0}}\n
    \n
    \n {{\'APPLICATION_WAITING_OA\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_WAITING_OA_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n'),t.put("app/dashboard/sms/sms.html",'
    \n
    \n
    \n
    \n \x3c!-- START TABLE --\x3e\n
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    \n \x3c!-- END TABLE --\x3e\n
    \n
    \n\n \x3c!--
    \n
    --\x3e\n \x3c!-- START TABLE --\x3e\n \x3c!--
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    --\x3e\n \x3c!-- END TABLE --\x3e\n \x3c!--
    \n
    --\x3e\n
    \n
    \n
    \n \n  {{ \'APPLICATION_INTERACTION_STATS\' | translate }}\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.new || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_NEW_SI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_NEW_SI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.open || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_OPEN_SI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_OPEN_SI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.pending || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_PENDING_SI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_PENDING_SI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.closed || 0}}\n
    \n
    \n {{\'APPLICATION_DASHBOARD_CLOSED_SI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_DASHBOARD_CLOSED_SI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{roomStatus.new+roomStatus.open+roomStatus.pending+roomStatus.closed || 0}}\n
    \n
    \n {{\'APPLICATION_TOTAL_SI\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TOTAL_SI_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \x3c!--
    \n
    --\x3e\n \n \n \x3c!--
    \n
    --\x3e\n
    \n
    \n \n  {{ \'APPLICATION_TODAY_STATS\' | translate }}\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{routingStats.timeout || 0}}\n
    \n
    \n {{\'APPLICATION_TIMEOUT_SA\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TIMEOUT_SA_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{routingStats.waiting || 0}}\n
    \n
    \n {{\'APPLICATION_WAITING_SA\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_WAITING_SA_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n'),t.put("app/dashboard/voice/voice.html",'
    \n
    \n
    \n
    \n \x3c!-- START TABLE --\x3e\n
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    \n \x3c!-- END TABLE --\x3e\n
    \n
    \n\n
    \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n \x3c!-- START TABLE --\x3e\n
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    \n \x3c!-- END TABLE --\x3e\n
    \n
    \n \x3c!-- START TABLE --\x3e\n
    \n
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n
    \n \x3c!-- END TABLE --\x3e\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n {{ \'APPLICATION_INBOUND\' | translate }}{{ \'APPLICATION_TODAY_STATS\' | translate }}\n \n\n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ voice.queues.waiting || 0 }}\n
    \n
    \n {{\'APPLICATION_WAITING_QC\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_WAITING_QC_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ voice.queues.complete || 0 }}\n
    \n
    \n {{\'APPLICATION_ANSWERED_QC\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_ANSWERED_QC_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ voice.queues.abandon || 0 }}\n
    \n
    \n {{\'APPLICATION_ABANDONED_QC\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_ABANDONED_QC_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ voice.queues.complete ? (voice.queues.holdtime / voice.queues.complete) : 0 | secToTime | date:\'HH:mm:ss\' }}\n
    \n
    \n {{\'APPLICATION_AVG_ANSWER_TIME_QC\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_AVG_ANSWER_TIME_QC_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ voice.queues.complete ? (voice.queues.talktime / voice.queues.complete) : 0 | secToTime | date:\'HH:mm:ss\' }}\n
    \n
    \n {{\'APPLICATION_AVG_TALK_TIME_QC\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_AVG_TALK_TIME_QC_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ (voice.queues.complete / (voice.queues.complete + voice.queues.abandon) * 100) || 0 | number:2}}\n
    \n
    \n {{\'APPLICATION_ANSWER_RATE_QC\' | translate}} (%)\n
    \n
    \n \n {{\'APPLICATION_ANSWER_RATE_QC_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ (voice.queues.abandon / (voice.queues.complete + voice.queues.abandon) * 100) || 0 | number:2}}\n
    \n
    \n {{\'APPLICATION_ABANDON_RATE_QC\' | translate}} (%)\n
    \n
    \n \n {{\'APPLICATION_ABANDON_RATE_QC_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ voice.queues.complete + voice.queues.abandon || 0}}\n
    \n
    \n {{\'APPLICATION_TOTAL_OFFERED_QC\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_TOTAL_OFFERED_QC_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ voice.queues.unmanaged || 0 }}\n
    \n
    \n {{\'APPLICATION_UNMANAGED_QC\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_UNMANAGED_QC_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n\n
    \n \n {{ \'APPLICATION_OUTBOUND\' | translate }}{{ \'APPLICATION_TODAY_STATS\' | translate }}\n \n\n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ voice.outbound.total || 0 }}\n
    \n
    \n {{\'APPLICATION_MANUAL_OUTBOUND_OB\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_MANUAL_OUTBOUND_OB_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ voice.outbound.answered || 0 }}\n
    \n
    \n {{\'APPLICATION_ANSWERED_OB\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_ANSWERED_OB_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ (voice.outbound.avgDuration || 0) | secToTime | date:\'HH:mm:ss\' }}\n
    \n
    \n {{\'APPLICATION_AVG_DURATION_OB\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_AVG_DURATION_OB_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{ (voice.outbound.answerRate || 0) | number:2 }}\n
    \n
    \n {{\'APPLICATION_ANSWER_RATE_OB\' | translate}} (%)\n
    \n
    \n \n {{\'APPLICATION_ANSWER_RATE_OB_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n {{(voice.outbound.tigerdial || 0)}}\n
    \n
    \n {{\'APPLICATION_MOTION_DIALER_CALLS_OB\' | translate}}\n
    \n
    \n \n {{\'APPLICATION_MOTION_DIALER_CALLS_OB_EXTENDED\' | translate}}\n \n
    \n
    \n
    \n\n
    \n
    \n
    \n'),t.put("app/desk/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_DESK_COM\' | translate }} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{$select.selected.name}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    {{ \'APPLICATION_NAME\' | translate }}{{ \'APPLICATION_EMAIL\' | translate }}{{ \'APPLICATION_REMOTE_ADDRESS\' | translate }}{{ \'APPLICATION_DESCRIPTION\' | translate }}{{ \'APPLICATION_ACTIONS\' | translate }}
    {{account.name}}{{account.username}}{{account.remoteUri}}{{account.description}}\n\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_EDIT\' | translate }}\n\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_CHECK\' | translate }}\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t \n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tNo account available\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/desk/view/view.account.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_ACCOUNT\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n \x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n \x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n \x3c!-- START REMOTE ADDRESS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START AUTH TYPE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected | capitalize}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START AUTH TYPE --\x3e\n\n \x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START CONSUMER KEY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CONSUMER KEY --\x3e\n\n \x3c!-- START CONSUMER SECRET --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CONSUMER SECRET --\x3e\n\n \x3c!-- START TOKEN --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TOKEN --\x3e\n\n \x3c!-- START TOKEN SECRET--\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TOKEN SECRET--\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/desk/view/view.configuration.html",'
    \n\t
    \n\t\t\x3c!-- BEGIN PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_CONFIGURATION\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\t\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/desk/view/view.configurationSettings.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_CONFIGURATION\' | translate}}: {{configurationName}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- SUBJECT TAB --\x3e\n\t\t\t\t\t
    \n
    \n
    \n All following fields will be join by blank space:\n
    \n
    \n \n
    \n
    \n
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t
    \n\t
    \n\t \n\t {{$select.selected | capitalize}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t {{$select.selected.name}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END SUBJECT TAB --\x3e\n \x3c!-- DESCRIPTION TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n
    \n All following fields will be join by new line:\n
    \n
    \n \n
    \n
    \n
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\t\t\t{{descriptionItem|json}}\n\t\t\t\t\t\t\t\t
    --\x3e\n\t
    \n\t \n\t {{$select.selected | ucfirst}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t
    \n\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t {{$select.selected | capitalize}}\n\t \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t
    \n\t
    \n\t \n\t {{$select.selected.name}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END DESCRIPTION TAB --\x3e\n \x3c!-- FIELDS TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n
    \n Add how to fill the fields present in your account:\n
    \n
    \n \n
    \n
    \n
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t
    \n\t
    \n\t \n\t {{$select.selected.label}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t {{$select.selected}}\n\t\t \n\t\t
    \n\t\t
    \n\t\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t {{$select.selected | ucfirst}}\n\t\t \n\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t
    \n\t
    \n\t\t\t\t\t\t\t\t
    \n\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t {{$select.selected.name}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END FIELDS TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/desk/view/view.configurations.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t{{\'APPLICATION_CONFIGURATIONS\' | translate}}\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t
    {{\'APPLICATION_NAME\' | translate}}{{\'APPLICATION_DESCRIPTION\' | translate}}{{ \'APPLICATION_ACTIONS\' | translate }}
    {{configuration.name}}{{configuration.description}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_SETTINGS\' | translate}}\n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t\t{{ \'APPLICATION_DELETE\' | translate }}\n\t\t\t\t\t\t \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\tNo configuration available\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/desk/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{account.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{account.remoteUri}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/desk/wizard/wizard.html",'\x3c!-- BEGIN PAGE HEADER--\x3e\n
    \n\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n
    \n\x3c!-- END PAGE HEADER--\x3e\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n \x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\n \x3c!-- START REMOTE ADDRESS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_EXIST_DOMAIN\' | translate}}.\n\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START AUTH TYPE --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$select.selected | capitalize}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- START AUTH TYPE --\x3e\n\n \x3c!-- START PASSWORD --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END PASSWORD --\x3e\n\n \x3c!-- START CONSUMER KEY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CONSUMER KEY --\x3e\n\n \x3c!-- START CONSUMER SECRET --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END CONSUMER SECRET --\x3e\n\n \x3c!-- START TOKEN --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TOKEN --\x3e\n\n \x3c!-- START TOKEN SECRET--\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TOKEN SECRET--\x3e\n\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\n\t\t\t\t
    \n\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/freshdesk/list/list.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_FRESHDESK\' | translate }} \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END TABLE --\x3e\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/freshdesk/view/configuration/list/create.modal.html",'\n\n\n'),t.put("app/freshdesk/view/configuration/list/list.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t{{\'APPLICATION_CONFIGURATIONS\' | translate}}\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- START TABLE --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    {{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/freshdesk/view/configuration/view/view.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_CONFIGURATION\' | translate}}: {{configurationName}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- SUBJECT TAB --\x3e\n\t\t\t\t\t
    \n
    \n
    \n All following fields will be join by blank space:\n
    \n
    \n \n
    \n
    \n
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t
    \n\t
    \n\t \n\t {{$select.selected.title}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t
    \n\t
    \n\t\t\t\t\t\t\t\t
    \n\t
    \n\t \n\t {{$select.selected.title}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t {{$select.selected.name}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END SUBJECT TAB --\x3e\n \x3c!-- DESCRIPTION TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n
    \n All following fields will be join by new line:\n
    \n
    \n \n
    \n
    \n
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t\t\t\t\t\t\t
    \n\t
    \n\t \n\t {{$select.selected.title}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t
    \n\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t {{$select.selected.title}}\n\t \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t
    \n\t \n\t {{$select.selected.title}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t {{$select.selected.name}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END DESCRIPTION TAB --\x3e\n \x3c!-- FIELDS TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n
    \n Add how to fill the fields present in your account:\n
    \n
    \n \n
    \n
    \n
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t
    \n\t
    \n\t \n\t {{$select.selected.label}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t {{$select.selected}}\n\t\t \n\t\t
    \n\t\t
    \n\t\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t {{$select.selected.title}}\n\t\t \n\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t
    \n\t
    \n\t\t\t\t\t\t\t\t
    \n\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t {{$select.selected.title}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\t\t
    \n\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t {{$select.selected.name}}\n\t \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t
    \n\t \n\t
    \n\t
    \n\t
    \n\t\t\t\t\t\t\x3c!--
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END FIELDS TAB --\x3e\n\t\t\t\t\t\x3c!-- TAG TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n
    \n Select tags that you want add in the ticket:\n
    \n
    \n
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- TAG --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{$item.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{{tag.name}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END TAG --\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END TAG TAB --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/freshdesk/view/view.account.html",'
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{\'APPLICATION_ACCOUNT\' | translate}}\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n \x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n \x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n \x3c!-- START REMOTE ADDRESS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START API KEY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END API KEY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SERVER URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_SERVER_URL\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SERVER URL --\x3e\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'),t.put("app/freshdesk/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{account.name}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{account.remoteUri}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\t\t\t\t\x3c!-- SIDEBAR MENU --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END MENU --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/freshdesk/wizard/wizard.html",'\x3c!-- BEGIN PAGE HEADER--\x3e\n
    \n\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n
    \n\x3c!-- END PAGE HEADER--\x3e\n\n\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t\x3c!-- BEGIN Portlet PORTLET--\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START DESCRIPTION --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END DESCRIPTION --\x3e\n\n \x3c!-- START USERNAME --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\n \x3c!-- START REMOTE ADDRESS --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n \n\t\t\t\t {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_EXIST_DOMAIN\' | translate}}.\n\t\t\t\t \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n \x3c!-- START API KEY --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END API KEY --\x3e\n\n\t\t\t\t\t\t\t\x3c!-- START SERVER URL --\x3e\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'DESCRIPTION_SERVER_URL\' | translate}}.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{\'MESSAGE_MOTION_ADDRESS_FORMAT\' | translate}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\x3c!-- END SERVER URL --\x3e\n\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t\t\t

    {{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\n\t\t\t\t
    \n\n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END Portlet PORTLET--\x3e\n\t
    \n
    \n\x3c!-- END PAGE CONTENT--\x3e\n'),t.put("app/iframe/view/view.html",'\x3c!-- BEGIN PAGE CONTENT--\x3e\n
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t\x3c!-- BEGIN PROFILE SIDEBAR --\x3e\n\t\t
    \n\t\t\t\x3c!-- PORTLET MAIN --\x3e\n\t\t\t
    \n\t\t\t\t\x3c!-- SIDEBAR USERPIC --\x3e\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USERPIC --\x3e\n\t\t\t\t\x3c!-- SIDEBAR USER TITLE --\x3e\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{iframe.title}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{ \'APPLICATION_IFRAME\' | translate }}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!-- END SIDEBAR USER TITLE --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- END PORTLET MAIN --\x3e\n\t\t
    \n\t\t\x3c!-- END BEGIN PROFILE SIDEBAR --\x3e\n\t\t\x3c!-- BEGIN PROFILE CONTENT --\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{\'APPLICATION_IFRAME\' | translate}}\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- GENERAL TAB --\x3e\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- START NAME --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END NAME --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- START REMOTE ADDRESS --\x3e\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\x3c!-- END USERNAME --\x3e\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\x3c!-- END GENERAL TAB --\x3e\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\x3c!-- END PROFILE CONTENT --\x3e\n\n\t\t
    \n\t\t\t
    \n\t\t\t\t